@pdfme/ui 6.1.13-dev.25 → 6.1.13-dev.27

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/dist/index.js CHANGED
@@ -87983,7 +87983,7 @@ var BaseUIClass = class {
87983
87983
  const { domContainer, template, options = {}, plugins = {} } = props;
87984
87984
  this.domContainer = domContainer;
87985
87985
  this.template = cloneDeep$1(template);
87986
- this.options = options;
87986
+ this.options = Object.assign({}, options);
87987
87987
  const container = this.domContainer;
87988
87988
  this.size = measureUiContainerSize(container, {
87989
87989
  height: window.innerHeight,
@@ -88022,7 +88022,7 @@ var BaseUIClass = class {
88022
88022
  const { lang, font } = options || {};
88023
88023
  if (lang) this.lang = lang;
88024
88024
  if (font) this.font = font;
88025
- this.options = Object.assign(this.options, options);
88025
+ this.options = Object.assign({}, this.options, options);
88026
88026
  this.render();
88027
88027
  }
88028
88028
  destroy() {