vxe-pc-ui 3.15.28 → 3.16.0
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/package.json +3 -3
- package/types/all.d.ts +0 -72
- package/es/alert/index.js +0 -12
- package/es/alert/src/alert.js +0 -99
- package/es/alert/style.css +0 -129
- package/es/alert/style.min.css +0 -1
- package/es/anchor/index.js +0 -12
- package/es/anchor/src/anchor-link.js +0 -137
- package/es/anchor/src/anchor.js +0 -249
- package/es/anchor/src/util.js +0 -19
- package/es/anchor/style.css +0 -42
- package/es/anchor/style.min.css +0 -1
- package/es/anchor-link/index.js +0 -12
- package/es/anchor-link/style.css +0 -0
- package/es/anchor-link/style.min.css +0 -0
- package/es/avatar/index.js +0 -12
- package/es/avatar/src/avatar.js +0 -126
- package/es/avatar/style.css +0 -98
- package/es/avatar/style.min.css +0 -1
- package/es/backtop/index.js +0 -12
- package/es/backtop/src/backtop.js +0 -305
- package/es/backtop/style.css +0 -72
- package/es/backtop/style.min.css +0 -1
- package/es/badge/index.js +0 -12
- package/es/badge/src/badge.js +0 -74
- package/es/badge/style.css +0 -42
- package/es/badge/style.min.css +0 -1
- package/es/breadcrumb/index.js +0 -12
- package/es/breadcrumb/src/breadcrumb-item.js +0 -102
- package/es/breadcrumb/src/breadcrumb.js +0 -76
- package/es/breadcrumb/style.css +0 -33
- package/es/breadcrumb/style.min.css +0 -1
- package/es/breadcrumb-item/index.js +0 -12
- package/es/breadcrumb-item/style.css +0 -0
- package/es/breadcrumb-item/style.min.css +0 -0
- package/es/button/index.js +0 -12
- package/es/button/src/button-group.js +0 -97
- package/es/button/src/button.js +0 -875
- package/es/button/style.css +0 -638
- package/es/button/style.min.css +0 -1
- package/es/button-group/index.js +0 -12
- package/es/button-group/style.css +0 -27
- package/es/button-group/style.min.css +0 -1
- package/es/calendar/index.js +0 -12
- package/es/calendar/src/calendar.js +0 -1469
- package/es/calendar/style.css +0 -350
- package/es/calendar/style.min.css +0 -1
- package/es/card/index.js +0 -12
- package/es/card/src/card.js +0 -149
- package/es/card/style.css +0 -107
- package/es/card/style.min.css +0 -1
- package/es/carousel/index.js +0 -12
- package/es/carousel/src/carousel-item.js +0 -102
- package/es/carousel/src/carousel.js +0 -429
- package/es/carousel/src/util.js +0 -17
- package/es/carousel/style.css +0 -185
- package/es/carousel/style.min.css +0 -1
- package/es/carousel-item/index.js +0 -12
- package/es/carousel-item/style.css +0 -0
- package/es/carousel-item/style.min.css +0 -0
- package/es/cascader/index.js +0 -12
- package/es/cascader/src/cascader.js +0 -1987
- package/es/cascader/src/util.js +0 -7
- package/es/cascader/style.css +0 -346
- package/es/cascader/style.min.css +0 -1
- package/es/checkbox/index.js +0 -12
- package/es/checkbox/src/button.js +0 -244
- package/es/checkbox/src/checkbox.js +0 -217
- package/es/checkbox/src/group.js +0 -280
- package/es/checkbox/style.css +0 -113
- package/es/checkbox/style.min.css +0 -1
- package/es/checkbox-button/index.js +0 -12
- package/es/checkbox-button/style.css +0 -202
- package/es/checkbox-button/style.min.css +0 -1
- package/es/checkbox-group/index.js +0 -12
- package/es/checkbox-group/style.css +0 -0
- package/es/checkbox-group/style.min.css +0 -0
- package/es/col/index.js +0 -12
- package/es/col/style.css +0 -0
- package/es/col/style.min.css +0 -0
- package/es/collapse/index.js +0 -12
- package/es/collapse/src/collapse-pane.js +0 -116
- package/es/collapse/src/collapse.js +0 -360
- package/es/collapse/src/util.js +0 -17
- package/es/collapse/style.css +0 -83
- package/es/collapse/style.min.css +0 -1
- package/es/collapse-pane/index.js +0 -12
- package/es/collapse-pane/style.css +0 -0
- package/es/collapse-pane/style.min.css +0 -0
- package/es/color-picker/index.js +0 -12
- package/es/color-picker/src/color-picker.js +0 -1221
- package/es/color-picker/src/util.js +0 -190
- package/es/color-picker/style.css +0 -485
- package/es/color-picker/style.min.css +0 -1
- package/es/components.js +0 -299
- package/es/context-menu/index.js +0 -46
- package/es/context-menu/src/context-menu.js +0 -684
- package/es/context-menu/style.css +0 -109
- package/es/context-menu/style.min.css +0 -1
- package/es/countdown/index.js +0 -12
- package/es/countdown/src/countdown.js +0 -249
- package/es/countdown/style.css +0 -38
- package/es/countdown/style.min.css +0 -1
- package/es/date-panel/index.js +0 -12
- package/es/date-panel/src/date-panel.js +0 -2013
- package/es/date-panel/src/util.js +0 -295
- package/es/date-panel/style.css +0 -453
- package/es/date-panel/style.min.css +0 -1
- package/es/date-picker/index.js +0 -13
- package/es/date-picker/src/date-picker.js +0 -1833
- package/es/date-picker/style.css +0 -283
- package/es/date-picker/style.min.css +0 -1
- package/es/date-range-picker/index.js +0 -12
- package/es/date-range-picker/src/date-range-picker.js +0 -1679
- package/es/date-range-picker/style.css +0 -289
- package/es/date-range-picker/style.min.css +0 -1
- package/es/drawer/index.js +0 -68
- package/es/drawer/src/drawer.js +0 -735
- package/es/drawer/style.css +0 -270
- package/es/drawer/style.min.css +0 -1
- package/es/dynamics/index.js +0 -107
- package/es/empty/index.js +0 -12
- package/es/empty/src/empty.js +0 -73
- package/es/empty/style.css +0 -54
- package/es/empty/style.min.css +0 -1
- package/es/form/index.js +0 -12
- package/es/form/render/index.js +0 -588
- package/es/form/src/form-config-item.js +0 -73
- package/es/form/src/form-group.js +0 -108
- package/es/form/src/form-item.js +0 -198
- package/es/form/src/form.js +0 -1012
- package/es/form/src/itemInfo.js +0 -76
- package/es/form/src/render.js +0 -357
- package/es/form/src/util.js +0 -78
- package/es/form/style.css +0 -621
- package/es/form/style.min.css +0 -1
- package/es/form-gather/index.js +0 -13
- package/es/form-gather/style.css +0 -0
- package/es/form-gather/style.min.css +0 -0
- package/es/form-group/index.js +0 -12
- package/es/form-group/style.css +0 -0
- package/es/form-group/style.min.css +0 -0
- package/es/form-item/index.js +0 -12
- package/es/form-item/style.css +0 -0
- package/es/form-item/style.min.css +0 -0
- package/es/icon/iconfont.1783338703528.ttf +0 -0
- package/es/icon/iconfont.1783338703528.woff +0 -0
- package/es/icon/iconfont.1783338703528.woff2 +0 -0
- package/es/icon/index.js +0 -12
- package/es/icon/src/icon.js +0 -62
- package/es/icon/style.css +0 -1034
- package/es/icon/style.min.css +0 -1
- package/es/icon-picker/index.js +0 -12
- package/es/icon-picker/src/icon-picker.js +0 -834
- package/es/icon-picker/style.css +0 -242
- package/es/icon-picker/style.min.css +0 -1
- package/es/iconfont.1783338703528.ttf +0 -0
- package/es/iconfont.1783338703528.woff +0 -0
- package/es/iconfont.1783338703528.woff2 +0 -0
- package/es/image/index.js +0 -12
- package/es/image/src/group.js +0 -144
- package/es/image/src/image.js +0 -274
- package/es/image/src/preview.js +0 -707
- package/es/image/src/util.js +0 -59
- package/es/image/style.css +0 -17
- package/es/image/style.min.css +0 -1
- package/es/image-group/index.js +0 -12
- package/es/image-group/style.css +0 -3
- package/es/image-group/style.min.css +0 -1
- package/es/image-preview/index.js +0 -14
- package/es/image-preview/style.css +0 -218
- package/es/image-preview/style.min.css +0 -1
- package/es/index.esm.js +0 -6
- package/es/input/index.js +0 -12
- package/es/input/src/input.js +0 -3084
- package/es/input/style.css +0 -1025
- package/es/input/style.min.css +0 -1
- package/es/language/ar-EG.d.ts +0 -2
- package/es/language/ar-EG.js +0 -874
- package/es/language/de-DE.d.ts +0 -2
- package/es/language/de-DE.js +0 -874
- package/es/language/en-US.d.ts +0 -2
- package/es/language/en-US.js +0 -874
- package/es/language/es-ES.d.ts +0 -2
- package/es/language/es-ES.js +0 -874
- package/es/language/fr-FR.d.ts +0 -2
- package/es/language/fr-FR.js +0 -874
- package/es/language/hu-HU.d.ts +0 -2
- package/es/language/hu-HU.js +0 -874
- package/es/language/hy-AM.d.ts +0 -2
- package/es/language/hy-AM.js +0 -874
- package/es/language/id-ID.d.ts +0 -2
- package/es/language/id-ID.js +0 -874
- package/es/language/it-IT.d.ts +0 -2
- package/es/language/it-IT.js +0 -874
- package/es/language/ja-JP.d.ts +0 -2
- package/es/language/ja-JP.js +0 -874
- package/es/language/ko-KR.d.ts +0 -2
- package/es/language/ko-KR.js +0 -874
- package/es/language/ms-MY.d.ts +0 -2
- package/es/language/ms-MY.js +0 -874
- package/es/language/nb-NO.d.ts +0 -2
- package/es/language/nb-NO.js +0 -874
- package/es/language/pt-BR.d.ts +0 -2
- package/es/language/pt-BR.js +0 -874
- package/es/language/ru-RU.d.ts +0 -2
- package/es/language/ru-RU.js +0 -874
- package/es/language/th-TH.d.ts +0 -2
- package/es/language/th-TH.js +0 -874
- package/es/language/ug-CN.d.ts +0 -2
- package/es/language/ug-CN.js +0 -874
- package/es/language/uk-UA.d.ts +0 -2
- package/es/language/uk-UA.js +0 -874
- package/es/language/uz-UZ.d.ts +0 -2
- package/es/language/uz-UZ.js +0 -874
- package/es/language/vi-VN.d.ts +0 -2
- package/es/language/vi-VN.js +0 -874
- package/es/language/zh-CHT.d.ts +0 -2
- package/es/language/zh-CHT.js +0 -874
- package/es/language/zh-CN.d.ts +0 -2
- package/es/language/zh-CN.js +0 -874
- package/es/language/zh-HK.d.ts +0 -2
- package/es/language/zh-HK.js +0 -2
- package/es/language/zh-MO.d.ts +0 -2
- package/es/language/zh-MO.js +0 -2
- package/es/language/zh-TC.js +0 -2
- package/es/language/zh-TW.d.ts +0 -2
- package/es/language/zh-TW.js +0 -2
- package/es/layout-aside/index.js +0 -12
- package/es/layout-aside/src/layout-aside.js +0 -111
- package/es/layout-aside/style.css +0 -26
- package/es/layout-aside/style.min.css +0 -1
- package/es/layout-body/index.js +0 -12
- package/es/layout-body/src/layout-body.js +0 -127
- package/es/layout-body/style.css +0 -16
- package/es/layout-body/style.min.css +0 -1
- package/es/layout-container/index.js +0 -12
- package/es/layout-container/src/layout-container.js +0 -54
- package/es/layout-container/style.css +0 -28
- package/es/layout-container/style.min.css +0 -1
- package/es/layout-footer/index.js +0 -12
- package/es/layout-footer/src/layout-footer.js +0 -45
- package/es/layout-footer/style.css +0 -14
- package/es/layout-footer/style.min.css +0 -1
- package/es/layout-header/index.js +0 -12
- package/es/layout-header/src/layout-header.js +0 -43
- package/es/layout-header/style.css +0 -11
- package/es/layout-header/style.min.css +0 -1
- package/es/link/index.js +0 -12
- package/es/link/src/link.js +0 -137
- package/es/link/style.css +0 -111
- package/es/link/style.min.css +0 -1
- package/es/list/index.js +0 -12
- package/es/list/src/list.js +0 -2242
- package/es/list/src/store.js +0 -8
- package/es/list/src/util.js +0 -8
- package/es/list/style.css +0 -379
- package/es/list/style.min.css +0 -1
- package/es/loading/index.js +0 -27
- package/es/loading/src/loading.js +0 -147
- package/es/loading/style.css +0 -120
- package/es/loading/style.min.css +0 -1
- package/es/mention/index.js +0 -12
- package/es/mention/src/mention.js +0 -44
- package/es/mention/style.css +0 -0
- package/es/mention/style.min.css +0 -0
- package/es/menu/index.js +0 -12
- package/es/menu/src/menu.js +0 -589
- package/es/menu/style.css +0 -140
- package/es/menu/style.min.css +0 -1
- package/es/modal/index.js +0 -130
- package/es/modal/src/modal.js +0 -1608
- package/es/modal/style.css +0 -415
- package/es/modal/style.min.css +0 -1
- package/es/notice-bar/index.js +0 -12
- package/es/notice-bar/src/notice-bar.js +0 -163
- package/es/notice-bar/style.css +0 -78
- package/es/notice-bar/style.min.css +0 -1
- package/es/number-input/index.js +0 -12
- package/es/number-input/src/number-input.js +0 -1201
- package/es/number-input/src/util.js +0 -22
- package/es/number-input/style.css +0 -274
- package/es/number-input/style.min.css +0 -1
- package/es/optgroup/index.js +0 -12
- package/es/optgroup/style.css +0 -0
- package/es/optgroup/style.min.css +0 -0
- package/es/option/index.js +0 -12
- package/es/option/style.css +0 -0
- package/es/option/style.min.css +0 -0
- package/es/pager/index.js +0 -12
- package/es/pager/src/pager.js +0 -844
- package/es/pager/style.css +0 -341
- package/es/pager/style.min.css +0 -1
- package/es/password-input/index.js +0 -12
- package/es/password-input/src/password-input.js +0 -428
- package/es/password-input/style.css +0 -598
- package/es/password-input/style.min.css +0 -1
- package/es/print/index.js +0 -14
- package/es/print/src/page-break.js +0 -66
- package/es/print/src/print.js +0 -252
- package/es/print/src/util.js +0 -261
- package/es/print/style.css +0 -4
- package/es/print/style.min.css +0 -1
- package/es/print-page-break/index.js +0 -10
- package/es/print-page-break/style.css +0 -0
- package/es/print-page-break/style.min.css +0 -0
- package/es/pulldown/index.js +0 -12
- package/es/pulldown/src/pulldown.js +0 -502
- package/es/pulldown/style.css +0 -109
- package/es/pulldown/style.min.css +0 -1
- package/es/radio/index.js +0 -12
- package/es/radio/src/button.js +0 -265
- package/es/radio/src/group.js +0 -258
- package/es/radio/src/radio.js +0 -239
- package/es/radio/style.css +0 -108
- package/es/radio/style.min.css +0 -1
- package/es/radio-button/index.js +0 -12
- package/es/radio-button/style.css +0 -202
- package/es/radio-button/style.min.css +0 -1
- package/es/radio-group/index.js +0 -12
- package/es/radio-group/style.css +0 -0
- package/es/radio-group/style.min.css +0 -0
- package/es/rate/index.js +0 -12
- package/es/rate/src/rate.js +0 -178
- package/es/rate/style.css +0 -54
- package/es/rate/style.min.css +0 -1
- package/es/result/index.js +0 -12
- package/es/result/src/result.js +0 -86
- package/es/result/style.css +0 -68
- package/es/result/style.min.css +0 -1
- package/es/row/index.js +0 -12
- package/es/row/src/col.js +0 -115
- package/es/row/src/row.js +0 -99
- package/es/row/style.css +0 -116
- package/es/row/style.min.css +0 -1
- package/es/segmented/index.js +0 -12
- package/es/segmented/src/segmented.js +0 -255
- package/es/segmented/style.css +0 -197
- package/es/segmented/style.min.css +0 -1
- package/es/select/index.js +0 -12
- package/es/select/src/optgroup.js +0 -90
- package/es/select/src/option-info.js +0 -16
- package/es/select/src/option.js +0 -86
- package/es/select/src/select.js +0 -2065
- package/es/select/src/util.js +0 -36
- package/es/select/style.css +0 -370
- package/es/select/style.min.css +0 -1
- package/es/slider/index.js +0 -12
- package/es/slider/src/slider.js +0 -307
- package/es/slider/style.css +0 -143
- package/es/slider/style.min.css +0 -1
- package/es/split/index.js +0 -12
- package/es/split/style.css +0 -295
- package/es/split/style.min.css +0 -1
- package/es/split-pane/index.js +0 -13
- package/es/split-pane/style.css +0 -0
- package/es/split-pane/style.min.css +0 -0
- package/es/splitter/index.js +0 -12
- package/es/splitter/src/splitter-panel.js +0 -149
- package/es/splitter/src/splitter.js +0 -1002
- package/es/splitter/src/util.js +0 -17
- package/es/splitter/style.css +0 -295
- package/es/splitter/style.min.css +0 -1
- package/es/splitter-panel/index.js +0 -12
- package/es/splitter-panel/style.css +0 -0
- package/es/splitter-panel/style.min.css +0 -0
- package/es/steps/index.js +0 -12
- package/es/steps/src/steps.js +0 -49
- package/es/steps/style.css +0 -0
- package/es/steps/style.min.css +0 -0
- package/es/style.css +0 -1
- package/es/style.min.css +0 -1
- package/es/switch/index.js +0 -12
- package/es/switch/src/switch.js +0 -261
- package/es/switch/style.css +0 -111
- package/es/switch/style.min.css +0 -1
- package/es/tab-pane/index.js +0 -12
- package/es/tab-pane/style.css +0 -0
- package/es/tab-pane/style.min.css +0 -0
- package/es/table-select/index.js +0 -12
- package/es/table-select/src/table-select.js +0 -839
- package/es/table-select/style.css +0 -134
- package/es/table-select/style.min.css +0 -1
- package/es/table-transfer/index.js +0 -12
- package/es/table-transfer/src/table-transfer.js +0 -71
- package/es/table-transfer/style.css +0 -0
- package/es/table-transfer/style.min.css +0 -0
- package/es/tabs/index.js +0 -12
- package/es/tabs/src/tab-pane.js +0 -119
- package/es/tabs/src/tabs.js +0 -958
- package/es/tabs/src/util.js +0 -17
- package/es/tabs/style.css +0 -705
- package/es/tabs/style.min.css +0 -1
- package/es/tag/index.js +0 -12
- package/es/tag/src/tag.js +0 -177
- package/es/tag/style.css +0 -187
- package/es/tag/style.min.css +0 -1
- package/es/text/index.js +0 -12
- package/es/text/src/text.js +0 -239
- package/es/text/style.css +0 -138
- package/es/text/style.min.css +0 -1
- package/es/text-ellipsis/index.js +0 -12
- package/es/text-ellipsis/src/text-ellipsis.js +0 -268
- package/es/text-ellipsis/style.css +0 -115
- package/es/text-ellipsis/style.min.css +0 -1
- package/es/textarea/index.js +0 -12
- package/es/textarea/src/textarea.js +0 -456
- package/es/textarea/style.css +0 -119
- package/es/textarea/style.min.css +0 -1
- package/es/timeline/index.js +0 -12
- package/es/timeline/src/timeline-item.js +0 -35
- package/es/timeline/src/timeline.js +0 -44
- package/es/timeline/style.css +0 -0
- package/es/timeline/style.min.css +0 -0
- package/es/timeline-item/index.js +0 -12
- package/es/timeline-item/style.css +0 -0
- package/es/timeline-item/style.min.css +0 -0
- package/es/tip/index.js +0 -14
- package/es/tip/src/tip.js +0 -100
- package/es/tip/style.css +0 -107
- package/es/tip/style.min.css +0 -1
- package/es/tooltip/index.js +0 -12
- package/es/tooltip/src/tooltip.js +0 -657
- package/es/tooltip/style.css +0 -117
- package/es/tooltip/style.min.css +0 -1
- package/es/tour/index.js +0 -12
- package/es/tour/src/tour.js +0 -44
- package/es/tour/style.css +0 -0
- package/es/tour/style.min.css +0 -0
- package/es/transfer/index.js +0 -12
- package/es/transfer/src/transfer.js +0 -86
- package/es/transfer/style.css +0 -0
- package/es/transfer/style.min.css +0 -0
- package/es/tree/index.js +0 -12
- package/es/tree/src/store.js +0 -8
- package/es/tree/src/tree.js +0 -3699
- package/es/tree/src/util.js +0 -46
- package/es/tree/style.css +0 -385
- package/es/tree/style.min.css +0 -1
- package/es/tree-select/index.js +0 -12
- package/es/tree-select/src/tree-select.js +0 -1160
- package/es/tree-select/style.css +0 -194
- package/es/tree-select/style.min.css +0 -1
- package/es/ui/index.js +0 -695
- package/es/ui/src/anime.js +0 -46
- package/es/ui/src/comp.js +0 -1
- package/es/ui/src/dom.js +0 -255
- package/es/ui/src/log.js +0 -15
- package/es/ui/src/utils.js +0 -52
- package/es/ui/src/vn.js +0 -51
- package/es/ui/style.css +0 -0
- package/es/ui/style.min.css +0 -0
- package/es/upload/index.js +0 -15
- package/es/upload/src/upload.js +0 -2078
- package/es/upload/src/util.js +0 -103
- package/es/upload/style.css +0 -483
- package/es/upload/style.min.css +0 -1
- package/es/vxe-alert/index.js +0 -3
- package/es/vxe-alert/style.css +0 -129
- package/es/vxe-alert/style.min.css +0 -1
- package/es/vxe-anchor/index.js +0 -3
- package/es/vxe-anchor/style.css +0 -42
- package/es/vxe-anchor/style.min.css +0 -1
- package/es/vxe-anchor-link/index.js +0 -3
- package/es/vxe-anchor-link/style.css +0 -0
- package/es/vxe-anchor-link/style.min.css +0 -0
- package/es/vxe-avatar/index.js +0 -3
- package/es/vxe-avatar/style.css +0 -98
- package/es/vxe-avatar/style.min.css +0 -1
- package/es/vxe-backtop/index.js +0 -3
- package/es/vxe-backtop/style.css +0 -72
- package/es/vxe-backtop/style.min.css +0 -1
- package/es/vxe-badge/index.js +0 -3
- package/es/vxe-badge/style.css +0 -42
- package/es/vxe-badge/style.min.css +0 -1
- package/es/vxe-breadcrumb/index.js +0 -3
- package/es/vxe-breadcrumb/style.css +0 -33
- package/es/vxe-breadcrumb/style.min.css +0 -1
- package/es/vxe-breadcrumb-item/index.js +0 -3
- package/es/vxe-breadcrumb-item/style.css +0 -0
- package/es/vxe-breadcrumb-item/style.min.css +0 -0
- package/es/vxe-button/index.js +0 -3
- package/es/vxe-button/style.css +0 -638
- package/es/vxe-button/style.min.css +0 -1
- package/es/vxe-button-group/index.js +0 -3
- package/es/vxe-button-group/style.css +0 -27
- package/es/vxe-button-group/style.min.css +0 -1
- package/es/vxe-calendar/index.js +0 -3
- package/es/vxe-calendar/style.css +0 -350
- package/es/vxe-calendar/style.min.css +0 -1
- package/es/vxe-card/index.js +0 -3
- package/es/vxe-card/style.css +0 -107
- package/es/vxe-card/style.min.css +0 -1
- package/es/vxe-carousel/index.js +0 -3
- package/es/vxe-carousel/style.css +0 -185
- package/es/vxe-carousel/style.min.css +0 -1
- package/es/vxe-carousel-item/index.js +0 -3
- package/es/vxe-carousel-item/style.css +0 -0
- package/es/vxe-carousel-item/style.min.css +0 -0
- package/es/vxe-cascader/index.js +0 -3
- package/es/vxe-cascader/style.css +0 -346
- package/es/vxe-cascader/style.min.css +0 -1
- package/es/vxe-checkbox/index.js +0 -3
- package/es/vxe-checkbox/style.css +0 -113
- package/es/vxe-checkbox/style.min.css +0 -1
- package/es/vxe-checkbox-button/index.js +0 -3
- package/es/vxe-checkbox-button/style.css +0 -202
- package/es/vxe-checkbox-button/style.min.css +0 -1
- package/es/vxe-checkbox-group/index.js +0 -3
- package/es/vxe-checkbox-group/style.css +0 -0
- package/es/vxe-checkbox-group/style.min.css +0 -0
- package/es/vxe-col/index.js +0 -3
- package/es/vxe-col/style.css +0 -0
- package/es/vxe-col/style.min.css +0 -0
- package/es/vxe-collapse/index.js +0 -3
- package/es/vxe-collapse/style.css +0 -83
- package/es/vxe-collapse/style.min.css +0 -1
- package/es/vxe-collapse-pane/index.js +0 -3
- package/es/vxe-collapse-pane/style.css +0 -0
- package/es/vxe-collapse-pane/style.min.css +0 -0
- package/es/vxe-color-picker/index.js +0 -3
- package/es/vxe-color-picker/style.css +0 -485
- package/es/vxe-color-picker/style.min.css +0 -1
- package/es/vxe-context-menu/index.js +0 -3
- package/es/vxe-context-menu/style.css +0 -109
- package/es/vxe-context-menu/style.min.css +0 -1
- package/es/vxe-countdown/index.js +0 -3
- package/es/vxe-countdown/style.css +0 -38
- package/es/vxe-countdown/style.min.css +0 -1
- package/es/vxe-date-panel/index.js +0 -3
- package/es/vxe-date-panel/style.css +0 -453
- package/es/vxe-date-panel/style.min.css +0 -1
- package/es/vxe-date-picker/index.js +0 -3
- package/es/vxe-date-picker/style.css +0 -283
- package/es/vxe-date-picker/style.min.css +0 -1
- package/es/vxe-date-range-picker/index.js +0 -3
- package/es/vxe-date-range-picker/style.css +0 -289
- package/es/vxe-date-range-picker/style.min.css +0 -1
- package/es/vxe-drawer/index.js +0 -3
- package/es/vxe-drawer/style.css +0 -270
- package/es/vxe-drawer/style.min.css +0 -1
- package/es/vxe-empty/index.js +0 -3
- package/es/vxe-empty/style.css +0 -54
- package/es/vxe-empty/style.min.css +0 -1
- package/es/vxe-form/index.js +0 -3
- package/es/vxe-form/style.css +0 -621
- package/es/vxe-form/style.min.css +0 -1
- package/es/vxe-form-gather/index.js +0 -3
- package/es/vxe-form-gather/style.css +0 -0
- package/es/vxe-form-gather/style.min.css +0 -0
- package/es/vxe-form-group/index.js +0 -3
- package/es/vxe-form-group/style.css +0 -0
- package/es/vxe-form-group/style.min.css +0 -0
- package/es/vxe-form-item/index.js +0 -3
- package/es/vxe-form-item/style.css +0 -0
- package/es/vxe-form-item/style.min.css +0 -0
- package/es/vxe-icon/index.js +0 -3
- package/es/vxe-icon/style.css +0 -1034
- package/es/vxe-icon/style.min.css +0 -1
- package/es/vxe-icon-picker/index.js +0 -3
- package/es/vxe-icon-picker/style.css +0 -242
- package/es/vxe-icon-picker/style.min.css +0 -1
- package/es/vxe-image/index.js +0 -3
- package/es/vxe-image/style.css +0 -17
- package/es/vxe-image/style.min.css +0 -1
- package/es/vxe-image-group/index.js +0 -3
- package/es/vxe-image-group/style.css +0 -3
- package/es/vxe-image-group/style.min.css +0 -1
- package/es/vxe-image-preview/index.js +0 -3
- package/es/vxe-image-preview/style.css +0 -218
- package/es/vxe-image-preview/style.min.css +0 -1
- package/es/vxe-input/index.js +0 -3
- package/es/vxe-input/style.css +0 -1025
- package/es/vxe-input/style.min.css +0 -1
- package/es/vxe-layout-aside/index.js +0 -3
- package/es/vxe-layout-aside/style.css +0 -26
- package/es/vxe-layout-aside/style.min.css +0 -1
- package/es/vxe-layout-body/index.js +0 -3
- package/es/vxe-layout-body/style.css +0 -16
- package/es/vxe-layout-body/style.min.css +0 -1
- package/es/vxe-layout-container/index.js +0 -3
- package/es/vxe-layout-container/style.css +0 -28
- package/es/vxe-layout-container/style.min.css +0 -1
- package/es/vxe-layout-footer/index.js +0 -3
- package/es/vxe-layout-footer/style.css +0 -14
- package/es/vxe-layout-footer/style.min.css +0 -1
- package/es/vxe-layout-header/index.js +0 -3
- package/es/vxe-layout-header/style.css +0 -11
- package/es/vxe-layout-header/style.min.css +0 -1
- package/es/vxe-link/index.js +0 -3
- package/es/vxe-link/style.css +0 -111
- package/es/vxe-link/style.min.css +0 -1
- package/es/vxe-list/index.js +0 -3
- package/es/vxe-list/style.css +0 -379
- package/es/vxe-list/style.min.css +0 -1
- package/es/vxe-loading/index.js +0 -3
- package/es/vxe-loading/style.css +0 -120
- package/es/vxe-loading/style.min.css +0 -1
- package/es/vxe-mention/index.js +0 -3
- package/es/vxe-mention/style.css +0 -0
- package/es/vxe-mention/style.min.css +0 -0
- package/es/vxe-menu/index.js +0 -3
- package/es/vxe-menu/style.css +0 -140
- package/es/vxe-menu/style.min.css +0 -1
- package/es/vxe-modal/index.js +0 -3
- package/es/vxe-modal/style.css +0 -415
- package/es/vxe-modal/style.min.css +0 -1
- package/es/vxe-notice-bar/index.js +0 -3
- package/es/vxe-notice-bar/style.css +0 -78
- package/es/vxe-notice-bar/style.min.css +0 -1
- package/es/vxe-number-input/index.js +0 -3
- package/es/vxe-number-input/style.css +0 -274
- package/es/vxe-number-input/style.min.css +0 -1
- package/es/vxe-optgroup/index.js +0 -3
- package/es/vxe-optgroup/style.css +0 -0
- package/es/vxe-optgroup/style.min.css +0 -0
- package/es/vxe-option/index.js +0 -3
- package/es/vxe-option/style.css +0 -0
- package/es/vxe-option/style.min.css +0 -0
- package/es/vxe-pager/index.js +0 -3
- package/es/vxe-pager/style.css +0 -341
- package/es/vxe-pager/style.min.css +0 -1
- package/es/vxe-password-input/index.js +0 -3
- package/es/vxe-password-input/style.css +0 -598
- package/es/vxe-password-input/style.min.css +0 -1
- package/es/vxe-print/index.js +0 -3
- package/es/vxe-print/style.css +0 -4
- package/es/vxe-print/style.min.css +0 -1
- package/es/vxe-print-page-break/index.js +0 -3
- 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/index.js +0 -3
- package/es/vxe-pulldown/style.css +0 -109
- package/es/vxe-pulldown/style.min.css +0 -1
- package/es/vxe-radio/index.js +0 -3
- package/es/vxe-radio/style.css +0 -108
- package/es/vxe-radio/style.min.css +0 -1
- package/es/vxe-radio-button/index.js +0 -3
- package/es/vxe-radio-button/style.css +0 -202
- package/es/vxe-radio-button/style.min.css +0 -1
- package/es/vxe-radio-group/index.js +0 -3
- package/es/vxe-radio-group/style.css +0 -0
- package/es/vxe-radio-group/style.min.css +0 -0
- package/es/vxe-rate/index.js +0 -3
- package/es/vxe-rate/style.css +0 -54
- package/es/vxe-rate/style.min.css +0 -1
- package/es/vxe-result/index.js +0 -3
- package/es/vxe-result/style.css +0 -68
- package/es/vxe-result/style.min.css +0 -1
- package/es/vxe-row/index.js +0 -3
- package/es/vxe-row/style.css +0 -116
- package/es/vxe-row/style.min.css +0 -1
- package/es/vxe-segmented/index.js +0 -3
- package/es/vxe-segmented/style.css +0 -197
- package/es/vxe-segmented/style.min.css +0 -1
- package/es/vxe-select/index.js +0 -3
- package/es/vxe-select/style.css +0 -370
- package/es/vxe-select/style.min.css +0 -1
- package/es/vxe-slider/index.js +0 -3
- package/es/vxe-slider/style.css +0 -143
- package/es/vxe-slider/style.min.css +0 -1
- package/es/vxe-split/index.js +0 -3
- package/es/vxe-split/style.css +0 -295
- package/es/vxe-split/style.min.css +0 -1
- package/es/vxe-split-pane/index.js +0 -3
- package/es/vxe-split-pane/style.css +0 -0
- package/es/vxe-split-pane/style.min.css +0 -0
- package/es/vxe-splitter/index.js +0 -3
- package/es/vxe-splitter/style.css +0 -295
- package/es/vxe-splitter/style.min.css +0 -1
- package/es/vxe-splitter-panel/index.js +0 -3
- package/es/vxe-splitter-panel/style.css +0 -0
- package/es/vxe-splitter-panel/style.min.css +0 -0
- package/es/vxe-steps/index.js +0 -3
- package/es/vxe-steps/style.css +0 -0
- package/es/vxe-steps/style.min.css +0 -0
- package/es/vxe-switch/index.js +0 -3
- package/es/vxe-switch/style.css +0 -111
- package/es/vxe-switch/style.min.css +0 -1
- package/es/vxe-tab-pane/index.js +0 -3
- package/es/vxe-tab-pane/style.css +0 -0
- package/es/vxe-tab-pane/style.min.css +0 -0
- package/es/vxe-table-select/index.js +0 -3
- package/es/vxe-table-select/style.css +0 -134
- package/es/vxe-table-select/style.min.css +0 -1
- package/es/vxe-table-transfer/index.js +0 -3
- package/es/vxe-table-transfer/style.css +0 -0
- package/es/vxe-table-transfer/style.min.css +0 -0
- package/es/vxe-tabs/index.js +0 -3
- package/es/vxe-tabs/style.css +0 -705
- package/es/vxe-tabs/style.min.css +0 -1
- package/es/vxe-tag/index.js +0 -3
- package/es/vxe-tag/style.css +0 -187
- package/es/vxe-tag/style.min.css +0 -1
- package/es/vxe-text/index.js +0 -3
- package/es/vxe-text/style.css +0 -138
- package/es/vxe-text/style.min.css +0 -1
- package/es/vxe-text-ellipsis/index.js +0 -3
- package/es/vxe-text-ellipsis/style.css +0 -115
- package/es/vxe-text-ellipsis/style.min.css +0 -1
- package/es/vxe-textarea/index.js +0 -3
- package/es/vxe-textarea/style.css +0 -119
- package/es/vxe-textarea/style.min.css +0 -1
- package/es/vxe-timeline/index.js +0 -3
- package/es/vxe-timeline/style.css +0 -0
- package/es/vxe-timeline/style.min.css +0 -0
- package/es/vxe-timeline-item/index.js +0 -3
- package/es/vxe-timeline-item/style.css +0 -0
- package/es/vxe-timeline-item/style.min.css +0 -0
- package/es/vxe-tip/index.js +0 -3
- package/es/vxe-tip/style.css +0 -107
- package/es/vxe-tip/style.min.css +0 -1
- package/es/vxe-tooltip/index.js +0 -3
- package/es/vxe-tooltip/style.css +0 -117
- package/es/vxe-tooltip/style.min.css +0 -1
- package/es/vxe-tour/index.js +0 -3
- package/es/vxe-tour/style.css +0 -0
- package/es/vxe-tour/style.min.css +0 -0
- package/es/vxe-transfer/index.js +0 -3
- package/es/vxe-transfer/style.css +0 -0
- package/es/vxe-transfer/style.min.css +0 -0
- package/es/vxe-tree/index.js +0 -3
- package/es/vxe-tree/style.css +0 -385
- package/es/vxe-tree/style.min.css +0 -1
- package/es/vxe-tree-select/index.js +0 -3
- package/es/vxe-tree-select/style.css +0 -194
- package/es/vxe-tree-select/style.min.css +0 -1
- package/es/vxe-u-i/index.js +0 -3
- package/es/vxe-ui/index.js +0 -3
- package/es/vxe-ui/style.css +0 -0
- package/es/vxe-ui/style.min.css +0 -0
- package/es/vxe-upload/index.js +0 -3
- package/es/vxe-upload/style.css +0 -483
- package/es/vxe-upload/style.min.css +0 -1
- package/es/vxe-watermark/index.js +0 -3
- package/es/vxe-watermark/style.css +0 -30
- package/es/vxe-watermark/style.min.css +0 -1
- package/es/watermark/index.js +0 -24
- package/es/watermark/src/util.js +0 -149
- package/es/watermark/src/watermark.js +0 -148
- package/es/watermark/style.css +0 -30
- package/es/watermark/style.min.css +0 -1
- package/lib/alert/index.js +0 -19
- package/lib/alert/index.min.js +0 -1
- package/lib/alert/src/alert.js +0 -101
- package/lib/alert/src/alert.min.js +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/index.js +0 -19
- package/lib/anchor/index.min.js +0 -1
- package/lib/anchor/src/anchor-link.js +0 -146
- package/lib/anchor/src/anchor-link.min.js +0 -1
- package/lib/anchor/src/anchor.js +0 -263
- package/lib/anchor/src/anchor.min.js +0 -1
- package/lib/anchor/src/util.js +0 -31
- package/lib/anchor/src/util.min.js +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/index.js +0 -19
- package/lib/anchor-link/index.min.js +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/index.js +0 -19
- package/lib/avatar/index.min.js +0 -1
- package/lib/avatar/src/avatar.js +0 -139
- package/lib/avatar/src/avatar.min.js +0 -1
- 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/index.js +0 -19
- package/lib/backtop/index.min.js +0 -1
- package/lib/backtop/src/backtop.js +0 -347
- package/lib/backtop/src/backtop.min.js +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/index.js +0 -19
- package/lib/badge/index.min.js +0 -1
- package/lib/badge/src/badge.js +0 -81
- package/lib/badge/src/badge.min.js +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/index.js +0 -19
- package/lib/breadcrumb/index.min.js +0 -1
- package/lib/breadcrumb/src/breadcrumb-item.js +0 -102
- package/lib/breadcrumb/src/breadcrumb-item.min.js +0 -1
- package/lib/breadcrumb/src/breadcrumb.js +0 -88
- package/lib/breadcrumb/src/breadcrumb.min.js +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/index.js +0 -19
- package/lib/breadcrumb-item/index.min.js +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/index.js +0 -19
- package/lib/button/index.min.js +0 -1
- package/lib/button/src/button-group.js +0 -110
- package/lib/button/src/button-group.min.js +0 -1
- package/lib/button/src/button.js +0 -874
- package/lib/button/src/button.min.js +0 -1
- package/lib/button/style/index.js +0 -1
- package/lib/button/style/style.css +0 -638
- package/lib/button/style/style.min.css +0 -1
- package/lib/button-group/index.js +0 -19
- package/lib/button-group/index.min.js +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/index.js +0 -19
- package/lib/calendar/index.min.js +0 -1
- package/lib/calendar/src/calendar.js +0 -1563
- package/lib/calendar/src/calendar.min.js +0 -1
- package/lib/calendar/style/index.js +0 -1
- package/lib/calendar/style/style.css +0 -350
- package/lib/calendar/style/style.min.css +0 -1
- package/lib/card/index.js +0 -19
- package/lib/card/index.min.js +0 -1
- package/lib/card/src/card.js +0 -151
- package/lib/card/src/card.min.js +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/index.js +0 -19
- package/lib/carousel/index.min.js +0 -1
- package/lib/carousel/src/carousel-item.js +0 -110
- package/lib/carousel/src/carousel-item.min.js +0 -1
- package/lib/carousel/src/carousel.js +0 -448
- package/lib/carousel/src/carousel.min.js +0 -1
- package/lib/carousel/src/util.js +0 -27
- package/lib/carousel/src/util.min.js +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/index.js +0 -19
- package/lib/carousel-item/index.min.js +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/index.js +0 -19
- package/lib/cascader/index.min.js +0 -1
- package/lib/cascader/src/cascader.js +0 -2099
- package/lib/cascader/src/cascader.min.js +0 -1
- package/lib/cascader/src/util.js +0 -15
- package/lib/cascader/src/util.min.js +0 -1
- package/lib/cascader/style/index.js +0 -1
- package/lib/cascader/style/style.css +0 -346
- package/lib/cascader/style/style.min.css +0 -1
- package/lib/checkbox/index.js +0 -19
- package/lib/checkbox/index.min.js +0 -1
- package/lib/checkbox/src/button.js +0 -239
- package/lib/checkbox/src/button.min.js +0 -1
- package/lib/checkbox/src/checkbox.js +0 -227
- package/lib/checkbox/src/checkbox.min.js +0 -1
- package/lib/checkbox/src/group.js +0 -300
- package/lib/checkbox/src/group.min.js +0 -1
- package/lib/checkbox/style/index.js +0 -1
- package/lib/checkbox/style/style.css +0 -113
- package/lib/checkbox/style/style.min.css +0 -1
- package/lib/checkbox-button/index.js +0 -19
- package/lib/checkbox-button/index.min.js +0 -1
- package/lib/checkbox-button/style/index.js +0 -1
- package/lib/checkbox-button/style/style.css +0 -202
- package/lib/checkbox-button/style/style.min.css +0 -1
- package/lib/checkbox-group/index.js +0 -19
- package/lib/checkbox-group/index.min.js +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/index.js +0 -19
- package/lib/col/index.min.js +0 -1
- 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/index.js +0 -19
- package/lib/collapse/index.min.js +0 -1
- package/lib/collapse/src/collapse-pane.js +0 -126
- package/lib/collapse/src/collapse-pane.min.js +0 -1
- package/lib/collapse/src/collapse.js +0 -377
- package/lib/collapse/src/collapse.min.js +0 -1
- package/lib/collapse/src/util.js +0 -29
- package/lib/collapse/src/util.min.js +0 -1
- package/lib/collapse/style/index.js +0 -1
- package/lib/collapse/style/style.css +0 -83
- package/lib/collapse/style/style.min.css +0 -1
- package/lib/collapse-pane/index.js +0 -19
- package/lib/collapse-pane/index.min.js +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/index.js +0 -19
- package/lib/color-picker/index.min.js +0 -1
- package/lib/color-picker/src/color-picker.js +0 -1183
- package/lib/color-picker/src/color-picker.min.js +0 -1
- package/lib/color-picker/src/util.js +0 -215
- package/lib/color-picker/src/util.min.js +0 -1
- package/lib/color-picker/style/index.js +0 -1
- package/lib/color-picker/style/style.css +0 -485
- package/lib/color-picker/style/style.min.css +0 -1
- package/lib/components.js +0 -1154
- package/lib/components.min.js +0 -1
- package/lib/context-menu/index.js +0 -56
- package/lib/context-menu/index.min.js +0 -1
- package/lib/context-menu/src/context-menu.js +0 -682
- package/lib/context-menu/src/context-menu.min.js +0 -1
- package/lib/context-menu/style/index.js +0 -1
- package/lib/context-menu/style/style.css +0 -109
- package/lib/context-menu/style/style.min.css +0 -1
- package/lib/countdown/index.js +0 -19
- package/lib/countdown/index.min.js +0 -1
- package/lib/countdown/src/countdown.js +0 -251
- package/lib/countdown/src/countdown.min.js +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/index.js +0 -19
- package/lib/date-panel/index.min.js +0 -1
- package/lib/date-panel/src/date-panel.js +0 -2132
- package/lib/date-panel/src/date-panel.min.js +0 -1
- package/lib/date-panel/src/util.js +0 -327
- package/lib/date-panel/src/util.min.js +0 -1
- package/lib/date-panel/style/index.js +0 -1
- package/lib/date-panel/style/style.css +0 -453
- package/lib/date-panel/style/style.min.css +0 -1
- package/lib/date-picker/index.js +0 -20
- package/lib/date-picker/index.min.js +0 -1
- package/lib/date-picker/src/date-picker.js +0 -1878
- package/lib/date-picker/src/date-picker.min.js +0 -1
- package/lib/date-picker/style/index.js +0 -1
- package/lib/date-picker/style/style.css +0 -283
- package/lib/date-picker/style/style.min.css +0 -1
- package/lib/date-range-picker/index.js +0 -19
- package/lib/date-range-picker/index.min.js +0 -1
- package/lib/date-range-picker/src/date-range-picker.js +0 -1722
- package/lib/date-range-picker/src/date-range-picker.min.js +0 -1
- package/lib/date-range-picker/style/index.js +0 -1
- package/lib/date-range-picker/style/style.css +0 -289
- package/lib/date-range-picker/style/style.min.css +0 -1
- package/lib/drawer/index.js +0 -84
- package/lib/drawer/index.min.js +0 -1
- package/lib/drawer/src/drawer.js +0 -801
- package/lib/drawer/src/drawer.min.js +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/dynamics/index.js +0 -110
- package/lib/dynamics/index.min.js +0 -1
- package/lib/empty/index.js +0 -19
- package/lib/empty/index.min.js +0 -1
- package/lib/empty/src/empty.js +0 -78
- package/lib/empty/src/empty.min.js +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/index.js +0 -19
- package/lib/form/index.min.js +0 -1
- package/lib/form/render/index.js +0 -650
- package/lib/form/render/index.min.js +0 -1
- package/lib/form/src/form-config-item.js +0 -87
- package/lib/form/src/form-config-item.min.js +0 -1
- package/lib/form/src/form-group.js +0 -125
- package/lib/form/src/form-group.min.js +0 -1
- package/lib/form/src/form-item.js +0 -211
- package/lib/form/src/form-item.min.js +0 -1
- package/lib/form/src/form.js +0 -1130
- package/lib/form/src/form.min.js +0 -1
- package/lib/form/src/itemInfo.js +0 -95
- package/lib/form/src/itemInfo.min.js +0 -1
- package/lib/form/src/render.js +0 -406
- package/lib/form/src/render.min.js +0 -1
- package/lib/form/src/util.js +0 -106
- package/lib/form/src/util.min.js +0 -1
- package/lib/form/style/index.js +0 -1
- package/lib/form/style/style.css +0 -621
- package/lib/form/style/style.min.css +0 -1
- package/lib/form-gather/index.js +0 -22
- package/lib/form-gather/index.min.js +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/index.js +0 -19
- package/lib/form-group/index.min.js +0 -1
- 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/index.js +0 -19
- package/lib/form-item/index.min.js +0 -1
- 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/index.js +0 -19
- package/lib/icon/index.min.js +0 -1
- package/lib/icon/src/icon.js +0 -75
- package/lib/icon/src/icon.min.js +0 -1
- package/lib/icon/style/iconfont.1783338703528.ttf +0 -0
- package/lib/icon/style/iconfont.1783338703528.woff +0 -0
- package/lib/icon/style/iconfont.1783338703528.woff2 +0 -0
- package/lib/icon/style/index.js +0 -1
- package/lib/icon/style/style.css +0 -1034
- package/lib/icon/style/style.min.css +0 -1034
- package/lib/icon-picker/index.js +0 -19
- package/lib/icon-picker/index.min.js +0 -1
- package/lib/icon-picker/src/icon-picker.js +0 -829
- package/lib/icon-picker/src/icon-picker.min.js +0 -1
- package/lib/icon-picker/style/index.js +0 -1
- package/lib/icon-picker/style/style.css +0 -242
- package/lib/icon-picker/style/style.min.css +0 -1
- package/lib/iconfont.1783338703528.ttf +0 -0
- package/lib/iconfont.1783338703528.woff +0 -0
- package/lib/iconfont.1783338703528.woff2 +0 -0
- package/lib/image/index.js +0 -19
- package/lib/image/index.min.js +0 -1
- package/lib/image/src/group.js +0 -171
- package/lib/image/src/group.min.js +0 -1
- package/lib/image/src/image.js +0 -317
- package/lib/image/src/image.min.js +0 -1
- package/lib/image/src/preview.js +0 -683
- package/lib/image/src/preview.min.js +0 -1
- package/lib/image/src/util.js +0 -70
- package/lib/image/src/util.min.js +0 -1
- 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/index.js +0 -19
- package/lib/image-group/index.min.js +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/index.js +0 -21
- package/lib/image-preview/index.min.js +0 -1
- package/lib/image-preview/style/index.js +0 -1
- package/lib/image-preview/style/style.css +0 -218
- package/lib/image-preview/style/style.min.css +0 -1
- package/lib/index.common.js +0 -25
- package/lib/index.umd.js +0 -70070
- package/lib/index.umd.min.js +0 -1
- package/lib/input/index.js +0 -19
- package/lib/input/index.min.js +0 -1
- package/lib/input/src/input.js +0 -3098
- package/lib/input/src/input.min.js +0 -1
- package/lib/input/style/index.js +0 -1
- package/lib/input/style/style.css +0 -1025
- package/lib/input/style/style.min.css +0 -1
- package/lib/language/ar-EG.d.ts +0 -2
- package/lib/language/ar-EG.js +0 -880
- package/lib/language/ar-EG.min.js +0 -1
- package/lib/language/ar-EG.umd.js +0 -894
- package/lib/language/de-DE.d.ts +0 -2
- package/lib/language/de-DE.js +0 -880
- package/lib/language/de-DE.min.js +0 -1
- package/lib/language/de-DE.umd.js +0 -894
- package/lib/language/en-US.d.ts +0 -2
- package/lib/language/en-US.js +0 -880
- package/lib/language/en-US.min.js +0 -1
- package/lib/language/en-US.umd.js +0 -894
- package/lib/language/es-ES.d.ts +0 -2
- package/lib/language/es-ES.js +0 -880
- package/lib/language/es-ES.min.js +0 -1
- package/lib/language/es-ES.umd.js +0 -894
- package/lib/language/fr-FR.d.ts +0 -2
- package/lib/language/fr-FR.js +0 -880
- package/lib/language/fr-FR.min.js +0 -1
- package/lib/language/fr-FR.umd.js +0 -894
- package/lib/language/hu-HU.d.ts +0 -2
- package/lib/language/hu-HU.js +0 -880
- package/lib/language/hu-HU.min.js +0 -1
- package/lib/language/hu-HU.umd.js +0 -894
- package/lib/language/hy-AM.d.ts +0 -2
- package/lib/language/hy-AM.js +0 -880
- package/lib/language/hy-AM.min.js +0 -1
- package/lib/language/hy-AM.umd.js +0 -894
- package/lib/language/id-ID.d.ts +0 -2
- package/lib/language/id-ID.js +0 -880
- package/lib/language/id-ID.min.js +0 -1
- package/lib/language/id-ID.umd.js +0 -894
- package/lib/language/it-IT.d.ts +0 -2
- package/lib/language/it-IT.js +0 -880
- package/lib/language/it-IT.min.js +0 -1
- package/lib/language/it-IT.umd.js +0 -894
- package/lib/language/ja-JP.d.ts +0 -2
- package/lib/language/ja-JP.js +0 -880
- package/lib/language/ja-JP.min.js +0 -1
- package/lib/language/ja-JP.umd.js +0 -894
- package/lib/language/ko-KR.d.ts +0 -2
- package/lib/language/ko-KR.js +0 -880
- package/lib/language/ko-KR.min.js +0 -1
- package/lib/language/ko-KR.umd.js +0 -894
- package/lib/language/ms-MY.d.ts +0 -2
- package/lib/language/ms-MY.js +0 -880
- package/lib/language/ms-MY.min.js +0 -1
- package/lib/language/ms-MY.umd.js +0 -894
- package/lib/language/nb-NO.d.ts +0 -2
- package/lib/language/nb-NO.js +0 -880
- package/lib/language/nb-NO.min.js +0 -1
- package/lib/language/nb-NO.umd.js +0 -894
- package/lib/language/pt-BR.d.ts +0 -2
- package/lib/language/pt-BR.js +0 -880
- package/lib/language/pt-BR.min.js +0 -1
- package/lib/language/pt-BR.umd.js +0 -894
- package/lib/language/ru-RU.d.ts +0 -2
- package/lib/language/ru-RU.js +0 -880
- package/lib/language/ru-RU.min.js +0 -1
- package/lib/language/ru-RU.umd.js +0 -894
- package/lib/language/th-TH.d.ts +0 -2
- package/lib/language/th-TH.js +0 -880
- package/lib/language/th-TH.min.js +0 -1
- package/lib/language/th-TH.umd.js +0 -894
- package/lib/language/ug-CN.d.ts +0 -2
- package/lib/language/ug-CN.js +0 -880
- package/lib/language/ug-CN.min.js +0 -1
- package/lib/language/ug-CN.umd.js +0 -894
- package/lib/language/uk-UA.d.ts +0 -2
- package/lib/language/uk-UA.js +0 -880
- package/lib/language/uk-UA.min.js +0 -1
- package/lib/language/uk-UA.umd.js +0 -894
- package/lib/language/uz-UZ.d.ts +0 -2
- package/lib/language/uz-UZ.js +0 -880
- package/lib/language/uz-UZ.min.js +0 -1
- package/lib/language/uz-UZ.umd.js +0 -894
- package/lib/language/vi-VN.d.ts +0 -2
- package/lib/language/vi-VN.js +0 -880
- package/lib/language/vi-VN.min.js +0 -1
- package/lib/language/vi-VN.umd.js +0 -894
- package/lib/language/zh-CHT.d.ts +0 -2
- package/lib/language/zh-CHT.js +0 -880
- package/lib/language/zh-CHT.min.js +0 -1
- package/lib/language/zh-CHT.umd.js +0 -894
- package/lib/language/zh-CN.d.ts +0 -2
- package/lib/language/zh-CN.js +0 -880
- package/lib/language/zh-CN.min.js +0 -1
- package/lib/language/zh-CN.umd.js +0 -894
- package/lib/language/zh-HK.d.ts +0 -2
- package/lib/language/zh-HK.js +0 -9
- package/lib/language/zh-HK.min.js +0 -1
- package/lib/language/zh-HK.umd.js +0 -23
- package/lib/language/zh-MO.d.ts +0 -2
- package/lib/language/zh-MO.js +0 -9
- package/lib/language/zh-MO.min.js +0 -1
- package/lib/language/zh-MO.umd.js +0 -23
- package/lib/language/zh-TC.js +0 -9
- package/lib/language/zh-TC.min.js +0 -1
- package/lib/language/zh-TW.d.ts +0 -2
- package/lib/language/zh-TW.js +0 -9
- package/lib/language/zh-TW.min.js +0 -1
- package/lib/language/zh-TW.umd.js +0 -23
- package/lib/layout-aside/index.js +0 -19
- package/lib/layout-aside/index.min.js +0 -1
- package/lib/layout-aside/src/layout-aside.js +0 -120
- package/lib/layout-aside/src/layout-aside.min.js +0 -1
- package/lib/layout-aside/style/index.js +0 -1
- package/lib/layout-aside/style/style.css +0 -26
- package/lib/layout-aside/style/style.min.css +0 -1
- package/lib/layout-body/index.js +0 -19
- package/lib/layout-body/index.min.js +0 -1
- package/lib/layout-body/src/layout-body.js +0 -141
- package/lib/layout-body/src/layout-body.min.js +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/index.js +0 -19
- package/lib/layout-container/index.min.js +0 -1
- package/lib/layout-container/src/layout-container.js +0 -65
- package/lib/layout-container/src/layout-container.min.js +0 -1
- package/lib/layout-container/style/index.js +0 -1
- package/lib/layout-container/style/style.css +0 -28
- package/lib/layout-container/style/style.min.css +0 -1
- package/lib/layout-footer/index.js +0 -19
- package/lib/layout-footer/index.min.js +0 -1
- package/lib/layout-footer/src/layout-footer.js +0 -56
- package/lib/layout-footer/src/layout-footer.min.js +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/index.js +0 -19
- package/lib/layout-header/index.min.js +0 -1
- package/lib/layout-header/src/layout-header.js +0 -53
- package/lib/layout-header/src/layout-header.min.js +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/index.js +0 -19
- package/lib/link/index.min.js +0 -1
- package/lib/link/src/link.js +0 -138
- package/lib/link/src/link.min.js +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/index.js +0 -19
- package/lib/list/index.min.js +0 -1
- package/lib/list/src/list.js +0 -2412
- package/lib/list/src/list.min.js +0 -1
- package/lib/list/src/store.js +0 -15
- package/lib/list/src/store.min.js +0 -1
- package/lib/list/src/util.js +0 -14
- package/lib/list/src/util.min.js +0 -1
- package/lib/list/style/index.js +0 -1
- package/lib/list/style/style.css +0 -379
- package/lib/list/style/style.min.css +0 -1
- package/lib/loading/index.js +0 -34
- package/lib/loading/index.min.js +0 -1
- package/lib/loading/src/loading.js +0 -151
- package/lib/loading/src/loading.min.js +0 -1
- package/lib/loading/style/index.js +0 -1
- package/lib/loading/style/style.css +0 -120
- package/lib/loading/style/style.min.css +0 -1
- package/lib/mention/index.js +0 -19
- package/lib/mention/index.min.js +0 -1
- package/lib/mention/src/mention.js +0 -54
- package/lib/mention/src/mention.min.js +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/index.js +0 -19
- package/lib/menu/index.min.js +0 -1
- package/lib/menu/src/menu.js +0 -613
- package/lib/menu/src/menu.min.js +0 -1
- package/lib/menu/style/index.js +0 -1
- package/lib/menu/style/style.css +0 -140
- package/lib/menu/style/style.min.css +0 -1
- package/lib/modal/index.js +0 -149
- package/lib/modal/index.min.js +0 -1
- package/lib/modal/src/modal.js +0 -1730
- package/lib/modal/src/modal.min.js +0 -1
- package/lib/modal/style/index.js +0 -1
- package/lib/modal/style/style.css +0 -415
- package/lib/modal/style/style.min.css +0 -1
- package/lib/notice-bar/index.js +0 -19
- package/lib/notice-bar/index.min.js +0 -1
- package/lib/notice-bar/src/notice-bar.js +0 -175
- package/lib/notice-bar/src/notice-bar.min.js +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/index.js +0 -19
- package/lib/number-input/index.min.js +0 -1
- package/lib/number-input/src/number-input.js +0 -1227
- package/lib/number-input/src/number-input.min.js +0 -1
- package/lib/number-input/src/util.js +0 -29
- package/lib/number-input/src/util.min.js +0 -1
- package/lib/number-input/style/index.js +0 -1
- package/lib/number-input/style/style.css +0 -274
- package/lib/number-input/style/style.min.css +0 -1
- package/lib/optgroup/index.js +0 -19
- package/lib/optgroup/index.min.js +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/index.js +0 -19
- package/lib/option/index.min.js +0 -1
- 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/index.js +0 -19
- package/lib/pager/index.min.js +0 -1
- package/lib/pager/src/pager.js +0 -951
- package/lib/pager/src/pager.min.js +0 -1
- package/lib/pager/style/index.js +0 -1
- package/lib/pager/style/style.css +0 -341
- package/lib/pager/style/style.min.css +0 -1
- package/lib/password-input/index.js +0 -19
- package/lib/password-input/index.min.js +0 -1
- package/lib/password-input/src/password-input.js +0 -438
- package/lib/password-input/src/password-input.min.js +0 -1
- package/lib/password-input/style/index.js +0 -1
- package/lib/password-input/style/style.css +0 -598
- package/lib/password-input/style/style.min.css +0 -1
- package/lib/print/index.js +0 -21
- package/lib/print/index.min.js +0 -1
- package/lib/print/src/page-break.js +0 -76
- package/lib/print/src/page-break.min.js +0 -1
- package/lib/print/src/print.js +0 -258
- package/lib/print/src/print.min.js +0 -1
- package/lib/print/src/util.js +0 -239
- package/lib/print/src/util.min.js +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/index.js +0 -17
- package/lib/print-page-break/index.min.js +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/index.js +0 -19
- package/lib/pulldown/index.min.js +0 -1
- package/lib/pulldown/src/pulldown.js +0 -522
- package/lib/pulldown/src/pulldown.min.js +0 -1
- package/lib/pulldown/style/index.js +0 -1
- package/lib/pulldown/style/style.css +0 -109
- package/lib/pulldown/style/style.min.css +0 -1
- package/lib/radio/index.js +0 -19
- package/lib/radio/index.min.js +0 -1
- package/lib/radio/src/button.js +0 -263
- package/lib/radio/src/button.min.js +0 -1
- package/lib/radio/src/group.js +0 -283
- package/lib/radio/src/group.min.js +0 -1
- package/lib/radio/src/radio.js +0 -252
- package/lib/radio/src/radio.min.js +0 -1
- package/lib/radio/style/index.js +0 -1
- package/lib/radio/style/style.css +0 -108
- package/lib/radio/style/style.min.css +0 -1
- package/lib/radio-button/index.js +0 -19
- package/lib/radio-button/index.min.js +0 -1
- package/lib/radio-button/style/index.js +0 -1
- package/lib/radio-button/style/style.css +0 -202
- package/lib/radio-button/style/style.min.css +0 -1
- package/lib/radio-group/index.js +0 -19
- package/lib/radio-group/index.min.js +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/index.js +0 -19
- package/lib/rate/index.min.js +0 -1
- package/lib/rate/src/rate.js +0 -187
- 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/index.js +0 -19
- package/lib/result/index.min.js +0 -1
- package/lib/result/src/result.js +0 -88
- 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/index.js +0 -19
- package/lib/row/index.min.js +0 -1
- package/lib/row/src/col.js +0 -138
- package/lib/row/src/col.min.js +0 -1
- package/lib/row/src/row.js +0 -122
- 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/index.js +0 -19
- package/lib/segmented/index.min.js +0 -1
- package/lib/segmented/src/segmented.js +0 -260
- 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/index.js +0 -19
- package/lib/select/index.min.js +0 -1
- package/lib/select/src/optgroup.js +0 -98
- package/lib/select/src/optgroup.min.js +0 -1
- package/lib/select/src/option-info.js +0 -33
- package/lib/select/src/option-info.min.js +0 -1
- package/lib/select/src/option.js +0 -94
- package/lib/select/src/option.min.js +0 -1
- package/lib/select/src/select.js +0 -2112
- package/lib/select/src/select.min.js +0 -1
- package/lib/select/src/util.js +0 -51
- package/lib/select/src/util.min.js +0 -1
- package/lib/select/style/index.js +0 -1
- package/lib/select/style/style.css +0 -370
- package/lib/select/style/style.min.css +0 -1
- package/lib/slider/index.js +0 -19
- package/lib/slider/index.min.js +0 -1
- package/lib/slider/src/slider.js +0 -336
- 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/index.js +0 -19
- package/lib/split/index.min.js +0 -1
- package/lib/split/style/index.js +0 -1
- package/lib/split/style/style.css +0 -295
- package/lib/split/style/style.min.css +0 -1
- package/lib/split-pane/index.js +0 -20
- package/lib/split-pane/index.min.js +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/index.js +0 -19
- package/lib/splitter/index.min.js +0 -1
- package/lib/splitter/src/splitter-panel.js +0 -161
- package/lib/splitter/src/splitter-panel.min.js +0 -1
- package/lib/splitter/src/splitter.js +0 -1036
- package/lib/splitter/src/splitter.min.js +0 -1
- package/lib/splitter/src/util.js +0 -27
- package/lib/splitter/src/util.min.js +0 -1
- package/lib/splitter/style/index.js +0 -1
- package/lib/splitter/style/style.css +0 -295
- package/lib/splitter/style/style.min.css +0 -1
- package/lib/splitter-panel/index.js +0 -19
- package/lib/splitter-panel/index.min.js +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/index.js +0 -19
- package/lib/steps/index.min.js +0 -1
- package/lib/steps/src/steps.js +0 -58
- 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/style.css +0 -1
- package/lib/style.min.css +0 -1
- package/lib/switch/index.js +0 -19
- package/lib/switch/index.min.js +0 -1
- package/lib/switch/src/switch.js +0 -256
- package/lib/switch/src/switch.min.js +0 -1
- package/lib/switch/style/index.js +0 -1
- package/lib/switch/style/style.css +0 -111
- package/lib/switch/style/style.min.css +0 -1
- package/lib/tab-pane/index.js +0 -19
- package/lib/tab-pane/index.min.js +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/index.js +0 -19
- package/lib/table-select/index.min.js +0 -1
- package/lib/table-select/src/table-select.js +0 -871
- 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 -134
- package/lib/table-select/style/style.min.css +0 -1
- package/lib/table-transfer/index.js +0 -19
- package/lib/table-transfer/index.min.js +0 -1
- package/lib/table-transfer/src/table-transfer.js +0 -84
- package/lib/table-transfer/src/table-transfer.min.js +0 -1
- package/lib/table-transfer/style/index.js +0 -1
- package/lib/table-transfer/style/style.css +0 -0
- package/lib/table-transfer/style/style.min.css +0 -0
- package/lib/tabs/index.js +0 -19
- package/lib/tabs/index.min.js +0 -1
- package/lib/tabs/src/tab-pane.js +0 -129
- package/lib/tabs/src/tab-pane.min.js +0 -1
- package/lib/tabs/src/tabs.js +0 -1031
- package/lib/tabs/src/tabs.min.js +0 -1
- package/lib/tabs/src/util.js +0 -29
- 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/index.js +0 -19
- package/lib/tag/index.min.js +0 -1
- package/lib/tag/src/tag.js +0 -183
- package/lib/tag/src/tag.min.js +0 -1
- package/lib/tag/style/index.js +0 -1
- package/lib/tag/style/style.css +0 -187
- package/lib/tag/style/style.min.css +0 -1
- package/lib/text/index.js +0 -19
- package/lib/text/index.min.js +0 -1
- package/lib/text/src/text.js +0 -244
- package/lib/text/src/text.min.js +0 -1
- package/lib/text/style/index.js +0 -1
- package/lib/text/style/style.css +0 -138
- package/lib/text/style/style.min.css +0 -1
- package/lib/text-ellipsis/index.js +0 -19
- package/lib/text-ellipsis/index.min.js +0 -1
- package/lib/text-ellipsis/src/text-ellipsis.js +0 -282
- 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 -115
- package/lib/text-ellipsis/style/style.min.css +0 -1
- package/lib/textarea/index.js +0 -19
- package/lib/textarea/index.min.js +0 -1
- package/lib/textarea/src/textarea.js +0 -491
- package/lib/textarea/src/textarea.min.js +0 -1
- package/lib/textarea/style/index.js +0 -1
- package/lib/textarea/style/style.css +0 -119
- package/lib/textarea/style/style.min.css +0 -1
- package/lib/timeline/index.js +0 -19
- package/lib/timeline/index.min.js +0 -1
- package/lib/timeline/src/timeline-item.js +0 -45
- package/lib/timeline/src/timeline-item.min.js +0 -1
- package/lib/timeline/src/timeline.js +0 -54
- 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/index.js +0 -19
- package/lib/timeline-item/index.min.js +0 -1
- 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/index.js +0 -21
- package/lib/tip/index.min.js +0 -1
- package/lib/tip/src/tip.js +0 -102
- 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/index.js +0 -19
- package/lib/tooltip/index.min.js +0 -1
- package/lib/tooltip/src/tooltip.js +0 -721
- package/lib/tooltip/src/tooltip.min.js +0 -1
- package/lib/tooltip/style/index.js +0 -1
- package/lib/tooltip/style/style.css +0 -117
- package/lib/tooltip/style/style.min.css +0 -1
- package/lib/tour/index.js +0 -19
- package/lib/tour/index.min.js +0 -1
- package/lib/tour/src/tour.js +0 -54
- 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/transfer/index.js +0 -19
- package/lib/transfer/index.min.js +0 -1
- package/lib/transfer/src/transfer.js +0 -93
- package/lib/transfer/src/transfer.min.js +0 -1
- package/lib/transfer/style/index.js +0 -1
- package/lib/transfer/style/style.css +0 -0
- package/lib/transfer/style/style.min.css +0 -0
- package/lib/tree/index.js +0 -19
- package/lib/tree/index.min.js +0 -1
- package/lib/tree/src/store.js +0 -15
- package/lib/tree/src/store.min.js +0 -1
- package/lib/tree/src/tree.js +0 -3952
- package/lib/tree/src/tree.min.js +0 -1
- package/lib/tree/src/util.js +0 -53
- package/lib/tree/src/util.min.js +0 -1
- package/lib/tree/style/index.js +0 -1
- package/lib/tree/style/style.css +0 -385
- package/lib/tree/style/style.min.css +0 -1
- package/lib/tree-select/index.js +0 -19
- package/lib/tree-select/index.min.js +0 -1
- package/lib/tree-select/src/tree-select.js +0 -1205
- 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 -194
- package/lib/tree-select/style/style.min.css +0 -1
- package/lib/ui/index.js +0 -719
- package/lib/ui/index.min.js +0 -1
- package/lib/ui/src/anime.js +0 -64
- package/lib/ui/src/anime.min.js +0 -1
- package/lib/ui/src/comp.js +0 -9
- package/lib/ui/src/comp.min.js +0 -1
- package/lib/ui/src/dom.js +0 -304
- package/lib/ui/src/dom.min.js +0 -1
- package/lib/ui/src/log.js +0 -22
- package/lib/ui/src/log.min.js +0 -1
- package/lib/ui/src/utils.js +0 -70
- package/lib/ui/src/utils.min.js +0 -1
- package/lib/ui/src/vn.js +0 -63
- 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/index.js +0 -22
- package/lib/upload/index.min.js +0 -1
- package/lib/upload/src/upload.js +0 -2172
- package/lib/upload/src/upload.min.js +0 -1
- package/lib/upload/src/util.js +0 -130
- package/lib/upload/src/util.min.js +0 -1
- package/lib/upload/style/index.js +0 -1
- package/lib/upload/style/style.css +0 -483
- package/lib/upload/style/style.min.css +0 -1
- package/lib/vxe-alert/index.js +0 -22
- package/lib/vxe-alert/index.min.js +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/index.js +0 -22
- package/lib/vxe-anchor/index.min.js +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/index.js +0 -22
- package/lib/vxe-anchor-link/index.min.js +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/index.js +0 -22
- package/lib/vxe-avatar/index.min.js +0 -1
- 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/index.js +0 -22
- package/lib/vxe-backtop/index.min.js +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/index.js +0 -22
- package/lib/vxe-badge/index.min.js +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/index.js +0 -22
- package/lib/vxe-breadcrumb/index.min.js +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/index.js +0 -22
- package/lib/vxe-breadcrumb-item/index.min.js +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/index.js +0 -22
- package/lib/vxe-button/index.min.js +0 -1
- package/lib/vxe-button/style/index.js +0 -1
- package/lib/vxe-button/style/style.css +0 -638
- package/lib/vxe-button/style/style.min.css +0 -1
- package/lib/vxe-button-group/index.js +0 -22
- package/lib/vxe-button-group/index.min.js +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/index.js +0 -22
- package/lib/vxe-calendar/index.min.js +0 -1
- package/lib/vxe-calendar/style/index.js +0 -1
- package/lib/vxe-calendar/style/style.css +0 -350
- package/lib/vxe-calendar/style/style.min.css +0 -1
- package/lib/vxe-card/index.js +0 -22
- package/lib/vxe-card/index.min.js +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/index.js +0 -22
- package/lib/vxe-carousel/index.min.js +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/index.js +0 -22
- package/lib/vxe-carousel-item/index.min.js +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/index.js +0 -22
- package/lib/vxe-cascader/index.min.js +0 -1
- package/lib/vxe-cascader/style/index.js +0 -1
- package/lib/vxe-cascader/style/style.css +0 -346
- package/lib/vxe-cascader/style/style.min.css +0 -1
- package/lib/vxe-checkbox/index.js +0 -22
- package/lib/vxe-checkbox/index.min.js +0 -1
- package/lib/vxe-checkbox/style/index.js +0 -1
- package/lib/vxe-checkbox/style/style.css +0 -113
- package/lib/vxe-checkbox/style/style.min.css +0 -1
- package/lib/vxe-checkbox-button/index.js +0 -22
- package/lib/vxe-checkbox-button/index.min.js +0 -1
- package/lib/vxe-checkbox-button/style/index.js +0 -1
- package/lib/vxe-checkbox-button/style/style.css +0 -202
- package/lib/vxe-checkbox-button/style/style.min.css +0 -1
- package/lib/vxe-checkbox-group/index.js +0 -22
- package/lib/vxe-checkbox-group/index.min.js +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/index.js +0 -22
- package/lib/vxe-col/index.min.js +0 -1
- 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/index.js +0 -22
- package/lib/vxe-collapse/index.min.js +0 -1
- package/lib/vxe-collapse/style/index.js +0 -1
- package/lib/vxe-collapse/style/style.css +0 -83
- package/lib/vxe-collapse/style/style.min.css +0 -1
- package/lib/vxe-collapse-pane/index.js +0 -22
- package/lib/vxe-collapse-pane/index.min.js +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/index.js +0 -22
- package/lib/vxe-color-picker/index.min.js +0 -1
- package/lib/vxe-color-picker/style/index.js +0 -1
- package/lib/vxe-color-picker/style/style.css +0 -485
- package/lib/vxe-color-picker/style/style.min.css +0 -1
- package/lib/vxe-context-menu/index.js +0 -22
- package/lib/vxe-context-menu/index.min.js +0 -1
- package/lib/vxe-context-menu/style/index.js +0 -1
- package/lib/vxe-context-menu/style/style.css +0 -109
- package/lib/vxe-context-menu/style/style.min.css +0 -1
- package/lib/vxe-countdown/index.js +0 -22
- package/lib/vxe-countdown/index.min.js +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/index.js +0 -22
- package/lib/vxe-date-panel/index.min.js +0 -1
- package/lib/vxe-date-panel/style/index.js +0 -1
- package/lib/vxe-date-panel/style/style.css +0 -453
- package/lib/vxe-date-panel/style/style.min.css +0 -1
- package/lib/vxe-date-picker/index.js +0 -22
- package/lib/vxe-date-picker/index.min.js +0 -1
- package/lib/vxe-date-picker/style/index.js +0 -1
- package/lib/vxe-date-picker/style/style.css +0 -283
- package/lib/vxe-date-picker/style/style.min.css +0 -1
- package/lib/vxe-date-range-picker/index.js +0 -22
- package/lib/vxe-date-range-picker/index.min.js +0 -1
- package/lib/vxe-date-range-picker/style/index.js +0 -1
- package/lib/vxe-date-range-picker/style/style.css +0 -289
- package/lib/vxe-date-range-picker/style/style.min.css +0 -1
- package/lib/vxe-drawer/index.js +0 -22
- package/lib/vxe-drawer/index.min.js +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/index.js +0 -22
- package/lib/vxe-empty/index.min.js +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/index.js +0 -22
- package/lib/vxe-form/index.min.js +0 -1
- package/lib/vxe-form/style/index.js +0 -1
- package/lib/vxe-form/style/style.css +0 -621
- package/lib/vxe-form/style/style.min.css +0 -1
- package/lib/vxe-form-gather/index.js +0 -22
- package/lib/vxe-form-gather/index.min.js +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/index.js +0 -22
- package/lib/vxe-form-group/index.min.js +0 -1
- 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/index.js +0 -22
- package/lib/vxe-form-item/index.min.js +0 -1
- 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/index.js +0 -22
- package/lib/vxe-icon/index.min.js +0 -1
- package/lib/vxe-icon/style/index.js +0 -1
- package/lib/vxe-icon/style/style.css +0 -1034
- package/lib/vxe-icon/style/style.min.css +0 -1
- package/lib/vxe-icon-picker/index.js +0 -22
- package/lib/vxe-icon-picker/index.min.js +0 -1
- package/lib/vxe-icon-picker/style/index.js +0 -1
- package/lib/vxe-icon-picker/style/style.css +0 -242
- package/lib/vxe-icon-picker/style/style.min.css +0 -1
- package/lib/vxe-image/index.js +0 -22
- package/lib/vxe-image/index.min.js +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/index.js +0 -22
- package/lib/vxe-image-group/index.min.js +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/index.js +0 -22
- package/lib/vxe-image-preview/index.min.js +0 -1
- package/lib/vxe-image-preview/style/index.js +0 -1
- package/lib/vxe-image-preview/style/style.css +0 -218
- package/lib/vxe-image-preview/style/style.min.css +0 -1
- package/lib/vxe-input/index.js +0 -22
- package/lib/vxe-input/index.min.js +0 -1
- package/lib/vxe-input/style/index.js +0 -1
- package/lib/vxe-input/style/style.css +0 -1025
- package/lib/vxe-input/style/style.min.css +0 -1
- package/lib/vxe-layout-aside/index.js +0 -22
- package/lib/vxe-layout-aside/index.min.js +0 -1
- package/lib/vxe-layout-aside/style/index.js +0 -1
- package/lib/vxe-layout-aside/style/style.css +0 -26
- package/lib/vxe-layout-aside/style/style.min.css +0 -1
- package/lib/vxe-layout-body/index.js +0 -22
- package/lib/vxe-layout-body/index.min.js +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/index.js +0 -22
- package/lib/vxe-layout-container/index.min.js +0 -1
- package/lib/vxe-layout-container/style/index.js +0 -1
- package/lib/vxe-layout-container/style/style.css +0 -28
- package/lib/vxe-layout-container/style/style.min.css +0 -1
- package/lib/vxe-layout-footer/index.js +0 -22
- package/lib/vxe-layout-footer/index.min.js +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/index.js +0 -22
- package/lib/vxe-layout-header/index.min.js +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/index.js +0 -22
- package/lib/vxe-link/index.min.js +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/index.js +0 -22
- package/lib/vxe-list/index.min.js +0 -1
- package/lib/vxe-list/style/index.js +0 -1
- package/lib/vxe-list/style/style.css +0 -379
- package/lib/vxe-list/style/style.min.css +0 -1
- package/lib/vxe-loading/index.js +0 -22
- package/lib/vxe-loading/index.min.js +0 -1
- package/lib/vxe-loading/style/index.js +0 -1
- package/lib/vxe-loading/style/style.css +0 -120
- package/lib/vxe-loading/style/style.min.css +0 -1
- package/lib/vxe-mention/index.js +0 -22
- package/lib/vxe-mention/index.min.js +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/index.js +0 -22
- package/lib/vxe-menu/index.min.js +0 -1
- package/lib/vxe-menu/style/index.js +0 -1
- package/lib/vxe-menu/style/style.css +0 -140
- package/lib/vxe-menu/style/style.min.css +0 -1
- package/lib/vxe-modal/index.js +0 -22
- package/lib/vxe-modal/index.min.js +0 -1
- package/lib/vxe-modal/style/index.js +0 -1
- package/lib/vxe-modal/style/style.css +0 -415
- package/lib/vxe-modal/style/style.min.css +0 -1
- package/lib/vxe-notice-bar/index.js +0 -22
- package/lib/vxe-notice-bar/index.min.js +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/index.js +0 -22
- package/lib/vxe-number-input/index.min.js +0 -1
- package/lib/vxe-number-input/style/index.js +0 -1
- package/lib/vxe-number-input/style/style.css +0 -274
- package/lib/vxe-number-input/style/style.min.css +0 -1
- package/lib/vxe-optgroup/index.js +0 -22
- package/lib/vxe-optgroup/index.min.js +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/index.js +0 -22
- package/lib/vxe-option/index.min.js +0 -1
- 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/index.js +0 -22
- package/lib/vxe-pager/index.min.js +0 -1
- package/lib/vxe-pager/style/index.js +0 -1
- package/lib/vxe-pager/style/style.css +0 -341
- package/lib/vxe-pager/style/style.min.css +0 -1
- package/lib/vxe-password-input/index.js +0 -22
- package/lib/vxe-password-input/index.min.js +0 -1
- package/lib/vxe-password-input/style/index.js +0 -1
- package/lib/vxe-password-input/style/style.css +0 -598
- package/lib/vxe-password-input/style/style.min.css +0 -1
- package/lib/vxe-print/index.js +0 -22
- package/lib/vxe-print/index.min.js +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/index.js +0 -22
- package/lib/vxe-print-page-break/index.min.js +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/index.js +0 -22
- package/lib/vxe-pulldown/index.min.js +0 -1
- package/lib/vxe-pulldown/style/index.js +0 -1
- package/lib/vxe-pulldown/style/style.css +0 -109
- package/lib/vxe-pulldown/style/style.min.css +0 -1
- package/lib/vxe-radio/index.js +0 -22
- package/lib/vxe-radio/index.min.js +0 -1
- package/lib/vxe-radio/style/index.js +0 -1
- package/lib/vxe-radio/style/style.css +0 -108
- package/lib/vxe-radio/style/style.min.css +0 -1
- package/lib/vxe-radio-button/index.js +0 -22
- package/lib/vxe-radio-button/index.min.js +0 -1
- package/lib/vxe-radio-button/style/index.js +0 -1
- package/lib/vxe-radio-button/style/style.css +0 -202
- package/lib/vxe-radio-button/style/style.min.css +0 -1
- package/lib/vxe-radio-group/index.js +0 -22
- package/lib/vxe-radio-group/index.min.js +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/index.js +0 -22
- package/lib/vxe-rate/index.min.js +0 -1
- 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/index.js +0 -22
- package/lib/vxe-result/index.min.js +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/index.js +0 -22
- package/lib/vxe-row/index.min.js +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/index.js +0 -22
- package/lib/vxe-segmented/index.min.js +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/index.js +0 -22
- package/lib/vxe-select/index.min.js +0 -1
- package/lib/vxe-select/style/index.js +0 -1
- package/lib/vxe-select/style/style.css +0 -370
- package/lib/vxe-select/style/style.min.css +0 -1
- package/lib/vxe-slider/index.js +0 -22
- package/lib/vxe-slider/index.min.js +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/index.js +0 -22
- package/lib/vxe-split/index.min.js +0 -1
- package/lib/vxe-split/style/index.js +0 -1
- package/lib/vxe-split/style/style.css +0 -295
- package/lib/vxe-split/style/style.min.css +0 -1
- package/lib/vxe-split-pane/index.js +0 -22
- package/lib/vxe-split-pane/index.min.js +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/index.js +0 -22
- package/lib/vxe-splitter/index.min.js +0 -1
- package/lib/vxe-splitter/style/index.js +0 -1
- package/lib/vxe-splitter/style/style.css +0 -295
- package/lib/vxe-splitter/style/style.min.css +0 -1
- package/lib/vxe-splitter-panel/index.js +0 -22
- package/lib/vxe-splitter-panel/index.min.js +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/index.js +0 -22
- package/lib/vxe-steps/index.min.js +0 -1
- 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/index.js +0 -22
- package/lib/vxe-switch/index.min.js +0 -1
- package/lib/vxe-switch/style/index.js +0 -1
- package/lib/vxe-switch/style/style.css +0 -111
- package/lib/vxe-switch/style/style.min.css +0 -1
- package/lib/vxe-tab-pane/index.js +0 -22
- package/lib/vxe-tab-pane/index.min.js +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/index.js +0 -22
- package/lib/vxe-table-select/index.min.js +0 -1
- package/lib/vxe-table-select/style/index.js +0 -1
- package/lib/vxe-table-select/style/style.css +0 -134
- package/lib/vxe-table-select/style/style.min.css +0 -1
- package/lib/vxe-table-transfer/index.js +0 -22
- package/lib/vxe-table-transfer/index.min.js +0 -1
- package/lib/vxe-table-transfer/style/index.js +0 -1
- package/lib/vxe-table-transfer/style/style.css +0 -0
- package/lib/vxe-table-transfer/style/style.min.css +0 -0
- package/lib/vxe-tabs/index.js +0 -22
- package/lib/vxe-tabs/index.min.js +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/index.js +0 -22
- package/lib/vxe-tag/index.min.js +0 -1
- package/lib/vxe-tag/style/index.js +0 -1
- package/lib/vxe-tag/style/style.css +0 -187
- package/lib/vxe-tag/style/style.min.css +0 -1
- package/lib/vxe-text/index.js +0 -22
- package/lib/vxe-text/index.min.js +0 -1
- package/lib/vxe-text/style/index.js +0 -1
- package/lib/vxe-text/style/style.css +0 -138
- package/lib/vxe-text/style/style.min.css +0 -1
- package/lib/vxe-text-ellipsis/index.js +0 -22
- package/lib/vxe-text-ellipsis/index.min.js +0 -1
- package/lib/vxe-text-ellipsis/style/index.js +0 -1
- package/lib/vxe-text-ellipsis/style/style.css +0 -115
- package/lib/vxe-text-ellipsis/style/style.min.css +0 -1
- package/lib/vxe-textarea/index.js +0 -22
- package/lib/vxe-textarea/index.min.js +0 -1
- package/lib/vxe-textarea/style/index.js +0 -1
- package/lib/vxe-textarea/style/style.css +0 -119
- package/lib/vxe-textarea/style/style.min.css +0 -1
- package/lib/vxe-timeline/index.js +0 -22
- package/lib/vxe-timeline/index.min.js +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/index.js +0 -22
- package/lib/vxe-timeline-item/index.min.js +0 -1
- 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/index.js +0 -22
- package/lib/vxe-tip/index.min.js +0 -1
- 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/index.js +0 -22
- package/lib/vxe-tooltip/index.min.js +0 -1
- package/lib/vxe-tooltip/style/index.js +0 -1
- package/lib/vxe-tooltip/style/style.css +0 -117
- package/lib/vxe-tooltip/style/style.min.css +0 -1
- package/lib/vxe-tour/index.js +0 -22
- package/lib/vxe-tour/index.min.js +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-transfer/index.js +0 -22
- package/lib/vxe-transfer/index.min.js +0 -1
- package/lib/vxe-transfer/style/index.js +0 -1
- package/lib/vxe-transfer/style/style.css +0 -0
- package/lib/vxe-transfer/style/style.min.css +0 -0
- package/lib/vxe-tree/index.js +0 -22
- package/lib/vxe-tree/index.min.js +0 -1
- package/lib/vxe-tree/style/index.js +0 -1
- package/lib/vxe-tree/style/style.css +0 -385
- package/lib/vxe-tree/style/style.min.css +0 -1
- package/lib/vxe-tree-select/index.js +0 -22
- package/lib/vxe-tree-select/index.min.js +0 -1
- package/lib/vxe-tree-select/style/index.js +0 -1
- package/lib/vxe-tree-select/style/style.css +0 -194
- package/lib/vxe-tree-select/style/style.min.css +0 -1
- package/lib/vxe-u-i/index.js +0 -22
- package/lib/vxe-u-i/index.min.js +0 -1
- package/lib/vxe-ui/index.js +0 -22
- package/lib/vxe-ui/index.min.js +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/index.js +0 -22
- package/lib/vxe-upload/index.min.js +0 -1
- package/lib/vxe-upload/style/index.js +0 -1
- package/lib/vxe-upload/style/style.css +0 -483
- package/lib/vxe-upload/style/style.min.css +0 -1
- package/lib/vxe-watermark/index.js +0 -22
- package/lib/vxe-watermark/index.min.js +0 -1
- package/lib/vxe-watermark/style/index.js +0 -1
- package/lib/vxe-watermark/style/style.css +0 -30
- package/lib/vxe-watermark/style/style.min.css +0 -1
- package/lib/watermark/index.js +0 -31
- package/lib/watermark/index.min.js +0 -1
- package/lib/watermark/src/util.js +0 -164
- package/lib/watermark/src/util.min.js +0 -1
- package/lib/watermark/src/watermark.js +0 -170
- package/lib/watermark/src/watermark.min.js +0 -1
- package/lib/watermark/style/index.js +0 -1
- package/lib/watermark/style/style.css +0 -30
- package/lib/watermark/style/style.min.css +0 -1
package/es/modal/src/modal.js
DELETED
|
@@ -1,1608 +0,0 @@
|
|
|
1
|
-
import { defineVxeComponent } from '../../ui/src/comp';
|
|
2
|
-
import XEUtils from 'xe-utils';
|
|
3
|
-
import { VxeUI, getConfig, getI18n, getIcon, createEvent, globalEvents, globalMixins, renderEmptyElement, GLOBAL_EVENT_KEYS } from '../../ui';
|
|
4
|
-
import { getDomNode, getEventTargetNode, toCssUnit } from '../../ui/src/dom';
|
|
5
|
-
import { getLastZIndex, nextZIndex, getSubLastZIndex, nextSubZIndex, getFuncText, handleBooleanDefaultValue } from '../../ui/src/utils';
|
|
6
|
-
import VxeButtonComponent from '../../button';
|
|
7
|
-
import VxeLoadingComponent from '../../loading';
|
|
8
|
-
import { getSlotVNs } from '../../ui/src/vn';
|
|
9
|
-
import { createComponentLog } from '../../ui/src/log';
|
|
10
|
-
const { warnLog, errLog } = createComponentLog('modal');
|
|
11
|
-
export const allActiveModals = [];
|
|
12
|
-
const msgQueue = [];
|
|
13
|
-
const notifyQueue = [];
|
|
14
|
-
const lockScrollAttrKey = 'data-vxe-lock-scroll';
|
|
15
|
-
const lockScrollCssWidthKey = '--vxe-ui-modal-lock-scroll-view-width';
|
|
16
|
-
export default {
|
|
17
|
-
name: 'VxeModal',
|
|
18
|
-
mixins: [
|
|
19
|
-
globalMixins.sizeMixin,
|
|
20
|
-
globalMixins.permissionMixin
|
|
21
|
-
],
|
|
22
|
-
props: {
|
|
23
|
-
value: Boolean,
|
|
24
|
-
id: String,
|
|
25
|
-
type: {
|
|
26
|
-
type: String,
|
|
27
|
-
default: 'modal'
|
|
28
|
-
},
|
|
29
|
-
loading: {
|
|
30
|
-
type: Boolean,
|
|
31
|
-
default: null
|
|
32
|
-
},
|
|
33
|
-
status: String,
|
|
34
|
-
iconStatus: String,
|
|
35
|
-
className: String,
|
|
36
|
-
top: {
|
|
37
|
-
type: [Number, String],
|
|
38
|
-
default: () => getConfig().modal.top
|
|
39
|
-
},
|
|
40
|
-
position: [String, Object],
|
|
41
|
-
title: String,
|
|
42
|
-
duration: {
|
|
43
|
-
type: [Number, String],
|
|
44
|
-
default: () => getConfig().modal.duration
|
|
45
|
-
},
|
|
46
|
-
content: [Number, String],
|
|
47
|
-
useHtml: {
|
|
48
|
-
type: Boolean,
|
|
49
|
-
default: () => getConfig().modal.useHtml
|
|
50
|
-
},
|
|
51
|
-
showCancelButton: {
|
|
52
|
-
type: Boolean,
|
|
53
|
-
default: null
|
|
54
|
-
},
|
|
55
|
-
cancelButtonText: {
|
|
56
|
-
type: String,
|
|
57
|
-
default: () => getConfig().modal.cancelButtonText
|
|
58
|
-
},
|
|
59
|
-
showConfirmButton: {
|
|
60
|
-
type: Boolean,
|
|
61
|
-
default: () => getConfig().modal.showConfirmButton
|
|
62
|
-
},
|
|
63
|
-
confirmButtonText: {
|
|
64
|
-
type: String,
|
|
65
|
-
default: () => getConfig().modal.confirmButtonText
|
|
66
|
-
},
|
|
67
|
-
lockView: {
|
|
68
|
-
type: Boolean,
|
|
69
|
-
default: () => getConfig().modal.lockView
|
|
70
|
-
},
|
|
71
|
-
lockScroll: Boolean,
|
|
72
|
-
mask: {
|
|
73
|
-
type: Boolean,
|
|
74
|
-
default: () => getConfig().modal.mask
|
|
75
|
-
},
|
|
76
|
-
maskClosable: {
|
|
77
|
-
type: Boolean,
|
|
78
|
-
default: () => getConfig().modal.maskClosable
|
|
79
|
-
},
|
|
80
|
-
escClosable: {
|
|
81
|
-
type: Boolean,
|
|
82
|
-
default: () => getConfig().modal.escClosable
|
|
83
|
-
},
|
|
84
|
-
cancelClosable: {
|
|
85
|
-
type: Boolean,
|
|
86
|
-
default: () => getConfig().modal.cancelClosable
|
|
87
|
-
},
|
|
88
|
-
confirmClosable: {
|
|
89
|
-
type: Boolean,
|
|
90
|
-
default: () => getConfig().modal.confirmClosable
|
|
91
|
-
},
|
|
92
|
-
resize: Boolean,
|
|
93
|
-
showHeader: {
|
|
94
|
-
type: Boolean,
|
|
95
|
-
default: () => getConfig().modal.showHeader
|
|
96
|
-
},
|
|
97
|
-
showFooter: {
|
|
98
|
-
type: Boolean,
|
|
99
|
-
default: () => getConfig().modal.showFooter
|
|
100
|
-
},
|
|
101
|
-
preload: Boolean,
|
|
102
|
-
showZoom: Boolean,
|
|
103
|
-
zoomConfig: Object,
|
|
104
|
-
showMaximize: {
|
|
105
|
-
type: Boolean,
|
|
106
|
-
default: () => handleBooleanDefaultValue(getConfig().modal.showMaximize)
|
|
107
|
-
},
|
|
108
|
-
showMinimize: {
|
|
109
|
-
type: Boolean,
|
|
110
|
-
default: () => handleBooleanDefaultValue(getConfig().modal.showMinimize)
|
|
111
|
-
},
|
|
112
|
-
showClose: {
|
|
113
|
-
type: Boolean,
|
|
114
|
-
default: () => getConfig().modal.showClose
|
|
115
|
-
},
|
|
116
|
-
dblclickZoom: {
|
|
117
|
-
type: Boolean,
|
|
118
|
-
default: () => getConfig().modal.dblclickZoom
|
|
119
|
-
},
|
|
120
|
-
width: {
|
|
121
|
-
type: [Number, String],
|
|
122
|
-
default: () => getConfig().modal.width
|
|
123
|
-
},
|
|
124
|
-
height: {
|
|
125
|
-
type: [Number, String],
|
|
126
|
-
default: () => getConfig().modal.height
|
|
127
|
-
},
|
|
128
|
-
minWidth: {
|
|
129
|
-
type: [Number, String],
|
|
130
|
-
default: () => getConfig().modal.minWidth
|
|
131
|
-
},
|
|
132
|
-
minHeight: {
|
|
133
|
-
type: [Number, String],
|
|
134
|
-
default: () => getConfig().modal.minHeight
|
|
135
|
-
},
|
|
136
|
-
zIndex: Number,
|
|
137
|
-
marginSize: {
|
|
138
|
-
type: [Number, String],
|
|
139
|
-
default: () => getConfig().modal.marginSize
|
|
140
|
-
},
|
|
141
|
-
fullscreen: Boolean,
|
|
142
|
-
draggable: {
|
|
143
|
-
type: Boolean,
|
|
144
|
-
default: () => getConfig().modal.draggable
|
|
145
|
-
},
|
|
146
|
-
remember: {
|
|
147
|
-
type: Boolean,
|
|
148
|
-
default: () => getConfig().modal.remember
|
|
149
|
-
},
|
|
150
|
-
destroyOnClose: {
|
|
151
|
-
type: Boolean,
|
|
152
|
-
default: () => getConfig().modal.destroyOnClose
|
|
153
|
-
},
|
|
154
|
-
showTitleOverflow: {
|
|
155
|
-
type: Boolean,
|
|
156
|
-
default: () => getConfig().modal.showTitleOverflow
|
|
157
|
-
},
|
|
158
|
-
transfer: {
|
|
159
|
-
type: Boolean,
|
|
160
|
-
default: () => getConfig().modal.transfer
|
|
161
|
-
},
|
|
162
|
-
storage: {
|
|
163
|
-
type: Boolean,
|
|
164
|
-
default: () => getConfig().modal.storage
|
|
165
|
-
},
|
|
166
|
-
storageKey: {
|
|
167
|
-
type: String,
|
|
168
|
-
default: () => getConfig().modal.storageKey
|
|
169
|
-
},
|
|
170
|
-
padding: {
|
|
171
|
-
type: Boolean,
|
|
172
|
-
default: () => getConfig().modal.padding
|
|
173
|
-
},
|
|
174
|
-
size: {
|
|
175
|
-
type: String,
|
|
176
|
-
default: () => getConfig().modal.size || getConfig().size
|
|
177
|
-
},
|
|
178
|
-
beforeHideMethod: Function,
|
|
179
|
-
slots: Object,
|
|
180
|
-
/**
|
|
181
|
-
* 已废弃
|
|
182
|
-
* @deprecated
|
|
183
|
-
*/
|
|
184
|
-
message: [Number, String],
|
|
185
|
-
/**
|
|
186
|
-
* 已废弃
|
|
187
|
-
* @deprecated
|
|
188
|
-
*/
|
|
189
|
-
animat: {
|
|
190
|
-
type: Boolean,
|
|
191
|
-
default: () => getConfig().modal.animat
|
|
192
|
-
}
|
|
193
|
-
},
|
|
194
|
-
inject: {
|
|
195
|
-
$xeParentModal: {
|
|
196
|
-
from: '$xeModal',
|
|
197
|
-
default: null
|
|
198
|
-
},
|
|
199
|
-
$xeDrawer: {
|
|
200
|
-
default: null
|
|
201
|
-
},
|
|
202
|
-
$xeTable: {
|
|
203
|
-
default: null
|
|
204
|
-
},
|
|
205
|
-
$xeForm: {
|
|
206
|
-
default: null
|
|
207
|
-
}
|
|
208
|
-
},
|
|
209
|
-
provide() {
|
|
210
|
-
const $xeModal = this;
|
|
211
|
-
return {
|
|
212
|
-
$xeModal
|
|
213
|
-
};
|
|
214
|
-
},
|
|
215
|
-
data() {
|
|
216
|
-
const xID = XEUtils.uniqueId();
|
|
217
|
-
const reactData = {
|
|
218
|
-
initialized: false,
|
|
219
|
-
visible: false,
|
|
220
|
-
contentVisible: false,
|
|
221
|
-
modalTop: 0,
|
|
222
|
-
modalZindex: 0,
|
|
223
|
-
prevZoomStatus: '',
|
|
224
|
-
zoomStatus: '',
|
|
225
|
-
revertLocat: null,
|
|
226
|
-
prevLocat: null,
|
|
227
|
-
firstOpen: true,
|
|
228
|
-
resizeFlag: 1
|
|
229
|
-
};
|
|
230
|
-
const internalData = {
|
|
231
|
-
msgTimeout: undefined
|
|
232
|
-
};
|
|
233
|
-
return {
|
|
234
|
-
xID,
|
|
235
|
-
reactData,
|
|
236
|
-
internalData
|
|
237
|
-
};
|
|
238
|
-
},
|
|
239
|
-
computed: Object.assign(Object.assign({}, {}), { computeBtnTransfer() {
|
|
240
|
-
const $xeSelect = this;
|
|
241
|
-
const props = $xeSelect;
|
|
242
|
-
const $xeTable = $xeSelect.$xeTable;
|
|
243
|
-
const $xeParentModal = $xeSelect.$xeParentModal;
|
|
244
|
-
const $xeDrawer = $xeSelect.$xeDrawer;
|
|
245
|
-
const $xeForm = $xeSelect.$xeForm;
|
|
246
|
-
const { transfer } = props;
|
|
247
|
-
if (transfer === null) {
|
|
248
|
-
const globalTransfer = getConfig().select.transfer;
|
|
249
|
-
if (XEUtils.isBoolean(globalTransfer)) {
|
|
250
|
-
return globalTransfer;
|
|
251
|
-
}
|
|
252
|
-
if ($xeTable || $xeParentModal || $xeDrawer || $xeForm) {
|
|
253
|
-
return true;
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
return transfer;
|
|
257
|
-
},
|
|
258
|
-
computeIsMsg() {
|
|
259
|
-
const $xeModal = this;
|
|
260
|
-
const props = $xeModal;
|
|
261
|
-
return props.type === 'message' || props.type === 'notification';
|
|
262
|
-
},
|
|
263
|
-
computeIsMinimizeStatus() {
|
|
264
|
-
const $xeModal = this;
|
|
265
|
-
const reactData = $xeModal.reactData;
|
|
266
|
-
return reactData.zoomStatus === 'minimize';
|
|
267
|
-
},
|
|
268
|
-
computeIsMaximizeStatus() {
|
|
269
|
-
const $xeModal = this;
|
|
270
|
-
const reactData = $xeModal.reactData;
|
|
271
|
-
return reactData.zoomStatus === 'maximize';
|
|
272
|
-
},
|
|
273
|
-
computeZoomOpts() {
|
|
274
|
-
const $xeModal = this;
|
|
275
|
-
const props = $xeModal;
|
|
276
|
-
return Object.assign({}, getConfig().modal.zoomConfig, props.zoomConfig);
|
|
277
|
-
} }),
|
|
278
|
-
watch: {
|
|
279
|
-
width() {
|
|
280
|
-
const $xeModal = this;
|
|
281
|
-
$xeModal.recalculate();
|
|
282
|
-
},
|
|
283
|
-
height() {
|
|
284
|
-
const $xeModal = this;
|
|
285
|
-
$xeModal.recalculate();
|
|
286
|
-
},
|
|
287
|
-
value(val) {
|
|
288
|
-
const $xeModal = this;
|
|
289
|
-
if (val) {
|
|
290
|
-
$xeModal.openModal();
|
|
291
|
-
}
|
|
292
|
-
else {
|
|
293
|
-
$xeModal.closeModal('model');
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
},
|
|
297
|
-
methods: {
|
|
298
|
-
//
|
|
299
|
-
// Method
|
|
300
|
-
//
|
|
301
|
-
dispatchEvent(type, params, evnt) {
|
|
302
|
-
const $xeModal = this;
|
|
303
|
-
$xeModal.$emit(type, createEvent(evnt, { $modal: $xeModal }, params));
|
|
304
|
-
},
|
|
305
|
-
emitModel(value) {
|
|
306
|
-
const $xeModal = this;
|
|
307
|
-
const { _events } = $xeModal;
|
|
308
|
-
$xeModal.$emit('input', value);
|
|
309
|
-
if (_events && _events.modelValue) {
|
|
310
|
-
$xeModal.$emit('modelValue', value);
|
|
311
|
-
}
|
|
312
|
-
else {
|
|
313
|
-
$xeModal.$emit('model-value', value);
|
|
314
|
-
}
|
|
315
|
-
},
|
|
316
|
-
callSlot(slotFunc, params, h) {
|
|
317
|
-
const $xeModal = this;
|
|
318
|
-
const slots = $xeModal.$scopedSlots;
|
|
319
|
-
if (slotFunc) {
|
|
320
|
-
if (XEUtils.isString(slotFunc)) {
|
|
321
|
-
slotFunc = slots[slotFunc] || null;
|
|
322
|
-
}
|
|
323
|
-
if (XEUtils.isFunction(slotFunc)) {
|
|
324
|
-
return getSlotVNs(slotFunc.call($xeModal, params, h));
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
return [];
|
|
328
|
-
},
|
|
329
|
-
open() {
|
|
330
|
-
const $xeModal = this;
|
|
331
|
-
return $xeModal.openModal();
|
|
332
|
-
},
|
|
333
|
-
close() {
|
|
334
|
-
const $xeModal = this;
|
|
335
|
-
return $xeModal.closeModal('close');
|
|
336
|
-
},
|
|
337
|
-
getBox() {
|
|
338
|
-
const $xeModal = this;
|
|
339
|
-
const boxElem = $xeModal.$refs.refModalBox;
|
|
340
|
-
return boxElem;
|
|
341
|
-
},
|
|
342
|
-
getPosition() {
|
|
343
|
-
const $xeModal = this;
|
|
344
|
-
const isMsg = $xeModal.computeIsMsg;
|
|
345
|
-
if (!isMsg) {
|
|
346
|
-
const boxElem = $xeModal.getBox();
|
|
347
|
-
if (boxElem) {
|
|
348
|
-
return {
|
|
349
|
-
top: boxElem.offsetTop,
|
|
350
|
-
left: boxElem.offsetLeft
|
|
351
|
-
};
|
|
352
|
-
}
|
|
353
|
-
}
|
|
354
|
-
return null;
|
|
355
|
-
},
|
|
356
|
-
setPosition(top, left) {
|
|
357
|
-
const $xeModal = this;
|
|
358
|
-
const isMsg = $xeModal.computeIsMsg;
|
|
359
|
-
if (!isMsg) {
|
|
360
|
-
const boxElem = $xeModal.getBox();
|
|
361
|
-
if (boxElem) {
|
|
362
|
-
if (XEUtils.isNumber(top)) {
|
|
363
|
-
boxElem.style.top = `${top}px`;
|
|
364
|
-
}
|
|
365
|
-
if (XEUtils.isNumber(left)) {
|
|
366
|
-
boxElem.style.left = `${left}px`;
|
|
367
|
-
}
|
|
368
|
-
}
|
|
369
|
-
}
|
|
370
|
-
return $xeModal.$nextTick();
|
|
371
|
-
},
|
|
372
|
-
isMinimized() {
|
|
373
|
-
const $xeModal = this;
|
|
374
|
-
const reactData = $xeModal.reactData;
|
|
375
|
-
return reactData.zoomStatus === 'minimize';
|
|
376
|
-
},
|
|
377
|
-
isMaximized() {
|
|
378
|
-
const $xeModal = this;
|
|
379
|
-
const reactData = $xeModal.reactData;
|
|
380
|
-
return reactData.zoomStatus === 'maximize';
|
|
381
|
-
},
|
|
382
|
-
zoom() {
|
|
383
|
-
const $xeModal = this;
|
|
384
|
-
return $xeModal.handleZoom();
|
|
385
|
-
},
|
|
386
|
-
minimize() {
|
|
387
|
-
const $xeModal = this;
|
|
388
|
-
const reactData = $xeModal.reactData;
|
|
389
|
-
if (!reactData.visible) {
|
|
390
|
-
return Promise.resolve({
|
|
391
|
-
status: false
|
|
392
|
-
});
|
|
393
|
-
}
|
|
394
|
-
return $xeModal.handleMinimize();
|
|
395
|
-
},
|
|
396
|
-
maximize() {
|
|
397
|
-
const $xeModal = this;
|
|
398
|
-
const reactData = $xeModal.reactData;
|
|
399
|
-
if (!reactData.visible) {
|
|
400
|
-
return Promise.resolve({
|
|
401
|
-
status: false
|
|
402
|
-
});
|
|
403
|
-
}
|
|
404
|
-
return $xeModal.handleMaximize();
|
|
405
|
-
},
|
|
406
|
-
revert() {
|
|
407
|
-
const $xeModal = this;
|
|
408
|
-
const reactData = $xeModal.reactData;
|
|
409
|
-
if (!reactData.visible) {
|
|
410
|
-
return Promise.resolve({
|
|
411
|
-
status: false
|
|
412
|
-
});
|
|
413
|
-
}
|
|
414
|
-
return $xeModal.handleRevert();
|
|
415
|
-
},
|
|
416
|
-
recalculate() {
|
|
417
|
-
const $xeModal = this;
|
|
418
|
-
const props = $xeModal;
|
|
419
|
-
const { width, height, minWidth, minHeight } = props;
|
|
420
|
-
const isMsg = $xeModal.computeIsMsg;
|
|
421
|
-
const isMinimizeStatus = $xeModal.computeIsMinimizeStatus;
|
|
422
|
-
const boxElem = $xeModal.getBox();
|
|
423
|
-
if (boxElem) {
|
|
424
|
-
boxElem.style.width = width ? toCssUnit(width) : '';
|
|
425
|
-
boxElem.style.height = height ? toCssUnit(height) : '';
|
|
426
|
-
boxElem.style.minWidth = !isMsg && !isMinimizeStatus && minWidth ? toCssUnit(minWidth) : '';
|
|
427
|
-
boxElem.style.minHeight = !isMsg && !isMinimizeStatus && minHeight ? toCssUnit(minHeight) : '';
|
|
428
|
-
}
|
|
429
|
-
return $xeModal.$nextTick();
|
|
430
|
-
},
|
|
431
|
-
updateZindex() {
|
|
432
|
-
const $xeModal = this;
|
|
433
|
-
const props = $xeModal;
|
|
434
|
-
const reactData = $xeModal.reactData;
|
|
435
|
-
const { zIndex } = props;
|
|
436
|
-
const { modalZindex } = reactData;
|
|
437
|
-
if (zIndex) {
|
|
438
|
-
reactData.modalZindex = zIndex;
|
|
439
|
-
}
|
|
440
|
-
else {
|
|
441
|
-
const isMsg = $xeModal.computeIsMsg;
|
|
442
|
-
if (isMsg) {
|
|
443
|
-
if (modalZindex < getSubLastZIndex()) {
|
|
444
|
-
reactData.modalZindex = nextSubZIndex();
|
|
445
|
-
}
|
|
446
|
-
}
|
|
447
|
-
else {
|
|
448
|
-
if (modalZindex < getLastZIndex()) {
|
|
449
|
-
reactData.modalZindex = nextZIndex();
|
|
450
|
-
}
|
|
451
|
-
}
|
|
452
|
-
}
|
|
453
|
-
},
|
|
454
|
-
updatePosition() {
|
|
455
|
-
const $xeModal = this;
|
|
456
|
-
const props = $xeModal;
|
|
457
|
-
return $xeModal.$nextTick().then(() => {
|
|
458
|
-
const { position } = props;
|
|
459
|
-
const marginSize = XEUtils.toNumber(props.marginSize);
|
|
460
|
-
const boxElem = $xeModal.getBox();
|
|
461
|
-
if (!boxElem) {
|
|
462
|
-
return;
|
|
463
|
-
}
|
|
464
|
-
const clientVisibleWidth = document.documentElement.clientWidth || document.body.clientWidth;
|
|
465
|
-
const clientVisibleHeight = document.documentElement.clientHeight || document.body.clientHeight;
|
|
466
|
-
const isPosCenter = position === 'center';
|
|
467
|
-
const { top, left } = XEUtils.isString(position) ? { top: position, left: position } : Object.assign({}, position);
|
|
468
|
-
const topCenter = isPosCenter || top === 'center';
|
|
469
|
-
const leftCenter = isPosCenter || left === 'center';
|
|
470
|
-
let posTop = '';
|
|
471
|
-
let posLeft = '';
|
|
472
|
-
if (left && !leftCenter) {
|
|
473
|
-
posLeft = isNaN(left) ? left : `${left}px`;
|
|
474
|
-
}
|
|
475
|
-
else {
|
|
476
|
-
posLeft = `${Math.max(marginSize, clientVisibleWidth / 2 - boxElem.offsetWidth / 2)}px`;
|
|
477
|
-
}
|
|
478
|
-
if (top && !topCenter) {
|
|
479
|
-
posTop = isNaN(top) ? top : `${top}px`;
|
|
480
|
-
}
|
|
481
|
-
else {
|
|
482
|
-
posTop = `${Math.max(marginSize, clientVisibleHeight / 2 - boxElem.offsetHeight / 2)}px`;
|
|
483
|
-
}
|
|
484
|
-
boxElem.style.top = posTop;
|
|
485
|
-
boxElem.style.left = posLeft;
|
|
486
|
-
});
|
|
487
|
-
},
|
|
488
|
-
updateStyle() {
|
|
489
|
-
const $xeModal = this;
|
|
490
|
-
const props = $xeModal;
|
|
491
|
-
$xeModal.$nextTick(() => {
|
|
492
|
-
const { type } = props;
|
|
493
|
-
const queueList = type === 'notification' ? notifyQueue : msgQueue;
|
|
494
|
-
let offsetTop = 0;
|
|
495
|
-
queueList.forEach(comp => {
|
|
496
|
-
const boxElem = comp.getBox();
|
|
497
|
-
if (boxElem) {
|
|
498
|
-
offsetTop += XEUtils.toNumber(comp.top);
|
|
499
|
-
comp.reactData.modalTop = offsetTop;
|
|
500
|
-
offsetTop += boxElem.clientHeight;
|
|
501
|
-
}
|
|
502
|
-
});
|
|
503
|
-
});
|
|
504
|
-
},
|
|
505
|
-
removeActiveQueue() {
|
|
506
|
-
const $xeModal = this;
|
|
507
|
-
if (allActiveModals.indexOf($xeModal) > -1) {
|
|
508
|
-
XEUtils.remove(allActiveModals, item => item === $xeModal);
|
|
509
|
-
}
|
|
510
|
-
},
|
|
511
|
-
removeMsgQueue() {
|
|
512
|
-
const $xeModal = this;
|
|
513
|
-
const props = $xeModal;
|
|
514
|
-
const { type } = props;
|
|
515
|
-
const queueList = type === 'notification' ? notifyQueue : msgQueue;
|
|
516
|
-
if (queueList.indexOf($xeModal) > -1) {
|
|
517
|
-
XEUtils.remove(queueList, comp => comp === $xeModal);
|
|
518
|
-
}
|
|
519
|
-
$xeModal.updateStyle();
|
|
520
|
-
},
|
|
521
|
-
closeModal(type) {
|
|
522
|
-
const $xeModal = this;
|
|
523
|
-
const props = $xeModal;
|
|
524
|
-
const reactData = $xeModal.reactData;
|
|
525
|
-
const { remember } = props;
|
|
526
|
-
const { visible } = reactData;
|
|
527
|
-
const isMsg = $xeModal.computeIsMsg;
|
|
528
|
-
const beforeHideFn = props.beforeHideMethod || getConfig().modal.beforeHideMethod;
|
|
529
|
-
const params = { type };
|
|
530
|
-
if (visible) {
|
|
531
|
-
Promise.resolve(beforeHideFn ? beforeHideFn(params) : null).then((rest) => {
|
|
532
|
-
if (!XEUtils.isError(rest)) {
|
|
533
|
-
if (isMsg) {
|
|
534
|
-
$xeModal.removeMsgQueue();
|
|
535
|
-
}
|
|
536
|
-
reactData.contentVisible = false;
|
|
537
|
-
if (!remember) {
|
|
538
|
-
$xeModal.handleRevert();
|
|
539
|
-
}
|
|
540
|
-
$xeModal.removeActiveQueue();
|
|
541
|
-
$xeModal.dispatchEvent('before-hide', params, null);
|
|
542
|
-
setTimeout(() => {
|
|
543
|
-
reactData.visible = false;
|
|
544
|
-
$xeModal.emitModel(false);
|
|
545
|
-
$xeModal.dispatchEvent('hide', params, null);
|
|
546
|
-
}, 200);
|
|
547
|
-
$xeModal.removeBodyLockScroll();
|
|
548
|
-
}
|
|
549
|
-
}).catch(e => e);
|
|
550
|
-
}
|
|
551
|
-
return $xeModal.$nextTick();
|
|
552
|
-
},
|
|
553
|
-
closeEvent(evnt) {
|
|
554
|
-
const $xeModal = this;
|
|
555
|
-
const type = 'close';
|
|
556
|
-
$xeModal.dispatchEvent(type, { type }, evnt);
|
|
557
|
-
$xeModal.closeModal(type);
|
|
558
|
-
},
|
|
559
|
-
confirmEvent(evnt) {
|
|
560
|
-
const $xeModal = this;
|
|
561
|
-
const props = $xeModal;
|
|
562
|
-
const { confirmClosable } = props;
|
|
563
|
-
const type = 'confirm';
|
|
564
|
-
$xeModal.dispatchEvent(type, { type }, evnt);
|
|
565
|
-
if (confirmClosable) {
|
|
566
|
-
$xeModal.closeModal(type);
|
|
567
|
-
}
|
|
568
|
-
},
|
|
569
|
-
cancelEvent(evnt) {
|
|
570
|
-
const $xeModal = this;
|
|
571
|
-
const props = $xeModal;
|
|
572
|
-
const { cancelClosable } = props;
|
|
573
|
-
const type = 'cancel';
|
|
574
|
-
$xeModal.dispatchEvent(type, { type }, evnt);
|
|
575
|
-
if (cancelClosable) {
|
|
576
|
-
$xeModal.closeModal(type);
|
|
577
|
-
}
|
|
578
|
-
},
|
|
579
|
-
getStorageMap(key) {
|
|
580
|
-
const version = getConfig().version;
|
|
581
|
-
const rest = XEUtils.toStringJSON(localStorage.getItem(key) || '');
|
|
582
|
-
return rest && rest._v === version ? rest : { _v: version };
|
|
583
|
-
},
|
|
584
|
-
hasPosStorage() {
|
|
585
|
-
const $xeModal = this;
|
|
586
|
-
const props = $xeModal;
|
|
587
|
-
const { id, storage, storageKey } = props;
|
|
588
|
-
return !!(id && storage && $xeModal.getStorageMap(storageKey)[id]);
|
|
589
|
-
},
|
|
590
|
-
restorePosStorage() {
|
|
591
|
-
const $xeModal = this;
|
|
592
|
-
const props = $xeModal;
|
|
593
|
-
const reactData = $xeModal.reactData;
|
|
594
|
-
const { id, storage, storageKey } = props;
|
|
595
|
-
if (id && storage) {
|
|
596
|
-
const posStorage = $xeModal.getStorageMap(storageKey)[id];
|
|
597
|
-
if (posStorage) {
|
|
598
|
-
const boxElem = $xeModal.getBox();
|
|
599
|
-
const [left, top, width, height, zoomLeft, zoomTop, zoomWidth, zoomHeight] = posStorage.split(',');
|
|
600
|
-
if (boxElem) {
|
|
601
|
-
if (left) {
|
|
602
|
-
boxElem.style.left = `${left}px`;
|
|
603
|
-
}
|
|
604
|
-
if (top) {
|
|
605
|
-
boxElem.style.top = `${top}px`;
|
|
606
|
-
}
|
|
607
|
-
if (width) {
|
|
608
|
-
boxElem.style.width = `${width}px`;
|
|
609
|
-
}
|
|
610
|
-
if (height) {
|
|
611
|
-
boxElem.style.height = `${height}px`;
|
|
612
|
-
}
|
|
613
|
-
}
|
|
614
|
-
if (zoomLeft && zoomTop) {
|
|
615
|
-
reactData.revertLocat = {
|
|
616
|
-
left: zoomLeft,
|
|
617
|
-
top: zoomTop,
|
|
618
|
-
width: zoomWidth,
|
|
619
|
-
height: zoomHeight
|
|
620
|
-
};
|
|
621
|
-
}
|
|
622
|
-
}
|
|
623
|
-
}
|
|
624
|
-
},
|
|
625
|
-
addMsgQueue() {
|
|
626
|
-
const $xeModal = this;
|
|
627
|
-
const props = $xeModal;
|
|
628
|
-
const { type } = props;
|
|
629
|
-
const queueList = type === 'notification' ? notifyQueue : msgQueue;
|
|
630
|
-
if (queueList.indexOf($xeModal) === -1) {
|
|
631
|
-
queueList.push($xeModal);
|
|
632
|
-
}
|
|
633
|
-
$xeModal.updateStyle();
|
|
634
|
-
},
|
|
635
|
-
savePosStorage() {
|
|
636
|
-
const $xeModal = this;
|
|
637
|
-
const props = $xeModal;
|
|
638
|
-
const reactData = $xeModal.reactData;
|
|
639
|
-
const { id, storage, storageKey } = props;
|
|
640
|
-
const { zoomStatus, revertLocat } = reactData;
|
|
641
|
-
if (zoomStatus) {
|
|
642
|
-
return;
|
|
643
|
-
}
|
|
644
|
-
if (id && storage) {
|
|
645
|
-
const boxElem = $xeModal.getBox();
|
|
646
|
-
if (!boxElem) {
|
|
647
|
-
return;
|
|
648
|
-
}
|
|
649
|
-
const posStorageMap = $xeModal.getStorageMap(storageKey);
|
|
650
|
-
posStorageMap[id] = [
|
|
651
|
-
boxElem.style.left,
|
|
652
|
-
boxElem.style.top,
|
|
653
|
-
boxElem.clientWidth,
|
|
654
|
-
boxElem.clientHeight
|
|
655
|
-
].concat(revertLocat
|
|
656
|
-
? [
|
|
657
|
-
revertLocat.left,
|
|
658
|
-
revertLocat.top,
|
|
659
|
-
revertLocat.width,
|
|
660
|
-
revertLocat.height
|
|
661
|
-
]
|
|
662
|
-
: []).map(val => val ? XEUtils.toNumber(val) : '').join(',');
|
|
663
|
-
localStorage.setItem(storageKey, XEUtils.toJSONString(posStorageMap));
|
|
664
|
-
}
|
|
665
|
-
},
|
|
666
|
-
handleMinimize() {
|
|
667
|
-
const $xeModal = this;
|
|
668
|
-
const reactData = $xeModal.reactData;
|
|
669
|
-
const zoomOpts = $xeModal.computeZoomOpts;
|
|
670
|
-
const { minimizeLayout, minimizeMaxSize, minimizeHorizontalOffset, minimizeVerticalOffset, minimizeOffsetMethod } = zoomOpts;
|
|
671
|
-
const isHorizontalLayout = minimizeLayout === 'horizontal';
|
|
672
|
-
const prevZoomStatus = reactData.zoomStatus;
|
|
673
|
-
const hlMList = [];
|
|
674
|
-
const vlMList = [];
|
|
675
|
-
allActiveModals.forEach(item => {
|
|
676
|
-
if (item.xID !== $xeModal.xID && item.type === 'modal' && item.reactData.zoomStatus === 'minimize') {
|
|
677
|
-
const itemZoomOpts = item.computeZoomOpts;
|
|
678
|
-
if (itemZoomOpts.minimizeLayout === 'horizontal') {
|
|
679
|
-
hlMList.push(item);
|
|
680
|
-
}
|
|
681
|
-
else {
|
|
682
|
-
vlMList.push(item);
|
|
683
|
-
}
|
|
684
|
-
}
|
|
685
|
-
});
|
|
686
|
-
const mList = isHorizontalLayout ? hlMList : vlMList;
|
|
687
|
-
// 如果配置最小化最大数量
|
|
688
|
-
if (minimizeMaxSize && mList.length >= minimizeMaxSize) {
|
|
689
|
-
if (VxeUI.modal) {
|
|
690
|
-
VxeUI.modal.message({
|
|
691
|
-
status: 'error',
|
|
692
|
-
content: getI18n('vxe.modal.miniMaxSize', [minimizeMaxSize])
|
|
693
|
-
});
|
|
694
|
-
}
|
|
695
|
-
return Promise.resolve({
|
|
696
|
-
status: false
|
|
697
|
-
});
|
|
698
|
-
}
|
|
699
|
-
reactData.prevZoomStatus = prevZoomStatus;
|
|
700
|
-
reactData.zoomStatus = 'minimize';
|
|
701
|
-
return $xeModal.$nextTick().then(() => {
|
|
702
|
-
const boxElem = $xeModal.getBox();
|
|
703
|
-
if (!boxElem) {
|
|
704
|
-
return {
|
|
705
|
-
status: false
|
|
706
|
-
};
|
|
707
|
-
}
|
|
708
|
-
const headerEl = $xeModal.$refs.refHeaderElem;
|
|
709
|
-
if (!headerEl) {
|
|
710
|
-
return {
|
|
711
|
-
status: false
|
|
712
|
-
};
|
|
713
|
-
}
|
|
714
|
-
const { visibleHeight } = getDomNode();
|
|
715
|
-
// 如果当前处于复原状态
|
|
716
|
-
if (!prevZoomStatus) {
|
|
717
|
-
reactData.revertLocat = {
|
|
718
|
-
top: boxElem.offsetTop,
|
|
719
|
-
left: boxElem.offsetLeft,
|
|
720
|
-
width: boxElem.offsetWidth + (boxElem.style.width ? 0 : 1),
|
|
721
|
-
height: boxElem.offsetHeight + (boxElem.style.height ? 0 : 1)
|
|
722
|
-
};
|
|
723
|
-
}
|
|
724
|
-
const targetModal = XEUtils[isHorizontalLayout ? 'max' : 'min'](mList, ($modal) => {
|
|
725
|
-
const boxElem = $modal.getBox();
|
|
726
|
-
return boxElem ? XEUtils.toNumber(boxElem.style[isHorizontalLayout ? 'left' : 'top']) : 0;
|
|
727
|
-
});
|
|
728
|
-
let targetTop = visibleHeight - headerEl.offsetHeight - 16;
|
|
729
|
-
let targetLeft = 16;
|
|
730
|
-
if (targetModal) {
|
|
731
|
-
const minBoxElem = targetModal.getBox();
|
|
732
|
-
if (minBoxElem) {
|
|
733
|
-
const boxLeft = XEUtils.toNumber(minBoxElem.style.left);
|
|
734
|
-
const boxTop = XEUtils.toNumber(minBoxElem.style.top);
|
|
735
|
-
let offsetObj = {};
|
|
736
|
-
if (isHorizontalLayout) {
|
|
737
|
-
offsetObj = Object.assign({}, minimizeHorizontalOffset);
|
|
738
|
-
}
|
|
739
|
-
else {
|
|
740
|
-
offsetObj = Object.assign({}, minimizeVerticalOffset);
|
|
741
|
-
}
|
|
742
|
-
targetLeft = boxLeft + XEUtils.toNumber(offsetObj.left);
|
|
743
|
-
targetTop = boxTop + XEUtils.toNumber(offsetObj.top);
|
|
744
|
-
if (minimizeOffsetMethod) {
|
|
745
|
-
offsetObj = minimizeOffsetMethod({
|
|
746
|
-
$modal: $xeModal,
|
|
747
|
-
left: targetLeft,
|
|
748
|
-
top: targetTop
|
|
749
|
-
});
|
|
750
|
-
targetLeft = XEUtils.toNumber(offsetObj.left);
|
|
751
|
-
targetTop = XEUtils.toNumber(offsetObj.top);
|
|
752
|
-
}
|
|
753
|
-
}
|
|
754
|
-
}
|
|
755
|
-
Object.assign(boxElem.style, {
|
|
756
|
-
top: `${targetTop}px`,
|
|
757
|
-
left: `${targetLeft}px`,
|
|
758
|
-
width: '200px',
|
|
759
|
-
height: `${headerEl.offsetHeight}px`,
|
|
760
|
-
minHeight: '',
|
|
761
|
-
minWidth: ''
|
|
762
|
-
});
|
|
763
|
-
$xeModal.savePosStorage();
|
|
764
|
-
return {
|
|
765
|
-
status: true
|
|
766
|
-
};
|
|
767
|
-
});
|
|
768
|
-
},
|
|
769
|
-
handleMaximize() {
|
|
770
|
-
const $xeModal = this;
|
|
771
|
-
const props = $xeModal;
|
|
772
|
-
const reactData = $xeModal.reactData;
|
|
773
|
-
const prevZoomStatus = reactData.zoomStatus;
|
|
774
|
-
reactData.prevZoomStatus = prevZoomStatus;
|
|
775
|
-
reactData.zoomStatus = 'maximize';
|
|
776
|
-
return $xeModal.$nextTick().then(() => {
|
|
777
|
-
const boxElem = $xeModal.getBox();
|
|
778
|
-
if (boxElem) {
|
|
779
|
-
// 如果当前处于复原状态
|
|
780
|
-
if (!prevZoomStatus) {
|
|
781
|
-
const marginSize = XEUtils.toNumber(props.marginSize);
|
|
782
|
-
const clientVisibleWidth = document.documentElement.clientWidth || document.body.clientWidth;
|
|
783
|
-
const clientVisibleHeight = document.documentElement.clientHeight || document.body.clientHeight;
|
|
784
|
-
reactData.revertLocat = {
|
|
785
|
-
top: Math.max(marginSize, clientVisibleHeight / 2 - boxElem.offsetHeight / 2),
|
|
786
|
-
left: Math.max(marginSize, clientVisibleWidth / 2 - boxElem.offsetWidth / 2),
|
|
787
|
-
width: boxElem.offsetWidth + (boxElem.style.width ? 0 : 1),
|
|
788
|
-
height: boxElem.offsetHeight + (boxElem.style.height ? 0 : 1)
|
|
789
|
-
};
|
|
790
|
-
}
|
|
791
|
-
Object.assign(boxElem.style, {
|
|
792
|
-
top: '0',
|
|
793
|
-
left: '0',
|
|
794
|
-
width: '100%',
|
|
795
|
-
height: '100%',
|
|
796
|
-
minHeight: '',
|
|
797
|
-
minWidth: ''
|
|
798
|
-
});
|
|
799
|
-
}
|
|
800
|
-
$xeModal.savePosStorage();
|
|
801
|
-
});
|
|
802
|
-
},
|
|
803
|
-
handleMsgAutoClose() {
|
|
804
|
-
const $xeModal = this;
|
|
805
|
-
const props = $xeModal;
|
|
806
|
-
const internalData = $xeModal.internalData;
|
|
807
|
-
const { duration } = props;
|
|
808
|
-
if (duration !== -1) {
|
|
809
|
-
internalData.msgTimeout = setTimeout(() => $xeModal.closeModal('close'), XEUtils.toNumber(duration));
|
|
810
|
-
}
|
|
811
|
-
},
|
|
812
|
-
removeBodyLockScroll() {
|
|
813
|
-
const $xeModal = this;
|
|
814
|
-
const xID = $xeModal.xID;
|
|
815
|
-
const htmlElem = document.documentElement;
|
|
816
|
-
const lockData = htmlElem.getAttribute(lockScrollAttrKey);
|
|
817
|
-
if (lockData) {
|
|
818
|
-
const lockList = lockData.split(',').filter(key => key !== xID);
|
|
819
|
-
if (lockList.length) {
|
|
820
|
-
htmlElem.setAttribute(lockScrollAttrKey, lockList.join(','));
|
|
821
|
-
}
|
|
822
|
-
else {
|
|
823
|
-
htmlElem.removeAttribute(lockScrollAttrKey);
|
|
824
|
-
htmlElem.style.removeProperty(lockScrollCssWidthKey);
|
|
825
|
-
}
|
|
826
|
-
}
|
|
827
|
-
},
|
|
828
|
-
addBodyLockScroll() {
|
|
829
|
-
const $xeModal = this;
|
|
830
|
-
const props = $xeModal;
|
|
831
|
-
const xID = $xeModal.xID;
|
|
832
|
-
const { lockScroll } = props;
|
|
833
|
-
const isMsg = $xeModal.computeIsMsg;
|
|
834
|
-
if (lockScroll && !isMsg) {
|
|
835
|
-
const htmlElem = document.documentElement;
|
|
836
|
-
const clientWidth = document.body.clientWidth;
|
|
837
|
-
const lockData = htmlElem.getAttribute(lockScrollAttrKey);
|
|
838
|
-
const lockList = lockData ? lockData.split(',') : [];
|
|
839
|
-
if (!lockList.includes(xID)) {
|
|
840
|
-
lockList.push(xID);
|
|
841
|
-
htmlElem.setAttribute(lockScrollAttrKey, lockList.join(','));
|
|
842
|
-
}
|
|
843
|
-
htmlElem.style.setProperty(lockScrollCssWidthKey, `${clientWidth}px`);
|
|
844
|
-
}
|
|
845
|
-
},
|
|
846
|
-
openModal() {
|
|
847
|
-
const $xeModal = this;
|
|
848
|
-
const props = $xeModal;
|
|
849
|
-
const reactData = $xeModal.reactData;
|
|
850
|
-
const { remember, showFooter } = props;
|
|
851
|
-
const { initialized, visible } = reactData;
|
|
852
|
-
const isMsg = $xeModal.computeIsMsg;
|
|
853
|
-
const btnTransfer = $xeModal.computeBtnTransfer;
|
|
854
|
-
if (!initialized) {
|
|
855
|
-
reactData.initialized = true;
|
|
856
|
-
if (btnTransfer) {
|
|
857
|
-
const panelElem = $xeModal.$refs.refElem;
|
|
858
|
-
document.body.appendChild(panelElem);
|
|
859
|
-
}
|
|
860
|
-
}
|
|
861
|
-
if (!visible) {
|
|
862
|
-
$xeModal.addBodyLockScroll();
|
|
863
|
-
reactData.visible = true;
|
|
864
|
-
reactData.contentVisible = false;
|
|
865
|
-
$xeModal.updateZindex();
|
|
866
|
-
allActiveModals.push($xeModal);
|
|
867
|
-
setTimeout(() => {
|
|
868
|
-
reactData.contentVisible = true;
|
|
869
|
-
$xeModal.$nextTick(() => {
|
|
870
|
-
if (!props.fullscreen) {
|
|
871
|
-
$xeModal.recalculate();
|
|
872
|
-
}
|
|
873
|
-
if (showFooter) {
|
|
874
|
-
const confirmBtn = $xeModal.$refs.refConfirmBtn;
|
|
875
|
-
const cancelBtn = $xeModal.$refs.refCancelBtn;
|
|
876
|
-
const operBtn = confirmBtn || cancelBtn;
|
|
877
|
-
if (operBtn) {
|
|
878
|
-
operBtn.focus();
|
|
879
|
-
}
|
|
880
|
-
}
|
|
881
|
-
const type = '';
|
|
882
|
-
const params = { type };
|
|
883
|
-
$xeModal.emitModel(true);
|
|
884
|
-
$xeModal.dispatchEvent('show', params, null);
|
|
885
|
-
});
|
|
886
|
-
}, 10);
|
|
887
|
-
if (isMsg) {
|
|
888
|
-
$xeModal.addMsgQueue();
|
|
889
|
-
$xeModal.handleMsgAutoClose();
|
|
890
|
-
}
|
|
891
|
-
else {
|
|
892
|
-
$xeModal.$nextTick(() => {
|
|
893
|
-
const { firstOpen } = reactData;
|
|
894
|
-
if (firstOpen) {
|
|
895
|
-
reactData.firstOpen = false;
|
|
896
|
-
if ($xeModal.hasPosStorage()) {
|
|
897
|
-
$xeModal.restorePosStorage();
|
|
898
|
-
}
|
|
899
|
-
else {
|
|
900
|
-
if (props.fullscreen) {
|
|
901
|
-
$xeModal.$nextTick(() => $xeModal.handleMaximize());
|
|
902
|
-
}
|
|
903
|
-
else {
|
|
904
|
-
$xeModal.recalculate();
|
|
905
|
-
$xeModal.updatePosition().then(() => {
|
|
906
|
-
setTimeout(() => $xeModal.updatePosition(), 20);
|
|
907
|
-
});
|
|
908
|
-
}
|
|
909
|
-
}
|
|
910
|
-
}
|
|
911
|
-
else {
|
|
912
|
-
if (!remember) {
|
|
913
|
-
$xeModal.recalculate();
|
|
914
|
-
$xeModal.updatePosition().then(() => {
|
|
915
|
-
setTimeout(() => $xeModal.updatePosition(), 20);
|
|
916
|
-
});
|
|
917
|
-
}
|
|
918
|
-
}
|
|
919
|
-
});
|
|
920
|
-
}
|
|
921
|
-
}
|
|
922
|
-
return $xeModal.$nextTick();
|
|
923
|
-
},
|
|
924
|
-
selfClickEvent(evnt) {
|
|
925
|
-
const $xeModal = this;
|
|
926
|
-
const props = $xeModal;
|
|
927
|
-
const el = $xeModal.$refs.refElem;
|
|
928
|
-
if (props.maskClosable && evnt.target === el) {
|
|
929
|
-
const type = 'mask';
|
|
930
|
-
$xeModal.closeModal(type);
|
|
931
|
-
}
|
|
932
|
-
},
|
|
933
|
-
selfMouseoverEvent() {
|
|
934
|
-
const $xeModal = this;
|
|
935
|
-
const internalData = $xeModal.internalData;
|
|
936
|
-
const { msgTimeout } = internalData;
|
|
937
|
-
if (!msgTimeout) {
|
|
938
|
-
return;
|
|
939
|
-
}
|
|
940
|
-
const isMsg = $xeModal.computeIsMsg;
|
|
941
|
-
if (isMsg) {
|
|
942
|
-
clearTimeout(msgTimeout);
|
|
943
|
-
internalData.msgTimeout = undefined;
|
|
944
|
-
}
|
|
945
|
-
},
|
|
946
|
-
selfMouseoutEvent() {
|
|
947
|
-
const $xeModal = this;
|
|
948
|
-
const internalData = $xeModal.internalData;
|
|
949
|
-
const { msgTimeout } = internalData;
|
|
950
|
-
if (!msgTimeout) {
|
|
951
|
-
const isMsg = $xeModal.computeIsMsg;
|
|
952
|
-
if (isMsg) {
|
|
953
|
-
$xeModal.handleMsgAutoClose();
|
|
954
|
-
}
|
|
955
|
-
}
|
|
956
|
-
},
|
|
957
|
-
handleGlobalKeydownEvent(evnt) {
|
|
958
|
-
const $xeModal = this;
|
|
959
|
-
const isEsc = globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.ESCAPE);
|
|
960
|
-
if (isEsc) {
|
|
961
|
-
const lastModal = XEUtils.max(allActiveModals, (item) => item.reactData.modalZindex);
|
|
962
|
-
// 多个时,只关掉最上层的窗口
|
|
963
|
-
if (lastModal) {
|
|
964
|
-
setTimeout(() => {
|
|
965
|
-
if (lastModal === $xeModal && lastModal.escClosable) {
|
|
966
|
-
const type = 'exit';
|
|
967
|
-
$xeModal.dispatchEvent('close', { type }, evnt);
|
|
968
|
-
$xeModal.closeModal(type);
|
|
969
|
-
}
|
|
970
|
-
}, 10);
|
|
971
|
-
}
|
|
972
|
-
}
|
|
973
|
-
},
|
|
974
|
-
handleRevert() {
|
|
975
|
-
const $xeModal = this;
|
|
976
|
-
const reactData = $xeModal.reactData;
|
|
977
|
-
reactData.prevZoomStatus = reactData.zoomStatus;
|
|
978
|
-
reactData.zoomStatus = '';
|
|
979
|
-
return $xeModal.$nextTick().then(() => {
|
|
980
|
-
const { revertLocat } = reactData;
|
|
981
|
-
if (revertLocat) {
|
|
982
|
-
const boxElem = $xeModal.getBox();
|
|
983
|
-
reactData.revertLocat = null;
|
|
984
|
-
if (boxElem) {
|
|
985
|
-
Object.assign(boxElem.style, {
|
|
986
|
-
top: `${revertLocat.top}px`,
|
|
987
|
-
left: `${revertLocat.left}px`,
|
|
988
|
-
width: `${revertLocat.width}px`,
|
|
989
|
-
height: `${revertLocat.height}px`
|
|
990
|
-
});
|
|
991
|
-
}
|
|
992
|
-
$xeModal.savePosStorage();
|
|
993
|
-
return $xeModal.$nextTick().then(() => {
|
|
994
|
-
return {
|
|
995
|
-
status: true
|
|
996
|
-
};
|
|
997
|
-
});
|
|
998
|
-
}
|
|
999
|
-
return {
|
|
1000
|
-
status: false
|
|
1001
|
-
};
|
|
1002
|
-
});
|
|
1003
|
-
},
|
|
1004
|
-
handleZoom(type) {
|
|
1005
|
-
const $xeModal = this;
|
|
1006
|
-
const reactData = $xeModal.reactData;
|
|
1007
|
-
const { zoomStatus } = reactData;
|
|
1008
|
-
return new Promise(resolve => {
|
|
1009
|
-
if (type) {
|
|
1010
|
-
if (type === 'maximize') {
|
|
1011
|
-
resolve($xeModal.handleMaximize());
|
|
1012
|
-
return;
|
|
1013
|
-
}
|
|
1014
|
-
if (type === 'minimize') {
|
|
1015
|
-
resolve($xeModal.handleMinimize());
|
|
1016
|
-
return;
|
|
1017
|
-
}
|
|
1018
|
-
resolve($xeModal.handleRevert());
|
|
1019
|
-
return;
|
|
1020
|
-
}
|
|
1021
|
-
resolve(zoomStatus ? $xeModal.handleRevert() : $xeModal.handleMaximize());
|
|
1022
|
-
}).then(() => {
|
|
1023
|
-
return reactData.zoomStatus || 'revert';
|
|
1024
|
-
});
|
|
1025
|
-
},
|
|
1026
|
-
toggleZoomMinEvent(evnt) {
|
|
1027
|
-
const $xeModal = this;
|
|
1028
|
-
const reactData = $xeModal.reactData;
|
|
1029
|
-
const { zoomStatus, prevZoomStatus } = reactData;
|
|
1030
|
-
return $xeModal.handleZoom(zoomStatus === 'minimize' ? (prevZoomStatus || 'revert') : 'minimize').then((type) => {
|
|
1031
|
-
const params = { type };
|
|
1032
|
-
$xeModal.dispatchEvent('zoom', params, evnt);
|
|
1033
|
-
});
|
|
1034
|
-
},
|
|
1035
|
-
toggleZoomMaxEvent(evnt) {
|
|
1036
|
-
const $xeModal = this;
|
|
1037
|
-
return $xeModal.handleZoom().then((type) => {
|
|
1038
|
-
const params = { type };
|
|
1039
|
-
$xeModal.dispatchEvent('zoom', params, evnt);
|
|
1040
|
-
});
|
|
1041
|
-
},
|
|
1042
|
-
boxMousedownEvent() {
|
|
1043
|
-
const $xeModal = this;
|
|
1044
|
-
const reactData = $xeModal.reactData;
|
|
1045
|
-
const { modalZindex } = reactData;
|
|
1046
|
-
if (allActiveModals.some(comp => comp.reactData.visible && comp.reactData.modalZindex > modalZindex)) {
|
|
1047
|
-
$xeModal.updateZindex();
|
|
1048
|
-
}
|
|
1049
|
-
},
|
|
1050
|
-
mousedownEvent(evnt) {
|
|
1051
|
-
const $xeModal = this;
|
|
1052
|
-
const props = $xeModal;
|
|
1053
|
-
const reactData = $xeModal.reactData;
|
|
1054
|
-
const { storage } = props;
|
|
1055
|
-
const { zoomStatus } = reactData;
|
|
1056
|
-
const marginSize = XEUtils.toNumber(props.marginSize);
|
|
1057
|
-
const boxElem = $xeModal.getBox();
|
|
1058
|
-
if (!boxElem) {
|
|
1059
|
-
return;
|
|
1060
|
-
}
|
|
1061
|
-
if (zoomStatus !== 'maximize' && evnt.button === 0 && !getEventTargetNode(evnt, boxElem, 'trigger--btn').flag) {
|
|
1062
|
-
evnt.preventDefault();
|
|
1063
|
-
const disX = evnt.clientX - boxElem.offsetLeft;
|
|
1064
|
-
const disY = evnt.clientY - boxElem.offsetTop;
|
|
1065
|
-
const { visibleHeight, visibleWidth } = getDomNode();
|
|
1066
|
-
document.onmousemove = evnt => {
|
|
1067
|
-
evnt.preventDefault();
|
|
1068
|
-
const offsetWidth = boxElem.offsetWidth;
|
|
1069
|
-
const offsetHeight = boxElem.offsetHeight;
|
|
1070
|
-
const minX = marginSize;
|
|
1071
|
-
const maxX = visibleWidth - offsetWidth - marginSize - 1;
|
|
1072
|
-
const minY = marginSize;
|
|
1073
|
-
const maxY = visibleHeight - offsetHeight - marginSize - 1;
|
|
1074
|
-
let left = evnt.clientX - disX;
|
|
1075
|
-
let top = evnt.clientY - disY;
|
|
1076
|
-
if (left > maxX) {
|
|
1077
|
-
left = maxX;
|
|
1078
|
-
}
|
|
1079
|
-
if (left < minX) {
|
|
1080
|
-
left = minX;
|
|
1081
|
-
}
|
|
1082
|
-
if (top > maxY) {
|
|
1083
|
-
top = maxY;
|
|
1084
|
-
}
|
|
1085
|
-
if (top < minY) {
|
|
1086
|
-
top = minY;
|
|
1087
|
-
}
|
|
1088
|
-
boxElem.style.left = `${left}px`;
|
|
1089
|
-
boxElem.style.top = `${top}px`;
|
|
1090
|
-
boxElem.className = boxElem.className.replace(/\s?is--drag/, '') + ' is--drag';
|
|
1091
|
-
$xeModal.$emit('move', createEvent(evnt, { type: 'move' }));
|
|
1092
|
-
reactData.resizeFlag++;
|
|
1093
|
-
};
|
|
1094
|
-
document.onmouseup = () => {
|
|
1095
|
-
document.onmousemove = null;
|
|
1096
|
-
document.onmouseup = null;
|
|
1097
|
-
if (storage) {
|
|
1098
|
-
$xeModal.$nextTick(() => {
|
|
1099
|
-
$xeModal.savePosStorage();
|
|
1100
|
-
});
|
|
1101
|
-
}
|
|
1102
|
-
reactData.resizeFlag++;
|
|
1103
|
-
setTimeout(() => {
|
|
1104
|
-
boxElem.className = boxElem.className.replace(/\s?is--drag/, '');
|
|
1105
|
-
}, 50);
|
|
1106
|
-
};
|
|
1107
|
-
}
|
|
1108
|
-
},
|
|
1109
|
-
dragEvent(evnt) {
|
|
1110
|
-
const $xeModal = this;
|
|
1111
|
-
const props = $xeModal;
|
|
1112
|
-
const reactData = $xeModal.reactData;
|
|
1113
|
-
evnt.preventDefault();
|
|
1114
|
-
const { storage } = props;
|
|
1115
|
-
const { visibleHeight, visibleWidth } = getDomNode();
|
|
1116
|
-
const marginSize = XEUtils.toNumber(props.marginSize);
|
|
1117
|
-
const targetElem = evnt.target;
|
|
1118
|
-
const type = targetElem.getAttribute('type');
|
|
1119
|
-
const minWidth = XEUtils.toNumber(props.minWidth);
|
|
1120
|
-
const minHeight = XEUtils.toNumber(props.minHeight);
|
|
1121
|
-
const maxWidth = visibleWidth;
|
|
1122
|
-
const maxHeight = visibleHeight;
|
|
1123
|
-
const boxElem = $xeModal.getBox();
|
|
1124
|
-
const clientWidth = boxElem.clientWidth;
|
|
1125
|
-
const clientHeight = boxElem.clientHeight;
|
|
1126
|
-
const disX = evnt.clientX;
|
|
1127
|
-
const disY = evnt.clientY;
|
|
1128
|
-
const offsetTop = boxElem.offsetTop;
|
|
1129
|
-
const offsetLeft = boxElem.offsetLeft;
|
|
1130
|
-
const params = { type: 'resize' };
|
|
1131
|
-
document.onmousemove = evnt => {
|
|
1132
|
-
evnt.preventDefault();
|
|
1133
|
-
let dragLeft;
|
|
1134
|
-
let dragTop;
|
|
1135
|
-
let width;
|
|
1136
|
-
let height;
|
|
1137
|
-
switch (type) {
|
|
1138
|
-
case 'wl':
|
|
1139
|
-
dragLeft = disX - evnt.clientX;
|
|
1140
|
-
width = dragLeft + clientWidth;
|
|
1141
|
-
if (offsetLeft - dragLeft > marginSize) {
|
|
1142
|
-
if (width > minWidth) {
|
|
1143
|
-
boxElem.style.width = `${width < maxWidth ? width : maxWidth}px`;
|
|
1144
|
-
boxElem.style.left = `${offsetLeft - dragLeft}px`;
|
|
1145
|
-
}
|
|
1146
|
-
}
|
|
1147
|
-
break;
|
|
1148
|
-
case 'swst':
|
|
1149
|
-
dragLeft = disX - evnt.clientX;
|
|
1150
|
-
dragTop = disY - evnt.clientY;
|
|
1151
|
-
width = dragLeft + clientWidth;
|
|
1152
|
-
height = dragTop + clientHeight;
|
|
1153
|
-
if (offsetLeft - dragLeft > marginSize) {
|
|
1154
|
-
if (width > minWidth) {
|
|
1155
|
-
boxElem.style.width = `${width < maxWidth ? width : maxWidth}px`;
|
|
1156
|
-
boxElem.style.left = `${offsetLeft - dragLeft}px`;
|
|
1157
|
-
}
|
|
1158
|
-
}
|
|
1159
|
-
if (offsetTop - dragTop > marginSize) {
|
|
1160
|
-
if (height > minHeight) {
|
|
1161
|
-
boxElem.style.height = `${height < maxHeight ? height : maxHeight}px`;
|
|
1162
|
-
boxElem.style.top = `${offsetTop - dragTop}px`;
|
|
1163
|
-
}
|
|
1164
|
-
}
|
|
1165
|
-
break;
|
|
1166
|
-
case 'swlb':
|
|
1167
|
-
dragLeft = disX - evnt.clientX;
|
|
1168
|
-
dragTop = evnt.clientY - disY;
|
|
1169
|
-
width = dragLeft + clientWidth;
|
|
1170
|
-
height = dragTop + clientHeight;
|
|
1171
|
-
if (offsetLeft - dragLeft > marginSize) {
|
|
1172
|
-
if (width > minWidth) {
|
|
1173
|
-
boxElem.style.width = `${width < maxWidth ? width : maxWidth}px`;
|
|
1174
|
-
boxElem.style.left = `${offsetLeft - dragLeft}px`;
|
|
1175
|
-
}
|
|
1176
|
-
}
|
|
1177
|
-
if (offsetTop + height + marginSize < visibleHeight) {
|
|
1178
|
-
if (height > minHeight) {
|
|
1179
|
-
boxElem.style.height = `${height < maxHeight ? height : maxHeight}px`;
|
|
1180
|
-
}
|
|
1181
|
-
}
|
|
1182
|
-
break;
|
|
1183
|
-
case 'st':
|
|
1184
|
-
dragTop = disY - evnt.clientY;
|
|
1185
|
-
height = clientHeight + dragTop;
|
|
1186
|
-
if (offsetTop - dragTop > marginSize) {
|
|
1187
|
-
if (height > minHeight) {
|
|
1188
|
-
boxElem.style.height = `${height < maxHeight ? height : maxHeight}px`;
|
|
1189
|
-
boxElem.style.top = `${offsetTop - dragTop}px`;
|
|
1190
|
-
}
|
|
1191
|
-
}
|
|
1192
|
-
break;
|
|
1193
|
-
case 'wr':
|
|
1194
|
-
dragLeft = evnt.clientX - disX;
|
|
1195
|
-
width = dragLeft + clientWidth;
|
|
1196
|
-
if (offsetLeft + width + marginSize < visibleWidth) {
|
|
1197
|
-
if (width > minWidth) {
|
|
1198
|
-
boxElem.style.width = `${width < maxWidth ? width : maxWidth}px`;
|
|
1199
|
-
}
|
|
1200
|
-
}
|
|
1201
|
-
break;
|
|
1202
|
-
case 'sest':
|
|
1203
|
-
dragLeft = evnt.clientX - disX;
|
|
1204
|
-
dragTop = disY - evnt.clientY;
|
|
1205
|
-
width = dragLeft + clientWidth;
|
|
1206
|
-
height = dragTop + clientHeight;
|
|
1207
|
-
if (offsetLeft + width + marginSize < visibleWidth) {
|
|
1208
|
-
if (width > minWidth) {
|
|
1209
|
-
boxElem.style.width = `${width < maxWidth ? width : maxWidth}px`;
|
|
1210
|
-
}
|
|
1211
|
-
}
|
|
1212
|
-
if (offsetTop - dragTop > marginSize) {
|
|
1213
|
-
if (height > minHeight) {
|
|
1214
|
-
boxElem.style.height = `${height < maxHeight ? height : maxHeight}px`;
|
|
1215
|
-
boxElem.style.top = `${offsetTop - dragTop}px`;
|
|
1216
|
-
}
|
|
1217
|
-
}
|
|
1218
|
-
break;
|
|
1219
|
-
case 'selb':
|
|
1220
|
-
dragLeft = evnt.clientX - disX;
|
|
1221
|
-
dragTop = evnt.clientY - disY;
|
|
1222
|
-
width = dragLeft + clientWidth;
|
|
1223
|
-
height = dragTop + clientHeight;
|
|
1224
|
-
if (offsetLeft + width + marginSize < visibleWidth) {
|
|
1225
|
-
if (width > minWidth) {
|
|
1226
|
-
boxElem.style.width = `${width < maxWidth ? width : maxWidth}px`;
|
|
1227
|
-
}
|
|
1228
|
-
}
|
|
1229
|
-
if (offsetTop + height + marginSize < visibleHeight) {
|
|
1230
|
-
if (height > minHeight) {
|
|
1231
|
-
boxElem.style.height = `${height < maxHeight ? height : maxHeight}px`;
|
|
1232
|
-
}
|
|
1233
|
-
}
|
|
1234
|
-
break;
|
|
1235
|
-
case 'sb':
|
|
1236
|
-
dragTop = evnt.clientY - disY;
|
|
1237
|
-
height = dragTop + clientHeight;
|
|
1238
|
-
if (offsetTop + height + marginSize < visibleHeight) {
|
|
1239
|
-
if (height > minHeight) {
|
|
1240
|
-
boxElem.style.height = `${height < maxHeight ? height : maxHeight}px`;
|
|
1241
|
-
}
|
|
1242
|
-
}
|
|
1243
|
-
break;
|
|
1244
|
-
}
|
|
1245
|
-
boxElem.className = boxElem.className.replace(/\s?is--drag/, '') + ' is--drag';
|
|
1246
|
-
if (storage) {
|
|
1247
|
-
$xeModal.savePosStorage();
|
|
1248
|
-
}
|
|
1249
|
-
$xeModal.dispatchEvent('resize', params, evnt);
|
|
1250
|
-
};
|
|
1251
|
-
document.onmouseup = () => {
|
|
1252
|
-
reactData.revertLocat = null;
|
|
1253
|
-
document.onmousemove = null;
|
|
1254
|
-
document.onmouseup = null;
|
|
1255
|
-
setTimeout(() => {
|
|
1256
|
-
boxElem.className = boxElem.className.replace(/\s?is--drag/, '');
|
|
1257
|
-
}, 50);
|
|
1258
|
-
};
|
|
1259
|
-
},
|
|
1260
|
-
//
|
|
1261
|
-
// Render
|
|
1262
|
-
//
|
|
1263
|
-
renderTitles(h) {
|
|
1264
|
-
const $xeModal = this;
|
|
1265
|
-
const props = $xeModal;
|
|
1266
|
-
const slots = $xeModal.$scopedSlots;
|
|
1267
|
-
const reactData = $xeModal.reactData;
|
|
1268
|
-
const { slots: propSlots = {}, showClose, showZoom, showMaximize, showMinimize, title } = props;
|
|
1269
|
-
const { zoomStatus } = reactData;
|
|
1270
|
-
const titleSlot = slots.title || propSlots.title;
|
|
1271
|
-
const cornerSlot = slots.corner || propSlots.corner;
|
|
1272
|
-
const isMinimizeStatus = $xeModal.computeIsMinimizeStatus;
|
|
1273
|
-
const isMaximizeStatus = $xeModal.computeIsMaximizeStatus;
|
|
1274
|
-
return [
|
|
1275
|
-
h('div', {
|
|
1276
|
-
class: 'vxe-modal--header-title'
|
|
1277
|
-
}, titleSlot
|
|
1278
|
-
? $xeModal.callSlot(titleSlot, {
|
|
1279
|
-
$modal: $xeModal,
|
|
1280
|
-
minimized: isMinimizeStatus,
|
|
1281
|
-
maximized: isMaximizeStatus
|
|
1282
|
-
}, h)
|
|
1283
|
-
: (title ? getFuncText(title) : getI18n('vxe.alert.title'))),
|
|
1284
|
-
h('div', {
|
|
1285
|
-
class: 'vxe-modal--header-right'
|
|
1286
|
-
}, [
|
|
1287
|
-
cornerSlot && !isMinimizeStatus
|
|
1288
|
-
? h('div', {
|
|
1289
|
-
class: 'vxe-modal--corner-wrapper'
|
|
1290
|
-
}, $xeModal.callSlot(cornerSlot, { $modal: $xeModal }, h))
|
|
1291
|
-
: renderEmptyElement($xeModal),
|
|
1292
|
-
(XEUtils.isBoolean(showMinimize) ? showMinimize : showZoom)
|
|
1293
|
-
? h('div', {
|
|
1294
|
-
class: ['vxe-modal--zoom-btn', 'trigger--btn'],
|
|
1295
|
-
attrs: {
|
|
1296
|
-
title: getI18n(`vxe.modal.zoom${zoomStatus === 'minimize' ? 'Out' : 'Min'}`)
|
|
1297
|
-
},
|
|
1298
|
-
on: {
|
|
1299
|
-
click: $xeModal.toggleZoomMinEvent
|
|
1300
|
-
}
|
|
1301
|
-
}, [
|
|
1302
|
-
h('i', {
|
|
1303
|
-
class: zoomStatus === 'minimize' ? getIcon().MODAL_ZOOM_REVERT : getIcon().MODAL_ZOOM_MIN
|
|
1304
|
-
})
|
|
1305
|
-
])
|
|
1306
|
-
: renderEmptyElement($xeModal),
|
|
1307
|
-
(XEUtils.isBoolean(showMaximize) ? showMaximize : showZoom) && zoomStatus !== 'minimize'
|
|
1308
|
-
? h('div', {
|
|
1309
|
-
class: ['vxe-modal--zoom-btn', 'trigger--btn'],
|
|
1310
|
-
attrs: {
|
|
1311
|
-
title: getI18n(`vxe.modal.zoom${zoomStatus === 'maximize' ? 'Out' : 'In'}`)
|
|
1312
|
-
},
|
|
1313
|
-
on: {
|
|
1314
|
-
click: $xeModal.toggleZoomMaxEvent
|
|
1315
|
-
}
|
|
1316
|
-
}, [
|
|
1317
|
-
h('i', {
|
|
1318
|
-
class: zoomStatus === 'maximize' ? getIcon().MODAL_ZOOM_OUT : getIcon().MODAL_ZOOM_IN
|
|
1319
|
-
})
|
|
1320
|
-
])
|
|
1321
|
-
: renderEmptyElement($xeModal),
|
|
1322
|
-
showClose
|
|
1323
|
-
? h('div', {
|
|
1324
|
-
class: ['vxe-modal--close-btn', 'trigger--btn'],
|
|
1325
|
-
attrs: {
|
|
1326
|
-
title: getI18n('vxe.modal.close')
|
|
1327
|
-
},
|
|
1328
|
-
on: {
|
|
1329
|
-
click: $xeModal.closeEvent
|
|
1330
|
-
}
|
|
1331
|
-
}, [
|
|
1332
|
-
h('i', {
|
|
1333
|
-
class: getIcon().MODAL_CLOSE
|
|
1334
|
-
})
|
|
1335
|
-
])
|
|
1336
|
-
: renderEmptyElement($xeModal)
|
|
1337
|
-
])
|
|
1338
|
-
];
|
|
1339
|
-
},
|
|
1340
|
-
renderHeader(h) {
|
|
1341
|
-
const $xeModal = this;
|
|
1342
|
-
const props = $xeModal;
|
|
1343
|
-
const slots = $xeModal.$scopedSlots;
|
|
1344
|
-
const { slots: propSlots = {}, showZoom, showMaximize, draggable } = props;
|
|
1345
|
-
const headerSlot = slots.header || propSlots.header;
|
|
1346
|
-
if (props.showHeader) {
|
|
1347
|
-
const headerOns = {};
|
|
1348
|
-
if (draggable) {
|
|
1349
|
-
headerOns.mousedown = $xeModal.mousedownEvent;
|
|
1350
|
-
}
|
|
1351
|
-
if ((XEUtils.isBoolean(showMaximize) ? showMaximize : showZoom) && props.dblclickZoom && props.type === 'modal') {
|
|
1352
|
-
headerOns.dblclick = $xeModal.toggleZoomMaxEvent;
|
|
1353
|
-
}
|
|
1354
|
-
return h('div', {
|
|
1355
|
-
ref: 'refHeaderElem',
|
|
1356
|
-
class: ['vxe-modal--header', {
|
|
1357
|
-
'is--ellipsis': props.showTitleOverflow
|
|
1358
|
-
}],
|
|
1359
|
-
on: headerOns
|
|
1360
|
-
}, headerSlot ? $xeModal.callSlot(headerSlot, { $modal: $xeModal }, h) : $xeModal.renderTitles(h));
|
|
1361
|
-
}
|
|
1362
|
-
return renderEmptyElement($xeModal);
|
|
1363
|
-
},
|
|
1364
|
-
renderBody(h) {
|
|
1365
|
-
const $xeModal = this;
|
|
1366
|
-
const props = $xeModal;
|
|
1367
|
-
const slots = $xeModal.$scopedSlots;
|
|
1368
|
-
const { slots: propSlots = {}, status, message, iconStatus, useHtml } = props;
|
|
1369
|
-
const content = props.content || message;
|
|
1370
|
-
const isMsg = $xeModal.computeIsMsg;
|
|
1371
|
-
const defaultSlot = slots.default || propSlots.default;
|
|
1372
|
-
const leftSlot = slots.left || propSlots.left;
|
|
1373
|
-
const rightSlot = slots.right || propSlots.right;
|
|
1374
|
-
const contVNs = [];
|
|
1375
|
-
if (!isMsg && (status || iconStatus)) {
|
|
1376
|
-
contVNs.push(h('div', {
|
|
1377
|
-
class: 'vxe-modal--status-wrapper'
|
|
1378
|
-
}, [
|
|
1379
|
-
h('i', {
|
|
1380
|
-
class: ['vxe-modal--status-icon', iconStatus || getIcon()[`MODAL_${status}`.toLocaleUpperCase()]]
|
|
1381
|
-
})
|
|
1382
|
-
]));
|
|
1383
|
-
}
|
|
1384
|
-
contVNs.push(useHtml && !defaultSlot
|
|
1385
|
-
? h('div', {
|
|
1386
|
-
key: 'hc',
|
|
1387
|
-
class: 'vxe-modal--content',
|
|
1388
|
-
domProps: {
|
|
1389
|
-
innerHTML: getFuncText(content)
|
|
1390
|
-
}
|
|
1391
|
-
})
|
|
1392
|
-
: h('div', {
|
|
1393
|
-
key: 'dc',
|
|
1394
|
-
class: 'vxe-modal--content'
|
|
1395
|
-
}, defaultSlot ? $xeModal.callSlot(defaultSlot, { $modal: $xeModal }, h) : getFuncText(content)));
|
|
1396
|
-
return h('div', {
|
|
1397
|
-
class: 'vxe-modal--body'
|
|
1398
|
-
}, [
|
|
1399
|
-
leftSlot
|
|
1400
|
-
? h('div', {
|
|
1401
|
-
class: 'vxe-modal--body-left'
|
|
1402
|
-
}, $xeModal.callSlot(leftSlot, { $modal: $xeModal }, h))
|
|
1403
|
-
: renderEmptyElement($xeModal),
|
|
1404
|
-
h('div', {
|
|
1405
|
-
class: 'vxe-modal--body-default'
|
|
1406
|
-
}, contVNs),
|
|
1407
|
-
rightSlot
|
|
1408
|
-
? h('div', {
|
|
1409
|
-
class: 'vxe-modal--body-right'
|
|
1410
|
-
}, $xeModal.callSlot(rightSlot, { $modal: $xeModal }, h))
|
|
1411
|
-
: renderEmptyElement($xeModal),
|
|
1412
|
-
isMsg
|
|
1413
|
-
? renderEmptyElement($xeModal)
|
|
1414
|
-
: h(VxeLoadingComponent, {
|
|
1415
|
-
class: 'vxe-modal--loading',
|
|
1416
|
-
props: {
|
|
1417
|
-
value: props.loading
|
|
1418
|
-
}
|
|
1419
|
-
})
|
|
1420
|
-
]);
|
|
1421
|
-
},
|
|
1422
|
-
renderDefaultFooter(h) {
|
|
1423
|
-
const $xeModal = this;
|
|
1424
|
-
const props = $xeModal;
|
|
1425
|
-
const slots = $xeModal.$scopedSlots;
|
|
1426
|
-
const { slots: propSlots = {}, showCancelButton, showConfirmButton, type, loading } = props;
|
|
1427
|
-
const lfSlot = slots.leftfoot || propSlots.leftfoot;
|
|
1428
|
-
const rfSlot = slots.rightfoot || propSlots.rightfoot;
|
|
1429
|
-
const btnVNs = [];
|
|
1430
|
-
if (XEUtils.isBoolean(showCancelButton) ? showCancelButton : type === 'confirm') {
|
|
1431
|
-
btnVNs.push(h(VxeButtonComponent, {
|
|
1432
|
-
key: 1,
|
|
1433
|
-
ref: 'refCancelBtn',
|
|
1434
|
-
props: {
|
|
1435
|
-
content: props.cancelButtonText || getI18n('vxe.button.cancel')
|
|
1436
|
-
},
|
|
1437
|
-
on: {
|
|
1438
|
-
click: $xeModal.cancelEvent
|
|
1439
|
-
}
|
|
1440
|
-
}));
|
|
1441
|
-
}
|
|
1442
|
-
if (XEUtils.isBoolean(showConfirmButton) ? showConfirmButton : (type === 'confirm' || type === 'alert')) {
|
|
1443
|
-
btnVNs.push(h(VxeButtonComponent, {
|
|
1444
|
-
key: 2,
|
|
1445
|
-
ref: 'refConfirmBtn',
|
|
1446
|
-
props: {
|
|
1447
|
-
status: 'primary',
|
|
1448
|
-
loading: loading,
|
|
1449
|
-
content: props.confirmButtonText || getI18n('vxe.button.confirm')
|
|
1450
|
-
},
|
|
1451
|
-
on: {
|
|
1452
|
-
click: $xeModal.confirmEvent
|
|
1453
|
-
}
|
|
1454
|
-
}));
|
|
1455
|
-
}
|
|
1456
|
-
return h('div', {
|
|
1457
|
-
class: 'vxe-modal--footer-wrapper'
|
|
1458
|
-
}, [
|
|
1459
|
-
h('div', {
|
|
1460
|
-
class: 'vxe-modal--footer-left'
|
|
1461
|
-
}, lfSlot ? $xeModal.callSlot(lfSlot, { $modal: $xeModal }, h) : []),
|
|
1462
|
-
h('div', {
|
|
1463
|
-
class: 'vxe-modal--footer-right'
|
|
1464
|
-
}, rfSlot ? $xeModal.callSlot(rfSlot, { $modal: $xeModal }, h) : btnVNs)
|
|
1465
|
-
]);
|
|
1466
|
-
},
|
|
1467
|
-
renderFooter(h) {
|
|
1468
|
-
const $xeModal = this;
|
|
1469
|
-
const props = $xeModal;
|
|
1470
|
-
const slots = $xeModal.$scopedSlots;
|
|
1471
|
-
const { slots: propSlots = {} } = props;
|
|
1472
|
-
const footerSlot = slots.footer || propSlots.footer;
|
|
1473
|
-
if (props.showFooter) {
|
|
1474
|
-
return h('div', {
|
|
1475
|
-
class: 'vxe-modal--footer'
|
|
1476
|
-
}, footerSlot ? $xeModal.callSlot(footerSlot, { $modal: $xeModal }, h) : [$xeModal.renderDefaultFooter(h)]);
|
|
1477
|
-
}
|
|
1478
|
-
return renderEmptyElement($xeModal);
|
|
1479
|
-
},
|
|
1480
|
-
renderVN(h) {
|
|
1481
|
-
const $xeModal = this;
|
|
1482
|
-
const props = $xeModal;
|
|
1483
|
-
const slots = $xeModal.$scopedSlots;
|
|
1484
|
-
const reactData = $xeModal.reactData;
|
|
1485
|
-
const { slots: propSlots = {}, className, type, animat, draggable, iconStatus, position, loading, destroyOnClose, status, lockScroll, padding, lockView, mask, resize } = props;
|
|
1486
|
-
const { initialized, modalTop, contentVisible, visible, zoomStatus } = reactData;
|
|
1487
|
-
const asideSlot = slots.aside || propSlots.aside;
|
|
1488
|
-
const vSize = $xeModal.computeSize;
|
|
1489
|
-
const isMsg = $xeModal.computeIsMsg;
|
|
1490
|
-
const isMinimizeStatus = $xeModal.computeIsMinimizeStatus;
|
|
1491
|
-
const ons = {};
|
|
1492
|
-
if (isMsg) {
|
|
1493
|
-
ons.mouseover = $xeModal.selfMouseoverEvent;
|
|
1494
|
-
ons.mouseout = $xeModal.selfMouseoutEvent;
|
|
1495
|
-
}
|
|
1496
|
-
return h('div', {
|
|
1497
|
-
ref: 'refElem',
|
|
1498
|
-
class: ['vxe-modal--wrapper', `type--${type}`, `zoom--${zoomStatus || 'revert'}`, className || '', position ? `pos--${position}` : '', {
|
|
1499
|
-
[`size--${vSize}`]: vSize,
|
|
1500
|
-
[`status--${status}`]: status,
|
|
1501
|
-
'is--padding': padding,
|
|
1502
|
-
'is--animat': animat,
|
|
1503
|
-
'lock--scroll': lockScroll,
|
|
1504
|
-
'lock--view': lockView,
|
|
1505
|
-
'is--draggable': draggable,
|
|
1506
|
-
'is--resize': resize,
|
|
1507
|
-
'is--mask': mask,
|
|
1508
|
-
'is--visible': contentVisible,
|
|
1509
|
-
'is--active': visible,
|
|
1510
|
-
'is--loading': loading
|
|
1511
|
-
}],
|
|
1512
|
-
style: {
|
|
1513
|
-
zIndex: reactData.modalZindex,
|
|
1514
|
-
top: modalTop ? `${modalTop}px` : null
|
|
1515
|
-
},
|
|
1516
|
-
on: Object.assign(Object.assign({}, ons), { click: $xeModal.selfClickEvent })
|
|
1517
|
-
}, initialized
|
|
1518
|
-
? [
|
|
1519
|
-
h('div', {
|
|
1520
|
-
ref: 'refModalBox',
|
|
1521
|
-
class: 'vxe-modal--box',
|
|
1522
|
-
on: {
|
|
1523
|
-
mousedown: $xeModal.boxMousedownEvent
|
|
1524
|
-
}
|
|
1525
|
-
}, [
|
|
1526
|
-
(isMsg || asideSlot) && !isMinimizeStatus
|
|
1527
|
-
? h('div', {
|
|
1528
|
-
class: 'vxe-modal--aside'
|
|
1529
|
-
}, asideSlot
|
|
1530
|
-
? $xeModal.callSlot(asideSlot, { $modal: $xeModal }, h)
|
|
1531
|
-
: [
|
|
1532
|
-
status || iconStatus
|
|
1533
|
-
? h('div', {
|
|
1534
|
-
class: 'vxe-modal--status-wrapper'
|
|
1535
|
-
}, [
|
|
1536
|
-
h('i', {
|
|
1537
|
-
class: ['vxe-modal--status-icon', iconStatus || getIcon()[`MODAL_${status}`.toLocaleUpperCase()]]
|
|
1538
|
-
})
|
|
1539
|
-
])
|
|
1540
|
-
: renderEmptyElement($xeModal)
|
|
1541
|
-
])
|
|
1542
|
-
: renderEmptyElement($xeModal),
|
|
1543
|
-
h('div', {
|
|
1544
|
-
class: 'vxe-modal--container'
|
|
1545
|
-
}, !reactData.initialized || (destroyOnClose && !reactData.visible)
|
|
1546
|
-
? []
|
|
1547
|
-
: [
|
|
1548
|
-
$xeModal.renderHeader(h),
|
|
1549
|
-
$xeModal.renderBody(h),
|
|
1550
|
-
$xeModal.renderFooter(h),
|
|
1551
|
-
!isMsg && resize
|
|
1552
|
-
? h('span', {
|
|
1553
|
-
class: 'vxe-modal--resize'
|
|
1554
|
-
}, ['wl', 'wr', 'swst', 'sest', 'st', 'swlb', 'selb', 'sb'].map(type => {
|
|
1555
|
-
return h('span', {
|
|
1556
|
-
class: `${type}-resize`,
|
|
1557
|
-
attrs: {
|
|
1558
|
-
type: type
|
|
1559
|
-
},
|
|
1560
|
-
on: {
|
|
1561
|
-
mousedown: $xeModal.dragEvent
|
|
1562
|
-
}
|
|
1563
|
-
});
|
|
1564
|
-
}))
|
|
1565
|
-
: renderEmptyElement($xeModal)
|
|
1566
|
-
])
|
|
1567
|
-
])
|
|
1568
|
-
]
|
|
1569
|
-
: []);
|
|
1570
|
-
}
|
|
1571
|
-
},
|
|
1572
|
-
mounted() {
|
|
1573
|
-
const $xeModal = this;
|
|
1574
|
-
const slots = $xeModal.$scopedSlots;
|
|
1575
|
-
const props = $xeModal;
|
|
1576
|
-
const reactData = $xeModal.reactData;
|
|
1577
|
-
if (props.type === 'modal' && props.showFooter && !(props.showConfirmButton || props.showCancelButton || slots.footer)) {
|
|
1578
|
-
warnLog('vxe.modal.footPropErr');
|
|
1579
|
-
}
|
|
1580
|
-
reactData.initialized = !!props.preload;
|
|
1581
|
-
$xeModal.$nextTick(() => {
|
|
1582
|
-
if (props.storage && !props.id) {
|
|
1583
|
-
errLog('vxe.error.reqProp', ['[modal] id']);
|
|
1584
|
-
}
|
|
1585
|
-
if (props.value) {
|
|
1586
|
-
$xeModal.openModal();
|
|
1587
|
-
}
|
|
1588
|
-
$xeModal.recalculate();
|
|
1589
|
-
});
|
|
1590
|
-
if (props.escClosable) {
|
|
1591
|
-
globalEvents.on($xeModal, 'keydown', $xeModal.handleGlobalKeydownEvent);
|
|
1592
|
-
}
|
|
1593
|
-
},
|
|
1594
|
-
beforeDestroy() {
|
|
1595
|
-
const $xeModal = this;
|
|
1596
|
-
const panelElem = $xeModal.$refs.refElem;
|
|
1597
|
-
if (panelElem && panelElem.parentNode) {
|
|
1598
|
-
panelElem.parentNode.removeChild(panelElem);
|
|
1599
|
-
}
|
|
1600
|
-
globalEvents.off($xeModal, 'keydown');
|
|
1601
|
-
$xeModal.removeMsgQueue();
|
|
1602
|
-
$xeModal.removeActiveQueue();
|
|
1603
|
-
$xeModal.removeBodyLockScroll();
|
|
1604
|
-
},
|
|
1605
|
-
render(h) {
|
|
1606
|
-
return this.renderVN(h);
|
|
1607
|
-
}
|
|
1608
|
-
};
|