orion-design 0.1.16 → 0.1.18

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.
Files changed (77) hide show
  1. package/README.md +5 -5
  2. package/dist/components/Form/FileInput/FileInput.vue.d.ts +1 -1
  3. package/dist/components/Form/index.js +247 -238
  4. package/dist/components/Form/index.js.map +1 -1
  5. package/dist/components/LovTable/LovPagetable.vue.d.ts +310 -2
  6. package/dist/components/LovTable/LovQuerytable.vue.d.ts +198 -2
  7. package/dist/components/LovTable/index.d.ts +295 -6
  8. package/dist/components/LovTable/index.js +114 -29
  9. package/dist/components/LovTable/index.js.map +1 -1
  10. package/dist/components/Pagetable/Pagetable.d.ts +13 -0
  11. package/dist/components/Pagetable/index.d.ts +9 -0
  12. package/dist/components/Pagetable/index.js +167 -161
  13. package/dist/components/Pagetable/index.js.map +1 -1
  14. package/dist/components/Querytable/Querytable.d.ts +13 -0
  15. package/dist/components/Querytable/index.d.ts +9 -0
  16. package/dist/components/Querytable/index.js +130 -125
  17. package/dist/components/Querytable/index.js.map +1 -1
  18. package/dist/components/RichTextEditor/RichTextEditor.d.ts +13 -0
  19. package/dist/components/RichTextEditor/index.d.ts +9 -0
  20. package/dist/components/RichTextEditor/index.js +20761 -0
  21. package/dist/components/RichTextEditor/index.js.map +1 -0
  22. package/dist/components/Tabs/index.js +371 -263
  23. package/dist/components/Tabs/index.js.map +1 -1
  24. package/dist/components/_util/arrays.js.map +1 -1
  25. package/dist/components/_util/browser.js +2 -2
  26. package/dist/components/_util/browser.js.map +1 -1
  27. package/dist/components/_util/dom/aria.js.map +1 -1
  28. package/dist/components/_util/dom/element.js +1 -1
  29. package/dist/components/_util/dom/element.js.map +1 -1
  30. package/dist/components/_util/dom/event.js.map +1 -1
  31. package/dist/components/_util/dom/position.js +1 -1
  32. package/dist/components/_util/dom/position.js.map +1 -1
  33. package/dist/components/_util/dom/scroll.js +1 -1
  34. package/dist/components/_util/dom/scroll.js.map +1 -1
  35. package/dist/components/_util/dom/style.js +1 -1
  36. package/dist/components/_util/dom/style.js.map +1 -1
  37. package/dist/components/_util/easings.js.map +1 -1
  38. package/dist/components/_util/error.js.map +1 -1
  39. package/dist/components/_util/i18n.js.map +1 -1
  40. package/dist/components/_util/index.js +1 -1
  41. package/dist/components/_util/objects.js.map +1 -1
  42. package/dist/components/_util/raf.js +1 -1
  43. package/dist/components/_util/raf.js.map +1 -1
  44. package/dist/components/_util/rand.js.map +1 -1
  45. package/dist/components/_util/strings.js.map +1 -1
  46. package/dist/components/_util/throttleByRaf.js.map +1 -1
  47. package/dist/components/_util/types.js.map +1 -1
  48. package/dist/components/_util/typescript.js.map +1 -1
  49. package/dist/components/_util/vue/global-node.js +1 -1
  50. package/dist/components/_util/vue/global-node.js.map +1 -1
  51. package/dist/components/_util/vue/icon.js.map +1 -1
  52. package/dist/components/_util/vue/install.js.map +1 -1
  53. package/dist/components/_util/vue/props/runtime.js.map +1 -1
  54. package/dist/components/_util/vue/refs.js.map +1 -1
  55. package/dist/components/_util/vue/size.js.map +1 -1
  56. package/dist/components/_util/vue/validator.js.map +1 -1
  57. package/dist/components/_util/vue/vnode.js.map +1 -1
  58. package/dist/components/components.d.ts +2 -0
  59. package/dist/components/components.js +12 -10
  60. package/dist/components/components.js.map +1 -1
  61. package/dist/components/index.js +16 -14
  62. package/dist/components/index.js.map +1 -1
  63. package/dist/components-Cx2JsH63.js +74 -0
  64. package/dist/{components-0PErqPHo.js.map → components-Cx2JsH63.js.map} +1 -1
  65. package/dist/{index-DG_8kbAs.js → index-C9tCD90X.js} +6 -6
  66. package/dist/{index-DG_8kbAs.js.map → index-C9tCD90X.js.map} +1 -1
  67. package/dist/index.css +1 -1
  68. package/dist/index.js +22 -20
  69. package/dist/index.js.map +1 -1
  70. package/dist/version/version.d.ts +1 -1
  71. package/dist/version/version.js +1 -1
  72. package/dist/version/version.js.map +1 -1
  73. package/global.d.ts +2 -0
  74. package/package.json +3 -1
  75. package/dist/components-0PErqPHo.js +0 -72
  76. package/dist/index-DLvlyWAh.js +0 -127
  77. package/dist/index-DLvlyWAh.js.map +0 -1
