@edm-sdui/sdui 1.0.2 → 1.0.3
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.
- package/edm-sdui-sdui.d.ts.map +1 -0
- package/esm2022/edm-sdui-sdui.mjs +5 -0
- package/esm2022/lib/components/navigation-controls/navigation-controls.component.mjs +27 -0
- package/esm2022/lib/components/uicomponent/button/button.component.mjs +47 -0
- package/esm2022/lib/components/uicomponent/column/column.component.mjs +23 -0
- package/esm2022/lib/components/uicomponent/image/image.component.mjs +48 -0
- package/esm2022/lib/components/uicomponent/label/label.component.mjs +49 -0
- package/esm2022/lib/components/uicomponent/row/row.component.mjs +23 -0
- package/esm2022/lib/components/uicomponent/row-divisor/row-divisor.component.mjs +22 -0
- package/esm2022/lib/components/uicomponent/search-bar/search-bar.component.mjs +99 -0
- package/esm2022/lib/components/uicomponent/space/space.component.mjs +20 -0
- package/esm2022/lib/components/uicomponent/tag/tag.component.mjs +50 -0
- package/esm2022/lib/components/uicomponent/uicomponent.component.mjs +41 -0
- package/esm2022/lib/components/uicomponent/zstack/zstack.component.mjs +23 -0
- package/esm2022/lib/components/uilayout/centered-content-layout/centered-content-layout.component.mjs +21 -0
- package/esm2022/lib/components/uilayout/single-column-layout/single-column-layout.component.mjs +21 -0
- package/esm2022/lib/components/uilayout/uinavigation/uinavigation.component.mjs +15 -0
- package/esm2022/lib/components/uiscreen/uiscreen.component.mjs +23 -0
- package/esm2022/lib/core/services/ui-action.service.mjs +42 -0
- package/esm2022/lib/core/services/uiscreen.service.mjs +150 -0
- package/esm2022/lib/core/tokens/sdui-config.token.mjs +3 -0
- package/esm2022/lib/core/uicomposition/enums/uicomponent-type.mjs +28 -0
- package/esm2022/lib/core/uicomposition/enums/uiplatform-type.mjs +6 -0
- package/esm2022/lib/core/uicomposition/enums/uiscene.mjs +5 -0
- package/esm2022/lib/core/uicomposition/enums/uiscreen-identifier.mjs +6 -0
- package/esm2022/lib/core/uicomposition/mapping/component-mapping.mjs +28 -0
- package/esm2022/lib/core/uicomposition/models/uicentered-content-layout.mjs +2 -0
- package/esm2022/lib/core/uicomposition/models/uicomponent.mjs +2 -0
- package/esm2022/lib/core/uicomposition/models/uielement.mjs +2 -0
- package/esm2022/lib/core/uicomposition/models/uilayout.mjs +2 -0
- package/esm2022/lib/core/uicomposition/models/uinavigation.mjs +2 -0
- package/esm2022/lib/core/uicomposition/models/uiscreen.mjs +2 -0
- package/esm2022/lib/core/uicomposition/models/uisingle-column-layout.mjs +2 -0
- package/esm2022/lib/core/uicomposition/models/uiview.mjs +2 -0
- package/esm2022/lib/core/uitheme/enums/uiaction-type.mjs +14 -0
- package/esm2022/lib/core/uitheme/enums/uialignment-type.mjs +7 -0
- package/esm2022/lib/core/uitheme/enums/uiaspect-type.mjs +6 -0
- package/esm2022/lib/core/uitheme/enums/uiasset.mjs +355 -0
- package/esm2022/lib/core/uitheme/enums/uicolor.mjs +131 -0
- package/esm2022/lib/core/uitheme/enums/uicontent-type.mjs +10 -0
- package/esm2022/lib/core/uitheme/enums/uipadding-level.mjs +12 -0
- package/esm2022/lib/core/uitheme/enums/uipresentation-style.mjs +7 -0
- package/esm2022/lib/core/uitheme/enums/uiradius-level.mjs +10 -0
- package/esm2022/lib/core/uitheme/enums/uishadow-blur-radius.mjs +5 -0
- package/esm2022/lib/core/uitheme/enums/uishadow-offset.mjs +5 -0
- package/esm2022/lib/core/uitheme/enums/uisize.mjs +13 -0
- package/esm2022/lib/core/uitheme/enums/uispacing-level.mjs +8 -0
- package/esm2022/lib/core/uitheme/enums/uitext-style.mjs +15 -0
- package/esm2022/lib/core/uitheme/mapping/alignment-mapping.mjs +7 -0
- package/esm2022/lib/core/uitheme/mapping/asset-mapping.mjs +355 -0
- package/esm2022/lib/core/uitheme/mapping/color-mapping.mjs +131 -0
- package/esm2022/lib/core/uitheme/mapping/pad-mapping.mjs +12 -0
- package/esm2022/lib/core/uitheme/mapping/radius-mapping.mjs +10 -0
- package/esm2022/lib/core/uitheme/mapping/size-mapping.mjs +24 -0
- package/esm2022/lib/core/uitheme/mapping/space-mapping.mjs +8 -0
- package/esm2022/lib/core/uitheme/mapping/text-style-mapping.mjs +15 -0
- package/esm2022/lib/core/uitheme/models/uiaction.mjs +2 -0
- package/esm2022/lib/core/uitheme/models/uialignment.mjs +2 -0
- package/esm2022/lib/core/uitheme/models/uibackground.mjs +2 -0
- package/esm2022/lib/core/uitheme/models/uipadding.mjs +2 -0
- package/esm2022/lib/core/uitheme/models/uiradius.mjs +2 -0
- package/esm2022/lib/core/uitheme/models/uishadow.mjs +2 -0
- package/esm2022/lib/core/uitheme/models/uispacing.mjs +2 -0
- package/esm2022/lib/core/utils/url-parser.util.mjs +19 -0
- package/esm2022/lib/core/view-models/uiscreen.viewmodel.mjs +101 -0
- package/esm2022/lib/directives/uiview.directive.mjs +140 -0
- package/esm2022/lib/sdui-routing.module.mjs +28 -0
- package/esm2022/lib/sdui.component.mjs +51 -0
- package/esm2022/lib/sdui.module.mjs +102 -0
- package/esm2022/public-api.mjs +12 -0
- package/fesm2022/edm-sdui-sdui.mjs +89 -134
- package/fesm2022/edm-sdui-sdui.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/lib/components/navigation-controls/navigation-controls.component.d.ts +1 -0
- package/lib/components/navigation-controls/navigation-controls.component.d.ts.map +1 -0
- package/lib/components/uicomponent/button/button.component.d.ts +1 -0
- package/lib/components/uicomponent/button/button.component.d.ts.map +1 -0
- package/lib/components/uicomponent/column/column.component.d.ts +1 -0
- package/lib/components/uicomponent/column/column.component.d.ts.map +1 -0
- package/lib/components/uicomponent/image/image.component.d.ts +1 -0
- package/lib/components/uicomponent/image/image.component.d.ts.map +1 -0
- package/lib/components/uicomponent/label/label.component.d.ts +1 -0
- package/lib/components/uicomponent/label/label.component.d.ts.map +1 -0
- package/lib/components/uicomponent/row/row.component.d.ts +1 -0
- package/lib/components/uicomponent/row/row.component.d.ts.map +1 -0
- package/lib/components/uicomponent/row-divisor/row-divisor.component.d.ts +1 -0
- package/lib/components/uicomponent/row-divisor/row-divisor.component.d.ts.map +1 -0
- package/lib/components/uicomponent/search-bar/search-bar.component.d.ts +1 -0
- package/lib/components/uicomponent/search-bar/search-bar.component.d.ts.map +1 -0
- package/lib/components/uicomponent/space/space.component.d.ts +1 -0
- package/lib/components/uicomponent/space/space.component.d.ts.map +1 -0
- package/lib/components/uicomponent/tag/tag.component.d.ts +1 -0
- package/lib/components/uicomponent/tag/tag.component.d.ts.map +1 -0
- package/lib/components/uicomponent/uicomponent.component.d.ts +1 -0
- package/lib/components/uicomponent/uicomponent.component.d.ts.map +1 -0
- package/lib/components/uicomponent/zstack/zstack.component.d.ts +1 -0
- package/lib/components/uicomponent/zstack/zstack.component.d.ts.map +1 -0
- package/lib/components/uilayout/centered-content-layout/centered-content-layout.component.d.ts +1 -0
- package/lib/components/uilayout/centered-content-layout/centered-content-layout.component.d.ts.map +1 -0
- package/lib/components/uilayout/single-column-layout/single-column-layout.component.d.ts +1 -0
- package/lib/components/uilayout/single-column-layout/single-column-layout.component.d.ts.map +1 -0
- package/lib/components/uilayout/uinavigation/uinavigation.component.d.ts +1 -0
- package/lib/components/uilayout/uinavigation/uinavigation.component.d.ts.map +1 -0
- package/lib/components/uiscreen/uiscreen.component.d.ts +1 -0
- package/lib/components/uiscreen/uiscreen.component.d.ts.map +1 -0
- package/lib/core/services/ui-action.service.d.ts +1 -0
- package/lib/core/services/ui-action.service.d.ts.map +1 -0
- package/lib/core/services/uiscreen.service.d.ts +1 -0
- package/lib/core/services/uiscreen.service.d.ts.map +1 -0
- package/lib/core/tokens/sdui-config.token.d.ts +1 -0
- package/lib/core/tokens/sdui-config.token.d.ts.map +1 -0
- package/lib/core/uicomposition/enums/uicomponent-type.d.ts +1 -0
- package/lib/core/uicomposition/enums/uicomponent-type.d.ts.map +1 -0
- package/lib/core/uicomposition/enums/uiplatform-type.d.ts +1 -0
- package/lib/core/uicomposition/enums/uiplatform-type.d.ts.map +1 -0
- package/lib/core/uicomposition/enums/uiscene.d.ts +1 -0
- package/lib/core/uicomposition/enums/uiscene.d.ts.map +1 -0
- package/lib/core/uicomposition/enums/uiscreen-identifier.d.ts +1 -0
- package/lib/core/uicomposition/enums/uiscreen-identifier.d.ts.map +1 -0
- package/lib/core/uicomposition/mapping/component-mapping.d.ts +1 -0
- package/lib/core/uicomposition/mapping/component-mapping.d.ts.map +1 -0
- package/lib/core/uicomposition/models/uicentered-content-layout.d.ts +1 -0
- package/lib/core/uicomposition/models/uicentered-content-layout.d.ts.map +1 -0
- package/lib/core/uicomposition/models/uicomponent.d.ts +1 -0
- package/lib/core/uicomposition/models/uicomponent.d.ts.map +1 -0
- package/lib/core/uicomposition/models/uielement.d.ts +1 -0
- package/lib/core/uicomposition/models/uielement.d.ts.map +1 -0
- package/lib/core/uicomposition/models/uilayout.d.ts +1 -0
- package/lib/core/uicomposition/models/uilayout.d.ts.map +1 -0
- package/lib/core/uicomposition/models/uinavigation.d.ts +1 -0
- package/lib/core/uicomposition/models/uinavigation.d.ts.map +1 -0
- package/lib/core/uicomposition/models/uiscreen.d.ts +1 -0
- package/lib/core/uicomposition/models/uiscreen.d.ts.map +1 -0
- package/lib/core/uicomposition/models/uisingle-column-layout.d.ts +1 -0
- package/lib/core/uicomposition/models/uisingle-column-layout.d.ts.map +1 -0
- package/lib/core/uicomposition/models/uiview.d.ts +1 -0
- package/lib/core/uicomposition/models/uiview.d.ts.map +1 -0
- package/lib/core/uitheme/enums/uiaction-type.d.ts +1 -0
- package/lib/core/uitheme/enums/uiaction-type.d.ts.map +1 -0
- package/lib/core/uitheme/enums/uialignment-type.d.ts +1 -0
- package/lib/core/uitheme/enums/uialignment-type.d.ts.map +1 -0
- package/lib/core/uitheme/enums/uiaspect-type.d.ts +1 -0
- package/lib/core/uitheme/enums/uiaspect-type.d.ts.map +1 -0
- package/lib/core/uitheme/enums/uiasset.d.ts +1 -0
- package/lib/core/uitheme/enums/uiasset.d.ts.map +1 -0
- package/lib/core/uitheme/enums/uicolor.d.ts +1 -0
- package/lib/core/uitheme/enums/uicolor.d.ts.map +1 -0
- package/lib/core/uitheme/enums/uicontent-type.d.ts +1 -0
- package/lib/core/uitheme/enums/uicontent-type.d.ts.map +1 -0
- package/lib/core/uitheme/enums/uipadding-level.d.ts +1 -0
- package/lib/core/uitheme/enums/uipadding-level.d.ts.map +1 -0
- package/lib/core/uitheme/enums/uipresentation-style.d.ts +1 -0
- package/lib/core/uitheme/enums/uipresentation-style.d.ts.map +1 -0
- package/lib/core/uitheme/enums/uiradius-level.d.ts +1 -0
- package/lib/core/uitheme/enums/uiradius-level.d.ts.map +1 -0
- package/lib/core/uitheme/enums/uishadow-blur-radius.d.ts +1 -0
- package/lib/core/uitheme/enums/uishadow-blur-radius.d.ts.map +1 -0
- package/lib/core/uitheme/enums/uishadow-offset.d.ts +1 -0
- package/lib/core/uitheme/enums/uishadow-offset.d.ts.map +1 -0
- package/lib/core/uitheme/enums/uisize.d.ts +1 -0
- package/lib/core/uitheme/enums/uisize.d.ts.map +1 -0
- package/lib/core/uitheme/enums/uispacing-level.d.ts +1 -0
- package/lib/core/uitheme/enums/uispacing-level.d.ts.map +1 -0
- package/lib/core/uitheme/enums/uitext-style.d.ts +1 -0
- package/lib/core/uitheme/enums/uitext-style.d.ts.map +1 -0
- package/lib/core/uitheme/mapping/alignment-mapping.d.ts +1 -0
- package/lib/core/uitheme/mapping/alignment-mapping.d.ts.map +1 -0
- package/lib/core/uitheme/mapping/asset-mapping.d.ts +1 -0
- package/lib/core/uitheme/mapping/asset-mapping.d.ts.map +1 -0
- package/lib/core/uitheme/mapping/color-mapping.d.ts +1 -0
- package/lib/core/uitheme/mapping/color-mapping.d.ts.map +1 -0
- package/lib/core/uitheme/mapping/pad-mapping.d.ts +1 -0
- package/lib/core/uitheme/mapping/pad-mapping.d.ts.map +1 -0
- package/lib/core/uitheme/mapping/radius-mapping.d.ts +1 -0
- package/lib/core/uitheme/mapping/radius-mapping.d.ts.map +1 -0
- package/lib/core/uitheme/mapping/size-mapping.d.ts +1 -0
- package/lib/core/uitheme/mapping/size-mapping.d.ts.map +1 -0
- package/lib/core/uitheme/mapping/space-mapping.d.ts +1 -0
- package/lib/core/uitheme/mapping/space-mapping.d.ts.map +1 -0
- package/lib/core/uitheme/mapping/text-style-mapping.d.ts +1 -0
- package/lib/core/uitheme/mapping/text-style-mapping.d.ts.map +1 -0
- package/lib/core/uitheme/models/uiaction.d.ts +1 -0
- package/lib/core/uitheme/models/uiaction.d.ts.map +1 -0
- package/lib/core/uitheme/models/uialignment.d.ts +1 -0
- package/lib/core/uitheme/models/uialignment.d.ts.map +1 -0
- package/lib/core/uitheme/models/uibackground.d.ts +1 -0
- package/lib/core/uitheme/models/uibackground.d.ts.map +1 -0
- package/lib/core/uitheme/models/uipadding.d.ts +1 -0
- package/lib/core/uitheme/models/uipadding.d.ts.map +1 -0
- package/lib/core/uitheme/models/uiradius.d.ts +1 -0
- package/lib/core/uitheme/models/uiradius.d.ts.map +1 -0
- package/lib/core/uitheme/models/uishadow.d.ts +1 -0
- package/lib/core/uitheme/models/uishadow.d.ts.map +1 -0
- package/lib/core/uitheme/models/uispacing.d.ts +1 -0
- package/lib/core/uitheme/models/uispacing.d.ts.map +1 -0
- package/lib/core/utils/url-parser.util.d.ts +1 -0
- package/lib/core/utils/url-parser.util.d.ts.map +1 -0
- package/lib/core/view-models/uiscreen.viewmodel.d.ts +4 -3
- package/lib/core/view-models/uiscreen.viewmodel.d.ts.map +1 -0
- package/lib/directives/uiview.directive.d.ts +1 -0
- package/lib/directives/uiview.directive.d.ts.map +1 -0
- package/lib/sdui-routing.module.d.ts +1 -0
- package/lib/sdui-routing.module.d.ts.map +1 -0
- package/lib/sdui.component.d.ts +1 -0
- package/lib/sdui.component.d.ts.map +1 -0
- package/lib/sdui.module.d.ts +1 -0
- package/lib/sdui.module.d.ts.map +1 -0
- package/package.json +5 -3
- package/public-api.d.ts +1 -0
- package/public-api.d.ts.map +1 -0
|
@@ -5,8 +5,8 @@ import { CommonModule } from '@angular/common';
|
|
|
5
5
|
import * as i1$2 from '@angular/router';
|
|
6
6
|
import { RouterModule } from '@angular/router';
|
|
7
7
|
import { map, BehaviorSubject, finalize, catchError, of } from 'rxjs';
|
|
8
|
-
import { tap } from 'rxjs/operators';
|
|
9
8
|
import * as i1 from '@angular/common/http';
|
|
9
|
+
import { tap } from 'rxjs/operators';
|
|
10
10
|
|
|
11
11
|
var UIScreenIdentifier;
|
|
12
12
|
(function (UIScreenIdentifier) {
|
|
@@ -64,8 +64,6 @@ function isSduiUrl(rawUrl) {
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
class UIScreenService {
|
|
67
|
-
http;
|
|
68
|
-
baseUrl;
|
|
69
67
|
constructor(http, baseUrl = '') {
|
|
70
68
|
this.http = http;
|
|
71
69
|
this.baseUrl = baseUrl;
|
|
@@ -191,10 +189,10 @@ class UIScreenService {
|
|
|
191
189
|
: null,
|
|
192
190
|
};
|
|
193
191
|
}
|
|
194
|
-
static
|
|
195
|
-
static
|
|
192
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UIScreenService, deps: [{ token: i1.HttpClient }, { token: SDUI_BASE_URL, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
193
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UIScreenService, providedIn: 'root' }); }
|
|
196
194
|
}
|
|
197
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
195
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UIScreenService, decorators: [{
|
|
198
196
|
type: Injectable,
|
|
199
197
|
args: [{
|
|
200
198
|
providedIn: 'root',
|
|
@@ -208,24 +206,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImpor
|
|
|
208
206
|
|
|
209
207
|
const SDUI_URL_PARAM = 'sduiUrl';
|
|
210
208
|
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
209
|
constructor(uiScreenService, location //private router: Router, //private route: ActivatedRoute
|
|
226
210
|
) {
|
|
227
211
|
this.uiScreenService = uiScreenService;
|
|
228
212
|
this.location = location;
|
|
213
|
+
this.uiScreenSubject = new BehaviorSubject(null);
|
|
214
|
+
this.isLoadingSubject = new BehaviorSubject(false);
|
|
215
|
+
this.errorSubject = new BehaviorSubject(null);
|
|
216
|
+
this.navigationHistorySubject = new BehaviorSubject([]);
|
|
217
|
+
this.canGoBackSubject = new BehaviorSubject(false);
|
|
218
|
+
this.currentUrlSubject = new BehaviorSubject(null);
|
|
219
|
+
this.uiScreen$ = this.uiScreenSubject.asObservable();
|
|
220
|
+
this.isLoading$ = this.isLoadingSubject.asObservable();
|
|
221
|
+
this.error$ = this.errorSubject.asObservable();
|
|
222
|
+
this.navigationHistory$ = this.navigationHistorySubject.asObservable();
|
|
223
|
+
this.canGoBack$ = this.canGoBackSubject.asObservable();
|
|
224
|
+
this.currentUrl$ = this.currentUrlSubject.asObservable();
|
|
229
225
|
console.debug('[UIScreenViewModel] Inicializado');
|
|
230
226
|
}
|
|
231
227
|
/**
|
|
@@ -291,10 +287,10 @@ class UIScreenViewModel {
|
|
|
291
287
|
canGoBack() {
|
|
292
288
|
return this.navigationHistorySubject.getValue().length > 1;
|
|
293
289
|
}
|
|
294
|
-
static
|
|
295
|
-
static
|
|
290
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UIScreenViewModel, deps: [{ token: UIScreenService }, { token: i1$1.Location }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
291
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UIScreenViewModel, providedIn: 'root' }); }
|
|
296
292
|
}
|
|
297
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
293
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UIScreenViewModel, decorators: [{
|
|
298
294
|
type: Injectable,
|
|
299
295
|
args: [{
|
|
300
296
|
providedIn: 'root',
|
|
@@ -329,11 +325,6 @@ const componentMapping = {
|
|
|
329
325
|
};
|
|
330
326
|
|
|
331
327
|
class UIComponentComponent {
|
|
332
|
-
injector;
|
|
333
|
-
cdr;
|
|
334
|
-
uiComponent;
|
|
335
|
-
componentToRender;
|
|
336
|
-
componentInjector;
|
|
337
328
|
constructor(injector, cdr) {
|
|
338
329
|
this.injector = injector;
|
|
339
330
|
this.cdr = cdr;
|
|
@@ -360,10 +351,10 @@ class UIComponentComponent {
|
|
|
360
351
|
parent: this.injector,
|
|
361
352
|
});
|
|
362
353
|
}
|
|
363
|
-
static
|
|
364
|
-
static
|
|
354
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UIComponentComponent, deps: [{ token: i0.Injector }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
355
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: UIComponentComponent, selector: "edm-sdui-component", inputs: { uiComponent: "uiComponent" }, usesOnChanges: true, ngImport: i0, template: "<ng-container *ngIf=\"componentToRender\">\n <ng-container\n *ngComponentOutlet=\"componentToRender; injector: componentInjector\"\n ></ng-container>\n</ng-container>\n", styles: [":host{display:contents}\n"], dependencies: [{ kind: "directive", type: i1$1.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
365
356
|
}
|
|
366
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
357
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UIComponentComponent, decorators: [{
|
|
367
358
|
type: Component,
|
|
368
359
|
args: [{ selector: 'edm-sdui-component', standalone: false, template: "<ng-container *ngIf=\"componentToRender\">\n <ng-container\n *ngComponentOutlet=\"componentToRender; injector: componentInjector\"\n ></ng-container>\n</ng-container>\n", styles: [":host{display:contents}\n"] }]
|
|
369
360
|
}], ctorParameters: () => [{ type: i0.Injector }, { type: i0.ChangeDetectorRef }], propDecorators: { uiComponent: [{
|
|
@@ -371,11 +362,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImpor
|
|
|
371
362
|
}] } });
|
|
372
363
|
|
|
373
364
|
class UINavigationComponent {
|
|
374
|
-
|
|
375
|
-
static
|
|
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"] }] });
|
|
365
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UINavigationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
366
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: UINavigationComponent, selector: "edm-sdui-navigation", inputs: { uiNavigation: "uiNavigation" }, ngImport: i0, template: "<div class=\"nav\" *ngIf=\"uiNavigation\">\n <h1 *ngIf=\"uiNavigation.title\">{{ uiNavigation.title }}</h1>\n\n <edm-sdui-component\n [uiComponent]=\"uiNavigation.titleComponent\"\n *ngIf=\"uiNavigation.titleComponent\"\n ></edm-sdui-component>\n</div>\n", styles: [":host{display:contents}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: UIComponentComponent, selector: "edm-sdui-component", inputs: ["uiComponent"] }] }); }
|
|
377
367
|
}
|
|
378
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
368
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UINavigationComponent, decorators: [{
|
|
379
369
|
type: Component,
|
|
380
370
|
args: [{ selector: 'edm-sdui-navigation', standalone: false, template: "<div class=\"nav\" *ngIf=\"uiNavigation\">\n <h1 *ngIf=\"uiNavigation.title\">{{ uiNavigation.title }}</h1>\n\n <edm-sdui-component\n [uiComponent]=\"uiNavigation.titleComponent\"\n *ngIf=\"uiNavigation.titleComponent\"\n ></edm-sdui-component>\n</div>\n", styles: [":host{display:contents}\n"] }]
|
|
381
371
|
}], propDecorators: { uiNavigation: [{
|
|
@@ -383,16 +373,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImpor
|
|
|
383
373
|
}] } });
|
|
384
374
|
|
|
385
375
|
class SingleColumnLayoutComponent {
|
|
386
|
-
uiLayout;
|
|
387
376
|
ngOnChanges(changes) {
|
|
388
377
|
if (changes['uiLayout']) {
|
|
389
378
|
console.debug('[SingleColumnLayout] Novo layout recebido:', changes['uiLayout'].currentValue);
|
|
390
379
|
}
|
|
391
380
|
}
|
|
392
|
-
static
|
|
393
|
-
static
|
|
381
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SingleColumnLayoutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
382
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: SingleColumnLayoutComponent, selector: "edm-sdui-single-column-layout", inputs: { uiLayout: "uiLayout" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"single-column-layout\" *ngIf=\"!!uiLayout\">\n <!-- <pre>{{ uiLayout | json }}</pre> -->\n\n <edm-sdui-navigation [uiNavigation]=\"uiLayout.nav\"></edm-sdui-navigation>\n\n <div class=\"header\" *ngIf=\"!!uiLayout?.header\">\n <edm-sdui-component [uiComponent]=\"uiLayout.header\"></edm-sdui-component>\n </div>\n\n <div class=\"scrollview\" *ngIf=\"!!uiLayout?.main\">\n <div class=\"main\">\n <edm-sdui-component\n *ngIf=\"!!uiLayout?.main\"\n [uiComponent]=\"uiLayout.main\"\n ></edm-sdui-component>\n </div>\n </div>\n\n <div class=\"footer\" *ngIf=\"!!uiLayout?.footer\">\n <edm-sdui-component [uiComponent]=\"uiLayout.footer\"></edm-sdui-component>\n </div>\n</div>\n", styles: [":host{display:contents}.single-column-layout{display:flex;flex-direction:column;width:100vw;min-height:100vh;position:relative}.single-column-layout .header{position:fixed;top:0;left:0;width:100%;z-index:100}.single-column-layout .scrollview .main{flex:1;display:flex;align-items:center;justify-content:center;margin-top:var(--header-height, 64px);margin-bottom:var(--footer-height, 64px)}.single-column-layout .footer{position:fixed;bottom:0;left:0;width:100%;z-index:100}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: UINavigationComponent, selector: "edm-sdui-navigation", inputs: ["uiNavigation"] }, { kind: "component", type: UIComponentComponent, selector: "edm-sdui-component", inputs: ["uiComponent"] }] }); }
|
|
394
383
|
}
|
|
395
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
384
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SingleColumnLayoutComponent, decorators: [{
|
|
396
385
|
type: Component,
|
|
397
386
|
args: [{ selector: 'edm-sdui-single-column-layout', standalone: false, template: "<div class=\"single-column-layout\" *ngIf=\"!!uiLayout\">\n <!-- <pre>{{ uiLayout | json }}</pre> -->\n\n <edm-sdui-navigation [uiNavigation]=\"uiLayout.nav\"></edm-sdui-navigation>\n\n <div class=\"header\" *ngIf=\"!!uiLayout?.header\">\n <edm-sdui-component [uiComponent]=\"uiLayout.header\"></edm-sdui-component>\n </div>\n\n <div class=\"scrollview\" *ngIf=\"!!uiLayout?.main\">\n <div class=\"main\">\n <edm-sdui-component\n *ngIf=\"!!uiLayout?.main\"\n [uiComponent]=\"uiLayout.main\"\n ></edm-sdui-component>\n </div>\n </div>\n\n <div class=\"footer\" *ngIf=\"!!uiLayout?.footer\">\n <edm-sdui-component [uiComponent]=\"uiLayout.footer\"></edm-sdui-component>\n </div>\n</div>\n", styles: [":host{display:contents}.single-column-layout{display:flex;flex-direction:column;width:100vw;min-height:100vh;position:relative}.single-column-layout .header{position:fixed;top:0;left:0;width:100%;z-index:100}.single-column-layout .scrollview .main{flex:1;display:flex;align-items:center;justify-content:center;margin-top:var(--header-height, 64px);margin-bottom:var(--footer-height, 64px)}.single-column-layout .footer{position:fixed;bottom:0;left:0;width:100%;z-index:100}\n"] }]
|
|
398
387
|
}], propDecorators: { uiLayout: [{
|
|
@@ -400,16 +389,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImpor
|
|
|
400
389
|
}] } });
|
|
401
390
|
|
|
402
391
|
class CenteredContentLayoutComponent {
|
|
403
|
-
uiLayout;
|
|
404
392
|
ngOnChanges(changes) {
|
|
405
393
|
if (changes['uiLayout']) {
|
|
406
394
|
console.debug('[CenteredContentLayoutComponent] Novo layout recebido:', changes['uiLayout'].currentValue);
|
|
407
395
|
}
|
|
408
396
|
}
|
|
409
|
-
static
|
|
410
|
-
static
|
|
397
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CenteredContentLayoutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
398
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: CenteredContentLayoutComponent, selector: "edm-sdui-centered-content-layout", inputs: { uiLayout: "uiLayout" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"centered-content-layout\" *ngIf=\"!!uiLayout\">\n <!-- <pre>{{ uiLayout | json }}</pre> -->\n\n <edm-sdui-navigation [uiNavigation]=\"uiLayout.nav\"></edm-sdui-navigation>\n\n <div class=\"header\" *ngIf=\"!!uiLayout?.header\">\n <edm-sdui-component [uiComponent]=\"uiLayout.header\"></edm-sdui-component>\n </div>\n\n <div class=\"centered\">\n <edm-sdui-component\n *ngIf=\"!!uiLayout?.centered\"\n [uiComponent]=\"uiLayout.centered\"\n ></edm-sdui-component>\n </div>\n\n <div class=\"footer\" *ngIf=\"!!uiLayout?.footer\">\n <edm-sdui-component [uiComponent]=\"uiLayout.footer\"></edm-sdui-component>\n </div>\n</div>\n", styles: [":host{display:contents}.centered-content-layout{display:flex;flex-direction:column;width:100vw;min-height:100vh;position:relative}.centered-content-layout .header{position:fixed;top:0;left:0;width:100%;z-index:100}.centered-content-layout .centered{flex:1;display:flex;align-items:center;justify-content:center;margin-top:var(--header-height, 64px);margin-bottom:var(--footer-height, 64px)}.centered-content-layout .footer{position:fixed;bottom:0;left:0;width:100%;z-index:100}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: UINavigationComponent, selector: "edm-sdui-navigation", inputs: ["uiNavigation"] }, { kind: "component", type: UIComponentComponent, selector: "edm-sdui-component", inputs: ["uiComponent"] }] }); }
|
|
411
399
|
}
|
|
412
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
400
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CenteredContentLayoutComponent, decorators: [{
|
|
413
401
|
type: Component,
|
|
414
402
|
args: [{ selector: 'edm-sdui-centered-content-layout', standalone: false, template: "<div class=\"centered-content-layout\" *ngIf=\"!!uiLayout\">\n <!-- <pre>{{ uiLayout | json }}</pre> -->\n\n <edm-sdui-navigation [uiNavigation]=\"uiLayout.nav\"></edm-sdui-navigation>\n\n <div class=\"header\" *ngIf=\"!!uiLayout?.header\">\n <edm-sdui-component [uiComponent]=\"uiLayout.header\"></edm-sdui-component>\n </div>\n\n <div class=\"centered\">\n <edm-sdui-component\n *ngIf=\"!!uiLayout?.centered\"\n [uiComponent]=\"uiLayout.centered\"\n ></edm-sdui-component>\n </div>\n\n <div class=\"footer\" *ngIf=\"!!uiLayout?.footer\">\n <edm-sdui-component [uiComponent]=\"uiLayout.footer\"></edm-sdui-component>\n </div>\n</div>\n", styles: [":host{display:contents}.centered-content-layout{display:flex;flex-direction:column;width:100vw;min-height:100vh;position:relative}.centered-content-layout .header{position:fixed;top:0;left:0;width:100%;z-index:100}.centered-content-layout .centered{flex:1;display:flex;align-items:center;justify-content:center;margin-top:var(--header-height, 64px);margin-bottom:var(--footer-height, 64px)}.centered-content-layout .footer{position:fixed;bottom:0;left:0;width:100%;z-index:100}\n"] }]
|
|
415
403
|
}], propDecorators: { uiLayout: [{
|
|
@@ -762,7 +750,6 @@ var UIActionType;
|
|
|
762
750
|
})(UIActionType || (UIActionType = {}));
|
|
763
751
|
|
|
764
752
|
class UIActionService {
|
|
765
|
-
router;
|
|
766
753
|
constructor(router) {
|
|
767
754
|
this.router = router;
|
|
768
755
|
}
|
|
@@ -789,28 +776,22 @@ class UIActionService {
|
|
|
789
776
|
// Outros tipos de ação podem ser adicionados aqui
|
|
790
777
|
}
|
|
791
778
|
}
|
|
792
|
-
static
|
|
793
|
-
static
|
|
779
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UIActionService, deps: [{ token: i1$2.Router }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
780
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UIActionService, providedIn: 'root' }); }
|
|
794
781
|
}
|
|
795
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
782
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UIActionService, decorators: [{
|
|
796
783
|
type: Injectable,
|
|
797
784
|
args: [{ providedIn: 'root' }]
|
|
798
785
|
}], ctorParameters: () => [{ type: i1$2.Router }] });
|
|
799
786
|
|
|
800
787
|
class UIViewDirective {
|
|
801
|
-
elementRef;
|
|
802
|
-
renderer;
|
|
803
|
-
router;
|
|
804
|
-
actionService;
|
|
805
|
-
screenViewModel;
|
|
806
|
-
edmSduiView;
|
|
807
|
-
disableClick = false;
|
|
808
788
|
constructor(elementRef, renderer, router, actionService, screenViewModel) {
|
|
809
789
|
this.elementRef = elementRef;
|
|
810
790
|
this.renderer = renderer;
|
|
811
791
|
this.router = router;
|
|
812
792
|
this.actionService = actionService;
|
|
813
793
|
this.screenViewModel = screenViewModel;
|
|
794
|
+
this.disableClick = false;
|
|
814
795
|
}
|
|
815
796
|
ngOnChanges(changes) {
|
|
816
797
|
if (this.edmSduiView) {
|
|
@@ -910,10 +891,10 @@ class UIViewDirective {
|
|
|
910
891
|
this.actionService.execute(this.edmSduiView.action);
|
|
911
892
|
}
|
|
912
893
|
}
|
|
913
|
-
static
|
|
914
|
-
static
|
|
894
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UIViewDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1$2.Router }, { token: UIActionService }, { token: UIScreenViewModel, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
895
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: UIViewDirective, selector: "[edmSduiView]", inputs: { edmSduiView: "edmSduiView", disableClick: "disableClick" }, host: { listeners: { "click": "onClick($event)" } }, usesOnChanges: true, ngImport: i0 }); }
|
|
915
896
|
}
|
|
916
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
897
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UIViewDirective, decorators: [{
|
|
917
898
|
type: Directive,
|
|
918
899
|
args: [{
|
|
919
900
|
selector: '[edmSduiView]',
|
|
@@ -931,7 +912,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImpor
|
|
|
931
912
|
}] } });
|
|
932
913
|
|
|
933
914
|
class NavigationControlsComponent {
|
|
934
|
-
viewModel;
|
|
935
915
|
constructor(viewModel) {
|
|
936
916
|
this.viewModel = viewModel;
|
|
937
917
|
}
|
|
@@ -945,40 +925,38 @@ class NavigationControlsComponent {
|
|
|
945
925
|
console.debug('[NavigationControls] Botão de voltar clicado');
|
|
946
926
|
this.viewModel.goBack();
|
|
947
927
|
}
|
|
948
|
-
static
|
|
949
|
-
static
|
|
928
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NavigationControlsComponent, deps: [{ token: UIScreenViewModel }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
929
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: NavigationControlsComponent, selector: "edm-sdui-navigation-controls", ngImport: i0, template: "<div class=\"navigation-controls\">\n <button\n class=\"back-button\"\n [disabled]=\"!(viewModel.canGoBack$ | async)\"\n (click)=\"goBack()\"\n >\n <span class=\"material-icons\">arrow_back</span>\n </button>\n</div>\n", styles: [":host{display:contents}.navigation-controls{display:flex;gap:8px}.navigation-controls button{display:flex;align-items:center;justify-content:center;padding:8px;border-radius:4px;border:1px solid #e0e0e0;background-color:#f5f5f5;cursor:pointer;transition:all .2s ease}.navigation-controls button:hover:not(:disabled){background-color:#e8e8e8}.navigation-controls button:disabled{opacity:.5;cursor:not-allowed}.navigation-controls button .material-icons{font-size:18px;color:#444}\n"], dependencies: [{ kind: "pipe", type: i1$1.AsyncPipe, name: "async" }] }); }
|
|
950
930
|
}
|
|
951
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
931
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NavigationControlsComponent, decorators: [{
|
|
952
932
|
type: Component,
|
|
953
933
|
args: [{ selector: 'edm-sdui-navigation-controls', standalone: false, template: "<div class=\"navigation-controls\">\n <button\n class=\"back-button\"\n [disabled]=\"!(viewModel.canGoBack$ | async)\"\n (click)=\"goBack()\"\n >\n <span class=\"material-icons\">arrow_back</span>\n </button>\n</div>\n", styles: [":host{display:contents}.navigation-controls{display:flex;gap:8px}.navigation-controls button{display:flex;align-items:center;justify-content:center;padding:8px;border-radius:4px;border:1px solid #e0e0e0;background-color:#f5f5f5;cursor:pointer;transition:all .2s ease}.navigation-controls button:hover:not(:disabled){background-color:#e8e8e8}.navigation-controls button:disabled{opacity:.5;cursor:not-allowed}.navigation-controls button .material-icons{font-size:18px;color:#444}\n"] }]
|
|
954
934
|
}], ctorParameters: () => [{ type: UIScreenViewModel }] });
|
|
955
935
|
|
|
956
936
|
class UIScreenComponent {
|
|
957
|
-
viewModel;
|
|
958
|
-
UIScreenIdentifier = UIScreenIdentifier;
|
|
959
937
|
constructor(viewModel) {
|
|
960
938
|
this.viewModel = viewModel;
|
|
939
|
+
this.UIScreenIdentifier = UIScreenIdentifier;
|
|
961
940
|
}
|
|
962
|
-
static
|
|
963
|
-
static
|
|
941
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UIScreenComponent, deps: [{ token: UIScreenViewModel }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
942
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: UIScreenComponent, selector: "edm-sdui-uiscreen", ngImport: i0, template: "<div *ngIf=\"viewModel.isLoading$ | async\"><p>Carregando...</p></div>\n\n<div *ngIf=\"viewModel.error$ | async as errorMessage\">\n <p class=\"error-label\">Erro: {{ errorMessage }}</p>\n</div>\n\n<div\n class=\"ui-screen\"\n *ngIf=\"viewModel.uiScreen$ | async as uiScreen\"\n [edmSduiView]=\"uiScreen\"\n>\n <edm-sdui-navigation-controls\n [edmSduiView]=\"uiScreen\"\n ></edm-sdui-navigation-controls>\n\n <ng-container [ngSwitch]=\"uiScreen.identifier\">\n <edm-sdui-single-column-layout\n *ngSwitchCase=\"UIScreenIdentifier.SINGLE_COLUMN\"\n [uiLayout]=\"uiScreen.content\"\n >\n </edm-sdui-single-column-layout>\n\n <edm-sdui-centered-content-layout\n *ngSwitchCase=\"UIScreenIdentifier.CENTERED_CONTENT\"\n [uiLayout]=\"uiScreen.content\"\n >\n </edm-sdui-centered-content-layout>\n </ng-container>\n</div>\n", styles: [":host{display:contents}.ui-screen{width:100vw;min-height:100vh}.error-label{color:var(--input-error)}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: SingleColumnLayoutComponent, selector: "edm-sdui-single-column-layout", inputs: ["uiLayout"] }, { kind: "component", type: CenteredContentLayoutComponent, selector: "edm-sdui-centered-content-layout", inputs: ["uiLayout"] }, { kind: "directive", type: UIViewDirective, selector: "[edmSduiView]", inputs: ["edmSduiView", "disableClick"] }, { kind: "component", type: NavigationControlsComponent, selector: "edm-sdui-navigation-controls" }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }] }); }
|
|
964
943
|
}
|
|
965
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
944
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UIScreenComponent, decorators: [{
|
|
966
945
|
type: Component,
|
|
967
946
|
args: [{ selector: 'edm-sdui-uiscreen', standalone: false, template: "<div *ngIf=\"viewModel.isLoading$ | async\"><p>Carregando...</p></div>\n\n<div *ngIf=\"viewModel.error$ | async as errorMessage\">\n <p class=\"error-label\">Erro: {{ errorMessage }}</p>\n</div>\n\n<div\n class=\"ui-screen\"\n *ngIf=\"viewModel.uiScreen$ | async as uiScreen\"\n [edmSduiView]=\"uiScreen\"\n>\n <edm-sdui-navigation-controls\n [edmSduiView]=\"uiScreen\"\n ></edm-sdui-navigation-controls>\n\n <ng-container [ngSwitch]=\"uiScreen.identifier\">\n <edm-sdui-single-column-layout\n *ngSwitchCase=\"UIScreenIdentifier.SINGLE_COLUMN\"\n [uiLayout]=\"uiScreen.content\"\n >\n </edm-sdui-single-column-layout>\n\n <edm-sdui-centered-content-layout\n *ngSwitchCase=\"UIScreenIdentifier.CENTERED_CONTENT\"\n [uiLayout]=\"uiScreen.content\"\n >\n </edm-sdui-centered-content-layout>\n </ng-container>\n</div>\n", styles: [":host{display:contents}.ui-screen{width:100vw;min-height:100vh}.error-label{color:var(--input-error)}\n"] }]
|
|
968
947
|
}], ctorParameters: () => [{ type: UIScreenViewModel }] });
|
|
969
948
|
|
|
970
949
|
class RowComponent {
|
|
971
|
-
uiComponent;
|
|
972
950
|
constructor(uiComponent) {
|
|
973
951
|
this.uiComponent = uiComponent;
|
|
974
952
|
}
|
|
975
953
|
ngOnInit() {
|
|
976
954
|
// console.debug('row.uiComponent: ', this.uiComponent);
|
|
977
955
|
}
|
|
978
|
-
static
|
|
979
|
-
static
|
|
956
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: RowComponent, deps: [{ token: 'uiComponent' }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
957
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: RowComponent, selector: "edm-sdui-row", ngImport: i0, template: "<div class=\"row\" *ngIf=\"uiComponent\" [edmSduiView]=\"uiComponent.element\">\n <edm-sdui-component\n *ngFor=\"let component of uiComponent.components\"\n [uiComponent]=\"component\"\n >\n </edm-sdui-component>\n</div>\n", styles: [":host{display:contents}.row{display:flex;flex-direction:row}\n"], dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: UIComponentComponent, selector: "edm-sdui-component", inputs: ["uiComponent"] }, { kind: "directive", type: UIViewDirective, selector: "[edmSduiView]", inputs: ["edmSduiView", "disableClick"] }] }); }
|
|
980
958
|
}
|
|
981
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
959
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: RowComponent, decorators: [{
|
|
982
960
|
type: Component,
|
|
983
961
|
args: [{ selector: 'edm-sdui-row', standalone: false, template: "<div class=\"row\" *ngIf=\"uiComponent\" [edmSduiView]=\"uiComponent.element\">\n <edm-sdui-component\n *ngFor=\"let component of uiComponent.components\"\n [uiComponent]=\"component\"\n >\n </edm-sdui-component>\n</div>\n", styles: [":host{display:contents}.row{display:flex;flex-direction:row}\n"] }]
|
|
984
962
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
@@ -992,17 +970,16 @@ var row_component = /*#__PURE__*/Object.freeze({
|
|
|
992
970
|
});
|
|
993
971
|
|
|
994
972
|
class ColumnComponent {
|
|
995
|
-
uiComponent;
|
|
996
973
|
constructor(uiComponent) {
|
|
997
974
|
this.uiComponent = uiComponent;
|
|
998
975
|
}
|
|
999
976
|
ngOnInit() {
|
|
1000
977
|
// console.debug('column.uiComponent: ', this.uiComponent);
|
|
1001
978
|
}
|
|
1002
|
-
static
|
|
1003
|
-
static
|
|
979
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ColumnComponent, deps: [{ token: 'uiComponent' }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
980
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: ColumnComponent, selector: "edm-sdui-column", ngImport: i0, template: "<div class=\"column\" *ngIf=\"uiComponent\" [edmSduiView]=\"uiComponent.element\">\n <edm-sdui-component\n *ngFor=\"let child of uiComponent.components\"\n [uiComponent]=\"child\"\n >\n </edm-sdui-component>\n</div>\n", styles: [":host{display:contents}.column{display:flex;flex-direction:column;width:100%}\n"], dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: UIComponentComponent, selector: "edm-sdui-component", inputs: ["uiComponent"] }, { kind: "directive", type: UIViewDirective, selector: "[edmSduiView]", inputs: ["edmSduiView", "disableClick"] }] }); }
|
|
1004
981
|
}
|
|
1005
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
982
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ColumnComponent, decorators: [{
|
|
1006
983
|
type: Component,
|
|
1007
984
|
args: [{ selector: 'edm-sdui-column', standalone: false, template: "<div class=\"column\" *ngIf=\"uiComponent\" [edmSduiView]=\"uiComponent.element\">\n <edm-sdui-component\n *ngFor=\"let child of uiComponent.components\"\n [uiComponent]=\"child\"\n >\n </edm-sdui-component>\n</div>\n", styles: [":host{display:contents}.column{display:flex;flex-direction:column;width:100%}\n"] }]
|
|
1008
985
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
@@ -1045,9 +1022,6 @@ const textStyleMappingFontSize = {
|
|
|
1045
1022
|
};
|
|
1046
1023
|
|
|
1047
1024
|
class LabelComponent {
|
|
1048
|
-
uiComponent;
|
|
1049
|
-
renderer;
|
|
1050
|
-
spanElementRef;
|
|
1051
1025
|
constructor(uiComponent, renderer) {
|
|
1052
1026
|
this.uiComponent = uiComponent;
|
|
1053
1027
|
this.renderer = renderer;
|
|
@@ -1076,10 +1050,10 @@ class LabelComponent {
|
|
|
1076
1050
|
this.renderer.setStyle(this.spanElementRef.nativeElement, 'opacity', opacity);
|
|
1077
1051
|
}
|
|
1078
1052
|
}
|
|
1079
|
-
static
|
|
1080
|
-
static
|
|
1053
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: LabelComponent, deps: [{ token: 'uiComponent' }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1054
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: LabelComponent, selector: "edm-sdui-label", viewQueries: [{ propertyName: "spanElementRef", first: true, predicate: ["spanElement"], descendants: true }], ngImport: i0, template: "<span #spanElement [edmSduiView]=\"uiComponent.element\" *ngIf=\"uiComponent\">{{\n uiComponent.element?.label ?? \"\"\n}}</span>\n", styles: [":host{display:contents}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: UIViewDirective, selector: "[edmSduiView]", inputs: ["edmSduiView", "disableClick"] }] }); }
|
|
1081
1055
|
}
|
|
1082
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1056
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: LabelComponent, decorators: [{
|
|
1083
1057
|
type: Component,
|
|
1084
1058
|
args: [{ selector: 'edm-sdui-label', standalone: false, template: "<span #spanElement [edmSduiView]=\"uiComponent.element\" *ngIf=\"uiComponent\">{{\n uiComponent.element?.label ?? \"\"\n}}</span>\n", styles: [":host{display:contents}\n"] }]
|
|
1085
1059
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
@@ -1096,17 +1070,16 @@ var label_component = /*#__PURE__*/Object.freeze({
|
|
|
1096
1070
|
});
|
|
1097
1071
|
|
|
1098
1072
|
class SpaceComponent {
|
|
1099
|
-
uiComponent;
|
|
1100
1073
|
constructor(uiComponent) {
|
|
1101
1074
|
this.uiComponent = uiComponent;
|
|
1102
1075
|
}
|
|
1103
1076
|
ngOnInit() {
|
|
1104
1077
|
// console.debug('space.uiComponent: ', this.uiComponent);
|
|
1105
1078
|
}
|
|
1106
|
-
static
|
|
1107
|
-
static
|
|
1079
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SpaceComponent, deps: [{ token: 'uiComponent' }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1080
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: SpaceComponent, 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
1081
|
}
|
|
1109
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1082
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SpaceComponent, decorators: [{
|
|
1110
1083
|
type: Component,
|
|
1111
1084
|
args: [{ selector: 'edm-sdui-space', standalone: false, template: "<div class=\"space\"></div>\n", styles: [":host{display:contents}.space{flex-grow:1;flex-shrink:1;min-height:1px;min-width:1px}\n"] }]
|
|
1112
1085
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
@@ -1120,17 +1093,16 @@ var space_component = /*#__PURE__*/Object.freeze({
|
|
|
1120
1093
|
});
|
|
1121
1094
|
|
|
1122
1095
|
class ZStackComponent {
|
|
1123
|
-
uiComponent;
|
|
1124
1096
|
constructor(uiComponent) {
|
|
1125
1097
|
this.uiComponent = uiComponent;
|
|
1126
1098
|
}
|
|
1127
1099
|
ngOnInit() {
|
|
1128
1100
|
// console.debug('zstack.uiComponent: ', this.uiComponent);
|
|
1129
1101
|
}
|
|
1130
|
-
static
|
|
1131
|
-
static
|
|
1102
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ZStackComponent, deps: [{ token: 'uiComponent' }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1103
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: ZStackComponent, selector: "edm-sdui-zstack", ngImport: i0, template: "<div class=\"zstack\" *ngIf=\"uiComponent\" [edmSduiView]=\"uiComponent.element\">\n <edm-sdui-component\n *ngFor=\"let child of uiComponent.components\"\n [uiComponent]=\"child\"\n ></edm-sdui-component>\n</div>\n", styles: [":host{display:contents}.zstack{display:grid;place-items:center}.zstack>*{grid-area:1/1}\n"], dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: UIComponentComponent, selector: "edm-sdui-component", inputs: ["uiComponent"] }, { kind: "directive", type: UIViewDirective, selector: "[edmSduiView]", inputs: ["edmSduiView", "disableClick"] }] }); }
|
|
1132
1104
|
}
|
|
1133
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1105
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ZStackComponent, decorators: [{
|
|
1134
1106
|
type: Component,
|
|
1135
1107
|
args: [{ selector: 'edm-sdui-zstack', standalone: false, template: "<div class=\"zstack\" *ngIf=\"uiComponent\" [edmSduiView]=\"uiComponent.element\">\n <edm-sdui-component\n *ngFor=\"let child of uiComponent.components\"\n [uiComponent]=\"child\"\n ></edm-sdui-component>\n</div>\n", styles: [":host{display:contents}.zstack{display:grid;place-items:center}.zstack>*{grid-area:1/1}\n"] }]
|
|
1136
1108
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
@@ -1144,17 +1116,16 @@ var zstack_component = /*#__PURE__*/Object.freeze({
|
|
|
1144
1116
|
});
|
|
1145
1117
|
|
|
1146
1118
|
class RowDivisorComponent {
|
|
1147
|
-
uiComponent;
|
|
1148
1119
|
constructor(uiComponent) {
|
|
1149
1120
|
this.uiComponent = uiComponent;
|
|
1150
1121
|
}
|
|
1151
1122
|
ngOnInit() {
|
|
1152
1123
|
// console.debug('rowDivisor.uiComponent: ', this.uiComponent);
|
|
1153
1124
|
}
|
|
1154
|
-
static
|
|
1155
|
-
static
|
|
1125
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: RowDivisorComponent, deps: [{ token: 'uiComponent' }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1126
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: RowDivisorComponent, 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
1127
|
}
|
|
1157
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1128
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: RowDivisorComponent, decorators: [{
|
|
1158
1129
|
type: Component,
|
|
1159
1130
|
args: [{ selector: 'edm-sdui-row-divisor', standalone: false, template: "<div\n class=\"row-divisor\"\n *ngIf=\"uiComponent\"\n [edmSduiView]=\"uiComponent.element\"\n></div>\n", styles: [":host{display:contents}.row-divisor{height:1px}\n"] }]
|
|
1160
1131
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
@@ -1877,9 +1848,6 @@ const assetMapping = {
|
|
|
1877
1848
|
};
|
|
1878
1849
|
|
|
1879
1850
|
class ButtonComponent {
|
|
1880
|
-
uiComponent;
|
|
1881
|
-
renderer;
|
|
1882
|
-
buttonElementRef;
|
|
1883
1851
|
constructor(uiComponent, renderer) {
|
|
1884
1852
|
this.uiComponent = uiComponent;
|
|
1885
1853
|
this.renderer = renderer;
|
|
@@ -1905,10 +1873,10 @@ class ButtonComponent {
|
|
|
1905
1873
|
getAssetPath(asset) {
|
|
1906
1874
|
return './assets/' + assetMapping[asset];
|
|
1907
1875
|
}
|
|
1908
|
-
static
|
|
1909
|
-
static
|
|
1876
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ButtonComponent, deps: [{ token: 'uiComponent' }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1877
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: ButtonComponent, selector: "edm-sdui-button", viewQueries: [{ propertyName: "buttonElementRef", first: true, predicate: ["buttonElement"], descendants: true }], ngImport: i0, template: "<button #buttonElement [edmSduiView]=\"uiComponent.element\" *ngIf=\"uiComponent\">\n <img *ngIf=\"uiComponent.element.asset\" [src]=\"getAssetPath(uiComponent.element.asset)\" alt=\"\">\n {{ uiComponent.element.label }}\n</button>\n", styles: [":host{display:contents}button{border:none;white-space:nowrap;line-height:1.5;background-color:unset}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: UIViewDirective, selector: "[edmSduiView]", inputs: ["edmSduiView", "disableClick"] }] }); }
|
|
1910
1878
|
}
|
|
1911
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1879
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ButtonComponent, decorators: [{
|
|
1912
1880
|
type: Component,
|
|
1913
1881
|
args: [{ selector: 'edm-sdui-button', standalone: false, template: "<button #buttonElement [edmSduiView]=\"uiComponent.element\" *ngIf=\"uiComponent\">\n <img *ngIf=\"uiComponent.element.asset\" [src]=\"getAssetPath(uiComponent.element.asset)\" alt=\"\">\n {{ uiComponent.element.label }}\n</button>\n", styles: [":host{display:contents}button{border:none;white-space:nowrap;line-height:1.5;background-color:unset}\n"] }]
|
|
1914
1882
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
@@ -1961,9 +1929,6 @@ const sizeMappingWidth = {
|
|
|
1961
1929
|
};
|
|
1962
1930
|
|
|
1963
1931
|
class ImageComponent {
|
|
1964
|
-
uiComponent;
|
|
1965
|
-
renderer;
|
|
1966
|
-
imgElementRef;
|
|
1967
1932
|
constructor(uiComponent, renderer) {
|
|
1968
1933
|
this.uiComponent = uiComponent;
|
|
1969
1934
|
this.renderer = renderer;
|
|
@@ -1991,10 +1956,10 @@ class ImageComponent {
|
|
|
1991
1956
|
this.renderer.setStyle(this.imgElementRef.nativeElement, 'width', width);
|
|
1992
1957
|
}
|
|
1993
1958
|
}
|
|
1994
|
-
static
|
|
1995
|
-
static
|
|
1959
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ImageComponent, deps: [{ token: 'uiComponent' }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1960
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: ImageComponent, 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
1961
|
}
|
|
1997
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1962
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ImageComponent, decorators: [{
|
|
1998
1963
|
type: Component,
|
|
1999
1964
|
args: [{ selector: 'edm-sdui-image', standalone: false, template: "<img #imgElement [edmSduiView]=\"uiComponent.element\" *ngIf=\"uiComponent\" />\n", styles: [":host{display:contents}\n"] }]
|
|
2000
1965
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
@@ -2011,13 +1976,11 @@ var image_component = /*#__PURE__*/Object.freeze({
|
|
|
2011
1976
|
});
|
|
2012
1977
|
|
|
2013
1978
|
class SduiComponent {
|
|
2014
|
-
route;
|
|
2015
|
-
viewModel;
|
|
2016
|
-
currentSduiUrl = null;
|
|
2017
|
-
initialUrl = null;
|
|
2018
1979
|
constructor(route, viewModel) {
|
|
2019
1980
|
this.route = route;
|
|
2020
1981
|
this.viewModel = viewModel;
|
|
1982
|
+
this.currentSduiUrl = null;
|
|
1983
|
+
this.initialUrl = null;
|
|
2021
1984
|
}
|
|
2022
1985
|
ngOnInit() {
|
|
2023
1986
|
this.viewModel.currentUrl$.subscribe((url) => {
|
|
@@ -2045,10 +2008,10 @@ class SduiComponent {
|
|
|
2045
2008
|
validateParam(paramValue) {
|
|
2046
2009
|
return !!paramValue && paramValue.trim() !== '';
|
|
2047
2010
|
}
|
|
2048
|
-
static
|
|
2049
|
-
static
|
|
2011
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SduiComponent, deps: [{ token: i1$2.ActivatedRoute }, { token: UIScreenViewModel }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2012
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: SduiComponent, selector: "edm-sdui", inputs: { initialUrl: "initialUrl" }, ngImport: i0, template: "<div class=\"sdui-container\">\n <edm-sdui-uiscreen *ngIf=\"currentSduiUrl\"></edm-sdui-uiscreen>\n</div>\n", styles: [":host{display:contents}.sdui-container{display:flex;flex-direction:column;min-height:100vh;width:100vw;position:relative}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: UIScreenComponent, selector: "edm-sdui-uiscreen" }] }); }
|
|
2050
2013
|
}
|
|
2051
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2014
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SduiComponent, decorators: [{
|
|
2052
2015
|
type: Component,
|
|
2053
2016
|
args: [{ selector: 'edm-sdui', standalone: false, template: "<div class=\"sdui-container\">\n <edm-sdui-uiscreen *ngIf=\"currentSduiUrl\"></edm-sdui-uiscreen>\n</div>\n", styles: [":host{display:contents}.sdui-container{display:flex;flex-direction:column;min-height:100vh;width:100vw;position:relative}\n"] }]
|
|
2054
2017
|
}], ctorParameters: () => [{ type: i1$2.ActivatedRoute }, { type: UIScreenViewModel }], propDecorators: { initialUrl: [{
|
|
@@ -2066,11 +2029,11 @@ class SduiRoutingModule {
|
|
|
2066
2029
|
providers: [],
|
|
2067
2030
|
};
|
|
2068
2031
|
}
|
|
2069
|
-
static
|
|
2070
|
-
static
|
|
2071
|
-
static
|
|
2032
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SduiRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2033
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: SduiRoutingModule, imports: [i1$2.RouterModule], exports: [RouterModule] }); }
|
|
2034
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SduiRoutingModule, imports: [RouterModule.forChild(defaultRoutes), RouterModule] }); }
|
|
2072
2035
|
}
|
|
2073
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2036
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SduiRoutingModule, decorators: [{
|
|
2074
2037
|
type: NgModule,
|
|
2075
2038
|
args: [{
|
|
2076
2039
|
imports: [RouterModule.forChild(defaultRoutes)],
|
|
@@ -2079,10 +2042,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImpor
|
|
|
2079
2042
|
}] });
|
|
2080
2043
|
|
|
2081
2044
|
class TagComponent {
|
|
2082
|
-
uiComponent;
|
|
2083
|
-
renderer;
|
|
2084
|
-
tagElementRef;
|
|
2085
|
-
tagNameElementRef;
|
|
2086
2045
|
constructor(uiComponent, renderer) {
|
|
2087
2046
|
this.uiComponent = uiComponent;
|
|
2088
2047
|
this.renderer = renderer;
|
|
@@ -2109,10 +2068,10 @@ class TagComponent {
|
|
|
2109
2068
|
this.renderer.setStyle(this.tagNameElementRef.nativeElement, 'font-size', fontSize);
|
|
2110
2069
|
}
|
|
2111
2070
|
}
|
|
2112
|
-
static
|
|
2113
|
-
static
|
|
2071
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: TagComponent, deps: [{ token: 'uiComponent' }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2072
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: TagComponent, selector: "ng-component", viewQueries: [{ propertyName: "tagElementRef", first: true, predicate: ["tagElement"], descendants: true }, { propertyName: "tagNameElementRef", first: true, predicate: ["tagNameElement"], descendants: true }], ngImport: i0, template: "<div class=\"tag\" #tagElement *ngIf=\"uiComponent\" [edmSduiView]=\"uiComponent.element\">\n <span class=\"tag-name\" #tagNameElement>{{ uiComponent.element?.label ?? '' }}</span>\n</div>", styles: [":host{display:contents}.tag{padding:4px 8px}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: UIViewDirective, selector: "[edmSduiView]", inputs: ["edmSduiView", "disableClick"] }] }); }
|
|
2114
2073
|
}
|
|
2115
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2074
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: TagComponent, decorators: [{
|
|
2116
2075
|
type: Component,
|
|
2117
2076
|
args: [{ standalone: false, template: "<div class=\"tag\" #tagElement *ngIf=\"uiComponent\" [edmSduiView]=\"uiComponent.element\">\n <span class=\"tag-name\" #tagNameElement>{{ uiComponent.element?.label ?? '' }}</span>\n</div>", styles: [":host{display:contents}.tag{padding:4px 8px}\n"] }]
|
|
2118
2077
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
@@ -2132,10 +2091,6 @@ var tag_component = /*#__PURE__*/Object.freeze({
|
|
|
2132
2091
|
});
|
|
2133
2092
|
|
|
2134
2093
|
class SearchBarComponent {
|
|
2135
|
-
actionService;
|
|
2136
|
-
uiComponent;
|
|
2137
|
-
renderer;
|
|
2138
|
-
inputElementRef;
|
|
2139
2094
|
constructor(actionService, uiComponent, renderer) {
|
|
2140
2095
|
this.actionService = actionService;
|
|
2141
2096
|
this.uiComponent = uiComponent;
|
|
@@ -2212,10 +2167,10 @@ class SearchBarComponent {
|
|
|
2212
2167
|
this.renderer.appendChild(document.head, styleEl);
|
|
2213
2168
|
}
|
|
2214
2169
|
}
|
|
2215
|
-
static
|
|
2216
|
-
static
|
|
2170
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SearchBarComponent, deps: [{ token: UIActionService }, { token: 'uiComponent' }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2171
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: SearchBarComponent, selector: "edm-sdui-search-bar", viewQueries: [{ propertyName: "inputElementRef", first: true, predicate: ["inputElement"], descendants: true }], ngImport: i0, template: "<input\n #inputElement\n class=\"search-bar\"\n [edmSduiView]=\"uiComponent.element\"\n [disableClick]=\"true\"\n *ngIf=\"uiComponent\"\n/>\n", styles: [".search-bar{width:100vw;margin:1rem;line-height:1.5rem;padding:.25rem .5rem;background-color:var(--bg-search)}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: UIViewDirective, selector: "[edmSduiView]", inputs: ["edmSduiView", "disableClick"] }] }); }
|
|
2217
2172
|
}
|
|
2218
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2173
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SearchBarComponent, decorators: [{
|
|
2219
2174
|
type: Component,
|
|
2220
2175
|
args: [{ standalone: false, selector: 'edm-sdui-search-bar', template: "<input\n #inputElement\n class=\"search-bar\"\n [edmSduiView]=\"uiComponent.element\"\n [disableClick]=\"true\"\n *ngIf=\"uiComponent\"\n/>\n", styles: [".search-bar{width:100vw;margin:1rem;line-height:1.5rem;padding:.25rem .5rem;background-color:var(--bg-search)}\n"] }]
|
|
2221
2176
|
}], ctorParameters: () => [{ type: UIActionService }, { type: undefined, decorators: [{
|
|
@@ -2246,8 +2201,8 @@ class SduiModule {
|
|
|
2246
2201
|
static forRouting(config) {
|
|
2247
2202
|
return SduiRoutingModule.forChild(config?.routePath);
|
|
2248
2203
|
}
|
|
2249
|
-
static
|
|
2250
|
-
static
|
|
2204
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SduiModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2205
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: SduiModule, declarations: [
|
|
2251
2206
|
// UIComposite
|
|
2252
2207
|
UIScreenComponent,
|
|
2253
2208
|
UINavigationComponent,
|
|
@@ -2271,10 +2226,10 @@ class SduiModule {
|
|
|
2271
2226
|
// navegação
|
|
2272
2227
|
NavigationControlsComponent,
|
|
2273
2228
|
// componente base da lib
|
|
2274
|
-
SduiComponent], imports: [CommonModule, RouterModule], exports: [SduiComponent] });
|
|
2275
|
-
static
|
|
2229
|
+
SduiComponent], imports: [CommonModule, RouterModule], exports: [SduiComponent] }); }
|
|
2230
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SduiModule, imports: [CommonModule, RouterModule] }); }
|
|
2276
2231
|
}
|
|
2277
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2232
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SduiModule, decorators: [{
|
|
2278
2233
|
type: NgModule,
|
|
2279
2234
|
args: [{
|
|
2280
2235
|
declarations: [
|