zartui 3.0.6 → 3.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/button/Button.d.ts +3 -0
- package/es/button/Button.mjs +2 -0
- package/es/button/index.d.ts +2 -0
- package/es/cascader/Cascader.mjs +0 -2
- package/es/cascader/index.css +1 -1
- package/es/checkbox/Checkbox.d.ts +1 -1
- package/es/checkbox/Checker.d.ts +2 -2
- package/es/checkbox/index.d.ts +1 -1
- package/es/collapse-item/CollapseItem.mjs +3 -1
- package/es/date-time-picker/DateTimePicker.d.ts +1 -1
- package/es/date-time-picker/DateTimePicker.mjs +9 -3
- package/es/date-time-picker/DateTimePickerWrapper.d.ts +1 -1
- package/es/date-time-picker/index.d.ts +1 -1
- package/es/dialog/index.css +1 -1
- package/es/divider/index.css +1 -1
- package/es/dropdown-item/DropdownItem.mjs +7 -4
- package/es/dropdown-menu/DropdownMenu.mjs +2 -2
- package/es/dropdown-menu/types.d.ts +1 -0
- package/es/empty/Images.mjs +9 -9
- package/es/empty/index.css +1 -1
- package/es/hierarchy-select/Breadcrumb.d.ts +43 -0
- package/es/hierarchy-select/Breadcrumb.mjs +56 -0
- package/es/hierarchy-select/HierarchySelect.d.ts +104 -0
- package/es/hierarchy-select/HierarchySelect.mjs +221 -0
- package/es/hierarchy-select/index.css +1 -0
- package/es/hierarchy-select/index.d.ts +79 -0
- package/es/hierarchy-select/index.mjs +8 -0
- package/es/hierarchy-select/style/index.d.ts +1 -0
- package/es/hierarchy-select/style/index.mjs +8 -0
- package/es/hierarchy-select/svg/SubIcon.d.ts +1 -0
- package/es/hierarchy-select/svg/SubIcon.mjs +33 -0
- package/es/hierarchy-select/types.d.ts +7 -0
- package/es/hierarchy-select/types.mjs +0 -0
- package/es/icon/config.mjs +3 -1
- package/es/icon/index.css +1 -1
- package/es/image-preview/ImagePreview.mjs +1 -1
- package/es/index-anchor/IndexAnchor.d.ts +11 -0
- package/es/index-anchor/IndexAnchor.mjs +88 -0
- package/es/index-anchor/index.css +1 -0
- package/es/index-anchor/index.d.ts +14 -0
- package/es/index-anchor/index.mjs +10 -0
- package/es/index-anchor/style/index.d.ts +1 -0
- package/es/index-anchor/style/index.mjs +3 -0
- package/es/index-anchor/types.d.ts +11 -0
- package/es/index-anchor/types.mjs +0 -0
- package/es/index-bar/IndexBar.d.ts +64 -0
- package/es/index-bar/IndexBar.mjs +275 -0
- package/es/index-bar/index.css +1 -0
- package/es/index-bar/index.d.ts +50 -0
- package/es/index-bar/index.mjs +10 -0
- package/es/index-bar/style/index.d.ts +1 -0
- package/es/index-bar/style/index.mjs +2 -0
- package/es/index-bar/types.d.ts +16 -0
- package/es/index-bar/types.mjs +0 -0
- package/es/index.d.ts +8 -1
- package/es/index.mjs +22 -1
- package/es/lazyload/vue-lazyload/index.mjs +5 -0
- package/es/lazyload/vue-lazyload/lazy.mjs +81 -0
- package/es/lazyload/vue-lazyload/listener.mjs +45 -0
- package/es/list/List.mjs +2 -4
- package/es/list/index.css +1 -1
- package/es/locale/lang/en-US.d.ts +7 -23
- package/es/locale/lang/en-US.mjs +7 -23
- package/es/locale/lang/zh-CN.d.ts +7 -23
- package/es/locale/lang/zh-CN.mjs +7 -23
- package/es/media-picker/MediaPicker.mjs +20 -0
- package/es/media-picker/image/PickFileIcon.mjs +1 -1
- package/es/media-picker/image/PickPhotoIcon.mjs +1 -1
- package/es/media-picker/image/TakeAudioIcon.mjs +1 -1
- package/es/media-picker/image/TakePhotoIcon.mjs +1 -1
- package/es/media-picker/image/TakeVideoIcon.mjs +1 -1
- package/es/media-picker/index.css +1 -1
- package/es/media-picker/util/media-util.mjs +3 -0
- package/es/media-picker/watermark/image-processor.mjs +10 -6
- package/es/media-picker/watermark/resize-options.mjs +1 -0
- package/es/media-picker/watermark/watermark.mjs +4 -0
- package/es/multiple-picker/MultiplePicker.d.ts +4 -4
- package/es/multiple-picker/MultiplePicker.mjs +3 -3
- package/es/multiple-picker/MultiplePickerOptions.d.ts +4 -4
- package/es/multiple-picker/MultiplePickerOptions.mjs +3 -3
- package/es/multiple-picker/index.d.ts +3 -3
- package/es/notice-bar/index.css +1 -1
- package/es/picker/Picker.mjs +7 -4
- package/es/picker/PickerToolbar.mjs +1 -0
- package/es/popover/Popover.d.ts +13 -0
- package/es/popover/Popover.mjs +91 -4
- package/es/popover/index.css +1 -1
- package/es/popover/index.d.ts +9 -0
- package/es/popup/Popup.mjs +1 -0
- package/es/popup/index.css +1 -1
- package/es/popup/shared.mjs +12 -0
- package/es/radio/Radio.d.ts +1 -1
- package/es/radio/index.d.ts +1 -1
- package/es/rate/index.css +1 -1
- package/es/search/Search.d.ts +1 -1
- package/es/search/Search.mjs +1 -0
- package/es/search/index.d.ts +1 -1
- package/es/signature/Signature.mjs +13 -10
- package/es/signature/index.css +1 -1
- package/es/step/Step.mjs +10 -6
- package/es/step/index.css +1 -1
- package/es/stepper/Stepper.mjs +2 -0
- package/es/stepper/index.css +1 -1
- package/es/steps/index.css +1 -1
- package/es/sticky/Sticky.mjs +2 -0
- package/es/style/base.css +1 -1
- package/es/style/css-variables.css +1 -1
- package/es/swipe/Swipe.d.ts +3 -1
- package/es/swipe/Swipe.mjs +19 -2
- package/es/swipe/index.d.ts +3 -1
- package/es/swipe-cell/SwipeCell.d.ts +44 -0
- package/es/swipe-cell/SwipeCell.mjs +163 -0
- package/es/swipe-cell/index.css +1 -0
- package/es/swipe-cell/index.d.ts +39 -0
- package/es/swipe-cell/index.mjs +10 -0
- package/es/swipe-cell/style/index.d.ts +1 -0
- package/es/swipe-cell/style/index.mjs +2 -0
- package/es/swipe-cell/types.d.ts +9 -0
- package/es/swipe-cell/types.mjs +0 -0
- package/es/switch/index.css +1 -1
- package/es/tabbar-item/index.css +1 -1
- package/es/table/Table.d.ts +113 -0
- package/es/table/Table.mjs +118 -0
- package/es/table/index.css +1 -0
- package/es/table/index.d.ts +75 -0
- package/es/table/index.mjs +10 -0
- package/es/table/style/index.d.ts +1 -0
- package/es/table/style/index.mjs +2 -0
- package/es/tabs/Tabs.mjs +2 -0
- package/es/tabs/index.css +1 -1
- package/es/tag/Tag.d.ts +18 -1
- package/es/tag/Tag.mjs +47 -2
- package/es/tag/index.css +1 -1
- package/es/tag/index.d.ts +13 -1
- package/es/text-ellipsis/TextEllipsis.d.ts +76 -0
- package/es/text-ellipsis/TextEllipsis.mjs +118 -0
- package/es/text-ellipsis/index.css +1 -0
- package/es/text-ellipsis/index.d.ts +60 -0
- package/es/text-ellipsis/index.mjs +10 -0
- package/es/text-ellipsis/style/index.d.ts +1 -0
- package/es/text-ellipsis/style/index.mjs +2 -0
- package/es/text-ellipsis/types.d.ts +3 -0
- package/es/text-ellipsis/types.mjs +0 -0
- package/es/timeline/Timeline.d.ts +113 -0
- package/es/timeline/Timeline.mjs +162 -0
- package/es/timeline/index.css +1 -0
- package/es/timeline/index.d.ts +75 -0
- package/es/timeline/index.mjs +10 -0
- package/es/timeline/style/index.d.ts +1 -0
- package/es/timeline/style/index.mjs +4 -0
- package/es/uploader/Uploader.d.ts +1 -1
- package/es/uploader/index.d.ts +1 -1
- package/es/uploader/utils.mjs +1 -1
- package/es/utils/dom.d.ts +1 -0
- package/es/utils/dom.mjs +11 -0
- package/lib/action-sheet/index.js +4 -0
- package/lib/avatar/Avatar.js +4 -0
- package/lib/avatar/index.js +4 -0
- package/lib/badge/index.js +4 -0
- package/lib/button/Button.d.ts +3 -0
- package/lib/button/Button.js +2 -0
- package/lib/button/index.d.ts +2 -0
- package/lib/button/index.js +4 -0
- package/lib/calendar/Calendar.js +4 -0
- package/lib/calendar/CalendarMonth.js +4 -0
- package/lib/calendar/index.js +4 -0
- package/lib/cascader/Cascader.js +4 -2
- package/lib/cascader/index.css +1 -1
- package/lib/cascader/index.js +4 -0
- package/lib/cell/index.js +4 -0
- package/lib/cell-group/index.js +4 -0
- package/lib/checkbox/Checkbox.d.ts +1 -1
- package/lib/checkbox/Checkbox.js +4 -0
- package/lib/checkbox/Checker.d.ts +2 -2
- package/lib/checkbox/index.d.ts +1 -1
- package/lib/checkbox/index.js +4 -0
- package/lib/checkbox-group/index.js +4 -0
- package/lib/col/index.js +4 -0
- package/lib/collapse/index.js +4 -0
- package/lib/collapse-item/CollapseItem.js +7 -1
- package/lib/collapse-item/index.js +4 -0
- package/lib/config-provider/index.js +4 -0
- package/lib/date-time-picker/DateTimePicker.d.ts +1 -1
- package/lib/date-time-picker/DateTimePicker.js +13 -3
- package/lib/date-time-picker/DateTimePickerWrapper.d.ts +1 -1
- package/lib/date-time-picker/DateTimePickerWrapper.js +4 -0
- package/lib/date-time-picker/index.d.ts +1 -1
- package/lib/date-time-picker/index.js +4 -0
- package/lib/dialog/function-call.js +4 -0
- package/lib/dialog/index.css +1 -1
- package/lib/dialog/index.js +4 -0
- package/lib/divider/index.css +1 -1
- package/lib/divider/index.js +4 -0
- package/lib/dropdown-item/DropdownItem.js +6 -3
- package/lib/dropdown-item/index.js +4 -0
- package/lib/dropdown-menu/DropdownMenu.js +6 -2
- package/lib/dropdown-menu/index.js +4 -0
- package/lib/dropdown-menu/types.d.ts +1 -0
- package/lib/empty/Images.js +9 -9
- package/lib/empty/index.css +1 -1
- package/lib/empty/index.js +4 -0
- package/lib/field/index.js +4 -0
- package/lib/form/index.js +4 -0
- package/lib/grid/index.js +4 -0
- package/lib/grid-item/index.js +4 -0
- package/lib/hierarchy-select/Breadcrumb.d.ts +43 -0
- package/lib/hierarchy-select/Breadcrumb.js +85 -0
- package/lib/hierarchy-select/HierarchySelect.d.ts +104 -0
- package/lib/hierarchy-select/HierarchySelect.js +250 -0
- package/lib/hierarchy-select/index.css +1 -0
- package/lib/hierarchy-select/index.d.ts +79 -0
- package/lib/hierarchy-select/index.js +37 -0
- package/lib/hierarchy-select/style/index.d.ts +1 -0
- package/lib/hierarchy-select/style/index.js +8 -0
- package/lib/hierarchy-select/svg/SubIcon.d.ts +1 -0
- package/lib/hierarchy-select/svg/SubIcon.js +52 -0
- package/lib/hierarchy-select/types.d.ts +7 -0
- package/lib/hierarchy-select/types.js +15 -0
- package/lib/icon/config.js +3 -1
- package/lib/icon/index.css +1 -1
- package/lib/icon/index.js +4 -0
- package/lib/image/index.js +4 -0
- package/lib/image-preview/ImagePreview.js +5 -1
- package/lib/image-preview/function-call.js +4 -0
- package/lib/image-preview/index.js +4 -0
- package/lib/index-anchor/IndexAnchor.d.ts +11 -0
- package/lib/index-anchor/IndexAnchor.js +107 -0
- package/lib/index-anchor/index.css +1 -0
- package/lib/index-anchor/index.d.ts +14 -0
- package/lib/index-anchor/index.js +39 -0
- package/lib/index-anchor/style/index.d.ts +1 -0
- package/lib/index-anchor/style/index.js +3 -0
- package/lib/index-anchor/types.d.ts +11 -0
- package/lib/index-anchor/types.js +15 -0
- package/lib/index-bar/IndexBar.d.ts +64 -0
- package/lib/index-bar/IndexBar.js +294 -0
- package/lib/index-bar/index.css +1 -0
- package/lib/index-bar/index.d.ts +50 -0
- package/lib/index-bar/index.js +39 -0
- package/lib/index-bar/style/index.d.ts +1 -0
- package/lib/index-bar/style/index.js +2 -0
- package/lib/index-bar/types.d.ts +16 -0
- package/lib/index-bar/types.js +15 -0
- package/lib/index.css +1 -1
- package/lib/index.d.ts +8 -1
- package/lib/index.js +22 -1
- package/lib/lazyload/vue-lazyload/index.js +9 -0
- package/lib/lazyload/vue-lazyload/lazy.js +85 -0
- package/lib/lazyload/vue-lazyload/listener.js +45 -0
- package/lib/list/List.js +2 -4
- package/lib/list/index.css +1 -1
- package/lib/list/index.js +4 -0
- package/lib/loading/index.js +4 -0
- package/lib/locale/index.js +4 -0
- package/lib/locale/lang/en-US.d.ts +7 -23
- package/lib/locale/lang/en-US.js +7 -23
- package/lib/locale/lang/zh-CN.d.ts +7 -23
- package/lib/locale/lang/zh-CN.js +7 -23
- package/lib/media-picker/MediaPicker.js +24 -0
- package/lib/media-picker/image/PickFileIcon.js +1 -1
- package/lib/media-picker/image/PickPhotoIcon.js +1 -1
- package/lib/media-picker/image/TakeAudioIcon.js +1 -1
- package/lib/media-picker/image/TakePhotoIcon.js +1 -1
- package/lib/media-picker/image/TakeVideoIcon.js +1 -1
- package/lib/media-picker/index.css +1 -1
- package/lib/media-picker/index.js +4 -0
- package/lib/media-picker/util/media-util.js +3 -0
- package/lib/media-picker/watermark/image-processor.js +10 -6
- package/lib/media-picker/watermark/resize-options.js +1 -0
- package/lib/media-picker/watermark/watermark.js +4 -0
- package/lib/media-player/MediaPlayer.js +4 -0
- package/lib/media-player/index.js +4 -0
- package/lib/multiple-picker/MultiplePicker.d.ts +4 -4
- package/lib/multiple-picker/MultiplePicker.js +7 -3
- package/lib/multiple-picker/MultiplePickerOptions.d.ts +4 -4
- package/lib/multiple-picker/MultiplePickerOptions.js +3 -3
- package/lib/multiple-picker/index.d.ts +3 -3
- package/lib/multiple-picker/index.js +4 -0
- package/lib/nav-bar/index.js +4 -0
- package/lib/notice-bar/NoticeBar.js +4 -0
- package/lib/notice-bar/index.css +1 -1
- package/lib/notice-bar/index.js +4 -0
- package/lib/notify/function-call.js +4 -0
- package/lib/notify/index.js +4 -0
- package/lib/number-keyboard/NumberKeyboard.js +4 -0
- package/lib/number-keyboard/NumberKeyboardKey.js +4 -0
- package/lib/number-keyboard/index.js +4 -0
- package/lib/overlay/index.js +4 -0
- package/lib/password-input/index.js +4 -0
- package/lib/picker/Picker.js +10 -3
- package/lib/picker/PickerToolbar.js +1 -0
- package/lib/picker/index.js +4 -0
- package/lib/popover/Popover.d.ts +13 -0
- package/lib/popover/Popover.js +90 -3
- package/lib/popover/index.css +1 -1
- package/lib/popover/index.d.ts +9 -0
- package/lib/popover/index.js +4 -0
- package/lib/popup/Popup.js +1 -0
- package/lib/popup/index.css +1 -1
- package/lib/popup/index.js +4 -0
- package/lib/popup/shared.js +12 -0
- package/lib/pull-refresh/index.js +4 -0
- package/lib/radio/Radio.d.ts +1 -1
- package/lib/radio/Radio.js +4 -0
- package/lib/radio/index.d.ts +1 -1
- package/lib/radio/index.js +4 -0
- package/lib/radio-group/index.js +4 -0
- package/lib/rate/index.css +1 -1
- package/lib/rate/index.js +4 -0
- package/lib/row/index.js +4 -0
- package/lib/search/Search.d.ts +1 -1
- package/lib/search/Search.js +1 -0
- package/lib/search/index.d.ts +1 -1
- package/lib/search/index.js +4 -0
- package/lib/signature/Signature.js +16 -9
- package/lib/signature/index.css +1 -1
- package/lib/signature/index.js +4 -0
- package/lib/skeleton/index.js +4 -0
- package/lib/step/Step.js +10 -6
- package/lib/step/index.css +1 -1
- package/lib/step/index.js +4 -0
- package/lib/stepper/Stepper.js +6 -0
- package/lib/stepper/index.css +1 -1
- package/lib/stepper/index.js +4 -0
- package/lib/steps/index.css +1 -1
- package/lib/steps/index.js +4 -0
- package/lib/sticky/Sticky.js +2 -0
- package/lib/sticky/index.js +4 -0
- package/lib/style/base.css +1 -1
- package/lib/style/css-variables.css +1 -1
- package/lib/swipe/Swipe.d.ts +3 -1
- package/lib/swipe/Swipe.js +19 -2
- package/lib/swipe/index.d.ts +3 -1
- package/lib/swipe/index.js +4 -0
- package/lib/swipe-cell/SwipeCell.d.ts +44 -0
- package/lib/swipe-cell/SwipeCell.js +182 -0
- package/lib/swipe-cell/index.css +1 -0
- package/lib/swipe-cell/index.d.ts +39 -0
- package/lib/swipe-cell/index.js +39 -0
- package/lib/swipe-cell/style/index.d.ts +1 -0
- package/lib/swipe-cell/style/index.js +2 -0
- package/lib/swipe-cell/types.d.ts +9 -0
- package/lib/swipe-cell/types.js +15 -0
- package/lib/swipe-item/index.js +4 -0
- package/lib/switch/index.css +1 -1
- package/lib/switch/index.js +4 -0
- package/lib/tab/index.js +4 -0
- package/lib/tabbar/index.js +4 -0
- package/lib/tabbar-item/index.css +1 -1
- package/lib/tabbar-item/index.js +4 -0
- package/lib/table/Table.d.ts +113 -0
- package/lib/table/Table.js +137 -0
- package/lib/table/index.css +1 -0
- package/lib/table/index.d.ts +75 -0
- package/lib/table/index.js +39 -0
- package/lib/table/style/index.d.ts +1 -0
- package/lib/table/style/index.js +2 -0
- package/lib/tabs/Tabs.js +6 -0
- package/lib/tabs/index.css +1 -1
- package/lib/tabs/index.js +4 -0
- package/lib/tag/Tag.d.ts +18 -1
- package/lib/tag/Tag.js +47 -2
- package/lib/tag/index.css +1 -1
- package/lib/tag/index.d.ts +13 -1
- package/lib/tag/index.js +4 -0
- package/lib/text-ellipsis/TextEllipsis.d.ts +76 -0
- package/lib/text-ellipsis/TextEllipsis.js +137 -0
- package/lib/text-ellipsis/index.css +1 -0
- package/lib/text-ellipsis/index.d.ts +60 -0
- package/lib/text-ellipsis/index.js +39 -0
- package/lib/text-ellipsis/style/index.d.ts +1 -0
- package/lib/text-ellipsis/style/index.js +2 -0
- package/lib/text-ellipsis/types.d.ts +3 -0
- package/lib/text-ellipsis/types.js +15 -0
- package/lib/time-picker/TimePicker.js +4 -0
- package/lib/time-picker/TimePickerColumn.js +4 -0
- package/lib/time-picker/index.js +4 -0
- package/lib/timeline/Timeline.d.ts +113 -0
- package/lib/timeline/Timeline.js +191 -0
- package/lib/timeline/index.css +1 -0
- package/lib/timeline/index.d.ts +75 -0
- package/lib/timeline/index.js +39 -0
- package/lib/timeline/style/index.d.ts +1 -0
- package/lib/timeline/style/index.js +4 -0
- package/lib/toast/function-call.js +4 -0
- package/lib/toast/index.js +4 -0
- package/lib/uploader/Uploader.d.ts +1 -1
- package/lib/uploader/Uploader.js +4 -0
- package/lib/uploader/index.d.ts +1 -1
- package/lib/uploader/index.js +4 -0
- package/lib/uploader/utils.js +1 -1
- package/lib/utils/create.js +4 -0
- package/lib/utils/dom.d.ts +1 -0
- package/lib/utils/dom.js +11 -0
- package/lib/web-types.json +1 -1
- package/lib/zartui.cjs.js +2619 -1019
- package/lib/zartui.es.js +2671 -1071
- package/lib/zartui.js +3354 -1218
- package/lib/zartui.min.js +1 -1
- package/package.json +14 -13
package/es/button/Button.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ declare const buttonProps: {
|
|
|
12
12
|
};
|
|
13
13
|
text: StringConstructor;
|
|
14
14
|
icon: StringConstructor;
|
|
15
|
+
iconColor: StringConstructor;
|
|
15
16
|
type: {
|
|
16
17
|
type: PropType<ButtonType>;
|
|
17
18
|
default: ButtonType;
|
|
@@ -57,6 +58,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
57
58
|
};
|
|
58
59
|
text: StringConstructor;
|
|
59
60
|
icon: StringConstructor;
|
|
61
|
+
iconColor: StringConstructor;
|
|
60
62
|
type: {
|
|
61
63
|
type: PropType<ButtonType>;
|
|
62
64
|
default: ButtonType;
|
|
@@ -100,6 +102,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
100
102
|
};
|
|
101
103
|
text: StringConstructor;
|
|
102
104
|
icon: StringConstructor;
|
|
105
|
+
iconColor: StringConstructor;
|
|
103
106
|
type: {
|
|
104
107
|
type: PropType<ButtonType>;
|
|
105
108
|
default: ButtonType;
|
package/es/button/Button.mjs
CHANGED
|
@@ -9,6 +9,7 @@ const buttonProps = extend({}, routeProps, {
|
|
|
9
9
|
tag: makeStringProp("button"),
|
|
10
10
|
text: String,
|
|
11
11
|
icon: String,
|
|
12
|
+
iconColor: String,
|
|
12
13
|
type: makeStringProp("default"),
|
|
13
14
|
size: makeStringProp("normal"),
|
|
14
15
|
color: String,
|
|
@@ -64,6 +65,7 @@ var stdin_default = defineComponent({
|
|
|
64
65
|
if (props.icon) {
|
|
65
66
|
return _createVNode(Icon, {
|
|
66
67
|
"name": props.icon,
|
|
68
|
+
"color": props.iconColor,
|
|
67
69
|
"class": bem("icon", size),
|
|
68
70
|
"classPrefix": props.iconPrefix
|
|
69
71
|
}, null);
|
package/es/button/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export declare const Button: import("../utils").WithInstall<import("vue").Define
|
|
|
9
9
|
};
|
|
10
10
|
text: StringConstructor;
|
|
11
11
|
icon: StringConstructor;
|
|
12
|
+
iconColor: StringConstructor;
|
|
12
13
|
type: {
|
|
13
14
|
type: import("vue").PropType<import("./types").ButtonType>;
|
|
14
15
|
default: import("./types").ButtonType;
|
|
@@ -52,6 +53,7 @@ export declare const Button: import("../utils").WithInstall<import("vue").Define
|
|
|
52
53
|
};
|
|
53
54
|
text: StringConstructor;
|
|
54
55
|
icon: StringConstructor;
|
|
56
|
+
iconColor: StringConstructor;
|
|
55
57
|
type: {
|
|
56
58
|
type: import("vue").PropType<import("./types").ButtonType>;
|
|
57
59
|
default: import("./types").ButtonType;
|
package/es/cascader/Cascader.mjs
CHANGED
|
@@ -219,8 +219,6 @@ var stdin_default = defineComponent({
|
|
|
219
219
|
});
|
|
220
220
|
const renderMenu = () => _createVNode(Button, {
|
|
221
221
|
"class": bem("cancel"),
|
|
222
|
-
"background-color": "rgba(45, 75, 115, 0.04)",
|
|
223
|
-
"color": "#2D4B73",
|
|
224
222
|
"onClick": onCancel
|
|
225
223
|
}, {
|
|
226
224
|
default: () => [_createTextVNode("\u53D6\u6D88")]
|
package/es/cascader/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--zt-cascader-header-height: 44px;--zt-cascader-header-padding: 0 var(--zt-padding-sm);--zt-cascader-title-font-size: var(--zt-font-size-md);--zt-cascader-title-line-height: 44px;--zt-cascader-title-color: var(--zt-gray-a4);--zt-cascader-close-icon-size: 24px;--zt-cascader-close-icon-color: var(--zt-gray-5);--zt-cascader-selected-icon-size: 18px;--zt-cascader-tabs-height: 44px;--zt-cascader-active-color: var(--zt-primary-color);--zt-cascader-height: 75vh;--zt-cascader-option-disabled-color: var(--zt-text-color-3);--zt-cascader-tab-color: var(--zt-text-color);--zt-cascader-unselected-tab-color: var(--zt-gray-a4);--zt-cascader-tabs-margin: 0 8px;--zt-cascader-tabs-padding: 8px;--zt-cascader-tabs-line-height: 44px;--zt-cascader-option-disabled-active-color: rgba(0, 0, 0, .04);--zt-cascader-cancel-margin: 8px 16px;--zt-cascader-cancel-background: rgba(45, 75, 115, .04);--zt-cascader-cancel-width:calc(100% - 32px);--zt-cascader-cancel-border-radius: 20.5px}.zt-cascader{display:flex;justify-content:space-between;flex-direction:column;height:var(--zt-cascader-height)}.zt-cascader__header{display:flex;align-items:center;justify-content:center;flex-shrink:0;height:var(--zt-cascader-header-height);padding:var(--zt-cascader-header-padding)}.zt-cascader__title{font-size:var(--zt-cascader-title-font-size);line-height:var(--zt-cascader-title-line-height);color:var(--zt-cascader-title-color)}.zt-cascader__close-icon{color:var(--zt-cascader-close-icon-color);font-size:var(--zt-cascader-close-icon-size)}.zt-cascader__tabs{flex:1}.zt-cascader__tabs .zt-tab{flex:none;margin:var(--zt-cascader-tabs-margin);padding:0}.zt-cascader__tabs .zt-tabs__wrap{position:relative;height:var(--zt-cascader-tabs-height)}.zt-cascader__tabs .zt-tabs__wrap:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:0;bottom:0;left:0;border-bottom:1px solid var(--zt-border-color);transform:scaleY(.5)}.zt-cascader__tabs .zt-tabs__nav--complete{padding-right:var(--zt-cascader-tabs-padding);padding-left:var(--zt-cascader-tabs-padding)}.zt-cascader__tab{color:var(--zt-cascader-tab-color);font-weight:var(--zt-font-bold);line-height:var(--zt-cascader-tabs-line-height);font-size:var(--zt-font-size-md)}.zt-cascader__tab--unselected{color:var(--zt-cascader-unselected-tab-color);font-weight:400}.zt-cascader__option{display:flex;align-items:center;justify-content:space-between;color:var(--zt-
|
|
1
|
+
:root{--zt-cascader-header-height: 44px;--zt-cascader-header-padding: 0 var(--zt-padding-sm);--zt-cascader-title-font-size: var(--zt-font-size-md);--zt-cascader-title-line-height: 44px;--zt-cascader-title-color: var(--zt-gray-a4);--zt-cascader-close-icon-size: 24px;--zt-cascader-close-icon-color: var(--zt-gray-5);--zt-cascader-selected-icon-size: 18px;--zt-cascader-tabs-height: 44px;--zt-cascader-active-color: var(--zt-primary-color);--zt-cascader-height: 75vh;--zt-cascader-option-disabled-color: var(--zt-text-color-3);--zt-cascader-tab-color: var(--zt-text-color);--zt-cascader-unselected-tab-color: var(--zt-gray-a4);--zt-cascader-tabs-margin: 0 8px;--zt-cascader-tabs-padding: 8px;--zt-cascader-tabs-line-height: 44px;--zt-cascader-option-disabled-active-color: rgba(0, 0, 0, .04);--zt-cascader-cancel-margin: 8px 16px;--zt-cascader-cancel-background: rgba(45, 75, 115, .04);--zt-cascader-cancel-width:calc(100% - 32px);--zt-cascader-cancel-border-radius: 20.5px}.zt-cascader{display:flex;justify-content:space-between;flex-direction:column;height:var(--zt-cascader-height)}.zt-cascader__header{display:flex;align-items:center;justify-content:center;flex-shrink:0;height:var(--zt-cascader-header-height);padding:var(--zt-cascader-header-padding)}.zt-cascader__title{font-size:var(--zt-cascader-title-font-size);line-height:var(--zt-cascader-title-line-height);color:var(--zt-cascader-title-color)}.zt-cascader__close-icon{color:var(--zt-cascader-close-icon-color);font-size:var(--zt-cascader-close-icon-size)}.zt-cascader__tabs{flex:1}.zt-cascader__tabs .zt-tab{flex:none;margin:var(--zt-cascader-tabs-margin);padding:0}.zt-cascader__tabs .zt-tabs__wrap{position:relative;height:var(--zt-cascader-tabs-height)}.zt-cascader__tabs .zt-tabs__wrap:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:0;bottom:0;left:0;border-bottom:1px solid var(--zt-border-color);transform:scaleY(.5)}.zt-cascader__tabs .zt-tabs__nav--complete{padding-right:var(--zt-cascader-tabs-padding);padding-left:var(--zt-cascader-tabs-padding)}.zt-cascader__tab{color:var(--zt-cascader-tab-color);font-weight:var(--zt-font-bold);line-height:var(--zt-cascader-tabs-line-height);font-size:var(--zt-font-size-md)}.zt-cascader__tab--unselected{color:var(--zt-cascader-unselected-tab-color);font-weight:400}.zt-cascader__option{display:flex;align-items:center;justify-content:space-between;color:var(--zt-text-color);padding:0 var(--zt-padding-md);font-size:var(--zt-font-size-md);line-height:var(--zt-cascader-tabs-line-height);cursor:pointer;font-weight:400}.zt-cascader__option:active{background-color:var(--zt-active-color)}.zt-cascader__option--selected{color:var(--zt-cascader-active-color);font-weight:var(--zt-font-bold)}.zt-cascader__option--disabled{color:var(--zt-cascader-option-disabled-color);cursor:not-allowed}.zt-cascader__option--disabled:active{background-color:var(--zt-cascader-option-disabled-active-color)}.zt-cascader__selected-icon{font-size:var(--zt-cascader-selected-icon-size)}.zt-cascader__options{box-sizing:border-box;overflow-y:auto;-webkit-overflow-scrolling:touch}.zt-cascader .zt-tabs__nav{background:var(--zt-background-2)}.zt-cascader__cancel{margin:var(--zt-cascader-cancel-margin);width:var(--zt-cascader-cancel-width);background:var(--zt-cascader-cancel-background);border-radius:var(--zt-cascader-cancel-border-radius);color:var(--zt-text-color);border:0}.zt-theme-dark{--zt-cascader-cancel-background: var(--zt-background-card)}
|
|
@@ -56,8 +56,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
56
56
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
57
57
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
58
58
|
}, {
|
|
59
|
-
disabled: boolean;
|
|
60
59
|
shape: import("./Checker").CheckerShape;
|
|
60
|
+
disabled: boolean;
|
|
61
61
|
labelDisabled: boolean;
|
|
62
62
|
bindGroup: boolean;
|
|
63
63
|
}>;
|
package/es/checkbox/Checker.d.ts
CHANGED
|
@@ -76,9 +76,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
76
76
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
77
77
|
onToggle?: ((...args: any[]) => any) | undefined;
|
|
78
78
|
}, {
|
|
79
|
-
checked: boolean;
|
|
80
|
-
disabled: boolean;
|
|
81
79
|
shape: CheckerShape;
|
|
80
|
+
disabled: boolean;
|
|
81
|
+
checked: boolean;
|
|
82
82
|
labelDisabled: boolean;
|
|
83
83
|
bindGroup: boolean;
|
|
84
84
|
}>;
|
package/es/checkbox/index.d.ts
CHANGED
|
@@ -36,8 +36,8 @@ export declare const Checkbox: import("../utils").WithInstall<import("vue").Defi
|
|
|
36
36
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
37
37
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
38
38
|
}, {
|
|
39
|
-
disabled: boolean;
|
|
40
39
|
shape: import("./Checker").CheckerShape;
|
|
40
|
+
disabled: boolean;
|
|
41
41
|
labelDisabled: boolean;
|
|
42
42
|
bindGroup: boolean;
|
|
43
43
|
}>>;
|
|
@@ -10,6 +10,8 @@ const [name, bem] = createNamespace("collapse-item");
|
|
|
10
10
|
const collapseItemProps = extend({}, {
|
|
11
11
|
name: numericProp,
|
|
12
12
|
title: numericProp,
|
|
13
|
+
// disabled: Boolean,
|
|
14
|
+
// readonly: Boolean,
|
|
13
15
|
lazyRender: truthProp,
|
|
14
16
|
titleBackground: String,
|
|
15
17
|
color: String
|
|
@@ -100,7 +102,7 @@ var stdin_default = defineComponent({
|
|
|
100
102
|
custom: titleBackground
|
|
101
103
|
})
|
|
102
104
|
}, [props.title]), _createVNode(Icon, {
|
|
103
|
-
"name": "keyboard-arrow-
|
|
105
|
+
"name": "keyboard-arrow-down",
|
|
104
106
|
"style": color ? `color:${color};` : "",
|
|
105
107
|
"class": bem("icon", {
|
|
106
108
|
expanded: expanded.value,
|
|
@@ -213,8 +213,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
213
213
|
"onUpdate:startValue"?: ((...args: any[]) => any) | undefined;
|
|
214
214
|
"onUpdate:endValue"?: ((...args: any[]) => any) | undefined;
|
|
215
215
|
}, {
|
|
216
|
-
range: boolean;
|
|
217
216
|
title: string;
|
|
217
|
+
range: boolean;
|
|
218
218
|
formatter: (type: string, option: import("..").PickerOption) => import("..").PickerOption;
|
|
219
219
|
modelValue: string[];
|
|
220
220
|
readonly: boolean;
|
|
@@ -199,7 +199,9 @@ var stdin_default = defineComponent({
|
|
|
199
199
|
"modelValue": props.modelValue,
|
|
200
200
|
"onUpdate:modelValue": ($event) => props.modelValue = $event,
|
|
201
201
|
"onChange": onChange,
|
|
202
|
-
"columnsType": props.columnsType
|
|
202
|
+
"columnsType": props.columnsType,
|
|
203
|
+
"maxDate": props.maxDate,
|
|
204
|
+
"minDate": props.minDate
|
|
203
205
|
}, extend(pick(props, pickerInheritKeys), {
|
|
204
206
|
showTitle: false
|
|
205
207
|
})), null);
|
|
@@ -209,7 +211,9 @@ var stdin_default = defineComponent({
|
|
|
209
211
|
"modelValue": props.startValue,
|
|
210
212
|
"onUpdate:modelValue": ($event) => props.startValue = $event,
|
|
211
213
|
"onChange": onStartChange,
|
|
212
|
-
"columnsType": props.columnsType
|
|
214
|
+
"columnsType": props.columnsType,
|
|
215
|
+
"maxDate": props.maxDate,
|
|
216
|
+
"minDate": props.minDate
|
|
213
217
|
}, extend(pick(props, pickerInheritKeys), {
|
|
214
218
|
showTitle: false
|
|
215
219
|
})), null), [[_vShow, rangeSelectedIndex.value === 0]]), _withDirectives(_createVNode(DateTimePicker, _mergeProps({
|
|
@@ -217,7 +221,9 @@ var stdin_default = defineComponent({
|
|
|
217
221
|
"modelValue": props.endValue,
|
|
218
222
|
"onUpdate:modelValue": ($event) => props.endValue = $event,
|
|
219
223
|
"onChange": onEndChange,
|
|
220
|
-
"columnsType": props.columnsType
|
|
224
|
+
"columnsType": props.columnsType,
|
|
225
|
+
"maxDate": props.maxDate,
|
|
226
|
+
"minDate": props.minDate
|
|
221
227
|
}, extend(pick(props, pickerInheritKeys), {
|
|
222
228
|
showTitle: false
|
|
223
229
|
})), null), [[_vShow, rangeSelectedIndex.value === 1]])];
|
|
@@ -305,8 +305,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
305
305
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
306
306
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
307
307
|
}, {
|
|
308
|
-
range: boolean;
|
|
309
308
|
title: string;
|
|
309
|
+
range: boolean;
|
|
310
310
|
formatter: (type: string, option: import("../picker").PickerOption) => import("../picker").PickerOption;
|
|
311
311
|
modelValue: string[];
|
|
312
312
|
readonly: boolean;
|
|
@@ -210,8 +210,8 @@ export declare const DateTimePicker: import("../utils").WithInstall<import("vue"
|
|
|
210
210
|
"onUpdate:startValue"?: ((...args: any[]) => any) | undefined;
|
|
211
211
|
"onUpdate:endValue"?: ((...args: any[]) => any) | undefined;
|
|
212
212
|
}, {
|
|
213
|
-
range: boolean;
|
|
214
213
|
title: string;
|
|
214
|
+
range: boolean;
|
|
215
215
|
formatter: (type: string, option: import("..").PickerOption) => import("..").PickerOption;
|
|
216
216
|
modelValue: string[];
|
|
217
217
|
readonly: boolean;
|
package/es/dialog/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--zt-dialog-width: 350px;--zt-dialog-max-width: 90%;--zt-dialog-font-size: var(--zt-font-size-lg);--zt-dialog-transition: var(--zt-duration-base);--zt-dialog-radius: 12px;--zt-dialog-background: var(--zt-background-2);--zt-dialog-header-font-weight: var(--zt-font-bold);--zt-dialog-header-line-height: 24px;--zt-dialog-header-padding-top: 24px;--zt-dialog-header-isolated-padding: var(--zt-padding-lg) 0;--zt-dialog-message-padding: var(--zt-padding-lg) var(--zt-padding-md);--zt-dialog-message-font-size: var(--zt-font-size-lg);--zt-dialog-message-line-height: var(--zt-line-height-md);--zt-dialog-message-max-height: 60vh;--zt-dialog-has-title-message-font-size: var(--zt-font-size-md);--zt-dialog-has-title-message-text-color: var(--zt-gray-a6);--zt-dialog-has-title-message-padding-top: var(--zt-padding-xs);--zt-dialog-confirm-button-text-color: var(--zt-white);--zt-dialog-cancel-button-background-color: var(--zt-white);--zt-dialog-cancel-button-border: 0}.zt-dialog{top:45%;width:var(--zt-dialog-width);max-width:var(--zt-dialog-max-width);overflow:hidden;font-size:var(--zt-dialog-font-size);background:var(--zt-dialog-background);border-radius:var(--zt-dialog-radius);-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:var(--zt-dialog-transition);transition-property:transform,opacity}.zt-dialog__header{color:var(--zt-text-color);padding-top:var(--zt-dialog-header-padding-top);font-weight:var(--zt-dialog-header-font-weight);line-height:var(--zt-dialog-header-line-height);text-align:center}.zt-dialog__header--isolated{padding:var(--zt-dialog-header-isolated-padding)}.zt-dialog__header--custom-title{padding-left:0;padding-right:0;padding-top:0}.zt-dialog__content{text-align:center;font-size:0}.zt-dialog__message{display:inline-block;color:var(--zt-gray-a8);max-height:var(--zt-dialog-message-max-height);padding:var(--zt-dialog-message-padding);overflow-y:auto;font-size:var(--zt-dialog-message-font-size);line-height:var(--zt-dialog-message-line-height);white-space:pre-wrap;text-align:left;word-wrap:break-word;-webkit-overflow-scrolling:touch}.zt-dialog__message--has-title{padding-top:var(--zt-dialog-has-title-message-padding-top);color:var(--zt-dialog-has-title-message-text-color);font-size:var(--zt-dialog-has-title-message-font-size)}.zt-dialog__message--left{text-align:left}.zt-dialog__message--right{text-align:right}.zt-dialog__message--justify{text-align:justify}.zt-dialog__footer{display:flex;overflow:hidden;-webkit-user-select:none;user-select:none;margin:0 var(--zt-padding-xl) var(--zt-padding-lg)}.zt-dialog__confirm,.zt-dialog__cancel{flex:1;margin:0;border:var(--zt-dialog-cancel-button-border);background-color:var(--zt-dialog-cancel-button-background-color)}.zt-dialog__confirm,.zt-dialog__confirm:active{color:var(--zt-dialog-confirm-button-text-color)}.zt-dialog__confirm--with-cancel{margin-left:8px}.zt-dialog--round-button .zt-dialog__footer{position:relative;height:auto;padding:var(--zt-padding-xs) var(--zt-padding-lg) var(--zt-padding-md)}.zt-dialog--round-button .zt-dialog__message{padding-bottom:var(--zt-padding-md);color:var(--zt-text-color)}.zt-dialog--round-button .zt-dialog__confirm,.zt-dialog--round-button .zt-dialog__cancel{height:var(--zt-dialog-round-button-height)}.zt-dialog--round-button .zt-dialog__confirm{color:var(--zt-white)}.zt-dialog-bounce-enter-from{transform:translate3d(-50%,-50%,0) scale(.7);opacity:0}.zt-dialog-bounce-leave-active{transform:translate3d(-50%,-50%,0) scale(.9);opacity:0}.zt-theme-dark{--zt-dialog-cancel-button-border: .5px solid rgba(255, 255, 255, .2);--zt-dialog-cancel-button-background-color: rbga(255, 255, 255, .2)}
|
|
1
|
+
:root{--zt-dialog-width: 350px;--zt-dialog-max-width: 90%;--zt-dialog-font-size: var(--zt-font-size-lg);--zt-dialog-transition: var(--zt-duration-base);--zt-dialog-radius: 12px;--zt-dialog-background: var(--zt-background-2);--zt-dialog-header-font-weight: var(--zt-font-bold);--zt-dialog-header-line-height: 24px;--zt-dialog-header-padding-top: 24px;--zt-dialog-header-isolated-padding: var(--zt-padding-lg) 0;--zt-dialog-message-padding: var(--zt-padding-lg) var(--zt-padding-md);--zt-dialog-message-font-size: var(--zt-font-size-lg);--zt-dialog-message-line-height: var(--zt-line-height-md);--zt-dialog-message-max-height: 60vh;--zt-dialog-has-title-message-font-size: var(--zt-font-size-md);--zt-dialog-has-title-message-text-color: var(--zt-gray-a6);--zt-dialog-has-title-message-padding-top: var(--zt-padding-xs);--zt-dialog-confirm-button-text-color: var(--zt-white);--zt-dialog-cancel-button-background-color: var(--zt-white);--zt-dialog-cancel-button-border: 0}.zt-dialog{top:45%;width:var(--zt-dialog-width);max-width:var(--zt-dialog-max-width);overflow:hidden;font-size:var(--zt-dialog-font-size);background:var(--zt-dialog-background);border-radius:var(--zt-dialog-radius);-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:var(--zt-dialog-transition);transition-property:transform,opacity}.zt-dialog__header{color:var(--zt-text-color);padding-top:var(--zt-dialog-header-padding-top);font-weight:var(--zt-dialog-header-font-weight);line-height:var(--zt-dialog-header-line-height);text-align:center}.zt-dialog__header--isolated{padding:var(--zt-dialog-header-isolated-padding)}.zt-dialog__header--custom-title{padding-left:0;padding-right:0;padding-top:0}.zt-dialog__content{text-align:center;font-size:0}.zt-dialog__message{display:inline-block;color:var(--zt-gray-a8);max-height:var(--zt-dialog-message-max-height);padding:var(--zt-dialog-message-padding);overflow-y:auto;font-size:var(--zt-dialog-message-font-size);line-height:var(--zt-dialog-message-line-height);white-space:pre-wrap;text-align:left;word-wrap:break-word;-webkit-overflow-scrolling:touch}.zt-dialog__message--has-title{padding-top:var(--zt-dialog-has-title-message-padding-top);color:var(--zt-dialog-has-title-message-text-color);font-size:var(--zt-dialog-has-title-message-font-size)}.zt-dialog__message--left{text-align:left}.zt-dialog__message--right{text-align:right}.zt-dialog__message--justify{text-align:justify}.zt-dialog__footer{display:flex;overflow:hidden;-webkit-user-select:none;user-select:none;margin:0 var(--zt-padding-xl) var(--zt-padding-lg)}.zt-dialog__confirm,.zt-dialog__cancel{flex:1;margin:0;border-width:var(--zt-dialog-cancel-button-border);background-color:var(--zt-dialog-cancel-button-background-color)}.zt-dialog__confirm,.zt-dialog__confirm:active{color:var(--zt-dialog-confirm-button-text-color)}.zt-dialog__confirm--with-cancel{margin-left:8px}.zt-dialog--round-button .zt-dialog__footer{position:relative;height:auto;padding:var(--zt-padding-xs) var(--zt-padding-lg) var(--zt-padding-md)}.zt-dialog--round-button .zt-dialog__message{padding-bottom:var(--zt-padding-md);color:var(--zt-text-color)}.zt-dialog--round-button .zt-dialog__confirm,.zt-dialog--round-button .zt-dialog__cancel{height:var(--zt-dialog-round-button-height)}.zt-dialog--round-button .zt-dialog__confirm{color:var(--zt-white)}.zt-dialog-bounce-enter-from{transform:translate3d(-50%,-50%,0) scale(.7);opacity:0}.zt-dialog-bounce-leave-active{transform:translate3d(-50%,-50%,0) scale(.9);opacity:0}.zt-theme-dark{--zt-dialog-cancel-button-border: .5px solid rgba(255, 255, 255, .2);--zt-dialog-cancel-button-background-color: rbga(255, 255, 255, .2)}
|
package/es/divider/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--zt-divider-margin: var(--zt-padding-md) 0;--zt-divider-text-color: var(--zt-
|
|
1
|
+
:root{--zt-divider-margin: var(--zt-padding-md) 0;--zt-divider-text-color: var(--zt-gray-a4);--zt-divider-font-size: var(--zt-font-size-md);--zt-divider-line-height: 24px;--zt-divider-border-color: var(--zt-border-color);--zt-divider-content-padding: var(--zt-padding-md);--zt-divider-content-left-width: 10%;--zt-divider-content-right-width: 10%}.zt-divider{display:flex;align-items:center;margin:var(--zt-divider-margin);color:var(--zt-divider-text-color);font-size:var(--zt-divider-font-size);line-height:var(--zt-divider-line-height);border-color:var(--zt-divider-border-color);border-style:solid;border-width:0}.zt-divider:before,.zt-divider:after{display:block;flex:1;box-sizing:border-box;height:1px;border-color:inherit;border-style:inherit;border-width:var(--zt-border-width) 0 0}.zt-divider:before{content:""}.zt-divider--hairline:before,.zt-divider--hairline:after{transform:scaleY(.5)}.zt-divider--dashed{border-style:dashed}.zt-divider--content-center:before,.zt-divider--content-left:before,.zt-divider--content-right:before{margin-right:var(--zt-divider-content-padding)}.zt-divider--content-center:after,.zt-divider--content-left:after,.zt-divider--content-right:after{margin-left:var(--zt-divider-content-padding);content:""}.zt-divider--content-left:before{max-width:var(--zt-divider-content-left-width)}.zt-divider--content-right:after{max-width:var(--zt-divider-content-right-width)}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createTextVNode as _createTextVNode, withDirectives as _withDirectives, vShow as _vShow, createVNode as _createVNode } from "vue";
|
|
1
|
+
import { mergeProps as _mergeProps, createTextVNode as _createTextVNode, withDirectives as _withDirectives, vShow as _vShow, createVNode as _createVNode } from "vue";
|
|
2
2
|
import { reactive, Teleport, defineComponent } from "vue";
|
|
3
3
|
import { truthProp, unknownProp, getZIndexStyle, createNamespace, makeArrayProp, HAPTICS_FEEDBACK } from "../utils/index.mjs";
|
|
4
4
|
import { DROPDOWN_KEY } from "../dropdown-menu/DropdownMenu.mjs";
|
|
@@ -23,11 +23,13 @@ const dropdownItemProps = {
|
|
|
23
23
|
};
|
|
24
24
|
var stdin_default = defineComponent({
|
|
25
25
|
name,
|
|
26
|
+
inheritAttrs: false,
|
|
26
27
|
props: dropdownItemProps,
|
|
27
28
|
emits: ["open", "opened", "close", "closed", "change", "update:modelValue", "reset", "confirm"],
|
|
28
29
|
setup(props, {
|
|
29
30
|
emit,
|
|
30
|
-
slots
|
|
31
|
+
slots,
|
|
32
|
+
attrs
|
|
31
33
|
}) {
|
|
32
34
|
const state = reactive({
|
|
33
35
|
showPopup: false,
|
|
@@ -87,6 +89,7 @@ var stdin_default = defineComponent({
|
|
|
87
89
|
state.showPopup = show;
|
|
88
90
|
state.transition = !options.immediate;
|
|
89
91
|
if (show) {
|
|
92
|
+
parent.updateOffset();
|
|
90
93
|
state.showWrapper = true;
|
|
91
94
|
}
|
|
92
95
|
};
|
|
@@ -233,11 +236,11 @@ var stdin_default = defineComponent({
|
|
|
233
236
|
buttonStyle.top = `176px`;
|
|
234
237
|
}
|
|
235
238
|
}
|
|
236
|
-
return _withDirectives(_createVNode("div", {
|
|
239
|
+
return _withDirectives(_createVNode("div", _mergeProps({
|
|
237
240
|
"style": style,
|
|
238
241
|
"class": bem([direction]),
|
|
239
242
|
"onClick": onClickWrapper
|
|
240
|
-
}, [_createVNode(Popup, {
|
|
243
|
+
}, attrs), [_createVNode(Popup, {
|
|
241
244
|
"show": state.showPopup,
|
|
242
245
|
"onUpdate:show": ($event) => state.showPopup = $event,
|
|
243
246
|
"role": "menu",
|
|
@@ -63,7 +63,6 @@ var stdin_default = defineComponent({
|
|
|
63
63
|
const toggleItem = (active) => {
|
|
64
64
|
children.forEach((item, index) => {
|
|
65
65
|
if (index === active) {
|
|
66
|
-
updateOffset();
|
|
67
66
|
item.toggle();
|
|
68
67
|
} else if (item.state.showPopup) {
|
|
69
68
|
item.toggle(false, {
|
|
@@ -113,7 +112,8 @@ var stdin_default = defineComponent({
|
|
|
113
112
|
linkChildren({
|
|
114
113
|
id,
|
|
115
114
|
props,
|
|
116
|
-
offset
|
|
115
|
+
offset,
|
|
116
|
+
updateOffset
|
|
117
117
|
});
|
|
118
118
|
useClickAway(root, onClickAway);
|
|
119
119
|
useEventListener("scroll", onScroll, {
|
package/es/empty/Images.mjs
CHANGED
|
@@ -86,7 +86,7 @@ const renderNotFound = () => _createVNode("svg", {
|
|
|
86
86
|
"fill": "none",
|
|
87
87
|
"fill-rule": "evenodd"
|
|
88
88
|
}, [_createVNode("path", {
|
|
89
|
-
"fill": "
|
|
89
|
+
"fill": "currentColor",
|
|
90
90
|
"d": "M80 0A80 80 0 1 0 80 160A80 80 0 1 0 80 0Z",
|
|
91
91
|
"transform": "translate(20 20)"
|
|
92
92
|
}, null), _createVNode("path", {
|
|
@@ -209,7 +209,7 @@ const renderServerError = () => _createVNode("svg", {
|
|
|
209
209
|
"fill": "none",
|
|
210
210
|
"fill-rule": "evenodd"
|
|
211
211
|
}, [_createVNode("path", {
|
|
212
|
-
"fill": "
|
|
212
|
+
"fill": "currentColor",
|
|
213
213
|
"d": "M80 0A80 80 0 1 0 80 160A80 80 0 1 0 80 0Z",
|
|
214
214
|
"transform": "translate(20 20)"
|
|
215
215
|
}, null), _createVNode("path", {
|
|
@@ -300,7 +300,7 @@ const renderAccessRestricted = () => _createVNode("svg", {
|
|
|
300
300
|
"fill": "none",
|
|
301
301
|
"fill-rule": "evenodd"
|
|
302
302
|
}, [_createVNode("path", {
|
|
303
|
-
"fill": "
|
|
303
|
+
"fill": "currentColor",
|
|
304
304
|
"d": "M80 0A80 80 0 1 0 80 160A80 80 0 1 0 80 0Z"
|
|
305
305
|
}, null), _createVNode("path", {
|
|
306
306
|
"d": "M88,80 L114,80 C118.418278,80 122,83.581722 122,88 L122,107 C122,118.59798 112.59798,128 101,128 L88,128 C83.581722,128 80,124.418278 80,120 L80,88 C80,83.581722 83.581722,80 88,80 Z",
|
|
@@ -431,7 +431,7 @@ const renderDeveloping = () => _createVNode("svg", {
|
|
|
431
431
|
"fill": "none",
|
|
432
432
|
"fill-rule": "evenodd"
|
|
433
433
|
}, [_createVNode("path", {
|
|
434
|
-
"fill": "
|
|
434
|
+
"fill": "currentColor",
|
|
435
435
|
"d": "M80 0A80 80 0 1 0 80 160A80 80 0 1 0 80 0Z",
|
|
436
436
|
"transform": "translate(20 20)"
|
|
437
437
|
}, null), _createVNode("path", {
|
|
@@ -530,7 +530,7 @@ const renderNetworkError = () => _createVNode("svg", {
|
|
|
530
530
|
"fill": "none",
|
|
531
531
|
"fill-rule": "evenodd"
|
|
532
532
|
}, [_createVNode("path", {
|
|
533
|
-
"fill": "
|
|
533
|
+
"fill": "currentColor",
|
|
534
534
|
"d": "M80 0A80 80 0 1 0 80 160A80 80 0 1 0 80 0Z"
|
|
535
535
|
}, null), _createVNode("path", {
|
|
536
536
|
"d": "M88,80 L114,80 C118.418278,80 122,83.581722 122,88 L122,107 C122,118.59798 112.59798,128 101,128 L88,128 C83.581722,128 80,124.418278 80,120 L80,88 C80,83.581722 83.581722,80 88,80 Z",
|
|
@@ -616,7 +616,7 @@ const renderEmptyResult = () => _createVNode("svg", {
|
|
|
616
616
|
"fill": "none",
|
|
617
617
|
"fill-rule": "evenodd"
|
|
618
618
|
}, [_createVNode("path", {
|
|
619
|
-
"fill": "
|
|
619
|
+
"fill": "currentColor",
|
|
620
620
|
"d": "M80 0A80 80 0 1 0 80 160A80 80 0 1 0 80 0Z"
|
|
621
621
|
}, null), _createVNode("path", {
|
|
622
622
|
"d": "M88,80 L114,80 C118.418278,80 122,83.581722 122,88 L122,107 C122,118.59798 112.59798,128 101,128 L88,128 C83.581722,128 80,124.418278 80,120 L80,88 C80,83.581722 83.581722,80 88,80 Z",
|
|
@@ -702,7 +702,7 @@ const renderFindNull = () => _createVNode("svg", {
|
|
|
702
702
|
"fill": "none",
|
|
703
703
|
"fill-rule": "evenodd"
|
|
704
704
|
}, [_createVNode("path", {
|
|
705
|
-
"fill": "
|
|
705
|
+
"fill": "currentColor",
|
|
706
706
|
"d": "M80 0A80 80 0 1 0 80 160A80 80 0 1 0 80 0Z"
|
|
707
707
|
}, null), _createVNode("path", {
|
|
708
708
|
"d": "M88,80 L114,80 C118.418278,80 122,83.581722 122,88 L122,107 C122,118.59798 112.59798,128 101,128 L88,128 C83.581722,128 80,124.418278 80,120 L80,88 C80,83.581722 83.581722,80 88,80 Z",
|
|
@@ -788,7 +788,7 @@ const renderEmptyInterface = () => _createVNode("svg", {
|
|
|
788
788
|
"fill": "none",
|
|
789
789
|
"fill-rule": "evenodd"
|
|
790
790
|
}, [_createVNode("path", {
|
|
791
|
-
"fill": "
|
|
791
|
+
"fill": "currentColor",
|
|
792
792
|
"d": "M80 0A80 80 0 1 0 80 160A80 80 0 1 0 80 0Z"
|
|
793
793
|
}, null), _createVNode("path", {
|
|
794
794
|
"d": "M88,80 L114,80 C118.418278,80 122,83.581722 122,88 L122,107 C122,118.59798 112.59798,128 101,128 L88,128 C83.581722,128 80,124.418278 80,120 L80,88 C80,83.581722 83.581722,80 88,80 Z",
|
|
@@ -895,7 +895,7 @@ const renderReportSuccess = () => _createVNode("svg", {
|
|
|
895
895
|
"fill": "none",
|
|
896
896
|
"fill-rule": "evenodd"
|
|
897
897
|
}, [_createVNode("path", {
|
|
898
|
-
"fill": "
|
|
898
|
+
"fill": "currentColor",
|
|
899
899
|
"d": "M80 0A80 80 0 1 0 80 160A80 80 0 1 0 80 0Z"
|
|
900
900
|
}, null), _createVNode("path", {
|
|
901
901
|
"d": "M88,80 L114,80 C118.418278,80 122,83.581722 122,88 L122,107 C122,118.59798 112.59798,128 101,128 L88,128 C83.581722,128 80,124.418278 80,120 L80,88 C80,83.581722 83.581722,80 88,80 Z",
|
package/es/empty/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--zt-empty-image-width: 200px;--zt-empty-image-height: 200px;--zt-empty-description-padding: 8px 64px 16px;--zt-empty-description-color: var(--zt-gray-a6);--zt-empty-description-font-size: var(--zt-font-size-md);--zt-empty-description-line-height: var(--zt-line-height-md);--zt-empty-bottom-margin-top: 32px}.zt-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box}.zt-empty__image{width:var(--zt-empty-image-width);height:var(--zt-empty-image-height)}.zt-empty__image img{width:100%;height:100%}.zt-empty__description{text-align:center;padding:var(--zt-empty-description-padding);color:var(--zt-empty-description-color);font-size:var(--zt-empty-description-font-size);line-height:var(--zt-empty-description-line-height)}.zt-empty__bottom{margin-top:var(--zt-empty-bottom-margin-top);width:100%}
|
|
1
|
+
:root{--zt-empty-image-width: 200px;--zt-empty-image-height: 200px;--zt-empty-image-background-color: #e6f5ff;--zt-empty-description-padding: 8px 64px 16px;--zt-empty-description-color: var(--zt-gray-a6);--zt-empty-description-font-size: var(--zt-font-size-md);--zt-empty-description-line-height: var(--zt-line-height-md);--zt-empty-bottom-margin-top: 32px}.zt-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box}.zt-empty__image{width:var(--zt-empty-image-width);height:var(--zt-empty-image-height);color:var(--zt-empty-image-background-color)}.zt-empty__image img{width:100%;height:100%}.zt-empty__description{text-align:center;padding:var(--zt-empty-description-padding);color:var(--zt-empty-description-color);font-size:var(--zt-empty-description-font-size);line-height:var(--zt-empty-description-line-height)}.zt-empty__bottom{margin-top:var(--zt-empty-bottom-margin-top);width:100%}.zt-theme-dark{--zt-empty-image-background-color: #1e3347}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
data: {
|
|
3
|
+
type: ArrayConstructor;
|
|
4
|
+
default: () => never[];
|
|
5
|
+
};
|
|
6
|
+
valueKey: {
|
|
7
|
+
type: import("vue").PropType<string>;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
textKey: {
|
|
11
|
+
type: import("vue").PropType<string>;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
breadcrumbTitle: {
|
|
15
|
+
type: import("vue").PropType<string>;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "chooseSenior"[], "chooseSenior", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
|
+
data: {
|
|
20
|
+
type: ArrayConstructor;
|
|
21
|
+
default: () => never[];
|
|
22
|
+
};
|
|
23
|
+
valueKey: {
|
|
24
|
+
type: import("vue").PropType<string>;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
textKey: {
|
|
28
|
+
type: import("vue").PropType<string>;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
breadcrumbTitle: {
|
|
32
|
+
type: import("vue").PropType<string>;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
}>> & {
|
|
36
|
+
onChooseSenior?: ((...args: any[]) => any) | undefined;
|
|
37
|
+
}, {
|
|
38
|
+
data: unknown[];
|
|
39
|
+
valueKey: string;
|
|
40
|
+
textKey: string;
|
|
41
|
+
breadcrumbTitle: string;
|
|
42
|
+
}>;
|
|
43
|
+
export default _default;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { createVNode as _createVNode } from "vue";
|
|
2
|
+
import { defineComponent } from "vue";
|
|
3
|
+
import { createNamespace, makeStringProp } from "../utils/index.mjs";
|
|
4
|
+
import Icon from "../icon/index.mjs";
|
|
5
|
+
const [name, bem] = createNamespace("breadcrumb");
|
|
6
|
+
const BreadcrumbProps = {
|
|
7
|
+
data: {
|
|
8
|
+
type: Array,
|
|
9
|
+
default: () => []
|
|
10
|
+
},
|
|
11
|
+
valueKey: makeStringProp("id"),
|
|
12
|
+
textKey: makeStringProp("name"),
|
|
13
|
+
breadcrumbTitle: makeStringProp("\u5168\u90E8")
|
|
14
|
+
};
|
|
15
|
+
var stdin_default = defineComponent({
|
|
16
|
+
name,
|
|
17
|
+
props: BreadcrumbProps,
|
|
18
|
+
emits: ["chooseSenior"],
|
|
19
|
+
setup(props, {
|
|
20
|
+
emit
|
|
21
|
+
}) {
|
|
22
|
+
const chooseSenior = (index) => {
|
|
23
|
+
if (props.data.length === index + 1) {
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
emit("chooseSenior", index);
|
|
27
|
+
};
|
|
28
|
+
return () => _createVNode("section", {
|
|
29
|
+
"class": bem()
|
|
30
|
+
}, [_createVNode("div", {
|
|
31
|
+
"class": bem("list")
|
|
32
|
+
}, [_createVNode("div", {
|
|
33
|
+
"class": bem("default"),
|
|
34
|
+
"onClick": () => {
|
|
35
|
+
chooseSenior(-1);
|
|
36
|
+
}
|
|
37
|
+
}, [props.breadcrumbTitle]), props.data.map((item, index) => _createVNode("div", {
|
|
38
|
+
"class": bem("item")
|
|
39
|
+
}, [_createVNode(Icon, {
|
|
40
|
+
"class": bem("icon"),
|
|
41
|
+
"name": "arrow-right",
|
|
42
|
+
"color": "#C6CED9"
|
|
43
|
+
}, null), _createVNode("span", {
|
|
44
|
+
"class": bem("name"),
|
|
45
|
+
"style": {
|
|
46
|
+
color: index === props.data.length - 1 ? "" : "#0091fa"
|
|
47
|
+
},
|
|
48
|
+
"onClick": () => {
|
|
49
|
+
chooseSenior(index);
|
|
50
|
+
}
|
|
51
|
+
}, [item[props.textKey]])]))])]);
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
export {
|
|
55
|
+
stdin_default as default
|
|
56
|
+
};
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { ExtractPropTypes } from 'vue';
|
|
2
|
+
declare const hierarchySelectProps: {
|
|
3
|
+
treeData: {
|
|
4
|
+
type: ArrayConstructor;
|
|
5
|
+
default: () => never[];
|
|
6
|
+
};
|
|
7
|
+
disableParent: {
|
|
8
|
+
type: BooleanConstructor;
|
|
9
|
+
default: boolean;
|
|
10
|
+
};
|
|
11
|
+
multiple: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
asyncGetter: {
|
|
16
|
+
type: FunctionConstructor;
|
|
17
|
+
};
|
|
18
|
+
valueKey: {
|
|
19
|
+
type: import("vue").PropType<string>;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
textKey: {
|
|
23
|
+
type: import("vue").PropType<string>;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
breadcrumbTitle: {
|
|
27
|
+
type: import("vue").PropType<string>;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
autoChangeToChildren: BooleanConstructor;
|
|
31
|
+
};
|
|
32
|
+
export declare type HierarchySelectProps = ExtractPropTypes<typeof hierarchySelectProps>;
|
|
33
|
+
declare const _default: import("vue").DefineComponent<{
|
|
34
|
+
treeData: {
|
|
35
|
+
type: ArrayConstructor;
|
|
36
|
+
default: () => never[];
|
|
37
|
+
};
|
|
38
|
+
disableParent: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
42
|
+
multiple: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
asyncGetter: {
|
|
47
|
+
type: FunctionConstructor;
|
|
48
|
+
};
|
|
49
|
+
valueKey: {
|
|
50
|
+
type: import("vue").PropType<string>;
|
|
51
|
+
default: string;
|
|
52
|
+
};
|
|
53
|
+
textKey: {
|
|
54
|
+
type: import("vue").PropType<string>;
|
|
55
|
+
default: string;
|
|
56
|
+
};
|
|
57
|
+
breadcrumbTitle: {
|
|
58
|
+
type: import("vue").PropType<string>;
|
|
59
|
+
default: string;
|
|
60
|
+
};
|
|
61
|
+
autoChangeToChildren: BooleanConstructor;
|
|
62
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "selected" | "asyncGetter")[], "selected" | "change" | "asyncGetter", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
63
|
+
treeData: {
|
|
64
|
+
type: ArrayConstructor;
|
|
65
|
+
default: () => never[];
|
|
66
|
+
};
|
|
67
|
+
disableParent: {
|
|
68
|
+
type: BooleanConstructor;
|
|
69
|
+
default: boolean;
|
|
70
|
+
};
|
|
71
|
+
multiple: {
|
|
72
|
+
type: BooleanConstructor;
|
|
73
|
+
default: boolean;
|
|
74
|
+
};
|
|
75
|
+
asyncGetter: {
|
|
76
|
+
type: FunctionConstructor;
|
|
77
|
+
};
|
|
78
|
+
valueKey: {
|
|
79
|
+
type: import("vue").PropType<string>;
|
|
80
|
+
default: string;
|
|
81
|
+
};
|
|
82
|
+
textKey: {
|
|
83
|
+
type: import("vue").PropType<string>;
|
|
84
|
+
default: string;
|
|
85
|
+
};
|
|
86
|
+
breadcrumbTitle: {
|
|
87
|
+
type: import("vue").PropType<string>;
|
|
88
|
+
default: string;
|
|
89
|
+
};
|
|
90
|
+
autoChangeToChildren: BooleanConstructor;
|
|
91
|
+
}>> & {
|
|
92
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
93
|
+
onSelected?: ((...args: any[]) => any) | undefined;
|
|
94
|
+
onAsyncGetter?: ((...args: any[]) => any) | undefined;
|
|
95
|
+
}, {
|
|
96
|
+
multiple: boolean;
|
|
97
|
+
valueKey: string;
|
|
98
|
+
textKey: string;
|
|
99
|
+
breadcrumbTitle: string;
|
|
100
|
+
treeData: unknown[];
|
|
101
|
+
disableParent: boolean;
|
|
102
|
+
autoChangeToChildren: boolean;
|
|
103
|
+
}>;
|
|
104
|
+
export default _default;
|