@@ -1,27 +1,28 @@
1
1
  import "lodash-es";
2
- import { defineComponent as C, ref as U, computed as W, createVNode as o, createTextVNode as X, isVNode as j } from "vue";
3
- import { withInstall as Z } from "../_util/vue/install.js";
4
- import { ElTable as ee, ElTableColumn as w, ElButton as te } from "element-plus";
5
- import re from "../_util/classNames.js";
6
- import { arrayType as ne, booleanType as D, stringType as r, someType as u, numberType as oe } from "../_util/type.js";
7
- import { number2string as le, formatDate as N, getSingleCodeContent as q, getMultiCodeContent as M } from "./utils/index.js";
2
+ import { defineComponent as C, ref as W, computed as X, createVNode as o, createTextVNode as Z, isVNode as j } from "vue";
3
+ import { withInstall as ee } from "../_util/vue/install.js";
4
+ import { ElTable as te, ElTableColumn as w, ElButton as re } from "element-plus";
5
+ import ne from "../_util/classNames.js";
6
+ import { arrayType as oe, booleanType as D, stringType as r, someType as u, numberType as le } from "../_util/type.js";
7
+ import { number2string as se, formatDate as N, getSingleCodeContent as q, getMultiCodeContent as M } from "./utils/index.js";
8
8
  import ae from "dayjs";
9
- import { S as se } from "../../index-BbsXWo7C.js";
10
- import ue from "../../error/OrionError.js";
11
- import ie from "./hooks/useColumns.js";
9
+ import { S as ue } from "../../index-BbsXWo7C.js";
10
+ import ie from "../../error/OrionError.js";
11
+ import de from "./hooks/useColumns.js";
12
12
  import P from "../../Throne/index.js";
