@idds/vue 1.4.20 → 1.4.22

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.
Files changed (66) hide show
  1. package/dist/components/Accordion.vue.d.ts +0 -7
  2. package/dist/components/Accordion.vue.d.ts.map +1 -1
  3. package/dist/components/Avatar.vue.d.ts +0 -7
  4. package/dist/components/Avatar.vue.d.ts.map +1 -1
  5. package/dist/components/Badge.vue.d.ts +1 -6
  6. package/dist/components/Badge.vue.d.ts.map +1 -1
  7. package/dist/components/Button.vue.d.ts +2 -6
  8. package/dist/components/Button.vue.d.ts.map +1 -1
  9. package/dist/components/ButtonGroup.vue.d.ts +0 -5
  10. package/dist/components/ButtonGroup.vue.d.ts.map +1 -1
  11. package/dist/components/Card.vue.d.ts +0 -5
  12. package/dist/components/Card.vue.d.ts.map +1 -1
  13. package/dist/components/Chip.vue.d.ts +0 -5
  14. package/dist/components/Chip.vue.d.ts.map +1 -1
  15. package/dist/components/CircleProgressBar.vue.d.ts +0 -7
  16. package/dist/components/CircleProgressBar.vue.d.ts.map +1 -1
  17. package/dist/components/DatePicker.vue.d.ts +0 -1
  18. package/dist/components/DatePicker.vue.d.ts.map +1 -1
  19. package/dist/components/Dropdown.vue.d.ts +1 -5
  20. package/dist/components/Dropdown.vue.d.ts.map +1 -1
  21. package/dist/components/FieldInputTable.vue.d.ts +0 -5
  22. package/dist/components/FieldInputTable.vue.d.ts.map +1 -1
  23. package/dist/components/FileUpload.vue.d.ts +0 -7
  24. package/dist/components/FileUpload.vue.d.ts.map +1 -1
  25. package/dist/components/LinearProgressIndicator.vue.d.ts +2 -6
  26. package/dist/components/LinearProgressIndicator.vue.d.ts.map +1 -1
  27. package/dist/components/OneTimePassword.vue.d.ts +0 -2
  28. package/dist/components/OneTimePassword.vue.d.ts.map +1 -1
  29. package/dist/components/ProgressBar.vue.d.ts +0 -7
  30. package/dist/components/ProgressBar.vue.d.ts.map +1 -1
  31. package/dist/components/SelectDropdown.vue.d.ts +0 -4
  32. package/dist/components/SelectDropdown.vue.d.ts.map +1 -1
  33. package/dist/components/SingleFileUpload.vue.d.ts +0 -7
  34. package/dist/components/SingleFileUpload.vue.d.ts.map +1 -1
  35. package/dist/components/Skeleton.vue.d.ts +0 -5
  36. package/dist/components/Skeleton.vue.d.ts.map +1 -1
  37. package/dist/components/Stepper.vue.d.ts +0 -2
  38. package/dist/components/Stepper.vue.d.ts.map +1 -1
  39. package/dist/components/TabHorizontal.vue.d.ts +1 -5
  40. package/dist/components/TabHorizontal.vue.d.ts.map +1 -1
  41. package/dist/components/TabVertical.vue.d.ts +0 -5
  42. package/dist/components/TabVertical.vue.d.ts.map +1 -1
  43. package/dist/components/Table.vue.d.ts +0 -4
  44. package/dist/components/Table.vue.d.ts.map +1 -1
  45. package/dist/components/TableProgressBar.vue.d.ts +0 -7
  46. package/dist/components/TableProgressBar.vue.d.ts.map +1 -1
  47. package/dist/components/ThemeToggle.vue.d.ts +0 -4
  48. package/dist/components/ThemeToggle.vue.d.ts.map +1 -1
  49. package/dist/components/TimePicker.vue.d.ts +0 -2
  50. package/dist/components/TimePicker.vue.d.ts.map +1 -1
  51. package/dist/components/Toast.vue.d.ts +0 -4
  52. package/dist/components/Toast.vue.d.ts.map +1 -1
  53. package/dist/components/Tooltip.vue.d.ts +0 -7
  54. package/dist/components/Tooltip.vue.d.ts.map +1 -1
  55. package/dist/composables/useToast.d.ts +3 -1
  56. package/dist/composables/useToast.d.ts.map +1 -1
  57. package/dist/index.cjs.js +4 -4
  58. package/dist/index.cjs.js.map +1 -1
  59. package/dist/index.css +1 -1
  60. package/dist/index.d.ts +0 -279
  61. package/dist/index.d.ts.map +1 -1
  62. package/dist/index.es.js +76 -166
  63. package/dist/index.es.js.map +1 -1
  64. package/dist/index.umd.js +3 -3
  65. package/dist/index.umd.js.map +1 -1
  66. package/package.json +2 -2
package/dist/index.es.js CHANGED
@@ -422,8 +422,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
422
422
  defaultOpen: { type: Boolean, default: false },
423
423
  open: { type: Boolean, default: void 0 },
424
424
  onToggle: {},
425
- disabled: { type: Boolean, default: false },
426
- className: { default: "" }
425
+ disabled: { type: Boolean, default: false }
427
426
  },
428
427
  emits: ["toggle"],
