y-element-ultra 0.0.2 → 0.0.3
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/es/core-components.d.ts +2 -2
- package/es/core-components.js +2 -2
- package/es/lang/en_US.d.ts +2 -2
- package/es/lang/zh_CN.d.ts +2 -2
- package/es/lang/zh_TW.d.ts +2 -2
- package/es/utils/message.d.ts +2 -2
- package/es/utils/message.js +8 -8
- package/es/utils/modal-hook.d.ts +1 -1
- package/es/utils/resolvers.d.ts +2 -2
- package/es/utils/resolvers.js +2 -2
- package/es/y-admin-layout/components/layout-tabs.d.ts +3 -3
- package/es/y-admin-layout/index.d.ts +17 -17
- package/es/y-admin-layout/props.d.ts +7 -7
- package/es/y-app/index.d.ts +2 -2
- package/es/y-app/index.js +2 -2
- package/es/y-app/plus.d.ts +57 -57
- package/es/y-app/plusx.d.ts +10 -10
- package/es/y-avatar-group/index.d.ts +4 -4
- package/es/y-avatar-group/props.d.ts +3 -3
- package/es/y-basic-select/components/select-view.d.ts +4 -4
- package/es/y-basic-select/index.d.ts +9 -9
- package/es/y-basic-select/props.d.ts +3 -3
- package/es/y-basic-select/types.d.ts +4 -8
- package/es/y-buttons/types.d.ts +4 -4
- package/es/y-config-provider/components/receiver-view.js +19 -23
- package/es/y-config-provider/index.d.ts +4 -4
- package/es/y-config-provider/props.d.ts +4 -4
- package/es/y-config-provider/receiver.d.ts +3 -3
- package/es/y-config-provider/receiver.js +37 -1
- package/es/y-config-provider/types.d.ts +8 -8
- package/es/y-copyable/index.d.ts +2 -2
- package/es/y-copyable/props.d.ts +2 -2
- package/es/y-cron-builder/index.d.ts +2 -2
- package/es/y-cron-builder/index.js +2 -2
- package/es/y-cron-builder/props.d.ts +2 -2
- package/es/y-cron-panel/index.js +1 -1
- package/es/y-cropper/components/cropper-tools.d.ts +3 -3
- package/es/y-cropper/index.d.ts +2 -2
- package/es/y-cropper/props.d.ts +2 -2
- package/es/y-cropper-modal/index.d.ts +4 -4
- package/es/y-cropper-modal/props.d.ts +3 -3
- package/es/y-crud/index.d.ts +4 -4
- package/es/y-crud/props.d.ts +2 -2
- package/es/y-crud/types.d.ts +21 -21
- package/es/y-crud/util.d.ts +2 -2
- package/es/y-crud-builder/components/body-header.d.ts +5 -5
- package/es/y-crud-builder/components/code-generator.d.ts +3 -3
- package/es/y-crud-builder/components/code-preview.d.ts +3 -3
- package/es/y-crud-builder/components/form-design-modal.d.ts +7 -7
- package/es/y-crud-builder/components/import-modal.d.ts +5 -5
- package/es/y-crud-builder/components/page-config.d.ts +7 -7
- package/es/y-crud-builder/components/template-list.d.ts +3 -3
- package/es/y-crud-builder/index.d.ts +9 -9
- package/es/y-crud-builder/props.d.ts +6 -6
- package/es/y-crud-builder/types.d.ts +2 -2
- package/es/y-data-table/types.d.ts +2 -2
- package/es/y-drawer/index.d.ts +2 -2
- package/es/y-drawer/props.d.ts +2 -2
- package/es/y-dropdown/components/pro-dropdown.d.ts +2 -2
- package/es/y-dropdown-provider/index.d.ts +1 -1
- package/es/y-dropdown-provider/types.d.ts +2 -2
- package/es/y-dropdown-provider/util.d.ts +4 -4
- package/es/y-edit-tag/index.d.ts +2 -2
- package/es/y-edit-tag/props.d.ts +2 -2
- package/es/y-ellipsis/index.d.ts +2 -2
- package/es/y-ellipsis/types.d.ts +2 -2
- package/es/y-file-list/index.d.ts +5 -5
- package/es/y-file-list/props.d.ts +3 -3
- package/es/y-icon-select/components/icon-grid.d.ts +3 -3
- package/es/y-icon-select/index.d.ts +8 -8
- package/es/y-icon-select/props.d.ts +4 -4
- package/es/y-map-picker/index.d.ts +4 -4
- package/es/y-map-picker/props.d.ts +2 -2
- package/es/y-menus/types.d.ts +2 -2
- package/es/y-modal/index.d.ts +2 -2
- package/es/y-modal/props.d.ts +2 -2
- package/es/y-modal-render/index.js +1 -1
- package/es/y-modal-render/types.d.ts +3 -6
- package/es/y-modal-render/use-modal.d.ts +1 -1
- package/es/y-popconfirm/index.d.ts +4 -4
- package/es/y-popconfirm/props.d.ts +2 -2
- package/es/y-popconfirm-provider/index.d.ts +1 -1
- package/es/y-popconfirm-provider/types.d.ts +2 -2
- package/es/y-popconfirm-provider/util.d.ts +3 -3
- package/es/y-popover/index.d.ts +2 -2
- package/es/y-pro-form-builder/components/body-form.d.ts +3 -3
- package/es/y-pro-form-builder/components/body-header.d.ts +5 -5
- package/es/y-pro-form-builder/components/code-generator.d.ts +6 -6
- package/es/y-pro-form-builder/components/code-preview.d.ts +3 -3
- package/es/y-pro-form-builder/components/config-form.d.ts +3 -3
- package/es/y-pro-form-builder/components/import-modal.d.ts +5 -5
- package/es/y-pro-form-builder/components/preview-modal.d.ts +3 -3
- package/es/y-pro-form-builder/components/props-form.d.ts +3 -3
- package/es/y-pro-form-builder/components/template-list.d.ts +3 -3
- package/es/y-pro-form-builder/index.d.ts +9 -9
- package/es/y-pro-form-builder/props.d.ts +6 -6
- package/es/y-pro-form-builder/types.d.ts +4 -4
- package/es/y-pro-layout/index.d.ts +22 -22
- package/es/y-pro-layout/index.js +2 -2
- package/es/y-pro-layout/props.d.ts +11 -11
- package/es/y-pro-layout/types.d.ts +2 -2
- package/es/y-pro-layout/util.d.ts +2 -2
- package/es/y-pro-table/components/tool-column.d.ts +3 -3
- package/es/y-pro-table/components/tool-export.d.ts +3 -3
- package/es/y-pro-table/components/tool-print.d.ts +7 -7
- package/es/y-pro-table/index.d.ts +7 -7
- package/es/y-pro-table/props.d.ts +3 -3
- package/es/y-pro-table/types.d.ts +13 -13
- package/es/y-pro-table/util.d.ts +2 -2
- package/es/y-qr-code-svg/qrcodegen.d.ts +2 -2
- package/es/y-tab-wrap/components/tab-dropdown.d.ts +4 -4
- package/es/y-table-select/index.d.ts +9 -9
- package/es/y-table-select/props.d.ts +4 -4
- package/es/y-tabs/index.d.ts +6 -6
- package/es/y-tabs/props.d.ts +3 -3
- package/es/y-tool/index.d.ts +4 -4
- package/es/y-tool/props.d.ts +2 -2
- package/es/y-toolbar/index.d.ts +7 -7
- package/es/y-toolbar/props.d.ts +3 -3
- package/es/y-toolbar/types.d.ts +2 -2
- package/es/y-tour/index.d.ts +2 -2
- package/es/y-tour/types.d.ts +2 -2
- package/es/y-tour/util.d.ts +2 -2
- package/es/y-tree-select/index.d.ts +6 -6
- package/es/y-tree-select/props.d.ts +2 -2
- package/es/y-upload-list/index.d.ts +2 -2
- package/es/y-upload-list/props.d.ts +2 -2
- package/es/y-virtual-table/components/cell-filter.d.ts +4 -4
- package/es/y-watermark/index.js +15 -17
- package/es/y-watermark/util.d.ts +1 -1
- package/lib/core-components.cjs +2 -2
- package/lib/core-components.d.ts +2 -2
- package/lib/lang/en_US.d.ts +2 -2
- package/lib/lang/zh_CN.d.ts +2 -2
- package/lib/lang/zh_TW.d.ts +2 -2
- package/lib/utils/message.cjs +8 -8
- package/lib/utils/message.d.ts +2 -2
- package/lib/utils/modal-hook.d.ts +1 -1
- package/lib/utils/resolvers.cjs +2 -2
- package/lib/utils/resolvers.d.ts +2 -2
- package/lib/y-admin-layout/components/layout-tabs.d.ts +3 -3
- package/lib/y-admin-layout/index.d.ts +17 -17
- package/lib/y-admin-layout/props.d.ts +7 -7
- package/lib/y-app/index.cjs +2 -2
- package/lib/y-app/index.d.ts +2 -2
- package/lib/y-app/plus.d.ts +57 -57
- package/lib/y-app/plusx.d.ts +10 -10
- package/lib/y-avatar-group/index.d.ts +4 -4
- package/lib/y-avatar-group/props.d.ts +3 -3
- package/lib/y-basic-select/components/select-view.d.ts +4 -4
- package/lib/y-basic-select/index.d.ts +9 -9
- package/lib/y-basic-select/props.d.ts +3 -3
- package/lib/y-basic-select/types.d.ts +4 -8
- package/lib/y-buttons/types.d.ts +4 -4
- package/lib/y-config-provider/components/receiver-view.cjs +1 -1
- package/lib/y-config-provider/index.d.ts +4 -4
- package/lib/y-config-provider/props.d.ts +4 -4
- package/lib/y-config-provider/receiver.cjs +37 -1
- package/lib/y-config-provider/receiver.d.ts +3 -3
- package/lib/y-config-provider/types.d.ts +8 -8
- package/lib/y-copyable/index.d.ts +2 -2
- package/lib/y-copyable/props.d.ts +2 -2
- package/lib/y-cron-builder/index.cjs +2 -2
- package/lib/y-cron-builder/index.d.ts +2 -2
- package/lib/y-cron-builder/props.d.ts +2 -2
- package/lib/y-cron-panel/index.cjs +1 -1
- package/lib/y-cropper/components/cropper-tools.d.ts +3 -3
- package/lib/y-cropper/index.d.ts +2 -2
- package/lib/y-cropper/props.d.ts +2 -2
- package/lib/y-cropper-modal/index.d.ts +4 -4
- package/lib/y-cropper-modal/props.d.ts +3 -3
- package/lib/y-crud/index.d.ts +4 -4
- package/lib/y-crud/props.d.ts +2 -2
- package/lib/y-crud/types.d.ts +21 -21
- package/lib/y-crud/util.d.ts +2 -2
- package/lib/y-crud-builder/components/body-header.d.ts +5 -5
- package/lib/y-crud-builder/components/code-generator.d.ts +3 -3
- package/lib/y-crud-builder/components/code-preview.d.ts +3 -3
- package/lib/y-crud-builder/components/form-design-modal.d.ts +7 -7
- package/lib/y-crud-builder/components/import-modal.d.ts +5 -5
- package/lib/y-crud-builder/components/page-config.d.ts +7 -7
- package/lib/y-crud-builder/components/template-list.d.ts +3 -3
- package/lib/y-crud-builder/index.d.ts +9 -9
- package/lib/y-crud-builder/props.d.ts +6 -6
- package/lib/y-crud-builder/types.d.ts +2 -2
- package/lib/y-data-table/types.d.ts +2 -2
- package/lib/y-drawer/index.d.ts +2 -2
- package/lib/y-drawer/props.d.ts +2 -2
- package/lib/y-dropdown/components/pro-dropdown.d.ts +2 -2
- package/lib/y-dropdown-provider/index.d.ts +1 -1
- package/lib/y-dropdown-provider/types.d.ts +2 -2
- package/lib/y-dropdown-provider/util.d.ts +4 -4
- package/lib/y-edit-tag/index.d.ts +2 -2
- package/lib/y-edit-tag/props.d.ts +2 -2
- package/lib/y-ellipsis/index.d.ts +2 -2
- package/lib/y-ellipsis/types.d.ts +2 -2
- package/lib/y-file-list/index.d.ts +5 -5
- package/lib/y-file-list/props.d.ts +3 -3
- package/lib/y-icon-select/components/icon-grid.d.ts +3 -3
- package/lib/y-icon-select/index.d.ts +8 -8
- package/lib/y-icon-select/props.d.ts +4 -4
- package/lib/y-map-picker/index.d.ts +4 -4
- package/lib/y-map-picker/props.d.ts +2 -2
- package/lib/y-menus/types.d.ts +2 -2
- package/lib/y-modal/index.d.ts +2 -2
- package/lib/y-modal/props.d.ts +2 -2
- package/lib/y-modal-render/index.cjs +1 -1
- package/lib/y-modal-render/types.d.ts +3 -6
- package/lib/y-modal-render/use-modal.d.ts +1 -1
- package/lib/y-popconfirm/index.d.ts +4 -4
- package/lib/y-popconfirm/props.d.ts +2 -2
- package/lib/y-popconfirm-provider/index.d.ts +1 -1
- package/lib/y-popconfirm-provider/types.d.ts +2 -2
- package/lib/y-popconfirm-provider/util.d.ts +3 -3
- package/lib/y-popover/index.d.ts +2 -2
- package/lib/y-pro-form-builder/components/body-form.d.ts +3 -3
- package/lib/y-pro-form-builder/components/body-header.d.ts +5 -5
- package/lib/y-pro-form-builder/components/code-generator.d.ts +6 -6
- package/lib/y-pro-form-builder/components/code-preview.d.ts +3 -3
- package/lib/y-pro-form-builder/components/config-form.d.ts +3 -3
- package/lib/y-pro-form-builder/components/import-modal.d.ts +5 -5
- package/lib/y-pro-form-builder/components/preview-modal.d.ts +3 -3
- package/lib/y-pro-form-builder/components/props-form.d.ts +3 -3
- package/lib/y-pro-form-builder/components/template-list.d.ts +3 -3
- package/lib/y-pro-form-builder/index.d.ts +9 -9
- package/lib/y-pro-form-builder/props.d.ts +6 -6
- package/lib/y-pro-form-builder/types.d.ts +4 -4
- package/lib/y-pro-layout/index.cjs +2 -2
- package/lib/y-pro-layout/index.d.ts +22 -22
- package/lib/y-pro-layout/props.d.ts +11 -11
- package/lib/y-pro-layout/types.d.ts +2 -2
- package/lib/y-pro-layout/util.d.ts +2 -2
- package/lib/y-pro-table/components/tool-column.d.ts +3 -3
- package/lib/y-pro-table/components/tool-export.d.ts +3 -3
- package/lib/y-pro-table/components/tool-print.d.ts +7 -7
- package/lib/y-pro-table/index.d.ts +7 -7
- package/lib/y-pro-table/props.d.ts +3 -3
- package/lib/y-pro-table/types.d.ts +13 -13
- package/lib/y-pro-table/util.d.ts +2 -2
- package/lib/y-qr-code-svg/qrcodegen.d.ts +2 -2
- package/lib/y-tab-wrap/components/tab-dropdown.d.ts +4 -4
- package/lib/y-table-select/index.d.ts +9 -9
- package/lib/y-table-select/props.d.ts +4 -4
- package/lib/y-tabs/index.d.ts +6 -6
- package/lib/y-tabs/props.d.ts +3 -3
- package/lib/y-tool/index.d.ts +4 -4
- package/lib/y-tool/props.d.ts +2 -2
- package/lib/y-toolbar/index.d.ts +7 -7
- package/lib/y-toolbar/props.d.ts +3 -3
- package/lib/y-toolbar/types.d.ts +2 -2
- package/lib/y-tour/index.d.ts +2 -2
- package/lib/y-tour/types.d.ts +2 -2
- package/lib/y-tour/util.d.ts +2 -2
- package/lib/y-tree-select/index.d.ts +6 -6
- package/lib/y-tree-select/props.d.ts +2 -2
- package/lib/y-upload-list/index.d.ts +2 -2
- package/lib/y-upload-list/props.d.ts +2 -2
- package/lib/y-virtual-table/components/cell-filter.d.ts +4 -4
- package/lib/y-watermark/index.cjs +14 -16
- package/lib/y-watermark/util.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { YAdminLayoutInstance, YBreadcrumbProps, YBacktopProps, YMenusProps } from '../y-app/plus';
|
|
2
2
|
import { MenuItem, TabItem, LevelItem, TabItemEventOption } from './types';
|
|
3
3
|
import { Layout, SidebarLayout, TabBar, Maximized } from '../y-admin-layout/types';
|
|
4
4
|
|
|
@@ -73,15 +73,15 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
73
73
|
type: BooleanConstructor;
|
|
74
74
|
default: boolean;
|
|
75
75
|
};
|
|
76
|
-
ellipsisProps: import('vue').PropType<
|
|
77
|
-
menuTrigger: import('vue').PropType<
|
|
76
|
+
ellipsisProps: import('vue').PropType<YMenusProps["ellipsisProps"]>;
|
|
77
|
+
menuTrigger: import('vue').PropType<YMenusProps["menuTrigger"]>;
|
|
78
78
|
sidebarOpeneds: import('vue').PropType<string[]>;
|
|
79
79
|
uniqueOpened: {
|
|
80
80
|
type: BooleanConstructor;
|
|
81
81
|
default: boolean;
|
|
82
82
|
};
|
|
83
83
|
colorfulIcon: BooleanConstructor;
|
|
84
|
-
tooltipEffect: import('vue').PropType<
|
|
84
|
+
tooltipEffect: import('vue').PropType<YMenusProps["popperEffect"]>;
|
|
85
85
|
menuTextEllipsisTooltip: import('vue').PropType<import('../y-menus/types').TextEllipsisTooltip | undefined>;
|
|
86
86
|
expanded: BooleanConstructor;
|
|
87
87
|
breadcrumbSeparator: import('vue').PropType<import('../y-breadcrumb/types').BreadcrumbSeparator>;
|
|
@@ -98,16 +98,16 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
98
98
|
default: boolean;
|
|
99
99
|
};
|
|
100
100
|
breadcrumb: {
|
|
101
|
-
type: import('vue').PropType<boolean |
|
|
101
|
+
type: import('vue').PropType<boolean | YBreadcrumbProps>;
|
|
102
102
|
default: boolean;
|
|
103
103
|
};
|
|
104
104
|
backTop: {
|
|
105
|
-
type: import('vue').PropType<boolean |
|
|
105
|
+
type: import('vue').PropType<boolean | YBacktopProps>;
|
|
106
106
|
default: boolean;
|
|
107
107
|
};
|
|
108
|
-
headerMenuProps: import('vue').PropType<
|
|
109
|
-
sidebarMenuProps: import('vue').PropType<
|
|
110
|
-
sideboxMenuProps: import('vue').PropType<
|
|
108
|
+
headerMenuProps: import('vue').PropType<YMenusProps>;
|
|
109
|
+
sidebarMenuProps: import('vue').PropType<YMenusProps>;
|
|
110
|
+
sideboxMenuProps: import('vue').PropType<YMenusProps>;
|
|
111
111
|
sidebarLayout: import('vue').PropType<SidebarLayout>;
|
|
112
112
|
headerStyle: import('vue').PropType<import('./types').HeaderStyle>;
|
|
113
113
|
sidebarStyle: {
|
|
@@ -137,7 +137,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
137
137
|
default: boolean;
|
|
138
138
|
};
|
|
139
139
|
homePath: StringConstructor;
|
|
140
|
-
tabContextMenu: import('vue').PropType<boolean | import('../y-app/plus').
|
|
140
|
+
tabContextMenu: import('vue').PropType<boolean | import('../y-app/plus').YDropdownProps>;
|
|
141
141
|
tabContextMenus: import('vue').PropType<import('../y-tabs/types').ContextMenus>;
|
|
142
142
|
tabSortable: BooleanConstructor;
|
|
143
143
|
headerTitleSlot: {
|
|
@@ -182,7 +182,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
182
182
|
default: boolean;
|
|
183
183
|
};
|
|
184
184
|
}>, {
|
|
185
|
-
layoutRef: import('vue').Ref<
|
|
185
|
+
layoutRef: import('vue').Ref<YAdminLayoutInstance, YAdminLayoutInstance>;
|
|
186
186
|
openModal: (option: import('../y-modal-render/types').ModalItem) => import('../y-modal-render/types').ModalItemId;
|
|
187
187
|
closeModal: (modalId?: import('../y-modal-render/types').ModalItemId) => void;
|
|
188
188
|
closeAllModal: () => void;
|
|
@@ -245,15 +245,15 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
245
245
|
type: BooleanConstructor;
|
|
246
246
|
default: boolean;
|
|
247
247
|
};
|
|
248
|
-
ellipsisProps: import('vue').PropType<
|
|
249
|
-
menuTrigger: import('vue').PropType<
|
|
248
|
+
ellipsisProps: import('vue').PropType<YMenusProps["ellipsisProps"]>;
|
|
249
|
+
menuTrigger: import('vue').PropType<YMenusProps["menuTrigger"]>;
|
|
250
250
|
sidebarOpeneds: import('vue').PropType<string[]>;
|
|
251
251
|
uniqueOpened: {
|
|
252
252
|
type: BooleanConstructor;
|
|
253
253
|
default: boolean;
|
|
254
254
|
};
|
|
255
255
|
colorfulIcon: BooleanConstructor;
|
|
256
|
-
tooltipEffect: import('vue').PropType<
|
|
256
|
+
tooltipEffect: import('vue').PropType<YMenusProps["popperEffect"]>;
|
|
257
257
|
menuTextEllipsisTooltip: import('vue').PropType<import('../y-menus/types').TextEllipsisTooltip | undefined>;
|
|
258
258
|
expanded: BooleanConstructor;
|
|
259
259
|
breadcrumbSeparator: import('vue').PropType<import('../y-breadcrumb/types').BreadcrumbSeparator>;
|
|
@@ -270,16 +270,16 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
270
270
|
default: boolean;
|
|
271
271
|
};
|
|
272
272
|
breadcrumb: {
|
|
273
|
-
type: import('vue').PropType<boolean |
|
|
273
|
+
type: import('vue').PropType<boolean | YBreadcrumbProps>;
|
|
274
274
|
default: boolean;
|
|
275
275
|
};
|
|
276
276
|
backTop: {
|
|
277
|
-
type: import('vue').PropType<boolean |
|
|
277
|
+
type: import('vue').PropType<boolean | YBacktopProps>;
|
|
278
278
|
default: boolean;
|
|
279
279
|
};
|
|
280
|
-
headerMenuProps: import('vue').PropType<
|
|
281
|
-
sidebarMenuProps: import('vue').PropType<
|
|
282
|
-
sideboxMenuProps: import('vue').PropType<
|
|
280
|
+
headerMenuProps: import('vue').PropType<YMenusProps>;
|
|
281
|
+
sidebarMenuProps: import('vue').PropType<YMenusProps>;
|
|
282
|
+
sideboxMenuProps: import('vue').PropType<YMenusProps>;
|
|
283
283
|
sidebarLayout: import('vue').PropType<SidebarLayout>;
|
|
284
284
|
headerStyle: import('vue').PropType<import('./types').HeaderStyle>;
|
|
285
285
|
sidebarStyle: {
|
|
@@ -309,7 +309,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
309
309
|
default: boolean;
|
|
310
310
|
};
|
|
311
311
|
homePath: StringConstructor;
|
|
312
|
-
tabContextMenu: import('vue').PropType<boolean | import('../y-app/plus').
|
|
312
|
+
tabContextMenu: import('vue').PropType<boolean | import('../y-app/plus').YDropdownProps>;
|
|
313
313
|
tabContextMenus: import('vue').PropType<import('../y-tabs/types').ContextMenus>;
|
|
314
314
|
tabSortable: BooleanConstructor;
|
|
315
315
|
headerTitleSlot: {
|
|
@@ -376,8 +376,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
376
376
|
ellipsis: boolean;
|
|
377
377
|
compact: boolean;
|
|
378
378
|
tabBar: TabBar;
|
|
379
|
-
breadcrumb: boolean |
|
|
380
|
-
backTop: boolean |
|
|
379
|
+
breadcrumb: boolean | YBreadcrumbProps;
|
|
380
|
+
backTop: boolean | YBacktopProps;
|
|
381
381
|
sidebarStyle: import('./types').SidebarStyle;
|
|
382
382
|
tabStyle: import('./types').TabStyle;
|
|
383
383
|
fixedHeader: boolean;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { PropType, ExtractPropTypes, InjectionKey } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { YMenusProps } from '../y-app/plus';
|
|
3
3
|
import { BreadcrumbSeparator as Separator } from '../y-breadcrumb/types';
|
|
4
4
|
import { MenuItem, TabItem, MenuItemTrigger, MenuI18n, BeforeClick, TabItemEventOption, BodySizeChangeOption, ProLayoutProvide } from './types';
|
|
5
5
|
|
|
6
|
-
type TextEllipsisTooltip =
|
|
6
|
+
type TextEllipsisTooltip = YMenusProps['textEllipsisTooltip'];
|
|
7
7
|
type ProLayoutKey = InjectionKey<ProLayoutProvide>;
|
|
8
8
|
/**
|
|
9
9
|
* 属性
|
|
@@ -72,9 +72,9 @@ export declare const proLayoutProps: {
|
|
|
72
72
|
default: boolean;
|
|
73
73
|
};
|
|
74
74
|
/** 顶栏菜单省略项的属性 */
|
|
75
|
-
ellipsisProps: PropType<
|
|
75
|
+
ellipsisProps: PropType<YMenusProps["ellipsisProps"]>;
|
|
76
76
|
/** 顶栏子菜单触发方式 */
|
|
77
|
-
menuTrigger: PropType<
|
|
77
|
+
menuTrigger: PropType<YMenusProps["menuTrigger"]>;
|
|
78
78
|
/** 侧栏默认展开的菜单 */
|
|
79
79
|
sidebarOpeneds: PropType<string[]>;
|
|
80
80
|
/** 侧栏是否只保持一个子菜单展开 */
|
|
@@ -85,7 +85,7 @@ export declare const proLayoutProps: {
|
|
|
85
85
|
/** 侧栏菜单是否彩色图标 */
|
|
86
86
|
colorfulIcon: BooleanConstructor;
|
|
87
87
|
/** 菜单 tooltip 主题 */
|
|
88
|
-
tooltipEffect: PropType<
|
|
88
|
+
tooltipEffect: PropType<YMenusProps["popperEffect"]>;
|
|
89
89
|
/** 是否开启菜单文本溢出提示 */
|
|
90
90
|
menuTextEllipsisTooltip: PropType<TextEllipsisTooltip>;
|
|
91
91
|
/** 内容区最大时不带页签栏 */
|
|
@@ -109,16 +109,16 @@ export declare const proLayoutProps: {
|
|
|
109
109
|
default: boolean;
|
|
110
110
|
};
|
|
111
111
|
breadcrumb: {
|
|
112
|
-
type: PropType<boolean | import('../y-app/plus').
|
|
112
|
+
type: PropType<boolean | import('../y-app/plus').YBreadcrumbProps>;
|
|
113
113
|
default: boolean;
|
|
114
114
|
};
|
|
115
115
|
backTop: {
|
|
116
|
-
type: PropType<boolean | import('../y-app/plus').
|
|
116
|
+
type: PropType<boolean | import('../y-app/plus').YBacktopProps>;
|
|
117
117
|
default: boolean;
|
|
118
118
|
};
|
|
119
|
-
headerMenuProps: PropType<
|
|
120
|
-
sidebarMenuProps: PropType<
|
|
121
|
-
sideboxMenuProps: PropType<
|
|
119
|
+
headerMenuProps: PropType<YMenusProps>;
|
|
120
|
+
sidebarMenuProps: PropType<YMenusProps>;
|
|
121
|
+
sideboxMenuProps: PropType<YMenusProps>;
|
|
122
122
|
sidebarLayout: PropType<import('./types').SidebarLayout>;
|
|
123
123
|
headerStyle: PropType<import('./types').HeaderStyle>;
|
|
124
124
|
sidebarStyle: {
|
|
@@ -148,7 +148,7 @@ export declare const proLayoutProps: {
|
|
|
148
148
|
default: boolean;
|
|
149
149
|
};
|
|
150
150
|
homePath: StringConstructor;
|
|
151
|
-
tabContextMenu: PropType<boolean | import('../y-app/plus').
|
|
151
|
+
tabContextMenu: PropType<boolean | import('../y-app/plus').YDropdownProps>;
|
|
152
152
|
tabContextMenus: PropType<import('../y-tabs/types').ContextMenus>;
|
|
153
153
|
tabSortable: BooleanConstructor;
|
|
154
154
|
headerTitleSlot: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { YMenuItemProps } from '../y-app/plus';
|
|
2
2
|
export type {
|
|
3
3
|
Layout,
|
|
4
4
|
SidebarLayout,
|
|
@@ -175,7 +175,7 @@ export type MenuItemTrigger = 'route' | 'click' | 'hover';
|
|
|
175
175
|
/**
|
|
176
176
|
* 子菜单项点击前钩子
|
|
177
177
|
*/
|
|
178
|
-
export type BeforeClick = (item:
|
|
178
|
+
export type BeforeClick = (item: YMenuItemProps, e: MouseEvent) => boolean;
|
|
179
179
|
|
|
180
180
|
/**
|
|
181
181
|
* 内嵌数据
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RouteLocationNormalizedLoaded, RouteLocationMatched } from 'vue-router';
|
|
2
|
-
import {
|
|
2
|
+
import { YMenuItemProps } from '../y-app/plus';
|
|
3
3
|
import { LayoutProvide } from '../y-admin-layout/types';
|
|
4
4
|
import { MenuItem, TabItem, LevelItem, MatchedResult, ProLayoutProvide, ResponsiveProps } from './types';
|
|
5
5
|
|
|
@@ -73,7 +73,7 @@ export declare function getIframeSrc(routePath?: string, iframeUrl?: string): st
|
|
|
73
73
|
* @param menus 菜单数据
|
|
74
74
|
* @param link 是否使用超链接
|
|
75
75
|
*/
|
|
76
|
-
export declare function getMenuItems(menus: MenuItem[], link: boolean):
|
|
76
|
+
export declare function getMenuItems(menus: MenuItem[], link: boolean): YMenuItemProps[];
|
|
77
77
|
/**
|
|
78
78
|
* 获取布局共享数据
|
|
79
79
|
*/
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { YTooltipProps } from '../../y-app/plus';
|
|
3
3
|
import { Columns } from '../../y-data-table/types';
|
|
4
4
|
import { TableLocale } from '../types';
|
|
5
5
|
|
|
6
6
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
7
7
|
/** 提示位置 */
|
|
8
|
-
placement: PropType<
|
|
8
|
+
placement: PropType<YTooltipProps["placement"]>;
|
|
9
9
|
/** 表格国际化 */
|
|
10
10
|
locale: {
|
|
11
11
|
type: PropType<TableLocale>;
|
|
@@ -23,7 +23,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
23
23
|
"update:columns": (_columns: Columns, _tableColumns: Columns, _isReset: boolean) => void;
|
|
24
24
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
25
25
|
/** 提示位置 */
|
|
26
|
-
placement: PropType<
|
|
26
|
+
placement: PropType<YTooltipProps["placement"]>;
|
|
27
27
|
/** 表格国际化 */
|
|
28
28
|
locale: {
|
|
29
29
|
type: PropType<TableLocale>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { YModalProps } from '../../y-app/plus';
|
|
3
3
|
import { Columns, DataItem, SpanMethod, SummaryMethod, TreeProps } from '../../y-data-table/types';
|
|
4
4
|
import { TableLocale, ExportDataType, BeforeExport, ExportPlugin, Datasource, FetchFunction, TableExportParams, GetDatasourceResultFunction } from '../types';
|
|
5
5
|
|
|
@@ -12,7 +12,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
12
12
|
/** 缓存本地的名称 */
|
|
13
13
|
cacheKey: StringConstructor;
|
|
14
14
|
/** 弹窗参数 */
|
|
15
|
-
modalProps: PropType<
|
|
15
|
+
modalProps: PropType<YModalProps>;
|
|
16
16
|
/** 列数据 */
|
|
17
17
|
columns: PropType<Columns>;
|
|
18
18
|
/** 表格选中数据 */
|
|
@@ -76,7 +76,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
76
76
|
/** 缓存本地的名称 */
|
|
77
77
|
cacheKey: StringConstructor;
|
|
78
78
|
/** 弹窗参数 */
|
|
79
|
-
modalProps: PropType<
|
|
79
|
+
modalProps: PropType<YModalProps>;
|
|
80
80
|
/** 列数据 */
|
|
81
81
|
columns: PropType<Columns>;
|
|
82
82
|
/** 表格选中数据 */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { StyleValue } from '../../y-app/types';
|
|
3
|
-
import {
|
|
3
|
+
import { YModalProps, YPrinterProps, YTableProps } from '../../y-app/plus';
|
|
4
4
|
import { Columns, DataItem, SpanMethod, SummaryMethod, CellStyle, CellClass, HeaderCellStyle, HeaderCellClass, TreeProps } from '../../y-data-table/types';
|
|
5
5
|
import { TableLocale, ExportDataType, BeforeExport, ExportPlugin, Datasource, FetchFunction, TableExportParams, GetDatasourceResultFunction } from '../types';
|
|
6
6
|
|
|
@@ -25,11 +25,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
25
25
|
/** 缓存本地的名称 */
|
|
26
26
|
cacheKey: StringConstructor;
|
|
27
27
|
/** 弹窗参数 */
|
|
28
|
-
modalProps: PropType<
|
|
28
|
+
modalProps: PropType<YModalProps>;
|
|
29
29
|
/** 打印组件参数 */
|
|
30
|
-
printerProps: PropType<
|
|
30
|
+
printerProps: PropType<YPrinterProps>;
|
|
31
31
|
/** 打印表格参数 */
|
|
32
|
-
tableProps: PropType<
|
|
32
|
+
tableProps: PropType<YTableProps>;
|
|
33
33
|
/** 列数据 */
|
|
34
34
|
columns: PropType<Columns>;
|
|
35
35
|
/** 表格选中数据 */
|
|
@@ -98,11 +98,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
98
98
|
/** 缓存本地的名称 */
|
|
99
99
|
cacheKey: StringConstructor;
|
|
100
100
|
/** 弹窗参数 */
|
|
101
|
-
modalProps: PropType<
|
|
101
|
+
modalProps: PropType<YModalProps>;
|
|
102
102
|
/** 打印组件参数 */
|
|
103
|
-
printerProps: PropType<
|
|
103
|
+
printerProps: PropType<YPrinterProps>;
|
|
104
104
|
/** 打印表格参数 */
|
|
105
|
-
tableProps: PropType<
|
|
105
|
+
tableProps: PropType<YTableProps>;
|
|
106
106
|
/** 列数据 */
|
|
107
107
|
columns: PropType<Columns>;
|
|
108
108
|
/** 表格选中数据 */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { YDataTableProps, YToolbarProps } from '../y-app/plus';
|
|
3
3
|
import { DataItem, Column, Columns, Sorter, Filter, RowKey } from '../y-data-table/types';
|
|
4
4
|
import { ReloadFunction, DoneParams, TableTool, FetchFunction, TableViewInstance, ExportConfig, PrintConfig, TableExportParams } from './types';
|
|
5
5
|
|
|
@@ -29,7 +29,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
29
29
|
selections: import('vue').PropType<DataItem[]>;
|
|
30
30
|
current: import('vue').PropType<DataItem | null>;
|
|
31
31
|
toolbar: {
|
|
32
|
-
type: import('vue').PropType<boolean |
|
|
32
|
+
type: import('vue').PropType<boolean | YToolbarProps>;
|
|
33
33
|
default: () => null;
|
|
34
34
|
};
|
|
35
35
|
tools: {
|
|
@@ -52,7 +52,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
52
52
|
type: import('vue').PropType<boolean | import('./types').TablePagination>;
|
|
53
53
|
default: () => null;
|
|
54
54
|
};
|
|
55
|
-
loadingProps: import('vue').PropType<import('../y-app/plus').
|
|
55
|
+
loadingProps: import('vue').PropType<import('../y-app/plus').YLoadingProps>;
|
|
56
56
|
cacheKey: StringConstructor;
|
|
57
57
|
virtual: BooleanConstructor;
|
|
58
58
|
rowHeight: NumberConstructor;
|
|
@@ -193,7 +193,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
193
193
|
_isMock?: boolean | undefined;
|
|
194
194
|
}[]>;
|
|
195
195
|
tableLoading: Ref<boolean, boolean>;
|
|
196
|
-
tableProps: import('vue').ComputedRef<
|
|
196
|
+
tableProps: import('vue').ComputedRef<YDataTableProps>;
|
|
197
197
|
reloadTable: () => void;
|
|
198
198
|
goPageByRowKey: (key: unknown) => void;
|
|
199
199
|
clearSelection: () => void;
|
|
@@ -272,7 +272,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
272
272
|
selections: import('vue').PropType<DataItem[]>;
|
|
273
273
|
current: import('vue').PropType<DataItem | null>;
|
|
274
274
|
toolbar: {
|
|
275
|
-
type: import('vue').PropType<boolean |
|
|
275
|
+
type: import('vue').PropType<boolean | YToolbarProps>;
|
|
276
276
|
default: () => null;
|
|
277
277
|
};
|
|
278
278
|
tools: {
|
|
@@ -295,7 +295,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
295
295
|
type: import('vue').PropType<boolean | import('./types').TablePagination>;
|
|
296
296
|
default: () => null;
|
|
297
297
|
};
|
|
298
|
-
loadingProps: import('vue').PropType<import('../y-app/plus').
|
|
298
|
+
loadingProps: import('vue').PropType<import('../y-app/plus').YLoadingProps>;
|
|
299
299
|
cacheKey: StringConstructor;
|
|
300
300
|
virtual: BooleanConstructor;
|
|
301
301
|
rowHeight: NumberConstructor;
|
|
@@ -469,7 +469,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
469
469
|
maximized: boolean;
|
|
470
470
|
tools: boolean | string[];
|
|
471
471
|
sticky: boolean;
|
|
472
|
-
toolbar: boolean |
|
|
472
|
+
toolbar: boolean | YToolbarProps;
|
|
473
473
|
headerEllipsis: boolean;
|
|
474
474
|
slotNormalize: boolean;
|
|
475
475
|
bottomLine: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType, ExtractPropTypes } from 'vue';
|
|
2
2
|
import { StyleValue } from '../y-app/types';
|
|
3
|
-
import {
|
|
3
|
+
import { YLoadingProps, YToolbarProps } from '../y-app/plus';
|
|
4
4
|
import { DataItem, Columns, TableSize, RowKey } from '../y-data-table/types';
|
|
5
5
|
import { default as TableTools } from './components/table-tools';
|
|
6
6
|
import { default as ToolExport } from './components/tool-export';
|
|
@@ -46,7 +46,7 @@ export declare const proTableProps: {
|
|
|
46
46
|
current: PropType<DataItem | null>;
|
|
47
47
|
/** 是否开启顶部工具栏 */
|
|
48
48
|
toolbar: {
|
|
49
|
-
type: PropType<boolean |
|
|
49
|
+
type: PropType<boolean | YToolbarProps>;
|
|
50
50
|
default: () => null;
|
|
51
51
|
};
|
|
52
52
|
/** 表头工具按钮布局 */
|
|
@@ -78,7 +78,7 @@ export declare const proTableProps: {
|
|
|
78
78
|
default: () => null;
|
|
79
79
|
};
|
|
80
80
|
/** 自定义加载组件属性 */
|
|
81
|
-
loadingProps: PropType<
|
|
81
|
+
loadingProps: PropType<YLoadingProps>;
|
|
82
82
|
/** 列配置缓存名称 */
|
|
83
83
|
cacheKey: StringConstructor;
|
|
84
84
|
/** 是否虚拟滚动 */
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
YDataTableInstance,
|
|
3
|
+
YVirtualTableInstance,
|
|
4
|
+
YPaginationProps,
|
|
5
|
+
YModalProps,
|
|
6
|
+
YPrinterProps,
|
|
7
|
+
YTableProps
|
|
8
8
|
} from '../y-app/plus';
|
|
9
9
|
import type { PaginationTotal } from '../y-pagination/types';
|
|
10
10
|
import type {
|
|
@@ -200,7 +200,7 @@ export type DoneFunction<T> = (
|
|
|
200
200
|
/**
|
|
201
201
|
* 分页组件属性
|
|
202
202
|
*/
|
|
203
|
-
export interface TablePagination extends
|
|
203
|
+
export interface TablePagination extends YPaginationProps {
|
|
204
204
|
/** 是否自动修正页码 */
|
|
205
205
|
autoAmend?: boolean;
|
|
206
206
|
}
|
|
@@ -301,8 +301,8 @@ export interface TableState {
|
|
|
301
301
|
* 表格组件实例
|
|
302
302
|
*/
|
|
303
303
|
export type TableViewInstance =
|
|
304
|
-
|
|
|
305
|
-
|
|
|
304
|
+
| YDataTableInstance
|
|
305
|
+
| YVirtualTableInstance
|
|
306
306
|
| null;
|
|
307
307
|
|
|
308
308
|
/**
|
|
@@ -421,7 +421,7 @@ export type ExportPlugin = (params: BeforeExportParams) => Promise<void>;
|
|
|
421
421
|
*/
|
|
422
422
|
export interface ExportConfig {
|
|
423
423
|
/** 弹窗参数 */
|
|
424
|
-
modalProps?:
|
|
424
|
+
modalProps?: YModalProps;
|
|
425
425
|
/** 表格全部数据 */
|
|
426
426
|
datasource?: Datasource;
|
|
427
427
|
/** 导出前的钩子函数 */
|
|
@@ -447,11 +447,11 @@ export interface ExportConfig {
|
|
|
447
447
|
*/
|
|
448
448
|
export interface PrintConfig {
|
|
449
449
|
/** 弹窗参数 */
|
|
450
|
-
modalProps?:
|
|
450
|
+
modalProps?: YModalProps;
|
|
451
451
|
/** 打印组件参数 */
|
|
452
|
-
printerProps?:
|
|
452
|
+
printerProps?: YPrinterProps;
|
|
453
453
|
/** 打印表格参数 */
|
|
454
|
-
tableProps?:
|
|
454
|
+
tableProps?: YTableProps;
|
|
455
455
|
/** 表格全部数据 */
|
|
456
456
|
datasource?: Datasource;
|
|
457
457
|
/** 打印前的钩子函数 */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { YPaginationProps } from '../y-app/plus';
|
|
2
2
|
import { DataItem, Column, Columns, Sorter, Filter, TableSize, TreeProps, RowKey, SpanMethod, SummaryMethod } from '../y-data-table/types';
|
|
3
3
|
import { Pages, Orders, Filters, OrderItem, RequestOption, ResponseOption, TablePagination, DatasourceResult, ResponseResult, ReloadDataResult, ColItem, ProProps, ExportBodyNode, ExportDataItem, ExportDataResult, CacheKey, TableLocale } from './types';
|
|
4
4
|
|
|
@@ -15,7 +15,7 @@ export declare function mergeProps<T extends Record<keyof any, any>>(props?: Pro
|
|
|
15
15
|
* @param globalPagination 全局配置分页组件属性
|
|
16
16
|
* @param pageProps 分页相关的属性
|
|
17
17
|
*/
|
|
18
|
-
export declare function getPaginationProps(size: TableSize, pagination: boolean | TablePagination | undefined, globalPagination: boolean | TablePagination | undefined, pageProps?: Pick<
|
|
18
|
+
export declare function getPaginationProps(size: TableSize, pagination: boolean | TablePagination | undefined, globalPagination: boolean | TablePagination | undefined, pageProps?: Pick<YPaginationProps, 'total' | 'pageSize' | 'currentPage' | 'hasNext'>): YPaginationProps | null;
|
|
19
19
|
/**
|
|
20
20
|
* 获取默认页码
|
|
21
21
|
* @param pagination 分页组件属性
|
|
@@ -6,6 +6,6 @@ export declare function updateProp(cs: any, p: any, ms: any, ts: any, v: any, j:
|
|
|
6
6
|
export declare const updateOptions: UpdateOptions;
|
|
7
7
|
export declare function mergeOptions(m: any, n: any, o: any, f: any, v: any, h: any): void;
|
|
8
8
|
export declare function rotate(ctx: CanvasRenderingContext2D, rotateX: number, rotateY: number, rotate: number, info: any): void;
|
|
9
|
-
export declare const svgText:
|
|
10
|
-
export declare const svgId:
|
|
9
|
+
export declare const svgText: string[];
|
|
10
|
+
export declare const svgId: string;
|
|
11
11
|
export { injectContext as svgContents };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { YDropdownProps, YDropdownInstance } from '../../y-app/plus';
|
|
3
3
|
import { DropdownItem } from '../../y-dropdown/types';
|
|
4
4
|
|
|
5
5
|
declare function __VLS_template(): {
|
|
@@ -9,21 +9,21 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
9
9
|
/** 右键菜单 */
|
|
10
10
|
items: PropType<DropdownItem[]>;
|
|
11
11
|
/** 右键菜单属性 */
|
|
12
|
-
dropdownProps: PropType<
|
|
12
|
+
dropdownProps: PropType<YDropdownProps>;
|
|
13
13
|
/** 是否点击后自动关闭菜单 */
|
|
14
14
|
autoClose: {
|
|
15
15
|
type: BooleanConstructor;
|
|
16
16
|
default: boolean;
|
|
17
17
|
};
|
|
18
18
|
}>, {
|
|
19
|
-
dropdownRef: import('vue').Ref<
|
|
19
|
+
dropdownRef: import('vue').Ref<YDropdownInstance, YDropdownInstance>;
|
|
20
20
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
21
|
menuClick: (_command: string) => void;
|
|
22
22
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
23
23
|
/** 右键菜单 */
|
|
24
24
|
items: PropType<DropdownItem[]>;
|
|
25
25
|
/** 右键菜单属性 */
|
|
26
|
-
dropdownProps: PropType<
|
|
26
|
+
dropdownProps: PropType<YDropdownProps>;
|
|
27
27
|
/** 是否点击后自动关闭菜单 */
|
|
28
28
|
autoClose: {
|
|
29
29
|
type: BooleanConstructor;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { YBasicSelectInstance, YProTableInstance } from '../y-app/plus';
|
|
2
2
|
import { SelectValue, SingleValue, SelectedItem } from '../y-basic-select/types';
|
|
3
3
|
import { DataItem } from '../y-data-table/types';
|
|
4
4
|
|
|
@@ -29,13 +29,13 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
29
29
|
default: string;
|
|
30
30
|
};
|
|
31
31
|
cacheData: import('vue').PropType<DataItem[]>;
|
|
32
|
-
tableProps: import('vue').PropType<import('../y-app/plus').
|
|
32
|
+
tableProps: import('vue').PropType<import('../y-app/plus').YProTableProps>;
|
|
33
33
|
tableSlots: import('vue').PropType<Record<string, string>>;
|
|
34
34
|
wrapperComponent: import('vue').PropType<import('../y-app/types').UserComponent>;
|
|
35
35
|
wrapperComponentProps: ObjectConstructor;
|
|
36
36
|
initValue: import('vue').PropType<DataItem | DataItem[]>;
|
|
37
37
|
placement: {
|
|
38
|
-
type: import('vue').PropType<import('../y-app/plus').
|
|
38
|
+
type: import('vue').PropType<import('../y-app/plus').YTooltipProps["placement"]>;
|
|
39
39
|
default: string;
|
|
40
40
|
};
|
|
41
41
|
popperClass: StringConstructor;
|
|
@@ -58,7 +58,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
58
58
|
default: boolean;
|
|
59
59
|
};
|
|
60
60
|
visible: BooleanConstructor;
|
|
61
|
-
popperOptions: import('vue').PropType<import('../y-app/plus').
|
|
61
|
+
popperOptions: import('vue').PropType<import('../y-app/plus').YTooltipProps["popperOptions"]>;
|
|
62
62
|
automaticDropdown: BooleanConstructor;
|
|
63
63
|
multiple: BooleanConstructor;
|
|
64
64
|
responsive: {
|
|
@@ -83,8 +83,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
83
83
|
clearTempSelectedItems: () => void;
|
|
84
84
|
removeTempSelectedItem: (item: SelectedItem) => void;
|
|
85
85
|
updateTempSelectedItems: (items: SelectedItem[]) => void;
|
|
86
|
-
selectRef: import('vue').Ref<
|
|
87
|
-
tableRef: import('vue').Ref<
|
|
86
|
+
selectRef: import('vue').Ref<YBasicSelectInstance, YBasicSelectInstance>;
|
|
87
|
+
tableRef: import('vue').Ref<YProTableInstance, YProTableInstance>;
|
|
88
88
|
updatePopover: () => void;
|
|
89
89
|
updateVisible: (visible: boolean) => void;
|
|
90
90
|
focusSearchInput: () => void;
|
|
@@ -122,13 +122,13 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
122
122
|
default: string;
|
|
123
123
|
};
|
|
124
124
|
cacheData: import('vue').PropType<DataItem[]>;
|
|
125
|
-
tableProps: import('vue').PropType<import('../y-app/plus').
|
|
125
|
+
tableProps: import('vue').PropType<import('../y-app/plus').YProTableProps>;
|
|
126
126
|
tableSlots: import('vue').PropType<Record<string, string>>;
|
|
127
127
|
wrapperComponent: import('vue').PropType<import('../y-app/types').UserComponent>;
|
|
128
128
|
wrapperComponentProps: ObjectConstructor;
|
|
129
129
|
initValue: import('vue').PropType<DataItem | DataItem[]>;
|
|
130
130
|
placement: {
|
|
131
|
-
type: import('vue').PropType<import('../y-app/plus').
|
|
131
|
+
type: import('vue').PropType<import('../y-app/plus').YTooltipProps["placement"]>;
|
|
132
132
|
default: string;
|
|
133
133
|
};
|
|
134
134
|
popperClass: StringConstructor;
|
|
@@ -151,7 +151,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
151
151
|
default: boolean;
|
|
152
152
|
};
|
|
153
153
|
visible: BooleanConstructor;
|
|
154
|
-
popperOptions: import('vue').PropType<import('../y-app/plus').
|
|
154
|
+
popperOptions: import('vue').PropType<import('../y-app/plus').YTooltipProps["popperOptions"]>;
|
|
155
155
|
automaticDropdown: BooleanConstructor;
|
|
156
156
|
multiple: BooleanConstructor;
|
|
157
157
|
responsive: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType, ExtractPropTypes } from 'vue';
|
|
2
2
|
import { UserComponent } from '../y-app/types';
|
|
3
|
-
import {
|
|
3
|
+
import { YProTableProps } from '../y-app/plus';
|
|
4
4
|
import { DataItem } from '../y-data-table/types';
|
|
5
5
|
import { SelectValue, SingleValue, BeforeConfirm } from '../y-basic-select/types';
|
|
6
6
|
|
|
@@ -37,7 +37,7 @@ export declare const tableSelectProps: {
|
|
|
37
37
|
/** 缓存的数据 */
|
|
38
38
|
cacheData: PropType<DataItem[]>;
|
|
39
39
|
/** 表格配置 */
|
|
40
|
-
tableProps: PropType<
|
|
40
|
+
tableProps: PropType<YProTableProps>;
|
|
41
41
|
/** 表格组件插槽对应名称 */
|
|
42
42
|
tableSlots: PropType<Record<string, string>>;
|
|
43
43
|
/** 内容容器组件 */
|
|
@@ -47,7 +47,7 @@ export declare const tableSelectProps: {
|
|
|
47
47
|
/** 初始选中值(已废弃) */
|
|
48
48
|
initValue: PropType<DataItem | DataItem[]>;
|
|
49
49
|
placement: {
|
|
50
|
-
type: PropType<import('../y-app/plus').
|
|
50
|
+
type: PropType<import('../y-app/plus').YTooltipProps["placement"]>;
|
|
51
51
|
default: string;
|
|
52
52
|
};
|
|
53
53
|
popperClass: StringConstructor;
|
|
@@ -70,7 +70,7 @@ export declare const tableSelectProps: {
|
|
|
70
70
|
default: boolean;
|
|
71
71
|
};
|
|
72
72
|
visible: BooleanConstructor;
|
|
73
|
-
popperOptions: PropType<import('../y-app/plus').
|
|
73
|
+
popperOptions: PropType<import('../y-app/plus').YTooltipProps["popperOptions"]>;
|
|
74
74
|
automaticDropdown: BooleanConstructor;
|
|
75
75
|
multiple: BooleanConstructor;
|
|
76
76
|
responsive: {
|