persagy-vant 0.0.26 → 0.0.27
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 +9 -7
- package/es/bot-mobile/BotFab.d.ts +72 -0
- package/es/bot-mobile/BotFab.mjs +152 -0
- package/es/bot-mobile/BotHistoryDrawer.d.ts +72 -0
- package/es/bot-mobile/BotHistoryDrawer.mjs +97 -0
- package/es/bot-mobile/BotMobile.d.ts +83 -0
- package/es/bot-mobile/BotMobile.mjs +47 -0
- package/es/bot-mobile/BotMobileContextTags.d.ts +52 -0
- package/es/bot-mobile/BotMobileContextTags.mjs +52 -0
- package/es/bot-mobile/BotMobilePrompts.d.ts +54 -0
- package/es/bot-mobile/BotMobilePrompts.mjs +49 -0
- package/es/bot-mobile/BotMobileSheet.d.ts +92 -0
- package/es/bot-mobile/BotMobileSheet.mjs +50 -0
- package/es/bot-mobile/BotMobileView.d.ts +82 -0
- package/es/bot-mobile/BotMobileView.mjs +45 -0
- package/es/bot-mobile/BotSessionList.d.ts +71 -0
- package/es/bot-mobile/BotSessionList.mjs +99 -0
- package/es/bot-mobile/BotVoiceBar.d.ts +80 -0
- package/es/bot-mobile/BotVoiceBar.mjs +138 -0
- package/es/bot-mobile/fab-position.d.ts +9 -0
- package/es/bot-mobile/fab-position.mjs +10 -0
- package/es/bot-mobile/fab-position.test.mjs +29 -0
- package/es/bot-mobile/index.css +1 -0
- package/es/bot-mobile/index.d.ts +469 -0
- package/es/bot-mobile/index.less +464 -0
- package/es/bot-mobile/index.mjs +50 -0
- package/es/bot-mobile/session-filter.d.ts +6 -0
- package/es/bot-mobile/session-filter.mjs +15 -0
- package/es/bot-mobile/session-item.d.ts +15 -0
- package/es/bot-mobile/session-item.mjs +73 -0
- package/es/bot-mobile/style/index.mjs +15 -0
- package/es/bot-mobile/style/less.mjs +15 -0
- package/es/bot-mobile/types.d.ts +23 -0
- package/es/bot-mobile/types.mjs +0 -0
- package/es/bot-mobile/var.css +0 -0
- package/es/bot-mobile/var.less +58 -0
- package/es/bot-mobile/voice-zone.d.ts +6 -0
- package/es/bot-mobile/voice-zone.mjs +6 -0
- package/es/bot-mobile/voice-zone.test.mjs +19 -0
- package/es/cascader/Cascader.d.ts +1 -1
- package/es/cascader/index.d.ts +1 -1
- package/es/coupon-list/style/index.mjs +1 -1
- package/es/coupon-list/style/less.mjs +1 -1
- package/es/icon/base-iconfont.css +1 -0
- package/es/icon/base-iconfont.less +1144 -0
- package/es/icon/config.d.ts +7 -0
- package/es/icon/config.mjs +268 -0
- package/es/icon/index.less +1 -1
- package/es/icon/latest-iconfont.less +1 -1
- package/es/index.d.ts +2 -1
- package/es/index.mjs +4 -1
- package/es/location-select/style/index.mjs +1 -1
- package/es/location-select/style/less.mjs +1 -1
- package/es/material-add/MaterialAdd.d.ts +1 -1
- package/es/material-add/index.d.ts +1 -1
- package/es/quantity-input/QuantityInput.d.ts +1 -1
- package/es/quantity-input/index.d.ts +2 -2
- package/es/sticky/Sticky.d.ts +1 -1
- package/es/sticky/index.d.ts +1 -1
- package/lib/bot-mobile/BotFab.d.ts +72 -0
- package/lib/bot-mobile/BotFab.js +171 -0
- package/lib/bot-mobile/BotHistoryDrawer.d.ts +72 -0
- package/lib/bot-mobile/BotHistoryDrawer.js +116 -0
- package/lib/bot-mobile/BotMobile.d.ts +83 -0
- package/lib/bot-mobile/BotMobile.js +66 -0
- package/lib/bot-mobile/BotMobileContextTags.d.ts +52 -0
- package/lib/bot-mobile/BotMobileContextTags.js +71 -0
- package/lib/bot-mobile/BotMobilePrompts.d.ts +54 -0
- package/lib/bot-mobile/BotMobilePrompts.js +68 -0
- package/lib/bot-mobile/BotMobileSheet.d.ts +92 -0
- package/lib/bot-mobile/BotMobileSheet.js +79 -0
- package/lib/bot-mobile/BotMobileView.d.ts +82 -0
- package/lib/bot-mobile/BotMobileView.js +64 -0
- package/lib/bot-mobile/BotSessionList.d.ts +71 -0
- package/lib/bot-mobile/BotSessionList.js +118 -0
- package/lib/bot-mobile/BotVoiceBar.d.ts +80 -0
- package/lib/bot-mobile/BotVoiceBar.js +157 -0
- package/lib/bot-mobile/fab-position.d.ts +9 -0
- package/lib/bot-mobile/fab-position.js +29 -0
- package/lib/bot-mobile/fab-position.test.js +29 -0
- package/lib/bot-mobile/index.css +1 -0
- package/lib/bot-mobile/index.d.ts +469 -0
- package/lib/bot-mobile/index.js +79 -0
- package/lib/bot-mobile/index.less +464 -0
- package/lib/bot-mobile/session-filter.d.ts +6 -0
- package/lib/bot-mobile/session-filter.js +34 -0
- package/lib/bot-mobile/session-item.d.ts +15 -0
- package/lib/bot-mobile/session-item.js +92 -0
- package/lib/bot-mobile/style/index.js +15 -0
- package/lib/bot-mobile/style/less.js +15 -0
- package/lib/bot-mobile/types.d.ts +23 -0
- package/lib/bot-mobile/types.js +15 -0
- package/lib/bot-mobile/var.css +0 -0
- package/lib/bot-mobile/var.less +58 -0
- package/lib/bot-mobile/voice-zone.d.ts +6 -0
- package/lib/bot-mobile/voice-zone.js +25 -0
- package/lib/bot-mobile/voice-zone.test.js +19 -0
- package/lib/cascader/Cascader.d.ts +1 -1
- package/lib/cascader/index.d.ts +1 -1
- package/lib/coupon-list/style/index.js +1 -1
- package/lib/coupon-list/style/less.js +1 -1
- package/lib/icon/base-iconfont.css +1 -0
- package/lib/icon/base-iconfont.less +1144 -0
- package/lib/icon/config.d.ts +7 -0
- package/lib/icon/config.js +287 -0
- package/lib/icon/index.less +1 -1
- package/lib/icon/latest-iconfont.less +1 -1
- package/lib/index.css +1 -1
- package/lib/index.d.ts +2 -1
- package/lib/index.js +4 -1
- package/lib/index.less +5 -4
- package/lib/location-select/style/index.js +1 -1
- package/lib/location-select/style/less.js +1 -1
- package/lib/material-add/MaterialAdd.d.ts +1 -1
- package/lib/material-add/index.d.ts +1 -1
- package/lib/quantity-input/QuantityInput.d.ts +1 -1
- package/lib/quantity-input/index.d.ts +2 -2
- package/lib/sticky/Sticky.d.ts +1 -1
- package/lib/sticky/index.d.ts +1 -1
- package/lib/vant.cjs.js +1798 -1028
- package/lib/vant.es.js +1798 -1028
- package/lib/vant.js +21938 -10365
- package/lib/vant.min.js +1 -1
- package/lib/web-types.json +1 -1
- package/package.json +1 -1
- package/skills/use-persagy-vant/SKILL.md +2 -2
- package/skills/use-persagy-vant/references/business-component-catalog.md +1 -1
- package/skills/use-persagy-vant/references/component-catalog.md +1 -1
- package/es/action-bar/style/index.d.ts +0 -1
- package/es/action-bar/style/less.d.ts +0 -1
- package/es/action-sheet/style/index.d.ts +0 -1
- package/es/action-sheet/style/less.d.ts +0 -1
- package/es/address-edit/style/index.d.ts +0 -1
- package/es/address-edit/style/less.d.ts +0 -1
- package/es/address-list/style/index.d.ts +0 -1
- package/es/address-list/style/less.d.ts +0 -1
- package/es/area/style/index.d.ts +0 -1
- package/es/area/style/less.d.ts +0 -1
- package/es/background/style/index.d.ts +0 -1
- package/es/background/style/less.d.ts +0 -1
- package/es/badge/style/index.d.ts +0 -1
- package/es/badge/style/less.d.ts +0 -1
- package/es/blue-mark/style/index.d.ts +0 -1
- package/es/blue-mark/style/less.d.ts +0 -1
- package/es/bottom-action-bar/style/index.d.ts +0 -1
- package/es/bottom-action-bar/style/less.d.ts +0 -1
- package/es/button/style/index.d.ts +0 -1
- package/es/button/style/less.d.ts +0 -1
- package/es/calendar/style/index.d.ts +0 -1
- package/es/calendar/style/less.d.ts +0 -1
- package/es/card/style/index.d.ts +0 -1
- package/es/card/style/less.d.ts +0 -1
- package/es/cascader/style/index.d.ts +0 -1
- package/es/cascader/style/less.d.ts +0 -1
- package/es/cell/style/index.d.ts +0 -1
- package/es/cell/style/less.d.ts +0 -1
- package/es/cell-group/style/index.d.ts +0 -1
- package/es/cell-group/style/less.d.ts +0 -1
- package/es/checkbox/style/index.d.ts +0 -1
- package/es/checkbox/style/less.d.ts +0 -1
- package/es/checkbox-group/style/index.d.ts +0 -1
- package/es/checkbox-group/style/less.d.ts +0 -1
- package/es/checkbox-panel/style/index.d.ts +0 -1
- package/es/checkbox-panel/style/less.d.ts +0 -1
- package/es/circle/style/index.d.ts +0 -1
- package/es/circle/style/less.d.ts +0 -1
- package/es/col/style/index.d.ts +0 -1
- package/es/col/style/less.d.ts +0 -1
- package/es/collapse/style/index.d.ts +0 -1
- package/es/collapse/style/less.d.ts +0 -1
- package/es/collapse-item/style/index.d.ts +0 -1
- package/es/collapse-item/style/less.d.ts +0 -1
- package/es/config-provider/style/index.d.ts +0 -1
- package/es/config-provider/style/less.d.ts +0 -1
- package/es/contact-card/style/index.d.ts +0 -1
- package/es/contact-card/style/less.d.ts +0 -1
- package/es/contact-edit/style/index.d.ts +0 -1
- package/es/contact-edit/style/less.d.ts +0 -1
- package/es/contact-list/style/index.d.ts +0 -1
- package/es/contact-list/style/less.d.ts +0 -1
- package/es/count-down/style/index.d.ts +0 -1
- package/es/count-down/style/less.d.ts +0 -1
- package/es/coupon/style/index.d.ts +0 -1
- package/es/coupon/style/less.d.ts +0 -1
- package/es/coupon-cell/style/index.d.ts +0 -1
- package/es/coupon-cell/style/less.d.ts +0 -1
- package/es/coupon-list/style/index.d.ts +0 -1
- package/es/coupon-list/style/less.d.ts +0 -1
- package/es/datetime-picker/style/index.d.ts +0 -1
- package/es/datetime-picker/style/less.d.ts +0 -1
- package/es/dialog/style/index.d.ts +0 -1
- package/es/dialog/style/less.d.ts +0 -1
- package/es/divider/style/index.d.ts +0 -1
- package/es/divider/style/less.d.ts +0 -1
- package/es/dropdown-item/style/index.d.ts +0 -1
- package/es/dropdown-item/style/less.d.ts +0 -1
- package/es/dropdown-menu/style/index.d.ts +0 -1
- package/es/dropdown-menu/style/less.d.ts +0 -1
- package/es/empty/style/index.d.ts +0 -1
- package/es/empty/style/less.d.ts +0 -1
- package/es/field/style/index.d.ts +0 -1
- package/es/field/style/less.d.ts +0 -1
- package/es/filter-tag/style/index.d.ts +0 -1
- package/es/filter-tag/style/less.d.ts +0 -1
- package/es/floor-select/style/index.d.ts +0 -1
- package/es/floor-select/style/less.d.ts +0 -1
- package/es/form/style/index.d.ts +0 -1
- package/es/form/style/less.d.ts +0 -1
- package/es/form-panel/style/index.d.ts +0 -1
- package/es/form-panel/style/less.d.ts +0 -1
- package/es/friendly-tip/style/index.d.ts +0 -1
- package/es/friendly-tip/style/less.d.ts +0 -1
- package/es/grid/style/index.d.ts +0 -1
- package/es/grid/style/less.d.ts +0 -1
- package/es/grid-item/style/index.d.ts +0 -1
- package/es/grid-item/style/less.d.ts +0 -1
- package/es/icon/style/index.d.ts +0 -1
- package/es/icon/style/less.d.ts +0 -1
- package/es/image/style/index.d.ts +0 -1
- package/es/image/style/less.d.ts +0 -1
- package/es/image-preview/style/index.d.ts +0 -1
- package/es/image-preview/style/less.d.ts +0 -1
- package/es/index-anchor/style/index.d.ts +0 -1
- package/es/index-anchor/style/less.d.ts +0 -1
- package/es/index-bar/style/index.d.ts +0 -1
- package/es/index-bar/style/less.d.ts +0 -1
- package/es/lazyload/style/index.d.ts +0 -1
- package/es/lazyload/style/less.d.ts +0 -1
- package/es/list/style/index.d.ts +0 -1
- package/es/list/style/less.d.ts +0 -1
- package/es/loading/style/index.d.ts +0 -1
- package/es/loading/style/less.d.ts +0 -1
- package/es/locale/style/index.d.ts +0 -1
- package/es/locale/style/less.d.ts +0 -1
- package/es/location-select/style/index.d.ts +0 -1
- package/es/location-select/style/less.d.ts +0 -1
- package/es/material-add/style/index.d.ts +0 -1
- package/es/material-add/style/less.d.ts +0 -1
- package/es/multi-person-select/style/index.d.ts +0 -1
- package/es/multi-person-select/style/less.d.ts +0 -1
- package/es/nav-bar/style/index.d.ts +0 -1
- package/es/nav-bar/style/less.d.ts +0 -1
- package/es/notice-bar/style/index.d.ts +0 -1
- package/es/notice-bar/style/less.d.ts +0 -1
- package/es/notify/style/index.d.ts +0 -1
- package/es/notify/style/less.d.ts +0 -1
- package/es/number-keyboard/style/index.d.ts +0 -1
- package/es/number-keyboard/style/less.d.ts +0 -1
- package/es/object-select/style/index.d.ts +0 -1
- package/es/object-select/style/less.d.ts +0 -1
- package/es/overlay/style/index.d.ts +0 -1
- package/es/overlay/style/less.d.ts +0 -1
- package/es/pagination/style/index.d.ts +0 -1
- package/es/pagination/style/less.d.ts +0 -1
- package/es/password-input/style/index.d.ts +0 -1
- package/es/password-input/style/less.d.ts +0 -1
- package/es/picker/style/index.d.ts +0 -1
- package/es/picker/style/less.d.ts +0 -1
- package/es/popover/style/index.d.ts +0 -1
- package/es/popover/style/less.d.ts +0 -1
- package/es/popup/style/index.d.ts +0 -1
- package/es/popup/style/less.d.ts +0 -1
- package/es/progress/style/index.d.ts +0 -1
- package/es/progress/style/less.d.ts +0 -1
- package/es/pull-refresh/style/index.d.ts +0 -1
- package/es/pull-refresh/style/less.d.ts +0 -1
- package/es/quantity-input/style/index.d.ts +0 -1
- package/es/quantity-input/style/less.d.ts +0 -1
- package/es/radio/style/index.d.ts +0 -1
- package/es/radio/style/less.d.ts +0 -1
- package/es/radio-group/style/index.d.ts +0 -1
- package/es/radio-group/style/less.d.ts +0 -1
- package/es/radio-panel/style/index.d.ts +0 -1
- package/es/radio-panel/style/less.d.ts +0 -1
- package/es/rate/style/index.d.ts +0 -1
- package/es/rate/style/less.d.ts +0 -1
- package/es/row/style/index.d.ts +0 -1
- package/es/row/style/less.d.ts +0 -1
- package/es/search/style/index.d.ts +0 -1
- package/es/search/style/less.d.ts +0 -1
- package/es/share-sheet/style/index.d.ts +0 -1
- package/es/share-sheet/style/less.d.ts +0 -1
- package/es/sidebar/style/index.d.ts +0 -1
- package/es/sidebar/style/less.d.ts +0 -1
- package/es/sidebar-item/style/index.d.ts +0 -1
- package/es/sidebar-item/style/less.d.ts +0 -1
- package/es/single-person-select/style/index.d.ts +0 -1
- package/es/single-person-select/style/less.d.ts +0 -1
- package/es/skeleton/style/index.d.ts +0 -1
- package/es/skeleton/style/less.d.ts +0 -1
- package/es/slider/style/index.d.ts +0 -1
- package/es/slider/style/less.d.ts +0 -1
- package/es/space/style/index.d.ts +0 -1
- package/es/space/style/less.d.ts +0 -1
- package/es/step/style/index.d.ts +0 -1
- package/es/step/style/less.d.ts +0 -1
- package/es/stepper/style/index.d.ts +0 -1
- package/es/stepper/style/less.d.ts +0 -1
- package/es/steps/style/index.d.ts +0 -1
- package/es/steps/style/less.d.ts +0 -1
- package/es/sticky/style/index.d.ts +0 -1
- package/es/sticky/style/less.d.ts +0 -1
- package/es/submit-bar/style/index.d.ts +0 -1
- package/es/submit-bar/style/less.d.ts +0 -1
- package/es/swipe/style/index.d.ts +0 -1
- package/es/swipe/style/less.d.ts +0 -1
- package/es/swipe-cell/style/index.d.ts +0 -1
- package/es/swipe-cell/style/less.d.ts +0 -1
- package/es/swipe-item/style/index.d.ts +0 -1
- package/es/swipe-item/style/less.d.ts +0 -1
- package/es/switch/style/index.d.ts +0 -1
- package/es/switch/style/less.d.ts +0 -1
- package/es/tab/style/index.d.ts +0 -1
- package/es/tab/style/less.d.ts +0 -1
- package/es/tabbar/style/index.d.ts +0 -1
- package/es/tabbar/style/less.d.ts +0 -1
- package/es/tabbar-item/style/index.d.ts +0 -1
- package/es/tabbar-item/style/less.d.ts +0 -1
- package/es/tabs/style/index.d.ts +0 -1
- package/es/tabs/style/less.d.ts +0 -1
- package/es/tag/style/index.d.ts +0 -1
- package/es/tag/style/less.d.ts +0 -1
- package/es/toast/style/index.d.ts +0 -1
- package/es/toast/style/less.d.ts +0 -1
- package/es/tree-select/style/index.d.ts +0 -1
- package/es/tree-select/style/less.d.ts +0 -1
- package/es/uploader/style/index.d.ts +0 -1
- package/es/uploader/style/less.d.ts +0 -1
- package/es/video-preview/style/index.d.ts +0 -1
- package/es/video-preview/style/less.d.ts +0 -1
- package/es/work-order-card/style/index.d.ts +0 -1
- package/es/work-order-card/style/less.d.ts +0 -1
- package/es/work-order-filter/style/index.d.ts +0 -1
- package/es/work-order-filter/style/less.d.ts +0 -1
- package/lib/action-bar/style/index.d.ts +0 -1
- package/lib/action-bar/style/less.d.ts +0 -1
- package/lib/action-bar-button/style/index.d.ts +0 -1
- package/lib/action-bar-button/style/less.d.ts +0 -1
- package/lib/action-bar-icon/style/index.d.ts +0 -1
- package/lib/action-bar-icon/style/less.d.ts +0 -1
- package/lib/action-sheet/style/index.d.ts +0 -1
- package/lib/action-sheet/style/less.d.ts +0 -1
- package/lib/address-edit/style/index.d.ts +0 -1
- package/lib/address-edit/style/less.d.ts +0 -1
- package/lib/address-list/style/index.d.ts +0 -1
- package/lib/address-list/style/less.d.ts +0 -1
- package/lib/area/style/index.d.ts +0 -1
- package/lib/area/style/less.d.ts +0 -1
- package/lib/background/style/index.d.ts +0 -1
- package/lib/background/style/less.d.ts +0 -1
- package/lib/badge/style/index.d.ts +0 -1
- package/lib/badge/style/less.d.ts +0 -1
- package/lib/blue-mark/style/index.d.ts +0 -1
- package/lib/blue-mark/style/less.d.ts +0 -1
- package/lib/bottom-action-bar/style/index.d.ts +0 -1
- package/lib/bottom-action-bar/style/less.d.ts +0 -1
- package/lib/button/style/index.d.ts +0 -1
- package/lib/button/style/less.d.ts +0 -1
- package/lib/calendar/style/index.d.ts +0 -1
- package/lib/calendar/style/less.d.ts +0 -1
- package/lib/card/style/index.d.ts +0 -1
- package/lib/card/style/less.d.ts +0 -1
- package/lib/cascader/style/index.d.ts +0 -1
- package/lib/cascader/style/less.d.ts +0 -1
- package/lib/cell/style/index.d.ts +0 -1
- package/lib/cell/style/less.d.ts +0 -1
- package/lib/cell-group/style/index.d.ts +0 -1
- package/lib/cell-group/style/less.d.ts +0 -1
- package/lib/checkbox/style/index.d.ts +0 -1
- package/lib/checkbox/style/less.d.ts +0 -1
- package/lib/checkbox-group/style/index.d.ts +0 -1
- package/lib/checkbox-group/style/less.d.ts +0 -1
- package/lib/checkbox-panel/style/index.d.ts +0 -1
- package/lib/checkbox-panel/style/less.d.ts +0 -1
- package/lib/circle/style/index.d.ts +0 -1
- package/lib/circle/style/less.d.ts +0 -1
- package/lib/col/style/index.d.ts +0 -1
- package/lib/col/style/less.d.ts +0 -1
- package/lib/collapse/style/index.d.ts +0 -1
- package/lib/collapse/style/less.d.ts +0 -1
- package/lib/collapse-item/style/index.d.ts +0 -1
- package/lib/collapse-item/style/less.d.ts +0 -1
- package/lib/config-provider/style/index.d.ts +0 -1
- package/lib/config-provider/style/less.d.ts +0 -1
- package/lib/contact-card/style/index.d.ts +0 -1
- package/lib/contact-card/style/less.d.ts +0 -1
- package/lib/contact-edit/style/index.d.ts +0 -1
- package/lib/contact-edit/style/less.d.ts +0 -1
- package/lib/contact-list/style/index.d.ts +0 -1
- package/lib/contact-list/style/less.d.ts +0 -1
- package/lib/count-down/style/index.d.ts +0 -1
- package/lib/count-down/style/less.d.ts +0 -1
- package/lib/coupon/style/index.d.ts +0 -1
- package/lib/coupon/style/less.d.ts +0 -1
- package/lib/coupon-cell/style/index.d.ts +0 -1
- package/lib/coupon-cell/style/less.d.ts +0 -1
- package/lib/coupon-list/style/index.d.ts +0 -1
- package/lib/coupon-list/style/less.d.ts +0 -1
- package/lib/datetime-picker/style/index.d.ts +0 -1
- package/lib/datetime-picker/style/less.d.ts +0 -1
- package/lib/dialog/style/index.d.ts +0 -1
- package/lib/dialog/style/less.d.ts +0 -1
- package/lib/divider/style/index.d.ts +0 -1
- package/lib/divider/style/less.d.ts +0 -1
- package/lib/dropdown-item/style/index.d.ts +0 -1
- package/lib/dropdown-item/style/less.d.ts +0 -1
- package/lib/dropdown-menu/style/index.d.ts +0 -1
- package/lib/dropdown-menu/style/less.d.ts +0 -1
- package/lib/empty/style/index.d.ts +0 -1
- package/lib/empty/style/less.d.ts +0 -1
- package/lib/field/style/index.d.ts +0 -1
- package/lib/field/style/less.d.ts +0 -1
- package/lib/filter-tag/style/index.d.ts +0 -1
- package/lib/filter-tag/style/less.d.ts +0 -1
- package/lib/floor-select/style/index.d.ts +0 -1
- package/lib/floor-select/style/less.d.ts +0 -1
- package/lib/form/style/index.d.ts +0 -1
- package/lib/form/style/less.d.ts +0 -1
- package/lib/form-panel/style/index.d.ts +0 -1
- package/lib/form-panel/style/less.d.ts +0 -1
- package/lib/friendly-tip/style/index.d.ts +0 -1
- package/lib/friendly-tip/style/less.d.ts +0 -1
- package/lib/grid/style/index.d.ts +0 -1
- package/lib/grid/style/less.d.ts +0 -1
- package/lib/grid-item/style/index.d.ts +0 -1
- package/lib/grid-item/style/less.d.ts +0 -1
- package/lib/icon/style/index.d.ts +0 -1
- package/lib/icon/style/less.d.ts +0 -1
- package/lib/image/style/index.d.ts +0 -1
- package/lib/image/style/less.d.ts +0 -1
- package/lib/image-preview/style/index.d.ts +0 -1
- package/lib/image-preview/style/less.d.ts +0 -1
- package/lib/index-anchor/style/index.d.ts +0 -1
- package/lib/index-anchor/style/less.d.ts +0 -1
- package/lib/index-bar/style/index.d.ts +0 -1
- package/lib/index-bar/style/less.d.ts +0 -1
- package/lib/lazyload/style/index.d.ts +0 -1
- package/lib/lazyload/style/less.d.ts +0 -1
- package/lib/list/style/index.d.ts +0 -1
- package/lib/list/style/less.d.ts +0 -1
- package/lib/loading/style/index.d.ts +0 -1
- package/lib/loading/style/less.d.ts +0 -1
- package/lib/locale/style/index.d.ts +0 -1
- package/lib/locale/style/less.d.ts +0 -1
- package/lib/location-select/style/index.d.ts +0 -1
- package/lib/location-select/style/less.d.ts +0 -1
- package/lib/material-add/style/index.d.ts +0 -1
- package/lib/material-add/style/less.d.ts +0 -1
- package/lib/multi-person-select/style/index.d.ts +0 -1
- package/lib/multi-person-select/style/less.d.ts +0 -1
- package/lib/nav-bar/style/index.d.ts +0 -1
- package/lib/nav-bar/style/less.d.ts +0 -1
- package/lib/notice-bar/style/index.d.ts +0 -1
- package/lib/notice-bar/style/less.d.ts +0 -1
- package/lib/notify/style/index.d.ts +0 -1
- package/lib/notify/style/less.d.ts +0 -1
- package/lib/number-keyboard/style/index.d.ts +0 -1
- package/lib/number-keyboard/style/less.d.ts +0 -1
- package/lib/object-select/style/index.d.ts +0 -1
- package/lib/object-select/style/less.d.ts +0 -1
- package/lib/overlay/style/index.d.ts +0 -1
- package/lib/overlay/style/less.d.ts +0 -1
- package/lib/pagination/style/index.d.ts +0 -1
- package/lib/pagination/style/less.d.ts +0 -1
- package/lib/password-input/style/index.d.ts +0 -1
- package/lib/password-input/style/less.d.ts +0 -1
- package/lib/picker/style/index.d.ts +0 -1
- package/lib/picker/style/less.d.ts +0 -1
- package/lib/popover/style/index.d.ts +0 -1
- package/lib/popover/style/less.d.ts +0 -1
- package/lib/popup/style/index.d.ts +0 -1
- package/lib/popup/style/less.d.ts +0 -1
- package/lib/progress/style/index.d.ts +0 -1
- package/lib/progress/style/less.d.ts +0 -1
- package/lib/pull-refresh/style/index.d.ts +0 -1
- package/lib/pull-refresh/style/less.d.ts +0 -1
- package/lib/quantity-input/style/index.d.ts +0 -1
- package/lib/quantity-input/style/less.d.ts +0 -1
- package/lib/radio/style/index.d.ts +0 -1
- package/lib/radio/style/less.d.ts +0 -1
- package/lib/radio-group/style/index.d.ts +0 -1
- package/lib/radio-group/style/less.d.ts +0 -1
- package/lib/radio-panel/style/index.d.ts +0 -1
- package/lib/radio-panel/style/less.d.ts +0 -1
- package/lib/rate/style/index.d.ts +0 -1
- package/lib/rate/style/less.d.ts +0 -1
- package/lib/row/style/index.d.ts +0 -1
- package/lib/row/style/less.d.ts +0 -1
- package/lib/search/style/index.d.ts +0 -1
- package/lib/search/style/less.d.ts +0 -1
- package/lib/share-sheet/style/index.d.ts +0 -1
- package/lib/share-sheet/style/less.d.ts +0 -1
- package/lib/sidebar/style/index.d.ts +0 -1
- package/lib/sidebar/style/less.d.ts +0 -1
- package/lib/sidebar-item/style/index.d.ts +0 -1
- package/lib/sidebar-item/style/less.d.ts +0 -1
- package/lib/single-person-select/style/index.d.ts +0 -1
- package/lib/single-person-select/style/less.d.ts +0 -1
- package/lib/skeleton/style/index.d.ts +0 -1
- package/lib/skeleton/style/less.d.ts +0 -1
- package/lib/slider/style/index.d.ts +0 -1
- package/lib/slider/style/less.d.ts +0 -1
- package/lib/space/style/index.d.ts +0 -1
- package/lib/space/style/less.d.ts +0 -1
- package/lib/step/style/index.d.ts +0 -1
- package/lib/step/style/less.d.ts +0 -1
- package/lib/stepper/style/index.d.ts +0 -1
- package/lib/stepper/style/less.d.ts +0 -1
- package/lib/steps/style/index.d.ts +0 -1
- package/lib/steps/style/less.d.ts +0 -1
- package/lib/sticky/style/index.d.ts +0 -1
- package/lib/sticky/style/less.d.ts +0 -1
- package/lib/submit-bar/style/index.d.ts +0 -1
- package/lib/submit-bar/style/less.d.ts +0 -1
- package/lib/swipe/style/index.d.ts +0 -1
- package/lib/swipe/style/less.d.ts +0 -1
- package/lib/swipe-cell/style/index.d.ts +0 -1
- package/lib/swipe-cell/style/less.d.ts +0 -1
- package/lib/swipe-item/style/index.d.ts +0 -1
- package/lib/swipe-item/style/less.d.ts +0 -1
- package/lib/switch/style/index.d.ts +0 -1
- package/lib/switch/style/less.d.ts +0 -1
- package/lib/tab/style/index.d.ts +0 -1
- package/lib/tab/style/less.d.ts +0 -1
- package/lib/tabbar/style/index.d.ts +0 -1
- package/lib/tabbar/style/less.d.ts +0 -1
- package/lib/tabbar-item/style/index.d.ts +0 -1
- package/lib/tabbar-item/style/less.d.ts +0 -1
- package/lib/tabs/style/index.d.ts +0 -1
- package/lib/tabs/style/less.d.ts +0 -1
- package/lib/tag/style/index.d.ts +0 -1
- package/lib/tag/style/less.d.ts +0 -1
- package/lib/toast/style/index.d.ts +0 -1
- package/lib/toast/style/less.d.ts +0 -1
- package/lib/tree-select/style/index.d.ts +0 -1
- package/lib/tree-select/style/less.d.ts +0 -1
- package/lib/uploader/style/index.d.ts +0 -1
- package/lib/uploader/style/less.d.ts +0 -1
- package/lib/video-preview/style/index.d.ts +0 -1
- package/lib/video-preview/style/less.d.ts +0 -1
- package/lib/work-order-card/style/index.d.ts +0 -1
- package/lib/work-order-card/style/less.d.ts +0 -1
- package/lib/work-order-filter/style/index.d.ts +0 -1
- package/lib/work-order-filter/style/less.d.ts +0 -1
- /package/es/{action-bar-button/style/index.d.ts → bot-mobile/fab-position.test.d.ts} +0 -0
- /package/es/{action-bar-button/style/less.d.ts → bot-mobile/voice-zone.test.d.ts} +0 -0
- /package/{es/action-bar-icon/style/index.d.ts → lib/bot-mobile/fab-position.test.d.ts} +0 -0
- /package/{es/action-bar-icon/style/less.d.ts → lib/bot-mobile/voice-zone.test.d.ts} +0 -0
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
var stdin_default = {
|
|
2
|
+
name: "vant-icon",
|
|
3
|
+
basic: [
|
|
4
|
+
"arrow",
|
|
5
|
+
"arrow-left",
|
|
6
|
+
"arrow-up",
|
|
7
|
+
"arrow-down",
|
|
8
|
+
"success",
|
|
9
|
+
"cross",
|
|
10
|
+
"plus",
|
|
11
|
+
"minus",
|
|
12
|
+
"fail",
|
|
13
|
+
"circle"
|
|
14
|
+
],
|
|
15
|
+
outline: [
|
|
16
|
+
"alarm-clock-minus",
|
|
17
|
+
"activity",
|
|
18
|
+
"eye-orders",
|
|
19
|
+
"add-box",
|
|
20
|
+
"add-orders",
|
|
21
|
+
"handshake",
|
|
22
|
+
"minus",
|
|
23
|
+
"cut",
|
|
24
|
+
// has corresponding filled icon
|
|
25
|
+
"location-o",
|
|
26
|
+
"like-o",
|
|
27
|
+
"star-o",
|
|
28
|
+
"phone-o",
|
|
29
|
+
"setting-o",
|
|
30
|
+
"fire-o",
|
|
31
|
+
"coupon-o",
|
|
32
|
+
"cart-o",
|
|
33
|
+
"shopping-cart-o",
|
|
34
|
+
"cart-circle-o",
|
|
35
|
+
"friends-o",
|
|
36
|
+
"comment-o",
|
|
37
|
+
"gem-o",
|
|
38
|
+
"gift-o",
|
|
39
|
+
"point-gift-o",
|
|
40
|
+
"send-gift-o",
|
|
41
|
+
"service-o",
|
|
42
|
+
"bag-o",
|
|
43
|
+
"todo-list-o",
|
|
44
|
+
"balance-list-o",
|
|
45
|
+
"close",
|
|
46
|
+
"clock-o",
|
|
47
|
+
"question-o",
|
|
48
|
+
"passed",
|
|
49
|
+
"add-o",
|
|
50
|
+
"gold-coin-o",
|
|
51
|
+
"info-o",
|
|
52
|
+
"play-circle-o",
|
|
53
|
+
"pause-circle-o",
|
|
54
|
+
"stop-circle-o",
|
|
55
|
+
"warning-o",
|
|
56
|
+
"phone-circle-o",
|
|
57
|
+
"music-o",
|
|
58
|
+
"smile-o",
|
|
59
|
+
"thumb-circle-o",
|
|
60
|
+
"comment-circle-o",
|
|
61
|
+
"browsing-history-o",
|
|
62
|
+
"underway-o",
|
|
63
|
+
"more-o",
|
|
64
|
+
"video-o",
|
|
65
|
+
"shop-o",
|
|
66
|
+
"shop-collect-o",
|
|
67
|
+
"share-o",
|
|
68
|
+
"chat-o",
|
|
69
|
+
"smile-comment-o",
|
|
70
|
+
"vip-card-o",
|
|
71
|
+
"award-o",
|
|
72
|
+
"diamond-o",
|
|
73
|
+
"volume-o",
|
|
74
|
+
"cluster-o",
|
|
75
|
+
"wap-home-o",
|
|
76
|
+
"photo-o",
|
|
77
|
+
"gift-card-o",
|
|
78
|
+
"expand-o",
|
|
79
|
+
"medal-o",
|
|
80
|
+
"good-job-o",
|
|
81
|
+
"manager-o",
|
|
82
|
+
"label-o",
|
|
83
|
+
"bookmark-o",
|
|
84
|
+
"bill-o",
|
|
85
|
+
"hot-o",
|
|
86
|
+
"hot-sale-o",
|
|
87
|
+
"new-o",
|
|
88
|
+
"new-arrival-o",
|
|
89
|
+
"goods-collect-o",
|
|
90
|
+
"eye-o",
|
|
91
|
+
"delete-o",
|
|
92
|
+
"font-o",
|
|
93
|
+
// without corresponding filled icon
|
|
94
|
+
"balance-o",
|
|
95
|
+
"refund-o",
|
|
96
|
+
"birthday-cake-o",
|
|
97
|
+
"user-o",
|
|
98
|
+
"orders-o",
|
|
99
|
+
"tv-o",
|
|
100
|
+
"envelop-o",
|
|
101
|
+
"flag-o",
|
|
102
|
+
"flower-o",
|
|
103
|
+
"filter-o",
|
|
104
|
+
"bar-chart-o",
|
|
105
|
+
"chart-trending-o",
|
|
106
|
+
"brush-o",
|
|
107
|
+
"bullhorn-o",
|
|
108
|
+
"hotel-o",
|
|
109
|
+
"cashier-o",
|
|
110
|
+
"newspaper-o",
|
|
111
|
+
"warn-o",
|
|
112
|
+
"notes-o",
|
|
113
|
+
"calendar-o",
|
|
114
|
+
"bulb-o",
|
|
115
|
+
"user-circle-o",
|
|
116
|
+
"desktop-o",
|
|
117
|
+
"apps-o",
|
|
118
|
+
"home-o",
|
|
119
|
+
"back-top",
|
|
120
|
+
"search",
|
|
121
|
+
"points",
|
|
122
|
+
"edit",
|
|
123
|
+
"qr",
|
|
124
|
+
"qr-invalid",
|
|
125
|
+
"closed-eye",
|
|
126
|
+
"down",
|
|
127
|
+
"scan",
|
|
128
|
+
"revoke",
|
|
129
|
+
"free-postage",
|
|
130
|
+
"certificate",
|
|
131
|
+
"logistics",
|
|
132
|
+
"contact",
|
|
133
|
+
"cash-back-record",
|
|
134
|
+
"after-sale",
|
|
135
|
+
"exchange",
|
|
136
|
+
"upgrade",
|
|
137
|
+
"ellipsis",
|
|
138
|
+
"description",
|
|
139
|
+
"records",
|
|
140
|
+
"sign",
|
|
141
|
+
"completed",
|
|
142
|
+
"failure",
|
|
143
|
+
"ecard-pay",
|
|
144
|
+
"peer-pay",
|
|
145
|
+
"balance-pay",
|
|
146
|
+
"credit-pay",
|
|
147
|
+
"debit-pay",
|
|
148
|
+
"cash-on-deliver",
|
|
149
|
+
"other-pay",
|
|
150
|
+
"tosend",
|
|
151
|
+
"pending-payment",
|
|
152
|
+
"paid",
|
|
153
|
+
"aim",
|
|
154
|
+
"discount",
|
|
155
|
+
"idcard",
|
|
156
|
+
"replay",
|
|
157
|
+
"shrink",
|
|
158
|
+
"shield-o",
|
|
159
|
+
"guide-o",
|
|
160
|
+
"cash-o",
|
|
161
|
+
"link-o",
|
|
162
|
+
"miniprogram-o",
|
|
163
|
+
"equipment"
|
|
164
|
+
],
|
|
165
|
+
filled: [
|
|
166
|
+
// has corresponding outline icon
|
|
167
|
+
"location",
|
|
168
|
+
"like",
|
|
169
|
+
"star",
|
|
170
|
+
"phone",
|
|
171
|
+
"setting",
|
|
172
|
+
"fire",
|
|
173
|
+
"coupon",
|
|
174
|
+
"cart",
|
|
175
|
+
"shopping-cart",
|
|
176
|
+
"cart-circle",
|
|
177
|
+
"friends",
|
|
178
|
+
"comment",
|
|
179
|
+
"gem",
|
|
180
|
+
"gift",
|
|
181
|
+
"point-gift",
|
|
182
|
+
"send-gift",
|
|
183
|
+
"service",
|
|
184
|
+
"bag",
|
|
185
|
+
"todo-list",
|
|
186
|
+
"balance-list",
|
|
187
|
+
"clear",
|
|
188
|
+
"clock",
|
|
189
|
+
"question",
|
|
190
|
+
"checked",
|
|
191
|
+
"add",
|
|
192
|
+
"gold-coin",
|
|
193
|
+
"info",
|
|
194
|
+
"play-circle",
|
|
195
|
+
"pause-circle",
|
|
196
|
+
"stop-circle",
|
|
197
|
+
"warning",
|
|
198
|
+
"phone-circle",
|
|
199
|
+
"music",
|
|
200
|
+
"smile",
|
|
201
|
+
"thumb-circle",
|
|
202
|
+
"comment-circle",
|
|
203
|
+
"browsing-history",
|
|
204
|
+
"underway",
|
|
205
|
+
"more",
|
|
206
|
+
"video",
|
|
207
|
+
"shop",
|
|
208
|
+
"shop-collect",
|
|
209
|
+
"share",
|
|
210
|
+
"chat",
|
|
211
|
+
"smile-comment",
|
|
212
|
+
"vip-card",
|
|
213
|
+
"award",
|
|
214
|
+
"diamond",
|
|
215
|
+
"volume",
|
|
216
|
+
"cluster",
|
|
217
|
+
"wap-home",
|
|
218
|
+
"photo",
|
|
219
|
+
"gift-card",
|
|
220
|
+
"expand",
|
|
221
|
+
"medal",
|
|
222
|
+
"good-job",
|
|
223
|
+
"manager",
|
|
224
|
+
"label",
|
|
225
|
+
"bookmark",
|
|
226
|
+
"bill",
|
|
227
|
+
"hot",
|
|
228
|
+
"hot-sale",
|
|
229
|
+
"new",
|
|
230
|
+
"new-arrival",
|
|
231
|
+
"goods-collect",
|
|
232
|
+
"eye",
|
|
233
|
+
"delete",
|
|
234
|
+
"font",
|
|
235
|
+
// without corresponding outline icon
|
|
236
|
+
"wechat",
|
|
237
|
+
"wechat-pay",
|
|
238
|
+
"alipay",
|
|
239
|
+
"photograph",
|
|
240
|
+
"youzan-shield",
|
|
241
|
+
"umbrella-circle",
|
|
242
|
+
"bell",
|
|
243
|
+
"printer",
|
|
244
|
+
"map-marked",
|
|
245
|
+
"card",
|
|
246
|
+
"add-square",
|
|
247
|
+
"live",
|
|
248
|
+
"lock",
|
|
249
|
+
"audio",
|
|
250
|
+
"graphic",
|
|
251
|
+
"column",
|
|
252
|
+
"invitation",
|
|
253
|
+
"play",
|
|
254
|
+
"pause",
|
|
255
|
+
"stop",
|
|
256
|
+
"weapp-nav",
|
|
257
|
+
"ascending",
|
|
258
|
+
"descending",
|
|
259
|
+
"bars",
|
|
260
|
+
"wap-nav",
|
|
261
|
+
"enlarge",
|
|
262
|
+
"photo-fail",
|
|
263
|
+
"sort"
|
|
264
|
+
]
|
|
265
|
+
};
|
|
266
|
+
export {
|
|
267
|
+
stdin_default as default
|
|
268
|
+
};
|
package/es/icon/index.less
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
// Names added in the current local iconfont export. The existing icon names
|
|
27
|
-
// keep their matching definitions
|
|
27
|
+
// keep their matching definitions.
|
|
28
28
|
.van-icon-word-edit:before { content: '\e66a'; }
|
|
29
29
|
.van-icon-trangle-right:before { content: '\e669'; }
|
|
30
30
|
.van-icon-lock-o:before { content: '\e664'; }
|
package/es/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export * from "./area";
|
|
|
8
8
|
export * from "./background";
|
|
9
9
|
export * from "./badge";
|
|
10
10
|
export * from "./blue-mark";
|
|
11
|
+
export * from "./bot-mobile";
|
|
11
12
|
export * from "./bottom-action-bar";
|
|
12
13
|
export * from "./button";
|
|
13
14
|
export * from "./calendar";
|
|
@@ -109,4 +110,4 @@ declare namespace _default {
|
|
|
109
110
|
}
|
|
110
111
|
export default _default;
|
|
111
112
|
export function install(app: any): void;
|
|
112
|
-
export const version: "0.0.
|
|
113
|
+
export const version: "0.0.27";
|
package/es/index.mjs
CHANGED
|
@@ -8,6 +8,7 @@ import { Area } from "./area/index.mjs";
|
|
|
8
8
|
import { Background } from "./background/index.mjs";
|
|
9
9
|
import { Badge } from "./badge/index.mjs";
|
|
10
10
|
import { BlueMark } from "./blue-mark/index.mjs";
|
|
11
|
+
import { BotMobile } from "./bot-mobile/index.mjs";
|
|
11
12
|
import { BottomActionBar } from "./bottom-action-bar/index.mjs";
|
|
12
13
|
import { Button } from "./button/index.mjs";
|
|
13
14
|
import { Calendar } from "./calendar/index.mjs";
|
|
@@ -102,7 +103,7 @@ import { Uploader } from "./uploader/index.mjs";
|
|
|
102
103
|
import { VideoPreview } from "./video-preview/index.mjs";
|
|
103
104
|
import { WorkOrderCard } from "./work-order-card/index.mjs";
|
|
104
105
|
import { WorkOrderFilter } from "./work-order-filter/index.mjs";
|
|
105
|
-
const version = "0.0.
|
|
106
|
+
const version = "0.0.27";
|
|
106
107
|
function install(app) {
|
|
107
108
|
const components = [
|
|
108
109
|
ActionBar,
|
|
@@ -115,6 +116,7 @@ function install(app) {
|
|
|
115
116
|
Background,
|
|
116
117
|
Badge,
|
|
117
118
|
BlueMark,
|
|
119
|
+
BotMobile,
|
|
118
120
|
BottomActionBar,
|
|
119
121
|
Button,
|
|
120
122
|
Calendar,
|
|
@@ -228,6 +230,7 @@ export * from "./area/index.mjs";
|
|
|
228
230
|
export * from "./background/index.mjs";
|
|
229
231
|
export * from "./badge/index.mjs";
|
|
230
232
|
export * from "./blue-mark/index.mjs";
|
|
233
|
+
export * from "./bot-mobile/index.mjs";
|
|
231
234
|
export * from "./bottom-action-bar/index.mjs";
|
|
232
235
|
export * from "./button/index.mjs";
|
|
233
236
|
export * from "./calendar/index.mjs";
|
|
@@ -17,8 +17,8 @@ import "../../radio/index.css";
|
|
|
17
17
|
import "../../cell/index.css";
|
|
18
18
|
import "../../tree-select/index.css";
|
|
19
19
|
import "../../field/index.css";
|
|
20
|
-
import "../../search/index.css";
|
|
21
20
|
import "../../dialog/index.css";
|
|
21
|
+
import "../../search/index.css";
|
|
22
22
|
import "../../sticky/index.css";
|
|
23
23
|
import "../../swipe/index.css";
|
|
24
24
|
import "../../swipe-item/index.css";
|
|
@@ -17,8 +17,8 @@ import "../../radio/index.less";
|
|
|
17
17
|
import "../../cell/index.less";
|
|
18
18
|
import "../../tree-select/index.less";
|
|
19
19
|
import "../../field/index.less";
|
|
20
|
-
import "../../search/index.less";
|
|
21
20
|
import "../../dialog/index.less";
|
|
21
|
+
import "../../search/index.less";
|
|
22
22
|
import "../../sticky/index.less";
|
|
23
23
|
import "../../swipe/index.less";
|
|
24
24
|
import "../../swipe-item/index.less";
|
|
@@ -77,8 +77,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
77
77
|
title: string;
|
|
78
78
|
modelValue: number[];
|
|
79
79
|
show: boolean;
|
|
80
|
-
confirmText: string;
|
|
81
80
|
items: MaterialAddItem[];
|
|
81
|
+
confirmText: string;
|
|
82
82
|
categories: MaterialAddCategory[];
|
|
83
83
|
}>;
|
|
84
84
|
export default _default;
|
|
@@ -51,8 +51,8 @@ export declare const MaterialAdd: import("../utils").WithInstall<import("vue").D
|
|
|
51
51
|
title: string;
|
|
52
52
|
modelValue: number[];
|
|
53
53
|
show: boolean;
|
|
54
|
-
confirmText: string;
|
|
55
54
|
items: import("./types").MaterialAddItem[];
|
|
55
|
+
confirmText: string;
|
|
56
56
|
categories: import("./types").MaterialAddCategory[];
|
|
57
57
|
}>>;
|
|
58
58
|
export default MaterialAdd;
|
|
@@ -92,8 +92,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
92
92
|
expanded: boolean;
|
|
93
93
|
expandText: string;
|
|
94
94
|
collapseText: string;
|
|
95
|
-
confirmText: string;
|
|
96
95
|
items: QuantityInputItem[];
|
|
96
|
+
confirmText: string;
|
|
97
97
|
clearText: string;
|
|
98
98
|
}>;
|
|
99
99
|
export default _default;
|
|
@@ -60,8 +60,8 @@ export declare const QuantityInput: import("../utils").WithInstall<import("vue")
|
|
|
60
60
|
expanded: boolean;
|
|
61
61
|
expandText: string;
|
|
62
62
|
collapseText: string;
|
|
63
|
-
confirmText: string;
|
|
64
63
|
items: import("./QuantityInput").QuantityInputItem[];
|
|
64
|
+
confirmText: string;
|
|
65
65
|
clearText: string;
|
|
66
66
|
}>>;
|
|
67
67
|
export declare const BatchMultiSelect: import("../utils").WithInstall<import("vue").DefineComponent<{
|
|
@@ -126,8 +126,8 @@ export declare const BatchMultiSelect: import("../utils").WithInstall<import("vu
|
|
|
126
126
|
expanded: boolean;
|
|
127
127
|
expandText: string;
|
|
128
128
|
collapseText: string;
|
|
129
|
-
confirmText: string;
|
|
130
129
|
items: import("./QuantityInput").QuantityInputItem[];
|
|
130
|
+
confirmText: string;
|
|
131
131
|
clearText: string;
|
|
132
132
|
}>>;
|
|
133
133
|
export default QuantityInput;
|
package/es/sticky/Sticky.d.ts
CHANGED
|
@@ -52,7 +52,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
52
52
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
53
53
|
}, {
|
|
54
54
|
position: StickyPosition;
|
|
55
|
-
offsetTop: string | number;
|
|
56
55
|
offsetBottom: string | number;
|
|
56
|
+
offsetTop: string | number;
|
|
57
57
|
}>;
|
|
58
58
|
export default _default;
|
package/es/sticky/index.d.ts
CHANGED
|
@@ -33,8 +33,8 @@ export declare const Sticky: import("../utils").WithInstall<import("vue").Define
|
|
|
33
33
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
34
34
|
}, {
|
|
35
35
|
position: import("./Sticky").StickyPosition;
|
|
36
|
-
offsetTop: string | number;
|
|
37
36
|
offsetBottom: string | number;
|
|
37
|
+
offsetTop: string | number;
|
|
38
38
|
}>>;
|
|
39
39
|
export default Sticky;
|
|
40
40
|
export type { StickyProps, StickyPosition } from './Sticky';
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { type ExtractPropTypes } from 'vue';
|
|
2
|
+
import { type FabSide } from './fab-position';
|
|
3
|
+
export interface BotFabPositionChangePayload {
|
|
4
|
+
side: FabSide;
|
|
5
|
+
top: number;
|
|
6
|
+
}
|
|
7
|
+
export declare const botFabProps: {
|
|
8
|
+
icon: {
|
|
9
|
+
type: import("vue").PropType<string>;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
side: {
|
|
13
|
+
type: import("vue").PropType<FabSide>;
|
|
14
|
+
default: FabSide;
|
|
15
|
+
};
|
|
16
|
+
offsetBottom: {
|
|
17
|
+
type: NumberConstructor;
|
|
18
|
+
default: number;
|
|
19
|
+
};
|
|
20
|
+
draggable: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: true;
|
|
23
|
+
};
|
|
24
|
+
badge: (NumberConstructor | StringConstructor)[];
|
|
25
|
+
};
|
|
26
|
+
export declare type BotFabProps = ExtractPropTypes<typeof botFabProps>;
|
|
27
|
+
declare const _default: import("vue").DefineComponent<{
|
|
28
|
+
icon: {
|
|
29
|
+
type: import("vue").PropType<string>;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
side: {
|
|
33
|
+
type: import("vue").PropType<FabSide>;
|
|
34
|
+
default: FabSide;
|
|
35
|
+
};
|
|
36
|
+
offsetBottom: {
|
|
37
|
+
type: NumberConstructor;
|
|
38
|
+
default: number;
|
|
39
|
+
};
|
|
40
|
+
draggable: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: true;
|
|
43
|
+
};
|
|
44
|
+
badge: (NumberConstructor | StringConstructor)[];
|
|
45
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "positionChange")[], "click" | "positionChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
46
|
+
icon: {
|
|
47
|
+
type: import("vue").PropType<string>;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
side: {
|
|
51
|
+
type: import("vue").PropType<FabSide>;
|
|
52
|
+
default: FabSide;
|
|
53
|
+
};
|
|
54
|
+
offsetBottom: {
|
|
55
|
+
type: NumberConstructor;
|
|
56
|
+
default: number;
|
|
57
|
+
};
|
|
58
|
+
draggable: {
|
|
59
|
+
type: BooleanConstructor;
|
|
60
|
+
default: true;
|
|
61
|
+
};
|
|
62
|
+
badge: (NumberConstructor | StringConstructor)[];
|
|
63
|
+
}>> & {
|
|
64
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
65
|
+
onPositionChange?: ((...args: any[]) => any) | undefined;
|
|
66
|
+
}, {
|
|
67
|
+
icon: string;
|
|
68
|
+
side: FabSide;
|
|
69
|
+
offsetBottom: number;
|
|
70
|
+
draggable: boolean;
|
|
71
|
+
}>;
|
|
72
|
+
export default _default;
|
|
@@ -0,0 +1,171 @@
|
|
|
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
|
+
botFabProps: () => botFabProps,
|
|
21
|
+
default: () => stdin_default
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(stdin_exports);
|
|
24
|
+
var import_vue = require("vue");
|
|
25
|
+
var import_utils = require("../utils");
|
|
26
|
+
var import_icon = require("../icon");
|
|
27
|
+
var import_fab_position = require("./fab-position");
|
|
28
|
+
const [name, bem] = (0, import_utils.createNamespace)("bot-mobile-fab");
|
|
29
|
+
const FAB_SIZE = 56;
|
|
30
|
+
const botFabProps = {
|
|
31
|
+
icon: (0, import_utils.makeStringProp)("chat-o"),
|
|
32
|
+
side: (0, import_utils.makeStringProp)("right"),
|
|
33
|
+
offsetBottom: (0, import_utils.makeNumberProp)(80),
|
|
34
|
+
draggable: import_utils.truthProp,
|
|
35
|
+
badge: import_utils.numericProp
|
|
36
|
+
};
|
|
37
|
+
function getSafeAreaInsetBottom() {
|
|
38
|
+
if (typeof document === "undefined") {
|
|
39
|
+
return 0;
|
|
40
|
+
}
|
|
41
|
+
const probe = document.createElement("div");
|
|
42
|
+
probe.style.position = "fixed";
|
|
43
|
+
probe.style.left = "0";
|
|
44
|
+
probe.style.bottom = "0";
|
|
45
|
+
probe.style.height = "0";
|
|
46
|
+
probe.style.paddingBottom = "env(safe-area-inset-bottom)";
|
|
47
|
+
probe.style.visibility = "hidden";
|
|
48
|
+
probe.style.pointerEvents = "none";
|
|
49
|
+
document.body.appendChild(probe);
|
|
50
|
+
const value = parseFloat(getComputedStyle(probe).paddingBottom) || 0;
|
|
51
|
+
document.body.removeChild(probe);
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
var stdin_default = (0, import_vue.defineComponent)({
|
|
55
|
+
name,
|
|
56
|
+
props: botFabProps,
|
|
57
|
+
emits: ["click", "positionChange"],
|
|
58
|
+
setup(props, {
|
|
59
|
+
emit
|
|
60
|
+
}) {
|
|
61
|
+
const side = (0, import_vue.ref)(props.side);
|
|
62
|
+
const dragging = (0, import_vue.ref)(false);
|
|
63
|
+
const dragLeft = (0, import_vue.ref)(null);
|
|
64
|
+
const top = (0, import_vue.ref)(typeof window === "undefined" ? 0 : window.innerHeight - FAB_SIZE - props.offsetBottom);
|
|
65
|
+
let safeAreaBottom = 0;
|
|
66
|
+
let pressing = false;
|
|
67
|
+
let moved = false;
|
|
68
|
+
let startX = 0;
|
|
69
|
+
let startY = 0;
|
|
70
|
+
let startTop = 0;
|
|
71
|
+
let startLeft = 0;
|
|
72
|
+
let elWidth = FAB_SIZE;
|
|
73
|
+
let elHeight = FAB_SIZE;
|
|
74
|
+
(0, import_vue.onMounted)(() => {
|
|
75
|
+
safeAreaBottom = getSafeAreaInsetBottom();
|
|
76
|
+
});
|
|
77
|
+
const onPointerDown = (event) => {
|
|
78
|
+
if (event.button !== 0) {
|
|
79
|
+
return;
|
|
80
|
+
}
|
|
81
|
+
const el = event.currentTarget;
|
|
82
|
+
try {
|
|
83
|
+
el.setPointerCapture(event.pointerId);
|
|
84
|
+
} catch (e) {
|
|
85
|
+
}
|
|
86
|
+
const rect = el.getBoundingClientRect();
|
|
87
|
+
pressing = true;
|
|
88
|
+
moved = false;
|
|
89
|
+
startX = event.clientX;
|
|
90
|
+
startY = event.clientY;
|
|
91
|
+
startTop = rect.top;
|
|
92
|
+
startLeft = rect.left;
|
|
93
|
+
elWidth = rect.width || FAB_SIZE;
|
|
94
|
+
elHeight = rect.height || FAB_SIZE;
|
|
95
|
+
if (props.draggable) {
|
|
96
|
+
top.value = startTop;
|
|
97
|
+
dragLeft.value = startLeft;
|
|
98
|
+
dragging.value = true;
|
|
99
|
+
}
|
|
100
|
+
};
|
|
101
|
+
const onPointerMove = (event) => {
|
|
102
|
+
if (!pressing || !props.draggable) {
|
|
103
|
+
return;
|
|
104
|
+
}
|
|
105
|
+
const dx = event.clientX - startX;
|
|
106
|
+
const dy = event.clientY - startY;
|
|
107
|
+
if (!(0, import_fab_position.isTapNotDrag)(dx, dy)) {
|
|
108
|
+
moved = true;
|
|
109
|
+
}
|
|
110
|
+
const maxLeft = Math.max(0, window.innerWidth - elWidth);
|
|
111
|
+
const maxTop = Math.max(0, window.innerHeight - elHeight - safeAreaBottom);
|
|
112
|
+
dragLeft.value = (0, import_utils.clamp)(startLeft + dx, 0, maxLeft);
|
|
113
|
+
top.value = (0, import_utils.clamp)(startTop + dy, 0, maxTop);
|
|
114
|
+
};
|
|
115
|
+
const finishGesture = (dx, dy, cancelled) => {
|
|
116
|
+
var _a;
|
|
117
|
+
if (!pressing) {
|
|
118
|
+
return;
|
|
119
|
+
}
|
|
120
|
+
pressing = false;
|
|
121
|
+
if (props.draggable) {
|
|
122
|
+
dragging.value = false;
|
|
123
|
+
const currentLeft = (_a = dragLeft.value) != null ? _a : startLeft;
|
|
124
|
+
const nextSide = (0, import_fab_position.resolveSnapSide)(currentLeft + elWidth / 2, window.innerWidth);
|
|
125
|
+
side.value = nextSide;
|
|
126
|
+
dragLeft.value = null;
|
|
127
|
+
emit("positionChange", {
|
|
128
|
+
side: nextSide,
|
|
129
|
+
top: top.value
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
if (!cancelled && !moved && (0, import_fab_position.isTapNotDrag)(dx, dy)) {
|
|
133
|
+
emit("click");
|
|
134
|
+
}
|
|
135
|
+
};
|
|
136
|
+
const onPointerUp = (event) => {
|
|
137
|
+
finishGesture(event.clientX - startX, event.clientY - startY, false);
|
|
138
|
+
};
|
|
139
|
+
const onPointerCancel = () => {
|
|
140
|
+
finishGesture(0, 0, true);
|
|
141
|
+
};
|
|
142
|
+
const fabStyle = (0, import_vue.computed)(() => {
|
|
143
|
+
const style = {
|
|
144
|
+
top: `${top.value}px`
|
|
145
|
+
};
|
|
146
|
+
if (dragging.value && dragLeft.value !== null) {
|
|
147
|
+
style.left = `${dragLeft.value}px`;
|
|
148
|
+
} else {
|
|
149
|
+
style[side.value] = "0px";
|
|
150
|
+
}
|
|
151
|
+
return style;
|
|
152
|
+
});
|
|
153
|
+
return () => (0, import_vue.createVNode)("div", {
|
|
154
|
+
"class": bem({
|
|
155
|
+
dragging: dragging.value
|
|
156
|
+
}),
|
|
157
|
+
"style": fabStyle.value,
|
|
158
|
+
"role": "button",
|
|
159
|
+
"tabindex": 0,
|
|
160
|
+
"onPointerdown": onPointerDown,
|
|
161
|
+
"onPointermove": onPointerMove,
|
|
162
|
+
"onPointerup": onPointerUp,
|
|
163
|
+
"onPointercancel": onPointerCancel
|
|
164
|
+
}, [(0, import_vue.createVNode)(import_icon.Icon, {
|
|
165
|
+
"class": bem("icon"),
|
|
166
|
+
"name": props.icon,
|
|
167
|
+
"size": 24,
|
|
168
|
+
"badge": props.badge
|
|
169
|
+
}, null)]);
|
|
170
|
+
}
|
|
171
|
+
});
|