429
428
  setup(__props, { emit: __emit }) {
@@ -456,9 +455,6 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
456
455
  const contentId = computed(() => `accordion-content-${itemId.value}`);
457
456
  const accordionClasses = computed(() => {
458
457
  const classes = ["ina-accordion"];
459
- if (props.className) {
460
- classes.push(props.className);
461
- }
462
458
  if (props.disabled) {
463
459
  classes.push("ina-accordion--disabled");
464
460
  }
@@ -1309,21 +1305,21 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
1309
1305
  alt: { default: "Avatar" },
1310
1306
  initials: { default: "" },
1311
1307
  size: { default: 32 },
1312
- shape: { default: "circle" },
1313
- className: { default: "" }
1308
+ shape: { default: "circle" }
1314
1309
  },
1315
1310
  setup(__props) {
1316
1311
  const props = __props;
1317
1312
  const imageError = ref(false);
1318
1313
  const imageLoaded = ref(false);
1319
1314
  const avatarClasses = computed(() => {
1320
- const classes = ["ina-avatar", `ina-avatar--${props.size}`, `ina-avatar--${props.shape}`];
1315
+ const classes = [
1316
+ "ina-avatar",
1317
+ `ina-avatar--${props.size}`,
1318
+ `ina-avatar--${props.shape}`
1319
+ ];
1321
1320
  if (props.src && !imageError.value) {
1322
1321
  classes.push("ina-avatar--image");
1323
1322
  }
1324
- if (props.className) {
1325
- classes.push(props.className);
1326
- }
1327
1323
  return classes;
1328
1324
  });
1329
1325
  const handleImageError = () => {
@@ -1365,8 +1361,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
1365
1361
  size: { default: "md" },
1366
1362
  rounded: { default: "full" },
1367
1363
  prefixIcon: {},
1368
- suffixIcon: {},
1369
- className: { default: "" }
1364
+ suffixIcon: {}
1370
1365
  },
1371
1366
  setup(__props) {
1372
1367
  const props = __props;
@@ -1378,9 +1373,6 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
1378
1373
  `ina-badge--${props.size}`,
1379
1374
  `ina-badge--rounded-${props.rounded}`
1380
1375
  ];
1381
- if (props.className) {
1382
- classes.push(props.className);
1383
- }
1384
1376
  return classes;
1385
1377
  });
1386
1378
  return (_ctx, _cache) => {
@@ -1585,8 +1577,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
1585
1577
  prefixIcon: {},
1586
1578
  suffixIcon: {},
1587
1579
  disabled: { type: Boolean, default: false },
1588
- type: { default: "button" },
1589
- className: { default: "" }
1580
+ type: { default: "button" }
1590
1581
  },
1591
1582
  emits: ["click"],
1592
1583
  setup(__props) {
@@ -1595,9 +1586,6 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
1595
1586
  const classes = ["ina-button"];
1596
1587
  classes.push(`ina-button--${props.hierarchy}`);
1597
1588
  classes.push(`ina-button--${props.size}`);
1598
- if (props.className) {
1599
- classes.push(props.className);
1600
- }
1601
1589
  return classes;
1602
1590
  });
1603
1591
  const renderIcon = (icon, wrapperClass) => {
@@ -1637,7 +1625,6 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
1637
1625
  options: {},
1638
1626
  modelValue: {},
1639
1627
  disabled: { type: Boolean, default: false },
1640
- className: { default: "" },
1641
1628
  name: {}
1642
1629
  },
1643
1630
  emits: ["update:modelValue", "change"],
@@ -1649,9 +1636,6 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
1649
1636
  if (props.disabled) {
1650
1637
  classes.push("ina-button-group--disabled");
1651
1638
  }
1652
- if (props.className) {
1653
- classes.push(props.className);
1654
- }
1655
1639
  return classes;
1656
1640
  });
1657
1641
  const isSelected = (option) => {
@@ -1745,7 +1729,7 @@ const _hoisted_13$6 = {
1745
1729
  class: "ina-card__media"
1746
1730
  };
1747
1731
  const _hoisted_14$5 = ["src", "alt"];
1748
- const _hoisted_15$3 = {
1732
+ const _hoisted_15$4 = {
1749
1733
  key: 4,
1750
1734
  class: "ina-card__media"
1751
1735
  };
@@ -1793,8 +1777,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
1793
1777
  showFooter: { type: Boolean, default: false },
1794
1778
  hoverable: { type: Boolean, default: false },
1795
1779
  clickable: { type: Boolean, default: false },
1796
- size: { default: "md" },
1797
- className: { default: "" }
1780
+ size: { default: "md" }
1798
1781
  },
1799
1782
  emits: ["buttonClick", "click"],
1800
1783
  setup(__props, { emit: __emit }) {
@@ -1831,9 +1814,6 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
1831
1814
  if (props.showFooter) {
1832
1815
  classes.push("ina-card--with-footer");
1833
1816
  }
1834
- if (props.className) {
1835
- classes.push(props.className);
1836
- }
1837
1817
  return classes;
1838
1818
  });
1839
1819
  const handleButtonClick = () => {
@@ -1921,7 +1901,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
1921
1901
  }, null, 8, _hoisted_14$5)) : createCommentVNode("", true)
1922
1902
  ])
1923
1903
  ])) : createCommentVNode("", true),
