@esfaenza/core 15.2.125 → 15.2.127

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.
Files changed (28) hide show
  1. package/components/base/base.component.d.ts +3 -0
  2. package/components/base/embedding.component.d.ts +1 -0
  3. package/directives/directives.module.d.ts +1 -1
  4. package/directives/es-routerLink/es-routerLink.directive.d.ts +5 -4
  5. package/esm2020/components/base/base.component.mjs +14 -9
  6. package/esm2020/components/base/embedding.component.mjs +8 -3
  7. package/esm2020/components/base/reactive.component.mjs +3 -1
  8. package/esm2020/directives/directives.module.mjs +4 -4
  9. package/esm2020/directives/es-routerLink/es-routerLink.directive.mjs +23 -12
  10. package/esm2020/lib/app.component.mjs +2 -2
  11. package/esm2020/services/classes/app.state.mjs +4 -1
  12. package/fesm2015/esfaenza-core-components.mjs +22 -11
  13. package/fesm2015/esfaenza-core-components.mjs.map +1 -1
  14. package/fesm2015/esfaenza-core-directives.mjs +25 -14
  15. package/fesm2015/esfaenza-core-directives.mjs.map +1 -1
  16. package/fesm2015/esfaenza-core-services.mjs +3 -0
  17. package/fesm2015/esfaenza-core-services.mjs.map +1 -1
  18. package/fesm2015/esfaenza-core.mjs +2 -2
  19. package/fesm2015/esfaenza-core.mjs.map +1 -1
  20. package/fesm2020/esfaenza-core-components.mjs +22 -11
  21. package/fesm2020/esfaenza-core-components.mjs.map +1 -1
  22. package/fesm2020/esfaenza-core-directives.mjs +25 -14
  23. package/fesm2020/esfaenza-core-directives.mjs.map +1 -1
  24. package/fesm2020/esfaenza-core-services.mjs +3 -0
  25. package/fesm2020/esfaenza-core-services.mjs.map +1 -1
  26. package/fesm2020/esfaenza-core.mjs +2 -2
  27. package/fesm2020/esfaenza-core.mjs.map +1 -1
  28. package/package.json +2 -2
@@ -1,9 +1,9 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Directive, Input, Attribute, Optional, Inject, NgModule } from '@angular/core';
2
+ import { Directive, Input, Attribute, HostListener, Optional, Inject, NgModule } from '@angular/core';
3
3
  import * as i1 from '@esfaenza/extensions';
4
4
  import 'jquery-slimscroll';
5
5
  import * as i2 from '@angular/router';
6
- import { RouterLink } from '@angular/router';
6
+ import { RouterLinkWithHref } from '@angular/router';
7
7
  import { EMBEDDED_ROUTE, ROUTE } from '@esfaenza/core/domain';
8
8
  import * as i3 from '@angular/common';
9
9
  import * as i3$1 from 'ngx-bootstrap/modal';
@@ -93,34 +93,42 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
93
93
  type: Input
94
94
  }] } });
95
95
 
