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
package/lib/index.d.ts
CHANGED
|
@@ -49,6 +49,7 @@ export * from "./image";
|
|
|
49
49
|
export * from "./image-preview";
|
|
50
50
|
export * from "./index-anchor";
|
|
51
51
|
export * from "./index-bar";
|
|
52
|
+
export * from "./label";
|
|
52
53
|
export * from "./lazyload";
|
|
53
54
|
export * from "./list";
|
|
54
55
|
export * from "./loading";
|
|
@@ -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.28";
|
package/lib/index.js
CHANGED
|
@@ -74,6 +74,7 @@ var import_image = require("./image");
|
|
|
74
74
|
var import_image_preview = require("./image-preview");
|
|
75
75
|
var import_index_anchor = require("./index-anchor");
|
|
76
76
|
var import_index_bar = require("./index-bar");
|
|
77
|
+
var import_label = require("./label");
|
|
77
78
|
var import_list = require("./list");
|
|
78
79
|
var import_loading = require("./loading");
|
|
79
80
|
var import_locale = require("./locale");
|
|
@@ -178,6 +179,7 @@ __reExport(stdin_exports, require("./image"), module.exports);
|
|
|
178
179
|
__reExport(stdin_exports, require("./image-preview"), module.exports);
|
|
179
180
|
__reExport(stdin_exports, require("./index-anchor"), module.exports);
|
|
180
181
|
__reExport(stdin_exports, require("./index-bar"), module.exports);
|
|
182
|
+
__reExport(stdin_exports, require("./label"), module.exports);
|
|
181
183
|
__reExport(stdin_exports, require("./lazyload"), module.exports);
|
|
182
184
|
__reExport(stdin_exports, require("./list"), module.exports);
|
|
183
185
|
__reExport(stdin_exports, require("./loading"), module.exports);
|
|
@@ -232,7 +234,7 @@ __reExport(stdin_exports, require("./uploader"), module.exports);
|
|
|
232
234
|
__reExport(stdin_exports, require("./video-preview"), module.exports);
|
|
233
235
|
__reExport(stdin_exports, require("./work-order-card"), module.exports);
|
|
234
236
|
__reExport(stdin_exports, require("./work-order-filter"), module.exports);
|
|
235
|
-
const version = "0.0.
|
|
237
|
+
const version = "0.0.28";
|
|
236
238
|
function install(app) {
|
|
237
239
|
const components = [
|
|
238
240
|
import_action_bar.ActionBar,
|
|
@@ -286,6 +288,7 @@ function install(app) {
|
|
|
286
288
|
import_image_preview.ImagePreview,
|
|
287
289
|
import_index_anchor.IndexAnchor,
|
|
288
290
|
import_index_bar.IndexBar,
|
|
291
|
+
import_label.Label,
|
|
289
292
|
import_list.List,
|
|
290
293
|
import_loading.Loading,
|
|
291
294
|
import_locale.Locale,
|
package/lib/index.less
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
@import "./filter-tag/index.less";
|
|
8
8
|
@import "./blue-mark/index.less";
|
|
9
9
|
@import "./tag/index.less";
|
|
10
|
+
@import "./label/index.less";
|
|
10
11
|
@import "./card/index.less";
|
|
11
12
|
@import "./action-bar-icon/index.less";
|
|
12
13
|
@import "./loading/index.less";
|
|
@@ -40,7 +41,6 @@
|
|
|
40
41
|
@import "./cell/index.less";
|
|
41
42
|
@import "./work-order-filter/index.less";
|
|
42
43
|
@import "./rate/index.less";
|
|
43
|
-
@import "./radio-panel/index.less";
|
|
44
44
|
@import "./quantity-input/index.less";
|
|
45
45
|
@import "./tree-select/index.less";
|
|
46
46
|
@import "./coupon-cell/index.less";
|
|
@@ -73,6 +73,7 @@
|
|
|
73
73
|
@import "./col/index.less";
|
|
74
74
|
@import "./count-down/index.less";
|
|
75
75
|
@import "./empty/index.less";
|
|
76
|
+
@import "./radio-panel/index.less";
|
|
76
77
|
@import "./coupon-list/index.less";
|
|
77
78
|
@import "./divider/index.less";
|
|
78
79
|
@import "./work-order-card/index.less";
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { type ExtractPropTypes, type PropType } from 'vue';
|
|
2
|
+
export declare type LabelType = 'default' | 'bold' | 'link' | 'tag' | 'media';
|
|
3
|
+
export declare type LabelMediaType = 'image' | 'video';
|
|
4
|
+
export declare type LabelMedia = {
|
|
5
|
+
url: string;
|
|
6
|
+
type?: LabelMediaType;
|
|
7
|
+
poster?: string;
|
|
8
|
+
alt?: string;
|
|
9
|
+
};
|
|
10
|
+
declare const labelProps: {
|
|
11
|
+
label: {
|
|
12
|
+
type: PropType<string>;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
content: {
|
|
16
|
+
type: PropType<string>;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
type: {
|
|
20
|
+
type: PropType<LabelType>;
|
|
21
|
+
default: LabelType;
|
|
22
|
+
};
|
|
23
|
+
vertical: BooleanConstructor;
|
|
24
|
+
href: StringConstructor;
|
|
25
|
+
tags: {
|
|
26
|
+
type: PropType<string[]>;
|
|
27
|
+
default: () => never[];
|
|
28
|
+
};
|
|
29
|
+
media: {
|
|
30
|
+
type: PropType<LabelMedia[]>;
|
|
31
|
+
default: () => never[];
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
export declare type LabelProps = ExtractPropTypes<typeof labelProps>;
|
|
35
|
+
declare const _default: import("vue").DefineComponent<{
|
|
36
|
+
label: {
|
|
37
|
+
type: PropType<string>;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
content: {
|
|
41
|
+
type: PropType<string>;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
44
|
+
type: {
|
|
45
|
+
type: PropType<LabelType>;
|
|
46
|
+
default: LabelType;
|
|
47
|
+
};
|
|
48
|
+
vertical: BooleanConstructor;
|
|
49
|
+
href: StringConstructor;
|
|
50
|
+
tags: {
|
|
51
|
+
type: PropType<string[]>;
|
|
52
|
+
default: () => never[];
|
|
53
|
+
};
|
|
54
|
+
media: {
|
|
55
|
+
type: PropType<LabelMedia[]>;
|
|
56
|
+
default: () => never[];
|
|
57
|
+
};
|
|
58
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "click-media")[], "click" | "click-media", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
59
|
+
label: {
|
|
60
|
+
type: PropType<string>;
|
|
61
|
+
default: string;
|
|
62
|
+
};
|
|
63
|
+
content: {
|
|
64
|
+
type: PropType<string>;
|
|
65
|
+
default: string;
|
|
66
|
+
};
|
|
67
|
+
type: {
|
|
68
|
+
type: PropType<LabelType>;
|
|
69
|
+
default: LabelType;
|
|
70
|
+
};
|
|
71
|
+
vertical: BooleanConstructor;
|
|
72
|
+
href: StringConstructor;
|
|
73
|
+
tags: {
|
|
74
|
+
type: PropType<string[]>;
|
|
75
|
+
default: () => never[];
|
|
76
|
+
};
|
|
77
|
+
media: {
|
|
78
|
+
type: PropType<LabelMedia[]>;
|
|
79
|
+
default: () => never[];
|
|
80
|
+
};
|
|
81
|
+
}>> & {
|
|
82
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
83
|
+
"onClick-media"?: ((...args: any[]) => any) | undefined;
|
|
84
|
+
}, {
|
|
85
|
+
type: LabelType;
|
|
86
|
+
label: string;
|
|
87
|
+
content: string;
|
|
88
|
+
tags: string[];
|
|
89
|
+
media: LabelMedia[];
|
|
90
|
+
vertical: boolean;
|
|
91
|
+
}>;
|
|
92
|
+
export default _default;
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name2 in all)
|
|
7
|
+
__defProp(target, name2, { get: all[name2], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var stdin_exports = {};
|
|
19
|
+
__export(stdin_exports, {
|
|
20
|
+
default: () => stdin_default
|
|
21
|
+
});
|
|
22
|
+
module.exports = __toCommonJS(stdin_exports);
|
|
23
|
+
var import_vue = require("vue");
|
|
24
|
+
var import_utils = require("../utils");
|
|
25
|
+
var import_image = require("../image");
|
|
26
|
+
var import_icon = require("../icon");
|
|
27
|
+
var import_tag = require("../tag");
|
|
28
|
+
const [name, bem] = (0, import_utils.createNamespace)("label");
|
|
29
|
+
const labelProps = {
|
|
30
|
+
label: (0, import_utils.makeStringProp)(""),
|
|
31
|
+
content: (0, import_utils.makeStringProp)(""),
|
|
32
|
+
type: (0, import_utils.makeStringProp)("default"),
|
|
33
|
+
vertical: Boolean,
|
|
34
|
+
href: String,
|
|
35
|
+
tags: {
|
|
36
|
+
type: Array,
|
|
37
|
+
default: () => []
|
|
38
|
+
},
|
|
39
|
+
media: {
|
|
40
|
+
type: Array,
|
|
41
|
+
default: () => []
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
var stdin_default = (0, import_vue.defineComponent)({
|
|
45
|
+
name,
|
|
46
|
+
props: labelProps,
|
|
47
|
+
emits: ["click", "click-media"],
|
|
48
|
+
setup(props, {
|
|
49
|
+
slots,
|
|
50
|
+
emit
|
|
51
|
+
}) {
|
|
52
|
+
const vertical = (0, import_vue.computed)(() => props.vertical || props.type === "media");
|
|
53
|
+
const renderText = () => {
|
|
54
|
+
var _a;
|
|
55
|
+
const content = ((_a = slots.default) == null ? void 0 : _a.call(slots)) || props.content;
|
|
56
|
+
if (props.type === "link") {
|
|
57
|
+
return props.href ? (0, import_vue.createVNode)("a", {
|
|
58
|
+
"class": bem("link"),
|
|
59
|
+
"href": props.href,
|
|
60
|
+
"onClick": (event) => emit("click", event)
|
|
61
|
+
}, [content]) : (0, import_vue.createVNode)("button", {
|
|
62
|
+
"class": bem("link"),
|
|
63
|
+
"type": "button",
|
|
64
|
+
"onClick": (event) => emit("click", event)
|
|
65
|
+
}, [content]);
|
|
66
|
+
}
|
|
67
|
+
return (0, import_vue.createVNode)("span", {
|
|
68
|
+
"class": bem("text")
|
|
69
|
+
}, [content]);
|
|
70
|
+
};
|
|
71
|
+
const renderTags = () => (0, import_vue.createVNode)("div", {
|
|
72
|
+
"class": bem("tags")
|
|
73
|
+
}, [props.tags.map((tag) => (0, import_vue.createVNode)(import_tag.Tag, {
|
|
74
|
+
"key": tag,
|
|
75
|
+
"type": "gray"
|
|
76
|
+
}, {
|
|
77
|
+
default: () => [tag]
|
|
78
|
+
}))]);
|
|
79
|
+
const renderMedia = () => (0, import_vue.createVNode)("div", {
|
|
80
|
+
"class": bem("media")
|
|
81
|
+
}, [props.media.map((item, index) => (0, import_vue.createVNode)("button", {
|
|
82
|
+
"key": `${item.url}-${index}`,
|
|
83
|
+
"class": bem("media-item"),
|
|
84
|
+
"type": "button",
|
|
85
|
+
"onClick": (event) => emit("click-media", item, index, event)
|
|
86
|
+
}, [(0, import_vue.createVNode)(import_image.Image, {
|
|
87
|
+
"src": item.type === "video" ? item.poster || item.url : item.url,
|
|
88
|
+
"alt": item.alt,
|
|
89
|
+
"width": "64",
|
|
90
|
+
"height": "64",
|
|
91
|
+
"radius": "4",
|
|
92
|
+
"fit": "cover"
|
|
93
|
+
}, null), item.type === "video" && (0, import_vue.createVNode)(import_icon.Icon, {
|
|
94
|
+
"name": "play-circle-o",
|
|
95
|
+
"class": bem("play")
|
|
96
|
+
}, null)]))]);
|
|
97
|
+
const renderContent = () => {
|
|
98
|
+
if (props.type === "tag")
|
|
99
|
+
return renderTags();
|
|
100
|
+
if (props.type === "media")
|
|
101
|
+
return renderMedia();
|
|
102
|
+
return renderText();
|
|
103
|
+
};
|
|
104
|
+
return () => (0, import_vue.createVNode)("div", {
|
|
105
|
+
"class": bem([props.type, {
|
|
106
|
+
vertical: vertical.value
|
|
107
|
+
}])
|
|
108
|
+
}, [(0, import_vue.createVNode)("span", {
|
|
109
|
+
"class": bem("label")
|
|
110
|
+
}, [props.label]), (0, import_vue.createVNode)("div", {
|
|
111
|
+
"class": bem("value")
|
|
112
|
+
}, [renderContent()])]);
|
|
113
|
+
}
|
|
114
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
:root{--van-label-font-size: var(--van-font-size-md);--van-label-line-height: var(--van-line-height-lg);--van-label-label-color: var(--van-gray-7);--van-label-value-color: var(--van-black);--van-label-bold-color: var(--van-gray-8);--van-label-link-color: var(--van-primary-color);--van-label-gap: 2px;--van-label-tags-gap: 4px;--van-label-media-gap: 6px;--van-label-media-size: 64px;--van-label-media-radius: 4px}.van-label{display:flex;align-items:flex-start;gap:var(--van-label-gap);color:var(--van-label-value-color);font-size:var(--van-label-font-size);line-height:var(--van-label-line-height)}.van-label--vertical{flex-direction:column}.van-label__label{flex:none;color:var(--van-label-label-color);white-space:nowrap}.van-label__value{flex:1;min-width:0;color:inherit;overflow-wrap:anywhere}.van-label__text{display:block}.van-label--bold .van-label__value{color:var(--van-label-bold-color);font-weight:var(--van-font-weight-bold)}.van-label__link{display:inline;padding:0;color:var(--van-label-link-color);font:inherit;font-weight:var(--van-font-weight-bold);text-decoration:none;background:transparent;border:0;cursor:pointer;transition:opacity var(--van-animation-duration-fast)}.van-label__link:active{opacity:var(--van-active-opacity)}.van-label__tags,.van-label__media{display:flex;flex-wrap:wrap;align-items:flex-start}.van-label__tags{gap:var(--van-label-tags-gap);min-height:var(--van-label-line-height);align-items:center}.van-label__media{gap:var(--van-label-media-gap);width:100%}.van-label__media-item{position:relative;flex:none;width:var(--van-label-media-size);height:var(--van-label-media-size);padding:0;overflow:hidden;background:transparent;border:0;border-radius:var(--van-label-media-radius);cursor:pointer;transition:opacity var(--van-animation-duration-fast)}.van-label__media-item:active{opacity:var(--van-active-opacity)}.van-label__play{position:absolute;top:50%;left:50%;color:var(--van-white);font-size:24px;transform:translate(-50%,-50%);text-shadow:0 1px 2px rgba(0,0,0,.45)}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
export declare const Label: import("../utils").WithInstall<import("vue").DefineComponent<{
|
|
2
|
+
label: {
|
|
3
|
+
type: import("vue").PropType<string>;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
content: {
|
|
7
|
+
type: import("vue").PropType<string>;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
type: {
|
|
11
|
+
type: import("vue").PropType<import("./Label").LabelType>;
|
|
12
|
+
default: import("./Label").LabelType;
|
|
13
|
+
};
|
|
14
|
+
vertical: BooleanConstructor;
|
|
15
|
+
href: StringConstructor;
|
|
16
|
+
tags: {
|
|
17
|
+
type: import("vue").PropType<string[]>;
|
|
18
|
+
default: () => never[];
|
|
19
|
+
};
|
|
20
|
+
media: {
|
|
21
|
+
type: import("vue").PropType<import("./Label").LabelMedia[]>;
|
|
22
|
+
default: () => never[];
|
|
23
|
+
};
|
|
24
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "click-media")[], "click" | "click-media", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
25
|
+
label: {
|
|
26
|
+
type: import("vue").PropType<string>;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
content: {
|
|
30
|
+
type: import("vue").PropType<string>;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
type: {
|
|
34
|
+
type: import("vue").PropType<import("./Label").LabelType>;
|
|
35
|
+
default: import("./Label").LabelType;
|
|
36
|
+
};
|
|
37
|
+
vertical: BooleanConstructor;
|
|
38
|
+
href: StringConstructor;
|
|
39
|
+
tags: {
|
|
40
|
+
type: import("vue").PropType<string[]>;
|
|
41
|
+
default: () => never[];
|
|
42
|
+
};
|
|
43
|
+
media: {
|
|
44
|
+
type: import("vue").PropType<import("./Label").LabelMedia[]>;
|
|
45
|
+
default: () => never[];
|
|
46
|
+
};
|
|
47
|
+
}>> & {
|
|
48
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
49
|
+
"onClick-media"?: ((...args: any[]) => any) | undefined;
|
|
50
|
+
}, {
|
|
51
|
+
type: import("./Label").LabelType;
|
|
52
|
+
label: string;
|
|
53
|
+
content: string;
|
|
54
|
+
tags: string[];
|
|
55
|
+
media: import("./Label").LabelMedia[];
|
|
56
|
+
vertical: boolean;
|
|
57
|
+
}>>;
|
|
58
|
+
export default Label;
|
|
59
|
+
export type { LabelMedia, LabelMediaType, LabelProps, LabelType } from './Label';
|
|
60
|
+
declare module 'vue' {
|
|
61
|
+
interface GlobalComponents {
|
|
62
|
+
VanLabel: typeof Label;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
var stdin_exports = {};
|
|
29
|
+
__export(stdin_exports, {
|
|
30
|
+
Label: () => Label,
|
|
31
|
+
default: () => stdin_default
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(stdin_exports);
|
|
34
|
+
var import_utils = require("../utils");
|
|
35
|
+
var import_Label = __toESM(require("./Label"));
|
|
36
|
+
const Label = (0, import_utils.withInstall)(import_Label.default);
|
|
37
|
+
var stdin_default = Label;
|
|
@@ -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
|
+
}
|
|
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;
|