@edm-sdui/sdui 1.0.6 → 1.0.8

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 (72) hide show
  1. package/esm2022/lib/components/navigation-controls/navigation-controls.component.mjs +3 -3
  2. package/esm2022/lib/components/uicomponent/button/button.component.mjs +12 -9
  3. package/esm2022/lib/components/uicomponent/column/column.component.mjs +1 -1
  4. package/esm2022/lib/components/uicomponent/image/image.component.mjs +3 -5
  5. package/esm2022/lib/components/uicomponent/label/label.component.mjs +22 -9
  6. package/esm2022/lib/components/uicomponent/media-type/media-type.component.mjs +71 -0
  7. package/esm2022/lib/components/uicomponent/picker/picker.component.mjs +53 -0
  8. package/esm2022/lib/components/uicomponent/picker-item/picker-item.component.mjs +34 -0
  9. package/esm2022/lib/components/uicomponent/row/row.component.mjs +3 -4
  10. package/esm2022/lib/components/uicomponent/search-bar/search-bar.component.mjs +14 -11
  11. package/esm2022/lib/components/uicomponent/search-bar dismiss/search-bar-dismiss.component.mjs +121 -0
  12. package/esm2022/lib/components/uicomponent/tag/tag.component.mjs +12 -9
  13. package/esm2022/lib/components/uicomponent/uicomponent.component.mjs +8 -3
  14. package/esm2022/lib/components/uicomponent/zstack/zstack.component.mjs +1 -1
  15. package/esm2022/lib/components/uilayout/centered-content-layout/centered-content-layout.component.mjs +1 -1
  16. package/esm2022/lib/components/uilayout/single-column-layout/single-column-layout.component.mjs +2 -2
  17. package/esm2022/lib/components/uilayout/uinavigation/uinavigation.component.mjs +3 -3
  18. package/esm2022/lib/components/uiscreen/uiscreen.component.mjs +3 -3
  19. package/esm2022/lib/core/services/font-size-mapping.service.mjs +30 -0
  20. package/esm2022/lib/core/services/translation.service.mjs +51 -0
  21. package/esm2022/lib/core/services/ui-action.service.mjs +44 -1
  22. package/esm2022/lib/core/tokens/sdui-config.token.mjs +2 -1
  23. package/esm2022/lib/core/uicomposition/mapping/component-mapping.mjs +5 -5
  24. package/esm2022/lib/core/uitheme/enums/uicolor.mjs +3 -3
  25. package/esm2022/lib/core/uitheme/mapping/asset-mapping.mjs +352 -352
  26. package/esm2022/lib/core/uitheme/mapping/text-style-mapping.mjs +31 -13
  27. package/esm2022/lib/core/utils/url-parser.util.mjs +9 -10
  28. package/esm2022/lib/core/view-models/uiscreen.viewmodel.mjs +6 -1
  29. package/esm2022/lib/sdui.component.mjs +2 -2
  30. package/esm2022/lib/sdui.module.mjs +18 -2
  31. package/fesm2022/edm-sdui-sdui.mjs +866 -419
  32. package/fesm2022/edm-sdui-sdui.mjs.map +1 -1
  33. package/lib/components/uicomponent/button/button.component.d.ts +3 -1
  34. package/lib/components/uicomponent/button/button.component.d.ts.map +1 -1
  35. package/lib/components/uicomponent/image/image.component.d.ts.map +1 -1
  36. package/lib/components/uicomponent/label/label.component.d.ts +3 -1
  37. package/lib/components/uicomponent/label/label.component.d.ts.map +1 -1
  38. package/lib/components/uicomponent/media-type/media-type.component.d.ts +24 -0
  39. package/lib/components/uicomponent/media-type/media-type.component.d.ts.map +1 -0
  40. package/lib/components/uicomponent/picker/picker.component.d.ts +21 -0
  41. package/lib/components/uicomponent/picker/picker.component.d.ts.map +1 -0
  42. package/lib/components/uicomponent/picker-item/picker-item.component.d.ts +16 -0
  43. package/lib/components/uicomponent/picker-item/picker-item.component.d.ts.map +1 -0
  44. package/lib/components/uicomponent/row/row.component.d.ts.map +1 -1
  45. package/lib/components/uicomponent/search-bar/search-bar.component.d.ts +3 -1
  46. package/lib/components/uicomponent/search-bar/search-bar.component.d.ts.map +1 -1
  47. package/lib/components/uicomponent/search-bar dismiss/search-bar-dismiss.component.d.ts +22 -0
  48. package/lib/components/uicomponent/search-bar dismiss/search-bar-dismiss.component.d.ts.map +1 -0
  49. package/lib/components/uicomponent/tag/tag.component.d.ts +4 -2
  50. package/lib/components/uicomponent/tag/tag.component.d.ts.map +1 -1
  51. package/lib/components/uicomponent/uicomponent.component.d.ts +2 -1
  52. package/lib/components/uicomponent/uicomponent.component.d.ts.map +1 -1
  53. package/lib/core/services/font-size-mapping.service.d.ts +10 -0
  54. package/lib/core/services/font-size-mapping.service.d.ts.map +1 -0
  55. package/lib/core/services/translation.service.d.ts +13 -0
  56. package/lib/core/services/translation.service.d.ts.map +1 -0
  57. package/lib/core/services/ui-action.service.d.ts +1 -0
  58. package/lib/core/services/ui-action.service.d.ts.map +1 -1
  59. package/lib/core/tokens/sdui-config.token.d.ts +1 -0
  60. package/lib/core/tokens/sdui-config.token.d.ts.map +1 -1
  61. package/lib/core/uitheme/enums/uicolor.d.ts +2 -2
  62. package/lib/core/uitheme/enums/uicolor.d.ts.map +1 -1
  63. package/lib/core/uitheme/mapping/asset-mapping.d.ts.map +1 -1
  64. package/lib/core/uitheme/mapping/text-style-mapping.d.ts +3 -1
  65. package/lib/core/uitheme/mapping/text-style-mapping.d.ts.map +1 -1
  66. package/lib/core/utils/url-parser.util.d.ts.map +1 -1
  67. package/lib/core/view-models/uiscreen.viewmodel.d.ts +6 -7
  68. package/lib/core/view-models/uiscreen.viewmodel.d.ts.map +1 -1
  69. package/lib/sdui.component.d.ts.map +1 -1
  70. package/lib/sdui.module.d.ts +12 -7
  71. package/lib/sdui.module.d.ts.map +1 -1
  72. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { InjectionToken, Injectable, Optional, Inject, Injector, Component, Input, Directive, HostListener, ViewChild, NgModule } from '@angular/core';
2
+ import { InjectionToken, Injectable, Optional, Inject, Injector, Component, Input, Directive, HostListener, inject, ViewChild, NgModule, EventEmitter, Output } from '@angular/core';
3
3
  import * as i1$1 from '@angular/common';
4
4
  import { CommonModule } from '@angular/common';
5
5
  import * as i1$2 from '@angular/router';
@@ -43,6 +43,7 @@ var UIComponentType;
43
43
  })(UIComponentType || (UIComponentType = {}));
44
44
 
45
45
  const SDUI_BASE_URL = new InjectionToken('SDUI_BASE_URL');
46
+ const SDUI_FONT_ADJUST = new InjectionToken('SDUI_FONT_ADJUST');
46
47
 
47
48
  function resolveSduiUrl(rawUrl, baseUrl = '') {
48
49
  let finalUrl = rawUrl;
@@ -55,15 +56,14 @@ function resolveSduiUrl(rawUrl, baseUrl = '') {
55
56
  finalUrl = decodeURIComponent(extractedUrl);
56
57
  }
57
58
  if (!finalUrl.startsWith('http')) {
58
- if (baseUrl.endsWith('/') && finalUrl.startsWith('/')) {
59
- finalUrl = baseUrl + finalUrl.substring(1); // remove uma barra
60
- }
61
- else if (!baseUrl.endsWith('/') && !finalUrl.startsWith('/')) {
62
- finalUrl = `${baseUrl}/${finalUrl}`; // adiciona barra
63
- }
64
- else {
65
- finalUrl = `${baseUrl}${finalUrl}`; // um dos dois já tem barra
66
- }
59
+ const cleanedBaseUrl = baseUrl.replace(/\/+$/, '');
60
+ const cleanedFinalUrl = finalUrl.replace(/^\/+/, '');
61
+ finalUrl = `${cleanedBaseUrl}/${cleanedFinalUrl}`;
62
+ console.debug('baseUrl:', baseUrl);
63
+ console.debug('finalUrl:', finalUrl);
64
+ console.debug('cleanedBaseUrl:', cleanedBaseUrl);
65
+ console.debug('cleanedFinalUrl:', cleanedFinalUrl);
66
+ console.debug('finalUrl:', finalUrl);
67
67
  }
68
68
  return finalUrl;
69
69
  }
@@ -270,6 +270,7 @@ class UIScreenViewModel {
270
270
  }
271
271
  else {
272
272
  console.debug('[UIScreenViewModel] nova screen nula!');
273
+ this.errorSubject.next('Não foi possível carregar o conteúdo.');
273
274
  }
274
275
  });
275
276
  }
@@ -288,6 +289,10 @@ class UIScreenViewModel {
288
289
  this.updateCanGoBack();
289
290
  this.loadUIScreenInternal(previousUrl);
290
291
  }
292
+ else {
293
+ this.canGoBackSubject.next(true);
294
+ window.history.back();
295
+ }
291
296
  }
