index.ts 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654
  1. import { VxeUI, setConfig, setIcon } from '@vxe-ui/core'
  2. import { dynamicApp } from '../dynamics'
  3. import { warnLog } from './src/log'
  4. import { VxeGlobalConfig } from '../../types'
  5. export const version = process.env.VUE_APP_VXE_VERSION as string
  6. VxeUI.uiVersion = version
  7. VxeUI.dynamicApp = dynamicApp
  8. export function config (options?: VxeGlobalConfig) {
  9. warnLog('vxe.error.delFunc', ['config', 'setConfig'])
  10. return setConfig(options)
  11. }
  12. export function setup (options?: VxeGlobalConfig) {
  13. warnLog('vxe.error.delFunc', ['setup', 'setConfig'])
  14. return setConfig(options)
  15. }
  16. VxeUI.config = config
  17. VxeUI.setup = setup
  18. setConfig({
  19. alert: {},
  20. anchor: {},
  21. anchorLink: {},
  22. avatar: {},
  23. badge: {},
  24. breadcrumb: {
  25. separator: '/'
  26. },
  27. breadcrumbItem: {},
  28. button: {
  29. trigger: 'hover',
  30. // destroyOnClose: false,
  31. prefixTooltip: {
  32. enterable: true
  33. },
  34. suffixTooltip: {
  35. enterable: true
  36. }
  37. },
  38. buttonGroup: {},
  39. calendar: {
  40. minDate: new Date(1900, 0, 1),
  41. maxDate: new Date(2100, 0, 1),
  42. startDay: 1,
  43. selectDay: 1
  44. },
  45. card: {
  46. border: true,
  47. padding: true
  48. },
  49. carousel: {
  50. height: 200,
  51. loop: true,
  52. interval: 5000
  53. },
  54. carouselItem: {},
  55. checkbox: {},
  56. checkboxButton: {},
  57. checkboxGroup: {},
  58. col: {},
  59. collapse: {
  60. padding: true,
  61. expandConfig: {
  62. showIcon: true
  63. }
  64. },
  65. collapsePane: {},
  66. countdown: {},
  67. colorPicker: {
  68. type: 'rgb',
  69. clearable: true,
  70. showAlpha: true,
  71. clickToCopy: true,
  72. showColorExtractor: true,
  73. showQuick: true
  74. },
  75. datePanel: {
  76. // parseFormat: 'yyyy-MM-dd HH:mm:ss.SSS',
  77. // labelFormat: '',
  78. // valueFormat: '',
  79. startDate: new Date(1900, 0, 1),
  80. endDate: new Date(2100, 0, 1),
  81. startDay: 1,
  82. selectDay: 1
  83. },
  84. datePicker: {
  85. // size: null,
  86. // transfer: false,
  87. shortcutConfig: {
  88. // position: 'left',
  89. align: 'left',
  90. mode: 'text',
  91. autoClose: true
  92. },
  93. startDay: 1,
  94. selectDay: 1,
  95. autoClose: true,
  96. showClearButton: null,
  97. showConfirmButton: null
  98. },
  99. dateRangePicker: {
  100. // size: null,
  101. // transfer: false,
  102. shortcutConfig: {
  103. // position: 'left',
  104. align: 'left',
  105. mode: 'text',
  106. autoClose: true
  107. },
  108. startDay: 1,
  109. selectDay: 1,
  110. separator: ' ~ ',
  111. autoClose: true,
  112. showClearButton: true,
  113. showConfirmButton: null
  114. },
  115. drawer: {
  116. // size: null,
  117. position: 'right',
  118. showHeader: true,
  119. lockView: true,
  120. mask: true,
  121. showTitleOverflow: true,
  122. showClose: true,
  123. padding: true,
  124. // destroyOnClose: false,
  125. cancelClosable: true,
  126. confirmClosable: true
  127. },
  128. empty: {},
  129. form: {
  130. // preventSubmit: false,
  131. // size: null,
  132. // colon: false,
  133. validConfig: {
  134. showErrorMessage: true,
  135. autoPos: true,
  136. theme: 'beautify'
  137. },
  138. tooltipConfig: {
  139. enterable: true
  140. },
  141. titleAsterisk: true,
  142. titleOverflow: false,
  143. padding: true
  144. },
  145. formDesign: {
  146. height: 400,
  147. showHeader: true,
  148. showPc: true
  149. },
  150. formGather: {},
  151. formGroup: {},
  152. formItem: {},
  153. formView: {},
  154. icon: {},
  155. iconPicker: {
  156. icons: ['home', 'company', 'comment', 'setting', 'send', 'envelope', 'envelope-open', 'bell', 'search', 'print', 'pc', 'goods', 'chart-line', 'edit', 'delete', 'save', 'folder', 'microphone', 'flag', 'link', 'location', 'sunny', 'rmb', 'usd', 'user', 'add-user', 'add-users', 'star', 'unlock', 'time', 'text', 'feedback', 'calendar', 'association-form', 'cloud-download', 'cloud-upload', 'file', 'subtable', 'chart-bar-x', 'chart-bar-y', 'chart-line', 'chart-pie', 'chart-radar']
  157. },
  158. image: {
  159. showPreview: true,
  160. showPrintButton: true,
  161. maskClosable: true
  162. },
  163. imageGroup: {
  164. showPreview: true,
  165. showPrintButton: true
  166. },
  167. imagePreview: {
  168. showPrintButton: true
  169. },
  170. input: {
  171. // size: null,
  172. // transfer: false
  173. // parseFormat: 'yyyy-MM-dd HH:mm:ss.SSS',
  174. // labelFormat: '',
  175. // valueFormat: '',
  176. startDate: new Date(1900, 0, 1),
  177. endDate: new Date(2100, 0, 1),
  178. startDay: 1,
  179. selectDay: 1,
  180. digits: 2,
  181. controls: true
  182. },
  183. layoutAside: {},
  184. layoutBody: {},
  185. layoutContainer: {},
  186. layoutFooter: {},
  187. layoutHeader: {},
  188. link: {
  189. underline: true
  190. },
  191. listDesign: {
  192. height: 400,
  193. showPc: true
  194. },
  195. listView: {},
  196. list: {
  197. // size: null,
  198. virtualYConfig: {
  199. enabled: true,
  200. gt: 60
  201. // oSize: 0
  202. }
  203. },
  204. loading: {
  205. showIcon: true,
  206. showText: true
  207. },
  208. menu: {},
  209. modal: {
  210. // size: null,
  211. top: 16,
  212. showHeader: true,
  213. minWidth: 340,
  214. minHeight: 140,
  215. lockView: true,
  216. mask: true,
  217. duration: 3000,
  218. marginSize: 0,
  219. dblclickZoom: true,
  220. showTitleOverflow: true,
  221. animat: true,
  222. showClose: true,
  223. padding: true,
  224. draggable: true,
  225. showConfirmButton: null,
  226. cancelClosable: true,
  227. confirmClosable: true,
  228. zoomConfig: {
  229. minimizeMaxSize: 10,
  230. minimizeVerticalOffset: {
  231. top: -24,
  232. left: 0
  233. },
  234. minimizeHorizontalOffset: {
  235. top: 0,
  236. left: 32
  237. }
  238. },
  239. // destroyOnClose: false,
  240. // remember: false,
  241. // storage: false,
  242. storageKey: 'VXE_MODAL_POSITION'
  243. },
  244. noticeBar: {},
  245. numberInput: {
  246. // size: null,
  247. // transfer: false
  248. digits: 2,
  249. autoFill: true,
  250. controlConfig: {
  251. enabled: true,
  252. layout: 'right',
  253. showButton: true,
  254. isWheel: true,
  255. isArrow: true
  256. }
  257. },
  258. optgroup: {},
  259. option: {},
  260. pager: {
  261. pageSizePlacement: 'top'
  262. // size: null,
  263. // autoHidden: false,
  264. // perfect: true,
  265. // pageSize: 10,
  266. // pagerCount: 7,
  267. // pageSizes: [10, 15, 20, 50, 100],
  268. // layouts: ['PrevJump', 'PrevPage', 'Jump', 'PageCount', 'NextPage', 'NextJump', 'Sizes', 'Total']
  269. },
  270. print: {
  271. pageStyle: {}
  272. },
  273. passwordInput: {
  274. controls: true
  275. },
  276. printPageBreak: {},
  277. pulldown: {
  278. // destroyOnClose: false
  279. },
  280. radio: {
  281. strict: true
  282. },
  283. radioButton: {
  284. strict: true
  285. },
  286. radioGroup: {
  287. strict: true
  288. },
  289. rate: {},
  290. result: {},
  291. row: {},
  292. select: {
  293. multiCharOverflow: 8,
  294. remoteConfig: {
  295. enabled: true,
  296. autoLoad: true
  297. },
  298. virtualYConfig: {
  299. enabled: true,
  300. gt: 50,
  301. oSize: 2
  302. }
  303. },
  304. split: {
  305. resize: true,
  306. itemConfig: {
  307. minWidth: 40,
  308. minHeight: 40
  309. },
  310. resizeConfig: {
  311. // immediate: false,
  312. showTip: true
  313. }
  314. },
  315. splitPane: {},
  316. slider: {
  317. max: 100,
  318. min: 0
  319. },
  320. steps: {},
  321. switch: {},
  322. tabPane: {},
  323. tableSelect: {
  324. gridConfig: {
  325. showOverflow: true,
  326. showHeaderOverflow: true,
  327. showFooterOverflow: true,
  328. rowConfig: {
  329. isHover: true
  330. },
  331. virtualXConfig: {
  332. enabled: true,
  333. gt: 0
  334. },
  335. virtualYConfig: {
  336. enabled: true,
  337. gt: 0
  338. }
  339. }
  340. },
  341. tabs: {
  342. // destroyOnClose: false
  343. },
  344. tag: {},
  345. textEllipsis: {
  346. underline: true
  347. },
  348. text: {
  349. copyConfig: {
  350. showMessage: true
  351. }
  352. },
  353. textarea: {
  354. resize: 'none'
  355. },
  356. tip: {},
  357. tooltip: {
  358. // size: null,
  359. // enterable: false,
  360. trigger: 'hover',
  361. theme: 'dark',
  362. enterDelay: 500,
  363. leaveDelay: 300,
  364. isArrow: true
  365. },
  366. tree: {
  367. // autoResize: false,
  368. indent: 20,
  369. minHeight: 60,
  370. radioConfig: {
  371. strict: true
  372. },
  373. virtualYConfig: {
  374. enabled: true,
  375. gt: 50,
  376. oSize: 2
  377. }
  378. },
  379. treeSelect: {
  380. autoClose: true,
  381. virtualYConfig: {
  382. enabled: true,
  383. gt: 0,
  384. oSize: 2
  385. },
  386. treeConfig: {
  387. maxHeight: 300,
  388. radioConfig: {},
  389. checkboxConfig: {},
  390. filterConfig: {
  391. autoExpandAll: true
  392. }
  393. }
  394. },
  395. upload: {
  396. mode: 'all',
  397. imageTypes: ['jpg', 'jpeg', 'png', 'gif'],
  398. showList: true,
  399. showUploadButton: true,
  400. showButtonText: true,
  401. showRemoveButton: true,
  402. showButtonIcon: true,
  403. showPreview: true,
  404. dragToUpload: true,
  405. // imageConfig: {},
  406. showLimitSize: true,
  407. showLimitCount: true,
  408. autoSubmit: true,
  409. maxSimultaneousUploads: 5
  410. },
  411. watermark: {
  412. rotate: -30,
  413. gap: [100, 100]
  414. },
  415. table: {},
  416. colgroup: {},
  417. column: {},
  418. toolbar: {},
  419. grid: {},
  420. gantt: {}
  421. })
  422. const iconPrefix = 'vxe-icon-'
  423. setIcon({
  424. // loading
  425. LOADING: iconPrefix + 'spinner roll vxe-loading--default-icon',
  426. // button
  427. BUTTON_DROPDOWN: iconPrefix + 'arrow-down',
  428. BUTTON_LOADING: iconPrefix + 'spinner roll',
  429. BUTTON_TOOLTIP_ICON: iconPrefix + 'question-circle-fill',
  430. // menu
  431. MENU_ITEM_EXPAND_OPEN: iconPrefix + 'arrow-down rotate180',
  432. MENU_ITEM_EXPAND_CLOSE: iconPrefix + 'arrow-down',
  433. // select
  434. SELECT_LOADED: iconPrefix + 'spinner roll',
  435. SELECT_OPEN: iconPrefix + 'caret-down rotate180',
  436. SELECT_CLOSE: iconPrefix + 'caret-down',
  437. SELECT_ADD_OPTION: iconPrefix + 'add',
  438. // icon-picker
  439. ICON_PICKER_OPEN: iconPrefix + 'caret-down rotate180',
  440. ICON_PICKER_CLOSE: iconPrefix + 'caret-down',
  441. // pager
  442. PAGER_HOME: iconPrefix + 'home-page',
  443. PAGER_END: iconPrefix + 'end-page',
  444. PAGER_JUMP_PREV: iconPrefix + 'arrow-double-left',
  445. PAGER_JUMP_NEXT: iconPrefix + 'arrow-double-right',
  446. PAGER_PREV_PAGE: iconPrefix + 'arrow-left',
  447. PAGER_NEXT_PAGE: iconPrefix + 'arrow-right',
  448. PAGER_JUMP_MORE: iconPrefix + 'ellipsis-h',
  449. // radio
  450. RADIO_CHECKED: iconPrefix + 'radio-checked-fill',
  451. RADIO_UNCHECKED: iconPrefix + 'radio-unchecked',
  452. RADIO_DISABLED_UNCHECKED: iconPrefix + 'radio-unchecked-fill',
  453. // checkbox
  454. CHECKBOX_INDETERMINATE: iconPrefix + 'checkbox-indeterminate-fill',
  455. CHECKBOX_CHECKED: iconPrefix + 'checkbox-checked-fill',
  456. CHECKBOX_UNCHECKED: iconPrefix + 'checkbox-unchecked',
  457. CHECKBOX_DISABLED_UNCHECKED: iconPrefix + 'checkbox-unchecked-fill',
  458. // input
  459. INPUT_CLEAR: iconPrefix + 'error-circle-fill',
  460. INPUT_SEARCH: iconPrefix + 'search',
  461. INPUT_PLUS_NUM: iconPrefix + 'caret-up',
  462. INPUT_MINUS_NUM: iconPrefix + 'caret-down',
  463. // number-picker
  464. NUMBER_INPUT_MINUS_NUM: iconPrefix + 'minus',
  465. NUMBER_INPUT_PLUS_NUM: iconPrefix + 'add',
  466. // date-picker
  467. DATE_PICKER_DATE: iconPrefix + 'calendar',
  468. // password-input
  469. PASSWORD_INPUT_SHOW_PWD: iconPrefix + 'eye-fill-close',
  470. PASSWORD_INPUT_HIDE_PWD: iconPrefix + 'eye-fill',
  471. // modal
  472. MODAL_ZOOM_MIN: iconPrefix + 'minus',
  473. MODAL_ZOOM_REVERT: iconPrefix + 'recover',
  474. MODAL_ZOOM_IN: iconPrefix + 'square',
  475. MODAL_ZOOM_OUT: iconPrefix + 'maximize',
  476. MODAL_CLOSE: iconPrefix + 'close',
  477. MODAL_INFO: iconPrefix + 'info-circle-fill',
  478. MODAL_SUCCESS: iconPrefix + 'success-circle-fill',
  479. MODAL_WARNING: iconPrefix + 'warning-circle-fill',
  480. MODAL_ERROR: iconPrefix + 'error-circle-fill',
  481. MODAL_QUESTION: iconPrefix + 'question-circle-fill',
  482. MODAL_LOADING: iconPrefix + 'spinner roll',
  483. // drawer
  484. DRAWER_CLOSE: iconPrefix + 'close',
  485. // form
  486. FORM_PREFIX: iconPrefix + 'question-circle-fill',
  487. FORM_SUFFIX: iconPrefix + 'question-circle-fill',
  488. FORM_FOLDING: iconPrefix + 'arrow-up rotate180',
  489. FORM_UNFOLDING: iconPrefix + 'arrow-up',
  490. FORM_VALID_ERROR_ICON: iconPrefix + 'warning-circle-fill',
  491. // form-design
  492. FORM_DESIGN_STYLE_SETTING: iconPrefix + 'layout',
  493. FORM_DESIGN_PROPS_PC: iconPrefix + 'pc',
  494. FORM_DESIGN_PROPS_MOBILE: iconPrefix + 'mobile',
  495. FORM_DESIGN_PROPS_ADD: iconPrefix + 'add',
  496. FORM_DESIGN_PROPS_EDIT: iconPrefix + 'edit',
  497. FORM_DESIGN_WIDGET_ADD: iconPrefix + 'square-plus-fill',
  498. FORM_DESIGN_WIDGET_COPY: iconPrefix + 'copy',
  499. FORM_DESIGN_WIDGET_DELETE: iconPrefix + 'delete',
  500. FORM_DESIGN_WIDGET_SWAP_LR: iconPrefix + 'swap',
  501. FORM_DESIGN_WIDGET_OPTION_DELETE: iconPrefix + 'delete',
  502. FORM_DESIGN_WIDGET_OPTION_EXPAND_OPEN: iconPrefix + 'square-plus',
  503. FORM_DESIGN_WIDGET_OPTION_EXPAND_CLOSE: iconPrefix + 'square-minus',
  504. // list-design
  505. LIST_DESIGN_FIELD_SETTING: iconPrefix + 'custom-column',
  506. LIST_DESIGN_LIST_SETTING: iconPrefix + 'menu',
  507. LIST_DESIGN_LIST_SETTING_SEARCH_DELETE: iconPrefix + 'delete',
  508. LIST_DESIGN_LIST_SETTING_ACTIVE_DELETE: iconPrefix + 'delete',
  509. // upload
  510. UPLOAD_FILE_ERROR: iconPrefix + 'warning-circle-fill',
  511. UPLOAD_FILE_ADD: iconPrefix + 'upload',
  512. UPLOAD_FILE_REMOVE: iconPrefix + 'delete',
  513. UPLOAD_FILE_DOWNLOAD: iconPrefix + 'download',
  514. UPLOAD_IMAGE_UPLOAD: iconPrefix + 'upload',
  515. UPLOAD_IMAGE_RE_UPLOAD: iconPrefix + 'repeat',
  516. UPLOAD_IMAGE_ADD: iconPrefix + 'add',
  517. UPLOAD_IMAGE_REMOVE: iconPrefix + 'close',
  518. UPLOAD_LOADING: iconPrefix + 'spinner roll vxe-loading--default-icon',
  519. UPLOAD_FILE_TYPE_DEFAULT: iconPrefix + 'file',
  520. UPLOAD_FILE_TYPE_XLSX: iconPrefix + 'file-excel',
  521. UPLOAD_FILE_TYPE_XLS: iconPrefix + 'file-excel',
  522. UPLOAD_FILE_TYPE_PDF: iconPrefix + 'file-pdf',
  523. UPLOAD_FILE_TYPE_PNG: iconPrefix + 'file-image',
  524. UPLOAD_FILE_TYPE_GIF: iconPrefix + 'file-image',
  525. UPLOAD_FILE_TYPE_JPG: iconPrefix + 'file-image',
  526. UPLOAD_FILE_TYPE_JPEG: iconPrefix + 'file-image',
  527. UPLOAD_FILE_TYPE_MD: iconPrefix + 'file-markdown',
  528. UPLOAD_FILE_TYPE_PPD: iconPrefix + 'file-ppt',
  529. UPLOAD_FILE_TYPE_DOCX: iconPrefix + 'file-word',
  530. UPLOAD_FILE_TYPE_DOC: iconPrefix + 'file-word',
  531. UPLOAD_FILE_TYPE_ZIP: iconPrefix + 'file-zip',
  532. UPLOAD_FILE_TYPE_TXT: iconPrefix + 'file-txt',
  533. // image-preview
  534. IMAGE_PREVIEW_CLOSE: iconPrefix + 'close',
  535. IMAGE_PREVIEW_PREVIOUS: iconPrefix + 'arrow-left',
  536. IMAGE_PREVIEW_NEXT: iconPrefix + 'arrow-right',
  537. IMAGE_PREVIEW_PCT_FULL: iconPrefix + 'pct-full',
  538. IMAGE_PREVIEW_PCT_1_1: iconPrefix + 'pct-1-1',
  539. IMAGE_PREVIEW_ZOOM_OUT: iconPrefix + 'search-zoom-out',
  540. IMAGE_PREVIEW_ZOOM_IN: iconPrefix + 'search-zoom-in',
  541. IMAGE_PREVIEW_ROTATE_LEFT: iconPrefix + 'rotate-left',
  542. IMAGE_PREVIEW_ROTATE_RIGHT: iconPrefix + 'rotate-right',
  543. IMAGE_PREVIEW_PRINT: iconPrefix + 'print',
  544. IMAGE_PREVIEW_DOWNLOAD: iconPrefix + 'download',
  545. // alert
  546. ALERT_CLOSE: iconPrefix + 'close',
  547. ALERT_INFO: iconPrefix + 'info-circle-fill',
  548. ALERT_SUCCESS: iconPrefix + 'success-circle-fill',
  549. ALERT_WARNING: iconPrefix + 'warning-circle-fill',
  550. ALERT_ERROR: iconPrefix + 'error-circle-fill',
  551. // tree
  552. TREE_NODE_OPEN: iconPrefix + 'caret-right rotate90',
  553. TREE_NODE_CLOSE: iconPrefix + 'caret-right',
  554. TREE_NODE_LOADED: iconPrefix + 'spinner roll',
  555. // tree-select
  556. TREE_SELECT_LOADED: iconPrefix + 'spinner roll',
  557. TREE_SELECT_OPEN: iconPrefix + 'caret-down rotate180',
  558. TREE_SELECT_CLOSE: iconPrefix + 'caret-down',
  559. // table-select
  560. TABLE_SELECT_LOADED: iconPrefix + 'spinner roll',
  561. TABLE_SELECT_OPEN: iconPrefix + 'caret-down rotate180',
  562. TABLE_SELECT_CLOSE: iconPrefix + 'caret-down',
  563. // tabs
  564. TABS_TAB_BUTTON_TOP: iconPrefix + 'arrow-up',
  565. TABS_TAB_BUTTON_BOTTOM: iconPrefix + 'arrow-down',
  566. TABS_TAB_BUTTON_LEFT: iconPrefix + 'arrow-left',
  567. TABS_TAB_BUTTON_RIGHT: iconPrefix + 'arrow-right',
  568. TABS_TAB_CLOSE: iconPrefix + 'close',
  569. TABS_TAB_REFRESH: iconPrefix + 'refresh',
  570. TABS_TAB_REFRESH_LOADING: iconPrefix + 'refresh roll',
  571. // text
  572. TEXT_COPY: iconPrefix + 'copy',
  573. TEXT_LOADING: iconPrefix + 'spinner roll',
  574. // tag
  575. TAG_CLOSE: iconPrefix + 'close',
  576. TAG_LOADING: iconPrefix + 'spinner roll',
  577. // carousel
  578. CAROUSEL_HORIZONTAL_PREVIOUS: iconPrefix + 'arrow-left',
  579. CAROUSEL_HORIZONTAL_NEXT: iconPrefix + 'arrow-right',
  580. CAROUSEL_VERTICAL_PREVIOUS: iconPrefix + 'arrow-up',
  581. CAROUSEL_VERTICAL_NEXT: iconPrefix + 'arrow-down',
  582. // collapse
  583. COLLAPSE_OPEN: iconPrefix + 'arrow-right rotate90',
  584. COLLAPSE_CLOSE: iconPrefix + 'arrow-right',
  585. // empty
  586. EMPTY_DEFAULT: iconPrefix + 'empty',
  587. // result
  588. RESULT_INFO: iconPrefix + 'info-circle-fill',
  589. RESULT_SUCCESS: iconPrefix + 'success-circle-fill',
  590. RESULT_WARNING: iconPrefix + 'warning-circle-fill',
  591. RESULT_ERROR: iconPrefix + 'error-circle-fill',
  592. RESULT_QUESTION: iconPrefix + 'question-circle-fill',
  593. RESULT_LOADING: iconPrefix + 'spinner roll',
  594. // rate
  595. RATE_CHECKED: iconPrefix + 'star-fill',
  596. RATE_UNCHECKED: iconPrefix + 'star',
  597. // color-picker
  598. COLOR_PICKER_COLOR_COPY: iconPrefix + 'copy',
  599. COLOR_PICKER_EYE_DROPPER: iconPrefix + 'dropper',
  600. COLOR_PICKER_TPTY_OPEN: iconPrefix + 'arrow-down rotate180',
  601. COLOR_PICKER_TPTY_CLOSE: iconPrefix + 'arrow-down',
  602. // split
  603. SPLIT_TOP_ACTION: iconPrefix + 'arrow-up',
  604. SPLIT_BOTTOM_ACTION: iconPrefix + 'arrow-down',
  605. SPLIT_LEFT_ACTION: iconPrefix + 'arrow-left',
  606. SPLIT_RIGHT_ACTION: iconPrefix + 'arrow-right'
  607. })
  608. export * from '@vxe-ui/core'
  609. export default VxeUI