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,6 +1,6 @@
|
|
|
1
1
|
import { Ref, InjectionKey } from 'vue';
|
|
2
2
|
import { modalItemContextKey as injectContext } from '../utils/hook';
|
|
3
|
-
import { GlobalProvide, UseLocaleResult, LocaleProps,
|
|
3
|
+
import { GlobalProvide, UseLocaleResult, LocaleProps, YLocale } from './types';
|
|
4
4
|
|
|
5
5
|
export { injectContext };
|
|
6
6
|
/**
|
|
@@ -18,5 +18,5 @@ export declare function useGlobalProps<T>(name: string): Ref<T>;
|
|
|
18
18
|
/**
|
|
19
19
|
* 获取国际化
|
|
20
20
|
*/
|
|
21
|
-
export declare function useLocale<K extends keyof
|
|
22
|
-
export declare const configValues:
|
|
21
|
+
export declare function useLocale<K extends keyof YLocale>(name?: K, props?: LocaleProps<YLocale[K]>): UseLocaleResult<YLocale[K]>;
|
|
22
|
+
export declare const configValues: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { ComputedRef } from 'vue';
|
|
2
2
|
import type {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
YProTableProps,
|
|
4
|
+
YMessageOptions,
|
|
5
|
+
YMessageBoxOptions
|
|
6
6
|
} from '../y-app/plus';
|
|
7
7
|
import type { ButtonsLocale } from '../y-buttons/types';
|
|
8
8
|
import type { CopyableLocale } from '../y-copyable/types';
|
|
@@ -21,7 +21,7 @@ import type { UploadLocale } from '../y-upload-list/types';
|
|
|
21
21
|
/**
|
|
22
22
|
* 国际化
|
|
23
23
|
*/
|
|
24
|
-
export interface
|
|
24
|
+
export interface YLocale {
|
|
25
25
|
/** 操作按钮 */
|
|
26
26
|
buttons: ButtonsLocale;
|
|
27
27
|
/** 文本复制 */
|
|
@@ -54,7 +54,7 @@ export interface EleLocale {
|
|
|
54
54
|
* 表格全局配置
|
|
55
55
|
*/
|
|
56
56
|
export type TableGlobalConfig = Pick<
|
|
57
|
-
|
|
57
|
+
YProTableProps,
|
|
58
58
|
| 'stripe'
|
|
59
59
|
| 'border'
|
|
60
60
|
| 'request'
|
|
@@ -74,7 +74,7 @@ export type TableGlobalConfig = Pick<
|
|
|
74
74
|
* 消息提示全局配置
|
|
75
75
|
*/
|
|
76
76
|
export type MessageGlobalConfig = Pick<
|
|
77
|
-
|
|
77
|
+
YMessageOptions,
|
|
78
78
|
| 'plain'
|
|
79
79
|
| 'duration'
|
|
80
80
|
| 'showClose'
|
|
@@ -92,10 +92,10 @@ export type MessageGlobalConfig = Pick<
|
|
|
92
92
|
*/
|
|
93
93
|
export interface GlobalProvide {
|
|
94
94
|
key?: string;
|
|
95
|
-
locale?:
|
|
95
|
+
locale?: YLocale;
|
|
96
96
|
table?: TableGlobalConfig;
|
|
97
97
|
message?: MessageGlobalConfig;
|
|
98
|
-
messageBox?:
|
|
98
|
+
messageBox?: YMessageBoxOptions;
|
|
99
99
|
mapKey?: string;
|
|
100
100
|
}
|
|
101
101
|
|
|
@@ -12,7 +12,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
12
12
|
copiedIconProps: import('vue').PropType<import('../y-app/el').ElIconProps>;
|
|
13
13
|
copiedIconStyle: import('vue').PropType<import('../y-app/types').StyleValue>;
|
|
14
14
|
tooltip: {
|
|
15
|
-
type: import('vue').PropType<boolean | import('../y-app/plus').
|
|
15
|
+
type: import('vue').PropType<boolean | import('../y-app/plus').YTooltipProps>;
|
|
16
16
|
default: boolean;
|
|
17
17
|
};
|
|
18
18
|
resetAfter: {
|
|
@@ -33,7 +33,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
33
33
|
copiedIconProps: import('vue').PropType<import('../y-app/el').ElIconProps>;
|
|
34
34
|
copiedIconStyle: import('vue').PropType<import('../y-app/types').StyleValue>;
|
|
35
35
|
tooltip: {
|
|
36
|
-
type: import('vue').PropType<boolean | import('../y-app/plus').
|
|
36
|
+
type: import('vue').PropType<boolean | import('../y-app/plus').YTooltipProps>;
|
|
37
37
|
default: boolean;
|
|
38
38
|
};
|
|
39
39
|
resetAfter: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PropType, ExtractPropTypes } from 'vue';
|
|
2
2
|
import { StyleValue } from '../y-app/types';
|
|
3
3
|
import { ElIconProps } from '../y-app/el';
|
|
4
|
-
import {
|
|
4
|
+
import { YTooltipProps } from '../y-app/plus';
|
|
5
5
|
import { CopyableIcon, CopyableLocale } from './types';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -28,7 +28,7 @@ export declare const copyableProps: {
|
|
|
28
28
|
copiedIconStyle: PropType<StyleValue>;
|
|
29
29
|
/** 文字提示属性 */
|
|
30
30
|
tooltip: {
|
|
31
|
-
type: PropType<boolean |
|
|
31
|
+
type: PropType<boolean | YTooltipProps>;
|
|
32
32
|
default: boolean;
|
|
33
33
|
};
|
|
34
34
|
/** 拷贝成功状态重置时间 */
|
|
@@ -3,7 +3,7 @@ const vue = require("vue");
|
|
|
3
3
|
const elementPlus = require("element-plus");
|
|
4
4
|
const receiver = require("../y-config-provider/receiver");
|
|
5
5
|
const YModal = require("../y-modal/index");
|
|
6
|
-
const
|
|
6
|
+
const YCronPanel = require("../y-cron-panel/index");
|
|
7
7
|
const props = require("./props");
|
|
8
8
|
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
9
9
|
...{ name: "YCronBuilder" },
|
|
@@ -79,7 +79,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
79
79
|
]),
|
|
80
80
|
default: vue.withCtx(() => [
|
|
81
81
|
vue.renderSlot(_ctx.$slots, "default"),
|
|
82
|
-
vue.createVNode(
|
|
82
|
+
vue.createVNode(YCronPanel, {
|
|
83
83
|
ref_key: "cronPanelRef",
|
|
84
84
|
ref: cronPanelRef,
|
|
85
85
|
modelValue: cronModel.value,
|
|
@@ -6,7 +6,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
6
6
|
modelValue: BooleanConstructor;
|
|
7
7
|
cron: StringConstructor;
|
|
8
8
|
title: StringConstructor;
|
|
9
|
-
modalProps: import('vue').PropType<import('../y-app/plus').
|
|
9
|
+
modalProps: import('vue').PropType<import('../y-app/plus').YModalProps>;
|
|
10
10
|
locale: import('vue').PropType<Partial<import('./types').CronBuilderLocale>>;
|
|
11
11
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
12
|
done: (_cron?: string | undefined) => void;
|
|
@@ -16,7 +16,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
16
16
|
modelValue: BooleanConstructor;
|
|
17
17
|
cron: StringConstructor;
|
|
18
18
|
title: StringConstructor;
|
|
19
|
-
modalProps: import('vue').PropType<import('../y-app/plus').
|
|
19
|
+
modalProps: import('vue').PropType<import('../y-app/plus').YModalProps>;
|
|
20
20
|
locale: import('vue').PropType<Partial<import('./types').CronBuilderLocale>>;
|
|
21
21
|
}>> & Readonly<{
|
|
22
22
|
onDone?: ((_cron?: string | undefined) => any) | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType, ExtractPropTypes } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { YModalProps } from '../y-app/plus';
|
|
3
3
|
import { CronBuilderLocale } from './types';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -13,7 +13,7 @@ export declare const cronBuilderProps: {
|
|
|
13
13
|
/** 标题 */
|
|
14
14
|
title: StringConstructor;
|
|
15
15
|
/** 弹窗属性 */
|
|
16
|
-
modalProps: PropType<
|
|
16
|
+
modalProps: PropType<YModalProps>;
|
|
17
17
|
/** 国际化 */
|
|
18
18
|
locale: PropType<Partial<CronBuilderLocale>>;
|
|
19
19
|
};
|
|
@@ -51,7 +51,7 @@ const _hoisted_37 = ["onClick"];
|
|
|
51
51
|
const _hoisted_38 = { class: "y-cron-panel-list-item-value" };
|
|
52
52
|
const _hoisted_39 = { class: "y-cron-panel-list-item-label" };
|
|
53
53
|
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
54
|
-
...{ name: "
|
|
54
|
+
...{ name: "YCronPanel" },
|
|
55
55
|
__name: "index",
|
|
56
56
|
props: props.cronPanelProps,
|
|
57
57
|
emits: props.cronPanelEmits,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { YTooltipProps } from '../../y-app/plus';
|
|
3
3
|
import { UploadOption, BeforeUploadClick, CropperLocale } from '../types';
|
|
4
4
|
|
|
5
5
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
@@ -10,7 +10,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
10
10
|
/** 是否需要提示组件 */
|
|
11
11
|
tooltip: BooleanConstructor;
|
|
12
12
|
/** 提示组件属性 */
|
|
13
|
-
tooltipProps: PropType<
|
|
13
|
+
tooltipProps: PropType<YTooltipProps>;
|
|
14
14
|
/** 上传按钮点击前的钩子 */
|
|
15
15
|
beforeUploadClick: PropType<BeforeUploadClick>;
|
|
16
16
|
/** 国际化 */
|
|
@@ -37,7 +37,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
37
37
|
/** 是否需要提示组件 */
|
|
38
38
|
tooltip: BooleanConstructor;
|
|
39
39
|
/** 提示组件属性 */
|
|
40
|
-
tooltipProps: PropType<
|
|
40
|
+
tooltipProps: PropType<YTooltipProps>;
|
|
41
41
|
/** 上传按钮点击前的钩子 */
|
|
42
42
|
beforeUploadClick: PropType<BeforeUploadClick>;
|
|
43
43
|
/** 国际化 */
|
package/lib/y-cropper/index.d.ts
CHANGED
|
@@ -30,7 +30,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
30
30
|
type: BooleanConstructor;
|
|
31
31
|
default: boolean;
|
|
32
32
|
};
|
|
33
|
-
tooltipProps: import('vue').PropType<import('../y-app/plus').
|
|
33
|
+
tooltipProps: import('vue').PropType<import('../y-app/plus').YTooltipProps>;
|
|
34
34
|
beforeUploadClick: import('vue').PropType<import('./types').BeforeUploadClick>;
|
|
35
35
|
responsive: {
|
|
36
36
|
type: BooleanConstructor;
|
|
@@ -69,7 +69,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
69
69
|
type: BooleanConstructor;
|
|
70
70
|
default: boolean;
|
|
71
71
|
};
|
|
72
|
-
tooltipProps: import('vue').PropType<import('../y-app/plus').
|
|
72
|
+
tooltipProps: import('vue').PropType<import('../y-app/plus').YTooltipProps>;
|
|
73
73
|
beforeUploadClick: import('vue').PropType<import('./types').BeforeUploadClick>;
|
|
74
74
|
responsive: {
|
|
75
75
|
type: BooleanConstructor;
|
package/lib/y-cropper/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
|
import { CropperOptions, CroppedOptions, BeforeUploadClick, CropperLocale } from './types';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -47,7 +47,7 @@ export declare const cropperProps: {
|
|
|
47
47
|
default: boolean;
|
|
48
48
|
};
|
|
49
49
|
/** tooltip属性 */
|
|
50
|
-
tooltipProps: PropType<
|
|
50
|
+
tooltipProps: PropType<YTooltipProps>;
|
|
51
51
|
/** 上传按钮点击前的钩子 */
|
|
52
52
|
beforeUploadClick: PropType<BeforeUploadClick>;
|
|
53
53
|
/** 是否开启响应式 */
|
|
@@ -12,7 +12,7 @@ declare function __VLS_template(): {
|
|
|
12
12
|
};
|
|
13
13
|
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
14
14
|
modelValue: BooleanConstructor;
|
|
15
|
-
modalProps: import('vue').PropType<Partial<Omit<import('../y-app/plus').
|
|
15
|
+
modalProps: import('vue').PropType<Partial<Omit<import('../y-app/plus').YModalProps, "modelValue">>>;
|
|
16
16
|
height: StringConstructor;
|
|
17
17
|
src: StringConstructor;
|
|
18
18
|
imageType: {
|
|
@@ -42,7 +42,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
42
42
|
type: BooleanConstructor;
|
|
43
43
|
default: boolean;
|
|
44
44
|
};
|
|
45
|
-
tooltipProps: import('vue').PropType<import('../y-app/plus').
|
|
45
|
+
tooltipProps: import('vue').PropType<import('../y-app/plus').YTooltipProps>;
|
|
46
46
|
beforeUploadClick: import('vue').PropType<import('../y-cropper/types').BeforeUploadClick>;
|
|
47
47
|
responsive: {
|
|
48
48
|
type: BooleanConstructor;
|
|
@@ -54,7 +54,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
54
54
|
"update:modelValue": (_value: boolean) => void;
|
|
55
55
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
56
56
|
modelValue: BooleanConstructor;
|
|
57
|
-
modalProps: import('vue').PropType<Partial<Omit<import('../y-app/plus').
|
|
57
|
+
modalProps: import('vue').PropType<Partial<Omit<import('../y-app/plus').YModalProps, "modelValue">>>;
|
|
58
58
|
height: StringConstructor;
|
|
59
59
|
src: StringConstructor;
|
|
60
60
|
imageType: {
|
|
@@ -84,7 +84,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
84
84
|
type: BooleanConstructor;
|
|
85
85
|
default: boolean;
|
|
86
86
|
};
|
|
87
|
-
tooltipProps: import('vue').PropType<import('../y-app/plus').
|
|
87
|
+
tooltipProps: import('vue').PropType<import('../y-app/plus').YTooltipProps>;
|
|
88
88
|
beforeUploadClick: import('vue').PropType<import('../y-cropper/types').BeforeUploadClick>;
|
|
89
89
|
responsive: {
|
|
90
90
|
type: BooleanConstructor;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType, ExtractPropTypes } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { YModalProps } from '../y-app/plus';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* 属性
|
|
@@ -8,7 +8,7 @@ export declare const cropperModalProps: {
|
|
|
8
8
|
/** 弹窗是否显示 */
|
|
9
9
|
modelValue: BooleanConstructor;
|
|
10
10
|
/** 弹窗参数 */
|
|
11
|
-
modalProps: PropType<Partial<Omit<
|
|
11
|
+
modalProps: PropType<Partial<Omit<YModalProps, "modelValue">>>;
|
|
12
12
|
height: StringConstructor;
|
|
13
13
|
src: StringConstructor;
|
|
14
14
|
imageType: {
|
|
@@ -38,7 +38,7 @@ export declare const cropperModalProps: {
|
|
|
38
38
|
type: BooleanConstructor;
|
|
39
39
|
default: boolean;
|
|
40
40
|
};
|
|
41
|
-
tooltipProps: PropType<import('../y-app/plus').
|
|
41
|
+
tooltipProps: PropType<import('../y-app/plus').YTooltipProps>;
|
|
42
42
|
beforeUploadClick: PropType<import('../y-cropper/types').BeforeUploadClick>;
|
|
43
43
|
responsive: {
|
|
44
44
|
type: BooleanConstructor;
|
package/lib/y-crud/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { YProTableInstance } from '../y-app/plus';
|
|
2
2
|
import { DataItem } from '../y-data-table/types';
|
|
3
3
|
import { CrudField, DeleteApi, TreeListApi } from './types';
|
|
4
4
|
|
|
@@ -24,13 +24,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
24
24
|
addApi: import('vue').PropType<import('./types').EditApi | string>;
|
|
25
25
|
editApi: import('vue').PropType<import('./types').EditApi | string>;
|
|
26
26
|
treeListApi: import('vue').PropType<Array<Record<string, any>> | TreeListApi | string>;
|
|
27
|
-
messageOptions: import('vue').PropType<import('../y-app/plus').
|
|
27
|
+
messageOptions: import('vue').PropType<import('../y-app/plus').YMessageOptions>;
|
|
28
28
|
itemTypeData: import('vue').PropType<import('../y-pro-form/types').ProFormItemTypeData[]>;
|
|
29
29
|
httpRequest: (ObjectConstructor | FunctionConstructor)[];
|
|
30
30
|
screenSize: import('vue').PropType<import('../y-pro-form/types').ScreenSize>;
|
|
31
31
|
locale: import('vue').PropType<Partial<import('./types').CrudLocale>>;
|
|
32
32
|
}>, {
|
|
33
|
-
tableRef: import('vue').Ref<
|
|
33
|
+
tableRef: import('vue').Ref<YProTableInstance, YProTableInstance>;
|
|
34
34
|
getTableSelections: () => {
|
|
35
35
|
[x: string]: any;
|
|
36
36
|
[x: number]: any;
|
|
@@ -62,7 +62,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
62
62
|
addApi: import('vue').PropType<import('./types').EditApi | string>;
|
|
63
63
|
editApi: import('vue').PropType<import('./types').EditApi | string>;
|
|
64
64
|
treeListApi: import('vue').PropType<Array<Record<string, any>> | TreeListApi | string>;
|
|
65
|
-
messageOptions: import('vue').PropType<import('../y-app/plus').
|
|
65
|
+
messageOptions: import('vue').PropType<import('../y-app/plus').YMessageOptions>;
|
|
66
66
|
itemTypeData: import('vue').PropType<import('../y-pro-form/types').ProFormItemTypeData[]>;
|
|
67
67
|
httpRequest: (ObjectConstructor | FunctionConstructor)[];
|
|
68
68
|
screenSize: import('vue').PropType<import('../y-pro-form/types').ScreenSize>;
|
package/lib/y-crud/props.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType, ExtractPropTypes } from 'vue';
|
|
2
2
|
import { UserComponent } from '../y-app/types';
|
|
3
|
-
import {
|
|
3
|
+
import { YMessageOptions } from '../y-app/plus';
|
|
4
4
|
import { DataItem } from '../y-data-table/types';
|
|
5
5
|
import { Datasource } from '../y-pro-table/types';
|
|
6
6
|
import { ProFormItemTypeData, ScreenSize } from '../y-pro-form/types';
|
|
@@ -44,7 +44,7 @@ export declare const crudProps: {
|
|
|
44
44
|
/** 侧栏树组件数据接口 */
|
|
45
45
|
treeListApi: PropType<Array<Record<string, any>> | TreeListApi | string>;
|
|
46
46
|
/** 消息提示组件属性 */
|
|
47
|
-
messageOptions: PropType<
|
|
47
|
+
messageOptions: PropType<YMessageOptions>;
|
|
48
48
|
/** 高级表单组件类型数据 */
|
|
49
49
|
itemTypeData: PropType<ProFormItemTypeData[]>;
|
|
50
50
|
/** 远程数据源请求工具 */
|
package/lib/y-crud/types.d.ts
CHANGED
|
@@ -7,16 +7,16 @@ import type {
|
|
|
7
7
|
ElEmptyProps
|
|
8
8
|
} from '../y-app/el';
|
|
9
9
|
import type {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
10
|
+
YPageProps,
|
|
11
|
+
YCardProps,
|
|
12
|
+
YProTableProps,
|
|
13
|
+
YSplitPanelProps,
|
|
14
|
+
YLoadingProps,
|
|
15
|
+
YModalProps,
|
|
16
|
+
YPopconfirmProps,
|
|
17
|
+
YMessageBoxOptions
|
|
18
18
|
} from '../y-app/plus';
|
|
19
|
-
import type {
|
|
19
|
+
import type { YProFormProps } from '../y-app/plusx';
|
|
20
20
|
import type { ProFormItemProps } from '../y-pro-form/types';
|
|
21
21
|
import type { DataItem, DataKey, Column } from '../y-data-table/types';
|
|
22
22
|
|
|
@@ -53,7 +53,7 @@ export interface CrudField {
|
|
|
53
53
|
/**
|
|
54
54
|
* 删除确认框属性
|
|
55
55
|
*/
|
|
56
|
-
export type DelConfirmProps =
|
|
56
|
+
export type DelConfirmProps = YPopconfirmProps | YMessageBoxOptions;
|
|
57
57
|
|
|
58
58
|
/**
|
|
59
59
|
* 删除气泡确认框属性
|
|
@@ -68,11 +68,11 @@ export type DelPopConfirmProps = DelConfirmProps & {
|
|
|
68
68
|
*/
|
|
69
69
|
export interface ListConfig {
|
|
70
70
|
/** 卡片属性 */
|
|
71
|
-
cardProps?: boolean |
|
|
71
|
+
cardProps?: boolean | YCardProps;
|
|
72
72
|
/** 卡片插槽 */
|
|
73
73
|
cardSlots?: Record<string, string>;
|
|
74
74
|
/** 表格属性 */
|
|
75
|
-
tableProps?:
|
|
75
|
+
tableProps?: YProTableProps;
|
|
76
76
|
/** 表格插槽 */
|
|
77
77
|
tableSlots?: Record<string, any>;
|
|
78
78
|
/** 表格多选列属性 */
|
|
@@ -92,7 +92,7 @@ export interface ListConfig {
|
|
|
92
92
|
/** 删除气泡确认框属性 */
|
|
93
93
|
delPopConfirmProps?: boolean | DelPopConfirmProps;
|
|
94
94
|
/** 删除确认框属性 */
|
|
95
|
-
delConfirmProps?: boolean |
|
|
95
|
+
delConfirmProps?: boolean | YMessageBoxOptions;
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
/**
|
|
@@ -100,11 +100,11 @@ export interface ListConfig {
|
|
|
100
100
|
*/
|
|
101
101
|
export interface SearchConfig {
|
|
102
102
|
/** 卡片属性 */
|
|
103
|
-
cardProps?: boolean |
|
|
103
|
+
cardProps?: boolean | YCardProps;
|
|
104
104
|
/** 卡片插槽 */
|
|
105
105
|
cardSlots?: Record<string, string>;
|
|
106
106
|
/** 表单属性 */
|
|
107
|
-
formProps?:
|
|
107
|
+
formProps?: YProFormProps;
|
|
108
108
|
/** 表单插槽 */
|
|
109
109
|
formSlots?: Record<string, string>;
|
|
110
110
|
}
|
|
@@ -114,11 +114,11 @@ export interface SearchConfig {
|
|
|
114
114
|
*/
|
|
115
115
|
export interface EditConfig {
|
|
116
116
|
/** 弹窗属性 */
|
|
117
|
-
modalProps?:
|
|
117
|
+
modalProps?: YModalProps;
|
|
118
118
|
/** 弹窗插槽 */
|
|
119
119
|
modalSlots?: Record<string, string>;
|
|
120
120
|
/** 表单属性 */
|
|
121
|
-
formProps?:
|
|
121
|
+
formProps?: YProFormProps;
|
|
122
122
|
/** 表单插槽 */
|
|
123
123
|
formSlots?: Record<string, string>;
|
|
124
124
|
/** 取消按钮属性 */
|
|
@@ -142,7 +142,7 @@ export interface SideConfig {
|
|
|
142
142
|
/** 树组件插槽 */
|
|
143
143
|
treeSlots?: Record<string, string>;
|
|
144
144
|
/** 加载组件属性 */
|
|
145
|
-
loadingProps?:
|
|
145
|
+
loadingProps?: YLoadingProps;
|
|
146
146
|
/** 空组件属性 */
|
|
147
147
|
emptyProps?: ElEmptyProps;
|
|
148
148
|
}
|
|
@@ -152,13 +152,13 @@ export interface SideConfig {
|
|
|
152
152
|
*/
|
|
153
153
|
export interface PageConfig {
|
|
154
154
|
/** 页面容器组件属性 */
|
|
155
|
-
pageProps?: boolean |
|
|
155
|
+
pageProps?: boolean | YPageProps;
|
|
156
156
|
/** 卡片属性 */
|
|
157
|
-
cardProps?: boolean |
|
|
157
|
+
cardProps?: boolean | YCardProps;
|
|
158
158
|
/** 卡片插槽 */
|
|
159
159
|
cardSlots?: Record<string, string>;
|
|
160
160
|
/** 分割面板属性 */
|
|
161
|
-
splitPanelProps?: boolean |
|
|
161
|
+
splitPanelProps?: boolean | YSplitPanelProps;
|
|
162
162
|
/** 分割面板插槽 */
|
|
163
163
|
splitPanelSlots?: Record<string, string>;
|
|
164
164
|
/** 搜索表单是否放在分割面板的主体搜索栏插槽中 */
|
package/lib/y-crud/util.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { YProFormProps } from '../y-app/plusx';
|
|
2
2
|
import { ProFormItemProps } from '../y-pro-form/types';
|
|
3
3
|
import { CrudField, SideConfig } from './types';
|
|
4
4
|
|
|
@@ -9,7 +9,7 @@ export declare const codeStringPrefix = "/*__PRO_CRUD__*/";
|
|
|
9
9
|
/**
|
|
10
10
|
* 获取搜索表单默认属性
|
|
11
11
|
*/
|
|
12
|
-
export declare function getDefaultSearchFormProps():
|
|
12
|
+
export declare function getDefaultSearchFormProps(): YProFormProps;
|
|
13
13
|
/**
|
|
14
14
|
* 获取字段数据对应的搜索表单项数据
|
|
15
15
|
* @param fields 字段数据
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UserComponent } from '../../y-app/types';
|
|
2
|
-
import {
|
|
2
|
+
import { YCrudProps } from '../../y-app/plusx';
|
|
3
3
|
import { ProFormItemTypeData, ScreenSize } from '../../y-pro-form/types';
|
|
4
4
|
import { HeaderRightToolName } from '../types';
|
|
5
5
|
|
|
@@ -14,7 +14,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
14
14
|
/** 是否禁用恢复 */
|
|
15
15
|
redoDisabled?: boolean;
|
|
16
16
|
/** 增删改查配置 */
|
|
17
|
-
config?:
|
|
17
|
+
config?: YCrudProps;
|
|
18
18
|
/** 顶栏右侧操作按钮顺序 */
|
|
19
19
|
headerTools?: boolean | HeaderRightToolName[];
|
|
20
20
|
/** 高级表单组件 */
|
|
@@ -32,7 +32,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
32
32
|
undo: () => void;
|
|
33
33
|
redo: () => void;
|
|
34
34
|
clear: () => void;
|
|
35
|
-
importData: (data:
|
|
35
|
+
importData: (data: YCrudProps) => void;
|
|
36
36
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
37
37
|
/** 当前选中屏幕尺寸 */
|
|
38
38
|
currentScreen?: ScreenSize;
|
|
@@ -41,7 +41,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
41
41
|
/** 是否禁用恢复 */
|
|
42
42
|
redoDisabled?: boolean;
|
|
43
43
|
/** 增删改查配置 */
|
|
44
|
-
config?:
|
|
44
|
+
config?: YCrudProps;
|
|
45
45
|
/** 顶栏右侧操作按钮顺序 */
|
|
46
46
|
headerTools?: boolean | HeaderRightToolName[];
|
|
47
47
|
/** 高级表单组件 */
|
|
@@ -56,7 +56,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
56
56
|
httpRequest?: any;
|
|
57
57
|
}>>> & Readonly<{
|
|
58
58
|
onClear?: (() => any) | undefined;
|
|
59
|
-
onImportData?: ((data:
|
|
59
|
+
onImportData?: ((data: YCrudProps) => any) | undefined;
|
|
60
60
|
"onUpdate:currentScreen"?: ((size?: string | undefined) => any) | undefined;
|
|
61
61
|
onUndo?: (() => any) | undefined;
|
|
62
62
|
onRedo?: (() => any) | undefined;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { YCrudProps } from '../../y-app/plusx';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* 生成代码
|
|
5
5
|
* @param data 配置数据
|
|
6
6
|
*/
|
|
7
|
-
export declare function generateElCode(_data?:
|
|
7
|
+
export declare function generateElCode(_data?: YCrudProps): string;
|
|
8
8
|
/**
|
|
9
9
|
* 生成 ProCrud 代码
|
|
10
10
|
* @param data 配置数据
|
|
11
11
|
*/
|
|
12
|
-
export declare function generateProCode(data?:
|
|
12
|
+
export declare function generateProCode(data?: YCrudProps): string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { UserComponent } from '../../y-app/types';
|
|
2
|
-
import {
|
|
2
|
+
import { YCrudProps } from '../../y-app/plusx';
|
|
3
3
|
|
|
4
4
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
5
|
/** 弹窗是否打开 */
|
|
6
6
|
modelValue?: boolean;
|
|
7
7
|
/** 表单配置数据 */
|
|
8
|
-
config?:
|
|
8
|
+
config?: YCrudProps;
|
|
9
9
|
/** 代码查看器组件 */
|
|
10
10
|
codeViewerComponent?: UserComponent;
|
|
11
11
|
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -14,7 +14,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
14
14
|
/** 弹窗是否打开 */
|
|
15
15
|
modelValue?: boolean;
|
|
16
16
|
/** 表单配置数据 */
|
|
17
|
-
config?:
|
|
17
|
+
config?: YCrudProps;
|
|
18
18
|
/** 代码查看器组件 */
|
|
19
19
|
codeViewerComponent?: UserComponent;
|
|
20
20
|
}>>> & Readonly<{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { UserComponent } from '../../y-app/types';
|
|
3
|
-
import {
|
|
3
|
+
import { YCrudProps, YProFormBuilderProps, YProFormProps } from '../../y-app/plusx';
|
|
4
4
|
import { ProFormItemTypeData } from '../../y-pro-form/types';
|
|
5
5
|
import { FormDesignType } from '../types';
|
|
6
6
|
|
|
@@ -13,13 +13,13 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
13
13
|
/** 类型 */
|
|
14
14
|
type: PropType<FormDesignType>;
|
|
15
15
|
/** 配置数据 */
|
|
16
|
-
config: PropType<
|
|
16
|
+
config: PropType<YCrudProps>;
|
|
17
17
|
/** 高级表单组件 */
|
|
18
18
|
proFormComponent: PropType<UserComponent>;
|
|
19
19
|
/** 表单构建组件 */
|
|
20
20
|
proFormBuilderComponent: PropType<UserComponent>;
|
|
21
21
|
/** 表单构建组件属性 */
|
|
22
|
-
proFormBuilderProps: PropType<
|
|
22
|
+
proFormBuilderProps: PropType<YProFormBuilderProps>;
|
|
23
23
|
/** JSON 编辑器组件 */
|
|
24
24
|
jsonEditerComponent: PropType<UserComponent>;
|
|
25
25
|
/** 高级表单组件类型数据 */
|
|
@@ -28,7 +28,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
28
28
|
httpRequest: (ObjectConstructor | FunctionConstructor)[];
|
|
29
29
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
30
30
|
"update:modelValue": (visible?: boolean | undefined) => void;
|
|
31
|
-
updateFormConfig: (data?:
|
|
31
|
+
updateFormConfig: (data?: YProFormProps | undefined, type?: FormDesignType | undefined) => void;
|
|
32
32
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
33
33
|
/** 弹窗是否打开 */
|
|
34
34
|
modelValue: BooleanConstructor;
|
|
@@ -37,13 +37,13 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
37
37
|
/** 类型 */
|
|
38
38
|
type: PropType<FormDesignType>;
|
|
39
39
|
/** 配置数据 */
|
|
40
|
-
config: PropType<
|
|
40
|
+
config: PropType<YCrudProps>;
|
|
41
41
|
/** 高级表单组件 */
|
|
42
42
|
proFormComponent: PropType<UserComponent>;
|
|
43
43
|
/** 表单构建组件 */
|
|
44
44
|
proFormBuilderComponent: PropType<UserComponent>;
|
|
45
45
|
/** 表单构建组件属性 */
|
|
46
|
-
proFormBuilderProps: PropType<
|
|
46
|
+
proFormBuilderProps: PropType<YProFormBuilderProps>;
|
|
47
47
|
/** JSON 编辑器组件 */
|
|
48
48
|
jsonEditerComponent: PropType<UserComponent>;
|
|
49
49
|
/** 高级表单组件类型数据 */
|
|
@@ -52,7 +52,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
52
52
|
httpRequest: (ObjectConstructor | FunctionConstructor)[];
|
|
53
53
|
}>> & Readonly<{
|
|
54
54
|
"onUpdate:modelValue"?: ((visible?: boolean | undefined) => any) | undefined;
|
|
55
|
-
onUpdateFormConfig?: ((data?:
|
|
55
|
+
onUpdateFormConfig?: ((data?: YProFormProps | undefined, type?: FormDesignType | undefined) => any) | undefined;
|
|
56
56
|
}>, {
|
|
57
57
|
modelValue: boolean;
|
|
58
58
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { UserComponent } from '../../y-app/types';
|
|
2
|
-
import {
|
|
2
|
+
import { YCrudProps } from '../../y-app/plusx';
|
|
3
3
|
|
|
4
4
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
5
|
/** 弹窗是否打开 */
|
|
6
6
|
modelValue?: boolean;
|
|
7
7
|
/** 配置数据 */
|
|
8
|
-
config?:
|
|
8
|
+
config?: YCrudProps;
|
|
9
9
|
/** 是否是导入 */
|
|
10
10
|
isImport?: boolean;
|
|
11
11
|
/** JSON 编辑器组件 */
|
|
12
12
|
jsonEditerComponent?: UserComponent;
|
|
13
13
|
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
14
|
"update:modelValue": (visible?: boolean | undefined) => void;
|
|
15
|
-
importData: (data:
|
|
15
|
+
importData: (data: YCrudProps) => void;
|
|
16
16
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
17
17
|
/** 弹窗是否打开 */
|
|
18
18
|
modelValue?: boolean;
|
|
19
19
|
/** 配置数据 */
|
|
20
|
-
config?:
|
|
20
|
+
config?: YCrudProps;
|
|
21
21
|
/** 是否是导入 */
|
|
22
22
|
isImport?: boolean;
|
|
23
23
|
/** JSON 编辑器组件 */
|
|
24
24
|
jsonEditerComponent?: UserComponent;
|
|
25
25
|
}>>> & Readonly<{
|
|
26
26
|
"onUpdate:modelValue"?: ((visible?: boolean | undefined) => any) | undefined;
|
|
27
|
-
onImportData?: ((data:
|
|
27
|
+
onImportData?: ((data: YCrudProps) => any) | undefined;
|
|
28
28
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
29
29
|
export default _default;
|
|
30
30
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|