@lucca-front/ng 10.2.0 → 10.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"lucca-front-ng-modal.mjs","sources":["../../../packages/ng/modal/src/lib/modal-config.default.ts","../../../packages/ng/modal/src/lib/modal.token.ts","../../../packages/ng/modal/src/lib/modal.intl.ts","../../../packages/ng/modal/src/lib/modal-ref.model.ts","../../../packages/ng/modal/src/lib/modal-panel.component.ts","../../../packages/ng/modal/src/lib/modal-panel.component.html","../../../packages/ng/modal/src/lib/modal-ref.factory.ts","../../../packages/ng/modal/src/lib/modal.service.ts","../../../packages/ng/modal/src/lib/modal.translate.ts","../../../packages/ng/modal/src/lib/modal.module.ts","../../../packages/ng/modal/src/public-api.ts","../../../packages/ng/modal/src/lucca-front-ng-modal.ts"],"sourcesContent":["import { ILuModalConfig } from './modal-config.model';\r\nimport { ChangeDetectionStrategy } from '@angular/core';\r\n\r\nexport const luDefaultModalConfig: ILuModalConfig = {\r\n\tposition: 'center',\r\n\tnoBackdrop: false,\r\n\tundismissable: false,\r\n\tbackdropClass: ['cdk-overlay-dark-backdrop', 'lu-popup-backdrop'],\r\n\tpanelClass: 'lu-popup-panel',\r\n\tsize: 'standard',\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n};\r\n","import { InjectionToken } from '@angular/core';\r\nimport { ILuTranslation } from '@lucca-front/ng/core';\r\nimport { ILuPopupRefFactory } from '@lucca-front/ng/popup';\r\nimport { ILuModalConfig, ILuModalLabel } from '.';\r\n\r\n/** Injection token that can be used to access the data that was passed in to a dialog. */\r\nexport const LU_MODAL_DATA = new InjectionToken<unknown>('LuModalData');\r\nexport const LU_MODAL_CONFIG = new InjectionToken<ILuModalConfig>('LuModalDefaultConfig');\r\nexport const LU_MODAL_REF_FACTORY = new InjectionToken<ILuPopupRefFactory>('LuModalRefFactory');\r\nexport const LU_MODAL_TRANSLATIONS = new InjectionToken<ILuTranslation<ILuModalLabel>>('LuModalTranslations');\r\n","import { Inject, Injectable, LOCALE_ID } from '@angular/core';\r\nimport { ALuIntl, ILuTranslation } from '@lucca-front/ng/core';\r\nimport { LU_MODAL_TRANSLATIONS } from './modal.token';\r\nimport { ILuModalLabel } from './modal.translate';\r\n\r\n@Injectable()\r\nexport class LuModalIntl extends ALuIntl<ILuModalLabel> {\r\n\tconstructor(@Inject(LU_MODAL_TRANSLATIONS) translations: ILuTranslation<ILuModalLabel>, @Inject(LOCALE_ID) locale: string) {\r\n\t\tsuper(translations, locale);\r\n\t}\r\n}\r\n","import { ALuPopupRef, ILuPopupRef } from '@lucca-front/ng/popup';\r\nimport { ILuModalContent } from './modal.model';\r\n\r\nexport type ILuModalRef<T extends ILuModalContent = ILuModalContent, D = unknown, R = unknown> = ILuPopupRef<T, D, R>;\r\nexport abstract class ALuModalRef<T extends ILuModalContent = ILuModalContent, D = unknown, R = unknown> extends ALuPopupRef<T, D, R> implements ILuModalRef<T, D, R> {}\r\n","import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Directive, DoCheck, HostBinding, Inject, Injector, OnDestroy, Type, ViewChild, ViewContainerRef } from '@angular/core';\r\nimport { Observable, of, ReplaySubject, Subject, Subscription, timer } from 'rxjs';\r\nimport { delay, distinctUntilChanged, map, switchMap, tap } from 'rxjs/operators';\r\nimport { ALuModalRef } from './modal-ref.model';\r\nimport { LuModalIntl } from './modal.intl';\r\nimport { ILuModalContent } from './modal.model';\r\nimport { LU_MODAL_TRANSLATIONS } from './modal.token';\r\nimport { ILuModalLabel } from './modal.translate';\r\n\r\n@Directive()\r\nexport abstract class ALuModalPanelComponent<T extends ILuModalContent> implements OnDestroy, DoCheck {\r\n\t@ViewChild('container', { read: ViewContainerRef, static: true })\r\n\tprotected _containerRef: ViewContainerRef;\r\n\tprotected _componentInstance: ILuModalContent;\r\n\tprotected doCheck$ = new ReplaySubject<void>(1);\r\n\r\n\tprotected title$ = this.listenComponentValue(() => this._componentInstance.title);\r\n\tprotected submitLabel$ = this.listenComponentValue(() => this._componentInstance.submitLabel || this.intl.submit);\r\n\tprotected cancelLabel$ = this.listenComponentValue(() => this._componentInstance.cancelLabel || this.intl.cancel);\r\n\r\n\tprotected closeLabel = this.intl.close;\r\n\r\n\tget isSubmitDisabled() {\r\n\t\treturn this._componentInstance.submitDisabled;\r\n\t}\r\n\tget isSubmitHidden() {\r\n\t\treturn !this._componentInstance.submitAction;\r\n\t}\r\n\tget submitPalette() {\r\n\t\treturn this._componentInstance.submitPalette || 'primary';\r\n\t}\r\n\tget hasSubmitCounter() {\r\n\t\treturn !!this._componentInstance.submitCounter;\r\n\t}\r\n\tget submitCounter() {\r\n\t\treturn this._componentInstance.submitCounter || 0;\r\n\t}\r\n\r\n\tsubmitClass$ = new Subject();\r\n\terror$ = new Subject();\r\n\r\n\tprivate _subs = new Subscription();\r\n\r\n\tconstructor(protected _ref: ALuModalRef<T>, protected _cdr: ChangeDetectorRef, @Inject(LU_MODAL_TRANSLATIONS) public intl: ILuModalLabel) {}\r\n\tngDoCheck(): void {\r\n\t\tthis.doCheck$.next();\r\n\t}\r\n\tattachInnerComponent(componentType: Type<T>, injector: Injector) {\r\n\t\tconst ref = this._containerRef.createComponent(componentType, { injector });\r\n\t\tthis._componentInstance = ref.instance;\r\n\t\treturn ref;\r\n\t}\r\n\tngOnDestroy() {\r\n\t\tthis.doCheck$.complete();\r\n\t\tthis._subs.unsubscribe();\r\n\t}\r\n\tdismiss() {\r\n\t\tthis._ref.dismiss();\r\n\t}\r\n\tsubmit() {\r\n\t\tthis.error$.next(undefined);\r\n\t\tthis.submitClass$.next('is-loading');\r\n\t\tconst result$ = this._componentInstance.submitAction();\r\n\t\tif (result$ instanceof Observable) {\r\n\t\t\tthis._subs.add(\r\n\t\t\t\tresult$\r\n\t\t\t\t\t.pipe(\r\n\t\t\t\t\t\ttap((_) => this.submitClass$.next('is-success')),\r\n\t\t\t\t\t\ttap(() => this._cdr.markForCheck()),\r\n\t\t\t\t\t\tdelay(500),\r\n\t\t\t\t\t)\r\n\t\t\t\t\t.subscribe({\r\n\t\t\t\t\t\tnext: (result) => this._ref.close(result),\r\n\t\t\t\t\t\terror: (err) => {\r\n\t\t\t\t\t\t\tthis.submitClass$.next('is-error');\r\n\t\t\t\t\t\t\tthis.error$.next(err);\r\n\t\t\t\t\t\t\tthis._cdr.markForCheck();\r\n\t\t\t\t\t\t\ttimer(2000).subscribe((_) => {\r\n\t\t\t\t\t\t\t\tthis.submitClass$.next('');\r\n\t\t\t\t\t\t\t\tthis._cdr.markForCheck();\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\tcomplete: () => {\r\n\t\t\t\t\t\t\tthis.submitClass$.next('');\r\n\t\t\t\t\t\t\tthis._cdr.markForCheck();\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t}),\r\n\t\t\t);\r\n\t\t} else {\r\n\t\t\tconst result = result$;\r\n\t\t\tthis._ref.close(result);\r\n\t\t}\r\n\t}\r\n\r\n\tprivate listenComponentValue(selector: () => string | Observable<string>): Observable<string> {\r\n\t\treturn this.doCheck$.pipe(\r\n\t\t\tmap(selector),\r\n\t\t\tdistinctUntilChanged(),\r\n\t\t\tswitchMap((value) => (typeof value === 'string' ? of(value) : value)),\r\n\t\t);\r\n\t}\r\n}\r\n\r\n@Component({\r\n\tselector: 'lu-modal-panel',\r\n\ttemplateUrl: './modal-panel.component.html',\r\n\tstyleUrls: ['./modal-panel.component.scss'],\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class LuModalPanelComponent<T extends ILuModalContent = ILuModalContent> extends ALuModalPanelComponent<T> {\r\n\t@HostBinding('class.lu-modal-panel') class = true;\r\n\tconstructor(_ref: ALuModalRef<T>, _cdr: ChangeDetectorRef, @Inject(LuModalIntl) intl: ILuModalLabel) {\r\n\t\tsuper(_ref, _cdr, intl);\r\n\t}\r\n}\r\n@Component({\r\n\tselector: 'lu-modal-panel-default',\r\n\ttemplateUrl: './modal-panel.component.html',\r\n\tstyleUrls: ['./modal-panel.component.scss'],\r\n\tchangeDetection: ChangeDetectionStrategy.Default,\r\n})\r\n// eslint-disable-next-line @angular-eslint/component-class-suffix\r\nexport class LuModalPanelComponentDefaultCD<T extends ILuModalContent = ILuModalContent> extends ALuModalPanelComponent<T> {\r\n\t@HostBinding('class.lu-modal-panel') class = true;\r\n\tconstructor(_ref: ALuModalRef<T>, _cdr: ChangeDetectorRef, @Inject(LuModalIntl) intl: ILuModalLabel) {\r\n\t\tsuper(_ref, _cdr, intl);\r\n\t}\r\n}\r\n","<div class=\"lu-modal-panel-inner\" cdkTrapFocus=\"true\" cdkTrapFocusAutoCapture=\"true\" role=\"dialog\" aria-modal=\"true\">\r\n\t<div class=\"lu-modal-header\" tabindex=\"-1\" cdkFocusInitial>\r\n\t\t<h3 class=\"lu-modal-header-title\">{{ title$ | async }}</h3>\r\n\t\t<button type=\"button\" class=\"lu-modal-header-close\" (click)=\"dismiss()\" [luTooltip]=\"closeLabel\">\r\n\t\t\t<span aria-hidden=\"true\" class=\"lucca-icon icon-cross\"></span>\r\n\t\t\t<span class=\"u-mask\">{{ closeLabel }}</span>\r\n\t\t</button>\r\n\t</div>\r\n\t<div class=\"lu-modal-content\">\r\n\t\t<ng-container #container></ng-container>\r\n\t</div>\r\n\t<div class=\"lu-modal-footer\">\r\n\t\t<button\r\n\t\t\ttype=\"button\"\r\n\t\t\t*ngIf=\"!isSubmitHidden\"\r\n\t\t\tclass=\"button palette-{{ submitPalette }}\"\r\n\t\t\t[disabled]=\"isSubmitDisabled\"\r\n\t\t\t[class.mod-counter]=\"hasSubmitCounter\"\r\n\t\t\t[ngClass]=\"submitClass$ | async\"\r\n\t\t\t(click)=\"submit()\"\r\n\t\t>\r\n\t\t\t{{ submitLabel$ | async }}\r\n\t\t\t<label class=\"button-counter\" *ngIf=\"hasSubmitCounter\">{{ submitCounter }}</label>\r\n\t\t</button>\r\n\t\t<button type=\"button\" class=\"button mod-text\" (click)=\"dismiss()\">{{ cancelLabel$ | async }}</button>\r\n\t</div>\r\n</div>\r\n","import { ComponentType, Overlay } from '@angular/cdk/overlay';\r\nimport { ComponentPortal } from '@angular/cdk/portal';\r\nimport { ChangeDetectionStrategy, ComponentRef, Injectable, Injector } from '@angular/core';\r\nimport { ALuPopupRef, ILuPopupRefFactory } from '@lucca-front/ng/popup';\r\nimport { ILuModalConfig } from './modal-config.model';\r\nimport { ALuModalPanelComponent, LuModalPanelComponent, LuModalPanelComponentDefaultCD } from './modal-panel.component';\r\nimport { ALuModalRef, ILuModalRef } from './modal-ref.model';\r\nimport { ILuModalContent } from './modal.model';\r\nimport { LU_MODAL_DATA } from './modal.token';\r\n\r\nclass LuModalRef<T extends ILuModalContent = ILuModalContent, D = unknown, R = unknown> extends ALuPopupRef<T, D, R> implements ILuModalRef<T, D, R> {\r\n\tprotected _containerRef: ComponentRef<ALuModalPanelComponent<T>>;\r\n\tconstructor(protected override _overlay: Overlay, protected override _injector: Injector, protected override _component: ComponentType<T>, protected override _config: ILuModalConfig) {\r\n\t\tsuper(_overlay, _injector, _component, _config);\r\n\t}\r\n\tprotected override _openPopup(data?: D) {\r\n\t\tconst injector = Injector.create({\r\n\t\t\tproviders: [\r\n\t\t\t\t{ provide: ALuModalRef, useValue: this },\r\n\t\t\t\t{ provide: LU_MODAL_DATA, useValue: data },\r\n\t\t\t],\r\n\t\t\tparent: this._injector,\r\n\t\t});\r\n\t\tif (this._config.changeDetection === ChangeDetectionStrategy.OnPush) {\r\n\t\t\tconst containerPortal = new ComponentPortal<ALuModalPanelComponent<T>>(LuModalPanelComponent, undefined, injector);\r\n\t\t\tthis._containerRef = this._overlayRef.attach<ALuModalPanelComponent<T>>(containerPortal);\r\n\t\t} else {\r\n\t\t\tconst containerPortal = new ComponentPortal<ALuModalPanelComponent<T>>(LuModalPanelComponentDefaultCD, undefined, injector);\r\n\t\t\tthis._containerRef = this._overlayRef.attach<ALuModalPanelComponent<T>>(containerPortal);\r\n\t\t}\r\n\t\tconst panel = this._containerRef.instance;\r\n\t\tthis._componentRef = panel.attachInnerComponent(this._component, injector);\r\n\t}\r\n\tprotected override _closePopup() {\r\n\t\tthis._componentRef.destroy();\r\n\t\tthis._containerRef.destroy();\r\n\t}\r\n}\r\n\r\n@Injectable()\r\nexport class LuModalRefFactory implements ILuPopupRefFactory<ILuModalContent, ILuModalConfig> {\r\n\tconstructor(protected _overlay: Overlay, protected _injector: Injector) {}\r\n\tforge<T extends ILuModalContent, C extends ILuModalConfig, D, R>(component: ComponentType<T>, config: C) {\r\n\t\treturn new LuModalRef<T, D, R>(this._overlay, this._injector, component, config);\r\n\t}\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { LuPopup, ILuPopupRefFactory } from '@lucca-front/ng/popup';\r\nimport { ILuModalConfig } from './modal-config.model';\r\nimport { LU_MODAL_CONFIG, LU_MODAL_REF_FACTORY } from './modal.token';\r\n\r\n@Injectable()\r\nexport class LuModal<C extends ILuModalConfig = ILuModalConfig> extends LuPopup<C> {\r\n\tconstructor(\r\n\t\t@Inject(LU_MODAL_REF_FACTORY)\r\n\t\tprotected override _factory: ILuPopupRefFactory,\r\n\t\t@Inject(LU_MODAL_CONFIG) protected override _config: ILuModalConfig,\r\n\t) {\r\n\t\tsuper(_factory, _config);\r\n\t}\r\n}\r\n","import { ILuTranslation } from '@lucca-front/ng/core';\r\n\r\nexport interface ILuModalLabel {\r\n\tsubmit: string;\r\n\tcancel: string;\r\n\tclose: string;\r\n}\r\nexport abstract class ALuModalLabel {\r\n\tsubmit: string;\r\n\tcancel: string;\r\n\tclose: string;\r\n}\r\n\r\nexport const luModalTranslations: ILuTranslation<ILuModalLabel> = {\r\n\ten: {\r\n\t\tsubmit: 'Ok',\r\n\t\tcancel: 'Cancel',\r\n\t\tclose: 'Close',\r\n\t},\r\n\tfr: {\r\n\t\tsubmit: 'Ok',\r\n\t\tcancel: 'Annuler',\r\n\t\tclose: 'Fermer',\r\n\t},\r\n\tes: {\r\n\t\tsubmit: 'Ok',\r\n\t\tcancel: 'Cancelar',\r\n\t\tclose: 'Cerrar',\r\n\t},\r\n};\r\n","import { A11yModule } from '@angular/cdk/a11y';\r\nimport { OverlayModule } from '@angular/cdk/overlay';\r\nimport { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { LuTooltipModule } from '@lucca-front/ng/tooltip';\r\nimport { luDefaultModalConfig } from './modal-config.default';\r\nimport { LuModalPanelComponent, LuModalPanelComponentDefaultCD } from './modal-panel.component';\r\nimport { LuModalRefFactory } from './modal-ref.factory';\r\nimport { LuModalIntl } from './modal.intl';\r\nimport { LuModal } from './modal.service';\r\nimport { LU_MODAL_CONFIG, LU_MODAL_REF_FACTORY, LU_MODAL_TRANSLATIONS } from './modal.token';\r\nimport { luModalTranslations } from './modal.translate';\r\n\r\n@NgModule({\r\n\timports: [OverlayModule, CommonModule, A11yModule, LuTooltipModule],\r\n\tdeclarations: [LuModalPanelComponent, LuModalPanelComponentDefaultCD],\r\n\texports: [LuModalPanelComponent, LuModalPanelComponentDefaultCD],\r\n\tproviders: [\r\n\t\tLuModal,\r\n\t\tLuModalIntl,\r\n\t\t{ provide: LU_MODAL_CONFIG, useValue: luDefaultModalConfig },\r\n\t\t{ provide: LU_MODAL_REF_FACTORY, useClass: LuModalRefFactory },\r\n\t\t{ provide: LU_MODAL_TRANSLATIONS, useValue: luModalTranslations },\r\n\t],\r\n})\r\nexport class LuModalModule {}\r\n","/*\r\n * Public API Surface of safe-content\r\n */\r\n\r\nexport * from './lib/index';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAGa,MAAA,oBAAoB,GAAmB;AACnD,IAAA,QAAQ,EAAE,QAAQ;AAClB,IAAA,UAAU,EAAE,KAAK;AACjB,IAAA,aAAa,EAAE,KAAK;AACpB,IAAA,aAAa,EAAE,CAAC,2BAA2B,EAAE,mBAAmB,CAAC;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ACD,iBAAA,CAAA;;;ACxBD;;AAEG;;ACFH;;AAEG;;;;"}
1
+ {"version":3,"file":"lucca-front-ng-modal.mjs","sources":["../../../packages/ng/modal/src/lib/modal-config.default.ts","../../../packages/ng/modal/src/lib/modal.token.ts","../../../packages/ng/modal/src/lib/modal.intl.ts","../../../packages/ng/modal/src/lib/modal-ref.model.ts","../../../packages/ng/modal/src/lib/modal-panel.component.ts","../../../packages/ng/modal/src/lib/modal-panel.component.html","../../../packages/ng/modal/src/lib/modal-ref.factory.ts","../../../packages/ng/modal/src/lib/modal.service.ts","../../../packages/ng/modal/src/lib/modal.translate.ts","../../../packages/ng/modal/src/lib/modal.module.ts","../../../packages/ng/modal/src/public-api.ts","../../../packages/ng/modal/src/lucca-front-ng-modal.ts"],"sourcesContent":["import { ILuModalConfig } from './modal-config.model';\r\nimport { ChangeDetectionStrategy } from '@angular/core';\r\n\r\nexport const luDefaultModalConfig: ILuModalConfig = {\r\n\tposition: 'center',\r\n\tnoBackdrop: false,\r\n\tundismissable: false,\r\n\tbackdropClass: ['cdk-overlay-dark-backdrop', 'lu-popup-backdrop'],\r\n\tpanelClass: 'lu-popup-panel',\r\n\tsize: 'standard',\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n};\r\n","import { InjectionToken } from '@angular/core';\r\nimport { ILuTranslation } from '@lucca-front/ng/core';\r\nimport { ILuPopupRefFactory } from '@lucca-front/ng/popup';\r\nimport { ILuModalConfig, ILuModalLabel } from '.';\r\n\r\n/** Injection token that can be used to access the data that was passed in to a dialog. */\r\nexport const LU_MODAL_DATA = new InjectionToken<unknown>('LuModalData');\r\nexport const LU_MODAL_CONFIG = new InjectionToken<ILuModalConfig>('LuModalDefaultConfig');\r\nexport const LU_MODAL_REF_FACTORY = new InjectionToken<ILuPopupRefFactory>('LuModalRefFactory');\r\nexport const LU_MODAL_TRANSLATIONS = new InjectionToken<ILuTranslation<ILuModalLabel>>('LuModalTranslations');\r\n","import { Inject, Injectable, LOCALE_ID } from '@angular/core';\r\nimport { ALuIntl, ILuTranslation } from '@lucca-front/ng/core';\r\nimport { LU_MODAL_TRANSLATIONS } from './modal.token';\r\nimport { ILuModalLabel } from './modal.translate';\r\n\r\n@Injectable()\r\nexport class LuModalIntl extends ALuIntl<ILuModalLabel> {\r\n\tconstructor(@Inject(LU_MODAL_TRANSLATIONS) translations: ILuTranslation<ILuModalLabel>, @Inject(LOCALE_ID) locale: string) {\r\n\t\tsuper(translations, locale);\r\n\t}\r\n}\r\n","import { ALuPopupRef, ILuPopupRef } from '@lucca-front/ng/popup';\r\nimport { ILuModalContent } from './modal.model';\r\n\r\nexport type ILuModalRef<T extends ILuModalContent = ILuModalContent, D = unknown, R = unknown> = ILuPopupRef<T, D, R>;\r\nexport abstract class ALuModalRef<T extends ILuModalContent = ILuModalContent, D = unknown, R = unknown> extends ALuPopupRef<T, D, R> implements ILuModalRef<T, D, R> {}\r\n","import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Directive, DoCheck, HostBinding, Inject, Injector, OnDestroy, Type, ViewChild, ViewContainerRef } from '@angular/core';\r\nimport { isObservable, Observable, of, ReplaySubject, Subject, Subscription, timer } from 'rxjs';\r\nimport { delay, distinctUntilChanged, map, switchMap, tap } from 'rxjs/operators';\r\nimport { ALuModalRef } from './modal-ref.model';\r\nimport { LuModalIntl } from './modal.intl';\r\nimport { ILuModalContent } from './modal.model';\r\nimport { LU_MODAL_TRANSLATIONS } from './modal.token';\r\nimport { ILuModalLabel } from './modal.translate';\r\n\r\n@Directive()\r\nexport abstract class ALuModalPanelComponent<T extends ILuModalContent> implements OnDestroy, DoCheck {\r\n\t@ViewChild('container', { read: ViewContainerRef, static: true })\r\n\tprotected _containerRef: ViewContainerRef;\r\n\tprotected _componentInstance: ILuModalContent;\r\n\tprotected doCheck$ = new ReplaySubject<void>(1);\r\n\r\n\tprotected title$ = this.listenComponentValue(() => this._componentInstance.title);\r\n\tprotected submitLabel$ = this.listenComponentValue(() => this._componentInstance.submitLabel || this.intl.submit);\r\n\tprotected cancelLabel$ = this.listenComponentValue(() => this._componentInstance.cancelLabel || this.intl.cancel);\r\n\tprotected submitCounter$ = this.listenComponentValue(() => this._componentInstance.submitCounter);\r\n\tprotected submitDisabled$ = this.listenComponentValue(() => this._componentInstance.submitDisabled);\r\n\tprotected hasSubmitCounter$ = this.submitCounter$.pipe(map(Boolean));\r\n\r\n\tprotected closeLabel = this.intl.close;\r\n\r\n\tget isSubmitHidden() {\r\n\t\treturn !this._componentInstance.submitAction;\r\n\t}\r\n\tget submitPalette() {\r\n\t\treturn this._componentInstance.submitPalette || 'primary';\r\n\t}\r\n\r\n\tsubmitClass$ = new Subject();\r\n\terror$ = new Subject();\r\n\r\n\tprivate _subs = new Subscription();\r\n\r\n\tconstructor(protected _ref: ALuModalRef<T>, protected _cdr: ChangeDetectorRef, @Inject(LU_MODAL_TRANSLATIONS) public intl: ILuModalLabel) {}\r\n\tngDoCheck(): void {\r\n\t\tthis.doCheck$.next();\r\n\t}\r\n\tattachInnerComponent(componentType: Type<T>, injector: Injector) {\r\n\t\tconst ref = this._containerRef.createComponent(componentType, { injector });\r\n\t\tthis._componentInstance = ref.instance;\r\n\t\treturn ref;\r\n\t}\r\n\tngOnDestroy() {\r\n\t\tthis.doCheck$.complete();\r\n\t\tthis._subs.unsubscribe();\r\n\t}\r\n\tdismiss() {\r\n\t\tthis._ref.dismiss();\r\n\t}\r\n\tsubmit() {\r\n\t\tthis.error$.next(undefined);\r\n\t\tthis.submitClass$.next('is-loading');\r\n\t\tconst result$ = this._componentInstance.submitAction();\r\n\t\tif (result$ instanceof Observable) {\r\n\t\t\tthis._subs.add(\r\n\t\t\t\tresult$\r\n\t\t\t\t\t.pipe(\r\n\t\t\t\t\t\ttap((_) => this.submitClass$.next('is-success')),\r\n\t\t\t\t\t\ttap(() => this._cdr.markForCheck()),\r\n\t\t\t\t\t\tdelay(500),\r\n\t\t\t\t\t)\r\n\t\t\t\t\t.subscribe({\r\n\t\t\t\t\t\tnext: (result) => this._ref.close(result),\r\n\t\t\t\t\t\terror: (err) => {\r\n\t\t\t\t\t\t\tthis.submitClass$.next('is-error');\r\n\t\t\t\t\t\t\tthis.error$.next(err);\r\n\t\t\t\t\t\t\tthis._cdr.markForCheck();\r\n\t\t\t\t\t\t\ttimer(2000).subscribe((_) => {\r\n\t\t\t\t\t\t\t\tthis.submitClass$.next('');\r\n\t\t\t\t\t\t\t\tthis._cdr.markForCheck();\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\tcomplete: () => {\r\n\t\t\t\t\t\t\tthis.submitClass$.next('');\r\n\t\t\t\t\t\t\tthis._cdr.markForCheck();\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t}),\r\n\t\t\t);\r\n\t\t} else {\r\n\t\t\tconst result = result$;\r\n\t\t\tthis._ref.close(result);\r\n\t\t}\r\n\t}\r\n\r\n\tprivate listenComponentValue<TValue>(selector: () => TValue | Observable<TValue>): Observable<TValue> {\r\n\t\treturn this.doCheck$.pipe(\r\n\t\t\tmap(selector),\r\n\t\t\tdistinctUntilChanged(),\r\n\t\t\tswitchMap((value) => (isObservable(value) ? value : of(value))),\r\n\t\t);\r\n\t}\r\n}\r\n\r\n@Component({\r\n\tselector: 'lu-modal-panel',\r\n\ttemplateUrl: './modal-panel.component.html',\r\n\tstyleUrls: ['./modal-panel.component.scss'],\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class LuModalPanelComponent<T extends ILuModalContent = ILuModalContent> extends ALuModalPanelComponent<T> {\r\n\t@HostBinding('class.lu-modal-panel') class = true;\r\n\tconstructor(_ref: ALuModalRef<T>, _cdr: ChangeDetectorRef, @Inject(LuModalIntl) intl: ILuModalLabel) {\r\n\t\tsuper(_ref, _cdr, intl);\r\n\t}\r\n}\r\n@Component({\r\n\tselector: 'lu-modal-panel-default',\r\n\ttemplateUrl: './modal-panel.component.html',\r\n\tstyleUrls: ['./modal-panel.component.scss'],\r\n\tchangeDetection: ChangeDetectionStrategy.Default,\r\n})\r\n// eslint-disable-next-line @angular-eslint/component-class-suffix\r\nexport class LuModalPanelComponentDefaultCD<T extends ILuModalContent = ILuModalContent> extends ALuModalPanelComponent<T> {\r\n\t@HostBinding('class.lu-modal-panel') class = true;\r\n\tconstructor(_ref: ALuModalRef<T>, _cdr: ChangeDetectorRef, @Inject(LuModalIntl) intl: ILuModalLabel) {\r\n\t\tsuper(_ref, _cdr, intl);\r\n\t}\r\n}\r\n","<div class=\"lu-modal-panel-inner\" cdkTrapFocus=\"true\" cdkTrapFocusAutoCapture=\"true\" role=\"dialog\" aria-modal=\"true\">\r\n\t<div class=\"lu-modal-header\" tabindex=\"-1\" cdkFocusInitial>\r\n\t\t<h3 class=\"lu-modal-header-title\">{{ title$ | async }}</h3>\r\n\t\t<button type=\"button\" class=\"lu-modal-header-close\" (click)=\"dismiss()\" [luTooltip]=\"closeLabel\">\r\n\t\t\t<span aria-hidden=\"true\" class=\"lucca-icon icon-cross\"></span>\r\n\t\t\t<span class=\"u-mask\">{{ closeLabel }}</span>\r\n\t\t</button>\r\n\t</div>\r\n\t<div class=\"lu-modal-content\">\r\n\t\t<ng-container #container></ng-container>\r\n\t</div>\r\n\t<div class=\"lu-modal-footer\">\r\n\t\t<button\r\n\t\t\ttype=\"button\"\r\n\t\t\t*ngIf=\"!isSubmitHidden\"\r\n\t\t\tclass=\"button palette-{{ submitPalette }}\"\r\n\t\t\t[disabled]=\"submitDisabled$ | async\"\r\n\t\t\t[class.mod-counter]=\"hasSubmitCounter$ | async\"\r\n\t\t\t[ngClass]=\"submitClass$ | async\"\r\n\t\t\t(click)=\"submit()\"\r\n\t\t>\r\n\t\t\t{{ submitLabel$ | async }}\r\n\t\t\t<label class=\"button-counter\" *ngIf=\"hasSubmitCounter$ | async\">{{ submitCounter$ | async }}</label>\r\n\t\t</button>\r\n\t\t<button type=\"button\" class=\"button mod-text\" (click)=\"dismiss()\">{{ cancelLabel$ | async }}</button>\r\n\t</div>\r\n</div>\r\n","import { ComponentType, Overlay } from '@angular/cdk/overlay';\r\nimport { ComponentPortal } from '@angular/cdk/portal';\r\nimport { ChangeDetectionStrategy, ComponentRef, Injectable, Injector } from '@angular/core';\r\nimport { ALuPopupRef, ILuPopupRefFactory } from '@lucca-front/ng/popup';\r\nimport { ILuModalConfig } from './modal-config.model';\r\nimport { ALuModalPanelComponent, LuModalPanelComponent, LuModalPanelComponentDefaultCD } from './modal-panel.component';\r\nimport { ALuModalRef, ILuModalRef } from './modal-ref.model';\r\nimport { ILuModalContent } from './modal.model';\r\nimport { LU_MODAL_DATA } from './modal.token';\r\n\r\nclass LuModalRef<T extends ILuModalContent = ILuModalContent, D = unknown, R = unknown> extends ALuPopupRef<T, D, R> implements ILuModalRef<T, D, R> {\r\n\tprotected _containerRef: ComponentRef<ALuModalPanelComponent<T>>;\r\n\tconstructor(protected override _overlay: Overlay, protected override _injector: Injector, protected override _component: ComponentType<T>, protected override _config: ILuModalConfig) {\r\n\t\tsuper(_overlay, _injector, _component, _config);\r\n\t}\r\n\tprotected override _openPopup(data?: D) {\r\n\t\tconst injector = Injector.create({\r\n\t\t\tproviders: [\r\n\t\t\t\t{ provide: ALuModalRef, useValue: this },\r\n\t\t\t\t{ provide: LU_MODAL_DATA, useValue: data },\r\n\t\t\t],\r\n\t\t\tparent: this._injector,\r\n\t\t});\r\n\t\tif (this._config.changeDetection === ChangeDetectionStrategy.OnPush) {\r\n\t\t\tconst containerPortal = new ComponentPortal<ALuModalPanelComponent<T>>(LuModalPanelComponent, undefined, injector);\r\n\t\t\tthis._containerRef = this._overlayRef.attach<ALuModalPanelComponent<T>>(containerPortal);\r\n\t\t} else {\r\n\t\t\tconst containerPortal = new ComponentPortal<ALuModalPanelComponent<T>>(LuModalPanelComponentDefaultCD, undefined, injector);\r\n\t\t\tthis._containerRef = this._overlayRef.attach<ALuModalPanelComponent<T>>(containerPortal);\r\n\t\t}\r\n\t\tconst panel = this._containerRef.instance;\r\n\t\tthis._componentRef = panel.attachInnerComponent(this._component, injector);\r\n\t}\r\n\tprotected override _closePopup() {\r\n\t\tthis._componentRef.destroy();\r\n\t\tthis._containerRef.destroy();\r\n\t}\r\n}\r\n\r\n@Injectable()\r\nexport class LuModalRefFactory implements ILuPopupRefFactory<ILuModalContent, ILuModalConfig> {\r\n\tconstructor(protected _overlay: Overlay, protected _injector: Injector) {}\r\n\tforge<T extends ILuModalContent, C extends ILuModalConfig, D, R>(component: ComponentType<T>, config: C) {\r\n\t\treturn new LuModalRef<T, D, R>(this._overlay, this._injector, component, config);\r\n\t}\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { LuPopup, ILuPopupRefFactory } from '@lucca-front/ng/popup';\r\nimport { ILuModalConfig } from './modal-config.model';\r\nimport { LU_MODAL_CONFIG, LU_MODAL_REF_FACTORY } from './modal.token';\r\n\r\n@Injectable()\r\nexport class LuModal<C extends ILuModalConfig = ILuModalConfig> extends LuPopup<C> {\r\n\tconstructor(\r\n\t\t@Inject(LU_MODAL_REF_FACTORY)\r\n\t\tprotected override _factory: ILuPopupRefFactory,\r\n\t\t@Inject(LU_MODAL_CONFIG) protected override _config: ILuModalConfig,\r\n\t) {\r\n\t\tsuper(_factory, _config);\r\n\t}\r\n}\r\n","import { ILuTranslation } from '@lucca-front/ng/core';\r\n\r\nexport interface ILuModalLabel {\r\n\tsubmit: string;\r\n\tcancel: string;\r\n\tclose: string;\r\n}\r\nexport abstract class ALuModalLabel {\r\n\tsubmit: string;\r\n\tcancel: string;\r\n\tclose: string;\r\n}\r\n\r\nexport const luModalTranslations: ILuTranslation<ILuModalLabel> = {\r\n\ten: {\r\n\t\tsubmit: 'Ok',\r\n\t\tcancel: 'Cancel',\r\n\t\tclose: 'Close',\r\n\t},\r\n\tfr: {\r\n\t\tsubmit: 'Ok',\r\n\t\tcancel: 'Annuler',\r\n\t\tclose: 'Fermer',\r\n\t},\r\n\tes: {\r\n\t\tsubmit: 'Ok',\r\n\t\tcancel: 'Cancelar',\r\n\t\tclose: 'Cerrar',\r\n\t},\r\n};\r\n","import { A11yModule } from '@angular/cdk/a11y';\r\nimport { OverlayModule } from '@angular/cdk/overlay';\r\nimport { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { LuTooltipModule } from '@lucca-front/ng/tooltip';\r\nimport { luDefaultModalConfig } from './modal-config.default';\r\nimport { LuModalPanelComponent, LuModalPanelComponentDefaultCD } from './modal-panel.component';\r\nimport { LuModalRefFactory } from './modal-ref.factory';\r\nimport { LuModalIntl } from './modal.intl';\r\nimport { LuModal } from './modal.service';\r\nimport { LU_MODAL_CONFIG, LU_MODAL_REF_FACTORY, LU_MODAL_TRANSLATIONS } from './modal.token';\r\nimport { luModalTranslations } from './modal.translate';\r\n\r\n@NgModule({\r\n\timports: [OverlayModule, CommonModule, A11yModule, LuTooltipModule],\r\n\tdeclarations: [LuModalPanelComponent, LuModalPanelComponentDefaultCD],\r\n\texports: [LuModalPanelComponent, LuModalPanelComponentDefaultCD],\r\n\tproviders: [\r\n\t\tLuModal,\r\n\t\tLuModalIntl,\r\n\t\t{ provide: LU_MODAL_CONFIG, useValue: luDefaultModalConfig },\r\n\t\t{ provide: LU_MODAL_REF_FACTORY, useClass: LuModalRefFactory },\r\n\t\t{ provide: LU_MODAL_TRANSLATIONS, useValue: luModalTranslations },\r\n\t],\r\n})\r\nexport class LuModalModule {}\r\n","/*\r\n * Public API Surface of safe-content\r\n */\r\n\r\nexport * from './lib/index';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAGa,MAAA,oBAAoB,GAAmB;AACnD,IAAA,QAAQ,EAAE,QAAQ;AAClB,IAAA,UAAU,EAAE,KAAK;AACjB,IAAA,aAAa,EAAE,KAAK;AACpB,IAAA,aAAa,EAAE,CAAC,2BAA2B,EAAE,mBAAmB,CAAC;AACjE,IAAA,UAAU,EAAE,gBAAgB;AAC5B,IAAA,IAAI,EAAE,UAAU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EG;;ACFH;;AAEG;;;;"}
@@ -56,10 +56,10 @@ class LuSidepanelPanelComponent extends ALuModalPanelComponent {
56
56
  }
57
57
  }
