@idds/vue 1.4.22 → 1.4.23

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/index.es.js CHANGED
@@ -413,7 +413,7 @@ const _hoisted_1$K = ["id", "aria-expanded", "aria-controls", "disabled"];
413
413
  const _hoisted_2$E = { class: "ina-accordion__title" };
414
414
  const _hoisted_3$A = { class: "ina-accordion__toggler" };
415
415
  const _hoisted_4$u = ["id", "aria-labelledby"];
416
- const _hoisted_5$o = { class: "ina-accordion__body" };
416
+ const _hoisted_5$p = { class: "ina-accordion__body" };
417
417
  const _sfc_main$P = /* @__PURE__ */ defineComponent({
418
418
  __name: "Accordion",
419
419
  props: {
@@ -547,7 +547,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
547
547
  class: normalizeClass(["ina-accordion__content", { "ina-accordion__content--open": isOpen.value }]),
548
548
  "aria-labelledby": headerId.value
549
549
  }, [
550
- createElementVNode("div", _hoisted_5$o, [
550
+ createElementVNode("div", _hoisted_5$p, [
551
551
  renderSlot(_ctx.$slots, "default")
552
552
  ])
553
553
  ], 10, _hoisted_4$u)
@@ -562,13 +562,13 @@ const _hoisted_4$t = {
562
562
  key: 0,
563
563
  class: "ina-accordion-card__icon"
564
564
  };
565
- const _hoisted_5$n = { class: "ina-accordion-card__title-section" };
565
+ const _hoisted_5$o = { class: "ina-accordion-card__title-section" };
566
566
  const _hoisted_6$k = { class: "ina-accordion-card__title" };
567
- const _hoisted_7$j = {
567
+ const _hoisted_7$k = {
568
568
  key: 0,
569
569
  class: "ina-accordion-card__subtitle"
570
570
  };
571
- const _hoisted_8$e = ["id", "aria-labelledby"];
571
+ const _hoisted_8$f = ["id", "aria-labelledby"];
572
572
  const _hoisted_9$b = { class: "ina-accordion-card__body" };
573
573
  const _sfc_main$O = /* @__PURE__ */ defineComponent({
574
574
  __name: "AccordionCard",
@@ -626,13 +626,13 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
626
626
  __props.icon ? (openBlock(), createElementBlock("div", _hoisted_4$t, [
627
627
  (openBlock(), createBlock(resolveDynamicComponent(__props.icon), { size: 20 }))
628
628
  ])) : createCommentVNode("", true),
629
- createElementVNode("div", _hoisted_5$n, [
629
+ createElementVNode("div", _hoisted_5$o, [
630
630
  createElementVNode("h3", _hoisted_6$k, [
631
631
  renderSlot(_ctx.$slots, "title", {}, () => [
632
632
  createTextVNode(toDisplayString(__props.title), 1)
633
633
  ], true)
634
634
  ]),
635
- __props.subtitle ? (openBlock(), createElementBlock("p", _hoisted_7$j, toDisplayString(__props.subtitle), 1)) : createCommentVNode("", true)
635
+ __props.subtitle ? (openBlock(), createElementBlock("p", _hoisted_7$k, toDisplayString(__props.subtitle), 1)) : createCommentVNode("", true)
636
636
  ])
637
637
  ]),
638
638
  (openBlock(), createElementBlock("svg", {
@@ -663,7 +663,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
663
663
  createElementVNode("div", _hoisted_9$b, [
664
664
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
665
665
  ])
666
- ], 8, _hoisted_8$e)) : createCommentVNode("", true)
666
+ ], 8, _hoisted_8$f)) : createCommentVNode("", true)
667
667
  ]),
668
668
  _: 3
669
669
  })
@@ -1194,7 +1194,7 @@ const _hoisted_4$s = {
1194
1194
  key: 0,
1195
1195
  class: "ina-alert__title"
1196
1196
  };
1197
- const _hoisted_5$m = {
1197
+ const _hoisted_5$n = {
1198
1198
  key: 1,
1199
1199
  class: "ina-alert__description"
1200
1200
  };
@@ -1202,7 +1202,7 @@ const _hoisted_6$j = {
1202
1202
  key: 2,
1203
1203
  class: "ina-alert__actions"
1204
1204
  };
1205
- const _hoisted_7$i = ["aria-label"];
1205
+ const _hoisted_7$j = ["aria-label"];
1206
1206
  const _sfc_main$L = /* @__PURE__ */ defineComponent({
1207
1207
  __name: "Alert",
1208
1208
  props: {
@@ -1260,7 +1260,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
1260
1260
  createElementVNode("div", _hoisted_2$B, [
1261
1261
  createElementVNode("div", _hoisted_3$x, [
1262
1262
  __props.title ? (openBlock(), createElementBlock("div", _hoisted_4$s, toDisplayString(__props.title), 1)) : createCommentVNode("", true),
1263
- _ctx.$slots.default || __props.message ? (openBlock(), createElementBlock("div", _hoisted_5$m, [
1263
+ _ctx.$slots.default || __props.message ? (openBlock(), createElementBlock("div", _hoisted_5$n, [
1264
1264
  renderSlot(_ctx.$slots, "default", {}, () => [
1265
1265
  createTextVNode(toDisplayString(__props.message), 1)
1266
1266
  ])
@@ -1292,7 +1292,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
1292
1292
  "stroke-linejoin": "round"
1293
1293
  })
1294
1294
  ], -1)
1295
- ])], 8, _hoisted_7$i)) : createCommentVNode("", true)
1295
+ ])], 8, _hoisted_7$j)) : createCommentVNode("", true)
1296
1296
  ], 2);
1297
1297
  };
1298
1298
  }
@@ -1701,13 +1701,13 @@ const _hoisted_3$v = {
1701
1701
  class: "ina-card__media"
1702
1702
  };
1703
1703
  const _hoisted_4$q = ["src", "alt"];
1704
- const _hoisted_5$l = { class: "ina-card__content" };
1704
+ const _hoisted_5$m = { class: "ina-card__content" };
1705
1705
  const _hoisted_6$i = {
1706
1706
  key: 0,
1707
1707
  class: "ina-card__avatar"
1708
1708
  };
1709
- const _hoisted_7$h = ["src", "alt"];
1710
- const _hoisted_8$d = {
1709
+ const _hoisted_7$i = ["src", "alt"];
1710
+ const _hoisted_8$e = {
1711
1711
  key: 0,
1712
1712
  class: "ina-card__title"
1713
1713
  };
@@ -1715,11 +1715,11 @@ const _hoisted_9$a = {
1715
1715
  key: 1,
1716
1716
  class: "ina-card__description"
1717
1717
  };
1718
- const _hoisted_10$9 = {
1718
+ const _hoisted_10$a = {
1719
1719
  key: 1,
1720
1720
  class: "ina-card__button"
1721
1721
  };
1722
- const _hoisted_11$9 = {
1722
+ const _hoisted_11$a = {
1723
1723
  key: 2,
1724
1724
  class: "ina-card__media"
1725
1725
  };
@@ -1729,11 +1729,11 @@ const _hoisted_13$6 = {
1729
1729
  class: "ina-card__media"
1730
1730
  };
1731
1731
  const _hoisted_14$5 = ["src", "alt"];
1732
- const _hoisted_15$4 = {
1732
+ const _hoisted_15$5 = {
1733
1733
  key: 4,
1734
1734
  class: "ina-card__media"
1735
1735
  };
1736
- const _hoisted_16$3 = ["src", "alt"];
1736
+ const _hoisted_16$4 = ["src", "alt"];
1737
1737
  const _hoisted_17$3 = {
1738
1738
  key: 0,
1739
1739
  class: "ina-card__header"
@@ -1841,18 +1841,18 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
1841
1841
  }, null, 8, _hoisted_4$q)) : createCommentVNode("", true)
1842
1842
  ])
