@polyv/vue-components 1.7.0 → 1.8.0
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/package.json +1 -1
- package/styles/function.scss +4 -1
- package/vue2/index.es.js +9341 -8532
- package/vue2/src/components/business/external-links/use-external-links.d.ts +21 -16
- package/vue2/src/components/business/live-status-tag/index.d.ts +14 -14
- package/vue2/src/components/business/live-status-tag/src/live-status-tag.vue.d.ts +5 -5
- package/vue2/src/components/business/live-status-tag/src/props-define.d.ts +2 -2
- package/vue2/src/components/business/normal-pendant/normal-pendant.vue.d.ts +1 -0
- package/vue2/src/components/business/normal-pendant/use-normal-pendant.d.ts +4 -0
- package/vue2/src/components/business/reward-receive/entrance/reward-receive.vue.d.ts +1 -0
- package/vue2/src/components/business/reward-receive/hooks/use-reward-receive.d.ts +9 -0
- package/vue2/src/components/button/index.d.ts +26 -0
- package/vue2/src/components/button/src/button.vue.d.ts +9 -0
- package/vue2/src/components/button/src/use-button.d.ts +13 -0
- package/vue2/src/components/condition-filter/index.d.ts +122 -0
- package/vue2/src/components/condition-filter/src/condition-filter-item.vue.d.ts +21 -0
- package/vue2/src/components/condition-filter/src/condition-filter.vue.d.ts +52 -0
- package/vue2/src/components/condition-filter/src/hooks.d.ts +5 -0
- package/vue2/src/components/condition-filter/src/props-define.d.ts +43 -0
- package/vue2/src/components/dropdown/index.d.ts +6 -0
- package/vue2/src/components/dropdown/src/dropdown-item.vue.d.ts +2 -0
- package/vue2/src/components/dropdown/src/use-dropdown.d.ts +4 -0
- package/vue2/src/components/exports.d.ts +4 -0
- package/vue2/src/components/form/_common/form-base.vue.d.ts +1 -0
- package/vue2/src/components/form/checkbox/src/props-define.d.ts +0 -5
- package/vue2/src/components/form/date-picker/src/hooks/props-define.d.ts +0 -4
- package/vue2/src/components/form/file-upload/index.d.ts +2 -0
- package/vue2/src/components/form/file-upload/src/file-upload.vue.d.ts +1 -0
- package/vue2/src/components/form/file-upload/src/hooks/props-define.d.ts +6 -5
- package/vue2/src/components/form/form-group/index.d.ts +20 -2
- package/vue2/src/components/form/form-group/src/form-group.vue.d.ts +7 -1
- package/vue2/src/components/form/form-group/src/props-define.d.ts +12 -0
- package/vue2/src/components/form/form-item/index.d.ts +35 -30
- package/vue2/src/components/form/form-item/src/form-item-label.vue.d.ts +2 -0
- package/vue2/src/components/form/form-item/src/form-item.vue.d.ts +16 -15
- package/vue2/src/components/form/form-item/src/hooks/props-define.d.ts +12 -4
- package/vue2/src/components/form/form-item/src/hooks/use-item-label.d.ts +3 -1
- package/vue2/src/components/form/form-item/src/hooks/use-item-slots.d.ts +0 -1
- package/vue2/src/components/form/form-item/src/use-form-item.d.ts +15 -6
- package/vue2/src/components/form/form-submit-button/index.d.ts +9 -0
- package/vue2/src/components/form/form-submit-button/src/form-submit-button.vue.d.ts +9 -0
- package/vue2/src/components/form/form-submit-button/src/props-define.d.ts +4 -0
- package/vue2/src/components/form/form-wrap/index.d.ts +24 -24
- package/vue2/src/components/form/form-wrap/src/form-wrap.vue.d.ts +8 -8
- package/vue2/src/components/form/form-wrap/src/use-form-wrap.d.ts +4 -4
- package/vue2/src/components/form/hooks/use-form-change.d.ts +20 -0
- package/vue2/src/components/form/hooks/use-form-extra.d.ts +21 -0
- package/vue2/src/components/form/input/index.d.ts +7 -0
- package/vue2/src/components/form/input/src/input.vue.d.ts +7 -0
- package/vue2/src/components/form/input/src/props-define.d.ts +8 -6
- package/vue2/src/components/form/input-number/src/props-define.d.ts +1 -6
- package/vue2/src/components/form/input-url/index.d.ts +21 -0
- package/vue2/src/components/form/input-url/src/input-url.vue.d.ts +21 -0
- package/vue2/src/components/form/input-url/src/props-define.d.ts +13 -0
- package/vue2/src/components/form/radio/src/props-define.d.ts +0 -5
- package/vue2/src/components/form/select/index.d.ts +60 -0
- package/vue2/src/components/form/select/src/props-define.d.ts +10 -6
- package/vue2/src/components/form/select/src/select.vue.d.ts +21 -0
- package/vue2/src/components/form/switch/src/props-define.d.ts +0 -5
- package/vue2/src/components/form/timezone-picker/index.d.ts +63 -0
- package/vue2/src/components/form/timezone-picker/src/hooks/props-define.d.ts +27 -0
- package/vue2/src/components/form/timezone-picker/src/timezone-picker.vue.d.ts +63 -0
- package/vue2/src/components/form/types/index.d.ts +1 -1
- package/vue2/src/components/icons/icons/application/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/chart-graph/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/computer/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/computer-data/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/computer-down/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/computer-filled/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/computer-play/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/copmuter-play/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/edit-two/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/feedback/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/home/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/instruction/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/instruction-filled/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/money/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/move-down/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/move-up/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/play-fast/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/play-rollback/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/preview-close/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/preview-open/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/protect/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/remind-off/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/remind-on/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/setting-two/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/setting-two-filled/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/share/index.d.ts +6 -0
- package/vue2/src/components/icons/map.d.ts +25 -0
- package/vue2/src/components/image/index.d.ts +150 -0
- package/vue2/src/components/image/src/events.d.ts +6 -0
- package/vue2/src/components/image/src/image.vue.d.ts +69 -0
- package/vue2/src/components/image/src/props-define.d.ts +57 -0
- package/vue2/src/components/image/src/use-image.d.ts +16 -0
- package/vue2/src/components/menu/index.d.ts +56 -17
- package/vue2/src/components/menu/src/hooks/use-sub-menu.d.ts +3 -0
- package/vue2/src/components/menu/src/menu-item.vue.d.ts +11 -1
- package/vue2/src/components/menu/src/menu.vue.d.ts +8 -5
- package/vue2/src/components/menu/src/props-define.d.ts +29 -3
- package/vue2/src/components/menu/src/sub-menu.vue.d.ts +9 -1
- package/vue2/src/components/message-box/_component/message-box-element.vue.d.ts +12 -0
- package/vue2/src/components/message-box/_component/use-message-box-element.d.ts +22 -16
- package/vue2/src/components/section/index.d.ts +27 -0
- package/vue2/src/components/section/src/props-define.d.ts +24 -0
- package/vue2/src/components/section/src/section.vue.d.ts +24 -0
- package/vue2/src/components/table/index.d.ts +6 -6
- package/vue2/src/components/table/src/hooks/props-define.d.ts +1 -1
- package/vue2/src/components/table/src/hooks/use-table/use-column-computed.d.ts +2 -2
- package/vue2/src/components/table/src/hooks/use-table/use-column-list.d.ts +4 -4
- package/vue2/src/components/table/src/hooks/use-table/use-table.d.ts +6 -6
- package/vue2/src/components/table/src/hooks/use-table-column/use-column-children.d.ts +2 -2
- package/vue2/src/components/table/src/table-column.vue.d.ts +2 -2
- package/vue2/src/components/tag/index.d.ts +14 -14
- package/vue2/src/components/tag/src/props-define.d.ts +2 -2
- package/vue2/src/components/tag/src/tag.vue.d.ts +5 -5
- package/vue2/src/components/tooltip/src/props-define.d.ts +6 -0
- package/vue2/src/hooks/components/use-confirm-cancel/index.d.ts +8 -0
- package/vue2/src/hooks/components/use-popper/_popper-type.d.ts +5 -0
- package/vue2/src/lang/hook.d.ts +4 -0
- package/vue2/src/lang/internal/en.json.d.ts +5 -0
- package/vue2/src/lang/internal/index.d.ts +5 -0
- package/vue2/src/lang/internal/ja.json.d.ts +5 -0
- package/vue2/src/lang/internal/ko.json.d.ts +5 -0
- package/vue2/src/lang/internal/ru.json.d.ts +5 -0
- package/vue2/src/lang/internal/zh-CN.json.d.ts +5 -0
- package/vue2/src/lang/internal/zh-TW.json.d.ts +5 -0
- package/vue3/index.es.js +9356 -8547
- package/vue3/src/components/business/external-links/use-external-links.d.ts +21 -16
- package/vue3/src/components/business/live-status-tag/index.d.ts +14 -14
- package/vue3/src/components/business/live-status-tag/src/live-status-tag.vue.d.ts +5 -5
- package/vue3/src/components/business/live-status-tag/src/props-define.d.ts +2 -2
- package/vue3/src/components/business/normal-pendant/normal-pendant.vue.d.ts +1 -0
- package/vue3/src/components/business/normal-pendant/use-normal-pendant.d.ts +4 -0
- package/vue3/src/components/business/reward-receive/entrance/reward-receive.vue.d.ts +1 -0
- package/vue3/src/components/business/reward-receive/hooks/use-reward-receive.d.ts +9 -0
- package/vue3/src/components/button/index.d.ts +26 -0
- package/vue3/src/components/button/src/button.vue.d.ts +9 -0
- package/vue3/src/components/button/src/use-button.d.ts +13 -0
- package/vue3/src/components/condition-filter/index.d.ts +122 -0
- package/vue3/src/components/condition-filter/src/condition-filter-item.vue.d.ts +21 -0
- package/vue3/src/components/condition-filter/src/condition-filter.vue.d.ts +52 -0
- package/vue3/src/components/condition-filter/src/hooks.d.ts +5 -0
- package/vue3/src/components/condition-filter/src/props-define.d.ts +43 -0
- package/vue3/src/components/dropdown/index.d.ts +6 -0
- package/vue3/src/components/dropdown/src/dropdown-item.vue.d.ts +2 -0
- package/vue3/src/components/dropdown/src/use-dropdown.d.ts +4 -0
- package/vue3/src/components/exports.d.ts +4 -0
- package/vue3/src/components/form/_common/form-base.vue.d.ts +1 -0
- package/vue3/src/components/form/checkbox/src/props-define.d.ts +0 -5
- package/vue3/src/components/form/date-picker/src/hooks/props-define.d.ts +0 -4
- package/vue3/src/components/form/file-upload/index.d.ts +2 -0
- package/vue3/src/components/form/file-upload/src/file-upload.vue.d.ts +1 -0
- package/vue3/src/components/form/file-upload/src/hooks/props-define.d.ts +6 -5
- package/vue3/src/components/form/form-group/index.d.ts +20 -2
- package/vue3/src/components/form/form-group/src/form-group.vue.d.ts +7 -1
- package/vue3/src/components/form/form-group/src/props-define.d.ts +12 -0
- package/vue3/src/components/form/form-item/index.d.ts +35 -30
- package/vue3/src/components/form/form-item/src/form-item-label.vue.d.ts +2 -0
- package/vue3/src/components/form/form-item/src/form-item.vue.d.ts +16 -15
- package/vue3/src/components/form/form-item/src/hooks/props-define.d.ts +12 -4
- package/vue3/src/components/form/form-item/src/hooks/use-item-label.d.ts +3 -1
- package/vue3/src/components/form/form-item/src/hooks/use-item-slots.d.ts +0 -1
- package/vue3/src/components/form/form-item/src/use-form-item.d.ts +15 -6
- package/vue3/src/components/form/form-submit-button/index.d.ts +9 -0
- package/vue3/src/components/form/form-submit-button/src/form-submit-button.vue.d.ts +9 -0
- package/vue3/src/components/form/form-submit-button/src/props-define.d.ts +4 -0
- package/vue3/src/components/form/form-wrap/index.d.ts +24 -24
- package/vue3/src/components/form/form-wrap/src/form-wrap.vue.d.ts +8 -8
- package/vue3/src/components/form/form-wrap/src/use-form-wrap.d.ts +4 -4
- package/vue3/src/components/form/hooks/use-form-change.d.ts +20 -0
- package/vue3/src/components/form/hooks/use-form-extra.d.ts +21 -0
- package/vue3/src/components/form/input/index.d.ts +7 -0
- package/vue3/src/components/form/input/src/input.vue.d.ts +7 -0
- package/vue3/src/components/form/input/src/props-define.d.ts +8 -6
- package/vue3/src/components/form/input-number/src/props-define.d.ts +1 -6
- package/vue3/src/components/form/input-url/index.d.ts +21 -0
- package/vue3/src/components/form/input-url/src/input-url.vue.d.ts +21 -0
- package/vue3/src/components/form/input-url/src/props-define.d.ts +13 -0
- package/vue3/src/components/form/radio/src/props-define.d.ts +0 -5
- package/vue3/src/components/form/select/index.d.ts +60 -0
- package/vue3/src/components/form/select/src/props-define.d.ts +10 -6
- package/vue3/src/components/form/select/src/select.vue.d.ts +21 -0
- package/vue3/src/components/form/switch/src/props-define.d.ts +0 -5
- package/vue3/src/components/form/timezone-picker/index.d.ts +63 -0
- package/vue3/src/components/form/timezone-picker/src/hooks/props-define.d.ts +27 -0
- package/vue3/src/components/form/timezone-picker/src/timezone-picker.vue.d.ts +63 -0
- package/vue3/src/components/form/types/index.d.ts +1 -1
- package/vue3/src/components/icons/icons/application/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/chart-graph/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/computer/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/computer-data/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/computer-down/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/computer-filled/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/computer-play/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/copmuter-play/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/edit-two/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/feedback/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/home/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/instruction/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/instruction-filled/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/money/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/move-down/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/move-up/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/play-fast/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/play-rollback/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/preview-close/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/preview-open/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/protect/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/remind-off/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/remind-on/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/setting-two/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/setting-two-filled/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/share/index.d.ts +6 -0
- package/vue3/src/components/icons/map.d.ts +25 -0
- package/vue3/src/components/image/index.d.ts +150 -0
- package/vue3/src/components/image/src/events.d.ts +6 -0
- package/vue3/src/components/image/src/image.vue.d.ts +69 -0
- package/vue3/src/components/image/src/props-define.d.ts +57 -0
- package/vue3/src/components/image/src/use-image.d.ts +16 -0
- package/vue3/src/components/menu/index.d.ts +56 -17
- package/vue3/src/components/menu/src/hooks/use-sub-menu.d.ts +3 -0
- package/vue3/src/components/menu/src/menu-item.vue.d.ts +11 -1
- package/vue3/src/components/menu/src/menu.vue.d.ts +8 -5
- package/vue3/src/components/menu/src/props-define.d.ts +29 -3
- package/vue3/src/components/menu/src/sub-menu.vue.d.ts +9 -1
- package/vue3/src/components/message-box/_component/message-box-element.vue.d.ts +12 -0
- package/vue3/src/components/message-box/_component/use-message-box-element.d.ts +22 -16
- package/vue3/src/components/section/index.d.ts +27 -0
- package/vue3/src/components/section/src/props-define.d.ts +24 -0
- package/vue3/src/components/section/src/section.vue.d.ts +24 -0
- package/vue3/src/components/table/index.d.ts +6 -6
- package/vue3/src/components/table/src/hooks/props-define.d.ts +1 -1
- package/vue3/src/components/table/src/hooks/use-table/use-column-computed.d.ts +2 -2
- package/vue3/src/components/table/src/hooks/use-table/use-column-list.d.ts +4 -4
- package/vue3/src/components/table/src/hooks/use-table/use-table.d.ts +6 -6
- package/vue3/src/components/table/src/hooks/use-table-column/use-column-children.d.ts +2 -2
- package/vue3/src/components/table/src/table-column.vue.d.ts +2 -2
- package/vue3/src/components/tag/index.d.ts +14 -14
- package/vue3/src/components/tag/src/props-define.d.ts +2 -2
- package/vue3/src/components/tag/src/tag.vue.d.ts +5 -5
- package/vue3/src/components/tooltip/src/props-define.d.ts +6 -0
- package/vue3/src/hooks/components/use-confirm-cancel/index.d.ts +8 -0
- package/vue3/src/hooks/components/use-popper/_popper-type.d.ts +5 -0
- package/vue3/src/lang/hook.d.ts +4 -0
- package/vue3/src/lang/internal/en.json.d.ts +5 -0
- package/vue3/src/lang/internal/index.d.ts +5 -0
- package/vue3/src/lang/internal/ja.json.d.ts +5 -0
- package/vue3/src/lang/internal/ko.json.d.ts +5 -0
- package/vue3/src/lang/internal/ru.json.d.ts +5 -0
- package/vue3/src/lang/internal/zh-CN.json.d.ts +5 -0
- package/vue3/src/lang/internal/zh-TW.json.d.ts +5 -0
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
export declare const PwcImage: import('../../vue-utils/install-utils').SFCInstall<import('vue/types/v3-component-public-instance').ComponentPublicInstanceConstructor<import('vue/types/v3-component-public-instance').Vue3Instance<{}, Readonly<import('vue').ExtractPropTypes<{
|
|
2
|
+
src: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
3
|
+
width: import('vue-types').VueTypeDef<string | number>;
|
|
4
|
+
height: import('vue-types').VueTypeDef<string | number>;
|
|
5
|
+
gradual: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
6
|
+
default: boolean;
|
|
7
|
+
};
|
|
8
|
+
gradualSize: import('vue-types').VueTypeValidableDef<{
|
|
9
|
+
width?: number;
|
|
10
|
+
height?: number;
|
|
11
|
+
}, import('vue-types/dist/types').ValidatorFunction<{
|
|
12
|
+
width?: number;
|
|
13
|
+
height?: number;
|
|
14
|
+
}>>;
|
|
15
|
+
blurBackground: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
objectFit: import('vue-types').VueTypeDef<"fill" | "none" | "contain" | "cover" | "scale-down">;
|
|
19
|
+
noCache: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
}>>, Readonly<import('vue').ExtractPropTypes<{
|
|
23
|
+
src: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
24
|
+
width: import('vue-types').VueTypeDef<string | number>;
|
|
25
|
+
height: import('vue-types').VueTypeDef<string | number>;
|
|
26
|
+
gradual: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
gradualSize: import('vue-types').VueTypeValidableDef<{
|
|
30
|
+
width?: number;
|
|
31
|
+
height?: number;
|
|
32
|
+
}, import('vue-types/dist/types').ValidatorFunction<{
|
|
33
|
+
width?: number;
|
|
34
|
+
height?: number;
|
|
35
|
+
}>>;
|
|
36
|
+
blurBackground: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
objectFit: import('vue-types').VueTypeDef<"fill" | "none" | "contain" | "cover" | "scale-down">;
|
|
40
|
+
noCache: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
43
|
+
}>>, {
|
|
44
|
+
error: (arg: HTMLImageElement) => void;
|
|
45
|
+
load: (arg: HTMLImageElement) => void;
|
|
46
|
+
}, {
|
|
47
|
+
gradual: boolean;
|
|
48
|
+
blurBackground: boolean;
|
|
49
|
+
noCache: boolean;
|
|
50
|
+
}, true, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import('vue').ExtractPropTypes<{
|
|
51
|
+
src: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
52
|
+
width: import('vue-types').VueTypeDef<string | number>;
|
|
53
|
+
height: import('vue-types').VueTypeDef<string | number>;
|
|
54
|
+
gradual: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
55
|
+
default: boolean;
|
|
56
|
+
};
|
|
57
|
+
gradualSize: import('vue-types').VueTypeValidableDef<{
|
|
58
|
+
width?: number;
|
|
59
|
+
height?: number;
|
|
60
|
+
}, import('vue-types/dist/types').ValidatorFunction<{
|
|
61
|
+
width?: number;
|
|
62
|
+
height?: number;
|
|
63
|
+
}>>;
|
|
64
|
+
blurBackground: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
65
|
+
default: boolean;
|
|
66
|
+
};
|
|
67
|
+
objectFit: import('vue-types').VueTypeDef<"fill" | "none" | "contain" | "cover" | "scale-down">;
|
|
68
|
+
noCache: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
69
|
+
default: boolean;
|
|
70
|
+
};
|
|
71
|
+
}>>> & import('vue').ShallowUnwrapRef<{}> & import('vue/types/v3-component-options').ExtractComputedReturns<{}> & import('vue').ComponentCustomProperties & Readonly<import('vue').ExtractPropTypes<{
|
|
72
|
+
src: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
73
|
+
width: import('vue-types').VueTypeDef<string | number>;
|
|
74
|
+
height: import('vue-types').VueTypeDef<string | number>;
|
|
75
|
+
gradual: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
76
|
+
default: boolean;
|
|
77
|
+
};
|
|
78
|
+
gradualSize: import('vue-types').VueTypeValidableDef<{
|
|
79
|
+
width?: number;
|
|
80
|
+
height?: number;
|
|
81
|
+
}, import('vue-types/dist/types').ValidatorFunction<{
|
|
82
|
+
width?: number;
|
|
83
|
+
height?: number;
|
|
84
|
+
}>>;
|
|
85
|
+
blurBackground: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
86
|
+
default: boolean;
|
|
87
|
+
};
|
|
88
|
+
objectFit: import('vue-types').VueTypeDef<"fill" | "none" | "contain" | "cover" | "scale-down">;
|
|
89
|
+
noCache: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
90
|
+
default: boolean;
|
|
91
|
+
};
|
|
92
|
+
}>>> & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
93
|
+
src: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
94
|
+
width: import('vue-types').VueTypeDef<string | number>;
|
|
95
|
+
height: import('vue-types').VueTypeDef<string | number>;
|
|
96
|
+
gradual: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
97
|
+
default: boolean;
|
|
98
|
+
};
|
|
99
|
+
gradualSize: import('vue-types').VueTypeValidableDef<{
|
|
100
|
+
width?: number;
|
|
101
|
+
height?: number;
|
|
102
|
+
}, import('vue-types/dist/types').ValidatorFunction<{
|
|
103
|
+
width?: number;
|
|
104
|
+
height?: number;
|
|
105
|
+
}>>;
|
|
106
|
+
blurBackground: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
107
|
+
default: boolean;
|
|
108
|
+
};
|
|
109
|
+
objectFit: import('vue-types').VueTypeDef<"fill" | "none" | "contain" | "cover" | "scale-down">;
|
|
110
|
+
noCache: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
111
|
+
default: boolean;
|
|
112
|
+
};
|
|
113
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
114
|
+
error: (arg: HTMLImageElement) => void;
|
|
115
|
+
load: (arg: HTMLImageElement) => void;
|
|
116
|
+
}, string, {
|
|
117
|
+
gradual: boolean;
|
|
118
|
+
blurBackground: boolean;
|
|
119
|
+
noCache: boolean;
|
|
120
|
+
}> & {
|
|
121
|
+
props: {
|
|
122
|
+
src: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
123
|
+
width: import('vue-types').VueTypeDef<string | number>;
|
|
124
|
+
height: import('vue-types').VueTypeDef<string | number>;
|
|
125
|
+
gradual: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
126
|
+
default: boolean;
|
|
127
|
+
};
|
|
128
|
+
gradualSize: import('vue-types').VueTypeValidableDef<{
|
|
129
|
+
width?: number;
|
|
130
|
+
height?: number;
|
|
131
|
+
}, import('vue-types/dist/types').ValidatorFunction<{
|
|
132
|
+
width?: number;
|
|
133
|
+
height?: number;
|
|
134
|
+
}>>;
|
|
135
|
+
blurBackground: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
136
|
+
default: boolean;
|
|
137
|
+
};
|
|
138
|
+
objectFit: import('vue-types').VueTypeDef<"fill" | "none" | "contain" | "cover" | "scale-down">;
|
|
139
|
+
noCache: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
140
|
+
default: boolean;
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
} & (new () => {
|
|
144
|
+
$scopedSlots: {
|
|
145
|
+
placeholder?(_: {}): any;
|
|
146
|
+
error?(_: {}): any;
|
|
147
|
+
};
|
|
148
|
+
}), import('../../vue-utils/install-utils').InstallOptions>;
|
|
149
|
+
export * from './src/props-define';
|
|
150
|
+
export * from './src/events';
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
placeholder?(_: {}): any;
|
|
5
|
+
error?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {
|
|
8
|
+
rootRef: HTMLDivElement;
|
|
9
|
+
};
|
|
10
|
+
rootEl: HTMLDivElement;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
14
|
+
src: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
15
|
+
width: import('vue-types').VueTypeDef<string | number>;
|
|
16
|
+
height: import('vue-types').VueTypeDef<string | number>;
|
|
17
|
+
gradual: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
gradualSize: import('vue-types').VueTypeValidableDef<{
|
|
21
|
+
width?: number;
|
|
22
|
+
height?: number;
|
|
23
|
+
}, import('vue-types/dist/types').ValidatorFunction<{
|
|
24
|
+
width?: number;
|
|
25
|
+
height?: number;
|
|
26
|
+
}>>;
|
|
27
|
+
blurBackground: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
objectFit: import('vue-types').VueTypeDef<"fill" | "none" | "contain" | "cover" | "scale-down">;
|
|
31
|
+
noCache: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
35
|
+
error: (arg: HTMLImageElement) => void;
|
|
36
|
+
load: (arg: HTMLImageElement) => void;
|
|
37
|
+
}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
38
|
+
src: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
39
|
+
width: import('vue-types').VueTypeDef<string | number>;
|
|
40
|
+
height: import('vue-types').VueTypeDef<string | number>;
|
|
41
|
+
gradual: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
44
|
+
gradualSize: import('vue-types').VueTypeValidableDef<{
|
|
45
|
+
width?: number;
|
|
46
|
+
height?: number;
|
|
47
|
+
}, import('vue-types/dist/types').ValidatorFunction<{
|
|
48
|
+
width?: number;
|
|
49
|
+
height?: number;
|
|
50
|
+
}>>;
|
|
51
|
+
blurBackground: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
52
|
+
default: boolean;
|
|
53
|
+
};
|
|
54
|
+
objectFit: import('vue-types').VueTypeDef<"fill" | "none" | "contain" | "cover" | "scale-down">;
|
|
55
|
+
noCache: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
56
|
+
default: boolean;
|
|
57
|
+
};
|
|
58
|
+
}>>, {
|
|
59
|
+
gradual: boolean;
|
|
60
|
+
blurBackground: boolean;
|
|
61
|
+
noCache: boolean;
|
|
62
|
+
}>;
|
|
63
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
64
|
+
export default _default;
|
|
65
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
66
|
+
new (): {
|
|
67
|
+
$scopedSlots: S;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/** 图片适应模式 */
|
|
2
|
+
export declare const imageObjectFits: readonly ["fill", "contain", "cover", "none", "scale-down"];
|
|
3
|
+
export type ImageObjectFit = (typeof imageObjectFits)[number];
|
|
4
|
+
export declare const imageProps: () => {
|
|
5
|
+
/** 图片地址 */
|
|
6
|
+
src: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
7
|
+
/** 宽度 */
|
|
8
|
+
width: import('vue-types').VueTypeDef<string | number>;
|
|
9
|
+
/** 高度 */
|
|
10
|
+
height: import('vue-types').VueTypeDef<string | number>;
|
|
11
|
+
/**
|
|
12
|
+
* 是否使用渐进加载
|
|
13
|
+
* @default true
|
|
14
|
+
*/
|
|
15
|
+
gradual: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
/** 渐进图尺寸 */
|
|
19
|
+
gradualSize: import('vue-types').VueTypeValidableDef<{
|
|
20
|
+
width?: number;
|
|
21
|
+
height?: number;
|
|
22
|
+
}, import('vue-types/dist/types').ValidatorFunction<{
|
|
23
|
+
width?: number;
|
|
24
|
+
height?: number;
|
|
25
|
+
}>>;
|
|
26
|
+
/**
|
|
27
|
+
* 是否启用模糊背景
|
|
28
|
+
* @default false
|
|
29
|
+
*/
|
|
30
|
+
blurBackground: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* 图片适应模式
|
|
35
|
+
* @propType ImageObjectFit
|
|
36
|
+
*/
|
|
37
|
+
objectFit: import('vue-types').VueTypeDef<"fill" | "none" | "contain" | "cover" | "scale-down">;
|
|
38
|
+
/**
|
|
39
|
+
* 阻止缓存,自动在地址添加时间戳参数
|
|
40
|
+
* @default false
|
|
41
|
+
*/
|
|
42
|
+
noCache: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
export declare const imageEmits: () => {
|
|
47
|
+
/** 图片加载完成 */
|
|
48
|
+
load: import('../../../vue-utils').EmitFuncType<HTMLImageElement>;
|
|
49
|
+
/** 图片加载失败 */
|
|
50
|
+
error: import('../../../vue-utils').EmitFuncType<HTMLImageElement>;
|
|
51
|
+
};
|
|
52
|
+
export interface ImageSlots {
|
|
53
|
+
/** 自定义占位内容 */
|
|
54
|
+
placeholder: void;
|
|
55
|
+
/** 自定义加载失败内容 */
|
|
56
|
+
error: void;
|
|
57
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { imageEmits, imageProps } from './props-define';
|
|
2
|
+
import { VueProps, VueEmit } from '../../../vue-utils';
|
|
3
|
+
export declare function useImage(props: VueProps<typeof imageProps>, emit: VueEmit<typeof imageEmits>): {
|
|
4
|
+
rootRef: import('vue').Ref<HTMLElement | undefined>;
|
|
5
|
+
isLoaded: import('vue').Ref<boolean>;
|
|
6
|
+
isLoadError: import('vue').Ref<boolean>;
|
|
7
|
+
gradualError: import('vue').Ref<boolean>;
|
|
8
|
+
imageStyle: import('vue').ComputedRef<{
|
|
9
|
+
width: string | undefined;
|
|
10
|
+
height: string | undefined;
|
|
11
|
+
}>;
|
|
12
|
+
gradualUrl: import('vue').ComputedRef<string>;
|
|
13
|
+
imageUrl: import('vue').ComputedRef<string>;
|
|
14
|
+
contentClass: import('vue').ComputedRef<string[]>;
|
|
15
|
+
handleGradualError: () => void;
|
|
16
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const PwcMenu: import('../../vue-utils/install-utils').SFCInstall<import('vue/types/v3-component-public-instance').ComponentPublicInstanceConstructor<import('vue/types/v3-component-public-instance').Vue3Instance<{}, Readonly<import('vue').ExtractPropTypes<{
|
|
2
2
|
"v-model-key": import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
3
|
-
mode: import('vue-types').VueTypeDef<"vertical" | "horizontal"> & {
|
|
4
|
-
default: "vertical" | "horizontal";
|
|
3
|
+
mode: import('vue-types').VueTypeDef<"button" | "vertical" | "horizontal" | "tab"> & {
|
|
4
|
+
default: "button" | "vertical" | "horizontal" | "tab";
|
|
5
5
|
};
|
|
6
6
|
collapsed: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
7
7
|
default: boolean;
|
|
@@ -12,10 +12,11 @@ export declare const PwcMenu: import('../../vue-utils/install-utils').SFCInstall
|
|
|
12
12
|
forceExpand: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
13
13
|
default: boolean;
|
|
14
14
|
};
|
|
15
|
+
background: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
15
16
|
}>>, Readonly<import('vue').ExtractPropTypes<{
|
|
16
17
|
"v-model-key": import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
17
|
-
mode: import('vue-types').VueTypeDef<"vertical" | "horizontal"> & {
|
|
18
|
-
default: "vertical" | "horizontal";
|
|
18
|
+
mode: import('vue-types').VueTypeDef<"button" | "vertical" | "horizontal" | "tab"> & {
|
|
19
|
+
default: "button" | "vertical" | "horizontal" | "tab";
|
|
19
20
|
};
|
|
20
21
|
collapsed: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
21
22
|
default: boolean;
|
|
@@ -26,17 +27,18 @@ export declare const PwcMenu: import('../../vue-utils/install-utils').SFCInstall
|
|
|
26
27
|
forceExpand: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
27
28
|
default: boolean;
|
|
28
29
|
};
|
|
30
|
+
background: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
29
31
|
}>>, {
|
|
30
32
|
[x: string]: (...args: any[]) => void;
|
|
31
33
|
}, {
|
|
32
34
|
effect: "light" | "dark";
|
|
33
|
-
mode: "vertical" | "horizontal";
|
|
35
|
+
mode: "button" | "vertical" | "horizontal" | "tab";
|
|
34
36
|
collapsed: boolean;
|
|
35
37
|
forceExpand: boolean;
|
|
36
38
|
}, true, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import('vue').ExtractPropTypes<{
|
|
37
39
|
"v-model-key": import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
38
|
-
mode: import('vue-types').VueTypeDef<"vertical" | "horizontal"> & {
|
|
39
|
-
default: "vertical" | "horizontal";
|
|
40
|
+
mode: import('vue-types').VueTypeDef<"button" | "vertical" | "horizontal" | "tab"> & {
|
|
41
|
+
default: "button" | "vertical" | "horizontal" | "tab";
|
|
40
42
|
};
|
|
41
43
|
collapsed: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
42
44
|
default: boolean;
|
|
@@ -47,10 +49,11 @@ export declare const PwcMenu: import('../../vue-utils/install-utils').SFCInstall
|
|
|
47
49
|
forceExpand: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
48
50
|
default: boolean;
|
|
49
51
|
};
|
|
52
|
+
background: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
50
53
|
}>>> & import('vue').ShallowUnwrapRef<{}> & import('vue/types/v3-component-options').ExtractComputedReturns<{}> & import('vue').ComponentCustomProperties & Readonly<import('vue').ExtractPropTypes<{
|
|
51
54
|
"v-model-key": import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
52
|
-
mode: import('vue-types').VueTypeDef<"vertical" | "horizontal"> & {
|
|
53
|
-
default: "vertical" | "horizontal";
|
|
55
|
+
mode: import('vue-types').VueTypeDef<"button" | "vertical" | "horizontal" | "tab"> & {
|
|
56
|
+
default: "button" | "vertical" | "horizontal" | "tab";
|
|
54
57
|
};
|
|
55
58
|
collapsed: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
56
59
|
default: boolean;
|
|
@@ -61,10 +64,11 @@ export declare const PwcMenu: import('../../vue-utils/install-utils').SFCInstall
|
|
|
61
64
|
forceExpand: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
62
65
|
default: boolean;
|
|
63
66
|
};
|
|
67
|
+
background: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
64
68
|
}>>> & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
65
69
|
"v-model-key": import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
66
|
-
mode: import('vue-types').VueTypeDef<"vertical" | "horizontal"> & {
|
|
67
|
-
default: "vertical" | "horizontal";
|
|
70
|
+
mode: import('vue-types').VueTypeDef<"button" | "vertical" | "horizontal" | "tab"> & {
|
|
71
|
+
default: "button" | "vertical" | "horizontal" | "tab";
|
|
68
72
|
};
|
|
69
73
|
collapsed: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
70
74
|
default: boolean;
|
|
@@ -75,18 +79,19 @@ export declare const PwcMenu: import('../../vue-utils/install-utils').SFCInstall
|
|
|
75
79
|
forceExpand: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
76
80
|
default: boolean;
|
|
77
81
|
};
|
|
82
|
+
background: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
78
83
|
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
79
84
|
[x: string]: (...args: any[]) => void;
|
|
80
85
|
}, string, {
|
|
81
86
|
effect: "light" | "dark";
|
|
82
|
-
mode: "vertical" | "horizontal";
|
|
87
|
+
mode: "button" | "vertical" | "horizontal" | "tab";
|
|
83
88
|
collapsed: boolean;
|
|
84
89
|
forceExpand: boolean;
|
|
85
90
|
}> & {
|
|
86
91
|
props: {
|
|
87
92
|
"v-model-key": import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
88
|
-
mode: import('vue-types').VueTypeDef<"vertical" | "horizontal"> & {
|
|
89
|
-
default: "vertical" | "horizontal";
|
|
93
|
+
mode: import('vue-types').VueTypeDef<"button" | "vertical" | "horizontal" | "tab"> & {
|
|
94
|
+
default: "button" | "vertical" | "horizontal" | "tab";
|
|
90
95
|
};
|
|
91
96
|
collapsed: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
92
97
|
default: boolean;
|
|
@@ -97,9 +102,11 @@ export declare const PwcMenu: import('../../vue-utils/install-utils').SFCInstall
|
|
|
97
102
|
forceExpand: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
98
103
|
default: boolean;
|
|
99
104
|
};
|
|
105
|
+
background: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
100
106
|
};
|
|
101
107
|
} & (new () => {
|
|
102
108
|
$scopedSlots: {
|
|
109
|
+
header?(_: {}): any;
|
|
103
110
|
default?(_: {}): any;
|
|
104
111
|
};
|
|
105
112
|
}), import('../../vue-utils/install-utils').InstallOptions>;
|
|
@@ -107,27 +114,49 @@ export declare const PwcSubMenu: import('../../vue-utils/install-utils').SFCInst
|
|
|
107
114
|
title: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
108
115
|
icon: import('vue-types').VueTypeValidableDef<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption, import('vue-types/dist/types').ValidatorFunction<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption>>;
|
|
109
116
|
activeIcon: import('vue-types').VueTypeValidableDef<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption, import('vue-types/dist/types').ValidatorFunction<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption>>;
|
|
117
|
+
iconMode: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
118
|
+
default: boolean;
|
|
119
|
+
};
|
|
110
120
|
}>>, Readonly<import('vue').ExtractPropTypes<{
|
|
111
121
|
title: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
112
122
|
icon: import('vue-types').VueTypeValidableDef<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption, import('vue-types/dist/types').ValidatorFunction<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption>>;
|
|
113
123
|
activeIcon: import('vue-types').VueTypeValidableDef<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption, import('vue-types/dist/types').ValidatorFunction<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption>>;
|
|
114
|
-
|
|
124
|
+
iconMode: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
125
|
+
default: boolean;
|
|
126
|
+
};
|
|
127
|
+
}>>, {}, {
|
|
128
|
+
iconMode: boolean;
|
|
129
|
+
}, true, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import('vue').ExtractPropTypes<{
|
|
115
130
|
title: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
116
131
|
icon: import('vue-types').VueTypeValidableDef<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption, import('vue-types/dist/types').ValidatorFunction<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption>>;
|
|
117
132
|
activeIcon: import('vue-types').VueTypeValidableDef<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption, import('vue-types/dist/types').ValidatorFunction<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption>>;
|
|
133
|
+
iconMode: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
134
|
+
default: boolean;
|
|
135
|
+
};
|
|
118
136
|
}>>> & import('vue').ShallowUnwrapRef<{}> & import('vue/types/v3-component-options').ExtractComputedReturns<{}> & import('vue').ComponentCustomProperties & Readonly<import('vue').ExtractPropTypes<{
|
|
119
137
|
title: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
120
138
|
icon: import('vue-types').VueTypeValidableDef<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption, import('vue-types/dist/types').ValidatorFunction<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption>>;
|
|
121
139
|
activeIcon: import('vue-types').VueTypeValidableDef<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption, import('vue-types/dist/types').ValidatorFunction<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption>>;
|
|
140
|
+
iconMode: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
141
|
+
default: boolean;
|
|
142
|
+
};
|
|
122
143
|
}>>> & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
123
144
|
title: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
124
145
|
icon: import('vue-types').VueTypeValidableDef<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption, import('vue-types/dist/types').ValidatorFunction<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption>>;
|
|
125
146
|
activeIcon: import('vue-types').VueTypeValidableDef<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption, import('vue-types/dist/types').ValidatorFunction<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption>>;
|
|
126
|
-
|
|
147
|
+
iconMode: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
148
|
+
default: boolean;
|
|
149
|
+
};
|
|
150
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
151
|
+
iconMode: boolean;
|
|
152
|
+
}> & {
|
|
127
153
|
props: {
|
|
128
154
|
title: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
129
155
|
icon: import('vue-types').VueTypeValidableDef<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption, import('vue-types/dist/types').ValidatorFunction<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption>>;
|
|
130
156
|
activeIcon: import('vue-types').VueTypeValidableDef<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption, import('vue-types/dist/types').ValidatorFunction<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption>>;
|
|
157
|
+
iconMode: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
158
|
+
default: boolean;
|
|
159
|
+
};
|
|
131
160
|
};
|
|
132
161
|
} & (new () => {
|
|
133
162
|
$scopedSlots: {
|
|
@@ -145,12 +174,22 @@ export declare const PwcMenuItem: import('../../vue-utils/install-utils').SFCIns
|
|
|
145
174
|
icon: import('vue-types').VueTypeValidableDef<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption, import('vue-types/dist/types').ValidatorFunction<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption>>;
|
|
146
175
|
activeIcon: import('vue-types').VueTypeValidableDef<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption, import('vue-types/dist/types').ValidatorFunction<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption>>;
|
|
147
176
|
to: import('vue-types').VueTypeDef<string | import('./src/props-define').MenuRouterLocation>;
|
|
177
|
+
href: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
178
|
+
iconMode: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
179
|
+
default: boolean;
|
|
180
|
+
};
|
|
148
181
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
149
182
|
index: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
150
183
|
title: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
151
184
|
icon: import('vue-types').VueTypeValidableDef<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption, import('vue-types/dist/types').ValidatorFunction<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption>>;
|
|
152
185
|
activeIcon: import('vue-types').VueTypeValidableDef<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption, import('vue-types/dist/types').ValidatorFunction<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption>>;
|
|
153
186
|
to: import('vue-types').VueTypeDef<string | import('./src/props-define').MenuRouterLocation>;
|
|
154
|
-
|
|
187
|
+
href: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
188
|
+
iconMode: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
189
|
+
default: boolean;
|
|
190
|
+
};
|
|
191
|
+
}>>, {
|
|
192
|
+
iconMode: boolean;
|
|
193
|
+
}>, import('../../vue-utils/install-utils').InstallOptions>;
|
|
155
194
|
export declare const PwcMenuDivider: import('../../vue-utils/install-utils').SFCInstall<import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{}>>, {}>, import('../../vue-utils/install-utils').InstallOptions>;
|
|
156
195
|
export * from './src/props-define';
|
|
@@ -18,6 +18,9 @@ export declare const useSubMenu: (options: {
|
|
|
18
18
|
subMenuIcon: import('vue').ComputedRef<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption | undefined>;
|
|
19
19
|
onClickSubMenu: () => void;
|
|
20
20
|
contentRef: Ref<HTMLDivElement | undefined>;
|
|
21
|
+
menuItemList: Ref<{
|
|
22
|
+
getIsActive: () => boolean;
|
|
23
|
+
}[]>;
|
|
21
24
|
};
|
|
22
25
|
export declare const useSubMenuPopperInject: () => SubMenuPopperInjectData | undefined;
|
|
23
26
|
export declare const useSubMenuInject: (menuItemInstance?: MenuItemInstance) => SubMenuInjectData | undefined;
|
|
@@ -4,11 +4,21 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
4
4
|
icon: import('vue-types').VueTypeValidableDef<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption, import('vue-types/dist/types').ValidatorFunction<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption>>;
|
|
5
5
|
activeIcon: import('vue-types').VueTypeValidableDef<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption, import('vue-types/dist/types').ValidatorFunction<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption>>;
|
|
6
6
|
to: import('vue-types').VueTypeDef<string | import('./props-define').MenuRouterLocation>;
|
|
7
|
+
href: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
8
|
+
iconMode: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
9
|
+
default: boolean;
|
|
10
|
+
};
|
|
7
11
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
8
12
|
index: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
9
13
|
title: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
10
14
|
icon: import('vue-types').VueTypeValidableDef<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption, import('vue-types/dist/types').ValidatorFunction<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption>>;
|
|
11
15
|
activeIcon: import('vue-types').VueTypeValidableDef<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption, import('vue-types/dist/types').ValidatorFunction<import('@polyv/icons-vue-middle/icon-builder').IconComponentOption>>;
|
|
12
16
|
to: import('vue-types').VueTypeDef<string | import('./props-define').MenuRouterLocation>;
|
|
13
|
-
|
|
17
|
+
href: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
18
|
+
iconMode: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
}>>, {
|
|
22
|
+
iconMode: boolean;
|
|
23
|
+
}>;
|
|
14
24
|
export default _default;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
2
|
attrs: Partial<{}>;
|
|
3
3
|
slots: {
|
|
4
|
+
header?(_: {}): any;
|
|
4
5
|
default?(_: {}): any;
|
|
5
6
|
};
|
|
6
7
|
refs: {};
|
|
@@ -9,8 +10,8 @@ declare function __VLS_template(): {
|
|
|
9
10
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
11
|
declare const __VLS_component: import('vue').DefineComponent<{
|
|
11
12
|
"v-model-key": import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
12
|
-
mode: import('vue-types').VueTypeDef<"vertical" | "horizontal"> & {
|
|
13
|
-
default: "vertical" | "horizontal";
|
|
13
|
+
mode: import('vue-types').VueTypeDef<"button" | "vertical" | "horizontal" | "tab"> & {
|
|
14
|
+
default: "button" | "vertical" | "horizontal" | "tab";
|
|
14
15
|
};
|
|
15
16
|
collapsed: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
16
17
|
default: boolean;
|
|
@@ -21,12 +22,13 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
21
22
|
forceExpand: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
22
23
|
default: boolean;
|
|
23
24
|
};
|
|
25
|
+
background: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
24
26
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
25
27
|
[x: string]: (...args: any[]) => void;
|
|
26
28
|
}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
27
29
|
"v-model-key": import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
28
|
-
mode: import('vue-types').VueTypeDef<"vertical" | "horizontal"> & {
|
|
29
|
-
default: "vertical" | "horizontal";
|
|
30
|
+
mode: import('vue-types').VueTypeDef<"button" | "vertical" | "horizontal" | "tab"> & {
|
|
31
|
+
default: "button" | "vertical" | "horizontal" | "tab";
|
|
30
32
|
};
|
|
31
33
|
collapsed: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
32
34
|
default: boolean;
|
|
@@ -37,9 +39,10 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
37
39
|
forceExpand: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
38
40
|
default: boolean;
|
|
39
41
|
};
|
|
42
|
+
background: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
40
43
|
}>>, {
|
|
41
44
|
effect: "light" | "dark";
|
|
42
|
-
mode: "vertical" | "horizontal";
|
|
45
|
+
mode: "button" | "vertical" | "horizontal" | "tab";
|
|
43
46
|
collapsed: boolean;
|
|
44
47
|
forceExpand: boolean;
|
|
45
48
|
}>;
|