orion-design 0.1.32 → 0.1.34

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. package/dist/Throne/hooks/use-throne-context.d.ts +5 -0
  2. package/dist/Throne/hooks/use-throne-context.js +15 -0
  3. package/dist/Throne/hooks/use-throne-context.js.map +1 -0
  4. package/dist/Throne/index.d.ts +1 -1
  5. package/dist/Throne/index.js +3 -3
  6. package/dist/Throne/index.js.map +1 -1
  7. package/dist/components/Button/ButtonGroup/ButtonGroup.d.ts +2 -0
  8. package/dist/components/Button/index.js +19 -17
  9. package/dist/components/Button/index.js.map +1 -1
  10. package/dist/components/Form/FileInput/FileInput.vue.d.ts +4 -4
  11. package/dist/components/Form/LovInput/LovInput.vue.d.ts +894 -0
  12. package/dist/components/Form/MultiTableSelect/MultiTableSelect.d.ts +26 -0
  13. package/dist/components/Form/MultiTableSelect/MultiTableSelect.js +5 -0
  14. package/dist/components/Form/MultiTableSelect/MultiTableSelect.js.map +1 -0
  15. package/dist/components/Form/MultiTableSelect/MultiTableSelect.vue.d.ts +6249 -0
  16. package/dist/components/Form/MultiTableSelect/hooks/useMultiTableSelect.d.ts +1 -0
  17. package/dist/components/Form/MultiTableSelect/hooks/useMultiTableSelect.js +9 -0
  18. package/dist/components/Form/MultiTableSelect/hooks/useMultiTableSelect.js.map +1 -0
  19. package/dist/components/Form/MultiTableSelect/index.d.ts +2 -0
  20. package/dist/components/Form/MultiTableSelect/index.js +7 -0
  21. package/dist/components/Form/MultiTableSelect/index.js.map +1 -0
  22. package/dist/components/Form/hooks/index.js +46 -45
  23. package/dist/components/Form/hooks/index.js.map +1 -1
  24. package/dist/components/Form/index.d.ts +3 -0
  25. package/dist/components/Form/index.js +542 -401
  26. package/dist/components/Form/index.js.map +1 -1
  27. package/dist/components/LovTable/LovPagetable.vue.d.ts +24 -6
  28. package/dist/components/LovTable/LovQuerytable.vue.d.ts +468 -4
  29. package/dist/components/LovTable/index.d.ts +246 -5
  30. package/dist/components/LovTable/index.js +11 -13
  31. package/dist/components/LovTable/index.js.map +1 -1
  32. package/dist/components/MultiTableSelectPagetable/MultiTableSelectPagetable.vue.d.ts +886 -0
  33. package/dist/components/MultiTableSelectPagetable/index.d.ts +465 -0
  34. package/dist/components/MultiTableSelectPagetable/index.js +164 -0
  35. package/dist/components/MultiTableSelectPagetable/index.js.map +1 -0
  36. package/dist/components/Pagetable/Pagetable.d.ts +5 -2
  37. package/dist/components/Pagetable/columns/PagetableColumnButtongroup.d.ts +1 -1
  38. package/dist/components/Pagetable/columns/PagetableColumnDate.d.ts +1 -1
  39. package/dist/components/Pagetable/columns/PagetableColumnDiy.d.ts +1 -1
  40. package/dist/components/Pagetable/columns/PagetableColumnLink.d.ts +1 -1
  41. package/dist/components/Pagetable/columns/PagetableColumnMultiselect.d.ts +1 -1
  42. package/dist/components/Pagetable/columns/PagetableColumnNumber.d.ts +1 -1
  43. package/dist/components/Pagetable/columns/PagetableColumnSingleselect.d.ts +1 -1
  44. package/dist/components/Pagetable/columns/PagetableColumnString.d.ts +1 -1
  45. package/dist/components/Pagetable/hooks/useCode.d.ts +2 -0
  46. package/dist/components/Pagetable/hooks/useCode.js +24 -0
  47. package/dist/components/Pagetable/hooks/useCode.js.map +1 -0
  48. package/dist/components/Pagetable/index.d.ts +5 -2
  49. package/dist/components/Pagetable/index.js +347 -340
  50. package/dist/components/Pagetable/index.js.map +1 -1
  51. package/dist/components/Querytable/Querytable.d.ts +80 -2
  52. package/dist/components/Querytable/columns/QuerytableColumnButtongroup.d.ts +14 -1
  53. package/dist/components/Querytable/columns/QuerytableColumnDate.d.ts +14 -1
  54. package/dist/components/Querytable/columns/QuerytableColumnDiy.d.ts +1 -1
  55. package/dist/components/Querytable/columns/QuerytableColumnLink.d.ts +14 -1
  56. package/dist/components/Querytable/columns/QuerytableColumnMultiselect.d.ts +14 -1
  57. package/dist/components/Querytable/columns/QuerytableColumnNumber.d.ts +14 -1
  58. package/dist/components/Querytable/columns/QuerytableColumnSingleselect.d.ts +14 -1
  59. package/dist/components/Querytable/columns/QuerytableColumnString.d.ts +14 -1
  60. package/dist/components/Querytable/hooks/useColumns.js +16 -11
  61. package/dist/components/Querytable/hooks/useColumns.js.map +1 -1
  62. package/dist/components/Querytable/index.d.ts +147 -1
  63. package/dist/components/Querytable/index.js +404 -347
  64. package/dist/components/Querytable/index.js.map +1 -1
  65. package/dist/components/Tabs/index.js +1 -1
  66. package/dist/components/Throne/ThroneContextProvider.d.ts +25 -0
  67. package/dist/components/_util/vue/icon.js +1 -1
  68. package/dist/components/components.d.ts +2 -0
  69. package/dist/components/components.js +22 -18
  70. package/dist/components/components.js.map +1 -1
  71. package/dist/components/index.js +41 -33
  72. package/dist/components/index.js.map +1 -1
  73. package/dist/components-DP9bnDLm.js +48 -0
  74. package/dist/components-DP9bnDLm.js.map +1 -0
  75. package/dist/{index-C6P_0wAy.js → index-ChkLOmNK.js} +76 -46
  76. package/dist/{index-C6P_0wAy.js.map → index-ChkLOmNK.js.map} +1 -1
  77. package/dist/index.d.ts +1 -0
  78. package/dist/index.js +41 -31
  79. package/dist/index.js.map +1 -1
  80. package/dist/version/version.d.ts +1 -1
  81. package/dist/version/version.js +1 -1
  82. package/dist/version/version.js.map +1 -1
  83. package/package.json +1 -1
  84. package/dist/components-8oZ2kpUC.js +0 -27
  85. package/dist/components-8oZ2kpUC.js.map +0 -1
