@dereekb/dbx-form 10.1.18 → 10.1.19
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/lib/form/form.mjs +9 -1
- package/esm2022/lib/formly/field/value/date/datetime.field.component.mjs +14 -20
- package/esm2022/lib/formly/formly.form.component.mjs +12 -13
- package/fesm2022/dereekb-dbx-form.mjs +32 -31
- package/fesm2022/dereekb-dbx-form.mjs.map +1 -1
- package/lib/form/form.d.ts +2 -1
- package/lib/formly/field/value/date/_date.scss +1 -0
- package/mapbox/package.json +1 -1
- package/package.json +1 -1
package/lib/form/form.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { Provider, Type } from '@angular/core';
|
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { LockSet } from '@dereekb/rxjs';
|
|
4
4
|
import { BooleanStringKeyArray, Maybe } from '@dereekb/util';
|
|
5
|
-
import { FormControlStatus } from '@angular/forms';
|
|
5
|
+
import { AbstractControl, FormControlStatus } from '@angular/forms';
|
|
6
6
|
/**
|
|
7
7
|
* Current state of a DbxForm
|
|
8
8
|
*/
|
|
@@ -89,3 +89,4 @@ export declare abstract class DbxMutableForm<T = unknown> extends DbxForm<T> {
|
|
|
89
89
|
}
|
|
90
90
|
export declare function provideDbxForm<S extends DbxForm>(sourceType: Type<S>): Provider[];
|
|
91
91
|
export declare function provideDbxMutableForm<S extends DbxMutableForm>(sourceType: Type<S>): Provider[];
|
|
92
|
+
export declare function toggleDisableFormControl(form: AbstractControl<any>, isDisabled: boolean, config?: Parameters<AbstractControl['disable']>[0]): void;
|
|
@@ -56,6 +56,7 @@ $dbx-datetime-row-width: 40px + ($dbx-datetime-button-spacing * 2); // times 2 f
|
|
|
56
56
|
display: flex;
|
|
57
57
|
justify-content: center;
|
|
58
58
|
align-items: center;
|
|
59
|
+
min-width: 220px;
|
|
59
60
|
|
|
60
61
|
.mat-mdc-form-field-subscript-wrapper {
|
|
61
62
|
// hide the subscript wrapper since it is not used here
|
package/mapbox/package.json
CHANGED