@web-utils/form-ui 1.0.0-beta85 → 1.0.0-beta86

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.
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "../chunks/B1MSrc6f.mjs";
2
2
  import { t } from "../chunks/V-Js6hNd.mjs";
3
- import { t as n } from "../chunks/SLYmepqR.mjs";
3
+ import { t as n } from "../chunks/HFLY8Wla.mjs";
4
4
  import { ElButton as r, ElMessage as i } from "element-plus/es";
5
5
  import "element-plus/es/components/base/style/css";
6
6
  import { createBlock as a, createTextVNode as o, createVNode as s, openBlock as c, renderSlot as l, withCtx as u } from "vue";
@@ -32,6 +32,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
32
32
  selectionWidth: StringConstructor;
33
33
  fetchApi: FunctionConstructor;
34
34
  delApi: FunctionConstructor;
35
+ rowKey: {
36
+ type: (StringConstructor | FunctionConstructor)[];
37
+ default: string;
38
+ };
35
39
  size: {
36
40
  type: StringConstructor;
37
41
  };
@@ -162,6 +166,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
162
166
  selectionWidth: StringConstructor;
163
167
  fetchApi: FunctionConstructor;
164
168
  delApi: FunctionConstructor;
169
+ rowKey: {
170
+ type: (StringConstructor | FunctionConstructor)[];
171
+ default: string;
172
+ };
165
173
  size: {
166
174
  type: StringConstructor;
167
175
  };
@@ -283,5 +291,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
283
291
  limit: number;
284
292
  maxLimit: number;
285
293
  showSummary: boolean;
294
+ rowKey: string | Function;
286
295
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
287
296
  export default _default;
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/CTFV8OFH2.mjs";
1
+ import { t as e } from "../chunks/DrvwVjzq2.mjs";
2
2
  export { e as default };
@@ -28,6 +28,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
28
28
  onRowDbClick: FunctionConstructor;
29
29
  showMessage: BooleanConstructor;
30
30
  pageSize: NumberConstructor;
31
+ rowKey: {
32
+ type: (StringConstructor | FunctionConstructor)[];
33
+ default: string;
34
+ };
31
35
  size: {
32
36
  type: StringConstructor;
33
37
  };
@@ -149,6 +153,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
149
153
  onRowDbClick: FunctionConstructor;
150
154
  showMessage: BooleanConstructor;
151
155
  pageSize: NumberConstructor;
156
+ rowKey: {
157
+ type: (StringConstructor | FunctionConstructor)[];
158
+ default: string;
159
+ };
152
160
  size: {
153
161
  type: StringConstructor;
154
162
  };
@@ -260,6 +268,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
260
268
  wrapFormItem: boolean;
261
269
  limit: number;
262
270
  showSummary: boolean;
271
+ rowKey: string | Function;
263
272
  selection: boolean;
264
273
  bottomAddButton: boolean;
265
274
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/8zYlq-t92.mjs";
1
+ import { t as e } from "../chunks/4kjeIiag2.mjs";
2
2
  export { e as default };
package/index.mjs CHANGED
@@ -24,7 +24,7 @@ import y from "./data-progress/index.mjs";
24
24
  import { t as b } from "./chunks/Ctx93AFS.mjs";
25
25
  import { t as x } from "./chunks/V-Js6hNd.mjs";
26
26
  import S from "./element-resize-observer/index.mjs";
27
- import { t as C } from "./chunks/SLYmepqR.mjs";
27
+ import { t as C } from "./chunks/HFLY8Wla.mjs";
28
28
  import { t as w } from "./chunks/mnqSaATq.mjs";
29
29
  import { t as T } from "./chunks/tzjUpVIj.mjs";
30
30
  import { t as E } from "./chunks/6eDDQWcr.mjs";
@@ -77,10 +77,10 @@ import { t as Se } from "./chunks/y1Q66LEa2.mjs";
77
77
  import { t as Ce } from "./chunks/XQwnPkab2.mjs";
78
78
  import we from "./table-column-def/index.mjs";
