@edm-sdui/sdui 1.0.0

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 (141) hide show
  1. package/edm-sdui-sdui.d.ts.map +1 -0
  2. package/fesm2022/edm-sdui-sdui.mjs +2279 -0
  3. package/fesm2022/edm-sdui-sdui.mjs.map +1 -0
  4. package/index.d.ts +6 -0
  5. package/lib/components/navigation-controls/navigation-controls.component.d.ts +12 -0
  6. package/lib/components/navigation-controls/navigation-controls.component.d.ts.map +1 -0
  7. package/lib/components/uicomponent/button/button.component.d.ts +17 -0
  8. package/lib/components/uicomponent/button/button.component.d.ts.map +1 -0
  9. package/lib/components/uicomponent/column/column.component.d.ts +11 -0
  10. package/lib/components/uicomponent/column/column.component.d.ts.map +1 -0
  11. package/lib/components/uicomponent/image/image.component.d.ts +15 -0
  12. package/lib/components/uicomponent/image/image.component.d.ts.map +1 -0
  13. package/lib/components/uicomponent/label/label.component.d.ts +15 -0
  14. package/lib/components/uicomponent/label/label.component.d.ts.map +1 -0
  15. package/lib/components/uicomponent/row/row.component.d.ts +11 -0
  16. package/lib/components/uicomponent/row/row.component.d.ts.map +1 -0
  17. package/lib/components/uicomponent/row-divisor/row-divisor.component.d.ts +11 -0
  18. package/lib/components/uicomponent/row-divisor/row-divisor.component.d.ts.map +1 -0
  19. package/lib/components/uicomponent/search-bar/search-bar.component.d.ts +17 -0
  20. package/lib/components/uicomponent/search-bar/search-bar.component.d.ts.map +1 -0
  21. package/lib/components/uicomponent/space/space.component.d.ts +11 -0
  22. package/lib/components/uicomponent/space/space.component.d.ts.map +1 -0
  23. package/lib/components/uicomponent/tag/tag.component.d.ts +17 -0
  24. package/lib/components/uicomponent/tag/tag.component.d.ts.map +1 -0
  25. package/lib/components/uicomponent/uicomponent.component.d.ts +17 -0
  26. package/lib/components/uicomponent/uicomponent.component.d.ts.map +1 -0
  27. package/lib/components/uicomponent/zstack/zstack.component.d.ts +11 -0
  28. package/lib/components/uicomponent/zstack/zstack.component.d.ts.map +1 -0
  29. package/lib/components/uilayout/centered-content-layout/centered-content-layout.component.d.ts +10 -0
  30. package/lib/components/uilayout/centered-content-layout/centered-content-layout.component.d.ts.map +1 -0
  31. package/lib/components/uilayout/single-column-layout/single-column-layout.component.d.ts +10 -0
  32. package/lib/components/uilayout/single-column-layout/single-column-layout.component.d.ts.map +1 -0
  33. package/lib/components/uilayout/uinavigation/uinavigation.component.d.ts +8 -0
  34. package/lib/components/uilayout/uinavigation/uinavigation.component.d.ts.map +1 -0
  35. package/lib/components/uiscreen/uiscreen.component.d.ts +11 -0
  36. package/lib/components/uiscreen/uiscreen.component.d.ts.map +1 -0
  37. package/lib/core/services/ui-action.service.d.ts +11 -0
  38. package/lib/core/services/ui-action.service.d.ts.map +1 -0
  39. package/lib/core/services/uiscreen.service.d.ts +24 -0
  40. package/lib/core/services/uiscreen.service.d.ts.map +1 -0
  41. package/lib/core/tokens/sdui-config.token.d.ts +3 -0
  42. package/lib/core/tokens/sdui-config.token.d.ts.map +1 -0
  43. package/lib/core/uicomposition/enums/uicomponent-type.d.ts +20 -0
  44. package/lib/core/uicomposition/enums/uicomponent-type.d.ts.map +1 -0
  45. package/lib/core/uicomposition/enums/uiplatform-type.d.ts +5 -0
  46. package/lib/core/uicomposition/enums/uiplatform-type.d.ts.map +1 -0
  47. package/lib/core/uicomposition/enums/uiscene.d.ts +4 -0
  48. package/lib/core/uicomposition/enums/uiscene.d.ts.map +1 -0
  49. package/lib/core/uicomposition/enums/uiscreen-identifier.d.ts +5 -0
  50. package/lib/core/uicomposition/enums/uiscreen-identifier.d.ts.map +1 -0
  51. package/lib/core/uicomposition/mapping/component-mapping.d.ts +4 -0
  52. package/lib/core/uicomposition/mapping/component-mapping.d.ts.map +1 -0
  53. package/lib/core/uicomposition/models/uicentered-content-layout.d.ts +11 -0
  54. package/lib/core/uicomposition/models/uicentered-content-layout.d.ts.map +1 -0
  55. package/lib/core/uicomposition/models/uicomponent.d.ts +10 -0
  56. package/lib/core/uicomposition/models/uicomponent.d.ts.map +1 -0
  57. package/lib/core/uicomposition/models/uielement.d.ts +25 -0
  58. package/lib/core/uicomposition/models/uielement.d.ts.map +1 -0
  59. package/lib/core/uicomposition/models/uilayout.d.ts +4 -0
  60. package/lib/core/uicomposition/models/uilayout.d.ts.map +1 -0
  61. package/lib/core/uicomposition/models/uinavigation.d.ts +6 -0
  62. package/lib/core/uicomposition/models/uinavigation.d.ts.map +1 -0
  63. package/lib/core/uicomposition/models/uiscreen.d.ts +14 -0
  64. package/lib/core/uicomposition/models/uiscreen.d.ts.map +1 -0
  65. package/lib/core/uicomposition/models/uisingle-column-layout.d.ts +10 -0
  66. package/lib/core/uicomposition/models/uisingle-column-layout.d.ts.map +1 -0
  67. package/lib/core/uicomposition/models/uiview.d.ts +17 -0
  68. package/lib/core/uicomposition/models/uiview.d.ts.map +1 -0
  69. package/lib/core/uitheme/enums/uiaction-type.d.ts +10 -0
  70. package/lib/core/uitheme/enums/uiaction-type.d.ts.map +1 -0
  71. package/lib/core/uitheme/enums/uialignment-type.d.ts +6 -0
  72. package/lib/core/uitheme/enums/uialignment-type.d.ts.map +1 -0
  73. package/lib/core/uitheme/enums/uiaspect-type.d.ts +5 -0
  74. package/lib/core/uitheme/enums/uiaspect-type.d.ts.map +1 -0
  75. package/lib/core/uitheme/enums/uiasset.d.ts +354 -0
  76. package/lib/core/uitheme/enums/uiasset.d.ts.map +1 -0
  77. package/lib/core/uitheme/enums/uicolor.d.ts +130 -0
  78. package/lib/core/uitheme/enums/uicolor.d.ts.map +1 -0
  79. package/lib/core/uitheme/enums/uicontent-type.d.ts +9 -0
  80. package/lib/core/uitheme/enums/uicontent-type.d.ts.map +1 -0
  81. package/lib/core/uitheme/enums/uipadding-level.d.ts +11 -0
  82. package/lib/core/uitheme/enums/uipadding-level.d.ts.map +1 -0
  83. package/lib/core/uitheme/enums/uipresentation-style.d.ts +6 -0
  84. package/lib/core/uitheme/enums/uipresentation-style.d.ts.map +1 -0
  85. package/lib/core/uitheme/enums/uiradius-level.d.ts +9 -0
  86. package/lib/core/uitheme/enums/uiradius-level.d.ts.map +1 -0
  87. package/lib/core/uitheme/enums/uishadow-blur-radius.d.ts +4 -0
  88. package/lib/core/uitheme/enums/uishadow-blur-radius.d.ts.map +1 -0
  89. package/lib/core/uitheme/enums/uishadow-offset.d.ts +4 -0
  90. package/lib/core/uitheme/enums/uishadow-offset.d.ts.map +1 -0
  91. package/lib/core/uitheme/enums/uisize.d.ts +12 -0
  92. package/lib/core/uitheme/enums/uisize.d.ts.map +1 -0
  93. package/lib/core/uitheme/enums/uispacing-level.d.ts +7 -0
  94. package/lib/core/uitheme/enums/uispacing-level.d.ts.map +1 -0
  95. package/lib/core/uitheme/enums/uitext-style.d.ts +14 -0
  96. package/lib/core/uitheme/enums/uitext-style.d.ts.map +1 -0
  97. package/lib/core/uitheme/mapping/alignment-mapping.d.ts +3 -0
  98. package/lib/core/uitheme/mapping/alignment-mapping.d.ts.map +1 -0
  99. package/lib/core/uitheme/mapping/asset-mapping.d.ts +3 -0
  100. package/lib/core/uitheme/mapping/asset-mapping.d.ts.map +1 -0
  101. package/lib/core/uitheme/mapping/color-mapping.d.ts +3 -0
  102. package/lib/core/uitheme/mapping/color-mapping.d.ts.map +1 -0
  103. package/lib/core/uitheme/mapping/pad-mapping.d.ts +3 -0
  104. package/lib/core/uitheme/mapping/pad-mapping.d.ts.map +1 -0
  105. package/lib/core/uitheme/mapping/radius-mapping.d.ts +3 -0
  106. package/lib/core/uitheme/mapping/radius-mapping.d.ts.map +1 -0
  107. package/lib/core/uitheme/mapping/size-mapping.d.ts +4 -0
  108. package/lib/core/uitheme/mapping/size-mapping.d.ts.map +1 -0
  109. package/lib/core/uitheme/mapping/space-mapping.d.ts +3 -0
  110. package/lib/core/uitheme/mapping/space-mapping.d.ts.map +1 -0
  111. package/lib/core/uitheme/mapping/text-style-mapping.d.ts +3 -0
  112. package/lib/core/uitheme/mapping/text-style-mapping.d.ts.map +1 -0
  113. package/lib/core/uitheme/models/uiaction.d.ts +10 -0
  114. package/lib/core/uitheme/models/uiaction.d.ts.map +1 -0
  115. package/lib/core/uitheme/models/uialignment.d.ts +5 -0
  116. package/lib/core/uitheme/models/uialignment.d.ts.map +1 -0
  117. package/lib/core/uitheme/models/uibackground.d.ts +5 -0
  118. package/lib/core/uitheme/models/uibackground.d.ts.map +1 -0
  119. package/lib/core/uitheme/models/uipadding.d.ts +8 -0
  120. package/lib/core/uitheme/models/uipadding.d.ts.map +1 -0
  121. package/lib/core/uitheme/models/uiradius.d.ts +8 -0
  122. package/lib/core/uitheme/models/uiradius.d.ts.map +1 -0
  123. package/lib/core/uitheme/models/uishadow.d.ts +11 -0
  124. package/lib/core/uitheme/models/uishadow.d.ts.map +1 -0
  125. package/lib/core/uitheme/models/uispacing.d.ts +5 -0
  126. package/lib/core/uitheme/models/uispacing.d.ts.map +1 -0
  127. package/lib/core/utils/url-parser.util.d.ts +3 -0
  128. package/lib/core/utils/url-parser.util.d.ts.map +1 -0
  129. package/lib/core/view-models/uiscreen.viewmodel.d.ts +40 -0
  130. package/lib/core/view-models/uiscreen.viewmodel.d.ts.map +1 -0
  131. package/lib/directives/uiview.directive.d.ts +29 -0
  132. package/lib/directives/uiview.directive.d.ts.map +1 -0
  133. package/lib/sdui-routing.module.d.ts +10 -0
  134. package/lib/sdui-routing.module.d.ts.map +1 -0
  135. package/lib/sdui.component.d.ts +17 -0
  136. package/lib/sdui.component.d.ts.map +1 -0
  137. package/lib/sdui.module.d.ts +35 -0
  138. package/lib/sdui.module.d.ts.map +1 -0
  139. package/package.json +27 -0
  140. package/public-api.d.ts +5 -0
  141. package/public-api.d.ts.map +1 -0
