@magic-xpa/angular 4.801.8 → 4.801.9-dev000.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/esm2020/src/services/magic-color.service.mjs +1 -1
- package/esm2020/src/services/subform.magic.service.mjs +1 -1
- package/esm2020/src/services/table.magic.service.mjs +1 -1
- package/esm2020/src/services/task.magics.service.mjs +2 -2
- package/esm2020/src/ui/components/base-magic-alert.component.mjs +1 -1
- package/esm2020/src/ui/components/base-magic-confirm.component.mjs +1 -1
- package/esm2020/src/ui/components/magic-alert.component.mjs +36 -36
- package/esm2020/src/ui/components/magic-confirmation-box.component.mjs +43 -43
- package/esm2020/src/ui/directives/magic-focus.directive.mjs +1 -1
- package/esm2020/src/ui/directives/magicViewContainerRef.directive.mjs +1 -1
- package/esm2020/src/ui/magic-modal/magic-overlay-container-wrapper.mjs +1 -1
- package/esm2020/src/ui/magic-modal/magic-overlay-container.mjs +2 -2
- package/esm2020/src/ui/magic-root.component.mjs +1 -1
- package/fesm2015/magic-xpa-angular.mjs +82 -82
- package/fesm2015/magic-xpa-angular.mjs.map +1 -1
- package/fesm2020/magic-xpa-angular.mjs +82 -82
- package/fesm2020/magic-xpa-angular.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -934,7 +934,7 @@ MagicOverlayContainer.ɵcmp = i0.ɵɵdefineComponent({ type: MagicOverlayContain
|
|
|
934
934
|
i0.ɵɵproperty("ngIf", ctx.getShowTitleBar());
|
|
935
935
|
i0.ɵɵadvance(1);
|
|
936
936
|
i0.ɵɵproperty("ngStyle", ctx.getClientAreaStyles());
|
|
937
|
-
} }, directives: [i1.NgIf, i1.NgStyle, MagicViewContainerRef], styles: [".modal-foreground[_ngcontent-%COMP%]{position:fixed;
|
|
937
|
+
} }, directives: [i1.NgIf, i1.NgStyle, MagicViewContainerRef], styles: [".modal-foreground[_ngcontent-%COMP%]{position:fixed;inset:0;background-color:#fff}.modal-background[_ngcontent-%COMP%]{position:fixed;inset:0;background-color:#000;opacity:.75}.modal-header[_ngcontent-%COMP%]{background-color:beige;border-bottom:2px solid red}"] });
|
|
938
938
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MagicOverlayContainer, [{
|
|
939
939
|
type: Component,
|
|
940
940
|
args: [{ selector: 'app-magic-overlay-container', template: `
|
|
@@ -953,7 +953,7 @@ MagicOverlayContainer.ɵcmp = i0.ɵɵdefineComponent({ type: MagicOverlayContain
|
|
|
953
953
|
</div>
|
|
954
954
|
</div>
|
|
955
955
|
</div>
|
|
956
|
-
`, styles: [".modal-foreground{position:fixed;
|
|
956
|
+
`, styles: [".modal-foreground{position:fixed;inset:0;background-color:#fff}.modal-background{position:fixed;inset:0;background-color:#000;opacity:.75}.modal-header{background-color:beige;border-bottom:2px solid red}\n"] }]
|
|
957
957
|
}], function () { return [{ type: i0.ComponentFactoryResolver }]; }, { headerElementRef: [{
|
|
958
958
|
type: ViewChild,
|
|
959
959
|
args: ['modalheader', { static: false }]
|
|
@@ -1128,7 +1128,7 @@ MagicOverlayContainerWrapper.ɵcmp = i0.ɵɵdefineComponent({ type: MagicOverlay
|
|
|
1128
1128
|
i0.ɵɵelementEnd();
|
|
1129
1129
|
i0.ɵɵelement(6, "div", 5);
|
|
1130
1130
|
i0.ɵɵelementEnd();
|
|
1131
|
-
} }, directives: [MagicFocusDirective, MagicViewContainerRef], styles: [".overlay-container-wrapper-background[_ngcontent-%COMP%]{position:fixed;
|
|
1131
|
+
} }, directives: [MagicFocusDirective, MagicViewContainerRef], styles: [".overlay-container-wrapper-background[_ngcontent-%COMP%]{position:fixed;z-index:999;inset:0}"] });
|
|
1132
1132
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MagicOverlayContainerWrapper, [{
|
|
1133
1133
|
type: Component,
|
|
1134
1134
|
args: [{
|
|
@@ -1192,42 +1192,42 @@ MagicAlertComponent.ɵcmp = i0.ɵɵdefineComponent({ type: MagicAlertComponent,
|
|
|
1192
1192
|
type: Component,
|
|
1193
1193
|
args: [{
|
|
1194
1194
|
selector: 'sample-magic-alert-component',
|
|
1195
|
-
template: `<div>
|
|
1196
|
-
<div class="mg-message-background">
|
|
1197
|
-
<h2> {{title}}</h2>
|
|
1198
|
-
<p>{{message}} </p>
|
|
1199
|
-
|
|
1200
|
-
<button (click)="OnClose()">OK</button>
|
|
1201
|
-
</div>
|
|
1195
|
+
template: `<div>
|
|
1196
|
+
<div class="mg-message-background">
|
|
1197
|
+
<h2> {{title}}</h2>
|
|
1198
|
+
<p>{{message}} </p>
|
|
1199
|
+
|
|
1200
|
+
<button (click)="OnClose()">OK</button>
|
|
1201
|
+
</div>
|
|
1202
1202
|
</div>`,
|
|
1203
|
-
styles: [`
|
|
1204
|
-
.mg-message-background {
|
|
1205
|
-
background-color: #F5F5F5;
|
|
1206
|
-
text-align: center;
|
|
1207
|
-
width: 40%;
|
|
1208
|
-
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
1209
|
-
padding: 17px;
|
|
1210
|
-
border-radius: 5px;
|
|
1211
|
-
text-align: center;
|
|
1212
|
-
margin-top: 10% ;
|
|
1213
|
-
margin-left: auto;
|
|
1214
|
-
margin-right: auto;
|
|
1215
|
-
border: 1px solid gray;
|
|
1216
|
-
}
|
|
1217
|
-
|
|
1218
|
-
button {
|
|
1219
|
-
background-color: #8CD4F5;
|
|
1220
|
-
color: white;
|
|
1221
|
-
border: none;
|
|
1222
|
-
box-shadow: none;
|
|
1223
|
-
font-size: 17px;
|
|
1224
|
-
font-weight: 500;
|
|
1225
|
-
-webkit-border-radius: 4px;
|
|
1226
|
-
border-radius: 5px;
|
|
1227
|
-
padding: 10px 32px;
|
|
1228
|
-
margin: 26px 5px 0 5px;
|
|
1229
|
-
cursor: pointer;
|
|
1230
|
-
}
|
|
1203
|
+
styles: [`
|
|
1204
|
+
.mg-message-background {
|
|
1205
|
+
background-color: #F5F5F5;
|
|
1206
|
+
text-align: center;
|
|
1207
|
+
width: 40%;
|
|
1208
|
+
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
1209
|
+
padding: 17px;
|
|
1210
|
+
border-radius: 5px;
|
|
1211
|
+
text-align: center;
|
|
1212
|
+
margin-top: 10% ;
|
|
1213
|
+
margin-left: auto;
|
|
1214
|
+
margin-right: auto;
|
|
1215
|
+
border: 1px solid gray;
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1218
|
+
button {
|
|
1219
|
+
background-color: #8CD4F5;
|
|
1220
|
+
color: white;
|
|
1221
|
+
border: none;
|
|
1222
|
+
box-shadow: none;
|
|
1223
|
+
font-size: 17px;
|
|
1224
|
+
font-weight: 500;
|
|
1225
|
+
-webkit-border-radius: 4px;
|
|
1226
|
+
border-radius: 5px;
|
|
1227
|
+
padding: 10px 32px;
|
|
1228
|
+
margin: 26px 5px 0 5px;
|
|
1229
|
+
cursor: pointer;
|
|
1230
|
+
}
|
|
1231
1231
|
`]
|
|
1232
1232
|
}]
|
|
1233
1233
|
}], null, null); })();
|
|
@@ -1259,49 +1259,49 @@ MagicConfirmationBoxComponent.ɵcmp = i0.ɵɵdefineComponent({ type: MagicConfir
|
|
|
1259
1259
|
type: Component,
|
|
1260
1260
|
args: [{
|
|
1261
1261
|
selector: 'sample-magic-confirmation-box',
|
|
1262
|
-
template: `<div>
|
|
1263
|
-
<div class="mg-message-background">
|
|
1264
|
-
<h2> {{title}}</h2>
|
|
1265
|
-
{{message}}
|
|
1266
|
-
<br>
|
|
1267
|
-
<br>
|
|
1268
|
-
|
|
1269
|
-
<button (click)="OnClose(true)">OK</button>
|
|
1270
|
-
<button class="cancel" (click)="OnClose(false)">Cancel</button>
|
|
1271
|
-
</div>
|
|
1262
|
+
template: `<div>
|
|
1263
|
+
<div class="mg-message-background">
|
|
1264
|
+
<h2> {{title}}</h2>
|
|
1265
|
+
{{message}}
|
|
1266
|
+
<br>
|
|
1267
|
+
<br>
|
|
1268
|
+
|
|
1269
|
+
<button (click)="OnClose(true)">OK</button>
|
|
1270
|
+
<button class="cancel" (click)="OnClose(false)">Cancel</button>
|
|
1271
|
+
</div>
|
|
1272
1272
|
</div>`,
|
|
1273
|
-
styles: [`
|
|
1274
|
-
.mg-message-background {
|
|
1275
|
-
background-color: #F5F5F5;
|
|
1276
|
-
text-align: center;
|
|
1277
|
-
width: 40%;
|
|
1278
|
-
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
1279
|
-
padding: 17px;
|
|
1280
|
-
border-radius: 5px;
|
|
1281
|
-
text-align: center;
|
|
1282
|
-
margin-top: 10% ;
|
|
1283
|
-
margin-left: auto;
|
|
1284
|
-
margin-right: auto;
|
|
1285
|
-
border: 1px solid gray;
|
|
1286
|
-
}
|
|
1287
|
-
|
|
1288
|
-
button {
|
|
1289
|
-
background-color: #8CD4F5;
|
|
1290
|
-
color: white;
|
|
1291
|
-
border: none;
|
|
1292
|
-
box-shadow: none;
|
|
1293
|
-
font-size: 17px;
|
|
1294
|
-
font-weight: 500;
|
|
1295
|
-
-webkit-border-radius: 4px;
|
|
1296
|
-
border-radius: 5px;
|
|
1297
|
-
padding: 10px 32px;
|
|
1298
|
-
margin: 26px 5px 0 5px;
|
|
1299
|
-
cursor: pointer;
|
|
1300
|
-
}
|
|
1301
|
-
|
|
1302
|
-
button.cancel {
|
|
1303
|
-
background-color: #C1C1C1;
|
|
1304
|
-
}
|
|
1273
|
+
styles: [`
|
|
1274
|
+
.mg-message-background {
|
|
1275
|
+
background-color: #F5F5F5;
|
|
1276
|
+
text-align: center;
|
|
1277
|
+
width: 40%;
|
|
1278
|
+
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
1279
|
+
padding: 17px;
|
|
1280
|
+
border-radius: 5px;
|
|
1281
|
+
text-align: center;
|
|
1282
|
+
margin-top: 10% ;
|
|
1283
|
+
margin-left: auto;
|
|
1284
|
+
margin-right: auto;
|
|
1285
|
+
border: 1px solid gray;
|
|
1286
|
+
}
|
|
1287
|
+
|
|
1288
|
+
button {
|
|
1289
|
+
background-color: #8CD4F5;
|
|
1290
|
+
color: white;
|
|
1291
|
+
border: none;
|
|
1292
|
+
box-shadow: none;
|
|
1293
|
+
font-size: 17px;
|
|
1294
|
+
font-weight: 500;
|
|
1295
|
+
-webkit-border-radius: 4px;
|
|
1296
|
+
border-radius: 5px;
|
|
1297
|
+
padding: 10px 32px;
|
|
1298
|
+
margin: 26px 5px 0 5px;
|
|
1299
|
+
cursor: pointer;
|
|
1300
|
+
}
|
|
1301
|
+
|
|
1302
|
+
button.cancel {
|
|
1303
|
+
background-color: #C1C1C1;
|
|
1304
|
+
}
|
|
1305
1305
|
`]
|
|
1306
1306
|
}]
|
|
1307
1307
|
}], null, null); })();
|
|
@@ -1961,7 +1961,7 @@ class TaskMagicService {
|
|
|
1961
1961
|
return val;
|
|
1962
1962
|
}
|
|
1963
1963
|
case StorageAttribute.NUMERIC:
|
|
1964
|
-
return val;
|
|
1964
|
+
return val != null ? +val : null;
|
|
1965
1965
|
default:
|
|
1966
1966
|
return val;
|
|
1967
1967
|
}
|
|
@@ -3910,7 +3910,7 @@ MagicShellComponent.ɵcmp = i0.ɵɵdefineComponent({ type: MagicShellComponent,
|
|
|
3910
3910
|
i0.ɵɵproperty("ngIf", ctx.RootComponent !== null);
|
|
3911
3911
|
i0.ɵɵadvance(3);
|
|
3912
3912
|
i0.ɵɵproperty("ngIf", ctx.showSpinner);
|
|
3913
|
-
} }, directives: [i1.NgIf, i3.DynamicComponent, i3.DynamicIoDirective, MagicViewContainerRef, i1.NgTemplateOutlet], styles: [".mgSpinnerClass[_ngcontent-%COMP%]{border:10px solid #cccccc;border-top:10px solid black;border-radius:50%;position:fixed;margin:auto;
|
|
3913
|
+
} }, directives: [i1.NgIf, i3.DynamicComponent, i3.DynamicIoDirective, MagicViewContainerRef, i1.NgTemplateOutlet], styles: [".mgSpinnerClass[_ngcontent-%COMP%]{border:10px solid #cccccc;border-top:10px solid black;border-radius:50%;position:fixed;margin:auto;inset:0;width:100px;height:100px;animation:spin 2s linear infinite}.spinner-background[_ngcontent-%COMP%]{position:fixed;z-index:1000;inset:0;opacity:.5}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}"] });
|
|
3914
3914
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MagicShellComponent, [{
|
|
3915
3915
|
type: Component,
|
|
3916
3916
|
args: [{
|