@dereekb/dbx-core 13.4.2 → 13.5.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.
|
@@ -482,9 +482,8 @@ class DbxActionContextStoreSourceInstance {
|
|
|
482
482
|
*/
|
|
483
483
|
class DbxActionAutoModifyDirective {
|
|
484
484
|
source = inject((DbxActionContextStoreSourceInstance), { host: true });
|
|
485
|
-
autoModifyEnabled = input(true, { ...(ngDevMode ? { debugName: "autoModifyEnabled" } : {}), alias: 'dbxActionAutoModify', transform: isNotFalse });
|
|
485
|
+
autoModifyEnabled = input(true, { ...(ngDevMode ? { debugName: "autoModifyEnabled" } : /* istanbul ignore next */ {}), alias: 'dbxActionAutoModify', transform: isNotFalse });
|
|
486
486
|
markAsModified$ = toObservable(this.autoModifyEnabled).pipe(distinctUntilChanged(), switchMap((x) => {
|
|
487
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
488
487
|
let obs;
|
|
489
488
|
if (x) {
|
|
490
489
|
obs = this.source.isModified$.pipe(filter((x) => !x));
|
|
@@ -502,10 +501,10 @@ class DbxActionAutoModifyDirective {
|
|
|
502
501
|
})
|
|
503
502
|
});
|
|
504
503
|
}
|
|
505
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
506
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
504
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionAutoModifyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
505
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.3", type: DbxActionAutoModifyDirective, isStandalone: true, selector: "dbxActionAutoModify, [dbxActionAutoModify]", inputs: { autoModifyEnabled: { classPropertyName: "autoModifyEnabled", publicName: "dbxActionAutoModify", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
507
506
|
}
|
|
508
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
507
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionAutoModifyDirective, decorators: [{
|
|
509
508
|
type: Directive,
|
|
510
509
|
args: [{
|
|
511
510
|
selector: 'dbxActionAutoModify, [dbxActionAutoModify]',
|
|
@@ -552,14 +551,14 @@ const DBX_ACTION_AUTO_TRIGGER_INSTANT_TRIGGER_DEBOUNCE = 10;
|
|
|
552
551
|
*/
|
|
553
552
|
class DbxActionAutoTriggerDirective {
|
|
554
553
|
source = inject((DbxActionContextStoreSourceInstance), { host: true });
|
|
555
|
-
triggerDebounce = input(undefined, ...(ngDevMode ? [{ debugName: "triggerDebounce" }] : []));
|
|
556
|
-
triggerThrottle = input(undefined, ...(ngDevMode ? [{ debugName: "triggerThrottle" }] : []));
|
|
557
|
-
triggerErrorThrottle = input(DEFAULT_ERROR_THROTTLE_MS, { ...(ngDevMode ? { debugName: "triggerErrorThrottle" } : {}), transform: (x) => x ?? DEFAULT_ERROR_THROTTLE_MS });
|
|
558
|
-
maxErrorsForThrottle = input(MAX_ERRORS_TO_THROTTLE_ON, { ...(ngDevMode ? { debugName: "maxErrorsForThrottle" } : {}), transform: (x) => x ?? MAX_ERRORS_TO_THROTTLE_ON });
|
|
559
|
-
triggerLimit = input(...(ngDevMode ? [undefined, { debugName: "triggerLimit" }] : []));
|
|
560
|
-
triggerEnabled = input(true, { ...(ngDevMode ? { debugName: "triggerEnabled" } : {}), alias: 'dbxActionAutoTrigger', transform: isNotFalse });
|
|
561
|
-
useFastTriggerPreset = input(false, { ...(ngDevMode ? { debugName: "useFastTriggerPreset" } : {}), transform: isDefinedAndNotFalse });
|
|
562
|
-
useInstantTriggerPreset = input(false, { ...(ngDevMode ? { debugName: "useInstantTriggerPreset" } : {}), transform: isDefinedAndNotFalse });
|
|
554
|
+
triggerDebounce = input(undefined, ...(ngDevMode ? [{ debugName: "triggerDebounce" }] : /* istanbul ignore next */ []));
|
|
555
|
+
triggerThrottle = input(undefined, ...(ngDevMode ? [{ debugName: "triggerThrottle" }] : /* istanbul ignore next */ []));
|
|
556
|
+
triggerErrorThrottle = input(DEFAULT_ERROR_THROTTLE_MS, { ...(ngDevMode ? { debugName: "triggerErrorThrottle" } : /* istanbul ignore next */ {}), transform: (x) => x ?? DEFAULT_ERROR_THROTTLE_MS });
|
|
557
|
+
maxErrorsForThrottle = input(MAX_ERRORS_TO_THROTTLE_ON, { ...(ngDevMode ? { debugName: "maxErrorsForThrottle" } : /* istanbul ignore next */ {}), transform: (x) => x ?? MAX_ERRORS_TO_THROTTLE_ON });
|
|
558
|
+
triggerLimit = input(...(ngDevMode ? [undefined, { debugName: "triggerLimit" }] : /* istanbul ignore next */ []));
|
|
559
|
+
triggerEnabled = input(true, { ...(ngDevMode ? { debugName: "triggerEnabled" } : /* istanbul ignore next */ {}), alias: 'dbxActionAutoTrigger', transform: isNotFalse });
|
|
560
|
+
useFastTriggerPreset = input(false, { ...(ngDevMode ? { debugName: "useFastTriggerPreset" } : /* istanbul ignore next */ {}), transform: isDefinedAndNotFalse });
|
|
561
|
+
useInstantTriggerPreset = input(false, { ...(ngDevMode ? { debugName: "useInstantTriggerPreset" } : /* istanbul ignore next */ {}), transform: isDefinedAndNotFalse });
|
|
563
562
|
triggerDebounceSignal = computed(() => {
|
|
564
563
|
let debounce = this.triggerDebounce();
|
|
565
564
|
if (debounce == null) {
|
|
@@ -573,7 +572,7 @@ class DbxActionAutoTriggerDirective {
|
|
|
573
572
|
}
|
|
574
573
|
}
|
|
575
574
|
return debounce ?? DEFAULT_DEBOUNCE_MS;
|
|
576
|
-
}, ...(ngDevMode ? [{ debugName: "triggerDebounceSignal" }] : []));
|
|
575
|
+
}, ...(ngDevMode ? [{ debugName: "triggerDebounceSignal" }] : /* istanbul ignore next */ []));
|
|
577
576
|
triggerThrottleSignal = computed(() => {
|
|
578
577
|
let throttle = this.triggerThrottle();
|
|
579
578
|
if (throttle == null) {
|
|
@@ -587,8 +586,8 @@ class DbxActionAutoTriggerDirective {
|
|
|
587
586
|
}
|
|
588
587
|
}
|
|
589
588
|
return throttle ?? DEFAULT_THROTTLE_MS;
|
|
590
|
-
}, ...(ngDevMode ? [{ debugName: "triggerThrottleSignal" }] : []));
|
|
591
|
-
triggerCountSignal = signal(0, ...(ngDevMode ? [{ debugName: "triggerCountSignal" }] : []));
|
|
589
|
+
}, ...(ngDevMode ? [{ debugName: "triggerThrottleSignal" }] : /* istanbul ignore next */ []));
|
|
590
|
+
triggerCountSignal = signal(0, ...(ngDevMode ? [{ debugName: "triggerCountSignal" }] : /* istanbul ignore next */ []));
|
|
592
591
|
_errorCount$ = this.source.errorCountSinceLastSuccess$;
|
|
593
592
|
_triggerCount$ = this.source.isModifiedAndCanTriggerUpdates$.pipe(
|
|
594
593
|
// each time something is triggered the
|
|
@@ -632,10 +631,10 @@ class DbxActionAutoTriggerDirective {
|
|
|
632
631
|
})
|
|
633
632
|
});
|
|
634
633
|
}
|
|
635
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
636
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
634
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionAutoTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
635
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.3", type: DbxActionAutoTriggerDirective, isStandalone: true, selector: "dbxActionAutoTrigger,[dbxActionAutoTrigger]", inputs: { triggerDebounce: { classPropertyName: "triggerDebounce", publicName: "triggerDebounce", isSignal: true, isRequired: false, transformFunction: null }, triggerThrottle: { classPropertyName: "triggerThrottle", publicName: "triggerThrottle", isSignal: true, isRequired: false, transformFunction: null }, triggerErrorThrottle: { classPropertyName: "triggerErrorThrottle", publicName: "triggerErrorThrottle", isSignal: true, isRequired: false, transformFunction: null }, maxErrorsForThrottle: { classPropertyName: "maxErrorsForThrottle", publicName: "maxErrorsForThrottle", isSignal: true, isRequired: false, transformFunction: null }, triggerLimit: { classPropertyName: "triggerLimit", publicName: "triggerLimit", isSignal: true, isRequired: false, transformFunction: null }, triggerEnabled: { classPropertyName: "triggerEnabled", publicName: "dbxActionAutoTrigger", isSignal: true, isRequired: false, transformFunction: null }, useFastTriggerPreset: { classPropertyName: "useFastTriggerPreset", publicName: "useFastTriggerPreset", isSignal: true, isRequired: false, transformFunction: null }, useInstantTriggerPreset: { classPropertyName: "useInstantTriggerPreset", publicName: "useInstantTriggerPreset", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
637
636
|
}
|
|
638
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
637
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionAutoTriggerDirective, decorators: [{
|
|
639
638
|
type: Directive,
|
|
640
639
|
args: [{
|
|
641
640
|
selector: 'dbxActionAutoTrigger,[dbxActionAutoTrigger]',
|
|
@@ -1182,10 +1181,10 @@ class ActionContextStore extends ComponentStore {
|
|
|
1182
1181
|
// do not call super.destroy here, to keep the component store from destroying itself.
|
|
1183
1182
|
// the lockset is configured to cleanup the component store.
|
|
1184
1183
|
}
|
|
1185
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1186
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
1184
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: ActionContextStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1185
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: ActionContextStore });
|
|
1187
1186
|
}
|
|
1188
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1187
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: ActionContextStore, decorators: [{
|
|
1189
1188
|
type: Injectable
|
|
1190
1189
|
}], ctorParameters: () => [] });
|
|
1191
1190
|
function updateIsSameOnActionContextState(state, isSame) {
|
|
@@ -1343,10 +1342,10 @@ class DbxActionContextMachineAsService extends DbxActionContextMachine {
|
|
|
1343
1342
|
});
|
|
1344
1343
|
clean(() => this.destroy());
|
|
1345
1344
|
}
|
|
1346
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1347
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
1345
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionContextMachineAsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1346
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionContextMachineAsService });
|
|
1348
1347
|
}
|
|
1349
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1348
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionContextMachineAsService, decorators: [{
|
|
1350
1349
|
type: Injectable
|
|
1351
1350
|
}], ctorParameters: () => [] });
|
|
1352
1351
|
|
|
@@ -1450,10 +1449,10 @@ class DbxActionDirective extends DbxActionContextBaseSource {
|
|
|
1450
1449
|
});
|
|
1451
1450
|
});
|
|
1452
1451
|
}
|
|
1453
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1454
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
1452
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1453
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.3", type: DbxActionDirective, isStandalone: true, selector: "dbx-action,[dbxAction]", providers: provideActionStoreSource(DbxActionDirective), exportAs: ["action", "dbxAction"], usesInheritance: true, ngImport: i0 });
|
|
1455
1454
|
}
|
|
1456
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1455
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionDirective, decorators: [{
|
|
1457
1456
|
type: Directive,
|
|
1458
1457
|
args: [{
|
|
1459
1458
|
selector: 'dbx-action,[dbxAction]',
|
|
@@ -1485,12 +1484,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
|
|
|
1485
1484
|
* @see {@link SecondaryActionContextStoreSource}
|
|
1486
1485
|
*/
|
|
1487
1486
|
class DbxActionSourceDirective {
|
|
1488
|
-
dbxActionSource = input(...(ngDevMode ? [undefined, { debugName: "dbxActionSource" }] : []));
|
|
1487
|
+
dbxActionSource = input(...(ngDevMode ? [undefined, { debugName: "dbxActionSource" }] : /* istanbul ignore next */ []));
|
|
1489
1488
|
store$ = toObservable(this.dbxActionSource).pipe(filterMaybe(), switchMap((x) => actionContextStoreSourcePipe(x.store$)));
|
|
1490
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1491
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
1489
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionSourceDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1490
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.3", type: DbxActionSourceDirective, isStandalone: true, selector: "[dbxActionSource]", inputs: { dbxActionSource: { classPropertyName: "dbxActionSource", publicName: "dbxActionSource", isSignal: true, isRequired: false, transformFunction: null } }, providers: provideSecondaryActionStoreSource(DbxActionSourceDirective), ngImport: i0 });
|
|
1492
1491
|
}
|
|
1493
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1492
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionSourceDirective, decorators: [{
|
|
1494
1493
|
type: Directive,
|
|
1495
1494
|
args: [{
|
|
1496
1495
|
selector: '[dbxActionSource]',
|
|
@@ -1523,10 +1522,10 @@ class DbxActionContextLoggerDirective {
|
|
|
1523
1522
|
})
|
|
1524
1523
|
});
|
|
1525
1524
|
}
|
|
1526
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1527
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
1525
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionContextLoggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1526
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.3", type: DbxActionContextLoggerDirective, isStandalone: true, selector: "[dbxActionLogger],[dbxActionContextLogger]", ngImport: i0 });
|
|
1528
1527
|
}
|
|
1529
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1528
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionContextLoggerDirective, decorators: [{
|
|
1530
1529
|
type: Directive,
|
|
1531
1530
|
args: [{
|
|
1532
1531
|
selector: '[dbxActionLogger],[dbxActionContextLogger]',
|
|
@@ -1627,15 +1626,15 @@ function actionContextStoreSourceMap() {
|
|
|
1627
1626
|
*/
|
|
1628
1627
|
class DbxActionContextMapDirective {
|
|
1629
1628
|
actionContextStoreSourceMap = clean(inject(ActionContextStoreSourceMap));
|
|
1630
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1631
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
1629
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionContextMapDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1630
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.3", type: DbxActionContextMapDirective, isStandalone: true, selector: "[dbxActionContextMap]", providers: [
|
|
1632
1631
|
{
|
|
1633
1632
|
provide: ActionContextStoreSourceMap,
|
|
1634
1633
|
useFactory: actionContextStoreSourceMap
|
|
1635
1634
|
}
|
|
1636
1635
|
], exportAs: ["actionMap"], ngImport: i0 });
|
|
1637
1636
|
}
|
|
1638
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1637
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionContextMapDirective, decorators: [{
|
|
1639
1638
|
type: Directive,
|
|
1640
1639
|
args: [{
|
|
1641
1640
|
selector: '[dbxActionContextMap]',
|
|
@@ -1676,13 +1675,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
|
|
|
1676
1675
|
*/
|
|
1677
1676
|
class DbxActionFromMapDirective {
|
|
1678
1677
|
_actionContextStoreSourceMap = inject(ActionContextStoreSourceMap);
|
|
1679
|
-
key = input(undefined, { ...(ngDevMode ? { debugName: "key" } : {}), alias: 'dbxActionFromMap' });
|
|
1678
|
+
key = input(undefined, { ...(ngDevMode ? { debugName: "key" } : /* istanbul ignore next */ {}), alias: 'dbxActionFromMap' });
|
|
1680
1679
|
key$ = toObservable(this.key);
|
|
1681
1680
|
store$ = this.key$.pipe(filterMaybe(), switchMap((x) => this._actionContextStoreSourceMap.sourceForKey(x).store$));
|
|
1682
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1683
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
1681
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionFromMapDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1682
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.3", type: DbxActionFromMapDirective, isStandalone: true, selector: "[dbxActionFromMap]", inputs: { key: { classPropertyName: "key", publicName: "dbxActionFromMap", isSignal: true, isRequired: false, transformFunction: null } }, providers: provideSecondaryActionStoreSource(DbxActionFromMapDirective), ngImport: i0 });
|
|
1684
1683
|
}
|
|
1685
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1684
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionFromMapDirective, decorators: [{
|
|
1686
1685
|
type: Directive,
|
|
1687
1686
|
args: [{
|
|
1688
1687
|
selector: '[dbxActionFromMap]',
|
|
@@ -1713,7 +1712,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
|
|
|
1713
1712
|
class DbxActionMapSourceDirective {
|
|
1714
1713
|
_actionContextStoreSourceMap = inject(ActionContextStoreSourceMap);
|
|
1715
1714
|
source = inject(ActionContextStoreSource, { host: true });
|
|
1716
|
-
key = input(undefined, { ...(ngDevMode ? { debugName: "key" } : {}), alias: 'dbxActionMapSource' });
|
|
1715
|
+
key = input(undefined, { ...(ngDevMode ? { debugName: "key" } : /* istanbul ignore next */ {}), alias: 'dbxActionMapSource' });
|
|
1717
1716
|
_currentKey;
|
|
1718
1717
|
_keyEffect = effect(() => {
|
|
1719
1718
|
const nextKey = this.key();
|
|
@@ -1722,7 +1721,7 @@ class DbxActionMapSourceDirective {
|
|
|
1722
1721
|
}
|
|
1723
1722
|
this._currentKey = nextKey;
|
|
1724
1723
|
this._addToStore();
|
|
1725
|
-
}, ...(ngDevMode ? [{ debugName: "_keyEffect" }] : []));
|
|
1724
|
+
}, ...(ngDevMode ? [{ debugName: "_keyEffect" }] : /* istanbul ignore next */ []));
|
|
1726
1725
|
ngOnDestroy() {
|
|
1727
1726
|
this._removeFromToStore();
|
|
1728
1727
|
}
|
|
@@ -1736,10 +1735,10 @@ class DbxActionMapSourceDirective {
|
|
|
1736
1735
|
this._actionContextStoreSourceMap.removeStoreSource(this._currentKey);
|
|
1737
1736
|
}
|
|
1738
1737
|
}
|
|
1739
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1740
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
1738
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionMapSourceDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1739
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.3", type: DbxActionMapSourceDirective, isStandalone: true, selector: "[dbxActionMapSource]", inputs: { key: { classPropertyName: "key", publicName: "dbxActionMapSource", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
1741
1740
|
}
|
|
1742
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1741
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionMapSourceDirective, decorators: [{
|
|
1743
1742
|
type: Directive,
|
|
1744
1743
|
args: [{
|
|
1745
1744
|
selector: '[dbxActionMapSource]',
|
|
@@ -1818,7 +1817,7 @@ const DEFAULT_ACTION_MAP_WORKING_DISABLED_KEY = 'action_map_working_disable';
|
|
|
1818
1817
|
class DbxActionMapWorkingDisableDirective {
|
|
1819
1818
|
_actionContextStoreSourceMap = inject(ActionContextStoreSourceMap);
|
|
1820
1819
|
source = inject(DbxActionContextStoreSourceInstance, { host: true });
|
|
1821
|
-
disabledKey = input(undefined, { ...(ngDevMode ? { debugName: "disabledKey" } : {}), alias: 'dbxActionMapWorkingDisable' });
|
|
1820
|
+
disabledKey = input(undefined, { ...(ngDevMode ? { debugName: "disabledKey" } : /* istanbul ignore next */ {}), alias: 'dbxActionMapWorkingDisable' });
|
|
1822
1821
|
areAnySourcesWorking$ = actionContextStoreSourceMapReader(this._actionContextStoreSourceMap.actionKeySourceMap$).checkAny((x) => x.isWorking$, false);
|
|
1823
1822
|
constructor() {
|
|
1824
1823
|
cleanSubscription(this.areAnySourcesWorking$.subscribe((x) => {
|
|
@@ -1828,10 +1827,10 @@ class DbxActionMapWorkingDisableDirective {
|
|
|
1828
1827
|
this.source.enable(this.disabledKey() || DEFAULT_ACTION_MAP_WORKING_DISABLED_KEY);
|
|
1829
1828
|
});
|
|
1830
1829
|
}
|
|
1831
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1832
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
1830
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionMapWorkingDisableDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1831
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.3", type: DbxActionMapWorkingDisableDirective, isStandalone: true, selector: "[dbxActionMapWorkingDisable]", inputs: { disabledKey: { classPropertyName: "disabledKey", publicName: "dbxActionMapWorkingDisable", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
1833
1832
|
}
|
|
1834
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1833
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionMapWorkingDisableDirective, decorators: [{
|
|
1835
1834
|
type: Directive,
|
|
1836
1835
|
args: [{
|
|
1837
1836
|
selector: '[dbxActionMapWorkingDisable]',
|
|
@@ -1868,7 +1867,7 @@ const APP_ACTION_DISABLED_DIRECTIVE_KEY = 'dbx_action_disabled';
|
|
|
1868
1867
|
*/
|
|
1869
1868
|
class DbxActionDisabledDirective {
|
|
1870
1869
|
source = inject((DbxActionContextStoreSourceInstance), { host: true });
|
|
1871
|
-
disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : {}), alias: 'dbxActionDisabled', transform: (value) => value !== false });
|
|
1870
|
+
disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), alias: 'dbxActionDisabled', transform: (value) => value !== false });
|
|
1872
1871
|
disabled$ = toObservable(this.disabled);
|
|
1873
1872
|
constructor() {
|
|
1874
1873
|
cleanSubscription(this.disabled$.subscribe((x) => {
|
|
@@ -1876,10 +1875,10 @@ class DbxActionDisabledDirective {
|
|
|
1876
1875
|
}));
|
|
1877
1876
|
clean(() => this.source.enable(APP_ACTION_DISABLED_DIRECTIVE_KEY));
|
|
1878
1877
|
}
|
|
1879
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1880
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
1878
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionDisabledDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1879
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.3", type: DbxActionDisabledDirective, isStandalone: true, selector: "[dbxActionDisabled]", inputs: { disabled: { classPropertyName: "disabled", publicName: "dbxActionDisabled", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
1881
1880
|
}
|
|
1882
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1881
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionDisabledDirective, decorators: [{
|
|
1883
1882
|
type: Directive,
|
|
1884
1883
|
args: [{
|
|
1885
1884
|
selector: '[dbxActionDisabled]',
|
|
@@ -1918,7 +1917,7 @@ const APP_ACTION_DISABLED_ON_SUCCESS_DIRECTIVE_KEY = 'dbx_action_disabled_on_suc
|
|
|
1918
1917
|
*/
|
|
1919
1918
|
class DbxActionDisabledOnSuccessDirective {
|
|
1920
1919
|
source = inject((DbxActionContextStoreSourceInstance), { host: true });
|
|
1921
|
-
disabledOnSuccess = input(true, { ...(ngDevMode ? { debugName: "disabledOnSuccess" } : {}), alias: 'dbxActionDisabledOnSuccess', transform: (value) => value !== false });
|
|
1920
|
+
disabledOnSuccess = input(true, { ...(ngDevMode ? { debugName: "disabledOnSuccess" } : /* istanbul ignore next */ {}), alias: 'dbxActionDisabledOnSuccess', transform: (value) => value !== false });
|
|
1922
1921
|
disabledOnSuccess$ = toObservable(this.disabledOnSuccess);
|
|
1923
1922
|
constructor() {
|
|
1924
1923
|
cleanSubscription(combineLatest([this.disabledOnSuccess$, this.source.isSuccess$]).subscribe(([disableOnSuccess, success]) => {
|
|
@@ -1926,10 +1925,10 @@ class DbxActionDisabledOnSuccessDirective {
|
|
|
1926
1925
|
}));
|
|
1927
1926
|
clean(() => this.source.enable(APP_ACTION_DISABLED_ON_SUCCESS_DIRECTIVE_KEY));
|
|
1928
1927
|
}
|
|
1929
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1930
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
1928
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionDisabledOnSuccessDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1929
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.3", type: DbxActionDisabledOnSuccessDirective, isStandalone: true, selector: "[dbxActionDisabledOnSuccess]", inputs: { disabledOnSuccess: { classPropertyName: "disabledOnSuccess", publicName: "dbxActionDisabledOnSuccess", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
1931
1930
|
}
|
|
1932
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1931
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionDisabledOnSuccessDirective, decorators: [{
|
|
1933
1932
|
type: Directive,
|
|
1934
1933
|
args: [{
|
|
1935
1934
|
selector: '[dbxActionDisabledOnSuccess]',
|
|
@@ -2034,10 +2033,10 @@ class AbstractDbxActionHandlerDirective {
|
|
|
2034
2033
|
constructor() {
|
|
2035
2034
|
this._dbxActionHandlerInstance.init();
|
|
2036
2035
|
}
|
|
2037
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2038
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
2036
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: AbstractDbxActionHandlerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2037
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.3", type: AbstractDbxActionHandlerDirective, isStandalone: true, ngImport: i0 });
|
|
2039
2038
|
}
|
|
2040
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2039
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: AbstractDbxActionHandlerDirective, decorators: [{
|
|
2041
2040
|
type: Directive
|
|
2042
2041
|
}], ctorParameters: () => [] });
|
|
2043
2042
|
/**
|
|
@@ -2061,14 +2060,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
|
|
|
2061
2060
|
* @see {@link DbxActionHandlerValueDirective} for the simpler value/getter variant.
|
|
2062
2061
|
*/
|
|
2063
2062
|
class DbxActionHandlerDirective extends AbstractDbxActionHandlerDirective {
|
|
2064
|
-
handlerFunction = input.required({ ...(ngDevMode ? { debugName: "handlerFunction" } : {}), alias: 'dbxActionHandler' });
|
|
2063
|
+
handlerFunction = input.required({ ...(ngDevMode ? { debugName: "handlerFunction" } : /* istanbul ignore next */ {}), alias: 'dbxActionHandler' });
|
|
2065
2064
|
_handlerFunctionEffect = effect(() => {
|
|
2066
2065
|
this._dbxActionHandlerInstance.setHandlerFunction(this.handlerFunction());
|
|
2067
|
-
}, ...(ngDevMode ? [{ debugName: "_handlerFunctionEffect" }] : []));
|
|
2068
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2069
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
2066
|
+
}, ...(ngDevMode ? [{ debugName: "_handlerFunctionEffect" }] : /* istanbul ignore next */ []));
|
|
2067
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionHandlerDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2068
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.3", type: DbxActionHandlerDirective, isStandalone: true, selector: "[dbxActionHandler]", inputs: { handlerFunction: { classPropertyName: "handlerFunction", publicName: "dbxActionHandler", isSignal: true, isRequired: true, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
2070
2069
|
}
|
|
2071
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2070
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionHandlerDirective, decorators: [{
|
|
2072
2071
|
type: Directive,
|
|
2073
2072
|
args: [{
|
|
2074
2073
|
selector: '[dbxActionHandler]',
|
|
@@ -2096,14 +2095,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
|
|
|
2096
2095
|
* @see {@link DbxActionHandlerDirective} for the full work-function variant.
|
|
2097
2096
|
*/
|
|
2098
2097
|
class DbxActionHandlerValueDirective extends AbstractDbxActionHandlerDirective {
|
|
2099
|
-
handlerValue = input.required({ ...(ngDevMode ? { debugName: "handlerValue" } : {}), alias: 'dbxActionHandlerValue' });
|
|
2098
|
+
handlerValue = input.required({ ...(ngDevMode ? { debugName: "handlerValue" } : /* istanbul ignore next */ {}), alias: 'dbxActionHandlerValue' });
|
|
2100
2099
|
_handlerValueEffect = effect(() => {
|
|
2101
2100
|
this._dbxActionHandlerInstance.setHandlerValue(this.handlerValue());
|
|
2102
|
-
}, ...(ngDevMode ? [{ debugName: "_handlerValueEffect" }] : []));
|
|
2103
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2104
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
2101
|
+
}, ...(ngDevMode ? [{ debugName: "_handlerValueEffect" }] : /* istanbul ignore next */ []));
|
|
2102
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionHandlerValueDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2103
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.3", type: DbxActionHandlerValueDirective, isStandalone: true, selector: "[dbxActionHandlerValue]", inputs: { handlerValue: { classPropertyName: "handlerValue", publicName: "dbxActionHandlerValue", isSignal: true, isRequired: true, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
2105
2104
|
}
|
|
2106
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2105
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionHandlerValueDirective, decorators: [{
|
|
2107
2106
|
type: Directive,
|
|
2108
2107
|
args: [{
|
|
2109
2108
|
selector: '[dbxActionHandlerValue]',
|
|
@@ -2145,10 +2144,10 @@ class AbstractIfDirective {
|
|
|
2145
2144
|
}
|
|
2146
2145
|
});
|
|
2147
2146
|
}
|
|
2148
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2149
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
2147
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: AbstractIfDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2148
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.3", type: AbstractIfDirective, isStandalone: true, ngImport: i0 });
|
|
2150
2149
|
}
|
|
2151
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2150
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: AbstractIfDirective, decorators: [{
|
|
2152
2151
|
type: Directive
|
|
2153
2152
|
}] });
|
|
2154
2153
|
|
|
@@ -2199,7 +2198,7 @@ const transformEmptyStringInputToUndefined = (value) => (value === '' ? undefine
|
|
|
2199
2198
|
*/
|
|
2200
2199
|
class DbxActionIdleDirective extends AbstractIfDirective {
|
|
2201
2200
|
_store = inject(DbxActionContextStoreSourceInstance);
|
|
2202
|
-
hideAfter = input(undefined, { ...(ngDevMode ? { debugName: "hideAfter" } : {}), alias: 'dbxActionIdle', transform: transformEmptyStringInputToUndefined });
|
|
2201
|
+
hideAfter = input(undefined, { ...(ngDevMode ? { debugName: "hideAfter" } : /* istanbul ignore next */ {}), alias: 'dbxActionIdle', transform: transformEmptyStringInputToUndefined });
|
|
2203
2202
|
show$ = this._store.idle$.pipe(exhaustMap((idle) => {
|
|
2204
2203
|
if (idle) {
|
|
2205
2204
|
return emitDelayObs(true, false, this.hideAfter());
|
|
@@ -2208,10 +2207,10 @@ class DbxActionIdleDirective extends AbstractIfDirective {
|
|
|
2208
2207
|
return of(false);
|
|
2209
2208
|
}
|
|
2210
2209
|
}), shareReplay(1));
|
|
2211
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2212
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
2210
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionIdleDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2211
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.3", type: DbxActionIdleDirective, isStandalone: true, selector: "[dbxActionIdle]", inputs: { hideAfter: { classPropertyName: "hideAfter", publicName: "dbxActionIdle", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
2213
2212
|
}
|
|
2214
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2213
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionIdleDirective, decorators: [{
|
|
2215
2214
|
type: Directive,
|
|
2216
2215
|
args: [{
|
|
2217
2216
|
selector: '[dbxActionIdle]',
|
|
@@ -2247,7 +2246,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
|
|
|
2247
2246
|
*/
|
|
2248
2247
|
class DbxActionPreSuccessDirective extends AbstractIfDirective {
|
|
2249
2248
|
_store = inject(DbxActionContextStoreSourceInstance);
|
|
2250
|
-
hideFor = input(undefined, { ...(ngDevMode ? { debugName: "hideFor" } : {}), alias: 'dbxActionPreSuccess', transform: transformEmptyStringInputToUndefined });
|
|
2249
|
+
hideFor = input(undefined, { ...(ngDevMode ? { debugName: "hideFor" } : /* istanbul ignore next */ {}), alias: 'dbxActionPreSuccess', transform: transformEmptyStringInputToUndefined });
|
|
2251
2250
|
show$ = this._store.isSuccess$.pipe(exhaustMap((success) => {
|
|
2252
2251
|
if (success) {
|
|
2253
2252
|
return emitDelayObs(false, true, this.hideFor());
|
|
@@ -2256,10 +2255,10 @@ class DbxActionPreSuccessDirective extends AbstractIfDirective {
|
|
|
2256
2255
|
return of(true);
|
|
2257
2256
|
}
|
|
2258
2257
|
}), shareReplay(1));
|
|
2259
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2260
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
2258
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionPreSuccessDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2259
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.3", type: DbxActionPreSuccessDirective, isStandalone: true, selector: "[dbxActionPreSuccess]", inputs: { hideFor: { classPropertyName: "hideFor", publicName: "dbxActionPreSuccess", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
2261
2260
|
}
|
|
2262
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2261
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionPreSuccessDirective, decorators: [{
|
|
2263
2262
|
type: Directive,
|
|
2264
2263
|
args: [{
|
|
2265
2264
|
selector: '[dbxActionPreSuccess]',
|
|
@@ -2293,7 +2292,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
|
|
|
2293
2292
|
*/
|
|
2294
2293
|
class DbxActionHasSuccessDirective extends AbstractIfDirective {
|
|
2295
2294
|
_store = inject(DbxActionContextStoreSourceInstance);
|
|
2296
|
-
hideAfter = input(undefined, { ...(ngDevMode ? { debugName: "hideAfter" } : {}), alias: 'dbxActionHasSuccess', transform: transformEmptyStringInputToUndefined });
|
|
2295
|
+
hideAfter = input(undefined, { ...(ngDevMode ? { debugName: "hideAfter" } : /* istanbul ignore next */ {}), alias: 'dbxActionHasSuccess', transform: transformEmptyStringInputToUndefined });
|
|
2297
2296
|
show$ = this._store.isSuccess$.pipe(exhaustMap((success) => {
|
|
2298
2297
|
if (success) {
|
|
2299
2298
|
return emitDelayObs(true, false, this.hideAfter());
|
|
@@ -2302,10 +2301,10 @@ class DbxActionHasSuccessDirective extends AbstractIfDirective {
|
|
|
2302
2301
|
return of(false);
|
|
2303
2302
|
}
|
|
2304
2303
|
}), shareReplay(1));
|
|
2305
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2306
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
2304
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionHasSuccessDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2305
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.3", type: DbxActionHasSuccessDirective, isStandalone: true, selector: "[dbxActionHasSuccess]", inputs: { hideAfter: { classPropertyName: "hideAfter", publicName: "dbxActionHasSuccess", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
2307
2306
|
}
|
|
2308
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2307
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionHasSuccessDirective, decorators: [{
|
|
2309
2308
|
type: Directive,
|
|
2310
2309
|
args: [{
|
|
2311
2310
|
selector: '[dbxActionHasSuccess]',
|
|
@@ -2336,7 +2335,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
|
|
|
2336
2335
|
*/
|
|
2337
2336
|
class DbxActionSuccessHandlerDirective {
|
|
2338
2337
|
source = inject((DbxActionContextStoreSourceInstance), { host: true });
|
|
2339
|
-
dbxActionSuccessHandler = input(...(ngDevMode ? [undefined, { debugName: "dbxActionSuccessHandler" }] : []));
|
|
2338
|
+
dbxActionSuccessHandler = input(...(ngDevMode ? [undefined, { debugName: "dbxActionSuccessHandler" }] : /* istanbul ignore next */ []));
|
|
2340
2339
|
successFunction$ = toObservable(this.dbxActionSuccessHandler).pipe(filterMaybe(), shareReplay(1));
|
|
2341
2340
|
constructor() {
|
|
2342
2341
|
cleanSubscriptionWithLockSet({
|
|
@@ -2348,10 +2347,10 @@ class DbxActionSuccessHandlerDirective {
|
|
|
2348
2347
|
.subscribe()
|
|
2349
2348
|
});
|
|
2350
2349
|
}
|
|
2351
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2352
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
2350
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionSuccessHandlerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2351
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.3", type: DbxActionSuccessHandlerDirective, isStandalone: true, selector: "[dbxActionSuccessHandler]", inputs: { dbxActionSuccessHandler: { classPropertyName: "dbxActionSuccessHandler", publicName: "dbxActionSuccessHandler", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
2353
2352
|
}
|
|
2354
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2353
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionSuccessHandlerDirective, decorators: [{
|
|
2355
2354
|
type: Directive,
|
|
2356
2355
|
args: [{
|
|
2357
2356
|
selector: '[dbxActionSuccessHandler]',
|
|
@@ -2381,7 +2380,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
|
|
|
2381
2380
|
*/
|
|
2382
2381
|
class DbxActionErrorHandlerDirective {
|
|
2383
2382
|
source = inject((DbxActionContextStoreSourceInstance), { host: true });
|
|
2384
|
-
dbxActionErrorHandler = input(...(ngDevMode ? [undefined, { debugName: "dbxActionErrorHandler" }] : []));
|
|
2383
|
+
dbxActionErrorHandler = input(...(ngDevMode ? [undefined, { debugName: "dbxActionErrorHandler" }] : /* istanbul ignore next */ []));
|
|
2385
2384
|
errorFunction$ = toObservable(this.dbxActionErrorHandler).pipe(filterMaybe(), shareReplay(1));
|
|
2386
2385
|
constructor() {
|
|
2387
2386
|
cleanSubscriptionWithLockSet({
|
|
@@ -2393,10 +2392,10 @@ class DbxActionErrorHandlerDirective {
|
|
|
2393
2392
|
.subscribe()
|
|
2394
2393
|
});
|
|
2395
2394
|
}
|
|
2396
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2397
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
2395
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionErrorHandlerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2396
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.3", type: DbxActionErrorHandlerDirective, isStandalone: true, selector: "[dbxActionErrorHandler]", inputs: { dbxActionErrorHandler: { classPropertyName: "dbxActionErrorHandler", publicName: "dbxActionErrorHandler", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
2398
2397
|
}
|
|
2399
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2398
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionErrorHandlerDirective, decorators: [{
|
|
2400
2399
|
type: Directive,
|
|
2401
2400
|
args: [{
|
|
2402
2401
|
selector: '[dbxActionErrorHandler]',
|
|
@@ -2438,7 +2437,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
|
|
|
2438
2437
|
* @see {@link DbxActionValueStreamDirective} for reactive stream-based values.
|
|
2439
2438
|
*/
|
|
2440
2439
|
class DbxActionValueDirective {
|
|
2441
|
-
valueOrFunction = input('', { ...(ngDevMode ? { debugName: "valueOrFunction" } : {}), alias: 'dbxActionValue' });
|
|
2440
|
+
valueOrFunction = input('', { ...(ngDevMode ? { debugName: "valueOrFunction" } : /* istanbul ignore next */ {}), alias: 'dbxActionValue' });
|
|
2442
2441
|
source = inject((DbxActionContextStoreSourceInstance), { host: true });
|
|
2443
2442
|
_valueOrFunctionOverride = new BehaviorSubject(undefined);
|
|
2444
2443
|
valueOrFunction$ = combineLatest([this._valueOrFunctionOverride, toObservable(this.valueOrFunction)]).pipe(map(([x, y]) => x ?? y), filterMaybe(), shareReplay(1));
|
|
@@ -2454,10 +2453,10 @@ class DbxActionValueDirective {
|
|
|
2454
2453
|
setValueOrFunction(value) {
|
|
2455
2454
|
this._valueOrFunctionOverride.next(value);
|
|
2456
2455
|
}
|
|
2457
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2458
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
2456
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionValueDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2457
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.3", type: DbxActionValueDirective, isStandalone: true, selector: "dbxActionValue,[dbxActionValue]", inputs: { valueOrFunction: { classPropertyName: "valueOrFunction", publicName: "dbxActionValue", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
2459
2458
|
}
|
|
2460
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2459
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionValueDirective, decorators: [{
|
|
2461
2460
|
type: Directive,
|
|
2462
2461
|
args: [{
|
|
2463
2462
|
selector: 'dbxActionValue,[dbxActionValue]',
|
|
@@ -2491,13 +2490,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
|
|
|
2491
2490
|
*/
|
|
2492
2491
|
class DbxActionIsWorkingDirective extends AbstractIfDirective {
|
|
2493
2492
|
_store = inject(DbxActionContextStoreSourceInstance);
|
|
2494
|
-
hideAfter = input(undefined, { ...(ngDevMode ? { debugName: "hideAfter" } : {}), alias: 'dbxActionWorking', transform: transformEmptyStringInputToUndefined });
|
|
2495
|
-
hideAfterIsWorking = input(undefined, { ...(ngDevMode ? { debugName: "hideAfterIsWorking" } : {}), alias: 'dbxActionIsWorking', transform: transformEmptyStringInputToUndefined });
|
|
2493
|
+
hideAfter = input(undefined, { ...(ngDevMode ? { debugName: "hideAfter" } : /* istanbul ignore next */ {}), alias: 'dbxActionWorking', transform: transformEmptyStringInputToUndefined });
|
|
2494
|
+
hideAfterIsWorking = input(undefined, { ...(ngDevMode ? { debugName: "hideAfterIsWorking" } : /* istanbul ignore next */ {}), alias: 'dbxActionIsWorking', transform: transformEmptyStringInputToUndefined });
|
|
2496
2495
|
hideAfterSignal = computed(() => {
|
|
2497
2496
|
const hideAfter = this.hideAfter();
|
|
2498
2497
|
const hideAfterIsWorking = this.hideAfterIsWorking();
|
|
2499
2498
|
return hideAfter ?? hideAfterIsWorking;
|
|
2500
|
-
}, ...(ngDevMode ? [{ debugName: "hideAfterSignal" }] : []));
|
|
2499
|
+
}, ...(ngDevMode ? [{ debugName: "hideAfterSignal" }] : /* istanbul ignore next */ []));
|
|
2501
2500
|
show$ = this._store.isWorking$.pipe(exhaustMap((isWorking) => {
|
|
2502
2501
|
const hideAfter = this.hideAfterSignal();
|
|
2503
2502
|
if (isWorking && hideAfter != null) {
|
|
@@ -2507,10 +2506,10 @@ class DbxActionIsWorkingDirective extends AbstractIfDirective {
|
|
|
2507
2506
|
return of(isWorking);
|
|
2508
2507
|
}
|
|
2509
2508
|
}), shareReplay(1));
|
|
2510
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2511
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
2509
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionIsWorkingDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2510
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.3", type: DbxActionIsWorkingDirective, isStandalone: true, selector: "[dbxActionWorking],[dbxActionIsWorking]", inputs: { hideAfter: { classPropertyName: "hideAfter", publicName: "dbxActionWorking", isSignal: true, isRequired: false, transformFunction: null }, hideAfterIsWorking: { classPropertyName: "hideAfterIsWorking", publicName: "dbxActionIsWorking", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
2512
2511
|
}
|
|
2513
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2512
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionIsWorkingDirective, decorators: [{
|
|
2514
2513
|
type: Directive,
|
|
2515
2514
|
args: [{
|
|
2516
2515
|
selector: '[dbxActionWorking],[dbxActionIsWorking]',
|
|
@@ -2547,7 +2546,7 @@ const APP_ACTION_ENFORCE_MODIFIED_DIRECTIVE_KEY = 'dbx_action_enforce_modified';
|
|
|
2547
2546
|
*/
|
|
2548
2547
|
class DbxActionEnforceModifiedDirective {
|
|
2549
2548
|
source = inject(DbxActionContextStoreSourceInstance, { host: true });
|
|
2550
|
-
enabled = input(true, { ...(ngDevMode ? { debugName: "enabled" } : {}), alias: 'dbxActionEnforceModified', transform: (value) => value !== false });
|
|
2549
|
+
enabled = input(true, { ...(ngDevMode ? { debugName: "enabled" } : /* istanbul ignore next */ {}), alias: 'dbxActionEnforceModified', transform: (value) => value !== false });
|
|
2551
2550
|
enabled$ = toObservable(this.enabled);
|
|
2552
2551
|
constructor() {
|
|
2553
2552
|
cleanSubscription(combineLatest([this.source.isModified$, this.enabled$])
|
|
@@ -2558,10 +2557,10 @@ class DbxActionEnforceModifiedDirective {
|
|
|
2558
2557
|
}));
|
|
2559
2558
|
clean(() => this.source.enable(APP_ACTION_ENFORCE_MODIFIED_DIRECTIVE_KEY));
|
|
2560
2559
|
}
|
|
2561
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2562
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
2560
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionEnforceModifiedDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2561
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.3", type: DbxActionEnforceModifiedDirective, isStandalone: true, selector: "[dbxActionEnforceModified]", inputs: { enabled: { classPropertyName: "enabled", publicName: "dbxActionEnforceModified", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
2563
2562
|
}
|
|
2564
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2563
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionEnforceModifiedDirective, decorators: [{
|
|
2565
2564
|
type: Directive,
|
|
2566
2565
|
args: [{
|
|
2567
2566
|
selector: '[dbxActionEnforceModified]',
|
|
@@ -2678,10 +2677,10 @@ class AbstractDbxActionValueGetterDirective {
|
|
|
2678
2677
|
});
|
|
2679
2678
|
});
|
|
2680
2679
|
}
|
|
2681
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2682
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
2680
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: AbstractDbxActionValueGetterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2681
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.3", type: AbstractDbxActionValueGetterDirective, isStandalone: true, ngImport: i0 });
|
|
2683
2682
|
}
|
|
2684
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2683
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: AbstractDbxActionValueGetterDirective, decorators: [{
|
|
2685
2684
|
type: Directive
|
|
2686
2685
|
}], ctorParameters: () => [] });
|
|
2687
2686
|
/**
|
|
@@ -2708,9 +2707,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
|
|
|
2708
2707
|
* @see {@link DbxActionValueDirective} for the always-available value approach.
|
|
2709
2708
|
*/
|
|
2710
2709
|
class DbxActionValueTriggerDirective extends AbstractDbxActionValueGetterDirective {
|
|
2711
|
-
dbxActionValueGetter = input(...(ngDevMode ? [undefined, { debugName: "dbxActionValueGetter" }] : []));
|
|
2712
|
-
dbxActionValueGetterIsModified = input(...(ngDevMode ? [undefined, { debugName: "dbxActionValueGetterIsModified" }] : []));
|
|
2713
|
-
dbxActionValueGetterIsEqual = input(...(ngDevMode ? [undefined, { debugName: "dbxActionValueGetterIsEqual" }] : []));
|
|
2710
|
+
dbxActionValueGetter = input(...(ngDevMode ? [undefined, { debugName: "dbxActionValueGetter" }] : /* istanbul ignore next */ []));
|
|
2711
|
+
dbxActionValueGetterIsModified = input(...(ngDevMode ? [undefined, { debugName: "dbxActionValueGetterIsModified" }] : /* istanbul ignore next */ []));
|
|
2712
|
+
dbxActionValueGetterIsEqual = input(...(ngDevMode ? [undefined, { debugName: "dbxActionValueGetterIsEqual" }] : /* istanbul ignore next */ []));
|
|
2714
2713
|
constructor() {
|
|
2715
2714
|
super();
|
|
2716
2715
|
this.configureInputs({
|
|
@@ -2719,10 +2718,10 @@ class DbxActionValueTriggerDirective extends AbstractDbxActionValueGetterDirecti
|
|
|
2719
2718
|
isEqualSignal: this.dbxActionValueGetterIsEqual
|
|
2720
2719
|
});
|
|
2721
2720
|
}
|
|
2722
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2723
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
2721
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionValueTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2722
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.3", type: DbxActionValueTriggerDirective, isStandalone: true, selector: "[dbxActionValueGetter]", inputs: { dbxActionValueGetter: { classPropertyName: "dbxActionValueGetter", publicName: "dbxActionValueGetter", isSignal: true, isRequired: false, transformFunction: null }, dbxActionValueGetterIsModified: { classPropertyName: "dbxActionValueGetterIsModified", publicName: "dbxActionValueGetterIsModified", isSignal: true, isRequired: false, transformFunction: null }, dbxActionValueGetterIsEqual: { classPropertyName: "dbxActionValueGetterIsEqual", publicName: "dbxActionValueGetterIsEqual", isSignal: true, isRequired: false, transformFunction: null } }, exportAs: ["dbxActionValueGetter"], usesInheritance: true, ngImport: i0 });
|
|
2724
2723
|
}
|
|
2725
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2724
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionValueTriggerDirective, decorators: [{
|
|
2726
2725
|
type: Directive,
|
|
2727
2726
|
args: [{
|
|
2728
2727
|
exportAs: 'dbxActionValueGetter',
|
|
@@ -2758,9 +2757,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
|
|
|
2758
2757
|
*/
|
|
2759
2758
|
class DbxActionValueStreamDirective {
|
|
2760
2759
|
source = inject((DbxActionContextStoreSourceInstance), { host: true });
|
|
2761
|
-
dbxActionValueStream = input(EMPTY, ...(ngDevMode ? [{ debugName: "dbxActionValueStream" }] : []));
|
|
2762
|
-
dbxActionValueStreamIsEqualValue = input(...(ngDevMode ? [undefined, { debugName: "dbxActionValueStreamIsEqualValue" }] : []));
|
|
2763
|
-
dbxActionValueStreamIsModifiedValue = input(...(ngDevMode ? [undefined, { debugName: "dbxActionValueStreamIsModifiedValue" }] : []));
|
|
2760
|
+
dbxActionValueStream = input(EMPTY, ...(ngDevMode ? [{ debugName: "dbxActionValueStream" }] : /* istanbul ignore next */ []));
|
|
2761
|
+
dbxActionValueStreamIsEqualValue = input(...(ngDevMode ? [undefined, { debugName: "dbxActionValueStreamIsEqualValue" }] : /* istanbul ignore next */ []));
|
|
2762
|
+
dbxActionValueStreamIsModifiedValue = input(...(ngDevMode ? [undefined, { debugName: "dbxActionValueStreamIsModifiedValue" }] : /* istanbul ignore next */ []));
|
|
2764
2763
|
isModifiedFunction$ = makeIsModifiedFunctionObservable({
|
|
2765
2764
|
isModified: toObservable(this.dbxActionValueStreamIsModifiedValue),
|
|
2766
2765
|
isEqual: toObservable(this.dbxActionValueStreamIsEqualValue)
|
|
@@ -2794,10 +2793,10 @@ class DbxActionValueStreamDirective {
|
|
|
2794
2793
|
})
|
|
2795
2794
|
});
|
|
2796
2795
|
}
|
|
2797
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2798
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
2796
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionValueStreamDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2797
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.3", type: DbxActionValueStreamDirective, isStandalone: true, selector: "[dbxActionValueStream]", inputs: { dbxActionValueStream: { classPropertyName: "dbxActionValueStream", publicName: "dbxActionValueStream", isSignal: true, isRequired: false, transformFunction: null }, dbxActionValueStreamIsEqualValue: { classPropertyName: "dbxActionValueStreamIsEqualValue", publicName: "dbxActionValueStreamIsEqualValue", isSignal: true, isRequired: false, transformFunction: null }, dbxActionValueStreamIsModifiedValue: { classPropertyName: "dbxActionValueStreamIsModifiedValue", publicName: "dbxActionValueStreamIsModifiedValue", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
2799
2798
|
}
|
|
2800
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2799
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionValueStreamDirective, decorators: [{
|
|
2801
2800
|
type: Directive,
|
|
2802
2801
|
args: [{
|
|
2803
2802
|
selector: '[dbxActionValueStream]',
|
|
@@ -2822,7 +2821,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
|
|
|
2822
2821
|
*/
|
|
2823
2822
|
class DbxActionTriggeredDirective extends AbstractIfDirective {
|
|
2824
2823
|
_store = inject(DbxActionContextStoreSourceInstance);
|
|
2825
|
-
hideAfter = input(undefined, { ...(ngDevMode ? { debugName: "hideAfter" } : {}), alias: 'dbxActionTriggered', transform: transformEmptyStringInputToUndefined });
|
|
2824
|
+
hideAfter = input(undefined, { ...(ngDevMode ? { debugName: "hideAfter" } : /* istanbul ignore next */ {}), alias: 'dbxActionTriggered', transform: transformEmptyStringInputToUndefined });
|
|
2826
2825
|
show$ = this._store.triggered$.pipe(exhaustMap((triggered) => {
|
|
2827
2826
|
if (triggered) {
|
|
2828
2827
|
return emitDelayObs(true, false, this.hideAfter());
|
|
@@ -2831,10 +2830,10 @@ class DbxActionTriggeredDirective extends AbstractIfDirective {
|
|
|
2831
2830
|
return of(false);
|
|
2832
2831
|
}
|
|
2833
2832
|
}), shareReplay(1));
|
|
2834
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2835
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
2833
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionTriggeredDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2834
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.3", type: DbxActionTriggeredDirective, isStandalone: true, selector: "[dbxActionTriggered]", inputs: { hideAfter: { classPropertyName: "hideAfter", publicName: "dbxActionTriggered", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
2836
2835
|
}
|
|
2837
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2836
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionTriggeredDirective, decorators: [{
|
|
2838
2837
|
type: Directive,
|
|
2839
2838
|
args: [{
|
|
2840
2839
|
selector: '[dbxActionTriggered]',
|
|
@@ -2870,8 +2869,8 @@ const importsAndExports$2 = [
|
|
|
2870
2869
|
* Contains all base DbxAction components.
|
|
2871
2870
|
*/
|
|
2872
2871
|
class DbxCoreActionModule {
|
|
2873
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2874
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
2872
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxCoreActionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2873
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.3", ngImport: i0, type: DbxCoreActionModule, imports: [DbxActionDirective,
|
|
2875
2874
|
DbxActionContextMapDirective,
|
|
2876
2875
|
DbxActionFromMapDirective,
|
|
2877
2876
|
DbxActionMapSourceDirective,
|
|
@@ -2914,9 +2913,9 @@ class DbxCoreActionModule {
|
|
|
2914
2913
|
DbxActionSuccessHandlerDirective,
|
|
2915
2914
|
DbxActionErrorHandlerDirective,
|
|
2916
2915
|
DbxActionIsWorkingDirective] });
|
|
2917
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
2916
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxCoreActionModule });
|
|
2918
2917
|
}
|
|
2919
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2918
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxCoreActionModule, decorators: [{
|
|
2920
2919
|
type: NgModule,
|
|
2921
2920
|
args: [{
|
|
2922
2921
|
imports: importsAndExports$2,
|
|
@@ -3873,10 +3872,10 @@ class DbxAppAuthRouterService {
|
|
|
3873
3872
|
goToApp() {
|
|
3874
3873
|
return goWithRouter(this.dbxRouterService)(this.dbxAppAuthRoutes.appRef);
|
|
3875
3874
|
}
|
|
3876
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3877
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
3875
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxAppAuthRouterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3876
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxAppAuthRouterService, providedIn: 'root' });
|
|
3878
3877
|
}
|
|
3879
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3878
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxAppAuthRouterService, decorators: [{
|
|
3880
3879
|
type: Injectable,
|
|
3881
3880
|
args: [{
|
|
3882
3881
|
providedIn: 'root'
|
|
@@ -3924,10 +3923,10 @@ class DbxAppAuthRouterEffects extends AbstractOnDbxAppContextStateEffects {
|
|
|
3924
3923
|
* Effect to redirect to the app when login occurs.
|
|
3925
3924
|
*/
|
|
3926
3925
|
redirectToOnboardOnLogIn = createEffect(() => this.actions$.pipe(ofType(loggedIn), switchMap(() => this.dbxAppAuthRouterService.shouldAuthEffectsRedirect$.pipe(first())), filter((shouldRedirect) => shouldRedirect), exhaustMap(() => this.dbxAppAuthRouterService.goToApp())), { dispatch: false });
|
|
3927
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3928
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
3926
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxAppAuthRouterEffects, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3927
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxAppAuthRouterEffects });
|
|
3929
3928
|
}
|
|
3930
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3929
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxAppAuthRouterEffects, decorators: [{
|
|
3931
3930
|
type: Injectable
|
|
3932
3931
|
}], ctorParameters: () => [] });
|
|
3933
3932
|
|
|
@@ -4122,10 +4121,10 @@ class DbxAppAuthEffects {
|
|
|
4122
4121
|
* Syncs the user's onboarding status from the auth service into the NgRx store.
|
|
4123
4122
|
*/
|
|
4124
4123
|
setUserIsOnboarded = createEffect(() => this.dbxAuthService.isOnboarded$.pipe(map((isOnboarded) => setUserIsOnboarded({ isOnboarded }))));
|
|
4125
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4126
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
4124
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxAppAuthEffects, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4125
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxAppAuthEffects });
|
|
4127
4126
|
}
|
|
4128
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4127
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxAppAuthEffects, decorators: [{
|
|
4129
4128
|
type: Injectable
|
|
4130
4129
|
}] });
|
|
4131
4130
|
|
|
@@ -4202,13 +4201,13 @@ function provideDbxAppAuth(config) {
|
|
|
4202
4201
|
*/
|
|
4203
4202
|
class DbxAuthHasAnyRoleDirective extends AbstractIfDirective {
|
|
4204
4203
|
_authService = inject(DbxAuthService);
|
|
4205
|
-
targetRoles = input(undefined, { ...(ngDevMode ? { debugName: "targetRoles" } : {}), alias: 'dbxAuthHasAnyRole' });
|
|
4204
|
+
targetRoles = input(undefined, { ...(ngDevMode ? { debugName: "targetRoles" } : /* istanbul ignore next */ {}), alias: 'dbxAuthHasAnyRole' });
|
|
4206
4205
|
targetRoles$ = toObservable(this.targetRoles);
|
|
4207
4206
|
show$ = this._authService.authRoles$.pipe(authRolesSetContainsAnyRoleFrom(this.targetRoles$));
|
|
4208
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4209
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
4207
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxAuthHasAnyRoleDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4208
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.3", type: DbxAuthHasAnyRoleDirective, isStandalone: true, selector: "[dbxAuthHasAnyRole]", inputs: { targetRoles: { classPropertyName: "targetRoles", publicName: "dbxAuthHasAnyRole", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
4210
4209
|
}
|
|
4211
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4210
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxAuthHasAnyRoleDirective, decorators: [{
|
|
4212
4211
|
type: Directive,
|
|
4213
4212
|
args: [{
|
|
4214
4213
|
selector: '[dbxAuthHasAnyRole]',
|
|
@@ -4238,13 +4237,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
|
|
|
4238
4237
|
*/
|
|
4239
4238
|
class DbxAuthHasRolesDirective extends AbstractIfDirective {
|
|
4240
4239
|
_authService = inject(DbxAuthService);
|
|
4241
|
-
targetRoles = input(undefined, { ...(ngDevMode ? { debugName: "targetRoles" } : {}), alias: 'dbxAuthHasRoles' });
|
|
4240
|
+
targetRoles = input(undefined, { ...(ngDevMode ? { debugName: "targetRoles" } : /* istanbul ignore next */ {}), alias: 'dbxAuthHasRoles' });
|
|
4242
4241
|
targetRoles$ = toObservable(this.targetRoles);
|
|
4243
4242
|
show$ = this._authService.authRoles$.pipe(authRolesSetContainsAllRolesFrom(this.targetRoles$));
|
|
4244
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4245
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
4243
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxAuthHasRolesDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4244
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.3", type: DbxAuthHasRolesDirective, isStandalone: true, selector: "[dbxAuthHasRoles]", inputs: { targetRoles: { classPropertyName: "targetRoles", publicName: "dbxAuthHasRoles", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
4246
4245
|
}
|
|
4247
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4246
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxAuthHasRolesDirective, decorators: [{
|
|
4248
4247
|
type: Directive,
|
|
4249
4248
|
args: [{
|
|
4250
4249
|
selector: '[dbxAuthHasRoles]',
|
|
@@ -4274,13 +4273,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
|
|
|
4274
4273
|
*/
|
|
4275
4274
|
class DbxAuthNotAnyRoleDirective extends AbstractIfDirective {
|
|
4276
4275
|
_authService = inject(DbxAuthService);
|
|
4277
|
-
targetRoles = input(undefined, { ...(ngDevMode ? { debugName: "targetRoles" } : {}), alias: 'dbxAuthNotAnyRole' });
|
|
4276
|
+
targetRoles = input(undefined, { ...(ngDevMode ? { debugName: "targetRoles" } : /* istanbul ignore next */ {}), alias: 'dbxAuthNotAnyRole' });
|
|
4278
4277
|
targetRoles$ = toObservable(this.targetRoles);
|
|
4279
4278
|
show$ = this._authService.authRoles$.pipe(authRolesSetContainsNoRolesFrom(this.targetRoles$));
|
|
4280
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4281
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
4279
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxAuthNotAnyRoleDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4280
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.3", type: DbxAuthNotAnyRoleDirective, isStandalone: true, selector: "[dbxAuthNotAnyRole]", inputs: { targetRoles: { classPropertyName: "targetRoles", publicName: "dbxAuthNotAnyRole", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
4282
4281
|
}
|
|
4283
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4282
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxAuthNotAnyRoleDirective, decorators: [{
|
|
4284
4283
|
type: Directive,
|
|
4285
4284
|
args: [{
|
|
4286
4285
|
selector: '[dbxAuthNotAnyRole]',
|
|
@@ -4317,10 +4316,10 @@ class DbxAppAuthStateService {
|
|
|
4317
4316
|
* Observable of the current {@link DbxAppAuthStateUser} from the NgRx store.
|
|
4318
4317
|
*/
|
|
4319
4318
|
authStateUser$ = this.store.select(selectDbxAppAuthUser);
|
|
4320
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4321
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
4319
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxAppAuthStateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4320
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxAppAuthStateService, providedIn: 'root' });
|
|
4322
4321
|
}
|
|
4323
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4322
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxAppAuthStateService, decorators: [{
|
|
4324
4323
|
type: Injectable,
|
|
4325
4324
|
args: [{
|
|
4326
4325
|
providedIn: 'root'
|
|
@@ -4399,10 +4398,10 @@ class DbxActionButtonTriggerDirective {
|
|
|
4399
4398
|
_buttonClicked() {
|
|
4400
4399
|
this.source.trigger();
|
|
4401
4400
|
}
|
|
4402
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4403
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
4401
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionButtonTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4402
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.3", type: DbxActionButtonTriggerDirective, isStandalone: true, selector: "[dbxActionButtonTrigger]", ngImport: i0 });
|
|
4404
4403
|
}
|
|
4405
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4404
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionButtonTriggerDirective, decorators: [{
|
|
4406
4405
|
type: Directive,
|
|
4407
4406
|
args: [{
|
|
4408
4407
|
selector: '[dbxActionButtonTrigger]',
|
|
@@ -4434,10 +4433,10 @@ class DbxActionButtonDirective extends DbxActionButtonTriggerDirective {
|
|
|
4434
4433
|
this.dbxButton.setDisabled(disabled);
|
|
4435
4434
|
}));
|
|
4436
4435
|
}
|
|
4437
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4438
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
4436
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4437
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.3", type: DbxActionButtonDirective, isStandalone: true, selector: "[dbxActionButton]", usesInheritance: true, ngImport: i0 });
|
|
4439
4438
|
}
|
|
4440
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4439
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxActionButtonDirective, decorators: [{
|
|
4441
4440
|
type: Directive,
|
|
4442
4441
|
args: [{
|
|
4443
4442
|
selector: '[dbxActionButton]',
|
|
@@ -4466,7 +4465,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
|
|
|
4466
4465
|
class DbxButtonSegueDirective {
|
|
4467
4466
|
dbxButton = inject(DbxButton);
|
|
4468
4467
|
dbxRouterService = inject(DbxRouterService);
|
|
4469
|
-
segueRef = input(undefined, { ...(ngDevMode ? { debugName: "segueRef" } : {}), alias: 'dbxButtonSegue' });
|
|
4468
|
+
segueRef = input(undefined, { ...(ngDevMode ? { debugName: "segueRef" } : /* istanbul ignore next */ {}), alias: 'dbxButtonSegue' });
|
|
4470
4469
|
constructor() {
|
|
4471
4470
|
cleanSubscription(() => this.dbxButton.clicked$.subscribe(() => {
|
|
4472
4471
|
const segueRef = this.segueRef();
|
|
@@ -4475,10 +4474,10 @@ class DbxButtonSegueDirective {
|
|
|
4475
4474
|
}
|
|
4476
4475
|
}));
|
|
4477
4476
|
}
|
|
4478
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4479
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
4477
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxButtonSegueDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4478
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.3", type: DbxButtonSegueDirective, isStandalone: true, selector: "[dbxButtonSegue]", inputs: { segueRef: { classPropertyName: "segueRef", publicName: "dbxButtonSegue", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
4480
4479
|
}
|
|
4481
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4480
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxButtonSegueDirective, decorators: [{
|
|
4482
4481
|
type: Directive,
|
|
4483
4482
|
args: [{
|
|
4484
4483
|
selector: '[dbxButtonSegue]',
|
|
@@ -4508,32 +4507,32 @@ class AbstractDbxButtonDirective {
|
|
|
4508
4507
|
_buttonClick = completeOnDestroy(new Subject());
|
|
4509
4508
|
_buttonInterceptor = completeOnDestroy(new BehaviorSubject(undefined));
|
|
4510
4509
|
buttonClick = output();
|
|
4511
|
-
disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : {}), transform: Boolean });
|
|
4512
|
-
working = input(false, { ...(ngDevMode ? { debugName: "working" } : {}), transform: (x) => (x == null ? false : x) });
|
|
4513
|
-
buttonDisplay = input(undefined, ...(ngDevMode ? [{ debugName: "buttonDisplay" }] : []));
|
|
4514
|
-
_disabledSignal = signal(undefined, ...(ngDevMode ? [{ debugName: "_disabledSignal" }] : []));
|
|
4515
|
-
_workingSignal = signal(undefined, ...(ngDevMode ? [{ debugName: "_workingSignal" }] : []));
|
|
4516
|
-
_buttonDisplayContentSignal = signal(undefined, ...(ngDevMode ? [{ debugName: "_buttonDisplayContentSignal" }] : []));
|
|
4517
|
-
disabledSignal = computed(() => this._disabledSignal() ?? this.disabled(), ...(ngDevMode ? [{ debugName: "disabledSignal" }] : []));
|
|
4518
|
-
workingSignal = computed(() => this._workingSignal() ?? this.working(), ...(ngDevMode ? [{ debugName: "workingSignal" }] : []));
|
|
4510
|
+
disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), transform: Boolean });
|
|
4511
|
+
working = input(false, { ...(ngDevMode ? { debugName: "working" } : /* istanbul ignore next */ {}), transform: (x) => (x == null ? false : x) });
|
|
4512
|
+
buttonDisplay = input(undefined, ...(ngDevMode ? [{ debugName: "buttonDisplay" }] : /* istanbul ignore next */ []));
|
|
4513
|
+
_disabledSignal = signal(undefined, ...(ngDevMode ? [{ debugName: "_disabledSignal" }] : /* istanbul ignore next */ []));
|
|
4514
|
+
_workingSignal = signal(undefined, ...(ngDevMode ? [{ debugName: "_workingSignal" }] : /* istanbul ignore next */ []));
|
|
4515
|
+
_buttonDisplayContentSignal = signal(undefined, ...(ngDevMode ? [{ debugName: "_buttonDisplayContentSignal" }] : /* istanbul ignore next */ []));
|
|
4516
|
+
disabledSignal = computed(() => this._disabledSignal() ?? this.disabled(), ...(ngDevMode ? [{ debugName: "disabledSignal" }] : /* istanbul ignore next */ []));
|
|
4517
|
+
workingSignal = computed(() => this._workingSignal() ?? this.working(), ...(ngDevMode ? [{ debugName: "workingSignal" }] : /* istanbul ignore next */ []));
|
|
4519
4518
|
isWorkingSignal = computed(() => {
|
|
4520
4519
|
const working = this.workingSignal();
|
|
4521
4520
|
return isDefinedAndNotFalse(working);
|
|
4522
|
-
}, ...(ngDevMode ? [{ debugName: "isWorkingSignal" }] : []));
|
|
4523
|
-
icon = input(...(ngDevMode ? [undefined, { debugName: "icon" }] : []));
|
|
4524
|
-
text = input(...(ngDevMode ? [undefined, { debugName: "text" }] : []));
|
|
4521
|
+
}, ...(ngDevMode ? [{ debugName: "isWorkingSignal" }] : /* istanbul ignore next */ []));
|
|
4522
|
+
icon = input(...(ngDevMode ? [undefined, { debugName: "icon" }] : /* istanbul ignore next */ []));
|
|
4523
|
+
text = input(...(ngDevMode ? [undefined, { debugName: "text" }] : /* istanbul ignore next */ []));
|
|
4525
4524
|
buttonDisplayContentSignal = computed(() => {
|
|
4526
4525
|
const icon = this.icon();
|
|
4527
4526
|
const text = this.text();
|
|
4528
4527
|
const buttonDisplay = this.buttonDisplay();
|
|
4529
4528
|
const buttonDisplayContent = this._buttonDisplayContentSignal() ?? buttonDisplay;
|
|
4530
4529
|
return { icon: icon || buttonDisplayContent?.icon, text: text || buttonDisplayContent?.text };
|
|
4531
|
-
}, ...(ngDevMode ? [{ debugName: "buttonDisplayContentSignal" }] : []));
|
|
4530
|
+
}, ...(ngDevMode ? [{ debugName: "buttonDisplayContentSignal" }] : /* istanbul ignore next */ []));
|
|
4532
4531
|
buttonDisplayTypeSignal = computed(() => {
|
|
4533
4532
|
return dbxButtonDisplayType(this.buttonDisplayContentSignal());
|
|
4534
|
-
}, ...(ngDevMode ? [{ debugName: "buttonDisplayTypeSignal" }] : []));
|
|
4535
|
-
iconSignal = computed(() => this.buttonDisplayContentSignal()?.icon, ...(ngDevMode ? [{ debugName: "iconSignal" }] : []));
|
|
4536
|
-
textSignal = computed(() => this.buttonDisplayContentSignal()?.text, ...(ngDevMode ? [{ debugName: "textSignal" }] : []));
|
|
4533
|
+
}, ...(ngDevMode ? [{ debugName: "buttonDisplayTypeSignal" }] : /* istanbul ignore next */ []));
|
|
4534
|
+
iconSignal = computed(() => this.buttonDisplayContentSignal()?.icon, ...(ngDevMode ? [{ debugName: "iconSignal" }] : /* istanbul ignore next */ []));
|
|
4535
|
+
textSignal = computed(() => this.buttonDisplayContentSignal()?.text, ...(ngDevMode ? [{ debugName: "textSignal" }] : /* istanbul ignore next */ []));
|
|
4537
4536
|
disabled$ = toObservable(this.disabledSignal);
|
|
4538
4537
|
working$ = toObservable(this.workingSignal);
|
|
4539
4538
|
display$ = toObservable(this.buttonDisplayContentSignal);
|
|
@@ -4584,10 +4583,10 @@ class AbstractDbxButtonDirective {
|
|
|
4584
4583
|
_forceButtonClicked() {
|
|
4585
4584
|
this.buttonClick.emit();
|
|
4586
4585
|
}
|
|
4587
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4588
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
4586
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: AbstractDbxButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4587
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.3", type: AbstractDbxButtonDirective, isStandalone: true, inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, working: { classPropertyName: "working", publicName: "working", isSignal: true, isRequired: false, transformFunction: null }, buttonDisplay: { classPropertyName: "buttonDisplay", publicName: "buttonDisplay", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { buttonClick: "buttonClick" }, ngImport: i0 });
|
|
4589
4588
|
}
|
|
4590
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4589
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: AbstractDbxButtonDirective, decorators: [{
|
|
4591
4590
|
type: Directive
|
|
4592
4591
|
}], ctorParameters: () => [], propDecorators: { buttonClick: [{ type: i0.Output, args: ["buttonClick"] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], working: [{ type: i0.Input, args: [{ isSignal: true, alias: "working", required: false }] }], buttonDisplay: [{ type: i0.Input, args: [{ isSignal: true, alias: "buttonDisplay", required: false }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: false }] }] } });
|
|
4593
4592
|
// MARK: Implementation
|
|
@@ -4611,10 +4610,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
|
|
|
4611
4610
|
* ```
|
|
4612
4611
|
*/
|
|
4613
4612
|
class DbxButtonDirective extends AbstractDbxButtonDirective {
|
|
4614
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4615
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
4613
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxButtonDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4614
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.3", type: DbxButtonDirective, isStandalone: true, selector: "[dbxButton]", providers: provideDbxButton(DbxButtonDirective), exportAs: ["dbxButton"], usesInheritance: true, ngImport: i0 });
|
|
4616
4615
|
}
|
|
4617
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4616
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxButtonDirective, decorators: [{
|
|
4618
4617
|
type: Directive,
|
|
4619
4618
|
args: [{
|
|
4620
4619
|
selector: '[dbxButton]',
|
|
@@ -4642,7 +4641,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
|
|
|
4642
4641
|
*/
|
|
4643
4642
|
class DbxLoadingButtonDirective {
|
|
4644
4643
|
dbxButton = inject(DbxButton, { host: true });
|
|
4645
|
-
context = input.required({ ...(ngDevMode ? { debugName: "context" } : {}), alias: 'dbxLoadingButton' });
|
|
4644
|
+
context = input.required({ ...(ngDevMode ? { debugName: "context" } : /* istanbul ignore next */ {}), alias: 'dbxLoadingButton' });
|
|
4646
4645
|
context$ = toObservable(this.context).pipe(maybeValueFromObservableOrValue(), distinctUntilChanged(), shareReplay(1));
|
|
4647
4646
|
contextSignal = toSignal(this.context$);
|
|
4648
4647
|
_loadingEffectSub = cleanSubscription();
|
|
@@ -4653,11 +4652,11 @@ class DbxLoadingButtonDirective {
|
|
|
4653
4652
|
subscription = context.stream$.subscribe((x) => this.dbxButton.setWorking(x.loading));
|
|
4654
4653
|
}
|
|
4655
4654
|
this._loadingEffectSub.setSub(subscription);
|
|
4656
|
-
}, ...(ngDevMode ? [{ debugName: "_loadingEffect" }] : []));
|
|
4657
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4658
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
4655
|
+
}, ...(ngDevMode ? [{ debugName: "_loadingEffect" }] : /* istanbul ignore next */ []));
|
|
4656
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxLoadingButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4657
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.3", type: DbxLoadingButtonDirective, isStandalone: true, selector: "[dbxLoadingButton]", inputs: { context: { classPropertyName: "context", publicName: "dbxLoadingButton", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 });
|
|
4659
4658
|
}
|
|
4660
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4659
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxLoadingButtonDirective, decorators: [{
|
|
4661
4660
|
type: Directive,
|
|
4662
4661
|
args: [{
|
|
4663
4662
|
selector: '[dbxLoadingButton]',
|
|
@@ -4675,11 +4674,11 @@ const importsAndExports$1 = [DbxButtonDirective, DbxLoadingButtonDirective, DbxA
|
|
|
4675
4674
|
* - DbxButtonSegueDirective
|
|
4676
4675
|
*/
|
|
4677
4676
|
class DbxCoreButtonModule {
|
|
4678
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4679
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
4680
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
4677
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxCoreButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4678
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.3", ngImport: i0, type: DbxCoreButtonModule, imports: [DbxButtonDirective, DbxLoadingButtonDirective, DbxActionButtonTriggerDirective, DbxActionButtonDirective, DbxButtonSegueDirective], exports: [DbxButtonDirective, DbxLoadingButtonDirective, DbxActionButtonTriggerDirective, DbxActionButtonDirective, DbxButtonSegueDirective] });
|
|
4679
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxCoreButtonModule });
|
|
4681
4680
|
}
|
|
4682
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4681
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxCoreButtonModule, decorators: [{
|
|
4683
4682
|
type: NgModule,
|
|
4684
4683
|
args: [{
|
|
4685
4684
|
imports: importsAndExports$1,
|
|
@@ -4714,10 +4713,10 @@ class DbxAppContextService {
|
|
|
4714
4713
|
resetState() {
|
|
4715
4714
|
this.store.next(resetState());
|
|
4716
4715
|
}
|
|
4717
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4718
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
4716
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxAppContextService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4717
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxAppContextService, providedIn: 'root' });
|
|
4719
4718
|
}
|
|
4720
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4719
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxAppContextService, decorators: [{
|
|
4721
4720
|
type: Injectable,
|
|
4722
4721
|
args: [{
|
|
4723
4722
|
providedIn: 'root'
|
|
@@ -4744,17 +4743,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
|
|
|
4744
4743
|
*/
|
|
4745
4744
|
class DbxAppContextStateDirective {
|
|
4746
4745
|
dbxAppContextStateService = inject(DbxAppContextService);
|
|
4747
|
-
state = input(undefined, { ...(ngDevMode ? { debugName: "state" } : {}), alias: 'dbxAppContextState' });
|
|
4746
|
+
state = input(undefined, { ...(ngDevMode ? { debugName: "state" } : /* istanbul ignore next */ {}), alias: 'dbxAppContextState' });
|
|
4748
4747
|
_stateEffect = effect(() => {
|
|
4749
4748
|
const state = this.state();
|
|
4750
4749
|
if (state != null) {
|
|
4751
4750
|
this.dbxAppContextStateService.setState(state);
|
|
4752
4751
|
}
|
|
4753
|
-
}, ...(ngDevMode ? [{ debugName: "_stateEffect" }] : []));
|
|
4754
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4755
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
4752
|
+
}, ...(ngDevMode ? [{ debugName: "_stateEffect" }] : /* istanbul ignore next */ []));
|
|
4753
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxAppContextStateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4754
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.3", type: DbxAppContextStateDirective, isStandalone: true, selector: "[dbxAppContextState]", inputs: { state: { classPropertyName: "state", publicName: "dbxAppContextState", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
4756
4755
|
}
|
|
4757
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4756
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxAppContextStateDirective, decorators: [{
|
|
4758
4757
|
type: Directive,
|
|
4759
4758
|
args: [{
|
|
4760
4759
|
selector: '[dbxAppContextState]',
|
|
@@ -4828,10 +4827,10 @@ class DbxAppEnviromentService {
|
|
|
4828
4827
|
getEnvironment() {
|
|
4829
4828
|
return this.environment;
|
|
4830
4829
|
}
|
|
4831
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4832
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
4830
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxAppEnviromentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4831
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxAppEnviromentService });
|
|
4833
4832
|
}
|
|
4834
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4833
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxAppEnviromentService, decorators: [{
|
|
4835
4834
|
type: Injectable
|
|
4836
4835
|
}] });
|
|
4837
4836
|
|
|
@@ -4999,19 +4998,19 @@ class AbstractDbxAnchorDirective {
|
|
|
4999
4998
|
/**
|
|
5000
4999
|
* Model input for the segue ref or router link to navigate to.
|
|
5001
5000
|
*/
|
|
5002
|
-
ref = model(...(ngDevMode ? [undefined, { debugName: "ref" }] : []));
|
|
5001
|
+
ref = model(...(ngDevMode ? [undefined, { debugName: "ref" }] : /* istanbul ignore next */ []));
|
|
5003
5002
|
/**
|
|
5004
5003
|
* Model input for the full anchor configuration object.
|
|
5005
5004
|
*/
|
|
5006
|
-
anchor = model(...(ngDevMode ? [undefined, { debugName: "anchor" }] : []));
|
|
5005
|
+
anchor = model(...(ngDevMode ? [undefined, { debugName: "anchor" }] : /* istanbul ignore next */ []));
|
|
5007
5006
|
/**
|
|
5008
5007
|
* Model input for externally controlling the disabled state.
|
|
5009
5008
|
*/
|
|
5010
|
-
disabled = model(...(ngDevMode ? [undefined, { debugName: "disabled" }] : []));
|
|
5009
|
+
disabled = model(...(ngDevMode ? [undefined, { debugName: "disabled" }] : /* istanbul ignore next */ []));
|
|
5011
5010
|
/**
|
|
5012
5011
|
* Model input for externally controlling the selected state.
|
|
5013
5012
|
*/
|
|
5014
|
-
selected = model(...(ngDevMode ? [undefined, { debugName: "selected" }] : []));
|
|
5013
|
+
selected = model(...(ngDevMode ? [undefined, { debugName: "selected" }] : /* istanbul ignore next */ []));
|
|
5015
5014
|
/**
|
|
5016
5015
|
* Computed anchor that merges the `ref` input with the `anchor` input, preferring `ref` when set.
|
|
5017
5016
|
*/
|
|
@@ -5023,7 +5022,7 @@ class AbstractDbxAnchorDirective {
|
|
|
5023
5022
|
result = asSegueRef(ref);
|
|
5024
5023
|
}
|
|
5025
5024
|
return result;
|
|
5026
|
-
}, ...(ngDevMode ? [{ debugName: "anchorSignal" }] : []));
|
|
5025
|
+
}, ...(ngDevMode ? [{ debugName: "anchorSignal" }] : /* istanbul ignore next */ []));
|
|
5027
5026
|
/**
|
|
5028
5027
|
* Computed selected state that combines the `selected` input with the anchor's own `selected` property.
|
|
5029
5028
|
*/
|
|
@@ -5031,7 +5030,7 @@ class AbstractDbxAnchorDirective {
|
|
|
5031
5030
|
const selected = this.selected();
|
|
5032
5031
|
const anchor = this.anchorSignal();
|
|
5033
5032
|
return selected || anchor?.selected;
|
|
5034
|
-
}, ...(ngDevMode ? [{ debugName: "selectedSignal" }] : []));
|
|
5033
|
+
}, ...(ngDevMode ? [{ debugName: "selectedSignal" }] : /* istanbul ignore next */ []));
|
|
5035
5034
|
/**
|
|
5036
5035
|
* Computed {@link ClickableAnchorType} derived from the current anchor and disabled state.
|
|
5037
5036
|
*/
|
|
@@ -5039,7 +5038,7 @@ class AbstractDbxAnchorDirective {
|
|
|
5039
5038
|
const anchor = this.anchorSignal();
|
|
5040
5039
|
const disabled = this.disabled();
|
|
5041
5040
|
return anchorTypeForAnchor(anchor, disabled);
|
|
5042
|
-
}, ...(ngDevMode ? [{ debugName: "typeSignal" }] : []));
|
|
5041
|
+
}, ...(ngDevMode ? [{ debugName: "typeSignal" }] : /* istanbul ignore next */ []));
|
|
5043
5042
|
/**
|
|
5044
5043
|
* Computed disabled state that combines the `disabled` input with the anchor's own `disabled` property.
|
|
5045
5044
|
*/
|
|
@@ -5047,15 +5046,15 @@ class AbstractDbxAnchorDirective {
|
|
|
5047
5046
|
const disabled = this.disabled();
|
|
5048
5047
|
const anchor = this.anchorSignal();
|
|
5049
5048
|
return disabled || anchor?.disabled;
|
|
5050
|
-
}, ...(ngDevMode ? [{ debugName: "disabledSignal" }] : []));
|
|
5049
|
+
}, ...(ngDevMode ? [{ debugName: "disabledSignal" }] : /* istanbul ignore next */ []));
|
|
5051
5050
|
/**
|
|
5052
5051
|
* Computed URL extracted from the current anchor's `url` property.
|
|
5053
5052
|
*/
|
|
5054
|
-
urlSignal = computed(() => this.anchorSignal()?.url, ...(ngDevMode ? [{ debugName: "urlSignal" }] : []));
|
|
5053
|
+
urlSignal = computed(() => this.anchorSignal()?.url, ...(ngDevMode ? [{ debugName: "urlSignal" }] : /* istanbul ignore next */ []));
|
|
5055
5054
|
/**
|
|
5056
5055
|
* Computed target (e.g., `_blank`) extracted from the current anchor's `target` property.
|
|
5057
5056
|
*/
|
|
5058
|
-
targetSignal = computed(() => this.anchorSignal()?.target, ...(ngDevMode ? [{ debugName: "targetSignal" }] : []));
|
|
5057
|
+
targetSignal = computed(() => this.anchorSignal()?.target, ...(ngDevMode ? [{ debugName: "targetSignal" }] : /* istanbul ignore next */ []));
|
|
5059
5058
|
anchor$ = toObservable(this.anchorSignal);
|
|
5060
5059
|
disabled$ = toObservable(this.disabledSignal);
|
|
5061
5060
|
selected$ = toObservable(this.selectedSignal);
|
|
@@ -5093,10 +5092,10 @@ class AbstractDbxAnchorDirective {
|
|
|
5093
5092
|
setSelected(selected) {
|
|
5094
5093
|
this.selected.set(selected);
|
|
5095
5094
|
}
|
|
5096
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5097
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
5095
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: AbstractDbxAnchorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5096
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.3", type: AbstractDbxAnchorDirective, isStandalone: true, inputs: { ref: { classPropertyName: "ref", publicName: "ref", isSignal: true, isRequired: false, transformFunction: null }, anchor: { classPropertyName: "anchor", publicName: "anchor", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ref: "refChange", anchor: "anchorChange", disabled: "disabledChange", selected: "selectedChange" }, ngImport: i0 });
|
|
5098
5097
|
}
|
|
5099
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5098
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: AbstractDbxAnchorDirective, decorators: [{
|
|
5100
5099
|
type: Directive
|
|
5101
5100
|
}], propDecorators: { ref: [{ type: i0.Input, args: [{ isSignal: true, alias: "ref", required: false }] }, { type: i0.Output, args: ["refChange"] }], anchor: [{ type: i0.Input, args: [{ isSignal: true, alias: "anchor", required: false }] }, { type: i0.Output, args: ["anchorChange"] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }, { type: i0.Output, args: ["disabledChange"] }], selected: [{ type: i0.Input, args: [{ isSignal: true, alias: "selected", required: false }] }, { type: i0.Output, args: ["selectedChange"] }] } });
|
|
5102
5101
|
|
|
@@ -5340,10 +5339,10 @@ class DbxAngularRouterService {
|
|
|
5340
5339
|
comparePrecision(_a, _b) {
|
|
5341
5340
|
return 0; // TODO!
|
|
5342
5341
|
}
|
|
5343
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5344
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
5342
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxAngularRouterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5343
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxAngularRouterService });
|
|
5345
5344
|
}
|
|
5346
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5345
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxAngularRouterService, decorators: [{
|
|
5347
5346
|
type: Injectable
|
|
5348
5347
|
}] });
|
|
5349
5348
|
|
|
@@ -5382,11 +5381,11 @@ class DbxCoreAngularRouterSegueModule {
|
|
|
5382
5381
|
]
|
|
5383
5382
|
};
|
|
5384
5383
|
}
|
|
5385
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5386
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
5387
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
5384
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxCoreAngularRouterSegueModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5385
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.3", ngImport: i0, type: DbxCoreAngularRouterSegueModule });
|
|
5386
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxCoreAngularRouterSegueModule });
|
|
5388
5387
|
}
|
|
5389
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5388
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxCoreAngularRouterSegueModule, decorators: [{
|
|
5390
5389
|
type: NgModule,
|
|
5391
5390
|
args: [{}]
|
|
5392
5391
|
}] });
|
|
@@ -5498,10 +5497,10 @@ class DbxUIRouterService {
|
|
|
5498
5497
|
const targetRef = ref.startsWith('.') ? `^${ref}` : ref;
|
|
5499
5498
|
return exactly ? this.state.is(targetRef, refParams) : this.state.includes(targetRef, refParams);
|
|
5500
5499
|
}
|
|
5501
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5502
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
5500
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxUIRouterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5501
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxUIRouterService });
|
|
5503
5502
|
}
|
|
5504
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5503
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxUIRouterService, decorators: [{
|
|
5505
5504
|
type: Injectable
|
|
5506
5505
|
}], ctorParameters: () => [] });
|
|
5507
5506
|
|
|
@@ -5648,10 +5647,10 @@ class AbstractTransitionDirective {
|
|
|
5648
5647
|
* Observable that emits immediately on initialization and on each subsequent successful transition.
|
|
5649
5648
|
*/
|
|
5650
5649
|
initAndUpdateOnTransitionSuccess$ = this.transitionSuccess$.pipe(startWith(undefined));
|
|
5651
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5652
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
5650
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: AbstractTransitionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5651
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.3", type: AbstractTransitionDirective, isStandalone: true, ngImport: i0 });
|
|
5653
5652
|
}
|
|
5654
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5653
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: AbstractTransitionDirective, decorators: [{
|
|
5655
5654
|
type: Directive
|
|
5656
5655
|
}] });
|
|
5657
5656
|
|
|
@@ -5689,10 +5688,10 @@ class AbstractTransitionWatcherDirective extends AbstractTransitionDirective {
|
|
|
5689
5688
|
// remove this function and replace, if necessary or remove entirely with angular zoneless implementation details.
|
|
5690
5689
|
this.ngZone.run(() => this.updateForSuccessfulTransition());
|
|
5691
5690
|
}
|
|
5692
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5693
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
5691
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: AbstractTransitionWatcherDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5692
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.3", type: AbstractTransitionWatcherDirective, isStandalone: true, usesInheritance: true, ngImport: i0 });
|
|
5694
5693
|
}
|
|
5695
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5694
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: AbstractTransitionWatcherDirective, decorators: [{
|
|
5696
5695
|
type: Directive
|
|
5697
5696
|
}], ctorParameters: () => [] });
|
|
5698
5697
|
|
|
@@ -6092,10 +6091,10 @@ class DbxRouteModelIdFromAuthUserIdDirective {
|
|
|
6092
6091
|
constructor() {
|
|
6093
6092
|
cleanSubscription(this.dbxRouteModelIdDelegate.useRouteModelIdParamsObservable(this.dbxAuthService.userIdentifier$, this.dbxAuthService.userIdentifier$));
|
|
6094
6093
|
}
|
|
6095
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6096
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
6094
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxRouteModelIdFromAuthUserIdDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6095
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.3", type: DbxRouteModelIdFromAuthUserIdDirective, isStandalone: true, selector: "[dbxRouteModelIdFromAuthUserId]", ngImport: i0 });
|
|
6097
6096
|
}
|
|
6098
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6097
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxRouteModelIdFromAuthUserIdDirective, decorators: [{
|
|
6099
6098
|
type: Directive,
|
|
6100
6099
|
args: [{
|
|
6101
6100
|
selector: '[dbxRouteModelIdFromAuthUserId]',
|
|
@@ -6159,10 +6158,10 @@ class DbxRouteModelIdDirective {
|
|
|
6159
6158
|
set dbxRouteModelIdDefaultDecision(decider) {
|
|
6160
6159
|
this._redirectInstance.setDecider(decider);
|
|
6161
6160
|
}
|
|
6162
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6163
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
6161
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxRouteModelIdDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6162
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.3", type: DbxRouteModelIdDirective, isStandalone: true, selector: "[dbxRouteModelId]", inputs: { idParam: ["dbxRouteModelId", "idParam"], dbxRouteModelIdDefault: "dbxRouteModelIdDefault", dbxRouteModelIdDefaultRedirect: "dbxRouteModelIdDefaultRedirect", dbxRouteModelIdDefaultDecision: "dbxRouteModelIdDefaultDecision" }, ngImport: i0 });
|
|
6164
6163
|
}
|
|
6165
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6164
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxRouteModelIdDirective, decorators: [{
|
|
6166
6165
|
type: Directive,
|
|
6167
6166
|
args: [{
|
|
6168
6167
|
selector: '[dbxRouteModelId]',
|
|
@@ -6236,10 +6235,10 @@ class DbxRouteModelKeyDirective {
|
|
|
6236
6235
|
set dbxRouteModelKeyDefaultDecision(decider) {
|
|
6237
6236
|
this._redirectInstance.setDecider(decider);
|
|
6238
6237
|
}
|
|
6239
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6240
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
6238
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxRouteModelKeyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6239
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.3", type: DbxRouteModelKeyDirective, isStandalone: true, selector: "[dbxRouteModelKey]", inputs: { keyParam: ["dbxRouteModelKey", "keyParam"], dbxRouteModelKeyDefault: "dbxRouteModelKeyDefault", dbxRouteModelKeyDefaultRedirect: "dbxRouteModelKeyDefaultRedirect", dbxRouteModelKeyDefaultDecision: "dbxRouteModelKeyDefaultDecision" }, ngImport: i0 });
|
|
6241
6240
|
}
|
|
6242
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6241
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxRouteModelKeyDirective, decorators: [{
|
|
6243
6242
|
type: Directive,
|
|
6244
6243
|
args: [{
|
|
6245
6244
|
selector: '[dbxRouteModelKey]',
|
|
@@ -6271,10 +6270,10 @@ class AsObservablePipe {
|
|
|
6271
6270
|
transform(input) {
|
|
6272
6271
|
return asObservableFromGetter(input);
|
|
6273
6272
|
}
|
|
6274
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6275
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6273
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: AsObservablePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6274
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.3", ngImport: i0, type: AsObservablePipe, isStandalone: true, name: "asObservable" });
|
|
6276
6275
|
}
|
|
6277
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6276
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: AsObservablePipe, decorators: [{
|
|
6278
6277
|
type: Pipe,
|
|
6279
6278
|
args: [{
|
|
6280
6279
|
name: 'asObservable',
|
|
@@ -6305,10 +6304,10 @@ class DateDayRangePipe {
|
|
|
6305
6304
|
return unavailable;
|
|
6306
6305
|
}
|
|
6307
6306
|
}
|
|
6308
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6309
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6307
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DateDayRangePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6308
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.3", ngImport: i0, type: DateDayRangePipe, isStandalone: true, name: "dateDayRange" });
|
|
6310
6309
|
}
|
|
6311
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6310
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DateDayRangePipe, decorators: [{
|
|
6312
6311
|
type: Pipe,
|
|
6313
6312
|
args: [{
|
|
6314
6313
|
name: 'dateDayRange',
|
|
@@ -6345,10 +6344,10 @@ class ToJsDatePipe {
|
|
|
6345
6344
|
transform(input) {
|
|
6346
6345
|
return ToJsDatePipe.toJsDate(input);
|
|
6347
6346
|
}
|
|
6348
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6349
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6347
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: ToJsDatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6348
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.3", ngImport: i0, type: ToJsDatePipe, isStandalone: true, name: "toJsDate" });
|
|
6350
6349
|
}
|
|
6351
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6350
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: ToJsDatePipe, decorators: [{
|
|
6352
6351
|
type: Pipe,
|
|
6353
6352
|
args: [{
|
|
6354
6353
|
name: 'toJsDate',
|
|
@@ -6385,10 +6384,10 @@ class DateDistancePipe {
|
|
|
6385
6384
|
return unavailable;
|
|
6386
6385
|
}
|
|
6387
6386
|
}
|
|
6388
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6389
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6387
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DateDistancePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6388
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.3", ngImport: i0, type: DateDistancePipe, isStandalone: true, name: "dateDistance", pure: false });
|
|
6390
6389
|
}
|
|
6391
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6390
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DateDistancePipe, decorators: [{
|
|
6392
6391
|
type: Pipe,
|
|
6393
6392
|
args: [{
|
|
6394
6393
|
name: 'dateDistance',
|
|
@@ -6427,10 +6426,10 @@ class DateFormatDistancePipe {
|
|
|
6427
6426
|
}
|
|
6428
6427
|
return undefined;
|
|
6429
6428
|
}
|
|
6430
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6431
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6429
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DateFormatDistancePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6430
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.3", ngImport: i0, type: DateFormatDistancePipe, isStandalone: true, name: "dateFormatDistance", pure: false });
|
|
6432
6431
|
}
|
|
6433
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6432
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DateFormatDistancePipe, decorators: [{
|
|
6434
6433
|
type: Pipe,
|
|
6435
6434
|
args: [{
|
|
6436
6435
|
name: 'dateFormatDistance',
|
|
@@ -6466,10 +6465,10 @@ class DateFormatFromToPipe {
|
|
|
6466
6465
|
transform(input, format, minutes) {
|
|
6467
6466
|
return DateFormatFromToPipe.formatFromTo(input, format, minutes, this.locale);
|
|
6468
6467
|
}
|
|
6469
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6470
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6468
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DateFormatFromToPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6469
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.3", ngImport: i0, type: DateFormatFromToPipe, isStandalone: true, name: "dateFormatFromTo" });
|
|
6471
6470
|
}
|
|
6472
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6471
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DateFormatFromToPipe, decorators: [{
|
|
6473
6472
|
type: Pipe,
|
|
6474
6473
|
args: [{
|
|
6475
6474
|
name: 'dateFormatFromTo',
|
|
@@ -6501,10 +6500,10 @@ class DateDayTimeRangePipe {
|
|
|
6501
6500
|
return unavailable;
|
|
6502
6501
|
}
|
|
6503
6502
|
}
|
|
6504
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6505
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6503
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DateDayTimeRangePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6504
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.3", ngImport: i0, type: DateDayTimeRangePipe, isStandalone: true, name: "dateDayTimeRange" });
|
|
6506
6505
|
}
|
|
6507
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6506
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DateDayTimeRangePipe, decorators: [{
|
|
6508
6507
|
type: Pipe,
|
|
6509
6508
|
args: [{
|
|
6510
6509
|
name: 'dateDayTimeRange',
|
|
@@ -6536,10 +6535,10 @@ class DateTimeRangePipe {
|
|
|
6536
6535
|
return unavailable;
|
|
6537
6536
|
}
|
|
6538
6537
|
}
|
|
6539
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6540
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6538
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DateTimeRangePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6539
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.3", ngImport: i0, type: DateTimeRangePipe, isStandalone: true, name: "dateTimeRange" });
|
|
6541
6540
|
}
|
|
6542
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6541
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DateTimeRangePipe, decorators: [{
|
|
6543
6542
|
type: Pipe,
|
|
6544
6543
|
args: [{
|
|
6545
6544
|
name: 'dateTimeRange',
|
|
@@ -6572,10 +6571,10 @@ class DateRangeDistancePipe {
|
|
|
6572
6571
|
return unavailable;
|
|
6573
6572
|
}
|
|
6574
6573
|
}
|
|
6575
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6576
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6574
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DateRangeDistancePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6575
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.3", ngImport: i0, type: DateRangeDistancePipe, isStandalone: true, name: "dateRangeDistance", pure: false });
|
|
6577
6576
|
}
|
|
6578
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6577
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DateRangeDistancePipe, decorators: [{
|
|
6579
6578
|
type: Pipe,
|
|
6580
6579
|
args: [{
|
|
6581
6580
|
name: 'dateRangeDistance',
|
|
@@ -6607,10 +6606,10 @@ class DateTimeRangeOnlyPipe {
|
|
|
6607
6606
|
return unavailable;
|
|
6608
6607
|
}
|
|
6609
6608
|
}
|
|
6610
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6611
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6609
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DateTimeRangeOnlyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6610
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.3", ngImport: i0, type: DateTimeRangeOnlyPipe, isStandalone: true, name: "dateTimeRangeOnly" });
|
|
6612
6611
|
}
|
|
6613
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6612
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DateTimeRangeOnlyPipe, decorators: [{
|
|
6614
6613
|
type: Pipe,
|
|
6615
6614
|
args: [{
|
|
6616
6615
|
name: 'dateTimeRangeOnly',
|
|
@@ -6641,10 +6640,10 @@ class TargetDateToSystemDatePipe {
|
|
|
6641
6640
|
return undefined;
|
|
6642
6641
|
}
|
|
6643
6642
|
}
|
|
6644
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6645
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6643
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: TargetDateToSystemDatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6644
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.3", ngImport: i0, type: TargetDateToSystemDatePipe, isStandalone: true, name: "targetDateToSystemDate", pure: false });
|
|
6646
6645
|
}
|
|
6647
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6646
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: TargetDateToSystemDatePipe, decorators: [{
|
|
6648
6647
|
type: Pipe,
|
|
6649
6648
|
args: [{
|
|
6650
6649
|
name: 'targetDateToSystemDate',
|
|
@@ -6680,10 +6679,10 @@ class DateTimeRangeOnlyDistancePipe {
|
|
|
6680
6679
|
return unavailable;
|
|
6681
6680
|
}
|
|
6682
6681
|
}
|
|
6683
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6684
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6682
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DateTimeRangeOnlyDistancePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6683
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.3", ngImport: i0, type: DateTimeRangeOnlyDistancePipe, isStandalone: true, name: "dateTimeRangeOnlyDistance" });
|
|
6685
6684
|
}
|
|
6686
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6685
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DateTimeRangeOnlyDistancePipe, decorators: [{
|
|
6687
6686
|
type: Pipe,
|
|
6688
6687
|
args: [{
|
|
6689
6688
|
name: 'dateTimeRangeOnlyDistance',
|
|
@@ -6717,10 +6716,10 @@ class TimezoneAbbreviationPipe {
|
|
|
6717
6716
|
return undefined;
|
|
6718
6717
|
}
|
|
6719
6718
|
}
|
|
6720
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6721
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6719
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: TimezoneAbbreviationPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6720
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.3", ngImport: i0, type: TimezoneAbbreviationPipe, isStandalone: true, name: "timezoneAbbreviation", pure: false });
|
|
6722
6721
|
}
|
|
6723
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6722
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: TimezoneAbbreviationPipe, decorators: [{
|
|
6724
6723
|
type: Pipe,
|
|
6725
6724
|
args: [{
|
|
6726
6725
|
name: 'timezoneAbbreviation',
|
|
@@ -6750,10 +6749,10 @@ class SystemDateToTargetDatePipe {
|
|
|
6750
6749
|
return undefined;
|
|
6751
6750
|
}
|
|
6752
6751
|
}
|
|
6753
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6754
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6752
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: SystemDateToTargetDatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6753
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.3", ngImport: i0, type: SystemDateToTargetDatePipe, isStandalone: true, name: "systemDateToTargetDate", pure: false });
|
|
6755
6754
|
}
|
|
6756
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6755
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: SystemDateToTargetDatePipe, decorators: [{
|
|
6757
6756
|
type: Pipe,
|
|
6758
6757
|
args: [{
|
|
6759
6758
|
name: 'systemDateToTargetDate',
|
|
@@ -6804,10 +6803,10 @@ class MinutesStringPipe {
|
|
|
6804
6803
|
}
|
|
6805
6804
|
return result;
|
|
6806
6805
|
}
|
|
6807
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6808
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6806
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: MinutesStringPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6807
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.3", ngImport: i0, type: MinutesStringPipe, isStandalone: true, name: "minutesString", pure: false });
|
|
6809
6808
|
}
|
|
6810
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6809
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: MinutesStringPipe, decorators: [{
|
|
6811
6810
|
type: Pipe,
|
|
6812
6811
|
args: [{
|
|
6813
6812
|
name: 'minutesString',
|
|
@@ -6850,10 +6849,10 @@ class TimeDistanceCountdownPipe {
|
|
|
6850
6849
|
return unavailable;
|
|
6851
6850
|
}
|
|
6852
6851
|
}
|
|
6853
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6854
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6852
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: TimeDistanceCountdownPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6853
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.3", ngImport: i0, type: TimeDistanceCountdownPipe, isStandalone: true, name: "timeCountdownDistance", pure: false });
|
|
6855
6854
|
}
|
|
6856
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6855
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: TimeDistanceCountdownPipe, decorators: [{
|
|
6857
6856
|
type: Pipe,
|
|
6858
6857
|
args: [{
|
|
6859
6858
|
name: 'timeCountdownDistance',
|
|
@@ -6891,10 +6890,10 @@ class TimeDistancePipe {
|
|
|
6891
6890
|
return unavailable;
|
|
6892
6891
|
}
|
|
6893
6892
|
}
|
|
6894
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6895
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6893
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: TimeDistancePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6894
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.3", ngImport: i0, type: TimeDistancePipe, isStandalone: true, name: "timeDistance", pure: false });
|
|
6896
6895
|
}
|
|
6897
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6896
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: TimeDistancePipe, decorators: [{
|
|
6898
6897
|
type: Pipe,
|
|
6899
6898
|
args: [{
|
|
6900
6899
|
name: 'timeDistance',
|
|
@@ -6925,10 +6924,10 @@ class ToMinutesPipe {
|
|
|
6925
6924
|
}
|
|
6926
6925
|
return result;
|
|
6927
6926
|
}
|
|
6928
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6929
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6927
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: ToMinutesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6928
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.3", ngImport: i0, type: ToMinutesPipe, isStandalone: true, name: "toMinutes" });
|
|
6930
6929
|
}
|
|
6931
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6930
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: ToMinutesPipe, decorators: [{
|
|
6932
6931
|
type: Pipe,
|
|
6933
6932
|
args: [{
|
|
6934
6933
|
name: 'toMinutes',
|
|
@@ -6968,10 +6967,10 @@ class PrettyJsonPipe {
|
|
|
6968
6967
|
transform(input, spacing) {
|
|
6969
6968
|
return PrettyJsonPipe.toPrettyJson(input, spacing);
|
|
6970
6969
|
}
|
|
6971
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6972
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6970
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: PrettyJsonPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6971
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.3", ngImport: i0, type: PrettyJsonPipe, isStandalone: true, name: "prettyjson" });
|
|
6973
6972
|
}
|
|
6974
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6973
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: PrettyJsonPipe, decorators: [{
|
|
6975
6974
|
type: Pipe,
|
|
6976
6975
|
args: [{
|
|
6977
6976
|
name: 'prettyjson',
|
|
@@ -6997,10 +6996,10 @@ class CutTextPipe {
|
|
|
6997
6996
|
transform(input, maxLength, endText) {
|
|
6998
6997
|
return input != null ? cutString(input, maxLength, endText) : input;
|
|
6999
6998
|
}
|
|
7000
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7001
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6999
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: CutTextPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
7000
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.3", ngImport: i0, type: CutTextPipe, isStandalone: true, name: "cutText" });
|
|
7002
7001
|
}
|
|
7003
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7002
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: CutTextPipe, decorators: [{
|
|
7004
7003
|
type: Pipe,
|
|
7005
7004
|
args: [{
|
|
7006
7005
|
name: 'cutText',
|
|
@@ -7023,15 +7022,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
|
|
|
7023
7022
|
* ```
|
|
7024
7023
|
*/
|
|
7025
7024
|
class GetValuePipe {
|
|
7026
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
7027
7025
|
transform(input, args) {
|
|
7028
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
7029
7026
|
return getValueFromGetter(input, args);
|
|
7030
7027
|
}
|
|
7031
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7032
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
7028
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: GetValuePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
7029
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.3", ngImport: i0, type: GetValuePipe, isStandalone: true, name: "getValue", pure: false });
|
|
7033
7030
|
}
|
|
7034
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7031
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: GetValuePipe, decorators: [{
|
|
7035
7032
|
type: Pipe,
|
|
7036
7033
|
args: [{
|
|
7037
7034
|
name: 'getValue',
|
|
@@ -7051,15 +7048,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
|
|
|
7051
7048
|
* ```
|
|
7052
7049
|
*/
|
|
7053
7050
|
class GetValueOncePipe {
|
|
7054
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
7055
7051
|
transform(input, args) {
|
|
7056
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
7057
7052
|
return getValueFromGetter(input, args);
|
|
7058
7053
|
}
|
|
7059
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7060
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
7054
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: GetValueOncePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
7055
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.3", ngImport: i0, type: GetValueOncePipe, isStandalone: true, name: "getValueOnce" });
|
|
7061
7056
|
}
|
|
7062
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7057
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: GetValueOncePipe, decorators: [{
|
|
7063
7058
|
type: Pipe,
|
|
7064
7059
|
args: [{
|
|
7065
7060
|
name: 'getValueOnce',
|
|
@@ -7086,10 +7081,10 @@ class DollarAmountPipe {
|
|
|
7086
7081
|
transform(input, defaultIfNull) {
|
|
7087
7082
|
return defaultIfNull == null || input != null ? dollarAmountString(input) : defaultIfNull;
|
|
7088
7083
|
}
|
|
7089
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7090
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
7084
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DollarAmountPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
7085
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.3", ngImport: i0, type: DollarAmountPipe, isStandalone: true, name: "dollarAmount" });
|
|
7091
7086
|
}
|
|
7092
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7087
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DollarAmountPipe, decorators: [{
|
|
7093
7088
|
type: Pipe,
|
|
7094
7089
|
args: [{
|
|
7095
7090
|
name: 'dollarAmount',
|
|
@@ -7119,10 +7114,10 @@ class AbstractFilterSourceConnectorDirective {
|
|
|
7119
7114
|
connectWithSource(filterSource) {
|
|
7120
7115
|
this._source.next(filterSource);
|
|
7121
7116
|
}
|
|
7122
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7123
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
7117
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: AbstractFilterSourceConnectorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7118
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.3", type: AbstractFilterSourceConnectorDirective, isStandalone: true, ngImport: i0 });
|
|
7124
7119
|
}
|
|
7125
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7120
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: AbstractFilterSourceConnectorDirective, decorators: [{
|
|
7126
7121
|
type: Directive
|
|
7127
7122
|
}] });
|
|
7128
7123
|
|
|
@@ -7246,10 +7241,10 @@ class AbstractFilterSourceDirective {
|
|
|
7246
7241
|
setInitialFilterTakesPriority(initialFilterTakesPriority) {
|
|
7247
7242
|
this._defaultFilterSource.setInitialFilterTakesPriority(initialFilterTakesPriority);
|
|
7248
7243
|
}
|
|
7249
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7250
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
7244
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: AbstractFilterSourceDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7245
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.3", type: AbstractFilterSourceDirective, isStandalone: true, ngImport: i0 });
|
|
7251
7246
|
}
|
|
7252
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7247
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: AbstractFilterSourceDirective, decorators: [{
|
|
7253
7248
|
type: Directive
|
|
7254
7249
|
}] });
|
|
7255
7250
|
|
|
@@ -7272,10 +7267,10 @@ class DbxFilterConnectSourceDirective {
|
|
|
7272
7267
|
ngOnInit() {
|
|
7273
7268
|
this.filterSourceConnector.connectWithSource(this.filterSource);
|
|
7274
7269
|
}
|
|
7275
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7276
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
7270
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxFilterConnectSourceDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7271
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.3", type: DbxFilterConnectSourceDirective, isStandalone: true, selector: "[dbxFilterConnectSource]", ngImport: i0 });
|
|
7277
7272
|
}
|
|
7278
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7273
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxFilterConnectSourceDirective, decorators: [{
|
|
7279
7274
|
type: Directive,
|
|
7280
7275
|
args: [{
|
|
7281
7276
|
selector: '[dbxFilterConnectSource]',
|
|
@@ -7296,10 +7291,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
|
|
|
7296
7291
|
* ```
|
|
7297
7292
|
*/
|
|
7298
7293
|
class DbxFilterSourceConnectorDirective extends AbstractFilterSourceConnectorDirective {
|
|
7299
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7300
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
7294
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxFilterSourceConnectorDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
7295
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.3", type: DbxFilterSourceConnectorDirective, isStandalone: true, selector: "[dbxFilterSourceConnector]", providers: [...provideFilterSource(DbxFilterSourceConnectorDirective), ...provideFilterSourceConnector(DbxFilterSourceConnectorDirective)], usesInheritance: true, ngImport: i0 });
|
|
7301
7296
|
}
|
|
7302
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7297
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxFilterSourceConnectorDirective, decorators: [{
|
|
7303
7298
|
type: Directive,
|
|
7304
7299
|
args: [{
|
|
7305
7300
|
selector: '[dbxFilterSourceConnector]',
|
|
@@ -7326,10 +7321,10 @@ class AbstractDbxFilterMapInstanceDirective {
|
|
|
7326
7321
|
setFilterMapKey(filterMapKey) {
|
|
7327
7322
|
this._currentFilterMapKey.next(filterMapKey);
|
|
7328
7323
|
}
|
|
7329
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7330
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
7324
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: AbstractDbxFilterMapInstanceDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7325
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.3", type: AbstractDbxFilterMapInstanceDirective, isStandalone: true, ngImport: i0 });
|
|
7331
7326
|
}
|
|
7332
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7327
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: AbstractDbxFilterMapInstanceDirective, decorators: [{
|
|
7333
7328
|
type: Directive
|
|
7334
7329
|
}] });
|
|
7335
7330
|
|
|
@@ -7344,10 +7339,10 @@ class AbstractDbxFilterMapSourceDirective extends AbstractDbxFilterMapInstanceDi
|
|
|
7344
7339
|
initWithFilter(filterObs) {
|
|
7345
7340
|
this.instance$.pipe(first()).subscribe((x) => x.initWithFilter(filterObs));
|
|
7346
7341
|
}
|
|
7347
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7348
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
7342
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: AbstractDbxFilterMapSourceDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
7343
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.3", type: AbstractDbxFilterMapSourceDirective, isStandalone: true, usesInheritance: true, ngImport: i0 });
|
|
7349
7344
|
}
|
|
7350
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7345
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: AbstractDbxFilterMapSourceDirective, decorators: [{
|
|
7351
7346
|
type: Directive
|
|
7352
7347
|
}] });
|
|
7353
7348
|
/**
|
|
@@ -7363,12 +7358,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
|
|
|
7363
7358
|
* ```
|
|
7364
7359
|
*/
|
|
7365
7360
|
class DbxFilterMapSourceDirective extends AbstractDbxFilterMapSourceDirective {
|
|
7366
|
-
dbxFilterMapSource = input(...(ngDevMode ? [undefined, { debugName: "dbxFilterMapSource" }] : []));
|
|
7367
|
-
_dbxFilterMapSourceEffect = effect(() => this.setFilterMapKey(this.dbxFilterMapSource()), ...(ngDevMode ? [{ debugName: "_dbxFilterMapSourceEffect" }] : []));
|
|
7368
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7369
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
7361
|
+
dbxFilterMapSource = input(...(ngDevMode ? [undefined, { debugName: "dbxFilterMapSource" }] : /* istanbul ignore next */ []));
|
|
7362
|
+
_dbxFilterMapSourceEffect = effect(() => this.setFilterMapKey(this.dbxFilterMapSource()), ...(ngDevMode ? [{ debugName: "_dbxFilterMapSourceEffect" }] : /* istanbul ignore next */ []));
|
|
7363
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxFilterMapSourceDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
7364
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.3", type: DbxFilterMapSourceDirective, isStandalone: true, selector: "[dbxFilterMapSource]", inputs: { dbxFilterMapSource: { classPropertyName: "dbxFilterMapSource", publicName: "dbxFilterMapSource", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideFilterSource(DbxFilterMapSourceDirective)], exportAs: ["dbxFilterMapSource"], usesInheritance: true, ngImport: i0 });
|
|
7370
7365
|
}
|
|
7371
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7366
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxFilterMapSourceDirective, decorators: [{
|
|
7372
7367
|
type: Directive,
|
|
7373
7368
|
args: [{
|
|
7374
7369
|
selector: '[dbxFilterMapSource]',
|
|
@@ -7393,8 +7388,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
|
|
|
7393
7388
|
* ```
|
|
7394
7389
|
*/
|
|
7395
7390
|
class DbxFilterMapSourceConnectorDirective extends AbstractDbxFilterMapSourceDirective {
|
|
7396
|
-
dbxFilterMapSourceConnector = input(...(ngDevMode ? [undefined, { debugName: "dbxFilterMapSourceConnector" }] : []));
|
|
7397
|
-
_dbxFilterMapSourceConnectorEffect = effect(() => this.setFilterMapKey(this.dbxFilterMapSourceConnector()), ...(ngDevMode ? [{ debugName: "_dbxFilterMapSourceConnectorEffect" }] : []));
|
|
7391
|
+
dbxFilterMapSourceConnector = input(...(ngDevMode ? [undefined, { debugName: "dbxFilterMapSourceConnector" }] : /* istanbul ignore next */ []));
|
|
7392
|
+
_dbxFilterMapSourceConnectorEffect = effect(() => this.setFilterMapKey(this.dbxFilterMapSourceConnector()), ...(ngDevMode ? [{ debugName: "_dbxFilterMapSourceConnectorEffect" }] : /* istanbul ignore next */ []));
|
|
7398
7393
|
// MARK: FilterSourceConnector
|
|
7399
7394
|
connectWithSource(filterSource) {
|
|
7400
7395
|
this.instance$.pipe(first()).subscribe((x) => {
|
|
@@ -7404,10 +7399,10 @@ class DbxFilterMapSourceConnectorDirective extends AbstractDbxFilterMapSourceDir
|
|
|
7404
7399
|
}
|
|
7405
7400
|
});
|
|
7406
7401
|
}
|
|
7407
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7408
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
7402
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxFilterMapSourceConnectorDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
7403
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.3", type: DbxFilterMapSourceConnectorDirective, isStandalone: true, selector: "[dbxFilterMapSourceConnector]", inputs: { dbxFilterMapSourceConnector: { classPropertyName: "dbxFilterMapSourceConnector", publicName: "dbxFilterMapSourceConnector", isSignal: true, isRequired: false, transformFunction: null } }, providers: [...provideFilterSource(DbxFilterMapSourceConnectorDirective), ...provideFilterSourceConnector(DbxFilterMapSourceConnectorDirective)], exportAs: ["dbxFilterMapSourceConnector"], usesInheritance: true, ngImport: i0 });
|
|
7409
7404
|
}
|
|
7410
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7405
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxFilterMapSourceConnectorDirective, decorators: [{
|
|
7411
7406
|
type: Directive,
|
|
7412
7407
|
args: [{
|
|
7413
7408
|
selector: '[dbxFilterMapSourceConnector]',
|
|
@@ -7433,10 +7428,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
|
|
|
7433
7428
|
*/
|
|
7434
7429
|
class DbxFilterMapDirective {
|
|
7435
7430
|
filterMap = clean(inject((FilterMap)));
|
|
7436
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7437
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
7431
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxFilterMapDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7432
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.3", type: DbxFilterMapDirective, isStandalone: true, selector: "[dbxFilterMap]", providers: [FilterMap], exportAs: ["dbxFilterMap"], ngImport: i0 });
|
|
7438
7433
|
}
|
|
7439
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7434
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxFilterMapDirective, decorators: [{
|
|
7440
7435
|
type: Directive,
|
|
7441
7436
|
args: [{
|
|
7442
7437
|
selector: '[dbxFilterMap]',
|
|
@@ -7476,10 +7471,10 @@ function isClickablePartialFilterPreset(preset) {
|
|
|
7476
7471
|
* ```
|
|
7477
7472
|
*/
|
|
7478
7473
|
class DbxFilterSourceDirective extends AbstractFilterSourceDirective {
|
|
7479
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7480
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
7474
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxFilterSourceDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
7475
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.3", type: DbxFilterSourceDirective, isStandalone: true, selector: "[dbxFilterSource]", providers: provideFilterSourceDirective(DbxFilterSourceDirective), usesInheritance: true, ngImport: i0 });
|
|
7481
7476
|
}
|
|
7482
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7477
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxFilterSourceDirective, decorators: [{
|
|
7483
7478
|
type: Directive,
|
|
7484
7479
|
args: [{
|
|
7485
7480
|
selector: '[dbxFilterSource]',
|
|
@@ -7490,11 +7485,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
|
|
|
7490
7485
|
|
|
7491
7486
|
const importsAndExports = [DbxFilterSourceDirective, DbxFilterMapSourceConnectorDirective, DbxFilterConnectSourceDirective, DbxFilterSourceConnectorDirective, DbxFilterMapDirective, DbxFilterMapSourceDirective];
|
|
7492
7487
|
class DbxCoreFilterModule {
|
|
7493
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7494
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
7495
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
7488
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxCoreFilterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7489
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.3", ngImport: i0, type: DbxCoreFilterModule, imports: [DbxFilterSourceDirective, DbxFilterMapSourceConnectorDirective, DbxFilterConnectSourceDirective, DbxFilterSourceConnectorDirective, DbxFilterMapDirective, DbxFilterMapSourceDirective], exports: [DbxFilterSourceDirective, DbxFilterMapSourceConnectorDirective, DbxFilterConnectSourceDirective, DbxFilterSourceConnectorDirective, DbxFilterMapDirective, DbxFilterMapSourceDirective] });
|
|
7490
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxCoreFilterModule });
|
|
7496
7491
|
}
|
|
7497
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7492
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxCoreFilterModule, decorators: [{
|
|
7498
7493
|
type: NgModule,
|
|
7499
7494
|
args: [{
|
|
7500
7495
|
imports: importsAndExports,
|
|
@@ -7525,7 +7520,6 @@ const DBX_INJECTION_COMPONENT_DATA = new InjectionToken('DbxInjectionComponentCo
|
|
|
7525
7520
|
* When both values are nullish, uses strict equality (`null === null` is `true`,
|
|
7526
7521
|
* `null === undefined` is `false`). The comparator is only invoked when both are non-nullish.
|
|
7527
7522
|
*/
|
|
7528
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
7529
7523
|
const dbxInjectionComponentConfigIsEqual = safeEqualityComparatorFunction((a, b) => a.componentClass === b.componentClass && a.data === b.data && a.init === b.init && a.injector === b.injector);
|
|
7530
7524
|
/**
|
|
7531
7525
|
* Merges multiple partial {@link DbxInjectionComponentConfig} objects into a single configuration.
|
|
@@ -7742,10 +7736,10 @@ class AbstractDbxInjectionDirective {
|
|
|
7742
7736
|
setContent(content) {
|
|
7743
7737
|
this._instance.content = content;
|
|
7744
7738
|
}
|
|
7745
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7746
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
7739
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: AbstractDbxInjectionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7740
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.3", type: AbstractDbxInjectionDirective, isStandalone: true, ngImport: i0 });
|
|
7747
7741
|
}
|
|
7748
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7742
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: AbstractDbxInjectionDirective, decorators: [{
|
|
7749
7743
|
type: Directive
|
|
7750
7744
|
}] });
|
|
7751
7745
|
|
|
@@ -7781,26 +7775,26 @@ class DbxInjectionComponent extends AbstractDbxInjectionDirective {
|
|
|
7781
7775
|
/**
|
|
7782
7776
|
* Reference to the internal view container where dynamic content is projected.
|
|
7783
7777
|
*/
|
|
7784
|
-
content = viewChild('content', { ...(ngDevMode ? { debugName: "content" } : {}), read: ViewContainerRef });
|
|
7778
|
+
content = viewChild('content', { ...(ngDevMode ? { debugName: "content" } : /* istanbul ignore next */ {}), read: ViewContainerRef });
|
|
7785
7779
|
/**
|
|
7786
7780
|
* The component injection configuration. Accepts an observable, getter, or static value.
|
|
7787
7781
|
*/
|
|
7788
|
-
config = input(...(ngDevMode ? [undefined, { debugName: "config" }] : []));
|
|
7782
|
+
config = input(...(ngDevMode ? [undefined, { debugName: "config" }] : /* istanbul ignore next */ []));
|
|
7789
7783
|
/**
|
|
7790
7784
|
* The template injection configuration. Accepts an observable, getter, or static value.
|
|
7791
7785
|
* Only used when `config` is not provided.
|
|
7792
7786
|
*/
|
|
7793
|
-
template = input(...(ngDevMode ? [undefined, { debugName: "template" }] : []));
|
|
7787
|
+
template = input(...(ngDevMode ? [undefined, { debugName: "template" }] : /* istanbul ignore next */ []));
|
|
7794
7788
|
// allow signal writes for each as during their initialization they may write to a signal in some cases when initializing
|
|
7795
|
-
_contentEffect = effect(() => this.setContent(this.content()), ...(ngDevMode ? [{ debugName: "_contentEffect" }] : []));
|
|
7796
|
-
_configEffect = effect(() => this.setConfig(this.config()), ...(ngDevMode ? [{ debugName: "_configEffect" }] : []));
|
|
7797
|
-
_templateEffect = effect(() => this.setTemplate(this.template()), ...(ngDevMode ? [{ debugName: "_templateEffect" }] : []));
|
|
7798
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7799
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.
|
|
7789
|
+
_contentEffect = effect(() => this.setContent(this.content()), ...(ngDevMode ? [{ debugName: "_contentEffect" }] : /* istanbul ignore next */ []));
|
|
7790
|
+
_configEffect = effect(() => this.setConfig(this.config()), ...(ngDevMode ? [{ debugName: "_configEffect" }] : /* istanbul ignore next */ []));
|
|
7791
|
+
_templateEffect = effect(() => this.setTemplate(this.template()), ...(ngDevMode ? [{ debugName: "_templateEffect" }] : /* istanbul ignore next */ []));
|
|
7792
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxInjectionComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
7793
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.3", type: DbxInjectionComponent, isStandalone: true, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: { config: { classPropertyName: "config", publicName: "config", isSignal: true, isRequired: false, transformFunction: null }, template: { classPropertyName: "template", publicName: "template", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true, read: ViewContainerRef, isSignal: true }], usesInheritance: true, ngImport: i0, template: `
|
|
7800
7794
|
<ng-template #content></ng-template>
|
|
7801
7795
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
7802
7796
|
}
|
|
7803
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7797
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxInjectionComponent, decorators: [{
|
|
7804
7798
|
type: Component,
|
|
7805
7799
|
args: [{
|
|
7806
7800
|
selector: 'dbx-injection, [dbxInjection], [dbx-injection]',
|
|
@@ -7840,15 +7834,15 @@ class DbxInjectionArrayComponent {
|
|
|
7840
7834
|
/**
|
|
7841
7835
|
* The array of keyed injection entries to render. Each entry produces a `<dbx-injection>` component.
|
|
7842
7836
|
*/
|
|
7843
|
-
entries = input(undefined, ...(ngDevMode ? [{ debugName: "entries" }] : []));
|
|
7844
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7845
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
7837
|
+
entries = input(undefined, ...(ngDevMode ? [{ debugName: "entries" }] : /* istanbul ignore next */ []));
|
|
7838
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxInjectionArrayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7839
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.3", type: DbxInjectionArrayComponent, isStandalone: true, selector: "dbx-injection-array", inputs: { entries: { classPropertyName: "entries", publicName: "entries", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
7846
7840
|
@for (entry of entries(); track entry.key) {
|
|
7847
7841
|
<dbx-injection [config]="entry.injectionConfig"></dbx-injection>
|
|
7848
7842
|
}
|
|
7849
7843
|
`, isInline: true, dependencies: [{ kind: "component", type: DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
7850
7844
|
}
|
|
7851
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7845
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxInjectionArrayComponent, decorators: [{
|
|
7852
7846
|
type: Component,
|
|
7853
7847
|
args: [{
|
|
7854
7848
|
selector: 'dbx-injection-array',
|
|
@@ -7944,12 +7938,12 @@ class DbxInjectionContextDirective {
|
|
|
7944
7938
|
* Optional static component config input. When set, the directive replaces its content
|
|
7945
7939
|
* with the specified component. When cleared (`undefined`), the original content is restored.
|
|
7946
7940
|
*/
|
|
7947
|
-
config = input(...(ngDevMode ? [undefined, { debugName: "config" }] : []));
|
|
7941
|
+
config = input(...(ngDevMode ? [undefined, { debugName: "config" }] : /* istanbul ignore next */ []));
|
|
7948
7942
|
_configEffect = effect(() => {
|
|
7949
7943
|
this.setConfig(this.config());
|
|
7950
7944
|
// NOTE: we have/call setConfig() because the effect() may not respond to all value changes,
|
|
7951
7945
|
// especially when setConfig() ends up being called twice quickly in quick succession.
|
|
7952
|
-
}, ...(ngDevMode ? [{ debugName: "_configEffect" }] : []));
|
|
7946
|
+
}, ...(ngDevMode ? [{ debugName: "_configEffect" }] : /* istanbul ignore next */ []));
|
|
7953
7947
|
ngOnInit() {
|
|
7954
7948
|
this._instance.content = this._viewContainer;
|
|
7955
7949
|
this._instance.init();
|
|
@@ -8067,10 +8061,10 @@ class DbxInjectionContextDirective {
|
|
|
8067
8061
|
this._isDetached = false;
|
|
8068
8062
|
}
|
|
8069
8063
|
}
|
|
8070
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
8071
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
8064
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxInjectionContextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
8065
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.3", type: DbxInjectionContextDirective, isStandalone: true, selector: "[dbxInjectionContext]", inputs: { config: { classPropertyName: "config", publicName: "config", isSignal: true, isRequired: false, transformFunction: null } }, providers: provideDbxInjectionContext(DbxInjectionContextDirective), ngImport: i0 });
|
|
8072
8066
|
}
|
|
8073
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
8067
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxInjectionContextDirective, decorators: [{
|
|
8074
8068
|
type: Directive,
|
|
8075
8069
|
args: [{
|
|
8076
8070
|
selector: '[dbxInjectionContext]',
|
|
@@ -8119,10 +8113,10 @@ class AbstractForwardDbxInjectionContextDirective {
|
|
|
8119
8113
|
resetContext() {
|
|
8120
8114
|
return this.dbxInjectionContext.resetContext();
|
|
8121
8115
|
}
|
|
8122
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
8123
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
8116
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: AbstractForwardDbxInjectionContextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
8117
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.3", type: AbstractForwardDbxInjectionContextDirective, isStandalone: true, ngImport: i0 });
|
|
8124
8118
|
}
|
|
8125
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
8119
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: AbstractForwardDbxInjectionContextDirective, decorators: [{
|
|
8126
8120
|
type: Directive
|
|
8127
8121
|
}] });
|
|
8128
8122
|
|
|
@@ -8152,7 +8146,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
|
|
|
8152
8146
|
* });
|
|
8153
8147
|
* ```
|
|
8154
8148
|
*/
|
|
8155
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
8156
8149
|
function switchMapDbxInjectionComponentConfig(defaultConfig) {
|
|
8157
8150
|
const defaultAsGetter = asGetter(defaultConfig);
|
|
8158
8151
|
return switchMapObject({
|
|
@@ -8262,10 +8255,10 @@ class LockSetComponentStore extends ComponentStore {
|
|
|
8262
8255
|
_destroyNow() {
|
|
8263
8256
|
this.lockSet.destroy();
|
|
8264
8257
|
}
|
|
8265
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
8266
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
8258
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: LockSetComponentStore, deps: [{ token: null, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8259
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: LockSetComponentStore });
|
|
8267
8260
|
}
|
|
8268
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
8261
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: LockSetComponentStore, decorators: [{
|
|
8269
8262
|
type: Injectable
|
|
8270
8263
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
8271
8264
|
type: Inject,
|
|
@@ -8586,10 +8579,10 @@ class SimpleStorageAccessorFactory {
|
|
|
8586
8579
|
};
|
|
8587
8580
|
return new SimpleStorageAccessor(delegate, accessorConfig);
|
|
8588
8581
|
}
|
|
8589
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
8590
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
8582
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: SimpleStorageAccessorFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8583
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: SimpleStorageAccessorFactory });
|
|
8591
8584
|
}
|
|
8592
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
8585
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: SimpleStorageAccessorFactory, decorators: [{
|
|
8593
8586
|
type: Injectable
|
|
8594
8587
|
}] });
|
|
8595
8588
|
|