@lucca-front/ng 8.2.0-rc.4 → 8.2.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 (56) hide show
  1. package/api/lib/select/feeder/api-feeder.component.d.ts +1 -1
  2. package/api/lib/select/input/api-select-input.component.d.ts +10 -1
  3. package/api/lib/select/pager/api-pager.component.d.ts +1 -1
  4. package/api/lib/select/searcher/api-searcher.component.d.ts +2 -2
  5. package/api/lib/service/api-hybrid.service.d.ts +3 -3
  6. package/esm2020/api/lib/select/feeder/api-feeder.component.mjs +1 -1
  7. package/esm2020/api/lib/select/input/api-select-input.component.mjs +3 -2
  8. package/esm2020/api/lib/select/pager/api-pager.component.mjs +1 -1
  9. package/esm2020/api/lib/select/searcher/api-searcher.component.mjs +1 -1
  10. package/esm2020/api/lib/service/api-hybrid.service.mjs +1 -1
  11. package/esm2020/department/lib/select/input/department-select-input.component.mjs +1 -1
  12. package/esm2020/establishment/lib/select/input/establishment-select-input.component.mjs +1 -1
  13. package/esm2020/formly/lib/types/api.mjs +1 -1
  14. package/esm2020/formly/lib/types/select.mjs +1 -1
  15. package/esm2020/option/lib/item/option-item.component.mjs +17 -6
  16. package/esm2020/option/lib/item/option-item.model.mjs +1 -1
  17. package/esm2020/option/lib/item/tree-option-item.component.mjs +14 -2
  18. package/esm2020/option/lib/picker/option-picker.component.mjs +25 -7
  19. package/esm2020/popover/lib/trigger/popover-trigger.model.mjs +2 -2
  20. package/esm2020/qualification/lib/select/input/qualification-select-input.component.mjs +1 -1
  21. package/esm2020/select/lib/input/select-input.component.mjs +8 -2
  22. package/esm2020/user/lib/select/input/user-select-input.component.mjs +1 -1
  23. package/fesm2015/lucca-front-ng-api.mjs +2 -1
  24. package/fesm2015/lucca-front-ng-api.mjs.map +1 -1
  25. package/fesm2015/lucca-front-ng-department.mjs +1 -1
  26. package/fesm2015/lucca-front-ng-establishment.mjs +1 -1
  27. package/fesm2015/lucca-front-ng-formly.mjs +1 -1
  28. package/fesm2015/lucca-front-ng-formly.mjs.map +1 -1
  29. package/fesm2015/lucca-front-ng-option.mjs +52 -11
  30. package/fesm2015/lucca-front-ng-option.mjs.map +1 -1
  31. package/fesm2015/lucca-front-ng-popover.mjs +1 -1
  32. package/fesm2015/lucca-front-ng-popover.mjs.map +1 -1
  33. package/fesm2015/lucca-front-ng-qualification.mjs +1 -1
  34. package/fesm2015/lucca-front-ng-select.mjs +7 -1
  35. package/fesm2015/lucca-front-ng-select.mjs.map +1 -1
  36. package/fesm2015/lucca-front-ng-user.mjs +1 -1
  37. package/fesm2020/lucca-front-ng-api.mjs +2 -1
  38. package/fesm2020/lucca-front-ng-api.mjs.map +1 -1
  39. package/fesm2020/lucca-front-ng-department.mjs +1 -1
  40. package/fesm2020/lucca-front-ng-establishment.mjs +1 -1
  41. package/fesm2020/lucca-front-ng-formly.mjs +1 -1
  42. package/fesm2020/lucca-front-ng-formly.mjs.map +1 -1
  43. package/fesm2020/lucca-front-ng-option.mjs +52 -11
  44. package/fesm2020/lucca-front-ng-option.mjs.map +1 -1
  45. package/fesm2020/lucca-front-ng-popover.mjs +1 -1
  46. package/fesm2020/lucca-front-ng-popover.mjs.map +1 -1
  47. package/fesm2020/lucca-front-ng-qualification.mjs +1 -1
  48. package/fesm2020/lucca-front-ng-select.mjs +7 -1
  49. package/fesm2020/lucca-front-ng-select.mjs.map +1 -1
  50. package/fesm2020/lucca-front-ng-user.mjs +1 -1
  51. package/formly/lib/types/api.d.ts +1 -1
  52. package/option/lib/item/option-item.component.d.ts +6 -3
  53. package/option/lib/item/option-item.model.d.ts +2 -0
  54. package/option/lib/item/tree-option-item.component.d.ts +4 -1
  55. package/package.json +1 -1
  56. package/select/lib/input/select-input.component.d.ts +2 -1
