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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/fesm2022/lucca-front-ng-api.mjs +160 -85
  2. package/fesm2022/lucca-front-ng-api.mjs.map +1 -1
  3. package/fesm2022/lucca-front-ng-clear.mjs +7 -6
  4. package/fesm2022/lucca-front-ng-clear.mjs.map +1 -1
  5. package/fesm2022/lucca-front-ng-core-select-api.mjs +37 -21
  6. package/fesm2022/lucca-front-ng-core-select-api.mjs.map +1 -1
  7. package/fesm2022/lucca-front-ng-core-select-user.mjs +2 -2
  8. package/fesm2022/lucca-front-ng-core-select-user.mjs.map +1 -1
  9. package/fesm2022/lucca-front-ng-core-select.mjs +229 -135
  10. package/fesm2022/lucca-front-ng-core-select.mjs.map +1 -1
  11. package/fesm2022/lucca-front-ng-core.mjs +1 -12
  12. package/fesm2022/lucca-front-ng-core.mjs.map +1 -1
  13. package/fesm2022/lucca-front-ng-date.mjs +124 -100
  14. package/fesm2022/lucca-front-ng-date.mjs.map +1 -1
  15. package/fesm2022/lucca-front-ng-date2.mjs +37 -25
  16. package/fesm2022/lucca-front-ng-date2.mjs.map +1 -1
  17. package/fesm2022/lucca-front-ng-department.mjs +0 -2
  18. package/fesm2022/lucca-front-ng-department.mjs.map +1 -1
  19. package/fesm2022/lucca-front-ng-divider.mjs +6 -4
  20. package/fesm2022/lucca-front-ng-divider.mjs.map +1 -1
  21. package/fesm2022/lucca-front-ng-dropdown.mjs +34 -31
  22. package/fesm2022/lucca-front-ng-dropdown.mjs.map +1 -1
  23. package/fesm2022/lucca-front-ng-establishment.mjs +83 -49
  24. package/fesm2022/lucca-front-ng-establishment.mjs.map +1 -1
  25. package/fesm2022/lucca-front-ng-filter-pills.mjs +18 -8
  26. package/fesm2022/lucca-front-ng-filter-pills.mjs.map +1 -1
  27. package/fesm2022/lucca-front-ng-form-field.mjs +10 -7
  28. package/fesm2022/lucca-front-ng-form-field.mjs.map +1 -1
  29. package/fesm2022/lucca-front-ng-formly.mjs +2 -3
  30. package/fesm2022/lucca-front-ng-formly.mjs.map +1 -1
  31. package/fesm2022/lucca-front-ng-forms.mjs +46 -5
  32. package/fesm2022/lucca-front-ng-forms.mjs.map +1 -1
  33. package/fesm2022/lucca-front-ng-input.mjs +0 -1
  34. package/fesm2022/lucca-front-ng-input.mjs.map +1 -1
  35. package/fesm2022/lucca-front-ng-modal.mjs +15 -11
  36. package/fesm2022/lucca-front-ng-modal.mjs.map +1 -1
  37. package/fesm2022/lucca-front-ng-multi-select.mjs +115 -91
  38. package/fesm2022/lucca-front-ng-multi-select.mjs.map +1 -1
  39. package/fesm2022/lucca-front-ng-number-format.mjs +11 -7
  40. package/fesm2022/lucca-front-ng-number-format.mjs.map +1 -1
  41. package/fesm2022/lucca-front-ng-option.mjs +37 -30
  42. package/fesm2022/lucca-front-ng-option.mjs.map +1 -1
  43. package/fesm2022/lucca-front-ng-popover.mjs +238 -123
  44. package/fesm2022/lucca-front-ng-popover.mjs.map +1 -1
  45. package/fesm2022/lucca-front-ng-popover2.mjs +65 -37
  46. package/fesm2022/lucca-front-ng-popover2.mjs.map +1 -1
  47. package/fesm2022/lucca-front-ng-select.mjs +123 -76
  48. package/fesm2022/lucca-front-ng-select.mjs.map +1 -1
  49. package/fesm2022/lucca-front-ng-sidepanel.mjs.map +1 -1
  50. package/fesm2022/lucca-front-ng-simple-select.mjs +13 -13
  51. package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -1
  52. package/fesm2022/lucca-front-ng-time.mjs +8 -6
  53. package/fesm2022/lucca-front-ng-time.mjs.map +1 -1
  54. package/fesm2022/lucca-front-ng-user-popover.mjs +13 -9
  55. package/fesm2022/lucca-front-ng-user-popover.mjs.map +1 -1
  56. package/fesm2022/lucca-front-ng-user.mjs +93 -59
  57. package/fesm2022/lucca-front-ng-user.mjs.map +1 -1
  58. package/package.json +4 -4
  59. package/types/lucca-front-ng-api.d.ts +62 -62
  60. package/types/lucca-front-ng-clear.d.ts +2 -3
  61. package/types/lucca-front-ng-core-select-api.d.ts +22 -22
  62. package/types/lucca-front-ng-core-select.d.ts +139 -140
  63. package/types/lucca-front-ng-core.d.ts +2 -7
  64. package/types/lucca-front-ng-date.d.ts +26 -28
  65. package/types/lucca-front-ng-divider.d.ts +1 -1
  66. package/types/lucca-front-ng-dropdown.d.ts +4 -5
  67. package/types/lucca-front-ng-establishment.d.ts +19 -18
  68. package/types/lucca-front-ng-form-field.d.ts +3 -2
  69. package/types/lucca-front-ng-forms.d.ts +32 -12
  70. package/types/lucca-front-ng-modal.d.ts +2 -2
  71. package/types/lucca-front-ng-multi-select.d.ts +37 -36
  72. package/types/lucca-front-ng-option.d.ts +10 -10
  73. package/types/lucca-front-ng-popover.d.ts +46 -52
  74. package/types/lucca-front-ng-popover2.d.ts +11 -13
  75. package/types/lucca-front-ng-segmented-control.d.ts +4 -2
  76. package/types/lucca-front-ng-select.d.ts +28 -30
  77. package/types/lucca-front-ng-simple-select.d.ts +3 -3
  78. package/types/lucca-front-ng-time.d.ts +1 -1
  79. package/types/lucca-front-ng-user-popover.d.ts +3 -4
  80. package/types/lucca-front-ng-user.d.ts +20 -20
@@ -109,7 +109,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
109
109
  type: Injectable
110
110
  }], ctorParameters: () => [{ type: i1.HttpClient }] });
111
111
 
112
- /* eslint-disable @angular-eslint/prefer-signals */
113
112
  /**
114
113
  * @deprecated
115
114
  */
@@ -230,7 +229,6 @@ const LU_DEPARTMENT_SELECT_INPUT_TRANSLATIONS = new InjectionToken('LuDepartment
230
229
  });
231
230
  const luDepartmentSelectInputTranslations = Translations;
232
231
 
233
- /* eslint-disable @angular-eslint/prefer-signals */
234
232
  /**
235
233
  * @deprecated
236
234
  */