79
79
  import { t as Te } from "./chunks/BxcsELcB2.mjs";
80
- import { t as Ee } from "./chunks/61ccpSFj2.mjs";
81
- import { t as De } from "./chunks/CTFV8OFH2.mjs";
82
- import { t as Oe } from "./chunks/BMei9UHN2.mjs";
83
- import { t as ke } from "./chunks/8zYlq-t92.mjs";
80
+ import { t as Ee } from "./chunks/DWN5uzm02.mjs";
81
+ import { t as De } from "./chunks/DrvwVjzq2.mjs";
82
+ import { t as Oe } from "./chunks/8h-xBLL82.mjs";
83
+ import { t as ke } from "./chunks/4kjeIiag2.mjs";
84
84
  import { t as Ae } from "./chunks/Tq3_dajC2.mjs";
85
85
  import { t as je } from "./chunks/SWO35fS42.mjs";
86
86
  import { t as Me } from "./chunks/BTGrh7dw2.mjs";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@web-utils/form-ui",
3
3
  "description": "form-ui",
4
- "version": "1.0.0-beta85",
4
+ "version": "1.0.0-beta86",
5
5
  "author": "Simple",
6
6
  "license": "MIT",
7
7
  "type": "module",
@@ -37,7 +37,6 @@
37
37
  "dayjs": "^1.11.20",
38
38
  "diagram-js": "^15.13.0",
39
39
  "echarts": "^6.0.0",
40
- "element-plus": "^2.13.7",
41
40
  "highlight.js": "^11.11.1",
42
41
  "lodash-es": "^4.18.1",
43
42
  "min-dash": "^5.0.0",
@@ -48,7 +47,6 @@
48
47
  "tiny-svg": "^4.1.4",
49
48
  "video.js": "^8.23.7",
50
49
  "viewerjs": "^1.11.7",
51
- "vue": "^3.5.33",
52
50
  "vue-cropper": "^1.1.4",
53
51
  "x2js": "^3.4.4"
54
52
  }
@@ -366,6 +366,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
366
366
  fit: boolean;
367
367
  showSummary: boolean;
368
368
  selectionWidth: string;
369
+ rowKey: string | Function;
369
370
  descs: unknown[];
370
371
  ascs: unknown[];
371
372
  selection: boolean;
@@ -382,7 +383,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
382
383
  stripe: boolean;
383
384
  showHeader: boolean;
384
385
  highlightCurrentRow: boolean;
385
- rowKey: string | Function;
386
386
  emptyText: string;
387
387
  expandRowKeys: unknown[];
388
388
  tooltipEffect: string;
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/SLYmepqR.mjs";
1
+ import { t as e } from "../chunks/HFLY8Wla.mjs";
2
2
  export { e as default };
@@ -32,6 +32,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
32
32
  selectionWidth: StringConstructor;
33
33
  fetchApi: FunctionConstructor;
34
34
  delApi: FunctionConstructor;