@@ -26,6 +26,66 @@ declare const _default: import('../_util').SFCWithInstall<{}> & {
26
26
  type: import('vue').PropType<"" | "small" | "default" | "large">;
27
27
  default: "" | "small" | "default" | "large";
28
28
  };
29
+ rowClassName: {
30
+ type: import('vue').PropType<string | ((data: {
31
+ rowData: any;
32
+ rowIndex: number;
33
+ }) => string)>;
34
+ default: string | ((data: {
35
+ rowData: any;
36
+ rowIndex: number;
37
+ }) => string);
38
+ };
39
+ rowStyle: {
40
+ type: import('vue').PropType<import('vue').CSSProperties | ((data: {
41
+ rowData: any;
42
+ rowIndex: number;
43
+ }) => import('vue').CSSProperties)>;
44
+ default: import('vue').CSSProperties | ((data: {
45
+ rowData: any;
46
+ rowIndex: number;
47
+ }) => import('vue').CSSProperties);
48
+ };
49
+ cellClassName: {
50
+ type: import('vue').PropType<string | ((data: {
51
+ rowData: any;
52
+ column: {
53
+ name: string;
54
+ head: string;
55
+ };
56
+ rowIndex: number;
57
+ columnIndex: number;
58
+ }) => string)>;
59
+ default: string | ((data: {
60
+ rowData: any;
61
+ column: {
62
+ name: string;
63
+ head: string;
64
+ };
65
+ rowIndex: number;
66
+ columnIndex: number;
67
+ }) => string);
68
+ };
69
+ cellStyle: {
70
+ type: import('vue').PropType<import('vue').CSSProperties | ((data: {
71
+ rowData: any;
72
+ column: {
73
+ name: string;
74
+ head: string;
75
+ };
76
+ rowIndex: number;
77
+ columnIndex: number;
78
+ }) => import('vue').CSSProperties)>;
79
+ default: import('vue').CSSProperties | ((data: {
80
+ rowData: any;
81
+ column: {
82
+ name: string;
83
+ head: string;
84
+ };
85
+ rowIndex: number;
86
+ columnIndex: number;
87
+ }) => import('vue').CSSProperties);
88
+ };
29
89
  }>> & Readonly<{
30
90
  onSelectionChange?: ((...args: any[]) => any) | undefined;
31
91
  onCurrentRowChange?: ((...args: any[]) => any) | undefined;
@@ -54,6 +114,66 @@ declare const _default: import('../_util').SFCWithInstall<{}> & {
54
114
  type: import('vue').PropType<"" | "small" | "default" | "large">;
55
115
  default: "" | "small" | "default" | "large";
56
116
  };
117
+ rowClassName: {
118
+ type: import('vue').PropType<string | ((data: {
119
+ rowData: any;
120
+ rowIndex: number;
121
+ }) => string)>;
122
+ default: string | ((data: {
123
+ rowData: any;
124
+ rowIndex: number;
125
+ }) => string);
126
+ };
127
+ rowStyle: {
128
+ type: import('vue').PropType<import('vue').CSSProperties | ((data: {
129
+ rowData: any;
130
+ rowIndex: number;
131
+ }) => import('vue').CSSProperties)>;
132
+ default: import('vue').CSSProperties | ((data: {
133
+ rowData: any;
134
+ rowIndex: number;
135
+ }) => import('vue').CSSProperties);
136
+ };
137
+ cellClassName: {
138
+ type: import('vue').PropType<string | ((data: {
139
+ rowData: any;
140
+ column: {
141
+ name: string;
142
+ head: string;
143
+ };
144
+ rowIndex: number;
145
+ columnIndex: number;
146
+ }) => string)>;
147
+ default: string | ((data: {
148
+ rowData: any;
149
+ column: {
150
+ name: string;
151
+ head: string;
152
+ };
153
+ rowIndex: number;
154
+ columnIndex: number;
155
+ }) => string);
156
+ };
157
+ cellStyle: {
158
+ type: import('vue').PropType<import('vue').CSSProperties | ((data: {
159
+ rowData: any;
160
+ column: {
161
+ name: string;
162
+ head: string;
163
+ };
164
+ rowIndex: number;
165
+ columnIndex: number;
166
+ }) => import('vue').CSSProperties)>;
167
+ default: import('vue').CSSProperties | ((data: {
168
+ rowData: any;
169
+ column: {
170
+ name: string;
171
+ head: string;
172
+ };
173
+ rowIndex: number;
174
+ columnIndex: number;
175
+ }) => import('vue').CSSProperties);
176
+ };
57
177
  }>> & Readonly<{
58
178
  onSelectionChange?: ((...args: any[]) => any) | undefined;
59
179
  onCurrentRowChange?: ((...args: any[]) => any) | undefined;
@@ -62,11 +182,37 @@ declare const _default: import('../_util').SFCWithInstall<{}> & {
62
182
  onCellClick?: ((...args: any[]) => any) | undefined;
63
183
  onCellDblclick?: ((...args: any[]) => any) | undefined;
64
184
  }>, {
65
- data: any[];
66
185
  size: "" | "small" | "default" | "large";
186
+ data: any[];
67
187
  showRowNumber: boolean;
68
188
  selectionMode: boolean;
69
189
  currentRowMode: boolean;
190
+ rowClassName: string | ((data: {
191
+ rowData: any;
192
+ rowIndex: number;
193
+ }) => string);
194
+ rowStyle: import('vue').CSSProperties | ((data: {
195
+ rowData: any;
196
+ rowIndex: number;
197
+ }) => import('vue').CSSProperties);
198
+ cellClassName: string | ((data: {
199
+ rowData: any;
200
+ column: {
201
+ name: string;
202
+ head: string;
203
+ };
204
+ rowIndex: number;
205
+ columnIndex: number;
206
+ }) => string);
207
+ cellStyle: import('vue').CSSProperties | ((data: {
208
+ rowData: any;
209
+ column: {
210
+ name: string;
211
+ head: string;
212
+ };
213
+ rowIndex: number;
214
+ columnIndex: number;
215
+ }) => import('vue').CSSProperties);
70
216
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
71
217
  P: {};
72
218
  B: {};
@@ -95,6 +241,66 @@ declare const _default: import('../_util').SFCWithInstall<{}> & {
95
241
  type: import('vue').PropType<"" | "small" | "default" | "large">;
96
242
  default: "" | "small" | "default" | "large";
97
243
  };
244
+ rowClassName: {
245
+ type: import('vue').PropType<string | ((data: {
246
+ rowData: any;
247
+ rowIndex: number;
248
+ }) => string)>;
249
+ default: string | ((data: {
250
+ rowData: any;
251
+ rowIndex: number;
252
+ }) => string);
253
+ };
254
+ rowStyle: {
255
+ type: import('vue').PropType<import('vue').CSSProperties | ((data: {
256
+ rowData: any;
257
+ rowIndex: number;
258
+ }) => import('vue').CSSProperties)>;
259
+ default: import('vue').CSSProperties | ((data: {
260
+ rowData: any;
261
+ rowIndex: number;
262
+ }) => import('vue').CSSProperties);
263
+ };
264
+ cellClassName: {
265
+ type: import('vue').PropType<string | ((data: {
266
+ rowData: any;
267
+ column: {
268
+ name: string;
269
+ head: string;
270
+ };
271
+ rowIndex: number;
272
+ columnIndex: number;
273
+ }) => string)>;
274
+ default: string | ((data: {
275
+ rowData: any;
276
+ column: {
277
+ name: string;
278
+ head: string;
279
+ };
280
+ rowIndex: number;
281
+ columnIndex: number;
282
+ }) => string);
283
+ };
284
+ cellStyle: {
285
+ type: import('vue').PropType<import('vue').CSSProperties | ((data: {
286
+ rowData: any;
287
+ column: {
288
+ name: string;
289
+ head: string;
290
+ };
291
+ rowIndex: number;
292
+ columnIndex: number;
293
+ }) => import('vue').CSSProperties)>;
294
+ default: import('vue').CSSProperties | ((data: {
295
+ rowData: any;
296
+ column: {
297
+ name: string;
298
+ head: string;
299
+ };
300
+ rowIndex: number;
301
+ columnIndex: number;
302
+ }) => import('vue').CSSProperties);
303
+ };
98
304
  }>> & Readonly<{
99
305
  onSelectionChange?: ((...args: any[]) => any) | undefined;
100
306
  onCurrentRowChange?: ((...args: any[]) => any) | undefined;
@@ -103,11 +309,37 @@ declare const _default: import('../_util').SFCWithInstall<{}> & {
103
309
  onCellClick?: ((...args: any[]) => any) | undefined;
104
310
  onCellDblclick?: ((...args: any[]) => any) | undefined;
105
311
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
106
- data: any[];
107
312
  size: "" | "small" | "default" | "large";
313
+ data: any[];
108
314
  showRowNumber: boolean;
109
315
  selectionMode: boolean;
110
316
  currentRowMode: boolean;
317
+ rowClassName: string | ((data: {
318
+ rowData: any;
319
+ rowIndex: number;
320
+ }) => string);
321
+ rowStyle: import('vue').CSSProperties | ((data: {
322
+ rowData: any;
323
+ rowIndex: number;
324
+ }) => import('vue').CSSProperties);
325
+ cellClassName: string | ((data: {
326
+ rowData: any;
327
+ column: {
328
+ name: string;
329
+ head: string;
330
+ };
331
+ rowIndex: number;
332
+ columnIndex: number;
333
+ }) => string);
334
+ cellStyle: import('vue').CSSProperties | ((data: {
335
+ rowData: any;
336
+ column: {
337
+ name: string;
338
+ head: string;
339
+ };
340
+ rowIndex: number;
341
+ columnIndex: number;
342
+ }) => import('vue').CSSProperties);
111
343
  }> | null;
112
344
  }, any, import('vue').ComponentProvideOptions, {
113
345
  P: {};
@@ -255,14 +487,17 @@ declare const _default: import('../_util').SFCWithInstall<{}> & {
255
487
  }) => import('vue').CSSProperties);
