@ng-atomic/common 19.10.0 → 19.12.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.
Files changed (141) hide show
  1. package/directives/fallback-src/index.d.ts +1 -0
  2. package/directives/fallback-src/index.d.ts.map +1 -0
  3. package/directives/ios-safari-scroll-buggyfill/index.d.ts +1 -0
  4. package/directives/ios-safari-scroll-buggyfill/index.d.ts.map +1 -0
  5. package/directives/molecules/column/index.d.ts +1 -0
  6. package/directives/molecules/column/index.d.ts.map +1 -0
  7. package/directives/resize-column/index.d.ts +1 -0
  8. package/directives/resize-column/index.d.ts.map +1 -0
  9. package/fesm2022/ng-atomic-common-utils.mjs +36 -43
  10. package/fesm2022/ng-atomic-common-utils.mjs.map +1 -1
  11. package/index.d.ts +1 -0
  12. package/index.d.ts.map +1 -0
  13. package/interceptors/authorization/index.d.ts +1 -0
  14. package/interceptors/authorization/index.d.ts.map +1 -0
  15. package/interceptors/index.d.ts +1 -0
  16. package/interceptors/index.d.ts.map +1 -0
  17. package/interceptors/throttle/index.d.ts +1 -0
  18. package/interceptors/throttle/index.d.ts.map +1 -0
  19. package/interceptors/token/index.d.ts +1 -0
  20. package/interceptors/token/index.d.ts.map +1 -0
  21. package/models/index.d.ts +1 -0
  22. package/models/index.d.ts.map +1 -0
  23. package/package.json +3 -3
  24. package/pipes/actions/index.d.ts +1 -0
  25. package/pipes/actions/index.d.ts.map +1 -0
  26. package/pipes/auto-columns/index.d.ts +1 -0
  27. package/pipes/auto-columns/index.d.ts.map +1 -0
  28. package/pipes/columns/index.d.ts +1 -0
  29. package/pipes/columns/index.d.ts.map +1 -0
  30. package/pipes/data-accessor/index.d.ts +1 -0
  31. package/pipes/data-accessor/index.d.ts.map +1 -0
  32. package/pipes/domain/index.d.ts +1 -0
  33. package/pipes/domain/index.d.ts.map +1 -0
  34. package/pipes/error/index.d.ts +1 -0
  35. package/pipes/error/index.d.ts.map +1 -0
  36. package/pipes/expression/index.d.ts +1 -0
  37. package/pipes/expression/index.d.ts.map +1 -0
  38. package/pipes/grouped-by/index.d.ts +1 -0
  39. package/pipes/grouped-by/index.d.ts.map +1 -0
  40. package/pipes/index/index.d.ts +1 -0
  41. package/pipes/index/index.d.ts.map +1 -0
  42. package/pipes/index-length/index.d.ts +1 -0
  43. package/pipes/index-length/index.d.ts.map +1 -0
  44. package/pipes/keys/index.d.ts +1 -0
  45. package/pipes/keys/index.d.ts.map +1 -0
  46. package/pipes/map/index.d.ts +1 -0
  47. package/pipes/map/index.d.ts.map +1 -0
  48. package/pipes/page/index.d.ts +1 -0
  49. package/pipes/page/index.d.ts.map +1 -0
  50. package/pipes/pagination/index.d.ts +1 -0
  51. package/pipes/pagination/index.d.ts.map +1 -0
  52. package/pipes/query/index.d.ts +1 -0
  53. package/pipes/query/index.d.ts.map +1 -0
  54. package/pipes/resolve-columns/index.d.ts +1 -0
  55. package/pipes/resolve-columns/index.d.ts.map +1 -0
  56. package/pipes/secret/index.d.ts +1 -0
  57. package/pipes/secret/index.d.ts.map +1 -0
  58. package/pipes/select-id/index.d.ts +1 -0
  59. package/pipes/select-id/index.d.ts.map +1 -0
  60. package/pipes/signal/index.d.ts +1 -0
  61. package/pipes/signal/index.d.ts.map +1 -0
  62. package/pipes/smart-field/index.d.ts +1 -0
  63. package/pipes/smart-field/index.d.ts.map +1 -0
  64. package/pipes/sort/index.d.ts +1 -0
  65. package/pipes/sort/index.d.ts.map +1 -0
  66. package/pipes/sort-by/index.d.ts +1 -0
  67. package/pipes/sort-by/index.d.ts.map +1 -0
  68. package/pipes/style/index.d.ts +1 -0
  69. package/pipes/style/index.d.ts.map +1 -0
  70. package/pipes/yen/index.d.ts +1 -0
  71. package/pipes/yen/index.d.ts.map +1 -0
  72. package/services/app/index.d.ts +1 -0
  73. package/services/app/index.d.ts.map +1 -0
  74. package/services/auth/index.d.ts +1 -0
  75. package/services/auth/index.d.ts.map +1 -0
  76. package/services/breakpoint/index.d.ts +1 -0
  77. package/services/breakpoint/index.d.ts.map +1 -0
  78. package/services/chips-manager/index.d.ts +1 -0
  79. package/services/chips-manager/index.d.ts.map +1 -0
  80. package/services/csv/index.d.ts +1 -0
  81. package/services/csv/index.d.ts.map +1 -0
  82. package/services/editing/index.d.ts +1 -0
  83. package/services/editing/index.d.ts.map +1 -0
  84. package/services/fab/index.d.ts +1 -0
  85. package/services/fab/index.d.ts.map +1 -0
  86. package/services/form/_index/index.d.ts +1 -0
  87. package/services/form/_index/index.d.ts.map +1 -0
  88. package/services/form/columns/index.d.ts +1 -0
  89. package/services/form/columns/index.d.ts.map +1 -0
  90. package/services/form/index.d.ts +1 -0
  91. package/services/form/index.d.ts.map +1 -0
  92. package/services/form/json-schema/index.d.ts +1 -0
  93. package/services/form/json-schema/index.d.ts.map +1 -0
  94. package/services/form/pagination/index.d.ts +1 -0
  95. package/services/form/pagination/index.d.ts.map +1 -0
  96. package/services/form/sort/index.d.ts +1 -0
  97. package/services/form/sort/index.d.ts.map +1 -0
  98. package/services/initializer/index.d.ts +1 -0
  99. package/services/initializer/index.d.ts.map +1 -0
  100. package/services/language/index.d.ts +1 -0
  101. package/services/language/index.d.ts.map +1 -0
  102. package/services/loading/index.d.ts +1 -0
  103. package/services/loading/index.d.ts.map +1 -0
  104. package/services/navigation-history/index.d.ts +1 -0
  105. package/services/navigation-history/index.d.ts.map +1 -0
  106. package/services/query-resolver/index.d.ts +1 -0
  107. package/services/query-resolver/index.d.ts.map +1 -0
  108. package/services/root-property/index.d.ts +1 -0
  109. package/services/root-property/index.d.ts.map +1 -0
  110. package/services/router/index.d.ts +1 -0
  111. package/services/router/index.d.ts.map +1 -0
  112. package/services/secret/index.d.ts +1 -0
  113. package/services/secret/index.d.ts.map +1 -0
  114. package/services/sheets/actions/index.d.ts +1 -0
  115. package/services/sheets/actions/index.d.ts.map +1 -0
  116. package/services/sheets/index.d.ts +1 -0
  117. package/services/sheets/index.d.ts.map +1 -0
  118. package/services/side-app/index.d.ts +1 -0
  119. package/services/side-app/index.d.ts.map +1 -0
  120. package/services/side-nav-mode/index.d.ts +1 -0
  121. package/services/side-nav-mode/index.d.ts.map +1 -0
  122. package/services/snack-bar/index.d.ts +1 -0
  123. package/services/snack-bar/index.d.ts.map +1 -0
  124. package/services/spreadsheet/index.d.ts +1 -0
  125. package/services/spreadsheet/index.d.ts.map +1 -0
  126. package/services/ui/index.d.ts +1 -0
  127. package/services/ui/index.d.ts.map +1 -0
  128. package/stores/entities/index.d.ts +1 -0
  129. package/stores/entities/index.d.ts.map +1 -0
  130. package/stores/entity/index.d.ts +1 -0
  131. package/stores/entity/index.d.ts.map +1 -0
  132. package/stores/pagination/index.d.ts +1 -0
  133. package/stores/pagination/index.d.ts.map +1 -0
  134. package/stores/query/index.d.ts +1 -0
  135. package/stores/query/index.d.ts.map +1 -0
  136. package/stores/selection/index.d.ts +1 -0
  137. package/stores/selection/index.d.ts.map +1 -0
  138. package/stores/sort/index.d.ts +1 -0
  139. package/stores/sort/index.d.ts.map +1 -0
  140. package/utils/index.d.ts +15 -10
  141. package/utils/index.d.ts.map +1 -0
