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
package/es/core-components.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export { default as YCheckboxGroup } from './y-checkbox-group/index';
|
|
|
15
15
|
export { default as YConfigProvider } from './y-config-provider/index';
|
|
16
16
|
export { default as YCopyable } from './y-copyable/index';
|
|
17
17
|
export { default as YCronBuilder } from './y-cron-builder/index';
|
|
18
|
-
export { default as
|
|
18
|
+
export { default as YCronPanel } from './y-cron-panel/index';
|
|
19
19
|
export { default as YDashboard } from './y-dashboard/index';
|
|
20
20
|
export { default as YDataTable } from './y-data-table/index';
|
|
21
21
|
export { default as YDot } from './y-dot/index';
|
|
@@ -34,7 +34,7 @@ export { default as YLoading } from './y-loading/index';
|
|
|
34
34
|
export { default as YMention } from './y-mention/index';
|
|
35
35
|
export { default as YMenus } from './y-menus/index';
|
|
36
36
|
export { default as YModal } from './y-modal/index';
|
|
37
|
-
export { default as
|
|
37
|
+
export { default as YModalRender } from './y-modal-render/index';
|
|
38
38
|
export { default as YPage } from './y-page/index';
|
|
39
39
|
export { default as YPagination } from './y-pagination/index';
|
|
40
40
|
export { default as YPopconfirm } from './y-popconfirm/index';
|
package/es/core-components.js
CHANGED
|
@@ -71,8 +71,6 @@ import { default as default71 } from "./y-viewer/index";
|
|
|
71
71
|
import { default as default72 } from "./y-virtual-table/index";
|
|
72
72
|
import { default as default73 } from "./y-watermark/index";
|
|
73
73
|
export {
|
|
74
|
-
default19 as EleCronPanel,
|
|
75
|
-
default38 as EleModalRender,
|
|
76
74
|
default2 as YAdminLayout,
|
|
77
75
|
default3 as YAlert,
|
|
78
76
|
default4 as YApp,
|
|
@@ -90,6 +88,7 @@ export {
|
|
|
90
88
|
default16 as YConfigProvider,
|
|
91
89
|
default17 as YCopyable,
|
|
92
90
|
default18 as YCronBuilder,
|
|
91
|
+
default19 as YCronPanel,
|
|
93
92
|
default20 as YDashboard,
|
|
94
93
|
default21 as YDataTable,
|
|
95
94
|
default22 as YDot,
|
|
@@ -108,6 +107,7 @@ export {
|
|
|
108
107
|
default35 as YMention,
|
|
109
108
|
default36 as YMenus,
|
|
110
109
|
default37 as YModal,
|
|
110
|
+
default38 as YModalRender,
|
|
111
111
|
default39 as YPage,
|
|
112
112
|
default40 as YPagination,
|
|
113
113
|
default41 as YPopconfirm,
|
package/es/lang/en_US.d.ts
CHANGED
package/es/lang/zh_CN.d.ts
CHANGED
package/es/lang/zh_TW.d.ts
CHANGED
package/es/utils/message.d.ts
CHANGED
package/es/utils/message.js
CHANGED
|
@@ -109,42 +109,42 @@ function normalizeOption(params, globalOpt, onClose, type, loading, getWrapEl2,
|
|
|
109
109
|
"groupKey"
|
|
110
110
|
]);
|
|
111
111
|
}
|
|
112
|
-
const
|
|
112
|
+
const YMessage = function(params, context) {
|
|
113
113
|
const onClose = () => ins.close();
|
|
114
114
|
const getWrap = () => getWrapEl();
|
|
115
115
|
const opt = normalizeOption(params, null, onClose, null, null, getWrap);
|
|
116
116
|
const ins = ElMessage(opt, context);
|
|
117
117
|
return ins;
|
|
118
118
|
};
|
|
119
|
-
|
|
119
|
+
YMessage.success = function(params, context) {
|
|
120
120
|
const onClose = () => ins.close();
|
|
121
121
|
const getWrap = () => getWrapEl();
|
|
122
122
|
const opt = normalizeOption(params, null, onClose, "success", null, getWrap);
|
|
123
123
|
const ins = ElMessage(opt, context);
|
|
124
124
|
return ins;
|
|
125
125
|
};
|
|
126
|
-
|
|
126
|
+
YMessage.warning = function(params, context) {
|
|
127
127
|
const onClose = () => ins.close();
|
|
128
128
|
const getWrap = () => getWrapEl();
|
|
129
129
|
const opt = normalizeOption(params, null, onClose, "warning", null, getWrap);
|
|
130
130
|
const ins = ElMessage(opt, context);
|
|
131
131
|
return ins;
|
|
132
132
|
};
|
|
133
|
-
|
|
133
|
+
YMessage.error = function(params, context) {
|
|
134
134
|
const onClose = () => ins.close();
|
|
135
135
|
const getWrap = () => getWrapEl();
|
|
136
136
|
const opt = normalizeOption(params, null, onClose, "error", null, getWrap);
|
|
137
137
|
const ins = ElMessage(opt, context);
|
|
138
138
|
return ins;
|
|
139
139
|
};
|
|
140
|
-
|
|
140
|
+
YMessage.info = function(params, context) {
|
|
141
141
|
const onClose = () => ins.close();
|
|
142
142
|
const getWrap = () => getWrapEl();
|
|
143
143
|
const opt = normalizeOption(params, null, onClose, null, null, getWrap);
|
|
144
144
|
const ins = ElMessage(opt, context);
|
|
145
145
|
return ins;
|
|
146
146
|
};
|
|
147
|
-
|
|
147
|
+
YMessage.loading = function(params, context) {
|
|
148
148
|
blurCurrentFocus();
|
|
149
149
|
const onClose = () => ins.close();
|
|
150
150
|
const getWrap = () => getWrapEl();
|
|
@@ -152,7 +152,7 @@ EleMessage.loading = function(params, context) {
|
|
|
152
152
|
const ins = ElMessage(opt, context);
|
|
153
153
|
return ins;
|
|
154
154
|
};
|
|
155
|
-
|
|
155
|
+
YMessage.closeAll = function(type) {
|
|
156
156
|
return ElMessage.closeAll(type);
|
|
157
157
|
};
|
|
158
158
|
const MESSAGE_KEY = Symbol("message");
|
|
@@ -259,7 +259,7 @@ function useMessage(globalOpt) {
|
|
|
259
259
|
return message;
|
|
260
260
|
}
|
|
261
261
|
export {
|
|
262
|
-
EleMessage,
|
|
263
262
|
MESSAGE_KEY,
|
|
263
|
+
YMessage,
|
|
264
264
|
useMessage
|
|
265
265
|
};
|
package/es/utils/modal-hook.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export declare function useModal(options?: UseModalOptions): {
|
|
|
13
13
|
messageBox: import('./message-box').MessageBox;
|
|
14
14
|
notification: import('element-plus/es/utils/index').SFCInstallWithContext<import('element-plus').Notify>;
|
|
15
15
|
ModalHolder: import('vue').DefineComponent<{}, () => any[], {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
16
|
-
modalProps: import('vue').Ref<import('../y-app/plus').
|
|
16
|
+
modalProps: import('vue').Ref<import('../y-app/plus').YDrawerPropsAndEmits | import('../y-app/plus').YModalPropsAndEmits, import('../y-app/plus').YDrawerPropsAndEmits | import('../y-app/plus').YModalPropsAndEmits> | undefined;
|
|
17
17
|
openModal: (option: import('../y-modal-render/types').ModalItem) => import('../y-modal-render/types').ModalItemId;
|
|
18
18
|
closeAllModal: (current?: boolean) => void;
|
|
19
19
|
closeModal: (modalId?: import('../y-modal-render/types').ModalItemId) => void;
|
package/es/utils/resolvers.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { ComponentResolver } from 'unplugin-vue-components/types';
|
|
|
3
3
|
/**
|
|
4
4
|
* 参数类型
|
|
5
5
|
*/
|
|
6
|
-
export interface
|
|
6
|
+
export interface YAdminResolverOptions {
|
|
7
7
|
/** 包路径 */
|
|
8
8
|
path?: string | '' | '/es' | '/lib' | '/es/core' | '/lib/core';
|
|
9
9
|
/** 排除的组件名称 */
|
|
@@ -15,4 +15,4 @@ export interface EleAdminResolverOptions {
|
|
|
15
15
|
* 按需加载插件
|
|
16
16
|
* @param options 参数
|
|
17
17
|
*/
|
|
18
|
-
export declare function
|
|
18
|
+
export declare function YAdminResolver(options?: YAdminResolverOptions): ComponentResolver;
|
package/es/utils/resolvers.js
CHANGED
|
@@ -20,7 +20,7 @@ function getStylePath(namePath, packageName, path) {
|
|
|
20
20
|
}
|
|
21
21
|
return `${packageName}${path}/${namePath}`;
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function YAdminResolver(options) {
|
|
24
24
|
return {
|
|
25
25
|
type: "component",
|
|
26
26
|
resolve: (name) => {
|
|
@@ -46,5 +46,5 @@ function EleAdminResolver(options) {
|
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
48
|
export {
|
|
49
|
-
|
|
49
|
+
YAdminResolver
|
|
50
50
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { YDropdownProps } from '../../y-app/plus';
|
|
3
3
|
import { TabPaneItem, TabEventOption, ContextMenus } from '../../y-tabs/types';
|
|
4
4
|
import { TabStyle } from '../types';
|
|
5
5
|
|
|
@@ -30,7 +30,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
30
30
|
/** 页签风格 */
|
|
31
31
|
tabStyle: PropType<TabStyle>;
|
|
32
32
|
/** 是否支持右键菜单 */
|
|
33
|
-
tabContextMenu: PropType<boolean |
|
|
33
|
+
tabContextMenu: PropType<boolean | YDropdownProps>;
|
|
34
34
|
/** 右键菜单 */
|
|
35
35
|
tabContextMenus: PropType<ContextMenus>;
|
|
36
36
|
/** 是否支持拖动排序 */
|
|
@@ -54,7 +54,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
54
54
|
/** 页签风格 */
|
|
55
55
|
tabStyle: PropType<TabStyle>;
|
|
56
56
|
/** 是否支持右键菜单 */
|
|
57
|
-
tabContextMenu: PropType<boolean |
|
|
57
|
+
tabContextMenu: PropType<boolean | YDropdownProps>;
|
|
58
58
|
/** 右键菜单 */
|
|
59
59
|
tabContextMenus: PropType<ContextMenus>;
|
|
60
60
|
/** 是否支持拖动排序 */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { YMenusInstance } from '../y-app/plus';
|
|
2
2
|
import { MenuItem, MenuItemClickType } from '../y-menus/types';
|
|
3
3
|
import { TabPaneItem, TabEventOption } from '../y-tabs/types';
|
|
4
4
|
|
|
@@ -38,16 +38,16 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
38
38
|
default: boolean;
|
|
39
39
|
};
|
|
40
40
|
breadcrumb: {
|
|
41
|
-
type: import('vue').PropType<boolean | import('../y-app/plus').
|
|
41
|
+
type: import('vue').PropType<boolean | import('../y-app/plus').YBreadcrumbProps>;
|
|
42
42
|
default: boolean;
|
|
43
43
|
};
|
|
44
44
|
backTop: {
|
|
45
|
-
type: import('vue').PropType<boolean | import('../y-app/plus').
|
|
45
|
+
type: import('vue').PropType<boolean | import('../y-app/plus').YBacktopProps>;
|
|
46
46
|
default: boolean;
|
|
47
47
|
};
|
|
48
|
-
headerMenuProps: import('vue').PropType<import('../y-app/plus').
|
|
49
|
-
sidebarMenuProps: import('vue').PropType<import('../y-app/plus').
|
|
50
|
-
sideboxMenuProps: import('vue').PropType<import('../y-app/plus').
|
|
48
|
+
headerMenuProps: import('vue').PropType<import('../y-app/plus').YMenusProps>;
|
|
49
|
+
sidebarMenuProps: import('vue').PropType<import('../y-app/plus').YMenusProps>;
|
|
50
|
+
sideboxMenuProps: import('vue').PropType<import('../y-app/plus').YMenusProps>;
|
|
51
51
|
layout: import('vue').PropType<import('./types').Layout>;
|
|
52
52
|
sidebarLayout: import('vue').PropType<import('./types').SidebarLayout>;
|
|
53
53
|
headerStyle: import('vue').PropType<import('./types').HeaderStyle>;
|
|
@@ -79,7 +79,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
79
79
|
};
|
|
80
80
|
homePath: StringConstructor;
|
|
81
81
|
isHome: BooleanConstructor;
|
|
82
|
-
tabContextMenu: import('vue').PropType<boolean | import('../y-app/plus').
|
|
82
|
+
tabContextMenu: import('vue').PropType<boolean | import('../y-app/plus').YDropdownProps>;
|
|
83
83
|
tabContextMenus: import('vue').PropType<import('../y-tabs/types').ContextMenus>;
|
|
84
84
|
tabSortable: BooleanConstructor;
|
|
85
85
|
headerTitleSlot: {
|
|
@@ -125,8 +125,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
125
125
|
};
|
|
126
126
|
mobile: BooleanConstructor;
|
|
127
127
|
}>, {
|
|
128
|
-
sidebarMenuRef: import('vue').ShallowRef<
|
|
129
|
-
sideboxMenuRef: import('vue').ShallowRef<
|
|
128
|
+
sidebarMenuRef: import('vue').ShallowRef<YMenusInstance, YMenusInstance>;
|
|
129
|
+
sideboxMenuRef: import('vue').ShallowRef<YMenusInstance, YMenusInstance>;
|
|
130
130
|
getContentEl: () => HTMLElement | null;
|
|
131
131
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
132
132
|
tabContextMenu: (_option: TabEventOption) => void;
|
|
@@ -175,16 +175,16 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
175
175
|
default: boolean;
|
|
176
176
|
};
|
|
177
177
|
breadcrumb: {
|
|
178
|
-
type: import('vue').PropType<boolean | import('../y-app/plus').
|
|
178
|
+
type: import('vue').PropType<boolean | import('../y-app/plus').YBreadcrumbProps>;
|
|
179
179
|
default: boolean;
|
|
180
180
|
};
|
|
181
181
|
backTop: {
|
|
182
|
-
type: import('vue').PropType<boolean | import('../y-app/plus').
|
|
182
|
+
type: import('vue').PropType<boolean | import('../y-app/plus').YBacktopProps>;
|
|
183
183
|
default: boolean;
|
|
184
184
|
};
|
|
185
|
-
headerMenuProps: import('vue').PropType<import('../y-app/plus').
|
|
186
|
-
sidebarMenuProps: import('vue').PropType<import('../y-app/plus').
|
|
187
|
-
sideboxMenuProps: import('vue').PropType<import('../y-app/plus').
|
|
185
|
+
headerMenuProps: import('vue').PropType<import('../y-app/plus').YMenusProps>;
|
|
186
|
+
sidebarMenuProps: import('vue').PropType<import('../y-app/plus').YMenusProps>;
|
|
187
|
+
sideboxMenuProps: import('vue').PropType<import('../y-app/plus').YMenusProps>;
|
|
188
188
|
layout: import('vue').PropType<import('./types').Layout>;
|
|
189
189
|
sidebarLayout: import('vue').PropType<import('./types').SidebarLayout>;
|
|
190
190
|
headerStyle: import('vue').PropType<import('./types').HeaderStyle>;
|
|
@@ -216,7 +216,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
216
216
|
};
|
|
217
217
|
homePath: StringConstructor;
|
|
218
218
|
isHome: BooleanConstructor;
|
|
219
|
-
tabContextMenu: import('vue').PropType<boolean | import('../y-app/plus').
|
|
219
|
+
tabContextMenu: import('vue').PropType<boolean | import('../y-app/plus').YDropdownProps>;
|
|
220
220
|
tabContextMenus: import('vue').PropType<import('../y-tabs/types').ContextMenus>;
|
|
221
221
|
tabSortable: BooleanConstructor;
|
|
222
222
|
headerTitleSlot: {
|
|
@@ -291,9 +291,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
291
291
|
mobile: boolean;
|
|
292
292
|
collapse: boolean;
|
|
293
293
|
compact: boolean;
|
|
294
|
-
breadcrumb: boolean | import('../y-app/plus').
|
|
294
|
+
breadcrumb: boolean | import('../y-app/plus').YBreadcrumbProps;
|
|
295
295
|
tabBar: import('./types').TabBar;
|
|
296
|
-
backTop: boolean | import('../y-app/plus').
|
|
296
|
+
backTop: boolean | import('../y-app/plus').YBacktopProps;
|
|
297
297
|
sidebarStyle: import('./types').SidebarStyle;
|
|
298
298
|
tabStyle: import('./types').TabStyle;
|
|
299
299
|
fixedHeader: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType, ExtractPropTypes, InjectionKey } from 'vue';
|
|
2
2
|
import { StyleValue } from '../y-app/types';
|
|
3
|
-
import {
|
|
3
|
+
import { YMenusProps, YBreadcrumbProps, YBacktopProps, YDropdownProps } from '../y-app/plus';
|
|
4
4
|
import { MenuItem, MenuItemClickType } from '../y-menus/types';
|
|
5
5
|
import { BreadcrumbItem } from '../y-breadcrumb/types';
|
|
6
6
|
import { TabPaneItem, TabEventOption, ContextMenus } from '../y-tabs/types';
|
|
@@ -46,20 +46,20 @@ export declare const adminLayoutProps: {
|
|
|
46
46
|
};
|
|
47
47
|
/** 是否需要面包屑导航 */
|
|
48
48
|
breadcrumb: {
|
|
49
|
-
type: PropType<boolean |
|
|
49
|
+
type: PropType<boolean | YBreadcrumbProps>;
|
|
50
50
|
default: boolean;
|
|
51
51
|
};
|
|
52
52
|
/** 是否需要返回顶部 */
|
|
53
53
|
backTop: {
|
|
54
|
-
type: PropType<boolean |
|
|
54
|
+
type: PropType<boolean | YBacktopProps>;
|
|
55
55
|
default: boolean;
|
|
56
56
|
};
|
|
57
57
|
/** 顶栏菜单属性 */
|
|
58
|
-
headerMenuProps: PropType<
|
|
58
|
+
headerMenuProps: PropType<YMenusProps>;
|
|
59
59
|
/** 侧栏菜单属性 */
|
|
60
|
-
sidebarMenuProps: PropType<
|
|
60
|
+
sidebarMenuProps: PropType<YMenusProps>;
|
|
61
61
|
/** 双侧栏一级菜单属性 */
|
|
62
|
-
sideboxMenuProps: PropType<
|
|
62
|
+
sideboxMenuProps: PropType<YMenusProps>;
|
|
63
63
|
/** 布局类型 */
|
|
64
64
|
layout: PropType<Layout>;
|
|
65
65
|
/** 侧栏布局类型 */
|
|
@@ -105,7 +105,7 @@ export declare const adminLayoutProps: {
|
|
|
105
105
|
/** 是否选中固定的主页页签 */
|
|
106
106
|
isHome: BooleanConstructor;
|
|
107
107
|
/** 是否支持页签右键菜单 */
|
|
108
|
-
tabContextMenu: PropType<boolean |
|
|
108
|
+
tabContextMenu: PropType<boolean | YDropdownProps>;
|
|
109
109
|
/** 页签右键菜单数据 */
|
|
110
110
|
tabContextMenus: PropType<ContextMenus>;
|
|
111
111
|
/** 是否支持页签拖动排序 */
|
package/es/y-app/index.d.ts
CHANGED
|
@@ -6,8 +6,8 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
6
6
|
closeModal: (modalId?: import('../y-modal-render/types').ModalItemId) => void;
|
|
7
7
|
closeAllModal: () => void;
|
|
8
8
|
updateModalProps: (modalId?: import('../y-modal-render/types').ModalItemId, option?: Record<string, any>) => void;
|
|
9
|
-
openDropdown: (triggerEl: any, items?: import('../y-dropdown/types').DropdownItem[], props?: import('./plus').
|
|
10
|
-
openPopconfirm: (triggerEl: any, props?: import('./plus').
|
|
9
|
+
openDropdown: (triggerEl: any, items?: import('../y-dropdown/types').DropdownItem[], props?: import('./plus').YDropdownPropsAndEmits) => void;
|
|
10
|
+
openPopconfirm: (triggerEl: any, props?: import('./plus').YPopconfirmPropsAndEmits) => void;
|
|
11
11
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
12
12
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
13
13
|
export default _default;
|
package/es/y-app/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, createElementBlock, openBlock, Fragment, renderSlot, createVNode, unref, mergeProps } from "vue";
|
|
2
|
-
import
|
|
2
|
+
import YModalRender from "../y-modal-render/index";
|
|
3
3
|
import { useModalRenderProvider } from "../y-modal-render/util";
|
|
4
4
|
import YDropdown from "../y-dropdown/index";
|
|
5
5
|
import { useDropdownProvider } from "../y-dropdown-provider/util";
|
|
@@ -45,7 +45,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
45
45
|
return (_ctx, _cache) => {
|
|
46
46
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
47
47
|
renderSlot(_ctx.$slots, "default"),
|
|
48
|
-
createVNode(unref(
|
|
48
|
+
createVNode(unref(YModalRender), {
|
|
49
49
|
modals: unref(modals),
|
|
50
50
|
onRemoveItem: unref(removeModal),
|
|
51
51
|
onUpdateItemVisible: unref(updateModalVisible),
|
package/es/y-app/plus.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type YAdminLayout from '../y-admin-layout/index';
|
|
2
2
|
import type { BacktopProps } from '../y-backtop/props';
|
|
3
3
|
import type YBasicSelect from '../y-basic-select/index';
|
|
4
|
-
import type
|
|
4
|
+
import type YBasicSelectView from '../y-basic-select/components/select-view';
|
|
5
5
|
import type { BreadcrumbProps } from '../y-breadcrumb/props';
|
|
6
6
|
import type { CardProps } from '../y-card/props';
|
|
7
|
-
import type
|
|
7
|
+
import type YCronPanel from '../y-cron-panel/index';
|
|
8
8
|
import type YDataTable from '../y-data-table/index';
|
|
9
9
|
import type { DataTableProps } from '../y-data-table/props';
|
|
10
10
|
import type YDrawer from '../y-drawer/index';
|
|
@@ -55,206 +55,206 @@ import type { ComponentProps } from './types';
|
|
|
55
55
|
/**
|
|
56
56
|
* YAdminLayout
|
|
57
57
|
*/
|
|
58
|
-
export type
|
|
58
|
+
export type YAdminLayoutInstance = InstanceType<typeof YAdminLayout> | null;
|
|
59
59
|
|
|
60
60
|
/**
|
|
61
61
|
* YBacktop
|
|
62
62
|
*/
|
|
63
|
-
export type
|
|
63
|
+
export type YBacktopProps = ComponentProps<BacktopProps>;
|
|
64
64
|
|
|
65
65
|
/**
|
|
66
66
|
* YBasicSelect
|
|
67
67
|
*/
|
|
68
|
-
export type
|
|
68
|
+
export type YBasicSelectInstance = InstanceType<typeof YBasicSelect> | null;
|
|
69
69
|
|
|
70
|
-
export type
|
|
71
|
-
typeof
|
|
70
|
+
export type YBasicSelectViewInstance = InstanceType<
|
|
71
|
+
typeof YBasicSelectView
|
|
72
72
|
> | null;
|
|
73
73
|
|
|
74
74
|
/**
|
|
75
75
|
* YBreadcrumb
|
|
76
76
|
*/
|
|
77
|
-
export type
|
|
77
|
+
export type YBreadcrumbProps = ComponentProps<BreadcrumbProps>;
|
|
78
78
|
|
|
79
79
|
/**
|
|
80
80
|
* YCard
|
|
81
81
|
*/
|
|
82
|
-
export type
|
|
82
|
+
export type YCardProps = ComponentProps<CardProps>;
|
|
83
83
|
|
|
84
84
|
/**
|
|
85
|
-
*
|
|
85
|
+
* YCronPanel
|
|
86
86
|
*/
|
|
87
|
-
export type
|
|
87
|
+
export type YCronPanelInstance = InstanceType<typeof YCronPanel> | null;
|
|
88
88
|
|
|
89
89
|
/**
|
|
90
90
|
* YDataTable
|
|
91
91
|
*/
|
|
92
|
-
export type
|
|
92
|
+
export type YDataTableInstance = InstanceType<typeof YDataTable> | null;
|
|
93
93
|
|
|
94
|
-
export type
|
|
94
|
+
export type YDataTableProps = ComponentProps<DataTableProps>;
|
|
95
95
|
|
|
96
96
|
/**
|
|
97
97
|
* YDrawer
|
|
98
98
|
*/
|
|
99
|
-
export type
|
|
99
|
+
export type YDrawerInstance = InstanceType<typeof YDrawer> | null;
|
|
100
100
|
|
|
101
|
-
export type
|
|
101
|
+
export type YDrawerProps = ComponentProps<DrawerProps>;
|
|
102
102
|
|
|
103
|
-
export type
|
|
103
|
+
export type YDrawerPropsAndEmits = ComponentProps<DrawerPropsAndEmits>;
|
|
104
104
|
|
|
105
105
|
/**
|
|
106
106
|
* YDropdown
|
|
107
107
|
*/
|
|
108
|
-
export type
|
|
108
|
+
export type YDropdownInstance = InstanceType<typeof YDropdown> | null;
|
|
109
109
|
|
|
110
|
-
export type
|
|
110
|
+
export type YDropdownProps = ComponentProps<DropdownProps>;
|
|
111
111
|
|
|
112
|
-
export type
|
|
112
|
+
export type YDropdownPropsAndEmits = ComponentProps<DropdownPropsAndEmits>;
|
|
113
113
|
|
|
114
114
|
/**
|
|
115
115
|
* YFileList
|
|
116
116
|
*/
|
|
117
|
-
export type
|
|
117
|
+
export type YFileListProps = ComponentProps<FileListProps>;
|
|
118
118
|
|
|
119
119
|
/**
|
|
120
120
|
* YImageViewer
|
|
121
121
|
*/
|
|
122
|
-
export type
|
|
122
|
+
export type YImageViewerProps = ComponentProps<ImageViewerProps>;
|
|
123
123
|
|
|
124
124
|
/**
|
|
125
125
|
* YLoading
|
|
126
126
|
*/
|
|
127
|
-
export type
|
|
127
|
+
export type YLoadingProps = ComponentProps<LoadingProps>;
|
|
128
128
|
|
|
129
129
|
/**
|
|
130
130
|
* YMenus
|
|
131
131
|
*/
|
|
132
|
-
export type
|
|
132
|
+
export type YMenusInstance = InstanceType<typeof YMenus> | null;
|
|
133
133
|
|
|
134
|
-
export type
|
|
134
|
+
export type YMenusProps = ComponentProps<MenusProps>;
|
|
135
135
|
|
|
136
|
-
export type
|
|
136
|
+
export type YMenuItemProps = Partial<MenuItem>;
|
|
137
137
|
|
|
138
138
|
/**
|
|
139
139
|
* YModal
|
|
140
140
|
*/
|
|
141
|
-
export type
|
|
141
|
+
export type YModalInstance = InstanceType<typeof YModal> | null;
|
|
142
142
|
|
|
143
|
-
export type
|
|
143
|
+
export type YModalProps = ComponentProps<ModalProps>;
|
|
144
144
|
|
|
145
|
-
export type
|
|
145
|
+
export type YModalPropsAndEmits = ComponentProps<ModalPropsAndEmits>;
|
|
146
146
|
|
|
147
147
|
/**
|
|
148
148
|
* YPage
|
|
149
149
|
*/
|
|
150
|
-
export type
|
|
150
|
+
export type YPageInstance = InstanceType<typeof YPage> | null;
|
|
151
151
|
|
|
152
|
-
export type
|
|
152
|
+
export type YPageProps = ComponentProps<PageProps>;
|
|
153
153
|
|
|
154
154
|
/**
|
|
155
155
|
* YPagination
|
|
156
156
|
*/
|
|
157
|
-
export type
|
|
157
|
+
export type YPaginationProps = ComponentProps<PaginationProps>;
|
|
158
158
|
|
|
159
159
|
/**
|
|
160
160
|
* YPopconfirm
|
|
161
161
|
*/
|
|
162
|
-
export type
|
|
162
|
+
export type YPopconfirmInstance = InstanceType<typeof YPopconfirm> | null;
|
|
163
163
|
|
|
164
|
-
export type
|
|
164
|
+
export type YPopconfirmProps = Partial<PopconfirmProps>;
|
|
165
165
|
|
|
166
|
-
export type
|
|
166
|
+
export type YPopconfirmPropsAndEmits = Partial<PopconfirmPropsAndEmits>;
|
|
167
167
|
|
|
168
168
|
/**
|
|
169
169
|
* YPopover
|
|
170
170
|
*/
|
|
171
|
-
export type
|
|
171
|
+
export type YPopoverInstance = InstanceType<typeof YPopover> | null;
|
|
172
172
|
|
|
173
|
-
export type
|
|
173
|
+
export type YPopoverProps = Partial<PopoverProps>;
|
|
174
174
|
|
|
175
175
|
/**
|
|
176
176
|
* YPrinter
|
|
177
177
|
*/
|
|
178
|
-
export type
|
|
178
|
+
export type YPrinterProps = ComponentProps<PrinterProps>;
|
|
179
179
|
|
|
180
180
|
/**
|
|
181
181
|
* YProTable
|
|
182
182
|
*/
|
|
183
|
-
export type
|
|
183
|
+
export type YProTableInstance = InstanceType<typeof YProTable> | null;
|
|
184
184
|
|
|
185
|
-
export type
|
|
185
|
+
export type YProTableProps = ComponentProps<ProTableProps>;
|
|
186
186
|
|
|
187
187
|
/**
|
|
188
188
|
* YSplitPanel
|
|
189
189
|
*/
|
|
190
|
-
export type
|
|
190
|
+
export type YSplitPanelInstance = InstanceType<typeof YSplitPanel> | null;
|
|
191
191
|
|
|
192
|
-
export type
|
|
192
|
+
export type YSplitPanelProps = ComponentProps<SplitPanelProps>;
|
|
193
193
|
|
|
194
194
|
/**
|
|
195
195
|
* YTable
|
|
196
196
|
*/
|
|
197
|
-
export type
|
|
197
|
+
export type YTableProps = ComponentProps<TableProps>;
|
|
198
198
|
|
|
199
199
|
/**
|
|
200
200
|
* YTableSelect
|
|
201
201
|
*/
|
|
202
|
-
export type
|
|
202
|
+
export type YTableSelectInstance = InstanceType<typeof YTableSelect> | null;
|
|
203
203
|
|
|
204
204
|
/**
|
|
205
205
|
* YTabs
|
|
206
206
|
*/
|
|
207
|
-
export type
|
|
207
|
+
export type YTabsInstance = InstanceType<typeof YTabs> | null;
|
|
208
208
|
|
|
209
209
|
/**
|
|
210
210
|
* YText
|
|
211
211
|
*/
|
|
212
|
-
export type
|
|
212
|
+
export type YTextInstance = InstanceType<typeof YText> | null;
|
|
213
213
|
|
|
214
|
-
export type
|
|
214
|
+
export type YTextProps = ComponentProps<TextProps>;
|
|
215
215
|
|
|
216
216
|
/**
|
|
217
217
|
* YTool
|
|
218
218
|
*/
|
|
219
|
-
export type
|
|
219
|
+
export type YToolInstance = InstanceType<typeof YTool> | null;
|
|
220
220
|
|
|
221
|
-
export type
|
|
221
|
+
export type YToolProps = Partial<ToolProps>;
|
|
222
222
|
|
|
223
223
|
/**
|
|
224
224
|
* YToolbar
|
|
225
225
|
*/
|
|
226
|
-
export type
|
|
226
|
+
export type YToolbarProps = ComponentProps<ToolbarProps>;
|
|
227
227
|
|
|
228
228
|
/**
|
|
229
229
|
* YTooltip
|
|
230
230
|
*/
|
|
231
|
-
export type
|
|
231
|
+
export type YTooltipInstance = InstanceType<typeof YTooltip> | null;
|
|
232
232
|
|
|
233
|
-
export type
|
|
233
|
+
export type YTooltipProps = Partial<TooltipProps>;
|
|
234
234
|
|
|
235
235
|
/**
|
|
236
236
|
* YTreeSelect
|
|
237
237
|
*/
|
|
238
|
-
export type
|
|
238
|
+
export type YTreeSelectInstance = InstanceType<typeof YTreeSelect> | null;
|
|
239
239
|
|
|
240
240
|
/**
|
|
241
241
|
* YUploadList
|
|
242
242
|
*/
|
|
243
|
-
export type
|
|
243
|
+
export type YUploadListInstance = InstanceType<typeof YUploadList> | null;
|
|
244
244
|
|
|
245
|
-
export type
|
|
245
|
+
export type YUploadListProps = Partial<UploadListProps>;
|
|
246
246
|
|
|
247
247
|
/**
|
|
248
248
|
* YVirtualTable
|
|
249
249
|
*/
|
|
250
|
-
export type
|
|
250
|
+
export type YVirtualTableInstance = InstanceType<typeof YVirtualTable> | null;
|
|
251
251
|
|
|
252
252
|
/**
|
|
253
253
|
* Message
|
|
254
254
|
*/
|
|
255
|
-
export type
|
|
255
|
+
export type YMessageOptions = Partial<MessageOptions>;
|
|
256
256
|
|
|
257
257
|
/**
|
|
258
258
|
* MessageBox
|
|
259
259
|
*/
|
|
260
|
-
export type
|
|
260
|
+
export type YMessageBoxOptions = Partial<MessageBoxOptions>;
|