orion-design 0.1.48 → 0.1.50
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/base64-KVpG-D_n.js +103 -0
- package/dist/base64-KVpG-D_n.js.map +1 -0
- package/dist/components/Button/index.d.ts +217 -4
- package/dist/components/Button/index.js +17 -25
- package/dist/components/Button/index.js.map +1 -1
- package/dist/components/Card/index.d.ts +1 -3
- package/dist/components/Form/FileInput/FileInput.vue.d.ts +3 -100
- package/dist/components/Form/Form.vue.d.ts +2 -70
- package/dist/components/Form/LovInput/LovInput.vue.d.ts +21526 -1248
- package/dist/components/Form/TableSelect/TableSelect.vue.d.ts +21526 -1248
- package/dist/components/Form/index.d.ts +2 -38
- package/dist/components/Form/index.js +126 -127
- package/dist/components/Form/index.js.map +1 -1
- package/dist/components/LovTable/LovPagetable.vue.d.ts +2 -262
- package/dist/components/LovTable/LovQuerytable.vue.d.ts +2 -178
- package/dist/components/LovTable/index.d.ts +4 -233
- package/dist/components/Message/index.d.ts +27 -0
- package/dist/components/Message/index.js +16 -0
- package/dist/components/Message/index.js.map +1 -0
- package/dist/components/MessageBox/index.d.ts +13 -0
- package/dist/components/MessageBox/index.js +27 -0
- package/dist/components/MessageBox/index.js.map +1 -0
- package/dist/components/Space/index.d.ts +1 -10
- package/dist/components/TableSelectPagetable/TableSelectPagetable.vue.d.ts +2 -262
- package/dist/components/TableSelectPagetable/index.d.ts +2 -136
- package/dist/components/Tabs/index.js +1 -1
- package/dist/components/Tree/Tree.vue.d.ts +2 -160
- package/dist/components/Tree/index.d.ts +2 -84
- package/dist/components/_util/dom/element.js +1 -1
- package/dist/components/_util/dom/style.js +1 -1
- package/dist/components/_util/error.js +1 -1
- package/dist/components/_util/functions.js +1 -1
- package/dist/components/_util/index.js +1 -1
- package/dist/components/_util/objects.js +1 -1
- package/dist/components/_util/strings.js +2 -2
- package/dist/components/_util/types.js +2 -2
- package/dist/components/_util/vue/install.js +1 -1
- package/dist/components/_util/vue/props/runtime.js +1 -1
- package/dist/components/_util/vue/refs.js +1 -1
- package/dist/components/_util/vue/vnode.js +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +38 -34
- package/dist/components/index.js.map +1 -1
- package/dist/{functions-DzLqXvGt.js → functions-LOH6x_02.js} +2 -2
- package/dist/functions-LOH6x_02.js.map +1 -0
- package/dist/index-BW3nOBfD.js +714 -0
- package/dist/index-BW3nOBfD.js.map +1 -0
- package/dist/index.js +24 -20
- package/dist/index.js.map +1 -1
- package/dist/request/disivion/DivisionErrorHandler.d.ts +0 -2
- package/dist/request/disivion/DivisionErrorHandler.js +18 -28
- package/dist/request/disivion/DivisionErrorHandler.js.map +1 -1
- package/dist/request/disivion/index.d.ts +1 -0
- package/dist/request/disivion/index.js +73 -168
- package/dist/request/disivion/index.js.map +1 -1
- package/dist/request/error/ResponseError404.d.ts +7 -0
- package/dist/request/error/ResponseError404.js +10 -0
- package/dist/request/error/ResponseError404.js.map +1 -0
- package/dist/request/error/ResponseError500.d.ts +6 -0
- package/dist/request/error/ResponseError500.js +10 -0
- package/dist/request/error/ResponseError500.js.map +1 -0
- package/dist/request/error/{BizExceptionResponseError.d.ts → ResponseErrorBizException.d.ts} +1 -1
- package/dist/request/error/{BizExceptionResponseError.js → ResponseErrorBizException.js} +2 -2
- package/dist/request/error/ResponseErrorBizException.js.map +1 -0
- package/dist/request/error/{ExceptionResponseError.d.ts → ResponseErrorException.d.ts} +1 -1
- package/dist/request/error/{ExceptionResponseError.js → ResponseErrorException.js} +2 -2
- package/dist/request/error/ResponseErrorException.js.map +1 -0
- package/dist/request/error/{SessionExceptionResponseError.d.ts → ResponseErrorSessionException.d.ts} +1 -1
- package/dist/request/error/{SessionExceptionResponseError.js → ResponseErrorSessionException.js} +2 -2
- package/dist/request/error/{SessionExceptionResponseError.js.map → ResponseErrorSessionException.js.map} +1 -1
- package/dist/request/index.d.ts +12 -3
- package/dist/request/index.js +35 -11
- package/dist/request/index.js.map +1 -1
- package/dist/request/leaf7/Leaf7EncryptRequestParser.d.ts +8 -0
- package/dist/request/leaf7/Leaf7EncryptRequestParser.js +28 -0
- package/dist/request/leaf7/Leaf7EncryptRequestParser.js.map +1 -0
- package/dist/request/leaf7/Leaf7EncryptResponseParser.d.ts +8 -0
- package/dist/request/leaf7/Leaf7EncryptResponseParser.js +42 -0
- package/dist/request/leaf7/Leaf7EncryptResponseParser.js.map +1 -0
- package/dist/request/leaf7/Leaf7ErrorHandler.d.ts +7 -0
- package/dist/request/leaf7/Leaf7ErrorHandler.js +51 -0
- package/dist/request/leaf7/Leaf7ErrorHandler.js.map +1 -0
- package/dist/request/leaf7/Leaf7ResponseParser.d.ts +5 -0
- package/dist/request/leaf7/Leaf7ResponseParser.js +17 -0
- package/dist/request/leaf7/Leaf7ResponseParser.js.map +1 -0
- package/dist/request/leaf7/index.d.ts +20 -0
- package/dist/request/leaf7/index.js +130 -0
- package/dist/request/leaf7/index.js.map +1 -0
- package/dist/request/leaf7/smCrypto/sm2/asn1.d.ts +14 -0
- package/dist/request/leaf7/smCrypto/sm2/asn1.js +81 -0
- package/dist/request/leaf7/smCrypto/sm2/asn1.js.map +1 -0
- package/dist/request/leaf7/smCrypto/sm2/ec.d.ts +119 -0
- package/dist/request/leaf7/smCrypto/sm2/ec.js +199 -0
- package/dist/request/leaf7/smCrypto/sm2/ec.js.map +1 -0
- package/dist/request/leaf7/smCrypto/sm2/index.d.ts +45 -0
- package/dist/request/leaf7/smCrypto/sm2/index.js +102 -0
- package/dist/request/leaf7/smCrypto/sm2/index.js.map +1 -0
- package/dist/request/leaf7/smCrypto/sm2/sm3.d.ts +10 -0
- package/dist/request/leaf7/smCrypto/sm2/sm3.js +69 -0
- package/dist/request/leaf7/smCrypto/sm2/sm3.js.map +1 -0
- package/dist/request/leaf7/smCrypto/sm2/utils.d.ts +66 -0
- package/dist/request/leaf7/smCrypto/sm2/utils.js +91 -0
- package/dist/request/leaf7/smCrypto/sm2/utils.js.map +1 -0
- package/dist/request/leaf7/smCrypto/sm3/index.d.ts +1 -0
- package/dist/request/leaf7/smCrypto/sm3/index.js +45 -0
- package/dist/request/leaf7/smCrypto/sm3/index.js.map +1 -0
- package/dist/request/leaf7/smCrypto/sm4/index.d.ts +5 -0
- package/dist/request/leaf7/smCrypto/sm4/index.js +399 -0
- package/dist/request/leaf7/smCrypto/sm4/index.js.map +1 -0
- package/dist/request/leaf7/smCrypto/smCrypto.d.ts +3 -0
- package/dist/request/leaf7/smCrypto/smCrypto.js +9 -0
- package/dist/request/leaf7/smCrypto/smCrypto.js.map +1 -0
- package/dist/request/leaf7/types.d.ts +11 -0
- package/dist/request/leaf7/types.js +2 -0
- package/dist/request/leaf7/types.js.map +1 -0
- package/dist/request/utils/readBlob.d.ts +1 -0
- package/dist/request/utils/readBlob.js +12 -0
- package/dist/request/utils/readBlob.js.map +1 -0
- package/dist/utils/functions.js +1 -1
- package/dist/version/version.d.ts +1 -1
- package/dist/version/version.js +1 -1
- package/dist/version/version.js.map +1 -1
- package/package.json +2 -1
- package/dist/components/Button/Button.vue.d.ts +0 -16
- package/dist/functions-DzLqXvGt.js.map +0 -1
- package/dist/request/error/BizExceptionResponseError.js.map +0 -1
- package/dist/request/error/ExceptionResponseError.js.map +0 -1
@@ -91,95 +91,7 @@ declare function __VLS_template(): {
|
|
91
91
|
onRowDblclick?: ((...args: any[]) => any) | undefined;
|
92
92
|
onCellClick?: ((...args: any[]) => any) | undefined;
|
93
93
|
onCellDblclick?: ((...args: any[]) => any) | undefined;
|
94
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("selectionChange" | "currentRowChange" | "rowClick" | "rowDblclick" | "cellClick" | "cellDblclick")[], import('vue').
|
95
|
-
data: {
|
96
|
-
type: import('vue').PropType<any[]>;
|
97
|
-
default: any[];
|
98
|
-
};
|
99
|
-
showRowNumber: {
|
100
|
-
type: BooleanConstructor;
|
101
|
-
default: boolean;
|
102
|
-
};
|
103
|
-
selectionMode: {
|
104
|
-
type: BooleanConstructor;
|
105
|
-
default: boolean;
|
106
|
-
};
|
107
|
-
currentRowMode: {
|
108
|
-
type: BooleanConstructor;
|
109
|
-
default: boolean;
|
110
|
-
};
|
111
|
-
size: {
|
112
|
-
type: import('vue').PropType<"" | "small" | "default" | "large">;
|
113
|
-
default: "" | "small" | "default" | "large";
|
114
|
-
};
|
115
|
-
rowClassName: {
|
116
|
-
type: import('vue').PropType<string | ((data: {
|
117
|
-
rowData: any;
|
118
|
-
rowIndex: number;
|
119
|
-
}) => string)>;
|
120
|
-
default: string | ((data: {
|
121
|
-
rowData: any;
|
122
|
-
rowIndex: number;
|
123
|
-
}) => string);
|
124
|
-
};
|
125
|
-
rowStyle: {
|
126
|
-
type: import('vue').PropType<import('vue').CSSProperties | ((data: {
|
127
|
-
rowData: any;
|
128
|
-
rowIndex: number;
|
129
|
-
}) => import('vue').CSSProperties)>;
|
130
|
-
default: import('vue').CSSProperties | ((data: {
|
131
|
-
rowData: any;
|
132
|
-
rowIndex: number;
|
133
|
-
}) => import('vue').CSSProperties);
|
134
|
-
};
|
135
|
-
cellClassName: {
|
136
|
-
type: import('vue').PropType<string | ((data: {
|
137
|
-
rowData: any;
|
138
|
-
column: {
|
139
|
-
name: string;
|
140
|
-
head: string;
|
141
|
-
};
|
142
|
-
rowIndex: number;
|
143
|
-
columnIndex: number;
|
144
|
-
}) => string)>;
|
145
|
-
default: string | ((data: {
|
146
|
-
rowData: any;
|
147
|
-
column: {
|
148
|
-
name: string;
|
149
|
-
head: string;
|
150
|
-
};
|
151
|
-
rowIndex: number;
|
152
|
-
columnIndex: number;
|
153
|
-
}) => string);
|
154
|
-
};
|
155
|
-
cellStyle: {
|
156
|
-
type: import('vue').PropType<import('vue').CSSProperties | ((data: {
|
157
|
-
rowData: any;
|
158
|
-
column: {
|
159
|
-
name: string;
|
160
|
-
head: string;
|
161
|
-
};
|
162
|
-
rowIndex: number;
|
163
|
-
columnIndex: number;
|
164
|
-
}) => import('vue').CSSProperties)>;
|
165
|
-
default: import('vue').CSSProperties | ((data: {
|
166
|
-
rowData: any;
|
167
|
-
column: {
|
168
|
-
name: string;
|
169
|
-
head: string;
|
170
|
-
};
|
171
|
-
rowIndex: number;
|
172
|
-
columnIndex: number;
|
173
|
-
}) => import('vue').CSSProperties);
|
174
|
-
};
|
175
|
-
}>> & Readonly<{
|
176
|
-
onSelectionChange?: ((...args: any[]) => any) | undefined;
|
177
|
-
onCurrentRowChange?: ((...args: any[]) => any) | undefined;
|
178
|
-
onRowClick?: ((...args: any[]) => any) | undefined;
|
179
|
-
onRowDblclick?: ((...args: any[]) => any) | undefined;
|
180
|
-
onCellClick?: ((...args: any[]) => any) | undefined;
|
181
|
-
onCellDblclick?: ((...args: any[]) => any) | undefined;
|
182
|
-
}>, {
|
94
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("selectionChange" | "currentRowChange" | "rowClick" | "rowDblclick" | "cellClick" | "cellDblclick")[], import('vue').PublicProps, {
|
183
95
|
size: "" | "small" | "default" | "large";
|
184
96
|
data: any[];
|
185
97
|
showRowNumber: boolean;
|
@@ -436,95 +348,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
436
348
|
onRowDblclick?: ((...args: any[]) => any) | undefined;
|
437
349
|
onCellClick?: ((...args: any[]) => any) | undefined;
|
438
350
|
onCellDblclick?: ((...args: any[]) => any) | undefined;
|
439
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("selectionChange" | "currentRowChange" | "rowClick" | "rowDblclick" | "cellClick" | "cellDblclick")[], import('vue').
|
440
|
-
data: {
|
441
|
-
type: import('vue').PropType<any[]>;
|
442
|
-
default: any[];
|
443
|
-
};
|
444
|
-
showRowNumber: {
|
445
|
-
type: BooleanConstructor;
|
446
|
-
default: boolean;
|
447
|
-
};
|
448
|
-
selectionMode: {
|
449
|
-
type: BooleanConstructor;
|
450
|
-
default: boolean;
|
451
|
-
};
|
452
|
-
currentRowMode: {
|
453
|
-
type: BooleanConstructor;
|
454
|
-
default: boolean;
|
455
|
-
};
|
456
|
-
size: {
|
457
|
-
type: import('vue').PropType<"" | "small" | "default" | "large">;
|
458
|
-
default: "" | "small" | "default" | "large";
|
459
|
-
};
|
460
|
-
rowClassName: {
|
461
|
-
type: import('vue').PropType<string | ((data: {
|
462
|
-
rowData: any;
|
463
|
-
rowIndex: number;
|
464
|
-
}) => string)>;
|
465
|
-
default: string | ((data: {
|
466
|
-
rowData: any;
|
467
|
-
rowIndex: number;
|
468
|
-
}) => string);
|
469
|
-
};
|
470
|
-
rowStyle: {
|
471
|
-
type: import('vue').PropType<import('vue').CSSProperties | ((data: {
|
472
|
-
rowData: any;
|
473
|
-
rowIndex: number;
|
474
|
-
}) => import('vue').CSSProperties)>;
|
475
|
-
default: import('vue').CSSProperties | ((data: {
|
476
|
-
rowData: any;
|
477
|
-
rowIndex: number;
|
478
|
-
}) => import('vue').CSSProperties);
|
479
|
-
};
|
480
|
-
cellClassName: {
|
481
|
-
type: import('vue').PropType<string | ((data: {
|
482
|
-
rowData: any;
|
483
|
-
column: {
|
484
|
-
name: string;
|
485
|
-
head: string;
|
486
|
-
};
|
487
|
-
rowIndex: number;
|
488
|
-
columnIndex: number;
|
489
|
-
}) => string)>;
|
490
|
-
default: string | ((data: {
|
491
|
-
rowData: any;
|
492
|
-
column: {
|
493
|
-
name: string;
|
494
|
-
head: string;
|
495
|
-
};
|
496
|
-
rowIndex: number;
|
497
|
-
columnIndex: number;
|
498
|
-
}) => string);
|
499
|
-
};
|
500
|
-
cellStyle: {
|
501
|
-
type: import('vue').PropType<import('vue').CSSProperties | ((data: {
|
502
|
-
rowData: any;
|
503
|
-
column: {
|
504
|
-
name: string;
|
505
|
-
head: string;
|
506
|
-
};
|
507
|
-
rowIndex: number;
|
508
|
-
columnIndex: number;
|
509
|
-
}) => import('vue').CSSProperties)>;
|
510
|
-
default: import('vue').CSSProperties | ((data: {
|
511
|
-
rowData: any;
|
512
|
-
column: {
|
513
|
-
name: string;
|
514
|
-
head: string;
|
515
|
-
};
|
516
|
-
rowIndex: number;
|
517
|
-
columnIndex: number;
|
518
|
-
}) => import('vue').CSSProperties);
|
519
|
-
};
|
520
|
-
}>> & Readonly<{
|
521
|
-
onSelectionChange?: ((...args: any[]) => any) | undefined;
|
522
|
-
onCurrentRowChange?: ((...args: any[]) => any) | undefined;
|
523
|
-
onRowClick?: ((...args: any[]) => any) | undefined;
|
524
|
-
onRowDblclick?: ((...args: any[]) => any) | undefined;
|
525
|
-
onCellClick?: ((...args: any[]) => any) | undefined;
|
526
|
-
onCellDblclick?: ((...args: any[]) => any) | undefined;
|
527
|
-
}>, {
|
351
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("selectionChange" | "currentRowChange" | "rowClick" | "rowDblclick" | "cellClick" | "cellDblclick")[], import('vue').PublicProps, {
|
528
352
|
size: "" | "small" | "default" | "large";
|
529
353
|
data: any[];
|
530
354
|
showRowNumber: boolean;
|
@@ -2,9 +2,7 @@ declare const _default: import('../_util').SFCWithInstall<{}> & {
|
|
2
2
|
LovQuerytable: {
|
3
3
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
4
4
|
data: any[];
|
5
|
-
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').
|
6
|
-
data: any[];
|
7
|
-
}> & Readonly<{}>, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
5
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
8
6
|
table: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
9
7
|
data: {
|
10
8
|
type: import('vue').PropType<any[]>;
|
@@ -93,95 +91,7 @@ declare const _default: import('../_util').SFCWithInstall<{}> & {
|
|
93
91
|
onRowDblclick?: ((...args: any[]) => any) | undefined;
|
94
92
|
onCellClick?: ((...args: any[]) => any) | undefined;
|
95
93
|
onCellDblclick?: ((...args: any[]) => any) | undefined;
|
96
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("selectionChange" | "currentRowChange" | "rowClick" | "rowDblclick" | "cellClick" | "cellDblclick")[], import('vue').
|
97
|
-
data: {
|
98
|
-
type: import('vue').PropType<any[]>;
|
99
|
-
default: any[];
|
100
|
-
};
|
101
|
-
showRowNumber: {
|
102
|
-
type: BooleanConstructor;
|
103
|
-
default: boolean;
|
104
|
-
};
|
105
|
-
selectionMode: {
|
106
|
-
type: BooleanConstructor;
|
107
|
-
default: boolean;
|
108
|
-
};
|
109
|
-
currentRowMode: {
|
110
|
-
type: BooleanConstructor;
|
111
|
-
default: boolean;
|
112
|
-
};
|
113
|
-
size: {
|
114
|
-
type: import('vue').PropType<"" | "small" | "default" | "large">;
|
115
|
-
default: "" | "small" | "default" | "large";
|
116
|
-
};
|
117
|
-
rowClassName: {
|
118
|
-
type: import('vue').PropType<string | ((data: {
|
119
|
-
rowData: any;
|
120
|
-
rowIndex: number;
|
121
|
-
}) => string)>;
|
122
|
-
default: string | ((data: {
|
123
|
-
rowData: any;
|
124
|
-
rowIndex: number;
|
125
|
-
}) => string);
|
126
|
-
};
|
127
|
-
rowStyle: {
|
128
|
-
type: import('vue').PropType<import('vue').CSSProperties | ((data: {
|
129
|
-
rowData: any;
|
130
|
-
rowIndex: number;
|
131
|
-
}) => import('vue').CSSProperties)>;
|
132
|
-
default: import('vue').CSSProperties | ((data: {
|
133
|
-
rowData: any;
|
134
|
-
rowIndex: number;
|
135
|
-
}) => import('vue').CSSProperties);
|
136
|
-
};
|
137
|
-
cellClassName: {
|
138
|
-
type: import('vue').PropType<string | ((data: {
|
139
|
-
rowData: any;
|
140
|
-
column: {
|
141
|
-
name: string;
|
142
|
-
head: string;
|
143
|
-
};
|
144
|
-
rowIndex: number;
|
145
|
-
columnIndex: number;
|
146
|
-
}) => string)>;
|
147
|
-
default: string | ((data: {
|
148
|
-
rowData: any;
|
149
|
-
column: {
|
150
|
-
name: string;
|
151
|
-
head: string;
|
152
|
-
};
|
153
|
-
rowIndex: number;
|
154
|
-
columnIndex: number;
|
155
|
-
}) => string);
|
156
|
-
};
|
157
|
-
cellStyle: {
|
158
|
-
type: import('vue').PropType<import('vue').CSSProperties | ((data: {
|
159
|
-
rowData: any;
|
160
|
-
column: {
|
161
|
-
name: string;
|
162
|
-
head: string;
|
163
|
-
};
|
164
|
-
rowIndex: number;
|
165
|
-
columnIndex: number;
|
166
|
-
}) => import('vue').CSSProperties)>;
|
167
|
-
default: import('vue').CSSProperties | ((data: {
|
168
|
-
rowData: any;
|
169
|
-
column: {
|
170
|
-
name: string;
|
171
|
-
head: string;
|
172
|
-
};
|
173
|
-
rowIndex: number;
|
174
|
-
columnIndex: number;
|
175
|
-
}) => import('vue').CSSProperties);
|
176
|
-
};
|
177
|
-
}>> & Readonly<{
|
178
|
-
onSelectionChange?: ((...args: any[]) => any) | undefined;
|
179
|
-
onCurrentRowChange?: ((...args: any[]) => any) | undefined;
|
180
|
-
onRowClick?: ((...args: any[]) => any) | undefined;
|
181
|
-
onRowDblclick?: ((...args: any[]) => any) | undefined;
|
182
|
-
onCellClick?: ((...args: any[]) => any) | undefined;
|
183
|
-
onCellDblclick?: ((...args: any[]) => any) | undefined;
|
184
|
-
}>, {
|
94
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("selectionChange" | "currentRowChange" | "rowClick" | "rowDblclick" | "cellClick" | "cellDblclick")[], import('vue').PublicProps, {
|
185
95
|
size: "" | "small" | "default" | "large";
|
186
96
|
data: any[];
|
187
97
|
showRowNumber: boolean;
|
@@ -373,16 +283,7 @@ declare const _default: import('../_util').SFCWithInstall<{}> & {
|
|
373
283
|
"onUpdate:pagination"?: ((...args: any[]) => any) | undefined;
|
374
284
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
375
285
|
"update:pagination": (...args: any[]) => void;
|
376
|
-
}, import('vue').
|
377
|
-
data: any[];
|
378
|
-
pagination: {
|
379
|
-
currentPage?: number;
|
380
|
-
pageSize?: number;
|
381
|
-
total?: number;
|
382
|
-
};
|
383
|
-
}> & Readonly<{
|
384
|
-
"onUpdate:pagination"?: ((...args: any[]) => any) | undefined;
|
385
|
-
}>, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
286
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
386
287
|
table: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
387
288
|
data: {
|
388
289
|
type: import('vue').PropType<any[]>;
|
@@ -513,137 +414,7 @@ declare const _default: import('../_util').SFCWithInstall<{}> & {
|
|
513
414
|
onRowDblclick?: ((...args: any[]) => any) | undefined;
|
514
415
|
onCellClick?: ((...args: any[]) => any) | undefined;
|
515
416
|
onCellDblclick?: ((...args: any[]) => any) | undefined;
|
516
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("select" | "select-all" | "selectionChange" | "currentRowChange" | "update:pagination" | "paginationChange" | "rowClick" | "rowDblclick" | "cellClick" | "cellDblclick")[], import('vue').
|
517
|
-
data: {
|
518
|
-
type: import('vue').PropType<any[]>;
|
519
|
-
default: any[];
|
520
|
-
};
|
521
|
-
tailData: {
|
522
|
-
type: import('vue').PropType<Record<string, any>>;
|
523
|
-
default: Record<string, any>;
|
524
|
-
};
|
525
|
-
pagination: {
|
526
|
-
type: import('vue').PropType<{
|
527
|
-
currentPage?: number;
|
528
|
-
pageSize?: number;
|
529
|
-
pageSizes?: number[];
|
530
|
-
total?: number;
|
531
|
-
}>;
|
532
|
-
default: {
|
533
|
-
currentPage?: number;
|
534
|
-
pageSize?: number;
|
535
|
-
pageSizes?: number[];
|
536
|
-
total?: number;
|
537
|
-
};
|
538
|
-
};
|
539
|
-
paginationTeleported: {
|
540
|
-
type: BooleanConstructor;
|
541
|
-
default: boolean;
|
542
|
-
};
|
543
|
-
paginationPagerCount: {
|
544
|
-
type: import('vue').PropType<number>;
|
545
|
-
default: number;
|
546
|
-
};
|
547
|
-
paginationShowTotal: {
|
548
|
-
type: BooleanConstructor;
|
549
|
-
default: boolean;
|
550
|
-
};
|
551
|
-
paginationShowSizes: {
|
552
|
-
type: BooleanConstructor;
|
553
|
-
default: boolean;
|
554
|
-
};
|
555
|
-
paginationShowJumber: {
|
556
|
-
type: BooleanConstructor;
|
557
|
-
default: boolean;
|
558
|
-
};
|
559
|
-
showRowNumber: {
|
560
|
-
type: BooleanConstructor;
|
561
|
-
default: boolean;
|
562
|
-
};
|
563
|
-
selectionMode: {
|
564
|
-
type: BooleanConstructor;
|
565
|
-
default: boolean;
|
566
|
-
};
|
567
|
-
currentRowMode: {
|
568
|
-
type: BooleanConstructor;
|
569
|
-
default: boolean;
|
570
|
-
};
|
571
|
-
size: {
|
572
|
-
type: import('vue').PropType<"" | "small" | "default" | "large">;
|
573
|
-
default: "" | "small" | "default" | "large";
|
574
|
-
};
|
575
|
-
rowClassName: {
|
576
|
-
type: import('vue').PropType<string | ((data: {
|
577
|
-
rowData: any;
|
578
|
-
rowIndex: number;
|
579
|
-
}) => string)>;
|
580
|
-
default: string | ((data: {
|
581
|
-
rowData: any;
|
582
|
-
rowIndex: number;
|
583
|
-
}) => string);
|
584
|
-
};
|
585
|
-
rowStyle: {
|
586
|
-
type: import('vue').PropType<import('vue').CSSProperties | ((data: {
|
587
|
-
rowData: any;
|
588
|
-
rowIndex: number;
|
589
|
-
}) => import('vue').CSSProperties)>;
|
590
|
-
default: import('vue').CSSProperties | ((data: {
|
591
|
-
rowData: any;
|
592
|
-
rowIndex: number;
|
593
|
-
}) => import('vue').CSSProperties);
|
594
|
-
};
|
595
|
-
cellClassName: {
|
596
|
-
type: import('vue').PropType<string | ((data: {
|
597
|
-
rowData: any;
|
598
|
-
column: {
|
599
|
-
name: string;
|
600
|
-
head: string;
|
601
|
-
};
|
602
|
-
rowIndex: number;
|
603
|
-
columnIndex: number;
|
604
|
-
}) => string)>;
|
605
|
-
default: string | ((data: {
|
606
|
-
rowData: any;
|
607
|
-
column: {
|
608
|
-
name: string;
|
609
|
-
head: string;
|
610
|
-
};
|
611
|
-
rowIndex: number;
|
612
|
-
columnIndex: number;
|
613
|
-
}) => string);
|
614
|
-
};
|
615
|
-
cellStyle: {
|
616
|
-
type: import('vue').PropType<import('vue').CSSProperties | ((data: {
|
617
|
-
rowData: any;
|
618
|
-
column: {
|
619
|
-
name: string;
|
620
|
-
head: string;
|
621
|
-
};
|
622
|
-
rowIndex: number;
|
623
|
-
columnIndex: number;
|
624
|
-
}) => import('vue').CSSProperties)>;
|
625
|
-
default: import('vue').CSSProperties | ((data: {
|
626
|
-
rowData: any;
|
627
|
-
column: {
|
628
|
-
name: string;
|
629
|
-
head: string;
|
630
|
-
};
|
631
|
-
rowIndex: number;
|
632
|
-
columnIndex: number;
|
633
|
-
}) => import('vue').CSSProperties);
|
634
|
-
};
|
635
|
-
}>> & Readonly<{
|
636
|
-
onSelect?: ((...args: any[]) => any) | undefined;
|
637
|
-
"onSelect-all"?: ((...args: any[]) => any) | undefined;
|
638
|
-
onSelectionChange?: ((...args: any[]) => any) | undefined;
|
639
|
-
onCurrentRowChange?: ((...args: any[]) => any) | undefined;
|
640
|
-
"onUpdate:pagination"?: ((...args: any[]) => any) | undefined;
|
641
|
-
onPaginationChange?: ((...args: any[]) => any) | undefined;
|
642
|
-
onRowClick?: ((...args: any[]) => any) | undefined;
|
643
|
-
onRowDblclick?: ((...args: any[]) => any) | undefined;
|
644
|
-
onCellClick?: ((...args: any[]) => any) | undefined;
|
645
|
-
onCellDblclick?: ((...args: any[]) => any) | undefined;
|
646
|
-
}>, {
|
417
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("select" | "select-all" | "selectionChange" | "currentRowChange" | "update:pagination" | "paginationChange" | "rowClick" | "rowDblclick" | "cellClick" | "cellDblclick")[], import('vue').PublicProps, {
|
647
418
|
size: "" | "small" | "default" | "large";
|
648
419
|
data: any[];
|
649
420
|
pagination: {
|
@@ -0,0 +1,27 @@
|
|
1
|
+
declare const messageTypes: readonly ["success", "info", "warning", "error"];
|
2
|
+
export type messageType = (typeof messageTypes)[number];
|
3
|
+
interface MessageOptions {
|
4
|
+
message?: string;
|
5
|
+
type?: messageType;
|
6
|
+
duration?: number;
|
7
|
+
showClose?: boolean;
|
8
|
+
}
|
9
|
+
export type MessageParams = MessageOptions | MessageOptions['message'];
|
10
|
+
type MessageOptionsWithType = Omit<MessageOptions, 'type'>;
|
11
|
+
export type MessageParamsWithType = MessageOptionsWithType | MessageOptions['message'];
|
12
|
+
export interface MessageHandler {
|
13
|
+
close: () => void;
|
14
|
+
}
|
15
|
+
type MessageFn = {
|
16
|
+
(options?: MessageParams): MessageHandler;
|
17
|
+
closeAll(type?: messageType): void;
|
18
|
+
};
|
19
|
+
type MessageTypedFn = (options?: MessageParamsWithType) => MessageHandler;
|
20
|
+
interface Message extends MessageFn {
|
21
|
+
success: MessageTypedFn;
|
22
|
+
warning: MessageTypedFn;
|
23
|
+
info: MessageTypedFn;
|
24
|
+
error: MessageTypedFn;
|
25
|
+
}
|
26
|
+
export declare const OMessage: Message;
|
27
|
+
export {};
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { ElMessage as o } from "element-plus";
|
2
|
+
import { isString as t } from "lodash-es";
|
3
|
+
const i = ["success", "info", "warning", "error"], e = (s) => o(r(s)), r = (s) => ({
|
4
|
+
showClose: !0,
|
5
|
+
...!s || t(s) ? { message: s } : s,
|
6
|
+
plain: !0
|
7
|
+
});
|
8
|
+
i.forEach((s) => {
|
9
|
+
e[s] = (n) => o[s](r(n));
|
10
|
+
});
|
11
|
+
e.closeAll = o.closeAll;
|
12
|
+
const g = e;
|
13
|
+
export {
|
14
|
+
g as OMessage
|
15
|
+
};
|
16
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/components/Message/index.ts"],"sourcesContent":["import { ElMessage } from 'element-plus'\r\nimport { isString } from 'lodash-es'\r\n\r\nconst messageTypes = ['success', 'info', 'warning', 'error'] as const\r\n\r\nexport type messageType = (typeof messageTypes)[number]\r\n\r\ninterface MessageOptions {\r\n message?: string\r\n type?: messageType\r\n duration?: number\r\n showClose?: boolean\r\n}\r\n\r\nexport type MessageParams = MessageOptions | MessageOptions['message']\r\n\r\ntype MessageOptionsWithType = Omit<MessageOptions, 'type'>\r\n\r\nexport type MessageParamsWithType = MessageOptionsWithType | MessageOptions['message']\r\n\r\nexport interface MessageHandler {\r\n close: () => void\r\n}\r\n\r\ntype MessageFn = {\r\n (options?: MessageParams): MessageHandler\r\n closeAll(type?: messageType): void\r\n}\r\n\r\ntype MessageTypedFn = (options?: MessageParamsWithType) => MessageHandler\r\n\r\ninterface Message extends MessageFn {\r\n success: MessageTypedFn\r\n warning: MessageTypedFn\r\n info: MessageTypedFn\r\n error: MessageTypedFn\r\n}\r\n\r\nconst message: MessageFn & Partial<Message> = (options) => {\r\n return ElMessage(normalizeOptions(options))\r\n}\r\n\r\nconst normalizeOptions = (params?: MessageParams) => {\r\n const options = !params || isString(params) ? { message: params } : params\r\n return {\r\n showClose: true,\r\n ...options,\r\n plain: true,\r\n }\r\n}\r\n\r\nmessageTypes.forEach((type) => {\r\n message[type] = (options) => ElMessage[type](normalizeOptions(options))\r\n})\r\n\r\nmessage.closeAll = ElMessage.closeAll\r\n\r\n// TODO 全局显示时间\r\nexport const OMessage = message as Message\r\n"],"names":["messageTypes","message","options","ElMessage","normalizeOptions","params","isString","type","OMessage"],"mappings":";;AAGA,MAAMA,IAAe,CAAC,WAAW,QAAQ,WAAW,OAAO,GAmCrDC,IAAwC,CAACC,MACtCC,EAAUC,EAAiBF,CAAO,CAAC,GAGtCE,IAAmB,CAACC,OAEjB;AAAA,EACL,WAAW;AAAA,EACX,GAHc,CAACA,KAAUC,EAASD,CAAM,IAAI,EAAE,SAASA,EAAW,IAAAA;AAAA,EAIlE,OAAO;AAAA;AAIXL,EAAa,QAAQ,CAACO,MAAS;AACrB,EAAAN,EAAAM,CAAI,IAAI,CAACL,MAAYC,EAAUI,CAAI,EAAEH,EAAiBF,CAAO,CAAC;AACxE,CAAC;AAEDD,EAAQ,WAAWE,EAAU;AAGtB,MAAMK,IAAWP;"}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
type MessageType = '' | 'success' | 'warning' | 'info' | 'error';
|
2
|
+
export interface MessageBoxOptions {
|
3
|
+
type?: MessageType;
|
4
|
+
showClose?: boolean;
|
5
|
+
}
|
6
|
+
type MessageBoxAlertMethod = ((message: string, options?: MessageBoxOptions) => Promise<void>) & ((message: string, title: string | MessageBoxOptions, options?: MessageBoxOptions) => Promise<void>);
|
7
|
+
type MessageBoxConfirmMethod = ((message: string, options?: MessageBoxOptions) => Promise<boolean>) & ((message: string, title: string | MessageBoxOptions, options?: MessageBoxOptions) => Promise<boolean>);
|
8
|
+
interface MessageBox {
|
9
|
+
alert: MessageBoxAlertMethod;
|
10
|
+
confirm: MessageBoxConfirmMethod;
|
11
|
+
}
|
12
|
+
export declare const OMessageBox: MessageBox;
|
13
|
+
export {};
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import { ElMessageBox as t } from "element-plus";
|
2
|
+
import { isObject as c, isUndefined as f } from "lodash-es";
|
3
|
+
const l = {
|
4
|
+
alert: async (s, e, a) => {
|
5
|
+
let r = "";
|
6
|
+
c(e) ? (a = e, r = "") : f(e) ? r = "" : r = e;
|
7
|
+
try {
|
8
|
+
await t.alert(s, r, { ...a, draggable: !0 });
|
9
|
+
return;
|
10
|
+
} catch {
|
11
|
+
return;
|
12
|
+
}
|
13
|
+
},
|
14
|
+
confirm: async (s, e, a) => {
|
15
|
+
let r = "";
|
16
|
+
c(e) ? (a = e, r = "") : f(e) ? r = "" : r = e;
|
17
|
+
try {
|
18
|
+
return await t.confirm(s, r, { ...a, draggable: !0 }), !0;
|
19
|
+
} catch {
|
20
|
+
return !1;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}, i = l;
|
24
|
+
export {
|
25
|
+
i as OMessageBox
|
26
|
+
};
|
27
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/components/MessageBox/index.ts"],"sourcesContent":["import { ElMessageBox } from 'element-plus'\r\nimport { isObject, isUndefined } from 'lodash-es'\r\n\r\ntype MessageType = '' | 'success' | 'warning' | 'info' | 'error'\r\n\r\nexport interface MessageBoxOptions {\r\n type?: MessageType\r\n showClose?: boolean\r\n}\r\n\r\ntype MessageBoxAlertMethod = ((message: string, options?: MessageBoxOptions) => Promise<void>) &\r\n ((message: string, title: string | MessageBoxOptions, options?: MessageBoxOptions) => Promise<void>)\r\n\r\ntype MessageBoxConfirmMethod = ((message: string, options?: MessageBoxOptions) => Promise<boolean>) &\r\n ((message: string, title: string | MessageBoxOptions, options?: MessageBoxOptions) => Promise<boolean>)\r\n\r\ninterface MessageBox {\r\n alert: MessageBoxAlertMethod\r\n confirm: MessageBoxConfirmMethod\r\n}\r\n\r\nconst messagebox = {\r\n alert: async (message: string, title?: string | MessageBoxOptions, options?: MessageBoxOptions) => {\r\n let titleOrOpts = ''\r\n if (isObject(title)) {\r\n options = title as MessageBoxOptions\r\n titleOrOpts = ''\r\n } else if (isUndefined(title)) {\r\n titleOrOpts = ''\r\n } else {\r\n titleOrOpts = title as string\r\n }\r\n\r\n try {\r\n await ElMessageBox.alert(message, titleOrOpts, { ...options, draggable: true })\r\n return\r\n } catch (e) {\r\n return\r\n }\r\n },\r\n confirm: async (message: string, title?: string | MessageBoxOptions, options?: MessageBoxOptions) => {\r\n let titleOrOpts = ''\r\n if (isObject(title)) {\r\n options = title as MessageBoxOptions\r\n titleOrOpts = ''\r\n } else if (isUndefined(title)) {\r\n titleOrOpts = ''\r\n } else {\r\n titleOrOpts = title as string\r\n }\r\n\r\n try {\r\n await ElMessageBox.confirm(message, titleOrOpts, { ...options, draggable: true })\r\n return true\r\n } catch (e) {\r\n return false\r\n }\r\n },\r\n}\r\n\r\nexport const OMessageBox = messagebox as MessageBox\r\n"],"names":["messagebox","message","title","options","titleOrOpts","isObject","isUndefined","ElMessageBox","OMessageBox"],"mappings":";;AAqBA,MAAMA,IAAa;AAAA,EACjB,OAAO,OAAOC,GAAiBC,GAAoCC,MAAgC;AACjG,QAAIC,IAAc;AACd,IAAAC,EAASH,CAAK,KACNC,IAAAD,GACIE,IAAA,MACLE,EAAYJ,CAAK,IACZE,IAAA,KAEAA,IAAAF;AAGZ,QAAA;AACI,YAAAK,EAAa,MAAMN,GAASG,GAAa,EAAE,GAAGD,GAAS,WAAW,GAAA,CAAM;AAC9E;AAAA,YACU;AACV;AAAA,IACF;AAAA,EACF;AAAA,EACA,SAAS,OAAOF,GAAiBC,GAAoCC,MAAgC;AACnG,QAAIC,IAAc;AACd,IAAAC,EAASH,CAAK,KACNC,IAAAD,GACIE,IAAA,MACLE,EAAYJ,CAAK,IACZE,IAAA,KAEAA,IAAAF;AAGZ,QAAA;AACI,mBAAAK,EAAa,QAAQN,GAASG,GAAa,EAAE,GAAGD,GAAS,WAAW,GAAA,CAAM,GACzE;AAAA,YACG;AACH,aAAA;AAAA,IACT;AAAA,EACF;AACF,GAEaK,IAAcR;"}
|
@@ -21,16 +21,7 @@ declare const _default: {
|
|
21
21
|
default: string | boolean;
|
22
22
|
type: PropType<string | boolean>;
|
23
23
|
};
|
24
|
-
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').
|
25
|
-
gutter: {
|
26
|
-
default: string | boolean;
|
27
|
-
type: PropType<string | boolean>;
|
28
|
-
};
|
29
|
-
vertical: {
|
30
|
-
default: string | boolean;
|
31
|
-
type: PropType<string | boolean>;
|
32
|
-
};
|
33
|
-
}>> & Readonly<{}>, {
|
24
|
+
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
34
25
|
vertical: string | boolean;
|
35
26
|
gutter: string | boolean;
|
36
27
|
}, true, {}, CustomSlotsType<{
|