292
297
  /**
293
298
  * Verifica se é possível voltar
@@ -320,14 +325,14 @@ const componentMapping = {
320
325
  [UIComponentType.VIDEO_PLAYER_HLS]: () => Promise.resolve().then(function () { return zstack_component; }).then((m) => m.ZStackComponent),
321
326
  [UIComponentType.VIDEO_PLAYER_WEB]: () => Promise.resolve().then(function () { return zstack_component; }).then((m) => m.ZStackComponent),
322
327
  // componentes visuais media
323
- [UIComponentType.MEDIA_TYPE]: () => Promise.resolve().then(function () { return zstack_component; }).then((m) => m.ZStackComponent),
328
+ [UIComponentType.MEDIA_TYPE]: () => Promise.resolve().then(function () { return mediaType_component; }).then((m) => m.MediaTypeComponent),
324
329
  [UIComponentType.MEDIA_CONTENT]: () => Promise.resolve().then(function () { return zstack_component; }).then((m) => m.ZStackComponent),
325
330
  // search
326
331
  [UIComponentType.SEARCH_BAR]: () => Promise.resolve().then(function () { return searchBar_component; }).then((m) => m.SearchBarComponent),
327
- [UIComponentType.SEARCH_BAR_DISMISS]: () => Promise.resolve().then(function () { return zstack_component; }).then((m) => m.ZStackComponent),
332
+ [UIComponentType.SEARCH_BAR_DISMISS]: () => Promise.resolve().then(function () { return searchBarDismiss_component; }).then((m) => m.SearchBarDismissComponent),
328
333
  // picker
329
- [UIComponentType.PICKER]: () => Promise.resolve().then(function () { return zstack_component; }).then((m) => m.ZStackComponent),
330
- [UIComponentType.PICKER_ITEM]: () => Promise.resolve().then(function () { return zstack_component; }).then((m) => m.ZStackComponent),
334
+ [UIComponentType.PICKER]: () => Promise.resolve().then(function () { return picker_component; }).then((m) => m.PickerComponent),
335
+ [UIComponentType.PICKER_ITEM]: () => Promise.resolve().then(function () { return pickerItem_component; }).then((m) => m.PickerItemComponent),
331
336
  // tag
332
337
  [UIComponentType.TAG]: () => Promise.resolve().then(function () { return tag_component; }).then((m) => m.TagComponent),
333
338
  };
@@ -355,27 +360,32 @@ class UIComponentComponent {
355
360
  this.cdr.markForCheck();
356
361
  });
357
362
  this.componentInjector = Injector.create({
358
- providers: [{ provide: 'uiComponent', useValue: current }],
363
+ providers: [
364
+ { provide: 'uiComponent', useValue: current },
365
+ { provide: 'translateLabel', useValue: this.translateLabel }
366
+ ],
359
367
  parent: this.injector,
360
368
  });
361
369
  }
362
370
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UIComponentComponent, deps: [{ token: i0.Injector }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
363
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: UIComponentComponent, selector: "edm-sdui-component", inputs: { uiComponent: "uiComponent" }, usesOnChanges: true, ngImport: i0, template: "<ng-container *ngIf=\"componentToRender\">\n <ng-container\n *ngComponentOutlet=\"componentToRender; injector: componentInjector\"\n ></ng-container>\n</ng-container>\n", styles: [":host{display:contents}\n"], dependencies: [{ kind: "directive", type: i1$1.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
371
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: UIComponentComponent, selector: "edm-sdui-component", inputs: { uiComponent: "uiComponent", translateLabel: "translateLabel" }, usesOnChanges: true, ngImport: i0, template: "<ng-container *ngIf=\"componentToRender\">\n <ng-container\n *ngComponentOutlet=\"componentToRender; injector: componentInjector\"\n ></ng-container>\n</ng-container>\n", styles: [":host{display:contents}\n"], dependencies: [{ kind: "directive", type: i1$1.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
364
372
  }
365
373
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UIComponentComponent, decorators: [{
366
374
  type: Component,
367
375
  args: [{ selector: 'edm-sdui-component', standalone: false, template: "<ng-container *ngIf=\"componentToRender\">\n <ng-container\n *ngComponentOutlet=\"componentToRender; injector: componentInjector\"\n ></ng-container>\n</ng-container>\n", styles: [":host{display:contents}\n"] }]
368
376
  }], ctorParameters: () => [{ type: i0.Injector }, { type: i0.ChangeDetectorRef }], propDecorators: { uiComponent: [{
369
377
  type: Input
378
+ }], translateLabel: [{
379
+ type: Input
370
380
  }] } });
371
381
 
372
382
  class UINavigationComponent {
373
383
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UINavigationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
374
- 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\" *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"] }] }); }
384
+ 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"] }] }); }
375
385
  }
376
386
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UINavigationComponent, decorators: [{
377
387
  type: Component,
378
- args: [{ selector: 'edm-sdui-navigation', standalone: false, template: "<div class=\"nav\" *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"] }]
388
+ 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"] }]
379
389
  }], propDecorators: { uiNavigation: [{
380
390
  type: Input
381
391
  }] } });
@@ -387,11 +397,11 @@ class SingleColumnLayoutComponent {
387
397
  }
388
398
  }
389
399
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SingleColumnLayoutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
390
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: SingleColumnLayoutComponent, selector: "edm-sdui-single-column-layout", inputs: { uiLayout: "uiLayout" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"single-column-layout\" *ngIf=\"!!uiLayout\">\n <!-- <pre>{{ uiLayout | json }}</pre> -->\n\n <edm-sdui-navigation [uiNavigation]=\"uiLayout.nav\"></edm-sdui-navigation>\n\n <div class=\"header\" *ngIf=\"!!uiLayout?.header\">\n <edm-sdui-component [uiComponent]=\"uiLayout.header\"></edm-sdui-component>\n </div>\n\n <div class=\"scrollview\" *ngIf=\"!!uiLayout?.main\">\n <div class=\"main\">\n <edm-sdui-component\n *ngIf=\"!!uiLayout?.main\"\n [uiComponent]=\"uiLayout.main\"\n ></edm-sdui-component>\n </div>\n </div>\n\n <div class=\"footer\" *ngIf=\"!!uiLayout?.footer\">\n <edm-sdui-component [uiComponent]=\"uiLayout.footer\"></edm-sdui-component>\n </div>\n</div>\n", styles: [":host{display:contents}.single-column-layout{display:flex;flex-direction:column;width:100vw;min-height:100vh;position:relative}.single-column-layout .header{position:fixed;top:0;left:0;width:100%;z-index:100}.single-column-layout .scrollview .main{flex:1;display:flex;align-items:center;justify-content:center;margin-top:var(--header-height, 64px);margin-bottom:var(--footer-height, 64px)}.single-column-layout .footer{position:fixed;bottom:0;left:0;width:100%;z-index:100}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: UINavigationComponent, selector: "edm-sdui-navigation", inputs: ["uiNavigation"] }, { kind: "component", type: UIComponentComponent, selector: "edm-sdui-component", inputs: ["uiComponent"] }] }); }
400
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: SingleColumnLayoutComponent, selector: "edm-sdui-single-column-layout", inputs: { uiLayout: "uiLayout" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"single-column-layout\" *ngIf=\"!!uiLayout\">\n <!-- <pre>{{ uiLayout | json }}</pre> -->\n\n <edm-sdui-navigation [uiNavigation]=\"uiLayout.nav\"></edm-sdui-navigation>\n\n <div class=\"header\" *ngIf=\"!!uiLayout?.header\">\n <edm-sdui-component [uiComponent]=\"uiLayout.header\"></edm-sdui-component>\n </div>\n\n <div class=\"scrollview\" *ngIf=\"!!uiLayout?.main\">\n <div class=\"main\">\n <edm-sdui-component\n *ngIf=\"!!uiLayout?.main\"\n [uiComponent]=\"uiLayout.main\"\n ></edm-sdui-component>\n </div>\n </div>\n\n <div class=\"footer\" *ngIf=\"!!uiLayout?.footer\">\n <edm-sdui-component [uiComponent]=\"uiLayout.footer\"></edm-sdui-component>\n </div>\n</div>\n", styles: [":host{display:contents}.single-column-layout{display:flex;flex-direction:column;width:100%;min-height:100vh;position:relative}.single-column-layout .header{width:100%;z-index:100}.single-column-layout .scrollview .main{flex:1;display:flex;align-items:center;justify-content:center}.single-column-layout .footer{position:fixed;bottom:0;left:0;width:100%;z-index:100}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: UINavigationComponent, selector: "edm-sdui-navigation", inputs: ["uiNavigation"] }, { kind: "component", type: UIComponentComponent, selector: "edm-sdui-component", inputs: ["uiComponent", "translateLabel"] }] }); }
391
401
  }
392
402
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SingleColumnLayoutComponent, decorators: [{
393
403
  type: Component,
394
- args: [{ selector: 'edm-sdui-single-column-layout', standalone: false, template: "<div class=\"single-column-layout\" *ngIf=\"!!uiLayout\">\n <!-- <pre>{{ uiLayout | json }}</pre> -->\n\n <edm-sdui-navigation [uiNavigation]=\"uiLayout.nav\"></edm-sdui-navigation>\n\n <div class=\"header\" *ngIf=\"!!uiLayout?.header\">\n <edm-sdui-component [uiComponent]=\"uiLayout.header\"></edm-sdui-component>\n </div>\n\n <div class=\"scrollview\" *ngIf=\"!!uiLayout?.main\">\n <div class=\"main\">\n <edm-sdui-component\n *ngIf=\"!!uiLayout?.main\"\n [uiComponent]=\"uiLayout.main\"\n ></edm-sdui-component>\n </div>\n </div>\n\n <div class=\"footer\" *ngIf=\"!!uiLayout?.footer\">\n <edm-sdui-component [uiComponent]=\"uiLayout.footer\"></edm-sdui-component>\n </div>\n</div>\n", styles: [":host{display:contents}.single-column-layout{display:flex;flex-direction:column;width:100vw;min-height:100vh;position:relative}.single-column-layout .header{position:fixed;top:0;left:0;width:100%;z-index:100}.single-column-layout .scrollview .main{flex:1;display:flex;align-items:center;justify-content:center;margin-top:var(--header-height, 64px);margin-bottom:var(--footer-height, 64px)}.single-column-layout .footer{position:fixed;bottom:0;left:0;width:100%;z-index:100}\n"] }]
404
+ args: [{ selector: 'edm-sdui-single-column-layout', standalone: false, template: "<div class=\"single-column-layout\" *ngIf=\"!!uiLayout\">\n <!-- <pre>{{ uiLayout | json }}</pre> -->\n\n <edm-sdui-navigation [uiNavigation]=\"uiLayout.nav\"></edm-sdui-navigation>\n\n <div class=\"header\" *ngIf=\"!!uiLayout?.header\">\n <edm-sdui-component [uiComponent]=\"uiLayout.header\"></edm-sdui-component>\n </div>\n\n <div class=\"scrollview\" *ngIf=\"!!uiLayout?.main\">\n <div class=\"main\">\n <edm-sdui-component\n *ngIf=\"!!uiLayout?.main\"\n [uiComponent]=\"uiLayout.main\"\n ></edm-sdui-component>\n </div>\n </div>\n\n <div class=\"footer\" *ngIf=\"!!uiLayout?.footer\">\n <edm-sdui-component [uiComponent]=\"uiLayout.footer\"></edm-sdui-component>\n </div>\n</div>\n", styles: [":host{display:contents}.single-column-layout{display:flex;flex-direction:column;width:100%;min-height:100vh;position:relative}.single-column-layout .header{width:100%;z-index:100}.single-column-layout .scrollview .main{flex:1;display:flex;align-items:center;justify-content:center}.single-column-layout .footer{position:fixed;bottom:0;left:0;width:100%;z-index:100}\n"] }]
395
405
  }], propDecorators: { uiLayout: [{
396
406
  type: Input
397
407
  }] } });
@@ -403,7 +413,7 @@ class CenteredContentLayoutComponent {
403
413
  }
404
414
  }
405
415
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CenteredContentLayoutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
406
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: CenteredContentLayoutComponent, selector: "edm-sdui-centered-content-layout", inputs: { uiLayout: "uiLayout" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"centered-content-layout\" *ngIf=\"!!uiLayout\">\n <!-- <pre>{{ uiLayout | json }}</pre> -->\n\n <edm-sdui-navigation [uiNavigation]=\"uiLayout.nav\"></edm-sdui-navigation>\n\n <div class=\"header\" *ngIf=\"!!uiLayout?.header\">\n <edm-sdui-component [uiComponent]=\"uiLayout.header\"></edm-sdui-component>\n </div>\n\n <div class=\"centered\">\n <edm-sdui-component\n *ngIf=\"!!uiLayout?.centered\"\n [uiComponent]=\"uiLayout.centered\"\n ></edm-sdui-component>\n </div>\n\n <div class=\"footer\" *ngIf=\"!!uiLayout?.footer\">\n <edm-sdui-component [uiComponent]=\"uiLayout.footer\"></edm-sdui-component>\n </div>\n</div>\n", styles: [":host{display:contents}.centered-content-layout{display:flex;flex-direction:column;width:100vw;min-height:100vh;position:relative}.centered-content-layout .header{position:fixed;top:0;left:0;width:100%;z-index:100}.centered-content-layout .centered{flex:1;display:flex;align-items:center;justify-content:center;margin-top:var(--header-height, 64px);margin-bottom:var(--footer-height, 64px)}.centered-content-layout .footer{position:fixed;bottom:0;left:0;width:100%;z-index:100}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: UINavigationComponent, selector: "edm-sdui-navigation", inputs: ["uiNavigation"] }, { kind: "component", type: UIComponentComponent, selector: "edm-sdui-component", inputs: ["uiComponent"] }] }); }
416
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: CenteredContentLayoutComponent, selector: "edm-sdui-centered-content-layout", inputs: { uiLayout: "uiLayout" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"centered-content-layout\" *ngIf=\"!!uiLayout\">\n <!-- <pre>{{ uiLayout | json }}</pre> -->\n\n <edm-sdui-navigation [uiNavigation]=\"uiLayout.nav\"></edm-sdui-navigation>\n\n <div class=\"header\" *ngIf=\"!!uiLayout?.header\">\n <edm-sdui-component [uiComponent]=\"uiLayout.header\"></edm-sdui-component>\n </div>\n\n <div class=\"centered\">\n <edm-sdui-component\n *ngIf=\"!!uiLayout?.centered\"\n [uiComponent]=\"uiLayout.centered\"\n ></edm-sdui-component>\n </div>\n\n <div class=\"footer\" *ngIf=\"!!uiLayout?.footer\">\n <edm-sdui-component [uiComponent]=\"uiLayout.footer\"></edm-sdui-component>\n </div>\n</div>\n", styles: [":host{display:contents}.centered-content-layout{display:flex;flex-direction:column;width:100vw;min-height:100vh;position:relative}.centered-content-layout .header{position:fixed;top:0;left:0;width:100%;z-index:100}.centered-content-layout .centered{flex:1;display:flex;align-items:center;justify-content:center;margin-top:var(--header-height, 64px);margin-bottom:var(--footer-height, 64px)}.centered-content-layout .footer{position:fixed;bottom:0;left:0;width:100%;z-index:100}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: UINavigationComponent, selector: "edm-sdui-navigation", inputs: ["uiNavigation"] }, { kind: "component", type: UIComponentComponent, selector: "edm-sdui-component", inputs: ["uiComponent", "translateLabel"] }] }); }
407
417
  }
408
418
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CenteredContentLayoutComponent, decorators: [{
409
419
  type: Component,
@@ -443,7 +453,7 @@ var UIColor;
443
453
  UIColor["FONT_TAG"] = "font_tag";
444
454
  UIColor["FONT_LIVE"] = "font_live";
445
455
  UIColor["QUIZ_SELECT"] = "quiz_select";
446
- UIColor["MAIN1"] = "main1";
456
+ UIColor["MAIN1"] = "main_1";
447
457
  UIColor["AUX"] = "aux";
448
458
  UIColor["VOTE_OFF"] = "vote_off";
449
459
  UIColor["BG_VOTE"] = "bg_vote";
@@ -471,7 +481,7 @@ var UIColor;
471
481
  UIColor["BG_SURVEY"] = "bg_survey";
472
482
  UIColor["BG_LIVE"] = "bg_live";
473
483
  UIColor["BG_VIEW_LIVE"] = "bg_view_live";
474
- UIColor["MAIN2"] = "main2";
484
+ UIColor["MAIN2"] = "main_2";
475
485
  UIColor["BT_TAG_ON"] = "bt_tag_on";
476
486
  UIColor["TEXT_COLOR"] = "text_color";
477
487
  UIColor["TEXT_STORY"] = "text_story";
@@ -764,8 +774,20 @@ class UIActionService {
764
774
  execute(action) {
765
775
  if (!action || !action.type)
766
776
  return;
777
+ console.log(action);
767
778
  switch (action.type) {
768
779
  case UIActionType.INTERNAL_URL:
780
+ if (action.url && isSduiUrl(action.url)) {
781
+ const resolved = resolveSduiUrl(action.url);
782
+ this.router.navigate([], {
783
+ queryParams: { [SDUI_URL_PARAM]: resolved },
784
+ queryParamsHandling: 'merge',
785
+ });
786
+ }
787
+ else {
788
+ this.handleCustomNavigation(action.url || '');
789
+ }
790
+ break;
769
791
  case UIActionType.RELOAD_INTERNAL_URL:
770
792
  if (action.url) {
771
793
  console.debug('[UIActionService] Navigating to:', action.url);
@@ -784,6 +806,37 @@ class UIActionService {
784
806
  // Outros tipos de ação podem ser adicionados aqui
785
807
  }
786
808
  }
809
+ handleCustomNavigation(url) {
810
+ if (url.includes('timeline/')) {
811
+ const broken = url.split('timeline/')[1];
812
+ this.router.navigate(['comunidade', 'postagem', broken], { queryParams: { from: 'sdui' } });
813
+ return true;
814
+ }
815
+ if (url.includes('live/')) {
816
+ const broken = url.split('live/')[1];
817
+ this.router.navigate(['comunidade', 'postagem', 'live', broken], { queryParams: { from: 'sdui' } });
818
+ return true;
819
+ }
820
+ if (url.includes('lesson/')) {
821
+ const lessonId = url.split('lesson/')[1];
822
+ const productId = url.includes('product/') ? url.split('product/')[1].split('/')[0] : null;
823
+ if (productId) {
824
+ this.router.navigate(['produtos', productId, 'aula', lessonId], { queryParams: { from: 'sdui' } });
825
+ return true;
826
+ }
827
+ }
828
+ if (url.includes('product/')) {
829
+ const productId = url.split('product/')[1];
830
+ this.router.navigate(['produtos', productId], { queryParams: { from: 'sdui' } });
831
+ return true;
832
+ }
833
+ if (url.includes('posts/')) {
834
+ const postId = url.split('posts/')[1];
835
+ this.router.navigate(['comunidade', 'postagem', postId], { queryParams: { from: 'sdui' } });
836
+ return true;
837
+ }
838
+ return false; // nenhum dos casos especiais foi tratado
839
+ }
787
840
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UIActionService, deps: [{ token: i1$2.Router }], target: i0.ɵɵFactoryTarget.Injectable }); }
788
841
  static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UIActionService, providedIn: 'root' }); }
789
842
  }
@@ -934,11 +987,11 @@ class NavigationControlsComponent {
934
987
  this.viewModel.goBack();
935
988
  }
936
989
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NavigationControlsComponent, deps: [{ token: UIScreenViewModel }], target: i0.ɵɵFactoryTarget.Component }); }
937
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: NavigationControlsComponent, selector: "edm-sdui-navigation-controls", ngImport: i0, template: "<div class=\"navigation-controls\">\n <button\n class=\"back-button\"\n [disabled]=\"!(viewModel.canGoBack$ | async)\"\n (click)=\"goBack()\"\n >\n <span class=\"material-icons\">arrow_back</span>\n </button>\n</div>\n", styles: [":host{display:contents}.navigation-controls{display:flex;gap:8px}.navigation-controls button{display:flex;align-items:center;justify-content:center;padding:8px;border-radius:4px;border:1px solid #e0e0e0;background-color:#f5f5f5;cursor:pointer;transition:all .2s ease}.navigation-controls button:hover:not(:disabled){background-color:#e8e8e8}.navigation-controls button:disabled{opacity:.5;cursor:not-allowed}.navigation-controls button .material-icons{font-size:18px;color:#444}\n"], dependencies: [{ kind: "pipe", type: i1$1.AsyncPipe, name: "async" }] }); }
990
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: NavigationControlsComponent, selector: "edm-sdui-navigation-controls", ngImport: i0, template: "<div class=\"navigation-controls\" *ngIf=\"false\">\n <button\n class=\"back-button\"\n [disabled]=\"!(viewModel.canGoBack$ | async)\"\n (click)=\"goBack()\"\n >\n <img src=\"assets/images/bt-back.svg\" width=\"100%\" height=\"40px\"/>\n </button>\n</div>\n", styles: [":host{display:contents}.navigation-controls{display:flex;gap:8px}.navigation-controls button{display:flex;align-items:center;justify-content:center;padding:0;border-radius:4px;cursor:pointer;transition:all .2s ease}.navigation-controls button:hover:not(:disabled){background-color:#e8e8e8}.navigation-controls button:disabled{opacity:.5;cursor:not-allowed}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }] }); }
938
991
  }
939
992
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NavigationControlsComponent, decorators: [{
940
993
  type: Component,
941
- args: [{ selector: 'edm-sdui-navigation-controls', standalone: false, template: "<div class=\"navigation-controls\">\n <button\n class=\"back-button\"\n [disabled]=\"!(viewModel.canGoBack$ | async)\"\n (click)=\"goBack()\"\n >\n <span class=\"material-icons\">arrow_back</span>\n </button>\n</div>\n", styles: [":host{display:contents}.navigation-controls{display:flex;gap:8px}.navigation-controls button{display:flex;align-items:center;justify-content:center;padding:8px;border-radius:4px;border:1px solid #e0e0e0;background-color:#f5f5f5;cursor:pointer;transition:all .2s ease}.navigation-controls button:hover:not(:disabled){background-color:#e8e8e8}.navigation-controls button:disabled{opacity:.5;cursor:not-allowed}.navigation-controls button .material-icons{font-size:18px;color:#444}\n"] }]
994
+ args: [{ selector: 'edm-sdui-navigation-controls', standalone: false, template: "<div class=\"navigation-controls\" *ngIf=\"false\">\n <button\n class=\"back-button\"\n [disabled]=\"!(viewModel.canGoBack$ | async)\"\n (click)=\"goBack()\"\n >\n <img src=\"assets/images/bt-back.svg\" width=\"100%\" height=\"40px\"/>\n </button>\n</div>\n", styles: [":host{display:contents}.navigation-controls{display:flex;gap:8px}.navigation-controls button{display:flex;align-items:center;justify-content:center;padding:0;border-radius:4px;cursor:pointer;transition:all .2s ease}.navigation-controls button:hover:not(:disabled){background-color:#e8e8e8}.navigation-controls button:disabled{opacity:.5;cursor:not-allowed}\n"] }]
942
995
  }], ctorParameters: () => [{ type: UIScreenViewModel }] });
943
996
 
944
997
  class UIScreenComponent {
@@ -947,11 +1000,11 @@ class UIScreenComponent {
947
1000
  this.UIScreenIdentifier = UIScreenIdentifier;
948
1001
  }
949
1002
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UIScreenComponent, deps: [{ token: UIScreenViewModel }], target: i0.ɵɵFactoryTarget.Component }); }
950
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: UIScreenComponent, selector: "edm-sdui-uiscreen", ngImport: i0, template: "<div *ngIf=\"viewModel.isLoading$ | async\"><p>Carregando...</p></div>\n\n<div *ngIf=\"viewModel.error$ | async as errorMessage\">\n <p class=\"error-label\">Erro: {{ errorMessage }}</p>\n</div>\n\n<div\n class=\"ui-screen\"\n *ngIf=\"viewModel.uiScreen$ | async as uiScreen\"\n [edmSduiView]=\"uiScreen\"\n>\n <edm-sdui-navigation-controls\n [edmSduiView]=\"uiScreen\"\n ></edm-sdui-navigation-controls>\n\n <ng-container [ngSwitch]=\"uiScreen.identifier\">\n <edm-sdui-single-column-layout\n *ngSwitchCase=\"UIScreenIdentifier.SINGLE_COLUMN\"\n [uiLayout]=\"uiScreen.content\"\n >\n </edm-sdui-single-column-layout>\n\n <edm-sdui-centered-content-layout\n *ngSwitchCase=\"UIScreenIdentifier.CENTERED_CONTENT\"\n [uiLayout]=\"uiScreen.content\"\n >\n </edm-sdui-centered-content-layout>\n </ng-container>\n</div>\n", styles: [":host{display:contents}.ui-screen{width:100vw;min-height:100vh}.error-label{color:var(--input-error)}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: SingleColumnLayoutComponent, selector: "edm-sdui-single-column-layout", inputs: ["uiLayout"] }, { kind: "component", type: CenteredContentLayoutComponent, selector: "edm-sdui-centered-content-layout", inputs: ["uiLayout"] }, { kind: "directive", type: UIViewDirective, selector: "[edmSduiView]", inputs: ["edmSduiView", "disableClick"] }, { kind: "component", type: NavigationControlsComponent, selector: "edm-sdui-navigation-controls" }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }] }); }
1003
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: UIScreenComponent, selector: "edm-sdui-uiscreen", ngImport: i0, template: "<ng-container *ngIf=\"viewModel.isLoading$ | async; else loaded\">\n <div class=\"loading-spinner\">\n <div class=\"spinner\"></div>\n </div>\n</ng-container>\n\n<ng-template #loaded>\n <ng-container\n *ngIf=\"viewModel.error$ | async as errorMessage; else renderScreen\"\n >\n <div class=\"error-label\">\n Erro ao carregar a tela:\n <pre>{{ errorMessage }}</pre>\n </div>\n </ng-container>\n\n <ng-template #renderScreen>\n <div\n class=\"ui-screen\"\n *ngIf=\"viewModel.uiScreen$ | async as uiScreen\"\n [edmSduiView]=\"uiScreen\"\n >\n <edm-sdui-navigation-controls\n [edmSduiView]=\"uiScreen\"\n ></edm-sdui-navigation-controls>\n\n <ng-container [ngSwitch]=\"uiScreen.identifier\">\n <edm-sdui-single-column-layout\n *ngSwitchCase=\"UIScreenIdentifier.SINGLE_COLUMN\"\n [uiLayout]=\"uiScreen.content\"\n ></edm-sdui-single-column-layout>\n\n <edm-sdui-centered-content-layout\n *ngSwitchCase=\"UIScreenIdentifier.CENTERED_CONTENT\"\n [uiLayout]=\"uiScreen.content\"\n ></edm-sdui-centered-content-layout>\n </ng-container>\n </div>\n </ng-template>\n</ng-template>\n", styles: [":host{display:contents}.ui-screen{width:100vw;min-height:100vh}.error-label{color:var(--input-error)}.loading-spinner{display:flex;justify-content:center;align-items:center;height:100vh;width:100vw;box-sizing:border-box;position:relative}.spinner{width:48px;height:48px;border:5px solid var(--actindcolor);border-top-color:#333;border-radius:50%;animation:spin 1s linear infinite;top:50%;left:50%}@keyframes spin{to{transform:rotate(360deg)}}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: SingleColumnLayoutComponent, selector: "edm-sdui-single-column-layout", inputs: ["uiLayout"] }, { kind: "component", type: CenteredContentLayoutComponent, selector: "edm-sdui-centered-content-layout", inputs: ["uiLayout"] }, { kind: "directive", type: UIViewDirective, selector: "[edmSduiView]", inputs: ["edmSduiView", "disableClick"] }, { kind: "component", type: NavigationControlsComponent, selector: "edm-sdui-navigation-controls" }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }] }); }
951
1004
  }
952
1005
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UIScreenComponent, decorators: [{
953
1006
  type: Component,
954
- args: [{ selector: 'edm-sdui-uiscreen', standalone: false, template: "<div *ngIf=\"viewModel.isLoading$ | async\"><p>Carregando...</p></div>\n\n<div *ngIf=\"viewModel.error$ | async as errorMessage\">\n <p class=\"error-label\">Erro: {{ errorMessage }}</p>\n</div>\n\n<div\n class=\"ui-screen\"\n *ngIf=\"viewModel.uiScreen$ | async as uiScreen\"\n [edmSduiView]=\"uiScreen\"\n>\n <edm-sdui-navigation-controls\n [edmSduiView]=\"uiScreen\"\n ></edm-sdui-navigation-controls>\n\n <ng-container [ngSwitch]=\"uiScreen.identifier\">\n <edm-sdui-single-column-layout\n *ngSwitchCase=\"UIScreenIdentifier.SINGLE_COLUMN\"\n [uiLayout]=\"uiScreen.content\"\n >\n </edm-sdui-single-column-layout>\n\n <edm-sdui-centered-content-layout\n *ngSwitchCase=\"UIScreenIdentifier.CENTERED_CONTENT\"\n [uiLayout]=\"uiScreen.content\"\n >\n </edm-sdui-centered-content-layout>\n </ng-container>\n</div>\n", styles: [":host{display:contents}.ui-screen{width:100vw;min-height:100vh}.error-label{color:var(--input-error)}\n"] }]
1007
+ args: [{ selector: 'edm-sdui-uiscreen', standalone: false, template: "<ng-container *ngIf=\"viewModel.isLoading$ | async; else loaded\">\n <div class=\"loading-spinner\">\n <div class=\"spinner\"></div>\n </div>\n</ng-container>\n\n<ng-template #loaded>\n <ng-container\n *ngIf=\"viewModel.error$ | async as errorMessage; else renderScreen\"\n >\n <div class=\"error-label\">\n Erro ao carregar a tela:\n <pre>{{ errorMessage }}</pre>\n </div>\n </ng-container>\n\n <ng-template #renderScreen>\n <div\n class=\"ui-screen\"\n *ngIf=\"viewModel.uiScreen$ | async as uiScreen\"\n [edmSduiView]=\"uiScreen\"\n >\n <edm-sdui-navigation-controls\n [edmSduiView]=\"uiScreen\"\n ></edm-sdui-navigation-controls>\n\n <ng-container [ngSwitch]=\"uiScreen.identifier\">\n <edm-sdui-single-column-layout\n *ngSwitchCase=\"UIScreenIdentifier.SINGLE_COLUMN\"\n [uiLayout]=\"uiScreen.content\"\n ></edm-sdui-single-column-layout>\n\n <edm-sdui-centered-content-layout\n *ngSwitchCase=\"UIScreenIdentifier.CENTERED_CONTENT\"\n [uiLayout]=\"uiScreen.content\"\n ></edm-sdui-centered-content-layout>\n </ng-container>\n </div>\n </ng-template>\n</ng-template>\n", styles: [":host{display:contents}.ui-screen{width:100vw;min-height:100vh}.error-label{color:var(--input-error)}.loading-spinner{display:flex;justify-content:center;align-items:center;height:100vh;width:100vw;box-sizing:border-box;position:relative}.spinner{width:48px;height:48px;border:5px solid var(--actindcolor);border-top-color:#333;border-radius:50%;animation:spin 1s linear infinite;top:50%;left:50%}@keyframes spin{to{transform:rotate(360deg)}}\n"] }]
955
1008
  }], ctorParameters: () => [{ type: UIScreenViewModel }] });
956
1009
 
957
1010
  class RowComponent {
@@ -959,14 +1012,13 @@ class RowComponent {
959
1012
  this.uiComponent = uiComponent;
960
1013
  }
961
1014
  ngOnInit() {
962
- // console.debug('row.uiComponent: ', this.uiComponent);
963
1015
  }
964
1016
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: RowComponent, deps: [{ token: 'uiComponent' }], target: i0.ɵɵFactoryTarget.Component }); }
965
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: RowComponent, selector: "edm-sdui-row", ngImport: i0, template: "<div class=\"row\" *ngIf=\"uiComponent\" [edmSduiView]=\"uiComponent.element\">\n <edm-sdui-component\n *ngFor=\"let component of uiComponent.components\"\n [uiComponent]=\"component\"\n >\n </edm-sdui-component>\n</div>\n", styles: [":host{display:contents}.row{display:flex;flex-direction:row}\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"] }, { kind: "directive", type: UIViewDirective, selector: "[edmSduiView]", inputs: ["edmSduiView", "disableClick"] }] }); }
1017
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: RowComponent, selector: "edm-sdui-row", ngImport: i0, template: "<div class=\"row-1\" *ngIf=\"uiComponent\" [edmSduiView]=\"uiComponent.element\">\n <edm-sdui-component\n *ngFor=\"let component of uiComponent.components\"\n [uiComponent]=\"component\"\n >\n </edm-sdui-component>\n</div>\n", styles: [":host{display:contents}.row-1{display:flex;flex-direction:row;align-items:center}\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"] }] }); }
966
1018
  }
967
1019
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: RowComponent, decorators: [{
968
1020
  type: Component,
969
- args: [{ selector: 'edm-sdui-row', standalone: false, template: "<div class=\"row\" *ngIf=\"uiComponent\" [edmSduiView]=\"uiComponent.element\">\n <edm-sdui-component\n *ngFor=\"let component of uiComponent.components\"\n [uiComponent]=\"component\"\n >\n </edm-sdui-component>\n</div>\n", styles: [":host{display:contents}.row{display:flex;flex-direction:row}\n"] }]
1021
+ args: [{ selector: 'edm-sdui-row', standalone: false, template: "<div class=\"row-1\" *ngIf=\"uiComponent\" [edmSduiView]=\"uiComponent.element\">\n <edm-sdui-component\n *ngFor=\"let component of uiComponent.components\"\n [uiComponent]=\"component\"\n >\n </edm-sdui-component>\n</div>\n", styles: [":host{display:contents}.row-1{display:flex;flex-direction:row;align-items:center}\n"] }]
970
1022
  }], ctorParameters: () => [{ type: undefined, decorators: [{
971
1023
  type: Inject,
972
1024
  args: ['uiComponent']
@@ -985,7 +1037,7 @@ class ColumnComponent {
985
1037
  // console.debug('column.uiComponent: ', this.uiComponent);
986
1038
  }
987
1039
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ColumnComponent, deps: [{ token: 'uiComponent' }], target: i0.ɵɵFactoryTarget.Component }); }
988
- 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"] }, { kind: "directive", type: UIViewDirective, selector: "[edmSduiView]", inputs: ["edmSduiView", "disableClick"] }] }); }
1040
+ 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"] }] }); }
989
1041
  }
990
1042
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ColumnComponent, decorators: [{
991
1043
  type: Component,
@@ -1015,24 +1067,68 @@ var UITextStyle;
1015
1067
  UITextStyle["FOOTNOTE"] = "footnote";
1016
1068
  })(UITextStyle || (UITextStyle = {}));
1017
1069
 
1018
- const textStyleMappingFontSize = {
1019
- [UITextStyle.BODY]: '16px',
1020
- [UITextStyle.LARGE_TITLE]: '35px',
1021
- [UITextStyle.TITLE_1]: '21px',
1022
- [UITextStyle.TITLE_2]: '16px',
1023
- [UITextStyle.TITLE_3]: '16px',
1024
- [UITextStyle.CALLOUT]: '19px',
1025
- [UITextStyle.HEADLINE]: '18px',
1026
- [UITextStyle.SUBHEADLINE]: '16px',
1027
- [UITextStyle.CAPTION_1]: '14px',
1028
- [UITextStyle.CAPTION_2]: '13px',
1029
- [UITextStyle.FOOTNOTE]: '12px',
1070
+ class FontSizeMappingService {
1071
+ constructor() {
1072
+ this.baseFontSize = inject(SDUI_FONT_ADJUST, { optional: true }) ?? 0;
1073
+ this.mapping = {
1074
+ caption_2: `${12 + this.baseFontSize}px`,
1075
+ caption_1: `${14 + this.baseFontSize}px`,
1076
+ body: `${16 + this.baseFontSize}px`,
1077
+ title_2: `${24 + this.baseFontSize}px`,
1078
+ title_1: `${28 + this.baseFontSize}px`,
1079
+ callout: `${28 + this.baseFontSize}px`,
1080
+ headline: `${32 + this.baseFontSize}px`,
1081
+ large_title: `${40 + this.baseFontSize}px`,
1082
+ subheadline: `${24 + this.baseFontSize}px`,
1083
+ footnote: `${16 + this.baseFontSize}px`,
1084
+ };
1085
+ }
1086
+ getMapping() {
1087
+ return this.mapping;
1088
+ }
1089
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FontSizeMappingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1090
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FontSizeMappingService, providedIn: 'root' }); }
1091
+ }
1092
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FontSizeMappingService, decorators: [{
1093
+ type: Injectable,
1094
+ args: [{ providedIn: 'root' }]
1095
+ }], ctorParameters: () => [] });
1096
+
1097
+ function getTextStyleMappingFontSize() {
1098
+ return inject(FontSizeMappingService).getMapping();
1099
+ }
1100
+ const textStyleMappingFontWeight = {
1101
+ [UITextStyle.BODY]: 'regular',
1102
+ [UITextStyle.LARGE_TITLE]: 'bold',
1103
+ [UITextStyle.TITLE_1]: 'bold',
1104
+ [UITextStyle.TITLE_2]: 'bold',
1105
+ [UITextStyle.TITLE_3]: 'bold',
1106
+ [UITextStyle.CALLOUT]: 'regular',
1107
+ [UITextStyle.HEADLINE]: 'bold',
1108
+ [UITextStyle.SUBHEADLINE]: 'bold',
1109
+ [UITextStyle.CAPTION_1]: 'regular',
1110
+ [UITextStyle.CAPTION_2]: 'regular',
1111
+ [UITextStyle.FOOTNOTE]: 'regular',
1112
+ };
1113
+ const textStyleMappingLineHeight = {
1114
+ [UITextStyle.BODY]: '24px',
1115
+ [UITextStyle.LARGE_TITLE]: '37px',
1116
+ [UITextStyle.TITLE_1]: '23px',
1117
+ [UITextStyle.TITLE_2]: '23px',
1118
+ [UITextStyle.TITLE_3]: '23px',
1119
+ [UITextStyle.CALLOUT]: '22px',
1120
+ [UITextStyle.HEADLINE]: '20px',
1121
+ [UITextStyle.SUBHEADLINE]: '18px',
1122
+ [UITextStyle.CAPTION_1]: '16px',
1123
+ [UITextStyle.CAPTION_2]: '15px',
1124
+ [UITextStyle.FOOTNOTE]: '13px',
1030
1125
  };
1031
1126
 
1032
1127
  class LabelComponent {
1033
- constructor(uiComponent, renderer) {
1128
+ constructor(uiComponent, renderer, fontSizeMappingService) {
1034
1129
  this.uiComponent = uiComponent;
1035
1130
  this.renderer = renderer;
1131
+ this.fontSizeMappingService = fontSizeMappingService;
1036
1132
  }
1037
1133
  ngOnInit() {
1038
1134
  // console.debug('label.uiComponent: ', this.uiComponent);
@@ -1048,17 +1144,27 @@ class LabelComponent {
1048
1144
  this.renderer.setStyle(this.spanElementRef.nativeElement, 'color', color);
1049
1145
  }
1050
1146
  if (element.textStyle) {
1147
+ const textStyleMappingFontSize = this.fontSizeMappingService.getMapping();
1051
1148
  const fontSize = textStyleMappingFontSize[element.textStyle];
1149
+ const fontWeight = textStyleMappingFontWeight[element.textStyle];
1150
+ //TODO: Substituir por classe no futuro.
1151
+ this.renderer.setStyle(this.spanElementRef.nativeElement, 'font-weight', fontWeight);
1052
1152
  this.renderer.setStyle(this.spanElementRef.nativeElement, 'font-size', fontSize);
1053
1153
  }
1054
1154
  const maxLines = element.maxLines ?? 1;
1055
- // TODO: - definir o maxLines do Span
1155
+ if (element.maxLines) {
1156
+ this.renderer.setStyle(this.spanElementRef.nativeElement, 'display', '-webkit-box');
1157
+ this.renderer.setStyle(this.spanElementRef.nativeElement, '-webkit-box-orient', 'vertical');
1158
+ this.renderer.setStyle(this.spanElementRef.nativeElement, 'overflow', 'hidden');
1159
+ this.renderer.setStyle(this.spanElementRef.nativeElement, 'text-overflow', 'ellipsis');
1160
+ this.renderer.setStyle(this.spanElementRef.nativeElement, '-webkit-line-clamp', maxLines);
1161
+ }
1056
1162
  if (element.opacity) {
1057
1163
  const opacity = element.opacity;
1058
1164
  this.renderer.setStyle(this.spanElementRef.nativeElement, 'opacity', opacity);
1059
1165
  }
1060
1166
  }
1061
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: LabelComponent, deps: [{ token: 'uiComponent' }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
1167
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: LabelComponent, deps: [{ token: 'uiComponent' }, { token: i0.Renderer2 }, { token: FontSizeMappingService }], target: i0.ɵɵFactoryTarget.Component }); }
1062
1168
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: LabelComponent, selector: "edm-sdui-label", viewQueries: [{ propertyName: "spanElementRef", first: true, predicate: ["spanElement"], descendants: true }], ngImport: i0, template: "<span #spanElement [edmSduiView]=\"uiComponent.element\" *ngIf=\"uiComponent\">{{\n uiComponent.element?.label ?? \"\"\n}}</span>\n", styles: [":host{display:contents}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: UIViewDirective, selector: "[edmSduiView]", inputs: ["edmSduiView", "disableClick"] }] }); }
1063
1169
  }
1064
1170
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: LabelComponent, decorators: [{
@@ -1067,7 +1173,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
1067
1173
  }], ctorParameters: () => [{ type: undefined, decorators: [{
1068
1174
  type: Inject,
1069
1175
  args: ['uiComponent']
1070
- }] }, { type: i0.Renderer2 }], propDecorators: { spanElementRef: [{
1176
+ }] }, { type: i0.Renderer2 }, { type: FontSizeMappingService }], propDecorators: { spanElementRef: [{
1071
1177
  type: ViewChild,
1072
1178
  args: ['spanElement']
1073
1179
  }] } });
@@ -1108,7 +1214,7 @@ class ZStackComponent {
1108
1214
  // console.debug('zstack.uiComponent: ', this.uiComponent);
1109
1215
  }
1110
1216
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ZStackComponent, deps: [{ token: 'uiComponent' }], target: i0.ɵɵFactoryTarget.Component }); }
1111
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: ZStackComponent, selector: "edm-sdui-zstack", ngImport: i0, template: "<div class=\"zstack\" *ngIf=\"uiComponent\" [edmSduiView]=\"uiComponent.element\">\n <edm-sdui-component\n *ngFor=\"let child of uiComponent.components\"\n [uiComponent]=\"child\"\n ></edm-sdui-component>\n</div>\n", styles: [":host{display:contents}.zstack{display:grid;place-items:center}.zstack>*{grid-area:1/1}\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"] }, { kind: "directive", type: UIViewDirective, selector: "[edmSduiView]", inputs: ["edmSduiView", "disableClick"] }] }); }
1217
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: ZStackComponent, selector: "edm-sdui-zstack", ngImport: i0, template: "<div class=\"zstack\" *ngIf=\"uiComponent\" [edmSduiView]=\"uiComponent.element\">\n <edm-sdui-component\n *ngFor=\"let child of uiComponent.components\"\n [uiComponent]=\"child\"\n ></edm-sdui-component>\n</div>\n", styles: [":host{display:contents}.zstack{display:grid;place-items:center}.zstack>*{grid-area:1/1}\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"] }] }); }
1112
1218
  }
1113
1219
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ZStackComponent, decorators: [{
1114
1220
  type: Component,
@@ -1502,363 +1608,364 @@ var UIAsset;
1502
1608
  })(UIAsset || (UIAsset = {}));
1503
1609
 
1504
1610
  const assetMapping = {
1505
- [UIAsset.BG_ASSINATURAS]: 'assets/bg-assinaturas.webp',
1506
- [UIAsset.BG_CHALLENGE_ACTIVITY_FINAL]: 'assets/bg-challenge-activity-final.webp',
1507
- [UIAsset.BG_LIGHT]: 'assets/bg-light.webp',
1508
- [UIAsset.BG_LOGIN]: 'assets/bg-login.webp',
1509
- [UIAsset.BG_POST]: 'assets/bg-post.webp',
1510
- [UIAsset.BG_QUIZ_FINAL]: 'assets/bg-quiz-final.webp',
1511
- [UIAsset.BG_RATING_PROGRAM]: 'assets/bg-rating-program.webp',
1512
- [UIAsset.BG_SPLASH]: 'assets/bg-splash.webp',
1513
- [UIAsset.BG_STORY]: 'assets/bg-story.webp',
1514
- [UIAsset.BG_SURVEY]: 'assets/bg-survey.webp',
1515
- [UIAsset.BT_ABOUT_ACTIONS_OFF]: 'assets/bt-about-actions-off.webp',
1516
- [UIAsset.BT_ANONYMOUS_COMMENT_OFF]: 'assets/bt-anonymous-comment-off.webp',
1517
- [UIAsset.BT_ANONYMOUS_COMMENT_ON]: 'assets/bt-anonymous-comment-on.webp',
1518
- [UIAsset.BT_BACK]: 'assets/bt-back.webp',
1519
- [UIAsset.BT_BACK_LIVE]: 'assets/bt-back-live.webp',
1520
- [UIAsset.BT_BACK_NEW]: 'assets/bt-back-new.webp',
1521
- [UIAsset.BT_BACK_PLAYER]: 'assets/bt-back-player.webp',
1522
- [UIAsset.BT_BACK_STORY]: 'assets/bt-back-story.webp',
1523
- [UIAsset.BT_CANCEL_LIST]: 'assets/bt-cancel-list.webp',
1524
- [UIAsset.BT_CAPTURE_PHOTO]: 'assets/bt-capture-photo.webp',
1525
- [UIAsset.BT_CAPTURE_VIDEO]: 'assets/bt-capture-video.webp',
1526
- [UIAsset.BT_CAPTURE_VIDEO_LINE]: 'assets/bt-capture-video-line.webp',
1527
- [UIAsset.BT_CERTIFICATION_ACTIONS_OFF]: 'assets/bt-certification-actions-off.webp',
1528
- [UIAsset.BT_CERTIFICATION_ACTIONS_ON]: 'assets/bt-certification-actions-on.webp',
1529
- [UIAsset.BT_CHECK_ACTION_OFF]: 'assets/bt-check-action-off.webp',
1530
- [UIAsset.BT_CHECK_ACTION_ON]: 'assets/bt-check-action-on.webp',
1531
- [UIAsset.BT_CHECK_FIX_OFF]: 'assets/bt-check-fix-off.webp',
1532
- [UIAsset.BT_CHECK_OFF]: 'assets/bt-check-off.webp',
1533
- [UIAsset.BT_CHECK_ON]: 'assets/bt-check-on.webp',
1534
- [UIAsset.BT_CHECK_TERMS_OFF]: 'assets/bt-check-terms-off.webp',
1535
- [UIAsset.BT_CHECK_TERMS_ON]: 'assets/bt-check-terms-on.webp',
1536
- [UIAsset.BT_CLIPS_TAB]: 'assets/bt-clips-tab.webp',
1537
- [UIAsset.BT_CLIPS_TAB_ON]: 'assets/bt-clips-tab-on.webp',
1538
- [UIAsset.BT_CLOSE]: 'assets/bt-close.webp',
1539
- [UIAsset.BT_CLOSE_COMMENT]: 'assets/bt-close-comment.webp',
1540
- [UIAsset.BT_CLOSE_FULL_IMAGE]: 'assets/bt-close-full-image.webp',
1541
- [UIAsset.BT_CLOSE_LIST]: 'assets/bt-close-list.webp',
1542
- [UIAsset.BT_CLOSE_LIVE]: 'assets/bt-close-live.webp',
1543
- [UIAsset.BT_CLOSE_RATING]: 'assets/bt-close-rating.webp',
1544
- [UIAsset.BT_CLOSE_SCREEN_PLAYER]: 'assets/bt-close-screen-player.webp',
1545
- [UIAsset.BT_CLOSE_STORY]: 'assets/bt-close-story.webp',
1546
- [UIAsset.BT_CLOSE_TAGS]: 'assets/bt-close-tags.webp',
1547
- [UIAsset.BT_COMMENT_OFF]: 'assets/bt-comment-off.webp',
1548
- [UIAsset.BT_COMMENT_ON]: 'assets/bt-comment-on.webp',
1549
- [UIAsset.BT_COMUNIDADE_TAB]: 'assets/bt-comunidade-tab.webp',
1550
- [UIAsset.BT_COMUNIDADE_TAB_ON]: 'assets/bt-comunidade-tab-on.webp',
1551
- [UIAsset.BT_CONFIG_NAVBAR]: 'assets/bt-config-navbar.webp',
1552
- [UIAsset.BT_CONFIG_PLAYER]: 'assets/bt-config-player.webp',
1553
- [UIAsset.BT_DELETE_STORY]: 'assets/bt-delete-story.webp',
1554
- [UIAsset.BT_DISABLED]: 'assets/bt-disabled.webp',
1555
- [UIAsset.BT_DOWNLOAD_ACTION_OFF]: 'assets/bt-download-action-off.webp',
1556
- [UIAsset.BT_DOWNLOAD_LIST]: 'assets/bt-download-list.webp',
1557
- [UIAsset.BT_DOWNLOAD_NAV]: 'assets/bt-download-nav.webp',
1558
- [UIAsset.BT_DOWNLOAD_TAB]: 'assets/bt-download-tab.webp',
1559
- [UIAsset.BT_DOWNLOAD_TAB_ON]: 'assets/bt-download-tab-on.webp',
1560
- [UIAsset.BT_EVALUATION_ACTION]: 'assets/bt-evaluation-action.webp',
1561
- [UIAsset.BT_EVALUATION_ACTION_OFF]: 'assets/bt-evaluation-action-off.webp',
1562
- [UIAsset.BT_EVALUATION_ACTION_ON]: 'assets/bt-evaluation-action-on.webp',
1563
- [UIAsset.BT_FAV_ACTIONS_OFF]: 'assets/bt-fav-actions-off.webp',
1564
- [UIAsset.BT_FAV_ACTIONS_ON]: 'assets/bt-fav-actions-on.webp',
1565
- [UIAsset.BT_FAV_OFF]: 'assets/bt-fav-off.webp',
1566
- [UIAsset.BT_FAV_ON]: 'assets/bt-fav-on.webp',
1567
- [UIAsset.BT_FILE]: 'assets/bt-file.webp',
1568
- [UIAsset.BT_FULL_SCREEN_PLAYER]: 'assets/bt-full-screen-player.webp',
1569
- [UIAsset.BT_GALLERY]: 'assets/bt-gallery.webp',
1570
- [UIAsset.BT_INFO]: 'assets/bt-info.webp',
1571
- [UIAsset.BT_LIKE_COMMENT]: 'assets/bt-like-comment.webp',
1572
- [UIAsset.BT_LIKE_COMMENT_ON]: 'assets/bt-like-comment-on.webp',
1573
- [UIAsset.BT_LIKE_LIVE]: 'assets/bt-like-live.webp',
1574
- [UIAsset.BT_LIKE_LIVE_ON]: 'assets/bt-like-live-on.webp',
1575
- [UIAsset.BT_LIKE_OFF]: 'assets/bt-like-off.webp',
1576
- [UIAsset.BT_LIKE_ON]: 'assets/bt-like-on.webp',
1577
- [UIAsset.BT_LINK_GENERIC]: 'assets/bt-link-generic.webp',
1578
- [UIAsset.BT_LOCK]: 'assets/bt-lock.webp',
1579
- [UIAsset.BT_LOGOUT]: 'assets/bt-logout.webp',
1580
- [UIAsset.BT_MATERIAL]: 'assets/bt-material.webp',
1581
- [UIAsset.BT_MATERIALS_ACTIONS_OFF]: 'assets/bt-materials-actions-off.webp',
1582
- [UIAsset.BT_MENU]: 'assets/bt-menu.webp',
1583
- [UIAsset.BT_MY_LIST_ACTION_OFF]: 'assets/bt-my-list-action-off.webp',
1584
- [UIAsset.BT_MY_LIST_ACTION_ON]: 'assets/bt-my-list-action-on.webp',
1585
- [UIAsset.BT_MY_LIST_NAV_OFF]: 'assets/bt-my-list-nav-off.webp',
1586
- [UIAsset.BT_MY_LIST_NAV_ON]: 'assets/bt-my-list-nav-on.webp',
1587
- [UIAsset.BT_NEW_STORY]: 'assets/bt-new-story.webp',
1588
- [UIAsset.BT_NEXT]: 'assets/bt-next.webp',
1589
- [UIAsset.BT_NEXT_ACTIONS]: 'assets/bt-next-actions.webp',
1590
- [UIAsset.BT_NEXT_CHALLENGE]: 'assets/bt-next-challenge.webp',
1591
- [UIAsset.BT_NEXT_CLIPS]: 'assets/bt-next-clips.webp',
1592
- [UIAsset.BT_NEXT_MAIN]: 'assets/bt-next-main.webp',
1593
- [UIAsset.BT_NOTE_ACTIONS_OFF]: 'assets/bt-note-actions-off.webp',
1594
- [UIAsset.BT_NOTE_ACTIONS_ON]: 'assets/bt-note-actions-on.webp',
1595
- [UIAsset.BT_NOTIFICATION]: 'assets/bt-notification.webp',
1596
- [UIAsset.BT_NOTIFICATION_ON]: 'assets/bt-notification-on.webp',
1597
- [UIAsset.BT_NOTIFICATIONS_TAB]: 'assets/bt-notifications-tab.webp',
1598
- [UIAsset.BT_OPEN]: 'assets/bt-open.webp',
1599
- [UIAsset.BT_OPEN_LIST]: 'assets/bt-open-list.webp',
1600
- [UIAsset.BT_OPEN_LIST_AUDIO]: 'assets/bt-open-list-audio.webp',
1601
- [UIAsset.BT_OPORTUNIDADES_TAB]: 'assets/bt-oportunidades-tab.webp',
1602
- [UIAsset.BT_OPORTUNIDADES_TAB_ON]: 'assets/bt-oportunidades-tab-on.webp',
1603
- [UIAsset.BT_OPTIONS]: 'assets/bt-options.webp',
1604
- [UIAsset.BT_PAUSE_VIEW_AUDIO]: 'assets/bt-pause-view-audio.webp',
1605
- [UIAsset.BT_PAUSE_VIEW_CLIPS]: 'assets/bt-pause-view-clips.webp',
1606
- [UIAsset.BT_PERFIL]: 'assets/bt-perfil.webp',
1607
- [UIAsset.BT_PERFIL_TAB]: 'assets/bt-perfil-tab.webp',
1608
- [UIAsset.BT_PHOTO_COMMENT]: 'assets/bt-photo-comment.webp',
1609
- [UIAsset.BT_PIMP_PLAYER]: 'assets/bt-pimp-player.webp',
1610
- [UIAsset.BT_PLAY_VIEW_AUDIO]: 'assets/bt-play-view-audio.webp',
1611
- [UIAsset.BT_PLAY_VIEW_CLIPS]: 'assets/bt-play-view-clips.webp',
1612
- [UIAsset.BT_POST]: 'assets/bt-post.webp',
1613
- [UIAsset.BT_RATING_OFF]: 'assets/bt-rating-off.webp',
1614
- [UIAsset.BT_RATING_ON]: 'assets/bt-rating-on.webp',
1615
- [UIAsset.BT_RESTART_ACTIONS_OFF]: 'assets/bt-restart-actions-off.webp',
1616
- [UIAsset.BT_SEARCH]: 'assets/bt-search.webp',
1617
- [UIAsset.BT_SEEK]: 'assets/bt-seek.webp',
1618
- [UIAsset.BT_SELFIE]: 'assets/bt-selfie.webp',
1619
- [UIAsset.BT_SEND_OFF]: 'assets/bt-send-off.webp',
1620
- [UIAsset.BT_SEND_ON]: 'assets/bt-send-on.webp',
1621
- [UIAsset.BT_SHARE_LIVE]: 'assets/bt-share-live.webp',
1622
- [UIAsset.BT_SHARE_POST_OFF]: 'assets/bt-share-post-off.webp',
1623
- [UIAsset.BT_SPEED_PLAYER]: 'assets/bt-speed-player.webp',
1624
- [UIAsset.BT_TEXT_STORIES]: 'assets/bt-text-stories.webp',
1625
- [UIAsset.BT_TIME24_STORY]: 'assets/bt-time24-story.webp',
1626
- [UIAsset.BT_TIME48_STORY]: 'assets/bt-time48-story.webp',
1627
- [UIAsset.BT_TIME72_STORY]: 'assets/bt-time72-story.webp',
1628
- [UIAsset.BT_TRASH]: 'assets/bt-trash.webp',
1629
- [UIAsset.BT_TV]: 'assets/bt-tv.webp',
1630
- [UIAsset.BT_TV_ON]: 'assets/bt-tv-on.webp',
1631
- [UIAsset.BT_TV_ON_LIST]: 'assets/bt-tv-on-list.webp',
1632
- [UIAsset.BT_TV_ON_MAIN]: 'assets/bt-tv-on-main.webp',
1633
- [UIAsset.BT_VIDEO_HELP_PLAYER]: 'assets/bt-video-help-player.webp',
1634
- [UIAsset.IC_ACTIVITE]: 'assets/ic-activite.webp',
1635
- [UIAsset.IC_ACTIVITY]: 'assets/ic-activity.webp',
1636
- [UIAsset.IC_ACTIVITY_MY_APP]: 'assets/ic-activity-my-app.webp',
1637
- [UIAsset.IC_AI_STAR]: 'assets/ic-ai-star.webp',
1638
- [UIAsset.IC_AI_TAG]: 'assets/ic-ai-tag.webp',
1639
- [UIAsset.IC_ALERT_NEW_POST]: 'assets/ic-alert-new-post.webp',
1640
- [UIAsset.IC_ALERT_NOTIFICATION]: 'assets/ic-alert-notification.webp',
1641
- [UIAsset.IC_ANONYMOUS_POST]: 'assets/ic-anonymous-post.webp',
1642
- [UIAsset.IC_ATTENTION]: 'assets/ic-attention.webp',
1643
- [UIAsset.IC_ATTENTION_RULES]: 'assets/ic-attention-rules.webp',
1644
- [UIAsset.IC_AUDIO_CLIPS]: 'assets/ic-audio-clips.webp',
1645
- [UIAsset.IC_AUDIO_LIST]: 'assets/ic-audio-list.webp',
1646
- [UIAsset.IC_AUDIO_LIST_DISABLED]: 'assets/ic-audio-list-disabled.webp',
1647
- [UIAsset.IC_AVATAR]: 'assets/ic-avatar.webp',
1648
- [UIAsset.IC_AVATAR_COMMENT]: 'assets/ic-avatar-comment.webp',
1649
- [UIAsset.IC_AVATAR_LIVE]: 'assets/ic-avatar-live.webp',
1650
- [UIAsset.IC_AVATAR_RANKING_LIST]: 'assets/ic-avatar-ranking-list.webp',
1651
- [UIAsset.IC_AVATAR_RANKING_ONE]: 'assets/ic-avatar-ranking-one.webp',
1652
- [UIAsset.IC_AVATAR_RANKING_TWO]: 'assets/ic-avatar-ranking-two.webp',
1653
- [UIAsset.IC_AVATAR_REGISTER]: 'assets/ic-avatar-register.webp',
1654
- [UIAsset.IC_CERTIFICATION]: 'assets/ic-certification.webp',
1655
- [UIAsset.IC_CERTIFICATION_MAIN]: 'assets/ic-certification-main.webp',
1656
- [UIAsset.IC_CERTIFICATION_MY_APP]: 'assets/ic-certification-my-app.webp',
1657
- [UIAsset.IC_CHALLENGE_PTS]: 'assets/ic-challenge-pts.webp',
1658
- [UIAsset.IC_CHALLENGE_PTS_DETAIL]: 'assets/ic-challenge-pts-detail.webp',
1659
- [UIAsset.IC_CHALLENGE_PTS_LIST]: 'assets/ic-challenge-pts-list.webp',
1660
- [UIAsset.IC_CHALLENGE_PTS_LIST_DISABLED]: 'assets/ic-challenge-pts-list-disabled.webp',
1661
- [UIAsset.IC_CHALLENGE_RANKING]: 'assets/ic-challenge-ranking.webp',
1662
- [UIAsset.IC_CHECK]: 'assets/ic-check.webp',
1663
- [UIAsset.IC_CHROMECAST]: 'assets/ic-chromecast.webp',
1664
- [UIAsset.IC_CLIP_EMPTY]: 'assets/ic-clip-empty.webp',
1665
- [UIAsset.IC_CONTACT]: 'assets/ic-contact.webp',
1666
- [UIAsset.IC_DADOS_CHECK]: 'assets/ic-dados-check.webp',
1667
- [UIAsset.IC_DELETE_ACCOUNT]: 'assets/ic-delete-account.webp',
1668
- [UIAsset.IC_DISABLED_LESSON]: 'assets/ic-disabled-lesson.webp',
1669
- [UIAsset.IC_DOWNLOAD_EMPTY]: 'assets/ic-download-empty.webp',
1670
- [UIAsset.IC_DOWNLOAD_MY_APP]: 'assets/ic-download-my-app.webp',
1671
- [UIAsset.IC_DOWNLOADS_LIST]: 'assets/ic-downloads-list.webp',
1672
- [UIAsset.IC_EMAIL]: 'assets/ic-email.webp',
1673
- [UIAsset.IC_EMPTY_CLASS]: 'assets/ic-empty-class.webp',
1674
- [UIAsset.IC_ERROR]: 'assets/ic-error.webp',
1675
- [UIAsset.IC_ERROR_CHALLENGE]: 'assets/ic-error-challenge.webp',
1676
- [UIAsset.IC_FILE]: 'assets/ic-file.webp',
1677
- [UIAsset.IC_FILE_CLIPS]: 'assets/ic-file-clips.webp',
1678
- [UIAsset.IC_FILE_DISABLED]: 'assets/ic-file-disabled.webp',
1679
- [UIAsset.IC_FIX_POST]: 'assets/ic-fix-post.webp',
1680
- [UIAsset.IC_FLAG_END]: 'assets/ic-flag-end.webp',
1681
- [UIAsset.IC_FLAG_START]: 'assets/ic-flag-start.webp',
1682
- [UIAsset.IC_FULL_IMAGE]: 'assets/ic-full-image.webp',
1683
- [UIAsset.IC_LEVEL_ONE]: 'assets/ic-level-one.webp',
1684
- [UIAsset.IC_LEVEL_ONE_PROFILE]: 'assets/ic-level-one-profile.webp',
1685
- [UIAsset.IC_LEVEL_THREE]: 'assets/ic-level-three.webp',
1686
- [UIAsset.IC_LEVEL_TWO]: 'assets/ic-level-two.webp',
1687
- [UIAsset.IC_LINK_CLIPS]: 'assets/ic-link-clips.webp',
1688
- [UIAsset.IC_LINK_GENERIC]: 'assets/ic-link-generic.webp',
1689
- [UIAsset.IC_LINK_LIST]: 'assets/ic-link-list.webp',
1690
- [UIAsset.IC_LINK_LIST_DISABLED]: 'assets/ic-link-list-disabled.webp',
1691
- [UIAsset.IC_LIVE_WAITING]: 'assets/ic-live-waiting.webp',
1692
- [UIAsset.IC_LOCK]: 'assets/ic-lock.webp',
1693
- [UIAsset.IC_LOCK_CHECK]: 'assets/ic-lock-check.webp',
1694
- [UIAsset.IC_LOCK_LESSON]: 'assets/ic-lock-lesson.webp',
1695
- [UIAsset.IC_MY_LIST]: 'assets/ic-my-list.webp',
1696
- [UIAsset.IC_MY_LIST_EMPTY]: 'assets/ic-my-list-empty.webp',
1697
- [UIAsset.IC_MY_LIST_MY_APP]: 'assets/ic-my-list-my-app.webp',
1698
- [UIAsset.IC_MY_SHOP]: 'assets/ic-my-shop.webp',
1699
- [UIAsset.IC_MY_SHOP_MY_APP]: 'assets/ic-my-shop-my-app.webp',
1700
- [UIAsset.IC_MY_VOTE]: 'assets/ic-my-vote.webp',
1701
- [UIAsset.IC_NOT_FOUND]: 'assets/ic-not-found.webp',
1702
- [UIAsset.IC_NOTE]: 'assets/ic-note.webp',
1703
- [UIAsset.IC_NOTE_MY_APP]: 'assets/ic-note-my-app.webp',
1704
- [UIAsset.IC_NOTIFICATION_EMPTY]: 'assets/ic-notification-empty.webp',
1705
- [UIAsset.IC_NOTIFICATION_MY_APP]: 'assets/ic-notification-my-app.webp',
1706
- [UIAsset.IC_NOTIFICATION_MY_APP_ON]: 'assets/ic-notification-my-app-on.webp',
1707
- [UIAsset.IC_NOTIFICATION_OFF]: 'assets/ic-notification-off.webp',
1708
- [UIAsset.IC_NOTIFICATION_ON]: 'assets/ic-notification-on.webp',
1709
- [UIAsset.IC_POST_EMPTY]: 'assets/ic-post-empty.webp',
1710
- [UIAsset.IC_PAUSE_VIEW]: 'assets/ic-pause-view.webp',
1711
- [UIAsset.IC_PAUSE_VIEW_AUDIO]: 'assets/ic-pause-view-audio.webp',
1712
- [UIAsset.IC_PAUSE_VIEW_SOUND]: 'assets/ic-pause-view-sound.webp',
1713
- [UIAsset.IC_PERGUNTAS]: 'assets/ic-perguntas.webp',
1714
- [UIAsset.IC_PIN_CARD]: 'assets/ic-pin-card.webp',
1715
- [UIAsset.IC_PLAY_CLIPS]: 'assets/ic-play-clips.webp',
1716
- [UIAsset.IC_PLAY_LIST]: 'assets/ic-play-list.webp',
1717
- [UIAsset.IC_PLAY_LIST_DISABLED]: 'assets/ic-play-list-disabled.webp',
1718
- [UIAsset.IC_PLAY_VIEW]: 'assets/ic-play-view.webp',
1719
- [UIAsset.IC_PLAY_VIEW_AUDIO]: 'assets/ic-play-view-audio.webp',
1720
- [UIAsset.IC_PLAY_VIEW_SOUND]: 'assets/ic-play-view-sound.webp',
1721
- [UIAsset.IC_POLITICS]: 'assets/ic-politics.webp',
1722
- [UIAsset.IC_POST]: 'assets/ic-post.webp',
1723
- [UIAsset.IC_POST_AUDIO]: 'assets/ic-post-audio.webp',
1724
- [UIAsset.IC_POST_IMAGE]: 'assets/ic-post-image.webp',
1725
- [UIAsset.IC_POST_TEXT]: 'assets/ic-post-text.webp',
1726
- [UIAsset.IC_POST_VIDEO]: 'assets/ic-post-video.webp',
1727
- [UIAsset.IC_POST_VIDEO_FULL]: 'assets/ic-post-video-full.webp',
1728
- [UIAsset.IC_PTS]: 'assets/ic-pts.webp',
1729
- [UIAsset.IC_QUIZ_CLIPS]: 'assets/ic-quiz-clips.webp',
1730
- [UIAsset.IC_QUIZ_FINAL]: 'assets/ic-quiz-final.webp',
1731
- [UIAsset.IC_QUIZ_LIST]: 'assets/ic-quiz-list.webp',
1732
- [UIAsset.IC_QUIZ_LIST_DISABLED]: 'assets/ic-quiz-list-disabled.webp',
1733
- [UIAsset.IC_RANKING_LOCK]: 'assets/ic-ranking-lock.webp',
1734
- [UIAsset.IC_RANKING_N1]: 'assets/ic-ranking-n1.webp',
1735
- [UIAsset.IC_RANKING_N2]: 'assets/ic-ranking-n2.webp',
1736
- [UIAsset.IC_RANKING_N3]: 'assets/ic-ranking-n3.webp',
1737
- [UIAsset.IC_RATING_LIST]: 'assets/ic-rating-list.webp',
1738
- [UIAsset.IC_RATING_LIST_DISABLED]: 'assets/ic-rating-list-disabled.webp',
1739
- [UIAsset.IC_RATING_PROGRAM]: 'assets/ic-rating-program.webp',
1740
- [UIAsset.IC_SEARCH]: 'assets/ic-search.webp',
1741
- [UIAsset.IC_SEARCH_EMPTY]: 'assets/ic-search-empty.webp',
1742
- [UIAsset.IC_SHOP]: 'assets/ic-shop.webp',
1743
- [UIAsset.IC_SHOP_MY_APP]: 'assets/ic-shop-my-app.webp',
1744
- [UIAsset.IC_SMARTTV]: 'assets/ic-smarttv.webp',
1745
- [UIAsset.IC_SPEED]: 'assets/ic-speed.webp',
1746
- [UIAsset.IC_STATUS_CHALLENGE_WAIT]: 'assets/ic-status-challenge-wait.webp',
1747
- [UIAsset.IC_STORY_CHECK]: 'assets/ic-story-check.webp',
1748
- [UIAsset.IC_SUBSCRIBE]: 'assets/ic-subscribe.webp',
1749
- [UIAsset.IC_SUBSCRIBE_MY_APP]: 'assets/ic-subscribe-my-app.webp',
1750
- [UIAsset.IC_TAG_CHALLENGE]: 'assets/ic-tag-challenge.webp',
1751
- [UIAsset.IC_TAG_RANKING]: 'assets/ic-tag-ranking.webp',
1752
- [UIAsset.IC_TAG_RANKING_MAIN]: 'assets/ic-tag-ranking-main.webp',
1753
- [UIAsset.IC_TAG_VIP]: 'assets/ic-tag-vip.webp',
1754
- [UIAsset.IC_TERMS]: 'assets/ic-terms.webp',
1755
- [UIAsset.IC_TEXT_CLIPS]: 'assets/ic-text-clips.webp',
1756
- [UIAsset.IC_TEXT_LIST]: 'assets/ic-text-list.webp',
1757
- [UIAsset.IC_TEXT_LIST_DISABLED]: 'assets/ic-text-list-disabled.webp',
1758
- [UIAsset.IC_TV]: 'assets/ic-tv.webp',
1759
- [UIAsset.IC_TV_MIRROR]: 'assets/ic-tv-mirror.webp',
1760
- [UIAsset.IC_TYPE_FILE]: 'assets/ic-type-file.webp',
1761
- [UIAsset.IC_TYPE_TEXT]: 'assets/ic-type-text.webp',
1762
- [UIAsset.IC_VERIFIED]: 'assets/ic-verified.webp',
1763
- [UIAsset.IC_VERIFIED_COMMENT]: 'assets/ic-verified-comment.webp',
1764
- [UIAsset.IC_VIEW]: 'assets/ic-view.webp',
1765
- [UIAsset.IC_VIEW_LIVE]: 'assets/ic-view-live.webp',
1766
- [UIAsset.IC_VIEW_STORY]: 'assets/ic-view-story.webp',
1767
- [UIAsset.IC_VOTE]: 'assets/ic-vote.webp',
1768
- [UIAsset.IMG]: 'assets/img.webp',
1769
- [UIAsset.IMG_AVATAR_STORY]: 'assets/img-avatar-story.webp',
1770
- [UIAsset.IMG_AVATAR_STORY_VIEW]: 'assets/img-avatar-story-view.webp',
1771
- [UIAsset.IMG_BG_ASSINATURAS]: 'assets/img-bg-assinaturas.webp',
1772
- [UIAsset.IMG_BG_PAINEL]: 'assets/img-bg-painel.webp',
1773
- [UIAsset.IMG_BT_APPLESTORE]: 'assets/img-bt-applestore.webp',
1774
- [UIAsset.IMG_BT_GOOGLEPLAY]: 'assets/img-bt-googleplay.webp',
1775
- [UIAsset.IMG_CAPA_VIDEO]: 'assets/img-capa-video.webp',
1776
- [UIAsset.IMG_CHECKOUT_DESKTOP]: 'assets/img-checkout-desktop.webp',
1777
- [UIAsset.IMG_CHECKOUT_MOBILE]: 'assets/img-checkout-mobile.webp',
1778
- [UIAsset.IMG_CHECKOUT_RIGHT]: 'assets/img-checkout-right.webp',
1779
- [UIAsset.IMG_CLASS_FILE]: 'assets/img-class-file.webp',
1780
- [UIAsset.IMG_COMUNIDADE]: 'assets/img-comunidade.webp',
1781
- [UIAsset.IMG_FAV]: 'assets/img-fav.webp',
1782
- [UIAsset.IMG_LOGO]: 'assets/img-logo.webp',
1783
- [UIAsset.IMG_LOGO_EMAIL]: 'assets/img-logo-email.webp',
1784
- [UIAsset.IMG_LOGO_HORIZ]: 'assets/img-logo-horiz.webp',
1785
- [UIAsset.IMG_LOGO_LOGIN]: 'assets/img-logo-login.webp',
1786
- [UIAsset.IMG_LOGO_NAV]: 'assets/img-logo-nav.webp',
1787
- [UIAsset.IMG_LOGO_NORMAL]: 'assets/img-logo-normal.webp',
1788
- [UIAsset.IMG_LOGO_PAYMENT]: 'assets/img-logo-payment.webp',
1789
- [UIAsset.IMG_MASK_AUDIO_BLUR]: 'assets/img-mask-audio-blur.webp',
1790
- [UIAsset.IMG_MASK_BANNER_BLUR]: 'assets/img-mask-banner-blur.webp',
1791
- [UIAsset.IMG_MASK_BANNER_MAIN]: 'assets/img-mask-banner-main.webp',
1792
- [UIAsset.IMG_MASK_CAST_LIST]: 'assets/img-mask-cast-list.webp',
1793
- [UIAsset.IMG_MASK_CATEGORY_HIGHLIGHT]: 'assets/img-mask-category-highlight.webp',
1794
- [UIAsset.IMG_MASK_CHALLENGE_ACTIVITY]: 'assets/img-mask-challenge-activity.webp',
1795
- [UIAsset.IMG_MASK_FILE]: 'assets/img-mask-file.webp',
1796
- [UIAsset.IMG_MASK_LIVE]: 'assets/img-mask-live.webp',
1797
- [UIAsset.IMG_MASK_LIVE_TOP]: 'assets/img-mask-live-top.webp',
1798
- [UIAsset.IMG_MASK_LIVE_WAITING]: 'assets/img-mask-live-waiting.webp',
1799
- [UIAsset.IMG_MASK_MAIN_BANNERS]: 'assets/img-mask-main-banners.webp',
1800
- [UIAsset.IMG_MASK_PROFILE]: 'assets/img-mask-profile.webp',
1801
- [UIAsset.IMG_MASK_PROGRAM]: 'assets/img-mask-program.webp',
1802
- [UIAsset.IMG_MASK_RATING]: 'assets/img-mask-rating.webp',
1803
- [UIAsset.IMG_MASK_SOUND_BLUR]: 'assets/img-mask-sound-blur.webp',
1804
- [UIAsset.IMG_PLACEHOLDER_CAST]: 'assets/img-placeholder-cast.webp',
1805
- [UIAsset.IMG_PLACEHOLDER_FILE]: 'assets/img-placeholder-file.webp',
1806
- [UIAsset.IMG_PLACEHOLDER_LEVEL]: 'assets/img-placeholder-level.webp',
1807
- [UIAsset.IMG_PLACEHOLDER_MAIN]: 'assets/img-placeholder-main.webp',
1808
- [UIAsset.IMG_PLACEHOLDER_MEUS_VIDEOS]: 'assets/img-placeholder-meus-videos.webp',
1809
- [UIAsset.IMG_PLACEHOLDER_NOTIFICATION]: 'assets/img-placeholder-notification.webp',
1810
- [UIAsset.IMG_PLACEHOLDER_POST_IMAGEM]: 'assets/img-placeholder-post-imagem.webp',
1811
- [UIAsset.IMG_PLACEHOLDER_POST_VIP]: 'assets/img-placeholder-post-vip.webp',
1812
- [UIAsset.IMG_PLACEHOLDER_PROGRAM]: 'assets/img-placeholder-program.webp',
1813
- [UIAsset.IMG_PLACEHOLDER_RANKING]: 'assets/img-placeholder-ranking.webp',
1814
- [UIAsset.IMG_PLACEHOLDER_STORY]: 'assets/img-placeholder-story.webp',
1815
- [UIAsset.IMG_PLACEHOLDER_TEXT]: 'assets/img-placeholder-text.webp',
1816
- [UIAsset.IMG_PLACEHOLDER_VIDEO_MAIN]: 'assets/img-placeholder-video-main.webp',
1817
- [UIAsset.IMG_SHARE_WHATSAPP]: 'assets/img-share-whatsapp.webp',
1818
- [UIAsset.IMG_SYMBOL80]: 'assets/img-symbol80.webp',
1819
- [UIAsset.IMG_THUMB_HORIZ]: 'assets/img-thumb-horiz.webp',
1820
- [UIAsset.IMG_THUMB_PROG_VERT]: 'assets/img-thumb-prog-vert.webp',
1821
- [UIAsset.IMG_THUMB_PROG_VERT1]: 'assets/img-thumb-prog-vert1.webp',
1822
- [UIAsset.IMG_THUMB_PROG_VERT2]: 'assets/img-thumb-prog-vert2.webp',
1823
- [UIAsset.IMG_THUMB_PROG_VERT3]: 'assets/img-thumb-prog-vert3.webp',
1824
- [UIAsset.MASK_DETAIL]: 'assets/mask-detail.webp',
1825
- [UIAsset.MASK_DETAIL_CERTIFICATION]: 'assets/mask-detail-certification.webp',
1826
- [UIAsset.MASK_DETAIL_CHALLENGE]: 'assets/mask-detail-challenge.webp',
1827
- [UIAsset.MASK_DETAIL_POST_VIP]: 'assets/mask-detail-post-vip.webp',
1828
- [UIAsset.MASK_DETAIL_RANKING]: 'assets/mask-detail-ranking.webp',
1829
- [UIAsset.MASK_IMG_CARROSEL]: 'assets/mask-img-carrosel.webp',
1830
- [UIAsset.MASK_IMG_MAIN]: 'assets/mask-img-main.webp',
1831
- [UIAsset.MASK_IMG_TOP_STORY]: 'assets/mask-img-top-story.webp',
1832
- [UIAsset.MASK_NEXT_CLASS]: 'assets/mask-next-class.webp',
1833
- [UIAsset.REPEAT_BACK]: 'assets/repeat-back.webp',
1834
- [UIAsset.REPEAT_BACK_SOUND]: 'assets/repeat-back-sound.webp',
1835
- [UIAsset.REPEAT_FRONT]: 'assets/repeat-front.webp',
1836
- [UIAsset.REPEAT_FRONT_SOUND]: 'assets/repeat-front-sound.webp',
1837
- [UIAsset.SPACE_GRAY]: 'assets/space-gray.webp',
1838
- [UIAsset.VIDEO_REPEAT_BACK]: 'assets/video-repeat-back.webp',
1839
- [UIAsset.VIDEO_REPEAT_FRONT]: 'assets/video-repeat-front.webp',
1840
- [UIAsset.WAY_LEFT_END_OFF]: 'assets/way-left-end-off.webp',
1841
- [UIAsset.WAY_LEFT_END_ON]: 'assets/way-left-end-on.webp',
1842
- [UIAsset.WAY_ONE_OFF]: 'assets/way-one-off.webp',
1843
- [UIAsset.WAY_ONE_ON]: 'assets/way-one-on.webp',
1844
- [UIAsset.WAY_RIGHT_END_OFF]: 'assets/way-right-end-off.webp',
1845
- [UIAsset.WAY_RIGHT_END_ON]: 'assets/way-right-end-on.webp',
1846
- [UIAsset.WAY_START_OFF]: 'assets/way-start-off.webp',
1847
- [UIAsset.WAY_START_ON]: 'assets/way-start-on.webp',
1848
- [UIAsset.WAY_TASK_OFF]: 'assets/way-task-off.webp',
1849
- [UIAsset.WAY_TASK_ON]: 'assets/way-task-on.webp',
1850
- [UIAsset.WAY_TWO_OFF]: 'assets/way-two-off.webp',
1851
- [UIAsset.WAY_TWO_ON]: 'assets/way-two-on.webp',
1852
- [UIAsset.IC_COMMENT_SEARCH_LIST]: 'assets/ic-comment-search-list.webp',
1853
- [UIAsset.IC_LIKE_SEARCH_LIST]: 'assets/ic-like-search-list.webp',
1854
- [UIAsset.IC_SHARE_SEARCH_LIST]: 'assets/ic-share-search-list.webp',
1855
- [UIAsset.IC_LAST_SEARCH]: 'images/ic-last-search.svg',
1611
+ [UIAsset.BG_ASSINATURAS]: 'assets/images/bg-assinaturas.webp',
1612
+ [UIAsset.BG_CHALLENGE_ACTIVITY_FINAL]: 'assets/images/bg-challenge-activity-final.webp',
1613
+ [UIAsset.BG_LIGHT]: 'assets/images/bg-light.webp',
1614
+ [UIAsset.BG_LOGIN]: 'assets/images/bg-login.webp',
1615
+ [UIAsset.BG_POST]: 'assets/images/bg-post.webp',
1616
+ [UIAsset.BG_QUIZ_FINAL]: 'assets/images/bg-quiz-final.webp',
1617
+ [UIAsset.BG_RATING_PROGRAM]: 'assets/images/bg-rating-program.webp',
1618
+ [UIAsset.BG_SPLASH]: 'assets/images/bg-splash.webp',
1619
+ [UIAsset.BG_STORY]: 'assets/images/bg-story.webp',
1620
+ [UIAsset.BG_SURVEY]: 'assets/images/bg-survey.webp',
1621
+ [UIAsset.BT_ABOUT_ACTIONS_OFF]: 'assets/images/bt-about-actions-off.svg',
1622
+ [UIAsset.BT_ANONYMOUS_COMMENT_OFF]: 'assets/images/bt-anonymous-comment-off.svg',
1623
+ [UIAsset.BT_ANONYMOUS_COMMENT_ON]: 'assets/images/bt-anonymous-comment-on.svg',
1624
+ [UIAsset.BT_BACK]: 'assets/images/bt-back.svg',
1625
+ [UIAsset.BT_BACK_LIVE]: 'assets/images/bt-back-live.svg',
1626
+ [UIAsset.BT_BACK_NEW]: 'assets/images/bt-back-new.svg',
1627
+ [UIAsset.BT_BACK_PLAYER]: 'assets/images/bt-back-player.svg',
1628
+ [UIAsset.BT_BACK_STORY]: 'assets/images/bt-back-story.svg',
1629
+ [UIAsset.BT_CANCEL_LIST]: 'assets/images/bt-cancel-list.svg',
1630
+ [UIAsset.BT_CAPTURE_PHOTO]: 'assets/images/bt-capture-photo.svg',
1631
+ [UIAsset.BT_CAPTURE_VIDEO]: 'assets/images/bt-capture-video.svg',
1632
+ [UIAsset.BT_CAPTURE_VIDEO_LINE]: 'assets/images/bt-capture-video-line.svg',
1633
+ [UIAsset.BT_CERTIFICATION_ACTIONS_OFF]: 'assets/images/bt-certification-actions-off.svg',
1634
+ [UIAsset.BT_CERTIFICATION_ACTIONS_ON]: 'assets/images/bt-certification-actions-on.svg',
1635
+ [UIAsset.BT_CHECK_ACTION_OFF]: 'assets/images/bt-check-action-off.svg',
1636
+ [UIAsset.BT_CHECK_ACTION_ON]: 'assets/images/bt-check-action-on.svg',
1637
+ [UIAsset.BT_CHECK_FIX_OFF]: 'assets/images/bt-check-fix-off.svg',
1638
+ [UIAsset.BT_CHECK_OFF]: 'assets/images/bt-check-off.svg',
1639
+ [UIAsset.BT_CHECK_ON]: 'assets/images/bt-check-on.svg',
1640
+ [UIAsset.BT_CHECK_TERMS_OFF]: 'assets/images/bt-check-terms-off.svg',
1641
+ [UIAsset.BT_CHECK_TERMS_ON]: 'assets/images/bt-check-terms-on.svg',
1642
+ [UIAsset.BT_CLIPS_TAB]: 'assets/images/bt-clips-tab.svg',
1643
+ [UIAsset.BT_CLIPS_TAB_ON]: 'assets/images/bt-clips-tab-on.svg',
1644
+ [UIAsset.BT_CLOSE]: 'assets/images/bt-close.svg',
1645
+ [UIAsset.BT_CLOSE_COMMENT]: 'assets/images/bt-close-comment.svg',
1646
+ [UIAsset.BT_CLOSE_FULL_IMAGE]: 'assets/images/bt-close-full-image.svg',
1647
+ [UIAsset.BT_CLOSE_LIST]: 'assets/images/bt-close-list.svg',
1648
+ [UIAsset.BT_CLOSE_LIVE]: 'assets/images/bt-close-live.svg',
1649
+ [UIAsset.BT_CLOSE_RATING]: 'assets/images/bt-close-rating.svg',
1650
+ [UIAsset.BT_CLOSE_SCREEN_PLAYER]: 'assets/images/bt-close-screen-player.svg',
1651
+ [UIAsset.BT_CLOSE_STORY]: 'assets/images/bt-close-story.svg',
1652
+ [UIAsset.BT_CLOSE_TAGS]: 'assets/images/bt-close-tags.svg',
1653
+ [UIAsset.BT_COMMENT_OFF]: 'assets/images/bt-comment-off.svg',
1654
+ [UIAsset.BT_COMMENT_ON]: 'assets/images/bt-comment-on.svg',
1655
+ [UIAsset.BT_COMUNIDADE_TAB]: 'assets/images/bt-comunidade-tab.svg',
1656
+ [UIAsset.BT_COMUNIDADE_TAB_ON]: 'assets/images/bt-comunidade-tab-on.svg',
1657
+ [UIAsset.BT_CONFIG_NAVBAR]: 'assets/images/bt-config-navbar.svg',
1658
+ [UIAsset.BT_CONFIG_PLAYER]: 'assets/images/bt-config-player.svg',
1659
+ [UIAsset.BT_DELETE_STORY]: 'assets/images/bt-delete-story.svg',
1660
+ [UIAsset.BT_DISABLED]: 'assets/images/bt-disabled.svg',
1661
+ [UIAsset.BT_DOWNLOAD_ACTION_OFF]: 'assets/images/bt-download-action-off.svg',
1662
+ [UIAsset.BT_DOWNLOAD_LIST]: 'assets/images/bt-download-list.svg',
1663
+ [UIAsset.BT_DOWNLOAD_NAV]: 'assets/images/bt-download-nav.svg',
1664
+ [UIAsset.BT_DOWNLOAD_TAB]: 'assets/images/bt-download-tab.svg',
1665
+ [UIAsset.BT_DOWNLOAD_TAB_ON]: 'assets/images/bt-download-tab-on.svg',
1666
+ [UIAsset.BT_EVALUATION_ACTION]: 'assets/images/bt-evaluation-action.svg',
1667
+ [UIAsset.BT_EVALUATION_ACTION_OFF]: 'assets/images/bt-evaluation-action-off.svg',
1668
+ [UIAsset.BT_EVALUATION_ACTION_ON]: 'assets/images/bt-evaluation-action-on.svg',
1669
+ [UIAsset.BT_FAV_ACTIONS_OFF]: 'assets/images/bt-fav-actions-off.svg',
1670
+ [UIAsset.BT_FAV_ACTIONS_ON]: 'assets/images/bt-fav-actions-on.svg',
1671
+ [UIAsset.BT_FAV_OFF]: 'assets/images/bt-fav-off.svg',
1672
+ [UIAsset.BT_FAV_ON]: 'assets/images/bt-fav-on.svg',
1673
+ [UIAsset.BT_FILE]: 'assets/images/bt-file.svg',
1674
+ [UIAsset.BT_FULL_SCREEN_PLAYER]: 'assets/images/bt-full-screen-player.svg',
1675
+ [UIAsset.BT_GALLERY]: 'assets/images/bt-gallery.svg',
1676
+ [UIAsset.BT_INFO]: 'assets/images/bt-info.svg',
1677
+ [UIAsset.BT_LIKE_COMMENT]: 'assets/images/bt-like-comment.svg',
1678
+ [UIAsset.BT_LIKE_COMMENT_ON]: 'assets/images/bt-like-comment-on.svg',
1679
+ [UIAsset.BT_LIKE_LIVE]: 'assets/images/bt-like-live.svg',
1680
+ [UIAsset.BT_LIKE_LIVE_ON]: 'assets/images/bt-like-live-on.svg',
1681
+ [UIAsset.BT_LIKE_OFF]: 'assets/images/bt-like-off.svg',
1682
+ [UIAsset.BT_LIKE_ON]: 'assets/images/bt-like-on.svg',
1683
+ [UIAsset.BT_LINK_GENERIC]: 'assets/images/bt-link-generic.svg',
1684
+ [UIAsset.BT_LOCK]: 'assets/images/bt-lock.svg',
1685
+ [UIAsset.BT_LOGOUT]: 'assets/images/bt-logout.svg',
1686
+ [UIAsset.BT_MATERIAL]: 'assets/images/bt-material.svg',
1687
+ [UIAsset.BT_MATERIALS_ACTIONS_OFF]: 'assets/images/bt-materials-actions-off.svg',
1688
+ [UIAsset.BT_MENU]: 'assets/images/bt-menu.svg',
1689
+ [UIAsset.BT_MY_LIST_ACTION_OFF]: 'assets/images/bt-my-list-action-off.svg',
1690
+ [UIAsset.BT_MY_LIST_ACTION_ON]: 'assets/images/bt-my-list-action-on.svg',
1691
+ [UIAsset.BT_MY_LIST_NAV_OFF]: 'assets/images/bt-my-list-nav-off.svg',
1692
+ [UIAsset.BT_MY_LIST_NAV_ON]: 'assets/images/bt-my-list-nav-on.svg',
1693
+ [UIAsset.BT_NEW_STORY]: 'assets/images/bt-new-story.svg',
1694
+ [UIAsset.BT_NEXT]: 'assets/images/bt-next.svg',
1695
+ [UIAsset.BT_NEXT_ACTIONS]: 'assets/images/bt-next-actions.svg',
1696
+ [UIAsset.BT_NEXT_CHALLENGE]: 'assets/images/bt-next-challenge.svg',
1697
+ [UIAsset.BT_NEXT_CLIPS]: 'assets/images/bt-next-clips.svg',
1698
+ [UIAsset.BT_NEXT_MAIN]: 'assets/images/bt-next-main.svg',
1699
+ [UIAsset.BT_NOTE_ACTIONS_OFF]: 'assets/images/bt-note-actions-off.svg',
1700
+ [UIAsset.BT_NOTE_ACTIONS_ON]: 'assets/images/bt-note-actions-on.svg',
1701
+ [UIAsset.BT_NOTIFICATION]: 'assets/images/bt-notification.svg',
1702
+ [UIAsset.BT_NOTIFICATION_ON]: 'assets/images/bt-notification-on.svg',
1703
+ [UIAsset.BT_NOTIFICATIONS_TAB]: 'assets/images/bt-notifications-tab.svg',
1704
+ [UIAsset.BT_OPEN]: 'assets/images/bt-open.svg',
1705
+ [UIAsset.BT_OPEN_LIST]: 'assets/images/bt-open-list.svg',
1706
+ [UIAsset.BT_OPEN_LIST_AUDIO]: 'assets/images/bt-open-list-audio.svg',
1707
+ [UIAsset.BT_OPORTUNIDADES_TAB]: 'assets/images/bt-oportunidades-tab.svg',
1708
+ [UIAsset.BT_OPORTUNIDADES_TAB_ON]: 'assets/images/bt-oportunidades-tab-on.svg',
1709
+ [UIAsset.BT_OPTIONS]: 'assets/images/bt-options.svg',
1710
+ [UIAsset.BT_PAUSE_VIEW_AUDIO]: 'assets/images/bt-pause-view-audio.svg',
1711
+ [UIAsset.BT_PAUSE_VIEW_CLIPS]: 'assets/images/bt-pause-view-clips.svg',
1712
+ [UIAsset.BT_PERFIL]: 'assets/images/bt-perfil.svg',
1713
+ [UIAsset.BT_PERFIL_TAB]: 'assets/images/bt-perfil-tab.svg',
1714
+ [UIAsset.BT_PHOTO_COMMENT]: 'assets/images/bt-photo-comment.svg',
1715
+ [UIAsset.BT_PIMP_PLAYER]: 'assets/images/bt-pimp-player.svg',
1716
+ [UIAsset.BT_PLAY_VIEW_AUDIO]: 'assets/images/bt-play-view-audio.svg',
1717
+ [UIAsset.BT_PLAY_VIEW_CLIPS]: 'assets/images/bt-play-view-clips.svg',
1718
+ [UIAsset.BT_POST]: 'assets/images/bt-post.svg',
1719
+ [UIAsset.BT_RATING_OFF]: 'assets/images/bt-rating-off.svg',
1720
+ [UIAsset.BT_RATING_ON]: 'assets/images/bt-rating-on.svg',
1721
+ [UIAsset.BT_RESTART_ACTIONS_OFF]: 'assets/images/bt-restart-actions-off.svg',
1722
+ [UIAsset.BT_SEARCH]: 'assets/images/bt-search.svg',
1723
+ [UIAsset.BT_SEEK]: 'assets/images/bt-seek.svg',
1724
+ [UIAsset.BT_SELFIE]: 'assets/images/bt-selfie.svg',
1725
+ [UIAsset.BT_SEND_OFF]: 'assets/images/bt-send-off.svg',
1726
+ [UIAsset.BT_SEND_ON]: 'assets/images/bt-send-on.svg',
1727
+ [UIAsset.BT_SHARE_LIVE]: 'assets/images/bt-share-live.svg',
1728
+ [UIAsset.BT_SHARE_POST_OFF]: 'assets/images/bt-share-post-off.svg',
1729
+ [UIAsset.BT_SPEED_PLAYER]: 'assets/images/bt-speed-player.svg',
1730
+ [UIAsset.BT_TEXT_STORIES]: 'assets/images/bt-text-stories.svg',
1731
+ [UIAsset.BT_TIME24_STORY]: 'assets/images/bt-time24-story.svg',
1732
+ [UIAsset.BT_TIME48_STORY]: 'assets/images/bt-time48-story.svg',
1733
+ [UIAsset.BT_TIME72_STORY]: 'assets/images/bt-time72-story.svg',
1734
+ [UIAsset.BT_TRASH]: 'assets/images/bt-trash.svg',
1735
+ [UIAsset.BT_TV]: 'assets/images/bt-tv.svg',
1736
+ [UIAsset.BT_TV_ON]: 'assets/images/bt-tv-on.svg',
1737
+ [UIAsset.BT_TV_ON_LIST]: 'assets/images/bt-tv-on-list.svg',
1738
+ [UIAsset.BT_TV_ON_MAIN]: 'assets/images/bt-tv-on-main.svg',
1739
+ [UIAsset.BT_VIDEO_HELP_PLAYER]: 'assets/images/bt-video-help-player.svg',
1740
+ [UIAsset.IC_ACTIVITE]: 'assets/images/ic-activite.svg',
1741
+ [UIAsset.IC_ACTIVITY]: 'assets/images/ic-activity.svg',
1742
+ [UIAsset.IC_ACTIVITY_MY_APP]: 'assets/images/ic-activity-my-app.svg',
1743
+ [UIAsset.IC_AI_STAR]: 'assets/images/ic-ai-star.svg',
1744
+ [UIAsset.IC_AI_TAG]: 'assets/images/ic-ai-tag.svg',
1745
+ [UIAsset.IC_ALERT_NEW_POST]: 'assets/images/ic-alert-new-post.svg',
1746
+ [UIAsset.IC_ALERT_NOTIFICATION]: 'assets/images/ic-alert-notification.svg',
1747
+ [UIAsset.IC_ANONYMOUS_POST]: 'assets/images/ic-anonymous-post.svg',
1748
+ [UIAsset.IC_ATTENTION]: 'assets/images/ic-attention.svg',
1749
+ [UIAsset.IC_ATTENTION_RULES]: 'assets/images/ic-attention-rules.svg',
1750
+ [UIAsset.IC_AUDIO_CLIPS]: 'assets/images/ic-audio-clips.svg',
1751
+ [UIAsset.IC_AUDIO_LIST]: 'assets/images/ic-audio-list.svg',
1752
+ [UIAsset.IC_AUDIO_LIST_DISABLED]: 'assets/images/ic-audio-list-disabled.svg',
1753
+ [UIAsset.IC_AVATAR]: 'assets/images/ic-avatar.svg',
1754
+ [UIAsset.IC_AVATAR_COMMENT]: 'assets/images/ic-avatar-comment.svg',
1755
+ [UIAsset.IC_AVATAR_LIVE]: 'assets/images/ic-avatar-live.svg',
1756
+ [UIAsset.IC_AVATAR_RANKING_LIST]: 'assets/images/ic-avatar-ranking-list.svg',
1757
+ [UIAsset.IC_AVATAR_RANKING_ONE]: 'assets/images/ic-avatar-ranking-one.svg',
1758
+ [UIAsset.IC_AVATAR_RANKING_TWO]: 'assets/images/ic-avatar-ranking-two.svg',
1759
+ [UIAsset.IC_AVATAR_REGISTER]: 'assets/images/ic-avatar-register.svg',
1760
+ [UIAsset.IC_CERTIFICATION]: 'assets/images/ic-certification.svg',
1761
+ [UIAsset.IC_CERTIFICATION_MAIN]: 'assets/images/ic-certification-main.svg',
1762
+ [UIAsset.IC_CERTIFICATION_MY_APP]: 'assets/images/ic-certification-my-app.svg',
1763
+ [UIAsset.IC_CHALLENGE_PTS]: 'assets/images/ic-challenge-pts.svg',
1764
+ [UIAsset.IC_CHALLENGE_PTS_DETAIL]: 'assets/images/ic-challenge-pts-detail.svg',
1765
+ [UIAsset.IC_CHALLENGE_PTS_LIST]: 'assets/images/ic-challenge-pts-list.svg',
1766
+ [UIAsset.IC_CHALLENGE_PTS_LIST_DISABLED]: 'assets/images/ic-challenge-pts-list-disabled.svg',
1767
+ [UIAsset.IC_CHALLENGE_RANKING]: 'assets/images/ic-challenge-ranking.svg',
1768
+ [UIAsset.IC_CHECK]: 'assets/images/ic-check.svg',
1769
+ [UIAsset.IC_CHROMECAST]: 'assets/images/ic-chromecast.svg',
1770
+ [UIAsset.IC_CLIP_EMPTY]: 'assets/images/ic-clip-empty.svg',
1771
+ [UIAsset.IC_CONTACT]: 'assets/images/ic-contact.svg',
1772
+ [UIAsset.IC_DADOS_CHECK]: 'assets/images/ic-dados-check.svg',
1773
+ [UIAsset.IC_DELETE_ACCOUNT]: 'assets/images/ic-delete-account.svg',
1774
+ [UIAsset.IC_DISABLED_LESSON]: 'assets/images/ic-disabled-lesson.svg',
1775
+ [UIAsset.IC_DOWNLOAD_EMPTY]: 'assets/images/ic-download-empty.svg',
1776
+ [UIAsset.IC_DOWNLOAD_MY_APP]: 'assets/images/ic-download-my-app.svg',
1777
+ [UIAsset.IC_DOWNLOADS_LIST]: 'assets/images/ic-downloads-list.svg',
1778
+ [UIAsset.IC_EMAIL]: 'assets/images/ic-email.svg',
1779
+ [UIAsset.IC_EMPTY_CLASS]: 'assets/images/ic-empty-class.svg',
1780
+ [UIAsset.IC_ERROR]: 'assets/images/ic-error.svg',
1781
+ [UIAsset.IC_ERROR_CHALLENGE]: 'assets/images/ic-error-challenge.svg',
1782
+ [UIAsset.IC_FILE]: 'assets/images/ic-file.svg',
1783
+ [UIAsset.IC_FILE_CLIPS]: 'assets/images/ic-file-clips.svg',
1784
+ [UIAsset.IC_FILE_DISABLED]: 'assets/images/ic-file-disabled.svg',
1785
+ [UIAsset.IC_FIX_POST]: 'assets/images/ic-fix-post.svg',
1786
+ [UIAsset.IC_FLAG_END]: 'assets/images/ic-flag-end.svg',
1787
+ [UIAsset.IC_FLAG_START]: 'assets/images/ic-flag-start.svg',
1788
+ [UIAsset.IC_FULL_IMAGE]: 'assets/images/ic-full-image.svg',
1789
+ [UIAsset.IC_LEVEL_ONE]: 'assets/images/ic-level-one.svg',
1790
+ [UIAsset.IC_LEVEL_ONE_PROFILE]: 'assets/images/ic-level-one-profile.svg',
1791
+ [UIAsset.IC_LEVEL_THREE]: 'assets/images/ic-level-three.svg',
1792
+ [UIAsset.IC_LEVEL_TWO]: 'assets/images/ic-level-two.svg',
1793
+ [UIAsset.IC_LINK_CLIPS]: 'assets/images/ic-link-clips.svg',
1794
+ [UIAsset.IC_LINK_GENERIC]: 'assets/images/ic-link-generic.svg',
1795
+ [UIAsset.IC_LINK_LIST]: 'assets/images/ic-link-list.svg',
1796
+ [UIAsset.IC_LINK_LIST_DISABLED]: 'assets/images/ic-link-list-disabled.svg',
1797
+ [UIAsset.IC_LIVE_WAITING]: 'assets/images/ic-live-waiting.svg',
1798
+ [UIAsset.IC_LOCK]: 'assets/images/ic-lock.svg',
1799
+ [UIAsset.IC_LOCK_CHECK]: 'assets/images/ic-lock-check.svg',
1800
+ [UIAsset.IC_LOCK_LESSON]: 'assets/images/ic-lock-lesson.svg',
1801
+ [UIAsset.IC_MY_LIST]: 'assets/images/ic-my-list.svg',
1802
+ [UIAsset.IC_MY_LIST_EMPTY]: 'assets/images/ic-my-list-empty.svg',
1803
+ [UIAsset.IC_MY_LIST_MY_APP]: 'assets/images/ic-my-list-my-app.svg',
1804
+ [UIAsset.IC_MY_SHOP]: 'assets/images/ic-my-shop.svg',
1805
+ [UIAsset.IC_MY_SHOP_MY_APP]: 'assets/images/ic-my-shop-my-app.svg',
1806
+ [UIAsset.IC_MY_VOTE]: 'assets/images/ic-my-vote.svg',
1807
+ [UIAsset.IC_NOT_FOUND]: 'assets/images/ic-not-found.svg',
1808
+ [UIAsset.IC_NOTE]: 'assets/images/ic-note.svg',
1809
+ [UIAsset.IC_NOTE_MY_APP]: 'assets/images/ic-note-my-app.svg',
1810
+ [UIAsset.IC_NOTIFICATION_EMPTY]: 'assets/images/ic-notification-empty.svg',
1811
+ [UIAsset.IC_NOTIFICATION_MY_APP]: 'assets/images/ic-notification-my-app.svg',
1812
+ [UIAsset.IC_NOTIFICATION_MY_APP_ON]: 'assets/images/ic-notification-my-app-on.svg',
1813
+ [UIAsset.IC_NOTIFICATION_OFF]: 'assets/images/ic-notification-off.svg',
1814
+ [UIAsset.IC_NOTIFICATION_ON]: 'assets/images/ic-notification-on.svg',
1815
+ [UIAsset.IC_POST_EMPTY]: 'assets/images/ic-post-empty.svg',
1816
+ [UIAsset.IC_PAUSE_VIEW]: 'assets/images/ic-pause-view.svg',
1817
+ [UIAsset.IC_PAUSE_VIEW_AUDIO]: 'assets/images/ic-pause-view-audio.svg',
1818
+ [UIAsset.IC_PAUSE_VIEW_SOUND]: 'assets/images/ic-pause-view-sound.svg',
1819
+ [UIAsset.IC_PERGUNTAS]: 'assets/images/ic-perguntas.svg',
1820
+ [UIAsset.IC_PIN_CARD]: 'assets/images/ic-pin-card.svg',
1821
+ [UIAsset.IC_PLAY_CLIPS]: 'assets/images/ic-play-clips.svg',
1822
+ [UIAsset.IC_PLAY_LIST]: 'assets/images/ic-play-list.svg',
1823
+ [UIAsset.IC_PLAY_LIST_DISABLED]: 'assets/images/ic-play-list-disabled.svg',
1824
+ [UIAsset.IC_PLAY_VIEW]: 'assets/images/ic-play-view.svg',
1825
+ [UIAsset.IC_PLAY_VIEW_AUDIO]: 'assets/images/ic-play-view-audio.svg',
1826
+ [UIAsset.IC_PLAY_VIEW_SOUND]: 'assets/images/ic-play-view-sound.svg',
1827
+ [UIAsset.IC_POLITICS]: 'assets/images/ic-politics.svg',
1828
+ [UIAsset.IC_POST]: 'assets/images/ic-post.svg',
1829
+ [UIAsset.IC_POST_AUDIO]: 'assets/images/ic-post-audio.svg',
1830
+ [UIAsset.IC_POST_IMAGE]: 'assets/images/ic-post-image.svg',
1831
+ [UIAsset.IC_POST_TEXT]: 'assets/images/ic-post-text.svg',
1832
+ [UIAsset.IC_POST_VIDEO]: 'assets/images/ic-post-video.svg',
1833
+ [UIAsset.IC_POST_VIDEO_FULL]: 'assets/images/ic-post-video-full.svg',
1834
+ [UIAsset.IC_PTS]: 'assets/images/ic-pts.svg',
1835
+ [UIAsset.IC_QUIZ_CLIPS]: 'assets/images/ic-quiz-clips.svg',
1836
+ [UIAsset.IC_QUIZ_FINAL]: 'assets/images/ic-quiz-final.svg',
1837
+ [UIAsset.IC_QUIZ_LIST]: 'assets/images/ic-quiz-list.svg',
1838
+ [UIAsset.IC_QUIZ_LIST_DISABLED]: 'assets/images/ic-quiz-list-disabled.svg',
1839
+ [UIAsset.IC_RANKING_LOCK]: 'assets/images/ic-ranking-lock.svg',
1840
+ [UIAsset.IC_RANKING_N1]: 'assets/images/ic-ranking-n1.svg',
1841
+ [UIAsset.IC_RANKING_N2]: 'assets/images/ic-ranking-n2.svg',
1842
+ [UIAsset.IC_RANKING_N3]: 'assets/images/ic-ranking-n3.svg',
1843
+ [UIAsset.IC_RATING_LIST]: 'assets/images/ic-rating-list.svg',
1844
+ [UIAsset.IC_RATING_LIST_DISABLED]: 'assets/images/ic-rating-list-disabled.svg',
1845
+ [UIAsset.IC_RATING_PROGRAM]: 'assets/images/ic-rating-program.svg',
1846
+ [UIAsset.IC_SEARCH]: 'assets/images/ic-search.svg',
1847
+ [UIAsset.IC_SEARCH_EMPTY]: 'assets/images/ic-search-empty.svg',
1848
+ [UIAsset.IC_SHOP]: 'assets/images/ic-shop.svg',
1849
+ [UIAsset.IC_SHOP_MY_APP]: 'assets/images/ic-shop-my-app.svg',
1850
+ [UIAsset.IC_SMARTTV]: 'assets/images/ic-smarttv.svg',
1851
+ [UIAsset.IC_SPEED]: 'assets/images/ic-speed.svg',
1852
+ [UIAsset.IC_STATUS_CHALLENGE_WAIT]: 'assets/images/ic-status-challenge-wait.svg',
1853
+ [UIAsset.IC_STORY_CHECK]: 'assets/images/ic-story-check.svg',
1854
+ [UIAsset.IC_SUBSCRIBE]: 'assets/images/ic-subscribe.svg',
1855
+ [UIAsset.IC_SUBSCRIBE_MY_APP]: 'assets/images/ic-subscribe-my-app.svg',
1856
+ [UIAsset.IC_TAG_CHALLENGE]: 'assets/images/ic-tag-challenge.svg',
1857
+ [UIAsset.IC_TAG_RANKING]: 'assets/images/ic-tag-ranking.svg',
1858
+ [UIAsset.IC_TAG_RANKING_MAIN]: 'assets/images/ic-tag-ranking-main.svg',
1859
+ [UIAsset.IC_TAG_VIP]: 'assets/images/ic-tag-vip.svg',
1860
+ [UIAsset.IC_TERMS]: 'assets/images/ic-terms.svg',
1861
+ [UIAsset.IC_TEXT_CLIPS]: 'assets/images/ic-text-clips.svg',
1862
+ [UIAsset.IC_TEXT_LIST]: 'assets/images/ic-text-list.svg',
1863
+ [UIAsset.IC_TEXT_LIST_DISABLED]: 'assets/images/ic-text-list-disabled.svg',
1864
+ [UIAsset.IC_TV]: 'assets/images/ic-tv.svg',
1865
+ [UIAsset.IC_TV_MIRROR]: 'assets/images/ic-tv-mirror.svg',
1866
+ [UIAsset.IC_TYPE_FILE]: 'assets/images/ic-type-file.svg',
1867
+ [UIAsset.IC_TYPE_TEXT]: 'assets/images/ic-type-text.svg',
1868
+ [UIAsset.IC_VERIFIED]: 'assets/images/ic-verified.svg',
1869
+ [UIAsset.IC_VERIFIED_COMMENT]: 'assets/images/ic-verified-comment.svg',
1870
+ [UIAsset.IC_VIEW]: 'assets/images/ic-view.svg',
1871
+ [UIAsset.IC_VIEW_LIVE]: 'assets/images/ic-view-live.svg',
1872
+ [UIAsset.IC_VIEW_STORY]: 'assets/images/ic-view-story.svg',
1873
+ [UIAsset.IC_VOTE]: 'assets/images/ic-vote.svg',
1874
+ [UIAsset.IMG]: 'assets/images/img.webp',
1875
+ [UIAsset.IMG_AVATAR_STORY]: 'assets/images/img-avatar-story.webp',
1876
+ [UIAsset.IMG_AVATAR_STORY_VIEW]: 'assets/images/img-avatar-story-view.webp',
1877
+ [UIAsset.IMG_BG_ASSINATURAS]: 'assets/images/img-bg-assinaturas.webp',
1878
+ [UIAsset.IMG_BG_PAINEL]: 'assets/images/img-bg-painel.webp',
1879
+ [UIAsset.IMG_BT_APPLESTORE]: 'assets/images/img-bt-applestore.webp',
1880
+ [UIAsset.IMG_BT_GOOGLEPLAY]: 'assets/images/img-bt-googleplay.webp',
1881
+ [UIAsset.IMG_CAPA_VIDEO]: 'assets/images/img-capa-video.webp',
1882
+ [UIAsset.IMG_CHECKOUT_DESKTOP]: 'assets/images/img-checkout-desktop.webp',
1883
+ [UIAsset.IMG_CHECKOUT_MOBILE]: 'assets/images/img-checkout-mobile.webp',
1884
+ [UIAsset.IMG_CHECKOUT_RIGHT]: 'assets/images/img-checkout-right.webp',
1885
+ [UIAsset.IMG_CLASS_FILE]: 'assets/images/img-class-file.webp',
1886
+ [UIAsset.IMG_COMUNIDADE]: 'assets/images/img-comunidade.webp',
1887
+ [UIAsset.IMG_FAV]: 'assets/images/img-fav.webp',
1888
+ [UIAsset.IMG_LOGO]: 'assets/images/img-logo.webp',
1889
+ [UIAsset.IMG_LOGO_EMAIL]: 'assets/images/img-logo-email.webp',
1890
+ [UIAsset.IMG_LOGO_HORIZ]: 'assets/images/img-logo-horiz.webp',
1891
+ [UIAsset.IMG_LOGO_LOGIN]: 'assets/images/img-logo-login.webp',
1892
+ [UIAsset.IMG_LOGO_NAV]: 'assets/images/img-logo-nav.webp',
1893
+ [UIAsset.IMG_LOGO_NORMAL]: 'assets/images/img-logo-normal.webp',
1894
+ [UIAsset.IMG_LOGO_PAYMENT]: 'assets/images/img-logo-payment.webp',
1895
+ [UIAsset.IMG_MASK_AUDIO_BLUR]: 'assets/images/img-mask-audio-blur.webp',
1896
+ [UIAsset.IMG_MASK_BANNER_BLUR]: 'assets/images/img-mask-banner-blur.webp',
1897
+ [UIAsset.IMG_MASK_BANNER_MAIN]: 'assets/images/img-mask-banner-main.webp',
1898
+ [UIAsset.IMG_MASK_CAST_LIST]: 'assets/images/img-mask-cast-list.webp',
1899
+ [UIAsset.IMG_MASK_CATEGORY_HIGHLIGHT]: 'assets/images/img-mask-category-highlight.webp',
1900
+ [UIAsset.IMG_MASK_CHALLENGE_ACTIVITY]: 'assets/images/img-mask-challenge-activity.webp',
1901
+ [UIAsset.IMG_MASK_FILE]: 'assets/images/img-mask-file.webp',
1902
+ [UIAsset.IMG_MASK_LIVE]: 'assets/images/img-mask-live.webp',
1903
+ [UIAsset.IMG_MASK_LIVE_TOP]: 'assets/images/img-mask-live-top.webp',
1904
+ [UIAsset.IMG_MASK_LIVE_WAITING]: 'assets/images/img-mask-live-waiting.webp',
1905
+ [UIAsset.IMG_MASK_MAIN_BANNERS]: 'assets/images/img-mask-main-banners.webp',
1906
+ [UIAsset.IMG_MASK_PROFILE]: 'assets/images/img-mask-profile.webp',
1907
+ [UIAsset.IMG_MASK_PROGRAM]: 'assets/images/img-mask-program.webp',
1908
+ [UIAsset.IMG_MASK_RATING]: 'assets/images/img-mask-rating.webp',
1909
+ [UIAsset.IMG_MASK_SOUND_BLUR]: 'assets/images/img-mask-sound-blur.webp',
1910
+ [UIAsset.IMG_PLACEHOLDER_CAST]: 'assets/images/img-placeholder-cast.webp',
1911
+ [UIAsset.IMG_PLACEHOLDER_FILE]: 'assets/images/img-placeholder-file.webp',
1912
+ [UIAsset.IMG_PLACEHOLDER_LEVEL]: 'assets/images/img-placeholder-level.webp',
1913
+ [UIAsset.IMG_PLACEHOLDER_MAIN]: 'assets/images/img-placeholder-main.webp',
1914
+ [UIAsset.IMG_PLACEHOLDER_MEUS_VIDEOS]: 'assets/images/img-placeholder-meus-videos.webp',
1915
+ [UIAsset.IMG_PLACEHOLDER_NOTIFICATION]: 'assets/images/img-placeholder-notification.webp',
1916
+ [UIAsset.IMG_PLACEHOLDER_POST_IMAGEM]: 'assets/images/img-placeholder-post-imagem.webp',
1917
+ [UIAsset.IMG_PLACEHOLDER_POST_VIP]: 'assets/images/img-placeholder-post-vip.webp',
1918
+ [UIAsset.IMG_PLACEHOLDER_PROGRAM]: 'assets/images/img-placeholder-program.webp',
1919
+ [UIAsset.IMG_PLACEHOLDER_RANKING]: 'assets/images/img-placeholder-ranking.webp',
1920
+ [UIAsset.IMG_PLACEHOLDER_STORY]: 'assets/images/img-placeholder-story.webp',
1921
+ [UIAsset.IMG_PLACEHOLDER_TEXT]: 'assets/images/img-placeholder-text.webp',
1922
+ [UIAsset.IMG_PLACEHOLDER_VIDEO_MAIN]: 'assets/images/img-placeholder-video-main.webp',
1923
+ [UIAsset.IMG_SHARE_WHATSAPP]: 'assets/images/img-share-whatsapp.webp',
1924
+ [UIAsset.IMG_SYMBOL80]: 'assets/images/img-symbol80.webp',
1925
+ [UIAsset.IMG_THUMB_HORIZ]: 'assets/images/img-thumb-horiz.webp',
1926
+ [UIAsset.IMG_THUMB_PROG_VERT]: 'assets/images/img-thumb-prog-vert.webp',
1927
+ [UIAsset.IMG_THUMB_PROG_VERT1]: 'assets/images/img-thumb-prog-vert1.webp',
1928
+ [UIAsset.IMG_THUMB_PROG_VERT2]: 'assets/images/img-thumb-prog-vert2.webp',
1929
+ [UIAsset.IMG_THUMB_PROG_VERT3]: 'assets/images/img-thumb-prog-vert3.webp',
1930
+ [UIAsset.MASK_DETAIL]: 'assets/images/mask-detail.webp',
1931
+ [UIAsset.MASK_DETAIL_CERTIFICATION]: 'assets/images/mask-detail-certification.webp',
1932
+ [UIAsset.MASK_DETAIL_CHALLENGE]: 'assets/images/mask-detail-challenge.webp',
1933
+ [UIAsset.MASK_DETAIL_POST_VIP]: 'assets/images/mask-detail-post-vip.webp',
1934
+ [UIAsset.MASK_DETAIL_RANKING]: 'assets/images/mask-detail-ranking.webp',
1935
+ [UIAsset.MASK_IMG_CARROSEL]: 'assets/images/mask-img-carrosel.webp',
1936
+ [UIAsset.MASK_IMG_MAIN]: 'assets/images/mask-img-main.webp',
1937
+ [UIAsset.MASK_IMG_TOP_STORY]: 'assets/images/mask-img-top-story.webp',
1938
+ [UIAsset.MASK_NEXT_CLASS]: 'assets/images/mask-next-class.webp',
1939
+ [UIAsset.REPEAT_BACK]: 'assets/images/repeat-back.svg',
1940
+ [UIAsset.REPEAT_BACK_SOUND]: 'assets/images/repeat-back-sound.svg',
1941
+ [UIAsset.REPEAT_FRONT]: 'assets/images/repeat-front.svg',
1942
+ [UIAsset.REPEAT_FRONT_SOUND]: 'assets/images/repeat-front-sound.svg',
1943
+ [UIAsset.SPACE_GRAY]: 'assets/images/space-gray.svg',
1944
+ [UIAsset.VIDEO_REPEAT_BACK]: 'assets/images/video-repeat-back.svg',
1945
+ [UIAsset.VIDEO_REPEAT_FRONT]: 'assets/images/video-repeat-front.svg',
1946
+ [UIAsset.WAY_LEFT_END_OFF]: 'assets/images/way-left-end-off.svg',
1947
+ [UIAsset.WAY_LEFT_END_ON]: 'assets/images/way-left-end-on.svg',
1948
+ [UIAsset.WAY_ONE_OFF]: 'assets/images/way-one-off.svg',
1949
+ [UIAsset.WAY_ONE_ON]: 'assets/images/way-one-on.svg',
1950
+ [UIAsset.WAY_RIGHT_END_OFF]: 'assets/images/way-right-end-off.svg',
1951
+ [UIAsset.WAY_RIGHT_END_ON]: 'assets/images/way-right-end-on.svg',
1952
+ [UIAsset.WAY_START_OFF]: 'assets/images/way-start-off.svg',
1953
+ [UIAsset.WAY_START_ON]: 'assets/images/way-start-on.svg',
1954
+ [UIAsset.WAY_TASK_OFF]: 'assets/images/way-task-off.svg',
1955
+ [UIAsset.WAY_TASK_ON]: 'assets/images/way-task-on.svg',
1956
+ [UIAsset.WAY_TWO_OFF]: 'assets/images/way-two-off.svg',
1957
+ [UIAsset.WAY_TWO_ON]: 'assets/images/way-two-on.svg',
1958
+ [UIAsset.IC_COMMENT_SEARCH_LIST]: 'assets/images/ic-comment-search-list.svg',
1959
+ [UIAsset.IC_LIKE_SEARCH_LIST]: 'assets/images/ic-like-search-list.svg',
1960
+ [UIAsset.IC_SHARE_SEARCH_LIST]: 'assets/images/ic-share-search-list.svg',
1961
+ [UIAsset.IC_LAST_SEARCH]: 'assets/images/ic-last-search.svg',
1856
1962
  };
1857
1963
 
1858
1964
  class ButtonComponent {
1859
- constructor(uiComponent, renderer) {
1965
+ constructor(uiComponent, renderer, fontSizeMappingService) {
1860
1966
  this.uiComponent = uiComponent;
1861
1967
  this.renderer = renderer;
1968
+ this.fontSizeMappingService = fontSizeMappingService;
1862
1969
  }
1863
1970
  ngOnInit() {
1864
1971
  // console.debug('button.uiComponent: ', this.uiComponent);
@@ -1874,14 +1981,15 @@ class ButtonComponent {
1874
1981
  this.renderer.setStyle(this.buttonElementRef.nativeElement, 'color', color);
1875
1982
  }
1876
1983
  if (element.textStyle) {
1984
+ const textStyleMappingFontSize = this.fontSizeMappingService.getMapping();
1877
1985
  const fontSize = textStyleMappingFontSize[element.textStyle];
1878
1986
  this.renderer.setStyle(this.buttonElementRef.nativeElement, 'font-size', fontSize);
1879
1987
  }
1880
1988
  }
1881
1989
  getAssetPath(asset) {
1882
- return 'assets/' + assetMapping[asset];
1990
+ return assetMapping[asset];
1883
1991
  }
1884
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ButtonComponent, deps: [{ token: 'uiComponent' }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
1992
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ButtonComponent, deps: [{ token: 'uiComponent' }, { token: i0.Renderer2 }, { token: FontSizeMappingService }], target: i0.ɵɵFactoryTarget.Component }); }
1885
1993
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: ButtonComponent, selector: "edm-sdui-button", viewQueries: [{ propertyName: "buttonElementRef", first: true, predicate: ["buttonElement"], descendants: true }], ngImport: i0, template: "<button #buttonElement [edmSduiView]=\"uiComponent.element\" *ngIf=\"uiComponent\">\n <img *ngIf=\"uiComponent.element.asset\" [src]=\"getAssetPath(uiComponent.element.asset)\" alt=\"\">\n {{ uiComponent.element.label }}\n</button>\n", styles: [":host{display:contents}button{border:none;white-space:nowrap;line-height:1.5;background-color:unset}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: UIViewDirective, selector: "[edmSduiView]", inputs: ["edmSduiView", "disableClick"] }] }); }
1886
1994
  }
1887
1995
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ButtonComponent, decorators: [{
@@ -1890,7 +1998,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
1890
1998
  }], ctorParameters: () => [{ type: undefined, decorators: [{
1891
1999
  type: Inject,
1892
2000
  args: ['uiComponent']
1893
- }] }, { type: i0.Renderer2 }], propDecorators: { buttonElementRef: [{
2001
+ }] }, { type: i0.Renderer2 }, { type: FontSizeMappingService }], propDecorators: { buttonElementRef: [{
1894
2002
  type: ViewChild,
1895
2003
  args: ['buttonElement']
1896
2004
  }] } });
@@ -1941,9 +2049,7 @@ class ImageComponent {
1941
2049
  this.uiComponent = uiComponent;
1942
2050
  this.renderer = renderer;
1943
2051
  }
1944
- ngOnInit() {
1945
- // console.debug('image.uiComponent: ', this.uiComponent);
1946
- }
2052
+ ngOnInit() { }
1947
2053
  ngAfterViewInit() {
1948
2054
  if (this.uiComponent?.element) {
1949
2055
  this.applyElement(this.uiComponent.element);
@@ -1952,7 +2058,7 @@ class ImageComponent {
1952
2058
  applyElement(element) {
1953
2059
  if (element.asset) {
1954
2060
  const asset = assetMapping[element.asset];
1955
- this.renderer.setAttribute(this.imgElementRef.nativeElement, 'src', 'assets/' + asset);
2061
+ this.renderer.setAttribute(this.imgElementRef.nativeElement, 'src', asset);
1956
2062
  }
1957
2063
  else if (element.url) {
1958
2064
  this.renderer.setAttribute(this.imgElementRef.nativeElement, 'src', element.url);
@@ -2050,9 +2156,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
2050
2156
  }] });
2051
2157
 
2052
2158
  class TagComponent {
2053
- constructor(uiComponent, renderer) {
2159
+ constructor(uiComponent, renderer, fontSizeMappingService) {
2054
2160
  this.uiComponent = uiComponent;
2055
2161
  this.renderer = renderer;
2162
+ this.fontSizeMappingService = fontSizeMappingService;
2056
2163
  }
2057
2164
  ngOnInit() {
2058
2165
  }
@@ -2071,21 +2178,22 @@ class TagComponent {
2071
2178
  const color = colorMapping[element.textColor];
2072
2179
  this.renderer.setStyle(this.tagNameElementRef.nativeElement, 'color', color);
2073
2180
  }
2181
+ const textStyleMappingFontSize = this.fontSizeMappingService.getMapping();
2074
2182
  if (element.textStyle) {
2075
2183
  const fontSize = textStyleMappingFontSize[element.textStyle];
2076
2184
  this.renderer.setStyle(this.tagNameElementRef.nativeElement, 'font-size', fontSize);
2077
2185
  }
2078
2186
  }
2079
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: TagComponent, deps: [{ token: 'uiComponent' }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
2080
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: TagComponent, selector: "ng-component", viewQueries: [{ propertyName: "tagElementRef", first: true, predicate: ["tagElement"], descendants: true }, { propertyName: "tagNameElementRef", first: true, predicate: ["tagNameElement"], descendants: true }], ngImport: i0, template: "<div class=\"tag\" #tagElement *ngIf=\"uiComponent\" [edmSduiView]=\"uiComponent.element\">\n <span class=\"tag-name\" #tagNameElement>{{ uiComponent.element?.label ?? '' }}</span>\n</div>", styles: [":host{display:contents}.tag{padding:4px 8px}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: UIViewDirective, selector: "[edmSduiView]", inputs: ["edmSduiView", "disableClick"] }] }); }
2187
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: TagComponent, deps: [{ token: 'uiComponent' }, { token: i0.Renderer2 }, { token: FontSizeMappingService }], target: i0.ɵɵFactoryTarget.Component }); }
2188
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: TagComponent, selector: "edm-sdui-tag", viewQueries: [{ propertyName: "tagElementRef", first: true, predicate: ["tagElement"], descendants: true }, { propertyName: "tagNameElementRef", first: true, predicate: ["tagNameElement"], descendants: true }], ngImport: i0, template: "<div class=\"tag\" #tagElement *ngIf=\"uiComponent\" [edmSduiView]=\"uiComponent.element\">\n <span class=\"tag-name\" #tagNameElement>{{ uiComponent.element?.label ?? '' }}</span>\n</div>", styles: [":host{display:contents}.tag{padding:4px 8px}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: UIViewDirective, selector: "[edmSduiView]", inputs: ["edmSduiView", "disableClick"] }] }); }
2081
2189
  }
2082
2190
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: TagComponent, decorators: [{
2083
2191
  type: Component,
2084
- args: [{ standalone: false, template: "<div class=\"tag\" #tagElement *ngIf=\"uiComponent\" [edmSduiView]=\"uiComponent.element\">\n <span class=\"tag-name\" #tagNameElement>{{ uiComponent.element?.label ?? '' }}</span>\n</div>", styles: [":host{display:contents}.tag{padding:4px 8px}\n"] }]
2192
+ args: [{ standalone: false, selector: 'edm-sdui-tag', template: "<div class=\"tag\" #tagElement *ngIf=\"uiComponent\" [edmSduiView]=\"uiComponent.element\">\n <span class=\"tag-name\" #tagNameElement>{{ uiComponent.element?.label ?? '' }}</span>\n</div>", styles: [":host{display:contents}.tag{padding:4px 8px}\n"] }]
2085
2193
  }], ctorParameters: () => [{ type: undefined, decorators: [{
2086
2194
  type: Inject,
2087
2195
  args: ['uiComponent']
2088
- }] }, { type: i0.Renderer2 }], propDecorators: { tagElementRef: [{
2196
+ }] }, { type: i0.Renderer2 }, { type: FontSizeMappingService }], propDecorators: { tagElementRef: [{
2089
2197
  type: ViewChild,
2090
2198
  args: ['tagElement']
2091
2199
  }], tagNameElementRef: [{
@@ -2099,10 +2207,11 @@ var tag_component = /*#__PURE__*/Object.freeze({
2099
2207
  });
