@dereekb/dbx-form 12.3.3 → 12.3.5
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/esm2022/calendar/lib/calendar.schedule.selection.dialog.button.component.mjs +1 -1
- package/esm2022/calendar/lib/calendar.schedule.selection.popover.button.component.mjs +1 -1
- package/esm2022/calendar/lib/calendar.schedule.selection.toggle.button.component.mjs +1 -1
- package/esm2022/lib/form/action/form.action.dialog.component.mjs +4 -4
- package/esm2022/lib/formly/field/selection/sourceselect/sourceselect.field.component.mjs +2 -2
- package/esm2022/lib/formly/field/value/array/array.field.component.mjs +2 -2
- package/esm2022/lib/formly/template/login.mjs +7 -3
- package/fesm2022/dereekb-dbx-form-calendar.mjs +3 -3
- package/fesm2022/dereekb-dbx-form-calendar.mjs.map +1 -1
- package/fesm2022/dereekb-dbx-form.mjs +12 -8
- package/fesm2022/dereekb-dbx-form.mjs.map +1 -1
- package/lib/formly/template/login.d.ts +10 -3
- package/package.json +1 -1
|
@@ -33,19 +33,19 @@ export interface UsernameLoginFieldUsernameConfig {
|
|
|
33
33
|
readonly email?: Omit<EmailFieldConfig, 'key'>;
|
|
34
34
|
readonly username?: Omit<TextFieldConfig, 'key'>;
|
|
35
35
|
}
|
|
36
|
+
export type UsernameLoginFieldUsernameConfigInput = 'email' | 'username' | UsernameLoginFieldUsernameConfig;
|
|
36
37
|
/**
|
|
37
38
|
* usernamePasswordLoginFields() configuration.
|
|
38
39
|
*/
|
|
39
40
|
export interface UsernameLoginFieldsConfig {
|
|
40
|
-
readonly username:
|
|
41
|
+
readonly username: UsernameLoginFieldUsernameConfigInput;
|
|
41
42
|
readonly password?: TextPasswordFieldConfig;
|
|
42
43
|
readonly verifyPassword?: Maybe<boolean | TextPasswordFieldConfig>;
|
|
43
44
|
}
|
|
44
45
|
/**
|
|
45
46
|
* Value type exported by usernameLoginFields()
|
|
46
47
|
*/
|
|
47
|
-
export interface DefaultUsernameLoginFieldsValue {
|
|
48
|
-
readonly username: string;
|
|
48
|
+
export interface DefaultUsernameLoginFieldsValue extends DefaultUsernameLoginFieldValue {
|
|
49
49
|
readonly password: string;
|
|
50
50
|
readonly verifyPassword?: string;
|
|
51
51
|
}
|
|
@@ -56,3 +56,10 @@ export interface DefaultUsernameLoginFieldsValue {
|
|
|
56
56
|
* @returns
|
|
57
57
|
*/
|
|
58
58
|
export declare function usernamePasswordLoginFields({ username, password, verifyPassword }: UsernameLoginFieldsConfig): FormlyFieldConfig[];
|
|
59
|
+
/**
|
|
60
|
+
* Value type exported by usernameLoginField()
|
|
61
|
+
*/
|
|
62
|
+
export interface DefaultUsernameLoginFieldValue {
|
|
63
|
+
readonly username: string;
|
|
64
|
+
}
|
|
65
|
+
export declare function usernameLoginField(username: UsernameLoginFieldUsernameConfigInput): FormlyFieldConfig;
|