@dereekb/dbx-form 13.6.16 → 13.7.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.
|
@@ -3,7 +3,7 @@ import { formlyField, propsAndConfigForFieldConfig, flexLayoutWrapper, toggleFie
|
|
|
3
3
|
import * as i1$3 from '@dereekb/dbx-web';
|
|
4
4
|
import { DbxActionModule, DbxButtonSpacerDirective, DbxContentContainerDirective, DbxLabelBlockComponent, AbstractPopoverDirective, DbxPopoverInteractionModule, DbxPopoverService, DbxButtonComponent, AbstractDialogDirective, sanitizeDbxDialogContentConfig, DbxDialogModule, CompactContextStore } from '@dereekb/dbx-web';
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
|
-
import { Injectable, inject, Directive,
|
|
6
|
+
import { Injectable, inject, Directive, Optional, SkipSelf, Injector, ChangeDetectionStrategy, Component, viewChild, input, effect, computed, ElementRef, output, InjectionToken, NgModule } from '@angular/core';
|
|
7
7
|
import { FieldType } from '@ngx-formly/material';
|
|
8
8
|
import { switchMap, first, tap, map, distinctUntilChanged, shareReplay, of, combineLatestWith, BehaviorSubject, filter, combineLatest, EMPTY, startWith, throttleTime } from 'rxjs';
|
|
9
9
|
import { filterMaybe, distinctUntilHasDifferentValues, SubscriptionObject, asObservableFromGetter, asObservable } from '@dereekb/rxjs';
|
|
@@ -1092,15 +1092,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
1092
1092
|
function provideCalendarScheduleSelectionStoreIfParentIsUnavailable() {
|
|
1093
1093
|
return {
|
|
1094
1094
|
provide: DbxCalendarScheduleSelectionStore,
|
|
1095
|
-
useFactory: (
|
|
1095
|
+
useFactory: (dbxCalendarScheduleSelectionStoreInjectionBlock, dbxCalendarScheduleSelectionStore) => {
|
|
1096
1096
|
if (!dbxCalendarScheduleSelectionStore || (dbxCalendarScheduleSelectionStore && dbxCalendarScheduleSelectionStoreInjectionBlock?.dbxCalendarScheduleSelectionStore === dbxCalendarScheduleSelectionStore)) {
|
|
1097
1097
|
// create a new dbxCalendarScheduleSelectionStore to use
|
|
1098
|
+
const parentInjector = inject(Injector);
|
|
1098
1099
|
const injector = Injector.create({ providers: [{ provide: DbxCalendarScheduleSelectionStore }], parent: parentInjector });
|
|
1099
1100
|
dbxCalendarScheduleSelectionStore = injector.get(DbxCalendarScheduleSelectionStore);
|
|
1100
1101
|
}
|
|
1101
1102
|
return dbxCalendarScheduleSelectionStore;
|
|
1102
1103
|
},
|
|
1103
|
-
deps: [
|
|
1104
|
+
deps: [
|
|
1105
|
+
[new Optional(), DbxCalendarScheduleSelectionStoreProviderBlock],
|
|
1106
|
+
[new Optional(), new SkipSelf(), DbxCalendarScheduleSelectionStore]
|
|
1107
|
+
]
|
|
1104
1108
|
};
|
|
1105
1109
|
}
|
|
1106
1110
|
|