resuxjs 0.4.0-beta.8 → 0.4.0
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/README.md +4 -2
- package/dist/cli.js +2 -2
- package/dist/cli.js.map +1 -1
- package/dist/compiler/directives.js +7 -3
- package/dist/compiler/directives.js.map +1 -1
- package/dist/compiler/implementation.js +33 -13
- package/dist/compiler/index.js.map +1 -1
- package/dist/create.js +9 -3
- package/dist/create.js.map +1 -1
- package/dist/deploy/common.js +19 -3
- package/dist/deploy/common.js.map +1 -1
- package/dist/icons/component.d.ts +8 -8
- package/dist/runtime/index.js +441 -91
- package/dist/runtime/index.js.map +1 -1
- package/dist/ui/index.d.ts +45 -45
- package/dist/ui/verification-code.d.ts +9 -9
- package/package.json +1 -1
package/dist/ui/index.d.ts
CHANGED
|
@@ -87,12 +87,12 @@ export declare const RxMotion: import("vue").DefineComponent<import("vue").Extra
|
|
|
87
87
|
default: boolean;
|
|
88
88
|
};
|
|
89
89
|
}>> & Readonly<{}>, {
|
|
90
|
+
unstyled: boolean;
|
|
90
91
|
duration: number;
|
|
91
92
|
delay: number;
|
|
92
93
|
easing: string;
|
|
93
94
|
tag: string;
|
|
94
95
|
preset: string;
|
|
95
|
-
unstyled: boolean;
|
|
96
96
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
97
97
|
export declare const RxReveal: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
98
98
|
preset: {
|
|
@@ -123,9 +123,9 @@ export declare const RxReveal: import("vue").DefineComponent<import("vue").Extra
|
|
|
123
123
|
default: boolean;
|
|
124
124
|
};
|
|
125
125
|
}>> & Readonly<{}>, {
|
|
126
|
+
unstyled: boolean;
|
|
126
127
|
duration: number;
|
|
127
128
|
preset: string;
|
|
128
|
-
unstyled: boolean;
|
|
129
129
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
130
130
|
export declare const RxAutoAnimate: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
131
131
|
duration: {
|
|
@@ -148,8 +148,8 @@ export declare const RxAutoAnimate: import("vue").DefineComponent<import("vue").
|
|
|
148
148
|
default: boolean;
|
|
149
149
|
};
|
|
150
150
|
}>> & Readonly<{}>, {
|
|
151
|
-
duration: number;
|
|
152
151
|
unstyled: boolean;
|
|
152
|
+
duration: number;
|
|
153
153
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
154
154
|
export declare const RxButton: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
155
155
|
variant: {
|
|
@@ -197,10 +197,10 @@ export declare const RxButton: import("vue").DefineComponent<import("vue").Extra
|
|
|
197
197
|
};
|
|
198
198
|
}>> & Readonly<{}>, {
|
|
199
199
|
type: string;
|
|
200
|
+
disabled: boolean;
|
|
200
201
|
unstyled: boolean;
|
|
201
|
-
variant: string;
|
|
202
202
|
size: string;
|
|
203
|
-
|
|
203
|
+
variant: string;
|
|
204
204
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
205
205
|
export declare const RxCard: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
206
206
|
variant: {
|
|
@@ -297,10 +297,10 @@ export declare const RxInput: import("vue").DefineComponent<import("vue").Extrac
|
|
|
297
297
|
}>> & Readonly<{
|
|
298
298
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
299
299
|
}>, {
|
|
300
|
+
modelValue: string | number;
|
|
300
301
|
type: string;
|
|
301
|
-
unstyled: boolean;
|
|
302
302
|
disabled: boolean;
|
|
303
|
-
|
|
303
|
+
unstyled: boolean;
|
|
304
304
|
placeholder: string;
|
|
305
305
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
306
306
|
export declare const RxSelect: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
@@ -358,9 +358,9 @@ export declare const RxSelect: import("vue").DefineComponent<import("vue").Extra
|
|
|
358
358
|
}>> & Readonly<{
|
|
359
359
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
360
360
|
}>, {
|
|
361
|
-
unstyled: boolean;
|
|
362
|
-
disabled: boolean;
|
|
363
361
|
modelValue: string | number;
|
|
362
|
+
disabled: boolean;
|
|
363
|
+
unstyled: boolean;
|
|
364
364
|
placeholder: string;
|
|
365
365
|
options: (string | {
|
|
366
366
|
label: string;
|
|
@@ -407,9 +407,9 @@ export declare const RxDatePicker: import("vue").DefineComponent<import("vue").E
|
|
|
407
407
|
}>> & Readonly<{
|
|
408
408
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
409
409
|
}>, {
|
|
410
|
-
unstyled: boolean;
|
|
411
|
-
disabled: boolean;
|
|
412
410
|
modelValue: string | Date;
|
|
411
|
+
disabled: boolean;
|
|
412
|
+
unstyled: boolean;
|
|
413
413
|
placeholder: string;
|
|
414
414
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
415
415
|
export declare const RxPopover: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
@@ -475,8 +475,8 @@ export declare const RxIcon: import("vue").DefineComponent<import("vue").Extract
|
|
|
475
475
|
default: boolean;
|
|
476
476
|
};
|
|
477
477
|
}>> & Readonly<{}>, {
|
|
478
|
-
unstyled: boolean;
|
|
479
478
|
name: string;
|
|
479
|
+
unstyled: boolean;
|
|
480
480
|
size: string | number;
|
|
481
481
|
color: string;
|
|
482
482
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -525,11 +525,11 @@ export declare const RxAvatar: import("vue").DefineComponent<import("vue").Extra
|
|
|
525
525
|
default: boolean;
|
|
526
526
|
};
|
|
527
527
|
}>> & Readonly<{}>, {
|
|
528
|
+
status: string;
|
|
528
529
|
unstyled: boolean;
|
|
529
530
|
size: string;
|
|
530
531
|
src: string;
|
|
531
532
|
alt: string;
|
|
532
|
-
status: string;
|
|
533
533
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
534
534
|
export declare const RxAlert: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
535
535
|
variant: {
|
|
@@ -722,8 +722,8 @@ export declare const RxTabs: import("vue").DefineComponent<import("vue").Extract
|
|
|
722
722
|
}>> & Readonly<{
|
|
723
723
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
724
724
|
}>, {
|
|
725
|
-
unstyled: boolean;
|
|
726
725
|
modelValue: string;
|
|
726
|
+
unstyled: boolean;
|
|
727
727
|
items: {
|
|
728
728
|
label: string;
|
|
729
729
|
key: string;
|
|
@@ -776,9 +776,9 @@ export declare const RxTextarea: import("vue").DefineComponent<import("vue").Ext
|
|
|
776
776
|
}>> & Readonly<{
|
|
777
777
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
778
778
|
}>, {
|
|
779
|
-
unstyled: boolean;
|
|
780
|
-
disabled: boolean;
|
|
781
779
|
modelValue: string;
|
|
780
|
+
disabled: boolean;
|
|
781
|
+
unstyled: boolean;
|
|
782
782
|
placeholder: string;
|
|
783
783
|
rows: number;
|
|
784
784
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -813,9 +813,9 @@ export declare const RxSwitch: import("vue").DefineComponent<import("vue").Extra
|
|
|
813
813
|
}>> & Readonly<{
|
|
814
814
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
815
815
|
}>, {
|
|
816
|
-
unstyled: boolean;
|
|
817
|
-
disabled: boolean;
|
|
818
816
|
modelValue: boolean;
|
|
817
|
+
disabled: boolean;
|
|
818
|
+
unstyled: boolean;
|
|
819
819
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
820
820
|
export declare const RxSkeleton: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
821
821
|
width: {
|
|
@@ -996,12 +996,12 @@ export declare const ResuxMotion: import("vue").DefineComponent<import("vue").Ex
|
|
|
996
996
|
default: boolean;
|
|
997
997
|
};
|
|
998
998
|
}>> & Readonly<{}>, {
|
|
999
|
+
unstyled: boolean;
|
|
999
1000
|
duration: number;
|
|
1000
1001
|
delay: number;
|
|
1001
1002
|
easing: string;
|
|
1002
1003
|
tag: string;
|
|
1003
1004
|
preset: string;
|
|
1004
|
-
unstyled: boolean;
|
|
1005
1005
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1006
1006
|
export declare const ResuxReveal: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1007
1007
|
preset: {
|
|
@@ -1032,9 +1032,9 @@ export declare const ResuxReveal: import("vue").DefineComponent<import("vue").Ex
|
|
|
1032
1032
|
default: boolean;
|
|
1033
1033
|
};
|
|
1034
1034
|
}>> & Readonly<{}>, {
|
|
1035
|
+
unstyled: boolean;
|
|
1035
1036
|
duration: number;
|
|
1036
1037
|
preset: string;
|
|
1037
|
-
unstyled: boolean;
|
|
1038
1038
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1039
1039
|
export declare const ResuxAutoAnimate: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1040
1040
|
duration: {
|
|
@@ -1057,8 +1057,8 @@ export declare const ResuxAutoAnimate: import("vue").DefineComponent<import("vue
|
|
|
1057
1057
|
default: boolean;
|
|
1058
1058
|
};
|
|
1059
1059
|
}>> & Readonly<{}>, {
|
|
1060
|
-
duration: number;
|
|
1061
1060
|
unstyled: boolean;
|
|
1061
|
+
duration: number;
|
|
1062
1062
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1063
1063
|
export declare const ResuxButton: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1064
1064
|
variant: {
|
|
@@ -1106,10 +1106,10 @@ export declare const ResuxButton: import("vue").DefineComponent<import("vue").Ex
|
|
|
1106
1106
|
};
|
|
1107
1107
|
}>> & Readonly<{}>, {
|
|
1108
1108
|
type: string;
|
|
1109
|
+
disabled: boolean;
|
|
1109
1110
|
unstyled: boolean;
|
|
1110
|
-
variant: string;
|
|
1111
1111
|
size: string;
|
|
1112
|
-
|
|
1112
|
+
variant: string;
|
|
1113
1113
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1114
1114
|
export declare const ResuxCard: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1115
1115
|
variant: {
|
|
@@ -1206,10 +1206,10 @@ export declare const ResuxInput: import("vue").DefineComponent<import("vue").Ext
|
|
|
1206
1206
|
}>> & Readonly<{
|
|
1207
1207
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1208
1208
|
}>, {
|
|
1209
|
+
modelValue: string | number;
|
|
1209
1210
|
type: string;
|
|
1210
|
-
unstyled: boolean;
|
|
1211
1211
|
disabled: boolean;
|
|
1212
|
-
|
|
1212
|
+
unstyled: boolean;
|
|
1213
1213
|
placeholder: string;
|
|
1214
1214
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1215
1215
|
export declare const ResuxSelect: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
@@ -1267,9 +1267,9 @@ export declare const ResuxSelect: import("vue").DefineComponent<import("vue").Ex
|
|
|
1267
1267
|
}>> & Readonly<{
|
|
1268
1268
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1269
1269
|
}>, {
|
|
1270
|
-
unstyled: boolean;
|
|
1271
|
-
disabled: boolean;
|
|
1272
1270
|
modelValue: string | number;
|
|
1271
|
+
disabled: boolean;
|
|
1272
|
+
unstyled: boolean;
|
|
1273
1273
|
placeholder: string;
|
|
1274
1274
|
options: (string | {
|
|
1275
1275
|
label: string;
|
|
@@ -1316,9 +1316,9 @@ export declare const ResuxDatePicker: import("vue").DefineComponent<import("vue"
|
|
|
1316
1316
|
}>> & Readonly<{
|
|
1317
1317
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1318
1318
|
}>, {
|
|
1319
|
-
unstyled: boolean;
|
|
1320
|
-
disabled: boolean;
|
|
1321
1319
|
modelValue: string | Date;
|
|
1320
|
+
disabled: boolean;
|
|
1321
|
+
unstyled: boolean;
|
|
1322
1322
|
placeholder: string;
|
|
1323
1323
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1324
1324
|
export declare const ResuxPopover: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
@@ -1384,8 +1384,8 @@ export declare const ResuxIcon: import("vue").DefineComponent<import("vue").Extr
|
|
|
1384
1384
|
default: boolean;
|
|
1385
1385
|
};
|
|
1386
1386
|
}>> & Readonly<{}>, {
|
|
1387
|
-
unstyled: boolean;
|
|
1388
1387
|
name: string;
|
|
1388
|
+
unstyled: boolean;
|
|
1389
1389
|
size: string | number;
|
|
1390
1390
|
color: string;
|
|
1391
1391
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1434,11 +1434,11 @@ export declare const ResuxAvatar: import("vue").DefineComponent<import("vue").Ex
|
|
|
1434
1434
|
default: boolean;
|
|
1435
1435
|
};
|
|
1436
1436
|
}>> & Readonly<{}>, {
|
|
1437
|
+
status: string;
|
|
1437
1438
|
unstyled: boolean;
|
|
1438
1439
|
size: string;
|
|
1439
1440
|
src: string;
|
|
1440
1441
|
alt: string;
|
|
1441
|
-
status: string;
|
|
1442
1442
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1443
1443
|
export declare const ResuxAlert: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1444
1444
|
variant: {
|
|
@@ -1631,8 +1631,8 @@ export declare const ResuxTabs: import("vue").DefineComponent<import("vue").Extr
|
|
|
1631
1631
|
}>> & Readonly<{
|
|
1632
1632
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1633
1633
|
}>, {
|
|
1634
|
-
unstyled: boolean;
|
|
1635
1634
|
modelValue: string;
|
|
1635
|
+
unstyled: boolean;
|
|
1636
1636
|
items: {
|
|
1637
1637
|
label: string;
|
|
1638
1638
|
key: string;
|
|
@@ -1685,9 +1685,9 @@ export declare const ResuxTextarea: import("vue").DefineComponent<import("vue").
|
|
|
1685
1685
|
}>> & Readonly<{
|
|
1686
1686
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1687
1687
|
}>, {
|
|
1688
|
-
unstyled: boolean;
|
|
1689
|
-
disabled: boolean;
|
|
1690
1688
|
modelValue: string;
|
|
1689
|
+
disabled: boolean;
|
|
1690
|
+
unstyled: boolean;
|
|
1691
1691
|
placeholder: string;
|
|
1692
1692
|
rows: number;
|
|
1693
1693
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1722,9 +1722,9 @@ export declare const ResuxSwitch: import("vue").DefineComponent<import("vue").Ex
|
|
|
1722
1722
|
}>> & Readonly<{
|
|
1723
1723
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1724
1724
|
}>, {
|
|
1725
|
-
unstyled: boolean;
|
|
1726
|
-
disabled: boolean;
|
|
1727
1725
|
modelValue: boolean;
|
|
1726
|
+
disabled: boolean;
|
|
1727
|
+
unstyled: boolean;
|
|
1728
1728
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1729
1729
|
export declare const ResuxSkeleton: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1730
1730
|
width: {
|
|
@@ -1907,7 +1907,7 @@ export declare const ResuxVerificationCode: import("vue").DefineComponent<import
|
|
|
1907
1907
|
};
|
|
1908
1908
|
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
1909
1909
|
[key: string]: any;
|
|
1910
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
1910
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change" | "complete" | "focus" | "blur")[], "update:modelValue" | "change" | "complete" | "focus" | "blur", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1911
1911
|
modelValue: {
|
|
1912
1912
|
type: StringConstructor;
|
|
1913
1913
|
default: string;
|
|
@@ -1961,25 +1961,25 @@ export declare const ResuxVerificationCode: import("vue").DefineComponent<import
|
|
|
1961
1961
|
default: boolean;
|
|
1962
1962
|
};
|
|
1963
1963
|
}>> & Readonly<{
|
|
1964
|
-
onBlur?: ((...args: any[]) => any) | undefined;
|
|
1965
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
1966
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
|
1967
1964
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1965
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
1968
1966
|
onComplete?: ((...args: any[]) => any) | undefined;
|
|
1967
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
1968
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
1969
1969
|
}>, {
|
|
1970
|
-
unstyled: boolean;
|
|
1971
|
-
name: string;
|
|
1972
|
-
length: number;
|
|
1973
|
-
mode: string;
|
|
1974
|
-
disabled: boolean;
|
|
1975
1970
|
modelValue: string;
|
|
1971
|
+
length: number;
|
|
1976
1972
|
status: string;
|
|
1973
|
+
mode: string;
|
|
1977
1974
|
autoFocus: boolean;
|
|
1975
|
+
disabled: boolean;
|
|
1978
1976
|
mask: boolean;
|
|
1977
|
+
name: string;
|
|
1979
1978
|
ariaLabel: string;
|
|
1980
1979
|
verifyingText: string;
|
|
1981
1980
|
successText: string;
|
|
1982
1981
|
errorText: string;
|
|
1982
|
+
unstyled: boolean;
|
|
1983
1983
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1984
1984
|
declare const resuxUiModule: {
|
|
1985
1985
|
defaults: {
|
|
@@ -55,7 +55,7 @@ export declare const RxVerificationCode: import("vue").DefineComponent<import("v
|
|
|
55
55
|
};
|
|
56
56
|
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
57
57
|
[key: string]: any;
|
|
58
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
58
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change" | "complete" | "focus" | "blur")[], "update:modelValue" | "change" | "complete" | "focus" | "blur", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
59
59
|
modelValue: {
|
|
60
60
|
type: StringConstructor;
|
|
61
61
|
default: string;
|
|
@@ -109,25 +109,25 @@ export declare const RxVerificationCode: import("vue").DefineComponent<import("v
|
|
|
109
109
|
default: boolean;
|
|
110
110
|
};
|
|
111
111
|
}>> & Readonly<{
|
|
112
|
-
onBlur?: ((...args: any[]) => any) | undefined;
|
|
113
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
114
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
|
115
112
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
113
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
116
114
|
onComplete?: ((...args: any[]) => any) | undefined;
|
|
115
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
116
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
117
117
|
}>, {
|
|
118
|
-
unstyled: boolean;
|
|
119
|
-
name: string;
|
|
120
|
-
length: number;
|
|
121
|
-
mode: string;
|
|
122
|
-
disabled: boolean;
|
|
123
118
|
modelValue: string;
|
|
119
|
+
length: number;
|
|
124
120
|
status: string;
|
|
121
|
+
mode: string;
|
|
125
122
|
autoFocus: boolean;
|
|
123
|
+
disabled: boolean;
|
|
126
124
|
mask: boolean;
|
|
125
|
+
name: string;
|
|
127
126
|
ariaLabel: string;
|
|
128
127
|
verifyingText: string;
|
|
129
128
|
successText: string;
|
|
130
129
|
errorText: string;
|
|
130
|
+
unstyled: boolean;
|
|
131
131
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
132
132
|
export declare const verificationCodeStyles = "\n@keyframes rxVerificationFill {\n 0% { transform: translateY(5px) scale(0.72) rotate(-7deg); opacity: 0.2; }\n 60% { transform: translateY(-2px) scale(1.08) rotate(3deg); opacity: 1; }\n 100% { transform: translateY(0) scale(1) rotate(0); opacity: 1; }\n}\n@keyframes rxVerificationStatusIn {\n 0% { transform: scale(0.18) rotate(-18deg); opacity: 0; }\n 62% { transform: scale(1.12) rotate(5deg); opacity: 1; }\n 100% { transform: scale(1) rotate(0); opacity: 1; }\n}\n@keyframes rxVerificationPulse {\n 0%, 100% { transform: scale(1); box-shadow: 0 8px 20px rgba(37, 99, 235, 0.24); }\n 50% { transform: scale(1.07); box-shadow: 0 10px 28px rgba(37, 99, 235, 0.36); }\n}\n@keyframes rxVerificationSpin {\n to { transform: rotate(360deg); }\n}\n@keyframes rxVerificationShake {\n 0%, 100% { transform: translateX(0); }\n 20% { transform: translateX(-6px); }\n 40% { transform: translateX(5px); }\n 60% { transform: translateX(-4px); }\n 80% { transform: translateX(3px); }\n}\n\n.rx-verification-code {\n --rx-verification-accent: #2563eb;\n --rx-verification-accent-soft: #dbeafe;\n --rx-verification-success: #10b981;\n --rx-verification-danger: #ef4444;\n --rx-verification-cell-bg: #ffffff;\n --rx-verification-cell-border: #cbd5e1;\n --rx-verification-cell-text: #0f172a;\n position: relative;\n display: inline-flex;\n width: min(100%, 42rem);\n flex-direction: column;\n align-items: center;\n gap: 0.75rem;\n max-width: 100%;\n cursor: text;\n -webkit-tap-highlight-color: transparent;\n}\n.rx-verification-code[data-disabled=\"true\"] {\n cursor: not-allowed;\n opacity: 0.55;\n}\n.rx-verification-code-cells {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 0.5rem;\n width: 100%;\n min-height: 3rem;\n perspective: 700px;\n}\n.rx-verification-code-cell {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 3rem;\n max-width: 3rem;\n min-width: 0;\n height: auto;\n aspect-ratio: 1;\n flex: 1 1 3rem;\n box-sizing: border-box;\n border: 1.5px solid var(--rx-verification-cell-border);\n border-radius: 0.75rem;\n background: var(--rx-verification-cell-bg);\n color: var(--rx-verification-cell-text);\n font-size: 1.05rem;\n font-weight: 750;\n line-height: 1;\n font-variant-numeric: tabular-nums;\n box-shadow: 0 5px 14px rgba(15, 23, 42, 0.06);\n transform-origin: center;\n transition:\n border-color 180ms ease,\n box-shadow 180ms ease,\n background 180ms ease,\n color 180ms ease,\n transform 180ms cubic-bezier(0.16, 1, 0.3, 1),\n opacity 180ms ease;\n}\n.rx-verification-code-cell.is-active {\n border-color: var(--rx-verification-accent);\n box-shadow:\n 0 0 0 3px rgba(37, 99, 235, 0.15),\n 0 6px 18px rgba(37, 99, 235, 0.12);\n transform: translateY(-1px);\n}\n.rx-verification-code-cell.is-filled {\n border-color: transparent;\n color: #ffffff;\n background: linear-gradient(145deg, #60a5fa, var(--rx-verification-accent));\n box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22);\n animation: rxVerificationFill 300ms cubic-bezier(0.16, 1, 0.3, 1);\n}\n.rx-verification-code.is-collapsing .rx-verification-code-cell {\n border-color: transparent;\n background: linear-gradient(145deg, #60a5fa, var(--rx-verification-accent));\n color: #ffffff;\n box-shadow: 0 8px 18px rgba(37, 99, 235, 0.2);\n transform:\n translateX(var(--rx-otp-shift))\n scale(0.16)\n rotate(var(--rx-otp-rotate));\n opacity: 0;\n transition:\n transform 340ms cubic-bezier(0.7, 0, 0.84, 0),\n opacity 260ms ease;\n transition-delay: var(--rx-otp-delay);\n}\n.rx-verification-code.is-error .rx-verification-code-cells {\n animation: rxVerificationShake 360ms ease-in-out;\n}\n.rx-verification-code.is-error .rx-verification-code-cell {\n border-color: #fca5a5;\n}\n.rx-verification-code-status {\n min-height: 3rem;\n display: inline-flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 0.5rem;\n animation: rxVerificationStatusIn 420ms cubic-bezier(0.16, 1, 0.3, 1);\n}\n.rx-verification-code-orb {\n width: 3rem;\n height: 3rem;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border-radius: 9999px;\n}\n.rx-verification-code-orb.is-verifying {\n background: linear-gradient(145deg, #60a5fa, var(--rx-verification-accent));\n animation: rxVerificationPulse 1.25s ease-in-out infinite;\n}\n.rx-verification-code-orb.is-success {\n color: #ffffff;\n background: linear-gradient(145deg, #34d399, var(--rx-verification-success));\n box-shadow: 0 10px 24px rgba(16, 185, 129, 0.28);\n}\n.rx-verification-code-spinner {\n width: 1.1rem;\n height: 1.1rem;\n box-sizing: border-box;\n border: 2px solid rgba(255, 255, 255, 0.42);\n border-top-color: #ffffff;\n border-radius: 9999px;\n animation: rxVerificationSpin 700ms linear infinite;\n}\n.rx-verification-code-check {\n font-size: 1.5rem;\n font-weight: 800;\n line-height: 1;\n transform: translateY(-1px);\n}\n.rx-verification-code-message {\n color: var(--rx-verification-success);\n font-size: 0.8rem;\n font-weight: 650;\n}\n.rx-verification-code-status.is-verifying .rx-verification-code-message {\n color: #64748b;\n}\n.rx-verification-code-error {\n color: var(--rx-verification-danger);\n font-size: 0.8rem;\n font-weight: 600;\n text-align: center;\n}\n\n@media (max-width: 420px) {\n .rx-verification-code-cells {\n gap: 0.375rem;\n }\n .rx-verification-code-cell {\n max-width: 2.65rem;\n border-radius: 0.65rem;\n }\n}\n\n@media (prefers-reduced-motion: reduce) {\n .rx-verification-code *,\n .rx-verification-code *::before,\n .rx-verification-code *::after {\n animation-duration: 0.01ms !important;\n animation-iteration-count: 1 !important;\n transition-duration: 0.01ms !important;\n transition-delay: 0ms !important;\n }\n}\n";
|
|
133
133
|
export declare const verificationCodeAnimationsDisabledStyles = "\n.rx-verification-code *,\n.rx-verification-code *::before,\n.rx-verification-code *::after {\n animation: none !important;\n transition: none !important;\n}\n";
|