1924
- __props.variant === "horizontal" && computedMediaPosition.value === "right" ? (openBlock(), createElementBlock("div", _hoisted_15$3, [
1904
+ __props.variant === "horizontal" && computedMediaPosition.value === "right" ? (openBlock(), createElementBlock("div", _hoisted_15$4, [
1925
1905
  renderSlot(_ctx.$slots, "media", {}, () => [
1926
1906
  __props.mediaSrc ? (openBlock(), createElementBlock("img", {
1927
1907
  key: 0,
@@ -2647,8 +2627,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
2647
2627
  onSelect: {},
2648
2628
  showCustomization: { type: Boolean, default: false },
2649
2629
  customizationLabel: { default: "Kustomisasi" },
2650
- customizationComponent: {},
2651
- className: { default: "" }
2630
+ customizationComponent: {}
2652
2631
  },
2653
2632
  emits: ["select"],
2654
2633
  setup(__props, { emit: __emit }) {
@@ -2690,9 +2669,6 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
2690
2669
  );
2691
2670
  const chipContainerClasses = computed(() => {
2692
2671
  const classes = ["ina-chip"];
2693
- if (props.className) {
2694
- classes.push(props.className);
2695
- }
2696
2672
  return classes;
2697
2673
  });
2698
2674
  const getChipItemClasses = (opt, index2) => {
@@ -2780,8 +2756,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
2780
2756
  diameter: { default: 20 },
2781
2757
  strokeWidth: { default: 3 },
2782
2758
  variant: { default: "primary" },
2783
- trackColor: { default: "#EAECF0" },
2784
- className: { default: "" }
2759
+ trackColor: { default: "#EAECF0" }
2785
2760
  },
2786
2761
  setup(__props) {
2787
2762
  const props = __props;
@@ -2797,7 +2772,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
2797
2772
  const isCustomColor = computed(() => props.variant.startsWith("#"));
2798
2773
  const containerClasses = computed(() => {
2799
2774
  const variantClass = !isCustomColor.value ? `ina-circle-progress-bar--${props.variant}` : "";
2800
- return ["ina-circle-progress-bar", variantClass, props.className].filter(Boolean).join(" ");
2775
+ return ["ina-circle-progress-bar", variantClass].filter(Boolean).join(" ");
2801
2776
  });
2802
2777
  const containerStyle = computed(() => {
2803
2778
  const style = {
@@ -2983,7 +2958,6 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
2983
2958
  trigger: {},
2984
2959
  triggerText: { default: "Dropdown" },
2985
2960
  items: {},
2986
- className: { default: "" },
2987
2961
  dropdownClassName: { default: "" },
2988
2962
  dropdownStyle: {},
2989
2963
  disabled: { type: Boolean, default: false },
@@ -3000,9 +2974,6 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
3000
2974
  });
3001
2975
  const containerClasses = computed(() => {
3002
2976
  const classes = ["ina-dropdown"];
3003
- if (props.className) {
3004
- classes.push(props.className);
3005
- }
3006
2977
  return classes;
3007
2978
  });
3008
2979
  const triggerClasses = computed(() => {
@@ -3136,7 +3107,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
3136
3107
  };
3137
3108
  }
3138
3109
  });
3139
- const Dropdown = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-caab13f9"]]);
3110
+ const Dropdown = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-3db9a074"]]);
3140
3111
  const _hoisted_1$s = { class: "ina-field-input-table__wrapper" };
3141
3112
  const _hoisted_2$r = { class: "ina-field-input-table__label" };
3142
3113
  const _hoisted_3$p = ["value"];
@@ -3148,19 +3119,14 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
3148
3119
  onChange: {},
3149
3120
  onCommit: {},
3150
3121
  onCancel: {},
3151
- placeholder: { default: "" },
3152
- className: { default: "" }
3122
+ placeholder: { default: "" }
3153
3123
  },
3154
3124
  emits: ["change", "commit", "cancel"],
3155
3125
  setup(__props, { emit: __emit }) {
3156
- const props = __props;
3157
3126
  const emit = __emit;
3158
3127
  const inputRef = ref(null);
3159
3128
  const containerClasses = computed(() => {
3160
3129
  const classes = ["ina-field-input-table"];
3161
- if (props.className) {
3162
- classes.push(props.className);
3163
- }
3164
3130
  return classes.join(" ");
3165
3131
  });
3166
3132
  const handleKeyDown = (e) => {
@@ -3497,7 +3463,7 @@ const _hoisted_14$4 = {
3497
3463
  key: 2,
3498
3464
  class: "ina-file-upload__file-icon-wrapper ina-file-upload__file-icon-wrapper--error"
3499
3465
  };
3500
- const _hoisted_15$2 = {
3466
+ const _hoisted_15$3 = {
3501
3467
  key: 3,
3502
3468
  class: "ina-file-upload__file-icon-wrapper ina-file-upload__file-icon-wrapper--success"
3503
3469
  };
@@ -3532,7 +3498,6 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
3532
3498
  maxTotalSizeMB: { default: void 0 },
3533
3499
  validateMagicNumber: { type: Boolean, default: true },
3534
3500
  disabled: { type: Boolean, default: false },
3535
- className: { default: "" },
3536
3501
  onChange: {},
3537
3502
  onRemove: {}
3538
3503
  },
@@ -3579,9 +3544,6 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
3579
3544
  };
3580
3545
  const uploadClasses = computed(() => {
3581
3546
  const classes = ["ina-file-upload"];
3582
- if (props.className) {
3583
- classes.push(props.className);
3584
- }
3585
3547
  if (props.disabled) {
3586
3548
  classes.push("ina-file-upload--disabled");
3587
3549
  }
@@ -3819,7 +3781,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
3819
3781
  size: 20,
3820
3782
  stroke: "2"
3821
3783
  })
3822
- ])) : uploadedFile.status === "idle" ? (openBlock(), createElementBlock("div", _hoisted_15$2, [
3784
+ ])) : uploadedFile.status === "idle" ? (openBlock(), createElementBlock("div", _hoisted_15$3, [
3823
3785
  createVNode(unref(IconCircleCheck), {
3824
3786
  size: 20,
3825
3787
  stroke: "2"
@@ -5760,8 +5722,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
5760
5722
  duration: { default: 1e3 },
5761
5723
  variant: { default: "primary" },
5762
5724
  height: { default: "sm" },
5763
- shimmer: { type: Boolean, default: true },
5764
- className: { default: "" }
5725
+ shimmer: { type: Boolean, default: true }
5765
5726
  },
5766
5727
  setup(__props) {
5767
5728
  const props = __props;
@@ -5773,9 +5734,6 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
5773
5734
  if (!props.visible) {
5774
5735
  classes.push("ina-progress-bar--hidden");
5775
5736
  }
5776
- if (props.className) {
5777
- classes.push(props.className);
5778
- }
5779
5737
  return classes.join(" ");
5780
5738
  });
5781
5739
  const fillClasses = computed(() => {
@@ -5819,8 +5777,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
5819
5777
  __name: "LinearProgressIndicator",
5820
5778
  props: {
5821
5779
  value: { default: 0 },
5822
- visible: { type: Boolean, default: true },
5823
- className: { default: "" }
5780
+ visible: { type: Boolean, default: true }
5824
5781
  },
5825
5782
  setup(__props) {
5826
5783
  const props = __props;
@@ -5829,9 +5786,6 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
5829
5786
  });
5830
5787
  const containerClasses = computed(() => {
5831
5788
  const classes = ["ina-linear-progress-indicator"];
5832
- if (props.className) {
5833
- classes.push(props.className);
5834
- }
5835
5789
  return classes.join(" ");
5836
5790
  });
5837
5791
  return (_ctx, _cache) => {
@@ -6387,7 +6341,7 @@ const _hoisted_11$4 = { class: "ina-date-picker__day-number" };
6387
6341
  const _hoisted_12$3 = { class: "ina-date-picker__calendar-container" };
6388
6342
  const _hoisted_13$3 = { class: "ina-date-picker__calendar-header" };
6389
6343
  const _hoisted_14$2 = { class: "ina-date-picker__header-controls" };
6390
- const _hoisted_15$1 = { class: "ina-date-picker__dropdown-container" };
6344
+ const _hoisted_15$2 = { class: "ina-date-picker__dropdown-container" };
6391
6345
  const _hoisted_16$1 = { class: "ina-date-picker__dropdown-container" };
6392
6346
  const _hoisted_17$1 = { class: "ina-date-picker__calendar-grid" };
6393
6347
  const _hoisted_18$1 = ["disabled", "onClick"];
@@ -6427,8 +6381,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
6427
6381
  panelMaxHeight: { default: void 0 },
6428
6382
  panelClassName: { default: "" },
6429
6383
  triggerClassname: { default: "" },
6430
- popperPlacement: { default: "bottom-start" },
6431
- className: {}
6384
+ popperPlacement: { default: "bottom-start" }
6432
6385
  },
6433
6386
  emits: ["update:modelValue", "change", "clear"],
6434
6387
  setup(__props, { emit: __emit }) {
@@ -6501,11 +6454,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
6501
6454
  return "";
6502
6455
  });
6503
6456
  const containerClasses = computed(() => {
6504
- return clsx(
6505
- "ina-date-picker",
6506
- props.className,
6507
- props.disabled && "ina-date-picker--disabled"
6508
- );
6457
+ return clsx("ina-date-picker", props.disabled && "ina-date-picker--disabled");
6509
6458
  });
6510
6459
  const triggerClasses = computed(() => {
6511
6460
  return clsx(
@@ -7305,7 +7254,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
7305
7254
  })
7306
7255
  ]),
7307
7256
  createElementVNode("div", _hoisted_14$2, [
7308
- createElementVNode("div", _hoisted_15$1, [
7257
+ createElementVNode("div", _hoisted_15$2, [
7309
7258
  createVNode(MonthPicker, {
7310
7259
  "model-value": currentMonth.value,
7311
7260
  disabled: __props.disabled,
@@ -7435,7 +7384,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
7435
7384
  };
7436
7385
  }
7437
7386
  });
7438
- const DatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-d43f3297"]]);
7387
+ const DatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-93b333e7"]]);
7439
7388
  const _hoisted_1$f = ["disabled"];
7440
7389
  const _hoisted_2$f = {
7441
7390
  key: 0,
@@ -7465,7 +7414,7 @@ const _hoisted_11$3 = { class: "ina-select-dropdown__preview-item-text" };
7465
7414
  const _hoisted_12$2 = ["aria-label"];
7466
7415
  const _hoisted_13$2 = ["disabled", "onClick"];
7467
7416
  const _hoisted_14$1 = { class: "ina-select-dropdown__option-content" };
7468
- const _hoisted_15 = { class: "ina-select-dropdown__option-label" };
7417
+ const _hoisted_15$1 = { class: "ina-select-dropdown__option-label" };
7469
7418
  const _hoisted_16 = {
7470
7419
  key: 0,
7471
7420
  class: "ina-select-dropdown__option-check-indicator"
@@ -7514,7 +7463,6 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
7514
7463
  onRemoveSelected: {},
7515
7464
  panelClassName: { default: "" },
7516
7465
  triggerClassName: { default: "" },
7517
- className: { default: "" },
7518
7466
  showPreviewValue: { type: Boolean, default: true },
7519
7467
  searchable: { type: Boolean, default: true }
7520
7468
  },
@@ -7792,11 +7740,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
7792
7740
  }
7793
7741
  };
7794
7742
  const containerClasses = computed(() => {
7795
- return clsx(
7796
- "ina-select-dropdown",
7797
- `ina-select-dropdown--size-${props.size}`,
7798
- props.className
7799
- );
7743
+ return clsx("ina-select-dropdown", `ina-select-dropdown--size-${props.size}`);
7800
7744
  });
7801
7745
  const triggerClasses = computed(() => {
7802
7746
  return clsx(
@@ -7943,7 +7887,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
7943
7887
  option,
7944
7888
  selected: isSelected(option)
7945
7889
  }, () => [
7946
- createElementVNode("span", _hoisted_15, toDisplayString(getOptionLabel(option)), 1)
7890
+ createElementVNode("span", _hoisted_15$1, toDisplayString(getOptionLabel(option)), 1)
7947
7891
  ], true)
7948
7892
  ]),
7949
7893
  __props.multiple ? (openBlock(), createElementBlock("div", {
@@ -8002,7 +7946,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
8002
7946
  };
8003
7947
  }
8004
7948
  });
8005
- const SelectDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-e3f2a508"]]);
7949
+ const SelectDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-1efeeb5b"]]);
8006
7950
  const _hoisted_1$e = ["aria-labelledby", "aria-describedby"];
8007
7951
  const _hoisted_2$e = {
8008
7952
  key: 0,
@@ -8196,7 +8140,6 @@ const Drawer = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-a
8196
8140
  const _sfc_main$g = /* @__PURE__ */ defineComponent({
8197
8141
  __name: "Skeleton",
8198
8142
  props: {
8199
- className: { default: "" },
8200
8143
  color: { default: "gray" },
8201
8144
  width: { default: void 0 },
8202
8145
  height: { default: "32px" },
@@ -8208,9 +8151,6 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
8208
8151
  const classes = ["ina-skeleton"];
8209
8152
  classes.push(`ina-skeleton--rounded-${props.rounded}`);
8210
8153
  classes.push(`ina-skeleton--color-${props.color}`);
8211
- if (props.className) {
8212
- classes.push(props.className);
8213
- }
8214
8154
  return classes;
8215
8155
  });
8216
8156
  const skeletonStyle = computed(() => {
@@ -8326,7 +8266,6 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
8326
8266
  steps: {},
8327
8267
  currentStep: {},
8328
8268
  orientation: { default: "horizontal" },
8329
- className: {},
8330
8269
  onStepClick: {},
8331
8270
  errorSteps: { default: () => [] }
8332
8271
  },
@@ -8340,8 +8279,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
8340
8279
  `ina-stepper--${props.orientation}`,
8341
8280
  {
8342
8281
  "ina-stepper--horizontal-responsive": isHorizontal.value
8343
- },
8344
- props.className
8282
+ }
8345
8283
  ])
8346
8284
  }, [
8347
8285
  (openBlock(true), createElementBlock(Fragment, null, renderList(props.steps, (step, index2) => {
@@ -8393,7 +8331,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
8393
8331
  };
8394
8332
  }
8395
8333
  });
8396
- const Stepper = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-2ab1d888"]]);
8334
+ const Stepper = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-7098cd68"]]);
8397
8335
  const _hoisted_1$b = ["aria-selected", "aria-disabled", "disabled", "onClick", "onKeydown"];
8398
8336
  const _hoisted_2$b = { key: 0 };
8399
8337
  const _hoisted_3$9 = { key: 1 };
@@ -8409,7 +8347,6 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
8409
8347
  fullWidth: { type: Boolean, default: false },
8410
8348
  useBrandColor: { type: Boolean, default: false },
8411
8349
  disabled: { type: Boolean, default: false },
8412
- className: { default: "" },
8413
8350
  containerClassName: { default: "" },
8414
8351
  tabClassName: { default: "" }
8415
8352
  },
@@ -8437,9 +8374,6 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
8437
8374
  if (props.disabled) {
8438
8375
  classes.push("ina-tab-horizontal--disabled");
8439
8376
  }
8440
- if (props.className) {
8441
- classes.push(props.className);
8442
- }
8443
8377
  return classes;
8444
8378
  });
8445
8379
  const tabsContainerClasses = computed(() => {
@@ -8551,7 +8485,6 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
8551
8485
  variant: { default: "outline" },
8552
8486
  useBrandColor: { type: Boolean, default: false },
8553
8487
  disabled: { type: Boolean, default: false },
8554
- className: { default: "" },
8555
8488
  containerClassName: { default: "" },
8556
8489
  tabClassName: { default: "" },
8557
8490
  width: { default: "200px" }
@@ -8577,9 +8510,6 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
8577
8510
  if (props.disabled) {
8578
8511
  classes.push("ina-tab-vertical--disabled");
8579
8512
  }
8580
- if (props.className) {
8581
- classes.push(props.className);
8582
- }
8583
8513
  return classes;
8584
8514
  });
8585
8515
  const tabsContainerClasses = computed(() => {
@@ -8682,8 +8612,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
8682
8612
  props: {
8683
8613
  visible: { type: Boolean, default: true },
8684
8614
  loading: { type: Boolean, default: false },
8685
- variant: { default: "primary" },
8686
- className: { default: "" }
8615
+ variant: { default: "primary" }
8687
8616
  },
8688
8617
  setup(__props) {
8689
8618
  const props = __props;
@@ -8728,9 +8657,6 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
8728
8657
  if (isAnimating.value) {
8729
8658
  classes.push("ina-table-progress-bar--animating");
8730
8659
  }
8731
- if (props.className) {
8732
- classes.push(props.className);
8733
- }
8734
8660
  return classes.join(" ");
8735
8661
  });
8736
8662
  return (_ctx, _cache) => {
@@ -8784,7 +8710,6 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
8784
8710
  placeholderSearch: { default: "Search..." },
8785
8711
  searchPlaceholder: { default: "Input pencarian" },
8786
8712
  buttonSearchLabel: { default: "Cari" },
8787
- className: { default: "" },
8788
8713
  selectable: { type: Boolean, default: false },
8789
8714
  onSelectionChange: {},
8790
8715
  editableColumns: { default: () => [] },
@@ -9013,7 +8938,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
9013
8938
  page.value = 1;
9014
8939
  };
9015
8940
  const tableContainerClasses = computed(() => {
9016
- return clsx("ina-table", props.className, {
8941
+ return clsx("ina-table", {
9017
8942
  "ina-table--sticky-last-column": props.lastColumnSticky
9018
8943
  });
9019
8944
  });
@@ -9059,7 +8984,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
9059
8984
  visible: loading.value,
9060
8985
  loading: loading.value,
9061
8986
  variant: "primary",
9062
- className: "ina-table__progress-bar"
8987
+ class: "ina-table__progress-bar"
9063
8988
  }, null, 8, ["visible", "loading"]),
9064
8989
  createElementVNode("table", {
9065
8990
  ref_key: "tableRef",
@@ -9513,7 +9438,6 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
9513
9438
  error: { type: Boolean, default: false },
9514
9439
  disabled: { type: Boolean, default: false },
9515
9440
  readonly: { type: Boolean, default: false },
9516
- className: {},
9517
9441
  autoFocus: { type: Boolean, default: false }
9518
9442
  },
9519
9443
  emits: ["update:modelValue", "complete"],
@@ -9556,7 +9480,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
9556
9480
  }
9557
9481
  );
9558
9482
  const containerClasses = computed(() => {
9559
- return clsx("ina-one-time-password", props.className);
9483
+ return clsx("ina-one-time-password");
9560
9484
  });
9561
9485
  const inputClasses = computed(() => {
9562
9486
  return clsx(
@@ -9743,7 +9667,6 @@ const _hoisted_2$6 = ["aria-label", "title"];
9743
9667
  const _sfc_main$7 = /* @__PURE__ */ defineComponent({
9744
9668
  __name: "ThemeToggle",
9745
9669
  props: {
9746
- className: { default: "" },
9747
9670
  size: { default: "md" },
9748
9671
  showLabel: { type: Boolean, default: false }
9749
9672
  },
@@ -9765,9 +9688,6 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
9765
9688
  };
9766
9689
  const containerClasses = computed(() => {
9767
9690
  const classes = ["ina-theme-toggle", `ina-theme-toggle--size-${props.size}`];
9768
- if (props.className) {
9769
- classes.push(props.className);
9770
- }
9771
9691
  return classes.join(" ");
9772
9692
  });
9773
9693
  const buttonClasses = computed(() => {
@@ -9847,7 +9767,6 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
9847
9767
  modelValue: {},
9848
9768
  onChange: {},
9849
9769
  onOpenChange: {},
9850
- className: {},
9851
9770
  use12Hours: { type: Boolean, default: false },
9852
9771
  showSecond: { type: Boolean, default: false },
9853
9772
  allowClear: { type: Boolean, default: true },
@@ -10062,9 +9981,6 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
10062
9981
  if (isOpen.value) {
10063
9982
  classes.push("ina-time-picker--open");
10064
9983
  }
10065
- if (props.className) {
10066
- classes.push(props.className);
10067
- }
10068
9984
  return classes;
10069
9985
  });
10070
9986
  const inputClasses = computed(() => {
@@ -10310,8 +10226,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
10310
10226
  state: { default: "default" },
10311
10227
  style: { default: "solid" },
10312
10228
  duration: { default: 5e3 },
10313
- position: { default: "top-right" },
10314
- className: { default: "" }
10229
+ position: { default: "top-right" }
10315
10230
  },
10316
10231
  setup(__props) {
10317
10232
  const props = __props;
@@ -10400,13 +10315,14 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
10400
10315
  }
10401
10316
  }, 300);
10402
10317
  }
10318
+ const attrs = useAttrs();
10403
10319
  const toastClasses = computed(() => {
10404
10320
  return clsx(
10405
10321
  "ina-toast",
10406
10322
  `ina-toast--state-${props.state}`,
10407
10323
  `ina-toast--style-${props.style}`,
10408
10324
  `ina-toast--${isVisible.value ? "visible" : "hidden"}`,
10409
- props.className
10325
+ attrs.class
10410
10326
  );
10411
10327
  });
10412
10328
  return (_ctx, _cache) => {
@@ -10490,8 +10406,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
10490
10406
  style: normalizeStyle(toast2.style),
10491
10407
  duration: toast2.duration,
10492
10408
  position: toast2.position,
10493
- className: toast2.className
10494
- }, null, 8, ["onClose", "title", "description", "actionNode", "state", "style", "duration", "position", "className"]);
10409
+ class: normalizeClass(toast2.class)
10410
+ }, null, 8, ["onClose", "title", "description", "actionNode", "state", "style", "duration", "position", "class"]);
10495
10411
  }), 128))
10496
10412
  ]);
