@a2simcode/ui 0.0.186 → 0.0.188
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/buttons/src/interface.d.ts +4 -0
- package/dist/components/inject-provide.d.ts +2 -0
- package/dist/components/input/index.d.ts +3 -3
- package/dist/components/input/src/input.vue.d.ts +1 -1
- package/dist/components/input-layer/index.d.ts +3 -3
- package/dist/components/input-layer/src/input-layer.vue.d.ts +1 -1
- package/dist/components/input-map/index.d.ts +3 -3
- package/dist/components/input-map/src/input-map.vue.d.ts +1 -1
- package/dist/components/input-tag/index.d.ts +3 -3
- package/dist/components/input-tag/src/input-tag.vue.d.ts +1 -1
- package/dist/components/time/index.d.ts +3 -3
- package/dist/components/time/src/time.vue.d.ts +1 -1
- package/dist/components/upload/index.d.ts +24 -24
- package/dist/components/upload/src/list.vue.d.ts +1 -1
- package/dist/components/upload/src/upload.vue.d.ts +8 -8
- package/dist/simcode-ui.es.js +3966 -3918
- package/dist/simcode-ui.umd.js +2 -2
- package/dist/stats.html +1 -1
- package/dist/ui.css +1 -1
- package/docs/components/input-layer.md +15 -0
- package/docs/examples/buttons/basic.vue +17 -0
- package/docs/examples/input-layer/render-vnode-page.vue +160 -0
- package/package.json +1 -1
|
@@ -18,10 +18,10 @@ declare const JInput: {
|
|
|
18
18
|
type: string;
|
|
19
19
|
disabled: boolean;
|
|
20
20
|
rows: number;
|
|
21
|
+
placeholder: string;
|
|
21
22
|
modelValue: string | number;
|
|
22
23
|
showWordLimit: boolean;
|
|
23
24
|
wordLimitPosition: "inside" | "outside";
|
|
24
|
-
placeholder: string;
|
|
25
25
|
clearable: boolean;
|
|
26
26
|
showPassword: boolean;
|
|
27
27
|
prependStyle: Record<string, string | number>;
|
|
@@ -56,10 +56,10 @@ declare const JInput: {
|
|
|
56
56
|
type: string;
|
|
57
57
|
disabled: boolean;
|
|
58
58
|
rows: number;
|
|
59
|
+
placeholder: string;
|
|
59
60
|
modelValue: string | number;
|
|
60
61
|
showWordLimit: boolean;
|
|
61
62
|
wordLimitPosition: "inside" | "outside";
|
|
62
|
-
placeholder: string;
|
|
63
63
|
clearable: boolean;
|
|
64
64
|
showPassword: boolean;
|
|
65
65
|
prependStyle: Record<string, string | number>;
|
|
@@ -96,10 +96,10 @@ declare const JInput: {
|
|
|
96
96
|
type: string;
|
|
97
97
|
disabled: boolean;
|
|
98
98
|
rows: number;
|
|
99
|
+
placeholder: string;
|
|
99
100
|
modelValue: string | number;
|
|
100
101
|
showWordLimit: boolean;
|
|
101
102
|
wordLimitPosition: "inside" | "outside";
|
|
102
|
-
placeholder: string;
|
|
103
103
|
clearable: boolean;
|
|
104
104
|
showPassword: boolean;
|
|
105
105
|
prependStyle: Record<string, string | number>;
|
|
@@ -101,10 +101,10 @@ declare const _default: import('vue').DefineComponent<InputProps, {}, {}, {}, {}
|
|
|
101
101
|
type: string;
|
|
102
102
|
disabled: boolean;
|
|
103
103
|
rows: number;
|
|
104
|
+
placeholder: string;
|
|
104
105
|
modelValue: string | number;
|
|
105
106
|
showWordLimit: boolean;
|
|
106
107
|
wordLimitPosition: "inside" | "outside";
|
|
107
|
-
placeholder: string;
|
|
108
108
|
clearable: boolean;
|
|
109
109
|
showPassword: boolean;
|
|
110
110
|
prependStyle: Record<string, string | number>;
|
|
@@ -22,8 +22,8 @@ export declare const JInputLayer: {
|
|
|
22
22
|
valueKey: string;
|
|
23
23
|
labelKey: string;
|
|
24
24
|
buttons: any[];
|
|
25
|
-
modelValue: string;
|
|
26
25
|
placeholder: string;
|
|
26
|
+
modelValue: string;
|
|
27
27
|
clearable: boolean;
|
|
28
28
|
readonly: boolean;
|
|
29
29
|
columns: any[];
|
|
@@ -853,8 +853,8 @@ export declare const JInputLayer: {
|
|
|
853
853
|
valueKey: string;
|
|
854
854
|
labelKey: string;
|
|
855
855
|
buttons: any[];
|
|
856
|
-
modelValue: string;
|
|
857
856
|
placeholder: string;
|
|
857
|
+
modelValue: string;
|
|
858
858
|
clearable: boolean;
|
|
859
859
|
readonly: boolean;
|
|
860
860
|
columns: any[];
|
|
@@ -893,8 +893,8 @@ export declare const JInputLayer: {
|
|
|
893
893
|
valueKey: string;
|
|
894
894
|
labelKey: string;
|
|
895
895
|
buttons: any[];
|
|
896
|
-
modelValue: string;
|
|
897
896
|
placeholder: string;
|
|
897
|
+
modelValue: string;
|
|
898
898
|
clearable: boolean;
|
|
899
899
|
readonly: boolean;
|
|
900
900
|
columns: any[];
|
|
@@ -90,8 +90,8 @@ declare const _default: import('vue').DefineComponent<InputLayerProps, {
|
|
|
90
90
|
valueKey: string;
|
|
91
91
|
labelKey: string;
|
|
92
92
|
buttons: any[];
|
|
93
|
-
modelValue: string;
|
|
94
93
|
placeholder: string;
|
|
94
|
+
modelValue: string;
|
|
95
95
|
clearable: boolean;
|
|
96
96
|
readonly: boolean;
|
|
97
97
|
columns: any[];
|
|
@@ -23,8 +23,8 @@ declare const JInputMap: {
|
|
|
23
23
|
"update:modelValue": (...args: any[]) => void;
|
|
24
24
|
change: (...args: any[]) => void;
|
|
25
25
|
}, import('vue').PublicProps, {
|
|
26
|
-
modelValue: string;
|
|
27
26
|
placeholder: string;
|
|
27
|
+
modelValue: string;
|
|
28
28
|
clearable: boolean;
|
|
29
29
|
readonly: boolean;
|
|
30
30
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
@@ -59,8 +59,8 @@ declare const JInputMap: {
|
|
|
59
59
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
60
60
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
61
61
|
}>, {}, {}, {}, {}, {
|
|
62
|
-
modelValue: string;
|
|
63
62
|
placeholder: string;
|
|
63
|
+
modelValue: string;
|
|
64
64
|
clearable: boolean;
|
|
65
65
|
readonly: boolean;
|
|
66
66
|
}>;
|
|
@@ -91,8 +91,8 @@ declare const JInputMap: {
|
|
|
91
91
|
"update:modelValue": (...args: any[]) => void;
|
|
92
92
|
change: (...args: any[]) => void;
|
|
93
93
|
}, string, {
|
|
94
|
-
modelValue: string;
|
|
95
94
|
placeholder: string;
|
|
95
|
+
modelValue: string;
|
|
96
96
|
clearable: boolean;
|
|
97
97
|
readonly: boolean;
|
|
98
98
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
|
@@ -74,8 +74,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
74
74
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
75
75
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
76
76
|
}>, {
|
|
77
|
-
modelValue: string;
|
|
78
77
|
placeholder: string;
|
|
78
|
+
modelValue: string;
|
|
79
79
|
clearable: boolean;
|
|
80
80
|
readonly: boolean;
|
|
81
81
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
@@ -16,8 +16,8 @@ export declare const JInputTag: {
|
|
|
16
16
|
}, import('vue').PublicProps, {
|
|
17
17
|
size: "small" | "default" | "large";
|
|
18
18
|
options: any[];
|
|
19
|
-
modelValue: string;
|
|
20
19
|
placeholder: string;
|
|
20
|
+
modelValue: string;
|
|
21
21
|
readonly: boolean;
|
|
22
22
|
colors: any[];
|
|
23
23
|
isStyleLoop: boolean;
|
|
@@ -38,8 +38,8 @@ export declare const JInputTag: {
|
|
|
38
38
|
}>, {}, {}, {}, {}, {
|
|
39
39
|
size: "small" | "default" | "large";
|
|
40
40
|
options: any[];
|
|
41
|
-
modelValue: string;
|
|
42
41
|
placeholder: string;
|
|
42
|
+
modelValue: string;
|
|
43
43
|
readonly: boolean;
|
|
44
44
|
colors: any[];
|
|
45
45
|
isStyleLoop: boolean;
|
|
@@ -64,8 +64,8 @@ export declare const JInputTag: {
|
|
|
64
64
|
}, string, {
|
|
65
65
|
size: "small" | "default" | "large";
|
|
66
66
|
options: any[];
|
|
67
|
-
modelValue: string;
|
|
68
67
|
placeholder: string;
|
|
68
|
+
modelValue: string;
|
|
69
69
|
readonly: boolean;
|
|
70
70
|
colors: any[];
|
|
71
71
|
isStyleLoop: boolean;
|
|
@@ -31,8 +31,8 @@ declare const _default: import('vue').DefineComponent<InputTagProps, {}, {}, {},
|
|
|
31
31
|
}>, {
|
|
32
32
|
size: "small" | "default" | "large";
|
|
33
33
|
options: any[];
|
|
34
|
-
modelValue: string;
|
|
35
34
|
placeholder: string;
|
|
35
|
+
modelValue: string;
|
|
36
36
|
readonly: boolean;
|
|
37
37
|
colors: any[];
|
|
38
38
|
isStyleLoop: boolean;
|
|
@@ -21,8 +21,8 @@ declare const JTime: {
|
|
|
21
21
|
size: "large" | "default" | "small";
|
|
22
22
|
id: string | string[];
|
|
23
23
|
disabled: boolean;
|
|
24
|
-
modelValue: string | number | Date | Array<string | number | Date>;
|
|
25
24
|
placeholder: string;
|
|
25
|
+
modelValue: string | number | Date | Array<string | number | Date>;
|
|
26
26
|
clearable: boolean;
|
|
27
27
|
readonly: boolean;
|
|
28
28
|
startPlaceholder: string;
|
|
@@ -55,8 +55,8 @@ declare const JTime: {
|
|
|
55
55
|
size: "large" | "default" | "small";
|
|
56
56
|
id: string | string[];
|
|
57
57
|
disabled: boolean;
|
|
58
|
-
modelValue: string | number | Date | Array<string | number | Date>;
|
|
59
58
|
placeholder: string;
|
|
59
|
+
modelValue: string | number | Date | Array<string | number | Date>;
|
|
60
60
|
clearable: boolean;
|
|
61
61
|
readonly: boolean;
|
|
62
62
|
startPlaceholder: string;
|
|
@@ -91,8 +91,8 @@ declare const JTime: {
|
|
|
91
91
|
size: "large" | "default" | "small";
|
|
92
92
|
id: string | string[];
|
|
93
93
|
disabled: boolean;
|
|
94
|
-
modelValue: string | number | Date | Array<string | number | Date>;
|
|
95
94
|
placeholder: string;
|
|
95
|
+
modelValue: string | number | Date | Array<string | number | Date>;
|
|
96
96
|
clearable: boolean;
|
|
97
97
|
readonly: boolean;
|
|
98
98
|
startPlaceholder: string;
|
|
@@ -50,8 +50,8 @@ declare const _default: import('vue').DefineComponent<TimeProps, {
|
|
|
50
50
|
size: "large" | "default" | "small";
|
|
51
51
|
id: string | string[];
|
|
52
52
|
disabled: boolean;
|
|
53
|
-
modelValue: string | number | Date | Array<string | number | Date>;
|
|
54
53
|
placeholder: string;
|
|
54
|
+
modelValue: string | number | Date | Array<string | number | Date>;
|
|
55
55
|
clearable: boolean;
|
|
56
56
|
readonly: boolean;
|
|
57
57
|
startPlaceholder: string;
|
|
@@ -109,27 +109,27 @@ declare const JUpload: {
|
|
|
109
109
|
notUploadChange: (...args: any[]) => void;
|
|
110
110
|
}, import('vue').PublicProps, {
|
|
111
111
|
btnText: string;
|
|
112
|
-
|
|
112
|
+
uploadCallback: Function;
|
|
113
|
+
upload: Function;
|
|
113
114
|
placeholder: string;
|
|
115
|
+
btnType: string;
|
|
116
|
+
btnSize: "small" | "default" | "large";
|
|
117
|
+
showFileList: boolean;
|
|
118
|
+
accept: string;
|
|
119
|
+
limit: number;
|
|
120
|
+
modelValue: string;
|
|
114
121
|
readonly: boolean;
|
|
115
122
|
multiple: boolean;
|
|
116
123
|
drag: boolean;
|
|
117
124
|
isUploadImg: boolean;
|
|
118
|
-
showFileList: boolean;
|
|
119
125
|
isShowSuccessIcon: boolean;
|
|
120
|
-
limit: number;
|
|
121
126
|
maxSize: number;
|
|
122
127
|
sizeType: string;
|
|
123
|
-
accept: string;
|
|
124
128
|
onlyName: boolean;
|
|
125
129
|
isTip: boolean;
|
|
126
|
-
btnType: string;
|
|
127
|
-
btnSize: "small" | "default" | "large";
|
|
128
130
|
isNotApi: boolean;
|
|
129
131
|
autoUpload: boolean;
|
|
130
132
|
isLayer: boolean;
|
|
131
|
-
upload: Function;
|
|
132
|
-
uploadCallback: Function;
|
|
133
133
|
isSaveLast: boolean;
|
|
134
134
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
135
135
|
iframe: HTMLIFrameElement;
|
|
@@ -241,27 +241,27 @@ declare const JUpload: {
|
|
|
241
241
|
onNotUploadChange?: ((...args: any[]) => any) | undefined;
|
|
242
242
|
}>, {}, {}, {}, {}, {
|
|
243
243
|
btnText: string;
|
|
244
|
-
|
|
244
|
+
uploadCallback: Function;
|
|
245
|
+
upload: Function;
|
|
245
246
|
placeholder: string;
|
|
247
|
+
btnType: string;
|
|
248
|
+
btnSize: "small" | "default" | "large";
|
|
249
|
+
showFileList: boolean;
|
|
250
|
+
accept: string;
|
|
251
|
+
limit: number;
|
|
252
|
+
modelValue: string;
|
|
246
253
|
readonly: boolean;
|
|
247
254
|
multiple: boolean;
|
|
248
255
|
drag: boolean;
|
|
249
256
|
isUploadImg: boolean;
|
|
250
|
-
showFileList: boolean;
|
|
251
257
|
isShowSuccessIcon: boolean;
|
|
252
|
-
limit: number;
|
|
253
258
|
maxSize: number;
|
|
254
259
|
sizeType: string;
|
|
255
|
-
accept: string;
|
|
256
260
|
onlyName: boolean;
|
|
257
261
|
isTip: boolean;
|
|
258
|
-
btnType: string;
|
|
259
|
-
btnSize: "small" | "default" | "large";
|
|
260
262
|
isNotApi: boolean;
|
|
261
263
|
autoUpload: boolean;
|
|
262
264
|
isLayer: boolean;
|
|
263
|
-
upload: Function;
|
|
264
|
-
uploadCallback: Function;
|
|
265
265
|
isSaveLast: boolean;
|
|
266
266
|
}>;
|
|
267
267
|
__isFragment?: never;
|
|
@@ -377,27 +377,27 @@ declare const JUpload: {
|
|
|
377
377
|
notUploadChange: (...args: any[]) => void;
|
|
378
378
|
}, string, {
|
|
379
379
|
btnText: string;
|
|
380
|
-
|
|
380
|
+
uploadCallback: Function;
|
|
381
|
+
upload: Function;
|
|
381
382
|
placeholder: string;
|
|
383
|
+
btnType: string;
|
|
384
|
+
btnSize: "small" | "default" | "large";
|
|
385
|
+
showFileList: boolean;
|
|
386
|
+
accept: string;
|
|
387
|
+
limit: number;
|
|
388
|
+
modelValue: string;
|
|
382
389
|
readonly: boolean;
|
|
383
390
|
multiple: boolean;
|
|
384
391
|
drag: boolean;
|
|
385
392
|
isUploadImg: boolean;
|
|
386
|
-
showFileList: boolean;
|
|
387
393
|
isShowSuccessIcon: boolean;
|
|
388
|
-
limit: number;
|
|
389
394
|
maxSize: number;
|
|
390
395
|
sizeType: string;
|
|
391
|
-
accept: string;
|
|
392
396
|
onlyName: boolean;
|
|
393
397
|
isTip: boolean;
|
|
394
|
-
btnType: string;
|
|
395
|
-
btnSize: "small" | "default" | "large";
|
|
396
398
|
isNotApi: boolean;
|
|
397
399
|
autoUpload: boolean;
|
|
398
400
|
isLayer: boolean;
|
|
399
|
-
upload: Function;
|
|
400
|
-
uploadCallback: Function;
|
|
401
401
|
isSaveLast: boolean;
|
|
402
402
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
|
403
403
|
install: (app: import('vue').App) => void;
|
|
@@ -88,10 +88,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
88
88
|
};
|
|
89
89
|
}>> & Readonly<{}>, {
|
|
90
90
|
list: Record<string, any>[];
|
|
91
|
+
showFileList: boolean;
|
|
91
92
|
readonly: boolean;
|
|
92
93
|
drag: boolean;
|
|
93
94
|
isUploadImg: boolean;
|
|
94
|
-
showFileList: boolean;
|
|
95
95
|
isShowSuccessIcon: boolean;
|
|
96
96
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
97
97
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -339,27 +339,27 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
339
339
|
onNotUploadChange?: ((...args: any[]) => any) | undefined;
|
|
340
340
|
}>, {
|
|
341
341
|
btnText: string;
|
|
342
|
-
|
|
342
|
+
uploadCallback: Function;
|
|
343
|
+
upload: Function;
|
|
343
344
|
placeholder: string;
|
|
345
|
+
btnType: string;
|
|
346
|
+
btnSize: "small" | "default" | "large";
|
|
347
|
+
showFileList: boolean;
|
|
348
|
+
accept: string;
|
|
349
|
+
limit: number;
|
|
350
|
+
modelValue: string;
|
|
344
351
|
readonly: boolean;
|
|
345
352
|
multiple: boolean;
|
|
346
353
|
drag: boolean;
|
|
347
354
|
isUploadImg: boolean;
|
|
348
|
-
showFileList: boolean;
|
|
349
355
|
isShowSuccessIcon: boolean;
|
|
350
|
-
limit: number;
|
|
351
356
|
maxSize: number;
|
|
352
357
|
sizeType: string;
|
|
353
|
-
accept: string;
|
|
354
358
|
onlyName: boolean;
|
|
355
359
|
isTip: boolean;
|
|
356
|
-
btnType: string;
|
|
357
|
-
btnSize: "small" | "default" | "large";
|
|
358
360
|
isNotApi: boolean;
|
|
359
361
|
autoUpload: boolean;
|
|
360
362
|
isLayer: boolean;
|
|
361
|
-
upload: Function;
|
|
362
|
-
uploadCallback: Function;
|
|
363
363
|
isSaveLast: boolean;
|
|
364
364
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
365
365
|
iframe: HTMLIFrameElement;
|