256
488
  };
257
489
  }>> & Readonly<{
490
+ onSelect?: ((...args: any[]) => any) | undefined;
491
+ "onSelect-all"?: ((...args: any[]) => any) | undefined;
258
492
  onSelectionChange?: ((...args: any[]) => any) | undefined;
259
493
  onCurrentRowChange?: ((...args: any[]) => any) | undefined;
260
494
  "onUpdate:pagination"?: ((...args: any[]) => any) | undefined;
495
+ onPaginationChange?: ((...args: any[]) => any) | undefined;
261
496
  onRowClick?: ((...args: any[]) => any) | undefined;
262
497
  onRowDblclick?: ((...args: any[]) => any) | undefined;
263
498
  onCellClick?: ((...args: any[]) => any) | undefined;
264
499
  onCellDblclick?: ((...args: any[]) => any) | undefined;
265
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("selectionChange" | "currentRowChange" | "update:pagination" | "rowClick" | "rowDblclick" | "cellClick" | "cellDblclick")[], import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
500
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("select" | "select-all" | "selectionChange" | "currentRowChange" | "update:pagination" | "paginationChange" | "rowClick" | "rowDblclick" | "cellClick" | "cellDblclick")[], import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
266
501
  data: {
267
502
  type: import('vue').PropType<any[]>;
268
503
  default: any[];
@@ -366,16 +601,19 @@ declare const _default: import('../_util').SFCWithInstall<{}> & {
366
601
  }) => import('vue').CSSProperties);
