@lucca-front/ng 22.0.0-rc.2 → 22.0.0-rc.3

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 (80) hide show
  1. package/fesm2022/lucca-front-ng-api.mjs +160 -85
  2. package/fesm2022/lucca-front-ng-api.mjs.map +1 -1
  3. package/fesm2022/lucca-front-ng-clear.mjs +7 -6
  4. package/fesm2022/lucca-front-ng-clear.mjs.map +1 -1
  5. package/fesm2022/lucca-front-ng-core-select-api.mjs +37 -21
  6. package/fesm2022/lucca-front-ng-core-select-api.mjs.map +1 -1
  7. package/fesm2022/lucca-front-ng-core-select-user.mjs +2 -2
  8. package/fesm2022/lucca-front-ng-core-select-user.mjs.map +1 -1
  9. package/fesm2022/lucca-front-ng-core-select.mjs +229 -135
  10. package/fesm2022/lucca-front-ng-core-select.mjs.map +1 -1
  11. package/fesm2022/lucca-front-ng-core.mjs +1 -12
  12. package/fesm2022/lucca-front-ng-core.mjs.map +1 -1
  13. package/fesm2022/lucca-front-ng-date.mjs +124 -100
  14. package/fesm2022/lucca-front-ng-date.mjs.map +1 -1
  15. package/fesm2022/lucca-front-ng-date2.mjs +37 -25
  16. package/fesm2022/lucca-front-ng-date2.mjs.map +1 -1
  17. package/fesm2022/lucca-front-ng-department.mjs +0 -2
  18. package/fesm2022/lucca-front-ng-department.mjs.map +1 -1
  19. package/fesm2022/lucca-front-ng-divider.mjs +6 -4
  20. package/fesm2022/lucca-front-ng-divider.mjs.map +1 -1
  21. package/fesm2022/lucca-front-ng-dropdown.mjs +34 -31
  22. package/fesm2022/lucca-front-ng-dropdown.mjs.map +1 -1
  23. package/fesm2022/lucca-front-ng-establishment.mjs +83 -49
  24. package/fesm2022/lucca-front-ng-establishment.mjs.map +1 -1
  25. package/fesm2022/lucca-front-ng-filter-pills.mjs +18 -8
  26. package/fesm2022/lucca-front-ng-filter-pills.mjs.map +1 -1
  27. package/fesm2022/lucca-front-ng-form-field.mjs +10 -7
  28. package/fesm2022/lucca-front-ng-form-field.mjs.map +1 -1
  29. package/fesm2022/lucca-front-ng-formly.mjs +2 -3
  30. package/fesm2022/lucca-front-ng-formly.mjs.map +1 -1
  31. package/fesm2022/lucca-front-ng-forms.mjs +46 -5
  32. package/fesm2022/lucca-front-ng-forms.mjs.map +1 -1
  33. package/fesm2022/lucca-front-ng-input.mjs +0 -1
  34. package/fesm2022/lucca-front-ng-input.mjs.map +1 -1
  35. package/fesm2022/lucca-front-ng-modal.mjs +15 -11
  36. package/fesm2022/lucca-front-ng-modal.mjs.map +1 -1
  37. package/fesm2022/lucca-front-ng-multi-select.mjs +115 -91
  38. package/fesm2022/lucca-front-ng-multi-select.mjs.map +1 -1
  39. package/fesm2022/lucca-front-ng-number-format.mjs +11 -7
  40. package/fesm2022/lucca-front-ng-number-format.mjs.map +1 -1
  41. package/fesm2022/lucca-front-ng-option.mjs +37 -30
  42. package/fesm2022/lucca-front-ng-option.mjs.map +1 -1
  43. package/fesm2022/lucca-front-ng-popover.mjs +238 -123
  44. package/fesm2022/lucca-front-ng-popover.mjs.map +1 -1
  45. package/fesm2022/lucca-front-ng-popover2.mjs +65 -37
  46. package/fesm2022/lucca-front-ng-popover2.mjs.map +1 -1
  47. package/fesm2022/lucca-front-ng-select.mjs +123 -76
  48. package/fesm2022/lucca-front-ng-select.mjs.map +1 -1
  49. package/fesm2022/lucca-front-ng-sidepanel.mjs.map +1 -1
  50. package/fesm2022/lucca-front-ng-simple-select.mjs +13 -13
  51. package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -1
  52. package/fesm2022/lucca-front-ng-time.mjs +8 -6
  53. package/fesm2022/lucca-front-ng-time.mjs.map +1 -1
  54. package/fesm2022/lucca-front-ng-user-popover.mjs +13 -9
  55. package/fesm2022/lucca-front-ng-user-popover.mjs.map +1 -1
  56. package/fesm2022/lucca-front-ng-user.mjs +93 -59
  57. package/fesm2022/lucca-front-ng-user.mjs.map +1 -1
  58. package/package.json +4 -4
  59. package/types/lucca-front-ng-api.d.ts +62 -62
  60. package/types/lucca-front-ng-clear.d.ts +2 -3
  61. package/types/lucca-front-ng-core-select-api.d.ts +22 -22
  62. package/types/lucca-front-ng-core-select.d.ts +139 -140
  63. package/types/lucca-front-ng-core.d.ts +2 -7
  64. package/types/lucca-front-ng-date.d.ts +26 -28
  65. package/types/lucca-front-ng-divider.d.ts +1 -1
  66. package/types/lucca-front-ng-dropdown.d.ts +4 -5
  67. package/types/lucca-front-ng-establishment.d.ts +19 -18
  68. package/types/lucca-front-ng-form-field.d.ts +3 -2
  69. package/types/lucca-front-ng-forms.d.ts +32 -12
  70. package/types/lucca-front-ng-modal.d.ts +2 -2
  71. package/types/lucca-front-ng-multi-select.d.ts +37 -36
  72. package/types/lucca-front-ng-option.d.ts +10 -10
  73. package/types/lucca-front-ng-popover.d.ts +46 -52
  74. package/types/lucca-front-ng-popover2.d.ts +11 -13
  75. package/types/lucca-front-ng-segmented-control.d.ts +4 -2
  76. package/types/lucca-front-ng-select.d.ts +28 -30
  77. package/types/lucca-front-ng-simple-select.d.ts +3 -3
  78. package/types/lucca-front-ng-time.d.ts +1 -1
  79. package/types/lucca-front-ng-user-popover.d.ts +3 -4
  80. package/types/lucca-front-ng-user.d.ts +20 -20
