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,13 +1,13 @@
|
|
|
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, ProFormItemProps } from '../../y-pro-form/types';
|
|
5
5
|
import { FormDesignType } from '../types';
|
|
6
6
|
|
|
7
7
|
declare function __VLS_template(): Partial<Record<string, (_: any) => any>> & Partial<Record<string, (_: any) => any>>;
|
|
8
8
|
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
9
9
|
/** 配置数据 */
|
|
10
|
-
config: PropType<
|
|
10
|
+
config: PropType<YCrudProps>;
|
|
11
11
|
/** 页面设置的表单项配置 */
|
|
12
12
|
pageConfigFormItems: PropType<ProFormItemProps[]>;
|
|
13
13
|
/** 高级表单组件 */
|
|
@@ -15,7 +15,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
15
15
|
/** 表单构建组件 */
|
|
16
16
|
proFormBuilderComponent: PropType<UserComponent>;
|
|
17
17
|
/** 表单构建组件属性 */
|
|
18
|
-
proFormBuilderProps: PropType<
|
|
18
|
+
proFormBuilderProps: PropType<YProFormBuilderProps>;
|
|
19
19
|
/** 代码编辑器组件 */
|
|
20
20
|
codeEditerComponent: PropType<UserComponent>;
|
|
21
21
|
/** JSON 编辑器组件 */
|
|
@@ -26,10 +26,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
26
26
|
httpRequest: (ObjectConstructor | FunctionConstructor)[];
|
|
27
27
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
28
28
|
updateConfigValue: (field: string, value: any) => void;
|
|
29
|
-
updateFormConfig: (data?:
|
|
29
|
+
updateFormConfig: (data?: YProFormProps | undefined, type?: FormDesignType | undefined) => void;
|
|
30
30
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
31
31
|
/** 配置数据 */
|
|
32
|
-
config: PropType<
|
|
32
|
+
config: PropType<YCrudProps>;
|
|
33
33
|
/** 页面设置的表单项配置 */
|
|
34
34
|
pageConfigFormItems: PropType<ProFormItemProps[]>;
|
|
35
35
|
/** 高级表单组件 */
|
|
@@ -37,7 +37,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
37
37
|
/** 表单构建组件 */
|
|
38
38
|
proFormBuilderComponent: PropType<UserComponent>;
|
|
39
39
|
/** 表单构建组件属性 */
|
|
40
|
-
proFormBuilderProps: PropType<
|
|
40
|
+
proFormBuilderProps: PropType<YProFormBuilderProps>;
|
|
41
41
|
/** 代码编辑器组件 */
|
|
42
42
|
codeEditerComponent: PropType<UserComponent>;
|
|
43
43
|
/** JSON 编辑器组件 */
|
|
@@ -48,7 +48,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
48
48
|
httpRequest: (ObjectConstructor | FunctionConstructor)[];
|
|
49
49
|
}>> & Readonly<{
|
|
50
50
|
onUpdateConfigValue?: ((field: string, value: any) => any) | undefined;
|
|
51
|
-
onUpdateFormConfig?: ((data?:
|
|
51
|
+
onUpdateFormConfig?: ((data?: YProFormProps | undefined, type?: FormDesignType | undefined) => any) | undefined;
|
|
52
52
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
53
53
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
54
54
|
export default _default;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { YCrudProps } from '../../y-app/plusx';
|
|
2
2
|
import { TemplateItem } from '../types';
|
|
3
3
|
|
|
4
4
|
declare const _default: import('vue-demi').DefineComponent<import('vue-demi').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
5
|
/** 模板数据 */
|
|
6
6
|
templateData?: TemplateItem[];
|
|
7
7
|
}>>, {}, {}, {}, {}, import('vue-demi').ComponentOptionsMixin, import('vue-demi').ComponentOptionsMixin, {
|
|
8
|
-
importData: (data:
|
|
8
|
+
importData: (data: YCrudProps) => void;
|
|
9
9
|
}, string, import('vue-demi').PublicProps, Readonly<import('vue-demi').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
10
10
|
/** 模板数据 */
|
|
11
11
|
templateData?: TemplateItem[];
|
|
12
12
|
}>>> & Readonly<{
|
|
13
|
-
onImportData?: ((data:
|
|
13
|
+
onImportData?: ((data: YCrudProps) => any) | undefined;
|
|
14
14
|
}>, {}, {}, {}, {}, string, import('vue-demi').ComponentProvideOptions, true, {}, any>;
|
|
15
15
|
export default _default;
|
|
16
16
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { YCrudProps } from '../y-app/plusx';
|
|
2
2
|
|
|
3
3
|
declare function __VLS_template(): Partial<Record<string, (_: any) => any>> & Partial<Record<string, (_: any) => any>> & Partial<Record<string, (_: any) => any>> & Partial<Record<string, (_: any) => any>>;
|
|
4
4
|
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5
|
-
modelValue: import('vue').PropType<
|
|
5
|
+
modelValue: import('vue').PropType<YCrudProps>;
|
|
6
6
|
headerTools: {
|
|
7
7
|
type: import('vue').PropType<boolean | import('./types').HeaderRightToolName[]>;
|
|
8
8
|
default: () => undefined;
|
|
@@ -10,20 +10,20 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
10
10
|
templateData: import('vue').PropType<import('./types').TemplateItem[]>;
|
|
11
11
|
pageConfigFormItems: import('vue').PropType<import('../y-pro-form/types').ProFormItemProps[]>;
|
|
12
12
|
fieldEditFormItems: import('vue').PropType<import('../y-pro-form/types').ProFormItemProps[]>;
|
|
13
|
-
splitPanelProps: import('vue').PropType<import('../y-app/plus').
|
|
13
|
+
splitPanelProps: import('vue').PropType<import('../y-app/plus').YSplitPanelProps>;
|
|
14
14
|
crudComponent: import('vue').PropType<import('../y-app/types').UserComponent>;
|
|
15
15
|
proFormComponent: import('vue').PropType<import('../y-app/types').UserComponent>;
|
|
16
16
|
proFormBuilderComponent: import('vue').PropType<import('../y-app/types').UserComponent>;
|
|
17
|
-
proFormBuilderProps: import('vue').PropType<import('../y-app/plusx').
|
|
17
|
+
proFormBuilderProps: import('vue').PropType<import('../y-app/plusx').YProFormBuilderProps>;
|
|
18
18
|
codeEditerComponent: import('vue').PropType<import('../y-app/types').UserComponent>;
|
|
19
19
|
jsonEditerComponent: import('vue').PropType<import('../y-app/types').UserComponent>;
|
|
20
20
|
codeViewerComponent: import('vue').PropType<import('../y-app/types').UserComponent>;
|
|
21
21
|
itemTypeData: import('vue').PropType<import('../y-pro-form/types').ProFormItemTypeData[]>;
|
|
22
22
|
httpRequest: (ObjectConstructor | FunctionConstructor)[];
|
|
23
23
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
24
|
-
"update:modelValue": (_config?:
|
|
24
|
+
"update:modelValue": (_config?: YCrudProps | undefined) => void;
|
|
25
25
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
26
|
-
modelValue: import('vue').PropType<
|
|
26
|
+
modelValue: import('vue').PropType<YCrudProps>;
|
|
27
27
|
headerTools: {
|
|
28
28
|
type: import('vue').PropType<boolean | import('./types').HeaderRightToolName[]>;
|
|
29
29
|
default: () => undefined;
|
|
@@ -31,18 +31,18 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
31
31
|
templateData: import('vue').PropType<import('./types').TemplateItem[]>;
|
|
32
32
|
pageConfigFormItems: import('vue').PropType<import('../y-pro-form/types').ProFormItemProps[]>;
|
|
33
33
|
fieldEditFormItems: import('vue').PropType<import('../y-pro-form/types').ProFormItemProps[]>;
|
|
34
|
-
splitPanelProps: import('vue').PropType<import('../y-app/plus').
|
|
34
|
+
splitPanelProps: import('vue').PropType<import('../y-app/plus').YSplitPanelProps>;
|
|
35
35
|
crudComponent: import('vue').PropType<import('../y-app/types').UserComponent>;
|
|
36
36
|
proFormComponent: import('vue').PropType<import('../y-app/types').UserComponent>;
|
|
37
37
|
proFormBuilderComponent: import('vue').PropType<import('../y-app/types').UserComponent>;
|
|
38
|
-
proFormBuilderProps: import('vue').PropType<import('../y-app/plusx').
|
|
38
|
+
proFormBuilderProps: import('vue').PropType<import('../y-app/plusx').YProFormBuilderProps>;
|
|
39
39
|
codeEditerComponent: import('vue').PropType<import('../y-app/types').UserComponent>;
|
|
40
40
|
jsonEditerComponent: import('vue').PropType<import('../y-app/types').UserComponent>;
|
|
41
41
|
codeViewerComponent: import('vue').PropType<import('../y-app/types').UserComponent>;
|
|
42
42
|
itemTypeData: import('vue').PropType<import('../y-pro-form/types').ProFormItemTypeData[]>;
|
|
43
43
|
httpRequest: (ObjectConstructor | FunctionConstructor)[];
|
|
44
44
|
}>> & Readonly<{
|
|
45
|
-
"onUpdate:modelValue"?: ((_config?:
|
|
45
|
+
"onUpdate:modelValue"?: ((_config?: YCrudProps | undefined) => any) | undefined;
|
|
46
46
|
}>, {
|
|
47
47
|
headerTools: boolean | import('./types').HeaderRightToolName[];
|
|
48
48
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PropType, ExtractPropTypes } from 'vue';
|
|
2
2
|
import { UserComponent } from '../y-app/types';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { YSplitPanelProps } from '../y-app/plus';
|
|
4
|
+
import { YCrudProps, YProFormBuilderProps } from '../y-app/plusx';
|
|
5
5
|
import { ProFormItemProps, ProFormItemTypeData } from '../y-pro-form/types';
|
|
6
6
|
import { HeaderRightToolName, TemplateItem } from './types';
|
|
7
7
|
|
|
@@ -10,7 +10,7 @@ import { HeaderRightToolName, TemplateItem } from './types';
|
|
|
10
10
|
*/
|
|
11
11
|
export declare const crudBuilderProps: {
|
|
12
12
|
/** 增删改查配置 */
|
|
13
|
-
modelValue: PropType<
|
|
13
|
+
modelValue: PropType<YCrudProps>;
|
|
14
14
|
/** 顶栏右侧操作按钮顺序 */
|
|
15
15
|
headerTools: {
|
|
16
16
|
type: PropType<boolean | HeaderRightToolName[]>;
|
|
@@ -23,7 +23,7 @@ export declare const crudBuilderProps: {
|
|
|
23
23
|
/** 字段编辑的表单项配置 */
|
|
24
24
|
fieldEditFormItems: PropType<ProFormItemProps[]>;
|
|
25
25
|
/** 自定义分割面板组件属性 */
|
|
26
|
-
splitPanelProps: PropType<
|
|
26
|
+
splitPanelProps: PropType<YSplitPanelProps>;
|
|
27
27
|
/** 增删改查组件 */
|
|
28
28
|
crudComponent: PropType<UserComponent>;
|
|
29
29
|
/** 高级表单组件 */
|
|
@@ -31,7 +31,7 @@ export declare const crudBuilderProps: {
|
|
|
31
31
|
/** 表单构建组件 */
|
|
32
32
|
proFormBuilderComponent: PropType<UserComponent>;
|
|
33
33
|
/** 表单构建组件属性 */
|
|
34
|
-
proFormBuilderProps: PropType<
|
|
34
|
+
proFormBuilderProps: PropType<YProFormBuilderProps>;
|
|
35
35
|
/** 代码编辑器组件 */
|
|
36
36
|
codeEditerComponent: PropType<UserComponent>;
|
|
37
37
|
/** JSON 编辑器组件 */
|
|
@@ -48,5 +48,5 @@ export type CrudBuilderProps = ExtractPropTypes<typeof crudBuilderProps>;
|
|
|
48
48
|
* 事件
|
|
49
49
|
*/
|
|
50
50
|
export declare const crudBuilderEmits: {
|
|
51
|
-
'update:modelValue': (_config?:
|
|
51
|
+
'update:modelValue': (_config?: YCrudProps) => boolean;
|
|
52
52
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { UserComponent } from '../y-app/types';
|
|
2
|
-
import type {
|
|
2
|
+
import type { YCrudProps } from '../y-app/plusx';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* 模板库模板
|
|
@@ -10,7 +10,7 @@ export interface TemplateItem {
|
|
|
10
10
|
/** 模板缩略图 */
|
|
11
11
|
cover?: UserComponent;
|
|
12
12
|
/** 模板数据 */
|
|
13
|
-
config:
|
|
13
|
+
config: YCrudProps;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
/**
|
|
@@ -5,7 +5,7 @@ import type {
|
|
|
5
5
|
ElTableInstance,
|
|
6
6
|
ElEmptyProps
|
|
7
7
|
} from '../y-app/el';
|
|
8
|
-
import type {
|
|
8
|
+
import type { YTooltipProps } from '../y-app/plus';
|
|
9
9
|
import type { UserComponent } from '../y-app/types';
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -30,7 +30,7 @@ export type TableColumn = Partial<ElColumnProps>;
|
|
|
30
30
|
* 列属性
|
|
31
31
|
*/
|
|
32
32
|
export interface Column extends Omit<TableColumn, 'filterPlacement'> {
|
|
33
|
-
filterPlacement?:
|
|
33
|
+
filterPlacement?: YTooltipProps['placement'];
|
|
34
34
|
/** 唯一标识 */
|
|
35
35
|
uid?: string;
|
|
36
36
|
/** 插槽名称 */
|
package/lib/y-drawer/index.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
21
21
|
isDeactivated: BooleanConstructor;
|
|
22
22
|
compLoading: BooleanConstructor;
|
|
23
23
|
loading: BooleanConstructor;
|
|
24
|
-
loadingProps: import('vue').PropType<import('../y-app/plus').
|
|
24
|
+
loadingProps: import('vue').PropType<import('../y-app/plus').YLoadingProps>;
|
|
25
25
|
responsive: {
|
|
26
26
|
type: BooleanConstructor;
|
|
27
27
|
default: null;
|
|
@@ -115,7 +115,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
115
115
|
isDeactivated: BooleanConstructor;
|
|
116
116
|
compLoading: BooleanConstructor;
|
|
117
117
|
loading: BooleanConstructor;
|
|
118
|
-
loadingProps: import('vue').PropType<import('../y-app/plus').
|
|
118
|
+
loadingProps: import('vue').PropType<import('../y-app/plus').YLoadingProps>;
|
|
119
119
|
responsive: {
|
|
120
120
|
type: BooleanConstructor;
|
|
121
121
|
default: null;
|
package/lib/y-drawer/props.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType, ExtractPropTypes, EmitsToProps } from 'vue';
|
|
2
2
|
import { drawerProps as elDrawerProps } from 'element-plus';
|
|
3
|
-
import {
|
|
3
|
+
import { YLoadingProps } from '../y-app/plus';
|
|
4
4
|
import { StyleValue } from '../y-app/types';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -32,7 +32,7 @@ export declare const drawerProps: {
|
|
|
32
32
|
/** 加载状态 */
|
|
33
33
|
loading: BooleanConstructor;
|
|
34
34
|
/** 加载组件属性 */
|
|
35
|
-
loadingProps: PropType<
|
|
35
|
+
loadingProps: PropType<YLoadingProps>;
|
|
36
36
|
/** 是否开启响应式 */
|
|
37
37
|
responsive: {
|
|
38
38
|
type: BooleanConstructor;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { YTooltipInstance } from '../../y-app/plus';
|
|
3
3
|
import { DropdownItem } from '../types';
|
|
4
4
|
|
|
5
5
|
declare function __VLS_template(): Partial<Record<string, (_: any) => any>> & Partial<Record<string, (_: any) => any>> & {
|
|
@@ -204,7 +204,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
204
204
|
gpuAcceleration: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
205
205
|
arrowBg: StringConstructor;
|
|
206
206
|
}>, {
|
|
207
|
-
tooltipRef: import('vue').Ref<
|
|
207
|
+
tooltipRef: import('vue').Ref<YTooltipInstance, YTooltipInstance>;
|
|
208
208
|
hidePopper: () => void;
|
|
209
209
|
updatePopper: () => void;
|
|
210
210
|
handleOpen: () => void;
|
|
@@ -2,7 +2,7 @@ declare function __VLS_template(): {
|
|
|
2
2
|
default?(_: {}): any;
|
|
3
3
|
};
|
|
4
4
|
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
5
|
-
openDropdown: (triggerEl: any, items?: import('../y-dropdown/types').DropdownItem[], props?: import('../y-app/plus').
|
|
5
|
+
openDropdown: (triggerEl: any, items?: import('../y-dropdown/types').DropdownItem[], props?: import('../y-app/plus').YDropdownPropsAndEmits) => void;
|
|
6
6
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
7
7
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
8
8
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { YDropdownPropsAndEmits } from '../y-app/plus';
|
|
2
2
|
import type { DropdownItem } from '../y-dropdown/types';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -8,6 +8,6 @@ export interface DropdownProvider {
|
|
|
8
8
|
openDropdown: (
|
|
9
9
|
triggerEl: any,
|
|
10
10
|
items?: DropdownItem[],
|
|
11
|
-
props?:
|
|
11
|
+
props?: YDropdownPropsAndEmits
|
|
12
12
|
) => void;
|
|
13
13
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { InjectionKey } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { YDropdownInstance, YDropdownPropsAndEmits } from '../y-app/plus';
|
|
3
3
|
import { DropdownItem } from '../y-dropdown/types';
|
|
4
4
|
import { DropdownProvider } from './types';
|
|
5
5
|
|
|
@@ -11,11 +11,11 @@ export declare const DROPDOWN_KEY: InjectionKey<DropdownProvider>;
|
|
|
11
11
|
* 提供下拉菜单操作给子组件
|
|
12
12
|
*/
|
|
13
13
|
export declare function useDropdownProvider(): {
|
|
14
|
-
dropdownRef: import('vue').Ref<
|
|
14
|
+
dropdownRef: import('vue').Ref<YDropdownInstance, YDropdownInstance>;
|
|
15
15
|
dropdownVirtualRef: import('vue').ShallowRef<any, any>;
|
|
16
16
|
dropdownItems: import('vue').ShallowRef<DropdownItem[], DropdownItem[]>;
|
|
17
|
-
dropdownProps: import('vue').ShallowRef<
|
|
18
|
-
openDropdown: (triggerEl: any, items?: DropdownItem[], props?:
|
|
17
|
+
dropdownProps: import('vue').ShallowRef<YDropdownPropsAndEmits, YDropdownPropsAndEmits>;
|
|
18
|
+
openDropdown: (triggerEl: any, items?: DropdownItem[], props?: YDropdownPropsAndEmits) => void;
|
|
19
19
|
};
|
|
20
20
|
/**
|
|
21
21
|
* 下拉菜单操作
|
|
@@ -18,7 +18,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
18
18
|
itemStyle: import('vue').PropType<import('../y-app/types').StyleValue>;
|
|
19
19
|
validator: import('vue').PropType<import('./types').Validator>;
|
|
20
20
|
beforeRemove: import('vue').PropType<import('./types').BeforeRemove>;
|
|
21
|
-
tooltipProps: import('vue').PropType<import('../y-app/plus').
|
|
21
|
+
tooltipProps: import('vue').PropType<import('../y-app/plus').YTooltipProps>;
|
|
22
22
|
readonly: BooleanConstructor;
|
|
23
23
|
disabled: BooleanConstructor;
|
|
24
24
|
}>, {
|
|
@@ -43,7 +43,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
43
43
|
itemStyle: import('vue').PropType<import('../y-app/types').StyleValue>;
|
|
44
44
|
validator: import('vue').PropType<import('./types').Validator>;
|
|
45
45
|
beforeRemove: import('vue').PropType<import('./types').BeforeRemove>;
|
|
46
|
-
tooltipProps: import('vue').PropType<import('../y-app/plus').
|
|
46
|
+
tooltipProps: import('vue').PropType<import('../y-app/plus').YTooltipProps>;
|
|
47
47
|
readonly: BooleanConstructor;
|
|
48
48
|
disabled: BooleanConstructor;
|
|
49
49
|
}>> & Readonly<{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PropType, ExtractPropTypes } from 'vue';
|
|
2
2
|
import { StyleValue } from '../y-app/types';
|
|
3
3
|
import { ElTagProps } from '../y-app/el';
|
|
4
|
-
import {
|
|
4
|
+
import { YTooltipProps } from '../y-app/plus';
|
|
5
5
|
import { Validator, BeforeRemove } from './types';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -37,7 +37,7 @@ export declare const editTagProps: {
|
|
|
37
37
|
/** 移除校验方法 */
|
|
38
38
|
beforeRemove: PropType<BeforeRemove>;
|
|
39
39
|
/** 提示属性 */
|
|
40
|
-
tooltipProps: PropType<
|
|
40
|
+
tooltipProps: PropType<YTooltipProps>;
|
|
41
41
|
/** 是否只读 */
|
|
42
42
|
readonly: BooleanConstructor;
|
|
43
43
|
/** 是否禁用 */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StyleValue } from '../y-app/types';
|
|
2
|
-
import {
|
|
2
|
+
import { YTextInstance } from '../y-app/plus';
|
|
3
3
|
import { EllipsisTooltip } from './types';
|
|
4
4
|
|
|
5
5
|
declare function __VLS_template(): {
|
|
@@ -25,7 +25,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
25
25
|
iconProps: import('vue').PropType<import('../y-app/el').ElIconProps>;
|
|
26
26
|
iconStyle: import('vue').PropType<StyleValue>;
|
|
27
27
|
}>, {
|
|
28
|
-
textRef: import('vue').Ref<
|
|
28
|
+
textRef: import('vue').Ref<YTextInstance, YTextInstance>;
|
|
29
29
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
30
30
|
maxLine: NumberConstructor;
|
|
31
31
|
lineHeight: (NumberConstructor | StringConstructor)[];
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { YTooltipProps } from '../y-app/plus';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* 文字提示属性
|
|
5
5
|
*/
|
|
6
|
-
export interface EllipsisTooltip extends
|
|
6
|
+
export interface EllipsisTooltip extends YTooltipProps {
|
|
7
7
|
/** 是否使用原生的提示 */
|
|
8
8
|
original?: boolean;
|
|
9
9
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { YDropdownInstance } from '../y-app/plus';
|
|
2
2
|
import { FileItem, SortValue, ItemContextMenuOption } from './types';
|
|
3
3
|
|
|
4
4
|
declare function __VLS_template(): Partial<Record<string, (_: any) => any>> & Partial<Record<string, (_: {
|
|
@@ -28,14 +28,14 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
28
28
|
columns: import('vue').PropType<import('./types').ColumnItem[]>;
|
|
29
29
|
boxChoose: BooleanConstructor;
|
|
30
30
|
contextMenus: import('vue').PropType<import('./types').ContextMenus>;
|
|
31
|
-
contextMenuProps: import('vue').PropType<import('../y-app/plus').
|
|
31
|
+
contextMenuProps: import('vue').PropType<import('../y-app/plus').YDropdownProps>;
|
|
32
32
|
locale: import('vue').PropType<Partial<import('./types').FileListLocale>>;
|
|
33
33
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
34
34
|
sortChange: (_sorter: SortValue) => void;
|
|
35
35
|
itemClick: (_item: FileItem) => void;
|
|
36
36
|
"update:selections": (_selection?: FileItem[] | undefined) => void;
|
|
37
37
|
"update:current": (_current?: FileItem | null | undefined) => void;
|
|
38
|
-
itemContextOpen: (_dropdownRef:
|
|
38
|
+
itemContextOpen: (_dropdownRef: YDropdownInstance, _item: FileItem) => void;
|
|
39
39
|
itemContextMenu: (_option: ItemContextMenuOption) => void;
|
|
40
40
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
41
41
|
data: {
|
|
@@ -60,14 +60,14 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
60
60
|
columns: import('vue').PropType<import('./types').ColumnItem[]>;
|
|
61
61
|
boxChoose: BooleanConstructor;
|
|
62
62
|
contextMenus: import('vue').PropType<import('./types').ContextMenus>;
|
|
63
|
-
contextMenuProps: import('vue').PropType<import('../y-app/plus').
|
|
63
|
+
contextMenuProps: import('vue').PropType<import('../y-app/plus').YDropdownProps>;
|
|
64
64
|
locale: import('vue').PropType<Partial<import('./types').FileListLocale>>;
|
|
65
65
|
}>> & Readonly<{
|
|
66
66
|
onSortChange?: ((_sorter: SortValue) => any) | undefined;
|
|
67
67
|
onItemClick?: ((_item: FileItem) => any) | undefined;
|
|
68
68
|
"onUpdate:selections"?: ((_selection?: FileItem[] | undefined) => any) | undefined;
|
|
69
69
|
"onUpdate:current"?: ((_current?: FileItem | null | undefined) => any) | undefined;
|
|
70
|
-
onItemContextOpen?: ((_dropdownRef:
|
|
70
|
+
onItemContextOpen?: ((_dropdownRef: YDropdownInstance, _item: FileItem) => any) | undefined;
|
|
71
71
|
onItemContextMenu?: ((_option: ItemContextMenuOption) => any) | undefined;
|
|
72
72
|
}>, {
|
|
73
73
|
grid: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType, ExtractPropTypes } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { YDropdownProps, YDropdownInstance } from '../y-app/plus';
|
|
3
3
|
import { default as FileGridItem } from './components/file-grid-item';
|
|
4
4
|
import { default as FileTableItem } from './components/file-table-item';
|
|
5
5
|
import { IconItem, FileItem, SortValue, ItemContextMenuOption, ColumnItem, SelectionType, ContextMenus, FileListLocale } from './types';
|
|
@@ -44,7 +44,7 @@ export declare const fileListProps: {
|
|
|
44
44
|
/** 右键菜单 */
|
|
45
45
|
contextMenus: PropType<ContextMenus>;
|
|
46
46
|
/** 右键菜单属性 */
|
|
47
|
-
contextMenuProps: PropType<
|
|
47
|
+
contextMenuProps: PropType<YDropdownProps>;
|
|
48
48
|
/** 国际化 */
|
|
49
49
|
locale: PropType<Partial<FileListLocale>>;
|
|
50
50
|
};
|
|
@@ -64,7 +64,7 @@ export declare const fileListEmits: {
|
|
|
64
64
|
/** item 右键菜单项点击事件 */
|
|
65
65
|
itemContextMenu: (_option: ItemContextMenuOption) => boolean;
|
|
66
66
|
/** item 右键菜单打开事件 */
|
|
67
|
-
itemContextOpen: (_dropdownRef:
|
|
67
|
+
itemContextOpen: (_dropdownRef: YDropdownInstance, _item: FileItem) => boolean;
|
|
68
68
|
};
|
|
69
69
|
/**
|
|
70
70
|
* 网格 item 实例
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { StyleValue } from '../../y-app/types';
|
|
3
3
|
import { ElEmptyProps } from '../../y-app/el';
|
|
4
|
-
import {
|
|
4
|
+
import { YTooltipProps } from '../../y-app/plus';
|
|
5
5
|
import { PopperType } from '../../y-basic-select/types';
|
|
6
6
|
import { ItemTooltip } from '../types';
|
|
7
7
|
|
|
@@ -24,7 +24,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
24
24
|
/** 是否显示提示 */
|
|
25
25
|
tooltip: PropType<ItemTooltip>;
|
|
26
26
|
/** 提示属性 */
|
|
27
|
-
tooltipProps: PropType<
|
|
27
|
+
tooltipProps: PropType<YTooltipProps>;
|
|
28
28
|
/** 气泡是否展开 */
|
|
29
29
|
popperVisible: BooleanConstructor;
|
|
30
30
|
/** 网格样式 */
|
|
@@ -50,7 +50,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
50
50
|
/** 是否显示提示 */
|
|
51
51
|
tooltip: PropType<ItemTooltip>;
|
|
52
52
|
/** 提示属性 */
|
|
53
|
-
tooltipProps: PropType<
|
|
53
|
+
tooltipProps: PropType<YTooltipProps>;
|
|
54
54
|
/** 气泡是否展开 */
|
|
55
55
|
popperVisible: BooleanConstructor;
|
|
56
56
|
/** 网格样式 */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { YBasicSelectInstance } from '../y-app/plus';
|
|
2
2
|
import { IconItem } from './types';
|
|
3
3
|
|
|
4
4
|
declare function __VLS_template(): Partial<Record<string, (_: any) => any>> & {
|
|
@@ -45,20 +45,20 @@ 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
|
filterPlaceholder: StringConstructor;
|
|
57
57
|
tooltip: {
|
|
58
58
|
type: import('vue').PropType<import('./types').ItemTooltip>;
|
|
59
59
|
default: boolean;
|
|
60
60
|
};
|
|
61
|
-
tooltipProps: import('vue').PropType<import('../y-app/plus').
|
|
61
|
+
tooltipProps: import('vue').PropType<import('../y-app/plus').YTooltipProps>;
|
|
62
62
|
emptyProps: import('vue').PropType<import('../y-app/el').ElEmptyProps>;
|
|
63
63
|
hideOnSingleTab: BooleanConstructor;
|
|
64
64
|
headerStyle: import('vue').PropType<import('../y-app/types').StyleValue>;
|
|
@@ -73,7 +73,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
73
73
|
default: null;
|
|
74
74
|
};
|
|
75
75
|
}>, {
|
|
76
|
-
selectRef: import('vue').Ref<
|
|
76
|
+
selectRef: import('vue').Ref<YBasicSelectInstance, YBasicSelectInstance>;
|
|
77
77
|
updatePopover: () => void;
|
|
78
78
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
79
79
|
clear: () => void;
|
|
@@ -118,20 +118,20 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
118
118
|
default: boolean;
|
|
119
119
|
};
|
|
120
120
|
placement: {
|
|
121
|
-
type: import('vue').PropType<import('../y-app/plus').
|
|
121
|
+
type: import('vue').PropType<import('../y-app/plus').YTooltipProps["placement"]>;
|
|
122
122
|
default: string;
|
|
123
123
|
};
|
|
124
124
|
transition: {
|
|
125
125
|
type: StringConstructor;
|
|
126
126
|
default: string;
|
|
127
127
|
};
|
|
128
|
-
popperOptions: import('vue').PropType<import('../y-app/plus').
|
|
128
|
+
popperOptions: import('vue').PropType<import('../y-app/plus').YTooltipProps["popperOptions"]>;
|
|
129
129
|
filterPlaceholder: StringConstructor;
|
|
130
130
|
tooltip: {
|
|
131
131
|
type: import('vue').PropType<import('./types').ItemTooltip>;
|
|
132
132
|
default: boolean;
|
|
133
133
|
};
|
|
134
|
-
tooltipProps: import('vue').PropType<import('../y-app/plus').
|
|
134
|
+
tooltipProps: import('vue').PropType<import('../y-app/plus').YTooltipProps>;
|
|
135
135
|
emptyProps: import('vue').PropType<import('../y-app/el').ElEmptyProps>;
|
|
136
136
|
hideOnSingleTab: BooleanConstructor;
|
|
137
137
|
headerStyle: import('vue').PropType<import('../y-app/types').StyleValue>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PropType, ExtractPropTypes } from 'vue';
|
|
2
2
|
import { StyleValue } from '../y-app/types';
|
|
3
3
|
import { ElInputProps, ElEmptyProps } from '../y-app/el';
|
|
4
|
-
import {
|
|
4
|
+
import { YTooltipProps } from '../y-app/plus';
|
|
5
5
|
import { PopperType, PopperProps } from '../y-basic-select/types';
|
|
6
6
|
import { IconItem, ItemTooltip } from './types';
|
|
7
7
|
|
|
@@ -64,7 +64,7 @@ export declare const iconSelectProps: {
|
|
|
64
64
|
};
|
|
65
65
|
/** 下拉框位置 */
|
|
66
66
|
placement: {
|
|
67
|
-
type: PropType<
|
|
67
|
+
type: PropType<YTooltipProps["placement"]>;
|
|
68
68
|
default: string;
|
|
69
69
|
};
|
|
70
70
|
/** 下拉框渐变动画 */
|
|
@@ -73,7 +73,7 @@ export declare const iconSelectProps: {
|
|
|
73
73
|
default: string;
|
|
74
74
|
};
|
|
75
75
|
/** popper.js 参数 */
|
|
76
|
-
popperOptions: PropType<
|
|
76
|
+
popperOptions: PropType<YTooltipProps["popperOptions"]>;
|
|
77
77
|
/** 搜索框提示文本 */
|
|
78
78
|
filterPlaceholder: StringConstructor;
|
|
79
79
|
/** 是否显示文本提示 */
|
|
@@ -82,7 +82,7 @@ export declare const iconSelectProps: {
|
|
|
82
82
|
default: boolean;
|
|
83
83
|
};
|
|
84
84
|
/** 提示属性 */
|
|
85
|
-
tooltipProps: PropType<
|
|
85
|
+
tooltipProps: PropType<YTooltipProps>;
|
|
86
86
|
/** 空组件属性 */
|
|
87
87
|
emptyProps: PropType<ElEmptyProps>;
|
|
88
88
|
/** 顶部选项卡只有一个时隐藏 */
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { YMapPickerViewInstance } from '../y-app/plusx';
|
|
2
2
|
import { PoiItem } from './types';
|
|
3
3
|
|
|
4
4
|
declare function __VLS_template(): Partial<Record<string, (_: any) => any>>;
|
|
5
5
|
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
6
6
|
modelValue: BooleanConstructor;
|
|
7
|
-
modalProps: import('vue').PropType<Omit<import('../y-app/plus').
|
|
7
|
+
modalProps: import('vue').PropType<Omit<import('../y-app/plus').YModalProps, "modelValue">>;
|
|
8
8
|
responsive: {
|
|
9
9
|
type: BooleanConstructor;
|
|
10
10
|
default: null;
|
|
@@ -78,7 +78,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
78
78
|
selected: import('vue').PropType<PoiItem>;
|
|
79
79
|
sideStyle: import('vue').PropType<import('../y-app/types').StyleValue>;
|
|
80
80
|
}>, {
|
|
81
|
-
mapRef: import('vue').Ref<
|
|
81
|
+
mapRef: import('vue').Ref<YMapPickerViewInstance, YMapPickerViewInstance>;
|
|
82
82
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
83
83
|
done: (_result: PoiItem) => void;
|
|
84
84
|
open: () => void;
|
|
@@ -87,7 +87,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
87
87
|
mapDone: (_ins: any) => void;
|
|
88
88
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
89
89
|
modelValue: BooleanConstructor;
|
|
90
|
-
modalProps: import('vue').PropType<Omit<import('../y-app/plus').
|
|
90
|
+
modalProps: import('vue').PropType<Omit<import('../y-app/plus').YModalProps, "modelValue">>;
|
|
91
91
|
responsive: {
|
|
92
92
|
type: BooleanConstructor;
|
|
93
93
|
default: null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PropType, ExtractPropTypes } from 'vue';
|
|
2
2
|
import { StyleValue } from '../y-app/types';
|
|
3
3
|
import { ElEmptyProps } from '../y-app/el';
|
|
4
|
-
import {
|
|
4
|
+
import { YModalProps } from '../y-app/plus';
|
|
5
5
|
import { SelectMode, PoiItem, MapLocale } from './types';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -104,7 +104,7 @@ export declare const mapPickerProps: {
|
|
|
104
104
|
/** 弹窗是否显示 */
|
|
105
105
|
modelValue: BooleanConstructor;
|
|
106
106
|
/** 弹窗参数 */
|
|
107
|
-
modalProps: PropType<Omit<
|
|
107
|
+
modalProps: PropType<Omit<YModalProps, "modelValue">>;
|
|
108
108
|
/** 是否开启响应式 */
|
|
109
109
|
responsive: {
|
|
110
110
|
type: BooleanConstructor;
|