367
602
  };
368
603
  }>> & Readonly<{
604
+ onSelect?: ((...args: any[]) => any) | undefined;
605
+ "onSelect-all"?: ((...args: any[]) => any) | undefined;
369
606
  onSelectionChange?: ((...args: any[]) => any) | undefined;
370
607
  onCurrentRowChange?: ((...args: any[]) => any) | undefined;
371
608
  "onUpdate:pagination"?: ((...args: any[]) => any) | undefined;
609
+ onPaginationChange?: ((...args: any[]) => any) | undefined;
372
610
  onRowClick?: ((...args: any[]) => any) | undefined;
373
611
  onRowDblclick?: ((...args: any[]) => any) | undefined;
374
612
  onCellClick?: ((...args: any[]) => any) | undefined;
375
613
  onCellDblclick?: ((...args: any[]) => any) | undefined;
376
614
  }>, {
377
- data: any[];
378
615
  size: "" | "small" | "default" | "large";
616
+ data: any[];
379
617
  pagination: {
380
618
  currentPage?: number;
381
619
  pageSize?: number;
@@ -524,16 +762,19 @@ declare const _default: import('../_util').SFCWithInstall<{}> & {
524
762
  }) => import('vue').CSSProperties);
525
763
  };
526
764
  }>> & Readonly<{
765
+ onSelect?: ((...args: any[]) => any) | undefined;
766
+ "onSelect-all"?: ((...args: any[]) => any) | undefined;
527
767
  onSelectionChange?: ((...args: any[]) => any) | undefined;
528
768
  onCurrentRowChange?: ((...args: any[]) => any) | undefined;
529
769
  "onUpdate:pagination"?: ((...args: any[]) => any) | undefined;
770
+ onPaginationChange?: ((...args: any[]) => any) | undefined;
530
771
  onRowClick?: ((...args: any[]) => any) | undefined;
531
772
  onRowDblclick?: ((...args: any[]) => any) | undefined;
532
773
  onCellClick?: ((...args: any[]) => any) | undefined;
533
774
  onCellDblclick?: ((...args: any[]) => any) | undefined;
534
775
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
535
- data: any[];
536
776
  size: "" | "small" | "default" | "large";
777
+ data: any[];
537
778
  pagination: {
538
779
  currentPage?: number;
539
780
  pageSize?: number;
@@ -25,8 +25,7 @@ const B = /* @__PURE__ */ A({
25
25
  } else a == "Enter" && s.value && (l == null || l.backfill(s.value));
26
26
  });
27
27
  const r = (a) => {
28
- var t;
29
- ((t = d.value) == null ? void 0 : t.$el).querySelectorAll(".el-table__row")[a].scrollIntoViewIfNeeded();
28
+ d.value.$el.querySelectorAll(".el-table__row")[a].scrollIntoViewIfNeeded();
30
29
  }, f = (a) => {
31
30
  l == null || l.backfill(a);
32
31
  }, u = (a) => {
@@ -65,8 +64,8 @@ const B = /* @__PURE__ */ A({
65
64
  const i = d, s = (t) => {
66
65
  i("update:pagination", t);
67
66
  }, l = x("table"), r = v(), f = v(), u = D();
68
- u == null || u.registerKeydownHandler((t) => {
69
- var c, R, g, h, C, $;
67
+ u.registerKeydownHandler((t) => {
68
+ var c, m, b, h, C, $;
70
69
  if (t == "ArrowUp") {
71
70
  let n;
72
71
  r.value == 0 ? n = e.data[e.data.length - 1] : n = e.data[r.value - 1], l.value.setCurrentRow(n), a(r.value);
@@ -76,18 +75,18 @@ const B = /* @__PURE__ */ A({
76
75
  } else if (t == "Enter")
77
76
  f.value && (u == null || u.backfill(f.value));
78
77
  else if (t == "ArrowLeft") {
79
- const n = (c = e.pagination) == null ? void 0 : c.currentPage, w = (R = e.pagination) == null ? void 0 : R.pageSize, m = (g = e.pagination) == null ? void 0 : g.total;
80
- if (!n || !w || !m)
78
+ const n = (c = e.pagination) == null ? void 0 : c.currentPage, g = (m = e.pagination) == null ? void 0 : m.pageSize, w = (b = e.pagination) == null ? void 0 : b.total;
79
+ if (!n || !g || !w)
81
80
  return;
82
81
  n > 1 && i("update:pagination", {
83
82
  ...e.pagination,
84
83
  currentPage: n - 1
85
84
  });
86
85
  } else if (t == "ArrowRight") {
87
- const n = (h = e.pagination) == null ? void 0 : h.currentPage, w = (C = e.pagination) == null ? void 0 : C.pageSize, m = ($ = e.pagination) == null ? void 0 : $.total;
88
- if (!n || !w || !m)
86
+ const n = (h = e.pagination) == null ? void 0 : h.currentPage, g = (C = e.pagination) == null ? void 0 : C.pageSize, w = ($ = e.pagination) == null ? void 0 : $.total;
87
+ if (!n || !g || !w)
89
88
  return;
90
- const Q = Math.ceil(m / w);
89
+ const Q = Math.ceil(w / g);
91
90
  n < Q && i("update:pagination", {
92
91
  ...e.pagination,
93
92
  currentPage: n + 1
@@ -95,11 +94,10 @@ const B = /* @__PURE__ */ A({
95
94
  }
96
95
  });
97
96
  const a = (t) => {
98
- var g;
99
- ((g = l.value) == null ? void 0 : g.$el).querySelectorAll(".el-table__row")[t].scrollIntoViewIfNeeded();
97
+ l.value.$el.querySelectorAll(".el-table__row")[t].scrollIntoViewIfNeeded();
100
98
  }, o = (t) => {
101
99
  u == null || u.backfill(t);
102
- }, b = (t) => {
100
+ }, R = (t) => {
103
101
  const c = P(e.data, t);
104
102
  c == -1 ? (r.value = 0, f.value = e.data[0]) : (r.value = c, f.value = t);
105
103
  };
@@ -113,7 +111,7 @@ const B = /* @__PURE__ */ A({
113
111
  data: t.data,
114
112
  onRowClick: o,
115
113
  "current-row-mode": "",
116
- onCurrentRowChange: b,
114
+ onCurrentRowChange: R,
117
115
  pagination: t.pagination,
118
116
  "onUpdate:pagination": s,
119
117
  size: "small",
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/components/LovTable/LovQuerytable.vue","../../../src/components/LovTable/LovPagetable.vue","../../../src/components/LovTable/index.ts"],"sourcesContent":["<template>\r\n <querytable ref=\"table\" :data=\"data\" @row-click=\"onRowClick\" current-row-mode\r\n @current-row-change=\"handleCurrentRowChange\" size=\"small\">\r\n <slot></slot>\r\n </querytable>\r\n</template>\r\n<script setup lang=\"ts\">\r\nimport { ref, useTemplateRef, watch } from 'vue'\r\nimport Querytable from '../Querytable'\r\nimport { useLov } from '../Form'\r\nimport { findIndex } from 'lodash-es'\r\n\r\ndefineOptions({ name: 'OLovQuerytable', inheritAttrs: true })\r\n\r\nconst { data } = defineProps<{ data: any[] }>()\r\nconst tableRef = useTemplateRef('table')\r\nconst currentRowIndex = ref()\r\nconst currentRowData = ref()\r\n\r\nconst lov = useLov()\r\nlov?.registerKeydownHandler((code) => {\r\n if (code == 'ArrowUp') {\r\n let nextRow: any\r\n if (currentRowIndex.value == 0) {\r\n nextRow = data[data.length - 1]\r\n } else {\r\n nextRow = data[currentRowIndex.value - 1]\r\n }\r\n //@ts-ignore\r\n tableRef.value.setCurrentRow(nextRow)\r\n scrollToRow(currentRowIndex.value)\r\n } else if (code == 'ArrowDown') {\r\n let nextRow: any\r\n if (currentRowIndex.value == data.length - 1) {\r\n nextRow = data[0]\r\n } else {\r\n nextRow = data[currentRowIndex.value + 1]\r\n }\r\n //@ts-ignore\r\n tableRef.value.setCurrentRow(nextRow)\r\n scrollToRow(currentRowIndex.value)\r\n } else if (code == 'Enter') {\r\n currentRowData.value && lov?.backfill(currentRowData.value)\r\n }\r\n})\r\n\r\nconst scrollToRow = (index: number) => {\r\n const $table = tableRef.value?.$el\r\n const $row = $table.querySelectorAll('.el-table__row')[index]\r\n $row.scrollIntoViewIfNeeded()\r\n}\r\n\r\nconst onRowClick = (row: any) => {\r\n lov?.backfill(row)\r\n}\r\n\r\nconst handleCurrentRowChange = (row: any) => {\r\n const index = findIndex(data, row)\r\n if (index == -1) {\r\n currentRowIndex.value = 0\r\n currentRowData.value = data[0]\r\n } else {\r\n currentRowIndex.value = index\r\n currentRowData.value = row\r\n }\r\n}\r\n\r\nwatch(\r\n () => data,\r\n () => {\r\n if (data.length > 0) {\r\n //@ts-ignore\r\n tableRef.value.setCurrentRow(data[0])\r\n }\r\n }\r\n)\r\n</script>\r\n","<template>\r\n <pagetable ref=\"table\" :data=\"data\" @row-click=\"onRowClick\" current-row-mode\r\n @current-row-change=\"handleCurrentRowChange\" :pagination=\"pagination\" @update:pagination=\"onUpdatePagination\"\r\n size=\"small\" :pagination-teleported=\"false\">\r\n <slot></slot>\r\n </pagetable>\r\n</template>\r\n<script setup lang=\"ts\">\r\nimport Pagetable from '../Pagetable'\r\nimport { useLov } from '../Form'\r\nimport { ref, useTemplateRef, watch } from 'vue'\r\nimport { findIndex } from 'lodash-es'\r\n\r\ndefineOptions({ name: 'OLovPagetable', inheritAttrs: true })\r\n\r\nconst { data, pagination } = defineProps<{\r\n data: any[]\r\n pagination: {\r\n currentPage?: number\r\n pageSize?: number\r\n total?: number\r\n }\r\n}>()\r\n\r\nconst emits = defineEmits(['update:pagination'])\r\nconst onUpdatePagination = (data: any) => {\r\n emits('update:pagination', data)\r\n}\r\n\r\nconst tableRef = useTemplateRef('table')\r\nconst currentRowIndex = ref()\r\nconst currentRowData = ref()\r\n\r\nconst lov = useLov()\r\nlov?.registerKeydownHandler((code) => {\r\n if (code == 'ArrowUp') {\r\n let nextRow: any\r\n if (currentRowIndex.value == 0) {\r\n nextRow = data[data.length - 1]\r\n } else {\r\n nextRow = data[currentRowIndex.value - 1]\r\n }\r\n //@ts-ignore\r\n tableRef.value.setCurrentRow(nextRow)\r\n scrollToRow(currentRowIndex.value)\r\n } else if (code == 'ArrowDown') {\r\n let nextRow: any\r\n if (currentRowIndex.value == data.length - 1) {\r\n nextRow = data[0]\r\n } else {\r\n nextRow = data[currentRowIndex.value + 1]\r\n }\r\n //@ts-ignore\r\n tableRef.value.setCurrentRow(nextRow)\r\n scrollToRow(currentRowIndex.value)\r\n } else if (code == 'Enter') {\r\n currentRowData.value && lov?.backfill(currentRowData.value)\r\n } else if (code == 'ArrowLeft') {\r\n const currentPage = pagination?.currentPage\r\n const pageSize = pagination?.pageSize\r\n const total = pagination?.total\r\n if (!currentPage || !pageSize || !total) {\r\n return\r\n }\r\n if (currentPage > 1) {\r\n emits('update:pagination', {\r\n ...pagination,\r\n currentPage: currentPage - 1,\r\n })\r\n }\r\n } else if (code == 'ArrowRight') {\r\n const currentPage = pagination?.currentPage\r\n const pageSize = pagination?.pageSize\r\n const total = pagination?.total\r\n if (!currentPage || !pageSize || !total) {\r\n return\r\n }\r\n const totalPage = Math.ceil(total / pageSize)\r\n if (currentPage < totalPage) {\r\n emits('update:pagination', {\r\n ...pagination,\r\n currentPage: currentPage + 1,\r\n })\r\n }\r\n }\r\n})\r\n\r\nconst scrollToRow = (index: number) => {\r\n const $table = tableRef.value?.$el\r\n const $row = $table.querySelectorAll('.el-table__row')[index]\r\n $row.scrollIntoViewIfNeeded()\r\n}\r\n\r\nconst onRowClick = (row: any) => {\r\n lov?.backfill(row)\r\n}\r\n\r\nconst handleCurrentRowChange = (row: any) => {\r\n const index = findIndex(data, row)\r\n if (index == -1) {\r\n currentRowIndex.value = 0\r\n currentRowData.value = data[0]\r\n } else {\r\n currentRowIndex.value = index\r\n currentRowData.value = row\r\n }\r\n}\r\n\r\nwatch(\r\n () => data,\r\n () => {\r\n if (data.length > 0) {\r\n //@ts-ignore\r\n tableRef.value.setCurrentRow(data[0])\r\n }\r\n }\r\n)\r\n</script>\r\n","import { withInstall } from '../_util'\r\n\r\nimport LovQuerytable from './LovQuerytable.vue'\r\nimport LovPagetable from './LovPagetable.vue'\r\n\r\nexport default withInstall(\r\n {},\r\n {\r\n LovQuerytable,\r\n LovPagetable,\r\n }\r\n)\r\n"],"names":["tableRef","useTemplateRef","currentRowIndex","ref","currentRowData","lov","useLov","code","nextRow","__props","scrollToRow","index","_a","onRowClick","row","handleCurrentRowChange","findIndex","watch","emits","__emit","onUpdatePagination","data","currentPage","pageSize","_b","total","_c","_d","_e","_f","totalPage","withInstall","LovQuerytable","LovPagetable"],"mappings":";;;;;;;;;;;;;;;;AAeM,UAAAA,IAAWC,EAAe,OAAO,GACjCC,IAAkBC,KAClBC,IAAiBD,KAEjBE,IAAMC;AACP,IAAAD,KAAA,QAAAA,EAAA,uBAAuB,CAACE,MAAS;AACpC,UAAIA,KAAQ,WAAW;AACjB,YAAAC;AACA,QAAAN,EAAgB,SAAS,IAC3BM,IAAUC,EAAI,KAACA,EAAI,KAAC,SAAS,CAAC,IAE9BD,IAAUC,OAAKP,EAAgB,QAAQ,CAAC,GAGjCF,EAAA,MAAM,cAAcQ,CAAO,GACpCE,EAAYR,EAAgB,KAAK;AAAA,MAAA,WACxBK,KAAQ,aAAa;AAC1B,YAAAC;AACJ,QAAIN,EAAgB,SAASO,EAAI,KAAC,SAAS,IAC/BD,IAAAC,OAAK,CAAC,IAEhBD,IAAUC,OAAKP,EAAgB,QAAQ,CAAC,GAGjCF,EAAA,MAAM,cAAcQ,CAAO,GACpCE,EAAYR,EAAgB,KAAK;AAAA,MAAA,MACnC,CAAWK,KAAQ,WACjBH,EAAe,UAASC,KAAA,QAAAA,EAAK,SAASD,EAAe;AAAA,IACvD;AAGI,UAAAM,IAAc,CAACC,MAAkB;;AAGrC,QAFeC,IAAAZ,EAAS,UAAT,gBAAAY,EAAgB,KACX,iBAAiB,gBAAgB,EAAED,CAAK,EACvD,uBAAuB;AAAA,IAAA,GAGxBE,IAAa,CAACC,MAAa;AAC/B,MAAAT,KAAA,QAAAA,EAAK,SAASS;AAAA,IAAG,GAGbC,IAAyB,CAACD,MAAa;AAC3C,YAAMH,IAAQK,EAAUP,E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;IC9GFE,IAAeoB;AAAA,EACb,CAAC;AAAA,EACD;AAAA,IAAA,eACEC;AAAAA,IAAA,cACAC;AAAAA,EACF;AACF;"}
1
+ {"version":3,"file":"index.js","sources":["../../../src/components/LovTable/LovQuerytable.vue","../../../src/components/LovTable/LovPagetable.vue","../../../src/components/LovTable/index.ts"],"sourcesContent":["<template>\r\n <querytable ref=\"table\" :data=\"data\" @row-click=\"onRowClick\" current-row-mode\r\n @current-row-change=\"handleCurrentRowChange\" size=\"small\">\r\n <slot></slot>\r\n </querytable>\r\n</template>\r\n<script setup lang=\"ts\">\r\nimport { ref, useTemplateRef, watch } from 'vue'\r\nimport Querytable from '../Querytable'\r\nimport { useLov } from '../Form'\r\nimport { findIndex } from 'lodash-es'\r\n\r\ndefineOptions({ name: 'OLovQuerytable', inheritAttrs: true })\r\n\r\nconst { data } = defineProps<{ data: any[] }>()\r\nconst tableRef = useTemplateRef('table')\r\nconst currentRowIndex = ref()\r\nconst currentRowData = ref()\r\n\r\nconst lov = useLov()\r\nlov?.registerKeydownHandler((code) => {\r\n if (code == 'ArrowUp') {\r\n let nextRow: any\r\n if (currentRowIndex.value == 0) {\r\n nextRow = data[data.length - 1]\r\n } else {\r\n nextRow = data[currentRowIndex.value - 1]\r\n }\r\n //@ts-ignore\r\n tableRef.value!.setCurrentRow(nextRow)\r\n scrollToRow(currentRowIndex.value)\r\n } else if (code == 'ArrowDown') {\r\n let nextRow: any\r\n if (currentRowIndex.value == data.length - 1) {\r\n nextRow = data[0]\r\n } else {\r\n nextRow = data[currentRowIndex.value + 1]\r\n }\r\n //@ts-ignore\r\n tableRef.value!.setCurrentRow(nextRow)\r\n scrollToRow(currentRowIndex.value)\r\n } else if (code == 'Enter') {\r\n currentRowData.value && lov?.backfill(currentRowData.value)\r\n }\r\n})\r\n\r\nconst scrollToRow = (index: number) => {\r\n const $table = tableRef.value!.$el\r\n const $row = $table.querySelectorAll('.el-table__row')[index]\r\n $row.scrollIntoViewIfNeeded()\r\n}\r\n\r\nconst onRowClick = (row: any) => {\r\n lov?.backfill(row)\r\n}\r\n\r\nconst handleCurrentRowChange = (row: any) => {\r\n const index = findIndex(data, row)\r\n if (index == -1) {\r\n currentRowIndex.value = 0\r\n currentRowData.value = data[0]\r\n } else {\r\n currentRowIndex.value = index\r\n currentRowData.value = row\r\n }\r\n}\r\n\r\nwatch(\r\n () => data,\r\n () => {\r\n if (data.length > 0) {\r\n //@ts-ignore\r\n tableRef.value!.setCurrentRow(data[0])\r\n }\r\n }\r\n)\r\n</script>\r\n","<template>\r\n <pagetable ref=\"table\" :data=\"data\" @row-click=\"onRowClick\" current-row-mode\r\n @current-row-change=\"handleCurrentRowChange\" :pagination=\"pagination\" @update:pagination=\"onUpdatePagination\"\r\n size=\"small\" :pagination-teleported=\"false\">\r\n <slot></slot>\r\n </pagetable>\r\n</template>\r\n<script setup lang=\"ts\">\r\nimport Pagetable from '../Pagetable'\r\nimport { useLov } from '../Form'\r\nimport { ref, useTemplateRef, watch } from 'vue'\r\nimport { findIndex } from 'lodash-es'\r\n\r\ndefineOptions({ name: 'OLovPagetable', inheritAttrs: true })\r\n\r\nconst { data, pagination } = defineProps<{\r\n data: any[]\r\n pagination: {\r\n currentPage?: number\r\n pageSize?: number\r\n total?: number\r\n }\r\n}>()\r\n\r\nconst emits = defineEmits(['update:pagination'])\r\nconst onUpdatePagination = (data: any) => {\r\n emits('update:pagination', data)\r\n}\r\n\r\nconst tableRef = useTemplateRef('table')\r\nconst currentRowIndex = ref()\r\nconst currentRowData = ref()\r\n\r\nconst lov = useLov()!\r\nlov.registerKeydownHandler((code) => {\r\n if (code == 'ArrowUp') {\r\n let nextRow: any\r\n if (currentRowIndex.value == 0) {\r\n nextRow = data[data.length - 1]\r\n } else {\r\n nextRow = data[currentRowIndex.value - 1]\r\n }\r\n //@ts-ignore\r\n tableRef.value!.setCurrentRow(nextRow)\r\n scrollToRow(currentRowIndex.value)\r\n } else if (code == 'ArrowDown') {\r\n let nextRow: any\r\n if (currentRowIndex.value == data.length - 1) {\r\n nextRow = data[0]\r\n } else {\r\n nextRow = data[currentRowIndex.value + 1]\r\n }\r\n //@ts-ignore\r\n tableRef.value!.setCurrentRow(nextRow)\r\n scrollToRow(currentRowIndex.value)\r\n } else if (code == 'Enter') {\r\n currentRowData.value && lov?.backfill(currentRowData.value)\r\n } else if (code == 'ArrowLeft') {\r\n const currentPage = pagination?.currentPage\r\n const pageSize = pagination?.pageSize\r\n const total = pagination?.total\r\n if (!currentPage || !pageSize || !total) {\r\n return\r\n }\r\n if (currentPage > 1) {\r\n emits('update:pagination', {\r\n ...pagination,\r\n currentPage: currentPage - 1,\r\n })\r\n }\r\n } else if (code == 'ArrowRight') {\r\n const currentPage = pagination?.currentPage\r\n const pageSize = pagination?.pageSize\r\n const total = pagination?.total\r\n if (!currentPage || !pageSize || !total) {\r\n return\r\n }\r\n const totalPage = Math.ceil(total / pageSize)\r\n if (currentPage < totalPage) {\r\n emits('update:pagination', {\r\n ...pagination,\r\n currentPage: currentPage + 1,\r\n })\r\n }\r\n }\r\n})\r\n\r\nconst scrollToRow = (index: number) => {\r\n const $table = tableRef.value!.$el\r\n const $row = $table.querySelectorAll('.el-table__row')[index]\r\n $row.scrollIntoViewIfNeeded()\r\n}\r\n\r\nconst onRowClick = (row: any) => {\r\n lov?.backfill(row)\r\n}\r\n\r\nconst handleCurrentRowChange = (row: any) => {\r\n const index = findIndex(data, row)\r\n if (index == -1) {\r\n currentRowIndex.value = 0\r\n currentRowData.value = data[0]\r\n } else {\r\n currentRowIndex.value = index\r\n currentRowData.value = row\r\n }\r\n}\r\n\r\nwatch(\r\n () => data,\r\n () => {\r\n if (data.length > 0) {\r\n //@ts-ignore\r\n tableRef.value!.setCurrentRow(data[0])\r\n }\r\n }\r\n)\r\n</script>\r\n","import { withInstall } from '../_util'\r\n\r\nimport LovQuerytable from './LovQuerytable.vue'\r\nimport LovPagetable from './LovPagetable.vue'\r\n\r\nexport default withInstall(\r\n {},\r\n {\r\n LovQuerytable,\r\n LovPagetable,\r\n }\r\n)\r\n"],"names":["tableRef","useTemplateRef","currentRowIndex","ref","currentRowData","lov","useLov","code","nextRow","__props","scrollToRow","index","onRowClick","row","handleCurrentRowChange","findIndex","watch","emits","__emit","onUpdatePagination","data","currentPage","_a","pageSize","_b","total","_c","_d","_e","_f","totalPage","withInstall","LovQuerytable","LovPagetable"],"mappings":";;;;;;;;;;;;;;;;AAeM,UAAAA,IAAWC,EAAe,OAAO,GACjCC,IAAkBC,KAClBC,IAAiBD,KAEjBE,IAAMC;AACP,IAAAD,KAAA,QAAAA,EAAA,uBAAuB,CAACE,MAAS;AACpC,UAAIA,KAAQ,WAAW;AACjB,YAAAC;AACA,QAAAN,EAAgB,SAAS,IAC3BM,IAAUC,EAAI,KAACA,EAAI,KAAC,SAAS,CAAC,IAE9BD,IAAUC,OAAKP,EAAgB,QAAQ,CAAC,GAGjCF,EAAA,MAAO,cAAcQ,CAAO,GACrCE,EAAYR,EAAgB,KAAK;AAAA,MAAA,WACxBK,KAAQ,aAAa;AAC1B,YAAAC;AACJ,QAAIN,EAAgB,SAASO,EAAI,KAAC,SAAS,IAC/BD,IAAAC,OAAK,CAAC,IAEhBD,IAAUC,OAAKP,EAAgB,QAAQ,CAAC,GAGjCF,EAAA,MAAO,cAAcQ,CAAO,GACrCE,EAAYR,EAAgB,KAAK;AAAA,MAAA,MACnC,CAAWK,KAAQ,WACjBH,EAAe,UAASC,KAAA,QAAAA,EAAK,SAASD,EAAe;AAAA,IACvD;AAGI,UAAAM,IAAc,CAACC,MAAkB;AAGrC,MAFeX,EAAS,MAAO,IACX,iBAAiB,gBAAgB,EAAEW,CAAK,EACvD,uBAAuB;AAAA,IAAA,GAGxBC,IAAa,CAACC,MAAa;AAC/B,MAAAR,KAAA,QAAAA,EAAK,SAASQ;AAAA,IAAG,GAGbC,IAAyB,CAACD,MAAa;AAC3C,YAAMF,IAAQI,EAAUN,EAAI,MAAEI,CAAG;AACjC,MAAIF,KAAS,MACXT,EAAgB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