@@ -10,3 +10,4 @@ declare class FallbackSrcDirective {
10
10
  }
11
11
 
12
12
  export { FallbackSrcDirective };
13
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sources":["../../../../../../packages/@ng-atomic/common/src/lib/directives/fallback-src/fallback-src.directive.ts"],"sourcesContent":[null],"names":["_angular_core"],"mappings":";;;AAEA,cAAA,oBAAA;0BAKsBA,EAAA,CAAA,cAAA;;;;;AAQrB;;;;"}
@@ -16,3 +16,4 @@ declare class IosSafariScrollBuggyfillModule {
16
16
  }
17
17
 
18
18
  export { IosSafariScrollBuggyfillDirective, IosSafariScrollBuggyfillModule };
19
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sources":["../../../../../../packages/@ng-atomic/common/src/lib/directives/ios-safari-scroll-buggyfill/ios-safari-scroll-buggyfill.directive.ts","../../../../../../packages/@ng-atomic/common/src/lib/directives/ios-safari-scroll-buggyfill/ios-safari-scroll-buggyfill.module.ts"],"sourcesContent":[null,null],"names":[],"mappings":";;;;AAEA,cAAA,iCAAA,YAAA,aAAA;AAME;;;;AAWD;;ACbD,cAAA,8BAAA;;;;AAW+C;;;;"}
@@ -68,3 +68,4 @@ declare abstract class NgAtomicColumnMolecule extends NgAtomicComponent implemen
68
68
  }
