@lucca-front/ng 15.1.3 → 15.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (153) hide show
  1. package/esm2020/api/lib/select/input/api-select-input.component.mjs +3 -3
  2. package/esm2020/date/lib/select/date-select-input.component.mjs +3 -3
  3. package/esm2020/department/lib/select/input/department-select-input.component.mjs +3 -3
  4. package/esm2020/establishment/lib/select/input/establishment-select-input.component.mjs +3 -3
  5. package/esm2020/input/lib/clearer/clearer.component.mjs +3 -3
  6. package/esm2020/modal/lib/modal-config.default.mjs +8 -2
  7. package/esm2020/modal/lib/modal-config.model.mjs +5 -2
  8. package/esm2020/modal/lib/modal-panel.component.mjs +26 -26
  9. package/esm2020/modal/lib/modal-ref.factory.mjs +11 -11
  10. package/esm2020/modal/lib/modal-ref.model.mjs +8 -1
  11. package/esm2020/modal/lib/modal.module.mjs +13 -13
  12. package/esm2020/modal/lib/modal.service.mjs +1 -1
  13. package/esm2020/modal/lib/modal.token.mjs +4 -4
  14. package/esm2020/option/lib/item/tree-option-item.component.mjs +3 -3
  15. package/esm2020/popup/lib/popup-config.default.mjs +2 -2
  16. package/esm2020/popup/lib/popup-ref.model.mjs +33 -18
  17. package/esm2020/popup/lib/popup.service.mjs +1 -1
  18. package/esm2020/qualification/lib/select/input/qualification-select-input.component.mjs +3 -3
  19. package/esm2020/select/lib/input/select-input.component.mjs +2 -2
  20. package/esm2020/sidepanel/lib/index.mjs +1 -8
  21. package/esm2020/sidepanel/lib/sidepanel.model.mjs +27 -2
  22. package/esm2020/sidepanel/lib/sidepanel.module.mjs +9 -15
  23. package/esm2020/sidepanel/lib/sidepanel.service.mjs +11 -3
  24. package/esm2020/simple-select/api/lib/api-v3.directive.mjs +57 -0
  25. package/esm2020/simple-select/api/lib/api-v4.directive.mjs +50 -0
  26. package/esm2020/simple-select/api/lib/api.directive.mjs +40 -0
  27. package/esm2020/simple-select/api/lucca-front-ng-simple-select-api.mjs +5 -0
  28. package/esm2020/simple-select/api/public-api.mjs +4 -0
  29. package/esm2020/simple-select/lib/index.mjs +2 -1
  30. package/esm2020/simple-select/lib/input/panel-ref.factory.mjs +90 -0
  31. package/esm2020/simple-select/lib/input/select-input.component.mjs +54 -174
  32. package/esm2020/simple-select/lib/input/select-input.models.mjs +60 -0
  33. package/esm2020/simple-select/lib/option/default-option.component.mjs +21 -0
  34. package/esm2020/simple-select/lib/option/disabled.directive.mjs +26 -0
  35. package/esm2020/simple-select/lib/option/index.mjs +4 -2
  36. package/esm2020/simple-select/lib/option/option-outlet.directive.mjs +70 -0
  37. package/esm2020/simple-select/lib/option/option.component.mjs +36 -17
  38. package/esm2020/simple-select/lib/option/option.token.mjs +22 -0
  39. package/esm2020/simple-select/lib/panel/index.mjs +2 -1
  40. package/esm2020/simple-select/lib/panel/panel.component.mjs +27 -53
  41. package/esm2020/simple-select/lib/panel/panel.models.mjs +23 -0
  42. package/esm2020/simple-select/lib/select.model.mjs +1 -1
  43. package/esm2020/simple-select/lib/select.translate.mjs +37 -0
  44. package/esm2020/user/lib/select/input/user-select-input.component.mjs +3 -3
  45. package/fesm2015/lucca-front-ng-api.mjs +2 -2
  46. package/fesm2015/lucca-front-ng-api.mjs.map +1 -1
  47. package/fesm2015/lucca-front-ng-date.mjs +2 -2
  48. package/fesm2015/lucca-front-ng-date.mjs.map +1 -1
  49. package/fesm2015/lucca-front-ng-department.mjs +2 -2
  50. package/fesm2015/lucca-front-ng-department.mjs.map +1 -1
  51. package/fesm2015/lucca-front-ng-establishment.mjs +2 -2
  52. package/fesm2015/lucca-front-ng-establishment.mjs.map +1 -1
  53. package/fesm2015/lucca-front-ng-input.mjs +2 -2
  54. package/fesm2015/lucca-front-ng-input.mjs.map +1 -1
  55. package/fesm2015/lucca-front-ng-modal.mjs +64 -48
  56. package/fesm2015/lucca-front-ng-modal.mjs.map +1 -1
  57. package/fesm2015/lucca-front-ng-option.mjs +2 -2
  58. package/fesm2015/lucca-front-ng-option.mjs.map +1 -1
  59. package/fesm2015/lucca-front-ng-popup.mjs +33 -18
  60. package/fesm2015/lucca-front-ng-popup.mjs.map +1 -1
  61. package/fesm2015/lucca-front-ng-qualification.mjs +2 -2
  62. package/fesm2015/lucca-front-ng-qualification.mjs.map +1 -1
  63. package/fesm2015/lucca-front-ng-select.mjs +2 -2
  64. package/fesm2015/lucca-front-ng-select.mjs.map +1 -1
  65. package/fesm2015/lucca-front-ng-sidepanel.mjs +40 -141
  66. package/fesm2015/lucca-front-ng-sidepanel.mjs.map +1 -1
  67. package/fesm2015/lucca-front-ng-simple-select-api.mjs +137 -0
  68. package/fesm2015/lucca-front-ng-simple-select-api.mjs.map +1 -0
  69. package/fesm2015/lucca-front-ng-simple-select.mjs +378 -192
  70. package/fesm2015/lucca-front-ng-simple-select.mjs.map +1 -1
  71. package/fesm2015/lucca-front-ng-user.mjs +2 -2
  72. package/fesm2015/lucca-front-ng-user.mjs.map +1 -1
  73. package/fesm2020/lucca-front-ng-api.mjs +2 -2
  74. package/fesm2020/lucca-front-ng-api.mjs.map +1 -1
  75. package/fesm2020/lucca-front-ng-date.mjs +2 -2
  76. package/fesm2020/lucca-front-ng-date.mjs.map +1 -1
  77. package/fesm2020/lucca-front-ng-department.mjs +2 -2
  78. package/fesm2020/lucca-front-ng-department.mjs.map +1 -1
  79. package/fesm2020/lucca-front-ng-establishment.mjs +2 -2
  80. package/fesm2020/lucca-front-ng-establishment.mjs.map +1 -1
  81. package/fesm2020/lucca-front-ng-input.mjs +2 -2
  82. package/fesm2020/lucca-front-ng-input.mjs.map +1 -1
  83. package/fesm2020/lucca-front-ng-modal.mjs +68 -48
  84. package/fesm2020/lucca-front-ng-modal.mjs.map +1 -1
  85. package/fesm2020/lucca-front-ng-option.mjs +2 -2
  86. package/fesm2020/lucca-front-ng-option.mjs.map +1 -1
  87. package/fesm2020/lucca-front-ng-popup.mjs +33 -18
  88. package/fesm2020/lucca-front-ng-popup.mjs.map +1 -1
  89. package/fesm2020/lucca-front-ng-qualification.mjs +2 -2
  90. package/fesm2020/lucca-front-ng-qualification.mjs.map +1 -1
  91. package/fesm2020/lucca-front-ng-select.mjs +2 -2
  92. package/fesm2020/lucca-front-ng-select.mjs.map +1 -1
  93. package/fesm2020/lucca-front-ng-sidepanel.mjs +40 -141
  94. package/fesm2020/lucca-front-ng-sidepanel.mjs.map +1 -1
  95. package/fesm2020/lucca-front-ng-simple-select-api.mjs +145 -0
  96. package/fesm2020/lucca-front-ng-simple-select-api.mjs.map +1 -0
  97. package/fesm2020/lucca-front-ng-simple-select.mjs +373 -182
  98. package/fesm2020/lucca-front-ng-simple-select.mjs.map +1 -1
  99. package/fesm2020/lucca-front-ng-user.mjs +2 -2
  100. package/fesm2020/lucca-front-ng-user.mjs.map +1 -1
  101. package/modal/lib/modal-config.default.d.ts +3 -2
  102. package/modal/lib/modal-config.model.d.ts +23 -3
  103. package/modal/lib/modal-panel.component.d.ts +8 -7
  104. package/modal/lib/modal-ref.factory.d.ts +9 -8
  105. package/modal/lib/modal-ref.model.d.ts +8 -2
  106. package/modal/lib/modal.module.d.ts +8 -6
  107. package/modal/lib/modal.service.d.ts +3 -3
  108. package/modal/lib/modal.token.d.ts +2 -2
  109. package/package.json +11 -3
  110. package/popup/lib/popup-ref.model.d.ts +9 -4
  111. package/popup/lib/popup.service.d.ts +2 -2
  112. package/sidepanel/lib/index.d.ts +0 -7
  113. package/sidepanel/lib/sidepanel.model.d.ts +42 -1
  114. package/sidepanel/lib/sidepanel.module.d.ts +5 -6
  115. package/sidepanel/lib/sidepanel.service.d.ts +12 -4
  116. package/simple-select/api/index.d.ts +5 -0
  117. package/simple-select/api/lib/api-v3.directive.d.ts +25 -0
  118. package/simple-select/api/lib/api-v4.directive.d.ts +22 -0
  119. package/simple-select/api/lib/api.directive.d.ts +32 -0
  120. package/simple-select/api/public-api.d.ts +3 -0
  121. package/simple-select/lib/index.d.ts +1 -0
  122. package/simple-select/lib/input/panel-ref.factory.d.ts +16 -0
  123. package/simple-select/lib/input/select-input.component.d.ts +22 -33
  124. package/simple-select/lib/input/select-input.models.d.ts +3 -0
  125. package/simple-select/lib/option/default-option.component.d.ts +9 -0
  126. package/simple-select/lib/option/disabled.directive.d.ts +7 -0
  127. package/simple-select/lib/option/index.d.ts +3 -1
  128. package/simple-select/lib/option/option-outlet.directive.d.ts +19 -0
  129. package/simple-select/lib/option/option.component.d.ts +16 -6
  130. package/simple-select/lib/option/option.token.d.ts +9 -0
  131. package/simple-select/lib/panel/index.d.ts +1 -0
  132. package/simple-select/lib/panel/panel.component.d.ts +11 -21
  133. package/simple-select/lib/panel/panel.models.d.ts +13 -0
  134. package/simple-select/lib/select.model.d.ts +3 -3
  135. package/simple-select/lib/select.translate.d.ts +10 -0
  136. package/src/components/_dropdown.scss +6 -4
  137. package/src/components/_sidepanel.scss +16 -6
  138. package/src/definitions/select/_select-clearer.scss +24 -9
  139. package/src/definitions/select/_select-input.scss +5 -16
  140. package/esm2020/sidepanel/lib/sidepanel-config.default.mjs +0 -11
  141. package/esm2020/sidepanel/lib/sidepanel-config.model.mjs +0 -2
  142. package/esm2020/sidepanel/lib/sidepanel-panel.component.mjs +0 -44
  143. package/esm2020/sidepanel/lib/sidepanel-ref.factory.mjs +0 -59
  144. package/esm2020/sidepanel/lib/sidepanel-ref.model.mjs +0 -4
  145. package/esm2020/sidepanel/lib/sidepanel.token.mjs +0 -6
  146. package/esm2020/sidepanel/lib/sidepanel.translate.mjs +0 -22
  147. package/sidepanel/lib/sidepanel-config.default.d.ts +0 -2
  148. package/sidepanel/lib/sidepanel-config.model.d.ts +0 -4
  149. package/sidepanel/lib/sidepanel-panel.component.d.ts +0 -19
  150. package/sidepanel/lib/sidepanel-ref.factory.d.ts +0 -29
  151. package/sidepanel/lib/sidepanel-ref.model.d.ts +0 -5
  152. package/sidepanel/lib/sidepanel.token.d.ts +0 -7
  153. package/sidepanel/lib/sidepanel.translate.d.ts +0 -9
