|
|
@ -44,13 +44,22 @@ class Component extends SvelteElement {
|
|
|
|
init(this, { target: this.shadowRoot }, null, create_fragment, safe_not_equal, []);
|
|
|
|
init(this, { target: this.shadowRoot }, null, create_fragment, safe_not_equal, []);
|
|
|
|
|
|
|
|
|
|
|
|
if (options) {
|
|
|
|
if (options) {
|
|
|
|
|
|
|
|
this.$$.slotted = {};
|
|
|
|
|
|
|
|
|
|
|
|
if (options.target) {
|
|
|
|
if (options.target) {
|
|
|
|
insert(options.target, this, options.anchor);
|
|
|
|
insert(options.target, this, options.anchor);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (options.props) {
|
|
|
|
|
|
|
|
for (const key in options.props.$$slots) {
|
|
|
|
|
|
|
|
this.$$.slotted[key] = options.props.$$slots[key][0]();
|
|
|
|
|
|
|
|
this.$$.slotted[key].c();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
customElements.define("custom-element", Component);
|
|
|
|
customElements.define("custom-element", Component);
|
|
|
|
|
|
|
|
|
|
|
|
export default Component;
|
|
|
|
export default Component;
|
|
|
|