zartui 3.0.6 → 3.0.8
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/calendar/Calendar.d.ts +23 -33
- package/es/calendar/Calendar.mjs +124 -31
- package/es/calendar/CalendarDay.mjs +1 -1
- package/es/calendar/CalendarHeader.d.ts +15 -1
- package/es/calendar/CalendarHeader.mjs +106 -4
- package/es/calendar/CalendarMonth.d.ts +23 -24
- package/es/calendar/CalendarMonth.mjs +49 -8
- package/es/calendar/index.css +1 -1
- package/es/calendar/index.d.ts +15 -22
- package/es/calendar/types.d.ts +3 -1
- package/es/calendar/utils.d.ts +4 -1
- package/es/calendar/utils.mjs +23 -3
- package/es/cascader/Cascader.mjs +1 -3
- 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/Dialog.d.ts +4 -0
- package/es/dialog/Dialog.mjs +24 -9
- package/es/dialog/index.css +1 -1
- package/es/dialog/index.d.ts +3 -0
- package/es/dialog/types.d.ts +1 -0
- 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/field/Field.d.ts +3 -0
- package/es/field/Field.mjs +2 -1
- package/es/field/index.d.ts +2 -0
- 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 +4 -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/overlay/index.d.ts +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 +99 -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 +118 -0
- package/es/table/Table.mjs +209 -0
- package/es/table/index.css +1 -0
- package/es/table/index.d.ts +77 -0
- package/es/table/index.mjs +10 -0
- package/es/table/style/index.d.ts +1 -0
- package/es/table/style/index.mjs +4 -0
- package/es/table/types.d.ts +5 -0
- package/es/table/types.mjs +8 -0
- package/es/tabs/Tabs.mjs +2 -0
- package/es/tabs/index.css +1 -1
- package/es/tag/Tag.d.ts +21 -1
- package/es/tag/Tag.mjs +63 -10
- package/es/tag/index.css +1 -1
- package/es/tag/index.d.ts +15 -1
- package/es/tag/style/index.mjs +1 -0
- 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/UploaderPreviewItem.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.d.ts +23 -33
- package/lib/calendar/Calendar.js +127 -30
- package/lib/calendar/CalendarDay.js +1 -1
- package/lib/calendar/CalendarHeader.d.ts +15 -1
- package/lib/calendar/CalendarHeader.js +106 -4
- package/lib/calendar/CalendarMonth.d.ts +23 -24
- package/lib/calendar/CalendarMonth.js +52 -7
- package/lib/calendar/index.css +1 -1
- package/lib/calendar/index.d.ts +15 -22
- package/lib/calendar/index.js +4 -0
- package/lib/calendar/types.d.ts +3 -1
- package/lib/calendar/utils.d.ts +4 -1
- package/lib/calendar/utils.js +23 -3
- package/lib/cascader/Cascader.js +5 -3
- 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/Dialog.d.ts +4 -0
- package/lib/dialog/Dialog.js +24 -9
- package/lib/dialog/function-call.js +4 -0
- package/lib/dialog/index.css +1 -1
- package/lib/dialog/index.d.ts +3 -0
- package/lib/dialog/index.js +4 -0
- package/lib/dialog/types.d.ts +1 -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/Field.d.ts +3 -0
- package/lib/field/Field.js +2 -1
- package/lib/field/index.d.ts +2 -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 +4 -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.d.ts +1 -1
- 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 +98 -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 +118 -0
- package/lib/table/Table.js +228 -0
- package/lib/table/index.css +1 -0
- package/lib/table/index.d.ts +77 -0
- package/lib/table/index.js +39 -0
- package/lib/table/style/index.d.ts +1 -0
- package/lib/table/style/index.js +4 -0
- package/lib/table/types.d.ts +5 -0
- package/lib/table/types.js +27 -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 +21 -1
- package/lib/tag/Tag.js +73 -10
- package/lib/tag/index.css +1 -1
- package/lib/tag/index.d.ts +15 -1
- package/lib/tag/index.js +4 -0
- package/lib/tag/style/index.js +1 -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/UploaderPreviewItem.d.ts +1 -1
- 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 +3054 -1076
- package/lib/zartui.es.js +3102 -1124
- package/lib/zartui.js +3817 -1303
- package/lib/zartui.min.js +1 -1
- package/package.json +18 -17
package/lib/locale/lang/zh-CN.js
CHANGED
|
@@ -32,7 +32,7 @@ var stdin_default = {
|
|
|
32
32
|
nameEmpty: "\u8BF7\u586B\u5199\u59D3\u540D",
|
|
33
33
|
addContact: "\u6DFB\u52A0\u8054\u7CFB\u4EBA",
|
|
34
34
|
telInvalid: "\u8BF7\u586B\u5199\u6B63\u786E\u7684\u7535\u8BDD",
|
|
35
|
-
|
|
35
|
+
ztCalendar: {
|
|
36
36
|
end: "\u7ED3\u675F",
|
|
37
37
|
start: "\u5F00\u59CB",
|
|
38
38
|
title: "\u8BF7\u9009\u62E9\u65E5\u671F",
|
|
@@ -40,44 +40,28 @@ var stdin_default = {
|
|
|
40
40
|
monthTitle: (year, month) => `${year}\u5E74${month}\u6708`,
|
|
41
41
|
rangePrompt: (maxRange) => `\u6700\u591A\u9009\u62E9 ${maxRange} \u5929`
|
|
42
42
|
},
|
|
43
|
-
|
|
43
|
+
ztCascader: {
|
|
44
44
|
select: "\u8BF7\u9009\u62E9"
|
|
45
45
|
},
|
|
46
|
-
|
|
46
|
+
ztPagination: {
|
|
47
47
|
prev: "\u4E0A\u4E00\u9875",
|
|
48
48
|
next: "\u4E0B\u4E00\u9875"
|
|
49
49
|
},
|
|
50
|
-
|
|
50
|
+
ztPullRefresh: {
|
|
51
51
|
pulling: "\u4E0B\u62C9\u5373\u53EF\u5237\u65B0...",
|
|
52
52
|
loosing: "\u91CA\u653E\u5373\u53EF\u5237\u65B0..."
|
|
53
53
|
},
|
|
54
|
-
|
|
54
|
+
ztSubmitBar: {
|
|
55
55
|
label: "\u5408\u8BA1:"
|
|
56
56
|
},
|
|
57
|
-
|
|
58
|
-
unlimited: "\u65E0\u95E8\u69DB",
|
|
59
|
-
discount: (discount) => `${discount}\u6298`,
|
|
60
|
-
condition: (condition) => `\u6EE1${condition}\u5143\u53EF\u7528`
|
|
61
|
-
},
|
|
62
|
-
vanCouponCell: {
|
|
63
|
-
title: "\u4F18\u60E0\u5238",
|
|
64
|
-
count: (count) => `${count}\u5F20\u53EF\u7528`
|
|
65
|
-
},
|
|
66
|
-
vanCouponList: {
|
|
67
|
-
exchange: "\u5151\u6362",
|
|
68
|
-
close: "\u4E0D\u4F7F\u7528",
|
|
69
|
-
enable: "\u53EF\u7528",
|
|
70
|
-
disabled: "\u4E0D\u53EF\u7528",
|
|
71
|
-
placeholder: "\u8F93\u5165\u4F18\u60E0\u7801"
|
|
72
|
-
},
|
|
73
|
-
vanAddressEdit: {
|
|
57
|
+
ztAddressEdit: {
|
|
74
58
|
area: "\u5730\u533A",
|
|
75
59
|
areaEmpty: "\u8BF7\u9009\u62E9\u5730\u533A",
|
|
76
60
|
addressEmpty: "\u8BF7\u586B\u5199\u8BE6\u7EC6\u5730\u5740",
|
|
77
61
|
addressDetail: "\u8BE6\u7EC6\u5730\u5740",
|
|
78
62
|
defaultAddress: "\u8BBE\u4E3A\u9ED8\u8BA4\u6536\u8D27\u5730\u5740"
|
|
79
63
|
},
|
|
80
|
-
|
|
64
|
+
ztAddressList: {
|
|
81
65
|
add: "\u65B0\u589E\u5730\u5740"
|
|
82
66
|
}
|
|
83
67
|
};
|
|
@@ -17,6 +17,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
17
17
|
return to;
|
|
18
18
|
};
|
|
19
19
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
20
24
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
21
25
|
mod
|
|
22
26
|
));
|
|
@@ -59,9 +63,22 @@ const mediaPickerProps = {
|
|
|
59
63
|
showTitle: Boolean,
|
|
60
64
|
title: (0, import_utils.makeStringProp)("\u6DFB\u52A0\u9644\u4EF6"),
|
|
61
65
|
mediaList: (0, import_utils.makeArrayProp)(),
|
|
66
|
+
// 图片压缩后的最大边长
|
|
62
67
|
maxImageSideLength: (0, import_utils.makeNumberProp)(1920),
|
|
68
|
+
// 单个图片文件大小限制(本单位为KB,默认最大1M)
|
|
63
69
|
maxImageFileSize: (0, import_utils.makeNumberProp)(1024),
|
|
70
|
+
// 单个文件大小限制(本单位为KB,默认最大1M)
|
|
64
71
|
maxFileSize: (0, import_utils.makeNumberProp)(FILE_SIZE_LIMIT * 1024),
|
|
72
|
+
/**
|
|
73
|
+
* {
|
|
74
|
+
* maxImageSideLength,
|
|
75
|
+
* address,
|
|
76
|
+
* humanName,
|
|
77
|
+
* projectName,
|
|
78
|
+
* watermarkConfigString
|
|
79
|
+
* (http://faq.egova.com.cn:7777/redmine/projects/redmine/wiki/%E6%8B%8D%E7%85%A7%E6%B0%B4%E5%8D%B0%E9%85%8D%E7%BD%AE)
|
|
80
|
+
* }
|
|
81
|
+
*/
|
|
65
82
|
watermarkOptions: {
|
|
66
83
|
type: Object,
|
|
67
84
|
default: () => null
|
|
@@ -77,10 +94,16 @@ const mediaPickerProps = {
|
|
|
77
94
|
allowTakeAudio: Boolean,
|
|
78
95
|
allowPickAudio: Boolean,
|
|
79
96
|
allowPickFile: Boolean,
|
|
97
|
+
// 预览函数(返回true时不再执行默认行为)
|
|
98
|
+
// 参数:media,index
|
|
80
99
|
preview: Function,
|
|
100
|
+
// 点击按钮事件(返回true时不再执行默认行为)
|
|
81
101
|
mediaPick: Function,
|
|
102
|
+
// 文件读取前的回调函数,返回 false 可终止文件读取,支持返回 Promise
|
|
82
103
|
beforeRead: Function,
|
|
104
|
+
// 文件读取完成后的回调函数,获取到对应的 media 对象
|
|
83
105
|
afterRead: Function,
|
|
106
|
+
// 文件删除前的回调函数,返回 false 可终止文件读取,支持返回 Promise
|
|
84
107
|
beforeDelete: Function
|
|
85
108
|
};
|
|
86
109
|
var stdin_default = (0, import_vue2.defineComponent)({
|
|
@@ -315,6 +338,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
|
315
338
|
lastModified: f.lastModified,
|
|
316
339
|
type: f.type
|
|
317
340
|
}),
|
|
341
|
+
// 需要以原始file的信息作为唯一标识
|
|
318
342
|
uniqueCode: (0, import_media_util.getFileUniqueCode)(file),
|
|
319
343
|
lastModified: f.lastModified,
|
|
320
344
|
fileSize: f.size,
|
|
@@ -33,7 +33,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
|
33
33
|
"fill": "none",
|
|
34
34
|
"fill-rule": "evenodd"
|
|
35
35
|
}, [(0, import_vue.createVNode)("g", {
|
|
36
|
-
"fill": "
|
|
36
|
+
"fill": "currentColor"
|
|
37
37
|
}, [(0, import_vue.createVNode)("path", {
|
|
38
38
|
"d": "M15.1171176,1.64705882 L15.1176471,7.41176471 C15.1176471,7.86658744 15.4863537,8.23529412 15.9411765,8.23529412 L15.9411765,8.23529412 L21.7051176,8.23505882 L21.7058824,26.3529412 C21.7058824,27.2625866 20.968469,28 20.0588235,28 L1.94117647,28 C1.031531,28 0.294117647,27.2625866 0.294117647,26.3529412 L0.294117647,3.29411765 C0.294117647,2.38447218 1.031531,1.64705882 1.94117647,1.64705882 L15.1171176,1.64705882 Z M15.1176471,20.5882353 L6.88235294,20.5882353 C6.42753021,20.5882353 6.05882353,20.956942 6.05882353,21.4117647 C6.05882353,21.8665874 6.42753021,22.2352941 6.88235294,22.2352941 L6.88235294,22.2352941 L15.1176471,22.2352941 C15.5724698,22.2352941 15.9411765,21.8665874 15.9411765,21.4117647 C15.9411765,20.956942 15.5724698,20.5882353 15.1176471,20.5882353 L15.1176471,20.5882353 Z M11.5823232,7.99408794 C11.260715,7.6724797 10.739285,7.6724797 10.4176768,7.99408794 L10.4176768,7.99408794 L5.93822044,12.4735443 C5.86099958,12.5507651 5.81761735,12.6554991 5.81761735,12.7647059 C5.81761735,12.9921172 6.00197069,13.1764706 6.22938206,13.1764706 L6.22938206,13.1764706 L8.52941176,13.1764706 L8.52941176,18.1176471 C8.52941176,18.5724698 8.89811844,18.9411765 9.35294118,18.9411765 L9.35294118,18.9411765 L12.6470588,18.9411765 C13.1018816,18.9411765 13.4705882,18.5724698 13.4705882,18.1176471 L13.4705882,18.1176471 L13.4705882,13.1764706 L15.7706179,13.1764706 C15.8798247,13.1764706 15.9845587,13.1330884 16.0617796,13.0558675 C16.2225837,12.8950634 16.2225837,12.6343484 16.0617796,12.4735443 L16.0617796,12.4735443 Z",
|
|
39
39
|
"transform": "translate(13 10)"
|
|
@@ -33,7 +33,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
|
33
33
|
"fill": "none",
|
|
34
34
|
"fill-rule": "evenodd"
|
|
35
35
|
}, [(0, import_vue.createVNode)("g", {
|
|
36
|
-
"fill": "
|
|
36
|
+
"fill": "currentColor"
|
|
37
37
|
}, [(0, import_vue.createVNode)("path", {
|
|
38
38
|
"d": "M26.2484746,0.5 C27.2158154,0.5 28,1.28489795 28,2.25432827 L28,19.7456717 C28,20.7145605 27.221896,21.5 26.2484746,21.5 L26.043,21.499 L26.0429993,21.5 L2.46414185,21.5 L2.462,21.499 L1.7515254,21.5 C0.784184634,21.5 5.32907052e-15,20.7151021 5.32907052e-15,19.7456717 L5.32907052e-15,2.25432827 C5.32907052e-15,1.28543952 0.778104007,0.5 1.7515254,0.5 L26.2484746,0.5 Z M25.378032,2.25 L2.62196797,2.25 C2.13483649,2.25 1.75,2.63853971 1.75,3.11782772 L1.75,3.11782772 L1.75,18.8821723 C1.75,18.9217886 1.75278034,18.9608989 1.75816119,18.9993065 L7.9725553,11.29778 C8.88517531,10.1668223 10.4008681,10.1228516 11.3733387,11.216881 L16.625,17.125 L19.6397047,14.7132363 C20.390975,14.11222 21.6193585,14.1071457 22.3809128,14.6999851 L26.249,17.711 L26.25,3.11782772 C26.25,2.68450279 25.9173571,2.31171151 25.4874098,2.25692306 L25.378032,2.25 Z",
|
|
39
39
|
"transform": "translate(10 13)"
|
|
@@ -33,7 +33,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
|
33
33
|
"fill": "none",
|
|
34
34
|
"fill-rule": "evenodd"
|
|
35
35
|
}, [(0, import_vue.createVNode)("g", {
|
|
36
|
-
"fill": "
|
|
36
|
+
"fill": "currentColor"
|
|
37
37
|
}, [(0, import_vue.createVNode)("path", {
|
|
38
38
|
"d": "M9.88235294,23.0588235 L11.5294118,23.0588235 L11.5294118,26.3529412 L14.8214926,26.3529412 C15.2423673,26.3529412 15.5896836,26.6644036 15.6406265,27.0725453 L15.6470588,27.1764706 C15.6470588,27.6312933 15.2717263,28 14.8214926,28 L6.59027213,28 C6.13432448,28 5.76470588,27.6344643 5.76470588,27.1764706 C5.76470588,26.7216479 6.14003843,26.3529412 6.59027213,26.3529412 L9.88235294,26.3529412 L9.88235294,23.0588235 Z M10.7058824,0 C14.7993681,0 18.1176471,3.11347096 18.1176471,6.92221282 L18.1176471,12.8424931 C18.1176471,16.665562 14.7910466,19.7647059 10.7058824,19.7647059 C6.61261562,19.7647059 3.29411765,16.6512349 3.29411765,12.8424931 L3.29411765,6.92221282 C3.29411765,3.09914392 6.62093705,0 10.7058824,0 Z M14.0037902,13.1764706 L7.40797447,13.1764706 C6.96348833,13.1764706 6.58823529,13.5451773 6.58823529,14 C6.58823529,14.4227634 6.90095364,14.7667461 7.30514813,14.8171649 L7.40797447,14.8235294 L14.0037902,14.8235294 C14.4140851,14.8235294 14.7653885,14.5093651 14.8170074,14.1033018 L14.8235294,14 L14.8171425,13.8960747 C14.7665592,13.487933 14.4216943,13.1764706 14.0037902,13.1764706 Z M14.0037902,9.05882353 L7.40797447,9.05882353 C6.96348833,9.05882353 6.58823529,9.42753021 6.58823529,9.88235294 C6.58823529,10.3051163 6.90095364,10.649099 7.30514813,10.6995178 L7.40797447,10.7058824 L14.0037902,10.7058824 C14.4140851,10.7058824 14.7653885,10.3917181 14.8170074,9.98565472 L14.8235294,9.88235294 L14.8171425,9.77842765 C14.7665592,9.37028593 14.4216943,9.05882353 14.0037902,9.05882353 Z M14.0037902,4.94117647 L7.40797447,4.94117647 C6.96348833,4.94117647 6.58823529,5.30988315 6.58823529,5.76470588 C6.58823529,6.18746928 6.90095364,6.53145194 7.30514813,6.58187079 L7.40797447,6.58823529 L14.0037902,6.58823529 C14.4140851,6.58823529 14.7653885,6.27407103 14.8170074,5.86800766 L14.8235294,5.76470588 L14.8171425,5.6607806 C14.7665592,5.25263887 14.4216943,4.94117647 14.0037902,4.94117647 Z",
|
|
39
39
|
"transform": "translate(13.294118 10)"
|
|
@@ -33,7 +33,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
|
33
33
|
"fill": "none",
|
|
34
34
|
"fill-rule": "evenodd"
|
|
35
35
|
}, [(0, import_vue.createVNode)("g", {
|
|
36
|
-
"fill": "
|
|
36
|
+
"fill": "currentColor"
|
|
37
37
|
}, [(0, import_vue.createVNode)("path", {
|
|
38
38
|
"d": "M22.7478359,0.5 C23.2322802,0.5 23.7508557,0.877567053 23.9022927,1.33187811 L24.791,3.999 L26.2484746,4 C27.2158154,4 28,4.77453349 28,5.74194574 L28,19.7580543 C28,20.7201043 27.221896,21.5 26.2484746,21.5 L1.7515254,21.5 C0.784184634,21.5 0,20.7254665 0,19.7580543 L0,5.74194574 C0,4.77989567 0.778104007,4 1.7515254,4 L11.958,3.999 L12.8477073,1.33187811 C13.0008518,0.872444515 13.5237908,0.5 14.0021641,0.5 L22.7478359,0.5 Z M18.375,6.625 C14.9922559,6.625 12.25,9.36725591 12.25,12.75 C12.25,16.1327441 14.9922559,18.875 18.375,18.875 C21.7577441,18.875 24.5,16.1327441 24.5,12.75 C24.5,9.36725591 21.7577441,6.625 18.375,6.625 Z M5.6875,5.75 L5.55247168,5.75677629 C4.88702668,5.82398941 4.375,6.38293087 4.375,7.0625 C4.375,7.79242742 4.96262627,8.375 5.6875,8.375 L5.6875,8.375 L5.82252832,8.36822371 C6.48797332,8.30101059 7,7.74206913 7,7.0625 L7,7.0625 L6.99322371,6.92747168 C6.92601059,6.26202668 6.36706913,5.75 5.6875,5.75 L5.6875,5.75 Z",
|
|
39
39
|
"transform": "translate(10 13)"
|
|
@@ -33,7 +33,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
|
33
33
|
"fill": "none",
|
|
34
34
|
"fill-rule": "evenodd"
|
|
35
35
|
}, [(0, import_vue.createVNode)("g", {
|
|
36
|
-
"fill": "
|
|
36
|
+
"fill": "currentColor"
|
|
37
37
|
}, [(0, import_vue.createVNode)("path", {
|
|
38
38
|
"d": "M19.2451698,0.625 C21.1808341,0.625 22.75,2.19340919 22.75,4.12432622 L22.75,14.6256738 C22.75,16.5582983 21.1863004,18.125 19.2451698,18.125 L3.50483022,18.125 C1.56916594,18.125 0,16.5565908 0,14.6256738 L0,4.12432622 C0,2.19170171 1.56369963,0.625 3.50483022,0.625 L19.2451698,0.625 Z M10.0666465,5.82290404 C9.34681606,5.37301004 8.75,5.700372 8.75,6.56432465 L8.75,6.56432465 L8.75,12.1856754 C8.75,13.0634022 9.3394827,13.3815733 10.0666465,12.927096 L10.0666465,12.927096 L14.4333535,10.197904 C15.1531839,9.74801004 15.1605173,9.00657331 14.4333535,8.55209596 L14.4333535,8.55209596 Z",
|
|
39
39
|
"transform": "translate(10 12)"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.zt-media-picker__hidden{display:none}.zt-media-picker__title{position:relative;height:44px;line-height:44px;font-weight:700;font-size:16px;color:var(--zt-text-color);padding:0 16px}.zt-media-picker__title:before{position:absolute;width:4px;height:16px;background:var(--zt-blue);left:0;top:14px;content:" "}.zt-media-picker__title: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-media-picker__line{width:100%;height:92px;display:flex;align-items:center;overflow-x:auto}.zt-media-picker__line::-webkit-scrollbar{width:0;height:0}.zt-media-picker__line:after{content:" ";min-width:16px;height:10px}.zt-media-picker__box{width:48px;display:flex;flex-direction:column;align-items:center}.zt-media-picker__box:first-child{margin-left:16px}.zt-media-picker__box:not(:last-child){margin-right:24px}.zt-media-picker__button{display:flex;align-items:center;justify-content:center;width:48px;height:48px;background:
|
|
1
|
+
:root{--zt-media-picker-image-color: #2d4b73;--zt-media-picker-button-background: linear-gradient(135deg, #e6ebf0 0%, #fff 100%, #fff 100%);--zt-media-picker-button-box-shadow: -4px -4px 8px 0 #fff, 4px 4px 8px 0 rgba(45, 75, 115, .1);--zt-media-picker-button-border: 0;--zt-media-picker-button-active-border: 1px solid rgba(255, 255, 255, .75);--zt-media-picker-button-active-box-shadow: inset 4px 4px 8px 0 rgba(45, 75, 115, .24)}.zt-media-picker__hidden{display:none}.zt-media-picker__title{position:relative;height:44px;line-height:44px;font-weight:700;font-size:16px;color:var(--zt-text-color);padding:0 16px}.zt-media-picker__title:before{position:absolute;width:4px;height:16px;background:var(--zt-blue);left:0;top:14px;content:" "}.zt-media-picker__title: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-media-picker__line{width:100%;height:92px;display:flex;align-items:center;overflow-x:auto}.zt-media-picker__line::-webkit-scrollbar{width:0;height:0}.zt-media-picker__line:after{content:" ";min-width:16px;height:10px}.zt-media-picker__box{width:48px;display:flex;flex-direction:column;align-items:center}.zt-media-picker__box:first-child{margin-left:16px}.zt-media-picker__box:not(:last-child){margin-right:24px}.zt-media-picker__button{display:flex;align-items:center;justify-content:center;width:48px;height:48px;background:var(--zt-media-picker-button-background);box-shadow:var(--zt-media-picker-button-box-shadow);border:var(--zt-media-picker-button-border);border-radius:8px;box-sizing:border-box}.zt-media-picker__button:active{background:rgba(45,75,115,.04);border:var(--zt-media-picker-button-active-border);box-shadow:var(--zt-media-picker-button-active-box-shadow)}.zt-media-picker__icon{width:32px;height:32px;color:var(--zt-media-picker-image-color)}.zt-media-picker__label{margin-top:8px;font-size:12px;color:var(--zt-gray-a8);letter-spacing:0;text-align:center;line-height:16px;-webkit-user-select:none;user-select:none}.zt-media-picker__grid{padding:0 16px 8px!important}.zt-media-picker__delete{box-sizing:content-box;width:20px;height:20px;position:absolute;padding:4px;top:0;right:0}.zt-media-picker .zt-image{width:100%;height:100%}.zt-media-picker .zt-grid-item__content{padding:0}.zt-media-picker__thumbnail{width:100%;height:100%}.zt-media-picker__mask{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--zt-white);background-color:var(--zt-uploader-mask-background);border-radius:4px}.zt-media-picker__mask-icon{font-size:var(--zt-uploader-mask-icon-size)}.zt-media-picker__mask-message{margin-top:6px;padding:0 var(--zt-padding-base);font-size:var(--zt-uploader-mask-message-font-size);line-height:var(--zt-uploader-mask-message-line-height)}.zt-media-picker__loading{width:var(--zt-uploader-loading-icon-size);height:var(--zt-uploader-loading-icon-size);color:var(--zt-uploader-icon-color)}.zt-theme-dark{--zt-media-picker-image-color: #ffffff;--zt-media-picker-button-background: linear-gradient(135deg, #111c29 0%, #1d2c3e 100%, #1c2a3c 100%);--zt-media-picker-button-box-shadow: -4px -4px 8px 0 #ffffff14, 4px 4px 8px 0 #000c18cc;--zt-media-picker-button-border: 1px solid #ffffff1f;--zt-media-picker-button-active-border: 1px solid #ffffff1f;--zt-media-picker-button-active-box-shadow: inset 6px 6px 6px 0 #000d1b}
|
|
@@ -17,6 +17,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
17
17
|
return to;
|
|
18
18
|
};
|
|
19
19
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
20
24
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
21
25
|
mod
|
|
22
26
|
));
|
|
@@ -253,10 +253,13 @@ function getOrientation(arrayBuffer) {
|
|
|
253
253
|
function resize(img, {
|
|
254
254
|
inputType = "image/jpeg",
|
|
255
255
|
orientation = 1,
|
|
256
|
+
// 图片的方向
|
|
256
257
|
imageWidth = -1,
|
|
257
258
|
imageHeight = -1,
|
|
259
|
+
// equalProportion = true, // 等比例拉伸
|
|
258
260
|
sideLengthLimit = 640,
|
|
259
261
|
baseOnShortSide = true,
|
|
262
|
+
// 是否以短边为基准缩放
|
|
260
263
|
resultType = "image"
|
|
261
264
|
}) {
|
|
262
265
|
let scale = 1;
|
|
@@ -27,6 +27,7 @@ const DEFAULT_JPEG_QUALITY = 0.8;
|
|
|
27
27
|
const MIN_JPEG_QUALITY = 0.1;
|
|
28
28
|
const JPEG_QUALITY_STEP = 0.05;
|
|
29
29
|
class ImageProcessor {
|
|
30
|
+
// 压缩图片的配置
|
|
30
31
|
constructor(file, resizeOptions, watermarkOptions, compressOptions) {
|
|
31
32
|
this.file = file;
|
|
32
33
|
this.resizeOptions = resizeOptions;
|
|
@@ -55,12 +56,15 @@ class ImageProcessor {
|
|
|
55
56
|
fileType = "image/png";
|
|
56
57
|
}
|
|
57
58
|
return (0, import_media_util.file2Image)(this.file).then(
|
|
58
|
-
(img) => (
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
59
|
+
(img) => (
|
|
60
|
+
// 第一步 resize image
|
|
61
|
+
(0, import_media_util.resize)(img, {
|
|
62
|
+
inputType: fileType,
|
|
63
|
+
orientation,
|
|
64
|
+
sideLengthLimit: this.resizeOptions.maxSideLength,
|
|
65
|
+
resultType: "canvas"
|
|
66
|
+
})
|
|
67
|
+
)
|
|
64
68
|
).then((result) => {
|
|
65
69
|
const canvas = result;
|
|
66
70
|
return (0, import_watermark.renderWatermark)(canvas, this.watermarkOptions);
|
|
@@ -23,6 +23,7 @@ module.exports = __toCommonJS(stdin_exports);
|
|
|
23
23
|
var import_utils = require("../../utils");
|
|
24
24
|
var import_media_util = require("../util/media-util");
|
|
25
25
|
class ResizeOptions {
|
|
26
|
+
// 最大边长
|
|
26
27
|
constructor(maxSideLength) {
|
|
27
28
|
if (!(0, import_utils.isDef)(maxSideLength)) {
|
|
28
29
|
this.maxSideLength = import_media_util.MAX_SIDE_LENGTH;
|
|
@@ -17,6 +17,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
17
17
|
return to;
|
|
18
18
|
};
|
|
19
19
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
20
24
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
21
25
|
mod
|
|
22
26
|
));
|
|
@@ -17,6 +17,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
17
17
|
return to;
|
|
18
18
|
};
|
|
19
19
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
20
24
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
21
25
|
mod
|
|
22
26
|
));
|
|
@@ -35,7 +35,7 @@ declare const multiplePickerProps: {
|
|
|
35
35
|
type: import("vue").PropType<string>;
|
|
36
36
|
default: string;
|
|
37
37
|
};
|
|
38
|
-
|
|
38
|
+
textKey: {
|
|
39
39
|
type: import("vue").PropType<string>;
|
|
40
40
|
default: string;
|
|
41
41
|
};
|
|
@@ -84,7 +84,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
84
84
|
type: import("vue").PropType<string>;
|
|
85
85
|
default: string;
|
|
86
86
|
};
|
|
87
|
-
|
|
87
|
+
textKey: {
|
|
88
88
|
type: import("vue").PropType<string>;
|
|
89
89
|
default: string;
|
|
90
90
|
};
|
|
@@ -131,7 +131,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
131
131
|
type: import("vue").PropType<string>;
|
|
132
132
|
default: string;
|
|
133
133
|
};
|
|
134
|
-
|
|
134
|
+
textKey: {
|
|
135
135
|
type: import("vue").PropType<string>;
|
|
136
136
|
default: string;
|
|
137
137
|
};
|
|
@@ -159,7 +159,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
159
159
|
showToolbar: boolean;
|
|
160
160
|
toolbarPosition: string;
|
|
161
161
|
showPicker: boolean;
|
|
162
|
-
|
|
162
|
+
textKey: string;
|
|
163
163
|
itemHeight: string | number;
|
|
164
164
|
columnCounts: number;
|
|
165
165
|
selectedIndex: number[];
|
|
@@ -17,6 +17,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
17
17
|
return to;
|
|
18
18
|
};
|
|
19
19
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
20
24
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
21
25
|
mod
|
|
22
26
|
));
|
|
@@ -49,7 +53,7 @@ const multiplePickerProps = {
|
|
|
49
53
|
showToolbar: import_utils.truthProp,
|
|
50
54
|
options: (0, import_utils.makeArrayProp)(),
|
|
51
55
|
toolbarPosition: (0, import_utils.makeStringProp)("bottom"),
|
|
52
|
-
|
|
56
|
+
textKey: (0, import_utils.makeStringProp)("text"),
|
|
53
57
|
columnCounts: (0, import_utils.makeNumberProp)(3),
|
|
54
58
|
selectedIndex: (0, import_utils.makeArrayProp)([])
|
|
55
59
|
};
|
|
@@ -92,7 +96,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
|
92
96
|
indexes == null ? void 0 : indexes.forEach((index) => {
|
|
93
97
|
if (index > -1 && index < props.options.length && props.options[index]) {
|
|
94
98
|
result.push({
|
|
95
|
-
|
|
99
|
+
[props.textKey]: props.options[index][props.textKey],
|
|
96
100
|
value: props.options[index].value,
|
|
97
101
|
initialIndex: index
|
|
98
102
|
});
|
|
@@ -164,7 +168,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
|
164
168
|
"columnCounts": props.columnCounts,
|
|
165
169
|
"initialOptions": formatOptions,
|
|
166
170
|
"allowHtml": props.allowHtml,
|
|
167
|
-
"
|
|
171
|
+
"textKey": props.textKey,
|
|
168
172
|
"readonly": props.readonly,
|
|
169
173
|
"itemHeight": Number(itemPxHeight),
|
|
170
174
|
"onChange": onChange
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ExtractPropTypes } from 'vue';
|
|
2
2
|
declare const multiplePickerOptionsProps: {
|
|
3
|
-
|
|
3
|
+
textKey: {
|
|
4
4
|
type: import("vue").PropType<string>;
|
|
5
5
|
default: string;
|
|
6
6
|
};
|
|
@@ -25,7 +25,7 @@ declare const multiplePickerOptionsProps: {
|
|
|
25
25
|
};
|
|
26
26
|
export declare type MultiplePickerOptionsProps = ExtractPropTypes<typeof multiplePickerOptionsProps>;
|
|
27
27
|
declare const _default: import("vue").DefineComponent<{
|
|
28
|
-
|
|
28
|
+
textKey: {
|
|
29
29
|
type: import("vue").PropType<string>;
|
|
30
30
|
default: string;
|
|
31
31
|
};
|
|
@@ -48,7 +48,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
48
48
|
default: () => number[];
|
|
49
49
|
};
|
|
50
50
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:currentIndexes")[], "change" | "update:currentIndexes", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
51
|
-
|
|
51
|
+
textKey: {
|
|
52
52
|
type: import("vue").PropType<string>;
|
|
53
53
|
default: string;
|
|
54
54
|
};
|
|
@@ -76,7 +76,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
76
76
|
}, {
|
|
77
77
|
readonly: boolean;
|
|
78
78
|
allowHtml: boolean;
|
|
79
|
-
|
|
79
|
+
textKey: string;
|
|
80
80
|
itemHeight: number;
|
|
81
81
|
columnCounts: number;
|
|
82
82
|
initialOptions: object[];
|
|
@@ -26,7 +26,7 @@ var import_utils = require("../utils");
|
|
|
26
26
|
var import_use_expose = require("../composables/use-expose");
|
|
27
27
|
const [name, bem] = (0, import_utils.createNamespace)("multiple-picker-options");
|
|
28
28
|
const multiplePickerOptionsProps = {
|
|
29
|
-
|
|
29
|
+
textKey: (0, import_utils.makeStringProp)(""),
|
|
30
30
|
readonly: Boolean,
|
|
31
31
|
allowHtml: Boolean,
|
|
32
32
|
itemHeight: (0, import_utils.makeNumberProp)(0),
|
|
@@ -66,8 +66,8 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
|
66
66
|
emit("change");
|
|
67
67
|
};
|
|
68
68
|
const getOptionText = (option) => {
|
|
69
|
-
if ((0, import_utils.isObject)(option) && props.
|
|
70
|
-
return option[props.
|
|
69
|
+
if ((0, import_utils.isObject)(option) && props.textKey in option) {
|
|
70
|
+
return option[props.textKey];
|
|
71
71
|
}
|
|
72
72
|
return option;
|
|
73
73
|
};
|
|
@@ -34,7 +34,7 @@ export declare const MultiplePicker: import("../utils").WithInstall<import("vue"
|
|
|
34
34
|
type: import("vue").PropType<string>;
|
|
35
35
|
default: string;
|
|
36
36
|
};
|
|
37
|
-
|
|
37
|
+
textKey: {
|
|
38
38
|
type: import("vue").PropType<string>;
|
|
39
39
|
default: string;
|
|
40
40
|
};
|
|
@@ -81,7 +81,7 @@ export declare const MultiplePicker: import("../utils").WithInstall<import("vue"
|
|
|
81
81
|
type: import("vue").PropType<string>;
|
|
82
82
|
default: string;
|
|
83
83
|
};
|
|
84
|
-
|
|
84
|
+
textKey: {
|
|
85
85
|
type: import("vue").PropType<string>;
|
|
86
86
|
default: string;
|
|
87
87
|
};
|
|
@@ -109,7 +109,7 @@ export declare const MultiplePicker: import("../utils").WithInstall<import("vue"
|
|
|
109
109
|
showToolbar: boolean;
|
|
110
110
|
toolbarPosition: string;
|
|
111
111
|
showPicker: boolean;
|
|
112
|
-
|
|
112
|
+
textKey: string;
|
|
113
113
|
itemHeight: string | number;
|
|
114
114
|
columnCounts: number;
|
|
115
115
|
selectedIndex: number[];
|
|
@@ -17,6 +17,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
17
17
|
return to;
|
|
18
18
|
};
|
|
19
19
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
20
24
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
21
25
|
mod
|
|
22
26
|
));
|
package/lib/nav-bar/index.js
CHANGED
|
@@ -17,6 +17,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
17
17
|
return to;
|
|
18
18
|
};
|
|
19
19
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
20
24
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
21
25
|
mod
|
|
22
26
|
));
|
|
@@ -17,6 +17,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
17
17
|
return to;
|
|
18
18
|
};
|
|
19
19
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
20
24
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
21
25
|
mod
|
|
22
26
|
));
|
package/lib/notice-bar/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--zt-notice-bar-height: 36px;--zt-notice-bar-padding: 0 var(--zt-padding-md);--zt-notice-bar-wrapable-padding: var(--zt-padding-xs) var(--zt-padding-md);--zt-notice-bar-text-color: var(--zt-orange-2);--zt-notice-bar-font-size: var(--zt-font-size-md);--zt-notice-bar-line-height: 36px;--zt-notice-bar-background: var(--zt-background-4);--zt-notice-bar-icon-size: 20px;--zt-notice-bar-icon-min-width: 20px;--zt-notice-bar-icon-height: 20px}.zt-notice-bar{position:relative;display:flex;align-items:center;height:var(--zt-notice-bar-height);padding:var(--zt-notice-bar-padding);color:var(--zt-notice-bar-text-color);font-size:var(--zt-notice-bar-font-size);line-height:var(--zt-notice-bar-line-height);background:var(--zt-notice-bar-background)}.zt-notice-bar__left-icon,.zt-notice-bar__right-icon{min-width:var(--zt-notice-bar-icon-min-width);font-size:var(--zt-notice-bar-icon-size);height:var(--zt-notice-bar-icon-height)}.zt-notice-bar__right-icon{text-align:right;cursor:pointer}.zt-notice-bar__left-icon-size,.zt-notice-bar__right-icon-size{width:var(--zt-notice-bar-icon-size);height:var(--zt-notice-bar-icon-size)}.zt-notice-bar__wrap{position:relative;display:flex;flex:1;align-items:center;height:100%;overflow:hidden}.zt-notice-bar__content{position:absolute;white-space:nowrap;transition-timing-function:linear}.zt-notice-bar__content.zt-ellipsis{max-width:100%}.zt-notice-bar--wrapable{height:auto;padding:var(--zt-notice-bar-wrapable-padding)}.zt-notice-bar--wrapable .zt-notice-bar__wrap{height:auto}.zt-notice-bar--wrapable .zt-notice-bar__content{position:relative;white-space:normal;word-wrap:break-word}
|
|
1
|
+
:root{--zt-notice-bar-height: 36px;--zt-notice-bar-padding: 0 var(--zt-padding-md);--zt-notice-bar-wrapable-padding: var(--zt-padding-xs) var(--zt-padding-md);--zt-notice-bar-text-color: var(--zt-orange-2);--zt-notice-bar-font-size: var(--zt-font-size-md);--zt-notice-bar-line-height: 36px;--zt-notice-bar-background: var(--zt-background-4);--zt-notice-bar-icon-size: 20px;--zt-notice-bar-icon-min-width: 20px;--zt-notice-bar-icon-height: 20px}.zt-notice-bar{position:relative;display:flex;align-items:center;height:var(--zt-notice-bar-height);padding:var(--zt-notice-bar-padding);color:var(--zt-notice-bar-text-color);font-size:var(--zt-notice-bar-font-size);line-height:var(--zt-notice-bar-line-height);background:var(--zt-notice-bar-background)}.zt-notice-bar__left-icon,.zt-notice-bar__right-icon{min-width:var(--zt-notice-bar-icon-min-width);font-size:var(--zt-notice-bar-icon-size);height:var(--zt-notice-bar-icon-height)}.zt-notice-bar__right-icon{text-align:right;cursor:pointer}.zt-notice-bar__left-icon-size,.zt-notice-bar__right-icon-size{width:var(--zt-notice-bar-icon-size);height:var(--zt-notice-bar-icon-size)}.zt-notice-bar__wrap{position:relative;display:flex;flex:1;align-items:center;height:100%;overflow:hidden}.zt-notice-bar__content{position:absolute;white-space:nowrap;transition-timing-function:linear}.zt-notice-bar__content.zt-ellipsis{max-width:100%}.zt-notice-bar--wrapable{height:auto;padding:var(--zt-notice-bar-wrapable-padding)}.zt-notice-bar--wrapable .zt-notice-bar__wrap{height:auto}.zt-notice-bar--wrapable .zt-notice-bar__content{position:relative;white-space:normal;word-wrap:break-word}.zt-theme-dark{--zt-notice-bar-background: rgba(255, 245, 211, .1)}
|
package/lib/notice-bar/index.js
CHANGED
|
@@ -17,6 +17,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
17
17
|
return to;
|
|
18
18
|
};
|
|
19
19
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
20
24
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
21
25
|
mod
|
|
22
26
|
));
|
|
@@ -17,6 +17,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
17
17
|
return to;
|
|
18
18
|
};
|
|
19
19
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
20
24
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
21
25
|
mod
|
|
22
26
|
));
|
package/lib/notify/index.js
CHANGED
|
@@ -17,6 +17,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
17
17
|
return to;
|
|
18
18
|
};
|
|
19
19
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
20
24
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
21
25
|
mod
|
|
22
26
|
));
|
|
@@ -17,6 +17,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
17
17
|
return to;
|
|
18
18
|
};
|
|
19
19
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
20
24
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
21
25
|
mod
|
|
22
26
|
));
|
|
@@ -17,6 +17,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
17
17
|
return to;
|
|
18
18
|
};
|
|
19
19
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
20
24
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
21
25
|
mod
|
|
22
26
|
));
|
|
@@ -17,6 +17,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
17
17
|
return to;
|
|
18
18
|
};
|
|
19
19
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
20
24
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
21
25
|
mod
|
|
22
26
|
));
|
package/lib/overlay/index.d.ts
CHANGED
package/lib/overlay/index.js
CHANGED
|
@@ -17,6 +17,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
17
17
|
return to;
|
|
18
18
|
};
|
|
19
19
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
20
24
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
21
25
|
mod
|
|
22
26
|
));
|
|
@@ -17,6 +17,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
17
17
|
return to;
|
|
18
18
|
};
|
|
19
19
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
20
24
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
21
25
|
mod
|
|
22
26
|
));
|