@edm-sdui/sdui 1.0.15 → 1.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,12 +1,13 @@
1
1
  import * as i0 from '@angular/core';
2
- import { InjectionToken, Injectable, Optional, Inject, Injector, Component, Input, Directive, HostListener, inject, ViewChild, NgModule, EventEmitter, ChangeDetectionStrategy, Output } from '@angular/core';
2
+ import { InjectionToken, Injectable, Optional, Inject, Injector, Component, Input, EventEmitter, Output, Directive, HostListener, inject, ViewChild, NgModule, ChangeDetectionStrategy } from '@angular/core';
3
3
  import * as i1$1 from '@angular/common';
4
4
  import { CommonModule } from '@angular/common';
5
- import * as i1$2 from '@angular/router';
5
+ import * as i1$3 from '@angular/router';
6
6
  import { RouterModule } from '@angular/router';
7
7
  import { map, BehaviorSubject, finalize, catchError, of } from 'rxjs';
8
8
  import * as i1 from '@angular/common/http';
9
9
  import { tap } from 'rxjs/operators';
10
+ import * as i1$2 from '@angular/platform-browser';
10
11
 
11
12
  var UIScreenIdentifier;
12
13
  (function (UIScreenIdentifier) {
@@ -401,11 +402,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
401
402
 
402
403
  class UINavigationComponent {
403
404
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UINavigationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
404
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: UINavigationComponent, selector: "edm-sdui-navigation", inputs: { uiNavigation: "uiNavigation" }, ngImport: i0, template: "<div class=\"nav-main\" *ngIf=\"uiNavigation\">\n <h1 *ngIf=\"uiNavigation.title\">{{ uiNavigation.title }}</h1>\n\n <edm-sdui-component\n [uiComponent]=\"uiNavigation.titleComponent\"\n *ngIf=\"uiNavigation.titleComponent\"\n ></edm-sdui-component>\n</div>\n", styles: [":host{display:contents}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: UIComponentComponent, selector: "edm-sdui-component", inputs: ["uiComponent", "translateLabel"] }] }); }
405
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: UINavigationComponent, selector: "edm-sdui-navigation", inputs: { uiNavigation: "uiNavigation" }, ngImport: i0, template: "<div class=\"nav-main\" *ngIf=\"uiNavigation\">\n <h2 *ngIf=\"uiNavigation.title\">{{ uiNavigation.title }}</h2>\n\n <edm-sdui-component\n [uiComponent]=\"uiNavigation.titleComponent\"\n *ngIf=\"uiNavigation.titleComponent\"\n ></edm-sdui-component>\n</div>\n", styles: [":host{display:contents}.nav-main h2{text-align:center}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: UIComponentComponent, selector: "edm-sdui-component", inputs: ["uiComponent", "translateLabel"] }] }); }
405
406
  }
406
407
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UINavigationComponent, decorators: [{
407
408
  type: Component,
408
- args: [{ selector: 'edm-sdui-navigation', standalone: false, template: "<div class=\"nav-main\" *ngIf=\"uiNavigation\">\n <h1 *ngIf=\"uiNavigation.title\">{{ uiNavigation.title }}</h1>\n\n <edm-sdui-component\n [uiComponent]=\"uiNavigation.titleComponent\"\n *ngIf=\"uiNavigation.titleComponent\"\n ></edm-sdui-component>\n</div>\n", styles: [":host{display:contents}\n"] }]
409
+ args: [{ selector: 'edm-sdui-navigation', standalone: false, template: "<div class=\"nav-main\" *ngIf=\"uiNavigation\">\n <h2 *ngIf=\"uiNavigation.title\">{{ uiNavigation.title }}</h2>\n\n <edm-sdui-component\n [uiComponent]=\"uiNavigation.titleComponent\"\n *ngIf=\"uiNavigation.titleComponent\"\n ></edm-sdui-component>\n</div>\n", styles: [":host{display:contents}.nav-main h2{text-align:center}\n"] }]
409
410
  }], propDecorators: { uiNavigation: [{
410
411
  type: Input
411
412
  }] } });
@@ -945,10 +946,64 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
945
946
  args: [{ providedIn: 'root' }]
946
947
  }] });