96
- class EsRouterLink extends RouterLink {
96
+ class esRouterLinkWithHref extends RouterLinkWithHref {
97
97
  constructor(emb, router, route, tabIndexAttribute, renderer, el, locationStrategy) {
98
98
  super(router, route, tabIndexAttribute, renderer, el, locationStrategy);
99
99
  this.emb = emb;
100
100
  }
101
101
  set esRouterLink(commands) {
102
- // Sarebbe bello poterlo de-cablare e prenderle dal Basecomponent.
103
- // In quel caso è onere del BaseComponent iniettare la BasePath, il problema è che è una classe astratta e i provider non vengono valutati...
104
102
  let BasePath = "/" + (this.emb.Embedded ? EMBEDDED_ROUTE : ROUTE);
105
103
  if (commands != null) {
106
104
  this.commands = Array.isArray(commands) ? commands : [commands];
107
105
  let route = this.commands[0];
108
106
  if (!route.startsWith("/" + EMBEDDED_ROUTE) && !route.startsWith("/" + ROUTE))
109
107
  this.commands[0] = BasePath + this.commands[0];
110
- this.setTabIndexIfNotOnNativeEl('0');
111
108
  }
112
109
  else {
113
110
  this.commands = null;
114
- this.setTabIndexIfNotOnNativeEl(null);
115
111
  }
116
112
  }
113
+ onClick(button, ctrlKey, shiftKey, altKey, metaKey) {
114
+ if (this.emb.Embedded) {
115
+ let url = this.urlTree.toString().replace(EMBEDDED_ROUTE, ROUTE + "/" + myconfig.AppData.ModuleId);
116
+ this.emb.MainWindow.postMessage({ type: "navigate", url, newTab: ctrlKey, replaceState: !ctrlKey }, "*");
117
+ if (!ctrlKey)
118
+ return super.onClick(button, ctrlKey, shiftKey, altKey, metaKey);
119
+ else
120
+ return false;
121
+ }
122
+ else
123
+ return super.onClick(button, ctrlKey, shiftKey, altKey, metaKey);
124
+ }
117
125
  }
118
- EsRouterLink.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EsRouterLink, deps: [{ token: i1.AppEmbeddingExtensions }, { 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.9", type: EsRouterLink, isStandalone: true, selector: "[esRouterLink]", inputs: { esRouterLink: "esRouterLink" }, usesInheritance: true, ngImport: i0 });
120
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EsRouterLink, decorators: [{
126
+ esRouterLinkWithHref.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: esRouterLinkWithHref, deps: [{ token: i1.AppEmbeddingExtensions }, { token: i2.Router }, { token: i2.ActivatedRoute }, { token: 'tabindex', attribute: true }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i3.LocationStrategy }], target: i0.ɵɵFactoryTarget.Directive });
127
+ esRouterLinkWithHref.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: esRouterLinkWithHref, isStandalone: true, selector: "a[esRouterLink],area[esRouterLink]", inputs: { esRouterLink: "esRouterLink" }, host: { listeners: { "click": "onClick($event.button,$event.ctrlKey,$event.shiftKey,$event.altKey,$event.metaKey)" } }, usesInheritance: true, ngImport: i0 });
128
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: esRouterLinkWithHref, decorators: [{
121
129
  type: Directive,
122
130
  args: [{
123
- selector: "[esRouterLink]",
131
+ selector: 'a[esRouterLink],area[esRouterLink]',
124
132
  standalone: true
125
133
  }]
126
134
  }], ctorParameters: function () {
@@ -130,6 +138,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
130
138
  }] }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i3.LocationStrategy }];
131
139
  }, propDecorators: { esRouterLink: [{
132
140
  type: Input
141
+ }], onClick: [{
142
+ type: HostListener,
143
+ args: ['click', ['$event.button', '$event.ctrlKey', '$event.shiftKey', '$event.altKey', '$event.metaKey']]
133
144
  }] } });
134
145
 
135
146
  // Angular
@@ -270,11 +281,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
270
281
  } });
271
282
 
272
283
  // Angular
273
- const DIRECTIVES = [Draggable, SlimScroll, Widget, EsRouterLink, ComponentHostDirective, EsModalDirective];
284
+ const DIRECTIVES = [Draggable, SlimScroll, Widget, esRouterLinkWithHref, ComponentHostDirective, EsModalDirective];
274
285
  class DirectivesModule {
275
286
  }
276
287
  DirectivesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DirectivesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
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] });
288
+ DirectivesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: DirectivesModule, imports: [Draggable, SlimScroll, Widget, esRouterLinkWithHref, ComponentHostDirective, EsModalDirective], exports: [Draggable, SlimScroll, Widget, esRouterLinkWithHref, ComponentHostDirective, EsModalDirective] });
278
289
  DirectivesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DirectivesModule });
