orion-design 0.1.31 → 0.1.32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (211) hide show
  1. package/README.md +5 -5
  2. package/dist/Throne/index.js +14 -30
  3. package/dist/Throne/index.js.map +1 -1
  4. package/dist/components/Button/index.js +33 -40
  5. package/dist/components/Button/index.js.map +1 -1
  6. package/dist/components/Flex/index.js +89 -122
  7. package/dist/components/Flex/index.js.map +1 -1
  8. package/dist/components/Form/Form.js +2 -2
  9. package/dist/components/Form/Form.js.map +1 -1
  10. package/dist/components/Form/LovInput/LovInput.js +2 -2
  11. package/dist/components/Form/LovInput/LovInput.js.map +1 -1
  12. package/dist/components/Form/LovInput/hooks/useLov.js +5 -5
  13. package/dist/components/Form/LovInput/hooks/useLov.js.map +1 -1
  14. package/dist/components/Form/LovInput/index.js +4 -4
  15. package/dist/components/Form/hooks/FormItemValidateTrigger.js +2 -2
  16. package/dist/components/Form/hooks/FormItemValidateTrigger.js.map +1 -1
  17. package/dist/components/Form/hooks/index.js +68 -127
  18. package/dist/components/Form/hooks/index.js.map +1 -1
  19. package/dist/components/Form/index.js +656 -836
  20. package/dist/components/Form/index.js.map +1 -1
  21. package/dist/components/Form/utils/index.js +18 -30
  22. package/dist/components/Form/utils/index.js.map +1 -1
  23. package/dist/components/LovTable/LovPagetable.vue.d.ts +492 -0
  24. package/dist/components/LovTable/index.d.ts +246 -0
  25. package/dist/components/LovTable/index.js +106 -179
  26. package/dist/components/LovTable/index.js.map +1 -1
  27. package/dist/components/Modal/index.js +56 -111
  28. package/dist/components/Modal/index.js.map +1 -1
  29. package/dist/components/Modal/types.d.ts +1 -1
  30. package/dist/components/Modal/types.js +3 -4
  31. package/dist/components/Modal/types.js.map +1 -1
  32. package/dist/components/Modal/useModal.js +5 -5
  33. package/dist/components/Modal/useModal.js.map +1 -1
  34. package/dist/components/Pagetable/Pagetable.d.ts +92 -1
  35. package/dist/components/Pagetable/columns/PagetableColumnButtongroup.d.ts +13 -0
  36. package/dist/components/Pagetable/columns/PagetableColumnDate.d.ts +13 -0
  37. package/dist/components/Pagetable/columns/PagetableColumnLink.d.ts +13 -0
  38. package/dist/components/Pagetable/columns/PagetableColumnMultiselect.d.ts +13 -0
  39. package/dist/components/Pagetable/columns/PagetableColumnNumber.d.ts +13 -0
  40. package/dist/components/Pagetable/columns/PagetableColumnSingleselect.d.ts +13 -0
  41. package/dist/components/Pagetable/columns/PagetableColumnString.d.ts +13 -0
  42. package/dist/components/Pagetable/hooks/useColumns.js +85 -88
  43. package/dist/components/Pagetable/hooks/useColumns.js.map +1 -1
  44. package/dist/components/Pagetable/index.d.ts +155 -0
  45. package/dist/components/Pagetable/index.js +596 -683
  46. package/dist/components/Pagetable/index.js.map +1 -1
  47. package/dist/components/Pagetable/utils/index.js +54 -92
  48. package/dist/components/Pagetable/utils/index.js.map +1 -1
  49. package/dist/components/Querytable/hooks/useColumns.js +74 -82
  50. package/dist/components/Querytable/hooks/useColumns.js.map +1 -1
  51. package/dist/components/Querytable/index.js +469 -579
  52. package/dist/components/Querytable/index.js.map +1 -1
  53. package/dist/components/Querytable/utils/index.js +54 -92
  54. package/dist/components/Querytable/utils/index.js.map +1 -1
  55. package/dist/components/RichTextEditor/index.js +74 -100
  56. package/dist/components/RichTextEditor/index.js.map +1 -1
  57. package/dist/components/Tabs/constants.js +2 -2
  58. package/dist/components/Tabs/constants.js.map +1 -1
  59. package/dist/components/Tabs/index.js +358 -603
  60. package/dist/components/Tabs/index.js.map +1 -1
  61. package/dist/components/Tabs/tab-bar.js +6 -6
  62. package/dist/components/Tabs/tab-bar.js.map +1 -1
  63. package/dist/components/Tabs/tab-pane.js +3 -3
  64. package/dist/components/Tabs/tab-pane.js.map +1 -1
  65. package/dist/components/_constants/aria.js +2 -2
  66. package/dist/components/_constants/aria.js.map +1 -1
  67. package/dist/components/_constants/event.js +4 -6
  68. package/dist/components/_constants/event.js.map +1 -1
  69. package/dist/components/_constants/index.js +6 -6
  70. package/dist/components/_hooks/index.js +7 -7
  71. package/dist/components/_hooks/use-namespace/index.js +39 -74
  72. package/dist/components/_hooks/use-namespace/index.js.map +1 -1
  73. package/dist/components/_hooks/use-ordered-children/index.js +19 -29
  74. package/dist/components/_hooks/use-ordered-children/index.js.map +1 -1
  75. package/dist/components/_util/arrays.js +5 -9
  76. package/dist/components/_util/arrays.js.map +1 -1
  77. package/dist/components/_util/browser.js +6 -6
  78. package/dist/components/_util/browser.js.map +1 -1
  79. package/dist/components/_util/classNames.js +17 -22
  80. package/dist/components/_util/classNames.js.map +1 -1
  81. package/dist/components/_util/dom/aria.js +39 -74
  82. package/dist/components/_util/dom/aria.js.map +1 -1
  83. package/dist/components/_util/dom/element.js +8 -9
  84. package/dist/components/_util/dom/element.js.map +1 -1
  85. package/dist/components/_util/dom/event.js +7 -14
  86. package/dist/components/_util/dom/event.js.map +1 -1
  87. package/dist/components/_util/dom/index.js +36 -36
  88. package/dist/components/_util/dom/position.js +25 -49
  89. package/dist/components/_util/dom/position.js.map +1 -1
  90. package/dist/components/_util/dom/scroll.js +61 -103
  91. package/dist/components/_util/dom/scroll.js.map +1 -1
  92. package/dist/components/_util/dom/style.js +50 -65
  93. package/dist/components/_util/dom/style.js.map +1 -1
  94. package/dist/components/_util/easings.js +4 -8
  95. package/dist/components/_util/easings.js.map +1 -1
  96. package/dist/components/_util/error.js +11 -12
  97. package/dist/components/_util/error.js.map +1 -1
  98. package/dist/components/_util/functions.js +3 -3
  99. package/dist/components/_util/i18n.js +2 -2
  100. package/dist/components/_util/i18n.js.map +1 -1
  101. package/dist/components/_util/index.js +137 -137
  102. package/dist/components/_util/isValid.js +2 -4
  103. package/dist/components/_util/isValid.js.map +1 -1
  104. package/dist/components/_util/objects.js +14 -18
  105. package/dist/components/_util/objects.js.map +1 -1
  106. package/dist/components/_util/props-util/index.js +20 -46
  107. package/dist/components/_util/props-util/index.js.map +1 -1
  108. package/dist/components/_util/props-util/initDefaultProps.js +10 -18
  109. package/dist/components/_util/props-util/initDefaultProps.js.map +1 -1
  110. package/dist/components/_util/raf.js +4 -5
  111. package/dist/components/_util/raf.js.map +1 -1
  112. package/dist/components/_util/rand.js +3 -4
  113. package/dist/components/_util/rand.js.map +1 -1
  114. package/dist/components/_util/strings.js +8 -9
  115. package/dist/components/_util/strings.js.map +1 -1
  116. package/dist/components/_util/throttleByRaf.js +10 -16
  117. package/dist/components/_util/throttleByRaf.js.map +1 -1
  118. package/dist/components/_util/type.js +38 -41
  119. package/dist/components/_util/type.js.map +1 -1
  120. package/dist/components/_util/types.js +22 -41
  121. package/dist/components/_util/types.js.map +1 -1
  122. package/dist/components/_util/typescript.js +2 -2
  123. package/dist/components/_util/typescript.js.map +1 -1
  124. package/dist/components/_util/util.js +43 -85
  125. package/dist/components/_util/util.js.map +1 -1
  126. package/dist/components/_util/vue/global-node.js +15 -27
  127. package/dist/components/_util/vue/global-node.js.map +1 -1
  128. package/dist/components/_util/vue/icon.js +25 -29
  129. package/dist/components/_util/vue/icon.js.map +1 -1
  130. package/dist/components/_util/vue/index.js +41 -41
  131. package/dist/components/_util/vue/install.js +18 -35
  132. package/dist/components/_util/vue/install.js.map +1 -1
  133. package/dist/components/_util/vue/props/index.js +6 -6
  134. package/dist/components/_util/vue/props/runtime.js +30 -46
  135. package/dist/components/_util/vue/props/runtime.js.map +1 -1
  136. package/dist/components/_util/vue/refs.js +6 -12
  137. package/dist/components/_util/vue/refs.js.map +1 -1
  138. package/dist/components/_util/vue/size.js +3 -5
  139. package/dist/components/_util/vue/size.js.map +1 -1
  140. package/dist/components/_util/vue/validator.js +4 -5
  141. package/dist/components/_util/vue/validator.js.map +1 -1
  142. package/dist/components/_util/vue/vnode.js +54 -100
  143. package/dist/components/_util/vue/vnode.js.map +1 -1
  144. package/dist/components/_util/vue-types/index.js +220 -231
  145. package/dist/components/_util/vue-types/index.js.map +1 -1
  146. package/dist/components/components.js +20 -20
  147. package/dist/components/index.js +35 -38
  148. package/dist/components/index.js.map +1 -1
  149. package/dist/error/OrionError.js +4 -8
  150. package/dist/error/OrionError.js.map +1 -1
  151. package/dist/index.css +1 -797
  152. package/dist/index.js +36 -36
  153. package/dist/print/LodopFuncs.js +43 -101
  154. package/dist/print/LodopFuncs.js.map +1 -1
  155. package/dist/print/index.js +108 -200
  156. package/dist/print/index.js.map +1 -1
  157. package/dist/request/ErrorHandlerChain.js +14 -17
  158. package/dist/request/ErrorHandlerChain.js.map +1 -1
  159. package/dist/request/RequestFilterChain.js +13 -16
  160. package/dist/request/RequestFilterChain.js.map +1 -1
  161. package/dist/request/ResponseParserChain.js +14 -17
  162. package/dist/request/ResponseParserChain.js.map +1 -1
  163. package/dist/request/disivion/DateSerializer.js +22 -47
  164. package/dist/request/disivion/DateSerializer.js.map +1 -1
  165. package/dist/request/disivion/DivisionErrorHandler.js +25 -40
  166. package/dist/request/disivion/DivisionErrorHandler.js.map +1 -1
  167. package/dist/request/disivion/DivisionResponseParser.js +10 -16
  168. package/dist/request/disivion/DivisionResponseParser.js.map +1 -1
  169. package/dist/request/disivion/index.js +201 -305
  170. package/dist/request/disivion/index.js.map +1 -1
  171. package/dist/request/error/BizExceptionResponseError.js +5 -11
  172. package/dist/request/error/BizExceptionResponseError.js.map +1 -1
  173. package/dist/request/error/ExceptionResponseError.js +5 -11
  174. package/dist/request/error/ExceptionResponseError.js.map +1 -1
  175. package/dist/request/error/ResponseError.js +4 -9
  176. package/dist/request/error/ResponseError.js.map +1 -1
  177. package/dist/request/error/SessionExceptionResponseError.js +5 -11
  178. package/dist/request/error/SessionExceptionResponseError.js.map +1 -1
  179. package/dist/request/index.js +11 -11
  180. package/dist/utils/DateUtil.js +33 -48
  181. package/dist/utils/DateUtil.js.map +1 -1
  182. package/dist/utils/NumberUtil.js +6 -6
  183. package/dist/utils/NumberUtil.js.map +1 -1
  184. package/dist/utils/cloneDeep.js +2 -2
  185. package/dist/utils/delay.js +3 -3
  186. package/dist/utils/delay.js.map +1 -1
  187. package/dist/utils/functions.js +3 -3
  188. package/dist/utils/index.js +12 -12
  189. package/dist/utils/md5.js +93 -191
  190. package/dist/utils/md5.js.map +1 -1
  191. package/dist/utils/uuid.js +25 -35
  192. package/dist/utils/uuid.js.map +1 -1
  193. package/dist/version/index.js +2 -2
  194. package/dist/version/version.d.ts +1 -1
  195. package/dist/version/version.js +2 -2
  196. package/dist/version/version.js.map +1 -1
  197. package/package.json +1 -1
  198. package/dist/_commonjsHelpers-DWwsNxpa.js +0 -9
  199. package/dist/_commonjsHelpers-DWwsNxpa.js.map +0 -1
  200. package/dist/components-B3d9m_tn.js +0 -27
  201. package/dist/components-B3d9m_tn.js.map +0 -1
  202. package/dist/functions-BeMkokbY.js +0 -63
  203. package/dist/functions-BeMkokbY.js.map +0 -1
  204. package/dist/index-BOKLZnqH.js +0 -54
  205. package/dist/index-BOKLZnqH.js.map +0 -1
  206. package/dist/index-D1m0KTpK.js +0 -69
  207. package/dist/index-D1m0KTpK.js.map +0 -1
  208. package/dist/index-DR5ZP7mD.js +0 -160
  209. package/dist/index-DR5ZP7mD.js.map +0 -1
  210. package/dist/index-DkwIULcN.js +0 -200
  211. package/dist/index-DkwIULcN.js.map +0 -1