58
58
  LuSidepanelPanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: LuSidepanelPanelComponent, deps: [{ token: ALuSidepanelRef }, { token: i0.ChangeDetectorRef }, { token: LuSidepanelIntl }], target: i0.ɵɵFactoryTarget.Component });
59
- LuSidepanelPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: LuSidepanelPanelComponent, selector: "lu-sidepanel-panel", host: { properties: { "class.lu-sidepanel-panel": "this.class" } }, usesInheritance: true, ngImport: i0, template: "<div class=\"lu-sidepanel-panel-inner\" cdkTrapFocus=\"true\" cdkTrapFocusAutoCapture=\"true\" role=\"dialog\" aria-modal=\"true\">\r\n\t<div class=\"lu-modal-header\" tabindex=\"-1\" cdkFocusInitial>\r\n\t\t<h3 class=\"lu-modal-header-title\">{{ title$ | async }}</h3>\r\n\t\t<button type=\"button\" class=\"lu-modal-header-close\" (click)=\"dismiss()\" [luTooltip]=\"closeLabel\">\r\n\t\t\t<span aria-hidden=\"true\" class=\"lucca-icon icon-cross\"></span>\r\n\t\t\t<span class=\"u-mask\">{{ closeLabel }}</span>\r\n\t\t</button>\r\n\t</div>\r\n\t<div class=\"lu-modal-content\">\r\n\t\t<ng-container #container></ng-container>\r\n\t</div>\r\n\t<div class=\"lu-modal-footer\">\r\n\t\t<button\r\n\t\t\ttype=\"button\"\r\n\t\t\t*ngIf=\"!isSubmitHidden\"\r\n\t\t\tclass=\"button palette-{{ submitPalette }}\"\r\n\t\t\t[disabled]=\"isSubmitDisabled\"\r\n\t\t\t[class.mod-counter]=\"hasSubmitCounter\"\r\n\t\t\t[ngClass]=\"submitClass$ | async\"\r\n\t\t\t(click)=\"submit()\"\r\n\t\t>\r\n\t\t\t{{ submitLabel$ | async }}\r\n\t\t\t<label class=\"button-counter\" *ngIf=\"hasSubmitCounter\">{{ submitCounter }}</label>\r\n\t\t</button>\r\n\t\t<button type=\"button\" class=\"button mod-text\" (click)=\"dismiss()\">{{ cancelLabel$ | async }}</button>\r\n\t</div>\r\n</div>\r\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { kind: "directive", type: i4.LuTooltipTriggerDirective, selector: "[luTooltip]", inputs: ["luTooltip", "luTooltipEnterDelay", "luTooltipLeaveDelay", "luTooltipDisabled", "luTooltipPosition", "luTooltipWhenEllipsis"], outputs: ["luTooltipOnOpen", "luTooltipOnClose"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
59
+ LuSidepanelPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: LuSidepanelPanelComponent, selector: "lu-sidepanel-panel", host: { properties: { "class.lu-sidepanel-panel": "this.class" } }, usesInheritance: true, ngImport: i0, template: "<div class=\"lu-sidepanel-panel-inner\" cdkTrapFocus=\"true\" cdkTrapFocusAutoCapture=\"true\" role=\"dialog\" aria-modal=\"true\">\r\n\t<div class=\"lu-modal-header\" tabindex=\"-1\" cdkFocusInitial>\r\n\t\t<h3 class=\"lu-modal-header-title\">{{ title$ | async }}</h3>\r\n\t\t<button type=\"button\" class=\"lu-modal-header-close\" (click)=\"dismiss()\" [luTooltip]=\"closeLabel\">\r\n\t\t\t<span aria-hidden=\"true\" class=\"lucca-icon icon-cross\"></span>\r\n\t\t\t<span class=\"u-mask\">{{ closeLabel }}</span>\r\n\t\t</button>\r\n\t</div>\r\n\t<div class=\"lu-modal-content\">\r\n\t\t<ng-container #container></ng-container>\r\n\t</div>\r\n\t<div class=\"lu-modal-footer\">\r\n\t\t<button\r\n\t\t\ttype=\"button\"\r\n\t\t\t*ngIf=\"!isSubmitHidden\"\r\n\t\t\tclass=\"button palette-{{ submitPalette }}\"\r\n\t\t\t[disabled]=\"submitDisabled$ | async\"\r\n\t\t\t[class.mod-counter]=\"hasSubmitCounter$ | async\"\r\n\t\t\t[ngClass]=\"submitClass$ | async\"\r\n\t\t\t(click)=\"submit()\"\r\n\t\t>\r\n\t\t\t{{ submitLabel$ | async }}\r\n\t\t\t<label class=\"button-counter\" *ngIf=\"hasSubmitCounter$ | async\">{{ submitCounter$ | async }}</label>\r\n\t\t</button>\r\n\t\t<button type=\"button\" class=\"button mod-text\" (click)=\"dismiss()\">{{ cancelLabel$ | async }}</button>\r\n\t</div>\r\n</div>\r\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { kind: "directive", type: i4.LuTooltipTriggerDirective, selector: "[luTooltip]", inputs: ["luTooltip", "luTooltipEnterDelay", "luTooltipLeaveDelay", "luTooltipDisabled", "luTooltipPosition", "luTooltipWhenEllipsis"], outputs: ["luTooltipOnOpen", "luTooltipOnClose"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
60
60
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: LuSidepanelPanelComponent, decorators: [{
61
61
  type: Component,
62
- args: [{ selector: 'lu-sidepanel-panel', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"lu-sidepanel-panel-inner\" cdkTrapFocus=\"true\" cdkTrapFocusAutoCapture=\"true\" role=\"dialog\" aria-modal=\"true\">\r\n\t<div class=\"lu-modal-header\" tabindex=\"-1\" cdkFocusInitial>\r\n\t\t<h3 class=\"lu-modal-header-title\">{{ title$ | async }}</h3>\r\n\t\t<button type=\"button\" class=\"lu-modal-header-close\" (click)=\"dismiss()\" [luTooltip]=\"closeLabel\">\r\n\t\t\t<span aria-hidden=\"true\" class=\"lucca-icon icon-cross\"></span>\r\n\t\t\t<span class=\"u-mask\">{{ closeLabel }}</span>\r\n\t\t</button>\r\n\t</div>\r\n\t<div class=\"lu-modal-content\">\r\n\t\t<ng-container #container></ng-container>\r\n\t</div>\r\n\t<div class=\"lu-modal-footer\">\r\n\t\t<button\r\n\t\t\ttype=\"button\"\r\n\t\t\t*ngIf=\"!isSubmitHidden\"\r\n\t\t\tclass=\"button palette-{{ submitPalette }}\"\r\n\t\t\t[disabled]=\"isSubmitDisabled\"\r\n\t\t\t[class.mod-counter]=\"hasSubmitCounter\"\r\n\t\t\t[ngClass]=\"submitClass$ | async\"\r\n\t\t\t(click)=\"submit()\"\r\n\t\t>\r\n\t\t\t{{ submitLabel$ | async }}\r\n\t\t\t<label class=\"button-counter\" *ngIf=\"hasSubmitCounter\">{{ submitCounter }}</label>\r\n\t\t</button>\r\n\t\t<button type=\"button\" class=\"button mod-text\" (click)=\"dismiss()\">{{ cancelLabel$ | async }}</button>\r\n\t</div>\r\n</div>\r\n" }]
62
+ args: [{ selector: 'lu-sidepanel-panel', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"lu-sidepanel-panel-inner\" cdkTrapFocus=\"true\" cdkTrapFocusAutoCapture=\"true\" role=\"dialog\" aria-modal=\"true\">\r\n\t<div class=\"lu-modal-header\" tabindex=\"-1\" cdkFocusInitial>\r\n\t\t<h3 class=\"lu-modal-header-title\">{{ title$ | async }}</h3>\r\n\t\t<button type=\"button\" class=\"lu-modal-header-close\" (click)=\"dismiss()\" [luTooltip]=\"closeLabel\">\r\n\t\t\t<span aria-hidden=\"true\" class=\"lucca-icon icon-cross\"></span>\r\n\t\t\t<span class=\"u-mask\">{{ closeLabel }}</span>\r\n\t\t</button>\r\n\t</div>\r\n\t<div class=\"lu-modal-content\">\r\n\t\t<ng-container #container></ng-container>\r\n\t</div>\r\n\t<div class=\"lu-modal-footer\">\r\n\t\t<button\r\n\t\t\ttype=\"button\"\r\n\t\t\t*ngIf=\"!isSubmitHidden\"\r\n\t\t\tclass=\"button palette-{{ submitPalette }}\"\r\n\t\t\t[disabled]=\"submitDisabled$ | async\"\r\n\t\t\t[class.mod-counter]=\"hasSubmitCounter$ | async\"\r\n\t\t\t[ngClass]=\"submitClass$ | async\"\r\n\t\t\t(click)=\"submit()\"\r\n\t\t>\r\n\t\t\t{{ submitLabel$ | async }}\r\n\t\t\t<label class=\"button-counter\" *ngIf=\"hasSubmitCounter$ | async\">{{ submitCounter$ | async }}</label>\r\n\t\t</button>\r\n\t\t<button type=\"button\" class=\"button mod-text\" (click)=\"dismiss()\">{{ cancelLabel$ | async }}</button>\r\n\t</div>\r\n</div>\r\n" }]
63
63
  }], ctorParameters: function () { return [{ type: ALuSidepanelRef }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
64
64
  type: Inject,
65
65
  args: [LuSidepanelIntl]
@@ -75,10 +75,10 @@ class LuSidepanelPanelComponentDefaultCD extends ALuModalPanelComponent {
75
75
  }
76
76
  }
77
77
  LuSidepanelPanelComponentDefaultCD.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: LuSidepanelPanelComponentDefaultCD, deps: [{ token: ALuSidepanelRef }, { token: i0.ChangeDetectorRef }, { token: LuSidepanelIntl }], target: i0.ɵɵFactoryTarget.Component });
