@lucca-front/ng 8.1.0 → 8.1.2
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.
- package/department/lib/select/feeder/department-feeder.component.d.ts +2 -1
- package/department/lib/select/input/department-select-input.component.d.ts +2 -1
- package/esm2020/api/lib/select/input/api-select-input.component.mjs +2 -2
- package/esm2020/date/lib/select/date-select-input.component.mjs +2 -2
- package/esm2020/department/lib/select/feeder/department-feeder.component.mjs +7 -2
- package/esm2020/department/lib/select/input/department-select-input.component.mjs +6 -4
- package/esm2020/department/lib/service/department-v3.service.mjs +6 -4
- package/esm2020/establishment/lib/select/input/establishment-select-input.component.mjs +2 -2
- package/esm2020/formly/lib/types/department.mjs +3 -3
- package/esm2020/qualification/lib/select/input/qualification-select-input.component.mjs +2 -2
- package/esm2020/select/lib/input/select-input.component.mjs +2 -2
- package/esm2020/user/lib/select/input/user-select-input.component.mjs +2 -2
- package/fesm2015/lucca-front-ng-api.mjs +2 -2
- package/fesm2015/lucca-front-ng-date.mjs +2 -2
- package/fesm2015/lucca-front-ng-department.mjs +16 -7
- package/fesm2015/lucca-front-ng-department.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-establishment.mjs +2 -2
- package/fesm2015/lucca-front-ng-formly.mjs +2 -2
- package/fesm2015/lucca-front-ng-formly.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-qualification.mjs +2 -2
- package/fesm2015/lucca-front-ng-select.mjs +2 -2
- package/fesm2015/lucca-front-ng-user.mjs +2 -2
- package/fesm2020/lucca-front-ng-api.mjs +2 -2
- package/fesm2020/lucca-front-ng-date.mjs +2 -2
- package/fesm2020/lucca-front-ng-department.mjs +16 -7
- package/fesm2020/lucca-front-ng-department.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-establishment.mjs +2 -2
- package/fesm2020/lucca-front-ng-formly.mjs +2 -2
- package/fesm2020/lucca-front-ng-formly.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-qualification.mjs +2 -2
- package/fesm2020/lucca-front-ng-select.mjs +2 -2
- package/fesm2020/lucca-front-ng-user.mjs +2 -2
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lucca-front-ng-department.mjs","sources":["../../../packages/ng/department/src/lib/service/department-service.model.ts","../../../packages/ng/department/src/lib/service/department-v3.service.ts","../../../packages/ng/department/src/lib/select/feeder/department-feeder.component.ts","../../../packages/ng/department/src/lib/select/feeder/department-feeder.module.ts","../../../packages/ng/department/src/lib/select/input/department-select-input.token.ts","../../../packages/ng/department/src/lib/select/input/department-select-input.intl.ts","../../../packages/ng/department/src/lib/select/input/department-select-input.component.ts","../../../packages/ng/department/src/lib/select/input/department-select-input.component.html","../../../packages/ng/department/src/lib/select/input/department-select-input.translate.ts","../../../packages/ng/department/src/lib/select/input/department-select-input.module.ts","../../../packages/ng/department/src/lib/select/department-select.module.ts","../../../packages/ng/department/src/lib/department.module.ts","../../../packages/ng/department/src/public-api.ts","../../../packages/ng/department/src/lucca-front-ng-department.ts"],"sourcesContent":["import { ILuTree } from '@lucca-front/ng/core';\r\nimport { ILuDepartment } from '../department.model';\r\nimport { Observable } from 'rxjs';\r\nimport { ILuApiService, ALuApiService } from '@lucca-front/ng/api';\r\n\r\nexport interface ILuDepartmentService<D extends ILuDepartment = ILuDepartment> extends ILuApiService<D> {\r\n\tgetTrees(): Observable<ILuTree<D>[]>;\r\n}\r\nexport abstract class ALuDepartmentService<D extends ILuDepartment = ILuDepartment> extends ALuApiService<D> implements ILuDepartmentService<D> {\r\n\tabstract getTrees(): Observable<ILuTree<D>[]>;\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { ILuApiResponse, LuApiV3Service } from '@lucca-front/ng/api';\r\nimport { ILuTree } from '@lucca-front/ng/core';\r\nimport { Observable } from 'rxjs';\r\nimport { map } from 'rxjs/operators';\r\nimport { ILuDepartment } from '../department.model';\r\nimport { ILuDepartmentService } from './department-service.model';\r\n\r\nexport interface IApiDepartment {\r\n\tnode: ILuDepartment;\r\n\tchildren: IApiDepartment[];\r\n}\r\n\r\n@Injectable()\r\nexport class LuDepartmentV3Service extends LuApiV3Service<ILuDepartment> implements ILuDepartmentService<ILuDepartment> {\r\n\tprotected override _api = `/api/v3/departments`;\r\n\tprotected _appInstanceId: number | string;\r\n\tset appInstanceId(appInstanceId: number | string) {\r\n\t\tthis._appInstanceId = appInstanceId;\r\n\t}\r\n\tprotected _operations: number[] = [];\r\n\tset operations(operations: number[]) {\r\n\t\tthis._operations = operations;\r\n\t}\r\n\r\n\tconstructor(protected override _http: HttpClient) {\r\n\t\tsuper(_http);\r\n\t}\r\n\r\n\tgetTrees() {\r\n\t\tlet call: Observable<ILuApiResponse<IApiDepartment>>;\r\n\t\tif (this._appInstanceId && this._operations?.length) {\r\n\t\t\tcall = this._http.get<ILuApiResponse<IApiDepartment>>(`/api/v3/departments/scopedtree?fields=id,name&appInstanceId=${this._appInstanceId}&operations=${this._operations.join(',')}`);\r\n\t\t} else {\r\n\t\t\tcall = this._http.get<ILuApiResponse<IApiDepartment>>('/api/v3/departments/tree?fields=id,name');\r\n\t\t}\r\n\t\treturn call.pipe(\r\n\t\t\tmap((response: ILuApiResponse<IApiDepartment>): ILuTree<ILuDepartment>[] => {\r\n\t\t\t\tconst tree = response.data;\r\n\t\t\t\treturn tree?.children.map((c) => this.format(c)) ?? [];\r\n\t\t\t}),\r\n\t\t);\r\n\t}\r\n\tprivate format(t: IApiDepartment): ILuTree<ILuDepartment> {\r\n\t\treturn { value: t.node, children: t.children.map((c) => this.format(c)) };\r\n\t}\r\n}\r\n","import { ChangeDetectionStrategy, Component, forwardRef, Inject, Input, Optional, Self, SkipSelf } from '@angular/core';\r\nimport { ALuOnOpenSubscriber, ILuOnOpenSubscriber, ILuTree } from '@lucca-front/ng/core';\r\nimport { ALuTreeOptionOperator, ILuTreeOptionOperator } from '@lucca-front/ng/option';\r\nimport { Observable, Subject } from 'rxjs';\r\nimport { ILuDepartment } from '../../department.model';\r\nimport { ALuDepartmentService, LuDepartmentV3Service } from '../../service/index';\r\n\r\n@Component({\r\n\tselector: 'lu-department-feeder',\r\n\ttemplate: '',\r\n\tstyleUrls: [],\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n\tproviders: [\r\n\t\t{\r\n\t\t\tprovide: ALuTreeOptionOperator,\r\n\t\t\tuseExisting: forwardRef(() => LuDepartmentFeederComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t\t{\r\n\t\t\tprovide: ALuDepartmentService,\r\n\t\t\tuseClass: LuDepartmentV3Service,\r\n\t\t},\r\n\t\t{\r\n\t\t\tprovide: ALuOnOpenSubscriber,\r\n\t\t\tuseExisting: forwardRef(() => LuDepartmentFeederComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t],\r\n})\r\nexport class LuDepartmentFeederComponent extends ALuTreeOptionOperator<ILuDepartment> implements ILuTreeOptionOperator<ILuDepartment>, ILuOnOpenSubscriber {\r\n\tinOptions$: Observable<ILuTree<ILuDepartment>[]>;\r\n\toutOptions$: Observable<ILuTree<ILuDepartment>[]>;\r\n\tprotected _out$ = new Subject<ILuTree<ILuDepartment>[]>();\r\n\tprotected _service: LuDepartmentV3Service;\r\n\r\n\t@Input() set appInstanceId(appInstanceId: number | string) {\r\n\t\tthis._service.appInstanceId = appInstanceId;\r\n\t}\r\n\t@Input() set operations(operations: number[]) {\r\n\t\tthis._service.operations = operations;\r\n\t}\r\n\r\n\tconstructor(\r\n\t\t@Inject(ALuDepartmentService)\r\n\t\t@Optional()\r\n\t\t@SkipSelf()\r\n\t\thostService: LuDepartmentV3Service,\r\n\t\t@Inject(ALuDepartmentService) @Self() selfService: LuDepartmentV3Service,\r\n\t) {\r\n\t\tsuper();\r\n\t\tthis._service = hostService || selfService;\r\n\t\tthis.outOptions$ = this._out$.asObservable();\r\n\t}\r\n\tonOpen() {\r\n\t\tthis._service.getTrees().subscribe((trees) => this._out$.next(trees));\r\n\t}\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { LuDepartmentFeederComponent } from './department-feeder.component';\r\n\r\n@NgModule({\r\n\timports: [HttpClientModule],\r\n\tdeclarations: [LuDepartmentFeederComponent],\r\n\texports: [LuDepartmentFeederComponent],\r\n})\r\nexport class LuDepartmentFeederModule {}\r\n","import { InjectionToken } from '@angular/core';\r\nimport { ILuTranslation } from '@lucca-front/ng/core';\r\nimport { ILuDepartmentSelectInputLabel } from './department-select-input.translate';\r\n\r\nexport const LU_DEPARTMENT_SELECT_INPUT_TRANSLATIONS = new InjectionToken<ILuTranslation<ILuDepartmentSelectInputLabel>>('LuDepartmentSelectTranslations');\r\n","import { Inject, Injectable, LOCALE_ID } from '@angular/core';\r\nimport { ALuIntl, ILuTranslation } from '@lucca-front/ng/core';\r\nimport { LU_DEPARTMENT_SELECT_INPUT_TRANSLATIONS } from './department-select-input.token';\r\nimport { ILuDepartmentSelectInputLabel } from './department-select-input.translate';\r\n\r\n@Injectable()\r\nexport class LuDepartmentSelectInputIntl extends ALuIntl<ILuDepartmentSelectInputLabel> {\r\n\tconstructor(\r\n\t\t@Inject(LU_DEPARTMENT_SELECT_INPUT_TRANSLATIONS)\r\n\t\ttranslations: ILuTranslation<ILuDepartmentSelectInputLabel>,\r\n\t\t@Inject(LOCALE_ID) locale: string,\r\n\t) {\r\n\t\tsuper(translations, locale);\r\n\t}\r\n}\r\n","import { Overlay } from '@angular/cdk/overlay';\r\nimport { AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, forwardRef, Inject, Input, Renderer2, ViewContainerRef } from '@angular/core';\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\r\nimport { ILuTreeOptionPickerPanel, LuOptionComparer } from '@lucca-front/ng/option';\r\nimport { ILuInputWithPicker } from '@lucca-front/ng/picker';\r\nimport { ALuSelectInputComponent } from '@lucca-front/ng/select';\r\nimport { LuDepartmentSelectInputIntl } from './department-select-input.intl';\r\nimport { ILuDepartmentSelectInputLabel } from './department-select-input.translate';\r\n\r\n@Component({\r\n\tselector: 'lu-department-select',\r\n\ttemplateUrl: './department-select-input.component.html',\r\n\tstyleUrls: ['./department-select-input.component.scss'],\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n\tproviders: [\r\n\t\t{\r\n\t\t\tprovide: NG_VALUE_ACCESSOR,\r\n\t\t\tuseExisting: forwardRef(() => LuDepartmentSelectInputComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t],\r\n})\r\nexport class LuDepartmentSelectInputComponent<\r\n\t\tD extends import('../../department.model').ILuDepartment = import('../../department.model').ILuDepartment,\r\n\t\tP extends ILuTreeOptionPickerPanel<D> = ILuTreeOptionPickerPanel<D>,\r\n\t>\r\n\textends ALuSelectInputComponent<D, P>\r\n\timplements ControlValueAccessor, ILuInputWithPicker<D>, AfterViewInit\r\n{\r\n\tbyId: LuOptionComparer<D> = (option1: D, option2: D) => option1 && option2 && option1.id === option2.id;\r\n\r\n\t@Input() appInstanceId: number | string;\r\n\t@Input() operations: number[];\r\n\r\n\tconstructor(\r\n\t\tprotected override _changeDetectorRef: ChangeDetectorRef,\r\n\t\tprotected override _overlay: Overlay,\r\n\t\tprotected override _elementRef: ElementRef<HTMLElement>,\r\n\t\tprotected override _viewContainerRef: ViewContainerRef,\r\n\t\tprotected override _renderer: Renderer2,\r\n\t\t@Inject(LuDepartmentSelectInputIntl)\r\n\t\tpublic intl: ILuDepartmentSelectInputLabel,\r\n\t) {\r\n\t\tsuper(_changeDetectorRef, _overlay, _elementRef, _viewContainerRef, _renderer);\r\n\t}\r\n\r\n\tsearchFn(o: D, c: string): boolean {\r\n\t\treturn o.name.toLowerCase().includes(c.toLowerCase());\r\n\t}\r\n}\r\n","<div class=\"lu-select-placeholder\">{{ placeholder }}</div>\r\n<div class=\"lu-select-value\">\r\n\t<div class=\"lu-select-display-wrapper\">\r\n\t\t<ng-container #display></ng-container>\r\n\t</div>\r\n</div>\r\n<div class=\"lu-select-suffix\">\r\n\t<lu-input-clearer></lu-input-clearer>\r\n</div>\r\n\r\n<ng-template luDisplayer [luDisplayerMultiple]=\"true\" let-values>\r\n\t<span *ngIf=\"multiple && values?.length > 1; else singleView\"\r\n\t\t><span class=\"chip mod-unkillable\">{{ values.length }}</span> {{ intl.departments }}</span\r\n\t>\r\n\t<ng-template #singleView>{{ (values[0] || values).name }}</ng-template>\r\n</ng-template>\r\n\r\n<lu-tree-option-picker-advanced [option-comparer]=\"byId\">\r\n\t<header class=\"lu-picker-header\" [class.mod-multiple]=\"multiple\">\r\n\t\t<lu-department-feeder [appInstanceId]=\"appInstanceId\" [operations]=\"operations\"></lu-department-feeder>\r\n\t\t<lu-tree-option-searcher [searchFn]=\"searchFn\"></lu-tree-option-searcher>\r\n\t\t<lu-tree-option-select-all class=\"option-selector\"></lu-tree-option-select-all>\r\n\t</header>\r\n\t<!-- <lu-tree-option-pager></lu-tree-option-pager> -->\r\n\t<lu-tree-option *luForTreeOptions=\"let option\" [tree]=\"option\">\r\n\t\t<ng-container *luDisplayer=\"let value\">{{ value.name }}</ng-container>\r\n\t</lu-tree-option>\r\n</lu-tree-option-picker-advanced>\r\n","import { ILuTranslation } from '@lucca-front/ng/core';\r\n\r\nexport interface ILuDepartmentSelectInputLabel {\r\n\tdepartments: string;\r\n}\r\nexport abstract class ALuDepartmentSelectInputLabel {\r\n\tdepartments: string;\r\n}\r\n\r\nexport const luDepartmentSelectInputTranslations: ILuTranslation<ILuDepartmentSelectInputLabel> = {\r\n\ten: {\r\n\t\tdepartments: 'departments',\r\n\t},\r\n\tfr: {\r\n\t\tdepartments: 'départements',\r\n\t},\r\n\tes: {\r\n\t\tdepartments: 'departamentos',\r\n\t},\r\n};\r\n","import { OverlayModule } from '@angular/cdk/overlay';\r\nimport { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { LuInputClearerModule, LuInputDisplayerModule } from '@lucca-front/ng/input';\r\nimport { LuTreeOptionItemModule, LuTreeOptionOperatorModule, LuTreeOptionPickerModule, LuTreeOptionSelectorModule } from '@lucca-front/ng/option';\r\nimport { LuDepartmentFeederModule } from '../feeder/index';\r\nimport { LuDepartmentSelectInputComponent } from './department-select-input.component';\r\nimport { LuDepartmentSelectInputIntl } from './department-select-input.intl';\r\nimport { LU_DEPARTMENT_SELECT_INPUT_TRANSLATIONS } from './department-select-input.token';\r\nimport { luDepartmentSelectInputTranslations } from './department-select-input.translate';\r\n\r\n@NgModule({\r\n\timports: [\r\n\t\tCommonModule,\r\n\t\tOverlayModule,\r\n\t\tLuInputClearerModule,\r\n\t\tLuInputDisplayerModule,\r\n\t\tLuDepartmentFeederModule,\r\n\t\tLuTreeOptionPickerModule,\r\n\t\tLuTreeOptionItemModule,\r\n\t\tLuTreeOptionOperatorModule,\r\n\t\tLuTreeOptionSelectorModule,\r\n\t],\r\n\tdeclarations: [LuDepartmentSelectInputComponent],\r\n\texports: [LuDepartmentSelectInputComponent],\r\n\tproviders: [\r\n\t\t{\r\n\t\t\tprovide: LU_DEPARTMENT_SELECT_INPUT_TRANSLATIONS,\r\n\t\t\tuseValue: luDepartmentSelectInputTranslations,\r\n\t\t},\r\n\t\tLuDepartmentSelectInputIntl,\r\n\t],\r\n})\r\nexport class LuDepartmentSelectInputModule {}\r\n","import { NgModule } from '@angular/core';\r\nimport { LuDepartmentFeederModule } from './feeder/index';\r\nimport { LuDepartmentSelectInputModule } from './input/index';\r\n\r\n@NgModule({\r\n\timports: [LuDepartmentFeederModule, LuDepartmentSelectInputModule],\r\n\texports: [LuDepartmentFeederModule, LuDepartmentSelectInputModule],\r\n})\r\nexport class LuDepartmentSelectModule {}\r\n","import { NgModule } from '@angular/core';\r\nimport { LuDepartmentSelectModule } from './select/index';\r\n\r\n@NgModule({\r\n\timports: [LuDepartmentSelectModule],\r\n\texports: [LuDepartmentSelectModule],\r\n})\r\nexport class LuDepartmentModule {}\r\n","/*\r\n * Public API Surface of safe-content\r\n */\r\n\r\nexport * from './index';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;MAQsB,oBAA8D,SAAQ,aAAgB;;;MCO/F,qBAAsB,SAAQ,cAA6B;IAWvE,YAA+B,KAAiB;QAC/C,KAAK,CAAC,KAAK,CAAC,CAAC;QADiB,UAAK,GAAL,KAAK,CAAY;QAV7B,SAAI,GAAG,qBAAqB,CAAC;QAKtC,gBAAW,GAAa,EAAE,CAAC;KAOpC;IAVD,IAAI,aAAa,CAAC,aAA8B;QAC/C,IAAI,CAAC,cAAc,GAAG,aAAa,CAAC;KACpC;IAED,IAAI,UAAU,CAAC,UAAoB;QAClC,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC;KAC9B;IAMD,QAAQ;QACP,IAAI,IAAgD,CAAC;QACrD,IAAI,IAAI,CAAC,cAAc,IAAI,IAAI,CAAC,WAAW,EAAE,MAAM,EAAE;YACpD,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAiC,+DAA+D,IAAI,CAAC,cAAc,eAAe,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;SACrL;aAAM;YACN,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAiC,yCAAyC,CAAC,CAAC;SACjG;QACD,OAAO,IAAI,CAAC,IAAI,CACf,GAAG,CAAC,CAAC,QAAwC;YAC5C,MAAM,IAAI,GAAG,QAAQ,CAAC,IAAI,CAAC;YAC3B,OAAO,IAAI,EAAE,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;SACvD,CAAC,CACF,CAAC;KACF;IACO,MAAM,CAAC,CAAiB;QAC/B,OAAO,EAAE,KAAK,EAAE,CAAC,CAAC,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAC,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;;MCAY,kBAAkB;;+GAAlB,kBAAkB;gHAAlB,kBAAkB,YAHpB,wBAAwB,aACxB,wBAAwB;gHAEtB,kBAAkB,YAHrB,CAAC,wBAAwB,CAAC,EACzB,wBAAwB;2FAEtB,kBAAkB;kBAJ9B,QAAQ;mBAAC;oBACT,OAAO,EAAE,CAAC,wBAAwB,CAAC;oBACnC,OAAO,EAAE,CAAC,wBAAwB,CAAC;iBACnC;;;ACND;;;;ACAA;;;;;;"}
|
|
1
|
+
{"version":3,"file":"lucca-front-ng-department.mjs","sources":["../../../packages/ng/department/src/lib/service/department-service.model.ts","../../../packages/ng/department/src/lib/service/department-v3.service.ts","../../../packages/ng/department/src/lib/select/feeder/department-feeder.component.ts","../../../packages/ng/department/src/lib/select/feeder/department-feeder.module.ts","../../../packages/ng/department/src/lib/select/input/department-select-input.token.ts","../../../packages/ng/department/src/lib/select/input/department-select-input.intl.ts","../../../packages/ng/department/src/lib/select/input/department-select-input.component.ts","../../../packages/ng/department/src/lib/select/input/department-select-input.component.html","../../../packages/ng/department/src/lib/select/input/department-select-input.translate.ts","../../../packages/ng/department/src/lib/select/input/department-select-input.module.ts","../../../packages/ng/department/src/lib/select/department-select.module.ts","../../../packages/ng/department/src/lib/department.module.ts","../../../packages/ng/department/src/public-api.ts","../../../packages/ng/department/src/lucca-front-ng-department.ts"],"sourcesContent":["import { ILuTree } from '@lucca-front/ng/core';\r\nimport { ILuDepartment } from '../department.model';\r\nimport { Observable } from 'rxjs';\r\nimport { ILuApiService, ALuApiService } from '@lucca-front/ng/api';\r\n\r\nexport interface ILuDepartmentService<D extends ILuDepartment = ILuDepartment> extends ILuApiService<D> {\r\n\tgetTrees(): Observable<ILuTree<D>[]>;\r\n}\r\nexport abstract class ALuDepartmentService<D extends ILuDepartment = ILuDepartment> extends ALuApiService<D> implements ILuDepartmentService<D> {\r\n\tabstract getTrees(): Observable<ILuTree<D>[]>;\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { ILuApiResponse, LuApiV3Service } from '@lucca-front/ng/api';\r\nimport { ILuTree } from '@lucca-front/ng/core';\r\nimport { Observable } from 'rxjs';\r\nimport { map } from 'rxjs/operators';\r\nimport { ILuDepartment } from '../department.model';\r\nimport { ILuDepartmentService } from './department-service.model';\r\n\r\nexport interface IApiDepartment {\r\n\tnode: ILuDepartment;\r\n\tchildren: IApiDepartment[];\r\n}\r\n\r\n@Injectable()\r\nexport class LuDepartmentV3Service extends LuApiV3Service<ILuDepartment> implements ILuDepartmentService<ILuDepartment> {\r\n\tprotected override _api = `/api/v3/departments`;\r\n\tprotected _appInstanceId: number | string;\r\n\tset appInstanceId(appInstanceId: number | string) {\r\n\t\tif (appInstanceId) {\r\n\t\t\tthis._appInstanceId = appInstanceId;\r\n\t\t}\r\n\t}\r\n\tprotected _operations: number[] = [];\r\n\tset operations(operations: number[]) {\r\n\t\tthis._operations = operations;\r\n\t}\r\n\r\n\tconstructor(protected override _http: HttpClient) {\r\n\t\tsuper(_http);\r\n\t}\r\n\r\n\tgetTrees() {\r\n\t\tlet call: Observable<ILuApiResponse<IApiDepartment>>;\r\n\t\tif (this._appInstanceId && this._operations?.length) {\r\n\t\t\tcall = this._http.get<ILuApiResponse<IApiDepartment>>(\r\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('&')}`,\r\n\t\t\t);\r\n\t\t} else {\r\n\t\t\tcall = this._http.get<ILuApiResponse<IApiDepartment>>(`/api/v3/departments/tree?fields=id,name&${this._filters.join(',')}`);\r\n\t\t}\r\n\t\treturn call.pipe(\r\n\t\t\tmap((response: ILuApiResponse<IApiDepartment>): ILuTree<ILuDepartment>[] => {\r\n\t\t\t\tconst tree = response.data;\r\n\t\t\t\treturn tree?.children.map((c) => this.format(c)) ?? [];\r\n\t\t\t}),\r\n\t\t);\r\n\t}\r\n\tprivate format(t: IApiDepartment): ILuTree<ILuDepartment> {\r\n\t\treturn { value: t.node, children: t.children.map((c) => this.format(c)) };\r\n\t}\r\n}\r\n","import { ChangeDetectionStrategy, Component, forwardRef, Inject, Input, Optional, Self, SkipSelf } from '@angular/core';\r\nimport { ALuOnOpenSubscriber, ILuOnOpenSubscriber, ILuTree } from '@lucca-front/ng/core';\r\nimport { ALuTreeOptionOperator, ILuTreeOptionOperator } from '@lucca-front/ng/option';\r\nimport { Observable, Subject } from 'rxjs';\r\nimport { ILuDepartment } from '../../department.model';\r\nimport { ALuDepartmentService, LuDepartmentV3Service } from '../../service/index';\r\n\r\n@Component({\r\n\tselector: 'lu-department-feeder',\r\n\ttemplate: '',\r\n\tstyleUrls: [],\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n\tproviders: [\r\n\t\t{\r\n\t\t\tprovide: ALuTreeOptionOperator,\r\n\t\t\tuseExisting: forwardRef(() => LuDepartmentFeederComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t\t{\r\n\t\t\tprovide: ALuDepartmentService,\r\n\t\t\tuseClass: LuDepartmentV3Service,\r\n\t\t},\r\n\t\t{\r\n\t\t\tprovide: ALuOnOpenSubscriber,\r\n\t\t\tuseExisting: forwardRef(() => LuDepartmentFeederComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t],\r\n})\r\nexport class LuDepartmentFeederComponent extends ALuTreeOptionOperator<ILuDepartment> implements ILuTreeOptionOperator<ILuDepartment>, ILuOnOpenSubscriber {\r\n\tinOptions$: Observable<ILuTree<ILuDepartment>[]>;\r\n\toutOptions$: Observable<ILuTree<ILuDepartment>[]>;\r\n\tprotected _out$ = new Subject<ILuTree<ILuDepartment>[]>();\r\n\tprotected _service: LuDepartmentV3Service;\r\n\t@Input() set appInstanceId(appInstanceId: number | string) {\r\n\t\tthis._service.appInstanceId = appInstanceId;\r\n\t}\r\n\t@Input() set operations(operations: number[]) {\r\n\t\tthis._service.operations = operations;\r\n\t}\r\n\r\n\t@Input() set filters(filters: string[]) {\r\n\t\tthis._service.filters = filters;\r\n\t}\r\n\r\n\tconstructor(\r\n\t\t@Inject(ALuDepartmentService)\r\n\t\t@Optional()\r\n\t\t@SkipSelf()\r\n\t\thostService: LuDepartmentV3Service,\r\n\t\t@Inject(ALuDepartmentService) @Self() selfService: LuDepartmentV3Service,\r\n\t) {\r\n\t\tsuper();\r\n\t\tthis._service = hostService || selfService;\r\n\t\tthis.outOptions$ = this._out$.asObservable();\r\n\t}\r\n\tonOpen() {\r\n\t\tthis._service.getTrees().subscribe((trees) => this._out$.next(trees));\r\n\t}\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { LuDepartmentFeederComponent } from './department-feeder.component';\r\n\r\n@NgModule({\r\n\timports: [HttpClientModule],\r\n\tdeclarations: [LuDepartmentFeederComponent],\r\n\texports: [LuDepartmentFeederComponent],\r\n})\r\nexport class LuDepartmentFeederModule {}\r\n","import { InjectionToken } from '@angular/core';\r\nimport { ILuTranslation } from '@lucca-front/ng/core';\r\nimport { ILuDepartmentSelectInputLabel } from './department-select-input.translate';\r\n\r\nexport const LU_DEPARTMENT_SELECT_INPUT_TRANSLATIONS = new InjectionToken<ILuTranslation<ILuDepartmentSelectInputLabel>>('LuDepartmentSelectTranslations');\r\n","import { Inject, Injectable, LOCALE_ID } from '@angular/core';\r\nimport { ALuIntl, ILuTranslation } from '@lucca-front/ng/core';\r\nimport { LU_DEPARTMENT_SELECT_INPUT_TRANSLATIONS } from './department-select-input.token';\r\nimport { ILuDepartmentSelectInputLabel } from './department-select-input.translate';\r\n\r\n@Injectable()\r\nexport class LuDepartmentSelectInputIntl extends ALuIntl<ILuDepartmentSelectInputLabel> {\r\n\tconstructor(\r\n\t\t@Inject(LU_DEPARTMENT_SELECT_INPUT_TRANSLATIONS)\r\n\t\ttranslations: ILuTranslation<ILuDepartmentSelectInputLabel>,\r\n\t\t@Inject(LOCALE_ID) locale: string,\r\n\t) {\r\n\t\tsuper(translations, locale);\r\n\t}\r\n}\r\n","import { Overlay } from '@angular/cdk/overlay';\r\nimport { AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, forwardRef, Inject, Input, Renderer2, ViewContainerRef } from '@angular/core';\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\r\nimport { ILuTreeOptionPickerPanel, LuOptionComparer } from '@lucca-front/ng/option';\r\nimport { ILuInputWithPicker } from '@lucca-front/ng/picker';\r\nimport { ALuSelectInputComponent } from '@lucca-front/ng/select';\r\nimport { LuDepartmentSelectInputIntl } from './department-select-input.intl';\r\nimport { ILuDepartmentSelectInputLabel } from './department-select-input.translate';\r\n\r\n@Component({\r\n\tselector: 'lu-department-select',\r\n\ttemplateUrl: './department-select-input.component.html',\r\n\tstyleUrls: ['./department-select-input.component.scss'],\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n\tproviders: [\r\n\t\t{\r\n\t\t\tprovide: NG_VALUE_ACCESSOR,\r\n\t\t\tuseExisting: forwardRef(() => LuDepartmentSelectInputComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t],\r\n})\r\nexport class LuDepartmentSelectInputComponent<\r\n\t\tD extends import('../../department.model').ILuDepartment = import('../../department.model').ILuDepartment,\r\n\t\tP extends ILuTreeOptionPickerPanel<D> = ILuTreeOptionPickerPanel<D>,\r\n\t>\r\n\textends ALuSelectInputComponent<D, P>\r\n\timplements ControlValueAccessor, ILuInputWithPicker<D>, AfterViewInit\r\n{\r\n\tbyId: LuOptionComparer<D> = (option1: D, option2: D) => option1 && option2 && option1.id === option2.id;\r\n\r\n\t@Input() appInstanceId: number | string;\r\n\t@Input() operations: number[];\r\n\t@Input() filters: string[];\r\n\r\n\tconstructor(\r\n\t\tprotected override _changeDetectorRef: ChangeDetectorRef,\r\n\t\tprotected override _overlay: Overlay,\r\n\t\tprotected override _elementRef: ElementRef<HTMLElement>,\r\n\t\tprotected override _viewContainerRef: ViewContainerRef,\r\n\t\tprotected override _renderer: Renderer2,\r\n\t\t@Inject(LuDepartmentSelectInputIntl)\r\n\t\tpublic intl: ILuDepartmentSelectInputLabel,\r\n\t) {\r\n\t\tsuper(_changeDetectorRef, _overlay, _elementRef, _viewContainerRef, _renderer);\r\n\t}\r\n\r\n\tsearchFn(o: D, c: string): boolean {\r\n\t\treturn o.name.toLowerCase().includes(c.toLowerCase());\r\n\t}\r\n}\r\n","<div class=\"lu-select-placeholder\">{{ placeholder }}</div>\r\n<div class=\"lu-select-value\">\r\n\t<div class=\"lu-select-display-wrapper\">\r\n\t\t<ng-container #display></ng-container>\r\n\t</div>\r\n</div>\r\n<div class=\"lu-select-suffix\">\r\n\t<lu-input-clearer></lu-input-clearer>\r\n</div>\r\n\r\n<ng-template luDisplayer [luDisplayerMultiple]=\"true\" let-values>\r\n\t<span *ngIf=\"multiple && values?.length > 1; else singleView\"\r\n\t\t><span class=\"chip mod-unkillable\">{{ values.length }}</span> {{ intl.departments }}</span\r\n\t>\r\n\t<ng-template #singleView>{{ (values[0] || values).name }}</ng-template>\r\n</ng-template>\r\n\r\n<lu-tree-option-picker-advanced [option-comparer]=\"byId\">\r\n\t<header class=\"lu-picker-header\" [class.mod-multiple]=\"multiple\">\r\n\t\t<lu-department-feeder [appInstanceId]=\"appInstanceId\" [operations]=\"operations\" [filters]=\"filters\"></lu-department-feeder>\r\n\t\t<lu-tree-option-searcher [searchFn]=\"searchFn\"></lu-tree-option-searcher>\r\n\t\t<lu-tree-option-select-all class=\"option-selector\"></lu-tree-option-select-all>\r\n\t</header>\r\n\t<!-- <lu-tree-option-pager></lu-tree-option-pager> -->\r\n\t<lu-tree-option *luForTreeOptions=\"let option\" [tree]=\"option\">\r\n\t\t<ng-container *luDisplayer=\"let value\">{{ value.name }}</ng-container>\r\n\t</lu-tree-option>\r\n</lu-tree-option-picker-advanced>\r\n","import { ILuTranslation } from '@lucca-front/ng/core';\r\n\r\nexport interface ILuDepartmentSelectInputLabel {\r\n\tdepartments: string;\r\n}\r\nexport abstract class ALuDepartmentSelectInputLabel {\r\n\tdepartments: string;\r\n}\r\n\r\nexport const luDepartmentSelectInputTranslations: ILuTranslation<ILuDepartmentSelectInputLabel> = {\r\n\ten: {\r\n\t\tdepartments: 'departments',\r\n\t},\r\n\tfr: {\r\n\t\tdepartments: 'départements',\r\n\t},\r\n\tes: {\r\n\t\tdepartments: 'departamentos',\r\n\t},\r\n};\r\n","import { OverlayModule } from '@angular/cdk/overlay';\r\nimport { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { LuInputClearerModule, LuInputDisplayerModule } from '@lucca-front/ng/input';\r\nimport { LuTreeOptionItemModule, LuTreeOptionOperatorModule, LuTreeOptionPickerModule, LuTreeOptionSelectorModule } from '@lucca-front/ng/option';\r\nimport { LuDepartmentFeederModule } from '../feeder/index';\r\nimport { LuDepartmentSelectInputComponent } from './department-select-input.component';\r\nimport { LuDepartmentSelectInputIntl } from './department-select-input.intl';\r\nimport { LU_DEPARTMENT_SELECT_INPUT_TRANSLATIONS } from './department-select-input.token';\r\nimport { luDepartmentSelectInputTranslations } from './department-select-input.translate';\r\n\r\n@NgModule({\r\n\timports: [\r\n\t\tCommonModule,\r\n\t\tOverlayModule,\r\n\t\tLuInputClearerModule,\r\n\t\tLuInputDisplayerModule,\r\n\t\tLuDepartmentFeederModule,\r\n\t\tLuTreeOptionPickerModule,\r\n\t\tLuTreeOptionItemModule,\r\n\t\tLuTreeOptionOperatorModule,\r\n\t\tLuTreeOptionSelectorModule,\r\n\t],\r\n\tdeclarations: [LuDepartmentSelectInputComponent],\r\n\texports: [LuDepartmentSelectInputComponent],\r\n\tproviders: [\r\n\t\t{\r\n\t\t\tprovide: LU_DEPARTMENT_SELECT_INPUT_TRANSLATIONS,\r\n\t\t\tuseValue: luDepartmentSelectInputTranslations,\r\n\t\t},\r\n\t\tLuDepartmentSelectInputIntl,\r\n\t],\r\n})\r\nexport class LuDepartmentSelectInputModule {}\r\n","import { NgModule } from '@angular/core';\r\nimport { LuDepartmentFeederModule } from './feeder/index';\r\nimport { LuDepartmentSelectInputModule } from './input/index';\r\n\r\n@NgModule({\r\n\timports: [LuDepartmentFeederModule, LuDepartmentSelectInputModule],\r\n\texports: [LuDepartmentFeederModule, LuDepartmentSelectInputModule],\r\n})\r\nexport class LuDepartmentSelectModule {}\r\n","import { NgModule } from '@angular/core';\r\nimport { LuDepartmentSelectModule } from './select/index';\r\n\r\n@NgModule({\r\n\timports: [LuDepartmentSelectModule],\r\n\texports: [LuDepartmentSelectModule],\r\n})\r\nexport class LuDepartmentModule {}\r\n","/*\r\n * Public API Surface of safe-content\r\n */\r\n\r\nexport * from './index';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;MAQsB,oBAA8D,SAAQ,aAAgB;;;MCO/F,qBAAsB,SAAQ,cAA6B;IAavE,YAA+B,KAAiB;QAC/C,KAAK,CAAC,KAAK,CAAC,CAAC;QADiB,UAAK,GAAL,KAAK,CAAY;QAZ7B,SAAI,GAAG,qBAAqB,CAAC;QAOtC,gBAAW,GAAa,EAAE,CAAC;KAOpC;IAZD,IAAI,aAAa,CAAC,aAA8B;QAC/C,IAAI,aAAa,EAAE;YAClB,IAAI,CAAC,cAAc,GAAG,aAAa,CAAC;SACpC;KACD;IAED,IAAI,UAAU,CAAC,UAAoB;QAClC,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC;KAC9B;IAMD,QAAQ;QACP,IAAI,IAAgD,CAAC;QACrD,IAAI,IAAI,CAAC,cAAc,IAAI,IAAI,CAAC,WAAW,EAAE,MAAM,EAAE;YACpD,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CACpB,iDAAiD,CAAC,iBAAiB,IAAI,CAAC,aAAa,EAAE,EAAE,cAAc,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE,IAAI,CAAC,QAAQ,CAAC,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nitService,
|
|
551
551
|
},
|
|
552
|
-
], usesInheritance: true, ngImport: i0, template: "<div class=\"lu-select-placeholder\">{{ placeholder }}</div>\r\n<div class=\"lu-select-value\">\r\n\t<div class=\"lu-select-display-wrapper\">\r\n\t\t<ng-container #display></ng-container>\r\n\t</div>\r\n</div>\r\n<div class=\"lu-select-suffix\">\r\n\t<lu-input-clearer></lu-input-clearer>\r\n</div>\r\n\r\n<ng-template luDisplayer [luDisplayerMultiple]=\"true\" let-values>\r\n\t<span *ngIf=\"multiple && values?.length > 1; else singleView\"\r\n\t\t><span class=\"chip mod-unkillable\">{{ values.length }}</span> {{ intl.establishments }}</span\r\n\t>\r\n\t<ng-template #singleView>{{ (values[0] || values).name }}</ng-template>\r\n</ng-template>\r\n\r\n<lu-option-picker-advanced [option-comparer]=\"byId\">\r\n\t<header class=\"lu-picker-header\">\r\n\t\t<lu-establishment-searcher\r\n\t\t\t[filters]=\"filters\"\r\n\t\t\t[appInstanceId]=\"appInstanceId\"\r\n\t\t\t[operations]=\"operations\"\r\n\t\t\t[sort]=\"sort\"\r\n\t\t\t(isSearching)=\"onIsSearchingChanged($event)\"\r\n\t\t></lu-establishment-searcher>\r\n\t\t<lu-establishment-select-all\r\n\t\t\t*ngIf=\"multiple\"\r\n\t\t\tclass=\"u-displayBlock u-marginSmaller\"\r\n\t\t\t[class.u-displayNone]=\"isSearching\"\r\n\t\t\t[filters]=\"filters\"\r\n\t\t\t[appInstanceId]=\"appInstanceId\"\r\n\t\t\t[operations]=\"operations\"\r\n\t\t></lu-establishment-select-all>\r\n\t</header>\r\n\r\n\t<ng-template luForLegalUnits let-group>\r\n\t\t<div class=\"optionGroup\">\r\n\t\t\t<ng-container *ngIf=\"groupByLu && !isSearching\">\r\n\t\t\t\t<button\r\n\t\t\t\t\t*ngIf=\"multiple; else singleViewGroup\"\r\n\t\t\t\t\tclass=\"optionGroupName button mod-link mod-block\"\r\n\t\t\t\t\t[luLegalUnitSelector]=\"group.key\"\r\n\t\t\t\t\t[luLegalUnitSelectorFilters]=\"filters\"\r\n\t\t\t\t\t[luLegalUnitSelectorAppInstanceId]=\"appInstanceId\"\r\n\t\t\t\t\t[luLegalUnitSelectorOperations]=\"operations\"\r\n\t\t\t\t>\r\n\t\t\t\t\t{{ group.key.name }}\r\n\t\t\t\t</button>\r\n\t\t\t\t<ng-template #singleViewGroup>\r\n\t\t\t\t\t<h5 class=\"optionGroupName mod-readonly u-marginReset\">{{ group.key.name }}</h5>\r\n\t\t\t\t</ng-template>\r\n\t\t\t</ng-container>\r\n\r\n\t\t\t<lu-option *ngFor=\"let establishment of group.items; trackBy: trackById\" [value]=\"establishment\" class=\"establishmentOption\">\r\n\t\t\t\t<ng-container *ngIf=\"isSearching; else emptySearch\">\r\n\t\t\t\t\t<span class=\"u-displayBlock\">{{ establishment.name }}</span>\r\n\t\t\t\t\t<span *ngIf=\"groupByLu\" class=\"u-displayBlock u-textLight u-textSmall\">{{ group.key.name }}</span>\r\n\t\t\t\t</ng-container>\r\n\t\t\t\t<ng-template #emptySearch>\r\n\t\t\t\t\t<span>{{ establishment.name }}</span>\r\n\t\t\t\t</ng-template>\r\n\t\t\t</lu-option>\r\n\t\t</div>\r\n\t</ng-template>\r\n</lu-option-picker-advanced>\r\n", styles: [":host{cursor:pointer;outline:none;padding:0}:host:after{content:\"\\e97c\";font-family:Lucca icons;display:inline-block;vertical-align:text-bottom;font-style:normal;color:var(--components-select-default-palette-700);bottom:.5rem;bottom:var(--components-select-input-padding-vertical);font-size:1.2rem;line-height:1.4rem;pointer-events:none;position:absolute;right:.5rem;right:var(--components-select-input-padding-horizontal)}:host[disabled]{cursor:not-allowed;pointer-events:all}:host.is-disabled{cursor:not-allowed;pointer-events:all}.lu-select-display-wrapper{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lu-select-value{line-height:1.25rem;line-height:var(--sizes-standard-line-height);min-height:calc(var(--spacings-small) + 1.25rem);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-standard-line-height));padding:.5rem 2.5rem .5rem .5rem;padding:var(--components-select-input-padding-vertical) 2.5rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all .25s ease;transition:all var(--commons-animations-durations-standard) ease;display:none}.lu-select-placeholder{color:var(--components-select-default-palette-400);line-height:1.25rem;line-height:var(--sizes-standard-line-height);min-height:calc(var(--spacings-small) + 1.25rem);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-standard-line-height));padding:.5rem 2.5rem .5rem .5rem;padding:var(--components-select-input-padding-vertical) 2.5rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all .25s ease;transition:all var(--commons-animations-durations-standard) ease;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lu-select-suffix{position:absolute;bottom:.5rem;right:1.6rem}::ng-deep .lu-select-value .label{padding:.25rem .25rem .5rem .5rem;padding:var(--spacings-smallest) var(--spacings-smaller);margin-left:0}::ng-deep .lu-select-value .chip{background:#FF6600;background:var(--components-select-chip-background);color:#fff;color:var(--components-select-chip-text);vertical-align:baseline;max-width:100%;height:1.25rem;height:var(--sizes-standard-line-height);line-height:1.25rem;line-height:var(--sizes-standard-line-height);padding:0 .5rem;padding:0 var(--spacings-smaller);margin:0 .25rem .25rem 0;text-overflow:ellipsis;overflow:hidden;vertical-align:top;white-space:nowrap}:host-context(.textfield.mod-small) .lu-select-value,:host-context(.textfield.mod-small) .lu-select-placeholder{font-size:.875rem;font-size:var(--sizes-small-font-size);line-height:1.25rem;line-height:var(--sizes-small-line-height);min-height:calc(var(--spacings-small) + 1.25rem);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-small-line-height))}:host-context(.textfield.mod-small):after{line-height:1.25rem;line-height:var(--sizes-small-line-height)}:host-context(.textfield.mod-small) ::ng-deep .lu-select-value .label{font-size:.875rem;font-size:var(--sizes-small-font-size);line-height:1.25rem;line-height:var(--sizes-small-line-height);font-weight:600;margin:0;padding:0;background:transparent}:host-context(.textfield.mod-small) ::ng-deep .lu-select-value .chip{height:1.25rem;height:var(--sizes-small-line-height);line-height:1.25rem;line-height:var(--sizes-small-line-height)}:host-context(.textfield.mod-framed).textfield-input,:host-context(.form.mod-framed).textfield-input{padding:var(--spacings-big) 0 0;padding:var(--components-select-framed-top-padding) 0 0}:host-context(.textfield.mod-framed).textfield-input:after,:host-context(.form.mod-framed).textfield-input:after{color:#96a6c5;color:var(--colors-text-light-color);bottom:var(--spacings-small);bottom:var(--components-select-framed-bottom-padding);right:.5rem;right:var(--spacings-smaller)}:host-context(.textfield.mod-framed).textfield-input .lu-select-value,:host-context(.textfield.mod-framed).textfield-input .lu-select-placeholder,:host-context(.form.mod-framed).textfield-input .lu-select-value,:host-context(.form.mod-framed).textfield-input .lu-select-placeholder{padding:0 calc(var(--spacings-small) * 3) var(--spacings-small) var(--spacings-small);padding:0 calc(var(--components-select-framed-side-padding) * 3) var(--components-select-framed-bottom-padding) var(--components-select-framed-side-padding)}:host-context(.textfield.mod-framed).textfield-input .lu-select-suffix,:host-context(.form.mod-framed).textfield-input .lu-select-suffix{bottom:var(--spacings-small);bottom:var(--components-select-framed-bottom-padding);right:1.7rem}:host-context(.textfield.mod-filter) .lu-select-value,:host-context(.textfield.mod-filter) .lu-select-placeholder{padding:0;height:auto;padding-top:1rem;color:#2a3551;color:var(--colors-text-default-color)}:host-context(.textfield.mod-filter) .lu-select-suffix{bottom:.4rem}:host-context(.textfield.mod-material):after{color:#96a6c5;color:var(--colors-text-light-color);bottom:.6rem;right:0}:host-context(.textfield.mod-material) .lu-select-value,:host-context(.textfield.mod-material) .lu-select-placeholder{padding-left:0;padding-right:.8rem}:host-context(.textfield.mod-material) .lu-select-suffix{right:1rem;right:calc(2 * var(--components-select-input-padding-horizontal))}:host-context(.textfield.mod-material).is-select .lu-select-placeholder{display:none}:host-context(.textfield.mod-material).mod-search:after{bottom:0}:host-context(.textfield.mod-material).mod-search .lu-select-suffix{right:1.375rem;right:calc(2.75 * var(--components-select-input-padding-horizontal))}:host-context(.textfield.mod-material .textfield-input.is-focused) .lu-select-placeholder{display:none}:host(.mod-multiple).mod-multipleView:not(.mod-singleLine) .lu-select-value{height:auto;align-items:center}:host(.mod-multiple).mod-multipleView:not(.mod-singleLine) .lu-select-display-wrapper{overflow:hidden;white-space:normal;margin-bottom:-.25rem}:host-context(.textfield-input.is-filled) .lu-select-placeholder{display:none}:host-context(.textfield-input.is-filled) .lu-select-value{display:flex}:host-context(.textfield-input.is-clearable) .lu-select-value{padding-right:2.5rem}:host-context(.textfield-input.is-error):after{color:#e51a3b;color:var(--palettes-error-color)}:host-context(.textfield-input.is-error) .lu-select-placeholder{color:#ffe0e6;color:var(--palettes-error-200)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]):after{color:#999;color:var(--commons-disabled-color)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]) .lu-select-placeholder{color:#bbb;color:var(--commons-disabled-placeholder)}:host-context(.palette-primary) .lu-select-placeholder{color:var(--palettes-primary-400)}:host-context(.palette-primary):after{color:var(--palettes-primary-700)}:host-context(.palette-secondary) .lu-select-placeholder{color:var(--palettes-secondary-400)}:host-context(.palette-secondary):after{color:var(--palettes-secondary-700)}:host-context(.palette-grey) .lu-select-placeholder{color:var(--palettes-grey-400)}:host-context(.palette-grey):after{color:var(--palettes-grey-700)}:host-context(.palette-success) .lu-select-placeholder{color:var(--palettes-success-400)}:host-context(.palette-success):after{color:var(--palettes-success-700)}:host-context(.palette-warning) .lu-select-placeholder{color:var(--palettes-warning-400)}:host-context(.palette-warning):after{color:var(--palettes-warning-700)}:host-context(.palette-error) .lu-select-placeholder{color:var(--palettes-error-400)}:host-context(.palette-error):after{color:var(--palettes-error-700)}.lu-select-value{padding-right:2.5rem}.lu-picker-header .option-selector{display:none}.lu-picker-header.mod-multiple .option-selector{display:inherit;padding:.5rem;padding:var(--spacings-smaller)}.optionGroupName{padding:.5rem;padding:var(--components-options-item-padding-vertical) var(--components-options-item-padding-horizontal);border-top:1px solid var(--palettes-grey-200);border-top:1px solid var(--commons-divider-color);font-size:.875rem;font-size:var(--sizes-small-font-size);width:100%;text-align:left}.optionGroupName.mod-readonly{color:#679;color:var(--palettes-grey-600);font-weight:400}.optionGroupName.button{text-decoration:underline;margin:0}.optionGroupName.button:active,.optionGroupName.button:focus,.optionGroupName.button:hover{box-shadow:none;background-color:transparent}.optionGroupName.button:active~lu-option,.optionGroupName.button:focus~lu-option,.optionGroupName.button:hover~lu-option{background-color:var(--palettes-primary-50);background-color:var(--commons-highlight)}\n"], components: [{ type: i2$1.LuInputClearerComponent, selector: "lu-input-clearer", outputs: ["onClear"], exportAs: ["luClearer"] }, { type: i3.LuOptionPickerAdvancedComponent, selector: "lu-option-picker-advanced", exportAs: ["LuOptionPickerAdvanced"] }, { type: LuEstablishmentSearcherComponent, selector: "lu-establishment-searcher", inputs: ["filters", "appInstanceId", "operations", "sort"], outputs: ["isSearching"] }, { type: LuEstablishmentSelectAllComponent, selector: "lu-establishment-select-all", inputs: ["filters", "appInstanceId", "operations"] }, { type: i3.LuOptionItemComponent, selector: "lu-option", inputs: ["selected", "highlighted", "value"], outputs: ["onSelect"] }], directives: [{ type: i2$1.LuInputDisplayerDirective, selector: "[luDisplayer]", inputs: ["luDisplayerMultiple", "multiple"] }, { type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: LuForLegalUnitsDirective, selector: "[luForLegalUnits]" }, { type: LuLegalUnitSelectorDirective, selector: "[luLegalUnitSelector]", inputs: ["luLegalUnitSelector", "luLegalUnitSelectorFilters", "luLegalUnitSelectorAppInstanceId", "luLegalUnitSelectorOperations"] }, { type: i3$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
552
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"lu-select-placeholder\">{{ placeholder }}</div>\r\n<div class=\"lu-select-value\">\r\n\t<div class=\"lu-select-display-wrapper\">\r\n\t\t<ng-container #display></ng-container>\r\n\t</div>\r\n</div>\r\n<div class=\"lu-select-suffix\">\r\n\t<lu-input-clearer></lu-input-clearer>\r\n</div>\r\n\r\n<ng-template luDisplayer [luDisplayerMultiple]=\"true\" let-values>\r\n\t<span *ngIf=\"multiple && values?.length > 1; else singleView\"\r\n\t\t><span class=\"chip mod-unkillable\">{{ values.length }}</span> {{ intl.establishments }}</span\r\n\t>\r\n\t<ng-template #singleView>{{ (values[0] || values).name }}</ng-template>\r\n</ng-template>\r\n\r\n<lu-option-picker-advanced [option-comparer]=\"byId\">\r\n\t<header class=\"lu-picker-header\">\r\n\t\t<lu-establishment-searcher\r\n\t\t\t[filters]=\"filters\"\r\n\t\t\t[appInstanceId]=\"appInstanceId\"\r\n\t\t\t[operations]=\"operations\"\r\n\t\t\t[sort]=\"sort\"\r\n\t\t\t(isSearching)=\"onIsSearchingChanged($event)\"\r\n\t\t></lu-establishment-searcher>\r\n\t\t<lu-establishment-select-all\r\n\t\t\t*ngIf=\"multiple\"\r\n\t\t\tclass=\"u-displayBlock u-marginSmaller\"\r\n\t\t\t[class.u-displayNone]=\"isSearching\"\r\n\t\t\t[filters]=\"filters\"\r\n\t\t\t[appInstanceId]=\"appInstanceId\"\r\n\t\t\t[operations]=\"operations\"\r\n\t\t></lu-establishment-select-all>\r\n\t</header>\r\n\r\n\t<ng-template luForLegalUnits let-group>\r\n\t\t<div class=\"optionGroup\">\r\n\t\t\t<ng-container *ngIf=\"groupByLu && !isSearching\">\r\n\t\t\t\t<button\r\n\t\t\t\t\t*ngIf=\"multiple; else singleViewGroup\"\r\n\t\t\t\t\tclass=\"optionGroupName button mod-link mod-block\"\r\n\t\t\t\t\t[luLegalUnitSelector]=\"group.key\"\r\n\t\t\t\t\t[luLegalUnitSelectorFilters]=\"filters\"\r\n\t\t\t\t\t[luLegalUnitSelectorAppInstanceId]=\"appInstanceId\"\r\n\t\t\t\t\t[luLegalUnitSelectorOperations]=\"operations\"\r\n\t\t\t\t>\r\n\t\t\t\t\t{{ group.key.name }}\r\n\t\t\t\t</button>\r\n\t\t\t\t<ng-template #singleViewGroup>\r\n\t\t\t\t\t<h5 class=\"optionGroupName mod-readonly u-marginReset\">{{ group.key.name }}</h5>\r\n\t\t\t\t</ng-template>\r\n\t\t\t</ng-container>\r\n\r\n\t\t\t<lu-option *ngFor=\"let establishment of group.items; trackBy: trackById\" [value]=\"establishment\" class=\"establishmentOption\">\r\n\t\t\t\t<ng-container *ngIf=\"isSearching; else emptySearch\">\r\n\t\t\t\t\t<span class=\"u-displayBlock\">{{ establishment.name }}</span>\r\n\t\t\t\t\t<span *ngIf=\"groupByLu\" class=\"u-displayBlock u-textLight u-textSmall\">{{ group.key.name }}</span>\r\n\t\t\t\t</ng-container>\r\n\t\t\t\t<ng-template #emptySearch>\r\n\t\t\t\t\t<span>{{ establishment.name }}</span>\r\n\t\t\t\t</ng-template>\r\n\t\t\t</lu-option>\r\n\t\t</div>\r\n\t</ng-template>\r\n</lu-option-picker-advanced>\r\n", styles: [":host{cursor:pointer;outline:none;padding:0}:host:after{content:\"\\e97c\";font-family:Lucca icons;display:inline-block;vertical-align:text-bottom;font-style:normal;color:var(--components-select-default-palette-700);bottom:.5rem;bottom:var(--components-select-input-padding-vertical);font-size:1.2rem;line-height:1.4rem;pointer-events:none;position:absolute;right:.5rem;right:var(--components-select-input-padding-horizontal)}:host[disabled]{cursor:not-allowed;pointer-events:all}:host.is-disabled{cursor:not-allowed;pointer-events:all}.lu-select-display-wrapper{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lu-select-value{line-height:1.5rem;line-height:var(--sizes-standard-line-height);min-height:calc(var(--spacings-small) + 1.5rem);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-standard-line-height));padding:.5rem 2.5rem .5rem .5rem;padding:var(--components-select-input-padding-vertical) 2.5rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all .25s ease;transition:all var(--commons-animations-durations-standard) ease;display:none}.lu-select-placeholder{color:var(--components-select-default-palette-400);line-height:1.5rem;line-height:var(--sizes-standard-line-height);min-height:calc(var(--spacings-small) + 1.5rem);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-standard-line-height));padding:.5rem 2.5rem .5rem .5rem;padding:var(--components-select-input-padding-vertical) 2.5rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all .25s ease;transition:all var(--commons-animations-durations-standard) ease;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lu-select-suffix{position:absolute;bottom:.5rem;right:1.6rem}::ng-deep .lu-select-value .label{padding:.25rem .25rem .5rem .5rem;padding:var(--spacings-smallest) var(--spacings-smaller);margin-left:0}::ng-deep .lu-select-value .chip{background:#FF6600;background:var(--components-select-chip-background);color:#fff;color:var(--components-select-chip-text);vertical-align:baseline;max-width:100%;height:1.5rem;height:var(--sizes-standard-line-height);line-height:1.5rem;line-height:var(--sizes-standard-line-height);padding:0 .5rem;padding:0 var(--spacings-smaller);margin:0 .25rem .25rem 0;text-overflow:ellipsis;overflow:hidden;vertical-align:top;white-space:nowrap}:host-context(.textfield.mod-small) .lu-select-value,:host-context(.textfield.mod-small) .lu-select-placeholder{font-size:.875rem;font-size:var(--sizes-small-font-size);line-height:1.25rem;line-height:var(--sizes-small-line-height);min-height:calc(var(--spacings-small) + 1.25rem);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-small-line-height))}:host-context(.textfield.mod-small):after{line-height:1.25rem;line-height:var(--sizes-small-line-height)}:host-context(.textfield.mod-small) ::ng-deep .lu-select-value .label{font-size:.875rem;font-size:var(--sizes-small-font-size);line-height:1.25rem;line-height:var(--sizes-small-line-height);font-weight:600;margin:0;padding:0;background:transparent}:host-context(.textfield.mod-small) ::ng-deep .lu-select-value .chip{height:1.25rem;height:var(--sizes-small-line-height);line-height:1.25rem;line-height:var(--sizes-small-line-height)}:host-context(.textfield.mod-framed).textfield-input,:host-context(.form.mod-framed).textfield-input{padding:var(--spacings-big) 0 0;padding:var(--components-select-framed-top-padding) 0 0}:host-context(.textfield.mod-framed).textfield-input:after,:host-context(.form.mod-framed).textfield-input:after{color:#96a6c5;color:var(--colors-text-light-color);bottom:var(--spacings-small);bottom:var(--components-select-framed-bottom-padding);right:.5rem;right:var(--spacings-smaller)}:host-context(.textfield.mod-framed).textfield-input .lu-select-value,:host-context(.textfield.mod-framed).textfield-input .lu-select-placeholder,:host-context(.form.mod-framed).textfield-input .lu-select-value,:host-context(.form.mod-framed).textfield-input .lu-select-placeholder{padding:0 calc(var(--spacings-small) * 3) var(--spacings-small) var(--spacings-small);padding:0 calc(var(--components-select-framed-side-padding) * 3) var(--components-select-framed-bottom-padding) var(--components-select-framed-side-padding)}:host-context(.textfield.mod-framed).textfield-input .lu-select-suffix,:host-context(.form.mod-framed).textfield-input .lu-select-suffix{bottom:var(--spacings-small);bottom:var(--components-select-framed-bottom-padding);right:1.7rem}:host-context(.textfield.mod-filter) .lu-select-value,:host-context(.textfield.mod-filter) .lu-select-placeholder{padding:0;height:auto;padding-top:1rem;color:#2a3551;color:var(--colors-text-default-color)}:host-context(.textfield.mod-filter) .lu-select-suffix{bottom:.4rem}:host-context(.textfield.mod-material):after{color:#96a6c5;color:var(--colors-text-light-color);bottom:.6rem;right:0}:host-context(.textfield.mod-material) .lu-select-value,:host-context(.textfield.mod-material) .lu-select-placeholder{padding-left:0;padding-right:.8rem}:host-context(.textfield.mod-material) .lu-select-suffix{right:1rem;right:calc(2 * var(--components-select-input-padding-horizontal))}:host-context(.textfield.mod-material).is-select .lu-select-placeholder{display:none}:host-context(.textfield.mod-material).mod-search:after{bottom:0}:host-context(.textfield.mod-material).mod-search .lu-select-suffix{right:1.375rem;right:calc(2.75 * var(--components-select-input-padding-horizontal))}:host-context(.textfield.mod-material .textfield-input.is-focused) .lu-select-placeholder{display:none}:host(.mod-multiple).mod-multipleView:not(.mod-singleLine) .lu-select-value{height:auto;align-items:center}:host(.mod-multiple).mod-multipleView:not(.mod-singleLine) .lu-select-display-wrapper{overflow:hidden;white-space:normal;margin-bottom:-.25rem}:host-context(.textfield-input.is-filled) .lu-select-placeholder{display:none}:host-context(.textfield-input.is-filled) .lu-select-value{display:flex}:host-context(.textfield-input.is-clearable) .lu-select-value{padding-right:2.5rem}:host-context(.textfield-input.is-error):after{color:#e51a3b;color:var(--palettes-error-color)}:host-context(.textfield-input.is-error) .lu-select-placeholder{color:#ffe0e6;color:var(--palettes-error-200)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]):after{color:#999;color:var(--commons-disabled-color)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]) .lu-select-placeholder{color:#bbb;color:var(--commons-disabled-placeholder)}:host-context(.palette-primary) .lu-select-placeholder{color:var(--palettes-primary-400)}:host-context(.palette-primary):after{color:var(--palettes-primary-700)}:host-context(.palette-secondary) .lu-select-placeholder{color:var(--palettes-secondary-400)}:host-context(.palette-secondary):after{color:var(--palettes-secondary-700)}:host-context(.palette-grey) .lu-select-placeholder{color:var(--palettes-grey-400)}:host-context(.palette-grey):after{color:var(--palettes-grey-700)}:host-context(.palette-success) .lu-select-placeholder{color:var(--palettes-success-400)}:host-context(.palette-success):after{color:var(--palettes-success-700)}:host-context(.palette-warning) .lu-select-placeholder{color:var(--palettes-warning-400)}:host-context(.palette-warning):after{color:var(--palettes-warning-700)}:host-context(.palette-error) .lu-select-placeholder{color:var(--palettes-error-400)}:host-context(.palette-error):after{color:var(--palettes-error-700)}.lu-select-value{padding-right:2.5rem}.lu-picker-header .option-selector{display:none}.lu-picker-header.mod-multiple .option-selector{display:inherit;padding:.5rem;padding:var(--spacings-smaller)}.optionGroupName{padding:.5rem;padding:var(--components-options-item-padding-vertical) var(--components-options-item-padding-horizontal);border-top:1px solid var(--palettes-grey-200);border-top:1px solid var(--commons-divider-color);font-size:.875rem;font-size:var(--sizes-small-font-size);width:100%;text-align:left}.optionGroupName.mod-readonly{color:#679;color:var(--palettes-grey-600);font-weight:400}.optionGroupName.button{text-decoration:underline;margin:0}.optionGroupName.button:active,.optionGroupName.button:focus,.optionGroupName.button:hover{box-shadow:none;background-color:transparent}.optionGroupName.button:active~lu-option,.optionGroupName.button:focus~lu-option,.optionGroupName.button:hover~lu-option{background-color:var(--palettes-primary-50);background-color:var(--commons-highlight)}\n"], components: [{ type: i2$1.LuInputClearerComponent, selector: "lu-input-clearer", outputs: ["onClear"], exportAs: ["luClearer"] }, { type: i3.LuOptionPickerAdvancedComponent, selector: "lu-option-picker-advanced", exportAs: ["LuOptionPickerAdvanced"] }, { type: LuEstablishmentSearcherComponent, selector: "lu-establishment-searcher", inputs: ["filters", "appInstanceId", "operations", "sort"], outputs: ["isSearching"] }, { type: LuEstablishmentSelectAllComponent, selector: "lu-establishment-select-all", inputs: ["filters", "appInstanceId", "operations"] }, { type: i3.LuOptionItemComponent, selector: "lu-option", inputs: ["selected", "highlighted", "value"], outputs: ["onSelect"] }], directives: [{ type: i2$1.LuInputDisplayerDirective, selector: "[luDisplayer]", inputs: ["luDisplayerMultiple", "multiple"] }, { type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: LuForLegalUnitsDirective, selector: "[luForLegalUnits]" }, { type: LuLegalUnitSelectorDirective, selector: "[luLegalUnitSelector]", inputs: ["luLegalUnitSelector", "luLegalUnitSelectorFilters", "luLegalUnitSelectorAppInstanceId", "luLegalUnitSelectorOperations"] }, { type: i3$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
553
553
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: LuEstablishmentSelectInputComponent, decorators: [{
|
|
554
554
|
type: Component,
|
|
555
555
|
args: [{ selector: 'lu-establishment-select', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
@@ -566,7 +566,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImpor
|
|
|
566
566
|
provide: ALuLegalUnitService,
|
|
567
567
|
useClass: LuLegalUnitService,
|
|
568
568
|
},
|
|
569
|
-
], template: "<div class=\"lu-select-placeholder\">{{ placeholder }}</div>\r\n<div class=\"lu-select-value\">\r\n\t<div class=\"lu-select-display-wrapper\">\r\n\t\t<ng-container #display></ng-container>\r\n\t</div>\r\n</div>\r\n<div class=\"lu-select-suffix\">\r\n\t<lu-input-clearer></lu-input-clearer>\r\n</div>\r\n\r\n<ng-template luDisplayer [luDisplayerMultiple]=\"true\" let-values>\r\n\t<span *ngIf=\"multiple && values?.length > 1; else singleView\"\r\n\t\t><span class=\"chip mod-unkillable\">{{ values.length }}</span> {{ intl.establishments }}</span\r\n\t>\r\n\t<ng-template #singleView>{{ (values[0] || values).name }}</ng-template>\r\n</ng-template>\r\n\r\n<lu-option-picker-advanced [option-comparer]=\"byId\">\r\n\t<header class=\"lu-picker-header\">\r\n\t\t<lu-establishment-searcher\r\n\t\t\t[filters]=\"filters\"\r\n\t\t\t[appInstanceId]=\"appInstanceId\"\r\n\t\t\t[operations]=\"operations\"\r\n\t\t\t[sort]=\"sort\"\r\n\t\t\t(isSearching)=\"onIsSearchingChanged($event)\"\r\n\t\t></lu-establishment-searcher>\r\n\t\t<lu-establishment-select-all\r\n\t\t\t*ngIf=\"multiple\"\r\n\t\t\tclass=\"u-displayBlock u-marginSmaller\"\r\n\t\t\t[class.u-displayNone]=\"isSearching\"\r\n\t\t\t[filters]=\"filters\"\r\n\t\t\t[appInstanceId]=\"appInstanceId\"\r\n\t\t\t[operations]=\"operations\"\r\n\t\t></lu-establishment-select-all>\r\n\t</header>\r\n\r\n\t<ng-template luForLegalUnits let-group>\r\n\t\t<div class=\"optionGroup\">\r\n\t\t\t<ng-container *ngIf=\"groupByLu && !isSearching\">\r\n\t\t\t\t<button\r\n\t\t\t\t\t*ngIf=\"multiple; else singleViewGroup\"\r\n\t\t\t\t\tclass=\"optionGroupName button mod-link mod-block\"\r\n\t\t\t\t\t[luLegalUnitSelector]=\"group.key\"\r\n\t\t\t\t\t[luLegalUnitSelectorFilters]=\"filters\"\r\n\t\t\t\t\t[luLegalUnitSelectorAppInstanceId]=\"appInstanceId\"\r\n\t\t\t\t\t[luLegalUnitSelectorOperations]=\"operations\"\r\n\t\t\t\t>\r\n\t\t\t\t\t{{ group.key.name }}\r\n\t\t\t\t</button>\r\n\t\t\t\t<ng-template #singleViewGroup>\r\n\t\t\t\t\t<h5 class=\"optionGroupName mod-readonly u-marginReset\">{{ group.key.name }}</h5>\r\n\t\t\t\t</ng-template>\r\n\t\t\t</ng-container>\r\n\r\n\t\t\t<lu-option *ngFor=\"let establishment of group.items; trackBy: trackById\" [value]=\"establishment\" class=\"establishmentOption\">\r\n\t\t\t\t<ng-container *ngIf=\"isSearching; else emptySearch\">\r\n\t\t\t\t\t<span class=\"u-displayBlock\">{{ establishment.name }}</span>\r\n\t\t\t\t\t<span *ngIf=\"groupByLu\" class=\"u-displayBlock u-textLight u-textSmall\">{{ group.key.name }}</span>\r\n\t\t\t\t</ng-container>\r\n\t\t\t\t<ng-template #emptySearch>\r\n\t\t\t\t\t<span>{{ establishment.name }}</span>\r\n\t\t\t\t</ng-template>\r\n\t\t\t</lu-option>\r\n\t\t</div>\r\n\t</ng-template>\r\n</lu-option-picker-advanced>\r\n", styles: [":host{cursor:pointer;outline:none;padding:0}:host:after{content:\"\\e97c\";font-family:Lucca icons;display:inline-block;vertical-align:text-bottom;font-style:normal;color:var(--components-select-default-palette-700);bottom:.5rem;bottom:var(--components-select-input-padding-vertical);font-size:1.2rem;line-height:1.4rem;pointer-events:none;position:absolute;right:.5rem;right:var(--components-select-input-padding-horizontal)}:host[disabled]{cursor:not-allowed;pointer-events:all}:host.is-disabled{cursor:not-allowed;pointer-events:all}.lu-select-display-wrapper{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lu-select-value{line-height:1.25rem;line-height:var(--sizes-standard-line-height);min-height:calc(var(--spacings-small) + 1.25rem);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-standard-line-height));padding:.5rem 2.5rem .5rem .5rem;padding:var(--components-select-input-padding-vertical) 2.5rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all .25s ease;transition:all var(--commons-animations-durations-standard) ease;display:none}.lu-select-placeholder{color:var(--components-select-default-palette-400);line-height:1.25rem;line-height:var(--sizes-standard-line-height);min-height:calc(var(--spacings-small) + 1.25rem);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-standard-line-height));padding:.5rem 2.5rem .5rem .5rem;padding:var(--components-select-input-padding-vertical) 2.5rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all .25s ease;transition:all var(--commons-animations-durations-standard) ease;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lu-select-suffix{position:absolute;bottom:.5rem;right:1.6rem}::ng-deep .lu-select-value .label{padding:.25rem .25rem .5rem .5rem;padding:var(--spacings-smallest) var(--spacings-smaller);margin-left:0}::ng-deep .lu-select-value .chip{background:#FF6600;background:var(--components-select-chip-background);color:#fff;color:var(--components-select-chip-text);vertical-align:baseline;max-width:100%;height:1.25rem;height:var(--sizes-standard-line-height);line-height:1.25rem;line-height:var(--sizes-standard-line-height);padding:0 .5rem;padding:0 var(--spacings-smaller);margin:0 .25rem .25rem 0;text-overflow:ellipsis;overflow:hidden;vertical-align:top;white-space:nowrap}:host-context(.textfield.mod-small) .lu-select-value,:host-context(.textfield.mod-small) .lu-select-placeholder{font-size:.875rem;font-size:var(--sizes-small-font-size);line-height:1.25rem;line-height:var(--sizes-small-line-height);min-height:calc(var(--spacings-small) + 1.25rem);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-small-line-height))}:host-context(.textfield.mod-small):after{line-height:1.25rem;line-height:var(--sizes-small-line-height)}:host-context(.textfield.mod-small) ::ng-deep .lu-select-value .label{font-size:.875rem;font-size:var(--sizes-small-font-size);line-height:1.25rem;line-height:var(--sizes-small-line-height);font-weight:600;margin:0;padding:0;background:transparent}:host-context(.textfield.mod-small) ::ng-deep .lu-select-value .chip{height:1.25rem;height:var(--sizes-small-line-height);line-height:1.25rem;line-height:var(--sizes-small-line-height)}:host-context(.textfield.mod-framed).textfield-input,:host-context(.form.mod-framed).textfield-input{padding:var(--spacings-big) 0 0;padding:var(--components-select-framed-top-padding) 0 0}:host-context(.textfield.mod-framed).textfield-input:after,:host-context(.form.mod-framed).textfield-input:after{color:#96a6c5;color:var(--colors-text-light-color);bottom:var(--spacings-small);bottom:var(--components-select-framed-bottom-padding);right:.5rem;right:var(--spacings-smaller)}:host-context(.textfield.mod-framed).textfield-input .lu-select-value,:host-context(.textfield.mod-framed).textfield-input .lu-select-placeholder,:host-context(.form.mod-framed).textfield-input .lu-select-value,:host-context(.form.mod-framed).textfield-input .lu-select-placeholder{padding:0 calc(var(--spacings-small) * 3) var(--spacings-small) var(--spacings-small);padding:0 calc(var(--components-select-framed-side-padding) * 3) var(--components-select-framed-bottom-padding) var(--components-select-framed-side-padding)}:host-context(.textfield.mod-framed).textfield-input .lu-select-suffix,:host-context(.form.mod-framed).textfield-input .lu-select-suffix{bottom:var(--spacings-small);bottom:var(--components-select-framed-bottom-padding);right:1.7rem}:host-context(.textfield.mod-filter) .lu-select-value,:host-context(.textfield.mod-filter) .lu-select-placeholder{padding:0;height:auto;padding-top:1rem;color:#2a3551;color:var(--colors-text-default-color)}:host-context(.textfield.mod-filter) .lu-select-suffix{bottom:.4rem}:host-context(.textfield.mod-material):after{color:#96a6c5;color:var(--colors-text-light-color);bottom:.6rem;right:0}:host-context(.textfield.mod-material) .lu-select-value,:host-context(.textfield.mod-material) .lu-select-placeholder{padding-left:0;padding-right:.8rem}:host-context(.textfield.mod-material) .lu-select-suffix{right:1rem;right:calc(2 * var(--components-select-input-padding-horizontal))}:host-context(.textfield.mod-material).is-select .lu-select-placeholder{display:none}:host-context(.textfield.mod-material).mod-search:after{bottom:0}:host-context(.textfield.mod-material).mod-search .lu-select-suffix{right:1.375rem;right:calc(2.75 * var(--components-select-input-padding-horizontal))}:host-context(.textfield.mod-material .textfield-input.is-focused) .lu-select-placeholder{display:none}:host(.mod-multiple).mod-multipleView:not(.mod-singleLine) .lu-select-value{height:auto;align-items:center}:host(.mod-multiple).mod-multipleView:not(.mod-singleLine) .lu-select-display-wrapper{overflow:hidden;white-space:normal;margin-bottom:-.25rem}:host-context(.textfield-input.is-filled) .lu-select-placeholder{display:none}:host-context(.textfield-input.is-filled) .lu-select-value{display:flex}:host-context(.textfield-input.is-clearable) .lu-select-value{padding-right:2.5rem}:host-context(.textfield-input.is-error):after{color:#e51a3b;color:var(--palettes-error-color)}:host-context(.textfield-input.is-error) .lu-select-placeholder{color:#ffe0e6;color:var(--palettes-error-200)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]):after{color:#999;color:var(--commons-disabled-color)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]) .lu-select-placeholder{color:#bbb;color:var(--commons-disabled-placeholder)}:host-context(.palette-primary) .lu-select-placeholder{color:var(--palettes-primary-400)}:host-context(.palette-primary):after{color:var(--palettes-primary-700)}:host-context(.palette-secondary) .lu-select-placeholder{color:var(--palettes-secondary-400)}:host-context(.palette-secondary):after{color:var(--palettes-secondary-700)}:host-context(.palette-grey) .lu-select-placeholder{color:var(--palettes-grey-400)}:host-context(.palette-grey):after{color:var(--palettes-grey-700)}:host-context(.palette-success) .lu-select-placeholder{color:var(--palettes-success-400)}:host-context(.palette-success):after{color:var(--palettes-success-700)}:host-context(.palette-warning) .lu-select-placeholder{color:var(--palettes-warning-400)}:host-context(.palette-warning):after{color:var(--palettes-warning-700)}:host-context(.palette-error) .lu-select-placeholder{color:var(--palettes-error-400)}:host-context(.palette-error):after{color:var(--palettes-error-700)}.lu-select-value{padding-right:2.5rem}.lu-picker-header .option-selector{display:none}.lu-picker-header.mod-multiple .option-selector{display:inherit;padding:.5rem;padding:var(--spacings-smaller)}.optionGroupName{padding:.5rem;padding:var(--components-options-item-padding-vertical) var(--components-options-item-padding-horizontal);border-top:1px solid var(--palettes-grey-200);border-top:1px solid var(--commons-divider-color);font-size:.875rem;font-size:var(--sizes-small-font-size);width:100%;text-align:left}.optionGroupName.mod-readonly{color:#679;color:var(--palettes-grey-600);font-weight:400}.optionGroupName.button{text-decoration:underline;margin:0}.optionGroupName.button:active,.optionGroupName.button:focus,.optionGroupName.button:hover{box-shadow:none;background-color:transparent}.optionGroupName.button:active~lu-option,.optionGroupName.button:focus~lu-option,.optionGroupName.button:hover~lu-option{background-color:var(--palettes-primary-50);background-color:var(--commons-highlight)}\n"] }]
|
|
569
|
+
], template: "<div class=\"lu-select-placeholder\">{{ placeholder }}</div>\r\n<div class=\"lu-select-value\">\r\n\t<div class=\"lu-select-display-wrapper\">\r\n\t\t<ng-container #display></ng-container>\r\n\t</div>\r\n</div>\r\n<div class=\"lu-select-suffix\">\r\n\t<lu-input-clearer></lu-input-clearer>\r\n</div>\r\n\r\n<ng-template luDisplayer [luDisplayerMultiple]=\"true\" let-values>\r\n\t<span *ngIf=\"multiple && values?.length > 1; else singleView\"\r\n\t\t><span class=\"chip mod-unkillable\">{{ values.length }}</span> {{ intl.establishments }}</span\r\n\t>\r\n\t<ng-template #singleView>{{ (values[0] || values).name }}</ng-template>\r\n</ng-template>\r\n\r\n<lu-option-picker-advanced [option-comparer]=\"byId\">\r\n\t<header class=\"lu-picker-header\">\r\n\t\t<lu-establishment-searcher\r\n\t\t\t[filters]=\"filters\"\r\n\t\t\t[appInstanceId]=\"appInstanceId\"\r\n\t\t\t[operations]=\"operations\"\r\n\t\t\t[sort]=\"sort\"\r\n\t\t\t(isSearching)=\"onIsSearchingChanged($event)\"\r\n\t\t></lu-establishment-searcher>\r\n\t\t<lu-establishment-select-all\r\n\t\t\t*ngIf=\"multiple\"\r\n\t\t\tclass=\"u-displayBlock u-marginSmaller\"\r\n\t\t\t[class.u-displayNone]=\"isSearching\"\r\n\t\t\t[filters]=\"filters\"\r\n\t\t\t[appInstanceId]=\"appInstanceId\"\r\n\t\t\t[operations]=\"operations\"\r\n\t\t></lu-establishment-select-all>\r\n\t</header>\r\n\r\n\t<ng-template luForLegalUnits let-group>\r\n\t\t<div class=\"optionGroup\">\r\n\t\t\t<ng-container *ngIf=\"groupByLu && !isSearching\">\r\n\t\t\t\t<button\r\n\t\t\t\t\t*ngIf=\"multiple; else singleViewGroup\"\r\n\t\t\t\t\tclass=\"optionGroupName button mod-link mod-block\"\r\n\t\t\t\t\t[luLegalUnitSelector]=\"group.key\"\r\n\t\t\t\t\t[luLegalUnitSelectorFilters]=\"filters\"\r\n\t\t\t\t\t[luLegalUnitSelectorAppInstanceId]=\"appInstanceId\"\r\n\t\t\t\t\t[luLegalUnitSelectorOperations]=\"operations\"\r\n\t\t\t\t>\r\n\t\t\t\t\t{{ group.key.name }}\r\n\t\t\t\t</button>\r\n\t\t\t\t<ng-template #singleViewGroup>\r\n\t\t\t\t\t<h5 class=\"optionGroupName mod-readonly u-marginReset\">{{ group.key.name }}</h5>\r\n\t\t\t\t</ng-template>\r\n\t\t\t</ng-container>\r\n\r\n\t\t\t<lu-option *ngFor=\"let establishment of group.items; trackBy: trackById\" [value]=\"establishment\" class=\"establishmentOption\">\r\n\t\t\t\t<ng-container *ngIf=\"isSearching; else emptySearch\">\r\n\t\t\t\t\t<span class=\"u-displayBlock\">{{ establishment.name }}</span>\r\n\t\t\t\t\t<span *ngIf=\"groupByLu\" class=\"u-displayBlock u-textLight u-textSmall\">{{ group.key.name }}</span>\r\n\t\t\t\t</ng-container>\r\n\t\t\t\t<ng-template #emptySearch>\r\n\t\t\t\t\t<span>{{ establishment.name }}</span>\r\n\t\t\t\t</ng-template>\r\n\t\t\t</lu-option>\r\n\t\t</div>\r\n\t</ng-template>\r\n</lu-option-picker-advanced>\r\n", styles: [":host{cursor:pointer;outline:none;padding:0}:host:after{content:\"\\e97c\";font-family:Lucca icons;display:inline-block;vertical-align:text-bottom;font-style:normal;color:var(--components-select-default-palette-700);bottom:.5rem;bottom:var(--components-select-input-padding-vertical);font-size:1.2rem;line-height:1.4rem;pointer-events:none;position:absolute;right:.5rem;right:var(--components-select-input-padding-horizontal)}:host[disabled]{cursor:not-allowed;pointer-events:all}:host.is-disabled{cursor:not-allowed;pointer-events:all}.lu-select-display-wrapper{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lu-select-value{line-height:1.5rem;line-height:var(--sizes-standard-line-height);min-height:calc(var(--spacings-small) + 1.5rem);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-standard-line-height));padding:.5rem 2.5rem .5rem .5rem;padding:var(--components-select-input-padding-vertical) 2.5rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all .25s ease;transition:all var(--commons-animations-durations-standard) ease;display:none}.lu-select-placeholder{color:var(--components-select-default-palette-400);line-height:1.5rem;line-height:var(--sizes-standard-line-height);min-height:calc(var(--spacings-small) + 1.5rem);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-standard-line-height));padding:.5rem 2.5rem .5rem .5rem;padding:var(--components-select-input-padding-vertical) 2.5rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all .25s ease;transition:all var(--commons-animations-durations-standard) ease;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lu-select-suffix{position:absolute;bottom:.5rem;right:1.6rem}::ng-deep .lu-select-value .label{padding:.25rem .25rem .5rem .5rem;padding:var(--spacings-smallest) var(--spacings-smaller);margin-left:0}::ng-deep .lu-select-value .chip{background:#FF6600;background:var(--components-select-chip-background);color:#fff;color:var(--components-select-chip-text);vertical-align:baseline;max-width:100%;height:1.5rem;height:var(--sizes-standard-line-height);line-height:1.5rem;line-height:var(--sizes-standard-line-height);padding:0 .5rem;padding:0 var(--spacings-smaller);margin:0 .25rem .25rem 0;text-overflow:ellipsis;overflow:hidden;vertical-align:top;white-space:nowrap}:host-context(.textfield.mod-small) .lu-select-value,:host-context(.textfield.mod-small) .lu-select-placeholder{font-size:.875rem;font-size:var(--sizes-small-font-size);line-height:1.25rem;line-height:var(--sizes-small-line-height);min-height:calc(var(--spacings-small) + 1.25rem);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-small-line-height))}:host-context(.textfield.mod-small):after{line-height:1.25rem;line-height:var(--sizes-small-line-height)}:host-context(.textfield.mod-small) ::ng-deep .lu-select-value .label{font-size:.875rem;font-size:var(--sizes-small-font-size);line-height:1.25rem;line-height:var(--sizes-small-line-height);font-weight:600;margin:0;padding:0;background:transparent}:host-context(.textfield.mod-small) ::ng-deep .lu-select-value .chip{height:1.25rem;height:var(--sizes-small-line-height);line-height:1.25rem;line-height:var(--sizes-small-line-height)}:host-context(.textfield.mod-framed).textfield-input,:host-context(.form.mod-framed).textfield-input{padding:var(--spacings-big) 0 0;padding:var(--components-select-framed-top-padding) 0 0}:host-context(.textfield.mod-framed).textfield-input:after,:host-context(.form.mod-framed).textfield-input:after{color:#96a6c5;color:var(--colors-text-light-color);bottom:var(--spacings-small);bottom:var(--components-select-framed-bottom-padding);right:.5rem;right:var(--spacings-smaller)}:host-context(.textfield.mod-framed).textfield-input .lu-select-value,:host-context(.textfield.mod-framed).textfield-input .lu-select-placeholder,:host-context(.form.mod-framed).textfield-input .lu-select-value,:host-context(.form.mod-framed).textfield-input .lu-select-placeholder{padding:0 calc(var(--spacings-small) * 3) var(--spacings-small) var(--spacings-small);padding:0 calc(var(--components-select-framed-side-padding) * 3) var(--components-select-framed-bottom-padding) var(--components-select-framed-side-padding)}:host-context(.textfield.mod-framed).textfield-input .lu-select-suffix,:host-context(.form.mod-framed).textfield-input .lu-select-suffix{bottom:var(--spacings-small);bottom:var(--components-select-framed-bottom-padding);right:1.7rem}:host-context(.textfield.mod-filter) .lu-select-value,:host-context(.textfield.mod-filter) .lu-select-placeholder{padding:0;height:auto;padding-top:1rem;color:#2a3551;color:var(--colors-text-default-color)}:host-context(.textfield.mod-filter) .lu-select-suffix{bottom:.4rem}:host-context(.textfield.mod-material):after{color:#96a6c5;color:var(--colors-text-light-color);bottom:.6rem;right:0}:host-context(.textfield.mod-material) .lu-select-value,:host-context(.textfield.mod-material) .lu-select-placeholder{padding-left:0;padding-right:.8rem}:host-context(.textfield.mod-material) .lu-select-suffix{right:1rem;right:calc(2 * var(--components-select-input-padding-horizontal))}:host-context(.textfield.mod-material).is-select .lu-select-placeholder{display:none}:host-context(.textfield.mod-material).mod-search:after{bottom:0}:host-context(.textfield.mod-material).mod-search .lu-select-suffix{right:1.375rem;right:calc(2.75 * var(--components-select-input-padding-horizontal))}:host-context(.textfield.mod-material .textfield-input.is-focused) .lu-select-placeholder{display:none}:host(.mod-multiple).mod-multipleView:not(.mod-singleLine) .lu-select-value{height:auto;align-items:center}:host(.mod-multiple).mod-multipleView:not(.mod-singleLine) .lu-select-display-wrapper{overflow:hidden;white-space:normal;margin-bottom:-.25rem}:host-context(.textfield-input.is-filled) .lu-select-placeholder{display:none}:host-context(.textfield-input.is-filled) .lu-select-value{display:flex}:host-context(.textfield-input.is-clearable) .lu-select-value{padding-right:2.5rem}:host-context(.textfield-input.is-error):after{color:#e51a3b;color:var(--palettes-error-color)}:host-context(.textfield-input.is-error) .lu-select-placeholder{color:#ffe0e6;color:var(--palettes-error-200)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]):after{color:#999;color:var(--commons-disabled-color)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]) .lu-select-placeholder{color:#bbb;color:var(--commons-disabled-placeholder)}:host-context(.palette-primary) .lu-select-placeholder{color:var(--palettes-primary-400)}:host-context(.palette-primary):after{color:var(--palettes-primary-700)}:host-context(.palette-secondary) .lu-select-placeholder{color:var(--palettes-secondary-400)}:host-context(.palette-secondary):after{color:var(--palettes-secondary-700)}:host-context(.palette-grey) .lu-select-placeholder{color:var(--palettes-grey-400)}:host-context(.palette-grey):after{color:var(--palettes-grey-700)}:host-context(.palette-success) .lu-select-placeholder{color:var(--palettes-success-400)}:host-context(.palette-success):after{color:var(--palettes-success-700)}:host-context(.palette-warning) .lu-select-placeholder{color:var(--palettes-warning-400)}:host-context(.palette-warning):after{color:var(--palettes-warning-700)}:host-context(.palette-error) .lu-select-placeholder{color:var(--palettes-error-400)}:host-context(.palette-error):after{color:var(--palettes-error-700)}.lu-select-value{padding-right:2.5rem}.lu-picker-header .option-selector{display:none}.lu-picker-header.mod-multiple .option-selector{display:inherit;padding:.5rem;padding:var(--spacings-smaller)}.optionGroupName{padding:.5rem;padding:var(--components-options-item-padding-vertical) var(--components-options-item-padding-horizontal);border-top:1px solid var(--palettes-grey-200);border-top:1px solid var(--commons-divider-color);font-size:.875rem;font-size:var(--sizes-small-font-size);width:100%;text-align:left}.optionGroupName.mod-readonly{color:#679;color:var(--palettes-grey-600);font-weight:400}.optionGroupName.button{text-decoration:underline;margin:0}.optionGroupName.button:active,.optionGroupName.button:focus,.optionGroupName.button:hover{box-shadow:none;background-color:transparent}.optionGroupName.button:active~lu-option,.optionGroupName.button:focus~lu-option,.optionGroupName.button:hover~lu-option{background-color:var(--palettes-primary-50);background-color:var(--commons-highlight)}\n"] }]
|
|
570
570
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1$1.Overlay }, { type: i0.ElementRef }, { type: i0.ViewContainerRef }, { type: i0.Renderer2 }, { type: LuLegalUnitService, decorators: [{
|
|
571
571
|
type: Inject,
|
|
572
572
|
args: [ALuLegalUnitService]
|
|
@@ -111,10 +111,10 @@ class LuFormlyFieldDepartment extends FieldType {
|
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
LuFormlyFieldDepartment.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: LuFormlyFieldDepartment, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
114
|
-
LuFormlyFieldDepartment.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: LuFormlyFieldDepartment, selector: "lu-formly-field-department", usesInheritance: true, ngImport: i0, template: "<lu-department-select\r\n\tclass=\"textfield-input\"\r\n\t[formControl]=\"formControl\"\r\n\t[formlyAttributes]=\"field\"\r\n\t[multiple]=\"to['multiple']\"\r\n\t(focus)=\"focus()\"\r\n\t(blur)=\"blur()\"\r\n\t[placeholder]=\"to.placeholder\"\r\n>\r\n</lu-department-select>\r\n<span class=\"textfield-label\">{{ to.label }}</span>\r\n", styles: [":host{width:100%;display:inherit;align-items:inherit;flex-direction:inherit}\n", ":host-context(.mod-framed) lu-select{display:block}:host-context(.mod-framed) lu-api-select{display:block}:host-context(.mod-framed) lu-user-select{display:block}:host-context(.mod-framed) lu-date-select{display:block}:host-context(.mod-framed) lu-department-select{display:block}\n"], components: [{ type: i1$4.LuDepartmentSelectInputComponent, selector: "lu-department-select", inputs: ["appInstanceId", "operations"] }], directives: [{ type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i3.FormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }] });
|
|
114
|
+
LuFormlyFieldDepartment.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.4", type: LuFormlyFieldDepartment, selector: "lu-formly-field-department", usesInheritance: true, ngImport: i0, template: "<lu-department-select\r\n\tclass=\"textfield-input\"\r\n\t[formControl]=\"formControl\"\r\n\t[formlyAttributes]=\"field\"\r\n\t[multiple]=\"to['multiple']\"\r\n\t(focus)=\"focus()\"\r\n\t(blur)=\"blur()\"\r\n\t[placeholder]=\"to.placeholder\"\r\n\t[filters]=\"to['filters']\"\r\n\t[appInstanceId]=\"to['appInstanceId']\"\r\n\t[operations]=\"to['operations']\"\r\n>\r\n</lu-department-select>\r\n<span class=\"textfield-label\">{{ to.label }}</span>\r\n", styles: [":host{width:100%;display:inherit;align-items:inherit;flex-direction:inherit}\n", ":host-context(.mod-framed) lu-select{display:block}:host-context(.mod-framed) lu-api-select{display:block}:host-context(.mod-framed) lu-user-select{display:block}:host-context(.mod-framed) lu-date-select{display:block}:host-context(.mod-framed) lu-department-select{display:block}\n"], components: [{ type: i1$4.LuDepartmentSelectInputComponent, selector: "lu-department-select", inputs: ["appInstanceId", "operations", "filters"] }], directives: [{ type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i3.FormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }] });
|
|
115
115
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: LuFormlyFieldDepartment, decorators: [{
|
|
116
116
|
type: Component,
|
|
117
|
-
args: [{ selector: 'lu-formly-field-department', template: "<lu-department-select\r\n\tclass=\"textfield-input\"\r\n\t[formControl]=\"formControl\"\r\n\t[formlyAttributes]=\"field\"\r\n\t[multiple]=\"to['multiple']\"\r\n\t(focus)=\"focus()\"\r\n\t(blur)=\"blur()\"\r\n\t[placeholder]=\"to.placeholder\"\r\n>\r\n</lu-department-select>\r\n<span class=\"textfield-label\">{{ to.label }}</span>\r\n", styles: [":host{width:100%;display:inherit;align-items:inherit;flex-direction:inherit}\n", ":host-context(.mod-framed) lu-select{display:block}:host-context(.mod-framed) lu-api-select{display:block}:host-context(.mod-framed) lu-user-select{display:block}:host-context(.mod-framed) lu-date-select{display:block}:host-context(.mod-framed) lu-department-select{display:block}\n"] }]
|
|
117
|
+
args: [{ selector: 'lu-formly-field-department', template: "<lu-department-select\r\n\tclass=\"textfield-input\"\r\n\t[formControl]=\"formControl\"\r\n\t[formlyAttributes]=\"field\"\r\n\t[multiple]=\"to['multiple']\"\r\n\t(focus)=\"focus()\"\r\n\t(blur)=\"blur()\"\r\n\t[placeholder]=\"to.placeholder\"\r\n\t[filters]=\"to['filters']\"\r\n\t[appInstanceId]=\"to['appInstanceId']\"\r\n\t[operations]=\"to['operations']\"\r\n>\r\n</lu-department-select>\r\n<span class=\"textfield-label\">{{ to.label }}</span>\r\n", styles: [":host{width:100%;display:inherit;align-items:inherit;flex-direction:inherit}\n", ":host-context(.mod-framed) lu-select{display:block}:host-context(.mod-framed) lu-api-select{display:block}:host-context(.mod-framed) lu-user-select{display:block}:host-context(.mod-framed) lu-date-select{display:block}:host-context(.mod-framed) lu-department-select{display:block}\n"] }]
|
|
118
118
|
}] });
|
|
119
119
|
|
|
120
120
|
// eslint-disable-next-line @angular-eslint/component-class-suffix
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lucca-front-ng-formly.mjs","sources":["../../../packages/ng/formly/src/lib/types/api.ts","../../../packages/ng/formly/src/lib/types/api.html","../../../packages/ng/formly/src/lib/types/establishment.ts","../../../packages/ng/formly/src/lib/types/establishment.html","../../../packages/ng/formly/src/lib/types/checkbox.ts","../../../packages/ng/formly/src/lib/types/checkbox.html","../../../packages/ng/formly/src/lib/types/date.ts","../../../packages/ng/formly/src/lib/types/date.html","../../../packages/ng/formly/src/lib/types/department.ts","../../../packages/ng/formly/src/lib/types/department.html","../../../packages/ng/formly/src/lib/types/input.ts","../../../packages/ng/formly/src/lib/types/input.html","../../../packages/ng/formly/src/lib/types/radios.ts","../../../packages/ng/formly/src/lib/types/radios.html","../../../packages/ng/formly/src/lib/types/select.ts","../../../packages/ng/formly/src/lib/types/select.html","../../../packages/ng/formly/src/lib/types/textarea.ts","../../../packages/ng/formly/src/lib/types/textarea.html","../../../packages/ng/formly/src/lib/types/user.ts","../../../packages/ng/formly/src/lib/types/user.html","../../../packages/ng/formly/src/lib/types/qualification.ts","../../../packages/ng/formly/src/lib/types/qualification.html","../../../packages/ng/formly/src/lib/wrappers/error.ts","../../../packages/ng/formly/src/lib/wrappers/error.html","../../../packages/ng/formly/src/lib/wrappers/helper.ts","../../../packages/ng/formly/src/lib/wrappers/helper.html","../../../packages/ng/formly/src/lib/wrappers/icon.ts","../../../packages/ng/formly/src/lib/wrappers/icon.html","../../../packages/ng/formly/src/lib/wrappers/radiosfield-layout.ts","../../../packages/ng/formly/src/lib/wrappers/radiosfield-layout.html","../../../packages/ng/formly/src/lib/wrappers/suffix.ts","../../../packages/ng/formly/src/lib/wrappers/suffix.html","../../../packages/ng/formly/src/lib/wrappers/textfield-layout.ts","../../../packages/ng/formly/src/lib/wrappers/textfield-layout.html","../../../packages/ng/formly/src/lib/wrappers/checkbox-layout.ts","../../../packages/ng/formly/src/lib/wrappers/checkbox-layout.html","../../../packages/ng/formly/src/lib/formly.config.ts","../../../packages/ng/formly/src/lib/formly.module.ts","../../../packages/ng/formly/src/public-api.ts","../../../packages/ng/formly/src/lucca-front-ng-formly.ts"],"sourcesContent":["import { Component } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { FieldType } from '@ngx-formly/core';\r\n\r\n@Component({\r\n\tselector: 'lu-formly-field-api',\r\n\tstyleUrls: ['formly-field.common.scss', 'select.scss'],\r\n\ttemplateUrl: './api.html',\r\n\t// changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\n// eslint-disable-next-line @angular-eslint/component-class-suffix\r\nexport class LuFormlyFieldApi extends FieldType {\r\n\tget _api() {\r\n\t\treturn this.to['api'] as string;\r\n\t}\r\n\tget _filters() {\r\n\t\treturn (this.to['filters'] || []) as string[];\r\n\t}\r\n\tget _orderBy() {\r\n\t\treturn this.to['orderBy'] as string;\r\n\t}\r\n\tget _standard() {\r\n\t\treturn (this.to['standard'] || 'v3') as string;\r\n\t}\r\n\toverride readonly formControl: FormControl;\r\n\tfocus() {\r\n\t\tthis.to['_isFocused'] = true;\r\n\t}\r\n\tblur() {\r\n\t\tthis.to['_isFocused'] = false;\r\n\t}\r\n}\r\n","<lu-api-select\r\n\tclass=\"textfield-input\"\r\n\t[formControl]=\"formControl\"\r\n\t[formlyAttributes]=\"field\"\r\n\t[multiple]=\"to['multiple']\"\r\n\t(focus)=\"focus()\"\r\n\t(blur)=\"blur()\"\r\n\t[placeholder]=\"to.placeholder\"\r\n\t[api]=\"_api\"\r\n\t[filters]=\"_filters\"\r\n\t[orderBy]=\"_orderBy\"\r\n\t[standard]=\"_standard\"\r\n>\r\n</lu-api-select>\r\n<span [attr.for]=\"id\" class=\"textfield-label\">{{ to.label }}</span>\r\n","import { Component } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { FieldType } from '@ngx-formly/core';\r\n\r\n@Component({\r\n\tselector: 'lu-formly-field-establishment',\r\n\tstyleUrls: ['formly-field.common.scss', 'select.scss'],\r\n\ttemplateUrl: './establishment.html',\r\n})\r\n// eslint-disable-next-line @angular-eslint/component-class-suffix\r\nexport class LuFormlyFieldEstablishment extends FieldType {\r\n\toverride readonly formControl: FormControl;\r\n\tfocus() {\r\n\t\tthis.to['_isFocused'] = true;\r\n\t}\r\n\tblur() {\r\n\t\tthis.to['_isFocused'] = false;\r\n\t}\r\n}\r\n","<lu-establishment-select\r\n\tclass=\"textfield-input\"\r\n\t[formControl]=\"formControl\"\r\n\t[formlyAttributes]=\"field\"\r\n\t[multiple]=\"to['multiple']\"\r\n\t(focus)=\"focus()\"\r\n\t(blur)=\"blur()\"\r\n\t[placeholder]=\"to.placeholder\"\r\n\t[filters]=\"to['filters']\"\r\n\t[appInstanceId]=\"to['appInstanceId']\"\r\n\t[operations]=\"to['operations']\"\r\n>\r\n</lu-establishment-select>\r\n<span class=\"textfield-label\">{{ to.label }}</span>\r\n","import { Component } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { FieldType } from '@ngx-formly/core';\r\n\r\n@Component({\r\n\tselector: 'lu-formly-field-checkbox',\r\n\tstyleUrls: ['formly-field.common.scss'],\r\n\ttemplateUrl: './checkbox.html',\r\n\t// changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\n// eslint-disable-next-line @angular-eslint/component-class-suffix\r\nexport class LuFormlyFieldCheckbox extends FieldType {\r\n\toverride readonly formControl: FormControl;\r\n\tfocus() {\r\n\t\tthis.to['_isFocused'] = true;\r\n\t}\r\n\tblur() {\r\n\t\tthis.to['_isFocused'] = false;\r\n\t}\r\n}\r\n","<label class=\"checkbox\" [ngClass]=\"to['mod']\">\r\n\t<input class=\"checkbox-input\" type=\"checkbox\" [name]=\"to['name']\" [id]=\"id\" [formControl]=\"formControl\" [formlyAttributes]=\"field\" />\r\n\t<span class=\"checkbox-label\">{{to.label}}</span>\r\n</label>\r\n","import { Component } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { FieldType } from '@ngx-formly/core';\r\n\r\n@Component({\r\n\tselector: 'lu-formly-field-date',\r\n\tstyleUrls: ['formly-field.common.scss', 'select.scss'],\r\n\ttemplateUrl: './date.html',\r\n\t// changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\n// eslint-disable-next-line @angular-eslint/component-class-suffix\r\nexport class LuFormlyFieldDate extends FieldType {\r\n\toverride readonly formControl: FormControl;\r\n\tfocus() {\r\n\t\tthis.to['_isFocused'] = true;\r\n\t}\r\n\tblur() {\r\n\t\tthis.to['_isFocused'] = false;\r\n\t}\r\n}\r\n","<lu-date-select\r\n\tclass=\"textfield-input\"\r\n\t[formControl]=\"formControl\"\r\n\t[formlyAttributes]=\"field\"\r\n\t(focus)=\"focus()\"\r\n\t(blur)=\"blur()\"\r\n\t[placeholder]=\"to.placeholder\"\r\n\t[min]=\"to.min\"\r\n\t[max]=\"to.max\"\r\n></lu-date-select>\r\n<span class=\"textfield-label\">{{ to.label }}</span>\r\n","import { Component } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { FieldType } from '@ngx-formly/core';\r\n\r\n@Component({\r\n\tselector: 'lu-formly-field-department',\r\n\tstyleUrls: ['formly-field.common.scss', 'select.scss'],\r\n\ttemplateUrl: './department.html',\r\n\t// changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\n// eslint-disable-next-line @angular-eslint/component-class-suffix\r\nexport class LuFormlyFieldDepartment extends FieldType {\r\n\toverride readonly formControl: FormControl;\r\n\tfocus() {\r\n\t\tthis.to['_isFocused'] = true;\r\n\t}\r\n\tblur() {\r\n\t\tthis.to['_isFocused'] = false;\r\n\t}\r\n}\r\n","<lu-department-select\r\n\tclass=\"textfield-input\"\r\n\t[formControl]=\"formControl\"\r\n\t[formlyAttributes]=\"field\"\r\n\t[multiple]=\"to['multiple']\"\r\n\t(focus)=\"focus()\"\r\n\t(blur)=\"blur()\"\r\n\t[placeholder]=\"to.placeholder\"\r\n>\r\n</lu-department-select>\r\n<span class=\"textfield-label\">{{ to.label }}</span>\r\n","import { Component } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { FieldType } from '@ngx-formly/core';\r\n@Component({\r\n\tselector: 'lu-formly-field-input',\r\n\tstyleUrls: ['formly-field.common.scss'],\r\n\ttemplateUrl: './input.html',\r\n\t// changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\n// eslint-disable-next-line @angular-eslint/component-class-suffix\r\nexport class LuFormlyFieldInput extends FieldType {\r\n\tget type() {\r\n\t\treturn this.to.type || 'text';\r\n\t}\r\n\toverride readonly formControl: FormControl;\r\n\tfocus() {\r\n\t\tthis.to['_isFocused'] = true;\r\n\t}\r\n\tblur() {\r\n\t\tthis.to['_isFocused'] = false;\r\n\t}\r\n}\r\n","<ng-template [ngIf]=\"type !== 'number'\" [ngIfElse]=\"numberInput\">\r\n\t<input\r\n\t\t[type]=\"type\"\r\n\t\tclass=\"textfield-input\"\r\n\t\t[name]=\"to['name']\"\r\n\t\t[formControl]=\"formControl\"\r\n\t\t[formlyAttributes]=\"field\"\r\n\t\tluInput\r\n\t\t(focus)=\"focus()\"\r\n\t\t(blur)=\"blur()\"\r\n\t\t[placeholder]=\"to.placeholder\"\r\n\t/>\r\n</ng-template>\r\n<!-- type=\"number\" has to be static in order to have NumberValueAccessor instead of DefaultValueAccessor -->\r\n<ng-template #numberInput>\r\n\t<input\r\n\t\ttype=\"number\"\r\n\t\tclass=\"textfield-input\"\r\n\t\t[name]=\"to['name']\"\r\n\t\t[formControl]=\"formControl\"\r\n\t\t[formlyAttributes]=\"field\"\r\n\t\tluInput\r\n\t\t(focus)=\"focus()\"\r\n\t\t(blur)=\"blur()\"\r\n\t\t[placeholder]=\"to.placeholder\"\r\n\t/>\r\n</ng-template>\r\n<span class=\"textfield-label\">{{ to.label }}</span>\r\n","import { Component } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { FieldType } from '@ngx-formly/core';\r\n\r\n@Component({\r\n\tselector: 'lu-formly-field-radios',\r\n\tstyleUrls: ['formly-field.common.scss'],\r\n\ttemplateUrl: './radios.html',\r\n\t// changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\n// eslint-disable-next-line @angular-eslint/component-class-suffix\r\nexport class LuFormlyFieldRadios extends FieldType {\r\n\tget _options() {\r\n\t\treturn (this.to.options || []) as { value: unknown; label: unknown }[];\r\n\t}\r\n\toverride readonly formControl: FormControl;\r\n\tfocus() {\r\n\t\tthis.to['_isFocused'] = true;\r\n\t}\r\n\tblur() {\r\n\t\tthis.to['_isFocused'] = false;\r\n\t}\r\n}\r\n","<legend class=\"radiosfield-label\">{{to.label}}</legend>\r\n<div class=\"radiosfield-input\">\r\n\t<label *ngFor=\"let option of _options, let i = index\" class=\"radio\">\r\n\t\t<input\r\n\t\t\tclass=\"radio-input\"\r\n\t\t\ttype=\"radio\"\r\n\t\t\t[name]=\"to['name']\"\r\n\t\t\t[value]=\"option.value\"\r\n\t\t\t[id]=\"id + '_'+ i\"\r\n\t\t\t[formControl]=\"formControl\"\r\n\t\t\t[formlyAttributes]=\"field\"\r\n\t\t/>\r\n\t\t<span class=\"radio-label\">{{option.label}}</span>\r\n\t</label>\r\n</div>\r\n","import { Component } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { FieldType } from '@ngx-formly/core';\r\n\r\n@Component({\r\n\tselector: 'lu-formly-field-select',\r\n\tstyleUrls: ['formly-field.common.scss', 'select.scss'],\r\n\ttemplateUrl: './select.html',\r\n\t// changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\n// eslint-disable-next-line @angular-eslint/component-class-suffix\r\nexport class LuFormlyFieldSelect extends FieldType {\r\n\tget _options() {\r\n\t\treturn (this.to.options || []) as { value: unknown; label: unknown; name: string }[];\r\n\t}\r\n\toverride readonly formControl: FormControl;\r\n\tfocus() {\r\n\t\tthis.to['_isFocused'] = true;\r\n\t}\r\n\tblur() {\r\n\t\tthis.to['_isFocused'] = false;\r\n\t}\r\n}\r\n","<lu-select\r\n\tclass=\"textfield-input\"\r\n\t[formControl]=\"formControl\"\r\n\t[formlyAttributes]=\"field\"\r\n\t(focus)=\"focus()\"\r\n\t(blur)=\"blur()\"\r\n\t[multiple]=\"to['multiple']\"\r\n\t[placeholder]=\"to.placeholder\"\r\n>\r\n\t<ng-container *luDisplayer=\"let option\">\r\n\t\t<span [class.chip]=\"to['multiple']\" [class.mod-unkillable]=\"to['multiple']\">{{ option.name }}</span>\r\n\t</ng-container>\r\n\t<lu-option-picker>\r\n\t\t<lu-option *ngFor=\"let option of _options\" [value]=\"option\"> {{ option.name }} </lu-option>\r\n\t</lu-option-picker>\r\n\t<lu-input-clearer *ngIf=\"!to.required && !to['multiple']\"></lu-input-clearer>\r\n</lu-select>\r\n<span class=\"textfield-label\">{{ to.label }}</span>\r\n","import { Component } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { FieldType } from '@ngx-formly/core';\r\n\r\n@Component({\r\n\tselector: 'lu-formly-field-input',\r\n\tstyleUrls: ['formly-field.common.scss'],\r\n\ttemplateUrl: './textarea.html',\r\n\t// changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\n// eslint-disable-next-line @angular-eslint/component-class-suffix\r\nexport class LuFormlyFieldTextarea extends FieldType {\r\n\toverride readonly formControl: FormControl;\r\n\tfocus() {\r\n\t\tthis.to['_isFocused'] = true;\r\n\t}\r\n\tblur() {\r\n\t\tthis.to['_isFocused'] = false;\r\n\t}\r\n}\r\n","<textarea\r\n\tclass=\"textfield-input\"\r\n\t[name]=\"to['name']\"\r\n\t[formControl]=\"formControl\"\r\n\t[formlyAttributes]=\"field\"\r\n\tluInput\r\n\t(focus)=\"focus()\"\r\n\t(blur)=\"blur()\"\r\n\t[placeholder]=\"to.placeholder\"\r\n></textarea>\r\n<span class=\"textfield-label\">{{ to.label }}</span>\r\n","import { Component } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { FieldType } from '@ngx-formly/core';\r\n\r\n@Component({\r\n\tselector: 'lu-formly-field-user',\r\n\tstyleUrls: ['formly-field.common.scss', 'select.scss'],\r\n\ttemplateUrl: './user.html',\r\n\t// changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\n// eslint-disable-next-line @angular-eslint/component-class-suffix\r\nexport class LuFormlyFieldUser extends FieldType {\r\n\toverride readonly formControl: FormControl;\r\n\r\n\tfocus() {\r\n\t\tthis.to['_isFocused'] = true;\r\n\t}\r\n\tblur() {\r\n\t\tthis.to['_isFocused'] = false;\r\n\t}\r\n}\r\n","<lu-user-select\r\n\tclass=\"textfield-input\"\r\n\t[formControl]=\"formControl\"\r\n\t[formlyAttributes]=\"field\"\r\n\t[multiple]=\"to['multiple']\"\r\n\t(focus)=\"focus()\"\r\n\t(blur)=\"blur()\"\r\n\t[placeholder]=\"to.placeholder\"\r\n>\r\n</lu-user-select>\r\n<span class=\"textfield-label\">{{ to.label }}</span>\r\n","import { Component } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { FieldType } from '@ngx-formly/core';\r\n\r\n@Component({\r\n\tselector: 'lu-formly-field-qualification',\r\n\tstyleUrls: ['formly-field.common.scss', 'select.scss'],\r\n\ttemplateUrl: './qualification.html',\r\n})\r\n// eslint-disable-next-line @angular-eslint/component-class-suffix\r\nexport class LuFormlyFieldQualification extends FieldType {\r\n\toverride readonly formControl: FormControl;\r\n\tfocus() {\r\n\t\tthis.to['_isFocused'] = true;\r\n\t}\r\n\tblur() {\r\n\t\tthis.to['_isFocused'] = false;\r\n\t}\r\n}\r\n","<lu-qualification-select\r\n\tclass=\"textfield-input\"\r\n\t[formControl]=\"formControl\"\r\n\t[formlyAttributes]=\"field\"\r\n\t[multiple]=\"to['multiple']\"\r\n\t(focus)=\"focus()\"\r\n\t(blur)=\"blur()\"\r\n\t[placeholder]=\"to.placeholder\"\r\n\t[filters]=\"to['filters']\"\r\n>\r\n</lu-qualification-select>\r\n<span class=\"textfield-label\">{{ to.label }}</span>\r\n","import { ChangeDetectionStrategy, Component, Input, ViewChild, ViewContainerRef } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { FieldWrapper, FormlyConfig, FormlyFieldConfig } from '@ngx-formly/core';\r\n\r\n// wrapper\r\n@Component({\r\n\tselector: 'lu-formly-wrapper-error',\r\n\tstyleUrls: ['flex-layout.scss'],\r\n\ttemplateUrl: './error.html',\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\n// eslint-disable-next-line @angular-eslint/component-class-suffix\r\nexport class LuFormlyWrapperError extends FieldWrapper {\r\n\t@ViewChild('fieldComponent', { read: ViewContainerRef, static: true })\r\n\toverride fieldComponent: ViewContainerRef;\r\n\r\n\toverride readonly formControl: FormControl;\r\n\r\n\tget validationId() {\r\n\t\treturn this.field.id + '-message';\r\n\t}\r\n}\r\n\r\n// component that display the right error message\r\n@Component({\r\n\tselector: 'lu-formly-error-message',\r\n\ttemplate: `<div class=\"textfield-messages-error\" *ngFor=\"let message of errorMessages\">\r\n\t\t{{ message }}\r\n\t</div>`,\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\n// eslint-disable-next-line @angular-eslint/component-class-suffix\r\nexport class LuFormlyErrorMessage {\r\n\t@Input() fieldForm: FormControl;\r\n\t@Input() field: FormlyFieldConfig;\r\n\r\n\tget errorMessages(): string[] {\r\n\t\tconst messages: string[] = [];\r\n\t\tif (this.fieldForm.errors) {\r\n\t\t\tObject.keys(this.fieldForm.errors).forEach((key) => {\r\n\t\t\t\tif (this.field.validation?.messages?.[key]) {\r\n\t\t\t\t\tmessages.push(this.field.validation.messages[key] as string);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t\treturn messages;\r\n\t}\r\n}\r\n\r\n// run to know when to add said wrapper\r\nexport class TemplateError {\r\n\trun(fc: FormlyConfig) {\r\n\t\tfc.templateManipulators.postWrapper.push((field: FormlyFieldConfig) => {\r\n\t\t\tif (field && field.validation) {\r\n\t\t\t\treturn 'error';\r\n\t\t\t}\r\n\t\t\treturn '';\r\n\t\t});\r\n\t}\r\n}\r\n","<ng-container #fieldComponent></ng-container>\r\n<div class=\"textfield-messages\" *ngIf=\"formControl.touched && formControl.invalid\" [id]=\"validationId\">\r\n\t<lu-formly-error-message [fieldForm]=\"formControl\" [field]=\"field\"></lu-formly-error-message>\r\n</div>\r\n","import { ChangeDetectionStrategy, Component, ViewChild, ViewContainerRef } from '@angular/core';\r\nimport { FieldWrapper, FormlyConfig, FormlyFieldConfig } from '@ngx-formly/core';\r\n\r\n// wrapper component\r\n@Component({\r\n\tselector: 'lu-formly-wrapper-helper',\r\n\tstyleUrls: ['flex-layout.scss'],\r\n\ttemplateUrl: './helper.html',\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\n// eslint-disable-next-line @angular-eslint/component-class-suffix\r\nexport class LuFormlyWrapperHelper extends FieldWrapper {\r\n\t@ViewChild('fieldComponent', { read: ViewContainerRef, static: true })\r\n\toverride fieldComponent: ViewContainerRef;\r\n}\r\n// run to know when to add said wrapper\r\nexport class TemplateHelper {\r\n\trun(fc: FormlyConfig) {\r\n\t\tfc.templateManipulators.postWrapper.push((field: FormlyFieldConfig) => {\r\n\t\t\tif (field && field.templateOptions && field.templateOptions['helper']) {\r\n\t\t\t\treturn 'helper';\r\n\t\t\t}\r\n\t\t\treturn '';\r\n\t\t});\r\n\t}\r\n}\r\n","<ng-container #fieldComponent></ng-container>\r\n<div class=\"textfield-messages mod-helper\">\r\n\t<div class=\"textfield-messages-helper\">{{ to['helper'] }}</div>\r\n</div>\r\n","import { ChangeDetectionStrategy, Component, ViewChild, ViewContainerRef } from '@angular/core';\r\nimport { FieldWrapper, FormlyConfig, FormlyFieldConfig } from '@ngx-formly/core';\r\n\r\n// wrapper component\r\n@Component({\r\n\tselector: 'lu-formly-wrapper-suffix',\r\n\tstyleUrls: ['flex-layout.scss', 'suffixes.common.scss'],\r\n\ttemplateUrl: './icon.html',\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\n// eslint-disable-next-line @angular-eslint/component-class-suffix\r\nexport class LuFormlyWrapperIcon extends FieldWrapper {\r\n\t@ViewChild('fieldComponent', { read: ViewContainerRef, static: true })\r\n\toverride fieldComponent: ViewContainerRef;\r\n}\r\n// run to know when to add said wrapper\r\nexport class TemplateIcon {\r\n\trun(fc: FormlyConfig) {\r\n\t\tfc.templateManipulators.postWrapper.push((field: FormlyFieldConfig) => {\r\n\t\t\t// if (field && field.type === 'date') {\r\n\t\t\t// \tfield.templateOptions.icon = 'calendar';\r\n\t\t\t// \treturn 'icon';\r\n\t\t\t// }\r\n\t\t\t// if (field && field.type === 'api') {\r\n\t\t\t// \tfield.templateOptions.icon = 'search';\r\n\t\t\t// \treturn 'icon';\r\n\t\t\t// }\r\n\t\t\tif (field && field.templateOptions && field.templateOptions['icon']) {\r\n\t\t\t\treturn 'icon';\r\n\t\t\t}\r\n\t\t\treturn '';\r\n\t\t});\r\n\t}\r\n}\r\n","<ng-container #fieldComponent></ng-container>\r\n<span aria-hidden=\"true\" class=\"textfield-suffix mod-icon lucca-icon\">{{ to['icon'] }}</span>\r\n","import { ChangeDetectionStrategy, Component, ViewChild, ViewContainerRef } from '@angular/core';\r\nimport { FieldWrapper } from '@ngx-formly/core';\r\n\r\n// wrapper component\r\n@Component({\r\n\tselector: 'lu-formly-wrapper-radiosfield-layout',\r\n\tstyleUrls: ['flex-layout.scss'],\r\n\ttemplateUrl: './radiosfield-layout.html',\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\n// eslint-disable-next-line @angular-eslint/component-class-suffix\r\nexport class LuFormlyWrapperRadiosfieldLayout extends FieldWrapper {\r\n\t@ViewChild('fieldComponent', { read: ViewContainerRef, static: true })\r\n\toverride fieldComponent: ViewContainerRef;\r\n\r\n\tget mod() {\r\n\t\treturn (this.to['mod'] || '') as string;\r\n\t}\r\n\r\n\tget isRequired() {\r\n\t\treturn !!this.to && !!this.to.required ? 'is-required' : '';\r\n\t}\r\n\r\n\tget isFocused() {\r\n\t\treturn !!this.to && this.to['_isFocused'] ? 'is-focused' : '';\r\n\t}\r\n\r\n\tget isError() {\r\n\t\treturn this.formControl.invalid && this.formControl.touched ? 'is-error' : '';\r\n\t}\r\n}\r\n","<div class=\"fieldsetWrapper\">\r\n\t<fieldset class=\"radiosfield\" [ngClass]=\"[mod, isRequired, isFocused, isError]\">\r\n\t\t<ng-container #fieldComponent></ng-container>\r\n\t</fieldset>\r\n</div>\r\n","import { ChangeDetectionStrategy, Component, ViewChild, ViewContainerRef } from '@angular/core';\r\nimport { FieldWrapper, FormlyConfig, FormlyFieldConfig } from '@ngx-formly/core';\r\n\r\n// wrapper component\r\n@Component({\r\n\tselector: 'lu-formly-wrapper-suffix',\r\n\tstyleUrls: ['flex-layout.scss', 'suffixes.common.scss'],\r\n\ttemplateUrl: './suffix.html',\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\n// eslint-disable-next-line @angular-eslint/component-class-suffix\r\nexport class LuFormlyWrapperSuffix extends FieldWrapper {\r\n\t@ViewChild('fieldComponent', { read: ViewContainerRef, static: true })\r\n\toverride fieldComponent: ViewContainerRef;\r\n}\r\n// run to know when to add said wrapper\r\nexport class TemplateSuffix {\r\n\trun(fc: FormlyConfig) {\r\n\t\tfc.templateManipulators.postWrapper.push((field: FormlyFieldConfig) => {\r\n\t\t\tif (field?.templateOptions?.['suffix'] && !field?.templateOptions?.['icon']) {\r\n\t\t\t\treturn 'suffix';\r\n\t\t\t}\r\n\t\t\treturn '';\r\n\t\t});\r\n\t}\r\n}\r\n","<ng-container #fieldComponent></ng-container>\r\n<span class=\"textfield-suffix\">{{ to['suffix'] }}</span>\r\n","import { ChangeDetectionStrategy, Component, ViewChild, ViewContainerRef } from '@angular/core';\r\nimport { FieldWrapper } from '@ngx-formly/core';\r\n\r\n// wrapper component\r\n@Component({\r\n\tselector: 'lu-formly-wrapper-layout',\r\n\tstyleUrls: ['flex-layout.scss'],\r\n\ttemplateUrl: './textfield-layout.html',\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\n// eslint-disable-next-line @angular-eslint/component-class-suffix\r\nexport class LuFormlyWrapperTextfieldLayout extends FieldWrapper {\r\n\t@ViewChild('fieldComponent', { read: ViewContainerRef, static: true })\r\n\toverride fieldComponent: ViewContainerRef;\r\n\r\n\tget mod() {\r\n\t\treturn (this.to['mod'] || '') as string;\r\n\t}\r\n\r\n\tget modMultiline() {\r\n\t\treturn !!this.field && this.field.type === 'textarea' ? 'mod-multiline' : '';\r\n\t}\r\n\r\n\tget modWithSuffix() {\r\n\t\treturn !!this.to && !!this.to['suffix'] ? 'mod-withSuffix' : '';\r\n\t}\r\n\r\n\tget isRequired() {\r\n\t\treturn !!this.to && !!this.to.required ? 'is-required' : '';\r\n\t}\r\n\r\n\tget isDisabled() {\r\n\t\treturn !!this.to && !!this.to.disabled ? 'is-disabled' : '';\r\n\t}\r\n\r\n\tget isFocused() {\r\n\t\treturn !!this.to && this.to['_isFocused'] ? 'is-focused' : '';\r\n\t}\r\n\r\n\tget isError() {\r\n\t\treturn this.formControl.invalid && this.formControl.touched ? 'is-error' : '';\r\n\t}\r\n}\r\n","<label class=\"textfield\" [ngClass]=\"[mod, modWithSuffix, modMultiline, isRequired, isFocused, isError, isDisabled]\">\r\n\t<ng-container #fieldComponent></ng-container>\r\n</label>\r\n","import { ChangeDetectionStrategy, Component, ViewChild, ViewContainerRef } from '@angular/core';\r\nimport { FieldWrapper } from '@ngx-formly/core';\r\n\r\n// wrapper component\r\n@Component({\r\n\tselector: 'lu-formly-wrapper-checkbox-layout',\r\n\tstyleUrls: ['flex-layout.scss'],\r\n\ttemplateUrl: './checkbox-layout.html',\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\n// eslint-disable-next-line @angular-eslint/component-class-suffix\r\nexport class LuFormlyWrapperCheckboxLayout extends FieldWrapper {\r\n\t@ViewChild('fieldComponent', { read: ViewContainerRef, static: true })\r\n\toverride fieldComponent: ViewContainerRef;\r\n\r\n\tget mod() {\r\n\t\treturn (this.to['mod'] || '') as string;\r\n\t}\r\n\r\n\tget isRequired() {\r\n\t\treturn !!this.to && !!this.to.required ? 'is-required' : '';\r\n\t}\r\n\r\n\tget isFocused() {\r\n\t\treturn !!this.to && this.to['_isFocused'] ? 'is-focused' : '';\r\n\t}\r\n\r\n\tget isError() {\r\n\t\treturn this.formControl.invalid && this.formControl.touched ? 'is-error' : '';\r\n\t}\r\n}\r\n","<div class=\"fieldsetWrapper\">\r\n\t<fieldset class=\"checkboxesfield\" [ngClass]=\"[mod, isRequired, isFocused, isError]\">\r\n\t\t<ng-container #fieldComponent></ng-container>\r\n\t</fieldset>\r\n</div>\r\n","import { ConfigOption } from '@ngx-formly/core';\r\n// inputs\r\nimport {\r\n\tLuFormlyFieldApi,\r\n\tLuFormlyFieldCheckbox,\r\n\tLuFormlyFieldDate,\r\n\tLuFormlyFieldDepartment,\r\n\tLuFormlyFieldEstablishment,\r\n\tLuFormlyFieldInput,\r\n\tLuFormlyFieldQualification,\r\n\tLuFormlyFieldRadios,\r\n\tLuFormlyFieldSelect,\r\n\tLuFormlyFieldTextarea,\r\n\tLuFormlyFieldUser,\r\n} from './types/index';\r\n// wrappers\r\nimport {\r\n\tLuFormlyWrapperCheckboxLayout,\r\n\tLuFormlyWrapperError,\r\n\tLuFormlyWrapperHelper,\r\n\tLuFormlyWrapperIcon,\r\n\t// LuFormlyErrorMessage,\r\n\tLuFormlyWrapperRadiosfieldLayout,\r\n\tLuFormlyWrapperSuffix,\r\n\tLuFormlyWrapperTextfieldLayout,\r\n\tTemplateError,\r\n\tTemplateHelper,\r\n\tTemplateIcon,\r\n\tTemplateSuffix,\r\n} from './wrappers/index';\r\n\r\nexport const LU_FORMLY_CONFIG: ConfigOption = {\r\n\ttypes: [\r\n\t\t{\r\n\t\t\tname: 'input',\r\n\t\t\tcomponent: LuFormlyFieldInput,\r\n\t\t\twrappers: ['textfield-layout'],\r\n\t\t},\r\n\t\t{\r\n\t\t\tname: 'radio',\r\n\t\t\tcomponent: LuFormlyFieldRadios,\r\n\t\t\twrappers: ['radiosfield-layout'],\r\n\t\t},\r\n\t\t{\r\n\t\t\tname: 'checkbox',\r\n\t\t\tcomponent: LuFormlyFieldCheckbox,\r\n\t\t\twrappers: ['checkbox-layout'],\r\n\t\t},\r\n\t\t{\r\n\t\t\tname: 'date',\r\n\t\t\tcomponent: LuFormlyFieldDate,\r\n\t\t\twrappers: ['textfield-layout'],\r\n\t\t},\r\n\t\t{\r\n\t\t\tname: 'textarea',\r\n\t\t\tcomponent: LuFormlyFieldTextarea,\r\n\t\t\twrappers: ['textfield-layout'],\r\n\t\t},\r\n\t\t{\r\n\t\t\tname: 'select',\r\n\t\t\tcomponent: LuFormlyFieldSelect,\r\n\t\t\twrappers: ['textfield-layout'],\r\n\t\t},\r\n\t\t{\r\n\t\t\tname: 'user',\r\n\t\t\tcomponent: LuFormlyFieldUser,\r\n\t\t\twrappers: ['textfield-layout'],\r\n\t\t},\r\n\t\t{\r\n\t\t\tname: 'api',\r\n\t\t\tcomponent: LuFormlyFieldApi,\r\n\t\t\twrappers: ['textfield-layout'],\r\n\t\t},\r\n\t\t{\r\n\t\t\tname: 'department',\r\n\t\t\tcomponent: LuFormlyFieldDepartment,\r\n\t\t\twrappers: ['textfield-layout'],\r\n\t\t},\r\n\t\t{\r\n\t\t\tname: 'establishment',\r\n\t\t\tcomponent: LuFormlyFieldEstablishment,\r\n\t\t\twrappers: ['textfield-layout'],\r\n\t\t},\r\n\t\t{\r\n\t\t\tname: 'qualification',\r\n\t\t\tcomponent: LuFormlyFieldQualification,\r\n\t\t\twrappers: ['textfield-layout'],\r\n\t\t},\r\n\t],\r\n\twrappers: [\r\n\t\t{ name: 'helper', component: LuFormlyWrapperHelper },\r\n\t\t{ name: 'checkbox-layout', component: LuFormlyWrapperCheckboxLayout },\r\n\t\t{ name: 'radiosfield-layout', component: LuFormlyWrapperRadiosfieldLayout },\r\n\t\t{ name: 'textfield-layout', component: LuFormlyWrapperTextfieldLayout },\r\n\t\t{ name: 'suffix', component: LuFormlyWrapperSuffix },\r\n\t\t{ name: 'icon', component: LuFormlyWrapperIcon },\r\n\t\t{ name: 'error', component: LuFormlyWrapperError },\r\n\t],\r\n\tmanipulators: [\r\n\t\t{ class: TemplateError, method: 'run' }, // fifth\r\n\t\t{ class: TemplateHelper, method: 'run' }, // fourth\r\n\t\t{ class: TemplateSuffix, method: 'run' }, // third\r\n\t\t{ class: TemplateIcon, method: 'run' }, // second\r\n\t],\r\n};\r\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { LuApiModule } from '@lucca-front/ng/api';\r\nimport { LuDateModule } from '@lucca-front/ng/date';\r\nimport { LuDepartmentModule } from '@lucca-front/ng/department';\r\nimport { LuEstablishmentModule } from '@lucca-front/ng/establishment';\r\nimport { LuInputModule } from '@lucca-front/ng/input';\r\nimport { LuOptionModule } from '@lucca-front/ng/option';\r\nimport { LuQualificationModule } from '@lucca-front/ng/qualification';\r\nimport { LuSelectModule } from '@lucca-front/ng/select';\r\nimport { LuUserModule } from '@lucca-front/ng/user';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\nimport { LU_FORMLY_CONFIG } from './formly.config';\r\nimport {\r\n\tLuFormlyFieldApi,\r\n\tLuFormlyFieldCheckbox,\r\n\tLuFormlyFieldDate,\r\n\tLuFormlyFieldDepartment,\r\n\tLuFormlyFieldEstablishment,\r\n\tLuFormlyFieldInput,\r\n\tLuFormlyFieldRadios,\r\n\tLuFormlyFieldSelect,\r\n\tLuFormlyFieldTextarea,\r\n\tLuFormlyFieldUser,\r\n\tLuFormlyFieldQualification,\r\n} from './types/index';\r\nimport {\r\n\tLuFormlyErrorMessage,\r\n\tLuFormlyWrapperCheckboxLayout,\r\n\tLuFormlyWrapperError,\r\n\tLuFormlyWrapperHelper,\r\n\tLuFormlyWrapperIcon,\r\n\tLuFormlyWrapperRadiosfieldLayout,\r\n\tLuFormlyWrapperSuffix,\r\n\tLuFormlyWrapperTextfieldLayout,\r\n} from './wrappers/index';\r\n\r\n/** HACK to avoid a 'Function calls are not supported in decorators' error */\r\nexport const LuFormlyChild = FormlyModule.forChild(LU_FORMLY_CONFIG);\r\n\r\n@NgModule({\r\n\tdeclarations: [\r\n\t\tLuFormlyErrorMessage,\r\n\r\n\t\tLuFormlyFieldInput,\r\n\t\tLuFormlyFieldDate,\r\n\t\tLuFormlyFieldTextarea,\r\n\t\tLuFormlyFieldSelect,\r\n\t\tLuFormlyFieldUser,\r\n\t\tLuFormlyFieldApi,\r\n\t\tLuFormlyFieldDepartment,\r\n\t\tLuFormlyFieldEstablishment,\r\n\t\tLuFormlyFieldQualification,\r\n\t\tLuFormlyFieldRadios,\r\n\t\tLuFormlyFieldCheckbox,\r\n\r\n\t\tLuFormlyWrapperHelper,\r\n\t\tLuFormlyWrapperCheckboxLayout,\r\n\t\tLuFormlyWrapperTextfieldLayout,\r\n\t\tLuFormlyWrapperRadiosfieldLayout,\r\n\t\tLuFormlyWrapperSuffix,\r\n\t\tLuFormlyWrapperIcon,\r\n\t\tLuFormlyWrapperError,\r\n\t],\r\n\timports: [\r\n\t\tCommonModule,\r\n\t\tFormsModule,\r\n\t\tReactiveFormsModule,\r\n\r\n\t\tLuSelectModule,\r\n\t\tLuOptionModule,\r\n\t\tLuUserModule,\r\n\t\tLuInputModule,\r\n\t\tLuApiModule,\r\n\t\tLuDepartmentModule,\r\n\t\tLuEstablishmentModule,\r\n\t\tLuQualificationModule,\r\n\t\tLuDateModule,\r\n\r\n\t\tLuFormlyChild,\r\n\t],\r\n})\r\nexport class LuFormlyModule {}\r\n","/*\r\n * Public API Surface of formly\r\n */\r\n\r\nexport * from './index';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAUA;MACa,gBAAiB,SAAQ,SAAS;IAC9C,IAAI,IAAI;QACP,OAAO,IAAI,CAAC,EAAE,CAAC,KAAK,CAAW,CAAC;KAChC;IACD,IAAI,QAAQ;QACX,QAAQ,IAAI,CAAC,EAAE,CAAC,SAAS,CAAC,IAAI,EAAE,EAAc;KAC9C;IACD,IAAI,QAAQ;QACX,OAAO,IAAI,CAAC,EAAE,CAAC,SAAS,CAAW,CAAC;KACpC;IACD,IAAI,SAAS;QACZ,QAAQ,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,IAAI,IAAI,EAAY;KAC/C;IAED,KAAK;QACJ,IAAI,CAAC,EAAE,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC;KAC7B;IACD,IAAI;QACH,IAAI,CAAC,EAAE,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC;KAC9B;;6GAnBW,gBAAgB;iGAAhB,gBAAgB,kFCX7B,+bAeA;2FDJa,gBAAgB;kBAP5B,SAAS;+BACC,qBAAqB;;;AEIhC;MACa,0BAA2B,SAAQ,SAAS;IAExD,KAAK;QACJ,IAAI,CAAC,EAAE,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC;KAC7B;IACD,IAAI;QACH,IAAI,CAAC,EAAE,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC;KAC9B;;uHAPW,0BAA0B;2GAA1B,0BAA0B,4FCVvC,4cAcA;2FDJa,0BAA0B;kBANtC,SAAS;+BACC,+BAA+B;;;AEK1C;MACa,qBAAsB,SAAQ,SAAS;IAEnD,KAAK;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BAAqB;QACrB,YAAY;4GAKD,cAAc,YAlBjB;YACR,YAAY;YACZ,WAAW;YACX,mBAAmB;YAEnB,cAAc;YACd,cAAc;YACd,YAAY;YACZ,aAAa;YACb,WAAW;YACX,kBAAkB;YAClB,qBAAqB;YACrB,qBAAqB;YACrB,YAAY;YAEZ,aAAa;SACb;2FAEW,cAAc;kBA1C1B,QAAQ;mBAAC;oBACT,YAAY,EAAE;wBACb,oBAAoB;wBAEpB,kBAAkB;wBAClB,iBAAiB;wBACjB,qBAAqB;wBACrB,mBAAmB;wBACnB,iBAAiB;wBACjB,gBAAgB;wBAChB,uBAAuB;wBACvB,0BAA0B;wBAC1B,0BAA0B;wBAC1B,mBAAmB;wBACnB,qBAAqB;wBAErB,qBAAqB;wBACrB,6BAA6B;wBAC7B,8BAA8B;wBAC9B,gCAAgC;wBAChC,qBAAqB;wBACrB,mBAAmB;wBACnB,oBAAoB;qBACpB;oBACD,OAAO,EAAE;wBACR,YAAY;wBACZ,WAAW;wBACX,mBAAmB;wBAEnB,cAAc;wBACd,cAAc;wBACd,YAAY;wBACZ,aAAa;wBACb,WAAW;wBACX,kBAAkB;wBAClB,qBAAqB;wBACrB,qBAAqB;wBACrB,YAAY;wBAEZ,aAAa;qBACb;iBACD;;;AClFD;;;;ACAA;;;;;;"}
|
|
1
|
+
{"version":3,"file":"lucca-front-ng-formly.mjs","sources":["../../../packages/ng/formly/src/lib/types/api.ts","../../../packages/ng/formly/src/lib/types/api.html","../../../packages/ng/formly/src/lib/types/establishment.ts","../../../packages/ng/formly/src/lib/types/establishment.html","../../../packages/ng/formly/src/lib/types/checkbox.ts","../../../packages/ng/formly/src/lib/types/checkbox.html","../../../packages/ng/formly/src/lib/types/date.ts","../../../packages/ng/formly/src/lib/types/date.html","../../../packages/ng/formly/src/lib/types/department.ts","../../../packages/ng/formly/src/lib/types/department.html","../../../packages/ng/formly/src/lib/types/input.ts","../../../packages/ng/formly/src/lib/types/input.html","../../../packages/ng/formly/src/lib/types/radios.ts","../../../packages/ng/formly/src/lib/types/radios.html","../../../packages/ng/formly/src/lib/types/select.ts","../../../packages/ng/formly/src/lib/types/select.html","../../../packages/ng/formly/src/lib/types/textarea.ts","../../../packages/ng/formly/src/lib/types/textarea.html","../../../packages/ng/formly/src/lib/types/user.ts","../../../packages/ng/formly/src/lib/types/user.html","../../../packages/ng/formly/src/lib/types/qualification.ts","../../../packages/ng/formly/src/lib/types/qualification.html","../../../packages/ng/formly/src/lib/wrappers/error.ts","../../../packages/ng/formly/src/lib/wrappers/error.html","../../../packages/ng/formly/src/lib/wrappers/helper.ts","../../../packages/ng/formly/src/lib/wrappers/helper.html","../../../packages/ng/formly/src/lib/wrappers/icon.ts","../../../packages/ng/formly/src/lib/wrappers/icon.html","../../../packages/ng/formly/src/lib/wrappers/radiosfield-layout.ts","../../../packages/ng/formly/src/lib/wrappers/radiosfield-layout.html","../../../packages/ng/formly/src/lib/wrappers/suffix.ts","../../../packages/ng/formly/src/lib/wrappers/suffix.html","../../../packages/ng/formly/src/lib/wrappers/textfield-layout.ts","../../../packages/ng/formly/src/lib/wrappers/textfield-layout.html","../../../packages/ng/formly/src/lib/wrappers/checkbox-layout.ts","../../../packages/ng/formly/src/lib/wrappers/checkbox-layout.html","../../../packages/ng/formly/src/lib/formly.config.ts","../../../packages/ng/formly/src/lib/formly.module.ts","../../../packages/ng/formly/src/public-api.ts","../../../packages/ng/formly/src/lucca-front-ng-formly.ts"],"sourcesContent":["import { Component } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { FieldType } from '@ngx-formly/core';\r\n\r\n@Component({\r\n\tselector: 'lu-formly-field-api',\r\n\tstyleUrls: ['formly-field.common.scss', 'select.scss'],\r\n\ttemplateUrl: './api.html',\r\n\t// changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\n// eslint-disable-next-line @angular-eslint/component-class-suffix\r\nexport class LuFormlyFieldApi extends FieldType {\r\n\tget _api() {\r\n\t\treturn this.to['api'] as string;\r\n\t}\r\n\tget _filters() {\r\n\t\treturn (this.to['filters'] || []) as string[];\r\n\t}\r\n\tget _orderBy() {\r\n\t\treturn this.to['orderBy'] as string;\r\n\t}\r\n\tget _standard() {\r\n\t\treturn (this.to['standard'] || 'v3') as string;\r\n\t}\r\n\toverride readonly formControl: FormControl;\r\n\tfocus() {\r\n\t\tthis.to['_isFocused'] = true;\r\n\t}\r\n\tblur() {\r\n\t\tthis.to['_isFocused'] = false;\r\n\t}\r\n}\r\n","<lu-api-select\r\n\tclass=\"textfield-input\"\r\n\t[formControl]=\"formControl\"\r\n\t[formlyAttributes]=\"field\"\r\n\t[multiple]=\"to['multiple']\"\r\n\t(focus)=\"focus()\"\r\n\t(blur)=\"blur()\"\r\n\t[placeholder]=\"to.placeholder\"\r\n\t[api]=\"_api\"\r\n\t[filters]=\"_filters\"\r\n\t[orderBy]=\"_orderBy\"\r\n\t[standard]=\"_standard\"\r\n>\r\n</lu-api-select>\r\n<span [attr.for]=\"id\" class=\"textfield-label\">{{ to.label }}</span>\r\n","import { Component } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { FieldType } from '@ngx-formly/core';\r\n\r\n@Component({\r\n\tselector: 'lu-formly-field-establishment',\r\n\tstyleUrls: ['formly-field.common.scss', 'select.scss'],\r\n\ttemplateUrl: './establishment.html',\r\n})\r\n// eslint-disable-next-line @angular-eslint/component-class-suffix\r\nexport class LuFormlyFieldEstablishment extends FieldType {\r\n\toverride readonly formControl: FormControl;\r\n\tfocus() {\r\n\t\tthis.to['_isFocused'] = true;\r\n\t}\r\n\tblur() {\r\n\t\tthis.to['_isFocused'] = false;\r\n\t}\r\n}\r\n","<lu-establishment-select\r\n\tclass=\"textfield-input\"\r\n\t[formControl]=\"formControl\"\r\n\t[formlyAttributes]=\"field\"\r\n\t[multiple]=\"to['multiple']\"\r\n\t(focus)=\"focus()\"\r\n\t(blur)=\"blur()\"\r\n\t[placeholder]=\"to.placeholder\"\r\n\t[filters]=\"to['filters']\"\r\n\t[appInstanceId]=\"to['appInstanceId']\"\r\n\t[operations]=\"to['operations']\"\r\n>\r\n</lu-establishment-select>\r\n<span class=\"textfield-label\">{{ to.label }}</span>\r\n","import { Component } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { FieldType } from '@ngx-formly/core';\r\n\r\n@Component({\r\n\tselector: 'lu-formly-field-checkbox',\r\n\tstyleUrls: ['formly-field.common.scss'],\r\n\ttemplateUrl: './checkbox.html',\r\n\t// changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\n// eslint-disable-next-line @angular-eslint/component-class-suffix\r\nexport class LuFormlyFieldCheckbox extends FieldType {\r\n\toverride readonly formControl: FormControl;\r\n\tfocus() {\r\n\t\tthis.to['_isFocused'] = true;\r\n\t}\r\n\tblur() {\r\n\t\tthis.to['_isFocused'] = false;\r\n\t}\r\n}\r\n","<label class=\"checkbox\" [ngClass]=\"to['mod']\">\r\n\t<input class=\"checkbox-input\" type=\"checkbox\" [name]=\"to['name']\" [id]=\"id\" [formControl]=\"formControl\" [formlyAttributes]=\"field\" />\r\n\t<span class=\"checkbox-label\">{{to.label}}</span>\r\n</label>\r\n","import { Component } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { FieldType } from '@ngx-formly/core';\r\n\r\n@Component({\r\n\tselector: 'lu-formly-field-date',\r\n\tstyleUrls: ['formly-field.common.scss', 'select.scss'],\r\n\ttemplateUrl: './date.html',\r\n\t// changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\n// eslint-disable-next-line @angular-eslint/component-class-suffix\r\nexport class LuFormlyFieldDate extends FieldType {\r\n\toverride readonly formControl: FormControl;\r\n\tfocus() {\r\n\t\tthis.to['_isFocused'] = true;\r\n\t}\r\n\tblur() {\r\n\t\tthis.to['_isFocused'] = false;\r\n\t}\r\n}\r\n","<lu-date-select\r\n\tclass=\"textfield-input\"\r\n\t[formControl]=\"formControl\"\r\n\t[formlyAttributes]=\"field\"\r\n\t(focus)=\"focus()\"\r\n\t(blur)=\"blur()\"\r\n\t[placeholder]=\"to.placeholder\"\r\n\t[min]=\"to.min\"\r\n\t[max]=\"to.max\"\r\n></lu-date-select>\r\n<span class=\"textfield-label\">{{ to.label }}</span>\r\n","import { Component } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { FieldType } from '@ngx-formly/core';\r\n\r\n@Component({\r\n\tselector: 'lu-formly-field-department',\r\n\tstyleUrls: ['formly-field.common.scss', 'select.scss'],\r\n\ttemplateUrl: './department.html',\r\n\t// changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\n// eslint-disable-next-line @angular-eslint/component-class-suffix\r\nexport class LuFormlyFieldDepartment extends FieldType {\r\n\toverride readonly formControl: FormControl;\r\n\tfocus() {\r\n\t\tthis.to['_isFocused'] = true;\r\n\t}\r\n\tblur() {\r\n\t\tthis.to['_isFocused'] = false;\r\n\t}\r\n}\r\n","<lu-department-select\r\n\tclass=\"textfield-input\"\r\n\t[formControl]=\"formControl\"\r\n\t[formlyAttributes]=\"field\"\r\n\t[multiple]=\"to['multiple']\"\r\n\t(focus)=\"focus()\"\r\n\t(blur)=\"blur()\"\r\n\t[placeholder]=\"to.placeholder\"\r\n\t[filters]=\"to['filters']\"\r\n\t[appInstanceId]=\"to['appInstanceId']\"\r\n\t[operations]=\"to['operations']\"\r\n>\r\n</lu-department-select>\r\n<span class=\"textfield-label\">{{ to.label }}</span>\r\n","import { Component } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { FieldType } from '@ngx-formly/core';\r\n@Component({\r\n\tselector: 'lu-formly-field-input',\r\n\tstyleUrls: ['formly-field.common.scss'],\r\n\ttemplateUrl: './input.html',\r\n\t// changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\n// eslint-disable-next-line @angular-eslint/component-class-suffix\r\nexport class LuFormlyFieldInput extends FieldType {\r\n\tget type() {\r\n\t\treturn this.to.type || 'text';\r\n\t}\r\n\toverride readonly formControl: FormControl;\r\n\tfocus() {\r\n\t\tthis.to['_isFocused'] = true;\r\n\t}\r\n\tblur() {\r\n\t\tthis.to['_isFocused'] = false;\r\n\t}\r\n}\r\n","<ng-template [ngIf]=\"type !== 'number'\" [ngIfElse]=\"numberInput\">\r\n\t<input\r\n\t\t[type]=\"type\"\r\n\t\tclass=\"textfield-input\"\r\n\t\t[name]=\"to['name']\"\r\n\t\t[formControl]=\"formControl\"\r\n\t\t[formlyAttributes]=\"field\"\r\n\t\tluInput\r\n\t\t(focus)=\"focus()\"\r\n\t\t(blur)=\"blur()\"\r\n\t\t[placeholder]=\"to.placeholder\"\r\n\t/>\r\n</ng-template>\r\n<!-- type=\"number\" has to be static in order to have NumberValueAccessor instead of DefaultValueAccessor -->\r\n<ng-template #numberInput>\r\n\t<input\r\n\t\ttype=\"number\"\r\n\t\tclass=\"textfield-input\"\r\n\t\t[name]=\"to['name']\"\r\n\t\t[formControl]=\"formControl\"\r\n\t\t[formlyAttributes]=\"field\"\r\n\t\tluInput\r\n\t\t(focus)=\"focus()\"\r\n\t\t(blur)=\"blur()\"\r\n\t\t[placeholder]=\"to.placeholder\"\r\n\t/>\r\n</ng-template>\r\n<span class=\"textfield-label\">{{ to.label }}</span>\r\n","import { Component } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { FieldType } from '@ngx-formly/core';\r\n\r\n@Component({\r\n\tselector: 'lu-formly-field-radios',\r\n\tstyleUrls: ['formly-field.common.scss'],\r\n\ttemplateUrl: './radios.html',\r\n\t// changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\n// eslint-disable-next-line @angular-eslint/component-class-suffix\r\nexport class LuFormlyFieldRadios extends FieldType {\r\n\tget _options() {\r\n\t\treturn (this.to.options || []) as { value: unknown; label: unknown }[];\r\n\t}\r\n\toverride readonly formControl: FormControl;\r\n\tfocus() {\r\n\t\tthis.to['_isFocused'] = true;\r\n\t}\r\n\tblur() {\r\n\t\tthis.to['_isFocused'] = false;\r\n\t}\r\n}\r\n","<legend class=\"radiosfield-label\">{{to.label}}</legend>\r\n<div class=\"radiosfield-input\">\r\n\t<label *ngFor=\"let option of _options, let i = index\" class=\"radio\">\r\n\t\t<input\r\n\t\t\tclass=\"radio-input\"\r\n\t\t\ttype=\"radio\"\r\n\t\t\t[name]=\"to['name']\"\r\n\t\t\t[value]=\"option.value\"\r\n\t\t\t[id]=\"id + '_'+ i\"\r\n\t\t\t[formControl]=\"formControl\"\r\n\t\t\t[formlyAttributes]=\"field\"\r\n\t\t/>\r\n\t\t<span class=\"radio-label\">{{option.label}}</span>\r\n\t</label>\r\n</div>\r\n","import { Component } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { FieldType } from '@ngx-formly/core';\r\n\r\n@Component({\r\n\tselector: 'lu-formly-field-select',\r\n\tstyleUrls: ['formly-field.common.scss', 'select.scss'],\r\n\ttemplateUrl: './select.html',\r\n\t// changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\n// eslint-disable-next-line @angular-eslint/component-class-suffix\r\nexport class LuFormlyFieldSelect extends FieldType {\r\n\tget _options() {\r\n\t\treturn (this.to.options || []) as { value: unknown; label: unknown; name: string }[];\r\n\t}\r\n\toverride readonly formControl: FormControl;\r\n\tfocus() {\r\n\t\tthis.to['_isFocused'] = true;\r\n\t}\r\n\tblur() {\r\n\t\tthis.to['_isFocused'] = false;\r\n\t}\r\n}\r\n","<lu-select\r\n\tclass=\"textfield-input\"\r\n\t[formControl]=\"formControl\"\r\n\t[formlyAttributes]=\"field\"\r\n\t(focus)=\"focus()\"\r\n\t(blur)=\"blur()\"\r\n\t[multiple]=\"to['multiple']\"\r\n\t[placeholder]=\"to.placeholder\"\r\n>\r\n\t<ng-container *luDisplayer=\"let option\">\r\n\t\t<span [class.chip]=\"to['multiple']\" [class.mod-unkillable]=\"to['multiple']\">{{ option.name }}</span>\r\n\t</ng-container>\r\n\t<lu-option-picker>\r\n\t\t<lu-option *ngFor=\"let option of _options\" [value]=\"option\"> {{ option.name }} </lu-option>\r\n\t</lu-option-picker>\r\n\t<lu-input-clearer *ngIf=\"!to.required && !to['multiple']\"></lu-input-clearer>\r\n</lu-select>\r\n<span class=\"textfield-label\">{{ to.label }}</span>\r\n","import { Component } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { FieldType } from '@ngx-formly/core';\r\n\r\n@Component({\r\n\tselector: 'lu-formly-field-input',\r\n\tstyleUrls: ['formly-field.common.scss'],\r\n\ttemplateUrl: './textarea.html',\r\n\t// changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\n// eslint-disable-next-line @angular-eslint/component-class-suffix\r\nexport class LuFormlyFieldTextarea extends FieldType {\r\n\toverride readonly formControl: FormControl;\r\n\tfocus() {\r\n\t\tthis.to['_isFocused'] = true;\r\n\t}\r\n\tblur() {\r\n\t\tthis.to['_isFocused'] = false;\r\n\t}\r\n}\r\n","<textarea\r\n\tclass=\"textfield-input\"\r\n\t[name]=\"to['name']\"\r\n\t[formControl]=\"formControl\"\r\n\t[formlyAttributes]=\"field\"\r\n\tluInput\r\n\t(focus)=\"focus()\"\r\n\t(blur)=\"blur()\"\r\n\t[placeholder]=\"to.placeholder\"\r\n></textarea>\r\n<span class=\"textfield-label\">{{ to.label }}</span>\r\n","import { Component } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { FieldType } from '@ngx-formly/core';\r\n\r\n@Component({\r\n\tselector: 'lu-formly-field-user',\r\n\tstyleUrls: ['formly-field.common.scss', 'select.scss'],\r\n\ttemplateUrl: './user.html',\r\n\t// changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\n// eslint-disable-next-line @angular-eslint/component-class-suffix\r\nexport class LuFormlyFieldUser extends FieldType {\r\n\toverride readonly formControl: FormControl;\r\n\r\n\tfocus() {\r\n\t\tthis.to['_isFocused'] = true;\r\n\t}\r\n\tblur() {\r\n\t\tthis.to['_isFocused'] = false;\r\n\t}\r\n}\r\n","<lu-user-select\r\n\tclass=\"textfield-input\"\r\n\t[formControl]=\"formControl\"\r\n\t[formlyAttributes]=\"field\"\r\n\t[multiple]=\"to['multiple']\"\r\n\t(focus)=\"focus()\"\r\n\t(blur)=\"blur()\"\r\n\t[placeholder]=\"to.placeholder\"\r\n>\r\n</lu-user-select>\r\n<span class=\"textfield-label\">{{ to.label }}</span>\r\n","import { Component } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { FieldType } from '@ngx-formly/core';\r\n\r\n@Component({\r\n\tselector: 'lu-formly-field-qualification',\r\n\tstyleUrls: ['formly-field.common.scss', 'select.scss'],\r\n\ttemplateUrl: './qualification.html',\r\n})\r\n// eslint-disable-next-line @angular-eslint/component-class-suffix\r\nexport class LuFormlyFieldQualification extends FieldType {\r\n\toverride readonly formControl: FormControl;\r\n\tfocus() {\r\n\t\tthis.to['_isFocused'] = true;\r\n\t}\r\n\tblur() {\r\n\t\tthis.to['_isFocused'] = false;\r\n\t}\r\n}\r\n","<lu-qualification-select\r\n\tclass=\"textfield-input\"\r\n\t[formControl]=\"formControl\"\r\n\t[formlyAttributes]=\"field\"\r\n\t[multiple]=\"to['multiple']\"\r\n\t(focus)=\"focus()\"\r\n\t(blur)=\"blur()\"\r\n\t[placeholder]=\"to.placeholder\"\r\n\t[filters]=\"to['filters']\"\r\n>\r\n</lu-qualification-select>\r\n<span class=\"textfield-label\">{{ to.label }}</span>\r\n","import { ChangeDetectionStrategy, Component, Input, ViewChild, ViewContainerRef } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { FieldWrapper, FormlyConfig, FormlyFieldConfig } from '@ngx-formly/core';\r\n\r\n// wrapper\r\n@Component({\r\n\tselector: 'lu-formly-wrapper-error',\r\n\tstyleUrls: ['flex-layout.scss'],\r\n\ttemplateUrl: './error.html',\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\n// eslint-disable-next-line @angular-eslint/component-class-suffix\r\nexport class LuFormlyWrapperError extends FieldWrapper {\r\n\t@ViewChild('fieldComponent', { read: ViewContainerRef, static: true })\r\n\toverride fieldComponent: ViewContainerRef;\r\n\r\n\toverride readonly formControl: FormControl;\r\n\r\n\tget validationId() {\r\n\t\treturn this.field.id + '-message';\r\n\t}\r\n}\r\n\r\n// component that display the right error message\r\n@Component({\r\n\tselector: 'lu-formly-error-message',\r\n\ttemplate: `<div class=\"textfield-messages-error\" *ngFor=\"let message of errorMessages\">\r\n\t\t{{ message }}\r\n\t</div>`,\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\n// eslint-disable-next-line @angular-eslint/component-class-suffix\r\nexport class LuFormlyErrorMessage {\r\n\t@Input() fieldForm: FormControl;\r\n\t@Input() field: FormlyFieldConfig;\r\n\r\n\tget errorMessages(): string[] {\r\n\t\tconst messages: string[] = [];\r\n\t\tif (this.fieldForm.errors) {\r\n\t\t\tObject.keys(this.fieldForm.errors).forEach((key) => {\r\n\t\t\t\tif (this.field.validation?.messages?.[key]) {\r\n\t\t\t\t\tmessages.push(this.field.validation.messages[key] as string);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t\treturn messages;\r\n\t}\r\n}\r\n\r\n// run to know when to add said wrapper\r\nexport class TemplateError {\r\n\trun(fc: FormlyConfig) {\r\n\t\tfc.templateManipulators.postWrapper.push((field: FormlyFieldConfig) => {\r\n\t\t\tif (field && field.validation) {\r\n\t\t\t\treturn 'error';\r\n\t\t\t}\r\n\t\t\treturn '';\r\n\t\t});\r\n\t}\r\n}\r\n","<ng-container #fieldComponent></ng-container>\r\n<div class=\"textfield-messages\" *ngIf=\"formControl.touched && formControl.invalid\" [id]=\"validationId\">\r\n\t<lu-formly-error-message [fieldForm]=\"formControl\" [field]=\"field\"></lu-formly-error-message>\r\n</div>\r\n","import { ChangeDetectionStrategy, Component, ViewChild, ViewContainerRef } from '@angular/core';\r\nimport { FieldWrapper, FormlyConfig, FormlyFieldConfig } from '@ngx-formly/core';\r\n\r\n// wrapper component\r\n@Component({\r\n\tselector: 'lu-formly-wrapper-helper',\r\n\tstyleUrls: ['flex-layout.scss'],\r\n\ttemplateUrl: './helper.html',\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\n// eslint-disable-next-line @angular-eslint/component-class-suffix\r\nexport class LuFormlyWrapperHelper extends FieldWrapper {\r\n\t@ViewChild('fieldComponent', { read: ViewContainerRef, static: true })\r\n\toverride fieldComponent: ViewContainerRef;\r\n}\r\n// run to know when to add said wrapper\r\nexport class TemplateHelper {\r\n\trun(fc: FormlyConfig) {\r\n\t\tfc.templateManipulators.postWrapper.push((field: FormlyFieldConfig) => {\r\n\t\t\tif (field && field.templateOptions && field.templateOptions['helper']) {\r\n\t\t\t\treturn 'helper';\r\n\t\t\t}\r\n\t\t\treturn '';\r\n\t\t});\r\n\t}\r\n}\r\n","<ng-container #fieldComponent></ng-container>\r\n<div class=\"textfield-messages mod-helper\">\r\n\t<div class=\"textfield-messages-helper\">{{ to['helper'] }}</div>\r\n</div>\r\n","import { ChangeDetectionStrategy, Component, ViewChild, ViewContainerRef } from '@angular/core';\r\nimport { FieldWrapper, FormlyConfig, FormlyFieldConfig } from '@ngx-formly/core';\r\n\r\n// wrapper component\r\n@Component({\r\n\tselector: 'lu-formly-wrapper-suffix',\r\n\tstyleUrls: ['flex-layout.scss', 'suffixes.common.scss'],\r\n\ttemplateUrl: './icon.html',\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\n// eslint-disable-next-line @angular-eslint/component-class-suffix\r\nexport class LuFormlyWrapperIcon extends FieldWrapper {\r\n\t@ViewChild('fieldComponent', { read: ViewContainerRef, static: true })\r\n\toverride fieldComponent: ViewContainerRef;\r\n}\r\n// run to know when to add said wrapper\r\nexport class TemplateIcon {\r\n\trun(fc: FormlyConfig) {\r\n\t\tfc.templateManipulators.postWrapper.push((field: FormlyFieldConfig) => {\r\n\t\t\t// if (field && field.type === 'date') {\r\n\t\t\t// \tfield.templateOptions.icon = 'calendar';\r\n\t\t\t// \treturn 'icon';\r\n\t\t\t// }\r\n\t\t\t// if (field && field.type === 'api') {\r\n\t\t\t// \tfield.templateOptions.icon = 'search';\r\n\t\t\t// \treturn 'icon';\r\n\t\t\t// }\r\n\t\t\tif (field && field.templateOptions && field.templateOptions['icon']) {\r\n\t\t\t\treturn 'icon';\r\n\t\t\t}\r\n\t\t\treturn '';\r\n\t\t});\r\n\t}\r\n}\r\n","<ng-container #fieldComponent></ng-container>\r\n<span aria-hidden=\"true\" class=\"textfield-suffix mod-icon lucca-icon\">{{ to['icon'] }}</span>\r\n","import { ChangeDetectionStrategy, Component, ViewChild, ViewContainerRef } from '@angular/core';\r\nimport { FieldWrapper } from '@ngx-formly/core';\r\n\r\n// wrapper component\r\n@Component({\r\n\tselector: 'lu-formly-wrapper-radiosfield-layout',\r\n\tstyleUrls: ['flex-layout.scss'],\r\n\ttemplateUrl: './radiosfield-layout.html',\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\n// eslint-disable-next-line @angular-eslint/component-class-suffix\r\nexport class LuFormlyWrapperRadiosfieldLayout extends FieldWrapper {\r\n\t@ViewChild('fieldComponent', { read: ViewContainerRef, static: true })\r\n\toverride fieldComponent: ViewContainerRef;\r\n\r\n\tget mod() {\r\n\t\treturn (this.to['mod'] || '') as string;\r\n\t}\r\n\r\n\tget isRequired() {\r\n\t\treturn !!this.to && !!this.to.required ? 'is-required' : '';\r\n\t}\r\n\r\n\tget isFocused() {\r\n\t\treturn !!this.to && this.to['_isFocused'] ? 'is-focused' : '';\r\n\t}\r\n\r\n\tget isError() {\r\n\t\treturn this.formControl.invalid && this.formControl.touched ? 'is-error' : '';\r\n\t}\r\n}\r\n","<div class=\"fieldsetWrapper\">\r\n\t<fieldset class=\"radiosfield\" [ngClass]=\"[mod, isRequired, isFocused, isError]\">\r\n\t\t<ng-container #fieldComponent></ng-container>\r\n\t</fieldset>\r\n</div>\r\n","import { ChangeDetectionStrategy, Component, ViewChild, ViewContainerRef } from '@angular/core';\r\nimport { FieldWrapper, FormlyConfig, FormlyFieldConfig } from '@ngx-formly/core';\r\n\r\n// wrapper component\r\n@Component({\r\n\tselector: 'lu-formly-wrapper-suffix',\r\n\tstyleUrls: ['flex-layout.scss', 'suffixes.common.scss'],\r\n\ttemplateUrl: './suffix.html',\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\n// eslint-disable-next-line @angular-eslint/component-class-suffix\r\nexport class LuFormlyWrapperSuffix extends FieldWrapper {\r\n\t@ViewChild('fieldComponent', { read: ViewContainerRef, static: true })\r\n\toverride fieldComponent: ViewContainerRef;\r\n}\r\n// run to know when to add said wrapper\r\nexport class TemplateSuffix {\r\n\trun(fc: FormlyConfig) {\r\n\t\tfc.templateManipulators.postWrapper.push((field: FormlyFieldConfig) => {\r\n\t\t\tif (field?.templateOptions?.['suffix'] && !field?.templateOptions?.['icon']) {\r\n\t\t\t\treturn 'suffix';\r\n\t\t\t}\r\n\t\t\treturn '';\r\n\t\t});\r\n\t}\r\n}\r\n","<ng-container #fieldComponent></ng-container>\r\n<span class=\"textfield-suffix\">{{ to['suffix'] }}</span>\r\n","import { ChangeDetectionStrategy, Component, ViewChild, ViewContainerRef } from '@angular/core';\r\nimport { FieldWrapper } from '@ngx-formly/core';\r\n\r\n// wrapper component\r\n@Component({\r\n\tselector: 'lu-formly-wrapper-layout',\r\n\tstyleUrls: ['flex-layout.scss'],\r\n\ttemplateUrl: './textfield-layout.html',\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\n// eslint-disable-next-line @angular-eslint/component-class-suffix\r\nexport class LuFormlyWrapperTextfieldLayout extends FieldWrapper {\r\n\t@ViewChild('fieldComponent', { read: ViewContainerRef, static: true })\r\n\toverride fieldComponent: ViewContainerRef;\r\n\r\n\tget mod() {\r\n\t\treturn (this.to['mod'] || '') as string;\r\n\t}\r\n\r\n\tget modMultiline() {\r\n\t\treturn !!this.field && this.field.type === 'textarea' ? 'mod-multiline' : '';\r\n\t}\r\n\r\n\tget modWithSuffix() {\r\n\t\treturn !!this.to && !!this.to['suffix'] ? 'mod-withSuffix' : '';\r\n\t}\r\n\r\n\tget isRequired() {\r\n\t\treturn !!this.to && !!this.to.required ? 'is-required' : '';\r\n\t}\r\n\r\n\tget isDisabled() {\r\n\t\treturn !!this.to && !!this.to.disabled ? 'is-disabled' : '';\r\n\t}\r\n\r\n\tget isFocused() {\r\n\t\treturn !!this.to && this.to['_isFocused'] ? 'is-focused' : '';\r\n\t}\r\n\r\n\tget isError() {\r\n\t\treturn this.formControl.invalid && this.formControl.touched ? 'is-error' : '';\r\n\t}\r\n}\r\n","<label class=\"textfield\" [ngClass]=\"[mod, modWithSuffix, modMultiline, isRequired, isFocused, isError, isDisabled]\">\r\n\t<ng-container #fieldComponent></ng-container>\r\n</label>\r\n","import { ChangeDetectionStrategy, Component, ViewChild, ViewContainerRef } from '@angular/core';\r\nimport { FieldWrapper } from '@ngx-formly/core';\r\n\r\n// wrapper component\r\n@Component({\r\n\tselector: 'lu-formly-wrapper-checkbox-layout',\r\n\tstyleUrls: ['flex-layout.scss'],\r\n\ttemplateUrl: './checkbox-layout.html',\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\n// eslint-disable-next-line @angular-eslint/component-class-suffix\r\nexport class LuFormlyWrapperCheckboxLayout extends FieldWrapper {\r\n\t@ViewChild('fieldComponent', { read: ViewContainerRef, static: true })\r\n\toverride fieldComponent: ViewContainerRef;\r\n\r\n\tget mod() {\r\n\t\treturn (this.to['mod'] || '') as string;\r\n\t}\r\n\r\n\tget isRequired() {\r\n\t\treturn !!this.to && !!this.to.required ? 'is-required' : '';\r\n\t}\r\n\r\n\tget isFocused() {\r\n\t\treturn !!this.to && this.to['_isFocused'] ? 'is-focused' : '';\r\n\t}\r\n\r\n\tget isError() {\r\n\t\treturn this.formControl.invalid && this.formControl.touched ? 'is-error' : '';\r\n\t}\r\n}\r\n","<div class=\"fieldsetWrapper\">\r\n\t<fieldset class=\"checkboxesfield\" [ngClass]=\"[mod, isRequired, isFocused, isError]\">\r\n\t\t<ng-container #fieldComponent></ng-container>\r\n\t</fieldset>\r\n</div>\r\n","import { ConfigOption } from '@ngx-formly/core';\r\n// inputs\r\nimport {\r\n\tLuFormlyFieldApi,\r\n\tLuFormlyFieldCheckbox,\r\n\tLuFormlyFieldDate,\r\n\tLuFormlyFieldDepartment,\r\n\tLuFormlyFieldEstablishment,\r\n\tLuFormlyFieldInput,\r\n\tLuFormlyFieldQualification,\r\n\tLuFormlyFieldRadios,\r\n\tLuFormlyFieldSelect,\r\n\tLuFormlyFieldTextarea,\r\n\tLuFormlyFieldUser,\r\n} from './types/index';\r\n// wrappers\r\nimport {\r\n\tLuFormlyWrapperCheckboxLayout,\r\n\tLuFormlyWrapperError,\r\n\tLuFormlyWrapperHelper,\r\n\tLuFormlyWrapperIcon,\r\n\t// LuFormlyErrorMessage,\r\n\tLuFormlyWrapperRadiosfieldLayout,\r\n\tLuFormlyWrapperSuffix,\r\n\tLuFormlyWrapperTextfieldLayout,\r\n\tTemplateError,\r\n\tTemplateHelper,\r\n\tTemplateIcon,\r\n\tTemplateSuffix,\r\n} from './wrappers/index';\r\n\r\nexport const LU_FORMLY_CONFIG: ConfigOption = {\r\n\ttypes: [\r\n\t\t{\r\n\t\t\tname: 'input',\r\n\t\t\tcomponent: LuFormlyFieldInput,\r\n\t\t\twrappers: ['textfield-layout'],\r\n\t\t},\r\n\t\t{\r\n\t\t\tname: 'radio',\r\n\t\t\tcomponent: LuFormlyFieldRadios,\r\n\t\t\twrappers: ['radiosfield-layout'],\r\n\t\t},\r\n\t\t{\r\n\t\t\tname: 'checkbox',\r\n\t\t\tcomponent: LuFormlyFieldCheckbox,\r\n\t\t\twrappers: ['checkbox-layout'],\r\n\t\t},\r\n\t\t{\r\n\t\t\tname: 'date',\r\n\t\t\tcomponent: LuFormlyFieldDate,\r\n\t\t\twrappers: ['textfield-layout'],\r\n\t\t},\r\n\t\t{\r\n\t\t\tname: 'textarea',\r\n\t\t\tcomponent: LuFormlyFieldTextarea,\r\n\t\t\twrappers: ['textfield-layout'],\r\n\t\t},\r\n\t\t{\r\n\t\t\tname: 'select',\r\n\t\t\tcomponent: LuFormlyFieldSelect,\r\n\t\t\twrappers: ['textfield-layout'],\r\n\t\t},\r\n\t\t{\r\n\t\t\tname: 'user',\r\n\t\t\tcomponent: LuFormlyFieldUser,\r\n\t\t\twrappers: ['textfield-layout'],\r\n\t\t},\r\n\t\t{\r\n\t\t\tname: 'api',\r\n\t\t\tcomponent: LuFormlyFieldApi,\r\n\t\t\twrappers: ['textfield-layout'],\r\n\t\t},\r\n\t\t{\r\n\t\t\tname: 'department',\r\n\t\t\tcomponent: LuFormlyFieldDepartment,\r\n\t\t\twrappers: ['textfield-layout'],\r\n\t\t},\r\n\t\t{\r\n\t\t\tname: 'establishment',\r\n\t\t\tcomponent: LuFormlyFieldEstablishment,\r\n\t\t\twrappers: ['textfield-layout'],\r\n\t\t},\r\n\t\t{\r\n\t\t\tname: 'qualification',\r\n\t\t\tcomponent: LuFormlyFieldQualification,\r\n\t\t\twrappers: ['textfield-layout'],\r\n\t\t},\r\n\t],\r\n\twrappers: [\r\n\t\t{ name: 'helper', component: LuFormlyWrapperHelper },\r\n\t\t{ name: 'checkbox-layout', component: LuFormlyWrapperCheckboxLayout },\r\n\t\t{ name: 'radiosfield-layout', component: LuFormlyWrapperRadiosfieldLayout },\r\n\t\t{ name: 'textfield-layout', component: LuFormlyWrapperTextfieldLayout },\r\n\t\t{ name: 'suffix', component: LuFormlyWrapperSuffix },\r\n\t\t{ name: 'icon', component: LuFormlyWrapperIcon },\r\n\t\t{ name: 'error', component: LuFormlyWrapperError },\r\n\t],\r\n\tmanipulators: [\r\n\t\t{ class: TemplateError, method: 'run' }, // fifth\r\n\t\t{ class: TemplateHelper, method: 'run' }, // fourth\r\n\t\t{ class: TemplateSuffix, method: 'run' }, // third\r\n\t\t{ class: TemplateIcon, method: 'run' }, // second\r\n\t],\r\n};\r\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { LuApiModule } from '@lucca-front/ng/api';\r\nimport { LuDateModule } from '@lucca-front/ng/date';\r\nimport { LuDepartmentModule } from '@lucca-front/ng/department';\r\nimport { LuEstablishmentModule } from '@lucca-front/ng/establishment';\r\nimport { LuInputModule } from '@lucca-front/ng/input';\r\nimport { LuOptionModule } from '@lucca-front/ng/option';\r\nimport { LuQualificationModule } from '@lucca-front/ng/qualification';\r\nimport { LuSelectModule } from '@lucca-front/ng/select';\r\nimport { LuUserModule } from '@lucca-front/ng/user';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\nimport { LU_FORMLY_CONFIG } from './formly.config';\r\nimport {\r\n\tLuFormlyFieldApi,\r\n\tLuFormlyFieldCheckbox,\r\n\tLuFormlyFieldDate,\r\n\tLuFormlyFieldDepartment,\r\n\tLuFormlyFieldEstablishment,\r\n\tLuFormlyFieldInput,\r\n\tLuFormlyFieldRadios,\r\n\tLuFormlyFieldSelect,\r\n\tLuFormlyFieldTextarea,\r\n\tLuFormlyFieldUser,\r\n\tLuFormlyFieldQualification,\r\n} from './types/index';\r\nimport {\r\n\tLuFormlyErrorMessage,\r\n\tLuFormlyWrapperCheckboxLayout,\r\n\tLuFormlyWrapperError,\r\n\tLuFormlyWrapperHelper,\r\n\tLuFormlyWrapperIcon,\r\n\tLuFormlyWrapperRadiosfieldLayout,\r\n\tLuFormlyWrapperSuffix,\r\n\tLuFormlyWrapperTextfieldLayout,\r\n} from './wrappers/index';\r\n\r\n/** HACK to avoid a 'Function calls are not supported in decorators' error */\r\nexport const LuFormlyChild = FormlyModule.forChild(LU_FORMLY_CONFIG);\r\n\r\n@NgModule({\r\n\tdeclarations: [\r\n\t\tLuFormlyErrorMessage,\r\n\r\n\t\tLuFormlyFieldInput,\r\n\t\tLuFormlyFieldDate,\r\n\t\tLuFormlyFieldTextarea,\r\n\t\tLuFormlyFieldSelect,\r\n\t\tLuFormlyFieldUser,\r\n\t\tLuFormlyFieldApi,\r\n\t\tLuFormlyFieldDepartment,\r\n\t\tLuFormlyFieldEstablishment,\r\n\t\tLuFormlyFieldQualification,\r\n\t\tLuFormlyFieldRadios,\r\n\t\tLuFormlyFieldCheckbox,\r\n\r\n\t\tLuFormlyWrapperHelper,\r\n\t\tLuFormlyWrapperCheckboxLayout,\r\n\t\tLuFormlyWrapperTextfieldLayout,\r\n\t\tLuFormlyWrapperRadiosfieldLayout,\r\n\t\tLuFormlyWrapperSuffix,\r\n\t\tLuFormlyWrapperIcon,\r\n\t\tLuFormlyWrapperError,\r\n\t],\r\n\timports: [\r\n\t\tCommonModule,\r\n\t\tFormsModule,\r\n\t\tReactiveFormsModule,\r\n\r\n\t\tLuSelectModule,\r\n\t\tLuOptionModule,\r\n\t\tLuUserModule,\r\n\t\tLuInputModule,\r\n\t\tLuApiModule,\r\n\t\tLuDepartmentModule,\r\n\t\tLuEstablishmentModule,\r\n\t\tLuQualificationModule,\r\n\t\tLuDateModule,\r\n\r\n\t\tLuFormlyChild,\r\n\t],\r\n})\r\nexport class LuFormlyModule {}\r\n","/*\r\n * Public API Surface of formly\r\n */\r\n\r\nexport * from './index';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAUA;MACa,gBAAiB,SAAQ,SAAS;IAC9C,IAAI,IAAI;QACP,OAAO,IAAI,CAAC,EAAE,CAAC,KAAK,CAAW,CAAC;KAChC;IACD,IAAI,QAAQ;QACX,QAAQ,IAAI,CAAC,EAAE,CAAC,SAAS,CAAC,IAAI,EAAE,EAAc;KAC9C;IACD,IAAI,QAAQ;QACX,OAAO,IAAI,CAAC,EAAE,CAAC,SAAS,CAAW,CAAC;KACpC;IACD,IAAI,SAAS;QACZ,QAAQ,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,IAAI,IAAI,EAAY;KAC/C;IAED,KAAK;QACJ,IAAI,CAAC,EAAE,CAAC,YAAY,CAAC,GAAG,IAAI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