10497
10413
  };
@@ -10534,7 +10450,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
10534
10450
  {
10535
10451
  hierarchy: "custom",
10536
10452
  size: "sm",
10537
- className: cancelClassName,
10453
+ class: cancelClassName,
10538
10454
  onClick: () => handleCloseFn(false)
10539
10455
  },
10540
10456
  { default: () => cancelText }
@@ -10544,7 +10460,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
10544
10460
  {
10545
10461
  hierarchy: "custom",
10546
10462
  size: "sm",
10547
- className: confirmClassName,
10463
+ class: confirmClassName,
10548
10464
  onClick: () => handleCloseFn(true)
10549
10465
  },
10550
10466
  { default: () => confirmText }
@@ -10802,8 +10718,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
10802
10718
  showArrow: { type: Boolean, default: true },
10803
10719
  onClose: {},
10804
10720
  onNext: {},
10805
- customContent: { type: Boolean, default: false },
10806
- className: { default: "" }
10721
+ customContent: { type: Boolean, default: false }
10807
10722
  },
10808
10723
  emits: ["close", "next"],
10809
10724
  setup(__props, { emit: __emit }) {
@@ -10831,9 +10746,6 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
10831
10746
  };
10832
10747
  const tooltipClasses = computed(() => {
10833
10748
  const classes = ["ina-tooltip", `ina-tooltip--placement-${props.placement}`];
10834
- if (props.className) {
10835
- classes.push(props.className);
10836
- }
10837
10749
  if (isClosed.value) {
10838
10750
  classes.push("ina-tooltip--closed");
10839
10751
  }
@@ -10932,7 +10844,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
10932
10844
  };
10933
10845
  }