13
- function de(n) {
13
+ function ce(n) {
14
14
  return typeof n == "function" || Object.prototype.toString.call(n) === "[object Object]" && !j(n);
15
15
  }
16
- const ce = () => ({
17
- data: ne(),
16
+ const pe = () => ({
17
+ data: oe(),
18
18
  showRowNumber: D(!0),
19
19
  selectionMode: D(!1),
20
- currentRowMode: D(!1)
21
- }), pe = /* @__PURE__ */ C({
20
+ currentRowMode: D(!1),
21
+ size: r()
22
+ }), me = /* @__PURE__ */ C({
22
23
  name: "OQuerytable",
23
24
  inheritAttrs: !1,
24
- props: ce(),
25
+ props: pe(),
25
26
  emits: ["selectionChange", "currentRowChange", "rowClick"],
26
27
  setup(n, {
27
28
  slots: c,
@@ -29,15 +30,16 @@ const ce = () => ({
29
30
  emit: p,
30
31
  expose: b
31
32
  }) {
32
- const O = U(), B = W(() => ({})), v = ie(c);
33
+ const S = W(), B = X(() => ({})), v = de(c);
33
34
  return b({
34
35
  clearSelection: () => {
35
- O.value.clearSelection();
36
+ S.value.clearSelection();
36
37
  },
37
- getSelectionRows: () => O.value.getSelectionRows(),
38
- toggleRowSelection: (...Q) => O.value.toggleRowSelection(...Q),
39
- toggleAllSelection: () => O.value.toggleAllSelection(),
40
- setCurrentRow: (...Q) => O.value.setCurrentRow(...Q)
38
+ getSelectionRows: () => S.value.getSelectionRows(),
39
+ toggleRowSelection: (...Q) => S.value.toggleRowSelection(...Q),
40
+ toggleAllSelection: () => S.value.toggleAllSelection(),
41
+ setCurrentRow: (...Q) => S.value.setCurrentRow(...Q),
42
+ scrollTo: (...Q) => S.value.scrollTo(...Q)
41
43
  }), () => {
42
44
  const {
43
45
  data: Q
@@ -47,7 +49,9 @@ const ce = () => ({
47
49
  showRowNumber: I = !0
48
50
  } = n, {
49
51
  currentRowMode: V = !1
50
- } = n, $ = re("orion-querytable"), E = () => o(w, {
52
+ } = n, {
53
+ size: $ = "default"
54
+ } = n, z = ne("orion-querytable"), E = () => o(w, {
51
55
  type: "index",
52
56
  label: "No",
53
57
  width: 56,
@@ -61,13 +65,13 @@ const ce = () => ({
61
65
  }, null), F = (t) => {
62
66
  const {
63
67
  name: e,
64
- head: s,
68
+ head: a,
65
69
  headAlign: i,
66
70
  width: m,
67
71
  fixed: h
68
72
  } = t;
69
73
  return o(w, {
70
- label: s,
74
+ label: a,
71
75
  headerAlign: i,
72
76
  prop: e,
73
77
  width: m,
@@ -77,17 +81,17 @@ const ce = () => ({
77
81
  }, H = (t) => {
78
82
  const {
79
83
  name: e,
80
- head: s,
84
+ head: a,
81
85
  headAlign: i,
82
86
  width: m,
83
87
  fixed: h
84
88
  } = t, {
85
89
  thousandsSeparator: l = !0,
86
90
  precision: d = -1,
87
- percentage: a = !1
91
+ percentage: s = !1
88
92
  } = t;
89
93
  return o(w, {
90
- label: s,
94
+ label: a,
91
95
  headerAlign: i,
92
96
  align: "right",
93
97
  prop: e,
@@ -97,18 +101,18 @@ const ce = () => ({
97
101
  }, {
98
102
  default: (f) => {
99
103
  const {
100
- row: S,
104
+ row: x,
101
105
  column: g
102
106
  } = f;
103
107
  return o("span", {
104
108
  class: "cell-numbercolumn"
105
- }, [le(S[g.property], l, d, a === !0 || a === "")]);
109
+ }, [se(x[g.property], l, d, s === !0 || s === "")]);
106
110
  }
107
111
  });
108
112
  }, _ = (t) => {
109
113
  const {
110
114
  name: e,
111
- head: s,
115
+ head: a,
112
116
  headAlign: i,
113
117
  width: m,
114
118
  fixed: h,
@@ -116,25 +120,25 @@ const ce = () => ({
116
120
  format: d = "YYYYMMDDHHmmss"
117
121
  } = t;
118
122
  return o(w, {
119
- label: s,
123
+ label: a,
120
124
  headerAlign: i,
121
125
  prop: e,
122
126
  width: m,
123
127
  fixed: h,
124
128
  showOverflowTooltip: !0
125
129
  }, {
126
- default: (a) => {
130
+ default: (s) => {
127
131
  const {
128
132
  row: f,
129
- column: S
130
- } = a, g = f[S.property];
133
+ column: x
134
+ } = s, g = f[x.property];
131
135
  return g instanceof Date || ae.isDayjs(g) ? o("div", null, [N(g, d)]) : l && d ? o("div", null, [N(g, l, d)]) : o("div", null, [g]);
132
136
  }
133
137
  });
134
- }, z = (t) => {
138
+ }, G = (t) => {
135
139
  const {
136
140
  name: e,
137
- head: s,
141
+ head: a,
138
142
  headAlign: i,
139
143
  width: m,
140
144
  fixed: h
@@ -142,7 +146,7 @@ const ce = () => ({
142
146
  code: l
143
147
  } = t;
144
148
  return o(w, {
145
- label: s,
149
+ label: a,
146
150
  headerAlign: i,
147
151
  prop: e,
148
152
  width: m,
@@ -151,19 +155,19 @@ const ce = () => ({
151
155
  }, {
152
156
  default: (d) => {
153
157
  const {
154
- row: a,
158
+ row: s,
155
159
  column: f
156
- } = d, S = a[f.property];
157
- let g, x, A;
158
- return l ? typeof l == "string" ? (g = l, x = P.getCode(g), A = q(x.value, S)) : (x = l, A = q(x, S)) : A = null, o("span", {
160
+ } = d, x = s[f.property];
161
+ let g, A, O;
162
+ return l ? typeof l == "string" ? (g = l, A = P.getCode(g), O = q(A.value, x)) : (A = l, O = q(A, x)) : O = null, o("span", {
159
163
  class: "cell-singleselect"
160
- }, [A]);
164
+ }, [O]);
161
165
  }
162
166
  });
163
- }, G = (t) => {
167
+ }, J = (t) => {
164
168
  const {
165
169
  name: e,
166
- head: s,
170
+ head: a,
167
171
  headAlign: i,
168
172
  width: m,
169
173
  fixed: h
@@ -171,7 +175,7 @@ const ce = () => ({
171
175
  code: l
172
176
  } = t;
173
177
  return o(w, {
174
- label: s,
178
+ label: a,
175
179
  headerAlign: i,
176
180
  prop: e,
177
181
  width: m,
@@ -180,85 +184,85 @@ const ce = () => ({
180
184
  }, {
181
185
  default: (d) => {
182
186
  const {
183
- row: a,
187
+ row: s,
184
188
  column: f
185
- } = d, S = a[f.property];
186
- let g, x, A;
187
- return l ? typeof l == "string" ? (g = l, x = P.getCode(g), A = M(x.value, S)) : (x = l, A = M(x, S)) : A = null, o("span", {
189
+ } = d, x = s[f.property];
190
+ let g, A, O;
191
+ return l ? typeof l == "string" ? (g = l, A = P.getCode(g), O = M(A.value, x)) : (A = l, O = M(A, x)) : O = null, o("span", {
188
192
  class: "cell-multiselect"
189
- }, [A]);
193
+ }, [O]);
190
194
  }
191
195
  });
192
- }, J = (t) => {
196
+ }, K = (t) => {
193
197
  const {
194
198
  name: e,
195
- head: s,
199
+ head: a,
196
200
  headAlign: i,
197
201
  width: m,
198
202
  fixed: h
199
203
  } = t;
200
204
  return o(w, {
201
- label: s,
205
+ label: a,
202
206
  headerAlign: i,
203
207
  prop: e,
204
208
  width: m,
205
209
  fixed: h
206
210
  }, {
207
211
  default: (l) => {
208
- var a, f;
209
- const d = (f = (a = t.children) == null ? void 0 : a.default) == null ? void 0 : f.call(a, {
212
+ var s, f;
213
+ const d = (f = (s = t.children) == null ? void 0 : s.default) == null ? void 0 : f.call(s, {
210
214
  rowData: l.row,
211
215
  column: t,
212
216
  rowIndex: l.$index
213
217
  });
214
218
  return o("div", {
215
219
  class: "cell-buttongroup"
216
- }, [o(se, null, de(d) ? d : {
220
+ }, [o(ue, null, ce(d) ? d : {
217
221
  default: () => [d]
218
222
  })]);
219
223
  }
220
224
  });
221
- }, K = (t) => {
225
+ }, L = (t) => {
222
226
  const {
223
227
  head: e,
224
- headAlign: s
228
+ headAlign: a
225
229
  } = t, {
226
230
  children: i
227
231
  } = t;
228
232
  return o(w, {
229
233
  label: e,
230
- headerAlign: s
234
+ headerAlign: a
231
235
  }, {
232
- default: (m) => T(i)
236
+ default: (m) => R(i)
233
237
  });
234
- }, L = (t) => {
238
+ }, U = (t) => {
235
239
  const {
236
240
  name: e,
237
- head: s,
241
+ head: a,
238
242
  headAlign: i,
239
243
  width: m,
240
244
  fixed: h
241
245
  } = t;
242
246
  return o(w, {
243
- label: s,
247
+ label: a,
244
248
  headerAlign: i,
245
249
  prop: e,
246
250
  width: m,
247
251
  fixed: h
248
252
  }, {
249
253
  default: (l) => {
250
- var a, f;
251
- const d = (f = (a = t.children) == null ? void 0 : a.default) == null ? void 0 : f.call(a, {
254
+ var s, f;
255
+ const d = (f = (s = t.children) == null ? void 0 : s.default) == null ? void 0 : f.call(s, {
252
256
  rowData: l.row,
253
257
  column: t,
254
258
  rowIndex: l.$index
255
259
  });
256
260
  return o("div", {
257
261
  class: "cell-diy"
258
- }, [d, X(" ")]);
262
+ }, [d, Z(" ")]);
259
263
  }
260
264
  });
261
- }, T = (t) => t == null ? void 0 : t.map((e) => {
265
+ }, R = (t) => t == null ? void 0 : t.map((e) => {
262
266
  if (e.type === "OQuerytableColumnString")
263
267
  return F(e);
264
268
  if (e.type === "OQuerytableColumnNumber")
@@ -266,22 +270,22 @@ const ce = () => ({
266
270
  if (e.type === "OQuerytableColumnDate")
267
271
  return _(e);
268
272
  if (e.type === "OQuerytableColumnSingleselect")
269
- return z(e);
270
- if (e.type === "OQuerytableColumnMultiselect")
271
273
  return G(e);
272
- if (e.type === "OQuerytableColumnButtongroup")
274
+ if (e.type === "OQuerytableColumnMultiselect")
273
275
  return J(e);
274
- if (e.type === "OQuerytableColumngroup")
276
+ if (e.type === "OQuerytableColumnButtongroup")
275
277
  return K(e);
276
- if (e.type === "OQuerytableColumnDiy")
278
+ if (e.type === "OQuerytableColumngroup")
277
279
  return L(e);
278
- throw new ue(`OQuerytable不能正确渲染'${e.type.name}'子组件。`);
280
+ if (e.type === "OQuerytableColumnDiy")
281
+ return U(e);
282
+ throw new ie(`OQuerytable不能正确渲染'${e.type.name}'子组件。`);
279
283
  });
280
284
  return o("div", {
281
- class: [$, y.class],
285
+ class: [z, y.class],
282
286
  style: [B.value, y.style]
283
- }, [o(ee, {
284
- ref: O,
287
+ }, [o(te, {
288
+ ref: S,
285
289
  border: !0,
286
290
  data: Q,
287
291
  height: "100%",
@@ -291,16 +295,17 @@ const ce = () => ({
291
295
  "onSelection-change": (t) => p("selectionChange", t),
292
296
  "highlight-current-row": V,
293
297
  "onCurrent-change": (t, e) => p("currentRowChange", t, e),
294
- "onRow-click": (t, e, s) => p("rowClick", t, e, s)
298
+ "onRow-click": (t, e, a) => p("rowClick", t, e, a),
299
+ size: $
295
300
  }, {
296
- default: () => [I && E(), k && Y(), T(v.value)]
301
+ default: () => [I && E(), k && Y(), R(v.value)]
297
302
  })]);
298
303
  };
299
304
  }
300
- }), me = () => ({}), he = /* @__PURE__ */ C({
305
+ }), he = () => ({}), fe = /* @__PURE__ */ C({
301
306
  name: "OQuerytableColumnIndex",
302
307
  inheritAttrs: !1,
303
- props: me(),
308
+ props: he(),
304
309
  setup(n, {
305
310
  slots: c,
306
311
  attrs: y,
@@ -309,16 +314,16 @@ const ce = () => ({
309
314
  }) {
310
315
  return () => null;
311
316
  }
312
- }), fe = () => ({
317
+ }), ge = () => ({
313
318
  head: r(),
314
319
  headAlign: r(),
315
320
  name: r(),
316
321
  width: u([Boolean, String]),
317
322
  fixed: u([Boolean, String])
318
- }), ge = /* @__PURE__ */ C({
323
+ }), ye = /* @__PURE__ */ C({
319
324
  name: "OQuerytableColumnString",
320
325
  inheritAttrs: !1,
321
- props: fe(),
326
+ props: ge(),
322
327
  setup(n, {
323
328
  slots: c,
324
329
  attrs: y,
@@ -327,19 +332,19 @@ const ce = () => ({
327
332
  }) {
328
333
  return () => null;
329
334
  }
330
- }), ye = () => ({
335
+ }), be = () => ({
331
336
  head: r(),
332
337
  headAlign: r(),
333
338
  name: r(),
334
339
  width: u([Boolean, String]),
335
340
  fixed: u([Boolean, String]),
336
341
  thousandsSeparator: D(!0),
337
- precision: oe(-1),
342
+ precision: le(-1),
338
343
  percentage: D(!1)
339
- }), be = /* @__PURE__ */ C({
344
+ }), Ce = /* @__PURE__ */ C({
340
345
  name: "OQuerytableColumnNumber",
341
346
  inheritAttrs: !1,
342
- props: ye(),
347
+ props: be(),
343
348
  setup(n, {
344
349
  slots: c,
345
350
  attrs: y,
@@ -348,7 +353,7 @@ const ce = () => ({
348
353
  }) {
349
354
  return () => null;
350
355
  }
351
- }), Ce = () => ({
356
+ }), we = () => ({
352
357
  head: r(),
353
358
  headAlign: r(),
354
359
  name: r(),
@@ -357,10 +362,10 @@ const ce = () => ({
357
362
  // Date
358
363
  format: r(),
359
364
  sourceFormat: r()
360
- }), we = /* @__PURE__ */ C({
365
+ }), Se = /* @__PURE__ */ C({
361
366
  name: "OQuerytableColumnDate",
362
367
  inheritAttrs: !1,
363
- props: Ce(),
368
+ props: we(),
364
369
  setup(n, {
365
370
  slots: c,
366
371
  attrs: y,
@@ -369,17 +374,17 @@ const ce = () => ({
369
374
  }) {
370
375
  return () => null;
371
376
  }
372
- }), Se = () => ({
377
+ }), xe = () => ({
373
378
  head: r(),
374
379
  headAlign: r(),
375
380
  name: r(),
376
381
  width: u([Boolean, String]),
377
382
  fixed: u([Boolean, String]),
378
383
  code: u([String, Array])
379
- }), xe = /* @__PURE__ */ C({
384
+ }), Ae = /* @__PURE__ */ C({
380
385
  name: "OQuerytableColumnSingleselect",
381
386
  inheritAttrs: !1,
382
- props: Se(),
387
+ props: xe(),
383
388
  setup(n, {
384
389
  slots: c,
385
390
  attrs: y,
@@ -388,17 +393,17 @@ const ce = () => ({
388
393
  }) {
389
394
  return () => null;
390
395
  }
391
- }), Ae = () => ({
396
+ }), Oe = () => ({
392
397
  head: r(),
393
398
  headAlign: r(),
394
399
  name: r(),
395
400
  width: u([Boolean, String]),
396
401
  fixed: u([Boolean, String]),
397
402
  code: u([String, Array])
398
- }), Oe = /* @__PURE__ */ C({
403
+ }), Qe = /* @__PURE__ */ C({
399
404
  name: "OQuerytableColumnMultiselect",
400
405
  inheritAttrs: !1,
401
- props: Ae(),
406
+ props: Oe(),
402
407
  setup(n, {
403
408
  slots: c,
404
409
  attrs: y,
@@ -407,16 +412,16 @@ const ce = () => ({
407
412
  }) {
408
413
  return () => null;
409
414
  }
410
- }), Qe = () => ({
415
+ }), Be = () => ({
411
416
  head: r(),
412
417
  headAlign: r(),
413
418
  name: r(),
414
419
  width: u([Boolean, String]),
415
420
  fixed: u([Boolean, String])
416
- }), Be = /* @__PURE__ */ C({
421
+ }), ve = /* @__PURE__ */ C({
417
422
  name: "OQuerytableColumnButtongroup",
418
423
  inheritAttrs: !1,
419
- props: Qe(),
424
+ props: Be(),
420
425
  slots: Object,
421
426
  setup(n, {
422
427
  slots: c,
@@ -427,15 +432,15 @@ const ce = () => ({
427
432
  return () => null;
428
433
  }
429
434
  });
430
- function ve(n) {
435
+ function De(n) {
431
436
  return typeof n == "function" || Object.prototype.toString.call(n) === "[object Object]" && !j(n);
432
437
  }
433
- const De = () => ({
438
+ const Te = () => ({
434
439
  type: r()
435
440
  }), Re = /* @__PURE__ */ C({
436
441
  name: "OQuerytableCellButton",
437
442
  inheritAttrs: !1,
438
- props: De(),
443
+ props: Te(),
439
444
  emits: ["click"],
440
445
  setup(n, {
441
446
  slots: c,
@@ -443,31 +448,31 @@ const De = () => ({
443
448
  emit: p,
444
449
  expose: b
445
450
  }) {
446
- const O = (B) => {
451
+ const S = (B) => {
447
452
  p("click", B);
448
453
  };
449
454
  return () => {
450
- var R;
455
+ var T;
451
456
  const {
452
457
  type: B
453
- } = n, v = (R = c.default) == null ? void 0 : R.call(c);
454
- return o(te, {
458
+ } = n, v = (T = c.default) == null ? void 0 : T.call(c);
459
+ return o(re, {
455
460
  link: !0,
456
461
  type: B,
457
462
  size: "small",
458
- onClick: O
459
- }, ve(v) ? v : {
463
+ onClick: S
464
+ }, De(v) ? v : {
460
465
  default: () => [v]
461
466
  });
462
467
  };
463
468
  }
464
- }), Te = () => ({
469
+ }), Ne = () => ({
465
470
  head: r(),
466
471
  headAlign: r()
467
- }), Ne = /* @__PURE__ */ C({
472
+ }), qe = /* @__PURE__ */ C({
468
473
  name: "OQuerytableColumngroup",
469
474
  inheritAttrs: !1,
470
- props: Te(),
475
+ props: Ne(),
471
476
  setup(n, {
472
477
  slots: c,
473
478
  attrs: y,
@@ -476,16 +481,16 @@ const De = () => ({
476
481
  }) {
477
482
  return () => null;
478
483
  }
479
- }), qe = () => ({
484
+ }), Me = () => ({
480
485
  head: r(),
481
486
  headAlign: r(),
482
487
  name: r(),
483
488
  width: u([Boolean, String]),
484
489
  fixed: u([Boolean, String])
485
- }), Me = /* @__PURE__ */ C({
490
+ }), Pe = /* @__PURE__ */ C({
486
491
  name: "OQuerytableColumnDiy",
487
492
  inheritAttrs: !1,
488
- props: qe(),
493
+ props: Me(),
489
494
  slots: Object,
490
495
  setup(n, {
491
496
  slots: c,
@@ -495,19 +500,19 @@ const De = () => ({
495
500
  }) {
496
501
  return () => null;
497
502
  }
498
- }), Ue = Z(pe, {
499
- QuerytableColumnIndex: he,
500
- QuerytableColumnString: ge,
501
- QuerytableColumnNumber: be,
502
- QuerytableColumnDate: we,
503
- QuerytableColumnSingleselect: xe,
504
- QuerytableColumnMultiselect: Oe,
505
- QuerytableColumnButtongroup: Be,
503
+ }), Xe = ee(me, {
504
+ QuerytableColumnIndex: fe,
505
+ QuerytableColumnString: ye,
506
+ QuerytableColumnNumber: Ce,
507
+ QuerytableColumnDate: Se,
508
+ QuerytableColumnSingleselect: Ae,
509
+ QuerytableColumnMultiselect: Qe,
510
+ QuerytableColumnButtongroup: ve,
506
511
  QuerytableCellButton: Re,
507
- QuerytableColumngroup: Ne,
508
- QuerytableColumnDiy: Me
512
+ QuerytableColumngroup: qe,
513
+ QuerytableColumnDiy: Pe
509
514
  });
510
515
  export {
511
- Ue as default
516
+ Xe as default
512
517
  };
513
518
  //# sourceMappingURL=index.js.map