@dereekb/dbx-core 13.6.17 → 13.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -67,10 +67,10 @@ class DbxCoreAssetLoader extends AssetLoader {
|
|
|
67
67
|
}
|
|
68
68
|
return url;
|
|
69
69
|
}
|
|
70
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
71
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
70
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreAssetLoader, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
71
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreAssetLoader });
|
|
72
72
|
}
|
|
73
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
73
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreAssetLoader, decorators: [{
|
|
74
74
|
type: Injectable
|
|
75
75
|
}] });
|
|
76
76
|
|
|
@@ -90,6 +90,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
90
90
|
* ```
|
|
91
91
|
*
|
|
92
92
|
* @param config - Optional configuration for the asset loader. Defaults to loading from `/assets/`.
|
|
93
|
+
* @returns Angular environment providers that register the {@link AssetLoader} and its configuration.
|
|
93
94
|
*/
|
|
94
95
|
function provideDbxAssetLoader(config = {}) {
|
|
95
96
|
const providers = [
|
|
@@ -588,10 +589,10 @@ class DbxActionAutoModifyDirective {
|
|
|
588
589
|
})
|
|
589
590
|
});
|
|
590
591
|
}
|
|
591
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
592
|
-
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 });
|
|
593
594
|
}
|
|
594
|
-
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: [{
|
|
595
596
|
type: Directive,
|
|
596
597
|
args: [{
|
|
597
598
|
selector: 'dbxActionAutoModify, [dbxActionAutoModify]',
|
|
@@ -718,10 +719,10 @@ class DbxActionAutoTriggerDirective {
|
|
|
718
719
|
})
|
|
719
720
|
});
|
|
720
721
|
}
|
|
721
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
722
|
-
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 });
|
|
723
724
|
}
|
|
724
|
-
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: [{
|
|
725
726
|
type: Directive,
|
|
726
727
|
args: [{
|
|
727
728
|
selector: 'dbxActionAutoTrigger,[dbxActionAutoTrigger]',
|
|
@@ -1268,10 +1269,10 @@ class ActionContextStore extends ComponentStore {
|
|
|
1268
1269
|
// do not call super.destroy here, to keep the component store from destroying itself.
|
|
1269
1270
|
// the lockset is configured to cleanup the component store.
|
|
1270
1271
|
}
|
|
1271
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1272
|
-
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 });
|
|
1273
1274
|
}
|
|
1274
|
-
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: [{
|
|
1275
1276
|
type: Injectable
|
|
1276
1277
|
}], ctorParameters: () => [] });
|
|
1277
1278
|
function updateIsSameOnActionContextState(state, isSame) {
|
|
@@ -1429,10 +1430,10 @@ class DbxActionContextMachineAsService extends DbxActionContextMachine {
|
|
|
1429
1430
|
});
|
|
1430
1431
|
clean(() => this.destroy());
|
|
1431
1432
|
}
|
|
1432
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1433
|
-
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 });
|
|
1434
1435
|
}
|
|
1435
|
-
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: [{
|
|
1436
1437
|
type: Injectable
|
|
1437
1438
|
}], ctorParameters: () => [] });
|
|
1438
1439
|
|
|
@@ -1536,10 +1537,10 @@ class DbxActionDirective extends DbxActionContextBaseSource {
|
|
|
1536
1537
|
});
|
|
1537
1538
|
});
|
|
1538
1539
|
}
|
|
1539
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1540
|
-
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 });
|
|
1541
1542
|
}
|
|
1542
|
-
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: [{
|
|
1543
1544
|
type: Directive,
|
|
1544
1545
|
args: [{
|
|
1545
1546
|
selector: 'dbx-action,[dbxAction]',
|
|
@@ -1573,10 +1574,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
1573
1574
|
class DbxActionSourceDirective {
|
|
1574
1575
|
dbxActionSource = input(...(ngDevMode ? [undefined, { debugName: "dbxActionSource" }] : /* istanbul ignore next */ []));
|
|
1575
1576
|
store$ = toObservable(this.dbxActionSource).pipe(filterMaybe(), switchMap((x) => actionContextStoreSourcePipe(x.store$)));
|
|
1576
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1577
|
-
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 });
|
|
1578
1579
|
}
|
|
1579
|
-
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: [{
|
|
1580
1581
|
type: Directive,
|
|
1581
1582
|
args: [{
|
|
1582
1583
|
selector: '[dbxActionSource]',
|
|
@@ -1609,10 +1610,10 @@ class DbxActionContextLoggerDirective {
|
|
|
1609
1610
|
})
|
|
1610
1611
|
});
|
|
1611
1612
|
}
|
|
1612
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1613
|
-
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 });
|
|
1614
1615
|
}
|
|
1615
|
-
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: [{
|
|
1616
1617
|
type: Directive,
|
|
1617
1618
|
args: [{
|
|
1618
1619
|
selector: '[dbxActionLogger],[dbxActionContextLogger]',
|
|
@@ -1713,15 +1714,15 @@ function actionContextStoreSourceMap() {
|
|
|
1713
1714
|
*/
|
|
1714
1715
|
class DbxActionContextMapDirective {
|
|
1715
1716
|
actionContextStoreSourceMap = clean(inject(ActionContextStoreSourceMap));
|
|
1716
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1717
|
-
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: [
|
|
1718
1719
|
{
|
|
1719
1720
|
provide: ActionContextStoreSourceMap,
|
|
1720
1721
|
useFactory: actionContextStoreSourceMap
|
|
1721
1722
|
}
|
|
1722
1723
|
], exportAs: ["actionMap"], ngImport: i0 });
|
|
1723
1724
|
}
|
|
1724
|
-
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: [{
|
|
1725
1726
|
type: Directive,
|
|
1726
1727
|
args: [{
|
|
1727
1728
|
selector: '[dbxActionContextMap]',
|
|
@@ -1765,10 +1766,10 @@ class DbxActionFromMapDirective {
|
|
|
1765
1766
|
key = input(undefined, { ...(ngDevMode ? { debugName: "key" } : /* istanbul ignore next */ {}), alias: 'dbxActionFromMap' });
|
|
1766
1767
|
key$ = toObservable(this.key);
|
|
1767
1768
|
store$ = this.key$.pipe(filterMaybe(), switchMap((x) => this._actionContextStoreSourceMap.sourceForKey(x).store$));
|
|
1768
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1769
|
-
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 });
|
|
1770
1771
|
}
|
|
1771
|
-
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: [{
|
|
1772
1773
|
type: Directive,
|
|
1773
1774
|
args: [{
|
|
1774
1775
|
selector: '[dbxActionFromMap]',
|
|
@@ -1822,10 +1823,10 @@ class DbxActionMapSourceDirective {
|
|
|
1822
1823
|
this._actionContextStoreSourceMap.removeStoreSource(this._currentKey);
|
|
1823
1824
|
}
|
|
1824
1825
|
}
|
|
1825
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1826
|
-
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 });
|
|
1827
1828
|
}
|
|
1828
|
-
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: [{
|
|
1829
1830
|
type: Directive,
|
|
1830
1831
|
args: [{
|
|
1831
1832
|
selector: '[dbxActionMapSource]',
|
|
@@ -1914,10 +1915,10 @@ class DbxActionMapWorkingDisableDirective {
|
|
|
1914
1915
|
this.source.enable(this.disabledKey() || DEFAULT_ACTION_MAP_WORKING_DISABLED_KEY);
|
|
1915
1916
|
});
|
|
1916
1917
|
}
|
|
1917
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1918
|
-
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 });
|
|
1919
1920
|
}
|
|
1920
|
-
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: [{
|
|
1921
1922
|
type: Directive,
|
|
1922
1923
|
args: [{
|
|
1923
1924
|
selector: '[dbxActionMapWorkingDisable]',
|
|
@@ -1962,10 +1963,10 @@ class DbxActionDisabledDirective {
|
|
|
1962
1963
|
}));
|
|
1963
1964
|
clean(() => this.source.enable(APP_ACTION_DISABLED_DIRECTIVE_KEY));
|
|
1964
1965
|
}
|
|
1965
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1966
|
-
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 });
|
|
1967
1968
|
}
|
|
1968
|
-
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: [{
|
|
1969
1970
|
type: Directive,
|
|
1970
1971
|
args: [{
|
|
1971
1972
|
selector: '[dbxActionDisabled]',
|
|
@@ -2012,10 +2013,10 @@ class DbxActionDisabledOnSuccessDirective {
|
|
|
2012
2013
|
}));
|
|
2013
2014
|
clean(() => this.source.enable(APP_ACTION_DISABLED_ON_SUCCESS_DIRECTIVE_KEY));
|
|
2014
2015
|
}
|
|
2015
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2016
|
-
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 });
|
|
2017
2018
|
}
|
|
2018
|
-
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: [{
|
|
2019
2020
|
type: Directive,
|
|
2020
2021
|
args: [{
|
|
2021
2022
|
selector: '[dbxActionDisabledOnSuccess]',
|
|
@@ -2120,10 +2121,10 @@ class AbstractDbxActionHandlerDirective {
|
|
|
2120
2121
|
constructor() {
|
|
2121
2122
|
this._dbxActionHandlerInstance.init();
|
|
2122
2123
|
}
|
|
2123
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2124
|
-
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 });
|
|
2125
2126
|
}
|
|
2126
|
-
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: [{
|
|
2127
2128
|
type: Directive
|
|
2128
2129
|
}], ctorParameters: () => [] });
|
|
2129
2130
|
/**
|
|
@@ -2151,10 +2152,10 @@ class DbxActionHandlerDirective extends AbstractDbxActionHandlerDirective {
|
|
|
2151
2152
|
_handlerFunctionEffect = effect(() => {
|
|
2152
2153
|
this._dbxActionHandlerInstance.setHandlerFunction(this.handlerFunction());
|
|
2153
2154
|
}, ...(ngDevMode ? [{ debugName: "_handlerFunctionEffect" }] : /* istanbul ignore next */ []));
|
|
2154
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2155
|
-
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 });
|
|
2156
2157
|
}
|
|
2157
|
-
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: [{
|
|
2158
2159
|
type: Directive,
|
|
2159
2160
|
args: [{
|
|
2160
2161
|
selector: '[dbxActionHandler]',
|
|
@@ -2186,10 +2187,10 @@ class DbxActionHandlerValueDirective extends AbstractDbxActionHandlerDirective {
|
|
|
2186
2187
|
_handlerValueEffect = effect(() => {
|
|
2187
2188
|
this._dbxActionHandlerInstance.setHandlerValue(this.handlerValue());
|
|
2188
2189
|
}, ...(ngDevMode ? [{ debugName: "_handlerValueEffect" }] : /* istanbul ignore next */ []));
|
|
2189
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2190
|
-
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 });
|
|
2191
2192
|
}
|
|
2192
|
-
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: [{
|
|
2193
2194
|
type: Directive,
|
|
2194
2195
|
args: [{
|
|
2195
2196
|
selector: '[dbxActionHandlerValue]',
|
|
@@ -2231,10 +2232,10 @@ class AbstractIfDirective {
|
|
|
2231
2232
|
}
|
|
2232
2233
|
});
|
|
2233
2234
|
}
|
|
2234
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2235
|
-
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 });
|
|
2236
2237
|
}
|
|
2237
|
-
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: [{
|
|
2238
2239
|
type: Directive
|
|
2239
2240
|
}] });
|
|
2240
2241
|
|
|
@@ -2287,17 +2288,12 @@ class DbxActionIdleDirective extends AbstractIfDirective {
|
|
|
2287
2288
|
_store = inject(DbxActionContextStoreSourceInstance);
|
|
2288
2289
|
hideAfter = input(undefined, { ...(ngDevMode ? { debugName: "hideAfter" } : /* istanbul ignore next */ {}), alias: 'dbxActionIdle', transform: transformEmptyStringInputToUndefined });
|
|
2289
2290
|
show$ = this._store.idle$.pipe(exhaustMap((idle) => {
|
|
2290
|
-
|
|
2291
|
-
return emitDelayObs(true, false, this.hideAfter());
|
|
2292
|
-
}
|
|
2293
|
-
else {
|
|
2294
|
-
return of(false);
|
|
2295
|
-
}
|
|
2291
|
+
return idle ? emitDelayObs(true, false, this.hideAfter()) : of(false);
|
|
2296
2292
|
}), shareReplay(1));
|
|
2297
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2298
|
-
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 });
|
|
2299
2295
|
}
|
|
2300
|
-
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: [{
|
|
2301
2297
|
type: Directive,
|
|
2302
2298
|
args: [{
|
|
2303
2299
|
selector: '[dbxActionIdle]',
|
|
@@ -2335,17 +2331,12 @@ class DbxActionPreSuccessDirective extends AbstractIfDirective {
|
|
|
2335
2331
|
_store = inject(DbxActionContextStoreSourceInstance);
|
|
2336
2332
|
hideFor = input(undefined, { ...(ngDevMode ? { debugName: "hideFor" } : /* istanbul ignore next */ {}), alias: 'dbxActionPreSuccess', transform: transformEmptyStringInputToUndefined });
|
|
2337
2333
|
show$ = this._store.isSuccess$.pipe(exhaustMap((success) => {
|
|
2338
|
-
|
|
2339
|
-
return emitDelayObs(false, true, this.hideFor());
|
|
2340
|
-
}
|
|
2341
|
-
else {
|
|
2342
|
-
return of(true);
|
|
2343
|
-
}
|
|
2334
|
+
return success ? emitDelayObs(false, true, this.hideFor()) : of(true);
|
|
2344
2335
|
}), shareReplay(1));
|
|
2345
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2346
|
-
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 });
|
|
2347
2338
|
}
|
|
2348
|
-
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: [{
|
|
2349
2340
|
type: Directive,
|
|
2350
2341
|
args: [{
|
|
2351
2342
|
selector: '[dbxActionPreSuccess]',
|
|
@@ -2381,17 +2372,12 @@ class DbxActionHasSuccessDirective extends AbstractIfDirective {
|
|
|
2381
2372
|
_store = inject(DbxActionContextStoreSourceInstance);
|
|
2382
2373
|
hideAfter = input(undefined, { ...(ngDevMode ? { debugName: "hideAfter" } : /* istanbul ignore next */ {}), alias: 'dbxActionHasSuccess', transform: transformEmptyStringInputToUndefined });
|
|
2383
2374
|
show$ = this._store.isSuccess$.pipe(exhaustMap((success) => {
|
|
2384
|
-
|
|
2385
|
-
return emitDelayObs(true, false, this.hideAfter());
|
|
2386
|
-
}
|
|
2387
|
-
else {
|
|
2388
|
-
return of(false);
|
|
2389
|
-
}
|
|
2375
|
+
return success ? emitDelayObs(true, false, this.hideAfter()) : of(false);
|
|
2390
2376
|
}), shareReplay(1));
|
|
2391
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2392
|
-
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 });
|
|
2393
2379
|
}
|
|
2394
|
-
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: [{
|
|
2395
2381
|
type: Directive,
|
|
2396
2382
|
args: [{
|
|
2397
2383
|
selector: '[dbxActionHasSuccess]',
|
|
@@ -2434,10 +2420,10 @@ class DbxActionSuccessHandlerDirective {
|
|
|
2434
2420
|
.subscribe()
|
|
2435
2421
|
});
|
|
2436
2422
|
}
|
|
2437
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2438
|
-
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 });
|
|
2439
2425
|
}
|
|
2440
|
-
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: [{
|
|
2441
2427
|
type: Directive,
|
|
2442
2428
|
args: [{
|
|
2443
2429
|
selector: '[dbxActionSuccessHandler]',
|
|
@@ -2479,10 +2465,10 @@ class DbxActionErrorHandlerDirective {
|
|
|
2479
2465
|
.subscribe()
|
|
2480
2466
|
});
|
|
2481
2467
|
}
|
|
2482
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2483
|
-
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 });
|
|
2484
2470
|
}
|
|
2485
|
-
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: [{
|
|
2486
2472
|
type: Directive,
|
|
2487
2473
|
args: [{
|
|
2488
2474
|
selector: '[dbxActionErrorHandler]',
|
|
@@ -2540,10 +2526,10 @@ class DbxActionValueDirective {
|
|
|
2540
2526
|
setValueOrFunction(value) {
|
|
2541
2527
|
this._valueOrFunctionOverride.next(value);
|
|
2542
2528
|
}
|
|
2543
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2544
|
-
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 });
|
|
2545
2531
|
}
|
|
2546
|
-
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: [{
|
|
2547
2533
|
type: Directive,
|
|
2548
2534
|
args: [{
|
|
2549
2535
|
selector: 'dbxActionValue,[dbxActionValue]',
|
|
@@ -2586,17 +2572,12 @@ class DbxActionIsWorkingDirective extends AbstractIfDirective {
|
|
|
2586
2572
|
}, ...(ngDevMode ? [{ debugName: "hideAfterSignal" }] : /* istanbul ignore next */ []));
|
|
2587
2573
|
show$ = this._store.isWorking$.pipe(exhaustMap((isWorking) => {
|
|
2588
2574
|
const hideAfter = this.hideAfterSignal();
|
|
2589
|
-
|
|
2590
|
-
return emitDelayObs(true, false, hideAfter);
|
|
2591
|
-
}
|
|
2592
|
-
else {
|
|
2593
|
-
return of(isWorking);
|
|
2594
|
-
}
|
|
2575
|
+
return isWorking && hideAfter != null ? emitDelayObs(true, false, hideAfter) : of(isWorking);
|
|
2595
2576
|
}), shareReplay(1));
|
|
2596
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2597
|
-
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 });
|
|
2598
2579
|
}
|
|
2599
|
-
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: [{
|
|
2600
2581
|
type: Directive,
|
|
2601
2582
|
args: [{
|
|
2602
2583
|
selector: '[dbxActionWorking],[dbxActionIsWorking]',
|
|
@@ -2644,10 +2625,10 @@ class DbxActionEnforceModifiedDirective {
|
|
|
2644
2625
|
}));
|
|
2645
2626
|
clean(() => this.source.enable(APP_ACTION_ENFORCE_MODIFIED_DIRECTIVE_KEY));
|
|
2646
2627
|
}
|
|
2647
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2648
|
-
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 });
|
|
2649
2630
|
}
|
|
2650
|
-
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: [{
|
|
2651
2632
|
type: Directive,
|
|
2652
2633
|
args: [{
|
|
2653
2634
|
selector: '[dbxActionEnforceModified]',
|
|
@@ -2764,10 +2745,10 @@ class AbstractDbxActionValueGetterDirective {
|
|
|
2764
2745
|
});
|
|
2765
2746
|
});
|
|
2766
2747
|
}
|
|
2767
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2768
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
2748
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxActionValueGetterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2749
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: AbstractDbxActionValueGetterDirective, isStandalone: true, ngImport: i0 });
|
|
2769
2750
|
}
|
|
2770
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2751
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxActionValueGetterDirective, decorators: [{
|
|
2771
2752
|
type: Directive
|
|
2772
2753
|
}], ctorParameters: () => [] });
|
|
2773
2754
|
/**
|
|
@@ -2805,10 +2786,10 @@ class DbxActionValueTriggerDirective extends AbstractDbxActionValueGetterDirecti
|
|
|
2805
2786
|
isEqualSignal: this.dbxActionValueGetterIsEqual
|
|
2806
2787
|
});
|
|
2807
2788
|
}
|
|
2808
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2809
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
2789
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionValueTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2790
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: DbxActionValueTriggerDirective, isStandalone: true, selector: "[dbxActionValueGetter]", inputs: { dbxActionValueGetter: { classPropertyName: "dbxActionValueGetter", publicName: "dbxActionValueGetter", isSignal: true, isRequired: false, transformFunction: null }, dbxActionValueGetterIsModified: { classPropertyName: "dbxActionValueGetterIsModified", publicName: "dbxActionValueGetterIsModified", isSignal: true, isRequired: false, transformFunction: null }, dbxActionValueGetterIsEqual: { classPropertyName: "dbxActionValueGetterIsEqual", publicName: "dbxActionValueGetterIsEqual", isSignal: true, isRequired: false, transformFunction: null } }, exportAs: ["dbxActionValueGetter"], usesInheritance: true, ngImport: i0 });
|
|
2810
2791
|
}
|
|
2811
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2792
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionValueTriggerDirective, decorators: [{
|
|
2812
2793
|
type: Directive,
|
|
2813
2794
|
args: [{
|
|
2814
2795
|
exportAs: 'dbxActionValueGetter',
|
|
@@ -2880,10 +2861,10 @@ class DbxActionValueStreamDirective {
|
|
|
2880
2861
|
})
|
|
2881
2862
|
});
|
|
2882
2863
|
}
|
|
2883
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2884
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
2864
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionValueStreamDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2865
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: DbxActionValueStreamDirective, isStandalone: true, selector: "[dbxActionValueStream]", inputs: { dbxActionValueStream: { classPropertyName: "dbxActionValueStream", publicName: "dbxActionValueStream", isSignal: true, isRequired: false, transformFunction: null }, dbxActionValueStreamIsEqualValue: { classPropertyName: "dbxActionValueStreamIsEqualValue", publicName: "dbxActionValueStreamIsEqualValue", isSignal: true, isRequired: false, transformFunction: null }, dbxActionValueStreamIsModifiedValue: { classPropertyName: "dbxActionValueStreamIsModifiedValue", publicName: "dbxActionValueStreamIsModifiedValue", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
2885
2866
|
}
|
|
2886
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2867
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionValueStreamDirective, decorators: [{
|
|
2887
2868
|
type: Directive,
|
|
2888
2869
|
args: [{
|
|
2889
2870
|
selector: '[dbxActionValueStream]',
|
|
@@ -2910,17 +2891,12 @@ class DbxActionTriggeredDirective extends AbstractIfDirective {
|
|
|
2910
2891
|
_store = inject(DbxActionContextStoreSourceInstance);
|
|
2911
2892
|
hideAfter = input(undefined, { ...(ngDevMode ? { debugName: "hideAfter" } : /* istanbul ignore next */ {}), alias: 'dbxActionTriggered', transform: transformEmptyStringInputToUndefined });
|
|
2912
2893
|
show$ = this._store.triggered$.pipe(exhaustMap((triggered) => {
|
|
2913
|
-
|
|
2914
|
-
return emitDelayObs(true, false, this.hideAfter());
|
|
2915
|
-
}
|
|
2916
|
-
else {
|
|
2917
|
-
return of(false);
|
|
2918
|
-
}
|
|
2894
|
+
return triggered ? emitDelayObs(true, false, this.hideAfter()) : of(false);
|
|
2919
2895
|
}), shareReplay(1));
|
|
2920
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2921
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
2896
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionTriggeredDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2897
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: DbxActionTriggeredDirective, isStandalone: true, selector: "[dbxActionTriggered]", inputs: { hideAfter: { classPropertyName: "hideAfter", publicName: "dbxActionTriggered", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
2922
2898
|
}
|
|
2923
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2899
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionTriggeredDirective, decorators: [{
|
|
2924
2900
|
type: Directive,
|
|
2925
2901
|
args: [{
|
|
2926
2902
|
selector: '[dbxActionTriggered]',
|
|
@@ -2956,8 +2932,8 @@ const importsAndExports$2 = [
|
|
|
2956
2932
|
* Contains all base DbxAction components.
|
|
2957
2933
|
*/
|
|
2958
2934
|
class DbxCoreActionModule {
|
|
2959
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2960
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
2935
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreActionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2936
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreActionModule, imports: [DbxActionDirective,
|
|
2961
2937
|
DbxActionContextMapDirective,
|
|
2962
2938
|
DbxActionFromMapDirective,
|
|
2963
2939
|
DbxActionMapSourceDirective,
|
|
@@ -3000,9 +2976,9 @@ class DbxCoreActionModule {
|
|
|
3000
2976
|
DbxActionSuccessHandlerDirective,
|
|
3001
2977
|
DbxActionErrorHandlerDirective,
|
|
3002
2978
|
DbxActionIsWorkingDirective] });
|
|
3003
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
2979
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreActionModule });
|
|
3004
2980
|
}
|
|
3005
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2981
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreActionModule, decorators: [{
|
|
3006
2982
|
type: NgModule,
|
|
3007
2983
|
args: [{
|
|
3008
2984
|
imports: importsAndExports$2,
|
|
@@ -3042,26 +3018,27 @@ function isSegueRef(input) {
|
|
|
3042
3018
|
}
|
|
3043
3019
|
function asSegueRef(input) {
|
|
3044
3020
|
const type = typeof input;
|
|
3021
|
+
let result;
|
|
3045
3022
|
if (type === 'string') {
|
|
3046
|
-
|
|
3023
|
+
result = refStringToSegueRef(input);
|
|
3047
3024
|
}
|
|
3048
3025
|
else if (isSegueRef(input)) {
|
|
3049
|
-
|
|
3050
|
-
}
|
|
3051
|
-
else {
|
|
3052
|
-
return undefined;
|
|
3026
|
+
result = input;
|
|
3053
3027
|
}
|
|
3028
|
+
return result;
|
|
3054
3029
|
}
|
|
3055
3030
|
function asSegueRefString(input) {
|
|
3031
|
+
let result;
|
|
3056
3032
|
if (typeof input === 'string') {
|
|
3057
|
-
|
|
3033
|
+
result = input;
|
|
3058
3034
|
}
|
|
3059
3035
|
else if (isSegueRef(input)) {
|
|
3060
|
-
|
|
3036
|
+
result = input.ref;
|
|
3061
3037
|
}
|
|
3062
3038
|
else {
|
|
3063
3039
|
throw new Error(`asSegueRefString() failed to convert the input to a string: ${input}`);
|
|
3064
3040
|
}
|
|
3041
|
+
return result;
|
|
3065
3042
|
}
|
|
3066
3043
|
/**
|
|
3067
3044
|
* Creates a {@link SegueRef} from a string ref path and optional segue options.
|
|
@@ -3177,18 +3154,20 @@ function makeAuthTransitionHook(config) {
|
|
|
3177
3154
|
const resultObs = decisionObs.pipe(
|
|
3178
3155
|
// after the timeoutTime seconds of no transition working, redirect with a false decision
|
|
3179
3156
|
timeoutStartWith(false, timeoutTime), first(), switchMap((decision) => {
|
|
3157
|
+
let result;
|
|
3180
3158
|
if (typeof decision === 'boolean') {
|
|
3181
3159
|
if (decision) {
|
|
3182
|
-
|
|
3160
|
+
result = of(true);
|
|
3183
3161
|
}
|
|
3184
3162
|
else {
|
|
3185
|
-
|
|
3163
|
+
result = redirectOut();
|
|
3186
3164
|
}
|
|
3187
3165
|
}
|
|
3188
3166
|
else {
|
|
3189
3167
|
const segueRef = asSegueRef(decision);
|
|
3190
|
-
|
|
3168
|
+
result = of($state.target(asSegueRefString(segueRef.ref), segueRef.refParams, segueRef.refOptions));
|
|
3191
3169
|
}
|
|
3170
|
+
return result;
|
|
3192
3171
|
}), catchError((x) => {
|
|
3193
3172
|
console.warn(`Encountered error in auth transition hook. Attempting redirect to ${errorRedirectTarget}.`, x);
|
|
3194
3173
|
return of($state.target(errorRedirectTarget, { location: true })); // Redirect to home
|
|
@@ -3391,17 +3370,19 @@ function enableHasAuthStateHook(transitionService, config) {
|
|
|
3391
3370
|
// MARK: Utility
|
|
3392
3371
|
function toHasAuthStateObjectConfig(input) {
|
|
3393
3372
|
const isString = typeof input === 'string';
|
|
3373
|
+
let result;
|
|
3394
3374
|
if (Array.isArray(input) || isString) {
|
|
3395
3375
|
if (isString) {
|
|
3396
3376
|
input = [input];
|
|
3397
3377
|
}
|
|
3398
|
-
|
|
3378
|
+
result = {
|
|
3399
3379
|
allowedStates: input
|
|
3400
3380
|
};
|
|
3401
3381
|
}
|
|
3402
3382
|
else {
|
|
3403
|
-
|
|
3383
|
+
result = input;
|
|
3404
3384
|
}
|
|
3385
|
+
return result;
|
|
3405
3386
|
}
|
|
3406
3387
|
function toParsedHasAuthStateConfig(input) {
|
|
3407
3388
|
return {
|
|
@@ -3959,10 +3940,10 @@ class DbxAppAuthRouterService {
|
|
|
3959
3940
|
goToApp() {
|
|
3960
3941
|
return goWithRouter(this.dbxRouterService)(this.dbxAppAuthRoutes.appRef);
|
|
3961
3942
|
}
|
|
3962
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3963
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
3943
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppAuthRouterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3944
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppAuthRouterService, providedIn: 'root' });
|
|
3964
3945
|
}
|
|
3965
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3946
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppAuthRouterService, decorators: [{
|
|
3966
3947
|
type: Injectable,
|
|
3967
3948
|
args: [{
|
|
3968
3949
|
providedIn: 'root'
|
|
@@ -4010,10 +3991,10 @@ class DbxAppAuthRouterEffects extends AbstractOnDbxAppContextStateEffects {
|
|
|
4010
3991
|
* Effect to redirect to the app when login occurs.
|
|
4011
3992
|
*/
|
|
4012
3993
|
redirectToOnboardOnLogIn = createEffect(() => this.actions$.pipe(ofType(loggedIn), switchMap(() => this.dbxAppAuthRouterService.shouldAuthEffectsRedirect$.pipe(first())), filter((shouldRedirect) => shouldRedirect), exhaustMap(() => this.dbxAppAuthRouterService.goToApp())), { dispatch: false });
|
|
4013
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4014
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
3994
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppAuthRouterEffects, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3995
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppAuthRouterEffects });
|
|
4015
3996
|
}
|
|
4016
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3997
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppAuthRouterEffects, decorators: [{
|
|
4017
3998
|
type: Injectable
|
|
4018
3999
|
}], ctorParameters: () => [] });
|
|
4019
4000
|
|
|
@@ -4208,10 +4189,10 @@ class DbxAppAuthEffects {
|
|
|
4208
4189
|
* Syncs the user's onboarding status from the auth service into the NgRx store.
|
|
4209
4190
|
*/
|
|
4210
4191
|
setUserIsOnboarded = createEffect(() => this.dbxAuthService.isOnboarded$.pipe(map((isOnboarded) => setUserIsOnboarded({ isOnboarded }))));
|
|
4211
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4212
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
4192
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppAuthEffects, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4193
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppAuthEffects });
|
|
4213
4194
|
}
|
|
4214
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4195
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppAuthEffects, decorators: [{
|
|
4215
4196
|
type: Injectable
|
|
4216
4197
|
}] });
|
|
4217
4198
|
|
|
@@ -4291,10 +4272,10 @@ class DbxAuthHasAnyRoleDirective extends AbstractIfDirective {
|
|
|
4291
4272
|
targetRoles = input(undefined, { ...(ngDevMode ? { debugName: "targetRoles" } : /* istanbul ignore next */ {}), alias: 'dbxAuthHasAnyRole' });
|
|
4292
4273
|
targetRoles$ = toObservable(this.targetRoles);
|
|
4293
4274
|
show$ = this._authService.authRoles$.pipe(authRolesSetContainsAnyRoleFrom(this.targetRoles$));
|
|
4294
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4295
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
4275
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAuthHasAnyRoleDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4276
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: DbxAuthHasAnyRoleDirective, isStandalone: true, selector: "[dbxAuthHasAnyRole]", inputs: { targetRoles: { classPropertyName: "targetRoles", publicName: "dbxAuthHasAnyRole", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
4296
4277
|
}
|
|
4297
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4278
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAuthHasAnyRoleDirective, decorators: [{
|
|
4298
4279
|
type: Directive,
|
|
4299
4280
|
args: [{
|
|
4300
4281
|
selector: '[dbxAuthHasAnyRole]',
|
|
@@ -4327,10 +4308,10 @@ class DbxAuthHasRolesDirective extends AbstractIfDirective {
|
|
|
4327
4308
|
targetRoles = input(undefined, { ...(ngDevMode ? { debugName: "targetRoles" } : /* istanbul ignore next */ {}), alias: 'dbxAuthHasRoles' });
|
|
4328
4309
|
targetRoles$ = toObservable(this.targetRoles);
|
|
4329
4310
|
show$ = this._authService.authRoles$.pipe(authRolesSetContainsAllRolesFrom(this.targetRoles$));
|
|
4330
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4331
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
4311
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAuthHasRolesDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4312
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: DbxAuthHasRolesDirective, isStandalone: true, selector: "[dbxAuthHasRoles]", inputs: { targetRoles: { classPropertyName: "targetRoles", publicName: "dbxAuthHasRoles", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
4332
4313
|
}
|
|
4333
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4314
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAuthHasRolesDirective, decorators: [{
|
|
4334
4315
|
type: Directive,
|
|
4335
4316
|
args: [{
|
|
4336
4317
|
selector: '[dbxAuthHasRoles]',
|
|
@@ -4363,10 +4344,10 @@ class DbxAuthNotAnyRoleDirective extends AbstractIfDirective {
|
|
|
4363
4344
|
targetRoles = input(undefined, { ...(ngDevMode ? { debugName: "targetRoles" } : /* istanbul ignore next */ {}), alias: 'dbxAuthNotAnyRole' });
|
|
4364
4345
|
targetRoles$ = toObservable(this.targetRoles);
|
|
4365
4346
|
show$ = this._authService.authRoles$.pipe(authRolesSetContainsNoRolesFrom(this.targetRoles$));
|
|
4366
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4367
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
4347
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAuthNotAnyRoleDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4348
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: DbxAuthNotAnyRoleDirective, isStandalone: true, selector: "[dbxAuthNotAnyRole]", inputs: { targetRoles: { classPropertyName: "targetRoles", publicName: "dbxAuthNotAnyRole", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
4368
4349
|
}
|
|
4369
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4350
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAuthNotAnyRoleDirective, decorators: [{
|
|
4370
4351
|
type: Directive,
|
|
4371
4352
|
args: [{
|
|
4372
4353
|
selector: '[dbxAuthNotAnyRole]',
|
|
@@ -4403,10 +4384,10 @@ class DbxAppAuthStateService {
|
|
|
4403
4384
|
* Observable of the current {@link DbxAppAuthStateUser} from the NgRx store.
|
|
4404
4385
|
*/
|
|
4405
4386
|
authStateUser$ = this.store.select(selectDbxAppAuthUser);
|
|
4406
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4407
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
4387
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppAuthStateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4388
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppAuthStateService, providedIn: 'root' });
|
|
4408
4389
|
}
|
|
4409
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4390
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppAuthStateService, decorators: [{
|
|
4410
4391
|
type: Injectable,
|
|
4411
4392
|
args: [{
|
|
4412
4393
|
providedIn: 'root'
|
|
@@ -4490,10 +4471,10 @@ class DbxActionButtonTriggerDirective {
|
|
|
4490
4471
|
_buttonClicked() {
|
|
4491
4472
|
this.source.trigger();
|
|
4492
4473
|
}
|
|
4493
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4494
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
4474
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionButtonTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4475
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: DbxActionButtonTriggerDirective, isStandalone: true, selector: "[dbxActionButtonTrigger]", ngImport: i0 });
|
|
4495
4476
|
}
|
|
4496
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4477
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionButtonTriggerDirective, decorators: [{
|
|
4497
4478
|
type: Directive,
|
|
4498
4479
|
args: [{
|
|
4499
4480
|
selector: '[dbxActionButtonTrigger]',
|
|
@@ -4539,6 +4520,9 @@ const DBX_ACTION_BUTTON_ECHO_CONFIG = new InjectionToken('DbxActionButtonEchoCon
|
|
|
4539
4520
|
* provideDbxActionButtonEchoConfig({ onSuccess: { icon: 'done', color: 'ok' }, onError: false })
|
|
4540
4521
|
* ]
|
|
4541
4522
|
* ```
|
|
4523
|
+
*
|
|
4524
|
+
* @param config - The echo configuration controlling success/error icon behavior.
|
|
4525
|
+
* @returns An Angular provider that registers the given echo config for all action buttons.
|
|
4542
4526
|
*/
|
|
4543
4527
|
function provideDbxActionButtonEchoConfig(config) {
|
|
4544
4528
|
return { provide: DBX_ACTION_BUTTON_ECHO_CONFIG, useValue: config };
|
|
@@ -4614,10 +4598,10 @@ class DbxActionButtonDirective extends DbxActionButtonTriggerDirective {
|
|
|
4614
4598
|
};
|
|
4615
4599
|
return result;
|
|
4616
4600
|
}
|
|
4617
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4618
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
4601
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4602
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: DbxActionButtonDirective, isStandalone: true, selector: "[dbxActionButton]", inputs: { dbxActionButtonEcho: { classPropertyName: "dbxActionButtonEcho", publicName: "dbxActionButtonEcho", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
4619
4603
|
}
|
|
4620
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4604
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxActionButtonDirective, decorators: [{
|
|
4621
4605
|
type: Directive,
|
|
4622
4606
|
args: [{
|
|
4623
4607
|
selector: '[dbxActionButton]',
|
|
@@ -4655,10 +4639,10 @@ class DbxButtonSegueDirective {
|
|
|
4655
4639
|
}
|
|
4656
4640
|
}));
|
|
4657
4641
|
}
|
|
4658
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4659
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
4642
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxButtonSegueDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4643
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: DbxButtonSegueDirective, isStandalone: true, selector: "[dbxButtonSegue]", inputs: { segueRef: { classPropertyName: "segueRef", publicName: "dbxButtonSegue", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
4660
4644
|
}
|
|
4661
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4645
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxButtonSegueDirective, decorators: [{
|
|
4662
4646
|
type: Directive,
|
|
4663
4647
|
args: [{
|
|
4664
4648
|
selector: '[dbxButtonSegue]',
|
|
@@ -4727,14 +4711,7 @@ class AbstractDbxButtonDirective {
|
|
|
4727
4711
|
clicked$ = outputToObservable(this.buttonClick);
|
|
4728
4712
|
constructor() {
|
|
4729
4713
|
cleanSubscription(this._buttonClick
|
|
4730
|
-
.pipe(switchMap(() => this._buttonInterceptor.pipe(switchMap((x) =>
|
|
4731
|
-
if (x) {
|
|
4732
|
-
return x.interceptButtonClick().pipe(first());
|
|
4733
|
-
}
|
|
4734
|
-
else {
|
|
4735
|
-
return of(true);
|
|
4736
|
-
}
|
|
4737
|
-
}), filter((x) => Boolean(x)) // Ignore false values.
|
|
4714
|
+
.pipe(switchMap(() => this._buttonInterceptor.pipe(switchMap((x) => (x ? x.interceptButtonClick().pipe(first()) : of(true))), filter((x) => Boolean(x)) // Ignore false values.
|
|
4738
4715
|
)))
|
|
4739
4716
|
.subscribe(() => {
|
|
4740
4717
|
this._forceButtonClicked();
|
|
@@ -4774,10 +4751,10 @@ class AbstractDbxButtonDirective {
|
|
|
4774
4751
|
_forceButtonClicked() {
|
|
4775
4752
|
this.buttonClick.emit();
|
|
4776
4753
|
}
|
|
4777
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4778
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
4754
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4755
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: AbstractDbxButtonDirective, isStandalone: true, inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, working: { classPropertyName: "working", publicName: "working", isSignal: true, isRequired: false, transformFunction: null }, buttonDisplay: { classPropertyName: "buttonDisplay", publicName: "buttonDisplay", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { buttonClick: "buttonClick" }, ngImport: i0 });
|
|
4779
4756
|
}
|
|
4780
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4757
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxButtonDirective, decorators: [{
|
|
4781
4758
|
type: Directive
|
|
4782
4759
|
}], ctorParameters: () => [], propDecorators: { buttonClick: [{ type: i0.Output, args: ["buttonClick"] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], working: [{ type: i0.Input, args: [{ isSignal: true, alias: "working", required: false }] }], buttonDisplay: [{ type: i0.Input, args: [{ isSignal: true, alias: "buttonDisplay", required: false }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: false }] }] } });
|
|
4783
4760
|
// MARK: Implementation
|
|
@@ -4801,10 +4778,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
4801
4778
|
* ```
|
|
4802
4779
|
*/
|
|
4803
4780
|
class DbxButtonDirective extends AbstractDbxButtonDirective {
|
|
4804
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4805
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
4781
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxButtonDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4782
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: DbxButtonDirective, isStandalone: true, selector: "[dbxButton]", providers: provideDbxButton(DbxButtonDirective), exportAs: ["dbxButton"], usesInheritance: true, ngImport: i0 });
|
|
4806
4783
|
}
|
|
4807
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4784
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxButtonDirective, decorators: [{
|
|
4808
4785
|
type: Directive,
|
|
4809
4786
|
args: [{
|
|
4810
4787
|
selector: '[dbxButton]',
|
|
@@ -4844,10 +4821,10 @@ class DbxLoadingButtonDirective {
|
|
|
4844
4821
|
}
|
|
4845
4822
|
this._loadingEffectSub.setSub(subscription);
|
|
4846
4823
|
}, ...(ngDevMode ? [{ debugName: "_loadingEffect" }] : /* istanbul ignore next */ []));
|
|
4847
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4848
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
4824
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxLoadingButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4825
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: DbxLoadingButtonDirective, isStandalone: true, selector: "[dbxLoadingButton]", inputs: { context: { classPropertyName: "context", publicName: "dbxLoadingButton", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 });
|
|
4849
4826
|
}
|
|
4850
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4827
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxLoadingButtonDirective, decorators: [{
|
|
4851
4828
|
type: Directive,
|
|
4852
4829
|
args: [{
|
|
4853
4830
|
selector: '[dbxLoadingButton]',
|
|
@@ -4865,11 +4842,11 @@ const importsAndExports$1 = [DbxButtonDirective, DbxLoadingButtonDirective, DbxA
|
|
|
4865
4842
|
* - DbxButtonSegueDirective
|
|
4866
4843
|
*/
|
|
4867
4844
|
class DbxCoreButtonModule {
|
|
4868
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4869
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
4870
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
4845
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4846
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreButtonModule, imports: [DbxButtonDirective, DbxLoadingButtonDirective, DbxActionButtonTriggerDirective, DbxActionButtonDirective, DbxButtonSegueDirective], exports: [DbxButtonDirective, DbxLoadingButtonDirective, DbxActionButtonTriggerDirective, DbxActionButtonDirective, DbxButtonSegueDirective] });
|
|
4847
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreButtonModule });
|
|
4871
4848
|
}
|
|
4872
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4849
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreButtonModule, decorators: [{
|
|
4873
4850
|
type: NgModule,
|
|
4874
4851
|
args: [{
|
|
4875
4852
|
imports: importsAndExports$1,
|
|
@@ -4904,10 +4881,10 @@ class DbxAppContextService {
|
|
|
4904
4881
|
resetState() {
|
|
4905
4882
|
this.store.next(resetState());
|
|
4906
4883
|
}
|
|
4907
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4908
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
4884
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppContextService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4885
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppContextService, providedIn: 'root' });
|
|
4909
4886
|
}
|
|
4910
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4887
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppContextService, decorators: [{
|
|
4911
4888
|
type: Injectable,
|
|
4912
4889
|
args: [{
|
|
4913
4890
|
providedIn: 'root'
|
|
@@ -4941,10 +4918,10 @@ class DbxAppContextStateDirective {
|
|
|
4941
4918
|
this.dbxAppContextStateService.setState(state);
|
|
4942
4919
|
}
|
|
4943
4920
|
}, ...(ngDevMode ? [{ debugName: "_stateEffect" }] : /* istanbul ignore next */ []));
|
|
4944
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4945
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
4921
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppContextStateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4922
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: DbxAppContextStateDirective, isStandalone: true, selector: "[dbxAppContextState]", inputs: { state: { classPropertyName: "state", publicName: "dbxAppContextState", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
4946
4923
|
}
|
|
4947
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4924
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppContextStateDirective, decorators: [{
|
|
4948
4925
|
type: Directive,
|
|
4949
4926
|
args: [{
|
|
4950
4927
|
selector: '[dbxAppContextState]',
|
|
@@ -5018,10 +4995,10 @@ class DbxAppEnviromentService {
|
|
|
5018
4995
|
getEnvironment() {
|
|
5019
4996
|
return this.environment;
|
|
5020
4997
|
}
|
|
5021
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5022
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
4998
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppEnviromentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4999
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppEnviromentService });
|
|
5023
5000
|
}
|
|
5024
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5001
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAppEnviromentService, decorators: [{
|
|
5025
5002
|
type: Injectable
|
|
5026
5003
|
}] });
|
|
5027
5004
|
|
|
@@ -5283,10 +5260,10 @@ class AbstractDbxAnchorDirective {
|
|
|
5283
5260
|
setSelected(selected) {
|
|
5284
5261
|
this.selected.set(selected);
|
|
5285
5262
|
}
|
|
5286
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5287
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
5263
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxAnchorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5264
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: AbstractDbxAnchorDirective, isStandalone: true, inputs: { ref: { classPropertyName: "ref", publicName: "ref", isSignal: true, isRequired: false, transformFunction: null }, anchor: { classPropertyName: "anchor", publicName: "anchor", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ref: "refChange", anchor: "anchorChange", disabled: "disabledChange", selected: "selectedChange" }, ngImport: i0 });
|
|
5288
5265
|
}
|
|
5289
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5266
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxAnchorDirective, decorators: [{
|
|
5290
5267
|
type: Directive
|
|
5291
5268
|
}], propDecorators: { ref: [{ type: i0.Input, args: [{ isSignal: true, alias: "ref", required: false }] }, { type: i0.Output, args: ["refChange"] }], anchor: [{ type: i0.Input, args: [{ isSignal: true, alias: "anchor", required: false }] }, { type: i0.Output, args: ["anchorChange"] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }, { type: i0.Output, args: ["disabledChange"] }], selected: [{ type: i0.Input, args: [{ isSignal: true, alias: "selected", required: false }] }, { type: i0.Output, args: ["selectedChange"] }] } });
|
|
5292
5269
|
|
|
@@ -5370,24 +5347,14 @@ function redirectForIdentifierParamHook(input) {
|
|
|
5370
5347
|
}
|
|
5371
5348
|
else if (defaultAllowedIdValue !== transitionTargetId) {
|
|
5372
5349
|
redirectToId = canViewUser(transitionTargetId, authService, injector).pipe(map((x) => {
|
|
5373
|
-
|
|
5374
|
-
|
|
5375
|
-
}
|
|
5376
|
-
else {
|
|
5377
|
-
return x;
|
|
5378
|
-
}
|
|
5350
|
+
const result = x == null || typeof x === 'boolean' ? (x ? transitionTargetId : defaultAllowedIdValue) : x;
|
|
5351
|
+
return result;
|
|
5379
5352
|
}));
|
|
5380
5353
|
}
|
|
5381
5354
|
if (redirectToId != null) {
|
|
5382
5355
|
result = redirectToId.pipe(first(), map((targetId) => {
|
|
5383
|
-
|
|
5384
|
-
|
|
5385
|
-
const state = target.state();
|
|
5386
|
-
return $state.target(state, { ...params, [idParam]: targetId }, { location: true });
|
|
5387
|
-
}
|
|
5388
|
-
else {
|
|
5389
|
-
return true;
|
|
5390
|
-
}
|
|
5356
|
+
const result = targetId !== transitionTargetId ? $state.target(transition.targetState().state(), { ...params, [idParam]: targetId }, { location: true }) : true;
|
|
5357
|
+
return result;
|
|
5391
5358
|
}));
|
|
5392
5359
|
}
|
|
5393
5360
|
return result;
|
|
@@ -5494,17 +5461,19 @@ class DbxAngularRouterService {
|
|
|
5494
5461
|
return firstValueFrom(inputObs).then((inputSegueRef) => {
|
|
5495
5462
|
const segueRef = asSegueRef(inputSegueRef);
|
|
5496
5463
|
const ref = segueRef.ref;
|
|
5464
|
+
let result;
|
|
5497
5465
|
if (Array.isArray(ref)) {
|
|
5498
|
-
|
|
5466
|
+
result = this.router.navigate(ref, {
|
|
5499
5467
|
...segueRef.refOptions,
|
|
5500
5468
|
queryParams: segueRef.refParams
|
|
5501
5469
|
});
|
|
5502
5470
|
}
|
|
5503
5471
|
else {
|
|
5504
|
-
|
|
5472
|
+
result = this.router.navigateByUrl(ref, {
|
|
5505
5473
|
...segueRef.refOptions
|
|
5506
5474
|
});
|
|
5507
5475
|
}
|
|
5476
|
+
return result;
|
|
5508
5477
|
});
|
|
5509
5478
|
}
|
|
5510
5479
|
updateParams(inputParams) {
|
|
@@ -5530,10 +5499,10 @@ class DbxAngularRouterService {
|
|
|
5530
5499
|
comparePrecision(_a, _b) {
|
|
5531
5500
|
return 0; // TODO!
|
|
5532
5501
|
}
|
|
5533
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5534
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
5502
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAngularRouterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5503
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAngularRouterService });
|
|
5535
5504
|
}
|
|
5536
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5505
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxAngularRouterService, decorators: [{
|
|
5537
5506
|
type: Injectable
|
|
5538
5507
|
}] });
|
|
5539
5508
|
|
|
@@ -5572,11 +5541,11 @@ class DbxCoreAngularRouterSegueModule {
|
|
|
5572
5541
|
]
|
|
5573
5542
|
};
|
|
5574
5543
|
}
|
|
5575
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5576
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
5577
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
5544
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreAngularRouterSegueModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5545
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreAngularRouterSegueModule });
|
|
5546
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreAngularRouterSegueModule });
|
|
5578
5547
|
}
|
|
5579
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5548
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreAngularRouterSegueModule, decorators: [{
|
|
5580
5549
|
type: NgModule,
|
|
5581
5550
|
args: [{}]
|
|
5582
5551
|
}] });
|
|
@@ -5675,23 +5644,27 @@ class DbxUIRouterService {
|
|
|
5675
5644
|
const segueRef = asSegueRef(input);
|
|
5676
5645
|
const ref = segueRef.ref;
|
|
5677
5646
|
const refParams = segueRef.refParams;
|
|
5647
|
+
let result;
|
|
5678
5648
|
// Slash paths (e.g., '/demo/oauth') are compared against the current URL path
|
|
5679
5649
|
if (ref.startsWith('/')) {
|
|
5680
5650
|
const currentPath = this.uiRouter.urlService.path();
|
|
5681
5651
|
if (exactly) {
|
|
5682
|
-
|
|
5652
|
+
result = currentPath === ref;
|
|
5683
5653
|
}
|
|
5684
5654
|
else {
|
|
5685
|
-
|
|
5655
|
+
result = currentPath === ref || currentPath.startsWith(ref + '/');
|
|
5686
5656
|
}
|
|
5687
5657
|
}
|
|
5688
|
-
|
|
5689
|
-
|
|
5658
|
+
else {
|
|
5659
|
+
const targetRef = ref.startsWith('.') ? `^${ref}` : ref;
|
|
5660
|
+
result = exactly ? this.state.is(targetRef, refParams) : this.state.includes(targetRef, refParams);
|
|
5661
|
+
}
|
|
5662
|
+
return result;
|
|
5690
5663
|
}
|
|
5691
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5692
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
5664
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxUIRouterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5665
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxUIRouterService });
|
|
5693
5666
|
}
|
|
5694
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5667
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxUIRouterService, decorators: [{
|
|
5695
5668
|
type: Injectable
|
|
5696
5669
|
}], ctorParameters: () => [] });
|
|
5697
5670
|
|
|
@@ -5838,10 +5811,10 @@ class AbstractTransitionDirective {
|
|
|
5838
5811
|
* Observable that emits immediately on initialization and on each subsequent successful transition.
|
|
5839
5812
|
*/
|
|
5840
5813
|
initAndUpdateOnTransitionSuccess$ = this.transitionSuccess$.pipe(startWith(undefined));
|
|
5841
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5842
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
5814
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractTransitionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5815
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: AbstractTransitionDirective, isStandalone: true, ngImport: i0 });
|
|
5843
5816
|
}
|
|
5844
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5817
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractTransitionDirective, decorators: [{
|
|
5845
5818
|
type: Directive
|
|
5846
5819
|
}] });
|
|
5847
5820
|
|
|
@@ -5879,10 +5852,10 @@ class AbstractTransitionWatcherDirective extends AbstractTransitionDirective {
|
|
|
5879
5852
|
// remove this function and replace, if necessary or remove entirely with angular zoneless implementation details.
|
|
5880
5853
|
this.ngZone.run(() => this.updateForSuccessfulTransition());
|
|
5881
5854
|
}
|
|
5882
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5883
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
5855
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractTransitionWatcherDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5856
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: AbstractTransitionWatcherDirective, isStandalone: true, usesInheritance: true, ngImport: i0 });
|
|
5884
5857
|
}
|
|
5885
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5858
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractTransitionWatcherDirective, decorators: [{
|
|
5886
5859
|
type: Directive
|
|
5887
5860
|
}], ctorParameters: () => [] });
|
|
5888
5861
|
|
|
@@ -5947,12 +5920,8 @@ function isSegueRefActiveOnTransitionSuccess(config) {
|
|
|
5947
5920
|
function isSegueRefActive(config) {
|
|
5948
5921
|
const { defaultIfNull = false } = config;
|
|
5949
5922
|
return switchMap((segueRef) => {
|
|
5950
|
-
|
|
5951
|
-
|
|
5952
|
-
}
|
|
5953
|
-
else {
|
|
5954
|
-
return of(defaultIfNull);
|
|
5955
|
-
}
|
|
5923
|
+
const result = segueRef ? isSegueRefActiveOnTransitionSuccess({ ...config, segueRef }) : of(defaultIfNull);
|
|
5924
|
+
return result;
|
|
5956
5925
|
});
|
|
5957
5926
|
}
|
|
5958
5927
|
|
|
@@ -6033,17 +6002,15 @@ class DbxRouteParamDefaultRedirectInstance {
|
|
|
6033
6002
|
init() {
|
|
6034
6003
|
this._sub.subscription = this._enabled
|
|
6035
6004
|
.pipe(switchMap((enabled) => {
|
|
6036
|
-
|
|
6037
|
-
|
|
6005
|
+
const result = enabled
|
|
6006
|
+
? this.instance.paramValue$.pipe(switchMapToDefault(this.instance.defaultValue$, (value) => {
|
|
6038
6007
|
return this._useDefaultFilter.pipe(switchMap((fn) => DEFAULT_REDIRECT_INSTANCE_FORWARD_FACTORY(fn)(value)));
|
|
6039
6008
|
}), filterMaybe(), // do not redirect on MaybeNot values
|
|
6040
6009
|
switchMap((defaultValue) => {
|
|
6041
6010
|
return this.redirectWithDefaultValue(defaultValue);
|
|
6042
|
-
}))
|
|
6043
|
-
|
|
6044
|
-
|
|
6045
|
-
return EMPTY;
|
|
6046
|
-
}
|
|
6011
|
+
}))
|
|
6012
|
+
: EMPTY;
|
|
6013
|
+
return result;
|
|
6047
6014
|
}))
|
|
6048
6015
|
.subscribe();
|
|
6049
6016
|
}
|
|
@@ -6053,14 +6020,16 @@ class DbxRouteParamDefaultRedirectInstance {
|
|
|
6053
6020
|
this._sub.destroy();
|
|
6054
6021
|
}
|
|
6055
6022
|
redirectWithDefaultValue(value) {
|
|
6023
|
+
let result;
|
|
6056
6024
|
if (value != null) {
|
|
6057
6025
|
// perform a segue once
|
|
6058
|
-
|
|
6026
|
+
result = this.redirectWithValue(value);
|
|
6059
6027
|
}
|
|
6060
6028
|
else {
|
|
6061
6029
|
// do nothing
|
|
6062
|
-
|
|
6030
|
+
result = Promise.resolve(false);
|
|
6063
6031
|
}
|
|
6032
|
+
return result;
|
|
6064
6033
|
}
|
|
6065
6034
|
redirectWithValue(value) {
|
|
6066
6035
|
return this.instance.dbxRouterService.updateParams({
|
|
@@ -6282,10 +6251,10 @@ class DbxRouteModelIdFromAuthUserIdDirective {
|
|
|
6282
6251
|
constructor() {
|
|
6283
6252
|
cleanSubscription(this.dbxRouteModelIdDelegate.useRouteModelIdParamsObservable(this.dbxAuthService.userIdentifier$, this.dbxAuthService.userIdentifier$));
|
|
6284
6253
|
}
|
|
6285
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6286
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
6254
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxRouteModelIdFromAuthUserIdDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6255
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: DbxRouteModelIdFromAuthUserIdDirective, isStandalone: true, selector: "[dbxRouteModelIdFromAuthUserId]", ngImport: i0 });
|
|
6287
6256
|
}
|
|
6288
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6257
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxRouteModelIdFromAuthUserIdDirective, decorators: [{
|
|
6289
6258
|
type: Directive,
|
|
6290
6259
|
args: [{
|
|
6291
6260
|
selector: '[dbxRouteModelIdFromAuthUserId]',
|
|
@@ -6349,10 +6318,10 @@ class DbxRouteModelIdDirective {
|
|
|
6349
6318
|
set dbxRouteModelIdDefaultDecision(decider) {
|
|
6350
6319
|
this._redirectInstance.setDecider(decider);
|
|
6351
6320
|
}
|
|
6352
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6353
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
6321
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxRouteModelIdDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6322
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: DbxRouteModelIdDirective, isStandalone: true, selector: "[dbxRouteModelId]", inputs: { idParam: ["dbxRouteModelId", "idParam"], dbxRouteModelIdDefault: "dbxRouteModelIdDefault", dbxRouteModelIdDefaultRedirect: "dbxRouteModelIdDefaultRedirect", dbxRouteModelIdDefaultDecision: "dbxRouteModelIdDefaultDecision" }, ngImport: i0 });
|
|
6354
6323
|
}
|
|
6355
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6324
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxRouteModelIdDirective, decorators: [{
|
|
6356
6325
|
type: Directive,
|
|
6357
6326
|
args: [{
|
|
6358
6327
|
selector: '[dbxRouteModelId]',
|
|
@@ -6426,10 +6395,10 @@ class DbxRouteModelKeyDirective {
|
|
|
6426
6395
|
set dbxRouteModelKeyDefaultDecision(decider) {
|
|
6427
6396
|
this._redirectInstance.setDecider(decider);
|
|
6428
6397
|
}
|
|
6429
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6430
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
6398
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxRouteModelKeyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6399
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: DbxRouteModelKeyDirective, isStandalone: true, selector: "[dbxRouteModelKey]", inputs: { keyParam: ["dbxRouteModelKey", "keyParam"], dbxRouteModelKeyDefault: "dbxRouteModelKeyDefault", dbxRouteModelKeyDefaultRedirect: "dbxRouteModelKeyDefaultRedirect", dbxRouteModelKeyDefaultDecision: "dbxRouteModelKeyDefaultDecision" }, ngImport: i0 });
|
|
6431
6400
|
}
|
|
6432
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6401
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxRouteModelKeyDirective, decorators: [{
|
|
6433
6402
|
type: Directive,
|
|
6434
6403
|
args: [{
|
|
6435
6404
|
selector: '[dbxRouteModelKey]',
|
|
@@ -6461,10 +6430,10 @@ class AsObservablePipe {
|
|
|
6461
6430
|
transform(input) {
|
|
6462
6431
|
return asObservableFromGetter(input);
|
|
6463
6432
|
}
|
|
6464
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6465
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6433
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AsObservablePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6434
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: AsObservablePipe, isStandalone: true, name: "asObservable" });
|
|
6466
6435
|
}
|
|
6467
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6436
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AsObservablePipe, decorators: [{
|
|
6468
6437
|
type: Pipe,
|
|
6469
6438
|
args: [{
|
|
6470
6439
|
name: 'asObservable',
|
|
@@ -6488,17 +6457,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
6488
6457
|
*/
|
|
6489
6458
|
class DateDayRangePipe {
|
|
6490
6459
|
transform(input, unavailable = 'Not Available') {
|
|
6491
|
-
|
|
6492
|
-
return formatToDayRangeString(input);
|
|
6493
|
-
}
|
|
6494
|
-
else {
|
|
6495
|
-
return unavailable;
|
|
6496
|
-
}
|
|
6460
|
+
return input ? formatToDayRangeString(input) : unavailable;
|
|
6497
6461
|
}
|
|
6498
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6499
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6462
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateDayRangePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6463
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: DateDayRangePipe, isStandalone: true, name: "dateDayRange" });
|
|
6500
6464
|
}
|
|
6501
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6465
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateDayRangePipe, decorators: [{
|
|
6502
6466
|
type: Pipe,
|
|
6503
6467
|
args: [{
|
|
6504
6468
|
name: 'dateDayRange',
|
|
@@ -6535,10 +6499,10 @@ class ToJsDatePipe {
|
|
|
6535
6499
|
transform(input) {
|
|
6536
6500
|
return ToJsDatePipe.toJsDate(input);
|
|
6537
6501
|
}
|
|
6538
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6539
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6502
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: ToJsDatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6503
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: ToJsDatePipe, isStandalone: true, name: "toJsDate" });
|
|
6540
6504
|
}
|
|
6541
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6505
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: ToJsDatePipe, decorators: [{
|
|
6542
6506
|
type: Pipe,
|
|
6543
6507
|
args: [{
|
|
6544
6508
|
name: 'toJsDate',
|
|
@@ -6566,19 +6530,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
6566
6530
|
*/
|
|
6567
6531
|
class DateDistancePipe {
|
|
6568
6532
|
transform(input, inputTo, unavailable = 'Not Available') {
|
|
6533
|
+
let result;
|
|
6569
6534
|
if (input != null) {
|
|
6570
6535
|
const to = inputTo ?? new Date();
|
|
6571
6536
|
const from = ToJsDatePipe.toJsDate(input);
|
|
6572
|
-
|
|
6537
|
+
result = formatDateDistance(to, from);
|
|
6573
6538
|
}
|
|
6574
6539
|
else {
|
|
6575
|
-
|
|
6540
|
+
result = unavailable;
|
|
6576
6541
|
}
|
|
6542
|
+
return result;
|
|
6577
6543
|
}
|
|
6578
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6579
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6544
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateDistancePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6545
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: DateDistancePipe, isStandalone: true, name: "dateDistance", pure: false });
|
|
6580
6546
|
}
|
|
6581
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6547
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateDistancePipe, decorators: [{
|
|
6582
6548
|
type: Pipe,
|
|
6583
6549
|
args: [{
|
|
6584
6550
|
name: 'dateDistance',
|
|
@@ -6617,10 +6583,10 @@ class DateFormatDistancePipe {
|
|
|
6617
6583
|
}
|
|
6618
6584
|
return undefined;
|
|
6619
6585
|
}
|
|
6620
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6621
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6586
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateFormatDistancePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6587
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: DateFormatDistancePipe, isStandalone: true, name: "dateFormatDistance", pure: false });
|
|
6622
6588
|
}
|
|
6623
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6589
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateFormatDistancePipe, decorators: [{
|
|
6624
6590
|
type: Pipe,
|
|
6625
6591
|
args: [{
|
|
6626
6592
|
name: 'dateFormatDistance',
|
|
@@ -6656,10 +6622,10 @@ class DateFormatFromToPipe {
|
|
|
6656
6622
|
transform(input, format, minutes) {
|
|
6657
6623
|
return DateFormatFromToPipe.formatFromTo(input, format, minutes, this.locale);
|
|
6658
6624
|
}
|
|
6659
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6660
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6625
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateFormatFromToPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6626
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: DateFormatFromToPipe, isStandalone: true, name: "dateFormatFromTo" });
|
|
6661
6627
|
}
|
|
6662
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6628
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateFormatFromToPipe, decorators: [{
|
|
6663
6629
|
type: Pipe,
|
|
6664
6630
|
args: [{
|
|
6665
6631
|
name: 'dateFormatFromTo',
|
|
@@ -6684,17 +6650,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
6684
6650
|
*/
|
|
6685
6651
|
class DateDayTimeRangePipe {
|
|
6686
6652
|
transform(input, unavailable = 'Not Available') {
|
|
6687
|
-
|
|
6688
|
-
return formatToDayTimeRangeString(input);
|
|
6689
|
-
}
|
|
6690
|
-
else {
|
|
6691
|
-
return unavailable;
|
|
6692
|
-
}
|
|
6653
|
+
return input ? formatToDayTimeRangeString(input) : unavailable;
|
|
6693
6654
|
}
|
|
6694
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6695
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6655
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateDayTimeRangePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6656
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: DateDayTimeRangePipe, isStandalone: true, name: "dateDayTimeRange" });
|
|
6696
6657
|
}
|
|
6697
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6658
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateDayTimeRangePipe, decorators: [{
|
|
6698
6659
|
type: Pipe,
|
|
6699
6660
|
args: [{
|
|
6700
6661
|
name: 'dateDayTimeRange',
|
|
@@ -6719,17 +6680,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
6719
6680
|
*/
|
|
6720
6681
|
class DateTimeRangePipe {
|
|
6721
6682
|
transform(input, unavailable = 'Not Available') {
|
|
6722
|
-
|
|
6723
|
-
return formatToTimeRangeString(input);
|
|
6724
|
-
}
|
|
6725
|
-
else {
|
|
6726
|
-
return unavailable;
|
|
6727
|
-
}
|
|
6683
|
+
return input ? formatToTimeRangeString(input) : unavailable;
|
|
6728
6684
|
}
|
|
6729
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6730
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6685
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateTimeRangePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6686
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: DateTimeRangePipe, isStandalone: true, name: "dateTimeRange" });
|
|
6731
6687
|
}
|
|
6732
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6688
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateTimeRangePipe, decorators: [{
|
|
6733
6689
|
type: Pipe,
|
|
6734
6690
|
args: [{
|
|
6735
6691
|
name: 'dateTimeRange',
|
|
@@ -6755,17 +6711,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
6755
6711
|
*/
|
|
6756
6712
|
class DateRangeDistancePipe {
|
|
6757
6713
|
transform(input, unavailable = 'Not Available') {
|
|
6758
|
-
|
|
6759
|
-
return formatDateDistance(input, new Date());
|
|
6760
|
-
}
|
|
6761
|
-
else {
|
|
6762
|
-
return unavailable;
|
|
6763
|
-
}
|
|
6714
|
+
return input != null ? formatDateDistance(input, new Date()) : unavailable;
|
|
6764
6715
|
}
|
|
6765
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6766
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6716
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateRangeDistancePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6717
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: DateRangeDistancePipe, isStandalone: true, name: "dateRangeDistance", pure: false });
|
|
6767
6718
|
}
|
|
6768
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6719
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateRangeDistancePipe, decorators: [{
|
|
6769
6720
|
type: Pipe,
|
|
6770
6721
|
args: [{
|
|
6771
6722
|
name: 'dateRangeDistance',
|
|
@@ -6790,17 +6741,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
6790
6741
|
*/
|
|
6791
6742
|
class DateTimeRangeOnlyPipe {
|
|
6792
6743
|
transform(input, unavailable = 'Not Available') {
|
|
6793
|
-
|
|
6794
|
-
return formatToTimeRangeString(input, undefined, true);
|
|
6795
|
-
}
|
|
6796
|
-
else {
|
|
6797
|
-
return unavailable;
|
|
6798
|
-
}
|
|
6744
|
+
return input ? formatToTimeRangeString(input, undefined, true) : unavailable;
|
|
6799
6745
|
}
|
|
6800
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6801
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6746
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateTimeRangeOnlyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6747
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: DateTimeRangeOnlyPipe, isStandalone: true, name: "dateTimeRangeOnly" });
|
|
6802
6748
|
}
|
|
6803
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6749
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateTimeRangeOnlyPipe, decorators: [{
|
|
6804
6750
|
type: Pipe,
|
|
6805
6751
|
args: [{
|
|
6806
6752
|
name: 'dateTimeRangeOnly',
|
|
@@ -6824,17 +6770,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
6824
6770
|
*/
|
|
6825
6771
|
class TargetDateToSystemDatePipe {
|
|
6826
6772
|
transform(input, timezone) {
|
|
6827
|
-
|
|
6828
|
-
return dateTimezoneUtcNormal({ timezone }).targetDateToSystemDate(input);
|
|
6829
|
-
}
|
|
6830
|
-
else {
|
|
6831
|
-
return undefined;
|
|
6832
|
-
}
|
|
6773
|
+
return input && timezone ? dateTimezoneUtcNormal({ timezone }).targetDateToSystemDate(input) : undefined;
|
|
6833
6774
|
}
|
|
6834
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6835
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6775
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TargetDateToSystemDatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6776
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: TargetDateToSystemDatePipe, isStandalone: true, name: "targetDateToSystemDate", pure: false });
|
|
6836
6777
|
}
|
|
6837
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6778
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TargetDateToSystemDatePipe, decorators: [{
|
|
6838
6779
|
type: Pipe,
|
|
6839
6780
|
args: [{
|
|
6840
6781
|
name: 'targetDateToSystemDate',
|
|
@@ -6863,17 +6804,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
6863
6804
|
*/
|
|
6864
6805
|
class DateTimeRangeOnlyDistancePipe {
|
|
6865
6806
|
transform(input, config, unavailable = 'Not Available') {
|
|
6866
|
-
|
|
6867
|
-
return formatDateRangeDistance(input, { ...config });
|
|
6868
|
-
}
|
|
6869
|
-
else {
|
|
6870
|
-
return unavailable;
|
|
6871
|
-
}
|
|
6807
|
+
return input ? formatDateRangeDistance(input, { ...config }) : unavailable;
|
|
6872
6808
|
}
|
|
6873
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6874
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6809
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateTimeRangeOnlyDistancePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6810
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: DateTimeRangeOnlyDistancePipe, isStandalone: true, name: "dateTimeRangeOnlyDistance" });
|
|
6875
6811
|
}
|
|
6876
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6812
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DateTimeRangeOnlyDistancePipe, decorators: [{
|
|
6877
6813
|
type: Pipe,
|
|
6878
6814
|
args: [{
|
|
6879
6815
|
name: 'dateTimeRangeOnlyDistance',
|
|
@@ -6900,17 +6836,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
6900
6836
|
*/
|
|
6901
6837
|
class TimezoneAbbreviationPipe {
|
|
6902
6838
|
transform(timezone, input) {
|
|
6903
|
-
|
|
6904
|
-
return getTimezoneAbbreviation(timezone, input ?? undefined);
|
|
6905
|
-
}
|
|
6906
|
-
else {
|
|
6907
|
-
return undefined;
|
|
6908
|
-
}
|
|
6839
|
+
return timezone ? getTimezoneAbbreviation(timezone, input ?? undefined) : undefined;
|
|
6909
6840
|
}
|
|
6910
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6911
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6841
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TimezoneAbbreviationPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6842
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: TimezoneAbbreviationPipe, isStandalone: true, name: "timezoneAbbreviation", pure: false });
|
|
6912
6843
|
}
|
|
6913
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6844
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TimezoneAbbreviationPipe, decorators: [{
|
|
6914
6845
|
type: Pipe,
|
|
6915
6846
|
args: [{
|
|
6916
6847
|
name: 'timezoneAbbreviation',
|
|
@@ -6933,17 +6864,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
6933
6864
|
*/
|
|
6934
6865
|
class SystemDateToTargetDatePipe {
|
|
6935
6866
|
transform(input, timezone) {
|
|
6936
|
-
|
|
6937
|
-
return dateTimezoneUtcNormal({ timezone }).systemDateToTargetDate(input);
|
|
6938
|
-
}
|
|
6939
|
-
else {
|
|
6940
|
-
return undefined;
|
|
6941
|
-
}
|
|
6867
|
+
return input && timezone ? dateTimezoneUtcNormal({ timezone }).systemDateToTargetDate(input) : undefined;
|
|
6942
6868
|
}
|
|
6943
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6944
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6869
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SystemDateToTargetDatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6870
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: SystemDateToTargetDatePipe, isStandalone: true, name: "systemDateToTargetDate", pure: false });
|
|
6945
6871
|
}
|
|
6946
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6872
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SystemDateToTargetDatePipe, decorators: [{
|
|
6947
6873
|
type: Pipe,
|
|
6948
6874
|
args: [{
|
|
6949
6875
|
name: 'systemDateToTargetDate',
|
|
@@ -6994,10 +6920,10 @@ class MinutesStringPipe {
|
|
|
6994
6920
|
}
|
|
6995
6921
|
return result;
|
|
6996
6922
|
}
|
|
6997
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6998
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6923
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: MinutesStringPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6924
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: MinutesStringPipe, isStandalone: true, name: "minutesString", pure: false });
|
|
6999
6925
|
}
|
|
7000
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6926
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: MinutesStringPipe, decorators: [{
|
|
7001
6927
|
type: Pipe,
|
|
7002
6928
|
args: [{
|
|
7003
6929
|
name: 'minutesString',
|
|
@@ -7024,26 +6950,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
7024
6950
|
*/
|
|
7025
6951
|
class TimeDistanceCountdownPipe {
|
|
7026
6952
|
transform(input, soonString = 'Soon', unavailable = 'Not Available') {
|
|
6953
|
+
let result;
|
|
7027
6954
|
if (input) {
|
|
7028
6955
|
const from = ToJsDatePipe.toJsDate(input);
|
|
7029
6956
|
if (isPast(from)) {
|
|
7030
|
-
|
|
6957
|
+
result = soonString;
|
|
7031
6958
|
}
|
|
7032
6959
|
else {
|
|
7033
6960
|
const to = new Date();
|
|
7034
|
-
|
|
6961
|
+
result = formatDistance(from, to, {
|
|
7035
6962
|
addSuffix: true
|
|
7036
6963
|
});
|
|
7037
6964
|
}
|
|
7038
6965
|
}
|
|
7039
6966
|
else {
|
|
7040
|
-
|
|
6967
|
+
result = unavailable;
|
|
7041
6968
|
}
|
|
6969
|
+
return result;
|
|
7042
6970
|
}
|
|
7043
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7044
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6971
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TimeDistanceCountdownPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6972
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: TimeDistanceCountdownPipe, isStandalone: true, name: "timeCountdownDistance", pure: false });
|
|
7045
6973
|
}
|
|
7046
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6974
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TimeDistanceCountdownPipe, decorators: [{
|
|
7047
6975
|
type: Pipe,
|
|
7048
6976
|
args: [{
|
|
7049
6977
|
name: 'timeCountdownDistance',
|
|
@@ -7071,20 +6999,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
7071
6999
|
*/
|
|
7072
7000
|
class TimeDistancePipe {
|
|
7073
7001
|
transform(input, to, unavailable = 'Not Available') {
|
|
7002
|
+
let result;
|
|
7074
7003
|
if (input) {
|
|
7075
7004
|
const from = ToJsDatePipe.toJsDate(input);
|
|
7076
|
-
|
|
7005
|
+
result = formatDistance(from, to ?? new Date(), {
|
|
7077
7006
|
addSuffix: true
|
|
7078
7007
|
});
|
|
7079
7008
|
}
|
|
7080
7009
|
else {
|
|
7081
|
-
|
|
7010
|
+
result = unavailable;
|
|
7082
7011
|
}
|
|
7012
|
+
return result;
|
|
7083
7013
|
}
|
|
7084
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7085
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
7014
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TimeDistancePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
7015
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: TimeDistancePipe, isStandalone: true, name: "timeDistance", pure: false });
|
|
7086
7016
|
}
|
|
7087
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7017
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TimeDistancePipe, decorators: [{
|
|
7088
7018
|
type: Pipe,
|
|
7089
7019
|
args: [{
|
|
7090
7020
|
name: 'timeDistance',
|
|
@@ -7115,10 +7045,10 @@ class ToMinutesPipe {
|
|
|
7115
7045
|
}
|
|
7116
7046
|
return result;
|
|
7117
7047
|
}
|
|
7118
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7119
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
7048
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: ToMinutesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
7049
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: ToMinutesPipe, isStandalone: true, name: "toMinutes" });
|
|
7120
7050
|
}
|
|
7121
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7051
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: ToMinutesPipe, decorators: [{
|
|
7122
7052
|
type: Pipe,
|
|
7123
7053
|
args: [{
|
|
7124
7054
|
name: 'toMinutes',
|
|
@@ -7158,10 +7088,10 @@ class PrettyJsonPipe {
|
|
|
7158
7088
|
transform(input, spacing) {
|
|
7159
7089
|
return PrettyJsonPipe.toPrettyJson(input, spacing);
|
|
7160
7090
|
}
|
|
7161
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7162
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
7091
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: PrettyJsonPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
7092
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: PrettyJsonPipe, isStandalone: true, name: "prettyjson" });
|
|
7163
7093
|
}
|
|
7164
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7094
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: PrettyJsonPipe, decorators: [{
|
|
7165
7095
|
type: Pipe,
|
|
7166
7096
|
args: [{
|
|
7167
7097
|
name: 'prettyjson',
|
|
@@ -7187,10 +7117,10 @@ class CutTextPipe {
|
|
|
7187
7117
|
transform(input, maxLength, endText) {
|
|
7188
7118
|
return input != null ? cutString(input, maxLength, endText) : input;
|
|
7189
7119
|
}
|
|
7190
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7191
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
7120
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CutTextPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
7121
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: CutTextPipe, isStandalone: true, name: "cutText" });
|
|
7192
7122
|
}
|
|
7193
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7123
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CutTextPipe, decorators: [{
|
|
7194
7124
|
type: Pipe,
|
|
7195
7125
|
args: [{
|
|
7196
7126
|
name: 'cutText',
|
|
@@ -7216,10 +7146,10 @@ class GetValuePipe {
|
|
|
7216
7146
|
transform(input, args) {
|
|
7217
7147
|
return getValueFromGetter(input, args);
|
|
7218
7148
|
}
|
|
7219
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7220
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
7149
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GetValuePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
7150
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: GetValuePipe, isStandalone: true, name: "getValue", pure: false });
|
|
7221
7151
|
}
|
|
7222
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7152
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GetValuePipe, decorators: [{
|
|
7223
7153
|
type: Pipe,
|
|
7224
7154
|
args: [{
|
|
7225
7155
|
name: 'getValue',
|
|
@@ -7242,10 +7172,10 @@ class GetValueOncePipe {
|
|
|
7242
7172
|
transform(input, args) {
|
|
7243
7173
|
return getValueFromGetter(input, args);
|
|
7244
7174
|
}
|
|
7245
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7246
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
7175
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GetValueOncePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
7176
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: GetValueOncePipe, isStandalone: true, name: "getValueOnce" });
|
|
7247
7177
|
}
|
|
7248
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7178
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GetValueOncePipe, decorators: [{
|
|
7249
7179
|
type: Pipe,
|
|
7250
7180
|
args: [{
|
|
7251
7181
|
name: 'getValueOnce',
|
|
@@ -7272,10 +7202,10 @@ class DollarAmountPipe {
|
|
|
7272
7202
|
transform(input, defaultIfNull) {
|
|
7273
7203
|
return defaultIfNull == null || input != null ? dollarAmountString(input) : defaultIfNull;
|
|
7274
7204
|
}
|
|
7275
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7276
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
7205
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DollarAmountPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
7206
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: DollarAmountPipe, isStandalone: true, name: "dollarAmount" });
|
|
7277
7207
|
}
|
|
7278
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7208
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DollarAmountPipe, decorators: [{
|
|
7279
7209
|
type: Pipe,
|
|
7280
7210
|
args: [{
|
|
7281
7211
|
name: 'dollarAmount',
|
|
@@ -7305,10 +7235,10 @@ class AbstractFilterSourceConnectorDirective {
|
|
|
7305
7235
|
connectWithSource(filterSource) {
|
|
7306
7236
|
this._source.next(filterSource);
|
|
7307
7237
|
}
|
|
7308
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7309
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
7238
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractFilterSourceConnectorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7239
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: AbstractFilterSourceConnectorDirective, isStandalone: true, ngImport: i0 });
|
|
7310
7240
|
}
|
|
7311
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7241
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractFilterSourceConnectorDirective, decorators: [{
|
|
7312
7242
|
type: Directive
|
|
7313
7243
|
}] });
|
|
7314
7244
|
|
|
@@ -7432,10 +7362,10 @@ class AbstractFilterSourceDirective {
|
|
|
7432
7362
|
setInitialFilterTakesPriority(initialFilterTakesPriority) {
|
|
7433
7363
|
this._defaultFilterSource.setInitialFilterTakesPriority(initialFilterTakesPriority);
|
|
7434
7364
|
}
|
|
7435
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7436
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
7365
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractFilterSourceDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7366
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: AbstractFilterSourceDirective, isStandalone: true, ngImport: i0 });
|
|
7437
7367
|
}
|
|
7438
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7368
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractFilterSourceDirective, decorators: [{
|
|
7439
7369
|
type: Directive
|
|
7440
7370
|
}] });
|
|
7441
7371
|
|
|
@@ -7458,10 +7388,10 @@ class DbxFilterConnectSourceDirective {
|
|
|
7458
7388
|
ngOnInit() {
|
|
7459
7389
|
this.filterSourceConnector.connectWithSource(this.filterSource);
|
|
7460
7390
|
}
|
|
7461
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7462
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
7391
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFilterConnectSourceDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7392
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: DbxFilterConnectSourceDirective, isStandalone: true, selector: "[dbxFilterConnectSource]", ngImport: i0 });
|
|
7463
7393
|
}
|
|
7464
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7394
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFilterConnectSourceDirective, decorators: [{
|
|
7465
7395
|
type: Directive,
|
|
7466
7396
|
args: [{
|
|
7467
7397
|
selector: '[dbxFilterConnectSource]',
|
|
@@ -7482,10 +7412,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
7482
7412
|
* ```
|
|
7483
7413
|
*/
|
|
7484
7414
|
class DbxFilterSourceConnectorDirective extends AbstractFilterSourceConnectorDirective {
|
|
7485
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7486
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
7415
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFilterSourceConnectorDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
7416
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: DbxFilterSourceConnectorDirective, isStandalone: true, selector: "[dbxFilterSourceConnector]", providers: [...provideFilterSource(DbxFilterSourceConnectorDirective), ...provideFilterSourceConnector(DbxFilterSourceConnectorDirective)], usesInheritance: true, ngImport: i0 });
|
|
7487
7417
|
}
|
|
7488
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7418
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFilterSourceConnectorDirective, decorators: [{
|
|
7489
7419
|
type: Directive,
|
|
7490
7420
|
args: [{
|
|
7491
7421
|
selector: '[dbxFilterSourceConnector]',
|
|
@@ -7512,10 +7442,10 @@ class AbstractDbxFilterMapInstanceDirective {
|
|
|
7512
7442
|
setFilterMapKey(filterMapKey) {
|
|
7513
7443
|
this._currentFilterMapKey.next(filterMapKey);
|
|
7514
7444
|
}
|
|
7515
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7516
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
7445
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxFilterMapInstanceDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7446
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: AbstractDbxFilterMapInstanceDirective, isStandalone: true, ngImport: i0 });
|
|
7517
7447
|
}
|
|
7518
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7448
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxFilterMapInstanceDirective, decorators: [{
|
|
7519
7449
|
type: Directive
|
|
7520
7450
|
}] });
|
|
7521
7451
|
|
|
@@ -7530,10 +7460,10 @@ class AbstractDbxFilterMapSourceDirective extends AbstractDbxFilterMapInstanceDi
|
|
|
7530
7460
|
initWithFilter(filterObs) {
|
|
7531
7461
|
this.instance$.pipe(first()).subscribe((x) => x.initWithFilter(filterObs));
|
|
7532
7462
|
}
|
|
7533
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7534
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
7463
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxFilterMapSourceDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
7464
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: AbstractDbxFilterMapSourceDirective, isStandalone: true, usesInheritance: true, ngImport: i0 });
|
|
7535
7465
|
}
|
|
7536
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7466
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxFilterMapSourceDirective, decorators: [{
|
|
7537
7467
|
type: Directive
|
|
7538
7468
|
}] });
|
|
7539
7469
|
/**
|
|
@@ -7551,10 +7481,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
7551
7481
|
class DbxFilterMapSourceDirective extends AbstractDbxFilterMapSourceDirective {
|
|
7552
7482
|
dbxFilterMapSource = input(...(ngDevMode ? [undefined, { debugName: "dbxFilterMapSource" }] : /* istanbul ignore next */ []));
|
|
7553
7483
|
_dbxFilterMapSourceEffect = effect(() => this.setFilterMapKey(this.dbxFilterMapSource()), ...(ngDevMode ? [{ debugName: "_dbxFilterMapSourceEffect" }] : /* istanbul ignore next */ []));
|
|
7554
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7555
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
7484
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFilterMapSourceDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
7485
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: DbxFilterMapSourceDirective, isStandalone: true, selector: "[dbxFilterMapSource]", inputs: { dbxFilterMapSource: { classPropertyName: "dbxFilterMapSource", publicName: "dbxFilterMapSource", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideFilterSource(DbxFilterMapSourceDirective)], exportAs: ["dbxFilterMapSource"], usesInheritance: true, ngImport: i0 });
|
|
7556
7486
|
}
|
|
7557
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7487
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFilterMapSourceDirective, decorators: [{
|
|
7558
7488
|
type: Directive,
|
|
7559
7489
|
args: [{
|
|
7560
7490
|
selector: '[dbxFilterMapSource]',
|
|
@@ -7590,10 +7520,10 @@ class DbxFilterMapSourceConnectorDirective extends AbstractDbxFilterMapSourceDir
|
|
|
7590
7520
|
}
|
|
7591
7521
|
});
|
|
7592
7522
|
}
|
|
7593
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7594
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
7523
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFilterMapSourceConnectorDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
7524
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: DbxFilterMapSourceConnectorDirective, isStandalone: true, selector: "[dbxFilterMapSourceConnector]", inputs: { dbxFilterMapSourceConnector: { classPropertyName: "dbxFilterMapSourceConnector", publicName: "dbxFilterMapSourceConnector", isSignal: true, isRequired: false, transformFunction: null } }, providers: [...provideFilterSource(DbxFilterMapSourceConnectorDirective), ...provideFilterSourceConnector(DbxFilterMapSourceConnectorDirective)], exportAs: ["dbxFilterMapSourceConnector"], usesInheritance: true, ngImport: i0 });
|
|
7595
7525
|
}
|
|
7596
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7526
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFilterMapSourceConnectorDirective, decorators: [{
|
|
7597
7527
|
type: Directive,
|
|
7598
7528
|
args: [{
|
|
7599
7529
|
selector: '[dbxFilterMapSourceConnector]',
|
|
@@ -7619,10 +7549,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
7619
7549
|
*/
|
|
7620
7550
|
class DbxFilterMapDirective {
|
|
7621
7551
|
filterMap = clean(inject((FilterMap)));
|
|
7622
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7623
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
7552
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFilterMapDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7553
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: DbxFilterMapDirective, isStandalone: true, selector: "[dbxFilterMap]", providers: [FilterMap], exportAs: ["dbxFilterMap"], ngImport: i0 });
|
|
7624
7554
|
}
|
|
7625
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7555
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFilterMapDirective, decorators: [{
|
|
7626
7556
|
type: Directive,
|
|
7627
7557
|
args: [{
|
|
7628
7558
|
selector: '[dbxFilterMap]',
|
|
@@ -7662,10 +7592,10 @@ function isClickablePartialFilterPreset(preset) {
|
|
|
7662
7592
|
* ```
|
|
7663
7593
|
*/
|
|
7664
7594
|
class DbxFilterSourceDirective extends AbstractFilterSourceDirective {
|
|
7665
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7666
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
7595
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFilterSourceDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
7596
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: DbxFilterSourceDirective, isStandalone: true, selector: "[dbxFilterSource]", providers: provideFilterSourceDirective(DbxFilterSourceDirective), usesInheritance: true, ngImport: i0 });
|
|
7667
7597
|
}
|
|
7668
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7598
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxFilterSourceDirective, decorators: [{
|
|
7669
7599
|
type: Directive,
|
|
7670
7600
|
args: [{
|
|
7671
7601
|
selector: '[dbxFilterSource]',
|
|
@@ -7676,11 +7606,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
7676
7606
|
|
|
7677
7607
|
const importsAndExports = [DbxFilterSourceDirective, DbxFilterMapSourceConnectorDirective, DbxFilterConnectSourceDirective, DbxFilterSourceConnectorDirective, DbxFilterMapDirective, DbxFilterMapSourceDirective];
|
|
7678
7608
|
class DbxCoreFilterModule {
|
|
7679
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7680
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
7681
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
7609
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreFilterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7610
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreFilterModule, imports: [DbxFilterSourceDirective, DbxFilterMapSourceConnectorDirective, DbxFilterConnectSourceDirective, DbxFilterSourceConnectorDirective, DbxFilterMapDirective, DbxFilterMapSourceDirective], exports: [DbxFilterSourceDirective, DbxFilterMapSourceConnectorDirective, DbxFilterConnectSourceDirective, DbxFilterSourceConnectorDirective, DbxFilterMapDirective, DbxFilterMapSourceDirective] });
|
|
7611
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreFilterModule });
|
|
7682
7612
|
}
|
|
7683
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7613
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxCoreFilterModule, decorators: [{
|
|
7684
7614
|
type: NgModule,
|
|
7685
7615
|
args: [{
|
|
7686
7616
|
imports: importsAndExports,
|
|
@@ -7750,6 +7680,54 @@ function mergeDbxInjectionComponentConfigs(configs) {
|
|
|
7750
7680
|
function mergeStaticProviders(...providers) {
|
|
7751
7681
|
return flattenArrayOrValueArray(providers);
|
|
7752
7682
|
}
|
|
7683
|
+
/**
|
|
7684
|
+
* Builds an element injector from a {@link DbxInjectionComponentConfig},
|
|
7685
|
+
* merging the config's providers and {@link DBX_INJECTION_COMPONENT_DATA} into a child injector.
|
|
7686
|
+
*
|
|
7687
|
+
* Returns the config's injector (or parent) unchanged if no providers or data are specified.
|
|
7688
|
+
*
|
|
7689
|
+
* @param params - The config and parent injector to build from.
|
|
7690
|
+
* @returns A child {@link Injector} with the config's providers and data, or the parent injector if none are specified.
|
|
7691
|
+
*
|
|
7692
|
+
* @example
|
|
7693
|
+
* ```typescript
|
|
7694
|
+
* const injector = createInjectorForInjectionComponentConfig({
|
|
7695
|
+
* config: { componentClass: MyComponent, data: { id: 1 }, providers: [myProvider] },
|
|
7696
|
+
* parentInjector: this._injector
|
|
7697
|
+
* });
|
|
7698
|
+
* ```
|
|
7699
|
+
*/
|
|
7700
|
+
function createInjectorForInjectionComponentConfig(params) {
|
|
7701
|
+
const { config, parentInjector } = params;
|
|
7702
|
+
const { injector: inputInjector, providers, data } = config;
|
|
7703
|
+
const parent = inputInjector ?? parentInjector;
|
|
7704
|
+
if (!providers && data == null) {
|
|
7705
|
+
return parent;
|
|
7706
|
+
}
|
|
7707
|
+
return Injector.create({
|
|
7708
|
+
parent,
|
|
7709
|
+
providers: mergeStaticProviders({ provide: DBX_INJECTION_COMPONENT_DATA, useValue: data }, providers)
|
|
7710
|
+
});
|
|
7711
|
+
}
|
|
7712
|
+
/**
|
|
7713
|
+
* Runs the init callback from a {@link DbxInjectionComponentConfig} on the given component ref,
|
|
7714
|
+
* executing within the component's injection context so that `inject()` is available inside the callback.
|
|
7715
|
+
*
|
|
7716
|
+
* @param componentRef - The component reference whose instance will be passed to the init callback.
|
|
7717
|
+
* @param config - The injection component config containing the optional init callback.
|
|
7718
|
+
*
|
|
7719
|
+
* @example
|
|
7720
|
+
* ```typescript
|
|
7721
|
+
* const ref = viewContainerRef.createComponent(config.componentClass, { injector });
|
|
7722
|
+
* initInjectionComponent(ref, config);
|
|
7723
|
+
* ```
|
|
7724
|
+
*/
|
|
7725
|
+
function initInjectionComponent(componentRef, config) {
|
|
7726
|
+
const { init } = config;
|
|
7727
|
+
if (init) {
|
|
7728
|
+
runInInjectionContext(componentRef.injector, () => init(componentRef.instance));
|
|
7729
|
+
}
|
|
7730
|
+
}
|
|
7753
7731
|
|
|
7754
7732
|
/**
|
|
7755
7733
|
* Core runtime engine for the dbx-injection system. Manages the lifecycle of dynamically injected
|
|
@@ -7811,15 +7789,7 @@ class DbxInjectionInstance {
|
|
|
7811
7789
|
// Wait until the first of either of the two inputs comes in as not defined, and then emit.
|
|
7812
7790
|
// We filter the first maybe here between the two items.
|
|
7813
7791
|
const configTemplateObs = combineLatest([this.config$, this.template$]).pipe(map(([config, template]) => {
|
|
7814
|
-
|
|
7815
|
-
return {
|
|
7816
|
-
config,
|
|
7817
|
-
template
|
|
7818
|
-
};
|
|
7819
|
-
}
|
|
7820
|
-
else {
|
|
7821
|
-
return undefined;
|
|
7822
|
-
}
|
|
7792
|
+
return config || template ? { config, template } : undefined;
|
|
7823
7793
|
}), skipAllInitialMaybe());
|
|
7824
7794
|
this._subscriptionObject.subscription = combineLatest([configTemplateObs, this.content$]).subscribe(([inputConfig, content]) => {
|
|
7825
7795
|
const { config, template } = inputConfig ?? {};
|
|
@@ -7841,27 +7811,13 @@ class DbxInjectionInstance {
|
|
|
7841
7811
|
}
|
|
7842
7812
|
_initComponent(config, content) {
|
|
7843
7813
|
content.clear();
|
|
7844
|
-
const {
|
|
7814
|
+
const { componentClass, ngModuleRef } = config;
|
|
7845
7815
|
if (!componentClass) {
|
|
7846
7816
|
throw new Error('DbxInjectionInstance: componentClass was expected in the config but it was unavailable.');
|
|
7847
7817
|
}
|
|
7848
|
-
const
|
|
7849
|
-
let injector = parentInjector;
|
|
7850
|
-
if (providers || data) {
|
|
7851
|
-
const dataProvider = {
|
|
7852
|
-
provide: DBX_INJECTION_COMPONENT_DATA,
|
|
7853
|
-
useValue: data
|
|
7854
|
-
};
|
|
7855
|
-
injector = Injector.create({
|
|
7856
|
-
parent: parentInjector,
|
|
7857
|
-
providers: mergeStaticProviders(dataProvider, providers)
|
|
7858
|
-
});
|
|
7859
|
-
}
|
|
7818
|
+
const injector = createInjectorForInjectionComponentConfig({ config, parentInjector: this._injector });
|
|
7860
7819
|
const componentRef = content.createComponent(componentClass, { injector, ngModuleRef });
|
|
7861
|
-
|
|
7862
|
-
if (init) {
|
|
7863
|
-
runInInjectionContext(componentRef.injector, () => init(instance));
|
|
7864
|
-
}
|
|
7820
|
+
initInjectionComponent(componentRef, config);
|
|
7865
7821
|
this.componentRef = componentRef;
|
|
7866
7822
|
}
|
|
7867
7823
|
_initTemplate(config, content) {
|
|
@@ -7927,10 +7883,10 @@ class AbstractDbxInjectionDirective {
|
|
|
7927
7883
|
setContent(content) {
|
|
7928
7884
|
this._instance.content = content;
|
|
7929
7885
|
}
|
|
7930
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7931
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
7886
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxInjectionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7887
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: AbstractDbxInjectionDirective, isStandalone: true, ngImport: i0 });
|
|
7932
7888
|
}
|
|
7933
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7889
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractDbxInjectionDirective, decorators: [{
|
|
7934
7890
|
type: Directive
|
|
7935
7891
|
}] });
|
|
7936
7892
|
|
|
@@ -7980,12 +7936,12 @@ class DbxInjectionComponent extends AbstractDbxInjectionDirective {
|
|
|
7980
7936
|
_contentEffect = effect(() => this.setContent(this.content()), ...(ngDevMode ? [{ debugName: "_contentEffect" }] : /* istanbul ignore next */ []));
|
|
7981
7937
|
_configEffect = effect(() => this.setConfig(this.config()), ...(ngDevMode ? [{ debugName: "_configEffect" }] : /* istanbul ignore next */ []));
|
|
7982
7938
|
_templateEffect = effect(() => this.setTemplate(this.template()), ...(ngDevMode ? [{ debugName: "_templateEffect" }] : /* istanbul ignore next */ []));
|
|
7983
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7984
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.
|
|
7939
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxInjectionComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
7940
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.4", type: DbxInjectionComponent, isStandalone: true, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: { config: { classPropertyName: "config", publicName: "config", isSignal: true, isRequired: false, transformFunction: null }, template: { classPropertyName: "template", publicName: "template", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true, read: ViewContainerRef, isSignal: true }], usesInheritance: true, ngImport: i0, template: `
|
|
7985
7941
|
<ng-template #content></ng-template>
|
|
7986
7942
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
7987
7943
|
}
|
|
7988
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7944
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxInjectionComponent, decorators: [{
|
|
7989
7945
|
type: Component,
|
|
7990
7946
|
args: [{
|
|
7991
7947
|
selector: 'dbx-injection, [dbxInjection], [dbx-injection]',
|
|
@@ -8026,14 +7982,14 @@ class DbxInjectionArrayComponent {
|
|
|
8026
7982
|
* The array of keyed injection entries to render. Each entry produces a `<dbx-injection>` component.
|
|
8027
7983
|
*/
|
|
8028
7984
|
entries = input(undefined, ...(ngDevMode ? [{ debugName: "entries" }] : /* istanbul ignore next */ []));
|
|
8029
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
8030
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
7985
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxInjectionArrayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7986
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: DbxInjectionArrayComponent, isStandalone: true, selector: "dbx-injection-array", inputs: { entries: { classPropertyName: "entries", publicName: "entries", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
8031
7987
|
@for (entry of entries(); track entry.key) {
|
|
8032
7988
|
<dbx-injection [config]="entry.injectionConfig"></dbx-injection>
|
|
8033
7989
|
}
|
|
8034
7990
|
`, isInline: true, dependencies: [{ kind: "component", type: DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
8035
7991
|
}
|
|
8036
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7992
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxInjectionArrayComponent, decorators: [{
|
|
8037
7993
|
type: Component,
|
|
8038
7994
|
args: [{
|
|
8039
7995
|
selector: 'dbx-injection-array',
|
|
@@ -8200,12 +8156,7 @@ class DbxInjectionContextDirective {
|
|
|
8200
8156
|
// clear the current promise
|
|
8201
8157
|
this._currentPromise = undefined;
|
|
8202
8158
|
}
|
|
8203
|
-
|
|
8204
|
-
return Promise.reject(error);
|
|
8205
|
-
}
|
|
8206
|
-
else {
|
|
8207
|
-
return result;
|
|
8208
|
-
}
|
|
8159
|
+
return error != null ? Promise.reject(error) : result;
|
|
8209
8160
|
}
|
|
8210
8161
|
/**
|
|
8211
8162
|
* {@inheritDoc DbxInjectionContext.resetContext}
|
|
@@ -8252,10 +8203,10 @@ class DbxInjectionContextDirective {
|
|
|
8252
8203
|
this._isDetached = false;
|
|
8253
8204
|
}
|
|
8254
8205
|
}
|
|
8255
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
8256
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
8206
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxInjectionContextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
8207
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: DbxInjectionContextDirective, isStandalone: true, selector: "[dbxInjectionContext]", inputs: { config: { classPropertyName: "config", publicName: "config", isSignal: true, isRequired: false, transformFunction: null } }, providers: provideDbxInjectionContext(DbxInjectionContextDirective), ngImport: i0 });
|
|
8257
8208
|
}
|
|
8258
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
8209
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: DbxInjectionContextDirective, decorators: [{
|
|
8259
8210
|
type: Directive,
|
|
8260
8211
|
args: [{
|
|
8261
8212
|
selector: '[dbxInjectionContext]',
|
|
@@ -8304,10 +8255,10 @@ class AbstractForwardDbxInjectionContextDirective {
|
|
|
8304
8255
|
resetContext() {
|
|
8305
8256
|
return this.dbxInjectionContext.resetContext();
|
|
8306
8257
|
}
|
|
8307
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
8308
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
8258
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractForwardDbxInjectionContextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
8259
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: AbstractForwardDbxInjectionContextDirective, isStandalone: true, ngImport: i0 });
|
|
8309
8260
|
}
|
|
8310
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
8261
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AbstractForwardDbxInjectionContextDirective, decorators: [{
|
|
8311
8262
|
type: Directive
|
|
8312
8263
|
}] });
|
|
8313
8264
|
|
|
@@ -8342,13 +8293,8 @@ function switchMapDbxInjectionComponentConfig(defaultConfig) {
|
|
|
8342
8293
|
return switchMapObject({
|
|
8343
8294
|
defaultGetter: () => {
|
|
8344
8295
|
const value = defaultAsGetter();
|
|
8345
|
-
if
|
|
8346
|
-
|
|
8347
|
-
return { componentClass: value };
|
|
8348
|
-
}
|
|
8349
|
-
else {
|
|
8350
|
-
return value;
|
|
8351
|
-
}
|
|
8296
|
+
// if value is a function, it is a component class
|
|
8297
|
+
return typeof value === 'function' ? { componentClass: value } : value;
|
|
8352
8298
|
}
|
|
8353
8299
|
});
|
|
8354
8300
|
}
|
|
@@ -8446,10 +8392,10 @@ class LockSetComponentStore extends ComponentStore {
|
|
|
8446
8392
|
_destroyNow() {
|
|
8447
8393
|
this.lockSet.destroy();
|
|
8448
8394
|
}
|
|
8449
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
8450
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
8395
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: LockSetComponentStore, deps: [{ token: null, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8396
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: LockSetComponentStore });
|
|
8451
8397
|
}
|
|
8452
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
8398
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: LockSetComponentStore, decorators: [{
|
|
8453
8399
|
type: Injectable
|
|
8454
8400
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
8455
8401
|
type: Inject,
|
|
@@ -8583,10 +8529,11 @@ class SimpleStorageAccessor {
|
|
|
8583
8529
|
get(inputKey) {
|
|
8584
8530
|
const storeKey = this.makeStorageKey(inputKey);
|
|
8585
8531
|
return this._delegate.get(storeKey).pipe(map((storedData) => {
|
|
8532
|
+
let result;
|
|
8586
8533
|
if (storedData) {
|
|
8587
8534
|
const readStoredData = this.readStoredData(storedData);
|
|
8588
8535
|
if (!readStoredData.expired) {
|
|
8589
|
-
|
|
8536
|
+
result = readStoredData.convertedData;
|
|
8590
8537
|
}
|
|
8591
8538
|
else {
|
|
8592
8539
|
throw new DataIsExpiredError(readStoredData);
|
|
@@ -8595,6 +8542,7 @@ class SimpleStorageAccessor {
|
|
|
8595
8542
|
else {
|
|
8596
8543
|
throw new DataDoesNotExistError();
|
|
8597
8544
|
}
|
|
8545
|
+
return result;
|
|
8598
8546
|
}));
|
|
8599
8547
|
}
|
|
8600
8548
|
set(inputKey, inputValue) {
|
|
@@ -8612,12 +8560,8 @@ class SimpleStorageAccessor {
|
|
|
8612
8560
|
return allStoredData
|
|
8613
8561
|
.map((storedData) => {
|
|
8614
8562
|
const readStoredData = this.readStoredData(storedData);
|
|
8615
|
-
|
|
8616
|
-
|
|
8617
|
-
}
|
|
8618
|
-
else {
|
|
8619
|
-
return null;
|
|
8620
|
-
}
|
|
8563
|
+
const result = !readStoredData.expired ? readStoredData.convertedData : null;
|
|
8564
|
+
return result;
|
|
8621
8565
|
})
|
|
8622
8566
|
.filter(hasNonNullValue);
|
|
8623
8567
|
}));
|
|
@@ -8647,15 +8591,19 @@ class SimpleStorageAccessor {
|
|
|
8647
8591
|
}
|
|
8648
8592
|
isExpiredStoredData(storeData) {
|
|
8649
8593
|
const expiresIn = this._config.expiresIn;
|
|
8594
|
+
let result;
|
|
8650
8595
|
if (expiresIn) {
|
|
8651
8596
|
if (storeData.storedAt) {
|
|
8652
|
-
|
|
8597
|
+
result = isThrottled(expiresIn, storeData.storedAt);
|
|
8598
|
+
}
|
|
8599
|
+
else {
|
|
8600
|
+
result = true;
|
|
8653
8601
|
}
|
|
8654
|
-
return true;
|
|
8655
8602
|
}
|
|
8656
8603
|
else {
|
|
8657
|
-
|
|
8604
|
+
result = false;
|
|
8658
8605
|
}
|
|
8606
|
+
return result;
|
|
8659
8607
|
}
|
|
8660
8608
|
// MARK: Internal
|
|
8661
8609
|
makeStorageKey(key) {
|
|
@@ -8770,10 +8718,10 @@ class SimpleStorageAccessorFactory {
|
|
|
8770
8718
|
};
|
|
8771
8719
|
return new SimpleStorageAccessor(delegate, accessorConfig);
|
|
8772
8720
|
}
|
|
8773
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
8774
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
8721
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SimpleStorageAccessorFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8722
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SimpleStorageAccessorFactory });
|
|
8775
8723
|
}
|
|
8776
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
8724
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SimpleStorageAccessorFactory, decorators: [{
|
|
8777
8725
|
type: Injectable
|
|
8778
8726
|
}] });
|
|
8779
8727
|
|
|
@@ -9086,5 +9034,5 @@ function hasNonTrivialChildNodes(element) {
|
|
|
9086
9034
|
* Generated bundle index. Do not edit.
|
|
9087
9035
|
*/
|
|
9088
9036
|
|
|
9089
|
-
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, 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, 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 };
|
|
9037
|
+
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 };
|
|
9090
9038
|
//# sourceMappingURL=dereekb-dbx-core.mjs.map
|