69
69
 
70
70
  export { NgAtomicColumnMolecule, NgAtomicColumnMoleculeStore };
71
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sources":["../../../../../../../packages/@ng-atomic/common/src/lib/directives/molecules/column/column.molecule.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;AAQA,aAAA,QAAA;AACE;AACD;AAED,uBAAA,2BAAA,SAAA,mBAAA;;AAEE,sCAAA,QAAA;;;;;;;;;;;;;;;;;;;;AAWiD;qBAGlC,aAAA,CAAA,WAAA,CAAA,MAAA;oBACD,aAAA,CAAA,WAAA;0BACM,aAAA,CAAA,cAAA;wBACF,aAAA,CAAA,WAAA;uBACD,aAAA,CAAA,WAAA;qBAEF,aAAA,CAAA,MAAA;wBACG,aAAA,CAAA,MAAA;yBACC,aAAA,CAAA,MAAA;mBACN,aAAA,CAAA,MAAA;mBACA,aAAA,CAAA,MAAA;oBACC,aAAA,CAAA,MAAA;AACd,0BAAoB,aAAA,CAAA,MAAA;;;;;AASjB;;;AACJ;AAED,uBAAA,sBAAA,SAAA,iBAAA,YAAA,MAAA,EAAA,SAAA;;;wBAQoB,aAAA,CAAA,MAAA,CAAA,YAAA;mBACL,aAAA,CAAA,MAAA,CAAA,UAAA;yBACM,aAAA,CAAA,MAAA,CAAA,gBAAA;;;;;;;;AA+CpB;;;;"}
@@ -22,3 +22,4 @@ declare class ResizeColumnDirective implements OnInit {
22
22
  }
23
23
 
24
24
  export { ResizeColumnDirective };
