@dereekb/dbx-core 13.9.0 → 13.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/dereekb-dbx-core.mjs +562 -326
- package/fesm2022/dereekb-dbx-core.mjs.map +1 -1
- package/package.json +15 -14
- package/types/dereekb-dbx-core.d.ts +276 -44
|
@@ -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.10", ngImport: i0, type: DbxCoreAssetLoader, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
71
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.10", 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.10", ngImport: i0, type: DbxCoreAssetLoader, decorators: [{
|
|
74
74
|
type: Injectable
|
|
75
75
|
}] });
|
|
76
76
|
|
|
@@ -555,6 +555,11 @@ class DbxActionContextStoreSourceInstance {
|
|
|
555
555
|
*
|
|
556
556
|
* Can be disabled by setting `dbxActionAutoModify` to `false`.
|
|
557
557
|
*
|
|
558
|
+
* @dbxAction
|
|
559
|
+
* @dbxActionSlug auto-modify
|
|
560
|
+
* @dbxActionStateInteraction IDLE
|
|
561
|
+
* @dbxActionConsumesContext
|
|
562
|
+
*
|
|
558
563
|
* @example
|
|
559
564
|
* ```html
|
|
560
565
|
* <div dbxAction>
|
|
@@ -589,10 +594,10 @@ class DbxActionAutoModifyDirective {
|
|
|
589
594
|
})
|
|
590
595
|
});
|
|
591
596
|
}
|
|
592
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
593
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
597
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionAutoModifyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
598
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.10", type: DbxActionAutoModifyDirective, isStandalone: true, selector: "dbxActionAutoModify, [dbxActionAutoModify]", inputs: { autoModifyEnabled: { classPropertyName: "autoModifyEnabled", publicName: "dbxActionAutoModify", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
594
599
|
}
|
|
595
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
600
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionAutoModifyDirective, decorators: [{
|
|
596
601
|
type: Directive,
|
|
597
602
|
args: [{
|
|
598
603
|
selector: 'dbxActionAutoModify, [dbxActionAutoModify]',
|
|
@@ -616,6 +621,11 @@ const DBX_ACTION_AUTO_TRIGGER_INSTANT_TRIGGER_DEBOUNCE = 10;
|
|
|
616
621
|
* Useful for auto-save scenarios where data changes should automatically submit without
|
|
617
622
|
* requiring an explicit user action. Use with care to avoid triggering loops.
|
|
618
623
|
*
|
|
624
|
+
* @dbxAction
|
|
625
|
+
* @dbxActionSlug auto-trigger
|
|
626
|
+
* @dbxActionStateInteraction IDLE, TRIGGERED
|
|
627
|
+
* @dbxActionConsumesContext
|
|
628
|
+
*
|
|
619
629
|
* @example
|
|
620
630
|
* ```html
|
|
621
631
|
* <div dbxAction>
|
|
@@ -719,10 +729,10 @@ class DbxActionAutoTriggerDirective {
|
|
|
719
729
|
})
|
|
720
730
|
});
|
|
721
731
|
}
|
|
722
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
723
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
732
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionAutoTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
733
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.10", type: DbxActionAutoTriggerDirective, isStandalone: true, selector: "dbxActionAutoTrigger,[dbxActionAutoTrigger]", inputs: { triggerDebounce: { classPropertyName: "triggerDebounce", publicName: "triggerDebounce", isSignal: true, isRequired: false, transformFunction: null }, triggerThrottle: { classPropertyName: "triggerThrottle", publicName: "triggerThrottle", isSignal: true, isRequired: false, transformFunction: null }, triggerErrorThrottle: { classPropertyName: "triggerErrorThrottle", publicName: "triggerErrorThrottle", isSignal: true, isRequired: false, transformFunction: null }, maxErrorsForThrottle: { classPropertyName: "maxErrorsForThrottle", publicName: "maxErrorsForThrottle", isSignal: true, isRequired: false, transformFunction: null }, triggerLimit: { classPropertyName: "triggerLimit", publicName: "triggerLimit", isSignal: true, isRequired: false, transformFunction: null }, triggerEnabled: { classPropertyName: "triggerEnabled", publicName: "dbxActionAutoTrigger", isSignal: true, isRequired: false, transformFunction: null }, useFastTriggerPreset: { classPropertyName: "useFastTriggerPreset", publicName: "useFastTriggerPreset", isSignal: true, isRequired: false, transformFunction: null }, useInstantTriggerPreset: { classPropertyName: "useInstantTriggerPreset", publicName: "useInstantTriggerPreset", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
724
734
|
}
|
|
725
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
735
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionAutoTriggerDirective, decorators: [{
|
|
726
736
|
type: Directive,
|
|
727
737
|
args: [{
|
|
728
738
|
selector: 'dbxActionAutoTrigger,[dbxActionAutoTrigger]',
|
|
@@ -770,7 +780,7 @@ class DbxActionWorkInstanceDelegate {
|
|
|
770
780
|
* @returns The working progress value.
|
|
771
781
|
*/
|
|
772
782
|
function dbxActionWorkProgress(workOrWorkProgress, progressPercent) {
|
|
773
|
-
const workingValue = workOrWorkProgress.reduce((acc, val) => acc ?? val);
|
|
783
|
+
const workingValue = workOrWorkProgress.reduce((acc, val) => acc ?? val, undefined);
|
|
774
784
|
const isWorking = workingValue != null && workingValue !== false;
|
|
775
785
|
let workingProgress;
|
|
776
786
|
if (isWorking) {
|
|
@@ -788,39 +798,62 @@ function dbxActionWorkProgress(workOrWorkProgress, progressPercent) {
|
|
|
788
798
|
}
|
|
789
799
|
/**
|
|
790
800
|
* Used by ActionContextState to denote what state the action is in.
|
|
801
|
+
*
|
|
802
|
+
* @dbxActionStateEnum
|
|
791
803
|
*/
|
|
792
804
|
var DbxActionState;
|
|
793
805
|
(function (DbxActionState) {
|
|
794
806
|
/**
|
|
795
807
|
* No action in progress. Waiting for the trigger.
|
|
808
|
+
*
|
|
809
|
+
* @dbxActionStateTransitionsFrom RESOLVED, REJECTED, DISABLED
|
|
810
|
+
* @dbxActionStateTransitionsTo TRIGGERED, DISABLED
|
|
796
811
|
*/
|
|
797
812
|
DbxActionState["IDLE"] = "idle";
|
|
798
813
|
/**
|
|
799
814
|
* Idle state that can be set to show that the source is not yet ready.
|
|
815
|
+
*
|
|
816
|
+
* @dbxActionStateTransitionsFrom IDLE, RESOLVED, REJECTED
|
|
817
|
+
* @dbxActionStateTransitionsTo IDLE
|
|
800
818
|
*/
|
|
801
819
|
DbxActionState["DISABLED"] = "disabled";
|
|
802
820
|
/**
|
|
803
821
|
* The action was triggered. We wait (and allow) the value to be updated.
|
|
822
|
+
*
|
|
823
|
+
* @dbxActionStateTransitionsFrom IDLE
|
|
824
|
+
* @dbxActionStateTransitionsTo VALUE_READY
|
|
804
825
|
*/
|
|
805
826
|
DbxActionState["TRIGGERED"] = "triggered";
|
|
806
827
|
/**
|
|
807
828
|
* The trigger was accepted and the value is updated. It should begin working immediately.
|
|
808
829
|
*
|
|
809
830
|
* ValueReady cannot be set until triggered is set.
|
|
831
|
+
*
|
|
832
|
+
* @dbxActionStateTransitionsFrom TRIGGERED
|
|
833
|
+
* @dbxActionStateTransitionsTo WORKING
|
|
810
834
|
*/
|
|
811
835
|
DbxActionState["VALUE_READY"] = "valueReady";
|
|
812
836
|
/**
|
|
813
837
|
* The action is in progress.
|
|
838
|
+
*
|
|
839
|
+
* @dbxActionStateTransitionsFrom VALUE_READY
|
|
840
|
+
* @dbxActionStateTransitionsTo RESOLVED, REJECTED
|
|
814
841
|
*/
|
|
815
842
|
DbxActionState["WORKING"] = "working";
|
|
816
843
|
/**
|
|
817
844
|
* The trigger, action, or value was rejected due to an error or other issue.
|
|
818
845
|
*
|
|
819
846
|
* An error may be specified optionally.
|
|
847
|
+
*
|
|
848
|
+
* @dbxActionStateTransitionsFrom WORKING
|
|
849
|
+
* @dbxActionStateTransitionsTo IDLE, DISABLED
|
|
820
850
|
*/
|
|
821
851
|
DbxActionState["REJECTED"] = "rejected";
|
|
822
852
|
/**
|
|
823
853
|
* The action resolved without issue.
|
|
854
|
+
*
|
|
855
|
+
* @dbxActionStateTransitionsFrom WORKING
|
|
856
|
+
* @dbxActionStateTransitionsTo IDLE, DISABLED
|
|
824
857
|
*/
|
|
825
858
|
DbxActionState["RESOLVED"] = "resolved";
|
|
826
859
|
})(DbxActionState || (DbxActionState = {}));
|
|
@@ -1010,7 +1043,7 @@ function loadingStateForActionContextState(state) {
|
|
|
1010
1043
|
case DbxActionState.TRIGGERED:
|
|
1011
1044
|
case DbxActionState.VALUE_READY:
|
|
1012
1045
|
case DbxActionState.WORKING:
|
|
1013
|
-
loadingState = beginLoading(state.workProgress
|
|
1046
|
+
loadingState = beginLoading(state.workProgress == null ? undefined : { loadingProgress: state.workProgress });
|
|
1014
1047
|
break;
|
|
1015
1048
|
}
|
|
1016
1049
|
return loadingState;
|
|
@@ -1051,6 +1084,13 @@ const ACTION_CONTEXT_STORE_LOCKSET_DESTROY_DELAY_TIME = 2000;
|
|
|
1051
1084
|
* IDLE/DISABLED -> TRIGGERED -> VALUE_READY -> WORKING -> RESOLVED | REJECTED
|
|
1052
1085
|
* ```
|
|
1053
1086
|
*
|
|
1087
|
+
* @dbxAction
|
|
1088
|
+
* @dbxActionSlug action-context-store
|
|
1089
|
+
* @dbxActionRole store
|
|
1090
|
+
* @dbxActionDisabledKey dbx_action_disabled
|
|
1091
|
+
* @dbxActionDisabledKey dbx_action_enforce_modified
|
|
1092
|
+
* @dbxActionSkillRefs dbx__ref__dbx-component-patterns
|
|
1093
|
+
*
|
|
1054
1094
|
* @typeParam T - The input value type provided after triggering.
|
|
1055
1095
|
* @typeParam O - The output result type produced on resolution.
|
|
1056
1096
|
*
|
|
@@ -1269,10 +1309,10 @@ class ActionContextStore extends ComponentStore {
|
|
|
1269
1309
|
// do not call super.destroy here, to keep the component store from destroying itself.
|
|
1270
1310
|
// the lockset is configured to cleanup the component store.
|
|
1271
1311
|
}
|
|
1272
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1273
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
1312
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: ActionContextStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1313
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: ActionContextStore });
|
|
1274
1314
|
}
|
|
1275
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1315
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: ActionContextStore, decorators: [{
|
|
1276
1316
|
type: Injectable
|
|
1277
1317
|
}], ctorParameters: () => [] });
|
|
1278
1318
|
function updateIsSameOnActionContextState(state, isSame) {
|
|
@@ -1430,10 +1470,10 @@ class DbxActionContextMachineAsService extends DbxActionContextMachine {
|
|
|
1430
1470
|
});
|
|
1431
1471
|
clean(() => this.destroy());
|
|
1432
1472
|
}
|
|
1433
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1434
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
1473
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionContextMachineAsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1474
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionContextMachineAsService });
|
|
1435
1475
|
}
|
|
1436
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1476
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionContextMachineAsService, decorators: [{
|
|
1437
1477
|
type: Injectable
|
|
1438
1478
|
}], ctorParameters: () => [] });
|
|
1439
1479
|
|
|
@@ -1504,6 +1544,11 @@ function provideSecondaryActionStoreSource(sourceType) {
|
|
|
1504
1544
|
* On destruction, the directive coordinates cleanup through a {@link LockSet} to ensure
|
|
1505
1545
|
* in-flight operations complete before the store is torn down.
|
|
1506
1546
|
*
|
|
1547
|
+
* @dbxAction
|
|
1548
|
+
* @dbxActionSlug action
|
|
1549
|
+
* @dbxActionStateInteraction IDLE
|
|
1550
|
+
* @dbxActionProducesContext
|
|
1551
|
+
*
|
|
1507
1552
|
* @example
|
|
1508
1553
|
* ```html
|
|
1509
1554
|
* <div dbxAction>
|
|
@@ -1537,10 +1582,10 @@ class DbxActionDirective extends DbxActionContextBaseSource {
|
|
|
1537
1582
|
});
|
|
1538
1583
|
});
|
|
1539
1584
|
}
|
|
1540
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1541
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
1585
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1586
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.10", type: DbxActionDirective, isStandalone: true, selector: "dbx-action,[dbxAction]", providers: provideActionStoreSource(DbxActionDirective), exportAs: ["action", "dbxAction"], usesInheritance: true, ngImport: i0 });
|
|
1542
1587
|
}
|
|
1543
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1588
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionDirective, decorators: [{
|
|
1544
1589
|
type: Directive,
|
|
1545
1590
|
args: [{
|
|
1546
1591
|
selector: 'dbx-action,[dbxAction]',
|
|
@@ -1558,6 +1603,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
1558
1603
|
* This is useful when an action context is created programmatically (e.g., via
|
|
1559
1604
|
* {@link DbxActionContextMachine}) and needs to be shared with template-based directives.
|
|
1560
1605
|
*
|
|
1606
|
+
* @dbxAction
|
|
1607
|
+
* @dbxActionSlug source
|
|
1608
|
+
*
|
|
1561
1609
|
* @example
|
|
1562
1610
|
* ```html
|
|
1563
1611
|
* <!-- Forward a programmatic action source to template directives -->
|
|
@@ -1574,10 +1622,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
1574
1622
|
class DbxActionSourceDirective {
|
|
1575
1623
|
dbxActionSource = input(...(ngDevMode ? [undefined, { debugName: "dbxActionSource" }] : /* istanbul ignore next */ []));
|
|
1576
1624
|
store$ = toObservable(this.dbxActionSource).pipe(filterMaybe(), switchMap((x) => actionContextStoreSourcePipe(x.store$)));
|
|
1577
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1578
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
1625
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionSourceDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1626
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.10", type: DbxActionSourceDirective, isStandalone: true, selector: "[dbxActionSource]", inputs: { dbxActionSource: { classPropertyName: "dbxActionSource", publicName: "dbxActionSource", isSignal: true, isRequired: false, transformFunction: null } }, providers: provideSecondaryActionStoreSource(DbxActionSourceDirective), ngImport: i0 });
|
|
1579
1627
|
}
|
|
1580
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1628
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionSourceDirective, decorators: [{
|
|
1581
1629
|
type: Directive,
|
|
1582
1630
|
args: [{
|
|
1583
1631
|
selector: '[dbxActionSource]',
|
|
@@ -1592,6 +1640,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
1592
1640
|
* Subscribes to the parent action's full state stream and prints each state snapshot
|
|
1593
1641
|
* via `console.log`. Useful during development to inspect the action lifecycle transitions.
|
|
1594
1642
|
*
|
|
1643
|
+
* @dbxAction
|
|
1644
|
+
* @dbxActionSlug logger
|
|
1645
|
+
* @dbxActionStateInteraction IDLE, TRIGGERED, VALUE_READY, WORKING, RESOLVED, REJECTED, DISABLED
|
|
1646
|
+
* @dbxActionConsumesContext
|
|
1647
|
+
*
|
|
1595
1648
|
* @example
|
|
1596
1649
|
* ```html
|
|
1597
1650
|
* <div dbxAction>
|
|
@@ -1610,10 +1663,10 @@ class DbxActionContextLoggerDirective {
|
|
|
1610
1663
|
})
|
|
1611
1664
|
});
|
|
1612
1665
|
}
|
|
1613
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1614
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
1666
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionContextLoggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1667
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.10", type: DbxActionContextLoggerDirective, isStandalone: true, selector: "[dbxActionLogger],[dbxActionContextLogger]", ngImport: i0 });
|
|
1615
1668
|
}
|
|
1616
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1669
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionContextLoggerDirective, decorators: [{
|
|
1617
1670
|
type: Directive,
|
|
1618
1671
|
args: [{
|
|
1619
1672
|
selector: '[dbxActionLogger],[dbxActionContextLogger]',
|
|
@@ -1697,6 +1750,9 @@ function actionContextStoreSourceMap() {
|
|
|
1697
1750
|
*
|
|
1698
1751
|
* The map is exported as `actionMap` for template reference access.
|
|
1699
1752
|
*
|
|
1753
|
+
* @dbxAction
|
|
1754
|
+
* @dbxActionSlug context-map
|
|
1755
|
+
*
|
|
1700
1756
|
* @example
|
|
1701
1757
|
* ```html
|
|
1702
1758
|
* <div dbxActionContextMap>
|
|
@@ -1714,15 +1770,15 @@ function actionContextStoreSourceMap() {
|
|
|
1714
1770
|
*/
|
|
1715
1771
|
class DbxActionContextMapDirective {
|
|
1716
1772
|
actionContextStoreSourceMap = clean(inject(ActionContextStoreSourceMap));
|
|
1717
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1718
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
1773
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionContextMapDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1774
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.10", type: DbxActionContextMapDirective, isStandalone: true, selector: "[dbxActionContextMap]", providers: [
|
|
1719
1775
|
{
|
|
1720
1776
|
provide: ActionContextStoreSourceMap,
|
|
1721
1777
|
useFactory: actionContextStoreSourceMap
|
|
1722
1778
|
}
|
|
1723
1779
|
], exportAs: ["actionMap"], ngImport: i0 });
|
|
1724
1780
|
}
|
|
1725
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1781
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionContextMapDirective, decorators: [{
|
|
1726
1782
|
type: Directive,
|
|
1727
1783
|
args: [{
|
|
1728
1784
|
selector: '[dbxActionContextMap]',
|
|
@@ -1766,10 +1822,10 @@ class DbxActionFromMapDirective {
|
|
|
1766
1822
|
key = input(undefined, { ...(ngDevMode ? { debugName: "key" } : /* istanbul ignore next */ {}), alias: 'dbxActionFromMap' });
|
|
1767
1823
|
key$ = toObservable(this.key);
|
|
1768
1824
|
store$ = this.key$.pipe(filterMaybe(), switchMap((x) => this._actionContextStoreSourceMap.sourceForKey(x).store$));
|
|
1769
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1770
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
1825
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionFromMapDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1826
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.10", type: DbxActionFromMapDirective, isStandalone: true, selector: "[dbxActionFromMap]", inputs: { key: { classPropertyName: "key", publicName: "dbxActionFromMap", isSignal: true, isRequired: false, transformFunction: null } }, providers: provideSecondaryActionStoreSource(DbxActionFromMapDirective), ngImport: i0 });
|
|
1771
1827
|
}
|
|
1772
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1828
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionFromMapDirective, decorators: [{
|
|
1773
1829
|
type: Directive,
|
|
1774
1830
|
args: [{
|
|
1775
1831
|
selector: '[dbxActionFromMap]',
|
|
@@ -1823,10 +1879,10 @@ class DbxActionMapSourceDirective {
|
|
|
1823
1879
|
this._actionContextStoreSourceMap.removeStoreSource(this._currentKey);
|
|
1824
1880
|
}
|
|
1825
1881
|
}
|
|
1826
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1827
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
1882
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionMapSourceDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1883
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.10", type: DbxActionMapSourceDirective, isStandalone: true, selector: "[dbxActionMapSource]", inputs: { key: { classPropertyName: "key", publicName: "dbxActionMapSource", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
1828
1884
|
}
|
|
1829
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1885
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionMapSourceDirective, decorators: [{
|
|
1830
1886
|
type: Directive,
|
|
1831
1887
|
args: [{
|
|
1832
1888
|
selector: '[dbxActionMapSource]',
|
|
@@ -1915,10 +1971,10 @@ class DbxActionMapWorkingDisableDirective {
|
|
|
1915
1971
|
this.source.enable(this.disabledKey() || DEFAULT_ACTION_MAP_WORKING_DISABLED_KEY);
|
|
1916
1972
|
});
|
|
1917
1973
|
}
|
|
1918
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1919
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
1974
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionMapWorkingDisableDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1975
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.10", type: DbxActionMapWorkingDisableDirective, isStandalone: true, selector: "[dbxActionMapWorkingDisable]", inputs: { disabledKey: { classPropertyName: "disabledKey", publicName: "dbxActionMapWorkingDisable", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
1920
1976
|
}
|
|
1921
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1977
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionMapWorkingDisableDirective, decorators: [{
|
|
1922
1978
|
type: Directive,
|
|
1923
1979
|
args: [{
|
|
1924
1980
|
selector: '[dbxActionMapWorkingDisable]',
|
|
@@ -1939,6 +1995,11 @@ const APP_ACTION_DISABLED_DIRECTIVE_KEY = 'dbx_action_disabled';
|
|
|
1939
1995
|
*
|
|
1940
1996
|
* The disable key is automatically cleaned up on directive destruction.
|
|
1941
1997
|
*
|
|
1998
|
+
* @dbxAction
|
|
1999
|
+
* @dbxActionSlug disabled
|
|
2000
|
+
* @dbxActionStateInteraction DISABLED
|
|
2001
|
+
* @dbxActionConsumesContext
|
|
2002
|
+
*
|
|
1942
2003
|
* @example
|
|
1943
2004
|
* ```html
|
|
1944
2005
|
* <div dbxAction>
|
|
@@ -1963,10 +2024,10 @@ class DbxActionDisabledDirective {
|
|
|
1963
2024
|
}));
|
|
1964
2025
|
clean(() => this.source.enable(APP_ACTION_DISABLED_DIRECTIVE_KEY));
|
|
1965
2026
|
}
|
|
1966
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1967
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
2027
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionDisabledDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2028
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.10", type: DbxActionDisabledDirective, isStandalone: true, selector: "[dbxActionDisabled]", inputs: { disabled: { classPropertyName: "disabled", publicName: "dbxActionDisabled", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
1968
2029
|
}
|
|
1969
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2030
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionDisabledDirective, decorators: [{
|
|
1970
2031
|
type: Directive,
|
|
1971
2032
|
args: [{
|
|
1972
2033
|
selector: '[dbxActionDisabled]',
|
|
@@ -1989,6 +2050,11 @@ const APP_ACTION_DISABLED_ON_SUCCESS_DIRECTIVE_KEY = 'dbx_action_disabled_on_suc
|
|
|
1989
2050
|
*
|
|
1990
2051
|
* The disable key is automatically cleaned up on directive destruction.
|
|
1991
2052
|
*
|
|
2053
|
+
* @dbxAction
|
|
2054
|
+
* @dbxActionSlug disabled-on-success
|
|
2055
|
+
* @dbxActionStateInteraction RESOLVED, DISABLED
|
|
2056
|
+
* @dbxActionConsumesContext
|
|
2057
|
+
*
|
|
1992
2058
|
* @example
|
|
1993
2059
|
* ```html
|
|
1994
2060
|
* <div dbxAction>
|
|
@@ -2013,10 +2079,10 @@ class DbxActionDisabledOnSuccessDirective {
|
|
|
2013
2079
|
}));
|
|
2014
2080
|
clean(() => this.source.enable(APP_ACTION_DISABLED_ON_SUCCESS_DIRECTIVE_KEY));
|
|
2015
2081
|
}
|
|
2016
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2017
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
2082
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionDisabledOnSuccessDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2083
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.10", type: DbxActionDisabledOnSuccessDirective, isStandalone: true, selector: "[dbxActionDisabledOnSuccess]", inputs: { disabledOnSuccess: { classPropertyName: "disabledOnSuccess", publicName: "dbxActionDisabledOnSuccess", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
2018
2084
|
}
|
|
2019
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2085
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionDisabledOnSuccessDirective, decorators: [{
|
|
2020
2086
|
type: Directive,
|
|
2021
2087
|
args: [{
|
|
2022
2088
|
selector: '[dbxActionDisabledOnSuccess]',
|
|
@@ -2121,10 +2187,10 @@ class AbstractDbxActionHandlerDirective {
|
|
|
2121
2187
|
constructor() {
|
|
2122
2188
|
this._dbxActionHandlerInstance.init();
|
|
2123
2189
|
}
|
|
2124
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2125
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
2190
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: AbstractDbxActionHandlerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2191
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.10", type: AbstractDbxActionHandlerDirective, isStandalone: true, ngImport: i0 });
|
|
2126
2192
|
}
|
|
2127
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2193
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: AbstractDbxActionHandlerDirective, decorators: [{
|
|
2128
2194
|
type: Directive
|
|
2129
2195
|
}], ctorParameters: () => [] });
|
|
2130
2196
|
/**
|
|
@@ -2134,6 +2200,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
2134
2200
|
* called with the value and a work context. The work function is responsible for performing
|
|
2135
2201
|
* the async operation and signaling success or failure through the context.
|
|
2136
2202
|
*
|
|
2203
|
+
* @dbxAction
|
|
2204
|
+
* @dbxActionSlug handler
|
|
2205
|
+
* @dbxActionStateInteraction VALUE_READY, WORKING, RESOLVED, REJECTED
|
|
2206
|
+
* @dbxActionConsumesContext
|
|
2207
|
+
* @dbxActionSkillRefs dbx__ref__dbx-component-patterns, dbx__guide__action-analytics
|
|
2208
|
+
*
|
|
2137
2209
|
* @example
|
|
2138
2210
|
* ```html
|
|
2139
2211
|
* <div dbxAction>
|
|
@@ -2152,10 +2224,10 @@ class DbxActionHandlerDirective extends AbstractDbxActionHandlerDirective {
|
|
|
2152
2224
|
_handlerFunctionEffect = effect(() => {
|
|
2153
2225
|
this._dbxActionHandlerInstance.setHandlerFunction(this.handlerFunction());
|
|
2154
2226
|
}, ...(ngDevMode ? [{ debugName: "_handlerFunctionEffect" }] : /* istanbul ignore next */ []));
|
|
2155
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2156
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
2227
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionHandlerDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2228
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.10", type: DbxActionHandlerDirective, isStandalone: true, selector: "[dbxActionHandler]", inputs: { handlerFunction: { classPropertyName: "handlerFunction", publicName: "dbxActionHandler", isSignal: true, isRequired: true, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
2157
2229
|
}
|
|
2158
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2230
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionHandlerDirective, decorators: [{
|
|
2159
2231
|
type: Directive,
|
|
2160
2232
|
args: [{
|
|
2161
2233
|
selector: '[dbxActionHandler]',
|
|
@@ -2169,6 +2241,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
2169
2241
|
* The provided value (or the result of calling the getter/factory) is used directly as the
|
|
2170
2242
|
* action's result, with the working/success lifecycle handled automatically.
|
|
2171
2243
|
*
|
|
2244
|
+
* @dbxAction
|
|
2245
|
+
* @dbxActionSlug handler-value
|
|
2246
|
+
* @dbxActionStateInteraction VALUE_READY, WORKING, RESOLVED
|
|
2247
|
+
* @dbxActionConsumesContext
|
|
2248
|
+
*
|
|
2172
2249
|
* @example
|
|
2173
2250
|
* ```html
|
|
2174
2251
|
* <div dbxAction>
|
|
@@ -2187,10 +2264,10 @@ class DbxActionHandlerValueDirective extends AbstractDbxActionHandlerDirective {
|
|
|
2187
2264
|
_handlerValueEffect = effect(() => {
|
|
2188
2265
|
this._dbxActionHandlerInstance.setHandlerValue(this.handlerValue());
|
|
2189
2266
|
}, ...(ngDevMode ? [{ debugName: "_handlerValueEffect" }] : /* istanbul ignore next */ []));
|
|
2190
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2191
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
2267
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionHandlerValueDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2268
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.10", type: DbxActionHandlerValueDirective, isStandalone: true, selector: "[dbxActionHandlerValue]", inputs: { handlerValue: { classPropertyName: "handlerValue", publicName: "dbxActionHandlerValue", isSignal: true, isRequired: true, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
2192
2269
|
}
|
|
2193
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2270
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionHandlerValueDirective, decorators: [{
|
|
2194
2271
|
type: Directive,
|
|
2195
2272
|
args: [{
|
|
2196
2273
|
selector: '[dbxActionHandlerValue]',
|
|
@@ -2232,10 +2309,10 @@ class AbstractIfDirective {
|
|
|
2232
2309
|
}
|
|
2233
2310
|
});
|
|
2234
2311
|
}
|
|
2235
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2236
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
2312
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: AbstractIfDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2313
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.10", type: AbstractIfDirective, isStandalone: true, ngImport: i0 });
|
|
2237
2314
|
}
|
|
2238
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2315
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: AbstractIfDirective, decorators: [{
|
|
2239
2316
|
type: Directive
|
|
2240
2317
|
}] });
|
|
2241
2318
|
|
|
@@ -2290,10 +2367,10 @@ class DbxActionIdleDirective extends AbstractIfDirective {
|
|
|
2290
2367
|
show$ = this._store.idle$.pipe(exhaustMap((idle) => {
|
|
2291
2368
|
return idle ? emitDelayObs(true, false, this.hideAfter()) : of(false);
|
|
2292
2369
|
}), shareReplay(1));
|
|
2293
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2294
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
2370
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionIdleDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2371
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.10", type: DbxActionIdleDirective, isStandalone: true, selector: "[dbxActionIdle]", inputs: { hideAfter: { classPropertyName: "hideAfter", publicName: "dbxActionIdle", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
2295
2372
|
}
|
|
2296
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2373
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionIdleDirective, decorators: [{
|
|
2297
2374
|
type: Directive,
|
|
2298
2375
|
args: [{
|
|
2299
2376
|
selector: '[dbxActionIdle]',
|
|
@@ -2333,10 +2410,10 @@ class DbxActionPreSuccessDirective extends AbstractIfDirective {
|
|
|
2333
2410
|
show$ = this._store.isSuccess$.pipe(exhaustMap((success) => {
|
|
2334
2411
|
return success ? emitDelayObs(false, true, this.hideFor()) : of(true);
|
|
2335
2412
|
}), shareReplay(1));
|
|
2336
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2337
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
2413
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionPreSuccessDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2414
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.10", type: DbxActionPreSuccessDirective, isStandalone: true, selector: "[dbxActionPreSuccess]", inputs: { hideFor: { classPropertyName: "hideFor", publicName: "dbxActionPreSuccess", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
2338
2415
|
}
|
|
2339
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2416
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionPreSuccessDirective, decorators: [{
|
|
2340
2417
|
type: Directive,
|
|
2341
2418
|
args: [{
|
|
2342
2419
|
selector: '[dbxActionPreSuccess]',
|
|
@@ -2374,10 +2451,10 @@ class DbxActionHasSuccessDirective extends AbstractIfDirective {
|
|
|
2374
2451
|
show$ = this._store.isSuccess$.pipe(exhaustMap((success) => {
|
|
2375
2452
|
return success ? emitDelayObs(true, false, this.hideAfter()) : of(false);
|
|
2376
2453
|
}), shareReplay(1));
|
|
2377
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2378
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
2454
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionHasSuccessDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2455
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.10", type: DbxActionHasSuccessDirective, isStandalone: true, selector: "[dbxActionHasSuccess]", inputs: { hideAfter: { classPropertyName: "hideAfter", publicName: "dbxActionHasSuccess", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
2379
2456
|
}
|
|
2380
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2457
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionHasSuccessDirective, decorators: [{
|
|
2381
2458
|
type: Directive,
|
|
2382
2459
|
args: [{
|
|
2383
2460
|
selector: '[dbxActionHasSuccess]',
|
|
@@ -2420,10 +2497,10 @@ class DbxActionSuccessHandlerDirective {
|
|
|
2420
2497
|
.subscribe()
|
|
2421
2498
|
});
|
|
2422
2499
|
}
|
|
2423
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2424
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
2500
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionSuccessHandlerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2501
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.10", type: DbxActionSuccessHandlerDirective, isStandalone: true, selector: "[dbxActionSuccessHandler]", inputs: { dbxActionSuccessHandler: { classPropertyName: "dbxActionSuccessHandler", publicName: "dbxActionSuccessHandler", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
2425
2502
|
}
|
|
2426
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2503
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionSuccessHandlerDirective, decorators: [{
|
|
2427
2504
|
type: Directive,
|
|
2428
2505
|
args: [{
|
|
2429
2506
|
selector: '[dbxActionSuccessHandler]',
|
|
@@ -2438,6 +2515,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
2438
2515
|
* This is useful for performing side effects like logging, showing error toasts, or
|
|
2439
2516
|
* handling specific error conditions programmatically.
|
|
2440
2517
|
*
|
|
2518
|
+
* @dbxAction
|
|
2519
|
+
* @dbxActionSlug error-handler
|
|
2520
|
+
* @dbxActionStateInteraction REJECTED
|
|
2521
|
+
* @dbxActionConsumesContext
|
|
2522
|
+
*
|
|
2441
2523
|
* @example
|
|
2442
2524
|
* ```html
|
|
2443
2525
|
* <div dbxAction>
|
|
@@ -2465,10 +2547,10 @@ class DbxActionErrorHandlerDirective {
|
|
|
2465
2547
|
.subscribe()
|
|
2466
2548
|
});
|
|
2467
2549
|
}
|
|
2468
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2469
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
2550
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionErrorHandlerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2551
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.10", type: DbxActionErrorHandlerDirective, isStandalone: true, selector: "[dbxActionErrorHandler]", inputs: { dbxActionErrorHandler: { classPropertyName: "dbxActionErrorHandler", publicName: "dbxActionErrorHandler", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
2470
2552
|
}
|
|
2471
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2553
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionErrorHandlerDirective, decorators: [{
|
|
2472
2554
|
type: Directive,
|
|
2473
2555
|
args: [{
|
|
2474
2556
|
selector: '[dbxActionErrorHandler]',
|
|
@@ -2486,6 +2568,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
2486
2568
|
* The input filters out null/undefined values, waiting until a non-null value is provided.
|
|
2487
2569
|
* If you need to pass null/undefined as valid action values, use {@link DbxActionValueTriggerDirective} instead.
|
|
2488
2570
|
*
|
|
2571
|
+
* @dbxAction
|
|
2572
|
+
* @dbxActionSlug value
|
|
2573
|
+
* @dbxActionStateInteraction TRIGGERED, VALUE_READY
|
|
2574
|
+
* @dbxActionConsumesContext
|
|
2575
|
+
*
|
|
2489
2576
|
* @example
|
|
2490
2577
|
* ```html
|
|
2491
2578
|
* <div dbxAction>
|
|
@@ -2526,10 +2613,10 @@ class DbxActionValueDirective {
|
|
|
2526
2613
|
setValueOrFunction(value) {
|
|
2527
2614
|
this._valueOrFunctionOverride.next(value);
|
|
2528
2615
|
}
|
|
2529
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2530
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
2616
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionValueDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2617
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.10", type: DbxActionValueDirective, isStandalone: true, selector: "dbxActionValue,[dbxActionValue]", inputs: { valueOrFunction: { classPropertyName: "valueOrFunction", publicName: "dbxActionValue", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
2531
2618
|
}
|
|
2532
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2619
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionValueDirective, decorators: [{
|
|
2533
2620
|
type: Directive,
|
|
2534
2621
|
args: [{
|
|
2535
2622
|
selector: 'dbxActionValue,[dbxActionValue]',
|
|
@@ -2574,10 +2661,10 @@ class DbxActionIsWorkingDirective extends AbstractIfDirective {
|
|
|
2574
2661
|
const hideAfter = this.hideAfterSignal();
|
|
2575
2662
|
return isWorking && hideAfter != null ? emitDelayObs(true, false, hideAfter) : of(isWorking);
|
|
2576
2663
|
}), shareReplay(1));
|
|
2577
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2578
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
2664
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionIsWorkingDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2665
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.10", 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 });
|
|
2579
2666
|
}
|
|
2580
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2667
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionIsWorkingDirective, decorators: [{
|
|
2581
2668
|
type: Directive,
|
|
2582
2669
|
args: [{
|
|
2583
2670
|
selector: '[dbxActionWorking],[dbxActionIsWorking]',
|
|
@@ -2601,6 +2688,11 @@ const APP_ACTION_ENFORCE_MODIFIED_DIRECTIVE_KEY = 'dbx_action_enforce_modified';
|
|
|
2601
2688
|
*
|
|
2602
2689
|
* The disable key is automatically cleaned up on directive destruction.
|
|
2603
2690
|
*
|
|
2691
|
+
* @dbxAction
|
|
2692
|
+
* @dbxActionSlug enforce-modified
|
|
2693
|
+
* @dbxActionStateInteraction IDLE, DISABLED
|
|
2694
|
+
* @dbxActionConsumesContext
|
|
2695
|
+
*
|
|
2604
2696
|
* @example
|
|
2605
2697
|
* ```html
|
|
2606
2698
|
* <div dbxAction>
|
|
@@ -2625,10 +2717,10 @@ class DbxActionEnforceModifiedDirective {
|
|
|
2625
2717
|
}));
|
|
2626
2718
|
clean(() => this.source.enable(APP_ACTION_ENFORCE_MODIFIED_DIRECTIVE_KEY));
|
|
2627
2719
|
}
|
|
2628
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2629
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
2720
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionEnforceModifiedDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2721
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.10", type: DbxActionEnforceModifiedDirective, isStandalone: true, selector: "[dbxActionEnforceModified]", inputs: { enabled: { classPropertyName: "enabled", publicName: "dbxActionEnforceModified", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
2630
2722
|
}
|
|
2631
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2723
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionEnforceModifiedDirective, decorators: [{
|
|
2632
2724
|
type: Directive,
|
|
2633
2725
|
args: [{
|
|
2634
2726
|
selector: '[dbxActionEnforceModified]',
|
|
@@ -2652,10 +2744,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
2652
2744
|
class DbxActionIsModifiedDirective extends AbstractIfDirective {
|
|
2653
2745
|
_store = inject(DbxActionContextStoreSourceInstance);
|
|
2654
2746
|
show$ = this._store.isModified$.pipe(shareReplay(1));
|
|
2655
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2656
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
2747
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionIsModifiedDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2748
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.10", type: DbxActionIsModifiedDirective, isStandalone: true, selector: "[dbxActionIsModified]", usesInheritance: true, ngImport: i0 });
|
|
2657
2749
|
}
|
|
2658
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2750
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionIsModifiedDirective, decorators: [{
|
|
2659
2751
|
type: Directive,
|
|
2660
2752
|
args: [{
|
|
2661
2753
|
selector: '[dbxActionIsModified]',
|
|
@@ -2772,10 +2864,10 @@ class AbstractDbxActionValueGetterDirective {
|
|
|
2772
2864
|
});
|
|
2773
2865
|
});
|
|
2774
2866
|
}
|
|
2775
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2776
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
2867
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: AbstractDbxActionValueGetterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2868
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.10", type: AbstractDbxActionValueGetterDirective, isStandalone: true, ngImport: i0 });
|
|
2777
2869
|
}
|
|
2778
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2870
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: AbstractDbxActionValueGetterDirective, decorators: [{
|
|
2779
2871
|
type: Directive
|
|
2780
2872
|
}], ctorParameters: () => [] });
|
|
2781
2873
|
/**
|
|
@@ -2789,6 +2881,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
2789
2881
|
* Supports optional `isModified` and `isEqual` functions to control whether the retrieved
|
|
2790
2882
|
* value should proceed to `readyValue` or be rejected.
|
|
2791
2883
|
*
|
|
2884
|
+
* @dbxAction
|
|
2885
|
+
* @dbxActionSlug value-getter
|
|
2886
|
+
* @dbxActionStateInteraction TRIGGERED, VALUE_READY
|
|
2887
|
+
* @dbxActionConsumesContext
|
|
2888
|
+
*
|
|
2792
2889
|
* @example
|
|
2793
2890
|
* ```html
|
|
2794
2891
|
* <div dbxAction>
|
|
@@ -2813,10 +2910,10 @@ class DbxActionValueTriggerDirective extends AbstractDbxActionValueGetterDirecti
|
|
|
2813
2910
|
isEqualSignal: this.dbxActionValueGetterIsEqual
|
|
2814
2911
|
});
|
|
2815
2912
|
}
|
|
2816
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2817
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
2913
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionValueTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2914
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.10", 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 });
|
|
2818
2915
|
}
|
|
2819
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2916
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionValueTriggerDirective, decorators: [{
|
|
2820
2917
|
type: Directive,
|
|
2821
2918
|
args: [{
|
|
2822
2919
|
exportAs: 'dbxActionValueGetter',
|
|
@@ -2888,10 +2985,10 @@ class DbxActionValueStreamDirective {
|
|
|
2888
2985
|
})
|
|
2889
2986
|
});
|
|
2890
2987
|
}
|
|
2891
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2892
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
2988
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionValueStreamDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2989
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.10", 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 });
|
|
2893
2990
|
}
|
|
2894
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2991
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionValueStreamDirective, decorators: [{
|
|
2895
2992
|
type: Directive,
|
|
2896
2993
|
args: [{
|
|
2897
2994
|
selector: '[dbxActionValueStream]',
|
|
@@ -2920,10 +3017,10 @@ class DbxActionTriggeredDirective extends AbstractIfDirective {
|
|
|
2920
3017
|
show$ = this._store.triggered$.pipe(exhaustMap((triggered) => {
|
|
2921
3018
|
return triggered ? emitDelayObs(true, false, this.hideAfter()) : of(false);
|
|
2922
3019
|
}), shareReplay(1));
|
|
2923
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2924
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
3020
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionTriggeredDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
3021
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.10", type: DbxActionTriggeredDirective, isStandalone: true, selector: "[dbxActionTriggered]", inputs: { hideAfter: { classPropertyName: "hideAfter", publicName: "dbxActionTriggered", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
2925
3022
|
}
|
|
2926
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3023
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionTriggeredDirective, decorators: [{
|
|
2927
3024
|
type: Directive,
|
|
2928
3025
|
args: [{
|
|
2929
3026
|
selector: '[dbxActionTriggered]',
|
|
@@ -2959,8 +3056,8 @@ const importsAndExports$2 = [
|
|
|
2959
3056
|
* Contains all base DbxAction components.
|
|
2960
3057
|
*/
|
|
2961
3058
|
class DbxCoreActionModule {
|
|
2962
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2963
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
3059
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxCoreActionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3060
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.10", ngImport: i0, type: DbxCoreActionModule, imports: [DbxActionDirective,
|
|
2964
3061
|
DbxActionContextMapDirective,
|
|
2965
3062
|
DbxActionFromMapDirective,
|
|
2966
3063
|
DbxActionMapSourceDirective,
|
|
@@ -3003,9 +3100,9 @@ class DbxCoreActionModule {
|
|
|
3003
3100
|
DbxActionSuccessHandlerDirective,
|
|
3004
3101
|
DbxActionErrorHandlerDirective,
|
|
3005
3102
|
DbxActionIsWorkingDirective] });
|
|
3006
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
3103
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxCoreActionModule });
|
|
3007
3104
|
}
|
|
3008
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3105
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxCoreActionModule, decorators: [{
|
|
3009
3106
|
type: NgModule,
|
|
3010
3107
|
args: [{
|
|
3011
3108
|
imports: importsAndExports$2,
|
|
@@ -3462,6 +3559,10 @@ var data_action = /*#__PURE__*/Object.freeze({
|
|
|
3462
3559
|
setState: setState
|
|
3463
3560
|
});
|
|
3464
3561
|
|
|
3562
|
+
/**
|
|
3563
|
+
* Accessor for the DbxAppContextStateData in our DbxAppContextFeatureState.
|
|
3564
|
+
*/
|
|
3565
|
+
|
|
3465
3566
|
var index$3 = /*#__PURE__*/Object.freeze({
|
|
3466
3567
|
__proto__: null,
|
|
3467
3568
|
DbxAppContextActions: data_action
|
|
@@ -3564,7 +3665,7 @@ const NO_AUTH_USER_IDENTIFIER = '0';
|
|
|
3564
3665
|
* ```
|
|
3565
3666
|
*/
|
|
3566
3667
|
function authUserIdentifier(inputId) {
|
|
3567
|
-
return inputId
|
|
3668
|
+
return inputId || NO_AUTH_USER_IDENTIFIER;
|
|
3568
3669
|
}
|
|
3569
3670
|
|
|
3570
3671
|
/**
|
|
@@ -3655,6 +3756,10 @@ var user_action = /*#__PURE__*/Object.freeze({
|
|
|
3655
3756
|
setUserState: setUserState
|
|
3656
3757
|
});
|
|
3657
3758
|
|
|
3759
|
+
/**
|
|
3760
|
+
* Actions related to the auth state.
|
|
3761
|
+
*/
|
|
3762
|
+
|
|
3658
3763
|
var index$1 = /*#__PURE__*/Object.freeze({
|
|
3659
3764
|
__proto__: null,
|
|
3660
3765
|
DbxAppAuthActions: auth_action,
|
|
@@ -3967,10 +4072,10 @@ class DbxAppAuthRouterService {
|
|
|
3967
4072
|
goToApp() {
|
|
3968
4073
|
return goWithRouter(this.dbxRouterService)(this.dbxAppAuthRoutes.appRef);
|
|
3969
4074
|
}
|
|
3970
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3971
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
4075
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxAppAuthRouterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4076
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxAppAuthRouterService, providedIn: 'root' });
|
|
3972
4077
|
}
|
|
3973
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4078
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxAppAuthRouterService, decorators: [{
|
|
3974
4079
|
type: Injectable,
|
|
3975
4080
|
args: [{
|
|
3976
4081
|
providedIn: 'root'
|
|
@@ -4018,10 +4123,10 @@ class DbxAppAuthRouterEffects extends AbstractOnDbxAppContextStateEffects {
|
|
|
4018
4123
|
* Effect to redirect to the app when login occurs.
|
|
4019
4124
|
*/
|
|
4020
4125
|
redirectToOnboardOnLogIn = createEffect(() => this.actions$.pipe(ofType(loggedIn), switchMap(() => this.dbxAppAuthRouterService.shouldAuthEffectsRedirect$.pipe(first())), filter((shouldRedirect) => shouldRedirect), exhaustMap(() => this.dbxAppAuthRouterService.goToApp())), { dispatch: false });
|
|
4021
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4022
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
4126
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxAppAuthRouterEffects, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4127
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxAppAuthRouterEffects });
|
|
4023
4128
|
}
|
|
4024
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4129
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxAppAuthRouterEffects, decorators: [{
|
|
4025
4130
|
type: Injectable
|
|
4026
4131
|
}], ctorParameters: () => [] });
|
|
4027
4132
|
|
|
@@ -4216,10 +4321,10 @@ class DbxAppAuthEffects {
|
|
|
4216
4321
|
* Syncs the user's onboarding status from the auth service into the NgRx store.
|
|
4217
4322
|
*/
|
|
4218
4323
|
setUserIsOnboarded = createEffect(() => this.dbxAuthService.isOnboarded$.pipe(map((isOnboarded) => setUserIsOnboarded({ isOnboarded }))));
|
|
4219
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4220
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
4324
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxAppAuthEffects, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4325
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxAppAuthEffects });
|
|
4221
4326
|
}
|
|
4222
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4327
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxAppAuthEffects, decorators: [{
|
|
4223
4328
|
type: Injectable
|
|
4224
4329
|
}] });
|
|
4225
4330
|
|
|
@@ -4299,10 +4404,10 @@ class DbxAuthHasAnyRoleDirective extends AbstractIfDirective {
|
|
|
4299
4404
|
targetRoles = input(undefined, { ...(ngDevMode ? { debugName: "targetRoles" } : /* istanbul ignore next */ {}), alias: 'dbxAuthHasAnyRole' });
|
|
4300
4405
|
targetRoles$ = toObservable(this.targetRoles);
|
|
4301
4406
|
show$ = this._authService.authRoles$.pipe(authRolesSetContainsAnyRoleFrom(this.targetRoles$));
|
|
4302
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4303
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
4407
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxAuthHasAnyRoleDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4408
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.10", type: DbxAuthHasAnyRoleDirective, isStandalone: true, selector: "[dbxAuthHasAnyRole]", inputs: { targetRoles: { classPropertyName: "targetRoles", publicName: "dbxAuthHasAnyRole", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
4304
4409
|
}
|
|
4305
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4410
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxAuthHasAnyRoleDirective, decorators: [{
|
|
4306
4411
|
type: Directive,
|
|
4307
4412
|
args: [{
|
|
4308
4413
|
selector: '[dbxAuthHasAnyRole]',
|
|
@@ -4335,10 +4440,10 @@ class DbxAuthHasRolesDirective extends AbstractIfDirective {
|
|
|
4335
4440
|
targetRoles = input(undefined, { ...(ngDevMode ? { debugName: "targetRoles" } : /* istanbul ignore next */ {}), alias: 'dbxAuthHasRoles' });
|
|
4336
4441
|
targetRoles$ = toObservable(this.targetRoles);
|
|
4337
4442
|
show$ = this._authService.authRoles$.pipe(authRolesSetContainsAllRolesFrom(this.targetRoles$));
|
|
4338
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4339
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
4443
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxAuthHasRolesDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4444
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.10", type: DbxAuthHasRolesDirective, isStandalone: true, selector: "[dbxAuthHasRoles]", inputs: { targetRoles: { classPropertyName: "targetRoles", publicName: "dbxAuthHasRoles", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
4340
4445
|
}
|
|
4341
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4446
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxAuthHasRolesDirective, decorators: [{
|
|
4342
4447
|
type: Directive,
|
|
4343
4448
|
args: [{
|
|
4344
4449
|
selector: '[dbxAuthHasRoles]',
|
|
@@ -4371,10 +4476,10 @@ class DbxAuthNotAnyRoleDirective extends AbstractIfDirective {
|
|
|
4371
4476
|
targetRoles = input(undefined, { ...(ngDevMode ? { debugName: "targetRoles" } : /* istanbul ignore next */ {}), alias: 'dbxAuthNotAnyRole' });
|
|
4372
4477
|
targetRoles$ = toObservable(this.targetRoles);
|
|
4373
4478
|
show$ = this._authService.authRoles$.pipe(authRolesSetContainsNoRolesFrom(this.targetRoles$));
|
|
4374
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4375
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
4479
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxAuthNotAnyRoleDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4480
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.10", type: DbxAuthNotAnyRoleDirective, isStandalone: true, selector: "[dbxAuthNotAnyRole]", inputs: { targetRoles: { classPropertyName: "targetRoles", publicName: "dbxAuthNotAnyRole", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
4376
4481
|
}
|
|
4377
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4482
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxAuthNotAnyRoleDirective, decorators: [{
|
|
4378
4483
|
type: Directive,
|
|
4379
4484
|
args: [{
|
|
4380
4485
|
selector: '[dbxAuthNotAnyRole]',
|
|
@@ -4411,10 +4516,10 @@ class DbxAppAuthStateService {
|
|
|
4411
4516
|
* Observable of the current {@link DbxAppAuthStateUser} from the NgRx store.
|
|
4412
4517
|
*/
|
|
4413
4518
|
authStateUser$ = this.store.select(selectDbxAppAuthUser);
|
|
4414
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4415
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
4519
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxAppAuthStateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4520
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxAppAuthStateService, providedIn: 'root' });
|
|
4416
4521
|
}
|
|
4417
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4522
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxAppAuthStateService, decorators: [{
|
|
4418
4523
|
type: Injectable,
|
|
4419
4524
|
args: [{
|
|
4420
4525
|
providedIn: 'root'
|
|
@@ -4498,10 +4603,10 @@ class DbxActionButtonTriggerDirective {
|
|
|
4498
4603
|
_buttonClicked() {
|
|
4499
4604
|
this.source.trigger();
|
|
4500
4605
|
}
|
|
4501
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4502
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
4606
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionButtonTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4607
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.10", type: DbxActionButtonTriggerDirective, isStandalone: true, selector: "[dbxActionButtonTrigger]", ngImport: i0 });
|
|
4503
4608
|
}
|
|
4504
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4609
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionButtonTriggerDirective, decorators: [{
|
|
4505
4610
|
type: Directive,
|
|
4506
4611
|
args: [{
|
|
4507
4612
|
selector: '[dbxActionButtonTrigger]',
|
|
@@ -4625,10 +4730,10 @@ class DbxActionButtonDirective extends DbxActionButtonTriggerDirective {
|
|
|
4625
4730
|
};
|
|
4626
4731
|
return result;
|
|
4627
4732
|
}
|
|
4628
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4629
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
4733
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4734
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.10", type: DbxActionButtonDirective, isStandalone: true, selector: "[dbxActionButton]", inputs: { dbxActionButtonEcho: { classPropertyName: "dbxActionButtonEcho", publicName: "dbxActionButtonEcho", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
4630
4735
|
}
|
|
4631
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4736
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxActionButtonDirective, decorators: [{
|
|
4632
4737
|
type: Directive,
|
|
4633
4738
|
args: [{
|
|
4634
4739
|
selector: '[dbxActionButton]',
|
|
@@ -4666,10 +4771,10 @@ class DbxButtonSegueDirective {
|
|
|
4666
4771
|
}
|
|
4667
4772
|
}));
|
|
4668
4773
|
}
|
|
4669
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4670
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
4774
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxButtonSegueDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4775
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.10", type: DbxButtonSegueDirective, isStandalone: true, selector: "[dbxButtonSegue]", inputs: { segueRef: { classPropertyName: "segueRef", publicName: "dbxButtonSegue", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
4671
4776
|
}
|
|
4672
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4777
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxButtonSegueDirective, decorators: [{
|
|
4673
4778
|
type: Directive,
|
|
4674
4779
|
args: [{
|
|
4675
4780
|
selector: '[dbxButtonSegue]',
|
|
@@ -4707,7 +4812,7 @@ class AbstractDbxButtonDirective {
|
|
|
4707
4812
|
buttonClick = output();
|
|
4708
4813
|
ariaLabel = input(undefined, ...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
|
|
4709
4814
|
disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), transform: Boolean });
|
|
4710
|
-
working = input(false, { ...(ngDevMode ? { debugName: "working" } : /* istanbul ignore next */ {}), transform: (x) =>
|
|
4815
|
+
working = input(false, { ...(ngDevMode ? { debugName: "working" } : /* istanbul ignore next */ {}), transform: (x) => x ?? false });
|
|
4711
4816
|
buttonDisplay = input(undefined, ...(ngDevMode ? [{ debugName: "buttonDisplay" }] : /* istanbul ignore next */ []));
|
|
4712
4817
|
_disabledSignal = signal(undefined, ...(ngDevMode ? [{ debugName: "_disabledSignal" }] : /* istanbul ignore next */ []));
|
|
4713
4818
|
_workingSignal = signal(undefined, ...(ngDevMode ? [{ debugName: "_workingSignal" }] : /* istanbul ignore next */ []));
|
|
@@ -4738,7 +4843,7 @@ class AbstractDbxButtonDirective {
|
|
|
4738
4843
|
clicked$ = outputToObservable(this.buttonClick);
|
|
4739
4844
|
constructor() {
|
|
4740
4845
|
cleanSubscription(this._buttonClick
|
|
4741
|
-
.pipe(switchMap(() => this._buttonInterceptor.pipe(switchMap((x) => (x ? x.interceptButtonClick().pipe(first()) : of(true))), filter(
|
|
4846
|
+
.pipe(switchMap(() => this._buttonInterceptor.pipe(switchMap((x) => (x ? x.interceptButtonClick().pipe(first()) : of(true))), filter(Boolean) // Ignore false values.
|
|
4742
4847
|
)))
|
|
4743
4848
|
.subscribe(() => {
|
|
4744
4849
|
this._forceButtonClicked();
|
|
@@ -4778,10 +4883,10 @@ class AbstractDbxButtonDirective {
|
|
|
4778
4883
|
_forceButtonClicked() {
|
|
4779
4884
|
this.buttonClick.emit();
|
|
4780
4885
|
}
|
|
4781
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4782
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
4886
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: AbstractDbxButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4887
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.10", type: AbstractDbxButtonDirective, isStandalone: true, inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, working: { classPropertyName: "working", publicName: "working", isSignal: true, isRequired: false, transformFunction: null }, buttonDisplay: { classPropertyName: "buttonDisplay", publicName: "buttonDisplay", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { buttonClick: "buttonClick" }, ngImport: i0 });
|
|
4783
4888
|
}
|
|
4784
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4889
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: AbstractDbxButtonDirective, decorators: [{
|
|
4785
4890
|
type: Directive
|
|
4786
4891
|
}], ctorParameters: () => [], propDecorators: { buttonClick: [{ type: i0.Output, args: ["buttonClick"] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], working: [{ type: i0.Input, args: [{ isSignal: true, alias: "working", required: false }] }], buttonDisplay: [{ type: i0.Input, args: [{ isSignal: true, alias: "buttonDisplay", required: false }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: false }] }] } });
|
|
4787
4892
|
// MARK: Implementation
|
|
@@ -4805,10 +4910,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
4805
4910
|
* ```
|
|
4806
4911
|
*/
|
|
4807
4912
|
class DbxButtonDirective extends AbstractDbxButtonDirective {
|
|
4808
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4809
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
4913
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxButtonDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4914
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.10", type: DbxButtonDirective, isStandalone: true, selector: "[dbxButton]", providers: provideDbxButton(DbxButtonDirective), exportAs: ["dbxButton"], usesInheritance: true, ngImport: i0 });
|
|
4810
4915
|
}
|
|
4811
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4916
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxButtonDirective, decorators: [{
|
|
4812
4917
|
type: Directive,
|
|
4813
4918
|
args: [{
|
|
4814
4919
|
selector: '[dbxButton]',
|
|
@@ -4848,10 +4953,10 @@ class DbxLoadingButtonDirective {
|
|
|
4848
4953
|
}
|
|
4849
4954
|
this._loadingEffectSub.setSub(subscription);
|
|
4850
4955
|
}, ...(ngDevMode ? [{ debugName: "_loadingEffect" }] : /* istanbul ignore next */ []));
|
|
4851
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4852
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
4956
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxLoadingButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4957
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.10", type: DbxLoadingButtonDirective, isStandalone: true, selector: "[dbxLoadingButton]", inputs: { context: { classPropertyName: "context", publicName: "dbxLoadingButton", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 });
|
|
4853
4958
|
}
|
|
4854
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4959
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxLoadingButtonDirective, decorators: [{
|
|
4855
4960
|
type: Directive,
|
|
4856
4961
|
args: [{
|
|
4857
4962
|
selector: '[dbxLoadingButton]',
|
|
@@ -4869,11 +4974,11 @@ const importsAndExports$1 = [DbxButtonDirective, DbxLoadingButtonDirective, DbxA
|
|
|
4869
4974
|
* - DbxButtonSegueDirective
|
|
4870
4975
|
*/
|
|
4871
4976
|
class DbxCoreButtonModule {
|
|
4872
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4873
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
4874
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
4977
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxCoreButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4978
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.10", ngImport: i0, type: DbxCoreButtonModule, imports: [DbxButtonDirective, DbxLoadingButtonDirective, DbxActionButtonTriggerDirective, DbxActionButtonDirective, DbxButtonSegueDirective], exports: [DbxButtonDirective, DbxLoadingButtonDirective, DbxActionButtonTriggerDirective, DbxActionButtonDirective, DbxButtonSegueDirective] });
|
|
4979
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxCoreButtonModule });
|
|
4875
4980
|
}
|
|
4876
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4981
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxCoreButtonModule, decorators: [{
|
|
4877
4982
|
type: NgModule,
|
|
4878
4983
|
args: [{
|
|
4879
4984
|
imports: importsAndExports$1,
|
|
@@ -4908,10 +5013,10 @@ class DbxAppContextService {
|
|
|
4908
5013
|
resetState() {
|
|
4909
5014
|
this.store.next(resetState());
|
|
4910
5015
|
}
|
|
4911
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4912
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
5016
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxAppContextService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5017
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxAppContextService, providedIn: 'root' });
|
|
4913
5018
|
}
|
|
4914
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5019
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxAppContextService, decorators: [{
|
|
4915
5020
|
type: Injectable,
|
|
4916
5021
|
args: [{
|
|
4917
5022
|
providedIn: 'root'
|
|
@@ -4945,10 +5050,10 @@ class DbxAppContextStateDirective {
|
|
|
4945
5050
|
this.dbxAppContextStateService.setState(state);
|
|
4946
5051
|
}
|
|
4947
5052
|
}, ...(ngDevMode ? [{ debugName: "_stateEffect" }] : /* istanbul ignore next */ []));
|
|
4948
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4949
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
5053
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxAppContextStateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5054
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.10", type: DbxAppContextStateDirective, isStandalone: true, selector: "[dbxAppContextState]", inputs: { state: { classPropertyName: "state", publicName: "dbxAppContextState", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
4950
5055
|
}
|
|
4951
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5056
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxAppContextStateDirective, decorators: [{
|
|
4952
5057
|
type: Directive,
|
|
4953
5058
|
args: [{
|
|
4954
5059
|
selector: '[dbxAppContextState]',
|
|
@@ -5022,10 +5127,10 @@ class DbxAppEnviromentService {
|
|
|
5022
5127
|
getEnvironment() {
|
|
5023
5128
|
return this.environment;
|
|
5024
5129
|
}
|
|
5025
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5026
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
5130
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxAppEnviromentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5131
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxAppEnviromentService });
|
|
5027
5132
|
}
|
|
5028
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5133
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxAppEnviromentService, decorators: [{
|
|
5029
5134
|
type: Injectable
|
|
5030
5135
|
}] });
|
|
5031
5136
|
|
|
@@ -5287,10 +5392,10 @@ class AbstractDbxAnchorDirective {
|
|
|
5287
5392
|
setSelected(selected) {
|
|
5288
5393
|
this.selected.set(selected);
|
|
5289
5394
|
}
|
|
5290
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5291
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
5395
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: AbstractDbxAnchorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5396
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.10", type: AbstractDbxAnchorDirective, isStandalone: true, inputs: { ref: { classPropertyName: "ref", publicName: "ref", isSignal: true, isRequired: false, transformFunction: null }, anchor: { classPropertyName: "anchor", publicName: "anchor", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ref: "refChange", anchor: "anchorChange", disabled: "disabledChange", selected: "selectedChange" }, ngImport: i0 });
|
|
5292
5397
|
}
|
|
5293
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5398
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: AbstractDbxAnchorDirective, decorators: [{
|
|
5294
5399
|
type: Directive
|
|
5295
5400
|
}], propDecorators: { ref: [{ type: i0.Input, args: [{ isSignal: true, alias: "ref", required: false }] }, { type: i0.Output, args: ["refChange"] }], anchor: [{ type: i0.Input, args: [{ isSignal: true, alias: "anchor", required: false }] }, { type: i0.Output, args: ["anchorChange"] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }, { type: i0.Output, args: ["disabledChange"] }], selected: [{ type: i0.Input, args: [{ isSignal: true, alias: "selected", required: false }] }, { type: i0.Output, args: ["selectedChange"] }] } });
|
|
5296
5401
|
|
|
@@ -5374,7 +5479,10 @@ function redirectForIdentifierParamHook(input) {
|
|
|
5374
5479
|
}
|
|
5375
5480
|
else if (defaultAllowedIdValue !== transitionTargetId) {
|
|
5376
5481
|
redirectToId = canViewUser(transitionTargetId, authService, injector).pipe(map((x) => {
|
|
5377
|
-
|
|
5482
|
+
if (x == null || typeof x === 'boolean') {
|
|
5483
|
+
return x ? transitionTargetId : defaultAllowedIdValue;
|
|
5484
|
+
}
|
|
5485
|
+
return x;
|
|
5378
5486
|
}));
|
|
5379
5487
|
}
|
|
5380
5488
|
if (redirectToId != null) {
|
|
@@ -5524,10 +5632,10 @@ class DbxAngularRouterService {
|
|
|
5524
5632
|
comparePrecision(_a, _b) {
|
|
5525
5633
|
return 0; // TODO!
|
|
5526
5634
|
}
|
|
5527
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5528
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
5635
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxAngularRouterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5636
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxAngularRouterService });
|
|
5529
5637
|
}
|
|
5530
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5638
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxAngularRouterService, decorators: [{
|
|
5531
5639
|
type: Injectable
|
|
5532
5640
|
}] });
|
|
5533
5641
|
|
|
@@ -5566,11 +5674,11 @@ class DbxCoreAngularRouterSegueModule {
|
|
|
5566
5674
|
]
|
|
5567
5675
|
};
|
|
5568
5676
|
}
|
|
5569
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5570
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
5571
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
5677
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxCoreAngularRouterSegueModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5678
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.10", ngImport: i0, type: DbxCoreAngularRouterSegueModule });
|
|
5679
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxCoreAngularRouterSegueModule });
|
|
5572
5680
|
}
|
|
5573
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5681
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxCoreAngularRouterSegueModule, decorators: [{
|
|
5574
5682
|
type: NgModule,
|
|
5575
5683
|
args: [{}]
|
|
5576
5684
|
}] });
|
|
@@ -5686,10 +5794,10 @@ class DbxUIRouterService {
|
|
|
5686
5794
|
}
|
|
5687
5795
|
return result;
|
|
5688
5796
|
}
|
|
5689
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5690
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
5797
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxUIRouterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5798
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxUIRouterService });
|
|
5691
5799
|
}
|
|
5692
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5800
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxUIRouterService, decorators: [{
|
|
5693
5801
|
type: Injectable
|
|
5694
5802
|
}], ctorParameters: () => [] });
|
|
5695
5803
|
|
|
@@ -5836,10 +5944,10 @@ class AbstractTransitionDirective {
|
|
|
5836
5944
|
* Observable that emits immediately on initialization and on each subsequent successful transition.
|
|
5837
5945
|
*/
|
|
5838
5946
|
initAndUpdateOnTransitionSuccess$ = this.transitionSuccess$.pipe(startWith(undefined));
|
|
5839
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5840
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
5947
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: AbstractTransitionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5948
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.10", type: AbstractTransitionDirective, isStandalone: true, ngImport: i0 });
|
|
5841
5949
|
}
|
|
5842
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5950
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: AbstractTransitionDirective, decorators: [{
|
|
5843
5951
|
type: Directive
|
|
5844
5952
|
}] });
|
|
5845
5953
|
|
|
@@ -5877,10 +5985,10 @@ class AbstractTransitionWatcherDirective extends AbstractTransitionDirective {
|
|
|
5877
5985
|
// remove this function and replace, if necessary or remove entirely with angular zoneless implementation details.
|
|
5878
5986
|
this.ngZone.run(() => this.updateForSuccessfulTransition());
|
|
5879
5987
|
}
|
|
5880
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5881
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
5988
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: AbstractTransitionWatcherDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5989
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.10", type: AbstractTransitionWatcherDirective, isStandalone: true, usesInheritance: true, ngImport: i0 });
|
|
5882
5990
|
}
|
|
5883
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5991
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: AbstractTransitionWatcherDirective, decorators: [{
|
|
5884
5992
|
type: Directive
|
|
5885
5993
|
}], ctorParameters: () => [] });
|
|
5886
5994
|
|
|
@@ -6274,10 +6382,10 @@ class DbxRouteModelIdFromAuthUserIdDirective {
|
|
|
6274
6382
|
constructor() {
|
|
6275
6383
|
cleanSubscription(this.dbxRouteModelIdDelegate.useRouteModelIdParamsObservable(this.dbxAuthService.userIdentifier$, this.dbxAuthService.userIdentifier$));
|
|
6276
6384
|
}
|
|
6277
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6278
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
6385
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxRouteModelIdFromAuthUserIdDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6386
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.10", type: DbxRouteModelIdFromAuthUserIdDirective, isStandalone: true, selector: "[dbxRouteModelIdFromAuthUserId]", ngImport: i0 });
|
|
6279
6387
|
}
|
|
6280
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6388
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxRouteModelIdFromAuthUserIdDirective, decorators: [{
|
|
6281
6389
|
type: Directive,
|
|
6282
6390
|
args: [{
|
|
6283
6391
|
selector: '[dbxRouteModelIdFromAuthUserId]',
|
|
@@ -6341,10 +6449,10 @@ class DbxRouteModelIdDirective {
|
|
|
6341
6449
|
set dbxRouteModelIdDefaultDecision(decider) {
|
|
6342
6450
|
this._redirectInstance.setDecider(decider);
|
|
6343
6451
|
}
|
|
6344
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6345
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
6452
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxRouteModelIdDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6453
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.10", type: DbxRouteModelIdDirective, isStandalone: true, selector: "[dbxRouteModelId]", inputs: { idParam: ["dbxRouteModelId", "idParam"], dbxRouteModelIdDefault: "dbxRouteModelIdDefault", dbxRouteModelIdDefaultRedirect: "dbxRouteModelIdDefaultRedirect", dbxRouteModelIdDefaultDecision: "dbxRouteModelIdDefaultDecision" }, ngImport: i0 });
|
|
6346
6454
|
}
|
|
6347
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6455
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxRouteModelIdDirective, decorators: [{
|
|
6348
6456
|
type: Directive,
|
|
6349
6457
|
args: [{
|
|
6350
6458
|
selector: '[dbxRouteModelId]',
|
|
@@ -6418,10 +6526,10 @@ class DbxRouteModelKeyDirective {
|
|
|
6418
6526
|
set dbxRouteModelKeyDefaultDecision(decider) {
|
|
6419
6527
|
this._redirectInstance.setDecider(decider);
|
|
6420
6528
|
}
|
|
6421
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6422
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
6529
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxRouteModelKeyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6530
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.10", type: DbxRouteModelKeyDirective, isStandalone: true, selector: "[dbxRouteModelKey]", inputs: { keyParam: ["dbxRouteModelKey", "keyParam"], dbxRouteModelKeyDefault: "dbxRouteModelKeyDefault", dbxRouteModelKeyDefaultRedirect: "dbxRouteModelKeyDefaultRedirect", dbxRouteModelKeyDefaultDecision: "dbxRouteModelKeyDefaultDecision" }, ngImport: i0 });
|
|
6423
6531
|
}
|
|
6424
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6532
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxRouteModelKeyDirective, decorators: [{
|
|
6425
6533
|
type: Directive,
|
|
6426
6534
|
args: [{
|
|
6427
6535
|
selector: '[dbxRouteModelKey]',
|
|
@@ -6444,6 +6552,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6444
6552
|
* Useful for normalizing values that may be plain values, getter functions, or Observables
|
|
6445
6553
|
* into a consistent Observable stream for use with the `async` pipe.
|
|
6446
6554
|
*
|
|
6555
|
+
* @dbxPipe
|
|
6556
|
+
* @dbxPipeSlug as-observable
|
|
6557
|
+
* @dbxPipeCategory async
|
|
6447
6558
|
* @example
|
|
6448
6559
|
* ```html
|
|
6449
6560
|
* <span>{{ valueOrGetter | asObservable | async }}</span>
|
|
@@ -6453,10 +6564,10 @@ class AsObservablePipe {
|
|
|
6453
6564
|
transform(input) {
|
|
6454
6565
|
return asObservableFromGetter(input);
|
|
6455
6566
|
}
|
|
6456
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6457
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6567
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: AsObservablePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6568
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.10", ngImport: i0, type: AsObservablePipe, isStandalone: true, name: "asObservable" });
|
|
6458
6569
|
}
|
|
6459
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6570
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: AsObservablePipe, decorators: [{
|
|
6460
6571
|
type: Pipe,
|
|
6461
6572
|
args: [{
|
|
6462
6573
|
name: 'asObservable',
|
|
@@ -6469,6 +6580,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6469
6580
|
*
|
|
6470
6581
|
* Displays only the date portion (no times). Returns a fallback string when the input is `null` or `undefined`.
|
|
6471
6582
|
*
|
|
6583
|
+
* @dbxPipe
|
|
6584
|
+
* @dbxPipeSlug date-day-range
|
|
6585
|
+
* @dbxPipeCategory date
|
|
6586
|
+
* @dbxPipeRelated date-time-range, date-day-time-range
|
|
6472
6587
|
* @example
|
|
6473
6588
|
* ```html
|
|
6474
6589
|
* <span>{{ dateRange | dateDayRange }}</span>
|
|
@@ -6482,10 +6597,10 @@ class DateDayRangePipe {
|
|
|
6482
6597
|
transform(input, unavailable = 'Not Available') {
|
|
6483
6598
|
return input ? formatToDayRangeString(input) : unavailable;
|
|
6484
6599
|
}
|
|
6485
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6486
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6600
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DateDayRangePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6601
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.10", ngImport: i0, type: DateDayRangePipe, isStandalone: true, name: "dateDayRange" });
|
|
6487
6602
|
}
|
|
6488
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6603
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DateDayRangePipe, decorators: [{
|
|
6489
6604
|
type: Pipe,
|
|
6490
6605
|
args: [{
|
|
6491
6606
|
name: 'dateDayRange',
|
|
@@ -6500,6 +6615,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6500
6615
|
* Returns `undefined` if the input is `null`, `undefined`, or results in an invalid date.
|
|
6501
6616
|
* Also provides a static `toJsDate()` method used by other pipes in this package.
|
|
6502
6617
|
*
|
|
6618
|
+
* @dbxPipe
|
|
6619
|
+
* @dbxPipeSlug to-js-date
|
|
6620
|
+
* @dbxPipeCategory date
|
|
6621
|
+
* @dbxPipeRelated date-distance, date-format-distance
|
|
6503
6622
|
* @example
|
|
6504
6623
|
* ```html
|
|
6505
6624
|
* <span>{{ '2024-01-05T12:00:00Z' | toJsDate | date:'short' }}</span>
|
|
@@ -6522,10 +6641,10 @@ class ToJsDatePipe {
|
|
|
6522
6641
|
transform(input) {
|
|
6523
6642
|
return ToJsDatePipe.toJsDate(input);
|
|
6524
6643
|
}
|
|
6525
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6526
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6644
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: ToJsDatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6645
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.10", ngImport: i0, type: ToJsDatePipe, isStandalone: true, name: "toJsDate" });
|
|
6527
6646
|
}
|
|
6528
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6647
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: ToJsDatePipe, decorators: [{
|
|
6529
6648
|
type: Pipe,
|
|
6530
6649
|
args: [{
|
|
6531
6650
|
name: 'toJsDate',
|
|
@@ -6539,6 +6658,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6539
6658
|
*
|
|
6540
6659
|
* Accepts an optional comparison date (defaults to now) and a fallback string for `null`/`undefined` input.
|
|
6541
6660
|
*
|
|
6661
|
+
* @dbxPipe
|
|
6662
|
+
* @dbxPipeSlug date-distance
|
|
6663
|
+
* @dbxPipeCategory date
|
|
6664
|
+
* @dbxPipeRelated date-range-distance, date-format-distance, time-distance
|
|
6542
6665
|
* @example
|
|
6543
6666
|
* ```html
|
|
6544
6667
|
* <span>{{ someDate | dateDistance }}</span>
|
|
@@ -6564,10 +6687,10 @@ class DateDistancePipe {
|
|
|
6564
6687
|
}
|
|
6565
6688
|
return result;
|
|
6566
6689
|
}
|
|
6567
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6568
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6690
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DateDistancePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6691
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.10", ngImport: i0, type: DateDistancePipe, isStandalone: true, name: "dateDistance", pure: false });
|
|
6569
6692
|
}
|
|
6570
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6693
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DateDistancePipe, decorators: [{
|
|
6571
6694
|
type: Pipe,
|
|
6572
6695
|
args: [{
|
|
6573
6696
|
name: 'dateDistance',
|
|
@@ -6581,6 +6704,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6581
6704
|
*
|
|
6582
6705
|
* Returns `undefined` if the input is falsy or not a valid date.
|
|
6583
6706
|
*
|
|
6707
|
+
* @dbxPipe
|
|
6708
|
+
* @dbxPipeSlug date-format-distance
|
|
6709
|
+
* @dbxPipeCategory date
|
|
6710
|
+
* @dbxPipeRelated date-distance, date-format-from-to
|
|
6584
6711
|
* @example
|
|
6585
6712
|
* ```html
|
|
6586
6713
|
* <span>{{ someDate | dateFormatDistance:'MMM d, y' }}</span>
|
|
@@ -6606,10 +6733,10 @@ class DateFormatDistancePipe {
|
|
|
6606
6733
|
}
|
|
6607
6734
|
return undefined;
|
|
6608
6735
|
}
|
|
6609
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6610
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6736
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DateFormatDistancePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6737
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.10", ngImport: i0, type: DateFormatDistancePipe, isStandalone: true, name: "dateFormatDistance", pure: false });
|
|
6611
6738
|
}
|
|
6612
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6739
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DateFormatDistancePipe, decorators: [{
|
|
6613
6740
|
type: Pipe,
|
|
6614
6741
|
args: [{
|
|
6615
6742
|
name: 'dateFormatDistance',
|
|
@@ -6624,6 +6751,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6624
6751
|
* The start date is formatted using the Angular locale-aware {@link formatDate}, and the end time
|
|
6625
6752
|
* is computed by adding the given minutes and formatted as a time-only string.
|
|
6626
6753
|
*
|
|
6754
|
+
* @dbxPipe
|
|
6755
|
+
* @dbxPipeSlug date-format-from-to
|
|
6756
|
+
* @dbxPipeCategory date
|
|
6757
|
+
* @dbxPipeRelated date-time-range, date-format-distance
|
|
6627
6758
|
* @example
|
|
6628
6759
|
* ```html
|
|
6629
6760
|
* <span>{{ eventStart | dateFormatFromTo:'MMM d, h:mm a':90 }}</span>
|
|
@@ -6645,10 +6776,10 @@ class DateFormatFromToPipe {
|
|
|
6645
6776
|
transform(input, format, minutes) {
|
|
6646
6777
|
return DateFormatFromToPipe.formatFromTo(input, format, minutes, this.locale);
|
|
6647
6778
|
}
|
|
6648
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6649
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6779
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DateFormatFromToPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6780
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.10", ngImport: i0, type: DateFormatFromToPipe, isStandalone: true, name: "dateFormatFromTo" });
|
|
6650
6781
|
}
|
|
6651
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6782
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DateFormatFromToPipe, decorators: [{
|
|
6652
6783
|
type: Pipe,
|
|
6653
6784
|
args: [{
|
|
6654
6785
|
name: 'dateFormatFromTo',
|
|
@@ -6662,6 +6793,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6662
6793
|
*
|
|
6663
6794
|
* Includes both the date and time portions. Returns a fallback string when the input is `null` or `undefined`.
|
|
6664
6795
|
*
|
|
6796
|
+
* @dbxPipe
|
|
6797
|
+
* @dbxPipeSlug date-day-time-range
|
|
6798
|
+
* @dbxPipeCategory date
|
|
6799
|
+
* @dbxPipeRelated date-time-range, date-day-range
|
|
6665
6800
|
* @example
|
|
6666
6801
|
* ```html
|
|
6667
6802
|
* <span>{{ dateRange | dateDayTimeRange }}</span>
|
|
@@ -6675,10 +6810,10 @@ class DateDayTimeRangePipe {
|
|
|
6675
6810
|
transform(input, unavailable = 'Not Available') {
|
|
6676
6811
|
return input ? formatToDayTimeRangeString(input) : unavailable;
|
|
6677
6812
|
}
|
|
6678
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6679
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6813
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DateDayTimeRangePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6814
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.10", ngImport: i0, type: DateDayTimeRangePipe, isStandalone: true, name: "dateDayTimeRange" });
|
|
6680
6815
|
}
|
|
6681
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6816
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DateDayTimeRangePipe, decorators: [{
|
|
6682
6817
|
type: Pipe,
|
|
6683
6818
|
args: [{
|
|
6684
6819
|
name: 'dateDayTimeRange',
|
|
@@ -6692,6 +6827,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6692
6827
|
*
|
|
6693
6828
|
* Displays the date and time of both the start and end. Returns a fallback string when the input is `null` or `undefined`.
|
|
6694
6829
|
*
|
|
6830
|
+
* @dbxPipe
|
|
6831
|
+
* @dbxPipeSlug date-time-range
|
|
6832
|
+
* @dbxPipeCategory date
|
|
6833
|
+
* @dbxPipeRelated date-time-range-only, date-day-range, date-day-time-range
|
|
6695
6834
|
* @example
|
|
6696
6835
|
* ```html
|
|
6697
6836
|
* <span>{{ dateRange | dateTimeRange }}</span>
|
|
@@ -6705,10 +6844,10 @@ class DateTimeRangePipe {
|
|
|
6705
6844
|
transform(input, unavailable = 'Not Available') {
|
|
6706
6845
|
return input ? formatToTimeRangeString(input) : unavailable;
|
|
6707
6846
|
}
|
|
6708
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6709
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6847
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DateTimeRangePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6848
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.10", ngImport: i0, type: DateTimeRangePipe, isStandalone: true, name: "dateTimeRange" });
|
|
6710
6849
|
}
|
|
6711
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6850
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DateTimeRangePipe, decorators: [{
|
|
6712
6851
|
type: Pipe,
|
|
6713
6852
|
args: [{
|
|
6714
6853
|
name: 'dateTimeRange',
|
|
@@ -6723,6 +6862,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6723
6862
|
* This is an impure pipe that recalculates on every change detection cycle to keep the distance up to date.
|
|
6724
6863
|
* Returns a fallback string when the input is `null` or `undefined`.
|
|
6725
6864
|
*
|
|
6865
|
+
* @dbxPipe
|
|
6866
|
+
* @dbxPipeSlug date-range-distance
|
|
6867
|
+
* @dbxPipeCategory date
|
|
6868
|
+
* @dbxPipeRelated date-distance
|
|
6726
6869
|
* @example
|
|
6727
6870
|
* ```html
|
|
6728
6871
|
* <span>{{ someDate | dateRangeDistance }}</span>
|
|
@@ -6736,10 +6879,10 @@ class DateRangeDistancePipe {
|
|
|
6736
6879
|
transform(input, unavailable = 'Not Available') {
|
|
6737
6880
|
return input != null ? formatDateDistance(input, new Date()) : unavailable;
|
|
6738
6881
|
}
|
|
6739
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6740
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6882
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DateRangeDistancePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6883
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.10", ngImport: i0, type: DateRangeDistancePipe, isStandalone: true, name: "dateRangeDistance", pure: false });
|
|
6741
6884
|
}
|
|
6742
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6885
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DateRangeDistancePipe, decorators: [{
|
|
6743
6886
|
type: Pipe,
|
|
6744
6887
|
args: [{
|
|
6745
6888
|
name: 'dateRangeDistance',
|
|
@@ -6753,6 +6896,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6753
6896
|
*
|
|
6754
6897
|
* Displays only the time portion (no date). Returns a fallback string when the input is `null` or `undefined`.
|
|
6755
6898
|
*
|
|
6899
|
+
* @dbxPipe
|
|
6900
|
+
* @dbxPipeSlug date-time-range-only
|
|
6901
|
+
* @dbxPipeCategory date
|
|
6902
|
+
* @dbxPipeRelated date-time-range
|
|
6756
6903
|
* @example
|
|
6757
6904
|
* ```html
|
|
6758
6905
|
* <span>{{ dateRange | dateTimeRangeOnly }}</span>
|
|
@@ -6766,10 +6913,10 @@ class DateTimeRangeOnlyPipe {
|
|
|
6766
6913
|
transform(input, unavailable = 'Not Available') {
|
|
6767
6914
|
return input ? formatToTimeRangeString(input, undefined, true) : unavailable;
|
|
6768
6915
|
}
|
|
6769
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6770
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6916
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DateTimeRangeOnlyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6917
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.10", ngImport: i0, type: DateTimeRangeOnlyPipe, isStandalone: true, name: "dateTimeRangeOnly" });
|
|
6771
6918
|
}
|
|
6772
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6919
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DateTimeRangeOnlyPipe, decorators: [{
|
|
6773
6920
|
type: Pipe,
|
|
6774
6921
|
args: [{
|
|
6775
6922
|
name: 'dateTimeRangeOnly',
|
|
@@ -6785,6 +6932,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6785
6932
|
* local time in a target timezone and need to convert it back to the system timezone.
|
|
6786
6933
|
* Returns `undefined` if either the input date or timezone is falsy.
|
|
6787
6934
|
*
|
|
6935
|
+
* @dbxPipe
|
|
6936
|
+
* @dbxPipeSlug target-date-to-system-date
|
|
6937
|
+
* @dbxPipeCategory date
|
|
6938
|
+
* @dbxPipeRelated system-date-to-target-date, timezone-abbreviation
|
|
6788
6939
|
* @example
|
|
6789
6940
|
* ```html
|
|
6790
6941
|
* <span>{{ targetDate | targetDateToSystemDate:'America/New_York' | date:'short' }}</span>
|
|
@@ -6795,10 +6946,10 @@ class TargetDateToSystemDatePipe {
|
|
|
6795
6946
|
transform(input, timezone) {
|
|
6796
6947
|
return input && timezone ? dateTimezoneUtcNormal({ timezone }).targetDateToSystemDate(input) : undefined;
|
|
6797
6948
|
}
|
|
6798
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6799
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6949
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: TargetDateToSystemDatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6950
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.10", ngImport: i0, type: TargetDateToSystemDatePipe, isStandalone: true, name: "targetDateToSystemDate", pure: false });
|
|
6800
6951
|
}
|
|
6801
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6952
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: TargetDateToSystemDatePipe, decorators: [{
|
|
6802
6953
|
type: Pipe,
|
|
6803
6954
|
args: [{
|
|
6804
6955
|
name: 'targetDateToSystemDate',
|
|
@@ -6813,6 +6964,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6813
6964
|
* Accepts an optional {@link FormatDateRangeDistanceFunctionConfig} to customize the output format.
|
|
6814
6965
|
* Returns a fallback string when the input is `null` or `undefined`.
|
|
6815
6966
|
*
|
|
6967
|
+
* @dbxPipe
|
|
6968
|
+
* @dbxPipeSlug date-time-range-only-distance
|
|
6969
|
+
* @dbxPipeCategory date
|
|
6970
|
+
* @dbxPipeRelated date-time-range, date-range-distance
|
|
6816
6971
|
* @example
|
|
6817
6972
|
* ```html
|
|
6818
6973
|
* <span>{{ dateRange | dateTimeRangeOnlyDistance }}</span>
|
|
@@ -6829,10 +6984,10 @@ class DateTimeRangeOnlyDistancePipe {
|
|
|
6829
6984
|
transform(input, config, unavailable = 'Not Available') {
|
|
6830
6985
|
return input ? formatDateRangeDistance(input, { ...config }) : unavailable;
|
|
6831
6986
|
}
|
|
6832
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6833
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
6987
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DateTimeRangeOnlyDistancePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
6988
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.10", ngImport: i0, type: DateTimeRangeOnlyDistancePipe, isStandalone: true, name: "dateTimeRangeOnlyDistance" });
|
|
6834
6989
|
}
|
|
6835
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
6990
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DateTimeRangeOnlyDistancePipe, decorators: [{
|
|
6836
6991
|
type: Pipe,
|
|
6837
6992
|
args: [{
|
|
6838
6993
|
name: 'dateTimeRangeOnlyDistance',
|
|
@@ -6848,6 +7003,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6848
7003
|
* Defaults to the current date if no reference date is provided.
|
|
6849
7004
|
* Returns `undefined` if the timezone is falsy.
|
|
6850
7005
|
*
|
|
7006
|
+
* @dbxPipe
|
|
7007
|
+
* @dbxPipeSlug timezone-abbreviation
|
|
7008
|
+
* @dbxPipeCategory date
|
|
7009
|
+
* @dbxPipeRelated system-date-to-target-date, target-date-to-system-date
|
|
6851
7010
|
* @example
|
|
6852
7011
|
* ```html
|
|
6853
7012
|
* <span>{{ 'America/New_York' | timezoneAbbreviation }}</span>
|
|
@@ -6861,10 +7020,10 @@ class TimezoneAbbreviationPipe {
|
|
|
6861
7020
|
transform(timezone, input) {
|
|
6862
7021
|
return timezone ? getTimezoneAbbreviation(timezone, input ?? undefined) : undefined;
|
|
6863
7022
|
}
|
|
6864
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6865
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
7023
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: TimezoneAbbreviationPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
7024
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.10", ngImport: i0, type: TimezoneAbbreviationPipe, isStandalone: true, name: "timezoneAbbreviation", pure: false });
|
|
6866
7025
|
}
|
|
6867
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7026
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: TimezoneAbbreviationPipe, decorators: [{
|
|
6868
7027
|
type: Pipe,
|
|
6869
7028
|
args: [{
|
|
6870
7029
|
name: 'timezoneAbbreviation',
|
|
@@ -6879,6 +7038,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6879
7038
|
* This is useful when you have a date in the system's timezone and need to display it as if it were in the target timezone.
|
|
6880
7039
|
* Returns `undefined` if either the input date or timezone is falsy.
|
|
6881
7040
|
*
|
|
7041
|
+
* @dbxPipe
|
|
7042
|
+
* @dbxPipeSlug system-date-to-target-date
|
|
7043
|
+
* @dbxPipeCategory date
|
|
7044
|
+
* @dbxPipeRelated target-date-to-system-date, timezone-abbreviation
|
|
6882
7045
|
* @example
|
|
6883
7046
|
* ```html
|
|
6884
7047
|
* <span>{{ systemDate | systemDateToTargetDate:'America/New_York' | date:'short' }}</span>
|
|
@@ -6889,10 +7052,10 @@ class SystemDateToTargetDatePipe {
|
|
|
6889
7052
|
transform(input, timezone) {
|
|
6890
7053
|
return input && timezone ? dateTimezoneUtcNormal({ timezone }).systemDateToTargetDate(input) : undefined;
|
|
6891
7054
|
}
|
|
6892
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6893
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
7055
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: SystemDateToTargetDatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
7056
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.10", ngImport: i0, type: SystemDateToTargetDatePipe, isStandalone: true, name: "systemDateToTargetDate", pure: false });
|
|
6894
7057
|
}
|
|
6895
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7058
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: SystemDateToTargetDatePipe, decorators: [{
|
|
6896
7059
|
type: Pipe,
|
|
6897
7060
|
args: [{
|
|
6898
7061
|
name: 'systemDateToTargetDate',
|
|
@@ -6910,6 +7073,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6910
7073
|
*
|
|
6911
7074
|
* A `~` prefix is added when the value is rounded up. Returns `undefined` for `null` or non-numeric input.
|
|
6912
7075
|
*
|
|
7076
|
+
* @dbxPipe
|
|
7077
|
+
* @dbxPipeSlug minutes-string
|
|
7078
|
+
* @dbxPipeCategory date
|
|
7079
|
+
* @dbxPipeRelated to-minutes
|
|
6913
7080
|
* @example
|
|
6914
7081
|
* ```html
|
|
6915
7082
|
* <span>{{ 90 | minutesString }}</span>
|
|
@@ -6926,7 +7093,7 @@ class MinutesStringPipe {
|
|
|
6926
7093
|
transform(input) {
|
|
6927
7094
|
const minutes = Number(input);
|
|
6928
7095
|
let result;
|
|
6929
|
-
if (input != null && !isNaN(minutes)) {
|
|
7096
|
+
if (input != null && !Number.isNaN(minutes)) {
|
|
6930
7097
|
if (minutes > MINUTES_IN_DAY * 2.5) {
|
|
6931
7098
|
const unrounded = minutes / MINUTES_IN_DAY;
|
|
6932
7099
|
const days = Math.ceil(unrounded);
|
|
@@ -6943,10 +7110,10 @@ class MinutesStringPipe {
|
|
|
6943
7110
|
}
|
|
6944
7111
|
return result;
|
|
6945
7112
|
}
|
|
6946
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6947
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
7113
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: MinutesStringPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
7114
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.10", ngImport: i0, type: MinutesStringPipe, isStandalone: true, name: "minutesString", pure: false });
|
|
6948
7115
|
}
|
|
6949
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7116
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: MinutesStringPipe, decorators: [{
|
|
6950
7117
|
type: Pipe,
|
|
6951
7118
|
args: [{
|
|
6952
7119
|
name: 'minutesString',
|
|
@@ -6962,6 +7129,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6962
7129
|
* Otherwise, returns a human-readable distance string with suffix (e.g., "in 3 hours").
|
|
6963
7130
|
* Returns the `unavailable` string when the input is falsy.
|
|
6964
7131
|
*
|
|
7132
|
+
* @dbxPipe
|
|
7133
|
+
* @dbxPipeSlug time-countdown-distance
|
|
7134
|
+
* @dbxPipeCategory date
|
|
7135
|
+
* @dbxPipeRelated time-distance
|
|
6965
7136
|
* @example
|
|
6966
7137
|
* ```html
|
|
6967
7138
|
* <span>{{ futureDate | timeCountdownDistance }}</span>
|
|
@@ -6991,10 +7162,10 @@ class TimeDistanceCountdownPipe {
|
|
|
6991
7162
|
}
|
|
6992
7163
|
return result;
|
|
6993
7164
|
}
|
|
6994
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
6995
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
7165
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: TimeDistanceCountdownPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
7166
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.10", ngImport: i0, type: TimeDistanceCountdownPipe, isStandalone: true, name: "timeCountdownDistance", pure: false });
|
|
6996
7167
|
}
|
|
6997
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7168
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: TimeDistanceCountdownPipe, decorators: [{
|
|
6998
7169
|
type: Pipe,
|
|
6999
7170
|
args: [{
|
|
7000
7171
|
name: 'timeCountdownDistance',
|
|
@@ -7008,6 +7179,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
7008
7179
|
* Uses date-fns {@link formatDistance} to produce output like "3 hours ago" or "in 2 days".
|
|
7009
7180
|
* Returns the `unavailable` string when the input is falsy.
|
|
7010
7181
|
*
|
|
7182
|
+
* @dbxPipe
|
|
7183
|
+
* @dbxPipeSlug time-distance
|
|
7184
|
+
* @dbxPipeCategory date
|
|
7185
|
+
* @dbxPipeRelated date-distance, time-countdown-distance
|
|
7011
7186
|
* @example
|
|
7012
7187
|
* ```html
|
|
7013
7188
|
* <span>{{ someDate | timeDistance }}</span>
|
|
@@ -7034,10 +7209,10 @@ class TimeDistancePipe {
|
|
|
7034
7209
|
}
|
|
7035
7210
|
return result;
|
|
7036
7211
|
}
|
|
7037
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7038
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
7212
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: TimeDistancePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
7213
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.10", ngImport: i0, type: TimeDistancePipe, isStandalone: true, name: "timeDistance", pure: false });
|
|
7039
7214
|
}
|
|
7040
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7215
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: TimeDistancePipe, decorators: [{
|
|
7041
7216
|
type: Pipe,
|
|
7042
7217
|
args: [{
|
|
7043
7218
|
name: 'timeDistance',
|
|
@@ -7051,6 +7226,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
7051
7226
|
*
|
|
7052
7227
|
* Returns the original value (0 or falsy) if the input is falsy.
|
|
7053
7228
|
*
|
|
7229
|
+
* @dbxPipe
|
|
7230
|
+
* @dbxPipeSlug to-minutes
|
|
7231
|
+
* @dbxPipeCategory date
|
|
7232
|
+
* @dbxPipeRelated minutes-string
|
|
7054
7233
|
* @example
|
|
7055
7234
|
* ```html
|
|
7056
7235
|
* <span>{{ 180000 | toMinutes }}</span>
|
|
@@ -7068,10 +7247,10 @@ class ToMinutesPipe {
|
|
|
7068
7247
|
}
|
|
7069
7248
|
return result;
|
|
7070
7249
|
}
|
|
7071
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7072
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
7250
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: ToMinutesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
7251
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.10", ngImport: i0, type: ToMinutesPipe, isStandalone: true, name: "toMinutes" });
|
|
7073
7252
|
}
|
|
7074
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7253
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: ToMinutesPipe, decorators: [{
|
|
7075
7254
|
type: Pipe,
|
|
7076
7255
|
args: [{
|
|
7077
7256
|
name: 'toMinutes',
|
|
@@ -7085,6 +7264,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
7085
7264
|
*
|
|
7086
7265
|
* Returns `undefined` for falsy input. If serialization fails, returns `'ERROR'` and logs the error to the console.
|
|
7087
7266
|
*
|
|
7267
|
+
* @dbxPipe
|
|
7268
|
+
* @dbxPipeSlug prettyjson
|
|
7269
|
+
* @dbxPipeCategory misc
|
|
7088
7270
|
* @example
|
|
7089
7271
|
* ```html
|
|
7090
7272
|
* <pre>{{ myObject | prettyjson }}</pre>
|
|
@@ -7093,6 +7275,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
7093
7275
|
* <pre>{{ myObject | prettyjson:4 }}</pre>
|
|
7094
7276
|
* <!-- Output: formatted JSON with 4-space indentation -->
|
|
7095
7277
|
* ```
|
|
7278
|
+
* @param spacing Indent spaces; defaults to `2`.
|
|
7096
7279
|
*/
|
|
7097
7280
|
class PrettyJsonPipe {
|
|
7098
7281
|
static toPrettyJson(input, spacing = 2) {
|
|
@@ -7111,10 +7294,10 @@ class PrettyJsonPipe {
|
|
|
7111
7294
|
transform(input, spacing) {
|
|
7112
7295
|
return PrettyJsonPipe.toPrettyJson(input, spacing);
|
|
7113
7296
|
}
|
|
7114
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7115
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
7297
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: PrettyJsonPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
7298
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.10", ngImport: i0, type: PrettyJsonPipe, isStandalone: true, name: "prettyjson" });
|
|
7116
7299
|
}
|
|
7117
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7300
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: PrettyJsonPipe, decorators: [{
|
|
7118
7301
|
type: Pipe,
|
|
7119
7302
|
args: [{
|
|
7120
7303
|
name: 'prettyjson',
|
|
@@ -7127,6 +7310,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
7127
7310
|
*
|
|
7128
7311
|
* Returns the original value if the input is `null` or `undefined`.
|
|
7129
7312
|
*
|
|
7313
|
+
* @dbxPipe
|
|
7314
|
+
* @dbxPipeSlug cut-text
|
|
7315
|
+
* @dbxPipeCategory value
|
|
7316
|
+
* @dbxPipeSkillRefs dbx-value-pipes
|
|
7130
7317
|
* @example
|
|
7131
7318
|
* ```html
|
|
7132
7319
|
* <span>{{ 'Hello World' | cutText:5 }}</span>
|
|
@@ -7135,15 +7322,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
7135
7322
|
* <span>{{ longText | cutText:20:'--' }}</span>
|
|
7136
7323
|
* <!-- Output: "Some long text here--" -->
|
|
7137
7324
|
* ```
|
|
7325
|
+
* @param maxLength Maximum allowed length before truncation.
|
|
7326
|
+
* @param endText Suffix appended when truncation occurs.
|
|
7138
7327
|
*/
|
|
7139
7328
|
class CutTextPipe {
|
|
7140
7329
|
transform(input, maxLength, endText) {
|
|
7141
7330
|
return input != null ? cutString(input, maxLength, endText) : input;
|
|
7142
7331
|
}
|
|
7143
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7144
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
7332
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: CutTextPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
7333
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.10", ngImport: i0, type: CutTextPipe, isStandalone: true, name: "cutText" });
|
|
7145
7334
|
}
|
|
7146
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7335
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: CutTextPipe, decorators: [{
|
|
7147
7336
|
type: Pipe,
|
|
7148
7337
|
args: [{
|
|
7149
7338
|
name: 'cutText',
|
|
@@ -7159,20 +7348,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
7159
7348
|
* for getter functions whose return value may change over time.
|
|
7160
7349
|
* Use {@link GetValueOncePipe} (`getValueOnce`) for a pure alternative when the value is static.
|
|
7161
7350
|
*
|
|
7351
|
+
* @dbxPipe
|
|
7352
|
+
* @dbxPipeSlug get-value
|
|
7353
|
+
* @dbxPipeCategory value
|
|
7354
|
+
* @dbxPipeRelated get-value-once
|
|
7355
|
+
* @dbxPipeSkillRefs dbx-value-pipes
|
|
7162
7356
|
* @example
|
|
7163
7357
|
* ```html
|
|
7164
7358
|
* <span>{{ myGetterOrValue | getValue }}</span>
|
|
7165
7359
|
* <span>{{ myGetterFn | getValue:someArg }}</span>
|
|
7166
7360
|
* ```
|
|
7361
|
+
* @param args Optional argument forwarded to the getter function.
|
|
7167
7362
|
*/
|
|
7168
7363
|
class GetValuePipe {
|
|
7169
7364
|
transform(input, args) {
|
|
7170
7365
|
return getValueFromGetter(input, args);
|
|
7171
7366
|
}
|
|
7172
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7173
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
7367
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: GetValuePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
7368
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.10", ngImport: i0, type: GetValuePipe, isStandalone: true, name: "getValue", pure: false });
|
|
7174
7369
|
}
|
|
7175
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7370
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: GetValuePipe, decorators: [{
|
|
7176
7371
|
type: Pipe,
|
|
7177
7372
|
args: [{
|
|
7178
7373
|
name: 'getValue',
|
|
@@ -7186,19 +7381,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
7186
7381
|
* This is a pure pipe that only re-evaluates when the input reference changes.
|
|
7187
7382
|
* Use {@link GetValuePipe} (`getValue`) if the getter function's return value may change between cycles.
|
|
7188
7383
|
*
|
|
7384
|
+
* @dbxPipe
|
|
7385
|
+
* @dbxPipeSlug get-value-once
|
|
7386
|
+
* @dbxPipeCategory value
|
|
7387
|
+
* @dbxPipeRelated get-value
|
|
7388
|
+
* @dbxPipeSkillRefs dbx-value-pipes
|
|
7189
7389
|
* @example
|
|
7190
7390
|
* ```html
|
|
7191
7391
|
* <span>{{ myGetterOrValue | getValueOnce }}</span>
|
|
7192
7392
|
* ```
|
|
7393
|
+
* @param args Optional argument forwarded to the getter function.
|
|
7193
7394
|
*/
|
|
7194
7395
|
class GetValueOncePipe {
|
|
7195
7396
|
transform(input, args) {
|
|
7196
7397
|
return getValueFromGetter(input, args);
|
|
7197
7398
|
}
|
|
7198
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7199
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
7399
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: GetValueOncePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
7400
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.10", ngImport: i0, type: GetValueOncePipe, isStandalone: true, name: "getValueOnce" });
|
|
7200
7401
|
}
|
|
7201
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7402
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: GetValueOncePipe, decorators: [{
|
|
7202
7403
|
type: Pipe,
|
|
7203
7404
|
args: [{
|
|
7204
7405
|
name: 'getValueOnce',
|
|
@@ -7212,6 +7413,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
7212
7413
|
*
|
|
7213
7414
|
* Optionally accepts a default string to display when the input is `null` or `undefined`.
|
|
7214
7415
|
*
|
|
7416
|
+
* @dbxPipe
|
|
7417
|
+
* @dbxPipeSlug dollar-amount
|
|
7418
|
+
* @dbxPipeCategory value
|
|
7419
|
+
* @dbxPipeSkillRefs dbx-value-pipes
|
|
7215
7420
|
* @example
|
|
7216
7421
|
* ```html
|
|
7217
7422
|
* <span>{{ 19.5 | dollarAmount }}</span>
|
|
@@ -7220,15 +7425,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
7220
7425
|
* <span>{{ nullValue | dollarAmount:'N/A' }}</span>
|
|
7221
7426
|
* <!-- Output: "N/A" -->
|
|
7222
7427
|
* ```
|
|
7428
|
+
* @param defaultIfNull String to display when the input is `null` or `undefined`. Defaults to formatting `null` through `dollarAmountString`.
|
|
7223
7429
|
*/
|
|
7224
7430
|
class DollarAmountPipe {
|
|
7225
7431
|
transform(input, defaultIfNull) {
|
|
7226
7432
|
return defaultIfNull == null || input != null ? dollarAmountString(input) : defaultIfNull;
|
|
7227
7433
|
}
|
|
7228
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7229
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.
|
|
7434
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DollarAmountPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
7435
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.10", ngImport: i0, type: DollarAmountPipe, isStandalone: true, name: "dollarAmount" });
|
|
7230
7436
|
}
|
|
7231
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7437
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DollarAmountPipe, decorators: [{
|
|
7232
7438
|
type: Pipe,
|
|
7233
7439
|
args: [{
|
|
7234
7440
|
name: 'dollarAmount',
|
|
@@ -7258,10 +7464,10 @@ class AbstractFilterSourceConnectorDirective {
|
|
|
7258
7464
|
connectWithSource(filterSource) {
|
|
7259
7465
|
this._source.next(filterSource);
|
|
7260
7466
|
}
|
|
7261
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7262
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
7467
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: AbstractFilterSourceConnectorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7468
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.10", type: AbstractFilterSourceConnectorDirective, isStandalone: true, ngImport: i0 });
|
|
7263
7469
|
}
|
|
7264
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7470
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: AbstractFilterSourceConnectorDirective, decorators: [{
|
|
7265
7471
|
type: Directive
|
|
7266
7472
|
}] });
|
|
7267
7473
|
|
|
@@ -7385,18 +7591,20 @@ class AbstractFilterSourceDirective {
|
|
|
7385
7591
|
setInitialFilterTakesPriority(initialFilterTakesPriority) {
|
|
7386
7592
|
this._defaultFilterSource.setInitialFilterTakesPriority(initialFilterTakesPriority);
|
|
7387
7593
|
}
|
|
7388
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7389
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
7594
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: AbstractFilterSourceDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7595
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.10", type: AbstractFilterSourceDirective, isStandalone: true, ngImport: i0 });
|
|
7390
7596
|
}
|
|
7391
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7597
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: AbstractFilterSourceDirective, decorators: [{
|
|
7392
7598
|
type: Directive
|
|
7393
7599
|
}] });
|
|
7394
7600
|
|
|
7395
7601
|
/**
|
|
7396
|
-
* Connects the host element's {@link FilterSource} to an ancestor {@link FilterSourceConnector} on
|
|
7602
|
+
* Connects the host element's {@link FilterSource} to an ancestor {@link FilterSourceConnector} on init. Place on an element whose own directive contributes a `FilterSource` (via `host: true`) so it auto-wires to the parent connector.
|
|
7397
7603
|
*
|
|
7398
|
-
*
|
|
7399
|
-
*
|
|
7604
|
+
* @dbxFilter
|
|
7605
|
+
* @dbxFilterSlug connect-source
|
|
7606
|
+
* @dbxFilterRelated source, source-connector
|
|
7607
|
+
* @dbxFilterSkillRefs dbx__ref__dbx-component-patterns
|
|
7400
7608
|
*
|
|
7401
7609
|
* @example
|
|
7402
7610
|
* ```html
|
|
@@ -7411,10 +7619,10 @@ class DbxFilterConnectSourceDirective {
|
|
|
7411
7619
|
ngOnInit() {
|
|
7412
7620
|
this.filterSourceConnector.connectWithSource(this.filterSource);
|
|
7413
7621
|
}
|
|
7414
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7415
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
7622
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxFilterConnectSourceDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7623
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.10", type: DbxFilterConnectSourceDirective, isStandalone: true, selector: "[dbxFilterConnectSource]", ngImport: i0 });
|
|
7416
7624
|
}
|
|
7417
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7625
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxFilterConnectSourceDirective, decorators: [{
|
|
7418
7626
|
type: Directive,
|
|
7419
7627
|
args: [{
|
|
7420
7628
|
selector: '[dbxFilterConnectSource]',
|
|
@@ -7423,22 +7631,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
7423
7631
|
}] });
|
|
7424
7632
|
|
|
7425
7633
|
/**
|
|
7426
|
-
*
|
|
7634
|
+
* Acts as both {@link FilterSource} and {@link FilterSourceConnector} — bridges a filter from one part of the template to another. Pair with `[dbxFilterConnectSource]` on the inner element that owns the source.
|
|
7427
7635
|
*
|
|
7428
|
-
*
|
|
7636
|
+
* @dbxFilter
|
|
7637
|
+
* @dbxFilterSlug source-connector
|
|
7638
|
+
* @dbxFilterRelated source, connect-source
|
|
7639
|
+
* @dbxFilterSkillRefs dbx__ref__dbx-component-patterns
|
|
7429
7640
|
*
|
|
7430
7641
|
* @example
|
|
7431
7642
|
* ```html
|
|
7432
7643
|
* <div dbxFilterSourceConnector>
|
|
7433
|
-
* <my-
|
|
7644
|
+
* <my-filter-form dbxFilterSource dbxFilterConnectSource></my-filter-form>
|
|
7645
|
+
* <my-list></my-list>
|
|
7434
7646
|
* </div>
|
|
7435
7647
|
* ```
|
|
7436
7648
|
*/
|
|
7437
7649
|
class DbxFilterSourceConnectorDirective extends AbstractFilterSourceConnectorDirective {
|
|
7438
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7439
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
7650
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxFilterSourceConnectorDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
7651
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.10", type: DbxFilterSourceConnectorDirective, isStandalone: true, selector: "[dbxFilterSourceConnector]", providers: [...provideFilterSource(DbxFilterSourceConnectorDirective), ...provideFilterSourceConnector(DbxFilterSourceConnectorDirective)], usesInheritance: true, ngImport: i0 });
|
|
7440
7652
|
}
|
|
7441
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7653
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxFilterSourceConnectorDirective, decorators: [{
|
|
7442
7654
|
type: Directive,
|
|
7443
7655
|
args: [{
|
|
7444
7656
|
selector: '[dbxFilterSourceConnector]',
|
|
@@ -7465,10 +7677,10 @@ class AbstractDbxFilterMapInstanceDirective {
|
|
|
7465
7677
|
setFilterMapKey(filterMapKey) {
|
|
7466
7678
|
this._currentFilterMapKey.next(filterMapKey);
|
|
7467
7679
|
}
|
|
7468
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7469
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
7680
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: AbstractDbxFilterMapInstanceDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7681
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.10", type: AbstractDbxFilterMapInstanceDirective, isStandalone: true, ngImport: i0 });
|
|
7470
7682
|
}
|
|
7471
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7683
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: AbstractDbxFilterMapInstanceDirective, decorators: [{
|
|
7472
7684
|
type: Directive
|
|
7473
7685
|
}] });
|
|
7474
7686
|
|
|
@@ -7483,31 +7695,39 @@ class AbstractDbxFilterMapSourceDirective extends AbstractDbxFilterMapInstanceDi
|
|
|
7483
7695
|
initWithFilter(filterObs) {
|
|
7484
7696
|
this.instance$.pipe(first()).subscribe((x) => x.initWithFilter(filterObs));
|
|
7485
7697
|
}
|
|
7486
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7487
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
7698
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: AbstractDbxFilterMapSourceDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
7699
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.10", type: AbstractDbxFilterMapSourceDirective, isStandalone: true, usesInheritance: true, ngImport: i0 });
|
|
7488
7700
|
}
|
|
7489
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7701
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: AbstractDbxFilterMapSourceDirective, decorators: [{
|
|
7490
7702
|
type: Directive
|
|
7491
7703
|
}] });
|
|
7492
7704
|
/**
|
|
7493
|
-
*
|
|
7705
|
+
* Provides a {@link FilterSource} for a keyed entry in an ancestor {@link FilterMap}. Children can inject the source as if it were the only filter on the page; the map dispatches by key.
|
|
7706
|
+
*
|
|
7707
|
+
* @dbxFilter
|
|
7708
|
+
* @dbxFilterSlug map-source
|
|
7709
|
+
* @dbxFilterRelated map, map-source-connector
|
|
7710
|
+
* @dbxFilterSkillRefs dbx__ref__dbx-component-patterns
|
|
7494
7711
|
*
|
|
7495
7712
|
* @example
|
|
7496
7713
|
* ```html
|
|
7497
7714
|
* <div dbxFilterMap>
|
|
7498
|
-
* <div [dbxFilterMapSource]="'
|
|
7715
|
+
* <div [dbxFilterMapSource]="'profileList'">
|
|
7499
7716
|
* <my-filtered-list></my-filtered-list>
|
|
7500
7717
|
* </div>
|
|
7501
7718
|
* </div>
|
|
7502
7719
|
* ```
|
|
7503
7720
|
*/
|
|
7504
7721
|
class DbxFilterMapSourceDirective extends AbstractDbxFilterMapSourceDirective {
|
|
7722
|
+
/**
|
|
7723
|
+
* The map key this source binds to.
|
|
7724
|
+
*/
|
|
7505
7725
|
dbxFilterMapSource = input(...(ngDevMode ? [undefined, { debugName: "dbxFilterMapSource" }] : /* istanbul ignore next */ []));
|
|
7506
7726
|
_dbxFilterMapSourceEffect = effect(() => this.setFilterMapKey(this.dbxFilterMapSource()), ...(ngDevMode ? [{ debugName: "_dbxFilterMapSourceEffect" }] : /* istanbul ignore next */ []));
|
|
7507
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7508
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
7727
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxFilterMapSourceDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
7728
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.10", 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 });
|
|
7509
7729
|
}
|
|
7510
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7730
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxFilterMapSourceDirective, decorators: [{
|
|
7511
7731
|
type: Directive,
|
|
7512
7732
|
args: [{
|
|
7513
7733
|
selector: '[dbxFilterMapSource]',
|
|
@@ -7518,20 +7738,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
7518
7738
|
}], propDecorators: { dbxFilterMapSource: [{ type: i0.Input, args: [{ isSignal: true, alias: "dbxFilterMapSource", required: false }] }] } });
|
|
7519
7739
|
|
|
7520
7740
|
/**
|
|
7521
|
-
*
|
|
7741
|
+
* Both {@link FilterSource} and {@link FilterSourceConnector} for a keyed entry in an ancestor {@link FilterMap}. Connects an external filter source to one map slot and re-emits that slot's filter.
|
|
7522
7742
|
*
|
|
7523
|
-
*
|
|
7743
|
+
* @dbxFilter
|
|
7744
|
+
* @dbxFilterSlug map-source-connector
|
|
7745
|
+
* @dbxFilterRelated map, map-source
|
|
7746
|
+
* @dbxFilterSkillRefs dbx__ref__dbx-component-patterns
|
|
7524
7747
|
*
|
|
7525
7748
|
* @example
|
|
7526
7749
|
* ```html
|
|
7527
7750
|
* <div dbxFilterMap>
|
|
7528
|
-
* <div [dbxFilterMapSourceConnector]="'
|
|
7529
|
-
* <my-list
|
|
7751
|
+
* <div [dbxFilterMapSourceConnector]="'profileList'">
|
|
7752
|
+
* <my-list></my-list>
|
|
7530
7753
|
* </div>
|
|
7531
7754
|
* </div>
|
|
7532
7755
|
* ```
|
|
7533
7756
|
*/
|
|
7534
7757
|
class DbxFilterMapSourceConnectorDirective extends AbstractDbxFilterMapSourceDirective {
|
|
7758
|
+
/**
|
|
7759
|
+
* The map key this connector binds to.
|
|
7760
|
+
*/
|
|
7535
7761
|
dbxFilterMapSourceConnector = input(...(ngDevMode ? [undefined, { debugName: "dbxFilterMapSourceConnector" }] : /* istanbul ignore next */ []));
|
|
7536
7762
|
_dbxFilterMapSourceConnectorEffect = effect(() => this.setFilterMapKey(this.dbxFilterMapSourceConnector()), ...(ngDevMode ? [{ debugName: "_dbxFilterMapSourceConnectorEffect" }] : /* istanbul ignore next */ []));
|
|
7537
7763
|
// MARK: FilterSourceConnector
|
|
@@ -7543,10 +7769,10 @@ class DbxFilterMapSourceConnectorDirective extends AbstractDbxFilterMapSourceDir
|
|
|
7543
7769
|
}
|
|
7544
7770
|
});
|
|
7545
7771
|
}
|
|
7546
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7547
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
7772
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxFilterMapSourceConnectorDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
7773
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.10", 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 });
|
|
7548
7774
|
}
|
|
7549
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7775
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxFilterMapSourceConnectorDirective, decorators: [{
|
|
7550
7776
|
type: Directive,
|
|
7551
7777
|
args: [{
|
|
7552
7778
|
selector: '[dbxFilterMapSourceConnector]',
|
|
@@ -7557,10 +7783,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
7557
7783
|
}], propDecorators: { dbxFilterMapSourceConnector: [{ type: i0.Input, args: [{ isSignal: true, alias: "dbxFilterMapSourceConnector", required: false }] }] } });
|
|
7558
7784
|
|
|
7559
7785
|
/**
|
|
7560
|
-
*
|
|
7786
|
+
* Provides a {@link FilterMap} instance in DI so multiple child sources can register / look up filters by string key. Use when one screen needs several independent filter contexts.
|
|
7561
7787
|
*
|
|
7562
|
-
*
|
|
7563
|
-
* map
|
|
7788
|
+
* @dbxFilter
|
|
7789
|
+
* @dbxFilterSlug map
|
|
7790
|
+
* @dbxFilterRelated map-source, map-source-connector
|
|
7791
|
+
* @dbxFilterSkillRefs dbx__ref__dbx-component-patterns
|
|
7564
7792
|
*
|
|
7565
7793
|
* @example
|
|
7566
7794
|
* ```html
|
|
@@ -7572,10 +7800,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
7572
7800
|
*/
|
|
7573
7801
|
class DbxFilterMapDirective {
|
|
7574
7802
|
filterMap = clean(inject((FilterMap)));
|
|
7575
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7576
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
7803
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxFilterMapDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7804
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.10", type: DbxFilterMapDirective, isStandalone: true, selector: "[dbxFilterMap]", providers: [FilterMap], exportAs: ["dbxFilterMap"], ngImport: i0 });
|
|
7577
7805
|
}
|
|
7578
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7806
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxFilterMapDirective, decorators: [{
|
|
7579
7807
|
type: Directive,
|
|
7580
7808
|
args: [{
|
|
7581
7809
|
selector: '[dbxFilterMap]',
|
|
@@ -7605,20 +7833,25 @@ function isClickablePartialFilterPreset(preset) {
|
|
|
7605
7833
|
}
|
|
7606
7834
|
|
|
7607
7835
|
/**
|
|
7608
|
-
* Provides a {@link FilterSource} in
|
|
7836
|
+
* Provides a {@link FilterSource} in DI so child components can inject and consume the current filter value. Use this on a wrapper element when the child is the canonical owner of the filter (a filter form, a chip group).
|
|
7837
|
+
*
|
|
7838
|
+
* @dbxFilter
|
|
7839
|
+
* @dbxFilterSlug source
|
|
7840
|
+
* @dbxFilterRelated connect-source, source-connector, map-source
|
|
7841
|
+
* @dbxFilterSkillRefs dbx__ref__dbx-component-patterns
|
|
7609
7842
|
*
|
|
7610
7843
|
* @example
|
|
7611
7844
|
* ```html
|
|
7612
7845
|
* <div dbxFilterSource>
|
|
7613
|
-
* <my-
|
|
7846
|
+
* <my-filter-form></my-filter-form>
|
|
7614
7847
|
* </div>
|
|
7615
7848
|
* ```
|
|
7616
7849
|
*/
|
|
7617
7850
|
class DbxFilterSourceDirective extends AbstractFilterSourceDirective {
|
|
7618
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7619
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
7851
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxFilterSourceDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
7852
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.10", type: DbxFilterSourceDirective, isStandalone: true, selector: "[dbxFilterSource]", providers: provideFilterSourceDirective(DbxFilterSourceDirective), usesInheritance: true, ngImport: i0 });
|
|
7620
7853
|
}
|
|
7621
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7854
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxFilterSourceDirective, decorators: [{
|
|
7622
7855
|
type: Directive,
|
|
7623
7856
|
args: [{
|
|
7624
7857
|
selector: '[dbxFilterSource]',
|
|
@@ -7629,11 +7862,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
7629
7862
|
|
|
7630
7863
|
const importsAndExports = [DbxFilterSourceDirective, DbxFilterMapSourceConnectorDirective, DbxFilterConnectSourceDirective, DbxFilterSourceConnectorDirective, DbxFilterMapDirective, DbxFilterMapSourceDirective];
|
|
7631
7864
|
class DbxCoreFilterModule {
|
|
7632
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7633
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
7634
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
7865
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxCoreFilterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7866
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.10", ngImport: i0, type: DbxCoreFilterModule, imports: [DbxFilterSourceDirective, DbxFilterMapSourceConnectorDirective, DbxFilterConnectSourceDirective, DbxFilterSourceConnectorDirective, DbxFilterMapDirective, DbxFilterMapSourceDirective], exports: [DbxFilterSourceDirective, DbxFilterMapSourceConnectorDirective, DbxFilterConnectSourceDirective, DbxFilterSourceConnectorDirective, DbxFilterMapDirective, DbxFilterMapSourceDirective] });
|
|
7867
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxCoreFilterModule });
|
|
7635
7868
|
}
|
|
7636
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7869
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxCoreFilterModule, decorators: [{
|
|
7637
7870
|
type: NgModule,
|
|
7638
7871
|
args: [{
|
|
7639
7872
|
imports: importsAndExports,
|
|
@@ -7906,10 +8139,10 @@ class AbstractDbxInjectionDirective {
|
|
|
7906
8139
|
setContent(content) {
|
|
7907
8140
|
this._instance.content = content;
|
|
7908
8141
|
}
|
|
7909
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7910
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
8142
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: AbstractDbxInjectionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
8143
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.10", type: AbstractDbxInjectionDirective, isStandalone: true, ngImport: i0 });
|
|
7911
8144
|
}
|
|
7912
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
8145
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: AbstractDbxInjectionDirective, decorators: [{
|
|
7913
8146
|
type: Directive
|
|
7914
8147
|
}] });
|
|
7915
8148
|
|
|
@@ -7959,12 +8192,12 @@ class DbxInjectionComponent extends AbstractDbxInjectionDirective {
|
|
|
7959
8192
|
_contentEffect = effect(() => this.setContent(this.content()), ...(ngDevMode ? [{ debugName: "_contentEffect" }] : /* istanbul ignore next */ []));
|
|
7960
8193
|
_configEffect = effect(() => this.setConfig(this.config()), ...(ngDevMode ? [{ debugName: "_configEffect" }] : /* istanbul ignore next */ []));
|
|
7961
8194
|
_templateEffect = effect(() => this.setTemplate(this.template()), ...(ngDevMode ? [{ debugName: "_templateEffect" }] : /* istanbul ignore next */ []));
|
|
7962
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7963
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.
|
|
8195
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxInjectionComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
8196
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.10", 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: `
|
|
7964
8197
|
<ng-template #content></ng-template>
|
|
7965
8198
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
7966
8199
|
}
|
|
7967
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
8200
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxInjectionComponent, decorators: [{
|
|
7968
8201
|
type: Component,
|
|
7969
8202
|
args: [{
|
|
7970
8203
|
selector: 'dbx-injection, [dbxInjection], [dbx-injection]',
|
|
@@ -8005,14 +8238,14 @@ class DbxInjectionArrayComponent {
|
|
|
8005
8238
|
* The array of keyed injection entries to render. Each entry produces a `<dbx-injection>` component.
|
|
8006
8239
|
*/
|
|
8007
8240
|
entries = input(undefined, ...(ngDevMode ? [{ debugName: "entries" }] : /* istanbul ignore next */ []));
|
|
8008
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
8009
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
8241
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxInjectionArrayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
8242
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.10", type: DbxInjectionArrayComponent, isStandalone: true, selector: "dbx-injection-array", inputs: { entries: { classPropertyName: "entries", publicName: "entries", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
8010
8243
|
@for (entry of entries(); track entry.key) {
|
|
8011
8244
|
<dbx-injection [config]="entry.injectionConfig"></dbx-injection>
|
|
8012
8245
|
}
|
|
8013
8246
|
`, isInline: true, dependencies: [{ kind: "component", type: DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
8014
8247
|
}
|
|
8015
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
8248
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxInjectionArrayComponent, decorators: [{
|
|
8016
8249
|
type: Component,
|
|
8017
8250
|
args: [{
|
|
8018
8251
|
selector: 'dbx-injection-array',
|
|
@@ -8179,7 +8412,10 @@ class DbxInjectionContextDirective {
|
|
|
8179
8412
|
// clear the current promise
|
|
8180
8413
|
this._currentPromise = undefined;
|
|
8181
8414
|
}
|
|
8182
|
-
|
|
8415
|
+
if (error != null) {
|
|
8416
|
+
return Promise.reject(error instanceof Error ? error : new Error(String(error)));
|
|
8417
|
+
}
|
|
8418
|
+
return result;
|
|
8183
8419
|
}
|
|
8184
8420
|
/**
|
|
8185
8421
|
* {@inheritDoc DbxInjectionContext.resetContext}
|
|
@@ -8226,10 +8462,10 @@ class DbxInjectionContextDirective {
|
|
|
8226
8462
|
this._isDetached = false;
|
|
8227
8463
|
}
|
|
8228
8464
|
}
|
|
8229
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
8230
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
8465
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxInjectionContextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
8466
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.10", type: DbxInjectionContextDirective, isStandalone: true, selector: "[dbxInjectionContext]", inputs: { config: { classPropertyName: "config", publicName: "config", isSignal: true, isRequired: false, transformFunction: null } }, providers: provideDbxInjectionContext(DbxInjectionContextDirective), ngImport: i0 });
|
|
8231
8467
|
}
|
|
8232
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
8468
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxInjectionContextDirective, decorators: [{
|
|
8233
8469
|
type: Directive,
|
|
8234
8470
|
args: [{
|
|
8235
8471
|
selector: '[dbxInjectionContext]',
|
|
@@ -8278,10 +8514,10 @@ class AbstractForwardDbxInjectionContextDirective {
|
|
|
8278
8514
|
resetContext() {
|
|
8279
8515
|
return this.dbxInjectionContext.resetContext();
|
|
8280
8516
|
}
|
|
8281
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
8282
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
8517
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: AbstractForwardDbxInjectionContextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
8518
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.10", type: AbstractForwardDbxInjectionContextDirective, isStandalone: true, ngImport: i0 });
|
|
8283
8519
|
}
|
|
8284
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
8520
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: AbstractForwardDbxInjectionContextDirective, decorators: [{
|
|
8285
8521
|
type: Directive
|
|
8286
8522
|
}] });
|
|
8287
8523
|
|
|
@@ -8415,10 +8651,10 @@ class LockSetComponentStore extends ComponentStore {
|
|
|
8415
8651
|
_destroyNow() {
|
|
8416
8652
|
this.lockSet.destroy();
|
|
8417
8653
|
}
|
|
8418
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
8419
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
8654
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: LockSetComponentStore, deps: [{ token: null, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8655
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: LockSetComponentStore });
|
|
8420
8656
|
}
|
|
8421
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
8657
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: LockSetComponentStore, decorators: [{
|
|
8422
8658
|
type: Injectable
|
|
8423
8659
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
8424
8660
|
type: Inject,
|
|
@@ -8740,10 +8976,10 @@ class SimpleStorageAccessorFactory {
|
|
|
8740
8976
|
};
|
|
8741
8977
|
return new SimpleStorageAccessor(delegate, accessorConfig);
|
|
8742
8978
|
}
|
|
8743
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
8744
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
8979
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: SimpleStorageAccessorFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8980
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: SimpleStorageAccessorFactory });
|
|
8745
8981
|
}
|
|
8746
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
8982
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: SimpleStorageAccessorFactory, decorators: [{
|
|
8747
8983
|
type: Injectable
|
|
8748
8984
|
}] });
|
|
8749
8985
|
|