orion-design 0.1.16 → 0.1.18

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