persagy-vant 0.0.26 → 0.0.28
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/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/label/Label.d.ts +92 -0
- package/es/label/Label.mjs +95 -0
- package/es/label/index.css +1 -0
- package/es/label/index.d.ts +64 -0
- package/es/label/index.less +113 -0
- package/es/label/index.mjs +8 -0
- package/es/label/style/index.mjs +6 -0
- package/es/label/style/less.mjs +6 -0
- package/es/label/var.css +0 -0
- package/es/label/var.less +11 -0
- package/es/material-add/MaterialAdd.d.ts +104 -0
- package/es/material-add/MaterialAdd.mjs +63 -23
- package/es/material-add/index.d.ts +72 -0
- package/es/radio-panel/RadioPanel.d.ts +46 -1
- package/es/radio-panel/RadioPanel.mjs +115 -29
- package/es/radio-panel/index.css +1 -1
- package/es/radio-panel/index.d.ts +35 -1
- package/es/radio-panel/index.less +17 -0
- package/es/radio-panel/style/index.mjs +4 -0
- package/es/radio-panel/style/less.mjs +4 -0
- package/es/tabs/TabsTitle.mjs +1 -0
- package/es/tabs/index.css +1 -1
- package/es/tabs/index.less +11 -0
- package/es/tag/Tag.d.ts +1 -1
- package/es/tag/index.css +1 -1
- package/es/tag/index.less +7 -0
- package/es/tag/var.less +3 -0
- 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 +2 -1
- package/lib/label/Label.d.ts +92 -0
- package/lib/label/Label.js +114 -0
- package/lib/label/index.css +1 -0
- package/lib/label/index.d.ts +64 -0
- package/lib/label/index.js +37 -0
- package/lib/label/index.less +113 -0
- package/lib/label/style/index.js +6 -0
- package/lib/label/style/less.js +6 -0
- package/lib/label/var.css +0 -0
- package/lib/label/var.less +11 -0
- package/lib/material-add/MaterialAdd.d.ts +104 -0
- package/lib/material-add/MaterialAdd.js +63 -23
- package/lib/material-add/index.d.ts +72 -0
- package/lib/radio-panel/RadioPanel.d.ts +46 -1
- package/lib/radio-panel/RadioPanel.js +114 -28
- package/lib/radio-panel/index.css +1 -1
- package/lib/radio-panel/index.d.ts +35 -1
- package/lib/radio-panel/index.less +17 -0
- package/lib/radio-panel/style/index.js +4 -0
- package/lib/radio-panel/style/less.js +4 -0
- package/lib/tabs/TabsTitle.js +1 -0
- package/lib/tabs/index.css +1 -1
- package/lib/tabs/index.less +11 -0
- package/lib/tag/Tag.d.ts +1 -1
- package/lib/tag/index.css +1 -1
- package/lib/tag/index.less +7 -0
- package/lib/tag/var.less +3 -0
- package/lib/vant.cjs.js +998 -785
- package/lib/vant.es.js +998 -785
- package/lib/vant.js +998 -785
- package/lib/vant.min.js +1 -1
- package/lib/web-types.json +1 -1
- package/package.json +4 -4
- 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-bar-button/style/index.d.ts +0 -1
- package/es/action-bar-button/style/less.d.ts +0 -1
- package/es/action-bar-icon/style/index.d.ts +0 -1
- package/es/action-bar-icon/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
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
@import './var.less';
|
|
2
|
+
|
|
3
|
+
:root {
|
|
4
|
+
--van-label-font-size: @label-font-size;
|
|
5
|
+
--van-label-line-height: @label-line-height;
|
|
6
|
+
--van-label-label-color: @label-label-color;
|
|
7
|
+
--van-label-value-color: @label-value-color;
|
|
8
|
+
--van-label-bold-color: @label-bold-color;
|
|
9
|
+
--van-label-link-color: @label-link-color;
|
|
10
|
+
--van-label-gap: @label-gap;
|
|
11
|
+
--van-label-tags-gap: @label-tags-gap;
|
|
12
|
+
--van-label-media-gap: @label-media-gap;
|
|
13
|
+
--van-label-media-size: @label-media-size;
|
|
14
|
+
--van-label-media-radius: @label-media-radius;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.van-label {
|
|
18
|
+
display: flex;
|
|
19
|
+
align-items: flex-start;
|
|
20
|
+
gap: var(--van-label-gap);
|
|
21
|
+
color: var(--van-label-value-color);
|
|
22
|
+
font-size: var(--van-label-font-size);
|
|
23
|
+
line-height: var(--van-label-line-height);
|
|
24
|
+
|
|
25
|
+
&--vertical {
|
|
26
|
+
flex-direction: column;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&__label {
|
|
30
|
+
flex: none;
|
|
31
|
+
color: var(--van-label-label-color);
|
|
32
|
+
white-space: nowrap;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&__value {
|
|
36
|
+
flex: 1;
|
|
37
|
+
min-width: 0;
|
|
38
|
+
color: inherit;
|
|
39
|
+
overflow-wrap: anywhere;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&__text {
|
|
43
|
+
display: block;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&--bold .van-label__value {
|
|
47
|
+
color: var(--van-label-bold-color);
|
|
48
|
+
font-weight: var(--van-font-weight-bold);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&__link {
|
|
52
|
+
display: inline;
|
|
53
|
+
padding: 0;
|
|
54
|
+
color: var(--van-label-link-color);
|
|
55
|
+
font: inherit;
|
|
56
|
+
font-weight: var(--van-font-weight-bold);
|
|
57
|
+
text-decoration: none;
|
|
58
|
+
background: transparent;
|
|
59
|
+
border: 0;
|
|
60
|
+
cursor: pointer;
|
|
61
|
+
transition: opacity var(--van-animation-duration-fast);
|
|
62
|
+
|
|
63
|
+
&:active {
|
|
64
|
+
opacity: var(--van-active-opacity);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&__tags,
|
|
69
|
+
&__media {
|
|
70
|
+
display: flex;
|
|
71
|
+
flex-wrap: wrap;
|
|
72
|
+
align-items: flex-start;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&__tags {
|
|
76
|
+
gap: var(--van-label-tags-gap);
|
|
77
|
+
min-height: var(--van-label-line-height);
|
|
78
|
+
align-items: center;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&__media {
|
|
82
|
+
gap: var(--van-label-media-gap);
|
|
83
|
+
width: 100%;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
&__media-item {
|
|
87
|
+
position: relative;
|
|
88
|
+
flex: none;
|
|
89
|
+
width: var(--van-label-media-size);
|
|
90
|
+
height: var(--van-label-media-size);
|
|
91
|
+
padding: 0;
|
|
92
|
+
overflow: hidden;
|
|
93
|
+
background: transparent;
|
|
94
|
+
border: 0;
|
|
95
|
+
border-radius: var(--van-label-media-radius);
|
|
96
|
+
cursor: pointer;
|
|
97
|
+
transition: opacity var(--van-animation-duration-fast);
|
|
98
|
+
|
|
99
|
+
&:active {
|
|
100
|
+
opacity: var(--van-active-opacity);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
&__play {
|
|
105
|
+
position: absolute;
|
|
106
|
+
top: 50%;
|
|
107
|
+
left: 50%;
|
|
108
|
+
color: var(--van-white);
|
|
109
|
+
font-size: 24px;
|
|
110
|
+
transform: translate(-50%, -50%);
|
|
111
|
+
text-shadow: 0 1px 2px rgb(0 0 0 / 45%);
|
|
112
|
+
}
|
|
113
|
+
}
|
package/es/label/var.css
ADDED
|
File without changes
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
@label-font-size: var(--van-font-size-md);
|
|
2
|
+
@label-line-height: var(--van-line-height-lg);
|
|
3
|
+
@label-label-color: var(--van-gray-7);
|
|
4
|
+
@label-value-color: var(--van-black);
|
|
5
|
+
@label-bold-color: var(--van-gray-8);
|
|
6
|
+
@label-link-color: var(--van-primary-color);
|
|
7
|
+
@label-gap: 2px;
|
|
8
|
+
@label-tags-gap: 4px;
|
|
9
|
+
@label-media-gap: 6px;
|
|
10
|
+
@label-media-size: 64px;
|
|
11
|
+
@label-media-radius: 4px;
|
|
@@ -22,6 +22,38 @@ declare const materialAddProps: {
|
|
|
22
22
|
type: PropType<string>;
|
|
23
23
|
default: string;
|
|
24
24
|
};
|
|
25
|
+
showCommonTab: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
showAllTab: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
showMaterialTab: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
showToolTab: {
|
|
38
|
+
type: BooleanConstructor;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
41
|
+
commonTabText: {
|
|
42
|
+
type: PropType<string>;
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
allTabText: {
|
|
46
|
+
type: PropType<string>;
|
|
47
|
+
default: string;
|
|
48
|
+
};
|
|
49
|
+
materialTabText: {
|
|
50
|
+
type: PropType<string>;
|
|
51
|
+
default: string;
|
|
52
|
+
};
|
|
53
|
+
toolTabText: {
|
|
54
|
+
type: PropType<string>;
|
|
55
|
+
default: string;
|
|
56
|
+
};
|
|
25
57
|
};
|
|
26
58
|
export declare type MaterialAddProps = ExtractPropTypes<typeof materialAddProps>;
|
|
27
59
|
declare const _default: import("vue").DefineComponent<{
|
|
@@ -46,6 +78,38 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
46
78
|
type: PropType<string>;
|
|
47
79
|
default: string;
|
|
48
80
|
};
|
|
81
|
+
showCommonTab: {
|
|
82
|
+
type: BooleanConstructor;
|
|
83
|
+
default: boolean;
|
|
84
|
+
};
|
|
85
|
+
showAllTab: {
|
|
86
|
+
type: BooleanConstructor;
|
|
87
|
+
default: boolean;
|
|
88
|
+
};
|
|
89
|
+
showMaterialTab: {
|
|
90
|
+
type: BooleanConstructor;
|
|
91
|
+
default: boolean;
|
|
92
|
+
};
|
|
93
|
+
showToolTab: {
|
|
94
|
+
type: BooleanConstructor;
|
|
95
|
+
default: boolean;
|
|
96
|
+
};
|
|
97
|
+
commonTabText: {
|
|
98
|
+
type: PropType<string>;
|
|
99
|
+
default: string;
|
|
100
|
+
};
|
|
101
|
+
allTabText: {
|
|
102
|
+
type: PropType<string>;
|
|
103
|
+
default: string;
|
|
104
|
+
};
|
|
105
|
+
materialTabText: {
|
|
106
|
+
type: PropType<string>;
|
|
107
|
+
default: string;
|
|
108
|
+
};
|
|
109
|
+
toolTabText: {
|
|
110
|
+
type: PropType<string>;
|
|
111
|
+
default: string;
|
|
112
|
+
};
|
|
49
113
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue" | "update:show" | "confirm")[], "change" | "update:modelValue" | "update:show" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
50
114
|
show: BooleanConstructor;
|
|
51
115
|
modelValue: {
|
|
@@ -68,6 +132,38 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
68
132
|
type: PropType<string>;
|
|
69
133
|
default: string;
|
|
70
134
|
};
|
|
135
|
+
showCommonTab: {
|
|
136
|
+
type: BooleanConstructor;
|
|
137
|
+
default: boolean;
|
|
138
|
+
};
|
|
139
|
+
showAllTab: {
|
|
140
|
+
type: BooleanConstructor;
|
|
141
|
+
default: boolean;
|
|
142
|
+
};
|
|
143
|
+
showMaterialTab: {
|
|
144
|
+
type: BooleanConstructor;
|
|
145
|
+
default: boolean;
|
|
146
|
+
};
|
|
147
|
+
showToolTab: {
|
|
148
|
+
type: BooleanConstructor;
|
|
149
|
+
default: boolean;
|
|
150
|
+
};
|
|
151
|
+
commonTabText: {
|
|
152
|
+
type: PropType<string>;
|
|
153
|
+
default: string;
|
|
154
|
+
};
|
|
155
|
+
allTabText: {
|
|
156
|
+
type: PropType<string>;
|
|
157
|
+
default: string;
|
|
158
|
+
};
|
|
159
|
+
materialTabText: {
|
|
160
|
+
type: PropType<string>;
|
|
161
|
+
default: string;
|
|
162
|
+
};
|
|
163
|
+
toolTabText: {
|
|
164
|
+
type: PropType<string>;
|
|
165
|
+
default: string;
|
|
166
|
+
};
|
|
71
167
|
}>> & {
|
|
72
168
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
73
169
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
@@ -80,5 +176,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
80
176
|
confirmText: string;
|
|
81
177
|
items: MaterialAddItem[];
|
|
82
178
|
categories: MaterialAddCategory[];
|
|
179
|
+
showCommonTab: boolean;
|
|
180
|
+
showAllTab: boolean;
|
|
181
|
+
showMaterialTab: boolean;
|
|
182
|
+
showToolTab: boolean;
|
|
183
|
+
commonTabText: string;
|
|
184
|
+
allTabText: string;
|
|
185
|
+
materialTabText: string;
|
|
186
|
+
toolTabText: string;
|
|
83
187
|
}>;
|
|
84
188
|
export default _default;
|
|
@@ -265,7 +265,27 @@ const materialAddProps = {
|
|
|
265
265
|
default: () => defaultCategories
|
|
266
266
|
},
|
|
267
267
|
title: makeStringProp("\u6DFB\u52A0\u7269\u6599"),
|
|
268
|
-
confirmText: makeStringProp("\u786E\u5B9A")
|
|
268
|
+
confirmText: makeStringProp("\u786E\u5B9A"),
|
|
269
|
+
showCommonTab: {
|
|
270
|
+
type: Boolean,
|
|
271
|
+
default: true
|
|
272
|
+
},
|
|
273
|
+
showAllTab: {
|
|
274
|
+
type: Boolean,
|
|
275
|
+
default: true
|
|
276
|
+
},
|
|
277
|
+
showMaterialTab: {
|
|
278
|
+
type: Boolean,
|
|
279
|
+
default: true
|
|
280
|
+
},
|
|
281
|
+
showToolTab: {
|
|
282
|
+
type: Boolean,
|
|
283
|
+
default: true
|
|
284
|
+
},
|
|
285
|
+
commonTabText: makeStringProp("\u5E38\u7528\u7269\u6599"),
|
|
286
|
+
allTabText: makeStringProp("\u5168\u90E8\u7269\u6599"),
|
|
287
|
+
materialTabText: makeStringProp("\u7269\u8D44"),
|
|
288
|
+
toolTabText: makeStringProp("\u5DE5\u5177")
|
|
269
289
|
};
|
|
270
290
|
var stdin_default = defineComponent({
|
|
271
291
|
name,
|
|
@@ -274,8 +294,16 @@ var stdin_default = defineComponent({
|
|
|
274
294
|
setup(props, {
|
|
275
295
|
emit
|
|
276
296
|
}) {
|
|
277
|
-
const
|
|
278
|
-
const
|
|
297
|
+
const getDefaultTab = () => props.showCommonTab || !props.showAllTab ? "common" : "all";
|
|
298
|
+
const getDefaultKind = () => {
|
|
299
|
+
if (props.showMaterialTab || !props.showToolTab)
|
|
300
|
+
return "material";
|
|
301
|
+
if (props.showToolTab)
|
|
302
|
+
return "tool";
|
|
303
|
+
return void 0;
|
|
304
|
+
};
|
|
305
|
+
const activeTab = ref(getDefaultTab());
|
|
306
|
+
const activeKind = ref(getDefaultKind());
|
|
279
307
|
const keyword = ref("");
|
|
280
308
|
const searching = ref(false);
|
|
281
309
|
const expandedKeys = ref(["material-root", "tool-root"]);
|
|
@@ -287,8 +315,8 @@ var stdin_default = defineComponent({
|
|
|
287
315
|
const detailBannerIndex = ref(0);
|
|
288
316
|
watch(() => props.show, (show) => {
|
|
289
317
|
if (show) {
|
|
290
|
-
activeTab.value =
|
|
291
|
-
activeKind.value =
|
|
318
|
+
activeTab.value = getDefaultTab();
|
|
319
|
+
activeKind.value = getDefaultKind();
|
|
292
320
|
keyword.value = "";
|
|
293
321
|
searching.value = false;
|
|
294
322
|
expandedKeys.value = ["material-root", "tool-root"];
|
|
@@ -302,6 +330,16 @@ var stdin_default = defineComponent({
|
|
|
302
330
|
}, {
|
|
303
331
|
immediate: true
|
|
304
332
|
});
|
|
333
|
+
watch(() => [props.showCommonTab, props.showAllTab], () => {
|
|
334
|
+
if (activeTab.value === "common" && !props.showCommonTab || activeTab.value === "all" && !props.showAllTab) {
|
|
335
|
+
activeTab.value = getDefaultTab();
|
|
336
|
+
}
|
|
337
|
+
});
|
|
338
|
+
watch(() => [props.showMaterialTab, props.showToolTab], () => {
|
|
339
|
+
if (activeKind.value === "material" && !props.showMaterialTab || activeKind.value === "tool" && !props.showToolTab) {
|
|
340
|
+
activeKind.value = getDefaultKind();
|
|
341
|
+
}
|
|
342
|
+
});
|
|
305
343
|
const quantities = computed(() => props.items.map((_, index) => Math.max(Number(props.modelValue[index] || 0), 0)));
|
|
306
344
|
const total = computed(() => quantities.value.reduce((sum, value) => sum + value, 0));
|
|
307
345
|
const selectedItems = computed(() => props.items.map((item, index) => ({
|
|
@@ -314,8 +352,8 @@ var stdin_default = defineComponent({
|
|
|
314
352
|
const visibleItems = computed(() => {
|
|
315
353
|
const query = keyword.value.trim().toLowerCase();
|
|
316
354
|
return props.items.filter((item) => {
|
|
317
|
-
const matchesKind = searching.value || item.kind === activeKind.value;
|
|
318
|
-
const matchesCategory = searching.value || activeTab.value ===
|
|
355
|
+
const matchesKind = searching.value || !activeKind.value || item.kind === activeKind.value;
|
|
356
|
+
const matchesCategory = searching.value || activeTab.value === "common";
|
|
319
357
|
const matchesSearch = !query || `${item.name}${item.detail}`.toLowerCase().includes(query);
|
|
320
358
|
return matchesKind && matchesCategory && matchesSearch;
|
|
321
359
|
});
|
|
@@ -356,13 +394,13 @@ var stdin_default = defineComponent({
|
|
|
356
394
|
"class": bem("empty")
|
|
357
395
|
}, [_createTextVNode("\u6682\u65E0\u5339\u914D\u7269\u6599")])]);
|
|
358
396
|
const renderCatalog = () => {
|
|
359
|
-
const rootGroups = props.categories.filter((category) => category.kind === activeKind.value);
|
|
397
|
+
const rootGroups = props.categories.filter((category) => !activeKind.value || category.kind === activeKind.value);
|
|
360
398
|
const configuredValues = new Set(rootGroups.flatMap((group) => group.categories.map((category) => category.value)));
|
|
361
|
-
const ungroupedCategories = [...new Set(props.items.filter((item) => item.kind === activeKind.value && !configuredValues.has(item.category)).map((item) => item.category))];
|
|
399
|
+
const ungroupedCategories = [...new Set(props.items.filter((item) => (!activeKind.value || item.kind === activeKind.value) && !configuredValues.has(item.category)).map((item) => item.category))];
|
|
362
400
|
const groups = ungroupedCategories.length ? [...rootGroups, {
|
|
363
|
-
id: `${activeKind.value}-other`,
|
|
401
|
+
id: `${activeKind.value || "all"}-other`,
|
|
364
402
|
text: "\u672A\u5206\u7C7B",
|
|
365
|
-
kind: activeKind.value,
|
|
403
|
+
kind: activeKind.value || "material",
|
|
366
404
|
categories: ungroupedCategories.map((value) => ({
|
|
367
405
|
value,
|
|
368
406
|
text: value
|
|
@@ -372,7 +410,7 @@ var stdin_default = defineComponent({
|
|
|
372
410
|
id: root.id,
|
|
373
411
|
text: root.text,
|
|
374
412
|
selectable: false,
|
|
375
|
-
children: props.items.filter((item) => item.kind === activeKind.value && root.categories.some((category) => category.value === item.category)).map((material) => ({
|
|
413
|
+
children: props.items.filter((item) => (!activeKind.value || item.kind === activeKind.value) && root.categories.some((category) => category.value === item.category)).map((material) => ({
|
|
376
414
|
id: material.id,
|
|
377
415
|
text: material.name,
|
|
378
416
|
selectable: false,
|
|
@@ -563,36 +601,38 @@ var stdin_default = defineComponent({
|
|
|
563
601
|
searching.value = true;
|
|
564
602
|
}
|
|
565
603
|
}, null)
|
|
566
|
-
}), _createVNode(Tabs, {
|
|
604
|
+
}), (props.showCommonTab || props.showAllTab) && _createVNode(Tabs, {
|
|
567
605
|
"active": activeTab.value,
|
|
568
606
|
"onUpdate:active": ($event) => activeTab.value = $event,
|
|
569
607
|
"class": bem("tabs"),
|
|
570
608
|
"shrink": true
|
|
571
609
|
}, {
|
|
572
|
-
default: () => [_createVNode(Tab, {
|
|
573
|
-
"
|
|
574
|
-
|
|
575
|
-
|
|
610
|
+
default: () => [props.showCommonTab && _createVNode(Tab, {
|
|
611
|
+
"name": "common",
|
|
612
|
+
"title": props.commonTabText
|
|
613
|
+
}, null), props.showAllTab && _createVNode(Tab, {
|
|
614
|
+
"name": "all",
|
|
615
|
+
"title": props.allTabText
|
|
576
616
|
}, null)]
|
|
577
|
-
}), _createVNode("div", {
|
|
617
|
+
}), (props.showMaterialTab || props.showToolTab) && _createVNode("div", {
|
|
578
618
|
"class": bem("filter-tags")
|
|
579
|
-
}, [_createVNode(FilterTag, {
|
|
619
|
+
}, [props.showMaterialTab && _createVNode(FilterTag, {
|
|
580
620
|
"selected": activeKind.value === "material",
|
|
581
621
|
"onClick": () => {
|
|
582
622
|
activeKind.value = "material";
|
|
583
623
|
}
|
|
584
624
|
}, {
|
|
585
|
-
default: () => [
|
|
586
|
-
}), _createVNode(FilterTag, {
|
|
625
|
+
default: () => [props.materialTabText]
|
|
626
|
+
}), props.showToolTab && _createVNode(FilterTag, {
|
|
587
627
|
"selected": activeKind.value === "tool",
|
|
588
628
|
"onClick": () => {
|
|
589
629
|
activeKind.value = "tool";
|
|
590
630
|
}
|
|
591
631
|
}, {
|
|
592
|
-
default: () => [
|
|
632
|
+
default: () => [props.toolTabText]
|
|
593
633
|
})])]), _createVNode("div", {
|
|
594
634
|
"class": bem("body")
|
|
595
|
-
}, [searching.value && !keyword.value.trim() ? null : searching.value || activeTab.value ===
|
|
635
|
+
}, [searching.value && !keyword.value.trim() ? null : searching.value || activeTab.value === "common" ? renderList() : renderCatalog()]), _createVNode("div", {
|
|
596
636
|
"class": bem("footer")
|
|
597
637
|
}, [renderSelectPanel(), _createVNode(BottomActionBar, {
|
|
598
638
|
"fixed": false,
|
|
@@ -20,6 +20,38 @@ export declare const MaterialAdd: import("../utils").WithInstall<import("vue").D
|
|
|
20
20
|
type: import("vue").PropType<string>;
|
|
21
21
|
default: string;
|
|
22
22
|
};
|
|
23
|
+
showCommonTab: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
showAllTab: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
showMaterialTab: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
showToolTab: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
commonTabText: {
|
|
40
|
+
type: import("vue").PropType<string>;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
allTabText: {
|
|
44
|
+
type: import("vue").PropType<string>;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
materialTabText: {
|
|
48
|
+
type: import("vue").PropType<string>;
|
|
49
|
+
default: string;
|
|
50
|
+
};
|
|
51
|
+
toolTabText: {
|
|
52
|
+
type: import("vue").PropType<string>;
|
|
53
|
+
default: string;
|
|
54
|
+
};
|
|
23
55
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue" | "update:show" | "confirm")[], "change" | "update:modelValue" | "update:show" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
56
|
show: BooleanConstructor;
|
|
25
57
|
modelValue: {
|
|
@@ -42,6 +74,38 @@ export declare const MaterialAdd: import("../utils").WithInstall<import("vue").D
|
|
|
42
74
|
type: import("vue").PropType<string>;
|
|
43
75
|
default: string;
|
|
44
76
|
};
|
|
77
|
+
showCommonTab: {
|
|
78
|
+
type: BooleanConstructor;
|
|
79
|
+
default: boolean;
|
|
80
|
+
};
|
|
81
|
+
showAllTab: {
|
|
82
|
+
type: BooleanConstructor;
|
|
83
|
+
default: boolean;
|
|
84
|
+
};
|
|
85
|
+
showMaterialTab: {
|
|
86
|
+
type: BooleanConstructor;
|
|
87
|
+
default: boolean;
|
|
88
|
+
};
|
|
89
|
+
showToolTab: {
|
|
90
|
+
type: BooleanConstructor;
|
|
91
|
+
default: boolean;
|
|
92
|
+
};
|
|
93
|
+
commonTabText: {
|
|
94
|
+
type: import("vue").PropType<string>;
|
|
95
|
+
default: string;
|
|
96
|
+
};
|
|
97
|
+
allTabText: {
|
|
98
|
+
type: import("vue").PropType<string>;
|
|
99
|
+
default: string;
|
|
100
|
+
};
|
|
101
|
+
materialTabText: {
|
|
102
|
+
type: import("vue").PropType<string>;
|
|
103
|
+
default: string;
|
|
104
|
+
};
|
|
105
|
+
toolTabText: {
|
|
106
|
+
type: import("vue").PropType<string>;
|
|
107
|
+
default: string;
|
|
108
|
+
};
|
|
45
109
|
}>> & {
|
|
46
110
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
47
111
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
@@ -54,6 +118,14 @@ export declare const MaterialAdd: import("../utils").WithInstall<import("vue").D
|
|
|
54
118
|
confirmText: string;
|
|
55
119
|
items: import("./types").MaterialAddItem[];
|
|
56
120
|
categories: import("./types").MaterialAddCategory[];
|
|
121
|
+
showCommonTab: boolean;
|
|
122
|
+
showAllTab: boolean;
|
|
123
|
+
showMaterialTab: boolean;
|
|
124
|
+
showToolTab: boolean;
|
|
125
|
+
commonTabText: string;
|
|
126
|
+
allTabText: string;
|
|
127
|
+
materialTabText: string;
|
|
128
|
+
toolTabText: string;
|
|
57
129
|
}>>;
|
|
58
130
|
export default MaterialAdd;
|
|
59
131
|
export type { MaterialAddProps } from './MaterialAdd';
|
|
@@ -12,6 +12,17 @@ declare const radioPanelProps: {
|
|
|
12
12
|
default: () => never[];
|
|
13
13
|
};
|
|
14
14
|
modelValue: PropType<string>;
|
|
15
|
+
searchable: BooleanConstructor;
|
|
16
|
+
searchPlaceholder: StringConstructor;
|
|
17
|
+
filterable: BooleanConstructor;
|
|
18
|
+
filterActive: BooleanConstructor;
|
|
19
|
+
loading: BooleanConstructor;
|
|
20
|
+
finished: BooleanConstructor;
|
|
21
|
+
error: BooleanConstructor;
|
|
22
|
+
lazy: BooleanConstructor;
|
|
23
|
+
loadingText: StringConstructor;
|
|
24
|
+
finishedText: StringConstructor;
|
|
25
|
+
errorText: StringConstructor;
|
|
15
26
|
};
|
|
16
27
|
export declare type RadioPanelProps = ExtractPropTypes<typeof radioPanelProps>;
|
|
17
28
|
declare const _default: import("vue").DefineComponent<{
|
|
@@ -22,7 +33,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
22
33
|
default: () => never[];
|
|
23
34
|
};
|
|
24
35
|
modelValue: PropType<string>;
|
|
25
|
-
|
|
36
|
+
searchable: BooleanConstructor;
|
|
37
|
+
searchPlaceholder: StringConstructor;
|
|
38
|
+
filterable: BooleanConstructor;
|
|
39
|
+
filterActive: BooleanConstructor;
|
|
40
|
+
loading: BooleanConstructor;
|
|
41
|
+
finished: BooleanConstructor;
|
|
42
|
+
error: BooleanConstructor;
|
|
43
|
+
lazy: BooleanConstructor;
|
|
44
|
+
loadingText: StringConstructor;
|
|
45
|
+
finishedText: StringConstructor;
|
|
46
|
+
errorText: StringConstructor;
|
|
47
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "select" | "update:modelValue" | "load" | "update:show" | "filter" | "update:error" | "update:loading")[], "search" | "select" | "filter" | "update:modelValue" | "load" | "update:show" | "update:error" | "update:loading", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
26
48
|
show: BooleanConstructor;
|
|
27
49
|
title: StringConstructor;
|
|
28
50
|
options: {
|
|
@@ -30,12 +52,35 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
52
|
default: () => never[];
|
|
31
53
|
};
|
|
32
54
|
modelValue: PropType<string>;
|
|
55
|
+
searchable: BooleanConstructor;
|
|
56
|
+
searchPlaceholder: StringConstructor;
|
|
57
|
+
filterable: BooleanConstructor;
|
|
58
|
+
filterActive: BooleanConstructor;
|
|
59
|
+
loading: BooleanConstructor;
|
|
60
|
+
finished: BooleanConstructor;
|
|
61
|
+
error: BooleanConstructor;
|
|
62
|
+
lazy: BooleanConstructor;
|
|
63
|
+
loadingText: StringConstructor;
|
|
64
|
+
finishedText: StringConstructor;
|
|
65
|
+
errorText: StringConstructor;
|
|
33
66
|
}>> & {
|
|
67
|
+
onLoad?: ((...args: any[]) => any) | undefined;
|
|
34
68
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
35
69
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
36
70
|
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
|
71
|
+
"onUpdate:error"?: ((...args: any[]) => any) | undefined;
|
|
72
|
+
"onUpdate:loading"?: ((...args: any[]) => any) | undefined;
|
|
73
|
+
onSearch?: ((...args: any[]) => any) | undefined;
|
|
74
|
+
onFilter?: ((...args: any[]) => any) | undefined;
|
|
37
75
|
}, {
|
|
76
|
+
error: boolean;
|
|
77
|
+
loading: boolean;
|
|
38
78
|
show: boolean;
|
|
39
79
|
options: RadioPanelOption[];
|
|
80
|
+
finished: boolean;
|
|
81
|
+
searchable: boolean;
|
|
82
|
+
filterable: boolean;
|
|
83
|
+
filterActive: boolean;
|
|
84
|
+
lazy: boolean;
|
|
40
85
|
}>;
|
|
41
86
|
export default _default;
|