@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.
@@ -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>
@@ -1790,6 +1882,11 @@ declare abstract class AbstractDbxActionValueGetterDirective<T> {
1790
1882
  * Supports optional `isModified` and `isEqual` functions to control whether the retrieved
1791
1883
  * value should proceed to `readyValue` or be rejected.
1792
1884
  *
1885
+ * @dbxAction
1886
+ * @dbxActionSlug value-getter
1887
+ * @dbxActionStateInteraction TRIGGERED, VALUE_READY
1888
+ * @dbxActionConsumesContext
1889
+ *
1793
1890
  * @example
1794
1891
  * ```html
1795
1892
  * <div dbxAction>
@@ -2773,6 +2870,15 @@ declare namespace index_d$3 {
2773
2870
  export type { index_d$3_DbxAppContextFeatureState as DbxAppContextFeatureState, State$1 as State };
2774
2871
  }
2775
2872
 
2873
+ /**
2874
+ * Type that contains the dbx-core contextual ngrx state information about an app's context.
2875
+ *
2876
+ * This is the "full state" of our DbxAppContext. It is the sum of the fromDbxContext.State interface.
2877
+ *
2878
+ * Sub-state types that need to be aware of this typeing may extend (via union) this type.
2879
+ */
2880
+ type DbxAppContextFullState = State$1;
2881
+
2776
2882
  /**
2777
2883
  * Action to set the current DbxAppContextState value.
2778
2884
  */
@@ -2795,21 +2901,16 @@ declare namespace data_action_d {
2795
2901
  };
2796
2902
  }
2797
2903
 
2904
+ /**
2905
+ * Accessor for the DbxAppContextStateData in our DbxAppContextFeatureState.
2906
+ */
2907
+
2798
2908
  declare namespace index_d$2 {
2799
2909
  export {
2800
2910
  data_action_d as DbxAppContextActions,
2801
2911
  };
2802
2912
  }
2803
2913
 
2804
- /**
2805
- * Type that contains the dbx-core contextual ngrx state information about an app's context.
2806
- *
2807
- * This is the "full state" of our DbxAppContext. It is the sum of the fromDbxContext.State interface.
2808
- *
2809
- * Sub-state types that need to be aware of this typeing may extend (via union) this type.
2810
- */
2811
- type DbxAppContextFullState = State$1;
2812
-
2813
2914
  /**
2814
2915
  * Service for dispatching and selecting the application's {@link DbxAppContextState} from the NgRx store.
2815
2916
  *
@@ -3033,6 +3134,18 @@ declare namespace index_d$1 {
3033
3134
  export type { index_d$1_DbxAppAuthFeatureState as DbxAppAuthFeatureState, index_d$1_State as State };
3034
3135
  }
3035
3136
 
3137
+ /**
3138
+ * Top-level NgRx state interface that includes the dbx-core auth feature state.
3139
+ *
3140
+ * This type extends the root NgRx store state with the auth feature slice keyed by
3141
+ * the `'app.auth'` feature key. Use this type when injecting the NgRx `Store` in services
3142
+ * or effects that need access to the auth state selectors.
3143
+ *
3144
+ * @see {@link fromDbxAppAuth.DbxAppAuthFeatureState} for the shape of the auth feature slice.
3145
+ * @see {@link DbxAppAuthStateService} for a convenience service wrapping store access.
3146
+ */
3147
+ type DbxAppAuthFullState = State;
3148
+
3036
3149
  /**
3037
3150
  * NgRx action dispatched when the user has successfully logged in.
3038
3151
  *
@@ -3146,6 +3259,10 @@ declare namespace user_action_d {
3146
3259
  };
3147
3260
  }
3148
3261
 
3262
+ /**
3263
+ * Actions related to the auth state.
3264
+ */
3265
+
3149
3266
  declare namespace index_d {
3150
3267
  export {
3151
3268
  auth_action_d as DbxAppAuthActions,
@@ -3153,18 +3270,6 @@ declare namespace index_d {
3153
3270
  };
3154
3271
  }
3155
3272
 
3156
- /**
3157
- * Top-level NgRx state interface that includes the dbx-core auth feature state.
3158
- *
3159
- * This type extends the root NgRx store state with the auth feature slice keyed by
3160
- * the `'app.auth'` feature key. Use this type when injecting the NgRx `Store` in services
3161
- * or effects that need access to the auth state selectors.
3162
- *
3163
- * @see {@link fromDbxAppAuth.DbxAppAuthFeatureState} for the shape of the auth feature slice.
3164
- * @see {@link DbxAppAuthStateService} for a convenience service wrapping store access.
3165
- */
3166
- type DbxAppAuthFullState = State;
3167
-
3168
3273
  /**
3169
3274
  * Enum describing the type of a router transition event.
3170
3275
  *
@@ -5849,6 +5954,9 @@ declare class DbxRouteModelKeyDirective {
5849
5954
  * Useful for normalizing values that may be plain values, getter functions, or Observables
5850
5955
  * into a consistent Observable stream for use with the `async` pipe.
5851
5956
  *
5957
+ * @dbxPipe
5958
+ * @dbxPipeSlug as-observable
5959
+ * @dbxPipeCategory async
5852
5960
  * @example
5853
5961
  * ```html
5854
5962
  * <span>{{ valueOrGetter | asObservable | async }}</span>
@@ -5865,6 +5973,10 @@ declare class AsObservablePipe implements PipeTransform {
5865
5973
  *
5866
5974
  * Displays only the date portion (no times). Returns a fallback string when the input is `null` or `undefined`.
5867
5975
  *
5976
+ * @dbxPipe
5977
+ * @dbxPipeSlug date-day-range
5978
+ * @dbxPipeCategory date
5979
+ * @dbxPipeRelated date-time-range, date-day-time-range
5868
5980
  * @example
5869
5981
  * ```html
5870
5982
  * <span>{{ dateRange | dateDayRange }}</span>
@@ -5885,6 +5997,10 @@ declare class DateDayRangePipe implements PipeTransform {
5885
5997
  *
5886
5998
  * Accepts an optional comparison date (defaults to now) and a fallback string for `null`/`undefined` input.
5887
5999
  *
6000
+ * @dbxPipe
6001
+ * @dbxPipeSlug date-distance
6002
+ * @dbxPipeCategory date
6003
+ * @dbxPipeRelated date-range-distance, date-format-distance, time-distance
5888
6004
  * @example
5889
6005
  * ```html
5890
6006
  * <span>{{ someDate | dateDistance }}</span>
@@ -5908,6 +6024,10 @@ declare class DateDistancePipe implements PipeTransform {
5908
6024
  *
5909
6025
  * Returns `undefined` if the input is falsy or not a valid date.
5910
6026
  *
6027
+ * @dbxPipe
6028
+ * @dbxPipeSlug date-format-distance
6029
+ * @dbxPipeCategory date
6030
+ * @dbxPipeRelated date-distance, date-format-from-to
5911
6031
  * @example
5912
6032
  * ```html
5913
6033
  * <span>{{ someDate | dateFormatDistance:'MMM d, y' }}</span>
@@ -5930,6 +6050,10 @@ declare class DateFormatDistancePipe implements PipeTransform {
5930
6050
  * The start date is formatted using the Angular locale-aware {@link formatDate}, and the end time
5931
6051
  * is computed by adding the given minutes and formatted as a time-only string.
5932
6052
  *
6053
+ * @dbxPipe
6054
+ * @dbxPipeSlug date-format-from-to
6055
+ * @dbxPipeCategory date
6056
+ * @dbxPipeRelated date-time-range, date-format-distance
5933
6057
  * @example
5934
6058
  * ```html
5935
6059
  * <span>{{ eventStart | dateFormatFromTo:'MMM d, h:mm a':90 }}</span>
@@ -5949,6 +6073,10 @@ declare class DateFormatFromToPipe implements PipeTransform {
5949
6073
  *
5950
6074
  * Includes both the date and time portions. Returns a fallback string when the input is `null` or `undefined`.
5951
6075
  *
6076
+ * @dbxPipe
6077
+ * @dbxPipeSlug date-day-time-range
6078
+ * @dbxPipeCategory date
6079
+ * @dbxPipeRelated date-time-range, date-day-range
5952
6080
  * @example
5953
6081
  * ```html
5954
6082
  * <span>{{ dateRange | dateDayTimeRange }}</span>
@@ -5969,6 +6097,10 @@ declare class DateDayTimeRangePipe implements PipeTransform {
5969
6097
  *
5970
6098
  * Displays the date and time of both the start and end. Returns a fallback string when the input is `null` or `undefined`.
5971
6099
  *
6100
+ * @dbxPipe
6101
+ * @dbxPipeSlug date-time-range
6102
+ * @dbxPipeCategory date
6103
+ * @dbxPipeRelated date-time-range-only, date-day-range, date-day-time-range
5972
6104
  * @example
5973
6105
  * ```html
5974
6106
  * <span>{{ dateRange | dateTimeRange }}</span>
@@ -5990,6 +6122,10 @@ declare class DateTimeRangePipe implements PipeTransform {
5990
6122
  * This is an impure pipe that recalculates on every change detection cycle to keep the distance up to date.
5991
6123
  * Returns a fallback string when the input is `null` or `undefined`.
5992
6124
  *
6125
+ * @dbxPipe
6126
+ * @dbxPipeSlug date-range-distance
6127
+ * @dbxPipeCategory date
6128
+ * @dbxPipeRelated date-distance
5993
6129
  * @example
5994
6130
  * ```html
5995
6131
  * <span>{{ someDate | dateRangeDistance }}</span>
@@ -6010,6 +6146,10 @@ declare class DateRangeDistancePipe implements PipeTransform {
6010
6146
  *
6011
6147
  * Displays only the time portion (no date). Returns a fallback string when the input is `null` or `undefined`.
6012
6148
  *
6149
+ * @dbxPipe
6150
+ * @dbxPipeSlug date-time-range-only
6151
+ * @dbxPipeCategory date
6152
+ * @dbxPipeRelated date-time-range
6013
6153
  * @example
6014
6154
  * ```html
6015
6155
  * <span>{{ dateRange | dateTimeRangeOnly }}</span>
@@ -6032,6 +6172,10 @@ declare class DateTimeRangeOnlyPipe implements PipeTransform {
6032
6172
  * local time in a target timezone and need to convert it back to the system timezone.
6033
6173
  * Returns `undefined` if either the input date or timezone is falsy.
6034
6174
  *
6175
+ * @dbxPipe
6176
+ * @dbxPipeSlug target-date-to-system-date
6177
+ * @dbxPipeCategory date
6178
+ * @dbxPipeRelated system-date-to-target-date, timezone-abbreviation
6035
6179
  * @example
6036
6180
  * ```html
6037
6181
  * <span>{{ targetDate | targetDateToSystemDate:'America/New_York' | date:'short' }}</span>
@@ -6050,6 +6194,10 @@ declare class TargetDateToSystemDatePipe implements PipeTransform {
6050
6194
  * Accepts an optional {@link FormatDateRangeDistanceFunctionConfig} to customize the output format.
6051
6195
  * Returns a fallback string when the input is `null` or `undefined`.
6052
6196
  *
6197
+ * @dbxPipe
6198
+ * @dbxPipeSlug date-time-range-only-distance
6199
+ * @dbxPipeCategory date
6200
+ * @dbxPipeRelated date-time-range, date-range-distance
6053
6201
  * @example
6054
6202
  * ```html
6055
6203
  * <span>{{ dateRange | dateTimeRangeOnlyDistance }}</span>
@@ -6075,6 +6223,10 @@ declare class DateTimeRangeOnlyDistancePipe implements PipeTransform {
6075
6223
  * Defaults to the current date if no reference date is provided.
6076
6224
  * Returns `undefined` if the timezone is falsy.
6077
6225
  *
6226
+ * @dbxPipe
6227
+ * @dbxPipeSlug timezone-abbreviation
6228
+ * @dbxPipeCategory date
6229
+ * @dbxPipeRelated system-date-to-target-date, target-date-to-system-date
6078
6230
  * @example
6079
6231
  * ```html
6080
6232
  * <span>{{ 'America/New_York' | timezoneAbbreviation }}</span>
@@ -6096,6 +6248,10 @@ declare class TimezoneAbbreviationPipe implements PipeTransform {
6096
6248
  * 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.
6097
6249
  * Returns `undefined` if either the input date or timezone is falsy.
6098
6250
  *
6251
+ * @dbxPipe
6252
+ * @dbxPipeSlug system-date-to-target-date
6253
+ * @dbxPipeCategory date
6254
+ * @dbxPipeRelated target-date-to-system-date, timezone-abbreviation
6099
6255
  * @example
6100
6256
  * ```html
6101
6257
  * <span>{{ systemDate | systemDateToTargetDate:'America/New_York' | date:'short' }}</span>
@@ -6117,6 +6273,10 @@ declare class SystemDateToTargetDatePipe implements PipeTransform {
6117
6273
  *
6118
6274
  * A `~` prefix is added when the value is rounded up. Returns `undefined` for `null` or non-numeric input.
6119
6275
  *
6276
+ * @dbxPipe
6277
+ * @dbxPipeSlug minutes-string
6278
+ * @dbxPipeCategory date
6279
+ * @dbxPipeRelated to-minutes
6120
6280
  * @example
6121
6281
  * ```html
6122
6282
  * <span>{{ 90 | minutesString }}</span>
@@ -6142,6 +6302,10 @@ declare class MinutesStringPipe implements PipeTransform {
6142
6302
  * Otherwise, returns a human-readable distance string with suffix (e.g., "in 3 hours").
6143
6303
  * Returns the `unavailable` string when the input is falsy.
6144
6304
  *
6305
+ * @dbxPipe
6306
+ * @dbxPipeSlug time-countdown-distance
6307
+ * @dbxPipeCategory date
6308
+ * @dbxPipeRelated time-distance
6145
6309
  * @example
6146
6310
  * ```html
6147
6311
  * <span>{{ futureDate | timeCountdownDistance }}</span>
@@ -6162,6 +6326,10 @@ declare class TimeDistanceCountdownPipe implements PipeTransform {
6162
6326
  * Uses date-fns {@link formatDistance} to produce output like "3 hours ago" or "in 2 days".
6163
6327
  * Returns the `unavailable` string when the input is falsy.
6164
6328
  *
6329
+ * @dbxPipe
6330
+ * @dbxPipeSlug time-distance
6331
+ * @dbxPipeCategory date
6332
+ * @dbxPipeRelated date-distance, time-countdown-distance
6165
6333
  * @example
6166
6334
  * ```html
6167
6335
  * <span>{{ someDate | timeDistance }}</span>
@@ -6186,6 +6354,10 @@ declare class TimeDistancePipe implements PipeTransform {
6186
6354
  * Returns `undefined` if the input is `null`, `undefined`, or results in an invalid date.
6187
6355
  * Also provides a static `toJsDate()` method used by other pipes in this package.
6188
6356
  *
6357
+ * @dbxPipe
6358
+ * @dbxPipeSlug to-js-date
6359
+ * @dbxPipeCategory date
6360
+ * @dbxPipeRelated date-distance, date-format-distance
6189
6361
  * @example
6190
6362
  * ```html
6191
6363
  * <span>{{ '2024-01-05T12:00:00Z' | toJsDate | date:'short' }}</span>
@@ -6207,6 +6379,10 @@ declare class ToJsDatePipe implements PipeTransform {
6207
6379
  *
6208
6380
  * Returns the original value (0 or falsy) if the input is falsy.
6209
6381
  *
6382
+ * @dbxPipe
6383
+ * @dbxPipeSlug to-minutes
6384
+ * @dbxPipeCategory date
6385
+ * @dbxPipeRelated minutes-string
6210
6386
  * @example
6211
6387
  * ```html
6212
6388
  * <span>{{ 180000 | toMinutes }}</span>
@@ -6227,6 +6403,9 @@ declare class ToMinutesPipe implements PipeTransform {
6227
6403
  *
6228
6404
  * Returns `undefined` for falsy input. If serialization fails, returns `'ERROR'` and logs the error to the console.
6229
6405
  *
6406
+ * @dbxPipe
6407
+ * @dbxPipeSlug prettyjson
6408
+ * @dbxPipeCategory misc
6230
6409
  * @example
6231
6410
  * ```html
6232
6411
  * <pre>{{ myObject | prettyjson }}</pre>
@@ -6235,6 +6414,7 @@ declare class ToMinutesPipe implements PipeTransform {
6235
6414
  * <pre>{{ myObject | prettyjson:4 }}</pre>
6236
6415
  * <!-- Output: formatted JSON with 4-space indentation -->
6237
6416
  * ```
6417
+ * @param spacing Indent spaces; defaults to `2`.
6238
6418
  */
6239
6419
  declare class PrettyJsonPipe implements PipeTransform {
6240
6420
  static toPrettyJson(input: Maybe<unknown>, spacing?: number): Maybe<string>;
@@ -6248,6 +6428,10 @@ declare class PrettyJsonPipe implements PipeTransform {
6248
6428
  *
6249
6429
  * Returns the original value if the input is `null` or `undefined`.
6250
6430
  *
6431
+ * @dbxPipe
6432
+ * @dbxPipeSlug cut-text
6433
+ * @dbxPipeCategory value
6434
+ * @dbxPipeSkillRefs dbx-value-pipes
6251
6435
  * @example
6252
6436
  * ```html
6253
6437
  * <span>{{ 'Hello World' | cutText:5 }}</span>
@@ -6256,6 +6440,8 @@ declare class PrettyJsonPipe implements PipeTransform {
6256
6440
  * <span>{{ longText | cutText:20:'--' }}</span>
6257
6441
  * <!-- Output: "Some long text here--" -->
6258
6442
  * ```
6443
+ * @param maxLength Maximum allowed length before truncation.
6444
+ * @param endText Suffix appended when truncation occurs.
6259
6445
  */
6260
6446
  declare class CutTextPipe implements PipeTransform {
6261
6447
  transform(input: Maybe<string>, maxLength: number, endText?: Maybe<string>): Maybe<string>;
@@ -6270,11 +6456,17 @@ declare class CutTextPipe implements PipeTransform {
6270
6456
  * for getter functions whose return value may change over time.
6271
6457
  * Use {@link GetValueOncePipe} (`getValueOnce`) for a pure alternative when the value is static.
6272
6458
  *
6459
+ * @dbxPipe
6460
+ * @dbxPipeSlug get-value
6461
+ * @dbxPipeCategory value
6462
+ * @dbxPipeRelated get-value-once
6463
+ * @dbxPipeSkillRefs dbx-value-pipes
6273
6464
  * @example
6274
6465
  * ```html
6275
6466
  * <span>{{ myGetterOrValue | getValue }}</span>
6276
6467
  * <span>{{ myGetterFn | getValue:someArg }}</span>
6277
6468
  * ```
6469
+ * @param args Optional argument forwarded to the getter function.
6278
6470
  */
6279
6471
  declare class GetValuePipe implements PipeTransform {
6280
6472
  transform<T, A = any>(input: GetterOrValue<T>, args?: A): T;
@@ -6287,10 +6479,16 @@ declare class GetValuePipe implements PipeTransform {
6287
6479
  * This is a pure pipe that only re-evaluates when the input reference changes.
6288
6480
  * Use {@link GetValuePipe} (`getValue`) if the getter function's return value may change between cycles.
6289
6481
  *
6482
+ * @dbxPipe
6483
+ * @dbxPipeSlug get-value-once
6484
+ * @dbxPipeCategory value
6485
+ * @dbxPipeRelated get-value
6486
+ * @dbxPipeSkillRefs dbx-value-pipes
6290
6487
  * @example
6291
6488
  * ```html
6292
6489
  * <span>{{ myGetterOrValue | getValueOnce }}</span>
6293
6490
  * ```
6491
+ * @param args Optional argument forwarded to the getter function.
6294
6492
  */
6295
6493
  declare class GetValueOncePipe implements PipeTransform {
6296
6494
  transform<T, A = any>(input: GetterOrValue<T>, args?: A): T;
@@ -6303,6 +6501,10 @@ declare class GetValueOncePipe implements PipeTransform {
6303
6501
  *
6304
6502
  * Optionally accepts a default string to display when the input is `null` or `undefined`.
6305
6503
  *
6504
+ * @dbxPipe
6505
+ * @dbxPipeSlug dollar-amount
6506
+ * @dbxPipeCategory value
6507
+ * @dbxPipeSkillRefs dbx-value-pipes
6306
6508
  * @example
6307
6509
  * ```html
6308
6510
  * <span>{{ 19.5 | dollarAmount }}</span>
@@ -6311,6 +6513,7 @@ declare class GetValueOncePipe implements PipeTransform {
6311
6513
  * <span>{{ nullValue | dollarAmount:'N/A' }}</span>
6312
6514
  * <!-- Output: "N/A" -->
6313
6515
  * ```
6516
+ * @param defaultIfNull String to display when the input is `null` or `undefined`. Defaults to formatting `null` through `dollarAmountString`.
6314
6517
  */
6315
6518
  declare class DollarAmountPipe implements PipeTransform {
6316
6519
  transform(input: Maybe<number>, defaultIfNull?: Maybe<string>): Maybe<string>;
@@ -6403,10 +6606,12 @@ declare abstract class AbstractFilterSourceDirective<F = unknown> implements Fil
6403
6606
  }
6404
6607
 
6405
6608
  /**
6406
- * Connects the host element's {@link FilterSource} to an ancestor {@link FilterSourceConnector} on initialization.
6609
+ * 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.
6407
6610
  *
6408
- * Place on an element that has a `FilterSource` (via `host: true`) to automatically
6409
- * wire it up to a parent `FilterSourceConnector`.
6611
+ * @dbxFilter
6612
+ * @dbxFilterSlug connect-source
6613
+ * @dbxFilterRelated source, source-connector
6614
+ * @dbxFilterSkillRefs dbx__ref__dbx-component-patterns
6410
6615
  *
6411
6616
  * @example
6412
6617
  * ```html
@@ -6424,14 +6629,18 @@ declare class DbxFilterConnectSourceDirective<F = unknown> implements OnInit {
6424
6629
  }
6425
6630
 
6426
6631
  /**
6427
- * Concrete directive that acts as both a {@link FilterSource} and {@link FilterSourceConnector}.
6632
+ * 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.
6428
6633
  *
6429
- * Place on an element to bridge a filter source from one part of the template to another.
6634
+ * @dbxFilter
6635
+ * @dbxFilterSlug source-connector
6636
+ * @dbxFilterRelated source, connect-source
6637
+ * @dbxFilterSkillRefs dbx__ref__dbx-component-patterns
6430
6638
  *
6431
6639
  * @example
6432
6640
  * ```html
6433
6641
  * <div dbxFilterSourceConnector>
6434
- * <my-list-component></my-list-component>
6642
+ * <my-filter-form dbxFilterSource dbxFilterConnectSource></my-filter-form>
6643
+ * <my-list></my-list>
6435
6644
  * </div>
6436
6645
  * ```
6437
6646
  */
@@ -6495,18 +6704,26 @@ declare abstract class AbstractDbxFilterMapSourceDirective<F> extends AbstractDb
6495
6704
  static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractDbxFilterMapSourceDirective<any>, never, never, {}, {}, never, never, true, never>;
6496
6705
  }
6497
6706
  /**
6498
- * Concrete directive that provides a {@link FilterSource} from a keyed entry in a parent {@link FilterMap}.
6707
+ * 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.
6708
+ *
6709
+ * @dbxFilter
6710
+ * @dbxFilterSlug map-source
6711
+ * @dbxFilterRelated map, map-source-connector
6712
+ * @dbxFilterSkillRefs dbx__ref__dbx-component-patterns
6499
6713
  *
6500
6714
  * @example
6501
6715
  * ```html
6502
6716
  * <div dbxFilterMap>
6503
- * <div [dbxFilterMapSource]="'listFilter'">
6717
+ * <div [dbxFilterMapSource]="'profileList'">
6504
6718
  * <my-filtered-list></my-filtered-list>
6505
6719
  * </div>
6506
6720
  * </div>
6507
6721
  * ```
6508
6722
  */
6509
6723
  declare class DbxFilterMapSourceDirective<F> extends AbstractDbxFilterMapSourceDirective<F> implements FilterSource<F> {
6724
+ /**
6725
+ * The map key this source binds to.
6726
+ */
6510
6727
  readonly dbxFilterMapSource: i0.InputSignal<Maybe<string>>;
6511
6728
  protected readonly _dbxFilterMapSourceEffect: i0.EffectRef;
6512
6729
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxFilterMapSourceDirective<any>, never>;
@@ -6514,20 +6731,26 @@ declare class DbxFilterMapSourceDirective<F> extends AbstractDbxFilterMapSourceD
6514
6731
  }
6515
6732
 
6516
6733
  /**
6517
- * Directive that acts as both a {@link FilterSourceConnector} and {@link FilterSource} for a keyed entry in a parent {@link FilterMap}.
6734
+ * 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.
6518
6735
  *
6519
- * Connects an external filter source to a specific filter map entry and re-emits that entry's filter.
6736
+ * @dbxFilter
6737
+ * @dbxFilterSlug map-source-connector
6738
+ * @dbxFilterRelated map, map-source
6739
+ * @dbxFilterSkillRefs dbx__ref__dbx-component-patterns
6520
6740
  *
6521
6741
  * @example
6522
6742
  * ```html
6523
6743
  * <div dbxFilterMap>
6524
- * <div [dbxFilterMapSourceConnector]="'myList'">
6525
- * <my-list-component></my-list-component>
6744
+ * <div [dbxFilterMapSourceConnector]="'profileList'">
6745
+ * <my-list></my-list>
6526
6746
  * </div>
6527
6747
  * </div>
6528
6748
  * ```
6529
6749
  */
6530
6750
  declare class DbxFilterMapSourceConnectorDirective<F> extends AbstractDbxFilterMapSourceDirective<F> implements FilterSourceConnector<F> {
6751
+ /**
6752
+ * The map key this connector binds to.
6753
+ */
6531
6754
  readonly dbxFilterMapSourceConnector: i0.InputSignal<Maybe<string>>;
6532
6755
  protected readonly _dbxFilterMapSourceConnectorEffect: i0.EffectRef;
6533
6756
  connectWithSource(filterSource: FilterSource<F>): void;
@@ -6536,10 +6759,12 @@ declare class DbxFilterMapSourceConnectorDirective<F> extends AbstractDbxFilterM
6536
6759
  }
6537
6760
 
6538
6761
  /**
6539
- * Directive that provides a {@link FilterMap} instance for managing multiple named filter sources.
6762
+ * 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.
6540
6763
  *
6541
- * Child directives like `dbxFilterMapSource` and `dbxFilterMapSourceConnector` look up this
6542
- * map via DI to register and retrieve filter instances by key.
6764
+ * @dbxFilter
6765
+ * @dbxFilterSlug map
6766
+ * @dbxFilterRelated map-source, map-source-connector
6767
+ * @dbxFilterSkillRefs dbx__ref__dbx-component-patterns
6543
6768
  *
6544
6769
  * @example
6545
6770
  * ```html
@@ -6556,21 +6781,23 @@ declare class DbxFilterMapDirective<F> {
6556
6781
  }
6557
6782
 
6558
6783
  /**
6559
- * A clickable preset that applies a predefined filter value when selected.
6784
+ * 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.
6560
6785
  *
6561
- * Combines display properties (title, icon, disabled) with a filter preset value.
6562
- * A `null` or empty `presetValue` resets the filter.
6786
+ * @dbxFilter
6787
+ * @dbxFilterSlug clickable-preset
6788
+ * @dbxFilterRelated source
6789
+ * @dbxFilterSkillRefs dbx__ref__dbx-component-patterns
6563
6790
  *
6564
6791
  * @typeParam F - The filter type, which must include a preset field.
6565
6792
  * @typeParam P - The preset string identifier type.
6566
6793
  *
6567
6794
  * @example
6568
6795
  * ```typescript
6569
- * const preset: ClickableFilterPreset<MyFilter> = {
6796
+ * const activePreset: ClickableFilterPreset<ProfileFilter> = {
6570
6797
  * preset: 'active',
6571
- * title: 'Active Items',
6798
+ * title: 'Active',
6572
6799
  * icon: 'check',
6573
- * presetValue: { status: 'active', preset: 'active' },
6800
+ * presetValue: { status: 'active', preset: 'active' }
6574
6801
  * };
6575
6802
  * ```
6576
6803
  */
@@ -6622,12 +6849,17 @@ declare function isClickablePartialFilterPreset<F>(preset: object): preset is Cl
6622
6849
  type ClickableFilterPresetOrPartialPreset<F extends FilterWithPreset<P>, P extends string = string> = ClickableFilterPreset<F, P> | ClickablePartialFilterPreset<F>;
6623
6850
 
6624
6851
  /**
6625
- * Provides a {@link FilterSource} in the DI tree, allowing child components to inject and consume filter state.
6852
+ * 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).
6853
+ *
6854
+ * @dbxFilter
6855
+ * @dbxFilterSlug source
6856
+ * @dbxFilterRelated connect-source, source-connector, map-source
6857
+ * @dbxFilterSkillRefs dbx__ref__dbx-component-patterns
6626
6858
  *
6627
6859
  * @example
6628
6860
  * ```html
6629
6861
  * <div dbxFilterSource>
6630
- * <my-list-component></my-list-component>
6862
+ * <my-filter-form></my-filter-form>
6631
6863
  * </div>
6632
6864
  * ```
6633
6865
  */