orion-design 0.1.28 → 0.1.30

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