@@ -1 +1 @@
1
- {"version":3,"file":"lucca-front-ng-department.mjs","sources":["../../../packages/ng/department/service/department-service.model.ts","../../../packages/ng/department/service/department-v3.service.ts","../../../packages/ng/department/service/department-v4.service.ts","../../../packages/ng/department/select/feeder/department-feeder.component.ts","../../../packages/ng/department/select/input/translations.ts","../../../packages/ng/department/select/input/department-select-input.translate.ts","../../../packages/ng/department/select/input/department-select-input.component.ts","../../../packages/ng/department/select/input/department-select-input.component.html","../../../packages/ng/department/select/input/department-select-input.module.ts","../../../packages/ng/department/select/department-select.module.ts","../../../packages/ng/department/department.module.ts","../../../packages/ng/department/lucca-front-ng-department.ts"],"sourcesContent":["import { ILuTree } from '@lucca-front/ng/core';\nimport { ILuDepartment } from '../department.model';\nimport { Observable } from 'rxjs';\nimport { ILuApiService, ALuApiService } from '@lucca-front/ng/api';\n\nexport interface ILuDepartmentService<D extends ILuDepartment = ILuDepartment> extends ILuApiService<D> {\n\tgetTrees(): Observable<ILuTree<D>[]>;\n}\nexport abstract class ALuDepartmentService<D extends ILuDepartment = ILuDepartment> extends ALuApiService<D> implements ILuDepartmentService<D> {\n\tabstract getTrees(): Observable<ILuTree<D>[]>;\n}\n","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { ILuApiResponse, LuApiV3Service } from '@lucca-front/ng/api';\nimport { ILuTree } from '@lucca-front/ng/core';\nimport { Observable } from 'rxjs';\nimport { map } from 'rxjs/operators';\nimport { ILuDepartment } from '../department.model';\nimport { ILuDepartmentService } from './department-service.model';\n\nexport interface IApiDepartment {\n\tnode: ILuDepartment;\n\tchildren: IApiDepartment[];\n}\n\n/**\n * @deprecated use {LuDepartmentService} instead.\n */\n@Injectable()\nexport class LuDepartmentV3Service extends LuApiV3Service<ILuDepartment> implements ILuDepartmentService<ILuDepartment> {\n\tprotected override _api = `/api/v3/departments`;\n\tprotected _appInstanceId: number | string;\n\tset appInstanceId(appInstanceId: number | string) {\n\t\tif (appInstanceId) {\n\t\t\tthis._appInstanceId = appInstanceId;\n\t\t}\n\t}\n\tprotected _operations: number[] = [];\n\tset operations(operations: number[]) {\n\t\tthis._operations = operations;\n\t}\n\n\tconstructor(protected override _http: HttpClient) {\n\t\tsuper(_http);\n\t}\n\n\tgetTrees() {\n\t\tlet call: Observable<ILuApiResponse<IApiDepartment>>;\n\t\tif (this._appInstanceId && this._operations?.length) {\n\t\t\tcall = this._http.get<ILuApiResponse<IApiDepartment>>(\n\t\t\t\t`/api/v3/departments/scopedtree?fields=id,name&${[`appInstanceId=${this._appInstanceId}`, `operations=${this._operations.join(',')}`, this._filters.join(',')].filter((f) => !!f).join('&')}`,\n\t\t\t);\n\t\t} else {\n\t\t\tcall = this._http.get<ILuApiResponse<IApiDepartment>>(`/api/v3/departments/tree?fields=id,name&${this._filters.join(',')}`);\n\t\t}\n\t\treturn call.pipe(\n\t\t\tmap((response: ILuApiResponse<IApiDepartment>): ILuTree<ILuDepartment>[] => {\n\t\t\t\tconst tree = response.data;\n\t\t\t\treturn tree?.children.map((c) => this.format(c)) ?? [];\n\t\t\t}),\n\t\t);\n\t}\n\n\tprivate format(t: IApiDepartment): ILuTree<ILuDepartment> {\n\t\treturn { value: t.node, children: t.children.map((c) => this.format(c)) };\n\t}\n}\n","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { Params } from '@angular/router';\nimport { ILuTree } from '@lucca-front/ng/core';\nimport { map } from 'rxjs/operators';\nimport { ILuDepartment } from '../department.model';\nimport { IApiDepartment } from './department-v3.service';\n\n@Injectable()\nexport class LuDepartmentV4Service {\n\tapi = `/organization/structure/api/departments`;\n\tprotected _filters: string[] = [];\n\tset filters(filters: string[]) {\n\t\tthis._filters = filters ?? [];\n\t}\n\tprotected _appInstanceId: number | string;\n\tset appInstanceId(appInstanceId: number | string) {\n\t\tif (appInstanceId) {\n\t\t\tthis._appInstanceId = appInstanceId;\n\t\t}\n\t}\n\tprotected _operations: number[] = [];\n\tset operations(operations: number[]) {\n\t\tthis._operations = operations;\n\t}\n\n\tprotected _uniqueOperation: number;\n\tset uniqueOperation(uniqueOperation: number) {\n\t\tthis._uniqueOperation = uniqueOperation;\n\t}\n\n\tconstructor(private _http: HttpClient) {}\n\n\tgetTrees() {\n\t\tlet params: Params = this._filters.reduce((acc, curr) => {\n\t\t\tconst split = curr.split('=');\n\t\t\treturn { ...acc, [split[0]]: split[1] };\n\t\t}, {});\n\n\t\tif (this._appInstanceId && this._operations?.length) {\n\t\t\tparams = {\n\t\t\t\t...params,\n\t\t\t\tappInstanceId: this._appInstanceId,\n\t\t\t\toperations: this._operations.join(','),\n\t\t\t};\n\t\t} else if (this._uniqueOperation) {\n\t\t\tparams = { ...params, uniqueOperation: this._uniqueOperation };\n\t\t}\n\n\t\tconst call = this._http.get<IApiDepartment>(`${this.api}/tree`, { params });\n\n\t\treturn call.pipe(\n\t\t\tmap((tree: IApiDepartment): ILuTree<ILuDepartment>[] => {\n\t\t\t\treturn tree?.children.map((c) => this.format(c)) ?? [];\n\t\t\t}),\n\t\t);\n\t}\n\n\tprivate format(t: IApiDepartment): ILuTree<ILuDepartment> {\n\t\treturn { value: t.node, children: t.children.map((c) => this.format(c)) };\n\t}\n}\n","import { ChangeDetectionStrategy, Component, forwardRef, Inject, Input, Optional, Self, SkipSelf } from '@angular/core';\nimport { ALuOnOpenSubscriber, ILuOnOpenSubscriber, ILuTree } from '@lucca-front/ng/core';\nimport { ALuTreeOptionOperator, ILuTreeOptionOperator } from '@lucca-front/ng/option';\nimport { Observable, Subject } from 'rxjs';\nimport { ILuDepartment } from '../../department.model';\nimport { ALuDepartmentService, LuDepartmentV4Service } from '../../service/index';\n\n/* eslint-disable @angular-eslint/prefer-signals */\n/**\n * @deprecated\n */\n@Component({\n\tselector: 'lu-department-feeder',\n\ttemplate: '',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tproviders: [\n\t\t{\n\t\t\tprovide: ALuTreeOptionOperator,\n\t\t\tuseExisting: forwardRef(() => LuDepartmentFeederComponent),\n\t\t\tmulti: true,\n\t\t},\n\t\t{\n\t\t\tprovide: ALuDepartmentService,\n\t\t\tuseClass: LuDepartmentV4Service,\n\t\t},\n\t\t{\n\t\t\tprovide: ALuOnOpenSubscriber,\n\t\t\tuseExisting: forwardRef(() => LuDepartmentFeederComponent),\n\t\t\tmulti: true,\n\t\t},\n\t],\n})\nexport class LuDepartmentFeederComponent extends ALuTreeOptionOperator<ILuDepartment> implements ILuTreeOptionOperator<ILuDepartment>, ILuOnOpenSubscriber {\n\tinOptions$: Observable<ILuTree<ILuDepartment>[]>;\n\toutOptions$: Observable<ILuTree<ILuDepartment>[]>;\n\tprotected readonly _out$ = new Subject<ILuTree<ILuDepartment>[]>();\n\tprotected _service: LuDepartmentV4Service;\n\t@Input() set appInstanceId(appInstanceId: number | string) {\n\t\tthis._service.appInstanceId = appInstanceId;\n\t}\n\t@Input() set operations(operations: number[]) {\n\t\tthis._service.operations = operations;\n\t}\n\n\t@Input() set filters(filters: string[]) {\n\t\tthis._service.filters = filters ?? [];\n\t}\n\n\t@Input() set uniqueOperation(uniqueOperation: number) {\n\t\tthis._service.uniqueOperation = uniqueOperation;\n\t}\n\n\tconstructor(\n\t\t@Inject(ALuDepartmentService)\n\t\t@Optional()\n\t\t@SkipSelf()\n\t\thostService: LuDepartmentV4Service,\n\t\t@Inject(ALuDepartmentService) @Self() selfService: LuDepartmentV4Service,\n\t) {\n\t\tsuper();\n\t\tthis._service = hostService || selfService;\n\t\tthis.outOptions$ = this._out$.asObservable();\n\t}\n\tonOpen() {\n\t\tthis._service.getTrees().subscribe((trees) => this._out$.next(trees));\n\t}\n}\n","export const Translations = {\n\tpt: {\n\t\tdepartments: 'departamentos',\n\t},\n\t'nl-BE': {\n\t\tdepartments: 'afdelingen',\n\t},\n\tnl: {\n\t\tdepartments: 'afdelingen',\n\t},\n\tit: {\n\t\tdepartments: 'dipartimenti',\n\t},\n\tde: {\n\t\tdepartments: 'Abteilungen',\n\t},\n\tfr: {\n\t\tdepartments: 'départements',\n\t},\n\tes: {\n\t\tdepartments: 'departamentos',\n\t},\n\ten: {\n\t\tdepartments: 'departments',\n\t},\n};\n","import { InjectionToken } from '@angular/core';\nimport { LuTranslation } from '@lucca-front/ng/core';\nimport { Translations } from './translations';\n\nexport const LU_DEPARTMENT_SELECT_INPUT_TRANSLATIONS = new InjectionToken('LuDepartmentSelectTranslations', {\n\tfactory: () => luDepartmentSelectInputTranslations,\n});\n\nexport interface ILuDepartmentSelectInputLabel {\n\tdepartments: string;\n}\n\nexport const luDepartmentSelectInputTranslations: LuTranslation<ILuDepartmentSelectInputLabel> = Translations;\n","import { A11yModule } from '@angular/cdk/a11y';\nimport { Overlay, OverlayModule } from '@angular/cdk/overlay';\nimport { AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, forwardRef, input, Input, Renderer2, ViewContainerRef } from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { ClearComponent } from '@lucca-front/ng/clear';\nimport { intlInputOptions } from '@lucca-front/ng/core';\nimport { LuInputDisplayerDirective } from '@lucca-front/ng/input';\nimport {\n\tILuTreeOptionPickerPanel,\n\tLuForTreeOptionsDirective,\n\tLuOptionComparer,\n\tLuTreeOptionItemComponent,\n\tLuTreeOptionPickerAdvancedComponent,\n\tLuTreeOptionSearcherComponent,\n\tLuTreeOptionSelectAllComponent,\n} from '@lucca-front/ng/option';\nimport { ILuInputWithPicker } from '@lucca-front/ng/picker';\nimport { ALuSelectInputComponent } from '@lucca-front/ng/select';\nimport { LuDepartmentFeederComponent } from '../feeder';\nimport { LU_DEPARTMENT_SELECT_INPUT_TRANSLATIONS } from './department-select-input.translate';\n\n/* eslint-disable @angular-eslint/prefer-signals */\n/**\n * @deprecated\n */\n@Component({\n\tselector: 'lu-department-select',\n\ttemplateUrl: './department-select-input.component.html',\n\tstyleUrl: './department-select-input.component.scss',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\timports: [\n\t\tOverlayModule,\n\t\tA11yModule,\n\t\tClearComponent,\n\t\tLuTreeOptionPickerAdvancedComponent,\n\t\tLuDepartmentFeederComponent,\n\t\tLuTreeOptionSearcherComponent,\n\t\tLuTreeOptionSelectAllComponent,\n\t\tLuTreeOptionItemComponent,\n\t\tLuForTreeOptionsDirective,\n\t\tLuInputDisplayerDirective,\n\t],\n\tproviders: [\n\t\t{\n\t\t\tprovide: NG_VALUE_ACCESSOR,\n\t\t\tuseExisting: forwardRef(() => LuDepartmentSelectInputComponent),\n\t\t\tmulti: true,\n\t\t},\n\t],\n})\nexport class LuDepartmentSelectInputComponent<\n\tD extends import('../../department.model').ILuDepartment = import('../../department.model').ILuDepartment,\n\tP extends ILuTreeOptionPickerPanel<D> = ILuTreeOptionPickerPanel<D>,\n>\n\textends ALuSelectInputComponent<D, P>\n\timplements ControlValueAccessor, ILuInputWithPicker<D>, AfterViewInit\n{\n\tbyId: LuOptionComparer<D> = (option1: D, option2: D) => option1 && option2 && option1.id === option2.id;\n\n\t@Input() appInstanceId: number | string;\n\t@Input() operations: number[];\n\t@Input() filters: string[] = [];\n\t@Input() uniqueOperation: number;\n\n\tpublic readonly intl = input(...intlInputOptions(LU_DEPARTMENT_SELECT_INPUT_TRANSLATIONS));\n\n\tconstructor(\n\t\tprotected override _changeDetectorRef: ChangeDetectorRef,\n\t\tprotected override _overlay: Overlay,\n\t\tprotected override _elementRef: ElementRef<HTMLElement>,\n\t\tprotected override _viewContainerRef: ViewContainerRef,\n\t\tprotected override _renderer: Renderer2,\n\t) {\n\t\tsuper(_changeDetectorRef, _overlay, _elementRef, _viewContainerRef, _renderer);\n\t}\n\n\tsearchFn(o: D, c: string): boolean {\n\t\treturn o.name.toLowerCase().includes(c.toLowerCase());\n\t}\n}\n","<div class=\"lu-select-placeholder\">{{ placeholder }}</div>\n<div class=\"lu-select-value\">\n\t<div class=\"lu-select-display-wrapper\">\n\t\t<ng-container #display />\n\t</div>\n</div>\n<div class=\"lu-select-suffix\">\n\t<lu-clear />\n</div>\n\n<ng-template luDisplayer [luDisplayerMultiple]=\"true\" let-values>\n\t@if (multiple && values?.length > 1) {\n\t\t<span\n\t\t\t><span class=\"numericBadge\">{{ values.length }}</span> {{ intl().departments }}</span\n\t\t>\n\t} @else {\n\t\t{{ (values[0] || values).name }}\n\t}\n</ng-template>\n\n<lu-tree-option-picker-advanced [option-comparer]=\"byId\">\n\t<header class=\"lu-picker-header\" [class.mod-multiple]=\"multiple\">\n\t\t<lu-department-feeder\n\t\t\t[appInstanceId]=\"appInstanceId\"\n\t\t\t[operations]=\"operations\"\n\t\t\t[filters]=\"filters\"\n\t\t\t[uniqueOperation]=\"uniqueOperation\"\n\t\t/>\n\t\t<lu-tree-option-searcher [searchFn]=\"searchFn\" />\n\t\t<lu-tree-option-select-all class=\"option-selector\" />\n\t</header>\n\t<!-- <lu-tree-option-pager /> -->\n\t<lu-tree-option *luForTreeOptions=\"let option\" [tree]=\"option\">\n\t\t<ng-container *luDisplayer=\"let value\">{{ value.name }}</ng-container>\n\t</lu-tree-option>\n</lu-tree-option-picker-advanced>\n","import { NgModule } from '@angular/core';\nimport { LuDepartmentSelectInputComponent } from './department-select-input.component';\n\n/**\n * @deprecated use `LuDepartmentSelectInputComponent` instead\n */\n@NgModule({\n\timports: [LuDepartmentSelectInputComponent],\n\texports: [LuDepartmentSelectInputComponent],\n})\nexport class LuDepartmentSelectInputModule {}\n","import { NgModule } from '@angular/core';\nimport { LuDepartmentFeederComponent } from './feeder';\nimport { LuDepartmentSelectInputComponent } from './input';\n\n/**\n * @deprecated use `LuDepartmentFeederComponent, LuDepartmentSelectInputComponent` instead\n */\n@NgModule({\n\timports: [LuDepartmentFeederComponent, LuDepartmentSelectInputComponent],\n\texports: [LuDepartmentFeederComponent, LuDepartmentSelectInputComponent],\n})\nexport class LuDepartmentSelectModule {}\n","import { NgModule } from '@angular/core';\nimport { LuDepartmentSelectModule } from './select/index';\n\n/**\n * @deprecated use `LuDepartmentFeederComponent, LuDepartmentSelectInputComponent` instead\n */\n@NgModule({\n\timports: [LuDepartmentSelectModule],\n\texports: [LuDepartmentSelectModule],\n})\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O,EAAE,CAAC,wBAAwB,CAAC;oBACnC,OAAO,EAAE,CAAC,wBAAwB,CAAC;AACnC,iBAAA;;;ACTD;;AAEG;;;;"}
1
+ {"version":3,"file":"lucca-front-ng-department.mjs","sources":["../../../packages/ng/department/service/department-service.model.ts","../../../packages/ng/department/service/department-v3.service.ts","../../../packages/ng/department/service/department-v4.service.ts","../../../packages/ng/department/select/feeder/department-feeder.component.ts","../../../packages/ng/department/select/input/translations.ts","../../../packages/ng/department/select/input/department-select-input.translate.ts","../../../packages/ng/department/select/input/department-select-input.component.ts","../../../packages/ng/department/select/input/department-select-input.component.html","../../../packages/ng/department/select/input/department-select-input.module.ts","../../../packages/ng/department/select/department-select.module.ts","../../../packages/ng/department/department.module.ts","../../../packages/ng/department/lucca-front-ng-department.ts"],"sourcesContent":["import { ILuTree } from '@lucca-front/ng/core';\nimport { ILuDepartment } from '../department.model';\nimport { Observable } from 'rxjs';\nimport { ILuApiService, ALuApiService } from '@lucca-front/ng/api';\n\nexport interface ILuDepartmentService<D extends ILuDepartment = ILuDepartment> extends ILuApiService<D> {\n\tgetTrees(): Observable<ILuTree<D>[]>;\n}\nexport abstract class ALuDepartmentService<D extends ILuDepartment = ILuDepartment> extends ALuApiService<D> implements ILuDepartmentService<D> {\n\tabstract getTrees(): Observable<ILuTree<D>[]>;\n}\n","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { ILuApiResponse, LuApiV3Service } from '@lucca-front/ng/api';\nimport { ILuTree } from '@lucca-front/ng/core';\nimport { Observable } from 'rxjs';\nimport { map } from 'rxjs/operators';\nimport { ILuDepartment } from '../department.model';\nimport { ILuDepartmentService } from './department-service.model';\n\nexport interface IApiDepartment {\n\tnode: ILuDepartment;\n\tchildren: IApiDepartment[];\n}\n\n/**\n * @deprecated use {LuDepartmentService} instead.\n */\n@Injectable()\nexport class LuDepartmentV3Service extends LuApiV3Service<ILuDepartment> implements ILuDepartmentService<ILuDepartment> {\n\tprotected override _api = `/api/v3/departments`;\n\tprotected _appInstanceId: number | string;\n\tset appInstanceId(appInstanceId: number | string) {\n\t\tif (appInstanceId) {\n\t\t\tthis._appInstanceId = appInstanceId;\n\t\t}\n\t}\n\tprotected _operations: number[] = [];\n\tset operations(operations: number[]) {\n\t\tthis._operations = operations;\n\t}\n\n\tconstructor(protected override _http: HttpClient) {\n\t\tsuper(_http);\n\t}\n\n\tgetTrees() {\n\t\tlet call: Observable<ILuApiResponse<IApiDepartment>>;\n\t\tif (this._appInstanceId && this._operations?.length) {\n\t\t\tcall = this._http.get<ILuApiResponse<IApiDepartment>>(\n\t\t\t\t`/api/v3/departments/scopedtree?fields=id,name&${[`appInstanceId=${this._appInstanceId}`, `operations=${this._operations.join(',')}`, this._filters.join(',')].filter((f) => !!f).join('&')}`,\n\t\t\t);\n\t\t} else {\n\t\t\tcall = this._http.get<ILuApiResponse<IApiDepartment>>(`/api/v3/departments/tree?fields=id,name&${this._filters.join(',')}`);\n\t\t}\n\t\treturn call.pipe(\n\t\t\tmap((response: ILuApiResponse<IApiDepartment>): ILuTree<ILuDepartment>[] => {\n\t\t\t\tconst tree = response.data;\n\t\t\t\treturn tree?.children.map((c) => this.format(c)) ?? [];\n\t\t\t}),\n\t\t);\n\t}\n\n\tprivate format(t: IApiDepartment): ILuTree<ILuDepartment> {\n\t\treturn { value: t.node, children: t.children.map((c) => this.format(c)) };\n\t}\n}\n","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { Params } from '@angular/router';\nimport { ILuTree } from '@lucca-front/ng/core';\nimport { map } from 'rxjs/operators';\nimport { ILuDepartment } from '../department.model';\nimport { IApiDepartment } from './department-v3.service';\n\n@Injectable()\nexport class LuDepartmentV4Service {\n\tapi = `/organization/structure/api/departments`;\n\tprotected _filters: string[] = [];\n\tset filters(filters: string[]) {\n\t\tthis._filters = filters ?? [];\n\t}\n\tprotected _appInstanceId: number | string;\n\tset appInstanceId(appInstanceId: number | string) {\n\t\tif (appInstanceId) {\n\t\t\tthis._appInstanceId = appInstanceId;\n\t\t}\n\t}\n\tprotected _operations: number[] = [];\n\tset operations(operations: number[]) {\n\t\tthis._operations = operations;\n\t}\n\n\tprotected _uniqueOperation: number;\n\tset uniqueOperation(uniqueOperation: number) {\n\t\tthis._uniqueOperation = uniqueOperation;\n\t}\n\n\tconstructor(private _http: HttpClient) {}\n\n\tgetTrees() {\n\t\tlet params: Params = this._filters.reduce((acc, curr) => {\n\t\t\tconst split = curr.split('=');\n\t\t\treturn { ...acc, [split[0]]: split[1] };\n\t\t}, {});\n\n\t\tif (this._appInstanceId && this._operations?.length) {\n\t\t\tparams = {\n\t\t\t\t...params,\n\t\t\t\tappInstanceId: this._appInstanceId,\n\t\t\t\toperations: this._operations.join(','),\n\t\t\t};\n\t\t} else if (this._uniqueOperation) {\n\t\t\tparams = { ...params, uniqueOperation: this._uniqueOperation };\n\t\t}\n\n\t\tconst call = this._http.get<IApiDepartment>(`${this.api}/tree`, { params });\n\n\t\treturn call.pipe(\n\t\t\tmap((tree: IApiDepartment): ILuTree<ILuDepartment>[] => {\n\t\t\t\treturn tree?.children.map((c) => this.format(c)) ?? [];\n\t\t\t}),\n\t\t);\n\t}\n\n\tprivate format(t: IApiDepartment): ILuTree<ILuDepartment> {\n\t\treturn { value: t.node, children: t.children.map((c) => this.format(c)) };\n\t}\n}\n","import { ChangeDetectionStrategy, Component, forwardRef, Inject, Input, Optional, Self, SkipSelf } from '@angular/core';\nimport { ALuOnOpenSubscriber, ILuOnOpenSubscriber, ILuTree } from '@lucca-front/ng/core';\nimport { ALuTreeOptionOperator, ILuTreeOptionOperator } from '@lucca-front/ng/option';\nimport { Observable, Subject } from 'rxjs';\nimport { ILuDepartment } from '../../department.model';\nimport { ALuDepartmentService, LuDepartmentV4Service } from '../../service/index';\n\n/**\n * @deprecated\n */\n@Component({\n\tselector: 'lu-department-feeder',\n\ttemplate: '',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tproviders: [\n\t\t{\n\t\t\tprovide: ALuTreeOptionOperator,\n\t\t\tuseExisting: forwardRef(() => LuDepartmentFeederComponent),\n\t\t\tmulti: true,\n\t\t},\n\t\t{\n\t\t\tprovide: ALuDepartmentService,\n\t\t\tuseClass: LuDepartmentV4Service,\n\t\t},\n\t\t{\n\t\t\tprovide: ALuOnOpenSubscriber,\n\t\t\tuseExisting: forwardRef(() => LuDepartmentFeederComponent),\n\t\t\tmulti: true,\n\t\t},\n\t],\n})\nexport class LuDepartmentFeederComponent extends ALuTreeOptionOperator<ILuDepartment> implements ILuTreeOptionOperator<ILuDepartment>, ILuOnOpenSubscriber {\n\tinOptions$: Observable<ILuTree<ILuDepartment>[]>;\n\toutOptions$: Observable<ILuTree<ILuDepartment>[]>;\n\tprotected readonly _out$ = new Subject<ILuTree<ILuDepartment>[]>();\n\tprotected _service: LuDepartmentV4Service;\n\t@Input() set appInstanceId(appInstanceId: number | string) {\n\t\tthis._service.appInstanceId = appInstanceId;\n\t}\n\t@Input() set operations(operations: number[]) {\n\t\tthis._service.operations = operations;\n\t}\n\n\t@Input() set filters(filters: string[]) {\n\t\tthis._service.filters = filters ?? [];\n\t}\n\n\t@Input() set uniqueOperation(uniqueOperation: number) {\n\t\tthis._service.uniqueOperation = uniqueOperation;\n\t}\n\n\tconstructor(\n\t\t@Inject(ALuDepartmentService)\n\t\t@Optional()\n\t\t@SkipSelf()\n\t\thostService: LuDepartmentV4Service,\n\t\t@Inject(ALuDepartmentService) @Self() selfService: LuDepartmentV4Service,\n\t) {\n\t\tsuper();\n\t\tthis._service = hostService || selfService;\n\t\tthis.outOptions$ = this._out$.asObservable();\n\t}\n\tonOpen() {\n\t\tthis._service.getTrees().subscribe((trees) => this._out$.next(trees));\n\t}\n}\n","export const Translations = {\n\tpt: {\n\t\tdepartments: 'departamentos',\n\t},\n\t'nl-BE': {\n\t\tdepartments: 'afdelingen',\n\t},\n\tnl: {\n\t\tdepartments: 'afdelingen',\n\t},\n\tit: {\n\t\tdepartments: 'dipartimenti',\n\t},\n\tde: {\n\t\tdepartments: 'Abteilungen',\n\t},\n\tfr: {\n\t\tdepartments: 'départements',\n\t},\n\tes: {\n\t\tdepartments: 'departamentos',\n\t},\n\ten: {\n\t\tdepartments: 'departments',\n\t},\n};\n","import { InjectionToken } from '@angular/core';\nimport { LuTranslation } from '@lucca-front/ng/core';\nimport { Translations } from './translations';\n\nexport const LU_DEPARTMENT_SELECT_INPUT_TRANSLATIONS = new InjectionToken('LuDepartmentSelectTranslations', {\n\tfactory: () => luDepartmentSelectInputTranslations,\n});\n\nexport interface ILuDepartmentSelectInputLabel {\n\tdepartments: string;\n}\n\nexport const luDepartmentSelectInputTranslations: LuTranslation<ILuDepartmentSelectInputLabel> = Translations;\n","import { A11yModule } from '@angular/cdk/a11y';\nimport { Overlay, OverlayModule } from '@angular/cdk/overlay';\nimport { AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, forwardRef, input, Input, Renderer2, ViewContainerRef } from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { ClearComponent } from '@lucca-front/ng/clear';\nimport { intlInputOptions } from '@lucca-front/ng/core';\nimport { LuInputDisplayerDirective } from '@lucca-front/ng/input';\nimport {\n\tILuTreeOptionPickerPanel,\n\tLuForTreeOptionsDirective,\n\tLuOptionComparer,\n\tLuTreeOptionItemComponent,\n\tLuTreeOptionPickerAdvancedComponent,\n\tLuTreeOptionSearcherComponent,\n\tLuTreeOptionSelectAllComponent,\n} from '@lucca-front/ng/option';\nimport { ILuInputWithPicker } from '@lucca-front/ng/picker';\nimport { ALuSelectInputComponent } from '@lucca-front/ng/select';\nimport { LuDepartmentFeederComponent } from '../feeder';\nimport { LU_DEPARTMENT_SELECT_INPUT_TRANSLATIONS } from './department-select-input.translate';\n\n/**\n * @deprecated\n */\n@Component({\n\tselector: 'lu-department-select',\n\ttemplateUrl: './department-select-input.component.html',\n\tstyleUrl: './department-select-input.component.scss',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\timports: [\n\t\tOverlayModule,\n\t\tA11yModule,\n\t\tClearComponent,\n\t\tLuTreeOptionPickerAdvancedComponent,\n\t\tLuDepartmentFeederComponent,\n\t\tLuTreeOptionSearcherComponent,\n\t\tLuTreeOptionSelectAllComponent,\n\t\tLuTreeOptionItemComponent,\n\t\tLuForTreeOptionsDirective,\n\t\tLuInputDisplayerDirective,\n\t],\n\tproviders: [\n\t\t{\n\t\t\tprovide: NG_VALUE_ACCESSOR,\n\t\t\tuseExisting: forwardRef(() => LuDepartmentSelectInputComponent),\n\t\t\tmulti: true,\n\t\t},\n\t],\n})\nexport class LuDepartmentSelectInputComponent<\n\tD extends import('../../department.model').ILuDepartment = import('../../department.model').ILuDepartment,\n\tP extends ILuTreeOptionPickerPanel<D> = ILuTreeOptionPickerPanel<D>,\n>\n\textends ALuSelectInputComponent<D, P>\n\timplements ControlValueAccessor, ILuInputWithPicker<D>, AfterViewInit\n{\n\tbyId: LuOptionComparer<D> = (option1: D, option2: D) => option1 && option2 && option1.id === option2.id;\n\n\t@Input() appInstanceId: number | string;\n\t@Input() operations: number[];\n\t@Input() filters: string[] = [];\n\t@Input() uniqueOperation: number;\n\n\tpublic readonly intl = input(...intlInputOptions(LU_DEPARTMENT_SELECT_INPUT_TRANSLATIONS));\n\n\tconstructor(\n\t\tprotected override _changeDetectorRef: ChangeDetectorRef,\n\t\tprotected override _overlay: Overlay,\n\t\tprotected override _elementRef: ElementRef<HTMLElement>,\n\t\tprotected override _viewContainerRef: ViewContainerRef,\n\t\tprotected override _renderer: Renderer2,\n\t) {\n\t\tsuper(_changeDetectorRef, _overlay, _elementRef, _viewContainerRef, _renderer);\n\t}\n\n\tsearchFn(o: D, c: string): boolean {\n\t\treturn o.name.toLowerCase().includes(c.toLowerCase());\n\t}\n}\n","<div class=\"lu-select-placeholder\">{{ placeholder }}</div>\n<div class=\"lu-select-value\">\n\t<div class=\"lu-select-display-wrapper\">\n\t\t<ng-container #display />\n\t</div>\n</div>\n<div class=\"lu-select-suffix\">\n\t<lu-clear />\n</div>\n\n<ng-template luDisplayer [luDisplayerMultiple]=\"true\" let-values>\n\t@if (multiple && values?.length > 1) {\n\t\t<span\n\t\t\t><span class=\"numericBadge\">{{ values.length }}</span> {{ intl().departments }}</span\n\t\t>\n\t} @else {\n\t\t{{ (values[0] || values).name }}\n\t}\n</ng-template>\n\n<lu-tree-option-picker-advanced [option-comparer]=\"byId\">\n\t<header class=\"lu-picker-header\" [class.mod-multiple]=\"multiple\">\n\t\t<lu-department-feeder\n\t\t\t[appInstanceId]=\"appInstanceId\"\n\t\t\t[operations]=\"operations\"\n\t\t\t[filters]=\"filters\"\n\t\t\t[uniqueOperation]=\"uniqueOperation\"\n\t\t/>\n\t\t<lu-tree-option-searcher [searchFn]=\"searchFn\" />\n\t\t<lu-tree-option-select-all class=\"option-selector\" />\n\t</header>\n\t<!-- <lu-tree-option-pager /> -->\n\t<lu-tree-option *luForTreeOptions=\"let option\" [tree]=\"option\">\n\t\t<ng-container *luDisplayer=\"let value\">{{ value.name }}</ng-container>\n\t</lu-tree-option>\n</lu-tree-option-picker-advanced>\n","import { NgModule } from '@angular/core';\nimport { LuDepartmentSelectInputComponent } from './department-select-input.component';\n\n/**\n * @deprecated use `LuDepartmentSelectInputComponent` instead\n */\n@NgModule({\n\timports: [LuDepartmentSelectInputComponent],\n\texports: [LuDepartmentSelectInputComponent],\n})\nexport class LuDepartmentSelectInputModule {}\n","import { NgModule } from '@angular/core';\nimport { LuDepartmentFeederComponent } from './feeder';\nimport { LuDepartmentSelectInputComponent } from './input';\n\n/**\n * @deprecated use `LuDepartmentFeederComponent, LuDepartmentSelectInputComponent` instead\n */\n@NgModule({\n\timports: [LuDepartmentFeederComponent, LuDepartmentSelectInputComponent],\n\texports: [LuDepartmentFeederComponent, LuDepartmentSelectInputComponent],\n})\nexport class LuDepartmentSelectModule {}\n","import { NgModule } from '@angular/core';\nimport { LuDepartmentSelectModule } from './select/index';\n\n/**\n * @deprecated use `LuDepartmentFeederComponent, LuDepartmentSelectInputComponent` instead\n */\n@NgModule({\n\timports: [LuDepartmentSelectModule],\n\texports: [LuDepartmentSelectModule],\n})\nexport class LuDepartmentModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;;AAQM,MAAgB,oBAA8D,SAAQ,aAAgB,CAAA;AAE3G;;ACID;;AAEG;AAEG,MAAO,qBAAsB,SAAQ,cAA6B,CAAA;IAGvE,IAAI,aAAa,CAAC,aAA8B,EAAA;QAC/C,IAAI,aAAa,EAAE;AAClB,YAAA,IAAI,CAAC,cAAc,GAAG,aAAa;QACpC;IACD;IAEA,IAAI,UAAU,CAAC,UAAoB,EAAA;AAClC,QAAA,IAAI,CAAC,WAAW,GAAG,UAAU;IAC9B;AAEA,IAAA,WAAA,CAA+B,KAAiB,EAAA;QAC/C,KAAK,CAAC,KAAK,CAAC;QADkB,IAAA,CAAA,KAAK,GAAL,KAAK;QAZjB,IAAA,CAAA,IAAI,GAAG,qBAAqB;QAOrC,IAAA,CAAA,WAAW,GAAa,EAAE;IAOpC;IAEA,QAAQ,GAAA;AACP,QAAA,IAAI,IAAgD;QACpD,IAAI,IAAI,CAAC,cAAc,IAAI,IAAI,CAAC,WAAW,EAAE,MAAM,EAAE;YACpD,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CACpB,CAAA,8CAAA,EAAiD,CAAC,CAAA,cAAA,EAAiB,IAAI,CAAC,cAAc,CAAA,CAAE,EAAE,CAAA,WAAA,EAAc,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA,CAAE,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA,CAAE,CAC7L;QACF;aAAO;AACN,YAAA,IAAI,GAA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tB,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAJ9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,OAAO,EAAE,CAAC,wBAAwB,CAAC;oBACnC,OAAO,EAAE,CAAC,wBAAwB,CAAC;AACnC,iBAAA;;;ACTD;;AAEG;;;;"}
@@ -1,11 +1,10 @@
1
1
  import * as i0 from '@angular/core';
2
- import { inject, viewChild, input, booleanAttribute, computed, ChangeDetectionStrategy, ViewEncapsulation, Component } from '@angular/core';
2
+ import { inject, input, booleanAttribute, computed, ViewChild, ChangeDetectionStrategy, ViewEncapsulation, Component } from '@angular/core';
3
3
  import { LuClass } from '@lucca-front/ng/core';
4
4
 
5
5
  class DividerComponent {
6
6
  constructor() {
7
7
  this.#luClass = inject(LuClass);
8
- this.content = viewChild('content', ...(ngDevMode ? [{ debugName: "content" }] : /* istanbul ignore next */ []));
9
8
  /**
10
9
  * Allows rendering the Divider as a native separator
11
10
  * (Any text content it may have will no longer be rendered)
@@ -30,7 +29,7 @@ class DividerComponent {
30
29
  this.#luClass.setState(this.classesConfig());
31
30
  }
32
31
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: DividerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
33
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.14", type: DividerComponent, isStandalone: true, selector: "lu-divider", inputs: { separatorRole: { classPropertyName: "separatorRole", publicName: "separatorRole", isSignal: true, isRequired: false, transformFunction: null }, vertical: { classPropertyName: "vertical", publicName: "vertical", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, withRole: { classPropertyName: "withRole", publicName: "withRole", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.role": "separatorRole() || withRole() ? \"separator\" : null", "class.mod-vertical": "vertical()" }, classAttribute: "divider" }, providers: [LuClass], viewQueries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true, isSignal: true }], usesOnChanges: true, ngImport: i0, template: '<ng-content />', isInline: true, styles: ["@layer components{.divider{--components-divider-font: var(--pr-t-font-body-M);--components-divider-marginBlock: var(--pr-t-spacings-50);--components-divider-marginInline: 0;--components-divider-margin: var(--components-divider-marginBlock) var(--components-divider-marginInline);--components-divider-minSize: var(--pr-t-spacings-150);--components-divider-direction: row;--components-divider-iconBottom: 0;--components-divider-justify: normal;--components-divider-alignSelf: \"\";--components-divider-fontSize: var(--pr-t-font-body-M-fontSize);--components-divider-lineHeight: var(--pr-t-font-body-M-lineHeight);border:0;display:block;margin:var(--components-divider-margin);align-self:var(--components-divider-alignSelf)}.divider:where(:empty){block-size:auto}.divider:where(:empty):not(.mod-vertical){border-block-start:var(--commons-divider-border)}.divider:not(:empty){display:flex;flex-direction:var(--components-divider-direction);align-items:center;text-wrap:balance;text-align:center;font:var(--components-divider-font);color:var(--palettes-neutral-600);gap:var(--pr-t-spacings-100);justify-content:var(--components-divider-justify)}.divider:not(:empty):before,.divider:not(:empty):after{flex-grow:1;content:\"\"}.divider:not(:empty) .lucca-icon{color:var(--palettes-neutral-600);position:relative;inset-block-end:var(--components-divider-iconBottom)}.divider:not(:empty):not(.mod-vertical):before,.divider:not(:empty):not(.mod-vertical):after{border-block-start:var(--commons-divider-border);min-inline-size:var(--components-divider-minSize)}.divider .button{--components-button-backgroundColor: var(--palettes-neutral-0);--components-button-color: var(--palettes-700, var(--palettes-neutral-700));--components-button-boxShadow: var(--pr-t-elevation-shadow-button), 0 0 0 var(--commons-divider-width) var(--palettes-neutral-200)}.divider .button:hover{--components-button-boxShadow: var(--pr-t-elevation-shadow-button), 0 0 0 var(--commons-divider-width) var(--palettes-300, var(--palettes-neutral-300));--components-button-color: var(--palettes-700, var(--palettes-neutral-700));--components-button-backgroundColor: var(--palettes-50, var(--palettes-neutral-50))}.divider .button:active{--components-button-backgroundColor: var(--palettes-100, var(--palettes-neutral-100))}.divider .button:focus-visible{outline:2px solid var(--palettes-700, var(--palettes-product-700));outline-offset:3px}.divider .button:disabled{--components-button-backgroundColor: var(--palettes-neutral-0);--components-button-boxShadow: 0 0 0 1px var(--palettes-neutral-100);--components-button-color: var(--pr-t-color-text-disabled)}}@layer mods{.divider.mod-S{--components-divider-font: var(--pr-t-font-body-S)}.divider.mod-S .button{--icon-size: 1.25rem;--components-button-font: var(--pr-t-font-body-S);--components-button-paddingBlock: var(--pr-t-spacings-75);--components-button-paddingInline: var(--pr-t-spacings-100);--components-button-gap: var(--pr-t-spacings-75)}.divider.mod-S .button .numericBadge{--components-numericBadge-size: 1.25rem;--components-numericBadge-borderRadius: var(--pr-t-border-radius-small);--components-numericBadge-font: var(--pr-t-font-body-XS);--components-numericBadge-fontSize: var(--pr-t-font-body-XS-fontSize);--components-numericBadge-lineHeight: var(--pr-t-font-body-XS-lineHeight)}.divider.mod-S .button{--components-button-font-size: var(--pr-t-font-body-S-fontSize);--components-button-line-height: var(--pr-t-font-body-S-lineHeight)}.divider.mod-S .button:after{font-size:var(--pr-t-font-body-S-lineHeight);block-size:var(--pr-t-font-body-S-lineHeight)}.divider.mod-S .lucca-icon{--icon-size: 1.25rem}.divider.mod-vertical{--components-divider-marginBlock: 0;--components-divider-marginInline: var(--pr-t-spacings-50);--components-divider-alignSelf: stretch}.divider.mod-vertical:where(:empty){border-inline-start:var(--commons-divider-border)}.divider.mod-vertical:not(:empty){--components-divider-direction: column;--components-divider-iconBottom: var(--pr-t-spacings-25);--components-divider-justify: center}.divider.mod-vertical:not(:empty):before,.divider.mod-vertical:not(:empty):after{border-inline-start:var(--commons-divider-border);min-block-size:var(--components-divider-minSize)}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
32
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.14", type: DividerComponent, isStandalone: true, selector: "lu-divider", inputs: { separatorRole: { classPropertyName: "separatorRole", publicName: "separatorRole", isSignal: true, isRequired: false, transformFunction: null }, vertical: { classPropertyName: "vertical", publicName: "vertical", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, withRole: { classPropertyName: "withRole", publicName: "withRole", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.role": "separatorRole() || withRole() ? \"separator\" : null", "class.mod-vertical": "vertical()" }, classAttribute: "divider" }, providers: [LuClass], viewQueries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true }], usesOnChanges: true, ngImport: i0, template: '<ng-content />', isInline: true, styles: ["@layer components{.divider{--components-divider-font: var(--pr-t-font-body-M);--components-divider-marginBlock: var(--pr-t-spacings-50);--components-divider-marginInline: 0;--components-divider-margin: var(--components-divider-marginBlock) var(--components-divider-marginInline);--components-divider-minSize: var(--pr-t-spacings-150);--components-divider-direction: row;--components-divider-iconBottom: 0;--components-divider-justify: normal;--components-divider-alignSelf: \"\";--components-divider-fontSize: var(--pr-t-font-body-M-fontSize);--components-divider-lineHeight: var(--pr-t-font-body-M-lineHeight);border:0;display:block;margin:var(--components-divider-margin);align-self:var(--components-divider-alignSelf)}.divider:where(:empty){block-size:auto}.divider:where(:empty):not(.mod-vertical){border-block-start:var(--commons-divider-border)}.divider:not(:empty){display:flex;flex-direction:var(--components-divider-direction);align-items:center;text-wrap:balance;text-align:center;font:var(--components-divider-font);color:var(--palettes-neutral-600);gap:var(--pr-t-spacings-100);justify-content:var(--components-divider-justify)}.divider:not(:empty):before,.divider:not(:empty):after{flex-grow:1;content:\"\"}.divider:not(:empty) .lucca-icon{color:var(--palettes-neutral-600);position:relative;inset-block-end:var(--components-divider-iconBottom)}.divider:not(:empty):not(.mod-vertical):before,.divider:not(:empty):not(.mod-vertical):after{border-block-start:var(--commons-divider-border);min-inline-size:var(--components-divider-minSize)}.divider .button{--components-button-backgroundColor: var(--palettes-neutral-0);--components-button-color: var(--palettes-700, var(--palettes-neutral-700));--components-button-boxShadow: var(--pr-t-elevation-shadow-button), 0 0 0 var(--commons-divider-width) var(--palettes-neutral-200)}.divider .button:hover{--components-button-boxShadow: var(--pr-t-elevation-shadow-button), 0 0 0 var(--commons-divider-width) var(--palettes-300, var(--palettes-neutral-300));--components-button-color: var(--palettes-700, var(--palettes-neutral-700));--components-button-backgroundColor: var(--palettes-50, var(--palettes-neutral-50))}.divider .button:active{--components-button-backgroundColor: var(--palettes-100, var(--palettes-neutral-100))}.divider .button:focus-visible{outline:2px solid var(--palettes-700, var(--palettes-product-700));outline-offset:3px}.divider .button:disabled{--components-button-backgroundColor: var(--palettes-neutral-0);--components-button-boxShadow: 0 0 0 1px var(--palettes-neutral-100);--components-button-color: var(--pr-t-color-text-disabled)}}@layer mods{.divider.mod-S{--components-divider-font: var(--pr-t-font-body-S)}.divider.mod-S .button{--icon-size: 1.25rem;--components-button-font: var(--pr-t-font-body-S);--components-button-paddingBlock: var(--pr-t-spacings-75);--components-button-paddingInline: var(--pr-t-spacings-100);--components-button-gap: var(--pr-t-spacings-75)}.divider.mod-S .button .numericBadge{--components-numericBadge-size: 1.25rem;--components-numericBadge-borderRadius: var(--pr-t-border-radius-small);--components-numericBadge-font: var(--pr-t-font-body-XS);--components-numericBadge-fontSize: var(--pr-t-font-body-XS-fontSize);--components-numericBadge-lineHeight: var(--pr-t-font-body-XS-lineHeight)}.divider.mod-S .button{--components-button-font-size: var(--pr-t-font-body-S-fontSize);--components-button-line-height: var(--pr-t-font-body-S-lineHeight)}.divider.mod-S .button:after{font-size:var(--pr-t-font-body-S-lineHeight);block-size:var(--pr-t-font-body-S-lineHeight)}.divider.mod-S .lucca-icon{--icon-size: 1.25rem}.divider.mod-vertical{--components-divider-marginBlock: 0;--components-divider-marginInline: var(--pr-t-spacings-50);--components-divider-alignSelf: stretch}.divider.mod-vertical:where(:empty){border-inline-start:var(--commons-divider-border)}.divider.mod-vertical:not(:empty){--components-divider-direction: column;--components-divider-iconBottom: var(--pr-t-spacings-25);--components-divider-justify: center}.divider.mod-vertical:not(:empty):before,.divider.mod-vertical:not(:empty):after{border-inline-start:var(--commons-divider-border);min-block-size:var(--components-divider-minSize)}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
34
33
  }
35
34
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: DividerComponent, decorators: [{
36
35
  type: Component,
@@ -39,7 +38,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
39
38
  '[attr.role]': 'separatorRole() || withRole() ? "separator" : null',
40
39
  '[class.mod-vertical]': 'vertical()',
41
40
  }, changeDetection: ChangeDetectionStrategy.OnPush, styles: ["@layer components{.divider{--components-divider-font: var(--pr-t-font-body-M);--components-divider-marginBlock: var(--pr-t-spacings-50);--components-divider-marginInline: 0;--components-divider-margin: var(--components-divider-marginBlock) var(--components-divider-marginInline);--components-divider-minSize: var(--pr-t-spacings-150);--components-divider-direction: row;--components-divider-iconBottom: 0;--components-divider-justify: normal;--components-divider-alignSelf: \"\";--components-divider-fontSize: var(--pr-t-font-body-M-fontSize);--components-divider-lineHeight: var(--pr-t-font-body-M-lineHeight);border:0;display:block;margin:var(--components-divider-margin);align-self:var(--components-divider-alignSelf)}.divider:where(:empty){block-size:auto}.divider:where(:empty):not(.mod-vertical){border-block-start:var(--commons-divider-border)}.divider:not(:empty){display:flex;flex-direction:var(--components-divider-direction);align-items:center;text-wrap:balance;text-align:center;font:var(--components-divider-font);color:var(--palettes-neutral-600);gap:var(--pr-t-spacings-100);justify-content:var(--components-divider-justify)}.divider:not(:empty):before,.divider:not(:empty):after{flex-grow:1;content:\"\"}.divider:not(:empty) .lucca-icon{color:var(--palettes-neutral-600);position:relative;inset-block-end:var(--components-divider-iconBottom)}.divider:not(:empty):not(.mod-vertical):before,.divider:not(:empty):not(.mod-vertical):after{border-block-start:var(--commons-divider-border);min-inline-size:var(--components-divider-minSize)}.divider .button{--components-button-backgroundColor: var(--palettes-neutral-0);--components-button-color: var(--palettes-700, var(--palettes-neutral-700));--components-button-boxShadow: var(--pr-t-elevation-shadow-button), 0 0 0 var(--commons-divider-width) var(--palettes-neutral-200)}.divider .button:hover{--components-button-boxShadow: var(--pr-t-elevation-shadow-button), 0 0 0 var(--commons-divider-width) var(--palettes-300, var(--palettes-neutral-300));--components-button-color: var(--palettes-700, var(--palettes-neutral-700));--components-button-backgroundColor: var(--palettes-50, var(--palettes-neutral-50))}.divider .button:active{--components-button-backgroundColor: var(--palettes-100, var(--palettes-neutral-100))}.divider .button:focus-visible{outline:2px solid var(--palettes-700, var(--palettes-product-700));outline-offset:3px}.divider .button:disabled{--components-button-backgroundColor: var(--palettes-neutral-0);--components-button-boxShadow: 0 0 0 1px var(--palettes-neutral-100);--components-button-color: var(--pr-t-color-text-disabled)}}@layer mods{.divider.mod-S{--components-divider-font: var(--pr-t-font-body-S)}.divider.mod-S .button{--icon-size: 1.25rem;--components-button-font: var(--pr-t-font-body-S);--components-button-paddingBlock: var(--pr-t-spacings-75);--components-button-paddingInline: var(--pr-t-spacings-100);--components-button-gap: var(--pr-t-spacings-75)}.divider.mod-S .button .numericBadge{--components-numericBadge-size: 1.25rem;--components-numericBadge-borderRadius: var(--pr-t-border-radius-small);--components-numericBadge-font: var(--pr-t-font-body-XS);--components-numericBadge-fontSize: var(--pr-t-font-body-XS-fontSize);--components-numericBadge-lineHeight: var(--pr-t-font-body-XS-lineHeight)}.divider.mod-S .button{--components-button-font-size: var(--pr-t-font-body-S-fontSize);--components-button-line-height: var(--pr-t-font-body-S-lineHeight)}.divider.mod-S .button:after{font-size:var(--pr-t-font-body-S-lineHeight);block-size:var(--pr-t-font-body-S-lineHeight)}.divider.mod-S .lucca-icon{--icon-size: 1.25rem}.divider.mod-vertical{--components-divider-marginBlock: 0;--components-divider-marginInline: var(--pr-t-spacings-50);--components-divider-alignSelf: stretch}.divider.mod-vertical:where(:empty){border-inline-start:var(--commons-divider-border)}.divider.mod-vertical:not(:empty){--components-divider-direction: column;--components-divider-iconBottom: var(--pr-t-spacings-25);--components-divider-justify: center}.divider.mod-vertical:not(:empty):before,.divider.mod-vertical:not(:empty):after{border-inline-start:var(--commons-divider-border);min-block-size:var(--components-divider-minSize)}}\n"] }]
42
- }], propDecorators: { content: [{ type: i0.ViewChild, args: ['content', { isSignal: true }] }], separatorRole: [{ type: i0.Input, args: [{ isSignal: true, alias: "separatorRole", required: false }] }], vertical: [{ type: i0.Input, args: [{ isSignal: true, alias: "vertical", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], withRole: [{ type: i0.Input, args: [{ isSignal: true, alias: "withRole", required: false }] }] } });
41
+ }], propDecorators: { content: [{
42
+ type: ViewChild,
43
+ args: ['content']
44
+ }], separatorRole: [{ type: i0.Input, args: [{ isSignal: true, alias: "separatorRole", required: false }] }], vertical: [{ type: i0.Input, args: [{ isSignal: true, alias: "vertical", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], withRole: [{ type: i0.Input, args: [{ isSignal: true, alias: "withRole", required: false }] }] } });
43
45
 
44
46
  /**
45
47
  * Generated bundle index. Do not edit.
@@ -1 +1 @@
1
- {"version":3,"file":"lucca-front-ng-divider.mjs","sources":["../../../packages/ng/divider/divider.component.ts","../../../packages/ng/divider/lucca-front-ng-divider.ts"],"sourcesContent":["import { booleanAttribute, ChangeDetectionStrategy, Component, computed, ElementRef, inject, input, OnChanges, viewChild, ViewEncapsulation } from '@angular/core';\nimport { LuClass } from '@lucca-front/ng/core';\n\n@Component({\n\tselector: 'lu-divider',\n\tproviders: [LuClass],\n\ttemplate: '<ng-content />',\n\tstyleUrl: './divider.component.scss',\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\tclass: 'divider',\n\t\t'[attr.role]': 'separatorRole() || withRole() ? \"separator\" : null',\n\t\t'[class.mod-vertical]': 'vertical()',\n\t},\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DividerComponent implements OnChanges {\n\t#luClass = inject(LuClass);\n\n\treadonly content = viewChild<ElementRef>('content');\n\n\t/**\n\t * Allows rendering the Divider as a native separator\n\t * (Any text content it may have will no longer be rendered)\n\t */\n\treadonly separatorRole = input(false, { transform: booleanAttribute });\n\n\treadonly vertical = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Which size should the chip be? Defaults or small\n\t */\n\treadonly size = input<'M' | 'S' | null>(null);\n\n\t/**\n\t * @deprecated\n\t */\n\treadonly withRole = input(false, { transform: booleanAttribute });\n\n\treadonly classesConfig = computed(() => ({ [`mod-${this.size()}`]: !!this.size() }));\n\n\tngOnChanges(): void {\n\t\tthis.updateClasses();\n\t}\n\n\tupdateClasses(): void {\n\t\tthis.#luClass.setState(this.classesConfig());\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAgBa,gBAAgB,CAAA;AAb7B,IAAA,WAAA,GAAA;AAcC,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,OAAO,CAAC;AAEjB,QAAA,IAAA,CAAA,OAAO,GAAG,SAAS,CAAa,SAAS,8EAAC;AAEnD;;;AAGG;QACM,IAAA,CAAA,aAAa,GAAG,KAAK,CAAC,KAAK,qFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;QAE7D,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,KAAK,gFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AAEjE;;AAEG;AACM,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAmB,IAAI,2EAAC;AAE7C;;AAEG;QACM,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,KAAK,gFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;QAExD,IAAA,CAAA,aAAa,GAAG,QAAQ,CAAC,OAAO,EAAE,CAAC,CAAA,IAAA,EAAO,IAAI,CAAC,IAAI,EAAE,CA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EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,KAAA,EAAA,MAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,QAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,KAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,KAAA,EAAA,UAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;ACnBnD;;AAEG;;;;"}
1
+ {"version":3,"file":"lucca-front-ng-divider.mjs","sources":["../../../packages/ng/divider/divider.component.ts","../../../packages/ng/divider/lucca-front-ng-divider.ts"],"sourcesContent":["import { booleanAttribute, ChangeDetectionStrategy, Component, computed, ElementRef, inject, input, OnChanges, ViewChild, ViewEncapsulation } from '@angular/core';\nimport { LuClass } from '@lucca-front/ng/core';\n\n@Component({\n\tselector: 'lu-divider',\n\tproviders: [LuClass],\n\ttemplate: '<ng-content />',\n\tstyleUrl: './divider.component.scss',\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\tclass: 'divider',\n\t\t'[attr.role]': 'separatorRole() || withRole() ? \"separator\" : null',\n\t\t'[class.mod-vertical]': 'vertical()',\n\t},\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DividerComponent implements OnChanges {\n\t#luClass = inject(LuClass);\n\n\t@ViewChild('content') readonly content: ElementRef;\n\n\t/**\n\t * Allows rendering the Divider as a native separator\n\t * (Any text content it may have will no longer be rendered)\n\t */\n\treadonly separatorRole = input(false, { transform: booleanAttribute });\n\n\treadonly vertical = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Which size should the chip be? Defaults or small\n\t */\n\treadonly size = input<'M' | 'S' | null>(null);\n\n\t/**\n\t * @deprecated\n\t */\n\treadonly withRole = input(false, { transform: booleanAttribute });\n\n\treadonly classesConfig = computed(() => ({ [`mod-${this.size()}`]: !!this.size() }));\n\n\tngOnChanges(): void {\n\t\tthis.updateClasses();\n\t}\n\n\tupdateClasses(): void {\n\t\tthis.#luClass.setState(this.classesConfig());\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAgBa,gBAAgB,CAAA;AAb7B,IAAA,WAAA,GAAA;AAcC,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,OAAO,CAAC;AAI1B;;;AAGG;QACM,IAAA,CAAA,aAAa,GAAG,KAAK,CAAC,KAAK,qFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;QAE7D,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,KAAK,gFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AAEjE;;AAEG;AACM,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAmB,IAAI,2EAAC;AAE7C;;AAEG;QACM,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,KAAK,gFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;QAExD,IAAA,CAAA,aAAa,GAAG,QAAQ,CAAC,OAAO,EAAE,CAAC,CAAA,IAAA,EAAO,IAAI,CAAC,IAAI,EAAE,CAAA,CAAE,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE,EAAE,CAAC,EAAA,IAAA,SAAA,GAAA,CAAA,EAAA,SAAA,EAAA,eAAA,EAAA,CAAA,8BAAA,EAAA,CAAA,CAAC;AASpF,IAAA;AA/BA,IAAA,QAAQ;IAwBR,WAAW,GAAA;QACV,IAAI,CAAC,aAAa,EAAE;IACrB;IAEA,aAAa,GAAA;QACZ,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC;IAC7C;+GA/BY,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAhB,IAAA,SAAA,IAAA,CAAA,IAAA,GA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V,gBAAgB,EAAA,aAAA,EAEX,iBAAiB,CAAC,IAAI,EAAA,IAAA,EAC/B;AACL,wBAAA,KAAK,EAAE,SAAS;AAChB,wBAAA,aAAa,EAAE,oDAAoD;AACnE,wBAAA,sBAAsB,EAAE,YAAY;qBACpC,EAAA,eAAA,EACgB,uBAAuB,CAAC,MAAM,EAAA,MAAA,EAAA,CAAA,goIAAA,CAAA,EAAA;;sBAK9C,SAAS;uBAAC,SAAS;;;ACnBrB;;AAEG;;;;"}
@@ -1,13 +1,13 @@
1
1
  import * as i0 from '@angular/core';
2
- import { inject, input, booleanAttribute, ChangeDetectionStrategy, ViewEncapsulation, Component, EventEmitter, forwardRef, Directive, NgModule, TemplateRef, ContentChildren, ViewChild, Output, Input, DestroyRef, effect } from '@angular/core';
2
+ import { inject, input, booleanAttribute, ChangeDetectionStrategy, ViewEncapsulation, Component, EventEmitter, forwardRef, HostListener, Output, Directive, NgModule, TemplateRef, ContentChildren, ViewChild, Input, DestroyRef, effect } from '@angular/core';
3
3
  import * as i1 from '@lucca-front/ng/popover2';
4
4
  import { PopoverContentComponent, PopoverDirective } from '@lucca-front/ng/popover2';
5
5
  import { DividerComponent } from '@lucca-front/ng/divider';
6
- import { outputFromObservable, takeUntilDestroyed } from '@angular/core/rxjs-interop';
7
6
  import { ALuPopoverPanel, luTransformPopover } from '@lucca-front/ng/popover';
8
7
  import { Subscription, merge } from 'rxjs';
9
8
  import { startWith, map, delay, share, switchMap, debounceTime } from 'rxjs/operators';
10
- import { ɵeffectWithDeps as _effectWithDeps, isNil } from '@lucca-front/ng/core';
9
+ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
10
+ import { isNil } from '@lucca-front/ng/core';
11
11
 
12
12
  class DropdownActionComponent {
13
13
  constructor() {
@@ -110,8 +110,9 @@ class LuDropdownItemDirective extends ALuDropdownItem {
110
110
  constructor(_eltRef) {
111
111
  super();
112
112
  this._eltRef = _eltRef;
113
+ // arreter les ONxxxx
114
+ // eslint-disable-next-line @angular-eslint/no-output-on-prefix
113
115
  this.onSelect = new EventEmitter();
114
- this.onSelectOutput = outputFromObservable(this.onSelect, { alias: 'onSelect' });
115
116
  }
116
117
  onClick(_event) {
117
118
  this.onSelect.emit(true);
@@ -126,7 +127,7 @@ class LuDropdownItemDirective extends ALuDropdownItem {
126
127
  this.onSelect.complete();
127
128
  }
128
129
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: LuDropdownItemDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
129
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.14", type: LuDropdownItemDirective, isStandalone: true, selector: "[luDropdownItem]", outputs: { onSelectOutput: "onSelect" }, host: { listeners: { "click": "onClick($event)", "keydown.enter": "onEnter($event)" } }, providers: [
130
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.14", type: LuDropdownItemDirective, isStandalone: true, selector: "[luDropdownItem]", outputs: { onSelect: "onSelect" }, host: { listeners: { "click": "onClick($event)", "keydown.enter": "onEnter($event)" } }, providers: [
130
131
  {
131
132
  provide: ALuDropdownItem,
132
133
  useExisting: forwardRef(() => LuDropdownItemDirective),
@@ -139,10 +140,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
139
140
  args: [{
140
141
  selector: '[luDropdownItem]',
141
142
  exportAs: 'LuDropdownItem',
142
- host: {
143
- '(click)': 'onClick($event)',
144
- '(keydown.enter)': 'onEnter($event)',
145
- },
146
143
  providers: [
147
144
  {
148
145
  provide: ALuDropdownItem,
@@ -151,7 +148,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
151
148
  },
152
149
  ],
153
150
  }]
154
- }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { onSelectOutput: [{ type: i0.Output, args: ["onSelect"] }] } });
151
+ }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { onSelect: [{
152
+ type: Output
153
+ }], onClick: [{
154
+ type: HostListener,
155
+ args: ['click', ['$event']]
156
+ }], onEnter: [{
157
+ type: HostListener,
158
+ args: ['keydown.enter', ['$event']]
159
+ }] } });
155
160
 
156
161
  /**
157
162
  * @deprecated use `LuDropdownItemDirective` instead
@@ -169,7 +174,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
169
174
  }]
170
175
  }] });
171
176
 
172
- /* eslint-disable @angular-eslint/prefer-signals */
173
177
  /**
174
178
  * @deprecated prefer the new menu approach: https://prisme.lucca.io/94310e217/p/557682-dropdown
175
179
  */
@@ -291,34 +295,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
291
295
 
292
296
  class LuDropdownTriggerDirective {
293
297
  #destroyRef;
298
+ // Keeping generic type here just for the sake of backwards compatibility
299
+ /** References the popover instance that the trigger is associated with. */
300
+ set inputPanel(p) {
301
+ if (p instanceof ALuPopoverPanel) {
302
+ this.popover2.content = p.templateRef;
303
+ p.close.pipe(takeUntilDestroyed(this.#destroyRef)).subscribe(() => this.popover2.close());
304
+ }
305
+ else {
306
+ this.popover2.content = p;
307
+ }
308
+ }
294
309
  constructor() {
295
310
  this.popover2 = inject(PopoverDirective);
296
311
  this.#destroyRef = inject(DestroyRef);
297
- // Keeping generic type here just for the sake of backwards compatibility
298
- /** References the popover instance that the trigger is associated with. */
299
- this.inputPanel = input(undefined, { ...(ngDevMode ? { debugName: "inputPanel" } : /* istanbul ignore next */ {}), alias: 'luDropdown' });
300
312
  /** how the panel will be aligned with the target, allowed values: top, bottom, left, right
301
313
  * @deprecated prefer using customPositions instead
302
314
  * */
303
315
  this.luDropdownAlignment = 'right';
304
- this.popover2.luPopoverNoCloseButton.set(true);
305
- if (!this.popover2.customPositions()?.length) {
316
+ this.popover2.luPopoverNoCloseButton = true;
317
+ if (!this.popover2.customPositions || this.popover2.customPositions.length === 0) {
306
318
  effect(() => {
307
- this.popover2.customPositions.set(this.legacyPositionBuilder(this.popover2.luPopoverPositionRef()));
319
+ this.popover2.customPositions = this.legacyPositionBuilder(this.popover2.luPopoverPositionRef());
308
320
  });
309
321
  }
310
- _effectWithDeps([this.inputPanel], (p) => {
311
- if (isNil(p)) {
312
- return;
313
- }
314
- if (p instanceof ALuPopoverPanel) {
315
- this.popover2.content.set(p.templateRef);
316
- p.close.pipe(takeUntilDestroyed(this.#destroyRef)).subscribe(() => this.popover2.close());
317
- }
318
- else {
319
- this.popover2.content.set(p);
320
- }
321
- });
322
322
  }
323
323
  ngOnInit() {
324
324
  if (isNil(this.popover2.luPopoverPosition())) {
@@ -430,7 +430,7 @@ class LuDropdownTriggerDirective {
430
430
  return x;
431
431
  }
432
432
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: LuDropdownTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
433
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.14", type: LuDropdownTriggerDirective, isStandalone: true, selector: "[luDropdown]", inputs: { inputPanel: { classPropertyName: "inputPanel", publicName: "luDropdown", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.aria-expanded": "popover2.opened()" } }, exportAs: ["LuDropdownTrigger"], hostDirectives: [{ directive: i1.PopoverDirective, inputs: ["luPopoverPosition", "luDropdownPosition", "luPopoverDisabled", "luDropdownDisabled", "customPositions", "customPositions"], outputs: ["luPopoverOpened", "luDropdownOnOpen", "luPopoverClosed", "luDropdownOnClose"] }], ngImport: i0 }); }
433
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.14", type: LuDropdownTriggerDirective, isStandalone: true, selector: "[luDropdown]", inputs: { inputPanel: ["luDropdown", "inputPanel"] }, host: { properties: { "attr.aria-expanded": "popover2.opened()" } }, exportAs: ["LuDropdownTrigger"], hostDirectives: [{ directive: i1.PopoverDirective, inputs: ["luPopoverPosition", "luDropdownPosition", "luPopoverDisabled", "luDropdownDisabled", "customPositions", "customPositions"], outputs: ["luPopoverOpened", "luDropdownOnOpen", "luPopoverClosed", "luDropdownOnClose"] }], ngImport: i0 }); }
434
434
  }
435
435
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: LuDropdownTriggerDirective, decorators: [{
436
436
  type: Directive,
@@ -448,7 +448,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
448
448
  },
449
449
  ],
450
450
  }]
451
- }], ctorParameters: () => [], propDecorators: { inputPanel: [{ type: i0.Input, args: [{ isSignal: true, alias: "luDropdown", required: false }] }] } });
451
+ }], ctorParameters: () => [], propDecorators: { inputPanel: [{
452
+ type: Input,
453
+ args: ['luDropdown']
454
+ }] } });
452
455
 
