@esfaenza/core 15.2.42 → 15.2.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/components/back-top/back-top.component.mjs +4 -4
- package/esm2020/components/base/base.component.mjs +4 -4
- package/esm2020/components/base/reactive.component.mjs +4 -4
- package/esm2020/components/breadcrumb/breadcrumb.component.mjs +4 -4
- package/esm2020/components/components.module.mjs +5 -5
- package/esm2020/components/error/404/pagenotfound.component.mjs +4 -4
- package/esm2020/components/error/500/servererror.component.mjs +4 -4
- package/esm2020/components/error/Angular/angularerror.component.mjs +4 -4
- package/esm2020/components/es-modal/es-modal-head/es-modal-head.component.mjs +4 -4
- package/esm2020/components/es-modal/es-modal.component.mjs +4 -4
- package/esm2020/components/external-page/external_pages.component.mjs +4 -4
- package/esm2020/components/jace-login/jace-login.component.mjs +4 -4
- package/esm2020/components/jace-resource/jace-resource.component.mjs +4 -4
- package/esm2020/components/navbar/modules-board/jace-modules-board.component.mjs +4 -4
- package/esm2020/components/navbar/navbar.component.loc.mjs +4 -4
- package/esm2020/components/navbar/navbar.component.mjs +4 -4
- package/esm2020/components/page/pages.component.mjs +4 -4
- package/esm2020/components/redirecter/redirecter.component.mjs +4 -4
- package/esm2020/components/sidebar/sidebar.component.mjs +4 -4
- package/esm2020/directives/componentHost/componentHost.directive.mjs +4 -4
- package/esm2020/directives/directives.module.mjs +5 -5
- package/esm2020/directives/draggable/draggable.directive.mjs +4 -4
- package/esm2020/directives/es-modal/es-modal.directive.mjs +4 -4
- package/esm2020/directives/es-routerLink/es-routerLink.directive.mjs +4 -4
- package/esm2020/directives/slim-scroll/slim-scroll.directive.mjs +4 -4
- package/esm2020/directives/widget/widget.directive.mjs +4 -4
- package/esm2020/domain/public-api.mjs +1 -1
- package/esm2020/lib/app.component.mjs +5 -5
- package/esm2020/lib/core.module.mjs +5 -5
- package/esm2020/modules/classes/_shared.module.mjs +5 -5
- package/esm2020/modules/classes/t_c.module.mjs +5 -5
- package/esm2020/pipes/classes/included_in.pipe.mjs +4 -4
- package/esm2020/pipes/classes/safe_html.pipe.mjs +4 -4
- package/esm2020/pipes/classes/safe_script.pipe.mjs +4 -4
- package/esm2020/pipes/classes/safe_style.pipe.mjs +4 -4
- package/esm2020/pipes/classes/safe_url.pipe.mjs +4 -4
- package/esm2020/pipes/pipes.module.mjs +5 -5
- package/esm2020/services/classes/app.accesstoken.mjs +4 -4
- package/esm2020/services/classes/app.completedjobredirection.mjs +4 -4
- package/esm2020/services/classes/app.errorhandler.mjs +4 -4
- package/esm2020/services/classes/app.event.mjs +4 -4
- package/esm2020/services/classes/app.globalsearch.mjs +4 -4
- package/esm2020/services/classes/app.httpextensions.loc.mjs +4 -4
- package/esm2020/services/classes/app.httpextensions.mjs +4 -4
- package/esm2020/services/classes/app.menufilter.mjs +4 -4
- package/esm2020/services/classes/app.routeguard.mjs +4 -4
- package/esm2020/services/classes/app.session.mjs +4 -4
- package/esm2020/services/classes/app.state.mjs +4 -4
- package/esm2020/services/classes/preferences/app.cache.persistor.mjs +4 -4
- package/esm2020/services/classes/preferences/app.preference.persistor.mjs +4 -4
- package/fesm2015/esfaenza-core-components.mjs +58 -58
- package/fesm2015/esfaenza-core-components.mjs.map +1 -1
- package/fesm2015/esfaenza-core-directives.mjs +22 -22
- package/fesm2015/esfaenza-core-directives.mjs.map +1 -1
- package/fesm2015/esfaenza-core-modules.mjs +8 -8
- package/fesm2015/esfaenza-core-modules.mjs.map +1 -1
- package/fesm2015/esfaenza-core-pipes.mjs +19 -19
- package/fesm2015/esfaenza-core-pipes.mjs.map +1 -1
- package/fesm2015/esfaenza-core-services.mjs +39 -39
- package/fesm2015/esfaenza-core-services.mjs.map +1 -1
- package/fesm2015/esfaenza-core.mjs +8 -8
- package/fesm2015/esfaenza-core.mjs.map +1 -1
- package/fesm2020/esfaenza-core-components.mjs +58 -58
- package/fesm2020/esfaenza-core-components.mjs.map +1 -1
- package/fesm2020/esfaenza-core-directives.mjs +22 -22
- package/fesm2020/esfaenza-core-directives.mjs.map +1 -1
- package/fesm2020/esfaenza-core-modules.mjs +8 -8
- package/fesm2020/esfaenza-core-modules.mjs.map +1 -1
- package/fesm2020/esfaenza-core-pipes.mjs +19 -19
- package/fesm2020/esfaenza-core-pipes.mjs.map +1 -1
- package/fesm2020/esfaenza-core-services.mjs +39 -39
- package/fesm2020/esfaenza-core-services.mjs.map +1 -1
- package/fesm2020/esfaenza-core.mjs +8 -8
- package/fesm2020/esfaenza-core.mjs.map +1 -1
- package/package.json +3 -3
- package/theme/styles/_project-override.scss +1 -1
|
@@ -43,9 +43,9 @@ class Draggable {
|
|
|
43
43
|
});
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
Draggable.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
47
|
-
Draggable.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.
|
|
48
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
46
|
+
Draggable.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: Draggable, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i1.AppState }], target: i0.ɵɵFactoryTarget.Directive });
|
|
47
|
+
Draggable.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: Draggable, isStandalone: true, selector: "[emaDraggable]", inputs: { handlerSelector: ["emaDraggable", "handlerSelector"] }, ngImport: i0 });
|
|
48
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: Draggable, decorators: [{
|
|
49
49
|
type: Directive,
|
|
50
50
|
args: [{
|
|
51
51
|
selector: "[emaDraggable]",
|
|
@@ -81,9 +81,9 @@ class SlimScroll {
|
|
|
81
81
|
});
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
|
-
SlimScroll.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
85
|
-
SlimScroll.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.
|
|
86
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
84
|
+
SlimScroll.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SlimScroll, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
85
|
+
SlimScroll.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: SlimScroll, isStandalone: true, selector: "[slim-scroll]", inputs: { slimScrollOptions: "slimScrollOptions" }, usesOnChanges: true, ngImport: i0 });
|
|
86
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SlimScroll, decorators: [{
|
|
87
87
|
type: Directive,
|
|
88
88
|
args: [{
|
|
89
89
|
selector: "[slim-scroll]",
|
|
@@ -115,9 +115,9 @@ class EsRouterLink extends RouterLink {
|
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
|
-
EsRouterLink.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
119
|
-
EsRouterLink.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.
|
|
120
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
118
|
+
EsRouterLink.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EsRouterLink, deps: [{ token: i1.AppState }, { token: i2.Router }, { token: i2.ActivatedRoute }, { token: 'tabindex', attribute: true }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i3.LocationStrategy }], target: i0.ɵɵFactoryTarget.Directive });
|
|
119
|
+
EsRouterLink.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EsRouterLink, isStandalone: true, selector: "[esRouterLink]", inputs: { esRouterLink: "esRouterLink" }, usesInheritance: true, ngImport: i0 });
|
|
120
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EsRouterLink, decorators: [{
|
|
121
121
|
type: Directive,
|
|
122
122
|
args: [{
|
|
123
123
|
selector: "[esRouterLink]",
|
|
@@ -157,9 +157,9 @@ class Widget {
|
|
|
157
157
|
this.$el.widgster();
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
|
-
Widget.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
161
|
-
Widget.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.
|
|
162
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
160
|
+
Widget.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: Widget, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
161
|
+
Widget.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: Widget, isStandalone: true, selector: "[widget]", ngImport: i0 });
|
|
162
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: Widget, decorators: [{
|
|
163
163
|
type: Directive,
|
|
164
164
|
args: [{
|
|
165
165
|
selector: "[widget]",
|
|
@@ -180,9 +180,9 @@ class ComponentHostDirective {
|
|
|
180
180
|
this.CreatedComponent.instance[key] = this.Inputs[key];
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
|
-
ComponentHostDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
184
|
-
ComponentHostDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.
|
|
185
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
183
|
+
ComponentHostDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ComponentHostDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
184
|
+
ComponentHostDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ComponentHostDirective, isStandalone: true, selector: "[componentHost]", inputs: { componentHost: "componentHost", Inputs: "Inputs" }, ngImport: i0 });
|
|
185
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ComponentHostDirective, decorators: [{
|
|
186
186
|
type: Directive,
|
|
187
187
|
args: [{
|
|
188
188
|
selector: '[componentHost]',
|
|
@@ -251,9 +251,9 @@ class EsModalDirective extends ModalDirective {
|
|
|
251
251
|
this._state.MainWindow.postMessage({ type: "modal-close" }, "*");
|
|
252
252
|
}
|
|
253
253
|
}
|
|
254
|
-
EsModalDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
255
|
-
EsModalDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.
|
|
256
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
254
|
+
EsModalDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EsModalDirective, deps: [{ token: i1.AppState }, { token: i0.ElementRef }, { token: i0.ViewContainerRef }, { token: i0.Renderer2 }, { token: i2$1.ComponentLoaderFactory }, { token: MODAL_CONFIG_DEFAULT_OVERRIDE, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
255
|
+
EsModalDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EsModalDirective, isStandalone: true, selector: "[esModal]", exportAs: ["es-modal"], usesInheritance: true, ngImport: i0 });
|
|
256
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EsModalDirective, decorators: [{
|
|
257
257
|
type: Directive,
|
|
258
258
|
args: [{
|
|
259
259
|
selector: '[esModal]',
|
|
@@ -273,10 +273,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
273
273
|
const DIRECTIVES = [Draggable, SlimScroll, Widget, EsRouterLink, ComponentHostDirective, EsModalDirective];
|
|
274
274
|
class DirectivesModule {
|
|
275
275
|
}
|
|
276
|
-
DirectivesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
277
|
-
DirectivesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.
|
|
278
|
-
DirectivesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.
|
|
279
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
276
|
+
DirectivesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DirectivesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
277
|
+
DirectivesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DirectivesModule, imports: [Draggable, SlimScroll, Widget, EsRouterLink, ComponentHostDirective, EsModalDirective], exports: [Draggable, SlimScroll, Widget, EsRouterLink, ComponentHostDirective, EsModalDirective] });
|
|
278
|
+
DirectivesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DirectivesModule });
|
|
279
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DirectivesModule, decorators: [{
|
|
280
280
|
type: NgModule,
|
|
281
281
|
args: [{ imports: [...DIRECTIVES], exports: [...DIRECTIVES] }]
|
|
282
282
|
}] });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"esfaenza-core-directives.mjs","sources":["../../../projects/core/directives/src/draggable/draggable.directive.ts","../../../projects/core/directives/src/slim-scroll/slim-scroll.directive.ts","../../../projects/core/directives/src/es-routerLink/es-routerLink.directive.ts","../../../projects/core/directives/src/widget/widget.directive.ts","../../../projects/core/directives/src/componentHost/componentHost.directive.ts","../../../projects/core/directives/src/es-modal/es-modal.directive.ts","../../../projects/core/directives/src/directives.module.ts","../../../projects/core/directives/src/esfaenza-core-directives.ts"],"sourcesContent":["// Angular\r\nimport { Directive, ElementRef, Input, NgZone } from \"@angular/core\";\r\n\r\n// Configurazioni\r\nimport { AppState } from \"@esfaenza/core/services\";\r\n\r\ndeclare var jQuery;\r\n\r\n@Directive({\r\n selector: \"[emaDraggable]\",\r\n standalone: true\r\n})\r\nexport class Draggable {\r\n @Input('emaDraggable') handlerSelector: string;\r\n\r\n constructor(private _elementRef: ElementRef, private zone: NgZone, private _state: AppState) { }\r\n\r\n ngOnInit() {\r\n this.zone.runOutsideAngular(() => {\r\n var handle = this.handlerSelector || '.modal-header';\r\n jQuery(this._elementRef.nativeElement).children(':first-child').draggable({\r\n handle,\r\n helper: function (_, __) {\r\n var oBody = jQuery(document).find('body');\r\n var containmentDiv = jQuery('<div id=\"div_containment\"></div>');\r\n containmentDiv\r\n .css('z-index', \"-99999\")\r\n .css('top', \"0\")\r\n .css('left', \"0\")\r\n .css('width', \"100%\")\r\n .css('height', \"100%\")\r\n .css('position', 'absolute');\r\n containmentDiv.appendTo(oBody);\r\n return this;\r\n },\r\n stop: function (_, __) {\r\n jQuery(document).filter('body').find('#div_containment').remove();\r\n },\r\n containment: this._state.Embedded ? \"#div_containment\" : null\r\n });\r\n });\r\n }\r\n}","// Angular\r\nimport { Directive, ElementRef, Input, NgZone } from \"@angular/core\";\r\n\r\n// Direttive, Componenti, Librerie\r\nimport \"jquery-slimscroll\";\r\n\r\ndeclare var jQuery;\r\n\r\n@Directive({\r\n selector: \"[slim-scroll]\",\r\n standalone: true\r\n})\r\nexport class SlimScroll {\r\n @Input() public slimScrollOptions: Object;\r\n\r\n constructor(private _elementRef: ElementRef, private zone: NgZone) {\r\n }\r\n\r\n ngOnChanges(changes) {\r\n this._scroll();\r\n }\r\n\r\n private _scroll() {\r\n this._destroy();\r\n this._init();\r\n }\r\n\r\n //Stacco slimscroll da Angular dato che registra dei listener sull'oggetto in cui viene creato che spammerebbero la change detection\r\n private _init() {\r\n this.zone.runOutsideAngular(() => {\r\n jQuery(this._elementRef.nativeElement).slimScroll(this.slimScrollOptions);\r\n });\r\n }\r\n\r\n private _destroy() {\r\n this.zone.runOutsideAngular(() => {\r\n jQuery(this._elementRef.nativeElement).slimScroll({ destroy: true });\r\n });\r\n }\r\n}","// Angular\r\nimport { LocationStrategy } from \"@angular/common\";\r\nimport { Attribute, Directive, ElementRef, Input, Renderer2 } from \"@angular/core\";\r\nimport { ActivatedRoute, Router, RouterLink } from \"@angular/router\";\r\nimport { EMBEDDED_ROUTE, ROUTE } from \"@esfaenza/core/domain\";\r\nimport { AppState } from \"@esfaenza/core/services\";\r\n\r\n\r\n@Directive({\r\n selector: \"[esRouterLink]\",\r\n standalone: true\r\n})\r\nexport class EsRouterLink extends RouterLink {\r\n\r\n constructor(\r\n private _state: AppState,\r\n router: Router, route: ActivatedRoute,\r\n @Attribute('tabindex') tabIndexAttribute: string | null | undefined,\r\n renderer: Renderer2, el: ElementRef,\r\n locationStrategy?: LocationStrategy) {\r\n\r\n super(router, route, tabIndexAttribute, renderer, el, locationStrategy)\r\n }\r\n\r\n @Input()\r\n set esRouterLink(commands: any[] | string | null | undefined) {\r\n // Sarebbe bello poterlo de-cablare e prenderle dal Basecomponent. \r\n // In quel caso è onere del BaseComponent iniettare la BasePath, il problema è che è una classe astratta e i provider non vengono valutati...\r\n let BasePath = \"/\" + (this._state.Embedded ? EMBEDDED_ROUTE : ROUTE);\r\n\r\n if (commands != null) {\r\n (this as any).commands = Array.isArray(commands) ? commands : [commands];\r\n let route = ((this as any).commands[0] as string);\r\n if (!route.startsWith(\"/\" + EMBEDDED_ROUTE) && !route.startsWith(\"/\" + ROUTE))\r\n (this as any).commands[0] = BasePath + (this as any).commands[0];\r\n (this as any).setTabIndexIfNotOnNativeEl('0');\r\n } else {\r\n (this as any).commands = null;\r\n (this as any).setTabIndexIfNotOnNativeEl(null);\r\n }\r\n }\r\n}","// Angular\r\nimport { Directive, ElementRef, OnInit } from \"@angular/core\";\r\n\r\ndeclare var jQuery;\r\n\r\n@Directive({\r\n selector: \"[widget]\",\r\n standalone: true\r\n})\r\nexport class Widget implements OnInit {\r\n $el: any;\r\n\r\n constructor(el: ElementRef) {\r\n this.$el = jQuery(el.nativeElement);\r\n jQuery.fn.widgster.Constructor.DEFAULTS.bodySelector = \".widget-body\";\r\n\r\n /*\r\n When widget is closed remove its parent if it is .col-*\r\n */\r\n jQuery(document).on(\"close.widgster\", (e) => {\r\n let $colWrap = jQuery(e.target).closest(' [class*=\"col-\"]:not(.widget-container)');\r\n\r\n // remove colWrap only if there are no more widgets inside\r\n if (!$colWrap.find(\".widget\").not(e.target).length) {\r\n $colWrap.remove();\r\n }\r\n });\r\n\r\n jQuery(document).on(\"fullscreened.widgster\", (e) => {\r\n jQuery(e.target).find(\"div.widget-body\").addClass(\"scrolling\");\r\n }).on(\"restored.widgster\", (e) => {\r\n jQuery(e.target).find(\"div.widget-body\").removeClass(\"scrolling\");\r\n });\r\n }\r\n\r\n ngOnInit(): void {\r\n this.$el.widgster();\r\n }\r\n}","import { Directive, Input, Type, ViewContainerRef } from '@angular/core';\r\n\r\n@Directive({\r\n selector: '[componentHost]',\r\n standalone: true\r\n})\r\nexport class ComponentHostDirective {\r\n\r\n @Input() componentHost: Type<any>;\r\n @Input() Inputs: Record<string, any> = null;\r\n\r\n // Eventuali accessi esterni... non si sa mai\r\n public CreatedComponent: any;\r\n\r\n constructor(public viewContainerRef: ViewContainerRef) { }\r\n\r\n ngOnInit(){\r\n this.CreatedComponent = this.viewContainerRef.createComponent<any>(this.componentHost);\r\n\r\n if (!this.Inputs)\r\n return;\r\n\r\n for (const key in this.Inputs)\r\n this.CreatedComponent.instance[key] = this.Inputs[key];\r\n }\r\n}","// Angular\r\nimport { Directive, ElementRef, Inject, Optional, Renderer2, ViewContainerRef } from \"@angular/core\";\r\n\r\n// Core\r\nimport { AppState } from \"@esfaenza/core/services\";\r\n\r\n// Bootrstrap\r\nimport { ComponentLoaderFactory } from \"ngx-bootstrap/component-loader\";\r\nimport { MODAL_CONFIG_DEFAULT_OVERRIDE, ModalDirective, ModalOptions } from \"ngx-bootstrap/modal\";\r\n\r\n// Rxjs\r\nimport { Subscription } from \"rxjs\";\r\n\r\n@Directive({\r\n selector: '[esModal]',\r\n exportAs: 'es-modal',\r\n standalone: true\r\n})\r\nexport class EsModalDirective extends ModalDirective {\r\n\r\n elementRef: ElementRef;\r\n rendererRef: Renderer2;\r\n\r\n HideSubscription: Subscription;\r\n\r\n constructor(private _state: AppState, _element: ElementRef, _viewContainerRef: ViewContainerRef, _renderer: Renderer2, clf: ComponentLoaderFactory, @Optional() @Inject(MODAL_CONFIG_DEFAULT_OVERRIDE) modalDefaultOption: ModalOptions) {\r\n super(_element, _viewContainerRef, _renderer, clf, modalDefaultOption);\r\n\r\n this.elementRef = _element;\r\n this.rendererRef = _renderer;\r\n if (this._state.Embedded) {\r\n this.HideSubscription = this.onHidden.subscribe(() => {\r\n document.body.style.setProperty(\"overflow-y\", \"auto\", \"important\");\r\n });\r\n }\r\n }\r\n\r\n override ngOnDestroy() {\r\n if (this.HideSubscription)\r\n this.HideSubscription.unsubscribe();\r\n\r\n super.ngOnDestroy();\r\n }\r\n\r\n override show(): void {\r\n\r\n super.show();\r\n\r\n if (this._state.Embedded) {\r\n this.rendererRef.setStyle(this.elementRef.nativeElement, \"padding-top\", \"5%\");\r\n this.rendererRef.setStyle(this.elementRef.nativeElement, \"margin-left\", \"-110px\");\r\n this.rendererRef.setStyle(this.elementRef.nativeElement, \"width\", \"calc(100% + 110px)\");\r\n this.rendererRef.setStyle(this.elementRef.nativeElement, \"overflow\", \"hidden\");\r\n\r\n if (this._config.animated)\r\n setTimeout(() => { this.doFixBody(); }, 300);\r\n else\r\n this.doFixBody();\r\n\r\n let backdropHeight = this.backdrop.instance.element.nativeElement.clientHeight;\r\n this._state.MainWindow.postMessage({ type: \"modal-open\", backdropHeight: backdropHeight }, \"*\");\r\n }\r\n }\r\n\r\n doFixBody() {\r\n let body = (<HTMLElement>this.elementRef.nativeElement).getElementsByClassName(\"modal-body\")[0] as HTMLElement;\r\n // Ci prova finch� non trova il body dato che potrebbe essere creato in qualsiasi momento\r\n if (!body) {\r\n setTimeout(() => this.doFixBody(), 250);\r\n return;\r\n }\r\n body.style.setProperty(\"max-height\", \"600px\", \"important\");\r\n body.style.setProperty(\"overflow-x\", \"hidden\");\r\n body.style.setProperty(\"overflow-y\", \"auto\");\r\n }\r\n\r\n override hide(): void {\r\n super.hide();\r\n\r\n if (!this._state.Embedded)\r\n return;\r\n\r\n if (this._config.animated)\r\n setTimeout(() => { this.doHide(); }, 300);\r\n else\r\n this.doHide();\r\n }\r\n\r\n doHide() {\r\n this._state.MainWindow.postMessage({ type: \"modal-close\" }, \"*\");\r\n }\r\n}","// Angular\r\nimport { NgModule } from \"@angular/core\";\r\n\r\n// Direttive\r\nimport { Draggable } from \"./draggable/draggable.directive\";\r\nimport { SlimScroll } from \"./slim-scroll/slim-scroll.directive\";\r\nimport { Widget } from \"./widget/widget.directive\";\r\nimport { EsRouterLink } from \"./es-routerLink/es-routerLink.directive\";\r\nimport { ComponentHostDirective } from \"./componentHost/componentHost.directive\";\r\nimport { EsModalDirective } from \"./es-modal/es-modal.directive\";\r\n\r\nconst DIRECTIVES = [Draggable, SlimScroll, Widget, EsRouterLink, ComponentHostDirective, EsModalDirective];\r\n\r\n@NgModule({ imports: [...DIRECTIVES], exports: [...DIRECTIVES] })\r\nexport class DirectivesModule { }","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;AAAA;MAYa,SAAS,CAAA;AAGlB,IAAA,WAAA,CAAoB,WAAuB,EAAU,IAAY,EAAU,MAAgB,EAAA;AAAvE,QAAA,IAAW,CAAA,WAAA,GAAX,WAAW,CAAY;AAAU,QAAA,IAAI,CAAA,IAAA,GAAJ,IAAI,CAAQ;AAAU,QAAA,IAAM,CAAA,MAAA,GAAN,MAAM,CAAU;KAAK;IAEhG,QAAQ,GAAA;AACJ,QAAA,IAAI,CAAC,IAAI,CAAC,iBAAiB,CAAC,MAAK;AAC7B,YAAA,IAAI,MAAM,GAAG,IAAI,CAAC,eAAe,IAAI,eAAe,CAAC;AACrD,YAAA,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC,SAAS,CAAC;gBACtE,MAAM;AACN,gBAAA,MAAM,EAAE,UAAU,CAAC,EAAE,EAAE,EAAA;oBACnB,IAAI,KAAK,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;AAC1C,oBAAA,IAAI,cAAc,GAAG,MAAM,CAAC,kCAAkC,CAAC,CAAC;oBAChE,cAAc;AACT,yBAAA,GAAG,CAAC,SAAS,EAAE,QAAQ,CAAC;AACxB,yBAAA,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC;AACf,yBAAA,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC;AAChB,yBAAA,GAAG,CAAC,OAAO,EAAE,MAAM,CAAC;AACpB,yBAAA,GAAG,CAAC,QAAQ,EAAE,MAAM,CAAC;AACrB,yBAAA,GAAG,CAAC,UAAU,EAAE,UAAU,CAAC,CAAC;AACjC,oBAAA,cAAc,CAAC,QAAQ,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D5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA,EAAE,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC,EAAE,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC,EAAE,CAAA;;;ACbhE;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"esfaenza-core-directives.mjs","sources":["../../../projects/core/directives/src/draggable/draggable.directive.ts","../../../projects/core/directives/src/slim-scroll/slim-scroll.directive.ts","../../../projects/core/directives/src/es-routerLink/es-routerLink.directive.ts","../../../projects/core/directives/src/widget/widget.directive.ts","../../../projects/core/directives/src/componentHost/componentHost.directive.ts","../../../projects/core/directives/src/es-modal/es-modal.directive.ts","../../../projects/core/directives/src/directives.module.ts","../../../projects/core/directives/src/esfaenza-core-directives.ts"],"sourcesContent":["// Angular\r\nimport { Directive, ElementRef, Input, NgZone } from \"@angular/core\";\r\n\r\n// Configurazioni\r\nimport { AppState } from \"@esfaenza/core/services\";\r\n\r\ndeclare var jQuery;\r\n\r\n@Directive({\r\n selector: \"[emaDraggable]\",\r\n standalone: true\r\n})\r\nexport class Draggable {\r\n @Input('emaDraggable') handlerSelector: string;\r\n\r\n constructor(private _elementRef: ElementRef, private zone: NgZone, private _state: AppState) { }\r\n\r\n ngOnInit() {\r\n this.zone.runOutsideAngular(() => {\r\n var handle = this.handlerSelector || '.modal-header';\r\n jQuery(this._elementRef.nativeElement).children(':first-child').draggable({\r\n handle,\r\n helper: function (_, __) {\r\n var oBody = jQuery(document).find('body');\r\n var containmentDiv = jQuery('<div id=\"div_containment\"></div>');\r\n containmentDiv\r\n .css('z-index', \"-99999\")\r\n .css('top', \"0\")\r\n .css('left', \"0\")\r\n .css('width', \"100%\")\r\n .css('height', \"100%\")\r\n .css('position', 'absolute');\r\n containmentDiv.appendTo(oBody);\r\n return this;\r\n },\r\n stop: function (_, __) {\r\n jQuery(document).filter('body').find('#div_containment').remove();\r\n },\r\n containment: this._state.Embedded ? \"#div_containment\" : null\r\n });\r\n });\r\n }\r\n}","// Angular\r\nimport { Directive, ElementRef, Input, NgZone } from \"@angular/core\";\r\n\r\n// Direttive, Componenti, Librerie\r\nimport \"jquery-slimscroll\";\r\n\r\ndeclare var jQuery;\r\n\r\n@Directive({\r\n selector: \"[slim-scroll]\",\r\n standalone: true\r\n})\r\nexport class SlimScroll {\r\n @Input() public slimScrollOptions: Object;\r\n\r\n constructor(private _elementRef: ElementRef, private zone: NgZone) {\r\n }\r\n\r\n ngOnChanges(changes) {\r\n this._scroll();\r\n }\r\n\r\n private _scroll() {\r\n this._destroy();\r\n this._init();\r\n }\r\n\r\n //Stacco slimscroll da Angular dato che registra dei listener sull'oggetto in cui viene creato che spammerebbero la change detection\r\n private _init() {\r\n this.zone.runOutsideAngular(() => {\r\n jQuery(this._elementRef.nativeElement).slimScroll(this.slimScrollOptions);\r\n });\r\n }\r\n\r\n private _destroy() {\r\n this.zone.runOutsideAngular(() => {\r\n jQuery(this._elementRef.nativeElement).slimScroll({ destroy: true });\r\n });\r\n }\r\n}","// Angular\r\nimport { LocationStrategy } from \"@angular/common\";\r\nimport { Attribute, Directive, ElementRef, Input, Renderer2 } from \"@angular/core\";\r\nimport { ActivatedRoute, Router, RouterLink } from \"@angular/router\";\r\nimport { EMBEDDED_ROUTE, ROUTE } from \"@esfaenza/core/domain\";\r\nimport { AppState } from \"@esfaenza/core/services\";\r\n\r\n\r\n@Directive({\r\n selector: \"[esRouterLink]\",\r\n standalone: true\r\n})\r\nexport class EsRouterLink extends RouterLink {\r\n\r\n constructor(\r\n private _state: AppState,\r\n router: Router, route: ActivatedRoute,\r\n @Attribute('tabindex') tabIndexAttribute: string | null | undefined,\r\n renderer: Renderer2, el: ElementRef,\r\n locationStrategy?: LocationStrategy) {\r\n\r\n super(router, route, tabIndexAttribute, renderer, el, locationStrategy)\r\n }\r\n\r\n @Input()\r\n set esRouterLink(commands: any[] | string | null | undefined) {\r\n // Sarebbe bello poterlo de-cablare e prenderle dal Basecomponent. \r\n // In quel caso è onere del BaseComponent iniettare la BasePath, il problema è che è una classe astratta e i provider non vengono valutati...\r\n let BasePath = \"/\" + (this._state.Embedded ? EMBEDDED_ROUTE : ROUTE);\r\n\r\n if (commands != null) {\r\n (this as any).commands = Array.isArray(commands) ? commands : [commands];\r\n let route = ((this as any).commands[0] as string);\r\n if (!route.startsWith(\"/\" + EMBEDDED_ROUTE) && !route.startsWith(\"/\" + ROUTE))\r\n (this as any).commands[0] = BasePath + (this as any).commands[0];\r\n (this as any).setTabIndexIfNotOnNativeEl('0');\r\n } else {\r\n (this as any).commands = null;\r\n (this as any).setTabIndexIfNotOnNativeEl(null);\r\n }\r\n }\r\n}","// Angular\r\nimport { Directive, ElementRef, OnInit } from \"@angular/core\";\r\n\r\ndeclare var jQuery;\r\n\r\n@Directive({\r\n selector: \"[widget]\",\r\n standalone: true\r\n})\r\nexport class Widget implements OnInit {\r\n $el: any;\r\n\r\n constructor(el: ElementRef) {\r\n this.$el = jQuery(el.nativeElement);\r\n jQuery.fn.widgster.Constructor.DEFAULTS.bodySelector = \".widget-body\";\r\n\r\n /*\r\n When widget is closed remove its parent if it is .col-*\r\n */\r\n jQuery(document).on(\"close.widgster\", (e) => {\r\n let $colWrap = jQuery(e.target).closest(' [class*=\"col-\"]:not(.widget-container)');\r\n\r\n // remove colWrap only if there are no more widgets inside\r\n if (!$colWrap.find(\".widget\").not(e.target).length) {\r\n $colWrap.remove();\r\n }\r\n });\r\n\r\n jQuery(document).on(\"fullscreened.widgster\", (e) => {\r\n jQuery(e.target).find(\"div.widget-body\").addClass(\"scrolling\");\r\n }).on(\"restored.widgster\", (e) => {\r\n jQuery(e.target).find(\"div.widget-body\").removeClass(\"scrolling\");\r\n });\r\n }\r\n\r\n ngOnInit(): void {\r\n this.$el.widgster();\r\n }\r\n}","import { Directive, Input, Type, ViewContainerRef } from '@angular/core';\r\n\r\n@Directive({\r\n selector: '[componentHost]',\r\n standalone: true\r\n})\r\nexport class ComponentHostDirective {\r\n\r\n @Input() componentHost: Type<any>;\r\n @Input() Inputs: Record<string, any> = null;\r\n\r\n // Eventuali accessi esterni... non si sa mai\r\n public CreatedComponent: any;\r\n\r\n constructor(public viewContainerRef: ViewContainerRef) { }\r\n\r\n ngOnInit(){\r\n this.CreatedComponent = this.viewContainerRef.createComponent<any>(this.componentHost);\r\n\r\n if (!this.Inputs)\r\n return;\r\n\r\n for (const key in this.Inputs)\r\n this.CreatedComponent.instance[key] = this.Inputs[key];\r\n }\r\n}","// Angular\r\nimport { Directive, ElementRef, Inject, Optional, Renderer2, ViewContainerRef } from \"@angular/core\";\r\n\r\n// Core\r\nimport { AppState } from \"@esfaenza/core/services\";\r\n\r\n// Bootrstrap\r\nimport { ComponentLoaderFactory } from \"ngx-bootstrap/component-loader\";\r\nimport { MODAL_CONFIG_DEFAULT_OVERRIDE, ModalDirective, ModalOptions } from \"ngx-bootstrap/modal\";\r\n\r\n// Rxjs\r\nimport { Subscription } from \"rxjs\";\r\n\r\n@Directive({\r\n selector: '[esModal]',\r\n exportAs: 'es-modal',\r\n standalone: true\r\n})\r\nexport class EsModalDirective extends ModalDirective {\r\n\r\n elementRef: ElementRef;\r\n rendererRef: Renderer2;\r\n\r\n HideSubscription: Subscription;\r\n\r\n constructor(private _state: AppState, _element: ElementRef, _viewContainerRef: ViewContainerRef, _renderer: Renderer2, clf: ComponentLoaderFactory, @Optional() @Inject(MODAL_CONFIG_DEFAULT_OVERRIDE) modalDefaultOption: ModalOptions) {\r\n super(_element, _viewContainerRef, _renderer, clf, modalDefaultOption);\r\n\r\n this.elementRef = _element;\r\n this.rendererRef = _renderer;\r\n if (this._state.Embedded) {\r\n this.HideSubscription = this.onHidden.subscribe(() => {\r\n document.body.style.setProperty(\"overflow-y\", \"auto\", \"important\");\r\n });\r\n }\r\n }\r\n\r\n override ngOnDestroy() {\r\n if (this.HideSubscription)\r\n this.HideSubscription.unsubscribe();\r\n\r\n super.ngOnDestroy();\r\n }\r\n\r\n override show(): void {\r\n\r\n super.show();\r\n\r\n if (this._state.Embedded) {\r\n this.rendererRef.setStyle(this.elementRef.nativeElement, \"padding-top\", \"5%\");\r\n this.rendererRef.setStyle(this.elementRef.nativeElement, \"margin-left\", \"-110px\");\r\n this.rendererRef.setStyle(this.elementRef.nativeElement, \"width\", \"calc(100% + 110px)\");\r\n this.rendererRef.setStyle(this.elementRef.nativeElement, \"overflow\", \"hidden\");\r\n\r\n if (this._config.animated)\r\n setTimeout(() => { this.doFixBody(); }, 300);\r\n else\r\n this.doFixBody();\r\n\r\n let backdropHeight = this.backdrop.instance.element.nativeElement.clientHeight;\r\n this._state.MainWindow.postMessage({ type: \"modal-open\", backdropHeight: backdropHeight }, \"*\");\r\n }\r\n }\r\n\r\n doFixBody() {\r\n let body = (<HTMLElement>this.elementRef.nativeElement).getElementsByClassName(\"modal-body\")[0] as HTMLElement;\r\n // Ci prova finch� non trova il body dato che potrebbe essere creato in qualsiasi momento\r\n if (!body) {\r\n setTimeout(() => this.doFixBody(), 250);\r\n return;\r\n }\r\n body.style.setProperty(\"max-height\", \"600px\", \"important\");\r\n body.style.setProperty(\"overflow-x\", \"hidden\");\r\n body.style.setProperty(\"overflow-y\", \"auto\");\r\n }\r\n\r\n override hide(): void {\r\n super.hide();\r\n\r\n if (!this._state.Embedded)\r\n return;\r\n\r\n if (this._config.animated)\r\n setTimeout(() => { this.doHide(); }, 300);\r\n else\r\n this.doHide();\r\n }\r\n\r\n doHide() {\r\n this._state.MainWindow.postMessage({ type: \"modal-close\" }, \"*\");\r\n }\r\n}","// Angular\r\nimport { NgModule } from \"@angular/core\";\r\n\r\n// Direttive\r\nimport { Draggable } from \"./draggable/draggable.directive\";\r\nimport { SlimScroll } from \"./slim-scroll/slim-scroll.directive\";\r\nimport { Widget } from \"./widget/widget.directive\";\r\nimport { EsRouterLink } from \"./es-routerLink/es-routerLink.directive\";\r\nimport { ComponentHostDirective } from \"./componentHost/componentHost.directive\";\r\nimport { EsModalDirective } from \"./es-modal/es-modal.directive\";\r\n\r\nconst DIRECTIVES = [Draggable, SlimScroll, Widget, EsRouterLink, ComponentHostDirective, EsModalDirective];\r\n\r\n@NgModule({ imports: [...DIRECTIVES], exports: [...DIRECTIVES] })\r\nexport class DirectivesModule { }","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;AAAA;MAYa,SAAS,CAAA;AAGlB,IAAA,WAAA,CAAoB,WAAuB,EAAU,IAAY,EAAU,MAAgB,EAAA;AAAvE,QAAA,IAAW,CAAA,WAAA,GAAX,WAAW,CAAY;AAAU,QAAA,IAAI,CAAA,IAAA,GAAJ,IAAI,CAAQ;AAAU,QAAA,IAAM,CAAA,MAAA,GAAN,MAAM,CAAU;KAAK;IAEhG,QAAQ,GAAA;AACJ,QAAA,IAAI,CAAC,IAAI,CAAC,iBAAiB,CAAC,MAAK;AAC7B,YAAA,IAAI,MAAM,GAAG,IAAI,CAAC,eAAe,IAAI,eAAe,CAAC;AACrD,YAAA,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC,SAAS,CAAC;gBACtE,MAAM;AACN,gBAAA,MAAM,EAAE,UAAU,CAAC,EAAE,EAAE,EAAA;oBACnB,IAAI,KAAK,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;AAC1C,oBAAA,IAAI,cAAc,GAAG,MAAM,CAAC,kCAAkC,CAAC,CAAC;oBAChE,cAAc;AACT,yBAAA,GAAG,CAAC,SAAS,EAAE,QAAQ,CAAC;AACxB,yBAAA,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC;AACf,yBAAA,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC;AAChB,yBAAA,GAAG,CAAC,OAAO,EAAE,MAAM,CAAC;AACpB,yBAAA,GAAG,CAAC,QAAQ,EAAE,MAAM,CAAC;AACrB,yBAAA,GAAG,CAAC,UAAU,EAAE,UAAU,CAAC,CAAC;AACjC,oB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A,UAAA,EAAA,CAAA;kBAD5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA,EAAE,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC,EAAE,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC,EAAE,CAAA;;;ACbhE;;AAEG;;;;"}
|
|
@@ -82,8 +82,8 @@ const MODULES_TO_EXPORT$1 = [
|
|
|
82
82
|
];
|
|
83
83
|
class TemplateCommon {
|
|
84
84
|
}
|
|
85
|
-
TemplateCommon.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
86
|
-
TemplateCommon.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.
|
|
85
|
+
TemplateCommon.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TemplateCommon, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
86
|
+
TemplateCommon.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TemplateCommon, imports: [CommonModule,
|
|
87
87
|
FormsModule,
|
|
88
88
|
RouterModule,
|
|
89
89
|
DirectivesModule,
|
|
@@ -110,7 +110,7 @@ TemplateCommon.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version:
|
|
|
110
110
|
MatIconModule,
|
|
111
111
|
MatLegacySlideToggleModule,
|
|
112
112
|
DragDropModule] });
|
|
113
|
-
TemplateCommon.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.
|
|
113
|
+
TemplateCommon.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TemplateCommon, imports: [MODULES_TO_EXPORT$1, CommonModule,
|
|
114
114
|
FormsModule,
|
|
115
115
|
RouterModule,
|
|
116
116
|
DirectivesModule,
|
|
@@ -124,7 +124,7 @@ TemplateCommon.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version:
|
|
|
124
124
|
MatIconModule,
|
|
125
125
|
MatLegacySlideToggleModule,
|
|
126
126
|
DragDropModule] });
|
|
127
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
127
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TemplateCommon, decorators: [{
|
|
128
128
|
type: NgModule,
|
|
129
129
|
args: [{ imports: [...MODULES_TO_EXPORT$1], exports: [...MODULES_TO_EXPORT$1] }]
|
|
130
130
|
}] });
|
|
@@ -137,16 +137,16 @@ const MODULES_TO_EXPORT = [
|
|
|
137
137
|
];
|
|
138
138
|
class SharedCommon {
|
|
139
139
|
}
|
|
140
|
-
SharedCommon.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
141
|
-
SharedCommon.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.
|
|
140
|
+
SharedCommon.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SharedCommon, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
141
|
+
SharedCommon.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SharedCommon, imports: [ContextMenuModule,
|
|
142
142
|
TimepickerModule, BsDropdownModule, TooltipModule, ProgressbarModule, DragulaModule, LocalizationModule, ExtensionsModule, AccessControlModule, EsChartsModule,
|
|
143
143
|
EsWizardModule, EsCronModule, EsGertrudeModule, EsMatrixValuesModule, EsTagChooserModule, EsQueryBuilderModule, EsParametersModule, CurrencyMaskModule, FormsAndValidationsModule, EsTableModule], exports: [ContextMenuModule,
|
|
144
144
|
TimepickerModule, BsDropdownModule, TooltipModule, ProgressbarModule, DragulaModule, LocalizationModule, ExtensionsModule, AccessControlModule, EsChartsModule,
|
|
145
145
|
EsWizardModule, EsCronModule, EsGertrudeModule, EsMatrixValuesModule, EsTagChooserModule, EsQueryBuilderModule, EsParametersModule, CurrencyMaskModule, FormsAndValidationsModule, EsTableModule] });
|
|
146
|
-
SharedCommon.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.
|
|
146
|
+
SharedCommon.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SharedCommon, imports: [MODULES_TO_EXPORT, ContextMenuModule,
|
|
147
147
|
TimepickerModule, BsDropdownModule, TooltipModule, ProgressbarModule, DragulaModule, LocalizationModule, ExtensionsModule, AccessControlModule, EsChartsModule,
|
|
148
148
|
EsWizardModule, EsCronModule, EsGertrudeModule, EsMatrixValuesModule, EsTagChooserModule, EsQueryBuilderModule, EsParametersModule, CurrencyMaskModule, FormsAndValidationsModule, EsTableModule] });
|
|
149
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
149
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SharedCommon, decorators: [{
|
|
150
150
|
type: NgModule,
|
|
151
151
|
args: [{ imports: [...MODULES_TO_EXPORT], exports: [...MODULES_TO_EXPORT] }]
|
|
152
152
|
}] });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"esfaenza-core-modules.mjs","sources":["../../../projects/core/modules/src/classes/_base.module.ts","../../../projects/core/modules/src/classes/t_c.module.ts","../../../projects/core/modules/src/classes/_shared.module.ts","../../../projects/core/modules/src/esfaenza-core-modules.ts"],"sourcesContent":["// Angular\r\nimport { Injector } from \"@angular/core\";\r\nimport { Router, RoutesRecognized } from \"@angular/router\";\r\nimport { LocalizationService } from \"@esfaenza/localizations\";\r\n\r\n// RxJs\r\nimport { filter, take } from \"rxjs/operators\";\r\n\r\n// Application\r\nimport { AppState } from \"@esfaenza/core/services\";\r\n\r\nexport class BaseLazyModule {\r\n constructor(injector: Injector) {\r\n let _state = injector.get(AppState);\r\n let router = injector.get(Router);\r\n let moduleLoc = injector.get(LocalizationService, null, { optional: true });\r\n\r\n if (!moduleLoc)\r\n return;\r\n\r\n router.events.pipe(filter(event => event instanceof RoutesRecognized), take(1))\r\n .subscribe((route: RoutesRecognized) => {\r\n /*\r\n * Router State\r\n * V\r\n * Root (\"#\")\r\n * firstChild (url: [{path: \"pages\" | \"pages_ext\"}])\r\n * firstChild (url: [{path: \"{modulo}\"}])\r\n * \r\n * Attenzione: Se la prima navigazione avviene verso una pagina non applicativa (pagina di errore ecc) devo ignorare il caricamento della localizzazione\r\n * Sinceramente non pensavo che in quel caso sarebbe stato caricato un modulo lazy, ma tant'è\r\n */\r\n let modulePath = route.state.root.firstChild?.firstChild?.url?.[0]?.path;\r\n if (modulePath)\r\n _state.ModulesLocalizations[modulePath] = moduleLoc;\r\n })\r\n }\r\n}","// Angular\r\nimport { NgModule } from \"@angular/core\";\r\nimport { CommonModule } from \"@angular/common\";\r\nimport { FormsModule } from \"@angular/forms\";\r\nimport { RouterModule } from \"@angular/router\";\r\n\r\n// Moduli\r\nimport { ModalModule } from \"ngx-bootstrap/modal\";\r\n\r\n// Material\r\nimport { MatDatepickerModule } from '@angular/material/datepicker';\r\nimport { MatDayjsDateModule } from '@esfaenza/material-dayjs-adapter';\r\nimport { MatLegacyInputModule as MatInputModule } from \"@angular/material/legacy-input\";\r\nimport { MatLegacyButtonModule as MatButtonModule } from \"@angular/material/legacy-button\";\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { DragDropModule } from '@angular/cdk/drag-drop';\r\nimport { MatLegacySlideToggleModule as MatSlideToggleModule } from '@angular/material/legacy-slide-toggle';\r\n\r\n// Direttive\r\nimport { DirectivesModule } from \"@esfaenza/core/directives\";\r\n\r\n// Pipe\r\nimport { PipesModule } from \"@esfaenza/core/pipes\";\r\n\r\nconst MODULES_TO_EXPORT = [\r\n CommonModule,\r\n FormsModule,\r\n RouterModule,\r\n\r\n DirectivesModule,\r\n PipesModule,\r\n\r\n ModalModule,\r\n //Material\r\n MatInputModule,\r\n MatButtonModule,\r\n MatDatepickerModule,\r\n MatDayjsDateModule,\r\n MatIconModule,\r\n MatSlideToggleModule,\r\n DragDropModule\r\n];\r\n\r\n@NgModule({ imports: [...MODULES_TO_EXPORT], exports: [...MODULES_TO_EXPORT] })\r\nexport class TemplateCommon { }","// Angular\r\nimport { NgModule } from \"@angular/core\";\r\nimport { AccessControlModule } from \"@esfaenza/access-control\";\r\nimport { EsCronModule } from \"@esfaenza/cron\";\r\nimport { EsChartsModule } from \"@esfaenza/es-charts\";\r\nimport { EsTableModule } from \"@esfaenza/es-table\";\r\nimport { ExtensionsModule } from \"@esfaenza/extensions\";\r\nimport { FormsAndValidationsModule } from \"@esfaenza/forms-and-validations\";\r\nimport { EsGertrudeModule } from \"@esfaenza/gertrude\";\r\nimport { LocalizationModule } from \"@esfaenza/localizations\";\r\nimport { EsMatrixValuesModule } from \"@esfaenza/matrix-values\";\r\nimport { ContextMenuModule } from \"@esfaenza/ngx-contextmenu\";\r\nimport { CurrencyMaskModule } from \"@esfaenza/ngx-currency-mask\";\r\nimport { DragulaModule } from \"@esfaenza/ngx-dragula\";\r\nimport { EsParametersModule } from \"@esfaenza/parameters\";\r\nimport { EsQueryBuilderModule } from \"@esfaenza/query-builder\";\r\nimport { EsTagChooserModule } from \"@esfaenza/tag-chooser\";\r\nimport { EsWizardModule } from \"@esfaenza/wizard\";\r\nimport { BsDropdownModule } from \"ngx-bootstrap/dropdown\";\r\nimport { ProgressbarModule } from \"ngx-bootstrap/progressbar\";\r\nimport { TimepickerModule } from \"ngx-bootstrap/timepicker\";\r\nimport { TooltipModule } from \"ngx-bootstrap/tooltip\";\r\n\r\n\r\nconst MODULES_TO_EXPORT = [\r\n ContextMenuModule, \r\n TimepickerModule, BsDropdownModule, TooltipModule, ProgressbarModule, DragulaModule, LocalizationModule, ExtensionsModule, AccessControlModule, EsChartsModule,\r\n EsWizardModule, EsCronModule, EsGertrudeModule, EsMatrixValuesModule, EsTagChooserModule, EsQueryBuilderModule, EsParametersModule, CurrencyMaskModule, FormsAndValidationsModule, EsTableModule\r\n];\r\n\r\n@NgModule({ imports: [...MODULES_TO_EXPORT], exports: [...MODULES_TO_EXPORT] })\r\nexport class SharedCommon { }","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["MODULES_TO_EXPORT","MatInputModule","MatButtonModule","MatSlideToggleModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAWa,cAAc,CAAA;AACvB,IAAA,WAAA,CAAY,QAAkB,EAAA;QAC1B,IAAI,MAAM,GAAG,QAAQ,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;QACpC,IAAI,MAAM,GAAG,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AAClC,QAAA,IAAI,SAAS,GAAG,QAAQ,CAAC,GAAG,CAAC,mBAAmB,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC;AAE5E,QAAA,IAAI,CAAC,SAAS;YACV,OAAO;QAEX,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,IAAI,KAAK,YAAY,gBAAgB,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;AAC1E,aAAA,SAAS,CAAC,CAAC,KAAuB,KAAI;;AACnC;;;;;;;;;AASG;YACH,IAAI,UAAU,GAAG,CAAA,EAAA,GAAA,CAAA,EAAA,GAAA,MAAA,CAAA,EAAA,GAAA,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,MAAA,IAAA,IAAA,EAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAE,UAAU,MAAE,IAAA,IAAA,EAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAA,GAAG,0CAAG,CAAC,CAAC,MAAE,IAAA,IAAA,EAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAA,IAAI,CAAC;AACzE,YAAA,IAAI,UAAU;AACV,gBAAA,MAAM,CAAC,oBAAoB,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC;AAC5D,SAAC,CAAC,CAAA;KACT;AACJ;;ACrCD;AAwBA,MAAMA,mBAAiB,GAAG;IACtB,YAAY;IACZ,WAAW;IACX,YAAY;IAEZ,gBAAgB;IAChB,WAAW;IAEX,WAAW;;IAEXC,oBAAc;IACdC,qBAAe;IACf,mBAAmB;IACnB,kBAAkB;IAClB,aAAa;IACbC,0BAAoB;IACpB,cAAc;CACjB,CAAC;MAGW,cAAc,CAAA;;
|
|
1
|
+
{"version":3,"file":"esfaenza-core-modules.mjs","sources":["../../../projects/core/modules/src/classes/_base.module.ts","../../../projects/core/modules/src/classes/t_c.module.ts","../../../projects/core/modules/src/classes/_shared.module.ts","../../../projects/core/modules/src/esfaenza-core-modules.ts"],"sourcesContent":["// Angular\r\nimport { Injector } from \"@angular/core\";\r\nimport { Router, RoutesRecognized } from \"@angular/router\";\r\nimport { LocalizationService } from \"@esfaenza/localizations\";\r\n\r\n// RxJs\r\nimport { filter, take } from \"rxjs/operators\";\r\n\r\n// Application\r\nimport { AppState } from \"@esfaenza/core/services\";\r\n\r\nexport class BaseLazyModule {\r\n constructor(injector: Injector) {\r\n let _state = injector.get(AppState);\r\n let router = injector.get(Router);\r\n let moduleLoc = injector.get(LocalizationService, null, { optional: true });\r\n\r\n if (!moduleLoc)\r\n return;\r\n\r\n router.events.pipe(filter(event => event instanceof RoutesRecognized), take(1))\r\n .subscribe((route: RoutesRecognized) => {\r\n /*\r\n * Router State\r\n * V\r\n * Root (\"#\")\r\n * firstChild (url: [{path: \"pages\" | \"pages_ext\"}])\r\n * firstChild (url: [{path: \"{modulo}\"}])\r\n * \r\n * Attenzione: Se la prima navigazione avviene verso una pagina non applicativa (pagina di errore ecc) devo ignorare il caricamento della localizzazione\r\n * Sinceramente non pensavo che in quel caso sarebbe stato caricato un modulo lazy, ma tant'è\r\n */\r\n let modulePath = route.state.root.firstChild?.firstChild?.url?.[0]?.path;\r\n if (modulePath)\r\n _state.ModulesLocalizations[modulePath] = moduleLoc;\r\n })\r\n }\r\n}","// Angular\r\nimport { NgModule } from \"@angular/core\";\r\nimport { CommonModule } from \"@angular/common\";\r\nimport { FormsModule } from \"@angular/forms\";\r\nimport { RouterModule } from \"@angular/router\";\r\n\r\n// Moduli\r\nimport { ModalModule } from \"ngx-bootstrap/modal\";\r\n\r\n// Material\r\nimport { MatDatepickerModule } from '@angular/material/datepicker';\r\nimport { MatDayjsDateModule } from '@esfaenza/material-dayjs-adapter';\r\nimport { MatLegacyInputModule as MatInputModule } from \"@angular/material/legacy-input\";\r\nimport { MatLegacyButtonModule as MatButtonModule } from \"@angular/material/legacy-button\";\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { DragDropModule } from '@angular/cdk/drag-drop';\r\nimport { MatLegacySlideToggleModule as MatSlideToggleModule } from '@angular/material/legacy-slide-toggle';\r\n\r\n// Direttive\r\nimport { DirectivesModule } from \"@esfaenza/core/directives\";\r\n\r\n// Pipe\r\nimport { PipesModule } from \"@esfaenza/core/pipes\";\r\n\r\nconst MODULES_TO_EXPORT = [\r\n CommonModule,\r\n FormsModule,\r\n RouterModule,\r\n\r\n DirectivesModule,\r\n PipesModule,\r\n\r\n ModalModule,\r\n //Material\r\n MatInputModule,\r\n MatButtonModule,\r\n MatDatepickerModule,\r\n MatDayjsDateModule,\r\n MatIconModule,\r\n MatSlideToggleModule,\r\n DragDropModule\r\n];\r\n\r\n@NgModule({ imports: [...MODULES_TO_EXPORT], exports: [...MODULES_TO_EXPORT] })\r\nexport class TemplateCommon { }","// Angular\r\nimport { NgModule } from \"@angular/core\";\r\nimport { AccessControlModule } from \"@esfaenza/access-control\";\r\nimport { EsCronModule } from \"@esfaenza/cron\";\r\nimport { EsChartsModule } from \"@esfaenza/es-charts\";\r\nimport { EsTableModule } from \"@esfaenza/es-table\";\r\nimport { ExtensionsModule } from \"@esfaenza/extensions\";\r\nimport { FormsAndValidationsModule } from \"@esfaenza/forms-and-validations\";\r\nimport { EsGertrudeModule } from \"@esfaenza/gertrude\";\r\nimport { LocalizationModule } from \"@esfaenza/localizations\";\r\nimport { EsMatrixValuesModule } from \"@esfaenza/matrix-values\";\r\nimport { ContextMenuModule } from \"@esfaenza/ngx-contextmenu\";\r\nimport { CurrencyMaskModule } from \"@esfaenza/ngx-currency-mask\";\r\nimport { DragulaModule } from \"@esfaenza/ngx-dragula\";\r\nimport { EsParametersModule } from \"@esfaenza/parameters\";\r\nimport { EsQueryBuilderModule } from \"@esfaenza/query-builder\";\r\nimport { EsTagChooserModule } from \"@esfaenza/tag-chooser\";\r\nimport { EsWizardModule } from \"@esfaenza/wizard\";\r\nimport { BsDropdownModule } from \"ngx-bootstrap/dropdown\";\r\nimport { ProgressbarModule } from \"ngx-bootstrap/progressbar\";\r\nimport { TimepickerModule } from \"ngx-bootstrap/timepicker\";\r\nimport { TooltipModule } from \"ngx-bootstrap/tooltip\";\r\n\r\n\r\nconst MODULES_TO_EXPORT = [\r\n ContextMenuModule, \r\n TimepickerModule, BsDropdownModule, TooltipModule, ProgressbarModule, DragulaModule, LocalizationModule, ExtensionsModule, AccessControlModule, EsChartsModule,\r\n EsWizardModule, EsCronModule, EsGertrudeModule, EsMatrixValuesModule, EsTagChooserModule, EsQueryBuilderModule, EsParametersModule, CurrencyMaskModule, FormsAndValidationsModule, EsTableModule\r\n];\r\n\r\n@NgModule({ imports: [...MODULES_TO_EXPORT], exports: [...MODULES_TO_EXPORT] })\r\nexport class SharedCommon { }","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["MODULES_TO_EXPORT","MatInputModule","MatButtonModule","MatSlideToggleModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAWa,cAAc,CAAA;AACvB,IAAA,WAAA,CAAY,QAAkB,EAAA;Q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BAAmB,EAAE,cAAc;QAC9J,cAAc,EAAE,YAAY,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,yBAAyB,EAAE,aAAa,CAAA,EAAA,CAAA,CAAA;4FAIvL,YAAY,EAAA,UAAA,EAAA,CAAA;kBADxB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA,EAAE,OAAO,EAAE,CAAC,GAAG,iBAAiB,CAAC,EAAE,OAAO,EAAE,CAAC,GAAG,iBAAiB,CAAC,EAAE,CAAA;;;AC9B9E;;AAEG;;;;"}
|
|
@@ -10,9 +10,9 @@ class IncludedInPipe {
|
|
|
10
10
|
return list.includes(value);
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
|
-
IncludedInPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
14
|
-
IncludedInPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
13
|
+
IncludedInPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IncludedInPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
14
|
+
IncludedInPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: IncludedInPipe, isStandalone: true, name: "included_in" });
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IncludedInPipe, decorators: [{
|
|
16
16
|
type: Pipe,
|
|
17
17
|
args: [{
|
|
18
18
|
name: 'included_in',
|
|
@@ -28,9 +28,9 @@ class SafeHtmlPipe {
|
|
|
28
28
|
return this.sanitizer.bypassSecurityTrustHtml(value);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
-
SafeHtmlPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
32
|
-
SafeHtmlPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
31
|
+
SafeHtmlPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SafeHtmlPipe, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
32
|
+
SafeHtmlPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SafeHtmlPipe, isStandalone: true, name: "safe_html" });
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SafeHtmlPipe, decorators: [{
|
|
34
34
|
type: Pipe,
|
|
35
35
|
args: [{
|
|
36
36
|
name: 'safe_html',
|
|
@@ -46,9 +46,9 @@ class SafeScriptPipe {
|
|
|
46
46
|
return this.sanitizer.bypassSecurityTrustScript(value);
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
SafeScriptPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
50
|
-
SafeScriptPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.
|
|
51
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
49
|
+
SafeScriptPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SafeScriptPipe, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
50
|
+
SafeScriptPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SafeScriptPipe, isStandalone: true, name: "safe_script" });
|
|
51
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SafeScriptPipe, decorators: [{
|
|
52
52
|
type: Pipe,
|
|
53
53
|
args: [{
|
|
54
54
|
name: 'safe_script',
|
|
@@ -64,9 +64,9 @@ class SafeStylePipe {
|
|
|
64
64
|
return this.sanitizer.bypassSecurityTrustStyle(value);
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
|
-
SafeStylePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
68
|
-
SafeStylePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.
|
|
69
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
67
|
+
SafeStylePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SafeStylePipe, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
68
|
+
SafeStylePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SafeStylePipe, isStandalone: true, name: "safe_style" });
|
|
69
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SafeStylePipe, decorators: [{
|
|
70
70
|
type: Pipe,
|
|
71
71
|
args: [{
|
|
72
72
|
name: 'safe_style',
|
|
@@ -82,9 +82,9 @@ class SafeUrlPipe {
|
|
|
82
82
|
return this.sanitizer.bypassSecurityTrustUrl(value);
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
|
-
SafeUrlPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
86
|
-
SafeUrlPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.
|
|
87
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
85
|
+
SafeUrlPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SafeUrlPipe, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
86
|
+
SafeUrlPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SafeUrlPipe, isStandalone: true, name: "safe_url" });
|
|
87
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SafeUrlPipe, decorators: [{
|
|
88
88
|
type: Pipe,
|
|
89
89
|
args: [{
|
|
90
90
|
name: 'safe_url',
|
|
@@ -96,10 +96,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
96
96
|
const PIPES = [SafeStylePipe, SafeHtmlPipe, SafeScriptPipe, SafeUrlPipe, IncludedInPipe];
|
|
97
97
|
class PipesModule {
|
|
98
98
|
}
|
|
99
|
-
PipesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
100
|
-
PipesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.
|
|
101
|
-
PipesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.
|
|
102
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
99
|
+
PipesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PipesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
100
|
+
PipesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: PipesModule, imports: [SafeStylePipe, SafeHtmlPipe, SafeScriptPipe, SafeUrlPipe, IncludedInPipe], exports: [SafeStylePipe, SafeHtmlPipe, SafeScriptPipe, SafeUrlPipe, IncludedInPipe] });
|
|
101
|
+
PipesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PipesModule });
|
|
102
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PipesModule, decorators: [{
|
|
103
103
|
type: NgModule,
|
|
104
104
|
args: [{ imports: [...PIPES], exports: [...PIPES] }]
|
|
105
105
|
}] });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"esfaenza-core-pipes.mjs","sources":["../../../projects/core/pipes/src/classes/included_in.pipe.ts","../../../projects/core/pipes/src/classes/safe_html.pipe.ts","../../../projects/core/pipes/src/classes/safe_script.pipe.ts","../../../projects/core/pipes/src/classes/safe_style.pipe.ts","../../../projects/core/pipes/src/classes/safe_url.pipe.ts","../../../projects/core/pipes/src/pipes.module.ts","../../../projects/core/pipes/src/esfaenza-core-pipes.ts"],"sourcesContent":["// Angular\r\nimport { Pipe, PipeTransform } from \"@angular/core\";\r\n\r\n@Pipe({\r\n name: 'included_in',\r\n standalone: true\r\n})\r\nexport class IncludedInPipe implements PipeTransform {\r\n\r\n transform<T>(value: T, list: T[])\r\n transform(value: any, list: any[]): any {\r\n if (value == null || list == null || list.length == 0)\r\n return value;\r\n\r\n return list.includes(value);\r\n }\r\n}\r\n","// Angular\r\nimport { DomSanitizer } from \"@angular/platform-browser\";\r\nimport { Pipe, PipeTransform } from \"@angular/core\";\r\n\r\n@Pipe({\r\n name: 'safe_html',\r\n standalone: true\r\n})\r\nexport class SafeHtmlPipe implements PipeTransform {\r\n\r\n constructor(private sanitizer: DomSanitizer) { }\r\n\r\n transform(value) {\r\n return this.sanitizer.bypassSecurityTrustHtml(value);\r\n }\r\n}\r\n","// Angular\r\nimport { DomSanitizer } from \"@angular/platform-browser\";\r\nimport { Pipe, PipeTransform } from \"@angular/core\";\r\n\r\n@Pipe({\r\n name: 'safe_script',\r\n standalone: true\r\n})\r\nexport class SafeScriptPipe implements PipeTransform {\r\n\r\n constructor(private sanitizer: DomSanitizer) { }\r\n\r\n transform(value) {\r\n return this.sanitizer.bypassSecurityTrustScript(value);\r\n }\r\n}\r\n","// Angular\r\nimport { DomSanitizer } from \"@angular/platform-browser\";\r\nimport { Pipe, PipeTransform } from \"@angular/core\";\r\n\r\n@Pipe({\r\n name: 'safe_style',\r\n standalone: true\r\n})\r\nexport class SafeStylePipe implements PipeTransform {\r\n\r\n constructor(private sanitizer: DomSanitizer) { }\r\n\r\n transform(value) {\r\n return this.sanitizer.bypassSecurityTrustStyle(value);\r\n }\r\n}","// Angular\r\nimport { DomSanitizer } from \"@angular/platform-browser\";\r\nimport { Pipe, PipeTransform } from \"@angular/core\";\r\n\r\n@Pipe({\r\n name: 'safe_url',\r\n standalone: true\r\n})\r\nexport class SafeUrlPipe implements PipeTransform {\r\n\r\n constructor(private sanitizer: DomSanitizer) { }\r\n\r\n transform(value) {\r\n return this.sanitizer.bypassSecurityTrustUrl(value);\r\n }\r\n}\r\n","// Angular\r\nimport { NgModule } from \"@angular/core\";\r\n\r\n// Pipe\r\nimport { IncludedInPipe } from \"./classes/included_in.pipe\";\r\nimport { SafeHtmlPipe } from \"./classes/safe_html.pipe\";\r\nimport { SafeScriptPipe } from \"./classes/safe_script.pipe\";\r\nimport { SafeStylePipe } from \"./classes/safe_style.pipe\";\r\nimport { SafeUrlPipe } from \"./classes/safe_url.pipe\";\r\n\r\nconst PIPES = [SafeStylePipe, SafeHtmlPipe, SafeScriptPipe, SafeUrlPipe, IncludedInPipe];\r\n\r\n@NgModule({ imports: [...PIPES], exports: [...PIPES] })\r\nexport class PipesModule { }","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;AAAA;MAOa,cAAc,CAAA;IAGvB,SAAS,CAAC,KAAU,EAAE,IAAW,EAAA;AAC7B,QAAA,IAAI,KAAK,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,CAAC,MAAM,IAAI,CAAC;AACjD,YAAA,OAAO,KAAK,CAAC;AAEjB,QAAA,OAAO,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;KAC/B;;
|
|
1
|
+
{"version":3,"file":"esfaenza-core-pipes.mjs","sources":["../../../projects/core/pipes/src/classes/included_in.pipe.ts","../../../projects/core/pipes/src/classes/safe_html.pipe.ts","../../../projects/core/pipes/src/classes/safe_script.pipe.ts","../../../projects/core/pipes/src/classes/safe_style.pipe.ts","../../../projects/core/pipes/src/classes/safe_url.pipe.ts","../../../projects/core/pipes/src/pipes.module.ts","../../../projects/core/pipes/src/esfaenza-core-pipes.ts"],"sourcesContent":["// Angular\r\nimport { Pipe, PipeTransform } from \"@angular/core\";\r\n\r\n@Pipe({\r\n name: 'included_in',\r\n standalone: true\r\n})\r\nexport class IncludedInPipe implements PipeTransform {\r\n\r\n transform<T>(value: T, list: T[])\r\n transform(value: any, list: any[]): any {\r\n if (value == null || list == null || list.length == 0)\r\n return value;\r\n\r\n return list.includes(value);\r\n }\r\n}\r\n","// Angular\r\nimport { DomSanitizer } from \"@angular/platform-browser\";\r\nimport { Pipe, PipeTransform } from \"@angular/core\";\r\n\r\n@Pipe({\r\n name: 'safe_html',\r\n standalone: true\r\n})\r\nexport class SafeHtmlPipe implements PipeTransform {\r\n\r\n constructor(private sanitizer: DomSanitizer) { }\r\n\r\n transform(value) {\r\n return this.sanitizer.bypassSecurityTrustHtml(value);\r\n }\r\n}\r\n","// Angular\r\nimport { DomSanitizer } from \"@angular/platform-browser\";\r\nimport { Pipe, PipeTransform } from \"@angular/core\";\r\n\r\n@Pipe({\r\n name: 'safe_script',\r\n standalone: true\r\n})\r\nexport class SafeScriptPipe implements PipeTransform {\r\n\r\n constructor(private sanitizer: DomSanitizer) { }\r\n\r\n transform(value) {\r\n return this.sanitizer.bypassSecurityTrustScript(value);\r\n }\r\n}\r\n","// Angular\r\nimport { DomSanitizer } from \"@angular/platform-browser\";\r\nimport { Pipe, PipeTransform } from \"@angular/core\";\r\n\r\n@Pipe({\r\n name: 'safe_style',\r\n standalone: true\r\n})\r\nexport class SafeStylePipe implements PipeTransform {\r\n\r\n constructor(private sanitizer: DomSanitizer) { }\r\n\r\n transform(value) {\r\n return this.sanitizer.bypassSecurityTrustStyle(value);\r\n }\r\n}","// Angular\r\nimport { DomSanitizer } from \"@angular/platform-browser\";\r\nimport { Pipe, PipeTransform } from \"@angular/core\";\r\n\r\n@Pipe({\r\n name: 'safe_url',\r\n standalone: true\r\n})\r\nexport class SafeUrlPipe implements PipeTransform {\r\n\r\n constructor(private sanitizer: DomSanitizer) { }\r\n\r\n transform(value) {\r\n return this.sanitizer.bypassSecurityTrustUrl(value);\r\n }\r\n}\r\n","// Angular\r\nimport { NgModule } from \"@angular/core\";\r\n\r\n// Pipe\r\nimport { IncludedInPipe } from \"./classes/included_in.pipe\";\r\nimport { SafeHtmlPipe } from \"./classes/safe_html.pipe\";\r\nimport { SafeScriptPipe } from \"./classes/safe_script.pipe\";\r\nimport { SafeStylePipe } from \"./classes/safe_style.pipe\";\r\nimport { SafeUrlPipe } from \"./classes/safe_url.pipe\";\r\n\r\nconst PIPES = [SafeStylePipe, SafeHtmlPipe, SafeScriptPipe, SafeUrlPipe, IncludedInPipe];\r\n\r\n@NgModule({ imports: [...PIPES], exports: [...PIPES] })\r\nexport class PipesModule { }","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;AAAA;MAOa,cAAc,CAAA;IAGvB,SAAS,CAAC,KAAU,EAAE,IAAW,EAAA;AAC7B,QAAA,IAAI,KAAK,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,CAAC,MAAM,IAAI,CAAC;AACjD,YAAA,OAAO,KAAK,CAAC;AAEjB,QAAA,OAAO,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,CA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