@@ -1 +1 @@
1
- {"version":3,"file":"lucca-front-ng-simple-select.mjs","sources":["../../../packages/ng/simple-select/src/lib/option/displayer.directive.ts","../../../packages/ng/simple-select/src/lib/select.model.ts","../../../packages/ng/simple-select/src/lib/option/option.component.ts","../../../packages/ng/simple-select/src/lib/option/option.component.html","../../../packages/ng/simple-select/src/lib/option/option.directive.ts","../../../packages/ng/simple-select/src/lib/panel/panel.component.ts","../../../packages/ng/simple-select/src/lib/panel/panel.component.html","../../../packages/ng/simple-select/src/lib/input/select-input.component.ts","../../../packages/ng/simple-select/src/lib/input/select-input.component.html","../../../packages/ng/simple-select/src/public-api.ts","../../../packages/ng/simple-select/src/lucca-front-ng-simple-select.ts"],"sourcesContent":["import { Directive, Input, TemplateRef } from '@angular/core';\r\nimport { LuSimpleSelectInputComponent } from '../input';\r\nimport { LuOptionContext } from '../select.model';\r\n\r\n@Directive({\r\n\tselector: '[luDisplayer]',\r\n\tstandalone: true,\r\n})\r\nexport class LuDisplayerDirective<T> {\r\n\t@Input('luDisplayerSelect') set select(select: LuSimpleSelectInputComponent<T>) {\r\n\t\tselect.valueTpl = this.templateRef;\r\n\t}\r\n\r\n\tpublic constructor(private templateRef: TemplateRef<LuOptionContext<T>>) {}\r\n\r\n\tpublic static ngTemplateContextGuard<T>(_dir: LuDisplayerDirective<T>, ctx: unknown): ctx is LuOptionContext<T> {\r\n\t\treturn true;\r\n\t}\r\n}\r\n","import { InjectionToken, TemplateRef } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\nexport interface ILuSelectPanelData<T> {\r\n\toptions$: Observable<T[]>;\r\n\tloading$: Observable<boolean>;\r\n\toptionComparer: (option1: T, option2: T) => boolean;\r\n\tinitialValue: T | undefined;\r\n\toptionTpl: TemplateRef<LuOptionContext<T>>;\r\n\tsearchable: boolean;\r\n}\r\n\r\nexport interface LuOptionContext<T> {\r\n\t$implicit: T;\r\n}\r\n\r\nexport const SELECT_ID = new InjectionToken<number>('LuSelectPanelData');\r\nexport const SELECT_PANEL_DATA = new InjectionToken<number>('LuSelectId');\r\nexport const SELECT_LABEL = new InjectionToken<HTMLLabelElement | undefined>('LuSelectLabel');\r\nexport const SELECT_LABEL_ID = new InjectionToken<string>('LuSelectLabelId');\r\n","import { Highlightable } from '@angular/cdk/a11y';\r\nimport { CommonModule } from '@angular/common';\r\nimport { ChangeDetectionStrategy, Component, ElementRef, HostBinding, Inject, Input } from '@angular/core';\r\nimport { BehaviorSubject } from 'rxjs';\r\nimport { SELECT_ID } from '../select.model';\r\n\r\n@Component({\r\n\tselector: 'lu-select-option',\r\n\ttemplateUrl: './option.component.html',\r\n\tstyleUrls: ['./option.component.scss'],\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n\tstandalone: true,\r\n\timports: [CommonModule],\r\n})\r\nexport class LuOptionComponent<T> implements Highlightable {\r\n\t@HostBinding('class.optionItem')\r\n\tpublic hasOptionItemClass = true;\r\n\r\n\t@Input()\r\n\t@HostBinding('attr.aria-selected')\r\n\tisSelected = false;\r\n\r\n\t@Input()\r\n\toption?: T;\r\n\r\n\t@Input()\r\n\tpublic optionIndex = 0;\r\n\r\n\tisHighlighted$ = new BehaviorSubject(false);\r\n\r\n\t@Input()\r\n\tdisabled = false;\r\n\r\n\t@HostBinding('attr.role')\r\n\tpublic role = 'option';\r\n\r\n\t@HostBinding('attr.id')\r\n\tpublic get id(): string {\r\n\t\treturn `lu-select-${this.selectId}-option-${this.optionIndex}`;\r\n\t}\r\n\r\n\tconstructor(protected elementRef: ElementRef<HTMLElement>, @Inject(SELECT_ID) protected selectId: number) {}\r\n\r\n\tsetActiveStyles(): void {\r\n\t\tthis.isHighlighted$.next(true);\r\n\t\tthis.elementRef.nativeElement.scrollIntoView({ block: 'center' });\r\n\t}\r\n\r\n\tsetInactiveStyles(): void {\r\n\t\tthis.isHighlighted$.next(false);\r\n\t}\r\n}\r\n","<div\r\n\tclass=\"optionItem-value\"\r\n\t[class.is-selected]=\"isSelected\"\r\n\t[class.is-highlighted]=\"isHighlighted$ | async\"\r\n\t[class.is-disabled]=\"disabled\"\r\n>\r\n\t<ng-content></ng-content>\r\n</div>\r\n","import { Directive, Input, TemplateRef } from '@angular/core';\r\nimport { LuSimpleSelectInputComponent } from '../input';\r\nimport { LuOptionContext } from '../select.model';\r\n\r\n@Directive({\r\n\tselector: '[luOption]',\r\n\tstandalone: true,\r\n})\r\nexport class LuOptionDirective<T> {\r\n\t@Input('luOptionSelect') set select(select: LuSimpleSelectInputComponent<T>) {\r\n\t\tselect.optionTpl = this.templateRef;\r\n\t}\r\n\r\n\tpublic constructor(private templateRef: TemplateRef<LuOptionContext<T>>) {}\r\n\r\n\tpublic static ngTemplateContextGuard<T>(_dir: LuOptionDirective<T>, ctx: unknown): ctx is LuOptionContext<T> {\r\n\t\treturn true;\r\n\t}\r\n}\r\n","import { A11yModule, ActiveDescendantKeyManager } from '@angular/cdk/a11y';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AfterViewInit, ChangeDetectionStrategy, Component, ElementRef, EventEmitter, HostListener, Inject, QueryList, TemplateRef, ViewChild, ViewChildren } from '@angular/core';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { asyncScheduler, Observable } from 'rxjs';\r\nimport { map, observeOn, take, takeUntil } from 'rxjs/operators';\r\nimport { LuOptionComponent } from '../option/index';\r\nimport { ILuSelectPanelData, LuOptionContext, SELECT_ID, SELECT_PANEL_DATA } from '../select.model';\r\n\r\nexport abstract class LuSelectPanelRef<T> {\r\n\tclosed = new EventEmitter<void>();\r\n\tpreviousPage = new EventEmitter<void>();\r\n\tnextPage = new EventEmitter<void>();\r\n\tvalueChanged = new EventEmitter<T>();\r\n\tclueChanged = new EventEmitter<string>();\r\n\tactiveOptionIdChanged = new EventEmitter<string>();\r\n\toptions$: Observable<T>;\r\n\r\n\tabstract emitValue(value: T): void;\r\n\tclose(): void {\r\n\t\tthis.closed.next();\r\n\t\tthis.closed.complete();\r\n\t\tthis.nextPage.next();\r\n\t\tthis.nextPage.complete();\r\n\t\tthis.previousPage.next();\r\n\t\tthis.previousPage.complete();\r\n\t\tthis.valueChanged.complete();\r\n\t\tthis.clueChanged.emit(null);\r\n\t\tthis.clueChanged.complete();\r\n\t\tthis.activeOptionIdChanged.emit(undefined);\r\n\t\tthis.activeOptionIdChanged.complete();\r\n\t}\r\n}\r\n\r\n@Component({\r\n\tselector: 'lu-select-panel',\r\n\ttemplateUrl: './panel.component.html',\r\n\tstyleUrls: ['./panel.component.scss'],\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n\tstandalone: true,\r\n\timports: [CommonModule, FormsModule, A11yModule, LuOptionComponent],\r\n})\r\nexport class LuSelectPanelComponent<T> implements AfterViewInit {\r\n\toptions$: Observable<T[]>;\r\n\tloading$: Observable<boolean>;\r\n\toptionComparer: (option1: T, option2: T) => boolean;\r\n\tinitialValue?: T;\r\n\toptionTpl: TemplateRef<LuOptionContext<T>>;\r\n\tsearchable: boolean;\r\n\r\n\t@ViewChild('searchInput')\r\n\tpublic set searchInput(input: ElementRef<HTMLInputElement> | undefined) {\r\n\t\tif (!input) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tsetTimeout(() => input.nativeElement.focus());\r\n\t}\r\n\r\n\t@ViewChildren(LuOptionComponent) optionsQL: QueryList<LuOptionComponent<T>>;\r\n\tprivate keyManager: ActiveDescendantKeyManager<LuOptionComponent<T>>;\r\n\r\n\tsearch: string | null = null;\r\n\r\n\tpublic get selected(): T | undefined {\r\n\t\treturn this.keyManager?.activeItem?.option;\r\n\t}\r\n\r\n\tconstructor(public panelRef: LuSelectPanelRef<T>, @Inject(SELECT_ID) public selectId: number, @Inject(SELECT_PANEL_DATA) data: ILuSelectPanelData<T>) {\r\n\t\tthis.options$ = data.options$;\r\n\t\tthis.loading$ = data.loading$;\r\n\t\tthis.optionComparer = data.optionComparer;\r\n\t\tthis.initialValue = data.initialValue;\r\n\t\tthis.optionTpl = data.optionTpl;\r\n\t\tthis.searchable = data.searchable;\r\n\t}\r\n\r\n\tonScroll(evt: Event): void {\r\n\t\tif (!(evt.target instanceof HTMLElement)) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif (evt.target.scrollTop === 0) {\r\n\t\t\tthis.panelRef.previousPage.emit();\r\n\t\t}\r\n\r\n\t\tif (evt.target.scrollHeight === evt.target.scrollTop + evt.target.clientHeight) {\r\n\t\t\tthis.panelRef.nextPage.emit();\r\n\t\t}\r\n\t}\r\n\r\n\tngAfterViewInit(): void {\r\n\t\tif (!this.optionsQL) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.keyManager = new ActiveDescendantKeyManager(this.optionsQL).withHomeAndEnd();\r\n\r\n\t\tif (this.initialValue) {\r\n\t\t\tthis.options$\r\n\t\t\t\t?.pipe(\r\n\t\t\t\t\ttake(1),\r\n\t\t\t\t\tobserveOn(asyncScheduler),\r\n\t\t\t\t\tmap((options) => options.findIndex((o) => this.optionComparer(o, this.initialValue))),\r\n\t\t\t\t\ttakeUntil(this.panelRef.closed),\r\n\t\t\t\t)\r\n\t\t\t\t.subscribe((selectedIndex) => this.keyManager.setActiveItem(selectedIndex));\r\n\t\t}\r\n\r\n\t\tthis.keyManager.change\r\n\t\t\t.pipe(\r\n\t\t\t\tmap(() => this.keyManager.activeItem?.id),\r\n\t\t\t\ttakeUntil(this.panelRef.closed),\r\n\t\t\t)\r\n\t\t\t.subscribe((activeDescendant) => this.panelRef.activeOptionIdChanged.emit(activeDescendant));\r\n\t}\r\n\r\n\t@HostListener('keydown', ['$event'])\r\n\tonKeyDown($event: KeyboardEvent): void {\r\n\t\tswitch ($event.key) {\r\n\t\t\tcase 'Escape':\r\n\t\t\tcase 'Tab':\r\n\t\t\t\treturn this.panelRef.close();\r\n\t\t\tcase 'Enter':\r\n\t\t\t\treturn this.panelRef.emitValue(this.selected);\r\n\t\t\tdefault:\r\n\t\t\t\tthis.keyManager?.onKeydown($event);\r\n\t\t}\r\n\t}\r\n\r\n\tupdateClue(clue: string | null): void {\r\n\t\tthis.search = clue;\r\n\t\tthis.panelRef.clueChanged.emit(clue);\r\n\r\n\t\tsetTimeout(() => this.keyManager.setFirstItemActive());\r\n\t}\r\n}\r\n","<div\r\n\tclass=\"lu-picker-panel lu-option-picker-panel\"\r\n\trole=\"dialog\"\r\n\tcdkTrapFocus\r\n\t*ngIf=\"{ options: options$ | async } as ctx\"\r\n\t[cdkTrapFocusAutoCapture]=\"true\"\r\n>\r\n\t<div class=\"lu-picker-content\" [class.is-loading]=\"loading$ | async\" tabindex=\"0\" (scroll)=\"onScroll($event)\">\r\n\t\t<ng-container *ngIf=\"searchable\">\r\n\t\t\t<div class=\"textfield mod-search\">\r\n\t\t\t\t<input #searchInput class=\"textfield-input\" [(ngModel)]=\"search\" (ngModelChange)=\"updateClue($event)\" />\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class=\"optionPlaceholder\" *ngIf=\"search && !ctx.options?.length\">\r\n\t\t\t\t<p class=\"optionPlaceholder-content u-marginBottom0\">Aucun résultat pour votre recherche</p>\r\n\t\t\t\t<button type=\"button\" class=\"link\" (click)=\"updateClue(null); searchInput.focus()\">Vider la recherche</button>\r\n\t\t\t</div>\r\n\t\t</ng-container>\r\n\r\n\t\t<lu-select-option\r\n\t\t\t*ngFor=\"let option of ctx.options; let index = index\"\r\n\t\t\t[option]=\"option\"\r\n\t\t\t[optionIndex]=\"index\"\r\n\t\t\t[isSelected]=\"option === selected\"\r\n\t\t\t[disabled]=\"false\"\r\n\t\t\t(click)=\"panelRef.emitValue(option)\"\r\n\t\t>\r\n\t\t\t<ng-container *ngTemplateOutlet=\"optionTpl; context: { $implicit: option }\"></ng-container>\r\n\t\t</lu-select-option>\r\n\t\t<div *ngIf=\"loading$ | async\" class=\"loading lu-picker-loading\"></div>\r\n\t</div>\r\n</div>\r\n","/* eslint-disable @angular-eslint/no-output-on-prefix */\r\nimport { Overlay, OverlayConfig, OverlayContainer, OverlayModule, OverlayPositionBuilder, OverlayRef, ScrollStrategyOptions } from '@angular/cdk/overlay';\r\nimport { Platform } from '@angular/cdk/platform';\r\nimport { ComponentPortal } from '@angular/cdk/portal';\r\nimport { CommonModule, DOCUMENT } from '@angular/common';\r\nimport {\r\n\tChangeDetectionStrategy,\r\n\tChangeDetectorRef,\r\n\tComponent,\r\n\tComponentRef,\r\n\tElementRef,\r\n\tEventEmitter,\r\n\tforwardRef,\r\n\tHostBinding,\r\n\tHostListener,\r\n\tInject,\r\n\tInjectable,\r\n\tInjector,\r\n\tInput,\r\n\tOnDestroy,\r\n\tOnInit,\r\n\tOutput,\r\n\tTemplateRef,\r\n} from '@angular/core';\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\r\nimport { ReplaySubject, Subject } from 'rxjs';\r\nimport { takeUntil } from 'rxjs/operators';\r\nimport { LuSelectPanelComponent, LuSelectPanelRef } from '../panel/index';\r\nimport { ILuSelectPanelData, LuOptionContext, SELECT_ID, SELECT_LABEL, SELECT_LABEL_ID, SELECT_PANEL_DATA } from '../select.model';\r\n\r\nlet selectId = 0;\r\n\r\nfunction selectIdFactory(): number {\r\n\treturn selectId++;\r\n}\r\n\r\nfunction selectLabelFactory(elementRef: ElementRef<HTMLElement>): HTMLLabelElement | undefined {\r\n\tfunction getLabel(node: HTMLElement): HTMLLabelElement | undefined {\r\n\t\tif (node instanceof HTMLLabelElement) {\r\n\t\t\treturn node;\r\n\t\t}\r\n\r\n\t\tif (!node.parentElement) {\r\n\t\t\treturn undefined;\r\n\t\t}\r\n\r\n\t\treturn getLabel(node.parentElement);\r\n\t}\r\n\r\n\treturn getLabel(elementRef.nativeElement);\r\n}\r\n\r\nfunction selectLabelIdFactory(label: HTMLLabelElement | undefined, selectId: number): string {\r\n\treturn label?.id || `lu-select-label-${selectId}`;\r\n}\r\n\r\n@Injectable()\r\nclass LuSelectOverlayContainer extends OverlayContainer {\r\n\tconstructor(@Inject(DOCUMENT) document: Document, platform: Platform, @Inject(SELECT_LABEL_ID) private selectLabelId: string, @Inject(SELECT_ID) private selectId: number) {\r\n\t\tsuper(document, platform);\r\n\t}\r\n\tprotected override _createContainer(): void {\r\n\t\tsuper._createContainer();\r\n\t\tthis._containerElement.setAttribute('aria-labelledby', this.selectLabelId);\r\n\t\tthis._containerElement.setAttribute('role', 'listbox');\r\n\t\tthis._containerElement.id = `lu-select-overlay-container-${this.selectId}`;\r\n\t}\r\n}\r\n\r\nclass SelectPanelRef<T> extends LuSelectPanelRef<T> {\r\n\tinstance: LuSelectPanelComponent<T>;\r\n\tprivate panelRef: ComponentRef<LuSelectPanelComponent<T>>;\r\n\tprivate portalRef: ComponentPortal<LuSelectPanelComponent<T>>;\r\n\r\n\tconstructor(private overlayRef: OverlayRef, parentInjector: Injector, panelData: ILuSelectPanelData<T>) {\r\n\t\tsuper();\r\n\r\n\t\tconst injector = Injector.create({\r\n\t\t\tproviders: [\r\n\t\t\t\t{ provide: LuSelectPanelRef, useValue: this },\r\n\t\t\t\t{ provide: SELECT_PANEL_DATA, useValue: panelData },\r\n\t\t\t],\r\n\t\t\tparent: parentInjector,\r\n\t\t});\r\n\r\n\t\tthis.portalRef = new ComponentPortal<LuSelectPanelComponent<T>>(LuSelectPanelComponent, undefined, injector);\r\n\t\tthis.panelRef = overlayRef.attach(this.portalRef);\r\n\t\tthis.instance = this.panelRef.instance;\r\n\r\n\t\toverlayRef\r\n\t\t\t.backdropClick()\r\n\t\t\t.pipe(takeUntil(this.closed))\r\n\t\t\t.subscribe(() => this.close());\r\n\t}\r\n\r\n\temitValue(value: T): void {\r\n\t\tthis.valueChanged.emit(value);\r\n\t\tthis.close();\r\n\t}\r\n\r\n\toverride close(): void {\r\n\t\tsuper.close();\r\n\t\tthis.panelRef.destroy();\r\n\t\tthis.overlayRef.detach();\r\n\t}\r\n}\r\n\r\n@Component({\r\n\tselector: 'lu-simple-select',\r\n\ttemplateUrl: './select-input.component.html',\r\n\tstyleUrls: ['./select-input.component.scss'],\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n\tstandalone: true,\r\n\timports: [CommonModule, OverlayModule],\r\n\tproviders: [\r\n\t\t{\r\n\t\t\tprovide: NG_VALUE_ACCESSOR,\r\n\t\t\tuseExisting: forwardRef(() => LuSimpleSelectInputComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t\t{\r\n\t\t\tprovide: OverlayContainer,\r\n\t\t\tuseClass: LuSelectOverlayContainer,\r\n\t\t},\r\n\t\t{ provide: SELECT_ID, useFactory: selectIdFactory },\r\n\t\t{ provide: SELECT_LABEL, useFactory: selectLabelFactory, deps: [ElementRef] },\r\n\t\t{ provide: SELECT_LABEL_ID, useFactory: selectLabelIdFactory, deps: [SELECT_LABEL, SELECT_ID] },\r\n\t],\r\n})\r\nexport class LuSimpleSelectInputComponent<T> implements ControlValueAccessor, OnDestroy, OnInit {\r\n\t@HostBinding('tabindex') tabindex = 0;\r\n\r\n\t@Input() placeholder = '';\r\n\r\n\t@Input()\r\n\t@HostBinding('class.mod-multiple')\r\n\tmultiple = false;\r\n\r\n\t@Input()\r\n\t@HostBinding('class.is-clearable')\r\n\tclearable = false;\r\n\r\n\tget searchable(): boolean {\r\n\t\treturn this.clueChange.observed;\r\n\t}\r\n\r\n\t@Input()\r\n\t@HostBinding('class.is-disabled')\r\n\tdisabled = false;\r\n\r\n\t@HostBinding('class.is-filled')\r\n\tget isFilled(): boolean {\r\n\t\treturn this.value !== null && this.value !== undefined;\r\n\t}\r\n\r\n\t@HostBinding('class.is-focused')\r\n\t@HostBinding('attr.aria-expanded')\r\n\tpublic isPanelOpen = false;\r\n\r\n\t@HostBinding('attr.role')\r\n\tpublic role = 'combobox';\r\n\r\n\t@HostBinding('attr.aria-activedescendant')\r\n\tpublic activeDescendant: string | undefined;\r\n\r\n\t@HostBinding('attr.aria-controls')\r\n\tget ariaControls(): string {\r\n\t\treturn this.overlayContainerRef.id;\r\n\t}\r\n\r\n\t@Input()\r\n\toverlayConfig?: OverlayConfig = {\r\n\t\thasBackdrop: true,\r\n\t\tbackdropClass: 'cdk-overlay-transparent-backdrop',\r\n\t};\r\n\r\n\t@Input() set loading(value: boolean) {\r\n\t\tthis.loading$.next(value);\r\n\t}\r\n\r\n\t@Input() set options(options: T[]) {\r\n\t\tthis.options$.next(options);\r\n\t}\r\n\r\n\t@Input() optionComparer: (option1: T, option2: T) => boolean = (option1, option2) => JSON.stringify(option1) === JSON.stringify(option2);\r\n\t@Input() optionTpl?: TemplateRef<LuOptionContext<T>>;\r\n\t@Input() valueTpl?: TemplateRef<LuOptionContext<T>>;\r\n\r\n\t@Output() clueChange = new EventEmitter<string>();\r\n\t@Output() nextPage = new EventEmitter<void>();\r\n\t@Output() previousPage = new EventEmitter<void>();\r\n\r\n\tvalue?: T;\r\n\toptions$ = new ReplaySubject<T[]>(1);\r\n\tloading$ = new ReplaySubject<boolean>(1);\r\n\tclue: string | null = null;\r\n\r\n\tprotected onChange?: (value: T | null) => void;\r\n\tprotected onTouched?: () => void;\r\n\r\n\tprotected panelRef?: SelectPanelRef<T>;\r\n\tprotected overlayContainerRef: HTMLElement;\r\n\tprotected destroyed$ = new Subject<void>();\r\n\r\n\t@HostListener('keydown.space', ['$event'])\r\n\t@HostListener('keydown.enter', ['$event'])\r\n\t@HostListener('keydown.arrowDown', ['$event'])\r\n\t@HostListener('click', ['$event'])\r\n\tonKeydown($event: KeyboardEvent) {\r\n\t\tif (!this.isPanelOpen) {\r\n\t\t\tthis.openPanel();\r\n\t\t\t$event.stopPropagation();\r\n\t\t\t$event.preventDefault();\r\n\t\t}\r\n\t}\r\n\r\n\tpublic constructor(\r\n\t\tprotected positionBuilder: OverlayPositionBuilder,\r\n\t\tprotected scrollStrategies: ScrollStrategyOptions,\r\n\t\tprotected elementRef: ElementRef<HTMLElement>,\r\n\t\tprotected injector: Injector,\r\n\t\tprotected overlay: Overlay,\r\n\t\tprotected changeDetectorRef: ChangeDetectorRef,\r\n\t\toverlayContainer: OverlayContainer,\r\n\t\t@Inject(SELECT_LABEL) protected label: HTMLElement | undefined,\r\n\t\t@Inject(SELECT_LABEL_ID) protected labelId: string,\r\n\t) {\r\n\t\tthis.overlayContainerRef = overlayContainer.getContainerElement();\r\n\t}\r\n\r\n\tregisterOnChange(onChange: (value: T) => void): void {\r\n\t\tthis.onChange = onChange;\r\n\t}\r\n\r\n\tregisterOnTouched(onTouched: () => void): void {\r\n\t\tthis.onTouched = onTouched;\r\n\t}\r\n\r\n\tsetDisabledState(isDisabled: boolean): void {\r\n\t\tthis.disabled = isDisabled;\r\n\t}\r\n\r\n\tngOnDestroy(): void {\r\n\t\tthis.destroyed$.next();\r\n\t\tthis.destroyed$.complete();\r\n\t}\r\n\r\n\tngOnInit(): void {\r\n\t\tif (this.label) {\r\n\t\t\tthis.label.id = this.labelId;\r\n\t\t}\r\n\t}\r\n\r\n\tclearValue(event: MouseEvent): void {\r\n\t\tevent.stopPropagation();\r\n\t\tthis.onChange?.(null);\r\n\t\tthis.value = null;\r\n\t}\r\n\r\n\topenPanel(): void {\r\n\t\tif (this.isPanelOpen || this.disabled) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tconst overlayConfig: OverlayConfig = this.overlayConfig || {};\r\n\t\toverlayConfig.positionStrategy = this.positionBuilder.flexibleConnectedTo(this.elementRef).withPositions([\r\n\t\t\t{\r\n\t\t\t\toriginX: 'start',\r\n\t\t\t\toriginY: 'bottom',\r\n\t\t\t\toverlayX: 'start',\r\n\t\t\t\toverlayY: 'top',\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\toriginX: 'end',\r\n\t\t\t\toriginY: 'bottom',\r\n\t\t\t\toverlayX: 'end',\r\n\t\t\t\toverlayY: 'top',\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\toriginX: 'start',\r\n\t\t\t\toriginY: 'top',\r\n\t\t\t\toverlayX: 'start',\r\n\t\t\t\toverlayY: 'bottom',\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\toriginX: 'end',\r\n\t\t\t\toriginY: 'top',\r\n\t\t\t\toverlayX: 'end',\r\n\t\t\t\toverlayY: 'bottom',\r\n\t\t\t},\r\n\t\t]);\r\n\t\toverlayConfig.scrollStrategy = this.scrollStrategies.reposition();\r\n\t\toverlayConfig.minWidth = this.elementRef.nativeElement.clientWidth;\r\n\t\toverlayConfig.maxHeight = '100vh';\r\n\t\toverlayConfig.maxWidth = '100vw';\r\n\r\n\t\tconst overlayRef = this.overlay.create(overlayConfig);\r\n\r\n\t\tthis.isPanelOpen = true;\r\n\t\tthis.panelRef = new SelectPanelRef(overlayRef, this.injector, {\r\n\t\t\tinitialValue: this.value,\r\n\t\t\toptionComparer: this.optionComparer,\r\n\t\t\toptions$: this.options$,\r\n\t\t\tloading$: this.loading$,\r\n\t\t\tsearchable: this.searchable,\r\n\t\t\toptionTpl: this.optionTpl,\r\n\t\t});\r\n\r\n\t\tthis.panelRef.valueChanged.subscribe((value) => {\r\n\t\t\tthis.onChange?.(value);\r\n\t\t\tthis.value = value;\r\n\t\t});\r\n\t\tthis.panelRef.nextPage.subscribe(() => this.nextPage.emit());\r\n\t\tthis.panelRef.previousPage.subscribe(() => this.previousPage.emit());\r\n\t\tthis.panelRef.clueChanged.subscribe((clue) => {\r\n\t\t\tthis.clueChange.emit(clue);\r\n\t\t\tthis.clue = clue;\r\n\t\t});\r\n\t\tthis.panelRef.activeOptionIdChanged.subscribe((optionId) => {\r\n\t\t\tthis.activeDescendant = optionId;\r\n\t\t\tthis.changeDetectorRef.markForCheck();\r\n\t\t});\r\n\t\tthis.panelRef.closed.subscribe(() => this.closePanel());\r\n\t}\r\n\r\n\tpublic closePanel(): void {\r\n\t\tif (!this.isPanelOpen) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tthis.isPanelOpen = false;\r\n\t\tthis.panelRef.close();\r\n\t\tthis.panelRef = undefined;\r\n\t}\r\n\r\n\tpublic writeValue(value: T): void {\r\n\t\tthis.value = value;\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 *ngIf=\"isFilled\">\r\n\t\t\t<ng-container *ngTemplateOutlet=\"valueTpl || optionTpl; context: { $implicit: value }\"></ng-container>\r\n\t\t</ng-container>\r\n\t</div>\r\n</div>\r\n<div class=\"lu-select-suffix\">\r\n\t<a *ngIf=\"clearable && isFilled\" role=\"button\" class=\"actionIcon\" (click)=\"clearValue($event)\">\r\n\t\t<span aria-hidden=\"true\" class=\"lucca-icon\">thin_cross</span>\r\n\t\t<span class=\"u-mask\">Clear</span>\r\n\t</a>\r\n</div>\r\n","/*\r\n * Public API Surface of safe-content\r\n */\r\n\r\nexport * from './lib/index';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1","i2","i3"],"mappings":";;;;;;;;;;;;;;;MAQa,oBAAoB,CAAA;AAKhC,IAAA,WAAA,CAA2B,WAA4C,EAAA;QAA5C,IAAW,CAAA,WAAA,GAAX,WAAW,CAAiC;KAAI;IAJ3E,IAAgC,MAAM,CAAC,MAAuC,EAAA;AAC7E,QAAA,MAAM,CAAC,QAAQ,GAAG,IAAI,CAAC,WAAW,CAAC;KACnC;AAIM,IAAA,OAAO,sBAAsB,CAAI,IAA6B,EAAE,GAAY,EAAA;AAClF,QAAA,OAAO,IAAI,CAAC;KACZ;;iHATW,oBAAoB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,WAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;qGAApB,oBAAoB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,eAAA,EAAA,MAAA,EAAA,EAAA,MAAA,EAAA,CAAA,mBAAA,EAAA,QAAA,CAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;2FAApB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAJhC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,eA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"lucca-front-ng-simple-select.mjs","sources":["../../../packages/ng/simple-select/src/lib/option/option.token.ts","../../../packages/ng/simple-select/src/lib/option/default-option.component.ts","../../../packages/ng/simple-select/src/lib/option/disabled.directive.ts","../../../packages/ng/simple-select/src/lib/option/displayer.directive.ts","../../../packages/ng/simple-select/src/lib/select.model.ts","../../../packages/ng/simple-select/src/lib/option/option-outlet.directive.ts","../../../packages/ng/simple-select/src/lib/option/option.component.ts","../../../packages/ng/simple-select/src/lib/option/option.component.html","../../../packages/ng/simple-select/src/lib/option/option.directive.ts","../../../packages/ng/simple-select/src/lib/select.translate.ts","../../../packages/ng/simple-select/src/lib/panel/panel.models.ts","../../../packages/ng/simple-select/src/lib/panel/panel.component.ts","../../../packages/ng/simple-select/src/lib/panel/panel.component.html","../../../packages/ng/simple-select/src/lib/input/panel-ref.factory.ts","../../../packages/ng/simple-select/src/lib/input/select-input.models.ts","../../../packages/ng/simple-select/src/lib/input/select-input.component.ts","../../../packages/ng/simple-select/src/lib/input/select-input.component.html","../../../packages/ng/simple-select/src/public-api.ts","../../../packages/ng/simple-select/src/lucca-front-ng-simple-select.ts"],"sourcesContent":["import { InjectionToken, Provider } from '@angular/core';\r\nimport { BehaviorSubject } from 'rxjs';\r\n\r\nexport interface ILuOptionContext<T> {\r\n\tisDisabled$: BehaviorSubject<boolean>;\r\n\toption$: BehaviorSubject<T | undefined>;\r\n\tdestroy(): void;\r\n}\r\n\r\nexport const LU_OPTION_CONTEXT = new InjectionToken<ILuOptionContext<unknown>>('LuOptionContext');\r\n\r\nfunction optionContextFactory<T>(): ILuOptionContext<T> {\r\n\tconst isDisabled$ = new BehaviorSubject(false);\r\n\tconst option$ = new BehaviorSubject<T | undefined>(undefined);\r\n\treturn {\r\n\t\tisDisabled$,\r\n\t\toption$,\r\n\t\tdestroy(): void {\r\n\t\t\tisDisabled$.complete();\r\n\t\t\toption$.complete();\r\n\t\t},\r\n\t};\r\n}\r\n\r\nexport function provideOptionContext(): Provider {\r\n\treturn {\r\n\t\tprovide: LU_OPTION_CONTEXT,\r\n\t\tuseFactory: optionContextFactory,\r\n\t};\r\n}\r\n","import { AsyncPipe, NgIf } from '@angular/common';\r\nimport { Component, inject } from '@angular/core';\r\nimport { ILuOptionContext, LU_OPTION_CONTEXT } from './option.token';\r\n\r\n@Component({\r\n\tselector: 'lu-simple-select-default-option',\r\n\tstandalone: true,\r\n\timports: [AsyncPipe, NgIf],\r\n\ttemplate: `<ng-container *ngIf=\"context.option$ | async as option\">{{ option?.name ?? option }}</ng-container>`,\r\n})\r\nexport class LuSimpleSelectDefaultOptionComponent {\r\n\tpublic context = inject<ILuOptionContext<{ name?: string }>>(LU_OPTION_CONTEXT);\r\n}\r\n","import { Directive, inject, Input } from '@angular/core';\r\nimport { LU_OPTION_CONTEXT } from './option.token';\r\n\r\n@Directive({\r\n\tselector: '[luDisabledOption]',\r\n\tstandalone: true,\r\n})\r\nexport class LuDisabledOptionDirective {\r\n\tprivate context = inject(LU_OPTION_CONTEXT);\r\n\r\n\t@Input('luDisabledOption') public set isDisabled(disabled: boolean | null) {\r\n\t\tif (disabled !== null) {\r\n\t\t\tthis.context.isDisabled$.next(disabled);\r\n\t\t}\r\n\t}\r\n}\r\n","import { Directive, Input, TemplateRef } from '@angular/core';\r\nimport { LuSimpleSelectInputComponent } from '../input';\r\nimport { LuOptionContext } from '../select.model';\r\n\r\n@Directive({\r\n\tselector: '[luDisplayer]',\r\n\tstandalone: true,\r\n})\r\nexport class LuDisplayerDirective<T> {\r\n\t@Input('luDisplayerSelect') set select(select: LuSimpleSelectInputComponent<T>) {\r\n\t\tselect.valueTpl = this.templateRef;\r\n\t}\r\n\r\n\tpublic constructor(private templateRef: TemplateRef<LuOptionContext<T>>) {}\r\n\r\n\tpublic static ngTemplateContextGuard<T>(_dir: LuDisplayerDirective<T>, ctx: unknown): ctx is LuOptionContext<T> {\r\n\t\treturn true;\r\n\t}\r\n}\r\n","import { InjectionToken, TemplateRef, Type } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\nexport interface ILuSelectPanelData<T> {\r\n\toptions$: Observable<T[]>;\r\n\tloading$: Observable<boolean>;\r\n\toptionComparer: (option1: T, option2: T) => boolean;\r\n\tinitialValue: T | undefined;\r\n\toptionTpl: TemplateRef<LuOptionContext<T>> | Type<unknown>;\r\n\tsearchable: boolean;\r\n}\r\n\r\nexport interface LuOptionContext<T> {\r\n\t$implicit: T;\r\n}\r\n\r\nexport const SELECT_ID = new InjectionToken<number>('LuSelectPanelData');\r\nexport const SELECT_PANEL_DATA = new InjectionToken<unknown>('LuSelectId');\r\nexport const SELECT_LABEL = new InjectionToken<HTMLLabelElement | undefined>('LuSelectLabel');\r\nexport const SELECT_LABEL_ID = new InjectionToken<string>('LuSelectLabelId');\r\n","import { ComponentRef, Directive, EmbeddedViewRef, inject, Injector, Input, OnChanges, OnDestroy, SimpleChanges, TemplateRef, Type, ViewContainerRef } from '@angular/core';\r\nimport { LuOptionContext } from '../select.model';\r\nimport { LU_OPTION_CONTEXT, provideOptionContext } from './option.token';\r\n\r\n@Directive({\r\n\tselector: '[luOptionOutlet]',\r\n\tstandalone: true,\r\n\tproviders: [provideOptionContext()],\r\n})\r\nexport class LuOptionOutletDirective<T> implements OnChanges, OnDestroy {\r\n\t@Input() luOptionOutlet?: Type<unknown> | TemplateRef<LuOptionContext<T>>;\r\n\t@Input() luOptionOutletValue: T | undefined;\r\n\r\n\tprivate viewContainerRef = inject(ViewContainerRef);\r\n\tprivate injector = inject(Injector);\r\n\tprivate embeddedViewRef?: EmbeddedViewRef<LuOptionContext<T>>;\r\n\tprivate componentRef?: ComponentRef<unknown>;\r\n\tprivate optionContext = inject(LU_OPTION_CONTEXT);\r\n\r\n\tngOnChanges(changes: SimpleChanges): void {\r\n\t\tif (changes['luOptionOutlet'] || !this.luOptionOutletValue) {\r\n\t\t\tthis.clearContainer();\r\n\t\t}\r\n\r\n\t\tconst hasRef = this.embeddedViewRef || this.componentRef;\r\n\r\n\t\tif (changes['luOptionOutlet'] || (changes['luOptionOutletValue'] && !hasRef)) {\r\n\t\t\tthis.createComponent();\r\n\t\t} else if (changes['luOptionOutletValue']) {\r\n\t\t\tthis.updateRefValue();\r\n\t\t}\r\n\t}\r\n\r\n\tngOnDestroy(): void {\r\n\t\tthis.optionContext.destroy();\r\n\t}\r\n\r\n\tprivate clearContainer(): void {\r\n\t\tthis.viewContainerRef.clear();\r\n\t\tthis.embeddedViewRef?.destroy();\r\n\t\tthis.componentRef?.destroy();\r\n\t\tthis.embeddedViewRef = undefined;\r\n\t\tthis.componentRef = undefined;\r\n\t}\r\n\r\n\tprivate createComponent(): void {\r\n\t\tif (!this.luOptionOutlet || !this.luOptionOutletValue) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif (this.luOptionOutlet instanceof TemplateRef) {\r\n\t\t\tthis.embeddedViewRef = this.viewContainerRef.createEmbeddedView(this.luOptionOutlet, { $implicit: this.luOptionOutletValue }, { injector: this.injector });\r\n\t\t} else {\r\n\t\t\tthis.optionContext.option$.next(this.luOptionOutletValue);\r\n\t\t\tthis.componentRef = this.viewContainerRef.createComponent(this.luOptionOutlet, { injector: this.injector });\r\n\t\t}\r\n\t}\r\n\r\n\tprivate updateRefValue(): void {\r\n\t\tif (!this.luOptionOutletValue) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tif (this.embeddedViewRef) {\r\n\t\t\tthis.embeddedViewRef.context = { $implicit: this.luOptionOutletValue };\r\n\t\t} else if (this.componentRef) {\r\n\t\t\tthis.optionContext.option$.next(this.luOptionOutletValue);\r\n\t\t}\r\n\t}\r\n}\r\n","import { Highlightable } from '@angular/cdk/a11y';\r\nimport { AsyncPipe } from '@angular/common';\r\nimport { AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, HostBinding, inject, Input, OnDestroy, TemplateRef, Type, ViewChild } from '@angular/core';\r\nimport { asyncScheduler, BehaviorSubject, observeOn, Subscription } from 'rxjs';\r\nimport { LuOptionContext, SELECT_ID } from '../select.model';\r\nimport { LuOptionOutletDirective } from './option-outlet.directive';\r\nimport { ILuOptionContext, LU_OPTION_CONTEXT } from './option.token';\r\n\r\n@Component({\r\n\tselector: 'lu-select-option',\r\n\ttemplateUrl: './option.component.html',\r\n\tstyleUrls: ['./option.component.scss'],\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n\tstandalone: true,\r\n\timports: [AsyncPipe, LuOptionOutletDirective],\r\n})\r\nexport class LuOptionComponent<T> implements Highlightable, AfterViewInit, OnDestroy {\r\n\t@HostBinding('class.optionItem')\r\n\tpublic hasOptionItemClass = true;\r\n\r\n\t@Input()\r\n\tpublic optionTpl: TemplateRef<LuOptionContext<T>> | Type<unknown> | undefined;\r\n\r\n\t@Input()\r\n\t@HostBinding('attr.aria-selected')\r\n\tisSelected = false;\r\n\r\n\t@Input() option?: T;\r\n\r\n\t@Input()\r\n\tpublic optionIndex = 0;\r\n\r\n\tisHighlighted$ = new BehaviorSubject(false);\r\n\r\n\t/**\r\n\t * Whether option is disabled. Used by ListKeyManager.\r\n\t */\r\n\tdisabled = false;\r\n\r\n\t@ViewChild(LuOptionOutletDirective, { read: LU_OPTION_CONTEXT, static: true })\r\n\tprivate optionContext?: ILuOptionContext<T>;\r\n\r\n\tprivate cdr = inject(ChangeDetectorRef);\r\n\tprivate subscription?: Subscription;\r\n\r\n\t@HostBinding('attr.role')\r\n\tpublic role = 'option';\r\n\r\n\t@HostBinding('attr.id')\r\n\tpublic get id(): string {\r\n\t\treturn `lu-select-${this.selectId}-option-${this.optionIndex}`;\r\n\t}\r\n\r\n\tprotected elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\r\n\tprotected selectId = inject(SELECT_ID);\r\n\r\n\tngOnDestroy(): void {\r\n\t\tthis.subscription?.unsubscribe();\r\n\t}\r\n\r\n\tngAfterViewInit(): void {\r\n\t\tthis.subscription = this.optionContext.isDisabled$.pipe(observeOn(asyncScheduler)).subscribe((isDisabled) => {\r\n\t\t\tthis.disabled = isDisabled;\r\n\t\t\tthis.cdr.markForCheck();\r\n\t\t});\r\n\t}\r\n\r\n\tsetActiveStyles(): void {\r\n\t\tthis.isHighlighted$.next(true);\r\n\t\tthis.elementRef.nativeElement.scrollIntoView({ block: 'center' });\r\n\t}\r\n\r\n\tsetInactiveStyles(): void {\r\n\t\tthis.isHighlighted$.next(false);\r\n\t}\r\n\r\n\tselectOption($event: Event): void {\r\n\t\tif (this.disabled) {\r\n\t\t\t$event.stopPropagation();\r\n\t\t}\r\n\t}\r\n}\r\n","<div\r\n\tclass=\"optionItem-value\"\r\n\t[class.is-selected]=\"isSelected\"\r\n\t[class.is-highlighted]=\"isHighlighted$ | async\"\r\n\t[class.is-disabled]=\"disabled\"\r\n\t(click)=\"selectOption($event)\"\r\n>\r\n\t<ng-container *luOptionOutlet=\"optionTpl; value: option\"></ng-container>\r\n</div>\r\n","import { Directive, Input, TemplateRef } from '@angular/core';\r\nimport { LuSimpleSelectInputComponent } from '../input';\r\nimport { LuOptionContext } from '../select.model';\r\n\r\n@Directive({\r\n\tselector: '[luOption]',\r\n\tstandalone: true,\r\n})\r\nexport class LuOptionDirective<T> {\r\n\t@Input('luOptionSelect') set select(select: LuSimpleSelectInputComponent<T>) {\r\n\t\tselect.optionTpl = this.templateRef;\r\n\t}\r\n\r\n\tpublic constructor(private templateRef: TemplateRef<LuOptionContext<T>>) {}\r\n\r\n\tpublic static ngTemplateContextGuard<T>(_dir: LuOptionDirective<T>, ctx: unknown): ctx is LuOptionContext<T> {\r\n\t\treturn true;\r\n\t}\r\n}\r\n","import { InjectionToken } from '@angular/core';\r\nimport { ILuTranslation } from '@lucca-front/ng/core';\r\n\r\nexport const LU_SIMPLE_SELECT_TRANSLATIONS = new InjectionToken('LuSimpleSelectTranslations', {\r\n\tfactory: () => luSimpleSelectTranslations,\r\n});\r\n\r\nexport interface ILuSimpleSelectLabel {\r\n\tplaceholder: string;\r\n\tclear: string;\r\n\tclearSearch: string;\r\n\temptyResults: string;\r\n}\r\n\r\nexport const luSimpleSelectTranslations: ILuTranslation<ILuSimpleSelectLabel> = {\r\n\ten: {\r\n\t\tplaceholder: 'Select an option',\r\n\t\tclear: 'Clear',\r\n\t\tclearSearch: 'Clear search',\r\n\t\temptyResults: 'No results',\r\n\t},\r\n\tfr: {\r\n\t\tplaceholder: 'Sélectionnez une option',\r\n\t\tclear: 'Effacer',\r\n\t\tclearSearch: 'Vider la recherche',\r\n\t\temptyResults: 'Aucun résultat pour votre recherche',\r\n\t},\r\n\tde: {\r\n\t\tplaceholder: 'Wählen Sie eine Option',\r\n\t\tclear: 'Löschen',\r\n\t\tclearSearch: 'Suche löschen',\r\n\t\temptyResults: 'Keine Ergebnisse für Ihre Suche',\r\n\t},\r\n\tes: {\r\n\t\tplaceholder: 'Seleccione una opción',\r\n\t\tclear: 'Borrar',\r\n\t\tclearSearch: 'Borrar búsqueda',\r\n\t\temptyResults: 'No hay resultados para su búsqueda',\r\n\t},\r\n\tpt: {\r\n\t\tplaceholder: 'Selecione uma opção',\r\n\t\tclear: 'Limpar',\r\n\t\tclearSearch: 'Limpar pesquisa',\r\n\t\temptyResults: 'Nenhum resultado para sua pesquisa',\r\n\t},\r\n};\r\n","import { EventEmitter } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\nexport abstract class LuSelectPanelRef<T> {\r\n\tclosed = new EventEmitter<void>();\r\n\tpreviousPage = new EventEmitter<void>();\r\n\tnextPage = new EventEmitter<void>();\r\n\tvalueChanged = new EventEmitter<T>();\r\n\tclueChanged = new EventEmitter<string>();\r\n\tactiveOptionIdChanged = new EventEmitter<string>();\r\n\toptions$: Observable<T>;\r\n\r\n\tabstract emitValue(value: T): void;\r\n\tclose(): void {\r\n\t\tthis.closed.next();\r\n\t\tthis.closed.complete();\r\n\t\tthis.nextPage.complete();\r\n\t\tthis.previousPage.complete();\r\n\t\tthis.valueChanged.complete();\r\n\t\tthis.clueChanged.emit(null);\r\n\t\tthis.clueChanged.complete();\r\n\t\tthis.activeOptionIdChanged.emit(undefined);\r\n\t\tthis.activeOptionIdChanged.complete();\r\n\t}\r\n}\r\n","import { A11yModule, ActiveDescendantKeyManager } from '@angular/cdk/a11y';\r\nimport { AsyncPipe, NgFor, NgIf } from '@angular/common';\r\nimport { AfterViewInit, ChangeDetectionStrategy, Component, ElementRef, HostListener, inject, QueryList, ViewChild, ViewChildren } from '@angular/core';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { getIntl } from '@lucca-front/ng/core';\r\nimport { asyncScheduler, filter, map, observeOn, take, takeUntil } from 'rxjs';\r\nimport { ɵLuOptionComponent } from '../option/index';\r\nimport { ILuSelectPanelData, SELECT_ID, SELECT_PANEL_DATA } from '../select.model';\r\nimport { LU_SIMPLE_SELECT_TRANSLATIONS } from '../select.translate';\r\nimport { LuSelectPanelRef } from './panel.models';\r\n\r\n@Component({\r\n\tselector: 'lu-select-panel',\r\n\ttemplateUrl: './panel.component.html',\r\n\tstyleUrls: ['./panel.component.scss'],\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n\tstandalone: true,\r\n\timports: [A11yModule, AsyncPipe, FormsModule, NgIf, NgFor, ɵLuOptionComponent],\r\n})\r\nexport class LuSelectPanelComponent<T> implements AfterViewInit {\r\n\tprotected panelData = inject<ILuSelectPanelData<T>>(SELECT_PANEL_DATA);\r\n\tpublic panelRef = inject<LuSelectPanelRef<T>>(LuSelectPanelRef);\r\n\tpublic selectId = inject(SELECT_ID);\r\n\tpublic intl = getIntl(LU_SIMPLE_SELECT_TRANSLATIONS);\r\n\r\n\toptions$ = this.panelData.options$;\r\n\tloading$ = this.panelData.loading$;\r\n\toptionComparer = this.panelData.optionComparer;\r\n\tinitialValue: T | undefined = this.panelData.initialValue;\r\n\toptionTpl = this.panelData.optionTpl;\r\n\tsearchable = this.panelData.searchable;\r\n\r\n\t@ViewChild('searchInput')\r\n\tpublic set searchInput(input: ElementRef<HTMLInputElement> | undefined) {\r\n\t\tif (!input) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tsetTimeout(() => input.nativeElement.focus());\r\n\t}\r\n\r\n\t@ViewChildren(ɵLuOptionComponent) optionsQL: QueryList<ɵLuOptionComponent<T>>;\r\n\tprivate keyManager: ActiveDescendantKeyManager<ɵLuOptionComponent<T>>;\r\n\r\n\tsearch: string | null = null;\r\n\r\n\tpublic get selected(): T | undefined {\r\n\t\treturn this.keyManager?.activeItem?.option;\r\n\t}\r\n\r\n\tonScroll(evt: Event): void {\r\n\t\tif (!(evt.target instanceof HTMLElement)) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif (evt.target.scrollTop === 0) {\r\n\t\t\tthis.panelRef.previousPage.emit();\r\n\t\t}\r\n\r\n\t\tif (evt.target.scrollHeight - evt.target.scrollTop - evt.target.clientHeight < 1) {\r\n\t\t\tthis.panelRef.nextPage.emit();\r\n\t\t}\r\n\t}\r\n\r\n\tngAfterViewInit(): void {\r\n\t\tif (!this.optionsQL) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.keyManager = new ActiveDescendantKeyManager(this.optionsQL).withHomeAndEnd();\r\n\r\n\t\tif (this.initialValue) {\r\n\t\t\tthis.options$\r\n\t\t\t\t?.pipe(\r\n\t\t\t\t\tobserveOn(asyncScheduler),\r\n\t\t\t\t\tmap((options) => options.findIndex((o) => this.optionComparer(o, this.initialValue))),\r\n\t\t\t\t\tfilter((index) => index !== -1),\r\n\t\t\t\t\ttake(1),\r\n\t\t\t\t\ttakeUntil(this.panelRef.closed),\r\n\t\t\t\t)\r\n\t\t\t\t.subscribe((selectedIndex) => this.keyManager.setActiveItem(selectedIndex));\r\n\t\t}\r\n\r\n\t\tthis.keyManager.change\r\n\t\t\t.pipe(\r\n\t\t\t\tmap(() => this.keyManager.activeItem?.id),\r\n\t\t\t\ttakeUntil(this.panelRef.closed),\r\n\t\t\t)\r\n\t\t\t.subscribe((activeDescendant) => this.panelRef.activeOptionIdChanged.emit(activeDescendant));\r\n\t}\r\n\r\n\t@HostListener('keydown', ['$event'])\r\n\tonKeyDown($event: KeyboardEvent): void {\r\n\t\tswitch ($event.key) {\r\n\t\t\tcase 'Escape':\r\n\t\t\tcase 'Tab':\r\n\t\t\t\treturn this.panelRef.close();\r\n\t\t\tcase 'Enter':\r\n\t\t\t\treturn this.panelRef.emitValue(this.selected);\r\n\t\t\tdefault:\r\n\t\t\t\tthis.keyManager?.onKeydown($event);\r\n\t\t}\r\n\t}\r\n\r\n\tupdateClue(clue: string | null): void {\r\n\t\tthis.search = clue;\r\n\t\tthis.panelRef.clueChanged.emit(clue);\r\n\r\n\t\tsetTimeout(() => this.keyManager.setFirstItemActive());\r\n\t}\r\n}\r\n","<div\r\n\tclass=\"lu-picker-panel lu-option-picker-panel\"\r\n\trole=\"dialog\"\r\n\tcdkTrapFocus\r\n\t*ngIf=\"{ options: options$ | async } as ctx\"\r\n\t[cdkTrapFocusAutoCapture]=\"true\"\r\n>\r\n\t<div class=\"lu-picker-content\" [class.is-loading]=\"loading$ | async\" tabindex=\"0\" (scroll)=\"onScroll($event)\">\r\n\t\t<ng-container *ngIf=\"searchable\">\r\n\t\t\t<div class=\"panel-search textfield mod-search\">\r\n\t\t\t\t<input #searchInput class=\"textfield-input\" [ngModel]=\"search\" (ngModelChange)=\"updateClue($event)\" />\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class=\"optionPlaceholder\" *ngIf=\"search && !ctx.options?.length\">\r\n\t\t\t\t<p class=\"optionPlaceholder-content u-marginBottom0\">{{ intl.emptyResults }}</p>\r\n\t\t\t\t<button type=\"button\" class=\"link\" (click)=\"updateClue(null); searchInput.focus()\">{{ intl.clearSearch }}</button>\r\n\t\t\t</div>\r\n\t\t</ng-container>\r\n\r\n\t\t<lu-select-option\r\n\t\t\t*ngFor=\"let option of ctx.options; let index = index\"\r\n\t\t\t[option]=\"option\"\r\n\t\t\t[optionTpl]=\"optionTpl\"\r\n\t\t\t[optionIndex]=\"index\"\r\n\t\t\t[isSelected]=\"option === selected\"\r\n\t\t\t(click)=\"panelRef.emitValue(option)\"\r\n\t\t></lu-select-option>\r\n\r\n\t\t<div *ngIf=\"loading$ | async\" class=\"panel-loading loading lu-picker-loading\"></div>\r\n\t</div>\r\n</div>\r\n","import { Overlay, OverlayConfig, OverlayPositionBuilder, OverlayRef, ScrollStrategyOptions } from '@angular/cdk/overlay';\r\nimport { ComponentPortal } from '@angular/cdk/portal';\r\nimport { ComponentRef, ElementRef, inject, Injectable, Injector } from '@angular/core';\r\nimport { takeUntil } from 'rxjs';\r\nimport { LuSelectPanelComponent, LuSelectPanelRef } from '../panel';\r\nimport { ILuSelectPanelData, SELECT_PANEL_DATA } from '../select.model';\r\n\r\nclass SelectPanelRef<T> extends LuSelectPanelRef<T> {\r\n\tinstance: LuSelectPanelComponent<T>;\r\n\tprivate panelRef: ComponentRef<LuSelectPanelComponent<T>>;\r\n\tprivate portalRef: ComponentPortal<LuSelectPanelComponent<T>>;\r\n\r\n\tconstructor(private overlayRef: OverlayRef, parentInjector: Injector, panelData: ILuSelectPanelData<T>) {\r\n\t\tsuper();\r\n\r\n\t\tconst injector = Injector.create({\r\n\t\t\tproviders: [\r\n\t\t\t\t{ provide: LuSelectPanelRef, useValue: this },\r\n\t\t\t\t{ provide: SELECT_PANEL_DATA, useValue: panelData },\r\n\t\t\t],\r\n\t\t\tparent: parentInjector,\r\n\t\t});\r\n\r\n\t\tthis.portalRef = new ComponentPortal<LuSelectPanelComponent<T>>(LuSelectPanelComponent, undefined, injector);\r\n\t\tthis.panelRef = overlayRef.attach(this.portalRef);\r\n\t\tthis.instance = this.panelRef.instance;\r\n\r\n\t\toverlayRef\r\n\t\t\t.backdropClick()\r\n\t\t\t.pipe(takeUntil(this.closed))\r\n\t\t\t.subscribe(() => this.close());\r\n\t}\r\n\r\n\temitValue(value: T): void {\r\n\t\tthis.valueChanged.emit(value);\r\n\t\tthis.close();\r\n\t}\r\n\r\n\toverride close(): void {\r\n\t\tsuper.close();\r\n\t\tthis.panelRef.destroy();\r\n\t\tthis.overlayRef.detach();\r\n\t}\r\n}\r\n\r\n@Injectable()\r\nexport class LuSimpleSelectPanelRefFactory {\r\n\tprotected overlay = inject(Overlay);\r\n\tprotected elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\r\n\tprotected positionBuilder = inject(OverlayPositionBuilder);\r\n\tprotected scrollStrategies = inject(ScrollStrategyOptions);\r\n\tprotected parentInjector = inject(Injector);\r\n\r\n\tbuildPanelRef<T>(panelData: ILuSelectPanelData<T>, overlayConfigOverride: OverlayConfig = {}): LuSelectPanelRef<T> {\r\n\t\tconst overlayConfig = this.buildOverlayConfig(overlayConfigOverride);\r\n\t\tconst overlayRef = this.overlay.create(overlayConfig);\r\n\r\n\t\treturn new SelectPanelRef(overlayRef, this.parentInjector, panelData);\r\n\t}\r\n\r\n\tprotected buildOverlayConfig(overlayConfigOverride: OverlayConfig = {}): OverlayConfig {\r\n\t\tconst overlayConfig: OverlayConfig = overlayConfigOverride || {};\r\n\t\toverlayConfig.positionStrategy = this.positionBuilder.flexibleConnectedTo(this.elementRef).withPositions([\r\n\t\t\t{\r\n\t\t\t\toriginX: 'start',\r\n\t\t\t\toriginY: 'bottom',\r\n\t\t\t\toverlayX: 'start',\r\n\t\t\t\toverlayY: 'top',\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\toriginX: 'end',\r\n\t\t\t\toriginY: 'bottom',\r\n\t\t\t\toverlayX: 'end',\r\n\t\t\t\toverlayY: 'top',\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\toriginX: 'start',\r\n\t\t\t\toriginY: 'top',\r\n\t\t\t\toverlayX: 'start',\r\n\t\t\t\toverlayY: 'bottom',\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\toriginX: 'end',\r\n\t\t\t\toriginY: 'top',\r\n\t\t\t\toverlayX: 'end',\r\n\t\t\t\toverlayY: 'bottom',\r\n\t\t\t},\r\n\t\t]);\r\n\t\toverlayConfig.scrollStrategy = this.scrollStrategies.reposition();\r\n\t\toverlayConfig.minWidth = this.elementRef.nativeElement.clientWidth;\r\n\t\toverlayConfig.maxHeight = '100vh';\r\n\t\toverlayConfig.maxWidth = '100vw';\r\n\r\n\t\treturn overlayConfig;\r\n\t}\r\n}\r\n","import { OverlayContainer } from '@angular/cdk/overlay';\r\nimport { Platform } from '@angular/cdk/platform';\r\nimport { DOCUMENT } from '@angular/common';\r\nimport { ElementRef, inject, Injectable, Provider } from '@angular/core';\r\nimport { SELECT_ID, SELECT_LABEL, SELECT_LABEL_ID } from '../select.model';\r\n\r\nlet selectId = 0;\r\n\r\nfunction selectIdFactory(): number {\r\n\treturn selectId++;\r\n}\r\n\r\nfunction selectLabelFactory(): HTMLLabelElement | undefined {\r\n\tconst elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\r\n\r\n\tfunction getLabel(node: HTMLElement): HTMLLabelElement | undefined {\r\n\t\tif (node instanceof HTMLLabelElement) {\r\n\t\t\treturn node;\r\n\t\t}\r\n\r\n\t\tif (!node.parentElement) {\r\n\t\t\treturn undefined;\r\n\t\t}\r\n\r\n\t\treturn getLabel(node.parentElement);\r\n\t}\r\n\r\n\treturn getLabel(elementRef.nativeElement);\r\n}\r\n\r\nfunction selectLabelIdFactory(): string {\r\n\treturn inject(SELECT_LABEL)?.id || `lu-select-label-${inject(SELECT_ID)}`;\r\n}\r\n\r\nexport function provideLuSelectLabelsAndIds(): Provider[] {\r\n\treturn [\r\n\t\t{ provide: SELECT_ID, useFactory: selectIdFactory },\r\n\t\t{ provide: SELECT_LABEL, useFactory: selectLabelFactory },\r\n\t\t{ provide: SELECT_LABEL_ID, useFactory: selectLabelIdFactory },\r\n\t];\r\n}\r\n\r\n@Injectable()\r\nclass LuSelectOverlayContainer extends OverlayContainer {\r\n\tprivate selectLabelId = inject(SELECT_LABEL_ID);\r\n\tprivate selectId = inject(SELECT_ID);\r\n\r\n\tconstructor() {\r\n\t\tsuper(inject(DOCUMENT), inject(Platform));\r\n\t}\r\n\r\n\tprotected override _createContainer(): void {\r\n\t\tsuper._createContainer();\r\n\t\tthis._containerElement.setAttribute('aria-labelledby', this.selectLabelId);\r\n\t\tthis._containerElement.setAttribute('role', 'listbox');\r\n\t\tthis._containerElement.id = `lu-select-overlay-container-${this.selectId}`;\r\n\t}\r\n}\r\n\r\nexport function provideLuSelectOverlayContainer(): Provider[] {\r\n\treturn [\r\n\t\t{\r\n\t\t\tprovide: OverlayContainer,\r\n\t\t\tuseClass: LuSelectOverlayContainer,\r\n\t\t},\r\n\t];\r\n}\r\n","/* eslint-disable @angular-eslint/no-output-on-prefix */\r\nimport { OverlayConfig, OverlayContainer, OverlayModule } from '@angular/cdk/overlay';\r\nimport { AsyncPipe, NgIf } from '@angular/common';\r\nimport { ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, forwardRef, HostBinding, HostListener, inject, Input, OnDestroy, OnInit, Output, TemplateRef, Type } from '@angular/core';\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\r\nimport { getIntl } from '@lucca-front/ng/core';\r\nimport { BehaviorSubject, ReplaySubject } from 'rxjs';\r\nimport { LuSimpleSelectDefaultOptionComponent } from '../option';\r\nimport { LuOptionOutletDirective } from '../option/option-outlet.directive';\r\nimport { LuSelectPanelRef } from '../panel';\r\nimport { LuOptionContext, SELECT_LABEL, SELECT_LABEL_ID } from '../select.model';\r\nimport { LU_SIMPLE_SELECT_TRANSLATIONS } from '../select.translate';\r\nimport { LuSimpleSelectPanelRefFactory } from './panel-ref.factory';\r\nimport { provideLuSelectLabelsAndIds, provideLuSelectOverlayContainer } from './select-input.models';\r\n\r\n@Component({\r\n\tselector: 'lu-simple-select',\r\n\ttemplateUrl: './select-input.component.html',\r\n\tstyleUrls: ['./select-input.component.scss'],\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n\tstandalone: true,\r\n\timports: [AsyncPipe, LuOptionOutletDirective, NgIf, OverlayModule],\r\n\tproviders: [\r\n\t\t{\r\n\t\t\tprovide: NG_VALUE_ACCESSOR,\r\n\t\t\tuseExisting: forwardRef(() => LuSimpleSelectInputComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t\tprovideLuSelectOverlayContainer(),\r\n\t\tprovideLuSelectLabelsAndIds(),\r\n\t\tLuSimpleSelectPanelRefFactory,\r\n\t],\r\n})\r\nexport class LuSimpleSelectInputComponent<T> implements ControlValueAccessor, OnDestroy, OnInit {\r\n\t@HostBinding('tabindex') tabindex = 0;\r\n\r\n\t@Input() placeholder = '';\r\n\r\n\t@Input()\r\n\t@HostBinding('class.is-clearable')\r\n\tclearable = false;\r\n\r\n\tget searchable(): boolean {\r\n\t\treturn this.clueChange.observed;\r\n\t}\r\n\r\n\t@Input()\r\n\t@HostBinding('class.is-disabled')\r\n\tdisabled = false;\r\n\r\n\t@HostBinding('class.is-filled')\r\n\tget isFilled(): boolean {\r\n\t\treturn this.value !== null && this.value !== undefined;\r\n\t}\r\n\r\n\t@HostBinding('class.is-focused')\r\n\t@HostBinding('attr.aria-expanded')\r\n\tpublic get isPanelOpen(): boolean {\r\n\t\treturn this.isPanelOpen$.value;\r\n\t}\r\n\tpublic isPanelOpen$ = new BehaviorSubject(false);\r\n\r\n\t@HostBinding('attr.role')\r\n\tpublic role = 'combobox';\r\n\r\n\t@HostBinding('attr.aria-activedescendant')\r\n\tpublic activeDescendant: string | undefined;\r\n\r\n\t@HostBinding('attr.aria-controls')\r\n\tget ariaControls(): string {\r\n\t\treturn this.overlayContainerRef.id;\r\n\t}\r\n\r\n\t@Input()\r\n\toverlayConfig?: OverlayConfig = {\r\n\t\thasBackdrop: true,\r\n\t\tbackdropClass: 'cdk-overlay-transparent-backdrop',\r\n\t};\r\n\r\n\t@Input() set loading(value: boolean) {\r\n\t\tthis.loading$.next(value);\r\n\t}\r\n\r\n\t@Input() set options(options: T[]) {\r\n\t\tthis.options$.next(options);\r\n\t}\r\n\r\n\t@Input() optionComparer: (option1: T, option2: T) => boolean = (option1, option2) => JSON.stringify(option1) === JSON.stringify(option2);\r\n\t@Input() optionTpl?: TemplateRef<LuOptionContext<T>> | Type<unknown> = LuSimpleSelectDefaultOptionComponent;\r\n\t@Input() valueTpl?: TemplateRef<LuOptionContext<T>> | Type<unknown>;\r\n\r\n\t@Output() clueChange = new EventEmitter<string>();\r\n\t@Output() nextPage = new EventEmitter<void>();\r\n\t@Output() previousPage = new EventEmitter<void>();\r\n\r\n\tpublic get value(): T {\r\n\t\treturn this._value;\r\n\t}\r\n\r\n\tprotected set value(value: T) {\r\n\t\tthis._value = value;\r\n\t\tthis.changeDetectorRef.markForCheck();\r\n\t}\r\n\r\n\tprotected _value?: T;\r\n\r\n\toptions$ = new ReplaySubject<T[]>(1);\r\n\tloading$ = new ReplaySubject<boolean>(1);\r\n\tclue: string | null = null;\r\n\tintl = getIntl(LU_SIMPLE_SELECT_TRANSLATIONS);\r\n\r\n\tprotected onChange?: (value: T | null) => void;\r\n\tprotected onTouched?: () => void;\r\n\r\n\tprotected panelRef?: LuSelectPanelRef<T>;\r\n\r\n\t@HostListener('keydown.space', ['$event'])\r\n\t@HostListener('keydown.enter', ['$event'])\r\n\t@HostListener('keydown.arrowDown', ['$event'])\r\n\t@HostListener('click', ['$event'])\r\n\tonKeydown($event: KeyboardEvent) {\r\n\t\tif (!this.isPanelOpen) {\r\n\t\t\tthis.openPanel();\r\n\t\t\t$event.stopPropagation();\r\n\t\t\t$event.preventDefault();\r\n\t\t}\r\n\t}\r\n\r\n\tprotected changeDetectorRef = inject(ChangeDetectorRef);\r\n\tprotected overlayContainerRef: HTMLElement = inject(OverlayContainer).getContainerElement();\r\n\tprotected panelRefFactory = inject(LuSimpleSelectPanelRefFactory);\r\n\r\n\tprotected label: HTMLElement | undefined = inject(SELECT_LABEL);\r\n\tprotected labelId: string = inject(SELECT_LABEL_ID);\r\n\r\n\tregisterOnChange(onChange: (value: T) => void): void {\r\n\t\tthis.onChange = onChange;\r\n\t}\r\n\r\n\tregisterOnTouched(onTouched: () => void): void {\r\n\t\tthis.onTouched = onTouched;\r\n\t}\r\n\r\n\tsetDisabledState(isDisabled: boolean): void {\r\n\t\tthis.disabled = isDisabled;\r\n\t}\r\n\r\n\tngOnDestroy(): void {\r\n\t\tthis.panelRef?.close();\r\n\t}\r\n\r\n\tngOnInit(): void {\r\n\t\tif (this.label) {\r\n\t\t\tthis.label.id = this.labelId;\r\n\t\t}\r\n\t}\r\n\r\n\tclearValue(event: MouseEvent): void {\r\n\t\tevent.stopPropagation();\r\n\t\tthis.updateValue(null);\r\n\t}\r\n\r\n\topenPanel(): void {\r\n\t\tif (this.isPanelOpen || this.disabled) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.isPanelOpen$.next(true);\r\n\t\tthis.panelRef = this.panelRefFactory.buildPanelRef(\r\n\t\t\t{\r\n\t\t\t\tinitialValue: this.value,\r\n\t\t\t\toptionComparer: this.optionComparer,\r\n\t\t\t\toptions$: this.options$,\r\n\t\t\t\tloading$: this.loading$,\r\n\t\t\t\tsearchable: this.searchable,\r\n\t\t\t\toptionTpl: this.optionTpl,\r\n\t\t\t},\r\n\t\t\tthis.overlayConfig,\r\n\t\t);\r\n\r\n\t\tthis.panelRef.valueChanged.subscribe((value) => this.updateValue(value));\r\n\t\tthis.panelRef.nextPage.subscribe(() => this.nextPage.emit());\r\n\t\tthis.panelRef.previousPage.subscribe(() => this.previousPage.emit());\r\n\t\tthis.panelRef.clueChanged.subscribe((clue) => {\r\n\t\t\tthis.clueChange.emit(clue);\r\n\t\t\tthis.clue = clue;\r\n\t\t});\r\n\t\tthis.panelRef.activeOptionIdChanged.subscribe((optionId) => {\r\n\t\t\tthis.activeDescendant = optionId;\r\n\t\t\tthis.changeDetectorRef.markForCheck();\r\n\t\t});\r\n\t\tthis.panelRef.closed.subscribe(() => this.closePanel());\r\n\t}\r\n\r\n\tpublic closePanel(): void {\r\n\t\tif (!this.isPanelOpen) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tthis.isPanelOpen$.next(false);\r\n\t\tthis.panelRef.close();\r\n\t\tthis.panelRef = undefined;\r\n\t}\r\n\r\n\tpublic writeValue(value: T): void {\r\n\t\tthis.value = value;\r\n\t}\r\n\r\n\tpublic updateValue(value: T): void {\r\n\t\tthis.value = value;\r\n\t\tthis.onChange?.(value);\r\n\t\tthis.onTouched?.();\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 *luOptionOutlet=\"valueTpl || optionTpl; value: value\"></ng-container>\r\n\t</div>\r\n</div>\r\n<div class=\"lu-select-suffix\">\r\n\t<a *ngIf=\"clearable && isFilled\" role=\"button\" class=\"actionIcon\" (click)=\"clearValue($event)\">\r\n\t\t<span aria-hidden=\"true\" class=\"lucca-icon icon-thinCross\"></span>\r\n\t\t<span class=\"u-mask\">{{ intl.clear }}</span>\r\n\t</a>\r\n</div>\r\n","/*\r\n * Public API Surface of safe-content\r\n */\r\n\r\nexport * from './lib/index';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["ɵLuOptionComponent"],"mappings":";;;;;;;;;;;;;AASO,MAAM,iBAAiB,GAAG,IAAI,cAAc,CAA4B,iBAAiB,CAAC,CAAC;AAElG,SAAS,oBAAoB,GAAA;AAC5B,IAAA,MAAM,WAAW,GAAG,IAAI,eAAe,CAAC,KAAK,CAAC,CAAC;AAC/C,IAAA,MAAM,OAAO,GAAG,IAAI,eAAe,CAAgB,SAAS,CAAC,CAAC;IAC9D,OAAO;QACN,WAAW;QACX,OAAO;QACP,OAAO,GAAA;YACN,WAAW,CAAC,QAAQ,EAAE,CAAC;YACvB,OAAO,CAAC,QAAQ,EAAE,CAAC;SACnB;KACD,CAAC;AACH,CAAC;SAEe,oBAAoB,GAAA;IACnC,OAAO;AACN,QAAA,OAAO,EAAE,iBAAiB;AAC1B,QAAA,UAAU,EAAE,oBAAoB;KAChC,CAAC;AACH;;MCnBa,oCAAoC,CAAA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AA,CAAA;sBAAnB,MAAM;gBACG,QAAQ,EAAA,CAAA;sBAAjB,MAAM;gBACG,YAAY,EAAA,CAAA;sBAArB,MAAM;gBA2BP,SAAS,EAAA,CAAA;sBAJR,YAAY;uBAAC,eAAe,EAAE,CAAC,QAAQ,CAAC,CAAA;;sBACxC,YAAY;uBAAC,eAAe,EAAE,CAAC,QAAQ,CAAC,CAAA;;sBACxC,YAAY;uBAAC,mBAAmB,EAAE,CAAC,QAAQ,CAAC,CAAA;;sBAC5C,YAAY;uBAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,CAAA;;;AEvHlC;;AAEG;;ACFH;;AAEG;;;;"}
@@ -825,7 +825,7 @@ LuUserSelectInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
825
825
  useExisting: forwardRef(() => LuUserSelectInputComponent),
826
826
  multi: true,
827
827
  },
