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/y-app/plusx.d.ts
CHANGED
|
@@ -13,41 +13,41 @@ import type { ComponentProps } from './types';
|
|
|
13
13
|
/**
|
|
14
14
|
* YCropper
|
|
15
15
|
*/
|
|
16
|
-
export type
|
|
16
|
+
export type YCropperProps = ComponentProps<CropperProps>;
|
|
17
17
|
|
|
18
|
-
export type
|
|
18
|
+
export type YCropperPreviewInstance = InstanceType<
|
|
19
19
|
typeof CropperPreview
|
|
20
20
|
> | null;
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* YCrud
|
|
24
24
|
*/
|
|
25
|
-
export type
|
|
25
|
+
export type YCrudInstance = InstanceType<typeof YCrud> | null;
|
|
26
26
|
|
|
27
|
-
export type
|
|
27
|
+
export type YCrudProps = ComponentProps<CrudProps>;
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
30
|
* YCrudBuilder
|
|
31
31
|
*/
|
|
32
|
-
export type
|
|
32
|
+
export type YCrudBuilderInstance = InstanceType<typeof YCrudBuilder> | null;
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
35
|
* YMapPicker
|
|
36
36
|
*/
|
|
37
|
-
export type
|
|
37
|
+
export type YMapPickerViewInstance = InstanceType<typeof MapView> | null;
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
40
|
* YProForm
|
|
41
41
|
*/
|
|
42
|
-
export type
|
|
42
|
+
export type YProFormInstance = InstanceType<typeof YProForm> | null;
|
|
43
43
|
|
|
44
|
-
export type
|
|
44
|
+
export type YProFormProps = ComponentProps<ProFormProps>;
|
|
45
45
|
|
|
46
46
|
/**
|
|
47
47
|
* YProFormBuilder
|
|
48
48
|
*/
|
|
49
|
-
export type
|
|
49
|
+
export type YProFormBuilderInstance = InstanceType<
|
|
50
50
|
typeof YProFormBuilder
|
|
51
51
|
> | null;
|
|
52
52
|
|
|
53
|
-
export type
|
|
53
|
+
export type YProFormBuilderProps = ComponentProps<ProFormBuilderProps>;
|
|
@@ -28,12 +28,12 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
28
28
|
type: BooleanConstructor;
|
|
29
29
|
default: boolean;
|
|
30
30
|
};
|
|
31
|
-
tooltipProps: import('vue').PropType<import('../y-app/plus').
|
|
31
|
+
tooltipProps: import('vue').PropType<import('../y-app/plus').YTooltipProps>;
|
|
32
32
|
overflowPopover: {
|
|
33
33
|
type: BooleanConstructor;
|
|
34
34
|
default: boolean;
|
|
35
35
|
};
|
|
36
|
-
overflowPopoverProps: import('vue').PropType<import('../y-app/plus').
|
|
36
|
+
overflowPopoverProps: import('vue').PropType<import('../y-app/plus').YTooltipProps>;
|
|
37
37
|
hoverOpen: BooleanConstructor;
|
|
38
38
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
39
39
|
error: (_option: AvatarErrorOption) => void;
|
|
@@ -54,12 +54,12 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
54
54
|
type: BooleanConstructor;
|
|
55
55
|
default: boolean;
|
|
56
56
|
};
|
|
57
|
-
tooltipProps: import('vue').PropType<import('../y-app/plus').
|
|
57
|
+
tooltipProps: import('vue').PropType<import('../y-app/plus').YTooltipProps>;
|
|
58
58
|
overflowPopover: {
|
|
59
59
|
type: BooleanConstructor;
|
|
60
60
|
default: boolean;
|
|
61
61
|
};
|
|
62
|
-
overflowPopoverProps: import('vue').PropType<import('../y-app/plus').
|
|
62
|
+
overflowPopoverProps: import('vue').PropType<import('../y-app/plus').YTooltipProps>;
|
|
63
63
|
hoverOpen: BooleanConstructor;
|
|
64
64
|
}>> & Readonly<{
|
|
65
65
|
onError?: ((_option: AvatarErrorOption) => any) | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PropType, ExtractPropTypes } from 'vue';
|
|
2
2
|
import { StyleValue } from '../y-app/types';
|
|
3
3
|
import { ElAvatarProps } from '../y-app/el';
|
|
4
|
-
import {
|
|
4
|
+
import { YTooltipProps } from '../y-app/plus';
|
|
5
5
|
import { AvatarItem, AvatarErrorOption } from './types';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -31,14 +31,14 @@ export declare const avatarGroupProps: {
|
|
|
31
31
|
default: boolean;
|
|
32
32
|
};
|
|
33
33
|
/** 提示属性 */
|
|
34
|
-
tooltipProps: PropType<
|
|
34
|
+
tooltipProps: PropType<YTooltipProps>;
|
|
35
35
|
/** 是否显示溢出气泡 */
|
|
36
36
|
overflowPopover: {
|
|
37
37
|
type: BooleanConstructor;
|
|
38
38
|
default: boolean;
|
|
39
39
|
};
|
|
40
40
|
/** 溢出气泡属性 */
|
|
41
|
-
overflowPopoverProps: PropType<
|
|
41
|
+
overflowPopoverProps: PropType<YTooltipProps>;
|
|
42
42
|
/** 是否鼠标移入展开 */
|
|
43
43
|
hoverOpen: BooleanConstructor;
|
|
44
44
|
};
|
|
@@ -67,14 +67,14 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
67
67
|
default: boolean;
|
|
68
68
|
};
|
|
69
69
|
placement: {
|
|
70
|
-
type: import('vue').PropType<import('../../y-app/plus').
|
|
70
|
+
type: import('vue').PropType<import('../../y-app/plus').YTooltipProps["placement"]>;
|
|
71
71
|
default: string;
|
|
72
72
|
};
|
|
73
73
|
transition: {
|
|
74
74
|
type: StringConstructor;
|
|
75
75
|
default: string;
|
|
76
76
|
};
|
|
77
|
-
popperOptions: import('vue').PropType<import('../../y-app/plus').
|
|
77
|
+
popperOptions: import('vue').PropType<import('../../y-app/plus').YTooltipProps["popperOptions"]>;
|
|
78
78
|
responsive: {
|
|
79
79
|
type: BooleanConstructor;
|
|
80
80
|
default: null;
|
|
@@ -135,14 +135,14 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
135
135
|
default: boolean;
|
|
136
136
|
};
|
|
137
137
|
placement: {
|
|
138
|
-
type: import('vue').PropType<import('../../y-app/plus').
|
|
138
|
+
type: import('vue').PropType<import('../../y-app/plus').YTooltipProps["placement"]>;
|
|
139
139
|
default: string;
|
|
140
140
|
};
|
|
141
141
|
transition: {
|
|
142
142
|
type: StringConstructor;
|
|
143
143
|
default: string;
|
|
144
144
|
};
|
|
145
|
-
popperOptions: import('vue').PropType<import('../../y-app/plus').
|
|
145
|
+
popperOptions: import('vue').PropType<import('../../y-app/plus').YTooltipProps["popperOptions"]>;
|
|
146
146
|
responsive: {
|
|
147
147
|
type: BooleanConstructor;
|
|
148
148
|
default: null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { YBasicSelectViewInstance, YTooltipInstance, YModalInstance, YDrawerInstance } from '../y-app/plus';
|
|
2
2
|
import { SelectedItem } from './types';
|
|
3
3
|
|
|
4
4
|
declare function __VLS_template(): Partial<Record<string, (_: any) => any>> & Partial<Record<string, (_: any) => any>> & Partial<Record<string, (_: any) => any>> & Partial<Record<string, (_: any) => any>> & {
|
|
@@ -45,23 +45,23 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
45
45
|
default: boolean;
|
|
46
46
|
};
|
|
47
47
|
placement: {
|
|
48
|
-
type: import('vue').PropType<import('../y-app/plus').
|
|
48
|
+
type: import('vue').PropType<import('../y-app/plus').YTooltipProps["placement"]>;
|
|
49
49
|
default: string;
|
|
50
50
|
};
|
|
51
51
|
transition: {
|
|
52
52
|
type: StringConstructor;
|
|
53
53
|
default: string;
|
|
54
54
|
};
|
|
55
|
-
popperOptions: import('vue').PropType<import('../y-app/plus').
|
|
55
|
+
popperOptions: import('vue').PropType<import('../y-app/plus').YTooltipProps["popperOptions"]>;
|
|
56
56
|
responsive: {
|
|
57
57
|
type: BooleanConstructor;
|
|
58
58
|
default: null;
|
|
59
59
|
};
|
|
60
60
|
}>, {
|
|
61
|
-
selectViewRef: import('vue').Ref<
|
|
62
|
-
tooltipRef: import('vue').Ref<
|
|
63
|
-
modalRef: import('vue').Ref<
|
|
64
|
-
drawerRef: import('vue').Ref<
|
|
61
|
+
selectViewRef: import('vue').Ref<YBasicSelectViewInstance, YBasicSelectViewInstance>;
|
|
62
|
+
tooltipRef: import('vue').Ref<YTooltipInstance, YTooltipInstance>;
|
|
63
|
+
modalRef: import('vue').Ref<YModalInstance, YModalInstance>;
|
|
64
|
+
drawerRef: import('vue').Ref<YDrawerInstance, YDrawerInstance>;
|
|
65
65
|
updatePopper: () => void;
|
|
66
66
|
focusSearchInput: (e?: MouseEvent) => void;
|
|
67
67
|
updateVisible: (visible: boolean) => void;
|
|
@@ -113,14 +113,14 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
113
113
|
default: boolean;
|
|
114
114
|
};
|
|
115
115
|
placement: {
|
|
116
|
-
type: import('vue').PropType<import('../y-app/plus').
|
|
116
|
+
type: import('vue').PropType<import('../y-app/plus').YTooltipProps["placement"]>;
|
|
117
117
|
default: string;
|
|
118
118
|
};
|
|
119
119
|
transition: {
|
|
120
120
|
type: StringConstructor;
|
|
121
121
|
default: string;
|
|
122
122
|
};
|
|
123
|
-
popperOptions: import('vue').PropType<import('../y-app/plus').
|
|
123
|
+
popperOptions: import('vue').PropType<import('../y-app/plus').YTooltipProps["popperOptions"]>;
|
|
124
124
|
responsive: {
|
|
125
125
|
type: BooleanConstructor;
|
|
126
126
|
default: null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PropType, ExtractPropTypes } from 'vue';
|
|
2
2
|
import { StyleValue } from '../y-app/types';
|
|
3
3
|
import { ElInputProps, ElTagProps } from '../y-app/el';
|
|
4
|
-
import {
|
|
4
|
+
import { YTooltipProps } from '../y-app/plus';
|
|
5
5
|
import { SelectValue, SelectedItem, PopperType, PopperProps } from './types';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -76,7 +76,7 @@ export declare const basicSelectProps: {
|
|
|
76
76
|
};
|
|
77
77
|
/** 下拉框位置 */
|
|
78
78
|
placement: {
|
|
79
|
-
type: PropType<
|
|
79
|
+
type: PropType<YTooltipProps["placement"]>;
|
|
80
80
|
default: string;
|
|
81
81
|
};
|
|
82
82
|
/** 下拉框渐变动画 */
|
|
@@ -85,7 +85,7 @@ export declare const basicSelectProps: {
|
|
|
85
85
|
default: string;
|
|
86
86
|
};
|
|
87
87
|
/** popper.js 参数 */
|
|
88
|
-
popperOptions: PropType<
|
|
88
|
+
popperOptions: PropType<YTooltipProps["popperOptions"]>;
|
|
89
89
|
/** 是否开启响应式 */
|
|
90
90
|
responsive: {
|
|
91
91
|
type: BooleanConstructor;
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import type { Ref } from 'vue';
|
|
2
2
|
import type { ComponentProps } from '../y-app/types';
|
|
3
|
-
import type {
|
|
4
|
-
EleModalProps,
|
|
5
|
-
EleDrawerProps,
|
|
6
|
-
EleTooltipProps
|
|
7
|
-
} from '../y-app/plus';
|
|
3
|
+
import type { YModalProps, YDrawerProps, YTooltipProps } from '../y-app/plus';
|
|
8
4
|
|
|
9
5
|
/**
|
|
10
6
|
* 单选值
|
|
@@ -44,9 +40,9 @@ export type PopperType = 'popper' | 'modal' | 'drawer' | 'default';
|
|
|
44
40
|
* 下拉组件属性
|
|
45
41
|
*/
|
|
46
42
|
export type PopperProps =
|
|
47
|
-
|
|
|
48
|
-
|
|
|
49
|
-
|
|
|
43
|
+
| YModalProps
|
|
44
|
+
| YDrawerProps
|
|
45
|
+
| YTooltipProps
|
|
50
46
|
| ComponentProps<{}>;
|
|
51
47
|
|
|
52
48
|
/**
|
package/es/y-buttons/types.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { UserComponent } from '../y-app/types';
|
|
2
2
|
import type { ElLinkProps, ElButtonProps } from '../y-app/el';
|
|
3
3
|
import type {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
YDropdownPropsAndEmits,
|
|
5
|
+
YPopconfirmPropsAndEmits
|
|
6
6
|
} from '../y-app/plus';
|
|
7
7
|
import type { DropdownItem } from '../y-dropdown/types';
|
|
8
8
|
|
|
@@ -83,9 +83,9 @@ export interface ButtonItemBase<T extends ButtonItemType>
|
|
|
83
83
|
/** 下拉菜单项 */
|
|
84
84
|
dropdownItems?: ButtonDropdownItem[];
|
|
85
85
|
/** 下拉菜单属性 */
|
|
86
|
-
dropdownProps?:
|
|
86
|
+
dropdownProps?: YDropdownPropsAndEmits;
|
|
87
87
|
/** 气泡确认框属性 */
|
|
88
|
-
popconfirmProps?:
|
|
88
|
+
popconfirmProps?: YPopconfirmPropsAndEmits;
|
|
89
89
|
/** command */
|
|
90
90
|
command?: any;
|
|
91
91
|
/** key */
|
|
@@ -1,38 +1,34 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as s, ref as n, createVNode as p } from "vue";
|
|
2
|
+
import g from "../../y-watermark/index";
|
|
3
|
+
import { getProps as d, svgContents as m } from "../../y-watermark/util";
|
|
4
|
+
const l = /* @__PURE__ */ s({
|
|
5
5
|
name: "ReceiverView",
|
|
6
6
|
props: {
|
|
7
7
|
wrapHeight: [String, Number]
|
|
8
8
|
},
|
|
9
|
-
setup(
|
|
10
|
-
slots:
|
|
9
|
+
setup(e, {
|
|
10
|
+
slots: t
|
|
11
11
|
}) {
|
|
12
|
-
const
|
|
13
|
-
svgKey:
|
|
14
|
-
svgProps:
|
|
15
|
-
svgConfig
|
|
16
|
-
imageId:
|
|
17
|
-
} =
|
|
18
|
-
return
|
|
19
|
-
o.value = C(t, c, s, 2, 13, r, i, a, n, n[e.findIndex((f) => f === r)]);
|
|
20
|
-
}, {
|
|
21
|
-
immediate: !0
|
|
22
|
-
}), () => x(I, {
|
|
12
|
+
const r = n(), {
|
|
13
|
+
svgKey: o,
|
|
14
|
+
svgProps: i,
|
|
15
|
+
// svgConfig,
|
|
16
|
+
imageId: a
|
|
17
|
+
} = d(m);
|
|
18
|
+
return () => p(g, {
|
|
23
19
|
width: 236,
|
|
24
20
|
height: 74,
|
|
25
|
-
wrapHeight:
|
|
26
|
-
disabled: !!
|
|
27
|
-
fixed: !
|
|
28
|
-
content:
|
|
21
|
+
wrapHeight: e.wrapHeight,
|
|
22
|
+
disabled: !!a.value,
|
|
23
|
+
fixed: !r.value,
|
|
24
|
+
content: o.value,
|
|
29
25
|
wrapPosition: !1,
|
|
30
26
|
svgRender: !0
|
|
31
27
|
}, {
|
|
32
|
-
default: () => [
|
|
28
|
+
default: () => [t.default?.(i)]
|
|
33
29
|
});
|
|
34
30
|
}
|
|
35
31
|
});
|
|
36
32
|
export {
|
|
37
|
-
|
|
33
|
+
l as default
|
|
38
34
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
-
locale: import('vue').PropType<import('./types').
|
|
2
|
+
locale: import('vue').PropType<import('./types').YLocale>;
|
|
3
3
|
table: import('vue').PropType<import('./types').TableGlobalConfig>;
|
|
4
4
|
message: import('vue').PropType<import('./types').MessageGlobalConfig>;
|
|
5
|
-
messageBox: import('vue').PropType<import('../y-app/plus').
|
|
5
|
+
messageBox: import('vue').PropType<import('../y-app/plus').YMessageBoxOptions>;
|
|
6
6
|
license: StringConstructor;
|
|
7
7
|
mapKey: StringConstructor;
|
|
8
8
|
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
9
9
|
[key: string]: any;
|
|
10
10
|
}>[] | undefined, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
11
|
-
locale: import('vue').PropType<import('./types').
|
|
11
|
+
locale: import('vue').PropType<import('./types').YLocale>;
|
|
12
12
|
table: import('vue').PropType<import('./types').TableGlobalConfig>;
|
|
13
13
|
message: import('vue').PropType<import('./types').MessageGlobalConfig>;
|
|
14
|
-
messageBox: import('vue').PropType<import('../y-app/plus').
|
|
14
|
+
messageBox: import('vue').PropType<import('../y-app/plus').YMessageBoxOptions>;
|
|
15
15
|
license: StringConstructor;
|
|
16
16
|
mapKey: StringConstructor;
|
|
17
17
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { PropType, ExtractPropTypes } from 'vue';
|
|
2
|
-
import {
|
|
3
|
-
import { TableGlobalConfig, MessageGlobalConfig,
|
|
2
|
+
import { YMessageBoxOptions } from '../y-app/plus';
|
|
3
|
+
import { TableGlobalConfig, MessageGlobalConfig, YLocale } from './types';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* 属性
|
|
7
7
|
*/
|
|
8
8
|
export declare const configProviderProps: {
|
|
9
9
|
/** 国际化 */
|
|
10
|
-
locale: PropType<
|
|
10
|
+
locale: PropType<YLocale>;
|
|
11
11
|
/** 表格全局配置 */
|
|
12
12
|
table: PropType<TableGlobalConfig>;
|
|
13
13
|
/** 消息提示全局配置 */
|
|
14
14
|
message: PropType<MessageGlobalConfig>;
|
|
15
15
|
/** 消息弹窗全局配置 */
|
|
16
|
-
messageBox: PropType<
|
|
16
|
+
messageBox: PropType<YMessageBoxOptions>;
|
|
17
17
|
/** license */
|
|
18
18
|
license: StringConstructor;
|
|
19
19
|
/** 高德地图key */
|
|
@@ -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;
|
|
@@ -29,7 +29,43 @@ function useLocale(name, props) {
|
|
|
29
29
|
});
|
|
30
30
|
return { lang, globalConfig };
|
|
31
31
|
}
|
|
32
|
-
const configValues =
|
|
32
|
+
const configValues = [
|
|
33
|
+
// 产品标识(YElementUltra)
|
|
34
|
+
"WUVsZW1lbnRVbHRy",
|
|
35
|
+
"JUU0JUJEJUEwJUU2JTlBJTgyJUU2JTk3JUI2JUU2JUIyJUExJUU2JTlDJTg5JUU2JTlEJTgzJUU5JTk5JTkwJUU0JUJEJUJGJUU3JTk0JUE4JUU4JUFGJUE1JUU1JThBJTlGJUU4JTgzJUJEJUVGJUJDJThDJUU4JUFGJUI3JUU4JTgxJTk0JUU3JUIzJUJCJUU3JUFFJUExJUU3JTkwJTg2JUU1JTkxJTk4JUUzJTgwJTgy",
|
|
36
|
+
"=",
|
|
37
|
+
"JUU4JUFGJUI3JUU1JTg1JTg4JUU5JTg1JThEJUU3JUJEJUFFJUU4JTg3JUFBJUU1JUI3JUIxJUU3JTlBJTg0JUU2JThFJTg4JUU2JTlEJTgzJUU3JUEwJTgxJTNC",
|
|
38
|
+
"=",
|
|
39
|
+
"JUU4JUFGJUI3JUU0JUJEJUJGJUU3JTk0JUE4JUU2JUFEJUEzJUU3JUExJUFFJUU2JUEwJUJDJUU1JUJDJThGJUU3JTlBJTg0JUU2JThFJTg4JUU2JTlEJTgzJUU3JUEwJTgxJTNC",
|
|
40
|
+
"=",
|
|
41
|
+
"JUU2JThFJTg4JUU2JTlEJTgzJUU3JTg5JTg4JUU2JTlDJUFDJUU1JThGJUI3JUU0JUI4JThEJUU1JThDJUI5JUU5JTg1JThEJTJDJTIwJUU2JThFJTg4JUU2JTlEJTgzJUU3JUEwJTgxJUU3JTg5JTg4JUU2JTlDJUFDJTNB",
|
|
42
|
+
"=",
|
|
43
|
+
"JTJDJTIwJUU1JUFFJTg5JUU4JUEzJTg1JUU3JTg5JTg4JUU2JTlDJUFDJTNB",
|
|
44
|
+
"=",
|
|
45
|
+
"JUU2JThFJTg4JUU2JTlEJTgzJUU1JUI3JUIyJUU1JUE0JUIxJUU2JTk1JTg4JTJDJTIwJUU1JTg4JUIwJUU2JTlDJTlGJUU2JTk3JUI2JUU5JTk3JUI0JTNB",
|
|
46
|
+
"=",
|
|
47
|
+
"JUU1JTlGJTlGJUU1JTkwJThEJUU0JUI4JThEJUU1JThDJUI5JUU5JTg1JThEJTJDJTIwJUU4JUFGJUI3JUU5JTgzJUE4JUU3JUJEJUIyJUU1JTlDJUE4JTNB",
|
|
48
|
+
"=",
|
|
49
|
+
"JUU0JUI4JThCJTJDJTIwJUU1JUJEJTkzJUU1JTg5JThEJUU1JTlGJTlGJUU1JTkwJThE",
|
|
50
|
+
"=",
|
|
51
|
+
"WUVsZW1lbnRVbHRy",
|
|
52
|
+
"=",
|
|
53
|
+
"bG9jYWxob3N0",
|
|
54
|
+
"=",
|
|
55
|
+
"MTI3LjAuMC4x",
|
|
56
|
+
"=",
|
|
57
|
+
"d3d3",
|
|
58
|
+
"=",
|
|
59
|
+
"MS41",
|
|
60
|
+
"=",
|
|
61
|
+
"MDVmZA",
|
|
62
|
+
"=",
|
|
63
|
+
"LOPMTQRUVS1ij2nklopmXqrYZWd45K967st8xuvyzwh0DABFCGHE3IJabefcNg",
|
|
64
|
+
"=",
|
|
65
|
+
"WUVsZW1lbnRVbHRy",
|
|
66
|
+
"=",
|
|
67
|
+
"QWRtRWZLcnxlbHVzeS40VHRkYVAwMDAwMDlybGAwMS41MD9ncG80U1JxdWNIOW9WdENQWnZ0WllXaW5Q"
|
|
68
|
+
].join("");
|
|
33
69
|
export {
|
|
34
70
|
CONFIG_KEY,
|
|
35
71
|
configValues,
|
|
@@ -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
|
|
package/es/y-copyable/index.d.ts
CHANGED
|
@@ -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: {
|
package/es/y-copyable/props.d.ts
CHANGED
|
@@ -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
|
/** 拷贝成功状态重置时间 */
|
|
@@ -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;
|
|
@@ -2,7 +2,7 @@ import { defineComponent, ref, watch, createBlock, openBlock, mergeProps, unref,
|
|
|
2
2
|
import { ElButton } from "element-plus";
|
|
3
3
|
import { useLocale } from "../y-config-provider/receiver";
|
|
4
4
|
import YModal from "../y-modal/index";
|
|
5
|
-
import
|
|
5
|
+
import YCronPanel from "../y-cron-panel/index";
|
|
6
6
|
import { cronBuilderEmits, cronBuilderProps } from "./props";
|
|
7
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
8
|
...{ name: "YCronBuilder" },
|
|
@@ -78,7 +78,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
78
78
|
]),
|
|
79
79
|
default: withCtx(() => [
|
|
80
80
|
renderSlot(_ctx.$slots, "default"),
|
|
81
|
-
createVNode(
|
|
81
|
+
createVNode(YCronPanel, {
|
|
82
82
|
ref_key: "cronPanelRef",
|
|
83
83
|
ref: cronPanelRef,
|
|
84
84
|
modelValue: cronModel.value,
|
|
@@ -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
|
};
|
package/es/y-cron-panel/index.js
CHANGED
|
@@ -50,7 +50,7 @@ const _hoisted_37 = ["onClick"];
|
|
|
50
50
|
const _hoisted_38 = { class: "y-cron-panel-list-item-value" };
|
|
51
51
|
const _hoisted_39 = { class: "y-cron-panel-list-item-label" };
|
|
52
52
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
53
|
-
...{ name: "
|
|
53
|
+
...{ name: "YCronPanel" },
|
|
54
54
|
__name: "index",
|
|
55
55
|
props: cronPanelProps,
|
|
56
56
|
emits: 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/es/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;
|