947
948
 
949
+ class ModalComponent {
950
+ constructor(sanitizer) {
951
+ this.sanitizer = sanitizer;
952
+ this.title = '';
953
+ this.closed = new EventEmitter();
954
+ }
955
+ get safeUrl() {
956
+ return this.sanitizer.bypassSecurityTrustResourceUrl(this.url);
957
+ }
958
+ close() {
959
+ this.closed.emit();
960
+ }
961
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ModalComponent, deps: [{ token: i1$2.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component }); }
962
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: ModalComponent, isStandalone: true, selector: "edm-modal", inputs: { url: "url", title: "title" }, outputs: { closed: "closed" }, ngImport: i0, template: "<div class=\"edm-modal-backdrop\" (click)=\"close()\">\n <div class=\"edm-modal-content\" (click)=\"$event.stopPropagation()\">\n\n <div class=\"edm-modal-header\">\n <span class=\"edm-modal-title\">{{ title }}</span>\n <button class=\"edm-modal-close-btn\" (click)=\"close()\">\n <img src=\"/assets/images/bt-close.svg\" width=\"28px\" height=\"28px\" />\n </button>\n </div>\n\n <iframe [src]=\"safeUrl\" frameborder=\"0\"></iframe>\n\n </div>\n</div>\n", styles: [".edm-modal-backdrop{position:fixed;inset:0;display:flex;justify-content:center;align-items:center;z-index:999999}.edm-modal-content{min-width:50vw;max-width:90vw;height:80vh;box-shadow:0 0 16px #ffffff1a;border-radius:12px;overflow:hidden;display:flex;flex-direction:column;position:relative}.edm-modal-header{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1rem;background:var(--bg);color:var(--main-1);font-size:1rem;font-weight:600;border-bottom:1px solid var(--aux)}.edm-modal-title{flex:1}.edm-modal-close-btn{background:var(--bg-module);border:none;cursor:pointer}iframe{flex:1;padding-top:16px;width:100%;border:none}\n"] }); }
963
+ }
964
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ModalComponent, decorators: [{
965
+ type: Component,
966
+ args: [{ selector: 'edm-modal', standalone: true, template: "<div class=\"edm-modal-backdrop\" (click)=\"close()\">\n <div class=\"edm-modal-content\" (click)=\"$event.stopPropagation()\">\n\n <div class=\"edm-modal-header\">\n <span class=\"edm-modal-title\">{{ title }}</span>\n <button class=\"edm-modal-close-btn\" (click)=\"close()\">\n <img src=\"/assets/images/bt-close.svg\" width=\"28px\" height=\"28px\" />\n </button>\n </div>\n\n <iframe [src]=\"safeUrl\" frameborder=\"0\"></iframe>\n\n </div>\n</div>\n", styles: [".edm-modal-backdrop{position:fixed;inset:0;display:flex;justify-content:center;align-items:center;z-index:999999}.edm-modal-content{min-width:50vw;max-width:90vw;height:80vh;box-shadow:0 0 16px #ffffff1a;border-radius:12px;overflow:hidden;display:flex;flex-direction:column;position:relative}.edm-modal-header{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1rem;background:var(--bg);color:var(--main-1);font-size:1rem;font-weight:600;border-bottom:1px solid var(--aux)}.edm-modal-title{flex:1}.edm-modal-close-btn{background:var(--bg-module);border:none;cursor:pointer}iframe{flex:1;padding-top:16px;width:100%;border:none}\n"] }]
967
+ }], ctorParameters: () => [{ type: i1$2.DomSanitizer }], propDecorators: { url: [{
968
+ type: Input
969
+ }], title: [{
970
+ type: Input
971
+ }], closed: [{
972
+ type: Output
973
+ }] } });
974
+
975
+ class ModalService {
976
+ constructor(injector, appRef, cfr) {
977
+ this.injector = injector;
978
+ this.appRef = appRef;
979
+ this.cfr = cfr;
980
+ }
981
+ open(url, title = '') {
982
+ const factory = this.cfr.resolveComponentFactory(ModalComponent);
983
+ const componentRef = factory.create(this.injector);
984
+ componentRef.instance.url = url;
985
+ componentRef.instance.title = title;
986
+ componentRef.instance.closed.subscribe(() => {
987
+ this.appRef.detachView(componentRef.hostView);
988
+ componentRef.destroy();
989
+ });
990
+ this.appRef.attachView(componentRef.hostView);
991
+ const domElem = componentRef.hostView.rootNodes[0];
992
+ document.body.appendChild(domElem);
993
+ }
994
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ModalService, deps: [{ token: i0.Injector }, { token: i0.ApplicationRef }, { token: i0.ComponentFactoryResolver }], target: i0.ɵɵFactoryTarget.Injectable }); }
995
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ModalService, providedIn: 'root' }); }
996
+ }
997
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ModalService, decorators: [{
998
+ type: Injectable,
999
+ args: [{ providedIn: 'root' }]
1000
+ }], ctorParameters: () => [{ type: i0.Injector }, { type: i0.ApplicationRef }, { type: i0.ComponentFactoryResolver }] });
1001
+
948
1002
  class UIActionService {
949
- constructor(router, actionHandlers) {
1003
+ constructor(router, actionHandlers, modalService) {
950
1004
  this.router = router;
951
1005
  this.actionHandlers = actionHandlers;
1006
+ this.modalService = modalService;
952
1007
  }
953
1008
  execute(action) {
954
1009
  if (!action || !action.type)
@@ -986,6 +1041,12 @@ class UIActionService {
986
1041
  if (action.url) {
987
1042
  window.open(action.url, '_blank');
988
1043
  }
1044
+ break;
1045
+ case UIActionType.WEBVIEW_URL:
1046
+ if (action.url) {
1047
+ const modal = this.modalService.open(action.url);
1048
+ }
1049
+ break;
989
1050
  // Outros tipos de ação podem ser adicionados aqui
990
1051
  }
991
1052
  }
@@ -1056,13 +1117,13 @@ class UIActionService {
1056
1117
  }
1057
1118
  return false; // nenhum dos casos especiais foi tratado
1058
1119
  }
1059
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UIActionService, deps: [{ token: i1$2.Router }, { token: UIActionHandlersService }], target: i0.ɵɵFactoryTarget.Injectable }); }
1120
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UIActionService, deps: [{ token: i1$3.Router }, { token: UIActionHandlersService }, { token: ModalService }], target: i0.ɵɵFactoryTarget.Injectable }); }
1060
1121
  static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UIActionService, providedIn: 'root' }); }
