gd-sprest-bs 10.8.1 → 10.8.2

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.
@@ -201,11 +201,11 @@ var _SPFxWebPart = /** @class */ (function () {
201
201
  // Create the form properties
202
202
  var formProps = { el: el, value: _this._cfg };
203
203
  // Call the rendering event
204
- formProps = _this._props.onConfigFormRendering ? _this._props.onConfigFormRendering(formProps) : formProps;
204
+ formProps = _this._props.onConfigFormRendering ? _this._props.onConfigFormRendering(formProps, _this._cfg) : formProps;
205
205
  // Render the form
206
206
  _this._form = gd_bs_1.Components.Form(formProps);
207
207
  // Call the rendered event
208
- _this._props.onConfigFormRendered ? _this._props.onConfigFormRendered(_this._form) : null;
208
+ _this._props.onConfigFormRendered ? _this._props.onConfigFormRendered(_this._form, _this._cfg) : null;
209
209
  },
210
210
  onRenderFooter: function (el) {
211
211
  // Render the footer buttons
@@ -249,7 +249,7 @@ var _SPFxWebPart = /** @class */ (function () {
249
249
  ]
250
250
  };
251
251
  // Call the event
252
- footerProps = _this._props.onConfigFormFooterRendering ? _this._props.onConfigFormFooterRendering(footerProps) : footerProps;
252
+ footerProps = _this._props.onConfigFormFooterRendering ? _this._props.onConfigFormFooterRendering(footerProps, _this._cfg) : footerProps;
253
253
  // Render the footer
254
254
  gd_bs_1.Components.TooltipGroup(footerProps);
255
255
  }
@@ -272,7 +272,7 @@ var _SPFxWebPart = /** @class */ (function () {
272
272
  // Show the modal
273
273
  this._modal ? this._modal.show() : null;
274
274
  // Call the event
275
- this._props.onConfigFormDisplaying ? this._props.onConfigFormDisplaying() : null;
275
+ this._props.onConfigFormDisplaying ? this._props.onConfigFormDisplaying(this.Configuration) : null;
276
276
  };
277
277
  return _SPFxWebPart;
278
278
  }());