@websy/websy-designs 1.11.12 → 1.11.13

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.
@@ -4642,7 +4642,7 @@ class WebsyResultList {
4642
4642
  const el = document.getElementById(this.elementId)
4643
4643
  el.innerHTML += html.replace(/\n/g, '')
4644
4644
  }
4645
- buildHTML (d, startIndex = 0, inputTemplate, locator = []) {
4645
+ buildHTML (d = [], startIndex = 0, inputTemplate, locator = []) {
4646
4646
  let html = ``
4647
4647
  if (this.options.template) {
4648
4648
  if (d.length > 0) {
@@ -4387,8 +4387,9 @@ var WebsyResultList = /*#__PURE__*/function () {
4387
4387
  }
4388
4388
  }, {
4389
4389
  key: "buildHTML",
4390
- value: function buildHTML(d) {
4390
+ value: function buildHTML() {
4391
4391
  var _this33 = this;
4392
+ var d = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
4392
4393
  var startIndex = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
4393
4394
  var inputTemplate = arguments.length > 2 ? arguments[2] : undefined;
4394
4395
  var locator = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : [];