@idds/vue 1.4.3 → 1.4.4
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/components/AccordionGroup.vue.d.ts.map +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.es.js +11 -3
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -702,8 +702,16 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
702
702
|
const registerItem = (item) => {
|
|
703
703
|
const index2 = items.value.size;
|
|
704
704
|
items.value.set(item.id, index2);
|
|
705
|
-
if (
|
|
706
|
-
|
|
705
|
+
if (item.defaultOpen) {
|
|
706
|
+
if (allowMultiple.value) {
|
|
707
|
+
if (!openIndexes.value.includes(index2)) {
|
|
708
|
+
openIndexes.value = [...openIndexes.value, index2];
|
|
709
|
+
}
|
|
710
|
+
} else {
|
|
711
|
+
if (openIndexes.value.length === 0) {
|
|
712
|
+
openIndexes.value = [index2];
|
|
713
|
+
}
|
|
714
|
+
}
|
|
707
715
|
}
|
|
708
716
|
return index2;
|
|
709
717
|
};
|
|
@@ -763,7 +771,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
763
771
|
};
|
|
764
772
|
}
|
|
765
773
|
});
|
|
766
|
-
const AccordionGroup = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-
|
|
774
|
+
const AccordionGroup = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-a85c5702"]]);
|
|
767
775
|
const _hoisted_1$G = ["disabled", "aria-expanded"];
|
|
768
776
|
const _hoisted_2$B = { class: "ina-action-dropdown__trigger-content" };
|
|
769
777
|
const _hoisted_3$x = { class: "ina-action-dropdown__menu" };
|