@magic-xpa/angular 4.801.8-dev481.397 → 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/fesm2015/magic-xpa-angular.mjs +78 -78
- package/fesm2015/magic-xpa-angular.mjs.map +1 -1
- package/fesm2020/magic-xpa-angular.mjs +78 -78
- package/fesm2020/magic-xpa-angular.mjs.map +1 -1
- package/package.json +3 -3
@@ -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
|
}
|