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/index.d.ts
CHANGED
|
@@ -22,9 +22,12 @@ export * from "./field";
|
|
|
22
22
|
export * from "./form";
|
|
23
23
|
export * from "./grid";
|
|
24
24
|
export * from "./grid-item";
|
|
25
|
+
export * from "./hierarchy-select";
|
|
25
26
|
export * from "./icon";
|
|
26
27
|
export * from "./image";
|
|
27
28
|
export * from "./image-preview";
|
|
29
|
+
export * from "./index-anchor";
|
|
30
|
+
export * from "./index-bar";
|
|
28
31
|
export * from "./lazyload";
|
|
29
32
|
export * from "./list";
|
|
30
33
|
export * from "./loading";
|
|
@@ -54,14 +57,18 @@ export * from "./stepper";
|
|
|
54
57
|
export * from "./steps";
|
|
55
58
|
export * from "./sticky";
|
|
56
59
|
export * from "./swipe";
|
|
60
|
+
export * from "./swipe-cell";
|
|
57
61
|
export * from "./swipe-item";
|
|
58
62
|
export * from "./switch";
|
|
59
63
|
export * from "./tab";
|
|
60
64
|
export * from "./tabbar";
|
|
61
65
|
export * from "./tabbar-item";
|
|
66
|
+
export * from "./table";
|
|
62
67
|
export * from "./tabs";
|
|
63
68
|
export * from "./tag";
|
|
69
|
+
export * from "./text-ellipsis";
|
|
64
70
|
export * from "./time-picker";
|
|
71
|
+
export * from "./timeline";
|
|
65
72
|
export * from "./toast";
|
|
66
73
|
export * from "./uploader";
|
|
67
74
|
declare namespace _default {
|
|
@@ -70,4 +77,4 @@ declare namespace _default {
|
|
|
70
77
|
}
|
|
71
78
|
export default _default;
|
|
72
79
|
export function install(app: any): void;
|
|
73
|
-
export const version: "3.0.
|
|
80
|
+
export const version: "3.0.7";
|
package/lib/index.js
CHANGED
|
@@ -47,9 +47,12 @@ var import_field = require("./field");
|
|
|
47
47
|
var import_form = require("./form");
|
|
48
48
|
var import_grid = require("./grid");
|
|
49
49
|
var import_grid_item = require("./grid-item");
|
|
50
|
+
var import_hierarchy_select = require("./hierarchy-select");
|
|
50
51
|
var import_icon = require("./icon");
|
|
51
52
|
var import_image = require("./image");
|
|
52
53
|
var import_image_preview = require("./image-preview");
|
|
54
|
+
var import_index_anchor = require("./index-anchor");
|
|
55
|
+
var import_index_bar = require("./index-bar");
|
|
53
56
|
var import_list = require("./list");
|
|
54
57
|
var import_loading = require("./loading");
|
|
55
58
|
var import_locale = require("./locale");
|
|
@@ -78,14 +81,18 @@ var import_stepper = require("./stepper");
|
|
|
78
81
|
var import_steps = require("./steps");
|
|
79
82
|
var import_sticky = require("./sticky");
|
|
80
83
|
var import_swipe = require("./swipe");
|
|
84
|
+
var import_swipe_cell = require("./swipe-cell");
|
|
81
85
|
var import_swipe_item = require("./swipe-item");
|
|
82
86
|
var import_switch = require("./switch");
|
|
83
87
|
var import_tab = require("./tab");
|
|
84
88
|
var import_tabbar = require("./tabbar");
|
|
85
89
|
var import_tabbar_item = require("./tabbar-item");
|
|
90
|
+
var import_table = require("./table");
|
|
86
91
|
var import_tabs = require("./tabs");
|
|
87
92
|
var import_tag = require("./tag");
|
|
93
|
+
var import_text_ellipsis = require("./text-ellipsis");
|
|
88
94
|
var import_time_picker = require("./time-picker");
|
|
95
|
+
var import_timeline = require("./timeline");
|
|
89
96
|
var import_toast = require("./toast");
|
|
90
97
|
var import_uploader = require("./uploader");
|
|
91
98
|
__reExport(stdin_exports, require("./action-sheet"), module.exports);
|
|
@@ -112,9 +119,12 @@ __reExport(stdin_exports, require("./field"), module.exports);
|
|
|
112
119
|
__reExport(stdin_exports, require("./form"), module.exports);
|
|
113
120
|
__reExport(stdin_exports, require("./grid"), module.exports);
|
|
114
121
|
__reExport(stdin_exports, require("./grid-item"), module.exports);
|
|
122
|
+
__reExport(stdin_exports, require("./hierarchy-select"), module.exports);
|
|
115
123
|
__reExport(stdin_exports, require("./icon"), module.exports);
|
|
116
124
|
__reExport(stdin_exports, require("./image"), module.exports);
|
|
117
125
|
__reExport(stdin_exports, require("./image-preview"), module.exports);
|
|
126
|
+
__reExport(stdin_exports, require("./index-anchor"), module.exports);
|
|
127
|
+
__reExport(stdin_exports, require("./index-bar"), module.exports);
|
|
118
128
|
__reExport(stdin_exports, require("./lazyload"), module.exports);
|
|
119
129
|
__reExport(stdin_exports, require("./list"), module.exports);
|
|
120
130
|
__reExport(stdin_exports, require("./loading"), module.exports);
|
|
@@ -144,17 +154,21 @@ __reExport(stdin_exports, require("./stepper"), module.exports);
|
|
|
144
154
|
__reExport(stdin_exports, require("./steps"), module.exports);
|
|
145
155
|
__reExport(stdin_exports, require("./sticky"), module.exports);
|
|
146
156
|
__reExport(stdin_exports, require("./swipe"), module.exports);
|
|
157
|
+
__reExport(stdin_exports, require("./swipe-cell"), module.exports);
|
|
147
158
|
__reExport(stdin_exports, require("./swipe-item"), module.exports);
|
|
148
159
|
__reExport(stdin_exports, require("./switch"), module.exports);
|
|
149
160
|
__reExport(stdin_exports, require("./tab"), module.exports);
|
|
150
161
|
__reExport(stdin_exports, require("./tabbar"), module.exports);
|
|
151
162
|
__reExport(stdin_exports, require("./tabbar-item"), module.exports);
|
|
163
|
+
__reExport(stdin_exports, require("./table"), module.exports);
|
|
152
164
|
__reExport(stdin_exports, require("./tabs"), module.exports);
|
|
153
165
|
__reExport(stdin_exports, require("./tag"), module.exports);
|
|
166
|
+
__reExport(stdin_exports, require("./text-ellipsis"), module.exports);
|
|
154
167
|
__reExport(stdin_exports, require("./time-picker"), module.exports);
|
|
168
|
+
__reExport(stdin_exports, require("./timeline"), module.exports);
|
|
155
169
|
__reExport(stdin_exports, require("./toast"), module.exports);
|
|
156
170
|
__reExport(stdin_exports, require("./uploader"), module.exports);
|
|
157
|
-
const version = "3.0.
|
|
171
|
+
const version = "3.0.7";
|
|
158
172
|
function install(app) {
|
|
159
173
|
const components = [
|
|
160
174
|
import_action_sheet.ActionSheet,
|
|
@@ -181,9 +195,12 @@ function install(app) {
|
|
|
181
195
|
import_form.Form,
|
|
182
196
|
import_grid.Grid,
|
|
183
197
|
import_grid_item.GridItem,
|
|
198
|
+
import_hierarchy_select.HierarchySelect,
|
|
184
199
|
import_icon.Icon,
|
|
185
200
|
import_image.Image,
|
|
186
201
|
import_image_preview.ImagePreview,
|
|
202
|
+
import_index_anchor.IndexAnchor,
|
|
203
|
+
import_index_bar.IndexBar,
|
|
187
204
|
import_list.List,
|
|
188
205
|
import_loading.Loading,
|
|
189
206
|
import_locale.Locale,
|
|
@@ -212,14 +229,18 @@ function install(app) {
|
|
|
212
229
|
import_steps.Steps,
|
|
213
230
|
import_sticky.Sticky,
|
|
214
231
|
import_swipe.Swipe,
|
|
232
|
+
import_swipe_cell.SwipeCell,
|
|
215
233
|
import_swipe_item.SwipeItem,
|
|
216
234
|
import_switch.Switch,
|
|
217
235
|
import_tab.Tab,
|
|
218
236
|
import_tabbar.Tabbar,
|
|
219
237
|
import_tabbar_item.TabbarItem,
|
|
238
|
+
import_table.Table,
|
|
220
239
|
import_tabs.Tabs,
|
|
221
240
|
import_tag.Tag,
|
|
241
|
+
import_text_ellipsis.TextEllipsis,
|
|
222
242
|
import_time_picker.TimePicker,
|
|
243
|
+
import_timeline.Timeline,
|
|
223
244
|
import_toast.Toast,
|
|
224
245
|
import_uploader.Uploader
|
|
225
246
|
];
|
|
@@ -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
|
));
|
|
@@ -31,6 +35,11 @@ var import_lazy_component = __toESM(require("./lazy-component"));
|
|
|
31
35
|
var import_lazy_container = __toESM(require("./lazy-container"));
|
|
32
36
|
var import_lazy_image = __toESM(require("./lazy-image"));
|
|
33
37
|
const Lazyload = {
|
|
38
|
+
/*
|
|
39
|
+
* install function
|
|
40
|
+
* @param {App} app
|
|
41
|
+
* @param {object} options lazyload options
|
|
42
|
+
*/
|
|
34
43
|
install(app, options = {}) {
|
|
35
44
|
const LazyClass = (0, import_lazy.default)();
|
|
36
45
|
const lazy = new LazyClass(options);
|
|
@@ -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
|
));
|
|
@@ -92,12 +96,26 @@ function stdin_default() {
|
|
|
92
96
|
);
|
|
93
97
|
this.setMode(this.options.observer ? import_util.modeType.observer : import_util.modeType.event);
|
|
94
98
|
}
|
|
99
|
+
/**
|
|
100
|
+
* update config
|
|
101
|
+
* @param {Object} config params
|
|
102
|
+
* @return
|
|
103
|
+
*/
|
|
95
104
|
config(options = {}) {
|
|
96
105
|
Object.assign(this.options, options);
|
|
97
106
|
}
|
|
107
|
+
/**
|
|
108
|
+
* output listener's load performance
|
|
109
|
+
* @return {Array}
|
|
110
|
+
*/
|
|
98
111
|
performance() {
|
|
99
112
|
return this.listeners.map((item) => item.performance());
|
|
100
113
|
}
|
|
114
|
+
/*
|
|
115
|
+
* add lazy component to queue
|
|
116
|
+
* @param {Vue} vm lazy component instance
|
|
117
|
+
* @return
|
|
118
|
+
*/
|
|
101
119
|
addLazyBox(vm) {
|
|
102
120
|
this.listeners.push(vm);
|
|
103
121
|
if (import_use.inBrowser) {
|
|
@@ -108,6 +126,13 @@ function stdin_default() {
|
|
|
108
126
|
}
|
|
109
127
|
}
|
|
110
128
|
}
|
|
129
|
+
/*
|
|
130
|
+
* add image listener to queue
|
|
131
|
+
* @param {DOM} el
|
|
132
|
+
* @param {object} binding vue directive binding
|
|
133
|
+
* @param {vnode} vnode vue directive vnode
|
|
134
|
+
* @return
|
|
135
|
+
*/
|
|
111
136
|
add(el, binding, vnode) {
|
|
112
137
|
if (this.listeners.some((item) => item.el === el)) {
|
|
113
138
|
this.update(el, binding);
|
|
@@ -148,6 +173,12 @@ function stdin_default() {
|
|
|
148
173
|
(0, import_vue.nextTick)(() => this.lazyLoadHandler());
|
|
149
174
|
});
|
|
150
175
|
}
|
|
176
|
+
/**
|
|
177
|
+
* update image src
|
|
178
|
+
* @param {DOM} el
|
|
179
|
+
* @param {object} vue directive binding
|
|
180
|
+
* @return
|
|
181
|
+
*/
|
|
151
182
|
update(el, binding, vnode) {
|
|
152
183
|
const value = this.valueFormatter(binding.value);
|
|
153
184
|
let { src } = value;
|
|
@@ -169,6 +200,11 @@ function stdin_default() {
|
|
|
169
200
|
this.lazyLoadHandler();
|
|
170
201
|
(0, import_vue.nextTick)(() => this.lazyLoadHandler());
|
|
171
202
|
}
|
|
203
|
+
/**
|
|
204
|
+
* remove listener form list
|
|
205
|
+
* @param {DOM} el
|
|
206
|
+
* @return
|
|
207
|
+
*/
|
|
172
208
|
remove(el) {
|
|
173
209
|
if (!el)
|
|
174
210
|
return;
|
|
@@ -181,6 +217,11 @@ function stdin_default() {
|
|
|
181
217
|
existItem.$destroy();
|
|
182
218
|
}
|
|
183
219
|
}
|
|
220
|
+
/*
|
|
221
|
+
* remove lazy components form list
|
|
222
|
+
* @param {Vue} vm Vue instance
|
|
223
|
+
* @return
|
|
224
|
+
*/
|
|
184
225
|
removeComponent(vm) {
|
|
185
226
|
if (!vm)
|
|
186
227
|
return;
|
|
@@ -213,6 +254,14 @@ function stdin_default() {
|
|
|
213
254
|
this.initIntersectionObserver();
|
|
214
255
|
}
|
|
215
256
|
}
|
|
257
|
+
/*
|
|
258
|
+
*** Private functions ***
|
|
259
|
+
*/
|
|
260
|
+
/*
|
|
261
|
+
* add listener target
|
|
262
|
+
* @param {DOM} el listener target
|
|
263
|
+
* @return
|
|
264
|
+
*/
|
|
216
265
|
addListenerTarget(el) {
|
|
217
266
|
if (!el)
|
|
218
267
|
return;
|
|
@@ -231,6 +280,11 @@ function stdin_default() {
|
|
|
231
280
|
}
|
|
232
281
|
return this.targetIndex;
|
|
233
282
|
}
|
|
283
|
+
/*
|
|
284
|
+
* remove listener target or reduce target childrenCount
|
|
285
|
+
* @param {DOM} el or window
|
|
286
|
+
* @return
|
|
287
|
+
*/
|
|
234
288
|
removeListenerTarget(el) {
|
|
235
289
|
this.targets.forEach((target, index) => {
|
|
236
290
|
if (target.el === el) {
|
|
@@ -243,6 +297,12 @@ function stdin_default() {
|
|
|
243
297
|
}
|
|
244
298
|
});
|
|
245
299
|
}
|
|
300
|
+
/*
|
|
301
|
+
* add or remove eventlistener
|
|
302
|
+
* @param {DOM} el DOM or Window
|
|
303
|
+
* @param {boolean} start flag
|
|
304
|
+
* @return
|
|
305
|
+
*/
|
|
246
306
|
initListen(el, start) {
|
|
247
307
|
this.options.ListenEvents.forEach(
|
|
248
308
|
(evt) => (start ? import_util.on : import_util.off)(el, evt, this.lazyLoadHandler)
|
|
@@ -283,6 +343,10 @@ function stdin_default() {
|
|
|
283
343
|
this.Event.listeners[event].forEach((func) => func(context, inCache));
|
|
284
344
|
};
|
|
285
345
|
}
|
|
346
|
+
/**
|
|
347
|
+
* find nodes which in viewport and trigger load
|
|
348
|
+
* @return
|
|
349
|
+
*/
|
|
286
350
|
lazyLoadHandler() {
|
|
287
351
|
const freeList = [];
|
|
288
352
|
this.listeners.forEach((listener) => {
|
|
@@ -299,6 +363,11 @@ function stdin_default() {
|
|
|
299
363
|
item.$destroy();
|
|
300
364
|
});
|
|
301
365
|
}
|
|
366
|
+
/**
|
|
367
|
+
* init IntersectionObserver
|
|
368
|
+
* set mode to observer
|
|
369
|
+
* @return
|
|
370
|
+
*/
|
|
302
371
|
initIntersectionObserver() {
|
|
303
372
|
if (!import_util.hasIntersectionObserver) {
|
|
304
373
|
return;
|
|
@@ -313,6 +382,10 @@ function stdin_default() {
|
|
|
313
382
|
});
|
|
314
383
|
}
|
|
315
384
|
}
|
|
385
|
+
/**
|
|
386
|
+
* init IntersectionObserver
|
|
387
|
+
* @return
|
|
388
|
+
*/
|
|
316
389
|
observerHandler(entries) {
|
|
317
390
|
entries.forEach((entry) => {
|
|
318
391
|
if (entry.isIntersecting) {
|
|
@@ -326,6 +399,13 @@ function stdin_default() {
|
|
|
326
399
|
}
|
|
327
400
|
});
|
|
328
401
|
}
|
|
402
|
+
/**
|
|
403
|
+
* set element attribute with image'url and state
|
|
404
|
+
* @param {object} lazyload listener object
|
|
405
|
+
* @param {string} state will be rendered
|
|
406
|
+
* @param {bool} inCache is rendered from cache
|
|
407
|
+
* @return
|
|
408
|
+
*/
|
|
329
409
|
elRenderer(listener, state, cache) {
|
|
330
410
|
if (!listener.el)
|
|
331
411
|
return;
|
|
@@ -357,6 +437,11 @@ function stdin_default() {
|
|
|
357
437
|
el.dispatchEvent(event);
|
|
358
438
|
}
|
|
359
439
|
}
|
|
440
|
+
/**
|
|
441
|
+
* generate loading loaded error image url
|
|
442
|
+
* @param {string} image's src
|
|
443
|
+
* @return {object} image's loading, loaded, error url
|
|
444
|
+
*/
|
|
360
445
|
valueFormatter(value) {
|
|
361
446
|
let src = value;
|
|
362
447
|
let { loading, error } = this.options;
|
|
@@ -57,6 +57,10 @@ class ReactiveListener {
|
|
|
57
57
|
this.initState();
|
|
58
58
|
this.render("loading", false);
|
|
59
59
|
}
|
|
60
|
+
/*
|
|
61
|
+
* init listener state
|
|
62
|
+
* @return
|
|
63
|
+
*/
|
|
60
64
|
initState() {
|
|
61
65
|
if ("dataset" in this.el) {
|
|
62
66
|
this.el.dataset.src = this.src;
|
|
@@ -70,9 +74,20 @@ class ReactiveListener {
|
|
|
70
74
|
rendered: false
|
|
71
75
|
};
|
|
72
76
|
}
|
|
77
|
+
/*
|
|
78
|
+
* record performance
|
|
79
|
+
* @return
|
|
80
|
+
*/
|
|
73
81
|
record(event) {
|
|
74
82
|
this.performanceData[event] = Date.now();
|
|
75
83
|
}
|
|
84
|
+
/*
|
|
85
|
+
* update image listener data
|
|
86
|
+
* @param {String} image uri
|
|
87
|
+
* @param {String} loading image uri
|
|
88
|
+
* @param {String} error image uri
|
|
89
|
+
* @return
|
|
90
|
+
*/
|
|
76
91
|
update({ src, loading, error }) {
|
|
77
92
|
const oldSrc = this.src;
|
|
78
93
|
this.src = src;
|
|
@@ -84,15 +99,27 @@ class ReactiveListener {
|
|
|
84
99
|
this.initState();
|
|
85
100
|
}
|
|
86
101
|
}
|
|
102
|
+
/*
|
|
103
|
+
* check el is in view
|
|
104
|
+
* @return {Boolean} el is in view
|
|
105
|
+
*/
|
|
87
106
|
checkInView() {
|
|
88
107
|
const rect = (0, import_use.useRect)(this.el);
|
|
89
108
|
return rect.top < window.innerHeight * this.options.preLoad && rect.bottom > this.options.preLoadTop && rect.left < window.innerWidth * this.options.preLoad && rect.right > 0;
|
|
90
109
|
}
|
|
110
|
+
/*
|
|
111
|
+
* listener filter
|
|
112
|
+
*/
|
|
91
113
|
filter() {
|
|
92
114
|
Object.keys(this.options.filter).forEach((key) => {
|
|
93
115
|
this.options.filter[key](this, this.options);
|
|
94
116
|
});
|
|
95
117
|
}
|
|
118
|
+
/*
|
|
119
|
+
* render loading first
|
|
120
|
+
* @params cb:Function
|
|
121
|
+
* @return
|
|
122
|
+
*/
|
|
96
123
|
renderLoading(cb) {
|
|
97
124
|
this.state.loading = true;
|
|
98
125
|
(0, import_util.loadImageAsync)(
|
|
@@ -115,6 +142,10 @@ class ReactiveListener {
|
|
|
115
142
|
}
|
|
116
143
|
);
|
|
117
144
|
}
|
|
145
|
+
/*
|
|
146
|
+
* try load image and render it
|
|
147
|
+
* @return
|
|
148
|
+
*/
|
|
118
149
|
load(onFinish = import_utils.noop) {
|
|
119
150
|
if (this.attempt > this.options.attempt - 1 && this.state.error) {
|
|
120
151
|
if (process.env.NODE_ENV !== "production" && !this.options.silent) {
|
|
@@ -163,9 +194,19 @@ class ReactiveListener {
|
|
|
163
194
|
);
|
|
164
195
|
});
|
|
165
196
|
}
|
|
197
|
+
/*
|
|
198
|
+
* render image
|
|
199
|
+
* @param {String} state to render // ['loading', 'src', 'error']
|
|
200
|
+
* @param {String} is form cache
|
|
201
|
+
* @return
|
|
202
|
+
*/
|
|
166
203
|
render(state, cache) {
|
|
167
204
|
this.elRenderer(this, state, cache);
|
|
168
205
|
}
|
|
206
|
+
/*
|
|
207
|
+
* output performance data
|
|
208
|
+
* @return {Object} performance data
|
|
209
|
+
*/
|
|
169
210
|
performance() {
|
|
170
211
|
let state = "loading";
|
|
171
212
|
let time = 0;
|
|
@@ -181,6 +222,10 @@ class ReactiveListener {
|
|
|
181
222
|
time
|
|
182
223
|
};
|
|
183
224
|
}
|
|
225
|
+
/*
|
|
226
|
+
* $destroy
|
|
227
|
+
* @return
|
|
228
|
+
*/
|
|
184
229
|
$destroy() {
|
|
185
230
|
this.el = null;
|
|
186
231
|
this.src = null;
|
package/lib/list/List.js
CHANGED
|
@@ -55,7 +55,8 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
|
55
55
|
const scrollParent = (0, import_use.useScrollParent)(root);
|
|
56
56
|
const check = () => {
|
|
57
57
|
(0, import_vue2.nextTick)(() => {
|
|
58
|
-
if (loading.value || props.finished || props.error ||
|
|
58
|
+
if (loading.value || props.finished || props.error || // skip check when inside an inactive tab
|
|
59
|
+
(tabStatus == null ? void 0 : tabStatus.value) === false) {
|
|
59
60
|
return;
|
|
60
61
|
}
|
|
61
62
|
const {
|
|
@@ -85,9 +86,6 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
|
85
86
|
const text = slots.finished ? slots.finished() : props.finishedText;
|
|
86
87
|
if (text) {
|
|
87
88
|
return (0, import_vue.createVNode)(import_divider.Divider, {
|
|
88
|
-
"style": {
|
|
89
|
-
padding: "0 16px"
|
|
90
|
-
},
|
|
91
89
|
"class": bem("finished-text")
|
|
92
90
|
}, {
|
|
93
91
|
default: () => [text]
|
package/lib/list/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--zt-list-text-color: var(--zt-text-color-a6);--zt-list-text-font-size: var(--zt-font-size-md);--zt-list-text-line-height: 44px;--zt-list-loading-icon-size: 16px}.zt-list__loading,.zt-list__finished-text,.zt-list__error-text{color:var(--zt-list-text-color);font-size:var(--zt-list-text-font-size);line-height:var(--zt-list-text-line-height);text-align:center
|
|
1
|
+
:root{--zt-list-text-color: var(--zt-text-color-a6);--zt-list-text-font-size: var(--zt-font-size-md);--zt-list-text-line-height: 44px;--zt-list-loading-icon-size: 16px}.zt-list__loading,.zt-list__finished-text,.zt-list__error-text{color:var(--zt-list-text-color);font-size:var(--zt-list-text-font-size);line-height:var(--zt-list-text-line-height);text-align:center}.zt-list__placeholder{height:0;pointer-events:none}.zt-list__loading-icon .zt-loading__spinner{width:var(--zt-list-loading-icon-size);height:var(--zt-list-loading-icon-size)}
|
package/lib/list/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
|
));
|
package/lib/loading/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
|
));
|
package/lib/locale/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
|
));
|
|
@@ -10,7 +10,7 @@ declare const _default: {
|
|
|
10
10
|
nameEmpty: string;
|
|
11
11
|
addContact: string;
|
|
12
12
|
telInvalid: string;
|
|
13
|
-
|
|
13
|
+
ztCalendar: {
|
|
14
14
|
end: string;
|
|
15
15
|
start: string;
|
|
16
16
|
title: string;
|
|
@@ -18,44 +18,28 @@ declare const _default: {
|
|
|
18
18
|
monthTitle: (year: number, month: number) => string;
|
|
19
19
|
rangePrompt: (maxRange: number) => string;
|
|
20
20
|
};
|
|
21
|
-
|
|
21
|
+
ztCascader: {
|
|
22
22
|
select: string;
|
|
23
23
|
};
|
|
24
|
-
|
|
24
|
+
ztPagination: {
|
|
25
25
|
prev: string;
|
|
26
26
|
next: string;
|
|
27
27
|
};
|
|
28
|
-
|
|
28
|
+
ztPullRefresh: {
|
|
29
29
|
pulling: string;
|
|
30
30
|
loosing: string;
|
|
31
31
|
};
|
|
32
|
-
|
|
32
|
+
ztSubmitBar: {
|
|
33
33
|
label: string;
|
|
34
34
|
};
|
|
35
|
-
|
|
36
|
-
unlimited: string;
|
|
37
|
-
discount: (discount: number) => string;
|
|
38
|
-
condition: (condition: number) => string;
|
|
39
|
-
};
|
|
40
|
-
vanCouponCell: {
|
|
41
|
-
title: string;
|
|
42
|
-
count: (count: number) => string;
|
|
43
|
-
};
|
|
44
|
-
vanCouponList: {
|
|
45
|
-
exchange: string;
|
|
46
|
-
close: string;
|
|
47
|
-
enable: string;
|
|
48
|
-
disabled: string;
|
|
49
|
-
placeholder: string;
|
|
50
|
-
};
|
|
51
|
-
vanAddressEdit: {
|
|
35
|
+
ztAddressEdit: {
|
|
52
36
|
area: string;
|
|
53
37
|
areaEmpty: string;
|
|
54
38
|
addressEmpty: string;
|
|
55
39
|
addressDetail: string;
|
|
56
40
|
defaultAddress: string;
|
|
57
41
|
};
|
|
58
|
-
|
|
42
|
+
ztAddressList: {
|
|
59
43
|
add: string;
|
|
60
44
|
};
|
|
61
45
|
};
|
package/lib/locale/lang/en-US.js
CHANGED
|
@@ -32,7 +32,7 @@ var stdin_default = {
|
|
|
32
32
|
nameEmpty: "Please fill in the name",
|
|
33
33
|
addContact: "Add contact",
|
|
34
34
|
telInvalid: "Malformed phone number",
|
|
35
|
-
|
|
35
|
+
ztCalendar: {
|
|
36
36
|
end: "End",
|
|
37
37
|
start: "Start",
|
|
38
38
|
title: "Calendar",
|
|
@@ -40,44 +40,28 @@ var stdin_default = {
|
|
|
40
40
|
monthTitle: (year, month) => `${year}/${month}`,
|
|
41
41
|
rangePrompt: (maxRange) => `Choose no more than ${maxRange} days`
|
|
42
42
|
},
|
|
43
|
-
|
|
43
|
+
ztCascader: {
|
|
44
44
|
select: "Select"
|
|
45
45
|
},
|
|
46
|
-
|
|
46
|
+
ztPagination: {
|
|
47
47
|
prev: "Previous",
|
|
48
48
|
next: "Next"
|
|
49
49
|
},
|
|
50
|
-
|
|
50
|
+
ztPullRefresh: {
|
|
51
51
|
pulling: "Pull to refresh...",
|
|
52
52
|
loosing: "Loose to refresh..."
|
|
53
53
|
},
|
|
54
|
-
|
|
54
|
+
ztSubmitBar: {
|
|
55
55
|
label: "Total:"
|
|
56
56
|
},
|
|
57
|
-
|
|
58
|
-
unlimited: "Unlimited",
|
|
59
|
-
discount: (discount) => `${discount * 10}% off`,
|
|
60
|
-
condition: (condition) => `At least ${condition}`
|
|
61
|
-
},
|
|
62
|
-
vanCouponCell: {
|
|
63
|
-
title: "Coupon",
|
|
64
|
-
count: (count) => `You have ${count} coupons`
|
|
65
|
-
},
|
|
66
|
-
vanCouponList: {
|
|
67
|
-
exchange: "Exchange",
|
|
68
|
-
close: "Close",
|
|
69
|
-
enable: "Available",
|
|
70
|
-
disabled: "Unavailable",
|
|
71
|
-
placeholder: "Coupon code"
|
|
72
|
-
},
|
|
73
|
-
vanAddressEdit: {
|
|
57
|
+
ztAddressEdit: {
|
|
74
58
|
area: "Area",
|
|
75
59
|
areaEmpty: "Please select a receiving area",
|
|
76
60
|
addressEmpty: "Address can not be empty",
|
|
77
61
|
addressDetail: "Address",
|
|
78
62
|
defaultAddress: "Set as the default address"
|
|
79
63
|
},
|
|
80
|
-
|
|
64
|
+
ztAddressList: {
|
|
81
65
|
add: "Add new address"
|
|
82
66
|
}
|
|
83
67
|
};
|
|
@@ -10,7 +10,7 @@ declare const _default: {
|
|
|
10
10
|
nameEmpty: string;
|
|
11
11
|
addContact: string;
|
|
12
12
|
telInvalid: string;
|
|
13
|
-
|
|
13
|
+
ztCalendar: {
|
|
14
14
|
end: string;
|
|
15
15
|
start: string;
|
|
16
16
|
title: string;
|
|
@@ -18,44 +18,28 @@ declare const _default: {
|
|
|
18
18
|
monthTitle: (year: number, month: number) => string;
|
|
19
19
|
rangePrompt: (maxRange: number) => string;
|
|
20
20
|
};
|
|
21
|
-
|
|
21
|
+
ztCascader: {
|
|
22
22
|
select: string;
|
|
23
23
|
};
|
|
24
|
-
|
|
24
|
+
ztPagination: {
|
|
25
25
|
prev: string;
|
|
26
26
|
next: string;
|
|
27
27
|
};
|
|
28
|
-
|
|
28
|
+
ztPullRefresh: {
|
|
29
29
|
pulling: string;
|
|
30
30
|
loosing: string;
|
|
31
31
|
};
|
|
32
|
-
|
|
32
|
+
ztSubmitBar: {
|
|
33
33
|
label: string;
|
|
34
34
|
};
|
|
35
|
-
|
|
36
|
-
unlimited: string;
|
|
37
|
-
discount: (discount: number) => string;
|
|
38
|
-
condition: (condition: number) => string;
|
|
39
|
-
};
|
|
40
|
-
vanCouponCell: {
|
|
41
|
-
title: string;
|
|
42
|
-
count: (count: number) => string;
|
|
43
|
-
};
|
|
44
|
-
vanCouponList: {
|
|
45
|
-
exchange: string;
|
|
46
|
-
close: string;
|
|
47
|
-
enable: string;
|
|
48
|
-
disabled: string;
|
|
49
|
-
placeholder: string;
|
|
50
|
-
};
|
|
51
|
-
vanAddressEdit: {
|
|
35
|
+
ztAddressEdit: {
|
|
52
36
|
area: string;
|
|
53
37
|
areaEmpty: string;
|
|
54
38
|
addressEmpty: string;
|
|
55
39
|
addressDetail: string;
|
|
56
40
|
defaultAddress: string;
|
|
57
41
|
};
|
|
58
|
-
|
|
42
|
+
ztAddressList: {
|
|
59
43
|
add: string;
|
|
60
44
|
};
|
|
61
45
|
};
|