orion-design 0.1.10 → 0.1.13

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