@dereekb/dbx-form 10.2.0 → 11.0.1

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.
Files changed (144) hide show
  1. package/calendar/lib/calendar.schedule.selection.cell.component.d.ts +0 -1
  2. package/calendar/lib/calendar.schedule.selection.component.d.ts +1 -2
  3. package/calendar/lib/calendar.schedule.selection.days.component.d.ts +1 -2
  4. package/calendar/lib/calendar.schedule.selection.dialog.button.component.d.ts +1 -2
  5. package/calendar/lib/calendar.schedule.selection.popover.button.component.d.ts +1 -2
  6. package/calendar/lib/calendar.schedule.selection.range.component.d.ts +2 -3
  7. package/calendar/lib/calendar.schedule.selection.store.provide.d.ts +1 -2
  8. package/calendar/lib/calendar.schedule.selection.toggle.button.component.d.ts +0 -1
  9. package/calendar/lib/field/schedule/calendar.schedule.field.component.d.ts +2 -3
  10. package/esm2022/calendar/lib/calendar.module.mjs +6 -6
  11. package/esm2022/calendar/lib/calendar.schedule.selection.cell.component.mjs +10 -13
  12. package/esm2022/calendar/lib/calendar.schedule.selection.component.mjs +49 -52
  13. package/esm2022/calendar/lib/calendar.schedule.selection.days.component.mjs +23 -27
  14. package/esm2022/calendar/lib/calendar.schedule.selection.days.form.component.mjs +5 -8
  15. package/esm2022/calendar/lib/calendar.schedule.selection.dialog.button.component.mjs +12 -13
  16. package/esm2022/calendar/lib/calendar.schedule.selection.dialog.component.mjs +4 -4
  17. package/esm2022/calendar/lib/calendar.schedule.selection.popover.button.component.mjs +22 -24
  18. package/esm2022/calendar/lib/calendar.schedule.selection.popover.component.mjs +4 -4
  19. package/esm2022/calendar/lib/calendar.schedule.selection.popover.content.component.mjs +4 -4
  20. package/esm2022/calendar/lib/calendar.schedule.selection.range.component.mjs +81 -86
  21. package/esm2022/calendar/lib/calendar.schedule.selection.store.mjs +123 -123
  22. package/esm2022/calendar/lib/calendar.schedule.selection.store.provide.mjs +8 -13
  23. package/esm2022/calendar/lib/calendar.schedule.selection.toggle.button.component.mjs +39 -42
  24. package/esm2022/calendar/lib/field/schedule/calendar.schedule.field.component.mjs +24 -31
  25. package/esm2022/calendar/lib/field/schedule/calendar.schedule.module.mjs +6 -6
  26. package/esm2022/lib/form/action/form.action.directive.mjs +29 -20
  27. package/esm2022/lib/form/action/form.action.module.mjs +4 -4
  28. package/esm2022/lib/form/action/transition/form.action.transition.module.mjs +4 -4
  29. package/esm2022/lib/form/action/transition/form.action.transition.safety.directive.mjs +7 -18
  30. package/esm2022/lib/form/form.module.mjs +4 -4
  31. package/esm2022/lib/form/io/form.changes.directive.mjs +7 -13
  32. package/esm2022/lib/form/io/form.input.directive.mjs +7 -13
  33. package/esm2022/lib/form/io/form.io.module.mjs +4 -4
  34. package/esm2022/lib/form/io/form.loading.directive.mjs +9 -15
  35. package/esm2022/lib/form.module.mjs +4 -4
  36. package/esm2022/lib/formly/field/checklist/checklist.field.mjs +4 -4
  37. package/esm2022/lib/formly/field/checklist/checklist.item.field.component.mjs +23 -31
  38. package/esm2022/lib/formly/field/checklist/checklist.item.field.content.default.component.mjs +5 -4
  39. package/esm2022/lib/formly/field/checklist/checklist.item.field.module.mjs +6 -6
  40. package/esm2022/lib/formly/field/component/component.field.component.mjs +4 -4
  41. package/esm2022/lib/formly/field/component/component.field.module.mjs +6 -6
  42. package/esm2022/lib/formly/field/form.field.module.mjs +4 -4
  43. package/esm2022/lib/formly/field/selection/list/list.field.component.mjs +33 -36
  44. package/esm2022/lib/formly/field/selection/list/list.field.module.mjs +6 -6
  45. package/esm2022/lib/formly/field/selection/pickable/pickable.chip.field.component.mjs +3 -3
  46. package/esm2022/lib/formly/field/selection/pickable/pickable.field.directive.mjs +72 -74
  47. package/esm2022/lib/formly/field/selection/pickable/pickable.field.module.mjs +6 -6
  48. package/esm2022/lib/formly/field/selection/pickable/pickable.list.field.component.mjs +21 -24
  49. package/esm2022/lib/formly/field/selection/searchable/searchable.chip.field.component.mjs +6 -9
  50. package/esm2022/lib/formly/field/selection/searchable/searchable.field.autocomplete.item.component.mjs +27 -34
  51. package/esm2022/lib/formly/field/selection/searchable/searchable.field.directive.mjs +32 -30
  52. package/esm2022/lib/formly/field/selection/searchable/searchable.field.module.mjs +6 -6
  53. package/esm2022/lib/formly/field/selection/searchable/searchable.text.field.component.mjs +8 -11
  54. package/esm2022/lib/formly/field/selection/selection.module.mjs +4 -4
  55. package/esm2022/lib/formly/field/selection/sourceselect/sourceselect.field.component.mjs +143 -145
  56. package/esm2022/lib/formly/field/selection/sourceselect/sourceselect.field.module.mjs +6 -6
  57. package/esm2022/lib/formly/field/texteditor/texteditor.field.component.mjs +19 -24
  58. package/esm2022/lib/formly/field/texteditor/texteditor.field.module.mjs +6 -6
  59. package/esm2022/lib/formly/field/value/array/array.field.component.mjs +22 -25
  60. package/esm2022/lib/formly/field/value/array/array.field.module.mjs +6 -6
  61. package/esm2022/lib/formly/field/value/boolean/boolean.field.module.mjs +4 -4
  62. package/esm2022/lib/formly/field/value/date/date.field.module.mjs +6 -6
  63. package/esm2022/lib/formly/field/value/date/datetime.field.component.mjs +233 -236
  64. package/esm2022/lib/formly/field/value/date/datetime.field.service.mjs +7 -15
  65. package/esm2022/lib/formly/field/value/date/fixeddaterange.field.component.mjs +97 -101
  66. package/esm2022/lib/formly/field/value/number/number.field.module.mjs +4 -4
  67. package/esm2022/lib/formly/field/value/phone/phone.field.component.mjs +15 -18
  68. package/esm2022/lib/formly/field/value/phone/phone.field.module.mjs +6 -6
  69. package/esm2022/lib/formly/field/value/text/text.field.module.mjs +4 -4
  70. package/esm2022/lib/formly/field/value/value.module.mjs +4 -4
  71. package/esm2022/lib/formly/field/wrapper/autotouch.wrapper.component.mjs +4 -4
  72. package/esm2022/lib/formly/field/wrapper/expand.wrapper.component.mjs +39 -0
  73. package/esm2022/lib/formly/field/wrapper/expand.wrapper.delegate.mjs +55 -0
  74. package/esm2022/lib/formly/field/wrapper/flex.wrapper.component.mjs +4 -4
  75. package/esm2022/lib/formly/field/wrapper/form.wrapper.module.mjs +10 -10
  76. package/esm2022/lib/formly/field/wrapper/index.mjs +3 -3
  77. package/esm2022/lib/formly/field/wrapper/info.wrapper.component.mjs +4 -4
  78. package/esm2022/lib/formly/field/wrapper/section.wrapper.component.mjs +4 -4
  79. package/esm2022/lib/formly/field/wrapper/style.wrapper.component.mjs +8 -11
  80. package/esm2022/lib/formly/field/wrapper/subsection.wrapper.component.mjs +4 -4
  81. package/esm2022/lib/formly/field/wrapper/toggle.wrapper.component.mjs +15 -18
  82. package/esm2022/lib/formly/field/wrapper/working.wrapper.component.mjs +6 -9
  83. package/esm2022/lib/formly/field/wrapper/wrapper.key.mjs +2 -3
  84. package/esm2022/lib/formly/field/wrapper/wrapper.mjs +3 -3
  85. package/esm2022/lib/formly/form/form.form.module.mjs +4 -4
  86. package/esm2022/lib/formly/form/search.form.component.mjs +6 -9
  87. package/esm2022/lib/formly/formly.context.directive.mjs +5 -8
  88. package/esm2022/lib/formly/formly.context.mjs +10 -12
  89. package/esm2022/lib/formly/formly.directive.mjs +16 -25
  90. package/esm2022/lib/formly/formly.form.component.mjs +73 -77
  91. package/esm2022/lib/formly/formly.module.mjs +6 -6
  92. package/esm2022/lib/layout/form.layout.module.mjs +4 -4
  93. package/esm2022/lib/layout/form.spacer.component.mjs +4 -4
  94. package/esm2022/mapbox/lib/field/latlng/latlng.field.component.mjs +48 -57
  95. package/esm2022/mapbox/lib/field/latlng/latlng.field.marker.component.mjs +17 -20
  96. package/esm2022/mapbox/lib/field/latlng/latlng.module.mjs +6 -6
  97. package/esm2022/mapbox/lib/field/zoom/zoom.field.component.mjs +26 -32
  98. package/esm2022/mapbox/lib/field/zoom/zoom.module.mjs +6 -6
  99. package/esm2022/mapbox/lib/mapbox.module.mjs +4 -4
  100. package/fesm2022/dereekb-dbx-form-calendar.mjs +383 -407
  101. package/fesm2022/dereekb-dbx-form-calendar.mjs.map +1 -1
  102. package/fesm2022/dereekb-dbx-form-mapbox.mjs +96 -111
  103. package/fesm2022/dereekb-dbx-form-mapbox.mjs.map +1 -1
  104. package/fesm2022/dereekb-dbx-form.mjs +1071 -1163
  105. package/fesm2022/dereekb-dbx-form.mjs.map +1 -1
  106. package/lib/form/action/form.action.directive.d.ts +3 -3
  107. package/lib/form/action/transition/form.action.transition.safety.directive.d.ts +3 -7
  108. package/lib/form/io/form.changes.directive.d.ts +2 -3
  109. package/lib/form/io/form.input.directive.d.ts +3 -4
  110. package/lib/form/io/form.loading.directive.d.ts +3 -4
  111. package/lib/formly/field/checklist/checklist.field.d.ts +0 -1
  112. package/lib/formly/field/checklist/checklist.item.field.component.d.ts +4 -6
  113. package/lib/formly/field/selection/pickable/pickable.list.field.component.d.ts +0 -1
  114. package/lib/formly/field/selection/searchable/searchable.field.autocomplete.item.component.d.ts +1 -2
  115. package/lib/formly/field/selection/searchable/searchable.field.directive.d.ts +0 -1
  116. package/lib/formly/field/selection/sourceselect/sourceselect.field.component.d.ts +2 -2
  117. package/lib/formly/field/texteditor/texteditor.field.component.d.ts +2 -4
  118. package/lib/formly/field/value/date/datetime.field.component.d.ts +1 -3
  119. package/lib/formly/field/value/date/datetime.field.service.d.ts +1 -4
  120. package/lib/formly/field/value/date/fixeddaterange.field.component.d.ts +2 -6
  121. package/lib/formly/field/wrapper/{expandable.wrapper.component.d.ts → expand.wrapper.component.d.ts} +4 -4
  122. package/lib/formly/field/wrapper/{expandable.wrapper.delegate.d.ts → expand.wrapper.delegate.d.ts} +7 -7
  123. package/lib/formly/field/wrapper/form.wrapper.module.d.ts +1 -1
  124. package/lib/formly/field/wrapper/index.d.ts +2 -2
  125. package/lib/formly/field/wrapper/toggle.wrapper.component.d.ts +4 -4
  126. package/lib/formly/field/wrapper/wrapper.d.ts +1 -1
  127. package/lib/formly/field/wrapper/wrapper.key.d.ts +1 -1
  128. package/lib/formly/formly.directive.d.ts +0 -1
  129. package/lib/formly/formly.form.component.d.ts +2 -3
  130. package/mapbox/esm2022/lib/field/latlng/latlng.field.component.mjs +48 -57
  131. package/mapbox/esm2022/lib/field/latlng/latlng.field.marker.component.mjs +17 -20
  132. package/mapbox/esm2022/lib/field/latlng/latlng.module.mjs +6 -6
  133. package/mapbox/esm2022/lib/field/zoom/zoom.field.component.mjs +26 -32
  134. package/mapbox/esm2022/lib/field/zoom/zoom.module.mjs +6 -6
  135. package/mapbox/esm2022/lib/mapbox.module.mjs +4 -4
  136. package/mapbox/fesm2022/dereekb-dbx-form-mapbox.mjs +96 -111
  137. package/mapbox/fesm2022/dereekb-dbx-form-mapbox.mjs.map +1 -1
  138. package/mapbox/lib/field/latlng/latlng.field.component.d.ts +4 -6
  139. package/mapbox/lib/field/latlng/latlng.field.marker.component.d.ts +1 -2
  140. package/mapbox/lib/field/zoom/zoom.field.component.d.ts +2 -3
  141. package/mapbox/package.json +1 -1
  142. package/package.json +1 -1
  143. package/esm2022/lib/formly/field/wrapper/expandable.wrapper.component.mjs +0 -39
  144. package/esm2022/lib/formly/field/wrapper/expandable.wrapper.delegate.mjs +0 -58
