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,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
|
/** 打印前的钩子函数 */
|
package/es/y-pro-table/util.d.ts
CHANGED
|
@@ -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: {
|
package/es/y-tabs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TabPaneName } from 'element-plus';
|
|
2
2
|
import { ElTabsInstance } from '../y-app/el';
|
|
3
|
-
import {
|
|
3
|
+
import { YDropdownInstance } from '../y-app/plus';
|
|
4
4
|
import { TabPaneItem, TabSize, TabType } from './types';
|
|
5
5
|
|
|
6
6
|
declare function __VLS_template(): Partial<Record<NonNullable<import('element-plus/es/utils/index').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>, (_: {
|
|
@@ -22,7 +22,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
22
22
|
size: import('vue').PropType<TabSize>;
|
|
23
23
|
type: import('vue').PropType<TabType>;
|
|
24
24
|
center: BooleanConstructor;
|
|
25
|
-
contextMenu: import('vue').PropType<boolean | import('../y-app/plus').
|
|
25
|
+
contextMenu: import('vue').PropType<boolean | import('../y-app/plus').YDropdownProps>;
|
|
26
26
|
contextMenus: import('vue').PropType<import('./types').ContextMenus>;
|
|
27
27
|
sortable: BooleanConstructor;
|
|
28
28
|
mousewheel: BooleanConstructor;
|
|
@@ -51,7 +51,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
51
51
|
tabindex: import('element-plus/es/utils/index').EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 0, boolean>;
|
|
52
52
|
}>, {
|
|
53
53
|
tabRef: import('vue').Ref<ElTabsInstance, ElTabsInstance>;
|
|
54
|
-
ctxMenuDropdownRef: import('vue').Ref<
|
|
54
|
+
ctxMenuDropdownRef: import('vue').Ref<YDropdownInstance, YDropdownInstance>;
|
|
55
55
|
hideAllDropdown: () => void;
|
|
56
56
|
updateActiveBar: () => void;
|
|
57
57
|
scrollTabs: (direction: "prev" | "next", done?: () => void) => void;
|
|
@@ -60,7 +60,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
60
60
|
edit: (paneName: TabPaneName | undefined, action: "add" | "remove") => void;
|
|
61
61
|
tabItemClick: (_opt: import('./types').TabEventOption) => void;
|
|
62
62
|
tabContextMenu: (_opt: import('./types').TabEventOption) => void;
|
|
63
|
-
tabContextOpen: (_ref:
|
|
63
|
+
tabContextOpen: (_ref: YDropdownInstance, _item?: TabPaneItem | null | undefined, _name?: string | number | null | undefined) => void;
|
|
64
64
|
tabSortChange: (_data: TabPaneItem[]) => void;
|
|
65
65
|
tabClick: (pane: {
|
|
66
66
|
uid: number;
|
|
@@ -90,7 +90,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
90
90
|
size: import('vue').PropType<TabSize>;
|
|
91
91
|
type: import('vue').PropType<TabType>;
|
|
92
92
|
center: BooleanConstructor;
|
|
93
|
-
contextMenu: import('vue').PropType<boolean | import('../y-app/plus').
|
|
93
|
+
contextMenu: import('vue').PropType<boolean | import('../y-app/plus').YDropdownProps>;
|
|
94
94
|
contextMenus: import('vue').PropType<import('./types').ContextMenus>;
|
|
95
95
|
sortable: BooleanConstructor;
|
|
96
96
|
mousewheel: BooleanConstructor;
|
|
@@ -122,7 +122,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
122
122
|
onEdit?: ((paneName: TabPaneName | undefined, action: "add" | "remove") => any) | undefined;
|
|
123
123
|
onTabItemClick?: ((_opt: import('./types').TabEventOption) => any) | undefined;
|
|
124
124
|
onTabContextMenu?: ((_opt: import('./types').TabEventOption) => any) | undefined;
|
|
125
|
-
onTabContextOpen?: ((_ref:
|
|
125
|
+
onTabContextOpen?: ((_ref: YDropdownInstance, _item?: TabPaneItem | null | undefined, _name?: string | number | null | undefined) => any) | undefined;
|
|
126
126
|
onTabSortChange?: ((_data: TabPaneItem[]) => any) | undefined;
|
|
127
127
|
onTabClick?: ((pane: {
|
|
128
128
|
uid: number;
|
package/es/y-tabs/props.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType, ExtractPropTypes, InjectionKey } from 'vue';
|
|
2
2
|
import { tabsProps as elTabsProps } from 'element-plus';
|
|
3
|
-
import {
|
|
3
|
+
import { YDropdownProps, YDropdownInstance } from '../y-app/plus';
|
|
4
4
|
import { TabPaneItem, TabSize, TabType, ContextMenus, TabEventOption, TabWrapProvide } from './types';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -19,7 +19,7 @@ export declare const tabsProps: {
|
|
|
19
19
|
/** 标签是否居中显示 */
|
|
20
20
|
center: BooleanConstructor;
|
|
21
21
|
/** 是否支持右键菜单 */
|
|
22
|
-
contextMenu: PropType<boolean |
|
|
22
|
+
contextMenu: PropType<boolean | YDropdownProps>;
|
|
23
23
|
/** 右键菜单 */
|
|
24
24
|
contextMenus: PropType<ContextMenus>;
|
|
25
25
|
/** 是否支持拖动排序 */
|
|
@@ -62,7 +62,7 @@ export declare const tabsEmits: {
|
|
|
62
62
|
/** 页签右键菜单项点击事件 */
|
|
63
63
|
tabContextMenu: (_opt: TabEventOption) => boolean;
|
|
64
64
|
/** 页签右键菜单打开事件 */
|
|
65
|
-
tabContextOpen: (_ref:
|
|
65
|
+
tabContextOpen: (_ref: YDropdownInstance, _item?: TabPaneItem | null, _name?: string | number | null) => boolean;
|
|
66
66
|
/** 拖动排序改变事件 */
|
|
67
67
|
tabSortChange: (_data: TabPaneItem[]) => boolean;
|
|
68
68
|
"update:modelValue": (name: import('element-plus').TabPaneName) => name is string | number;
|
package/es/y-tool/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { YTooltipProps } from '../y-app/plus';
|
|
2
2
|
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
4
|
default?(_: {}): any;
|
|
@@ -6,20 +6,20 @@ declare function __VLS_template(): {
|
|
|
6
6
|
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
7
7
|
title: StringConstructor;
|
|
8
8
|
placement: {
|
|
9
|
-
type: import('vue').PropType<
|
|
9
|
+
type: import('vue').PropType<YTooltipProps["placement"]>;
|
|
10
10
|
default: string;
|
|
11
11
|
};
|
|
12
12
|
disabled: BooleanConstructor;
|
|
13
13
|
clickHideTooltip: BooleanConstructor;
|
|
14
14
|
}>, {
|
|
15
|
-
showTooltip: (text?: string, el?: HTMLElement, options?:
|
|
15
|
+
showTooltip: (text?: string, el?: HTMLElement, options?: YTooltipProps) => void;
|
|
16
16
|
hideTooltip: () => void;
|
|
17
17
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
18
|
click: (_e: MouseEvent) => void;
|
|
19
19
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
20
20
|
title: StringConstructor;
|
|
21
21
|
placement: {
|
|
22
|
-
type: import('vue').PropType<
|
|
22
|
+
type: import('vue').PropType<YTooltipProps["placement"]>;
|
|
23
23
|
default: string;
|
|
24
24
|
};
|
|
25
25
|
disabled: BooleanConstructor;
|
package/es/y-tool/props.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType, ExtractPropTypes } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { YTooltipProps } from '../y-app/plus';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* 属性
|
|
@@ -9,7 +9,7 @@ export declare const toolProps: {
|
|
|
9
9
|
title: StringConstructor;
|
|
10
10
|
/** 提示方向 */
|
|
11
11
|
placement: {
|
|
12
|
-
type: PropType<
|
|
12
|
+
type: PropType<YTooltipProps["placement"]>;
|
|
13
13
|
default: string;
|
|
14
14
|
};
|
|
15
15
|
/** 是否禁用提示 */
|
package/es/y-toolbar/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { YTooltipInstance, YTooltipProps } from '../y-app/plus';
|
|
3
3
|
|
|
4
4
|
declare function __VLS_template(): {
|
|
5
5
|
default?(_: {}): any;
|
|
@@ -15,11 +15,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
15
15
|
titleStyle: import('vue').PropType<import('../y-app/types').StyleValue>;
|
|
16
16
|
bodyStyle: import('vue').PropType<import('../y-app/types').StyleValue>;
|
|
17
17
|
toolsStyle: import('vue').PropType<import('../y-app/types').StyleValue>;
|
|
18
|
-
titleProps: import('vue').PropType<import('../y-app/plus').
|
|
19
|
-
subtitleProps: import('vue').PropType<import('../y-app/plus').
|
|
18
|
+
titleProps: import('vue').PropType<import('../y-app/plus').YTextProps>;
|
|
19
|
+
subtitleProps: import('vue').PropType<import('../y-app/plus').YTextProps>;
|
|
20
20
|
}>, {
|
|
21
|
-
tooltipRef: Ref<
|
|
22
|
-
showTooltip: (text?: string, el?: HTMLElement, options?:
|
|
21
|
+
tooltipRef: Ref<YTooltipInstance, YTooltipInstance>;
|
|
22
|
+
showTooltip: (text?: string, el?: HTMLElement, options?: YTooltipProps) => void;
|
|
23
23
|
hideTooltip: () => void;
|
|
24
24
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
25
25
|
title: StringConstructor;
|
|
@@ -31,8 +31,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
31
31
|
titleStyle: import('vue').PropType<import('../y-app/types').StyleValue>;
|
|
32
32
|
bodyStyle: import('vue').PropType<import('../y-app/types').StyleValue>;
|
|
33
33
|
toolsStyle: import('vue').PropType<import('../y-app/types').StyleValue>;
|
|
34
|
-
titleProps: import('vue').PropType<import('../y-app/plus').
|
|
35
|
-
subtitleProps: import('vue').PropType<import('../y-app/plus').
|
|
34
|
+
titleProps: import('vue').PropType<import('../y-app/plus').YTextProps>;
|
|
35
|
+
subtitleProps: import('vue').PropType<import('../y-app/plus').YTextProps>;
|
|
36
36
|
}>> & Readonly<{}>, {
|
|
37
37
|
theme: import('./types').ToolbarTheme;
|
|
38
38
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
package/es/y-toolbar/props.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType, ExtractPropTypes, InjectionKey } from 'vue';
|
|
2
2
|
import { StyleValue } from '../y-app/types';
|
|
3
|
-
import {
|
|
3
|
+
import { YTextProps } from '../y-app/plus';
|
|
4
4
|
import { ToolbarTheme, ToolbarProvide } from './types';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -23,9 +23,9 @@ export declare const toolbarProps: {
|
|
|
23
23
|
/** 按钮区样式 */
|
|
24
24
|
toolsStyle: PropType<StyleValue>;
|
|
25
25
|
/** 标题组件属性 */
|
|
26
|
-
titleProps: PropType<
|
|
26
|
+
titleProps: PropType<YTextProps>;
|
|
27
27
|
/** 二级标题组件属性 */
|
|
28
|
-
subtitleProps: PropType<
|
|
28
|
+
subtitleProps: PropType<YTextProps>;
|
|
29
29
|
};
|
|
30
30
|
export type ToolbarProps = ExtractPropTypes<typeof toolbarProps>;
|
|
31
31
|
/**
|
package/es/y-toolbar/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { YTooltipProps } from '../y-app/plus';
|
|
2
2
|
/**
|
|
3
3
|
* 工具栏主题
|
|
4
4
|
*/
|
|
@@ -12,7 +12,7 @@ export interface ToolbarProvide {
|
|
|
12
12
|
showTooltip?: (
|
|
13
13
|
text?: string,
|
|
14
14
|
el?: HTMLElement,
|
|
15
|
-
options?:
|
|
15
|
+
options?: YTooltipProps
|
|
16
16
|
) => void;
|
|
17
17
|
/** 关闭提示 */
|
|
18
18
|
hideTooltip?: () => void;
|
package/es/y-tour/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { YTooltipInstance } from '../y-app/plus';
|
|
3
3
|
import { TourStep } from './types';
|
|
4
4
|
|
|
5
5
|
declare function __VLS_template(): {
|
|
@@ -33,7 +33,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
33
33
|
zIndex: NumberConstructor;
|
|
34
34
|
locale: import('vue').PropType<Partial<import('./types').TourLocale>>;
|
|
35
35
|
}>, {
|
|
36
|
-
tooltipRef: Ref<
|
|
36
|
+
tooltipRef: Ref<YTooltipInstance, YTooltipInstance>;
|
|
37
37
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
38
38
|
"update:modelValue": (_value?: number | null | undefined) => void;
|
|
39
39
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
package/es/y-tour/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { YPopoverProps } from '../y-app/plus';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* 引导步骤指向元素
|
|
@@ -20,7 +20,7 @@ export interface TourStep {
|
|
|
20
20
|
/** 是否开启遮罩层 */
|
|
21
21
|
mask?: boolean;
|
|
22
22
|
/** 气泡组件属性 */
|
|
23
|
-
popoverProps?:
|
|
23
|
+
popoverProps?: YPopoverProps;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
/**
|