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.
- package/README.md +5 -5
- package/dist/Throne/index.js +14 -30
- package/dist/Throne/index.js.map +1 -1
- package/dist/components/Button/index.js +33 -40
- package/dist/components/Button/index.js.map +1 -1
- package/dist/components/Flex/index.js +89 -122
- package/dist/components/Flex/index.js.map +1 -1
- package/dist/components/Form/Form.js +2 -2
- package/dist/components/Form/Form.js.map +1 -1
- package/dist/components/Form/LovInput/LovInput.js +2 -2
- package/dist/components/Form/LovInput/LovInput.js.map +1 -1
- package/dist/components/Form/LovInput/hooks/useLov.js +5 -5
- package/dist/components/Form/LovInput/hooks/useLov.js.map +1 -1
- package/dist/components/Form/LovInput/index.js +4 -4
- package/dist/components/Form/hooks/FormItemValidateTrigger.js +2 -2
- package/dist/components/Form/hooks/FormItemValidateTrigger.js.map +1 -1
- package/dist/components/Form/hooks/index.js +68 -127
- package/dist/components/Form/hooks/index.js.map +1 -1
- package/dist/components/Form/index.js +656 -836
- package/dist/components/Form/index.js.map +1 -1
- package/dist/components/Form/utils/index.js +18 -30
- package/dist/components/Form/utils/index.js.map +1 -1
- package/dist/components/LovTable/LovPagetable.vue.d.ts +492 -0
- package/dist/components/LovTable/index.d.ts +246 -0
- package/dist/components/LovTable/index.js +106 -179
- package/dist/components/LovTable/index.js.map +1 -1
- package/dist/components/Modal/index.js +56 -111
- package/dist/components/Modal/index.js.map +1 -1
- package/dist/components/Modal/types.d.ts +1 -1
- package/dist/components/Modal/types.js +3 -4
- package/dist/components/Modal/types.js.map +1 -1
- package/dist/components/Modal/useModal.js +5 -5
- package/dist/components/Modal/useModal.js.map +1 -1
- package/dist/components/Pagetable/Pagetable.d.ts +92 -1
- package/dist/components/Pagetable/columns/PagetableColumnButtongroup.d.ts +13 -0
- package/dist/components/Pagetable/columns/PagetableColumnDate.d.ts +13 -0
- package/dist/components/Pagetable/columns/PagetableColumnLink.d.ts +13 -0
- package/dist/components/Pagetable/columns/PagetableColumnMultiselect.d.ts +13 -0
- package/dist/components/Pagetable/columns/PagetableColumnNumber.d.ts +13 -0
- package/dist/components/Pagetable/columns/PagetableColumnSingleselect.d.ts +13 -0
- package/dist/components/Pagetable/columns/PagetableColumnString.d.ts +13 -0
- package/dist/components/Pagetable/hooks/useColumns.js +85 -88
- package/dist/components/Pagetable/hooks/useColumns.js.map +1 -1
- package/dist/components/Pagetable/index.d.ts +155 -0
- package/dist/components/Pagetable/index.js +596 -683
- package/dist/components/Pagetable/index.js.map +1 -1
- package/dist/components/Pagetable/utils/index.js +54 -92
- package/dist/components/Pagetable/utils/index.js.map +1 -1
- package/dist/components/Querytable/hooks/useColumns.js +74 -82
- package/dist/components/Querytable/hooks/useColumns.js.map +1 -1
- package/dist/components/Querytable/index.js +469 -579
- package/dist/components/Querytable/index.js.map +1 -1
- package/dist/components/Querytable/utils/index.js +54 -92
- package/dist/components/Querytable/utils/index.js.map +1 -1
- package/dist/components/RichTextEditor/index.js +74 -100
- package/dist/components/RichTextEditor/index.js.map +1 -1
- package/dist/components/Tabs/constants.js +2 -2
- package/dist/components/Tabs/constants.js.map +1 -1
- package/dist/components/Tabs/index.js +358 -603
- package/dist/components/Tabs/index.js.map +1 -1
- package/dist/components/Tabs/tab-bar.js +6 -6
- package/dist/components/Tabs/tab-bar.js.map +1 -1
- package/dist/components/Tabs/tab-pane.js +3 -3
- package/dist/components/Tabs/tab-pane.js.map +1 -1
- package/dist/components/_constants/aria.js +2 -2
- package/dist/components/_constants/aria.js.map +1 -1
- package/dist/components/_constants/event.js +4 -6
- package/dist/components/_constants/event.js.map +1 -1
- package/dist/components/_constants/index.js +6 -6
- package/dist/components/_hooks/index.js +7 -7
- package/dist/components/_hooks/use-namespace/index.js +39 -74
- package/dist/components/_hooks/use-namespace/index.js.map +1 -1
- package/dist/components/_hooks/use-ordered-children/index.js +19 -29
- package/dist/components/_hooks/use-ordered-children/index.js.map +1 -1
- package/dist/components/_util/arrays.js +5 -9
- package/dist/components/_util/arrays.js.map +1 -1
- package/dist/components/_util/browser.js +6 -6
- package/dist/components/_util/browser.js.map +1 -1
- package/dist/components/_util/classNames.js +17 -22
- package/dist/components/_util/classNames.js.map +1 -1
- package/dist/components/_util/dom/aria.js +39 -74
- package/dist/components/_util/dom/aria.js.map +1 -1
- package/dist/components/_util/dom/element.js +8 -9
- package/dist/components/_util/dom/element.js.map +1 -1
- package/dist/components/_util/dom/event.js +7 -14
- package/dist/components/_util/dom/event.js.map +1 -1
- package/dist/components/_util/dom/index.js +36 -36
- package/dist/components/_util/dom/position.js +25 -49
- package/dist/components/_util/dom/position.js.map +1 -1
- package/dist/components/_util/dom/scroll.js +61 -103
- package/dist/components/_util/dom/scroll.js.map +1 -1
- package/dist/components/_util/dom/style.js +50 -65
- package/dist/components/_util/dom/style.js.map +1 -1
- package/dist/components/_util/easings.js +4 -8
- package/dist/components/_util/easings.js.map +1 -1
- package/dist/components/_util/error.js +11 -12
- package/dist/components/_util/error.js.map +1 -1
- package/dist/components/_util/functions.js +3 -3
- package/dist/components/_util/i18n.js +2 -2
- package/dist/components/_util/i18n.js.map +1 -1
- package/dist/components/_util/index.js +137 -137
- package/dist/components/_util/isValid.js +2 -4
- package/dist/components/_util/isValid.js.map +1 -1
- package/dist/components/_util/objects.js +14 -18
- package/dist/components/_util/objects.js.map +1 -1
- package/dist/components/_util/props-util/index.js +20 -46
- package/dist/components/_util/props-util/index.js.map +1 -1
- package/dist/components/_util/props-util/initDefaultProps.js +10 -18
- package/dist/components/_util/props-util/initDefaultProps.js.map +1 -1
- package/dist/components/_util/raf.js +4 -5
- package/dist/components/_util/raf.js.map +1 -1
- package/dist/components/_util/rand.js +3 -4
- package/dist/components/_util/rand.js.map +1 -1
- package/dist/components/_util/strings.js +8 -9
- package/dist/components/_util/strings.js.map +1 -1
- package/dist/components/_util/throttleByRaf.js +10 -16
- package/dist/components/_util/throttleByRaf.js.map +1 -1
- package/dist/components/_util/type.js +38 -41
- package/dist/components/_util/type.js.map +1 -1
- package/dist/components/_util/types.js +22 -41
- package/dist/components/_util/types.js.map +1 -1
- package/dist/components/_util/typescript.js +2 -2
- package/dist/components/_util/typescript.js.map +1 -1
- package/dist/components/_util/util.js +43 -85
- package/dist/components/_util/util.js.map +1 -1
- package/dist/components/_util/vue/global-node.js +15 -27
- package/dist/components/_util/vue/global-node.js.map +1 -1
- package/dist/components/_util/vue/icon.js +25 -29
- package/dist/components/_util/vue/icon.js.map +1 -1
- package/dist/components/_util/vue/index.js +41 -41
- package/dist/components/_util/vue/install.js +18 -35
- package/dist/components/_util/vue/install.js.map +1 -1
- package/dist/components/_util/vue/props/index.js +6 -6
- package/dist/components/_util/vue/props/runtime.js +30 -46
- package/dist/components/_util/vue/props/runtime.js.map +1 -1
- package/dist/components/_util/vue/refs.js +6 -12
- package/dist/components/_util/vue/refs.js.map +1 -1
- package/dist/components/_util/vue/size.js +3 -5
- package/dist/components/_util/vue/size.js.map +1 -1
- package/dist/components/_util/vue/validator.js +4 -5
- package/dist/components/_util/vue/validator.js.map +1 -1
- package/dist/components/_util/vue/vnode.js +54 -100
- package/dist/components/_util/vue/vnode.js.map +1 -1
- package/dist/components/_util/vue-types/index.js +220 -231
- package/dist/components/_util/vue-types/index.js.map +1 -1
- package/dist/components/components.js +20 -20
- package/dist/components/index.js +35 -38
- package/dist/components/index.js.map +1 -1
- package/dist/error/OrionError.js +4 -8
- package/dist/error/OrionError.js.map +1 -1
- package/dist/index.css +1 -797
- package/dist/index.js +36 -36
- package/dist/print/LodopFuncs.js +43 -101
- package/dist/print/LodopFuncs.js.map +1 -1
- package/dist/print/index.js +108 -200
- package/dist/print/index.js.map +1 -1
- package/dist/request/ErrorHandlerChain.js +14 -17
- package/dist/request/ErrorHandlerChain.js.map +1 -1
- package/dist/request/RequestFilterChain.js +13 -16
- package/dist/request/RequestFilterChain.js.map +1 -1
- package/dist/request/ResponseParserChain.js +14 -17
- package/dist/request/ResponseParserChain.js.map +1 -1
- package/dist/request/disivion/DateSerializer.js +22 -47
- package/dist/request/disivion/DateSerializer.js.map +1 -1
- package/dist/request/disivion/DivisionErrorHandler.js +25 -40
- package/dist/request/disivion/DivisionErrorHandler.js.map +1 -1
- package/dist/request/disivion/DivisionResponseParser.js +10 -16
- package/dist/request/disivion/DivisionResponseParser.js.map +1 -1
- package/dist/request/disivion/index.js +201 -305
- package/dist/request/disivion/index.js.map +1 -1
- package/dist/request/error/BizExceptionResponseError.js +5 -11
- package/dist/request/error/BizExceptionResponseError.js.map +1 -1
- package/dist/request/error/ExceptionResponseError.js +5 -11
- package/dist/request/error/ExceptionResponseError.js.map +1 -1
- package/dist/request/error/ResponseError.js +4 -9
- package/dist/request/error/ResponseError.js.map +1 -1
- package/dist/request/error/SessionExceptionResponseError.js +5 -11
- package/dist/request/error/SessionExceptionResponseError.js.map +1 -1
- package/dist/request/index.js +11 -11
- package/dist/utils/DateUtil.js +33 -48
- package/dist/utils/DateUtil.js.map +1 -1
- package/dist/utils/NumberUtil.js +6 -6
- package/dist/utils/NumberUtil.js.map +1 -1
- package/dist/utils/cloneDeep.js +2 -2
- package/dist/utils/delay.js +3 -3
- package/dist/utils/delay.js.map +1 -1
- package/dist/utils/functions.js +3 -3
- package/dist/utils/index.js +12 -12
- package/dist/utils/md5.js +93 -191
- package/dist/utils/md5.js.map +1 -1
- package/dist/utils/uuid.js +25 -35
- package/dist/utils/uuid.js.map +1 -1
- package/dist/version/index.js +2 -2
- package/dist/version/version.d.ts +1 -1
- package/dist/version/version.js +2 -2
- package/dist/version/version.js.map +1 -1
- package/package.json +1 -1
- package/dist/_commonjsHelpers-DWwsNxpa.js +0 -9
- package/dist/_commonjsHelpers-DWwsNxpa.js.map +0 -1
- package/dist/components-B3d9m_tn.js +0 -27
- package/dist/components-B3d9m_tn.js.map +0 -1
- package/dist/functions-BeMkokbY.js +0 -63
- package/dist/functions-BeMkokbY.js.map +0 -1
- package/dist/index-BOKLZnqH.js +0 -54
- package/dist/index-BOKLZnqH.js.map +0 -1
- package/dist/index-D1m0KTpK.js +0 -69
- package/dist/index-D1m0KTpK.js.map +0 -1
- package/dist/index-DR5ZP7mD.js +0 -160
- package/dist/index-DR5ZP7mD.js.map +0 -1
- package/dist/index-DkwIULcN.js +0 -200
- 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
|
3
|
-
import { camelize } from "../../_util/util.js";
|
4
|
-
import { filterEmpty } from "../../_util/props-util/index.js";
|
5
|
-
function
|
6
|
-
|
7
|
-
var
|
8
|
-
const
|
9
|
-
for (const [
|
10
|
-
delete
|
11
|
-
|
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:
|
13
|
+
type: a.type.name
|
16
14
|
};
|
17
|
-
|
15
|
+
if (a.type.name === "OPagetableColumnString" || a.type.name === "OPagetableColumnLink")
|
18
16
|
return {
|
19
|
-
type:
|
20
|
-
head:
|
21
|
-
headAlign:
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
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
|
-
|
26
|
+
if (a.type.name === "OPagetableColumnNumber")
|
28
27
|
return {
|
29
|
-
type:
|
30
|
-
head:
|
31
|
-
headAlign:
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
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
|
-
|
40
|
+
if (a.type.name === "OPagetableColumnDate")
|
41
41
|
return {
|
42
|
-
type:
|
43
|
-
head:
|
44
|
-
headAlign:
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
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
|
-
|
53
|
+
if (a.type.name === "OPagetableColumnSingleselect" || a.type.name === "OPagetableColumnMultiselect")
|
53
54
|
return {
|
54
|
-
type:
|
55
|
-
head:
|
56
|
-
headAlign:
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
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
|
-
|
65
|
+
if (a.type.name === "OPagetableColumnButtongroup")
|
64
66
|
return {
|
65
|
-
type:
|
66
|
-
head:
|
67
|
-
headAlign:
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
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
|
-
|
77
|
+
if (a.type.name === "OPagetableColumngroup")
|
75
78
|
return {
|
76
|
-
type:
|
77
|
-
head:
|
78
|
-
headAlign:
|
79
|
-
children:
|
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
|
-
|
84
|
+
if (a.type.name === "OPagetableColumnDiy")
|
82
85
|
return {
|
83
|
-
type:
|
84
|
-
head:
|
85
|
-
headAlign:
|
86
|
-
name:
|
87
|
-
width:
|
88
|
-
fixed:
|
89
|
-
tail:
|
90
|
-
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
|
-
|
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
|
99
|
-
|
100
|
-
var
|
101
|
-
const
|
102
|
-
|
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
|
-
|
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,
|
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":"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"}
|
@@ -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;
|