constant.d.ts 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291
  1. export declare const POPTIP_ID = "gui-poptip";
  2. /**
  3. * 默认类名
  4. */
  5. export declare const CLASS_NAME: {
  6. CONTAINER: string;
  7. ARROW: string;
  8. TEXT: string;
  9. };
  10. /**
  11. * 默认 style
  12. */
  13. export declare const POPTIP_STYLE: {
  14. [x: string]: {
  15. visibility: string;
  16. position: string;
  17. 'background-color': string;
  18. 'box-shadow': string;
  19. 'border-radius': string;
  20. color: string;
  21. opacity: number;
  22. 'font-size': string;
  23. padding: string;
  24. display: string;
  25. 'justify-content': string;
  26. 'align-items': string;
  27. 'z-index': number;
  28. transition: string;
  29. 'text-align'?: undefined;
  30. transform?: undefined;
  31. width?: undefined;
  32. height?: undefined;
  33. bottom?: undefined;
  34. right?: undefined;
  35. left?: undefined;
  36. top?: undefined;
  37. } | {
  38. 'text-align': string;
  39. visibility?: undefined;
  40. position?: undefined;
  41. 'background-color'?: undefined;
  42. 'box-shadow'?: undefined;
  43. 'border-radius'?: undefined;
  44. color?: undefined;
  45. opacity?: undefined;
  46. 'font-size'?: undefined;
  47. padding?: undefined;
  48. display?: undefined;
  49. 'justify-content'?: undefined;
  50. 'align-items'?: undefined;
  51. 'z-index'?: undefined;
  52. transition?: undefined;
  53. transform?: undefined;
  54. width?: undefined;
  55. height?: undefined;
  56. bottom?: undefined;
  57. right?: undefined;
  58. left?: undefined;
  59. top?: undefined;
  60. } | {
  61. transform: string;
  62. visibility?: undefined;
  63. position?: undefined;
  64. 'background-color'?: undefined;
  65. 'box-shadow'?: undefined;
  66. 'border-radius'?: undefined;
  67. color?: undefined;
  68. opacity?: undefined;
  69. 'font-size'?: undefined;
  70. padding?: undefined;
  71. display?: undefined;
  72. 'justify-content'?: undefined;
  73. 'align-items'?: undefined;
  74. 'z-index'?: undefined;
  75. transition?: undefined;
  76. 'text-align'?: undefined;
  77. width?: undefined;
  78. height?: undefined;
  79. bottom?: undefined;
  80. right?: undefined;
  81. left?: undefined;
  82. top?: undefined;
  83. } | {
  84. width: string;
  85. height: string;
  86. transform: string;
  87. 'background-color': string;
  88. position: string;
  89. 'z-index': number;
  90. visibility?: undefined;
  91. 'box-shadow'?: undefined;
  92. 'border-radius'?: undefined;
  93. color?: undefined;
  94. opacity?: undefined;
  95. 'font-size'?: undefined;
  96. padding?: undefined;
  97. display?: undefined;
  98. 'justify-content'?: undefined;
  99. 'align-items'?: undefined;
  100. transition?: undefined;
  101. 'text-align'?: undefined;
  102. bottom?: undefined;
  103. right?: undefined;
  104. left?: undefined;
  105. top?: undefined;
  106. } | {
  107. bottom: string;
  108. visibility?: undefined;
  109. position?: undefined;
  110. 'background-color'?: undefined;
  111. 'box-shadow'?: undefined;
  112. 'border-radius'?: undefined;
  113. color?: undefined;
  114. opacity?: undefined;
  115. 'font-size'?: undefined;
  116. padding?: undefined;
  117. display?: undefined;
  118. 'justify-content'?: undefined;
  119. 'align-items'?: undefined;
  120. 'z-index'?: undefined;
  121. transition?: undefined;
  122. 'text-align'?: undefined;
  123. transform?: undefined;
  124. width?: undefined;
  125. height?: undefined;
  126. right?: undefined;
  127. left?: undefined;
  128. top?: undefined;
  129. } | {
  130. right: string;
  131. visibility?: undefined;
  132. position?: undefined;
  133. 'background-color'?: undefined;
  134. 'box-shadow'?: undefined;
  135. 'border-radius'?: undefined;
  136. color?: undefined;
  137. opacity?: undefined;
  138. 'font-size'?: undefined;
  139. padding?: undefined;
  140. display?: undefined;
  141. 'justify-content'?: undefined;
  142. 'align-items'?: undefined;
  143. 'z-index'?: undefined;
  144. transition?: undefined;
  145. 'text-align'?: undefined;
  146. transform?: undefined;
  147. width?: undefined;
  148. height?: undefined;
  149. bottom?: undefined;
  150. left?: undefined;
  151. top?: undefined;
  152. } | {
  153. left: string;
  154. visibility?: undefined;
  155. position?: undefined;
  156. 'background-color'?: undefined;
  157. 'box-shadow'?: undefined;
  158. 'border-radius'?: undefined;
  159. color?: undefined;
  160. opacity?: undefined;
  161. 'font-size'?: undefined;
  162. padding?: undefined;
  163. display?: undefined;
  164. 'justify-content'?: undefined;
  165. 'align-items'?: undefined;
  166. 'z-index'?: undefined;
  167. transition?: undefined;
  168. 'text-align'?: undefined;
  169. transform?: undefined;
  170. width?: undefined;
  171. height?: undefined;
  172. bottom?: undefined;
  173. right?: undefined;
  174. top?: undefined;
  175. } | {
  176. top: string;
  177. visibility?: undefined;
  178. position?: undefined;
  179. 'background-color'?: undefined;
  180. 'box-shadow'?: undefined;
  181. 'border-radius'?: undefined;
  182. color?: undefined;
  183. opacity?: undefined;
  184. 'font-size'?: undefined;
  185. padding?: undefined;
  186. display?: undefined;
  187. 'justify-content'?: undefined;
  188. 'align-items'?: undefined;
  189. 'z-index'?: undefined;
  190. transition?: undefined;
  191. 'text-align'?: undefined;
  192. transform?: undefined;
  193. width?: undefined;
  194. height?: undefined;
  195. bottom?: undefined;
  196. right?: undefined;
  197. left?: undefined;
  198. } | {
  199. left: string;
  200. bottom: string;
  201. visibility?: undefined;
  202. position?: undefined;
  203. 'background-color'?: undefined;
  204. 'box-shadow'?: undefined;
  205. 'border-radius'?: undefined;
  206. color?: undefined;
  207. opacity?: undefined;
  208. 'font-size'?: undefined;
  209. padding?: undefined;
  210. display?: undefined;
  211. 'justify-content'?: undefined;
  212. 'align-items'?: undefined;
  213. 'z-index'?: undefined;
  214. transition?: undefined;
  215. 'text-align'?: undefined;
  216. transform?: undefined;
  217. width?: undefined;
  218. height?: undefined;
  219. right?: undefined;
  220. top?: undefined;
  221. } | {
  222. right: string;
  223. bottom: string;
  224. visibility?: undefined;
  225. position?: undefined;
  226. 'background-color'?: undefined;
  227. 'box-shadow'?: undefined;
  228. 'border-radius'?: undefined;
  229. color?: undefined;
  230. opacity?: undefined;
  231. 'font-size'?: undefined;
  232. padding?: undefined;
  233. display?: undefined;
  234. 'justify-content'?: undefined;
  235. 'align-items'?: undefined;
  236. 'z-index'?: undefined;
  237. transition?: undefined;
  238. 'text-align'?: undefined;
  239. transform?: undefined;
  240. width?: undefined;
  241. height?: undefined;
  242. left?: undefined;
  243. top?: undefined;
  244. } | {
  245. right: string;
  246. top: string;
  247. visibility?: undefined;
  248. position?: undefined;
  249. 'background-color'?: undefined;
  250. 'box-shadow'?: undefined;
  251. 'border-radius'?: undefined;
  252. color?: undefined;
  253. opacity?: undefined;
  254. 'font-size'?: undefined;
  255. padding?: undefined;
  256. display?: undefined;
  257. 'justify-content'?: undefined;
  258. 'align-items'?: undefined;
  259. 'z-index'?: undefined;
  260. transition?: undefined;
  261. 'text-align'?: undefined;
  262. transform?: undefined;
  263. width?: undefined;
  264. height?: undefined;
  265. bottom?: undefined;
  266. left?: undefined;
  267. } | {
  268. left: string;
  269. top: string;
  270. visibility?: undefined;
  271. position?: undefined;
  272. 'background-color'?: undefined;
  273. 'box-shadow'?: undefined;
  274. 'border-radius'?: undefined;
  275. color?: undefined;
  276. opacity?: undefined;
  277. 'font-size'?: undefined;
  278. padding?: undefined;
  279. display?: undefined;
  280. 'justify-content'?: undefined;
  281. 'align-items'?: undefined;
  282. 'z-index'?: undefined;
  283. transition?: undefined;
  284. 'text-align'?: undefined;
  285. transform?: undefined;
  286. width?: undefined;
  287. height?: undefined;
  288. bottom?: undefined;
  289. right?: undefined;
  290. };
  291. };