1061
1122
  }
1062
1123
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UIActionService, decorators: [{
1063
1124
  type: Injectable,
1064
1125
  args: [{ providedIn: 'root' }]
1065
- }], ctorParameters: () => [{ type: i1$2.Router }, { type: UIActionHandlersService }] });
1126
+ }], ctorParameters: () => [{ type: i1$3.Router }, { type: UIActionHandlersService }, { type: ModalService }] });
1066
1127
 
1067
1128
  class UIViewDirective {
1068
1129
  constructor(elementRef, renderer, router, actionService, screenViewModel) {
@@ -1169,37 +1230,22 @@ class UIViewDirective {
1169
1230
  }
1170
1231
  }
1171
1232
  applyRadius(uiRadius) {
1172
- let circle = false;
1173
1233
  if (uiRadius.topLeft) {
1174
1234
  const radius = radiusMapping[uiRadius.topLeft];
1175
- if (uiRadius.topLeft === UIRadiusLevel.R50) {
1176
- circle = true;
1177
- }
1178
1235
  this.renderer.setStyle(this.elementRef.nativeElement, 'border-top-left-radius', radius);
1179
1236
  }
1180
1237
  if (uiRadius.topRight) {
1181
1238
  const radius = radiusMapping[uiRadius.topRight];
1182
- if (uiRadius.topRight === UIRadiusLevel.R50) {
1183
- circle = true;
1184
- }
1185
1239
  this.renderer.setStyle(this.elementRef.nativeElement, 'border-top-right-radius', radius);
1186
1240
  }
1187
1241
  if (uiRadius.bottomLeft) {
1188
1242
  const radius = radiusMapping[uiRadius.bottomLeft];
1189
- if (uiRadius.bottomLeft === UIRadiusLevel.R50) {
1190
- circle = true;
1191
- }
1192
1243
  this.renderer.setStyle(this.elementRef.nativeElement, 'border-bottom-left-radius', radius);
1193
1244
  }
1194
1245
  if (uiRadius.bottomRight) {
1195
1246
  const radius = radiusMapping[uiRadius.bottomRight];
1196
- if (uiRadius.bottomRight === UIRadiusLevel.R50) {
1197
- circle = true;
1198
- }
1199
1247
  this.renderer.setStyle(this.elementRef.nativeElement, 'border-bottom-right-radius', radius);
1200
1248
  }
1201
- if (!circle)
1202
- this.renderer.setStyle(this.elementRef.nativeElement, 'overflow', 'hidden');
1203
1249
  }
1204
1250
  applySpacing(uiSpacing) {
1205
1251
  if (uiSpacing.spacing) {
@@ -1246,7 +1292,7 @@ class UIViewDirective {
1246
1292
  this.actionService.execute(this.edmSduiView.action);
1247
1293
  }
1248
1294
  }
1249
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UIViewDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1$2.Router }, { token: UIActionService }, { token: UIScreenViewModel, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
1295
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UIViewDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1$3.Router }, { token: UIActionService }, { token: UIScreenViewModel, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
1250
1296
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: UIViewDirective, selector: "[edmSduiView]", inputs: { edmSduiView: "edmSduiView", disableClick: "disableClick" }, host: { listeners: { "click": "onClick($event)" } }, usesOnChanges: true, ngImport: i0 }); }
1251
1297
  }