@@ -1,4 +1,4 @@
1
- import * as _angular_core from '@angular/core';
1
+ import * as i0 from '@angular/core';
2
2
  import { OnInit, ElementRef, AfterViewInit, ChangeDetectorRef, ViewContainerRef, Renderer2 } from '@angular/core';
3
3
  import { ILuOnOpenSubscriber, ILuOnScrollBottomSubscriber } from '@lucca-front/ng/core';
4
4
  import { ILuOptionOperator, LuOptionPickerAdvancedComponent, ILuOptionItem, LuOptionComparer } from '@lucca-front/ng/option';
@@ -54,8 +54,8 @@ declare class LuApiV3Service<T extends ILuApiItem = ILuApiItem> extends ALuApiSe
54
54
  searchPaged(clue: string, page: number, filters?: string[]): Observable<T[]>;
55
55
  protected _get(url: string): Observable<T[]>;
56
56
  protected _clueFilter(clue: string): string;
57
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuApiV3Service<any>, never>;
58
- static ɵprov: _angular_core.ɵɵInjectableDeclaration<LuApiV3Service<any>>;
57
+ static ɵfac: i0.ɵɵFactoryDeclaration<LuApiV3Service<any>, never>;
58
+ static ɵprov: i0.ɵɵInjectableDeclaration<LuApiV3Service<any>>;
59
59
  }
60
60
 
61
61
  declare class LuApiV4Service<T extends ILuApiItem = ILuApiItem> extends ALuApiService<T> {
@@ -73,8 +73,8 @@ declare class LuApiV4Service<T extends ILuApiItem = ILuApiItem> extends ALuApiSe
73
73
  searchAll(clue?: string, filters?: string[]): Observable<T[]>;
74
74
  searchPaged(clue?: string, page?: number, filters?: string[]): Observable<T[]>;
75
75
  count(): Observable<number>;
76
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuApiV4Service<any>, never>;
77
- static ɵprov: _angular_core.ɵɵInjectableDeclaration<LuApiV4Service<any>>;
76
+ static ɵfac: i0.ɵɵFactoryDeclaration<LuApiV4Service<any>, never>;
77
+ static ɵprov: i0.ɵɵInjectableDeclaration<LuApiV4Service<any>>;
78
78
  }
79
79
 
