@polyv/vue-components 1.6.0 → 1.7.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 +2 -2
- package/styles/root/basic.scss +14 -7
- package/styles/root/border.scss +6 -0
- package/styles/skin-color.scss +37 -11
- package/styles/variables.scss +15 -1
- package/vue2/index.es.js +16155 -21494
- package/vue2/src/components/alert/index.d.ts +2 -0
- package/vue2/src/components/alert/src/alert.vue.d.ts +2 -0
- package/vue2/src/components/alert/src/props-define.d.ts +8 -0
- package/vue2/src/components/business/channel-cover/index.d.ts +38 -0
- package/vue2/src/components/business/channel-cover/src/channel-cover.vue.d.ts +38 -0
- package/vue2/src/components/business/channel-cover/src/cover-list.d.ts +7 -0
- package/vue2/src/components/business/channel-cover/src/props-define.d.ts +47 -0
- package/vue2/src/components/business/data-export/data-export-record/use-data-export-record.d.ts +8 -4
- package/vue2/src/components/business/external-links/external-links.vue.d.ts +1 -2
- package/vue2/src/components/business/external-links/use-external-links.d.ts +111 -3
- package/vue2/src/components/business/reward-receive/hooks/use-reward-receive.d.ts +22 -0
- package/vue2/src/components/collapse-transition/index.d.ts +36 -0
- package/vue2/src/components/collapse-transition/src/collapse-transition.vue.d.ts +27 -0
- package/vue2/src/components/collapse-transition/src/props-define.d.ts +9 -0
- package/vue2/src/components/example/example.vue.d.ts +16 -1
- package/vue2/src/components/example/index.d.ts +75 -4
- package/vue2/src/components/exports.d.ts +22 -1
- package/vue2/src/components/form/file-upload/index.d.ts +467 -0
- package/vue2/src/components/form/file-upload/src/file-upload.vue.d.ts +185 -0
- package/vue2/src/components/form/file-upload/src/hooks/props-define.d.ts +296 -0
- package/vue2/src/components/form/file-upload/src/hooks/types.d.ts +52 -0
- package/vue2/src/components/form/file-upload/src/hooks/use-file-input.d.ts +7 -0
- package/vue2/src/components/form/file-upload/src/hooks/use-file-upload-slots.d.ts +10 -0
- package/vue2/src/components/form/file-upload/src/hooks/use-file-upload.d.ts +113 -0
- package/vue2/src/components/form/file-upload/src/hooks/use-upload-controller.d.ts +7 -0
- package/vue2/src/components/form/file-upload/src/upload-add/button-add.vue.d.ts +4 -0
- package/vue2/src/components/form/file-upload/src/upload-add/drag-add.vue.d.ts +5 -0
- package/vue2/src/components/form/file-upload/src/upload-add/picture-card-add.vue.d.ts +4 -0
- package/vue2/src/components/form/file-upload/src/upload-item/file-upload-item.vue.d.ts +23 -0
- package/vue2/src/components/form/file-upload/src/upload-item/picture-card-item.vue.d.ts +14 -0
- package/vue2/src/components/form/file-upload/src/upload-item/text-item.vue.d.ts +16 -0
- package/vue2/src/components/form/file-upload/src/upload-item/use-upload-item.d.ts +10 -0
- package/vue2/src/components/form/form-item/index.d.ts +2 -2
- package/vue2/src/components/form/form-item/src/form-item.vue.d.ts +1 -1
- package/vue2/src/components/form/form-submit-button/index.d.ts +1 -1
- package/vue2/src/components/form/form-submit-button/src/form-submit-button.vue.d.ts +1 -1
- package/vue2/src/components/form/form-wrap/index.d.ts +8 -2
- package/vue2/src/components/form/form-wrap/src/form-wrap.vue.d.ts +3 -1
- package/vue2/src/components/form/form-wrap/src/use-form-wrap.d.ts +4 -0
- package/vue2/src/components/form/hooks/use-form-entrance.d.ts +3 -3
- package/vue2/src/components/form/input-number/index.d.ts +2 -2
- package/vue2/src/components/form/input-number/src/input-number.vue.d.ts +1 -1
- package/vue2/src/components/form/select/index.d.ts +40 -40
- package/vue2/src/components/form/timezone-picker/index.d.ts +70 -70
- package/vue2/src/components/form/timezone-picker/src/hooks/props-define.d.ts +18 -18
- package/vue2/src/components/form/timezone-picker/src/timezone-picker.vue.d.ts +42 -42
- package/vue2/src/components/form/transfer/hooks/props-define.d.ts +0 -1
- package/vue2/src/components/form/transfer/transfer.vue.d.ts +0 -1
- package/vue2/src/components/icons/icons/effect/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/file/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/id-card/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/id-card-filled/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/lang/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/link/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/menu-expand/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/menu-fold-up/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/platform/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/platform-filled/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/statistics-filled/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/upload-three/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/user/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/user-filled/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/video/index.d.ts +6 -0
- package/vue2/src/components/icons/icons/video-filled/index.d.ts +6 -0
- package/vue2/src/components/icons/map.d.ts +16 -0
- package/vue2/src/components/info-card/index.d.ts +181 -2
- package/{vue3/src/components/info-card → vue2/src/components/info-card/src}/info-card.vue.d.ts +11 -1
- package/vue2/src/components/info-card/{props-define.d.ts → src/props-define.d.ts} +18 -1
- package/vue2/src/components/menu/index.d.ts +156 -0
- package/vue2/src/components/menu/src/hooks/use-menu-item.d.ts +29 -0
- package/vue2/src/components/menu/src/hooks/use-menu.d.ts +14 -0
- package/vue2/src/components/menu/src/hooks/use-sub-menu.d.ts +23 -0
- package/vue2/src/components/menu/src/menu-divider.vue.d.ts +2 -0
- package/vue2/src/components/menu/src/menu-item-content.vue.d.ts +2 -0
- package/vue2/src/components/menu/src/menu-item.vue.d.ts +14 -0
- package/vue2/src/components/menu/src/menu.vue.d.ts +52 -0
- package/vue2/src/components/menu/src/props-define.d.ts +114 -0
- package/vue2/src/components/menu/src/sub-menu-popper.vue.d.ts +19 -0
- package/vue2/src/components/menu/src/sub-menu.vue.d.ts +32 -0
- package/vue2/src/components/message-box/_component/message-box-element.vue.d.ts +1 -1
- package/vue2/src/components/message-box/_component/use-message-box-element.d.ts +13 -9
- package/vue2/src/components/pagination/use-pagination.d.ts +3 -3
- package/vue2/src/components/popconfirm/index.d.ts +20 -0
- package/vue2/src/components/popconfirm/src/popconfirm.vue.d.ts +20 -0
- package/vue2/src/components/popconfirm/src/props-define.d.ts +3 -0
- package/vue2/src/components/popover/index.d.ts +20 -0
- package/vue2/src/components/popover/src/popover.vue.d.ts +7 -0
- package/vue2/src/components/popover/src/props-define.d.ts +3 -0
- package/vue2/src/components/popup/index.d.ts +13 -6
- package/vue2/src/components/popup/src/hooks/popup-props.d.ts +6 -4
- package/vue2/src/components/popup/src/hooks/use-popup-provide.d.ts +9 -0
- package/vue2/src/components/popup/src/popup.vue.d.ts +4 -2
- package/vue2/src/components/popup/src/types.d.ts +3 -0
- package/vue2/src/components/slider/index.d.ts +8 -1
- package/vue2/src/components/slider/src/props-define.d.ts +7 -0
- package/vue2/src/components/slider/src/slider.vue.d.ts +8 -1
- package/vue2/src/components/table/index.d.ts +84 -12
- package/vue2/src/components/table/src/components/table-body-cell/body-cell-expand.vue.d.ts +2 -0
- package/vue2/src/components/table/src/components/table-body-row/table-body-row-expand.vue.d.ts +33 -0
- package/vue2/src/components/table/src/components/table-body-row/table-body-row.vue.d.ts +11 -0
- package/vue2/src/components/table/src/components/table-body-row/use-table-body-row.d.ts +8 -0
- package/vue2/src/components/table/src/hooks/props-define.d.ts +58 -2
- package/vue2/src/components/table/src/hooks/use-table/use-column-computed.d.ts +14 -2
- package/vue2/src/components/table/src/hooks/use-table/use-column-list.d.ts +28 -4
- package/vue2/src/components/table/src/hooks/use-table/use-table-footer.d.ts +7 -0
- package/vue2/src/components/table/src/hooks/use-table/use-table-render-data.d.ts +2 -0
- package/vue2/src/components/table/src/hooks/use-table/use-table.d.ts +44 -7
- package/vue2/src/components/table/src/hooks/use-table-column/use-column-children.d.ts +14 -2
- package/vue2/src/components/table/src/hooks/use-table-column/use-column-expand.d.ts +19 -0
- package/vue2/src/components/table/src/hooks/use-table-column/use-table-column.d.ts +2 -1
- package/vue2/src/components/table/src/table-column.vue.d.ts +13 -4
- package/vue2/src/components/table/src/table.vue.d.ts +16 -0
- package/vue2/src/components/table/src/types/index.d.ts +1 -1
- package/vue2/src/components/tooltip/index.d.ts +20 -0
- package/vue2/src/components/tooltip/src/props-define.d.ts +7 -0
- package/vue2/src/components/tooltip/src/tooltip.vue.d.ts +7 -0
- package/vue2/src/hooks/business/use-skin-color/utils.d.ts +1 -1
- package/vue2/src/hooks/exports.d.ts +1 -0
- package/vue2/src/hooks/vue/use-render-slots/index.d.ts +5 -3
- package/vue2/src/lang/internal/en.json.d.ts +28 -6
- package/vue2/src/lang/internal/index.d.ts +22 -0
- package/vue2/src/lang/internal/ja.json.d.ts +29 -7
- package/vue2/src/lang/internal/ko.json.d.ts +29 -7
- package/vue2/src/lang/internal/ru.json.d.ts +29 -7
- package/vue2/src/lang/internal/zh-CN.json.d.ts +27 -5
- package/vue2/src/lang/internal/zh-TW.json.d.ts +28 -6
- package/vue2/src/vue-utils/index.d.ts +1 -0
- package/vue3/index.es.js +16162 -21506
- package/vue3/src/components/alert/index.d.ts +2 -0
- package/vue3/src/components/alert/src/alert.vue.d.ts +2 -0
- package/vue3/src/components/alert/src/props-define.d.ts +8 -0
- package/vue3/src/components/business/channel-cover/index.d.ts +38 -0
- package/vue3/src/components/business/channel-cover/src/channel-cover.vue.d.ts +38 -0
- package/vue3/src/components/business/channel-cover/src/cover-list.d.ts +7 -0
- package/vue3/src/components/business/channel-cover/src/props-define.d.ts +47 -0
- package/vue3/src/components/business/data-export/data-export-record/use-data-export-record.d.ts +8 -4
- package/vue3/src/components/business/external-links/external-links.vue.d.ts +1 -2
- package/vue3/src/components/business/external-links/use-external-links.d.ts +111 -3
- package/vue3/src/components/business/reward-receive/hooks/use-reward-receive.d.ts +22 -0
- package/vue3/src/components/collapse-transition/index.d.ts +36 -0
- package/vue3/src/components/collapse-transition/src/collapse-transition.vue.d.ts +27 -0
- package/vue3/src/components/collapse-transition/src/props-define.d.ts +9 -0
- package/vue3/src/components/example/example.vue.d.ts +16 -1
- package/vue3/src/components/example/index.d.ts +75 -4
- package/vue3/src/components/exports.d.ts +22 -1
- package/vue3/src/components/form/file-upload/index.d.ts +467 -0
- package/vue3/src/components/form/file-upload/src/file-upload.vue.d.ts +185 -0
- package/vue3/src/components/form/file-upload/src/hooks/props-define.d.ts +296 -0
- package/vue3/src/components/form/file-upload/src/hooks/types.d.ts +52 -0
- package/vue3/src/components/form/file-upload/src/hooks/use-file-input.d.ts +7 -0
- package/vue3/src/components/form/file-upload/src/hooks/use-file-upload-slots.d.ts +10 -0
- package/vue3/src/components/form/file-upload/src/hooks/use-file-upload.d.ts +113 -0
- package/vue3/src/components/form/file-upload/src/hooks/use-upload-controller.d.ts +7 -0
- package/vue3/src/components/form/file-upload/src/upload-add/button-add.vue.d.ts +4 -0
- package/vue3/src/components/form/file-upload/src/upload-add/drag-add.vue.d.ts +5 -0
- package/vue3/src/components/form/file-upload/src/upload-add/picture-card-add.vue.d.ts +4 -0
- package/vue3/src/components/form/file-upload/src/upload-item/file-upload-item.vue.d.ts +23 -0
- package/vue3/src/components/form/file-upload/src/upload-item/picture-card-item.vue.d.ts +14 -0
- package/vue3/src/components/form/file-upload/src/upload-item/text-item.vue.d.ts +16 -0
- package/vue3/src/components/form/file-upload/src/upload-item/use-upload-item.d.ts +10 -0
- package/vue3/src/components/form/form-item/index.d.ts +2 -2
- package/vue3/src/components/form/form-item/src/form-item.vue.d.ts +1 -1
- package/vue3/src/components/form/form-submit-button/index.d.ts +1 -1
- package/vue3/src/components/form/form-submit-button/src/form-submit-button.vue.d.ts +1 -1
- package/vue3/src/components/form/form-wrap/index.d.ts +8 -2
- package/vue3/src/components/form/form-wrap/src/form-wrap.vue.d.ts +3 -1
- package/vue3/src/components/form/form-wrap/src/use-form-wrap.d.ts +4 -0
- package/vue3/src/components/form/hooks/use-form-entrance.d.ts +3 -3
- package/vue3/src/components/form/input-number/index.d.ts +2 -2
- package/vue3/src/components/form/input-number/src/input-number.vue.d.ts +1 -1
- package/vue3/src/components/form/select/index.d.ts +40 -40
- package/vue3/src/components/form/timezone-picker/index.d.ts +70 -70
- package/vue3/src/components/form/timezone-picker/src/hooks/props-define.d.ts +18 -18
- package/vue3/src/components/form/timezone-picker/src/timezone-picker.vue.d.ts +42 -42
- package/vue3/src/components/form/transfer/hooks/props-define.d.ts +0 -1
- package/vue3/src/components/form/transfer/transfer.vue.d.ts +0 -1
- package/vue3/src/components/icons/icons/effect/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/file/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/id-card/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/id-card-filled/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/lang/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/link/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/menu-expand/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/menu-fold-up/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/platform/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/platform-filled/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/statistics-filled/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/upload-three/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/user/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/user-filled/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/video/index.d.ts +6 -0
- package/vue3/src/components/icons/icons/video-filled/index.d.ts +6 -0
- package/vue3/src/components/icons/map.d.ts +16 -0
- package/vue3/src/components/info-card/index.d.ts +181 -2
- package/{vue2/src/components/info-card → vue3/src/components/info-card/src}/info-card.vue.d.ts +11 -1
- package/vue3/src/components/info-card/{props-define.d.ts → src/props-define.d.ts} +18 -1
- package/vue3/src/components/menu/index.d.ts +156 -0
- package/vue3/src/components/menu/src/hooks/use-menu-item.d.ts +29 -0
- package/vue3/src/components/menu/src/hooks/use-menu.d.ts +14 -0
- package/vue3/src/components/menu/src/hooks/use-sub-menu.d.ts +23 -0
- package/vue3/src/components/menu/src/menu-divider.vue.d.ts +2 -0
- package/vue3/src/components/menu/src/menu-item-content.vue.d.ts +2 -0
- package/vue3/src/components/menu/src/menu-item.vue.d.ts +14 -0
- package/vue3/src/components/menu/src/menu.vue.d.ts +52 -0
- package/vue3/src/components/menu/src/props-define.d.ts +114 -0
- package/vue3/src/components/menu/src/sub-menu-popper.vue.d.ts +19 -0
- package/vue3/src/components/menu/src/sub-menu.vue.d.ts +32 -0
- package/vue3/src/components/message-box/_component/message-box-element.vue.d.ts +1 -1
- package/vue3/src/components/message-box/_component/use-message-box-element.d.ts +13 -9
- package/vue3/src/components/pagination/use-pagination.d.ts +3 -3
- package/vue3/src/components/popconfirm/index.d.ts +20 -0
- package/vue3/src/components/popconfirm/src/popconfirm.vue.d.ts +20 -0
- package/vue3/src/components/popconfirm/src/props-define.d.ts +3 -0
- package/vue3/src/components/popover/index.d.ts +20 -0
- package/vue3/src/components/popover/src/popover.vue.d.ts +7 -0
- package/vue3/src/components/popover/src/props-define.d.ts +3 -0
- package/vue3/src/components/popup/index.d.ts +13 -6
- package/vue3/src/components/popup/src/hooks/popup-props.d.ts +6 -4
- package/vue3/src/components/popup/src/hooks/use-popup-provide.d.ts +9 -0
- package/vue3/src/components/popup/src/popup.vue.d.ts +4 -2
- package/vue3/src/components/popup/src/types.d.ts +3 -0
- package/vue3/src/components/slider/index.d.ts +8 -1
- package/vue3/src/components/slider/src/props-define.d.ts +7 -0
- package/vue3/src/components/slider/src/slider.vue.d.ts +8 -1
- package/vue3/src/components/table/index.d.ts +84 -12
- package/vue3/src/components/table/src/components/table-body-cell/body-cell-expand.vue.d.ts +2 -0
- package/vue3/src/components/table/src/components/table-body-row/table-body-row-expand.vue.d.ts +33 -0
- package/vue3/src/components/table/src/components/table-body-row/table-body-row.vue.d.ts +11 -0
- package/vue3/src/components/table/src/components/table-body-row/use-table-body-row.d.ts +8 -0
- package/vue3/src/components/table/src/hooks/props-define.d.ts +58 -2
- package/vue3/src/components/table/src/hooks/use-table/use-column-computed.d.ts +14 -2
- package/vue3/src/components/table/src/hooks/use-table/use-column-list.d.ts +28 -4
- package/vue3/src/components/table/src/hooks/use-table/use-table-footer.d.ts +7 -0
- package/vue3/src/components/table/src/hooks/use-table/use-table-render-data.d.ts +2 -0
- package/vue3/src/components/table/src/hooks/use-table/use-table.d.ts +44 -7
- package/vue3/src/components/table/src/hooks/use-table-column/use-column-children.d.ts +14 -2
- package/vue3/src/components/table/src/hooks/use-table-column/use-column-expand.d.ts +19 -0
- package/vue3/src/components/table/src/hooks/use-table-column/use-table-column.d.ts +2 -1
- package/vue3/src/components/table/src/table-column.vue.d.ts +13 -4
- package/vue3/src/components/table/src/table.vue.d.ts +16 -0
- package/vue3/src/components/table/src/types/index.d.ts +1 -1
- package/vue3/src/components/tooltip/index.d.ts +20 -0
- package/vue3/src/components/tooltip/src/props-define.d.ts +7 -0
- package/vue3/src/components/tooltip/src/tooltip.vue.d.ts +7 -0
- package/vue3/src/hooks/business/use-skin-color/utils.d.ts +1 -1
- package/vue3/src/hooks/exports.d.ts +1 -0
- package/vue3/src/hooks/vue/use-render-slots/index.d.ts +5 -3
- package/vue3/src/lang/internal/en.json.d.ts +28 -6
- package/vue3/src/lang/internal/index.d.ts +22 -0
- package/vue3/src/lang/internal/ja.json.d.ts +29 -7
- package/vue3/src/lang/internal/ko.json.d.ts +29 -7
- package/vue3/src/lang/internal/ru.json.d.ts +29 -7
- package/vue3/src/lang/internal/zh-CN.json.d.ts +27 -5
- package/vue3/src/lang/internal/zh-TW.json.d.ts +28 -6
- package/vue3/src/vue-utils/index.d.ts +1 -0
- package/vue2/src/components/form/index.d.ts +0 -18
- package/vue3/src/components/form/index.d.ts +0 -18
|
@@ -21,7 +21,7 @@ export declare const PwcPopup: import('../../vue-utils/install-utils').SFCInstal
|
|
|
21
21
|
default: boolean;
|
|
22
22
|
};
|
|
23
23
|
effect: import('vue-types').VueTypeDef<"compact" | "standard" | "custom">;
|
|
24
|
-
purpose: import('vue-types').VueTypeDef<"gray" | "marketing">;
|
|
24
|
+
purpose: import('vue-types').VueTypeDef<"gray" | "marketing" | "interaction">;
|
|
25
25
|
title: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
26
26
|
titleStyle: import('vue-types').VueTypeValidableDef<import('vue').CSSProperties, import('vue-types/dist/types').ValidatorFunction<import('vue').CSSProperties>> & {
|
|
27
27
|
default: () => import('vue').CSSProperties;
|
|
@@ -80,6 +80,7 @@ export declare const PwcPopup: import('../../vue-utils/install-utils').SFCInstal
|
|
|
80
80
|
default: boolean;
|
|
81
81
|
};
|
|
82
82
|
customClose: import('vue-types').VueTypeValidableDef<import('./src/types').CustomClosePopup, import('vue-types/dist/types').ValidatorFunction<import('./src/types').CustomClosePopup>>;
|
|
83
|
+
customBack: import('vue-types').VueTypeValidableDef<import('./src/types').CustomBackPopup, import('vue-types/dist/types').ValidatorFunction<import('./src/types').CustomBackPopup>>;
|
|
83
84
|
draggable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
84
85
|
default: boolean;
|
|
85
86
|
};
|
|
@@ -121,7 +122,7 @@ export declare const PwcPopup: import('../../vue-utils/install-utils').SFCInstal
|
|
|
121
122
|
default: boolean;
|
|
122
123
|
};
|
|
123
124
|
effect: import('vue-types').VueTypeDef<"compact" | "standard" | "custom">;
|
|
124
|
-
purpose: import('vue-types').VueTypeDef<"gray" | "marketing">;
|
|
125
|
+
purpose: import('vue-types').VueTypeDef<"gray" | "marketing" | "interaction">;
|
|
125
126
|
title: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
126
127
|
titleStyle: import('vue-types').VueTypeValidableDef<import('vue').CSSProperties, import('vue-types/dist/types').ValidatorFunction<import('vue').CSSProperties>> & {
|
|
127
128
|
default: () => import('vue').CSSProperties;
|
|
@@ -180,6 +181,7 @@ export declare const PwcPopup: import('../../vue-utils/install-utils').SFCInstal
|
|
|
180
181
|
default: boolean;
|
|
181
182
|
};
|
|
182
183
|
customClose: import('vue-types').VueTypeValidableDef<import('./src/types').CustomClosePopup, import('vue-types/dist/types').ValidatorFunction<import('./src/types').CustomClosePopup>>;
|
|
184
|
+
customBack: import('vue-types').VueTypeValidableDef<import('./src/types').CustomBackPopup, import('vue-types/dist/types').ValidatorFunction<import('./src/types').CustomBackPopup>>;
|
|
183
185
|
draggable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
184
186
|
default: boolean;
|
|
185
187
|
};
|
|
@@ -257,7 +259,7 @@ export declare const PwcPopup: import('../../vue-utils/install-utils').SFCInstal
|
|
|
257
259
|
default: boolean;
|
|
258
260
|
};
|
|
259
261
|
effect: import('vue-types').VueTypeDef<"compact" | "standard" | "custom">;
|
|
260
|
-
purpose: import('vue-types').VueTypeDef<"gray" | "marketing">;
|
|
262
|
+
purpose: import('vue-types').VueTypeDef<"gray" | "marketing" | "interaction">;
|
|
261
263
|
title: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
262
264
|
titleStyle: import('vue-types').VueTypeValidableDef<import('vue').CSSProperties, import('vue-types/dist/types').ValidatorFunction<import('vue').CSSProperties>> & {
|
|
263
265
|
default: () => import('vue').CSSProperties;
|
|
@@ -316,6 +318,7 @@ export declare const PwcPopup: import('../../vue-utils/install-utils').SFCInstal
|
|
|
316
318
|
default: boolean;
|
|
317
319
|
};
|
|
318
320
|
customClose: import('vue-types').VueTypeValidableDef<import('./src/types').CustomClosePopup, import('vue-types/dist/types').ValidatorFunction<import('./src/types').CustomClosePopup>>;
|
|
321
|
+
customBack: import('vue-types').VueTypeValidableDef<import('./src/types').CustomBackPopup, import('vue-types/dist/types').ValidatorFunction<import('./src/types').CustomBackPopup>>;
|
|
319
322
|
draggable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
320
323
|
default: boolean;
|
|
321
324
|
};
|
|
@@ -361,7 +364,7 @@ export declare const PwcPopup: import('../../vue-utils/install-utils').SFCInstal
|
|
|
361
364
|
default: boolean;
|
|
362
365
|
};
|
|
363
366
|
effect: import('vue-types').VueTypeDef<"compact" | "standard" | "custom">;
|
|
364
|
-
purpose: import('vue-types').VueTypeDef<"gray" | "marketing">;
|
|
367
|
+
purpose: import('vue-types').VueTypeDef<"gray" | "marketing" | "interaction">;
|
|
365
368
|
title: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
366
369
|
titleStyle: import('vue-types').VueTypeValidableDef<import('vue').CSSProperties, import('vue-types/dist/types').ValidatorFunction<import('vue').CSSProperties>> & {
|
|
367
370
|
default: () => import('vue').CSSProperties;
|
|
@@ -420,6 +423,7 @@ export declare const PwcPopup: import('../../vue-utils/install-utils').SFCInstal
|
|
|
420
423
|
default: boolean;
|
|
421
424
|
};
|
|
422
425
|
customClose: import('vue-types').VueTypeValidableDef<import('./src/types').CustomClosePopup, import('vue-types/dist/types').ValidatorFunction<import('./src/types').CustomClosePopup>>;
|
|
426
|
+
customBack: import('vue-types').VueTypeValidableDef<import('./src/types').CustomBackPopup, import('vue-types/dist/types').ValidatorFunction<import('./src/types').CustomBackPopup>>;
|
|
423
427
|
draggable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
424
428
|
default: boolean;
|
|
425
429
|
};
|
|
@@ -461,7 +465,7 @@ export declare const PwcPopup: import('../../vue-utils/install-utils').SFCInstal
|
|
|
461
465
|
default: boolean;
|
|
462
466
|
};
|
|
463
467
|
effect: import('vue-types').VueTypeDef<"compact" | "standard" | "custom">;
|
|
464
|
-
purpose: import('vue-types').VueTypeDef<"gray" | "marketing">;
|
|
468
|
+
purpose: import('vue-types').VueTypeDef<"gray" | "marketing" | "interaction">;
|
|
465
469
|
title: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
466
470
|
titleStyle: import('vue-types').VueTypeValidableDef<import('vue').CSSProperties, import('vue-types/dist/types').ValidatorFunction<import('vue').CSSProperties>> & {
|
|
467
471
|
default: () => import('vue').CSSProperties;
|
|
@@ -520,6 +524,7 @@ export declare const PwcPopup: import('../../vue-utils/install-utils').SFCInstal
|
|
|
520
524
|
default: boolean;
|
|
521
525
|
};
|
|
522
526
|
customClose: import('vue-types').VueTypeValidableDef<import('./src/types').CustomClosePopup, import('vue-types/dist/types').ValidatorFunction<import('./src/types').CustomClosePopup>>;
|
|
527
|
+
customBack: import('vue-types').VueTypeValidableDef<import('./src/types').CustomBackPopup, import('vue-types/dist/types').ValidatorFunction<import('./src/types').CustomBackPopup>>;
|
|
523
528
|
draggable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
524
529
|
default: boolean;
|
|
525
530
|
};
|
|
@@ -602,7 +607,7 @@ export declare const PwcPopup: import('../../vue-utils/install-utils').SFCInstal
|
|
|
602
607
|
default: boolean;
|
|
603
608
|
};
|
|
604
609
|
effect: import('vue-types').VueTypeDef<"compact" | "standard" | "custom">;
|
|
605
|
-
purpose: import('vue-types').VueTypeDef<"gray" | "marketing">;
|
|
610
|
+
purpose: import('vue-types').VueTypeDef<"gray" | "marketing" | "interaction">;
|
|
606
611
|
title: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
607
612
|
titleStyle: import('vue-types').VueTypeValidableDef<import('vue').CSSProperties, import('vue-types/dist/types').ValidatorFunction<import('vue').CSSProperties>> & {
|
|
608
613
|
default: () => import('vue').CSSProperties;
|
|
@@ -661,6 +666,7 @@ export declare const PwcPopup: import('../../vue-utils/install-utils').SFCInstal
|
|
|
661
666
|
default: boolean;
|
|
662
667
|
};
|
|
663
668
|
customClose: import('vue-types').VueTypeValidableDef<import('./src/types').CustomClosePopup, import('vue-types/dist/types').ValidatorFunction<import('./src/types').CustomClosePopup>>;
|
|
669
|
+
customBack: import('vue-types').VueTypeValidableDef<import('./src/types').CustomBackPopup, import('vue-types/dist/types').ValidatorFunction<import('./src/types').CustomBackPopup>>;
|
|
664
670
|
draggable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
665
671
|
default: boolean;
|
|
666
672
|
};
|
|
@@ -694,3 +700,4 @@ export declare const PwcPopup: import('../../vue-utils/install-utils').SFCInstal
|
|
|
694
700
|
export * from './src/types';
|
|
695
701
|
export * from './src/hooks/use-popup-config';
|
|
696
702
|
export * from './src/hooks/popup-props';
|
|
703
|
+
export { type PopupInjectData, usePopupInject } from './src/hooks/use-popup-provide';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { PopupConfig, CustomClosePopup } from '../types';
|
|
1
|
+
import { PopupConfig, CustomClosePopup, CustomBackPopup } from '../types';
|
|
2
2
|
/** 弹层主题,compact 紧凑型,standard 标准型,custom 自定义 */
|
|
3
3
|
export declare const popupEffects: readonly ["compact", "standard", "custom"];
|
|
4
4
|
export type PopupEffect = typeof popupEffects[number];
|
|
5
|
-
/** 弹层用途,gray 灰色,marketing
|
|
6
|
-
export declare const popupPurpose: readonly ["gray", "marketing"];
|
|
5
|
+
/** 弹层用途,gray 灰色,marketing 营销,interaction 互动 */
|
|
6
|
+
export declare const popupPurpose: readonly ["gray", "marketing", "interaction"];
|
|
7
7
|
export type PopupPurpose = typeof popupPurpose[number];
|
|
8
8
|
export declare const popupProps: () => {
|
|
9
9
|
ignoreSkinColor: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
@@ -39,7 +39,7 @@ export declare const popupProps: () => {
|
|
|
39
39
|
* 弹层用途
|
|
40
40
|
* @propType PopupPurpose
|
|
41
41
|
*/
|
|
42
|
-
purpose: import('vue-types').VueTypeDef<"gray" | "marketing">;
|
|
42
|
+
purpose: import('vue-types').VueTypeDef<"gray" | "marketing" | "interaction">;
|
|
43
43
|
/**
|
|
44
44
|
* 标题
|
|
45
45
|
*/
|
|
@@ -187,6 +187,8 @@ export declare const popupProps: () => {
|
|
|
187
187
|
* 自定义关闭弹层
|
|
188
188
|
*/
|
|
189
189
|
customClose: import('vue-types').VueTypeValidableDef<CustomClosePopup, import('vue-types/dist/types').ValidatorFunction<CustomClosePopup>>;
|
|
190
|
+
/** 自定义返回 */
|
|
191
|
+
customBack: import('vue-types').VueTypeValidableDef<CustomBackPopup, import('vue-types/dist/types').ValidatorFunction<CustomBackPopup>>;
|
|
190
192
|
/**
|
|
191
193
|
* 窗口是否可以拖拽
|
|
192
194
|
* @description 仅 PC 端在 position 为 center 时有效
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { VueProps } from '../../../../vue-utils';
|
|
2
|
+
import { popupProps } from './popup-props';
|
|
3
|
+
export interface PopupInjectData {
|
|
4
|
+
popupProps: VueProps<typeof popupProps>;
|
|
5
|
+
}
|
|
6
|
+
export declare const usePopupProvide: (options: {
|
|
7
|
+
props: VueProps<typeof popupProps>;
|
|
8
|
+
}) => void;
|
|
9
|
+
export declare const usePopupInject: () => PopupInjectData | undefined;
|
|
@@ -175,7 +175,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
175
175
|
default: boolean;
|
|
176
176
|
};
|
|
177
177
|
effect: import('vue-types').VueTypeDef<"compact" | "standard" | "custom">;
|
|
178
|
-
purpose: import('vue-types').VueTypeDef<"gray" | "marketing">;
|
|
178
|
+
purpose: import('vue-types').VueTypeDef<"gray" | "marketing" | "interaction">;
|
|
179
179
|
title: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
180
180
|
titleStyle: import('vue-types').VueTypeValidableDef<import('vue').CSSProperties, import('vue-types/dist/types').ValidatorFunction<import('vue').CSSProperties>> & {
|
|
181
181
|
default: () => import('vue').CSSProperties;
|
|
@@ -234,6 +234,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
234
234
|
default: boolean;
|
|
235
235
|
};
|
|
236
236
|
customClose: import('vue-types').VueTypeValidableDef<import('./types').CustomClosePopup, import('vue-types/dist/types').ValidatorFunction<import('./types').CustomClosePopup>>;
|
|
237
|
+
customBack: import('vue-types').VueTypeValidableDef<import('./types').CustomBackPopup, import('vue-types/dist/types').ValidatorFunction<import('./types').CustomBackPopup>>;
|
|
237
238
|
draggable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
238
239
|
default: boolean;
|
|
239
240
|
};
|
|
@@ -287,7 +288,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
287
288
|
default: boolean;
|
|
288
289
|
};
|
|
289
290
|
effect: import('vue-types').VueTypeDef<"compact" | "standard" | "custom">;
|
|
290
|
-
purpose: import('vue-types').VueTypeDef<"gray" | "marketing">;
|
|
291
|
+
purpose: import('vue-types').VueTypeDef<"gray" | "marketing" | "interaction">;
|
|
291
292
|
title: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
292
293
|
titleStyle: import('vue-types').VueTypeValidableDef<import('vue').CSSProperties, import('vue-types/dist/types').ValidatorFunction<import('vue').CSSProperties>> & {
|
|
293
294
|
default: () => import('vue').CSSProperties;
|
|
@@ -346,6 +347,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
346
347
|
default: boolean;
|
|
347
348
|
};
|
|
348
349
|
customClose: import('vue-types').VueTypeValidableDef<import('./types').CustomClosePopup, import('vue-types/dist/types').ValidatorFunction<import('./types').CustomClosePopup>>;
|
|
350
|
+
customBack: import('vue-types').VueTypeValidableDef<import('./types').CustomBackPopup, import('vue-types/dist/types').ValidatorFunction<import('./types').CustomBackPopup>>;
|
|
349
351
|
draggable: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
350
352
|
default: boolean;
|
|
351
353
|
};
|
|
@@ -11,6 +11,9 @@ export interface PopupConfig {
|
|
|
11
11
|
export type CustomClosePopup = (options: {
|
|
12
12
|
closeBody: () => void;
|
|
13
13
|
}) => unknown;
|
|
14
|
+
export type CustomBackPopup = (options: {
|
|
15
|
+
closeBody: () => void;
|
|
16
|
+
}) => unknown;
|
|
14
17
|
export type PopupBackAction = () => void;
|
|
15
18
|
export interface PopupBackActionData {
|
|
16
19
|
backAction?: PopupBackAction;
|
|
@@ -37,6 +37,9 @@ export declare const PwcSlider: import('../../vue-utils/install-utils').SFCInsta
|
|
|
37
37
|
default: number;
|
|
38
38
|
};
|
|
39
39
|
sliderBarHeight: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
40
|
+
buttonSize: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
41
|
+
default: number;
|
|
42
|
+
};
|
|
40
43
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
41
44
|
change: (arg: import('./src/props-define').SliderValue) => void;
|
|
42
45
|
}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -78,12 +81,15 @@ export declare const PwcSlider: import('../../vue-utils/install-utils').SFCInsta
|
|
|
78
81
|
default: number;
|
|
79
82
|
};
|
|
80
83
|
sliderBarHeight: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
84
|
+
buttonSize: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
85
|
+
default: number;
|
|
86
|
+
};
|
|
81
87
|
}>>, {
|
|
82
88
|
"v-model-key": import('./src/props-define').SliderValue;
|
|
83
89
|
disabled: boolean;
|
|
84
90
|
range: boolean;
|
|
85
|
-
min: number;
|
|
86
91
|
max: number;
|
|
92
|
+
min: number;
|
|
87
93
|
showTooltip: boolean;
|
|
88
94
|
step: number;
|
|
89
95
|
showStops: boolean;
|
|
@@ -91,5 +97,6 @@ export declare const PwcSlider: import('../../vue-utils/install-utils').SFCInsta
|
|
|
91
97
|
cssRotateAngle: 0 | 180 | 90 | 270;
|
|
92
98
|
progressBarVisible: boolean;
|
|
93
99
|
hotAreaHeight: number;
|
|
100
|
+
buttonSize: number;
|
|
94
101
|
}>, import('../../vue-utils/install-utils').InstallOptions>;
|
|
95
102
|
export * from './src/props-define';
|
|
@@ -97,6 +97,13 @@ export declare const sliderProps: () => {
|
|
|
97
97
|
* 滑块条高度
|
|
98
98
|
*/
|
|
99
99
|
sliderBarHeight: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
100
|
+
/**
|
|
101
|
+
* 按钮大小
|
|
102
|
+
* @default 14
|
|
103
|
+
*/
|
|
104
|
+
buttonSize: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
105
|
+
default: number;
|
|
106
|
+
};
|
|
100
107
|
};
|
|
101
108
|
export declare const sliderEmits: () => {
|
|
102
109
|
/**
|
|
@@ -37,6 +37,9 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
37
37
|
default: number;
|
|
38
38
|
};
|
|
39
39
|
sliderBarHeight: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
40
|
+
buttonSize: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
41
|
+
default: number;
|
|
42
|
+
};
|
|
40
43
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
41
44
|
change: (arg: import('./props-define').SliderValue) => void;
|
|
42
45
|
}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -78,12 +81,15 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
78
81
|
default: number;
|
|
79
82
|
};
|
|
80
83
|
sliderBarHeight: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
84
|
+
buttonSize: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
85
|
+
default: number;
|
|
86
|
+
};
|
|
81
87
|
}>>, {
|
|
82
88
|
"v-model-key": import('./props-define').SliderValue;
|
|
83
89
|
disabled: boolean;
|
|
84
90
|
range: boolean;
|
|
85
|
-
min: number;
|
|
86
91
|
max: number;
|
|
92
|
+
min: number;
|
|
87
93
|
showTooltip: boolean;
|
|
88
94
|
step: number;
|
|
89
95
|
showStops: boolean;
|
|
@@ -91,5 +97,6 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
91
97
|
cssRotateAngle: 0 | 180 | 90 | 270;
|
|
92
98
|
progressBarVisible: boolean;
|
|
93
99
|
hotAreaHeight: number;
|
|
100
|
+
buttonSize: number;
|
|
94
101
|
}>;
|
|
95
102
|
export default _default;
|
|
@@ -6,6 +6,13 @@ export declare const PwcTable: import('../../vue-utils/install-utils').SFCInstal
|
|
|
6
6
|
default: number;
|
|
7
7
|
};
|
|
8
8
|
headerBgColor: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
9
|
+
headerSticky: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
footerSticky: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
footerBgColor: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
9
16
|
height: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
10
17
|
maxHeight: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
11
18
|
flexHeight: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
@@ -80,6 +87,13 @@ export declare const PwcTable: import('../../vue-utils/install-utils').SFCInstal
|
|
|
80
87
|
default: number;
|
|
81
88
|
};
|
|
82
89
|
headerBgColor: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
90
|
+
headerSticky: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
91
|
+
default: boolean;
|
|
92
|
+
};
|
|
93
|
+
footerSticky: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
94
|
+
default: boolean;
|
|
95
|
+
};
|
|
96
|
+
footerBgColor: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
83
97
|
height: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
84
98
|
maxHeight: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
85
99
|
flexHeight: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
@@ -174,6 +188,8 @@ export declare const PwcTable: import('../../vue-utils/install-utils').SFCInstal
|
|
|
174
188
|
}>>;
|
|
175
189
|
border: boolean;
|
|
176
190
|
headerHeight: number;
|
|
191
|
+
headerSticky: boolean;
|
|
192
|
+
footerSticky: boolean;
|
|
177
193
|
flexHeight: boolean;
|
|
178
194
|
hoverRow: boolean;
|
|
179
195
|
hoverColumn: boolean;
|
|
@@ -186,6 +202,13 @@ export declare const PwcTable: import('../../vue-utils/install-utils').SFCInstal
|
|
|
186
202
|
default: number;
|
|
187
203
|
};
|
|
188
204
|
headerBgColor: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
205
|
+
headerSticky: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
206
|
+
default: boolean;
|
|
207
|
+
};
|
|
208
|
+
footerSticky: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
209
|
+
default: boolean;
|
|
210
|
+
};
|
|
211
|
+
footerBgColor: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
189
212
|
height: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
190
213
|
maxHeight: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
191
214
|
flexHeight: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
@@ -260,6 +283,13 @@ export declare const PwcTable: import('../../vue-utils/install-utils').SFCInstal
|
|
|
260
283
|
default: number;
|
|
261
284
|
};
|
|
262
285
|
headerBgColor: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
286
|
+
headerSticky: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
287
|
+
default: boolean;
|
|
288
|
+
};
|
|
289
|
+
footerSticky: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
290
|
+
default: boolean;
|
|
291
|
+
};
|
|
292
|
+
footerBgColor: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
263
293
|
height: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
264
294
|
maxHeight: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
265
295
|
flexHeight: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
@@ -334,6 +364,13 @@ export declare const PwcTable: import('../../vue-utils/install-utils').SFCInstal
|
|
|
334
364
|
default: number;
|
|
335
365
|
};
|
|
336
366
|
headerBgColor: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
367
|
+
headerSticky: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
368
|
+
default: boolean;
|
|
369
|
+
};
|
|
370
|
+
footerSticky: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
371
|
+
default: boolean;
|
|
372
|
+
};
|
|
373
|
+
footerBgColor: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
337
374
|
height: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
338
375
|
maxHeight: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
339
376
|
flexHeight: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
@@ -428,6 +465,8 @@ export declare const PwcTable: import('../../vue-utils/install-utils').SFCInstal
|
|
|
428
465
|
}>>;
|
|
429
466
|
border: boolean;
|
|
430
467
|
headerHeight: number;
|
|
468
|
+
headerSticky: boolean;
|
|
469
|
+
footerSticky: boolean;
|
|
431
470
|
flexHeight: boolean;
|
|
432
471
|
hoverRow: boolean;
|
|
433
472
|
hoverColumn: boolean;
|
|
@@ -441,6 +480,13 @@ export declare const PwcTable: import('../../vue-utils/install-utils').SFCInstal
|
|
|
441
480
|
default: number;
|
|
442
481
|
};
|
|
443
482
|
headerBgColor: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
483
|
+
headerSticky: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
484
|
+
default: boolean;
|
|
485
|
+
};
|
|
486
|
+
footerSticky: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
487
|
+
default: boolean;
|
|
488
|
+
};
|
|
489
|
+
footerBgColor: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
444
490
|
height: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
445
491
|
maxHeight: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>>;
|
|
446
492
|
flexHeight: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
@@ -515,7 +561,7 @@ export declare const PwcTable: import('../../vue-utils/install-utils').SFCInstal
|
|
|
515
561
|
}), import('../../vue-utils/install-utils').InstallOptions>;
|
|
516
562
|
export declare const PwcTableColumn: 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<{
|
|
517
563
|
"v-model-key": import('vue-types').VueTypeValidableDef<any, import('vue-types/dist/types').ValidatorFunction<any>>;
|
|
518
|
-
type: import('vue-types').VueTypeDef<"operation" | "tags" | "index" | "single" | "multiple">;
|
|
564
|
+
type: import('vue-types').VueTypeDef<"operation" | "tags" | "index" | "single" | "multiple" | "expand">;
|
|
519
565
|
title: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
520
566
|
prop: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
521
567
|
width: import('vue-types').VueTypeDef<string | number>;
|
|
@@ -536,10 +582,14 @@ export declare const PwcTableColumn: import('../../vue-utils/install-utils').SFC
|
|
|
536
582
|
ellipsis: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
537
583
|
default: boolean;
|
|
538
584
|
};
|
|
539
|
-
formatter: import('vue-types').
|
|
585
|
+
formatter: import('vue-types').VueTypeDef<"date" | import('./src/hooks/props-define').TableColumnFormatterFuncType | import('./src/hooks/props-define').TableColumnFormatter>;
|
|
586
|
+
showExpand: import('vue-types').VueTypeValidableDef<(params: import('./src/types').TableRowParams) => boolean, import('vue-types/dist/types').ValidatorFunction<(params: import('./src/types').TableRowParams) => boolean>>;
|
|
587
|
+
emptyText: import('vue-types').VueTypeDef<string | boolean> & {
|
|
588
|
+
default: string | boolean;
|
|
589
|
+
};
|
|
540
590
|
}>>, Readonly<import('vue').ExtractPropTypes<{
|
|
541
591
|
"v-model-key": import('vue-types').VueTypeValidableDef<any, import('vue-types/dist/types').ValidatorFunction<any>>;
|
|
542
|
-
type: import('vue-types').VueTypeDef<"operation" | "tags" | "index" | "single" | "multiple">;
|
|
592
|
+
type: import('vue-types').VueTypeDef<"operation" | "tags" | "index" | "single" | "multiple" | "expand">;
|
|
543
593
|
title: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
544
594
|
prop: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
545
595
|
width: import('vue-types').VueTypeDef<string | number>;
|
|
@@ -560,17 +610,22 @@ export declare const PwcTableColumn: import('../../vue-utils/install-utils').SFC
|
|
|
560
610
|
ellipsis: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
561
611
|
default: boolean;
|
|
562
612
|
};
|
|
563
|
-
formatter: import('vue-types').
|
|
613
|
+
formatter: import('vue-types').VueTypeDef<"date" | import('./src/hooks/props-define').TableColumnFormatterFuncType | import('./src/hooks/props-define').TableColumnFormatter>;
|
|
614
|
+
showExpand: import('vue-types').VueTypeValidableDef<(params: import('./src/types').TableRowParams) => boolean, import('vue-types/dist/types').ValidatorFunction<(params: import('./src/types').TableRowParams) => boolean>>;
|
|
615
|
+
emptyText: import('vue-types').VueTypeDef<string | boolean> & {
|
|
616
|
+
default: string | boolean;
|
|
617
|
+
};
|
|
564
618
|
}>>, {
|
|
565
619
|
[x: string]: (...args: any[]) => void;
|
|
566
620
|
}, {
|
|
567
621
|
ellipsis: boolean;
|
|
622
|
+
emptyText: string | boolean;
|
|
568
623
|
multipleMax: number;
|
|
569
624
|
headerTips: string;
|
|
570
625
|
sortable: boolean;
|
|
571
626
|
}, true, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import('vue').ExtractPropTypes<{
|
|
572
627
|
"v-model-key": import('vue-types').VueTypeValidableDef<any, import('vue-types/dist/types').ValidatorFunction<any>>;
|
|
573
|
-
type: import('vue-types').VueTypeDef<"operation" | "tags" | "index" | "single" | "multiple">;
|
|
628
|
+
type: import('vue-types').VueTypeDef<"operation" | "tags" | "index" | "single" | "multiple" | "expand">;
|
|
574
629
|
title: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
575
630
|
prop: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
576
631
|
width: import('vue-types').VueTypeDef<string | number>;
|
|
@@ -591,10 +646,14 @@ export declare const PwcTableColumn: import('../../vue-utils/install-utils').SFC
|
|
|
591
646
|
ellipsis: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
592
647
|
default: boolean;
|
|
593
648
|
};
|
|
594
|
-
formatter: import('vue-types').
|
|
649
|
+
formatter: import('vue-types').VueTypeDef<"date" | import('./src/hooks/props-define').TableColumnFormatterFuncType | import('./src/hooks/props-define').TableColumnFormatter>;
|
|
650
|
+
showExpand: import('vue-types').VueTypeValidableDef<(params: import('./src/types').TableRowParams) => boolean, import('vue-types/dist/types').ValidatorFunction<(params: import('./src/types').TableRowParams) => boolean>>;
|
|
651
|
+
emptyText: import('vue-types').VueTypeDef<string | boolean> & {
|
|
652
|
+
default: string | boolean;
|
|
653
|
+
};
|
|
595
654
|
}>>> & import('vue').ShallowUnwrapRef<{}> & import('vue/types/v3-component-options').ExtractComputedReturns<{}> & import('vue').ComponentCustomProperties & Readonly<import('vue').ExtractPropTypes<{
|
|
596
655
|
"v-model-key": import('vue-types').VueTypeValidableDef<any, import('vue-types/dist/types').ValidatorFunction<any>>;
|
|
597
|
-
type: import('vue-types').VueTypeDef<"operation" | "tags" | "index" | "single" | "multiple">;
|
|
656
|
+
type: import('vue-types').VueTypeDef<"operation" | "tags" | "index" | "single" | "multiple" | "expand">;
|
|
598
657
|
title: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
599
658
|
prop: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
600
659
|
width: import('vue-types').VueTypeDef<string | number>;
|
|
@@ -615,10 +674,14 @@ export declare const PwcTableColumn: import('../../vue-utils/install-utils').SFC
|
|
|
615
674
|
ellipsis: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
616
675
|
default: boolean;
|
|
617
676
|
};
|
|
618
|
-
formatter: import('vue-types').
|
|
677
|
+
formatter: import('vue-types').VueTypeDef<"date" | import('./src/hooks/props-define').TableColumnFormatterFuncType | import('./src/hooks/props-define').TableColumnFormatter>;
|
|
678
|
+
showExpand: import('vue-types').VueTypeValidableDef<(params: import('./src/types').TableRowParams) => boolean, import('vue-types/dist/types').ValidatorFunction<(params: import('./src/types').TableRowParams) => boolean>>;
|
|
679
|
+
emptyText: import('vue-types').VueTypeDef<string | boolean> & {
|
|
680
|
+
default: string | boolean;
|
|
681
|
+
};
|
|
619
682
|
}>>> & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
620
683
|
"v-model-key": import('vue-types').VueTypeValidableDef<any, import('vue-types/dist/types').ValidatorFunction<any>>;
|
|
621
|
-
type: import('vue-types').VueTypeDef<"operation" | "tags" | "index" | "single" | "multiple">;
|
|
684
|
+
type: import('vue-types').VueTypeDef<"operation" | "tags" | "index" | "single" | "multiple" | "expand">;
|
|
622
685
|
title: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
623
686
|
prop: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
624
687
|
width: import('vue-types').VueTypeDef<string | number>;
|
|
@@ -639,18 +702,23 @@ export declare const PwcTableColumn: import('../../vue-utils/install-utils').SFC
|
|
|
639
702
|
ellipsis: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
640
703
|
default: boolean;
|
|
641
704
|
};
|
|
642
|
-
formatter: import('vue-types').
|
|
705
|
+
formatter: import('vue-types').VueTypeDef<"date" | import('./src/hooks/props-define').TableColumnFormatterFuncType | import('./src/hooks/props-define').TableColumnFormatter>;
|
|
706
|
+
showExpand: import('vue-types').VueTypeValidableDef<(params: import('./src/types').TableRowParams) => boolean, import('vue-types/dist/types').ValidatorFunction<(params: import('./src/types').TableRowParams) => boolean>>;
|
|
707
|
+
emptyText: import('vue-types').VueTypeDef<string | boolean> & {
|
|
708
|
+
default: string | boolean;
|
|
709
|
+
};
|
|
643
710
|
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
644
711
|
[x: string]: (...args: any[]) => void;
|
|
645
712
|
}, string, {
|
|
646
713
|
ellipsis: boolean;
|
|
714
|
+
emptyText: string | boolean;
|
|
647
715
|
multipleMax: number;
|
|
648
716
|
headerTips: string;
|
|
649
717
|
sortable: boolean;
|
|
650
718
|
}> & {
|
|
651
719
|
props: {
|
|
652
720
|
"v-model-key": import('vue-types').VueTypeValidableDef<any, import('vue-types/dist/types').ValidatorFunction<any>>;
|
|
653
|
-
type: import('vue-types').VueTypeDef<"operation" | "tags" | "index" | "single" | "multiple">;
|
|
721
|
+
type: import('vue-types').VueTypeDef<"operation" | "tags" | "index" | "single" | "multiple" | "expand">;
|
|
654
722
|
title: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
655
723
|
prop: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>>;
|
|
656
724
|
width: import('vue-types').VueTypeDef<string | number>;
|
|
@@ -671,7 +739,11 @@ export declare const PwcTableColumn: import('../../vue-utils/install-utils').SFC
|
|
|
671
739
|
ellipsis: import('vue-types').VueTypeValidableDef<boolean, import('vue-types/dist/types').ValidatorFunction<boolean>> & {
|
|
672
740
|
default: boolean;
|
|
673
741
|
};
|
|
674
|
-
formatter: import('vue-types').
|
|
742
|
+
formatter: import('vue-types').VueTypeDef<"date" | import('./src/hooks/props-define').TableColumnFormatterFuncType | import('./src/hooks/props-define').TableColumnFormatter>;
|
|
743
|
+
showExpand: import('vue-types').VueTypeValidableDef<(params: import('./src/types').TableRowParams) => boolean, import('vue-types/dist/types').ValidatorFunction<(params: import('./src/types').TableRowParams) => boolean>>;
|
|
744
|
+
emptyText: import('vue-types').VueTypeDef<string | boolean> & {
|
|
745
|
+
default: string | boolean;
|
|
746
|
+
};
|
|
675
747
|
};
|
|
676
748
|
} & (new () => {
|
|
677
749
|
$scopedSlots: {
|
package/vue2/src/components/table/src/components/table-body-row/table-body-row-expand.vue.d.ts
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
renderRowKey: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
3
|
+
default: string;
|
|
4
|
+
} & {
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
rowData: import('vue-types').VueTypeValidableDef<any, import('vue-types/dist/types').ValidatorFunction<any>> & {
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
rowIndex: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
11
|
+
default: number;
|
|
12
|
+
} & {
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
16
|
+
renderRowKey: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
17
|
+
default: string;
|
|
18
|
+
} & {
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
rowData: import('vue-types').VueTypeValidableDef<any, import('vue-types/dist/types').ValidatorFunction<any>> & {
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
rowIndex: import('vue-types').VueTypeValidableDef<number, import('vue-types/dist/types').ValidatorFunction<number>> & {
|
|
25
|
+
default: number;
|
|
26
|
+
} & {
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
29
|
+
}>>, {
|
|
30
|
+
rowIndex: number;
|
|
31
|
+
renderRowKey: string;
|
|
32
|
+
}>;
|
|
33
|
+
export default _default;
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
renderRowKey: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
3
|
+
default: string;
|
|
4
|
+
} & {
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
2
7
|
rowData: import('vue-types').VueTypeValidableDef<any, import('vue-types/dist/types').ValidatorFunction<any>> & {
|
|
3
8
|
required: true;
|
|
4
9
|
};
|
|
@@ -8,6 +13,11 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
8
13
|
required: true;
|
|
9
14
|
};
|
|
10
15
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
16
|
+
renderRowKey: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
17
|
+
default: string;
|
|
18
|
+
} & {
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
11
21
|
rowData: import('vue-types').VueTypeValidableDef<any, import('vue-types/dist/types').ValidatorFunction<any>> & {
|
|
12
22
|
required: true;
|
|
13
23
|
};
|
|
@@ -18,5 +28,6 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
18
28
|
};
|
|
19
29
|
}>>, {
|
|
20
30
|
rowIndex: number;
|
|
31
|
+
renderRowKey: string;
|
|
21
32
|
}>;
|
|
22
33
|
export default _default;
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { ComputedRef } from 'vue';
|
|
2
2
|
import { VueProps } from '../../../../../vue-utils';
|
|
3
3
|
export declare const tableBodyRowProps: () => {
|
|
4
|
+
renderRowKey: import('vue-types').VueTypeValidableDef<string, import('vue-types/dist/types').ValidatorFunction<string>> & {
|
|
5
|
+
default: string;
|
|
6
|
+
} & {
|
|
7
|
+
required: true;
|
|
8
|
+
};
|
|
4
9
|
rowData: import('vue-types').VueTypeValidableDef<any, import('vue-types/dist/types').ValidatorFunction<any>> & {
|
|
5
10
|
required: true;
|
|
6
11
|
};
|
|
@@ -11,6 +16,8 @@ export declare const tableBodyRowProps: () => {
|
|
|
11
16
|
};
|
|
12
17
|
};
|
|
13
18
|
export interface TableBodyRowInjectData {
|
|
19
|
+
/** 渲染行键值 */
|
|
20
|
+
renderRowKey: ComputedRef<string>;
|
|
14
21
|
/** 行数据 */
|
|
15
22
|
rowData: ComputedRef<any>;
|
|
16
23
|
/** 行索引 */
|
|
@@ -19,6 +26,7 @@ export interface TableBodyRowInjectData {
|
|
|
19
26
|
export declare const useTableBodyRow: (options: {
|
|
20
27
|
props: VueProps<typeof tableBodyRowProps>;
|
|
21
28
|
}) => {
|
|
29
|
+
renderRowKey: ComputedRef<string>;
|
|
22
30
|
rowData: ComputedRef<any>;
|
|
23
31
|
rowIndex: ComputedRef<number>;
|
|
24
32
|
};
|