279
290
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DirectivesModule, decorators: [{
280
291
  type: NgModule,
@@ -285,5 +296,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
285
296
  * Generated bundle index. Do not edit.
286
297
  */
287
298
 
288
- export { ComponentHostDirective, DirectivesModule, Draggable, EsModalDirective, EsRouterLink, SlimScroll, Widget };
299
+ export { ComponentHostDirective, DirectivesModule, Draggable, EsModalDirective, SlimScroll, Widget, esRouterLinkWithHref };
289
300
  //# sourceMappingURL=esfaenza-core-directives.mjs.map
@@ -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 { AppEmbeddingExtensions } from \"@esfaenza/extensions\";\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 emb: AppEmbeddingExtensions) { }\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.emb.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 { AppEmbeddingExtensions } from \"@esfaenza/extensions\";\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 emb: AppEmbeddingExtensions,\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.emb.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 { AppEmbeddingExtensions } from \"@esfaenza/extensions\";\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 emb: AppEmbeddingExtensions, _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.emb.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.emb.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.emb.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.emb.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.emb.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,GAA2B,EAAA;AAAlF,QAAA,IAAW,CAAA,WAAA,GAAX,WAAW,CAAY;AAAU,QAAA,IAAI,CAAA,IAAA,GAAJ,IAAI,CAAQ;AAAU,QAAA,IAAG,CAAA,GAAA,GAAH,GAAG,CAAwB;KAAK;IAE3G,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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C,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;;;;"}
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 { AppEmbeddingExtensions } from \"@esfaenza/extensions\";\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 emb: AppEmbeddingExtensions) { }\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.emb.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, HostListener, Input, Renderer2 } from \"@angular/core\";\r\nimport { ActivatedRoute, Router, RouterLinkWithHref } from \"@angular/router\";\r\nimport { EMBEDDED_ROUTE, EnvOptions, ROUTE } from \"@esfaenza/core/domain\";\r\nimport { AppEmbeddingExtensions } from \"@esfaenza/extensions\";\r\n\r\ndeclare var myconfig: EnvOptions;\r\n\r\n@Directive({\r\n selector: 'a[esRouterLink],area[esRouterLink]',\r\n standalone: true\r\n})\r\nexport class esRouterLinkWithHref extends RouterLinkWithHref {\r\n\r\n constructor(\r\n private emb: AppEmbeddingExtensions,\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 let BasePath = \"/\" + (this.emb.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 } else {\r\n (this as any).commands = null;\r\n }\r\n }\r\n\r\n @HostListener('click', ['$event.button', '$event.ctrlKey', '$event.shiftKey', '$event.altKey', '$event.metaKey'])\r\n override onClick(button: number, ctrlKey: boolean, shiftKey: boolean, altKey: boolean, metaKey: boolean): boolean {\r\n if (this.emb.Embedded) {\r\n let url = this.urlTree.toString().replace(EMBEDDED_ROUTE, ROUTE + \"/\" + myconfig.AppData.ModuleId);\r\n this.emb.MainWindow.postMessage({ type: \"navigate\", url, newTab: ctrlKey, replaceState: !ctrlKey }, \"*\");\r\n\r\n if (!ctrlKey)\r\n return super.onClick(button, ctrlKey, shiftKey, altKey, metaKey);\r\n else\r\n return false;\r\n }\r\n else\r\n return super.onClick(button, ctrlKey, shiftKey, altKey, metaKey);\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 { AppEmbeddingExtensions } from \"@esfaenza/extensions\";\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 emb: AppEmbeddingExtensions, _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.emb.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.emb.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.emb.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.emb.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.emb.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 { esRouterLinkWithHref } 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, esRouterLinkWithHref, 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,GAA2B,EAAA;AAAlF,QAAA,IAAW,CAAA,WAAA,GAAX,WAAW,CAAY;AAAU,QAAA,IAAI,CAAA,IAAA,GAA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AAU,GAAG,CAAC,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,gBAAgB,CAAC,CAAC;MAGtG,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,oBAAoB,EAAE,sBAAsB,EAAE,gBAAgB,CAA7F,EAAA,OAAA,EAAA,CAAA,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,gBAAgB,CAAA,EAAA,CAAA,CAAA;8GAGpG,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;;;;"}
@@ -1207,6 +1207,9 @@ class AppState {
1207
1207
  var navigationOp = ((_a = event === null || event === void 0 ? void 0 : event.data) === null || _a === void 0 ? void 0 : _a.internalNavigation) ? "menu.adjustSubNavigationTo" : "menu.adjustNavigationTo";
1208
1208
  this.notifyDataChanged(navigationOp, (_b = event === null || event === void 0 ? void 0 : event.data) === null || _b === void 0 ? void 0 : _b.title);
1209
1209
  });
1210
+ this.emb.MessageObserver.pipe(filter(ev => ev.event == "window-message")).subscribe(event => {
1211
+ this.notifyDataChanged("window-message", event === null || event === void 0 ? void 0 : event.data);
1212
+ });
1210
1213
  this._data.pipe(filter(e => e.event == "menu.isCollapsed")).subscribe(_ => {
1211
1214
  this.emb.refreshBoundariesOnMenuCollapse();
1212
1215
  });