1252
1298
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UIViewDirective, decorators: [{
@@ -1255,7 +1301,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
1255
1301
  selector: '[edmSduiView]',
1256
1302
  standalone: false,
1257
1303
  }]
1258
- }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1$2.Router }, { type: UIActionService }, { type: UIScreenViewModel, decorators: [{
1304
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1$3.Router }, { type: UIActionService }, { type: UIScreenViewModel, decorators: [{
1259
1305
  type: Optional
1260
1306
  }] }], propDecorators: { edmSduiView: [{
1261
1307
  type: Input
@@ -1331,11 +1377,11 @@ class ColumnComponent {
1331
1377
  // console.debug('column.uiComponent: ', this.uiComponent);
1332
1378
  }
1333
1379
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ColumnComponent, deps: [{ token: 'uiComponent' }], target: i0.ɵɵFactoryTarget.Component }); }
1334
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: ColumnComponent, selector: "edm-sdui-column", ngImport: i0, template: "<div class=\"column\" *ngIf=\"uiComponent\" [edmSduiView]=\"uiComponent.element\">\n <edm-sdui-component\n *ngFor=\"let child of uiComponent.components\"\n [uiComponent]=\"child\"\n >\n </edm-sdui-component>\n</div>\n", styles: [":host{display:contents}.column{display:flex;flex-direction:column;width:100%}\n"], dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: UIComponentComponent, selector: "edm-sdui-component", inputs: ["uiComponent", "translateLabel"] }, { kind: "directive", type: UIViewDirective, selector: "[edmSduiView]", inputs: ["edmSduiView", "disableClick"] }] }); }
1380
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: ColumnComponent, selector: "edm-sdui-column", ngImport: i0, template: "<div class=\"column\" *ngIf=\"uiComponent\" [edmSduiView]=\"uiComponent.element\">\n <edm-sdui-component\n *ngFor=\"let child of uiComponent.components\"\n [uiComponent]=\"child\"\n >\n </edm-sdui-component>\n</div>\n", styles: [":host{display:contents}.column{display:flex;flex-direction:column}\n"], dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: UIComponentComponent, selector: "edm-sdui-component", inputs: ["uiComponent", "translateLabel"] }, { kind: "directive", type: UIViewDirective, selector: "[edmSduiView]", inputs: ["edmSduiView", "disableClick"] }] }); }
1335
1381
  }
