@kms-ngx-ui/presentational 0.0.13 → 0.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.
@@ -1365,7 +1365,7 @@
1365
1365
  this.sanitizer = sanitizer;
1366
1366
  }
1367
1367
  SafeHtmlPipe.prototype.transform = function (html) {
1368
- return this.sanitizer.bypassSecurityTrustResourceUrl(html);
1368
+ return this.sanitizer.bypassSecurityTrustHtml(html);
1369
1369
  };
1370
1370
  return SafeHtmlPipe;
1371
1371
  }());
@@ -1406,8 +1406,8 @@
1406
1406
  function SafeUrlPipe(sanitizer) {
1407
1407
  this.sanitizer = sanitizer;
1408
1408
  }
1409
- SafeUrlPipe.prototype.transform = function (style) {
1410
- return this.sanitizer.bypassSecurityTrustUrl(style);
1409
+ SafeUrlPipe.prototype.transform = function (url) {
1410
+ return this.sanitizer.bypassSecurityTrustUrl(url);
1411
1411
  };
1412
1412
  return SafeUrlPipe;
1413
1413
  }());
@@ -1420,6 +1420,27 @@
1420
1420
  { type: platformBrowser.DomSanitizer }
1421
1421
  ]; };
1422
1422
 
1423
+ /**
1424
+ * @copyright KMS GmbH
1425
+ */
1426
+ var SafeResourceUrlPipe = /** @class */ (function () {
1427
+ function SafeResourceUrlPipe(sanitizer) {
1428
+ this.sanitizer = sanitizer;
1429
+ }
1430
+ SafeResourceUrlPipe.prototype.transform = function (url) {
1431
+ return this.sanitizer.bypassSecurityTrustResourceUrl(url);
1432
+ };
1433
+ return SafeResourceUrlPipe;
1434
+ }());
1435
+ SafeResourceUrlPipe.decorators = [
1436
+ { type: i0.Pipe, args: [{
1437
+ name: 'kmsSafeResourceSUrl',
1438
+ },] }
1439
+ ];
1440
+ SafeResourceUrlPipe.ctorParameters = function () { return [
1441
+ { type: platformBrowser.DomSanitizer }
1442
+ ]; };
1443
+
1423
1444
  var TypeofPipe = /** @class */ (function () {
1424
1445
  function TypeofPipe() {
1425
1446
  }
@@ -1487,6 +1508,7 @@
1487
1508
  IntegerCurrency,
1488
1509
  SafeHtmlPipe,
1489
1510
  SafeStylePipe,
1511
+ SafeResourceUrlPipe,
1490
1512
  SafeUrlPipe,
1491
1513
  EncodeUriPipe,
1492
1514
  DecodeUriPipe,
@@ -1499,6 +1521,7 @@
1499
1521
  IntegerCurrency,
1500
1522
  SafeHtmlPipe,
1501
1523
  SafeStylePipe,
1524
+ SafeResourceUrlPipe,
1502
1525
  SafeUrlPipe,
1503
1526
  EncodeUriPipe,
1504
1527
  DecodeUriPipe,
@@ -3192,16 +3215,17 @@
3192
3215
  exports.ViewportService = ViewportService;
3193
3216
  exports["ɵa"] = ActionsParentComponent;
3194
3217
  exports["ɵb"] = BackToTopComponent;
3195
- exports["ɵba"] = SafeUrlPipe;
3196
- exports["ɵbb"] = EncodeUriPipe;
3197
- exports["ɵbc"] = DecodeUriPipe;
3198
- exports["ɵbd"] = TypeofPipe;
3199
- exports["ɵbe"] = TrimPipe;
3200
- exports["ɵbf"] = ToNumberPipe;
3201
- exports["ɵbg"] = SwipeDirective;
3202
- exports["ɵbh"] = MouseWheelDirective;
3203
- exports["ɵbi"] = GetMaxHeightDirective;
3204
- exports["ɵbj"] = TooltipDirective;
3218
+ exports["ɵba"] = SafeResourceUrlPipe;
3219
+ exports["ɵbb"] = SafeUrlPipe;
3220
+ exports["ɵbc"] = EncodeUriPipe;
3221
+ exports["ɵbd"] = DecodeUriPipe;
3222
+ exports["ɵbe"] = TypeofPipe;
3223
+ exports["ɵbf"] = TrimPipe;
3224
+ exports["ɵbg"] = ToNumberPipe;
3225
+ exports["ɵbh"] = SwipeDirective;
3226
+ exports["ɵbi"] = MouseWheelDirective;
3227
+ exports["ɵbj"] = GetMaxHeightDirective;
3228
+ exports["ɵbk"] = TooltipDirective;
3205
3229
  exports["ɵc"] = ButtonWithConfirmDialogComponent;
3206
3230
  exports["ɵd"] = CheckboxComponent;
3207
3231
  exports["ɵe"] = ColorInputComponent;