@@ -1,690 +1,580 @@
1
1
  import "lodash-es";
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);
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);
15
15
  }
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({
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({
24
23
  name: "OQuerytable",
25
- inheritAttrs: false,
26
- props: querytableProps(),
24
+ inheritAttrs: !1,
25
+ props: me(),
27
26
  emits: ["selectionChange", "currentRowChange", "rowClick", "rowDblclick", "cellClick", "cellDblclick"],
28
- setup(props, {
29
- slots,
30
- attrs,
31
- emit,
32
- expose
27
+ setup(r, {
28
+ slots: m,
29
+ attrs: f,
30
+ emit: i,
31
+ expose: b
33
32
  }) {
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;
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
+ }), () => {
76
44
  const {
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) => {
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) => {
103
66
  const {
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
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
117
80
  }, null);
118
- };
119
- const renderLinkColumn = (column) => {
81
+ }, F = (t) => {
120
82
  const {
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
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
134
96
  }, {
135
- default: (scope) => {
97
+ default: (a) => {
136
98
  const {
137
- row,
138
- column: column2
139
- } = scope;
140
- return createVNode("span", {
141
- "class": "cell-linkcolumn"
142
- }, [row[column2.property]]);
99
+ row: d,
100
+ column: u
101
+ } = a;
102
+ return o("span", {
103
+ class: "cell-linkcolumn"
104
+ }, [d[u.property]]);
143
105
  }
144
106
  });
145
- };
146
- const renderNumberColumn = (column) => {
147
- const {
148
- name,
149
- head,
150
- headAlign,
151
- width,
152
- fixed
153
- } = column;
107
+ }, H = (t) => {
154
108
  const {
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
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
167
127
  }, {
168
- default: (scope) => {
128
+ default: (g) => {
169
129
  const {
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 === "")]);
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 === "")]);
176
136
  }
177
137
  });
