@seniorsistemas/angular-components 17.29.0 → 17.29.1-bugfix-ptfgap-1059-df2f86c9

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.
@@ -4070,6 +4070,9 @@ var CoreFacade = /** @class */ (function () {
4070
4070
  this.setCode(safeCode);
4071
4071
  }
4072
4072
  };
4073
+ CoreFacade.prototype.setPayload = function (payload) {
4074
+ this.setCode(this.getSafeCode(payload));
4075
+ };
4073
4076
  CoreFacade.prototype.getOnCoreFinishLoadObservable = function () {
4074
4077
  return this.$onCoreFinishLoad.asObservable();
4075
4078
  };
@@ -4163,6 +4166,13 @@ var CodeEditorComponent = /** @class */ (function () {
4163
4166
  enumerable: true,
4164
4167
  configurable: true
4165
4168
  });
4169
+ Object.defineProperty(CodeEditorComponent.prototype, "payload", {
4170
+ set: function (payload) {
4171
+ this.coreFacade.setPayload(payload);
4172
+ },
4173
+ enumerable: true,
4174
+ configurable: true
4175
+ });
4166
4176
  CodeEditorComponent.prototype.writeValue = function (value) {
4167
4177
  this.code = value;
4168
4178
  };
@@ -4219,6 +4229,9 @@ var CodeEditorComponent = /** @class */ (function () {
4219
4229
  __decorate([
4220
4230
  Input()
4221
4231
  ], CodeEditorComponent.prototype, "code", null);
4232
+ __decorate([
4233
+ Input()
4234
+ ], CodeEditorComponent.prototype, "payload", null);
4222
4235
  __decorate([
4223
4236
  Output()
4224
4237
  ], CodeEditorComponent.prototype, "codeChange", void 0);
@@ -19366,7 +19379,7 @@ var PanelComponent = /** @class */ (function () {
19366
19379
  ]),
19367
19380
  ]),
19368
19381
  ],
19369
- styles: [".panel{background-color:#fff;border:1px solid #dedce5;padding:20px;position:relative;transition:border-color .5s}.panel .border-button{position:absolute;right:15px;top:-12px;z-index:10}.panel .header{border-bottom:1px solid #dedce5;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;padding-bottom:12px;text-transform:uppercase}.panel .header-content{-ms-flex-positive:1;flex-grow:1}.panel .header .collapse-button{background-color:transparent;border:none;color:#212533;cursor:pointer;height:24px;width:24px}.panel .panel-content .body{padding:20px 0}.panel .panel-content .footer{border-top:1px solid #dedce5;padding-top:12px}.panel--success{border-color:#0c9348}.panel--info{border-color:#428bca}.panel--warn{border-color:#f8931f}.panel--error{border-color:#c13018}.panel--collapsed .header{border:none;padding:0}"]
19382
+ styles: [".panel{background-color:#fff;border:1px solid #dedce5;padding:20px;position:relative;transition:border-color .5s}.panel .border-button{position:absolute;right:15px;top:-12px;z-index:10}.panel .header{border-bottom:1px solid #dedce5;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;padding-bottom:12px;margin-bottom:12px;text-transform:uppercase}.panel .header-content{-ms-flex-positive:1;flex-grow:1}.panel .header .collapse-button{background-color:transparent;border:none;color:#212533;cursor:pointer;height:24px;width:24px}.panel .panel-content .footer{border-top:1px solid #dedce5;padding-top:12px}.panel--success{border-color:#0c9348}.panel--info{border-color:#428bca}.panel--warn{border-color:#f8931f}.panel--error{border-color:#c13018}.panel--collapsed .header{border:none;padding:0}"]
19370
19383
  })
19371
19384
  ], PanelComponent);
19372
19385
  return PanelComponent;