@@ -0,0 +1,2279 @@
1
+ import * as i0 from '@angular/core';
2
+ import { InjectionToken, Injectable, Optional, Inject, Injector, Component, Input, Directive, HostListener, ViewChild, NgModule } from '@angular/core';
3
+ import * as i1$1 from '@angular/common';
4
+ import { CommonModule } from '@angular/common';
5
+ import * as i1$2 from '@angular/router';
6
+ import { RouterModule } from '@angular/router';
7
+ import { map, BehaviorSubject, finalize, catchError, of } from 'rxjs';
8
+ import * as i1 from '@angular/common/http';
9
+ import { tap } from 'rxjs/operators';
10
+
11
+ var UIScreenIdentifier;
12
+ (function (UIScreenIdentifier) {
13
+ UIScreenIdentifier["SINGLE_COLUMN"] = "SINGLE_COLUMN";
14
+ UIScreenIdentifier["CENTERED_CONTENT"] = "CENTERED_CONTENT";
15
+ })(UIScreenIdentifier || (UIScreenIdentifier = {}));
16
+
17
+ var UIComponentType;
18
+ (function (UIComponentType) {
19
+ // stacks
20
+ UIComponentType["ROW"] = "ROW";
21
+ UIComponentType["ROW_DIVISOR"] = "ROW_DIVISOR";
22
+ UIComponentType["COLUMN"] = "COLUMN";
23
+ UIComponentType["Z_STACK"] = "Z_STACK";
24
+ // elements
25
+ UIComponentType["BUTTON"] = "BUTTON";
26
+ UIComponentType["LABEL"] = "LABEL";
27
+ UIComponentType["IMAGE"] = "IMAGE";
28
+ UIComponentType["SPACE"] = "SPACE";
29
+ // players
30
+ UIComponentType["VIDEO_PLAYER_HLS"] = "VIDEO_PLAYER_HLS";
31
+ UIComponentType["VIDEO_PLAYER_WEB"] = "VIDEO_PLAYER_WEB";
32
+ // componentes visuais media
33
+ UIComponentType["MEDIA_TYPE"] = "MEDIA_TYPE";
34
+ UIComponentType["MEDIA_CONTENT"] = "MEDIA_CONTENT";
35
+ // search
36
+ UIComponentType["SEARCH_BAR"] = "SEARCH_BAR";
37
+ UIComponentType["SEARCH_BAR_DISMISS"] = "SEARCH_BAR_DISMISS";
38
+ // picker
39
+ UIComponentType["PICKER"] = "PICKER";
40
+ UIComponentType["PICKER_ITEM"] = "PICKER_ITEM";
41
+ // tag
42
+ UIComponentType["TAG"] = "TAG";
43
+ })(UIComponentType || (UIComponentType = {}));
44
+
45
+ const SDUI_BASE_URL = new InjectionToken('SDUI_BASE_URL');
46
+
47
+ function resolveSduiUrl(rawUrl, baseUrl = '') {
48
+ let finalUrl = rawUrl;
49
+ if (rawUrl.startsWith('edm://')) {
50
+ const urlParams = new URLSearchParams(rawUrl.split('?')[1]);
51
+ const extractedUrl = urlParams.get('url');
52
+ if (!extractedUrl) {
53
+ throw new Error('URL parameter not found in the input URL');
54
+ }
55
+ finalUrl = decodeURIComponent(extractedUrl);
56
+ }
57
+ if (!finalUrl.startsWith('http')) {
58
+ finalUrl = `${baseUrl}${finalUrl}`;
59
+ }
60
+ return finalUrl;
61
+ }
62
+ function isSduiUrl(rawUrl) {
63
+ return rawUrl.startsWith('edm://sdui');
64
+ }
65
+
66
+ class UIScreenService {
67
+ constructor(http, baseUrl = '') {
68
+ this.http = http;
69
+ this.baseUrl = baseUrl;
70
+ }
71
+ getUIScreen(url) {
72
+ let finalUrl = resolveSduiUrl(url, this.baseUrl);
73
+ return this.http
74
+ .get(finalUrl)
75
+ .pipe(map((json) => this.mapToUIScreen(json)));
76
+ }
77
+ mapToUIScreen(json) {
78
+ const { identifier, content } = json;
79
+ if (!identifier) {
80
+ throw new Error(`Identificador da tela ausente no JSON recebido.`);
81
+ }
82
+ const layout = this.getLayout(identifier, content);
83
+ return {
84
+ identifier: identifier,
85
+ content: layout,
86
+ ...this.mapToUIView(json),
87
+ };
88
+ }
89
+ getLayout(identifier, content) {
90
+ switch (identifier) {
91
+ case UIScreenIdentifier.SINGLE_COLUMN:
92
+ return this.mapToSingleColumnLayout(content ?? {});
93
+ case UIScreenIdentifier.CENTERED_CONTENT:
94
+ return this.mapToCenteredContentLayout(content ?? {});
95
+ default:
96
+ throw new Error(`Tipo de tela desconhecido: ${identifier}`);
97
+ }
98
+ }
99
+ mapToSingleColumnLayout(json) {
100
+ return {
101
+ nav: json.nav ? this.mapToUINavigation(json.nav) : null,
102
+ header: json.header ? this.mapToUIComponent(json.header) : null,
103
+ main: json.main ? this.mapToUIComponent(json.main) : null,
104
+ footer: json.footer ? this.mapToUIComponent(json.footer) : null,
105
+ };
106
+ }
107
+ mapToCenteredContentLayout(json) {
108
+ return {
109
+ nav: json.nav ? this.mapToUINavigation(json.nav) : null,
110
+ backgroundComponent: json.backgroundComponent
111
+ ? this.mapToUIComponent(json.backgroundComponent)
112
+ : null,
113
+ header: json.header ? this.mapToUIComponent(json.header) : null,
114
+ centered: json.centered ? this.mapToUIComponent(json.centered) : null,
115
+ footer: json.footer ? this.mapToUIComponent(json.footer) : null,
116
+ };
117
+ }
118
+ mapToUINavigation(json) {
119
+ return {
120
+ title: json.title ?? null,
121
+ titleComponent: json.title_component
122
+ ? this.mapToUIComponent(json.title_component)
123
+ : null,
124
+ };
125
+ }
126
+ mapToUIComponent(json) {
127
+ return {
128
+ type: json.type || UIComponentType.COLUMN, // Define um tipo padrão
129
+ components: json.components
130
+ ? json.components.map((c) => this.mapToUIComponent(c))
131
+ : [],
132
+ element: json.element ? this.mapToUIElement(json.element) : null,
133
+ };
134
+ }
135
+ mapToUIElement(json) {
136
+ return {
137
+ label: json.label ?? null,
138
+ textColor: json.text_color ? json.text_color : null,
139
+ textStyle: json.text_style ? json.text_style : null,
140
+ maxLines: json.max_lines ?? null,
141
+ asset: json.asset ? json.asset : null,
142
+ url: json.url ?? null,
143
+ enabled: json.enabled ?? true,
144
+ size: json.size ?? null,
145
+ opacity: json.opacity ?? null,
146
+ contentType: json.content_type ?? null,
147
+ aspect: json.aspect ?? null,
148
+ grow: json.grow ?? null,
149
+ placeholder: json.placeholder ?? null,
150
+ placeholderTextColor: json.placeholder_text_color ?? null,
151
+ placeholderTextStyle: json.placeholder_text_style ?? null,
152
+ ...this.mapToUIView(json),
153
+ };
154
+ }
155
+ mapToUIView(json) {
156
+ return {
157
+ padding: json.padding,
158
+ background: json.background ? this.mapBackground(json.background) : null,
159
+ action: json.action ? this.mapAction(json.action) : null,
160
+ alignment: json.alignment
161
+ ? { alignment: json.alignment }
162
+ : null,
163
+ shadow: json.shadow,
164
+ radius: json.radius ? this.mapRadius(json.radius) : null,
165
+ spacing: json.spacing
166
+ ? { spacing: json.spacing }
167
+ : null,
168
+ };
169
+ }
170
+ mapBackground(json) {
171
+ return {
172
+ backgroundColor: json.background_color,
173
+ };
174
+ }
175
+ mapAction(json) {
176
+ return {
177
+ canAccess: json.can_acces ?? null,
178
+ type: json.type ? json.type : null,
179
+ url: json.url ?? null,
180
+ };
181
+ }
182
+ mapRadius(json) {
183
+ return {
184
+ topLeft: json.top_left ? json.top_left : null,
185
+ topRight: json.top_right ? json.top_right : null,
186
+ bottomLeft: json.bottom_left ? json.bottom_left : null,
187
+ bottomRight: json.bottom_right
188
+ ? json.bottom_right
189
+ : null,
190
+ };
191
+ }
192
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: UIScreenService, deps: [{ token: i1.HttpClient }, { token: SDUI_BASE_URL, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
193
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: UIScreenService, providedIn: 'root' }); }
194
+ }
195
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: UIScreenService, decorators: [{
196
+ type: Injectable,
197
+ args: [{
198
+ providedIn: 'root',
199
+ }]
200
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
201
+ type: Optional
202
+ }, {
203
+ type: Inject,
204
+ args: [SDUI_BASE_URL]
205
+ }] }] });
206
+
207
+ const SDUI_URL_PARAM = 'sduiUrl';
208
+ class UIScreenViewModel {
209
+ constructor(uiScreenService, location //private router: Router, //private route: ActivatedRoute
210
+ ) {
211
+ this.uiScreenService = uiScreenService;
212
+ this.location = location;
213
+ this.uiScreenSubject = new BehaviorSubject(null);
214
+ this.isLoadingSubject = new BehaviorSubject(false);
215
+ this.errorSubject = new BehaviorSubject(null);
216
+ this.navigationHistorySubject = new BehaviorSubject([]);
217
+ this.canGoBackSubject = new BehaviorSubject(false);
218
+ this.currentUrlSubject = new BehaviorSubject(null);
219
+ this.uiScreen$ = this.uiScreenSubject.asObservable();
220
+ this.isLoading$ = this.isLoadingSubject.asObservable();
221
+ this.error$ = this.errorSubject.asObservable();
222
+ this.navigationHistory$ = this.navigationHistorySubject.asObservable();
223
+ this.canGoBack$ = this.canGoBackSubject.asObservable();
224
+ this.currentUrl$ = this.currentUrlSubject.asObservable();
225
+ console.debug('[UIScreenViewModel] Inicializado');
226
+ }
227
+ /**
228
+ * Atualiza o estado do botão de voltar com base no tamanho do histórico
229
+ */
230
+ updateCanGoBack() {
231
+ const history = this.navigationHistorySubject.getValue();
232
+ const canGoBack = history.length > 1;
233
+ console.debug(`[UIScreenViewModel] Histórico: ${history.length} item(s), pode voltar: ${canGoBack}`);
234
+ this.canGoBackSubject.next(canGoBack);
235
+ }
236
+ loadUIScreen(url, shouldUpdateHistory = true, shouldUpdateBrowserUrl = false) {
237
+ console.debug(`[UIScreenViewModel] Carregando tela: ${url}`);
238
+ if (shouldUpdateHistory) {
239
+ const history = this.navigationHistorySubject.getValue();
240
+ this.navigationHistorySubject.next([...history, url]);
241
+ this.updateCanGoBack();
242
+ }
243
+ if (shouldUpdateBrowserUrl) {
244
+ this.location.go(url);
245
+ }
246
+ this.loadUIScreenInternal(url);
247
+ }
248
+ loadUIScreenInternal(url) {
249
+ this.isLoadingSubject.next(true);
250
+ this.errorSubject.next(null);
251
+ this.uiScreenService
252
+ .getUIScreen(url)
253
+ .pipe(tap(() => console.debug('[UIScreenViewModel] URL carregada:', url)), finalize(() => this.isLoadingSubject.next(false)), catchError((error) => {
254
+ this.errorSubject.next(`Erro ao carregar tela: ${error.message}`);
255
+ return of(null);
256
+ }))
257
+ .subscribe((screen) => {
258
+ if (screen) {
259
+ console.debug('[UIScreenViewModel] nova screen:', screen.identifier);
260
+ this.currentUrlSubject.next(url);
261
+ this.uiScreenSubject.next(screen);
262
+ }
263
+ else {
264
+ console.debug('[UIScreenViewModel] nova screen nula!');
265
+ }
266
+ });
267
+ }
268
+ /**
269
+ * Volta para a tela anterior
270
+ */
271
+ goBack() {
272
+ const history = this.navigationHistorySubject.getValue();
273
+ if (history.length > 1) {
274
+ // Remove o último item da pilha
275
+ const newHistory = history.slice(0, -1);
276
+ const previousUrl = newHistory[newHistory.length - 1];
277
+ console.debug(`[UIScreenViewModel] Voltando para: ${previousUrl}`);
278
+ this.navigationHistorySubject.next(newHistory);
279
+ this.location.back();
280
+ this.updateCanGoBack();
281
+ this.loadUIScreenInternal(previousUrl);
282
+ }
283
+ }
284
+ /**
285
+ * Verifica se é possível voltar
286
+ */
287
+ canGoBack() {
288
+ return this.navigationHistorySubject.getValue().length > 1;
289
+ }
290
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: UIScreenViewModel, deps: [{ token: UIScreenService }, { token: i1$1.Location }], target: i0.ɵɵFactoryTarget.Injectable }); }
291
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: UIScreenViewModel, providedIn: 'root' }); }
292
+ }
293
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: UIScreenViewModel, decorators: [{
294
+ type: Injectable,
295
+ args: [{
296
+ providedIn: 'root',
297
+ }]
298
+ }], ctorParameters: () => [{ type: UIScreenService }, { type: i1$1.Location }] });
299
+
300
+ const componentMapping = {
301
+ // com filhos
302
+ [UIComponentType.ROW]: () => Promise.resolve().then(function () { return row_component; }).then((m) => m.RowComponent),
303
+ [UIComponentType.ROW_DIVISOR]: () => Promise.resolve().then(function () { return rowDivisor_component; }).then((m) => m.RowDivisorComponent),
304
+ [UIComponentType.COLUMN]: () => Promise.resolve().then(function () { return column_component; }).then((m) => m.ColumnComponent),
305
+ [UIComponentType.Z_STACK]: () => Promise.resolve().then(function () { return zstack_component; }).then((m) => m.ZStackComponent),
306
+ // elementos
307
+ [UIComponentType.BUTTON]: () => Promise.resolve().then(function () { return button_component; }).then((m) => m.ButtonComponent),
308
+ [UIComponentType.IMAGE]: () => Promise.resolve().then(function () { return image_component; }).then((m) => m.ImageComponent),
309
+ [UIComponentType.SPACE]: () => Promise.resolve().then(function () { return space_component; }).then((m) => m.SpaceComponent),
310
+ [UIComponentType.LABEL]: () => Promise.resolve().then(function () { return label_component; }).then((m) => m.LabelComponent),
311
+ // players
312
+ [UIComponentType.VIDEO_PLAYER_HLS]: () => Promise.resolve().then(function () { return zstack_component; }).then((m) => m.ZStackComponent),
313
+ [UIComponentType.VIDEO_PLAYER_WEB]: () => Promise.resolve().then(function () { return zstack_component; }).then((m) => m.ZStackComponent),
314
+ // componentes visuais media
315
+ [UIComponentType.MEDIA_TYPE]: () => Promise.resolve().then(function () { return zstack_component; }).then((m) => m.ZStackComponent),
316
+ [UIComponentType.MEDIA_CONTENT]: () => Promise.resolve().then(function () { return zstack_component; }).then((m) => m.ZStackComponent),
317
+ // search
318
+ [UIComponentType.SEARCH_BAR]: () => Promise.resolve().then(function () { return searchBar_component; }).then((m) => m.SearchBarComponent),
319
+ [UIComponentType.SEARCH_BAR_DISMISS]: () => Promise.resolve().then(function () { return zstack_component; }).then((m) => m.ZStackComponent),
320
+ // picker
321
+ [UIComponentType.PICKER]: () => Promise.resolve().then(function () { return zstack_component; }).then((m) => m.ZStackComponent),
322
+ [UIComponentType.PICKER_ITEM]: () => Promise.resolve().then(function () { return zstack_component; }).then((m) => m.ZStackComponent),
323
+ // tag
324
+ [UIComponentType.TAG]: () => Promise.resolve().then(function () { return tag_component; }).then((m) => m.TagComponent),
325
+ };
326
+
327
+ class UIComponentComponent {
328
+ constructor(injector, cdr) {
329
+ this.injector = injector;
330
+ this.cdr = cdr;
331
+ }
332
+ ngOnInit() {
333
+ this.initializeComponent();
334
+ }
335
+ ngOnChanges(changes) {
336
+ if (changes['uiComponent'] && changes['uiComponent'].currentValue) {
337
+ this.initializeComponent();
338
+ }
339
+ }
340
+ initializeComponent() {
341
+ const current = this.uiComponent;
342
+ if (!current)
343
+ return;
344
+ const mappingFn = componentMapping[current.type];
345
+ mappingFn().then((component) => {
346
+ this.componentToRender = component;
347
+ this.cdr.markForCheck();
348
+ });
349
+ this.componentInjector = Injector.create({
350
+ providers: [{ provide: 'uiComponent', useValue: current }],
351
+ parent: this.injector,
352
+ });
353
+ }
354
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: UIComponentComponent, deps: [{ token: i0.Injector }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
355
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.6", type: UIComponentComponent, isStandalone: false, 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"], exportAs: ["ngComponentOutlet"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
356
+ }
357
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: UIComponentComponent, decorators: [{
358
+ type: Component,
359
+ 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"] }]
360
+ }], ctorParameters: () => [{ type: i0.Injector }, { type: i0.ChangeDetectorRef }], propDecorators: { uiComponent: [{
361
+ type: Input
362
+ }] } });
363
+
364
+ class UINavigationComponent {
365
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: UINavigationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
366
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.6", type: UINavigationComponent, isStandalone: false, 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"] }] }); }
367
+ }
368
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: UINavigationComponent, decorators: [{
369
+ type: Component,
370
+ 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"] }]
371
+ }], propDecorators: { uiNavigation: [{
372
+ type: Input
373
+ }] } });
374
+
375
+ class SingleColumnLayoutComponent {
376
+ ngOnChanges(changes) {
377
+ if (changes['uiLayout']) {
378
+ console.debug('[SingleColumnLayout] Novo layout recebido:', changes['uiLayout'].currentValue);
379
+ }
380
+ }
381
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: SingleColumnLayoutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
382
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.6", type: SingleColumnLayoutComponent, isStandalone: false, 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"] }] }); }
383
+ }
384
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: SingleColumnLayoutComponent, decorators: [{
385
+ type: Component,
386
+ 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"] }]
387
+ }], propDecorators: { uiLayout: [{
388
+ type: Input
389
+ }] } });
390
+
391
+ class CenteredContentLayoutComponent {
392
+ ngOnChanges(changes) {
393
+ if (changes['uiLayout']) {
394
+ console.debug('[CenteredContentLayoutComponent] Novo layout recebido:', changes['uiLayout'].currentValue);
395
+ }
396
+ }
397
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: CenteredContentLayoutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
398
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.6", type: CenteredContentLayoutComponent, isStandalone: false, 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"] }] }); }
399
+ }
400
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: CenteredContentLayoutComponent, decorators: [{
401
+ type: Component,
402
+ args: [{ selector: 'edm-sdui-centered-content-layout', standalone: false, 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"] }]
403
+ }], propDecorators: { uiLayout: [{
404
+ type: Input
405
+ }] } });
406
+
407
+ var UISpacingLevel;
408
+ (function (UISpacingLevel) {
409
+ UISpacingLevel["S1"] = "s1";
410
+ UISpacingLevel["S2"] = "s2";
411
+ UISpacingLevel["S3"] = "s3";
412
+ UISpacingLevel["S4"] = "s4";
413
+ })(UISpacingLevel || (UISpacingLevel = {}));
414
+
415
+ const spaceMapping = {
416
+ [UISpacingLevel.S1]: '4px',
417
+ [UISpacingLevel.S2]: '8px',
418
+ [UISpacingLevel.S3]: '16px',
419
+ [UISpacingLevel.S4]: '24px',
420
+ };
421
+
422
+ var UIColor;
423
+ (function (UIColor) {
424
+ UIColor["ALERT"] = "alert";
425
+ UIColor["BG_TAG"] = "bg_tag";
426
+ UIColor["ACTINDCOLOR"] = "actindcolor";
427
+ UIColor["TEXT_WEB"] = "text_web";
428
+ UIColor["TEXT_RANKING_HIGHLIGHT"] = "text_ranking_highlight";
429
+ UIColor["RANKING_HIGHLIGHT"] = "ranking_highlight";
430
+ UIColor["TEXT_RANKING_MAIN"] = "text_ranking_main";
431
+ UIColor["TEXT_RANKING_AUX"] = "text_ranking_aux";
432
+ UIColor["BT_SELECT_ACTIVITY"] = "bt_select_activity";
433
+ UIColor["FONT_BT"] = "font_bt";
434
+ UIColor["FONT_BT_PRICE"] = "font_bt_price";
435
+ UIColor["FONT_TAG"] = "font_tag";
436
+ UIColor["FONT_LIVE"] = "font_live";
437
+ UIColor["QUIZ_SELECT"] = "quiz_select";
438
+ UIColor["MAIN1"] = "main1";
439
+ UIColor["AUX"] = "aux";
440
+ UIColor["VOTE_OFF"] = "vote_off";
441
+ UIColor["BG_VOTE"] = "bg_vote";
442
+ UIColor["VOTE_ON"] = "vote_on";
443
+ UIColor["STORY_OFF"] = "story_off";
444
+ UIColor["STORY_ON"] = "story_on";
445
+ UIColor["FONT_ACTIONS"] = "font_actions";
446
+ UIColor["FONT_SEARCH_OFF"] = "font_search_off";
447
+ UIColor["FONT_SEARCH_ON"] = "font_search_on";
448
+ UIColor["SLIDER_OFF"] = "slider_off";
449
+ UIColor["SLIDER_ON"] = "slider_on";
450
+ UIColor["PROGRESS_VIEW_OFF"] = "progress_view_off";
451
+ UIColor["PROGRESS_VIEW_RANKING_OFF"] = "progress_view_ranking_off";
452
+ UIColor["PROGRESS_STORY_OFF"] = "progress_story_off";
453
+ UIColor["PROGRESS_STORY_ON"] = "progress_story_on";
454
+ UIColor["PROGRESS_VIEW_ON"] = "progress_view_on";
455
+ UIColor["FONT_DISABLED"] = "font_disabled";
456
+ UIColor["BT_TAB_OFF"] = "bt_tab_off";
457
+ UIColor["BG"] = "bg";
458
+ UIColor["FONT_BT_PROGRAM"] = "font_bt_program";
459
+ UIColor["BG_RANKING"] = "bg_ranking";
460
+ UIColor["BG_STORY"] = "bg_story";
461
+ UIColor["BG_NEW_COMMENT"] = "bg_new_comment";
462
+ UIColor["SHADOW"] = "shadow";
463
+ UIColor["BG_SURVEY"] = "bg_survey";
464
+ UIColor["BG_LIVE"] = "bg_live";
465
+ UIColor["BG_VIEW_LIVE"] = "bg_view_live";
466
+ UIColor["MAIN2"] = "main2";
467
+ UIColor["BT_TAG_ON"] = "bt_tag_on";
468
+ UIColor["TEXT_COLOR"] = "text_color";
469
+ UIColor["TEXT_STORY"] = "text_story";
470
+ UIColor["BT_REGISTER"] = "bt_register";
471
+ UIColor["BT_SHADOW_PROFILE"] = "bt_shadow_profile";
472
+ UIColor["FONT_REGISTER"] = "font_register";
473
+ UIColor["FONT_BT_MAIN"] = "font_bt_main";
474
+ UIColor["FONT_BT_QUIZ"] = "font_bt_quiz";
475
+ UIColor["FONT_BT_VIEW"] = "font_bt_view";
476
+ UIColor["FONT_BT_TAG_OFF"] = "font_bt_tag_off";
477
+ UIColor["FONT_BT_TAG_ON"] = "font_bt_tag_on";
478
+ UIColor["ATTENTION_COLOR"] = "attention_color";
479
+ UIColor["QUIZ_ERROR"] = "quiz_error";
480
+ UIColor["BG_NAV"] = "bg_nav";
481
+ UIColor["BT_OPEN_E_CLOSE"] = "bt_open_e_close";
482
+ UIColor["IC_TYPE_CLASS"] = "ic_type_class";
483
+ UIColor["IC_TYPE_LIVE"] = "ic_type_live";
484
+ UIColor["IC_TYPE_DISABLED"] = "ic_type_disabled";
485
+ UIColor["BT_DOWNLOAD"] = "bt_download";
486
+ UIColor["BT_DISABLED"] = "bt_disabled";
487
+ UIColor["BT_DISABLED_HOME"] = "bt_disabled_home";
488
+ UIColor["BT_CHECK_OFF"] = "bt_check_off";
489
+ UIColor["ACTIONS_OFF"] = "actions_off";
490
+ UIColor["BT_PROGRAM"] = "bt_program";
491
+ UIColor["PLAYER_CONTROLS"] = "player_controls";
492
+ UIColor["RATING_OFF"] = "rating_off";
493
+ UIColor["RATING_ON"] = "rating_on";
494
+ UIColor["ACTIONS_ON"] = "actions_on";
495
+ UIColor["TAG_VIP_HIGHLIGHT"] = "tag_vip_highlight";
496
+ UIColor["BT_CHECK_ON"] = "bt_check_on";
497
+ UIColor["BT_TAB_ON"] = "bt_tab_on";
498
+ UIColor["BT_VIEW_DEG1"] = "bt_view_deg1";
499
+ UIColor["LINE_DIVISER"] = "line_diviser";
500
+ UIColor["BG_SEC"] = "bg_sec";
501
+ UIColor["BG_SEARCH"] = "bg_search";
502
+ UIColor["FONT_PRICE"] = "font_price";
503
+ UIColor["BT_LIKE_ON"] = "bt_like_on";
504
+ UIColor["BG_CARD"] = "bg_card";
505
+ UIColor["BT_TAG_OFF"] = "bt_tag_off";
506
+ UIColor["BT_TAG_VIP"] = "bt_tag_vip";
507
+ UIColor["BT_PROFILE"] = "bt_profile";
508
+ UIColor["BT_PRICE_DEG1"] = "bt_price_deg1";
509
+ UIColor["BT_PRICE_DEG2"] = "bt_price_deg2";
510
+ UIColor["BT_LIKE_OFF"] = "bt_like_off";
511
+ UIColor["BT_LOCK"] = "bt_lock";
512
+ UIColor["BT_TRASH"] = "bt_trash";
513
+ UIColor["BG_COMMENT"] = "bg_comment";
514
+ UIColor["BG_POST"] = "bg_post";
515
+ UIColor["BT_HIGHLIGHT"] = "bt_highlight";
516
+ UIColor["ATTENTION_BADGE"] = "attention_badge";
517
+ UIColor["BT_BORDER_PROFILE"] = "bt_border_profile";
518
+ UIColor["BT_MAIN_DEG1"] = "bt_main_deg1";
519
+ UIColor["BT_MAIN_DEG2"] = "bt_main_deg2";
520
+ UIColor["BT_VIEW_DEG2"] = "bt_view_deg2";
521
+ UIColor["BG_MODULO"] = "bg_modulo";
522
+ UIColor["BG_MODULO_RANKING"] = "bg_modulo_ranking";
523
+ UIColor["QUIZ_RIGHT"] = "quiz_right";
524
+ UIColor["BT_BANNER_MAIN"] = "bt_banner_main";
525
+ UIColor["FONT_BT_BANNER"] = "font_bt_banner";
526
+ UIColor["BT_BANNER"] = "bt_banner";
527
+ UIColor["FONT_BT_BANNER_MAIN"] = "font_bt_banner_main";
528
+ UIColor["BORDER_BANNER"] = "border_banner";
529
+ UIColor["INPUT_ERROR"] = "input_error";
530
+ UIColor["BT_BACK"] = "bt_back";
531
+ UIColor["TEXT_COMMENT_SEC"] = "text_comment_sec";
532
+ UIColor["BT_IA_DEG1"] = "bt_ia_deg1";
533
+ UIColor["BT_IA_DEG2"] = "bt_ia_deg2";
534
+ UIColor["NORMAL"] = "normal";
535
+ UIColor["BG_CLIPS"] = "bg_clips";
536
+ UIColor["FONT_CLIPS"] = "font_clips";
537
+ UIColor["BG_MASK_0"] = "bg_mask_0";
538
+ UIColor["BG_MASK_80"] = "bg_mask_80";
539
+ UIColor["BG_MASK_20"] = "bg_mask_20";
540
+ UIColor["TEXT_CHALLENGE_AUX"] = "text_challenge_aux";
541
+ UIColor["TEXT_CHALLENGE_HIGHLIGHT"] = "text_challenge_highlight";
542
+ UIColor["BG_CHALLENGE"] = "bg_challenge";
543
+ UIColor["BG_MODULO_CHALLENGE"] = "bg_modulo_challenge";
544
+ UIColor["CHALLENGE_HIGHLIGHT"] = "challenge_highlight";
545
+ UIColor["BT_CHALLENGE"] = "bt_challenge";
546
+ UIColor["FONT_BT_CHALLENGE"] = "font_bt_challenge";
547
+ UIColor["CHALLENGE_OFF"] = "challenge_off";
548
+ UIColor["TEXT_CHALLENGE_DISABLED"] = "text_challenge_disabled";
549
+ UIColor["TEXT_CHALLENGE_MAIN"] = "text_challenge_main";
550
+ UIColor["CHALLENGE_WAY"] = "challenge_way";
551
+ })(UIColor || (UIColor = {}));
552
+
553
+ const colorMapping = {
554
+ [UIColor.ALERT]: 'var(--alert)',
555
+ [UIColor.BG_TAG]: 'var(--bg-tag)',
556
+ [UIColor.ACTINDCOLOR]: 'var(--actindcolor)',
557
+ [UIColor.TEXT_WEB]: 'var(--text-web)',
558
+ [UIColor.TEXT_RANKING_HIGHLIGHT]: 'var(--text-ranking-highlight)',
559
+ [UIColor.RANKING_HIGHLIGHT]: 'var(--ranking-highlight)',
560
+ [UIColor.TEXT_RANKING_MAIN]: 'var(--text-ranking-main)',
561
+ [UIColor.TEXT_RANKING_AUX]: 'var(--text-ranking-aux)',
562
+ [UIColor.BT_SELECT_ACTIVITY]: 'var(--bt-select-activity)',
563
+ [UIColor.FONT_BT]: 'var(--font-bt)',
564
+ [UIColor.FONT_BT_PRICE]: 'var(--font-bt-price)',
565
+ [UIColor.FONT_TAG]: 'var(--font-tag)',
566
+ [UIColor.FONT_LIVE]: 'var(--font-live)',
567
+ [UIColor.QUIZ_SELECT]: 'var(--quiz-select)',
568
+ [UIColor.MAIN1]: 'var(--main-1)',
569
+ [UIColor.AUX]: 'var(--aux)',
570
+ [UIColor.VOTE_OFF]: 'var(--vote-off)',
571
+ [UIColor.BG_VOTE]: 'var(--bg-vote)',
572
+ [UIColor.VOTE_ON]: 'var(--vote-on)',
573
+ [UIColor.STORY_OFF]: 'var(--story-off)',
574
+ [UIColor.STORY_ON]: 'var(--story-on)',
575
+ [UIColor.FONT_ACTIONS]: 'var(--font-actions)',
576
+ [UIColor.FONT_SEARCH_OFF]: 'var(--font-search-off)',
577
+ [UIColor.FONT_SEARCH_ON]: 'var(--font-search-on)',
578
+ [UIColor.SLIDER_OFF]: 'var(--slider-off)',
579
+ [UIColor.SLIDER_ON]: 'var(--slider-on)',
580
+ [UIColor.PROGRESS_VIEW_OFF]: 'var(--progress-view-off)',
581
+ [UIColor.PROGRESS_VIEW_RANKING_OFF]: 'var(--progress-view-ranking-off)',
582
+ [UIColor.PROGRESS_STORY_OFF]: 'var(--progress-story-off)',
583
+ [UIColor.PROGRESS_STORY_ON]: 'var(--progress-story-on)',
584
+ [UIColor.PROGRESS_VIEW_ON]: 'var(--progress-view-on)',
585
+ [UIColor.FONT_DISABLED]: 'var(--font-disabled)',
586
+ [UIColor.BT_TAB_OFF]: 'var(--bt-tab-off)',
587
+ [UIColor.BG]: 'var(--bg)',
588
+ [UIColor.FONT_BT_PROGRAM]: 'var(--font-bt-program)',
589
+ [UIColor.BG_RANKING]: 'var(--bg-ranking)',
590
+ [UIColor.BG_STORY]: 'var(--bg-story)',
591
+ [UIColor.BG_NEW_COMMENT]: 'var(--bg-new-comment)',
592
+ [UIColor.SHADOW]: 'var(--shadow)',
593
+ [UIColor.BG_SURVEY]: 'var(--bg-survey)',
594
+ [UIColor.BG_LIVE]: 'var(--bg-live)',
595
+ [UIColor.BG_VIEW_LIVE]: 'var(--bg-view-live)',
596
+ [UIColor.MAIN2]: 'var(--main-2)',
597
+ [UIColor.BT_TAG_ON]: 'var(--bt-tag-on)',
598
+ [UIColor.TEXT_COLOR]: 'var(--text-color)',
599
+ [UIColor.TEXT_STORY]: 'var(--text-story)',
600
+ [UIColor.BT_REGISTER]: 'var(--bt-register)',
601
+ [UIColor.BT_SHADOW_PROFILE]: 'var(--bt-shadow-profile)',
602
+ [UIColor.FONT_REGISTER]: 'var(--font-register)',
603
+ [UIColor.FONT_BT_MAIN]: 'var(--font-bt-main)',
604
+ [UIColor.FONT_BT_QUIZ]: 'var(--font-bt-quiz)',
605
+ [UIColor.FONT_BT_VIEW]: 'var(--font-bt-view)',
606
+ [UIColor.FONT_BT_TAG_OFF]: 'var(--font-bt-tag-off)',
607
+ [UIColor.FONT_BT_TAG_ON]: 'var(--font-bt-tag-on)',
608
+ [UIColor.ATTENTION_COLOR]: 'var(--attention-color)',
609
+ [UIColor.QUIZ_ERROR]: 'var(--quiz-error)',
610
+ [UIColor.BG_NAV]: 'var(--bg-nav)',
611
+ [UIColor.BT_OPEN_E_CLOSE]: 'var(--bt-open-e-close)',
612
+ [UIColor.IC_TYPE_CLASS]: 'var(--ic-type-class)',
613
+ [UIColor.IC_TYPE_LIVE]: 'var(--ic-type-live)',
614
+ [UIColor.IC_TYPE_DISABLED]: 'var(--ic-type-disabled)',
615
+ [UIColor.BT_DOWNLOAD]: 'var(--bt-download)',
616
+ [UIColor.BT_DISABLED]: 'var(--bt-disabled)',
617
+ [UIColor.BT_DISABLED_HOME]: 'var(--bt-disabled-home)',
618
+ [UIColor.BT_CHECK_OFF]: 'var(--bt-check-off)',
619
+ [UIColor.ACTIONS_OFF]: 'var(--actions-off)',
620
+ [UIColor.BT_PROGRAM]: 'var(--bt-program)',
621
+ [UIColor.PLAYER_CONTROLS]: 'var(--player-controls)',
622
+ [UIColor.RATING_OFF]: 'var(--rating-off)',
623
+ [UIColor.RATING_ON]: 'var(--rating-on)',
624
+ [UIColor.ACTIONS_ON]: 'var(--actions-on)',
625
+ [UIColor.TAG_VIP_HIGHLIGHT]: 'var(--tag-vip-highlight)',
626
+ [UIColor.BT_CHECK_ON]: 'var(--bt-check-on)',
627
+ [UIColor.BT_TAB_ON]: 'var(--bt-tab-on)',
628
+ [UIColor.BT_VIEW_DEG1]: 'var(--bt-view-deg1)',
629
+ [UIColor.LINE_DIVISER]: 'var(--line-diviser)',
630
+ [UIColor.BG_SEC]: 'var(--bg-sec)',
631
+ [UIColor.BG_SEARCH]: 'var(--bg-search)',
632
+ [UIColor.FONT_PRICE]: 'var(--font-price)',
633
+ [UIColor.BT_LIKE_ON]: 'var(--bt-like-on)',
634
+ [UIColor.BG_CARD]: 'var(--bg-card)',
635
+ [UIColor.BT_TAG_OFF]: 'var(--bt-tag-off)',
636
+ [UIColor.BT_TAG_VIP]: 'var(--bt-tag-vip)',
637
+ [UIColor.BT_PROFILE]: 'var(--bt-profile)',
638
+ [UIColor.BT_PRICE_DEG1]: 'var(--bt-price-deg1)',
639
+ [UIColor.BT_PRICE_DEG2]: 'var(--bt-price-deg2)',
640
+ [UIColor.BT_LIKE_OFF]: 'var(--bt-like-off)',
641
+ [UIColor.BT_LOCK]: 'var(--bt-lock)',
642
+ [UIColor.BT_TRASH]: 'var(--bt-trash)',
643
+ [UIColor.BG_COMMENT]: 'var(--bg-comment)',
644
+ [UIColor.BG_POST]: 'var(--bg-post)',
645
+ [UIColor.BT_HIGHLIGHT]: 'var(--bt-highlight)',
646
+ [UIColor.ATTENTION_BADGE]: 'var(--attention-badge)',
647
+ [UIColor.BT_BORDER_PROFILE]: 'var(--bt-border-profile)',
648
+ [UIColor.BT_MAIN_DEG1]: 'var(--bt-main-deg1)',
649
+ [UIColor.BT_MAIN_DEG2]: 'var(--bt-main-deg2)',
650
+ [UIColor.BT_VIEW_DEG2]: 'var(--bt-view-deg2)',
651
+ [UIColor.BG_MODULO]: 'var(--bg-modulo)',
652
+ [UIColor.BG_MODULO_RANKING]: 'var(--bg-modulo-ranking)',
653
+ [UIColor.QUIZ_RIGHT]: 'var(--quiz-right)',
654
+ [UIColor.BT_BANNER_MAIN]: 'var(--bt-banner-main)',
655
+ [UIColor.FONT_BT_BANNER]: 'var(--font-bt-banner)',
656
+ [UIColor.BT_BANNER]: 'var(--bt-banner)',
657
+ [UIColor.FONT_BT_BANNER_MAIN]: 'var(--font-bt-banner-main)',
658
+ [UIColor.BORDER_BANNER]: 'var(--border-banner)',
659
+ [UIColor.INPUT_ERROR]: 'var(--input-error)',
660
+ [UIColor.BT_BACK]: 'var(--bt-back)',
661
+ [UIColor.TEXT_COMMENT_SEC]: 'var(--text-comment-sec)',
662
+ [UIColor.BT_IA_DEG1]: 'var(--bt-ia-deg1)',
663
+ [UIColor.BT_IA_DEG2]: 'var(--bt-ia-deg2)',
664
+ [UIColor.NORMAL]: 'var(--normal)',
665
+ [UIColor.BG_CLIPS]: 'var(--bg-clips)',
666
+ [UIColor.FONT_CLIPS]: 'var(--font-clips)',
667
+ [UIColor.BG_MASK_0]: 'var(--bg-mask-0)',
668
+ [UIColor.BG_MASK_80]: 'var(--bg-mask-80)',
669
+ [UIColor.BG_MASK_20]: 'var(--bg-mask-20)',
670
+ [UIColor.TEXT_CHALLENGE_AUX]: 'var(--text-challenge-aux)',
671
+ [UIColor.TEXT_CHALLENGE_HIGHLIGHT]: 'var(--text-challenge-highlight)',
672
+ [UIColor.BG_CHALLENGE]: 'var(--bg-challenge)',
673
+ [UIColor.BG_MODULO_CHALLENGE]: 'var(--bg-modulo-challenge)',
674
+ [UIColor.CHALLENGE_HIGHLIGHT]: 'var(--challenge-highlight)',
675
+ [UIColor.BT_CHALLENGE]: 'var(--bt-challenge)',
676
+ [UIColor.FONT_BT_CHALLENGE]: 'var(--font-bt-challenge)',
677
+ [UIColor.CHALLENGE_OFF]: 'var(--challenge-off)',
678
+ [UIColor.TEXT_CHALLENGE_DISABLED]: 'var(--text-challenge-disabled)',
679
+ [UIColor.TEXT_CHALLENGE_MAIN]: 'var(--text-challenge-main)',
680
+ [UIColor.CHALLENGE_WAY]: 'var(--challenge-way)',
681
+ };
682
+
683
+ var UIPaddingLevel;
684
+ (function (UIPaddingLevel) {
685
+ UIPaddingLevel["P1"] = "p1";
686
+ UIPaddingLevel["P2"] = "p2";
687
+ UIPaddingLevel["P3"] = "p3";
688
+ UIPaddingLevel["P4"] = "p4";
689
+ UIPaddingLevel["P5"] = "p5";
690
+ UIPaddingLevel["P6"] = "p6";
691
+ UIPaddingLevel["P7"] = "p7";
692
+ UIPaddingLevel["P8"] = "p8";
693
+ })(UIPaddingLevel || (UIPaddingLevel = {}));
694
+
695
+ const padMapping = {
696
+ [UIPaddingLevel.P1]: '4px',
697
+ [UIPaddingLevel.P2]: '8px',
698
+ [UIPaddingLevel.P3]: '16px',
699
+ [UIPaddingLevel.P4]: '24px',
700
+ [UIPaddingLevel.P5]: '32px',
701
+ [UIPaddingLevel.P6]: '40px',
702
+ [UIPaddingLevel.P7]: '48px',
703
+ [UIPaddingLevel.P8]: '56px',
704
+ };
705
+
706
+ var UIRadiusLevel;
707
+ (function (UIRadiusLevel) {
708
+ UIRadiusLevel["R1"] = "r1";
709
+ UIRadiusLevel["R2"] = "r2";
710
+ UIRadiusLevel["R3"] = "r3";
711
+ UIRadiusLevel["R4"] = "r4";
712
+ UIRadiusLevel["R5"] = "r5";
713
+ UIRadiusLevel["R50"] = "r50";
714
+ })(UIRadiusLevel || (UIRadiusLevel = {}));
715
+
716
+ const radiusMapping = {
717
+ [UIRadiusLevel.R1]: '3px',
718
+ [UIRadiusLevel.R2]: '5px',
719
+ [UIRadiusLevel.R3]: '8px',
720
+ [UIRadiusLevel.R4]: '10px',
721
+ [UIRadiusLevel.R5]: '12px',
722
+ [UIRadiusLevel.R50]: '50%',
723
+ };
724
+
725
+ var UIAlignmentType;
726
+ (function (UIAlignmentType) {
727
+ UIAlignmentType["START"] = "start";
728
+ UIAlignmentType["CENTER"] = "center";
729
+ UIAlignmentType["END"] = "end";
730
+ })(UIAlignmentType || (UIAlignmentType = {}));
731
+
732
+ const alignmentMapping = {
733
+ [UIAlignmentType.CENTER]: 'center',
734
+ [UIAlignmentType.END]: 'end',
735
+ [UIAlignmentType.START]: 'start',
736
+ };
737
+
738
+ var UIActionType;
739
+ (function (UIActionType) {
740
+ // navegação
741
+ UIActionType["INTERNAL_URL"] = "INTERNAL_URL";
742
+ UIActionType["RELOAD_INTERNAL_URL"] = "RELOAD_INTERNAL_URL";
743
+ UIActionType["DISMISS_TO_SCENE"] = "DISMISS_TO_SCENE";
744
+ // paywall
745
+ UIActionType["PAYWALL"] = "PAYWALL";
746
+ UIActionType["REGISTER"] = "REGISTER";
747
+ // conteúdo
748
+ UIActionType["HTML"] = "HTML";
749
+ UIActionType["FILE"] = "FILE";
750
+ })(UIActionType || (UIActionType = {}));
751
+
752
+ class UIActionService {
753
+ constructor(router) {
754
+ this.router = router;
755
+ }
756
+ execute(action) {
757
+ if (!action || !action.type)
758
+ return;
759
+ switch (action.type) {
760
+ case UIActionType.INTERNAL_URL:
761
+ case UIActionType.RELOAD_INTERNAL_URL:
762
+ if (action.url) {
763
+ console.debug('[UIActionService] Navigating to:', action.url);
764
+ if (isSduiUrl(action.url)) {
765
+ const resolved = resolveSduiUrl(action.url);
766
+ this.router.navigate([], {
767
+ queryParams: { [SDUI_URL_PARAM]: resolved },
768
+ queryParamsHandling: 'merge',
769
+ });
770
+ }
771
+ else {
772
+ this.router.navigateByUrl(action.url, { replaceUrl: false });
773
+ }
774
+ }
775
+ break;
776
+ // Outros tipos de ação podem ser adicionados aqui
777
+ }
778
+ }
779
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: UIActionService, deps: [{ token: i1$2.Router }], target: i0.ɵɵFactoryTarget.Injectable }); }
780
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: UIActionService, providedIn: 'root' }); }
781
+ }
782
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: UIActionService, decorators: [{
783
+ type: Injectable,
784
+ args: [{ providedIn: 'root' }]
785
+ }], ctorParameters: () => [{ type: i1$2.Router }] });
786
+
787
+ class UIViewDirective {
788
+ constructor(elementRef, renderer, router, actionService, screenViewModel) {
789
+ this.elementRef = elementRef;
790
+ this.renderer = renderer;
791
+ this.router = router;
792
+ this.actionService = actionService;
793
+ this.screenViewModel = screenViewModel;
794
+ this.disableClick = false;
795
+ }
796
+ ngOnChanges(changes) {
797
+ if (this.edmSduiView) {
798
+ this.applyStyles(this.edmSduiView);
799
+ }
800
+ }
801
+ applyStyles(uiView) {
802
+ if (uiView.padding) {
803
+ this.applyPadding(uiView.padding);
804
+ }
805
+ if (uiView.background) {
806
+ this.applyBackground(uiView.background);
807
+ }
808
+ if (uiView.action) {
809
+ this.applyAction(uiView.action);
810
+ }
811
+ if (uiView.alignment) {
812
+ this.applyAlignment(uiView.alignment);
813
+ }
814
+ if (uiView.shadow) {
815
+ this.applyShadow(uiView.shadow);
816
+ }
817
+ if (uiView.radius) {
818
+ this.applyRadius(uiView.radius);
819
+ }
820
+ if (uiView.spacing) {
821
+ this.applySpacing(uiView.spacing);
822
+ }
823
+ }
824
+ applyPadding(uiPadding) {
825
+ if (uiPadding.top) {
826
+ const padValue = padMapping[uiPadding.top];
827
+ this.renderer.setStyle(this.elementRef.nativeElement, 'margin-top', padValue);
828
+ }
829
+ if (uiPadding.left) {
830
+ const padValue = padMapping[uiPadding.left];
831
+ this.renderer.setStyle(this.elementRef.nativeElement, 'margin-left', padValue);
832
+ }
833
+ if (uiPadding.right) {
834
+ const padValue = padMapping[uiPadding.right];
835
+ this.renderer.setStyle(this.elementRef.nativeElement, 'margin-right', padValue);
836
+ }
837
+ if (uiPadding.bottom) {
838
+ const padValue = padMapping[uiPadding.bottom];
839
+ this.renderer.setStyle(this.elementRef.nativeElement, 'margin-bottom', padValue);
840
+ }
841
+ }
842
+ applyBackground(uiBackground) {
843
+ if (uiBackground.backgroundColor) {
844
+ const backgroundColor = colorMapping[uiBackground.backgroundColor];
845
+ this.renderer.setStyle(this.elementRef.nativeElement, 'background-color', backgroundColor);
846
+ }
847
+ }
848
+ applyAction(uiAction) {
849
+ if (this.disableClick) {
850
+ return;
851
+ }
852
+ this.renderer.setStyle(this.elementRef.nativeElement, 'cursor', 'pointer');
853
+ }
854
+ applyAlignment(uiAlignment) {
855
+ if (uiAlignment.alignment) {
856
+ // console.debug('alignment:', uiAlignment.alignment);
857
+ const alignment = alignmentMapping[uiAlignment.alignment];
858
+ this.renderer.setStyle(this.elementRef.nativeElement, 'align-items', alignment);
859
+ }
860
+ }
861
+ applyShadow(uiShadow) { }
862
+ applyRadius(uiRadius) {
863
+ if (uiRadius.topLeft) {
864
+ const radius = radiusMapping[uiRadius.topLeft];
865
+ this.renderer.setStyle(this.elementRef.nativeElement, 'border-top-left-radius', radius);
866
+ }
867
+ if (uiRadius.topRight) {
868
+ const radius = radiusMapping[uiRadius.topRight];
869
+ this.renderer.setStyle(this.elementRef.nativeElement, 'border-top-right-radius', radius);
870
+ }
871
+ if (uiRadius.bottomLeft) {
872
+ const radius = radiusMapping[uiRadius.bottomLeft];
873
+ this.renderer.setStyle(this.elementRef.nativeElement, 'border-bottom-left-radius', radius);
874
+ }
875
+ if (uiRadius.bottomRight) {
876
+ const radius = radiusMapping[uiRadius.bottomRight];
877
+ this.renderer.setStyle(this.elementRef.nativeElement, 'border-bottom-right-radius', radius);
878
+ }
879
+ }
880
+ applySpacing(uiSpacing) {
881
+ if (uiSpacing.spacing) {
882
+ const spacingValue = spaceMapping[uiSpacing.spacing];
883
+ this.renderer.setStyle(this.elementRef.nativeElement, 'gap', spacingValue);
884
+ }
885
+ }
886
+ onClick(event) {
887
+ if (this.disableClick)
888
+ return;
889
+ if (this.edmSduiView?.action) {
890
+ event.stopPropagation();
891
+ this.actionService.execute(this.edmSduiView.action);
892
+ }
893
+ }
894
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: UIViewDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1$2.Router }, { token: UIActionService }, { token: UIScreenViewModel, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
895
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.6", type: UIViewDirective, isStandalone: false, selector: "[edmSduiView]", inputs: { edmSduiView: "edmSduiView", disableClick: "disableClick" }, host: { listeners: { "click": "onClick($event)" } }, usesOnChanges: true, ngImport: i0 }); }
896
+ }
897
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: UIViewDirective, decorators: [{
898
+ type: Directive,
899
+ args: [{
900
+ selector: '[edmSduiView]',
901
+ standalone: false,
902
+ }]
903
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1$2.Router }, { type: UIActionService }, { type: UIScreenViewModel, decorators: [{
904
+ type: Optional
905
+ }] }], propDecorators: { edmSduiView: [{
906
+ type: Input
907
+ }], disableClick: [{
908
+ type: Input
909
+ }], onClick: [{
910
+ type: HostListener,
911
+ args: ['click', ['$event']]
912
+ }] } });
913
+
914
+ class NavigationControlsComponent {
915
+ constructor(viewModel) {
916
+ this.viewModel = viewModel;
917
+ }
918
+ ngOnInit() {
919
+ // Monitorar o estado do botão de voltar para debugging
920
+ this.viewModel.canGoBack$.subscribe((canGoBack) => {
921
+ console.debug('[NavigationControls] Estado do botão de voltar:', canGoBack);
922
+ });
923
+ }
924
+ goBack() {
925
+ console.debug('[NavigationControls] Botão de voltar clicado');
926
+ this.viewModel.goBack();
927
+ }
928
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: NavigationControlsComponent, deps: [{ token: UIScreenViewModel }], target: i0.ɵɵFactoryTarget.Component }); }
929
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.6", type: NavigationControlsComponent, isStandalone: false, 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" }] }); }
930
+ }
931
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: NavigationControlsComponent, decorators: [{
932
+ type: Component,
933
+ 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"] }]
934
+ }], ctorParameters: () => [{ type: UIScreenViewModel }] });
935
+
936
+ class UIScreenComponent {
937
+ constructor(viewModel) {
938
+ this.viewModel = viewModel;
939
+ this.UIScreenIdentifier = UIScreenIdentifier;
940
+ }
941
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: UIScreenComponent, deps: [{ token: UIScreenViewModel }], target: i0.ɵɵFactoryTarget.Component }); }
942
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.6", type: UIScreenComponent, isStandalone: false, 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" }] }); }
943
+ }
944
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: UIScreenComponent, decorators: [{
945
+ type: Component,
946
+ 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"] }]
947
+ }], ctorParameters: () => [{ type: UIScreenViewModel }] });
948
+
949
+ class RowComponent {
950
+ constructor(uiComponent) {
951
+ this.uiComponent = uiComponent;
952
+ }
953
+ ngOnInit() {
954
+ // console.debug('row.uiComponent: ', this.uiComponent);
955
+ }
956
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: RowComponent, deps: [{ token: 'uiComponent' }], target: i0.ɵɵFactoryTarget.Component }); }
957
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.6", type: RowComponent, isStandalone: false, 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"] }] }); }
958
+ }
959
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: RowComponent, decorators: [{
960
+ type: Component,
961
+ 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"] }]
962
+ }], ctorParameters: () => [{ type: undefined, decorators: [{
963
+ type: Inject,
964
+ args: ['uiComponent']
965
+ }] }] });
966
+
967
+ var row_component = /*#__PURE__*/Object.freeze({
968
+ __proto__: null,
969
+ RowComponent: RowComponent
970
+ });
971
+
972
+ class ColumnComponent {
973
+ constructor(uiComponent) {
974
+ this.uiComponent = uiComponent;
975
+ }
976
+ ngOnInit() {
977
+ // console.debug('column.uiComponent: ', this.uiComponent);
978
+ }
979
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: ColumnComponent, deps: [{ token: 'uiComponent' }], target: i0.ɵɵFactoryTarget.Component }); }
980
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.6", type: ColumnComponent, isStandalone: false, 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"] }] }); }
981
+ }
982
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: ColumnComponent, decorators: [{
983
+ type: Component,
984
+ args: [{ selector: 'edm-sdui-column', standalone: false, template: "<div class=\"column\" *ngIf=\"uiComponent\" [edmSduiView]=\"uiComponent.element\">\n <edm-sdui-component\n *ngFor=\"let child of uiComponent.components\"\n [uiComponent]=\"child\"\n >\n </edm-sdui-component>\n</div>\n", styles: [":host{display:contents}.column{display:flex;flex-direction:column;width:100%}\n"] }]
985
+ }], ctorParameters: () => [{ type: undefined, decorators: [{
986
+ type: Inject,
987
+ args: ['uiComponent']
988
+ }] }] });
989
+
990
+ var column_component = /*#__PURE__*/Object.freeze({
991
+ __proto__: null,
992
+ ColumnComponent: ColumnComponent
993
+ });
994
+
995
+ var UITextStyle;
996
+ (function (UITextStyle) {
997
+ UITextStyle["LARGE_TITLE"] = "large_title";
998
+ UITextStyle["TITLE_1"] = "title_1";
999
+ UITextStyle["TITLE_2"] = "title_2";
1000
+ UITextStyle["TITLE_3"] = "title_3";
1001
+ UITextStyle["CALLOUT"] = "callout";
1002
+ UITextStyle["HEADLINE"] = "headline";
1003
+ UITextStyle["SUBHEADLINE"] = "subheadline";
1004
+ UITextStyle["BODY"] = "body";
1005
+ UITextStyle["CAPTION_1"] = "caption_1";
1006
+ UITextStyle["CAPTION_2"] = "caption_2";
1007
+ UITextStyle["FOOTNOTE"] = "footnote";
1008
+ })(UITextStyle || (UITextStyle = {}));
1009
+
1010
+ const textStyleMappingFontSize = {
1011
+ [UITextStyle.BODY]: '16px',
1012
+ [UITextStyle.LARGE_TITLE]: '35px',
1013
+ [UITextStyle.TITLE_1]: '21px',
1014
+ [UITextStyle.TITLE_2]: '16px',
1015
+ [UITextStyle.TITLE_3]: '16px',
1016
+ [UITextStyle.CALLOUT]: '19px',
1017
+ [UITextStyle.HEADLINE]: '18px',
1018
+ [UITextStyle.SUBHEADLINE]: '16px',
1019
+ [UITextStyle.CAPTION_1]: '14px',
1020
+ [UITextStyle.CAPTION_2]: '13px',
1021
+ [UITextStyle.FOOTNOTE]: '12px',
1022
+ };
1023
+
1024
+ class LabelComponent {
1025
+ constructor(uiComponent, renderer) {
1026
+ this.uiComponent = uiComponent;
1027
+ this.renderer = renderer;
1028
+ }
1029
+ ngOnInit() {
1030
+ // console.debug('label.uiComponent: ', this.uiComponent);
1031
+ }
1032
+ ngAfterViewInit() {
1033
+ if (this.uiComponent.element) {
1034
+ this.applyElement(this.uiComponent.element);
1035
+ }
1036
+ }
1037
+ applyElement(element) {
1038
+ if (element.textColor) {
1039
+ const color = colorMapping[element.textColor];
1040
+ this.renderer.setStyle(this.spanElementRef.nativeElement, 'color', color);
1041
+ }
1042
+ if (element.textStyle) {
1043
+ const fontSize = textStyleMappingFontSize[element.textStyle];
1044
+ this.renderer.setStyle(this.spanElementRef.nativeElement, 'font-size', fontSize);
1045
+ }
1046
+ const maxLines = element.maxLines ?? 1;
1047
+ // TODO: - definir o maxLines do Span
1048
+ if (element.opacity) {
1049
+ const opacity = element.opacity;
1050
+ this.renderer.setStyle(this.spanElementRef.nativeElement, 'opacity', opacity);
1051
+ }
1052
+ }
1053
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: LabelComponent, deps: [{ token: 'uiComponent' }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
1054
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.6", type: LabelComponent, isStandalone: false, 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"] }] }); }
1055
+ }
1056
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: LabelComponent, decorators: [{
1057
+ type: Component,
1058
+ args: [{ selector: 'edm-sdui-label', standalone: false, template: "<span #spanElement [edmSduiView]=\"uiComponent.element\" *ngIf=\"uiComponent\">{{\n uiComponent.element?.label ?? \"\"\n}}</span>\n", styles: [":host{display:contents}\n"] }]
1059
+ }], ctorParameters: () => [{ type: undefined, decorators: [{
1060
+ type: Inject,
1061
+ args: ['uiComponent']
1062
+ }] }, { type: i0.Renderer2 }], propDecorators: { spanElementRef: [{
1063
+ type: ViewChild,
1064
+ args: ['spanElement']
1065
+ }] } });
1066
+
1067
+ var label_component = /*#__PURE__*/Object.freeze({
1068
+ __proto__: null,
1069
+ LabelComponent: LabelComponent
1070
+ });
1071
+
1072
+ class SpaceComponent {
1073
+ constructor(uiComponent) {
1074
+ this.uiComponent = uiComponent;
1075
+ }
1076
+ ngOnInit() {
1077
+ // console.debug('space.uiComponent: ', this.uiComponent);
1078
+ }
1079
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: SpaceComponent, deps: [{ token: 'uiComponent' }], target: i0.ɵɵFactoryTarget.Component }); }
1080
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.6", type: SpaceComponent, isStandalone: false, selector: "edm-sdui-space", ngImport: i0, template: "<div class=\"space\"></div>\n", styles: [":host{display:contents}.space{flex-grow:1;flex-shrink:1;min-height:1px;min-width:1px}\n"] }); }
1081
+ }
1082
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: SpaceComponent, decorators: [{
1083
+ type: Component,
1084
+ args: [{ selector: 'edm-sdui-space', standalone: false, template: "<div class=\"space\"></div>\n", styles: [":host{display:contents}.space{flex-grow:1;flex-shrink:1;min-height:1px;min-width:1px}\n"] }]
1085
+ }], ctorParameters: () => [{ type: undefined, decorators: [{
1086
+ type: Inject,
1087
+ args: ['uiComponent']
1088
+ }] }] });
1089
+
1090
+ var space_component = /*#__PURE__*/Object.freeze({
1091
+ __proto__: null,
1092
+ SpaceComponent: SpaceComponent
1093
+ });
1094
+
1095
+ class ZStackComponent {
1096
+ constructor(uiComponent) {
1097
+ this.uiComponent = uiComponent;
1098
+ }
1099
+ ngOnInit() {
1100
+ // console.debug('zstack.uiComponent: ', this.uiComponent);
1101
+ }
1102
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: ZStackComponent, deps: [{ token: 'uiComponent' }], target: i0.ɵɵFactoryTarget.Component }); }
1103
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.6", type: ZStackComponent, isStandalone: false, 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"] }] }); }
1104
+ }
1105
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: ZStackComponent, decorators: [{
1106
+ type: Component,
1107
+ args: [{ selector: 'edm-sdui-zstack', standalone: false, 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"] }]
1108
+ }], ctorParameters: () => [{ type: undefined, decorators: [{
1109
+ type: Inject,
1110
+ args: ['uiComponent']
1111
+ }] }] });
1112
+
1113
+ var zstack_component = /*#__PURE__*/Object.freeze({
1114
+ __proto__: null,
1115
+ ZStackComponent: ZStackComponent
1116
+ });
1117
+
1118
+ class RowDivisorComponent {
1119
+ constructor(uiComponent) {
1120
+ this.uiComponent = uiComponent;
1121
+ }
1122
+ ngOnInit() {
1123
+ // console.debug('rowDivisor.uiComponent: ', this.uiComponent);
1124
+ }
1125
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: RowDivisorComponent, deps: [{ token: 'uiComponent' }], target: i0.ɵɵFactoryTarget.Component }); }
1126
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.6", type: RowDivisorComponent, isStandalone: false, selector: "edm-sdui-row-divisor", ngImport: i0, template: "<div\n class=\"row-divisor\"\n *ngIf=\"uiComponent\"\n [edmSduiView]=\"uiComponent.element\"\n></div>\n", styles: [":host{display:contents}.row-divisor{height:1px}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: UIViewDirective, selector: "[edmSduiView]", inputs: ["edmSduiView", "disableClick"] }] }); }
1127
+ }
1128
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: RowDivisorComponent, decorators: [{
1129
+ type: Component,
1130
+ args: [{ selector: 'edm-sdui-row-divisor', standalone: false, template: "<div\n class=\"row-divisor\"\n *ngIf=\"uiComponent\"\n [edmSduiView]=\"uiComponent.element\"\n></div>\n", styles: [":host{display:contents}.row-divisor{height:1px}\n"] }]
1131
+ }], ctorParameters: () => [{ type: undefined, decorators: [{
1132
+ type: Inject,
1133
+ args: ['uiComponent']
1134
+ }] }] });
1135
+
1136
+ var rowDivisor_component = /*#__PURE__*/Object.freeze({
1137
+ __proto__: null,
1138
+ RowDivisorComponent: RowDivisorComponent
1139
+ });
1140
+
1141
+ var UIAsset;
1142
+ (function (UIAsset) {
1143
+ UIAsset["BG_ASSINATURAS"] = "bg_assinaturas";
1144
+ UIAsset["BG_CHALLENGE_ACTIVITY_FINAL"] = "bg_challenge_activity_final";
1145
+ UIAsset["BG_LIGHT"] = "bg_light";
1146
+ UIAsset["BG_LOGIN"] = "bg_login";
1147
+ UIAsset["BG_POST"] = "bg_post";
1148
+ UIAsset["BG_QUIZ_FINAL"] = "bg_quiz_final";
1149
+ UIAsset["BG_RATING_PROGRAM"] = "bg_rating_program";
1150
+ UIAsset["BG_SPLASH"] = "bg_splash";
1151
+ UIAsset["BG_STORY"] = "bg_story";
1152
+ UIAsset["BG_SURVEY"] = "bg_survey";
1153
+ UIAsset["BT_ABOUT_ACTIONS_OFF"] = "bt_about_actions_off";
1154
+ UIAsset["BT_ANONYMOUS_COMMENT_OFF"] = "bt_anonymous_comment_off";
1155
+ UIAsset["BT_ANONYMOUS_COMMENT_ON"] = "bt_anonymous_comment_on";
1156
+ UIAsset["BT_BACK"] = "bt_back";
1157
+ UIAsset["BT_BACK_LIVE"] = "bt_back_live";
1158
+ UIAsset["BT_BACK_NEW"] = "bt_back_new";
1159
+ UIAsset["BT_BACK_PLAYER"] = "bt_back_player";
1160
+ UIAsset["BT_BACK_STORY"] = "bt_back_story";
1161
+ UIAsset["BT_CANCEL_LIST"] = "bt_cancel_list";
1162
+ UIAsset["BT_CAPTURE_PHOTO"] = "bt_capture_photo";
1163
+ UIAsset["BT_CAPTURE_VIDEO"] = "bt_capture_video";
1164
+ UIAsset["BT_CAPTURE_VIDEO_LINE"] = "bt_capture_video_line";
1165
+ UIAsset["BT_CERTIFICATION_ACTIONS_OFF"] = "bt_certification_actions_off";
1166
+ UIAsset["BT_CERTIFICATION_ACTIONS_ON"] = "bt_certification_actions_on";
1167
+ UIAsset["BT_CHECK_ACTION_OFF"] = "bt_check_action_off";
1168
+ UIAsset["BT_CHECK_ACTION_ON"] = "bt_check_action_on";
1169
+ UIAsset["BT_CHECK_FIX_OFF"] = "bt_check_fix_off";
1170
+ UIAsset["BT_CHECK_OFF"] = "bt_check_off";
1171
+ UIAsset["BT_CHECK_ON"] = "bt_check_on";
1172
+ UIAsset["BT_CHECK_TERMS_OFF"] = "bt_check_terms_off";
1173
+ UIAsset["BT_CHECK_TERMS_ON"] = "bt_check_terms_on";
1174
+ UIAsset["BT_CLIPS_TAB"] = "bt_clips_tab";
1175
+ UIAsset["BT_CLIPS_TAB_ON"] = "bt_clips_tab_on";
1176
+ UIAsset["BT_CLOSE"] = "bt_close";
1177
+ UIAsset["BT_CLOSE_COMMENT"] = "bt_close_comment";
1178
+ UIAsset["BT_CLOSE_FULL_IMAGE"] = "bt_close_full_image";
1179
+ UIAsset["BT_CLOSE_LIST"] = "bt_close_list";
1180
+ UIAsset["BT_CLOSE_LIVE"] = "bt_close_live";
1181
+ UIAsset["BT_CLOSE_RATING"] = "bt_close_rating";
1182
+ UIAsset["BT_CLOSE_SCREEN_PLAYER"] = "bt_close_screen_player";
1183
+ UIAsset["BT_CLOSE_STORY"] = "bt_close_story";
1184
+ UIAsset["BT_CLOSE_TAGS"] = "bt_close_tags";
1185
+ UIAsset["BT_COMMENT_OFF"] = "bt_comment_off";
1186
+ UIAsset["BT_COMMENT_ON"] = "bt_comment_on";
1187
+ UIAsset["BT_COMUNIDADE_TAB"] = "bt_comunidade_tab";
1188
+ UIAsset["BT_COMUNIDADE_TAB_ON"] = "bt_comunidade_tab_on";
1189
+ UIAsset["BT_CONFIG_NAVBAR"] = "bt_config_navbar";
1190
+ UIAsset["BT_CONFIG_PLAYER"] = "bt_config_player";
1191
+ UIAsset["BT_DELETE_STORY"] = "bt_delete_story";
1192
+ UIAsset["BT_DISABLED"] = "bt_disabled";
1193
+ UIAsset["BT_DOWNLOAD_ACTION_OFF"] = "bt_download_action_off";
1194
+ UIAsset["BT_DOWNLOAD_LIST"] = "bt_download_list";
1195
+ UIAsset["BT_DOWNLOAD_NAV"] = "bt_download_nav";
1196
+ UIAsset["BT_DOWNLOAD_TAB"] = "bt_download_tab";
1197
+ UIAsset["BT_DOWNLOAD_TAB_ON"] = "bt_download_tab_on";
1198
+ UIAsset["BT_EVALUATION_ACTION"] = "bt_evaluation_action";
1199
+ UIAsset["BT_EVALUATION_ACTION_OFF"] = "bt_evaluation_action_off";
1200
+ UIAsset["BT_EVALUATION_ACTION_ON"] = "bt_evaluation_action_on";
1201
+ UIAsset["BT_FAV_ACTIONS_OFF"] = "bt_fav_actions_off";
1202
+ UIAsset["BT_FAV_ACTIONS_ON"] = "bt_fav_actions_on";
1203
+ UIAsset["BT_FAV_OFF"] = "bt_fav_off";
1204
+ UIAsset["BT_FAV_ON"] = "bt_fav_on";
1205
+ UIAsset["BT_FILE"] = "bt_file";
1206
+ UIAsset["BT_FULL_SCREEN_PLAYER"] = "bt_full_screen_player";
1207
+ UIAsset["BT_GALLERY"] = "bt_gallery";
1208
+ UIAsset["BT_INFO"] = "bt_info";
1209
+ UIAsset["BT_LIKE_COMMENT"] = "bt_like_comment";
1210
+ UIAsset["BT_LIKE_COMMENT_ON"] = "bt_like_comment_on";
1211
+ UIAsset["BT_LIKE_LIVE"] = "bt_like_live";
1212
+ UIAsset["BT_LIKE_LIVE_ON"] = "bt_like_live_on";
1213
+ UIAsset["BT_LIKE_OFF"] = "bt_like_off";
1214
+ UIAsset["BT_LIKE_ON"] = "bt_like_on";
1215
+ UIAsset["BT_LINK_GENERIC"] = "bt_link_generic";
1216
+ UIAsset["BT_LOCK"] = "bt_lock";
1217
+ UIAsset["BT_LOGOUT"] = "bt_logout";
1218
+ UIAsset["BT_MATERIAL"] = "bt_material";
1219
+ UIAsset["BT_MATERIALS_ACTIONS_OFF"] = "bt_materials_actions_off";
1220
+ UIAsset["BT_MENU"] = "bt_menu";
1221
+ UIAsset["BT_MY_LIST_ACTION_OFF"] = "bt_my_list_action_off";
1222
+ UIAsset["BT_MY_LIST_ACTION_ON"] = "bt_my_list_action_on";
1223
+ UIAsset["BT_MY_LIST_NAV_OFF"] = "bt_my_list_nav_off";
1224
+ UIAsset["BT_MY_LIST_NAV_ON"] = "bt_my_list_nav_on";
1225
+ UIAsset["BT_NEW_STORY"] = "bt_new_story";
1226
+ UIAsset["BT_NEXT"] = "bt_next";
1227
+ UIAsset["BT_NEXT_ACTIONS"] = "bt_next_actions";
1228
+ UIAsset["BT_NEXT_CHALLENGE"] = "bt_next_challenge";
1229
+ UIAsset["BT_NEXT_CLIPS"] = "bt_next_clips";
1230
+ UIAsset["BT_NEXT_MAIN"] = "bt_next_main";
1231
+ UIAsset["BT_NOTE_ACTIONS_OFF"] = "bt_note_actions_off";
1232
+ UIAsset["BT_NOTE_ACTIONS_ON"] = "bt_note_actions_on";
1233
+ UIAsset["BT_NOTIFICATION"] = "bt_notification";
1234
+ UIAsset["BT_NOTIFICATION_ON"] = "bt_notification_on";
1235
+ UIAsset["BT_NOTIFICATIONS_TAB"] = "bt_notifications_tab";
1236
+ UIAsset["BT_OPEN"] = "bt_open";
1237
+ UIAsset["BT_OPEN_LIST"] = "bt_open_list";
1238
+ UIAsset["BT_OPEN_LIST_AUDIO"] = "bt_open_list_audio";
1239
+ UIAsset["BT_OPORTUNIDADES_TAB"] = "bt_oportunidades_tab";
1240
+ UIAsset["BT_OPORTUNIDADES_TAB_ON"] = "bt_oportunidades_tab_on";
1241
+ UIAsset["BT_OPTIONS"] = "bt_options";
1242
+ UIAsset["BT_PAUSE_VIEW_AUDIO"] = "bt_pause_view_audio";
1243
+ UIAsset["BT_PAUSE_VIEW_CLIPS"] = "bt_pause_view_clips";
1244
+ UIAsset["BT_PERFIL"] = "bt_perfil";
1245
+ UIAsset["BT_PERFIL_TAB"] = "bt_perfil_tab";
1246
+ UIAsset["BT_PHOTO_COMMENT"] = "bt_photo_comment";
1247
+ UIAsset["BT_PIMP_PLAYER"] = "bt_pimp_player";
1248
+ UIAsset["BT_PLAY_VIEW_AUDIO"] = "bt_play_view_audio";
1249
+ UIAsset["BT_PLAY_VIEW_CLIPS"] = "bt_play_view_clips";
1250
+ UIAsset["BT_POST"] = "bt_post";
1251
+ UIAsset["BT_RATING_OFF"] = "bt_rating_off";
1252
+ UIAsset["BT_RATING_ON"] = "bt_rating_on";
1253
+ UIAsset["BT_RESTART_ACTIONS_OFF"] = "bt_restart_actions_off";
1254
+ UIAsset["BT_SEARCH"] = "bt_search";
1255
+ UIAsset["BT_SEEK"] = "bt_seek";
1256
+ UIAsset["BT_SELFIE"] = "bt_selfie";
1257
+ UIAsset["BT_SEND_OFF"] = "bt_send_off";
1258
+ UIAsset["BT_SEND_ON"] = "bt_send_on";
1259
+ UIAsset["BT_SHARE_LIVE"] = "bt_share_live";
1260
+ UIAsset["BT_SHARE_POST_OFF"] = "bt_share_post_off";
1261
+ UIAsset["BT_SPEED_PLAYER"] = "bt_speed_player";
1262
+ UIAsset["BT_TEXT_STORIES"] = "bt_text_stories";
1263
+ UIAsset["BT_TIME24_STORY"] = "bt_time24_story";
1264
+ UIAsset["BT_TIME48_STORY"] = "bt_time48_story";
1265
+ UIAsset["BT_TIME72_STORY"] = "bt_time72_story";
1266
+ UIAsset["BT_TRASH"] = "bt_trash";
1267
+ UIAsset["BT_TV"] = "bt_tv";
1268
+ UIAsset["BT_TV_ON"] = "bt_tv_on";
1269
+ UIAsset["BT_TV_ON_LIST"] = "bt_tv_on_list";
1270
+ UIAsset["BT_TV_ON_MAIN"] = "bt_tv_on_main";
1271
+ UIAsset["BT_VIDEO_HELP_PLAYER"] = "bt_video_help_player";
1272
+ UIAsset["IC_ACTIVITE"] = "ic_activite";
1273
+ UIAsset["IC_ACTIVITY"] = "ic_activity";
1274
+ UIAsset["IC_ACTIVITY_MY_APP"] = "ic_activity_my_app";
1275
+ UIAsset["IC_AI_STAR"] = "ic_ai_star";
1276
+ UIAsset["IC_AI_TAG"] = "ic_ai_tag";
1277
+ UIAsset["IC_ALERT_NEW_POST"] = "ic_alert_new_post";
1278
+ UIAsset["IC_ALERT_NOTIFICATION"] = "ic_alert_notification";
1279
+ UIAsset["IC_ANONYMOUS_POST"] = "ic_anonymous_post";
1280
+ UIAsset["IC_ATTENTION"] = "ic_attention";
1281
+ UIAsset["IC_ATTENTION_RULES"] = "ic_attention_rules";
1282
+ UIAsset["IC_AUDIO_CLIPS"] = "ic_audio_clips";
1283
+ UIAsset["IC_AUDIO_LIST"] = "ic_audio_list";
1284
+ UIAsset["IC_AUDIO_LIST_DISABLED"] = "ic_audio_list_disabled";
1285
+ UIAsset["IC_AVATAR"] = "ic_avatar";
1286
+ UIAsset["IC_AVATAR_COMMENT"] = "ic_avatar_comment";
1287
+ UIAsset["IC_AVATAR_LIVE"] = "ic_avatar_live";
1288
+ UIAsset["IC_AVATAR_RANKING_LIST"] = "ic_avatar_ranking_list";
1289
+ UIAsset["IC_AVATAR_RANKING_ONE"] = "ic_avatar_ranking_one";
1290
+ UIAsset["IC_AVATAR_RANKING_TWO"] = "ic_avatar_ranking_two";
1291
+ UIAsset["IC_AVATAR_REGISTER"] = "ic_avatar_register";
1292
+ UIAsset["IC_CERTIFICATION"] = "ic_certification";
1293
+ UIAsset["IC_CERTIFICATION_MAIN"] = "ic_certification_main";
1294
+ UIAsset["IC_CERTIFICATION_MY_APP"] = "ic_certification_my_app";
1295
+ UIAsset["IC_CHALLENGE_PTS"] = "ic_challenge_pts";
1296
+ UIAsset["IC_CHALLENGE_PTS_DETAIL"] = "ic_challenge_pts_detail";
1297
+ UIAsset["IC_CHALLENGE_PTS_LIST"] = "ic_challenge_pts_list";
1298
+ UIAsset["IC_CHALLENGE_PTS_LIST_DISABLED"] = "ic_challenge_pts_list_disabled";
1299
+ UIAsset["IC_CHALLENGE_RANKING"] = "ic_challenge_ranking";
1300
+ UIAsset["IC_CHECK"] = "ic_check";
1301
+ UIAsset["IC_CHROMECAST"] = "ic_chromecast";
1302
+ UIAsset["IC_CLIP_EMPTY"] = "ic_clip_empty";
1303
+ UIAsset["IC_COMMENT_SEARCH_LIST"] = "ic_comment_search_list";
1304
+ UIAsset["IC_CONTACT"] = "ic_contact";
1305
+ UIAsset["IC_DADOS_CHECK"] = "ic_dados_check";
1306
+ UIAsset["IC_DELETE_ACCOUNT"] = "ic_delete_account";
1307
+ UIAsset["IC_DISABLED_LESSON"] = "ic_disabled_lesson";
1308
+ UIAsset["IC_DOWNLOAD_EMPTY"] = "ic_download_empty";
1309
+ UIAsset["IC_DOWNLOAD_MY_APP"] = "ic_download_my_app";
1310
+ UIAsset["IC_DOWNLOADS_LIST"] = "ic_downloads_list";
1311
+ UIAsset["IC_EMAIL"] = "ic_email";
1312
+ UIAsset["IC_EMPTY_CLASS"] = "ic_empty_class";
1313
+ UIAsset["IC_ERROR"] = "ic_error";
1314
+ UIAsset["IC_ERROR_CHALLENGE"] = "ic_error_challenge";
1315
+ UIAsset["IC_FILE"] = "ic_file";
1316
+ UIAsset["IC_FILE_CLIPS"] = "ic_file_clips";
1317
+ UIAsset["IC_FILE_DISABLED"] = "ic_file_disabled";
1318
+ UIAsset["IC_FIX_POST"] = "ic_fix_post";
1319
+ UIAsset["IC_FLAG_END"] = "ic_flag_end";
1320
+ UIAsset["IC_FLAG_START"] = "ic_flag_start";
1321
+ UIAsset["IC_FULL_IMAGE"] = "ic_full_image";
1322
+ UIAsset["IC_LAST_SEARCH"] = "ic_last_search";
1323
+ UIAsset["IC_LEVEL_ONE"] = "ic_level_one";
1324
+ UIAsset["IC_LEVEL_ONE_PROFILE"] = "ic_level_one_profile";
1325
+ UIAsset["IC_LEVEL_THREE"] = "ic_level_three";
1326
+ UIAsset["IC_LEVEL_TWO"] = "ic_level_two";
1327
+ UIAsset["IC_LIKE_SEARCH_LIST"] = "ic_like_search_list";
1328
+ UIAsset["IC_LINK_CLIPS"] = "ic_link_clips";
1329
+ UIAsset["IC_LINK_GENERIC"] = "ic_link_generic";
1330
+ UIAsset["IC_LINK_LIST"] = "ic_link_list";
1331
+ UIAsset["IC_LINK_LIST_DISABLED"] = "ic_link_list_disabled";
1332
+ UIAsset["IC_LIVE_WAITING"] = "ic_live_waiting";
1333
+ UIAsset["IC_LOCK"] = "ic_lock";
1334
+ UIAsset["IC_LOCK_CHECK"] = "ic_lock_check";
1335
+ UIAsset["IC_LOCK_LESSON"] = "ic_lock_lesson";
1336
+ UIAsset["IC_MY_LIST"] = "ic_my_list";
1337
+ UIAsset["IC_MY_LIST_EMPTY"] = "ic_my_list_empty";
1338
+ UIAsset["IC_MY_LIST_MY_APP"] = "ic_my_list_my_app";
1339
+ UIAsset["IC_MY_SHOP"] = "ic_my_shop";
1340
+ UIAsset["IC_MY_SHOP_MY_APP"] = "ic_my_shop_my_app";
1341
+ UIAsset["IC_MY_VOTE"] = "ic_my_vote";
1342
+ UIAsset["IC_NOT_FOUND"] = "ic_not_found";
1343
+ UIAsset["IC_NOTE"] = "ic_note";
1344
+ UIAsset["IC_NOTE_MY_APP"] = "ic_note_my_app";
1345
+ UIAsset["IC_NOTIFICATION_EMPTY"] = "ic_notification_empty";
1346
+ UIAsset["IC_NOTIFICATION_MY_APP"] = "ic_notification_my_app";
1347
+ UIAsset["IC_NOTIFICATION_MY_APP_ON"] = "ic_notification_my_app_on";
1348
+ UIAsset["IC_NOTIFICATION_OFF"] = "ic_notification_off";
1349
+ UIAsset["IC_NOTIFICATION_ON"] = "ic_notification_on";
1350
+ UIAsset["IC_PAUSE_VIEW"] = "ic_pause_view";
1351
+ UIAsset["IC_PAUSE_VIEW_AUDIO"] = "ic_pause_view_audio";
1352
+ UIAsset["IC_PAUSE_VIEW_SOUND"] = "ic_pause_view_sound";
1353
+ UIAsset["IC_PERGUNTAS"] = "ic_perguntas";
1354
+ UIAsset["IC_PIN_CARD"] = "ic_pin_card";
1355
+ UIAsset["IC_PLAY_CLIPS"] = "ic_play_clips";
1356
+ UIAsset["IC_PLAY_LIST"] = "ic_play_list";
1357
+ UIAsset["IC_PLAY_LIST_DISABLED"] = "ic_play_list_disabled";
1358
+ UIAsset["IC_PLAY_VIEW"] = "ic_play_view";
1359
+ UIAsset["IC_PLAY_VIEW_AUDIO"] = "ic_play_view_audio";
1360
+ UIAsset["IC_PLAY_VIEW_SOUND"] = "ic_play_view_sound";
1361
+ UIAsset["IC_POLITICS"] = "ic_politics";
1362
+ UIAsset["IC_POST"] = "ic_post";
1363
+ UIAsset["IC_POST_AUDIO"] = "ic_post_audio";
1364
+ UIAsset["IC_POST_EMPTY"] = "ic_post_empty";
1365
+ UIAsset["IC_POST_IMAGE"] = "ic_post_image";
1366
+ UIAsset["IC_POST_TEXT"] = "ic_post_text";
1367
+ UIAsset["IC_POST_VIDEO"] = "ic_post_video";
1368
+ UIAsset["IC_POST_VIDEO_FULL"] = "ic_post_video_full";
1369
+ UIAsset["IC_PTS"] = "ic_pts";
1370
+ UIAsset["IC_QUIZ_CLIPS"] = "ic_quiz_clips";
1371
+ UIAsset["IC_QUIZ_FINAL"] = "ic_quiz_final";
1372
+ UIAsset["IC_QUIZ_LIST"] = "ic_quiz_list";
1373
+ UIAsset["IC_QUIZ_LIST_DISABLED"] = "ic_quiz_list_disabled";
1374
+ UIAsset["IC_RANKING_LOCK"] = "ic_ranking_lock";
1375
+ UIAsset["IC_RANKING_N1"] = "ic_ranking_n1";
1376
+ UIAsset["IC_RANKING_N2"] = "ic_ranking_n2";
1377
+ UIAsset["IC_RANKING_N3"] = "ic_ranking_n3";
1378
+ UIAsset["IC_RATING_LIST"] = "ic_rating_list";
1379
+ UIAsset["IC_RATING_LIST_DISABLED"] = "ic_rating_list_disabled";
1380
+ UIAsset["IC_RATING_PROGRAM"] = "ic_rating_program";
1381
+ UIAsset["IC_SEARCH"] = "ic_search";
1382
+ UIAsset["IC_SEARCH_EMPTY"] = "ic_search_empty";
1383
+ UIAsset["IC_SHARE_SEARCH_LIST"] = "ic_share_search_list";
1384
+ UIAsset["IC_SHOP"] = "ic_shop";
1385
+ UIAsset["IC_SHOP_MY_APP"] = "ic_shop_my_app";
1386
+ UIAsset["IC_SMARTTV"] = "ic_smarttv";
1387
+ UIAsset["IC_SPEED"] = "ic_speed";
1388
+ UIAsset["IC_STATUS_CHALLENGE_WAIT"] = "ic_status_challenge_wait";
1389
+ UIAsset["IC_STORY_CHECK"] = "ic_story_check";
1390
+ UIAsset["IC_SUBSCRIBE"] = "ic_subscribe";
1391
+ UIAsset["IC_SUBSCRIBE_MY_APP"] = "ic_subscribe_my_app";
1392
+ UIAsset["IC_TAG_CHALLENGE"] = "ic_tag_challenge";
1393
+ UIAsset["IC_TAG_RANKING"] = "ic_tag_ranking";
1394
+ UIAsset["IC_TAG_RANKING_MAIN"] = "ic_tag_ranking_main";
1395
+ UIAsset["IC_TAG_VIP"] = "ic_tag_vip";
1396
+ UIAsset["IC_TERMS"] = "ic_terms";
1397
+ UIAsset["IC_TEXT_CLIPS"] = "ic_text_clips";
1398
+ UIAsset["IC_TEXT_LIST"] = "ic_text_list";
1399
+ UIAsset["IC_TEXT_LIST_DISABLED"] = "ic_text_list_disabled";
1400
+ UIAsset["IC_TV"] = "ic_tv";
1401
+ UIAsset["IC_TV_MIRROR"] = "ic_tv_mirror";
1402
+ UIAsset["IC_TYPE_FILE"] = "ic_type_file";
1403
+ UIAsset["IC_TYPE_TEXT"] = "ic_type_text";
1404
+ UIAsset["IC_VERIFIED"] = "ic_verified";
1405
+ UIAsset["IC_VERIFIED_COMMENT"] = "ic_verified_comment";
1406
+ UIAsset["IC_VIEW"] = "ic_view";
1407
+ UIAsset["IC_VIEW_LIVE"] = "ic_view_live";
1408
+ UIAsset["IC_VIEW_STORY"] = "ic_view_story";
1409
+ UIAsset["IC_VOTE"] = "ic_vote";
1410
+ UIAsset["IMG"] = "img";
1411
+ UIAsset["IMG_AVATAR_STORY"] = "img_avatar_story";
1412
+ UIAsset["IMG_AVATAR_STORY_VIEW"] = "img_avatar_story_view";
1413
+ UIAsset["IMG_BG_ASSINATURAS"] = "img_bg_assinaturas";
1414
+ UIAsset["IMG_BG_PAINEL"] = "img_bg_painel";
1415
+ UIAsset["IMG_BT_APPLESTORE"] = "img_bt_applestore";
1416
+ UIAsset["IMG_BT_GOOGLEPLAY"] = "img_bt_googleplay";
1417
+ UIAsset["IMG_CAPA_VIDEO"] = "img_capa_video";
1418
+ UIAsset["IMG_CHECKOUT_DESKTOP"] = "img_checkout_desktop";
1419
+ UIAsset["IMG_CHECKOUT_MOBILE"] = "img_checkout_mobile";
1420
+ UIAsset["IMG_CHECKOUT_RIGHT"] = "img_checkout_right";
1421
+ UIAsset["IMG_CLASS_FILE"] = "img_class_file";
1422
+ UIAsset["IMG_COMUNIDADE"] = "img_comunidade";
1423
+ UIAsset["IMG_FAV"] = "img_fav";
1424
+ UIAsset["IMG_LOGO"] = "img_logo";
1425
+ UIAsset["IMG_LOGO_EMAIL"] = "img_logo_email";
1426
+ UIAsset["IMG_LOGO_HORIZ"] = "img_logo_horiz";
1427
+ UIAsset["IMG_LOGO_LOGIN"] = "img_logo_login";
1428
+ UIAsset["IMG_LOGO_NAV"] = "img_logo_nav";
1429
+ UIAsset["IMG_LOGO_NORMAL"] = "img_logo_normal";
1430
+ UIAsset["IMG_LOGO_PAYMENT"] = "img_logo_payment";
1431
+ UIAsset["IMG_MASK_AUDIO_BLUR"] = "img_mask_audio_blur";
1432
+ UIAsset["IMG_MASK_BANNER_BLUR"] = "img_mask_banner_blur";
1433
+ UIAsset["IMG_MASK_BANNER_MAIN"] = "img_mask_banner_main";
1434
+ UIAsset["IMG_MASK_CAST_LIST"] = "img_mask_cast_list";
1435
+ UIAsset["IMG_MASK_CATEGORY_HIGHLIGHT"] = "img_mask_category_highlight";
1436
+ UIAsset["IMG_MASK_CHALLENGE_ACTIVITY"] = "img_mask_challenge_activity";
1437
+ UIAsset["IMG_MASK_FILE"] = "img_mask_file";
1438
+ UIAsset["IMG_MASK_LIVE"] = "img_mask_live";
1439
+ UIAsset["IMG_MASK_LIVE_TOP"] = "img_mask_live_top";
1440
+ UIAsset["IMG_MASK_LIVE_WAITING"] = "img_mask_live_waiting";
1441
+ UIAsset["IMG_MASK_MAIN_BANNERS"] = "img_mask_main_banners";
1442
+ UIAsset["IMG_MASK_PROFILE"] = "img_mask_profile";
1443
+ UIAsset["IMG_MASK_PROGRAM"] = "img_mask_program";
1444
+ UIAsset["IMG_MASK_RATING"] = "img_mask_rating";
1445
+ UIAsset["IMG_MASK_SOUND_BLUR"] = "img_mask_sound_blur";
1446
+ UIAsset["IMG_PLACEHOLDER_CAST"] = "img_placeholder_cast";
1447
+ UIAsset["IMG_PLACEHOLDER_FILE"] = "img_placeholder_file";
1448
+ UIAsset["IMG_PLACEHOLDER_LEVEL"] = "img_placeholder_level";
1449
+ UIAsset["IMG_PLACEHOLDER_MAIN"] = "img_placeholder_main";
1450
+ UIAsset["IMG_PLACEHOLDER_MEUS_VIDEOS"] = "img_placeholder_meus_videos";
1451
+ UIAsset["IMG_PLACEHOLDER_NOTIFICATION"] = "img_placeholder_notification";
1452
+ UIAsset["IMG_PLACEHOLDER_POST_IMAGEM"] = "img_placeholder_post_imagem";
1453
+ UIAsset["IMG_PLACEHOLDER_POST_VIP"] = "img_placeholder_post_vip";
1454
+ UIAsset["IMG_PLACEHOLDER_PROGRAM"] = "img_placeholder_program";
1455
+ UIAsset["IMG_PLACEHOLDER_RANKING"] = "img_placeholder_ranking";
1456
+ UIAsset["IMG_PLACEHOLDER_STORY"] = "img_placeholder_story";
1457
+ UIAsset["IMG_PLACEHOLDER_TEXT"] = "img_placeholder_text";
1458
+ UIAsset["IMG_PLACEHOLDER_VIDEO_MAIN"] = "img_placeholder_video_main";
1459
+ UIAsset["IMG_SHARE_WHATSAPP"] = "img_share_whatsapp";
1460
+ UIAsset["IMG_SYMBOL80"] = "img_symbol80";
1461
+ UIAsset["IMG_THUMB_HORIZ"] = "img_thumb_horiz";
1462
+ UIAsset["IMG_THUMB_PROG_VERT"] = "img_thumb_prog_vert";
1463
+ UIAsset["IMG_THUMB_PROG_VERT1"] = "img_thumb_prog_vert1";
1464
+ UIAsset["IMG_THUMB_PROG_VERT2"] = "img_thumb_prog_vert2";
1465
+ UIAsset["IMG_THUMB_PROG_VERT3"] = "img_thumb_prog_vert3";
1466
+ UIAsset["MASK_DETAIL"] = "mask_detail";
1467
+ UIAsset["MASK_DETAIL_CERTIFICATION"] = "mask_detail_certification";
1468
+ UIAsset["MASK_DETAIL_CHALLENGE"] = "mask_detail_challenge";
1469
+ UIAsset["MASK_DETAIL_POST_VIP"] = "mask_detail_post_vip";
1470
+ UIAsset["MASK_DETAIL_RANKING"] = "mask_detail_ranking";
1471
+ UIAsset["MASK_IMG_CARROSEL"] = "mask_img_carrosel";
1472
+ UIAsset["MASK_IMG_MAIN"] = "mask_img_main";
1473
+ UIAsset["MASK_IMG_TOP_STORY"] = "mask_img_top_story";
1474
+ UIAsset["MASK_NEXT_CLASS"] = "mask_next_class";
1475
+ UIAsset["REPEAT_BACK"] = "repeat_back";
1476
+ UIAsset["REPEAT_BACK_SOUND"] = "repeat_back_sound";
1477
+ UIAsset["REPEAT_FRONT"] = "repeat_front";
1478
+ UIAsset["REPEAT_FRONT_SOUND"] = "repeat_front_sound";
1479
+ UIAsset["SPACE_GRAY"] = "space_gray";
1480
+ UIAsset["VIDEO_REPEAT_BACK"] = "video_repeat_back";
1481
+ UIAsset["VIDEO_REPEAT_FRONT"] = "video_repeat_front";
1482
+ UIAsset["WAY_LEFT_END_OFF"] = "way_left_end_off";
1483
+ UIAsset["WAY_LEFT_END_ON"] = "way_left_end_on";
1484
+ UIAsset["WAY_ONE_OFF"] = "way_one_off";
1485
+ UIAsset["WAY_ONE_ON"] = "way_one_on";
1486
+ UIAsset["WAY_RIGHT_END_OFF"] = "way_right_end_off";
1487
+ UIAsset["WAY_RIGHT_END_ON"] = "way_right_end_on";
1488
+ UIAsset["WAY_START_OFF"] = "way_start_off";
1489
+ UIAsset["WAY_START_ON"] = "way_start_on";
1490
+ UIAsset["WAY_TASK_OFF"] = "way_task_off";
1491
+ UIAsset["WAY_TASK_ON"] = "way_task_on";
1492
+ UIAsset["WAY_TWO_OFF"] = "way_two_off";
1493
+ UIAsset["WAY_TWO_ON"] = "way_two_on";
1494
+ })(UIAsset || (UIAsset = {}));
1495
+
1496
+ const assetMapping = {
1497
+ [UIAsset.BG_ASSINATURAS]: 'assets/bg-assinaturas.webp',
1498
+ [UIAsset.BG_CHALLENGE_ACTIVITY_FINAL]: 'assets/bg-challenge-activity-final.webp',
1499
+ [UIAsset.BG_LIGHT]: 'assets/bg-light.webp',
1500
+ [UIAsset.BG_LOGIN]: 'assets/bg-login.webp',
1501
+ [UIAsset.BG_POST]: 'assets/bg-post.webp',
1502
+ [UIAsset.BG_QUIZ_FINAL]: 'assets/bg-quiz-final.webp',
1503
+ [UIAsset.BG_RATING_PROGRAM]: 'assets/bg-rating-program.webp',
1504
+ [UIAsset.BG_SPLASH]: 'assets/bg-splash.webp',
1505
+ [UIAsset.BG_STORY]: 'assets/bg-story.webp',
1506
+ [UIAsset.BG_SURVEY]: 'assets/bg-survey.webp',
1507
+ [UIAsset.BT_ABOUT_ACTIONS_OFF]: 'assets/bt-about-actions-off.webp',
1508
+ [UIAsset.BT_ANONYMOUS_COMMENT_OFF]: 'assets/bt-anonymous-comment-off.webp',
1509
+ [UIAsset.BT_ANONYMOUS_COMMENT_ON]: 'assets/bt-anonymous-comment-on.webp',
1510
+ [UIAsset.BT_BACK]: 'assets/bt-back.webp',
1511
+ [UIAsset.BT_BACK_LIVE]: 'assets/bt-back-live.webp',
1512
+ [UIAsset.BT_BACK_NEW]: 'assets/bt-back-new.webp',
1513
+ [UIAsset.BT_BACK_PLAYER]: 'assets/bt-back-player.webp',
1514
+ [UIAsset.BT_BACK_STORY]: 'assets/bt-back-story.webp',
1515
+ [UIAsset.BT_CANCEL_LIST]: 'assets/bt-cancel-list.webp',
1516
+ [UIAsset.BT_CAPTURE_PHOTO]: 'assets/bt-capture-photo.webp',
1517
+ [UIAsset.BT_CAPTURE_VIDEO]: 'assets/bt-capture-video.webp',
1518
+ [UIAsset.BT_CAPTURE_VIDEO_LINE]: 'assets/bt-capture-video-line.webp',
1519
+ [UIAsset.BT_CERTIFICATION_ACTIONS_OFF]: 'assets/bt-certification-actions-off.webp',
1520
+ [UIAsset.BT_CERTIFICATION_ACTIONS_ON]: 'assets/bt-certification-actions-on.webp',
1521
+ [UIAsset.BT_CHECK_ACTION_OFF]: 'assets/bt-check-action-off.webp',
1522
+ [UIAsset.BT_CHECK_ACTION_ON]: 'assets/bt-check-action-on.webp',
1523
+ [UIAsset.BT_CHECK_FIX_OFF]: 'assets/bt-check-fix-off.webp',
1524
+ [UIAsset.BT_CHECK_OFF]: 'assets/bt-check-off.webp',
1525
+ [UIAsset.BT_CHECK_ON]: 'assets/bt-check-on.webp',
1526
+ [UIAsset.BT_CHECK_TERMS_OFF]: 'assets/bt-check-terms-off.webp',
1527
+ [UIAsset.BT_CHECK_TERMS_ON]: 'assets/bt-check-terms-on.webp',
1528
+ [UIAsset.BT_CLIPS_TAB]: 'assets/bt-clips-tab.webp',
1529
+ [UIAsset.BT_CLIPS_TAB_ON]: 'assets/bt-clips-tab-on.webp',
1530
+ [UIAsset.BT_CLOSE]: 'assets/bt-close.webp',
1531
+ [UIAsset.BT_CLOSE_COMMENT]: 'assets/bt-close-comment.webp',
1532
+ [UIAsset.BT_CLOSE_FULL_IMAGE]: 'assets/bt-close-full-image.webp',
1533
+ [UIAsset.BT_CLOSE_LIST]: 'assets/bt-close-list.webp',
1534
+ [UIAsset.BT_CLOSE_LIVE]: 'assets/bt-close-live.webp',
1535
+ [UIAsset.BT_CLOSE_RATING]: 'assets/bt-close-rating.webp',
1536
+ [UIAsset.BT_CLOSE_SCREEN_PLAYER]: 'assets/bt-close-screen-player.webp',
1537
+ [UIAsset.BT_CLOSE_STORY]: 'assets/bt-close-story.webp',
1538
+ [UIAsset.BT_CLOSE_TAGS]: 'assets/bt-close-tags.webp',
1539
+ [UIAsset.BT_COMMENT_OFF]: 'assets/bt-comment-off.webp',
1540
+ [UIAsset.BT_COMMENT_ON]: 'assets/bt-comment-on.webp',
1541
+ [UIAsset.BT_COMUNIDADE_TAB]: 'assets/bt-comunidade-tab.webp',
1542
+ [UIAsset.BT_COMUNIDADE_TAB_ON]: 'assets/bt-comunidade-tab-on.webp',
1543
+ [UIAsset.BT_CONFIG_NAVBAR]: 'assets/bt-config-navbar.webp',
1544
+ [UIAsset.BT_CONFIG_PLAYER]: 'assets/bt-config-player.webp',
1545
+ [UIAsset.BT_DELETE_STORY]: 'assets/bt-delete-story.webp',
1546
+ [UIAsset.BT_DISABLED]: 'assets/bt-disabled.webp',
1547
+ [UIAsset.BT_DOWNLOAD_ACTION_OFF]: 'assets/bt-download-action-off.webp',
1548
+ [UIAsset.BT_DOWNLOAD_LIST]: 'assets/bt-download-list.webp',
1549
+ [UIAsset.BT_DOWNLOAD_NAV]: 'assets/bt-download-nav.webp',
1550
+ [UIAsset.BT_DOWNLOAD_TAB]: 'assets/bt-download-tab.webp',
1551
+ [UIAsset.BT_DOWNLOAD_TAB_ON]: 'assets/bt-download-tab-on.webp',
1552
+ [UIAsset.BT_EVALUATION_ACTION]: 'assets/bt-evaluation-action.webp',
1553
+ [UIAsset.BT_EVALUATION_ACTION_OFF]: 'assets/bt-evaluation-action-off.webp',
1554
+ [UIAsset.BT_EVALUATION_ACTION_ON]: 'assets/bt-evaluation-action-on.webp',
1555
+ [UIAsset.BT_FAV_ACTIONS_OFF]: 'assets/bt-fav-actions-off.webp',
1556
+ [UIAsset.BT_FAV_ACTIONS_ON]: 'assets/bt-fav-actions-on.webp',
1557
+ [UIAsset.BT_FAV_OFF]: 'assets/bt-fav-off.webp',
1558
+ [UIAsset.BT_FAV_ON]: 'assets/bt-fav-on.webp',
1559
+ [UIAsset.BT_FILE]: 'assets/bt-file.webp',
1560
+ [UIAsset.BT_FULL_SCREEN_PLAYER]: 'assets/bt-full-screen-player.webp',
1561
+ [UIAsset.BT_GALLERY]: 'assets/bt-gallery.webp',
1562
+ [UIAsset.BT_INFO]: 'assets/bt-info.webp',
1563
+ [UIAsset.BT_LIKE_COMMENT]: 'assets/bt-like-comment.webp',
1564
+ [UIAsset.BT_LIKE_COMMENT_ON]: 'assets/bt-like-comment-on.webp',
1565
+ [UIAsset.BT_LIKE_LIVE]: 'assets/bt-like-live.webp',
1566
+ [UIAsset.BT_LIKE_LIVE_ON]: 'assets/bt-like-live-on.webp',
1567
+ [UIAsset.BT_LIKE_OFF]: 'assets/bt-like-off.webp',
1568
+ [UIAsset.BT_LIKE_ON]: 'assets/bt-like-on.webp',
1569
+ [UIAsset.BT_LINK_GENERIC]: 'assets/bt-link-generic.webp',
1570
+ [UIAsset.BT_LOCK]: 'assets/bt-lock.webp',
1571
+ [UIAsset.BT_LOGOUT]: 'assets/bt-logout.webp',
1572
+ [UIAsset.BT_MATERIAL]: 'assets/bt-material.webp',
1573
+ [UIAsset.BT_MATERIALS_ACTIONS_OFF]: 'assets/bt-materials-actions-off.webp',
1574
+ [UIAsset.BT_MENU]: 'assets/bt-menu.webp',
1575
+ [UIAsset.BT_MY_LIST_ACTION_OFF]: 'assets/bt-my-list-action-off.webp',
1576
+ [UIAsset.BT_MY_LIST_ACTION_ON]: 'assets/bt-my-list-action-on.webp',
1577
+ [UIAsset.BT_MY_LIST_NAV_OFF]: 'assets/bt-my-list-nav-off.webp',
1578
+ [UIAsset.BT_MY_LIST_NAV_ON]: 'assets/bt-my-list-nav-on.webp',
1579
+ [UIAsset.BT_NEW_STORY]: 'assets/bt-new-story.webp',
1580
+ [UIAsset.BT_NEXT]: 'assets/bt-next.webp',
1581
+ [UIAsset.BT_NEXT_ACTIONS]: 'assets/bt-next-actions.webp',
1582
+ [UIAsset.BT_NEXT_CHALLENGE]: 'assets/bt-next-challenge.webp',
1583
+ [UIAsset.BT_NEXT_CLIPS]: 'assets/bt-next-clips.webp',
1584
+ [UIAsset.BT_NEXT_MAIN]: 'assets/bt-next-main.webp',
1585
+ [UIAsset.BT_NOTE_ACTIONS_OFF]: 'assets/bt-note-actions-off.webp',
1586
+ [UIAsset.BT_NOTE_ACTIONS_ON]: 'assets/bt-note-actions-on.webp',
1587
+ [UIAsset.BT_NOTIFICATION]: 'assets/bt-notification.webp',
1588
+ [UIAsset.BT_NOTIFICATION_ON]: 'assets/bt-notification-on.webp',
1589
+ [UIAsset.BT_NOTIFICATIONS_TAB]: 'assets/bt-notifications-tab.webp',
1590
+ [UIAsset.BT_OPEN]: 'assets/bt-open.webp',
1591
+ [UIAsset.BT_OPEN_LIST]: 'assets/bt-open-list.webp',
1592
+ [UIAsset.BT_OPEN_LIST_AUDIO]: 'assets/bt-open-list-audio.webp',
1593
+ [UIAsset.BT_OPORTUNIDADES_TAB]: 'assets/bt-oportunidades-tab.webp',
1594
+ [UIAsset.BT_OPORTUNIDADES_TAB_ON]: 'assets/bt-oportunidades-tab-on.webp',
1595
+ [UIAsset.BT_OPTIONS]: 'assets/bt-options.webp',
1596
+ [UIAsset.BT_PAUSE_VIEW_AUDIO]: 'assets/bt-pause-view-audio.webp',
1597
+ [UIAsset.BT_PAUSE_VIEW_CLIPS]: 'assets/bt-pause-view-clips.webp',
1598
+ [UIAsset.BT_PERFIL]: 'assets/bt-perfil.webp',
1599
+ [UIAsset.BT_PERFIL_TAB]: 'assets/bt-perfil-tab.webp',
1600
+ [UIAsset.BT_PHOTO_COMMENT]: 'assets/bt-photo-comment.webp',
1601
+ [UIAsset.BT_PIMP_PLAYER]: 'assets/bt-pimp-player.webp',
1602
+ [UIAsset.BT_PLAY_VIEW_AUDIO]: 'assets/bt-play-view-audio.webp',
1603
+ [UIAsset.BT_PLAY_VIEW_CLIPS]: 'assets/bt-play-view-clips.webp',
1604
+ [UIAsset.BT_POST]: 'assets/bt-post.webp',
1605
+ [UIAsset.BT_RATING_OFF]: 'assets/bt-rating-off.webp',
1606
+ [UIAsset.BT_RATING_ON]: 'assets/bt-rating-on.webp',
1607
+ [UIAsset.BT_RESTART_ACTIONS_OFF]: 'assets/bt-restart-actions-off.webp',
1608
+ [UIAsset.BT_SEARCH]: 'assets/bt-search.webp',
1609
+ [UIAsset.BT_SEEK]: 'assets/bt-seek.webp',
1610
+ [UIAsset.BT_SELFIE]: 'assets/bt-selfie.webp',
1611
+ [UIAsset.BT_SEND_OFF]: 'assets/bt-send-off.webp',
1612
+ [UIAsset.BT_SEND_ON]: 'assets/bt-send-on.webp',
1613
+ [UIAsset.BT_SHARE_LIVE]: 'assets/bt-share-live.webp',
1614
+ [UIAsset.BT_SHARE_POST_OFF]: 'assets/bt-share-post-off.webp',
1615
+ [UIAsset.BT_SPEED_PLAYER]: 'assets/bt-speed-player.webp',
1616
+ [UIAsset.BT_TEXT_STORIES]: 'assets/bt-text-stories.webp',
1617
+ [UIAsset.BT_TIME24_STORY]: 'assets/bt-time24-story.webp',
1618
+ [UIAsset.BT_TIME48_STORY]: 'assets/bt-time48-story.webp',
1619
+ [UIAsset.BT_TIME72_STORY]: 'assets/bt-time72-story.webp',
1620
+ [UIAsset.BT_TRASH]: 'assets/bt-trash.webp',
1621
+ [UIAsset.BT_TV]: 'assets/bt-tv.webp',
1622
+ [UIAsset.BT_TV_ON]: 'assets/bt-tv-on.webp',
1623
+ [UIAsset.BT_TV_ON_LIST]: 'assets/bt-tv-on-list.webp',
1624
+ [UIAsset.BT_TV_ON_MAIN]: 'assets/bt-tv-on-main.webp',
1625
+ [UIAsset.BT_VIDEO_HELP_PLAYER]: 'assets/bt-video-help-player.webp',
1626
+ [UIAsset.IC_ACTIVITE]: 'assets/ic-activite.webp',
1627
+ [UIAsset.IC_ACTIVITY]: 'assets/ic-activity.webp',
1628
+ [UIAsset.IC_ACTIVITY_MY_APP]: 'assets/ic-activity-my-app.webp',
1629
+ [UIAsset.IC_AI_STAR]: 'assets/ic-ai-star.webp',
1630
+ [UIAsset.IC_AI_TAG]: 'assets/ic-ai-tag.webp',
1631
+ [UIAsset.IC_ALERT_NEW_POST]: 'assets/ic-alert-new-post.webp',
1632
+ [UIAsset.IC_ALERT_NOTIFICATION]: 'assets/ic-alert-notification.webp',
1633
+ [UIAsset.IC_ANONYMOUS_POST]: 'assets/ic-anonymous-post.webp',
1634
+ [UIAsset.IC_ATTENTION]: 'assets/ic-attention.webp',
1635
+ [UIAsset.IC_ATTENTION_RULES]: 'assets/ic-attention-rules.webp',
1636
+ [UIAsset.IC_AUDIO_CLIPS]: 'assets/ic-audio-clips.webp',
1637
+ [UIAsset.IC_AUDIO_LIST]: 'assets/ic-audio-list.webp',
1638
+ [UIAsset.IC_AUDIO_LIST_DISABLED]: 'assets/ic-audio-list-disabled.webp',
1639
+ [UIAsset.IC_AVATAR]: 'assets/ic-avatar.webp',
1640
+ [UIAsset.IC_AVATAR_COMMENT]: 'assets/ic-avatar-comment.webp',
1641
+ [UIAsset.IC_AVATAR_LIVE]: 'assets/ic-avatar-live.webp',
1642
+ [UIAsset.IC_AVATAR_RANKING_LIST]: 'assets/ic-avatar-ranking-list.webp',
1643
+ [UIAsset.IC_AVATAR_RANKING_ONE]: 'assets/ic-avatar-ranking-one.webp',
1644
+ [UIAsset.IC_AVATAR_RANKING_TWO]: 'assets/ic-avatar-ranking-two.webp',
1645
+ [UIAsset.IC_AVATAR_REGISTER]: 'assets/ic-avatar-register.webp',
1646
+ [UIAsset.IC_CERTIFICATION]: 'assets/ic-certification.webp',
1647
+ [UIAsset.IC_CERTIFICATION_MAIN]: 'assets/ic-certification-main.webp',
1648
+ [UIAsset.IC_CERTIFICATION_MY_APP]: 'assets/ic-certification-my-app.webp',
1649
+ [UIAsset.IC_CHALLENGE_PTS]: 'assets/ic-challenge-pts.webp',
1650
+ [UIAsset.IC_CHALLENGE_PTS_DETAIL]: 'assets/ic-challenge-pts-detail.webp',
1651
+ [UIAsset.IC_CHALLENGE_PTS_LIST]: 'assets/ic-challenge-pts-list.webp',
1652
+ [UIAsset.IC_CHALLENGE_PTS_LIST_DISABLED]: 'assets/ic-challenge-pts-list-disabled.webp',
1653
+ [UIAsset.IC_CHALLENGE_RANKING]: 'assets/ic-challenge-ranking.webp',
1654
+ [UIAsset.IC_CHECK]: 'assets/ic-check.webp',
1655
+ [UIAsset.IC_CHROMECAST]: 'assets/ic-chromecast.webp',
1656
+ [UIAsset.IC_CLIP_EMPTY]: 'assets/ic-clip-empty.webp',
1657
+ [UIAsset.IC_CONTACT]: 'assets/ic-contact.webp',
1658
+ [UIAsset.IC_DADOS_CHECK]: 'assets/ic-dados-check.webp',
1659
+ [UIAsset.IC_DELETE_ACCOUNT]: 'assets/ic-delete-account.webp',
1660
+ [UIAsset.IC_DISABLED_LESSON]: 'assets/ic-disabled-lesson.webp',
1661
+ [UIAsset.IC_DOWNLOAD_EMPTY]: 'assets/ic-download-empty.webp',
1662
+ [UIAsset.IC_DOWNLOAD_MY_APP]: 'assets/ic-download-my-app.webp',
1663
+ [UIAsset.IC_DOWNLOADS_LIST]: 'assets/ic-downloads-list.webp',
1664
+ [UIAsset.IC_EMAIL]: 'assets/ic-email.webp',
1665
+ [UIAsset.IC_EMPTY_CLASS]: 'assets/ic-empty-class.webp',
1666
+ [UIAsset.IC_ERROR]: 'assets/ic-error.webp',
1667
+ [UIAsset.IC_ERROR_CHALLENGE]: 'assets/ic-error-challenge.webp',
1668
+ [UIAsset.IC_FILE]: 'assets/ic-file.webp',
1669
+ [UIAsset.IC_FILE_CLIPS]: 'assets/ic-file-clips.webp',
1670
+ [UIAsset.IC_FILE_DISABLED]: 'assets/ic-file-disabled.webp',
1671
+ [UIAsset.IC_FIX_POST]: 'assets/ic-fix-post.webp',
1672
+ [UIAsset.IC_FLAG_END]: 'assets/ic-flag-end.webp',
1673
+ [UIAsset.IC_FLAG_START]: 'assets/ic-flag-start.webp',
1674
+ [UIAsset.IC_FULL_IMAGE]: 'assets/ic-full-image.webp',
1675
+ [UIAsset.IC_LEVEL_ONE]: 'assets/ic-level-one.webp',
1676
+ [UIAsset.IC_LEVEL_ONE_PROFILE]: 'assets/ic-level-one-profile.webp',
1677
+ [UIAsset.IC_LEVEL_THREE]: 'assets/ic-level-three.webp',
1678
+ [UIAsset.IC_LEVEL_TWO]: 'assets/ic-level-two.webp',
1679
+ [UIAsset.IC_LINK_CLIPS]: 'assets/ic-link-clips.webp',
1680
+ [UIAsset.IC_LINK_GENERIC]: 'assets/ic-link-generic.webp',
1681
+ [UIAsset.IC_LINK_LIST]: 'assets/ic-link-list.webp',
1682
+ [UIAsset.IC_LINK_LIST_DISABLED]: 'assets/ic-link-list-disabled.webp',
1683
+ [UIAsset.IC_LIVE_WAITING]: 'assets/ic-live-waiting.webp',
1684
+ [UIAsset.IC_LOCK]: 'assets/ic-lock.webp',
1685
+ [UIAsset.IC_LOCK_CHECK]: 'assets/ic-lock-check.webp',
1686
+ [UIAsset.IC_LOCK_LESSON]: 'assets/ic-lock-lesson.webp',
1687
+ [UIAsset.IC_MY_LIST]: 'assets/ic-my-list.webp',
1688
+ [UIAsset.IC_MY_LIST_EMPTY]: 'assets/ic-my-list-empty.webp',
1689
+ [UIAsset.IC_MY_LIST_MY_APP]: 'assets/ic-my-list-my-app.webp',
1690
+ [UIAsset.IC_MY_SHOP]: 'assets/ic-my-shop.webp',
1691
+ [UIAsset.IC_MY_SHOP_MY_APP]: 'assets/ic-my-shop-my-app.webp',
1692
+ [UIAsset.IC_MY_VOTE]: 'assets/ic-my-vote.webp',
1693
+ [UIAsset.IC_NOT_FOUND]: 'assets/ic-not-found.webp',
1694
+ [UIAsset.IC_NOTE]: 'assets/ic-note.webp',
1695
+ [UIAsset.IC_NOTE_MY_APP]: 'assets/ic-note-my-app.webp',
1696
+ [UIAsset.IC_NOTIFICATION_EMPTY]: 'assets/ic-notification-empty.webp',
1697
+ [UIAsset.IC_NOTIFICATION_MY_APP]: 'assets/ic-notification-my-app.webp',
1698
+ [UIAsset.IC_NOTIFICATION_MY_APP_ON]: 'assets/ic-notification-my-app-on.webp',
1699
+ [UIAsset.IC_NOTIFICATION_OFF]: 'assets/ic-notification-off.webp',
1700
+ [UIAsset.IC_NOTIFICATION_ON]: 'assets/ic-notification-on.webp',
1701
+ [UIAsset.IC_POST_EMPTY]: 'assets/ic-post-empty.webp',
1702
+ [UIAsset.IC_PAUSE_VIEW]: 'assets/ic-pause-view.webp',
1703
+ [UIAsset.IC_PAUSE_VIEW_AUDIO]: 'assets/ic-pause-view-audio.webp',
1704
+ [UIAsset.IC_PAUSE_VIEW_SOUND]: 'assets/ic-pause-view-sound.webp',
1705
+ [UIAsset.IC_PERGUNTAS]: 'assets/ic-perguntas.webp',
1706
+ [UIAsset.IC_PIN_CARD]: 'assets/ic-pin-card.webp',
1707
+ [UIAsset.IC_PLAY_CLIPS]: 'assets/ic-play-clips.webp',
1708
+ [UIAsset.IC_PLAY_LIST]: 'assets/ic-play-list.webp',
1709
+ [UIAsset.IC_PLAY_LIST_DISABLED]: 'assets/ic-play-list-disabled.webp',
1710
+ [UIAsset.IC_PLAY_VIEW]: 'assets/ic-play-view.webp',
1711
+ [UIAsset.IC_PLAY_VIEW_AUDIO]: 'assets/ic-play-view-audio.webp',
1712
+ [UIAsset.IC_PLAY_VIEW_SOUND]: 'assets/ic-play-view-sound.webp',
1713
+ [UIAsset.IC_POLITICS]: 'assets/ic-politics.webp',
1714
+ [UIAsset.IC_POST]: 'assets/ic-post.webp',
1715
+ [UIAsset.IC_POST_AUDIO]: 'assets/ic-post-audio.webp',
1716
+ [UIAsset.IC_POST_IMAGE]: 'assets/ic-post-image.webp',
1717
+ [UIAsset.IC_POST_TEXT]: 'assets/ic-post-text.webp',
1718
+ [UIAsset.IC_POST_VIDEO]: 'assets/ic-post-video.webp',
1719
+ [UIAsset.IC_POST_VIDEO_FULL]: 'assets/ic-post-video-full.webp',
1720
+ [UIAsset.IC_PTS]: 'assets/ic-pts.webp',
1721
+ [UIAsset.IC_QUIZ_CLIPS]: 'assets/ic-quiz-clips.webp',
1722
+ [UIAsset.IC_QUIZ_FINAL]: 'assets/ic-quiz-final.webp',
1723
+ [UIAsset.IC_QUIZ_LIST]: 'assets/ic-quiz-list.webp',
1724
+ [UIAsset.IC_QUIZ_LIST_DISABLED]: 'assets/ic-quiz-list-disabled.webp',
1725
+ [UIAsset.IC_RANKING_LOCK]: 'assets/ic-ranking-lock.webp',
1726
+ [UIAsset.IC_RANKING_N1]: 'assets/ic-ranking-n1.webp',
1727
+ [UIAsset.IC_RANKING_N2]: 'assets/ic-ranking-n2.webp',
1728
+ [UIAsset.IC_RANKING_N3]: 'assets/ic-ranking-n3.webp',
1729
+ [UIAsset.IC_RATING_LIST]: 'assets/ic-rating-list.webp',
1730
+ [UIAsset.IC_RATING_LIST_DISABLED]: 'assets/ic-rating-list-disabled.webp',
1731
+ [UIAsset.IC_RATING_PROGRAM]: 'assets/ic-rating-program.webp',
1732
+ [UIAsset.IC_SEARCH]: 'assets/ic-search.webp',
1733
+ [UIAsset.IC_SEARCH_EMPTY]: 'assets/ic-search-empty.webp',
1734
+ [UIAsset.IC_SHOP]: 'assets/ic-shop.webp',
1735
+ [UIAsset.IC_SHOP_MY_APP]: 'assets/ic-shop-my-app.webp',
1736
+ [UIAsset.IC_SMARTTV]: 'assets/ic-smarttv.webp',
1737
+ [UIAsset.IC_SPEED]: 'assets/ic-speed.webp',
1738
+ [UIAsset.IC_STATUS_CHALLENGE_WAIT]: 'assets/ic-status-challenge-wait.webp',
1739
+ [UIAsset.IC_STORY_CHECK]: 'assets/ic-story-check.webp',
1740
+ [UIAsset.IC_SUBSCRIBE]: 'assets/ic-subscribe.webp',
1741
+ [UIAsset.IC_SUBSCRIBE_MY_APP]: 'assets/ic-subscribe-my-app.webp',
1742
+ [UIAsset.IC_TAG_CHALLENGE]: 'assets/ic-tag-challenge.webp',
1743
+ [UIAsset.IC_TAG_RANKING]: 'assets/ic-tag-ranking.webp',
1744
+ [UIAsset.IC_TAG_RANKING_MAIN]: 'assets/ic-tag-ranking-main.webp',
1745
+ [UIAsset.IC_TAG_VIP]: 'assets/ic-tag-vip.webp',
1746
+ [UIAsset.IC_TERMS]: 'assets/ic-terms.webp',
1747
+ [UIAsset.IC_TEXT_CLIPS]: 'assets/ic-text-clips.webp',
1748
+ [UIAsset.IC_TEXT_LIST]: 'assets/ic-text-list.webp',
1749
+ [UIAsset.IC_TEXT_LIST_DISABLED]: 'assets/ic-text-list-disabled.webp',
1750
+ [UIAsset.IC_TV]: 'assets/ic-tv.webp',
1751
+ [UIAsset.IC_TV_MIRROR]: 'assets/ic-tv-mirror.webp',
1752
+ [UIAsset.IC_TYPE_FILE]: 'assets/ic-type-file.webp',
1753
+ [UIAsset.IC_TYPE_TEXT]: 'assets/ic-type-text.webp',
1754
+ [UIAsset.IC_VERIFIED]: 'assets/ic-verified.webp',
1755
+ [UIAsset.IC_VERIFIED_COMMENT]: 'assets/ic-verified-comment.webp',
1756
+ [UIAsset.IC_VIEW]: 'assets/ic-view.webp',
1757
+ [UIAsset.IC_VIEW_LIVE]: 'assets/ic-view-live.webp',
1758
+ [UIAsset.IC_VIEW_STORY]: 'assets/ic-view-story.webp',
1759
+ [UIAsset.IC_VOTE]: 'assets/ic-vote.webp',
1760
+ [UIAsset.IMG]: 'assets/img.webp',
1761
+ [UIAsset.IMG_AVATAR_STORY]: 'assets/img-avatar-story.webp',
1762
+ [UIAsset.IMG_AVATAR_STORY_VIEW]: 'assets/img-avatar-story-view.webp',
1763
+ [UIAsset.IMG_BG_ASSINATURAS]: 'assets/img-bg-assinaturas.webp',
1764
+ [UIAsset.IMG_BG_PAINEL]: 'assets/img-bg-painel.webp',
1765
+ [UIAsset.IMG_BT_APPLESTORE]: 'assets/img-bt-applestore.webp',
1766
+ [UIAsset.IMG_BT_GOOGLEPLAY]: 'assets/img-bt-googleplay.webp',
1767
+ [UIAsset.IMG_CAPA_VIDEO]: 'assets/img-capa-video.webp',
1768
+ [UIAsset.IMG_CHECKOUT_DESKTOP]: 'assets/img-checkout-desktop.webp',
1769
+ [UIAsset.IMG_CHECKOUT_MOBILE]: 'assets/img-checkout-mobile.webp',
1770
+ [UIAsset.IMG_CHECKOUT_RIGHT]: 'assets/img-checkout-right.webp',
1771
+ [UIAsset.IMG_CLASS_FILE]: 'assets/img-class-file.webp',
1772
+ [UIAsset.IMG_COMUNIDADE]: 'assets/img-comunidade.webp',
1773
+ [UIAsset.IMG_FAV]: 'assets/img-fav.webp',
1774
+ [UIAsset.IMG_LOGO]: 'assets/img-logo.webp',
1775
+ [UIAsset.IMG_LOGO_EMAIL]: 'assets/img-logo-email.webp',
1776
+ [UIAsset.IMG_LOGO_HORIZ]: 'assets/img-logo-horiz.webp',
1777
+ [UIAsset.IMG_LOGO_LOGIN]: 'assets/img-logo-login.webp',
1778
+ [UIAsset.IMG_LOGO_NAV]: 'assets/img-logo-nav.webp',
1779
+ [UIAsset.IMG_LOGO_NORMAL]: 'assets/img-logo-normal.webp',
1780
+ [UIAsset.IMG_LOGO_PAYMENT]: 'assets/img-logo-payment.webp',
1781
+ [UIAsset.IMG_MASK_AUDIO_BLUR]: 'assets/img-mask-audio-blur.webp',
1782
+ [UIAsset.IMG_MASK_BANNER_BLUR]: 'assets/img-mask-banner-blur.webp',
1783
+ [UIAsset.IMG_MASK_BANNER_MAIN]: 'assets/img-mask-banner-main.webp',
1784
+ [UIAsset.IMG_MASK_CAST_LIST]: 'assets/img-mask-cast-list.webp',
1785
+ [UIAsset.IMG_MASK_CATEGORY_HIGHLIGHT]: 'assets/img-mask-category-highlight.webp',
1786
+ [UIAsset.IMG_MASK_CHALLENGE_ACTIVITY]: 'assets/img-mask-challenge-activity.webp',
1787
+ [UIAsset.IMG_MASK_FILE]: 'assets/img-mask-file.webp',
1788
+ [UIAsset.IMG_MASK_LIVE]: 'assets/img-mask-live.webp',
1789
+ [UIAsset.IMG_MASK_LIVE_TOP]: 'assets/img-mask-live-top.webp',
1790
+ [UIAsset.IMG_MASK_LIVE_WAITING]: 'assets/img-mask-live-waiting.webp',
1791
+ [UIAsset.IMG_MASK_MAIN_BANNERS]: 'assets/img-mask-main-banners.webp',
1792
+ [UIAsset.IMG_MASK_PROFILE]: 'assets/img-mask-profile.webp',
1793
+ [UIAsset.IMG_MASK_PROGRAM]: 'assets/img-mask-program.webp',
1794
+ [UIAsset.IMG_MASK_RATING]: 'assets/img-mask-rating.webp',
1795
+ [UIAsset.IMG_MASK_SOUND_BLUR]: 'assets/img-mask-sound-blur.webp',
1796
+ [UIAsset.IMG_PLACEHOLDER_CAST]: 'assets/img-placeholder-cast.webp',
1797
+ [UIAsset.IMG_PLACEHOLDER_FILE]: 'assets/img-placeholder-file.webp',
1798
+ [UIAsset.IMG_PLACEHOLDER_LEVEL]: 'assets/img-placeholder-level.webp',
1799
+ [UIAsset.IMG_PLACEHOLDER_MAIN]: 'assets/img-placeholder-main.webp',
1800
+ [UIAsset.IMG_PLACEHOLDER_MEUS_VIDEOS]: 'assets/img-placeholder-meus-videos.webp',
1801
+ [UIAsset.IMG_PLACEHOLDER_NOTIFICATION]: 'assets/img-placeholder-notification.webp',
1802
+ [UIAsset.IMG_PLACEHOLDER_POST_IMAGEM]: 'assets/img-placeholder-post-imagem.webp',
1803
+ [UIAsset.IMG_PLACEHOLDER_POST_VIP]: 'assets/img-placeholder-post-vip.webp',
1804
+ [UIAsset.IMG_PLACEHOLDER_PROGRAM]: 'assets/img-placeholder-program.webp',
1805
+ [UIAsset.IMG_PLACEHOLDER_RANKING]: 'assets/img-placeholder-ranking.webp',
1806
+ [UIAsset.IMG_PLACEHOLDER_STORY]: 'assets/img-placeholder-story.webp',
1807
+ [UIAsset.IMG_PLACEHOLDER_TEXT]: 'assets/img-placeholder-text.webp',
1808
+ [UIAsset.IMG_PLACEHOLDER_VIDEO_MAIN]: 'assets/img-placeholder-video-main.webp',
1809
+ [UIAsset.IMG_SHARE_WHATSAPP]: 'assets/img-share-whatsapp.webp',
1810
+ [UIAsset.IMG_SYMBOL80]: 'assets/img-symbol80.webp',
1811
+ [UIAsset.IMG_THUMB_HORIZ]: 'assets/img-thumb-horiz.webp',
1812
+ [UIAsset.IMG_THUMB_PROG_VERT]: 'assets/img-thumb-prog-vert.webp',
1813
+ [UIAsset.IMG_THUMB_PROG_VERT1]: 'assets/img-thumb-prog-vert1.webp',
1814
+ [UIAsset.IMG_THUMB_PROG_VERT2]: 'assets/img-thumb-prog-vert2.webp',
1815
+ [UIAsset.IMG_THUMB_PROG_VERT3]: 'assets/img-thumb-prog-vert3.webp',
1816
+ [UIAsset.MASK_DETAIL]: 'assets/mask-detail.webp',
1817
+ [UIAsset.MASK_DETAIL_CERTIFICATION]: 'assets/mask-detail-certification.webp',
1818
+ [UIAsset.MASK_DETAIL_CHALLENGE]: 'assets/mask-detail-challenge.webp',
1819
+ [UIAsset.MASK_DETAIL_POST_VIP]: 'assets/mask-detail-post-vip.webp',
1820
+ [UIAsset.MASK_DETAIL_RANKING]: 'assets/mask-detail-ranking.webp',
1821
+ [UIAsset.MASK_IMG_CARROSEL]: 'assets/mask-img-carrosel.webp',
1822
+ [UIAsset.MASK_IMG_MAIN]: 'assets/mask-img-main.webp',
1823
+ [UIAsset.MASK_IMG_TOP_STORY]: 'assets/mask-img-top-story.webp',
1824
+ [UIAsset.MASK_NEXT_CLASS]: 'assets/mask-next-class.webp',
1825
+ [UIAsset.REPEAT_BACK]: 'assets/repeat-back.webp',
1826
+ [UIAsset.REPEAT_BACK_SOUND]: 'assets/repeat-back-sound.webp',
1827
+ [UIAsset.REPEAT_FRONT]: 'assets/repeat-front.webp',
1828
+ [UIAsset.REPEAT_FRONT_SOUND]: 'assets/repeat-front-sound.webp',
1829
+ [UIAsset.SPACE_GRAY]: 'assets/space-gray.webp',
1830
+ [UIAsset.VIDEO_REPEAT_BACK]: 'assets/video-repeat-back.webp',
1831
+ [UIAsset.VIDEO_REPEAT_FRONT]: 'assets/video-repeat-front.webp',
1832
+ [UIAsset.WAY_LEFT_END_OFF]: 'assets/way-left-end-off.webp',
1833
+ [UIAsset.WAY_LEFT_END_ON]: 'assets/way-left-end-on.webp',
1834
+ [UIAsset.WAY_ONE_OFF]: 'assets/way-one-off.webp',
1835
+ [UIAsset.WAY_ONE_ON]: 'assets/way-one-on.webp',
1836
+ [UIAsset.WAY_RIGHT_END_OFF]: 'assets/way-right-end-off.webp',
1837
+ [UIAsset.WAY_RIGHT_END_ON]: 'assets/way-right-end-on.webp',
1838
+ [UIAsset.WAY_START_OFF]: 'assets/way-start-off.webp',
1839
+ [UIAsset.WAY_START_ON]: 'assets/way-start-on.webp',
1840
+ [UIAsset.WAY_TASK_OFF]: 'assets/way-task-off.webp',
1841
+ [UIAsset.WAY_TASK_ON]: 'assets/way-task-on.webp',
1842
+ [UIAsset.WAY_TWO_OFF]: 'assets/way-two-off.webp',
1843
+ [UIAsset.WAY_TWO_ON]: 'assets/way-two-on.webp',
1844
+ [UIAsset.IC_COMMENT_SEARCH_LIST]: 'assets/ic-comment-search-list.webp',
1845
+ [UIAsset.IC_LIKE_SEARCH_LIST]: 'assets/ic-like-search-list.webp',
1846
+ [UIAsset.IC_SHARE_SEARCH_LIST]: 'assets/ic-share-search-list.webp',
1847
+ [UIAsset.IC_LAST_SEARCH]: 'assets/ic-last-search.webp',
1848
+ };
1849
+
1850
+ class ButtonComponent {
1851
+ constructor(uiComponent, renderer) {
1852
+ this.uiComponent = uiComponent;
1853
+ this.renderer = renderer;
1854
+ }
1855
+ ngOnInit() {
1856
+ // console.debug('button.uiComponent: ', this.uiComponent);
1857
+ }
1858
+ ngAfterViewInit() {
1859
+ if (this.uiComponent.element) {
1860
+ this.applyElement(this.uiComponent.element);
1861
+ }
1862
+ }
1863
+ applyElement(element) {
1864
+ if (element.textColor) {
1865
+ const color = colorMapping[element.textColor];
1866
+ this.renderer.setStyle(this.buttonElementRef.nativeElement, 'color', color);
1867
+ }
1868
+ if (element.textStyle) {
1869
+ const fontSize = textStyleMappingFontSize[element.textStyle];
1870
+ this.renderer.setStyle(this.buttonElementRef.nativeElement, 'font-size', fontSize);
1871
+ }
1872
+ }
1873
+ getAssetPath(asset) {
1874
+ return './assets/' + assetMapping[asset];
1875
+ }
1876
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: ButtonComponent, deps: [{ token: 'uiComponent' }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
1877
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.6", type: ButtonComponent, isStandalone: false, 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"] }] }); }
1878
+ }
1879
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: ButtonComponent, decorators: [{
1880
+ type: Component,
1881
+ args: [{ selector: 'edm-sdui-button', standalone: false, 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"] }]
1882
+ }], ctorParameters: () => [{ type: undefined, decorators: [{
1883
+ type: Inject,
1884
+ args: ['uiComponent']
1885
+ }] }, { type: i0.Renderer2 }], propDecorators: { buttonElementRef: [{
1886
+ type: ViewChild,
1887
+ args: ['buttonElement']
1888
+ }] } });
1889
+
1890
+ var button_component = /*#__PURE__*/Object.freeze({
1891
+ __proto__: null,
1892
+ ButtonComponent: ButtonComponent
1893
+ });
1894
+
1895
+ var UISize;
1896
+ (function (UISize) {
1897
+ UISize["THUMB_1"] = "thumb_1";
1898
+ UISize["ASSET_1"] = "asset_1";
1899
+ UISize["ASSET_2"] = "asset_2";
1900
+ UISize["ASSET_3"] = "asset_3";
1901
+ UISize["ASSET_4"] = "asset_4";
1902
+ UISize["ASSET_5"] = "asset_5";
1903
+ UISize["ASSET_6"] = "asset_6";
1904
+ UISize["ASSET_7"] = "asset_7";
1905
+ UISize["ASSET_8"] = "asset_8";
1906
+ })(UISize || (UISize = {}));
1907
+
1908
+ const sizeMappingHeight = {
1909
+ [UISize.ASSET_1]: '26px',
1910
+ [UISize.ASSET_2]: '16px',
1911
+ [UISize.ASSET_3]: '80px',
1912
+ [UISize.THUMB_1]: '56px',
1913
+ [UISize.ASSET_4]: '60px',
1914
+ [UISize.ASSET_5]: '18px',
1915
+ [UISize.ASSET_6]: '20px',
1916
+ [UISize.ASSET_7]: '22px',
1917
+ [UISize.ASSET_8]: '24px',
1918
+ };
1919
+ const sizeMappingWidth = {
1920
+ [UISize.ASSET_1]: '26px',
1921
+ [UISize.ASSET_2]: '16px',
1922
+ [UISize.ASSET_3]: '80px',
1923
+ [UISize.THUMB_1]: '100px',
1924
+ [UISize.ASSET_4]: '60px',
1925
+ [UISize.ASSET_5]: '18px',
1926
+ [UISize.ASSET_6]: '20px',
1927
+ [UISize.ASSET_7]: '22px',
1928
+ [UISize.ASSET_8]: '24px',
1929
+ };
1930
+
1931
+ class ImageComponent {
1932
+ constructor(uiComponent, renderer) {
1933
+ this.uiComponent = uiComponent;
1934
+ this.renderer = renderer;
1935
+ }
1936
+ ngOnInit() {
1937
+ // console.debug('image.uiComponent: ', this.uiComponent);
1938
+ }
1939
+ ngAfterViewInit() {
1940
+ if (this.uiComponent?.element) {
1941
+ this.applyElement(this.uiComponent.element);
1942
+ }
1943
+ }
1944
+ applyElement(element) {
1945
+ if (element.asset) {
1946
+ const asset = assetMapping[element.asset];
1947
+ this.renderer.setAttribute(this.imgElementRef.nativeElement, 'src', './assets/' + asset);
1948
+ }
1949
+ else if (element.url) {
1950
+ this.renderer.setAttribute(this.imgElementRef.nativeElement, 'src', element.url);
1951
+ }
1952
+ if (element.size) {
1953
+ const height = sizeMappingHeight[element.size];
1954
+ const width = sizeMappingWidth[element.size];
1955
+ this.renderer.setStyle(this.imgElementRef.nativeElement, 'height', height);
1956
+ this.renderer.setStyle(this.imgElementRef.nativeElement, 'width', width);
1957
+ }
1958
+ }
1959
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: ImageComponent, deps: [{ token: 'uiComponent' }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
1960
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.6", type: ImageComponent, isStandalone: false, selector: "edm-sdui-image", viewQueries: [{ propertyName: "imgElementRef", first: true, predicate: ["imgElement"], descendants: true }], ngImport: i0, template: "<img #imgElement [edmSduiView]=\"uiComponent.element\" *ngIf=\"uiComponent\" />\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"] }] }); }
1961
+ }
1962
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: ImageComponent, decorators: [{
1963
+ type: Component,
1964
+ args: [{ selector: 'edm-sdui-image', standalone: false, template: "<img #imgElement [edmSduiView]=\"uiComponent.element\" *ngIf=\"uiComponent\" />\n", styles: [":host{display:contents}\n"] }]
1965
+ }], ctorParameters: () => [{ type: undefined, decorators: [{
1966
+ type: Inject,
1967
+ args: ['uiComponent']
1968
+ }] }, { type: i0.Renderer2 }], propDecorators: { imgElementRef: [{
1969
+ type: ViewChild,
1970
+ args: ['imgElement']
1971
+ }] } });
1972
+
1973
+ var image_component = /*#__PURE__*/Object.freeze({
1974
+ __proto__: null,
1975
+ ImageComponent: ImageComponent
1976
+ });
1977
+
1978
+ class SduiComponent {
1979
+ constructor(route, viewModel) {
1980
+ this.route = route;
1981
+ this.viewModel = viewModel;
1982
+ this.currentSduiUrl = null;
1983
+ this.initialUrl = null;
1984
+ }
1985
+ ngOnInit() {
1986
+ this.viewModel.currentUrl$.subscribe((url) => {
1987
+ this.currentSduiUrl = url;
1988
+ });
1989
+ this.route.queryParams.subscribe((params) => {
1990
+ const paramValue = params[SDUI_URL_PARAM];
1991
+ const hasValidParam = this.validateParam(paramValue);
1992
+ if (hasValidParam && this.currentSduiUrl !== paramValue) {
1993
+ console.debug('[SduiComponent] carregando sdui do parâmetro...');
1994
+ this.viewModel.loadUIScreen(paramValue);
1995
+ }
1996
+ });
1997
+ }
1998
+ ngAfterViewInit() {
1999
+ const paramValue = this.route.snapshot.queryParamMap.get(SDUI_URL_PARAM);
2000
+ const hasValidParam = this.validateParam(paramValue);
2001
+ if (!hasValidParam &&
2002
+ this.initialUrl &&
2003
+ this.currentSduiUrl !== this.initialUrl) {
2004
+ console.debug('[SduiComponent] carregando initialUrl:', this.initialUrl);
2005
+ this.viewModel.loadUIScreen(this.initialUrl);
2006
+ }
2007
+ }
2008
+ validateParam(paramValue) {
2009
+ return !!paramValue && paramValue.trim() !== '';
2010
+ }
2011
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: SduiComponent, deps: [{ token: i1$2.ActivatedRoute }, { token: UIScreenViewModel }], target: i0.ɵɵFactoryTarget.Component }); }
2012
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.6", type: SduiComponent, isStandalone: false, selector: "edm-sdui", inputs: { initialUrl: "initialUrl" }, ngImport: i0, template: "<div class=\"sdui-container\">\n <edm-sdui-uiscreen *ngIf=\"currentSduiUrl\"></edm-sdui-uiscreen>\n</div>\n", styles: [":host{display:contents}.sdui-container{display:flex;flex-direction:column;min-height:100vh;width:100vw;position:relative}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: UIScreenComponent, selector: "edm-sdui-uiscreen" }] }); }
2013
+ }
2014
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: SduiComponent, decorators: [{
2015
+ type: Component,
2016
+ args: [{ selector: 'edm-sdui', standalone: false, template: "<div class=\"sdui-container\">\n <edm-sdui-uiscreen *ngIf=\"currentSduiUrl\"></edm-sdui-uiscreen>\n</div>\n", styles: [":host{display:contents}.sdui-container{display:flex;flex-direction:column;min-height:100vh;width:100vw;position:relative}\n"] }]
2017
+ }], ctorParameters: () => [{ type: i1$2.ActivatedRoute }, { type: UIScreenViewModel }], propDecorators: { initialUrl: [{
2018
+ type: Input
2019
+ }] } });
2020
+
2021
+ const defaultRoutes = [{ path: 'sdui', component: SduiComponent }];
2022
+ class SduiRoutingModule {
2023
+ static forChild(customPath) {
2024
+ const routes = customPath
2025
+ ? [{ path: customPath, component: SduiComponent }]
2026
+ : defaultRoutes;
2027
+ return {
2028
+ ngModule: SduiRoutingModule,
2029
+ providers: [],
2030
+ };
2031
+ }
2032
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: SduiRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
2033
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.6", ngImport: i0, type: SduiRoutingModule, imports: [i1$2.RouterModule], exports: [RouterModule] }); }
2034
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: SduiRoutingModule, imports: [RouterModule.forChild(defaultRoutes), RouterModule] }); }
2035
+ }
2036
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: SduiRoutingModule, decorators: [{
2037
+ type: NgModule,
2038
+ args: [{
2039
+ imports: [RouterModule.forChild(defaultRoutes)],
2040
+ exports: [RouterModule],
2041
+ }]
2042
+ }] });
2043
+
2044
+ class TagComponent {
2045
+ constructor(uiComponent, renderer) {
2046
+ this.uiComponent = uiComponent;
2047
+ this.renderer = renderer;
2048
+ }
2049
+ ngOnInit() {
2050
+ }
2051
+ ngAfterViewInit() {
2052
+ if (this.uiComponent.element) {
2053
+ this.applyElement(this.uiComponent.element);
2054
+ }
2055
+ if (this.uiComponent.element) {
2056
+ this.applyLabelElement(this.uiComponent.element);
2057
+ }
2058
+ }
2059
+ applyElement(element) {
2060
+ }
2061
+ applyLabelElement(element) {
2062
+ if (element.textColor) {
2063
+ const color = colorMapping[element.textColor];
2064
+ this.renderer.setStyle(this.tagNameElementRef.nativeElement, 'color', color);
2065
+ }
2066
+ if (element.textStyle) {
2067
+ const fontSize = textStyleMappingFontSize[element.textStyle];
2068
+ this.renderer.setStyle(this.tagNameElementRef.nativeElement, 'font-size', fontSize);
2069
+ }
2070
+ }
2071
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: TagComponent, deps: [{ token: 'uiComponent' }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
2072
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.6", type: TagComponent, isStandalone: false, 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"] }] }); }
2073
+ }
2074
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: TagComponent, decorators: [{
2075
+ type: Component,
2076
+ 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"] }]
2077
+ }], ctorParameters: () => [{ type: undefined, decorators: [{
2078
+ type: Inject,
2079
+ args: ['uiComponent']
2080
+ }] }, { type: i0.Renderer2 }], propDecorators: { tagElementRef: [{
2081
+ type: ViewChild,
2082
+ args: ['tagElement']
2083
+ }], tagNameElementRef: [{
2084
+ type: ViewChild,
2085
+ args: ['tagNameElement']
2086
+ }] } });
2087
+
2088
+ var tag_component = /*#__PURE__*/Object.freeze({
2089
+ __proto__: null,
2090
+ TagComponent: TagComponent
2091
+ });
2092
+
2093
+ class SearchBarComponent {
2094
+ constructor(actionService, uiComponent, renderer) {
2095
+ this.actionService = actionService;
2096
+ this.uiComponent = uiComponent;
2097
+ this.renderer = renderer;
2098
+ }
2099
+ ngOnInit() {
2100
+ // console.debug('label.uiComponent: ', this.uiComponent);
2101
+ }
2102
+ ngAfterViewInit() {
2103
+ if (this.uiComponent.element) {
2104
+ this.applyElement(this.uiComponent.element);
2105
+ this.renderer.listen(this.inputElementRef.nativeElement, 'keydown', (event) => {
2106
+ if (event.key === 'Enter') {
2107
+ const action = this.uiComponent.element?.action;
2108
+ const inputValue = this.inputElementRef.nativeElement.value.trim();
2109
+ if (action && inputValue && action.url) {
2110
+ const param = action.param || 'SEARCH';
2111
+ const encodedValue = encodeURIComponent(inputValue);
2112
+ try {
2113
+ const parsed = new URL(action.url);
2114
+ const innerUrlRaw = parsed.searchParams.get('url');
2115
+ if (innerUrlRaw) {
2116
+ const decodedInnerUrl = decodeURIComponent(innerUrlRaw);
2117
+ const updatedInnerUrl = decodedInnerUrl.replace(`{${param}}`, encodedValue);
2118
+ parsed.searchParams.set('url', encodeURIComponent(updatedInnerUrl));
2119
+ const adjustedUrl = parsed.toString();
2120
+ console.debug('[key.enter]', {
2121
+ param,
2122
+ encodedValue,
2123
+ adjustedUrl,
2124
+ });
2125
+ this.actionService.execute({
2126
+ ...action,
2127
+ url: adjustedUrl,
2128
+ });
2129
+ }
2130
+ }
2131
+ catch (err) {
2132
+ console.warn('[key.enter] Invalid action.url format:', action.url, err);
2133
+ }
2134
+ }
2135
+ }
2136
+ });
2137
+ }
2138
+ }
2139
+ applyElement(element) {
2140
+ console.debug('search.element:', element);
2141
+ const inputEl = this.inputElementRef.nativeElement;
2142
+ if (element.placeholder) {
2143
+ this.renderer.setAttribute(inputEl, 'placeholder', element.placeholder);
2144
+ }
2145
+ if (element.textColor) {
2146
+ const color = colorMapping[element.textColor];
2147
+ this.renderer.setStyle(inputEl, 'color', color);
2148
+ }
2149
+ if (element.textStyle) {
2150
+ const fontSize = textStyleMappingFontSize[element.textStyle];
2151
+ this.renderer.setStyle(inputEl, 'font-size', fontSize);
2152
+ }
2153
+ if (element.placeholderTextColor || element.placeholderTextStyle) {
2154
+ const styleEl = this.renderer.createElement('style');
2155
+ const color = element.placeholderTextColor
2156
+ ? colorMapping[element.placeholderTextColor]
2157
+ : 'inherit';
2158
+ const fontSize = element.placeholderTextStyle
2159
+ ? textStyleMappingFontSize[element.placeholderTextStyle]
2160
+ : 'inherit';
2161
+ styleEl.textContent = `
2162
+ edm-sdui-search-bar input::placeholder {
2163
+ color: ${color};
2164
+ font-size: ${fontSize};
2165
+ }
2166
+ `;
2167
+ this.renderer.appendChild(document.head, styleEl);
2168
+ }
2169
+ }
2170
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: SearchBarComponent, deps: [{ token: UIActionService }, { token: 'uiComponent' }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
2171
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.6", type: SearchBarComponent, isStandalone: false, 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"] }] }); }
2172
+ }
2173
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: SearchBarComponent, decorators: [{
2174
+ type: Component,
2175
+ 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"] }]
2176
+ }], ctorParameters: () => [{ type: UIActionService }, { type: undefined, decorators: [{
2177
+ type: Inject,
2178
+ args: ['uiComponent']
2179
+ }] }, { type: i0.Renderer2 }], propDecorators: { inputElementRef: [{
2180
+ type: ViewChild,
2181
+ args: ['inputElement']
2182
+ }] } });
2183
+
2184
+ var searchBar_component = /*#__PURE__*/Object.freeze({
2185
+ __proto__: null,
2186
+ SearchBarComponent: SearchBarComponent
2187
+ });
2188
+
2189
+ class SduiModule {
2190
+ static forRoot(config) {
2191
+ return {
2192
+ ngModule: SduiModule,
2193
+ providers: [
2194
+ {
2195
+ provide: SDUI_BASE_URL,
2196
+ useValue: config.baseUrl,
2197
+ },
2198
+ ],
2199
+ };
2200
+ }
2201
+ static forRouting(config) {
2202
+ return SduiRoutingModule.forChild(config?.routePath);
2203
+ }
2204
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: SduiModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
2205
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.6", ngImport: i0, type: SduiModule, declarations: [
2206
+ // UIComposite
2207
+ UIScreenComponent,
2208
+ UINavigationComponent,
2209
+ // Layout
2210
+ SingleColumnLayoutComponent,
2211
+ CenteredContentLayoutComponent,
2212
+ // UIComponents
2213
+ UIComponentComponent,
2214
+ RowComponent,
2215
+ RowDivisorComponent,
2216
+ ColumnComponent,
2217
+ ZStackComponent,
2218
+ LabelComponent,
2219
+ SpaceComponent,
2220
+ ButtonComponent,
2221
+ ImageComponent,
2222
+ TagComponent,
2223
+ SearchBarComponent,
2224
+ // diretivas
2225
+ UIViewDirective,
2226
+ // navegação
2227
+ NavigationControlsComponent,
2228
+ // componente base da lib
2229
+ SduiComponent], imports: [CommonModule, RouterModule], exports: [SduiComponent] }); }
2230
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: SduiModule, imports: [CommonModule, RouterModule] }); }
2231
+ }
2232
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: SduiModule, decorators: [{
2233
+ type: NgModule,
2234
+ args: [{
2235
+ declarations: [
2236
+ // UIComposite
2237
+ UIScreenComponent,
2238
+ UINavigationComponent,
2239
+ // Layout
2240
+ SingleColumnLayoutComponent,
2241
+ CenteredContentLayoutComponent,
2242
+ // UIComponents
2243
+ UIComponentComponent,
2244
+ RowComponent,
2245
+ RowDivisorComponent,
2246
+ ColumnComponent,
2247
+ ZStackComponent,
2248
+ LabelComponent,
2249
+ SpaceComponent,
2250
+ ButtonComponent,
2251
+ ImageComponent,
2252
+ TagComponent,
2253
+ SearchBarComponent,
2254
+ // diretivas
2255
+ UIViewDirective,
2256
+ // navegação
2257
+ NavigationControlsComponent,
2258
+ // componente base da lib
2259
+ SduiComponent,
2260
+ ],
2261
+ imports: [CommonModule, RouterModule],
2262
+ exports: [SduiComponent],
2263
+ providers: [],
2264
+ }]
2265
+ }] });
2266
+
2267
+ /*
2268
+ * Public API Surface of sdui
2269
+ */
2270
+ // Módulo principal
2271
+ // Roteamento (opcional, apenas se necessário)
2272
+ // export { SduiRoutingModule } from './lib/sdui-routing.module';
2273
+
2274
+ /**
2275
+ * Generated bundle index. Do not edit.
2276
+ */
2277
+
2278
+ export { SDUI_URL_PARAM, SduiComponent, SduiModule };
2279
+ //# sourceMappingURL=edm-sdui-sdui.mjs.map