453
456
  /**
454
457
  * @deprecated use `LuDropdownTriggerDirective` instead
@@ -1 +1 @@
1
- {"version":3,"file":"lucca-front-ng-dropdown.mjs","sources":["../../../packages/ng/dropdown/dropdown-action/dropdown-action.component.ts","../../../packages/ng/dropdown/dropdown-divider/dropdown-divider.component.ts","../../../packages/ng/dropdown/dropdown-group/dropdown-group.component.ts","../../../packages/ng/dropdown/dropdown-group/dropdown-group.component.html","../../../packages/ng/dropdown/dropdown-item/dropdown-item.component.ts","../../../packages/ng/dropdown/dropdown-menu/dropdown-menu.component.ts","../../../packages/ng/dropdown/dropdown-menu/dropdown-menu.component.html","../../../packages/ng/dropdown/item/dropdown-item.model.ts","../../../packages/ng/dropdown/item/dropdown-item.directive.ts","../../../packages/ng/dropdown/item/dropdown-item.module.ts","../../../packages/ng/dropdown/panel/dropdown-panel.component.ts","../../../packages/ng/dropdown/panel/dropdown-panel.component.html","../../../packages/ng/dropdown/panel/dropdown-panel.module.ts","../../../packages/ng/dropdown/trigger/dropdown-trigger.directive.ts","../../../packages/ng/dropdown/trigger/dropdown-trigger.module.ts","../../../packages/ng/dropdown/dropdown.module.ts","../../../packages/ng/dropdown/lucca-front-ng-dropdown.ts"],"sourcesContent":["import { booleanAttribute, ChangeDetectionStrategy, Component, inject, input, ViewEncapsulation } from '@angular/core';\nimport { PopoverContentComponent } from '@lucca-front/ng/popover2';\n\n@Component({\n\tselector: '[lu-dropdown-action]',\n\ttemplate: '<ng-content />',\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\tclass: 'dropdown-list-option-action',\n\t\t'[class.is-disabled]': 'disabled()',\n\t\t'[class.mod-critical]': 'critical()',\n\t\t'[attr.disabled]': 'disabled() ? \"disabled\" : null',\n\t\t'(click)': 'closePanel()',\n\t},\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DropdownActionComponent {\n\t#popoverContentRef = inject(PopoverContentComponent, { optional: true });\n\n\treadonly disabled = input(false, { transform: booleanAttribute });\n\treadonly critical = input(false, { transform: booleanAttribute });\n\n\tclosePanel() {\n\t\tif (this.#popoverContentRef) {\n\t\t\tthis.#popoverContentRef.close();\n\t\t}\n\t}\n}\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\nimport { DividerComponent } from '@lucca-front/ng/divider';\n\n@Component({\n\tselector: 'lu-dropdown-divider',\n\ttemplate: '<lu-divider class=\"dropdown-list-option-divider\" />',\n\tencapsulation: ViewEncapsulation.None,\n\timports: [DividerComponent],\n\thost: {\n\t\tclass: 'dropdown-list-option',\n\t\trole: 'listitem',\n\t\t'[attr.aria-hidden]': 'true',\n\t},\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DropdownDividerComponent {}\n","import { ChangeDetectionStrategy, Component, input, ViewEncapsulation } from '@angular/core';\n\n@Component({\n\tselector: 'lu-dropdown-group',\n\ttemplateUrl: './dropdown-group.component.html',\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\tclass: 'dropdown-list-option',\n\t\trole: 'listitem',\n\t},\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DropdownGroupComponent {\n\treadonly label = input<string | null>(null);\n}\n","{{ label() }}\n<ul class=\"dropdown-list\">\n\t<ng-content />\n</ul>\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n\tselector: 'lu-dropdown-item',\n\ttemplate: '<ng-content />',\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\tclass: 'dropdown-list-option',\n\t\trole: 'listitem',\n\t},\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DropdownItemComponent {}\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n\tselector: 'lu-dropdown-menu',\n\ttemplateUrl: './dropdown-menu.component.html',\n\tstyleUrl: './dropdown-menu.component.scss',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tencapsulation: ViewEncapsulation.None,\n})\nexport class DropdownMenuComponent {}\n","<div class=\"dropdown\">\n\t<ul class=\"dropdown-list\">\n\t\t<ng-content />\n\t</ul>\n</div>\n","import { Observable } from 'rxjs';\n\nexport interface ILuDropdownItem {\n\tonSelect: Observable<boolean>;\n\tfocus(): void;\n}\nexport abstract class ALuDropdownItem implements ILuDropdownItem {\n\tabstract onSelect: Observable<boolean>;\n\tabstract focus(): void;\n}\n","import { Directive, ElementRef, EventEmitter, forwardRef, OnDestroy } from '@angular/core';\nimport { outputFromObservable } from '@angular/core/rxjs-interop';\nimport { ALuDropdownItem } from './dropdown-item.model';\n\n@Directive({\n\tselector: '[luDropdownItem]',\n\texportAs: 'LuDropdownItem',\n\thost: {\n\t\t'(click)': 'onClick($event)',\n\t\t'(keydown.enter)': 'onEnter($event)',\n\t},\n\tproviders: [\n\t\t{\n\t\t\tprovide: ALuDropdownItem,\n\t\t\tuseExisting: forwardRef(() => LuDropdownItemDirective),\n\t\t\tmulti: true,\n\t\t},\n\t],\n})\nexport class LuDropdownItemDirective extends ALuDropdownItem implements OnDestroy {\n\treadonly onSelect = new EventEmitter<boolean>();\n\n\tprotected readonly onSelectOutput = outputFromObservable(this.onSelect, { alias: 'onSelect' });\n\n\tconstructor(private _eltRef: ElementRef<HTMLElement>) {\n\t\tsuper();\n\t}\n\n\tonClick(_event: Event) {\n\t\tthis.onSelect.emit(true);\n\t}\n\n\tonEnter(_event: Event) {\n\t\tthis.onSelect.emit(true);\n\t}\n\n\tfocus() {\n\t\tthis._eltRef.nativeElement.focus();\n\t}\n\n\tngOnDestroy() {\n\t\tthis.onSelect.complete();\n\t}\n}\n","import { NgModule } from '@angular/core';\nimport { LuDropdownItemDirective } from './dropdown-item.directive';\n\n/**\n * @deprecated use `LuDropdownItemDirective` instead\n */\n@NgModule({\n\timports: [LuDropdownItemDirective],\n\texports: [LuDropdownItemDirective],\n})\nexport class LuDropdownItemModule {}\n","import {\n\tAfterViewInit,\n\tChangeDetectionStrategy,\n\tComponent,\n\tContentChildren,\n\tEventEmitter,\n\tinject,\n\tInput,\n\tOnDestroy,\n\tOutput,\n\tQueryList,\n\tTemplateRef,\n\tViewChild,\n\tViewEncapsulation,\n} from '@angular/core';\nimport { ALuPopoverPanel, ILuPopoverPanel, luTransformPopover } from '@lucca-front/ng/popover';\nimport { PopoverContentComponent } from '@lucca-front/ng/popover2';\nimport { merge, Observable, Subscription } from 'rxjs';\nimport { debounceTime, delay, map, share, startWith, switchMap } from 'rxjs/operators';\nimport { ALuDropdownItem, ILuDropdownItem } from '../item/index';\n\n/* eslint-disable @angular-eslint/prefer-signals */\n/**\n * @deprecated prefer the new menu approach: https://prisme.lucca.io/94310e217/p/557682-dropdown\n */\n@Component({\n\tselector: 'lu-dropdown',\n\ttemplateUrl: './dropdown-panel.component.html',\n\tstyleUrl: './dropdown-panel.component.scss',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tanimations: [luTransformPopover],\n\texportAs: 'LuDropdownPanel',\n\tencapsulation: ViewEncapsulation.None,\n})\nexport class LuDropdownPanelComponent extends ALuPopoverPanel implements ILuPopoverPanel, OnDestroy, AfterViewInit {\n\t#popoverContentRef = inject(PopoverContentComponent, { optional: true });\n\t/**\n\t * This method takes classes set on the host lu-popover element and applies them on the\n\t * popover template that displays in the overlay container. Otherwise, it's difficult\n\t * to style the containing popover from outside the component.\n\t * @param classes list of class names\n\t */\n\t@Input('panel-classes')\n\tset inputPanelClasses(classes: string) {\n\t\tthis.panelClasses = classes;\n\t}\n\t/**\n\t * This method takes classes set on the host lu-popover element and applies them on the\n\t * popover template that displays in the overlay container. Otherwise, it's difficult\n\t * to style the containing popover from outside the component.\n\t * @param classes list of class names\n\t */\n\t@Input('content-classes')\n\tset inputContentClasses(classes: string) {\n\t\tthis.contentClasses = classes;\n\t}\n\n\t/** Event emitted when the popover is closed. */\n\t// eslint-disable-next-line @angular-eslint/no-output-native\n\t@Output() override close = new EventEmitter<void>();\n\t@Output() override open = new EventEmitter<void>();\n\t@Output() override hovered = new EventEmitter<boolean>();\n\n\t@ViewChild(TemplateRef, { static: true })\n\tset vcTemplateRef(tr: TemplateRef<unknown>) {\n\t\tthis.templateRef = tr;\n\t}\n\n\tprotected _items: ILuDropdownItem[] = [];\n\tprotected _itemsQL: QueryList<ILuDropdownItem>;\n\t@ContentChildren(ALuDropdownItem, { descendants: true }) set optionsQL(ql: QueryList<ILuDropdownItem>) {\n\t\tthis._itemsQL = ql;\n\t}\n\n\tprivate _subs = new Subscription();\n\n\tconstructor() {\n\t\tsuper();\n\t}\n\tprotected initItems() {\n\t\tconst items$ = this._itemsQL.changes.pipe(\n\t\t\tstartWith(this._itemsQL),\n\t\t\tmap<QueryList<ILuDropdownItem>, ILuDropdownItem[]>((ql) => ql.toArray()),\n\t\t\tdelay(0),\n\t\t\tshare(),\n\t\t);\n\t\tconst itemsSub = items$.subscribe((i) => (this._items = i || []));\n\t\tthis._subs.add(itemsSub);\n\n\t\tconst singleFlow$: Observable<boolean> = items$.pipe(\n\t\t\tswitchMap((items) => merge(...items.map((i) => i.onSelect))),\n\t\t\tdebounceTime(1),\n\t\t);\n\n\t\tconst itemSelectSub = singleFlow$.subscribe(() => this._emitCloseEvent());\n\t\tthis._subs.add(itemSelectSub);\n\t}\n\n\tngAfterViewInit() {\n\t\tthis.initItems();\n\t}\n\n\tngOnDestroy() {\n\t\tthis.onClose();\n\t\tthis.close.complete();\n\t\tthis._subs.unsubscribe();\n\t}\n\n\t_emitCloseEvent(): void {\n\t\tthis.close.emit();\n\t\tif (this.#popoverContentRef) {\n\t\t\tthis.#popoverContentRef.close();\n\t\t}\n\t}\n\n\t_emitOpenEvent(): void {\n\t\tthis.open.emit();\n\t}\n\n\t_emitHoveredEvent(hovered: boolean): void {\n\t\tthis.hovered.emit(hovered);\n\t}\n\n\toverride onOpen() {\n\t\tthis.focusFirstItem();\n\t}\n\n\tprivate focusFirstItem() {\n\t\tconst firstItem = this._items[0];\n\t\tif (firstItem) {\n\t\t\tfirstItem.focus();\n\t\t}\n\t}\n}\n","<ng-template>\n\t<div\n\t\tclass=\"lu-dropdown-panel lu-popover-panel\"\n\t\t[class]=\"panelClassesMap\"\n\t\t(keydown)=\"_handleKeydown($event)\"\n\t\t(click)=\"onClick()\"\n\t\t(mouseover)=\"onMouseOver()\"\n\t\t(mouseleave)=\"onMouseLeave()\"\n\t\t(mousedown)=\"onMouseDown()\"\n\t\t[attr.id]=\"panelId\"\n\t\t[attr.aria-labelledby]=\"triggerId\"\n\t\t[@transformPopover]=\"'enter'\"\n\t>\n\t\t<div class=\"lu-popover-content dropdown\" [class]=\"contentClassesMap\">\n\t\t\t<ul class=\"dropdown-list\">\n\t\t\t\t<ng-content />\n\t\t\t</ul>\n\t\t</div>\n\t</div>\n</ng-template>\n","import { NgModule } from '@angular/core';\nimport { LuDropdownPanelComponent } from './dropdown-panel.component';\n\n/**\n * @deprecated use `LuDropdownPanelComponent` instead\n */\n@NgModule({\n\timports: [LuDropdownPanelComponent],\n\texports: [LuDropdownPanelComponent],\n})\nexport class LuDropdownPanelModule {}\n","import { ConnectionPositionPair, HorizontalConnectionPos, OriginConnectionPosition, OverlayConnectionPosition, VerticalConnectionPos } from '@angular/cdk/overlay';\nimport { DestroyRef, Directive, effect, inject, input, OnInit, TemplateRef, Type } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { isNil, ɵeffectWithDeps } from '@lucca-front/ng/core';\nimport { ALuPopoverPanel, LuPopoverAlignment } from '@lucca-front/ng/popover';\nimport { PopoverDirective, PopoverPosition } from '@lucca-front/ng/popover2';\n\n@Directive({\n\tselector: '[luDropdown]',\n\texportAs: 'LuDropdownTrigger',\n\thost: {\n\t\t'[attr.aria-expanded]': 'popover2.opened()',\n\t},\n\thostDirectives: [\n\t\t{\n\t\t\tdirective: PopoverDirective,\n\t\t\tinputs: ['luPopoverPosition: luDropdownPosition', 'luPopoverDisabled: luDropdownDisabled', 'customPositions'],\n\t\t\toutputs: ['luPopoverOpened: luDropdownOnOpen', 'luPopoverClosed: luDropdownOnClose'],\n\t\t},\n\t],\n})\nexport class LuDropdownTriggerDirective<_T> implements OnInit {\n\tprotected popover2 = inject(PopoverDirective);\n\t#destroyRef = inject(DestroyRef);\n\t// Keeping generic type here just for the sake of backwards compatibility\n\t/** References the popover instance that the trigger is associated with. */\n\treadonly inputPanel = input<TemplateRef<unknown> | Type<unknown> | ALuPopoverPanel>(undefined, { alias: 'luDropdown' });\n\n\tconstructor() {\n\t\tthis.popover2.luPopoverNoCloseButton.set(true);\n\t\tif (!this.popover2.customPositions()?.length) {\n\t\t\teffect(() => {\n\t\t\t\tthis.popover2.customPositions.set(this.legacyPositionBuilder(this.popover2.luPopoverPositionRef()));\n\t\t\t});\n\t\t}\n\n\t\tɵeffectWithDeps([this.inputPanel], (p) => {\n\t\t\tif (isNil(p)) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (p instanceof ALuPopoverPanel) {\n\t\t\t\tthis.popover2.content.set(p.templateRef);\n\t\t\t\tp.close.pipe(takeUntilDestroyed(this.#destroyRef)).subscribe(() => this.popover2.close());\n\t\t\t} else {\n\t\t\t\tthis.popover2.content.set(p);\n\t\t\t}\n\t\t});\n\t}\n\n\t/** how the panel will be aligned with the target, allowed values: top, bottom, left, right\n\t * @deprecated prefer using customPositions instead\n\t * */\n\tluDropdownAlignment: LuPopoverAlignment = 'right';\n\n\tngOnInit(): void {\n\t\tif (isNil(this.popover2.luPopoverPosition())) {\n\t\t\tthis.popover2.luPopoverPositionRef.set('below');\n\t\t}\n\t}\n\n\t/**********************\n\t *\n\t * LEGACY STUFF TO HANDLE EXISTING POSITIONS\n\t *\n\t ***********************/\n\tprivate legacyPositionBuilder(position: PopoverPosition): ConnectionPositionPair[] {\n\t\tconst connectionPosition: OriginConnectionPosition = {\n\t\t\toriginX: 'start',\n\t\t\toriginY: 'top',\n\t\t};\n\n\t\t// Position\n\t\tif (position === 'above') {\n\t\t\tconnectionPosition.originY = 'top';\n\t\t} else if (position === 'below') {\n\t\t\tconnectionPosition.originY = 'bottom';\n\t\t} else if (position === 'before') {\n\t\t\tconnectionPosition.originX = 'start';\n\t\t} else if (position === 'after') {\n\t\t\tconnectionPosition.originX = 'end';\n\t\t}\n\n\t\t// Alignment\n\t\tconst alignment = this.luDropdownAlignment;\n\t\tif (position === 'below' || position === 'above') {\n\t\t\tif (alignment === 'left') {\n\t\t\t\tconnectionPosition.originX = 'start';\n\t\t\t} else if (alignment === 'right') {\n\t\t\t\tconnectionPosition.originX = 'end';\n\t\t\t} else {\n\t\t\t\tconnectionPosition.originX = 'center';\n\t\t\t}\n\t\t} else {\n\t\t\tif (alignment === 'top') {\n\t\t\t\tconnectionPosition.originY = 'top';\n\t\t\t} else if (alignment === 'bottom') {\n\t\t\t\tconnectionPosition.originY = 'bottom';\n\t\t\t} else {\n\t\t\t\tconnectionPosition.originY = 'center';\n\t\t\t}\n\t\t}\n\n\t\tconst overlayPosition: OverlayConnectionPosition = {\n\t\t\toverlayX: 'start',\n\t\t\toverlayY: 'top',\n\t\t};\n\n\t\tif (position === 'above' || position === 'below') {\n\t\t\toverlayPosition.overlayX = connectionPosition.originX;\n\t\t\toverlayPosition.overlayY = position === 'above' ? 'bottom' : 'top';\n\t\t} else {\n\t\t\toverlayPosition.overlayX = position === 'before' ? 'end' : 'start';\n\t\t\toverlayPosition.overlayY = connectionPosition.originY;\n\t\t}\n\n\t\treturn [\n\t\t\t{\n\t\t\t\toriginX: connectionPosition.originX,\n\t\t\t\toriginY: connectionPosition.originY,\n\t\t\t\toverlayX: overlayPosition.overlayX,\n\t\t\t\toverlayY: overlayPosition.overlayY,\n\t\t\t},\n\t\t\t{\n\t\t\t\toriginX: connectionPosition.originX,\n\t\t\t\toriginY: this.invertVerticalPos(connectionPosition.originY),\n\t\t\t\toverlayX: overlayPosition.overlayX,\n\t\t\t\toverlayY: this.invertVerticalPos(overlayPosition.overlayY),\n\t\t\t},\n\t\t\t{\n\t\t\t\toriginX: this.invertHorizontalPos(connectionPosition.originX),\n\t\t\t\toriginY: connectionPosition.originY,\n\t\t\t\toverlayX: this.invertHorizontalPos(overlayPosition.overlayX),\n\t\t\t\toverlayY: overlayPosition.overlayY,\n\t\t\t},\n\t\t\t{\n\t\t\t\toriginX: this.invertHorizontalPos(connectionPosition.originX),\n\t\t\t\toriginY: this.invertVerticalPos(connectionPosition.originY),\n\t\t\t\toverlayX: this.invertHorizontalPos(overlayPosition.overlayX),\n\t\t\t\toverlayY: this.invertVerticalPos(overlayPosition.overlayY),\n\t\t\t},\n\t\t];\n\t}\n\n\tprivate invertVerticalPos(y: VerticalConnectionPos): VerticalConnectionPos {\n\t\tif (y === 'top') {\n\t\t\treturn 'bottom';\n\t\t} else if (y === 'bottom') {\n\t\t\treturn 'top';\n\t\t}\n\t\treturn y;\n\t}\n\n\tprivate invertHorizontalPos(x: HorizontalConnectionPos): HorizontalConnectionPos {\n\t\tif (x === 'end') {\n\t\t\treturn 'start';\n\t\t} else if (x === 'start') {\n\t\t\treturn 'end';\n\t\t}\n\t\treturn x;\n\t}\n}\n","import { NgModule } from '@angular/core';\nimport { LuDropdownTriggerDirective } from './dropdown-trigger.directive';\n\n/**\n * @deprecated use `LuDropdownTriggerDirective` instead\n */\n@NgModule({\n\timports: [LuDropdownTriggerDirective],\n\texports: [LuDropdownTriggerDirective],\n})\nexport class LuDropdownTriggerModule {}\n","import { NgModule } from '@angular/core';\nimport { LuDropdownItemModule } from './item/index';\nimport { LuDropdownPanelModule } from './panel/index';\nimport { LuDropdownTriggerModule } from './trigger/index';\n\n/**\n * @deprecated use `LuDropdownTriggerDirective, LuDropdownPanelComponent, LuDropdownItemDirective` instead\n */\n@NgModule({\n\timports: [LuDropdownTriggerModule, LuDropdownPanelModule, LuDropdownItemModule],\n\texports: [LuDropdownTriggerModule, LuDropdownPanelModule, LuDropdownItemModule],\n})\nexport class LuDropdownModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["ɵeffectWithDeps"],"mappings":";;;;;;;;;;;MAgBa,uBAAuB,CAAA;AAbpC,IAAA,WAAA,GAAA;QAcC,IAAA,CAAA,kBAAkB,GAAG,MAAM,CAAC,uBAAuB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;QAE/D,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,KAAK,gFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;QACxD,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,KAAK,gFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AAOjE,IAAA;AAVA,IAAA,kBAAkB;IAKlB,UAAU,GAAA;AACT,QAAA,IAAI,IAAI,CAAC,kBAAkB,EAAE;AAC5B,YAAA,IAAI,CAAC,kBAAkB,CAAC,KAAK,EAAE;QAChC;IACD;+GAVY,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAvB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,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AA,CAAA,CAAA;gHAElE,gBAAgB,EAAA,OAAA,EAAA,CAHlB,uBAAuB,EAAE,qBAAqB,EAAE,oBAAoB,EACpE,uBAAuB,EAAE,qBAAqB,EAAE,oBAAoB,CAAA,EAAA,CAAA,CAAA;;4FAElE,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAJ5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,OAAO,EAAE,CAAC,uBAAuB,EAAE,qBAAqB,EAAE,oBAAoB,CAAC;AAC/E,oBAAA,OAAO,EAAE,CAAC,uBAAuB,EAAE,qBAAqB,EAAE,oBAAoB,CAAC;AAC/E,iBAAA;;;ACXD;;AAEG;;;;"}
1
+ {"version":3,"file":"lucca-front-ng-dropdown.mjs","sources":["../../../packages/ng/dropdown/dropdown-action/dropdown-action.component.ts","../../../packages/ng/dropdown/dropdown-divider/dropdown-divider.component.ts","../../../packages/ng/dropdown/dropdown-group/dropdown-group.component.ts","../../../packages/ng/dropdown/dropdown-group/dropdown-group.component.html","../../../packages/ng/dropdown/dropdown-item/dropdown-item.component.ts","../../../packages/ng/dropdown/dropdown-menu/dropdown-menu.component.ts","../../../packages/ng/dropdown/dropdown-menu/dropdown-menu.component.html","../../../packages/ng/dropdown/item/dropdown-item.model.ts","../../../packages/ng/dropdown/item/dropdown-item.directive.ts","../../../packages/ng/dropdown/item/dropdown-item.module.ts","../../../packages/ng/dropdown/panel/dropdown-panel.component.ts","../../../packages/ng/dropdown/panel/dropdown-panel.component.html","../../../packages/ng/dropdown/panel/dropdown-panel.module.ts","../../../packages/ng/dropdown/trigger/dropdown-trigger.directive.ts","../../../packages/ng/dropdown/trigger/dropdown-trigger.module.ts","../../../packages/ng/dropdown/dropdown.module.ts","../../../packages/ng/dropdown/lucca-front-ng-dropdown.ts"],"sourcesContent":["import { booleanAttribute, ChangeDetectionStrategy, Component, inject, input, ViewEncapsulation } from '@angular/core';\nimport { PopoverContentComponent } from '@lucca-front/ng/popover2';\n\n@Component({\n\tselector: '[lu-dropdown-action]',\n\ttemplate: '<ng-content />',\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\tclass: 'dropdown-list-option-action',\n\t\t'[class.is-disabled]': 'disabled()',\n\t\t'[class.mod-critical]': 'critical()',\n\t\t'[attr.disabled]': 'disabled() ? \"disabled\" : null',\n\t\t'(click)': 'closePanel()',\n\t},\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DropdownActionComponent {\n\t#popoverContentRef = inject(PopoverContentComponent, { optional: true });\n\n\treadonly disabled = input(false, { transform: booleanAttribute });\n\treadonly critical = input(false, { transform: booleanAttribute });\n\n\tclosePanel() {\n\t\tif (this.#popoverContentRef) {\n\t\t\tthis.#popoverContentRef.close();\n\t\t}\n\t}\n}\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\nimport { DividerComponent } from '@lucca-front/ng/divider';\n\n@Component({\n\tselector: 'lu-dropdown-divider',\n\ttemplate: '<lu-divider class=\"dropdown-list-option-divider\" />',\n\tencapsulation: ViewEncapsulation.None,\n\timports: [DividerComponent],\n\thost: {\n\t\tclass: 'dropdown-list-option',\n\t\trole: 'listitem',\n\t\t'[attr.aria-hidden]': 'true',\n\t},\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DropdownDividerComponent {}\n","import { ChangeDetectionStrategy, Component, input, ViewEncapsulation } from '@angular/core';\n\n@Component({\n\tselector: 'lu-dropdown-group',\n\ttemplateUrl: './dropdown-group.component.html',\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\tclass: 'dropdown-list-option',\n\t\trole: 'listitem',\n\t},\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DropdownGroupComponent {\n\treadonly label = input<string | null>(null);\n}\n","{{ label() }}\n<ul class=\"dropdown-list\">\n\t<ng-content />\n</ul>\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n\tselector: 'lu-dropdown-item',\n\ttemplate: '<ng-content />',\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\tclass: 'dropdown-list-option',\n\t\trole: 'listitem',\n\t},\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DropdownItemComponent {}\n","import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n\tselector: 'lu-dropdown-menu',\n\ttemplateUrl: './dropdown-menu.component.html',\n\tstyleUrl: './dropdown-menu.component.scss',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tencapsulation: ViewEncapsulation.None,\n})\nexport class DropdownMenuComponent {}\n","<div class=\"dropdown\">\n\t<ul class=\"dropdown-list\">\n\t\t<ng-content />\n\t</ul>\n</div>\n","import { Observable } from 'rxjs';\n\nexport interface ILuDropdownItem {\n\tonSelect: Observable<boolean>;\n\tfocus(): void;\n}\nexport abstract class ALuDropdownItem implements ILuDropdownItem {\n\tabstract onSelect: Observable<boolean>;\n\tabstract focus(): void;\n}\n","import { Directive, ElementRef, EventEmitter, forwardRef, HostListener, OnDestroy, Output } from '@angular/core';\nimport { ALuDropdownItem } from './dropdown-item.model';\n\n@Directive({\n\tselector: '[luDropdownItem]',\n\texportAs: 'LuDropdownItem',\n\tproviders: [\n\t\t{\n\t\t\tprovide: ALuDropdownItem,\n\t\t\tuseExisting: forwardRef(() => LuDropdownItemDirective),\n\t\t\tmulti: true,\n\t\t},\n\t],\n})\nexport class LuDropdownItemDirective extends ALuDropdownItem implements OnDestroy {\n\t// arreter les ONxxxx\n\t// eslint-disable-next-line @angular-eslint/no-output-on-prefix\n\t@Output() onSelect = new EventEmitter<boolean>();\n\tconstructor(private _eltRef: ElementRef<HTMLElement>) {\n\t\tsuper();\n\t}\n\t@HostListener('click', ['$event']) onClick(_event: Event) {\n\t\tthis.onSelect.emit(true);\n\t}\n\t@HostListener('keydown.enter', ['$event']) onEnter(_event: Event) {\n\t\tthis.onSelect.emit(true);\n\t}\n\tfocus() {\n\t\tthis._eltRef.nativeElement.focus();\n\t}\n\tngOnDestroy() {\n\t\tthis.onSelect.complete();\n\t}\n}\n","import { NgModule } from '@angular/core';\nimport { LuDropdownItemDirective } from './dropdown-item.directive';\n\n/**\n * @deprecated use `LuDropdownItemDirective` instead\n */\n@NgModule({\n\timports: [LuDropdownItemDirective],\n\texports: [LuDropdownItemDirective],\n})\nexport class LuDropdownItemModule {}\n","import {\n\tAfterViewInit,\n\tChangeDetectionStrategy,\n\tComponent,\n\tContentChildren,\n\tEventEmitter,\n\tinject,\n\tInput,\n\tOnDestroy,\n\tOutput,\n\tQueryList,\n\tTemplateRef,\n\tViewChild,\n\tViewEncapsulation,\n} from '@angular/core';\nimport { ALuPopoverPanel, ILuPopoverPanel, luTransformPopover } from '@lucca-front/ng/popover';\nimport { PopoverContentComponent } from '@lucca-front/ng/popover2';\nimport { merge, Observable, Subscription } from 'rxjs';\nimport { debounceTime, delay, map, share, startWith, switchMap } from 'rxjs/operators';\nimport { ALuDropdownItem, ILuDropdownItem } from '../item/index';\n\n/**\n * @deprecated prefer the new menu approach: https://prisme.lucca.io/94310e217/p/557682-dropdown\n */\n@Component({\n\tselector: 'lu-dropdown',\n\ttemplateUrl: './dropdown-panel.component.html',\n\tstyleUrl: './dropdown-panel.component.scss',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tanimations: [luTransformPopover],\n\texportAs: 'LuDropdownPanel',\n\tencapsulation: ViewEncapsulation.None,\n})\nexport class LuDropdownPanelComponent extends ALuPopoverPanel implements ILuPopoverPanel, OnDestroy, AfterViewInit {\n\t#popoverContentRef = inject(PopoverContentComponent, { optional: true });\n\t/**\n\t * This method takes classes set on the host lu-popover element and applies them on the\n\t * popover template that displays in the overlay container. Otherwise, it's difficult\n\t * to style the containing popover from outside the component.\n\t * @param classes list of class names\n\t */\n\t@Input('panel-classes')\n\tset inputPanelClasses(classes: string) {\n\t\tthis.panelClasses = classes;\n\t}\n\t/**\n\t * This method takes classes set on the host lu-popover element and applies them on the\n\t * popover template that displays in the overlay container. Otherwise, it's difficult\n\t * to style the containing popover from outside the component.\n\t * @param classes list of class names\n\t */\n\t@Input('content-classes')\n\tset inputContentClasses(classes: string) {\n\t\tthis.contentClasses = classes;\n\t}\n\n\t/** Event emitted when the popover is closed. */\n\t// eslint-disable-next-line @angular-eslint/no-output-native\n\t@Output() override close = new EventEmitter<void>();\n\t@Output() override open = new EventEmitter<void>();\n\t@Output() override hovered = new EventEmitter<boolean>();\n\n\t@ViewChild(TemplateRef, { static: true })\n\tset vcTemplateRef(tr: TemplateRef<unknown>) {\n\t\tthis.templateRef = tr;\n\t}\n\n\tprotected _items: ILuDropdownItem[] = [];\n\tprotected _itemsQL: QueryList<ILuDropdownItem>;\n\t@ContentChildren(ALuDropdownItem, { descendants: true }) set optionsQL(ql: QueryList<ILuDropdownItem>) {\n\t\tthis._itemsQL = ql;\n\t}\n\n\tprivate _subs = new Subscription();\n\n\tconstructor() {\n\t\tsuper();\n\t}\n\tprotected initItems() {\n\t\tconst items$ = this._itemsQL.changes.pipe(\n\t\t\tstartWith(this._itemsQL),\n\t\t\tmap<QueryList<ILuDropdownItem>, ILuDropdownItem[]>((ql) => ql.toArray()),\n\t\t\tdelay(0),\n\t\t\tshare(),\n\t\t);\n\t\tconst itemsSub = items$.subscribe((i) => (this._items = i || []));\n\t\tthis._subs.add(itemsSub);\n\n\t\tconst singleFlow$: Observable<boolean> = items$.pipe(\n\t\t\tswitchMap((items) => merge(...items.map((i) => i.onSelect))),\n\t\t\tdebounceTime(1),\n\t\t);\n\n\t\tconst itemSelectSub = singleFlow$.subscribe(() => this._emitCloseEvent());\n\t\tthis._subs.add(itemSelectSub);\n\t}\n\n\tngAfterViewInit() {\n\t\tthis.initItems();\n\t}\n\n\tngOnDestroy() {\n\t\tthis.onClose();\n\t\tthis.close.complete();\n\t\tthis._subs.unsubscribe();\n\t}\n\n\t_emitCloseEvent(): void {\n\t\tthis.close.emit();\n\t\tif (this.#popoverContentRef) {\n\t\t\tthis.#popoverContentRef.close();\n\t\t}\n\t}\n\n\t_emitOpenEvent(): void {\n\t\tthis.open.emit();\n\t}\n\n\t_emitHoveredEvent(hovered: boolean): void {\n\t\tthis.hovered.emit(hovered);\n\t}\n\n\toverride onOpen() {\n\t\tthis.focusFirstItem();\n\t}\n\n\tprivate focusFirstItem() {\n\t\tconst firstItem = this._items[0];\n\t\tif (firstItem) {\n\t\t\tfirstItem.focus();\n\t\t}\n\t}\n}\n","<ng-template>\n\t<div\n\t\tclass=\"lu-dropdown-panel lu-popover-panel\"\n\t\t[class]=\"panelClassesMap\"\n\t\t(keydown)=\"_handleKeydown($event)\"\n\t\t(click)=\"onClick()\"\n\t\t(mouseover)=\"onMouseOver()\"\n\t\t(mouseleave)=\"onMouseLeave()\"\n\t\t(mousedown)=\"onMouseDown()\"\n\t\t[attr.id]=\"panelId\"\n\t\t[attr.aria-labelledby]=\"triggerId\"\n\t\t[@transformPopover]=\"'enter'\"\n\t>\n\t\t<div class=\"lu-popover-content dropdown\" [class]=\"contentClassesMap\">\n\t\t\t<ul class=\"dropdown-list\">\n\t\t\t\t<ng-content />\n\t\t\t</ul>\n\t\t</div>\n\t</div>\n</ng-template>\n","import { NgModule } from '@angular/core';\nimport { LuDropdownPanelComponent } from './dropdown-panel.component';\n\n/**\n * @deprecated use `LuDropdownPanelComponent` instead\n */\n@NgModule({\n\timports: [LuDropdownPanelComponent],\n\texports: [LuDropdownPanelComponent],\n})\nexport class LuDropdownPanelModule {}\n","import { ConnectionPositionPair, HorizontalConnectionPos, OriginConnectionPosition, OverlayConnectionPosition, VerticalConnectionPos } from '@angular/cdk/overlay';\nimport { DestroyRef, Directive, effect, inject, Input, OnInit, TemplateRef, Type } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { isNil } from '@lucca-front/ng/core';\nimport { ALuPopoverPanel, LuPopoverAlignment } from '@lucca-front/ng/popover';\nimport { PopoverDirective, PopoverPosition } from '@lucca-front/ng/popover2';\n\n@Directive({\n\tselector: '[luDropdown]',\n\texportAs: 'LuDropdownTrigger',\n\thost: {\n\t\t'[attr.aria-expanded]': 'popover2.opened()',\n\t},\n\thostDirectives: [\n\t\t{\n\t\t\tdirective: PopoverDirective,\n\t\t\tinputs: ['luPopoverPosition: luDropdownPosition', 'luPopoverDisabled: luDropdownDisabled', 'customPositions'],\n\t\t\toutputs: ['luPopoverOpened: luDropdownOnOpen', 'luPopoverClosed: luDropdownOnClose'],\n\t\t},\n\t],\n})\nexport class LuDropdownTriggerDirective<_T> implements OnInit {\n\tprotected popover2 = inject(PopoverDirective);\n\t#destroyRef = inject(DestroyRef);\n\t// Keeping generic type here just for the sake of backwards compatibility\n\t/** References the popover instance that the trigger is associated with. */\n\t@Input('luDropdown') set inputPanel(p: TemplateRef<unknown> | Type<unknown> | ALuPopoverPanel) {\n\t\tif (p instanceof ALuPopoverPanel) {\n\t\t\tthis.popover2.content = p.templateRef;\n\t\t\tp.close.pipe(takeUntilDestroyed(this.#destroyRef)).subscribe(() => this.popover2.close());\n\t\t} else {\n\t\t\tthis.popover2.content = p;\n\t\t}\n\t}\n\n\tconstructor() {\n\t\tthis.popover2.luPopoverNoCloseButton = true;\n\t\tif (!this.popover2.customPositions || this.popover2.customPositions.length === 0) {\n\t\t\teffect(() => {\n\t\t\t\tthis.popover2.customPositions = this.legacyPositionBuilder(this.popover2.luPopoverPositionRef());\n\t\t\t});\n\t\t}\n\t}\n\n\t/** how the panel will be aligned with the target, allowed values: top, bottom, left, right\n\t * @deprecated prefer using customPositions instead\n\t * */\n\tluDropdownAlignment: LuPopoverAlignment = 'right';\n\n\tngOnInit(): void {\n\t\tif (isNil(this.popover2.luPopoverPosition())) {\n\t\t\tthis.popover2.luPopoverPositionRef.set('below');\n\t\t}\n\t}\n\n\t/**********************\n\t *\n\t * LEGACY STUFF TO HANDLE EXISTING POSITIONS\n\t *\n\t ***********************/\n\tprivate legacyPositionBuilder(position: PopoverPosition): ConnectionPositionPair[] {\n\t\tconst connectionPosition: OriginConnectionPosition = {\n\t\t\toriginX: 'start',\n\t\t\toriginY: 'top',\n\t\t};\n\n\t\t// Position\n\t\tif (position === 'above') {\n\t\t\tconnectionPosition.originY = 'top';\n\t\t} else if (position === 'below') {\n\t\t\tconnectionPosition.originY = 'bottom';\n\t\t} else if (position === 'before') {\n\t\t\tconnectionPosition.originX = 'start';\n\t\t} else if (position === 'after') {\n\t\t\tconnectionPosition.originX = 'end';\n\t\t}\n\n\t\t// Alignment\n\t\tconst alignment = this.luDropdownAlignment;\n\t\tif (position === 'below' || position === 'above') {\n\t\t\tif (alignment === 'left') {\n\t\t\t\tconnectionPosition.originX = 'start';\n\t\t\t} else if (alignment === 'right') {\n\t\t\t\tconnectionPosition.originX = 'end';\n\t\t\t} else {\n\t\t\t\tconnectionPosition.originX = 'center';\n\t\t\t}\n\t\t} else {\n\t\t\tif (alignment === 'top') {\n\t\t\t\tconnectionPosition.originY = 'top';\n\t\t\t} else if (alignment === 'bottom') {\n\t\t\t\tconnectionPosition.originY = 'bottom';\n\t\t\t} else {\n\t\t\t\tconnectionPosition.originY = 'center';\n\t\t\t}\n\t\t}\n\n\t\tconst overlayPosition: OverlayConnectionPosition = {\n\t\t\toverlayX: 'start',\n\t\t\toverlayY: 'top',\n\t\t};\n\n\t\tif (position === 'above' || position === 'below') {\n\t\t\toverlayPosition.overlayX = connectionPosition.originX;\n\t\t\toverlayPosition.overlayY = position === 'above' ? 'bottom' : 'top';\n\t\t} else {\n\t\t\toverlayPosition.overlayX = position === 'before' ? 'end' : 'start';\n\t\t\toverlayPosition.overlayY = connectionPosition.originY;\n\t\t}\n\n\t\treturn [\n\t\t\t{\n\t\t\t\toriginX: connectionPosition.originX,\n\t\t\t\toriginY: connectionPosition.originY,\n\t\t\t\toverlayX: overlayPosition.overlayX,\n\t\t\t\toverlayY: overlayPosition.overlayY,\n\t\t\t},\n\t\t\t{\n\t\t\t\toriginX: connectionPosition.originX,\n\t\t\t\toriginY: this.invertVerticalPos(connectionPosition.originY),\n\t\t\t\toverlayX: overlayPosition.overlayX,\n\t\t\t\toverlayY: this.invertVerticalPos(overlayPosition.overlayY),\n\t\t\t},\n\t\t\t{\n\t\t\t\toriginX: this.invertHorizontalPos(connectionPosition.originX),\n\t\t\t\toriginY: connectionPosition.originY,\n\t\t\t\toverlayX: this.invertHorizontalPos(overlayPosition.overlayX),\n\t\t\t\toverlayY: overlayPosition.overlayY,\n\t\t\t},\n\t\t\t{\n\t\t\t\toriginX: this.invertHorizontalPos(connectionPosition.originX),\n\t\t\t\toriginY: this.invertVerticalPos(connectionPosition.originY),\n\t\t\t\toverlayX: this.invertHorizontalPos(overlayPosition.overlayX),\n\t\t\t\toverlayY: this.invertVerticalPos(overlayPosition.overlayY),\n\t\t\t},\n\t\t];\n\t}\n\n\tprivate invertVerticalPos(y: VerticalConnectionPos): VerticalConnectionPos {\n\t\tif (y === 'top') {\n\t\t\treturn 'bottom';\n\t\t} else if (y === 'bottom') {\n\t\t\treturn 'top';\n\t\t}\n\t\treturn y;\n\t}\n\n\tprivate invertHorizontalPos(x: HorizontalConnectionPos): HorizontalConnectionPos {\n\t\tif (x === 'end') {\n\t\t\treturn 'start';\n\t\t} else if (x === 'start') {\n\t\t\treturn 'end';\n\t\t}\n\t\treturn x;\n\t}\n}\n","import { NgModule } from '@angular/core';\nimport { LuDropdownTriggerDirective } from './dropdown-trigger.directive';\n\n/**\n * @deprecated use `LuDropdownTriggerDirective` instead\n */\n@NgModule({\n\timports: [LuDropdownTriggerDirective],\n\texports: [LuDropdownTriggerDirective],\n})\nexport class LuDropdownTriggerModule {}\n","import { NgModule } from '@angular/core';\nimport { LuDropdownItemModule } from './item/index';\nimport { LuDropdownPanelModule } from './panel/index';\nimport { LuDropdownTriggerModule } from './trigger/index';\n\n/**\n * @deprecated use `LuDropdownTriggerDirective, LuDropdownPanelComponent, LuDropdownItemDirective` instead\n */\n@NgModule({\n\timports: [LuDropdownTriggerModule, LuDropdownPanelModule, LuDropdownItemModule],\n\texports: [LuDropdownTriggerModule, LuDropdownPanelModule, LuDropdownItemModule],\n})\nexport class LuDropdownModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;MAgBa,uBAAuB,CAAA;AAbpC,IAAA,WAAA,GAAA;QAcC,IAAA,CAAA,kBAAkB,GAAG,MAAM,CAAC,uBAAuB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;QAE/D,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,KAAK,gFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;QACxD,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,KAAK,gFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AAOjE,IAAA;AAVA,IAAA,kBAAkB;IAKlB,UAAU,GAAA;AACT,QAAA,IAAI,IAAI,CAAC,kBAAkB,EAAE;AAC5B,YAAA,IAAI,CAAC,kBAAkB,CAAC,KAAK,EAAE;QAChC;IACD;+GAVY,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAvB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,uBAAuB,2kBAXzB,gBAAgB,EAAA,QAAA,EAAA,IAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;4FAWd,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAbnC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,sBAAsB;AAChC,oBAAA,QAAQ,EAAE,gBAAgB;oBAC1B,aAAa,EAAE,iBAAiB,CAAC,IAAI;AACrC,oBAAA,IAAI,EA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