25
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sources":["../../../../../../packages/@ng-atomic/common/src/lib/directives/resize-column/resize-column.directive.ts"],"sourcesContent":[null],"names":[],"mappings":";;;AAGA,cAAA,qBAAA,YAAA,MAAA;oBAKgB,aAAA,CAAA,WAAA;qBACC,aAAA,CAAA,gBAAA;;;;;AAOf,yCAAA,gBAAA;AACA,2BAAA,UAAA;AACA,iCAAA,SAAA;;;AAWA;AAOA;AAcA;AAQA;;;AAQD;;;;"}
@@ -78,18 +78,6 @@ function injectRouterParam$(key) {
78
78
  function injectRouterParam(key) {
79
79
  return toSignal(injectRouterParam$(key));
80
80
  }
81
- function injectRouteQueryParam$(key) {
82
- return inject(ActivatedRoute).queryParamMap.pipe(map((params) => params.get(key)), shareReplay(1), takeUntilDestroyed());
83
- }
84
- function injectRouteQueryParam(key) {
85
- return toSignal(injectRouteQueryParam$(key));
86
- }
87
- // export function injectRouteParamMap$(): Observable<ParamMap> {
88
- // return inject(ActivatedRoute).paramMap.pipe(
89
- // shareReplay(1),
90
- // takeUntilDestroyed(),
91
- // );
92
- // }
93
81
  function injectRouteParams$({ merge = true, route = inject(ActivatedRoute), } = {}) {
94
82
  const parentParams = (merge && route.parent) ? injectRouteParams$({ merge, route: route.parent }) : of(new Map());
95
83
  return combineLatest({
@@ -118,20 +106,35 @@ function injectRouteParamMap$({ merge = true, } = {}) {
118
106
  function injectRouteParamMap({ merge = true, } = {}) {
119
107
  return toSignal(injectRouteParamMap$({ merge }));
120
108
  }
121
- // export function injectRouteParams$(): Observable<Record<string, string>> {
122
- // return inject(ActivatedRoute).paramMap.pipe(
123
- // map((params) => {
124
- // const result = {};
125
- // params.keys.forEach(key => result[key] = params.get(key));
126
- // return result;
127
- // }),
128
- // shareReplay(1),
129
- // takeUntilDestroyed(),
130
- // );
131
- // }
132
109
  function injectRouteParams({ merge = true, } = {}) {
133
110
  return toSignal(injectRouteParams$({ merge }));
134
111
  }
112
+ function injectRouteParam$(key, { merge = true, } = {}) {
113
+ return injectRouteParamMap$({ merge }).pipe(map((params) => params.get(key)), takeUntilDestroyed());
114
+ }
115
+ function injectRouteParam(key, injector) {
116
+ return toSignal(injectRouteParam$(key), { injector });
117
+ }
118
+ function injectRouteSkip$() {
119
+ return injectRouteParam$('skip', { merge: false }).pipe(map((skip) => skip === 'true'), shareReplay(1), takeUntilDestroyed());
120
+ }
121
+ function injectRouteSkip() {
122
+ return toSignal(injectRouteSkip$());
123
+ }
124
+
125
+ function injectRouteQueryParam$(key) {
126
+ return inject(ActivatedRoute).queryParamMap.pipe(map((params) => params.get(key)), shareReplay(1), takeUntilDestroyed());
127
+ }
128
+ function injectRouteQueryParam(key) {
129
+ return toSignal(injectRouteQueryParam$(key));
130
+ }
131
+ function injectRouterQueryParam$(key) {
132
+ return inject(ActivatedRoute).queryParamMap.pipe(map((params) => params.get(key)), shareReplay(1), takeUntilDestroyed());
133
+ }
134
+ function injectRouterQueryParam(key) {
135
+ return toSignal(injectRouterQueryParam$(key));
136
+ }
137
+
135
138
  function injectRouteNavigated$() {
136
139
  const router = inject(Router);
137
140
  const route = inject(ActivatedRoute);
@@ -179,12 +182,7 @@ function injectNavigationExtras() {
179
182
  const hasNext = injectHasNext();
180
183
  return computed(() => ({ relativeTo, replaceUrl: hasNext() }));
181
184
  }
182
- function injectRouterQueryParam$(key) {
183
- return inject(ActivatedRoute).queryParamMap.pipe(map((params) => params.get(key)), shareReplay(1), takeUntilDestroyed());
184
- }
185
- function injectRouterQueryParam(key) {
186
- return toSignal(injectRouterQueryParam$(key));
187
- }
185
+
188
186
  function injectRouteData$(path) {
189
187
  return inject(ActivatedRoute).data.pipe(map(data => get$1(data, path)));
190
188
  }
@@ -205,10 +203,10 @@ function injectActivatedComponents(injector = inject(Injector)) {
205
203
  }
206
204
  return components;
207
205
  }
206
+
208
207
  function provideResolver(Entity, ResolverType) {
209
208
  return {
210
209
  provide: Entity,
211
- // useFactory: () => new ResolverType(params),
212
210
  deps: [],
213
211
  multi: true,
214
212
  };
@@ -219,7 +217,7 @@ class ResolverManager {
219
217
  }
220
218
  get(Entity) {
221
219
  if (!this.map.has(Entity.name)) {
222
- // return this.map.set()
220
+ // placeholder for future implementation
223
221
  }
224
222
  return this.map.get(Entity.name);
225
223
  }
@@ -237,18 +235,13 @@ function injectResolver$(ResolverType, params) {
237
235
  function getResolver(ResolverType, params) {
238
236
  return new ResolverType(params);
239
237
  }
240
- function injectRouteParam$(key, { merge = true, } = {}) {
241
- return injectRouteParamMap$({ merge }).pipe(map((params) => params.get(key)), takeUntilDestroyed());
242
- }
243
- function injectRouteParam(key, injector) {
244
- return toSignal(injectRouteParam$(key), { injector });
245
- }
246
- function injectRouteSkip$() {
247
- return injectRouteParam$('skip', { merge: false }).pipe(map((skip) => skip === 'true'), shareReplay(1), takeUntilDestroyed());
248
- }
249
- function injectRouteSkip() {
250
- return toSignal(injectRouteSkip$());
251
- }
238
+
239
+ /**
240
+ * Angular injection utilities for routing and resolvers
241
+ *
242
+ * Re-exports all utilities from split files for backward compatibility
243
+ */
244
+ // Route parameter utilities
252
245
 
253
246
  /** InjectionToken for Dayjs date adapter to configure options. */
254
247
  const MAT_DAYJS_DATE_ADAPTER_OPTIONS = new InjectionToken('MAT_DAYJS_DATE_ADAPTER_OPTIONS', {