@sme.up/ketchup 11.0.0-SNAPSHOT-20241118162146 → 11.0.0-SNAPSHOT-20241118171002

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.
@@ -13071,7 +13071,11 @@ const KupDialog = class {
13071
13071
  '--kup_dialog_height': this.sizeY ? this.sizeY : 'auto',
13072
13072
  '--kup_dialog_width': this.sizeX ? this.sizeX : 'auto',
13073
13073
  };
13074
- return (h(Host, { key: '4f74b02d375c0ed0bdae000e98d34f62f6f52501', "fade-in": true, style: style }, h("style", { key: '42a84bac7c78d2810ea5247340fd80ba53e35b6a' }, __classPrivateFieldGet$5(this, _KupDialog_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '037d928dd1d5931a5995cf2a838b7d6a4dacae30', id: componentWrapperId }, this.header ? (h("div", { class: "header", ref: (el) => (__classPrivateFieldSet$2(this, _KupDialog_header, el, "f")) }, this.header.title ? (h("div", { class: "header__title" }, this.header.title)) : null, ((_a = this.header.icons) === null || _a === void 0 ? void 0 : _a.close) ? (h(FImage, { onClick: () => this.close(), sizeX: "1.25em", sizeY: "100%", resource: "clear", wrapperClass: "header__close" })) : null)) : (h("slot", { name: "header", ref: (el) => (__classPrivateFieldSet$2(this, _KupDialog_header, el, "f")) })), h("div", { key: 'a304e4f2e2455033f00a51db18dff006f33fdafe', class: "content" }, h("slot", { key: '228933df417a9c4cc195869d6347a18244ff12fb', name: "content" })))));
13074
+ const headerSlot = this.rootElement.querySelector('[slot="header"]');
13075
+ if (headerSlot) {
13076
+ __classPrivateFieldSet$2(this, _KupDialog_header, headerSlot, "f");
13077
+ }
13078
+ return (h(Host, { key: 'cd86c206a6f003f913a288b40b41127b96cd87ea', "fade-in": true, style: style }, h("style", { key: '6c691bca16376a84bf6291273baacb60e438c671' }, __classPrivateFieldGet$5(this, _KupDialog_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: 'f6dcfb0a6d0a4ba1f27b08d5b67e5527d6690739', id: componentWrapperId }, this.header ? (h("div", { class: "header", ref: (el) => (__classPrivateFieldSet$2(this, _KupDialog_header, el, "f")) }, this.header.title ? (h("div", { class: "header__title" }, this.header.title)) : null, ((_a = this.header.icons) === null || _a === void 0 ? void 0 : _a.close) ? (h(FImage, { onClick: () => this.close(), sizeX: "1.25em", sizeY: "100%", resource: "clear", wrapperClass: "header__close" })) : null)) : headerSlot ? (h("slot", { name: "header" })) : null, h("div", { key: 'f4785e7790c9120a25e00483ca4b427d824684ed', class: "content" }, h("slot", { key: 'e32121655c6d1cb1fa6d686ef5e5306b8a5ea3a0', name: "content" })))));
13075
13079
  }
13076
13080
  disconnectedCallback() {
13077
13081
  if (this.modal) {