@@ -1 +1 @@
1
- {"version":3,"file":"lucca-front-ng-api.mjs","sources":["../../../packages/ng/api/src/lib/select/feeder/api-feeder.model.ts","../../../packages/ng/api/src/lib/service/api-service.model.ts","../../../packages/ng/api/src/lib/service/api-v3.service.ts","../../../packages/ng/api/src/lib/service/api-v4.service.ts","../../../packages/ng/api/src/lib/service/api-hybrid.service.ts","../../../packages/ng/api/src/lib/select/feeder/api-feeder.component.ts","../../../packages/ng/api/src/lib/select/feeder/api-feeder.module.ts","../../../packages/ng/api/src/lib/select/searcher/api-searcher.model.ts","../../../packages/ng/api/src/lib/select/searcher/api-searcher.component.ts","../../../packages/ng/api/src/lib/select/searcher/api-searcher.component.html","../../../packages/ng/api/src/lib/select/searcher/api-searcher.module.ts","../../../packages/ng/api/src/lib/select/input/api-select-input.component.ts","../../../packages/ng/api/src/lib/select/input/api-select-input.component.html","../../../packages/ng/api/src/lib/select/input/api-select-input.module.ts","../../../packages/ng/api/src/lib/select/pager/api-pager.model.ts","../../../packages/ng/api/src/lib/select/pager/api-pager.component.ts","../../../packages/ng/api/src/lib/select/pager/api-pager.module.ts","../../../packages/ng/api/src/lib/select/api-select.module.ts","../../../packages/ng/api/src/lib/api.module.ts","../../../packages/ng/api/src/public-api.ts","../../../packages/ng/api/src/lucca-front-ng-api.ts"],"sourcesContent":["import { ILuOptionOperator } from '@lucca-front/ng/option';\r\nimport { BehaviorSubject, Observable } from 'rxjs';\r\nimport { ILuApiItem } from '../../api.model';\r\nimport { ILuApiService } from '../../service/index';\r\n\r\nexport type ILuApiOptionFeeder<T extends ILuApiItem = ILuApiItem> = ILuOptionOperator<T>;\r\nexport interface ILuApiFeederService<T extends ILuApiItem = ILuApiItem> {\r\n\tgetAll(): Observable<T[]>;\r\n}\r\n\r\nexport abstract class ALuApiOptionFeeder<T extends ILuApiItem = ILuApiItem, S extends ILuApiService<T> = ILuApiService<T>> implements ILuApiOptionFeeder<T> {\r\n\toutOptions$ = new BehaviorSubject<T[]>([]);\r\n\tprotected _service: S;\r\n\tconstructor(service: S) {\r\n\t\tthis._service = service;\r\n\t}\r\n\tonOpen() {\r\n\t\tthis._service.getAll().subscribe((items) => this.outOptions$.next(items));\r\n\t}\r\n}\r\n","import { Observable } from 'rxjs';\r\n\r\nexport interface ILuApiService<T extends import('../api.model').ILuApiItem = import('../api.model').ILuApiItem> {\r\n\tgetAll(filters?: string[]): Observable<T[]>;\r\n\tgetPaged(page: number, filters?: string[]): Observable<T[]>;\r\n\tsearchAll(clue: string, filters?: string[]): Observable<T[]>;\r\n\tsearchPaged(clue: string, page: number, filters?: string[]): Observable<T[]>;\r\n}\r\n\r\nexport abstract class ALuApiService<T extends import('../api.model').ILuApiItem = import('../api.model').ILuApiItem> implements ILuApiService<T> {\r\n\tabstract getAll(filters?: string[]): Observable<T[]>;\r\n\tabstract getPaged(page: number, filters?: string[]): Observable<T[]>;\r\n\tabstract searchAll(clue: string, filters?: string[]): Observable<T[]>;\r\n\tabstract searchPaged(clue: string, page: number, filters?: string[]): Observable<T[]>;\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { map } from 'rxjs/operators';\r\nimport { ILuApiCollectionResponse, ILuApiItem } from '../api.model';\r\nimport { ALuApiService } from './api-service.model';\r\n\r\nconst MAGIC_PAGE_SIZE = 20;\r\n\r\n@Injectable()\r\nexport class LuApiV3Service<T extends ILuApiItem = ILuApiItem> extends ALuApiService<T> {\r\n\tprotected _api: string;\r\n\tset api(api: string) {\r\n\t\tthis._api = api;\r\n\t}\r\n\tprotected _fields = 'fields=id,name';\r\n\tset fields(fields: string) {\r\n\t\tif (fields) {\r\n\t\t\tthis._fields = `fields=${fields}`;\r\n\t\t}\r\n\t}\r\n\tprotected _filters: string[] = [];\r\n\tset filters(filters: string[]) {\r\n\t\tif (filters) {\r\n\t\t\tthis._filters = filters || [];\r\n\t\t}\r\n\t}\r\n\tprotected _orderBy = 'orderBy=name,asc';\r\n\tset orderBy(orderBy: string) {\r\n\t\tif (orderBy) {\r\n\t\t\tthis._orderBy = `orderBy=${orderBy}`;\r\n\t\t}\r\n\t}\r\n\r\n\tget url() {\r\n\t\treturn `${this._api}?${[...this._filters, this._orderBy, this._fields].filter((f) => !!f).join('&')}`;\r\n\t}\r\n\r\n\tconstructor(protected _http: HttpClient) {\r\n\t\tsuper();\r\n\t}\r\n\r\n\tgetAll(filters: string[] = []): Observable<T[]> {\r\n\t\treturn this._get([this.url, ...filters].join('&'));\r\n\t}\r\n\r\n\tgetPaged(page: number, filters: string[] = []): Observable<T[]> {\r\n\t\tconst paging = `paging=${page * MAGIC_PAGE_SIZE},${MAGIC_PAGE_SIZE}`;\r\n\t\tconst url = [this.url, paging, ...filters].join('&');\r\n\t\treturn this._get(url);\r\n\t}\r\n\r\n\tsearchAll(clue: string, filters: string[] = []): Observable<T[]> {\r\n\t\tif (!clue) {\r\n\t\t\treturn this.getAll(filters);\r\n\t\t}\r\n\t\tconst url = [this.url, this._clueFilter(clue), ...filters].join('&');\r\n\t\treturn this._get(url);\r\n\t}\r\n\r\n\tsearchPaged(clue: string, page: number, filters: string[] = []): Observable<T[]> {\r\n\t\tif (!clue) {\r\n\t\t\treturn this.getPaged(page, filters);\r\n\t\t}\r\n\t\tconst paging = `paging=${page * MAGIC_PAGE_SIZE},${MAGIC_PAGE_SIZE}`;\r\n\t\tconst url = [this.url, this._clueFilter(clue), paging, ...filters].join('&');\r\n\t\treturn this._get(url);\r\n\t}\r\n\r\n\tprotected _get(url: string): Observable<T[]> {\r\n\t\treturn this._http.get<ILuApiCollectionResponse<T>>(url).pipe(map((response) => response.data.items));\r\n\t}\r\n\tprotected _clueFilter(clue: string) {\r\n\t\tconst urlSafeClue = encodeURIComponent(clue);\r\n\t\treturn `name=like,${urlSafeClue}`;\r\n\t}\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { map } from 'rxjs/operators';\r\nimport { ILuApiItem } from '../api.model';\r\nimport { ALuApiService } from './api-service.model';\r\n\r\n@Injectable()\r\nexport class LuApiV4Service<T extends ILuApiItem = ILuApiItem> extends ALuApiService<T> {\r\n\tprotected _api: string;\r\n\tset api(api: string) {\r\n\t\tthis._api = api;\r\n\t}\r\n\r\n\tprotected _filters: string[] = [];\r\n\tset filters(filters: string[]) {\r\n\t\tthis._filters = filters || [];\r\n\t}\r\n\tget filters(): string[] {\r\n\t\treturn this._filters;\r\n\t}\r\n\r\n\tprotected _sort: string;\r\n\tset sort(sort: string) {\r\n\t\tif (sort) {\r\n\t\t\tthis._sort = `sort=${sort}`;\r\n\t\t}\r\n\t}\r\n\r\n\tconstructor(protected _http: HttpClient) {\r\n\t\tsuper();\r\n\t}\r\n\r\n\tgetAll(filters: string[] = []): Observable<T[]> {\r\n\t\tconst query = [...this.filters, ...filters, this._sort].filter((f) => !!f);\r\n\t\tconst url = [this._api, query.join('&')].join('?');\r\n\t\treturn this._http.get<{ items: T[] }>(url).pipe(map((res) => res.items));\r\n\t}\r\n\tgetPaged(page = 0, filters: string[] = []): Observable<T[]> {\r\n\t\tconst query = [`page=${page + 1}`, ...this.filters, ...filters, this._sort].filter((f) => !!f);\r\n\t\tconst url = [this._api, query.join('&')].join('?');\r\n\t\treturn this._http.get<{ items: T[] }>(url).pipe(map((res) => res.items));\r\n\t}\r\n\tsearchAll(clue = '', filters: string[] = []): Observable<T[]> {\r\n\t\tif (!clue) {\r\n\t\t\treturn this.getAll(filters);\r\n\t\t}\r\n\t\tconst urlSafeClues = clue\r\n\t\t\t.split(' ')\r\n\t\t\t.map((c) => encodeURIComponent(c))\r\n\t\t\t.join(',');\r\n\t\tconst query = [`search=${urlSafeClues}`, ...this.filters, ...filters, this._sort].filter((f) => !!f);\r\n\t\tconst url = [this._api, query.join('&')].join('?');\r\n\t\treturn this._http.get<{ items: T[] }>(url).pipe(map((res) => res.items));\r\n\t}\r\n\tsearchPaged(clue = '', page = 0, filters: string[] = []): Observable<T[]> {\r\n\t\tif (!clue) {\r\n\t\t\treturn this.getPaged(page, filters);\r\n\t\t}\r\n\t\tconst urlSafeClues = clue\r\n\t\t\t.split(' ')\r\n\t\t\t.map((c) => encodeURIComponent(c))\r\n\t\t\t.join(',');\r\n\t\tconst query = [`search=${urlSafeClues}`, `page=${page + 1}`, ...this.filters, ...filters, this._sort].filter((f) => !!f);\r\n\t\tconst url = [this._api, query.join('&')].join('?');\r\n\t\treturn this._http.get<{ items: T[] }>(url).pipe(map((res) => res.items));\r\n\t}\r\n\tcount(): Observable<number> {\r\n\t\tconst query = [...this.filters, 'fields.root=count', 'limit=0'].filter((f) => !!f);\r\n\t\tconst url = [this._api, query.join('&')].join('?');\r\n\t\treturn this._http.get<{ count: number }>(url).pipe(map((res) => res.count));\r\n\t}\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { ILuApiItem } from '../api.model';\r\nimport { ALuApiService } from './api-service.model';\r\nimport { LuApiV3Service } from './api-v3.service';\r\nimport { LuApiV4Service } from './api-v4.service';\r\nimport { Observable } from 'rxjs';\r\nimport { HttpClient } from '@angular/common/http';\r\n\r\n@Injectable()\r\nexport class LuApiHybridService<T extends ILuApiItem = ILuApiItem> extends ALuApiService<T> {\r\n\tprivate _v3Service: LuApiV3Service<T>;\r\n\tprivate _v4Service: LuApiV4Service<T>;\r\n\r\n\tprivate _standard = 'v3';\r\n\tset standard(std: string) {\r\n\t\tthis._standard = std;\r\n\t}\r\n\r\n\t// both\r\n\tset api(api: string) {\r\n\t\tthis._v3Service.api = api;\r\n\t\tthis._v4Service.api = api;\r\n\t}\r\n\tset filters(filters: string[]) {\r\n\t\tthis._v3Service.filters = filters;\r\n\t\tthis._v4Service.filters = filters;\r\n\t}\r\n\r\n\t// api v3 only\r\n\tset fields(fields: string) {\r\n\t\tthis._v3Service.fields = fields;\r\n\t}\r\n\tset orderBy(orderBy: string) {\r\n\t\tthis._v3Service.orderBy = orderBy;\r\n\t}\r\n\r\n\t// api v4 only\r\n\tset sort(sort: string) {\r\n\t\tthis._v4Service.sort = sort;\r\n\t}\r\n\r\n\tprivate get _service(): ALuApiService<T> {\r\n\t\tswitch (this._standard) {\r\n\t\t\tcase 'v4':\r\n\t\t\t\treturn this._v4Service;\r\n\t\t\tcase 'v3':\r\n\t\t\tdefault:\r\n\t\t\t\treturn this._v3Service;\r\n\t\t}\r\n\t}\r\n\r\n\tconstructor(private _http: HttpClient) {\r\n\t\tsuper();\r\n\t\tthis._v3Service = new LuApiV3Service(this._http);\r\n\t\tthis._v4Service = new LuApiV4Service(this._http);\r\n\t}\r\n\r\n\tgetAll(filters: string[] = []): Observable<T[]> {\r\n\t\treturn this._service.getAll(filters);\r\n\t}\r\n\r\n\tgetPaged(page: number, filters: string[] = []): Observable<T[]> {\r\n\t\treturn this._service.getPaged(page, filters);\r\n\t}\r\n\r\n\tsearchAll(clue: string, filters: string[] = []): Observable<T[]> {\r\n\t\treturn this._service.searchAll(clue, filters);\r\n\t}\r\n\r\n\tsearchPaged(clue: string, page: number, filters: string[] = []): Observable<T[]> {\r\n\t\treturn this._service.searchPaged(clue, page, filters);\r\n\t}\r\n}\r\n","import { ChangeDetectionStrategy, Component, forwardRef, Inject, Input, Optional, Self, SkipSelf } from '@angular/core';\r\nimport { ALuOnOpenSubscriber, ILuOnOpenSubscriber } from '@lucca-front/ng/core';\r\nimport { ALuOptionOperator, ILuOptionOperator } from '@lucca-front/ng/option';\r\nimport { BehaviorSubject } from 'rxjs';\r\nimport { ILuApiItem } from '../../api.model';\r\nimport { ALuApiService, LuApiHybridService } from '../../service/index';\r\nimport { ALuApiOptionFeeder } from './api-feeder.model';\r\n@Component({\r\n\tselector: 'lu-api-feeder',\r\n\ttemplate: '',\r\n\tstyleUrls: [],\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n\tproviders: [\r\n\t\t{\r\n\t\t\tprovide: ALuOptionOperator,\r\n\t\t\tuseExisting: forwardRef(() => LuApiFeederComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t\t{\r\n\t\t\tprovide: ALuOnOpenSubscriber,\r\n\t\t\tuseExisting: forwardRef(() => LuApiFeederComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t\t{\r\n\t\t\tprovide: ALuApiService,\r\n\t\t\tuseClass: LuApiHybridService,\r\n\t\t},\r\n\t],\r\n})\r\nexport class LuApiFeederComponent<T extends ILuApiItem = ILuApiItem> extends ALuApiOptionFeeder<T, LuApiHybridService<T>> implements ILuOptionOperator<T>, ILuOnOpenSubscriber {\r\n\toverride outOptions$ = new BehaviorSubject<T[]>([]);\r\n\tconstructor(\r\n\t\t@Inject(ALuApiService)\r\n\t\t@Optional()\r\n\t\t@SkipSelf()\r\n\t\thostService: LuApiHybridService<T>,\r\n\t\t@Inject(ALuApiService) @Self() selfService: LuApiHybridService<T>,\r\n\t) {\r\n\t\tsuper(hostService || selfService);\r\n\t}\r\n\r\n\t@Input() set standard(standard: string) {\r\n\t\tthis._service.standard = standard;\r\n\t}\r\n\t@Input() set api(api: string) {\r\n\t\tthis._service.api = api;\r\n\t}\r\n\t@Input() set fields(fields: string) {\r\n\t\tthis._service.fields = fields;\r\n\t}\r\n\t@Input() set filters(filters: string[]) {\r\n\t\tthis._service.filters = filters;\r\n\t}\r\n\t@Input() set orderBy(orderBy: string) {\r\n\t\tthis._service.orderBy = orderBy;\r\n\t}\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { LuApiFeederComponent } from './api-feeder.component';\r\nimport { HttpClientModule } from '@angular/common/http';\r\n\r\n@NgModule({\r\n\timports: [HttpClientModule],\r\n\tdeclarations: [LuApiFeederComponent],\r\n\texports: [LuApiFeederComponent],\r\n})\r\nexport class LuApiFeederModule {}\r\n","import { ILuOnOpenSubscriber, ILuOnScrollBottomSubscriber } from '@lucca-front/ng/core';\r\nimport { merge, Observable, of, Subject } from 'rxjs';\r\nimport { catchError, map, scan, share, startWith, switchMap } from 'rxjs/operators';\r\nimport { ILuApiService } from '../../service/index';\r\nimport { ILuApiOptionFeeder } from '../feeder/index';\r\n\r\nexport type ILuApiOptionSearcher<T extends import('../../api.model').ILuApiItem = import('../../api.model').ILuApiItem> = ILuApiOptionFeeder<T>;\r\n\r\nexport abstract class ALuApiOptionSearcher<T extends import('../../api.model').ILuApiItem = import('../../api.model').ILuApiItem, S extends ILuApiService<T> = ILuApiService<T>>\r\n\timplements ILuApiOptionFeeder<T>, ILuOnOpenSubscriber\r\n{\r\n\toutOptions$ = new Subject<T[]>();\r\n\tloading$: Observable<boolean>;\r\n\tempty$: Observable<boolean>;\r\n\r\n\tprotected _clue$: Observable<string>;\r\n\r\n\tset clue$(clue$: Observable<string>) {\r\n\t\t// this.initObservables(clue$);\r\n\t\tthis._clue$ = clue$;\r\n\t}\r\n\tconstructor(protected _service: S) {}\r\n\tinit() {\r\n\t\tthis.initObservables();\r\n\t}\r\n\tonOpen() {\r\n\t\tthis.resetClue();\r\n\t}\r\n\tonClose() {\r\n\t\tthis.clearOptions();\r\n\t}\r\n\tprotected initObservables() {\r\n\t\t// this._clue$ = clue$.pipe(share());\r\n\t\tconst results$ = this._clue$.pipe(\r\n\t\t\tswitchMap((clue) => this._service.searchAll(clue)),\r\n\t\t\tcatchError(() => of([])),\r\n\t\t\tshare(),\r\n\t\t);\r\n\r\n\t\tresults$.subscribe((items) => this.outOptions$.next(items));\r\n\t\tthis.loading$ = merge(this._clue$.pipe(map(() => true)), results$.pipe(map(() => false)));\r\n\t\tthis.empty$ = results$.pipe(map((o) => o.length === 0));\r\n\t}\r\n\tabstract resetClue();\r\n\tprotected clearOptions() {\r\n\t\tthis.outOptions$.next([]);\r\n\t}\r\n}\r\n\r\nexport type ILuApiOptionPagedSearcher<T extends import('../../api.model').ILuApiItem = import('../../api.model').ILuApiItem> = ILuApiOptionSearcher<T>;\r\n\r\nexport abstract class ALuApiOptionPagedSearcher<T extends import('../../api.model').ILuApiItem = import('../../api.model').ILuApiItem, S extends ILuApiService<T> = ILuApiService<T>>\r\n\textends ALuApiOptionSearcher<T, S>\r\n\timplements ILuApiOptionPagedSearcher<T>, ILuOnScrollBottomSubscriber\r\n{\r\n\toverride outOptions$ = new Subject<T[]>();\r\n\toverride loading$: Observable<boolean>;\r\n\tprotected _loading = false;\r\n\tprotected _page$ = new Subject<void>();\r\n\tprotected _isLastPage: boolean;\r\n\tprotected _options: T[] = [];\r\n\r\n\tconstructor(service: S) {\r\n\t\tsuper(service);\r\n\t}\r\n\toverride onOpen() {\r\n\t\tthis.resetClue();\r\n\t}\r\n\tonScrollBottom() {\r\n\t\tif (!this._loading && !this._isLastPage) {\r\n\t\t\tthis._page$.next();\r\n\t\t}\r\n\t}\r\n\r\n\tprotected override initObservables() {\r\n\t\tconst pager$ = this._page$.pipe(\r\n\t\t\tscan((acc) => acc + 1, 0),\r\n\t\t\tstartWith(0),\r\n\t\t);\r\n\t\tconst query$ = this._clue$.pipe(\r\n\t\t\tswitchMap((clue) => pager$.pipe(map<number, [number, string]>((page) => [page, clue]))),\r\n\t\t\tshare(),\r\n\t\t);\r\n\r\n\t\tconst results$ = query$.pipe(\r\n\t\t\tswitchMap(([page, clue]) =>\r\n\t\t\t\tthis._service.searchPaged(clue, page).pipe(\r\n\t\t\t\t\tcatchError(() => of([])),\r\n\t\t\t\t\tmap<T[], [T[], number]>((items) => [items, page]),\r\n\t\t\t\t),\r\n\t\t\t),\r\n\t\t\tshare(),\r\n\t\t);\r\n\r\n\t\tresults$.subscribe(([items, page]) => {\r\n\t\t\tif (page === 0) {\r\n\t\t\t\tthis._options = [...items];\r\n\t\t\t} else {\r\n\t\t\t\tthis._options.push(...items);\r\n\t\t\t}\r\n\t\t\tthis._isLastPage = !items.length;\r\n\t\t\tthis.outOptions$.next([...this._options]);\r\n\t\t});\r\n\t\tthis.loading$ = merge(query$.pipe(map(() => true)), results$.pipe(map(() => false)));\r\n\t\tthis.loading$.subscribe((l) => (this._loading = l));\r\n\t\tthis.empty$ = this.outOptions$.pipe(map((o) => o.length === 0));\r\n\t}\r\n\tabstract override resetClue();\r\n}\r\n","import { ChangeDetectionStrategy, Component, ElementRef, forwardRef, Inject, Input, OnInit, Optional, Self, SkipSelf, ViewChild } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { ALuOnCloseSubscriber, ALuOnOpenSubscriber, ALuOnScrollBottomSubscriber } from '@lucca-front/ng/core';\r\nimport { ALuOptionOperator } from '@lucca-front/ng/option';\r\nimport { Observable } from 'rxjs';\r\nimport { debounceTime } from 'rxjs/operators';\r\nimport { ALuApiService, LuApiHybridService } from '../../service/index';\r\nimport { ALuApiOptionPagedSearcher, ALuApiOptionSearcher } from './api-searcher.model';\r\n\r\n@Component({\r\n\tselector: 'lu-api-searcher',\r\n\ttemplateUrl: 'api-searcher.component.html',\r\n\tstyleUrls: ['api-searcher.component.scss'],\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n\tproviders: [\r\n\t\t{\r\n\t\t\tprovide: ALuOptionOperator,\r\n\t\t\tuseExisting: forwardRef(() => LuApiSearcherComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t\t{\r\n\t\t\tprovide: ALuOnOpenSubscriber,\r\n\t\t\tuseExisting: forwardRef(() => LuApiSearcherComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t\t{\r\n\t\t\tprovide: ALuApiService,\r\n\t\t\tuseClass: LuApiHybridService,\r\n\t\t},\r\n\t],\r\n})\r\nexport class LuApiSearcherComponent<T extends import('../../api.model').ILuApiItem = import('../../api.model').ILuApiItem> extends ALuApiOptionSearcher<T, LuApiHybridService<T>> implements OnInit {\r\n\t@ViewChild('searchInput', { read: ElementRef, static: true })\r\n\tsearchInput: ElementRef<HTMLElement>;\r\n\r\n\t@Input() set standard(standard: string) {\r\n\t\tthis._service.standard = standard;\r\n\t}\r\n\t@Input() set api(api: string) {\r\n\t\tthis._service.api = api;\r\n\t}\r\n\t@Input() set fields(fields: string) {\r\n\t\tthis._service.fields = fields;\r\n\t}\r\n\t@Input() set filters(filters: string[]) {\r\n\t\tthis._service.filters = filters;\r\n\t}\r\n\t@Input() set orderBy(orderBy: string) {\r\n\t\tthis._service.orderBy = orderBy;\r\n\t}\r\n\t@Input() set sort(sort: string) {\r\n\t\tthis._service.sort = sort;\r\n\t}\r\n\t@Input() debounceTime = 250;\r\n\r\n\tclueControl: FormControl;\r\n\tconstructor(\r\n\t\t@Inject(ALuApiService)\r\n\t\t@Optional()\r\n\t\t@SkipSelf()\r\n\t\thostService: LuApiHybridService<T>,\r\n\t\t@Inject(ALuApiService) @Self() selfService: LuApiHybridService<T>,\r\n\t) {\r\n\t\tsuper(hostService || selfService);\r\n\t}\r\n\tngOnInit() {\r\n\t\tthis.clueControl = new FormControl(undefined);\r\n\t\tthis.clue$ = this.clueControl.valueChanges.pipe(debounceTime(this.debounceTime)) as Observable<string>;\r\n\t\tsuper.init();\r\n\t}\r\n\r\n\toverride onOpen() {\r\n\t\tthis.searchInput.nativeElement.focus();\r\n\t\tsuper.onOpen();\r\n\t}\r\n\tresetClue() {\r\n\t\tthis.clueControl.setValue('');\r\n\t}\r\n}\r\n\r\n@Component({\r\n\tselector: 'lu-api-paged-searcher',\r\n\ttemplateUrl: 'api-searcher.component.html',\r\n\tstyleUrls: ['api-searcher.component.scss'],\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n\tproviders: [\r\n\t\t{\r\n\t\t\tprovide: ALuOptionOperator,\r\n\t\t\tuseExisting: forwardRef(() => LuApiPagedSearcherComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t\t{\r\n\t\t\tprovide: ALuOnOpenSubscriber,\r\n\t\t\tuseExisting: forwardRef(() => LuApiPagedSearcherComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t\t{\r\n\t\t\tprovide: ALuOnScrollBottomSubscriber,\r\n\t\t\tuseExisting: forwardRef(() => LuApiPagedSearcherComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t\t{\r\n\t\t\tprovide: ALuOnCloseSubscriber,\r\n\t\t\tuseExisting: forwardRef(() => LuApiPagedSearcherComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t\t{\r\n\t\t\tprovide: ALuApiService,\r\n\t\t\tuseClass: LuApiHybridService,\r\n\t\t},\r\n\t],\r\n})\r\nexport class LuApiPagedSearcherComponent<T extends import('../../api.model').ILuApiItem = import('../../api.model').ILuApiItem>\r\n\textends ALuApiOptionPagedSearcher<T, LuApiHybridService<T>>\r\n\timplements OnInit\r\n{\r\n\t@ViewChild('searchInput', { read: ElementRef, static: true })\r\n\tsearchInput: ElementRef<HTMLElement>;\r\n\t@Input() set standard(standard: string) {\r\n\t\tthis._service.standard = standard;\r\n\t}\r\n\t@Input() set api(api: string) {\r\n\t\tthis._service.api = api;\r\n\t}\r\n\t@Input() set fields(fields: string) {\r\n\t\tthis._service.fields = fields;\r\n\t}\r\n\t@Input() set filters(filters: string[]) {\r\n\t\tthis._service.filters = filters;\r\n\t}\r\n\t@Input() set orderBy(orderBy: string) {\r\n\t\tthis._service.orderBy = orderBy;\r\n\t}\r\n\t@Input() set sort(sort: string) {\r\n\t\tthis._service.sort = sort;\r\n\t}\r\n\t@Input() debounceTime = 250;\r\n\r\n\tclueControl: FormControl;\r\n\tconstructor(@Inject(ALuApiService) @Optional() @SkipSelf() hostService: LuApiHybridService<T>, @Inject(ALuApiService) @Self() selfService: LuApiHybridService<T>) {\r\n\t\tsuper(hostService || selfService);\r\n\t}\r\n\tngOnInit() {\r\n\t\tthis.clueControl = new FormControl(undefined);\r\n\t\tthis.clue$ = this.clueControl.valueChanges.pipe(debounceTime(this.debounceTime)) as Observable<string>;\r\n\t\tsuper.init();\r\n\t}\r\n\r\n\toverride onOpen() {\r\n\t\tthis.searchInput.nativeElement.focus();\r\n\t\tsuper.onOpen();\r\n\t}\r\n\tresetClue() {\r\n\t\tthis.clueControl.reset('');\r\n\t}\r\n}\r\n","<div class=\"textfield mod-search\" [class.is-loading]=\"loading$ | async\">\r\n\t<input #searchInput class=\"textfield-input\" [formControl]=\"clueControl\" />\r\n</div>\r\n<lu-option-placeholder *ngIf=\"(empty$ | async) && (loading$ | async) === false\" (onClear)=\"resetClue()\"></lu-option-placeholder>\r\n","import { NgModule } from '@angular/core';\r\nimport { LuApiSearcherComponent, LuApiPagedSearcherComponent } from './api-searcher.component';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\nimport { CommonModule } from '@angular/common';\r\nimport { LuOptionPlaceholderModule } from '@lucca-front/ng/option';\r\n\r\n@NgModule({\r\n\timports: [HttpClientModule, ReactiveFormsModule, CommonModule, LuOptionPlaceholderModule],\r\n\tdeclarations: [LuApiSearcherComponent, LuApiPagedSearcherComponent],\r\n\texports: [LuApiSearcherComponent, LuApiPagedSearcherComponent],\r\n})\r\nexport class LuApiSearcherModule {}\r\n","import { Overlay } from '@angular/cdk/overlay';\r\nimport { AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, forwardRef, Input, Renderer2, ViewContainerRef } from '@angular/core';\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\r\nimport { ILuOptionItem, LuOptionComparer, LuOptionPickerAdvancedComponent } from '@lucca-front/ng/option';\r\nimport { ALuSelectInputComponent } from '@lucca-front/ng/select';\r\n\r\n@Component({\r\n\tselector: 'lu-api-select',\r\n\ttemplateUrl: './api-select-input.component.html',\r\n\tstyleUrls: ['./api-select-input.component.scss'],\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n\tproviders: [\r\n\t\t{\r\n\t\t\tprovide: NG_VALUE_ACCESSOR,\r\n\t\t\tuseExisting: forwardRef(() => LuApiSelectInputComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t],\r\n})\r\nexport class LuApiSelectInputComponent<T extends import('../../api.model').ILuApiItem = import('../../api.model').ILuApiItem>\r\n\textends ALuSelectInputComponent<T, LuOptionPickerAdvancedComponent<T, ILuOptionItem<T>>>\r\n\timplements ControlValueAccessor, AfterViewInit\r\n{\r\n\t@Input() standard: string;\r\n\t@Input() api: string;\r\n\t@Input() fields: string;\r\n\t@Input() filters: string[];\r\n\t@Input() orderBy: string;\r\n\t@Input() sort: string;\r\n\r\n\tbyId: LuOptionComparer<T> = (option1: T, option2: T) => option1 && option2 && option1.id === option2.id;\r\n\tconstructor(\r\n\t\tprotected override _changeDetectorRef: ChangeDetectorRef,\r\n\t\tprotected override _overlay: Overlay,\r\n\t\tprotected override _elementRef: ElementRef<HTMLElement>,\r\n\t\tprotected override _viewContainerRef: ViewContainerRef,\r\n\t\tprotected override _renderer: Renderer2,\r\n\t) {\r\n\t\tsuper(_changeDetectorRef, _overlay, _elementRef, _viewContainerRef, _renderer);\r\n\t}\r\n}\r\n","<div class=\"lu-select-placeholder\">{{ placeholder }}</div>\r\n<div class=\"lu-select-value\">\r\n\t<div class=\"lu-select-display-wrapper\">\r\n\t\t<ng-container #display></ng-container>\r\n\t</div>\r\n</div>\r\n<div class=\"lu-select-suffix\">\r\n\t<lu-input-clearer></lu-input-clearer>\r\n</div>\r\n<span [class.chip]=\"multiple\" *luDisplayer=\"let option\">{{ option.name }}</span>\r\n<lu-option-picker-advanced [option-comparer]=\"byId\">\r\n\t<header class=\"lu-picker-header\">\r\n\t\t<lu-api-paged-searcher\r\n\t\t\t[standard]=\"standard\"\r\n\t\t\t[api]=\"api\"\r\n\t\t\t[fields]=\"fields\"\r\n\t\t\t[filters]=\"filters\"\r\n\t\t\t[orderBy]=\"orderBy\"\r\n\t\t\t[sort]=\"sort\"\r\n\t\t></lu-api-paged-searcher>\r\n\t</header>\r\n\t<lu-option *luForOptions=\"let option\" [value]=\"option\">{{ option.name }}</lu-option>\r\n</lu-option-picker-advanced>\r\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { LuInputClearerModule, LuInputDisplayerModule } from '@lucca-front/ng/input';\r\nimport { LuForOptionsModule, LuOptionPickerModule } from '@lucca-front/ng/option';\r\nimport { LuApiSearcherModule } from '../searcher/index';\r\nimport { LuApiSelectInputComponent } from './api-select-input.component';\r\n\r\n@NgModule({\r\n\timports: [CommonModule, LuOptionPickerModule, LuForOptionsModule, LuApiSearcherModule, LuInputClearerModule, LuInputDisplayerModule],\r\n\tdeclarations: [LuApiSelectInputComponent],\r\n\texports: [LuApiSelectInputComponent],\r\n})\r\nexport class LuApiSelectInputModule {}\r\n","import { ILuOnOpenSubscriber, ILuOnScrollBottomSubscriber } from '@lucca-front/ng/core';\r\nimport { ILuOptionOperator } from '@lucca-front/ng/option';\r\nimport { merge, Observable, of, Subject } from 'rxjs';\r\nimport { catchError, distinctUntilChanged, map, switchMap, tap } from 'rxjs/operators';\r\nimport { ILuApiItem } from '../../api.model';\r\nimport { ILuApiService } from '../../service/index';\r\n\r\nenum Strategy {\r\n\tappend,\r\n\treplace,\r\n}\r\nexport type ILuApiOptionPager<T extends ILuApiItem = ILuApiItem> = ILuOptionOperator<T>;\r\nexport interface ILuApiPagerService<T extends ILuApiItem = ILuApiItem> {\r\n\tgetPaged(page: number): Observable<T[]>;\r\n}\r\n\r\nexport abstract class ALuApiOptionPager<T extends ILuApiItem = ILuApiItem, S extends ILuApiService<T> = ILuApiService<T>>\r\n\timplements ILuApiOptionPager<T>, ILuOnOpenSubscriber, ILuOnScrollBottomSubscriber\r\n{\r\n\toutOptions$ = new Subject<T[]>();\r\n\tloading$: Observable<boolean>;\r\n\r\n\tprotected _loading = false;\r\n\tprotected _results$: Observable<{ items: T[]; strategy: Strategy }>;\r\n\tprotected _options: T[] = [];\r\n\tprotected _page$ = new Subject<number>();\r\n\tprotected _page: number;\r\n\tprotected _initialized = false;\r\n\tconstructor(protected _service: S) {}\r\n\tprotected init() {\r\n\t\tthis.initObservables();\r\n\t}\r\n\tonOpen() {\r\n\t\tif (!this._initialized) {\r\n\t\t\tthis._page$.next(0);\r\n\t\t\tthis._initialized = true;\r\n\t\t}\r\n\t}\r\n\t// onClose() {\r\n\t// \tthis._page$.next(0);\r\n\t// }\r\n\tonScrollBottom() {\r\n\t\tif (!this._loading) {\r\n\t\t\tthis._page$.next(this._page + 1);\r\n\t\t}\r\n\t}\r\n\tprotected initObservables() {\r\n\t\tconst _results$: Observable<{ items: T[]; strategy: Strategy }> = this._page$.pipe(\r\n\t\t\tdistinctUntilChanged(),\r\n\t\t\ttap((p) => (this._page = p)),\r\n\t\t\tswitchMap((page) => {\r\n\t\t\t\tif (page === undefined) {\r\n\t\t\t\t\treturn of({ items: [] as T[], strategy: Strategy.replace });\r\n\t\t\t\t}\r\n\t\t\t\treturn this._service.getPaged(page).pipe(\r\n\t\t\t\t\tmap((items) => ({\r\n\t\t\t\t\t\titems: items,\r\n\t\t\t\t\t\tstrategy: page === 0 ? Strategy.replace : Strategy.append,\r\n\t\t\t\t\t})),\r\n\t\t\t\t);\r\n\t\t\t}),\r\n\t\t\tcatchError(() => of({ items: [] as T[], strategy: Strategy.replace })),\r\n\t\t\ttap((results) => {\r\n\t\t\t\tif (results.strategy === Strategy.replace) {\r\n\t\t\t\t\tthis._options = [...results.items];\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis._options.push(...results.items);\r\n\t\t\t\t}\r\n\t\t\t\tthis.outOptions$.next([...this._options]);\r\n\t\t\t}),\r\n\t\t);\r\n\r\n\t\tthis.loading$ = merge(this._page$.pipe(map(() => true)), _results$.pipe(map(() => false)));\r\n\t\tthis.loading$.subscribe((l) => (this._loading = l));\r\n\t}\r\n}\r\n","import { ChangeDetectionStrategy, Component, forwardRef, Inject, Input, OnInit, Optional, Self, SkipSelf } from '@angular/core';\r\nimport { ALuOnOpenSubscriber, ALuOnScrollBottomSubscriber, ILuOnOpenSubscriber, ILuOnScrollBottomSubscriber } from '@lucca-front/ng/core';\r\nimport { ALuOptionOperator, ILuOptionOperator } from '@lucca-front/ng/option';\r\nimport { ILuApiItem } from '../../api.model';\r\nimport { ALuApiService, LuApiHybridService } from '../../service/index';\r\nimport { ALuApiOptionPager } from './api-pager.model';\r\n\r\n@Component({\r\n\tselector: 'lu-api-pager',\r\n\ttemplate: '',\r\n\tstyleUrls: [],\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n\tproviders: [\r\n\t\t{\r\n\t\t\tprovide: ALuOptionOperator,\r\n\t\t\tuseExisting: forwardRef(() => LuApiPagerComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t\t{\r\n\t\t\tprovide: ALuApiService,\r\n\t\t\tuseClass: LuApiHybridService,\r\n\t\t},\r\n\t\t{\r\n\t\t\tprovide: ALuOnScrollBottomSubscriber,\r\n\t\t\tuseExisting: forwardRef(() => LuApiPagerComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t\t{\r\n\t\t\tprovide: ALuOnOpenSubscriber,\r\n\t\t\tuseExisting: forwardRef(() => LuApiPagerComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t],\r\n})\r\nexport class LuApiPagerComponent<T extends ILuApiItem = ILuApiItem>\r\n\textends ALuApiOptionPager<T, LuApiHybridService<T>>\r\n\timplements ILuOptionOperator<T>, OnInit, ILuOnScrollBottomSubscriber, ILuOnOpenSubscriber\r\n{\r\n\tconstructor(\r\n\t\t@Inject(ALuApiService)\r\n\t\t@Optional()\r\n\t\t@SkipSelf()\r\n\t\thostService: LuApiHybridService<T>,\r\n\t\t@Inject(ALuApiService) @Self() selfService: LuApiHybridService<T>,\r\n\t) {\r\n\t\tsuper(hostService || selfService);\r\n\t}\r\n\r\n\t@Input() set standard(standard: string) {\r\n\t\tthis._service.standard = standard;\r\n\t}\r\n\t@Input() set api(api: string) {\r\n\t\tthis._service.api = api;\r\n\t}\r\n\t@Input() set fields(fields: string) {\r\n\t\tthis._service.fields = fields;\r\n\t}\r\n\t@Input() set filters(filters: string[]) {\r\n\t\tthis._service.filters = filters;\r\n\t}\r\n\t@Input() set orderBy(orderBy: string) {\r\n\t\tthis._service.orderBy = orderBy;\r\n\t}\r\n\r\n\tngOnInit() {\r\n\t\tsuper.init();\r\n\t}\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { LuApiPagerComponent } from './api-pager.component';\r\nimport { HttpClientModule } from '@angular/common/http';\r\n\r\n@NgModule({\r\n\timports: [HttpClientModule],\r\n\tdeclarations: [LuApiPagerComponent],\r\n\texports: [LuApiPagerComponent],\r\n})\r\nexport class LuApiPagerModule {}\r\n","import { NgModule } from '@angular/core';\r\nimport { LuApiFeederModule } from './feeder/index';\r\nimport { LuApiSelectInputModule } from './input/index';\r\nimport { LuApiPagerModule } from './pager/index';\r\nimport { LuApiSearcherModule } from './searcher/index';\r\n\r\n@NgModule({\r\n\timports: [LuApiFeederModule, LuApiSearcherModule, LuApiPagerModule, LuApiSelectInputModule],\r\n\texports: [LuApiFeederModule, LuApiSearcherModule, LuApiPagerModule, LuApiSelectInputModule],\r\n})\r\nexport class LuApiSelectModule {}\r\n","import { NgModule } from '@angular/core';\r\nimport { LuApiSelectModule } from './select/index';\r\n\r\n@NgModule({\r\n\timports: [LuApiSelectModule],\r\n\texports: [LuApiSelectModule],\r\n})\r\nexport class LuApiModule {}\r\n","/*\r\n * Public API Surface of safe-content\r\n */\r\n\r\nexport * from './index';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;MAUsB,kBAAkB;IAGvC,YAAY,OAAU;QAFtB,gBAAW,GAAG,IAAI,eAAe,CAAM,EAAE,CAAC,CAAC;QAG1C,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC;KACxB;IACD,MAAM;QACL,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC,SAAS,CAAC,CAAC,KAAK,KAAK,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;KAC1E;;;MCToB,aAAa;;;ACFnC,MAAM,eAAe,GAAG,EAAE,CAAC;MAGd,uBAA0D,aAAgB;IA4BtF,YAAsB,KAAiB;QACtC,KAAK,EAAE,CAAC;QADa,UAAK,GAAL,KAAK,CAAY;QAvB7B,YAAO,GAAG,gBAAgB,CAAC;QAM3B,aAAQ,GAAa,EAAE,CAAC;QAMxB,aAAQ,GAAG,kBAAkB,CAAC;KAavC;IA5BD,IAAI,GAAG,CA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AC3F,OAAO,EAAE,CAAC,iBAAiB,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,sBAAsB,CAAC;iBAC3F;;;MCFY,WAAW;;wGAAX,WAAW;yGAAX,WAAW,YAHb,iBAAiB,aACjB,iBAAiB;yGAEf,WAAW,YAHd,CAAC,iBAAiB,CAAC,EAClB,iBAAiB;2FAEf,WAAW;kBAJvB,QAAQ;mBAAC;oBACT,OAAO,EAAE,CAAC,iBAAiB,CAAC;oBAC5B,OAAO,EAAE,CAAC,iBAAiB,CAAC;iBAC5B;;;ACND;;;;ACAA;;;;;;"}
1
+ {"version":3,"file":"lucca-front-ng-api.mjs","sources":["../../../packages/ng/api/src/lib/select/feeder/api-feeder.model.ts","../../../packages/ng/api/src/lib/service/api-service.model.ts","../../../packages/ng/api/src/lib/service/api-v3.service.ts","../../../packages/ng/api/src/lib/service/api-v4.service.ts","../../../packages/ng/api/src/lib/service/api-hybrid.service.ts","../../../packages/ng/api/src/lib/select/feeder/api-feeder.component.ts","../../../packages/ng/api/src/lib/select/feeder/api-feeder.module.ts","../../../packages/ng/api/src/lib/select/searcher/api-searcher.model.ts","../../../packages/ng/api/src/lib/select/searcher/api-searcher.component.ts","../../../packages/ng/api/src/lib/select/searcher/api-searcher.component.html","../../../packages/ng/api/src/lib/select/searcher/api-searcher.module.ts","../../../packages/ng/api/src/lib/select/input/api-select-input.component.ts","../../../packages/ng/api/src/lib/select/input/api-select-input.component.html","../../../packages/ng/api/src/lib/select/input/api-select-input.module.ts","../../../packages/ng/api/src/lib/select/pager/api-pager.model.ts","../../../packages/ng/api/src/lib/select/pager/api-pager.component.ts","../../../packages/ng/api/src/lib/select/pager/api-pager.module.ts","../../../packages/ng/api/src/lib/select/api-select.module.ts","../../../packages/ng/api/src/lib/api.module.ts","../../../packages/ng/api/src/public-api.ts","../../../packages/ng/api/src/lucca-front-ng-api.ts"],"sourcesContent":["import { ILuOptionOperator } from '@lucca-front/ng/option';\r\nimport { BehaviorSubject, Observable } from 'rxjs';\r\nimport { ILuApiItem } from '../../api.model';\r\nimport { ILuApiService } from '../../service/index';\r\n\r\nexport type ILuApiOptionFeeder<T extends ILuApiItem = ILuApiItem> = ILuOptionOperator<T>;\r\nexport interface ILuApiFeederService<T extends ILuApiItem = ILuApiItem> {\r\n\tgetAll(): Observable<T[]>;\r\n}\r\n\r\nexport abstract class ALuApiOptionFeeder<T extends ILuApiItem = ILuApiItem, S extends ILuApiService<T> = ILuApiService<T>> implements ILuApiOptionFeeder<T> {\r\n\toutOptions$ = new BehaviorSubject<T[]>([]);\r\n\tprotected _service: S;\r\n\tconstructor(service: S) {\r\n\t\tthis._service = service;\r\n\t}\r\n\tonOpen() {\r\n\t\tthis._service.getAll().subscribe((items) => this.outOptions$.next(items));\r\n\t}\r\n}\r\n","import { Observable } from 'rxjs';\r\n\r\nexport interface ILuApiService<T extends import('../api.model').ILuApiItem = import('../api.model').ILuApiItem> {\r\n\tgetAll(filters?: string[]): Observable<T[]>;\r\n\tgetPaged(page: number, filters?: string[]): Observable<T[]>;\r\n\tsearchAll(clue: string, filters?: string[]): Observable<T[]>;\r\n\tsearchPaged(clue: string, page: number, filters?: string[]): Observable<T[]>;\r\n}\r\n\r\nexport abstract class ALuApiService<T extends import('../api.model').ILuApiItem = import('../api.model').ILuApiItem> implements ILuApiService<T> {\r\n\tabstract getAll(filters?: string[]): Observable<T[]>;\r\n\tabstract getPaged(page: number, filters?: string[]): Observable<T[]>;\r\n\tabstract searchAll(clue: string, filters?: string[]): Observable<T[]>;\r\n\tabstract searchPaged(clue: string, page: number, filters?: string[]): Observable<T[]>;\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { map } from 'rxjs/operators';\r\nimport { ILuApiCollectionResponse, ILuApiItem } from '../api.model';\r\nimport { ALuApiService } from './api-service.model';\r\n\r\nconst MAGIC_PAGE_SIZE = 20;\r\n\r\n@Injectable()\r\nexport class LuApiV3Service<T extends ILuApiItem = ILuApiItem> extends ALuApiService<T> {\r\n\tprotected _api: string;\r\n\tset api(api: string) {\r\n\t\tthis._api = api;\r\n\t}\r\n\tprotected _fields = 'fields=id,name';\r\n\tset fields(fields: string) {\r\n\t\tif (fields) {\r\n\t\t\tthis._fields = `fields=${fields}`;\r\n\t\t}\r\n\t}\r\n\tprotected _filters: string[] = [];\r\n\tset filters(filters: string[]) {\r\n\t\tif (filters) {\r\n\t\t\tthis._filters = filters || [];\r\n\t\t}\r\n\t}\r\n\tprotected _orderBy = 'orderBy=name,asc';\r\n\tset orderBy(orderBy: string) {\r\n\t\tif (orderBy) {\r\n\t\t\tthis._orderBy = `orderBy=${orderBy}`;\r\n\t\t}\r\n\t}\r\n\r\n\tget url() {\r\n\t\treturn `${this._api}?${[...this._filters, this._orderBy, this._fields].filter((f) => !!f).join('&')}`;\r\n\t}\r\n\r\n\tconstructor(protected _http: HttpClient) {\r\n\t\tsuper();\r\n\t}\r\n\r\n\tgetAll(filters: string[] = []): Observable<T[]> {\r\n\t\treturn this._get([this.url, ...filters].join('&'));\r\n\t}\r\n\r\n\tgetPaged(page: number, filters: string[] = []): Observable<T[]> {\r\n\t\tconst paging = `paging=${page * MAGIC_PAGE_SIZE},${MAGIC_PAGE_SIZE}`;\r\n\t\tconst url = [this.url, paging, ...filters].join('&');\r\n\t\treturn this._get(url);\r\n\t}\r\n\r\n\tsearchAll(clue: string, filters: string[] = []): Observable<T[]> {\r\n\t\tif (!clue) {\r\n\t\t\treturn this.getAll(filters);\r\n\t\t}\r\n\t\tconst url = [this.url, this._clueFilter(clue), ...filters].join('&');\r\n\t\treturn this._get(url);\r\n\t}\r\n\r\n\tsearchPaged(clue: string, page: number, filters: string[] = []): Observable<T[]> {\r\n\t\tif (!clue) {\r\n\t\t\treturn this.getPaged(page, filters);\r\n\t\t}\r\n\t\tconst paging = `paging=${page * MAGIC_PAGE_SIZE},${MAGIC_PAGE_SIZE}`;\r\n\t\tconst url = [this.url, this._clueFilter(clue), paging, ...filters].join('&');\r\n\t\treturn this._get(url);\r\n\t}\r\n\r\n\tprotected _get(url: string): Observable<T[]> {\r\n\t\treturn this._http.get<ILuApiCollectionResponse<T>>(url).pipe(map((response) => response.data.items));\r\n\t}\r\n\tprotected _clueFilter(clue: string) {\r\n\t\tconst urlSafeClue = encodeURIComponent(clue);\r\n\t\treturn `name=like,${urlSafeClue}`;\r\n\t}\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { map } from 'rxjs/operators';\r\nimport { ILuApiItem } from '../api.model';\r\nimport { ALuApiService } from './api-service.model';\r\n\r\n@Injectable()\r\nexport class LuApiV4Service<T extends ILuApiItem = ILuApiItem> extends ALuApiService<T> {\r\n\tprotected _api: string;\r\n\tset api(api: string) {\r\n\t\tthis._api = api;\r\n\t}\r\n\r\n\tprotected _filters: string[] = [];\r\n\tset filters(filters: string[]) {\r\n\t\tthis._filters = filters || [];\r\n\t}\r\n\tget filters(): string[] {\r\n\t\treturn this._filters;\r\n\t}\r\n\r\n\tprotected _sort: string;\r\n\tset sort(sort: string) {\r\n\t\tif (sort) {\r\n\t\t\tthis._sort = `sort=${sort}`;\r\n\t\t}\r\n\t}\r\n\r\n\tconstructor(protected _http: HttpClient) {\r\n\t\tsuper();\r\n\t}\r\n\r\n\tgetAll(filters: string[] = []): Observable<T[]> {\r\n\t\tconst query = [...this.filters, ...filters, this._sort].filter((f) => !!f);\r\n\t\tconst url = [this._api, query.join('&')].join('?');\r\n\t\treturn this._http.get<{ items: T[] }>(url).pipe(map((res) => res.items));\r\n\t}\r\n\tgetPaged(page = 0, filters: string[] = []): Observable<T[]> {\r\n\t\tconst query = [`page=${page + 1}`, ...this.filters, ...filters, this._sort].filter((f) => !!f);\r\n\t\tconst url = [this._api, query.join('&')].join('?');\r\n\t\treturn this._http.get<{ items: T[] }>(url).pipe(map((res) => res.items));\r\n\t}\r\n\tsearchAll(clue = '', filters: string[] = []): Observable<T[]> {\r\n\t\tif (!clue) {\r\n\t\t\treturn this.getAll(filters);\r\n\t\t}\r\n\t\tconst urlSafeClues = clue\r\n\t\t\t.split(' ')\r\n\t\t\t.map((c) => encodeURIComponent(c))\r\n\t\t\t.join(',');\r\n\t\tconst query = [`search=${urlSafeClues}`, ...this.filters, ...filters, this._sort].filter((f) => !!f);\r\n\t\tconst url = [this._api, query.join('&')].join('?');\r\n\t\treturn this._http.get<{ items: T[] }>(url).pipe(map((res) => res.items));\r\n\t}\r\n\tsearchPaged(clue = '', page = 0, filters: string[] = []): Observable<T[]> {\r\n\t\tif (!clue) {\r\n\t\t\treturn this.getPaged(page, filters);\r\n\t\t}\r\n\t\tconst urlSafeClues = clue\r\n\t\t\t.split(' ')\r\n\t\t\t.map((c) => encodeURIComponent(c))\r\n\t\t\t.join(',');\r\n\t\tconst query = [`search=${urlSafeClues}`, `page=${page + 1}`, ...this.filters, ...filters, this._sort].filter((f) => !!f);\r\n\t\tconst url = [this._api, query.join('&')].join('?');\r\n\t\treturn this._http.get<{ items: T[] }>(url).pipe(map((res) => res.items));\r\n\t}\r\n\tcount(): Observable<number> {\r\n\t\tconst query = [...this.filters, 'fields.root=count', 'limit=0'].filter((f) => !!f);\r\n\t\tconst url = [this._api, query.join('&')].join('?');\r\n\t\treturn this._http.get<{ count: number }>(url).pipe(map((res) => res.count));\r\n\t}\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { ILuApiItem } from '../api.model';\r\nimport { ALuApiService } from './api-service.model';\r\nimport { LuApiV3Service } from './api-v3.service';\r\nimport { LuApiV4Service } from './api-v4.service';\r\n\r\n@Injectable()\r\nexport class LuApiHybridService<T extends ILuApiItem = ILuApiItem> extends ALuApiService<T> {\r\n\tprivate _v3Service: LuApiV3Service<T>;\r\n\tprivate _v4Service: LuApiV4Service<T>;\r\n\r\n\tprivate _standard: 'v3' | 'v4' = 'v3';\r\n\tset standard(std: 'v3' | 'v4') {\r\n\t\tthis._standard = std;\r\n\t}\r\n\r\n\t// both\r\n\tset api(api: string) {\r\n\t\tthis._v3Service.api = api;\r\n\t\tthis._v4Service.api = api;\r\n\t}\r\n\tset filters(filters: string[]) {\r\n\t\tthis._v3Service.filters = filters;\r\n\t\tthis._v4Service.filters = filters;\r\n\t}\r\n\r\n\t// api v3 only\r\n\tset fields(fields: string) {\r\n\t\tthis._v3Service.fields = fields;\r\n\t}\r\n\tset orderBy(orderBy: string) {\r\n\t\tthis._v3Service.orderBy = orderBy;\r\n\t}\r\n\r\n\t// api v4 only\r\n\tset sort(sort: string) {\r\n\t\tthis._v4Service.sort = sort;\r\n\t}\r\n\r\n\tprivate get _service(): ALuApiService<T> {\r\n\t\tswitch (this._standard) {\r\n\t\t\tcase 'v4':\r\n\t\t\t\treturn this._v4Service;\r\n\t\t\tcase 'v3':\r\n\t\t\tdefault:\r\n\t\t\t\treturn this._v3Service;\r\n\t\t}\r\n\t}\r\n\r\n\tconstructor(private _http: HttpClient) {\r\n\t\tsuper();\r\n\t\tthis._v3Service = new LuApiV3Service(this._http);\r\n\t\tthis._v4Service = new LuApiV4Service(this._http);\r\n\t}\r\n\r\n\tgetAll(filters: string[] = []): Observable<T[]> {\r\n\t\treturn this._service.getAll(filters);\r\n\t}\r\n\r\n\tgetPaged(page: number, filters: string[] = []): Observable<T[]> {\r\n\t\treturn this._service.getPaged(page, filters);\r\n\t}\r\n\r\n\tsearchAll(clue: string, filters: string[] = []): Observable<T[]> {\r\n\t\treturn this._service.searchAll(clue, filters);\r\n\t}\r\n\r\n\tsearchPaged(clue: string, page: number, filters: string[] = []): Observable<T[]> {\r\n\t\treturn this._service.searchPaged(clue, page, filters);\r\n\t}\r\n}\r\n","import { ChangeDetectionStrategy, Component, forwardRef, Inject, Input, Optional, Self, SkipSelf } from '@angular/core';\r\nimport { ALuOnOpenSubscriber, ILuOnOpenSubscriber } from '@lucca-front/ng/core';\r\nimport { ALuOptionOperator, ILuOptionOperator } from '@lucca-front/ng/option';\r\nimport { BehaviorSubject } from 'rxjs';\r\nimport { ILuApiItem } from '../../api.model';\r\nimport { ALuApiService, LuApiHybridService } from '../../service/index';\r\nimport { ALuApiOptionFeeder } from './api-feeder.model';\r\n@Component({\r\n\tselector: 'lu-api-feeder',\r\n\ttemplate: '',\r\n\tstyleUrls: [],\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n\tproviders: [\r\n\t\t{\r\n\t\t\tprovide: ALuOptionOperator,\r\n\t\t\tuseExisting: forwardRef(() => LuApiFeederComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t\t{\r\n\t\t\tprovide: ALuOnOpenSubscriber,\r\n\t\t\tuseExisting: forwardRef(() => LuApiFeederComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t\t{\r\n\t\t\tprovide: ALuApiService,\r\n\t\t\tuseClass: LuApiHybridService,\r\n\t\t},\r\n\t],\r\n})\r\nexport class LuApiFeederComponent<T extends ILuApiItem = ILuApiItem> extends ALuApiOptionFeeder<T, LuApiHybridService<T>> implements ILuOptionOperator<T>, ILuOnOpenSubscriber {\r\n\toverride outOptions$ = new BehaviorSubject<T[]>([]);\r\n\tconstructor(\r\n\t\t@Inject(ALuApiService)\r\n\t\t@Optional()\r\n\t\t@SkipSelf()\r\n\t\thostService: LuApiHybridService<T>,\r\n\t\t@Inject(ALuApiService) @Self() selfService: LuApiHybridService<T>,\r\n\t) {\r\n\t\tsuper(hostService || selfService);\r\n\t}\r\n\r\n\t@Input() set standard(standard: 'v3' | 'v4') {\r\n\t\tthis._service.standard = standard;\r\n\t}\r\n\t@Input() set api(api: string) {\r\n\t\tthis._service.api = api;\r\n\t}\r\n\t@Input() set fields(fields: string) {\r\n\t\tthis._service.fields = fields;\r\n\t}\r\n\t@Input() set filters(filters: string[]) {\r\n\t\tthis._service.filters = filters;\r\n\t}\r\n\t@Input() set orderBy(orderBy: string) {\r\n\t\tthis._service.orderBy = orderBy;\r\n\t}\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { LuApiFeederComponent } from './api-feeder.component';\r\nimport { HttpClientModule } from '@angular/common/http';\r\n\r\n@NgModule({\r\n\timports: [HttpClientModule],\r\n\tdeclarations: [LuApiFeederComponent],\r\n\texports: [LuApiFeederComponent],\r\n})\r\nexport class LuApiFeederModule {}\r\n","import { ILuOnOpenSubscriber, ILuOnScrollBottomSubscriber } from '@lucca-front/ng/core';\r\nimport { merge, Observable, of, Subject } from 'rxjs';\r\nimport { catchError, map, scan, share, startWith, switchMap } from 'rxjs/operators';\r\nimport { ILuApiService } from '../../service/index';\r\nimport { ILuApiOptionFeeder } from '../feeder/index';\r\n\r\nexport type ILuApiOptionSearcher<T extends import('../../api.model').ILuApiItem = import('../../api.model').ILuApiItem> = ILuApiOptionFeeder<T>;\r\n\r\nexport abstract class ALuApiOptionSearcher<T extends import('../../api.model').ILuApiItem = import('../../api.model').ILuApiItem, S extends ILuApiService<T> = ILuApiService<T>>\r\n\timplements ILuApiOptionFeeder<T>, ILuOnOpenSubscriber\r\n{\r\n\toutOptions$ = new Subject<T[]>();\r\n\tloading$: Observable<boolean>;\r\n\tempty$: Observable<boolean>;\r\n\r\n\tprotected _clue$: Observable<string>;\r\n\r\n\tset clue$(clue$: Observable<string>) {\r\n\t\t// this.initObservables(clue$);\r\n\t\tthis._clue$ = clue$;\r\n\t}\r\n\tconstructor(protected _service: S) {}\r\n\tinit() {\r\n\t\tthis.initObservables();\r\n\t}\r\n\tonOpen() {\r\n\t\tthis.resetClue();\r\n\t}\r\n\tonClose() {\r\n\t\tthis.clearOptions();\r\n\t}\r\n\tprotected initObservables() {\r\n\t\t// this._clue$ = clue$.pipe(share());\r\n\t\tconst results$ = this._clue$.pipe(\r\n\t\t\tswitchMap((clue) => this._service.searchAll(clue)),\r\n\t\t\tcatchError(() => of([])),\r\n\t\t\tshare(),\r\n\t\t);\r\n\r\n\t\tresults$.subscribe((items) => this.outOptions$.next(items));\r\n\t\tthis.loading$ = merge(this._clue$.pipe(map(() => true)), results$.pipe(map(() => false)));\r\n\t\tthis.empty$ = results$.pipe(map((o) => o.length === 0));\r\n\t}\r\n\tabstract resetClue();\r\n\tprotected clearOptions() {\r\n\t\tthis.outOptions$.next([]);\r\n\t}\r\n}\r\n\r\nexport type ILuApiOptionPagedSearcher<T extends import('../../api.model').ILuApiItem = import('../../api.model').ILuApiItem> = ILuApiOptionSearcher<T>;\r\n\r\nexport abstract class ALuApiOptionPagedSearcher<T extends import('../../api.model').ILuApiItem = import('../../api.model').ILuApiItem, S extends ILuApiService<T> = ILuApiService<T>>\r\n\textends ALuApiOptionSearcher<T, S>\r\n\timplements ILuApiOptionPagedSearcher<T>, ILuOnScrollBottomSubscriber\r\n{\r\n\toverride outOptions$ = new Subject<T[]>();\r\n\toverride loading$: Observable<boolean>;\r\n\tprotected _loading = false;\r\n\tprotected _page$ = new Subject<void>();\r\n\tprotected _isLastPage: boolean;\r\n\tprotected _options: T[] = [];\r\n\r\n\tconstructor(service: S) {\r\n\t\tsuper(service);\r\n\t}\r\n\toverride onOpen() {\r\n\t\tthis.resetClue();\r\n\t}\r\n\tonScrollBottom() {\r\n\t\tif (!this._loading && !this._isLastPage) {\r\n\t\t\tthis._page$.next();\r\n\t\t}\r\n\t}\r\n\r\n\tprotected override initObservables() {\r\n\t\tconst pager$ = this._page$.pipe(\r\n\t\t\tscan((acc) => acc + 1, 0),\r\n\t\t\tstartWith(0),\r\n\t\t);\r\n\t\tconst query$ = this._clue$.pipe(\r\n\t\t\tswitchMap((clue) => pager$.pipe(map<number, [number, string]>((page) => [page, clue]))),\r\n\t\t\tshare(),\r\n\t\t);\r\n\r\n\t\tconst results$ = query$.pipe(\r\n\t\t\tswitchMap(([page, clue]) =>\r\n\t\t\t\tthis._service.searchPaged(clue, page).pipe(\r\n\t\t\t\t\tcatchError(() => of([])),\r\n\t\t\t\t\tmap<T[], [T[], number]>((items) => [items, page]),\r\n\t\t\t\t),\r\n\t\t\t),\r\n\t\t\tshare(),\r\n\t\t);\r\n\r\n\t\tresults$.subscribe(([items, page]) => {\r\n\t\t\tif (page === 0) {\r\n\t\t\t\tthis._options = [...items];\r\n\t\t\t} else {\r\n\t\t\t\tthis._options.push(...items);\r\n\t\t\t}\r\n\t\t\tthis._isLastPage = !items.length;\r\n\t\t\tthis.outOptions$.next([...this._options]);\r\n\t\t});\r\n\t\tthis.loading$ = merge(query$.pipe(map(() => true)), results$.pipe(map(() => false)));\r\n\t\tthis.loading$.subscribe((l) => (this._loading = l));\r\n\t\tthis.empty$ = this.outOptions$.pipe(map((o) => o.length === 0));\r\n\t}\r\n\tabstract override resetClue();\r\n}\r\n","import { ChangeDetectionStrategy, Component, ElementRef, forwardRef, Inject, Input, OnInit, Optional, Self, SkipSelf, ViewChild } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { ALuOnCloseSubscriber, ALuOnOpenSubscriber, ALuOnScrollBottomSubscriber } from '@lucca-front/ng/core';\r\nimport { ALuOptionOperator } from '@lucca-front/ng/option';\r\nimport { Observable } from 'rxjs';\r\nimport { debounceTime } from 'rxjs/operators';\r\nimport { ALuApiService, LuApiHybridService } from '../../service/index';\r\nimport { ALuApiOptionPagedSearcher, ALuApiOptionSearcher } from './api-searcher.model';\r\n\r\n@Component({\r\n\tselector: 'lu-api-searcher',\r\n\ttemplateUrl: 'api-searcher.component.html',\r\n\tstyleUrls: ['api-searcher.component.scss'],\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n\tproviders: [\r\n\t\t{\r\n\t\t\tprovide: ALuOptionOperator,\r\n\t\t\tuseExisting: forwardRef(() => LuApiSearcherComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t\t{\r\n\t\t\tprovide: ALuOnOpenSubscriber,\r\n\t\t\tuseExisting: forwardRef(() => LuApiSearcherComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t\t{\r\n\t\t\tprovide: ALuApiService,\r\n\t\t\tuseClass: LuApiHybridService,\r\n\t\t},\r\n\t],\r\n})\r\nexport class LuApiSearcherComponent<T extends import('../../api.model').ILuApiItem = import('../../api.model').ILuApiItem> extends ALuApiOptionSearcher<T, LuApiHybridService<T>> implements OnInit {\r\n\t@ViewChild('searchInput', { read: ElementRef, static: true })\r\n\tsearchInput: ElementRef<HTMLElement>;\r\n\r\n\t@Input() set standard(standard: 'v3' | 'v4') {\r\n\t\tthis._service.standard = standard;\r\n\t}\r\n\t@Input() set api(api: string) {\r\n\t\tthis._service.api = api;\r\n\t}\r\n\t@Input() set fields(fields: string) {\r\n\t\tthis._service.fields = fields;\r\n\t}\r\n\t@Input() set filters(filters: string[]) {\r\n\t\tthis._service.filters = filters;\r\n\t}\r\n\t@Input() set orderBy(orderBy: string) {\r\n\t\tthis._service.orderBy = orderBy;\r\n\t}\r\n\t@Input() set sort(sort: string) {\r\n\t\tthis._service.sort = sort;\r\n\t}\r\n\t@Input() debounceTime = 250;\r\n\r\n\tclueControl: FormControl;\r\n\tconstructor(\r\n\t\t@Inject(ALuApiService)\r\n\t\t@Optional()\r\n\t\t@SkipSelf()\r\n\t\thostService: LuApiHybridService<T>,\r\n\t\t@Inject(ALuApiService) @Self() selfService: LuApiHybridService<T>,\r\n\t) {\r\n\t\tsuper(hostService || selfService);\r\n\t}\r\n\tngOnInit() {\r\n\t\tthis.clueControl = new FormControl(undefined);\r\n\t\tthis.clue$ = this.clueControl.valueChanges.pipe(debounceTime(this.debounceTime)) as Observable<string>;\r\n\t\tsuper.init();\r\n\t}\r\n\r\n\toverride onOpen() {\r\n\t\tthis.searchInput.nativeElement.focus();\r\n\t\tsuper.onOpen();\r\n\t}\r\n\tresetClue() {\r\n\t\tthis.clueControl.setValue('');\r\n\t}\r\n}\r\n\r\n@Component({\r\n\tselector: 'lu-api-paged-searcher',\r\n\ttemplateUrl: 'api-searcher.component.html',\r\n\tstyleUrls: ['api-searcher.component.scss'],\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n\tproviders: [\r\n\t\t{\r\n\t\t\tprovide: ALuOptionOperator,\r\n\t\t\tuseExisting: forwardRef(() => LuApiPagedSearcherComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t\t{\r\n\t\t\tprovide: ALuOnOpenSubscriber,\r\n\t\t\tuseExisting: forwardRef(() => LuApiPagedSearcherComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t\t{\r\n\t\t\tprovide: ALuOnScrollBottomSubscriber,\r\n\t\t\tuseExisting: forwardRef(() => LuApiPagedSearcherComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t\t{\r\n\t\t\tprovide: ALuOnCloseSubscriber,\r\n\t\t\tuseExisting: forwardRef(() => LuApiPagedSearcherComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t\t{\r\n\t\t\tprovide: ALuApiService,\r\n\t\t\tuseClass: LuApiHybridService,\r\n\t\t},\r\n\t],\r\n})\r\nexport class LuApiPagedSearcherComponent<T extends import('../../api.model').ILuApiItem = import('../../api.model').ILuApiItem>\r\n\textends ALuApiOptionPagedSearcher<T, LuApiHybridService<T>>\r\n\timplements OnInit\r\n{\r\n\t@ViewChild('searchInput', { read: ElementRef, static: true })\r\n\tsearchInput: ElementRef<HTMLElement>;\r\n\t@Input() set standard(standard: 'v3' | 'v4') {\r\n\t\tthis._service.standard = standard;\r\n\t}\r\n\t@Input() set api(api: string) {\r\n\t\tthis._service.api = api;\r\n\t}\r\n\t@Input() set fields(fields: string) {\r\n\t\tthis._service.fields = fields;\r\n\t}\r\n\t@Input() set filters(filters: string[]) {\r\n\t\tthis._service.filters = filters;\r\n\t}\r\n\t@Input() set orderBy(orderBy: string) {\r\n\t\tthis._service.orderBy = orderBy;\r\n\t}\r\n\t@Input() set sort(sort: string) {\r\n\t\tthis._service.sort = sort;\r\n\t}\r\n\t@Input() debounceTime = 250;\r\n\r\n\tclueControl: FormControl;\r\n\tconstructor(@Inject(ALuApiService) @Optional() @SkipSelf() hostService: LuApiHybridService<T>, @Inject(ALuApiService) @Self() selfService: LuApiHybridService<T>) {\r\n\t\tsuper(hostService || selfService);\r\n\t}\r\n\tngOnInit() {\r\n\t\tthis.clueControl = new FormControl(undefined);\r\n\t\tthis.clue$ = this.clueControl.valueChanges.pipe(debounceTime(this.debounceTime)) as Observable<string>;\r\n\t\tsuper.init();\r\n\t}\r\n\r\n\toverride onOpen() {\r\n\t\tthis.searchInput.nativeElement.focus();\r\n\t\tsuper.onOpen();\r\n\t}\r\n\tresetClue() {\r\n\t\tthis.clueControl.reset('');\r\n\t}\r\n}\r\n","<div class=\"textfield mod-search\" [class.is-loading]=\"loading$ | async\">\r\n\t<input #searchInput class=\"textfield-input\" [formControl]=\"clueControl\" />\r\n</div>\r\n<lu-option-placeholder *ngIf=\"(empty$ | async) && (loading$ | async) === false\" (onClear)=\"resetClue()\"></lu-option-placeholder>\r\n","import { NgModule } from '@angular/core';\r\nimport { LuApiSearcherComponent, LuApiPagedSearcherComponent } from './api-searcher.component';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\nimport { CommonModule } from '@angular/common';\r\nimport { LuOptionPlaceholderModule } from '@lucca-front/ng/option';\r\n\r\n@NgModule({\r\n\timports: [HttpClientModule, ReactiveFormsModule, CommonModule, LuOptionPlaceholderModule],\r\n\tdeclarations: [LuApiSearcherComponent, LuApiPagedSearcherComponent],\r\n\texports: [LuApiSearcherComponent, LuApiPagedSearcherComponent],\r\n})\r\nexport class LuApiSearcherModule {}\r\n","import { Overlay } from '@angular/cdk/overlay';\r\nimport { AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, forwardRef, Input, Renderer2, ViewContainerRef } from '@angular/core';\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\r\nimport { ILuOptionItem, LuOptionComparer, LuOptionPickerAdvancedComponent } from '@lucca-front/ng/option';\r\nimport { ALuSelectInputComponent } from '@lucca-front/ng/select';\r\n\r\n@Component({\r\n\tselector: 'lu-api-select',\r\n\ttemplateUrl: './api-select-input.component.html',\r\n\tstyleUrls: ['./api-select-input.component.scss'],\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n\tproviders: [\r\n\t\t{\r\n\t\t\tprovide: NG_VALUE_ACCESSOR,\r\n\t\t\tuseExisting: forwardRef(() => LuApiSelectInputComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t],\r\n})\r\nexport class LuApiSelectInputComponent<T extends import('../../api.model').ILuApiItem = import('../../api.model').ILuApiItem>\r\n\textends ALuSelectInputComponent<T, LuOptionPickerAdvancedComponent<T, ILuOptionItem<T>>>\r\n\timplements ControlValueAccessor, AfterViewInit\r\n{\r\n\t@Input() standard: 'v3' | 'v4' = 'v3';\r\n\t@Input() api: string;\r\n\t/**\r\n\t * only works with standard=\"v3\"\r\n\t */\r\n\t@Input() fields: string;\r\n\t@Input() filters: string[];\r\n\t/**\r\n\t * only works with standard=\"v3\", otherwise use sort\r\n\t */\r\n\t@Input() orderBy: string;\r\n\t/**\r\n\t * only works with standard=\"v4\", otherwise use orderBy\r\n\t */\r\n\t@Input() sort: string;\r\n\r\n\tbyId: LuOptionComparer<T> = (option1: T, option2: T) => option1 && option2 && option1.id === option2.id;\r\n\tconstructor(\r\n\t\tprotected override _changeDetectorRef: ChangeDetectorRef,\r\n\t\tprotected override _overlay: Overlay,\r\n\t\tprotected override _elementRef: ElementRef<HTMLElement>,\r\n\t\tprotected override _viewContainerRef: ViewContainerRef,\r\n\t\tprotected override _renderer: Renderer2,\r\n\t) {\r\n\t\tsuper(_changeDetectorRef, _overlay, _elementRef, _viewContainerRef, _renderer);\r\n\t}\r\n}\r\n","<div class=\"lu-select-placeholder\">{{ placeholder }}</div>\r\n<div class=\"lu-select-value\">\r\n\t<div class=\"lu-select-display-wrapper\">\r\n\t\t<ng-container #display></ng-container>\r\n\t</div>\r\n</div>\r\n<div class=\"lu-select-suffix\">\r\n\t<lu-input-clearer></lu-input-clearer>\r\n</div>\r\n<span [class.chip]=\"multiple\" *luDisplayer=\"let option\">{{ option.name }}</span>\r\n<lu-option-picker-advanced [option-comparer]=\"byId\">\r\n\t<header class=\"lu-picker-header\">\r\n\t\t<lu-api-paged-searcher\r\n\t\t\t[standard]=\"standard\"\r\n\t\t\t[api]=\"api\"\r\n\t\t\t[fields]=\"fields\"\r\n\t\t\t[filters]=\"filters\"\r\n\t\t\t[orderBy]=\"orderBy\"\r\n\t\t\t[sort]=\"sort\"\r\n\t\t></lu-api-paged-searcher>\r\n\t</header>\r\n\t<lu-option *luForOptions=\"let option\" [value]=\"option\">{{ option.name }}</lu-option>\r\n</lu-option-picker-advanced>\r\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { LuInputClearerModule, LuInputDisplayerModule } from '@lucca-front/ng/input';\r\nimport { LuForOptionsModule, LuOptionPickerModule } from '@lucca-front/ng/option';\r\nimport { LuApiSearcherModule } from '../searcher/index';\r\nimport { LuApiSelectInputComponent } from './api-select-input.component';\r\n\r\n@NgModule({\r\n\timports: [CommonModule, LuOptionPickerModule, LuForOptionsModule, LuApiSearcherModule, LuInputClearerModule, LuInputDisplayerModule],\r\n\tdeclarations: [LuApiSelectInputComponent],\r\n\texports: [LuApiSelectInputComponent],\r\n})\r\nexport class LuApiSelectInputModule {}\r\n","import { ILuOnOpenSubscriber, ILuOnScrollBottomSubscriber } from '@lucca-front/ng/core';\r\nimport { ILuOptionOperator } from '@lucca-front/ng/option';\r\nimport { merge, Observable, of, Subject } from 'rxjs';\r\nimport { catchError, distinctUntilChanged, map, switchMap, tap } from 'rxjs/operators';\r\nimport { ILuApiItem } from '../../api.model';\r\nimport { ILuApiService } from '../../service/index';\r\n\r\nenum Strategy {\r\n\tappend,\r\n\treplace,\r\n}\r\nexport type ILuApiOptionPager<T extends ILuApiItem = ILuApiItem> = ILuOptionOperator<T>;\r\nexport interface ILuApiPagerService<T extends ILuApiItem = ILuApiItem> {\r\n\tgetPaged(page: number): Observable<T[]>;\r\n}\r\n\r\nexport abstract class ALuApiOptionPager<T extends ILuApiItem = ILuApiItem, S extends ILuApiService<T> = ILuApiService<T>>\r\n\timplements ILuApiOptionPager<T>, ILuOnOpenSubscriber, ILuOnScrollBottomSubscriber\r\n{\r\n\toutOptions$ = new Subject<T[]>();\r\n\tloading$: Observable<boolean>;\r\n\r\n\tprotected _loading = false;\r\n\tprotected _results$: Observable<{ items: T[]; strategy: Strategy }>;\r\n\tprotected _options: T[] = [];\r\n\tprotected _page$ = new Subject<number>();\r\n\tprotected _page: number;\r\n\tprotected _initialized = false;\r\n\tconstructor(protected _service: S) {}\r\n\tprotected init() {\r\n\t\tthis.initObservables();\r\n\t}\r\n\tonOpen() {\r\n\t\tif (!this._initialized) {\r\n\t\t\tthis._page$.next(0);\r\n\t\t\tthis._initialized = true;\r\n\t\t}\r\n\t}\r\n\t// onClose() {\r\n\t// \tthis._page$.next(0);\r\n\t// }\r\n\tonScrollBottom() {\r\n\t\tif (!this._loading) {\r\n\t\t\tthis._page$.next(this._page + 1);\r\n\t\t}\r\n\t}\r\n\tprotected initObservables() {\r\n\t\tconst _results$: Observable<{ items: T[]; strategy: Strategy }> = this._page$.pipe(\r\n\t\t\tdistinctUntilChanged(),\r\n\t\t\ttap((p) => (this._page = p)),\r\n\t\t\tswitchMap((page) => {\r\n\t\t\t\tif (page === undefined) {\r\n\t\t\t\t\treturn of({ items: [] as T[], strategy: Strategy.replace });\r\n\t\t\t\t}\r\n\t\t\t\treturn this._service.getPaged(page).pipe(\r\n\t\t\t\t\tmap((items) => ({\r\n\t\t\t\t\t\titems: items,\r\n\t\t\t\t\t\tstrategy: page === 0 ? Strategy.replace : Strategy.append,\r\n\t\t\t\t\t})),\r\n\t\t\t\t);\r\n\t\t\t}),\r\n\t\t\tcatchError(() => of({ items: [] as T[], strategy: Strategy.replace })),\r\n\t\t\ttap((results) => {\r\n\t\t\t\tif (results.strategy === Strategy.replace) {\r\n\t\t\t\t\tthis._options = [...results.items];\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis._options.push(...results.items);\r\n\t\t\t\t}\r\n\t\t\t\tthis.outOptions$.next([...this._options]);\r\n\t\t\t}),\r\n\t\t);\r\n\r\n\t\tthis.loading$ = merge(this._page$.pipe(map(() => true)), _results$.pipe(map(() => false)));\r\n\t\tthis.loading$.subscribe((l) => (this._loading = l));\r\n\t}\r\n}\r\n","import { ChangeDetectionStrategy, Component, forwardRef, Inject, Input, OnInit, Optional, Self, SkipSelf } from '@angular/core';\r\nimport { ALuOnOpenSubscriber, ALuOnScrollBottomSubscriber, ILuOnOpenSubscriber, ILuOnScrollBottomSubscriber } from '@lucca-front/ng/core';\r\nimport { ALuOptionOperator, ILuOptionOperator } from '@lucca-front/ng/option';\r\nimport { ILuApiItem } from '../../api.model';\r\nimport { ALuApiService, LuApiHybridService } from '../../service/index';\r\nimport { ALuApiOptionPager } from './api-pager.model';\r\n\r\n@Component({\r\n\tselector: 'lu-api-pager',\r\n\ttemplate: '',\r\n\tstyleUrls: [],\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n\tproviders: [\r\n\t\t{\r\n\t\t\tprovide: ALuOptionOperator,\r\n\t\t\tuseExisting: forwardRef(() => LuApiPagerComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t\t{\r\n\t\t\tprovide: ALuApiService,\r\n\t\t\tuseClass: LuApiHybridService,\r\n\t\t},\r\n\t\t{\r\n\t\t\tprovide: ALuOnScrollBottomSubscriber,\r\n\t\t\tuseExisting: forwardRef(() => LuApiPagerComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t\t{\r\n\t\t\tprovide: ALuOnOpenSubscriber,\r\n\t\t\tuseExisting: forwardRef(() => LuApiPagerComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t],\r\n})\r\nexport class LuApiPagerComponent<T extends ILuApiItem = ILuApiItem>\r\n\textends ALuApiOptionPager<T, LuApiHybridService<T>>\r\n\timplements ILuOptionOperator<T>, OnInit, ILuOnScrollBottomSubscriber, ILuOnOpenSubscriber\r\n{\r\n\tconstructor(\r\n\t\t@Inject(ALuApiService)\r\n\t\t@Optional()\r\n\t\t@SkipSelf()\r\n\t\thostService: LuApiHybridService<T>,\r\n\t\t@Inject(ALuApiService) @Self() selfService: LuApiHybridService<T>,\r\n\t) {\r\n\t\tsuper(hostService || selfService);\r\n\t}\r\n\r\n\t@Input() set standard(standard: 'v3' | 'v4') {\r\n\t\tthis._service.standard = standard;\r\n\t}\r\n\t@Input() set api(api: string) {\r\n\t\tthis._service.api = api;\r\n\t}\r\n\t@Input() set fields(fields: string) {\r\n\t\tthis._service.fields = fields;\r\n\t}\r\n\t@Input() set filters(filters: string[]) {\r\n\t\tthis._service.filters = filters;\r\n\t}\r\n\t@Input() set orderBy(orderBy: string) {\r\n\t\tthis._service.orderBy = orderBy;\r\n\t}\r\n\r\n\tngOnInit() {\r\n\t\tsuper.init();\r\n\t}\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { LuApiPagerComponent } from './api-pager.component';\r\nimport { HttpClientModule } from '@angular/common/http';\r\n\r\n@NgModule({\r\n\timports: [HttpClientModule],\r\n\tdeclarations: [LuApiPagerComponent],\r\n\texports: [LuApiPagerComponent],\r\n})\r\nexport class LuApiPagerModule {}\r\n","import { NgModule } from '@angular/core';\r\nimport { LuApiFeederModule } from './feeder/index';\r\nimport { LuApiSelectInputModule } from './input/index';\r\nimport { LuApiPagerModule } from './pager/index';\r\nimport { LuApiSearcherModule } from './searcher/index';\r\n\r\n@NgModule({\r\n\timports: [LuApiFeederModule, LuApiSearcherModule, LuApiPagerModule, LuApiSelectInputModule],\r\n\texports: [LuApiFeederModule, LuApiSearcherModule, LuApiPagerModule, LuApiSelectInputModule],\r\n})\r\nexport class LuApiSelectModule {}\r\n","import { NgModule } from '@angular/core';\r\nimport { LuApiSelectModule } from './select/index';\r\n\r\n@NgModule({\r\n\timports: [LuApiSelectModule],\r\n\texports: [LuApiSelectModule],\r\n})\r\nexport class LuApiModule {}\r\n","/*\r\n * Public API Surface of safe-content\r\n */\r\n\r\nexport * from './index';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;MAUsB,kBAAkB;IAGvC,YAAY,OAAU;QAFtB,gBAAW,GAAG,IAAI,eAAe,CAAM,EAAE,CAAC,CAAC;QAG1C,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC;KACxB;IACD,MAAM;QACL,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC,SAAS,CAAC,CAAC,KAAK,KAAK,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;KAC1E;;;MCToB,aAAa;;;ACFnC,MAAM,eAAe,GAAG,EAAE,CAAC;MAGd,uBAA0D,aAAgB;IA4BtF,YAAsB,KAAiB;QACtC,KAAK,EAAE,CAAC;QADa,UAAK,GAAL,KAAK,CAAY;QAvB7B,YAAO,GAAG,gBAAgB,CAAC;QAM3B,aAAQ,GAAa,EAAE,CAAC;QAMxB,aAAQ,GAAG,kBAAkB,CAAC;KAavC;IA5BD,IAAI,GAAG,CAAC,GAAW;QAClB,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC;KAChB;IAED,IAAI,MAAM,CAAC,MAAc;QACxB,IAAI,MAAM,EAAE;YACX,IAAI,CAAC,OAAO,GAAG,UAAU,MAAM,EAAE,CAAC;SAClC;KACD;IAED,IAAI,OAAO,CAAC,OAAiB;QAC5B,IAAI,OAAO,EAAE;YACZ,IAAI,CAAC,QAAQ,GAAG,OAAO,IAAI,EAAE,CAAC;SAC9B;KACD;IAED,IAAI,OAAO,CAAC,OAAe;QAC1B,IAAI,OAAO,EAAE;YACZ,IAAI,CAAC,QAAQ,GAAG,WAAW,OAAO,EAAE,CAAC;SACrC;KACD;IAED,IAAI,GAAG;QACN,OAAO,GAAG,IAAI,CAAC,IAAI,IAAI,CAAC,GAAG,IAAI,CAAC,QAAQ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: forwardRef(() => LuDepartmentSelectInputComponent),
195
195
  multi: true,
196
196
  },
197
- ], usesInheritance: true, ngImport: i0, template: "<div class=\"lu-select-placeholder\">{{ placeholder }}</div>\r\n<div class=\"lu-select-value\">\r\n\t<div class=\"lu-select-display-wrapper\">\r\n\t\t<ng-container #display></ng-container>\r\n\t</div>\r\n</div>\r\n<div class=\"lu-select-suffix\">\r\n\t<lu-input-clearer></lu-input-clearer>\r\n</div>\r\n\r\n<ng-template luDisplayer [luDisplayerMultiple]=\"true\" let-values>\r\n\t<span *ngIf=\"multiple && values?.length > 1; else singleView\"\r\n\t\t><span class=\"chip mod-unkillable\">{{ values.length }}</span> {{ intl.departments }}</span\r\n\t>\r\n\t<ng-template #singleView>{{ (values[0] || values).name }}</ng-template>\r\n</ng-template>\r\n\r\n<lu-tree-option-picker-advanced [option-comparer]=\"byId\">\r\n\t<header class=\"lu-picker-header\" [class.mod-multiple]=\"multiple\">\r\n\t\t<lu-department-feeder [appInstanceId]=\"appInstanceId\" [operations]=\"operations\" [filters]=\"filters\"></lu-department-feeder>\r\n\t\t<lu-tree-option-searcher [searchFn]=\"searchFn\"></lu-tree-option-searcher>\r\n\t\t<lu-tree-option-select-all class=\"option-selector\"></lu-tree-option-select-all>\r\n\t</header>\r\n\t<!-- <lu-tree-option-pager></lu-tree-option-pager> -->\r\n\t<lu-tree-option *luForTreeOptions=\"let option\" [tree]=\"option\">\r\n\t\t<ng-container *luDisplayer=\"let value\">{{ value.name }}</ng-container>\r\n\t</lu-tree-option>\r\n</lu-tree-option-picker-advanced>\r\n", styles: [":host{cursor:pointer;outline:none;padding:0}:host:after{content:\"\\e97c\";font-family:Lucca icons;display:inline-block;vertical-align:text-bottom;font-style:normal;color:var(--components-select-default-palette-700);bottom:.5rem;bottom:var(--components-select-input-padding-vertical);font-size:1.2rem;line-height:1.4rem;pointer-events:none;position:absolute;right:.5rem;right:var(--components-select-input-padding-horizontal)}:host[disabled]{cursor:not-allowed;pointer-events:all}:host.is-disabled{cursor:not-allowed;pointer-events:all}.lu-select-display-wrapper{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lu-select-value{line-height:1.5rem;line-height:var(--sizes-standard-line-height);min-height:calc(var(--spacings-small) + 1.5rem);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-standard-line-height));padding:.5rem 2.5rem .5rem .5rem;padding:var(--components-select-input-padding-vertical) 2.5rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all .25s ease;transition:all var(--commons-animations-durations-standard) ease;display:none}.lu-select-placeholder{color:var(--components-select-default-palette-400);line-height:1.5rem;line-height:var(--sizes-standard-line-height);min-height:calc(var(--spacings-small) + 1.5rem);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-standard-line-height));padding:.5rem 2.5rem .5rem .5rem;padding:var(--components-select-input-padding-vertical) 2.5rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all .25s ease;transition:all var(--commons-animations-durations-standard) ease;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lu-select-suffix{position:absolute;bottom:.5rem;right:1.6rem}::ng-deep .lu-select-value .label{padding:.25rem .25rem .5rem .5rem;padding:var(--spacings-smallest) var(--spacings-smaller);margin-left:0}::ng-deep .lu-select-value .chip{background:#FF6600;background:var(--components-select-chip-background);color:#fff;color:var(--components-select-chip-text);vertical-align:baseline;max-width:100%;height:1.5rem;height:var(--sizes-standard-line-height);line-height:1.5rem;line-height:var(--sizes-standard-line-height);padding:0 .5rem;padding:0 var(--spacings-smaller);margin:0 .25rem .25rem 0;text-overflow:ellipsis;overflow:hidden;vertical-align:top;white-space:nowrap}:host-context(.textfield.mod-small) .lu-select-value,:host-context(.textfield.mod-small) .lu-select-placeholder{font-size:.875rem;font-size:var(--sizes-small-font-size);line-height:1.25rem;line-height:var(--sizes-small-line-height);min-height:calc(var(--spacings-small) + 1.25rem);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-small-line-height))}:host-context(.textfield.mod-small):after{line-height:1.25rem;line-height:var(--sizes-small-line-height)}:host-context(.textfield.mod-small) ::ng-deep .lu-select-value .label{font-size:.875rem;font-size:var(--sizes-small-font-size);line-height:1.25rem;line-height:var(--sizes-small-line-height);font-weight:600;margin:0;padding:0;background:transparent}:host-context(.textfield.mod-small) ::ng-deep .lu-select-value .chip{height:1.25rem;height:var(--sizes-small-line-height);line-height:1.25rem;line-height:var(--sizes-small-line-height)}:host-context(.textfield.mod-framed).textfield-input,:host-context(.form.mod-framed).textfield-input{padding:var(--spacings-big) 0 0;padding:var(--components-select-framed-top-padding) 0 0}:host-context(.textfield.mod-framed).textfield-input:after,:host-context(.form.mod-framed).textfield-input:after{color:#96a6c5;color:var(--colors-text-light-color);bottom:var(--spacings-small);bottom:var(--components-select-framed-bottom-padding);right:.5rem;right:var(--spacings-smaller)}:host-context(.textfield.mod-framed).textfield-input .lu-select-value,:host-context(.textfield.mod-framed).textfield-input .lu-select-placeholder,:host-context(.form.mod-framed).textfield-input .lu-select-value,:host-context(.form.mod-framed).textfield-input .lu-select-placeholder{padding:0 calc(var(--spacings-small) * 3) var(--spacings-small) var(--spacings-small);padding:0 calc(var(--components-select-framed-side-padding) * 3) var(--components-select-framed-bottom-padding) var(--components-select-framed-side-padding)}:host-context(.textfield.mod-framed).textfield-input .lu-select-suffix,:host-context(.form.mod-framed).textfield-input .lu-select-suffix{bottom:var(--spacings-small);bottom:var(--components-select-framed-bottom-padding);right:1.7rem}:host-context(.textfield.mod-filter) .lu-select-value,:host-context(.textfield.mod-filter) .lu-select-placeholder{padding:0;height:auto;padding-top:1rem;color:#2a3551;color:var(--colors-text-default-color)}:host-context(.textfield.mod-filter) .lu-select-suffix{bottom:.4rem}:host-context(.textfield.mod-material):after{color:#96a6c5;color:var(--colors-text-light-color);bottom:.6rem;right:0}:host-context(.textfield.mod-material) .lu-select-value,:host-context(.textfield.mod-material) .lu-select-placeholder{padding-left:0;padding-right:.8rem}:host-context(.textfield.mod-material) .lu-select-suffix{right:1rem;right:calc(2 * var(--components-select-input-padding-horizontal))}:host-context(.textfield.mod-material).is-select .lu-select-placeholder{display:none}:host-context(.textfield.mod-material).mod-search:after{bottom:0}:host-context(.textfield.mod-material).mod-search .lu-select-suffix{right:1.375rem;right:calc(2.75 * var(--components-select-input-padding-horizontal))}:host-context(.textfield.mod-material .textfield-input.is-focused) .lu-select-placeholder{display:none}:host(.mod-multiple).mod-multipleView:not(.mod-singleLine) .lu-select-value{height:auto;align-items:center}:host(.mod-multiple).mod-multipleView:not(.mod-singleLine) .lu-select-display-wrapper{overflow:hidden;white-space:normal;margin-bottom:-.25rem}:host-context(.textfield-input.is-filled) .lu-select-placeholder{display:none}:host-context(.textfield-input.is-filled) .lu-select-value{display:flex}:host-context(.textfield-input.is-clearable) .lu-select-value{padding-right:2.5rem}:host-context(.textfield-input.is-error):after{color:#e51a3b;color:var(--palettes-error-color)}:host-context(.textfield-input.is-error) .lu-select-placeholder{color:#ffe0e6;color:var(--palettes-error-200)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]):after{color:#999;color:var(--commons-disabled-color)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]) .lu-select-placeholder{color:#bbb;color:var(--commons-disabled-placeholder)}:host-context(.palette-primary) .lu-select-placeholder{color:var(--palettes-primary-400)}:host-context(.palette-primary):after{color:var(--palettes-primary-700)}:host-context(.palette-secondary) .lu-select-placeholder{color:var(--palettes-secondary-400)}:host-context(.palette-secondary):after{color:var(--palettes-secondary-700)}:host-context(.palette-grey) .lu-select-placeholder{color:var(--palettes-grey-400)}:host-context(.palette-grey):after{color:var(--palettes-grey-700)}:host-context(.palette-success) .lu-select-placeholder{color:var(--palettes-success-400)}:host-context(.palette-success):after{color:var(--palettes-success-700)}:host-context(.palette-warning) .lu-select-placeholder{color:var(--palettes-warning-400)}:host-context(.palette-warning):after{color:var(--palettes-warning-700)}:host-context(.palette-error) .lu-select-placeholder{color:var(--palettes-error-400)}:host-context(.palette-error):after{color:var(--palettes-error-700)}.lu-select-value{padding-right:2.5rem}.lu-picker-header .option-selector{display:none}.lu-picker-header.mod-multiple .option-selector{display:inherit;padding:var(--spacings-smaller)}\n"], components: [{ type: i2.LuInputClearerComponent, selector: "lu-input-clearer", outputs: ["onClear"], exportAs: ["luClearer"] }, { type: i3.LuTreeOptionPickerAdvancedComponent, selector: "lu-tree-option-picker-advanced", exportAs: ["LuOptionPicker"] }, { type: LuDepartmentFeederComponent, selector: "lu-department-feeder", inputs: ["appInstanceId", "operations", "filters"] }, { type: i3.LuTreeOptionSearcherComponent, selector: "lu-tree-option-searcher", inputs: ["searchFn"] }, { type: i3.LuTreeOptionSelectAllComponent, selector: "lu-tree-option-select-all" }, { type: i3.LuTreeOptionItemComponent, selector: "lu-tree-option", inputs: ["tree", "selected", "highlighted"], outputs: ["onSelect", "onSelectSelf", "onSelectChildren"] }], directives: [{ type: i2.LuInputDisplayerDirective, selector: "[luDisplayer]", inputs: ["luDisplayerMultiple", "multiple"] }, { type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.LuForTreeOptionsDirective, selector: "[luForTreeOptions]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
197
+ ], usesInheritance: true, ngImport: i0, template: "<div class=\"lu-select-placeholder\">{{ placeholder }}</div>\r\n<div class=\"lu-select-value\">\r\n\t<div class=\"lu-select-display-wrapper\">\r\n\t\t<ng-container #display></ng-container>\r\n\t</div>\r\n</div>\r\n<div class=\"lu-select-suffix\">\r\n\t<lu-input-clearer></lu-input-clearer>\r\n</div>\r\n\r\n<ng-template luDisplayer [luDisplayerMultiple]=\"true\" let-values>\r\n\t<span *ngIf=\"multiple && values?.length > 1; else singleView\"\r\n\t\t><span class=\"chip mod-unkillable\">{{ values.length }}</span> {{ intl.departments }}</span\r\n\t>\r\n\t<ng-template #singleView>{{ (values[0] || values).name }}</ng-template>\r\n</ng-template>\r\n\r\n<lu-tree-option-picker-advanced [option-comparer]=\"byId\">\r\n\t<header class=\"lu-picker-header\" [class.mod-multiple]=\"multiple\">\r\n\t\t<lu-department-feeder [appInstanceId]=\"appInstanceId\" [operations]=\"operations\" [filters]=\"filters\"></lu-department-feeder>\r\n\t\t<lu-tree-option-searcher [searchFn]=\"searchFn\"></lu-tree-option-searcher>\r\n\t\t<lu-tree-option-select-all class=\"option-selector\"></lu-tree-option-select-all>\r\n\t</header>\r\n\t<!-- <lu-tree-option-pager></lu-tree-option-pager> -->\r\n\t<lu-tree-option *luForTreeOptions=\"let option\" [tree]=\"option\">\r\n\t\t<ng-container *luDisplayer=\"let value\">{{ value.name }}</ng-container>\r\n\t</lu-tree-option>\r\n</lu-tree-option-picker-advanced>\r\n", styles: [":host{cursor:pointer;outline:none;padding:0}:host:after{content:\"\\e97c\";font-family:Lucca icons;display:inline-block;vertical-align:text-bottom;font-style:normal;color:var(--components-select-default-palette-700);bottom:.5rem;bottom:var(--components-select-input-padding-vertical);font-size:1.2rem;line-height:1.4rem;pointer-events:none;position:absolute;right:.5rem;right:var(--components-select-input-padding-horizontal)}:host[disabled]{cursor:not-allowed;pointer-events:all}:host.is-disabled{cursor:not-allowed;pointer-events:all}.lu-select-display-wrapper{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lu-select-value{line-height:1.5rem;line-height:var(--sizes-standard-line-height);min-height:calc(var(--spacings-small) + 1.5rem);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-standard-line-height));padding:.5rem 2.5rem .5rem .5rem;padding:var(--components-select-input-padding-vertical) 2.5rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all .25s ease;transition:all var(--commons-animations-durations-standard) ease;display:none}.lu-select-placeholder{color:var(--components-select-default-palette-400);line-height:1.5rem;line-height:var(--sizes-standard-line-height);min-height:calc(var(--spacings-small) + 1.5rem);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-standard-line-height));padding:.5rem 2.5rem .5rem .5rem;padding:var(--components-select-input-padding-vertical) 2.5rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all .25s ease;transition:all var(--commons-animations-durations-standard) ease;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lu-select-suffix{position:absolute;bottom:.5rem;right:1.6rem}::ng-deep .lu-select-value .label{padding:.25rem .25rem .5rem .5rem;padding:var(--spacings-smallest) var(--spacings-smaller);margin-left:0}::ng-deep .lu-select-value .chip{background:#FF6600;background:var(--components-select-chip-background);color:#fff;color:var(--components-select-chip-text);vertical-align:baseline;max-width:100%;height:1.5rem;height:var(--sizes-standard-line-height);line-height:1.5rem;line-height:var(--sizes-standard-line-height);padding:0 .5rem;padding:0 var(--spacings-smaller);margin:0 .25rem .25rem 0;text-overflow:ellipsis;overflow:hidden;vertical-align:top;white-space:nowrap}:host-context(.textfield.mod-small) .lu-select-value,:host-context(.textfield.mod-small) .lu-select-placeholder{font-size:.875rem;font-size:var(--sizes-small-font-size);line-height:1.25rem;line-height:var(--sizes-small-line-height);min-height:calc(var(--spacings-small) + 1.25rem);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-small-line-height))}:host-context(.textfield.mod-small):after{line-height:1.25rem;line-height:var(--sizes-small-line-height)}:host-context(.textfield.mod-small) ::ng-deep .lu-select-value .label{font-size:.875rem;font-size:var(--sizes-small-font-size);line-height:1.25rem;line-height:var(--sizes-small-line-height);font-weight:600;margin:0;padding:0;background:transparent}:host-context(.textfield.mod-small) ::ng-deep .lu-select-value .chip{height:1.25rem;height:var(--sizes-small-line-height);line-height:1.25rem;line-height:var(--sizes-small-line-height)}:host-context(.textfield.mod-framed).textfield-input,:host-context(.form.mod-framed).textfield-input{padding:var(--spacings-big) 0 0;padding:var(--components-select-framed-top-padding) 0 0}:host-context(.textfield.mod-framed).textfield-input:after,:host-context(.form.mod-framed).textfield-input:after{color:#96a6c5;color:var(--colors-text-light-color);bottom:var(--spacings-small);bottom:var(--components-select-framed-bottom-padding);right:.5rem;right:var(--spacings-smaller)}:host-context(.textfield.mod-framed).textfield-input .lu-select-value,:host-context(.textfield.mod-framed).textfield-input .lu-select-placeholder,:host-context(.form.mod-framed).textfield-input .lu-select-value,:host-context(.form.mod-framed).textfield-input .lu-select-placeholder{padding:0 calc(var(--spacings-small) * 3) var(--spacings-small) var(--spacings-small);padding:0 calc(var(--components-select-framed-side-padding) * 3) var(--components-select-framed-bottom-padding) var(--components-select-framed-side-padding)}:host-context(.textfield.mod-framed).textfield-input .lu-select-suffix,:host-context(.form.mod-framed).textfield-input .lu-select-suffix{bottom:var(--spacings-small);bottom:var(--components-select-framed-bottom-padding);right:1.7rem}:host-context(.textfield.mod-filter) .lu-select-value,:host-context(.textfield.mod-filter) .lu-select-placeholder{padding:0;height:auto;padding-top:1rem;color:#2a3551;color:var(--colors-text-default-color)}:host-context(.textfield.mod-filter) .lu-select-suffix{bottom:.4rem}:host-context(.textfield.mod-material):after{color:#96a6c5;color:var(--colors-text-light-color);bottom:.6rem;right:0}:host-context(.textfield.mod-material) .lu-select-value,:host-context(.textfield.mod-material) .lu-select-placeholder{padding-left:0;padding-right:.8rem}:host-context(.textfield.mod-material) .lu-select-suffix{right:1rem;right:calc(2 * var(--components-select-input-padding-horizontal))}:host-context(.textfield.mod-material).is-select .lu-select-placeholder{display:none}:host-context(.textfield.mod-material).mod-search:after{bottom:0}:host-context(.textfield.mod-material).mod-search .lu-select-suffix{right:1.375rem;right:calc(2.75 * var(--components-select-input-padding-horizontal))}:host-context(.textfield.mod-material .textfield-input.is-focused) .lu-select-placeholder{display:none}:host(.mod-multiple).mod-multipleView:not(.mod-singleLine) .lu-select-value{height:auto;align-items:center}:host(.mod-multiple).mod-multipleView:not(.mod-singleLine) .lu-select-display-wrapper{overflow:hidden;white-space:normal;margin-bottom:-.25rem}:host-context(.textfield-input.is-filled) .lu-select-placeholder{display:none}:host-context(.textfield-input.is-filled) .lu-select-value{display:flex}:host-context(.textfield-input.is-clearable) .lu-select-value{padding-right:2.5rem}:host-context(.textfield-input.is-error):after{color:#e51a3b;color:var(--palettes-error-color)}:host-context(.textfield-input.is-error) .lu-select-placeholder{color:#ffe0e6;color:var(--palettes-error-200)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]):after{color:#999;color:var(--commons-disabled-color)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]) .lu-select-placeholder{color:#bbb;color:var(--commons-disabled-placeholder)}:host-context(.palette-primary) .lu-select-placeholder{color:var(--palettes-primary-400)}:host-context(.palette-primary):after{color:var(--palettes-primary-700)}:host-context(.palette-secondary) .lu-select-placeholder{color:var(--palettes-secondary-400)}:host-context(.palette-secondary):after{color:var(--palettes-secondary-700)}:host-context(.palette-grey) .lu-select-placeholder{color:var(--palettes-grey-400)}:host-context(.palette-grey):after{color:var(--palettes-grey-700)}:host-context(.palette-success) .lu-select-placeholder{color:var(--palettes-success-400)}:host-context(.palette-success):after{color:var(--palettes-success-700)}:host-context(.palette-warning) .lu-select-placeholder{color:var(--palettes-warning-400)}:host-context(.palette-warning):after{color:var(--palettes-warning-700)}:host-context(.palette-error) .lu-select-placeholder{color:var(--palettes-error-400)}:host-context(.palette-error):after{color:var(--palettes-error-700)}.lu-select-value{padding-right:2.5rem}.lu-picker-header .option-selector{display:none}.lu-picker-header.mod-multiple .option-selector{display:inherit;padding:var(--spacings-smaller)}\n"], components: [{ type: i2.LuInputClearerComponent, selector: "lu-input-clearer", outputs: ["onClear"], exportAs: ["luClearer"] }, { type: i3.LuTreeOptionPickerAdvancedComponent, selector: "lu-tree-option-picker-advanced", exportAs: ["LuOptionPicker"] }, { type: LuDepartmentFeederComponent, selector: "lu-department-feeder", inputs: ["appInstanceId", "operations", "filters"] }, { type: i3.LuTreeOptionSearcherComponent, selector: "lu-tree-option-searcher", inputs: ["searchFn"] }, { type: i3.LuTreeOptionSelectAllComponent, selector: "lu-tree-option-select-all" }, { type: i3.LuTreeOptionItemComponent, selector: "lu-tree-option", inputs: ["tree", "selected", "highlighted", "disabled"], outputs: ["onSelect", "onSelectSelf", "onSelectChildren"] }], directives: [{ type: i2.LuInputDisplayerDirective, selector: "[luDisplayer]", inputs: ["luDisplayerMultiple", "multiple"] }, { type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.LuForTreeOptionsDirective, selector: "[luForTreeOptions]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
198
198
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: LuDepartmentSelectInputComponent, decorators: [{
199
199
  type: Component,
200
200
  args: [{ selector: 'lu-department-select', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
@@ -562,7 +562,7 @@ LuEstablishmentSelectInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersi
562
562
  provide: ALuLegalUnitService,
563
563
  useClass: LuLegalUnitService,
564
564
  },
565
- ], usesInheritance: true, ngImport: i0, template: "<div class=\"lu-select-placeholder\">{{ placeholder }}</div>\r\n<div class=\"lu-select-value\">\r\n\t<div class=\"lu-select-display-wrapper\">\r\n\t\t<ng-container #display></ng-container>\r\n\t</div>\r\n</div>\r\n<div class=\"lu-select-suffix\">\r\n\t<lu-input-clearer></lu-input-clearer>\r\n</div>\r\n\r\n<ng-template luDisplayer [luDisplayerMultiple]=\"true\" let-values>\r\n\t<span *ngIf=\"multiple && values?.length > 1; else singleView\"\r\n\t\t><span class=\"chip mod-unkillable\">{{ values.length }}</span> {{ intl.establishments }}</span\r\n\t>\r\n\t<ng-template #singleView>{{ (values[0] || values).name }}</ng-template>\r\n</ng-template>\r\n\r\n<lu-option-picker-advanced [option-comparer]=\"byId\">\r\n\t<header class=\"lu-picker-header\">\r\n\t\t<lu-establishment-searcher\r\n\t\t\t[filters]=\"filters\"\r\n\t\t\t[appInstanceId]=\"appInstanceId\"\r\n\t\t\t[operations]=\"operations\"\r\n\t\t\t[sort]=\"sort\"\r\n\t\t\t(isSearching)=\"onIsSearchingChanged($event)\"\r\n\t\t></lu-establishment-searcher>\r\n\t\t<lu-establishment-select-all\r\n\t\t\t*ngIf=\"multiple\"\r\n\t\t\tclass=\"u-displayBlock u-marginSmaller\"\r\n\t\t\t[class.u-displayNone]=\"isSearching\"\r\n\t\t\t[filters]=\"filters\"\r\n\t\t\t[appInstanceId]=\"appInstanceId\"\r\n\t\t\t[operations]=\"operations\"\r\n\t\t></lu-establishment-select-all>\r\n\t</header>\r\n\r\n\t<ng-template luForLegalUnits let-group>\r\n\t\t<div class=\"optionGroup\">\r\n\t\t\t<ng-container *ngIf=\"groupByLu && !isSearching\">\r\n\t\t\t\t<button\r\n\t\t\t\t\ttype=\"button\"\r\n\t\t\t\t\t*ngIf=\"multiple; else singleViewGroup\"\r\n\t\t\t\t\tclass=\"optionGroupName button mod-text mod-block\"\r\n\t\t\t\t\t[luLegalUnitSelector]=\"group.key\"\r\n\t\t\t\t\t[luLegalUnitSelectorFilters]=\"filters\"\r\n\t\t\t\t\t[luLegalUnitSelectorAppInstanceId]=\"appInstanceId\"\r\n\t\t\t\t\t[luLegalUnitSelectorOperations]=\"operations\"\r\n\t\t\t\t>\r\n\t\t\t\t\t{{ group.key.name }}\r\n\t\t\t\t</button>\r\n\t\t\t\t<ng-template #singleViewGroup>\r\n\t\t\t\t\t<h5 class=\"optionGroupName mod-readonly u-marginReset\">{{ group.key.name }}</h5>\r\n\t\t\t\t</ng-template>\r\n\t\t\t</ng-container>\r\n\r\n\t\t\t<lu-option *ngFor=\"let establishment of group.items; trackBy: trackById\" [value]=\"establishment\" class=\"establishmentOption\">\r\n\t\t\t\t<ng-container *ngIf=\"isSearching; else emptySearch\">\r\n\t\t\t\t\t<span class=\"u-displayBlock\">{{ establishment.name }}</span>\r\n\t\t\t\t\t<span *ngIf=\"groupByLu\" class=\"u-displayBlock u-textLight u-textSmall\">{{ group.key.name }}</span>\r\n\t\t\t\t</ng-container>\r\n\t\t\t\t<ng-template #emptySearch>\r\n\t\t\t\t\t<span>{{ establishment.name }}</span>\r\n\t\t\t\t</ng-template>\r\n\t\t\t</lu-option>\r\n\t\t</div>\r\n\t</ng-template>\r\n</lu-option-picker-advanced>\r\n", styles: [":host{cursor:pointer;outline:none;padding:0}:host:after{content:\"\\e97c\";font-family:Lucca icons;display:inline-block;vertical-align:text-bottom;font-style:normal;color:var(--components-select-default-palette-700);bottom:.5rem;bottom:var(--components-select-input-padding-vertical);font-size:1.2rem;line-height:1.4rem;pointer-events:none;position:absolute;right:.5rem;right:var(--components-select-input-padding-horizontal)}:host[disabled]{cursor:not-allowed;pointer-events:all}:host.is-disabled{cursor:not-allowed;pointer-events:all}.lu-select-display-wrapper{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lu-select-value{line-height:1.5rem;line-height:var(--sizes-standard-line-height);min-height:calc(var(--spacings-small) + 1.5rem);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-standard-line-height));padding:.5rem 2.5rem .5rem .5rem;padding:var(--components-select-input-padding-vertical) 2.5rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all .25s ease;transition:all var(--commons-animations-durations-standard) ease;display:none}.lu-select-placeholder{color:var(--components-select-default-palette-400);line-height:1.5rem;line-height:var(--sizes-standard-line-height);min-height:calc(var(--spacings-small) + 1.5rem);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-standard-line-height));padding:.5rem 2.5rem .5rem .5rem;padding:var(--components-select-input-padding-vertical) 2.5rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all .25s ease;transition:all var(--commons-animations-durations-standard) ease;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lu-select-suffix{position:absolute;bottom:.5rem;right:1.6rem}::ng-deep .lu-select-value .label{padding:.25rem .25rem .5rem .5rem;padding:var(--spacings-smallest) var(--spacings-smaller);margin-left:0}::ng-deep .lu-select-value .chip{background:#FF6600;background:var(--components-select-chip-background);color:#fff;color:var(--components-select-chip-text);vertical-align:baseline;max-width:100%;height:1.5rem;height:var(--sizes-standard-line-height);line-height:1.5rem;line-height:var(--sizes-standard-line-height);padding:0 .5rem;padding:0 var(--spacings-smaller);margin:0 .25rem .25rem 0;text-overflow:ellipsis;overflow:hidden;vertical-align:top;white-space:nowrap}:host-context(.textfield.mod-small) .lu-select-value,:host-context(.textfield.mod-small) .lu-select-placeholder{font-size:.875rem;font-size:var(--sizes-small-font-size);line-height:1.25rem;line-height:var(--sizes-small-line-height);min-height:calc(var(--spacings-small) + 1.25rem);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-small-line-height))}:host-context(.textfield.mod-small):after{line-height:1.25rem;line-height:var(--sizes-small-line-height)}:host-context(.textfield.mod-small) ::ng-deep .lu-select-value .label{font-size:.875rem;font-size:var(--sizes-small-font-size);line-height:1.25rem;line-height:var(--sizes-small-line-height);font-weight:600;margin:0;padding:0;background:transparent}:host-context(.textfield.mod-small) ::ng-deep .lu-select-value .chip{height:1.25rem;height:var(--sizes-small-line-height);line-height:1.25rem;line-height:var(--sizes-small-line-height)}:host-context(.textfield.mod-framed).textfield-input,:host-context(.form.mod-framed).textfield-input{padding:var(--spacings-big) 0 0;padding:var(--components-select-framed-top-padding) 0 0}:host-context(.textfield.mod-framed).textfield-input:after,:host-context(.form.mod-framed).textfield-input:after{color:#96a6c5;color:var(--colors-text-light-color);bottom:var(--spacings-small);bottom:var(--components-select-framed-bottom-padding);right:.5rem;right:var(--spacings-smaller)}:host-context(.textfield.mod-framed).textfield-input .lu-select-value,:host-context(.textfield.mod-framed).textfield-input .lu-select-placeholder,:host-context(.form.mod-framed).textfield-input .lu-select-value,:host-context(.form.mod-framed).textfield-input .lu-select-placeholder{padding:0 calc(var(--spacings-small) * 3) var(--spacings-small) var(--spacings-small);padding:0 calc(var(--components-select-framed-side-padding) * 3) var(--components-select-framed-bottom-padding) var(--components-select-framed-side-padding)}:host-context(.textfield.mod-framed).textfield-input .lu-select-suffix,:host-context(.form.mod-framed).textfield-input .lu-select-suffix{bottom:var(--spacings-small);bottom:var(--components-select-framed-bottom-padding);right:1.7rem}:host-context(.textfield.mod-filter) .lu-select-value,:host-context(.textfield.mod-filter) .lu-select-placeholder{padding:0;height:auto;padding-top:1rem;color:#2a3551;color:var(--colors-text-default-color)}:host-context(.textfield.mod-filter) .lu-select-suffix{bottom:.4rem}:host-context(.textfield.mod-material):after{color:#96a6c5;color:var(--colors-text-light-color);bottom:.6rem;right:0}:host-context(.textfield.mod-material) .lu-select-value,:host-context(.textfield.mod-material) .lu-select-placeholder{padding-left:0;padding-right:.8rem}:host-context(.textfield.mod-material) .lu-select-suffix{right:1rem;right:calc(2 * var(--components-select-input-padding-horizontal))}:host-context(.textfield.mod-material).is-select .lu-select-placeholder{display:none}:host-context(.textfield.mod-material).mod-search:after{bottom:0}:host-context(.textfield.mod-material).mod-search .lu-select-suffix{right:1.375rem;right:calc(2.75 * var(--components-select-input-padding-horizontal))}:host-context(.textfield.mod-material .textfield-input.is-focused) .lu-select-placeholder{display:none}:host(.mod-multiple).mod-multipleView:not(.mod-singleLine) .lu-select-value{height:auto;align-items:center}:host(.mod-multiple).mod-multipleView:not(.mod-singleLine) .lu-select-display-wrapper{overflow:hidden;white-space:normal;margin-bottom:-.25rem}:host-context(.textfield-input.is-filled) .lu-select-placeholder{display:none}:host-context(.textfield-input.is-filled) .lu-select-value{display:flex}:host-context(.textfield-input.is-clearable) .lu-select-value{padding-right:2.5rem}:host-context(.textfield-input.is-error):after{color:#e51a3b;color:var(--palettes-error-color)}:host-context(.textfield-input.is-error) .lu-select-placeholder{color:#ffe0e6;color:var(--palettes-error-200)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]):after{color:#999;color:var(--commons-disabled-color)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]) .lu-select-placeholder{color:#bbb;color:var(--commons-disabled-placeholder)}:host-context(.palette-primary) .lu-select-placeholder{color:var(--palettes-primary-400)}:host-context(.palette-primary):after{color:var(--palettes-primary-700)}:host-context(.palette-secondary) .lu-select-placeholder{color:var(--palettes-secondary-400)}:host-context(.palette-secondary):after{color:var(--palettes-secondary-700)}:host-context(.palette-grey) .lu-select-placeholder{color:var(--palettes-grey-400)}:host-context(.palette-grey):after{color:var(--palettes-grey-700)}:host-context(.palette-success) .lu-select-placeholder{color:var(--palettes-success-400)}:host-context(.palette-success):after{color:var(--palettes-success-700)}:host-context(.palette-warning) .lu-select-placeholder{color:var(--palettes-warning-400)}:host-context(.palette-warning):after{color:var(--palettes-warning-700)}:host-context(.palette-error) .lu-select-placeholder{color:var(--palettes-error-400)}:host-context(.palette-error):after{color:var(--palettes-error-700)}.lu-select-value{padding-right:2.5rem}.lu-picker-header .option-selector{display:none}.lu-picker-header.mod-multiple .option-selector{display:inherit;padding:.5rem;padding:var(--spacings-smaller)}.optionGroupName{padding:.5rem;padding:var(--components-options-item-padding-vertical) var(--components-options-item-padding-horizontal);border-top:1px solid var(--palettes-grey-200);border-top:1px solid var(--commons-divider-color);font-size:.875rem;font-size:var(--sizes-small-font-size);width:100%;text-align:left}.optionGroupName.mod-readonly{color:#679;color:var(--palettes-grey-600);font-weight:400}.optionGroupName.button{text-decoration:underline;margin:0}.optionGroupName.button:active,.optionGroupName.button:focus,.optionGroupName.button:hover{box-shadow:none;background-color:transparent}.optionGroupName.button:active~lu-option,.optionGroupName.button:focus~lu-option,.optionGroupName.button:hover~lu-option{background-color:var(--palettes-primary-50);background-color:var(--commons-highlight)}\n"], components: [{ type: i2$1.LuInputClearerComponent, selector: "lu-input-clearer", outputs: ["onClear"], exportAs: ["luClearer"] }, { type: i3.LuOptionPickerAdvancedComponent, selector: "lu-option-picker-advanced", exportAs: ["LuOptionPickerAdvanced"] }, { type: LuEstablishmentSearcherComponent, selector: "lu-establishment-searcher", inputs: ["filters", "appInstanceId", "operations", "sort"], outputs: ["isSearching"] }, { type: LuEstablishmentSelectAllComponent, selector: "lu-establishment-select-all", inputs: ["filters", "appInstanceId", "operations"] }, { type: i3.LuOptionItemComponent, selector: "lu-option", inputs: ["selected", "highlighted", "value"], outputs: ["onSelect"] }], directives: [{ type: i2$1.LuInputDisplayerDirective, selector: "[luDisplayer]", inputs: ["luDisplayerMultiple", "multiple"] }, { type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: LuForLegalUnitsDirective, selector: "[luForLegalUnits]" }, { type: LuLegalUnitSelectorDirective, selector: "[luLegalUnitSelector]", inputs: ["luLegalUnitSelector", "luLegalUnitSelectorFilters", "luLegalUnitSelectorAppInstanceId", "luLegalUnitSelectorOperations"] }, { type: i3$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
565
+ ], usesInheritance: true, ngImport: i0, template: "<div class=\"lu-select-placeholder\">{{ placeholder }}</div>\r\n<div class=\"lu-select-value\">\r\n\t<div class=\"lu-select-display-wrapper\">\r\n\t\t<ng-container #display></ng-container>\r\n\t</div>\r\n</div>\r\n<div class=\"lu-select-suffix\">\r\n\t<lu-input-clearer></lu-input-clearer>\r\n</div>\r\n\r\n<ng-template luDisplayer [luDisplayerMultiple]=\"true\" let-values>\r\n\t<span *ngIf=\"multiple && values?.length > 1; else singleView\"\r\n\t\t><span class=\"chip mod-unkillable\">{{ values.length }}</span> {{ intl.establishments }}</span\r\n\t>\r\n\t<ng-template #singleView>{{ (values[0] || values).name }}</ng-template>\r\n</ng-template>\r\n\r\n<lu-option-picker-advanced [option-comparer]=\"byId\">\r\n\t<header class=\"lu-picker-header\">\r\n\t\t<lu-establishment-searcher\r\n\t\t\t[filters]=\"filters\"\r\n\t\t\t[appInstanceId]=\"appInstanceId\"\r\n\t\t\t[operations]=\"operations\"\r\n\t\t\t[sort]=\"sort\"\r\n\t\t\t(isSearching)=\"onIsSearchingChanged($event)\"\r\n\t\t></lu-establishment-searcher>\r\n\t\t<lu-establishment-select-all\r\n\t\t\t*ngIf=\"multiple\"\r\n\t\t\tclass=\"u-displayBlock u-marginSmaller\"\r\n\t\t\t[class.u-displayNone]=\"isSearching\"\r\n\t\t\t[filters]=\"filters\"\r\n\t\t\t[appInstanceId]=\"appInstanceId\"\r\n\t\t\t[operations]=\"operations\"\r\n\t\t></lu-establishment-select-all>\r\n\t</header>\r\n\r\n\t<ng-template luForLegalUnits let-group>\r\n\t\t<div class=\"optionGroup\">\r\n\t\t\t<ng-container *ngIf=\"groupByLu && !isSearching\">\r\n\t\t\t\t<button\r\n\t\t\t\t\ttype=\"button\"\r\n\t\t\t\t\t*ngIf=\"multiple; else singleViewGroup\"\r\n\t\t\t\t\tclass=\"optionGroupName button mod-text mod-block\"\r\n\t\t\t\t\t[luLegalUnitSelector]=\"group.key\"\r\n\t\t\t\t\t[luLegalUnitSelectorFilters]=\"filters\"\r\n\t\t\t\t\t[luLegalUnitSelectorAppInstanceId]=\"appInstanceId\"\r\n\t\t\t\t\t[luLegalUnitSelectorOperations]=\"operations\"\r\n\t\t\t\t>\r\n\t\t\t\t\t{{ group.key.name }}\r\n\t\t\t\t</button>\r\n\t\t\t\t<ng-template #singleViewGroup>\r\n\t\t\t\t\t<h5 class=\"optionGroupName mod-readonly u-marginReset\">{{ group.key.name }}</h5>\r\n\t\t\t\t</ng-template>\r\n\t\t\t</ng-container>\r\n\r\n\t\t\t<lu-option *ngFor=\"let establishment of group.items; trackBy: trackById\" [value]=\"establishment\" class=\"establishmentOption\">\r\n\t\t\t\t<ng-container *ngIf=\"isSearching; else emptySearch\">\r\n\t\t\t\t\t<span class=\"u-displayBlock\">{{ establishment.name }}</span>\r\n\t\t\t\t\t<span *ngIf=\"groupByLu\" class=\"u-displayBlock u-textLight u-textSmall\">{{ group.key.name }}</span>\r\n\t\t\t\t</ng-container>\r\n\t\t\t\t<ng-template #emptySearch>\r\n\t\t\t\t\t<span>{{ establishment.name }}</span>\r\n\t\t\t\t</ng-template>\r\n\t\t\t</lu-option>\r\n\t\t</div>\r\n\t</ng-template>\r\n</lu-option-picker-advanced>\r\n", styles: [":host{cursor:pointer;outline:none;padding:0}:host:after{content:\"\\e97c\";font-family:Lucca icons;display:inline-block;vertical-align:text-bottom;font-style:normal;color:var(--components-select-default-palette-700);bottom:.5rem;bottom:var(--components-select-input-padding-vertical);font-size:1.2rem;line-height:1.4rem;pointer-events:none;position:absolute;right:.5rem;right:var(--components-select-input-padding-horizontal)}:host[disabled]{cursor:not-allowed;pointer-events:all}:host.is-disabled{cursor:not-allowed;pointer-events:all}.lu-select-display-wrapper{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lu-select-value{line-height:1.5rem;line-height:var(--sizes-standard-line-height);min-height:calc(var(--spacings-small) + 1.5rem);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-standard-line-height));padding:.5rem 2.5rem .5rem .5rem;padding:var(--components-select-input-padding-vertical) 2.5rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all .25s ease;transition:all var(--commons-animations-durations-standard) ease;display:none}.lu-select-placeholder{color:var(--components-select-default-palette-400);line-height:1.5rem;line-height:var(--sizes-standard-line-height);min-height:calc(var(--spacings-small) + 1.5rem);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-standard-line-height));padding:.5rem 2.5rem .5rem .5rem;padding:var(--components-select-input-padding-vertical) 2.5rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all .25s ease;transition:all var(--commons-animations-durations-standard) ease;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lu-select-suffix{position:absolute;bottom:.5rem;right:1.6rem}::ng-deep .lu-select-value .label{padding:.25rem .25rem .5rem .5rem;padding:var(--spacings-smallest) var(--spacings-smaller);margin-left:0}::ng-deep .lu-select-value .chip{background:#FF6600;background:var(--components-select-chip-background);color:#fff;color:var(--components-select-chip-text);vertical-align:baseline;max-width:100%;height:1.5rem;height:var(--sizes-standard-line-height);line-height:1.5rem;line-height:var(--sizes-standard-line-height);padding:0 .5rem;padding:0 var(--spacings-smaller);margin:0 .25rem .25rem 0;text-overflow:ellipsis;overflow:hidden;vertical-align:top;white-space:nowrap}:host-context(.textfield.mod-small) .lu-select-value,:host-context(.textfield.mod-small) .lu-select-placeholder{font-size:.875rem;font-size:var(--sizes-small-font-size);line-height:1.25rem;line-height:var(--sizes-small-line-height);min-height:calc(var(--spacings-small) + 1.25rem);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-small-line-height))}:host-context(.textfield.mod-small):after{line-height:1.25rem;line-height:var(--sizes-small-line-height)}:host-context(.textfield.mod-small) ::ng-deep .lu-select-value .label{font-size:.875rem;font-size:var(--sizes-small-font-size);line-height:1.25rem;line-height:var(--sizes-small-line-height);font-weight:600;margin:0;padding:0;background:transparent}:host-context(.textfield.mod-small) ::ng-deep .lu-select-value .chip{height:1.25rem;height:var(--sizes-small-line-height);line-height:1.25rem;line-height:var(--sizes-small-line-height)}:host-context(.textfield.mod-framed).textfield-input,:host-context(.form.mod-framed).textfield-input{padding:var(--spacings-big) 0 0;padding:var(--components-select-framed-top-padding) 0 0}:host-context(.textfield.mod-framed).textfield-input:after,:host-context(.form.mod-framed).textfield-input:after{color:#96a6c5;color:var(--colors-text-light-color);bottom:var(--spacings-small);bottom:var(--components-select-framed-bottom-padding);right:.5rem;right:var(--spacings-smaller)}:host-context(.textfield.mod-framed).textfield-input .lu-select-value,:host-context(.textfield.mod-framed).textfield-input .lu-select-placeholder,:host-context(.form.mod-framed).textfield-input .lu-select-value,:host-context(.form.mod-framed).textfield-input .lu-select-placeholder{padding:0 calc(var(--spacings-small) * 3) var(--spacings-small) var(--spacings-small);padding:0 calc(var(--components-select-framed-side-padding) * 3) var(--components-select-framed-bottom-padding) var(--components-select-framed-side-padding)}:host-context(.textfield.mod-framed).textfield-input .lu-select-suffix,:host-context(.form.mod-framed).textfield-input .lu-select-suffix{bottom:var(--spacings-small);bottom:var(--components-select-framed-bottom-padding);right:1.7rem}:host-context(.textfield.mod-filter) .lu-select-value,:host-context(.textfield.mod-filter) .lu-select-placeholder{padding:0;height:auto;padding-top:1rem;color:#2a3551;color:var(--colors-text-default-color)}:host-context(.textfield.mod-filter) .lu-select-suffix{bottom:.4rem}:host-context(.textfield.mod-material):after{color:#96a6c5;color:var(--colors-text-light-color);bottom:.6rem;right:0}:host-context(.textfield.mod-material) .lu-select-value,:host-context(.textfield.mod-material) .lu-select-placeholder{padding-left:0;padding-right:.8rem}:host-context(.textfield.mod-material) .lu-select-suffix{right:1rem;right:calc(2 * var(--components-select-input-padding-horizontal))}:host-context(.textfield.mod-material).is-select .lu-select-placeholder{display:none}:host-context(.textfield.mod-material).mod-search:after{bottom:0}:host-context(.textfield.mod-material).mod-search .lu-select-suffix{right:1.375rem;right:calc(2.75 * var(--components-select-input-padding-horizontal))}:host-context(.textfield.mod-material .textfield-input.is-focused) .lu-select-placeholder{display:none}:host(.mod-multiple).mod-multipleView:not(.mod-singleLine) .lu-select-value{height:auto;align-items:center}:host(.mod-multiple).mod-multipleView:not(.mod-singleLine) .lu-select-display-wrapper{overflow:hidden;white-space:normal;margin-bottom:-.25rem}:host-context(.textfield-input.is-filled) .lu-select-placeholder{display:none}:host-context(.textfield-input.is-filled) .lu-select-value{display:flex}:host-context(.textfield-input.is-clearable) .lu-select-value{padding-right:2.5rem}:host-context(.textfield-input.is-error):after{color:#e51a3b;color:var(--palettes-error-color)}:host-context(.textfield-input.is-error) .lu-select-placeholder{color:#ffe0e6;color:var(--palettes-error-200)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]):after{color:#999;color:var(--commons-disabled-color)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]) .lu-select-placeholder{color:#bbb;color:var(--commons-disabled-placeholder)}:host-context(.palette-primary) .lu-select-placeholder{color:var(--palettes-primary-400)}:host-context(.palette-primary):after{color:var(--palettes-primary-700)}:host-context(.palette-secondary) .lu-select-placeholder{color:var(--palettes-secondary-400)}:host-context(.palette-secondary):after{color:var(--palettes-secondary-700)}:host-context(.palette-grey) .lu-select-placeholder{color:var(--palettes-grey-400)}:host-context(.palette-grey):after{color:var(--palettes-grey-700)}:host-context(.palette-success) .lu-select-placeholder{color:var(--palettes-success-400)}:host-context(.palette-success):after{color:var(--palettes-success-700)}:host-context(.palette-warning) .lu-select-placeholder{color:var(--palettes-warning-400)}:host-context(.palette-warning):after{color:var(--palettes-warning-700)}:host-context(.palette-error) .lu-select-placeholder{color:var(--palettes-error-400)}:host-context(.palette-error):after{color:var(--palettes-error-700)}.lu-select-value{padding-right:2.5rem}.lu-picker-header .option-selector{display:none}.lu-picker-header.mod-multiple .option-selector{display:inherit;padding:.5rem;padding:var(--spacings-smaller)}.optionGroupName{padding:.5rem;padding:var(--components-options-item-padding-vertical) var(--components-options-item-padding-horizontal);border-top:1px solid var(--palettes-grey-200);border-top:1px solid var(--commons-divider-color);font-size:.875rem;font-size:var(--sizes-small-font-size);width:100%;text-align:left}.optionGroupName.mod-readonly{color:#679;color:var(--palettes-grey-600);font-weight:400}.optionGroupName.button{text-decoration:underline;margin:0}.optionGroupName.button:active,.optionGroupName.button:focus,.optionGroupName.button:hover{box-shadow:none;background-color:transparent}.optionGroupName.button:active~lu-option,.optionGroupName.button:focus~lu-option,.optionGroupName.button:hover~lu-option{background-color:var(--palettes-primary-50);background-color:var(--commons-highlight)}\n"], components: [{ type: i2$1.LuInputClearerComponent, selector: "lu-input-clearer", outputs: ["onClear"], exportAs: ["luClearer"] }, { type: i3.LuOptionPickerAdvancedComponent, selector: "lu-option-picker-advanced", exportAs: ["LuOptionPickerAdvanced"] }, { type: LuEstablishmentSearcherComponent, selector: "lu-establishment-searcher", inputs: ["filters", "appInstanceId", "operations", "sort"], outputs: ["isSearching"] }, { type: LuEstablishmentSelectAllComponent, selector: "lu-establishment-select-all", inputs: ["filters", "appInstanceId", "operations"] }, { type: i3.LuOptionItemComponent, selector: "lu-option", inputs: ["selected", "highlighted", "value", "disabled"], outputs: ["onSelect"] }], directives: [{ type: i2$1.LuInputDisplayerDirective, selector: "[luDisplayer]", inputs: ["luDisplayerMultiple", "multiple"] }, { type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: LuForLegalUnitsDirective, selector: "[luForLegalUnits]" }, { type: LuLegalUnitSelectorDirective, selector: "[luLegalUnitSelector]", inputs: ["luLegalUnitSelector", "luLegalUnitSelectorFilters", "luLegalUnitSelectorAppInstanceId", "luLegalUnitSelectorOperations"] }, { type: i3$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
566
566
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: LuEstablishmentSelectInputComponent, decorators: [{
567
567
  type: Component,
568
568
  args: [{ selector: 'lu-establishment-select', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
@@ -171,7 +171,7 @@ class LuFormlyFieldSelect extends FieldType {
171
171
  }
172
172
  }
173
173
  LuFormlyFieldSelect.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: LuFormlyFieldSelect, deps: null, target: i0.ɵɵFactoryTarget.Component });
174
- LuFormlyFieldSelect.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: LuFormlyFieldSelect, selector: "lu-formly-field-select", usesInheritance: true, ngImport: i0, template: "<lu-select\r\n\tclass=\"textfield-input\"\r\n\t[formControl]=\"formControl\"\r\n\t[formlyAttributes]=\"field\"\r\n\t(focus)=\"focus()\"\r\n\t(blur)=\"blur()\"\r\n\t[multiple]=\"to['multiple']\"\r\n\t[placeholder]=\"to.placeholder\"\r\n>\r\n\t<ng-container *luDisplayer=\"let option\">\r\n\t\t<span [class.chip]=\"to['multiple']\" [class.mod-unkillable]=\"to['multiple']\">{{ option.name }}</span>\r\n\t</ng-container>\r\n\t<lu-option-picker>\r\n\t\t<lu-option *ngFor=\"let option of _options\" [value]=\"option\"> {{ option.name }} </lu-option>\r\n\t</lu-option-picker>\r\n\t<lu-input-clearer *ngIf=\"!to.required && !to['multiple']\"></lu-input-clearer>\r\n</lu-select>\r\n<span class=\"textfield-label\">{{ to.label }}</span>\r\n", styles: [":host{width:100%;display:inherit;align-items:inherit;flex-direction:inherit}\n", ":host-context(.mod-framed) lu-select{display:block}:host-context(.mod-framed) lu-api-select{display:block}:host-context(.mod-framed) lu-user-select{display:block}:host-context(.mod-framed) lu-date-select{display:block}:host-context(.mod-framed) lu-department-select{display:block}\n"], components: [{ type: i1$5.LuSelectInputComponent, selector: "lu-select" }, { type: i2$1.LuOptionPickerComponent, selector: "lu-option-picker", exportAs: ["LuOptionPicker"] }, { type: i2$1.LuOptionItemComponent, selector: "lu-option", inputs: ["selected", "highlighted", "value"], outputs: ["onSelect"] }, { type: i3$1.LuInputClearerComponent, selector: "lu-input-clearer", outputs: ["onClear"], exportAs: ["luClearer"] }], directives: [{ type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i3.FormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { type: i3$1.LuInputDisplayerDirective, selector: "[luDisplayer]", inputs: ["luDisplayerMultiple", "multiple"] }, { type: i1$2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
174
+ LuFormlyFieldSelect.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: LuFormlyFieldSelect, selector: "lu-formly-field-select", usesInheritance: true, ngImport: i0, template: "<lu-select\r\n\tclass=\"textfield-input\"\r\n\t[formControl]=\"formControl\"\r\n\t[formlyAttributes]=\"field\"\r\n\t(focus)=\"focus()\"\r\n\t(blur)=\"blur()\"\r\n\t[multiple]=\"to['multiple']\"\r\n\t[placeholder]=\"to.placeholder\"\r\n>\r\n\t<ng-container *luDisplayer=\"let option\">\r\n\t\t<span [class.chip]=\"to['multiple']\" [class.mod-unkillable]=\"to['multiple']\">{{ option.name }}</span>\r\n\t</ng-container>\r\n\t<lu-option-picker>\r\n\t\t<lu-option *ngFor=\"let option of _options\" [value]=\"option\"> {{ option.name }} </lu-option>\r\n\t</lu-option-picker>\r\n\t<lu-input-clearer *ngIf=\"!to.required && !to['multiple']\"></lu-input-clearer>\r\n</lu-select>\r\n<span class=\"textfield-label\">{{ to.label }}</span>\r\n", styles: [":host{width:100%;display:inherit;align-items:inherit;flex-direction:inherit}\n", ":host-context(.mod-framed) lu-select{display:block}:host-context(.mod-framed) lu-api-select{display:block}:host-context(.mod-framed) lu-user-select{display:block}:host-context(.mod-framed) lu-date-select{display:block}:host-context(.mod-framed) lu-department-select{display:block}\n"], components: [{ type: i1$5.LuSelectInputComponent, selector: "lu-select" }, { type: i2$1.LuOptionPickerComponent, selector: "lu-option-picker", exportAs: ["LuOptionPicker"] }, { type: i2$1.LuOptionItemComponent, selector: "lu-option", inputs: ["selected", "highlighted", "value", "disabled"], outputs: ["onSelect"] }, { type: i3$1.LuInputClearerComponent, selector: "lu-input-clearer", outputs: ["onClear"], exportAs: ["luClearer"] }], directives: [{ type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i3.FormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { type: i3$1.LuInputDisplayerDirective, selector: "[luDisplayer]", inputs: ["luDisplayerMultiple", "multiple"] }, { type: i1$2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
175
175
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: LuFormlyFieldSelect, decorators: [{
176
176
  type: Component,
177
177
  args: [{ selector: 'lu-formly-field-select', template: "<lu-select\r\n\tclass=\"textfield-input\"\r\n\t[formControl]=\"formControl\"\r\n\t[formlyAttributes]=\"field\"\r\n\t(focus)=\"focus()\"\r\n\t(blur)=\"blur()\"\r\n\t[multiple]=\"to['multiple']\"\r\n\t[placeholder]=\"to.placeholder\"\r\n>\r\n\t<ng-container *luDisplayer=\"let option\">\r\n\t\t<span [class.chip]=\"to['multiple']\" [class.mod-unkillable]=\"to['multiple']\">{{ option.name }}</span>\r\n\t</ng-container>\r\n\t<lu-option-picker>\r\n\t\t<lu-option *ngFor=\"let option of _options\" [value]=\"option\"> {{ option.name }} </lu-option>\r\n\t</lu-option-picker>\r\n\t<lu-input-clearer *ngIf=\"!to.required && !to['multiple']\"></lu-input-clearer>\r\n</lu-select>\r\n<span class=\"textfield-label\">{{ to.label }}</span>\r\n", styles: [":host{width:100%;display:inherit;align-items:inherit;flex-direction:inherit}\n", ":host-context(.mod-framed) lu-select{display:block}:host-context(.mod-framed) lu-api-select{display:block}:host-context(.mod-framed) lu-user-select{display:block}:host-context(.mod-framed) lu-date-select{display:block}:host-context(.mod-framed) lu-department-select{display:block}\n"] }]