orion-design 0.1.20 → 0.1.21

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