1336
1382
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ColumnComponent, decorators: [{
1337
1383
  type: Component,
1338
- args: [{ selector: 'edm-sdui-column', standalone: false, template: "<div class=\"column\" *ngIf=\"uiComponent\" [edmSduiView]=\"uiComponent.element\">\n <edm-sdui-component\n *ngFor=\"let child of uiComponent.components\"\n [uiComponent]=\"child\"\n >\n </edm-sdui-component>\n</div>\n", styles: [":host{display:contents}.column{display:flex;flex-direction:column;width:100%}\n"] }]
1384
+ args: [{ selector: 'edm-sdui-column', standalone: false, template: "<div class=\"column\" *ngIf=\"uiComponent\" [edmSduiView]=\"uiComponent.element\">\n <edm-sdui-component\n *ngFor=\"let child of uiComponent.components\"\n [uiComponent]=\"child\"\n >\n </edm-sdui-component>\n</div>\n", styles: [":host{display:contents}.column{display:flex;flex-direction:column}\n"] }]
1339
1385
  }], ctorParameters: () => [{ type: undefined, decorators: [{
1340
1386
  type: Inject,
1341
1387
  args: ['uiComponent']
@@ -2386,6 +2432,17 @@ const sizeMappingWidth = {
2386
2432
  [UISize.ASSET_8]: '24px',
2387
2433
  };
2388
2434
 
2435
+ var UIAspectType;
2436
+ (function (UIAspectType) {
2437
+ UIAspectType["FILL"] = "fill";
2438
+ UIAspectType["FIT"] = "fit";
2439
+ })(UIAspectType || (UIAspectType = {}));
2440
+
2441
+ const aspectMapping = {
2442
+ [UIAspectType.FILL]: 'cover',
2443
+ [UIAspectType.FIT]: 'contain',
2444
+ };
2445
+
2389
2446
  class ImageComponent {
2390
2447
  constructor(uiComponent, renderer) {
2391
2448
  this.uiComponent = uiComponent;
@@ -2410,12 +2467,9 @@ class ImageComponent {
2410
2467
  const width = sizeMappingWidth[element.size];
2411
2468
  this.renderer.setStyle(this.imgElementRef.nativeElement, 'height', height);
2412
2469
  this.renderer.setStyle(this.imgElementRef.nativeElement, 'width', width);
2413
- if (element.size === UISize.THUMB_2) {
2414
- this.renderer.setStyle(this.imgElementRef.nativeElement, 'object-fit', 'contain');
2415
- }
2416
2470
  }
2417
2471
  if (element.aspect) {
2418
- this.renderer.setStyle(this.imgElementRef.nativeElement, 'object-fit', element.aspect);
2472
+ this.renderer.setStyle(this.imgElementRef.nativeElement, 'object-fit', aspectMapping[element.aspect]);
2419
2473
  }
2420
2474
  if (element.aspectRatio) {
2421
2475
  this.renderer.setStyle(this.imgElementRef.nativeElement, 'aspect-ratio', element.aspectRatio);
@@ -2473,13 +2527,13 @@ class SduiComponent {
2473
2527
  validateParam(paramValue) {
2474
2528
  return !!paramValue && paramValue.trim() !== '';
2475
2529
  }
2476
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SduiComponent, deps: [{ token: i1$2.ActivatedRoute }, { token: UIScreenViewModel }], target: i0.ɵɵFactoryTarget.Component }); }
2530
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SduiComponent, deps: [{ token: i1$3.ActivatedRoute }, { token: UIScreenViewModel }], target: i0.ɵɵFactoryTarget.Component }); }
2477
2531
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: SduiComponent, selector: "edm-sdui", inputs: { initialUrl: "initialUrl" }, ngImport: i0, template: "<div class=\"sdui-container\">\n <edm-sdui-uiscreen *ngIf=\"currentSduiUrl\"></edm-sdui-uiscreen>\n</div>\n", styles: [":host{display:contents}.sdui-container{display:flex;flex-direction:column;min-height:100vh;width:100vw;position:relative}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: UIScreenComponent, selector: "edm-sdui-uiscreen" }] }); }
2478
2532
  }
2479
2533
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SduiComponent, decorators: [{
2480
2534
  type: Component,
2481
2535
  args: [{ selector: 'edm-sdui', standalone: false, template: "<div class=\"sdui-container\">\n <edm-sdui-uiscreen *ngIf=\"currentSduiUrl\"></edm-sdui-uiscreen>\n</div>\n", styles: [":host{display:contents}.sdui-container{display:flex;flex-direction:column;min-height:100vh;width:100vw;position:relative}\n"] }]
2482
- }], ctorParameters: () => [{ type: i1$2.ActivatedRoute }, { type: UIScreenViewModel }], propDecorators: { initialUrl: [{
2536
+ }], ctorParameters: () => [{ type: i1$3.ActivatedRoute }, { type: UIScreenViewModel }], propDecorators: { initialUrl: [{
2483
2537
  type: Input
2484
2538
  }] } });
2485
2539
 
@@ -2495,7 +2549,7 @@ class SduiRoutingModule {
2495
2549
  };
2496
2550
  }
