@dereekb/dbx-form 2.0.0 → 4.0.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/esm2020/lib/form/action/form.action.directive.mjs +8 -8
- package/esm2020/lib/form/action/form.action.module.mjs +4 -4
- package/esm2020/lib/form/action/transition/form.action.transition.module.mjs +4 -4
- package/esm2020/lib/form/action/transition/form.action.transition.safety.directive.mjs +3 -3
- package/esm2020/lib/form/form.mjs +10 -1
- package/esm2020/lib/form/form.module.mjs +4 -4
- package/esm2020/lib/form/io/form.changes.directive.mjs +18 -7
- package/esm2020/lib/form/io/form.input.directive.mjs +36 -18
- package/esm2020/lib/form/io/form.io.module.mjs +4 -4
- package/esm2020/lib/form/io/form.loading.directive.mjs +27 -17
- package/esm2020/lib/form.module.mjs +4 -4
- package/esm2020/lib/formly/config/validation.mjs +3 -3
- package/esm2020/lib/formly/field/checklist/checklist.item.field.component.mjs +8 -8
- package/esm2020/lib/formly/field/checklist/checklist.item.field.content.default.component.mjs +3 -3
- package/esm2020/lib/formly/field/checklist/checklist.item.field.module.mjs +13 -13
- package/esm2020/lib/formly/field/component/component.field.component.mjs +7 -7
- package/esm2020/lib/formly/field/component/component.field.module.mjs +9 -9
- package/esm2020/lib/formly/field/form.field.module.mjs +4 -4
- package/esm2020/lib/formly/field/selection/pickable/pickable.chip.field.component.mjs +7 -7
- package/esm2020/lib/formly/field/selection/pickable/pickable.field.directive.mjs +8 -6
- package/esm2020/lib/formly/field/selection/pickable/pickable.field.mjs +2 -2
- package/esm2020/lib/formly/field/selection/pickable/pickable.field.module.mjs +13 -13
- package/esm2020/lib/formly/field/selection/pickable/pickable.list.field.component.mjs +28 -21
- package/esm2020/lib/formly/field/selection/searchable/searchable.chip.field.component.mjs +4 -4
- package/esm2020/lib/formly/field/selection/searchable/searchable.field.autocomplete.item.component.mjs +13 -13
- package/esm2020/lib/formly/field/selection/searchable/searchable.field.directive.mjs +7 -8
- package/esm2020/lib/formly/field/selection/searchable/searchable.field.module.mjs +13 -13
- package/esm2020/lib/formly/field/selection/searchable/searchable.mjs +1 -1
- package/esm2020/lib/formly/field/selection/searchable/searchable.text.field.component.mjs +3 -3
- package/esm2020/lib/formly/field/selection/selection.module.mjs +4 -4
- package/esm2020/lib/formly/field/texteditor/texteditor.field.component.mjs +4 -5
- package/esm2020/lib/formly/field/texteditor/texteditor.field.module.mjs +4 -4
- package/esm2020/lib/formly/field/value/array/array.field.component.mjs +6 -6
- package/esm2020/lib/formly/field/value/array/array.field.module.mjs +4 -4
- package/esm2020/lib/formly/field/value/boolean/boolean.field.module.mjs +4 -4
- package/esm2020/lib/formly/field/value/date/date.field.module.mjs +4 -4
- package/esm2020/lib/formly/field/value/date/datetime.field.component.mjs +21 -20
- package/esm2020/lib/formly/field/value/date/datetime.field.mjs +5 -5
- package/esm2020/lib/formly/field/value/enum/enum.field.module.mjs +4 -4
- package/esm2020/lib/formly/field/value/phone/phone.field.component.mjs +3 -3
- package/esm2020/lib/formly/field/value/phone/phone.field.module.mjs +4 -4
- package/esm2020/lib/formly/field/value/text/text.additional.field.mjs +15 -18
- package/esm2020/lib/formly/field/value/text/text.address.field.mjs +2 -2
- package/esm2020/lib/formly/field/value/text/text.field.mjs +3 -2
- package/esm2020/lib/formly/field/value/text/text.field.module.mjs +4 -4
- package/esm2020/lib/formly/field/value/value.module.mjs +4 -4
- package/esm2020/lib/formly/field/wrapper/autotouch.wrapper.component.mjs +3 -3
- package/esm2020/lib/formly/field/wrapper/expandable.wrapper.component.mjs +3 -3
- package/esm2020/lib/formly/field/wrapper/expandable.wrapper.delegate.mjs +3 -3
- package/esm2020/lib/formly/field/wrapper/flex.wrapper.component.mjs +3 -3
- package/esm2020/lib/formly/field/wrapper/form.wrapper.module.mjs +18 -10
- package/esm2020/lib/formly/field/wrapper/index.mjs +2 -1
- package/esm2020/lib/formly/field/wrapper/info.wrapper.component.mjs +3 -3
- package/esm2020/lib/formly/field/wrapper/section.wrapper.component.mjs +3 -3
- package/esm2020/lib/formly/field/wrapper/style.wrapper.component.mjs +4 -4
- package/esm2020/lib/formly/field/wrapper/subsection.wrapper.component.mjs +3 -3
- package/esm2020/lib/formly/field/wrapper/toggle.wrapper.component.mjs +3 -3
- package/esm2020/lib/formly/field/wrapper/working.wrapper.component.mjs +45 -0
- package/esm2020/lib/formly/field/wrapper/wrapper.mjs +7 -1
- package/esm2020/lib/formly/formly.context.directive.mjs +3 -3
- package/esm2020/lib/formly/formly.context.mjs +2 -2
- package/esm2020/lib/formly/formly.directive.mjs +12 -12
- package/esm2020/lib/formly/formly.form.component.mjs +15 -8
- package/esm2020/lib/formly/formly.module.mjs +9 -6
- package/esm2020/lib/formly/index.mjs +2 -1
- package/esm2020/lib/formly/template/available.mjs +16 -0
- package/esm2020/lib/formly/template/index.mjs +3 -0
- package/esm2020/lib/formly/template/login.mjs +90 -0
- package/esm2020/lib/layout/form.layout.module.mjs +4 -4
- package/esm2020/lib/layout/form.spacer.component.mjs +3 -3
- package/esm2020/lib/validator/available.mjs +32 -0
- package/esm2020/lib/validator/field.mjs +31 -0
- package/esm2020/lib/validator/index.mjs +3 -1
- package/fesm2015/dereekb-dbx-form.mjs +624 -369
- package/fesm2015/dereekb-dbx-form.mjs.map +1 -1
- package/fesm2020/dereekb-dbx-form.mjs +641 -366
- package/fesm2020/dereekb-dbx-form.mjs.map +1 -1
- package/lib/form/action/form.action.directive.d.ts +8 -13
- package/lib/form/form.d.ts +11 -0
- package/lib/form/io/form.changes.directive.d.ts +7 -3
- package/lib/form/io/form.input.directive.d.ts +18 -7
- package/lib/form/io/form.loading.directive.d.ts +8 -2
- package/lib/formly/field/checklist/checklist.item.field.component.d.ts +2 -2
- package/lib/formly/field/checklist/checklist.item.field.module.d.ts +1 -1
- package/lib/formly/field/component/component.field.component.d.ts +3 -3
- package/lib/formly/field/component/component.field.module.d.ts +1 -1
- package/lib/formly/field/selection/pickable/pickable.field.directive.d.ts +8 -3
- package/lib/formly/field/selection/pickable/pickable.field.module.d.ts +1 -1
- package/lib/formly/field/selection/pickable/pickable.list.field.component.d.ts +8 -6
- package/lib/formly/field/selection/searchable/searchable.chip.field.component.d.ts +2 -1
- package/lib/formly/field/selection/searchable/searchable.d.ts +3 -3
- package/lib/formly/field/selection/searchable/searchable.field.autocomplete.item.component.d.ts +2 -2
- package/lib/formly/field/selection/searchable/searchable.field.directive.d.ts +4 -4
- package/lib/formly/field/selection/searchable/searchable.field.module.d.ts +1 -1
- package/lib/formly/field/value/array/array.field.component.d.ts +2 -2
- package/lib/formly/field/value/date/datetime.field.component.d.ts +4 -4
- package/lib/formly/field/value/phone/_phone.scss +4 -0
- package/lib/formly/field/value/text/text.additional.field.d.ts +1 -1
- package/lib/formly/field/value/text/text.field.d.ts +2 -0
- package/lib/formly/field/wrapper/form.wrapper.module.d.ts +9 -8
- package/lib/formly/field/wrapper/index.d.ts +1 -0
- package/lib/formly/field/wrapper/style.wrapper.component.d.ts +3 -3
- package/lib/formly/field/wrapper/working.wrapper.component.d.ts +22 -0
- package/lib/formly/field/wrapper/wrapper.d.ts +3 -0
- package/lib/formly/formly.context.d.ts +1 -1
- package/lib/formly/index.d.ts +1 -0
- package/lib/formly/template/available.d.ts +7 -0
- package/lib/formly/template/index.d.ts +2 -0
- package/lib/formly/template/login.d.ts +59 -0
- package/lib/validator/available.d.ts +30 -0
- package/lib/validator/field.d.ts +32 -0
- package/lib/validator/index.d.ts +2 -0
- package/package.json +17 -45
- package/lib/formly/field/fields_TODO.scss +0 -4
- package/lib/formly/form_TODO.scss +0 -153
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { TextFieldConfig } from '../field/value/text/text.field';
|
|
2
|
+
import { EmailFieldConfig } from '../field/value/text/text.additional.field';
|
|
3
|
+
import { FormlyFieldConfig } from "@ngx-formly/core";
|
|
4
|
+
import { Maybe } from '@dereekb/util';
|
|
5
|
+
/**
|
|
6
|
+
* Convenience interface for the password parameters configuration for a TextPasswordField.
|
|
7
|
+
*/
|
|
8
|
+
export interface TextPasswordFieldPasswordParameters extends Partial<Pick<TextFieldConfig, 'maxLength' | 'minLength' | 'pattern'>> {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* textPasswordField() configuration.
|
|
12
|
+
*/
|
|
13
|
+
export interface TextPasswordFieldConfig extends Omit<TextFieldConfig, 'inputType' | 'key'>, Partial<Pick<TextFieldConfig, 'key'>> {
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Configured simple text password field.
|
|
17
|
+
*
|
|
18
|
+
* @param config
|
|
19
|
+
* @returns
|
|
20
|
+
*/
|
|
21
|
+
export declare function textPasswordField(config?: TextPasswordFieldConfig): FormlyFieldConfig;
|
|
22
|
+
/**
|
|
23
|
+
* Configured verify field for a password.
|
|
24
|
+
* @param config
|
|
25
|
+
* @returns
|
|
26
|
+
*/
|
|
27
|
+
export declare function textVerifyPasswordField(config?: TextPasswordFieldConfig): FormlyFieldConfig;
|
|
28
|
+
export interface TextPasswordWithVerifyFieldConfig {
|
|
29
|
+
password?: TextPasswordFieldConfig;
|
|
30
|
+
verifyPassword?: TextPasswordFieldConfig;
|
|
31
|
+
}
|
|
32
|
+
export declare function textPasswordWithVerifyFieldGroup(config: TextPasswordWithVerifyFieldConfig): FormlyFieldConfig;
|
|
33
|
+
export interface UsernameLoginFieldUsernameConfig {
|
|
34
|
+
email?: Omit<EmailFieldConfig, 'key'>;
|
|
35
|
+
username?: Omit<TextFieldConfig, 'key'>;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* usernamePasswordLoginFields() configuration.
|
|
39
|
+
*/
|
|
40
|
+
export interface UsernameLoginFieldsConfig {
|
|
41
|
+
username: 'email' | 'username' | UsernameLoginFieldUsernameConfig;
|
|
42
|
+
password?: TextPasswordFieldConfig;
|
|
43
|
+
verifyPassword?: Maybe<boolean | TextPasswordFieldConfig>;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Value type exported by usernameLoginFields()
|
|
47
|
+
*/
|
|
48
|
+
export interface DefaultUsernameLoginFieldsValue {
|
|
49
|
+
username: string;
|
|
50
|
+
password: string;
|
|
51
|
+
verifyPassword?: string;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Template for login field that takes in a username and password.
|
|
55
|
+
*
|
|
56
|
+
* @param param0
|
|
57
|
+
* @returns
|
|
58
|
+
*/
|
|
59
|
+
export declare function usernamePasswordLoginFields({ username, password, verifyPassword }: UsernameLoginFieldsConfig): FormlyFieldConfig[];
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { AsyncValidatorFn } from "@angular/forms";
|
|
3
|
+
export declare const FIELD_VALUE_IS_AVAILABLE_VALIDATION_KEY = "fieldValueIsAvailable";
|
|
4
|
+
export declare const FIELD_VALUE_IS_AVAILABLE_ERROR_VALIDATION_KEY = "fieldValueIsAvailableError";
|
|
5
|
+
export declare type FieldValueIsAvailableValidatorFunction<T> = (value: T) => Observable<boolean>;
|
|
6
|
+
export interface FieldValueIsAvailableValidatorConfig<T> {
|
|
7
|
+
/**
|
|
8
|
+
* How long to wait in between value changes.
|
|
9
|
+
*/
|
|
10
|
+
throttle?: number;
|
|
11
|
+
/**
|
|
12
|
+
* Returns an observable that checks whether or not the value is currently available.
|
|
13
|
+
*
|
|
14
|
+
* @param value
|
|
15
|
+
*/
|
|
16
|
+
readonly checkValueIsAvailable: FieldValueIsAvailableValidatorFunction<T>;
|
|
17
|
+
/**
|
|
18
|
+
* Custom message for this validator.
|
|
19
|
+
*/
|
|
20
|
+
message?: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Validator for validating all values within an object.
|
|
24
|
+
*
|
|
25
|
+
* This is useful for validating a control group where two or more values are expected to be the same, such as a password and a password verification field.
|
|
26
|
+
*
|
|
27
|
+
* @param config
|
|
28
|
+
* @returns
|
|
29
|
+
*/
|
|
30
|
+
export declare function fieldValueIsAvailableValidator<T>(config: FieldValueIsAvailableValidatorConfig<T>): AsyncValidatorFn;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ValidatorFn } from "@angular/forms";
|
|
2
|
+
import { KeyValueTupleFilter, IsEqualFunction } from "@dereekb/util";
|
|
3
|
+
export declare const FIELD_VALUES_ARE_EQUAL_VALIDATION_KEY = "fieldValuesAreEqual";
|
|
4
|
+
export interface FieldValuesAreEqualValidatorConfig<T extends object = any> {
|
|
5
|
+
/**
|
|
6
|
+
* Keys of the value to match on.
|
|
7
|
+
*
|
|
8
|
+
* If none are defined, then all fields from the control are matched.
|
|
9
|
+
*/
|
|
10
|
+
keysFilter?: string[];
|
|
11
|
+
/**
|
|
12
|
+
* Full filter to use, if defined.
|
|
13
|
+
*/
|
|
14
|
+
valuesFilter?: KeyValueTupleFilter<T, any>;
|
|
15
|
+
/**
|
|
16
|
+
* Optional equivalence comparator.
|
|
17
|
+
*/
|
|
18
|
+
isEqual?: IsEqualFunction<T>;
|
|
19
|
+
/**
|
|
20
|
+
* Custom message for this validator.
|
|
21
|
+
*/
|
|
22
|
+
message?: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Validator for validating all values within an object.
|
|
26
|
+
*
|
|
27
|
+
* This is useful for validating a control group where two or more values are expected to be the same, such as a password and a password verification field.
|
|
28
|
+
*
|
|
29
|
+
* @param config
|
|
30
|
+
* @returns
|
|
31
|
+
*/
|
|
32
|
+
export declare function fieldValuesAreEqualValidator<T extends object = any>(config?: FieldValuesAreEqualValidatorConfig<T>): ValidatorFn;
|
package/lib/validator/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,68 +1,40 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/dbx-form",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/common": "^13.
|
|
6
|
-
"@angular/core": "^13.
|
|
7
|
-
"@dereekb/dbx-core": "
|
|
8
|
-
"@ngrx/component-store": "^13.0.2",
|
|
9
|
-
"@ngrx/data": "^13.0.2",
|
|
10
|
-
"@ngrx/effects": "^13.0.2",
|
|
11
|
-
"@ngrx/entity": "^13.0.2",
|
|
12
|
-
"@ngrx/store": "^13.0.2",
|
|
13
|
-
"rxjs": "^7.5.2",
|
|
14
|
-
"@dereekb/util": "2.0.0",
|
|
15
|
-
"extra-set": "^2.2.11",
|
|
16
|
-
"make-error": "^1.3.0",
|
|
17
|
-
"@dereekb/rxjs": "2.0.0",
|
|
18
|
-
"ms": "^3.0.0-canary.1",
|
|
19
|
-
"@angular/platform-browser": "^13.0.0",
|
|
20
|
-
"date-fns": "^2.28.0",
|
|
21
|
-
"@dereekb/date": "2.0.0",
|
|
22
|
-
"class-transformer": "^0.5.1",
|
|
23
|
-
"class-validator": "^0.13.2",
|
|
24
|
-
"date-fns-tz": "^1.2.2",
|
|
25
|
-
"rrule": "git+https://git@github.com/dereekb/rrule.git#17adf5708d6567b4d01a3a8afd106261421ea492",
|
|
26
|
-
"@angular/router": "^13.0.0",
|
|
27
|
-
"@uirouter/core": "^6.0.8",
|
|
28
|
-
"@uirouter/angular": "^9.1.0",
|
|
5
|
+
"@angular/common": "^13.0.0",
|
|
6
|
+
"@angular/core": "^13.0.0",
|
|
7
|
+
"@dereekb/dbx-core": "4.0.0",
|
|
29
8
|
"@angular/material": "^13.0.0",
|
|
30
|
-
"@dereekb/dbx-web": "
|
|
31
|
-
"mat-progress-buttons": "git+https://git@github.com/dereekb/mat-progress-buttons.git#60b0374a45644e8756f20b8d761738151ca3df64",
|
|
32
|
-
"@angular/flex-layout": "^13.0.0-beta.38",
|
|
33
|
-
"ng-overlay-container": "^13.0.0",
|
|
34
|
-
"@angular/cdk": "^13.0.0",
|
|
35
|
-
"angular-resize-event": "^3.1.1",
|
|
36
|
-
"ngx-infinite-scroll": "^10.0.1",
|
|
37
|
-
"linkify-string": "4.0.0-beta.3",
|
|
38
|
-
"@ngx-formly/core": "6.0.0-next.8",
|
|
9
|
+
"@dereekb/dbx-web": "4.0.0",
|
|
39
10
|
"@angular/forms": "^13.0.0",
|
|
40
|
-
"@ngx-formly/
|
|
41
|
-
"
|
|
11
|
+
"@ngx-formly/core": "6.0.0-next.9",
|
|
12
|
+
"@ngx-formly/material": "6.0.0-next.9",
|
|
42
13
|
"ngx-editor": "^12.1.1",
|
|
43
14
|
"ngx-mat-intl-tel-input": "^4.1.0"
|
|
44
15
|
},
|
|
45
16
|
"dependencies": {
|
|
46
17
|
"tslib": "^2.3.0"
|
|
47
18
|
},
|
|
48
|
-
"module": "fesm2015/dereekb-dbx-form.mjs",
|
|
49
|
-
"es2020": "fesm2020/dereekb-dbx-form.mjs",
|
|
50
|
-
"esm2020": "esm2020/dereekb-dbx-form.mjs",
|
|
51
|
-
"fesm2020": "fesm2020/dereekb-dbx-form.mjs",
|
|
52
|
-
"fesm2015": "fesm2015/dereekb-dbx-form.mjs",
|
|
53
|
-
"typings": "dereekb-dbx-form.d.ts",
|
|
54
19
|
"exports": {
|
|
55
|
-
"./package.json": {
|
|
56
|
-
"default": "./package.json"
|
|
57
|
-
},
|
|
58
20
|
".": {
|
|
21
|
+
"sass": "./_index.scss",
|
|
59
22
|
"types": "./dereekb-dbx-form.d.ts",
|
|
60
23
|
"esm2020": "./esm2020/dereekb-dbx-form.mjs",
|
|
61
24
|
"es2020": "./fesm2020/dereekb-dbx-form.mjs",
|
|
62
25
|
"es2015": "./fesm2015/dereekb-dbx-form.mjs",
|
|
63
26
|
"node": "./fesm2015/dereekb-dbx-form.mjs",
|
|
64
27
|
"default": "./fesm2020/dereekb-dbx-form.mjs"
|
|
28
|
+
},
|
|
29
|
+
"./package.json": {
|
|
30
|
+
"default": "./package.json"
|
|
65
31
|
}
|
|
66
32
|
},
|
|
33
|
+
"module": "fesm2015/dereekb-dbx-form.mjs",
|
|
34
|
+
"es2020": "fesm2020/dereekb-dbx-form.mjs",
|
|
35
|
+
"esm2020": "esm2020/dereekb-dbx-form.mjs",
|
|
36
|
+
"fesm2020": "fesm2020/dereekb-dbx-form.mjs",
|
|
37
|
+
"fesm2015": "fesm2015/dereekb-dbx-form.mjs",
|
|
38
|
+
"typings": "dereekb-dbx-form.d.ts",
|
|
67
39
|
"sideEffects": false
|
|
68
40
|
}
|
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
$dbx-form-container-margin: 10px;
|
|
2
|
-
|
|
3
|
-
.dbx-formly {
|
|
4
|
-
margin: $dbx-form-container-margin 0;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.dbx-form-spacer {
|
|
8
|
-
margin-top: 24px;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
// OLD. Remove
|
|
12
|
-
$form-submit-view-margin: 8px;
|
|
13
|
-
$material-form-margin: 16px;
|
|
14
|
-
|
|
15
|
-
// MARK: Form Container
|
|
16
|
-
.dbx-form-container {
|
|
17
|
-
margin: $dbx-form-container-margin 0;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
// .dbx-form-container-form-view {}
|
|
21
|
-
|
|
22
|
-
// MARK: Form View
|
|
23
|
-
.dbx-form-view-padded {
|
|
24
|
-
padding: 0 $material-form-margin;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.required-text {
|
|
28
|
-
content: "*";
|
|
29
|
-
color: red;
|
|
30
|
-
// color: mat-color($tallynote-dbx-warn);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.dbx-form-view {
|
|
34
|
-
// margin-bottom: $material-form-margin;
|
|
35
|
-
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.dbx-form-view-tools {
|
|
39
|
-
text-align: right;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.dbx-form-view-control {
|
|
43
|
-
width: 100%;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
// .dbx-form-view-sub-form {}
|
|
47
|
-
|
|
48
|
-
.mat-input-element {
|
|
49
|
-
margin: 0; // Safari Fix
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.mat-form-field {
|
|
53
|
-
margin: 8px 0px 16px;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.mat-input-placeholder {
|
|
57
|
-
text-transform: capitalize;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.required {
|
|
61
|
-
|
|
62
|
-
.mat-checkbox-label::after,
|
|
63
|
-
.mat-input-placeholder::after {
|
|
64
|
-
@extend .required-text;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.capitalized-field {
|
|
69
|
-
.mat-input-element {
|
|
70
|
-
text-transform: capitalize;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.dbx-form-view-checkbox-control {
|
|
75
|
-
margin: 12px 0;
|
|
76
|
-
padding-left: 15px;
|
|
77
|
-
|
|
78
|
-
.mat-checkbox-label {
|
|
79
|
-
text-transform: capitalize;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.form-select-align {
|
|
84
|
-
padding-top: 24px;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.form-anti-padding {
|
|
88
|
-
margin-top: -20px;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.warning {
|
|
92
|
-
color: red;
|
|
93
|
-
// color: mat-color($tallynote-dbx-warn);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.dbx-form-view-help {
|
|
97
|
-
font-size: 75%;
|
|
98
|
-
color: grey;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.dbx-form-view-hint {
|
|
102
|
-
font-size: 75%;
|
|
103
|
-
margin-top: 3px;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
// MARK: Tabs
|
|
107
|
-
.mat-tab-header {
|
|
108
|
-
margin-bottom: $material-form-margin;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.dbx-form-view-tab-page {
|
|
112
|
-
padding: 12px 0;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
// MARK: Input
|
|
116
|
-
.mat-form-field {
|
|
117
|
-
|
|
118
|
-
.form-suffix-button {
|
|
119
|
-
width: 1.8em;
|
|
120
|
-
height: 1.8em;
|
|
121
|
-
margin-top: -0.6em;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
// MARK: Controls
|
|
127
|
-
.select-form-control {
|
|
128
|
-
width: 100%;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.form-suffix-button {
|
|
132
|
-
.mat-icon-button {
|
|
133
|
-
width: 2em;
|
|
134
|
-
height: 2em;
|
|
135
|
-
|
|
136
|
-
.mat-icon {
|
|
137
|
-
width: 1.8em;
|
|
138
|
-
height: 1.8em;
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
.date-form-control {
|
|
144
|
-
|
|
145
|
-
.mat-datepicker-toggle {
|
|
146
|
-
|
|
147
|
-
.mat-icon-button {
|
|
148
|
-
height: 2em;
|
|
149
|
-
width: 2em;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
}
|
|
153
|
-
}
|