{"version":3,"file":"lucca-front-ng-popup.mjs","sources":["../../../packages/ng/popup/popup-config.default.ts","../../../packages/ng/popup/popup.token.ts","../../../packages/ng/popup/popup-ref.model.ts","../../../packages/ng/popup/popup-ref.factory.ts","../../../packages/ng/popup/popup.service.ts","../../../packages/ng/popup/popup.module.ts","../../../packages/ng/popup/lucca-front-ng-popup.ts"],"sourcesContent":["import { ILuPopupConfig } from './popup-config.model';\n\nexport const luDefaultPopupConfig: ILuPopupConfig = {\n\tposition: 'center',\n\tnoBackdrop: false,\n\tundismissable: false,\n\tbackdropClass: ['cdk-overlay-dark-backdrop', 'lu-popup-backdrop'],\n\tpanelClass: 'lu-popup-panel',\n\tsize: 'M',\n};\n","import { InjectionToken } from '@angular/core';\nimport { ILuPopupConfig } from './popup-config.model';\nimport { ILuPopupRefFactory } from './popup-ref.model';\n\nexport const LU_POPUP_REF_FACTORY = new InjectionToken<ILuPopupRefFactory>('LuPopupRefFactory');\n\n/** Injection token that can be used to access the data that was passed in to a dialog. */\nexport const LU_POPUP_DATA = new InjectionToken<unknown>('LuPopupData');\nexport const LU_POPUP_CONFIG = new InjectionToken<ILuPopupConfig>('LuPopupDefaultConfig', {\n\tfactory: () => ({}),\n});\n","import { Overlay, OverlayConfig, OverlayRef } from '@angular/cdk/overlay';\nimport { ComponentPortal, ComponentType } from '@angular/cdk/portal';\nimport { ComponentRef, Injector } from '@angular/core';\nimport { Observable, Subject, Subscription } from 'rxjs';\nimport { filter } from 'rxjs/operators';\nimport { ILuPopupConfig } from './popup-config.model';\nimport { LU_POPUP_DATA } from './popup.token';\n\nexport interface ILuPopupRef<D = unknown, R = unknown> {\n\tonOpen: Observable<D>;\n\tonClose: Observable<R>;\n\tonDismiss: Observable<void>;\n\tonBackdropClick: Observable<void>;\n\topen(data: D): void;\n\tclose(result: R): void;\n\tdismiss(): void;\n}\nexport interface ILuPopupRefFactory<TComponent = unknown, TConfig extends ILuPopupConfig = ILuPopupConfig> {\n\tforge<T extends TComponent, C extends TConfig, D, R>(component: ComponentType<T>, config: C): ILuPopupRef<D, R>;\n}\n\nexport abstract class ALuPopupRef<T = unknown, D = unknown, R = unknown, C extends ILuPopupConfig = ILuPopupConfig> implements ILuPopupRef<D, R> {\n\tonOpen = new Subject<D>();\n\tonClose = new Subject<R>();\n\tonDismiss = new Subject<void>();\n\tonBackdropClick = new Subject<void>();\n\n\tprotected _overlayRef: OverlayRef;\n\tprotected _componentRef: ComponentRef<T>;\n\n\tprotected _subs = new Subscription();\n\n\tconstructor(\n\t\tprotected _overlay: Overlay,\n\t\tprotected _injector: Injector,\n\t\tprotected _component: ComponentType<T>,\n\t\tprotected _config: C,\n\t) {}\n\n\topen(data?: D) {\n\t\tthis._createOverlay();\n\t\tthis._openPopup(data);\n\n\t\tthis._subToCloseEvents();\n\n\t\tthis.onOpen.next(data);\n\t\tthis.onOpen.complete();\n\t}\n\tclose(result?: R) {\n\t\tthis.onClose.next(result);\n\t\tthis._destroy();\n\t}\n\tdismiss() {\n\t\tthis.onDismiss.next();\n\t\tthis._destroy();\n\t}\n\t/**\n\t *  This method creates the overlay from the provided popover's template and saves its\n\t *  OverlayRef so that it can be attached to the DOM when openPopover is called.\n\t */\n\tprotected _createOverlay() {\n\t\tif (!this._overlayRef) {\n\t\t\tconst overlayConfig = this._getOverlayConfig();\n\t\t\tthis._overlayRef = this._overlay.create(overlayConfig);\n\t\t}\n\t}\n\t/**\n\t * This method builds the configuration object needed to create the overlay, the OverlayConfig.\n\t * @returns OverlayConfig\n\t */\n\tprotected _getOverlayConfig(): OverlayConfig {\n\t\tconst overlayConfig = new OverlayConfig();\n\t\tswitch (this._config.position) {\n\t\t\tcase 'top':\n\t\t\t\toverlayConfig.positionStrategy = this._overlay.position().global().centerHorizontally().top('0');\n\t\t\t\tbreak;\n\t\t\tcase 'bottom':\n\t\t\t\toverlayConfig.positionStrategy = this._overlay.position().global().centerHorizontally().bottom('0');\n\t\t\t\tbreak;\n\t\t\tcase 'left':\n\t\t\t\toverlayConfig.positionStrategy = this._overlay.position().global().centerVertically().left('0');\n\t\t\t\tbreak;\n\t\t\tcase 'right':\n\t\t\t\toverlayConfig.positionStrategy = this._overlay.position().global().centerVertically().right('0');\n\t\t\t\tbreak;\n\t\t\tcase 'center':\n\t\t\tdefault:\n\t\t\t\toverlayConfig.positionStrategy = this._overlay.position().global().centerHorizontally().centerVertically();\n\t\t\t\tbreak;\n\t\t}\n\t\toverlayConfig.hasBackdrop = !this._config.noBackdrop;\n\t\toverlayConfig.backdropClass = this._config.backdropClass;\n\t\toverlayConfig.panelClass = this._getOverlayPanelClasses();\n\t\toverlayConfig.scrollStrategy = this._overlay.scrollStrategies.block();\n\t\treturn overlayConfig;\n\t}\n\tprotected _openPopup(data?: D) {\n\t\tconst injector = Injector.create({\n\t\t\tproviders: [\n\t\t\t\t{ provide: ALuPopupRef, useValue: this },\n\t\t\t\t{ provide: LU_POPUP_DATA, useValue: data },\n\t\t\t],\n\t\t\tparent: this._injector,\n\t\t});\n\t\tconst portal = new ComponentPortal(this._component, undefined, injector);\n\t\tthis._componentRef = this._overlayRef.attach<T>(portal);\n\t}\n\tprotected _getOverlayPanelClasses(): string[] {\n\t\tconst panelClasses: string[] = [];\n\t\tif (Array.isArray(this._config.panelClass)) {\n\t\t\tpanelClasses.push(...this._config.panelClass);\n\t\t} else {\n\t\t\tpanelClasses.push(this._config.panelClass);\n\t\t}\n\t\tpanelClasses.push(`mod-${this._config.size}`);\n\t\treturn panelClasses;\n\t}\n\tprotected _destroy() {\n\t\tthis._cleanSubscription();\n\t\tthis._closePopup();\n\t\tthis._destroyOverlay();\n\t\tthis._completeSubjects();\n\t}\n\tprotected _completeSubjects() {\n\t\tthis.onClose.complete();\n\t\tthis.onOpen.complete();\n\t\tthis.onDismiss.complete();\n\t\tthis.onBackdropClick.complete();\n\t}\n\tprotected _destroyOverlay() {\n\t\tthis._overlayRef.detachBackdrop();\n\t\tthis._overlayRef.detach();\n\t}\n\tprotected _closePopup() {\n\t\tthis._componentRef.destroy();\n\t}\n\tprotected _subToCloseEvents() {\n\t\tif (!this._config.undismissable) {\n\t\t\tthis._subToEscapeKeydownEvent();\n\t\t}\n\t\tthis._subToBackdropClickEvent();\n\t}\n\tprotected _subToEscapeKeydownEvent() {\n\t\tconst escPressed$ = this._overlayRef.keydownEvents().pipe(filter(({ key }) => key === 'Escape'));\n\t\tthis._subs.add(escPressed$.subscribe((_e) => this.dismiss()));\n\t}\n\tprotected _subToBackdropClickEvent() {\n\t\tconst bdClicked$ = this._overlayRef.backdropClick();\n\t\tconst bdClickedSub = bdClicked$.subscribe((_e) => {\n\t\t\tthis.onBackdropClick.next();\n\t\t\tif (!this._config.undismissable) {\n\t\t\t\tthis.dismiss();\n\t\t\t}\n\t\t});\n\t\tthis._subs.add(bdClickedSub);\n\t}\n\tprotected _cleanSubscription() {\n\t\tthis._subs.unsubscribe();\n\t}\n}\n","import { ComponentType, Overlay } from '@angular/cdk/overlay';\nimport { Injectable, Injector } from '@angular/core';\nimport { ILuPopupConfig } from './popup-config.model';\nimport { ALuPopupRef, ILuPopupRefFactory } from './popup-ref.model';\n\nexport class LuPopupRef<T = unknown, D = unknown, R = unknown> extends ALuPopupRef<T, D, R> {\n\tconstructor(\n\t\tprotected override _overlay: Overlay,\n\t\tprotected override _injector: Injector,\n\t\tprotected override _component: ComponentType<T>,\n\t\tprotected override _config: ILuPopupConfig,\n\t) {\n\t\tsuper(_overlay, _injector, _component, _config);\n\t}\n}\n\n@Injectable()\nexport class LuPopupRefFactory implements ILuPopupRefFactory {\n\tconstructor(\n\t\tprotected _overlay: Overlay,\n\t\tprotected _injector: Injector,\n\t) {}\n\tforge<T, D, R>(component: ComponentType<T>, config: ILuPopupConfig) {\n\t\treturn new LuPopupRef<T, D, R>(this._overlay, this._injector, component, config);\n\t}\n}\n","import { ComponentType } from '@angular/cdk/overlay';\nimport { inject, Injectable } from '@angular/core';\nimport { ILuPopupConfig } from './popup-config.model';\nimport { ILuPopupRef } from './popup-ref.model';\nimport { LU_POPUP_CONFIG, LU_POPUP_REF_FACTORY } from './popup.token';\n\n@Injectable()\nexport class LuPopup {\n\tprotected _factory = inject(LU_POPUP_REF_FACTORY);\n\tprotected _config = inject(LU_POPUP_CONFIG);\n\n\topen<T, D, R>(component: ComponentType<T>, data: D = undefined, config: Partial<ILuPopupConfig> = {}): ILuPopupRef<D, R> {\n\t\tconst extendedConfig = { ...this._config, ...config };\n\t\tconst ref = this._factory.forge<T, ILuPopupConfig, D, R>(component, extendedConfig);\n\t\tref.open(data);\n\t\treturn ref;\n\t}\n}\n","import { OverlayModule } from '@angular/cdk/overlay';\nimport { NgModule } from '@angular/core';\nimport { luDefaultPopupConfig } from './popup-config.default';\nimport { LuPopupRefFactory } from './popup-ref.factory';\nimport { LuPopup } from './popup.service';\nimport { LU_POPUP_CONFIG, LU_POPUP_REF_FACTORY } from './popup.token';\n\n/**\n * @deprecated use `OverlayModule` imports && `LuPopup, { provide: LU_POPUP_CONFIG, useValue: luDefaultPopupConfig }, { provide: LU_POPUP_REF_FACTORY, useClass: LuPopupRefFactory }` providers instead\n */\n@NgModule({\n\timports: [OverlayModule],\n\texports: [],\n\tproviders: [LuPopup, { provide: LU_POPUP_CONFIG, useValue: luDefaultPopupConfig }, { provide: LU_POPUP_REF_FACTORY, useClass: LuPopupRefFactory }],\n})\nexport class LuPopupModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;AAEO,MAAM,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,GAAG;;;MCJG,oBAAoB,GAAG,IAAI,cAAc,CAAqB,mBAAmB;AAE9F;MACa,aAAa,GAAG,IAAI,cAAc,CAAU,a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