@optionfactory/ful 4.0.4 → 4.0.6
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/ful.iife.js +2 -1
- package/dist/ful.iife.js.map +1 -1
- package/dist/ful.iife.min.js +1 -1
- package/dist/ful.iife.min.js.map +1 -1
- package/dist/ful.min.mjs +1 -1
- package/dist/ful.min.mjs.map +1 -1
- package/dist/ful.mjs +2 -1
- package/dist/ful.mjs.map +1 -1
- package/package.json +2 -2
package/dist/ful.iife.js
CHANGED
|
@@ -1952,6 +1952,7 @@ var ful = (function (exports, ftl) {
|
|
|
1952
1952
|
await this.#loader.prefetch?.();
|
|
1953
1953
|
const fragment = this.template().withOverlay({ slots, name }).render();
|
|
1954
1954
|
this.#input = fragment.querySelector('input');
|
|
1955
|
+
ftl.Attributes.forward('input-', this, this.#input);
|
|
1955
1956
|
this.#badges = fragment.querySelector('badges');
|
|
1956
1957
|
|
|
1957
1958
|
this.value = observed.value;
|
|
@@ -2094,7 +2095,7 @@ var ful = (function (exports, ftl) {
|
|
|
2094
2095
|
}
|
|
2095
2096
|
(async () => {
|
|
2096
2097
|
const entries = await (this.#multiple ? this.#loader.exact(...vs) : this.#loader.exact(vs));
|
|
2097
|
-
this.#values = new Map(entries);
|
|
2098
|
+
this.#values = new Map(entries.map(e => [e[0], e.slice(1)]));
|
|
2098
2099
|
this.#syncBadges();
|
|
2099
2100
|
})();
|
|
2100
2101
|
}
|