@dereekb/dbx-core 13.7.0 → 13.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -67,10 +67,10 @@ class DbxCoreAssetLoader extends AssetLoader {
|
|
|
67
67
|
}
|
|
68
68
|
return url;
|
|
69
69
|
}
|
|
70
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
71
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
70
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreAssetLoader, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
71
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreAssetLoader });
|
|
72
72
|
}
|
|
73
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
73
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreAssetLoader, decorators: [{
|
|
74
74
|
type: Injectable
|
|
75
75
|
}] });
|
|
76
76
|
|
|
@@ -589,10 +589,10 @@ class DbxActionAutoModifyDirective {
|
|
|
589
589
|
})
|
|
590
590
|
});
|
|
591
591
|
}
|
|
592
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
593
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
592
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionAutoModifyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
593
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: DbxActionAutoModifyDirective, isStandalone: true, selector: "dbxActionAutoModify, [dbxActionAutoModify]", inputs: { autoModifyEnabled: { classPropertyName: "autoModifyEnabled", publicName: "dbxActionAutoModify", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
594
594
|
}
|
|
595
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
595
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionAutoModifyDirective, decorators: [{
|
|
596
596
|
type: Directive,
|
|
597
597
|
args: [{
|
|
598
598
|
selector: 'dbxActionAutoModify, [dbxActionAutoModify]',
|
|
@@ -719,10 +719,10 @@ class DbxActionAutoTriggerDirective {
|
|
|
719
719
|
})
|
|
720
720
|
});
|
|
721
721
|
}
|
|
722
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
723
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
722
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionAutoTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
723
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", 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 });
|
|
724
724
|
}
|
|
725
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
725
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionAutoTriggerDirective, decorators: [{
|
|
726
726
|
type: Directive,
|
|
727
727
|
args: [{
|
|
728
728
|
selector: 'dbxActionAutoTrigger,[dbxActionAutoTrigger]',
|
|
@@ -1269,10 +1269,10 @@ class ActionContextStore extends ComponentStore {
|
|
|
1269
1269
|
// do not call super.destroy here, to keep the component store from destroying itself.
|
|
1270
1270
|
// the lockset is configured to cleanup the component store.
|
|
1271
1271
|
}
|
|
1272
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1273
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
1272
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: ActionContextStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1273
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: ActionContextStore });
|
|
1274
1274
|
}
|
|
1275
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1275
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: ActionContextStore, decorators: [{
|
|
1276
1276
|
type: Injectable
|
|
1277
1277
|
}], ctorParameters: () => [] });
|
|
1278
1278
|
function updateIsSameOnActionContextState(state, isSame) {
|
|
@@ -1430,10 +1430,10 @@ class DbxActionContextMachineAsService extends DbxActionContextMachine {
|
|
|
1430
1430
|
});
|
|
1431
1431
|
clean(() => this.destroy());
|
|
1432
1432
|
}
|
|
1433
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1434
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
1433
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionContextMachineAsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1434
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionContextMachineAsService });
|
|
1435
1435
|
}
|
|
1436
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1436
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionContextMachineAsService, decorators: [{
|
|
1437
1437
|
type: Injectable
|
|
1438
1438
|
}], ctorParameters: () => [] });
|
|
1439
1439
|
|
|
@@ -1537,10 +1537,10 @@ class DbxActionDirective extends DbxActionContextBaseSource {
|
|
|
1537
1537
|
});
|
|
1538
1538
|
});
|
|
1539
1539
|
}
|
|
1540
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1541
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
1540
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1541
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: DbxActionDirective, isStandalone: true, selector: "dbx-action,[dbxAction]", providers: provideActionStoreSource(DbxActionDirective), exportAs: ["action", "dbxAction"], usesInheritance: true, ngImport: i0 });
|
|
1542
1542
|
}
|
|
1543
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1543
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionDirective, decorators: [{
|
|
1544
1544
|
type: Directive,
|
|
1545
1545
|
args: [{
|
|
1546
1546
|
selector: 'dbx-action,[dbxAction]',
|
|
@@ -1574,10 +1574,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
1574
1574
|
class DbxActionSourceDirective {
|
|
1575
1575
|
dbxActionSource = input(...(ngDevMode ? [undefined, { debugName: "dbxActionSource" }] : /* istanbul ignore next */ []));
|
|
1576
1576
|
store$ = toObservable(this.dbxActionSource).pipe(filterMaybe(), switchMap((x) => actionContextStoreSourcePipe(x.store$)));
|
|
1577
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1578
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
1577
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionSourceDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1578
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: DbxActionSourceDirective, isStandalone: true, selector: "[dbxActionSource]", inputs: { dbxActionSource: { classPropertyName: "dbxActionSource", publicName: "dbxActionSource", isSignal: true, isRequired: false, transformFunction: null } }, providers: provideSecondaryActionStoreSource(DbxActionSourceDirective), ngImport: i0 });
|
|
1579
1579
|
}
|
|
1580
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1580
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionSourceDirective, decorators: [{
|
|
1581
1581
|
type: Directive,
|
|
1582
1582
|
args: [{
|
|
1583
1583
|
selector: '[dbxActionSource]',
|
|
@@ -1610,10 +1610,10 @@ class DbxActionContextLoggerDirective {
|
|
|
1610
1610
|
})
|
|
1611
1611
|
});
|
|
1612
1612
|
}
|
|
1613
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1614
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
1613
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionContextLoggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1614
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: DbxActionContextLoggerDirective, isStandalone: true, selector: "[dbxActionLogger],[dbxActionContextLogger]", ngImport: i0 });
|
|
1615
1615
|
}
|
|
1616
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1616
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionContextLoggerDirective, decorators: [{
|
|
1617
1617
|
type: Directive,
|
|
1618
1618
|
args: [{
|
|
1619
1619
|
selector: '[dbxActionLogger],[dbxActionContextLogger]',
|
|
@@ -1714,15 +1714,15 @@ function actionContextStoreSourceMap() {
|
|
|
1714
1714
|
*/
|
|
1715
1715
|
class DbxActionContextMapDirective {
|
|
1716
1716
|
actionContextStoreSourceMap = clean(inject(ActionContextStoreSourceMap));
|
|
1717
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1718
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
1717
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionContextMapDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1718
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: DbxActionContextMapDirective, isStandalone: true, selector: "[dbxActionContextMap]", providers: [
|
|
1719
1719
|
{
|
|
1720
1720
|
provide: ActionContextStoreSourceMap,
|
|
1721
1721
|
useFactory: actionContextStoreSourceMap
|
|
1722
1722
|
}
|
|
1723
1723
|
], exportAs: ["actionMap"], ngImport: i0 });
|
|
1724
1724
|
}
|
|
1725
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1725
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionContextMapDirective, decorators: [{
|
|
1726
1726
|
type: Directive,
|
|
1727
1727
|
args: [{
|
|
1728
1728
|
selector: '[dbxActionContextMap]',
|
|
@@ -1766,10 +1766,10 @@ class DbxActionFromMapDirective {
|
|
|
1766
1766
|
key = input(undefined, { ...(ngDevMode ? { debugName: "key" } : /* istanbul ignore next */ {}), alias: 'dbxActionFromMap' });
|
|
1767
1767
|
key$ = toObservable(this.key);
|
|
1768
1768
|
store$ = this.key$.pipe(filterMaybe(), switchMap((x) => this._actionContextStoreSourceMap.sourceForKey(x).store$));
|
|
1769
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1770
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
1769
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionFromMapDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1770
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: DbxActionFromMapDirective, isStandalone: true, selector: "[dbxActionFromMap]", inputs: { key: { classPropertyName: "key", publicName: "dbxActionFromMap", isSignal: true, isRequired: false, transformFunction: null } }, providers: provideSecondaryActionStoreSource(DbxActionFromMapDirective), ngImport: i0 });
|
|
1771
1771
|
}
|
|
1772
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1772
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionFromMapDirective, decorators: [{
|
|
1773
1773
|
type: Directive,
|
|
1774
1774
|
args: [{
|
|
1775
1775
|
selector: '[dbxActionFromMap]',
|
|
@@ -1823,10 +1823,10 @@ class DbxActionMapSourceDirective {
|
|
|
1823
1823
|
this._actionContextStoreSourceMap.removeStoreSource(this._currentKey);
|
|
1824
1824
|
}
|
|
1825
1825
|
}
|
|
1826
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1827
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
1826
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionMapSourceDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1827
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: DbxActionMapSourceDirective, isStandalone: true, selector: "[dbxActionMapSource]", inputs: { key: { classPropertyName: "key", publicName: "dbxActionMapSource", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
1828
1828
|
}
|
|
1829
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1829
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionMapSourceDirective, decorators: [{
|
|
1830
1830
|
type: Directive,
|
|
1831
1831
|
args: [{
|
|
1832
1832
|
selector: '[dbxActionMapSource]',
|
|
@@ -1915,10 +1915,10 @@ class DbxActionMapWorkingDisableDirective {
|
|
|
1915
1915
|
this.source.enable(this.disabledKey() || DEFAULT_ACTION_MAP_WORKING_DISABLED_KEY);
|
|
1916
1916
|
});
|
|
1917
1917
|
}
|
|
1918
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1919
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
1918
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionMapWorkingDisableDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1919
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: DbxActionMapWorkingDisableDirective, isStandalone: true, selector: "[dbxActionMapWorkingDisable]", inputs: { disabledKey: { classPropertyName: "disabledKey", publicName: "dbxActionMapWorkingDisable", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
1920
1920
|
}
|
|
1921
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1921
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionMapWorkingDisableDirective, decorators: [{
|
|
1922
1922
|
type: Directive,
|
|
1923
1923
|
args: [{
|
|
1924
1924
|
selector: '[dbxActionMapWorkingDisable]',
|
|
@@ -1963,10 +1963,10 @@ class DbxActionDisabledDirective {
|
|
|
1963
1963
|
}));
|
|
1964
1964
|
clean(() => this.source.enable(APP_ACTION_DISABLED_DIRECTIVE_KEY));
|
|
1965
1965
|
}
|
|
1966
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1967
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
1966
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionDisabledDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1967
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: DbxActionDisabledDirective, isStandalone: true, selector: "[dbxActionDisabled]", inputs: { disabled: { classPropertyName: "disabled", publicName: "dbxActionDisabled", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
1968
1968
|
}
|
|
1969
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1969
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionDisabledDirective, decorators: [{
|
|
1970
1970
|
type: Directive,
|
|
1971
1971
|
args: [{
|
|
1972
1972
|
selector: '[dbxActionDisabled]',
|
|
@@ -2013,10 +2013,10 @@ class DbxActionDisabledOnSuccessDirective {
|
|
|
2013
2013
|
}));
|
|
2014
2014
|
clean(() => this.source.enable(APP_ACTION_DISABLED_ON_SUCCESS_DIRECTIVE_KEY));
|
|
2015
2015
|
}
|
|
2016
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2017
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
2016
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionDisabledOnSuccessDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2017
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: DbxActionDisabledOnSuccessDirective, isStandalone: true, selector: "[dbxActionDisabledOnSuccess]", inputs: { disabledOnSuccess: { classPropertyName: "disabledOnSuccess", publicName: "dbxActionDisabledOnSuccess", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
2018
2018
|
}
|
|
2019
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2019
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionDisabledOnSuccessDirective, decorators: [{
|
|
2020
2020
|
type: Directive,
|
|
2021
2021
|
args: [{
|
|
2022
2022
|
selector: '[dbxActionDisabledOnSuccess]',
|
|
@@ -2121,10 +2121,10 @@ class AbstractDbxActionHandlerDirective {
|
|
|
2121
2121
|
constructor() {
|
|
2122
2122
|
this._dbxActionHandlerInstance.init();
|
|
2123
2123
|
}
|
|
2124
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2125
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
2124
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxActionHandlerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2125
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: AbstractDbxActionHandlerDirective, isStandalone: true, ngImport: i0 });
|
|
2126
2126
|
}
|
|
2127
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2127
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxActionHandlerDirective, decorators: [{
|
|
2128
2128
|
type: Directive
|
|
2129
2129
|
}], ctorParameters: () => [] });
|
|
2130
2130
|
/**
|
|
@@ -2152,10 +2152,10 @@ class DbxActionHandlerDirective extends AbstractDbxActionHandlerDirective {
|
|
|
2152
2152
|
_handlerFunctionEffect = effect(() => {
|
|
2153
2153
|
this._dbxActionHandlerInstance.setHandlerFunction(this.handlerFunction());
|
|
2154
2154
|
}, ...(ngDevMode ? [{ debugName: "_handlerFunctionEffect" }] : /* istanbul ignore next */ []));
|
|
2155
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2156
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
2155
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionHandlerDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2156
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: DbxActionHandlerDirective, isStandalone: true, selector: "[dbxActionHandler]", inputs: { handlerFunction: { classPropertyName: "handlerFunction", publicName: "dbxActionHandler", isSignal: true, isRequired: true, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
2157
2157
|
}
|
|
2158
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2158
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionHandlerDirective, decorators: [{
|
|
2159
2159
|
type: Directive,
|
|
2160
2160
|
args: [{
|
|
2161
2161
|
selector: '[dbxActionHandler]',
|
|
@@ -2187,10 +2187,10 @@ class DbxActionHandlerValueDirective extends AbstractDbxActionHandlerDirective {
|
|
|
2187
2187
|
_handlerValueEffect = effect(() => {
|
|
2188
2188
|
this._dbxActionHandlerInstance.setHandlerValue(this.handlerValue());
|
|
2189
2189
|
}, ...(ngDevMode ? [{ debugName: "_handlerValueEffect" }] : /* istanbul ignore next */ []));
|
|
2190
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2191
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
2190
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionHandlerValueDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2191
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: DbxActionHandlerValueDirective, isStandalone: true, selector: "[dbxActionHandlerValue]", inputs: { handlerValue: { classPropertyName: "handlerValue", publicName: "dbxActionHandlerValue", isSignal: true, isRequired: true, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
2192
2192
|
}
|
|
2193
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2193
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionHandlerValueDirective, decorators: [{
|
|
2194
2194
|
type: Directive,
|
|
2195
2195
|
args: [{
|
|
2196
2196
|
selector: '[dbxActionHandlerValue]',
|
|
@@ -2232,10 +2232,10 @@ class AbstractIfDirective {
|
|
|
2232
2232
|
}
|
|
2233
2233
|
});
|
|
2234
2234
|
}
|
|
2235
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2236
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
2235
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractIfDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2236
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: AbstractIfDirective, isStandalone: true, ngImport: i0 });
|
|
2237
2237
|
}
|
|
2238
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2238
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractIfDirective, decorators: [{
|
|
2239
2239
|
type: Directive
|
|
2240
2240
|
}] });
|
|
2241
2241
|
|
|
@@ -2288,17 +2288,12 @@ class DbxActionIdleDirective extends AbstractIfDirective {
|
|
|
2288
2288
|
_store = inject(DbxActionContextStoreSourceInstance);
|
|
2289
2289
|
hideAfter = input(undefined, { ...(ngDevMode ? { debugName: "hideAfter" } : /* istanbul ignore next */ {}), alias: 'dbxActionIdle', transform: transformEmptyStringInputToUndefined });
|
|
2290
2290
|
show$ = this._store.idle$.pipe(exhaustMap((idle) => {
|
|
2291
|
-
|
|
2292
|
-
return emitDelayObs(true, false, this.hideAfter());
|
|
2293
|
-
}
|
|
2294
|
-
else {
|
|
2295
|
-
return of(false);
|
|
2296
|
-
}
|
|
2291
|
+
return idle ? emitDelayObs(true, false, this.hideAfter()) : of(false);
|
|
2297
2292
|
}), shareReplay(1));
|
|
2298
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2299
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
2293
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionIdleDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2294
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: DbxActionIdleDirective, isStandalone: true, selector: "[dbxActionIdle]", inputs: { hideAfter: { classPropertyName: "hideAfter", publicName: "dbxActionIdle", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
2300
2295
|
}
|
|
2301
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2296
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionIdleDirective, decorators: [{
|
|
2302
2297
|
type: Directive,
|
|
2303
2298
|
args: [{
|
|
2304
2299
|
selector: '[dbxActionIdle]',
|
|
@@ -2336,17 +2331,12 @@ class DbxActionPreSuccessDirective extends AbstractIfDirective {
|
|
|
2336
2331
|
_store = inject(DbxActionContextStoreSourceInstance);
|
|
2337
2332
|
hideFor = input(undefined, { ...(ngDevMode ? { debugName: "hideFor" } : /* istanbul ignore next */ {}), alias: 'dbxActionPreSuccess', transform: transformEmptyStringInputToUndefined });
|
|
2338
2333
|
show$ = this._store.isSuccess$.pipe(exhaustMap((success) => {
|
|
2339
|
-
|
|
2340
|
-
return emitDelayObs(false, true, this.hideFor());
|
|
2341
|
-
}
|
|
2342
|
-
else {
|
|
2343
|
-
return of(true);
|
|
2344
|
-
}
|
|
2334
|
+
return success ? emitDelayObs(false, true, this.hideFor()) : of(true);
|
|
2345
2335
|
}), shareReplay(1));
|
|
2346
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2347
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
2336
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionPreSuccessDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2337
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: DbxActionPreSuccessDirective, isStandalone: true, selector: "[dbxActionPreSuccess]", inputs: { hideFor: { classPropertyName: "hideFor", publicName: "dbxActionPreSuccess", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
2348
2338
|
}
|
|
2349
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2339
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionPreSuccessDirective, decorators: [{
|
|
2350
2340
|
type: Directive,
|
|
2351
2341
|
args: [{
|
|
2352
2342
|
selector: '[dbxActionPreSuccess]',
|
|
@@ -2382,17 +2372,12 @@ class DbxActionHasSuccessDirective extends AbstractIfDirective {
|
|
|
2382
2372
|
_store = inject(DbxActionContextStoreSourceInstance);
|
|
2383
2373
|
hideAfter = input(undefined, { ...(ngDevMode ? { debugName: "hideAfter" } : /* istanbul ignore next */ {}), alias: 'dbxActionHasSuccess', transform: transformEmptyStringInputToUndefined });
|
|
2384
2374
|
show$ = this._store.isSuccess$.pipe(exhaustMap((success) => {
|
|
2385
|
-
|
|
2386
|
-
return emitDelayObs(true, false, this.hideAfter());
|
|
2387
|
-
}
|
|
2388
|
-
else {
|
|
2389
|
-
return of(false);
|
|
2390
|
-
}
|
|
2375
|
+
return success ? emitDelayObs(true, false, this.hideAfter()) : of(false);
|
|
2391
2376
|
}), shareReplay(1));
|
|
2392
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2393
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
2377
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionHasSuccessDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2378
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: DbxActionHasSuccessDirective, isStandalone: true, selector: "[dbxActionHasSuccess]", inputs: { hideAfter: { classPropertyName: "hideAfter", publicName: "dbxActionHasSuccess", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
2394
2379
|
}
|
|
2395
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2380
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionHasSuccessDirective, decorators: [{
|
|
2396
2381
|
type: Directive,
|
|
2397
2382
|
args: [{
|
|
2398
2383
|
selector: '[dbxActionHasSuccess]',
|
|
@@ -2435,10 +2420,10 @@ class DbxActionSuccessHandlerDirective {
|
|
|
2435
2420
|
.subscribe()
|
|
2436
2421
|
});
|
|
2437
2422
|
}
|
|
2438
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2439
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
2423
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionSuccessHandlerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2424
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: DbxActionSuccessHandlerDirective, isStandalone: true, selector: "[dbxActionSuccessHandler]", inputs: { dbxActionSuccessHandler: { classPropertyName: "dbxActionSuccessHandler", publicName: "dbxActionSuccessHandler", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
2440
2425
|
}
|
|
2441
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2426
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionSuccessHandlerDirective, decorators: [{
|
|
2442
2427
|
type: Directive,
|
|
2443
2428
|
args: [{
|
|
2444
2429
|
selector: '[dbxActionSuccessHandler]',
|
|
@@ -2480,10 +2465,10 @@ class DbxActionErrorHandlerDirective {
|
|
|
2480
2465
|
.subscribe()
|
|
2481
2466
|
});
|
|
2482
2467
|
}
|
|
2483
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2484
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
2468
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionErrorHandlerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2469
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: DbxActionErrorHandlerDirective, isStandalone: true, selector: "[dbxActionErrorHandler]", inputs: { dbxActionErrorHandler: { classPropertyName: "dbxActionErrorHandler", publicName: "dbxActionErrorHandler", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
2485
2470
|
}
|
|
2486
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2471
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionErrorHandlerDirective, decorators: [{
|
|
2487
2472
|
type: Directive,
|
|
2488
2473
|
args: [{
|
|
2489
2474
|
selector: '[dbxActionErrorHandler]',
|
|
@@ -2541,10 +2526,10 @@ class DbxActionValueDirective {
|
|
|
2541
2526
|
setValueOrFunction(value) {
|
|
2542
2527
|
this._valueOrFunctionOverride.next(value);
|
|
2543
2528
|
}
|
|
2544
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2545
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
2529
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionValueDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2530
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: DbxActionValueDirective, isStandalone: true, selector: "dbxActionValue,[dbxActionValue]", inputs: { valueOrFunction: { classPropertyName: "valueOrFunction", publicName: "dbxActionValue", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
2546
2531
|
}
|
|
2547
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2532
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionValueDirective, decorators: [{
|
|
2548
2533
|
type: Directive,
|
|
2549
2534
|
args: [{
|
|
2550
2535
|
selector: 'dbxActionValue,[dbxActionValue]',
|
|
@@ -2587,17 +2572,12 @@ class DbxActionIsWorkingDirective extends AbstractIfDirective {
|
|
|
2587
2572
|
}, ...(ngDevMode ? [{ debugName: "hideAfterSignal" }] : /* istanbul ignore next */ []));
|
|
2588
2573
|
show$ = this._store.isWorking$.pipe(exhaustMap((isWorking) => {
|
|
2589
2574
|
const hideAfter = this.hideAfterSignal();
|
|
2590
|
-
|
|
2591
|
-
return emitDelayObs(true, false, hideAfter);
|
|
2592
|
-
}
|
|
2593
|
-
else {
|
|
2594
|
-
return of(isWorking);
|
|
2595
|
-
}
|
|
2575
|
+
return isWorking && hideAfter != null ? emitDelayObs(true, false, hideAfter) : of(isWorking);
|
|
2596
2576
|
}), shareReplay(1));
|
|
2597
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2598
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
2577
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionIsWorkingDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2578
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", 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 });
|
|
2599
2579
|
}
|
|
2600
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2580
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionIsWorkingDirective, decorators: [{
|
|
2601
2581
|
type: Directive,
|
|
2602
2582
|
args: [{
|
|
2603
2583
|
selector: '[dbxActionWorking],[dbxActionIsWorking]',
|
|
@@ -2645,10 +2625,10 @@ class DbxActionEnforceModifiedDirective {
|
|
|
2645
2625
|
}));
|
|
2646
2626
|
clean(() => this.source.enable(APP_ACTION_ENFORCE_MODIFIED_DIRECTIVE_KEY));
|
|
2647
2627
|
}
|
|
2648
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2649
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
2628
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionEnforceModifiedDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2629
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: DbxActionEnforceModifiedDirective, isStandalone: true, selector: "[dbxActionEnforceModified]", inputs: { enabled: { classPropertyName: "enabled", publicName: "dbxActionEnforceModified", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
2650
2630
|
}
|
|
2651
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2631
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionEnforceModifiedDirective, decorators: [{
|
|
2652
2632
|
type: Directive,
|
|
2653
2633
|
args: [{
|
|
2654
2634
|
selector: '[dbxActionEnforceModified]',
|
|
@@ -2765,10 +2745,10 @@ class AbstractDbxActionValueGetterDirective {
|
|
|
2765
2745
|
});
|
|
2766
2746
|
});
|
|
2767
2747
|
}
|
|
2768
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2769
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
2748
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxActionValueGetterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2749
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: AbstractDbxActionValueGetterDirective, isStandalone: true, ngImport: i0 });
|
|
2770
2750
|
}
|
|
2771
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2751
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxActionValueGetterDirective, decorators: [{
|
|
2772
2752
|
type: Directive
|
|
2773
2753
|
}], ctorParameters: () => [] });
|
|
2774
2754
|
/**
|
|
@@ -2806,10 +2786,10 @@ class DbxActionValueTriggerDirective extends AbstractDbxActionValueGetterDirecti
|
|
|
2806
2786
|
isEqualSignal: this.dbxActionValueGetterIsEqual
|
|
2807
2787
|
});
|
|
2808
2788
|
}
|
|
2809
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2810
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
2789
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionValueTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2790
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", 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 });
|
|
2811
2791
|
}
|
|
2812
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2792
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionValueTriggerDirective, decorators: [{
|
|
2813
2793
|
type: Directive,
|
|
2814
2794
|
args: [{
|
|
2815
2795
|
exportAs: 'dbxActionValueGetter',
|
|
@@ -2881,10 +2861,10 @@ class DbxActionValueStreamDirective {
|
|
|
2881
2861
|
})
|
|
2882
2862
|
});
|
|
2883
2863
|
}
|
|
2884
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2885
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
2864
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionValueStreamDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2865
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", 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 });
|
|
2886
2866
|
}
|
|
2887
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2867
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionValueStreamDirective, decorators: [{
|
|
2888
2868
|
type: Directive,
|
|
2889
2869
|
args: [{
|
|
2890
2870
|
selector: '[dbxActionValueStream]',
|
|
@@ -2911,17 +2891,12 @@ class DbxActionTriggeredDirective extends AbstractIfDirective {
|
|
|
2911
2891
|
_store = inject(DbxActionContextStoreSourceInstance);
|
|
2912
2892
|
hideAfter = input(undefined, { ...(ngDevMode ? { debugName: "hideAfter" } : /* istanbul ignore next */ {}), alias: 'dbxActionTriggered', transform: transformEmptyStringInputToUndefined });
|
|
2913
2893
|
show$ = this._store.triggered$.pipe(exhaustMap((triggered) => {
|
|
2914
|
-
|
|
2915
|
-
return emitDelayObs(true, false, this.hideAfter());
|
|
2916
|
-
}
|
|
2917
|
-
else {
|
|
2918
|
-
return of(false);
|
|
2919
|
-
}
|
|
2894
|
+
return triggered ? emitDelayObs(true, false, this.hideAfter()) : of(false);
|
|
2920
2895
|
}), shareReplay(1));
|
|
2921
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2922
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
2896
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionTriggeredDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2897
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: DbxActionTriggeredDirective, isStandalone: true, selector: "[dbxActionTriggered]", inputs: { hideAfter: { classPropertyName: "hideAfter", publicName: "dbxActionTriggered", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
2923
2898
|
}
|
|
2924
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2899
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionTriggeredDirective, decorators: [{
|
|
2925
2900
|
type: Directive,
|
|
2926
2901
|
args: [{
|
|
2927
2902
|
selector: '[dbxActionTriggered]',
|
|
@@ -2957,8 +2932,8 @@ const importsAndExports$2 = [
|
|
|
2957
2932
|
* Contains all base DbxAction components.
|
|
2958
2933
|
*/
|
|
2959
2934
|
class DbxCoreActionModule {
|
|
2960
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2961
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
2935
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreActionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2936
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreActionModule, imports: [DbxActionDirective,
|
|
2962
2937
|
DbxActionContextMapDirective,
|
|
2963
2938
|
DbxActionFromMapDirective,
|
|
2964
2939
|
DbxActionMapSourceDirective,
|
|
@@ -3001,9 +2976,9 @@ class DbxCoreActionModule {
|
|
|
3001
2976
|
DbxActionSuccessHandlerDirective,
|
|
3002
2977
|
DbxActionErrorHandlerDirective,
|
|
3003
2978
|
DbxActionIsWorkingDirective] });
|
|
3004
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
2979
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreActionModule });
|
|
3005
2980
|
}
|
|
3006
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2981
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreActionModule, decorators: [{
|
|
3007
2982
|
type: NgModule,
|
|
3008
2983
|
args: [{
|
|
3009
2984
|
imports: importsAndExports$2,
|
|
@@ -3043,26 +3018,27 @@ function isSegueRef(input) {
|
|
|
3043
3018
|
}
|
|
3044
3019
|
function asSegueRef(input) {
|
|
3045
3020
|
const type = typeof input;
|
|
3021
|
+
let result;
|
|
3046
3022
|
if (type === 'string') {
|
|
3047
|
-
|
|
3023
|
+
result = refStringToSegueRef(input);
|
|
3048
3024
|
}
|
|
3049
3025
|
else if (isSegueRef(input)) {
|
|
3050
|
-
|
|
3051
|
-
}
|
|
3052
|
-
else {
|
|
3053
|
-
return undefined;
|
|
3026
|
+
result = input;
|
|
3054
3027
|
}
|
|
3028
|
+
return result;
|
|
3055
3029
|
}
|
|
3056
3030
|
function asSegueRefString(input) {
|
|
3031
|
+
let result;
|
|
3057
3032
|
if (typeof input === 'string') {
|
|
3058
|
-
|
|
3033
|
+
result = input;
|
|
3059
3034
|
}
|
|
3060
3035
|
else if (isSegueRef(input)) {
|
|
3061
|
-
|
|
3036
|
+
result = input.ref;
|
|
3062
3037
|
}
|
|
3063
3038
|
else {
|
|
3064
3039
|
throw new Error(`asSegueRefString() failed to convert the input to a string: ${input}`);
|
|
3065
3040
|
}
|
|
3041
|
+
return result;
|
|
3066
3042
|
}
|
|
3067
3043
|
/**
|
|
3068
3044
|
* Creates a {@link SegueRef} from a string ref path and optional segue options.
|
|
@@ -3178,18 +3154,20 @@ function makeAuthTransitionHook(config) {
|
|
|
3178
3154
|
const resultObs = decisionObs.pipe(
|
|
3179
3155
|
// after the timeoutTime seconds of no transition working, redirect with a false decision
|
|
3180
3156
|
timeoutStartWith(false, timeoutTime), first(), switchMap((decision) => {
|
|
3157
|
+
let result;
|
|
3181
3158
|
if (typeof decision === 'boolean') {
|
|
3182
3159
|
if (decision) {
|
|
3183
|
-
|
|
3160
|
+
result = of(true);
|
|
3184
3161
|
}
|
|
3185
3162
|
else {
|
|
3186
|
-
|
|
3163
|
+
result = redirectOut();
|
|
3187
3164
|
}
|
|
3188
3165
|
}
|
|
3189
3166
|
else {
|
|
3190
3167
|
const segueRef = asSegueRef(decision);
|
|
3191
|
-
|
|
3168
|
+
result = of($state.target(asSegueRefString(segueRef.ref), segueRef.refParams, segueRef.refOptions));
|
|
3192
3169
|
}
|
|
3170
|
+
return result;
|
|
3193
3171
|
}), catchError((x) => {
|
|
3194
3172
|
console.warn(`Encountered error in auth transition hook. Attempting redirect to ${errorRedirectTarget}.`, x);
|
|
3195
3173
|
return of($state.target(errorRedirectTarget, { location: true })); // Redirect to home
|
|
@@ -3392,17 +3370,19 @@ function enableHasAuthStateHook(transitionService, config) {
|
|
|
3392
3370
|
// MARK: Utility
|
|
3393
3371
|
function toHasAuthStateObjectConfig(input) {
|
|
3394
3372
|
const isString = typeof input === 'string';
|
|
3373
|
+
let result;
|
|
3395
3374
|
if (Array.isArray(input) || isString) {
|
|
3396
3375
|
if (isString) {
|
|
3397
3376
|
input = [input];
|
|
3398
3377
|
}
|
|
3399
|
-
|
|
3378
|
+
result = {
|
|
3400
3379
|
allowedStates: input
|
|
3401
3380
|
};
|
|
3402
3381
|
}
|
|
3403
3382
|
else {
|
|
3404
|
-
|
|
3383
|
+
result = input;
|
|
3405
3384
|
}
|
|
3385
|
+
return result;
|
|
3406
3386
|
}
|
|
3407
3387
|
function toParsedHasAuthStateConfig(input) {
|
|
3408
3388
|
return {
|
|
@@ -3960,10 +3940,10 @@ class DbxAppAuthRouterService {
|
|
|
3960
3940
|
goToApp() {
|
|
3961
3941
|
return goWithRouter(this.dbxRouterService)(this.dbxAppAuthRoutes.appRef);
|
|
3962
3942
|
}
|
|
3963
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3964
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
3943
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppAuthRouterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3944
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppAuthRouterService, providedIn: 'root' });
|
|
3965
3945
|
}
|
|
3966
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3946
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppAuthRouterService, decorators: [{
|
|
3967
3947
|
type: Injectable,
|
|
3968
3948
|
args: [{
|
|
3969
3949
|
providedIn: 'root'
|
|
@@ -4011,10 +3991,10 @@ class DbxAppAuthRouterEffects extends AbstractOnDbxAppContextStateEffects {
|
|
|
4011
3991
|
* Effect to redirect to the app when login occurs.
|
|
4012
3992
|
*/
|
|
4013
3993
|
redirectToOnboardOnLogIn = createEffect(() => this.actions$.pipe(ofType(loggedIn), switchMap(() => this.dbxAppAuthRouterService.shouldAuthEffectsRedirect$.pipe(first())), filter((shouldRedirect) => shouldRedirect), exhaustMap(() => this.dbxAppAuthRouterService.goToApp())), { dispatch: false });
|
|
4014
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4015
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
3994
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppAuthRouterEffects, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3995
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppAuthRouterEffects });
|
|
4016
3996
|
}
|
|
4017
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3997
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppAuthRouterEffects, decorators: [{
|
|
4018
3998
|
type: Injectable
|
|
4019
3999
|
}], ctorParameters: () => [] });
|
|
4020
4000
|
|
|
@@ -4209,10 +4189,10 @@ class DbxAppAuthEffects {
|
|
|
4209
4189
|
* Syncs the user's onboarding status from the auth service into the NgRx store.
|
|
4210
4190
|
*/
|
|
4211
4191
|
setUserIsOnboarded = createEffect(() => this.dbxAuthService.isOnboarded$.pipe(map((isOnboarded) => setUserIsOnboarded({ isOnboarded }))));
|
|
4212
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4213
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
4192
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppAuthEffects, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4193
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppAuthEffects });
|
|
4214
4194
|
}
|
|
4215
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4195
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppAuthEffects, decorators: [{
|
|
4216
4196
|
type: Injectable
|
|
4217
4197
|
}] });
|
|
4218
4198
|
|
|
@@ -4292,10 +4272,10 @@ class DbxAuthHasAnyRoleDirective extends AbstractIfDirective {
|
|
|
4292
4272
|
targetRoles = input(undefined, { ...(ngDevMode ? { debugName: "targetRoles" } : /* istanbul ignore next */ {}), alias: 'dbxAuthHasAnyRole' });
|
|
4293
4273
|
targetRoles$ = toObservable(this.targetRoles);
|
|
4294
4274
|
show$ = this._authService.authRoles$.pipe(authRolesSetContainsAnyRoleFrom(this.targetRoles$));
|
|
4295
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4296
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
4275
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAuthHasAnyRoleDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4276
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: DbxAuthHasAnyRoleDirective, isStandalone: true, selector: "[dbxAuthHasAnyRole]", inputs: { targetRoles: { classPropertyName: "targetRoles", publicName: "dbxAuthHasAnyRole", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
4297
4277
|
}
|
|
4298
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4278
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAuthHasAnyRoleDirective, decorators: [{
|
|
4299
4279
|
type: Directive,
|
|
4300
4280
|
args: [{
|
|
4301
4281
|
selector: '[dbxAuthHasAnyRole]',
|
|
@@ -4328,10 +4308,10 @@ class DbxAuthHasRolesDirective extends AbstractIfDirective {
|
|
|
4328
4308
|
targetRoles = input(undefined, { ...(ngDevMode ? { debugName: "targetRoles" } : /* istanbul ignore next */ {}), alias: 'dbxAuthHasRoles' });
|
|
4329
4309
|
targetRoles$ = toObservable(this.targetRoles);
|
|
4330
4310
|
show$ = this._authService.authRoles$.pipe(authRolesSetContainsAllRolesFrom(this.targetRoles$));
|
|
4331
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4332
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
4311
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAuthHasRolesDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4312
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: DbxAuthHasRolesDirective, isStandalone: true, selector: "[dbxAuthHasRoles]", inputs: { targetRoles: { classPropertyName: "targetRoles", publicName: "dbxAuthHasRoles", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
4333
4313
|
}
|
|
4334
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4314
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAuthHasRolesDirective, decorators: [{
|
|
4335
4315
|
type: Directive,
|
|
4336
4316
|
args: [{
|
|
4337
4317
|
selector: '[dbxAuthHasRoles]',
|
|
@@ -4364,10 +4344,10 @@ class DbxAuthNotAnyRoleDirective extends AbstractIfDirective {
|
|
|
4364
4344
|
targetRoles = input(undefined, { ...(ngDevMode ? { debugName: "targetRoles" } : /* istanbul ignore next */ {}), alias: 'dbxAuthNotAnyRole' });
|
|
4365
4345
|
targetRoles$ = toObservable(this.targetRoles);
|
|
4366
4346
|
show$ = this._authService.authRoles$.pipe(authRolesSetContainsNoRolesFrom(this.targetRoles$));
|
|
4367
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4368
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
4347
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAuthNotAnyRoleDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4348
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: DbxAuthNotAnyRoleDirective, isStandalone: true, selector: "[dbxAuthNotAnyRole]", inputs: { targetRoles: { classPropertyName: "targetRoles", publicName: "dbxAuthNotAnyRole", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
4369
4349
|
}
|
|
4370
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4350
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAuthNotAnyRoleDirective, decorators: [{
|
|
4371
4351
|
type: Directive,
|
|
4372
4352
|
args: [{
|
|
4373
4353
|
selector: '[dbxAuthNotAnyRole]',
|
|
@@ -4404,10 +4384,10 @@ class DbxAppAuthStateService {
|
|
|
4404
4384
|
* Observable of the current {@link DbxAppAuthStateUser} from the NgRx store.
|
|
4405
4385
|
*/
|
|
4406
4386
|
authStateUser$ = this.store.select(selectDbxAppAuthUser);
|
|
4407
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4408
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
4387
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppAuthStateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4388
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppAuthStateService, providedIn: 'root' });
|
|
4409
4389
|
}
|
|
4410
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4390
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppAuthStateService, decorators: [{
|
|
4411
4391
|
type: Injectable,
|
|
4412
4392
|
args: [{
|
|
4413
4393
|
providedIn: 'root'
|
|
@@ -4491,10 +4471,10 @@ class DbxActionButtonTriggerDirective {
|
|
|
4491
4471
|
_buttonClicked() {
|
|
4492
4472
|
this.source.trigger();
|
|
4493
4473
|
}
|
|
4494
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4495
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
4474
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionButtonTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4475
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: DbxActionButtonTriggerDirective, isStandalone: true, selector: "[dbxActionButtonTrigger]", ngImport: i0 });
|
|
4496
4476
|
}
|
|
4497
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4477
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionButtonTriggerDirective, decorators: [{
|
|
4498
4478
|
type: Directive,
|
|
4499
4479
|
args: [{
|
|
4500
4480
|
selector: '[dbxActionButtonTrigger]',
|
|
@@ -4618,10 +4598,10 @@ class DbxActionButtonDirective extends DbxActionButtonTriggerDirective {
|
|
|
4618
4598
|
};
|
|
4619
4599
|
return result;
|
|
4620
4600
|
}
|
|
4621
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4622
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
4601
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4602
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: DbxActionButtonDirective, isStandalone: true, selector: "[dbxActionButton]", inputs: { dbxActionButtonEcho: { classPropertyName: "dbxActionButtonEcho", publicName: "dbxActionButtonEcho", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
4623
4603
|
}
|
|
4624
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4604
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionButtonDirective, decorators: [{
|
|
4625
4605
|
type: Directive,
|
|
4626
4606
|
args: [{
|
|
4627
4607
|
selector: '[dbxActionButton]',
|
|
@@ -4659,10 +4639,10 @@ class DbxButtonSegueDirective {
|
|
|
4659
4639
|
}
|
|
4660
4640
|
}));
|
|
4661
4641
|
}
|
|
4662
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4663
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
4642
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxButtonSegueDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4643
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: DbxButtonSegueDirective, isStandalone: true, selector: "[dbxButtonSegue]", inputs: { segueRef: { classPropertyName: "segueRef", publicName: "dbxButtonSegue", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
4664
4644
|
}
|
|
4665
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4645
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxButtonSegueDirective, decorators: [{
|
|
4666
4646
|
type: Directive,
|
|
4667
4647
|
args: [{
|
|
4668
4648
|
selector: '[dbxButtonSegue]',
|
|
@@ -4731,14 +4711,7 @@ class AbstractDbxButtonDirective {
|
|
|
4731
4711
|
clicked$ = outputToObservable(this.buttonClick);
|
|
4732
4712
|
constructor() {
|
|
4733
4713
|
cleanSubscription(this._buttonClick
|
|
4734
|
-
.pipe(switchMap(() => this._buttonInterceptor.pipe(switchMap((x) =>
|
|
4735
|
-
if (x) {
|
|
4736
|
-
return x.interceptButtonClick().pipe(first());
|
|
4737
|
-
}
|
|
4738
|
-
else {
|
|
4739
|
-
return of(true);
|
|
4740
|
-
}
|
|
4741
|
-
}), filter((x) => Boolean(x)) // Ignore false values.
|
|
4714
|
+
.pipe(switchMap(() => this._buttonInterceptor.pipe(switchMap((x) => (x ? x.interceptButtonClick().pipe(first()) : of(true))), filter((x) => Boolean(x)) // Ignore false values.
|
|
4742
4715
|
)))
|
|
4743
4716
|
.subscribe(() => {
|
|
4744
4717
|
this._forceButtonClicked();
|
|
@@ -4778,10 +4751,10 @@ class AbstractDbxButtonDirective {
|
|
|
4778
4751
|
_forceButtonClicked() {
|
|
4779
4752
|
this.buttonClick.emit();
|
|
4780
4753
|
}
|
|
4781
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4782
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
4754
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4755
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: AbstractDbxButtonDirective, isStandalone: true, inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, 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 });
|
|
4783
4756
|
}
|
|
4784
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4757
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxButtonDirective, decorators: [{
|
|
4785
4758
|
type: Directive
|
|
4786
4759
|
}], ctorParameters: () => [], propDecorators: { buttonClick: [{ type: i0.Output, args: ["buttonClick"] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], 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 }] }] } });
|
|
4787
4760
|
// MARK: Implementation
|
|
@@ -4805,10 +4778,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
4805
4778
|
* ```
|
|
4806
4779
|
*/
|
|
4807
4780
|
class DbxButtonDirective extends AbstractDbxButtonDirective {
|
|
4808
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4809
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
4781
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxButtonDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4782
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: DbxButtonDirective, isStandalone: true, selector: "[dbxButton]", providers: provideDbxButton(DbxButtonDirective), exportAs: ["dbxButton"], usesInheritance: true, ngImport: i0 });
|
|
4810
4783
|
}
|
|
4811
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4784
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxButtonDirective, decorators: [{
|
|
4812
4785
|
type: Directive,
|
|
4813
4786
|
args: [{
|
|
4814
4787
|
selector: '[dbxButton]',
|
|
@@ -4848,10 +4821,10 @@ class DbxLoadingButtonDirective {
|
|
|
4848
4821
|
}
|
|
4849
4822
|
this._loadingEffectSub.setSub(subscription);
|
|
4850
4823
|
}, ...(ngDevMode ? [{ debugName: "_loadingEffect" }] : /* istanbul ignore next */ []));
|
|
4851
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4852
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
4824
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxLoadingButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4825
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: DbxLoadingButtonDirective, isStandalone: true, selector: "[dbxLoadingButton]", inputs: { context: { classPropertyName: "context", publicName: "dbxLoadingButton", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 });
|
|
4853
4826
|
}
|
|
4854
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4827
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxLoadingButtonDirective, decorators: [{
|
|
4855
4828
|
type: Directive,
|
|
4856
4829
|
args: [{
|
|
4857
4830
|
selector: '[dbxLoadingButton]',
|
|
@@ -4869,11 +4842,11 @@ const importsAndExports$1 = [DbxButtonDirective, DbxLoadingButtonDirective, DbxA
|
|
|
4869
4842
|
* - DbxButtonSegueDirective
|
|
4870
4843
|
*/
|
|
4871
4844
|
class DbxCoreButtonModule {
|
|
4872
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4873
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
4874
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
4845
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4846
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreButtonModule, imports: [DbxButtonDirective, DbxLoadingButtonDirective, DbxActionButtonTriggerDirective, DbxActionButtonDirective, DbxButtonSegueDirective], exports: [DbxButtonDirective, DbxLoadingButtonDirective, DbxActionButtonTriggerDirective, DbxActionButtonDirective, DbxButtonSegueDirective] });
|
|
4847
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreButtonModule });
|
|
4875
4848
|
}
|
|
4876
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4849
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreButtonModule, decorators: [{
|
|
4877
4850
|
type: NgModule,
|
|
4878
4851
|
args: [{
|
|
4879
4852
|
imports: importsAndExports$1,
|
|
@@ -4908,10 +4881,10 @@ class DbxAppContextService {
|
|
|
4908
4881
|
resetState() {
|
|
4909
4882
|
this.store.next(resetState());
|
|
4910
4883
|
}
|
|
4911
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4912
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
4884
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppContextService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4885
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppContextService, providedIn: 'root' });
|
|
4913
4886
|
}
|
|
4914
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4887
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppContextService, decorators: [{
|
|
4915
4888
|
type: Injectable,
|
|
4916
4889
|
args: [{
|
|
4917
4890
|
providedIn: 'root'
|
|
@@ -4945,10 +4918,10 @@ class DbxAppContextStateDirective {
|
|
|
4945
4918
|
this.dbxAppContextStateService.setState(state);
|
|
4946
4919
|
}
|
|
4947
4920
|
}, ...(ngDevMode ? [{ debugName: "_stateEffect" }] : /* istanbul ignore next */ []));
|
|
4948
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4949
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
4921
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppContextStateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4922
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: DbxAppContextStateDirective, isStandalone: true, selector: "[dbxAppContextState]", inputs: { state: { classPropertyName: "state", publicName: "dbxAppContextState", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
4950
4923
|
}
|
|
4951
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4924
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppContextStateDirective, decorators: [{
|
|
4952
4925
|
type: Directive,
|
|
4953
4926
|
args: [{
|
|
4954
4927
|
selector: '[dbxAppContextState]',
|
|
@@ -5022,10 +4995,10 @@ class DbxAppEnviromentService {
|
|
|
5022
4995
|
getEnvironment() {
|
|
5023
4996
|
return this.environment;
|
|
5024
4997
|
}
|
|
5025
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5026
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
4998
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppEnviromentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4999
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppEnviromentService });
|
|
5027
5000
|
}
|
|
5028
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5001
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppEnviromentService, decorators: [{
|
|
5029
5002
|
type: Injectable
|
|
5030
5003
|
}] });
|
|
5031
5004
|
|
|
@@ -5287,10 +5260,10 @@ class AbstractDbxAnchorDirective {
|
|
|
5287
5260
|
setSelected(selected) {
|
|
5288
5261
|
this.selected.set(selected);
|
|
5289
5262
|
}
|
|
5290
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5291
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
5263
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxAnchorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5264
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", 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 });
|
|
5292
5265
|
}
|
|
5293
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5266
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxAnchorDirective, decorators: [{
|
|
5294
5267
|
type: Directive
|
|
5295
5268
|
}], 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"] }] } });
|
|
5296
5269
|
|
|
@@ -5374,24 +5347,14 @@ function redirectForIdentifierParamHook(input) {
|
|
|
5374
5347
|
}
|
|
5375
5348
|
else if (defaultAllowedIdValue !== transitionTargetId) {
|
|
5376
5349
|
redirectToId = canViewUser(transitionTargetId, authService, injector).pipe(map((x) => {
|
|
5377
|
-
|
|
5378
|
-
|
|
5379
|
-
}
|
|
5380
|
-
else {
|
|
5381
|
-
return x;
|
|
5382
|
-
}
|
|
5350
|
+
const result = x == null || typeof x === 'boolean' ? (x ? transitionTargetId : defaultAllowedIdValue) : x;
|
|
5351
|
+
return result;
|
|
5383
5352
|
}));
|
|
5384
5353
|
}
|
|
5385
5354
|
if (redirectToId != null) {
|
|
5386
5355
|
result = redirectToId.pipe(first(), map((targetId) => {
|
|
5387
|
-
|
|
5388
|
-
|
|
5389
|
-
const state = target.state();
|
|
5390
|
-
return $state.target(state, { ...params, [idParam]: targetId }, { location: true });
|
|
5391
|
-
}
|
|
5392
|
-
else {
|
|
5393
|
-
return true;
|
|
5394
|
-
}
|
|
5356
|
+
const result = targetId !== transitionTargetId ? $state.target(transition.targetState().state(), { ...params, [idParam]: targetId }, { location: true }) : true;
|
|
5357
|
+
return result;
|
|
5395
5358
|
}));
|
|
5396
5359
|
}
|
|
5397
5360
|
return result;
|
|
@@ -5498,17 +5461,19 @@ class DbxAngularRouterService {
|
|
|
5498
5461
|
return firstValueFrom(inputObs).then((inputSegueRef) => {
|
|
5499
5462
|
const segueRef = asSegueRef(inputSegueRef);
|
|
5500
5463
|
const ref = segueRef.ref;
|
|
5464
|
+
let result;
|
|
5501
5465
|
if (Array.isArray(ref)) {
|
|
5502
|
-
|
|
5466
|
+
result = this.router.navigate(ref, {
|
|
5503
5467
|
...segueRef.refOptions,
|
|
5504
5468
|
queryParams: segueRef.refParams
|
|
5505
5469
|
});
|
|
5506
5470
|
}
|
|
5507
5471
|
else {
|
|
5508
|
-
|
|
5472
|
+
result = this.router.navigateByUrl(ref, {
|
|
5509
5473
|
...segueRef.refOptions
|
|
5510
5474
|
});
|
|
5511
5475
|
}
|
|
5476
|
+
return result;
|
|
5512
5477
|
});
|
|
5513
5478
|
}
|
|
5514
5479
|
updateParams(inputParams) {
|
|
@@ -5534,10 +5499,10 @@ class DbxAngularRouterService {
|
|
|
5534
5499
|
comparePrecision(_a, _b) {
|
|
5535
5500
|
return 0; // TODO!
|
|
5536
5501
|
}
|
|
5537
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5538
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
5502
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAngularRouterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5503
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAngularRouterService });
|
|
5539
5504
|
}
|
|
5540
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5505
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAngularRouterService, decorators: [{
|
|
5541
5506
|
type: Injectable
|
|
5542
5507
|
}] });
|
|
5543
5508
|
|
|
@@ -5576,11 +5541,11 @@ class DbxCoreAngularRouterSegueModule {
|
|
|
5576
5541
|
]
|
|
5577
5542
|
};
|
|
5578
5543
|
}
|
|
5579
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5580
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
5581
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
5544
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreAngularRouterSegueModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5545
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreAngularRouterSegueModule });
|
|
5546
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreAngularRouterSegueModule });
|
|
5582
5547
|
}
|
|
5583
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5548
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreAngularRouterSegueModule, decorators: [{
|
|
5584
5549
|
type: NgModule,
|
|
5585
5550
|
args: [{}]
|
|
5586
5551
|
}] });
|
|
@@ -5679,23 +5644,27 @@ class DbxUIRouterService {
|
|
|
5679
5644
|
const segueRef = asSegueRef(input);
|
|
5680
5645
|
const ref = segueRef.ref;
|
|
5681
5646
|
const refParams = segueRef.refParams;
|
|
5647
|
+
let result;
|
|
5682
5648
|
// Slash paths (e.g., '/demo/oauth') are compared against the current URL path
|
|
5683
5649
|
if (ref.startsWith('/')) {
|
|
5684
5650
|
const currentPath = this.uiRouter.urlService.path();
|
|
5685
5651
|
if (exactly) {
|
|
5686
|
-
|
|
5652
|
+
result = currentPath === ref;
|
|
5687
5653
|
}
|
|
5688
5654
|
else {
|
|
5689
|
-
|
|
5655
|
+
result = currentPath === ref || currentPath.startsWith(ref + '/');
|
|
5690
5656
|
}
|
|
5691
5657
|
}
|
|
5692
|
-
|
|
5693
|
-
|
|
5658
|
+
else {
|
|
5659
|
+
const targetRef = ref.startsWith('.') ? `^${ref}` : ref;
|
|
5660
|
+
result = exactly ? this.state.is(targetRef, refParams) : this.state.includes(targetRef, refParams);
|
|
5661
|
+
}
|
|
5662
|
+
return result;
|
|
5694
5663
|
}
|
|
5695
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5696
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
5664
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxUIRouterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5665
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxUIRouterService });
|
|
5697
5666
|
}
|
|
5698
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5667
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxUIRouterService, decorators: [{
|
|
5699
5668
|
type: Injectable
|
|
5700
5669
|
}], ctorParameters: () => [] });
|
|
5701
5670
|
|
|
@@ -5842,10 +5811,10 @@ class AbstractTransitionDirective {
|
|
|
5842
5811
|
* Observable that emits immediately on initialization and on each subsequent successful transition.
|
|
5843
5812
|
*/
|
|
5844
5813
|
initAndUpdateOnTransitionSuccess$ = this.transitionSuccess$.pipe(startWith(undefined));
|
|
5845
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5846
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
5814
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractTransitionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5815
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: AbstractTransitionDirective, isStandalone: true, ngImport: i0 });
|
|
5847
5816
|
}
|
|
5848
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5817
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractTransitionDirective, decorators: [{
|
|
5849
5818
|
type: Directive
|
|
5850
5819
|
}] });
|
|
5851
5820
|
|
|
@@ -5883,10 +5852,10 @@ class AbstractTransitionWatcherDirective extends AbstractTransitionDirective {
|
|
|
5883
5852
|
// remove this function and replace, if necessary or remove entirely with angular zoneless implementation details.
|
|
5884
5853
|
this.ngZone.run(() => this.updateForSuccessfulTransition());
|
|
5885
5854
|
}
|
|
5886
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5887
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
5855
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractTransitionWatcherDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5856
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: AbstractTransitionWatcherDirective, isStandalone: true, usesInheritance: true, ngImport: i0 });
|
|
5888
5857
|
}
|
|
5889
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5858
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractTransitionWatcherDirective, decorators: [{
|
|
5890
5859
|
type: Directive
|
|
5891
5860
|
}], ctorParameters: () => [] });
|
|
5892
5861
|
|
|
@@ -5951,12 +5920,8 @@ function isSegueRefActiveOnTransitionSuccess(config) {
|
|
|
5951
5920
|
function isSegueRefActive(config) {
|
|
5952
5921
|
const { defaultIfNull = false } = config;
|
|
5953
5922
|
return switchMap((segueRef) => {
|
|
5954
|
-
|
|
5955
|
-
|
|
5956
|
-
}
|
|
5957
|
-
else {
|
|
5958
|
-
return of(defaultIfNull);
|
|
5959
|
-
}
|
|
5923
|
+
const result = segueRef ? isSegueRefActiveOnTransitionSuccess({ ...config, segueRef }) : of(defaultIfNull);
|
|
5924
|
+
return result;
|
|
5960
5925
|
});
|
|
5961
5926
|
}
|
|
5962
5927
|
|
|
@@ -6037,17 +6002,15 @@ class DbxRouteParamDefaultRedirectInstance {
|
|
|
6037
6002
|
init() {
|
|
6038
6003
|
this._sub.subscription = this._enabled
|
|
6039
6004
|
.pipe(switchMap((enabled) => {
|
|
6040
|
-
|
|
6041
|
-
|
|
6005
|
+
const result = enabled
|
|
6006
|
+
? this.instance.paramValue$.pipe(switchMapToDefault(this.instance.defaultValue$, (value) => {
|
|
6042
6007
|
return this._useDefaultFilter.pipe(switchMap((fn) => DEFAULT_REDIRECT_INSTANCE_FORWARD_FACTORY(fn)(value)));
|
|
6043
6008
|
}), filterMaybe(), // do not redirect on MaybeNot values
|
|
6044
6009
|
switchMap((defaultValue) => {
|
|
6045
6010
|
return this.redirectWithDefaultValue(defaultValue);
|
|
6046
|
-
}))
|
|
6047
|
-
|
|
6048
|
-
|
|
6049
|
-
return EMPTY;
|
|
6050
|
-
}
|
|
6011
|
+
}))
|
|
6012
|
+
: EMPTY;
|
|
6013
|
+
return result;
|
|
6051
6014
|
}))
|
|
6052
6015
|
.subscribe();
|
|
6053
6016
|
}
|
|
@@ -6057,14 +6020,16 @@ class DbxRouteParamDefaultRedirectInstance {
|
|
|
6057
6020
|
this._sub.destroy();
|
|
6058
6021
|
}
|
|
6059
6022
|
redirectWithDefaultValue(value) {
|
|
6023
|
+
let result;
|
|
6060
6024
|
if (value != null) {
|
|
6061
6025
|
// perform a segue once
|
|
6062
|
-
|
|
6026
|
+
result = this.redirectWithValue(value);
|
|
6063
6027
|
}
|
|
6064
6028
|
else {
|
|
6065
6029
|
// do nothing
|
|
6066
|
-
|
|
6030
|
+
result = Promise.resolve(false);
|
|
6067
6031
|
}
|
|
6032
|
+
return result;
|
|
6068
6033
|
}
|
|
6069
6034
|
redirectWithValue(value) {
|
|
6070
6035
|
return this.instance.dbxRouterService.updateParams({
|
|
@@ -6286,10 +6251,10 @@ class DbxRouteModelIdFromAuthUserIdDirective {
|
|
|
6286
6251
|
constructor() {
|
|
6287
6252
|
cleanSubscription(this.dbxRouteModelIdDelegate.useRouteModelIdParamsObservable(this.dbxAuthService.userIdentifier$, this.dbxAuthService.userIdentifier$));
|
|
6288
6253
|
}
|
|
6289
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6290
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
6254
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxRouteModelIdFromAuthUserIdDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6255
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: DbxRouteModelIdFromAuthUserIdDirective, isStandalone: true, selector: "[dbxRouteModelIdFromAuthUserId]", ngImport: i0 });
|
|
6291
6256
|
}
|
|
6292
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6257
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxRouteModelIdFromAuthUserIdDirective, decorators: [{
|
|
6293
6258
|
type: Directive,
|
|
6294
6259
|
args: [{
|
|
6295
6260
|
selector: '[dbxRouteModelIdFromAuthUserId]',
|
|
@@ -6353,10 +6318,10 @@ class DbxRouteModelIdDirective {
|
|
|
6353
6318
|
set dbxRouteModelIdDefaultDecision(decider) {
|
|
6354
6319
|
this._redirectInstance.setDecider(decider);
|
|
6355
6320
|
}
|
|
6356
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6357
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
6321
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxRouteModelIdDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6322
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: DbxRouteModelIdDirective, isStandalone: true, selector: "[dbxRouteModelId]", inputs: { idParam: ["dbxRouteModelId", "idParam"], dbxRouteModelIdDefault: "dbxRouteModelIdDefault", dbxRouteModelIdDefaultRedirect: "dbxRouteModelIdDefaultRedirect", dbxRouteModelIdDefaultDecision: "dbxRouteModelIdDefaultDecision" }, ngImport: i0 });
|
|
6358
6323
|
}
|
|
6359
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6324
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxRouteModelIdDirective, decorators: [{
|
|
6360
6325
|
type: Directive,
|
|
6361
6326
|
args: [{
|
|
6362
6327
|
selector: '[dbxRouteModelId]',
|
|
@@ -6430,10 +6395,10 @@ class DbxRouteModelKeyDirective {
|
|
|
6430
6395
|
set dbxRouteModelKeyDefaultDecision(decider) {
|
|
6431
6396
|
this._redirectInstance.setDecider(decider);
|
|
6432
6397
|
}
|
|
6433
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6434
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
6398
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxRouteModelKeyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6399
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: DbxRouteModelKeyDirective, isStandalone: true, selector: "[dbxRouteModelKey]", inputs: { keyParam: ["dbxRouteModelKey", "keyParam"], dbxRouteModelKeyDefault: "dbxRouteModelKeyDefault", dbxRouteModelKeyDefaultRedirect: "dbxRouteModelKeyDefaultRedirect", dbxRouteModelKeyDefaultDecision: "dbxRouteModelKeyDefaultDecision" }, ngImport: i0 });
|
|
6435
6400
|
}
|
|
6436
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6401
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxRouteModelKeyDirective, decorators: [{
|
|
6437
6402
|
type: Directive,
|
|
6438
6403
|
args: [{
|
|
6439
6404
|
selector: '[dbxRouteModelKey]',
|
|
@@ -6465,10 +6430,10 @@ class AsObservablePipe {
|
|
|
6465
6430
|
transform(input) {
|
|
6466
6431
|
return asObservableFromGetter(input);
|
|
6467
6432
|
}
|
|
6468
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6469
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6433
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AsObservablePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6434
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: AsObservablePipe, isStandalone: true, name: "asObservable" });
|
|
6470
6435
|
}
|
|
6471
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6436
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AsObservablePipe, decorators: [{
|
|
6472
6437
|
type: Pipe,
|
|
6473
6438
|
args: [{
|
|
6474
6439
|
name: 'asObservable',
|
|
@@ -6492,17 +6457,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
6492
6457
|
*/
|
|
6493
6458
|
class DateDayRangePipe {
|
|
6494
6459
|
transform(input, unavailable = 'Not Available') {
|
|
6495
|
-
|
|
6496
|
-
return formatToDayRangeString(input);
|
|
6497
|
-
}
|
|
6498
|
-
else {
|
|
6499
|
-
return unavailable;
|
|
6500
|
-
}
|
|
6460
|
+
return input ? formatToDayRangeString(input) : unavailable;
|
|
6501
6461
|
}
|
|
6502
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6503
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6462
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateDayRangePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6463
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: DateDayRangePipe, isStandalone: true, name: "dateDayRange" });
|
|
6504
6464
|
}
|
|
6505
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6465
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateDayRangePipe, decorators: [{
|
|
6506
6466
|
type: Pipe,
|
|
6507
6467
|
args: [{
|
|
6508
6468
|
name: 'dateDayRange',
|
|
@@ -6539,10 +6499,10 @@ class ToJsDatePipe {
|
|
|
6539
6499
|
transform(input) {
|
|
6540
6500
|
return ToJsDatePipe.toJsDate(input);
|
|
6541
6501
|
}
|
|
6542
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6543
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6502
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: ToJsDatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6503
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: ToJsDatePipe, isStandalone: true, name: "toJsDate" });
|
|
6544
6504
|
}
|
|
6545
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6505
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: ToJsDatePipe, decorators: [{
|
|
6546
6506
|
type: Pipe,
|
|
6547
6507
|
args: [{
|
|
6548
6508
|
name: 'toJsDate',
|
|
@@ -6570,19 +6530,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
6570
6530
|
*/
|
|
6571
6531
|
class DateDistancePipe {
|
|
6572
6532
|
transform(input, inputTo, unavailable = 'Not Available') {
|
|
6533
|
+
let result;
|
|
6573
6534
|
if (input != null) {
|
|
6574
6535
|
const to = inputTo ?? new Date();
|
|
6575
6536
|
const from = ToJsDatePipe.toJsDate(input);
|
|
6576
|
-
|
|
6537
|
+
result = formatDateDistance(to, from);
|
|
6577
6538
|
}
|
|
6578
6539
|
else {
|
|
6579
|
-
|
|
6540
|
+
result = unavailable;
|
|
6580
6541
|
}
|
|
6542
|
+
return result;
|
|
6581
6543
|
}
|
|
6582
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6583
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6544
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateDistancePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6545
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: DateDistancePipe, isStandalone: true, name: "dateDistance", pure: false });
|
|
6584
6546
|
}
|
|
6585
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6547
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateDistancePipe, decorators: [{
|
|
6586
6548
|
type: Pipe,
|
|
6587
6549
|
args: [{
|
|
6588
6550
|
name: 'dateDistance',
|
|
@@ -6621,10 +6583,10 @@ class DateFormatDistancePipe {
|
|
|
6621
6583
|
}
|
|
6622
6584
|
return undefined;
|
|
6623
6585
|
}
|
|
6624
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6625
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6586
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateFormatDistancePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6587
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: DateFormatDistancePipe, isStandalone: true, name: "dateFormatDistance", pure: false });
|
|
6626
6588
|
}
|
|
6627
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6589
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateFormatDistancePipe, decorators: [{
|
|
6628
6590
|
type: Pipe,
|
|
6629
6591
|
args: [{
|
|
6630
6592
|
name: 'dateFormatDistance',
|
|
@@ -6660,10 +6622,10 @@ class DateFormatFromToPipe {
|
|
|
6660
6622
|
transform(input, format, minutes) {
|
|
6661
6623
|
return DateFormatFromToPipe.formatFromTo(input, format, minutes, this.locale);
|
|
6662
6624
|
}
|
|
6663
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6664
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6625
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateFormatFromToPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6626
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: DateFormatFromToPipe, isStandalone: true, name: "dateFormatFromTo" });
|
|
6665
6627
|
}
|
|
6666
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6628
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateFormatFromToPipe, decorators: [{
|
|
6667
6629
|
type: Pipe,
|
|
6668
6630
|
args: [{
|
|
6669
6631
|
name: 'dateFormatFromTo',
|
|
@@ -6688,17 +6650,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
6688
6650
|
*/
|
|
6689
6651
|
class DateDayTimeRangePipe {
|
|
6690
6652
|
transform(input, unavailable = 'Not Available') {
|
|
6691
|
-
|
|
6692
|
-
return formatToDayTimeRangeString(input);
|
|
6693
|
-
}
|
|
6694
|
-
else {
|
|
6695
|
-
return unavailable;
|
|
6696
|
-
}
|
|
6653
|
+
return input ? formatToDayTimeRangeString(input) : unavailable;
|
|
6697
6654
|
}
|
|
6698
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6699
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6655
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateDayTimeRangePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6656
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: DateDayTimeRangePipe, isStandalone: true, name: "dateDayTimeRange" });
|
|
6700
6657
|
}
|
|
6701
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6658
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateDayTimeRangePipe, decorators: [{
|
|
6702
6659
|
type: Pipe,
|
|
6703
6660
|
args: [{
|
|
6704
6661
|
name: 'dateDayTimeRange',
|
|
@@ -6723,17 +6680,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
6723
6680
|
*/
|
|
6724
6681
|
class DateTimeRangePipe {
|
|
6725
6682
|
transform(input, unavailable = 'Not Available') {
|
|
6726
|
-
|
|
6727
|
-
return formatToTimeRangeString(input);
|
|
6728
|
-
}
|
|
6729
|
-
else {
|
|
6730
|
-
return unavailable;
|
|
6731
|
-
}
|
|
6683
|
+
return input ? formatToTimeRangeString(input) : unavailable;
|
|
6732
6684
|
}
|
|
6733
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6734
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6685
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateTimeRangePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6686
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: DateTimeRangePipe, isStandalone: true, name: "dateTimeRange" });
|
|
6735
6687
|
}
|
|
6736
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6688
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateTimeRangePipe, decorators: [{
|
|
6737
6689
|
type: Pipe,
|
|
6738
6690
|
args: [{
|
|
6739
6691
|
name: 'dateTimeRange',
|
|
@@ -6759,17 +6711,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
6759
6711
|
*/
|
|
6760
6712
|
class DateRangeDistancePipe {
|
|
6761
6713
|
transform(input, unavailable = 'Not Available') {
|
|
6762
|
-
|
|
6763
|
-
return formatDateDistance(input, new Date());
|
|
6764
|
-
}
|
|
6765
|
-
else {
|
|
6766
|
-
return unavailable;
|
|
6767
|
-
}
|
|
6714
|
+
return input != null ? formatDateDistance(input, new Date()) : unavailable;
|
|
6768
6715
|
}
|
|
6769
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6770
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6716
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateRangeDistancePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6717
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: DateRangeDistancePipe, isStandalone: true, name: "dateRangeDistance", pure: false });
|
|
6771
6718
|
}
|
|
6772
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6719
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateRangeDistancePipe, decorators: [{
|
|
6773
6720
|
type: Pipe,
|
|
6774
6721
|
args: [{
|
|
6775
6722
|
name: 'dateRangeDistance',
|
|
@@ -6794,17 +6741,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
6794
6741
|
*/
|
|
6795
6742
|
class DateTimeRangeOnlyPipe {
|
|
6796
6743
|
transform(input, unavailable = 'Not Available') {
|
|
6797
|
-
|
|
6798
|
-
return formatToTimeRangeString(input, undefined, true);
|
|
6799
|
-
}
|
|
6800
|
-
else {
|
|
6801
|
-
return unavailable;
|
|
6802
|
-
}
|
|
6744
|
+
return input ? formatToTimeRangeString(input, undefined, true) : unavailable;
|
|
6803
6745
|
}
|
|
6804
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6805
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6746
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateTimeRangeOnlyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6747
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: DateTimeRangeOnlyPipe, isStandalone: true, name: "dateTimeRangeOnly" });
|
|
6806
6748
|
}
|
|
6807
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6749
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateTimeRangeOnlyPipe, decorators: [{
|
|
6808
6750
|
type: Pipe,
|
|
6809
6751
|
args: [{
|
|
6810
6752
|
name: 'dateTimeRangeOnly',
|
|
@@ -6828,17 +6770,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
6828
6770
|
*/
|
|
6829
6771
|
class TargetDateToSystemDatePipe {
|
|
6830
6772
|
transform(input, timezone) {
|
|
6831
|
-
|
|
6832
|
-
return dateTimezoneUtcNormal({ timezone }).targetDateToSystemDate(input);
|
|
6833
|
-
}
|
|
6834
|
-
else {
|
|
6835
|
-
return undefined;
|
|
6836
|
-
}
|
|
6773
|
+
return input && timezone ? dateTimezoneUtcNormal({ timezone }).targetDateToSystemDate(input) : undefined;
|
|
6837
6774
|
}
|
|
6838
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6839
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6775
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TargetDateToSystemDatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6776
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: TargetDateToSystemDatePipe, isStandalone: true, name: "targetDateToSystemDate", pure: false });
|
|
6840
6777
|
}
|
|
6841
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6778
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TargetDateToSystemDatePipe, decorators: [{
|
|
6842
6779
|
type: Pipe,
|
|
6843
6780
|
args: [{
|
|
6844
6781
|
name: 'targetDateToSystemDate',
|
|
@@ -6867,17 +6804,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
6867
6804
|
*/
|
|
6868
6805
|
class DateTimeRangeOnlyDistancePipe {
|
|
6869
6806
|
transform(input, config, unavailable = 'Not Available') {
|
|
6870
|
-
|
|
6871
|
-
return formatDateRangeDistance(input, { ...config });
|
|
6872
|
-
}
|
|
6873
|
-
else {
|
|
6874
|
-
return unavailable;
|
|
6875
|
-
}
|
|
6807
|
+
return input ? formatDateRangeDistance(input, { ...config }) : unavailable;
|
|
6876
6808
|
}
|
|
6877
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6878
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6809
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateTimeRangeOnlyDistancePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6810
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: DateTimeRangeOnlyDistancePipe, isStandalone: true, name: "dateTimeRangeOnlyDistance" });
|
|
6879
6811
|
}
|
|
6880
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6812
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateTimeRangeOnlyDistancePipe, decorators: [{
|
|
6881
6813
|
type: Pipe,
|
|
6882
6814
|
args: [{
|
|
6883
6815
|
name: 'dateTimeRangeOnlyDistance',
|
|
@@ -6904,17 +6836,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
6904
6836
|
*/
|
|
6905
6837
|
class TimezoneAbbreviationPipe {
|
|
6906
6838
|
transform(timezone, input) {
|
|
6907
|
-
|
|
6908
|
-
return getTimezoneAbbreviation(timezone, input ?? undefined);
|
|
6909
|
-
}
|
|
6910
|
-
else {
|
|
6911
|
-
return undefined;
|
|
6912
|
-
}
|
|
6839
|
+
return timezone ? getTimezoneAbbreviation(timezone, input ?? undefined) : undefined;
|
|
6913
6840
|
}
|
|
6914
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6915
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6841
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TimezoneAbbreviationPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6842
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: TimezoneAbbreviationPipe, isStandalone: true, name: "timezoneAbbreviation", pure: false });
|
|
6916
6843
|
}
|
|
6917
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6844
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TimezoneAbbreviationPipe, decorators: [{
|
|
6918
6845
|
type: Pipe,
|
|
6919
6846
|
args: [{
|
|
6920
6847
|
name: 'timezoneAbbreviation',
|
|
@@ -6937,17 +6864,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
6937
6864
|
*/
|
|
6938
6865
|
class SystemDateToTargetDatePipe {
|
|
6939
6866
|
transform(input, timezone) {
|
|
6940
|
-
|
|
6941
|
-
return dateTimezoneUtcNormal({ timezone }).systemDateToTargetDate(input);
|
|
6942
|
-
}
|
|
6943
|
-
else {
|
|
6944
|
-
return undefined;
|
|
6945
|
-
}
|
|
6867
|
+
return input && timezone ? dateTimezoneUtcNormal({ timezone }).systemDateToTargetDate(input) : undefined;
|
|
6946
6868
|
}
|
|
6947
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6948
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6869
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SystemDateToTargetDatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6870
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: SystemDateToTargetDatePipe, isStandalone: true, name: "systemDateToTargetDate", pure: false });
|
|
6949
6871
|
}
|
|
6950
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6872
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SystemDateToTargetDatePipe, decorators: [{
|
|
6951
6873
|
type: Pipe,
|
|
6952
6874
|
args: [{
|
|
6953
6875
|
name: 'systemDateToTargetDate',
|
|
@@ -6998,10 +6920,10 @@ class MinutesStringPipe {
|
|
|
6998
6920
|
}
|
|
6999
6921
|
return result;
|
|
7000
6922
|
}
|
|
7001
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7002
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6923
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: MinutesStringPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6924
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: MinutesStringPipe, isStandalone: true, name: "minutesString", pure: false });
|
|
7003
6925
|
}
|
|
7004
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6926
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: MinutesStringPipe, decorators: [{
|
|
7005
6927
|
type: Pipe,
|
|
7006
6928
|
args: [{
|
|
7007
6929
|
name: 'minutesString',
|
|
@@ -7028,26 +6950,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
7028
6950
|
*/
|
|
7029
6951
|
class TimeDistanceCountdownPipe {
|
|
7030
6952
|
transform(input, soonString = 'Soon', unavailable = 'Not Available') {
|
|
6953
|
+
let result;
|
|
7031
6954
|
if (input) {
|
|
7032
6955
|
const from = ToJsDatePipe.toJsDate(input);
|
|
7033
6956
|
if (isPast(from)) {
|
|
7034
|
-
|
|
6957
|
+
result = soonString;
|
|
7035
6958
|
}
|
|
7036
6959
|
else {
|
|
7037
6960
|
const to = new Date();
|
|
7038
|
-
|
|
6961
|
+
result = formatDistance(from, to, {
|
|
7039
6962
|
addSuffix: true
|
|
7040
6963
|
});
|
|
7041
6964
|
}
|
|
7042
6965
|
}
|
|
7043
6966
|
else {
|
|
7044
|
-
|
|
6967
|
+
result = unavailable;
|
|
7045
6968
|
}
|
|
6969
|
+
return result;
|
|
7046
6970
|
}
|
|
7047
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7048
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6971
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TimeDistanceCountdownPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6972
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: TimeDistanceCountdownPipe, isStandalone: true, name: "timeCountdownDistance", pure: false });
|
|
7049
6973
|
}
|
|
7050
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6974
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TimeDistanceCountdownPipe, decorators: [{
|
|
7051
6975
|
type: Pipe,
|
|
7052
6976
|
args: [{
|
|
7053
6977
|
name: 'timeCountdownDistance',
|
|
@@ -7075,20 +6999,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
7075
6999
|
*/
|
|
7076
7000
|
class TimeDistancePipe {
|
|
7077
7001
|
transform(input, to, unavailable = 'Not Available') {
|
|
7002
|
+
let result;
|
|
7078
7003
|
if (input) {
|
|
7079
7004
|
const from = ToJsDatePipe.toJsDate(input);
|
|
7080
|
-
|
|
7005
|
+
result = formatDistance(from, to ?? new Date(), {
|
|
7081
7006
|
addSuffix: true
|
|
7082
7007
|
});
|
|
7083
7008
|
}
|
|
7084
7009
|
else {
|
|
7085
|
-
|
|
7010
|
+
result = unavailable;
|
|
7086
7011
|
}
|
|
7012
|
+
return result;
|
|
7087
7013
|
}
|
|
7088
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7089
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
7014
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TimeDistancePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
7015
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: TimeDistancePipe, isStandalone: true, name: "timeDistance", pure: false });
|
|
7090
7016
|
}
|
|
7091
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7017
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TimeDistancePipe, decorators: [{
|
|
7092
7018
|
type: Pipe,
|
|
7093
7019
|
args: [{
|
|
7094
7020
|
name: 'timeDistance',
|
|
@@ -7119,10 +7045,10 @@ class ToMinutesPipe {
|
|
|
7119
7045
|
}
|
|
7120
7046
|
return result;
|
|
7121
7047
|
}
|
|
7122
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7123
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
7048
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: ToMinutesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
7049
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: ToMinutesPipe, isStandalone: true, name: "toMinutes" });
|
|
7124
7050
|
}
|
|
7125
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7051
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: ToMinutesPipe, decorators: [{
|
|
7126
7052
|
type: Pipe,
|
|
7127
7053
|
args: [{
|
|
7128
7054
|
name: 'toMinutes',
|
|
@@ -7162,10 +7088,10 @@ class PrettyJsonPipe {
|
|
|
7162
7088
|
transform(input, spacing) {
|
|
7163
7089
|
return PrettyJsonPipe.toPrettyJson(input, spacing);
|
|
7164
7090
|
}
|
|
7165
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7166
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
7091
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: PrettyJsonPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
7092
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: PrettyJsonPipe, isStandalone: true, name: "prettyjson" });
|
|
7167
7093
|
}
|
|
7168
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7094
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: PrettyJsonPipe, decorators: [{
|
|
7169
7095
|
type: Pipe,
|
|
7170
7096
|
args: [{
|
|
7171
7097
|
name: 'prettyjson',
|
|
@@ -7191,10 +7117,10 @@ class CutTextPipe {
|
|
|
7191
7117
|
transform(input, maxLength, endText) {
|
|
7192
7118
|
return input != null ? cutString(input, maxLength, endText) : input;
|
|
7193
7119
|
}
|
|
7194
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7195
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
7120
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CutTextPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
7121
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: CutTextPipe, isStandalone: true, name: "cutText" });
|
|
7196
7122
|
}
|
|
7197
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7123
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CutTextPipe, decorators: [{
|
|
7198
7124
|
type: Pipe,
|
|
7199
7125
|
args: [{
|
|
7200
7126
|
name: 'cutText',
|
|
@@ -7220,10 +7146,10 @@ class GetValuePipe {
|
|
|
7220
7146
|
transform(input, args) {
|
|
7221
7147
|
return getValueFromGetter(input, args);
|
|
7222
7148
|
}
|
|
7223
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7224
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
7149
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GetValuePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
7150
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: GetValuePipe, isStandalone: true, name: "getValue", pure: false });
|
|
7225
7151
|
}
|
|
7226
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7152
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GetValuePipe, decorators: [{
|
|
7227
7153
|
type: Pipe,
|
|
7228
7154
|
args: [{
|
|
7229
7155
|
name: 'getValue',
|
|
@@ -7246,10 +7172,10 @@ class GetValueOncePipe {
|
|
|
7246
7172
|
transform(input, args) {
|
|
7247
7173
|
return getValueFromGetter(input, args);
|
|
7248
7174
|
}
|
|
7249
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7250
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
7175
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GetValueOncePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
7176
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: GetValueOncePipe, isStandalone: true, name: "getValueOnce" });
|
|
7251
7177
|
}
|
|
7252
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7178
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GetValueOncePipe, decorators: [{
|
|
7253
7179
|
type: Pipe,
|
|
7254
7180
|
args: [{
|
|
7255
7181
|
name: 'getValueOnce',
|
|
@@ -7276,10 +7202,10 @@ class DollarAmountPipe {
|
|
|
7276
7202
|
transform(input, defaultIfNull) {
|
|
7277
7203
|
return defaultIfNull == null || input != null ? dollarAmountString(input) : defaultIfNull;
|
|
7278
7204
|
}
|
|
7279
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7280
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
7205
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DollarAmountPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
7206
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: DollarAmountPipe, isStandalone: true, name: "dollarAmount" });
|
|
7281
7207
|
}
|
|
7282
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7208
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DollarAmountPipe, decorators: [{
|
|
7283
7209
|
type: Pipe,
|
|
7284
7210
|
args: [{
|
|
7285
7211
|
name: 'dollarAmount',
|
|
@@ -7309,10 +7235,10 @@ class AbstractFilterSourceConnectorDirective {
|
|
|
7309
7235
|
connectWithSource(filterSource) {
|
|
7310
7236
|
this._source.next(filterSource);
|
|
7311
7237
|
}
|
|
7312
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7313
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
7238
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractFilterSourceConnectorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7239
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: AbstractFilterSourceConnectorDirective, isStandalone: true, ngImport: i0 });
|
|
7314
7240
|
}
|
|
7315
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7241
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractFilterSourceConnectorDirective, decorators: [{
|
|
7316
7242
|
type: Directive
|
|
7317
7243
|
}] });
|
|
7318
7244
|
|
|
@@ -7436,10 +7362,10 @@ class AbstractFilterSourceDirective {
|
|
|
7436
7362
|
setInitialFilterTakesPriority(initialFilterTakesPriority) {
|
|
7437
7363
|
this._defaultFilterSource.setInitialFilterTakesPriority(initialFilterTakesPriority);
|
|
7438
7364
|
}
|
|
7439
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7440
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
7365
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractFilterSourceDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7366
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: AbstractFilterSourceDirective, isStandalone: true, ngImport: i0 });
|
|
7441
7367
|
}
|
|
7442
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7368
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractFilterSourceDirective, decorators: [{
|
|
7443
7369
|
type: Directive
|
|
7444
7370
|
}] });
|
|
7445
7371
|
|
|
@@ -7462,10 +7388,10 @@ class DbxFilterConnectSourceDirective {
|
|
|
7462
7388
|
ngOnInit() {
|
|
7463
7389
|
this.filterSourceConnector.connectWithSource(this.filterSource);
|
|
7464
7390
|
}
|
|
7465
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7466
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
7391
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFilterConnectSourceDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7392
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: DbxFilterConnectSourceDirective, isStandalone: true, selector: "[dbxFilterConnectSource]", ngImport: i0 });
|
|
7467
7393
|
}
|
|
7468
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7394
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFilterConnectSourceDirective, decorators: [{
|
|
7469
7395
|
type: Directive,
|
|
7470
7396
|
args: [{
|
|
7471
7397
|
selector: '[dbxFilterConnectSource]',
|
|
@@ -7486,10 +7412,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
7486
7412
|
* ```
|
|
7487
7413
|
*/
|
|
7488
7414
|
class DbxFilterSourceConnectorDirective extends AbstractFilterSourceConnectorDirective {
|
|
7489
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7490
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
7415
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFilterSourceConnectorDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
7416
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: DbxFilterSourceConnectorDirective, isStandalone: true, selector: "[dbxFilterSourceConnector]", providers: [...provideFilterSource(DbxFilterSourceConnectorDirective), ...provideFilterSourceConnector(DbxFilterSourceConnectorDirective)], usesInheritance: true, ngImport: i0 });
|
|
7491
7417
|
}
|
|
7492
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7418
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFilterSourceConnectorDirective, decorators: [{
|
|
7493
7419
|
type: Directive,
|
|
7494
7420
|
args: [{
|
|
7495
7421
|
selector: '[dbxFilterSourceConnector]',
|
|
@@ -7516,10 +7442,10 @@ class AbstractDbxFilterMapInstanceDirective {
|
|
|
7516
7442
|
setFilterMapKey(filterMapKey) {
|
|
7517
7443
|
this._currentFilterMapKey.next(filterMapKey);
|
|
7518
7444
|
}
|
|
7519
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7520
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
7445
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxFilterMapInstanceDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7446
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: AbstractDbxFilterMapInstanceDirective, isStandalone: true, ngImport: i0 });
|
|
7521
7447
|
}
|
|
7522
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7448
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxFilterMapInstanceDirective, decorators: [{
|
|
7523
7449
|
type: Directive
|
|
7524
7450
|
}] });
|
|
7525
7451
|
|
|
@@ -7534,10 +7460,10 @@ class AbstractDbxFilterMapSourceDirective extends AbstractDbxFilterMapInstanceDi
|
|
|
7534
7460
|
initWithFilter(filterObs) {
|
|
7535
7461
|
this.instance$.pipe(first()).subscribe((x) => x.initWithFilter(filterObs));
|
|
7536
7462
|
}
|
|
7537
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7538
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
7463
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxFilterMapSourceDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
7464
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: AbstractDbxFilterMapSourceDirective, isStandalone: true, usesInheritance: true, ngImport: i0 });
|
|
7539
7465
|
}
|
|
7540
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7466
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxFilterMapSourceDirective, decorators: [{
|
|
7541
7467
|
type: Directive
|
|
7542
7468
|
}] });
|
|
7543
7469
|
/**
|
|
@@ -7555,10 +7481,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
7555
7481
|
class DbxFilterMapSourceDirective extends AbstractDbxFilterMapSourceDirective {
|
|
7556
7482
|
dbxFilterMapSource = input(...(ngDevMode ? [undefined, { debugName: "dbxFilterMapSource" }] : /* istanbul ignore next */ []));
|
|
7557
7483
|
_dbxFilterMapSourceEffect = effect(() => this.setFilterMapKey(this.dbxFilterMapSource()), ...(ngDevMode ? [{ debugName: "_dbxFilterMapSourceEffect" }] : /* istanbul ignore next */ []));
|
|
7558
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7559
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
7484
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFilterMapSourceDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
7485
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", 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 });
|
|
7560
7486
|
}
|
|
7561
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7487
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFilterMapSourceDirective, decorators: [{
|
|
7562
7488
|
type: Directive,
|
|
7563
7489
|
args: [{
|
|
7564
7490
|
selector: '[dbxFilterMapSource]',
|
|
@@ -7594,10 +7520,10 @@ class DbxFilterMapSourceConnectorDirective extends AbstractDbxFilterMapSourceDir
|
|
|
7594
7520
|
}
|
|
7595
7521
|
});
|
|
7596
7522
|
}
|
|
7597
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7598
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
7523
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFilterMapSourceConnectorDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
7524
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", 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 });
|
|
7599
7525
|
}
|
|
7600
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7526
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFilterMapSourceConnectorDirective, decorators: [{
|
|
7601
7527
|
type: Directive,
|
|
7602
7528
|
args: [{
|
|
7603
7529
|
selector: '[dbxFilterMapSourceConnector]',
|
|
@@ -7623,10 +7549,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
7623
7549
|
*/
|
|
7624
7550
|
class DbxFilterMapDirective {
|
|
7625
7551
|
filterMap = clean(inject((FilterMap)));
|
|
7626
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7627
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
7552
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFilterMapDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7553
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: DbxFilterMapDirective, isStandalone: true, selector: "[dbxFilterMap]", providers: [FilterMap], exportAs: ["dbxFilterMap"], ngImport: i0 });
|
|
7628
7554
|
}
|
|
7629
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7555
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFilterMapDirective, decorators: [{
|
|
7630
7556
|
type: Directive,
|
|
7631
7557
|
args: [{
|
|
7632
7558
|
selector: '[dbxFilterMap]',
|
|
@@ -7666,10 +7592,10 @@ function isClickablePartialFilterPreset(preset) {
|
|
|
7666
7592
|
* ```
|
|
7667
7593
|
*/
|
|
7668
7594
|
class DbxFilterSourceDirective extends AbstractFilterSourceDirective {
|
|
7669
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7670
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
7595
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFilterSourceDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
7596
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: DbxFilterSourceDirective, isStandalone: true, selector: "[dbxFilterSource]", providers: provideFilterSourceDirective(DbxFilterSourceDirective), usesInheritance: true, ngImport: i0 });
|
|
7671
7597
|
}
|
|
7672
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7598
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFilterSourceDirective, decorators: [{
|
|
7673
7599
|
type: Directive,
|
|
7674
7600
|
args: [{
|
|
7675
7601
|
selector: '[dbxFilterSource]',
|
|
@@ -7680,11 +7606,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
7680
7606
|
|
|
7681
7607
|
const importsAndExports = [DbxFilterSourceDirective, DbxFilterMapSourceConnectorDirective, DbxFilterConnectSourceDirective, DbxFilterSourceConnectorDirective, DbxFilterMapDirective, DbxFilterMapSourceDirective];
|
|
7682
7608
|
class DbxCoreFilterModule {
|
|
7683
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7684
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
7685
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
7609
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreFilterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7610
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreFilterModule, imports: [DbxFilterSourceDirective, DbxFilterMapSourceConnectorDirective, DbxFilterConnectSourceDirective, DbxFilterSourceConnectorDirective, DbxFilterMapDirective, DbxFilterMapSourceDirective], exports: [DbxFilterSourceDirective, DbxFilterMapSourceConnectorDirective, DbxFilterConnectSourceDirective, DbxFilterSourceConnectorDirective, DbxFilterMapDirective, DbxFilterMapSourceDirective] });
|
|
7611
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreFilterModule });
|
|
7686
7612
|
}
|
|
7687
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7613
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreFilterModule, decorators: [{
|
|
7688
7614
|
type: NgModule,
|
|
7689
7615
|
args: [{
|
|
7690
7616
|
imports: importsAndExports,
|
|
@@ -7760,6 +7686,9 @@ function mergeStaticProviders(...providers) {
|
|
|
7760
7686
|
*
|
|
7761
7687
|
* Returns the config's injector (or parent) unchanged if no providers or data are specified.
|
|
7762
7688
|
*
|
|
7689
|
+
* @param params - The config and parent injector to build from.
|
|
7690
|
+
* @returns A child {@link Injector} with the config's providers and data, or the parent injector if none are specified.
|
|
7691
|
+
*
|
|
7763
7692
|
* @example
|
|
7764
7693
|
* ```typescript
|
|
7765
7694
|
* const injector = createInjectorForInjectionComponentConfig({
|
|
@@ -7784,6 +7713,9 @@ function createInjectorForInjectionComponentConfig(params) {
|
|
|
7784
7713
|
* Runs the init callback from a {@link DbxInjectionComponentConfig} on the given component ref,
|
|
7785
7714
|
* executing within the component's injection context so that `inject()` is available inside the callback.
|
|
7786
7715
|
*
|
|
7716
|
+
* @param componentRef - The component reference whose instance will be passed to the init callback.
|
|
7717
|
+
* @param config - The injection component config containing the optional init callback.
|
|
7718
|
+
*
|
|
7787
7719
|
* @example
|
|
7788
7720
|
* ```typescript
|
|
7789
7721
|
* const ref = viewContainerRef.createComponent(config.componentClass, { injector });
|
|
@@ -7791,8 +7723,9 @@ function createInjectorForInjectionComponentConfig(params) {
|
|
|
7791
7723
|
* ```
|
|
7792
7724
|
*/
|
|
7793
7725
|
function initInjectionComponent(componentRef, config) {
|
|
7794
|
-
|
|
7795
|
-
|
|
7726
|
+
const { init } = config;
|
|
7727
|
+
if (init) {
|
|
7728
|
+
runInInjectionContext(componentRef.injector, () => init(componentRef.instance));
|
|
7796
7729
|
}
|
|
7797
7730
|
}
|
|
7798
7731
|
|
|
@@ -7856,15 +7789,7 @@ class DbxInjectionInstance {
|
|
|
7856
7789
|
// Wait until the first of either of the two inputs comes in as not defined, and then emit.
|
|
7857
7790
|
// We filter the first maybe here between the two items.
|
|
7858
7791
|
const configTemplateObs = combineLatest([this.config$, this.template$]).pipe(map(([config, template]) => {
|
|
7859
|
-
|
|
7860
|
-
return {
|
|
7861
|
-
config,
|
|
7862
|
-
template
|
|
7863
|
-
};
|
|
7864
|
-
}
|
|
7865
|
-
else {
|
|
7866
|
-
return undefined;
|
|
7867
|
-
}
|
|
7792
|
+
return config || template ? { config, template } : undefined;
|
|
7868
7793
|
}), skipAllInitialMaybe());
|
|
7869
7794
|
this._subscriptionObject.subscription = combineLatest([configTemplateObs, this.content$]).subscribe(([inputConfig, content]) => {
|
|
7870
7795
|
const { config, template } = inputConfig ?? {};
|
|
@@ -7958,10 +7883,10 @@ class AbstractDbxInjectionDirective {
|
|
|
7958
7883
|
setContent(content) {
|
|
7959
7884
|
this._instance.content = content;
|
|
7960
7885
|
}
|
|
7961
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7962
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
7886
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxInjectionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7887
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: AbstractDbxInjectionDirective, isStandalone: true, ngImport: i0 });
|
|
7963
7888
|
}
|
|
7964
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7889
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxInjectionDirective, decorators: [{
|
|
7965
7890
|
type: Directive
|
|
7966
7891
|
}] });
|
|
7967
7892
|
|
|
@@ -8011,12 +7936,12 @@ class DbxInjectionComponent extends AbstractDbxInjectionDirective {
|
|
|
8011
7936
|
_contentEffect = effect(() => this.setContent(this.content()), ...(ngDevMode ? [{ debugName: "_contentEffect" }] : /* istanbul ignore next */ []));
|
|
8012
7937
|
_configEffect = effect(() => this.setConfig(this.config()), ...(ngDevMode ? [{ debugName: "_configEffect" }] : /* istanbul ignore next */ []));
|
|
8013
7938
|
_templateEffect = effect(() => this.setTemplate(this.template()), ...(ngDevMode ? [{ debugName: "_templateEffect" }] : /* istanbul ignore next */ []));
|
|
8014
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
8015
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.
|
|
7939
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxInjectionComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
7940
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.4", 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: `
|
|
8016
7941
|
<ng-template #content></ng-template>
|
|
8017
7942
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
8018
7943
|
}
|
|
8019
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7944
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxInjectionComponent, decorators: [{
|
|
8020
7945
|
type: Component,
|
|
8021
7946
|
args: [{
|
|
8022
7947
|
selector: 'dbx-injection, [dbxInjection], [dbx-injection]',
|
|
@@ -8057,14 +7982,14 @@ class DbxInjectionArrayComponent {
|
|
|
8057
7982
|
* The array of keyed injection entries to render. Each entry produces a `<dbx-injection>` component.
|
|
8058
7983
|
*/
|
|
8059
7984
|
entries = input(undefined, ...(ngDevMode ? [{ debugName: "entries" }] : /* istanbul ignore next */ []));
|
|
8060
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
8061
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
7985
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxInjectionArrayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7986
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: DbxInjectionArrayComponent, isStandalone: true, selector: "dbx-injection-array", inputs: { entries: { classPropertyName: "entries", publicName: "entries", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
8062
7987
|
@for (entry of entries(); track entry.key) {
|
|
8063
7988
|
<dbx-injection [config]="entry.injectionConfig"></dbx-injection>
|
|
8064
7989
|
}
|
|
8065
7990
|
`, isInline: true, dependencies: [{ kind: "component", type: DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
8066
7991
|
}
|
|
8067
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7992
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxInjectionArrayComponent, decorators: [{
|
|
8068
7993
|
type: Component,
|
|
8069
7994
|
args: [{
|
|
8070
7995
|
selector: 'dbx-injection-array',
|
|
@@ -8231,12 +8156,7 @@ class DbxInjectionContextDirective {
|
|
|
8231
8156
|
// clear the current promise
|
|
8232
8157
|
this._currentPromise = undefined;
|
|
8233
8158
|
}
|
|
8234
|
-
|
|
8235
|
-
return Promise.reject(error);
|
|
8236
|
-
}
|
|
8237
|
-
else {
|
|
8238
|
-
return result;
|
|
8239
|
-
}
|
|
8159
|
+
return error != null ? Promise.reject(error) : result;
|
|
8240
8160
|
}
|
|
8241
8161
|
/**
|
|
8242
8162
|
* {@inheritDoc DbxInjectionContext.resetContext}
|
|
@@ -8283,10 +8203,10 @@ class DbxInjectionContextDirective {
|
|
|
8283
8203
|
this._isDetached = false;
|
|
8284
8204
|
}
|
|
8285
8205
|
}
|
|
8286
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
8287
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
8206
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxInjectionContextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
8207
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: DbxInjectionContextDirective, isStandalone: true, selector: "[dbxInjectionContext]", inputs: { config: { classPropertyName: "config", publicName: "config", isSignal: true, isRequired: false, transformFunction: null } }, providers: provideDbxInjectionContext(DbxInjectionContextDirective), ngImport: i0 });
|
|
8288
8208
|
}
|
|
8289
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
8209
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxInjectionContextDirective, decorators: [{
|
|
8290
8210
|
type: Directive,
|
|
8291
8211
|
args: [{
|
|
8292
8212
|
selector: '[dbxInjectionContext]',
|
|
@@ -8335,10 +8255,10 @@ class AbstractForwardDbxInjectionContextDirective {
|
|
|
8335
8255
|
resetContext() {
|
|
8336
8256
|
return this.dbxInjectionContext.resetContext();
|
|
8337
8257
|
}
|
|
8338
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
8339
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
8258
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractForwardDbxInjectionContextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
8259
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: AbstractForwardDbxInjectionContextDirective, isStandalone: true, ngImport: i0 });
|
|
8340
8260
|
}
|
|
8341
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
8261
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractForwardDbxInjectionContextDirective, decorators: [{
|
|
8342
8262
|
type: Directive
|
|
8343
8263
|
}] });
|
|
8344
8264
|
|
|
@@ -8373,13 +8293,8 @@ function switchMapDbxInjectionComponentConfig(defaultConfig) {
|
|
|
8373
8293
|
return switchMapObject({
|
|
8374
8294
|
defaultGetter: () => {
|
|
8375
8295
|
const value = defaultAsGetter();
|
|
8376
|
-
if
|
|
8377
|
-
|
|
8378
|
-
return { componentClass: value };
|
|
8379
|
-
}
|
|
8380
|
-
else {
|
|
8381
|
-
return value;
|
|
8382
|
-
}
|
|
8296
|
+
// if value is a function, it is a component class
|
|
8297
|
+
return typeof value === 'function' ? { componentClass: value } : value;
|
|
8383
8298
|
}
|
|
8384
8299
|
});
|
|
8385
8300
|
}
|
|
@@ -8477,10 +8392,10 @@ class LockSetComponentStore extends ComponentStore {
|
|
|
8477
8392
|
_destroyNow() {
|
|
8478
8393
|
this.lockSet.destroy();
|
|
8479
8394
|
}
|
|
8480
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
8481
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
8395
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: LockSetComponentStore, deps: [{ token: null, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8396
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: LockSetComponentStore });
|
|
8482
8397
|
}
|
|
8483
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
8398
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: LockSetComponentStore, decorators: [{
|
|
8484
8399
|
type: Injectable
|
|
8485
8400
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
8486
8401
|
type: Inject,
|
|
@@ -8614,10 +8529,11 @@ class SimpleStorageAccessor {
|
|
|
8614
8529
|
get(inputKey) {
|
|
8615
8530
|
const storeKey = this.makeStorageKey(inputKey);
|
|
8616
8531
|
return this._delegate.get(storeKey).pipe(map((storedData) => {
|
|
8532
|
+
let result;
|
|
8617
8533
|
if (storedData) {
|
|
8618
8534
|
const readStoredData = this.readStoredData(storedData);
|
|
8619
8535
|
if (!readStoredData.expired) {
|
|
8620
|
-
|
|
8536
|
+
result = readStoredData.convertedData;
|
|
8621
8537
|
}
|
|
8622
8538
|
else {
|
|
8623
8539
|
throw new DataIsExpiredError(readStoredData);
|
|
@@ -8626,6 +8542,7 @@ class SimpleStorageAccessor {
|
|
|
8626
8542
|
else {
|
|
8627
8543
|
throw new DataDoesNotExistError();
|
|
8628
8544
|
}
|
|
8545
|
+
return result;
|
|
8629
8546
|
}));
|
|
8630
8547
|
}
|
|
8631
8548
|
set(inputKey, inputValue) {
|
|
@@ -8643,12 +8560,8 @@ class SimpleStorageAccessor {
|
|
|
8643
8560
|
return allStoredData
|
|
8644
8561
|
.map((storedData) => {
|
|
8645
8562
|
const readStoredData = this.readStoredData(storedData);
|
|
8646
|
-
|
|
8647
|
-
|
|
8648
|
-
}
|
|
8649
|
-
else {
|
|
8650
|
-
return null;
|
|
8651
|
-
}
|
|
8563
|
+
const result = !readStoredData.expired ? readStoredData.convertedData : null;
|
|
8564
|
+
return result;
|
|
8652
8565
|
})
|
|
8653
8566
|
.filter(hasNonNullValue);
|
|
8654
8567
|
}));
|
|
@@ -8678,15 +8591,19 @@ class SimpleStorageAccessor {
|
|
|
8678
8591
|
}
|
|
8679
8592
|
isExpiredStoredData(storeData) {
|
|
8680
8593
|
const expiresIn = this._config.expiresIn;
|
|
8594
|
+
let result;
|
|
8681
8595
|
if (expiresIn) {
|
|
8682
8596
|
if (storeData.storedAt) {
|
|
8683
|
-
|
|
8597
|
+
result = isThrottled(expiresIn, storeData.storedAt);
|
|
8598
|
+
}
|
|
8599
|
+
else {
|
|
8600
|
+
result = true;
|
|
8684
8601
|
}
|
|
8685
|
-
return true;
|
|
8686
8602
|
}
|
|
8687
8603
|
else {
|
|
8688
|
-
|
|
8604
|
+
result = false;
|
|
8689
8605
|
}
|
|
8606
|
+
return result;
|
|
8690
8607
|
}
|
|
8691
8608
|
// MARK: Internal
|
|
8692
8609
|
makeStorageKey(key) {
|
|
@@ -8801,10 +8718,10 @@ class SimpleStorageAccessorFactory {
|
|
|
8801
8718
|
};
|
|
8802
8719
|
return new SimpleStorageAccessor(delegate, accessorConfig);
|
|
8803
8720
|
}
|
|
8804
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
8805
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
8721
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SimpleStorageAccessorFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8722
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SimpleStorageAccessorFactory });
|
|
8806
8723
|
}
|
|
8807
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
8724
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SimpleStorageAccessorFactory, decorators: [{
|
|
8808
8725
|
type: Injectable
|
|
8809
8726
|
}] });
|
|
8810
8727
|
|