10934
10846
  });
10935
- const Tooltip = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-e5a730e8"]]);
10847
+ const Tooltip = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-6ec52ff3"]]);
10936
10848
  const predefinedBrands = [
10937
10849
  "inagov",
10938
10850
  "inaku",
@@ -10995,20 +10907,21 @@ function initializeTheme(brandName) {
10995
10907
  if (typeof window !== "undefined") {
10996
10908
  initializeTheme();
10997
10909
  }
10998
- const _hoisted_1 = ["id", "accept", "disabled"];
10999
- const _hoisted_2 = ["tabindex", "aria-label"];
11000
- const _hoisted_3 = { class: "ina-single-file-upload__icon-wrapper ina-single-file-upload__icon-wrapper--default" };
11001
- const _hoisted_4 = { class: "ina-single-file-upload__content" };
11002
- const _hoisted_5 = { class: "ina-single-file-upload__title" };
11003
- const _hoisted_6 = { class: "ina-single-file-upload__description" };
11004
- const _hoisted_7 = { class: "ina-single-file-upload__icon-wrapper ina-single-file-upload__icon-wrapper--default" };
11005
- const _hoisted_8 = { class: "ina-single-file-upload__progress" };
11006
- const _hoisted_9 = { class: "ina-single-file-upload__progress-bar" };
11007
- const _hoisted_10 = { class: "ina-single-file-upload__progress-text" };
11008
- const _hoisted_11 = { class: "ina-single-file-upload__icon-wrapper ina-single-file-upload__icon-wrapper--file" };
11009
- const _hoisted_12 = { class: "ina-single-file-upload__content" };
11010
- const _hoisted_13 = { class: "ina-single-file-upload__title" };
11011
- const _hoisted_14 = { class: "ina-single-file-upload__description" };
10910
+ const _hoisted_1 = { class: "ina-single-file-upload" };
10911
+ const _hoisted_2 = ["id", "accept", "disabled"];
10912
+ const _hoisted_3 = ["tabindex", "aria-label"];
10913
+ const _hoisted_4 = { class: "ina-single-file-upload__icon-wrapper ina-single-file-upload__icon-wrapper--default" };
10914
+ const _hoisted_5 = { class: "ina-single-file-upload__content" };
10915
+ const _hoisted_6 = { class: "ina-single-file-upload__title" };
10916
+ const _hoisted_7 = { class: "ina-single-file-upload__description" };
10917
+ const _hoisted_8 = { class: "ina-single-file-upload__icon-wrapper ina-single-file-upload__icon-wrapper--default" };
10918
+ const _hoisted_9 = { class: "ina-single-file-upload__progress" };
10919
+ const _hoisted_10 = { class: "ina-single-file-upload__progress-bar" };
10920
+ const _hoisted_11 = { class: "ina-single-file-upload__progress-text" };
10921
+ const _hoisted_12 = { class: "ina-single-file-upload__icon-wrapper ina-single-file-upload__icon-wrapper--file" };
10922
+ const _hoisted_13 = { class: "ina-single-file-upload__content" };
10923
+ const _hoisted_14 = { class: "ina-single-file-upload__title" };
10924
+ const _hoisted_15 = { class: "ina-single-file-upload__description" };
11012
10925
  const _sfc_main = /* @__PURE__ */ defineComponent({
11013
10926
  __name: "SingleFileUpload",
11014
10927
  props: {
@@ -11019,7 +10932,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
11019
10932
  allowedExtensions: {},
11020
10933
  validateMagicNumber: { type: Boolean, default: true },
11021
10934
  disabled: { type: Boolean, default: false },
11022
- className: { default: "" },
11023
10935
  progress: {},
11024
10936
  status: {}
11025
10937
  },
@@ -11274,9 +11186,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
11274
11186
  emit("change", droppedFile, null);
11275
11187
  };
11276
11188
  return (_ctx, _cache) => {
11277
- return openBlock(), createElementBlock("div", {
11278
- class: normalizeClass(["ina-single-file-upload", props.className])
11279
- }, [
11189
+ return openBlock(), createElementBlock("div", _hoisted_1, [
11280
11190
  createElementVNode("input", mergeProps(filteredAttrs.value, {
11281
11191
  id: inputId.value,
11282
11192
  ref_key: "fileInputRef",
@@ -11286,7 +11196,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
11286
11196
  disabled: props.disabled,
11287
11197
  class: "ina-single-file-upload__input",
11288
11198
  onChange: handleFileChange
11289
- }), null, 16, _hoisted_1),
11199
+ }), null, 16, _hoisted_2),
11290
11200
  createElementVNode("div", {
11291
11201
  class: normalizeClass(containerClasses.value),
11292
11202
  role: "button",
@@ -11300,35 +11210,35 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
11300
11210
  onDrop: handleDrop
11301
11211
  }, [
11302
11212
  !file.value && status.value === "idle" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
11303
- createElementVNode("div", _hoisted_3, [
11213
+ createElementVNode("div", _hoisted_4, [
11304
11214
  createVNode(unref(IconUpload), { size: 24 })
11305
11215
  ]),
11306
- createElementVNode("div", _hoisted_4, [
11307
- createElementVNode("div", _hoisted_5, toDisplayString(props.title), 1),
11308
- createElementVNode("div", _hoisted_6, toDisplayString(props.description), 1)
11216
+ createElementVNode("div", _hoisted_5, [
11217
+ createElementVNode("div", _hoisted_6, toDisplayString(props.title), 1),
11218
+ createElementVNode("div", _hoisted_7, toDisplayString(props.description), 1)
11309
11219
  ])
11310
11220
  ], 64)) : createCommentVNode("", true),
11311
11221
  !file.value && status.value === "uploading" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
11312
- createElementVNode("div", _hoisted_7, [
11222
+ createElementVNode("div", _hoisted_8, [
11313
11223
  createVNode(unref(IconUpload), { size: 24 })
11314
11224
  ]),
11315
- createElementVNode("div", _hoisted_8, [
11316
- createElementVNode("div", _hoisted_9, [
11225
+ createElementVNode("div", _hoisted_9, [
11226
+ createElementVNode("div", _hoisted_10, [
11317
11227
  createElementVNode("div", {
11318
11228
  class: "ina-single-file-upload__progress-fill",
11319
11229
  style: normalizeStyle({ width: `${progress.value}%` })
11320
11230
  }, null, 4)
11321
11231
  ]),
11322
- createElementVNode("div", _hoisted_10, " Uploading... " + toDisplayString(progress.value) + "% ", 1)
11232
+ createElementVNode("div", _hoisted_11, " Uploading... " + toDisplayString(progress.value) + "% ", 1)
11323
11233
  ])
11324
11234
  ], 64)) : createCommentVNode("", true),
11325
11235
  file.value && status.value === "success" ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
11326
- createElementVNode("div", _hoisted_11, [
11236
+ createElementVNode("div", _hoisted_12, [
11327
11237
  (openBlock(), createBlock(resolveDynamicComponent(fileIconComponent.value), { size: 16 }))
11328
11238
  ]),
11329
- createElementVNode("div", _hoisted_12, [
11330
- createElementVNode("div", _hoisted_13, toDisplayString(file.value.name), 1),
11331
- createElementVNode("div", _hoisted_14, toDisplayString(props.description), 1)
11239
+ createElementVNode("div", _hoisted_13, [
11240
+ createElementVNode("div", _hoisted_14, toDisplayString(file.value.name), 1),
11241
+ createElementVNode("div", _hoisted_15, toDisplayString(props.description), 1)
11332
11242
  ]),
11333
11243
  createElementVNode("button", {
11334
11244
  type: "button",
@@ -11339,8 +11249,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
11339
11249
  createVNode(unref(IconTrash), { size: 18 })
11340
11250
  ])
11341
11251
  ], 64)) : createCommentVNode("", true)
11342
- ], 42, _hoisted_2)
11343
- ], 2);
11252
+ ], 42, _hoisted_3)
11253
+ ]);
11344
11254
  };
11345
11255
  }
11346
11256
  });