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
@@ -9,6 +9,10 @@ export declare const pagetableColumnMultiselectProps: () => {
9
9
  type: PropType<"center" | "left" | "right">;
10
10
  default: "center" | "left" | "right";
11
11
  };
12
+ bodyAlign: {
13
+ type: PropType<"center" | "left" | "right">;
14
+ default: "center" | "left" | "right";
15
+ };
12
16
  name: {
13
17
  type: PropType<string>;
14
18
  default: string;
@@ -46,6 +50,10 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
46
50
  type: PropType<"center" | "left" | "right">;
47
51
  default: "center" | "left" | "right";
48
52
  };
53
+ bodyAlign: {
54
+ type: PropType<"center" | "left" | "right">;
55
+ default: "center" | "left" | "right";
56
+ };
49
57
  name: {
50
58
  type: PropType<string>;
51
59
  default: string;
@@ -81,6 +89,10 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
81
89
  type: PropType<"center" | "left" | "right">;
82
90
  default: "center" | "left" | "right";
83
91
  };
92
+ bodyAlign: {
93
+ type: PropType<"center" | "left" | "right">;
94
+ default: "center" | "left" | "right";
95
+ };
84
96
  name: {
85
97
  type: PropType<string>;
86
98
  default: string;
@@ -116,6 +128,7 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
116
128
  head: string;
117
129
  width: string | boolean;
118
130
  name: string;
131
+ bodyAlign: "center" | "left" | "right";
119
132
  tail: string | boolean;
120
133
  headAlign: "center" | "left" | "right";
121
134
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -9,6 +9,10 @@ export declare const pagetableColumnNumberProps: () => {
9
9
  type: PropType<"center" | "left" | "right">;
10
10
  default: "center" | "left" | "right";
11
11
  };
12
+ bodyAlign: {
13
+ type: PropType<"center" | "left" | "right">;
14
+ default: "center" | "left" | "right";
15
+ };
12
16
  name: {
13
17
  type: PropType<string>;
14
18
  default: string;
@@ -48,6 +52,10 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
48
52
  type: PropType<"center" | "left" | "right">;
49
53
  default: "center" | "left" | "right";
50
54
  };
55
+ bodyAlign: {
56
+ type: PropType<"center" | "left" | "right">;
57
+ default: "center" | "left" | "right";
58
+ };
51
59
  name: {
52
60
  type: PropType<string>;
53
61
  default: string;
@@ -85,6 +93,10 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
85
93
  type: PropType<"center" | "left" | "right">;
86
94
  default: "center" | "left" | "right";
87
95
  };
96
+ bodyAlign: {
97
+ type: PropType<"center" | "left" | "right">;
98
+ default: "center" | "left" | "right";
99
+ };
88
100
  name: {
89
101
  type: PropType<string>;
90
102
  default: string;
@@ -118,6 +130,7 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
118
130
  head: string;
119
131
  width: string | boolean;
120
132
  name: string;
133
+ bodyAlign: "center" | "left" | "right";
121
134
  thousandsSeparator: boolean;
122
135
  tail: string | boolean;
123
136
  headAlign: "center" | "left" | "right";
@@ -9,6 +9,10 @@ export declare const pagetableColumnSingleselectProps: () => {
9
9
  type: PropType<"center" | "left" | "right">;
10
10
  default: "center" | "left" | "right";
11
11
  };
12
+ bodyAlign: {
13
+ type: PropType<"center" | "left" | "right">;
14
+ default: "center" | "left" | "right";
15
+ };
12
16
  name: {
13
17
  type: PropType<string>;
14
18
  default: string;
@@ -46,6 +50,10 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
46
50
  type: PropType<"center" | "left" | "right">;
47
51
  default: "center" | "left" | "right";
48
52
  };
53
+ bodyAlign: {
54
+ type: PropType<"center" | "left" | "right">;
55
+ default: "center" | "left" | "right";
56
+ };
49
57
  name: {
50
58
  type: PropType<string>;
51
59
  default: string;
@@ -81,6 +89,10 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
81
89
  type: PropType<"center" | "left" | "right">;
82
90
  default: "center" | "left" | "right";
83
91
  };
92
+ bodyAlign: {
93
+ type: PropType<"center" | "left" | "right">;
94
+ default: "center" | "left" | "right";
95
+ };
84
96
  name: {
85
97
  type: PropType<string>;
86
98
  default: string;
@@ -116,6 +128,7 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
116
128
  head: string;
117
129
  width: string | boolean;
118
130
  name: string;
131
+ bodyAlign: "center" | "left" | "right";
119
132
  tail: string | boolean;
120
133
  headAlign: "center" | "left" | "right";
121
134
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -9,6 +9,10 @@ export declare const pagetableColumnStringProps: () => {
9
9
  type: PropType<"center" | "left" | "right">;
10
10
  default: "center" | "left" | "right";
11
11
  };
12
+ bodyAlign: {
13
+ type: PropType<"center" | "left" | "right">;
14
+ default: "center" | "left" | "right";
15
+ };
12
16
  name: {
13
17
  type: PropType<string>;
14
18
  default: string;
@@ -36,6 +40,10 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
36
40
  type: PropType<"center" | "left" | "right">;
37
41
  default: "center" | "left" | "right";
38
42
  };
43
+ bodyAlign: {
44
+ type: PropType<"center" | "left" | "right">;
45
+ default: "center" | "left" | "right";
46
+ };
39
47
  name: {
40
48
  type: PropType<string>;
41
49
  default: string;
@@ -61,6 +69,10 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
61
69
  type: PropType<"center" | "left" | "right">;
62
70
  default: "center" | "left" | "right";
63
71
  };
72
+ bodyAlign: {
73
+ type: PropType<"center" | "left" | "right">;
74
+ default: "center" | "left" | "right";
75
+ };
64
76
  name: {
65
77
  type: PropType<string>;
66
78
  default: string;
@@ -82,6 +94,7 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
82
94
  head: string;
83
95
  width: string | boolean;
84
96
  name: string;
97
+ bodyAlign: "center" | "left" | "right";
85
98
  tail: string | boolean;
86
99
  headAlign: "center" | "left" | "right";
87
100
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -1,111 +1,108 @@
1
- import { computed } from "vue";
2
- import OrionError from "../../../error/OrionError.js";
3
- import { camelize } from "../../_util/util.js";
4
- import { filterEmpty } from "../../_util/props-util/index.js";
5
- function genColumns(children) {
6
- const tableColumns = children == null ? void 0 : children.map((c) => {
7
- var _a, _b;
8
- const props = { ...c.props || {} };
9
- for (const [k, v] of Object.entries(props)) {
10
- delete props[k];
11
- props[camelize(k)] = v;
12
- }
13
- if (c.type.name === "OPagetableColumnIndex") {
1
+ import { computed as g } from "vue";
2
+ import y from "../../../error/OrionError.js";
3
+ import { camelize as f } from "../../_util/util.js";
4
+ import { filterEmpty as d } from "../../_util/props-util/index.js";
5
+ function m(n) {
6
+ return n == null ? void 0 : n.map((a) => {
7
+ var t, i;
8
+ const e = { ...a.props || {} };
9
+ for (const [l, u] of Object.entries(e))
10
+ delete e[l], e[f(l)] = u;
11
+ if (a.type.name === "OPagetableColumnIndex")
14
12
  return {
15
- type: c.type.name
13
+ type: a.type.name
16
14
  };
17
- } else if (c.type.name === "OPagetableColumnString" || c.type.name === "OPagetableColumnLink") {
15
+ if (a.type.name === "OPagetableColumnString" || a.type.name === "OPagetableColumnLink")
18
16
  return {
19
- type: c.type.name,
20
- head: props == null ? void 0 : props.head,
21
- headAlign: props == null ? void 0 : props.headAlign,
22
- name: props == null ? void 0 : props.name,
23
- width: props == null ? void 0 : props.width,
24
- fixed: props == null ? void 0 : props.fixed,
25
- tail: props == null ? void 0 : props.tail
17
+ type: a.type.name,
18
+ head: e == null ? void 0 : e.head,
19
+ headAlign: e == null ? void 0 : e.headAlign,
20
+ bodyAlign: e == null ? void 0 : e.bodyAlign,
21
+ name: e == null ? void 0 : e.name,
22
+ width: e == null ? void 0 : e.width,
23
+ fixed: e == null ? void 0 : e.fixed,
24
+ tail: e == null ? void 0 : e.tail
26
25
  };
27
- } else if (c.type.name === "OPagetableColumnNumber") {
26
+ if (a.type.name === "OPagetableColumnNumber")
28
27
  return {
29
- type: c.type.name,
30
- head: props == null ? void 0 : props.head,
31
- headAlign: props == null ? void 0 : props.headAlign,
32
- name: props == null ? void 0 : props.name,
33
- width: props == null ? void 0 : props.width,
34
- fixed: props == null ? void 0 : props.fixed,
35
- tail: props == null ? void 0 : props.tail,
36
- thousandsSeparator: props == null ? void 0 : props.thousandsSeparator,
37
- precision: Number(props == null ? void 0 : props.precision),
38
- percentage: props == null ? void 0 : props.percentage
28
+ type: a.type.name,
29
+ head: e == null ? void 0 : e.head,
30
+ headAlign: e == null ? void 0 : e.headAlign,
31
+ bodyAlign: e == null ? void 0 : e.bodyAlign,
32
+ name: e == null ? void 0 : e.name,
33
+ width: e == null ? void 0 : e.width,
34
+ fixed: e == null ? void 0 : e.fixed,
35
+ tail: e == null ? void 0 : e.tail,
36
+ thousandsSeparator: e == null ? void 0 : e.thousandsSeparator,
37
+ precision: Number(e == null ? void 0 : e.precision),
38
+ percentage: e == null ? void 0 : e.percentage
39
39
  };
40
- } else if (c.type.name === "OPagetableColumnDate") {
40
+ if (a.type.name === "OPagetableColumnDate")
41
41
  return {
42
- type: c.type.name,
43
- head: props == null ? void 0 : props.head,
44
- headAlign: props == null ? void 0 : props.headAlign,
45
- name: props == null ? void 0 : props.name,
46
- width: props == null ? void 0 : props.width,
47
- fixed: props == null ? void 0 : props.fixed,
48
- tail: props == null ? void 0 : props.tail,
49
- format: props == null ? void 0 : props.format,
50
- sourceFormat: props == null ? void 0 : props.sourceFormat
42
+ type: a.type.name,
43
+ head: e == null ? void 0 : e.head,
44
+ headAlign: e == null ? void 0 : e.headAlign,
45
+ bodyAlign: e == null ? void 0 : e.bodyAlign,
46
+ name: e == null ? void 0 : e.name,
47
+ width: e == null ? void 0 : e.width,
48
+ fixed: e == null ? void 0 : e.fixed,
49
+ tail: e == null ? void 0 : e.tail,
50
+ format: e == null ? void 0 : e.format,
51
+ sourceFormat: e == null ? void 0 : e.sourceFormat
51
52
  };
52
- } else if (c.type.name === "OPagetableColumnSingleselect" || c.type.name === "OPagetableColumnMultiselect") {
53
+ if (a.type.name === "OPagetableColumnSingleselect" || a.type.name === "OPagetableColumnMultiselect")
53
54
  return {
54
- type: c.type.name,
55
- head: props == null ? void 0 : props.head,
56
- headAlign: props == null ? void 0 : props.headAlign,
57
- name: props == null ? void 0 : props.name,
58
- width: props == null ? void 0 : props.width,
59
- fixed: props == null ? void 0 : props.fixed,
60
- tail: props == null ? void 0 : props.tail,
61
- code: props == null ? void 0 : props.code
55
+ type: a.type.name,
56
+ head: e == null ? void 0 : e.head,
57
+ headAlign: e == null ? void 0 : e.headAlign,
58
+ bodyAlign: e == null ? void 0 : e.bodyAlign,
59
+ name: e == null ? void 0 : e.name,
60
+ width: e == null ? void 0 : e.width,
61
+ fixed: e == null ? void 0 : e.fixed,
62
+ tail: e == null ? void 0 : e.tail,
63
+ code: e == null ? void 0 : e.code
62
64
  };
63
- } else if (c.type.name === "OPagetableColumnButtongroup") {
65
+ if (a.type.name === "OPagetableColumnButtongroup")
64
66
  return {
65
- type: c.type.name,
66
- head: props == null ? void 0 : props.head,
67
- headAlign: props == null ? void 0 : props.headAlign,
68
- name: props == null ? void 0 : props.name,
69
- width: props == null ? void 0 : props.width,
70
- fixed: props == null ? void 0 : props.fixed,
71
- tail: props == null ? void 0 : props.tail,
72
- children: c.children
67
+ type: a.type.name,
68
+ head: e == null ? void 0 : e.head,
69
+ headAlign: e == null ? void 0 : e.headAlign,
70
+ bodyAlign: e == null ? void 0 : e.bodyAlign,
71
+ name: e == null ? void 0 : e.name,
72
+ width: e == null ? void 0 : e.width,
73
+ fixed: e == null ? void 0 : e.fixed,
74
+ tail: e == null ? void 0 : e.tail,
75
+ children: a.children
73
76
  };
74
- } else if (c.type.name === "OPagetableColumngroup") {
77
+ if (a.type.name === "OPagetableColumngroup")
75
78
  return {
76
- type: c.type.name,
77
- head: props == null ? void 0 : props.head,
78
- headAlign: props == null ? void 0 : props.headAlign,
79
- children: genColumns(filterEmpty((_b = (_a = c.children) == null ? void 0 : _a.default) == null ? void 0 : _b.call(_a)))
79
+ type: a.type.name,
80
+ head: e == null ? void 0 : e.head,
81
+ headAlign: e == null ? void 0 : e.headAlign,
82
+ children: m(d((i = (t = a.children) == null ? void 0 : t.default) == null ? void 0 : i.call(t)))
80
83
  };
81
- } else if (c.type.name === "OPagetableColumnDiy") {
84
+ if (a.type.name === "OPagetableColumnDiy")
82
85
  return {
83
- type: c.type.name,
84
- head: props == null ? void 0 : props.head,
85
- headAlign: props == null ? void 0 : props.headAlign,
86
- name: props == null ? void 0 : props.name,
87
- width: props == null ? void 0 : props.width,
88
- fixed: props == null ? void 0 : props.fixed,
89
- tail: props == null ? void 0 : props.tail,
90
- children: c.children
86
+ type: a.type.name,
87
+ head: e == null ? void 0 : e.head,
88
+ headAlign: e == null ? void 0 : e.headAlign,
89
+ name: e == null ? void 0 : e.name,
90
+ width: e == null ? void 0 : e.width,
91
+ fixed: e == null ? void 0 : e.fixed,
92
+ tail: e == null ? void 0 : e.tail,
93
+ children: a.children
91
94
  };
92
- } else {
93
- throw new OrionError(`OPagetable不能正确解析'${c.type.name}'子组件。`);
94
- }
95
+ throw new y(`OPagetable不能正确解析'${a.type.name}'子组件。`);
95
96
  });
96
- return tableColumns;
97
97
  }
98
- function useColumns(slots) {
99
- const columns = computed(() => {
100
- var _a;
101
- const children = (_a = slots.default) == null ? void 0 : _a.call(slots);
102
- const non_empty_children = filterEmpty(children);
103
- const tableColumns = genColumns(non_empty_children);
104
- return tableColumns;
98
+ function x(n) {
99
+ return g(() => {
100
+ var i;
101
+ const a = (i = n.default) == null ? void 0 : i.call(n), e = d(a);
102
+ return m(e);
105
103
  });
106
- return columns;
107
104
  }
108
105
  export {
109
- useColumns as default
106
+ x as default
110
107
  };
111
108
  //# sourceMappingURL=useColumns.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useColumns.js","sources":["../../../../src/components/Pagetable/hooks/useColumns.ts"],"sourcesContent":["import { computed } from 'vue'\r\nimport OrionError from '../../../error/OrionError'\r\n\r\nimport { camelize } from '../../../components/_util/util'\r\nimport { filterEmpty } from '../../_util/props-util'\r\n\r\nfunction genColumns(children) {\r\n const tableColumns = children?.map((c) => {\r\n const props = { ...(c.props || {}) }\r\n for (const [k, v] of Object.entries(props)) {\r\n delete props[k]\r\n props[camelize(k)] = v\r\n }\r\n\r\n if (c.type.name === 'OPagetableColumnIndex') {\r\n return {\r\n type: c.type.name,\r\n }\r\n } else if (c.type.name === 'OPagetableColumnString' || c.type.name === 'OPagetableColumnLink') {\r\n return {\r\n type: c.type.name,\r\n head: props?.head,\r\n headAlign: props?.headAlign,\r\n name: props?.name,\r\n width: props?.width,\r\n fixed: props?.fixed,\r\n tail: props?.tail,\r\n }\r\n } else if (c.type.name === 'OPagetableColumnNumber') {\r\n return {\r\n type: c.type.name,\r\n head: props?.head,\r\n headAlign: props?.headAlign,\r\n name: props?.name,\r\n width: props?.width,\r\n fixed: props?.fixed,\r\n tail: props?.tail,\r\n\r\n thousandsSeparator: props?.thousandsSeparator,\r\n precision: Number(props?.precision),\r\n percentage: props?.percentage,\r\n }\r\n } else if (c.type.name === 'OPagetableColumnDate') {\r\n return {\r\n type: c.type.name,\r\n\r\n head: props?.head,\r\n headAlign: props?.headAlign,\r\n name: props?.name,\r\n width: props?.width,\r\n fixed: props?.fixed,\r\n tail: props?.tail,\r\n\r\n format: props?.format,\r\n sourceFormat: props?.sourceFormat,\r\n }\r\n } else if (c.type.name === 'OPagetableColumnSingleselect' || c.type.name === 'OPagetableColumnMultiselect') {\r\n return {\r\n type: c.type.name,\r\n\r\n head: props?.head,\r\n headAlign: props?.headAlign,\r\n name: props?.name,\r\n width: props?.width,\r\n fixed: props?.fixed,\r\n tail: props?.tail,\r\n\r\n code: props?.code,\r\n }\r\n } else if (c.type.name === 'OPagetableColumnButtongroup') {\r\n return {\r\n type: c.type.name,\r\n\r\n head: props?.head,\r\n headAlign: props?.headAlign,\r\n name: props?.name,\r\n width: props?.width,\r\n fixed: props?.fixed,\r\n tail: props?.tail,\r\n\r\n children: c.children,\r\n }\r\n } else if (c.type.name === 'OPagetableColumngroup') {\r\n return {\r\n type: c.type.name,\r\n\r\n head: props?.head,\r\n headAlign: props?.headAlign,\r\n\r\n children: genColumns(filterEmpty(c.children?.default?.())),\r\n }\r\n } else if (c.type.name === 'OPagetableColumnDiy') {\r\n return {\r\n type: c.type.name,\r\n\r\n head: props?.head,\r\n headAlign: props?.headAlign,\r\n name: props?.name,\r\n width: props?.width,\r\n fixed: props?.fixed,\r\n tail: props?.tail,\r\n\r\n children: c.children,\r\n }\r\n } else {\r\n throw new OrionError(`OPagetable不能正确解析'${c.type.name}'子组件。`)\r\n }\r\n })\r\n\r\n return tableColumns\r\n}\r\n\r\nexport default function useColumns(slots) {\r\n const columns = computed(() => {\r\n const children = slots.default?.()\r\n\r\n const non_empty_children = filterEmpty(children)\r\n\r\n const tableColumns = genColumns(non_empty_children)\r\n\r\n return tableColumns\r\n })\r\n\r\n return columns\r\n}\r\n"],"names":[],"mappings":";;;;AAMA,SAAS,WAAW,UAAU;AAC5B,QAAM,eAAe,qCAAU,IAAI,CAAC,MAAM;;AACxC,UAAM,QAAQ,EAAE,GAAI,EAAE,SAAS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AAA;AAAA,EAAA,CACR;AAEM,SAAA;AACT;"}
1
+ {"version":3,"file":"useColumns.js","sources":["../../../../src/components/Pagetable/hooks/useColumns.ts"],"sourcesContent":["import { computed } from 'vue'\r\nimport OrionError from '../../../error/OrionError'\r\n\r\nimport { camelize } from '../../../components/_util/util'\r\nimport { filterEmpty } from '../../_util/props-util'\r\n\r\nfunction genColumns(children) {\r\n const tableColumns = children?.map((c) => {\r\n const props = { ...(c.props || {}) }\r\n for (const [k, v] of Object.entries(props)) {\r\n delete props[k]\r\n props[camelize(k)] = v\r\n }\r\n\r\n if (c.type.name === 'OPagetableColumnIndex') {\r\n return {\r\n type: c.type.name,\r\n }\r\n } else if (c.type.name === 'OPagetableColumnString' || c.type.name === 'OPagetableColumnLink') {\r\n return {\r\n type: c.type.name,\r\n head: props?.head,\r\n headAlign: props?.headAlign,\r\n bodyAlign: props?.bodyAlign,\r\n name: props?.name,\r\n width: props?.width,\r\n fixed: props?.fixed,\r\n tail: props?.tail,\r\n }\r\n } else if (c.type.name === 'OPagetableColumnNumber') {\r\n return {\r\n type: c.type.name,\r\n head: props?.head,\r\n headAlign: props?.headAlign,\r\n bodyAlign: props?.bodyAlign,\r\n name: props?.name,\r\n width: props?.width,\r\n fixed: props?.fixed,\r\n tail: props?.tail,\r\n\r\n thousandsSeparator: props?.thousandsSeparator,\r\n precision: Number(props?.precision),\r\n percentage: props?.percentage,\r\n }\r\n } else if (c.type.name === 'OPagetableColumnDate') {\r\n return {\r\n type: c.type.name,\r\n\r\n head: props?.head,\r\n headAlign: props?.headAlign,\r\n bodyAlign: props?.bodyAlign,\r\n name: props?.name,\r\n width: props?.width,\r\n fixed: props?.fixed,\r\n tail: props?.tail,\r\n\r\n format: props?.format,\r\n sourceFormat: props?.sourceFormat,\r\n }\r\n } else if (c.type.name === 'OPagetableColumnSingleselect' || c.type.name === 'OPagetableColumnMultiselect') {\r\n return {\r\n type: c.type.name,\r\n\r\n head: props?.head,\r\n headAlign: props?.headAlign,\r\n bodyAlign: props?.bodyAlign,\r\n name: props?.name,\r\n width: props?.width,\r\n fixed: props?.fixed,\r\n tail: props?.tail,\r\n\r\n code: props?.code,\r\n }\r\n } else if (c.type.name === 'OPagetableColumnButtongroup') {\r\n return {\r\n type: c.type.name,\r\n\r\n head: props?.head,\r\n headAlign: props?.headAlign,\r\n bodyAlign: props?.bodyAlign,\r\n name: props?.name,\r\n width: props?.width,\r\n fixed: props?.fixed,\r\n tail: props?.tail,\r\n\r\n children: c.children,\r\n }\r\n } else if (c.type.name === 'OPagetableColumngroup') {\r\n return {\r\n type: c.type.name,\r\n\r\n head: props?.head,\r\n headAlign: props?.headAlign,\r\n\r\n children: genColumns(filterEmpty(c.children?.default?.())),\r\n }\r\n } else if (c.type.name === 'OPagetableColumnDiy') {\r\n return {\r\n type: c.type.name,\r\n\r\n head: props?.head,\r\n headAlign: props?.headAlign,\r\n name: props?.name,\r\n width: props?.width,\r\n fixed: props?.fixed,\r\n tail: props?.tail,\r\n\r\n children: c.children,\r\n }\r\n } else {\r\n throw new OrionError(`OPagetable不能正确解析'${c.type.name}'子组件。`)\r\n }\r\n })\r\n\r\n return tableColumns\r\n}\r\n\r\nexport default function useColumns(slots) {\r\n const columns = computed(() => {\r\n const children = slots.default?.()\r\n\r\n const non_empty_children = filterEmpty(children)\r\n\r\n const tableColumns = genColumns(non_empty_children)\r\n\r\n return tableColumns\r\n })\r\n\r\n return columns\r\n}\r\n"],"names":["genColumns","children","c","props","k","v","camelize","filterEmpty","_b","_a","OrionError","useColumns","slots","computed","non_empty_children"],"mappings":";;;;AAMA,SAASA,EAAWC,GAAU;AA4GrB,SA3GcA,KAAA,gBAAAA,EAAU,IAAI,CAACC,MAAM;;AACxC,UAAMC,IAAQ,EAAE,GAAID,EAAE,SAAS,CAAI,EAAA;AACnC,eAAW,CAACE,GAAGC,CAAC,KAAK,OAAO,QAAQF,CAAK;AACvC,aAAOA,EAAMC,CAAC,GACRD,EAAAG,EAASF,CAAC,CAAC,IAAIC;A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AC,EAAuB,CAAC;AAAA,MAAA;AAElD,QAAAP,EAAE,KAAK,SAAS;AAClB,aAAA;AAAA,QACL,MAAMA,EAAE,KAAK;AAAA,QAEb,MAAMC,KAAA,gBAAAA,EAAO;AAAA,QACb,WAAWA,KAAA,gBAAAA,EAAO;AAAA,QAClB,MAAMA,KAAA,gBAAAA,EAAO;AAAA,QACb,OAAOA,KAAA,gBAAAA,EAAO;AAAA,QACd,OAAOA,KAAA,gBAAAA,EAAO;AAAA,QACd,MAAMA,KAAA,gBAAAA,EAAO;AAAA,QAEb,UAAUD,EAAE;AAAA,MAAA;AAGd,UAAM,IAAIQ,EAAW,oBAAoBR,EAAE,KAAK,IAAI,OAAO;AAAA,EAC7D;AAIJ;AAEA,SAAwBS,EAAWC,GAAO;AAWjC,SAVSC,EAAS,MAAM;;AACvB,UAAAZ,KAAWQ,IAAAG,EAAM,YAAN,gBAAAH,EAAA,KAAAG,IAEXE,IAAqBP,EAAYN,CAAQ;AAIxC,WAFcD,EAAWc,CAAkB;AAAA,EAE3C,CACR;AAGH;"}
@@ -33,6 +33,10 @@ declare const _default: import('../_util').SFCWithInstall<import('vue').DefineCo
33
33
  total?: number;
34
34
  };
35
35
  };
36
+ paginationTeleported: {
37
+ type: BooleanConstructor;
38
+ default: boolean;
39
+ };
36
40
  showRowNumber: {
37
41
  type: BooleanConstructor;
38
42
  default: boolean;
@@ -49,6 +53,66 @@ declare const _default: import('../_util').SFCWithInstall<import('vue').DefineCo
49
53
  type: import('vue').PropType<"" | "small" | "default" | "large">;
50
54
  default: "" | "small" | "default" | "large";
51
55
  };
56
+ rowClassName: {
57
+ type: import('vue').PropType<string | ((data: {
58
+ rowData: any;
59
+ rowIndex: number;
60
+ }) => string)>;
61
+ default: string | ((data: {
62
+ rowData: any;
63
+ rowIndex: number;
64
+ }) => string);
65
+ };
66
+ rowStyle: {
67
+ type: import('vue').PropType<import('vue').CSSProperties | ((data: {
68
+ rowData: any;
69
+ rowIndex: number;
70
+ }) => import('vue').CSSProperties)>;
71
+ default: import('vue').CSSProperties | ((data: {
72
+ rowData: any;
73
+ rowIndex: number;
74
+ }) => import('vue').CSSProperties);
75
+ };
76
+ cellClassName: {
77
+ type: import('vue').PropType<string | ((data: {
78
+ rowData: any;
79
+ column: {
80
+ name: string;
81
+ head: string;
82
+ };
83
+ rowIndex: number;
84
+ columnIndex: number;
85
+ }) => string)>;
86
+ default: string | ((data: {
87
+ rowData: any;
88
+ column: {
89
+ name: string;
90
+ head: string;
91
+ };
92
+ rowIndex: number;
93
+ columnIndex: number;
94
+ }) => string);
95
+ };
96
+ cellStyle: {
97
+ type: import('vue').PropType<import('vue').CSSProperties | ((data: {
98
+ rowData: any;
99
+ column: {
100
+ name: string;
101
+ head: string;
102
+ };
103
+ rowIndex: number;
104
+ columnIndex: number;
105
+ }) => import('vue').CSSProperties)>;
106
+ default: import('vue').CSSProperties | ((data: {
107
+ rowData: any;
108
+ column: {
109
+ name: string;
110
+ head: string;
111
+ };
112
+ rowIndex: number;
113
+ columnIndex: number;
114
+ }) => import('vue').CSSProperties);
115
+ };
52
116
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("selectionChange" | "currentRowChange" | "update:pagination" | "rowClick" | "rowDblclick" | "cellClick" | "cellDblclick")[], "selectionChange" | "currentRowChange" | "update:pagination" | "rowClick" | "rowDblclick" | "cellClick" | "cellDblclick", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
53
117
  data: {
54
118
  type: import('vue').PropType<any[]>;
@@ -72,6 +136,10 @@ declare const _default: import('../_util').SFCWithInstall<import('vue').DefineCo
72
136
  total?: number;
73
137
  };
74
138
  };
139
+ paginationTeleported: {
140
+ type: BooleanConstructor;
141
+ default: boolean;
142
+ };
75
143
  showRowNumber: {
76
144
  type: BooleanConstructor;
77
145
  default: boolean;
@@ -88,6 +156,66 @@ declare const _default: import('../_util').SFCWithInstall<import('vue').DefineCo
88
156
  type: import('vue').PropType<"" | "small" | "default" | "large">;
89
157
  default: "" | "small" | "default" | "large";
90
158
  };
159
+ rowClassName: {
160
+ type: import('vue').PropType<string | ((data: {
161
+ rowData: any;
162
+ rowIndex: number;
163
+ }) => string)>;
164
+ default: string | ((data: {
165
+ rowData: any;
166
+ rowIndex: number;
167
+ }) => string);
168
+ };
169
+ rowStyle: {
170
+ type: import('vue').PropType<import('vue').CSSProperties | ((data: {
171
+ rowData: any;
172
+ rowIndex: number;
173
+ }) => import('vue').CSSProperties)>;
174
+ default: import('vue').CSSProperties | ((data: {
175
+ rowData: any;
176
+ rowIndex: number;
177
+ }) => import('vue').CSSProperties);
178
+ };
179
+ cellClassName: {
180
+ type: import('vue').PropType<string | ((data: {
181
+ rowData: any;
182
+ column: {
183
+ name: string;
184
+ head: string;
185
+ };
186
+ rowIndex: number;
187
+ columnIndex: number;
188
+ }) => string)>;
189
+ default: string | ((data: {
190
+ rowData: any;
191
+ column: {
192
+ name: string;
193
+ head: string;
194
+ };
195
+ rowIndex: number;
196
+ columnIndex: number;
197
+ }) => string);
198
+ };
199
+ cellStyle: {
200
+ type: import('vue').PropType<import('vue').CSSProperties | ((data: {
201
+ rowData: any;
202
+ column: {
203
+ name: string;
204
+ head: string;
205
+ };
206
+ rowIndex: number;
207
+ columnIndex: number;
208
+ }) => import('vue').CSSProperties)>;
209
+ default: import('vue').CSSProperties | ((data: {
210
+ rowData: any;
211
+ column: {
212
+ name: string;
213
+ head: string;
214
+ };
215
+ rowIndex: number;
216
+ columnIndex: number;
217
+ }) => import('vue').CSSProperties);
218
+ };
91
219
  }>> & Readonly<{
92
220
  onSelectionChange?: ((...args: any[]) => any) | undefined;
93
221
  onCurrentRowChange?: ((...args: any[]) => any) | undefined;
@@ -106,9 +234,36 @@ declare const _default: import('../_util').SFCWithInstall<import('vue').DefineCo
106
234
  total?: number;
107
235
  };
108
236
  tailData: Record<string, any>;
237
+ paginationTeleported: boolean;
109
238
  showRowNumber: boolean;
110
239
  selectionMode: boolean;
111
240
  currentRowMode: boolean;
241
+ rowClassName: string | ((data: {
242
+ rowData: any;
243
+ rowIndex: number;
244
+ }) => string);
245
+ rowStyle: import('vue').CSSProperties | ((data: {
246
+ rowData: any;
247
+ rowIndex: number;
248
+ }) => import('vue').CSSProperties);
249
+ cellClassName: string | ((data: {
250
+ rowData: any;
251
+ column: {
252
+ name: string;
253
+ head: string;
254
+ };
255
+ rowIndex: number;
256
+ columnIndex: number;
257
+ }) => string);
258
+ cellStyle: import('vue').CSSProperties | ((data: {
259
+ rowData: any;
260
+ column: {
261
+ name: string;
262
+ head: string;
263
+ };
264
+ rowIndex: number;
265
+ columnIndex: number;
266
+ }) => import('vue').CSSProperties);
112
267
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>> & {
113
268
  PagetableColumnIndex: typeof PagetableColumnIndex;
114
269
  PagetableColumnString: typeof PagetableColumnString;