orion-design 0.1.30 → 0.1.31

Sign up to get free protection for your applications and to get access to all the features.
Files changed (199) hide show
  1. package/README.md +5 -5
  2. package/dist/Throne/index.js +30 -14
  3. package/dist/Throne/index.js.map +1 -1
  4. package/dist/_commonjsHelpers-DWwsNxpa.js +9 -0
  5. package/dist/_commonjsHelpers-DWwsNxpa.js.map +1 -0
  6. package/dist/components/Button/index.js +40 -33
  7. package/dist/components/Button/index.js.map +1 -1
  8. package/dist/components/Flex/index.js +122 -89
  9. package/dist/components/Flex/index.js.map +1 -1
  10. package/dist/components/Form/Form.js +2 -2
  11. package/dist/components/Form/Form.js.map +1 -1
  12. package/dist/components/Form/LovInput/LovInput.js +2 -2
  13. package/dist/components/Form/LovInput/LovInput.js.map +1 -1
  14. package/dist/components/Form/LovInput/hooks/useLov.js +5 -5
  15. package/dist/components/Form/LovInput/hooks/useLov.js.map +1 -1
  16. package/dist/components/Form/LovInput/index.js +4 -4
  17. package/dist/components/Form/hooks/FormItemValidateTrigger.js +2 -2
  18. package/dist/components/Form/hooks/FormItemValidateTrigger.js.map +1 -1
  19. package/dist/components/Form/hooks/index.js +128 -66
  20. package/dist/components/Form/hooks/index.js.map +1 -1
  21. package/dist/components/Form/index.js +836 -656
  22. package/dist/components/Form/index.js.map +1 -1
  23. package/dist/components/Form/utils/index.js +30 -18
  24. package/dist/components/Form/utils/index.js.map +1 -1
  25. package/dist/components/LovTable/index.js +179 -105
  26. package/dist/components/LovTable/index.js.map +1 -1
  27. package/dist/components/Modal/index.js +111 -56
  28. package/dist/components/Modal/index.js.map +1 -1
  29. package/dist/components/Modal/types.js +4 -3
  30. package/dist/components/Modal/types.js.map +1 -1
  31. package/dist/components/Modal/useModal.js +5 -5
  32. package/dist/components/Modal/useModal.js.map +1 -1
  33. package/dist/components/Pagetable/hooks/useColumns.js +88 -80
  34. package/dist/components/Pagetable/hooks/useColumns.js.map +1 -1
  35. package/dist/components/Pagetable/index.js +687 -542
  36. package/dist/components/Pagetable/index.js.map +1 -1
  37. package/dist/components/Pagetable/utils/index.js +92 -54
  38. package/dist/components/Pagetable/utils/index.js.map +1 -1
  39. package/dist/components/Querytable/hooks/useColumns.js +82 -74
  40. package/dist/components/Querytable/hooks/useColumns.js.map +1 -1
  41. package/dist/components/Querytable/index.js +579 -469
  42. package/dist/components/Querytable/index.js.map +1 -1
  43. package/dist/components/Querytable/utils/index.js +92 -54
  44. package/dist/components/Querytable/utils/index.js.map +1 -1
  45. package/dist/components/RichTextEditor/index.js +100 -74
  46. package/dist/components/RichTextEditor/index.js.map +1 -1
  47. package/dist/components/Tabs/constants.js +2 -2
  48. package/dist/components/Tabs/constants.js.map +1 -1
  49. package/dist/components/Tabs/index.js +603 -358
  50. package/dist/components/Tabs/index.js.map +1 -1
  51. package/dist/components/Tabs/tab-bar.js +6 -6
  52. package/dist/components/Tabs/tab-bar.js.map +1 -1
  53. package/dist/components/Tabs/tab-pane.js +3 -3
  54. package/dist/components/Tabs/tab-pane.js.map +1 -1
  55. package/dist/components/_constants/aria.js +2 -2
  56. package/dist/components/_constants/aria.js.map +1 -1
  57. package/dist/components/_constants/event.js +6 -4
  58. package/dist/components/_constants/event.js.map +1 -1
  59. package/dist/components/_constants/index.js +6 -6
  60. package/dist/components/_hooks/index.js +7 -7
  61. package/dist/components/_hooks/use-namespace/index.js +74 -39
  62. package/dist/components/_hooks/use-namespace/index.js.map +1 -1
  63. package/dist/components/_hooks/use-ordered-children/index.js +29 -19
  64. package/dist/components/_hooks/use-ordered-children/index.js.map +1 -1
  65. package/dist/components/_util/arrays.js +9 -5
  66. package/dist/components/_util/arrays.js.map +1 -1
  67. package/dist/components/_util/browser.js +6 -6
  68. package/dist/components/_util/browser.js.map +1 -1
  69. package/dist/components/_util/classNames.js +22 -17
  70. package/dist/components/_util/classNames.js.map +1 -1
  71. package/dist/components/_util/dom/aria.js +74 -39
  72. package/dist/components/_util/dom/aria.js.map +1 -1
  73. package/dist/components/_util/dom/element.js +9 -8
  74. package/dist/components/_util/dom/element.js.map +1 -1
  75. package/dist/components/_util/dom/event.js +14 -7
  76. package/dist/components/_util/dom/event.js.map +1 -1
  77. package/dist/components/_util/dom/index.js +36 -36
  78. package/dist/components/_util/dom/position.js +49 -25
  79. package/dist/components/_util/dom/position.js.map +1 -1
  80. package/dist/components/_util/dom/scroll.js +103 -61
  81. package/dist/components/_util/dom/scroll.js.map +1 -1
  82. package/dist/components/_util/dom/style.js +65 -50
  83. package/dist/components/_util/dom/style.js.map +1 -1
  84. package/dist/components/_util/easings.js +8 -4
  85. package/dist/components/_util/easings.js.map +1 -1
  86. package/dist/components/_util/error.js +12 -11
  87. package/dist/components/_util/error.js.map +1 -1
  88. package/dist/components/_util/functions.js +3 -3
  89. package/dist/components/_util/i18n.js +2 -2
  90. package/dist/components/_util/i18n.js.map +1 -1
  91. package/dist/components/_util/index.js +137 -137
  92. package/dist/components/_util/isValid.js +4 -2
  93. package/dist/components/_util/isValid.js.map +1 -1
  94. package/dist/components/_util/objects.js +18 -14
  95. package/dist/components/_util/objects.js.map +1 -1
  96. package/dist/components/_util/props-util/index.js +46 -20
  97. package/dist/components/_util/props-util/index.js.map +1 -1
  98. package/dist/components/_util/props-util/initDefaultProps.js +18 -10
  99. package/dist/components/_util/props-util/initDefaultProps.js.map +1 -1
  100. package/dist/components/_util/raf.js +5 -4
  101. package/dist/components/_util/raf.js.map +1 -1
  102. package/dist/components/_util/rand.js +4 -3
  103. package/dist/components/_util/rand.js.map +1 -1
  104. package/dist/components/_util/strings.js +9 -8
  105. package/dist/components/_util/strings.js.map +1 -1
  106. package/dist/components/_util/throttleByRaf.js +16 -10
  107. package/dist/components/_util/throttleByRaf.js.map +1 -1
  108. package/dist/components/_util/type.js +41 -38
  109. package/dist/components/_util/type.js.map +1 -1
  110. package/dist/components/_util/types.js +41 -22
  111. package/dist/components/_util/types.js.map +1 -1
  112. package/dist/components/_util/typescript.js +2 -2
  113. package/dist/components/_util/typescript.js.map +1 -1
  114. package/dist/components/_util/util.js +85 -43
  115. package/dist/components/_util/util.js.map +1 -1
  116. package/dist/components/_util/vue/global-node.js +27 -15
  117. package/dist/components/_util/vue/global-node.js.map +1 -1
  118. package/dist/components/_util/vue/icon.js +29 -25
  119. package/dist/components/_util/vue/icon.js.map +1 -1
  120. package/dist/components/_util/vue/index.js +41 -41
  121. package/dist/components/_util/vue/install.js +35 -18
  122. package/dist/components/_util/vue/install.js.map +1 -1
  123. package/dist/components/_util/vue/props/index.js +6 -6
  124. package/dist/components/_util/vue/props/runtime.js +46 -30
  125. package/dist/components/_util/vue/props/runtime.js.map +1 -1
  126. package/dist/components/_util/vue/refs.js +12 -6
  127. package/dist/components/_util/vue/refs.js.map +1 -1
  128. package/dist/components/_util/vue/size.js +5 -3
  129. package/dist/components/_util/vue/size.js.map +1 -1
  130. package/dist/components/_util/vue/validator.js +5 -4
  131. package/dist/components/_util/vue/validator.js.map +1 -1
  132. package/dist/components/_util/vue/vnode.js +100 -54
  133. package/dist/components/_util/vue/vnode.js.map +1 -1
  134. package/dist/components/_util/vue-types/index.js +231 -220
  135. package/dist/components/_util/vue-types/index.js.map +1 -1
  136. package/dist/components/components.js +20 -20
  137. package/dist/components/index.js +38 -35
  138. package/dist/components/index.js.map +1 -1
  139. package/dist/components-B3d9m_tn.js +27 -0
  140. package/dist/components-B3d9m_tn.js.map +1 -0
  141. package/dist/error/OrionError.js +8 -4
  142. package/dist/error/OrionError.js.map +1 -1
  143. package/dist/functions-BeMkokbY.js +63 -0
  144. package/dist/functions-BeMkokbY.js.map +1 -0
  145. package/dist/index-BOKLZnqH.js +54 -0
  146. package/dist/index-BOKLZnqH.js.map +1 -0
  147. package/dist/index-D1m0KTpK.js +69 -0
  148. package/dist/index-D1m0KTpK.js.map +1 -0
  149. package/dist/index-DR5ZP7mD.js +160 -0
  150. package/dist/index-DR5ZP7mD.js.map +1 -0
  151. package/dist/index-DkwIULcN.js +200 -0
  152. package/dist/index-DkwIULcN.js.map +1 -0
  153. package/dist/index.css +797 -1
  154. package/dist/index.js +36 -36
  155. package/dist/print/LodopFuncs.js +101 -43
  156. package/dist/print/LodopFuncs.js.map +1 -1
  157. package/dist/print/index.js +200 -108
  158. package/dist/print/index.js.map +1 -1
  159. package/dist/request/ErrorHandlerChain.js +17 -14
  160. package/dist/request/ErrorHandlerChain.js.map +1 -1
  161. package/dist/request/RequestFilterChain.js +16 -13
  162. package/dist/request/RequestFilterChain.js.map +1 -1
  163. package/dist/request/ResponseParserChain.js +17 -14
  164. package/dist/request/ResponseParserChain.js.map +1 -1
  165. package/dist/request/disivion/DateSerializer.js +47 -22
  166. package/dist/request/disivion/DateSerializer.js.map +1 -1
  167. package/dist/request/disivion/DivisionErrorHandler.js +40 -25
  168. package/dist/request/disivion/DivisionErrorHandler.js.map +1 -1
  169. package/dist/request/disivion/DivisionResponseParser.js +16 -10
  170. package/dist/request/disivion/DivisionResponseParser.js.map +1 -1
  171. package/dist/request/disivion/index.js +305 -201
  172. package/dist/request/disivion/index.js.map +1 -1
  173. package/dist/request/error/BizExceptionResponseError.js +11 -5
  174. package/dist/request/error/BizExceptionResponseError.js.map +1 -1
  175. package/dist/request/error/ExceptionResponseError.js +11 -5
  176. package/dist/request/error/ExceptionResponseError.js.map +1 -1
  177. package/dist/request/error/ResponseError.js +9 -4
  178. package/dist/request/error/ResponseError.js.map +1 -1
  179. package/dist/request/error/SessionExceptionResponseError.js +11 -5
  180. package/dist/request/error/SessionExceptionResponseError.js.map +1 -1
  181. package/dist/request/index.js +11 -11
  182. package/dist/utils/DateUtil.js +48 -33
  183. package/dist/utils/DateUtil.js.map +1 -1
  184. package/dist/utils/NumberUtil.js +6 -6
  185. package/dist/utils/NumberUtil.js.map +1 -1
  186. package/dist/utils/cloneDeep.js +2 -2
  187. package/dist/utils/delay.js +3 -3
  188. package/dist/utils/delay.js.map +1 -1
  189. package/dist/utils/functions.js +3 -3
  190. package/dist/utils/index.js +12 -12
  191. package/dist/utils/md5.js +191 -93
  192. package/dist/utils/md5.js.map +1 -1
  193. package/dist/utils/uuid.js +35 -25
  194. package/dist/utils/uuid.js.map +1 -1
  195. package/dist/version/index.js +2 -2
  196. package/dist/version/version.d.ts +1 -1
  197. package/dist/version/version.js +2 -2
  198. package/dist/version/version.js.map +1 -1
  199. package/package.json +1 -1
