@esfaenza/core 15.2.14 → 15.2.16
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/components/back-top/back-top.component.d.ts +1 -1
- package/components/breadcrumb/breadcrumb.component.d.ts +1 -1
- package/components/components.module.d.ts +26 -26
- package/components/error/404/pagenotfound.component.d.ts +1 -1
- package/components/error/500/servererror.component.d.ts +1 -1
- package/components/error/Angular/angularerror.component.d.ts +1 -1
- package/components/es-modal/es-modal-head/es-modal-head.component.d.ts +1 -1
- package/components/es-modal/es-modal.component.d.ts +1 -1
- package/components/external-page/external_pages.component.d.ts +1 -1
- package/components/jace-login/jace-login.component.d.ts +1 -2
- package/components/jace-resource/jace-resource.component.d.ts +1 -1
- package/components/navbar/modules-board/jace-modules-board.component.d.ts +1 -1
- package/components/navbar/navbar.component.d.ts +1 -1
- package/components/page/pages.component.d.ts +1 -1
- package/components/redirecter/redirecter.component.d.ts +1 -1
- package/components/sidebar/sidebar.component.d.ts +3 -3
- package/directives/componentHost/componentHost.directive.d.ts +1 -1
- package/directives/directives.module.d.ts +1 -1
- package/directives/draggable/draggable.directive.d.ts +1 -1
- package/directives/es-modal/es-modal.directive.d.ts +1 -1
- package/directives/es-routerLink/es-routerLink.directive.d.ts +1 -1
- package/directives/slim-scroll/slim-scroll.directive.d.ts +1 -1
- package/directives/widget/widget.directive.d.ts +1 -1
- package/esm2020/components/back-top/back-top.component.mjs +3 -3
- package/esm2020/components/base/base.component.mjs +2 -4
- package/esm2020/components/breadcrumb/breadcrumb.component.mjs +4 -4
- package/esm2020/components/components.module.mjs +5 -6
- package/esm2020/components/error/404/pagenotfound.component.mjs +3 -3
- 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 +3 -3
- package/esm2020/components/es-modal/es-modal.component.mjs +4 -4
- package/esm2020/components/external-page/external_pages.component.mjs +5 -3
- package/esm2020/components/jace-login/jace-login.component.mjs +4 -6
- 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.mjs +20 -14
- package/esm2020/components/page/pages.component.mjs +10 -7
- package/esm2020/components/redirecter/redirecter.component.mjs +4 -4
- package/esm2020/components/sidebar/sidebar.component.mjs +21 -18
- package/esm2020/directives/componentHost/componentHost.directive.mjs +6 -3
- package/esm2020/directives/directives.module.mjs +3 -3
- package/esm2020/directives/draggable/draggable.directive.mjs +9 -8
- package/esm2020/directives/es-modal/es-modal.directive.mjs +4 -3
- package/esm2020/directives/es-routerLink/es-routerLink.directive.mjs +4 -3
- package/esm2020/directives/slim-scroll/slim-scroll.directive.mjs +4 -3
- package/esm2020/directives/widget/widget.directive.mjs +4 -3
- package/esm2020/lib/app.component.mjs +5 -4
- package/esm2020/lib/core.module.mjs +5 -6
- package/esm2020/pipes/classes/included_in.pipe.mjs +6 -3
- package/esm2020/pipes/classes/safe_html.pipe.mjs +6 -3
- package/esm2020/pipes/classes/safe_script.pipe.mjs +6 -3
- package/esm2020/pipes/classes/safe_style.pipe.mjs +6 -3
- package/esm2020/pipes/classes/safe_url.pipe.mjs +6 -3
- package/esm2020/pipes/pipes.module.mjs +3 -3
- package/fesm2015/esfaenza-core-components.mjs +262 -267
- package/fesm2015/esfaenza-core-components.mjs.map +1 -1
- package/fesm2015/esfaenza-core-directives.mjs +27 -19
- package/fesm2015/esfaenza-core-directives.mjs.map +1 -1
- package/fesm2015/esfaenza-core-pipes.mjs +27 -12
- package/fesm2015/esfaenza-core-pipes.mjs.map +1 -1
- package/fesm2015/esfaenza-core.mjs +10 -11
- package/fesm2015/esfaenza-core.mjs.map +1 -1
- package/fesm2020/esfaenza-core-components.mjs +258 -263
- package/fesm2020/esfaenza-core-components.mjs.map +1 -1
- package/fesm2020/esfaenza-core-directives.mjs +27 -19
- package/fesm2020/esfaenza-core-directives.mjs.map +1 -1
- package/fesm2020/esfaenza-core-pipes.mjs +27 -12
- package/fesm2020/esfaenza-core-pipes.mjs.map +1 -1
- package/fesm2020/esfaenza-core.mjs +10 -11
- package/fesm2020/esfaenza-core.mjs.map +1 -1
- package/lib/app.component.d.ts +1 -1
- package/lib/core.module.d.ts +25 -25
- package/package.json +52 -10
- package/pipes/classes/included_in.pipe.d.ts +1 -1
- package/pipes/classes/safe_html.pipe.d.ts +1 -1
- package/pipes/classes/safe_script.pipe.d.ts +1 -1
- package/pipes/classes/safe_style.pipe.d.ts +1 -1
- package/pipes/classes/safe_url.pipe.d.ts +1 -1
- package/pipes/pipes.module.d.ts +1 -1
|
@@ -22,9 +22,9 @@ class Draggable {
|
|
|
22
22
|
var handle = this.handlerSelector || '.modal-header';
|
|
23
23
|
jQuery(this._elementRef.nativeElement).children(':first-child').draggable({
|
|
24
24
|
handle,
|
|
25
|
-
helper: function (
|
|
26
|
-
var oBody =
|
|
27
|
-
var containmentDiv =
|
|
25
|
+
helper: function (_, __) {
|
|
26
|
+
var oBody = jQuery(document).find('body');
|
|
27
|
+
var containmentDiv = jQuery('<div id="div_containment"></div>');
|
|
28
28
|
containmentDiv
|
|
29
29
|
.css('z-index', "-99999")
|
|
30
30
|
.css('top', "0")
|
|
@@ -35,8 +35,8 @@ class Draggable {
|
|
|
35
35
|
containmentDiv.appendTo(oBody);
|
|
36
36
|
return this;
|
|
37
37
|
},
|
|
38
|
-
stop: function (
|
|
39
|
-
|
|
38
|
+
stop: function (_, __) {
|
|
39
|
+
jQuery(document).filter('body').find('#div_containment').remove();
|
|
40
40
|
},
|
|
41
41
|
containment: this._state.Embedded ? "#div_containment" : null
|
|
42
42
|
});
|
|
@@ -44,11 +44,12 @@ class Draggable {
|
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
Draggable.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", 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.9", type: Draggable, selector: "[emaDraggable]", inputs: { handlerSelector: ["emaDraggable", "handlerSelector"] }, ngImport: i0 });
|
|
47
|
+
Draggable.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: Draggable, isStandalone: true, selector: "[emaDraggable]", inputs: { handlerSelector: ["emaDraggable", "handlerSelector"] }, ngImport: i0 });
|
|
48
48
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: Draggable, decorators: [{
|
|
49
49
|
type: Directive,
|
|
50
50
|
args: [{
|
|
51
|
-
selector: "[emaDraggable]"
|
|
51
|
+
selector: "[emaDraggable]",
|
|
52
|
+
standalone: true
|
|
52
53
|
}]
|
|
53
54
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i1.AppState }]; }, propDecorators: { handlerSelector: [{
|
|
54
55
|
type: Input,
|
|
@@ -81,11 +82,12 @@ class SlimScroll {
|
|
|
81
82
|
}
|
|
82
83
|
}
|
|
83
84
|
SlimScroll.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SlimScroll, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
84
|
-
SlimScroll.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: SlimScroll, selector: "[slim-scroll]", inputs: { slimScrollOptions: "slimScrollOptions" }, usesOnChanges: true, ngImport: i0 });
|
|
85
|
+
SlimScroll.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: SlimScroll, isStandalone: true, selector: "[slim-scroll]", inputs: { slimScrollOptions: "slimScrollOptions" }, usesOnChanges: true, ngImport: i0 });
|
|
85
86
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SlimScroll, decorators: [{
|
|
86
87
|
type: Directive,
|
|
87
88
|
args: [{
|
|
88
|
-
selector: "[slim-scroll]"
|
|
89
|
+
selector: "[slim-scroll]",
|
|
90
|
+
standalone: true
|
|
89
91
|
}]
|
|
90
92
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { slimScrollOptions: [{
|
|
91
93
|
type: Input
|
|
@@ -114,11 +116,12 @@ class EsRouterLink extends RouterLink {
|
|
|
114
116
|
}
|
|
115
117
|
}
|
|
116
118
|
EsRouterLink.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", 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 });
|
|
117
|
-
EsRouterLink.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: EsRouterLink, selector: "[esRouterLink]", inputs: { esRouterLink: "esRouterLink" }, usesInheritance: true, ngImport: i0 });
|
|
119
|
+
EsRouterLink.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: EsRouterLink, isStandalone: true, selector: "[esRouterLink]", inputs: { esRouterLink: "esRouterLink" }, usesInheritance: true, ngImport: i0 });
|
|
118
120
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EsRouterLink, decorators: [{
|
|
119
121
|
type: Directive,
|
|
120
122
|
args: [{
|
|
121
|
-
selector: "[esRouterLink]"
|
|
123
|
+
selector: "[esRouterLink]",
|
|
124
|
+
standalone: true
|
|
122
125
|
}]
|
|
123
126
|
}], ctorParameters: function () {
|
|
124
127
|
return [{ type: i1.AppState }, { type: i2.Router }, { type: i2.ActivatedRoute }, { type: undefined, decorators: [{
|
|
@@ -155,11 +158,12 @@ class Widget {
|
|
|
155
158
|
}
|
|
156
159
|
}
|
|
157
160
|
Widget.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: Widget, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
158
|
-
Widget.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: Widget, selector: "[widget]", ngImport: i0 });
|
|
161
|
+
Widget.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: Widget, isStandalone: true, selector: "[widget]", ngImport: i0 });
|
|
159
162
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: Widget, decorators: [{
|
|
160
163
|
type: Directive,
|
|
161
164
|
args: [{
|
|
162
|
-
selector: "[widget]"
|
|
165
|
+
selector: "[widget]",
|
|
166
|
+
standalone: true
|
|
163
167
|
}]
|
|
164
168
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
165
169
|
|
|
@@ -177,10 +181,13 @@ class ComponentHostDirective {
|
|
|
177
181
|
}
|
|
178
182
|
}
|
|
179
183
|
ComponentHostDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ComponentHostDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
180
|
-
ComponentHostDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: ComponentHostDirective, selector: "[componentHost]", inputs: { componentHost: "componentHost", Inputs: "Inputs" }, ngImport: i0 });
|
|
184
|
+
ComponentHostDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: ComponentHostDirective, isStandalone: true, selector: "[componentHost]", inputs: { componentHost: "componentHost", Inputs: "Inputs" }, ngImport: i0 });
|
|
181
185
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ComponentHostDirective, decorators: [{
|
|
182
186
|
type: Directive,
|
|
183
|
-
args: [{
|
|
187
|
+
args: [{
|
|
188
|
+
selector: '[componentHost]',
|
|
189
|
+
standalone: true
|
|
190
|
+
}]
|
|
184
191
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { componentHost: [{
|
|
185
192
|
type: Input
|
|
186
193
|
}], Inputs: [{
|
|
@@ -245,12 +252,13 @@ class EsModalDirective extends ModalDirective {
|
|
|
245
252
|
}
|
|
246
253
|
}
|
|
247
254
|
EsModalDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", 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 });
|
|
248
|
-
EsModalDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: EsModalDirective, selector: "[esModal]", exportAs: ["es-modal"], usesInheritance: true, ngImport: i0 });
|
|
255
|
+
EsModalDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: EsModalDirective, isStandalone: true, selector: "[esModal]", exportAs: ["es-modal"], usesInheritance: true, ngImport: i0 });
|
|
249
256
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EsModalDirective, decorators: [{
|
|
250
257
|
type: Directive,
|
|
251
258
|
args: [{
|
|
252
259
|
selector: '[esModal]',
|
|
253
|
-
exportAs: 'es-modal'
|
|
260
|
+
exportAs: 'es-modal',
|
|
261
|
+
standalone: true
|
|
254
262
|
}]
|
|
255
263
|
}], ctorParameters: function () {
|
|
256
264
|
return [{ type: i1.AppState }, { type: i0.ElementRef }, { type: i0.ViewContainerRef }, { type: i0.Renderer2 }, { type: i2$1.ComponentLoaderFactory }, { type: i3$1.ModalOptions, decorators: [{
|
|
@@ -266,11 +274,11 @@ const DIRECTIVES = [Draggable, SlimScroll, Widget, EsRouterLink, ComponentHostDi
|
|
|
266
274
|
class DirectivesModule {
|
|
267
275
|
}
|
|
268
276
|
DirectivesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DirectivesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
269
|
-
DirectivesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: DirectivesModule,
|
|
277
|
+
DirectivesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: DirectivesModule, imports: [Draggable, SlimScroll, Widget, EsRouterLink, ComponentHostDirective, EsModalDirective], exports: [Draggable, SlimScroll, Widget, EsRouterLink, ComponentHostDirective, EsModalDirective] });
|
|
270
278
|
DirectivesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DirectivesModule });
|
|
271
279
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DirectivesModule, decorators: [{
|
|
272
280
|
type: NgModule,
|
|
273
|
-
args: [{ imports: [
|
|
281
|
+
args: [{ imports: [...DIRECTIVES], exports: [...DIRECTIVES] }]
|
|
274
282
|
}] });
|
|
275
283
|
|
|
276
284
|
/**
|
|
@@ -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\ndeclare var $;\r\n\r\n@Directive({\r\n selector: \"[emaDraggable]\"\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 (event, ui) {\r\n var oBody = $(document).find('body');\r\n var containmentDiv = $('<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 (event, ui) {\r\n $(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})\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})\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})\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({ selector: '[componentHost]' })\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})\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: [], declarations: [...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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,MAAM,UAAU,GAAG,CAAC,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,YAAY,EAAE,sBAAsB,EAAE,gBAAgB,CAAC,CAAC;MAG9F,gBAAgB,CAAA;;6GAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;8GAAhB,gBAAgB,EAAA,YAAA,EAAA,CAHT,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,YAAY,EAAE,sBAAsB,EAAE,gBAAgB,CAArF,EAAA,OAAA,EAAA,CAAA,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,YAAY,EAAE,sBAAsB,EAAE,gBAAgB,CAAA,EAAA,CAAA,CAAA;8GAG5F,gBAAgB,EAAA,CAAA,CAAA;2FAAhB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAD5B,QAAQ;YAAC,IAAA,EAAA,CAAA,EAAE,OAAO,EAAE,EAAE,EAAE,YAAY,EAAE,CAAC,GAAG,UAAU,CAAC,EAAE,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC,EAAE,CAAA;;;ACblF;;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,c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M;+BAAC,6BAA6B,CAAA;;;;ACzBzM;AAWA,MAAM,UAAU,GAAG,CAAC,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,YAAY,EAAE,sBAAsB,EAAE,gBAAgB,CAAC,CAAC;MAG9F,gBAAgB,CAAA;;6GAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;8GAAhB,gBAAgB,EAAA,OAAA,EAAA,CAHT,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,YAAY,EAAE,sBAAsB,EAAE,gBAAgB,CAArF,EAAA,OAAA,EAAA,CAAA,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,YAAY,EAAE,sBAAsB,EAAE,gBAAgB,CAAA,EAAA,CAAA,CAAA;8GAG5F,gBAAgB,EAAA,CAAA,CAAA;2FAAhB,gBAAgB,EAAA,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;;;;"}
|
|
@@ -11,10 +11,13 @@ class IncludedInPipe {
|
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
IncludedInPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IncludedInPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
14
|
-
IncludedInPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: IncludedInPipe, name: "included_in" });
|
|
14
|
+
IncludedInPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: IncludedInPipe, isStandalone: true, name: "included_in" });
|
|
15
15
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: IncludedInPipe, decorators: [{
|
|
16
16
|
type: Pipe,
|
|
17
|
-
args: [{
|
|
17
|
+
args: [{
|
|
18
|
+
name: 'included_in',
|
|
19
|
+
standalone: true
|
|
20
|
+
}]
|
|
18
21
|
}] });
|
|
19
22
|
|
|
20
23
|
class SafeHtmlPipe {
|
|
@@ -26,10 +29,13 @@ class SafeHtmlPipe {
|
|
|
26
29
|
}
|
|
27
30
|
}
|
|
28
31
|
SafeHtmlPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SafeHtmlPipe, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
29
|
-
SafeHtmlPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: SafeHtmlPipe, name: "safe_html" });
|
|
32
|
+
SafeHtmlPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: SafeHtmlPipe, isStandalone: true, name: "safe_html" });
|
|
30
33
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SafeHtmlPipe, decorators: [{
|
|
31
34
|
type: Pipe,
|
|
32
|
-
args: [{
|
|
35
|
+
args: [{
|
|
36
|
+
name: 'safe_html',
|
|
37
|
+
standalone: true
|
|
38
|
+
}]
|
|
33
39
|
}], ctorParameters: function () { return [{ type: i1.DomSanitizer }]; } });
|
|
34
40
|
|
|
35
41
|
class SafeScriptPipe {
|
|
@@ -41,10 +47,13 @@ class SafeScriptPipe {
|
|
|
41
47
|
}
|
|
42
48
|
}
|
|
43
49
|
SafeScriptPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SafeScriptPipe, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
44
|
-
SafeScriptPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: SafeScriptPipe, name: "safe_script" });
|
|
50
|
+
SafeScriptPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: SafeScriptPipe, isStandalone: true, name: "safe_script" });
|
|
45
51
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SafeScriptPipe, decorators: [{
|
|
46
52
|
type: Pipe,
|
|
47
|
-
args: [{
|
|
53
|
+
args: [{
|
|
54
|
+
name: 'safe_script',
|
|
55
|
+
standalone: true
|
|
56
|
+
}]
|
|
48
57
|
}], ctorParameters: function () { return [{ type: i1.DomSanitizer }]; } });
|
|
49
58
|
|
|
50
59
|
class SafeStylePipe {
|
|
@@ -56,10 +65,13 @@ class SafeStylePipe {
|
|
|
56
65
|
}
|
|
57
66
|
}
|
|
58
67
|
SafeStylePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SafeStylePipe, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
59
|
-
SafeStylePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: SafeStylePipe, name: "safe_style" });
|
|
68
|
+
SafeStylePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: SafeStylePipe, isStandalone: true, name: "safe_style" });
|
|
60
69
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SafeStylePipe, decorators: [{
|
|
61
70
|
type: Pipe,
|
|
62
|
-
args: [{
|
|
71
|
+
args: [{
|
|
72
|
+
name: 'safe_style',
|
|
73
|
+
standalone: true
|
|
74
|
+
}]
|
|
63
75
|
}], ctorParameters: function () { return [{ type: i1.DomSanitizer }]; } });
|
|
64
76
|
|
|
65
77
|
class SafeUrlPipe {
|
|
@@ -71,10 +83,13 @@ class SafeUrlPipe {
|
|
|
71
83
|
}
|
|
72
84
|
}
|
|
73
85
|
SafeUrlPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SafeUrlPipe, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
74
|
-
SafeUrlPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: SafeUrlPipe, name: "safe_url" });
|
|
86
|
+
SafeUrlPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: SafeUrlPipe, isStandalone: true, name: "safe_url" });
|
|
75
87
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SafeUrlPipe, decorators: [{
|
|
76
88
|
type: Pipe,
|
|
77
|
-
args: [{
|
|
89
|
+
args: [{
|
|
90
|
+
name: 'safe_url',
|
|
91
|
+
standalone: true
|
|
92
|
+
}]
|
|
78
93
|
}], ctorParameters: function () { return [{ type: i1.DomSanitizer }]; } });
|
|
79
94
|
|
|
80
95
|
// Angular
|
|
@@ -82,11 +97,11 @@ const PIPES = [SafeStylePipe, SafeHtmlPipe, SafeScriptPipe, SafeUrlPipe, Include
|
|
|
82
97
|
class PipesModule {
|
|
83
98
|
}
|
|
84
99
|
PipesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PipesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
85
|
-
PipesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: PipesModule,
|
|
100
|
+
PipesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: PipesModule, imports: [SafeStylePipe, SafeHtmlPipe, SafeScriptPipe, SafeUrlPipe, IncludedInPipe], exports: [SafeStylePipe, SafeHtmlPipe, SafeScriptPipe, SafeUrlPipe, IncludedInPipe] });
|
|
86
101
|
PipesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PipesModule });
|
|
87
102
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PipesModule, decorators: [{
|
|
88
103
|
type: NgModule,
|
|
89
|
-
args: [{ imports: [
|
|
104
|
+
args: [{ imports: [...PIPES], exports: [...PIPES] }]
|
|
90
105
|
}] });
|
|
91
106
|
|
|
92
107
|
/**
|
|
@@ -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({
|
|
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;;2GARQ,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;yGAAd,cAAc,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,aAAA,EAAA,CAAA,CAAA;2FAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAJ1B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,IAAI,EAAE,aAAa;AACnB,oBAAA,UAAU,EAAE,IAAI;iBACnB,CAAA;;;MCEY,YAAY,CAAA;AAErB,IAAA,WAAA,CAAoB,SAAuB,EAAA;AAAvB,QAAA,IAAS,CAAA,SAAA,GAAT,SAAS,CAAc;KAAK;AAEhD,IAAA,SAAS,CAAC,KAAK,EAAA;QACX,OAAO,IAAI,CAAC,SAAS,CAAC,uBAAuB,CAAC,KAAK,CAAC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