orion-design 0.1.29 → 0.1.31
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Throne/index.js +30 -14
- package/dist/Throne/index.js.map +1 -1
- package/dist/_commonjsHelpers-DWwsNxpa.js +9 -0
- package/dist/_commonjsHelpers-DWwsNxpa.js.map +1 -0
- package/dist/components/Button/index.js +40 -33
- package/dist/components/Button/index.js.map +1 -1
- package/dist/components/Flex/index.js +122 -89
- 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 +128 -66
- package/dist/components/Form/hooks/index.js.map +1 -1
- package/dist/components/Form/index.js +836 -656
- package/dist/components/Form/index.js.map +1 -1
- package/dist/components/Form/utils/index.js +30 -18
- package/dist/components/Form/utils/index.js.map +1 -1
- package/dist/components/LovTable/LovPagetable.vue.d.ts +28 -0
- package/dist/components/LovTable/index.d.ts +14 -0
- package/dist/components/LovTable/index.js +179 -105
- package/dist/components/LovTable/index.js.map +1 -1
- package/dist/components/Modal/Modal.d.ts +2 -0
- package/dist/components/Modal/ModalLocator.vue.d.ts +20 -0
- package/dist/components/Modal/index.d.ts +4 -1
- package/dist/components/Modal/index.js +127 -0
- package/dist/components/Modal/index.js.map +1 -0
- package/dist/components/Modal/types.d.ts +18 -0
- package/dist/components/Modal/types.js +7 -0
- package/dist/components/Modal/types.js.map +1 -0
- package/dist/components/Modal/useModal.d.ts +1 -3
- package/dist/components/Modal/useModal.js +5 -4
- package/dist/components/Modal/useModal.js.map +1 -1
- package/dist/components/Pagetable/Pagetable.d.ts +13 -0
- 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/PagetableColumnDiy.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 +88 -74
- package/dist/components/Pagetable/hooks/useColumns.js.map +1 -1
- package/dist/components/Pagetable/index.d.ts +9 -0
- package/dist/components/Pagetable/index.js +697 -491
- package/dist/components/Pagetable/index.js.map +1 -1
- package/dist/components/Pagetable/utils/index.js +92 -54
- package/dist/components/Pagetable/utils/index.js.map +1 -1
- package/dist/components/Querytable/hooks/useColumns.js +82 -74
- package/dist/components/Querytable/hooks/useColumns.js.map +1 -1
- package/dist/components/Querytable/index.js +579 -469
- package/dist/components/Querytable/index.js.map +1 -1
- package/dist/components/Querytable/utils/index.js +92 -54
- package/dist/components/Querytable/utils/index.js.map +1 -1
- package/dist/components/RichTextEditor/index.js +100 -74
- 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 +603 -358
- 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 +6 -4
- 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 +74 -39
- package/dist/components/_hooks/use-namespace/index.js.map +1 -1
- package/dist/components/_hooks/use-ordered-children/index.js +29 -19
- package/dist/components/_hooks/use-ordered-children/index.js.map +1 -1
- package/dist/components/_util/arrays.js +9 -5
- 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 +22 -17
- package/dist/components/_util/classNames.js.map +1 -1
- package/dist/components/_util/dom/aria.js +74 -39
- package/dist/components/_util/dom/aria.js.map +1 -1
- package/dist/components/_util/dom/element.js +9 -8
- package/dist/components/_util/dom/element.js.map +1 -1
- package/dist/components/_util/dom/event.js +14 -7
- 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 +49 -25
- package/dist/components/_util/dom/position.js.map +1 -1
- package/dist/components/_util/dom/scroll.js +103 -61
- package/dist/components/_util/dom/scroll.js.map +1 -1
- package/dist/components/_util/dom/style.js +65 -50
- package/dist/components/_util/dom/style.js.map +1 -1
- package/dist/components/_util/easings.js +8 -4
- package/dist/components/_util/easings.js.map +1 -1
- package/dist/components/_util/error.js +12 -11
- 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 +4 -2
- package/dist/components/_util/isValid.js.map +1 -1
- package/dist/components/_util/objects.js +18 -14
- package/dist/components/_util/objects.js.map +1 -1
- package/dist/components/_util/props-util/index.js +46 -20
- package/dist/components/_util/props-util/index.js.map +1 -1
- package/dist/components/_util/props-util/initDefaultProps.js +18 -10
- package/dist/components/_util/props-util/initDefaultProps.js.map +1 -1
- package/dist/components/_util/raf.js +5 -4
- package/dist/components/_util/raf.js.map +1 -1
- package/dist/components/_util/rand.js +4 -3
- package/dist/components/_util/rand.js.map +1 -1
- package/dist/components/_util/strings.js +9 -8
- package/dist/components/_util/strings.js.map +1 -1
- package/dist/components/_util/throttleByRaf.js +16 -10
- package/dist/components/_util/throttleByRaf.js.map +1 -1
- package/dist/components/_util/type.js +41 -38
- package/dist/components/_util/type.js.map +1 -1
- package/dist/components/_util/types.js +41 -22
- 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 +85 -43
- package/dist/components/_util/util.js.map +1 -1
- package/dist/components/_util/vue/global-node.js +27 -15
- package/dist/components/_util/vue/global-node.js.map +1 -1
- package/dist/components/_util/vue/icon.js +29 -25
- 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 +35 -18
- 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 +46 -30
- package/dist/components/_util/vue/props/runtime.js.map +1 -1
- package/dist/components/_util/vue/refs.js +12 -6
- package/dist/components/_util/vue/refs.js.map +1 -1
- package/dist/components/_util/vue/size.js +5 -3
- package/dist/components/_util/vue/size.js.map +1 -1
- package/dist/components/_util/vue/validator.js +5 -4
- package/dist/components/_util/vue/validator.js.map +1 -1
- package/dist/components/_util/vue/vnode.js +100 -54
- package/dist/components/_util/vue/vnode.js.map +1 -1
- package/dist/components/_util/vue-types/index.js +231 -220
- package/dist/components/_util/vue-types/index.js.map +1 -1
- package/dist/components/components.js +20 -20
- package/dist/components/index.js +38 -35
- package/dist/components/index.js.map +1 -1
- package/dist/components-8oZ2kpUC.js +27 -0
- package/dist/components-8oZ2kpUC.js.map +1 -0
- package/dist/components-B3d9m_tn.js +27 -0
- package/dist/components-B3d9m_tn.js.map +1 -0
- package/dist/error/OrionError.js +8 -4
- package/dist/error/OrionError.js.map +1 -1
- package/dist/functions-BeMkokbY.js +63 -0
- package/dist/functions-BeMkokbY.js.map +1 -0
- package/dist/index-BOKLZnqH.js +54 -0
- package/dist/index-BOKLZnqH.js.map +1 -0
- package/dist/index-D1m0KTpK.js +69 -0
- package/dist/index-D1m0KTpK.js.map +1 -0
- package/dist/index-DR5ZP7mD.js +160 -0
- package/dist/index-DR5ZP7mD.js.map +1 -0
- package/dist/index-DkwIULcN.js +200 -0
- package/dist/index-DkwIULcN.js.map +1 -0
- package/dist/index.css +797 -1
- package/dist/index.js +36 -36
- package/dist/print/LodopFuncs.js +101 -43
- package/dist/print/LodopFuncs.js.map +1 -1
- package/dist/print/index.js +200 -108
- package/dist/print/index.js.map +1 -1
- package/dist/request/ErrorHandlerChain.js +17 -14
- package/dist/request/ErrorHandlerChain.js.map +1 -1
- package/dist/request/RequestFilterChain.js +16 -13
- package/dist/request/RequestFilterChain.js.map +1 -1
- package/dist/request/ResponseParserChain.js +17 -14
- package/dist/request/ResponseParserChain.js.map +1 -1
- package/dist/request/disivion/DateSerializer.js +47 -22
- package/dist/request/disivion/DateSerializer.js.map +1 -1
- package/dist/request/disivion/DivisionErrorHandler.js +40 -25
- package/dist/request/disivion/DivisionErrorHandler.js.map +1 -1
- package/dist/request/disivion/DivisionResponseParser.js +16 -10
- package/dist/request/disivion/DivisionResponseParser.js.map +1 -1
- package/dist/request/disivion/index.js +305 -201
- package/dist/request/disivion/index.js.map +1 -1
- package/dist/request/error/BizExceptionResponseError.js +11 -5
- package/dist/request/error/BizExceptionResponseError.js.map +1 -1
- package/dist/request/error/ExceptionResponseError.js +11 -5
- package/dist/request/error/ExceptionResponseError.js.map +1 -1
- package/dist/request/error/ResponseError.js +9 -4
- package/dist/request/error/ResponseError.js.map +1 -1
- package/dist/request/error/SessionExceptionResponseError.js +11 -5
- package/dist/request/error/SessionExceptionResponseError.js.map +1 -1
- package/dist/request/index.js +11 -11
- package/dist/utils/DateUtil.js +48 -33
- 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 +191 -93
- package/dist/utils/md5.js.map +1 -1
- package/dist/utils/uuid.js +35 -25
- 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/components-J6-qau6Y.js +0 -73
- package/dist/components-J6-qau6Y.js.map +0 -1
@@ -4,6 +4,10 @@ export declare const pagetableProps: () => {
|
|
4
4
|
type: PropType<any[]>;
|
5
5
|
default: any[];
|
6
6
|
};
|
7
|
+
tailData: {
|
8
|
+
type: PropType<Record<string, any>>;
|
9
|
+
default: Record<string, any>;
|
10
|
+
};
|
7
11
|
pagination: {
|
8
12
|
type: PropType<{
|
9
13
|
currentPage?: number;
|
@@ -41,6 +45,10 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
|
41
45
|
type: PropType<any[]>;
|
42
46
|
default: any[];
|
43
47
|
};
|
48
|
+
tailData: {
|
49
|
+
type: PropType<Record<string, any>>;
|
50
|
+
default: Record<string, any>;
|
51
|
+
};
|
44
52
|
pagination: {
|
45
53
|
type: PropType<{
|
46
54
|
currentPage?: number;
|
@@ -76,6 +84,10 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
|
76
84
|
type: PropType<any[]>;
|
77
85
|
default: any[];
|
78
86
|
};
|
87
|
+
tailData: {
|
88
|
+
type: PropType<Record<string, any>>;
|
89
|
+
default: Record<string, any>;
|
90
|
+
};
|
79
91
|
pagination: {
|
80
92
|
type: PropType<{
|
81
93
|
currentPage?: number;
|
@@ -123,6 +135,7 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
|
123
135
|
pageSizes?: number[];
|
124
136
|
total?: number;
|
125
137
|
};
|
138
|
+
tailData: Record<string, any>;
|
126
139
|
showRowNumber: boolean;
|
127
140
|
selectionMode: boolean;
|
128
141
|
currentRowMode: boolean;
|
@@ -22,6 +22,10 @@ export declare const pagetableColumnButtongroupProps: () => {
|
|
22
22
|
type: PropType<FixedType>;
|
23
23
|
default: FixedType;
|
24
24
|
};
|
25
|
+
tail: {
|
26
|
+
type: PropType<string | boolean>;
|
27
|
+
default: string | boolean;
|
28
|
+
};
|
25
29
|
};
|
26
30
|
export type PagetableColumnButtongroupProps = Partial<ExtractPropTypes<ReturnType<typeof pagetableColumnButtongroupProps>>>;
|
27
31
|
declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
@@ -45,6 +49,10 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
|
45
49
|
type: PropType<FixedType>;
|
46
50
|
default: FixedType;
|
47
51
|
};
|
52
|
+
tail: {
|
53
|
+
type: PropType<string | boolean>;
|
54
|
+
default: string | boolean;
|
55
|
+
};
|
48
56
|
}>, () => null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
|
49
57
|
head: {
|
50
58
|
type: PropType<string>;
|
@@ -66,11 +74,16 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
|
66
74
|
type: PropType<FixedType>;
|
67
75
|
default: FixedType;
|
68
76
|
};
|
77
|
+
tail: {
|
78
|
+
type: PropType<string | boolean>;
|
79
|
+
default: string | boolean;
|
80
|
+
};
|
69
81
|
}>> & Readonly<{}>, {
|
70
82
|
fixed: FixedType;
|
71
83
|
head: string;
|
72
84
|
width: string | boolean;
|
73
85
|
name: string;
|
86
|
+
tail: string | boolean;
|
74
87
|
headAlign: "center" | "left" | "right";
|
75
88
|
}, CustomSlotsType<{
|
76
89
|
default: any;
|
@@ -21,6 +21,10 @@ export declare const pagetableColumnDateProps: () => {
|
|
21
21
|
type: PropType<FixedType>;
|
22
22
|
default: FixedType;
|
23
23
|
};
|
24
|
+
tail: {
|
25
|
+
type: PropType<string | boolean>;
|
26
|
+
default: string | boolean;
|
27
|
+
};
|
24
28
|
format: {
|
25
29
|
type: PropType<string>;
|
26
30
|
default: string;
|
@@ -52,6 +56,10 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
|
52
56
|
type: PropType<FixedType>;
|
53
57
|
default: FixedType;
|
54
58
|
};
|
59
|
+
tail: {
|
60
|
+
type: PropType<string | boolean>;
|
61
|
+
default: string | boolean;
|
62
|
+
};
|
55
63
|
format: {
|
56
64
|
type: PropType<string>;
|
57
65
|
default: string;
|
@@ -81,6 +89,10 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
|
81
89
|
type: PropType<FixedType>;
|
82
90
|
default: FixedType;
|
83
91
|
};
|
92
|
+
tail: {
|
93
|
+
type: PropType<string | boolean>;
|
94
|
+
default: string | boolean;
|
95
|
+
};
|
84
96
|
format: {
|
85
97
|
type: PropType<string>;
|
86
98
|
default: string;
|
@@ -95,6 +107,7 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
|
95
107
|
width: string | boolean;
|
96
108
|
name: string;
|
97
109
|
format: string;
|
110
|
+
tail: string | boolean;
|
98
111
|
headAlign: "center" | "left" | "right";
|
99
112
|
sourceFormat: string;
|
100
113
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
@@ -22,6 +22,10 @@ export declare const pagetableColumnDiyProps: () => {
|
|
22
22
|
type: PropType<FixedType>;
|
23
23
|
default: FixedType;
|
24
24
|
};
|
25
|
+
tail: {
|
26
|
+
type: PropType<string | boolean>;
|
27
|
+
default: string | boolean;
|
28
|
+
};
|
25
29
|
};
|
26
30
|
export type PagetableColumnDiyProps = Partial<ExtractPropTypes<ReturnType<typeof pagetableColumnDiyProps>>>;
|
27
31
|
declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
@@ -45,6 +49,10 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
|
45
49
|
type: PropType<FixedType>;
|
46
50
|
default: FixedType;
|
47
51
|
};
|
52
|
+
tail: {
|
53
|
+
type: PropType<string | boolean>;
|
54
|
+
default: string | boolean;
|
55
|
+
};
|
48
56
|
}>, () => null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
|
49
57
|
head: {
|
50
58
|
type: PropType<string>;
|
@@ -66,11 +74,16 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
|
66
74
|
type: PropType<FixedType>;
|
67
75
|
default: FixedType;
|
68
76
|
};
|
77
|
+
tail: {
|
78
|
+
type: PropType<string | boolean>;
|
79
|
+
default: string | boolean;
|
80
|
+
};
|
69
81
|
}>> & Readonly<{}>, {
|
70
82
|
fixed: FixedType;
|
71
83
|
head: string;
|
72
84
|
width: string | boolean;
|
73
85
|
name: string;
|
86
|
+
tail: string | boolean;
|
74
87
|
headAlign: "center" | "left" | "right";
|
75
88
|
}, CustomSlotsType<{
|
76
89
|
default: any;
|
@@ -21,6 +21,10 @@ export declare const pagetableColumnLinkProps: () => {
|
|
21
21
|
type: PropType<FixedType>;
|
22
22
|
default: FixedType;
|
23
23
|
};
|
24
|
+
tail: {
|
25
|
+
type: PropType<string | boolean>;
|
26
|
+
default: string | boolean;
|
27
|
+
};
|
24
28
|
};
|
25
29
|
export type PagetableColumnLinkProps = Partial<ExtractPropTypes<ReturnType<typeof pagetableColumnLinkProps>>>;
|
26
30
|
declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
@@ -44,6 +48,10 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
|
44
48
|
type: PropType<FixedType>;
|
45
49
|
default: FixedType;
|
46
50
|
};
|
51
|
+
tail: {
|
52
|
+
type: PropType<string | boolean>;
|
53
|
+
default: string | boolean;
|
54
|
+
};
|
47
55
|
}>, () => null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
|
48
56
|
head: {
|
49
57
|
type: PropType<string>;
|
@@ -65,11 +73,16 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
|
65
73
|
type: PropType<FixedType>;
|
66
74
|
default: FixedType;
|
67
75
|
};
|
76
|
+
tail: {
|
77
|
+
type: PropType<string | boolean>;
|
78
|
+
default: string | boolean;
|
79
|
+
};
|
68
80
|
}>> & Readonly<{}>, {
|
69
81
|
fixed: FixedType;
|
70
82
|
head: string;
|
71
83
|
width: string | boolean;
|
72
84
|
name: string;
|
85
|
+
tail: string | boolean;
|
73
86
|
headAlign: "center" | "left" | "right";
|
74
87
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
75
88
|
export default _default;
|
@@ -21,6 +21,10 @@ export declare const pagetableColumnMultiselectProps: () => {
|
|
21
21
|
type: PropType<FixedType>;
|
22
22
|
default: FixedType;
|
23
23
|
};
|
24
|
+
tail: {
|
25
|
+
type: PropType<string | boolean>;
|
26
|
+
default: string | boolean;
|
27
|
+
};
|
24
28
|
code: {
|
25
29
|
type: PropType<string | {
|
26
30
|
value: string;
|
@@ -54,6 +58,10 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
|
54
58
|
type: PropType<FixedType>;
|
55
59
|
default: FixedType;
|
56
60
|
};
|
61
|
+
tail: {
|
62
|
+
type: PropType<string | boolean>;
|
63
|
+
default: string | boolean;
|
64
|
+
};
|
57
65
|
code: {
|
58
66
|
type: PropType<string | {
|
59
67
|
value: string;
|
@@ -85,6 +93,10 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
|
85
93
|
type: PropType<FixedType>;
|
86
94
|
default: FixedType;
|
87
95
|
};
|
96
|
+
tail: {
|
97
|
+
type: PropType<string | boolean>;
|
98
|
+
default: string | boolean;
|
99
|
+
};
|
88
100
|
code: {
|
89
101
|
type: PropType<string | {
|
90
102
|
value: string;
|
@@ -104,6 +116,7 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
|
104
116
|
head: string;
|
105
117
|
width: string | boolean;
|
106
118
|
name: string;
|
119
|
+
tail: string | boolean;
|
107
120
|
headAlign: "center" | "left" | "right";
|
108
121
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
109
122
|
export default _default;
|
@@ -21,6 +21,10 @@ export declare const pagetableColumnNumberProps: () => {
|
|
21
21
|
type: PropType<FixedType>;
|
22
22
|
default: FixedType;
|
23
23
|
};
|
24
|
+
tail: {
|
25
|
+
type: PropType<string | boolean>;
|
26
|
+
default: string | boolean;
|
27
|
+
};
|
24
28
|
thousandsSeparator: {
|
25
29
|
type: BooleanConstructor;
|
26
30
|
default: boolean;
|
@@ -56,6 +60,10 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
|
56
60
|
type: PropType<FixedType>;
|
57
61
|
default: FixedType;
|
58
62
|
};
|
63
|
+
tail: {
|
64
|
+
type: PropType<string | boolean>;
|
65
|
+
default: string | boolean;
|
66
|
+
};
|
59
67
|
thousandsSeparator: {
|
60
68
|
type: BooleanConstructor;
|
61
69
|
default: boolean;
|
@@ -89,6 +97,10 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
|
89
97
|
type: PropType<FixedType>;
|
90
98
|
default: FixedType;
|
91
99
|
};
|
100
|
+
tail: {
|
101
|
+
type: PropType<string | boolean>;
|
102
|
+
default: string | boolean;
|
103
|
+
};
|
92
104
|
thousandsSeparator: {
|
93
105
|
type: BooleanConstructor;
|
94
106
|
default: boolean;
|
@@ -107,6 +119,7 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
|
107
119
|
width: string | boolean;
|
108
120
|
name: string;
|
109
121
|
thousandsSeparator: boolean;
|
122
|
+
tail: string | boolean;
|
110
123
|
headAlign: "center" | "left" | "right";
|
111
124
|
precision: -1;
|
112
125
|
percentage: boolean;
|
@@ -21,6 +21,10 @@ export declare const pagetableColumnSingleselectProps: () => {
|
|
21
21
|
type: PropType<FixedType>;
|
22
22
|
default: FixedType;
|
23
23
|
};
|
24
|
+
tail: {
|
25
|
+
type: PropType<string | boolean>;
|
26
|
+
default: string | boolean;
|
27
|
+
};
|
24
28
|
code: {
|
25
29
|
type: PropType<string | {
|
26
30
|
value: string;
|
@@ -54,6 +58,10 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
|
54
58
|
type: PropType<FixedType>;
|
55
59
|
default: FixedType;
|
56
60
|
};
|
61
|
+
tail: {
|
62
|
+
type: PropType<string | boolean>;
|
63
|
+
default: string | boolean;
|
64
|
+
};
|
57
65
|
code: {
|
58
66
|
type: PropType<string | {
|
59
67
|
value: string;
|
@@ -85,6 +93,10 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
|
85
93
|
type: PropType<FixedType>;
|
86
94
|
default: FixedType;
|
87
95
|
};
|
96
|
+
tail: {
|
97
|
+
type: PropType<string | boolean>;
|
98
|
+
default: string | boolean;
|
99
|
+
};
|
88
100
|
code: {
|
89
101
|
type: PropType<string | {
|
90
102
|
value: string;
|
@@ -104,6 +116,7 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
|
104
116
|
head: string;
|
105
117
|
width: string | boolean;
|
106
118
|
name: string;
|
119
|
+
tail: string | boolean;
|
107
120
|
headAlign: "center" | "left" | "right";
|
108
121
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
109
122
|
export default _default;
|
@@ -21,6 +21,10 @@ export declare const pagetableColumnStringProps: () => {
|
|
21
21
|
type: PropType<FixedType>;
|
22
22
|
default: FixedType;
|
23
23
|
};
|
24
|
+
tail: {
|
25
|
+
type: PropType<string | boolean>;
|
26
|
+
default: string | boolean;
|
27
|
+
};
|
24
28
|
};
|
25
29
|
export type PagetableColumnStringProps = Partial<ExtractPropTypes<ReturnType<typeof pagetableColumnStringProps>>>;
|
26
30
|
declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
@@ -44,6 +48,10 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
|
44
48
|
type: PropType<FixedType>;
|
45
49
|
default: FixedType;
|
46
50
|
};
|
51
|
+
tail: {
|
52
|
+
type: PropType<string | boolean>;
|
53
|
+
default: string | boolean;
|
54
|
+
};
|
47
55
|
}>, () => null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
|
48
56
|
head: {
|
49
57
|
type: PropType<string>;
|
@@ -65,11 +73,16 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
|
65
73
|
type: PropType<FixedType>;
|
66
74
|
default: FixedType;
|
67
75
|
};
|
76
|
+
tail: {
|
77
|
+
type: PropType<string | boolean>;
|
78
|
+
default: string | boolean;
|
79
|
+
};
|
68
80
|
}>> & Readonly<{}>, {
|
69
81
|
fixed: FixedType;
|
70
82
|
head: string;
|
71
83
|
width: string | boolean;
|
72
84
|
name: string;
|
85
|
+
tail: string | boolean;
|
73
86
|
headAlign: "center" | "left" | "right";
|
74
87
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
75
88
|
export default _default;
|
@@ -1,97 +1,111 @@
|
|
1
|
-
import { computed
|
2
|
-
import
|
3
|
-
import { camelize
|
4
|
-
import { filterEmpty
|
5
|
-
function
|
6
|
-
|
7
|
-
var
|
8
|
-
const
|
9
|
-
for (const [
|
10
|
-
delete
|
11
|
-
|
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") {
|
12
14
|
return {
|
13
|
-
type:
|
15
|
+
type: c.type.name
|
14
16
|
};
|
15
|
-
if (
|
17
|
+
} else if (c.type.name === "OPagetableColumnString" || c.type.name === "OPagetableColumnLink") {
|
16
18
|
return {
|
17
|
-
type:
|
18
|
-
head:
|
19
|
-
headAlign:
|
20
|
-
name:
|
21
|
-
width:
|
22
|
-
fixed:
|
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
|
23
26
|
};
|
24
|
-
if (
|
27
|
+
} else if (c.type.name === "OPagetableColumnNumber") {
|
25
28
|
return {
|
26
|
-
type:
|
27
|
-
head:
|
28
|
-
headAlign:
|
29
|
-
name:
|
30
|
-
width:
|
31
|
-
fixed:
|
32
|
-
|
33
|
-
|
34
|
-
|
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
|
35
39
|
};
|
36
|
-
if (
|
40
|
+
} else if (c.type.name === "OPagetableColumnDate") {
|
37
41
|
return {
|
38
|
-
type:
|
39
|
-
head:
|
40
|
-
headAlign:
|
41
|
-
name:
|
42
|
-
width:
|
43
|
-
fixed:
|
44
|
-
|
45
|
-
|
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
|
46
51
|
};
|
47
|
-
if (
|
52
|
+
} else if (c.type.name === "OPagetableColumnSingleselect" || c.type.name === "OPagetableColumnMultiselect") {
|
48
53
|
return {
|
49
|
-
type:
|
50
|
-
head:
|
51
|
-
headAlign:
|
52
|
-
name:
|
53
|
-
width:
|
54
|
-
fixed:
|
55
|
-
|
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
|
56
62
|
};
|
57
|
-
if (
|
63
|
+
} else if (c.type.name === "OPagetableColumnButtongroup") {
|
58
64
|
return {
|
59
|
-
type:
|
60
|
-
head:
|
61
|
-
headAlign:
|
62
|
-
name:
|
63
|
-
width:
|
64
|
-
fixed:
|
65
|
-
|
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
|
66
73
|
};
|
67
|
-
if (
|
74
|
+
} else if (c.type.name === "OPagetableColumngroup") {
|
68
75
|
return {
|
69
|
-
type:
|
70
|
-
head:
|
71
|
-
headAlign:
|
72
|
-
children:
|
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)))
|
73
80
|
};
|
74
|
-
if (
|
81
|
+
} else if (c.type.name === "OPagetableColumnDiy") {
|
75
82
|
return {
|
76
|
-
type:
|
77
|
-
head:
|
78
|
-
headAlign:
|
79
|
-
name:
|
80
|
-
width:
|
81
|
-
fixed:
|
82
|
-
|
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
|
83
91
|
};
|
84
|
-
|
92
|
+
} else {
|
93
|
+
throw new OrionError(`OPagetable不能正确解析'${c.type.name}'子组件。`);
|
94
|
+
}
|
85
95
|
});
|
96
|
+
return tableColumns;
|
86
97
|
}
|
87
|
-
function
|
88
|
-
|
89
|
-
var
|
90
|
-
const
|
91
|
-
|
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;
|
92
105
|
});
|
106
|
+
return columns;
|
93
107
|
}
|
94
108
|
export {
|
95
|
-
|
109
|
+
useColumns as default
|
96
110
|
};
|
97
111
|
//# 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 }\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\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\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\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\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\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":[
|
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":"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"}
|
@@ -15,6 +15,10 @@ declare const _default: import('../_util').SFCWithInstall<import('vue').DefineCo
|
|
15
15
|
type: import('vue').PropType<any[]>;
|
16
16
|
default: any[];
|
17
17
|
};
|
18
|
+
tailData: {
|
19
|
+
type: import('vue').PropType<Record<string, any>>;
|
20
|
+
default: Record<string, any>;
|
21
|
+
};
|
18
22
|
pagination: {
|
19
23
|
type: import('vue').PropType<{
|
20
24
|
currentPage?: number;
|
@@ -50,6 +54,10 @@ declare const _default: import('../_util').SFCWithInstall<import('vue').DefineCo
|
|
50
54
|
type: import('vue').PropType<any[]>;
|
51
55
|
default: any[];
|
52
56
|
};
|
57
|
+
tailData: {
|
58
|
+
type: import('vue').PropType<Record<string, any>>;
|
59
|
+
default: Record<string, any>;
|
60
|
+
};
|
53
61
|
pagination: {
|
54
62
|
type: import('vue').PropType<{
|
55
63
|
currentPage?: number;
|
@@ -97,6 +105,7 @@ declare const _default: import('../_util').SFCWithInstall<import('vue').DefineCo
|
|
97
105
|
pageSizes?: number[];
|
98
106
|
total?: number;
|
99
107
|
};
|
108
|
+
tailData: Record<string, any>;
|
100
109
|
showRowNumber: boolean;
|
101
110
|
selectionMode: boolean;
|
102
111
|
currentRowMode: boolean;
|