828
- ], 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<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.users }}</span\r\n\t>\r\n\t<ng-template #singleView>{{ values[0] || values | luUserDisplay }}</ng-template>\r\n</ng-template>\r\n<lu-option-picker-advanced [option-comparer]=\"byId\">\r\n\t<header class=\"lu-picker-header\">\r\n\t\t<lu-user-paged-searcher\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[appInstanceId]=\"appInstanceId\"\r\n\t\t\t[operations]=\"operations\"\r\n\t\t\t[enableFormerEmployees]=\"enableFormerEmployees\"\r\n\t\t\t(clueChange)=\"clue = $event\"\r\n\t\t></lu-user-paged-searcher>\r\n\t</header>\r\n\t<lu-user-homonyms></lu-user-homonyms>\r\n\t<lu-option\r\n\t\t*luUserMeOption=\"\r\n\t\t\tlet user;\r\n\t\t\tfields: fields;\r\n\t\t\tfilters: filters;\r\n\t\t\torderBy: orderBy;\r\n\t\t\tappInstanceId: appInstanceId;\r\n\t\t\toperations: operations;\r\n\t\t\tclue: clue\r\n\t\t\"\r\n\t\t[value]=\"user\"\r\n\t>\r\n\t\t<div>\r\n\t\t\t<b>{{ intl.me }} {{ user | luUserDisplay: searchFormat }}</b>\r\n\t\t</div>\r\n\t\t<div class=\"lu-select-additionalInformation\" *ngIf=\"user.additionalInformation\">({{ user.additionalInformation }})</div>\r\n\t</lu-option>\r\n\r\n\t<lu-option *luForOptions=\"let user\" [value]=\"user\">\r\n\t\t<div>{{ user | luUserDisplay: searchFormat }}</div>\r\n\t\t<div class=\"lu-select-additionalInformation\" *ngIf=\"user.additionalInformation\">({{ user.additionalInformation }})</div>\r\n\t</lu-option>\r\n</lu-option-picker-advanced>\r\n", styles: [":root{--components-options-item-padding-vertical: var(--spacings-XS);--components-options-item-padding-horizontal: var(--spacings-XS);--components-options-item-multiple-padding: var(--spacings-L);--components-options-item-icon-color: var(--palettes-grey-800);--components-options-checkbox-left: .5rem;--components-options-checkbox-size: 1rem;--components-options-checkbox-color: var(--palettes-primary-700);--components-options-checkbox-border-radius: var(--commons-borderRadius-M);--components-options-checkbox-border-color: var(--palettes-grey-700);--components-options-establishment-multiple-padding: var(--spacings-M)}:host{--components-select-default-palette-50: var(--palettes-primary-50);--components-select-default-palette-100: var(--palettes-primary-100);--components-select-default-palette-200: var(--palettes-primary-200);--components-select-default-palette-300: var(--palettes-primary-300);--components-select-default-palette-400: var(--palettes-primary-400);--components-select-default-palette-500: var(--palettes-primary-500);--components-select-default-palette-600: var(--palettes-primary-600);--components-select-default-palette-700: var(--palettes-primary-700);--components-select-default-palette-800: var(--palettes-primary-800);--components-select-default-palette-900: var(--palettes-primary-900);--components-select-chip-background: var(--palettes-primary-700);--components-select-chip-text: var(--colors-white-color);--components-select-input-padding-horizontal: var(--spacings-XS);--components-select-input-padding-vertical: var(--spacings-XS);--components-select-framed-color: var(--palettes-grey-500);--components-select-framed-color50: var(--palettes-grey-50);--components-select-framed-see-through: var(--palettes-grey-50);--components-select-framed-text: var(--palettes-grey-800);--components-select-framed-placeholder: #cccccc;--components-select-framed-side-padding: var(--spacings-S);--components-select-framed-top-padding: var(--spacings-L);--components-select-framed-bottom-padding: var(--spacings-S);--components-select-framed-label-top-offset: var(--spacings-XS);cursor:pointer;outline:none;padding:0}:host:after{display:inline-block;vertical-align:text-bottom;font-style:normal;font-family:Lucca icons;color:var(--palettes-700, var(--components-select-default-palette-700));bottom:var(--components-select-input-padding-vertical);font-size:1.2rem;line-height:1.4rem;pointer-events:none;position:absolute;right:var(--components-select-input-padding-horizontal)}@supports (content: \"*\"/\"\"){:host:after{content:\"\\e97c\"/\"\"}}@supports not (content: \"*\"/\"\"){:host:after{content:\"\\e97c\"}}: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:var(--sizes-M-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-M-lineHeight));padding:var(--components-select-input-padding-vertical) 2.5rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all var(--commons-animations-durations-standard);display:none}.lu-select-placeholder{color:var(--palettes-400, var(--components-select-default-palette-400));line-height:var(--sizes-M-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-M-lineHeight));padding:var(--components-select-input-padding-vertical) 2.5rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all var(--commons-animations-durations-standard);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lu-select-suffix{position:absolute;bottom:var(--spacings-XS);right:1.6rem}::ng-deep .lu-select-value .label{padding:var(--spacings-XXS) var(--spacings-XS);margin-left:0}::ng-deep .lu-select-value .chip{background-color:var(--components-select-chip-background);color:var(--components-select-chip-text);vertical-align:baseline;max-width:100%;height:var(--sizes-M-lineHeight);line-height:var(--sizes-M-lineHeight);padding:0 var(--spacings-XS);margin:0 var(--spacings-XXS) var(--spacings-XXS) 0;text-overflow:ellipsis;overflow:hidden;vertical-align:top;white-space:nowrap}:host-context(.textfield.mod-S) .lu-select-value,:host-context(.textfield.mod-S) .lu-select-placeholder{font-size:var(--sizes-S-fontSize);line-height:var(--sizes-XS-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-XS-lineHeight))}:host-context(.textfield.mod-S):after{line-height:var(--sizes-XS-lineHeight)}:host-context(.textfield.mod-S) ::ng-deep .lu-select-value .label{font-size:var(--sizes-S-fontSize);line-height:var(--sizes-S-lineHeight);font-weight:600;margin:0;padding:0;background-color:transparent}:host-context(.textfield.mod-S) ::ng-deep .lu-select-value .chip{height:var(--sizes-XS-lineHeight);line-height:var(--sizes-XS-lineHeight);font-size:var(--sizes-XS-fontSize)}:host-context(.textfield.mod-framed).textfield-input,:host-context(.form.mod-framed).textfield-input{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:var(--palettes-grey-500);bottom:var(--components-select-framed-bottom-padding);right:var(--spacings-XS)}:host-context(.textfield.mod-framed).textfield-input .lu-select-value,:host-context(.form.mod-framed).textfield-input .lu-select-value{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-placeholder,:host-context(.form.mod-framed).textfield-input .lu-select-placeholder{color:var(--palettes-grey-400);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(--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:var(--spacings-S);color:var(--palettes-grey-800)}:host-context(.textfield.mod-filter) .lu-select-suffix{bottom:.4rem}:host-context(.textfield.mod-material):after{color:var(--palettes-grey-500);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: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: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) .lu-select-value{height:auto;align-items:center}:host(.mod-multiple) .lu-select-display-wrapper{overflow:hidden;white-space:normal;margin-bottom:calc(var(--spacings-XXS) * -1)}:host-context(.textfield.mod-outlined).textfield-input:after{color:var(--palettes-grey-600)}:host-context(.textfield.mod-outlined).textfield-input .lu-select-placeholder{color:var(--palettes-grey-400)}:host-context(.textfield.mod-outlined) :host-context(.textfield-input.is-error):after{color:var(--palettes-error-600)}:host-context(.textfield.mod-outlined) :host-context(.textfield-input.is-error) .lu-select-placeholder{color:var(--palettes-error-400)}:host-context(.textfield-input.is-filled) .lu-select-placeholder{display:none}:host-context(.textfield-input.is-filled) .lu-select-value{display:flex;align-items:start}:host-context(.textfield-input.is-clearable) .lu-select-value{padding-right:2.5rem}:host-context(.textfield-input.is-error):after{color:var(--palettes-error-700)}:host-context(.textfield-input.is-error) .lu-select-placeholder{color:var(--palettes-error-400)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]):after{color:var(--commons-disabled-color)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]) .lu-select-placeholder{color:var(--commons-disabled-placeholder)}.lu-select-value{padding-right:2.5rem}.lu-select-additionalInformation{font-size:80%;font-style:italic;margin-top:-.25em}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: OverlayModule }, { kind: "component", type: LuInputClearerComponent, selector: "lu-input-clearer", outputs: ["onClear"], exportAs: ["luClearer"] }, { kind: "directive", type: LuInputDisplayerDirective, selector: "[luDisplayer]", inputs: ["luDisplayerMultiple", "multiple"] }, { kind: "component", type: LuOptionPickerAdvancedComponent, selector: "lu-option-picker-advanced", exportAs: ["LuOptionPickerAdvanced"] }, { kind: "component", type: LuUserPagedSearcherComponent, selector: "lu-user-paged-searcher", inputs: ["fields", "filters", "orderBy", "appInstanceId", "operations", "enableFormerEmployees"], outputs: ["clueChange"] }, { kind: "component", type: LuUserHomonymsComponent, selector: "lu-user-homonyms" }, { kind: "component", type: LuOptionItemComponent, selector: "lu-option", inputs: ["selected", "highlighted", "value", "disabled"], outputs: ["onSelect"] }, { kind: "directive", type: LuUserMeOptionDirective, selector: "[luUserMeOption]", inputs: ["luUserMeOptionFields", "luUserMeOptionFilters", "luUserMeOptionOrderBy", "luUserMeOptionAppInstanceId", "luUserMeOptionOperations", "luUserMeOptionClue"] }, { kind: "directive", type: LuForOptionsDirective, selector: "[luForOptions]", inputs: ["luForOptionsTrackBy"] }, { kind: "pipe", type: LuUserDisplayPipe, name: "luUserDisplay" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
828
+ ], 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<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.users }}</span\r\n\t>\r\n\t<ng-template #singleView>{{ values[0] || values | luUserDisplay }}</ng-template>\r\n</ng-template>\r\n<lu-option-picker-advanced [option-comparer]=\"byId\">\r\n\t<header class=\"lu-picker-header\">\r\n\t\t<lu-user-paged-searcher\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[appInstanceId]=\"appInstanceId\"\r\n\t\t\t[operations]=\"operations\"\r\n\t\t\t[enableFormerEmployees]=\"enableFormerEmployees\"\r\n\t\t\t(clueChange)=\"clue = $event\"\r\n\t\t></lu-user-paged-searcher>\r\n\t</header>\r\n\t<lu-user-homonyms></lu-user-homonyms>\r\n\t<lu-option\r\n\t\t*luUserMeOption=\"\r\n\t\t\tlet user;\r\n\t\t\tfields: fields;\r\n\t\t\tfilters: filters;\r\n\t\t\torderBy: orderBy;\r\n\t\t\tappInstanceId: appInstanceId;\r\n\t\t\toperations: operations;\r\n\t\t\tclue: clue\r\n\t\t\"\r\n\t\t[value]=\"user\"\r\n\t>\r\n\t\t<div>\r\n\t\t\t<b>{{ intl.me }} {{ user | luUserDisplay: searchFormat }}</b>\r\n\t\t</div>\r\n\t\t<div class=\"lu-select-additionalInformation\" *ngIf=\"user.additionalInformation\">({{ user.additionalInformation }})</div>\r\n\t</lu-option>\r\n\r\n\t<lu-option *luForOptions=\"let user\" [value]=\"user\">\r\n\t\t<div>{{ user | luUserDisplay: searchFormat }}</div>\r\n\t\t<div class=\"lu-select-additionalInformation\" *ngIf=\"user.additionalInformation\">({{ user.additionalInformation }})</div>\r\n\t</lu-option>\r\n</lu-option-picker-advanced>\r\n", styles: [":root{--components-options-item-padding-vertical: var(--spacings-XS);--components-options-item-padding-horizontal: var(--spacings-XS);--components-options-item-multiple-padding: var(--spacings-L);--components-options-item-icon-color: var(--palettes-grey-800);--components-options-checkbox-left: .5rem;--components-options-checkbox-size: 1rem;--components-options-checkbox-color: var(--palettes-primary-700);--components-options-checkbox-border-radius: var(--commons-borderRadius-M);--components-options-checkbox-border-color: var(--palettes-grey-700);--components-options-establishment-multiple-padding: var(--spacings-M)}:host{--components-select-chip-background: var(--palettes-primary-700);--components-select-chip-text: var(--colors-white-color);--components-select-input-padding-horizontal: var(--spacings-XS);--components-select-input-padding-vertical: var(--spacings-XS);--components-select-framed-color: var(--palettes-grey-500);--components-select-framed-color50: var(--palettes-grey-50);--components-select-framed-see-through: var(--palettes-grey-50);--components-select-framed-text: var(--palettes-grey-800);--components-select-framed-placeholder: #cccccc;--components-select-framed-side-padding: var(--spacings-S);--components-select-framed-top-padding: var(--spacings-L);--components-select-framed-bottom-padding: var(--spacings-S);--components-select-framed-label-top-offset: var(--spacings-XS);cursor:pointer;outline:none;padding:0}:host:after{display:inline-block;vertical-align:text-bottom;font-style:normal;font-family:Lucca icons;color:var(--palettes-700, var(--palettes-primary-700));bottom:var(--components-select-input-padding-vertical);font-size:1.2rem;line-height:1.4rem;pointer-events:none;position:absolute;right:var(--components-select-input-padding-horizontal)}@supports (content: \"*\"/\"\"){:host:after{content:\"\\e97c\"/\"\"}}@supports not (content: \"*\"/\"\"){:host:after{content:\"\\e97c\"}}: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:var(--sizes-M-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-M-lineHeight));padding:var(--components-select-input-padding-vertical) 3rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all var(--commons-animations-durations-standard);display:none}.lu-select-placeholder{color:var(--palettes-400, var(--palettes-primary-400));line-height:var(--sizes-M-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-M-lineHeight));padding:var(--components-select-input-padding-vertical) 3rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all var(--commons-animations-durations-standard);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lu-select-suffix{position:absolute;bottom:var(--spacings-XS);right:1.6rem}::ng-deep .lu-select-value .label{padding:var(--spacings-XXS) var(--spacings-XS);margin-left:0}::ng-deep .lu-select-value .chip{background-color:var(--components-select-chip-background);color:var(--components-select-chip-text);vertical-align:baseline;max-width:100%;height:var(--sizes-M-lineHeight);line-height:var(--sizes-M-lineHeight);padding:0 var(--spacings-XS);margin:0 var(--spacings-XXS) var(--spacings-XXS) 0;text-overflow:ellipsis;overflow:hidden;vertical-align:top;white-space:nowrap}:host-context(.textfield.mod-S) .lu-select-value,:host-context(.textfield.mod-S) .lu-select-placeholder{font-size:var(--sizes-S-fontSize);line-height:var(--sizes-XS-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-XS-lineHeight))}:host-context(.textfield.mod-S):after{line-height:var(--sizes-XS-lineHeight)}:host-context(.textfield.mod-S) ::ng-deep .lu-select-value .label{font-size:var(--sizes-S-fontSize);line-height:var(--sizes-S-lineHeight);font-weight:600;margin:0;padding:0;background-color:transparent}:host-context(.textfield.mod-S) ::ng-deep .lu-select-value .chip{height:var(--sizes-XS-lineHeight);line-height:var(--sizes-XS-lineHeight);font-size:var(--sizes-XS-fontSize)}:host-context(.textfield.mod-framed).textfield-input,:host-context(.form.mod-framed).textfield-input{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:var(--palettes-grey-500);bottom:var(--components-select-framed-bottom-padding);right:var(--spacings-XS)}:host-context(.textfield.mod-framed).textfield-input .lu-select-value,:host-context(.form.mod-framed).textfield-input .lu-select-value{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-placeholder,:host-context(.form.mod-framed).textfield-input .lu-select-placeholder{color:var(--palettes-grey-400);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(--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:var(--spacings-S);color:var(--palettes-grey-800)}:host-context(.textfield.mod-filter) .lu-select-suffix{bottom:.4rem}:host-context(.textfield.mod-material):after{color:var(--palettes-grey-500);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: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: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) .lu-select-value{height:auto;align-items:center}:host(.mod-multiple) .lu-select-display-wrapper{overflow:hidden;white-space:normal;margin-bottom:calc(var(--spacings-XXS) * -1)}:host-context(.textfield.mod-outlined).textfield-input:after{color:var(--palettes-grey-600)}:host-context(.textfield.mod-outlined).textfield-input .lu-select-placeholder{color:var(--palettes-grey-400)}:host-context(.textfield.mod-outlined) :host-context(.textfield-input.is-error):after{color:var(--palettes-error-600)}:host-context(.textfield.mod-outlined) :host-context(.textfield-input.is-error) .lu-select-placeholder{color:var(--palettes-error-400)}:host-context(.textfield-input.is-filled) .lu-select-placeholder{display:none}:host-context(.textfield-input.is-filled) .lu-select-value{display:flex;align-items:start}:host-context(.textfield-input.is-clearable) .lu-select-value{padding-right:3rem}:host-context(.textfield-input.is-error):after{color:var(--palettes-error-700)}:host-context(.textfield-input.is-error) .lu-select-placeholder{color:var(--palettes-error-400)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]):after{color:var(--commons-disabled-color)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]) .lu-select-placeholder{color:var(--commons-disabled-placeholder)}.lu-select-value{padding-right:3rem}.lu-select-additionalInformation{font-size:80%;font-style:italic;margin-top:-.25em}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: OverlayModule }, { kind: "component", type: LuInputClearerComponent, selector: "lu-input-clearer", outputs: ["onClear"], exportAs: ["luClearer"] }, { kind: "directive", type: LuInputDisplayerDirective, selector: "[luDisplayer]", inputs: ["luDisplayerMultiple", "multiple"] }, { kind: "component", type: LuOptionPickerAdvancedComponent, selector: "lu-option-picker-advanced", exportAs: ["LuOptionPickerAdvanced"] }, { kind: "component", type: LuUserPagedSearcherComponent, selector: "lu-user-paged-searcher", inputs: ["fields", "filters", "orderBy", "appInstanceId", "operations", "enableFormerEmployees"], outputs: ["clueChange"] }, { kind: "component", type: LuUserHomonymsComponent, selector: "lu-user-homonyms" }, { kind: "component", type: LuOptionItemComponent, selector: "lu-option", inputs: ["selected", "highlighted", "value", "disabled"], outputs: ["onSelect"] }, { kind: "directive", type: LuUserMeOptionDirective, selector: "[luUserMeOption]", inputs: ["luUserMeOptionFields", "luUserMeOptionFilters", "luUserMeOptionOrderBy", "luUserMeOptionAppInstanceId", "luUserMeOptionOperations", "luUserMeOptionClue"] }, { kind: "directive", type: LuForOptionsDirective, selector: "[luForOptions]", inputs: ["luForOptionsTrackBy"] }, { kind: "pipe", type: LuUserDisplayPipe, name: "luUserDisplay" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
829
829
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: LuUserSelectInputComponent, decorators: [{
830
830
  type: Component,
831
831
  args: [{ selector: 'lu-user-select', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
@@ -848,7 +848,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImpor
848
848
  useExisting: forwardRef(() => LuUserSelectInputComponent),
849
849
  multi: true,
850
850
  },
851
- ], 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<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.users }}</span\r\n\t>\r\n\t<ng-template #singleView>{{ values[0] || values | luUserDisplay }}</ng-template>\r\n</ng-template>\r\n<lu-option-picker-advanced [option-comparer]=\"byId\">\r\n\t<header class=\"lu-picker-header\">\r\n\t\t<lu-user-paged-searcher\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[appInstanceId]=\"appInstanceId\"\r\n\t\t\t[operations]=\"operations\"\r\n\t\t\t[enableFormerEmployees]=\"enableFormerEmployees\"\r\n\t\t\t(clueChange)=\"clue = $event\"\r\n\t\t></lu-user-paged-searcher>\r\n\t</header>\r\n\t<lu-user-homonyms></lu-user-homonyms>\r\n\t<lu-option\r\n\t\t*luUserMeOption=\"\r\n\t\t\tlet user;\r\n\t\t\tfields: fields;\r\n\t\t\tfilters: filters;\r\n\t\t\torderBy: orderBy;\r\n\t\t\tappInstanceId: appInstanceId;\r\n\t\t\toperations: operations;\r\n\t\t\tclue: clue\r\n\t\t\"\r\n\t\t[value]=\"user\"\r\n\t>\r\n\t\t<div>\r\n\t\t\t<b>{{ intl.me }} {{ user | luUserDisplay: searchFormat }}</b>\r\n\t\t</div>\r\n\t\t<div class=\"lu-select-additionalInformation\" *ngIf=\"user.additionalInformation\">({{ user.additionalInformation }})</div>\r\n\t</lu-option>\r\n\r\n\t<lu-option *luForOptions=\"let user\" [value]=\"user\">\r\n\t\t<div>{{ user | luUserDisplay: searchFormat }}</div>\r\n\t\t<div class=\"lu-select-additionalInformation\" *ngIf=\"user.additionalInformation\">({{ user.additionalInformation }})</div>\r\n\t</lu-option>\r\n</lu-option-picker-advanced>\r\n", styles: [":root{--components-options-item-padding-vertical: var(--spacings-XS);--components-options-item-padding-horizontal: var(--spacings-XS);--components-options-item-multiple-padding: var(--spacings-L);--components-options-item-icon-color: var(--palettes-grey-800);--components-options-checkbox-left: .5rem;--components-options-checkbox-size: 1rem;--components-options-checkbox-color: var(--palettes-primary-700);--components-options-checkbox-border-radius: var(--commons-borderRadius-M);--components-options-checkbox-border-color: var(--palettes-grey-700);--components-options-establishment-multiple-padding: var(--spacings-M)}:host{--components-select-default-palette-50: var(--palettes-primary-50);--components-select-default-palette-100: var(--palettes-primary-100);--components-select-default-palette-200: var(--palettes-primary-200);--components-select-default-palette-300: var(--palettes-primary-300);--components-select-default-palette-400: var(--palettes-primary-400);--components-select-default-palette-500: var(--palettes-primary-500);--components-select-default-palette-600: var(--palettes-primary-600);--components-select-default-palette-700: var(--palettes-primary-700);--components-select-default-palette-800: var(--palettes-primary-800);--components-select-default-palette-900: var(--palettes-primary-900);--components-select-chip-background: var(--palettes-primary-700);--components-select-chip-text: var(--colors-white-color);--components-select-input-padding-horizontal: var(--spacings-XS);--components-select-input-padding-vertical: var(--spacings-XS);--components-select-framed-color: var(--palettes-grey-500);--components-select-framed-color50: var(--palettes-grey-50);--components-select-framed-see-through: var(--palettes-grey-50);--components-select-framed-text: var(--palettes-grey-800);--components-select-framed-placeholder: #cccccc;--components-select-framed-side-padding: var(--spacings-S);--components-select-framed-top-padding: var(--spacings-L);--components-select-framed-bottom-padding: var(--spacings-S);--components-select-framed-label-top-offset: var(--spacings-XS);cursor:pointer;outline:none;padding:0}:host:after{display:inline-block;vertical-align:text-bottom;font-style:normal;font-family:Lucca icons;color:var(--palettes-700, var(--components-select-default-palette-700));bottom:var(--components-select-input-padding-vertical);font-size:1.2rem;line-height:1.4rem;pointer-events:none;position:absolute;right:var(--components-select-input-padding-horizontal)}@supports (content: \"*\"/\"\"){:host:after{content:\"\\e97c\"/\"\"}}@supports not (content: \"*\"/\"\"){:host:after{content:\"\\e97c\"}}: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:var(--sizes-M-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-M-lineHeight));padding:var(--components-select-input-padding-vertical) 2.5rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all var(--commons-animations-durations-standard);display:none}.lu-select-placeholder{color:var(--palettes-400, var(--components-select-default-palette-400));line-height:var(--sizes-M-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-M-lineHeight));padding:var(--components-select-input-padding-vertical) 2.5rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all var(--commons-animations-durations-standard);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lu-select-suffix{position:absolute;bottom:var(--spacings-XS);right:1.6rem}::ng-deep .lu-select-value .label{padding:var(--spacings-XXS) var(--spacings-XS);margin-left:0}::ng-deep .lu-select-value .chip{background-color:var(--components-select-chip-background);color:var(--components-select-chip-text);vertical-align:baseline;max-width:100%;height:var(--sizes-M-lineHeight);line-height:var(--sizes-M-lineHeight);padding:0 var(--spacings-XS);margin:0 var(--spacings-XXS) var(--spacings-XXS) 0;text-overflow:ellipsis;overflow:hidden;vertical-align:top;white-space:nowrap}:host-context(.textfield.mod-S) .lu-select-value,:host-context(.textfield.mod-S) .lu-select-placeholder{font-size:var(--sizes-S-fontSize);line-height:var(--sizes-XS-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-XS-lineHeight))}:host-context(.textfield.mod-S):after{line-height:var(--sizes-XS-lineHeight)}:host-context(.textfield.mod-S) ::ng-deep .lu-select-value .label{font-size:var(--sizes-S-fontSize);line-height:var(--sizes-S-lineHeight);font-weight:600;margin:0;padding:0;background-color:transparent}:host-context(.textfield.mod-S) ::ng-deep .lu-select-value .chip{height:var(--sizes-XS-lineHeight);line-height:var(--sizes-XS-lineHeight);font-size:var(--sizes-XS-fontSize)}:host-context(.textfield.mod-framed).textfield-input,:host-context(.form.mod-framed).textfield-input{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:var(--palettes-grey-500);bottom:var(--components-select-framed-bottom-padding);right:var(--spacings-XS)}:host-context(.textfield.mod-framed).textfield-input .lu-select-value,:host-context(.form.mod-framed).textfield-input .lu-select-value{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-placeholder,:host-context(.form.mod-framed).textfield-input .lu-select-placeholder{color:var(--palettes-grey-400);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(--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:var(--spacings-S);color:var(--palettes-grey-800)}:host-context(.textfield.mod-filter) .lu-select-suffix{bottom:.4rem}:host-context(.textfield.mod-material):after{color:var(--palettes-grey-500);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: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: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) .lu-select-value{height:auto;align-items:center}:host(.mod-multiple) .lu-select-display-wrapper{overflow:hidden;white-space:normal;margin-bottom:calc(var(--spacings-XXS) * -1)}:host-context(.textfield.mod-outlined).textfield-input:after{color:var(--palettes-grey-600)}:host-context(.textfield.mod-outlined).textfield-input .lu-select-placeholder{color:var(--palettes-grey-400)}:host-context(.textfield.mod-outlined) :host-context(.textfield-input.is-error):after{color:var(--palettes-error-600)}:host-context(.textfield.mod-outlined) :host-context(.textfield-input.is-error) .lu-select-placeholder{color:var(--palettes-error-400)}:host-context(.textfield-input.is-filled) .lu-select-placeholder{display:none}:host-context(.textfield-input.is-filled) .lu-select-value{display:flex;align-items:start}:host-context(.textfield-input.is-clearable) .lu-select-value{padding-right:2.5rem}:host-context(.textfield-input.is-error):after{color:var(--palettes-error-700)}:host-context(.textfield-input.is-error) .lu-select-placeholder{color:var(--palettes-error-400)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]):after{color:var(--commons-disabled-color)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]) .lu-select-placeholder{color:var(--commons-disabled-placeholder)}.lu-select-value{padding-right:2.5rem}.lu-select-additionalInformation{font-size:80%;font-style:italic;margin-top:-.25em}\n"] }]
851
+ ], 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<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.users }}</span\r\n\t>\r\n\t<ng-template #singleView>{{ values[0] || values | luUserDisplay }}</ng-template>\r\n</ng-template>\r\n<lu-option-picker-advanced [option-comparer]=\"byId\">\r\n\t<header class=\"lu-picker-header\">\r\n\t\t<lu-user-paged-searcher\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[appInstanceId]=\"appInstanceId\"\r\n\t\t\t[operations]=\"operations\"\r\n\t\t\t[enableFormerEmployees]=\"enableFormerEmployees\"\r\n\t\t\t(clueChange)=\"clue = $event\"\r\n\t\t></lu-user-paged-searcher>\r\n\t</header>\r\n\t<lu-user-homonyms></lu-user-homonyms>\r\n\t<lu-option\r\n\t\t*luUserMeOption=\"\r\n\t\t\tlet user;\r\n\t\t\tfields: fields;\r\n\t\t\tfilters: filters;\r\n\t\t\torderBy: orderBy;\r\n\t\t\tappInstanceId: appInstanceId;\r\n\t\t\toperations: operations;\r\n\t\t\tclue: clue\r\n\t\t\"\r\n\t\t[value]=\"user\"\r\n\t>\r\n\t\t<div>\r\n\t\t\t<b>{{ intl.me }} {{ user | luUserDisplay: searchFormat }}</b>\r\n\t\t</div>\r\n\t\t<div class=\"lu-select-additionalInformation\" *ngIf=\"user.additionalInformation\">({{ user.additionalInformation }})</div>\r\n\t</lu-option>\r\n\r\n\t<lu-option *luForOptions=\"let user\" [value]=\"user\">\r\n\t\t<div>{{ user | luUserDisplay: searchFormat }}</div>\r\n\t\t<div class=\"lu-select-additionalInformation\" *ngIf=\"user.additionalInformation\">({{ user.additionalInformation }})</div>\r\n\t</lu-option>\r\n</lu-option-picker-advanced>\r\n", styles: [":root{--components-options-item-padding-vertical: var(--spacings-XS);--components-options-item-padding-horizontal: var(--spacings-XS);--components-options-item-multiple-padding: var(--spacings-L);--components-options-item-icon-color: var(--palettes-grey-800);--components-options-checkbox-left: .5rem;--components-options-checkbox-size: 1rem;--components-options-checkbox-color: var(--palettes-primary-700);--components-options-checkbox-border-radius: var(--commons-borderRadius-M);--components-options-checkbox-border-color: var(--palettes-grey-700);--components-options-establishment-multiple-padding: var(--spacings-M)}:host{--components-select-chip-background: var(--palettes-primary-700);--components-select-chip-text: var(--colors-white-color);--components-select-input-padding-horizontal: var(--spacings-XS);--components-select-input-padding-vertical: var(--spacings-XS);--components-select-framed-color: var(--palettes-grey-500);--components-select-framed-color50: var(--palettes-grey-50);--components-select-framed-see-through: var(--palettes-grey-50);--components-select-framed-text: var(--palettes-grey-800);--components-select-framed-placeholder: #cccccc;--components-select-framed-side-padding: var(--spacings-S);--components-select-framed-top-padding: var(--spacings-L);--components-select-framed-bottom-padding: var(--spacings-S);--components-select-framed-label-top-offset: var(--spacings-XS);cursor:pointer;outline:none;padding:0}:host:after{display:inline-block;vertical-align:text-bottom;font-style:normal;font-family:Lucca icons;color:var(--palettes-700, var(--palettes-primary-700));bottom:var(--components-select-input-padding-vertical);font-size:1.2rem;line-height:1.4rem;pointer-events:none;position:absolute;right:var(--components-select-input-padding-horizontal)}@supports (content: \"*\"/\"\"){:host:after{content:\"\\e97c\"/\"\"}}@supports not (content: \"*\"/\"\"){:host:after{content:\"\\e97c\"}}: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:var(--sizes-M-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-M-lineHeight));padding:var(--components-select-input-padding-vertical) 3rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all var(--commons-animations-durations-standard);display:none}.lu-select-placeholder{color:var(--palettes-400, var(--palettes-primary-400));line-height:var(--sizes-M-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-M-lineHeight));padding:var(--components-select-input-padding-vertical) 3rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all var(--commons-animations-durations-standard);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lu-select-suffix{position:absolute;bottom:var(--spacings-XS);right:1.6rem}::ng-deep .lu-select-value .label{padding:var(--spacings-XXS) var(--spacings-XS);margin-left:0}::ng-deep .lu-select-value .chip{background-color:var(--components-select-chip-background);color:var(--components-select-chip-text);vertical-align:baseline;max-width:100%;height:var(--sizes-M-lineHeight);line-height:var(--sizes-M-lineHeight);padding:0 var(--spacings-XS);margin:0 var(--spacings-XXS) var(--spacings-XXS) 0;text-overflow:ellipsis;overflow:hidden;vertical-align:top;white-space:nowrap}:host-context(.textfield.mod-S) .lu-select-value,:host-context(.textfield.mod-S) .lu-select-placeholder{font-size:var(--sizes-S-fontSize);line-height:var(--sizes-XS-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-XS-lineHeight))}:host-context(.textfield.mod-S):after{line-height:var(--sizes-XS-lineHeight)}:host-context(.textfield.mod-S) ::ng-deep .lu-select-value .label{font-size:var(--sizes-S-fontSize);line-height:var(--sizes-S-lineHeight);font-weight:600;margin:0;padding:0;background-color:transparent}:host-context(.textfield.mod-S) ::ng-deep .lu-select-value .chip{height:var(--sizes-XS-lineHeight);line-height:var(--sizes-XS-lineHeight);font-size:var(--sizes-XS-fontSize)}:host-context(.textfield.mod-framed).textfield-input,:host-context(.form.mod-framed).textfield-input{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:var(--palettes-grey-500);bottom:var(--components-select-framed-bottom-padding);right:var(--spacings-XS)}:host-context(.textfield.mod-framed).textfield-input .lu-select-value,:host-context(.form.mod-framed).textfield-input .lu-select-value{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-placeholder,:host-context(.form.mod-framed).textfield-input .lu-select-placeholder{color:var(--palettes-grey-400);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(--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:var(--spacings-S);color:var(--palettes-grey-800)}:host-context(.textfield.mod-filter) .lu-select-suffix{bottom:.4rem}:host-context(.textfield.mod-material):after{color:var(--palettes-grey-500);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: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: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) .lu-select-value{height:auto;align-items:center}:host(.mod-multiple) .lu-select-display-wrapper{overflow:hidden;white-space:normal;margin-bottom:calc(var(--spacings-XXS) * -1)}:host-context(.textfield.mod-outlined).textfield-input:after{color:var(--palettes-grey-600)}:host-context(.textfield.mod-outlined).textfield-input .lu-select-placeholder{color:var(--palettes-grey-400)}:host-context(.textfield.mod-outlined) :host-context(.textfield-input.is-error):after{color:var(--palettes-error-600)}:host-context(.textfield.mod-outlined) :host-context(.textfield-input.is-error) .lu-select-placeholder{color:var(--palettes-error-400)}:host-context(.textfield-input.is-filled) .lu-select-placeholder{display:none}:host-context(.textfield-input.is-filled) .lu-select-value{display:flex;align-items:start}:host-context(.textfield-input.is-clearable) .lu-select-value{padding-right:3rem}:host-context(.textfield-input.is-error):after{color:var(--palettes-error-700)}:host-context(.textfield-input.is-error) .lu-select-placeholder{color:var(--palettes-error-400)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]):after{color:var(--commons-disabled-color)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]) .lu-select-placeholder{color:var(--commons-disabled-placeholder)}.lu-select-value{padding-right:3rem}.lu-select-additionalInformation{font-size:80%;font-style:italic;margin-top:-.25em}\n"] }]
852
852
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1$1.Overlay }, { type: i0.ElementRef }, { type: i0.ViewContainerRef }, { type: i0.Renderer2 }]; }, propDecorators: { inputPlaceholder: [{
853
853
  type: Input,
854
854
  args: ['placeholder']