1843
1843
  ])) : createCommentVNode("", true),
1844
- createElementVNode("div", _hoisted_5$l, [
1844
+ createElementVNode("div", _hoisted_5$m, [
1845
1845
  __props.avatar || _ctx.$slots.avatar ? (openBlock(), createElementBlock("div", _hoisted_6$i, [
1846
1846
  renderSlot(_ctx.$slots, "avatar", {}, () => [
1847
1847
  __props.avatar ? (openBlock(), createElementBlock("img", {
1848
1848
  key: 0,
1849
1849
  src: __props.avatar,
1850
1850
  alt: __props.avatarAlt || "Avatar"
1851
- }, null, 8, _hoisted_7$h)) : createCommentVNode("", true)
1851
+ }, null, 8, _hoisted_7$i)) : createCommentVNode("", true)
1852
1852
  ])
1853
1853
  ])) : createCommentVNode("", true),
1854
1854
  createElementVNode("div", null, [
1855
- __props.title || _ctx.$slots.title ? (openBlock(), createElementBlock("h3", _hoisted_8$d, [
1855
+ __props.title || _ctx.$slots.title ? (openBlock(), createElementBlock("h3", _hoisted_8$e, [
1856
1856
  renderSlot(_ctx.$slots, "title", {}, () => [
1857
1857
  typeof __props.title !== "string" && __props.title ? (openBlock(), createBlock(resolveDynamicComponent(__props.title), { key: 0 })) : typeof __props.title === "string" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
1858
1858
  createTextVNode(toDisplayString(__props.title), 1)
@@ -1867,7 +1867,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
1867
1867
  ])
1868
1868
  ])) : createCommentVNode("", true)
1869
1869
  ]),
1870
- __props.showButton || _ctx.$slots.button ? (openBlock(), createElementBlock("div", _hoisted_10$9, [
1870
+ __props.showButton || _ctx.$slots.button ? (openBlock(), createElementBlock("div", _hoisted_10$a, [
1871
1871
  renderSlot(_ctx.$slots, "button", {}, () => [
1872
1872
  __props.showButton && __props.buttonText ? (openBlock(), createBlock(_sfc_main$G, {
1873
1873
  key: 0,
@@ -1883,7 +1883,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
1883
1883
  ])
1884
1884
  ])) : createCommentVNode("", true)
1885
1885
  ]),
1886
- __props.variant === "basic" && computedMediaPosition.value === "bottom" ? (openBlock(), createElementBlock("div", _hoisted_11$9, [
1886
+ __props.variant === "basic" && computedMediaPosition.value === "bottom" ? (openBlock(), createElementBlock("div", _hoisted_11$a, [
1887
1887
  renderSlot(_ctx.$slots, "media", {}, () => [
1888
1888
  __props.mediaSrc ? (openBlock(), createElementBlock("img", {
1889
1889
  key: 0,
@@ -1901,13 +1901,13 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
1901
1901
  }, null, 8, _hoisted_14$5)) : createCommentVNode("", true)
1902
1902
  ])
1903
1903
  ])) : createCommentVNode("", true),
1904
- __props.variant === "horizontal" && computedMediaPosition.value === "right" ? (openBlock(), createElementBlock("div", _hoisted_15$4, [
1904
+ __props.variant === "horizontal" && computedMediaPosition.value === "right" ? (openBlock(), createElementBlock("div", _hoisted_15$5, [
1905
1905
  renderSlot(_ctx.$slots, "media", {}, () => [
1906
1906
  __props.mediaSrc ? (openBlock(), createElementBlock("img", {
1907
1907
  key: 0,
1908
1908
  src: __props.mediaSrc,
1909
1909
  alt: __props.mediaAlt || "Card media"
1910
- }, null, 8, _hoisted_16$3)) : createCommentVNode("", true)
1910
+ }, null, 8, _hoisted_16$4)) : createCommentVNode("", true)
1911
1911
  ])
1912
1912
  ])) : createCommentVNode("", true),
1913
1913
  __props.variant !== "basic" && __props.variant !== "horizontal" && __props.variant !== "overlay" ? (openBlock(), createElementBlock(Fragment, { key: 5 }, [
@@ -1961,12 +1961,12 @@ const _hoisted_4$p = {
1961
1961
  fill: "none",
1962
1962
  xmlns: "http://www.w3.org/2000/svg"
1963
1963
  };
1964
- const _hoisted_5$k = { class: "ina-checkbox__content" };
1964
+ const _hoisted_5$l = { class: "ina-checkbox__content" };
1965
1965
  const _hoisted_6$h = {
1966
1966
  key: 0,
1967
1967
  class: "ina-checkbox__label"
1968
1968
  };
1969
- const _hoisted_7$g = {
1969
+ const _hoisted_7$h = {
1970
1970
  key: 1,
1971
1971
  class: "ina-checkbox__subtext"
1972
1972
  };
@@ -2101,13 +2101,13 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
2101
2101
  }, null, -1)
2102
2102
  ])])) : createCommentVNode("", true)
2103
2103
  ], 2),
2104
- createElementVNode("div", _hoisted_5$k, [
2104
+ createElementVNode("div", _hoisted_5$l, [
2105
2105
  _ctx.$slots.default || __props.label ? (openBlock(), createElementBlock("span", _hoisted_6$h, [
2106
2106
  renderSlot(_ctx.$slots, "default", {}, () => [
2107
2107
  createTextVNode(toDisplayString(__props.label), 1)
2108
2108
  ])
2109
2109
  ])) : createCommentVNode("", true),
2110
- __props.subtext ? (openBlock(), createElementBlock("span", _hoisted_7$g, toDisplayString(__props.subtext), 1)) : createCommentVNode("", true)
2110
+ __props.subtext ? (openBlock(), createElementBlock("span", _hoisted_7$h, toDisplayString(__props.subtext), 1)) : createCommentVNode("", true)
2111
2111
  ])
2112
2112
  ], 10, _hoisted_1$z),
2113
2113
  __props.statusMessage ? (openBlock(), createElementBlock("div", {
@@ -2326,19 +2326,21 @@ function sanitizeFileName(fileName) {
2326
2326
  }
2327
2327
  const _hoisted_1$y = { class: "ina-text-field" };
2328
2328
  const _hoisted_2$v = ["for"];
2329
- const _hoisted_3$t = {
2330
- key: 0,
2329
+ const _hoisted_3$t = { key: 1 };
2330
+ const _hoisted_4$o = {
2331
+ key: 2,
2331
2332
  class: "ina-text-field__required"
2332
2333
  };
2333
- const _hoisted_4$o = {
2334
+ const _hoisted_5$k = {
2334
2335
  key: 0,
2335
2336
  class: "ina-text-field__prefix-icon"
2336
2337
  };
2337
- const _hoisted_5$j = ["id", "name", "type", "placeholder", "disabled", "readonly", "maxlength", "autocomplete", "spellcheck", "autocapitalize", "autocorrect", "inputmode", "dir"];
2338
- const _hoisted_6$g = {
2338
+ const _hoisted_6$g = ["id", "name", "type", "placeholder", "disabled", "readonly", "maxlength", "autocomplete", "spellcheck", "autocapitalize", "autocorrect", "inputmode", "dir"];
2339
+ const _hoisted_7$g = {
2339
2340
  key: 1,
2340
2341
  class: "ina-text-field__char-count"
2341
2342
  };
2343
+ const _hoisted_8$d = { key: 1 };
2342
2344
  const _sfc_main$C = /* @__PURE__ */ defineComponent({
2343
2345
  __name: "TextField",
2344
2346
  props: {
@@ -2390,11 +2392,16 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
2390
2392
  if (providedId) {
2391
2393
  return String(providedId);
2392
2394
  }
2393
- if (props.label) {
2395
+ if (props.label && typeof props.label === "string") {
2394
2396
  return String(props.label).toLowerCase();
2395
2397
  }
2396
2398
  return `text-field-${Math.random().toString(36).substr(2, 9)}`;
2397
2399
  });
2400
+ const labelComponent = computed(() => {
2401
+ if (!props.label) return null;
2402
+ if (typeof props.label === "string") return null;
2403
+ return props.label;
2404
+ });
2398
2405
  const filteredAttrs = computed(() => {
2399
2406
  const { id, name, ...rest } = attrs;
2400
2407
  return rest;
@@ -2558,13 +2565,13 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
2558
2565
  for: inputId.value,
2559
2566
  class: "ina-text-field__label"
2560
2567
  }, [
2561
- createTextVNode(toDisplayString(__props.label) + " ", 1),
2562
- __props.required ? (openBlock(), createElementBlock("span", _hoisted_3$t, "*")) : createCommentVNode("", true)
2568
+ labelComponent.value ? (openBlock(), createBlock(resolveDynamicComponent(labelComponent.value), { key: 0 })) : __props.label && typeof __props.label === "string" ? (openBlock(), createElementBlock("span", _hoisted_3$t, toDisplayString(__props.label), 1)) : createCommentVNode("", true),
2569
+ __props.required ? (openBlock(), createElementBlock("span", _hoisted_4$o, "*")) : createCommentVNode("", true)
2563
2570
  ], 8, _hoisted_2$v)) : createCommentVNode("", true),
2564
2571
  createElementVNode("div", {
2565
2572
  class: normalizeClass(wrapperClasses.value)
2566
2573
  }, [
2567
- __props.prefixIcon ? (openBlock(), createElementBlock("div", _hoisted_4$o, [
2574
+ __props.prefixIcon ? (openBlock(), createElementBlock("div", _hoisted_5$k, [
2568
2575
  (openBlock(), createBlock(resolveDynamicComponent(__props.prefixIcon), { size: 16 }))
2569
2576
  ])) : createCommentVNode("", true),
2570
2577
  withDirectives(createElementVNode("input", mergeProps(filteredAttrs.value, {
@@ -2588,10 +2595,10 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
2588
2595
  onInput: handleInput,
2589
2596
  onBlur: handleBlur,
2590
2597
  onFocus: handleFocus
2591
- }), null, 16, _hoisted_5$j), [
2598
+ }), null, 16, _hoisted_6$g), [
2592
2599
  [vModelDynamic, inputValue.value]
2593
2600
  ]),
2594
- __props.showCharCount && __props.maxLength ? (openBlock(), createElementBlock("div", _hoisted_6$g, toDisplayString(inputValue.value.length) + "/" + toDisplayString(__props.maxLength), 1)) : createCommentVNode("", true),
2601
+ __props.showCharCount && __props.maxLength ? (openBlock(), createElementBlock("div", _hoisted_7$g, toDisplayString(inputValue.value.length) + "/" + toDisplayString(__props.maxLength), 1)) : createCommentVNode("", true),
2595
2602
  __props.showClearButton && !__props.disabled && inputValue.value ? (openBlock(), createElementBlock("button", {
2596
2603
  key: 2,
2597
2604
  type: "button",
@@ -2604,7 +2611,13 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
2604
2611
  __props.statusMessage || validationError.value ? (openBlock(), createElementBlock("div", {
2605
2612
  key: 1,
2606
2613
  class: normalizeClass(statusClasses.value)
2607
- }, toDisplayString(validationError.value || __props.statusMessage), 3)) : createCommentVNode("", true)
2614
+ }, [
2615
+ validationError.value ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
2616
+ createTextVNode(toDisplayString(validationError.value), 1)
2617
+ ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
2618
+ typeof __props.statusMessage !== "string" ? (openBlock(), createBlock(resolveDynamicComponent(__props.statusMessage), { key: 0 })) : (openBlock(), createElementBlock("span", _hoisted_8$d, toDisplayString(__props.statusMessage), 1))
2619
+ ], 64))
2620
+ ], 2)) : createCommentVNode("", true)
2608
2621
  ]);
2609
2622
  };
2610
2623
  }
@@ -2616,7 +2629,7 @@ const _hoisted_3$s = {
2616
2629
  class: "ina-chip__custom-field"
2617
2630
  };
2618
2631
  const _hoisted_4$n = { key: 0 };
2619
- const _hoisted_5$i = { key: 1 };
2632
+ const _hoisted_5$j = { key: 1 };
2620
2633
  const _sfc_main$B = /* @__PURE__ */ defineComponent({
2621
2634
  __name: "Chip",
2622
2635
  props: {
@@ -2730,7 +2743,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
2730
2743
  __props.showCustomization && showInput.value ? (openBlock(), createElementBlock("div", _hoisted_3$s, [
2731
2744
  __props.customizationComponent ? (openBlock(), createElementBlock("div", _hoisted_4$n, [
2732
2745
  (openBlock(), createBlock(resolveDynamicComponent(__props.customizationComponent)))
2733
- ])) : (openBlock(), createElementBlock("div", _hoisted_5$i, [
2746
+ ])) : (openBlock(), createElementBlock("div", _hoisted_5$j, [
2734
2747
  createVNode(_sfc_main$C, {
2735
2748
  "model-value": tempValue.value,
2736
2749
  class: "ina-chip__input",
@@ -3444,13 +3457,13 @@ const _hoisted_1$r = {
3444
3457
  const _hoisted_2$q = { key: 1 };
3445
3458
  const _hoisted_3$o = ["id", "accept", "multiple", "disabled"];
3446
3459
  const _hoisted_4$k = { class: "ina-file-upload__content" };
3447
- const _hoisted_5$h = { class: "ina-file-upload__icon" };
3460
+ const _hoisted_5$i = { class: "ina-file-upload__icon" };
3448
3461
  const _hoisted_6$f = { class: "ina-file-upload__text" };
3449
3462
  const _hoisted_7$f = { class: "ina-file-upload__title" };
3450
3463
  const _hoisted_8$c = { class: "ina-file-upload__description" };
3451
3464
  const _hoisted_9$9 = ["disabled"];
3452
- const _hoisted_10$8 = { class: "ina-file-upload__files" };
3453
- const _hoisted_11$8 = { class: "ina-file-upload__file-indicator" };
3465
+ const _hoisted_10$9 = { class: "ina-file-upload__files" };
3466
+ const _hoisted_11$9 = { class: "ina-file-upload__file-indicator" };
3454
3467
  const _hoisted_12$7 = {
3455
3468
  key: 0,
3456
3469
  class: "ina-file-upload__file-icon-wrapper ina-file-upload__file-icon-wrapper--uploading"
@@ -3463,11 +3476,11 @@ const _hoisted_14$4 = {
3463
3476
  key: 2,
3464
3477
  class: "ina-file-upload__file-icon-wrapper ina-file-upload__file-icon-wrapper--error"
3465
3478
  };
3466
- const _hoisted_15$3 = {
3479
+ const _hoisted_15$4 = {
3467
3480
  key: 3,
3468
3481
  class: "ina-file-upload__file-icon-wrapper ina-file-upload__file-icon-wrapper--success"
3469
3482
  };
3470
- const _hoisted_16$2 = { class: "ina-file-upload__file-info" };
3483
+ const _hoisted_16$3 = { class: "ina-file-upload__file-info" };
3471
3484
  const _hoisted_17$2 = { class: "ina-file-upload__file-name" };
3472
3485
  const _hoisted_18$2 = { class: "ina-file-upload__file-size" };
3473
3486
  const _hoisted_19$2 = {
@@ -3739,7 +3752,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
3739
3752
  onChange: handleFileChange
3740
3753
  }), null, 16, _hoisted_3$o),
3741
3754
  createElementVNode("div", _hoisted_4$k, [
3742
- createElementVNode("div", _hoisted_5$h, [
3755
+ createElementVNode("div", _hoisted_5$i, [
3743
3756
  createVNode(unref(IconUpload), { size: 24 })
3744
3757
  ]),
3745
3758
  createElementVNode("div", _hoisted_6$f, [
@@ -3755,7 +3768,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
3755
3768
  ])
3756
3769
  ], 34),
3757
3770
  files.value.length > 0 ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
3758
- createElementVNode("div", _hoisted_10$8, [
3771
+ createElementVNode("div", _hoisted_10$9, [
3759
3772
  (openBlock(true), createElementBlock(Fragment, null, renderList(displayedFiles.value, (uploadedFile, displayIndex) => {
3760
3773
  return openBlock(), createElementBlock("div", {
3761
3774
  key: `${uploadedFile.file.name}-${getOriginalIndex(uploadedFile)}`,
@@ -3765,7 +3778,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
3765
3778
  "ina-file-upload__file--uploading": uploadedFile.status === "uploading"
3766
3779
  }])
3767
3780
  }, [
3768
- createElementVNode("div", _hoisted_11$8, [
3781
+ createElementVNode("div", _hoisted_11$9, [
3769
3782
  uploadedFile.status === "uploading" ? (openBlock(), createElementBlock("div", _hoisted_12$7, [
3770
3783
  createVNode(unref(IconLoader2), {
3771
3784
  size: 20,
@@ -3781,14 +3794,14 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
3781
3794
  size: 20,
3782
3795
  stroke: "2"
3783
3796
  })
3784
- ])) : uploadedFile.status === "idle" ? (openBlock(), createElementBlock("div", _hoisted_15$3, [
3797
+ ])) : uploadedFile.status === "idle" ? (openBlock(), createElementBlock("div", _hoisted_15$4, [
3785
3798
  createVNode(unref(IconCircleCheck), {
3786
3799
  size: 20,
3787
3800
  stroke: "2"
3788
3801
  })
3789
3802
  ])) : createCommentVNode("", true)
3790
3803
  ]),
3791
- createElementVNode("div", _hoisted_16$2, [
3804
+ createElementVNode("div", _hoisted_16$3, [
3792
3805
  createElementVNode("div", _hoisted_17$2, toDisplayString(unref(sanitizeFileName)(uploadedFile.file.name)), 1),
3793
3806
  createElementVNode("div", _hoisted_18$2, toDisplayString(unref(formatFileSize)(uploadedFile.file.size)), 1),
3794
3807
  uploadedFile.error ? (openBlock(), createElementBlock("div", _hoisted_19$2, toDisplayString(uploadedFile.error), 1)) : createCommentVNode("", true)
@@ -4078,7 +4091,7 @@ const _hoisted_3$m = {
4078
4091
  class: "ina-modal__header"
4079
4092
  };
4080
4093
  const _hoisted_4$i = ["id"];
4081
- const _hoisted_5$g = ["aria-label"];
4094
+ const _hoisted_5$h = ["aria-label"];
4082
4095
  const _hoisted_6$e = { class: "ina-modal__body" };
4083
4096
  const _hoisted_7$e = ["id"];
4084
4097
  const _hoisted_8$b = {
@@ -4209,7 +4222,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
4209
4222
  size: 24,
4210
4223
  class: "ina-modal__close-icon"
4211
4224
  })
4212
- ], 8, _hoisted_5$g)) : createCommentVNode("", true)
4225
+ ], 8, _hoisted_5$h)) : createCommentVNode("", true)
4213
4226
  ])) : createCommentVNode("", true),
4214
4227
  createElementVNode("div", _hoisted_6$e, [
4215
4228
  __props.description ? (openBlock(), createElementBlock("div", {
@@ -4256,7 +4269,7 @@ const _hoisted_4$h = {
4256
4269
  key: 0,
4257
4270
  class: "ina-month-picker__prefix-icon"
4258
4271
  };
4259
- const _hoisted_5$f = { class: "ina-month-picker__trigger-text" };
4272
+ const _hoisted_5$g = { class: "ina-month-picker__trigger-text" };
4260
4273
  const _hoisted_6$d = { class: "ina-month-picker__grid" };
4261
4274
  const _hoisted_7$d = ["disabled", "onClick", "onMouseenter"];
4262
4275
  const _sfc_main$s = /* @__PURE__ */ defineComponent({
@@ -4524,7 +4537,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
4524
4537
  __props.showIcon ? (openBlock(), createElementBlock("div", _hoisted_4$h, [..._cache[1] || (_cache[1] = [
4525
4538
  createStaticVNode('<svg width="16" height="16" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-f53ade24><rect x="3" y="4" width="18" height="18" rx="2" ry="2" stroke="currentColor" stroke-width="2" data-v-f53ade24></rect><line x1="16" y1="2" x2="16" y2="6" stroke="currentColor" stroke-width="2" stroke-linecap="round" data-v-f53ade24></line><line x1="8" y1="2" x2="8" y2="6" stroke="currentColor" stroke-width="2" stroke-linecap="round" data-v-f53ade24></line><line x1="3" y1="10" x2="21" y2="10" stroke="currentColor" stroke-width="2" stroke-linecap="round" data-v-f53ade24></line></svg>', 1)
4526
4539
  ])])) : createCommentVNode("", true),
4527
- createElementVNode("span", _hoisted_5$f, toDisplayString(selectedMonthDisplay.value || __props.placeholder), 1),
4540
+ createElementVNode("span", _hoisted_5$g, toDisplayString(selectedMonthDisplay.value || __props.placeholder), 1),
4528
4541
  __props.showClearButton && selectedMonth.value !== void 0 && !__props.disabled && !__props.readonly ? (openBlock(), createElementBlock("button", {
4529
4542
  key: 1,
4530
4543
  type: "button",
@@ -4613,7 +4626,7 @@ const _hoisted_2$m = {
4613
4626
  };
4614
4627
  const _hoisted_3$k = { class: "ina-multiple-choice-grid__container" };
4615
4628
  const _hoisted_4$g = { class: "ina-multiple-choice-grid__grid" };
4616
- const _hoisted_5$e = { class: "ina-multiple-choice-grid__header-row" };
4629
+ const _hoisted_5$f = { class: "ina-multiple-choice-grid__header-row" };
4617
4630
  const _hoisted_6$c = { class: "ina-multiple-choice-grid__row-label" };
4618
4631
  const _hoisted_7$c = ["id", "name", "value", "disabled"];
4619
4632
  const _hoisted_8$a = ["for"];
@@ -4670,7 +4683,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
4670
4683
  __props.subtitle ? (openBlock(), createElementBlock("div", _hoisted_2$m, toDisplayString(__props.subtitle), 1)) : createCommentVNode("", true),
4671
4684
  createElementVNode("div", _hoisted_3$k, [
4672
4685
  createElementVNode("div", _hoisted_4$g, [
4673
- createElementVNode("div", _hoisted_5$e, [
4686
+ createElementVNode("div", _hoisted_5$f, [
4674
4687
  _cache[1] || (_cache[1] = createElementVNode("div", { class: "ina-multiple-choice-grid__header-cell ina-multiple-choice-grid__header-cell--empty" }, null, -1)),
4675
4688
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.columns, (column, colIndex) => {
4676
4689
  return openBlock(), createElementBlock("div", {
@@ -4726,16 +4739,16 @@ const _hoisted_1$m = ["aria-label"];
4726
4739
  const _hoisted_2$l = { class: "ina-pagination__nav-container" };
4727
4740
  const _hoisted_3$j = { class: "ina-pagination__page-info" };
4728
4741
  const _hoisted_4$f = { class: "ina-pagination__nav-buttons" };
4729
- const _hoisted_5$d = ["disabled"];
4742
+ const _hoisted_5$e = ["disabled"];
4730
4743
  const _hoisted_6$b = ["disabled", "aria-label"];
4731
4744
  const _hoisted_7$b = ["onClick", "disabled", "aria-label", "aria-current"];
4732
4745
  const _hoisted_8$9 = ["disabled", "aria-label"];
4733
4746
  const _hoisted_9$8 = ["disabled"];
4734
- const _hoisted_10$7 = {
4747
+ const _hoisted_10$8 = {
4735
4748
  key: 0,
4736
4749
  class: "ina-pagination__page-size-container"
4737
4750
  };
4738
- const _hoisted_11$7 = ["value", "disabled"];
4751
+ const _hoisted_11$8 = ["value", "disabled"];
4739
4752
  const _hoisted_12$6 = ["value"];
4740
4753
  const _sfc_main$q = /* @__PURE__ */ defineComponent({
4741
4754
  __name: "Pagination",
@@ -4878,7 +4891,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
4878
4891
  "stroke-linejoin": "round"
4879
4892
  })
4880
4893
  ], -1)
4881
- ])], 10, _hoisted_5$d),
4894
+ ])], 10, _hoisted_5$e),
4882
4895
  createElementVNode("button", {
4883
4896
  type: "button",
4884
4897
  class: normalizeClass(["ina-pagination__nav-button", {
@@ -4973,7 +4986,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
4973
4986
  ])], 10, _hoisted_9$8)
4974
4987
  ])
4975
4988
  ]),
4976
- __props.showPageSize ? (openBlock(), createElementBlock("div", _hoisted_10$7, [
4989
+ __props.showPageSize ? (openBlock(), createElementBlock("div", _hoisted_10$8, [
4977
4990
  _cache[4] || (_cache[4] = createElementVNode("span", { class: "ina-pagination__page-size-label" }, " Baris per halaman ", -1)),
4978
4991
  createElementVNode("select", {
4979
4992
  value: __props.pageSize,
@@ -4989,7 +5002,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
4989
5002
  value: opt
4990
5003
  }, toDisplayString(opt), 9, _hoisted_12$6);
4991
5004
  }), 128))
4992
- ], 42, _hoisted_11$7)
5005
+ ], 42, _hoisted_11$8)
4993
5006
  ])) : createCommentVNode("", true)
4994
5007
  ], 10, _hoisted_1$m)) : createCommentVNode("", true);
4995
5008
  };
@@ -4997,13 +5010,14 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
4997
5010
  });
4998
5011
  const _hoisted_1$l = { class: "ina-password-input" };
4999
5012
  const _hoisted_2$k = ["for"];
5000
- const _hoisted_3$i = {
5001
- key: 0,
5013
+ const _hoisted_3$i = { key: 1 };
5014
+ const _hoisted_4$e = {
5015
+ key: 2,
5002
5016
  class: "ina-password-input__required"
5003
5017
  };
5004
- const _hoisted_4$e = ["id", "type", "placeholder", "disabled", "readonly", "maxlength"];
5005
- const _hoisted_5$c = ["disabled"];
5006
- const _hoisted_6$a = {
5018
+ const _hoisted_5$d = ["id", "type", "placeholder", "disabled", "readonly", "maxlength"];
5019
+ const _hoisted_6$a = ["disabled"];
5020
+ const _hoisted_7$a = {
5007
5021
  key: 0,
5008
5022
  width: "16",
5009
5023
  height: "16",
@@ -5011,7 +5025,7 @@ const _hoisted_6$a = {
5011
5025
  fill: "none",
5012
5026
  xmlns: "http://www.w3.org/2000/svg"
5013
5027
  };
5014
- const _hoisted_7$a = {
5028
+ const _hoisted_8$8 = {
5015
5029
  key: 1,
5016
5030
  width: "16",
5017
5031
  height: "16",
@@ -5019,11 +5033,12 @@ const _hoisted_7$a = {
5019
5033
  fill: "none",
5020
5034
  xmlns: "http://www.w3.org/2000/svg"
5021
5035
  };
5022
- const _hoisted_8$8 = {
5036
+ const _hoisted_9$7 = {
5023
5037
  key: 1,
5024
5038
  class: "ina-password-input__status-area"
5025
5039
  };
5026
- const _hoisted_9$7 = {
5040
+ const _hoisted_10$7 = { key: 1 };
5041
+ const _hoisted_11$7 = {
5027
5042
  key: 0,
5028
5043
  class: "ina-password-input__character-count"
5029
5044
  };
@@ -5049,7 +5064,17 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
5049
5064
  const inputRef = ref();
5050
5065
  const inputValue = ref(props.modelValue);
5051
5066
  const showPassword = ref(false);
5052
- const inputId = computed(() => `password-input-${Math.random().toString(36).substr(2, 9)}`);
5067
+ const labelComponent = computed(() => {
5068
+ if (!props.label) return null;
5069
+ if (typeof props.label === "string") return null;
5070
+ return props.label;
5071
+ });
5072
+ const inputId = computed(() => {
5073
+ if (props.label && typeof props.label === "string") {
5074
+ return String(props.label).toLowerCase();
5075
+ }
5076
+ return `password-input-${Math.random().toString(36).substr(2, 9)}`;
5077
+ });
5053
5078
  const wrapperClasses = computed(() => {
5054
5079
  const classes = ["ina-password-input__wrapper"];
5055
5080
  classes.push(`ina-password-input__wrapper--size-${props.size}`);
@@ -5109,8 +5134,8 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
5109
5134
  for: inputId.value,
5110
5135
  class: "ina-password-input__label"
5111
5136
  }, [
5112
- createTextVNode(toDisplayString(__props.label) + " ", 1),
5113
- __props.required ? (openBlock(), createElementBlock("span", _hoisted_3$i, "*")) : createCommentVNode("", true)
5137
+ labelComponent.value ? (openBlock(), createBlock(resolveDynamicComponent(labelComponent.value), { key: 0 })) : __props.label && typeof __props.label === "string" ? (openBlock(), createElementBlock("span", _hoisted_3$i, toDisplayString(__props.label), 1)) : createCommentVNode("", true),
5138
+ __props.required ? (openBlock(), createElementBlock("span", _hoisted_4$e, "*")) : createCommentVNode("", true)
5114
5139
  ], 8, _hoisted_2$k)) : createCommentVNode("", true),
5115
5140
  createElementVNode("div", {
5116
5141
  class: normalizeClass(wrapperClasses.value)
@@ -5129,7 +5154,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
5129
5154
  onInput: handleInput,
5130
5155
  onBlur: handleBlur,
5131
5156
  onFocus: handleFocus
5132
- }, _ctx.$attrs), null, 16, _hoisted_4$e), [
5157
+ }, _ctx.$attrs), null, 16, _hoisted_5$d), [
5133
5158
  [vModelDynamic, inputValue.value]
5134
5159
  ]),
5135
5160
  createElementVNode("button", {
@@ -5138,7 +5163,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
5138
5163
  onClick: togglePasswordVisibility,
5139
5164
  disabled: __props.disabled
5140
5165
  }, [
5141
- !showPassword.value ? (openBlock(), createElementBlock("svg", _hoisted_6$a, [..._cache[1] || (_cache[1] = [
5166
+ !showPassword.value ? (openBlock(), createElementBlock("svg", _hoisted_7$a, [..._cache[1] || (_cache[1] = [
5142
5167
  createElementVNode("path", {
5143
5168
  d: "M1 12S5 4 12 4s11 8 11 8-4 8-11 8-11-8-11-8z",
5144
5169
  stroke: "currentColor",
@@ -5155,7 +5180,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
5155
5180
  "stroke-linecap": "round",
5156
5181
  "stroke-linejoin": "round"
5157
5182
  }, null, -1)
5158
- ])])) : (openBlock(), createElementBlock("svg", _hoisted_7$a, [..._cache[2] || (_cache[2] = [
5183
+ ])])) : (openBlock(), createElementBlock("svg", _hoisted_8$8, [..._cache[2] || (_cache[2] = [
5159
5184
  createElementVNode("path", {
5160
5185
  d: "M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24",
5161
5186
  stroke: "currentColor",
@@ -5174,13 +5199,15 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
5174
5199
  "stroke-linejoin": "round"
5175
5200
  }, null, -1)
5176
5201
  ])]))
5177
- ], 8, _hoisted_5$c)
5202
+ ], 8, _hoisted_6$a)
5178
5203
  ], 2),
5179
- __props.statusMessage ? (openBlock(), createElementBlock("div", _hoisted_8$8, [
5204
+ __props.statusMessage ? (openBlock(), createElementBlock("div", _hoisted_9$7, [
5180
5205
  createElementVNode("div", {
5181
5206
  class: normalizeClass(statusClasses.value)
5182
- }, toDisplayString(__props.statusMessage), 3),
5183
- __props.showCharCount && __props.maxLength ? (openBlock(), createElementBlock("div", _hoisted_9$7, toDisplayString(inputValue.value.length) + "/" + toDisplayString(__props.maxLength), 1)) : createCommentVNode("", true)
5207
+ }, [
5208
+ typeof __props.statusMessage !== "string" ? (openBlock(), createBlock(resolveDynamicComponent(__props.statusMessage), { key: 0 })) : (openBlock(), createElementBlock("span", _hoisted_10$7, toDisplayString(__props.statusMessage), 1))
5209
+ ], 2),
5210
+ __props.showCharCount && __props.maxLength ? (openBlock(), createElementBlock("div", _hoisted_11$7, toDisplayString(inputValue.value.length) + "/" + toDisplayString(__props.maxLength), 1)) : createCommentVNode("", true)
5184
5211
  ])) : createCommentVNode("", true)
5185
5212
  ]);
5186
5213
  };
@@ -5429,24 +5456,26 @@ const COUNTRIES = [
5429
5456
  ];
5430
5457
  const _hoisted_1$k = { class: "ina-phone-input" };
5431
5458
  const _hoisted_2$j = ["for"];
5432
- const _hoisted_3$h = {
5433
- key: 0,
5459
+ const _hoisted_3$h = { key: 1 };
5460
+ const _hoisted_4$d = {
5461
+ key: 2,
5434
5462
  class: "ina-phone-input__asterisk"
5435
5463
  };
5436
- const _hoisted_4$d = ["disabled"];
5437
- const _hoisted_5$b = { class: "ina-phone-input__country-flag" };
5438
- const _hoisted_6$9 = { class: "ina-phone-input__country-code" };
5439
- const _hoisted_7$9 = {
5464
+ const _hoisted_5$c = ["disabled"];
5465
+ const _hoisted_6$9 = { class: "ina-phone-input__country-flag" };
5466
+ const _hoisted_7$9 = { class: "ina-phone-input__country-code" };
5467
+ const _hoisted_8$7 = {
5440
5468
  key: 0,
5441
5469
  class: "ina-phone-input__country-dropdown"
5442
5470
  };
5443
- const _hoisted_8$7 = { class: "ina-phone-input__country-search" };
5444
- const _hoisted_9$6 = { class: "ina-phone-input__country-list" };
5445
- const _hoisted_10$6 = ["onClick"];
5446
- const _hoisted_11$6 = { class: "ina-phone-input__country-flag" };
5447
- const _hoisted_12$5 = { class: "ina-phone-input__country-name" };
5448
- const _hoisted_13$4 = { class: "ina-phone-input__country-dial-code" };
5449
- const _hoisted_14$3 = ["id", "placeholder", "disabled", "readonly"];
5471
+ const _hoisted_9$6 = { class: "ina-phone-input__country-search" };
5472
+ const _hoisted_10$6 = { class: "ina-phone-input__country-list" };
5473
+ const _hoisted_11$6 = ["onClick"];
5474
+ const _hoisted_12$5 = { class: "ina-phone-input__country-flag" };
5475
+ const _hoisted_13$4 = { class: "ina-phone-input__country-name" };
5476
+ const _hoisted_14$3 = { class: "ina-phone-input__country-dial-code" };
5477
+ const _hoisted_15$3 = ["id", "placeholder", "disabled", "readonly"];
5478
+ const _hoisted_16$2 = { key: 1 };
5450
5479
  const _sfc_main$o = /* @__PURE__ */ defineComponent({
5451
5480
  __name: "PhoneInput",
5452
5481
  props: {
@@ -5479,6 +5508,11 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
5479
5508
  const inputId = computed(
5480
5509
  () => `phone-input-${Math.random().toString(36).substr(2, 9)}`
5481
5510
  );
5511
+ const labelComponent = computed(() => {
5512
+ if (!props.label) return null;
5513
+ if (typeof props.label === "string") return null;
5514
+ return props.label;
5515
+ });
5482
5516
  const wrapperClasses = computed(() => {
5483
5517
  const classes = ["ina-phone-input__wrapper"];
5484
5518
  classes.push(`ina-phone-input__wrapper--size-${props.size}`);
@@ -5611,8 +5645,8 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
5611
5645
  for: inputId.value,
5612
5646
  class: "ina-phone-input__label"
5613
5647
  }, [
5614
- createTextVNode(toDisplayString(__props.label) + " ", 1),
5615
- __props.required ? (openBlock(), createElementBlock("span", _hoisted_3$h, "*")) : createCommentVNode("", true)
5648
+ labelComponent.value ? (openBlock(), createBlock(resolveDynamicComponent(labelComponent.value), { key: 0 })) : __props.label && typeof __props.label === "string" ? (openBlock(), createElementBlock("span", _hoisted_3$h, toDisplayString(__props.label), 1)) : createCommentVNode("", true),
5649
+ __props.required ? (openBlock(), createElementBlock("span", _hoisted_4$d, "*")) : createCommentVNode("", true)
5616
5650
  ], 8, _hoisted_2$j)) : createCommentVNode("", true),
5617
5651
  createElementVNode("div", {
5618
5652
  class: normalizeClass(wrapperClasses.value)
@@ -5628,8 +5662,8 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
5628
5662
  onClick: toggleCountryDropdown,
5629
5663
  disabled: __props.disabled || __props.readonly
5630
5664
  }, [
5631
- createElementVNode("span", _hoisted_5$b, toDisplayString(selectedCountry.value.flag), 1),
5632
- createElementVNode("span", _hoisted_6$9, toDisplayString(selectedCountry.value.dialCode), 1),
5665
+ createElementVNode("span", _hoisted_6$9, toDisplayString(selectedCountry.value.flag), 1),
5666
+ createElementVNode("span", _hoisted_7$9, toDisplayString(selectedCountry.value.dialCode), 1),
5633
5667
  (openBlock(), createElementBlock("svg", {
5634
5668
  class: normalizeClass(["ina-phone-input__country-chevron", {
5635
5669
  "ina-phone-input__country-chevron--open": isCountryDropdownOpen.value
@@ -5648,11 +5682,11 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
5648
5682
  "stroke-linejoin": "round"
5649
5683
  }, null, -1)
5650
5684
  ])], 2))
5651
- ], 8, _hoisted_4$d),
5685
+ ], 8, _hoisted_5$c),
5652
5686
  createVNode(Transition, { name: "dropdown" }, {
5653
5687
  default: withCtx(() => [
5654
- isCountryDropdownOpen.value ? (openBlock(), createElementBlock("div", _hoisted_7$9, [
5655
- createElementVNode("div", _hoisted_8$7, [
5688
+ isCountryDropdownOpen.value ? (openBlock(), createElementBlock("div", _hoisted_8$7, [
5689
+ createElementVNode("div", _hoisted_9$6, [
5656
5690
  withDirectives(createElementVNode("input", {
5657
5691
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => countrySearch.value = $event),
5658
5692
  ref_key: "searchInputRef",
@@ -5664,7 +5698,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
5664
5698
  [vModelText, countrySearch.value]
5665
5699
  ])
5666
5700
  ]),
5667
- createElementVNode("div", _hoisted_9$6, [
5701
+ createElementVNode("div", _hoisted_10$6, [
5668
5702
  (openBlock(true), createElementBlock(Fragment, null, renderList(filteredCountries.value, (country) => {
5669
5703
  return openBlock(), createElementBlock("button", {
5670
5704
  key: country.code,
@@ -5672,10 +5706,10 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
5672
5706
  class: normalizeClass(getCountryClasses(country)),
5673
5707
  onClick: ($event) => selectCountry(country)
5674
5708
  }, [
5675
- createElementVNode("span", _hoisted_11$6, toDisplayString(country.flag), 1),
5676
- createElementVNode("span", _hoisted_12$5, toDisplayString(country.name), 1),
5677
- createElementVNode("span", _hoisted_13$4, toDisplayString(country.dialCode), 1)
5678
- ], 10, _hoisted_10$6);
5709
+ createElementVNode("span", _hoisted_12$5, toDisplayString(country.flag), 1),
5710
+ createElementVNode("span", _hoisted_13$4, toDisplayString(country.name), 1),
5711
+ createElementVNode("span", _hoisted_14$3, toDisplayString(country.dialCode), 1)
5712
+ ], 10, _hoisted_11$6);
5679
5713
  }), 128))
5680
5714
  ])
5681
5715
  ])) : createCommentVNode("", true)
@@ -5697,19 +5731,21 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
5697
5731
  onInput: handleInput,
5698
5732
  onBlur: handleBlur,
5699
5733
  onFocus: handleFocus
5700
- }), null, 16, _hoisted_14$3), [
5734
+ }), null, 16, _hoisted_15$3), [
5701
5735
  [vModelText, phoneNumber.value]
5702
5736
  ])
5703
5737
  ], 2),
5704
5738
  bottomText.value ? (openBlock(), createElementBlock("div", {
5705
5739
  key: 1,
5706
5740
  class: normalizeClass(helperTextClasses.value)
5707
- }, toDisplayString(bottomText.value), 3)) : createCommentVNode("", true)
5741
+ }, [
5742
+ typeof bottomText.value !== "string" ? (openBlock(), createBlock(resolveDynamicComponent(bottomText.value), { key: 0 })) : (openBlock(), createElementBlock("span", _hoisted_16$2, toDisplayString(bottomText.value), 1))
5743
+ ], 2)) : createCommentVNode("", true)
5708
5744
  ]);
5709
5745
  };
5710
5746
  }
5711
5747
  });
5712
- const PhoneInput = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-fc52068c"]]);
5748
+ const PhoneInput = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-89171b69"]]);
5713
5749
  const _hoisted_1$j = {
5714
5750
  key: 0,
5715
5751
  class: "ina-progress-bar__shimmer"
@@ -5807,7 +5843,7 @@ const _hoisted_1$i = ["disabled"];
5807
5843
  const _hoisted_2$i = { class: "ina-radio-input__group" };
5808
5844
  const _hoisted_3$g = ["for"];
5809
5845
  const _hoisted_4$c = ["id", "name", "value", "disabled"];
5810
- const _hoisted_5$a = ["for"];
5846
+ const _hoisted_5$b = ["for"];
5811
5847
  const _sfc_main$l = /* @__PURE__ */ defineComponent({
5812
5848
  __name: "RadioInput",
5813
5849
  props: {
@@ -5912,7 +5948,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
5912
5948
  createElementVNode("label", {
5913
5949
  for: `${labelId.value}-${option.value}-${index2}`,
5914
5950
  class: normalizeClass(["ina-radio-input__option-label", { "ina-radio-input__option-label--disabled": __props.disabled }])
5915
- }, toDisplayString(option.label), 11, _hoisted_5$a)
5951
+ }, toDisplayString(option.label), 11, _hoisted_5$b)
5916
5952
  ], 2);
5917
5953
  }), 128))
5918
5954
  ]),
@@ -5931,7 +5967,7 @@ const _hoisted_2$h = {
5931
5967
  };
5932
5968
  const _hoisted_3$f = { class: "ina-year-picker__wrapper" };
5933
5969
  const _hoisted_4$b = ["id", "disabled", "aria-expanded", "aria-labelledby"];
5934
- const _hoisted_5$9 = {
5970
+ const _hoisted_5$a = {
5935
5971
  key: 0,
5936
5972
  class: "ina-year-picker__prefix-icon"
5937
5973
  };
@@ -6235,7 +6271,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
6235
6271
  onClick: togglePanel,
6236
6272
  onKeydown: handleKeydown
6237
6273
  }, [
6238
- __props.showIcon ? (openBlock(), createElementBlock("div", _hoisted_5$9, [..._cache[1] || (_cache[1] = [
6274
+ __props.showIcon ? (openBlock(), createElementBlock("div", _hoisted_5$a, [..._cache[1] || (_cache[1] = [
6239
6275
  createStaticVNode('<svg width="16" height="16" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-6e7c1cdf><rect x="3" y="4" width="18" height="18" rx="2" ry="2" stroke="currentColor" stroke-width="2" data-v-6e7c1cdf></rect><line x1="16" y1="2" x2="16" y2="6" stroke="currentColor" stroke-width="2" stroke-linecap="round" data-v-6e7c1cdf></line><line x1="8" y1="2" x2="8" y2="6" stroke="currentColor" stroke-width="2" stroke-linecap="round" data-v-6e7c1cdf></line><line x1="3" y1="10" x2="21" y2="10" stroke="currentColor" stroke-width="2" stroke-linecap="round" data-v-6e7c1cdf></line></svg>', 1)
6240
6276
  ])])) : createCommentVNode("", true),
6241
6277
  createElementVNode("span", _hoisted_6$8, toDisplayString(selectedYear.value || __props.placeholder), 1),
@@ -6331,7 +6367,7 @@ const _hoisted_4$a = {
6331
6367
  key: 0,
6332
6368
  class: "ina-date-picker__calendar-container"
6333
6369
  };
6334
- const _hoisted_5$8 = { class: "ina-date-picker__calendar-header" };
6370
+ const _hoisted_5$9 = { class: "ina-date-picker__calendar-header" };
6335
6371
  const _hoisted_6$7 = { class: "ina-date-picker__header-controls" };
6336
6372
  const _hoisted_7$7 = { class: "ina-date-picker__dropdown-container" };
6337
6373
  const _hoisted_8$5 = { class: "ina-date-picker__dropdown-container" };
@@ -7176,7 +7212,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
7176
7212
  class: normalizeClass(panelContentClasses.value)
7177
7213
  }, [
7178
7214
  __props.mode === "single" ? (openBlock(), createElementBlock("div", _hoisted_4$a, [
7179
- createElementVNode("div", _hoisted_5$8, [
7215
+ createElementVNode("div", _hoisted_5$9, [
7180
7216
  createElementVNode("button", {
7181
7217
  type: "button",
7182
7218
  class: "ina-date-picker__nav-button",
@@ -7395,7 +7431,7 @@ const _hoisted_3$d = {
7395
7431
  class: "ina-select-dropdown__search"
7396
7432
  };
7397
7433
  const _hoisted_4$9 = ["aria-label", "disabled"];
7398
- const _hoisted_5$7 = {
7434
+ const _hoisted_5$8 = {
7399
7435
  key: 1,
7400
7436
  class: "ina-select-dropdown__preview"
7401
7437
  };
@@ -7832,7 +7868,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
7832
7868
  [vModelText, internalSearchTerm.value]
7833
7869
  ])
7834
7870
  ])) : createCommentVNode("", true),
7835
- __props.showPreviewValue && hasSelectedItems.value ? (openBlock(), createElementBlock("div", _hoisted_5$7, [
7871
+ __props.showPreviewValue && hasSelectedItems.value ? (openBlock(), createElementBlock("div", _hoisted_5$8, [
7836
7872
  createElementVNode("div", _hoisted_6$6, [
7837
7873
  __props.multiple ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
7838
7874
  (openBlock(true), createElementBlock(Fragment, null, renderList(selectedArray.value.slice(0, 3), (value, index2) => {
@@ -7954,7 +7990,7 @@ const _hoisted_2$e = {
7954
7990
  };
7955
7991
  const _hoisted_3$c = ["id"];
7956
7992
  const _hoisted_4$8 = ["aria-label"];
7957
- const _hoisted_5$6 = { class: "ina-drawer__content" };
7993
+ const _hoisted_5$7 = { class: "ina-drawer__content" };
7958
7994
  const _hoisted_6$5 = ["id"];
7959
7995
  const _hoisted_7$5 = {
7960
7996
  key: 1,
@@ -8116,7 +8152,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
8116
8152
  ], -1)
8117
8153
  ])], 8, _hoisted_4$8)) : createCommentVNode("", true)
8118
8154
  ])) : createCommentVNode("", true),
8119
- createElementVNode("div", _hoisted_5$6, [
8155
+ createElementVNode("div", _hoisted_5$7, [
8120
8156
  __props.description ? (openBlock(), createElementBlock("div", {
8121
8157
  key: 0,
8122
8158
  id: descriptionId.value,
@@ -8259,7 +8295,7 @@ const _hoisted_4$7 = {
8259
8295
  key: 2,
8260
8296
  class: "ina-stepper__step-number"
8261
8297
  };
8262
- const _hoisted_5$5 = { class: "ina-stepper__label" };
8298
+ const _hoisted_5$6 = { class: "ina-stepper__label" };
8263
8299
  const _sfc_main$e = /* @__PURE__ */ defineComponent({
8264
8300
  __name: "Stepper",
8265
8301
  props: {
@@ -8310,7 +8346,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
8310
8346
  createElementVNode("path", { d: "M5 12l5 5l10 -10" }, null, -1)
8311
8347
  ])])) : step.icon ? (openBlock(), createBlock(resolveDynamicComponent(step.icon), { key: 1 })) : (openBlock(), createElementBlock("span", _hoisted_4$7, toDisplayString(index2 + 1), 1))
8312
8348
  ]),
8313
- createElementVNode("div", _hoisted_5$5, [
8349
+ createElementVNode("div", _hoisted_5$6, [
8314
8350
  typeof step.label === "string" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
8315
8351
  createTextVNode(toDisplayString(step.label), 1)
8316
8352
  ], 64)) : (openBlock(), createBlock(resolveDynamicComponent(step.label), { key: 1 }))
@@ -8686,7 +8722,7 @@ const _hoisted_4$6 = {
8686
8722
  key: 1,
8687
8723
  class: "ina-table__sort-icon"
8688
8724
  };
8689
- const _hoisted_5$4 = ["onClick"];
8725
+ const _hoisted_5$5 = ["onClick"];
8690
8726
  const _hoisted_6$4 = ["onClick"];
8691
8727
  const _hoisted_7$4 = { key: 0 };
8692
8728
  const _hoisted_8$3 = ["colspan"];
@@ -9034,7 +9070,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
9034
9070
  size: 16,
9035
9071
  stroke: String(isSorted(col) && sortOrder.value === "asc" ? 3 : 2)
9036
9072
  }, null, 8, ["stroke"])
9037
- ], 10, _hoisted_5$4),
9073
+ ], 10, _hoisted_5$5),
9038
9074
  createElementVNode("div", {
9039
9075
  class: normalizeClass([
9040
9076
  "ina-table__sort-button",
@@ -9150,6 +9186,7 @@ const _hoisted_3$6 = {
9150
9186
  class: "ina-text-area__required"
9151
9187
  };
9152
9188
  const _hoisted_4$5 = ["id", "name", "placeholder", "disabled", "readonly", "maxlength", "rows", "autocomplete", "spellcheck", "autocapitalize", "autocorrect", "dir"];
9189
+ const _hoisted_5$4 = { key: 1 };
9153
9190
  const _sfc_main$9 = /* @__PURE__ */ defineComponent({
9154
9191
  __name: "TextArea",
9155
9192
  props: {
@@ -9408,7 +9445,13 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
9408
9445
  __props.statusMessage || validationError.value ? (openBlock(), createElementBlock("div", {
9409
9446
  key: 1,
9410
9447
  class: normalizeClass(statusMessageClasses.value)
9411
- }, toDisplayString(validationError.value || __props.statusMessage), 3)) : createCommentVNode("", true),
9448
+ }, [
9449
+ validationError.value ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
9450
+ createTextVNode(toDisplayString(validationError.value), 1)
9451
+ ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
9452
+ typeof __props.statusMessage !== "string" ? (openBlock(), createBlock(resolveDynamicComponent(__props.statusMessage), { key: 0 })) : (openBlock(), createElementBlock("span", _hoisted_5$4, toDisplayString(__props.statusMessage), 1))
9453
+ ], 64))
9454
+ ], 2)) : createCommentVNode("", true),
9412
9455
  __props.showCharCount && __props.maxLength ? (openBlock(), createElementBlock("div", {
9413
9456
  key: 2,
9414
9457
  class: normalizeClass(charCountClasses.value)