78
- LuSidepanelPanelComponentDefaultCD.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: LuSidepanelPanelComponentDefaultCD, selector: "lu-sidepanel-panel-default", host: { properties: { "class.lu-sidepanel-panel": "this.class" } }, usesInheritance: true, ngImport: i0, template: "<div class=\"lu-sidepanel-panel-inner\" cdkTrapFocus=\"true\" cdkTrapFocusAutoCapture=\"true\" role=\"dialog\" aria-modal=\"true\">\r\n\t<div class=\"lu-modal-header\" tabindex=\"-1\" cdkFocusInitial>\r\n\t\t<h3 class=\"lu-modal-header-title\">{{ title$ | async }}</h3>\r\n\t\t<button type=\"button\" class=\"lu-modal-header-close\" (click)=\"dismiss()\" [luTooltip]=\"closeLabel\">\r\n\t\t\t<span aria-hidden=\"true\" class=\"lucca-icon icon-cross\"></span>\r\n\t\t\t<span class=\"u-mask\">{{ closeLabel }}</span>\r\n\t\t</button>\r\n\t</div>\r\n\t<div class=\"lu-modal-content\">\r\n\t\t<ng-container #container></ng-container>\r\n\t</div>\r\n\t<div class=\"lu-modal-footer\">\r\n\t\t<button\r\n\t\t\ttype=\"button\"\r\n\t\t\t*ngIf=\"!isSubmitHidden\"\r\n\t\t\tclass=\"button palette-{{ submitPalette }}\"\r\n\t\t\t[disabled]=\"isSubmitDisabled\"\r\n\t\t\t[class.mod-counter]=\"hasSubmitCounter\"\r\n\t\t\t[ngClass]=\"submitClass$ | async\"\r\n\t\t\t(click)=\"submit()\"\r\n\t\t>\r\n\t\t\t{{ submitLabel$ | async }}\r\n\t\t\t<label class=\"button-counter\" *ngIf=\"hasSubmitCounter\">{{ submitCounter }}</label>\r\n\t\t</button>\r\n\t\t<button type=\"button\" class=\"button mod-text\" (click)=\"dismiss()\">{{ cancelLabel$ | async }}</button>\r\n\t</div>\r\n</div>\r\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { kind: "directive", type: i4.LuTooltipTriggerDirective, selector: "[luTooltip]", inputs: ["luTooltip", "luTooltipEnterDelay", "luTooltipLeaveDelay", "luTooltipDisabled", "luTooltipPosition", "luTooltipWhenEllipsis"], outputs: ["luTooltipOnOpen", "luTooltipOnClose"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.Default });
78
+ LuSidepanelPanelComponentDefaultCD.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: LuSidepanelPanelComponentDefaultCD, selector: "lu-sidepanel-panel-default", host: { properties: { "class.lu-sidepanel-panel": "this.class" } }, usesInheritance: true, ngImport: i0, template: "<div class=\"lu-sidepanel-panel-inner\" cdkTrapFocus=\"true\" cdkTrapFocusAutoCapture=\"true\" role=\"dialog\" aria-modal=\"true\">\r\n\t<div class=\"lu-modal-header\" tabindex=\"-1\" cdkFocusInitial>\r\n\t\t<h3 class=\"lu-modal-header-title\">{{ title$ | async }}</h3>\r\n\t\t<button type=\"button\" class=\"lu-modal-header-close\" (click)=\"dismiss()\" [luTooltip]=\"closeLabel\">\r\n\t\t\t<span aria-hidden=\"true\" class=\"lucca-icon icon-cross\"></span>\r\n\t\t\t<span class=\"u-mask\">{{ closeLabel }}</span>\r\n\t\t</button>\r\n\t</div>\r\n\t<div class=\"lu-modal-content\">\r\n\t\t<ng-container #container></ng-container>\r\n\t</div>\r\n\t<div class=\"lu-modal-footer\">\r\n\t\t<button\r\n\t\t\ttype=\"button\"\r\n\t\t\t*ngIf=\"!isSubmitHidden\"\r\n\t\t\tclass=\"button palette-{{ submitPalette }}\"\r\n\t\t\t[disabled]=\"submitDisabled$ | async\"\r\n\t\t\t[class.mod-counter]=\"hasSubmitCounter$ | async\"\r\n\t\t\t[ngClass]=\"submitClass$ | async\"\r\n\t\t\t(click)=\"submit()\"\r\n\t\t>\r\n\t\t\t{{ submitLabel$ | async }}\r\n\t\t\t<label class=\"button-counter\" *ngIf=\"hasSubmitCounter$ | async\">{{ submitCounter$ | async }}</label>\r\n\t\t</button>\r\n\t\t<button type=\"button\" class=\"button mod-text\" (click)=\"dismiss()\">{{ cancelLabel$ | async }}</button>\r\n\t</div>\r\n</div>\r\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { kind: "directive", type: i4.LuTooltipTriggerDirective, selector: "[luTooltip]", inputs: ["luTooltip", "luTooltipEnterDelay", "luTooltipLeaveDelay", "luTooltipDisabled", "luTooltipPosition", "luTooltipWhenEllipsis"], outputs: ["luTooltipOnOpen", "luTooltipOnClose"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.Default });
79
79
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: LuSidepanelPanelComponentDefaultCD, decorators: [{
80
80
  type: Component,
81
- args: [{ selector: 'lu-sidepanel-panel-default', changeDetection: ChangeDetectionStrategy.Default, template: "<div class=\"lu-sidepanel-panel-inner\" cdkTrapFocus=\"true\" cdkTrapFocusAutoCapture=\"true\" role=\"dialog\" aria-modal=\"true\">\r\n\t<div class=\"lu-modal-header\" tabindex=\"-1\" cdkFocusInitial>\r\n\t\t<h3 class=\"lu-modal-header-title\">{{ title$ | async }}</h3>\r\n\t\t<button type=\"button\" class=\"lu-modal-header-close\" (click)=\"dismiss()\" [luTooltip]=\"closeLabel\">\r\n\t\t\t<span aria-hidden=\"true\" class=\"lucca-icon icon-cross\"></span>\r\n\t\t\t<span class=\"u-mask\">{{ closeLabel }}</span>\r\n\t\t</button>\r\n\t</div>\r\n\t<div class=\"lu-modal-content\">\r\n\t\t<ng-container #container></ng-container>\r\n\t</div>\r\n\t<div class=\"lu-modal-footer\">\r\n\t\t<button\r\n\t\t\ttype=\"button\"\r\n\t\t\t*ngIf=\"!isSubmitHidden\"\r\n\t\t\tclass=\"button palette-{{ submitPalette }}\"\r\n\t\t\t[disabled]=\"isSubmitDisabled\"\r\n\t\t\t[class.mod-counter]=\"hasSubmitCounter\"\r\n\t\t\t[ngClass]=\"submitClass$ | async\"\r\n\t\t\t(click)=\"submit()\"\r\n\t\t>\r\n\t\t\t{{ submitLabel$ | async }}\r\n\t\t\t<label class=\"button-counter\" *ngIf=\"hasSubmitCounter\">{{ submitCounter }}</label>\r\n\t\t</button>\r\n\t\t<button type=\"button\" class=\"button mod-text\" (click)=\"dismiss()\">{{ cancelLabel$ | async }}</button>\r\n\t</div>\r\n</div>\r\n" }]
81
+ args: [{ selector: 'lu-sidepanel-panel-default', changeDetection: ChangeDetectionStrategy.Default, template: "<div class=\"lu-sidepanel-panel-inner\" cdkTrapFocus=\"true\" cdkTrapFocusAutoCapture=\"true\" role=\"dialog\" aria-modal=\"true\">\r\n\t<div class=\"lu-modal-header\" tabindex=\"-1\" cdkFocusInitial>\r\n\t\t<h3 class=\"lu-modal-header-title\">{{ title$ | async }}</h3>\r\n\t\t<button type=\"button\" class=\"lu-modal-header-close\" (click)=\"dismiss()\" [luTooltip]=\"closeLabel\">\r\n\t\t\t<span aria-hidden=\"true\" class=\"lucca-icon icon-cross\"></span>\r\n\t\t\t<span class=\"u-mask\">{{ closeLabel }}</span>\r\n\t\t</button>\r\n\t</div>\r\n\t<div class=\"lu-modal-content\">\r\n\t\t<ng-container #container></ng-container>\r\n\t</div>\r\n\t<div class=\"lu-modal-footer\">\r\n\t\t<button\r\n\t\t\ttype=\"button\"\r\n\t\t\t*ngIf=\"!isSubmitHidden\"\r\n\t\t\tclass=\"button palette-{{ submitPalette }}\"\r\n\t\t\t[disabled]=\"submitDisabled$ | async\"\r\n\t\t\t[class.mod-counter]=\"hasSubmitCounter$ | async\"\r\n\t\t\t[ngClass]=\"submitClass$ | async\"\r\n\t\t\t(click)=\"submit()\"\r\n\t\t>\r\n\t\t\t{{ submitLabel$ | async }}\r\n\t\t\t<label class=\"button-counter\" *ngIf=\"hasSubmitCounter$ | async\">{{ submitCounter$ | async }}</label>\r\n\t\t</button>\r\n\t\t<button type=\"button\" class=\"button mod-text\" (click)=\"dismiss()\">{{ cancelLabel$ | async }}</button>\r\n\t</div>\r\n</div>\r\n" }]
82
82
  }], ctorParameters: function () { return [{ type: ALuSidepanelRef }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
83
83
  type: Inject,
84
84
  args: [LuSidepanelIntl]
@@ -1 +1 @@
1
- {"version":3,"file":"lucca-front-ng-sidepanel.mjs","sources":["../../../packages/ng/sidepanel/src/lib/sidepanel-config.default.ts","../../../packages/ng/sidepanel/src/lib/sidepanel.token.ts","../../../packages/ng/sidepanel/src/lib/sidepanel.intl.ts","../../../packages/ng/sidepanel/src/lib/sidepanel-ref.model.ts","../../../packages/ng/sidepanel/src/lib/sidepanel-panel.component.ts","../../../packages/ng/sidepanel/src/lib/sidepanel-panel.component.html","../../../packages/ng/sidepanel/src/lib/sidepanel-ref.factory.ts","../../../packages/ng/sidepanel/src/lib/sidepanel.service.ts","../../../packages/ng/sidepanel/src/lib/sidepanel.translate.ts","../../../packages/ng/sidepanel/src/lib/sidepanel.module.ts","../../../packages/ng/sidepanel/src/public-api.ts","../../../packages/ng/sidepanel/src/lucca-front-ng-sidepanel.ts"],"sourcesContent":["import { ILuSidepanelConfig } from './sidepanel-config.model';\r\nimport { ChangeDetectionStrategy } from '@angular/core';\r\n\r\nexport const luDefaultSidepanelConfig: ILuSidepanelConfig = {\r\n\tposition: 'right',\r\n\tnoBackdrop: false,\r\n\tundismissable: false,\r\n\tbackdropClass: ['cdk-overlay-dark-backdrop', 'lu-popup-backdrop'],\r\n\tpanelClass: ['lu-popup-panel', 'mod-sidepanel'],\r\n\tsize: 'standard',\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n};\r\n","import { InjectionToken } from '@angular/core';\r\nimport { ILuTranslation } from '@lucca-front/ng/core';\r\nimport { ILuSidepanelConfig } from './sidepanel-config.model';\r\nimport { LuSidepanelRefFactory } from './sidepanel-ref.factory';\r\nimport { ILuSidepanelLabel } from './sidepanel.translate';\r\n\r\n/** Injection token that can be used to access the data that was passed in to a dialog. */\r\nexport const LU_SIDEPANEL_DATA = new InjectionToken<unknown>('LuSidepanelData');\r\nexport const LU_SIDEPANEL_CONFIG = new InjectionToken<ILuSidepanelConfig>('LuSidepanelDefaultConfig');\r\nexport const LU_SIDEPANEL_TRANSLATIONS = new InjectionToken<ILuTranslation<ILuSidepanelLabel>>('LuSidepanelTranslations');\r\nexport const LU_SIDEPANEL_REF_FACTORY = new InjectionToken<LuSidepanelRefFactory>('LuSidepanelRefFactory');\r\n","import { Inject, Injectable, LOCALE_ID } from '@angular/core';\r\nimport { ALuIntl, ILuTranslation } from '@lucca-front/ng/core';\r\nimport { LU_SIDEPANEL_TRANSLATIONS } from './sidepanel.token';\r\nimport { ILuSidepanelLabel } from './sidepanel.translate';\r\n\r\n@Injectable()\r\nexport class LuSidepanelIntl extends ALuIntl<ILuSidepanelLabel> {\r\n\tconstructor(@Inject(LU_SIDEPANEL_TRANSLATIONS) translations: ILuTranslation<ILuSidepanelLabel>, @Inject(LOCALE_ID) locale: string) {\r\n\t\tsuper(translations, locale);\r\n\t}\r\n}\r\n","import { ALuModalRef, ILuModalRef } from '@lucca-front/ng/modal';\r\nimport { ILuSidepanelContent } from './sidepanel.model';\r\n\r\nexport type ILuSidepanelRef<T extends ILuSidepanelContent = ILuSidepanelContent, D = unknown, R = unknown> = ILuModalRef<T, D, R>;\r\nexport abstract class ALuSidepanelRef<T extends ILuSidepanelContent = ILuSidepanelContent, D = unknown, R = unknown> extends ALuModalRef<T, D, R> implements ILuSidepanelRef<T, D, R> {}\r\n","/* eslint-disable max-len */\r\nimport { ChangeDetectionStrategy, ChangeDetectorRef, Component, HostBinding, Inject } from '@angular/core';\r\nimport { ALuModalPanelComponent } from '@lucca-front/ng/modal';\r\nimport { ALuSidepanelRef } from './sidepanel-ref.model';\r\nimport { LuSidepanelIntl } from './sidepanel.intl';\r\nimport { ILuSidepanelContent } from './sidepanel.model';\r\nimport { ILuSidepanelLabel } from './sidepanel.translate';\r\n\r\n@Component({\r\n\tselector: 'lu-sidepanel-panel',\r\n\ttemplateUrl: './sidepanel-panel.component.html',\r\n\tstyleUrls: ['./sidepanel-panel.component.scss'],\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class LuSidepanelPanelComponent<T extends ILuSidepanelContent = ILuSidepanelContent> extends ALuModalPanelComponent<T> {\r\n\t@HostBinding('class.lu-sidepanel-panel') public class = true;\r\n\r\n\tconstructor(_ref: ALuSidepanelRef<T>, _cdr: ChangeDetectorRef, @Inject(LuSidepanelIntl) intl: ILuSidepanelLabel) {\r\n\t\tsuper(_ref, _cdr, intl);\r\n\t}\r\n}\r\n\r\n@Component({\r\n\tselector: 'lu-sidepanel-panel-default',\r\n\ttemplateUrl: './sidepanel-panel.component.html',\r\n\tstyleUrls: ['./sidepanel-panel.component.scss'],\r\n\tchangeDetection: ChangeDetectionStrategy.Default,\r\n})\r\n// eslint-disable-next-line @angular-eslint/component-class-suffix\r\nexport class LuSidepanelPanelComponentDefaultCD<T extends ILuSidepanelContent = ILuSidepanelContent> extends ALuModalPanelComponent<T> {\r\n\t@HostBinding('class.lu-sidepanel-panel') public class = true;\r\n\tconstructor(_ref: ALuSidepanelRef<T>, _cdr: ChangeDetectorRef, @Inject(LuSidepanelIntl) intl: ILuSidepanelLabel) {\r\n\t\tsuper(_ref, _cdr, intl);\r\n\t}\r\n}\r\n","<div class=\"lu-sidepanel-panel-inner\" cdkTrapFocus=\"true\" cdkTrapFocusAutoCapture=\"true\" role=\"dialog\" aria-modal=\"true\">\r\n\t<div class=\"lu-modal-header\" tabindex=\"-1\" cdkFocusInitial>\r\n\t\t<h3 class=\"lu-modal-header-title\">{{ title$ | async }}</h3>\r\n\t\t<button type=\"button\" class=\"lu-modal-header-close\" (click)=\"dismiss()\" [luTooltip]=\"closeLabel\">\r\n\t\t\t<span aria-hidden=\"true\" class=\"lucca-icon icon-cross\"></span>\r\n\t\t\t<span class=\"u-mask\">{{ closeLabel }}</span>\r\n\t\t</button>\r\n\t</div>\r\n\t<div class=\"lu-modal-content\">\r\n\t\t<ng-container #container></ng-container>\r\n\t</div>\r\n\t<div class=\"lu-modal-footer\">\r\n\t\t<button\r\n\t\t\ttype=\"button\"\r\n\t\t\t*ngIf=\"!isSubmitHidden\"\r\n\t\t\tclass=\"button palette-{{ submitPalette }}\"\r\n\t\t\t[disabled]=\"isSubmitDisabled\"\r\n\t\t\t[class.mod-counter]=\"hasSubmitCounter\"\r\n\t\t\t[ngClass]=\"submitClass$ | async\"\r\n\t\t\t(click)=\"submit()\"\r\n\t\t>\r\n\t\t\t{{ submitLabel$ | async }}\r\n\t\t\t<label class=\"button-counter\" *ngIf=\"hasSubmitCounter\">{{ submitCounter }}</label>\r\n\t\t</button>\r\n\t\t<button type=\"button\" class=\"button mod-text\" (click)=\"dismiss()\">{{ cancelLabel$ | async }}</button>\r\n\t</div>\r\n</div>\r\n","import { ComponentType, Overlay } from '@angular/cdk/overlay';\r\nimport { ComponentPortal } from '@angular/cdk/portal';\r\nimport { ChangeDetectionStrategy, ComponentRef, Injectable, Injector } from '@angular/core';\r\nimport { ILuPopupRefFactory } from '@lucca-front/ng/popup';\r\nimport { ILuSidepanelConfig } from './sidepanel-config.model';\r\nimport { LuSidepanelPanelComponent, LuSidepanelPanelComponentDefaultCD } from './sidepanel-panel.component';\r\nimport { ALuSidepanelRef, ILuSidepanelRef } from './sidepanel-ref.model';\r\nimport { ILuSidepanelContent } from './sidepanel.model';\r\nimport { LU_SIDEPANEL_DATA } from './sidepanel.token';\r\n\r\nclass LuSidepanelRef<T extends ILuSidepanelContent<unknown> = ILuSidepanelContent<unknown>, D = unknown, R = unknown> extends ALuSidepanelRef<T, D, R> implements ILuSidepanelRef<T, D, R> {\r\n\tprotected _containerRef: ComponentRef<LuSidepanelPanelComponent<T>>;\r\n\tconstructor(protected override _overlay: Overlay, protected override _injector: Injector, protected override _component: ComponentType<T>, protected override _config: ILuSidepanelConfig) {\r\n\t\tsuper(_overlay, _injector, _component, _config);\r\n\t}\r\n\tprotected override _openPopup(data?: D) {\r\n\t\tconst injector = Injector.create({\r\n\t\t\tproviders: [\r\n\t\t\t\t{ provide: ALuSidepanelRef, useValue: this },\r\n\t\t\t\t{ provide: LU_SIDEPANEL_DATA, useValue: data },\r\n\t\t\t],\r\n\t\t\tparent: this._injector,\r\n\t\t});\r\n\t\tif (this._config.changeDetection === ChangeDetectionStrategy.OnPush) {\r\n\t\t\tconst containerPortal = new ComponentPortal<LuSidepanelPanelComponent<T>>(LuSidepanelPanelComponent, undefined, injector);\r\n\t\t\tthis._containerRef = this._overlayRef.attach(containerPortal);\r\n\t\t} else {\r\n\t\t\tconst containerPortal = new ComponentPortal<LuSidepanelPanelComponentDefaultCD<T>>(LuSidepanelPanelComponentDefaultCD, undefined, injector);\r\n\t\t\tthis._containerRef = this._overlayRef.attach(containerPortal);\r\n\t\t}\r\n\t\tconst panel = this._containerRef.instance;\r\n\t\tthis._componentRef = panel.attachInnerComponent(this._component, injector);\r\n\t}\r\n\tprotected override _closePopup() {\r\n\t\tthis._componentRef.destroy();\r\n\t\tthis._containerRef.destroy();\r\n\t}\r\n}\r\n\r\n@Injectable()\r\nexport class LuSidepanelRefFactory implements ILuPopupRefFactory<ILuSidepanelContent<unknown>, ILuSidepanelConfig> {\r\n\tconstructor(protected _overlay: Overlay, protected _injector: Injector) {}\r\n\tforge<T extends ILuSidepanelContent<unknown>, C extends ILuSidepanelConfig, D, R>(component: ComponentType<T>, config: C) {\r\n\t\treturn new LuSidepanelRef<T, D, R>(this._overlay, this._injector, component, config);\r\n\t}\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { LuModal } from '@lucca-front/ng/modal';\r\nimport { ILuSidepanelConfig } from './sidepanel-config.model';\r\nimport { LU_SIDEPANEL_CONFIG, LU_SIDEPANEL_REF_FACTORY } from './sidepanel.token';\r\nimport { ILuPopupRefFactory } from '@lucca-front/ng/popup';\r\n\r\n@Injectable()\r\nexport class LuSidepanel<C extends ILuSidepanelConfig = ILuSidepanelConfig> extends LuModal<C> {\r\n\tconstructor(\r\n\t\t@Inject(LU_SIDEPANEL_REF_FACTORY)\r\n\t\tprotected override _factory: ILuPopupRefFactory,\r\n\t\t@Inject(LU_SIDEPANEL_CONFIG) protected override _config: ILuSidepanelConfig,\r\n\t) {\r\n\t\tsuper(_factory, _config);\r\n\t}\r\n}\r\n","import { ILuTranslation } from '@lucca-front/ng/core';\r\n\r\nexport interface ILuSidepanelLabel {\r\n\tsubmit: string;\r\n\tcancel: string;\r\n\tclose: string;\r\n}\r\nexport abstract class ALuSidepanelLabel {\r\n\tsubmit: string;\r\n\tcancel: string;\r\n\tclose: string;\r\n}\r\n\r\nexport const luSidepanelTranslations: ILuTranslation<ILuSidepanelLabel> = {\r\n\ten: {\r\n\t\tsubmit: 'Ok',\r\n\t\tcancel: 'Cancel',\r\n\t\tclose: 'Close',\r\n\t},\r\n\tfr: {\r\n\t\tsubmit: 'Ok',\r\n\t\tcancel: 'Annuler',\r\n\t\tclose: 'Fermer',\r\n\t},\r\n\tes: {\r\n\t\tsubmit: 'Ok',\r\n\t\tcancel: 'Cancelar',\r\n\t\tclose: 'Cerrar',\r\n\t},\r\n};\r\n","import { A11yModule } from '@angular/cdk/a11y';\r\nimport { OverlayModule } from '@angular/cdk/overlay';\r\nimport { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { LuTooltipModule } from '@lucca-front/ng/tooltip';\r\nimport { luDefaultSidepanelConfig } from './sidepanel-config.default';\r\nimport { LuSidepanelPanelComponent, LuSidepanelPanelComponentDefaultCD } from './sidepanel-panel.component';\r\nimport { LuSidepanelRefFactory } from './sidepanel-ref.factory';\r\nimport { LuSidepanelIntl } from './sidepanel.intl';\r\nimport { LuSidepanel } from './sidepanel.service';\r\nimport { LU_SIDEPANEL_CONFIG, LU_SIDEPANEL_REF_FACTORY, LU_SIDEPANEL_TRANSLATIONS } from './sidepanel.token';\r\nimport { luSidepanelTranslations } from './sidepanel.translate';\r\n\r\n@NgModule({\r\n\timports: [OverlayModule, CommonModule, A11yModule, LuTooltipModule],\r\n\tdeclarations: [LuSidepanelPanelComponent, LuSidepanelPanelComponentDefaultCD],\r\n\texports: [LuSidepanelPanelComponent, LuSidepanelPanelComponentDefaultCD],\r\n\tproviders: [\r\n\t\tLuSidepanel,\r\n\t\tLuSidepanelIntl,\r\n\t\t{ provide: LU_SIDEPANEL_CONFIG, useValue: luDefaultSidepanelConfig },\r\n\t\t{ provide: LU_SIDEPANEL_REF_FACTORY, useClass: LuSidepanelRefFactory },\r\n\t\t{ provide: LU_SIDEPANEL_TRANSLATIONS, useValue: luSidepanelTranslations },\r\n\t],\r\n})\r\nexport class LuSidepanelModule {}\r\n","/*\r\n * Public API Surface of safe-content\r\n */\r\n\r\nexport * from './lib/index';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAGa,MAAA,wBAAwB,GAAuB;AAC3D,IAAA,QAAQ,EAAE,OAAO;AACjB,IAAA,UAAU,EAAE,KAAK;AACjB,IAAA,aAAa,EAAE,KAAK;AACpB,IAAA,aAAa,EAAE,CAAC,2BAA2B,EAAE,mBAAmB,CAAC;AACjE,IAAA,UAAU,EAAE,CAAC,gBAAgB,EAAE,eAAe,CAAC;AAC/C,IAAA,IAAI,EAAE,UAAU;IAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;;;ACJhD;MACa,iBAAiB,GAAG,IAAI,cAAc,CAAU,iBAAiB,EAAE;MACnE,mBAAmB,GAAG,IAAI,cAA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B,EAAE,kCAAkC,CAAC;AAC7E,oBAAA,OAAO,EAAE,CAAC,yBAAyB,EAAE,kCAAkC,CAAC;AACxE,oBAAA,SAAS,EAAE;wBACV,WAAW;wBACX,eAAe;AACf,wBAAA,EAAE,OAAO,EAAE,mBAAmB,EAAE,QAAQ,EAAE,wBAAwB,EAAE;AACpE,wBAAA,EAAE,OAAO,EAAE,wBAAwB,EAAE,QAAQ,EAAE,qBAAqB,EAAE;AACtE,wBAAA,EAAE,OAAO,EAAE,yBAAyB,EAAE,QAAQ,EAAE,uBAAuB,EAAE;AACzE,qBAAA;AACD,iBAAA,CAAA;;;ACxBD;;AAEG;;ACFH;;AAEG;;;;"}
1
+ {"version":3,"file":"lucca-front-ng-sidepanel.mjs","sources":["../../../packages/ng/sidepanel/src/lib/sidepanel-config.default.ts","../../../packages/ng/sidepanel/src/lib/sidepanel.token.ts","../../../packages/ng/sidepanel/src/lib/sidepanel.intl.ts","../../../packages/ng/sidepanel/src/lib/sidepanel-ref.model.ts","../../../packages/ng/sidepanel/src/lib/sidepanel-panel.component.ts","../../../packages/ng/sidepanel/src/lib/sidepanel-panel.component.html","../../../packages/ng/sidepanel/src/lib/sidepanel-ref.factory.ts","../../../packages/ng/sidepanel/src/lib/sidepanel.service.ts","../../../packages/ng/sidepanel/src/lib/sidepanel.translate.ts","../../../packages/ng/sidepanel/src/lib/sidepanel.module.ts","../../../packages/ng/sidepanel/src/public-api.ts","../../../packages/ng/sidepanel/src/lucca-front-ng-sidepanel.ts"],"sourcesContent":["import { ILuSidepanelConfig } from './sidepanel-config.model';\r\nimport { ChangeDetectionStrategy } from '@angular/core';\r\n\r\nexport const luDefaultSidepanelConfig: ILuSidepanelConfig = {\r\n\tposition: 'right',\r\n\tnoBackdrop: false,\r\n\tundismissable: false,\r\n\tbackdropClass: ['cdk-overlay-dark-backdrop', 'lu-popup-backdrop'],\r\n\tpanelClass: ['lu-popup-panel', 'mod-sidepanel'],\r\n\tsize: 'standard',\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n};\r\n","import { InjectionToken } from '@angular/core';\r\nimport { ILuTranslation } from '@lucca-front/ng/core';\r\nimport { ILuSidepanelConfig } from './sidepanel-config.model';\r\nimport { LuSidepanelRefFactory } from './sidepanel-ref.factory';\r\nimport { ILuSidepanelLabel } from './sidepanel.translate';\r\n\r\n/** Injection token that can be used to access the data that was passed in to a dialog. */\r\nexport const LU_SIDEPANEL_DATA = new InjectionToken<unknown>('LuSidepanelData');\r\nexport const LU_SIDEPANEL_CONFIG = new InjectionToken<ILuSidepanelConfig>('LuSidepanelDefaultConfig');\r\nexport const LU_SIDEPANEL_TRANSLATIONS = new InjectionToken<ILuTranslation<ILuSidepanelLabel>>('LuSidepanelTranslations');\r\nexport const LU_SIDEPANEL_REF_FACTORY = new InjectionToken<LuSidepanelRefFactory>('LuSidepanelRefFactory');\r\n","import { Inject, Injectable, LOCALE_ID } from '@angular/core';\r\nimport { ALuIntl, ILuTranslation } from '@lucca-front/ng/core';\r\nimport { LU_SIDEPANEL_TRANSLATIONS } from './sidepanel.token';\r\nimport { ILuSidepanelLabel } from './sidepanel.translate';\r\n\r\n@Injectable()\r\nexport class LuSidepanelIntl extends ALuIntl<ILuSidepanelLabel> {\r\n\tconstructor(@Inject(LU_SIDEPANEL_TRANSLATIONS) translations: ILuTranslation<ILuSidepanelLabel>, @Inject(LOCALE_ID) locale: string) {\r\n\t\tsuper(translations, locale);\r\n\t}\r\n}\r\n","import { ALuModalRef, ILuModalRef } from '@lucca-front/ng/modal';\r\nimport { ILuSidepanelContent } from './sidepanel.model';\r\n\r\nexport type ILuSidepanelRef<T extends ILuSidepanelContent = ILuSidepanelContent, D = unknown, R = unknown> = ILuModalRef<T, D, R>;\r\nexport abstract class ALuSidepanelRef<T extends ILuSidepanelContent = ILuSidepanelContent, D = unknown, R = unknown> extends ALuModalRef<T, D, R> implements ILuSidepanelRef<T, D, R> {}\r\n","/* eslint-disable max-len */\r\nimport { ChangeDetectionStrategy, ChangeDetectorRef, Component, HostBinding, Inject } from '@angular/core';\r\nimport { ALuModalPanelComponent } from '@lucca-front/ng/modal';\r\nimport { ALuSidepanelRef } from './sidepanel-ref.model';\r\nimport { LuSidepanelIntl } from './sidepanel.intl';\r\nimport { ILuSidepanelContent } from './sidepanel.model';\r\nimport { ILuSidepanelLabel } from './sidepanel.translate';\r\n\r\n@Component({\r\n\tselector: 'lu-sidepanel-panel',\r\n\ttemplateUrl: './sidepanel-panel.component.html',\r\n\tstyleUrls: ['./sidepanel-panel.component.scss'],\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class LuSidepanelPanelComponent<T extends ILuSidepanelContent = ILuSidepanelContent> extends ALuModalPanelComponent<T> {\r\n\t@HostBinding('class.lu-sidepanel-panel') public class = true;\r\n\r\n\tconstructor(_ref: ALuSidepanelRef<T>, _cdr: ChangeDetectorRef, @Inject(LuSidepanelIntl) intl: ILuSidepanelLabel) {\r\n\t\tsuper(_ref, _cdr, intl);\r\n\t}\r\n}\r\n\r\n@Component({\r\n\tselector: 'lu-sidepanel-panel-default',\r\n\ttemplateUrl: './sidepanel-panel.component.html',\r\n\tstyleUrls: ['./sidepanel-panel.component.scss'],\r\n\tchangeDetection: ChangeDetectionStrategy.Default,\r\n})\r\n// eslint-disable-next-line @angular-eslint/component-class-suffix\r\nexport class LuSidepanelPanelComponentDefaultCD<T extends ILuSidepanelContent = ILuSidepanelContent> extends ALuModalPanelComponent<T> {\r\n\t@HostBinding('class.lu-sidepanel-panel') public class = true;\r\n\tconstructor(_ref: ALuSidepanelRef<T>, _cdr: ChangeDetectorRef, @Inject(LuSidepanelIntl) intl: ILuSidepanelLabel) {\r\n\t\tsuper(_ref, _cdr, intl);\r\n\t}\r\n}\r\n","<div class=\"lu-sidepanel-panel-inner\" cdkTrapFocus=\"true\" cdkTrapFocusAutoCapture=\"true\" role=\"dialog\" aria-modal=\"true\">\r\n\t<div class=\"lu-modal-header\" tabindex=\"-1\" cdkFocusInitial>\r\n\t\t<h3 class=\"lu-modal-header-title\">{{ title$ | async }}</h3>\r\n\t\t<button type=\"button\" class=\"lu-modal-header-close\" (click)=\"dismiss()\" [luTooltip]=\"closeLabel\">\r\n\t\t\t<span aria-hidden=\"true\" class=\"lucca-icon icon-cross\"></span>\r\n\t\t\t<span class=\"u-mask\">{{ closeLabel }}</span>\r\n\t\t</button>\r\n\t</div>\r\n\t<div class=\"lu-modal-content\">\r\n\t\t<ng-container #container></ng-container>\r\n\t</div>\r\n\t<div class=\"lu-modal-footer\">\r\n\t\t<button\r\n\t\t\ttype=\"button\"\r\n\t\t\t*ngIf=\"!isSubmitHidden\"\r\n\t\t\tclass=\"button palette-{{ submitPalette }}\"\r\n\t\t\t[disabled]=\"submitDisabled$ | async\"\r\n\t\t\t[class.mod-counter]=\"hasSubmitCounter$ | async\"\r\n\t\t\t[ngClass]=\"submitClass$ | async\"\r\n\t\t\t(click)=\"submit()\"\r\n\t\t>\r\n\t\t\t{{ submitLabel$ | async }}\r\n\t\t\t<label class=\"button-counter\" *ngIf=\"hasSubmitCounter$ | async\">{{ submitCounter$ | async }}</label>\r\n\t\t</button>\r\n\t\t<button type=\"button\" class=\"button mod-text\" (click)=\"dismiss()\">{{ cancelLabel$ | async }}</button>\r\n\t</div>\r\n</div>\r\n","import { ComponentType, Overlay } from '@angular/cdk/overlay';\r\nimport { ComponentPortal } from '@angular/cdk/portal';\r\nimport { ChangeDetectionStrategy, ComponentRef, Injectable, Injector } from '@angular/core';\r\nimport { ILuPopupRefFactory } from '@lucca-front/ng/popup';\r\nimport { ILuSidepanelConfig } from './sidepanel-config.model';\r\nimport { LuSidepanelPanelComponent, LuSidepanelPanelComponentDefaultCD } from './sidepanel-panel.component';\r\nimport { ALuSidepanelRef, ILuSidepanelRef } from './sidepanel-ref.model';\r\nimport { ILuSidepanelContent } from './sidepanel.model';\r\nimport { LU_SIDEPANEL_DATA } from './sidepanel.token';\r\n\r\nclass LuSidepanelRef<T extends ILuSidepanelContent<unknown> = ILuSidepanelContent<unknown>, D = unknown, R = unknown> extends ALuSidepanelRef<T, D, R> implements ILuSidepanelRef<T, D, R> {\r\n\tprotected _containerRef: ComponentRef<LuSidepanelPanelComponent<T>>;\r\n\tconstructor(protected override _overlay: Overlay, protected override _injector: Injector, protected override _component: ComponentType<T>, protected override _config: ILuSidepanelConfig) {\r\n\t\tsuper(_overlay, _injector, _component, _config);\r\n\t}\r\n\tprotected override _openPopup(data?: D) {\r\n\t\tconst injector = Injector.create({\r\n\t\t\tproviders: [\r\n\t\t\t\t{ provide: ALuSidepanelRef, useValue: this },\r\n\t\t\t\t{ provide: LU_SIDEPANEL_DATA, useValue: data },\r\n\t\t\t],\r\n\t\t\tparent: this._injector,\r\n\t\t});\r\n\t\tif (this._config.changeDetection === ChangeDetectionStrategy.OnPush) {\r\n\t\t\tconst containerPortal = new ComponentPortal<LuSidepanelPanelComponent<T>>(LuSidepanelPanelComponent, undefined, injector);\r\n\t\t\tthis._containerRef = this._overlayRef.attach(containerPortal);\r\n\t\t} else {\r\n\t\t\tconst containerPortal = new ComponentPortal<LuSidepanelPanelComponentDefaultCD<T>>(LuSidepanelPanelComponentDefaultCD, undefined, injector);\r\n\t\t\tthis._containerRef = this._overlayRef.attach(containerPortal);\r\n\t\t}\r\n\t\tconst panel = this._containerRef.instance;\r\n\t\tthis._componentRef = panel.attachInnerComponent(this._component, injector);\r\n\t}\r\n\tprotected override _closePopup() {\r\n\t\tthis._componentRef.destroy();\r\n\t\tthis._containerRef.destroy();\r\n\t}\r\n}\r\n\r\n@Injectable()\r\nexport class LuSidepanelRefFactory implements ILuPopupRefFactory<ILuSidepanelContent<unknown>, ILuSidepanelConfig> {\r\n\tconstructor(protected _overlay: Overlay, protected _injector: Injector) {}\r\n\tforge<T extends ILuSidepanelContent<unknown>, C extends ILuSidepanelConfig, D, R>(component: ComponentType<T>, config: C) {\r\n\t\treturn new LuSidepanelRef<T, D, R>(this._overlay, this._injector, component, config);\r\n\t}\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { LuModal } from '@lucca-front/ng/modal';\r\nimport { ILuSidepanelConfig } from './sidepanel-config.model';\r\nimport { LU_SIDEPANEL_CONFIG, LU_SIDEPANEL_REF_FACTORY } from './sidepanel.token';\r\nimport { ILuPopupRefFactory } from '@lucca-front/ng/popup';\r\n\r\n@Injectable()\r\nexport class LuSidepanel<C extends ILuSidepanelConfig = ILuSidepanelConfig> extends LuModal<C> {\r\n\tconstructor(\r\n\t\t@Inject(LU_SIDEPANEL_REF_FACTORY)\r\n\t\tprotected override _factory: ILuPopupRefFactory,\r\n\t\t@Inject(LU_SIDEPANEL_CONFIG) protected override _config: ILuSidepanelConfig,\r\n\t) {\r\n\t\tsuper(_factory, _config);\r\n\t}\r\n}\r\n","import { ILuTranslation } from '@lucca-front/ng/core';\r\n\r\nexport interface ILuSidepanelLabel {\r\n\tsubmit: string;\r\n\tcancel: string;\r\n\tclose: string;\r\n}\r\nexport abstract class ALuSidepanelLabel {\r\n\tsubmit: string;\r\n\tcancel: string;\r\n\tclose: string;\r\n}\r\n\r\nexport const luSidepanelTranslations: ILuTranslation<ILuSidepanelLabel> = {\r\n\ten: {\r\n\t\tsubmit: 'Ok',\r\n\t\tcancel: 'Cancel',\r\n\t\tclose: 'Close',\r\n\t},\r\n\tfr: {\r\n\t\tsubmit: 'Ok',\r\n\t\tcancel: 'Annuler',\r\n\t\tclose: 'Fermer',\r\n\t},\r\n\tes: {\r\n\t\tsubmit: 'Ok',\r\n\t\tcancel: 'Cancelar',\r\n\t\tclose: 'Cerrar',\r\n\t},\r\n};\r\n","import { A11yModule } from '@angular/cdk/a11y';\r\nimport { OverlayModule } from '@angular/cdk/overlay';\r\nimport { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { LuTooltipModule } from '@lucca-front/ng/tooltip';\r\nimport { luDefaultSidepanelConfig } from './sidepanel-config.default';\r\nimport { LuSidepanelPanelComponent, LuSidepanelPanelComponentDefaultCD } from './sidepanel-panel.component';\r\nimport { LuSidepanelRefFactory } from './sidepanel-ref.factory';\r\nimport { LuSidepanelIntl } from './sidepanel.intl';\r\nimport { LuSidepanel } from './sidepanel.service';\r\nimport { LU_SIDEPANEL_CONFIG, LU_SIDEPANEL_REF_FACTORY, LU_SIDEPANEL_TRANSLATIONS } from './sidepanel.token';\r\nimport { luSidepanelTranslations } from './sidepanel.translate';\r\n\r\n@NgModule({\r\n\timports: [OverlayModule, CommonModule, A11yModule, LuTooltipModule],\r\n\tdeclarations: [LuSidepanelPanelComponent, LuSidepanelPanelComponentDefaultCD],\r\n\texports: [LuSidepanelPanelComponent, LuSidepanelPanelComponentDefaultCD],\r\n\tproviders: [\r\n\t\tLuSidepanel,\r\n\t\tLuSidepanelIntl,\r\n\t\t{ provide: LU_SIDEPANEL_CONFIG, useValue: luDefaultSidepanelConfig },\r\n\t\t{ provide: LU_SIDEPANEL_REF_FACTORY, useClass: LuSidepanelRefFactory },\r\n\t\t{ provide: LU_SIDEPANEL_TRANSLATIONS, useValue: luSidepanelTranslations },\r\n\t],\r\n})\r\nexport class LuSidepanelModule {}\r\n","/*\r\n * Public API Surface of safe-content\r\n */\r\n\r\nexport * from './lib/index';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAGa,MAAA,wBAAwB,GAAuB;AAC3D,IAAA,QAAQ,EAAE,OAAO;AACjB,IAAA,UAAU,EAAE,KAAK;AACjB,IAAA,aAAa,EAAE,KAAK;AACpB,IAAA,aAAa,EAAE,CAAC,2BAA2B,EAAE,mBAAmB,CAAC;AACjE,IAAA,UAAU,EAAE,CAAC,gBAAgB,EAAE,eAAe,CAAC;AAC/C,IAAA,IAAI,EAAE,UAAU;IAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;;;ACJhD;MACa,iBAAiB,GAAG,IAAI,cAAc,CAAU,iBAAiB,EAAE;MACnE,mBAAmB,GAAG,IAAI,cAAc,CAAqB,0BAA0B,E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AC;AAC7E,oBAAA,OAAO,EAAE,CAAC,yBAAyB,EAAE,kCAAkC,CAAC;AACxE,oBAAA,SAAS,EAAE;wBACV,WAAW;wBACX,eAAe;AACf,wBAAA,EAAE,OAAO,EAAE,mBAAmB,EAAE,QAAQ,EAAE,wBAAwB,EAAE;AACpE,wBAAA,EAAE,OAAO,EAAE,wBAAwB,EAAE,QAAQ,EAAE,qBAAqB,EAAE;AACtE,wBAAA,EAAE,OAAO,EAAE,yBAAyB,EAAE,QAAQ,EAAE,uBAAuB,EAAE;AACzE,qBAAA;AACD,iBAAA,CAAA;;;ACxBD;;AAEG;;ACFH;;AAEG;;;;"}
@@ -163,10 +163,10 @@ class LuUserPictureComponent {
163
163
  }
164
164
  }
165
165
  LuUserPictureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: LuUserPictureComponent, deps: [{ token: LuUserDisplayPipe }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
166
- LuUserPictureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: LuUserPictureComponent, selector: "lu-user-picture", inputs: { displayFormat: "displayFormat", user: "user" }, ngImport: i0, template: "<div class=\"picture\" [ngStyle]=\"style\">\r\n\t<span *ngIf=\"!hasPicture\">{{ initials }}</span>\r\n</div>\r\n", styles: [":root{--components-options-item-padding-vertical: var(--spacings-smaller);--components-options-item-padding-horizontal: var(--spacings-smaller);--components-options-item-multiple-padding: var(--spacings-big);--components-options-item-icon-color: var(--palettes-grey-800);--components-options-checkbox-left: .5rem;--components-options-checkbox-size: 1rem;--components-options-checkbox-color: var(--palettes-primary-700);--components-options-checkbox-border-radius: var(--commons-border-radius);--components-options-checkbox-border-color: var(--palettes-grey-700);--components-options-establishment-multiple-padding: var(--spacings-standard)}::ng-deep .picture-wrapper{display:inline-flex}@keyframes top{50%{transform:translate(var(--offset))}to{position:relative}}::ng-deep .picture-wrapper.mod-border>*{box-shadow:0 0 0 2px var(--colors-white-color)}::ng-deep .picture-wrapper:not(.mod-stacked){gap:var(--spacings-smallest)}::ng-deep .picture-wrapper.mod-stacked>*{border-radius:50%}::ng-deep .picture-wrapper.mod-stacked>*:not(:last-of-type){--offset: calc(var(--components-user-picture-image-size) / -3);margin-right:var(--offset)}@media (prefers-reduced-motion: no-preference){::ng-deep .picture-wrapper.mod-stacked>*:not(:last-of-type):focus,::ng-deep .picture-wrapper.mod-stacked>*:not(:last-of-type):hover{animation:top .5s forwards}}@media (prefers-reduced-motion: reduce){::ng-deep .picture-wrapper.mod-stacked>*:not(:last-of-type):focus,::ng-deep .picture-wrapper.mod-stacked>*:not(:last-of-type):hover{position:relative}}::ng-deep .picture-wrapper.mod-stacked>*:not(:last-of-type):focus:not(:focus-visible){outline:none}:host{--components-user-picture-image-size: 2.5rem;--components-user-picture-font-size: 1.125rem;display:inline-block;vertical-align:middle}:host .picture{align-items:center;aspect-ratio:1;border-radius:50%;background-position:center;background-size:cover;background-repeat:no-repeat;color:var(--colors-white-color);display:flex;font-size:var(--components-user-picture-font-size);line-height:1;justify-content:center;width:var(--components-user-picture-image-size)}:host.mod-smallest{--components-user-picture-image-size: 1rem;--components-user-picture-font-size: .5625rem}:host.mod-smaller{--components-user-picture-image-size: 1.5rem;--components-user-picture-font-size: .75rem}:host.mod-small{--components-user-picture-image-size: 2rem;--components-user-picture-font-size: .875rem}:host.mod-large{--components-user-picture-image-size: 3rem;--components-user-picture-font-size: 1.375rem}:host.mod-larger{--components-user-picture-image-size: 4.5rem;--components-user-picture-font-size: 1.8rem}:host.mod-largest{--components-user-picture-image-size: 7.5rem;--components-user-picture-font-size: 3rem}:host.mod-border{box-shadow:0 0 0 2px var(--colors-white-color)}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
166
+ LuUserPictureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: LuUserPictureComponent, selector: "lu-user-picture", inputs: { displayFormat: "displayFormat", user: "user" }, ngImport: i0, template: "<div class=\"picture\" [ngStyle]=\"style\">\r\n\t<span *ngIf=\"!hasPicture\">{{ initials }}</span>\r\n</div>\r\n", styles: [":root{--components-options-item-padding-vertical: var(--spacings-smaller);--components-options-item-padding-horizontal: var(--spacings-smaller);--components-options-item-multiple-padding: var(--spacings-big);--components-options-item-icon-color: var(--palettes-grey-800);--components-options-checkbox-left: .5rem;--components-options-checkbox-size: 1rem;--components-options-checkbox-color: var(--palettes-primary-700);--components-options-checkbox-border-radius: var(--commons-border-radius);--components-options-checkbox-border-color: var(--palettes-grey-700);--components-options-establishment-multiple-padding: var(--spacings-standard)}:host{--components-user-picture-image-size: 2.5rem;--components-user-picture-font-size: 1.125rem;display:inline-block;vertical-align:middle}:host .picture{align-items:center;aspect-ratio:1;border-radius:50%;background-position:center;background-size:cover;background-repeat:no-repeat;color:var(--colors-white-color);display:flex;font-size:var(--components-user-picture-font-size);line-height:1;justify-content:center;width:var(--components-user-picture-image-size)}:host.mod-smallest{--components-user-picture-image-size: 1rem;--components-user-picture-font-size: .5625rem}:host.mod-smaller{--components-user-picture-image-size: 1.5rem;--components-user-picture-font-size: .75rem}:host.mod-small{--components-user-picture-image-size: 2rem;--components-user-picture-font-size: .875rem}:host.mod-large{--components-user-picture-image-size: 3rem;--components-user-picture-font-size: 1.375rem}:host.mod-larger{--components-user-picture-image-size: 4.5rem;--components-user-picture-font-size: 1.8rem}:host.mod-largest{--components-user-picture-image-size: 7.5rem;--components-user-picture-font-size: 3rem}:host.mod-border{box-shadow:0 0 0 2px var(--colors-white-color)}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
167
167
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: LuUserPictureComponent, decorators: [{
168
168
  type: Component,
169
- args: [{ selector: 'lu-user-picture', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"picture\" [ngStyle]=\"style\">\r\n\t<span *ngIf=\"!hasPicture\">{{ initials }}</span>\r\n</div>\r\n", styles: [":root{--components-options-item-padding-vertical: var(--spacings-smaller);--components-options-item-padding-horizontal: var(--spacings-smaller);--components-options-item-multiple-padding: var(--spacings-big);--components-options-item-icon-color: var(--palettes-grey-800);--components-options-checkbox-left: .5rem;--components-options-checkbox-size: 1rem;--components-options-checkbox-color: var(--palettes-primary-700);--components-options-checkbox-border-radius: var(--commons-border-radius);--components-options-checkbox-border-color: var(--palettes-grey-700);--components-options-establishment-multiple-padding: var(--spacings-standard)}::ng-deep .picture-wrapper{display:inline-flex}@keyframes top{50%{transform:translate(var(--offset))}to{position:relative}}::ng-deep .picture-wrapper.mod-border>*{box-shadow:0 0 0 2px var(--colors-white-color)}::ng-deep .picture-wrapper:not(.mod-stacked){gap:var(--spacings-smallest)}::ng-deep .picture-wrapper.mod-stacked>*{border-radius:50%}::ng-deep .picture-wrapper.mod-stacked>*:not(:last-of-type){--offset: calc(var(--components-user-picture-image-size) / -3);margin-right:var(--offset)}@media (prefers-reduced-motion: no-preference){::ng-deep .picture-wrapper.mod-stacked>*:not(:last-of-type):focus,::ng-deep .picture-wrapper.mod-stacked>*:not(:last-of-type):hover{animation:top .5s forwards}}@media (prefers-reduced-motion: reduce){::ng-deep .picture-wrapper.mod-stacked>*:not(:last-of-type):focus,::ng-deep .picture-wrapper.mod-stacked>*:not(:last-of-type):hover{position:relative}}::ng-deep .picture-wrapper.mod-stacked>*:not(:last-of-type):focus:not(:focus-visible){outline:none}:host{--components-user-picture-image-size: 2.5rem;--components-user-picture-font-size: 1.125rem;display:inline-block;vertical-align:middle}:host .picture{align-items:center;aspect-ratio:1;border-radius:50%;background-position:center;background-size:cover;background-repeat:no-repeat;color:var(--colors-white-color);display:flex;font-size:var(--components-user-picture-font-size);line-height:1;justify-content:center;width:var(--components-user-picture-image-size)}:host.mod-smallest{--components-user-picture-image-size: 1rem;--components-user-picture-font-size: .5625rem}:host.mod-smaller{--components-user-picture-image-size: 1.5rem;--components-user-picture-font-size: .75rem}:host.mod-small{--components-user-picture-image-size: 2rem;--components-user-picture-font-size: .875rem}:host.mod-large{--components-user-picture-image-size: 3rem;--components-user-picture-font-size: 1.375rem}:host.mod-larger{--components-user-picture-image-size: 4.5rem;--components-user-picture-font-size: 1.8rem}:host.mod-largest{--components-user-picture-image-size: 7.5rem;--components-user-picture-font-size: 3rem}:host.mod-border{box-shadow:0 0 0 2px var(--colors-white-color)}\n"] }]
169
+ args: [{ selector: 'lu-user-picture', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"picture\" [ngStyle]=\"style\">\r\n\t<span *ngIf=\"!hasPicture\">{{ initials }}</span>\r\n</div>\r\n", styles: [":root{--components-options-item-padding-vertical: var(--spacings-smaller);--components-options-item-padding-horizontal: var(--spacings-smaller);--components-options-item-multiple-padding: var(--spacings-big);--components-options-item-icon-color: var(--palettes-grey-800);--components-options-checkbox-left: .5rem;--components-options-checkbox-size: 1rem;--components-options-checkbox-color: var(--palettes-primary-700);--components-options-checkbox-border-radius: var(--commons-border-radius);--components-options-checkbox-border-color: var(--palettes-grey-700);--components-options-establishment-multiple-padding: var(--spacings-standard)}:host{--components-user-picture-image-size: 2.5rem;--components-user-picture-font-size: 1.125rem;display:inline-block;vertical-align:middle}:host .picture{align-items:center;aspect-ratio:1;border-radius:50%;background-position:center;background-size:cover;background-repeat:no-repeat;color:var(--colors-white-color);display:flex;font-size:var(--components-user-picture-font-size);line-height:1;justify-content:center;width:var(--components-user-picture-image-size)}:host.mod-smallest{--components-user-picture-image-size: 1rem;--components-user-picture-font-size: .5625rem}:host.mod-smaller{--components-user-picture-image-size: 1.5rem;--components-user-picture-font-size: .75rem}:host.mod-small{--components-user-picture-image-size: 2rem;--components-user-picture-font-size: .875rem}:host.mod-large{--components-user-picture-image-size: 3rem;--components-user-picture-font-size: 1.375rem}:host.mod-larger{--components-user-picture-image-size: 4.5rem;--components-user-picture-font-size: 1.8rem}:host.mod-largest{--components-user-picture-image-size: 7.5rem;--components-user-picture-font-size: 3rem}:host.mod-border{box-shadow:0 0 0 2px var(--colors-white-color)}\n"] }]
170
170
  }], ctorParameters: function () { return [{ type: LuUserDisplayPipe }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { displayFormat: [{
171
171
  type: Input
172
172
  }, {