2497
2551
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SduiRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
2498
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: SduiRoutingModule, imports: [i1$2.RouterModule], exports: [RouterModule] }); }
2552
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: SduiRoutingModule, imports: [i1$3.RouterModule], exports: [RouterModule] }); }
2499
2553
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SduiRoutingModule, imports: [RouterModule.forChild(defaultRoutes), RouterModule] }); }
2500
2554
  }
2501
2555
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SduiRoutingModule, decorators: [{
@@ -2772,7 +2826,7 @@ class SearchBarDismissComponent {
2772
2826
  this.router.navigate(['/']); // fallback
2773
2827
  }
2774
2828
  }
2775
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SearchBarDismissComponent, deps: [{ token: UIActionService }, { token: 'uiComponent' }, { token: i0.Renderer2 }, { token: i1$2.Router }, { token: FontSizeMappingService }], target: i0.ɵɵFactoryTarget.Component }); }
2829
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SearchBarDismissComponent, deps: [{ token: UIActionService }, { token: 'uiComponent' }, { token: i0.Renderer2 }, { token: i1$3.Router }, { token: FontSizeMappingService }], target: i0.ɵɵFactoryTarget.Component }); }
2776
2830
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: SearchBarDismissComponent, selector: "edm-sdui-search-bar-dismiss", viewQueries: [{ propertyName: "inputElementRef", first: true, predicate: ["inputElement"], descendants: true }], ngImport: i0, template: "<div class=\"flex w-100\" (click)=\"clearInput()\">\n <img\n class=\"search-bar-icon\"\n src=\"assets/images/ic-search.svg\"\n>\n<input\n #inputElement\n class=\"search-bar\"\n [edmSduiView]=\"uiComponent.element\"\n [disableClick]=\"true\"\n *ngIf=\"uiComponent\"\n/>\n<img\n class=\"search-bar-close-icon cursor-pointer\"\n src=\"assets/images/bt-close-comment.svg\"\n>\n</div>\n\n", styles: [".search-bar{width:100%;line-height:1.5rem;background-color:var(--bg-search);cursor:pointer}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: UIViewDirective, selector: "[edmSduiView]", inputs: ["edmSduiView", "disableClick"] }] }); }
2777
2831
  }
2778
2832
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SearchBarDismissComponent, decorators: [{
@@ -2781,7 +2835,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
2781
2835
  }], ctorParameters: () => [{ type: UIActionService }, { type: undefined, decorators: [{
2782
2836
  type: Inject,
2783
2837
  args: ['uiComponent']
2784
- }] }, { type: i0.Renderer2 }, { type: i1$2.Router }, { type: FontSizeMappingService }], propDecorators: { inputElementRef: [{
2838
+ }] }, { type: i0.Renderer2 }, { type: i1$3.Router }, { type: FontSizeMappingService }], propDecorators: { inputElementRef: [{
2785
2839
  type: ViewChild,
2786
2840
  args: ['inputElement']
2787
2841
  }] } });