orion-design 0.1.10 → 0.1.12

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