178
- };
179
- const renderDateColumn = (column) => {
138
+ }, _ = (t) => {
180
139
  const {
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
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
196
155
  }, {
197
- default: (scope) => {
156
+ default: (u) => {
198
157
  const {
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
- }
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]);
212
162
  }
213
163
  });
214
- };
215
- const renderSingleSelectColumn = (column) => {
216
- const {
217
- name,
218
- head,
219
- headAlign,
220
- width,
221
- fixed
222
- } = column;
164
+ }, G = (t) => {
223
165
  const {
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
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
233
181
  }, {
234
- default: (scope) => {
182
+ default: (d) => {
235
183
  const {
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]);
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]);
254
191
  }
255
192
  });
256
- };
257
- const renderMultiSelectColumn = (column) => {
193
+ }, J = (t) => {
258
194
  const {
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
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
275
210
  }, {
276
- default: (scope) => {
211
+ default: (d) => {
277
212
  const {
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]);
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]);
296
220
  }
297
221
  });
298
- };
299
- const renderButtongroupColumn = (column) => {
222
+ }, K = (t) => {
300
223
  const {
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
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
313
236
  }, {
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
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
320
243
  });
321
- return createVNode("div", {
322
- "class": "cell-buttongroup"
323
- }, [createVNode(Space, null, _isSlot$1(children) ? children : {
324
- default: () => [children]
244
+ return o("div", {
245
+ class: "cell-buttongroup"
246
+ }, [o(ie, null, pe(d) ? d : {
247
+ default: () => [d]
325
248
  })]);
326
249
  }
327
250
  });
328
- };
329
- const renderColumngroupColumn = (column) => {
330
- const {
331
- head,
332
- headAlign
333
- } = column;
251
+ }, U = (t) => {
334
252
  const {
335
- children
336
- } = column;
337
- return createVNode(ElTableColumn, {
338
- "label": head,
339
- "headerAlign": headAlign
253
+ head: e,
254
+ headAlign: n
255
+ } = t, {
256
+ children: s
257
+ } = t;
258
+ return o(w, {
259
+ label: e,
260
+ headerAlign: n
340
261
  }, {
341
- default: (scope) => {
342
- return renderColumns(children);
343
- }
262
+ default: (p) => T(s)
344
263
  });
345
- };
346
- const renderDiyColumn = (column) => {
264
+ }, W = (t) => {
347
265
  const {
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
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
360
278
  }, {
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
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
367
285
  });
368
- return createVNode("div", {
369
- "class": "cell-diy"
370
- }, [children, createTextVNode(" ")]);
371
- }
372
- });
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}'子组件。`);
286
+ return o("div", {
287
+ class: "cell-diy"
288
+ }, [d, ee(" ")]);
396
289
  }
