@dereekb/dbx-core 13.7.0 → 13.9.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]',
|
|
@@ -2656,6 +2636,33 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
2656
2636
|
}]
|
|
2657
2637
|
}], ctorParameters: () => [], propDecorators: { enabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "dbxActionEnforceModified", required: false }] }] } });
|
|
2658
2638
|
|
|
2639
|
+
/**
|
|
2640
|
+
* Structural directive that conditionally renders its content when the action is marked as modified.
|
|
2641
|
+
*
|
|
2642
|
+
* @example
|
|
2643
|
+
* ```html
|
|
2644
|
+
* <div dbxAction>
|
|
2645
|
+
* <div *dbxActionIsModified>You have unsaved changes.</div>
|
|
2646
|
+
* </div>
|
|
2647
|
+
* ```
|
|
2648
|
+
*
|
|
2649
|
+
* @see {@link DbxActionEnforceModifiedDirective} for disabling the action when not modified.
|
|
2650
|
+
* @see {@link DbxActionAutoModifyDirective} for always keeping the action modified.
|
|
2651
|
+
*/
|
|
2652
|
+
class DbxActionIsModifiedDirective extends AbstractIfDirective {
|
|
2653
|
+
_store = inject(DbxActionContextStoreSourceInstance);
|
|
2654
|
+
show$ = this._store.isModified$.pipe(shareReplay(1));
|
|
2655
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionIsModifiedDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2656
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: DbxActionIsModifiedDirective, isStandalone: true, selector: "[dbxActionIsModified]", usesInheritance: true, ngImport: i0 });
|
|
2657
|
+
}
|
|
2658
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionIsModifiedDirective, decorators: [{
|
|
2659
|
+
type: Directive,
|
|
2660
|
+
args: [{
|
|
2661
|
+
selector: '[dbxActionIsModified]',
|
|
2662
|
+
standalone: true
|
|
2663
|
+
}]
|
|
2664
|
+
}] });
|
|
2665
|
+
|
|
2659
2666
|
/**
|
|
2660
2667
|
* Utility class that handles the trigger-to-value-ready phase of the action lifecycle.
|
|
2661
2668
|
*
|
|
@@ -2765,10 +2772,10 @@ class AbstractDbxActionValueGetterDirective {
|
|
|
2765
2772
|
});
|
|
2766
2773
|
});
|
|
2767
2774
|
}
|
|
2768
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2769
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
2775
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxActionValueGetterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2776
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: AbstractDbxActionValueGetterDirective, isStandalone: true, ngImport: i0 });
|
|
2770
2777
|
}
|
|
2771
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2778
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxActionValueGetterDirective, decorators: [{
|
|
2772
2779
|
type: Directive
|
|
2773
2780
|
}], ctorParameters: () => [] });
|
|
2774
2781
|
/**
|
|
@@ -2806,10 +2813,10 @@ class DbxActionValueTriggerDirective extends AbstractDbxActionValueGetterDirecti
|
|
|
2806
2813
|
isEqualSignal: this.dbxActionValueGetterIsEqual
|
|
2807
2814
|
});
|
|
2808
2815
|
}
|
|
2809
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2810
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
2816
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionValueTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2817
|
+
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
2818
|
}
|
|
2812
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2819
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionValueTriggerDirective, decorators: [{
|
|
2813
2820
|
type: Directive,
|
|
2814
2821
|
args: [{
|
|
2815
2822
|
exportAs: 'dbxActionValueGetter',
|
|
@@ -2881,10 +2888,10 @@ class DbxActionValueStreamDirective {
|
|
|
2881
2888
|
})
|
|
2882
2889
|
});
|
|
2883
2890
|
}
|
|
2884
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2885
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
2891
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionValueStreamDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2892
|
+
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
2893
|
}
|
|
2887
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2894
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionValueStreamDirective, decorators: [{
|
|
2888
2895
|
type: Directive,
|
|
2889
2896
|
args: [{
|
|
2890
2897
|
selector: '[dbxActionValueStream]',
|
|
@@ -2911,17 +2918,12 @@ class DbxActionTriggeredDirective extends AbstractIfDirective {
|
|
|
2911
2918
|
_store = inject(DbxActionContextStoreSourceInstance);
|
|
2912
2919
|
hideAfter = input(undefined, { ...(ngDevMode ? { debugName: "hideAfter" } : /* istanbul ignore next */ {}), alias: 'dbxActionTriggered', transform: transformEmptyStringInputToUndefined });
|
|
2913
2920
|
show$ = this._store.triggered$.pipe(exhaustMap((triggered) => {
|
|
2914
|
-
|
|
2915
|
-
return emitDelayObs(true, false, this.hideAfter());
|
|
2916
|
-
}
|
|
2917
|
-
else {
|
|
2918
|
-
return of(false);
|
|
2919
|
-
}
|
|
2921
|
+
return triggered ? emitDelayObs(true, false, this.hideAfter()) : of(false);
|
|
2920
2922
|
}), 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.
|
|
2923
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionTriggeredDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2924
|
+
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
2925
|
}
|
|
2924
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2926
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionTriggeredDirective, decorators: [{
|
|
2925
2927
|
type: Directive,
|
|
2926
2928
|
args: [{
|
|
2927
2929
|
selector: '[dbxActionTriggered]',
|
|
@@ -2957,8 +2959,8 @@ const importsAndExports$2 = [
|
|
|
2957
2959
|
* Contains all base DbxAction components.
|
|
2958
2960
|
*/
|
|
2959
2961
|
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.
|
|
2962
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreActionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2963
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreActionModule, imports: [DbxActionDirective,
|
|
2962
2964
|
DbxActionContextMapDirective,
|
|
2963
2965
|
DbxActionFromMapDirective,
|
|
2964
2966
|
DbxActionMapSourceDirective,
|
|
@@ -3001,9 +3003,9 @@ class DbxCoreActionModule {
|
|
|
3001
3003
|
DbxActionSuccessHandlerDirective,
|
|
3002
3004
|
DbxActionErrorHandlerDirective,
|
|
3003
3005
|
DbxActionIsWorkingDirective] });
|
|
3004
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
3006
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreActionModule });
|
|
3005
3007
|
}
|
|
3006
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3008
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreActionModule, decorators: [{
|
|
3007
3009
|
type: NgModule,
|
|
3008
3010
|
args: [{
|
|
3009
3011
|
imports: importsAndExports$2,
|
|
@@ -3043,26 +3045,27 @@ function isSegueRef(input) {
|
|
|
3043
3045
|
}
|
|
3044
3046
|
function asSegueRef(input) {
|
|
3045
3047
|
const type = typeof input;
|
|
3048
|
+
let result;
|
|
3046
3049
|
if (type === 'string') {
|
|
3047
|
-
|
|
3050
|
+
result = refStringToSegueRef(input);
|
|
3048
3051
|
}
|
|
3049
3052
|
else if (isSegueRef(input)) {
|
|
3050
|
-
|
|
3051
|
-
}
|
|
3052
|
-
else {
|
|
3053
|
-
return undefined;
|
|
3053
|
+
result = input;
|
|
3054
3054
|
}
|
|
3055
|
+
return result;
|
|
3055
3056
|
}
|
|
3056
3057
|
function asSegueRefString(input) {
|
|
3058
|
+
let result;
|
|
3057
3059
|
if (typeof input === 'string') {
|
|
3058
|
-
|
|
3060
|
+
result = input;
|
|
3059
3061
|
}
|
|
3060
3062
|
else if (isSegueRef(input)) {
|
|
3061
|
-
|
|
3063
|
+
result = input.ref;
|
|
3062
3064
|
}
|
|
3063
3065
|
else {
|
|
3064
3066
|
throw new Error(`asSegueRefString() failed to convert the input to a string: ${input}`);
|
|
3065
3067
|
}
|
|
3068
|
+
return result;
|
|
3066
3069
|
}
|
|
3067
3070
|
/**
|
|
3068
3071
|
* Creates a {@link SegueRef} from a string ref path and optional segue options.
|
|
@@ -3178,18 +3181,20 @@ function makeAuthTransitionHook(config) {
|
|
|
3178
3181
|
const resultObs = decisionObs.pipe(
|
|
3179
3182
|
// after the timeoutTime seconds of no transition working, redirect with a false decision
|
|
3180
3183
|
timeoutStartWith(false, timeoutTime), first(), switchMap((decision) => {
|
|
3184
|
+
let result;
|
|
3181
3185
|
if (typeof decision === 'boolean') {
|
|
3182
3186
|
if (decision) {
|
|
3183
|
-
|
|
3187
|
+
result = of(true);
|
|
3184
3188
|
}
|
|
3185
3189
|
else {
|
|
3186
|
-
|
|
3190
|
+
result = redirectOut();
|
|
3187
3191
|
}
|
|
3188
3192
|
}
|
|
3189
3193
|
else {
|
|
3190
3194
|
const segueRef = asSegueRef(decision);
|
|
3191
|
-
|
|
3195
|
+
result = of($state.target(asSegueRefString(segueRef.ref), segueRef.refParams, segueRef.refOptions));
|
|
3192
3196
|
}
|
|
3197
|
+
return result;
|
|
3193
3198
|
}), catchError((x) => {
|
|
3194
3199
|
console.warn(`Encountered error in auth transition hook. Attempting redirect to ${errorRedirectTarget}.`, x);
|
|
3195
3200
|
return of($state.target(errorRedirectTarget, { location: true })); // Redirect to home
|
|
@@ -3392,17 +3397,19 @@ function enableHasAuthStateHook(transitionService, config) {
|
|
|
3392
3397
|
// MARK: Utility
|
|
3393
3398
|
function toHasAuthStateObjectConfig(input) {
|
|
3394
3399
|
const isString = typeof input === 'string';
|
|
3400
|
+
let result;
|
|
3395
3401
|
if (Array.isArray(input) || isString) {
|
|
3396
3402
|
if (isString) {
|
|
3397
3403
|
input = [input];
|
|
3398
3404
|
}
|
|
3399
|
-
|
|
3405
|
+
result = {
|
|
3400
3406
|
allowedStates: input
|
|
3401
3407
|
};
|
|
3402
3408
|
}
|
|
3403
3409
|
else {
|
|
3404
|
-
|
|
3410
|
+
result = input;
|
|
3405
3411
|
}
|
|
3412
|
+
return result;
|
|
3406
3413
|
}
|
|
3407
3414
|
function toParsedHasAuthStateConfig(input) {
|
|
3408
3415
|
return {
|
|
@@ -3960,10 +3967,10 @@ class DbxAppAuthRouterService {
|
|
|
3960
3967
|
goToApp() {
|
|
3961
3968
|
return goWithRouter(this.dbxRouterService)(this.dbxAppAuthRoutes.appRef);
|
|
3962
3969
|
}
|
|
3963
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3964
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
3970
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppAuthRouterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3971
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppAuthRouterService, providedIn: 'root' });
|
|
3965
3972
|
}
|
|
3966
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3973
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppAuthRouterService, decorators: [{
|
|
3967
3974
|
type: Injectable,
|
|
3968
3975
|
args: [{
|
|
3969
3976
|
providedIn: 'root'
|
|
@@ -4011,10 +4018,10 @@ class DbxAppAuthRouterEffects extends AbstractOnDbxAppContextStateEffects {
|
|
|
4011
4018
|
* Effect to redirect to the app when login occurs.
|
|
4012
4019
|
*/
|
|
4013
4020
|
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.
|
|
4021
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppAuthRouterEffects, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4022
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppAuthRouterEffects });
|
|
4016
4023
|
}
|
|
4017
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4024
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppAuthRouterEffects, decorators: [{
|
|
4018
4025
|
type: Injectable
|
|
4019
4026
|
}], ctorParameters: () => [] });
|
|
4020
4027
|
|
|
@@ -4209,10 +4216,10 @@ class DbxAppAuthEffects {
|
|
|
4209
4216
|
* Syncs the user's onboarding status from the auth service into the NgRx store.
|
|
4210
4217
|
*/
|
|
4211
4218
|
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.
|
|
4219
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppAuthEffects, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4220
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppAuthEffects });
|
|
4214
4221
|
}
|
|
4215
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4222
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppAuthEffects, decorators: [{
|
|
4216
4223
|
type: Injectable
|
|
4217
4224
|
}] });
|
|
4218
4225
|
|
|
@@ -4292,10 +4299,10 @@ class DbxAuthHasAnyRoleDirective extends AbstractIfDirective {
|
|
|
4292
4299
|
targetRoles = input(undefined, { ...(ngDevMode ? { debugName: "targetRoles" } : /* istanbul ignore next */ {}), alias: 'dbxAuthHasAnyRole' });
|
|
4293
4300
|
targetRoles$ = toObservable(this.targetRoles);
|
|
4294
4301
|
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.
|
|
4302
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAuthHasAnyRoleDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4303
|
+
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
4304
|
}
|
|
4298
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4305
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAuthHasAnyRoleDirective, decorators: [{
|
|
4299
4306
|
type: Directive,
|
|
4300
4307
|
args: [{
|
|
4301
4308
|
selector: '[dbxAuthHasAnyRole]',
|
|
@@ -4328,10 +4335,10 @@ class DbxAuthHasRolesDirective extends AbstractIfDirective {
|
|
|
4328
4335
|
targetRoles = input(undefined, { ...(ngDevMode ? { debugName: "targetRoles" } : /* istanbul ignore next */ {}), alias: 'dbxAuthHasRoles' });
|
|
4329
4336
|
targetRoles$ = toObservable(this.targetRoles);
|
|
4330
4337
|
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.
|
|
4338
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAuthHasRolesDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4339
|
+
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
4340
|
}
|
|
4334
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4341
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAuthHasRolesDirective, decorators: [{
|
|
4335
4342
|
type: Directive,
|
|
4336
4343
|
args: [{
|
|
4337
4344
|
selector: '[dbxAuthHasRoles]',
|
|
@@ -4364,10 +4371,10 @@ class DbxAuthNotAnyRoleDirective extends AbstractIfDirective {
|
|
|
4364
4371
|
targetRoles = input(undefined, { ...(ngDevMode ? { debugName: "targetRoles" } : /* istanbul ignore next */ {}), alias: 'dbxAuthNotAnyRole' });
|
|
4365
4372
|
targetRoles$ = toObservable(this.targetRoles);
|
|
4366
4373
|
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.
|
|
4374
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAuthNotAnyRoleDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4375
|
+
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
4376
|
}
|
|
4370
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4377
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAuthNotAnyRoleDirective, decorators: [{
|
|
4371
4378
|
type: Directive,
|
|
4372
4379
|
args: [{
|
|
4373
4380
|
selector: '[dbxAuthNotAnyRole]',
|
|
@@ -4404,10 +4411,10 @@ class DbxAppAuthStateService {
|
|
|
4404
4411
|
* Observable of the current {@link DbxAppAuthStateUser} from the NgRx store.
|
|
4405
4412
|
*/
|
|
4406
4413
|
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.
|
|
4414
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppAuthStateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4415
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppAuthStateService, providedIn: 'root' });
|
|
4409
4416
|
}
|
|
4410
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4417
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppAuthStateService, decorators: [{
|
|
4411
4418
|
type: Injectable,
|
|
4412
4419
|
args: [{
|
|
4413
4420
|
providedIn: 'root'
|
|
@@ -4491,10 +4498,10 @@ class DbxActionButtonTriggerDirective {
|
|
|
4491
4498
|
_buttonClicked() {
|
|
4492
4499
|
this.source.trigger();
|
|
4493
4500
|
}
|
|
4494
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4495
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
4501
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionButtonTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4502
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: DbxActionButtonTriggerDirective, isStandalone: true, selector: "[dbxActionButtonTrigger]", ngImport: i0 });
|
|
4496
4503
|
}
|
|
4497
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4504
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionButtonTriggerDirective, decorators: [{
|
|
4498
4505
|
type: Directive,
|
|
4499
4506
|
args: [{
|
|
4500
4507
|
selector: '[dbxActionButtonTrigger]',
|
|
@@ -4618,10 +4625,10 @@ class DbxActionButtonDirective extends DbxActionButtonTriggerDirective {
|
|
|
4618
4625
|
};
|
|
4619
4626
|
return result;
|
|
4620
4627
|
}
|
|
4621
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4622
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
4628
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4629
|
+
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
4630
|
}
|
|
4624
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4631
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionButtonDirective, decorators: [{
|
|
4625
4632
|
type: Directive,
|
|
4626
4633
|
args: [{
|
|
4627
4634
|
selector: '[dbxActionButton]',
|
|
@@ -4659,10 +4666,10 @@ class DbxButtonSegueDirective {
|
|
|
4659
4666
|
}
|
|
4660
4667
|
}));
|
|
4661
4668
|
}
|
|
4662
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4663
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
4669
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxButtonSegueDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4670
|
+
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
4671
|
}
|
|
4665
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4672
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxButtonSegueDirective, decorators: [{
|
|
4666
4673
|
type: Directive,
|
|
4667
4674
|
args: [{
|
|
4668
4675
|
selector: '[dbxButtonSegue]',
|
|
@@ -4731,14 +4738,7 @@ class AbstractDbxButtonDirective {
|
|
|
4731
4738
|
clicked$ = outputToObservable(this.buttonClick);
|
|
4732
4739
|
constructor() {
|
|
4733
4740
|
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.
|
|
4741
|
+
.pipe(switchMap(() => this._buttonInterceptor.pipe(switchMap((x) => (x ? x.interceptButtonClick().pipe(first()) : of(true))), filter((x) => Boolean(x)) // Ignore false values.
|
|
4742
4742
|
)))
|
|
4743
4743
|
.subscribe(() => {
|
|
4744
4744
|
this._forceButtonClicked();
|
|
@@ -4778,10 +4778,10 @@ class AbstractDbxButtonDirective {
|
|
|
4778
4778
|
_forceButtonClicked() {
|
|
4779
4779
|
this.buttonClick.emit();
|
|
4780
4780
|
}
|
|
4781
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4782
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
4781
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4782
|
+
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
4783
|
}
|
|
4784
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4784
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxButtonDirective, decorators: [{
|
|
4785
4785
|
type: Directive
|
|
4786
4786
|
}], 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
4787
|
// MARK: Implementation
|
|
@@ -4805,10 +4805,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
4805
4805
|
* ```
|
|
4806
4806
|
*/
|
|
4807
4807
|
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.
|
|
4808
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxButtonDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4809
|
+
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
4810
|
}
|
|
4811
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4811
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxButtonDirective, decorators: [{
|
|
4812
4812
|
type: Directive,
|
|
4813
4813
|
args: [{
|
|
4814
4814
|
selector: '[dbxButton]',
|
|
@@ -4848,10 +4848,10 @@ class DbxLoadingButtonDirective {
|
|
|
4848
4848
|
}
|
|
4849
4849
|
this._loadingEffectSub.setSub(subscription);
|
|
4850
4850
|
}, ...(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.
|
|
4851
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxLoadingButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4852
|
+
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
4853
|
}
|
|
4854
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4854
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxLoadingButtonDirective, decorators: [{
|
|
4855
4855
|
type: Directive,
|
|
4856
4856
|
args: [{
|
|
4857
4857
|
selector: '[dbxLoadingButton]',
|
|
@@ -4869,11 +4869,11 @@ const importsAndExports$1 = [DbxButtonDirective, DbxLoadingButtonDirective, DbxA
|
|
|
4869
4869
|
* - DbxButtonSegueDirective
|
|
4870
4870
|
*/
|
|
4871
4871
|
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.
|
|
4872
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4873
|
+
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] });
|
|
4874
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreButtonModule });
|
|
4875
4875
|
}
|
|
4876
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4876
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreButtonModule, decorators: [{
|
|
4877
4877
|
type: NgModule,
|
|
4878
4878
|
args: [{
|
|
4879
4879
|
imports: importsAndExports$1,
|
|
@@ -4908,10 +4908,10 @@ class DbxAppContextService {
|
|
|
4908
4908
|
resetState() {
|
|
4909
4909
|
this.store.next(resetState());
|
|
4910
4910
|
}
|
|
4911
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4912
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
4911
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppContextService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4912
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppContextService, providedIn: 'root' });
|
|
4913
4913
|
}
|
|
4914
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4914
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppContextService, decorators: [{
|
|
4915
4915
|
type: Injectable,
|
|
4916
4916
|
args: [{
|
|
4917
4917
|
providedIn: 'root'
|
|
@@ -4945,10 +4945,10 @@ class DbxAppContextStateDirective {
|
|
|
4945
4945
|
this.dbxAppContextStateService.setState(state);
|
|
4946
4946
|
}
|
|
4947
4947
|
}, ...(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.
|
|
4948
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppContextStateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4949
|
+
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
4950
|
}
|
|
4951
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4951
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppContextStateDirective, decorators: [{
|
|
4952
4952
|
type: Directive,
|
|
4953
4953
|
args: [{
|
|
4954
4954
|
selector: '[dbxAppContextState]',
|
|
@@ -5022,10 +5022,10 @@ class DbxAppEnviromentService {
|
|
|
5022
5022
|
getEnvironment() {
|
|
5023
5023
|
return this.environment;
|
|
5024
5024
|
}
|
|
5025
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5026
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
5025
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppEnviromentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5026
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppEnviromentService });
|
|
5027
5027
|
}
|
|
5028
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5028
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppEnviromentService, decorators: [{
|
|
5029
5029
|
type: Injectable
|
|
5030
5030
|
}] });
|
|
5031
5031
|
|
|
@@ -5287,10 +5287,10 @@ class AbstractDbxAnchorDirective {
|
|
|
5287
5287
|
setSelected(selected) {
|
|
5288
5288
|
this.selected.set(selected);
|
|
5289
5289
|
}
|
|
5290
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5291
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
5290
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxAnchorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5291
|
+
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
5292
|
}
|
|
5293
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5293
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxAnchorDirective, decorators: [{
|
|
5294
5294
|
type: Directive
|
|
5295
5295
|
}], 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
5296
|
|
|
@@ -5374,24 +5374,12 @@ function redirectForIdentifierParamHook(input) {
|
|
|
5374
5374
|
}
|
|
5375
5375
|
else if (defaultAllowedIdValue !== transitionTargetId) {
|
|
5376
5376
|
redirectToId = canViewUser(transitionTargetId, authService, injector).pipe(map((x) => {
|
|
5377
|
-
|
|
5378
|
-
return x ? transitionTargetId : defaultAllowedIdValue;
|
|
5379
|
-
}
|
|
5380
|
-
else {
|
|
5381
|
-
return x;
|
|
5382
|
-
}
|
|
5377
|
+
return x == null || typeof x === 'boolean' ? (x ? transitionTargetId : defaultAllowedIdValue) : x;
|
|
5383
5378
|
}));
|
|
5384
5379
|
}
|
|
5385
5380
|
if (redirectToId != null) {
|
|
5386
5381
|
result = redirectToId.pipe(first(), map((targetId) => {
|
|
5387
|
-
|
|
5388
|
-
const target = transition.targetState();
|
|
5389
|
-
const state = target.state();
|
|
5390
|
-
return $state.target(state, { ...params, [idParam]: targetId }, { location: true });
|
|
5391
|
-
}
|
|
5392
|
-
else {
|
|
5393
|
-
return true;
|
|
5394
|
-
}
|
|
5382
|
+
return targetId !== transitionTargetId ? $state.target(transition.targetState().state(), { ...params, [idParam]: targetId }, { location: true }) : true;
|
|
5395
5383
|
}));
|
|
5396
5384
|
}
|
|
5397
5385
|
return result;
|
|
@@ -5498,17 +5486,19 @@ class DbxAngularRouterService {
|
|
|
5498
5486
|
return firstValueFrom(inputObs).then((inputSegueRef) => {
|
|
5499
5487
|
const segueRef = asSegueRef(inputSegueRef);
|
|
5500
5488
|
const ref = segueRef.ref;
|
|
5489
|
+
let result;
|
|
5501
5490
|
if (Array.isArray(ref)) {
|
|
5502
|
-
|
|
5491
|
+
result = this.router.navigate(ref, {
|
|
5503
5492
|
...segueRef.refOptions,
|
|
5504
5493
|
queryParams: segueRef.refParams
|
|
5505
5494
|
});
|
|
5506
5495
|
}
|
|
5507
5496
|
else {
|
|
5508
|
-
|
|
5497
|
+
result = this.router.navigateByUrl(ref, {
|
|
5509
5498
|
...segueRef.refOptions
|
|
5510
5499
|
});
|
|
5511
5500
|
}
|
|
5501
|
+
return result;
|
|
5512
5502
|
});
|
|
5513
5503
|
}
|
|
5514
5504
|
updateParams(inputParams) {
|
|
@@ -5534,10 +5524,10 @@ class DbxAngularRouterService {
|
|
|
5534
5524
|
comparePrecision(_a, _b) {
|
|
5535
5525
|
return 0; // TODO!
|
|
5536
5526
|
}
|
|
5537
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5538
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
5527
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAngularRouterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5528
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAngularRouterService });
|
|
5539
5529
|
}
|
|
5540
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5530
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAngularRouterService, decorators: [{
|
|
5541
5531
|
type: Injectable
|
|
5542
5532
|
}] });
|
|
5543
5533
|
|
|
@@ -5576,11 +5566,11 @@ class DbxCoreAngularRouterSegueModule {
|
|
|
5576
5566
|
]
|
|
5577
5567
|
};
|
|
5578
5568
|
}
|
|
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.
|
|
5569
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreAngularRouterSegueModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5570
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreAngularRouterSegueModule });
|
|
5571
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreAngularRouterSegueModule });
|
|
5582
5572
|
}
|
|
5583
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5573
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreAngularRouterSegueModule, decorators: [{
|
|
5584
5574
|
type: NgModule,
|
|
5585
5575
|
args: [{}]
|
|
5586
5576
|
}] });
|
|
@@ -5679,23 +5669,27 @@ class DbxUIRouterService {
|
|
|
5679
5669
|
const segueRef = asSegueRef(input);
|
|
5680
5670
|
const ref = segueRef.ref;
|
|
5681
5671
|
const refParams = segueRef.refParams;
|
|
5672
|
+
let result;
|
|
5682
5673
|
// Slash paths (e.g., '/demo/oauth') are compared against the current URL path
|
|
5683
5674
|
if (ref.startsWith('/')) {
|
|
5684
5675
|
const currentPath = this.uiRouter.urlService.path();
|
|
5685
5676
|
if (exactly) {
|
|
5686
|
-
|
|
5677
|
+
result = currentPath === ref;
|
|
5687
5678
|
}
|
|
5688
5679
|
else {
|
|
5689
|
-
|
|
5680
|
+
result = currentPath === ref || currentPath.startsWith(ref + '/');
|
|
5690
5681
|
}
|
|
5691
5682
|
}
|
|
5692
|
-
|
|
5693
|
-
|
|
5683
|
+
else {
|
|
5684
|
+
const targetRef = ref.startsWith('.') ? `^${ref}` : ref;
|
|
5685
|
+
result = exactly ? this.state.is(targetRef, refParams) : this.state.includes(targetRef, refParams);
|
|
5686
|
+
}
|
|
5687
|
+
return result;
|
|
5694
5688
|
}
|
|
5695
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5696
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
5689
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxUIRouterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5690
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxUIRouterService });
|
|
5697
5691
|
}
|
|
5698
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5692
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxUIRouterService, decorators: [{
|
|
5699
5693
|
type: Injectable
|
|
5700
5694
|
}], ctorParameters: () => [] });
|
|
5701
5695
|
|
|
@@ -5842,10 +5836,10 @@ class AbstractTransitionDirective {
|
|
|
5842
5836
|
* Observable that emits immediately on initialization and on each subsequent successful transition.
|
|
5843
5837
|
*/
|
|
5844
5838
|
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.
|
|
5839
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractTransitionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5840
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: AbstractTransitionDirective, isStandalone: true, ngImport: i0 });
|
|
5847
5841
|
}
|
|
5848
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5842
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractTransitionDirective, decorators: [{
|
|
5849
5843
|
type: Directive
|
|
5850
5844
|
}] });
|
|
5851
5845
|
|
|
@@ -5883,10 +5877,10 @@ class AbstractTransitionWatcherDirective extends AbstractTransitionDirective {
|
|
|
5883
5877
|
// remove this function and replace, if necessary or remove entirely with angular zoneless implementation details.
|
|
5884
5878
|
this.ngZone.run(() => this.updateForSuccessfulTransition());
|
|
5885
5879
|
}
|
|
5886
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5887
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
5880
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractTransitionWatcherDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5881
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: AbstractTransitionWatcherDirective, isStandalone: true, usesInheritance: true, ngImport: i0 });
|
|
5888
5882
|
}
|
|
5889
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5883
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractTransitionWatcherDirective, decorators: [{
|
|
5890
5884
|
type: Directive
|
|
5891
5885
|
}], ctorParameters: () => [] });
|
|
5892
5886
|
|
|
@@ -5951,12 +5945,7 @@ function isSegueRefActiveOnTransitionSuccess(config) {
|
|
|
5951
5945
|
function isSegueRefActive(config) {
|
|
5952
5946
|
const { defaultIfNull = false } = config;
|
|
5953
5947
|
return switchMap((segueRef) => {
|
|
5954
|
-
|
|
5955
|
-
return isSegueRefActiveOnTransitionSuccess({ ...config, segueRef });
|
|
5956
|
-
}
|
|
5957
|
-
else {
|
|
5958
|
-
return of(defaultIfNull);
|
|
5959
|
-
}
|
|
5948
|
+
return segueRef ? isSegueRefActiveOnTransitionSuccess({ ...config, segueRef }) : of(defaultIfNull);
|
|
5960
5949
|
});
|
|
5961
5950
|
}
|
|
5962
5951
|
|
|
@@ -6037,17 +6026,14 @@ class DbxRouteParamDefaultRedirectInstance {
|
|
|
6037
6026
|
init() {
|
|
6038
6027
|
this._sub.subscription = this._enabled
|
|
6039
6028
|
.pipe(switchMap((enabled) => {
|
|
6040
|
-
|
|
6041
|
-
|
|
6029
|
+
return enabled
|
|
6030
|
+
? this.instance.paramValue$.pipe(switchMapToDefault(this.instance.defaultValue$, (value) => {
|
|
6042
6031
|
return this._useDefaultFilter.pipe(switchMap((fn) => DEFAULT_REDIRECT_INSTANCE_FORWARD_FACTORY(fn)(value)));
|
|
6043
6032
|
}), filterMaybe(), // do not redirect on MaybeNot values
|
|
6044
6033
|
switchMap((defaultValue) => {
|
|
6045
6034
|
return this.redirectWithDefaultValue(defaultValue);
|
|
6046
|
-
}))
|
|
6047
|
-
|
|
6048
|
-
else {
|
|
6049
|
-
return EMPTY;
|
|
6050
|
-
}
|
|
6035
|
+
}))
|
|
6036
|
+
: EMPTY;
|
|
6051
6037
|
}))
|
|
6052
6038
|
.subscribe();
|
|
6053
6039
|
}
|
|
@@ -6057,14 +6043,16 @@ class DbxRouteParamDefaultRedirectInstance {
|
|
|
6057
6043
|
this._sub.destroy();
|
|
6058
6044
|
}
|
|
6059
6045
|
redirectWithDefaultValue(value) {
|
|
6046
|
+
let result;
|
|
6060
6047
|
if (value != null) {
|
|
6061
6048
|
// perform a segue once
|
|
6062
|
-
|
|
6049
|
+
result = this.redirectWithValue(value);
|
|
6063
6050
|
}
|
|
6064
6051
|
else {
|
|
6065
6052
|
// do nothing
|
|
6066
|
-
|
|
6053
|
+
result = Promise.resolve(false);
|
|
6067
6054
|
}
|
|
6055
|
+
return result;
|
|
6068
6056
|
}
|
|
6069
6057
|
redirectWithValue(value) {
|
|
6070
6058
|
return this.instance.dbxRouterService.updateParams({
|
|
@@ -6286,10 +6274,10 @@ class DbxRouteModelIdFromAuthUserIdDirective {
|
|
|
6286
6274
|
constructor() {
|
|
6287
6275
|
cleanSubscription(this.dbxRouteModelIdDelegate.useRouteModelIdParamsObservable(this.dbxAuthService.userIdentifier$, this.dbxAuthService.userIdentifier$));
|
|
6288
6276
|
}
|
|
6289
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6290
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
6277
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxRouteModelIdFromAuthUserIdDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6278
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: DbxRouteModelIdFromAuthUserIdDirective, isStandalone: true, selector: "[dbxRouteModelIdFromAuthUserId]", ngImport: i0 });
|
|
6291
6279
|
}
|
|
6292
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6280
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxRouteModelIdFromAuthUserIdDirective, decorators: [{
|
|
6293
6281
|
type: Directive,
|
|
6294
6282
|
args: [{
|
|
6295
6283
|
selector: '[dbxRouteModelIdFromAuthUserId]',
|
|
@@ -6353,10 +6341,10 @@ class DbxRouteModelIdDirective {
|
|
|
6353
6341
|
set dbxRouteModelIdDefaultDecision(decider) {
|
|
6354
6342
|
this._redirectInstance.setDecider(decider);
|
|
6355
6343
|
}
|
|
6356
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6357
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
6344
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxRouteModelIdDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6345
|
+
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
6346
|
}
|
|
6359
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6347
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxRouteModelIdDirective, decorators: [{
|
|
6360
6348
|
type: Directive,
|
|
6361
6349
|
args: [{
|
|
6362
6350
|
selector: '[dbxRouteModelId]',
|
|
@@ -6430,10 +6418,10 @@ class DbxRouteModelKeyDirective {
|
|
|
6430
6418
|
set dbxRouteModelKeyDefaultDecision(decider) {
|
|
6431
6419
|
this._redirectInstance.setDecider(decider);
|
|
6432
6420
|
}
|
|
6433
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6434
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
6421
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxRouteModelKeyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6422
|
+
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
6423
|
}
|
|
6436
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6424
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxRouteModelKeyDirective, decorators: [{
|
|
6437
6425
|
type: Directive,
|
|
6438
6426
|
args: [{
|
|
6439
6427
|
selector: '[dbxRouteModelKey]',
|
|
@@ -6465,10 +6453,10 @@ class AsObservablePipe {
|
|
|
6465
6453
|
transform(input) {
|
|
6466
6454
|
return asObservableFromGetter(input);
|
|
6467
6455
|
}
|
|
6468
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6469
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6456
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AsObservablePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6457
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: AsObservablePipe, isStandalone: true, name: "asObservable" });
|
|
6470
6458
|
}
|
|
6471
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6459
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AsObservablePipe, decorators: [{
|
|
6472
6460
|
type: Pipe,
|
|
6473
6461
|
args: [{
|
|
6474
6462
|
name: 'asObservable',
|
|
@@ -6492,17 +6480,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
6492
6480
|
*/
|
|
6493
6481
|
class DateDayRangePipe {
|
|
6494
6482
|
transform(input, unavailable = 'Not Available') {
|
|
6495
|
-
|
|
6496
|
-
return formatToDayRangeString(input);
|
|
6497
|
-
}
|
|
6498
|
-
else {
|
|
6499
|
-
return unavailable;
|
|
6500
|
-
}
|
|
6483
|
+
return input ? formatToDayRangeString(input) : unavailable;
|
|
6501
6484
|
}
|
|
6502
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6503
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6485
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateDayRangePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6486
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: DateDayRangePipe, isStandalone: true, name: "dateDayRange" });
|
|
6504
6487
|
}
|
|
6505
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6488
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateDayRangePipe, decorators: [{
|
|
6506
6489
|
type: Pipe,
|
|
6507
6490
|
args: [{
|
|
6508
6491
|
name: 'dateDayRange',
|
|
@@ -6539,10 +6522,10 @@ class ToJsDatePipe {
|
|
|
6539
6522
|
transform(input) {
|
|
6540
6523
|
return ToJsDatePipe.toJsDate(input);
|
|
6541
6524
|
}
|
|
6542
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6543
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6525
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: ToJsDatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6526
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: ToJsDatePipe, isStandalone: true, name: "toJsDate" });
|
|
6544
6527
|
}
|
|
6545
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6528
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: ToJsDatePipe, decorators: [{
|
|
6546
6529
|
type: Pipe,
|
|
6547
6530
|
args: [{
|
|
6548
6531
|
name: 'toJsDate',
|
|
@@ -6570,19 +6553,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
6570
6553
|
*/
|
|
6571
6554
|
class DateDistancePipe {
|
|
6572
6555
|
transform(input, inputTo, unavailable = 'Not Available') {
|
|
6556
|
+
let result;
|
|
6573
6557
|
if (input != null) {
|
|
6574
6558
|
const to = inputTo ?? new Date();
|
|
6575
6559
|
const from = ToJsDatePipe.toJsDate(input);
|
|
6576
|
-
|
|
6560
|
+
result = formatDateDistance(to, from);
|
|
6577
6561
|
}
|
|
6578
6562
|
else {
|
|
6579
|
-
|
|
6563
|
+
result = unavailable;
|
|
6580
6564
|
}
|
|
6565
|
+
return result;
|
|
6581
6566
|
}
|
|
6582
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6583
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6567
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateDistancePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6568
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: DateDistancePipe, isStandalone: true, name: "dateDistance", pure: false });
|
|
6584
6569
|
}
|
|
6585
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6570
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateDistancePipe, decorators: [{
|
|
6586
6571
|
type: Pipe,
|
|
6587
6572
|
args: [{
|
|
6588
6573
|
name: 'dateDistance',
|
|
@@ -6621,10 +6606,10 @@ class DateFormatDistancePipe {
|
|
|
6621
6606
|
}
|
|
6622
6607
|
return undefined;
|
|
6623
6608
|
}
|
|
6624
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6625
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6609
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateFormatDistancePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6610
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: DateFormatDistancePipe, isStandalone: true, name: "dateFormatDistance", pure: false });
|
|
6626
6611
|
}
|
|
6627
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6612
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateFormatDistancePipe, decorators: [{
|
|
6628
6613
|
type: Pipe,
|
|
6629
6614
|
args: [{
|
|
6630
6615
|
name: 'dateFormatDistance',
|
|
@@ -6660,10 +6645,10 @@ class DateFormatFromToPipe {
|
|
|
6660
6645
|
transform(input, format, minutes) {
|
|
6661
6646
|
return DateFormatFromToPipe.formatFromTo(input, format, minutes, this.locale);
|
|
6662
6647
|
}
|
|
6663
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6664
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6648
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateFormatFromToPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6649
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: DateFormatFromToPipe, isStandalone: true, name: "dateFormatFromTo" });
|
|
6665
6650
|
}
|
|
6666
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6651
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateFormatFromToPipe, decorators: [{
|
|
6667
6652
|
type: Pipe,
|
|
6668
6653
|
args: [{
|
|
6669
6654
|
name: 'dateFormatFromTo',
|
|
@@ -6688,17 +6673,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
6688
6673
|
*/
|
|
6689
6674
|
class DateDayTimeRangePipe {
|
|
6690
6675
|
transform(input, unavailable = 'Not Available') {
|
|
6691
|
-
|
|
6692
|
-
return formatToDayTimeRangeString(input);
|
|
6693
|
-
}
|
|
6694
|
-
else {
|
|
6695
|
-
return unavailable;
|
|
6696
|
-
}
|
|
6676
|
+
return input ? formatToDayTimeRangeString(input) : unavailable;
|
|
6697
6677
|
}
|
|
6698
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6699
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6678
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateDayTimeRangePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6679
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: DateDayTimeRangePipe, isStandalone: true, name: "dateDayTimeRange" });
|
|
6700
6680
|
}
|
|
6701
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6681
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateDayTimeRangePipe, decorators: [{
|
|
6702
6682
|
type: Pipe,
|
|
6703
6683
|
args: [{
|
|
6704
6684
|
name: 'dateDayTimeRange',
|
|
@@ -6723,17 +6703,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
6723
6703
|
*/
|
|
6724
6704
|
class DateTimeRangePipe {
|
|
6725
6705
|
transform(input, unavailable = 'Not Available') {
|
|
6726
|
-
|
|
6727
|
-
return formatToTimeRangeString(input);
|
|
6728
|
-
}
|
|
6729
|
-
else {
|
|
6730
|
-
return unavailable;
|
|
6731
|
-
}
|
|
6706
|
+
return input ? formatToTimeRangeString(input) : unavailable;
|
|
6732
6707
|
}
|
|
6733
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6734
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6708
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateTimeRangePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6709
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: DateTimeRangePipe, isStandalone: true, name: "dateTimeRange" });
|
|
6735
6710
|
}
|
|
6736
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6711
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateTimeRangePipe, decorators: [{
|
|
6737
6712
|
type: Pipe,
|
|
6738
6713
|
args: [{
|
|
6739
6714
|
name: 'dateTimeRange',
|
|
@@ -6759,17 +6734,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
6759
6734
|
*/
|
|
6760
6735
|
class DateRangeDistancePipe {
|
|
6761
6736
|
transform(input, unavailable = 'Not Available') {
|
|
6762
|
-
|
|
6763
|
-
return formatDateDistance(input, new Date());
|
|
6764
|
-
}
|
|
6765
|
-
else {
|
|
6766
|
-
return unavailable;
|
|
6767
|
-
}
|
|
6737
|
+
return input != null ? formatDateDistance(input, new Date()) : unavailable;
|
|
6768
6738
|
}
|
|
6769
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6770
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6739
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateRangeDistancePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6740
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: DateRangeDistancePipe, isStandalone: true, name: "dateRangeDistance", pure: false });
|
|
6771
6741
|
}
|
|
6772
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6742
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateRangeDistancePipe, decorators: [{
|
|
6773
6743
|
type: Pipe,
|
|
6774
6744
|
args: [{
|
|
6775
6745
|
name: 'dateRangeDistance',
|
|
@@ -6794,17 +6764,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
6794
6764
|
*/
|
|
6795
6765
|
class DateTimeRangeOnlyPipe {
|
|
6796
6766
|
transform(input, unavailable = 'Not Available') {
|
|
6797
|
-
|
|
6798
|
-
return formatToTimeRangeString(input, undefined, true);
|
|
6799
|
-
}
|
|
6800
|
-
else {
|
|
6801
|
-
return unavailable;
|
|
6802
|
-
}
|
|
6767
|
+
return input ? formatToTimeRangeString(input, undefined, true) : unavailable;
|
|
6803
6768
|
}
|
|
6804
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6805
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6769
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateTimeRangeOnlyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6770
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: DateTimeRangeOnlyPipe, isStandalone: true, name: "dateTimeRangeOnly" });
|
|
6806
6771
|
}
|
|
6807
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6772
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateTimeRangeOnlyPipe, decorators: [{
|
|
6808
6773
|
type: Pipe,
|
|
6809
6774
|
args: [{
|
|
6810
6775
|
name: 'dateTimeRangeOnly',
|
|
@@ -6828,17 +6793,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
6828
6793
|
*/
|
|
6829
6794
|
class TargetDateToSystemDatePipe {
|
|
6830
6795
|
transform(input, timezone) {
|
|
6831
|
-
|
|
6832
|
-
return dateTimezoneUtcNormal({ timezone }).targetDateToSystemDate(input);
|
|
6833
|
-
}
|
|
6834
|
-
else {
|
|
6835
|
-
return undefined;
|
|
6836
|
-
}
|
|
6796
|
+
return input && timezone ? dateTimezoneUtcNormal({ timezone }).targetDateToSystemDate(input) : undefined;
|
|
6837
6797
|
}
|
|
6838
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6839
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6798
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TargetDateToSystemDatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6799
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: TargetDateToSystemDatePipe, isStandalone: true, name: "targetDateToSystemDate", pure: false });
|
|
6840
6800
|
}
|
|
6841
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6801
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TargetDateToSystemDatePipe, decorators: [{
|
|
6842
6802
|
type: Pipe,
|
|
6843
6803
|
args: [{
|
|
6844
6804
|
name: 'targetDateToSystemDate',
|
|
@@ -6867,17 +6827,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
6867
6827
|
*/
|
|
6868
6828
|
class DateTimeRangeOnlyDistancePipe {
|
|
6869
6829
|
transform(input, config, unavailable = 'Not Available') {
|
|
6870
|
-
|
|
6871
|
-
return formatDateRangeDistance(input, { ...config });
|
|
6872
|
-
}
|
|
6873
|
-
else {
|
|
6874
|
-
return unavailable;
|
|
6875
|
-
}
|
|
6830
|
+
return input ? formatDateRangeDistance(input, { ...config }) : unavailable;
|
|
6876
6831
|
}
|
|
6877
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6878
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6832
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateTimeRangeOnlyDistancePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6833
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: DateTimeRangeOnlyDistancePipe, isStandalone: true, name: "dateTimeRangeOnlyDistance" });
|
|
6879
6834
|
}
|
|
6880
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6835
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateTimeRangeOnlyDistancePipe, decorators: [{
|
|
6881
6836
|
type: Pipe,
|
|
6882
6837
|
args: [{
|
|
6883
6838
|
name: 'dateTimeRangeOnlyDistance',
|
|
@@ -6904,17 +6859,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
6904
6859
|
*/
|
|
6905
6860
|
class TimezoneAbbreviationPipe {
|
|
6906
6861
|
transform(timezone, input) {
|
|
6907
|
-
|
|
6908
|
-
return getTimezoneAbbreviation(timezone, input ?? undefined);
|
|
6909
|
-
}
|
|
6910
|
-
else {
|
|
6911
|
-
return undefined;
|
|
6912
|
-
}
|
|
6862
|
+
return timezone ? getTimezoneAbbreviation(timezone, input ?? undefined) : undefined;
|
|
6913
6863
|
}
|
|
6914
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6915
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6864
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TimezoneAbbreviationPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6865
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: TimezoneAbbreviationPipe, isStandalone: true, name: "timezoneAbbreviation", pure: false });
|
|
6916
6866
|
}
|
|
6917
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6867
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TimezoneAbbreviationPipe, decorators: [{
|
|
6918
6868
|
type: Pipe,
|
|
6919
6869
|
args: [{
|
|
6920
6870
|
name: 'timezoneAbbreviation',
|
|
@@ -6937,17 +6887,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
6937
6887
|
*/
|
|
6938
6888
|
class SystemDateToTargetDatePipe {
|
|
6939
6889
|
transform(input, timezone) {
|
|
6940
|
-
|
|
6941
|
-
return dateTimezoneUtcNormal({ timezone }).systemDateToTargetDate(input);
|
|
6942
|
-
}
|
|
6943
|
-
else {
|
|
6944
|
-
return undefined;
|
|
6945
|
-
}
|
|
6890
|
+
return input && timezone ? dateTimezoneUtcNormal({ timezone }).systemDateToTargetDate(input) : undefined;
|
|
6946
6891
|
}
|
|
6947
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6948
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6892
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SystemDateToTargetDatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6893
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: SystemDateToTargetDatePipe, isStandalone: true, name: "systemDateToTargetDate", pure: false });
|
|
6949
6894
|
}
|
|
6950
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6895
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SystemDateToTargetDatePipe, decorators: [{
|
|
6951
6896
|
type: Pipe,
|
|
6952
6897
|
args: [{
|
|
6953
6898
|
name: 'systemDateToTargetDate',
|
|
@@ -6998,10 +6943,10 @@ class MinutesStringPipe {
|
|
|
6998
6943
|
}
|
|
6999
6944
|
return result;
|
|
7000
6945
|
}
|
|
7001
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7002
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6946
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: MinutesStringPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6947
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: MinutesStringPipe, isStandalone: true, name: "minutesString", pure: false });
|
|
7003
6948
|
}
|
|
7004
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6949
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: MinutesStringPipe, decorators: [{
|
|
7005
6950
|
type: Pipe,
|
|
7006
6951
|
args: [{
|
|
7007
6952
|
name: 'minutesString',
|
|
@@ -7028,26 +6973,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
7028
6973
|
*/
|
|
7029
6974
|
class TimeDistanceCountdownPipe {
|
|
7030
6975
|
transform(input, soonString = 'Soon', unavailable = 'Not Available') {
|
|
6976
|
+
let result;
|
|
7031
6977
|
if (input) {
|
|
7032
6978
|
const from = ToJsDatePipe.toJsDate(input);
|
|
7033
6979
|
if (isPast(from)) {
|
|
7034
|
-
|
|
6980
|
+
result = soonString;
|
|
7035
6981
|
}
|
|
7036
6982
|
else {
|
|
7037
6983
|
const to = new Date();
|
|
7038
|
-
|
|
6984
|
+
result = formatDistance(from, to, {
|
|
7039
6985
|
addSuffix: true
|
|
7040
6986
|
});
|
|
7041
6987
|
}
|
|
7042
6988
|
}
|
|
7043
6989
|
else {
|
|
7044
|
-
|
|
6990
|
+
result = unavailable;
|
|
7045
6991
|
}
|
|
6992
|
+
return result;
|
|
7046
6993
|
}
|
|
7047
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7048
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6994
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TimeDistanceCountdownPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6995
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: TimeDistanceCountdownPipe, isStandalone: true, name: "timeCountdownDistance", pure: false });
|
|
7049
6996
|
}
|
|
7050
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6997
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TimeDistanceCountdownPipe, decorators: [{
|
|
7051
6998
|
type: Pipe,
|
|
7052
6999
|
args: [{
|
|
7053
7000
|
name: 'timeCountdownDistance',
|
|
@@ -7075,20 +7022,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
7075
7022
|
*/
|
|
7076
7023
|
class TimeDistancePipe {
|
|
7077
7024
|
transform(input, to, unavailable = 'Not Available') {
|
|
7025
|
+
let result;
|
|
7078
7026
|
if (input) {
|
|
7079
7027
|
const from = ToJsDatePipe.toJsDate(input);
|
|
7080
|
-
|
|
7028
|
+
result = formatDistance(from, to ?? new Date(), {
|
|
7081
7029
|
addSuffix: true
|
|
7082
7030
|
});
|
|
7083
7031
|
}
|
|
7084
7032
|
else {
|
|
7085
|
-
|
|
7033
|
+
result = unavailable;
|
|
7086
7034
|
}
|
|
7035
|
+
return result;
|
|
7087
7036
|
}
|
|
7088
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7089
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
7037
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TimeDistancePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
7038
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: TimeDistancePipe, isStandalone: true, name: "timeDistance", pure: false });
|
|
7090
7039
|
}
|
|
7091
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7040
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TimeDistancePipe, decorators: [{
|
|
7092
7041
|
type: Pipe,
|
|
7093
7042
|
args: [{
|
|
7094
7043
|
name: 'timeDistance',
|
|
@@ -7119,10 +7068,10 @@ class ToMinutesPipe {
|
|
|
7119
7068
|
}
|
|
7120
7069
|
return result;
|
|
7121
7070
|
}
|
|
7122
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7123
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
7071
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: ToMinutesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
7072
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: ToMinutesPipe, isStandalone: true, name: "toMinutes" });
|
|
7124
7073
|
}
|
|
7125
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7074
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: ToMinutesPipe, decorators: [{
|
|
7126
7075
|
type: Pipe,
|
|
7127
7076
|
args: [{
|
|
7128
7077
|
name: 'toMinutes',
|
|
@@ -7162,10 +7111,10 @@ class PrettyJsonPipe {
|
|
|
7162
7111
|
transform(input, spacing) {
|
|
7163
7112
|
return PrettyJsonPipe.toPrettyJson(input, spacing);
|
|
7164
7113
|
}
|
|
7165
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7166
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
7114
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: PrettyJsonPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
7115
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: PrettyJsonPipe, isStandalone: true, name: "prettyjson" });
|
|
7167
7116
|
}
|
|
7168
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7117
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: PrettyJsonPipe, decorators: [{
|
|
7169
7118
|
type: Pipe,
|
|
7170
7119
|
args: [{
|
|
7171
7120
|
name: 'prettyjson',
|
|
@@ -7191,10 +7140,10 @@ class CutTextPipe {
|
|
|
7191
7140
|
transform(input, maxLength, endText) {
|
|
7192
7141
|
return input != null ? cutString(input, maxLength, endText) : input;
|
|
7193
7142
|
}
|
|
7194
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7195
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
7143
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CutTextPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
7144
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: CutTextPipe, isStandalone: true, name: "cutText" });
|
|
7196
7145
|
}
|
|
7197
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7146
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CutTextPipe, decorators: [{
|
|
7198
7147
|
type: Pipe,
|
|
7199
7148
|
args: [{
|
|
7200
7149
|
name: 'cutText',
|
|
@@ -7220,10 +7169,10 @@ class GetValuePipe {
|
|
|
7220
7169
|
transform(input, args) {
|
|
7221
7170
|
return getValueFromGetter(input, args);
|
|
7222
7171
|
}
|
|
7223
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7224
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
7172
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GetValuePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
7173
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: GetValuePipe, isStandalone: true, name: "getValue", pure: false });
|
|
7225
7174
|
}
|
|
7226
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7175
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GetValuePipe, decorators: [{
|
|
7227
7176
|
type: Pipe,
|
|
7228
7177
|
args: [{
|
|
7229
7178
|
name: 'getValue',
|
|
@@ -7246,10 +7195,10 @@ class GetValueOncePipe {
|
|
|
7246
7195
|
transform(input, args) {
|
|
7247
7196
|
return getValueFromGetter(input, args);
|
|
7248
7197
|
}
|
|
7249
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7250
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
7198
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GetValueOncePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
7199
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: GetValueOncePipe, isStandalone: true, name: "getValueOnce" });
|
|
7251
7200
|
}
|
|
7252
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7201
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GetValueOncePipe, decorators: [{
|
|
7253
7202
|
type: Pipe,
|
|
7254
7203
|
args: [{
|
|
7255
7204
|
name: 'getValueOnce',
|
|
@@ -7276,10 +7225,10 @@ class DollarAmountPipe {
|
|
|
7276
7225
|
transform(input, defaultIfNull) {
|
|
7277
7226
|
return defaultIfNull == null || input != null ? dollarAmountString(input) : defaultIfNull;
|
|
7278
7227
|
}
|
|
7279
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7280
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
7228
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DollarAmountPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
7229
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: DollarAmountPipe, isStandalone: true, name: "dollarAmount" });
|
|
7281
7230
|
}
|
|
7282
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7231
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DollarAmountPipe, decorators: [{
|
|
7283
7232
|
type: Pipe,
|
|
7284
7233
|
args: [{
|
|
7285
7234
|
name: 'dollarAmount',
|
|
@@ -7309,10 +7258,10 @@ class AbstractFilterSourceConnectorDirective {
|
|
|
7309
7258
|
connectWithSource(filterSource) {
|
|
7310
7259
|
this._source.next(filterSource);
|
|
7311
7260
|
}
|
|
7312
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7313
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
7261
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractFilterSourceConnectorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7262
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: AbstractFilterSourceConnectorDirective, isStandalone: true, ngImport: i0 });
|
|
7314
7263
|
}
|
|
7315
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7264
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractFilterSourceConnectorDirective, decorators: [{
|
|
7316
7265
|
type: Directive
|
|
7317
7266
|
}] });
|
|
7318
7267
|
|
|
@@ -7436,10 +7385,10 @@ class AbstractFilterSourceDirective {
|
|
|
7436
7385
|
setInitialFilterTakesPriority(initialFilterTakesPriority) {
|
|
7437
7386
|
this._defaultFilterSource.setInitialFilterTakesPriority(initialFilterTakesPriority);
|
|
7438
7387
|
}
|
|
7439
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7440
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
7388
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractFilterSourceDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7389
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: AbstractFilterSourceDirective, isStandalone: true, ngImport: i0 });
|
|
7441
7390
|
}
|
|
7442
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7391
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractFilterSourceDirective, decorators: [{
|
|
7443
7392
|
type: Directive
|
|
7444
7393
|
}] });
|
|
7445
7394
|
|
|
@@ -7462,10 +7411,10 @@ class DbxFilterConnectSourceDirective {
|
|
|
7462
7411
|
ngOnInit() {
|
|
7463
7412
|
this.filterSourceConnector.connectWithSource(this.filterSource);
|
|
7464
7413
|
}
|
|
7465
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7466
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
7414
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFilterConnectSourceDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7415
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: DbxFilterConnectSourceDirective, isStandalone: true, selector: "[dbxFilterConnectSource]", ngImport: i0 });
|
|
7467
7416
|
}
|
|
7468
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7417
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFilterConnectSourceDirective, decorators: [{
|
|
7469
7418
|
type: Directive,
|
|
7470
7419
|
args: [{
|
|
7471
7420
|
selector: '[dbxFilterConnectSource]',
|
|
@@ -7486,10 +7435,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
7486
7435
|
* ```
|
|
7487
7436
|
*/
|
|
7488
7437
|
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.
|
|
7438
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFilterSourceConnectorDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
7439
|
+
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
7440
|
}
|
|
7492
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7441
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFilterSourceConnectorDirective, decorators: [{
|
|
7493
7442
|
type: Directive,
|
|
7494
7443
|
args: [{
|
|
7495
7444
|
selector: '[dbxFilterSourceConnector]',
|
|
@@ -7516,10 +7465,10 @@ class AbstractDbxFilterMapInstanceDirective {
|
|
|
7516
7465
|
setFilterMapKey(filterMapKey) {
|
|
7517
7466
|
this._currentFilterMapKey.next(filterMapKey);
|
|
7518
7467
|
}
|
|
7519
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7520
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
7468
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxFilterMapInstanceDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7469
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: AbstractDbxFilterMapInstanceDirective, isStandalone: true, ngImport: i0 });
|
|
7521
7470
|
}
|
|
7522
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7471
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxFilterMapInstanceDirective, decorators: [{
|
|
7523
7472
|
type: Directive
|
|
7524
7473
|
}] });
|
|
7525
7474
|
|
|
@@ -7534,10 +7483,10 @@ class AbstractDbxFilterMapSourceDirective extends AbstractDbxFilterMapInstanceDi
|
|
|
7534
7483
|
initWithFilter(filterObs) {
|
|
7535
7484
|
this.instance$.pipe(first()).subscribe((x) => x.initWithFilter(filterObs));
|
|
7536
7485
|
}
|
|
7537
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7538
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
7486
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxFilterMapSourceDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
7487
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: AbstractDbxFilterMapSourceDirective, isStandalone: true, usesInheritance: true, ngImport: i0 });
|
|
7539
7488
|
}
|
|
7540
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7489
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxFilterMapSourceDirective, decorators: [{
|
|
7541
7490
|
type: Directive
|
|
7542
7491
|
}] });
|
|
7543
7492
|
/**
|
|
@@ -7555,10 +7504,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
7555
7504
|
class DbxFilterMapSourceDirective extends AbstractDbxFilterMapSourceDirective {
|
|
7556
7505
|
dbxFilterMapSource = input(...(ngDevMode ? [undefined, { debugName: "dbxFilterMapSource" }] : /* istanbul ignore next */ []));
|
|
7557
7506
|
_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.
|
|
7507
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFilterMapSourceDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
7508
|
+
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
7509
|
}
|
|
7561
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7510
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFilterMapSourceDirective, decorators: [{
|
|
7562
7511
|
type: Directive,
|
|
7563
7512
|
args: [{
|
|
7564
7513
|
selector: '[dbxFilterMapSource]',
|
|
@@ -7594,10 +7543,10 @@ class DbxFilterMapSourceConnectorDirective extends AbstractDbxFilterMapSourceDir
|
|
|
7594
7543
|
}
|
|
7595
7544
|
});
|
|
7596
7545
|
}
|
|
7597
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7598
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
7546
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFilterMapSourceConnectorDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
7547
|
+
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
7548
|
}
|
|
7600
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7549
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFilterMapSourceConnectorDirective, decorators: [{
|
|
7601
7550
|
type: Directive,
|
|
7602
7551
|
args: [{
|
|
7603
7552
|
selector: '[dbxFilterMapSourceConnector]',
|
|
@@ -7623,10 +7572,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
7623
7572
|
*/
|
|
7624
7573
|
class DbxFilterMapDirective {
|
|
7625
7574
|
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.
|
|
7575
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFilterMapDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7576
|
+
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
7577
|
}
|
|
7629
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7578
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFilterMapDirective, decorators: [{
|
|
7630
7579
|
type: Directive,
|
|
7631
7580
|
args: [{
|
|
7632
7581
|
selector: '[dbxFilterMap]',
|
|
@@ -7666,10 +7615,10 @@ function isClickablePartialFilterPreset(preset) {
|
|
|
7666
7615
|
* ```
|
|
7667
7616
|
*/
|
|
7668
7617
|
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.
|
|
7618
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFilterSourceDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
7619
|
+
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
7620
|
}
|
|
7672
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7621
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFilterSourceDirective, decorators: [{
|
|
7673
7622
|
type: Directive,
|
|
7674
7623
|
args: [{
|
|
7675
7624
|
selector: '[dbxFilterSource]',
|
|
@@ -7680,11 +7629,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
7680
7629
|
|
|
7681
7630
|
const importsAndExports = [DbxFilterSourceDirective, DbxFilterMapSourceConnectorDirective, DbxFilterConnectSourceDirective, DbxFilterSourceConnectorDirective, DbxFilterMapDirective, DbxFilterMapSourceDirective];
|
|
7682
7631
|
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.
|
|
7632
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreFilterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7633
|
+
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] });
|
|
7634
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreFilterModule });
|
|
7686
7635
|
}
|
|
7687
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7636
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreFilterModule, decorators: [{
|
|
7688
7637
|
type: NgModule,
|
|
7689
7638
|
args: [{
|
|
7690
7639
|
imports: importsAndExports,
|
|
@@ -7760,6 +7709,9 @@ function mergeStaticProviders(...providers) {
|
|
|
7760
7709
|
*
|
|
7761
7710
|
* Returns the config's injector (or parent) unchanged if no providers or data are specified.
|
|
7762
7711
|
*
|
|
7712
|
+
* @param params - The config and parent injector to build from.
|
|
7713
|
+
* @returns A child {@link Injector} with the config's providers and data, or the parent injector if none are specified.
|
|
7714
|
+
*
|
|
7763
7715
|
* @example
|
|
7764
7716
|
* ```typescript
|
|
7765
7717
|
* const injector = createInjectorForInjectionComponentConfig({
|
|
@@ -7784,6 +7736,9 @@ function createInjectorForInjectionComponentConfig(params) {
|
|
|
7784
7736
|
* Runs the init callback from a {@link DbxInjectionComponentConfig} on the given component ref,
|
|
7785
7737
|
* executing within the component's injection context so that `inject()` is available inside the callback.
|
|
7786
7738
|
*
|
|
7739
|
+
* @param componentRef - The component reference whose instance will be passed to the init callback.
|
|
7740
|
+
* @param config - The injection component config containing the optional init callback.
|
|
7741
|
+
*
|
|
7787
7742
|
* @example
|
|
7788
7743
|
* ```typescript
|
|
7789
7744
|
* const ref = viewContainerRef.createComponent(config.componentClass, { injector });
|
|
@@ -7791,8 +7746,9 @@ function createInjectorForInjectionComponentConfig(params) {
|
|
|
7791
7746
|
* ```
|
|
7792
7747
|
*/
|
|
7793
7748
|
function initInjectionComponent(componentRef, config) {
|
|
7794
|
-
|
|
7795
|
-
|
|
7749
|
+
const { init } = config;
|
|
7750
|
+
if (init) {
|
|
7751
|
+
runInInjectionContext(componentRef.injector, () => init(componentRef.instance));
|
|
7796
7752
|
}
|
|
7797
7753
|
}
|
|
7798
7754
|
|
|
@@ -7856,15 +7812,7 @@ class DbxInjectionInstance {
|
|
|
7856
7812
|
// Wait until the first of either of the two inputs comes in as not defined, and then emit.
|
|
7857
7813
|
// We filter the first maybe here between the two items.
|
|
7858
7814
|
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
|
-
}
|
|
7815
|
+
return config || template ? { config, template } : undefined;
|
|
7868
7816
|
}), skipAllInitialMaybe());
|
|
7869
7817
|
this._subscriptionObject.subscription = combineLatest([configTemplateObs, this.content$]).subscribe(([inputConfig, content]) => {
|
|
7870
7818
|
const { config, template } = inputConfig ?? {};
|
|
@@ -7958,10 +7906,10 @@ class AbstractDbxInjectionDirective {
|
|
|
7958
7906
|
setContent(content) {
|
|
7959
7907
|
this._instance.content = content;
|
|
7960
7908
|
}
|
|
7961
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7962
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
7909
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxInjectionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7910
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: AbstractDbxInjectionDirective, isStandalone: true, ngImport: i0 });
|
|
7963
7911
|
}
|
|
7964
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7912
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxInjectionDirective, decorators: [{
|
|
7965
7913
|
type: Directive
|
|
7966
7914
|
}] });
|
|
7967
7915
|
|
|
@@ -8011,12 +7959,12 @@ class DbxInjectionComponent extends AbstractDbxInjectionDirective {
|
|
|
8011
7959
|
_contentEffect = effect(() => this.setContent(this.content()), ...(ngDevMode ? [{ debugName: "_contentEffect" }] : /* istanbul ignore next */ []));
|
|
8012
7960
|
_configEffect = effect(() => this.setConfig(this.config()), ...(ngDevMode ? [{ debugName: "_configEffect" }] : /* istanbul ignore next */ []));
|
|
8013
7961
|
_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.
|
|
7962
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxInjectionComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
7963
|
+
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
7964
|
<ng-template #content></ng-template>
|
|
8017
7965
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
8018
7966
|
}
|
|
8019
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7967
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxInjectionComponent, decorators: [{
|
|
8020
7968
|
type: Component,
|
|
8021
7969
|
args: [{
|
|
8022
7970
|
selector: 'dbx-injection, [dbxInjection], [dbx-injection]',
|
|
@@ -8057,14 +8005,14 @@ class DbxInjectionArrayComponent {
|
|
|
8057
8005
|
* The array of keyed injection entries to render. Each entry produces a `<dbx-injection>` component.
|
|
8058
8006
|
*/
|
|
8059
8007
|
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.
|
|
8008
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxInjectionArrayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
8009
|
+
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
8010
|
@for (entry of entries(); track entry.key) {
|
|
8063
8011
|
<dbx-injection [config]="entry.injectionConfig"></dbx-injection>
|
|
8064
8012
|
}
|
|
8065
8013
|
`, isInline: true, dependencies: [{ kind: "component", type: DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
8066
8014
|
}
|
|
8067
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
8015
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxInjectionArrayComponent, decorators: [{
|
|
8068
8016
|
type: Component,
|
|
8069
8017
|
args: [{
|
|
8070
8018
|
selector: 'dbx-injection-array',
|
|
@@ -8231,12 +8179,7 @@ class DbxInjectionContextDirective {
|
|
|
8231
8179
|
// clear the current promise
|
|
8232
8180
|
this._currentPromise = undefined;
|
|
8233
8181
|
}
|
|
8234
|
-
|
|
8235
|
-
return Promise.reject(error);
|
|
8236
|
-
}
|
|
8237
|
-
else {
|
|
8238
|
-
return result;
|
|
8239
|
-
}
|
|
8182
|
+
return error != null ? Promise.reject(error) : result;
|
|
8240
8183
|
}
|
|
8241
8184
|
/**
|
|
8242
8185
|
* {@inheritDoc DbxInjectionContext.resetContext}
|
|
@@ -8283,10 +8226,10 @@ class DbxInjectionContextDirective {
|
|
|
8283
8226
|
this._isDetached = false;
|
|
8284
8227
|
}
|
|
8285
8228
|
}
|
|
8286
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
8287
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
8229
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxInjectionContextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
8230
|
+
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
8231
|
}
|
|
8289
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
8232
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxInjectionContextDirective, decorators: [{
|
|
8290
8233
|
type: Directive,
|
|
8291
8234
|
args: [{
|
|
8292
8235
|
selector: '[dbxInjectionContext]',
|
|
@@ -8335,10 +8278,10 @@ class AbstractForwardDbxInjectionContextDirective {
|
|
|
8335
8278
|
resetContext() {
|
|
8336
8279
|
return this.dbxInjectionContext.resetContext();
|
|
8337
8280
|
}
|
|
8338
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
8339
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
8281
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractForwardDbxInjectionContextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
8282
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: AbstractForwardDbxInjectionContextDirective, isStandalone: true, ngImport: i0 });
|
|
8340
8283
|
}
|
|
8341
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
8284
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractForwardDbxInjectionContextDirective, decorators: [{
|
|
8342
8285
|
type: Directive
|
|
8343
8286
|
}] });
|
|
8344
8287
|
|
|
@@ -8373,13 +8316,8 @@ function switchMapDbxInjectionComponentConfig(defaultConfig) {
|
|
|
8373
8316
|
return switchMapObject({
|
|
8374
8317
|
defaultGetter: () => {
|
|
8375
8318
|
const value = defaultAsGetter();
|
|
8376
|
-
if
|
|
8377
|
-
|
|
8378
|
-
return { componentClass: value };
|
|
8379
|
-
}
|
|
8380
|
-
else {
|
|
8381
|
-
return value;
|
|
8382
|
-
}
|
|
8319
|
+
// if value is a function, it is a component class
|
|
8320
|
+
return typeof value === 'function' ? { componentClass: value } : value;
|
|
8383
8321
|
}
|
|
8384
8322
|
});
|
|
8385
8323
|
}
|
|
@@ -8477,10 +8415,10 @@ class LockSetComponentStore extends ComponentStore {
|
|
|
8477
8415
|
_destroyNow() {
|
|
8478
8416
|
this.lockSet.destroy();
|
|
8479
8417
|
}
|
|
8480
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
8481
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
8418
|
+
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 });
|
|
8419
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: LockSetComponentStore });
|
|
8482
8420
|
}
|
|
8483
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
8421
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: LockSetComponentStore, decorators: [{
|
|
8484
8422
|
type: Injectable
|
|
8485
8423
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
8486
8424
|
type: Inject,
|
|
@@ -8614,10 +8552,11 @@ class SimpleStorageAccessor {
|
|
|
8614
8552
|
get(inputKey) {
|
|
8615
8553
|
const storeKey = this.makeStorageKey(inputKey);
|
|
8616
8554
|
return this._delegate.get(storeKey).pipe(map((storedData) => {
|
|
8555
|
+
let result;
|
|
8617
8556
|
if (storedData) {
|
|
8618
8557
|
const readStoredData = this.readStoredData(storedData);
|
|
8619
8558
|
if (!readStoredData.expired) {
|
|
8620
|
-
|
|
8559
|
+
result = readStoredData.convertedData;
|
|
8621
8560
|
}
|
|
8622
8561
|
else {
|
|
8623
8562
|
throw new DataIsExpiredError(readStoredData);
|
|
@@ -8626,6 +8565,7 @@ class SimpleStorageAccessor {
|
|
|
8626
8565
|
else {
|
|
8627
8566
|
throw new DataDoesNotExistError();
|
|
8628
8567
|
}
|
|
8568
|
+
return result;
|
|
8629
8569
|
}));
|
|
8630
8570
|
}
|
|
8631
8571
|
set(inputKey, inputValue) {
|
|
@@ -8643,12 +8583,7 @@ class SimpleStorageAccessor {
|
|
|
8643
8583
|
return allStoredData
|
|
8644
8584
|
.map((storedData) => {
|
|
8645
8585
|
const readStoredData = this.readStoredData(storedData);
|
|
8646
|
-
|
|
8647
|
-
return readStoredData.convertedData;
|
|
8648
|
-
}
|
|
8649
|
-
else {
|
|
8650
|
-
return null;
|
|
8651
|
-
}
|
|
8586
|
+
return !readStoredData.expired ? readStoredData.convertedData : null;
|
|
8652
8587
|
})
|
|
8653
8588
|
.filter(hasNonNullValue);
|
|
8654
8589
|
}));
|
|
@@ -8678,15 +8613,19 @@ class SimpleStorageAccessor {
|
|
|
8678
8613
|
}
|
|
8679
8614
|
isExpiredStoredData(storeData) {
|
|
8680
8615
|
const expiresIn = this._config.expiresIn;
|
|
8616
|
+
let result;
|
|
8681
8617
|
if (expiresIn) {
|
|
8682
8618
|
if (storeData.storedAt) {
|
|
8683
|
-
|
|
8619
|
+
result = isThrottled(expiresIn, storeData.storedAt);
|
|
8620
|
+
}
|
|
8621
|
+
else {
|
|
8622
|
+
result = true;
|
|
8684
8623
|
}
|
|
8685
|
-
return true;
|
|
8686
8624
|
}
|
|
8687
8625
|
else {
|
|
8688
|
-
|
|
8626
|
+
result = false;
|
|
8689
8627
|
}
|
|
8628
|
+
return result;
|
|
8690
8629
|
}
|
|
8691
8630
|
// MARK: Internal
|
|
8692
8631
|
makeStorageKey(key) {
|
|
@@ -8801,10 +8740,10 @@ class SimpleStorageAccessorFactory {
|
|
|
8801
8740
|
};
|
|
8802
8741
|
return new SimpleStorageAccessor(delegate, accessorConfig);
|
|
8803
8742
|
}
|
|
8804
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
8805
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
8743
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SimpleStorageAccessorFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8744
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SimpleStorageAccessorFactory });
|
|
8806
8745
|
}
|
|
8807
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
8746
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SimpleStorageAccessorFactory, decorators: [{
|
|
8808
8747
|
type: Injectable
|
|
8809
8748
|
}] });
|
|
8810
8749
|
|
|
@@ -9117,5 +9056,5 @@ function hasNonTrivialChildNodes(element) {
|
|
|
9117
9056
|
* Generated bundle index. Do not edit.
|
|
9118
9057
|
*/
|
|
9119
9058
|
|
|
9120
|
-
export { ACTION_CONTEXT_STORE_LOCKSET_DESTROY_DELAY_TIME, APP_ACTION_DISABLED_DIRECTIVE_KEY, APP_ACTION_DISABLED_ON_SUCCESS_DIRECTIVE_KEY, APP_ACTION_ENFORCE_MODIFIED_DIRECTIVE_KEY, AbstractDbxActionHandlerDirective, AbstractDbxActionValueGetterDirective, AbstractDbxAnchorDirective, AbstractDbxButtonDirective, AbstractDbxFilterMapInstanceDirective, AbstractDbxFilterMapSourceDirective, AbstractDbxInjectionDirective, AbstractFilterSourceConnectorDirective, AbstractFilterSourceDirective, AbstractForwardDbxInjectionContextDirective, AbstractIfDirective, AbstractTransitionDirective, AbstractTransitionWatcherDirective, ActionContextStore, ActionContextStoreSource, ActionContextStoreSourceMap, AsObservablePipe, CutTextPipe, DBX_ACTION_BUTTON_ECHO_CONFIG, DBX_ACTION_HANDLER_LOCK_KEY, DBX_APP_APP_CONTEXT_STATE, DBX_APP_AUTH_ROUTER_EFFECTS_TOKEN, DBX_ASSET_LOADER_CONFIG_TOKEN, DBX_AUTH_APP_CONTEXT_STATE, DBX_INIT_APP_CONTEXT_STATE, DBX_INJECTION_COMPONENT_DATA, DBX_KNOWN_APP_CONTEXT_STATES, DBX_OAUTH_APP_CONTEXT_STATE, DBX_ONBOARD_APP_CONTEXT_STATE, DBX_PUBLIC_APP_CONTEXT_STATE, DBX_ROUTE_MODEL_ID_PARAM_DEFAULT_ID_PARAM_KEY, DBX_ROUTE_MODEL_ID_PARAM_DEFAULT_KEY_PARAM_KEY, DBX_ROUTE_MODEL_ID_PARAM_DEFAULT_USE_PARAM_VALUE, DEFAULT_ACTION_DISABLED_KEY, DEFAULT_ACTION_MAP_WORKING_DISABLED_KEY, DEFAULT_DBX_ACTION_BUTTON_ECHO_CONFIG, DEFAULT_DBX_ACTION_BUTTON_ERROR_ECHO, DEFAULT_DBX_ACTION_BUTTON_SUCCESS_ECHO, DEFAULT_DBX_BUTTON_ECHO_DURATION, DEFAULT_LOCAL_ASSET_BASE_URL, DEFAULT_REDIRECT_FOR_IDENTIFIER_PARAM_KEY, DEFAULT_REDIRECT_FOR_IDENTIFIER_PARAM_VALUE, DEFAULT_REDIRECT_FOR_USER_IDENTIFIER_PARAM_KEY, DEFAULT_REDIRECT_FOR_USER_IDENTIFIER_PARAM_VALUE, DEFAULT_STORAGE_ACCESSOR_FACTORY_TOKEN, DEFAULT_STORAGE_OBJECT_TOKEN, DateDayRangePipe, DateDayTimeRangePipe, DateDistancePipe, DateFormatDistancePipe, DateFormatFromToPipe, DateRangeDistancePipe, DateTimeRangeOnlyDistancePipe, DateTimeRangeOnlyPipe, DateTimeRangePipe, DbxActionAutoModifyDirective, DbxActionAutoTriggerDirective, DbxActionButtonDirective, DbxActionButtonTriggerDirective, DbxActionContextBaseSource, DbxActionContextLoggerDirective, DbxActionContextMachine, DbxActionContextMachineAsService, DbxActionContextMapDirective, DbxActionContextStoreSourceInstance, DbxActionDirective, DbxActionDisabledDirective, DbxActionDisabledOnSuccessDirective, DbxActionEnforceModifiedDirective, DbxActionErrorHandlerDirective, DbxActionFromMapDirective, DbxActionHandlerDirective, DbxActionHandlerInstance, DbxActionHandlerValueDirective, DbxActionHasSuccessDirective, DbxActionIdleDirective, DbxActionIsWorkingDirective, DbxActionMapSourceDirective, DbxActionMapWorkingDisableDirective, DbxActionPreSuccessDirective, DbxActionSourceDirective, DbxActionState, DbxActionSuccessHandlerDirective, DbxActionTriggeredDirective, DbxActionValueDirective, DbxActionValueGetterInstance, DbxActionValueStreamDirective, DbxActionValueTriggerDirective, DbxActionWorkInstanceDelegate, DbxAnchor, DbxAngularRouterService, DbxAppAuthRouterEffects, DbxAppAuthRouterService, DbxAppAuthRoutes, DbxAppAuthStateService, DbxAppContextService, DbxAppContextStateDirective, DbxAppEnviroment, DbxAppEnviromentService, DbxAuthHasAnyRoleDirective, DbxAuthHasRolesDirective, DbxAuthNotAnyRoleDirective, DbxAuthService, DbxButton, DbxButtonDirective, DbxButtonSegueDirective, DbxCoreActionModule, DbxCoreAngularRouterSegueModule, DbxCoreAssetLoader, DbxCoreButtonModule, DbxCoreFilterModule, DbxFilterConnectSourceDirective, DbxFilterMapDirective, DbxFilterMapSourceConnectorDirective, DbxFilterMapSourceDirective, DbxFilterSourceConnectorDirective, DbxFilterSourceDirective, DbxInjectionArrayComponent, DbxInjectionComponent, DbxInjectionContext, DbxInjectionContextDirective, DbxInjectionInstance, DbxLoadingButtonDirective, DbxRouteModelIdDirective, DbxRouteModelIdDirectiveDelegate, DbxRouteModelIdFromAuthUserIdDirective, DbxRouteModelKeyDirective, DbxRouteModelKeyDirectiveDelegate, DbxRouteParamDefaultRedirectInstance, DbxRouterService, DbxRouterTransitionEventType, DbxRouterTransitionService, DbxUIRouterService, DollarAmountPipe, FILTER_SOURCE_DIRECTIVE_DEFAULT_FILTER_TOKEN, FilterSourceDirective, FullLocalStorageObject, GetValueOncePipe, GetValuePipe, InstantStorageAccessor, LimitedStorageAccessor, LockSetComponentStore, MemoryStorageObject, MinutesStringPipe, NO_AUTH_USER_IDENTIFIER, PrettyJsonPipe, SecondaryActionContextStoreSource, SimpleStorageAccessor, SimpleStorageAccessorFactory, StorageAccessor, StringStorageAccessor, StringifySimpleStorageAccessorConverter, SystemDateToTargetDatePipe, TargetDateToSystemDatePipe, TimeDistanceCountdownPipe, TimeDistancePipe, TimezoneAbbreviationPipe, ToJsDatePipe, ToMinutesPipe, WrapperSimpleStorageAccessorDelegate, actionContextHasNoErrorAndIsModifiedAndCanTrigger, actionContextIsModifiedAndCanTrigger, actionContextStoreSourceMap, actionContextStoreSourceMapReader, actionContextStoreSourcePipe, anchorTypeForAnchor, asSegueRef, asSegueRefString, assertValidStorageKeyPrefix, authRolesSetContainsAllRolesFrom, authRolesSetContainsAnyRoleFrom, authRolesSetContainsNoRolesFrom, authUserIdentifier, canReadyValue, canTriggerAction, canTriggerActionState, checkNgContentWrapperHasContent, clean, cleanDestroy, cleanListLoadingContext, cleanLoadingContext, cleanLockSet, cleanSubscription, cleanSubscriptionWithLockSet, cleanWithLockSet, clickableUrlInNewTab, clickableUrlMailTo, clickableUrlTel, completeOnDestroy, createInjectorForInjectionComponentConfig, dbxActionWorkProgress, dbxButtonDisplayType, dbxInjectionComponentConfigIsEqual, dbxRouteModelIdParamRedirect, dbxRouteModelKeyParamRedirect, dbxRouteParamReaderInstance, defaultStorageObjectFactory, enableHasAuthRoleHook, enableHasAuthStateHook, enableIsLoggedInHook, expandClickableAnchorLinkTree, expandClickableAnchorLinkTreeNode, expandClickableAnchorLinkTrees, filterTransitionEvent, filterTransitionSuccess, flattenExpandedClickableAnchorLinkTree, flattenExpandedClickableAnchorLinkTreeToLinks, fromAllActionContextStoreSourceMapSources, index as fromDbxAppAuth, index$2 as fromDbxAppContext, goWithRouter, hasAuthRoleDecisionPipe, hasNonTrivialChildNodes, initInjectionComponent, isActionContextDisabled, isActionContextEnabled, isClickableFilterPreset, isClickablePartialFilterPreset, isDisabledActionContextState, isIdleActionState, isLatestSuccessfulRoute, isSegueRef, isSegueRefActive, isSegueRefActiveFunction, isSegueRefActiveOnTransitionSuccess, isValidStorageKeyPrefix, isWorkingActionState, latestSuccessfulRoutes, loadingStateForActionContextState, loadingStateTypeForActionContextState, loadingStateTypeForActionState, loggedInObsFromIsLoggedIn, loggedOutObsFromIsLoggedIn, makeAuthTransitionHook, makeDbxActionContextSourceReference, mapRefStringObsToSegueRefObs, mergeDbxInjectionComponentConfigs, mergeStaticProviders, newWithInjector, index$1 as onDbxAppAuth, index$3 as onDbxAppContext, onRouterTransitionEventType, onRouterTransitionSuccessEvent, pipeActionStore, provideActionStoreSource, provideDbxActionButtonEchoConfig, provideDbxAnchor, provideDbxAppAuth, provideDbxAppAuthRouter, provideDbxAppAuthRouterState, provideDbxAppAuthState, provideDbxAppContextState, provideDbxAppEnviroment, provideDbxAssetLoader, provideDbxButton, provideDbxInjectionContext, provideDbxRouteModelIdDirectiveDelegate, provideDbxRouteModelKeyDirectiveDelegate, provideDbxStorage, provideDbxUIRouterService, provideFilterSource, provideFilterSourceConnector, provideFilterSourceDirective, provideSecondaryActionStoreSource, redirectBasedOnAuthUserState, redirectForIdentifierParamHook, redirectForUserIdentifierParamHook, refStringToSegueRef, safeDetectChanges, safeMarkForCheck, safeUseCdRef, successTransition, switchMapDbxInjectionComponentConfig, tapDetectChanges, tapSafeMarkForCheck, transformEmptyStringInputToUndefined, useActionStore };
|
|
9059
|
+
export { ACTION_CONTEXT_STORE_LOCKSET_DESTROY_DELAY_TIME, APP_ACTION_DISABLED_DIRECTIVE_KEY, APP_ACTION_DISABLED_ON_SUCCESS_DIRECTIVE_KEY, APP_ACTION_ENFORCE_MODIFIED_DIRECTIVE_KEY, AbstractDbxActionHandlerDirective, AbstractDbxActionValueGetterDirective, AbstractDbxAnchorDirective, AbstractDbxButtonDirective, AbstractDbxFilterMapInstanceDirective, AbstractDbxFilterMapSourceDirective, AbstractDbxInjectionDirective, AbstractFilterSourceConnectorDirective, AbstractFilterSourceDirective, AbstractForwardDbxInjectionContextDirective, AbstractIfDirective, AbstractTransitionDirective, AbstractTransitionWatcherDirective, ActionContextStore, ActionContextStoreSource, ActionContextStoreSourceMap, AsObservablePipe, CutTextPipe, DBX_ACTION_BUTTON_ECHO_CONFIG, DBX_ACTION_HANDLER_LOCK_KEY, DBX_APP_APP_CONTEXT_STATE, DBX_APP_AUTH_ROUTER_EFFECTS_TOKEN, DBX_ASSET_LOADER_CONFIG_TOKEN, DBX_AUTH_APP_CONTEXT_STATE, DBX_INIT_APP_CONTEXT_STATE, DBX_INJECTION_COMPONENT_DATA, DBX_KNOWN_APP_CONTEXT_STATES, DBX_OAUTH_APP_CONTEXT_STATE, DBX_ONBOARD_APP_CONTEXT_STATE, DBX_PUBLIC_APP_CONTEXT_STATE, DBX_ROUTE_MODEL_ID_PARAM_DEFAULT_ID_PARAM_KEY, DBX_ROUTE_MODEL_ID_PARAM_DEFAULT_KEY_PARAM_KEY, DBX_ROUTE_MODEL_ID_PARAM_DEFAULT_USE_PARAM_VALUE, DEFAULT_ACTION_DISABLED_KEY, DEFAULT_ACTION_MAP_WORKING_DISABLED_KEY, DEFAULT_DBX_ACTION_BUTTON_ECHO_CONFIG, DEFAULT_DBX_ACTION_BUTTON_ERROR_ECHO, DEFAULT_DBX_ACTION_BUTTON_SUCCESS_ECHO, DEFAULT_DBX_BUTTON_ECHO_DURATION, DEFAULT_LOCAL_ASSET_BASE_URL, DEFAULT_REDIRECT_FOR_IDENTIFIER_PARAM_KEY, DEFAULT_REDIRECT_FOR_IDENTIFIER_PARAM_VALUE, DEFAULT_REDIRECT_FOR_USER_IDENTIFIER_PARAM_KEY, DEFAULT_REDIRECT_FOR_USER_IDENTIFIER_PARAM_VALUE, DEFAULT_STORAGE_ACCESSOR_FACTORY_TOKEN, DEFAULT_STORAGE_OBJECT_TOKEN, DateDayRangePipe, DateDayTimeRangePipe, DateDistancePipe, DateFormatDistancePipe, DateFormatFromToPipe, DateRangeDistancePipe, DateTimeRangeOnlyDistancePipe, DateTimeRangeOnlyPipe, DateTimeRangePipe, DbxActionAutoModifyDirective, DbxActionAutoTriggerDirective, DbxActionButtonDirective, DbxActionButtonTriggerDirective, DbxActionContextBaseSource, DbxActionContextLoggerDirective, DbxActionContextMachine, DbxActionContextMachineAsService, DbxActionContextMapDirective, DbxActionContextStoreSourceInstance, DbxActionDirective, DbxActionDisabledDirective, DbxActionDisabledOnSuccessDirective, DbxActionEnforceModifiedDirective, DbxActionErrorHandlerDirective, DbxActionFromMapDirective, DbxActionHandlerDirective, DbxActionHandlerInstance, DbxActionHandlerValueDirective, DbxActionHasSuccessDirective, DbxActionIdleDirective, DbxActionIsModifiedDirective, DbxActionIsWorkingDirective, DbxActionMapSourceDirective, DbxActionMapWorkingDisableDirective, DbxActionPreSuccessDirective, DbxActionSourceDirective, DbxActionState, DbxActionSuccessHandlerDirective, DbxActionTriggeredDirective, DbxActionValueDirective, DbxActionValueGetterInstance, DbxActionValueStreamDirective, DbxActionValueTriggerDirective, DbxActionWorkInstanceDelegate, DbxAnchor, DbxAngularRouterService, DbxAppAuthRouterEffects, DbxAppAuthRouterService, DbxAppAuthRoutes, DbxAppAuthStateService, DbxAppContextService, DbxAppContextStateDirective, DbxAppEnviroment, DbxAppEnviromentService, DbxAuthHasAnyRoleDirective, DbxAuthHasRolesDirective, DbxAuthNotAnyRoleDirective, DbxAuthService, DbxButton, DbxButtonDirective, DbxButtonSegueDirective, DbxCoreActionModule, DbxCoreAngularRouterSegueModule, DbxCoreAssetLoader, DbxCoreButtonModule, DbxCoreFilterModule, DbxFilterConnectSourceDirective, DbxFilterMapDirective, DbxFilterMapSourceConnectorDirective, DbxFilterMapSourceDirective, DbxFilterSourceConnectorDirective, DbxFilterSourceDirective, DbxInjectionArrayComponent, DbxInjectionComponent, DbxInjectionContext, DbxInjectionContextDirective, DbxInjectionInstance, DbxLoadingButtonDirective, DbxRouteModelIdDirective, DbxRouteModelIdDirectiveDelegate, DbxRouteModelIdFromAuthUserIdDirective, DbxRouteModelKeyDirective, DbxRouteModelKeyDirectiveDelegate, DbxRouteParamDefaultRedirectInstance, DbxRouterService, DbxRouterTransitionEventType, DbxRouterTransitionService, DbxUIRouterService, DollarAmountPipe, FILTER_SOURCE_DIRECTIVE_DEFAULT_FILTER_TOKEN, FilterSourceDirective, FullLocalStorageObject, GetValueOncePipe, GetValuePipe, InstantStorageAccessor, LimitedStorageAccessor, LockSetComponentStore, MemoryStorageObject, MinutesStringPipe, NO_AUTH_USER_IDENTIFIER, PrettyJsonPipe, SecondaryActionContextStoreSource, SimpleStorageAccessor, SimpleStorageAccessorFactory, StorageAccessor, StringStorageAccessor, StringifySimpleStorageAccessorConverter, SystemDateToTargetDatePipe, TargetDateToSystemDatePipe, TimeDistanceCountdownPipe, TimeDistancePipe, TimezoneAbbreviationPipe, ToJsDatePipe, ToMinutesPipe, WrapperSimpleStorageAccessorDelegate, actionContextHasNoErrorAndIsModifiedAndCanTrigger, actionContextIsModifiedAndCanTrigger, actionContextStoreSourceMap, actionContextStoreSourceMapReader, actionContextStoreSourcePipe, anchorTypeForAnchor, asSegueRef, asSegueRefString, assertValidStorageKeyPrefix, authRolesSetContainsAllRolesFrom, authRolesSetContainsAnyRoleFrom, authRolesSetContainsNoRolesFrom, authUserIdentifier, canReadyValue, canTriggerAction, canTriggerActionState, checkNgContentWrapperHasContent, clean, cleanDestroy, cleanListLoadingContext, cleanLoadingContext, cleanLockSet, cleanSubscription, cleanSubscriptionWithLockSet, cleanWithLockSet, clickableUrlInNewTab, clickableUrlMailTo, clickableUrlTel, completeOnDestroy, createInjectorForInjectionComponentConfig, dbxActionWorkProgress, dbxButtonDisplayType, dbxInjectionComponentConfigIsEqual, dbxRouteModelIdParamRedirect, dbxRouteModelKeyParamRedirect, dbxRouteParamReaderInstance, defaultStorageObjectFactory, enableHasAuthRoleHook, enableHasAuthStateHook, enableIsLoggedInHook, expandClickableAnchorLinkTree, expandClickableAnchorLinkTreeNode, expandClickableAnchorLinkTrees, filterTransitionEvent, filterTransitionSuccess, flattenExpandedClickableAnchorLinkTree, flattenExpandedClickableAnchorLinkTreeToLinks, fromAllActionContextStoreSourceMapSources, index as fromDbxAppAuth, index$2 as fromDbxAppContext, goWithRouter, hasAuthRoleDecisionPipe, hasNonTrivialChildNodes, initInjectionComponent, isActionContextDisabled, isActionContextEnabled, isClickableFilterPreset, isClickablePartialFilterPreset, isDisabledActionContextState, isIdleActionState, isLatestSuccessfulRoute, isSegueRef, isSegueRefActive, isSegueRefActiveFunction, isSegueRefActiveOnTransitionSuccess, isValidStorageKeyPrefix, isWorkingActionState, latestSuccessfulRoutes, loadingStateForActionContextState, loadingStateTypeForActionContextState, loadingStateTypeForActionState, loggedInObsFromIsLoggedIn, loggedOutObsFromIsLoggedIn, makeAuthTransitionHook, makeDbxActionContextSourceReference, mapRefStringObsToSegueRefObs, mergeDbxInjectionComponentConfigs, mergeStaticProviders, newWithInjector, index$1 as onDbxAppAuth, index$3 as onDbxAppContext, onRouterTransitionEventType, onRouterTransitionSuccessEvent, pipeActionStore, provideActionStoreSource, provideDbxActionButtonEchoConfig, provideDbxAnchor, provideDbxAppAuth, provideDbxAppAuthRouter, provideDbxAppAuthRouterState, provideDbxAppAuthState, provideDbxAppContextState, provideDbxAppEnviroment, provideDbxAssetLoader, provideDbxButton, provideDbxInjectionContext, provideDbxRouteModelIdDirectiveDelegate, provideDbxRouteModelKeyDirectiveDelegate, provideDbxStorage, provideDbxUIRouterService, provideFilterSource, provideFilterSourceConnector, provideFilterSourceDirective, provideSecondaryActionStoreSource, redirectBasedOnAuthUserState, redirectForIdentifierParamHook, redirectForUserIdentifierParamHook, refStringToSegueRef, safeDetectChanges, safeMarkForCheck, safeUseCdRef, successTransition, switchMapDbxInjectionComponentConfig, tapDetectChanges, tapSafeMarkForCheck, transformEmptyStringInputToUndefined, useActionStore };
|
|
9121
9060
|
//# sourceMappingURL=dereekb-dbx-core.mjs.map
|