2100
2208
 
2101
2209
  class SearchBarComponent {
2102
- constructor(actionService, uiComponent, renderer) {
2210
+ constructor(actionService, uiComponent, renderer, fontSizeMappingService) {
2103
2211
  this.actionService = actionService;
2104
2212
  this.uiComponent = uiComponent;
2105
2213
  this.renderer = renderer;
2214
+ this.fontSizeMappingService = fontSizeMappingService;
2106
2215
  }
2107
2216
  ngOnInit() {
2108
2217
  // console.debug('label.uiComponent: ', this.uiComponent);
@@ -2110,7 +2219,7 @@ class SearchBarComponent {
2110
2219
  ngAfterViewInit() {
2111
2220
  if (this.uiComponent.element) {
2112
2221
  this.applyElement(this.uiComponent.element);
2113
- this.renderer.listen(this.inputElementRef.nativeElement, 'keydown', (event) => {
2222
+ this.renderer.listen(this.inputElementRef.nativeElement, 'keyup', (event) => {
2114
2223
  if (event.key === 'Enter') {
2115
2224
  const action = this.uiComponent.element?.action;
2116
2225
  const inputValue = this.inputElementRef.nativeElement.value.trim();
@@ -2145,8 +2254,9 @@ class SearchBarComponent {
2145
2254
  }
2146
2255
  }
2147
2256
  applyElement(element) {
2148
- console.debug('search.element:', element);
2257
+ const textStyleMappingFontSize = this.fontSizeMappingService.getMapping();
2149
2258
  const inputEl = this.inputElementRef.nativeElement;
2259
+ inputEl.focus();
2150
2260
  if (element.placeholder) {
2151
2261
  this.renderer.setAttribute(inputEl, 'placeholder', element.placeholder);
2152
2262
  }
@@ -2175,16 +2285,16 @@ class SearchBarComponent {
2175
2285
  this.renderer.appendChild(document.head, styleEl);
2176
2286
  }
2177
2287
  }
2178
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SearchBarComponent, deps: [{ token: UIActionService }, { token: 'uiComponent' }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
2179
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: SearchBarComponent, selector: "edm-sdui-search-bar", viewQueries: [{ propertyName: "inputElementRef", first: true, predicate: ["inputElement"], descendants: true }], ngImport: i0, template: "<input\n #inputElement\n class=\"search-bar\"\n [edmSduiView]=\"uiComponent.element\"\n [disableClick]=\"true\"\n *ngIf=\"uiComponent\"\n/>\n", styles: [".search-bar{width:100vw;margin:1rem;line-height:1.5rem;padding:.25rem .5rem;background-color:var(--bg-search)}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: UIViewDirective, selector: "[edmSduiView]", inputs: ["edmSduiView", "disableClick"] }] }); }
2288
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SearchBarComponent, deps: [{ token: UIActionService }, { token: 'uiComponent' }, { token: i0.Renderer2 }, { token: FontSizeMappingService }], target: i0.ɵɵFactoryTarget.Component }); }
2289
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: SearchBarComponent, selector: "edm-sdui-search-bar", viewQueries: [{ propertyName: "inputElementRef", first: true, predicate: ["inputElement"], descendants: true }], ngImport: i0, template: "<img\n #icSearchElement\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 #btCloseElement\n *ngIf=\"this.inputElementRef?.nativeElement?.value.trim()\"\n (click)=\"this.inputElementRef?.nativeElement.value = ''\"\n class=\"search-bar-close-icon\"\n src=\"assets/images/bt-close-comment.svg\"\n\n>\n", styles: [".search-bar{width:100%;line-height:1.5rem;background-color:var(--bg-search)}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: UIViewDirective, selector: "[edmSduiView]", inputs: ["edmSduiView", "disableClick"] }] }); }
2180
2290
  }
2181
2291
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SearchBarComponent, decorators: [{
2182
2292
  type: Component,
2183
- args: [{ standalone: false, selector: 'edm-sdui-search-bar', template: "<input\n #inputElement\n class=\"search-bar\"\n [edmSduiView]=\"uiComponent.element\"\n [disableClick]=\"true\"\n *ngIf=\"uiComponent\"\n/>\n", styles: [".search-bar{width:100vw;margin:1rem;line-height:1.5rem;padding:.25rem .5rem;background-color:var(--bg-search)}\n"] }]
2293
+ args: [{ standalone: false, selector: 'edm-sdui-search-bar', template: "<img\n #icSearchElement\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 #btCloseElement\n *ngIf=\"this.inputElementRef?.nativeElement?.value.trim()\"\n (click)=\"this.inputElementRef?.nativeElement.value = ''\"\n class=\"search-bar-close-icon\"\n src=\"assets/images/bt-close-comment.svg\"\n\n>\n", styles: [".search-bar{width:100%;line-height:1.5rem;background-color:var(--bg-search)}\n"] }]
2184
2294
  }], ctorParameters: () => [{ type: UIActionService }, { type: undefined, decorators: [{
2185
2295
  type: Inject,
2186
2296
  args: ['uiComponent']
2187
- }] }, { type: i0.Renderer2 }], propDecorators: { inputElementRef: [{
2297
+ }] }, { type: i0.Renderer2 }, { type: FontSizeMappingService }], propDecorators: { inputElementRef: [{
2188
2298
  type: ViewChild,
2189
2299
  args: ['inputElement']
2190
2300
  }] } });
@@ -2194,6 +2304,331 @@ var searchBar_component = /*#__PURE__*/Object.freeze({
2194
2304
  SearchBarComponent: SearchBarComponent
2195
2305
  });
2196
2306
 
2307
+ class SearchBarDismissComponent {
2308
+ constructor(actionService, uiComponent, renderer, router, fontSizeMappingService) {
2309
+ this.actionService = actionService;
2310
+ this.uiComponent = uiComponent;
2311
+ this.renderer = renderer;
2312
+ this.router = router;
2313
+ this.fontSizeMappingService = fontSizeMappingService;
2314
+ }
2315
+ ngOnInit() {
2316
+ console.debug('label.uiComponent: ', this.uiComponent);
2317
+ }
2318
+ ngAfterViewInit() {
2319
+ if (this.uiComponent.element) {
2320
+ console.log('label.uiComponent: ', this.uiComponent);
2321
+ this.applyElement(this.uiComponent.element);
2322
+ this.renderer.listen(this.inputElementRef.nativeElement, 'keydown', (event) => {
2323
+ if (event.key === 'Enter') {
2324
+ const action = this.uiComponent.element?.action;
2325
+ const inputValue = this.inputElementRef.nativeElement.value.trim();
2326
+ if (action && inputValue && action.url) {
2327
+ const param = action.param || 'SEARCH';
2328
+ const encodedValue = encodeURIComponent(inputValue);
2329
+ try {
2330
+ const parsed = new URL(action.url);
2331
+ const innerUrlRaw = parsed.searchParams.get('url');
2332
+ if (innerUrlRaw) {
2333
+ const decodedInnerUrl = decodeURIComponent(innerUrlRaw);
2334
+ const updatedInnerUrl = decodedInnerUrl.replace(`{${param}}`, encodedValue);
2335
+ parsed.searchParams.set('url', encodeURIComponent(updatedInnerUrl));
2336
+ const adjustedUrl = parsed.toString();
2337
+ console.debug('[key.enter]', {
2338
+ param,
2339
+ encodedValue,
2340
+ adjustedUrl,
2341
+ });
2342
+ this.actionService.execute({
2343
+ ...action,
2344
+ url: adjustedUrl,
2345
+ });
2346
+ }
2347
+ }
2348
+ catch (err) {
2349
+ console.warn('[key.enter] Invalid action.url format:', action.url, err);
2350
+ }
2351
+ }
2352
+ }
2353
+ });
2354
+ }
2355
+ }
2356
+ applyElement(element) {
2357
+ console.debug('search.element:', element);
2358
+ const inputEl = this.inputElementRef.nativeElement;
2359
+ const textStyleMappingFontSize = this.fontSizeMappingService.getMapping();
2360
+ if (element.placeholder) {
2361
+ this.renderer.setAttribute(inputEl, 'placeholder', element.placeholder);
2362
+ this.renderer.setAttribute(inputEl, 'value', element.placeholder);
2363
+ this.renderer.setAttribute(inputEl, 'readonly', 'true');
2364
+ }
2365
+ if (element.textColor) {
2366
+ const color = colorMapping[element.textColor];
2367
+ this.renderer.setStyle(inputEl, 'color', color);
2368
+ }
2369
+ if (element.textStyle) {
2370
+ const fontSize = textStyleMappingFontSize[element.textStyle];
2371
+ this.renderer.setStyle(inputEl, 'font-size', fontSize);
2372
+ }
2373
+ if (element.placeholderTextColor || element.placeholderTextStyle) {
2374
+ const styleEl = this.renderer.createElement('style');
2375
+ const color = element.placeholderTextColor
2376
+ ? colorMapping[element.placeholderTextColor]
2377
+ : 'inherit';
2378
+ const fontSize = element.placeholderTextStyle
2379
+ ? textStyleMappingFontSize[element.placeholderTextStyle]
2380
+ : 'inherit';
2381
+ styleEl.textContent = `
2382
+ edm-sdui-search-bar-dismiss input::placeholder {
2383
+ color: ${color};
2384
+ font-size: ${fontSize};
2385
+ }
2386
+ `;
2387
+ this.renderer.appendChild(document.head, styleEl);
2388
+ }
2389
+ }
2390
+ clearInput() {
2391
+ const rawStack = sessionStorage.getItem('navigationStack');
2392
+ let stack = rawStack ? JSON.parse(rawStack) : [];
2393
+ stack.pop();
2394
+ const previous = stack[stack.length - 1];
2395
+ sessionStorage.setItem('navigationStack', JSON.stringify(stack));
2396
+ if (previous) {
2397
+ this.router.navigateByUrl(previous);
2398
+ }
2399
+ else {
2400
+ this.router.navigate(['/']);
2401
+ }
2402
+ }
2403
+ 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 }); }
2404
+ 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: "<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 (click)=\"clearInput()\"\n class=\"search-bar-close-icon cursor-pointer\"\n src=\"assets/images/bt-close-comment.svg\"\n>\n", styles: [".search-bar{width:100%;line-height:1.5rem;background-color:var(--bg-search)}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: UIViewDirective, selector: "[edmSduiView]", inputs: ["edmSduiView", "disableClick"] }] }); }
2405
+ }
2406
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SearchBarDismissComponent, decorators: [{
2407
+ type: Component,
2408
+ args: [{ standalone: false, selector: 'edm-sdui-search-bar-dismiss', template: "<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 (click)=\"clearInput()\"\n class=\"search-bar-close-icon cursor-pointer\"\n src=\"assets/images/bt-close-comment.svg\"\n>\n", styles: [".search-bar{width:100%;line-height:1.5rem;background-color:var(--bg-search)}\n"] }]
2409
+ }], ctorParameters: () => [{ type: UIActionService }, { type: undefined, decorators: [{
2410
+ type: Inject,
2411
+ args: ['uiComponent']
2412
+ }] }, { type: i0.Renderer2 }, { type: i1$2.Router }, { type: FontSizeMappingService }], propDecorators: { inputElementRef: [{
2413
+ type: ViewChild,
2414
+ args: ['inputElement']
2415
+ }] } });
2416
+
2417
+ var searchBarDismiss_component = /*#__PURE__*/Object.freeze({
2418
+ __proto__: null,
2419
+ SearchBarDismissComponent: SearchBarDismissComponent
2420
+ });
2421
+
2422
+ class SduiTranslationService {
2423
+ constructor() {
2424
+ this.translations = {
2425
+ pt: {
2426
+ contentType: {
2427
+ video: 'Vídeo',
2428
+ html: 'Texto',
2429
+ sound: 'Áudio',
2430
+ file: 'Arquivo',
2431
+ quiz: 'Questionário',
2432
+ }
2433
+ },
2434
+ en: {
2435
+ contentType: {
2436
+ video: 'Video',
2437
+ html: 'Text',
2438
+ sound: 'Audio',
2439
+ file: 'File',
2440
+ quiz: 'Quiz',
2441
+ }
2442
+ }
2443
+ };
2444
+ this.language = this.detectBrowserLanguage();
2445
+ }
2446
+ detectBrowserLanguage() {
2447
+ const lang = navigator.language.toLowerCase();
2448
+ if (lang.startsWith('en'))
2449
+ return 'en';
2450
+ return 'pt'; // fallback default
2451
+ }
2452
+ setLanguage(lang) {
2453
+ this.language = lang;
2454
+ }
2455
+ getLanguage() {
2456
+ return this.language;
2457
+ }
2458
+ translate(context, key) {
2459
+ return (this.translations[this.language]?.[context]?.[key] ??
2460
+ this.translations['pt']?.[context]?.[key] ??
2461
+ key);
2462
+ }
2463
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SduiTranslationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2464
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SduiTranslationService, providedIn: 'root' }); }
2465
+ }
2466
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SduiTranslationService, decorators: [{
2467
+ type: Injectable,
2468
+ args: [{ providedIn: 'root' }]
2469
+ }], ctorParameters: () => [] });
2470
+
2471
+ var UIContentType;
2472
+ (function (UIContentType) {
2473
+ UIContentType["VIDEO"] = "video";
2474
+ UIContentType["AUDIO"] = "audio";
2475
+ UIContentType["FILE"] = "file";
2476
+ UIContentType["QUIZ"] = "quiz";
2477
+ UIContentType["LINK"] = "link";
2478
+ UIContentType["HTML"] = "html";
2479
+ })(UIContentType || (UIContentType = {}));
2480
+
2481
+ class MediaTypeComponent {
2482
+ constructor(uiComponent, renderer, translator, fontSizeMappingService) {
2483
+ this.uiComponent = uiComponent;
2484
+ this.renderer = renderer;
2485
+ this.translator = translator;
2486
+ this.fontSizeMappingService = fontSizeMappingService;
2487
+ this.label = '';
2488
+ this.contetType = UIContentType;
2489
+ }
2490
+ ngOnInit() {
2491
+ console.debug('label.uiComponent: ', this.uiComponent);
2492
+ const type = this.uiComponent.element?.contentType ?? '';
2493
+ this.label = this.translator.translate('contentType', type);
2494
+ }
2495
+ ngAfterViewInit() {
2496
+ if (this.uiComponent.element) {
2497
+ this.applyElement(this.uiComponent.element);
2498
+ }
2499
+ }
2500
+ applyElement(element) {
2501
+ const containerEl = this.containerElementRef?.nativeElement;
2502
+ this.renderer.setStyle(containerEl, 'gap', spaceMapping['s1']);
2503
+ const iconEl = this.iconElementRef?.nativeElement;
2504
+ const size = UISize.ASSET_2; // fixo
2505
+ const height = sizeMappingHeight[size];
2506
+ const width = sizeMappingWidth[size];
2507
+ this.renderer.setStyle(iconEl, 'height', height);
2508
+ this.renderer.setStyle(iconEl, 'width', width);
2509
+ const labelEl = this.labelElementRef?.nativeElement;
2510
+ const color = colorMapping[UIColor.TEXT_COMMENT_SEC];
2511
+ this.renderer.setStyle(labelEl, 'color', color);
2512
+ const textStyleMappingFontSize = this.fontSizeMappingService.getMapping();
2513
+ const fontSize = textStyleMappingFontSize[UITextStyle.CAPTION_2];
2514
+ this.renderer.setStyle(labelEl, 'font-size', fontSize);
2515
+ const lineHeight = textStyleMappingLineHeight[UITextStyle.CAPTION_2];
2516
+ this.renderer.setStyle(labelEl, 'line-height', lineHeight);
2517
+ }
2518
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MediaTypeComponent, deps: [{ token: 'uiComponent' }, { token: i0.Renderer2 }, { token: SduiTranslationService }, { token: FontSizeMappingService }], target: i0.ɵɵFactoryTarget.Component }); }
2519
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: MediaTypeComponent, selector: "edm-sdui-media-type", viewQueries: [{ propertyName: "iconElementRef", first: true, predicate: ["iconElementRef"], descendants: true }, { propertyName: "labelElementRef", first: true, predicate: ["labelElementRef"], descendants: true }, { propertyName: "containerElementRef", first: true, predicate: ["containerElementRef"], descendants: true }], ngImport: i0, template: "<div #containerElementRef class=\"media-container\">\n @if(this.uiComponent.element?.contentType === contetType.VIDEO)\n {\n <img #iconElementRef src=\"/assets/images/ic-play-list.svg\" class=\"icons-svg-list\">\n }\n @if(this.uiComponent.element?.contentType === contetType.HTML)\n {\n <img #iconElementRef src=\"/assets/images/ic-text-list.svg\" class=\"icons-svg-list\">\n }\n @if(this.uiComponent.element?.contentType === contetType.AUDIO)\n {\n <img #iconElementRef src=\"/assets/images/ic-audio-list.svg\" class=\"icons-svg-list\">\n }\n @if(this.uiComponent.element?.contentType === contetType.FILE)\n {\n <img #iconElementRef src=\"/assets/images/ic-file.svg\" class=\"icons-svg-list\">\n }\n @if(this.uiComponent.element?.contentType === contetType.QUIZ)\n {\n <img #iconElementRef src=\"/assets/images/ic-quiz-list.svg\" class=\"icons-svg-list\">\n }\n\n <span #labelElementRef>{{ label }}</span>\n</div>\n\n", styles: [":host{display:contents}.media-container{display:flex;justify-content:center;align-items:center}\n"] }); }
2520
+ }
2521
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MediaTypeComponent, decorators: [{
2522
+ type: Component,
2523
+ args: [{ standalone: false, selector: 'edm-sdui-media-type', template: "<div #containerElementRef class=\"media-container\">\n @if(this.uiComponent.element?.contentType === contetType.VIDEO)\n {\n <img #iconElementRef src=\"/assets/images/ic-play-list.svg\" class=\"icons-svg-list\">\n }\n @if(this.uiComponent.element?.contentType === contetType.HTML)\n {\n <img #iconElementRef src=\"/assets/images/ic-text-list.svg\" class=\"icons-svg-list\">\n }\n @if(this.uiComponent.element?.contentType === contetType.AUDIO)\n {\n <img #iconElementRef src=\"/assets/images/ic-audio-list.svg\" class=\"icons-svg-list\">\n }\n @if(this.uiComponent.element?.contentType === contetType.FILE)\n {\n <img #iconElementRef src=\"/assets/images/ic-file.svg\" class=\"icons-svg-list\">\n }\n @if(this.uiComponent.element?.contentType === contetType.QUIZ)\n {\n <img #iconElementRef src=\"/assets/images/ic-quiz-list.svg\" class=\"icons-svg-list\">\n }\n\n <span #labelElementRef>{{ label }}</span>\n</div>\n\n", styles: [":host{display:contents}.media-container{display:flex;justify-content:center;align-items:center}\n"] }]
2524
+ }], ctorParameters: () => [{ type: undefined, decorators: [{
2525
+ type: Inject,
2526
+ args: ['uiComponent']
2527
+ }] }, { type: i0.Renderer2 }, { type: SduiTranslationService }, { type: FontSizeMappingService }], propDecorators: { iconElementRef: [{
2528
+ type: ViewChild,
2529
+ args: ['iconElementRef']
2530
+ }], labelElementRef: [{
2531
+ type: ViewChild,
2532
+ args: ['labelElementRef']
2533
+ }], containerElementRef: [{
2534
+ type: ViewChild,
2535
+ args: ['containerElementRef']
2536
+ }] } });
2537
+
2538
+ var mediaType_component = /*#__PURE__*/Object.freeze({
2539
+ __proto__: null,
2540
+ MediaTypeComponent: MediaTypeComponent
2541
+ });
2542
+
2543
+ class PickerItemComponent {
2544
+ constructor(uiComponent, actionService) {
2545
+ this.uiComponent = uiComponent;
2546
+ this.actionService = actionService;
2547
+ this.label = '';
2548
+ this.selected = new EventEmitter();
2549
+ }
2550
+ ngOnInit() {
2551
+ this.label = this.uiComponent.element?.label ?? '';
2552
+ }
2553
+ onClick() {
2554
+ const action = this.uiComponent.element?.action;
2555
+ if (action) {
2556
+ this.actionService.execute(action);
2557
+ }
2558
+ this.selected.emit(this.label);
2559
+ }
2560
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PickerItemComponent, deps: [{ token: 'uiComponent' }, { token: UIActionService }], target: i0.ɵɵFactoryTarget.Component }); }
2561
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: PickerItemComponent, selector: "edm-sdui-picker-item", outputs: { selected: "selected" }, ngImport: i0, template: "<button class=\"picker-item\" (click)=\"onClick()\">\n {{ label }}\n</button>\n", styles: [".picker-item{background:none;border:none;padding:.5rem 1rem;width:100%;text-align:left;font-size:1rem;cursor:pointer;color:var(--main-1)}.picker-item:hover{background-color:var(--bt-tag-on);color:var(--font-bt-tag-on)}\n"] }); }
2562
+ }
2563
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PickerItemComponent, decorators: [{
2564
+ type: Component,
2565
+ args: [{ standalone: false, selector: 'edm-sdui-picker-item', template: "<button class=\"picker-item\" (click)=\"onClick()\">\n {{ label }}\n</button>\n", styles: [".picker-item{background:none;border:none;padding:.5rem 1rem;width:100%;text-align:left;font-size:1rem;cursor:pointer;color:var(--main-1)}.picker-item:hover{background-color:var(--bt-tag-on);color:var(--font-bt-tag-on)}\n"] }]
2566
+ }], ctorParameters: () => [{ type: undefined, decorators: [{
2567
+ type: Inject,
2568
+ args: ['uiComponent']
2569
+ }] }, { type: UIActionService }], propDecorators: { selected: [{
2570
+ type: Output
2571
+ }] } });
2572
+
2573
+ var pickerItem_component = /*#__PURE__*/Object.freeze({
2574
+ __proto__: null,
2575
+ PickerItemComponent: PickerItemComponent
2576
+ });
2577
+
2578
+ class PickerComponent {
2579
+ constructor(uiComponent, injector, elementRef) {
2580
+ this.uiComponent = uiComponent;
2581
+ this.injector = injector;
2582
+ this.elementRef = elementRef;
2583
+ this.selectedLabel = '';
2584
+ this.open = false;
2585
+ this.pickerItemComponent = PickerItemComponent;
2586
+ }
2587
+ ngOnInit() {
2588
+ this.selectedLabel = this.uiComponent.element?.label ?? 'Selecionar';
2589
+ }
2590
+ onItemSelected(label) {
2591
+ this.selectedLabel = label;
2592
+ this.open = false;
2593
+ }
2594
+ createInjector(item) {
2595
+ return Injector.create({
2596
+ providers: [
2597
+ { provide: 'uiComponent', useValue: item }
2598
+ ],
2599
+ parent: this.injector
2600
+ });
2601
+ }
2602
+ ngAfterViewInit() {
2603
+ // if (this.uiComponent.element) {
2604
+ // this.applyElement(this.uiComponent.element);
2605
+ // }
2606
+ }
2607
+ onDocumentClick(event) {
2608
+ const clickedInside = this.elementRef.nativeElement.contains(event.target);
2609
+ if (!clickedInside && this.open) {
2610
+ this.open = false;
2611
+ }
2612
+ }
2613
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PickerComponent, deps: [{ token: 'uiComponent' }, { token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
2614
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: PickerComponent, selector: "edm-sdui-picker", host: { listeners: { "document:click": "onDocumentClick($event)" } }, ngImport: i0, template: "<div class=\"picker\">\n <button (click)=\"open = !open\">{{ selectedLabel }} <span class=\"material-symbols-outlined\">\n {{open ? 'keyboard_arrow_up' : 'keyboard_arrow_down'}}\n </span></button>\n <ul *ngIf=\"open\">\n <li *ngFor=\"let item of uiComponent.components\">\n <ng-container *ngComponentOutlet=\"pickerItemComponent; injector: createInjector(item)\"></ng-container>\n </li>\n </ul>\n</div>\n", styles: [".picker{position:relative;display:inline-block}.picker button{background:none;border:none;padding:.5rem 0;min-width:160px;text-align:left;cursor:pointer;color:var(--main-1);font-weight:700;display:flex;align-items:center}.picker button span{margin-left:8px}.picker ul{position:absolute;top:100%;left:0;z-index:10;background:var(--bg);border:1px solid var(--bg);border-radius:4px;width:100%;margin:0;padding:0;list-style:none;box-shadow:0 4px 8px #0000001a;max-height:250px;overflow-y:auto}.picker li{display:contents;padding:0}\n"], dependencies: [{ kind: "directive", type: i1$1.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"] }, { 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"] }] }); }
2615
+ }
2616
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PickerComponent, decorators: [{
2617
+ type: Component,
2618
+ args: [{ standalone: false, selector: 'edm-sdui-picker', template: "<div class=\"picker\">\n <button (click)=\"open = !open\">{{ selectedLabel }} <span class=\"material-symbols-outlined\">\n {{open ? 'keyboard_arrow_up' : 'keyboard_arrow_down'}}\n </span></button>\n <ul *ngIf=\"open\">\n <li *ngFor=\"let item of uiComponent.components\">\n <ng-container *ngComponentOutlet=\"pickerItemComponent; injector: createInjector(item)\"></ng-container>\n </li>\n </ul>\n</div>\n", styles: [".picker{position:relative;display:inline-block}.picker button{background:none;border:none;padding:.5rem 0;min-width:160px;text-align:left;cursor:pointer;color:var(--main-1);font-weight:700;display:flex;align-items:center}.picker button span{margin-left:8px}.picker ul{position:absolute;top:100%;left:0;z-index:10;background:var(--bg);border:1px solid var(--bg);border-radius:4px;width:100%;margin:0;padding:0;list-style:none;box-shadow:0 4px 8px #0000001a;max-height:250px;overflow-y:auto}.picker li{display:contents;padding:0}\n"] }]
2619
+ }], ctorParameters: () => [{ type: undefined, decorators: [{
2620
+ type: Inject,
2621
+ args: ['uiComponent']
2622
+ }] }, { type: i0.Injector }, { type: i0.ElementRef }], propDecorators: { onDocumentClick: [{
2623
+ type: HostListener,
2624
+ args: ['document:click', ['$event']]
2625
+ }] } });
2626
+
2627
+ var picker_component = /*#__PURE__*/Object.freeze({
2628
+ __proto__: null,
2629
+ PickerComponent: PickerComponent
2630
+ });
2631
+
2197
2632
  class SduiModule {
2198
2633
  static forRoot(config) {
2199
2634
  return {
@@ -2203,6 +2638,10 @@ class SduiModule {
2203
2638
  provide: SDUI_BASE_URL,
2204
2639
  useValue: config.baseUrl,
2205
2640
  },
2641
+ {
2642
+ provide: SDUI_FONT_ADJUST,
2643
+ useValue: config.fontAdjust ?? 0,
2644
+ }
2206
2645
  ],
2207
2646
  };
2208
2647
  }
@@ -2229,6 +2668,10 @@ class SduiModule {
2229
2668
  ImageComponent,
2230
2669
  TagComponent,
2231
2670
  SearchBarComponent,
2671
+ SearchBarDismissComponent,
2672
+ MediaTypeComponent,
2673
+ PickerComponent,
2674
+ PickerItemComponent,
2232
2675
  // diretivas
2233
2676
  UIViewDirective,
2234
2677
  // navegação
@@ -2259,6 +2702,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
2259
2702
  ImageComponent,
2260
2703
  TagComponent,
2261
2704
  SearchBarComponent,
2705
+ SearchBarDismissComponent,
2706
+ MediaTypeComponent,
2707
+ PickerComponent,
2708
+ PickerItemComponent,
2262
2709
  // diretivas
2263
2710
  UIViewDirective,
2264
2711
  // navegação