397
290
  });
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": {
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: {
408
321
  width: "100%"
409
322
  },
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
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
430
343
  }, {
431
- default: () => [showRowNumber && renderIndexColumn(), selectionMode && renderSelectionColumn(), renderColumns(columns.value)]
344
+ default: () => [I && z(), j && E(), T(k.value)]
432
345
  })]);
433
346
  };
434
347
  }
435
- });
436
- const querytableColumnIndexProps = () => ({});
437
- const QuerytableColumnIndex = /* @__PURE__ */ defineComponent({
348
+ }), fe = () => ({}), ge = /* @__PURE__ */ C({
438
349
  name: "OQuerytableColumnIndex",
439
- inheritAttrs: false,
440
- props: querytableColumnIndexProps(),
441
- setup(props, {
442
- slots,
443
- attrs,
444
- emit,
445
- expose
350
+ inheritAttrs: !1,
351
+ props: fe(),
352
+ setup(r, {
353
+ slots: m,
354
+ attrs: f,
355
+ emit: i,
356
+ expose: b
446
357
  }) {
447
358
  return () => null;
448
359
  }
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({
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({
458
367
  name: "OQuerytableColumnString",
459
- inheritAttrs: false,
460
- props: querytableColumnStringProps(),
461
- setup(props, {
462
- slots,
463
- attrs,
464
- emit,
465
- expose
368
+ inheritAttrs: !1,
369
+ props: ye(),
370
+ setup(r, {
371
+ slots: m,
372
+ attrs: f,
373
+ emit: i,
374
+ expose: b
466
375
  }) {
467
376
  return () => null;
468
377
  }
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({
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({
478
385
  name: "OQuerytableColumnLink",
479
- inheritAttrs: false,
480
- props: querytableColumnLinkProps(),
481
- setup(props, {
482
- slots,
483
- attrs,
484
- emit,
485
- expose
386
+ inheritAttrs: !1,
387
+ props: Ce(),
388
+ setup(r, {
389
+ slots: m,
390
+ attrs: f,
391
+ emit: i,
392
+ expose: b
486
393
  }) {
487
394
  return () => null;
488
395
  }
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({
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({
501
406
  name: "OQuerytableColumnNumber",
502
- inheritAttrs: false,
503
- props: querytableColumnNumberProps(),
504
- setup(props, {
505
- slots,
506
- attrs,
507
- emit,
508
- expose
407
+ inheritAttrs: !1,
408
+ props: Se(),
409
+ setup(r, {
410
+ slots: m,
411
+ attrs: f,
412
+ emit: i,
413
+ expose: b
509
414
  }) {
510
415
  return () => null;
511
416
  }
512
- });
513
- const querytableColumnDateProps = () => ({
514
- head: stringType(),
515
- headAlign: stringType(),
516
- name: stringType(),
517
- width: someType([Boolean, String]),
518
- fixed: someType([Boolean, String]),
417
+ }), Ae = () => ({
418
+ head: l(),
419
+ headAlign: l(),
420
+ name: l(),
421
+ width: c([Boolean, String]),
422
+ fixed: c([Boolean, String]),
519
423
  // Date
520
- format: stringType(),
521
- sourceFormat: stringType()
522
- });
523
- const QuerytableColumnDate = /* @__PURE__ */ defineComponent({
424
+ format: l(),
425
+ sourceFormat: l()
426
+ }), Oe = /* @__PURE__ */ C({
524
427
  name: "OQuerytableColumnDate",
525
- inheritAttrs: false,
526
- props: querytableColumnDateProps(),
527
- setup(props, {
528
- slots,
529
- attrs,
530
- emit,
531
- expose
428
+ inheritAttrs: !1,
429
+ props: Ae(),
430
+ setup(r, {
431
+ slots: m,
432
+ attrs: f,
433
+ emit: i,
434
+ expose: b
532
435
  }) {
533
436
  return () => null;
534
437
  }
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({
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({
545
446
  name: "OQuerytableColumnSingleselect",
546
- inheritAttrs: false,
547
- props: querytableColumnSingleselectProps(),
548
- setup(props, {
549
- slots,
550
- attrs,
551
- emit,
552
- expose
447
+ inheritAttrs: !1,
448
+ props: Qe(),
449
+ setup(r, {
450
+ slots: m,
451
+ attrs: f,
452
+ emit: i,
453
+ expose: b
553
454
  }) {
554
455
  return () => null;
555
456
  }
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({
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({
566
465
  name: "OQuerytableColumnMultiselect",
567
- inheritAttrs: false,
568
- props: querytableColumnMultiselectProps(),
569
- setup(props, {
570
- slots,
571
- attrs,
572
- emit,
573
- expose
466
+ inheritAttrs: !1,
467
+ props: ke(),
468
+ setup(r, {
469
+ slots: m,
470
+ attrs: f,
471
+ emit: i,
472
+ expose: b
574
473
  }) {
575
474
  return () => null;
576
475
  }
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({
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({
586
483
  name: "OQuerytableColumnButtongroup",
587
- inheritAttrs: false,
588
- props: querytableColumnButtongroupProps(),
484
+ inheritAttrs: !1,
485
+ props: De(),
589
486
  slots: Object,
590
- setup(props, {
591
- slots,
592
- attrs,
593
- emit,
594
- expose
487
+ setup(r, {
488
+ slots: m,
489
+ attrs: f,
490
+ emit: i,
491
+ expose: b
595
492
  }) {
596
493
  return () => null;
597
494
  }
598
495
  });
599
- function _isSlot(s) {
600
- return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
496
+ function Re(r) {
497
+ return typeof r == "function" || Object.prototype.toString.call(r) === "[object Object]" && !P(r);
601
498
  }
602
- const querytableCellButtonProps = () => ({
603
- type: stringType()
604
- });
605
- const QuerytableCellButton = /* @__PURE__ */ defineComponent({
499
+ const Ne = () => ({
500
+ type: l()
501
+ }), qe = /* @__PURE__ */ C({
606
502
  name: "OQuerytableCellButton",
607
- inheritAttrs: false,
608
- props: querytableCellButtonProps(),
503
+ inheritAttrs: !1,
504
+ props: Ne(),
609
505
  emits: ["click"],
610
- setup(props, {
611
- slots,
612
- attrs,
613
- emit,
614
- expose
506
+ setup(r, {
507
+ slots: m,
508
+ attrs: f,
509
+ emit: i,
510
+ expose: b
615
511
  }) {
616
- const handleClick = (event) => {
617
- emit("click", event);
512
+ const S = (B) => {
513
+ i("click", B);
618
514
  };
619
515
  return () => {
620
- var _a;
516
+ var D;
621
517
  const {
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]
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]
632
527
  });
633
528
  };
634
529
  }
635
- });
636
- const querytableColumngroupProps = () => ({
637
- head: stringType(),
638
- headAlign: stringType()
639
- });
640
- const QuerytableColumngroup = /* @__PURE__ */ defineComponent({
530
+ }), Me = () => ({
531
+ head: l(),
532
+ headAlign: l()
533
+ }), Pe = /* @__PURE__ */ C({
641
534
  name: "OQuerytableColumngroup",
642
- inheritAttrs: false,
643
- props: querytableColumngroupProps(),
644
- setup(props, {
645
- slots,
646
- attrs,
647
- emit,
648
- expose
535
+ inheritAttrs: !1,
536
+ props: Me(),
537
+ setup(r, {
538
+ slots: m,
539
+ attrs: f,
540
+ emit: i,
541
+ expose: b
649
542
  }) {
650
543
  return () => null;
651
544
  }
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({
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({
661
552
  name: "OQuerytableColumnDiy",
662
- inheritAttrs: false,
663
- props: querytableColumnDiyProps(),
553
+ inheritAttrs: !1,
554
+ props: je(),
664
555
  slots: Object,
665
- setup(props, {
666
- slots,
667
- attrs,
668
- emit,
669
- expose
556
+ setup(r, {
557
+ slots: m,
558
+ attrs: f,
559
+ emit: i,
560
+ expose: b
670
561
  }) {
671
562
  return () => null;
672
563
  }
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
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
686
576
  });
687
577
  export {
688
- Querytable as default
578
+ tt as default
689
579
  };
690
580
  //# sourceMappingURL=index.js.map