@edm-sdui/sdui 1.0.1 → 1.0.2

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