@dereekb/dbx-core 13.8.0 → 13.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -112,38 +112,61 @@ type DbxActionWorkOrWorkProgress = boolean | DbxActionWorkProgress;
|
|
|
112
112
|
declare function dbxActionWorkProgress(workOrWorkProgress: Maybe<DbxActionWorkOrWorkProgress>[], progressPercent?: Maybe<DbxActionWorkProgress>): number | boolean;
|
|
113
113
|
/**
|
|
114
114
|
* Used by ActionContextState to denote what state the action is in.
|
|
115
|
+
*
|
|
116
|
+
* @dbxActionStateEnum
|
|
115
117
|
*/
|
|
116
118
|
declare enum DbxActionState {
|
|
117
119
|
/**
|
|
118
120
|
* No action in progress. Waiting for the trigger.
|
|
121
|
+
*
|
|
122
|
+
* @dbxActionStateTransitionsFrom RESOLVED, REJECTED, DISABLED
|
|
123
|
+
* @dbxActionStateTransitionsTo TRIGGERED, DISABLED
|
|
119
124
|
*/
|
|
120
125
|
IDLE = "idle",
|
|
121
126
|
/**
|
|
122
127
|
* Idle state that can be set to show that the source is not yet ready.
|
|
128
|
+
*
|
|
129
|
+
* @dbxActionStateTransitionsFrom IDLE, RESOLVED, REJECTED
|
|
130
|
+
* @dbxActionStateTransitionsTo IDLE
|
|
123
131
|
*/
|
|
124
132
|
DISABLED = "disabled",
|
|
125
133
|
/**
|
|
126
134
|
* The action was triggered. We wait (and allow) the value to be updated.
|
|
135
|
+
*
|
|
136
|
+
* @dbxActionStateTransitionsFrom IDLE
|
|
137
|
+
* @dbxActionStateTransitionsTo VALUE_READY
|
|
127
138
|
*/
|
|
128
139
|
TRIGGERED = "triggered",
|
|
129
140
|
/**
|
|
130
141
|
* The trigger was accepted and the value is updated. It should begin working immediately.
|
|
131
142
|
*
|
|
132
143
|
* ValueReady cannot be set until triggered is set.
|
|
144
|
+
*
|
|
145
|
+
* @dbxActionStateTransitionsFrom TRIGGERED
|
|
146
|
+
* @dbxActionStateTransitionsTo WORKING
|
|
133
147
|
*/
|
|
134
148
|
VALUE_READY = "valueReady",
|
|
135
149
|
/**
|
|
136
150
|
* The action is in progress.
|
|
151
|
+
*
|
|
152
|
+
* @dbxActionStateTransitionsFrom VALUE_READY
|
|
153
|
+
* @dbxActionStateTransitionsTo RESOLVED, REJECTED
|
|
137
154
|
*/
|
|
138
155
|
WORKING = "working",
|
|
139
156
|
/**
|
|
140
157
|
* The trigger, action, or value was rejected due to an error or other issue.
|
|
141
158
|
*
|
|
142
159
|
* An error may be specified optionally.
|
|
160
|
+
*
|
|
161
|
+
* @dbxActionStateTransitionsFrom WORKING
|
|
162
|
+
* @dbxActionStateTransitionsTo IDLE, DISABLED
|
|
143
163
|
*/
|
|
144
164
|
REJECTED = "rejected",
|
|
145
165
|
/**
|
|
146
166
|
* The action resolved without issue.
|
|
167
|
+
*
|
|
168
|
+
* @dbxActionStateTransitionsFrom WORKING
|
|
169
|
+
* @dbxActionStateTransitionsTo IDLE, DISABLED
|
|
147
170
|
*/
|
|
148
171
|
RESOLVED = "resolved"
|
|
149
172
|
}
|
|
@@ -378,6 +401,13 @@ declare const ACTION_CONTEXT_STORE_LOCKSET_DESTROY_DELAY_TIME = 2000;
|
|
|
378
401
|
* IDLE/DISABLED -> TRIGGERED -> VALUE_READY -> WORKING -> RESOLVED | REJECTED
|
|
379
402
|
* ```
|
|
380
403
|
*
|
|
404
|
+
* @dbxAction
|
|
405
|
+
* @dbxActionSlug action-context-store
|
|
406
|
+
* @dbxActionRole store
|
|
407
|
+
* @dbxActionDisabledKey dbx_action_disabled
|
|
408
|
+
* @dbxActionDisabledKey dbx_action_enforce_modified
|
|
409
|
+
* @dbxActionSkillRefs dbx__ref__dbx-component-patterns
|
|
410
|
+
*
|
|
381
411
|
* @typeParam T - The input value type provided after triggering.
|
|
382
412
|
* @typeParam O - The output result type produced on resolution.
|
|
383
413
|
*
|
|
@@ -700,6 +730,11 @@ declare class DbxActionContextStoreSourceInstance<T = unknown, O = unknown> impl
|
|
|
700
730
|
*
|
|
701
731
|
* Can be disabled by setting `dbxActionAutoModify` to `false`.
|
|
702
732
|
*
|
|
733
|
+
* @dbxAction
|
|
734
|
+
* @dbxActionSlug auto-modify
|
|
735
|
+
* @dbxActionStateInteraction IDLE
|
|
736
|
+
* @dbxActionConsumesContext
|
|
737
|
+
*
|
|
703
738
|
* @example
|
|
704
739
|
* ```html
|
|
705
740
|
* <div dbxAction>
|
|
@@ -732,6 +767,11 @@ declare class DbxActionAutoModifyDirective<T, O> {
|
|
|
732
767
|
* Useful for auto-save scenarios where data changes should automatically submit without
|
|
733
768
|
* requiring an explicit user action. Use with care to avoid triggering loops.
|
|
734
769
|
*
|
|
770
|
+
* @dbxAction
|
|
771
|
+
* @dbxActionSlug auto-trigger
|
|
772
|
+
* @dbxActionStateInteraction IDLE, TRIGGERED
|
|
773
|
+
* @dbxActionConsumesContext
|
|
774
|
+
*
|
|
735
775
|
* @example
|
|
736
776
|
* ```html
|
|
737
777
|
* <div dbxAction>
|
|
@@ -840,6 +880,11 @@ declare abstract class DbxActionContextBaseSource<T = unknown, O = unknown> impl
|
|
|
840
880
|
* On destruction, the directive coordinates cleanup through a {@link LockSet} to ensure
|
|
841
881
|
* in-flight operations complete before the store is torn down.
|
|
842
882
|
*
|
|
883
|
+
* @dbxAction
|
|
884
|
+
* @dbxActionSlug action
|
|
885
|
+
* @dbxActionStateInteraction IDLE
|
|
886
|
+
* @dbxActionProducesContext
|
|
887
|
+
*
|
|
843
888
|
* @example
|
|
844
889
|
* ```html
|
|
845
890
|
* <div dbxAction>
|
|
@@ -877,6 +922,9 @@ declare class DbxActionDirective<T = unknown, O = unknown> extends DbxActionCont
|
|
|
877
922
|
* This is useful when an action context is created programmatically (e.g., via
|
|
878
923
|
* {@link DbxActionContextMachine}) and needs to be shared with template-based directives.
|
|
879
924
|
*
|
|
925
|
+
* @dbxAction
|
|
926
|
+
* @dbxActionSlug source
|
|
927
|
+
*
|
|
880
928
|
* @example
|
|
881
929
|
* ```html
|
|
882
930
|
* <!-- Forward a programmatic action source to template directives -->
|
|
@@ -903,6 +951,11 @@ declare class DbxActionSourceDirective implements SecondaryActionContextStoreSou
|
|
|
903
951
|
* Subscribes to the parent action's full state stream and prints each state snapshot
|
|
904
952
|
* via `console.log`. Useful during development to inspect the action lifecycle transitions.
|
|
905
953
|
*
|
|
954
|
+
* @dbxAction
|
|
955
|
+
* @dbxActionSlug logger
|
|
956
|
+
* @dbxActionStateInteraction IDLE, TRIGGERED, VALUE_READY, WORKING, RESOLVED, REJECTED, DISABLED
|
|
957
|
+
* @dbxActionConsumesContext
|
|
958
|
+
*
|
|
906
959
|
* @example
|
|
907
960
|
* ```html
|
|
908
961
|
* <div dbxAction>
|
|
@@ -982,6 +1035,9 @@ declare function actionContextStoreSourceMap<T = unknown, O = unknown>(): Action
|
|
|
982
1035
|
*
|
|
983
1036
|
* The map is exported as `actionMap` for template reference access.
|
|
984
1037
|
*
|
|
1038
|
+
* @dbxAction
|
|
1039
|
+
* @dbxActionSlug context-map
|
|
1040
|
+
*
|
|
985
1041
|
* @example
|
|
986
1042
|
* ```html
|
|
987
1043
|
* <div dbxActionContextMap>
|
|
@@ -1169,6 +1225,11 @@ declare const APP_ACTION_DISABLED_DIRECTIVE_KEY = "dbx_action_disabled";
|
|
|
1169
1225
|
*
|
|
1170
1226
|
* The disable key is automatically cleaned up on directive destruction.
|
|
1171
1227
|
*
|
|
1228
|
+
* @dbxAction
|
|
1229
|
+
* @dbxActionSlug disabled
|
|
1230
|
+
* @dbxActionStateInteraction DISABLED
|
|
1231
|
+
* @dbxActionConsumesContext
|
|
1232
|
+
*
|
|
1172
1233
|
* @example
|
|
1173
1234
|
* ```html
|
|
1174
1235
|
* <div dbxAction>
|
|
@@ -1207,6 +1268,11 @@ declare const APP_ACTION_DISABLED_ON_SUCCESS_DIRECTIVE_KEY = "dbx_action_disable
|
|
|
1207
1268
|
*
|
|
1208
1269
|
* The disable key is automatically cleaned up on directive destruction.
|
|
1209
1270
|
*
|
|
1271
|
+
* @dbxAction
|
|
1272
|
+
* @dbxActionSlug disabled-on-success
|
|
1273
|
+
* @dbxActionStateInteraction RESOLVED, DISABLED
|
|
1274
|
+
* @dbxActionConsumesContext
|
|
1275
|
+
*
|
|
1210
1276
|
* @example
|
|
1211
1277
|
* ```html
|
|
1212
1278
|
* <div dbxAction>
|
|
@@ -1298,6 +1364,12 @@ declare abstract class AbstractDbxActionHandlerDirective<T = unknown, O = unknow
|
|
|
1298
1364
|
* called with the value and a work context. The work function is responsible for performing
|
|
1299
1365
|
* the async operation and signaling success or failure through the context.
|
|
1300
1366
|
*
|
|
1367
|
+
* @dbxAction
|
|
1368
|
+
* @dbxActionSlug handler
|
|
1369
|
+
* @dbxActionStateInteraction VALUE_READY, WORKING, RESOLVED, REJECTED
|
|
1370
|
+
* @dbxActionConsumesContext
|
|
1371
|
+
* @dbxActionSkillRefs dbx__ref__dbx-component-patterns, dbx__guide__action-analytics
|
|
1372
|
+
*
|
|
1301
1373
|
* @example
|
|
1302
1374
|
* ```html
|
|
1303
1375
|
* <div dbxAction>
|
|
@@ -1324,6 +1396,11 @@ declare class DbxActionHandlerDirective<T = unknown, O = unknown> extends Abstra
|
|
|
1324
1396
|
* The provided value (or the result of calling the getter/factory) is used directly as the
|
|
1325
1397
|
* action's result, with the working/success lifecycle handled automatically.
|
|
1326
1398
|
*
|
|
1399
|
+
* @dbxAction
|
|
1400
|
+
* @dbxActionSlug handler-value
|
|
1401
|
+
* @dbxActionStateInteraction VALUE_READY, WORKING, RESOLVED
|
|
1402
|
+
* @dbxActionConsumesContext
|
|
1403
|
+
*
|
|
1327
1404
|
* @example
|
|
1328
1405
|
* ```html
|
|
1329
1406
|
* <div dbxAction>
|
|
@@ -1525,6 +1602,11 @@ type DbxActionErrorHandlerFunction = (error?: Maybe<ReadableError>) => void;
|
|
|
1525
1602
|
* This is useful for performing side effects like logging, showing error toasts, or
|
|
1526
1603
|
* handling specific error conditions programmatically.
|
|
1527
1604
|
*
|
|
1605
|
+
* @dbxAction
|
|
1606
|
+
* @dbxActionSlug error-handler
|
|
1607
|
+
* @dbxActionStateInteraction REJECTED
|
|
1608
|
+
* @dbxActionConsumesContext
|
|
1609
|
+
*
|
|
1528
1610
|
* @example
|
|
1529
1611
|
* ```html
|
|
1530
1612
|
* <div dbxAction>
|
|
@@ -1557,6 +1639,11 @@ declare class DbxActionErrorHandlerDirective<T, O> {
|
|
|
1557
1639
|
* The input filters out null/undefined values, waiting until a non-null value is provided.
|
|
1558
1640
|
* If you need to pass null/undefined as valid action values, use {@link DbxActionValueTriggerDirective} instead.
|
|
1559
1641
|
*
|
|
1642
|
+
* @dbxAction
|
|
1643
|
+
* @dbxActionSlug value
|
|
1644
|
+
* @dbxActionStateInteraction TRIGGERED, VALUE_READY
|
|
1645
|
+
* @dbxActionConsumesContext
|
|
1646
|
+
*
|
|
1560
1647
|
* @example
|
|
1561
1648
|
* ```html
|
|
1562
1649
|
* <div dbxAction>
|
|
@@ -1641,6 +1728,11 @@ declare const APP_ACTION_ENFORCE_MODIFIED_DIRECTIVE_KEY = "dbx_action_enforce_mo
|
|
|
1641
1728
|
*
|
|
1642
1729
|
* The disable key is automatically cleaned up on directive destruction.
|
|
1643
1730
|
*
|
|
1731
|
+
* @dbxAction
|
|
1732
|
+
* @dbxActionSlug enforce-modified
|
|
1733
|
+
* @dbxActionStateInteraction IDLE, DISABLED
|
|
1734
|
+
* @dbxActionConsumesContext
|
|
1735
|
+
*
|
|
1644
1736
|
* @example
|
|
1645
1737
|
* ```html
|
|
1646
1738
|
* <div dbxAction>
|
|
@@ -1661,6 +1753,26 @@ declare class DbxActionEnforceModifiedDirective {
|
|
|
1661
1753
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionEnforceModifiedDirective, "[dbxActionEnforceModified]", never, { "enabled": { "alias": "dbxActionEnforceModified"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1662
1754
|
}
|
|
1663
1755
|
|
|
1756
|
+
/**
|
|
1757
|
+
* Structural directive that conditionally renders its content when the action is marked as modified.
|
|
1758
|
+
*
|
|
1759
|
+
* @example
|
|
1760
|
+
* ```html
|
|
1761
|
+
* <div dbxAction>
|
|
1762
|
+
* <div *dbxActionIsModified>You have unsaved changes.</div>
|
|
1763
|
+
* </div>
|
|
1764
|
+
* ```
|
|
1765
|
+
*
|
|
1766
|
+
* @see {@link DbxActionEnforceModifiedDirective} for disabling the action when not modified.
|
|
1767
|
+
* @see {@link DbxActionAutoModifyDirective} for always keeping the action modified.
|
|
1768
|
+
*/
|
|
1769
|
+
declare class DbxActionIsModifiedDirective extends AbstractIfDirective {
|
|
1770
|
+
private readonly _store;
|
|
1771
|
+
readonly show$: rxjs.Observable<boolean>;
|
|
1772
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionIsModifiedDirective, never>;
|
|
1773
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionIsModifiedDirective, "[dbxActionIsModified]", never, {}, {}, never, never, true, never>;
|
|
1774
|
+
}
|
|
1775
|
+
|
|
1664
1776
|
/**
|
|
1665
1777
|
* Function that retrieves the input value for an action when triggered.
|
|
1666
1778
|
*
|
|
@@ -1770,6 +1882,11 @@ declare abstract class AbstractDbxActionValueGetterDirective<T> {
|
|
|
1770
1882
|
* Supports optional `isModified` and `isEqual` functions to control whether the retrieved
|
|
1771
1883
|
* value should proceed to `readyValue` or be rejected.
|
|
1772
1884
|
*
|
|
1885
|
+
* @dbxAction
|
|
1886
|
+
* @dbxActionSlug value-getter
|
|
1887
|
+
* @dbxActionStateInteraction TRIGGERED, VALUE_READY
|
|
1888
|
+
* @dbxActionConsumesContext
|
|
1889
|
+
*
|
|
1773
1890
|
* @example
|
|
1774
1891
|
* ```html
|
|
1775
1892
|
* <div dbxAction>
|
|
@@ -5829,6 +5946,9 @@ declare class DbxRouteModelKeyDirective {
|
|
|
5829
5946
|
* Useful for normalizing values that may be plain values, getter functions, or Observables
|
|
5830
5947
|
* into a consistent Observable stream for use with the `async` pipe.
|
|
5831
5948
|
*
|
|
5949
|
+
* @dbxPipe
|
|
5950
|
+
* @dbxPipeSlug as-observable
|
|
5951
|
+
* @dbxPipeCategory async
|
|
5832
5952
|
* @example
|
|
5833
5953
|
* ```html
|
|
5834
5954
|
* <span>{{ valueOrGetter | asObservable | async }}</span>
|
|
@@ -5845,6 +5965,10 @@ declare class AsObservablePipe implements PipeTransform {
|
|
|
5845
5965
|
*
|
|
5846
5966
|
* Displays only the date portion (no times). Returns a fallback string when the input is `null` or `undefined`.
|
|
5847
5967
|
*
|
|
5968
|
+
* @dbxPipe
|
|
5969
|
+
* @dbxPipeSlug date-day-range
|
|
5970
|
+
* @dbxPipeCategory date
|
|
5971
|
+
* @dbxPipeRelated date-time-range, date-day-time-range
|
|
5848
5972
|
* @example
|
|
5849
5973
|
* ```html
|
|
5850
5974
|
* <span>{{ dateRange | dateDayRange }}</span>
|
|
@@ -5865,6 +5989,10 @@ declare class DateDayRangePipe implements PipeTransform {
|
|
|
5865
5989
|
*
|
|
5866
5990
|
* Accepts an optional comparison date (defaults to now) and a fallback string for `null`/`undefined` input.
|
|
5867
5991
|
*
|
|
5992
|
+
* @dbxPipe
|
|
5993
|
+
* @dbxPipeSlug date-distance
|
|
5994
|
+
* @dbxPipeCategory date
|
|
5995
|
+
* @dbxPipeRelated date-range-distance, date-format-distance, time-distance
|
|
5868
5996
|
* @example
|
|
5869
5997
|
* ```html
|
|
5870
5998
|
* <span>{{ someDate | dateDistance }}</span>
|
|
@@ -5888,6 +6016,10 @@ declare class DateDistancePipe implements PipeTransform {
|
|
|
5888
6016
|
*
|
|
5889
6017
|
* Returns `undefined` if the input is falsy or not a valid date.
|
|
5890
6018
|
*
|
|
6019
|
+
* @dbxPipe
|
|
6020
|
+
* @dbxPipeSlug date-format-distance
|
|
6021
|
+
* @dbxPipeCategory date
|
|
6022
|
+
* @dbxPipeRelated date-distance, date-format-from-to
|
|
5891
6023
|
* @example
|
|
5892
6024
|
* ```html
|
|
5893
6025
|
* <span>{{ someDate | dateFormatDistance:'MMM d, y' }}</span>
|
|
@@ -5910,6 +6042,10 @@ declare class DateFormatDistancePipe implements PipeTransform {
|
|
|
5910
6042
|
* The start date is formatted using the Angular locale-aware {@link formatDate}, and the end time
|
|
5911
6043
|
* is computed by adding the given minutes and formatted as a time-only string.
|
|
5912
6044
|
*
|
|
6045
|
+
* @dbxPipe
|
|
6046
|
+
* @dbxPipeSlug date-format-from-to
|
|
6047
|
+
* @dbxPipeCategory date
|
|
6048
|
+
* @dbxPipeRelated date-time-range, date-format-distance
|
|
5913
6049
|
* @example
|
|
5914
6050
|
* ```html
|
|
5915
6051
|
* <span>{{ eventStart | dateFormatFromTo:'MMM d, h:mm a':90 }}</span>
|
|
@@ -5929,6 +6065,10 @@ declare class DateFormatFromToPipe implements PipeTransform {
|
|
|
5929
6065
|
*
|
|
5930
6066
|
* Includes both the date and time portions. Returns a fallback string when the input is `null` or `undefined`.
|
|
5931
6067
|
*
|
|
6068
|
+
* @dbxPipe
|
|
6069
|
+
* @dbxPipeSlug date-day-time-range
|
|
6070
|
+
* @dbxPipeCategory date
|
|
6071
|
+
* @dbxPipeRelated date-time-range, date-day-range
|
|
5932
6072
|
* @example
|
|
5933
6073
|
* ```html
|
|
5934
6074
|
* <span>{{ dateRange | dateDayTimeRange }}</span>
|
|
@@ -5949,6 +6089,10 @@ declare class DateDayTimeRangePipe implements PipeTransform {
|
|
|
5949
6089
|
*
|
|
5950
6090
|
* Displays the date and time of both the start and end. Returns a fallback string when the input is `null` or `undefined`.
|
|
5951
6091
|
*
|
|
6092
|
+
* @dbxPipe
|
|
6093
|
+
* @dbxPipeSlug date-time-range
|
|
6094
|
+
* @dbxPipeCategory date
|
|
6095
|
+
* @dbxPipeRelated date-time-range-only, date-day-range, date-day-time-range
|
|
5952
6096
|
* @example
|
|
5953
6097
|
* ```html
|
|
5954
6098
|
* <span>{{ dateRange | dateTimeRange }}</span>
|
|
@@ -5970,6 +6114,10 @@ declare class DateTimeRangePipe implements PipeTransform {
|
|
|
5970
6114
|
* This is an impure pipe that recalculates on every change detection cycle to keep the distance up to date.
|
|
5971
6115
|
* Returns a fallback string when the input is `null` or `undefined`.
|
|
5972
6116
|
*
|
|
6117
|
+
* @dbxPipe
|
|
6118
|
+
* @dbxPipeSlug date-range-distance
|
|
6119
|
+
* @dbxPipeCategory date
|
|
6120
|
+
* @dbxPipeRelated date-distance
|
|
5973
6121
|
* @example
|
|
5974
6122
|
* ```html
|
|
5975
6123
|
* <span>{{ someDate | dateRangeDistance }}</span>
|
|
@@ -5990,6 +6138,10 @@ declare class DateRangeDistancePipe implements PipeTransform {
|
|
|
5990
6138
|
*
|
|
5991
6139
|
* Displays only the time portion (no date). Returns a fallback string when the input is `null` or `undefined`.
|
|
5992
6140
|
*
|
|
6141
|
+
* @dbxPipe
|
|
6142
|
+
* @dbxPipeSlug date-time-range-only
|
|
6143
|
+
* @dbxPipeCategory date
|
|
6144
|
+
* @dbxPipeRelated date-time-range
|
|
5993
6145
|
* @example
|
|
5994
6146
|
* ```html
|
|
5995
6147
|
* <span>{{ dateRange | dateTimeRangeOnly }}</span>
|
|
@@ -6012,6 +6164,10 @@ declare class DateTimeRangeOnlyPipe implements PipeTransform {
|
|
|
6012
6164
|
* local time in a target timezone and need to convert it back to the system timezone.
|
|
6013
6165
|
* Returns `undefined` if either the input date or timezone is falsy.
|
|
6014
6166
|
*
|
|
6167
|
+
* @dbxPipe
|
|
6168
|
+
* @dbxPipeSlug target-date-to-system-date
|
|
6169
|
+
* @dbxPipeCategory date
|
|
6170
|
+
* @dbxPipeRelated system-date-to-target-date, timezone-abbreviation
|
|
6015
6171
|
* @example
|
|
6016
6172
|
* ```html
|
|
6017
6173
|
* <span>{{ targetDate | targetDateToSystemDate:'America/New_York' | date:'short' }}</span>
|
|
@@ -6030,6 +6186,10 @@ declare class TargetDateToSystemDatePipe implements PipeTransform {
|
|
|
6030
6186
|
* Accepts an optional {@link FormatDateRangeDistanceFunctionConfig} to customize the output format.
|
|
6031
6187
|
* Returns a fallback string when the input is `null` or `undefined`.
|
|
6032
6188
|
*
|
|
6189
|
+
* @dbxPipe
|
|
6190
|
+
* @dbxPipeSlug date-time-range-only-distance
|
|
6191
|
+
* @dbxPipeCategory date
|
|
6192
|
+
* @dbxPipeRelated date-time-range, date-range-distance
|
|
6033
6193
|
* @example
|
|
6034
6194
|
* ```html
|
|
6035
6195
|
* <span>{{ dateRange | dateTimeRangeOnlyDistance }}</span>
|
|
@@ -6055,6 +6215,10 @@ declare class DateTimeRangeOnlyDistancePipe implements PipeTransform {
|
|
|
6055
6215
|
* Defaults to the current date if no reference date is provided.
|
|
6056
6216
|
* Returns `undefined` if the timezone is falsy.
|
|
6057
6217
|
*
|
|
6218
|
+
* @dbxPipe
|
|
6219
|
+
* @dbxPipeSlug timezone-abbreviation
|
|
6220
|
+
* @dbxPipeCategory date
|
|
6221
|
+
* @dbxPipeRelated system-date-to-target-date, target-date-to-system-date
|
|
6058
6222
|
* @example
|
|
6059
6223
|
* ```html
|
|
6060
6224
|
* <span>{{ 'America/New_York' | timezoneAbbreviation }}</span>
|
|
@@ -6076,6 +6240,10 @@ declare class TimezoneAbbreviationPipe implements PipeTransform {
|
|
|
6076
6240
|
* 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.
|
|
6077
6241
|
* Returns `undefined` if either the input date or timezone is falsy.
|
|
6078
6242
|
*
|
|
6243
|
+
* @dbxPipe
|
|
6244
|
+
* @dbxPipeSlug system-date-to-target-date
|
|
6245
|
+
* @dbxPipeCategory date
|
|
6246
|
+
* @dbxPipeRelated target-date-to-system-date, timezone-abbreviation
|
|
6079
6247
|
* @example
|
|
6080
6248
|
* ```html
|
|
6081
6249
|
* <span>{{ systemDate | systemDateToTargetDate:'America/New_York' | date:'short' }}</span>
|
|
@@ -6097,6 +6265,10 @@ declare class SystemDateToTargetDatePipe implements PipeTransform {
|
|
|
6097
6265
|
*
|
|
6098
6266
|
* A `~` prefix is added when the value is rounded up. Returns `undefined` for `null` or non-numeric input.
|
|
6099
6267
|
*
|
|
6268
|
+
* @dbxPipe
|
|
6269
|
+
* @dbxPipeSlug minutes-string
|
|
6270
|
+
* @dbxPipeCategory date
|
|
6271
|
+
* @dbxPipeRelated to-minutes
|
|
6100
6272
|
* @example
|
|
6101
6273
|
* ```html
|
|
6102
6274
|
* <span>{{ 90 | minutesString }}</span>
|
|
@@ -6122,6 +6294,10 @@ declare class MinutesStringPipe implements PipeTransform {
|
|
|
6122
6294
|
* Otherwise, returns a human-readable distance string with suffix (e.g., "in 3 hours").
|
|
6123
6295
|
* Returns the `unavailable` string when the input is falsy.
|
|
6124
6296
|
*
|
|
6297
|
+
* @dbxPipe
|
|
6298
|
+
* @dbxPipeSlug time-countdown-distance
|
|
6299
|
+
* @dbxPipeCategory date
|
|
6300
|
+
* @dbxPipeRelated time-distance
|
|
6125
6301
|
* @example
|
|
6126
6302
|
* ```html
|
|
6127
6303
|
* <span>{{ futureDate | timeCountdownDistance }}</span>
|
|
@@ -6142,6 +6318,10 @@ declare class TimeDistanceCountdownPipe implements PipeTransform {
|
|
|
6142
6318
|
* Uses date-fns {@link formatDistance} to produce output like "3 hours ago" or "in 2 days".
|
|
6143
6319
|
* Returns the `unavailable` string when the input is falsy.
|
|
6144
6320
|
*
|
|
6321
|
+
* @dbxPipe
|
|
6322
|
+
* @dbxPipeSlug time-distance
|
|
6323
|
+
* @dbxPipeCategory date
|
|
6324
|
+
* @dbxPipeRelated date-distance, time-countdown-distance
|
|
6145
6325
|
* @example
|
|
6146
6326
|
* ```html
|
|
6147
6327
|
* <span>{{ someDate | timeDistance }}</span>
|
|
@@ -6166,6 +6346,10 @@ declare class TimeDistancePipe implements PipeTransform {
|
|
|
6166
6346
|
* Returns `undefined` if the input is `null`, `undefined`, or results in an invalid date.
|
|
6167
6347
|
* Also provides a static `toJsDate()` method used by other pipes in this package.
|
|
6168
6348
|
*
|
|
6349
|
+
* @dbxPipe
|
|
6350
|
+
* @dbxPipeSlug to-js-date
|
|
6351
|
+
* @dbxPipeCategory date
|
|
6352
|
+
* @dbxPipeRelated date-distance, date-format-distance
|
|
6169
6353
|
* @example
|
|
6170
6354
|
* ```html
|
|
6171
6355
|
* <span>{{ '2024-01-05T12:00:00Z' | toJsDate | date:'short' }}</span>
|
|
@@ -6187,6 +6371,10 @@ declare class ToJsDatePipe implements PipeTransform {
|
|
|
6187
6371
|
*
|
|
6188
6372
|
* Returns the original value (0 or falsy) if the input is falsy.
|
|
6189
6373
|
*
|
|
6374
|
+
* @dbxPipe
|
|
6375
|
+
* @dbxPipeSlug to-minutes
|
|
6376
|
+
* @dbxPipeCategory date
|
|
6377
|
+
* @dbxPipeRelated minutes-string
|
|
6190
6378
|
* @example
|
|
6191
6379
|
* ```html
|
|
6192
6380
|
* <span>{{ 180000 | toMinutes }}</span>
|
|
@@ -6207,6 +6395,9 @@ declare class ToMinutesPipe implements PipeTransform {
|
|
|
6207
6395
|
*
|
|
6208
6396
|
* Returns `undefined` for falsy input. If serialization fails, returns `'ERROR'` and logs the error to the console.
|
|
6209
6397
|
*
|
|
6398
|
+
* @dbxPipe
|
|
6399
|
+
* @dbxPipeSlug prettyjson
|
|
6400
|
+
* @dbxPipeCategory misc
|
|
6210
6401
|
* @example
|
|
6211
6402
|
* ```html
|
|
6212
6403
|
* <pre>{{ myObject | prettyjson }}</pre>
|
|
@@ -6215,6 +6406,7 @@ declare class ToMinutesPipe implements PipeTransform {
|
|
|
6215
6406
|
* <pre>{{ myObject | prettyjson:4 }}</pre>
|
|
6216
6407
|
* <!-- Output: formatted JSON with 4-space indentation -->
|
|
6217
6408
|
* ```
|
|
6409
|
+
* @param spacing Indent spaces; defaults to `2`.
|
|
6218
6410
|
*/
|
|
6219
6411
|
declare class PrettyJsonPipe implements PipeTransform {
|
|
6220
6412
|
static toPrettyJson(input: Maybe<unknown>, spacing?: number): Maybe<string>;
|
|
@@ -6228,6 +6420,10 @@ declare class PrettyJsonPipe implements PipeTransform {
|
|
|
6228
6420
|
*
|
|
6229
6421
|
* Returns the original value if the input is `null` or `undefined`.
|
|
6230
6422
|
*
|
|
6423
|
+
* @dbxPipe
|
|
6424
|
+
* @dbxPipeSlug cut-text
|
|
6425
|
+
* @dbxPipeCategory value
|
|
6426
|
+
* @dbxPipeSkillRefs dbx-value-pipes
|
|
6231
6427
|
* @example
|
|
6232
6428
|
* ```html
|
|
6233
6429
|
* <span>{{ 'Hello World' | cutText:5 }}</span>
|
|
@@ -6236,6 +6432,8 @@ declare class PrettyJsonPipe implements PipeTransform {
|
|
|
6236
6432
|
* <span>{{ longText | cutText:20:'--' }}</span>
|
|
6237
6433
|
* <!-- Output: "Some long text here--" -->
|
|
6238
6434
|
* ```
|
|
6435
|
+
* @param maxLength Maximum allowed length before truncation.
|
|
6436
|
+
* @param endText Suffix appended when truncation occurs.
|
|
6239
6437
|
*/
|
|
6240
6438
|
declare class CutTextPipe implements PipeTransform {
|
|
6241
6439
|
transform(input: Maybe<string>, maxLength: number, endText?: Maybe<string>): Maybe<string>;
|
|
@@ -6250,11 +6448,17 @@ declare class CutTextPipe implements PipeTransform {
|
|
|
6250
6448
|
* for getter functions whose return value may change over time.
|
|
6251
6449
|
* Use {@link GetValueOncePipe} (`getValueOnce`) for a pure alternative when the value is static.
|
|
6252
6450
|
*
|
|
6451
|
+
* @dbxPipe
|
|
6452
|
+
* @dbxPipeSlug get-value
|
|
6453
|
+
* @dbxPipeCategory value
|
|
6454
|
+
* @dbxPipeRelated get-value-once
|
|
6455
|
+
* @dbxPipeSkillRefs dbx-value-pipes
|
|
6253
6456
|
* @example
|
|
6254
6457
|
* ```html
|
|
6255
6458
|
* <span>{{ myGetterOrValue | getValue }}</span>
|
|
6256
6459
|
* <span>{{ myGetterFn | getValue:someArg }}</span>
|
|
6257
6460
|
* ```
|
|
6461
|
+
* @param args Optional argument forwarded to the getter function.
|
|
6258
6462
|
*/
|
|
6259
6463
|
declare class GetValuePipe implements PipeTransform {
|
|
6260
6464
|
transform<T, A = any>(input: GetterOrValue<T>, args?: A): T;
|
|
@@ -6267,10 +6471,16 @@ declare class GetValuePipe implements PipeTransform {
|
|
|
6267
6471
|
* This is a pure pipe that only re-evaluates when the input reference changes.
|
|
6268
6472
|
* Use {@link GetValuePipe} (`getValue`) if the getter function's return value may change between cycles.
|
|
6269
6473
|
*
|
|
6474
|
+
* @dbxPipe
|
|
6475
|
+
* @dbxPipeSlug get-value-once
|
|
6476
|
+
* @dbxPipeCategory value
|
|
6477
|
+
* @dbxPipeRelated get-value
|
|
6478
|
+
* @dbxPipeSkillRefs dbx-value-pipes
|
|
6270
6479
|
* @example
|
|
6271
6480
|
* ```html
|
|
6272
6481
|
* <span>{{ myGetterOrValue | getValueOnce }}</span>
|
|
6273
6482
|
* ```
|
|
6483
|
+
* @param args Optional argument forwarded to the getter function.
|
|
6274
6484
|
*/
|
|
6275
6485
|
declare class GetValueOncePipe implements PipeTransform {
|
|
6276
6486
|
transform<T, A = any>(input: GetterOrValue<T>, args?: A): T;
|
|
@@ -6283,6 +6493,10 @@ declare class GetValueOncePipe implements PipeTransform {
|
|
|
6283
6493
|
*
|
|
6284
6494
|
* Optionally accepts a default string to display when the input is `null` or `undefined`.
|
|
6285
6495
|
*
|
|
6496
|
+
* @dbxPipe
|
|
6497
|
+
* @dbxPipeSlug dollar-amount
|
|
6498
|
+
* @dbxPipeCategory value
|
|
6499
|
+
* @dbxPipeSkillRefs dbx-value-pipes
|
|
6286
6500
|
* @example
|
|
6287
6501
|
* ```html
|
|
6288
6502
|
* <span>{{ 19.5 | dollarAmount }}</span>
|
|
@@ -6291,6 +6505,7 @@ declare class GetValueOncePipe implements PipeTransform {
|
|
|
6291
6505
|
* <span>{{ nullValue | dollarAmount:'N/A' }}</span>
|
|
6292
6506
|
* <!-- Output: "N/A" -->
|
|
6293
6507
|
* ```
|
|
6508
|
+
* @param defaultIfNull String to display when the input is `null` or `undefined`. Defaults to formatting `null` through `dollarAmountString`.
|
|
6294
6509
|
*/
|
|
6295
6510
|
declare class DollarAmountPipe implements PipeTransform {
|
|
6296
6511
|
transform(input: Maybe<number>, defaultIfNull?: Maybe<string>): Maybe<string>;
|
|
@@ -6383,10 +6598,12 @@ declare abstract class AbstractFilterSourceDirective<F = unknown> implements Fil
|
|
|
6383
6598
|
}
|
|
6384
6599
|
|
|
6385
6600
|
/**
|
|
6386
|
-
* Connects the host element's {@link FilterSource} to an ancestor {@link FilterSourceConnector} on
|
|
6601
|
+
* 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.
|
|
6387
6602
|
*
|
|
6388
|
-
*
|
|
6389
|
-
*
|
|
6603
|
+
* @dbxFilter
|
|
6604
|
+
* @dbxFilterSlug connect-source
|
|
6605
|
+
* @dbxFilterRelated source, source-connector
|
|
6606
|
+
* @dbxFilterSkillRefs dbx__ref__dbx-component-patterns
|
|
6390
6607
|
*
|
|
6391
6608
|
* @example
|
|
6392
6609
|
* ```html
|
|
@@ -6404,14 +6621,18 @@ declare class DbxFilterConnectSourceDirective<F = unknown> implements OnInit {
|
|
|
6404
6621
|
}
|
|
6405
6622
|
|
|
6406
6623
|
/**
|
|
6407
|
-
*
|
|
6624
|
+
* 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.
|
|
6408
6625
|
*
|
|
6409
|
-
*
|
|
6626
|
+
* @dbxFilter
|
|
6627
|
+
* @dbxFilterSlug source-connector
|
|
6628
|
+
* @dbxFilterRelated source, connect-source
|
|
6629
|
+
* @dbxFilterSkillRefs dbx__ref__dbx-component-patterns
|
|
6410
6630
|
*
|
|
6411
6631
|
* @example
|
|
6412
6632
|
* ```html
|
|
6413
6633
|
* <div dbxFilterSourceConnector>
|
|
6414
|
-
* <my-
|
|
6634
|
+
* <my-filter-form dbxFilterSource dbxFilterConnectSource></my-filter-form>
|
|
6635
|
+
* <my-list></my-list>
|
|
6415
6636
|
* </div>
|
|
6416
6637
|
* ```
|
|
6417
6638
|
*/
|
|
@@ -6475,18 +6696,26 @@ declare abstract class AbstractDbxFilterMapSourceDirective<F> extends AbstractDb
|
|
|
6475
6696
|
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractDbxFilterMapSourceDirective<any>, never, never, {}, {}, never, never, true, never>;
|
|
6476
6697
|
}
|
|
6477
6698
|
/**
|
|
6478
|
-
*
|
|
6699
|
+
* 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.
|
|
6700
|
+
*
|
|
6701
|
+
* @dbxFilter
|
|
6702
|
+
* @dbxFilterSlug map-source
|
|
6703
|
+
* @dbxFilterRelated map, map-source-connector
|
|
6704
|
+
* @dbxFilterSkillRefs dbx__ref__dbx-component-patterns
|
|
6479
6705
|
*
|
|
6480
6706
|
* @example
|
|
6481
6707
|
* ```html
|
|
6482
6708
|
* <div dbxFilterMap>
|
|
6483
|
-
* <div [dbxFilterMapSource]="'
|
|
6709
|
+
* <div [dbxFilterMapSource]="'profileList'">
|
|
6484
6710
|
* <my-filtered-list></my-filtered-list>
|
|
6485
6711
|
* </div>
|
|
6486
6712
|
* </div>
|
|
6487
6713
|
* ```
|
|
6488
6714
|
*/
|
|
6489
6715
|
declare class DbxFilterMapSourceDirective<F> extends AbstractDbxFilterMapSourceDirective<F> implements FilterSource<F> {
|
|
6716
|
+
/**
|
|
6717
|
+
* The map key this source binds to.
|
|
6718
|
+
*/
|
|
6490
6719
|
readonly dbxFilterMapSource: i0.InputSignal<Maybe<string>>;
|
|
6491
6720
|
protected readonly _dbxFilterMapSourceEffect: i0.EffectRef;
|
|
6492
6721
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFilterMapSourceDirective<any>, never>;
|
|
@@ -6494,20 +6723,26 @@ declare class DbxFilterMapSourceDirective<F> extends AbstractDbxFilterMapSourceD
|
|
|
6494
6723
|
}
|
|
6495
6724
|
|
|
6496
6725
|
/**
|
|
6497
|
-
*
|
|
6726
|
+
* 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.
|
|
6498
6727
|
*
|
|
6499
|
-
*
|
|
6728
|
+
* @dbxFilter
|
|
6729
|
+
* @dbxFilterSlug map-source-connector
|
|
6730
|
+
* @dbxFilterRelated map, map-source
|
|
6731
|
+
* @dbxFilterSkillRefs dbx__ref__dbx-component-patterns
|
|
6500
6732
|
*
|
|
6501
6733
|
* @example
|
|
6502
6734
|
* ```html
|
|
6503
6735
|
* <div dbxFilterMap>
|
|
6504
|
-
* <div [dbxFilterMapSourceConnector]="'
|
|
6505
|
-
* <my-list
|
|
6736
|
+
* <div [dbxFilterMapSourceConnector]="'profileList'">
|
|
6737
|
+
* <my-list></my-list>
|
|
6506
6738
|
* </div>
|
|
6507
6739
|
* </div>
|
|
6508
6740
|
* ```
|
|
6509
6741
|
*/
|
|
6510
6742
|
declare class DbxFilterMapSourceConnectorDirective<F> extends AbstractDbxFilterMapSourceDirective<F> implements FilterSourceConnector<F> {
|
|
6743
|
+
/**
|
|
6744
|
+
* The map key this connector binds to.
|
|
6745
|
+
*/
|
|
6511
6746
|
readonly dbxFilterMapSourceConnector: i0.InputSignal<Maybe<string>>;
|
|
6512
6747
|
protected readonly _dbxFilterMapSourceConnectorEffect: i0.EffectRef;
|
|
6513
6748
|
connectWithSource(filterSource: FilterSource<F>): void;
|
|
@@ -6516,10 +6751,12 @@ declare class DbxFilterMapSourceConnectorDirective<F> extends AbstractDbxFilterM
|
|
|
6516
6751
|
}
|
|
6517
6752
|
|
|
6518
6753
|
/**
|
|
6519
|
-
*
|
|
6754
|
+
* 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.
|
|
6520
6755
|
*
|
|
6521
|
-
*
|
|
6522
|
-
* map
|
|
6756
|
+
* @dbxFilter
|
|
6757
|
+
* @dbxFilterSlug map
|
|
6758
|
+
* @dbxFilterRelated map-source, map-source-connector
|
|
6759
|
+
* @dbxFilterSkillRefs dbx__ref__dbx-component-patterns
|
|
6523
6760
|
*
|
|
6524
6761
|
* @example
|
|
6525
6762
|
* ```html
|
|
@@ -6536,21 +6773,23 @@ declare class DbxFilterMapDirective<F> {
|
|
|
6536
6773
|
}
|
|
6537
6774
|
|
|
6538
6775
|
/**
|
|
6539
|
-
*
|
|
6776
|
+
* Pattern for declaring a preset filter chip — combines an anchor display (title, icon, disabled) with a preset string identifier and a `presetValue` getter. A `null` or empty preset value resets the filter.
|
|
6540
6777
|
*
|
|
6541
|
-
*
|
|
6542
|
-
*
|
|
6778
|
+
* @dbxFilter
|
|
6779
|
+
* @dbxFilterSlug clickable-preset
|
|
6780
|
+
* @dbxFilterRelated source
|
|
6781
|
+
* @dbxFilterSkillRefs dbx__ref__dbx-component-patterns
|
|
6543
6782
|
*
|
|
6544
6783
|
* @typeParam F - The filter type, which must include a preset field.
|
|
6545
6784
|
* @typeParam P - The preset string identifier type.
|
|
6546
6785
|
*
|
|
6547
6786
|
* @example
|
|
6548
6787
|
* ```typescript
|
|
6549
|
-
* const
|
|
6788
|
+
* const activePreset: ClickableFilterPreset<ProfileFilter> = {
|
|
6550
6789
|
* preset: 'active',
|
|
6551
|
-
* title: 'Active
|
|
6790
|
+
* title: 'Active',
|
|
6552
6791
|
* icon: 'check',
|
|
6553
|
-
* presetValue: { status: 'active', preset: 'active' }
|
|
6792
|
+
* presetValue: { status: 'active', preset: 'active' }
|
|
6554
6793
|
* };
|
|
6555
6794
|
* ```
|
|
6556
6795
|
*/
|
|
@@ -6602,12 +6841,17 @@ declare function isClickablePartialFilterPreset<F>(preset: object): preset is Cl
|
|
|
6602
6841
|
type ClickableFilterPresetOrPartialPreset<F extends FilterWithPreset<P>, P extends string = string> = ClickableFilterPreset<F, P> | ClickablePartialFilterPreset<F>;
|
|
6603
6842
|
|
|
6604
6843
|
/**
|
|
6605
|
-
* Provides a {@link FilterSource} in
|
|
6844
|
+
* 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).
|
|
6845
|
+
*
|
|
6846
|
+
* @dbxFilter
|
|
6847
|
+
* @dbxFilterSlug source
|
|
6848
|
+
* @dbxFilterRelated connect-source, source-connector, map-source
|
|
6849
|
+
* @dbxFilterSkillRefs dbx__ref__dbx-component-patterns
|
|
6606
6850
|
*
|
|
6607
6851
|
* @example
|
|
6608
6852
|
* ```html
|
|
6609
6853
|
* <div dbxFilterSource>
|
|
6610
|
-
* <my-
|
|
6854
|
+
* <my-filter-form></my-filter-form>
|
|
6611
6855
|
* </div>
|
|
6612
6856
|
* ```
|
|
6613
6857
|
*/
|
|
@@ -7833,5 +8077,5 @@ declare function hasNonTrivialChildNodes(element: HTMLElement): boolean;
|
|
|
7833
8077
|
*/
|
|
7834
8078
|
declare const transformEmptyStringInputToUndefined: <T>(value: T | "") => T | undefined;
|
|
7835
8079
|
|
|
7836
|
-
export { ACTION_CONTEXT_STORE_LOCKSET_DESTROY_DELAY_TIME, APP_ACTION_DISABLED_DIRECTIVE_KEY, APP_ACTION_DISABLED_ON_SUCCESS_DIRECTIVE_KEY, APP_ACTION_ENFORCE_MODIFIED_DIRECTIVE_KEY, AbstractDbxActionHandlerDirective, AbstractDbxActionValueGetterDirective, AbstractDbxAnchorDirective, AbstractDbxButtonDirective, AbstractDbxFilterMapInstanceDirective, AbstractDbxFilterMapSourceDirective, AbstractDbxInjectionDirective, AbstractFilterSourceConnectorDirective, AbstractFilterSourceDirective, AbstractForwardDbxInjectionContextDirective, AbstractIfDirective, AbstractTransitionDirective, AbstractTransitionWatcherDirective, ActionContextStore, ActionContextStoreSource, ActionContextStoreSourceMap, AsObservablePipe, CutTextPipe, DBX_ACTION_BUTTON_ECHO_CONFIG, DBX_ACTION_HANDLER_LOCK_KEY, DBX_APP_APP_CONTEXT_STATE, DBX_APP_AUTH_ROUTER_EFFECTS_TOKEN, DBX_ASSET_LOADER_CONFIG_TOKEN, DBX_AUTH_APP_CONTEXT_STATE, DBX_INIT_APP_CONTEXT_STATE, DBX_INJECTION_COMPONENT_DATA, DBX_KNOWN_APP_CONTEXT_STATES, DBX_OAUTH_APP_CONTEXT_STATE, DBX_ONBOARD_APP_CONTEXT_STATE, DBX_PUBLIC_APP_CONTEXT_STATE, DBX_ROUTE_MODEL_ID_PARAM_DEFAULT_ID_PARAM_KEY, DBX_ROUTE_MODEL_ID_PARAM_DEFAULT_KEY_PARAM_KEY, DBX_ROUTE_MODEL_ID_PARAM_DEFAULT_USE_PARAM_VALUE, DEFAULT_ACTION_DISABLED_KEY, DEFAULT_ACTION_MAP_WORKING_DISABLED_KEY, DEFAULT_DBX_ACTION_BUTTON_ECHO_CONFIG, DEFAULT_DBX_ACTION_BUTTON_ERROR_ECHO, DEFAULT_DBX_ACTION_BUTTON_SUCCESS_ECHO, DEFAULT_DBX_BUTTON_ECHO_DURATION, DEFAULT_LOCAL_ASSET_BASE_URL, DEFAULT_REDIRECT_FOR_IDENTIFIER_PARAM_KEY, DEFAULT_REDIRECT_FOR_IDENTIFIER_PARAM_VALUE, DEFAULT_REDIRECT_FOR_USER_IDENTIFIER_PARAM_KEY, DEFAULT_REDIRECT_FOR_USER_IDENTIFIER_PARAM_VALUE, DEFAULT_STORAGE_ACCESSOR_FACTORY_TOKEN, DEFAULT_STORAGE_OBJECT_TOKEN, DateDayRangePipe, DateDayTimeRangePipe, DateDistancePipe, DateFormatDistancePipe, DateFormatFromToPipe, DateRangeDistancePipe, DateTimeRangeOnlyDistancePipe, DateTimeRangeOnlyPipe, DateTimeRangePipe, DbxActionAutoModifyDirective, DbxActionAutoTriggerDirective, DbxActionButtonDirective, DbxActionButtonTriggerDirective, DbxActionContextBaseSource, DbxActionContextLoggerDirective, DbxActionContextMachine, DbxActionContextMachineAsService, DbxActionContextMapDirective, DbxActionContextStoreSourceInstance, DbxActionDirective, DbxActionDisabledDirective, DbxActionDisabledOnSuccessDirective, DbxActionEnforceModifiedDirective, DbxActionErrorHandlerDirective, DbxActionFromMapDirective, DbxActionHandlerDirective, DbxActionHandlerInstance, DbxActionHandlerValueDirective, DbxActionHasSuccessDirective, DbxActionIdleDirective, DbxActionIsWorkingDirective, DbxActionMapSourceDirective, DbxActionMapWorkingDisableDirective, DbxActionPreSuccessDirective, DbxActionSourceDirective, DbxActionState, DbxActionSuccessHandlerDirective, DbxActionTriggeredDirective, DbxActionValueDirective, DbxActionValueGetterInstance, DbxActionValueStreamDirective, DbxActionValueTriggerDirective, DbxActionWorkInstanceDelegate, DbxAnchor, DbxAngularRouterService, DbxAppAuthRouterEffects, DbxAppAuthRouterService, DbxAppAuthRoutes, DbxAppAuthStateService, DbxAppContextService, DbxAppContextStateDirective, DbxAppEnviroment, DbxAppEnviromentService, DbxAuthHasAnyRoleDirective, DbxAuthHasRolesDirective, DbxAuthNotAnyRoleDirective, DbxAuthService, DbxButton, DbxButtonDirective, DbxButtonSegueDirective, DbxCoreActionModule, DbxCoreAngularRouterSegueModule, DbxCoreAssetLoader, DbxCoreButtonModule, DbxCoreFilterModule, DbxFilterConnectSourceDirective, DbxFilterMapDirective, DbxFilterMapSourceConnectorDirective, DbxFilterMapSourceDirective, DbxFilterSourceConnectorDirective, DbxFilterSourceDirective, DbxInjectionArrayComponent, DbxInjectionComponent, DbxInjectionContext, DbxInjectionContextDirective, DbxInjectionInstance, DbxLoadingButtonDirective, DbxRouteModelIdDirective, DbxRouteModelIdDirectiveDelegate, DbxRouteModelIdFromAuthUserIdDirective, DbxRouteModelKeyDirective, DbxRouteModelKeyDirectiveDelegate, DbxRouteParamDefaultRedirectInstance, DbxRouterService, DbxRouterTransitionEventType, DbxRouterTransitionService, DbxUIRouterService, DollarAmountPipe, FILTER_SOURCE_DIRECTIVE_DEFAULT_FILTER_TOKEN, FilterSourceDirective, FullLocalStorageObject, GetValueOncePipe, GetValuePipe, InstantStorageAccessor, LimitedStorageAccessor, LockSetComponentStore, MemoryStorageObject, MinutesStringPipe, NO_AUTH_USER_IDENTIFIER, PrettyJsonPipe, SecondaryActionContextStoreSource, SimpleStorageAccessor, SimpleStorageAccessorFactory, StorageAccessor, StringStorageAccessor, StringifySimpleStorageAccessorConverter, SystemDateToTargetDatePipe, TargetDateToSystemDatePipe, TimeDistanceCountdownPipe, TimeDistancePipe, TimezoneAbbreviationPipe, ToJsDatePipe, ToMinutesPipe, WrapperSimpleStorageAccessorDelegate, actionContextHasNoErrorAndIsModifiedAndCanTrigger, actionContextIsModifiedAndCanTrigger, actionContextStoreSourceMap, actionContextStoreSourceMapReader, actionContextStoreSourcePipe, anchorTypeForAnchor, asSegueRef, asSegueRefString, assertValidStorageKeyPrefix, authRolesSetContainsAllRolesFrom, authRolesSetContainsAnyRoleFrom, authRolesSetContainsNoRolesFrom, authUserIdentifier, canReadyValue, canTriggerAction, canTriggerActionState, checkNgContentWrapperHasContent, clean, cleanDestroy, cleanListLoadingContext, cleanLoadingContext, cleanLockSet, cleanSubscription, cleanSubscriptionWithLockSet, cleanWithLockSet, clickableUrlInNewTab, clickableUrlMailTo, clickableUrlTel, completeOnDestroy, createInjectorForInjectionComponentConfig, dbxActionWorkProgress, dbxButtonDisplayType, dbxInjectionComponentConfigIsEqual, dbxRouteModelIdParamRedirect, dbxRouteModelKeyParamRedirect, dbxRouteParamReaderInstance, defaultStorageObjectFactory, enableHasAuthRoleHook, enableHasAuthStateHook, enableIsLoggedInHook, expandClickableAnchorLinkTree, expandClickableAnchorLinkTreeNode, expandClickableAnchorLinkTrees, filterTransitionEvent, filterTransitionSuccess, flattenExpandedClickableAnchorLinkTree, flattenExpandedClickableAnchorLinkTreeToLinks, fromAllActionContextStoreSourceMapSources, index_d$1 as fromDbxAppAuth, index_d$3 as fromDbxAppContext, goWithRouter, hasAuthRoleDecisionPipe, hasNonTrivialChildNodes, initInjectionComponent, isActionContextDisabled, isActionContextEnabled, isClickableFilterPreset, isClickablePartialFilterPreset, isDisabledActionContextState, isIdleActionState, isLatestSuccessfulRoute, isSegueRef, isSegueRefActive, isSegueRefActiveFunction, isSegueRefActiveOnTransitionSuccess, isValidStorageKeyPrefix, isWorkingActionState, latestSuccessfulRoutes, loadingStateForActionContextState, loadingStateTypeForActionContextState, loadingStateTypeForActionState, loggedInObsFromIsLoggedIn, loggedOutObsFromIsLoggedIn, makeAuthTransitionHook, makeDbxActionContextSourceReference, mapRefStringObsToSegueRefObs, mergeDbxInjectionComponentConfigs, mergeStaticProviders, newWithInjector, index_d as onDbxAppAuth, index_d$2 as onDbxAppContext, onRouterTransitionEventType, onRouterTransitionSuccessEvent, pipeActionStore, provideActionStoreSource, provideDbxActionButtonEchoConfig, provideDbxAnchor, provideDbxAppAuth, provideDbxAppAuthRouter, provideDbxAppAuthRouterState, provideDbxAppAuthState, provideDbxAppContextState, provideDbxAppEnviroment, provideDbxAssetLoader, provideDbxButton, provideDbxInjectionContext, provideDbxRouteModelIdDirectiveDelegate, provideDbxRouteModelKeyDirectiveDelegate, provideDbxStorage, provideDbxUIRouterService, provideFilterSource, provideFilterSourceConnector, provideFilterSourceDirective, provideSecondaryActionStoreSource, redirectBasedOnAuthUserState, redirectForIdentifierParamHook, redirectForUserIdentifierParamHook, refStringToSegueRef, safeDetectChanges, safeMarkForCheck, safeUseCdRef, successTransition, switchMapDbxInjectionComponentConfig, tapDetectChanges, tapSafeMarkForCheck, transformEmptyStringInputToUndefined, useActionStore };
|
|
8080
|
+
export { ACTION_CONTEXT_STORE_LOCKSET_DESTROY_DELAY_TIME, APP_ACTION_DISABLED_DIRECTIVE_KEY, APP_ACTION_DISABLED_ON_SUCCESS_DIRECTIVE_KEY, APP_ACTION_ENFORCE_MODIFIED_DIRECTIVE_KEY, AbstractDbxActionHandlerDirective, AbstractDbxActionValueGetterDirective, AbstractDbxAnchorDirective, AbstractDbxButtonDirective, AbstractDbxFilterMapInstanceDirective, AbstractDbxFilterMapSourceDirective, AbstractDbxInjectionDirective, AbstractFilterSourceConnectorDirective, AbstractFilterSourceDirective, AbstractForwardDbxInjectionContextDirective, AbstractIfDirective, AbstractTransitionDirective, AbstractTransitionWatcherDirective, ActionContextStore, ActionContextStoreSource, ActionContextStoreSourceMap, AsObservablePipe, CutTextPipe, DBX_ACTION_BUTTON_ECHO_CONFIG, DBX_ACTION_HANDLER_LOCK_KEY, DBX_APP_APP_CONTEXT_STATE, DBX_APP_AUTH_ROUTER_EFFECTS_TOKEN, DBX_ASSET_LOADER_CONFIG_TOKEN, DBX_AUTH_APP_CONTEXT_STATE, DBX_INIT_APP_CONTEXT_STATE, DBX_INJECTION_COMPONENT_DATA, DBX_KNOWN_APP_CONTEXT_STATES, DBX_OAUTH_APP_CONTEXT_STATE, DBX_ONBOARD_APP_CONTEXT_STATE, DBX_PUBLIC_APP_CONTEXT_STATE, DBX_ROUTE_MODEL_ID_PARAM_DEFAULT_ID_PARAM_KEY, DBX_ROUTE_MODEL_ID_PARAM_DEFAULT_KEY_PARAM_KEY, DBX_ROUTE_MODEL_ID_PARAM_DEFAULT_USE_PARAM_VALUE, DEFAULT_ACTION_DISABLED_KEY, DEFAULT_ACTION_MAP_WORKING_DISABLED_KEY, DEFAULT_DBX_ACTION_BUTTON_ECHO_CONFIG, DEFAULT_DBX_ACTION_BUTTON_ERROR_ECHO, DEFAULT_DBX_ACTION_BUTTON_SUCCESS_ECHO, DEFAULT_DBX_BUTTON_ECHO_DURATION, DEFAULT_LOCAL_ASSET_BASE_URL, DEFAULT_REDIRECT_FOR_IDENTIFIER_PARAM_KEY, DEFAULT_REDIRECT_FOR_IDENTIFIER_PARAM_VALUE, DEFAULT_REDIRECT_FOR_USER_IDENTIFIER_PARAM_KEY, DEFAULT_REDIRECT_FOR_USER_IDENTIFIER_PARAM_VALUE, DEFAULT_STORAGE_ACCESSOR_FACTORY_TOKEN, DEFAULT_STORAGE_OBJECT_TOKEN, DateDayRangePipe, DateDayTimeRangePipe, DateDistancePipe, DateFormatDistancePipe, DateFormatFromToPipe, DateRangeDistancePipe, DateTimeRangeOnlyDistancePipe, DateTimeRangeOnlyPipe, DateTimeRangePipe, DbxActionAutoModifyDirective, DbxActionAutoTriggerDirective, DbxActionButtonDirective, DbxActionButtonTriggerDirective, DbxActionContextBaseSource, DbxActionContextLoggerDirective, DbxActionContextMachine, DbxActionContextMachineAsService, DbxActionContextMapDirective, DbxActionContextStoreSourceInstance, DbxActionDirective, DbxActionDisabledDirective, DbxActionDisabledOnSuccessDirective, DbxActionEnforceModifiedDirective, DbxActionErrorHandlerDirective, DbxActionFromMapDirective, DbxActionHandlerDirective, DbxActionHandlerInstance, DbxActionHandlerValueDirective, DbxActionHasSuccessDirective, DbxActionIdleDirective, DbxActionIsModifiedDirective, DbxActionIsWorkingDirective, DbxActionMapSourceDirective, DbxActionMapWorkingDisableDirective, DbxActionPreSuccessDirective, DbxActionSourceDirective, DbxActionState, DbxActionSuccessHandlerDirective, DbxActionTriggeredDirective, DbxActionValueDirective, DbxActionValueGetterInstance, DbxActionValueStreamDirective, DbxActionValueTriggerDirective, DbxActionWorkInstanceDelegate, DbxAnchor, DbxAngularRouterService, DbxAppAuthRouterEffects, DbxAppAuthRouterService, DbxAppAuthRoutes, DbxAppAuthStateService, DbxAppContextService, DbxAppContextStateDirective, DbxAppEnviroment, DbxAppEnviromentService, DbxAuthHasAnyRoleDirective, DbxAuthHasRolesDirective, DbxAuthNotAnyRoleDirective, DbxAuthService, DbxButton, DbxButtonDirective, DbxButtonSegueDirective, DbxCoreActionModule, DbxCoreAngularRouterSegueModule, DbxCoreAssetLoader, DbxCoreButtonModule, DbxCoreFilterModule, DbxFilterConnectSourceDirective, DbxFilterMapDirective, DbxFilterMapSourceConnectorDirective, DbxFilterMapSourceDirective, DbxFilterSourceConnectorDirective, DbxFilterSourceDirective, DbxInjectionArrayComponent, DbxInjectionComponent, DbxInjectionContext, DbxInjectionContextDirective, DbxInjectionInstance, DbxLoadingButtonDirective, DbxRouteModelIdDirective, DbxRouteModelIdDirectiveDelegate, DbxRouteModelIdFromAuthUserIdDirective, DbxRouteModelKeyDirective, DbxRouteModelKeyDirectiveDelegate, DbxRouteParamDefaultRedirectInstance, DbxRouterService, DbxRouterTransitionEventType, DbxRouterTransitionService, DbxUIRouterService, DollarAmountPipe, FILTER_SOURCE_DIRECTIVE_DEFAULT_FILTER_TOKEN, FilterSourceDirective, FullLocalStorageObject, GetValueOncePipe, GetValuePipe, InstantStorageAccessor, LimitedStorageAccessor, LockSetComponentStore, MemoryStorageObject, MinutesStringPipe, NO_AUTH_USER_IDENTIFIER, PrettyJsonPipe, SecondaryActionContextStoreSource, SimpleStorageAccessor, SimpleStorageAccessorFactory, StorageAccessor, StringStorageAccessor, StringifySimpleStorageAccessorConverter, SystemDateToTargetDatePipe, TargetDateToSystemDatePipe, TimeDistanceCountdownPipe, TimeDistancePipe, TimezoneAbbreviationPipe, ToJsDatePipe, ToMinutesPipe, WrapperSimpleStorageAccessorDelegate, actionContextHasNoErrorAndIsModifiedAndCanTrigger, actionContextIsModifiedAndCanTrigger, actionContextStoreSourceMap, actionContextStoreSourceMapReader, actionContextStoreSourcePipe, anchorTypeForAnchor, asSegueRef, asSegueRefString, assertValidStorageKeyPrefix, authRolesSetContainsAllRolesFrom, authRolesSetContainsAnyRoleFrom, authRolesSetContainsNoRolesFrom, authUserIdentifier, canReadyValue, canTriggerAction, canTriggerActionState, checkNgContentWrapperHasContent, clean, cleanDestroy, cleanListLoadingContext, cleanLoadingContext, cleanLockSet, cleanSubscription, cleanSubscriptionWithLockSet, cleanWithLockSet, clickableUrlInNewTab, clickableUrlMailTo, clickableUrlTel, completeOnDestroy, createInjectorForInjectionComponentConfig, dbxActionWorkProgress, dbxButtonDisplayType, dbxInjectionComponentConfigIsEqual, dbxRouteModelIdParamRedirect, dbxRouteModelKeyParamRedirect, dbxRouteParamReaderInstance, defaultStorageObjectFactory, enableHasAuthRoleHook, enableHasAuthStateHook, enableIsLoggedInHook, expandClickableAnchorLinkTree, expandClickableAnchorLinkTreeNode, expandClickableAnchorLinkTrees, filterTransitionEvent, filterTransitionSuccess, flattenExpandedClickableAnchorLinkTree, flattenExpandedClickableAnchorLinkTreeToLinks, fromAllActionContextStoreSourceMapSources, index_d$1 as fromDbxAppAuth, index_d$3 as fromDbxAppContext, goWithRouter, hasAuthRoleDecisionPipe, hasNonTrivialChildNodes, initInjectionComponent, isActionContextDisabled, isActionContextEnabled, isClickableFilterPreset, isClickablePartialFilterPreset, isDisabledActionContextState, isIdleActionState, isLatestSuccessfulRoute, isSegueRef, isSegueRefActive, isSegueRefActiveFunction, isSegueRefActiveOnTransitionSuccess, isValidStorageKeyPrefix, isWorkingActionState, latestSuccessfulRoutes, loadingStateForActionContextState, loadingStateTypeForActionContextState, loadingStateTypeForActionState, loggedInObsFromIsLoggedIn, loggedOutObsFromIsLoggedIn, makeAuthTransitionHook, makeDbxActionContextSourceReference, mapRefStringObsToSegueRefObs, mergeDbxInjectionComponentConfigs, mergeStaticProviders, newWithInjector, index_d as onDbxAppAuth, index_d$2 as onDbxAppContext, onRouterTransitionEventType, onRouterTransitionSuccessEvent, pipeActionStore, provideActionStoreSource, provideDbxActionButtonEchoConfig, provideDbxAnchor, provideDbxAppAuth, provideDbxAppAuthRouter, provideDbxAppAuthRouterState, provideDbxAppAuthState, provideDbxAppContextState, provideDbxAppEnviroment, provideDbxAssetLoader, provideDbxButton, provideDbxInjectionContext, provideDbxRouteModelIdDirectiveDelegate, provideDbxRouteModelKeyDirectiveDelegate, provideDbxStorage, provideDbxUIRouterService, provideFilterSource, provideFilterSourceConnector, provideFilterSourceDirective, provideSecondaryActionStoreSource, redirectBasedOnAuthUserState, redirectForIdentifierParamHook, redirectForUserIdentifierParamHook, refStringToSegueRef, safeDetectChanges, safeMarkForCheck, safeUseCdRef, successTransition, switchMapDbxInjectionComponentConfig, tapDetectChanges, tapSafeMarkForCheck, transformEmptyStringInputToUndefined, useActionStore };
|
|
7837
8081
|
export type { ActionContextState, ActionContextStoreSourceMapReader, ActionKey, AuthTransitionDecision, AuthTransitionDecisionGetterInput, AuthTransitionHookConfig, AuthTransitionHookOptions, AuthTransitionRedirectTarget, AuthTransitionRedirectTargetGetter, AuthTransitionRedirectTargetOrGetter, AuthTransitionStateData, AuthUserIdentifier, AuthUserState, CleanLockSet, CleanLockSetConfig, CleanSubscriptionWithLockSetConfig, ClickableAnchor, ClickableAnchorLink, ClickableAnchorLinkSegueRef, ClickableAnchorLinkTree, ClickableAnchorType, ClickableFilterPreset, ClickableFilterPresetOrPartialPreset, ClickableFunction, ClickableIconAnchorLink, ClickablePartialFilterPreset, ClickableUrl, DbxActionButtonEchoConfig, DbxActionContextMachineConfig, DbxActionContextSourceReference, DbxActionDisabledKey, DbxActionErrorHandlerFunction, DbxActionRejectedPair, DbxActionSuccessHandlerFunction, DbxActionSuccessPair, DbxActionValueGetterDirectiveComputeInputsConfig, DbxActionValueGetterInstanceConfig, DbxActionValueGetterResult, DbxActionValueGetterValueGetterFunction, DbxActionWorkOrWorkProgress, DbxActionWorkProgress, DbxAppAuthFullState, DbxAppContextFullState, DbxAppContextState, DbxButtonDisplay, DbxButtonDisplayDelegate, DbxButtonDisplayType, DbxButtonEcho, DbxButtonInterceptor, DbxButtonWorking, DbxButtonWorkingProgress, DbxCoreAssetLoaderConfig, DbxInjectionArrayEntry, DbxInjectionComponentConfig, DbxInjectionComponentConfigFactory, DbxInjectionComponentConfigWithoutInjector, DbxInjectionComponentInjectorParams, DbxInjectionContextConfig, DbxInjectionTemplateConfig, DbxKnownAppContextState, DbxRouteModelIdParamRedirect, DbxRouteModelIdParamRedirectInstance, DbxRouteParamReader, DbxRouteParamReaderInstance, DbxRouterTransitionEvent, ExpandedClickableAnchorLinkTree, GoWithRouter, HasAuthRoleHookConfig, HasAuthRoleStateData, HasAuthRoleStateRoleConfig, HasAuthStateConfig, HasAuthStateData, HasAuthStateHookConfig, HasAuthStateObjectConfig, IconAndTitle, InjectableType, IsLatestSuccessfulRouteConfig, IsLoggedInHookConfig, IsLoggedInStateData, IsSegueRefActiveConfig, IsSegueRefActiveFunction, IsSegueRefActiveFunctionConfig, LatestSuccessfulRoutesConfig, LatestSuccessfulRoutesConfigRoute, LockSetComponent, LockSetComponentStoreConfig, MousableFunction, MouseEventPair, MouseEventType, NoAuthUserIdentifier, ParsedHasAuthRoleStateRoleConfig, PipeActionStoreFunction, ProvideDbxAppAuthConfig, ProvideDbxAppAuthRouterConfig, ProvideDbxAppAuthRouterStateConfig, ProvideFilterSourceDirectiveDefaultFilterFactoryFunction, RedirectForIdentifierParamHookInput, RedirectForUserIdentifierParamHookInput, SegueRef, SegueRefOptions, SegueRefOrSegueRefRouterLink, SegueRefRawSegueParams, SegueRefRouterLink, SimpleStorageAccessorConfig, SimpleStorageAccessorConverter, SimpleStorageAccessorDelegate, StorageAccessorFactoryConfig, UseActionStoreFunction };
|