vxe-pc-ui 4.13.21 → 4.13.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +5 -4
- package/lib/index.umd.min.js +1 -1
- package/lib/language/ar-EG.min.js +1 -1
- package/lib/language/de-DE.min.js +1 -1
- package/lib/language/en-US.min.js +1 -1
- package/lib/language/es-ES.min.js +1 -1
- package/lib/language/fr-FR.min.js +1 -1
- package/lib/language/hu-HU.min.js +1 -1
- package/lib/language/hy-AM.min.js +1 -1
- package/lib/language/id-ID.min.js +1 -1
- package/lib/language/it-IT.min.js +1 -1
- package/lib/language/ja-JP.min.js +1 -1
- package/lib/language/ko-KR.min.js +1 -1
- package/lib/language/ms-MY.min.js +1 -1
- package/lib/language/nb-NO.min.js +1 -1
- package/lib/language/pt-BR.min.js +1 -1
- package/lib/language/ru-RU.min.js +1 -1
- package/lib/language/th-TH.min.js +1 -1
- package/lib/language/ug-CN.min.js +1 -1
- package/lib/language/uk-UA.min.js +1 -1
- package/lib/language/uz-UZ.min.js +1 -1
- package/lib/language/vi-VN.min.js +1 -1
- package/lib/language/zh-CHT.min.js +1 -1
- package/lib/language/zh-CN.min.js +1 -1
- package/lib/language/zh-HK.min.js +1 -1
- package/lib/language/zh-MO.min.js +1 -1
- package/lib/language/zh-TW.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/ui/index.js +1 -1
- package/lib/ui/index.min.js +1 -1
- package/package.json +1 -1
- package/es/alert/style.css +0 -129
- package/es/alert/style.min.css +0 -1
- package/es/anchor/style.css +0 -42
- package/es/anchor/style.min.css +0 -1
- package/es/anchor-link/style.css +0 -0
- package/es/anchor-link/style.min.css +0 -0
- package/es/avatar/style.css +0 -98
- package/es/avatar/style.min.css +0 -1
- package/es/backtop/style.css +0 -72
- package/es/backtop/style.min.css +0 -1
- package/es/badge/style.css +0 -42
- package/es/badge/style.min.css +0 -1
- package/es/breadcrumb/style.css +0 -33
- package/es/breadcrumb/style.min.css +0 -1
- package/es/breadcrumb-item/style.css +0 -0
- package/es/breadcrumb-item/style.min.css +0 -0
- package/es/button/style.css +0 -662
- package/es/button/style.min.css +0 -1
- package/es/button-group/style.css +0 -27
- package/es/button-group/style.min.css +0 -1
- package/es/calendar/style.css +0 -424
- package/es/calendar/style.min.css +0 -1
- package/es/card/style.css +0 -107
- package/es/card/style.min.css +0 -1
- package/es/carousel/style.css +0 -185
- package/es/carousel/style.min.css +0 -1
- package/es/carousel-item/style.css +0 -0
- package/es/carousel-item/style.min.css +0 -0
- package/es/cascader/style.css +0 -168
- package/es/cascader/style.min.css +0 -1
- package/es/checkbox/style.css +0 -115
- package/es/checkbox/style.min.css +0 -1
- package/es/checkbox-button/style.css +0 -41
- package/es/checkbox-button/style.min.css +0 -1
- package/es/checkbox-group/style.css +0 -0
- package/es/checkbox-group/style.min.css +0 -0
- package/es/col/style.css +0 -0
- package/es/col/style.min.css +0 -0
- package/es/collapse/style.css +0 -55
- package/es/collapse/style.min.css +0 -1
- package/es/collapse-pane/style.css +0 -0
- package/es/collapse-pane/style.min.css +0 -0
- package/es/color-picker/style.css +0 -480
- package/es/color-picker/style.min.css +0 -1
- package/es/context-menu/style.css +0 -106
- package/es/context-menu/style.min.css +0 -1
- package/es/countdown/style.css +0 -38
- package/es/countdown/style.min.css +0 -1
- package/es/date-panel/style.css +0 -446
- package/es/date-panel/style.min.css +0 -1
- package/es/date-picker/style.css +0 -279
- package/es/date-picker/style.min.css +0 -1
- package/es/date-range-picker/style.css +0 -285
- package/es/date-range-picker/style.min.css +0 -1
- package/es/drawer/style.css +0 -270
- package/es/drawer/style.min.css +0 -1
- package/es/empty/style.css +0 -54
- package/es/empty/style.min.css +0 -1
- package/es/form/style.css +0 -657
- package/es/form/style.min.css +0 -1
- package/es/form-gather/style.css +0 -0
- package/es/form-gather/style.min.css +0 -0
- package/es/form-group/style.css +0 -0
- package/es/form-group/style.min.css +0 -0
- package/es/form-item/style.css +0 -0
- package/es/form-item/style.min.css +0 -0
- package/es/icon/iconfont.1775651550038.ttf +0 -0
- package/es/icon/iconfont.1775651550038.woff +0 -0
- package/es/icon/iconfont.1775651550038.woff2 +0 -0
- package/es/icon/style.css +0 -1025
- package/es/icon/style.min.css +0 -1
- package/es/icon-picker/style.css +0 -217
- package/es/icon-picker/style.min.css +0 -1
- package/es/iconfont.1775651550038.ttf +0 -0
- package/es/iconfont.1775651550038.woff +0 -0
- package/es/iconfont.1775651550038.woff2 +0 -0
- package/es/image/style.css +0 -17
- package/es/image/style.min.css +0 -1
- package/es/image-group/style.css +0 -3
- package/es/image-group/style.min.css +0 -1
- package/es/image-preview/style.css +0 -217
- package/es/image-preview/style.min.css +0 -1
- package/es/index.esm.js +0 -3
- package/es/input/style.css +0 -1018
- package/es/input/style.min.css +0 -1
- package/es/language/ar-EG.d.ts +0 -2
- package/es/language/de-DE.d.ts +0 -2
- package/es/language/en-US.d.ts +0 -2
- package/es/language/es-ES.d.ts +0 -2
- package/es/language/fr-FR.d.ts +0 -2
- package/es/language/hu-HU.d.ts +0 -2
- package/es/language/hy-AM.d.ts +0 -2
- package/es/language/id-ID.d.ts +0 -2
- package/es/language/it-IT.d.ts +0 -2
- package/es/language/ja-JP.d.ts +0 -2
- package/es/language/ko-KR.d.ts +0 -2
- package/es/language/ms-MY.d.ts +0 -2
- package/es/language/nb-NO.d.ts +0 -2
- package/es/language/pt-BR.d.ts +0 -2
- package/es/language/ru-RU.d.ts +0 -2
- package/es/language/th-TH.d.ts +0 -2
- package/es/language/ug-CN.d.ts +0 -2
- package/es/language/uk-UA.d.ts +0 -2
- package/es/language/uz-UZ.d.ts +0 -2
- package/es/language/vi-VN.d.ts +0 -2
- package/es/language/zh-CHT.d.ts +0 -2
- package/es/language/zh-CN.d.ts +0 -2
- package/es/language/zh-HK.d.ts +0 -2
- package/es/language/zh-MO.d.ts +0 -2
- package/es/language/zh-TW.d.ts +0 -2
- package/es/layout-aside/style.css +0 -24
- package/es/layout-aside/style.min.css +0 -1
- package/es/layout-body/style.css +0 -16
- package/es/layout-body/style.min.css +0 -1
- package/es/layout-container/style.css +0 -14
- package/es/layout-container/style.min.css +0 -1
- package/es/layout-footer/style.css +0 -14
- package/es/layout-footer/style.min.css +0 -1
- package/es/layout-header/style.css +0 -11
- package/es/layout-header/style.min.css +0 -1
- package/es/link/style.css +0 -111
- package/es/link/style.min.css +0 -1
- package/es/list/style.css +0 -41
- package/es/list/style.min.css +0 -1
- package/es/loading/style.css +0 -119
- package/es/loading/style.min.css +0 -1
- package/es/mention/style.css +0 -0
- package/es/mention/style.min.css +0 -0
- package/es/menu/style.css +0 -154
- package/es/menu/style.min.css +0 -1
- package/es/modal/style.css +0 -414
- package/es/modal/style.min.css +0 -1
- package/es/notice-bar/style.css +0 -78
- package/es/notice-bar/style.min.css +0 -1
- package/es/number-input/style.css +0 -270
- package/es/number-input/style.min.css +0 -1
- package/es/optgroup/style.css +0 -0
- package/es/optgroup/style.min.css +0 -0
- package/es/option/style.css +0 -0
- package/es/option/style.min.css +0 -0
- package/es/pager/style.css +0 -339
- package/es/pager/style.min.css +0 -1
- package/es/password-input/style.css +0 -594
- package/es/password-input/style.min.css +0 -1
- package/es/print/style.css +0 -4
- package/es/print/style.min.css +0 -1
- package/es/print-page-break/style.css +0 -0
- package/es/print-page-break/style.min.css +0 -0
- package/es/pulldown/style.css +0 -108
- package/es/pulldown/style.min.css +0 -1
- package/es/radio/style.css +0 -113
- package/es/radio/style.min.css +0 -1
- package/es/radio-button/style.css +0 -41
- package/es/radio-button/style.min.css +0 -1
- package/es/radio-group/style.css +0 -0
- package/es/radio-group/style.min.css +0 -0
- package/es/rate/style.css +0 -54
- package/es/rate/style.min.css +0 -1
- package/es/result/style.css +0 -68
- package/es/result/style.min.css +0 -1
- package/es/row/style.css +0 -116
- package/es/row/style.min.css +0 -1
- package/es/segmented/style.css +0 -197
- package/es/segmented/style.min.css +0 -1
- package/es/select/style.css +0 -268
- package/es/select/style.min.css +0 -1
- package/es/slider/style.css +0 -143
- package/es/slider/style.min.css +0 -1
- package/es/split/style.css +0 -290
- package/es/split/style.min.css +0 -1
- package/es/split-pane/style.css +0 -0
- package/es/split-pane/style.min.css +0 -0
- package/es/splitter/style.css +0 -290
- package/es/splitter/style.min.css +0 -1
- package/es/splitter-panel/style.css +0 -0
- package/es/splitter-panel/style.min.css +0 -0
- package/es/steps/style.css +0 -0
- package/es/steps/style.min.css +0 -0
- package/es/switch/style.css +0 -110
- package/es/switch/style.min.css +0 -1
- package/es/tab-pane/style.css +0 -0
- package/es/tab-pane/style.min.css +0 -0
- package/es/table-select/style.css +0 -133
- package/es/table-select/style.min.css +0 -1
- package/es/tabs/style.css +0 -705
- package/es/tabs/style.min.css +0 -1
- package/es/tag/style.css +0 -186
- package/es/tag/style.min.css +0 -1
- package/es/text/style.css +0 -137
- package/es/text/style.min.css +0 -1
- package/es/text-ellipsis/style.css +0 -114
- package/es/text-ellipsis/style.min.css +0 -1
- package/es/textarea/style.css +0 -109
- package/es/textarea/style.min.css +0 -1
- package/es/timeline/style.css +0 -0
- package/es/timeline/style.min.css +0 -0
- package/es/timeline-item/style.css +0 -0
- package/es/timeline-item/style.min.css +0 -0
- package/es/tip/style.css +0 -107
- package/es/tip/style.min.css +0 -1
- package/es/tooltip/style.css +0 -116
- package/es/tooltip/style.min.css +0 -1
- package/es/tour/style.css +0 -0
- package/es/tour/style.min.css +0 -0
- package/es/tree/style.css +0 -369
- package/es/tree/style.min.css +0 -1
- package/es/tree-select/style.css +0 -190
- package/es/tree-select/style.min.css +0 -1
- package/es/ui/style.css +0 -0
- package/es/ui/style.min.css +0 -0
- package/es/upload/style.css +0 -493
- package/es/upload/style.min.css +0 -1
- package/es/vxe-alert/style.css +0 -129
- package/es/vxe-alert/style.min.css +0 -1
- package/es/vxe-anchor/style.css +0 -42
- package/es/vxe-anchor/style.min.css +0 -1
- package/es/vxe-anchor-link/style.css +0 -0
- package/es/vxe-anchor-link/style.min.css +0 -0
- package/es/vxe-avatar/style.css +0 -98
- package/es/vxe-avatar/style.min.css +0 -1
- package/es/vxe-backtop/style.css +0 -72
- package/es/vxe-backtop/style.min.css +0 -1
- package/es/vxe-badge/style.css +0 -42
- package/es/vxe-badge/style.min.css +0 -1
- package/es/vxe-breadcrumb/style.css +0 -33
- package/es/vxe-breadcrumb/style.min.css +0 -1
- package/es/vxe-breadcrumb-item/style.css +0 -0
- package/es/vxe-breadcrumb-item/style.min.css +0 -0
- package/es/vxe-button/style.css +0 -662
- package/es/vxe-button/style.min.css +0 -1
- package/es/vxe-button-group/style.css +0 -27
- package/es/vxe-button-group/style.min.css +0 -1
- package/es/vxe-calendar/style.css +0 -424
- package/es/vxe-calendar/style.min.css +0 -1
- package/es/vxe-card/style.css +0 -107
- package/es/vxe-card/style.min.css +0 -1
- package/es/vxe-carousel/style.css +0 -185
- package/es/vxe-carousel/style.min.css +0 -1
- package/es/vxe-carousel-item/style.css +0 -0
- package/es/vxe-carousel-item/style.min.css +0 -0
- package/es/vxe-cascader/style.css +0 -168
- package/es/vxe-cascader/style.min.css +0 -1
- package/es/vxe-checkbox/style.css +0 -115
- package/es/vxe-checkbox/style.min.css +0 -1
- package/es/vxe-checkbox-button/style.css +0 -41
- package/es/vxe-checkbox-button/style.min.css +0 -1
- package/es/vxe-checkbox-group/style.css +0 -0
- package/es/vxe-checkbox-group/style.min.css +0 -0
- package/es/vxe-col/style.css +0 -0
- package/es/vxe-col/style.min.css +0 -0
- package/es/vxe-collapse/style.css +0 -55
- package/es/vxe-collapse/style.min.css +0 -1
- package/es/vxe-collapse-pane/style.css +0 -0
- package/es/vxe-collapse-pane/style.min.css +0 -0
- package/es/vxe-color-picker/style.css +0 -480
- package/es/vxe-color-picker/style.min.css +0 -1
- package/es/vxe-context-menu/style.css +0 -106
- package/es/vxe-context-menu/style.min.css +0 -1
- package/es/vxe-countdown/style.css +0 -38
- package/es/vxe-countdown/style.min.css +0 -1
- package/es/vxe-date-panel/style.css +0 -446
- package/es/vxe-date-panel/style.min.css +0 -1
- package/es/vxe-date-picker/style.css +0 -279
- package/es/vxe-date-picker/style.min.css +0 -1
- package/es/vxe-date-range-picker/style.css +0 -285
- package/es/vxe-date-range-picker/style.min.css +0 -1
- package/es/vxe-drawer/style.css +0 -270
- package/es/vxe-drawer/style.min.css +0 -1
- package/es/vxe-empty/style.css +0 -54
- package/es/vxe-empty/style.min.css +0 -1
- package/es/vxe-form/style.css +0 -657
- package/es/vxe-form/style.min.css +0 -1
- package/es/vxe-form-gather/style.css +0 -0
- package/es/vxe-form-gather/style.min.css +0 -0
- package/es/vxe-form-group/style.css +0 -0
- package/es/vxe-form-group/style.min.css +0 -0
- package/es/vxe-form-item/style.css +0 -0
- package/es/vxe-form-item/style.min.css +0 -0
- package/es/vxe-icon/style.css +0 -1025
- package/es/vxe-icon/style.min.css +0 -1
- package/es/vxe-icon-picker/style.css +0 -217
- package/es/vxe-icon-picker/style.min.css +0 -1
- package/es/vxe-image/style.css +0 -17
- package/es/vxe-image/style.min.css +0 -1
- package/es/vxe-image-group/style.css +0 -3
- package/es/vxe-image-group/style.min.css +0 -1
- package/es/vxe-image-preview/style.css +0 -217
- package/es/vxe-image-preview/style.min.css +0 -1
- package/es/vxe-input/style.css +0 -1018
- package/es/vxe-input/style.min.css +0 -1
- package/es/vxe-layout-aside/style.css +0 -24
- package/es/vxe-layout-aside/style.min.css +0 -1
- package/es/vxe-layout-body/style.css +0 -16
- package/es/vxe-layout-body/style.min.css +0 -1
- package/es/vxe-layout-container/style.css +0 -14
- package/es/vxe-layout-container/style.min.css +0 -1
- package/es/vxe-layout-footer/style.css +0 -14
- package/es/vxe-layout-footer/style.min.css +0 -1
- package/es/vxe-layout-header/style.css +0 -11
- package/es/vxe-layout-header/style.min.css +0 -1
- package/es/vxe-link/style.css +0 -111
- package/es/vxe-link/style.min.css +0 -1
- package/es/vxe-list/style.css +0 -41
- package/es/vxe-list/style.min.css +0 -1
- package/es/vxe-loading/style.css +0 -119
- package/es/vxe-loading/style.min.css +0 -1
- package/es/vxe-mention/style.css +0 -0
- package/es/vxe-mention/style.min.css +0 -0
- package/es/vxe-menu/style.css +0 -154
- package/es/vxe-menu/style.min.css +0 -1
- package/es/vxe-modal/style.css +0 -414
- package/es/vxe-modal/style.min.css +0 -1
- package/es/vxe-notice-bar/style.css +0 -78
- package/es/vxe-notice-bar/style.min.css +0 -1
- package/es/vxe-number-input/style.css +0 -270
- package/es/vxe-number-input/style.min.css +0 -1
- package/es/vxe-optgroup/style.css +0 -0
- package/es/vxe-optgroup/style.min.css +0 -0
- package/es/vxe-option/style.css +0 -0
- package/es/vxe-option/style.min.css +0 -0
- package/es/vxe-pager/style.css +0 -339
- package/es/vxe-pager/style.min.css +0 -1
- package/es/vxe-password-input/style.css +0 -594
- package/es/vxe-password-input/style.min.css +0 -1
- package/es/vxe-print/style.css +0 -4
- package/es/vxe-print/style.min.css +0 -1
- package/es/vxe-print-page-break/style.css +0 -0
- package/es/vxe-print-page-break/style.min.css +0 -0
- package/es/vxe-pulldown/style.css +0 -108
- package/es/vxe-pulldown/style.min.css +0 -1
- package/es/vxe-radio/style.css +0 -113
- package/es/vxe-radio/style.min.css +0 -1
- package/es/vxe-radio-button/style.css +0 -41
- package/es/vxe-radio-button/style.min.css +0 -1
- package/es/vxe-radio-group/style.css +0 -0
- package/es/vxe-radio-group/style.min.css +0 -0
- package/es/vxe-rate/style.css +0 -54
- package/es/vxe-rate/style.min.css +0 -1
- package/es/vxe-result/style.css +0 -68
- package/es/vxe-result/style.min.css +0 -1
- package/es/vxe-row/style.css +0 -116
- package/es/vxe-row/style.min.css +0 -1
- package/es/vxe-segmented/style.css +0 -197
- package/es/vxe-segmented/style.min.css +0 -1
- package/es/vxe-select/style.css +0 -268
- package/es/vxe-select/style.min.css +0 -1
- package/es/vxe-slider/style.css +0 -143
- package/es/vxe-slider/style.min.css +0 -1
- package/es/vxe-split/style.css +0 -290
- package/es/vxe-split/style.min.css +0 -1
- package/es/vxe-split-pane/style.css +0 -0
- package/es/vxe-split-pane/style.min.css +0 -0
- package/es/vxe-splitter/style.css +0 -290
- package/es/vxe-splitter/style.min.css +0 -1
- package/es/vxe-splitter-panel/style.css +0 -0
- package/es/vxe-splitter-panel/style.min.css +0 -0
- package/es/vxe-steps/style.css +0 -0
- package/es/vxe-steps/style.min.css +0 -0
- package/es/vxe-switch/style.css +0 -110
- package/es/vxe-switch/style.min.css +0 -1
- package/es/vxe-tab-pane/style.css +0 -0
- package/es/vxe-tab-pane/style.min.css +0 -0
- package/es/vxe-table-select/style.css +0 -133
- package/es/vxe-table-select/style.min.css +0 -1
- package/es/vxe-tabs/style.css +0 -705
- package/es/vxe-tabs/style.min.css +0 -1
- package/es/vxe-tag/style.css +0 -186
- package/es/vxe-tag/style.min.css +0 -1
- package/es/vxe-text/style.css +0 -137
- package/es/vxe-text/style.min.css +0 -1
- package/es/vxe-text-ellipsis/style.css +0 -114
- package/es/vxe-text-ellipsis/style.min.css +0 -1
- package/es/vxe-textarea/style.css +0 -109
- package/es/vxe-textarea/style.min.css +0 -1
- package/es/vxe-timeline/style.css +0 -0
- package/es/vxe-timeline/style.min.css +0 -0
- package/es/vxe-timeline-item/style.css +0 -0
- package/es/vxe-timeline-item/style.min.css +0 -0
- package/es/vxe-tip/style.css +0 -107
- package/es/vxe-tip/style.min.css +0 -1
- package/es/vxe-tooltip/style.css +0 -116
- package/es/vxe-tooltip/style.min.css +0 -1
- package/es/vxe-tour/style.css +0 -0
- package/es/vxe-tour/style.min.css +0 -0
- package/es/vxe-tree/style.css +0 -369
- package/es/vxe-tree/style.min.css +0 -1
- package/es/vxe-tree-select/style.css +0 -190
- package/es/vxe-tree-select/style.min.css +0 -1
- package/es/vxe-ui/style.css +0 -0
- package/es/vxe-ui/style.min.css +0 -0
- package/es/vxe-upload/style.css +0 -493
- package/es/vxe-upload/style.min.css +0 -1
- package/es/vxe-watermark/style.css +0 -29
- package/es/vxe-watermark/style.min.css +0 -1
- package/es/watermark/style.css +0 -29
- package/es/watermark/style.min.css +0 -1
- package/lib/alert/style/index.js +0 -1
- package/lib/alert/style/style.css +0 -129
- package/lib/alert/style/style.min.css +0 -1
- package/lib/anchor/style/index.js +0 -1
- package/lib/anchor/style/style.css +0 -42
- package/lib/anchor/style/style.min.css +0 -1
- package/lib/anchor-link/style/index.js +0 -1
- package/lib/anchor-link/style/style.css +0 -0
- package/lib/anchor-link/style/style.min.css +0 -0
- package/lib/avatar/style/index.js +0 -1
- package/lib/avatar/style/style.css +0 -98
- package/lib/avatar/style/style.min.css +0 -1
- package/lib/backtop/style/index.js +0 -1
- package/lib/backtop/style/style.css +0 -72
- package/lib/backtop/style/style.min.css +0 -1
- package/lib/badge/style/index.js +0 -1
- package/lib/badge/style/style.css +0 -42
- package/lib/badge/style/style.min.css +0 -1
- package/lib/breadcrumb/style/index.js +0 -1
- package/lib/breadcrumb/style/style.css +0 -33
- package/lib/breadcrumb/style/style.min.css +0 -1
- package/lib/breadcrumb-item/style/index.js +0 -1
- package/lib/breadcrumb-item/style/style.css +0 -0
- package/lib/breadcrumb-item/style/style.min.css +0 -0
- package/lib/button/style/index.js +0 -1
- package/lib/button/style/style.css +0 -662
- package/lib/button/style/style.min.css +0 -1
- package/lib/button-group/style/index.js +0 -1
- package/lib/button-group/style/style.css +0 -27
- package/lib/button-group/style/style.min.css +0 -1
- package/lib/calendar/style/index.js +0 -1
- package/lib/calendar/style/style.css +0 -424
- package/lib/calendar/style/style.min.css +0 -1
- package/lib/card/style/index.js +0 -1
- package/lib/card/style/style.css +0 -107
- package/lib/card/style/style.min.css +0 -1
- package/lib/carousel/style/index.js +0 -1
- package/lib/carousel/style/style.css +0 -185
- package/lib/carousel/style/style.min.css +0 -1
- package/lib/carousel-item/style/index.js +0 -1
- package/lib/carousel-item/style/style.css +0 -0
- package/lib/carousel-item/style/style.min.css +0 -0
- package/lib/cascader/style/index.js +0 -1
- package/lib/cascader/style/style.css +0 -168
- package/lib/cascader/style/style.min.css +0 -1
- package/lib/checkbox/style/index.js +0 -1
- package/lib/checkbox/style/style.css +0 -115
- package/lib/checkbox/style/style.min.css +0 -1
- package/lib/checkbox-button/style/index.js +0 -1
- package/lib/checkbox-button/style/style.css +0 -41
- package/lib/checkbox-button/style/style.min.css +0 -1
- package/lib/checkbox-group/style/index.js +0 -1
- package/lib/checkbox-group/style/style.css +0 -0
- package/lib/checkbox-group/style/style.min.css +0 -0
- package/lib/col/style/index.js +0 -1
- package/lib/col/style/style.css +0 -0
- package/lib/col/style/style.min.css +0 -0
- package/lib/collapse/style/index.js +0 -1
- package/lib/collapse/style/style.css +0 -55
- package/lib/collapse/style/style.min.css +0 -1
- package/lib/collapse-pane/style/index.js +0 -1
- package/lib/collapse-pane/style/style.css +0 -0
- package/lib/collapse-pane/style/style.min.css +0 -0
- package/lib/color-picker/style/index.js +0 -1
- package/lib/color-picker/style/style.css +0 -480
- package/lib/color-picker/style/style.min.css +0 -1
- package/lib/context-menu/style/index.js +0 -1
- package/lib/context-menu/style/style.css +0 -106
- package/lib/context-menu/style/style.min.css +0 -1
- package/lib/countdown/style/index.js +0 -1
- package/lib/countdown/style/style.css +0 -38
- package/lib/countdown/style/style.min.css +0 -1
- package/lib/date-panel/style/index.js +0 -1
- package/lib/date-panel/style/style.css +0 -446
- package/lib/date-panel/style/style.min.css +0 -1
- package/lib/date-picker/style/index.js +0 -1
- package/lib/date-picker/style/style.css +0 -279
- package/lib/date-picker/style/style.min.css +0 -1
- package/lib/date-range-picker/style/index.js +0 -1
- package/lib/date-range-picker/style/style.css +0 -285
- package/lib/date-range-picker/style/style.min.css +0 -1
- package/lib/drawer/style/index.js +0 -1
- package/lib/drawer/style/style.css +0 -270
- package/lib/drawer/style/style.min.css +0 -1
- package/lib/empty/style/index.js +0 -1
- package/lib/empty/style/style.css +0 -54
- package/lib/empty/style/style.min.css +0 -1
- package/lib/form/style/index.js +0 -1
- package/lib/form/style/style.css +0 -657
- package/lib/form/style/style.min.css +0 -1
- package/lib/form-gather/style/index.js +0 -1
- package/lib/form-gather/style/style.css +0 -0
- package/lib/form-gather/style/style.min.css +0 -0
- package/lib/form-group/style/index.js +0 -1
- package/lib/form-group/style/style.css +0 -0
- package/lib/form-group/style/style.min.css +0 -0
- package/lib/form-item/style/index.js +0 -1
- package/lib/form-item/style/style.css +0 -0
- package/lib/form-item/style/style.min.css +0 -0
- package/lib/icon/style/iconfont.1775651550038.ttf +0 -0
- package/lib/icon/style/iconfont.1775651550038.woff +0 -0
- package/lib/icon/style/iconfont.1775651550038.woff2 +0 -0
- package/lib/icon/style/index.js +0 -1
- package/lib/icon/style/style.css +0 -1025
- package/lib/icon/style/style.min.css +0 -1025
- package/lib/icon-picker/style/index.js +0 -1
- package/lib/icon-picker/style/style.css +0 -217
- package/lib/icon-picker/style/style.min.css +0 -1
- package/lib/iconfont.1775651550038.ttf +0 -0
- package/lib/iconfont.1775651550038.woff +0 -0
- package/lib/iconfont.1775651550038.woff2 +0 -0
- package/lib/image/style/index.js +0 -1
- package/lib/image/style/style.css +0 -17
- package/lib/image/style/style.min.css +0 -1
- package/lib/image-group/style/index.js +0 -1
- package/lib/image-group/style/style.css +0 -3
- package/lib/image-group/style/style.min.css +0 -1
- package/lib/image-preview/style/index.js +0 -1
- package/lib/image-preview/style/style.css +0 -217
- package/lib/image-preview/style/style.min.css +0 -1
- package/lib/index.common.js +0 -21
- package/lib/input/style/index.js +0 -1
- package/lib/input/style/style.css +0 -1018
- package/lib/input/style/style.min.css +0 -1
- package/lib/language/ar-EG.d.ts +0 -2
- package/lib/language/ar-EG.umd.js +0 -852
- package/lib/language/de-DE.d.ts +0 -2
- package/lib/language/de-DE.umd.js +0 -852
- package/lib/language/en-US.d.ts +0 -2
- package/lib/language/en-US.umd.js +0 -852
- package/lib/language/es-ES.d.ts +0 -2
- package/lib/language/es-ES.umd.js +0 -852
- package/lib/language/fr-FR.d.ts +0 -2
- package/lib/language/fr-FR.umd.js +0 -852
- package/lib/language/hu-HU.d.ts +0 -2
- package/lib/language/hu-HU.umd.js +0 -852
- package/lib/language/hy-AM.d.ts +0 -2
- package/lib/language/hy-AM.umd.js +0 -852
- package/lib/language/id-ID.d.ts +0 -2
- package/lib/language/id-ID.umd.js +0 -852
- package/lib/language/it-IT.d.ts +0 -2
- package/lib/language/it-IT.umd.js +0 -852
- package/lib/language/ja-JP.d.ts +0 -2
- package/lib/language/ja-JP.umd.js +0 -852
- package/lib/language/ko-KR.d.ts +0 -2
- package/lib/language/ko-KR.umd.js +0 -852
- package/lib/language/ms-MY.d.ts +0 -2
- package/lib/language/ms-MY.umd.js +0 -852
- package/lib/language/nb-NO.d.ts +0 -2
- package/lib/language/nb-NO.umd.js +0 -852
- package/lib/language/pt-BR.d.ts +0 -2
- package/lib/language/pt-BR.umd.js +0 -852
- package/lib/language/ru-RU.d.ts +0 -2
- package/lib/language/ru-RU.umd.js +0 -852
- package/lib/language/th-TH.d.ts +0 -2
- package/lib/language/th-TH.umd.js +0 -852
- package/lib/language/ug-CN.d.ts +0 -2
- package/lib/language/ug-CN.umd.js +0 -852
- package/lib/language/uk-UA.d.ts +0 -2
- package/lib/language/uk-UA.umd.js +0 -852
- package/lib/language/uz-UZ.d.ts +0 -2
- package/lib/language/uz-UZ.umd.js +0 -852
- package/lib/language/vi-VN.d.ts +0 -2
- package/lib/language/vi-VN.umd.js +0 -852
- package/lib/language/zh-CHT.d.ts +0 -2
- package/lib/language/zh-CHT.umd.js +0 -852
- package/lib/language/zh-CN.d.ts +0 -2
- package/lib/language/zh-CN.umd.js +0 -852
- package/lib/language/zh-HK.d.ts +0 -2
- package/lib/language/zh-HK.umd.js +0 -23
- package/lib/language/zh-MO.d.ts +0 -2
- package/lib/language/zh-MO.umd.js +0 -23
- package/lib/language/zh-TW.d.ts +0 -2
- package/lib/language/zh-TW.umd.js +0 -23
- package/lib/layout-aside/style/index.js +0 -1
- package/lib/layout-aside/style/style.css +0 -24
- package/lib/layout-aside/style/style.min.css +0 -1
- package/lib/layout-body/style/index.js +0 -1
- package/lib/layout-body/style/style.css +0 -16
- package/lib/layout-body/style/style.min.css +0 -1
- package/lib/layout-container/style/index.js +0 -1
- package/lib/layout-container/style/style.css +0 -14
- package/lib/layout-container/style/style.min.css +0 -1
- package/lib/layout-footer/style/index.js +0 -1
- package/lib/layout-footer/style/style.css +0 -14
- package/lib/layout-footer/style/style.min.css +0 -1
- package/lib/layout-header/style/index.js +0 -1
- package/lib/layout-header/style/style.css +0 -11
- package/lib/layout-header/style/style.min.css +0 -1
- package/lib/link/style/index.js +0 -1
- package/lib/link/style/style.css +0 -111
- package/lib/link/style/style.min.css +0 -1
- package/lib/list/style/index.js +0 -1
- package/lib/list/style/style.css +0 -41
- package/lib/list/style/style.min.css +0 -1
- package/lib/loading/style/index.js +0 -1
- package/lib/loading/style/style.css +0 -119
- package/lib/loading/style/style.min.css +0 -1
- package/lib/mention/style/index.js +0 -1
- package/lib/mention/style/style.css +0 -0
- package/lib/mention/style/style.min.css +0 -0
- package/lib/menu/style/index.js +0 -1
- package/lib/menu/style/style.css +0 -154
- package/lib/menu/style/style.min.css +0 -1
- package/lib/modal/style/index.js +0 -1
- package/lib/modal/style/style.css +0 -414
- package/lib/modal/style/style.min.css +0 -1
- package/lib/notice-bar/style/index.js +0 -1
- package/lib/notice-bar/style/style.css +0 -78
- package/lib/notice-bar/style/style.min.css +0 -1
- package/lib/number-input/style/index.js +0 -1
- package/lib/number-input/style/style.css +0 -270
- package/lib/number-input/style/style.min.css +0 -1
- package/lib/optgroup/style/index.js +0 -1
- package/lib/optgroup/style/style.css +0 -0
- package/lib/optgroup/style/style.min.css +0 -0
- package/lib/option/style/index.js +0 -1
- package/lib/option/style/style.css +0 -0
- package/lib/option/style/style.min.css +0 -0
- package/lib/pager/style/index.js +0 -1
- package/lib/pager/style/style.css +0 -339
- package/lib/pager/style/style.min.css +0 -1
- package/lib/password-input/style/index.js +0 -1
- package/lib/password-input/style/style.css +0 -594
- package/lib/password-input/style/style.min.css +0 -1
- package/lib/print/style/index.js +0 -1
- package/lib/print/style/style.css +0 -4
- package/lib/print/style/style.min.css +0 -1
- package/lib/print-page-break/style/index.js +0 -1
- package/lib/print-page-break/style/style.css +0 -0
- package/lib/print-page-break/style/style.min.css +0 -0
- package/lib/pulldown/style/index.js +0 -1
- package/lib/pulldown/style/style.css +0 -108
- package/lib/pulldown/style/style.min.css +0 -1
- package/lib/radio/src/group.min.js +0 -1
- package/lib/radio/src/radio.js +0 -189
- package/lib/radio/src/radio.min.js +0 -1
- package/lib/radio/style/index.js +0 -1
- package/lib/radio/style/style.css +0 -113
- package/lib/radio/style/style.min.css +0 -1
- package/lib/radio-button/style/index.js +0 -1
- package/lib/radio-button/style/style.css +0 -41
- package/lib/radio-button/style/style.min.css +0 -1
- package/lib/radio-group/style/index.js +0 -1
- package/lib/radio-group/style/style.css +0 -0
- package/lib/radio-group/style/style.min.css +0 -0
- package/lib/rate/src/rate.js +0 -182
- package/lib/rate/src/rate.min.js +0 -1
- package/lib/rate/style/index.js +0 -1
- package/lib/rate/style/style.css +0 -54
- package/lib/rate/style/style.min.css +0 -1
- package/lib/result/src/result.js +0 -95
- package/lib/result/src/result.min.js +0 -1
- package/lib/result/style/index.js +0 -1
- package/lib/result/style/style.css +0 -68
- package/lib/result/style/style.min.css +0 -1
- package/lib/row/src/col.js +0 -129
- package/lib/row/src/col.min.js +0 -1
- package/lib/row/src/row.js +0 -111
- package/lib/row/src/row.min.js +0 -1
- package/lib/row/style/index.js +0 -1
- package/lib/row/style/style.css +0 -116
- package/lib/row/style/style.min.css +0 -1
- package/lib/segmented/src/segmented.js +0 -245
- package/lib/segmented/src/segmented.min.js +0 -1
- package/lib/segmented/style/index.js +0 -1
- package/lib/segmented/style/style.css +0 -197
- package/lib/segmented/style/style.min.css +0 -1
- package/lib/select/src/optgroup.js +0 -51
- package/lib/select/src/optgroup.min.js +0 -1
- package/lib/select/src/option-info.js +0 -24
- package/lib/select/src/option-info.min.js +0 -1
- package/lib/select/src/option.js +0 -48
- package/lib/select/src/option.min.js +0 -1
- package/lib/select/src/select.js +0 -1764
- package/lib/select/src/select.min.js +0 -1
- package/lib/select/src/util.js +0 -57
- package/lib/select/src/util.min.js +0 -1
- package/lib/select/style/index.js +0 -1
- package/lib/select/style/style.css +0 -268
- package/lib/select/style/style.min.css +0 -1
- package/lib/slider/src/slider.js +0 -295
- package/lib/slider/src/slider.min.js +0 -1
- package/lib/slider/style/index.js +0 -1
- package/lib/slider/style/style.css +0 -143
- package/lib/slider/style/style.min.css +0 -1
- package/lib/split/style/index.js +0 -1
- package/lib/split/style/style.css +0 -290
- package/lib/split/style/style.min.css +0 -1
- package/lib/split-pane/style/index.js +0 -1
- package/lib/split-pane/style/style.css +0 -0
- package/lib/split-pane/style/style.min.css +0 -0
- package/lib/splitter/src/splitter-panel.js +0 -122
- package/lib/splitter/src/splitter-panel.min.js +0 -1
- package/lib/splitter/src/splitter.js +0 -1041
- package/lib/splitter/src/splitter.min.js +0 -1
- package/lib/splitter/src/util.js +0 -25
- package/lib/splitter/src/util.min.js +0 -1
- package/lib/splitter/style/index.js +0 -1
- package/lib/splitter/style/style.css +0 -290
- package/lib/splitter/style/style.min.css +0 -1
- package/lib/splitter-panel/style/index.js +0 -1
- package/lib/splitter-panel/style/style.css +0 -0
- package/lib/splitter-panel/style/style.min.css +0 -0
- package/lib/steps/src/steps.js +0 -57
- package/lib/steps/src/steps.min.js +0 -1
- package/lib/steps/style/index.js +0 -1
- package/lib/steps/style/style.css +0 -0
- package/lib/steps/style/style.min.css +0 -0
- package/lib/switch/src/switch.js +0 -213
- package/lib/switch/src/switch.min.js +0 -1
- package/lib/switch/style/index.js +0 -1
- package/lib/switch/style/style.css +0 -110
- package/lib/switch/style/style.min.css +0 -1
- package/lib/tab-pane/style/index.js +0 -1
- package/lib/tab-pane/style/style.css +0 -0
- package/lib/tab-pane/style/style.min.css +0 -0
- package/lib/table-select/src/table-select.js +0 -783
- package/lib/table-select/src/table-select.min.js +0 -1
- package/lib/table-select/style/index.js +0 -1
- package/lib/table-select/style/style.css +0 -133
- package/lib/table-select/style/style.min.css +0 -1
- package/lib/tabs/src/tab-pane.js +0 -101
- package/lib/tabs/src/tab-pane.min.js +0 -1
- package/lib/tabs/src/tabs.js +0 -992
- package/lib/tabs/src/tabs.min.js +0 -1
- package/lib/tabs/src/util.js +0 -27
- package/lib/tabs/src/util.min.js +0 -1
- package/lib/tabs/style/index.js +0 -1
- package/lib/tabs/style/style.css +0 -705
- package/lib/tabs/style/style.min.css +0 -1
- package/lib/tag/src/tag.js +0 -176
- package/lib/tag/src/tag.min.js +0 -1
- package/lib/tag/style/index.js +0 -1
- package/lib/tag/style/style.css +0 -186
- package/lib/tag/style/style.min.css +0 -1
- package/lib/text/src/text.js +0 -247
- package/lib/text/src/text.min.js +0 -1
- package/lib/text/style/index.js +0 -1
- package/lib/text/style/style.css +0 -137
- package/lib/text/style/style.min.css +0 -1
- package/lib/text-ellipsis/src/text-ellipsis.js +0 -275
- package/lib/text-ellipsis/src/text-ellipsis.min.js +0 -1
- package/lib/text-ellipsis/style/index.js +0 -1
- package/lib/text-ellipsis/style/style.css +0 -114
- package/lib/text-ellipsis/style/style.min.css +0 -1
- package/lib/textarea/src/textarea.js +0 -388
- package/lib/textarea/src/textarea.min.js +0 -1
- package/lib/textarea/style/index.js +0 -1
- package/lib/textarea/style/style.css +0 -109
- package/lib/textarea/style/style.min.css +0 -1
- package/lib/timeline/src/timeline-item.js +0 -57
- package/lib/timeline/src/timeline-item.min.js +0 -1
- package/lib/timeline/src/timeline.js +0 -62
- package/lib/timeline/src/timeline.min.js +0 -1
- package/lib/timeline/style/index.js +0 -1
- package/lib/timeline/style/style.css +0 -0
- package/lib/timeline/style/style.min.css +0 -0
- package/lib/timeline-item/style/index.js +0 -1
- package/lib/timeline-item/style/style.css +0 -0
- package/lib/timeline-item/style/style.min.css +0 -0
- package/lib/tip/src/tip.js +0 -112
- package/lib/tip/src/tip.min.js +0 -1
- package/lib/tip/style/index.js +0 -1
- package/lib/tip/style/style.css +0 -107
- package/lib/tip/style/style.min.css +0 -1
- package/lib/tooltip/src/tooltip.js +0 -617
- package/lib/tooltip/src/tooltip.min.js +0 -1
- package/lib/tooltip/style/index.js +0 -1
- package/lib/tooltip/style/style.css +0 -116
- package/lib/tooltip/style/style.min.css +0 -1
- package/lib/tour/src/tour.js +0 -62
- package/lib/tour/src/tour.min.js +0 -1
- package/lib/tour/style/index.js +0 -1
- package/lib/tour/style/style.css +0 -0
- package/lib/tour/style/style.min.css +0 -0
- package/lib/tree/src/store.js +0 -15
- package/lib/tree/src/store.min.js +0 -1
- package/lib/tree/src/tree.js +0 -3032
- package/lib/tree/src/tree.min.js +0 -1
- package/lib/tree/src/util.js +0 -61
- package/lib/tree/src/util.min.js +0 -1
- package/lib/tree/style/index.js +0 -1
- package/lib/tree/style/style.css +0 -369
- package/lib/tree/style/style.min.css +0 -1
- package/lib/tree-select/src/tree-select.js +0 -942
- package/lib/tree-select/src/tree-select.min.js +0 -1
- package/lib/tree-select/style/index.js +0 -1
- package/lib/tree-select/style/style.css +0 -190
- package/lib/tree-select/style/style.min.css +0 -1
- package/lib/ui/src/anime.js +0 -56
- package/lib/ui/src/anime.min.js +0 -1
- package/lib/ui/src/comp.js +0 -8
- package/lib/ui/src/comp.min.js +0 -1
- package/lib/ui/src/dom.js +0 -303
- package/lib/ui/src/dom.min.js +0 -1
- package/lib/ui/src/log.js +0 -10
- package/lib/ui/src/log.min.js +0 -1
- package/lib/ui/src/utils.js +0 -55
- package/lib/ui/src/utils.min.js +0 -1
- package/lib/ui/src/vn.js +0 -43
- package/lib/ui/src/vn.min.js +0 -1
- package/lib/ui/style/index.js +0 -1
- package/lib/ui/style/style.css +0 -0
- package/lib/ui/style/style.min.css +0 -0
- package/lib/upload/src/upload.js +0 -1901
- package/lib/upload/src/upload.min.js +0 -1
- package/lib/upload/src/util.js +0 -133
- package/lib/upload/src/util.min.js +0 -1
- package/lib/upload/style/index.js +0 -1
- package/lib/upload/style/style.css +0 -493
- package/lib/upload/style/style.min.css +0 -1
- package/lib/vxe-alert/style/index.js +0 -1
- package/lib/vxe-alert/style/style.css +0 -129
- package/lib/vxe-alert/style/style.min.css +0 -1
- package/lib/vxe-anchor/style/index.js +0 -1
- package/lib/vxe-anchor/style/style.css +0 -42
- package/lib/vxe-anchor/style/style.min.css +0 -1
- package/lib/vxe-anchor-link/style/index.js +0 -1
- package/lib/vxe-anchor-link/style/style.css +0 -0
- package/lib/vxe-anchor-link/style/style.min.css +0 -0
- package/lib/vxe-avatar/style/index.js +0 -1
- package/lib/vxe-avatar/style/style.css +0 -98
- package/lib/vxe-avatar/style/style.min.css +0 -1
- package/lib/vxe-backtop/style/index.js +0 -1
- package/lib/vxe-backtop/style/style.css +0 -72
- package/lib/vxe-backtop/style/style.min.css +0 -1
- package/lib/vxe-badge/style/index.js +0 -1
- package/lib/vxe-badge/style/style.css +0 -42
- package/lib/vxe-badge/style/style.min.css +0 -1
- package/lib/vxe-breadcrumb/style/index.js +0 -1
- package/lib/vxe-breadcrumb/style/style.css +0 -33
- package/lib/vxe-breadcrumb/style/style.min.css +0 -1
- package/lib/vxe-breadcrumb-item/style/index.js +0 -1
- package/lib/vxe-breadcrumb-item/style/style.css +0 -0
- package/lib/vxe-breadcrumb-item/style/style.min.css +0 -0
- package/lib/vxe-button/style/index.js +0 -1
- package/lib/vxe-button/style/style.css +0 -662
- package/lib/vxe-button/style/style.min.css +0 -1
- package/lib/vxe-button-group/style/index.js +0 -1
- package/lib/vxe-button-group/style/style.css +0 -27
- package/lib/vxe-button-group/style/style.min.css +0 -1
- package/lib/vxe-calendar/style/index.js +0 -1
- package/lib/vxe-calendar/style/style.css +0 -424
- package/lib/vxe-calendar/style/style.min.css +0 -1
- package/lib/vxe-card/style/index.js +0 -1
- package/lib/vxe-card/style/style.css +0 -107
- package/lib/vxe-card/style/style.min.css +0 -1
- package/lib/vxe-carousel/style/index.js +0 -1
- package/lib/vxe-carousel/style/style.css +0 -185
- package/lib/vxe-carousel/style/style.min.css +0 -1
- package/lib/vxe-carousel-item/style/index.js +0 -1
- package/lib/vxe-carousel-item/style/style.css +0 -0
- package/lib/vxe-carousel-item/style/style.min.css +0 -0
- package/lib/vxe-cascader/style/index.js +0 -1
- package/lib/vxe-cascader/style/style.css +0 -168
- package/lib/vxe-cascader/style/style.min.css +0 -1
- package/lib/vxe-checkbox/style/index.js +0 -1
- package/lib/vxe-checkbox/style/style.css +0 -115
- package/lib/vxe-checkbox/style/style.min.css +0 -1
- package/lib/vxe-checkbox-button/style/index.js +0 -1
- package/lib/vxe-checkbox-button/style/style.css +0 -41
- package/lib/vxe-checkbox-button/style/style.min.css +0 -1
- package/lib/vxe-checkbox-group/style/index.js +0 -1
- package/lib/vxe-checkbox-group/style/style.css +0 -0
- package/lib/vxe-checkbox-group/style/style.min.css +0 -0
- package/lib/vxe-col/style/index.js +0 -1
- package/lib/vxe-col/style/style.css +0 -0
- package/lib/vxe-col/style/style.min.css +0 -0
- package/lib/vxe-collapse/style/index.js +0 -1
- package/lib/vxe-collapse/style/style.css +0 -55
- package/lib/vxe-collapse/style/style.min.css +0 -1
- package/lib/vxe-collapse-pane/style/index.js +0 -1
- package/lib/vxe-collapse-pane/style/style.css +0 -0
- package/lib/vxe-collapse-pane/style/style.min.css +0 -0
- package/lib/vxe-color-picker/style/index.js +0 -1
- package/lib/vxe-color-picker/style/style.css +0 -480
- package/lib/vxe-color-picker/style/style.min.css +0 -1
- package/lib/vxe-context-menu/style/index.js +0 -1
- package/lib/vxe-context-menu/style/style.css +0 -106
- package/lib/vxe-context-menu/style/style.min.css +0 -1
- package/lib/vxe-countdown/style/index.js +0 -1
- package/lib/vxe-countdown/style/style.css +0 -38
- package/lib/vxe-countdown/style/style.min.css +0 -1
- package/lib/vxe-date-panel/style/index.js +0 -1
- package/lib/vxe-date-panel/style/style.css +0 -446
- package/lib/vxe-date-panel/style/style.min.css +0 -1
- package/lib/vxe-date-picker/style/index.js +0 -1
- package/lib/vxe-date-picker/style/style.css +0 -279
- package/lib/vxe-date-picker/style/style.min.css +0 -1
- package/lib/vxe-date-range-picker/style/index.js +0 -1
- package/lib/vxe-date-range-picker/style/style.css +0 -285
- package/lib/vxe-date-range-picker/style/style.min.css +0 -1
- package/lib/vxe-drawer/style/index.js +0 -1
- package/lib/vxe-drawer/style/style.css +0 -270
- package/lib/vxe-drawer/style/style.min.css +0 -1
- package/lib/vxe-empty/style/index.js +0 -1
- package/lib/vxe-empty/style/style.css +0 -54
- package/lib/vxe-empty/style/style.min.css +0 -1
- package/lib/vxe-form/style/index.js +0 -1
- package/lib/vxe-form/style/style.css +0 -657
- package/lib/vxe-form/style/style.min.css +0 -1
- package/lib/vxe-form-gather/style/index.js +0 -1
- package/lib/vxe-form-gather/style/style.css +0 -0
- package/lib/vxe-form-gather/style/style.min.css +0 -0
- package/lib/vxe-form-group/style/index.js +0 -1
- package/lib/vxe-form-group/style/style.css +0 -0
- package/lib/vxe-form-group/style/style.min.css +0 -0
- package/lib/vxe-form-item/style/index.js +0 -1
- package/lib/vxe-form-item/style/style.css +0 -0
- package/lib/vxe-form-item/style/style.min.css +0 -0
- package/lib/vxe-icon/style/index.js +0 -1
- package/lib/vxe-icon/style/style.css +0 -1025
- package/lib/vxe-icon/style/style.min.css +0 -1
- package/lib/vxe-icon-picker/style/index.js +0 -1
- package/lib/vxe-icon-picker/style/style.css +0 -217
- package/lib/vxe-icon-picker/style/style.min.css +0 -1
- package/lib/vxe-image/style/index.js +0 -1
- package/lib/vxe-image/style/style.css +0 -17
- package/lib/vxe-image/style/style.min.css +0 -1
- package/lib/vxe-image-group/style/index.js +0 -1
- package/lib/vxe-image-group/style/style.css +0 -3
- package/lib/vxe-image-group/style/style.min.css +0 -1
- package/lib/vxe-image-preview/style/index.js +0 -1
- package/lib/vxe-image-preview/style/style.css +0 -217
- package/lib/vxe-image-preview/style/style.min.css +0 -1
- package/lib/vxe-input/style/index.js +0 -1
- package/lib/vxe-input/style/style.css +0 -1018
- package/lib/vxe-input/style/style.min.css +0 -1
- package/lib/vxe-layout-aside/style/index.js +0 -1
- package/lib/vxe-layout-aside/style/style.css +0 -24
- package/lib/vxe-layout-aside/style/style.min.css +0 -1
- package/lib/vxe-layout-body/style/index.js +0 -1
- package/lib/vxe-layout-body/style/style.css +0 -16
- package/lib/vxe-layout-body/style/style.min.css +0 -1
- package/lib/vxe-layout-container/style/index.js +0 -1
- package/lib/vxe-layout-container/style/style.css +0 -14
- package/lib/vxe-layout-container/style/style.min.css +0 -1
- package/lib/vxe-layout-footer/style/index.js +0 -1
- package/lib/vxe-layout-footer/style/style.css +0 -14
- package/lib/vxe-layout-footer/style/style.min.css +0 -1
- package/lib/vxe-layout-header/style/index.js +0 -1
- package/lib/vxe-layout-header/style/style.css +0 -11
- package/lib/vxe-layout-header/style/style.min.css +0 -1
- package/lib/vxe-link/style/index.js +0 -1
- package/lib/vxe-link/style/style.css +0 -111
- package/lib/vxe-link/style/style.min.css +0 -1
- package/lib/vxe-list/style/index.js +0 -1
- package/lib/vxe-list/style/style.css +0 -41
- package/lib/vxe-list/style/style.min.css +0 -1
- package/lib/vxe-loading/style/index.js +0 -1
- package/lib/vxe-loading/style/style.css +0 -119
- package/lib/vxe-loading/style/style.min.css +0 -1
- package/lib/vxe-mention/style/index.js +0 -1
- package/lib/vxe-mention/style/style.css +0 -0
- package/lib/vxe-mention/style/style.min.css +0 -0
- package/lib/vxe-menu/style/index.js +0 -1
- package/lib/vxe-menu/style/style.css +0 -154
- package/lib/vxe-menu/style/style.min.css +0 -1
- package/lib/vxe-modal/style/index.js +0 -1
- package/lib/vxe-modal/style/style.css +0 -414
- package/lib/vxe-modal/style/style.min.css +0 -1
- package/lib/vxe-notice-bar/style/index.js +0 -1
- package/lib/vxe-notice-bar/style/style.css +0 -78
- package/lib/vxe-notice-bar/style/style.min.css +0 -1
- package/lib/vxe-number-input/style/index.js +0 -1
- package/lib/vxe-number-input/style/style.css +0 -270
- package/lib/vxe-number-input/style/style.min.css +0 -1
- package/lib/vxe-optgroup/style/index.js +0 -1
- package/lib/vxe-optgroup/style/style.css +0 -0
- package/lib/vxe-optgroup/style/style.min.css +0 -0
- package/lib/vxe-option/style/index.js +0 -1
- package/lib/vxe-option/style/style.css +0 -0
- package/lib/vxe-option/style/style.min.css +0 -0
- package/lib/vxe-pager/style/index.js +0 -1
- package/lib/vxe-pager/style/style.css +0 -339
- package/lib/vxe-pager/style/style.min.css +0 -1
- package/lib/vxe-password-input/style/index.js +0 -1
- package/lib/vxe-password-input/style/style.css +0 -594
- package/lib/vxe-password-input/style/style.min.css +0 -1
- package/lib/vxe-print/style/index.js +0 -1
- package/lib/vxe-print/style/style.css +0 -4
- package/lib/vxe-print/style/style.min.css +0 -1
- package/lib/vxe-print-page-break/style/index.js +0 -1
- package/lib/vxe-print-page-break/style/style.css +0 -0
- package/lib/vxe-print-page-break/style/style.min.css +0 -0
- package/lib/vxe-pulldown/style/index.js +0 -1
- package/lib/vxe-pulldown/style/style.css +0 -108
- package/lib/vxe-pulldown/style/style.min.css +0 -1
- package/lib/vxe-radio/style/index.js +0 -1
- package/lib/vxe-radio/style/style.css +0 -113
- package/lib/vxe-radio/style/style.min.css +0 -1
- package/lib/vxe-radio-button/style/index.js +0 -1
- package/lib/vxe-radio-button/style/style.css +0 -41
- package/lib/vxe-radio-button/style/style.min.css +0 -1
- package/lib/vxe-radio-group/style/index.js +0 -1
- package/lib/vxe-radio-group/style/style.css +0 -0
- package/lib/vxe-radio-group/style/style.min.css +0 -0
- package/lib/vxe-rate/style/index.js +0 -1
- package/lib/vxe-rate/style/style.css +0 -54
- package/lib/vxe-rate/style/style.min.css +0 -1
- package/lib/vxe-result/style/index.js +0 -1
- package/lib/vxe-result/style/style.css +0 -68
- package/lib/vxe-result/style/style.min.css +0 -1
- package/lib/vxe-row/style/index.js +0 -1
- package/lib/vxe-row/style/style.css +0 -116
- package/lib/vxe-row/style/style.min.css +0 -1
- package/lib/vxe-segmented/style/index.js +0 -1
- package/lib/vxe-segmented/style/style.css +0 -197
- package/lib/vxe-segmented/style/style.min.css +0 -1
- package/lib/vxe-select/style/index.js +0 -1
- package/lib/vxe-select/style/style.css +0 -268
- package/lib/vxe-select/style/style.min.css +0 -1
- package/lib/vxe-slider/style/index.js +0 -1
- package/lib/vxe-slider/style/style.css +0 -143
- package/lib/vxe-slider/style/style.min.css +0 -1
- package/lib/vxe-split/style/index.js +0 -1
- package/lib/vxe-split/style/style.css +0 -290
- package/lib/vxe-split/style/style.min.css +0 -1
- package/lib/vxe-split-pane/style/index.js +0 -1
- package/lib/vxe-split-pane/style/style.css +0 -0
- package/lib/vxe-split-pane/style/style.min.css +0 -0
- package/lib/vxe-splitter/style/index.js +0 -1
- package/lib/vxe-splitter/style/style.css +0 -290
- package/lib/vxe-splitter/style/style.min.css +0 -1
- package/lib/vxe-splitter-panel/style/index.js +0 -1
- package/lib/vxe-splitter-panel/style/style.css +0 -0
- package/lib/vxe-splitter-panel/style/style.min.css +0 -0
- package/lib/vxe-steps/style/index.js +0 -1
- package/lib/vxe-steps/style/style.css +0 -0
- package/lib/vxe-steps/style/style.min.css +0 -0
- package/lib/vxe-switch/style/index.js +0 -1
- package/lib/vxe-switch/style/style.css +0 -110
- package/lib/vxe-switch/style/style.min.css +0 -1
- package/lib/vxe-tab-pane/style/index.js +0 -1
- package/lib/vxe-tab-pane/style/style.css +0 -0
- package/lib/vxe-tab-pane/style/style.min.css +0 -0
- package/lib/vxe-table-select/style/index.js +0 -1
- package/lib/vxe-table-select/style/style.css +0 -133
- package/lib/vxe-table-select/style/style.min.css +0 -1
- package/lib/vxe-tabs/style/index.js +0 -1
- package/lib/vxe-tabs/style/style.css +0 -705
- package/lib/vxe-tabs/style/style.min.css +0 -1
- package/lib/vxe-tag/style/index.js +0 -1
- package/lib/vxe-tag/style/style.css +0 -186
- package/lib/vxe-tag/style/style.min.css +0 -1
- package/lib/vxe-text/style/index.js +0 -1
- package/lib/vxe-text/style/style.css +0 -137
- package/lib/vxe-text/style/style.min.css +0 -1
- package/lib/vxe-text-ellipsis/style/index.js +0 -1
- package/lib/vxe-text-ellipsis/style/style.css +0 -114
- package/lib/vxe-text-ellipsis/style/style.min.css +0 -1
- package/lib/vxe-textarea/style/index.js +0 -1
- package/lib/vxe-textarea/style/style.css +0 -109
- package/lib/vxe-textarea/style/style.min.css +0 -1
- package/lib/vxe-timeline/style/index.js +0 -1
- package/lib/vxe-timeline/style/style.css +0 -0
- package/lib/vxe-timeline/style/style.min.css +0 -0
- package/lib/vxe-timeline-item/style/index.js +0 -1
- package/lib/vxe-timeline-item/style/style.css +0 -0
- package/lib/vxe-timeline-item/style/style.min.css +0 -0
- package/lib/vxe-tip/style/index.js +0 -1
- package/lib/vxe-tip/style/style.css +0 -107
- package/lib/vxe-tip/style/style.min.css +0 -1
- package/lib/vxe-tooltip/style/index.js +0 -1
- package/lib/vxe-tooltip/style/style.css +0 -116
- package/lib/vxe-tooltip/style/style.min.css +0 -1
- package/lib/vxe-tour/style/index.js +0 -1
- package/lib/vxe-tour/style/style.css +0 -0
- package/lib/vxe-tour/style/style.min.css +0 -0
- package/lib/vxe-tree/style/index.js +0 -1
- package/lib/vxe-tree/style/style.css +0 -369
- package/lib/vxe-tree/style/style.min.css +0 -1
- package/lib/vxe-tree-select/style/index.js +0 -1
- package/lib/vxe-tree-select/style/style.css +0 -190
- package/lib/vxe-tree-select/style/style.min.css +0 -1
- package/lib/vxe-ui/style/index.js +0 -1
- package/lib/vxe-ui/style/style.css +0 -0
- package/lib/vxe-ui/style/style.min.css +0 -0
- package/lib/vxe-upload/style/index.js +0 -1
- package/lib/vxe-upload/style/style.css +0 -493
- package/lib/vxe-upload/style/style.min.css +0 -1
- package/lib/vxe-watermark/style/index.js +0 -1
- package/lib/vxe-watermark/style/style.css +0 -29
- package/lib/vxe-watermark/style/style.min.css +0 -1
- package/lib/watermark/src/util.js +0 -161
- package/lib/watermark/src/util.min.js +0 -1
- package/lib/watermark/src/watermark.js +0 -161
- package/lib/watermark/src/watermark.min.js +0 -1
- package/lib/watermark/style/index.js +0 -1
- package/lib/watermark/style/style.css +0 -29
- package/lib/watermark/style/style.min.css +0 -1
|
@@ -1,942 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var _vue = require("vue");
|
|
8
|
-
var _comp = require("../../ui/src/comp");
|
|
9
|
-
var _ui = require("../../ui");
|
|
10
|
-
var _dom = require("../../ui/src/dom");
|
|
11
|
-
var _utils = require("../../ui/src/utils");
|
|
12
|
-
var _util = require("../../tree/src/util");
|
|
13
|
-
var _log = require("../../ui/src/log");
|
|
14
|
-
var _xeUtils = _interopRequireDefault(require("xe-utils"));
|
|
15
|
-
var _input = _interopRequireDefault(require("../../input"));
|
|
16
|
-
var _button = _interopRequireDefault(require("../../button"));
|
|
17
|
-
var _tree = _interopRequireDefault(require("../../tree"));
|
|
18
|
-
var _vn = require("../../ui/src/vn");
|
|
19
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
20
|
-
function getOptUniqueId() {
|
|
21
|
-
return _xeUtils.default.uniqueId('node_');
|
|
22
|
-
}
|
|
23
|
-
function createReactData() {
|
|
24
|
-
return {
|
|
25
|
-
initialized: false,
|
|
26
|
-
searchValue: '',
|
|
27
|
-
searchLoading: false,
|
|
28
|
-
panelIndex: 0,
|
|
29
|
-
panelStyle: {},
|
|
30
|
-
panelPlacement: null,
|
|
31
|
-
triggerFocusPanel: false,
|
|
32
|
-
visiblePanel: false,
|
|
33
|
-
isAniVisible: false,
|
|
34
|
-
isActivated: false
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
function createInternalData() {
|
|
38
|
-
return {
|
|
39
|
-
// hpTimeout: undefined,
|
|
40
|
-
fullOptionList: [],
|
|
41
|
-
fullNodeMaps: {}
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
var _default = exports.default = (0, _comp.defineVxeComponent)({
|
|
45
|
-
name: 'VxeTreeSelect',
|
|
46
|
-
props: {
|
|
47
|
-
modelValue: [String, Number, Array],
|
|
48
|
-
clearable: Boolean,
|
|
49
|
-
placeholder: {
|
|
50
|
-
type: String,
|
|
51
|
-
default: () => _xeUtils.default.eqNull((0, _ui.getConfig)().treeSelect.placeholder) ? (0, _ui.getI18n)('vxe.base.pleaseSelect') : (0, _ui.getConfig)().treeSelect.placeholder
|
|
52
|
-
},
|
|
53
|
-
readonly: {
|
|
54
|
-
type: Boolean,
|
|
55
|
-
default: null
|
|
56
|
-
},
|
|
57
|
-
loading: Boolean,
|
|
58
|
-
disabled: {
|
|
59
|
-
type: Boolean,
|
|
60
|
-
default: null
|
|
61
|
-
},
|
|
62
|
-
filterable: Boolean,
|
|
63
|
-
filterConfig: Object,
|
|
64
|
-
multiple: Boolean,
|
|
65
|
-
className: [String, Function],
|
|
66
|
-
/**
|
|
67
|
-
* 已废弃,请使用 popupConfig.className
|
|
68
|
-
* @deprecated
|
|
69
|
-
*/
|
|
70
|
-
popupClassName: [String, Function],
|
|
71
|
-
prefixIcon: String,
|
|
72
|
-
placement: String,
|
|
73
|
-
lazyOptions: Array,
|
|
74
|
-
options: Array,
|
|
75
|
-
optionProps: Object,
|
|
76
|
-
/**
|
|
77
|
-
* 已废弃,请使用 popupConfig.zIndex
|
|
78
|
-
* @deprecated
|
|
79
|
-
*/
|
|
80
|
-
zIndex: Number,
|
|
81
|
-
size: {
|
|
82
|
-
type: String,
|
|
83
|
-
default: () => (0, _ui.getConfig)().treeSelect.size || (0, _ui.getConfig)().size
|
|
84
|
-
},
|
|
85
|
-
remote: Boolean,
|
|
86
|
-
remoteConfig: Function,
|
|
87
|
-
popupConfig: Object,
|
|
88
|
-
treeConfig: Object,
|
|
89
|
-
menuConfig: Object,
|
|
90
|
-
virtualYConfig: Object,
|
|
91
|
-
autoClose: {
|
|
92
|
-
type: Boolean,
|
|
93
|
-
default: () => (0, _ui.getConfig)().treeSelect.autoClose
|
|
94
|
-
},
|
|
95
|
-
showTotalButoon: {
|
|
96
|
-
type: Boolean,
|
|
97
|
-
default: () => (0, _ui.getConfig)().treeSelect.showTotalButoon
|
|
98
|
-
},
|
|
99
|
-
showCheckedButoon: {
|
|
100
|
-
type: Boolean,
|
|
101
|
-
default: () => (0, _ui.getConfig)().treeSelect.showCheckedButoon
|
|
102
|
-
},
|
|
103
|
-
showClearButton: {
|
|
104
|
-
type: Boolean,
|
|
105
|
-
default: () => (0, _ui.getConfig)().treeSelect.showClearButton
|
|
106
|
-
},
|
|
107
|
-
showExpandButton: {
|
|
108
|
-
type: Boolean,
|
|
109
|
-
default: () => (0, _ui.getConfig)().treeSelect.showExpandButton
|
|
110
|
-
},
|
|
111
|
-
transfer: {
|
|
112
|
-
type: Boolean,
|
|
113
|
-
default: null
|
|
114
|
-
},
|
|
115
|
-
/**
|
|
116
|
-
* 已废弃,被 remote-config.queryMethod 替换
|
|
117
|
-
* @deprecated
|
|
118
|
-
*/
|
|
119
|
-
remoteMethod: Function
|
|
120
|
-
},
|
|
121
|
-
emits: ['update:modelValue', 'change', 'all-change', 'clear', 'blur', 'focus', 'click', 'node-click'],
|
|
122
|
-
setup(props, context) {
|
|
123
|
-
const {
|
|
124
|
-
emit,
|
|
125
|
-
slots
|
|
126
|
-
} = context;
|
|
127
|
-
const $xeModal = (0, _vue.inject)('$xeModal', null);
|
|
128
|
-
const $xeDrawer = (0, _vue.inject)('$xeDrawer', null);
|
|
129
|
-
const $xeTable = (0, _vue.inject)('$xeTable', null);
|
|
130
|
-
const $xeForm = (0, _vue.inject)('$xeForm', null);
|
|
131
|
-
const formItemInfo = (0, _vue.inject)('xeFormItemInfo', null);
|
|
132
|
-
const xID = _xeUtils.default.uniqueId();
|
|
133
|
-
const {
|
|
134
|
-
computeSize
|
|
135
|
-
} = (0, _ui.useSize)(props);
|
|
136
|
-
const refElem = (0, _vue.ref)();
|
|
137
|
-
const refInput = (0, _vue.ref)();
|
|
138
|
-
const refInpSearch = (0, _vue.ref)();
|
|
139
|
-
const refTreeWrapper = (0, _vue.ref)();
|
|
140
|
-
const refOptionPanel = (0, _vue.ref)();
|
|
141
|
-
const refTree = (0, _vue.ref)();
|
|
142
|
-
const reactData = (0, _vue.reactive)(createReactData());
|
|
143
|
-
const internalData = createInternalData();
|
|
144
|
-
const refMaps = {
|
|
145
|
-
refElem
|
|
146
|
-
};
|
|
147
|
-
const computeFormReadonly = (0, _vue.computed)(() => {
|
|
148
|
-
const {
|
|
149
|
-
readonly
|
|
150
|
-
} = props;
|
|
151
|
-
if (readonly === null) {
|
|
152
|
-
if ($xeForm) {
|
|
153
|
-
return $xeForm.props.readonly;
|
|
154
|
-
}
|
|
155
|
-
return false;
|
|
156
|
-
}
|
|
157
|
-
return readonly;
|
|
158
|
-
});
|
|
159
|
-
const computeIsDisabled = (0, _vue.computed)(() => {
|
|
160
|
-
const {
|
|
161
|
-
disabled
|
|
162
|
-
} = props;
|
|
163
|
-
if (disabled === null) {
|
|
164
|
-
if ($xeForm) {
|
|
165
|
-
return $xeForm.props.disabled;
|
|
166
|
-
}
|
|
167
|
-
return false;
|
|
168
|
-
}
|
|
169
|
-
return disabled;
|
|
170
|
-
});
|
|
171
|
-
const computeBtnTransfer = (0, _vue.computed)(() => {
|
|
172
|
-
const {
|
|
173
|
-
transfer
|
|
174
|
-
} = props;
|
|
175
|
-
const popupOpts = computePopupOpts.value;
|
|
176
|
-
if (_xeUtils.default.isBoolean(popupOpts.transfer)) {
|
|
177
|
-
return popupOpts.transfer;
|
|
178
|
-
}
|
|
179
|
-
if (transfer === null) {
|
|
180
|
-
const globalTransfer = (0, _ui.getConfig)().treeSelect.transfer;
|
|
181
|
-
if (_xeUtils.default.isBoolean(globalTransfer)) {
|
|
182
|
-
return globalTransfer;
|
|
183
|
-
}
|
|
184
|
-
if ($xeTable || $xeModal || $xeDrawer || $xeForm) {
|
|
185
|
-
return true;
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
return transfer;
|
|
189
|
-
});
|
|
190
|
-
const computePopupOpts = (0, _vue.computed)(() => {
|
|
191
|
-
return Object.assign({}, (0, _ui.getConfig)().treeSelect.popupConfig, props.popupConfig);
|
|
192
|
-
});
|
|
193
|
-
const computeTreeOpts = (0, _vue.computed)(() => {
|
|
194
|
-
return Object.assign({}, (0, _ui.getConfig)().treeSelect.treeConfig, props.treeConfig, {
|
|
195
|
-
data: undefined
|
|
196
|
-
});
|
|
197
|
-
});
|
|
198
|
-
const computeMenuOpts = (0, _vue.computed)(() => {
|
|
199
|
-
return Object.assign({}, (0, _ui.getConfig)().treeSelect.menuConfig, props.menuConfig);
|
|
200
|
-
});
|
|
201
|
-
const computeTreeNodeOpts = (0, _vue.computed)(() => {
|
|
202
|
-
const treeOpts = computeTreeOpts.value;
|
|
203
|
-
return Object.assign({
|
|
204
|
-
isHover: true
|
|
205
|
-
}, treeOpts.nodeConfig);
|
|
206
|
-
});
|
|
207
|
-
const computeTreeCheckboxOpts = (0, _vue.computed)(() => {
|
|
208
|
-
const treeOpts = computeTreeOpts.value;
|
|
209
|
-
return Object.assign({
|
|
210
|
-
showIcon: !!treeOpts.showCheckbox
|
|
211
|
-
}, treeOpts.checkboxConfig, {
|
|
212
|
-
trigger: 'node'
|
|
213
|
-
});
|
|
214
|
-
});
|
|
215
|
-
const computeTreeRadioOpts = (0, _vue.computed)(() => {
|
|
216
|
-
const treeOpts = computeTreeOpts.value;
|
|
217
|
-
return Object.assign({
|
|
218
|
-
showIcon: !!treeOpts.showRadio
|
|
219
|
-
}, treeOpts.radioConfig, {
|
|
220
|
-
trigger: 'node'
|
|
221
|
-
});
|
|
222
|
-
});
|
|
223
|
-
const computePropsOpts = (0, _vue.computed)(() => {
|
|
224
|
-
return props.optionProps || {};
|
|
225
|
-
});
|
|
226
|
-
const computeNodeKeyField = (0, _vue.computed)(() => {
|
|
227
|
-
const treeOpts = computeTreeOpts.value;
|
|
228
|
-
return treeOpts.keyField || 'id';
|
|
229
|
-
});
|
|
230
|
-
const computeLabelField = (0, _vue.computed)(() => {
|
|
231
|
-
const propsOpts = computePropsOpts.value;
|
|
232
|
-
return propsOpts.label || 'label';
|
|
233
|
-
});
|
|
234
|
-
const computeValueField = (0, _vue.computed)(() => {
|
|
235
|
-
const propsOpts = computePropsOpts.value;
|
|
236
|
-
return propsOpts.value || 'value';
|
|
237
|
-
});
|
|
238
|
-
const computeChildrenField = (0, _vue.computed)(() => {
|
|
239
|
-
const propsOpts = computePropsOpts.value;
|
|
240
|
-
return propsOpts.children || 'children';
|
|
241
|
-
});
|
|
242
|
-
const computeParentField = (0, _vue.computed)(() => {
|
|
243
|
-
const propsOpts = computePropsOpts.value;
|
|
244
|
-
return propsOpts.parent || 'parentField';
|
|
245
|
-
});
|
|
246
|
-
const computeHasChildField = (0, _vue.computed)(() => {
|
|
247
|
-
const propsOpts = computePropsOpts.value;
|
|
248
|
-
return propsOpts.hasChild || 'hasChild';
|
|
249
|
-
});
|
|
250
|
-
const computeVirtualYOpts = (0, _vue.computed)(() => {
|
|
251
|
-
return Object.assign({}, (0, _ui.getConfig)().treeSelect.virtualYConfig, props.virtualYConfig);
|
|
252
|
-
});
|
|
253
|
-
const computeRemoteOpts = (0, _vue.computed)(() => {
|
|
254
|
-
return Object.assign({}, (0, _ui.getConfig)().treeSelect.remoteConfig, props.remoteConfig);
|
|
255
|
-
});
|
|
256
|
-
const computeFilterOpts = (0, _vue.computed)(() => {
|
|
257
|
-
const treeOpts = computeTreeOpts.value;
|
|
258
|
-
return Object.assign({}, treeOpts.filterConfig, props.filterConfig);
|
|
259
|
-
});
|
|
260
|
-
const computeSelectLabel = (0, _vue.computed)(() => {
|
|
261
|
-
const {
|
|
262
|
-
modelValue,
|
|
263
|
-
lazyOptions
|
|
264
|
-
} = props;
|
|
265
|
-
const {
|
|
266
|
-
fullNodeMaps
|
|
267
|
-
} = internalData;
|
|
268
|
-
const valueField = computeValueField.value;
|
|
269
|
-
const labelField = computeLabelField.value;
|
|
270
|
-
const selectVals = _xeUtils.default.eqNull(modelValue) ? [] : _xeUtils.default.isArray(modelValue) ? modelValue : [modelValue];
|
|
271
|
-
return selectVals.map(val => {
|
|
272
|
-
const cacheItem = fullNodeMaps[val];
|
|
273
|
-
if (cacheItem) {
|
|
274
|
-
return cacheItem.item[labelField];
|
|
275
|
-
}
|
|
276
|
-
if (lazyOptions) {
|
|
277
|
-
const lazyItem = lazyOptions.find(item => item[valueField] === val);
|
|
278
|
-
if (lazyItem) {
|
|
279
|
-
return lazyItem[labelField];
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
return val;
|
|
283
|
-
}).join(', ');
|
|
284
|
-
});
|
|
285
|
-
const computePopupWrapperStyle = (0, _vue.computed)(() => {
|
|
286
|
-
const popupOpts = computePopupOpts.value;
|
|
287
|
-
const {
|
|
288
|
-
height,
|
|
289
|
-
width
|
|
290
|
-
} = popupOpts;
|
|
291
|
-
const stys = {};
|
|
292
|
-
if (width) {
|
|
293
|
-
stys.width = (0, _dom.toCssUnit)(width);
|
|
294
|
-
}
|
|
295
|
-
if (height) {
|
|
296
|
-
stys.height = (0, _dom.toCssUnit)(height);
|
|
297
|
-
stys.maxHeight = (0, _dom.toCssUnit)(height);
|
|
298
|
-
}
|
|
299
|
-
return stys;
|
|
300
|
-
});
|
|
301
|
-
const computeMaps = {};
|
|
302
|
-
const $xeTreeSelect = {
|
|
303
|
-
xID,
|
|
304
|
-
props,
|
|
305
|
-
context,
|
|
306
|
-
reactData,
|
|
307
|
-
internalData,
|
|
308
|
-
getRefMaps: () => refMaps,
|
|
309
|
-
getComputeMaps: () => computeMaps
|
|
310
|
-
};
|
|
311
|
-
const dispatchEvent = (type, params, evnt) => {
|
|
312
|
-
emit(type, (0, _ui.createEvent)(evnt, {
|
|
313
|
-
$treeSelect: $xeTreeSelect
|
|
314
|
-
}, params));
|
|
315
|
-
};
|
|
316
|
-
const emitModel = value => {
|
|
317
|
-
emit('update:modelValue', value);
|
|
318
|
-
};
|
|
319
|
-
const callSlot = (slotFunc, params) => {
|
|
320
|
-
if (slotFunc) {
|
|
321
|
-
if (_xeUtils.default.isString(slotFunc)) {
|
|
322
|
-
slotFunc = slots[slotFunc] || null;
|
|
323
|
-
}
|
|
324
|
-
if (_xeUtils.default.isFunction(slotFunc)) {
|
|
325
|
-
return (0, _vn.getSlotVNs)(slotFunc(params));
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
return [];
|
|
329
|
-
};
|
|
330
|
-
const treeSelectMethods = {
|
|
331
|
-
dispatchEvent
|
|
332
|
-
};
|
|
333
|
-
const getNodeid = option => {
|
|
334
|
-
const nodeKeyField = computeNodeKeyField.value;
|
|
335
|
-
const nodeid = option[nodeKeyField];
|
|
336
|
-
return nodeid ? encodeURIComponent(nodeid) : '';
|
|
337
|
-
};
|
|
338
|
-
const cacheDataMap = () => {
|
|
339
|
-
const {
|
|
340
|
-
options
|
|
341
|
-
} = props;
|
|
342
|
-
const treeOpts = computeTreeOpts.value;
|
|
343
|
-
const nodeKeyField = computeNodeKeyField.value;
|
|
344
|
-
const childrenField = computeChildrenField.value;
|
|
345
|
-
const valueField = computeValueField.value;
|
|
346
|
-
const {
|
|
347
|
-
transform
|
|
348
|
-
} = treeOpts;
|
|
349
|
-
const nodeMaps = {};
|
|
350
|
-
const keyMaps = {};
|
|
351
|
-
const handleOptNode = (item, index, items, path, parent, nodes) => {
|
|
352
|
-
let nodeid = getNodeid(item);
|
|
353
|
-
if (!nodeid) {
|
|
354
|
-
nodeid = getOptUniqueId();
|
|
355
|
-
}
|
|
356
|
-
if (keyMaps[nodeid]) {
|
|
357
|
-
(0, _log.errLog)('vxe.error.repeatKey', [`[tree-select] ${nodeKeyField}`, nodeid]);
|
|
358
|
-
}
|
|
359
|
-
keyMaps[nodeid] = true;
|
|
360
|
-
const value = item[valueField];
|
|
361
|
-
if (nodeMaps[value]) {
|
|
362
|
-
(0, _log.errLog)('vxe.error.repeatKey', [`[tree-select] ${valueField}`, value]);
|
|
363
|
-
}
|
|
364
|
-
nodeMaps[value] = {
|
|
365
|
-
item,
|
|
366
|
-
index,
|
|
367
|
-
items,
|
|
368
|
-
parent,
|
|
369
|
-
nodes
|
|
370
|
-
};
|
|
371
|
-
};
|
|
372
|
-
if (options) {
|
|
373
|
-
if (transform) {
|
|
374
|
-
options.forEach((item, index, items) => {
|
|
375
|
-
handleOptNode(item, index, items, [], null, []);
|
|
376
|
-
});
|
|
377
|
-
} else {
|
|
378
|
-
_xeUtils.default.eachTree(options, handleOptNode, {
|
|
379
|
-
children: childrenField
|
|
380
|
-
});
|
|
381
|
-
}
|
|
382
|
-
}
|
|
383
|
-
internalData.fullOptionList = options || [];
|
|
384
|
-
internalData.fullNodeMaps = nodeMaps;
|
|
385
|
-
};
|
|
386
|
-
const updateZindex = () => {
|
|
387
|
-
const popupOpts = computePopupOpts.value;
|
|
388
|
-
const customZIndex = popupOpts.zIndex || props.zIndex;
|
|
389
|
-
if (customZIndex) {
|
|
390
|
-
reactData.panelIndex = _xeUtils.default.toNumber(customZIndex);
|
|
391
|
-
} else if (reactData.panelIndex < (0, _utils.getLastZIndex)()) {
|
|
392
|
-
reactData.panelIndex = (0, _utils.nextZIndex)();
|
|
393
|
-
}
|
|
394
|
-
};
|
|
395
|
-
const updatePlacement = () => {
|
|
396
|
-
const {
|
|
397
|
-
placement
|
|
398
|
-
} = props;
|
|
399
|
-
const {
|
|
400
|
-
panelIndex
|
|
401
|
-
} = reactData;
|
|
402
|
-
const targetElem = refElem.value;
|
|
403
|
-
const panelElem = refOptionPanel.value;
|
|
404
|
-
const btnTransfer = computeBtnTransfer.value;
|
|
405
|
-
const popupOpts = computePopupOpts.value;
|
|
406
|
-
const handleStyle = () => {
|
|
407
|
-
const ppObj = (0, _dom.updatePanelPlacement)(targetElem, panelElem, {
|
|
408
|
-
placement: popupOpts.placement || placement,
|
|
409
|
-
defaultPlacement: popupOpts.defaultPlacement,
|
|
410
|
-
teleportTo: btnTransfer
|
|
411
|
-
});
|
|
412
|
-
const panelStyle = Object.assign(ppObj.style, {
|
|
413
|
-
zIndex: panelIndex
|
|
414
|
-
});
|
|
415
|
-
reactData.panelStyle = panelStyle;
|
|
416
|
-
reactData.panelPlacement = ppObj.placement;
|
|
417
|
-
};
|
|
418
|
-
handleStyle();
|
|
419
|
-
return (0, _vue.nextTick)().then(handleStyle);
|
|
420
|
-
};
|
|
421
|
-
const showOptionPanel = () => {
|
|
422
|
-
const {
|
|
423
|
-
loading,
|
|
424
|
-
remote,
|
|
425
|
-
filterable
|
|
426
|
-
} = props;
|
|
427
|
-
const {
|
|
428
|
-
fullOptionList
|
|
429
|
-
} = internalData;
|
|
430
|
-
const isDisabled = computeIsDisabled.value;
|
|
431
|
-
const remoteOpts = computeRemoteOpts.value;
|
|
432
|
-
if (!loading && !isDisabled) {
|
|
433
|
-
clearTimeout(internalData.hpTimeout);
|
|
434
|
-
if (!reactData.initialized) {
|
|
435
|
-
reactData.initialized = true;
|
|
436
|
-
}
|
|
437
|
-
reactData.isActivated = true;
|
|
438
|
-
reactData.isAniVisible = true;
|
|
439
|
-
if (filterable) {
|
|
440
|
-
if (remote && remoteOpts.enabled && remoteOpts.autoLoad && !fullOptionList.length) {
|
|
441
|
-
handleSearchEvent();
|
|
442
|
-
}
|
|
443
|
-
}
|
|
444
|
-
setTimeout(() => {
|
|
445
|
-
reactData.visiblePanel = true;
|
|
446
|
-
handleFocusSearch();
|
|
447
|
-
updatePlacement();
|
|
448
|
-
}, 10);
|
|
449
|
-
updateZindex();
|
|
450
|
-
updatePlacement();
|
|
451
|
-
}
|
|
452
|
-
};
|
|
453
|
-
const hideOptionPanel = () => {
|
|
454
|
-
reactData.visiblePanel = false;
|
|
455
|
-
internalData.hpTimeout = setTimeout(() => {
|
|
456
|
-
reactData.isAniVisible = false;
|
|
457
|
-
}, 350);
|
|
458
|
-
};
|
|
459
|
-
const changeEvent = (evnt, selectValue, node) => {
|
|
460
|
-
const value = _xeUtils.default.isArray(selectValue) ? selectValue.map(_util.deNodeValue) : (0, _util.deNodeValue)(selectValue);
|
|
461
|
-
emitModel(value);
|
|
462
|
-
if (value !== props.modelValue) {
|
|
463
|
-
dispatchEvent('change', {
|
|
464
|
-
value,
|
|
465
|
-
node,
|
|
466
|
-
option: node
|
|
467
|
-
}, evnt);
|
|
468
|
-
// 自动更新校验状态
|
|
469
|
-
if ($xeForm && formItemInfo) {
|
|
470
|
-
$xeForm.triggerItemEvent(evnt, formItemInfo.itemConfig.field, value);
|
|
471
|
-
}
|
|
472
|
-
}
|
|
473
|
-
};
|
|
474
|
-
const clearValueEvent = (evnt, selectValue) => {
|
|
475
|
-
changeEvent(evnt, selectValue, null);
|
|
476
|
-
dispatchEvent('clear', {
|
|
477
|
-
value: selectValue
|
|
478
|
-
}, evnt);
|
|
479
|
-
};
|
|
480
|
-
const clearEvent = (params, evnt) => {
|
|
481
|
-
clearValueEvent(evnt, null);
|
|
482
|
-
hideOptionPanel();
|
|
483
|
-
};
|
|
484
|
-
const allCheckedPanelEvent = params => {
|
|
485
|
-
const {
|
|
486
|
-
$event
|
|
487
|
-
} = params;
|
|
488
|
-
const {
|
|
489
|
-
multiple,
|
|
490
|
-
autoClose
|
|
491
|
-
} = props;
|
|
492
|
-
const $tree = refTree.value;
|
|
493
|
-
if (multiple) {
|
|
494
|
-
if ($tree) {
|
|
495
|
-
$tree.setAllCheckboxNode(true).then(({
|
|
496
|
-
checkNodeKeys,
|
|
497
|
-
checkNodes
|
|
498
|
-
}) => {
|
|
499
|
-
changeEvent($event, checkNodeKeys, checkNodes[0]);
|
|
500
|
-
dispatchEvent('all-change', {
|
|
501
|
-
value: checkNodeKeys
|
|
502
|
-
}, $event);
|
|
503
|
-
if (autoClose) {
|
|
504
|
-
hideOptionPanel();
|
|
505
|
-
}
|
|
506
|
-
});
|
|
507
|
-
}
|
|
508
|
-
}
|
|
509
|
-
};
|
|
510
|
-
const clearCheckedPanelEvent = params => {
|
|
511
|
-
const {
|
|
512
|
-
$event
|
|
513
|
-
} = params;
|
|
514
|
-
const {
|
|
515
|
-
multiple,
|
|
516
|
-
autoClose
|
|
517
|
-
} = props;
|
|
518
|
-
const $tree = refTree.value;
|
|
519
|
-
if ($tree) {
|
|
520
|
-
const value = multiple ? [] : null;
|
|
521
|
-
$tree.clearCheckboxNode().then(() => {
|
|
522
|
-
if (autoClose) {
|
|
523
|
-
hideOptionPanel();
|
|
524
|
-
}
|
|
525
|
-
});
|
|
526
|
-
changeEvent($event, value, null);
|
|
527
|
-
dispatchEvent('clear', {
|
|
528
|
-
value
|
|
529
|
-
}, $event);
|
|
530
|
-
}
|
|
531
|
-
};
|
|
532
|
-
const allExpandPanelEvent = () => {
|
|
533
|
-
const $tree = refTree.value;
|
|
534
|
-
if ($tree) {
|
|
535
|
-
$tree.setAllExpandNode(true);
|
|
536
|
-
}
|
|
537
|
-
};
|
|
538
|
-
const clearExpandPanelEvent = () => {
|
|
539
|
-
const $tree = refTree.value;
|
|
540
|
-
if ($tree) {
|
|
541
|
-
$tree.clearAllExpandNode();
|
|
542
|
-
}
|
|
543
|
-
};
|
|
544
|
-
const handleGlobalMousewheelEvent = evnt => {
|
|
545
|
-
const {
|
|
546
|
-
visiblePanel
|
|
547
|
-
} = reactData;
|
|
548
|
-
const isDisabled = computeIsDisabled.value;
|
|
549
|
-
if (!isDisabled) {
|
|
550
|
-
if (visiblePanel) {
|
|
551
|
-
const panelElem = refOptionPanel.value;
|
|
552
|
-
if ((0, _dom.getEventTargetNode)(evnt, panelElem).flag) {
|
|
553
|
-
updatePlacement();
|
|
554
|
-
} else {
|
|
555
|
-
hideOptionPanel();
|
|
556
|
-
}
|
|
557
|
-
}
|
|
558
|
-
}
|
|
559
|
-
};
|
|
560
|
-
const handleGlobalMousedownEvent = evnt => {
|
|
561
|
-
const {
|
|
562
|
-
visiblePanel
|
|
563
|
-
} = reactData;
|
|
564
|
-
const isDisabled = computeIsDisabled.value;
|
|
565
|
-
if (!isDisabled) {
|
|
566
|
-
const el = refElem.value;
|
|
567
|
-
const panelElem = refOptionPanel.value;
|
|
568
|
-
reactData.isActivated = (0, _dom.getEventTargetNode)(evnt, el).flag || (0, _dom.getEventTargetNode)(evnt, panelElem).flag;
|
|
569
|
-
if (visiblePanel && !reactData.isActivated) {
|
|
570
|
-
hideOptionPanel();
|
|
571
|
-
}
|
|
572
|
-
}
|
|
573
|
-
};
|
|
574
|
-
const handleGlobalBlurEvent = () => {
|
|
575
|
-
const {
|
|
576
|
-
visiblePanel,
|
|
577
|
-
isActivated
|
|
578
|
-
} = reactData;
|
|
579
|
-
if (visiblePanel) {
|
|
580
|
-
hideOptionPanel();
|
|
581
|
-
}
|
|
582
|
-
if (isActivated) {
|
|
583
|
-
reactData.isActivated = false;
|
|
584
|
-
}
|
|
585
|
-
if (visiblePanel || isActivated) {
|
|
586
|
-
const $input = refInput.value;
|
|
587
|
-
if ($input) {
|
|
588
|
-
$input.blur();
|
|
589
|
-
}
|
|
590
|
-
}
|
|
591
|
-
};
|
|
592
|
-
const handleGlobalResizeEvent = () => {
|
|
593
|
-
const {
|
|
594
|
-
visiblePanel
|
|
595
|
-
} = reactData;
|
|
596
|
-
if (visiblePanel) {
|
|
597
|
-
updatePlacement();
|
|
598
|
-
}
|
|
599
|
-
};
|
|
600
|
-
const handleFocusSearch = () => {
|
|
601
|
-
if (props.filterable) {
|
|
602
|
-
(0, _vue.nextTick)(() => {
|
|
603
|
-
const inpSearch = refInpSearch.value;
|
|
604
|
-
if (inpSearch) {
|
|
605
|
-
inpSearch.focus();
|
|
606
|
-
}
|
|
607
|
-
});
|
|
608
|
-
}
|
|
609
|
-
};
|
|
610
|
-
const focusEvent = evnt => {
|
|
611
|
-
const isDisabled = computeIsDisabled.value;
|
|
612
|
-
if (!isDisabled) {
|
|
613
|
-
if (!reactData.visiblePanel) {
|
|
614
|
-
reactData.triggerFocusPanel = true;
|
|
615
|
-
showOptionPanel();
|
|
616
|
-
setTimeout(() => {
|
|
617
|
-
reactData.triggerFocusPanel = false;
|
|
618
|
-
}, 150);
|
|
619
|
-
}
|
|
620
|
-
}
|
|
621
|
-
dispatchEvent('focus', {}, evnt);
|
|
622
|
-
};
|
|
623
|
-
const clickEvent = evnt => {
|
|
624
|
-
togglePanelEvent(evnt);
|
|
625
|
-
dispatchEvent('click', {}, evnt);
|
|
626
|
-
};
|
|
627
|
-
const blurEvent = evnt => {
|
|
628
|
-
reactData.isActivated = false;
|
|
629
|
-
dispatchEvent('blur', {}, evnt);
|
|
630
|
-
};
|
|
631
|
-
const modelSearchEvent = value => {
|
|
632
|
-
reactData.searchValue = value;
|
|
633
|
-
};
|
|
634
|
-
const handleSearchEvent = () => {
|
|
635
|
-
const {
|
|
636
|
-
modelValue,
|
|
637
|
-
remote,
|
|
638
|
-
remoteMethod
|
|
639
|
-
} = props;
|
|
640
|
-
const {
|
|
641
|
-
searchValue
|
|
642
|
-
} = reactData;
|
|
643
|
-
const remoteOpts = computeRemoteOpts.value;
|
|
644
|
-
const queryMethod = remoteOpts.queryMethod || remoteMethod;
|
|
645
|
-
if (remote && queryMethod && remoteOpts.enabled) {
|
|
646
|
-
reactData.searchLoading = true;
|
|
647
|
-
Promise.resolve(queryMethod({
|
|
648
|
-
$treeSelect: $xeTreeSelect,
|
|
649
|
-
searchValue,
|
|
650
|
-
value: modelValue
|
|
651
|
-
})).then(() => (0, _vue.nextTick)()).catch(() => (0, _vue.nextTick)()).finally(() => {
|
|
652
|
-
reactData.searchLoading = false;
|
|
653
|
-
});
|
|
654
|
-
}
|
|
655
|
-
};
|
|
656
|
-
const togglePanelEvent = params => {
|
|
657
|
-
const {
|
|
658
|
-
$event
|
|
659
|
-
} = params;
|
|
660
|
-
$event.preventDefault();
|
|
661
|
-
if (reactData.triggerFocusPanel) {
|
|
662
|
-
reactData.triggerFocusPanel = false;
|
|
663
|
-
} else {
|
|
664
|
-
if (reactData.visiblePanel) {
|
|
665
|
-
hideOptionPanel();
|
|
666
|
-
} else {
|
|
667
|
-
showOptionPanel();
|
|
668
|
-
}
|
|
669
|
-
}
|
|
670
|
-
};
|
|
671
|
-
const nodeExpandEvent = () => {
|
|
672
|
-
updatePlacement();
|
|
673
|
-
};
|
|
674
|
-
const nodeClickEvent = params => {
|
|
675
|
-
const {
|
|
676
|
-
$event
|
|
677
|
-
} = params;
|
|
678
|
-
dispatchEvent('node-click', params, $event);
|
|
679
|
-
};
|
|
680
|
-
const radioChangeEvent = params => {
|
|
681
|
-
const {
|
|
682
|
-
value,
|
|
683
|
-
$event,
|
|
684
|
-
node
|
|
685
|
-
} = params;
|
|
686
|
-
changeEvent($event, value, node);
|
|
687
|
-
hideOptionPanel();
|
|
688
|
-
};
|
|
689
|
-
const checkboxChangeEvent = params => {
|
|
690
|
-
const {
|
|
691
|
-
value,
|
|
692
|
-
$event,
|
|
693
|
-
node
|
|
694
|
-
} = params;
|
|
695
|
-
changeEvent($event, value, node);
|
|
696
|
-
};
|
|
697
|
-
const loadSuccessEvent = () => {
|
|
698
|
-
cacheDataMap();
|
|
699
|
-
};
|
|
700
|
-
const treeSelectPrivateMethods = {};
|
|
701
|
-
Object.assign($xeTreeSelect, treeSelectMethods, treeSelectPrivateMethods);
|
|
702
|
-
const renderVN = () => {
|
|
703
|
-
const {
|
|
704
|
-
className,
|
|
705
|
-
modelValue,
|
|
706
|
-
multiple,
|
|
707
|
-
options,
|
|
708
|
-
loading,
|
|
709
|
-
menuConfig,
|
|
710
|
-
filterable,
|
|
711
|
-
showTotalButoon,
|
|
712
|
-
showCheckedButoon,
|
|
713
|
-
showClearButton,
|
|
714
|
-
showExpandButton
|
|
715
|
-
} = props;
|
|
716
|
-
const {
|
|
717
|
-
initialized,
|
|
718
|
-
isActivated,
|
|
719
|
-
isAniVisible,
|
|
720
|
-
visiblePanel,
|
|
721
|
-
searchValue
|
|
722
|
-
} = reactData;
|
|
723
|
-
const vSize = computeSize.value;
|
|
724
|
-
const isDisabled = computeIsDisabled.value;
|
|
725
|
-
const selectLabel = computeSelectLabel.value;
|
|
726
|
-
const btnTransfer = computeBtnTransfer.value;
|
|
727
|
-
const formReadonly = computeFormReadonly.value;
|
|
728
|
-
const popupWrapperStyle = computePopupWrapperStyle.value;
|
|
729
|
-
const headerSlot = slots.header;
|
|
730
|
-
const footerSlot = slots.footer;
|
|
731
|
-
const prefixSlot = slots.prefix;
|
|
732
|
-
const popupOpts = computePopupOpts.value;
|
|
733
|
-
const ppClassName = popupOpts.className || props.popupClassName;
|
|
734
|
-
if (formReadonly) {
|
|
735
|
-
return (0, _vue.h)('div', {
|
|
736
|
-
ref: refElem,
|
|
737
|
-
class: ['vxe-tree-select--readonly', className]
|
|
738
|
-
}, [(0, _vue.h)('span', {
|
|
739
|
-
class: 'vxe-tree-select-label'
|
|
740
|
-
}, selectLabel)]);
|
|
741
|
-
}
|
|
742
|
-
const treeOpts = computeTreeOpts.value;
|
|
743
|
-
const menuOpts = computeMenuOpts.value;
|
|
744
|
-
const treeNodeOpts = computeTreeNodeOpts.value;
|
|
745
|
-
const treeCheckboxOpts = computeTreeCheckboxOpts.value;
|
|
746
|
-
const treeRadioOpts = computeTreeRadioOpts.value;
|
|
747
|
-
const nodeKeyField = computeNodeKeyField.value;
|
|
748
|
-
const labelField = computeLabelField.value;
|
|
749
|
-
const valueField = computeValueField.value;
|
|
750
|
-
const childrenField = computeChildrenField.value;
|
|
751
|
-
const parentField = computeParentField.value;
|
|
752
|
-
const hasChildField = computeHasChildField.value;
|
|
753
|
-
const virtualYOpts = computeVirtualYOpts.value;
|
|
754
|
-
const filterOpts = computeFilterOpts.value;
|
|
755
|
-
const {
|
|
756
|
-
slots: treeSlots
|
|
757
|
-
} = treeOpts;
|
|
758
|
-
const selectVals = _xeUtils.default.eqNull(modelValue) ? [] : _xeUtils.default.isArray(modelValue) ? modelValue : [modelValue];
|
|
759
|
-
const treeScopedSlots = {};
|
|
760
|
-
if (treeSlots) {
|
|
761
|
-
const {
|
|
762
|
-
icon: treeIconSlot,
|
|
763
|
-
title: treeTitleSlot,
|
|
764
|
-
extra: treeExtraSlot
|
|
765
|
-
} = treeSlots;
|
|
766
|
-
if (treeIconSlot) {
|
|
767
|
-
treeScopedSlots.icon = slotParams => callSlot(treeIconSlot, slotParams);
|
|
768
|
-
}
|
|
769
|
-
if (treeTitleSlot) {
|
|
770
|
-
treeScopedSlots.title = slotParams => callSlot(treeTitleSlot, slotParams);
|
|
771
|
-
}
|
|
772
|
-
if (treeExtraSlot) {
|
|
773
|
-
treeScopedSlots.extra = slotParams => callSlot(treeExtraSlot, slotParams);
|
|
774
|
-
}
|
|
775
|
-
}
|
|
776
|
-
return (0, _vue.h)('div', {
|
|
777
|
-
ref: refElem,
|
|
778
|
-
class: ['vxe-tree-select', className ? _xeUtils.default.isFunction(className) ? className({
|
|
779
|
-
$treeSelect: $xeTreeSelect
|
|
780
|
-
}) : className : '', {
|
|
781
|
-
[`size--${vSize}`]: vSize,
|
|
782
|
-
'is--filterable': filterable,
|
|
783
|
-
'is--visible': visiblePanel,
|
|
784
|
-
'is--disabled': isDisabled,
|
|
785
|
-
'is--loading': loading,
|
|
786
|
-
'is--active': isActivated
|
|
787
|
-
}]
|
|
788
|
-
}, [(0, _vue.h)(_input.default, {
|
|
789
|
-
ref: refInput,
|
|
790
|
-
clearable: props.clearable,
|
|
791
|
-
placeholder: loading ? (0, _ui.getI18n)('vxe.select.loadingText') : props.placeholder,
|
|
792
|
-
editable: false,
|
|
793
|
-
disabled: isDisabled,
|
|
794
|
-
type: 'text',
|
|
795
|
-
prefixIcon: props.prefixIcon,
|
|
796
|
-
suffixIcon: loading ? (0, _ui.getIcon)().TREE_SELECT_LOADED : visiblePanel ? (0, _ui.getIcon)().TREE_SELECT_OPEN : (0, _ui.getIcon)().TREE_SELECT_CLOSE,
|
|
797
|
-
modelValue: loading ? '' : selectLabel,
|
|
798
|
-
title: selectLabel,
|
|
799
|
-
onClear: clearEvent,
|
|
800
|
-
onClick: clickEvent,
|
|
801
|
-
onFocus: focusEvent,
|
|
802
|
-
onBlur: blurEvent,
|
|
803
|
-
onSuffixClick: togglePanelEvent
|
|
804
|
-
}, prefixSlot ? {
|
|
805
|
-
prefix: () => prefixSlot({})
|
|
806
|
-
} : {}), (0, _vue.h)(_vue.Teleport, {
|
|
807
|
-
to: 'body',
|
|
808
|
-
disabled: btnTransfer ? !initialized : true
|
|
809
|
-
}, [(0, _vue.h)('div', {
|
|
810
|
-
ref: refOptionPanel,
|
|
811
|
-
class: ['vxe-table--ignore-clear vxe-tree-select--panel', ppClassName ? _xeUtils.default.isFunction(ppClassName) ? ppClassName({
|
|
812
|
-
$treeSelect: $xeTreeSelect
|
|
813
|
-
}) : ppClassName : '', {
|
|
814
|
-
[`size--${vSize}`]: vSize,
|
|
815
|
-
'is--transfer': btnTransfer,
|
|
816
|
-
'ani--leave': !loading && isAniVisible,
|
|
817
|
-
'ani--enter': !loading && visiblePanel
|
|
818
|
-
}],
|
|
819
|
-
placement: reactData.panelPlacement,
|
|
820
|
-
style: reactData.panelStyle
|
|
821
|
-
}, initialized ? [(0, _vue.h)('div', {
|
|
822
|
-
class: 'vxe-tree-select--panel-wrapper'
|
|
823
|
-
}, [filterable ? (0, _vue.h)('div', {
|
|
824
|
-
class: 'vxe-tree-select--panel-search'
|
|
825
|
-
}, [(0, _vue.h)(_input.default, {
|
|
826
|
-
ref: refInpSearch,
|
|
827
|
-
class: 'vxe-tree-select-search--input',
|
|
828
|
-
modelValue: searchValue,
|
|
829
|
-
clearable: true,
|
|
830
|
-
disabled: false,
|
|
831
|
-
readonly: false,
|
|
832
|
-
placeholder: (0, _ui.getI18n)('vxe.treeSelect.search'),
|
|
833
|
-
prefixIcon: (0, _ui.getIcon)().INPUT_SEARCH,
|
|
834
|
-
'onUpdate:modelValue': modelSearchEvent
|
|
835
|
-
})]) : (0, _ui.renderEmptyElement)($xeTreeSelect), showTotalButoon || showCheckedButoon && multiple || showClearButton || showExpandButton || headerSlot ? (0, _vue.h)('div', {
|
|
836
|
-
class: 'vxe-tree-select--panel-header'
|
|
837
|
-
}, headerSlot ? headerSlot({}) : [(0, _vue.h)('div', {
|
|
838
|
-
class: 'vxe-tree-select--header-button'
|
|
839
|
-
}, [showCheckedButoon && showClearButton ? (0, _vue.h)('div', {
|
|
840
|
-
class: 'vxe-tree-select--selected-btns'
|
|
841
|
-
}, [showCheckedButoon && multiple ? (0, _vue.h)(_button.default, {
|
|
842
|
-
content: (0, _ui.getI18n)('vxe.treeSelect.allChecked'),
|
|
843
|
-
mode: 'text',
|
|
844
|
-
onClick: allCheckedPanelEvent
|
|
845
|
-
}) : (0, _ui.renderEmptyElement)($xeTreeSelect), showClearButton ? (0, _vue.h)(_button.default, {
|
|
846
|
-
content: (0, _ui.getI18n)('vxe.treeSelect.clearChecked'),
|
|
847
|
-
mode: 'text',
|
|
848
|
-
onClick: clearCheckedPanelEvent
|
|
849
|
-
}) : (0, _ui.renderEmptyElement)($xeTreeSelect)]) : (0, _ui.renderEmptyElement)($xeTreeSelect), showExpandButton && showExpandButton ? (0, _vue.h)('div', {
|
|
850
|
-
class: 'vxe-tree-select--expand-btns'
|
|
851
|
-
}, [showExpandButton ? (0, _vue.h)(_button.default, {
|
|
852
|
-
content: (0, _ui.getI18n)('vxe.treeSelect.allExpand'),
|
|
853
|
-
mode: 'text',
|
|
854
|
-
onClick: allExpandPanelEvent
|
|
855
|
-
}) : (0, _ui.renderEmptyElement)($xeTreeSelect), showExpandButton ? (0, _vue.h)(_button.default, {
|
|
856
|
-
content: (0, _ui.getI18n)('vxe.treeSelect.clearExpand'),
|
|
857
|
-
mode: 'text',
|
|
858
|
-
onClick: clearExpandPanelEvent
|
|
859
|
-
}) : (0, _ui.renderEmptyElement)($xeTreeSelect)]) : (0, _ui.renderEmptyElement)($xeTreeSelect)])]) : (0, _ui.renderEmptyElement)($xeTreeSelect), (0, _vue.h)('div', {
|
|
860
|
-
class: 'vxe-tree-select--panel-body'
|
|
861
|
-
}, [(0, _vue.h)('div', {
|
|
862
|
-
ref: refTreeWrapper,
|
|
863
|
-
class: 'vxe-tree-select-tree--wrapper',
|
|
864
|
-
style: popupWrapperStyle
|
|
865
|
-
}, [(0, _vue.h)(_tree.default, {
|
|
866
|
-
ref: refTree,
|
|
867
|
-
class: 'vxe-tree-select--tree',
|
|
868
|
-
height: popupOpts.height ? '100%' : treeOpts.height,
|
|
869
|
-
minHeight: treeOpts.minHeight,
|
|
870
|
-
maxHeight: popupOpts.height ? '' : treeOpts.maxHeight,
|
|
871
|
-
autoResize: true,
|
|
872
|
-
data: options,
|
|
873
|
-
indent: treeOpts.indent,
|
|
874
|
-
showRadio: !multiple,
|
|
875
|
-
radioConfig: treeRadioOpts,
|
|
876
|
-
checkNodeKey: multiple ? null : modelValue,
|
|
877
|
-
showCheckbox: !!multiple,
|
|
878
|
-
checkNodeKeys: multiple ? modelValue : null,
|
|
879
|
-
checkboxConfig: treeCheckboxOpts,
|
|
880
|
-
titleField: labelField,
|
|
881
|
-
valueField: valueField,
|
|
882
|
-
keyField: nodeKeyField,
|
|
883
|
-
childrenField: treeOpts.childrenField || childrenField,
|
|
884
|
-
parentField: treeOpts.parentField || parentField,
|
|
885
|
-
hasChildField: treeOpts.hasChildField || hasChildField,
|
|
886
|
-
accordion: treeOpts.accordion,
|
|
887
|
-
expandAll: treeOpts.expandAll,
|
|
888
|
-
expandNodeKeys: treeOpts.expandNodeKeys,
|
|
889
|
-
nodeConfig: treeNodeOpts,
|
|
890
|
-
lazy: treeOpts.lazy,
|
|
891
|
-
loadMethod: treeOpts.loadMethod,
|
|
892
|
-
toggleMethod: treeOpts.toggleMethod,
|
|
893
|
-
transform: treeOpts.transform,
|
|
894
|
-
trigger: treeOpts.trigger,
|
|
895
|
-
showIcon: treeOpts.showIcon,
|
|
896
|
-
showLine: treeOpts.showLine,
|
|
897
|
-
iconOpen: treeOpts.iconOpen,
|
|
898
|
-
iconLoaded: treeOpts.iconLoaded,
|
|
899
|
-
iconClose: treeOpts.iconClose,
|
|
900
|
-
filterValue: searchValue,
|
|
901
|
-
filterConfig: filterOpts,
|
|
902
|
-
menuConfig: menuConfig ? menuOpts : undefined,
|
|
903
|
-
virtualYConfig: virtualYOpts,
|
|
904
|
-
onNodeExpand: nodeExpandEvent,
|
|
905
|
-
onNodeClick: nodeClickEvent,
|
|
906
|
-
onRadioChange: radioChangeEvent,
|
|
907
|
-
onCheckboxChange: checkboxChangeEvent,
|
|
908
|
-
onLoadSuccess: loadSuccessEvent
|
|
909
|
-
}, treeScopedSlots)])]), footerSlot || showTotalButoon ? (0, _vue.h)('div', {
|
|
910
|
-
class: 'vxe-tree-select--panel-footer'
|
|
911
|
-
}, footerSlot ? footerSlot({}) : [(0, _vue.h)('div', {
|
|
912
|
-
class: 'vxe-tree-select--footer-button'
|
|
913
|
-
}, [showTotalButoon ? (0, _vue.h)('div', {
|
|
914
|
-
class: 'vxe-tree-select--total-btns'
|
|
915
|
-
}, (0, _ui.getI18n)('vxe.treeSelect.total', [selectVals.length])) : (0, _ui.renderEmptyElement)($xeTreeSelect)])]) : (0, _ui.renderEmptyElement)($xeTreeSelect)])] : [])])]);
|
|
916
|
-
};
|
|
917
|
-
(0, _vue.watch)(() => props.options, () => {
|
|
918
|
-
cacheDataMap();
|
|
919
|
-
});
|
|
920
|
-
cacheDataMap();
|
|
921
|
-
(0, _vue.onMounted)(() => {
|
|
922
|
-
_ui.globalEvents.on($xeTreeSelect, 'mousewheel', handleGlobalMousewheelEvent);
|
|
923
|
-
_ui.globalEvents.on($xeTreeSelect, 'mousedown', handleGlobalMousedownEvent);
|
|
924
|
-
_ui.globalEvents.on($xeTreeSelect, 'blur', handleGlobalBlurEvent);
|
|
925
|
-
_ui.globalEvents.on($xeTreeSelect, 'resize', handleGlobalResizeEvent);
|
|
926
|
-
});
|
|
927
|
-
(0, _vue.onBeforeUnmount)(() => {
|
|
928
|
-
_ui.globalEvents.off($xeTreeSelect, 'mousewheel');
|
|
929
|
-
_ui.globalEvents.off($xeTreeSelect, 'mousedown');
|
|
930
|
-
_ui.globalEvents.off($xeTreeSelect, 'blur');
|
|
931
|
-
_ui.globalEvents.off($xeTreeSelect, 'resize');
|
|
932
|
-
_xeUtils.default.assign(reactData, createReactData());
|
|
933
|
-
_xeUtils.default.assign(internalData, createInternalData());
|
|
934
|
-
});
|
|
935
|
-
(0, _vue.provide)('$xeTreeSelect', $xeTreeSelect);
|
|
936
|
-
$xeTreeSelect.renderVN = renderVN;
|
|
937
|
-
return $xeTreeSelect;
|
|
938
|
-
},
|
|
939
|
-
render() {
|
|
940
|
-
return this.renderVN();
|
|
941
|
-
}
|
|
942
|
-
});
|