@@ -15,7 +15,7 @@ export type DbxActionFormMapValueFunction<T, O> = MapFunction<T, ObservableOrVal
15
15
  * If the source is not considered modified, the trigger will be ignored.
16
16
  */
17
17
  export declare class DbxActionFormDirective<T = object, O = T> implements OnInit, OnDestroy {
18
- readonly form: DbxMutableForm<T>;
18
+ readonly form: DbxMutableForm<any>;
19
19
  readonly source: DbxActionContextStoreSourceInstance<O, unknown>;
20
20
  readonly lockSet: LockSet;
21
21
  /**
@@ -35,13 +35,13 @@ export declare class DbxActionFormDirective<T = object, O = T> implements OnInit
35
35
  private _triggeredSub;
36
36
  private _isCompleteSub;
37
37
  private _isWorkingSub;
38
- constructor(form: DbxMutableForm<T>, source: DbxActionContextStoreSourceInstance<O, unknown>);
38
+ constructor();
39
39
  get formDisabledOnWorking(): boolean;
40
40
  set formDisabledOnWorking(formDisabledOnWorking: boolean);
41
41
  ngOnInit(): void;
42
42
  ngOnDestroy(): void;
43
43
  protected preCheckReadyValue(value: T): Observable<boolean>;
44
44
  protected readyValue(value: T): Observable<DbxActionValueOnTriggerResult<O>>;
45
- static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionFormDirective<any, any>, [{ host: true; }, null]>;
45
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionFormDirective<any, any>, never>;
46
46
  static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionFormDirective<any, any>, "[dbxActionForm]", never, { "dbxActionFormValidator": { "alias": "dbxActionFormValidator"; "required": false; }; "dbxActionFormModified": { "alias": "dbxActionFormModified"; "required": false; }; "dbxActionFormMapValue": { "alias": "dbxActionFormMapValue"; "required": false; }; "formDisabledOnWorking": { "alias": "formDisabledOnWorking"; "required": false; }; }, {}, never, never, false, never>;
47
47
  }
@@ -1,7 +1,4 @@
1
- import { ViewContainerRef } from '@angular/core';
2
- import { MatDialog } from '@angular/material/dialog';
3
- import { HookResult, Transition, TransitionService } from '@uirouter/core';
4
- import { DbxActionContextStoreSourceInstance } from '@dereekb/dbx-core';
1
+ import { HookResult, Transition } from '@uirouter/core';
5
2
  import { DbxActionTransitionSafetyType, DbxActionTransitionSafetyDirective } from '@dereekb/dbx-web';
6
3
  import { DbxActionFormDirective } from '../form.action.directive';
7
4
  import * as i0 from "@angular/core";
@@ -11,10 +8,9 @@ import * as i0 from "@angular/core";
11
8
  * NOTE: Only works with UIRouter
12
9
  */
13
10
  export declare class DbxActionFormSafetyDirective<T, O> extends DbxActionTransitionSafetyDirective<T, O> {
14
- readonly dbxActionForm: DbxActionFormDirective<T>;
11
+ readonly dbxActionForm: DbxActionFormDirective<T, T>;
15
12
  inputSafetyType?: DbxActionTransitionSafetyType;
16
- constructor(dbxActionForm: DbxActionFormDirective<T>, source: DbxActionContextStoreSourceInstance<T, O>, transitionService: TransitionService, viewContainerRef: ViewContainerRef, dialog: MatDialog);
17
13
  protected _handleOnBeforeTransition(transition: Transition): HookResult;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionFormSafetyDirective<any, any>, [{ host: true; }, null, null, null, null]>;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionFormSafetyDirective<any, any>, never>;
19
15
  static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionFormSafetyDirective<any, any>, "[dbxActionFormSafety]", never, { "inputSafetyType": { "alias": "dbxActionFormSafety"; "required": false; }; }, {}, never, never, false, never>;
20
16
  }
@@ -9,11 +9,10 @@ import * as i0 from "@angular/core";
9
9
  * Emits undefined when the form is incomplete, and the value when the form is complete.
10
10
  */
11
11
  export declare class DbxFormValueChangesDirective<T> extends AbstractSubscriptionDirective implements OnInit, OnDestroy {
12
- readonly form: DbxForm<T>;
12
+ readonly form: DbxForm<any>;
13
13
  readonly dbxFormValueChange: EventEmitter<Maybe<T>>;
14
- constructor(form: DbxForm<T>);
15
14
  ngOnInit(): void;
16
15
  ngOnDestroy(): void;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormValueChangesDirective<any>, [{ host: true; }]>;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormValueChangesDirective<any>, never>;
18
17
  static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFormValueChangesDirective<any>, "[dbxFormValueChange]", never, {}, { "dbxFormValueChange": "dbxFormValueChange"; }, never, never, false, never>;
19
18
  }
@@ -19,14 +19,13 @@ export type DbxFormSourceDirectiveMode = 'reset' | 'always' | 'every';
19
19
  * Used with a FormComponent to set the value based on the input value.
20
20
  */
21
21
  export declare class DbxFormSourceDirective<T> extends AbstractSubscriptionDirective implements OnDestroy {
22
- readonly form: DbxMutableForm<T>;
23
- private _mode;
24
- constructor(form: DbxMutableForm<T>);
22
+ readonly form: DbxMutableForm<any>;
23
+ private readonly _mode;
25
24
  get mode(): DbxFormSourceDirectiveMode;
26
25
  set mode(mode: DbxFormSourceDirectiveMode);
27
26
  set obs(obs: Maybe<ObservableOrValue<Maybe<Partial<T>>>>);
28
27
  private setObs;
29
28
  ngOnDestroy(): void;
30
- static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormSourceDirective<any>, [{ host: true; }]>;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormSourceDirective<any>, never>;
31
30
  static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFormSourceDirective<any>, "[dbxFormSource]", never, { "mode": { "alias": "dbxFormSourceMode"; "required": false; }; "obs": { "alias": "dbxFormSource"; "required": false; }; }, {}, never, never, false, never>;
32
31
  }
@@ -9,9 +9,8 @@ import * as i0 from "@angular/core";
9
9
  * Used with a FormComponent to set the value from a LoadingState when the value is available.
10
10
  */
11
11
  export declare class DbxFormLoadingSourceDirective<T extends object = object> extends AbstractSubscriptionDirective implements OnDestroy {
12
- readonly form: DbxMutableForm<T>;
13
- private _mode;
14
- constructor(form: DbxMutableForm<T>);
12
+ readonly form: DbxMutableForm<any>;
13
+ private readonly _mode;
15
14
  get mode(): DbxFormSourceDirectiveMode;
16
15
  set mode(mode: DbxFormSourceDirectiveMode);
17
16
  /**
@@ -20,6 +19,6 @@ export declare class DbxFormLoadingSourceDirective<T extends object = object> ex
20
19
  set obs(obs: Observable<LoadingState<T>>);
21
20
  private _setObs;
22
21
  ngOnDestroy(): void;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormLoadingSourceDirective<any>, [{ host: true; }]>;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormLoadingSourceDirective<any>, never>;
24
23
  static ɵdir: i0.ɵɵDirectiveDeclaration<DbxFormLoadingSourceDirective<any>, "[dbxFormLoadingSource]", never, { "mode": { "alias": "dbxFormLoadingSourceMode"; "required": false; }; "obs": { "alias": "dbxFormLoadingSource"; "required": false; }; }, {}, never, never, false, never>;
25
24
  }
@@ -23,7 +23,6 @@ export interface ChecklistItemFieldDataSetItem<D, T extends ChecklistType<D>> {
23
23
  * Used for building a set of configurations for a data-type object that has as second object that is used as a checklist.
24
24
  */
25
25
  export declare class ChecklistItemFieldDataSetBuilder<D extends object, C extends ChecklistType<D> = ChecklistType<D>> {
26
- readonly dataObs: Observable<D>;
27
26
  private _fields;
28
27
  readonly dataObs$: Observable<D>;
29
28
  constructor(dataObs: Observable<D>);
@@ -16,7 +16,7 @@ export interface DbxChecklistItemFieldProps<T = unknown> extends FormlyFieldProp
16
16
  componentClass?: Type<ChecklistItemFieldDisplayComponent<T>>;
17
17
  }
18
18
  export declare class DbxChecklistItemFieldComponent<T = unknown> extends FieldType<FieldTypeConfig<DbxChecklistItemFieldProps<T>>> implements OnInit, OnDestroy {
19
- private _displayContent;
19
+ private readonly _displayContent;
20
20
  readonly displayContent$: import("rxjs").Observable<import("./checklist.item").ChecklistItemDisplayContent<T>>;
21
21
  readonly anchor$: import("rxjs").Observable<Maybe<import("@dereekb/dbx-core").ClickableAnchor>>;
22
22
  readonly rippleDisabled$: import("rxjs").Observable<boolean>;
@@ -33,12 +33,10 @@ export declare class DbxChecklistItemFieldComponent<T = unknown> extends FieldTy
33
33
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxChecklistItemFieldComponent<any>, never>;
34
34
  static ɵcmp: i0.ɵɵComponentDeclaration<DbxChecklistItemFieldComponent<any>, "ng-component", never, {}, {}, never, never, false, never>;
35
35
  }
36
- export declare class DbxChecklistItemContentComponent<T = unknown> extends AbstractSubscriptionDirective implements OnInit {
37
- readonly checklistItemFieldComponent: DbxChecklistItemFieldComponent<T>;
36
+ export declare class DbxChecklistItemContentComponent<T = unknown> extends AbstractSubscriptionDirective {
38
37
  readonly cdRef: ChangeDetectorRef;
39
- config?: DbxInjectionComponentConfig<ChecklistItemFieldDisplayComponent<T>>;
40
- constructor(checklistItemFieldComponent: DbxChecklistItemFieldComponent<T>, cdRef: ChangeDetectorRef);
41
- ngOnInit(): void;
38
+ readonly checklistItemFieldComponent: DbxChecklistItemFieldComponent<T>;
39
+ readonly config: DbxInjectionComponentConfig<ChecklistItemFieldDisplayComponent<T>>;
42
40
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxChecklistItemContentComponent<any>, never>;
43
41
  static ɵcmp: i0.ɵɵComponentDeclaration<DbxChecklistItemContentComponent<any>, "dbx-checklist-item-content-component", never, {}, {}, never, never, false, never>;
44
42
  }
@@ -26,7 +26,6 @@ export declare class DbxPickableListFieldItemListViewComponent<T> extends Abstra
26
26
  get multiple(): boolean;
27
27
  get selectionMode(): Maybe<DbxListSelectionMode>;
28
28
  readonly items$: import("rxjs").Observable<any[]>;
29
- constructor(dbxPickableListFieldComponent: DbxPickableListFieldComponent<T>);
30
29
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxPickableListFieldItemListViewComponent<any>, never>;
31
30
  static ɵcmp: i0.ɵɵComponentDeclaration<DbxPickableListFieldItemListViewComponent<any>, "ng-component", never, {}, {}, never, never, false, never>;
32
31
  }
@@ -15,8 +15,7 @@ export declare class DbxSearchableFieldAutocompleteItemComponent<T> implements O
15
15
  static ɵcmp: i0.ɵɵComponentDeclaration<DbxSearchableFieldAutocompleteItemComponent<any>, "dbx-searchable-field-autocomplete-item", never, { "displayValue": { "alias": "displayValue"; "required": false; }; }, {}, never, never, false, never>;
16
16
  }
17
17
  export declare abstract class AbstractDbxSearchableFieldDisplayDirective<T> {
18
- readonly displayValue: ConfiguredSearchableValueFieldDisplayValue<T>;
19
- constructor(displayValue: ConfiguredSearchableValueFieldDisplayValue<T>);
18
+ readonly displayValue: ConfiguredSearchableValueFieldDisplayValue<T, unknown>;
20
19
  static ɵfac: i0.ɵɵFactoryDeclaration<AbstractDbxSearchableFieldDisplayDirective<any>, never>;
21
20
  static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractDbxSearchableFieldDisplayDirective<any>, never, never, {}, {}, never, never, false, never>;
22
21
  }
@@ -135,7 +135,6 @@ export declare abstract class AbstractDbxSearchableValueFieldDirective<T, M = un
135
135
  loadDisplayValuesForValues(values: T[]): Observable<LoadingState<ConfiguredSearchableValueFieldDisplayValue<T, M>[]>>;
136
136
  loadDisplayValuesForFieldValues(values: SearchableValueFieldValue<T, M>[]): Observable<LoadingState<ConfiguredSearchableValueFieldDisplayValue<T, M>[]>>;
137
137
  getDisplayValuesForFieldValues(values: SearchableValueFieldValue<T, M>[]): Observable<ConfiguredSearchableValueFieldDisplayValue<T, M>[]>;
138
- constructor(cdRef: ChangeDetectorRef);
139
138
  ngOnInit(): void;
140
139
  ngOnDestroy(): void;
141
140
  /**
@@ -1,4 +1,4 @@
1
- import { LoadingState, LoadingStateWithMaybeSoValue, WorkUsingContext } from '@dereekb/rxjs';
1
+ import { LoadingState, LoadingStateWithDefinedValue, WorkUsingContext } from '@dereekb/rxjs';
2
2
  import { ElementRef, OnDestroy, OnInit } from '@angular/core';
3
3
  import { Observable } from 'rxjs';
4
4
  import { PrimativeKey } from '@dereekb/util';
@@ -60,7 +60,7 @@ export declare class DbxFormSourceSelectFieldComponent<T extends PrimativeKey =
60
60
  readonly sourceSelectValuesFromValuesState$: Observable<LoadingState<SourceSelectValue<T, M>[]>>;
61
61
  readonly loadSources$: Observable<LoadingState<SourceSelectValueGroup<T, M>[]>>;
62
62
  readonly fromOpenSource$: Observable<SourceSelectValueGroup<T, M>>;
63
- readonly valueGroupsFromSourcesState$: Observable<LoadingStateWithMaybeSoValue<SourceSelectValueGroup<T, M>[]>>;
63
+ readonly valueGroupsFromSourcesState$: Observable<LoadingStateWithDefinedValue<SourceSelectValueGroup<T, M>[]>>;
64
64
  readonly allValueGroupsState$: Observable<LoadingState<SourceSelectValueGroup<T, M>[]>>;
65
65
  readonly allOptionGroupsState$: Observable<LoadingState<SourceSelectDisplayValueGroup<T, M>[]>>;
66
66
  readonly allOptionGroups$: Observable<SourceSelectDisplayValueGroup<T, M>[]>;
@@ -1,5 +1,4 @@
1
1
  import { FormGroup } from '@angular/forms';
2
- import { CompactContextStore } from '@dereekb/dbx-web';
3
2
  import { OnDestroy, OnInit } from '@angular/core';
4
3
  import { FieldTypeConfig, FormlyFieldProps } from '@ngx-formly/core';
5
4
  import { FieldType } from '@ngx-formly/material';
@@ -8,11 +7,10 @@ import { Maybe } from '@dereekb/util';
8
7
  import * as i0 from "@angular/core";
9
8
  export type TextEditorComponentFieldProps = FormlyFieldProps;
10
9
  export declare class DbxTextEditorFieldComponent<T extends TextEditorComponentFieldProps = TextEditorComponentFieldProps> extends FieldType<FieldTypeConfig<T>> implements OnInit, OnDestroy {
11
- readonly compact: CompactContextStore;
10
+ private readonly _compactContextStore;
12
11
  private _editor?;
13
12
  private _sub;
14
13
  readonly compactClass$: import("rxjs").Observable<Maybe<string>>;
15
- constructor(compact: CompactContextStore);
16
14
  get formGroupName(): string;
17
15
  get formGroup(): FormGroup;
18
16
  get editor(): Editor;
@@ -20,6 +18,6 @@ export declare class DbxTextEditorFieldComponent<T extends TextEditorComponentFi
20
18
  get description(): Maybe<string>;
21
19
  ngOnInit(): void;
22
20
  ngOnDestroy(): void;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<DbxTextEditorFieldComponent<any>, [{ optional: true; }]>;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxTextEditorFieldComponent<any>, never>;
24
22
  static ɵcmp: i0.ɵɵComponentDeclaration<DbxTextEditorFieldComponent<any>, "ng-component", never, {}, {}, never, never, false, never>;
25
23
  }
@@ -1,14 +1,13 @@
1
1
  import { type Maybe, type ReadableTimeString, type ArrayOrValue, type ISO8601DateString, type DecisionFunction, type Milliseconds, type TimezoneString, type LogicalDate, type DateOrDayString, type MapFunction } from '@dereekb/util';
2
2
  import { DateTimeMinuteConfig, DateTimeMinuteInstance, DateTimezoneUtcNormalInstance } from '@dereekb/date';
3
3
  import { Observable } from 'rxjs';
4
- import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
4
+ import { OnDestroy, OnInit } from '@angular/core';
5
5
  import { AbstractControl, FormControl } from '@angular/forms';
6
6
  import { FieldType } from '@ngx-formly/material';
7
7
  import { FieldTypeConfig, FormlyFieldProps } from '@ngx-formly/core';
8
8
  import { MatDatepickerInputEvent } from '@angular/material/datepicker';
9
9
  import { ObservableOrValueGetter } from '@dereekb/rxjs';
10
10
  import { DateTimePreset, DateTimePresetConfiguration } from './datetime';
11
- import { DbxDateTimeFieldMenuPresetsService } from './datetime.field.service';
12
11
  import { DbxDateTimeValueMode } from './date.value';
13
12
  import { FormControlPath } from '../../../../form/form.angular.util';
14
13
  import { ErrorStateMatcher } from '@angular/material/core';
@@ -266,7 +265,6 @@ export declare class DbxDateTimeFieldComponent extends FieldType<FieldTypeConfig
266
265
  readonly showDateInput$: Observable<boolean>;
267
266
  readonly currentErrorMessage$: Observable<string | undefined>;
268
267
  readonly hasError$: Observable<boolean>;
269
- constructor(cdRef: ChangeDetectorRef, dbxDateTimeFieldConfigService: DbxDateTimeFieldMenuPresetsService);
270
268
  ngOnInit(): void;
271
269
  ngOnDestroy(): void;
272
270
  selectPreset(preset: DateTimePreset): void;
@@ -1,15 +1,12 @@
1
1
  import { DateTimePresetConfiguration } from './datetime';
2
2
  import { InjectionToken } from '@angular/core';
3
- import { Maybe } from '@dereekb/util';
4
3
  import * as i0 from "@angular/core";
5
4
  export declare const DBX_DATE_TIME_FIELD_MENU_PRESETS_TOKEN: InjectionToken<unknown>;
6
5
  export declare class DbxDateTimeFieldMenuPresetsService {
7
- private readonly initialConfigs;
8
6
  private _configurations;
9
7
  readonly configurations$: import("rxjs").Observable<DateTimePresetConfiguration[]>;
10
8
  get configurations(): DateTimePresetConfiguration[];
11
9
  set configurations(configurations: DateTimePresetConfiguration[]);
12
- constructor(initialConfigs: Maybe<DateTimePresetConfiguration[]>);
13
- static ɵfac: i0.ɵɵFactoryDeclaration<DbxDateTimeFieldMenuPresetsService, [{ optional: true; }]>;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxDateTimeFieldMenuPresetsService, never>;
14
11
  static ɵprov: i0.ɵɵInjectableDeclaration<DbxDateTimeFieldMenuPresetsService>;
15
12
  }
@@ -9,8 +9,6 @@ import { MatDateRangeSelectionStrategy, DateRange as DatePickerDateRange, MatCal
9
9
  import { ObservableOrValueGetter } from '@dereekb/rxjs';
10
10
  import { DbxDateTimeValueMode } from './date.value';
11
11
  import { DateTimePresetConfiguration } from './datetime';
12
- import { DbxDateTimeFieldMenuPresetsService } from './datetime.field.service';
13
- import { DateAdapter } from '@angular/material/core';
14
12
  import * as i0 from "@angular/core";
15
13
  export type DbxFixedDateRangeDateRangeInput = Omit<DateRangeInput, 'date'>;
16
14
  export type DbxFixedDateRangePickerConfiguration = Omit<DateTimeMinuteConfig, 'date'>;
@@ -79,7 +77,7 @@ export interface FixedDateRangeScan {
79
77
  }
80
78
  type SelectedDateEventType = 'calendar' | 'input';
81
79
  export declare class DbxFixedDateRangeFieldComponent extends FieldType<FieldTypeConfig<DbxFixedDateRangeFieldProps>> implements OnInit, OnDestroy {
82
- private readonly dbxDateTimeFieldConfigService;
80
+ private readonly dbxDateTimeFieldMenuPresetsService;
83
81
  private _sub;
84
82
  private _inputRangeFormSub;
85
83
  private _inputRangeFormValueSub;
@@ -140,7 +138,6 @@ export declare class DbxFixedDateRangeFieldComponent extends FieldType<FieldType
140
138
  readonly max$: Observable<Date | null>;
141
139
  readonly pickerFilter$: Observable<DecisionFunction<Date | null>>;
142
140
  readonly defaultPickerFilter: DecisionFunction<Date | null>;
143
- constructor(dbxDateTimeFieldConfigService: DbxDateTimeFieldMenuPresetsService);
144
141
  ngOnInit(): void;
145
142
  ngOnDestroy(): void;
146
143
  selectedChange(date: Maybe<Date>): void;
@@ -150,9 +147,8 @@ export declare class DbxFixedDateRangeFieldComponent extends FieldType<FieldType
150
147
  static ɵcmp: i0.ɵɵComponentDeclaration<DbxFixedDateRangeFieldComponent, "ng-component", never, {}, {}, never, never, false, never>;
151
148
  }
152
149
  export declare class DbxFixedDateRangeFieldSelectionStrategy<D> implements MatDateRangeSelectionStrategy<D> {
153
- private _dateAdapter;
150
+ private readonly _dateAdapter;
154
151
  readonly dbxFixedDateRangeFieldComponent: DbxFixedDateRangeFieldComponent;
155
- constructor(_dateAdapter: DateAdapter<D>, dbxFixedDateRangeFieldComponent: DbxFixedDateRangeFieldComponent);
156
152
  selectionFinished(date: D | null, currentRange: DatePickerDateRange<D>, event: Event): DatePickerDateRange<D>;
157
153
  createPreview(activeDate: D | null, currentRange: DatePickerDateRange<D>, event: Event): DatePickerDateRange<D>;
158
154
  private _createDateRangeWithDate;
@@ -1,13 +1,13 @@
1
- import { AbstractFormExpandableSectionWrapperDirective, AbstractFormExpandableSectionConfig } from './expandable.wrapper.delegate';
1
+ import { AbstractFormExpandSectionWrapperDirective, AbstractFormExpandSectionConfig } from './expand.wrapper.delegate';
2
2
  import * as i0 from "@angular/core";
3
3
  export type DbxFormExpandWrapperButtonType = 'button' | 'text';
4
- export interface DbxFormExpandWrapperConfig<T extends object = object> extends AbstractFormExpandableSectionConfig<T> {
5
- buttonType?: DbxFormExpandWrapperButtonType;
4
+ export interface DbxFormExpandWrapperConfig<T extends object = object> extends AbstractFormExpandSectionConfig<T> {
5
+ readonly buttonType?: DbxFormExpandWrapperButtonType;
6
6
  }
7
7
  /**
8
8
  * Section that is expandable by a button until a value is set, or the button is pressed.
9
9
  */
10
- export declare class DbxFormExpandWrapperComponent<T extends object = object> extends AbstractFormExpandableSectionWrapperDirective<T, DbxFormExpandWrapperConfig<T>> {
10
+ export declare class DbxFormExpandWrapperComponent<T extends object = object> extends AbstractFormExpandSectionWrapperDirective<T, DbxFormExpandWrapperConfig<T>> {
11
11
  get buttonType(): DbxFormExpandWrapperButtonType;
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormExpandWrapperComponent<any>, never>;
13
13
  static ɵcmp: i0.ɵɵComponentDeclaration<DbxFormExpandWrapperComponent<any>, "ng-component", never, {}, {}, never, never, false, never>;
@@ -4,7 +4,7 @@ import { BehaviorSubject } from 'rxjs';
4
4
  import { OnDestroy, OnInit } from '@angular/core';
5
5
  import { AbstractControl } from '@angular/forms';
6
6
  import * as i0 from "@angular/core";
7
- export interface AbstractFormExpandableSectionConfig<T extends object = object> extends Pick<FormlyFieldProps, 'label'> {
7
+ export interface AbstractFormExpandSectionConfig<T extends object = object> extends Pick<FormlyFieldProps, 'label'> {
8
8
  expandLabel?: string;
9
9
  /**
10
10
  * Optional function to use for checking value existence.
@@ -12,18 +12,18 @@ export interface AbstractFormExpandableSectionConfig<T extends object = object>
12
12
  hasValueFn?: (value: T) => boolean;
13
13
  }
14
14
  export declare const DEFAULT_HAS_VALUE_FN: (x: object) => boolean;
15
- export declare class AbstractFormExpandableSectionWrapperDirective<T extends object = object, S extends AbstractFormExpandableSectionConfig<T> = AbstractFormExpandableSectionConfig<T>> extends FieldWrapper<FormlyFieldConfig<S>> implements OnInit, OnDestroy {
16
- protected _formControlObs: BehaviorSubject<Maybe<AbstractControl<any, any>>>;
15
+ export declare class AbstractFormExpandSectionWrapperDirective<T extends object = object, S extends AbstractFormExpandSectionConfig<T> = AbstractFormExpandSectionConfig<T>> extends FieldWrapper<FormlyFieldConfig<S>> implements OnInit, OnDestroy {
16
+ protected readonly _formControlObs: BehaviorSubject<Maybe<AbstractControl<any, any>>>;
17
+ protected readonly _toggleOpen: BehaviorSubject<Maybe<boolean>>;
17
18
  readonly formControl$: import("rxjs").Observable<AbstractControl<any, any>>;
18
- protected _toggleOpen: BehaviorSubject<Maybe<boolean>>;
19
19
  readonly show$: import("rxjs").Observable<boolean>;
20
20
  readonly hasValue$: import("rxjs").Observable<boolean>;
21
- get expandableSection(): S;
21
+ get expandSection(): S;
22
22
  get hasValueFn(): (value: T) => boolean;
23
23
  get expandLabel(): Maybe<string>;
24
24
  open(): void;
25
25
  ngOnInit(): void;
26
26
  ngOnDestroy(): void;
27
- static ɵfac: i0.ɵɵFactoryDeclaration<AbstractFormExpandableSectionWrapperDirective<any, any>, never>;
28
- static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractFormExpandableSectionWrapperDirective<any, any>, never, never, {}, {}, never, never, false, never>;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<AbstractFormExpandSectionWrapperDirective<any, any>, never>;
28
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractFormExpandSectionWrapperDirective<any, any>, never, never, {}, {}, never, never, false, never>;
29
29
  }
@@ -3,7 +3,7 @@ import * as i1 from "./autotouch.wrapper.component";
3
3
  import * as i2 from "./section.wrapper.component";
4
4
  import * as i3 from "./subsection.wrapper.component";
5
5
  import * as i4 from "./info.wrapper.component";
6
- import * as i5 from "./expandable.wrapper.component";
6
+ import * as i5 from "./expand.wrapper.component";
7
7
  import * as i6 from "./toggle.wrapper.component";
8
8
  import * as i7 from "./flex.wrapper.component";
9
9
  import * as i8 from "./style.wrapper.component";
@@ -1,6 +1,6 @@
1
- export * from './expandable.wrapper.delegate';
1
+ export * from './expand.wrapper.delegate';
2
2
  export * from './autotouch.wrapper.component';
3
- export * from './expandable.wrapper.component';
3
+ export * from './expand.wrapper.component';
4
4
  export * from './flex.wrapper.component';
5
5
  export * from './form.wrapper.module';
6
6
  export * from './info.wrapper.component';
@@ -1,14 +1,14 @@
1
1
  import { Maybe } from '@dereekb/util';
2
2
  import { Observable } from 'rxjs';
3
- import { AbstractFormExpandableSectionConfig, AbstractFormExpandableSectionWrapperDirective } from './expandable.wrapper.delegate';
3
+ import { AbstractFormExpandSectionConfig, AbstractFormExpandSectionWrapperDirective } from './expand.wrapper.delegate';
4
4
  import * as i0 from "@angular/core";
5
- export interface DbxFormToggleWrapperConfig<T extends object = object> extends AbstractFormExpandableSectionConfig<T> {
5
+ export interface DbxFormToggleWrapperConfig<T extends object = object> extends AbstractFormExpandSectionConfig<T> {
6
6
  toggleLabelObs?: (open: Maybe<boolean>) => Observable<string>;
7
7
  }
8
8
  /**
9
- * Section that is expandable by a button until a value is set, or the button is pressed.
9
+ * Section that can be expanded by a button until a value is set, or the button is pressed.
10
10
  */
11
- export declare class DbxFormToggleWrapperComponent<T extends object = object> extends AbstractFormExpandableSectionWrapperDirective<T, DbxFormToggleWrapperConfig> {
11
+ export declare class DbxFormToggleWrapperComponent<T extends object = object> extends AbstractFormExpandSectionWrapperDirective<T, DbxFormToggleWrapperConfig> {
12
12
  readonly slideLabel$: Observable<Maybe<string>>;
13
13
  onToggleChange(): void;
14
14
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxFormToggleWrapperComponent<any>, never>;
@@ -5,7 +5,7 @@ import { DbxFormToggleWrapperConfig } from './toggle.wrapper.component';
5
5
  import { DbxFormSectionConfig } from './section.wrapper.component';
6
6
  import { DbxFormSubsectionConfig } from './subsection.wrapper.component';
7
7
  import { DbxFormInfoConfig } from './info.wrapper.component';
8
- import { DbxFormExpandWrapperConfig } from './expandable.wrapper.component';
8
+ import { DbxFormExpandWrapperConfig } from './expand.wrapper.component';
9
9
  import { DbxFlexSize } from '@dereekb/dbx-web';
10
10
  import { DbxFormWorkingWrapperConfig } from './working.wrapper.component';
11
11
  export type WrapperFormlyFieldConfig<P, C extends FormlyFieldConfig> = FormlyFieldConfig<P> & {
@@ -6,4 +6,4 @@ export declare const INFO_WRAPPER_KEY = "info";
6
6
  export declare const FLEX_WRAPPER_KEY = "flex";
7
7
  export declare const STYLE_WRAPPER_KEY = "style";
8
8
  export declare const WORKING_WRAPPER_KEY = "working";
9
- export declare const EXPANDABLE_WRAPPER_KEY = "expandable";
9
+ export declare const EXPAND_WRAPPER_KEY = "expand";
@@ -12,7 +12,6 @@ export declare abstract class AbstractFormlyFormDirective<T> implements OnDestro
12
12
  readonly context: DbxFormlyContext<T>;
13
13
  get disabled(): boolean;
14
14
  set disabled(disabled: boolean);
15
- constructor(context: DbxFormlyContext<T>);
16
15
  ngOnDestroy(): void;
17
16
  getValue(): Observable<T>;
18
17
  setValue(value: Partial<T>): void;
@@ -4,7 +4,7 @@ import { FormlyFieldConfig, FormlyFormOptions } from '@ngx-formly/core';
4
4
  import { Observable } from 'rxjs';
5
5
  import { AbstractSubscriptionDirective } from '@dereekb/dbx-core';
6
6
  import { DbxForm, DbxFormDisabledKey, DbxFormEvent } from '../form/form';
7
- import { DbxFormlyContext, DbxFormlyContextDelegate, DbxFormlyInitialize } from './formly.context';
7
+ import { DbxFormlyContextDelegate, DbxFormlyInitialize } from './formly.context';
8
8
  import { BooleanStringKeyArray } from '@dereekb/util';
9
9
  import * as i0 from "@angular/core";
10
10
  export interface DbxFormlyFormState {
@@ -16,7 +16,7 @@ export interface DbxFormlyFormState {
16
16
  * Used for rending a form from a DbxFormlyContext.
17
17
  */
18
18
  export declare class DbxFormlyFormComponent<T> extends AbstractSubscriptionDirective implements DbxForm, DbxFormlyContextDelegate<T>, OnInit, OnDestroy {
19
- private readonly context;
19
+ private readonly _dbxFormlyContext;
20
20
  private _fields;
21
21
  private _events;
22
22
  private _disabled;
@@ -31,7 +31,6 @@ export declare class DbxFormlyFormComponent<T> extends AbstractSubscriptionDirec
31
31
  [additionalProperties: string]: any;
32
32
  }>[]>;
33
33
  readonly stream$: Observable<DbxFormEvent>;
34
- constructor(context: DbxFormlyContext<T>);
35
34
  ngOnInit(): void;
36
35
  ngOnDestroy(): void;
37
36
  init(initialize: DbxFormlyInitialize<T>): void;