@edm-sdui/sdui 1.0.14 → 1.0.15
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/esm2022/lib/components/uicomponent/button/button.component.mjs +2 -2
- package/esm2022/lib/components/uicomponent/image/image.component.mjs +7 -1
- package/esm2022/lib/components/uicomponent/profile-button/profile-button.component.mjs +2 -2
- package/esm2022/lib/components/uicomponent/progress-bar/progress-bar.component.mjs +2 -2
- package/esm2022/lib/components/uicomponent/zstack/zstack.component.mjs +3 -3
- package/esm2022/lib/core/services/ui-action-handlers.service.mjs +22 -0
- package/esm2022/lib/core/services/ui-action.service.mjs +19 -5
- package/esm2022/lib/core/uitheme/enums/uiaction-type.mjs +2 -1
- package/esm2022/lib/directives/uiview.directive.mjs +17 -1
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/edm-sdui-sdui.mjs +67 -13
- package/fesm2022/edm-sdui-sdui.mjs.map +1 -1
- package/lib/components/uicomponent/image/image.component.d.ts.map +1 -1
- package/lib/core/services/ui-action-handlers.service.d.ts +9 -0
- package/lib/core/services/ui-action-handlers.service.d.ts.map +1 -0
- package/lib/core/services/ui-action.service.d.ts +3 -1
- package/lib/core/services/ui-action.service.d.ts.map +1 -1
- package/lib/core/uitheme/enums/uiaction-type.d.ts +1 -0
- package/lib/core/uitheme/enums/uiaction-type.d.ts.map +1 -1
- package/lib/directives/uiview.directive.d.ts.map +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/public-api.d.ts.map +1 -1
|
@@ -916,6 +916,7 @@ var UIActionType;
|
|
|
916
916
|
UIActionType["RELOAD_INTERNAL_URL"] = "RELOAD_INTERNAL_URL";
|
|
917
917
|
UIActionType["DISMISS_TO_SCENE"] = "DISMISS_TO_SCENE";
|
|
918
918
|
UIActionType["EXTERNAL_URL"] = "EXTERNAL_URL";
|
|
919
|
+
UIActionType["WEBVIEW_URL"] = "WEBVIEW_URL";
|
|
919
920
|
// paywall
|
|
920
921
|
UIActionType["PAYWALL"] = "PAYWALL";
|
|
921
922
|
UIActionType["REGISTER"] = "REGISTER";
|
|
@@ -924,9 +925,30 @@ var UIActionType;
|
|
|
924
925
|
UIActionType["FILE"] = "FILE";
|
|
925
926
|
})(UIActionType || (UIActionType = {}));
|
|
926
927
|
|
|
928
|
+
class UIActionHandlersService {
|
|
929
|
+
registerLogout(handler) {
|
|
930
|
+
this.logoutHandler = handler;
|
|
931
|
+
}
|
|
932
|
+
executeLogout() {
|
|
933
|
+
if (this.logoutHandler) {
|
|
934
|
+
this.logoutHandler();
|
|
935
|
+
}
|
|
936
|
+
else {
|
|
937
|
+
console.warn('Nenhum handler de logout registrado.');
|
|
938
|
+
}
|
|
939
|
+
}
|
|
940
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UIActionHandlersService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
941
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UIActionHandlersService, providedIn: 'root' }); }
|
|
942
|
+
}
|
|
943
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UIActionHandlersService, decorators: [{
|
|
944
|
+
type: Injectable,
|
|
945
|
+
args: [{ providedIn: 'root' }]
|
|
946
|
+
}] });
|
|
947
|
+
|
|
927
948
|
class UIActionService {
|
|
928
|
-
constructor(router) {
|
|
949
|
+
constructor(router, actionHandlers) {
|
|
929
950
|
this.router = router;
|
|
951
|
+
this.actionHandlers = actionHandlers;
|
|
930
952
|
}
|
|
931
953
|
execute(action) {
|
|
932
954
|
if (!action || !action.type)
|
|
@@ -962,7 +984,6 @@ class UIActionService {
|
|
|
962
984
|
break;
|
|
963
985
|
case UIActionType.EXTERNAL_URL:
|
|
964
986
|
if (action.url) {
|
|
965
|
-
console.debug('[UIActionService] Navigating to:', action.url);
|
|
966
987
|
window.open(action.url, '_blank');
|
|
967
988
|
}
|
|
968
989
|
// Outros tipos de ação podem ser adicionados aqui
|
|
@@ -1021,15 +1042,27 @@ class UIActionService {
|
|
|
1021
1042
|
this.router.navigate(['perfil', 'editar'], { queryParams: { from: 'sdui' } });
|
|
1022
1043
|
return true;
|
|
1023
1044
|
}
|
|
1045
|
+
if (url.includes('ranking')) {
|
|
1046
|
+
this.router.navigate(['perfil', 'ranking'], { queryParams: { from: 'sdui' } });
|
|
1047
|
+
return true;
|
|
1048
|
+
}
|
|
1049
|
+
if (url.includes('ranking/rules')) {
|
|
1050
|
+
this.router.navigate(['perfil', 'ranking', 'regras'], { queryParams: { from: 'sdui' } });
|
|
1051
|
+
return true;
|
|
1052
|
+
}
|
|
1053
|
+
if (url.includes('logout')) {
|
|
1054
|
+
this.router.navigate(['logout'], { queryParams: { from: 'sdui' } });
|
|
1055
|
+
return true;
|
|
1056
|
+
}
|
|
1024
1057
|
return false; // nenhum dos casos especiais foi tratado
|
|
1025
1058
|
}
|
|
1026
|
-
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 }); }
|
|
1059
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UIActionService, deps: [{ token: i1$2.Router }, { token: UIActionHandlersService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1027
1060
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UIActionService, providedIn: 'root' }); }
|
|
1028
1061
|
}
|
|
1029
1062
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UIActionService, decorators: [{
|
|
1030
1063
|
type: Injectable,
|
|
1031
1064
|
args: [{ providedIn: 'root' }]
|
|
1032
|
-
}], ctorParameters: () => [{ type: i1$2.Router }] });
|
|
1065
|
+
}], ctorParameters: () => [{ type: i1$2.Router }, { type: UIActionHandlersService }] });
|
|
1033
1066
|
|
|
1034
1067
|
class UIViewDirective {
|
|
1035
1068
|
constructor(elementRef, renderer, router, actionService, screenViewModel) {
|
|
@@ -1136,22 +1169,37 @@ class UIViewDirective {
|
|
|
1136
1169
|
}
|
|
1137
1170
|
}
|
|
1138
1171
|
applyRadius(uiRadius) {
|
|
1172
|
+
let circle = false;
|
|
1139
1173
|
if (uiRadius.topLeft) {
|
|
1140
1174
|
const radius = radiusMapping[uiRadius.topLeft];
|
|
1175
|
+
if (uiRadius.topLeft === UIRadiusLevel.R50) {
|
|
1176
|
+
circle = true;
|
|
1177
|
+
}
|
|
1141
1178
|
this.renderer.setStyle(this.elementRef.nativeElement, 'border-top-left-radius', radius);
|
|
1142
1179
|
}
|
|
1143
1180
|
if (uiRadius.topRight) {
|
|
1144
1181
|
const radius = radiusMapping[uiRadius.topRight];
|
|
1182
|
+
if (uiRadius.topRight === UIRadiusLevel.R50) {
|
|
1183
|
+
circle = true;
|
|
1184
|
+
}
|
|
1145
1185
|
this.renderer.setStyle(this.elementRef.nativeElement, 'border-top-right-radius', radius);
|
|
1146
1186
|
}
|
|
1147
1187
|
if (uiRadius.bottomLeft) {
|
|
1148
1188
|
const radius = radiusMapping[uiRadius.bottomLeft];
|
|
1189
|
+
if (uiRadius.bottomLeft === UIRadiusLevel.R50) {
|
|
1190
|
+
circle = true;
|
|
1191
|
+
}
|
|
1149
1192
|
this.renderer.setStyle(this.elementRef.nativeElement, 'border-bottom-left-radius', radius);
|
|
1150
1193
|
}
|
|
1151
1194
|
if (uiRadius.bottomRight) {
|
|
1152
1195
|
const radius = radiusMapping[uiRadius.bottomRight];
|
|
1196
|
+
if (uiRadius.bottomRight === UIRadiusLevel.R50) {
|
|
1197
|
+
circle = true;
|
|
1198
|
+
}
|
|
1153
1199
|
this.renderer.setStyle(this.elementRef.nativeElement, 'border-bottom-right-radius', radius);
|
|
1154
1200
|
}
|
|
1201
|
+
if (!circle)
|
|
1202
|
+
this.renderer.setStyle(this.elementRef.nativeElement, 'overflow', 'hidden');
|
|
1155
1203
|
}
|
|
1156
1204
|
applySpacing(uiSpacing) {
|
|
1157
1205
|
if (uiSpacing.spacing) {
|
|
@@ -1479,11 +1527,11 @@ class ZStackComponent {
|
|
|
1479
1527
|
// console.debug('zstack.uiComponent: ', this.uiComponent);
|
|
1480
1528
|
}
|
|
1481
1529
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ZStackComponent, deps: [{ token: 'uiComponent' }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1482
|
-
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 <
|
|
1530
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: ZStackComponent, selector: "edm-sdui-zstack", ngImport: i0, template: "<div #zstackElementRef class=\"zstack\" *ngIf=\"uiComponent\" [edmSduiView]=\"uiComponent.element\">\n <ng-container *ngFor=\"let child of uiComponent.components\">\n <div class=\"zstack-child\">\n <edm-sdui-component [uiComponent]=\"child\"></edm-sdui-component>\n </div>\n </ng-container>\n</div>\n", styles: [":host{display:contents}.zstack{display:grid}.zstack-child{grid-area:1/1;display:flex;align-items:center}\n"], dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: UIComponentComponent, selector: "edm-sdui-component", inputs: ["uiComponent", "translateLabel"] }, { kind: "directive", type: UIViewDirective, selector: "[edmSduiView]", inputs: ["edmSduiView", "disableClick"] }] }); }
|
|
1483
1531
|
}
|
|
1484
1532
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ZStackComponent, decorators: [{
|
|
1485
1533
|
type: Component,
|
|
1486
|
-
args: [{ selector: 'edm-sdui-zstack', standalone: false, template: "<div class=\"zstack\" *ngIf=\"uiComponent\" [edmSduiView]=\"uiComponent.element\">\n <
|
|
1534
|
+
args: [{ selector: 'edm-sdui-zstack', standalone: false, template: "<div #zstackElementRef class=\"zstack\" *ngIf=\"uiComponent\" [edmSduiView]=\"uiComponent.element\">\n <ng-container *ngFor=\"let child of uiComponent.components\">\n <div class=\"zstack-child\">\n <edm-sdui-component [uiComponent]=\"child\"></edm-sdui-component>\n </div>\n </ng-container>\n</div>\n", styles: [":host{display:contents}.zstack{display:grid}.zstack-child{grid-area:1/1;display:flex;align-items:center}\n"] }]
|
|
1487
1535
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
1488
1536
|
type: Inject,
|
|
1489
1537
|
args: ['uiComponent']
|
|
@@ -2281,11 +2329,11 @@ class ButtonComponent {
|
|
|
2281
2329
|
return assetMapping[asset];
|
|
2282
2330
|
}
|
|
2283
2331
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ButtonComponent, deps: [{ token: 'uiComponent' }, { token: i0.Renderer2 }, { token: FontSizeMappingService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2284
|
-
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;
|
|
2332
|
+
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;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"] }] }); }
|
|
2285
2333
|
}
|
|
2286
2334
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ButtonComponent, decorators: [{
|
|
2287
2335
|
type: Component,
|
|
2288
|
-
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;
|
|
2336
|
+
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;background-color:unset}\n"] }]
|
|
2289
2337
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
2290
2338
|
type: Inject,
|
|
2291
2339
|
args: ['uiComponent']
|
|
@@ -2366,6 +2414,12 @@ class ImageComponent {
|
|
|
2366
2414
|
this.renderer.setStyle(this.imgElementRef.nativeElement, 'object-fit', 'contain');
|
|
2367
2415
|
}
|
|
2368
2416
|
}
|
|
2417
|
+
if (element.aspect) {
|
|
2418
|
+
this.renderer.setStyle(this.imgElementRef.nativeElement, 'object-fit', element.aspect);
|
|
2419
|
+
}
|
|
2420
|
+
if (element.aspectRatio) {
|
|
2421
|
+
this.renderer.setStyle(this.imgElementRef.nativeElement, 'aspect-ratio', element.aspectRatio);
|
|
2422
|
+
}
|
|
2369
2423
|
}
|
|
2370
2424
|
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 }); }
|
|
2371
2425
|
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"] }] }); }
|
|
@@ -3072,11 +3126,11 @@ class ProfileButtonComponent {
|
|
|
3072
3126
|
return assetMapping[asset];
|
|
3073
3127
|
}
|
|
3074
3128
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ProfileButtonComponent, deps: [{ token: 'uiComponent' }, { token: i0.Renderer2 }, { token: FontSizeMappingService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3075
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: ProfileButtonComponent, selector: "edm-sdui-profile-button", viewQueries: [{ propertyName: "profileButtonElementRef", first: true, predicate: ["profileButtonElement"], descendants: true }, { propertyName: "profileButtonLabelElementRef", first: true, predicate: ["profileButtonLabelElement"], descendants: true }, { propertyName: "profileButtonImageElementRef", first: true, predicate: ["profileButtonImageElement"], descendants: true }], ngImport: i0, template: "<button #profileButtonElement [edmSduiView]=\"uiComponent.element\" class=\"profile-button\" *ngIf=\"uiComponent\">\n <img #profileButtonImageElement *ngIf=\"uiComponent.element.asset\" [src]=\"getAssetPath(uiComponent.element.asset)\" alt=\"Profile\" class=\"profile-image\">\n <span #profileButtonLabelElement class=\"profile-label\">{{ uiComponent.element.label }}</span>\n</button>\n", styles: [":host{display:contents}.profile-button{display:flex;padding:16px 16px 0;border-radius:20px;background-color:var(--bt-profile);border:none;cursor:pointer;flex-direction:column;height:108px;width:108px;align-items:start;justify-content:start;gap:24px
|
|
3129
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: ProfileButtonComponent, selector: "edm-sdui-profile-button", viewQueries: [{ propertyName: "profileButtonElementRef", first: true, predicate: ["profileButtonElement"], descendants: true }, { propertyName: "profileButtonLabelElementRef", first: true, predicate: ["profileButtonLabelElement"], descendants: true }, { propertyName: "profileButtonImageElementRef", first: true, predicate: ["profileButtonImageElement"], descendants: true }], ngImport: i0, template: "<button #profileButtonElement [edmSduiView]=\"uiComponent.element\" class=\"profile-button\" *ngIf=\"uiComponent\">\n <img #profileButtonImageElement *ngIf=\"uiComponent.element.asset\" [src]=\"getAssetPath(uiComponent.element.asset)\" alt=\"Profile\" class=\"profile-image\">\n <span #profileButtonLabelElement class=\"profile-label\">{{ uiComponent.element.label }}</span>\n</button>\n", styles: [":host{display:contents}.profile-button{display:flex;padding:16px 16px 0;border-radius:20px;background-color:var(--bt-profile);border:none;cursor:pointer;flex-direction:column;height:108px;width:108px;align-items:start;justify-content:start;gap:24px}.profile-button:hover{background-color:#0000000d;cursor:pointer}.profile-button .profile-image{width:24px;height:24px}.profile-button .profile-label{white-space:normal;word-break:break-word;overflow-wrap:break-word;max-width:100%;display:block;text-align:left}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: UIViewDirective, selector: "[edmSduiView]", inputs: ["edmSduiView", "disableClick"] }] }); }
|
|
3076
3130
|
}
|
|
3077
3131
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ProfileButtonComponent, decorators: [{
|
|
3078
3132
|
type: Component,
|
|
3079
|
-
args: [{ selector: 'edm-sdui-profile-button', standalone: false, template: "<button #profileButtonElement [edmSduiView]=\"uiComponent.element\" class=\"profile-button\" *ngIf=\"uiComponent\">\n <img #profileButtonImageElement *ngIf=\"uiComponent.element.asset\" [src]=\"getAssetPath(uiComponent.element.asset)\" alt=\"Profile\" class=\"profile-image\">\n <span #profileButtonLabelElement class=\"profile-label\">{{ uiComponent.element.label }}</span>\n</button>\n", styles: [":host{display:contents}.profile-button{display:flex;padding:16px 16px 0;border-radius:20px;background-color:var(--bt-profile);border:none;cursor:pointer;flex-direction:column;height:108px;width:108px;align-items:start;justify-content:start;gap:24px
|
|
3133
|
+
args: [{ selector: 'edm-sdui-profile-button', standalone: false, template: "<button #profileButtonElement [edmSduiView]=\"uiComponent.element\" class=\"profile-button\" *ngIf=\"uiComponent\">\n <img #profileButtonImageElement *ngIf=\"uiComponent.element.asset\" [src]=\"getAssetPath(uiComponent.element.asset)\" alt=\"Profile\" class=\"profile-image\">\n <span #profileButtonLabelElement class=\"profile-label\">{{ uiComponent.element.label }}</span>\n</button>\n", styles: [":host{display:contents}.profile-button{display:flex;padding:16px 16px 0;border-radius:20px;background-color:var(--bt-profile);border:none;cursor:pointer;flex-direction:column;height:108px;width:108px;align-items:start;justify-content:start;gap:24px}.profile-button:hover{background-color:#0000000d;cursor:pointer}.profile-button .profile-image{width:24px;height:24px}.profile-button .profile-label{white-space:normal;word-break:break-word;overflow-wrap:break-word;max-width:100%;display:block;text-align:left}\n"] }]
|
|
3080
3134
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
3081
3135
|
type: Inject,
|
|
3082
3136
|
args: ['uiComponent']
|
|
@@ -3120,11 +3174,11 @@ class ProgressBarComponent {
|
|
|
3120
3174
|
}
|
|
3121
3175
|
}
|
|
3122
3176
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ProgressBarComponent, deps: [{ token: 'uiComponent' }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3123
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: ProgressBarComponent, selector: "edm-sdui-progress-bar", viewQueries: [{ propertyName: "progressFillElementRef", first: true, predicate: ["progressFillElement"], descendants: true }], ngImport: i0, template: "<div [edmSduiView]=\"uiComponent.element\" class=\"progress-bar-container\" *ngIf=\"uiComponent\">\n <div #progressFillElement class=\"progress-bar-fill\"></div>\n</div>\n", styles: [":host{display:contents}.progress-bar-container{position:relative;width:100%;height:
|
|
3177
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: ProgressBarComponent, selector: "edm-sdui-progress-bar", viewQueries: [{ propertyName: "progressFillElementRef", first: true, predicate: ["progressFillElement"], descendants: true }], ngImport: i0, template: "<div [edmSduiView]=\"uiComponent.element\" class=\"progress-bar-container\" *ngIf=\"uiComponent\">\n <div #progressFillElement class=\"progress-bar-fill\"></div>\n</div>\n", styles: [":host{display:contents}.progress-bar-container{position:relative;width:100%;height:5px;background-color:#e0e0e0;border-radius:4px;overflow:hidden}.progress-bar-container .progress-bar-fill{height:100%;width:0;background-color:#2196f3;transition:width .3s ease}.progress-bar-container .progress-bar-label{position:absolute;top:100%;left:0;width:100%;text-align:center;font-size:12px;margin-top:4px}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: UIViewDirective, selector: "[edmSduiView]", inputs: ["edmSduiView", "disableClick"] }] }); }
|
|
3124
3178
|
}
|
|
3125
3179
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ProgressBarComponent, decorators: [{
|
|
3126
3180
|
type: Component,
|
|
3127
|
-
args: [{ selector: 'edm-sdui-progress-bar', standalone: false, template: "<div [edmSduiView]=\"uiComponent.element\" class=\"progress-bar-container\" *ngIf=\"uiComponent\">\n <div #progressFillElement class=\"progress-bar-fill\"></div>\n</div>\n", styles: [":host{display:contents}.progress-bar-container{position:relative;width:100%;height:
|
|
3181
|
+
args: [{ selector: 'edm-sdui-progress-bar', standalone: false, template: "<div [edmSduiView]=\"uiComponent.element\" class=\"progress-bar-container\" *ngIf=\"uiComponent\">\n <div #progressFillElement class=\"progress-bar-fill\"></div>\n</div>\n", styles: [":host{display:contents}.progress-bar-container{position:relative;width:100%;height:5px;background-color:#e0e0e0;border-radius:4px;overflow:hidden}.progress-bar-container .progress-bar-fill{height:100%;width:0;background-color:#2196f3;transition:width .3s ease}.progress-bar-container .progress-bar-label{position:absolute;top:100%;left:0;width:100%;text-align:center;font-size:12px;margin-top:4px}\n"] }]
|
|
3128
3182
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
3129
3183
|
type: Inject,
|
|
3130
3184
|
args: ['uiComponent']
|
|
@@ -3247,5 +3301,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
3247
3301
|
* Generated bundle index. Do not edit.
|
|
3248
3302
|
*/
|
|
3249
3303
|
|
|
3250
|
-
export { SDUI_URL_PARAM, SduiComponent, SduiModule };
|
|
3304
|
+
export { SDUI_URL_PARAM, SduiComponent, SduiModule, UIActionHandlersService };
|
|
3251
3305
|
//# sourceMappingURL=edm-sdui-sdui.mjs.map
|