@@ -1,580 +1,690 @@
1
1
  import "lodash-es";
2
- import { defineComponent as C, ref as X, computed as Z, createVNode as o, createTextVNode as ee, isVNode as P } from "vue";
3
- import { withInstall as te } from "../_util/vue/install.js";
4
- import { ElTable as le, ElTableColumn as w, ElButton as re } from "element-plus";
5
- import ne from "../_util/classNames.js";
6
- import { arrayType as oe, booleanType as v, stringType as l, someType as c, numberType as ae } from "../_util/type.js";
7
- import { number2string as se, formatDate as R, getSingleCodeContent as N, getMultiCodeContent as q } from "./utils/index.js";
8
- import ue from "dayjs";
9
- import { S as ie } from "../../index-BbsXWo7C.js";
10
- import ce from "../../error/OrionError.js";
11
- import de from "./hooks/useColumns.js";
12
- import M from "../../Throne/index.js";
13
- function pe(r) {
14
- return typeof r == "function" || Object.prototype.toString.call(r) === "[object Object]" && !P(r);
2
+ import { defineComponent, ref, computed, createVNode, createTextVNode, isVNode } from "vue";
3
+ import { withInstall } from "../_util/vue/install.js";
4
+ import { ElTable, ElTableColumn, ElButton } from "element-plus";
5
+ import classNames from "../_util/classNames.js";
6
+ import { arrayType, booleanType, stringType, someType, numberType } from "../_util/type.js";
7
+ import { number2string, formatDate, getSingleCodeContent, getMultiCodeContent } from "./utils/index.js";
8
+ import dayjs from "dayjs";
9
+ import { S as Space } from "../../index-BOKLZnqH.js";
10
+ import OrionError from "../../error/OrionError.js";
11
+ import useColumns from "./hooks/useColumns.js";
12
+ import Throne from "../../Throne/index.js";
13
+ function _isSlot$1(s) {
14
+ return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
15
15
  }
16
- const me = () => ({
17
- data: oe(),
18
- showRowNumber: v(!0),
19
- selectionMode: v(!1),
20
- currentRowMode: v(!1),
21
- size: l()
22
- }), he = /* @__PURE__ */ C({
16
+ const querytableProps = () => ({
17
+ data: arrayType(),
18
+ showRowNumber: booleanType(true),
19
+ selectionMode: booleanType(false),
20
+ currentRowMode: booleanType(false),
21
+ size: stringType()
22
+ });
23
+ const Querytable$1 = /* @__PURE__ */ defineComponent({
23
24
  name: "OQuerytable",
24
- inheritAttrs: !1,
25
- props: me(),
25
+ inheritAttrs: false,
26
+ props: querytableProps(),
26
27
  emits: ["selectionChange", "currentRowChange", "rowClick", "rowDblclick", "cellClick", "cellDblclick"],
27
- setup(r, {
28
- slots: m,
29
- attrs: f,
30
- emit: i,
31
- expose: b
28
+ setup(props, {
29
+ slots,
30
+ attrs,
31
+ emit,
32
+ expose
32
33
  }) {
33
- const S = X(), B = Z(() => ({})), k = de(m);
34
- return b({
35
- clearSelection: () => {
36
- S.value.clearSelection();
37
- },
38
- getSelectionRows: () => S.value.getSelectionRows(),
39
- toggleRowSelection: (...Q) => S.value.toggleRowSelection(...Q),
40
- toggleAllSelection: () => S.value.toggleAllSelection(),
41
- setCurrentRow: (...Q) => S.value.setCurrentRow(...Q),
42
- scrollTo: (...Q) => S.value.scrollTo(...Q)
43
- }), () => {
34
+ const elTableRef = ref();
35
+ const style = computed(() => {
36
+ const rowStyle = {};
37
+ return rowStyle;
38
+ });
39
+ const columns = useColumns(slots);
40
+ const clearSelection = () => {
41
+ elTableRef.value.clearSelection();
42
+ };
43
+ const getSelectionRows = () => {
44
+ return elTableRef.value.getSelectionRows();
45
+ };
46
+ const toggleRowSelection = (...args) => {
47
+ return elTableRef.value.toggleRowSelection(...args);
48
+ };
49
+ const toggleAllSelection = () => {
50
+ return elTableRef.value.toggleAllSelection();
51
+ };
52
+ const setCurrentRow = (...args) => {
53
+ return elTableRef.value.setCurrentRow(...args);
54
+ };
55
+ const scrollTo = (...args) => {
56
+ return elTableRef.value.scrollTo(...args);
57
+ };
58
+ expose({
59
+ clearSelection,
60
+ getSelectionRows,
61
+ toggleRowSelection,
62
+ toggleAllSelection,
63
+ setCurrentRow,
64
+ scrollTo
65
+ });
66
+ return () => {
67
+ const {
68
+ data
69
+ } = props;
70
+ const {
71
+ selectionMode = false
72
+ } = props;
73
+ const {
74
+ showRowNumber = true
75
+ } = props;
44
76
  const {
45
- data: Q
46
- } = r, {
47
- selectionMode: j = !1
48
- } = r, {
49
- showRowNumber: I = !0
50
- } = r, {
51
- currentRowMode: V = !1
52
- } = r, {
53
- size: L = "default"
54
- } = r, $ = ne("orion-querytable"), z = () => o(w, {
55
- type: "index",
56
- label: "No",
57
- width: 56,
58
- fixed: "left",
59
- showOverflowTooltip: !0,
60
- index: (t) => t + 1
61
- }, null), E = () => o(w, {
62
- type: "selection",
63
- width: 40,
64
- fixed: "left"
65
- }, null), Y = (t) => {
77
+ currentRowMode = false
78
+ } = props;
79
+ const {
80
+ size = "default"
81
+ } = props;
82
+ const cn = classNames("orion-querytable");
83
+ const renderIndexColumn = () => {
84
+ return createVNode(ElTableColumn, {
85
+ "type": "index",
86
+ "label": "No",
87
+ "width": 56,
88
+ "fixed": "left",
89
+ "showOverflowTooltip": true,
90
+ "index": (index) => {
91
+ return index + 1;
92
+ }
93
+ }, null);
94
+ };
95
+ const renderSelectionColumn = () => {
96
+ return createVNode(ElTableColumn, {
97
+ "type": "selection",
98
+ "width": 40,
99
+ "fixed": "left"
100
+ }, null);
101
+ };
102
+ const renderStringColumn = (column) => {
66
103
  const {
67
- name: e,
68
- head: n,
69
- headAlign: s,
70
- width: p,
71
- fixed: h
72
- } = t;
73
- return o(w, {
74
- label: n,
75
- headerAlign: s,
76
- prop: e,
77
- width: p,
78
- fixed: h,
79
- showOverflowTooltip: !0
104
+ name,
105
+ head,
106
+ headAlign,
107
+ width,
108
+ fixed
109
+ } = column;
110
+ return createVNode(ElTableColumn, {
111
+ "label": head,
112
+ "headerAlign": headAlign,
113
+ "prop": name,
114
+ "width": width,
115
+ "fixed": fixed,
116
+ "showOverflowTooltip": true
80
117
  }, null);
81
- }, F = (t) => {
118
+ };
119
+ const renderLinkColumn = (column) => {
82
120
  const {
83
- name: e,
84
- head: n,
85
- headAlign: s,
86
- width: p,
87
- fixed: h
88
- } = t;
89
- return o(w, {
90
- label: n,
91
- headerAlign: s,
92
- prop: e,
93
- width: p,
94
- fixed: h,
95
- showOverflowTooltip: !0
121
+ name,
122
+ head,
123
+ headAlign,
124
+ width,
125
+ fixed
126
+ } = column;
127
+ return createVNode(ElTableColumn, {
128
+ "label": head,
129
+ "headerAlign": headAlign,
130
+ "prop": name,
131
+ "width": width,
132
+ "fixed": fixed,
133
+ "showOverflowTooltip": true
96
134
  }, {
97
- default: (a) => {
135
+ default: (scope) => {
98
136
  const {
99
- row: d,
100
- column: u
101
- } = a;
102
- return o("span", {
103
- class: "cell-linkcolumn"
104
- }, [d[u.property]]);
137
+ row,
138
+ column: column2
139
+ } = scope;
140
+ return createVNode("span", {
141
+ "class": "cell-linkcolumn"
142
+ }, [row[column2.property]]);
105
143
  }
106
144
  });
107
- }, H = (t) => {
145
+ };
146
+ const renderNumberColumn = (column) => {
147
+ const {
148
+ name,
149
+ head,
150
+ headAlign,
151
+ width,
152
+ fixed
153
+ } = column;
108
154
  const {
109
- name: e,
110
- head: n,
111
- headAlign: s,
112
- width: p,
113
- fixed: h
114
- } = t, {
115
- thousandsSeparator: a = !0,
116
- precision: d = -1,
117
- percentage: u = !1
118
- } = t;
119
- return o(w, {
120
- label: n,
121
- headerAlign: s,
122
- align: "right",
123
- prop: e,
124
- width: p,
125
- fixed: h,
126
- showOverflowTooltip: !0
155
+ thousandsSeparator = true,
156
+ precision = -1,
157
+ percentage = false
158
+ } = column;
159
+ return createVNode(ElTableColumn, {
160
+ "label": head,
161
+ "headerAlign": headAlign,
162
+ "align": "right",
163
+ "prop": name,
164
+ "width": width,
165
+ "fixed": fixed,
166
+ "showOverflowTooltip": true
127
167
  }, {
128
- default: (g) => {
168
+ default: (scope) => {
129
169
  const {
130
- row: x,
131
- column: y
132
- } = g;
133
- return o("span", {
134
- class: "cell-numbercolumn"
135
- }, [se(x[y.property], a, d, u === !0 || u === "")]);
170
+ row,
171
+ column: column2
172
+ } = scope;
173
+ return createVNode("span", {
174
+ "class": "cell-numbercolumn"
175
+ }, [number2string(row[column2.property], thousandsSeparator, precision, percentage === true || percentage === "")]);
136
176
  }
137
177
  });
138
- }, _ = (t) => {
178
+ };
179
+ const renderDateColumn = (column) => {
139
180
  const {
140
- name: e,
141
- head: n,
142
- headAlign: s,
143
- width: p,
144
- fixed: h,
145
- sourceFormat: a,
146
- format: d = "YYYYMMDDHHmmss"
147
- } = t;
148
- return o(w, {
149
- label: n,
150
- headerAlign: s,
151
- prop: e,
152
- width: p,
153
- fixed: h,
154
- showOverflowTooltip: !0
181
+ name,
182
+ head,
183
+ headAlign,
184
+ width,
185
+ fixed,
186
+ sourceFormat,
187
+ format = "YYYYMMDDHHmmss"
188
+ } = column;
189
+ return createVNode(ElTableColumn, {
190
+ "label": head,
191
+ "headerAlign": headAlign,
192
+ "prop": name,
193
+ "width": width,
194
+ "fixed": fixed,
195
+ "showOverflowTooltip": true
155
196
  }, {
156
- default: (u) => {
197
+ default: (scope) => {
157
198
  const {
158
- row: g,
159
- column: x
160
- } = u, y = g[x.property];
161
- return y instanceof Date || ue.isDayjs(y) ? o("div", null, [R(y, d)]) : a && d ? o("div", null, [R(y, a, d)]) : o("div", null, [y]);
199
+ row,
200
+ column: column2
201
+ } = scope;
202
+ const cellValue = row[column2.property];
203
+ if (cellValue instanceof Date || dayjs.isDayjs(cellValue)) {
204
+ return createVNode("div", null, [formatDate(cellValue, format)]);
205
+ } else {
206
+ if (sourceFormat && format) {
207
+ return createVNode("div", null, [formatDate(cellValue, sourceFormat, format)]);
208
+ } else {
209
+ return createVNode("div", null, [cellValue]);
210
+ }
211
+ }
162
212
  }
163
213
  });
164
- }, G = (t) => {
214
+ };
215
+ const renderSingleSelectColumn = (column) => {
216
+ const {
217
+ name,
218
+ head,
219
+ headAlign,
220
+ width,
221
+ fixed
222
+ } = column;
165
223
  const {
166
- name: e,
167
- head: n,
168
- headAlign: s,
169
- width: p,
170
- fixed: h
171
- } = t, {
172
- code: a
173
- } = t;
174
- return o(w, {
175
- label: n,
176
- headerAlign: s,
177
- prop: e,
178
- width: p,
179
- fixed: h,
180
- showOverflowTooltip: !0
224
+ code
225
+ } = column;
226
+ return createVNode(ElTableColumn, {
227
+ "label": head,
228
+ "headerAlign": headAlign,
229
+ "prop": name,
230
+ "width": width,
231
+ "fixed": fixed,
232
+ "showOverflowTooltip": true
181
233
  }, {
182
- default: (d) => {
234
+ default: (scope) => {
183
235
  const {
184
- row: u,
185
- column: g
186
- } = d, x = u[g.property];
187
- let y, A, O;
188
- return a ? typeof a == "string" ? (y = a, A = M.getCode(y), O = N(A.value, x)) : (A = a, O = N(A, x)) : O = null, o("span", {
189
- class: "cell-singleselect"
190
- }, [O]);
236
+ row,
237
+ column: column2
238
+ } = scope;
239
+ const cellValue = row[column2.property];
240
+ let codeName, codeData, codeContent;
241
+ if (!code) {
242
+ codeContent = null;
243
+ } else if (typeof code === "string") {
244
+ codeName = code;
245
+ codeData = Throne.getCode(codeName);
246
+ codeContent = getSingleCodeContent(codeData.value, cellValue);
247
+ } else {
248
+ codeData = code;
249
+ codeContent = getSingleCodeContent(codeData, cellValue);
250
+ }
251
+ return createVNode("span", {
252
+ "class": "cell-singleselect"
253
+ }, [codeContent]);
191
254
  }
192
255
  });
193
- }, J = (t) => {
256
+ };
257
+ const renderMultiSelectColumn = (column) => {
194
258
  const {
195
- name: e,
196
- head: n,
197
- headAlign: s,
198
- width: p,
199
- fixed: h
200
- } = t, {
201
- code: a
202
- } = t;
203
- return o(w, {
204
- label: n,
205
- headerAlign: s,
206
- prop: e,
207
- width: p,
208
- fixed: h,
209
- showOverflowTooltip: !0
259
+ name,
260
+ head,
261
+ headAlign,
262
+ width,
263
+ fixed
264
+ } = column;
265
+ const {
266
+ code
267
+ } = column;
268
+ return createVNode(ElTableColumn, {
269
+ "label": head,
270
+ "headerAlign": headAlign,
271
+ "prop": name,
272
+ "width": width,
273
+ "fixed": fixed,
274
+ "showOverflowTooltip": true
210
275
  }, {
211
- default: (d) => {
276
+ default: (scope) => {
212
277
  const {
213
- row: u,
214
- column: g
215
- } = d, x = u[g.property];
216
- let y, A, O;
217
- return a ? typeof a == "string" ? (y = a, A = M.getCode(y), O = q(A.value, x)) : (A = a, O = q(A, x)) : O = null, o("span", {
218
- class: "cell-multiselect"
219
- }, [O]);
278
+ row,
279
+ column: column2
280
+ } = scope;
281
+ const cellValue = row[column2.property];
282
+ let codeName, codeData, codeContent;
283
+ if (!code) {
284
+ codeContent = null;
285
+ } else if (typeof code === "string") {
286
+ codeName = code;
287
+ codeData = Throne.getCode(codeName);
288
+ codeContent = getMultiCodeContent(codeData.value, cellValue);
289
+ } else {
290
+ codeData = code;
291
+ codeContent = getMultiCodeContent(codeData, cellValue);
292
+ }
293
+ return createVNode("span", {
294
+ "class": "cell-multiselect"
295
+ }, [codeContent]);
220
296
  }
221
297
  });
222
- }, K = (t) => {
298
+ };
299
+ const renderButtongroupColumn = (column) => {
223
300
  const {
224
- name: e,
225
- head: n,
226
- headAlign: s,
227
- width: p,
228
- fixed: h
229
- } = t;
230
- return o(w, {
231
- label: n,
232
- headerAlign: s,
233
- prop: e,
234
- width: p,
235
- fixed: h
301
+ name,
302
+ head,
303
+ headAlign,
304
+ width,
305
+ fixed
306
+ } = column;
307
+ return createVNode(ElTableColumn, {
308
+ "label": head,
309
+ "headerAlign": headAlign,
310
+ "prop": name,
311
+ "width": width,
312
+ "fixed": fixed
236
313
  }, {
237
- default: (a) => {
238
- var u, g;
239
- const d = (g = (u = t.children) == null ? void 0 : u.default) == null ? void 0 : g.call(u, {
240
- rowData: a.row,
241
- column: t,
242
- rowIndex: a.$index
314
+ default: (scope) => {
315
+ var _a, _b;
316
+ const children = (_b = (_a = column.children) == null ? void 0 : _a.default) == null ? void 0 : _b.call(_a, {
317
+ rowData: scope.row,
318
+ column,
319
+ rowIndex: scope.$index
243
320
  });
244
- return o("div", {
245
- class: "cell-buttongroup"
246
- }, [o(ie, null, pe(d) ? d : {
247
- default: () => [d]
321
+ return createVNode("div", {
322
+ "class": "cell-buttongroup"
323
+ }, [createVNode(Space, null, _isSlot$1(children) ? children : {
324
+ default: () => [children]
248
325
  })]);
249
326
  }
250
327
  });
251
- }, U = (t) => {
328
+ };
329
+ const renderColumngroupColumn = (column) => {
330
+ const {
331
+ head,
332
+ headAlign
333
+ } = column;
252
334
  const {
253
- head: e,
254
- headAlign: n
255
- } = t, {
256
- children: s
257
- } = t;
258
- return o(w, {
259
- label: e,
260
- headerAlign: n
335
+ children
336
+ } = column;
337
+ return createVNode(ElTableColumn, {
338
+ "label": head,
339
+ "headerAlign": headAlign
261
340
  }, {
262
- default: (p) => T(s)
341
+ default: (scope) => {
342
+ return renderColumns(children);
343
+ }
263
344
  });
264
- }, W = (t) => {
345
+ };
346
+ const renderDiyColumn = (column) => {
265
347
  const {
266
- name: e,
267
- head: n,
268
- headAlign: s,
269
- width: p,
270
- fixed: h
271
- } = t;
272
- return o(w, {
273
- label: n,
274
- headerAlign: s,
275
- prop: e,
276
- width: p,
277
- fixed: h
348
+ name,
349
+ head,
350
+ headAlign,
351
+ width,
352
+ fixed
353
+ } = column;
354
+ return createVNode(ElTableColumn, {
355
+ "label": head,
356
+ "headerAlign": headAlign,
357
+ "prop": name,
358
+ "width": width,
359
+ "fixed": fixed
278
360
  }, {
279
- default: (a) => {
280
- var u, g;
281
- const d = (g = (u = t.children) == null ? void 0 : u.default) == null ? void 0 : g.call(u, {
282
- rowData: a.row,
283
- column: t,
284
- rowIndex: a.$index
361
+ default: (scope) => {
362
+ var _a, _b;
363
+ const children = (_b = (_a = column.children) == null ? void 0 : _a.default) == null ? void 0 : _b.call(_a, {
364
+ rowData: scope.row,
365
+ column,
366
+ rowIndex: scope.$index
285
367
  });
286
- return o("div", {
287
- class: "cell-diy"
288
- }, [d, ee(" ")]);
368
+ return createVNode("div", {
369
+ "class": "cell-diy"
370
+ }, [children, createTextVNode(" ")]);
289
371
  }
290
372
  });
291
- }, T = (t) => t == null ? void 0 : t.map((e) => {
292
- if (e.type === "OQuerytableColumnString")
293
- return Y(e);
294
- if (e.type === "OQuerytableColumnLink")
295
- return F(e);
296
- if (e.type === "OQuerytableColumnNumber")
297
- return H(e);
298
- if (e.type === "OQuerytableColumnDate")
299
- return _(e);
300
- if (e.type === "OQuerytableColumnSingleselect")
301
- return G(e);
302
- if (e.type === "OQuerytableColumnMultiselect")
303
- return J(e);
304
- if (e.type === "OQuerytableColumnButtongroup")
305
- return K(e);
306
- if (e.type === "OQuerytableColumngroup")
307
- return U(e);
308
- if (e.type === "OQuerytableColumnDiy")
309
- return W(e);
310
- throw new ce(`OQuerytable不能正确渲染'${e.type}'子组件。`);
311
- });
312
- return o("div", {
313
- class: [$, f.class],
314
- style: [B.value, f.style]
315
- }, [o(le, {
316
- ref: S,
317
- border: !0,
318
- data: Q,
319
- height: "100%",
320
- style: {
373
+ };
374
+ const renderColumns = (columns2) => {
375
+ return columns2 == null ? void 0 : columns2.map((c) => {
376
+ if (c.type === "OQuerytableColumnString") {
377
+ return renderStringColumn(c);
378
+ } else if (c.type === "OQuerytableColumnLink") {
379
+ return renderLinkColumn(c);
380
+ } else if (c.type === "OQuerytableColumnNumber") {
381
+ return renderNumberColumn(c);
382
+ } else if (c.type === "OQuerytableColumnDate") {
383
+ return renderDateColumn(c);
384
+ } else if (c.type === "OQuerytableColumnSingleselect") {
385
+ return renderSingleSelectColumn(c);
386
+ } else if (c.type === "OQuerytableColumnMultiselect") {
387
+ return renderMultiSelectColumn(c);
388
+ } else if (c.type === "OQuerytableColumnButtongroup") {
389
+ return renderButtongroupColumn(c);
390
+ } else if (c.type === "OQuerytableColumngroup") {
391
+ return renderColumngroupColumn(c);
392
+ } else if (c.type === "OQuerytableColumnDiy") {
393
+ return renderDiyColumn(c);
394
+ } else {
395
+ throw new OrionError(`OQuerytable不能正确渲染'${c.type}'子组件。`);
396
+ }
397
+ });
398
+ };
399
+ return createVNode("div", {
400
+ "class": [cn, attrs.class],
401
+ "style": [style.value, attrs.style]
402
+ }, [createVNode(ElTable, {
403
+ "ref": elTableRef,
404
+ "border": true,
405
+ "data": data,
406
+ "height": "100%",
407
+ "style": {
321
408
  width: "100%"
322
409
  },
323
- "onSelection-change": (t) => i("selectionChange", t),
324
- "highlight-current-row": V,
325
- "onCurrent-change": (t, e) => i("currentRowChange", t, e),
326
- "onRow-click": (t, e, n) => i("rowClick", t, {
327
- name: e.property,
328
- head: e.label
329
- }, n),
330
- "onRow-dblclick": (t, e, n) => i("rowDblclick", t, {
331
- name: e.property,
332
- head: e.label
333
- }, n),
334
- "onCell-click": (t, e, n, s) => i("cellClick", t, {
335
- name: e.property,
336
- head: e.label
337
- }, n, s),
338
- "onCell-dblclick": (t, e, n, s) => i("cellDblclick", t, {
339
- name: e.property,
340
- head: e.label
341
- }, n, s),
342
- size: L
410
+ "onSelection-change": (rows) => emit("selectionChange", rows),
411
+ "highlight-current-row": currentRowMode,
412
+ "onCurrent-change": (currentRow, oldCurrentRow) => emit("currentRowChange", currentRow, oldCurrentRow),
413
+ "onRow-click": (row, column, event) => emit("rowClick", row, {
414
+ name: column.property,
415
+ head: column.label
416
+ }, event),
417
+ "onRow-dblclick": (row, column, event) => emit("rowDblclick", row, {
418
+ name: column.property,
419
+ head: column.label
420
+ }, event),
421
+ "onCell-click": (row, column, cell, event) => emit("cellClick", row, {
422
+ name: column.property,
423
+ head: column.label
424
+ }, cell, event),
425
+ "onCell-dblclick": (row, column, cell, event) => emit("cellDblclick", row, {
426
+ name: column.property,
427
+ head: column.label
428
+ }, cell, event),
429
+ "size": size
343
430
  }, {
344
- default: () => [I && z(), j && E(), T(k.value)]
431
+ default: () => [showRowNumber && renderIndexColumn(), selectionMode && renderSelectionColumn(), renderColumns(columns.value)]
345
432
  })]);
346
433
  };
347
434
  }
348
- }), fe = () => ({}), ge = /* @__PURE__ */ C({
435
+ });
436
+ const querytableColumnIndexProps = () => ({});
437
+ const QuerytableColumnIndex = /* @__PURE__ */ defineComponent({
349
438
  name: "OQuerytableColumnIndex",
350
- inheritAttrs: !1,
351
- props: fe(),
352
- setup(r, {
353
- slots: m,
354
- attrs: f,
355
- emit: i,
356
- expose: b
439
+ inheritAttrs: false,
440
+ props: querytableColumnIndexProps(),
441
+ setup(props, {
442
+ slots,
443
+ attrs,
444
+ emit,
445
+ expose
357
446
  }) {
358
447
  return () => null;
359
448
  }
360
- }), ye = () => ({
361
- head: l(),
362
- headAlign: l(),
363
- name: l(),
364
- width: c([Boolean, String]),
365
- fixed: c([Boolean, String])
366
- }), be = /* @__PURE__ */ C({
449
+ });
450
+ const querytableColumnStringProps = () => ({
451
+ head: stringType(),
452
+ headAlign: stringType(),
453
+ name: stringType(),
454
+ width: someType([Boolean, String]),
455
+ fixed: someType([Boolean, String])
456
+ });
457
+ const QuerytableColumnString = /* @__PURE__ */ defineComponent({
367
458
  name: "OQuerytableColumnString",
368
- inheritAttrs: !1,
369
- props: ye(),
370
- setup(r, {
371
- slots: m,
372
- attrs: f,
373
- emit: i,
374
- expose: b
459
+ inheritAttrs: false,
460
+ props: querytableColumnStringProps(),
461
+ setup(props, {
462
+ slots,
463
+ attrs,
464
+ emit,
465
+ expose
375
466
  }) {
376
467
  return () => null;
377
468
  }
378
- }), Ce = () => ({
379
- head: l(),
380
- headAlign: l(),
381
- name: l(),
382
- width: c([Boolean, String]),
383
- fixed: c([Boolean, String])
384
- }), we = /* @__PURE__ */ C({
469
+ });
470
+ const querytableColumnLinkProps = () => ({
471
+ head: stringType(),
472
+ headAlign: stringType(),
473
+ name: stringType(),
474
+ width: someType([Boolean, String]),
475
+ fixed: someType([Boolean, String])
476
+ });
477
+ const QuerytableColumnLink = /* @__PURE__ */ defineComponent({
385
478
  name: "OQuerytableColumnLink",
386
- inheritAttrs: !1,
387
- props: Ce(),
388
- setup(r, {
389
- slots: m,
390
- attrs: f,
391
- emit: i,
392
- expose: b
479
+ inheritAttrs: false,
480
+ props: querytableColumnLinkProps(),
481
+ setup(props, {
482
+ slots,
483
+ attrs,
484
+ emit,
485
+ expose
393
486
  }) {
394
487
  return () => null;
395
488
  }
396
- }), Se = () => ({
397
- head: l(),
398
- headAlign: l(),
399
- name: l(),
400
- width: c([Boolean, String]),
401
- fixed: c([Boolean, String]),
402
- thousandsSeparator: v(!0),
403
- precision: ae(-1),
404
- percentage: v(!1)
405
- }), xe = /* @__PURE__ */ C({
489
+ });
490
+ const querytableColumnNumberProps = () => ({
491
+ head: stringType(),
492
+ headAlign: stringType(),
493
+ name: stringType(),
494
+ width: someType([Boolean, String]),
495
+ fixed: someType([Boolean, String]),
496
+ thousandsSeparator: booleanType(true),
497
+ precision: numberType(-1),
498
+ percentage: booleanType(false)
499
+ });
500
+ const QuerytableColumnNumber = /* @__PURE__ */ defineComponent({
406
501
  name: "OQuerytableColumnNumber",
407
- inheritAttrs: !1,
408
- props: Se(),
409
- setup(r, {
410
- slots: m,
411
- attrs: f,
412
- emit: i,
413
- expose: b
502
+ inheritAttrs: false,
503
+ props: querytableColumnNumberProps(),
504
+ setup(props, {
505
+ slots,
506
+ attrs,
507
+ emit,
508
+ expose
414
509
  }) {
415
510
  return () => null;
416
511
  }
417
- }), Ae = () => ({
418
- head: l(),
419
- headAlign: l(),
420
- name: l(),
421
- width: c([Boolean, String]),
422
- fixed: c([Boolean, String]),
512
+ });
513
+ const querytableColumnDateProps = () => ({
514
+ head: stringType(),
515
+ headAlign: stringType(),
516
+ name: stringType(),
517
+ width: someType([Boolean, String]),
518
+ fixed: someType([Boolean, String]),
423
519
  // Date
424
- format: l(),
425
- sourceFormat: l()
426
- }), Oe = /* @__PURE__ */ C({
520
+ format: stringType(),
521
+ sourceFormat: stringType()
522
+ });
523
+ const QuerytableColumnDate = /* @__PURE__ */ defineComponent({
427
524
  name: "OQuerytableColumnDate",
428
- inheritAttrs: !1,
429
- props: Ae(),
430
- setup(r, {
431
- slots: m,
432
- attrs: f,
433
- emit: i,
434
- expose: b
525
+ inheritAttrs: false,
526
+ props: querytableColumnDateProps(),
527
+ setup(props, {
528
+ slots,
529
+ attrs,
530
+ emit,
531
+ expose
435
532
  }) {
436
533
  return () => null;
437
534
  }
438
- }), Qe = () => ({
439
- head: l(),
440
- headAlign: l(),
441
- name: l(),
442
- width: c([Boolean, String]),
443
- fixed: c([Boolean, String]),
444
- code: c([String, Array])
445
- }), Be = /* @__PURE__ */ C({
535
+ });
536
+ const querytableColumnSingleselectProps = () => ({
537
+ head: stringType(),
538
+ headAlign: stringType(),
539
+ name: stringType(),
540
+ width: someType([Boolean, String]),
541
+ fixed: someType([Boolean, String]),
542
+ code: someType([String, Array])
543
+ });
544
+ const QuerytableColumnSingleselect = /* @__PURE__ */ defineComponent({
446
545
  name: "OQuerytableColumnSingleselect",
447
- inheritAttrs: !1,
448
- props: Qe(),
449
- setup(r, {
450
- slots: m,
451
- attrs: f,
452
- emit: i,
453
- expose: b
546
+ inheritAttrs: false,
547
+ props: querytableColumnSingleselectProps(),
548
+ setup(props, {
549
+ slots,
550
+ attrs,
551
+ emit,
552
+ expose
454
553
  }) {
455
554
  return () => null;
456
555
  }
457
- }), ke = () => ({
458
- head: l(),
459
- headAlign: l(),
460
- name: l(),
461
- width: c([Boolean, String]),
462
- fixed: c([Boolean, String]),
463
- code: c([String, Array])
464
- }), ve = /* @__PURE__ */ C({
556
+ });
557
+ const querytableColumnMultiselectProps = () => ({
558
+ head: stringType(),
559
+ headAlign: stringType(),
560
+ name: stringType(),
561
+ width: someType([Boolean, String]),
562
+ fixed: someType([Boolean, String]),
563
+ code: someType([String, Array])
564
+ });
565
+ const QuerytableColumnMultiselect = /* @__PURE__ */ defineComponent({
465
566
  name: "OQuerytableColumnMultiselect",
466
- inheritAttrs: !1,
467
- props: ke(),
468
- setup(r, {
469
- slots: m,
470
- attrs: f,
471
- emit: i,
472
- expose: b
567
+ inheritAttrs: false,
568
+ props: querytableColumnMultiselectProps(),
569
+ setup(props, {
570
+ slots,
571
+ attrs,
572
+ emit,
573
+ expose
473
574
  }) {
474
575
  return () => null;
475
576
  }
476
- }), De = () => ({
477
- head: l(),
478
- headAlign: l(),
479
- name: l(),
480
- width: c([Boolean, String]),
481
- fixed: c([Boolean, String])
482
- }), Te = /* @__PURE__ */ C({
577
+ });
578
+ const querytableColumnButtongroupProps = () => ({
579
+ head: stringType(),
580
+ headAlign: stringType(),
581
+ name: stringType(),
582
+ width: someType([Boolean, String]),
583
+ fixed: someType([Boolean, String])
584
+ });
585
+ const QuerytableColumnButtongroup = /* @__PURE__ */ defineComponent({
483
586
  name: "OQuerytableColumnButtongroup",
484
- inheritAttrs: !1,
485
- props: De(),
587
+ inheritAttrs: false,
588
+ props: querytableColumnButtongroupProps(),
486
589
  slots: Object,
487
- setup(r, {
488
- slots: m,
489
- attrs: f,
490
- emit: i,
491
- expose: b
590
+ setup(props, {
591
+ slots,
592
+ attrs,
593
+ emit,
594
+ expose
492
595
  }) {
493
596
  return () => null;
494
597
  }
495
598
  });
496
- function Re(r) {
497
- return typeof r == "function" || Object.prototype.toString.call(r) === "[object Object]" && !P(r);
599
+ function _isSlot(s) {
600
+ return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
498
601
  }
499
- const Ne = () => ({
500
- type: l()
501
- }), qe = /* @__PURE__ */ C({
602
+ const querytableCellButtonProps = () => ({
603
+ type: stringType()
604
+ });
605
+ const QuerytableCellButton = /* @__PURE__ */ defineComponent({
502
606
  name: "OQuerytableCellButton",
503
- inheritAttrs: !1,
504
- props: Ne(),
607
+ inheritAttrs: false,
608
+ props: querytableCellButtonProps(),
505
609
  emits: ["click"],
506
- setup(r, {
507
- slots: m,
508
- attrs: f,
509
- emit: i,
510
- expose: b
610
+ setup(props, {
611
+ slots,
612
+ attrs,
613
+ emit,
614
+ expose
511
615
  }) {
512
- const S = (B) => {
513
- i("click", B);
616
+ const handleClick = (event) => {
617
+ emit("click", event);
514
618
  };
515
619
  return () => {
516
- var D;
620
+ var _a;
517
621
  const {
518
- type: B
519
- } = r, k = (D = m.default) == null ? void 0 : D.call(m);
520
- return o(re, {
521
- link: !0,
522
- type: B,
523
- size: "small",
524
- onClick: S
525
- }, Re(k) ? k : {
526
- default: () => [k]
622
+ type
623
+ } = props;
624
+ const children = (_a = slots.default) == null ? void 0 : _a.call(slots);
625
+ return createVNode(ElButton, {
626
+ "link": true,
627
+ "type": type,
628
+ "size": "small",
629
+ "onClick": handleClick
630
+ }, _isSlot(children) ? children : {
631
+ default: () => [children]
527
632
  });
528
633
  };
529
634
  }
530
- }), Me = () => ({
531
- head: l(),
532
- headAlign: l()
533
- }), Pe = /* @__PURE__ */ C({
635
+ });
636
+ const querytableColumngroupProps = () => ({
637
+ head: stringType(),
638
+ headAlign: stringType()
639
+ });
640
+ const QuerytableColumngroup = /* @__PURE__ */ defineComponent({
534
641
  name: "OQuerytableColumngroup",
535
- inheritAttrs: !1,
536
- props: Me(),
537
- setup(r, {
538
- slots: m,
539
- attrs: f,
540
- emit: i,
541
- expose: b
642
+ inheritAttrs: false,
643
+ props: querytableColumngroupProps(),
644
+ setup(props, {
645
+ slots,
646
+ attrs,
647
+ emit,
648
+ expose
542
649
  }) {
543
650
  return () => null;
544
651
  }
545
- }), je = () => ({
546
- head: l(),
547
- headAlign: l(),
548
- name: l(),
549
- width: c([Boolean, String]),
550
- fixed: c([Boolean, String])
551
- }), Ie = /* @__PURE__ */ C({
652
+ });
653
+ const querytableColumnDiyProps = () => ({
654
+ head: stringType(),
655
+ headAlign: stringType(),
656
+ name: stringType(),
657
+ width: someType([Boolean, String]),
658
+ fixed: someType([Boolean, String])
659
+ });
660
+ const QuerytableColumnDiy = /* @__PURE__ */ defineComponent({
552
661
  name: "OQuerytableColumnDiy",
553
- inheritAttrs: !1,
554
- props: je(),
662
+ inheritAttrs: false,
663
+ props: querytableColumnDiyProps(),
555
664
  slots: Object,
556
- setup(r, {
557
- slots: m,
558
- attrs: f,
559
- emit: i,
560
- expose: b
665
+ setup(props, {
666
+ slots,
667
+ attrs,
668
+ emit,
669
+ expose
561
670
  }) {
562
671
  return () => null;
563
672
  }
564
- }), tt = te(he, {
565
- QuerytableColumnIndex: ge,
566
- QuerytableColumnString: be,
567
- QuerytableColumnLink: we,
568
- QuerytableColumnNumber: xe,
569
- QuerytableColumnDate: Oe,
570
- QuerytableColumnSingleselect: Be,
571
- QuerytableColumnMultiselect: ve,
572
- QuerytableColumnButtongroup: Te,
573
- QuerytableCellButton: qe,
574
- QuerytableColumngroup: Pe,
575
- QuerytableColumnDiy: Ie
673
+ });
674
+ const Querytable = withInstall(Querytable$1, {
675
+ QuerytableColumnIndex,
676
+ QuerytableColumnString,
677
+ QuerytableColumnLink,
678
+ QuerytableColumnNumber,
679
+ QuerytableColumnDate,
680
+ QuerytableColumnSingleselect,
681
+ QuerytableColumnMultiselect,
682
+ QuerytableColumnButtongroup,
683
+ QuerytableCellButton,
684
+ QuerytableColumngroup,
685
+ QuerytableColumnDiy
576
686
  });
577
687
  export {
578
- tt as default
688
+ Querytable as default
579
689
  };
580
690
  //# sourceMappingURL=index.js.map