orion-design 0.1.10 → 0.1.12

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 +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
@@ -0,0 +1,510 @@
1
+ import "lodash-es";
2
+ import { defineComponent as C, ref as U, computed as W, createVNode as o, createTextVNode as X, isVNode as j } from "vue";
3
+ import { withInstall as Z } from "../_util/vue/install.js";
4
+ import { ElTable as ee, ElTableColumn as w, ElButton as te } from "element-plus";
5
+ import ne from "../_util/classNames.js";
6
+ import { arrayType as re, booleanType as v, stringType as n, someType as s, numberType as oe } from "../_util/type.js";
7
+ import { number2string as le, formatDate as R, getSingleCodeContent as q, getMultiCodeContent as M } from "./utils/index.js";
8
+ import ae from "dayjs";
9
+ import { S as se } from "../../index-BbsXWo7C.js";
10
+ import ue from "../../error/OrionError.js";
11
+ import ie from "./hooks/useColumns.js";
12
+ import P from "../../Throne/index.js";
13
+ function de(r) {
14
+ return typeof r == "function" || Object.prototype.toString.call(r) === "[object Object]" && !j(r);
15
+ }
16
+ const pe = () => ({
17
+ data: re(),
18
+ showRowNumber: v(!0),
19
+ selectionMode: v(!1),
20
+ currentRowMode: v(!1)
21
+ }), ce = /* @__PURE__ */ C({
22
+ name: "OQuerytable",
23
+ inheritAttrs: !1,
24
+ props: pe(),
25
+ emits: ["selectionChange", "currentRowChange"],
26
+ setup(r, {
27
+ slots: p,
28
+ attrs: y,
29
+ emit: m,
30
+ expose: b
31
+ }) {
32
+ const O = U(), Q = W(() => ({})), B = ie(p);
33
+ return b({
34
+ clearSelection: () => {
35
+ O.value.clearSelection();
36
+ },
37
+ getSelectionRows: () => O.value.getSelectionRows(),
38
+ toggleRowSelection: (...D) => O.value.toggleRowSelection(...D),
39
+ toggleAllSelection: () => O.value.toggleAllSelection()
40
+ }), () => {
41
+ const {
42
+ data: D
43
+ } = r, {
44
+ selectionMode: I = !1
45
+ } = r, {
46
+ showRowNumber: V = !0
47
+ } = r, {
48
+ currentRowMode: k = !1
49
+ } = r, E = ne("orion-querytable"), Y = () => o(w, {
50
+ type: "index",
51
+ label: "No",
52
+ width: 56,
53
+ fixed: "left",
54
+ showOverflowTooltip: !0,
55
+ index: (t) => t + 1
56
+ }, null), $ = () => o(w, {
57
+ type: "selection",
58
+ width: 40,
59
+ fixed: "left"
60
+ }, null), F = (t) => {
61
+ const {
62
+ name: e,
63
+ head: u,
64
+ headAlign: i,
65
+ width: c,
66
+ fixed: h
67
+ } = t;
68
+ return o(w, {
69
+ label: u,
70
+ headerAlign: i,
71
+ prop: e,
72
+ width: c,
73
+ fixed: h,
74
+ showOverflowTooltip: !0
75
+ }, null);
76
+ }, H = (t) => {
77
+ const {
78
+ name: e,
79
+ head: u,
80
+ headAlign: i,
81
+ width: c,
82
+ fixed: h
83
+ } = t, {
84
+ thousandsSeparator: l = !0,
85
+ precision: d = -1,
86
+ percentage: a = !1
87
+ } = t;
88
+ return o(w, {
89
+ label: u,
90
+ headerAlign: i,
91
+ align: "right",
92
+ prop: e,
93
+ width: c,
94
+ fixed: h,
95
+ showOverflowTooltip: !0
96
+ }, {
97
+ default: (f) => {
98
+ const {
99
+ row: S,
100
+ column: g
101
+ } = f;
102
+ return o("span", {
103
+ class: "cell-numbercolumn"
104
+ }, [le(S[g.property], l, d, a === !0 || a === "")]);
105
+ }
106
+ });
107
+ }, _ = (t) => {
108
+ const {
109
+ name: e,
110
+ head: u,
111
+ headAlign: i,
112
+ width: c,
113
+ fixed: h,
114
+ sourceFormat: l,
115
+ format: d = "YYYYMMDDHHmmss"
116
+ } = t;
117
+ return o(w, {
118
+ label: u,
119
+ headerAlign: i,
120
+ prop: e,
121
+ width: c,
122
+ fixed: h,
123
+ showOverflowTooltip: !0
124
+ }, {
125
+ default: (a) => {
126
+ const {
127
+ row: f,
128
+ column: S
129
+ } = a, g = f[S.property];
130
+ return g instanceof Date || ae.isDayjs(g) ? o("div", null, [R(g, d)]) : l && d ? o("div", null, [R(g, l, d)]) : o("div", null, [g]);
131
+ }
132
+ });
133
+ }, z = (t) => {
134
+ const {
135
+ name: e,
136
+ head: u,
137
+ headAlign: i,
138
+ width: c,
139
+ fixed: h
140
+ } = t, {
141
+ code: l
142
+ } = t;
143
+ return o(w, {
144
+ label: u,
145
+ headerAlign: i,
146
+ prop: e,
147
+ width: c,
148
+ fixed: h,
149
+ showOverflowTooltip: !0
150
+ }, {
151
+ default: (d) => {
152
+ const {
153
+ row: a,
154
+ column: f
155
+ } = d, S = a[f.property];
156
+ let g, x, A;
157
+ return l ? typeof l == "string" ? (g = l, x = P.getCode(g), A = q(x.value, S)) : (x = l, A = q(x, S)) : A = null, o("span", {
158
+ class: "cell-singleselect"
159
+ }, [A]);
160
+ }
161
+ });
162
+ }, G = (t) => {
163
+ const {
164
+ name: e,
165
+ head: u,
166
+ headAlign: i,
167
+ width: c,
168
+ fixed: h
169
+ } = t, {
170
+ code: l
171
+ } = t;
172
+ return o(w, {
173
+ label: u,
174
+ headerAlign: i,
175
+ prop: e,
176
+ width: c,
177
+ fixed: h,
178
+ showOverflowTooltip: !0
179
+ }, {
180
+ default: (d) => {
181
+ const {
182
+ row: a,
183
+ column: f
184
+ } = d, S = a[f.property];
185
+ let g, x, A;
186
+ return l ? typeof l == "string" ? (g = l, x = P.getCode(g), A = M(x.value, S)) : (x = l, A = M(x, S)) : A = null, o("span", {
187
+ class: "cell-multiselect"
188
+ }, [A]);
189
+ }
190
+ });
191
+ }, J = (t) => {
192
+ const {
193
+ name: e,
194
+ head: u,
195
+ headAlign: i,
196
+ width: c,
197
+ fixed: h
198
+ } = t;
199
+ return o(w, {
200
+ label: u,
201
+ headerAlign: i,
202
+ prop: e,
203
+ width: c,
204
+ fixed: h
205
+ }, {
206
+ default: (l) => {
207
+ var a, f;
208
+ const d = (f = (a = t.children) == null ? void 0 : a.default) == null ? void 0 : f.call(a, {
209
+ rowData: l.row,
210
+ column: t,
211
+ rowIndex: l.$index
212
+ });
213
+ return o("div", {
214
+ class: "cell-buttongroup"
215
+ }, [o(se, null, de(d) ? d : {
216
+ default: () => [d]
217
+ })]);
218
+ }
219
+ });
220
+ }, K = (t) => {
221
+ const {
222
+ head: e,
223
+ headAlign: u
224
+ } = t, {
225
+ children: i
226
+ } = t;
227
+ return o(w, {
228
+ label: e,
229
+ headerAlign: u
230
+ }, {
231
+ default: (c) => N(i)
232
+ });
233
+ }, L = (t) => {
234
+ const {
235
+ name: e,
236
+ head: u,
237
+ headAlign: i,
238
+ width: c,
239
+ fixed: h
240
+ } = t;
241
+ return o(w, {
242
+ label: u,
243
+ headerAlign: i,
244
+ prop: e,
245
+ width: c,
246
+ fixed: h
247
+ }, {
248
+ default: (l) => {
249
+ var a, f;
250
+ const d = (f = (a = t.children) == null ? void 0 : a.default) == null ? void 0 : f.call(a, {
251
+ rowData: l.row,
252
+ column: t,
253
+ rowIndex: l.$index
254
+ });
255
+ return o("div", {
256
+ class: "cell-diy"
257
+ }, [d, X(" ")]);
258
+ }
259
+ });
260
+ }, N = (t) => t == null ? void 0 : t.map((e) => {
261
+ if (e.type === "OQuerytableColumnString")
262
+ return F(e);
263
+ if (e.type === "OQuerytableColumnNumber")
264
+ return H(e);
265
+ if (e.type === "OQuerytableColumnDate")
266
+ return _(e);
267
+ if (e.type === "OQuerytableColumnSingleselect")
268
+ return z(e);
269
+ if (e.type === "OQuerytableColumnMultiselect")
270
+ return G(e);
271
+ if (e.type === "OQuerytableColumnButtongroup")
272
+ return J(e);
273
+ if (e.type === "OQuerytableColumngroup")
274
+ return K(e);
275
+ if (e.type === "OQuerytableColumnDiy")
276
+ return L(e);
277
+ throw new ue(`OQuerytable不能正确渲染'${e.type.name}'子组件。`);
278
+ });
279
+ return o("div", {
280
+ class: [E, y.class],
281
+ style: [Q.value, y.style]
282
+ }, [o(ee, {
283
+ ref: O,
284
+ data: D,
285
+ height: "100%",
286
+ style: {
287
+ width: "100%"
288
+ },
289
+ "onSelection-change": (t) => m("selectionChange", t),
290
+ "highlight-current-row": k,
291
+ "onCurrent-change": (t, e) => m("currentRowChange", t, e)
292
+ }, {
293
+ default: () => [V && Y(), I && $(), N(B.value)]
294
+ })]);
295
+ };
296
+ }
297
+ }), me = () => ({}), he = /* @__PURE__ */ C({
298
+ name: "OQuerytableColumnIndex",
299
+ inheritAttrs: !1,
300
+ props: me(),
301
+ setup(r, {
302
+ slots: p,
303
+ attrs: y,
304
+ emit: m,
305
+ expose: b
306
+ }) {
307
+ return () => null;
308
+ }
309
+ }), fe = () => ({
310
+ head: n(),
311
+ headAlign: n(),
312
+ name: n(),
313
+ width: s([Boolean, String]),
314
+ fixed: s([Boolean, String])
315
+ }), ge = /* @__PURE__ */ C({
316
+ name: "OQuerytableColumnString",
317
+ inheritAttrs: !1,
318
+ props: fe(),
319
+ setup(r, {
320
+ slots: p,
321
+ attrs: y,
322
+ emit: m,
323
+ expose: b
324
+ }) {
325
+ return () => null;
326
+ }
327
+ }), ye = () => ({
328
+ head: n(),
329
+ headAlign: n(),
330
+ name: n(),
331
+ width: s([Boolean, String]),
332
+ fixed: s([Boolean, String]),
333
+ thousandsSeparator: v(!0),
334
+ precision: oe(-1),
335
+ percentage: v(!1)
336
+ }), be = /* @__PURE__ */ C({
337
+ name: "OQuerytableColumnNumber",
338
+ inheritAttrs: !1,
339
+ props: ye(),
340
+ setup(r, {
341
+ slots: p,
342
+ attrs: y,
343
+ emit: m,
344
+ expose: b
345
+ }) {
346
+ return () => null;
347
+ }
348
+ }), Ce = () => ({
349
+ head: n(),
350
+ headAlign: n(),
351
+ name: n(),
352
+ width: s([Boolean, String]),
353
+ fixed: s([Boolean, String]),
354
+ // Date
355
+ format: n(),
356
+ sourceFormat: n()
357
+ }), we = /* @__PURE__ */ C({
358
+ name: "OQuerytableColumnDate",
359
+ inheritAttrs: !1,
360
+ props: Ce(),
361
+ setup(r, {
362
+ slots: p,
363
+ attrs: y,
364
+ emit: m,
365
+ expose: b
366
+ }) {
367
+ return () => null;
368
+ }
369
+ }), Se = () => ({
370
+ head: n(),
371
+ headAlign: n(),
372
+ name: n(),
373
+ width: s([Boolean, String]),
374
+ fixed: s([Boolean, String]),
375
+ code: s([String, Array])
376
+ }), xe = /* @__PURE__ */ C({
377
+ name: "OQuerytableColumnSingleselect",
378
+ inheritAttrs: !1,
379
+ props: Se(),
380
+ setup(r, {
381
+ slots: p,
382
+ attrs: y,
383
+ emit: m,
384
+ expose: b
385
+ }) {
386
+ return () => null;
387
+ }
388
+ }), Ae = () => ({
389
+ head: n(),
390
+ headAlign: n(),
391
+ name: n(),
392
+ width: s([Boolean, String]),
393
+ fixed: s([Boolean, String]),
394
+ code: s([String, Array])
395
+ }), Oe = /* @__PURE__ */ C({
396
+ name: "OQuerytableColumnMultiselect",
397
+ inheritAttrs: !1,
398
+ props: Ae(),
399
+ setup(r, {
400
+ slots: p,
401
+ attrs: y,
402
+ emit: m,
403
+ expose: b
404
+ }) {
405
+ return () => null;
406
+ }
407
+ }), Qe = () => ({
408
+ head: n(),
409
+ headAlign: n(),
410
+ name: n(),
411
+ width: s([Boolean, String]),
412
+ fixed: s([Boolean, String])
413
+ }), Be = /* @__PURE__ */ C({
414
+ name: "OQuerytableColumnButtongroup",
415
+ inheritAttrs: !1,
416
+ props: Qe(),
417
+ slots: Object,
418
+ setup(r, {
419
+ slots: p,
420
+ attrs: y,
421
+ emit: m,
422
+ expose: b
423
+ }) {
424
+ return () => null;
425
+ }
426
+ });
427
+ function ve(r) {
428
+ return typeof r == "function" || Object.prototype.toString.call(r) === "[object Object]" && !j(r);
429
+ }
430
+ const De = () => ({
431
+ type: n()
432
+ }), Te = /* @__PURE__ */ C({
433
+ name: "OQuerytableCellButton",
434
+ inheritAttrs: !1,
435
+ props: De(),
436
+ emits: ["click"],
437
+ setup(r, {
438
+ slots: p,
439
+ attrs: y,
440
+ emit: m,
441
+ expose: b
442
+ }) {
443
+ const O = (Q) => {
444
+ m("click", Q);
445
+ };
446
+ return () => {
447
+ var T;
448
+ const {
449
+ type: Q
450
+ } = r, B = (T = p.default) == null ? void 0 : T.call(p);
451
+ return o(te, {
452
+ link: !0,
453
+ type: Q,
454
+ size: "small",
455
+ onClick: O
456
+ }, ve(B) ? B : {
457
+ default: () => [B]
458
+ });
459
+ };
460
+ }
461
+ }), Ne = () => ({
462
+ head: n(),
463
+ headAlign: n()
464
+ }), Re = /* @__PURE__ */ C({
465
+ name: "OQuerytableColumngroup",
466
+ inheritAttrs: !1,
467
+ props: Ne(),
468
+ setup(r, {
469
+ slots: p,
470
+ attrs: y,
471
+ emit: m,
472
+ expose: b
473
+ }) {
474
+ return () => null;
475
+ }
476
+ }), qe = () => ({
477
+ head: n(),
478
+ headAlign: n(),
479
+ name: n(),
480
+ width: s([Boolean, String]),
481
+ fixed: s([Boolean, String])
482
+ }), Me = /* @__PURE__ */ C({
483
+ name: "OQuerytableColumnDiy",
484
+ inheritAttrs: !1,
485
+ props: qe(),
486
+ slots: Object,
487
+ setup(r, {
488
+ slots: p,
489
+ attrs: y,
490
+ emit: m,
491
+ expose: b
492
+ }) {
493
+ return () => null;
494
+ }
495
+ }), Le = Z(ce, {
496
+ QuerytableColumnIndex: he,
497
+ QuerytableColumnString: ge,
498
+ QuerytableColumnNumber: be,
499
+ QuerytableColumnDate: we,
500
+ QuerytableColumnSingleselect: xe,
501
+ QuerytableColumnMultiselect: Oe,
502
+ QuerytableColumnButtongroup: Be,
503
+ QuerytableCellButton: Te,
504
+ QuerytableColumngroup: Re,
505
+ QuerytableColumnDiy: Me
506
+ });
507
+ export {
508
+ Le as default
509
+ };
510
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../src/components/Querytable/Querytable.tsx","../../../src/components/Querytable/columns/QuerytableColumnIndex.tsx","../../../src/components/Querytable/columns/QuerytableColumnString.tsx","../../../src/components/Querytable/columns/QuerytableColumnNumber.tsx","../../../src/components/Querytable/columns/QuerytableColumnDate.tsx","../../../src/components/Querytable/columns/QuerytableColumnSingleselect.tsx","../../../src/components/Querytable/columns/QuerytableColumnMultiselect.tsx","../../../src/components/Querytable/columns/QuerytableColumnButtongroup.tsx","../../../src/components/Querytable/columns/QuerytableCellButton.tsx","../../../src/components/Querytable/columns/QuerytableColumngroup.tsx","../../../src/components/Querytable/columns/QuerytableColumnDiy.tsx","../../../src/components/Querytable/index.ts"],"sourcesContent":["import { computed, defineComponent, ref } from 'vue'\r\nimport type { PropType, ExtractPropTypes, CSSProperties, Plugin, App } from 'vue'\r\nimport classNames from '../_util/classNames'\r\nimport { anyType, booleanType, functionType, objectType, someType, stringType, tuple, arrayType } from '../_util/type'\r\nimport { ElTable, ElTableColumn } from 'element-plus'\r\n\r\nimport { formatDate, number2string, getSingleCodeContent, getMultiCodeContent } from './utils'\r\nimport dayjs from 'dayjs'\r\n\r\nimport Space from '../Space'\r\nimport OrionError from '../../error/OrionError'\r\n\r\nimport type { PageTableI } from './interface'\r\n\r\nimport useColumns from './hooks/useColumns'\r\n\r\nimport Throne from '../../Throne'\r\n\r\nexport const querytableProps = () => ({\r\n data: arrayType<PageTableI['data']>(),\r\n showRowNumber: booleanType(true),\r\n selectionMode: booleanType(false),\r\n currentRowMode: booleanType(false),\r\n})\r\n\r\nexport type QuerytableProps = Partial<ExtractPropTypes<ReturnType<typeof querytableProps>>>\r\n\r\nexport default defineComponent({\r\n name: 'OQuerytable',\r\n inheritAttrs: false,\r\n props: querytableProps(),\r\n emits: ['selectionChange', 'currentRowChange'],\r\n setup(props, { slots, attrs, emit, expose }) {\r\n const elTableRef = ref()\r\n\r\n const style = computed(() => {\r\n const rowStyle: CSSProperties = {}\r\n\r\n return rowStyle\r\n })\r\n\r\n const columns = useColumns(slots)\r\n\r\n const clearSelection = () => {\r\n elTableRef.value.clearSelection()\r\n }\r\n\r\n const getSelectionRows = () => {\r\n return elTableRef.value.getSelectionRows()\r\n }\r\n\r\n const toggleRowSelection = (...args) => {\r\n return elTableRef.value.toggleRowSelection(...args)\r\n }\r\n\r\n const toggleAllSelection = () => {\r\n return elTableRef.value.toggleAllSelection()\r\n }\r\n\r\n expose({\r\n clearSelection,\r\n getSelectionRows,\r\n toggleRowSelection,\r\n toggleAllSelection,\r\n })\r\n\r\n return () => {\r\n const { data } = props\r\n const { selectionMode = false } = props\r\n const { showRowNumber = true } = props\r\n const { currentRowMode = false } = props\r\n\r\n const cn = classNames('orion-querytable')\r\n\r\n const renderIndexColumn = () => {\r\n return (\r\n <ElTableColumn\r\n type={'index'}\r\n label=\"No\"\r\n width={56}\r\n fixed={'left'}\r\n showOverflowTooltip={true}\r\n index={(index: number) => {\r\n return index + 1\r\n }}\r\n ></ElTableColumn>\r\n )\r\n }\r\n\r\n const renderSelectionColumn = () => {\r\n return <ElTableColumn type={'selection'} width={40} fixed={'left'}></ElTableColumn>\r\n }\r\n\r\n const renderStringColumn = (column) => {\r\n const { name, head, headAlign, width, fixed } = column\r\n return <ElTableColumn label={head} headerAlign={headAlign} prop={name} width={width} fixed={fixed} showOverflowTooltip={true}></ElTableColumn>\r\n }\r\n\r\n const renderNumberColumn = (column) => {\r\n const { name, head, headAlign, width, fixed } = column\r\n const { thousandsSeparator = true, precision = -1, percentage = false } = column\r\n return (\r\n <ElTableColumn\r\n label={head}\r\n headerAlign={headAlign}\r\n align={'right'}\r\n prop={name}\r\n width={width}\r\n fixed={fixed}\r\n showOverflowTooltip={true}\r\n v-slots={{\r\n default: (scope) => {\r\n const { row, column } = scope\r\n return (\r\n <span class=\"cell-numbercolumn\">\r\n {number2string(row[column.property], thousandsSeparator, precision, percentage === true || percentage === '')}\r\n </span>\r\n )\r\n },\r\n }}\r\n ></ElTableColumn>\r\n )\r\n }\r\n\r\n const renderDateColumn = (column) => {\r\n const { name, head, headAlign, width, fixed, sourceFormat, format = 'YYYYMMDDHHmmss' } = column\r\n return (\r\n <ElTableColumn\r\n label={head}\r\n headerAlign={headAlign}\r\n prop={name}\r\n width={width}\r\n fixed={fixed}\r\n showOverflowTooltip={true}\r\n v-slots={{\r\n default: (scope) => {\r\n const { row, column } = scope\r\n const cellValue = row[column.property]\r\n\r\n if (cellValue instanceof Date || dayjs.isDayjs(cellValue)) {\r\n return <div>{formatDate(cellValue, format)}</div>\r\n } else {\r\n if (sourceFormat && format) {\r\n return <div>{formatDate(cellValue, sourceFormat, format)}</div>\r\n } else {\r\n return <div>{cellValue}</div>\r\n }\r\n }\r\n },\r\n }}\r\n ></ElTableColumn>\r\n )\r\n }\r\n\r\n const renderSingleSelectColumn = (column) => {\r\n const { name, head, headAlign, width, fixed } = column\r\n const { code } = column\r\n return (\r\n <ElTableColumn\r\n label={head}\r\n headerAlign={headAlign}\r\n prop={name}\r\n width={width}\r\n fixed={fixed}\r\n showOverflowTooltip={true}\r\n v-slots={{\r\n default: (scope) => {\r\n const { row, column } = scope\r\n const cellValue = row[column.property]\r\n\r\n let codeName, codeData, codeContent\r\n if (!code) {\r\n codeContent = null\r\n } else if (typeof code === 'string') {\r\n codeName = code\r\n codeData = Throne.getCode(codeName)\r\n codeContent = getSingleCodeContent(codeData.value, cellValue)\r\n } else {\r\n codeData = code\r\n codeContent = getSingleCodeContent(codeData, cellValue)\r\n }\r\n\r\n return <span class=\"cell-singleselect\">{codeContent}</span>\r\n },\r\n }}\r\n ></ElTableColumn>\r\n )\r\n }\r\n\r\n const renderMultiSelectColumn = (column) => {\r\n const { name, head, headAlign, width, fixed } = column\r\n const { code } = column\r\n return (\r\n <ElTableColumn\r\n label={head}\r\n headerAlign={headAlign}\r\n prop={name}\r\n width={width}\r\n fixed={fixed}\r\n showOverflowTooltip={true}\r\n v-slots={{\r\n default: (scope) => {\r\n const { row, column } = scope\r\n const cellValue = row[column.property]\r\n\r\n let codeName, codeData, codeContent\r\n if (!code) {\r\n codeContent = null\r\n } else if (typeof code === 'string') {\r\n codeName = code\r\n codeData = Throne.getCode(codeName)\r\n codeContent = getMultiCodeContent(codeData.value, cellValue)\r\n } else {\r\n codeData = code\r\n codeContent = getMultiCodeContent(codeData, cellValue)\r\n }\r\n\r\n return <span class=\"cell-multiselect\">{codeContent}</span>\r\n },\r\n }}\r\n ></ElTableColumn>\r\n )\r\n }\r\n\r\n const renderButtongroupColumn = (column) => {\r\n const { name, head, headAlign, width, fixed } = column\r\n\r\n return (\r\n <ElTableColumn\r\n label={head}\r\n headerAlign={headAlign}\r\n prop={name}\r\n width={width}\r\n fixed={fixed}\r\n v-slots={{\r\n default: (scope) => {\r\n // { row: any, column: any, $index: number }\r\n const children = column.children?.default?.({\r\n rowData: scope.row,\r\n column,\r\n rowIndex: scope.$index,\r\n })\r\n\r\n return (\r\n <div class=\"cell-buttongroup\">\r\n <Space>{children}</Space>\r\n </div>\r\n )\r\n },\r\n }}\r\n ></ElTableColumn>\r\n )\r\n }\r\n\r\n const renderColumngroupColumn = (column) => {\r\n const { head, headAlign } = column\r\n const { children } = column\r\n\r\n return (\r\n <ElTableColumn\r\n label={head}\r\n headerAlign={headAlign}\r\n v-slots={{\r\n default: (scope) => {\r\n return renderColumns(children)\r\n },\r\n }}\r\n ></ElTableColumn>\r\n )\r\n }\r\n\r\n const renderDiyColumn = (column) => {\r\n const { name, head, headAlign, width, fixed } = column\r\n\r\n return (\r\n <ElTableColumn\r\n label={head}\r\n headerAlign={headAlign}\r\n prop={name}\r\n width={width}\r\n fixed={fixed}\r\n v-slots={{\r\n default: (scope) => {\r\n // { row: any, column: any, $index: number }\r\n const children = column.children?.default?.({\r\n rowData: scope.row,\r\n column,\r\n rowIndex: scope.$index,\r\n })\r\n\r\n return <div class=\"cell-diy\">{children} </div>\r\n },\r\n }}\r\n ></ElTableColumn>\r\n )\r\n }\r\n\r\n const renderColumns = (columns) => {\r\n return columns?.map((c) => {\r\n if (c.type === 'OQuerytableColumnString') {\r\n return renderStringColumn(c)\r\n } else if (c.type === 'OQuerytableColumnNumber') {\r\n return renderNumberColumn(c)\r\n } else if (c.type === 'OQuerytableColumnDate') {\r\n return renderDateColumn(c)\r\n } else if (c.type === 'OQuerytableColumnSingleselect') {\r\n return renderSingleSelectColumn(c)\r\n } else if (c.type === 'OQuerytableColumnMultiselect') {\r\n return renderMultiSelectColumn(c)\r\n } else if (c.type === 'OQuerytableColumnButtongroup') {\r\n return renderButtongroupColumn(c)\r\n } else if (c.type === 'OQuerytableColumngroup') {\r\n return renderColumngroupColumn(c)\r\n } else if (c.type === 'OQuerytableColumnDiy') {\r\n return renderDiyColumn(c)\r\n } else {\r\n throw new OrionError(`OQuerytable不能正确渲染'${c.type.name}'子组件。`)\r\n }\r\n })\r\n }\r\n\r\n return (\r\n <div class={[cn, attrs.class]} style={[style.value, attrs.style as CSSProperties]}>\r\n <ElTable\r\n ref={elTableRef}\r\n data={data}\r\n height={'100%'}\r\n style={{ width: '100%' }}\r\n onSelection-change={(rows) => emit('selectionChange', rows)}\r\n highlight-current-row={currentRowMode}\r\n onCurrent-change={(currentRow, oldCurrentRow) => emit('currentRowChange', currentRow, oldCurrentRow)}\r\n >\r\n {showRowNumber && renderIndexColumn()}\r\n {selectionMode && renderSelectionColumn()}\r\n {renderColumns(columns.value)}\r\n </ElTable>\r\n </div>\r\n )\r\n }\r\n },\r\n})\r\n","import { computed, defineComponent } from 'vue'\r\nimport type { PropType, ExtractPropTypes, CSSProperties, Plugin, App } from 'vue'\r\nimport classNames from '../../_util/classNames'\r\nimport OrionError from '../../../error/OrionError'\r\nimport { anyType, booleanType, functionType, objectType, someType, stringType, tuple, arrayType } from '../../_util/type'\r\nimport { ElTable, ElTableColumn, ElPagination } from 'element-plus'\r\n\r\nimport type { PageTableI, FixedType } from '../interface'\r\n\r\nexport const querytableColumnIndexProps = () => ({})\r\n\r\nexport type QuerytableColumnIndexProps = Partial<ExtractPropTypes<ReturnType<typeof querytableColumnIndexProps>>>\r\n\r\nexport default defineComponent({\r\n name: 'OQuerytableColumnIndex',\r\n inheritAttrs: false,\r\n props: querytableColumnIndexProps(),\r\n setup(props, { slots, attrs, emit, expose }) {\r\n return () => null\r\n },\r\n})\r\n","import { computed, defineComponent } from 'vue'\r\nimport type { PropType, ExtractPropTypes, CSSProperties, Plugin, App } from 'vue'\r\nimport classNames from '../../_util/classNames'\r\nimport OrionError from '../../../error/OrionError'\r\nimport { anyType, booleanType, functionType, objectType, someType, stringType, tuple, arrayType } from '../../_util/type'\r\nimport { ElTable, ElTableColumn, ElPagination } from 'element-plus'\r\n\r\nimport type { PageTableI, FixedType } from '../interface'\r\n\r\nexport const querytableColumnStringProps = () => ({\r\n head: stringType(),\r\n headAlign: stringType<'left' | 'right' | 'center'>(),\r\n name: stringType(),\r\n width: someType<boolean | string>([Boolean, String]),\r\n fixed: someType<FixedType>([Boolean, String]),\r\n})\r\n\r\nexport type QuerytableColumnStringProps = Partial<ExtractPropTypes<ReturnType<typeof querytableColumnStringProps>>>\r\n\r\nexport default defineComponent({\r\n name: 'OQuerytableColumnString',\r\n inheritAttrs: false,\r\n props: querytableColumnStringProps(),\r\n setup(props, { slots, attrs, emit, expose }) {\r\n return () => null\r\n },\r\n})\r\n","import { computed, defineComponent } from 'vue'\r\nimport type { PropType, ExtractPropTypes, CSSProperties, Plugin, App } from 'vue'\r\nimport classNames from '../../_util/classNames'\r\nimport OrionError from '../../../error/OrionError'\r\nimport { anyType, booleanType, functionType, objectType, someType, stringType, tuple, arrayType, numberType } from '../../_util/type'\r\nimport { ElTable, ElTableColumn, ElPagination } from 'element-plus'\r\n\r\nimport type { PageTableI, FixedType } from '../interface'\r\n\r\nexport const querytableColumnNumberProps = () => ({\r\n head: stringType(),\r\n headAlign: stringType<'left' | 'right' | 'center'>(),\r\n name: stringType(),\r\n width: someType<boolean | string>([Boolean, String]),\r\n fixed: someType<FixedType>([Boolean, String]),\r\n\r\n thousandsSeparator: booleanType(true),\r\n precision: numberType(-1),\r\n percentage: booleanType(false),\r\n})\r\n\r\nexport type QuerytableColumnNumberProps = Partial<ExtractPropTypes<ReturnType<typeof querytableColumnNumberProps>>>\r\n\r\nexport default defineComponent({\r\n name: 'OQuerytableColumnNumber',\r\n inheritAttrs: false,\r\n props: querytableColumnNumberProps(),\r\n setup(props, { slots, attrs, emit, expose }) {\r\n return () => null\r\n },\r\n})\r\n","import { computed, defineComponent } from 'vue'\r\nimport type { PropType, ExtractPropTypes, CSSProperties, Plugin, App } from 'vue'\r\nimport classNames from '../../_util/classNames'\r\nimport OrionError from '../../../error/OrionError'\r\nimport { anyType, booleanType, functionType, objectType, someType, stringType, tuple, arrayType } from '../../_util/type'\r\nimport { ElTable, ElTableColumn, ElPagination } from 'element-plus'\r\n\r\nimport type { PageTableI, FixedType } from '../interface'\r\n\r\nexport const querytableColumnDateProps = () => ({\r\n head: stringType(),\r\n headAlign: stringType<'left' | 'right' | 'center'>(),\r\n name: stringType(),\r\n width: someType<boolean | string>([Boolean, String]),\r\n fixed: someType<FixedType>([Boolean, String]),\r\n\r\n // Date\r\n format: stringType(),\r\n sourceFormat: stringType(),\r\n})\r\n\r\nexport type QuerytableColumnDateProps = Partial<ExtractPropTypes<ReturnType<typeof querytableColumnDateProps>>>\r\n\r\nexport default defineComponent({\r\n name: 'OQuerytableColumnDate',\r\n inheritAttrs: false,\r\n props: querytableColumnDateProps(),\r\n setup(props, { slots, attrs, emit, expose }) {\r\n return () => null\r\n },\r\n})\r\n","import { computed, defineComponent } from 'vue'\r\nimport type { PropType, ExtractPropTypes, CSSProperties, Plugin, App } from 'vue'\r\nimport classNames from '../../_util/classNames'\r\nimport OrionError from '../../../error/OrionError'\r\nimport { anyType, booleanType, functionType, objectType, someType, stringType, tuple, arrayType } from '../../_util/type'\r\nimport { ElTable, ElTableColumn, ElPagination } from 'element-plus'\r\n\r\nimport type { PageTableI, FixedType } from '../interface'\r\n\r\nexport const querytableColumnSingleselectProps = () => ({\r\n head: stringType(),\r\n headAlign: stringType<'left' | 'right' | 'center'>(),\r\n name: stringType(),\r\n width: someType<boolean | string>([Boolean, String]),\r\n fixed: someType<FixedType>([Boolean, String]),\r\n\r\n code: someType<string | { value: string; content: string }[]>([String, Array]),\r\n})\r\n\r\nexport type QuerytableColumnSingleselectProps = Partial<ExtractPropTypes<ReturnType<typeof querytableColumnSingleselectProps>>>\r\n\r\nexport default defineComponent({\r\n name: 'OQuerytableColumnSingleselect',\r\n inheritAttrs: false,\r\n props: querytableColumnSingleselectProps(),\r\n setup(props, { slots, attrs, emit, expose }) {\r\n return () => null\r\n },\r\n})\r\n","import { computed, defineComponent } from 'vue'\r\nimport type { PropType, ExtractPropTypes, CSSProperties, Plugin, App } from 'vue'\r\nimport classNames from '../../_util/classNames'\r\nimport OrionError from '../../../error/OrionError'\r\nimport { anyType, booleanType, functionType, objectType, someType, stringType, tuple, arrayType } from '../../_util/type'\r\nimport { ElTable, ElTableColumn, ElPagination } from 'element-plus'\r\n\r\nimport type { PageTableI, FixedType } from '../interface'\r\n\r\nexport const querytableColumnMultiselectProps = () => ({\r\n head: stringType(),\r\n headAlign: stringType<'left' | 'right' | 'center'>(),\r\n name: stringType(),\r\n width: someType<boolean | string>([Boolean, String]),\r\n fixed: someType<FixedType>([Boolean, String]),\r\n\r\n code: someType<string | { value: string; content: string }[]>([String, Array]),\r\n})\r\n\r\nexport type QuerytableColumnMultiselectProps = Partial<ExtractPropTypes<ReturnType<typeof querytableColumnMultiselectProps>>>\r\n\r\nexport default defineComponent({\r\n name: 'OQuerytableColumnMultiselect',\r\n inheritAttrs: false,\r\n props: querytableColumnMultiselectProps(),\r\n setup(props, { slots, attrs, emit, expose }) {\r\n return () => null\r\n },\r\n})\r\n","import { computed, defineComponent } from 'vue'\r\nimport type { PropType, ExtractPropTypes, CSSProperties, Plugin, App } from 'vue'\r\nimport classNames from '../../_util/classNames'\r\nimport OrionError from '../../../error/OrionError'\r\nimport { anyType, booleanType, functionType, objectType, someType, stringType, tuple, arrayType, CustomSlotsType } from '../../_util/type'\r\nimport { ElTable, ElTableColumn, ElPagination } from 'element-plus'\r\n\r\nimport type { PageTableI, FixedType } from '../interface'\r\n\r\nexport const querytableColumnButtongroupProps = () => ({\r\n head: stringType(),\r\n headAlign: stringType<'left' | 'right' | 'center'>(),\r\n name: stringType(),\r\n width: someType<boolean | string>([Boolean, String]),\r\n fixed: someType<FixedType>([Boolean, String]),\r\n})\r\n\r\nexport type QuerytableColumnButtongroupProps = Partial<ExtractPropTypes<ReturnType<typeof querytableColumnButtongroupProps>>>\r\n\r\nexport default defineComponent({\r\n name: 'OQuerytableColumnButtongroup',\r\n inheritAttrs: false,\r\n props: querytableColumnButtongroupProps(),\r\n slots: Object as CustomSlotsType<{\r\n default: any\r\n }>,\r\n setup(props, { slots, attrs, emit, expose }) {\r\n return () => null\r\n },\r\n})\r\n","import { computed, defineComponent } from 'vue'\r\nimport type { PropType, ExtractPropTypes, CSSProperties, Plugin, App } from 'vue'\r\nimport classNames from '../../_util/classNames'\r\nimport OrionError from '../../../error/OrionError'\r\nimport { anyType, booleanType, functionType, objectType, someType, stringType, tuple, arrayType } from '../../_util/type'\r\nimport { ElButton } from 'element-plus'\r\n\r\nimport type { PageTableI, FixedType } from '../interface'\r\n\r\nexport const querytableCellButtonProps = () => ({\r\n type: stringType(),\r\n})\r\n\r\nexport type QuerytableCellButtonProps = Partial<ExtractPropTypes<ReturnType<typeof querytableCellButtonProps>>>\r\n\r\nexport default defineComponent({\r\n name: 'OQuerytableCellButton',\r\n inheritAttrs: false,\r\n props: querytableCellButtonProps(),\r\n emits: ['click'],\r\n setup(props, { slots, attrs, emit, expose }) {\r\n const handleClick = (event: Event) => {\r\n emit('click', event)\r\n }\r\n\r\n return () => {\r\n const { type } = props\r\n const children = slots.default?.()\r\n\r\n return (\r\n <ElButton link type={type} size=\"small\" onClick={handleClick}>\r\n {children}\r\n </ElButton>\r\n )\r\n }\r\n },\r\n})\r\n","import { computed, defineComponent } from 'vue'\r\nimport type { PropType, ExtractPropTypes, CSSProperties, Plugin, App } from 'vue'\r\nimport classNames from '../../_util/classNames'\r\nimport OrionError from '../../../error/OrionError'\r\nimport { anyType, booleanType, functionType, objectType, someType, stringType, tuple, arrayType } from '../../_util/type'\r\nimport { ElButton } from 'element-plus'\r\n\r\nimport type { PageTableI, FixedType } from '../interface'\r\n\r\nexport const querytableColumngroupProps = () => ({\r\n head: stringType(),\r\n headAlign: stringType<'left' | 'right' | 'center'>(),\r\n})\r\n\r\nexport type QuerytableColumngroupProps = Partial<ExtractPropTypes<ReturnType<typeof querytableColumngroupProps>>>\r\n\r\nexport default defineComponent({\r\n name: 'OQuerytableColumngroup',\r\n inheritAttrs: false,\r\n props: querytableColumngroupProps(),\r\n setup(props, { slots, attrs, emit, expose }) {\r\n return () => null\r\n },\r\n})\r\n","import { computed, defineComponent } from 'vue'\r\nimport type { PropType, ExtractPropTypes, CSSProperties, Plugin, App } from 'vue'\r\nimport classNames from '../../_util/classNames'\r\nimport OrionError from '../../../error/OrionError'\r\nimport { anyType, booleanType, functionType, objectType, someType, stringType, tuple, arrayType, CustomSlotsType } from '../../_util/type'\r\nimport { ElTable, ElTableColumn, ElPagination } from 'element-plus'\r\n\r\nimport type { PageTableI, FixedType } from '../interface'\r\n\r\nexport const querytableColumnDiyProps = () => ({\r\n head: stringType(),\r\n headAlign: stringType<'left' | 'right' | 'center'>(),\r\n name: stringType(),\r\n width: someType<boolean | string>([Boolean, String]),\r\n fixed: someType<FixedType>([Boolean, String]),\r\n})\r\n\r\nexport type QuerytableColumnDiyProps = Partial<ExtractPropTypes<ReturnType<typeof querytableColumnDiyProps>>>\r\n\r\nexport default defineComponent({\r\n name: 'OQuerytableColumnDiy',\r\n inheritAttrs: false,\r\n props: querytableColumnDiyProps(),\r\n slots: Object as CustomSlotsType<{\r\n default: any\r\n }>,\r\n setup(props, { slots, attrs, emit, expose }) {\r\n return () => null\r\n },\r\n})\r\n","import { withInstall } from '../_util'\r\n\r\nimport Querytable from './Querytable'\r\nimport QuerytableColumnIndex from './columns/QuerytableColumnIndex'\r\nimport QuerytableColumnString from './columns/QuerytableColumnString'\r\nimport QuerytableColumnNumber from './columns/QuerytableColumnNumber'\r\nimport QuerytableColumnDate from './columns/QuerytableColumnDate'\r\nimport QuerytableColumnSingleselect from './columns/QuerytableColumnSingleselect'\r\nimport QuerytableColumnMultiselect from './columns/QuerytableColumnMultiselect'\r\nimport QuerytableColumnButtongroup from './columns/QuerytableColumnButtongroup'\r\nimport QuerytableCellButton from './columns/QuerytableCellButton'\r\nimport QuerytableColumngroup from './columns/QuerytableColumngroup'\r\nimport QuerytableColumnDiy from './columns/QuerytableColumnDiy'\r\n\r\nexport type { QuerytableProps } from './Querytable'\r\n\r\nexport default withInstall<\r\n typeof Querytable,\r\n {\r\n QuerytableColumnIndex: typeof QuerytableColumnIndex\r\n QuerytableColumnString: typeof QuerytableColumnString\r\n QuerytableColumnNumber: typeof QuerytableColumnNumber\r\n QuerytableColumnDate: typeof QuerytableColumnDate\r\n QuerytableColumnSingleselect: typeof QuerytableColumnSingleselect\r\n QuerytableColumnMultiselect: typeof QuerytableColumnMultiselect\r\n QuerytableColumnButtongroup: typeof QuerytableColumnButtongroup\r\n QuerytableCellButton: typeof QuerytableCellButton\r\n QuerytableColumngroup: typeof QuerytableColumngroup\r\n QuerytableColumnDiy: typeof QuerytableColumnDiy\r\n }\r\n>(Querytable, {\r\n QuerytableColumnIndex,\r\n QuerytableColumnString,\r\n QuerytableColumnNumber,\r\n QuerytableColumnDate,\r\n QuerytableColumnSingleselect,\r\n QuerytableColumnMultiselect,\r\n QuerytableColumnButtongroup,\r\n QuerytableCellButton,\r\n QuerytableColumngroup,\r\n QuerytableColumnDiy,\r\n})\r\n"],"names":["_isSlot","s","Object","prototype","toString","call","_isVNode","querytableProps","data","arrayType","showRowNumber","booleanType","selectionMode","currentRowMode","defineComponent","name","inheritAttrs","props","emits","setup","slots","attrs","emit","expose","elTableRef","ref","style","computed","columns","useColumns","clearSelection","value","getSelectionRows","toggleRowSelection","args","toggleAllSelection","cn","classNames","renderIndexColumn","_createVNode","ElTableColumn","index","renderSelectionColumn","renderStringColumn","column","head","headAlign","width","fixed","renderNumberColumn","thousandsSeparator","precision","percentage","default","scope","row","number2string","property","renderDateColumn","sourceFormat","format","cellValue","Date","dayjs","isDayjs","formatDate","renderSingleSelectColumn","code","codeName","codeData","codeContent","Throne","getCode","getSingleCodeContent","renderMultiSelectColumn","getMultiCodeContent","renderButtongroupColumn","children","rowData","rowIndex","$index","Space","renderColumngroupColumn","renderColumns","renderDiyColumn","_createTextVNode","map","c","type","OrionError","class","ElTable","rows","onCurrent-change","currentRow","oldCurrentRow","querytableColumnIndexProps","querytableColumnStringProps","stringType","someType","Boolean","String","querytableColumnNumberProps","numberType","querytableColumnDateProps","querytableColumnSingleselectProps","Array","querytableColumnMultiselectProps","querytableColumnButtongroupProps","querytableCellButtonProps","handleClick","event","ElButton","querytableColumngroupProps","querytableColumnDiyProps","withInstall","Querytable","QuerytableColumnIndex","QuerytableColumnString","QuerytableColumnNumber","QuerytableColumnDate","QuerytableColumnSingleselect","QuerytableColumnMultiselect","QuerytableColumnButtongroup","QuerytableCellButton","QuerytableColumngroup","QuerytableColumnDiy"],"mappings":";;;;;;;;;;;;AAgBiC,SAAAA,GAAAC,GAAA;AAAA,SAAA,OAAAA,KAAA,cAAAC,OAAAC,UAAAC,SAAAC,KAAAJ,CAAA,MAAAK,qBAAAA,CAAAA,EAAAL,CAAA;AAAA;AAE1B,MAAMM,KAAkBA,OAAO;AAAA,EACpCC,MAAMC,GAA+B;AAAA,EACrCC,eAAeC,EAAY,EAAI;AAAA,EAC/BC,eAAeD,EAAY,EAAK;AAAA,EAChCE,gBAAgBF,EAAY,EAAK;AACnC,IAIeG,uBAAgB;AAAA,EAC7BC,MAAM;AAAA,EACNC,cAAc;AAAA,EACdC,OAAOV,GAAiB;AAAA,EACxBW,OAAO,CAAC,mBAAmB,kBAAkB;AAAA,EAC7CC,MAAMF,GAAO;AAAA,IAAEG,OAAAA;AAAAA,IAAOC,OAAAA;AAAAA,IAAOC,MAAAA;AAAAA,IAAMC,QAAAA;AAAAA,EAAO,GAAG;AAC3C,UAAMC,IAAaC,KAEbC,IAAQC,EAAS,OACW,CAAA,EAGjC,GAEKC,IAAUC,GAAWT,CAAK;AAkBhCG,WAAAA,EAAO;AAAA,MACLO,gBAjBqBA,MAAM;AAC3BN,QAAAA,EAAWO,MAAMD;;MAiBjBE,kBAduBA,MAChBR,EAAWO,MAAMC;MAcxBC,oBAXyBA,IAAIC,MACtBV,EAAWO,MAAME,mBAAmB,GAAGC,CAAI;AAAA,MAWlDC,oBARyBA,MAClBX,EAAWO,MAAMI;IAQ1B,CAAC,GAEM,MAAM;AACX,YAAM;AAAA,QAAE3B,MAAAA;AAAAA,MAAM,IAAGS,GACX;AAAA,QAAEL,eAAAA,IAAgB;AAAA,MAAO,IAAGK,GAC5B;AAAA,QAAEP,eAAAA,IAAgB;AAAA,MAAM,IAAGO,GAC3B;AAAA,QAAEJ,gBAAAA,IAAiB;AAAA,MAAO,IA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AA,EACA,6BAAAC;AAAA,EACA,6BAAAC;AAAA,EACA,sBAAAC;AAAA,EACA,uBAAAC;AAAA,EACA,qBAAAC;AACF,CAAC;"}
@@ -0,0 +1,10 @@
1
+ export type DefaultRecordType = any;
2
+ export type FixedType = 'left' | 'right' | boolean;
3
+ export interface PageTableI<RecordType = DefaultRecordType> {
4
+ data: RecordType[];
5
+ pagination: {
6
+ currentPage?: number;
7
+ pageSize?: number;
8
+ total?: number;
9
+ };
10
+ }
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interface.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,15 @@
1
+ interface formatI {
2
+ format(value: Date, targetFormat: string): string;
3
+ format(value: string, sourceFormat: string, targetFormat: string): string;
4
+ }
5
+ export declare const formatDate: formatI['format'];
6
+ export declare function number2string(num: number | null | undefined, thousandsSeparatorValue: boolean, precisionValue: number, percentageValue: boolean): string;
7
+ export declare const getSingleCodeContent: (options: Array<{
8
+ value: string;
9
+ content: string;
10
+ }>, curValue: string) => string | null;
11
+ export declare const getMultiCodeContent: (options: Array<{
12
+ value: string;
13
+ content: string;
14
+ }>, curValue: string) => string | null;
15
+ export {};