80
80
  declare class LuApiHybridService<T extends ILuApiItem = ILuApiItem> extends ALuApiService<T> {
@@ -94,8 +94,8 @@ declare class LuApiHybridService<T extends ILuApiItem = ILuApiItem> extends ALuA
94
94
  getPaged(page: number, filters?: string[]): Observable<T[]>;
95
95
  searchAll(clue: string, filters?: string[]): Observable<T[]>;
96
96
  searchPaged(clue: string, page: number, filters?: string[]): Observable<T[]>;
97
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuApiHybridService<any>, never>;
98
- static ɵprov: _angular_core.ɵɵInjectableDeclaration<LuApiHybridService<any>>;
97
+ static ɵfac: i0.ɵɵFactoryDeclaration<LuApiHybridService<any>, never>;
98
+ static ɵprov: i0.ɵɵInjectableDeclaration<LuApiHybridService<any>>;
99
99
  }
100
100
 
101
101
  type ILuApiOptionFeeder<T extends ILuApiItem = ILuApiItem> = ILuOptionOperator<T>;
@@ -111,15 +111,15 @@ declare abstract class ALuApiOptionFeeder<T extends ILuApiItem = ILuApiItem, S e
111
111
 
112
112
  declare class LuApiFeederComponent<T extends ILuApiItem = ILuApiItem> extends ALuApiOptionFeeder<T, LuApiHybridService<T>> implements ILuOptionOperator<T>, ILuOnOpenSubscriber {
113
113
  readonly outOptions$: BehaviorSubject<T[]>;
114
- readonly standard: _angular_core.InputSignal<"v3" | "v4">;
115
- readonly api: _angular_core.InputSignal<string>;
116
- readonly fields: _angular_core.InputSignal<string>;
117
- readonly filters: _angular_core.InputSignal<string[]>;
118
- readonly orderBy: _angular_core.InputSignal<string>;
119
- readonly sort: _angular_core.InputSignal<string>;
120
114
  constructor(hostService: LuApiHybridService<T>, selfService: LuApiHybridService<T>);
121
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuApiFeederComponent<any>, [{ optional: true; skipSelf: true; }, { self: true; }]>;
122
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<LuApiFeederComponent<any>, "lu-api-feeder", never, { "standard": { "alias": "standard"; "required": false; "isSignal": true; }; "api": { "alias": "api"; "required": false; "isSignal": true; }; "fields": { "alias": "fields"; "required": false; "isSignal": true; }; "filters": { "alias": "filters"; "required": false; "isSignal": true; }; "orderBy": { "alias": "orderBy"; "required": false; "isSignal": true; }; "sort": { "alias": "sort"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
115
+ set standard(standard: 'v3' | 'v4');
116
+ set api(api: string);
117
+ set fields(fields: string);
118
+ set filters(filters: string[]);
119
+ set orderBy(orderBy: string);
120
+ set sort(sort: string);
121
+ static ɵfac: i0.ɵɵFactoryDeclaration<LuApiFeederComponent<any>, [{ optional: true; skipSelf: true; }, { self: true; }]>;
122
+ static ɵcmp: i0.ɵɵComponentDeclaration<LuApiFeederComponent<any>, "lu-api-feeder", never, { "standard": { "alias": "standard"; "required": false; }; "api": { "alias": "api"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "orderBy": { "alias": "orderBy"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; }, {}, never, never, true, never>;
123
123
  }
124
124
 
125
125
  type ILuApiOptionSearcher<T extends ILuApiItem = ILuApiItem> = ILuApiOptionFeeder<T>;
@@ -154,38 +154,38 @@ declare abstract class ALuApiOptionPagedSearcher<T extends ILuApiItem = ILuApiIt
154
154
  }
155
155
 
156
156
  declare class LuApiSearcherComponent<T extends ILuApiItem = ILuApiItem> extends ALuApiOptionSearcher<T, LuApiHybridService<T>> implements OnInit {
157
- readonly searchInput: _angular_core.Signal<ElementRef<HTMLElement>>;
158
- readonly standard: _angular_core.InputSignal<"v3" | "v4">;
159
- readonly api: _angular_core.InputSignal<string>;
160
- readonly fields: _angular_core.InputSignal<string>;
161
- readonly filters: _angular_core.InputSignal<string[]>;
162
- readonly orderBy: _angular_core.InputSignal<string>;
163
- readonly sort: _angular_core.InputSignal<string>;
164
- readonly debounceTime: _angular_core.InputSignal<number>;
157
+ readonly searchInput: ElementRef<HTMLElement>;
158
+ set standard(standard: 'v3' | 'v4');
159
+ set api(api: string);
160
+ set fields(fields: string);
161
+ set filters(filters: string[]);
162
+ set orderBy(orderBy: string);
163
+ set sort(sort: string);
164
+ debounceTime: number;
165
165
  clueControl: FormControl;
166
166
  constructor(hostService: LuApiHybridService<T>, selfService: LuApiHybridService<T>);
167
167
  ngOnInit(): void;
168
168
  onOpen(): void;
169
169
  resetClue(): void;
170
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuApiSearcherComponent<any>, [{ optional: true; skipSelf: true; }, { self: true; }]>;
171
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<LuApiSearcherComponent<any>, "lu-api-searcher", never, { "standard": { "alias": "standard"; "required": false; "isSignal": true; }; "api": { "alias": "api"; "required": false; "isSignal": true; }; "fields": { "alias": "fields"; "required": false; "isSignal": true; }; "filters": { "alias": "filters"; "required": false; "isSignal": true; }; "orderBy": { "alias": "orderBy"; "required": false; "isSignal": true; }; "sort": { "alias": "sort"; "required": false; "isSignal": true; }; "debounceTime": { "alias": "debounceTime"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
170
+ static ɵfac: i0.ɵɵFactoryDeclaration<LuApiSearcherComponent<any>, [{ optional: true; skipSelf: true; }, { self: true; }]>;
171
+ static ɵcmp: i0.ɵɵComponentDeclaration<LuApiSearcherComponent<any>, "lu-api-searcher", never, { "standard": { "alias": "standard"; "required": false; }; "api": { "alias": "api"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "orderBy": { "alias": "orderBy"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; "debounceTime": { "alias": "debounceTime"; "required": false; }; }, {}, never, never, true, never>;
172
172
  }
173
173
  declare class LuApiPagedSearcherComponent<T extends ILuApiItem = ILuApiItem> extends ALuApiOptionPagedSearcher<T, LuApiHybridService<T>> implements OnInit {
174
- readonly searchInput: _angular_core.Signal<ElementRef<HTMLElement>>;
175
- readonly standard: _angular_core.InputSignal<"v3" | "v4">;
176
- readonly api: _angular_core.InputSignal<string>;
177
- readonly fields: _angular_core.InputSignal<string>;
178
- readonly filters: _angular_core.InputSignal<string[]>;
179
- readonly orderBy: _angular_core.InputSignal<string>;
180
- readonly sort: _angular_core.InputSignal<string>;
181
- readonly debounceTime: _angular_core.InputSignal<number>;
174
+ readonly searchInput: ElementRef<HTMLElement>;
175
+ set standard(standard: 'v3' | 'v4');
176
+ set api(api: string);
177
+ set fields(fields: string);
178
+ set filters(filters: string[]);
179
+ set orderBy(orderBy: string);
180
+ set sort(sort: string);
181
+ debounceTime: number;
182
182
  clueControl: FormControl;
183
183
  constructor(hostService: LuApiHybridService<T>, selfService: LuApiHybridService<T>);
184
184
  ngOnInit(): void;
185
185
  onOpen(): void;
186
186
  resetClue(): void;
187
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuApiPagedSearcherComponent<any>, [{ optional: true; skipSelf: true; }, { self: true; }]>;
188
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<LuApiPagedSearcherComponent<any>, "lu-api-paged-searcher", never, { "standard": { "alias": "standard"; "required": false; "isSignal": true; }; "api": { "alias": "api"; "required": false; "isSignal": true; }; "fields": { "alias": "fields"; "required": false; "isSignal": true; }; "filters": { "alias": "filters"; "required": false; "isSignal": true; }; "orderBy": { "alias": "orderBy"; "required": false; "isSignal": true; }; "sort": { "alias": "sort"; "required": false; "isSignal": true; }; "debounceTime": { "alias": "debounceTime"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
187
+ static ɵfac: i0.ɵɵFactoryDeclaration<LuApiPagedSearcherComponent<any>, [{ optional: true; skipSelf: true; }, { self: true; }]>;
188
+ static ɵcmp: i0.ɵɵComponentDeclaration<LuApiPagedSearcherComponent<any>, "lu-api-paged-searcher", never, { "standard": { "alias": "standard"; "required": false; }; "api": { "alias": "api"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "orderBy": { "alias": "orderBy"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; "debounceTime": { "alias": "debounceTime"; "required": false; }; }, {}, never, never, true, never>;
189
189
  }
190
190
 
191
191
  declare enum Strategy {
@@ -217,15 +217,15 @@ declare abstract class ALuApiOptionPager<T extends ILuApiItem = ILuApiItem, S ex
217
217
  }
218
218
 
219
219
  declare class LuApiPagerComponent<T extends ILuApiItem = ILuApiItem> extends ALuApiOptionPager<T, LuApiHybridService<T>> implements ILuOptionOperator<T>, OnInit, ILuOnScrollBottomSubscriber, ILuOnOpenSubscriber {
220
- readonly standard: _angular_core.InputSignal<"v3" | "v4">;
221
- readonly api: _angular_core.InputSignal<string>;
222
- readonly fields: _angular_core.InputSignal<string>;
223
- readonly filters: _angular_core.InputSignal<string[]>;
224
- readonly orderBy: _angular_core.InputSignal<string>;
225
220
  constructor(hostService: LuApiHybridService<T>, selfService: LuApiHybridService<T>);
221
+ set standard(standard: 'v3' | 'v4');
222
+ set api(api: string);
223
+ set fields(fields: string);
224
+ set filters(filters: string[]);
225
+ set orderBy(orderBy: string);
226
226
  ngOnInit(): void;
227
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuApiPagerComponent<any>, [{ optional: true; skipSelf: true; }, { self: true; }]>;
228
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<LuApiPagerComponent<any>, "lu-api-pager", never, { "standard": { "alias": "standard"; "required": false; "isSignal": true; }; "api": { "alias": "api"; "required": false; "isSignal": true; }; "fields": { "alias": "fields"; "required": false; "isSignal": true; }; "filters": { "alias": "filters"; "required": false; "isSignal": true; }; "orderBy": { "alias": "orderBy"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
227
+ static ɵfac: i0.ɵɵFactoryDeclaration<LuApiPagerComponent<any>, [{ optional: true; skipSelf: true; }, { self: true; }]>;
228
+ static ɵcmp: i0.ɵɵComponentDeclaration<LuApiPagerComponent<any>, "lu-api-pager", never, { "standard": { "alias": "standard"; "required": false; }; "api": { "alias": "api"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "orderBy": { "alias": "orderBy"; "required": false; }; }, {}, never, never, true, never>;
229
229
  }
230
230
 
231
231
  declare class LuApiSelectInputComponent<T extends ILuApiItem = ILuApiItem> extends ALuSelectInputComponent<T, LuOptionPickerAdvancedComponent<T, ILuOptionItem<T>>> implements ControlValueAccessor, AfterViewInit {
@@ -234,61 +234,61 @@ declare class LuApiSelectInputComponent<T extends ILuApiItem = ILuApiItem> exten
234
234
  protected _elementRef: ElementRef<HTMLElement>;
235
235
  protected _viewContainerRef: ViewContainerRef;
236
236
  protected _renderer: Renderer2;
237
- readonly standard: _angular_core.InputSignal<"v3" | "v4">;
238
- readonly api: _angular_core.InputSignal<string>;
237
+ standard: 'v3' | 'v4';
238
+ api: string;
239
239
  /**
240
240
  * only works with standard="v3"
241
241
  */
242
- readonly fields: _angular_core.InputSignal<string>;
243
- readonly filters: _angular_core.InputSignal<string[]>;
242
+ fields: string;
243
+ filters: string[];
244
244
  /**
245
245
  * only works with standard="v3", otherwise use sort
246
246
  */
247
- readonly orderBy: _angular_core.InputSignal<string>;
247
+ orderBy: string;
248
248
  /**
249
249
  * only works with standard="v4", otherwise use orderBy
250
250
  */
251
- readonly sort: _angular_core.InputSignal<string>;
251
+ sort: string;
252
252
  byId: LuOptionComparer<T>;
253
253
  constructor(_changeDetectorRef: ChangeDetectorRef, _overlay: Overlay, _elementRef: ElementRef<HTMLElement>, _viewContainerRef: ViewContainerRef, _renderer: Renderer2);
254
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuApiSelectInputComponent<any>, never>;
255
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<LuApiSelectInputComponent<any>, "lu-api-select", never, { "standard": { "alias": "standard"; "required": false; "isSignal": true; }; "api": { "alias": "api"; "required": false; "isSignal": true; }; "fields": { "alias": "fields"; "required": false; "isSignal": true; }; "filters": { "alias": "filters"; "required": false; "isSignal": true; }; "orderBy": { "alias": "orderBy"; "required": false; "isSignal": true; }; "sort": { "alias": "sort"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
254
+ static ɵfac: i0.ɵɵFactoryDeclaration<LuApiSelectInputComponent<any>, never>;
255
+ static ɵcmp: i0.ɵɵComponentDeclaration<LuApiSelectInputComponent<any>, "lu-api-select", never, { "standard": { "alias": "standard"; "required": false; }; "api": { "alias": "api"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "orderBy": { "alias": "orderBy"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; }, {}, never, never, true, never>;
256
256
  }
257
257
 
258
258
  /**
259
259
  * @deprecated use `LuApiFeederComponent, LuApiPagedSearcherComponent, LuApiSearcherComponent, LuApiPagerComponent, LuApiSelectInputComponent` instead
260
260
  */
261
261
  declare class LuApiSelectModule {
262
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuApiSelectModule, never>;
263
- static ɵmod: _angular_core.ɵɵNgModuleDeclaration<LuApiSelectModule, never, [typeof LuApiFeederComponent, typeof LuApiPagedSearcherComponent, typeof LuApiSearcherComponent, typeof LuApiPagerComponent, typeof LuApiSelectInputComponent], [typeof LuApiFeederComponent, typeof LuApiPagedSearcherComponent, typeof LuApiSearcherComponent, typeof LuApiPagerComponent, typeof LuApiSelectInputComponent]>;
264
- static ɵinj: _angular_core.ɵɵInjectorDeclaration<LuApiSelectModule>;
262
+ static ɵfac: i0.ɵɵFactoryDeclaration<LuApiSelectModule, never>;
263
+ static ɵmod: i0.ɵɵNgModuleDeclaration<LuApiSelectModule, never, [typeof LuApiFeederComponent, typeof LuApiPagedSearcherComponent, typeof LuApiSearcherComponent, typeof LuApiPagerComponent, typeof LuApiSelectInputComponent], [typeof LuApiFeederComponent, typeof LuApiPagedSearcherComponent, typeof LuApiSearcherComponent, typeof LuApiPagerComponent, typeof LuApiSelectInputComponent]>;
264
+ static ɵinj: i0.ɵɵInjectorDeclaration<LuApiSelectModule>;
265
265
  }
266
266
 
267
267
  /**
268
268
  * @deprecated use `LuApiFeederComponent, LuApiPagedSearcherComponent, LuApiSearcherComponent, LuApiPagerComponent, LuApiSelectInputComponent` instead
269
269
  */
270
270
  declare class LuApiModule {
271
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuApiModule, never>;
272
- static ɵmod: _angular_core.ɵɵNgModuleDeclaration<LuApiModule, never, [typeof LuApiSelectModule], [typeof LuApiSelectModule]>;
273
- static ɵinj: _angular_core.ɵɵInjectorDeclaration<LuApiModule>;
271
+ static ɵfac: i0.ɵɵFactoryDeclaration<LuApiModule, never>;
272
+ static ɵmod: i0.ɵɵNgModuleDeclaration<LuApiModule, never, [typeof LuApiSelectModule], [typeof LuApiSelectModule]>;
273
+ static ɵinj: i0.ɵɵInjectorDeclaration<LuApiModule>;
274
274
  }
275
275
 
276
276
  /**
277
277
  * @deprecated use `LuApiPagedSearcherComponent, LuApiSearcherComponent` instead
278
278
  */
279
279
  declare class LuApiSearcherModule {
280
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuApiSearcherModule, never>;
281
- static ɵmod: _angular_core.ɵɵNgModuleDeclaration<LuApiSearcherModule, never, [typeof LuApiPagedSearcherComponent, typeof LuApiSearcherComponent], [typeof LuApiPagedSearcherComponent, typeof LuApiSearcherComponent]>;
282
- static ɵinj: _angular_core.ɵɵInjectorDeclaration<LuApiSearcherModule>;
280
+ static ɵfac: i0.ɵɵFactoryDeclaration<LuApiSearcherModule, never>;
281
+ static ɵmod: i0.ɵɵNgModuleDeclaration<LuApiSearcherModule, never, [typeof LuApiPagedSearcherComponent, typeof LuApiSearcherComponent], [typeof LuApiPagedSearcherComponent, typeof LuApiSearcherComponent]>;
282
+ static ɵinj: i0.ɵɵInjectorDeclaration<LuApiSearcherModule>;
283
283
  }
284
284
 
285
285
  /**
286
286
  * @deprecated use `LuApiSelectInputComponent` instead
287
287
  */
288
288
  declare class LuApiSelectInputModule {
289
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuApiSelectInputModule, never>;
290
- static ɵmod: _angular_core.ɵɵNgModuleDeclaration<LuApiSelectInputModule, never, [typeof LuApiSelectInputComponent], [typeof LuApiSelectInputComponent]>;
291
- static ɵinj: _angular_core.ɵɵInjectorDeclaration<LuApiSelectInputModule>;
289
+ static ɵfac: i0.ɵɵFactoryDeclaration<LuApiSelectInputModule, never>;
290
+ static ɵmod: i0.ɵɵNgModuleDeclaration<LuApiSelectInputModule, never, [typeof LuApiSelectInputComponent], [typeof LuApiSelectInputComponent]>;
291
+ static ɵinj: i0.ɵɵInjectorDeclaration<LuApiSelectInputModule>;
292
292
  }
293
293
 
294
294
  export { ALuApiOptionFeeder, ALuApiOptionPagedSearcher, ALuApiOptionPager, ALuApiOptionSearcher, ALuApiService, LuApiFeederComponent, LuApiHybridService, LuApiModule, LuApiPagedSearcherComponent, LuApiPagerComponent, LuApiSearcherComponent, LuApiSearcherModule, LuApiSelectInputComponent, LuApiSelectInputModule, LuApiSelectModule, LuApiV3Service, LuApiV4Service };
@@ -32,16 +32,15 @@ declare class ClearComponent<T> extends ALuClear<T> implements ILuClear<T> {
32
32
  * Change the clear colors for use on a dark background
33
33
  */
34
34
  readonly inverted: _angular_core.InputSignalWithTransform<boolean, unknown>;
35
- readonly onClear: EventEmitter<T>;
36
35
  /**
37
36
  * Emit event when button clear is click
38
37
  */
39
- protected readonly onClearOutput: _angular_core.OutputRef<T>;
38
+ onClear: EventEmitter<T>;
40
39
  readonly contentRef: _angular_core.Signal<readonly ElementRef<any>[]>;
41
40
  constructor();
42
41
  clear($event: Event): void;
43
42
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClearComponent<any>, never>;
44
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClearComponent<any>, "lu-clear", ["luClearer"], { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "palette": { "alias": "palette"; "required": false; "isSignal": true; }; "inverted": { "alias": "inverted"; "required": false; "isSignal": true; }; }, { "onClearOutput": "onClear"; }, ["contentRef"], ["*"], true, never>;
43
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClearComponent<any>, "lu-clear", ["luClearer"], { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "palette": { "alias": "palette"; "required": false; "isSignal": true; }; "inverted": { "alias": "inverted"; "required": false; "isSignal": true; }; }, { "onClear": "onClear"; }, ["contentRef"], ["*"], true, never>;
45
44
  }
46
45
 
47
46
  export { ALuClear, ClearComponent };
@@ -1,9 +1,9 @@
1
- import * as _angular_core from '@angular/core';
2
- import { OnDestroy, OnInit } from '@angular/core';
3
1
  import { HttpClient } from '@angular/common/http';
4
2
  import { ILuApiItem } from '@lucca-front/ng/api';
5
3
  import { ALuSelectInputComponent, LuOptionComparer, CoreSelectApiTotalCountProvider } from '@lucca-front/ng/core-select';
6
- import { Subject, Observable } from 'rxjs';
4
+ import { Subject, Observable, ReplaySubject, BehaviorSubject } from 'rxjs';
5
+ import * as i0 from '@angular/core';
6
+ import { OnDestroy, OnInit } from '@angular/core';
7
7
 
8
8
  declare const LU_SELECT_MAGIC_PAGE_SIZE = 20;
9
9
  declare abstract class ALuCoreSelectApiDirective<TOption, TParams = Record<string, string | number | boolean> | null> implements OnDestroy, OnInit {
@@ -36,20 +36,20 @@ declare abstract class ALuCoreSelectApiDirective<TOption, TParams = Record<strin
36
36
  isLastPage: boolean;
37
37
  }>;
38
38
  ngOnDestroy(): void;
39
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<ALuCoreSelectApiDirective<any, any>, never>;
40
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ALuCoreSelectApiDirective<any, any>, never, never, {}, {}, never, never, true, never>;
39
+ static ɵfac: i0.ɵɵFactoryDeclaration<ALuCoreSelectApiDirective<any, any>, never>;
40
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ALuCoreSelectApiDirective<any, any>, never, never, {}, {}, never, never, true, never>;
41
41
  }
42
42
 
43
43
  declare class LuCoreSelectApiV3Directive<T extends ILuApiItem> extends ALuCoreSelectApiDirective<T> implements CoreSelectApiTotalCountProvider {
44
+ set apiV3(value: string);
45
+ set fields(value: string);
46
+ set orderBy(value: string | null);
47
+ set filters(value: Record<string, string | number | boolean>);
48
+ protected readonly url$: ReplaySubject<string>;
49
+ protected readonly fields$: BehaviorSubject<string>;
50
+ protected readonly orderBy$: BehaviorSubject<string>;
51
+ protected readonly filters$: BehaviorSubject<Record<string, string | number | boolean>>;
44
52
  protected httpClient: HttpClient;
45
- readonly apiV3: _angular_core.InputSignal<string>;
46
- readonly fields: _angular_core.InputSignal<string>;
47
- readonly orderBy: _angular_core.InputSignal<string>;
48
- readonly filters: _angular_core.InputSignal<Record<string, string | number | boolean>>;
49
- protected readonly url$: Observable<string>;
50
- protected readonly fields$: Observable<string>;
51
- protected readonly orderBy$: Observable<string>;
52
- protected readonly filters$: Observable<Record<string, string | number | boolean>>;
53
53
  protected params$: Observable<{
54
54
  name?: string;
55
55
  orderBy?: string;
@@ -58,23 +58,23 @@ declare class LuCoreSelectApiV3Directive<T extends ILuApiItem> extends ALuCoreSe
58
58
  totalCount$: Observable<number>;
59
59
  protected getOptions(params: Record<string, string | number | boolean>, page: number): Observable<T[]>;
60
60
  protected optionKey: (option: T) => number;
61
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuCoreSelectApiV3Directive<any>, never>;
62
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuCoreSelectApiV3Directive<any>, "lu-simple-select[apiV3],lu-multi-select[apiV3]", never, { "apiV3": { "alias": "apiV3"; "required": true; "isSignal": true; }; "fields": { "alias": "fields"; "required": false; "isSignal": true; }; "orderBy": { "alias": "orderBy"; "required": false; "isSignal": true; }; "filters": { "alias": "filters"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
61
+ static ɵfac: i0.ɵɵFactoryDeclaration<LuCoreSelectApiV3Directive<any>, never>;
62
+ static ɵdir: i0.ɵɵDirectiveDeclaration<LuCoreSelectApiV3Directive<any>, "lu-simple-select[apiV3],lu-multi-select[apiV3]", never, { "apiV3": { "alias": "apiV3"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "orderBy": { "alias": "orderBy"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; }, {}, never, never, true, never>;
63
63
  }
64
64
 
65
65
  declare class LuCoreSelectApiV4Directive<T extends ILuApiItem> extends ALuCoreSelectApiDirective<T> implements CoreSelectApiTotalCountProvider {
66
- readonly apiV4: _angular_core.ModelSignal<string>;
67
- readonly sort: _angular_core.InputSignal<string>;
68
- readonly filters: _angular_core.InputSignal<Record<string, string | number | boolean>>;
69
- readonly searchDelimiter: _angular_core.InputSignal<string>;
66
+ readonly apiV4: i0.ModelSignal<string>;
67
+ readonly sort: i0.InputSignal<string>;
68
+ readonly filters: i0.InputSignal<Record<string, string | number | boolean>>;
69
+ readonly searchDelimiter: i0.InputSignal<string>;
70
70
  protected httpClient: HttpClient;
71
- protected readonly clue: _angular_core.Signal<string>;
71
+ protected readonly clue: i0.Signal<string>;
72
72
  protected readonly params$: Observable<Record<string, string | number | boolean>>;
73
73
  readonly totalCount$: Observable<number>;
74
74
  protected getOptions(params: Record<string, string | number | boolean>, page: number): Observable<T[]>;
75
75
  protected optionKey: (option: T) => number;
76
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuCoreSelectApiV4Directive<any>, never>;
77
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuCoreSelectApiV4Directive<any>, "lu-simple-select[apiV4],lu-multi-select[apiV4]", never, { "apiV4": { "alias": "apiV4"; "required": true; "isSignal": true; }; "sort": { "alias": "sort"; "required": false; "isSignal": true; }; "filters": { "alias": "filters"; "required": false; "isSignal": true; }; "searchDelimiter": { "alias": "searchDelimiter"; "required": false; "isSignal": true; }; }, { "apiV4": "apiV4Change"; }, never, never, true, never>;
76
+ static ɵfac: i0.ɵɵFactoryDeclaration<LuCoreSelectApiV4Directive<any>, never>;
77
+ static ɵdir: i0.ɵɵDirectiveDeclaration<LuCoreSelectApiV4Directive<any>, "lu-simple-select[apiV4],lu-multi-select[apiV4]", never, { "apiV4": { "alias": "apiV4"; "required": true; "isSignal": true; }; "sort": { "alias": "sort"; "required": false; "isSignal": true; }; "filters": { "alias": "filters"; "required": false; "isSignal": true; }; "searchDelimiter": { "alias": "searchDelimiter"; "required": false; "isSignal": true; }; }, { "apiV4": "apiV4Change"; }, never, never, true, never>;
78
78
  }
79
79
 
80
80
  export { ALuCoreSelectApiDirective, LU_SELECT_MAGIC_PAGE_SIZE, LuCoreSelectApiV3Directive, LuCoreSelectApiV4Directive };