35
+ rowKey: {
36
+ type: (StringConstructor | FunctionConstructor)[];
37
+ default: string;
38
+ };
35
39
  }>, {}, {
36
40
  rows: never[];
37
41
  selectedRows: never[];
@@ -92,6 +96,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
92
96
  selectionWidth: StringConstructor;
93
97
  fetchApi: FunctionConstructor;
94
98
  delApi: FunctionConstructor;
99
+ rowKey: {
100
+ type: (StringConstructor | FunctionConstructor)[];
101
+ default: string;
102
+ };
95
103
  }>> & Readonly<{
96
104
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
97
105
  "onAdd-row"?: ((...args: any[]) => any) | undefined;
@@ -105,5 +113,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
105
113
  limit: number;
106
114
  maxLimit: number;
107
115
  showSummary: boolean;
116
+ rowKey: string | Function;
108
117
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
109
118
  export default _default;
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/61ccpSFj2.mjs";
1
+ import { t as e } from "../chunks/DWN5uzm02.mjs";
2
2
  export { e as default };
@@ -26,6 +26,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
26
26
  onRowDbClick: FunctionConstructor;
27
27
  showMessage: BooleanConstructor;
28
28
  pageSize: NumberConstructor;
29
+ rowKey: {
30
+ type: (StringConstructor | FunctionConstructor)[];
31
+ default: string;
32
+ };
29
33
  }>, {}, {
30
34
  rows: never[];
31
35
  selectedRows: never[];
@@ -92,6 +96,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
92
96
  onRowDbClick: FunctionConstructor;
93
97
  showMessage: BooleanConstructor;
94
98
  pageSize: NumberConstructor;
99
+ rowKey: {
100
+ type: (StringConstructor | FunctionConstructor)[];
101
+ default: string;
102
+ };
95
103
  }>> & Readonly<{
96
104
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
97
105
  "onAdd-row"?: ((...args: any[]) => any) | undefined;
@@ -101,6 +109,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
101
109
  showMessage: boolean;
102
110
  limit: number;
103
111
  showSummary: boolean;
112
+ rowKey: string | Function;
104
113
  selection: boolean;
105
114
  bottomAddButton: boolean;
106
115
  }, {}, {}, {}, string, () => {
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/BMei9UHN2.mjs";
1
+ import { t as e } from "../chunks/8h-xBLL82.mjs";
2
2
  export { e as default };
@@ -44,7 +44,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
44
44
  deleteTips: StringConstructor;
45
45
  selectTips: StringConstructor;
46
46
  rowKey: {
47
- type: StringConstructor;
47
+ type: (StringConstructor | FunctionConstructor)[];
48
48
  default: string;
49
49
  };
50
50
  expandSearch: BooleanConstructor;
@@ -130,7 +130,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
130
130
  deleteTips: StringConstructor;
131
131
  selectTips: StringConstructor;
132
132
  rowKey: {
133
- type: StringConstructor;
133
+ type: (StringConstructor | FunctionConstructor)[];
134
134
  default: string;
135
135
  };
136
136
  expandSearch: BooleanConstructor;
@@ -144,9 +144,9 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
144
144
  embed: boolean;
145
145
  border: boolean;
146
146
  labelWidth: string;
147
+ rowKey: string | Function;
147
148
  toolbarAttrs: Record<string, any>;
148
149
  showToolbar: boolean;
149
- rowKey: string;
150
150
  borderTop: boolean;
151
151
  borderBottom: boolean;
152
152
  borderLeft: boolean;
@@ -202,7 +202,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
202
202
  deleteTips: StringConstructor;
203
203
  selectTips: StringConstructor;
204
204
  rowKey: {
205
- type: StringConstructor;
205
+ type: (StringConstructor | FunctionConstructor)[];
206
206
  default: string;
207
207
  };
208
208
  expandSearch: BooleanConstructor;
@@ -297,7 +297,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
297
297
  deleteTips: StringConstructor;
298
298
  selectTips: StringConstructor;
299
299
  rowKey: {
300
- type: StringConstructor;
300
+ type: (StringConstructor | FunctionConstructor)[];
301
301
  default: string;
302
302
  };
303
303
  expandSearch: BooleanConstructor;
@@ -1,6 +1,6 @@
1
1
  import { f as e, i as t } from "../chunks/ClVh1Lek.mjs";
2
2
  import { t as n } from "../chunks/B1MSrc6f.mjs";
3
- import { t as r } from "../chunks/SLYmepqR.mjs";
3
+ import { t as r } from "../chunks/HFLY8Wla.mjs";
4
4
  import { processButtons as i, reloadTable as a } from "../api/index.mjs";
5
5
  import { cellClickHandlerContextKey as o, tableViewContextKey as s } from "../constants/index.mjs";
6
6
  import { t as c } from "../chunks/mnqSaATq.mjs";
@@ -107,7 +107,7 @@ var q = [
107
107
  deleteTips: String,
108
108
  selectTips: String,
109
109
  rowKey: {
110
- type: String,
110
+ type: [Function, String],
111
111
  default: "id"
112
112
  },
113
113
  expandSearch: Boolean,