zartui 0.1.112 → 3.0.2
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/README.md +6 -2
- package/es/badge/Badge.d.ts +66 -0
- package/es/badge/Badge.mjs +95 -0
- package/es/badge/index.css +1 -0
- package/es/badge/index.d.ts +49 -0
- package/es/badge/index.mjs +8 -0
- package/es/badge/style/index.d.ts +1 -0
- package/es/badge/style/index.mjs +2 -0
- package/es/button/Button.d.ts +154 -0
- package/es/button/Button.mjs +166 -0
- package/es/button/index.css +1 -0
- package/es/button/index.d.ts +113 -0
- package/es/button/index.mjs +8 -0
- package/es/button/style/index.d.ts +1 -0
- package/es/button/style/index.mjs +5 -0
- package/es/button/types.d.ts +5 -0
- package/es/button/types.mjs +0 -0
- package/es/cell/Cell.d.ts +128 -0
- package/es/cell/Cell.mjs +132 -0
- package/es/cell/index.css +1 -0
- package/es/cell/index.d.ts +74 -0
- package/es/cell/index.mjs +8 -0
- package/es/cell/style/index.d.ts +1 -0
- package/es/cell/style/index.mjs +4 -0
- package/es/col/Col.d.ts +38 -0
- package/es/col/Col.mjs +63 -0
- package/es/col/index.css +1 -0
- package/es/col/index.d.ts +31 -0
- package/es/col/index.mjs +8 -0
- package/es/col/style/index.d.ts +1 -0
- package/es/col/style/index.mjs +3 -0
- package/es/composables/on-popup-reopen.d.ts +3 -0
- package/es/composables/on-popup-reopen.mjs +16 -0
- package/es/composables/use-expose.d.ts +1 -0
- package/es/composables/use-expose.mjs +11 -0
- package/es/composables/use-height.d.ts +2 -0
- package/es/composables/use-height.mjs +20 -0
- package/es/composables/use-id.d.ts +1 -0
- package/es/composables/use-id.mjs +13 -0
- package/es/composables/use-lazy-render.d.ts +2 -0
- package/es/composables/use-lazy-render.mjs +17 -0
- package/es/composables/use-lock-scroll.d.ts +2 -0
- package/es/composables/use-lock-scroll.mjs +56 -0
- package/es/composables/use-placeholder.d.ts +3 -0
- package/es/composables/use-placeholder.mjs +14 -0
- package/es/composables/use-refs.d.ts +2 -0
- package/es/composables/use-refs.mjs +20 -0
- package/es/composables/use-route.d.ts +13 -0
- package/es/composables/use-route.mjs +29 -0
- package/es/composables/use-tab-status.d.ts +3 -0
- package/es/composables/use-tab-status.mjs +7 -0
- package/es/composables/use-touch.d.ts +16 -0
- package/es/composables/use-touch.mjs +61 -0
- package/es/composables/use-visibility-change.d.ts +2 -0
- package/es/composables/use-visibility-change.mjs +30 -0
- package/es/config-provider/ConfigProvider.d.ts +47 -0
- package/es/config-provider/ConfigProvider.mjs +64 -0
- package/es/config-provider/index.d.ts +33 -0
- package/es/config-provider/index.mjs +8 -0
- package/es/config-provider/style/index.d.ts +1 -0
- package/es/config-provider/style/index.mjs +1 -0
- package/es/divider/Divider.d.ts +40 -0
- package/es/divider/Divider.mjs +31 -0
- package/es/divider/index.css +1 -0
- package/es/divider/index.d.ts +32 -0
- package/es/divider/index.mjs +8 -0
- package/es/divider/style/index.d.ts +1 -0
- package/es/divider/style/index.mjs +2 -0
- package/es/empty/Empty.d.ts +29 -0
- package/es/empty/Empty.mjs +58 -0
- package/es/empty/Images.d.ts +4 -0
- package/es/empty/Images.mjs +2104 -0
- package/es/empty/index.css +1 -0
- package/es/empty/index.d.ts +24 -0
- package/es/empty/index.mjs +8 -0
- package/es/empty/style/index.d.ts +1 -0
- package/es/empty/style/index.mjs +2 -0
- package/es/icon/Icon.d.ts +45 -0
- package/es/icon/Icon.mjs +59 -0
- package/es/icon/config.d.ts +41 -0
- package/es/icon/config.mjs +139 -0
- package/es/icon/index.css +1 -0
- package/es/icon/index.d.ts +35 -0
- package/es/icon/index.mjs +8 -0
- package/es/icon/style/index.d.ts +1 -0
- package/es/icon/style/index.mjs +3 -0
- package/es/index.d.ts +35 -0
- package/es/index.mjs +105 -0
- package/es/list/List.d.ts +74 -0
- package/es/list/List.mjs +147 -0
- package/es/list/index.css +1 -0
- package/es/list/index.d.ts +59 -0
- package/es/list/index.mjs +8 -0
- package/es/list/style/index.d.ts +1 -0
- package/es/list/style/index.mjs +4 -0
- package/es/list/types.d.ts +7 -0
- package/es/list/types.mjs +0 -0
- package/es/loading/Loading.d.ts +39 -0
- package/es/loading/Loading.mjs +114 -0
- package/es/loading/index.css +1 -0
- package/es/loading/index.d.ts +31 -0
- package/es/loading/index.mjs +8 -0
- package/es/loading/style/index.d.ts +1 -0
- package/es/loading/style/index.mjs +2 -0
- package/es/locale/index.d.ts +7 -0
- package/es/locale/index.mjs +24 -0
- package/es/locale/lang/en-US.d.ts +62 -0
- package/es/locale/lang/en-US.mjs +64 -0
- package/es/locale/lang/zh-CN.d.ts +62 -0
- package/es/locale/lang/zh-CN.mjs +64 -0
- package/es/locale/style/index.d.ts +1 -0
- package/es/locale/style/index.mjs +1 -0
- package/es/notice-bar/NoticeBar.d.ts +71 -0
- package/es/notice-bar/NoticeBar.mjs +165 -0
- package/es/notice-bar/index.css +1 -0
- package/es/notice-bar/index.d.ts +56 -0
- package/es/notice-bar/index.mjs +8 -0
- package/es/notice-bar/style/index.d.ts +1 -0
- package/es/notice-bar/style/index.mjs +4 -0
- package/es/notice-bar/types.d.ts +7 -0
- package/es/notice-bar/types.mjs +0 -0
- package/es/notify/Notify.d.ts +134 -0
- package/es/notify/Notify.mjs +44 -0
- package/es/notify/function-call.d.ts +6 -0
- package/es/notify/function-call.mjs +68 -0
- package/es/notify/index.css +1 -0
- package/es/notify/index.d.ts +99 -0
- package/es/notify/index.mjs +18 -0
- package/es/notify/style/index.d.ts +1 -0
- package/es/notify/style/index.mjs +6 -0
- package/es/notify/types.d.ts +17 -0
- package/es/notify/types.mjs +0 -0
- package/es/number-keyboard/NumberKeyboard.d.ts +162 -0
- package/es/number-keyboard/NumberKeyboard.mjs +243 -0
- package/es/number-keyboard/NumberKeyboardKey.d.ts +24 -0
- package/es/number-keyboard/NumberKeyboardKey.mjs +89 -0
- package/es/number-keyboard/index.css +1 -0
- package/es/number-keyboard/index.d.ts +119 -0
- package/es/number-keyboard/index.mjs +8 -0
- package/es/number-keyboard/style/index.d.ts +1 -0
- package/es/number-keyboard/style/index.mjs +9 -0
- package/es/overlay/Overlay.d.ts +51 -0
- package/es/overlay/Overlay.mjs +47 -0
- package/es/overlay/index.css +1 -0
- package/es/overlay/index.d.ts +40 -0
- package/es/overlay/index.mjs +8 -0
- package/es/overlay/style/index.d.ts +1 -0
- package/es/overlay/style/index.mjs +2 -0
- package/es/password-input/PasswordInput.d.ts +63 -0
- package/es/password-input/PasswordInput.mjs +78 -0
- package/es/password-input/index.css +1 -0
- package/es/password-input/index.d.ts +49 -0
- package/es/password-input/index.mjs +8 -0
- package/es/password-input/style/index.d.ts +1 -0
- package/es/password-input/style/index.mjs +2 -0
- package/es/popup/Popup.d.ts +165 -0
- package/es/popup/Popup.mjs +205 -0
- package/es/popup/index.css +1 -0
- package/es/popup/index.d.ts +123 -0
- package/es/popup/index.mjs +8 -0
- package/es/popup/shared.d.ts +30 -0
- package/es/popup/shared.mjs +22 -0
- package/es/popup/style/index.d.ts +1 -0
- package/es/popup/style/index.mjs +5 -0
- package/es/popup/types.d.ts +8 -0
- package/es/popup/types.mjs +0 -0
- package/es/pull-refresh/PullRefresh.d.ts +75 -0
- package/es/pull-refresh/PullRefresh.mjs +191 -0
- package/es/pull-refresh/index.css +1 -0
- package/es/pull-refresh/index.d.ts +58 -0
- package/es/pull-refresh/index.mjs +8 -0
- package/es/pull-refresh/style/index.d.ts +1 -0
- package/es/pull-refresh/style/index.mjs +3 -0
- package/es/rate/Rate.d.ts +107 -0
- package/es/rate/Rate.mjs +217 -0
- package/es/rate/index.css +1 -0
- package/es/rate/index.d.ts +80 -0
- package/es/rate/index.mjs +8 -0
- package/es/rate/style/index.d.ts +1 -0
- package/es/rate/style/index.mjs +4 -0
- package/es/row/Row.d.ts +64 -0
- package/es/row/Row.mjs +91 -0
- package/es/row/index.css +1 -0
- package/es/row/index.d.ts +42 -0
- package/es/row/index.mjs +8 -0
- package/es/row/style/index.d.ts +1 -0
- package/es/row/style/index.mjs +2 -0
- package/es/stepper/Stepper.d.ts +181 -0
- package/es/stepper/Stepper.mjs +258 -0
- package/es/stepper/index.css +1 -0
- package/es/stepper/index.d.ts +132 -0
- package/es/stepper/index.mjs +8 -0
- package/es/stepper/style/index.d.ts +1 -0
- package/es/stepper/style/index.mjs +4 -0
- package/es/sticky/Sticky.d.ts +58 -0
- package/es/sticky/Sticky.mjs +119 -0
- package/es/sticky/index.css +1 -0
- package/es/sticky/index.d.ts +45 -0
- package/es/sticky/index.mjs +8 -0
- package/es/sticky/style/index.d.ts +1 -0
- package/es/sticky/style/index.mjs +2 -0
- package/es/style/animation.css +1 -0
- package/es/style/base.css +1 -0
- package/es/style/css-variables.css +1 -0
- package/es/style/mixins/clearfix.css +0 -0
- package/es/style/mixins/ellipsis.css +0 -0
- package/es/style/mixins/hairline.css +0 -0
- package/es/style/normalize.css +1 -0
- package/es/swipe/Swipe.d.ts +121 -0
- package/es/swipe/Swipe.mjs +353 -0
- package/es/swipe/index.css +1 -0
- package/es/swipe/index.d.ts +90 -0
- package/es/swipe/index.mjs +8 -0
- package/es/swipe/style/index.d.ts +1 -0
- package/es/swipe/style/index.mjs +2 -0
- package/es/swipe/types.d.ts +31 -0
- package/es/swipe/types.mjs +0 -0
- package/es/swipe-item/SwipeItem.d.ts +2 -0
- package/es/swipe-item/SwipeItem.mjs +82 -0
- package/es/swipe-item/index.css +1 -0
- package/es/swipe-item/index.d.ts +7 -0
- package/es/swipe-item/index.mjs +8 -0
- package/es/swipe-item/style/index.d.ts +1 -0
- package/es/swipe-item/style/index.mjs +3 -0
- package/es/switch/Switch.d.ts +58 -0
- package/es/switch/Switch.mjs +85 -0
- package/es/switch/index.css +1 -0
- package/es/switch/index.d.ts +46 -0
- package/es/switch/index.mjs +8 -0
- package/es/switch/style/index.d.ts +1 -0
- package/es/switch/style/index.mjs +3 -0
- package/es/tab/Tab.d.ts +58 -0
- package/es/tab/Tab.mjs +113 -0
- package/es/tab/index.css +1 -0
- package/es/tab/index.d.ts +45 -0
- package/es/tab/index.mjs +8 -0
- package/es/tab/style/index.d.ts +1 -0
- package/es/tab/style/index.mjs +7 -0
- package/es/tabs/Tabs.d.ts +154 -0
- package/es/tabs/Tabs.mjs +352 -0
- package/es/tabs/TabsContent.d.ts +43 -0
- package/es/tabs/TabsContent.mjs +64 -0
- package/es/tabs/TabsTitle.d.ts +45 -0
- package/es/tabs/TabsTitle.mjs +90 -0
- package/es/tabs/index.css +1 -0
- package/es/tabs/index.d.ts +114 -0
- package/es/tabs/index.mjs +8 -0
- package/es/tabs/style/index.d.ts +1 -0
- package/es/tabs/style/index.mjs +5 -0
- package/es/tabs/types.d.ts +23 -0
- package/es/tabs/types.mjs +0 -0
- package/es/tabs/utils.d.ts +3 -0
- package/es/tabs/utils.mjs +37 -0
- package/es/toast/Toast.d.ts +112 -0
- package/es/toast/Toast.mjs +119 -0
- package/es/toast/function-call.d.ts +10 -0
- package/es/toast/function-call.mjs +142 -0
- package/es/toast/index.css +1 -0
- package/es/toast/index.d.ts +79 -0
- package/es/toast/index.mjs +26 -0
- package/es/toast/lock-click.d.ts +1 -0
- package/es/toast/lock-click.mjs +17 -0
- package/es/toast/style/index.d.ts +1 -0
- package/es/toast/style/index.mjs +7 -0
- package/es/toast/types.d.ts +36 -0
- package/es/toast/types.mjs +0 -0
- package/es/utils/basic.d.ts +18 -0
- package/es/utils/basic.mjs +32 -0
- package/es/utils/constant.d.ts +8 -0
- package/es/utils/constant.mjs +18 -0
- package/es/utils/create.d.ts +17 -0
- package/es/utils/create.mjs +50 -0
- package/es/utils/deep-assign.d.ts +3 -0
- package/es/utils/deep-assign.mjs +22 -0
- package/es/utils/deep-clone.d.ts +1 -0
- package/es/utils/deep-clone.mjs +20 -0
- package/es/utils/dom.d.ts +12 -0
- package/es/utils/dom.mjs +67 -0
- package/es/utils/format.d.ts +13 -0
- package/es/utils/format.mjs +120 -0
- package/es/utils/index.d.ts +9 -0
- package/es/utils/index.mjs +9 -0
- package/es/utils/interceptor.d.ts +6 -0
- package/es/utils/interceptor.mjs +29 -0
- package/es/utils/mount-component.d.ts +14 -0
- package/es/utils/mount-component.mjs +39 -0
- package/es/utils/props.d.ts +31 -0
- package/es/utils/props.mjs +36 -0
- package/es/utils/validate.d.ts +9 -0
- package/es/utils/validate.mjs +22 -0
- package/es/utils/with-install.d.ts +13 -0
- package/es/utils/with-install.mjs +12 -0
- package/es/vue-sfc-shim.d.ts +6 -0
- package/es/vue-tsx-shim.d.ts +16 -0
- package/lib/badge/Badge.d.ts +66 -0
- package/lib/badge/Badge.js +114 -0
- package/lib/badge/index.css +1 -0
- package/lib/badge/index.d.ts +49 -0
- package/lib/badge/index.js +33 -0
- package/lib/badge/style/index.d.ts +1 -0
- package/lib/badge/style/index.js +2 -0
- package/lib/button/Button.d.ts +154 -0
- package/lib/button/Button.js +185 -0
- package/lib/button/index.css +1 -0
- package/lib/button/index.d.ts +113 -0
- package/lib/button/index.js +33 -0
- package/lib/button/style/index.d.ts +1 -0
- package/lib/button/style/index.js +5 -0
- package/lib/button/types.d.ts +5 -0
- package/lib/button/types.js +15 -0
- package/lib/cell/Cell.d.ts +128 -0
- package/lib/cell/Cell.js +151 -0
- package/lib/cell/index.css +1 -0
- package/lib/cell/index.d.ts +74 -0
- package/lib/cell/index.js +33 -0
- package/lib/cell/style/index.d.ts +1 -0
- package/lib/cell/style/index.js +4 -0
- package/lib/col/Col.d.ts +38 -0
- package/lib/col/Col.js +82 -0
- package/lib/col/index.css +1 -0
- package/lib/col/index.d.ts +31 -0
- package/lib/col/index.js +33 -0
- package/lib/col/style/index.d.ts +1 -0
- package/lib/col/style/index.js +3 -0
- package/lib/composables/on-popup-reopen.d.ts +3 -0
- package/lib/composables/on-popup-reopen.js +35 -0
- package/lib/composables/use-expose.d.ts +1 -0
- package/lib/composables/use-expose.js +30 -0
- package/lib/composables/use-height.d.ts +2 -0
- package/lib/composables/use-height.js +39 -0
- package/lib/composables/use-id.d.ts +1 -0
- package/lib/composables/use-id.js +32 -0
- package/lib/composables/use-lazy-render.d.ts +2 -0
- package/lib/composables/use-lazy-render.js +36 -0
- package/lib/composables/use-lock-scroll.d.ts +2 -0
- package/lib/composables/use-lock-scroll.js +75 -0
- package/lib/composables/use-placeholder.d.ts +3 -0
- package/lib/composables/use-placeholder.js +33 -0
- package/lib/composables/use-refs.d.ts +2 -0
- package/lib/composables/use-refs.js +39 -0
- package/lib/composables/use-route.d.ts +13 -0
- package/lib/composables/use-route.js +46 -0
- package/lib/composables/use-tab-status.d.ts +3 -0
- package/lib/composables/use-tab-status.js +26 -0
- package/lib/composables/use-touch.d.ts +16 -0
- package/lib/composables/use-touch.js +80 -0
- package/lib/composables/use-visibility-change.d.ts +2 -0
- package/lib/composables/use-visibility-change.js +49 -0
- package/lib/config-provider/ConfigProvider.d.ts +47 -0
- package/lib/config-provider/ConfigProvider.js +83 -0
- package/lib/config-provider/index.d.ts +33 -0
- package/lib/config-provider/index.js +33 -0
- package/lib/config-provider/style/index.d.ts +1 -0
- package/lib/config-provider/style/index.js +1 -0
- package/lib/divider/Divider.d.ts +40 -0
- package/lib/divider/Divider.js +50 -0
- package/lib/divider/index.css +1 -0
- package/lib/divider/index.d.ts +32 -0
- package/lib/divider/index.js +33 -0
- package/lib/divider/style/index.d.ts +1 -0
- package/lib/divider/style/index.js +2 -0
- package/lib/empty/Empty.d.ts +29 -0
- package/lib/empty/Empty.js +77 -0
- package/lib/empty/Images.d.ts +4 -0
- package/lib/empty/Images.js +2123 -0
- package/lib/empty/index.css +1 -0
- package/lib/empty/index.d.ts +24 -0
- package/lib/empty/index.js +33 -0
- package/lib/empty/style/index.d.ts +1 -0
- package/lib/empty/style/index.js +2 -0
- package/lib/icon/Icon.d.ts +45 -0
- package/lib/icon/Icon.js +78 -0
- package/lib/icon/config.d.ts +41 -0
- package/lib/icon/config.js +158 -0
- package/lib/icon/index.css +1 -0
- package/lib/icon/index.d.ts +35 -0
- package/lib/icon/index.js +33 -0
- package/lib/icon/style/index.d.ts +1 -0
- package/lib/icon/style/index.js +3 -0
- package/lib/index.css +1 -0
- package/lib/index.d.ts +35 -0
- package/lib/index.js +125 -0
- package/lib/list/List.d.ts +74 -0
- package/lib/list/List.js +166 -0
- package/lib/list/index.css +1 -0
- package/lib/list/index.d.ts +59 -0
- package/lib/list/index.js +33 -0
- package/lib/list/style/index.d.ts +1 -0
- package/lib/list/style/index.js +4 -0
- package/lib/list/types.d.ts +7 -0
- package/lib/list/types.js +15 -0
- package/lib/loading/Loading.d.ts +39 -0
- package/lib/loading/Loading.js +133 -0
- package/lib/loading/index.css +1 -0
- package/lib/loading/index.d.ts +31 -0
- package/lib/loading/index.js +33 -0
- package/lib/loading/style/index.d.ts +1 -0
- package/lib/loading/style/index.js +2 -0
- package/lib/locale/index.d.ts +7 -0
- package/lib/locale/index.js +49 -0
- package/lib/locale/lang/en-US.d.ts +62 -0
- package/lib/locale/lang/en-US.js +83 -0
- package/lib/locale/lang/zh-CN.d.ts +62 -0
- package/lib/locale/lang/zh-CN.js +83 -0
- package/lib/locale/style/index.d.ts +1 -0
- package/lib/locale/style/index.js +1 -0
- package/lib/notice-bar/NoticeBar.d.ts +71 -0
- package/lib/notice-bar/NoticeBar.js +190 -0
- package/lib/notice-bar/index.css +1 -0
- package/lib/notice-bar/index.d.ts +56 -0
- package/lib/notice-bar/index.js +33 -0
- package/lib/notice-bar/style/index.d.ts +1 -0
- package/lib/notice-bar/style/index.js +4 -0
- package/lib/notice-bar/types.d.ts +7 -0
- package/lib/notice-bar/types.js +15 -0
- package/lib/notify/Notify.d.ts +134 -0
- package/lib/notify/Notify.js +63 -0
- package/lib/notify/function-call.d.ts +6 -0
- package/lib/notify/function-call.js +93 -0
- package/lib/notify/index.css +1 -0
- package/lib/notify/index.d.ts +99 -0
- package/lib/notify/index.js +38 -0
- package/lib/notify/style/index.d.ts +1 -0
- package/lib/notify/style/index.js +6 -0
- package/lib/notify/types.d.ts +17 -0
- package/lib/notify/types.js +15 -0
- package/lib/number-keyboard/NumberKeyboard.d.ts +162 -0
- package/lib/number-keyboard/NumberKeyboard.js +268 -0
- package/lib/number-keyboard/NumberKeyboardKey.d.ts +24 -0
- package/lib/number-keyboard/NumberKeyboardKey.js +114 -0
- package/lib/number-keyboard/index.css +1 -0
- package/lib/number-keyboard/index.d.ts +119 -0
- package/lib/number-keyboard/index.js +33 -0
- package/lib/number-keyboard/style/index.d.ts +1 -0
- package/lib/number-keyboard/style/index.js +9 -0
- package/lib/overlay/Overlay.d.ts +51 -0
- package/lib/overlay/Overlay.js +66 -0
- package/lib/overlay/index.css +1 -0
- package/lib/overlay/index.d.ts +40 -0
- package/lib/overlay/index.js +33 -0
- package/lib/overlay/style/index.d.ts +1 -0
- package/lib/overlay/style/index.js +2 -0
- package/lib/password-input/PasswordInput.d.ts +63 -0
- package/lib/password-input/PasswordInput.js +97 -0
- package/lib/password-input/index.css +1 -0
- package/lib/password-input/index.d.ts +49 -0
- package/lib/password-input/index.js +33 -0
- package/lib/password-input/style/index.d.ts +1 -0
- package/lib/password-input/style/index.js +2 -0
- package/lib/popup/Popup.d.ts +165 -0
- package/lib/popup/Popup.js +224 -0
- package/lib/popup/index.css +1 -0
- package/lib/popup/index.d.ts +123 -0
- package/lib/popup/index.js +33 -0
- package/lib/popup/shared.d.ts +30 -0
- package/lib/popup/shared.js +41 -0
- package/lib/popup/style/index.d.ts +1 -0
- package/lib/popup/style/index.js +5 -0
- package/lib/popup/types.d.ts +8 -0
- package/lib/popup/types.js +15 -0
- package/lib/pull-refresh/PullRefresh.d.ts +75 -0
- package/lib/pull-refresh/PullRefresh.js +210 -0
- package/lib/pull-refresh/index.css +1 -0
- package/lib/pull-refresh/index.d.ts +58 -0
- package/lib/pull-refresh/index.js +33 -0
- package/lib/pull-refresh/style/index.d.ts +1 -0
- package/lib/pull-refresh/style/index.js +3 -0
- package/lib/rate/Rate.d.ts +107 -0
- package/lib/rate/Rate.js +236 -0
- package/lib/rate/index.css +1 -0
- package/lib/rate/index.d.ts +80 -0
- package/lib/rate/index.js +33 -0
- package/lib/rate/style/index.d.ts +1 -0
- package/lib/rate/style/index.js +4 -0
- package/lib/row/Row.d.ts +64 -0
- package/lib/row/Row.js +110 -0
- package/lib/row/index.css +1 -0
- package/lib/row/index.d.ts +42 -0
- package/lib/row/index.js +33 -0
- package/lib/row/style/index.d.ts +1 -0
- package/lib/row/style/index.js +2 -0
- package/lib/stepper/Stepper.d.ts +181 -0
- package/lib/stepper/Stepper.js +283 -0
- package/lib/stepper/index.css +1 -0
- package/lib/stepper/index.d.ts +132 -0
- package/lib/stepper/index.js +33 -0
- package/lib/stepper/style/index.d.ts +1 -0
- package/lib/stepper/style/index.js +4 -0
- package/lib/sticky/Sticky.d.ts +58 -0
- package/lib/sticky/Sticky.js +138 -0
- package/lib/sticky/index.css +1 -0
- package/lib/sticky/index.d.ts +45 -0
- package/lib/sticky/index.js +33 -0
- package/lib/sticky/style/index.d.ts +1 -0
- package/lib/sticky/style/index.js +2 -0
- package/lib/style/animation.css +1 -0
- package/lib/style/base.css +1 -0
- package/lib/style/css-variables.css +1 -0
- package/lib/style/mixins/clearfix.css +0 -0
- package/lib/style/mixins/ellipsis.css +0 -0
- package/lib/style/mixins/hairline.css +0 -0
- package/lib/style/normalize.css +1 -0
- package/lib/swipe/Swipe.d.ts +121 -0
- package/lib/swipe/Swipe.js +372 -0
- package/lib/swipe/index.css +1 -0
- package/lib/swipe/index.d.ts +90 -0
- package/lib/swipe/index.js +33 -0
- package/lib/swipe/style/index.d.ts +1 -0
- package/lib/swipe/style/index.js +2 -0
- package/lib/swipe/types.d.ts +31 -0
- package/lib/swipe/types.js +15 -0
- package/lib/swipe-item/SwipeItem.d.ts +2 -0
- package/lib/swipe-item/SwipeItem.js +101 -0
- package/lib/swipe-item/index.css +1 -0
- package/lib/swipe-item/index.d.ts +7 -0
- package/lib/swipe-item/index.js +33 -0
- package/lib/swipe-item/style/index.d.ts +1 -0
- package/lib/swipe-item/style/index.js +3 -0
- package/lib/switch/Switch.d.ts +58 -0
- package/lib/switch/Switch.js +104 -0
- package/lib/switch/index.css +1 -0
- package/lib/switch/index.d.ts +46 -0
- package/lib/switch/index.js +33 -0
- package/lib/switch/style/index.d.ts +1 -0
- package/lib/switch/style/index.js +3 -0
- package/lib/tab/Tab.d.ts +58 -0
- package/lib/tab/Tab.js +132 -0
- package/lib/tab/index.css +1 -0
- package/lib/tab/index.d.ts +45 -0
- package/lib/tab/index.js +33 -0
- package/lib/tab/style/index.d.ts +1 -0
- package/lib/tab/style/index.js +7 -0
- package/lib/tabs/Tabs.d.ts +154 -0
- package/lib/tabs/Tabs.js +377 -0
- package/lib/tabs/TabsContent.d.ts +43 -0
- package/lib/tabs/TabsContent.js +83 -0
- package/lib/tabs/TabsTitle.d.ts +45 -0
- package/lib/tabs/TabsTitle.js +109 -0
- package/lib/tabs/index.css +1 -0
- package/lib/tabs/index.d.ts +114 -0
- package/lib/tabs/index.js +33 -0
- package/lib/tabs/style/index.d.ts +1 -0
- package/lib/tabs/style/index.js +5 -0
- package/lib/tabs/types.d.ts +23 -0
- package/lib/tabs/types.js +15 -0
- package/lib/tabs/utils.d.ts +3 -0
- package/lib/tabs/utils.js +56 -0
- package/lib/toast/Toast.d.ts +112 -0
- package/lib/toast/Toast.js +138 -0
- package/lib/toast/function-call.d.ts +10 -0
- package/lib/toast/function-call.js +167 -0
- package/lib/toast/index.css +1 -0
- package/lib/toast/index.d.ts +79 -0
- package/lib/toast/index.js +42 -0
- package/lib/toast/lock-click.d.ts +1 -0
- package/lib/toast/lock-click.js +36 -0
- package/lib/toast/style/index.d.ts +1 -0
- package/lib/toast/style/index.js +7 -0
- package/lib/toast/types.d.ts +36 -0
- package/lib/toast/types.js +15 -0
- package/lib/utils/basic.d.ts +18 -0
- package/lib/utils/basic.js +51 -0
- package/lib/utils/constant.d.ts +8 -0
- package/lib/utils/constant.js +37 -0
- package/lib/utils/create.d.ts +17 -0
- package/lib/utils/create.js +75 -0
- package/lib/utils/deep-assign.d.ts +3 -0
- package/lib/utils/deep-assign.js +41 -0
- package/lib/utils/deep-clone.d.ts +1 -0
- package/lib/utils/deep-clone.js +39 -0
- package/lib/utils/dom.d.ts +12 -0
- package/lib/utils/dom.js +86 -0
- package/lib/utils/format.d.ts +13 -0
- package/lib/utils/format.js +139 -0
- package/lib/utils/index.d.ts +9 -0
- package/lib/utils/index.js +25 -0
- package/lib/utils/interceptor.d.ts +6 -0
- package/lib/utils/interceptor.js +48 -0
- package/lib/utils/mount-component.d.ts +14 -0
- package/lib/utils/mount-component.js +58 -0
- package/lib/utils/props.d.ts +31 -0
- package/lib/utils/props.js +55 -0
- package/lib/utils/validate.d.ts +9 -0
- package/lib/utils/validate.js +41 -0
- package/lib/utils/with-install.d.ts +13 -0
- package/lib/utils/with-install.js +31 -0
- package/lib/vue-sfc-shim.d.ts +6 -0
- package/lib/vue-tsx-shim.d.ts +16 -0
- package/lib/web-types.json +3197 -0
- package/lib/zartui.cjs.js +6740 -0
- package/lib/zartui.es.js +6740 -0
- package/lib/zartui.js +6974 -0
- package/lib/zartui.min.js +1 -0
- package/package.json +50 -61
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ComponentPublicInstance } from 'vue';
|
|
2
|
+
import type { ListProps } from './List';
|
|
3
|
+
export declare type ListDirection = 'up' | 'down';
|
|
4
|
+
export declare type ListExpose = {
|
|
5
|
+
check: () => void;
|
|
6
|
+
};
|
|
7
|
+
export declare type ListInstance = ComponentPublicInstance<ListProps, ListExpose>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __copyProps = (to, from, except, desc) => {
|
|
6
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
7
|
+
for (let key of __getOwnPropNames(from))
|
|
8
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
9
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
10
|
+
}
|
|
11
|
+
return to;
|
|
12
|
+
};
|
|
13
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
14
|
+
var stdin_exports = {};
|
|
15
|
+
module.exports = __toCommonJS(stdin_exports);
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { ExtractPropTypes } from 'vue';
|
|
2
|
+
export declare type LoadingType = 'circular' | 'spinner' | 'snake';
|
|
3
|
+
declare const loadingProps: {
|
|
4
|
+
size: (NumberConstructor | StringConstructor)[];
|
|
5
|
+
type: {
|
|
6
|
+
type: import("vue").PropType<LoadingType>;
|
|
7
|
+
default: LoadingType;
|
|
8
|
+
};
|
|
9
|
+
color: StringConstructor;
|
|
10
|
+
vertical: BooleanConstructor;
|
|
11
|
+
textSize: (NumberConstructor | StringConstructor)[];
|
|
12
|
+
textColor: StringConstructor;
|
|
13
|
+
};
|
|
14
|
+
export declare type LoadingProps = ExtractPropTypes<typeof loadingProps>;
|
|
15
|
+
declare const _default: import("vue").DefineComponent<{
|
|
16
|
+
size: (NumberConstructor | StringConstructor)[];
|
|
17
|
+
type: {
|
|
18
|
+
type: import("vue").PropType<LoadingType>;
|
|
19
|
+
default: LoadingType;
|
|
20
|
+
};
|
|
21
|
+
color: StringConstructor;
|
|
22
|
+
vertical: BooleanConstructor;
|
|
23
|
+
textSize: (NumberConstructor | StringConstructor)[];
|
|
24
|
+
textColor: StringConstructor;
|
|
25
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
26
|
+
size: (NumberConstructor | StringConstructor)[];
|
|
27
|
+
type: {
|
|
28
|
+
type: import("vue").PropType<LoadingType>;
|
|
29
|
+
default: LoadingType;
|
|
30
|
+
};
|
|
31
|
+
color: StringConstructor;
|
|
32
|
+
vertical: BooleanConstructor;
|
|
33
|
+
textSize: (NumberConstructor | StringConstructor)[];
|
|
34
|
+
textColor: StringConstructor;
|
|
35
|
+
}>>, {
|
|
36
|
+
type: LoadingType;
|
|
37
|
+
vertical: boolean;
|
|
38
|
+
}>;
|
|
39
|
+
export default _default;
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name2 in all)
|
|
7
|
+
__defProp(target, name2, { get: all[name2], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var stdin_exports = {};
|
|
19
|
+
__export(stdin_exports, {
|
|
20
|
+
default: () => stdin_default
|
|
21
|
+
});
|
|
22
|
+
module.exports = __toCommonJS(stdin_exports);
|
|
23
|
+
var import_vue = require("vue");
|
|
24
|
+
var import_vue2 = require("vue");
|
|
25
|
+
var import_utils = require("../utils");
|
|
26
|
+
const [name, bem] = (0, import_utils.createNamespace)("loading");
|
|
27
|
+
const loadingProps = {
|
|
28
|
+
size: import_utils.numericProp,
|
|
29
|
+
type: (0, import_utils.makeStringProp)("snake"),
|
|
30
|
+
color: String,
|
|
31
|
+
vertical: Boolean,
|
|
32
|
+
textSize: import_utils.numericProp,
|
|
33
|
+
textColor: String
|
|
34
|
+
};
|
|
35
|
+
let svgElementId = 0;
|
|
36
|
+
const LoadingIcon = (props) => {
|
|
37
|
+
if (props.type === "spinner") {
|
|
38
|
+
return Array(12).fill(null).map((_, index) => (0, import_vue.createVNode)("i", {
|
|
39
|
+
"class": bem("line", String(index + 1))
|
|
40
|
+
}, null));
|
|
41
|
+
}
|
|
42
|
+
if (props.type === "circular") {
|
|
43
|
+
return (0, import_vue.createVNode)("svg", {
|
|
44
|
+
"class": bem("circular"),
|
|
45
|
+
"viewBox": "25 25 50 50"
|
|
46
|
+
}, [(0, import_vue.createVNode)("circle", {
|
|
47
|
+
"cx": "50",
|
|
48
|
+
"cy": "50",
|
|
49
|
+
"r": "20",
|
|
50
|
+
"fill": "none"
|
|
51
|
+
}, null)]);
|
|
52
|
+
}
|
|
53
|
+
const firstHalfId = svgElementId++;
|
|
54
|
+
const secondHalfId = svgElementId++;
|
|
55
|
+
return (0, import_vue.createVNode)("svg", {
|
|
56
|
+
"class": bem("snake"),
|
|
57
|
+
"width": "200",
|
|
58
|
+
"height": "200",
|
|
59
|
+
"viewBox": "0 0 200 200",
|
|
60
|
+
"fill": "none"
|
|
61
|
+
}, [(0, import_vue.createVNode)("defs", null, [(0, import_vue.createVNode)("linearGradient", {
|
|
62
|
+
"id": secondHalfId + ""
|
|
63
|
+
}, [(0, import_vue.createVNode)("stop", {
|
|
64
|
+
"offset": "0%",
|
|
65
|
+
"stop-opacity": "0",
|
|
66
|
+
"stop-color": "currentColor"
|
|
67
|
+
}, null), (0, import_vue.createVNode)("stop", {
|
|
68
|
+
"offset": "100%",
|
|
69
|
+
"stop-opacity": "0.5",
|
|
70
|
+
"stop-color": "currentColor"
|
|
71
|
+
}, null)]), (0, import_vue.createVNode)("linearGradient", {
|
|
72
|
+
"id": firstHalfId + ""
|
|
73
|
+
}, [(0, import_vue.createVNode)("stop", {
|
|
74
|
+
"offset": "0%",
|
|
75
|
+
"stop-opacity": "1",
|
|
76
|
+
"stop-color": "currentColor"
|
|
77
|
+
}, null), (0, import_vue.createVNode)("stop", {
|
|
78
|
+
"offset": "100%",
|
|
79
|
+
"stop-opacity": "0.5",
|
|
80
|
+
"stop-color": "currentColor"
|
|
81
|
+
}, null)])]), (0, import_vue.createVNode)("g", {
|
|
82
|
+
"stroke-width": "18"
|
|
83
|
+
}, [(0, import_vue.createVNode)("path", {
|
|
84
|
+
"stroke": `url(#${secondHalfId})`,
|
|
85
|
+
"d": "M 9 100 A 91 91 0 0 1 191 100"
|
|
86
|
+
}, null), (0, import_vue.createVNode)("path", {
|
|
87
|
+
"stroke": `url(#${firstHalfId})`,
|
|
88
|
+
"d": "M 191 100 A 91 91 0 0 1 9 100"
|
|
89
|
+
}, null), (0, import_vue.createVNode)("path", {
|
|
90
|
+
"stroke": "currentColor",
|
|
91
|
+
"stroke-linecap": "round",
|
|
92
|
+
"d": "M 9 100 A 91 91 0 0 1 9 100"
|
|
93
|
+
}, null)])]);
|
|
94
|
+
};
|
|
95
|
+
var stdin_default = (0, import_vue2.defineComponent)({
|
|
96
|
+
name,
|
|
97
|
+
props: loadingProps,
|
|
98
|
+
setup(props, {
|
|
99
|
+
slots
|
|
100
|
+
}) {
|
|
101
|
+
const spinnerStyle = (0, import_vue2.computed)(() => (0, import_utils.extend)({
|
|
102
|
+
color: props.color
|
|
103
|
+
}, (0, import_utils.getSizeStyle)(props.size)));
|
|
104
|
+
const renderText = () => {
|
|
105
|
+
var _a;
|
|
106
|
+
if (slots.default) {
|
|
107
|
+
return (0, import_vue.createVNode)("span", {
|
|
108
|
+
"class": bem("text"),
|
|
109
|
+
"style": {
|
|
110
|
+
fontSize: (0, import_utils.addUnit)(props.textSize),
|
|
111
|
+
color: (_a = props.textColor) != null ? _a : props.color
|
|
112
|
+
}
|
|
113
|
+
}, [slots.default()]);
|
|
114
|
+
}
|
|
115
|
+
};
|
|
116
|
+
return () => {
|
|
117
|
+
const {
|
|
118
|
+
type,
|
|
119
|
+
vertical
|
|
120
|
+
} = props;
|
|
121
|
+
return (0, import_vue.createVNode)("div", {
|
|
122
|
+
"class": bem([type, {
|
|
123
|
+
vertical
|
|
124
|
+
}]),
|
|
125
|
+
"aria-live": "polite",
|
|
126
|
+
"aria-busy": true
|
|
127
|
+
}, [(0, import_vue.createVNode)("span", {
|
|
128
|
+
"class": bem("spinner", type),
|
|
129
|
+
"style": spinnerStyle.value
|
|
130
|
+
}, [LoadingIcon(props)]), renderText()]);
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
body{--zt-loading-text-color: var(--zt-text-color-a6);--zt-loading-text-font-size: var(--zt-font-size-md);--zt-loading-spinner-color: var(--zt-text-color-a4);--zt-loading-spinner-size: 36px;--zt-loading-spinner-duration: .8s;--zt-loading-text-line-height: 20px}.zt-loading{position:relative;color:var(--zt-loading-spinner-color);font-size:0;vertical-align:middle}.zt-loading__spinner{position:relative;display:inline-block;width:var(--zt-loading-spinner-size);max-width:100%;height:var(--zt-loading-spinner-size);max-height:100%;vertical-align:middle;animation:zt-rotate var(--zt-loading-spinner-duration) linear infinite}.zt-loading__spinner--spinner{animation-timing-function:steps(12)}.zt-loading__spinner--spinner__line{position:absolute;top:0;left:0;width:100%;height:100%}.zt-loading__spinner--spinner__line:before{display:block;width:2px;height:25%;margin:0 auto;background-color:currentColor;border-radius:40%;content:" "}.zt-loading__spinner--circular{animation-duration:2s}.zt-loading__circular{display:block;width:100%;height:100%}.zt-loading__circular circle{animation:zt-circular 1.5s ease-in-out infinite;stroke:currentColor;stroke-width:3;stroke-linecap:round}.zt-loading__snake{display:block;width:100%;height:100%}.zt-loading__text{display:inline-block;margin-left:var(--zt-padding-base);color:var(--zt-loading-text-color);font-size:var(--zt-loading-text-font-size);line-height:var(--zt-loading-text-line-height);vertical-align:middle}.zt-loading--vertical{display:flex;flex-direction:column;align-items:center}.zt-loading--vertical .zt-loading__text{margin:var(--zt-padding-base) 0 0}.zt-loading--horizontal-with-text .zt-loading__spinner--snake{width:20px;height:20px}@keyframes zt-circular{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40}to{stroke-dasharray:90,150;stroke-dashoffset:-120}}.zt-loading__spinner--spinner i:nth-of-type(1){transform:rotate(30deg);opacity:1}.zt-loading__spinner--spinner i:nth-of-type(2){transform:rotate(60deg);opacity:.9375}.zt-loading__spinner--spinner i:nth-of-type(3){transform:rotate(90deg);opacity:.875}.zt-loading__spinner--spinner i:nth-of-type(4){transform:rotate(120deg);opacity:.8125}.zt-loading__spinner--spinner i:nth-of-type(5){transform:rotate(150deg);opacity:.75}.zt-loading__spinner--spinner i:nth-of-type(6){transform:rotate(180deg);opacity:.6875}.zt-loading__spinner--spinner i:nth-of-type(7){transform:rotate(210deg);opacity:.625}.zt-loading__spinner--spinner i:nth-of-type(8){transform:rotate(240deg);opacity:.5625}.zt-loading__spinner--spinner i:nth-of-type(9){transform:rotate(270deg);opacity:.5}.zt-loading__spinner--spinner i:nth-of-type(10){transform:rotate(300deg);opacity:.4375}.zt-loading__spinner--spinner i:nth-of-type(11){transform:rotate(330deg);opacity:.375}.zt-loading__spinner--spinner i:nth-of-type(12){transform:rotate(360deg);opacity:.3125}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare const Loading: import("../utils").WithInstall<import("vue").DefineComponent<{
|
|
2
|
+
size: (NumberConstructor | StringConstructor)[];
|
|
3
|
+
type: {
|
|
4
|
+
type: import("vue").PropType<import("./Loading").LoadingType>;
|
|
5
|
+
default: import("./Loading").LoadingType;
|
|
6
|
+
};
|
|
7
|
+
color: StringConstructor;
|
|
8
|
+
vertical: BooleanConstructor;
|
|
9
|
+
textSize: (NumberConstructor | StringConstructor)[];
|
|
10
|
+
textColor: StringConstructor;
|
|
11
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
+
size: (NumberConstructor | StringConstructor)[];
|
|
13
|
+
type: {
|
|
14
|
+
type: import("vue").PropType<import("./Loading").LoadingType>;
|
|
15
|
+
default: import("./Loading").LoadingType;
|
|
16
|
+
};
|
|
17
|
+
color: StringConstructor;
|
|
18
|
+
vertical: BooleanConstructor;
|
|
19
|
+
textSize: (NumberConstructor | StringConstructor)[];
|
|
20
|
+
textColor: StringConstructor;
|
|
21
|
+
}>>, {
|
|
22
|
+
type: import("./Loading").LoadingType;
|
|
23
|
+
vertical: boolean;
|
|
24
|
+
}>>;
|
|
25
|
+
export default Loading;
|
|
26
|
+
export type { LoadingType, LoadingProps } from './Loading';
|
|
27
|
+
declare module 'vue' {
|
|
28
|
+
interface GlobalComponents {
|
|
29
|
+
ZtLoading: typeof Loading;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
21
|
+
mod
|
|
22
|
+
));
|
|
23
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
24
|
+
var stdin_exports = {};
|
|
25
|
+
__export(stdin_exports, {
|
|
26
|
+
Loading: () => Loading,
|
|
27
|
+
default: () => stdin_default
|
|
28
|
+
});
|
|
29
|
+
module.exports = __toCommonJS(stdin_exports);
|
|
30
|
+
var import_utils = require("../utils");
|
|
31
|
+
var import_Loading = __toESM(require("./Loading"));
|
|
32
|
+
const Loading = (0, import_utils.withInstall)(import_Loading.default);
|
|
33
|
+
var stdin_default = Loading;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
21
|
+
mod
|
|
22
|
+
));
|
|
23
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
24
|
+
var stdin_exports = {};
|
|
25
|
+
__export(stdin_exports, {
|
|
26
|
+
Locale: () => Locale,
|
|
27
|
+
default: () => stdin_default
|
|
28
|
+
});
|
|
29
|
+
module.exports = __toCommonJS(stdin_exports);
|
|
30
|
+
var import_vue = require("vue");
|
|
31
|
+
var import_deep_assign = require("../utils/deep-assign");
|
|
32
|
+
var import_zh_CN = __toESM(require("./lang/zh-CN"));
|
|
33
|
+
const lang = (0, import_vue.ref)("zh-CN");
|
|
34
|
+
const messages = (0, import_vue.reactive)({
|
|
35
|
+
"zh-CN": import_zh_CN.default
|
|
36
|
+
});
|
|
37
|
+
const Locale = {
|
|
38
|
+
messages() {
|
|
39
|
+
return messages[lang.value];
|
|
40
|
+
},
|
|
41
|
+
use(newLang, newMessages) {
|
|
42
|
+
lang.value = newLang;
|
|
43
|
+
this.add({ [newLang]: newMessages });
|
|
44
|
+
},
|
|
45
|
+
add(newMessages = {}) {
|
|
46
|
+
(0, import_deep_assign.deepAssign)(messages, newMessages);
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
var stdin_default = Locale;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
name: string;
|
|
3
|
+
tel: string;
|
|
4
|
+
save: string;
|
|
5
|
+
confirm: string;
|
|
6
|
+
cancel: string;
|
|
7
|
+
delete: string;
|
|
8
|
+
loading: string;
|
|
9
|
+
noCoupon: string;
|
|
10
|
+
nameEmpty: string;
|
|
11
|
+
addContact: string;
|
|
12
|
+
telInvalid: string;
|
|
13
|
+
vanCalendar: {
|
|
14
|
+
end: string;
|
|
15
|
+
start: string;
|
|
16
|
+
title: string;
|
|
17
|
+
weekdays: string[];
|
|
18
|
+
monthTitle: (year: number, month: number) => string;
|
|
19
|
+
rangePrompt: (maxRange: number) => string;
|
|
20
|
+
};
|
|
21
|
+
vanCascader: {
|
|
22
|
+
select: string;
|
|
23
|
+
};
|
|
24
|
+
vanPagination: {
|
|
25
|
+
prev: string;
|
|
26
|
+
next: string;
|
|
27
|
+
};
|
|
28
|
+
vanPullRefresh: {
|
|
29
|
+
pulling: string;
|
|
30
|
+
loosing: string;
|
|
31
|
+
};
|
|
32
|
+
vanSubmitBar: {
|
|
33
|
+
label: string;
|
|
34
|
+
};
|
|
35
|
+
vanCoupon: {
|
|
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: {
|
|
52
|
+
area: string;
|
|
53
|
+
areaEmpty: string;
|
|
54
|
+
addressEmpty: string;
|
|
55
|
+
addressDetail: string;
|
|
56
|
+
defaultAddress: string;
|
|
57
|
+
};
|
|
58
|
+
vanAddressList: {
|
|
59
|
+
add: string;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
export default _default;
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var stdin_exports = {};
|
|
19
|
+
__export(stdin_exports, {
|
|
20
|
+
default: () => stdin_default
|
|
21
|
+
});
|
|
22
|
+
module.exports = __toCommonJS(stdin_exports);
|
|
23
|
+
var stdin_default = {
|
|
24
|
+
name: "Name",
|
|
25
|
+
tel: "Phone",
|
|
26
|
+
save: "Save",
|
|
27
|
+
confirm: "Confirm",
|
|
28
|
+
cancel: "Cancel",
|
|
29
|
+
delete: "Delete",
|
|
30
|
+
loading: "Loading...",
|
|
31
|
+
noCoupon: "No coupons",
|
|
32
|
+
nameEmpty: "Please fill in the name",
|
|
33
|
+
addContact: "Add contact",
|
|
34
|
+
telInvalid: "Malformed phone number",
|
|
35
|
+
vanCalendar: {
|
|
36
|
+
end: "End",
|
|
37
|
+
start: "Start",
|
|
38
|
+
title: "Calendar",
|
|
39
|
+
weekdays: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
|
|
40
|
+
monthTitle: (year, month) => `${year}/${month}`,
|
|
41
|
+
rangePrompt: (maxRange) => `Choose no more than ${maxRange} days`
|
|
42
|
+
},
|
|
43
|
+
vanCascader: {
|
|
44
|
+
select: "Select"
|
|
45
|
+
},
|
|
46
|
+
vanPagination: {
|
|
47
|
+
prev: "Previous",
|
|
48
|
+
next: "Next"
|
|
49
|
+
},
|
|
50
|
+
vanPullRefresh: {
|
|
51
|
+
pulling: "Pull to refresh...",
|
|
52
|
+
loosing: "Loose to refresh..."
|
|
53
|
+
},
|
|
54
|
+
vanSubmitBar: {
|
|
55
|
+
label: "Total:"
|
|
56
|
+
},
|
|
57
|
+
vanCoupon: {
|
|
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: {
|
|
74
|
+
area: "Area",
|
|
75
|
+
areaEmpty: "Please select a receiving area",
|
|
76
|
+
addressEmpty: "Address can not be empty",
|
|
77
|
+
addressDetail: "Address",
|
|
78
|
+
defaultAddress: "Set as the default address"
|
|
79
|
+
},
|
|
80
|
+
vanAddressList: {
|
|
81
|
+
add: "Add new address"
|
|
82
|
+
}
|
|
83
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
name: string;
|
|
3
|
+
tel: string;
|
|
4
|
+
save: string;
|
|
5
|
+
confirm: string;
|
|
6
|
+
cancel: string;
|
|
7
|
+
delete: string;
|
|
8
|
+
loading: string;
|
|
9
|
+
noCoupon: string;
|
|
10
|
+
nameEmpty: string;
|
|
11
|
+
addContact: string;
|
|
12
|
+
telInvalid: string;
|
|
13
|
+
vanCalendar: {
|
|
14
|
+
end: string;
|
|
15
|
+
start: string;
|
|
16
|
+
title: string;
|
|
17
|
+
weekdays: string[];
|
|
18
|
+
monthTitle: (year: number, month: number) => string;
|
|
19
|
+
rangePrompt: (maxRange: number) => string;
|
|
20
|
+
};
|
|
21
|
+
vanCascader: {
|
|
22
|
+
select: string;
|
|
23
|
+
};
|
|
24
|
+
vanPagination: {
|
|
25
|
+
prev: string;
|
|
26
|
+
next: string;
|
|
27
|
+
};
|
|
28
|
+
vanPullRefresh: {
|
|
29
|
+
pulling: string;
|
|
30
|
+
loosing: string;
|
|
31
|
+
};
|
|
32
|
+
vanSubmitBar: {
|
|
33
|
+
label: string;
|
|
34
|
+
};
|
|
35
|
+
vanCoupon: {
|
|
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: {
|
|
52
|
+
area: string;
|
|
53
|
+
areaEmpty: string;
|
|
54
|
+
addressEmpty: string;
|
|
55
|
+
addressDetail: string;
|
|
56
|
+
defaultAddress: string;
|
|
57
|
+
};
|
|
58
|
+
vanAddressList: {
|
|
59
|
+
add: string;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
export default _default;
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var stdin_exports = {};
|
|
19
|
+
__export(stdin_exports, {
|
|
20
|
+
default: () => stdin_default
|
|
21
|
+
});
|
|
22
|
+
module.exports = __toCommonJS(stdin_exports);
|
|
23
|
+
var stdin_default = {
|
|
24
|
+
name: "\u59D3\u540D",
|
|
25
|
+
tel: "\u7535\u8BDD",
|
|
26
|
+
save: "\u4FDD\u5B58",
|
|
27
|
+
confirm: "\u786E\u8BA4",
|
|
28
|
+
cancel: "\u53D6\u6D88",
|
|
29
|
+
delete: "\u5220\u9664",
|
|
30
|
+
loading: "\u52A0\u8F7D\u4E2D...",
|
|
31
|
+
noCoupon: "\u6682\u65E0\u4F18\u60E0\u5238",
|
|
32
|
+
nameEmpty: "\u8BF7\u586B\u5199\u59D3\u540D",
|
|
33
|
+
addContact: "\u6DFB\u52A0\u8054\u7CFB\u4EBA",
|
|
34
|
+
telInvalid: "\u8BF7\u586B\u5199\u6B63\u786E\u7684\u7535\u8BDD",
|
|
35
|
+
vanCalendar: {
|
|
36
|
+
end: "\u7ED3\u675F",
|
|
37
|
+
start: "\u5F00\u59CB",
|
|
38
|
+
title: "\u65E5\u671F\u9009\u62E9",
|
|
39
|
+
weekdays: ["\u65E5", "\u4E00", "\u4E8C", "\u4E09", "\u56DB", "\u4E94", "\u516D"],
|
|
40
|
+
monthTitle: (year, month) => `${year}\u5E74${month}\u6708`,
|
|
41
|
+
rangePrompt: (maxRange) => `\u6700\u591A\u9009\u62E9 ${maxRange} \u5929`
|
|
42
|
+
},
|
|
43
|
+
vanCascader: {
|
|
44
|
+
select: "\u8BF7\u9009\u62E9"
|
|
45
|
+
},
|
|
46
|
+
vanPagination: {
|
|
47
|
+
prev: "\u4E0A\u4E00\u9875",
|
|
48
|
+
next: "\u4E0B\u4E00\u9875"
|
|
49
|
+
},
|
|
50
|
+
vanPullRefresh: {
|
|
51
|
+
pulling: "\u4E0B\u62C9\u5373\u53EF\u5237\u65B0...",
|
|
52
|
+
loosing: "\u91CA\u653E\u5373\u53EF\u5237\u65B0..."
|
|
53
|
+
},
|
|
54
|
+
vanSubmitBar: {
|
|
55
|
+
label: "\u5408\u8BA1:"
|
|
56
|
+
},
|
|
57
|
+
vanCoupon: {
|
|
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: {
|
|
74
|
+
area: "\u5730\u533A",
|
|
75
|
+
areaEmpty: "\u8BF7\u9009\u62E9\u5730\u533A",
|
|
76
|
+
addressEmpty: "\u8BF7\u586B\u5199\u8BE6\u7EC6\u5730\u5740",
|
|
77
|
+
addressDetail: "\u8BE6\u7EC6\u5730\u5740",
|
|
78
|
+
defaultAddress: "\u8BBE\u4E3A\u9ED8\u8BA4\u6536\u8D27\u5730\u5740"
|
|
79
|
+
},
|
|
80
|
+
vanAddressList: {
|
|
81
|
+
add: "\u65B0\u589E\u5730\u5740"
|
|
82
|
+
}
|
|
83
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require("../../style/base.css");
|