@juzhenfe/page-model 3.22.3 → 3.22.6
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/dist/components/buttons-renderer/components/button-item-render/index.vue.d.ts +66 -0
- package/dist/components/buttons-renderer/index.vue.d.ts +40 -0
- package/dist/components/buttons-renderer/utils/index.d.ts +2 -2
- package/dist/components/column-filter-tools/index.vue.d.ts +10 -0
- package/dist/components/column-sort-tools/index.vue.d.ts +10 -0
- package/dist/components/draggable-list/index.vue.d.ts +25 -0
- package/dist/components/editable-table/components/column-tools/index.vue.d.ts +11 -0
- package/dist/components/editable-table/components/column-tools/setting.vue.d.ts +9 -0
- package/dist/components/editable-table/components/table-cell/index.vue.d.ts +16 -0
- package/dist/components/editable-table/index.d.ts +13 -14
- package/dist/components/editable-table/index.vue.d.ts +74 -0
- package/dist/components/form/components/col-container/components/module-container/index.vue.d.ts +30 -0
- package/dist/components/form/components/col-container/components/section-title-els/index.vue.d.ts +24 -0
- package/dist/components/form/components/col-container/components/tabs-mode-container/index.vue.d.ts +32 -0
- package/dist/components/form/components/col-container/index.vue.d.ts +24 -0
- package/dist/components/form/components/column-tools/setting.vue.d.ts +11 -0
- package/dist/components/form/components/column-tools/use-setting.d.ts +14 -14
- package/dist/components/form/components/container-component/index.vue.d.ts +22 -0
- package/dist/components/form/components/section-config/merge.d.ts +3 -3
- package/dist/components/form/components/section-config/use.d.ts +14 -14
- package/dist/components/form/constructor.d.ts +79 -80
- package/dist/components/form/index.d.ts +2 -3
- package/dist/components/form/index.vue.d.ts +19 -0
- package/dist/components/form/type.d.ts +168 -0
- package/dist/components/form/utils/save-columns.d.ts +30 -30
- package/dist/components/form/utils/use-form-els.d.ts +4 -4
- package/dist/components/form-container/components/dialog-mode/index.vue.d.ts +29 -0
- package/dist/components/form-container/components/drawer-mode/index.vue.d.ts +29 -0
- package/dist/components/form-container/components/full-page/index.vue.d.ts +29 -0
- package/dist/components/form-container/index.vue.d.ts +27 -0
- package/dist/components/form-dialog/index.vue.d.ts +30 -0
- package/dist/components/form-dialog/use-move.d.ts +19 -19
- package/dist/components/form-drawer/index.vue.d.ts +35 -0
- package/dist/components/form-item-renderer/index.vue.d.ts +75 -0
- package/dist/components/line-clamp-tools/index.vue.d.ts +9 -0
- package/dist/components/normal-tab/index.vue.d.ts +17 -0
- package/dist/components/normal-tab/type.d.ts +20 -0
- package/dist/components/page-model/components/selectable-operate/index.vue.d.ts +16 -0
- package/dist/components/page-model/components/top-tabs/constructor.d.ts +9 -10
- package/dist/components/page-model/components/top-tabs/index.vue.d.ts +21 -0
- package/dist/components/page-model/components/top-tabs/type.d.ts +11 -0
- package/dist/components/page-model/constructor.d.ts +156 -157
- package/dist/components/page-model/index.d.ts +4 -6
- package/dist/components/page-model/index.vue.d.ts +118 -0
- package/dist/components/page-model/patches/patch-config-urls.d.ts +2 -2
- package/dist/components/page-model/patches/patch-default-config.d.ts +2 -2
- package/dist/components/page-model/patches/patch-selectable.d.ts +2 -2
- package/dist/components/page-model/patches/patch-size.d.ts +2 -2
- package/dist/components/page-model/patches/patch-table-dragable.d.ts +2 -2
- package/dist/components/page-model/patches/patch-user-config.d.ts +2 -2
- package/dist/components/page-model/type.d.ts +345 -0
- package/dist/components/page-model/utils/default-config.d.ts +1 -1
- package/dist/components/page-model/utils/default-excel-export-config.d.ts +1 -1
- package/dist/components/page-model/utils/default-style-config.d.ts +1 -1
- package/dist/components/page-model/utils/default-text-config.d.ts +1 -1
- package/dist/components/page-model/utils/default-user-setting.d.ts +1 -1
- package/dist/components/page-model/utils/error-handler.d.ts +1 -1
- package/dist/components/page-model/utils/manager-controller.d.ts +47 -48
- package/dist/components/page-model/utils/patch-config.d.ts +1 -2
- package/dist/components/page-model/utils/use-auth-buttons.d.ts +7 -8
- package/dist/components/page-model/utils/use-keyboard-event.d.ts +9 -9
- package/dist/components/scenes-tab/index.vue.d.ts +5 -0
- package/dist/components/scenes-tab/type.d.ts +14 -0
- package/dist/components/search-form/components/search-form-full/index.vue.d.ts +16 -0
- package/dist/components/search-form/constructor.d.ts +21 -22
- package/dist/components/search-form/index.vue.d.ts +19 -0
- package/dist/components/search-form/type.d.ts +42 -0
- package/dist/components/search-form/use-detect-item-width.d.ts +5 -6
- package/dist/components/simple-popover/index.vue.d.ts +29 -0
- package/dist/components/table/components/column-tools/index.vue.d.ts +10 -0
- package/dist/components/table/components/column-tools/setting.vue.d.ts +17 -0
- package/dist/components/table/components/column-tools/use-setting.d.ts +14 -14
- package/dist/components/table/components/column-tools/use-user-config.d.ts +14 -14
- package/dist/components/table/components/column-tools/use-user-show-row-config.d.ts +35 -35
- package/dist/components/table/components/column-tools/user-config.vue.d.ts +11 -0
- package/dist/components/table/components/context-column-summary/index.vue.d.ts +13 -0
- package/dist/components/table/components/context-menu/index.vue.d.ts +35 -0
- package/dist/components/table/components/empty-data/index.vue.d.ts +7 -0
- package/dist/components/table/components/export-form/index.vue.d.ts +13 -0
- package/dist/components/table/components/export-form/use.d.ts +16 -17
- package/dist/components/table/components/selections-table/index.vue.d.ts +10 -0
- package/dist/components/table/components/selections-table/use.d.ts +15 -15
- package/dist/components/table/components/table-column/components/filter-zone/index.vue.d.ts +9 -0
- package/dist/components/table/components/table-column/components/filter-zone/utils/index.d.ts +69 -69
- package/dist/components/table/components/table-column/index.vue.d.ts +7 -0
- package/dist/components/table/components/table-v2/index.vue.d.ts +20 -0
- package/dist/components/table/components/table-wrap/index.vue.d.ts +24 -0
- package/dist/components/table/constructor.d.ts +344 -345
- package/dist/components/table/index.vue.d.ts +30 -0
- package/dist/components/table/type.d.ts +366 -0
- package/dist/components/table/utils/save-column-filter.d.ts +2 -2
- package/dist/components/table/utils/save-column-sort.d.ts +2 -2
- package/dist/components/table/utils/save-columns.d.ts +38 -38
- package/dist/components/table/utils/save-config.d.ts +6 -6
- package/dist/components/table/utils/use-column-drag.d.ts +8 -8
- package/dist/components/table/utils/use-listen-scroll.d.ts +5 -6
- package/dist/components/table/utils/use-static-summary.d.ts +11 -12
- package/dist/components/table/utils/use-table-config-change.d.ts +5 -6
- package/dist/components/table/utils/use-table-els.d.ts +4 -5
- package/dist/components/table-cell-renderer/index.vue.d.ts +58 -0
- package/dist/components/table-toolsbox/index.vue.d.ts +24 -0
- package/dist/index.es.js +1809 -1803
- package/dist/index.umd.js +2 -2
- package/dist/main.d.ts +14 -13
- package/dist/types/common.d.ts +485 -0
- package/dist/types/form-item-types/cascader.d.ts +39 -0
- package/dist/types/form-item-types/checkbox-group.d.ts +19 -0
- package/dist/types/form-item-types/color-picker.d.ts +21 -0
- package/dist/types/form-item-types/date-picker.d.ts +46 -0
- package/dist/types/form-item-types/input-number.d.ts +16 -0
- package/dist/types/form-item-types/input.d.ts +18 -0
- package/dist/types/form-item-types/jz-a-map.d.ts +14 -0
- package/dist/types/form-item-types/jz-cascader.d.ts +21 -0
- package/dist/types/form-item-types/jz-city-picker.d.ts +28 -0
- package/dist/types/form-item-types/jz-ck-editor.d.ts +27 -0
- package/dist/types/form-item-types/jz-editor.d.ts +20 -0
- package/dist/types/form-item-types/jz-file-upload.d.ts +20 -0
- package/dist/types/form-item-types/jz-img-upload.d.ts +23 -0
- package/dist/types/form-item-types/jz-long-input.d.ts +10 -0
- package/dist/types/form-item-types/jz-td-map.d.ts +13 -0
- package/dist/types/form-item-types/no-e-type.d.ts +12 -0
- package/dist/types/form-item-types/radio-group.d.ts +17 -0
- package/dist/types/form-item-types/rate.d.ts +30 -0
- package/dist/types/form-item-types/select-v2.d.ts +48 -0
- package/dist/types/form-item-types/select.d.ts +43 -0
- package/dist/types/form-item-types/slider.d.ts +31 -0
- package/dist/types/form-item-types/switch.d.ts +15 -0
- package/dist/types/form-item-types/time-picker.d.ts +42 -0
- package/dist/types/form-item-types/time-select.d.ts +31 -0
- package/dist/types/renderer.d.ts +10 -0
- package/dist/types/shims-vue-property.d.ts +8 -0
- package/dist/types/shims-vue.d.ts +7 -0
- package/dist/types/window.d.ts +10 -0
- package/dist/utils/config-saver.d.ts +51 -51
- package/dist/utils/define-config.d.ts +2 -3
- package/dist/utils/event-chain.d.ts +9 -9
- package/dist/utils/event-emitter.d.ts +7 -7
- package/dist/utils/index.d.ts +101 -102
- package/dist/utils/infinite-table.d.ts +49 -49
- package/dist/utils/manager.d.ts +13 -14
- package/dist/utils/provide-keys.d.ts +20 -20
- package/dist/utils/reflect/index.d.ts +14 -15
- package/dist/utils/reflect/reflect-collector.d.ts +25 -25
- package/dist/utils/resize.d.ts +2 -3
- package/package.json +9 -7
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
/**
|
|
5
|
+
* 渲染文本
|
|
6
|
+
*/
|
|
7
|
+
text: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* 自定义渲染
|
|
13
|
+
*/
|
|
14
|
+
renderFn: {
|
|
15
|
+
type: FunctionConstructor;
|
|
16
|
+
default: any;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* 渲染上下文
|
|
20
|
+
*/
|
|
21
|
+
context: {
|
|
22
|
+
type: ObjectConstructor;
|
|
23
|
+
default: any;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* 执行数据
|
|
27
|
+
*/
|
|
28
|
+
executeData: {
|
|
29
|
+
type: ArrayConstructor;
|
|
30
|
+
default: () => any[];
|
|
31
|
+
};
|
|
32
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
33
|
+
/**
|
|
34
|
+
* 渲染文本
|
|
35
|
+
*/
|
|
36
|
+
text: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* 自定义渲染
|
|
42
|
+
*/
|
|
43
|
+
renderFn: {
|
|
44
|
+
type: FunctionConstructor;
|
|
45
|
+
default: any;
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* 渲染上下文
|
|
49
|
+
*/
|
|
50
|
+
context: {
|
|
51
|
+
type: ObjectConstructor;
|
|
52
|
+
default: any;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* 执行数据
|
|
56
|
+
*/
|
|
57
|
+
executeData: {
|
|
58
|
+
type: ArrayConstructor;
|
|
59
|
+
default: () => any[];
|
|
60
|
+
};
|
|
61
|
+
}>> & Readonly<{}>, {
|
|
62
|
+
text: string;
|
|
63
|
+
renderFn: Function;
|
|
64
|
+
context: Record<string, any>;
|
|
65
|
+
executeData: unknown[];
|
|
66
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<{
|
|
4
|
+
els: PageModel.Button[];
|
|
5
|
+
context?: any;
|
|
6
|
+
executeData?: any[];
|
|
7
|
+
direction?: "horizontal" | "vertical";
|
|
8
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
9
|
+
add: (...args: any[]) => any;
|
|
10
|
+
custom: (event: string, ...rest: any[]) => any;
|
|
11
|
+
del: (...args: any[]) => any;
|
|
12
|
+
upd: (...args: any[]) => any;
|
|
13
|
+
import: (...args: any[]) => any;
|
|
14
|
+
"count-change": (count: number) => any;
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
16
|
+
els: PageModel.Button[];
|
|
17
|
+
context?: any;
|
|
18
|
+
executeData?: any[];
|
|
19
|
+
direction?: "horizontal" | "vertical";
|
|
20
|
+
}> & Readonly<{
|
|
21
|
+
onAdd?: (...args: any[]) => any;
|
|
22
|
+
onCustom?: (event: string, ...rest: any[]) => any;
|
|
23
|
+
onDel?: (...args: any[]) => any;
|
|
24
|
+
onUpd?: (...args: any[]) => any;
|
|
25
|
+
onImport?: (...args: any[]) => any;
|
|
26
|
+
"onCount-change"?: (count: number) => any;
|
|
27
|
+
}>, {
|
|
28
|
+
direction: "horizontal" | "vertical";
|
|
29
|
+
executeData: any[];
|
|
30
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
31
|
+
default?: (props: {
|
|
32
|
+
item: any;
|
|
33
|
+
index: any;
|
|
34
|
+
}) => any;
|
|
35
|
+
}>;
|
|
36
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
37
|
+
new (): {
|
|
38
|
+
$slots: S;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const execButtonClickEvent: (button: PageModel.Button, emit: Function, executeData?: any[], context?: any) => void;
|
|
2
|
-
export { execButtonClickEvent };
|
|
1
|
+
declare const execButtonClickEvent: (button: PageModel.Button, emit: Function, executeData?: any[], context?: any) => void;
|
|
2
|
+
export { execButtonClickEvent };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as PageModelManager } from '../page-model/constructor';
|
|
2
|
+
type Props = {
|
|
3
|
+
manager?: PageModelManager;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import('vue').DefineComponent<Props, {
|
|
6
|
+
showPopover: (element: HTMLElement) => void;
|
|
7
|
+
hidePopover: () => void;
|
|
8
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, any, string, import('vue').PublicProps, any, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as PageModelManager } from '../page-model/constructor';
|
|
2
|
+
type Props = {
|
|
3
|
+
manager?: PageModelManager;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import('vue').DefineComponent<Props, {
|
|
6
|
+
showPopover: (element: HTMLElement) => void;
|
|
7
|
+
hidePopover: () => void;
|
|
8
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, any, string, import('vue').PublicProps, any, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<{
|
|
4
|
+
modelValue: any[];
|
|
5
|
+
itemKey?: string;
|
|
6
|
+
itemClassName?: string;
|
|
7
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
8
|
+
"update:modelValue": (value: any[]) => any;
|
|
9
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
10
|
+
modelValue: any[];
|
|
11
|
+
itemKey?: string;
|
|
12
|
+
itemClassName?: string;
|
|
13
|
+
}> & Readonly<{
|
|
14
|
+
"onUpdate:modelValue"?: (value: any[]) => any;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
16
|
+
item?: (props: {
|
|
17
|
+
element: any;
|
|
18
|
+
index: any;
|
|
19
|
+
}) => any;
|
|
20
|
+
}>;
|
|
21
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
type Props = {
|
|
2
|
+
els: PageModel.TableBaseItem[];
|
|
3
|
+
fullscreen?: boolean;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
6
|
+
"save-columns": (columns: PageModel.TableBaseItem<any, any>[]) => any;
|
|
7
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
8
|
+
"onSave-columns"?: (columns: PageModel.TableBaseItem<any, any>[]) => any;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import('vue').DefineComponent<{}, {
|
|
4
|
+
show: (els: PageModel.TableBaseItem[]) => void;
|
|
5
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
6
|
+
submit: (els: PageModel.TableBaseItem<any, any>[]) => any;
|
|
7
|
+
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
8
|
+
onSubmit?: (els: PageModel.TableBaseItem<any, any>[]) => any;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
4
|
+
"input-click": () => any;
|
|
5
|
+
"key-tab": (event: KeyboardEvent) => any;
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
7
|
+
"onInput-click"?: () => any;
|
|
8
|
+
"onKey-tab"?: (event: KeyboardEvent) => any;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
|
|
10
|
+
default?: (props: {}) => any;
|
|
11
|
+
}>;
|
|
12
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
13
|
+
new (): {
|
|
14
|
+
$slots: S;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { default as EditableTable } from './index.vue';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
export { EditableTable, defineEditableTable };
|
|
2
|
+
type EditableTableEl<T> = PageModel.TableBaseItem<T> & {
|
|
3
|
+
/**
|
|
4
|
+
* 是否必填
|
|
5
|
+
*/
|
|
6
|
+
required?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare const defineEditableTable: <MODEL>(config: {
|
|
9
|
+
/**
|
|
10
|
+
* 元素成员
|
|
11
|
+
*/
|
|
12
|
+
els: EditableTableEl<MODEL>[];
|
|
13
|
+
}) => any;
|
|
14
|
+
export { EditableTable, defineEditableTable };
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<{
|
|
4
|
+
data?: any[];
|
|
5
|
+
els: any[];
|
|
6
|
+
filterable?: boolean;
|
|
7
|
+
filterPlaceholder?: string;
|
|
8
|
+
filterProps?: string[];
|
|
9
|
+
alwaysShowEdit?: boolean;
|
|
10
|
+
copy?: boolean;
|
|
11
|
+
userSetting?: PageModel.UserSetting;
|
|
12
|
+
showTools?: boolean;
|
|
13
|
+
onAddData?: (data: any, index: number) => any;
|
|
14
|
+
props?: AnyObject;
|
|
15
|
+
noAddable?: boolean;
|
|
16
|
+
noDelete?: boolean;
|
|
17
|
+
beforeDelete?: (data: any, index: number) => void;
|
|
18
|
+
showAddAction?: boolean;
|
|
19
|
+
showImportAction?: boolean;
|
|
20
|
+
otherActions?: PageModel.Button[];
|
|
21
|
+
border?: boolean;
|
|
22
|
+
removeEmpty?: boolean;
|
|
23
|
+
removeExculeIndentifyKeys?: string[];
|
|
24
|
+
isAddDisabled?: (row: any, index: number) => boolean;
|
|
25
|
+
isDeleteDisabled?: (row: any, index: number) => boolean;
|
|
26
|
+
}, {
|
|
27
|
+
filterEmptyData: () => void;
|
|
28
|
+
addTableData: (index: number) => boolean;
|
|
29
|
+
removeTableData: (index: number) => boolean;
|
|
30
|
+
scrollToRowIndex: (rowIndex: number) => void;
|
|
31
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
32
|
+
[x: string]: never;
|
|
33
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
34
|
+
data?: any[];
|
|
35
|
+
els: any[];
|
|
36
|
+
filterable?: boolean;
|
|
37
|
+
filterPlaceholder?: string;
|
|
38
|
+
filterProps?: string[];
|
|
39
|
+
alwaysShowEdit?: boolean;
|
|
40
|
+
copy?: boolean;
|
|
41
|
+
userSetting?: PageModel.UserSetting;
|
|
42
|
+
showTools?: boolean;
|
|
43
|
+
onAddData?: (data: any, index: number) => any;
|
|
44
|
+
props?: AnyObject;
|
|
45
|
+
noAddable?: boolean;
|
|
46
|
+
noDelete?: boolean;
|
|
47
|
+
beforeDelete?: (data: any, index: number) => void;
|
|
48
|
+
showAddAction?: boolean;
|
|
49
|
+
showImportAction?: boolean;
|
|
50
|
+
otherActions?: PageModel.Button[];
|
|
51
|
+
border?: boolean;
|
|
52
|
+
removeEmpty?: boolean;
|
|
53
|
+
removeExculeIndentifyKeys?: string[];
|
|
54
|
+
isAddDisabled?: (row: any, index: number) => boolean;
|
|
55
|
+
isDeleteDisabled?: (row: any, index: number) => boolean;
|
|
56
|
+
}> & Readonly<{
|
|
57
|
+
[x: `on${Capitalize<string>}`]: (...args: unknown[]) => any;
|
|
58
|
+
}>, {
|
|
59
|
+
data: any[];
|
|
60
|
+
copy: boolean;
|
|
61
|
+
noAddable: boolean;
|
|
62
|
+
noDelete: boolean;
|
|
63
|
+
removeEmpty: boolean;
|
|
64
|
+
removeExculeIndentifyKeys: string[];
|
|
65
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
66
|
+
'action-prefix'?: (props: {}) => any;
|
|
67
|
+
} & {
|
|
68
|
+
'action-suffix'?: (props: {}) => any;
|
|
69
|
+
}>;
|
|
70
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
71
|
+
new (): {
|
|
72
|
+
$slots: S;
|
|
73
|
+
};
|
|
74
|
+
};
|
package/dist/components/form/components/col-container/components/module-container/index.vue.d.ts
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<{
|
|
4
|
+
els: {
|
|
5
|
+
label: string;
|
|
6
|
+
els: PageModel.FormItem[];
|
|
7
|
+
}[];
|
|
8
|
+
moduleConfig: PageModel.Form["moduleConfig"];
|
|
9
|
+
sectionConfig?: PageModel.Form["sectionConfig"];
|
|
10
|
+
rowProps?: PageModel.Form["rowProps"];
|
|
11
|
+
errorProp?: string;
|
|
12
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
13
|
+
els: {
|
|
14
|
+
label: string;
|
|
15
|
+
els: PageModel.FormItem[];
|
|
16
|
+
}[];
|
|
17
|
+
moduleConfig: PageModel.Form["moduleConfig"];
|
|
18
|
+
sectionConfig?: PageModel.Form["sectionConfig"];
|
|
19
|
+
rowProps?: PageModel.Form["rowProps"];
|
|
20
|
+
errorProp?: string;
|
|
21
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
22
|
+
default?: (props: {
|
|
23
|
+
el: any;
|
|
24
|
+
}) => any;
|
|
25
|
+
}>;
|
|
26
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
27
|
+
new (): {
|
|
28
|
+
$slots: S;
|
|
29
|
+
};
|
|
30
|
+
};
|
package/dist/components/form/components/col-container/components/section-title-els/index.vue.d.ts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<{
|
|
4
|
+
els: PageModel.FormItem[];
|
|
5
|
+
rowProps?: AnyObject;
|
|
6
|
+
sectionConfig?: PageModel.Form["sectionConfig"];
|
|
7
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
8
|
+
els: PageModel.FormItem[];
|
|
9
|
+
rowProps?: AnyObject;
|
|
10
|
+
sectionConfig?: PageModel.Form["sectionConfig"];
|
|
11
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
12
|
+
default?: (props: {
|
|
13
|
+
el: any;
|
|
14
|
+
}) => any;
|
|
15
|
+
} & {
|
|
16
|
+
default?: (props: {
|
|
17
|
+
el: any;
|
|
18
|
+
}) => any;
|
|
19
|
+
}>;
|
|
20
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
package/dist/components/form/components/col-container/components/tabs-mode-container/index.vue.d.ts
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<{
|
|
4
|
+
props?: AnyObject;
|
|
5
|
+
els: {
|
|
6
|
+
label: string;
|
|
7
|
+
els: PageModel.FormItem[];
|
|
8
|
+
}[];
|
|
9
|
+
rowProps?: PageModel.Form["rowProps"];
|
|
10
|
+
sectionConfig?: PageModel.Form["sectionConfig"];
|
|
11
|
+
errorProp?: string;
|
|
12
|
+
}, {
|
|
13
|
+
setActiveName: (moduleName: string) => void;
|
|
14
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
15
|
+
props?: AnyObject;
|
|
16
|
+
els: {
|
|
17
|
+
label: string;
|
|
18
|
+
els: PageModel.FormItem[];
|
|
19
|
+
}[];
|
|
20
|
+
rowProps?: PageModel.Form["rowProps"];
|
|
21
|
+
sectionConfig?: PageModel.Form["sectionConfig"];
|
|
22
|
+
errorProp?: string;
|
|
23
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
24
|
+
default?: (props: {
|
|
25
|
+
el: any;
|
|
26
|
+
}) => any;
|
|
27
|
+
}>;
|
|
28
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
type Props = {
|
|
2
|
+
els: PageModel.FormItem[];
|
|
3
|
+
form: PageModel.Form;
|
|
4
|
+
errorProp?: string;
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_9: {
|
|
7
|
+
el: any;
|
|
8
|
+
}, __VLS_19: {
|
|
9
|
+
el: any;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_Slots = {} & {
|
|
12
|
+
default?: (props: typeof __VLS_9) => any;
|
|
13
|
+
} & {
|
|
14
|
+
default?: (props: typeof __VLS_19) => any;
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_base: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import('vue').DefineComponent<{}, {
|
|
4
|
+
show: (els: PageModel.FormItem[], sectionConfig: PageModel.Form["sectionConfig"]) => void;
|
|
5
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
6
|
+
closed: () => any;
|
|
7
|
+
submit: (els: PageModel.FormItem<AnyObject, any>[], sectionsConfig: any) => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
9
|
+
onClosed?: () => any;
|
|
10
|
+
onSubmit?: (els: PageModel.FormItem<AnyObject, any>[], sectionsConfig: any) => any;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 使用字段表格列组件
|
|
3
|
-
* @return
|
|
4
|
-
* @columnToolsSettingRef 表格列组件的ref
|
|
5
|
-
* @isRenderColumnToolsSetting 是否渲染
|
|
6
|
-
* @showColumnToolsSetting 显示选择表格
|
|
7
|
-
* @onColumnToolsSettingClosed 表格关闭的回调
|
|
8
|
-
*/
|
|
9
|
-
export declare const useColumnToolsSetting: () => {
|
|
10
|
-
isRenderColumnToolsSetting: import('vue').Ref<boolean, boolean>;
|
|
11
|
-
columnToolsSettingRef: import('vue').Ref<any, any>;
|
|
12
|
-
showColumnToolsSetting: (els: PageModel.FormItem[], sectionConfig?: PageModel.Form[
|
|
13
|
-
onColumnToolsSettingClosed: () => void;
|
|
14
|
-
};
|
|
1
|
+
/**
|
|
2
|
+
* 使用字段表格列组件
|
|
3
|
+
* @return
|
|
4
|
+
* @columnToolsSettingRef 表格列组件的ref
|
|
5
|
+
* @isRenderColumnToolsSetting 是否渲染
|
|
6
|
+
* @showColumnToolsSetting 显示选择表格
|
|
7
|
+
* @onColumnToolsSettingClosed 表格关闭的回调
|
|
8
|
+
*/
|
|
9
|
+
export declare const useColumnToolsSetting: () => {
|
|
10
|
+
isRenderColumnToolsSetting: import('vue').Ref<boolean, boolean>;
|
|
11
|
+
columnToolsSettingRef: import('vue').Ref<any, any>;
|
|
12
|
+
showColumnToolsSetting: (els: PageModel.FormItem[], sectionConfig?: PageModel.Form["sectionConfig"]) => void;
|
|
13
|
+
onColumnToolsSettingClosed: () => void;
|
|
14
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { default as FormManager } from '../../constructor';
|
|
2
|
+
type Props = {
|
|
3
|
+
form: PageModel.Form;
|
|
4
|
+
formManager: FormManager;
|
|
5
|
+
els: PageModel.FormItem;
|
|
6
|
+
errorProp?: string;
|
|
7
|
+
};
|
|
8
|
+
declare var __VLS_9: {
|
|
9
|
+
el: any;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_Slots = {} & {
|
|
12
|
+
default?: (props: typeof __VLS_9) => any;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_base: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 合并配置
|
|
3
|
-
*/
|
|
1
|
+
/**
|
|
2
|
+
* 合并配置
|
|
3
|
+
*/
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 使用字段表格列组件
|
|
3
|
-
* @return
|
|
4
|
-
* @sectionConfigRef 表格列组件的ref
|
|
5
|
-
* @isRenderSectionConfig 是否渲染
|
|
6
|
-
* @showSectionConfig 显示选择表格
|
|
7
|
-
* @onSectionConfigClosed 表格关闭的回调
|
|
8
|
-
*/
|
|
9
|
-
export declare const useSectionConfig: () => {
|
|
10
|
-
isRenderSectionConfig: import('vue').Ref<boolean, boolean>;
|
|
11
|
-
sectionConfigRef: import('vue').Ref<any, any>;
|
|
12
|
-
showSectionConfig: (sectionConfigs: PageModel.Form[
|
|
13
|
-
onSectionConfigClosed: () => void;
|
|
14
|
-
};
|
|
1
|
+
/**
|
|
2
|
+
* 使用字段表格列组件
|
|
3
|
+
* @return
|
|
4
|
+
* @sectionConfigRef 表格列组件的ref
|
|
5
|
+
* @isRenderSectionConfig 是否渲染
|
|
6
|
+
* @showSectionConfig 显示选择表格
|
|
7
|
+
* @onSectionConfigClosed 表格关闭的回调
|
|
8
|
+
*/
|
|
9
|
+
export declare const useSectionConfig: () => {
|
|
10
|
+
isRenderSectionConfig: import('vue').Ref<boolean, boolean>;
|
|
11
|
+
sectionConfigRef: import('vue').Ref<any, any>;
|
|
12
|
+
showSectionConfig: (sectionConfigs: PageModel.Form["sectionConfig"]["sections"]) => void;
|
|
13
|
+
onSectionConfigClosed: () => void;
|
|
14
|
+
};
|