@es-plus/vue2 1.0.1 → 1.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/CHANGELOG.md +46 -0
- package/dist/components/es-crud-page/es-crud-page.vue.d.ts +66 -24
- package/dist/components/es-crud-page/es-crud-page.vue.d.ts.map +1 -1
- package/dist/components/es-dialog/component.vue.d.ts +143 -44
- package/dist/components/es-dialog/component.vue.d.ts.map +1 -1
- package/dist/components/es-dialog/render-jsx.vue.d.ts +19 -5
- package/dist/components/es-dialog/render-jsx.vue.d.ts.map +1 -1
- package/dist/components/es-form/es-form.vue.d.ts +162 -60
- package/dist/components/es-form/es-form.vue.d.ts.map +1 -1
- package/dist/components/es-table/column-item.vue.d.ts +11 -5
- package/dist/components/es-table/column-item.vue.d.ts.map +1 -1
- package/dist/components/es-table/component.vue.d.ts +210 -93
- package/dist/components/es-table/component.vue.d.ts.map +1 -1
- package/dist/components/es-table/table-btns.vue.d.ts +44 -20
- package/dist/components/es-table/table-btns.vue.d.ts.map +1 -1
- package/dist/composables/use-form-layout.d.ts +9 -9
- package/dist/composables/use-table-resize.d.ts +1 -1
- package/dist/composables/use-table-selection.d.ts +9 -3
- package/dist/composables/use-table-selection.d.ts.map +1 -1
- package/dist/es-plus-vue2.js +2 -2
- package/dist/es-plus-vue2.js.map +1 -1
- package/dist/es-plus-vue2.umd.cjs +1 -1
- package/dist/es-plus-vue2.umd.cjs.map +1 -1
- package/dist/vue-compat.d.ts +14 -12
- package/dist/vue-compat.d.ts.map +1 -1
- package/package.json +82 -86
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# @es-plus/vue2
|
|
2
|
+
|
|
3
|
+
## 1.0.0 — First stable release
|
|
4
|
+
|
|
5
|
+
This release promotes @es-plus/vue2 from beta (0.9.x) to GA. The component
|
|
6
|
+
behavior has been frozen against the `es-eui` reference docs site for several
|
|
7
|
+
weeks; all components (EsForm / EsTable / EsDialog / EsCrudPage) share their
|
|
8
|
+
JSON config schema 1:1 with @es-plus/vue3, so the same `formItemList` /
|
|
9
|
+
`columns` / `options` / `CrudPageSchema` definitions work in both targets.
|
|
10
|
+
|
|
11
|
+
### Changes vs 0.9.0
|
|
12
|
+
|
|
13
|
+
- **Stable API contract**: the four core components + `useDialog` + the
|
|
14
|
+
install function are considered stable. No breaking changes will land
|
|
15
|
+
without a major bump.
|
|
16
|
+
- **Added** unit smoke tests for the install function, the legacy es-eui
|
|
17
|
+
options-shape normalizer, and the export shape — drift between
|
|
18
|
+
`package.json#version` and the runtime default-export version now fails CI.
|
|
19
|
+
- **Verified** by the end-to-end harness in the monorepo
|
|
20
|
+
(`__tests__/e2e/scripts/run-e2e.mjs`): for every CRUD generator mode
|
|
21
|
+
(schema / sfc) the produced SFC compiles cleanly in a fresh Vite + Vue 2.7
|
|
22
|
+
+ Element UI project against `@es-plus/vue2@1.0.0`.
|
|
23
|
+
|
|
24
|
+
### Limitations carried forward from 0.9.x
|
|
25
|
+
|
|
26
|
+
- `tableOptions.virtual: true` is silently ignored (Element UI has no
|
|
27
|
+
`el-table-v2` equivalent). Use server-side pagination for large datasets.
|
|
28
|
+
- `scrollToRow` instance method is a no-op on this renderer.
|
|
29
|
+
- JSX in `<script setup lang="jsx">` requires the project to set up
|
|
30
|
+
`@vue/babel-preset-jsx` — Vite + `@vitejs/plugin-vue2` handles this
|
|
31
|
+
transparently.
|
|
32
|
+
|
|
33
|
+
### Upgrading from `es-eui`
|
|
34
|
+
|
|
35
|
+
`@es-plus/vue2` is the official successor to the `es-eui` demo package. To
|
|
36
|
+
migrate:
|
|
37
|
+
|
|
38
|
+
```diff
|
|
39
|
+
-import esEui from 'es-eui'
|
|
40
|
+
-Vue.use(esEui, { EsTable: { methods: { $httpRequest: ... } } })
|
|
41
|
+
+import ESPlus from '@es-plus/vue2'
|
|
42
|
+
+Vue.use(ESPlus, { EsTable: { methods: { $httpRequest: ... } } })
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
The install function preserves the legacy `{ methods: { ... } }` nested
|
|
46
|
+
options shape, so no JS changes are required beyond the import.
|
|
@@ -1,29 +1,20 @@
|
|
|
1
1
|
import { CrudPageSchema } from './types';
|
|
2
2
|
import { BtnConfig, TableColumn } from '@es-plus/core';
|
|
3
3
|
|
|
4
|
-
declare const _default: import('vue').
|
|
5
|
-
schema: {
|
|
6
|
-
type: () => CrudPageSchema;
|
|
7
|
-
required: true;
|
|
8
|
-
};
|
|
9
|
-
httpRequest: {
|
|
10
|
-
type: () => (params: Record<string, unknown>) => Promise<unknown>;
|
|
11
|
-
default: any;
|
|
12
|
-
};
|
|
13
|
-
autoLoad: {
|
|
14
|
-
type: BooleanConstructor;
|
|
15
|
-
default: boolean;
|
|
16
|
-
};
|
|
17
|
-
}, {
|
|
4
|
+
declare const _default: import('vue').ComponentOptions<import('vue').default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import('vue').default>, import('@vue/composition-api').ShallowUnwrapRef<{
|
|
18
5
|
refresh: () => void;
|
|
19
6
|
getSelectedRows: () => Record<string, unknown>[];
|
|
20
7
|
tableRef: any;
|
|
21
8
|
formRef: any;
|
|
22
|
-
queryModel:
|
|
9
|
+
queryModel: {
|
|
10
|
+
[x: string]: unknown;
|
|
11
|
+
};
|
|
23
12
|
openDialog: (key: string, row?: Record<string, unknown>) => void;
|
|
24
13
|
closeDialog: (key: string) => void;
|
|
25
|
-
tableData: import('vue').Ref<
|
|
26
|
-
|
|
14
|
+
tableData: import('@vue/composition-api').Ref<{
|
|
15
|
+
[x: string]: unknown;
|
|
16
|
+
}[]>;
|
|
17
|
+
paginationState: import('@vue/composition-api').Ref<{
|
|
27
18
|
pageSize: number;
|
|
28
19
|
current: number;
|
|
29
20
|
total: number;
|
|
@@ -32,11 +23,24 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
32
23
|
isSmall?: boolean;
|
|
33
24
|
layout?: string;
|
|
34
25
|
}>;
|
|
35
|
-
mergedColumns: import('vue').ComputedRef<TableColumn[]>;
|
|
36
|
-
mergedOptions: import('vue').ComputedRef<Record<string, unknown>>;
|
|
37
|
-
mergedFormBtns: import('vue').ComputedRef<BtnConfig[]>;
|
|
38
|
-
formLayoutProps: import('vue').ComputedRef<Record<string, unknown>>;
|
|
39
|
-
}
|
|
26
|
+
mergedColumns: import('@vue/composition-api').ComputedRef<TableColumn[]>;
|
|
27
|
+
mergedOptions: import('@vue/composition-api').ComputedRef<Record<string, unknown>>;
|
|
28
|
+
mergedFormBtns: import('@vue/composition-api').ComputedRef<BtnConfig[]>;
|
|
29
|
+
formLayoutProps: import('@vue/composition-api').ComputedRef<Record<string, unknown>>;
|
|
30
|
+
}> & import('@vue/composition-api').Data, {}, {}, {
|
|
31
|
+
schema: {
|
|
32
|
+
type: () => CrudPageSchema;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
httpRequest: {
|
|
36
|
+
type: () => (params: Record<string, unknown>) => Promise<unknown>;
|
|
37
|
+
default: any;
|
|
38
|
+
};
|
|
39
|
+
autoLoad: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
43
|
+
}, import('@vue/composition-api').ExtractPropTypes<{
|
|
40
44
|
schema: {
|
|
41
45
|
type: () => CrudPageSchema;
|
|
42
46
|
required: true;
|
|
@@ -49,9 +53,47 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
49
53
|
type: BooleanConstructor;
|
|
50
54
|
default: boolean;
|
|
51
55
|
};
|
|
52
|
-
}>>, {
|
|
56
|
+
}>, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin> & Omit<import('vue').VueConstructor<import('vue').default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import('vue').default>>, never> & (new (...args: any[]) => import('@vue/composition-api').ComponentRenderProxy<{
|
|
57
|
+
httpRequest: (params: Record<string, unknown>) => Promise<unknown>;
|
|
58
|
+
schema: CrudPageSchema;
|
|
59
|
+
autoLoad: boolean;
|
|
60
|
+
} & {} & {
|
|
61
|
+
[x: `on${Capitalize<string>}`]: (...args: any[]) => any;
|
|
62
|
+
}, import('@vue/composition-api').ShallowUnwrapRef<{
|
|
63
|
+
refresh: () => void;
|
|
64
|
+
getSelectedRows: () => Record<string, unknown>[];
|
|
65
|
+
tableRef: any;
|
|
66
|
+
formRef: any;
|
|
67
|
+
queryModel: {
|
|
68
|
+
[x: string]: unknown;
|
|
69
|
+
};
|
|
70
|
+
openDialog: (key: string, row?: Record<string, unknown>) => void;
|
|
71
|
+
closeDialog: (key: string) => void;
|
|
72
|
+
tableData: import('@vue/composition-api').Ref<{
|
|
73
|
+
[x: string]: unknown;
|
|
74
|
+
}[]>;
|
|
75
|
+
paginationState: import('@vue/composition-api').Ref<{
|
|
76
|
+
pageSize: number;
|
|
77
|
+
current: number;
|
|
78
|
+
total: number;
|
|
79
|
+
pageSizes?: number[];
|
|
80
|
+
size?: import('@es-plus/core').EsButtonSize;
|
|
81
|
+
isSmall?: boolean;
|
|
82
|
+
layout?: string;
|
|
83
|
+
}>;
|
|
84
|
+
mergedColumns: import('@vue/composition-api').ComputedRef<TableColumn[]>;
|
|
85
|
+
mergedOptions: import('@vue/composition-api').ComputedRef<Record<string, unknown>>;
|
|
86
|
+
mergedFormBtns: import('@vue/composition-api').ComputedRef<BtnConfig[]>;
|
|
87
|
+
formLayoutProps: import('@vue/composition-api').ComputedRef<Record<string, unknown>>;
|
|
88
|
+
}>, import('@vue/composition-api').Data, {}, {}, {}, {}, string[], {
|
|
89
|
+
httpRequest: (params: Record<string, unknown>) => Promise<unknown>;
|
|
90
|
+
schema: CrudPageSchema;
|
|
91
|
+
autoLoad: boolean;
|
|
92
|
+
} & {} & {
|
|
93
|
+
[x: `on${Capitalize<string>}`]: (...args: any[]) => any;
|
|
94
|
+
}, {
|
|
53
95
|
httpRequest: (params: Record<string, unknown>) => Promise<unknown>;
|
|
54
96
|
autoLoad: boolean;
|
|
55
|
-
}
|
|
97
|
+
}, true>);
|
|
56
98
|
export default _default;
|
|
57
99
|
//# sourceMappingURL=es-crud-page.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"es-crud-page.vue.d.ts","sourceRoot":"","sources":["../../../src/components/es-crud-page/es-crud-page.vue"],"names":[],"mappings":"AA8BA;AAqBA,OAAO,KAAK,EACV,cAAc,EAOf,MAAM,SAAS,CAAA;AAChB,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;;;
|
|
1
|
+
{"version":3,"file":"es-crud-page.vue.d.ts","sourceRoot":"","sources":["../../../src/components/es-crud-page/es-crud-page.vue"],"names":[],"mappings":"AA8BA;AAqBA,OAAO,KAAK,EACV,cAAc,EAOf,MAAM,SAAS,CAAA;AAChB,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;;;2BAwe3B,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE;;;;;;sBA1L5B,MAAM,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;uBA8FpC,MAAM;;;;;;;;;;;;;;;;;;;cArYN,MAAM,cAAc;;;;cAEf,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC,OAAO,CAAC;;;;;;;;;cAFhE,MAAM,cAAc;;;;cAEf,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC,OAAO,CAAC;;;;;;;;0BAA5C,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC,OAAO,CAAC;;;;;;;2BA+d9D,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE;;;;;;sBA1L5B,MAAM,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;uBA8FpC,MAAM;;;;;;;;;;;;;;;;;;0BAnYc,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC,OAAO,CAAC;;;;;;0BAA5C,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC,OAAO,CAAC;;;AAP9F,wBAwgBE"}
|
|
@@ -1,6 +1,51 @@
|
|
|
1
1
|
import { BtnConfig } from '@es-plus/core';
|
|
2
2
|
|
|
3
|
-
declare const _default: import('vue').
|
|
3
|
+
declare const _default: import('vue').ComponentOptions<import('vue').default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import('vue').default>, import('@vue/composition-api').ShallowUnwrapRef<{
|
|
4
|
+
closed: () => void;
|
|
5
|
+
dialogVisible: import('@vue/composition-api').WritableComputedRef<boolean>;
|
|
6
|
+
isFullscreen: import('@vue/composition-api').Ref<boolean>;
|
|
7
|
+
lyFormInstance: import('@vue/composition-api').Ref<unknown>;
|
|
8
|
+
renderBodyRefsObject: {
|
|
9
|
+
[x: string]: unknown;
|
|
10
|
+
};
|
|
11
|
+
filteredAttrs: import('@vue/composition-api').ComputedRef<{
|
|
12
|
+
[x: string]: unknown;
|
|
13
|
+
}>;
|
|
14
|
+
initDialogCls: import('@vue/composition-api').ComputedRef<"dialogShadow" | "dialogAuto" | "dialogFull">;
|
|
15
|
+
initDialogHeight: import('@vue/composition-api').ComputedRef<{
|
|
16
|
+
maxHeight: string;
|
|
17
|
+
height?: undefined;
|
|
18
|
+
} | {
|
|
19
|
+
height: string;
|
|
20
|
+
maxHeight?: undefined;
|
|
21
|
+
}>;
|
|
22
|
+
getCurrentInstanceModel: import('@vue/composition-api').ComputedRef<{
|
|
23
|
+
renderBodyRefs: unknown;
|
|
24
|
+
renderBodyRefsObject: {
|
|
25
|
+
[x: string]: unknown;
|
|
26
|
+
};
|
|
27
|
+
lyFormInstance: import('@vue/composition-api').Ref<unknown>;
|
|
28
|
+
dialogInstance: Record<string, unknown>;
|
|
29
|
+
getRefs: () => {
|
|
30
|
+
[x: string]: unknown;
|
|
31
|
+
};
|
|
32
|
+
}>;
|
|
33
|
+
dialogComponents: import('@vue/composition-api').ComputedRef<{
|
|
34
|
+
[x: string]: unknown;
|
|
35
|
+
}>;
|
|
36
|
+
handleClose: () => void;
|
|
37
|
+
handleFullscreen: () => void;
|
|
38
|
+
handleBtnClick: (it: BtnConfig) => void;
|
|
39
|
+
onDialogClose: () => void;
|
|
40
|
+
onDialogClosed: () => void;
|
|
41
|
+
beforeCloseHandler: (done: () => void) => void;
|
|
42
|
+
checkPermission: (pvalue?: string) => boolean;
|
|
43
|
+
filterOptions: (it: BtnConfig) => {
|
|
44
|
+
[x: string]: unknown;
|
|
45
|
+
};
|
|
46
|
+
getDisabled: (it: BtnConfig) => boolean;
|
|
47
|
+
getCompIcon: (key?: string) => string | undefined;
|
|
48
|
+
}> & import('@vue/composition-api').Data, {}, {}, {
|
|
4
49
|
title: {
|
|
5
50
|
type: StringConstructor;
|
|
6
51
|
default: string;
|
|
@@ -85,46 +130,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
85
130
|
type: ObjectConstructor;
|
|
86
131
|
default: () => {};
|
|
87
132
|
};
|
|
88
|
-
}, {
|
|
89
|
-
closed: () => void;
|
|
90
|
-
dialogVisible: import('vue').WritableComputedRef<boolean>;
|
|
91
|
-
isFullscreen: import('vue').Ref<boolean>;
|
|
92
|
-
lyFormInstance: import('vue').Ref<unknown>;
|
|
93
|
-
renderBodyRefsObject: Record<string, unknown>;
|
|
94
|
-
filteredAttrs: import('vue').ComputedRef<{
|
|
95
|
-
[x: string]: unknown;
|
|
96
|
-
}>;
|
|
97
|
-
initDialogCls: import('vue').ComputedRef<"dialogShadow" | "dialogAuto" | "dialogFull">;
|
|
98
|
-
initDialogHeight: import('vue').ComputedRef<{
|
|
99
|
-
maxHeight: string;
|
|
100
|
-
height?: undefined;
|
|
101
|
-
} | {
|
|
102
|
-
height: string;
|
|
103
|
-
maxHeight?: undefined;
|
|
104
|
-
}>;
|
|
105
|
-
getCurrentInstanceModel: import('vue').ComputedRef<{
|
|
106
|
-
renderBodyRefs: unknown;
|
|
107
|
-
renderBodyRefsObject: Record<string, unknown>;
|
|
108
|
-
lyFormInstance: import('vue').Ref<unknown>;
|
|
109
|
-
dialogInstance: Record<string, unknown>;
|
|
110
|
-
getRefs: () => Record<string, unknown>;
|
|
111
|
-
}>;
|
|
112
|
-
dialogComponents: import('vue').ComputedRef<{
|
|
113
|
-
[x: string]: unknown;
|
|
114
|
-
}>;
|
|
115
|
-
handleClose: () => void;
|
|
116
|
-
handleFullscreen: () => void;
|
|
117
|
-
handleBtnClick: (it: BtnConfig) => void;
|
|
118
|
-
onDialogClose: () => void;
|
|
119
|
-
onDialogClosed: () => void;
|
|
120
|
-
beforeCloseHandler: (done: () => void) => void;
|
|
121
|
-
checkPermission: (pvalue?: string) => boolean;
|
|
122
|
-
filterOptions: (it: BtnConfig) => {
|
|
123
|
-
[x: string]: unknown;
|
|
124
|
-
};
|
|
125
|
-
getDisabled: (it: BtnConfig) => boolean;
|
|
126
|
-
getCompIcon: (key?: string) => string | undefined;
|
|
127
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("update:visible" | "closed" | "submit")[], string, Readonly<import('vue').ExtractPropTypes<{
|
|
133
|
+
}, import('@vue/composition-api').ExtractPropTypes<{
|
|
128
134
|
title: {
|
|
129
135
|
type: StringConstructor;
|
|
130
136
|
default: string;
|
|
@@ -209,7 +215,100 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
209
215
|
type: ObjectConstructor;
|
|
210
216
|
default: () => {};
|
|
211
217
|
};
|
|
212
|
-
}>>, {
|
|
218
|
+
}>, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin> & Omit<import('vue').VueConstructor<import('vue').default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import('vue').default>>, never> & (new (...args: any[]) => import('@vue/composition-api').ComponentRenderProxy<{
|
|
219
|
+
render: Function;
|
|
220
|
+
components: Record<string, any>;
|
|
221
|
+
configBtn: BtnConfig[];
|
|
222
|
+
title: string;
|
|
223
|
+
width: string | number;
|
|
224
|
+
maxHeight: string | number;
|
|
225
|
+
visible: boolean;
|
|
226
|
+
appendTo: any;
|
|
227
|
+
appendToBody: boolean;
|
|
228
|
+
modalAppendToBody: boolean;
|
|
229
|
+
closeOnClickModal: boolean;
|
|
230
|
+
closeOnPressEscape: boolean;
|
|
231
|
+
destroyOnClose: boolean;
|
|
232
|
+
hiddenFullBtn: boolean;
|
|
233
|
+
isDraggable: boolean;
|
|
234
|
+
confirmText: string;
|
|
235
|
+
cancelText: string;
|
|
236
|
+
isHiddenFooter: boolean;
|
|
237
|
+
renderHeader: Function;
|
|
238
|
+
renderFooter: Function;
|
|
239
|
+
fullscreen: boolean;
|
|
240
|
+
} & {} & {
|
|
241
|
+
[x: `on${Capitalize<string>}`]: (...args: any[]) => any;
|
|
242
|
+
}, import('@vue/composition-api').ShallowUnwrapRef<{
|
|
243
|
+
closed: () => void;
|
|
244
|
+
dialogVisible: import('@vue/composition-api').WritableComputedRef<boolean>;
|
|
245
|
+
isFullscreen: import('@vue/composition-api').Ref<boolean>;
|
|
246
|
+
lyFormInstance: import('@vue/composition-api').Ref<unknown>;
|
|
247
|
+
renderBodyRefsObject: {
|
|
248
|
+
[x: string]: unknown;
|
|
249
|
+
};
|
|
250
|
+
filteredAttrs: import('@vue/composition-api').ComputedRef<{
|
|
251
|
+
[x: string]: unknown;
|
|
252
|
+
}>;
|
|
253
|
+
initDialogCls: import('@vue/composition-api').ComputedRef<"dialogShadow" | "dialogAuto" | "dialogFull">;
|
|
254
|
+
initDialogHeight: import('@vue/composition-api').ComputedRef<{
|
|
255
|
+
maxHeight: string;
|
|
256
|
+
height?: undefined;
|
|
257
|
+
} | {
|
|
258
|
+
height: string;
|
|
259
|
+
maxHeight?: undefined;
|
|
260
|
+
}>;
|
|
261
|
+
getCurrentInstanceModel: import('@vue/composition-api').ComputedRef<{
|
|
262
|
+
renderBodyRefs: unknown;
|
|
263
|
+
renderBodyRefsObject: {
|
|
264
|
+
[x: string]: unknown;
|
|
265
|
+
};
|
|
266
|
+
lyFormInstance: import('@vue/composition-api').Ref<unknown>;
|
|
267
|
+
dialogInstance: Record<string, unknown>;
|
|
268
|
+
getRefs: () => {
|
|
269
|
+
[x: string]: unknown;
|
|
270
|
+
};
|
|
271
|
+
}>;
|
|
272
|
+
dialogComponents: import('@vue/composition-api').ComputedRef<{
|
|
273
|
+
[x: string]: unknown;
|
|
274
|
+
}>;
|
|
275
|
+
handleClose: () => void;
|
|
276
|
+
handleFullscreen: () => void;
|
|
277
|
+
handleBtnClick: (it: BtnConfig) => void;
|
|
278
|
+
onDialogClose: () => void;
|
|
279
|
+
onDialogClosed: () => void;
|
|
280
|
+
beforeCloseHandler: (done: () => void) => void;
|
|
281
|
+
checkPermission: (pvalue?: string) => boolean;
|
|
282
|
+
filterOptions: (it: BtnConfig) => {
|
|
283
|
+
[x: string]: unknown;
|
|
284
|
+
};
|
|
285
|
+
getDisabled: (it: BtnConfig) => boolean;
|
|
286
|
+
getCompIcon: (key?: string) => string | undefined;
|
|
287
|
+
}>, import('@vue/composition-api').Data, {}, {}, {}, {}, string[], {
|
|
288
|
+
render: Function;
|
|
289
|
+
components: Record<string, any>;
|
|
290
|
+
configBtn: BtnConfig[];
|
|
291
|
+
title: string;
|
|
292
|
+
width: string | number;
|
|
293
|
+
maxHeight: string | number;
|
|
294
|
+
visible: boolean;
|
|
295
|
+
appendTo: any;
|
|
296
|
+
appendToBody: boolean;
|
|
297
|
+
modalAppendToBody: boolean;
|
|
298
|
+
closeOnClickModal: boolean;
|
|
299
|
+
closeOnPressEscape: boolean;
|
|
300
|
+
destroyOnClose: boolean;
|
|
301
|
+
hiddenFullBtn: boolean;
|
|
302
|
+
isDraggable: boolean;
|
|
303
|
+
confirmText: string;
|
|
304
|
+
cancelText: string;
|
|
305
|
+
isHiddenFooter: boolean;
|
|
306
|
+
renderHeader: Function;
|
|
307
|
+
renderFooter: Function;
|
|
308
|
+
fullscreen: boolean;
|
|
309
|
+
} & {} & {
|
|
310
|
+
[x: `on${Capitalize<string>}`]: (...args: any[]) => any;
|
|
311
|
+
}, {
|
|
213
312
|
render: Function;
|
|
214
313
|
components: Record<string, any>;
|
|
215
314
|
configBtn: BtnConfig[];
|
|
@@ -217,7 +316,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
217
316
|
width: string | number;
|
|
218
317
|
maxHeight: string | number;
|
|
219
318
|
visible: boolean;
|
|
220
|
-
appendTo:
|
|
319
|
+
appendTo: any;
|
|
221
320
|
appendToBody: boolean;
|
|
222
321
|
modalAppendToBody: boolean;
|
|
223
322
|
closeOnClickModal: boolean;
|
|
@@ -231,6 +330,6 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
231
330
|
renderHeader: Function;
|
|
232
331
|
renderFooter: Function;
|
|
233
332
|
fullscreen: boolean;
|
|
234
|
-
}
|
|
333
|
+
}, true>);
|
|
235
334
|
export default _default;
|
|
236
335
|
//# sourceMappingURL=component.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.vue.d.ts","sourceRoot":"","sources":["../../../src/components/es-dialog/component.vue"],"names":[],"mappings":"AAqFA;AAyBA,OAAO,EAAmB,KAAK,SAAS,EAAE,MAAM,eAAe,CAAA
|
|
1
|
+
{"version":3,"file":"component.vue.d.ts","sourceRoot":"","sources":["../../../src/components/es-dialog/component.vue"],"names":[],"mappings":"AAqFA;AAyBA,OAAO,EAAmB,KAAK,SAAS,EAAE,MAAM,eAAe,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA+J/B,SAAS;;;+BA3CH,MAAM,IAAI;+BAtEV,MAAM,KAAG,OAAO;wBAMvB,SAAS;;;sBAaX,SAAS,KAAG,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA1ChB,MAAM,SAAS,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAAjB,MAAM,SAAS,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAwIjB,SAAS;;;+BA3CH,MAAM,IAAI;+BAtEV,MAAM,KAAG,OAAO;wBAMvB,SAAS;;;sBAaX,SAAS,KAAG,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA7DhD,wBAuNE"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import('vue').
|
|
1
|
+
declare const _default: import('vue').ComponentOptions<import('vue').default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import('vue').default>, import('@vue/composition-api').ShallowUnwrapRef<() => any> & import('@vue/composition-api').Data, {}, {}, {
|
|
2
2
|
refs: {
|
|
3
3
|
type: () => Function | Record<string, unknown>;
|
|
4
4
|
default: any;
|
|
@@ -23,7 +23,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
23
23
|
type: ObjectConstructor;
|
|
24
24
|
default: () => {};
|
|
25
25
|
};
|
|
26
|
-
},
|
|
26
|
+
}, import('@vue/composition-api').ExtractPropTypes<{
|
|
27
27
|
refs: {
|
|
28
28
|
type: () => Function | Record<string, unknown>;
|
|
29
29
|
default: any;
|
|
@@ -48,13 +48,27 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
48
48
|
type: ObjectConstructor;
|
|
49
49
|
default: () => {};
|
|
50
50
|
};
|
|
51
|
-
}>>, {
|
|
51
|
+
}>, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin> & Omit<import('vue').VueConstructor<import('vue').default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import('vue').default>>, never> & (new (...args: any[]) => import('@vue/composition-api').ComponentRenderProxy<{
|
|
52
52
|
row: Record<string, any>;
|
|
53
53
|
render: Function;
|
|
54
54
|
components: Record<string, any>;
|
|
55
55
|
model: Record<string, any>;
|
|
56
56
|
instance: Record<string, any>;
|
|
57
|
-
refs:
|
|
58
|
-
}
|
|
57
|
+
refs: Record<string, unknown>;
|
|
58
|
+
} & {}, import('@vue/composition-api').ShallowUnwrapRef<() => any>, import('@vue/composition-api').Data, {}, {}, {}, {}, {}, {
|
|
59
|
+
row: Record<string, any>;
|
|
60
|
+
render: Function;
|
|
61
|
+
components: Record<string, any>;
|
|
62
|
+
model: Record<string, any>;
|
|
63
|
+
instance: Record<string, any>;
|
|
64
|
+
refs: Record<string, unknown>;
|
|
65
|
+
} & {}, {
|
|
66
|
+
row: Record<string, any>;
|
|
67
|
+
render: Function;
|
|
68
|
+
components: Record<string, any>;
|
|
69
|
+
model: Record<string, any>;
|
|
70
|
+
instance: Record<string, any>;
|
|
71
|
+
refs: Record<string, unknown>;
|
|
72
|
+
}, true>);
|
|
59
73
|
export default _default;
|
|
60
74
|
//# sourceMappingURL=render-jsx.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"render-jsx.vue.d.ts","sourceRoot":"","sources":["../../../src/components/es-dialog/render-jsx.vue"],"names":[],"mappings":";;cAyBmD,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;cAAxC,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC
|
|
1
|
+
{"version":3,"file":"render-jsx.vue.d.ts","sourceRoot":"","sources":["../../../src/components/es-dialog/render-jsx.vue"],"names":[],"mappings":";;cAyBmD,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;cAAxC,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAH3F,wBAkFE"}
|