@tempots/beatui 0.16.0 → 0.17.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/dist/ar-D5jeVM2s.js +76 -0
- package/dist/ar-NCCPhOpI.js +38 -0
- package/dist/beatui.css +1 -1
- package/dist/de-BVK2MkCk.js +38 -0
- package/dist/de-QCsvvABM.js +76 -0
- package/dist/es-BQS8PL9j.js +38 -0
- package/dist/es-QPLFaGbp.js +76 -0
- package/dist/fa-DQmCKW-7.js +74 -0
- package/dist/fa-T-tkJSJr.js +38 -0
- package/dist/fr-CSRRhyCG.js +38 -0
- package/dist/fr-MvvOUdq6.js +76 -0
- package/dist/he-BgUKFv6v.js +76 -0
- package/dist/he-Bxdc4M08.js +38 -0
- package/dist/hi-BJXdbCIZ.js +76 -0
- package/dist/hi-CJeFvTBe.js +38 -0
- package/dist/index.es.js +3431 -3296
- package/dist/index.umd.js +18 -18
- package/dist/it-Bu7Sjs-g.js +76 -0
- package/dist/it-Zmp0BhIj.js +38 -0
- package/dist/ja-DWjoA-hQ.js +38 -0
- package/dist/ja-DrXpNYfH.js +75 -0
- package/dist/ko-BOlI-33h.js +38 -0
- package/dist/ko-BmkxLoBO.js +74 -0
- package/dist/nl-DC5KbcZ1.js +77 -0
- package/dist/nl-kQNcAdY1.js +38 -0
- package/dist/pl-BJJ-Grej.js +77 -0
- package/dist/pl-CKyPFvss.js +38 -0
- package/dist/pt-DBmUhaNI.js +38 -0
- package/dist/pt-DH8tH7fr.js +76 -0
- package/dist/ru-CsJ_yT-7.js +38 -0
- package/dist/ru-DoNk8aVN.js +79 -0
- package/dist/tr-BD5Li2rQ.js +76 -0
- package/dist/tr-Bn5ldVJs.js +38 -0
- package/dist/types/auth-i18n/default.d.ts +25 -25
- package/dist/types/auth-i18n/locales/ar.d.ts +25 -25
- package/dist/types/auth-i18n/locales/de.d.ts +25 -25
- package/dist/types/auth-i18n/locales/en.d.ts +25 -25
- package/dist/types/auth-i18n/locales/es.d.ts +25 -25
- package/dist/types/auth-i18n/locales/fa.d.ts +25 -25
- package/dist/types/auth-i18n/locales/fr.d.ts +25 -25
- package/dist/types/auth-i18n/locales/he.d.ts +25 -25
- package/dist/types/auth-i18n/locales/hi.d.ts +25 -25
- package/dist/types/auth-i18n/locales/it.d.ts +25 -25
- package/dist/types/auth-i18n/locales/ja.d.ts +25 -25
- package/dist/types/auth-i18n/locales/ko.d.ts +25 -25
- package/dist/types/auth-i18n/locales/nl.d.ts +25 -25
- package/dist/types/auth-i18n/locales/pl.d.ts +25 -25
- package/dist/types/auth-i18n/locales/pt.d.ts +25 -25
- package/dist/types/auth-i18n/locales/ru.d.ts +25 -25
- package/dist/types/auth-i18n/locales/tr.d.ts +25 -25
- package/dist/types/auth-i18n/locales/ur.d.ts +25 -25
- package/dist/types/auth-i18n/locales/vi.d.ts +25 -25
- package/dist/types/auth-i18n/locales/zh.d.ts +25 -25
- package/dist/types/auth-i18n/translations.d.ts +26 -26
- package/dist/types/beatui-i18n/default.d.ts +45 -41
- package/dist/types/beatui-i18n/locales/en.d.ts +45 -41
- package/dist/types/beatui-i18n/translations.d.ts +46 -42
- package/dist/types/components/auth/types.d.ts +35 -35
- package/dist/types/components/auth/utils.d.ts +0 -2
- package/dist/types/components/data/unstyled-drop-zone.d.ts +5 -2
- package/dist/types/components/form/control/file-control.d.ts +2 -0
- package/dist/types/components/form/input/file-input.d.ts +2 -1
- package/dist/types/components/i18n/make-i18nprovider.d.ts +2 -3
- package/dist/types/i18n/translate.d.ts +2 -17
- package/dist/types/tokens/colors.d.ts +1 -1
- package/dist/types/utils/format-file-size.d.ts +6 -0
- package/dist/types/utils/index.d.ts +1 -0
- package/dist/ur-Bg9eX81v.js +38 -0
- package/dist/ur-CUvRCu9R.js +76 -0
- package/dist/vi-BXI6n5F3.js +76 -0
- package/dist/vi-DhdsHHf_.js +38 -0
- package/dist/zh-BIykcEu9.js +38 -0
- package/dist/zh-DyIbx84k.js +74 -0
- package/package.json +3 -3
- package/dist/ar-C7sFBvd3.js +0 -49
- package/dist/ar-D9ef1rPL.js +0 -38
- package/dist/de-DvSVUCKi.js +0 -38
- package/dist/de-g1A7pWNb.js +0 -49
- package/dist/es-VVHXE2N_.js +0 -49
- package/dist/es-kZH0y7yE.js +0 -38
- package/dist/fa-CJNIz_z3.js +0 -49
- package/dist/fa-CZ1jHeSI.js +0 -38
- package/dist/fr-Bi9Ce2bU.js +0 -38
- package/dist/fr-CV72Obmu.js +0 -49
- package/dist/he-B7FDQHq5.js +0 -49
- package/dist/he-iAAKM-JS.js +0 -38
- package/dist/hi-BCajgsBt.js +0 -49
- package/dist/hi-BMfFIHn-.js +0 -38
- package/dist/it-BeJHf7Ur.js +0 -49
- package/dist/it-RYZ8E-C6.js +0 -38
- package/dist/ja-4x5hNiAy.js +0 -38
- package/dist/ja-D5YyTu5k.js +0 -50
- package/dist/ko-BFy6uytC.js +0 -38
- package/dist/ko-DNqvHWiZ.js +0 -49
- package/dist/nl-BRZt7kSA.js +0 -38
- package/dist/nl-Cdbu51NB.js +0 -50
- package/dist/pl-Bru8UPLn.js +0 -50
- package/dist/pl-DKbc4KpN.js +0 -38
- package/dist/pt-Bful1nYu.js +0 -38
- package/dist/pt-LCfmUFgc.js +0 -49
- package/dist/ru-9lG4xtda.js +0 -38
- package/dist/ru-D7gTuXxP.js +0 -50
- package/dist/tr-D3uQnNr4.js +0 -38
- package/dist/tr-DlFekEUg.js +0 -49
- package/dist/ur-BThJLsvD.js +0 -38
- package/dist/ur-mIO25A6L.js +0 -49
- package/dist/vi-Cd6F8iSa.js +0 -38
- package/dist/vi-Dw_DDZWP.js +0 -49
- package/dist/zh-Boy-i2zO.js +0 -38
- package/dist/zh-Dojj6P4C.js +0 -49
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
declare const ur: {
|
|
2
|
-
signInTitle:
|
|
3
|
-
signInButton:
|
|
4
|
-
emailLabel:
|
|
5
|
-
passwordLabel:
|
|
6
|
-
rememberMeLabel:
|
|
7
|
-
forgotPasswordLink:
|
|
8
|
-
noAccountLink:
|
|
9
|
-
signUpTitle:
|
|
10
|
-
signUpButton:
|
|
11
|
-
nameLabel:
|
|
12
|
-
confirmPasswordLabel:
|
|
13
|
-
acceptTermsLabel:
|
|
14
|
-
hasAccountLink:
|
|
15
|
-
resetPasswordTitle:
|
|
16
|
-
resetPasswordButton:
|
|
17
|
-
resetPasswordDescription:
|
|
18
|
-
backToSignInLink:
|
|
2
|
+
signInTitle: string;
|
|
3
|
+
signInButton: string;
|
|
4
|
+
emailLabel: string;
|
|
5
|
+
passwordLabel: string;
|
|
6
|
+
rememberMeLabel: string;
|
|
7
|
+
forgotPasswordLink: string;
|
|
8
|
+
noAccountLink: string;
|
|
9
|
+
signUpTitle: string;
|
|
10
|
+
signUpButton: string;
|
|
11
|
+
nameLabel: string;
|
|
12
|
+
confirmPasswordLabel: string;
|
|
13
|
+
acceptTermsLabel: string;
|
|
14
|
+
hasAccountLink: string;
|
|
15
|
+
resetPasswordTitle: string;
|
|
16
|
+
resetPasswordButton: string;
|
|
17
|
+
resetPasswordDescription: string;
|
|
18
|
+
backToSignInLink: string;
|
|
19
19
|
continueWithProvider: (provider: string) => string;
|
|
20
|
-
passwordStrengthWeak:
|
|
21
|
-
passwordStrengthFair:
|
|
22
|
-
passwordStrengthGood:
|
|
23
|
-
passwordStrengthStrong:
|
|
24
|
-
orDivider:
|
|
25
|
-
error:
|
|
26
|
-
required:
|
|
27
|
-
authenticationTitle:
|
|
20
|
+
passwordStrengthWeak: string;
|
|
21
|
+
passwordStrengthFair: string;
|
|
22
|
+
passwordStrengthGood: string;
|
|
23
|
+
passwordStrengthStrong: string;
|
|
24
|
+
orDivider: string;
|
|
25
|
+
error: string;
|
|
26
|
+
required: string;
|
|
27
|
+
authenticationTitle: string;
|
|
28
28
|
};
|
|
29
29
|
export default ur;
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
declare const vi: {
|
|
2
|
-
signInTitle:
|
|
3
|
-
signInButton:
|
|
4
|
-
emailLabel:
|
|
5
|
-
passwordLabel:
|
|
6
|
-
rememberMeLabel:
|
|
7
|
-
forgotPasswordLink:
|
|
8
|
-
noAccountLink:
|
|
9
|
-
signUpTitle:
|
|
10
|
-
signUpButton:
|
|
11
|
-
nameLabel:
|
|
12
|
-
confirmPasswordLabel:
|
|
13
|
-
acceptTermsLabel:
|
|
14
|
-
hasAccountLink:
|
|
15
|
-
resetPasswordTitle:
|
|
16
|
-
resetPasswordButton:
|
|
17
|
-
resetPasswordDescription:
|
|
18
|
-
backToSignInLink:
|
|
2
|
+
signInTitle: string;
|
|
3
|
+
signInButton: string;
|
|
4
|
+
emailLabel: string;
|
|
5
|
+
passwordLabel: string;
|
|
6
|
+
rememberMeLabel: string;
|
|
7
|
+
forgotPasswordLink: string;
|
|
8
|
+
noAccountLink: string;
|
|
9
|
+
signUpTitle: string;
|
|
10
|
+
signUpButton: string;
|
|
11
|
+
nameLabel: string;
|
|
12
|
+
confirmPasswordLabel: string;
|
|
13
|
+
acceptTermsLabel: string;
|
|
14
|
+
hasAccountLink: string;
|
|
15
|
+
resetPasswordTitle: string;
|
|
16
|
+
resetPasswordButton: string;
|
|
17
|
+
resetPasswordDescription: string;
|
|
18
|
+
backToSignInLink: string;
|
|
19
19
|
continueWithProvider: (provider: string) => string;
|
|
20
|
-
passwordStrengthWeak:
|
|
21
|
-
passwordStrengthFair:
|
|
22
|
-
passwordStrengthGood:
|
|
23
|
-
passwordStrengthStrong:
|
|
24
|
-
orDivider:
|
|
25
|
-
error:
|
|
26
|
-
required:
|
|
27
|
-
authenticationTitle:
|
|
20
|
+
passwordStrengthWeak: string;
|
|
21
|
+
passwordStrengthFair: string;
|
|
22
|
+
passwordStrengthGood: string;
|
|
23
|
+
passwordStrengthStrong: string;
|
|
24
|
+
orDivider: string;
|
|
25
|
+
error: string;
|
|
26
|
+
required: string;
|
|
27
|
+
authenticationTitle: string;
|
|
28
28
|
};
|
|
29
29
|
export default vi;
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
declare const zh: {
|
|
2
|
-
signInTitle:
|
|
3
|
-
signInButton:
|
|
4
|
-
emailLabel:
|
|
5
|
-
passwordLabel:
|
|
6
|
-
rememberMeLabel:
|
|
7
|
-
forgotPasswordLink:
|
|
8
|
-
noAccountLink:
|
|
9
|
-
signUpTitle:
|
|
10
|
-
signUpButton:
|
|
11
|
-
nameLabel:
|
|
12
|
-
confirmPasswordLabel:
|
|
13
|
-
acceptTermsLabel:
|
|
14
|
-
hasAccountLink:
|
|
15
|
-
resetPasswordTitle:
|
|
16
|
-
resetPasswordButton:
|
|
17
|
-
resetPasswordDescription:
|
|
18
|
-
backToSignInLink:
|
|
2
|
+
signInTitle: string;
|
|
3
|
+
signInButton: string;
|
|
4
|
+
emailLabel: string;
|
|
5
|
+
passwordLabel: string;
|
|
6
|
+
rememberMeLabel: string;
|
|
7
|
+
forgotPasswordLink: string;
|
|
8
|
+
noAccountLink: string;
|
|
9
|
+
signUpTitle: string;
|
|
10
|
+
signUpButton: string;
|
|
11
|
+
nameLabel: string;
|
|
12
|
+
confirmPasswordLabel: string;
|
|
13
|
+
acceptTermsLabel: string;
|
|
14
|
+
hasAccountLink: string;
|
|
15
|
+
resetPasswordTitle: string;
|
|
16
|
+
resetPasswordButton: string;
|
|
17
|
+
resetPasswordDescription: string;
|
|
18
|
+
backToSignInLink: string;
|
|
19
19
|
continueWithProvider: (provider: string) => string;
|
|
20
|
-
passwordStrengthWeak:
|
|
21
|
-
passwordStrengthFair:
|
|
22
|
-
passwordStrengthGood:
|
|
23
|
-
passwordStrengthStrong:
|
|
24
|
-
orDivider:
|
|
25
|
-
error:
|
|
26
|
-
required:
|
|
27
|
-
authenticationTitle:
|
|
20
|
+
passwordStrengthWeak: string;
|
|
21
|
+
passwordStrengthFair: string;
|
|
22
|
+
passwordStrengthGood: string;
|
|
23
|
+
passwordStrengthStrong: string;
|
|
24
|
+
orDivider: string;
|
|
25
|
+
error: string;
|
|
26
|
+
required: string;
|
|
27
|
+
authenticationTitle: string;
|
|
28
28
|
};
|
|
29
29
|
export default zh;
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
export declare const AuthI18n: import("@tempots/dom").Provider<import("
|
|
2
|
-
signInTitle:
|
|
3
|
-
signInButton:
|
|
4
|
-
emailLabel:
|
|
5
|
-
passwordLabel:
|
|
6
|
-
rememberMeLabel:
|
|
7
|
-
forgotPasswordLink:
|
|
8
|
-
noAccountLink:
|
|
9
|
-
signUpTitle:
|
|
10
|
-
signUpButton:
|
|
11
|
-
nameLabel:
|
|
12
|
-
confirmPasswordLabel:
|
|
13
|
-
acceptTermsLabel:
|
|
14
|
-
hasAccountLink:
|
|
15
|
-
resetPasswordTitle:
|
|
16
|
-
resetPasswordButton:
|
|
17
|
-
resetPasswordDescription:
|
|
18
|
-
backToSignInLink:
|
|
1
|
+
export declare const AuthI18n: import("@tempots/dom").Provider<import("@tempots/dom").Signal<{
|
|
2
|
+
signInTitle: string;
|
|
3
|
+
signInButton: string;
|
|
4
|
+
emailLabel: string;
|
|
5
|
+
passwordLabel: string;
|
|
6
|
+
rememberMeLabel: string;
|
|
7
|
+
forgotPasswordLink: string;
|
|
8
|
+
noAccountLink: string;
|
|
9
|
+
signUpTitle: string;
|
|
10
|
+
signUpButton: string;
|
|
11
|
+
nameLabel: string;
|
|
12
|
+
confirmPasswordLabel: string;
|
|
13
|
+
acceptTermsLabel: string;
|
|
14
|
+
hasAccountLink: string;
|
|
15
|
+
resetPasswordTitle: string;
|
|
16
|
+
resetPasswordButton: string;
|
|
17
|
+
resetPasswordDescription: string;
|
|
18
|
+
backToSignInLink: string;
|
|
19
19
|
continueWithProvider: (provider: string) => string;
|
|
20
|
-
passwordStrengthWeak:
|
|
21
|
-
passwordStrengthFair:
|
|
22
|
-
passwordStrengthGood:
|
|
23
|
-
passwordStrengthStrong:
|
|
24
|
-
orDivider:
|
|
25
|
-
error:
|
|
26
|
-
required:
|
|
27
|
-
authenticationTitle:
|
|
20
|
+
passwordStrengthWeak: string;
|
|
21
|
+
passwordStrengthFair: string;
|
|
22
|
+
passwordStrengthGood: string;
|
|
23
|
+
passwordStrengthStrong: string;
|
|
24
|
+
orDivider: string;
|
|
25
|
+
error: string;
|
|
26
|
+
required: string;
|
|
27
|
+
authenticationTitle: string;
|
|
28
28
|
}>, object>;
|
|
@@ -1,45 +1,49 @@
|
|
|
1
1
|
export declare const defaultMessages: {
|
|
2
|
-
loadingExtended:
|
|
3
|
-
loadingShort:
|
|
4
|
-
locale:
|
|
5
|
-
iconDescription:
|
|
6
|
-
loadingIcon:
|
|
7
|
-
failedToLoadIcon:
|
|
8
|
-
editLabel:
|
|
9
|
-
selectOne:
|
|
10
|
-
passwordPlaceholderText:
|
|
11
|
-
togglePasswordVisibility:
|
|
12
|
-
toggleMenu:
|
|
13
|
-
toggleAside:
|
|
14
|
-
mainNavigation:
|
|
15
|
-
sidebar:
|
|
16
|
-
closeDrawer:
|
|
17
|
-
closeModal:
|
|
18
|
-
confirm:
|
|
19
|
-
cancel:
|
|
20
|
-
currentLocale:
|
|
21
|
-
ar:
|
|
22
|
-
de:
|
|
23
|
-
en:
|
|
24
|
-
es:
|
|
25
|
-
fr:
|
|
26
|
-
hi:
|
|
27
|
-
it:
|
|
28
|
-
ja:
|
|
29
|
-
ko:
|
|
30
|
-
nl:
|
|
31
|
-
pl:
|
|
32
|
-
pt:
|
|
33
|
-
ru:
|
|
34
|
-
tr:
|
|
35
|
-
vi:
|
|
36
|
-
zh:
|
|
37
|
-
he:
|
|
38
|
-
fa:
|
|
39
|
-
ur:
|
|
40
|
-
emailPlaceholderText:
|
|
41
|
-
dropZoneInstructions: () => string;
|
|
42
|
-
|
|
2
|
+
loadingExtended: string;
|
|
3
|
+
loadingShort: string;
|
|
4
|
+
locale: string;
|
|
5
|
+
iconDescription: string;
|
|
6
|
+
loadingIcon: string;
|
|
7
|
+
failedToLoadIcon: string;
|
|
8
|
+
editLabel: string;
|
|
9
|
+
selectOne: string;
|
|
10
|
+
passwordPlaceholderText: string;
|
|
11
|
+
togglePasswordVisibility: string;
|
|
12
|
+
toggleMenu: string;
|
|
13
|
+
toggleAside: string;
|
|
14
|
+
mainNavigation: string;
|
|
15
|
+
sidebar: string;
|
|
16
|
+
closeDrawer: string;
|
|
17
|
+
closeModal: string;
|
|
18
|
+
confirm: string;
|
|
19
|
+
cancel: string;
|
|
20
|
+
currentLocale: string;
|
|
21
|
+
ar: string;
|
|
22
|
+
de: string;
|
|
23
|
+
en: string;
|
|
24
|
+
es: string;
|
|
25
|
+
fr: string;
|
|
26
|
+
hi: string;
|
|
27
|
+
it: string;
|
|
28
|
+
ja: string;
|
|
29
|
+
ko: string;
|
|
30
|
+
nl: string;
|
|
31
|
+
pl: string;
|
|
32
|
+
pt: string;
|
|
33
|
+
ru: string;
|
|
34
|
+
tr: string;
|
|
35
|
+
vi: string;
|
|
36
|
+
zh: string;
|
|
37
|
+
he: string;
|
|
38
|
+
fa: string;
|
|
39
|
+
ur: string;
|
|
40
|
+
emailPlaceholderText: string;
|
|
41
|
+
dropZoneInstructions: (clickEnabled: boolean) => string;
|
|
42
|
+
fileSizeUnits: string[];
|
|
43
|
+
removeFile: string;
|
|
44
|
+
clearAllFiles: string;
|
|
45
|
+
unknownType: string;
|
|
46
|
+
fileInputInstructions: (allowMultiple: boolean, maxFiles: number | undefined, maxFileSize: number | undefined, fileSizeUnits: string[]) => string;
|
|
43
47
|
};
|
|
44
48
|
export declare const defaultLocale = "en";
|
|
45
49
|
export type BeatUIMessages = typeof defaultMessages;
|
|
@@ -1,44 +1,48 @@
|
|
|
1
1
|
declare const en: {
|
|
2
|
-
loadingExtended:
|
|
3
|
-
loadingShort:
|
|
4
|
-
locale:
|
|
5
|
-
iconDescription:
|
|
6
|
-
loadingIcon:
|
|
7
|
-
failedToLoadIcon:
|
|
8
|
-
editLabel:
|
|
9
|
-
selectOne:
|
|
10
|
-
passwordPlaceholderText:
|
|
11
|
-
togglePasswordVisibility:
|
|
12
|
-
toggleMenu:
|
|
13
|
-
toggleAside:
|
|
14
|
-
mainNavigation:
|
|
15
|
-
sidebar:
|
|
16
|
-
closeDrawer:
|
|
17
|
-
closeModal:
|
|
18
|
-
confirm:
|
|
19
|
-
cancel:
|
|
20
|
-
currentLocale:
|
|
21
|
-
ar:
|
|
22
|
-
de:
|
|
23
|
-
en:
|
|
24
|
-
es:
|
|
25
|
-
fr:
|
|
26
|
-
hi:
|
|
27
|
-
it:
|
|
28
|
-
ja:
|
|
29
|
-
ko:
|
|
30
|
-
nl:
|
|
31
|
-
pl:
|
|
32
|
-
pt:
|
|
33
|
-
ru:
|
|
34
|
-
tr:
|
|
35
|
-
vi:
|
|
36
|
-
zh:
|
|
37
|
-
he:
|
|
38
|
-
fa:
|
|
39
|
-
ur:
|
|
40
|
-
emailPlaceholderText:
|
|
41
|
-
dropZoneInstructions: () => string;
|
|
42
|
-
|
|
2
|
+
loadingExtended: string;
|
|
3
|
+
loadingShort: string;
|
|
4
|
+
locale: string;
|
|
5
|
+
iconDescription: string;
|
|
6
|
+
loadingIcon: string;
|
|
7
|
+
failedToLoadIcon: string;
|
|
8
|
+
editLabel: string;
|
|
9
|
+
selectOne: string;
|
|
10
|
+
passwordPlaceholderText: string;
|
|
11
|
+
togglePasswordVisibility: string;
|
|
12
|
+
toggleMenu: string;
|
|
13
|
+
toggleAside: string;
|
|
14
|
+
mainNavigation: string;
|
|
15
|
+
sidebar: string;
|
|
16
|
+
closeDrawer: string;
|
|
17
|
+
closeModal: string;
|
|
18
|
+
confirm: string;
|
|
19
|
+
cancel: string;
|
|
20
|
+
currentLocale: string;
|
|
21
|
+
ar: string;
|
|
22
|
+
de: string;
|
|
23
|
+
en: string;
|
|
24
|
+
es: string;
|
|
25
|
+
fr: string;
|
|
26
|
+
hi: string;
|
|
27
|
+
it: string;
|
|
28
|
+
ja: string;
|
|
29
|
+
ko: string;
|
|
30
|
+
nl: string;
|
|
31
|
+
pl: string;
|
|
32
|
+
pt: string;
|
|
33
|
+
ru: string;
|
|
34
|
+
tr: string;
|
|
35
|
+
vi: string;
|
|
36
|
+
zh: string;
|
|
37
|
+
he: string;
|
|
38
|
+
fa: string;
|
|
39
|
+
ur: string;
|
|
40
|
+
emailPlaceholderText: string;
|
|
41
|
+
dropZoneInstructions: (clickEnabled: boolean) => string;
|
|
42
|
+
fileSizeUnits: string[];
|
|
43
|
+
removeFile: string;
|
|
44
|
+
clearAllFiles: string;
|
|
45
|
+
unknownType: string;
|
|
46
|
+
fileInputInstructions: (allowMultiple: boolean, maxFiles: number | undefined, maxFileSize: number | undefined, fileSizeUnits: string[]) => string;
|
|
43
47
|
};
|
|
44
48
|
export default en;
|
|
@@ -1,43 +1,47 @@
|
|
|
1
|
-
export declare const BeatUII18n: import("@tempots/dom").Provider<import("
|
|
2
|
-
loadingExtended:
|
|
3
|
-
loadingShort:
|
|
4
|
-
locale:
|
|
5
|
-
iconDescription:
|
|
6
|
-
loadingIcon:
|
|
7
|
-
failedToLoadIcon:
|
|
8
|
-
editLabel:
|
|
9
|
-
selectOne:
|
|
10
|
-
passwordPlaceholderText:
|
|
11
|
-
togglePasswordVisibility:
|
|
12
|
-
toggleMenu:
|
|
13
|
-
toggleAside:
|
|
14
|
-
mainNavigation:
|
|
15
|
-
sidebar:
|
|
16
|
-
closeDrawer:
|
|
17
|
-
closeModal:
|
|
18
|
-
confirm:
|
|
19
|
-
cancel:
|
|
20
|
-
currentLocale:
|
|
21
|
-
ar:
|
|
22
|
-
de:
|
|
23
|
-
en:
|
|
24
|
-
es:
|
|
25
|
-
fr:
|
|
26
|
-
hi:
|
|
27
|
-
it:
|
|
28
|
-
ja:
|
|
29
|
-
ko:
|
|
30
|
-
nl:
|
|
31
|
-
pl:
|
|
32
|
-
pt:
|
|
33
|
-
ru:
|
|
34
|
-
tr:
|
|
35
|
-
vi:
|
|
36
|
-
zh:
|
|
37
|
-
he:
|
|
38
|
-
fa:
|
|
39
|
-
ur:
|
|
40
|
-
emailPlaceholderText:
|
|
41
|
-
dropZoneInstructions: () => string;
|
|
42
|
-
|
|
1
|
+
export declare const BeatUII18n: import("@tempots/dom").Provider<import("@tempots/dom").Signal<{
|
|
2
|
+
loadingExtended: string;
|
|
3
|
+
loadingShort: string;
|
|
4
|
+
locale: string;
|
|
5
|
+
iconDescription: string;
|
|
6
|
+
loadingIcon: string;
|
|
7
|
+
failedToLoadIcon: string;
|
|
8
|
+
editLabel: string;
|
|
9
|
+
selectOne: string;
|
|
10
|
+
passwordPlaceholderText: string;
|
|
11
|
+
togglePasswordVisibility: string;
|
|
12
|
+
toggleMenu: string;
|
|
13
|
+
toggleAside: string;
|
|
14
|
+
mainNavigation: string;
|
|
15
|
+
sidebar: string;
|
|
16
|
+
closeDrawer: string;
|
|
17
|
+
closeModal: string;
|
|
18
|
+
confirm: string;
|
|
19
|
+
cancel: string;
|
|
20
|
+
currentLocale: string;
|
|
21
|
+
ar: string;
|
|
22
|
+
de: string;
|
|
23
|
+
en: string;
|
|
24
|
+
es: string;
|
|
25
|
+
fr: string;
|
|
26
|
+
hi: string;
|
|
27
|
+
it: string;
|
|
28
|
+
ja: string;
|
|
29
|
+
ko: string;
|
|
30
|
+
nl: string;
|
|
31
|
+
pl: string;
|
|
32
|
+
pt: string;
|
|
33
|
+
ru: string;
|
|
34
|
+
tr: string;
|
|
35
|
+
vi: string;
|
|
36
|
+
zh: string;
|
|
37
|
+
he: string;
|
|
38
|
+
fa: string;
|
|
39
|
+
ur: string;
|
|
40
|
+
emailPlaceholderText: string;
|
|
41
|
+
dropZoneInstructions: (clickEnabled: boolean) => string;
|
|
42
|
+
fileSizeUnits: string[];
|
|
43
|
+
removeFile: string;
|
|
44
|
+
clearAllFiles: string;
|
|
45
|
+
unknownType: string;
|
|
46
|
+
fileInputInstructions: (allowMultiple: boolean, maxFiles: number | undefined, maxFileSize: number | undefined, fileSizeUnits: string[]) => string;
|
|
43
47
|
}>, object>;
|
|
@@ -41,23 +41,23 @@ export interface PasswordRules {
|
|
|
41
41
|
customValidation?: (password: string) => string | null;
|
|
42
42
|
}
|
|
43
43
|
export interface AuthContainerLabels {
|
|
44
|
-
signInTitle?:
|
|
45
|
-
emailLabel?:
|
|
46
|
-
passwordLabel?:
|
|
47
|
-
rememberMeLabel?:
|
|
48
|
-
signInButton?:
|
|
49
|
-
forgotPasswordLink?:
|
|
50
|
-
noAccountLink?:
|
|
51
|
-
acceptTermsLabel?:
|
|
52
|
-
confirmPasswordLabel?:
|
|
53
|
-
signUpTitle?:
|
|
54
|
-
signUpButton?:
|
|
55
|
-
nameLabel?:
|
|
56
|
-
hasAccountLink?:
|
|
57
|
-
resetPasswordTitle?:
|
|
58
|
-
resetPasswordButton?:
|
|
59
|
-
resetPasswordDescription?:
|
|
60
|
-
backToSignInLink?:
|
|
44
|
+
signInTitle?: Value<string>;
|
|
45
|
+
emailLabel?: Value<string>;
|
|
46
|
+
passwordLabel?: Value<string>;
|
|
47
|
+
rememberMeLabel?: Value<string>;
|
|
48
|
+
signInButton?: Value<string>;
|
|
49
|
+
forgotPasswordLink?: Value<string>;
|
|
50
|
+
noAccountLink?: Value<string>;
|
|
51
|
+
acceptTermsLabel?: Value<string>;
|
|
52
|
+
confirmPasswordLabel?: Value<string>;
|
|
53
|
+
signUpTitle?: Value<string>;
|
|
54
|
+
signUpButton?: Value<string>;
|
|
55
|
+
nameLabel?: Value<string>;
|
|
56
|
+
hasAccountLink?: Value<string>;
|
|
57
|
+
resetPasswordTitle?: Value<string>;
|
|
58
|
+
resetPasswordButton?: Value<string>;
|
|
59
|
+
resetPasswordDescription?: Value<string>;
|
|
60
|
+
backToSignInLink?: Value<string>;
|
|
61
61
|
}
|
|
62
62
|
export interface AuthContainerOptions {
|
|
63
63
|
mode?: Value<AuthMode>;
|
|
@@ -85,12 +85,12 @@ export interface SocialProvidersOptions {
|
|
|
85
85
|
providers: AuthProviderInfo[];
|
|
86
86
|
}
|
|
87
87
|
export interface SignInFormLabels {
|
|
88
|
-
emailLabel?:
|
|
89
|
-
passwordLabel?:
|
|
90
|
-
rememberMeLabel?:
|
|
91
|
-
signInButton?:
|
|
92
|
-
forgotPasswordLink?:
|
|
93
|
-
noAccountLink?:
|
|
88
|
+
emailLabel?: Value<string>;
|
|
89
|
+
passwordLabel?: Value<string>;
|
|
90
|
+
rememberMeLabel?: Value<string>;
|
|
91
|
+
signInButton?: Value<string>;
|
|
92
|
+
forgotPasswordLink?: Value<string>;
|
|
93
|
+
noAccountLink?: Value<string>;
|
|
94
94
|
}
|
|
95
95
|
export interface SignInFormOptions {
|
|
96
96
|
onSignIn?: (data: SignInData) => Promise<string | null>;
|
|
@@ -99,13 +99,13 @@ export interface SignInFormOptions {
|
|
|
99
99
|
showRememberMe?: boolean;
|
|
100
100
|
}
|
|
101
101
|
export interface SignUpFormLabels {
|
|
102
|
-
nameLabel?:
|
|
103
|
-
emailLabel?:
|
|
104
|
-
passwordLabel?:
|
|
105
|
-
confirmPasswordLabel?:
|
|
106
|
-
acceptTermsLabel?:
|
|
107
|
-
signUpButton?:
|
|
108
|
-
hasAccountLink?:
|
|
102
|
+
nameLabel?: Value<string>;
|
|
103
|
+
emailLabel?: Value<string>;
|
|
104
|
+
passwordLabel?: Value<string>;
|
|
105
|
+
confirmPasswordLabel?: Value<string>;
|
|
106
|
+
acceptTermsLabel?: Value<string>;
|
|
107
|
+
signUpButton?: Value<string>;
|
|
108
|
+
hasAccountLink?: Value<string>;
|
|
109
109
|
}
|
|
110
110
|
export interface SignUpFormOptions {
|
|
111
111
|
passwordRules?: PasswordRules;
|
|
@@ -119,10 +119,10 @@ export interface SignUpFormOptions {
|
|
|
119
119
|
termsAndConditions?: TNode;
|
|
120
120
|
}
|
|
121
121
|
export interface ResetPasswordFormLabels {
|
|
122
|
-
resetPasswordButton?:
|
|
123
|
-
resetPasswordDescription?:
|
|
124
|
-
emailLabel?:
|
|
125
|
-
backToSignInLink?:
|
|
122
|
+
resetPasswordButton?: Value<string>;
|
|
123
|
+
resetPasswordDescription?: Value<string>;
|
|
124
|
+
emailLabel?: Value<string>;
|
|
125
|
+
backToSignInLink?: Value<string>;
|
|
126
126
|
}
|
|
127
127
|
export interface ResetPasswordFormOptions {
|
|
128
128
|
onResetPassword?: (data: ResetPasswordData) => Promise<string | null>;
|
|
@@ -138,7 +138,7 @@ export interface SocialLoginButtonOptions {
|
|
|
138
138
|
icon: Value<string>;
|
|
139
139
|
color: Value<ThemeColorName | 'black'>;
|
|
140
140
|
labels?: {
|
|
141
|
-
continueWithProvider?: (provider: string) => string
|
|
141
|
+
continueWithProvider?: Value<(provider: string) => string>;
|
|
142
142
|
};
|
|
143
143
|
}
|
|
144
144
|
export interface PasswordStrengthIndicatorOptions {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { GetValueTypes, Signal, Value } from '@tempots/dom';
|
|
2
1
|
import { AuthProviderName, PasswordRules } from './types';
|
|
3
2
|
export declare const providerInfo: Record<AuthProviderName, {
|
|
4
3
|
name: string;
|
|
@@ -16,7 +15,6 @@ export declare function createSocialLoginUrl(provider: AuthProviderName, clientI
|
|
|
16
15
|
export declare function openSocialLoginPopup<T>(url: string, provider: AuthProviderName, onSuccess?: (result: T) => void, onError?: (error: Error) => void): void;
|
|
17
16
|
export declare function formatAuthError(error: unknown): string;
|
|
18
17
|
export declare function isBrowser(): boolean;
|
|
19
|
-
export declare function functionOrReactiveMessage<T extends Value<unknown>[]>(fn: undefined | ((...args: GetValueTypes<T>) => string), reactiveFn: (...args: T) => Signal<string>, ...args: T): Signal<string>;
|
|
20
18
|
export declare function requestToControllerValidation<T>({ task, message, onStart, onEnd, }: {
|
|
21
19
|
task: undefined | ((value: T) => Promise<string | null>);
|
|
22
20
|
message: string;
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import { TNode, Value, Signal } from '@tempots/dom';
|
|
2
2
|
export type DropZoneOptions = {
|
|
3
|
-
|
|
3
|
+
onChange: (files: File[]) => void;
|
|
4
|
+
value?: Value<File[]>;
|
|
4
5
|
accept?: Value<string>;
|
|
5
6
|
enableClick?: Value<boolean>;
|
|
6
7
|
content: (options: {
|
|
7
8
|
files: Signal<File[]>;
|
|
8
9
|
clear: () => void;
|
|
10
|
+
change: (files: File[]) => void;
|
|
9
11
|
}) => TNode;
|
|
12
|
+
disabled?: Value<boolean>;
|
|
10
13
|
allowMultiple?: Value<boolean>;
|
|
11
14
|
};
|
|
12
|
-
export declare function UnstyledDropZone({
|
|
15
|
+
export declare function UnstyledDropZone({ onChange, value, accept, enableClick, content, disabled, allowMultiple, }: DropZoneOptions): import("@tempots/dom").Renderable;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { TNode, Value } from '@tempots/dom';
|
|
2
2
|
import { ControlOptions } from './control-options';
|
|
3
|
+
import { FileInputMode } from '../input/file-input';
|
|
3
4
|
import { Merge } from '@tempots/std';
|
|
4
5
|
export type FileControlOptions = Merge<ControlOptions<File[]>, {
|
|
5
6
|
accept?: Value<string>;
|
|
@@ -7,5 +8,6 @@ export type FileControlOptions = Merge<ControlOptions<File[]>, {
|
|
|
7
8
|
maxFiles?: Value<number>;
|
|
8
9
|
maxFileSize?: Value<number>;
|
|
9
10
|
showFileList?: Value<boolean>;
|
|
11
|
+
mode?: Value<FileInputMode>;
|
|
10
12
|
}>;
|
|
11
13
|
export declare const FileControl: (options: FileControlOptions, ...children: TNode[]) => import("@tempots/dom").Renderable;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { Value } from '@tempots/dom';
|
|
2
2
|
import { InputOptions } from './input-options';
|
|
3
3
|
import { Merge } from '@tempots/std';
|
|
4
|
+
export type FileInputMode = 'default' | 'compact';
|
|
4
5
|
export type FileInputOptions = Merge<InputOptions<File[]>, {
|
|
5
6
|
accept?: Value<string>;
|
|
6
7
|
allowMultiple?: Value<boolean>;
|
|
7
8
|
maxFiles?: Value<number>;
|
|
8
9
|
maxFileSize?: Value<number>;
|
|
9
|
-
|
|
10
|
+
mode?: Value<FileInputMode>;
|
|
10
11
|
}>;
|
|
11
12
|
export declare const FileInput: (options: FileInputOptions) => import("@tempots/dom").Renderable;
|