@idds/vue 1.4.21 → 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/components/Accordion.vue.d.ts +0 -7
- package/dist/components/Accordion.vue.d.ts.map +1 -1
- package/dist/components/Avatar.vue.d.ts +0 -7
- package/dist/components/Avatar.vue.d.ts.map +1 -1
- package/dist/components/Badge.vue.d.ts +1 -6
- package/dist/components/Badge.vue.d.ts.map +1 -1
- package/dist/components/Button.vue.d.ts +2 -6
- package/dist/components/Button.vue.d.ts.map +1 -1
- package/dist/components/ButtonGroup.vue.d.ts +0 -5
- package/dist/components/ButtonGroup.vue.d.ts.map +1 -1
- package/dist/components/Card.vue.d.ts +0 -5
- package/dist/components/Card.vue.d.ts.map +1 -1
- package/dist/components/Chip.vue.d.ts +0 -5
- package/dist/components/Chip.vue.d.ts.map +1 -1
- package/dist/components/CircleProgressBar.vue.d.ts +0 -7
- package/dist/components/CircleProgressBar.vue.d.ts.map +1 -1
- package/dist/components/DatePicker.vue.d.ts +0 -1
- package/dist/components/DatePicker.vue.d.ts.map +1 -1
- package/dist/components/Dropdown.vue.d.ts +1 -5
- package/dist/components/Dropdown.vue.d.ts.map +1 -1
- package/dist/components/FieldInputTable.vue.d.ts +0 -5
- package/dist/components/FieldInputTable.vue.d.ts.map +1 -1
- package/dist/components/FileUpload.vue.d.ts +0 -7
- package/dist/components/FileUpload.vue.d.ts.map +1 -1
- package/dist/components/LinearProgressIndicator.vue.d.ts +2 -6
- package/dist/components/LinearProgressIndicator.vue.d.ts.map +1 -1
- package/dist/components/OneTimePassword.vue.d.ts +0 -2
- package/dist/components/OneTimePassword.vue.d.ts.map +1 -1
- package/dist/components/PasswordInput.vue.d.ts +4 -2
- package/dist/components/PasswordInput.vue.d.ts.map +1 -1
- package/dist/components/PhoneInput.vue.d.ts +3 -2
- package/dist/components/PhoneInput.vue.d.ts.map +1 -1
- package/dist/components/ProgressBar.vue.d.ts +0 -7
- package/dist/components/ProgressBar.vue.d.ts.map +1 -1
- package/dist/components/SelectDropdown.vue.d.ts +0 -4
- package/dist/components/SelectDropdown.vue.d.ts.map +1 -1
- package/dist/components/SingleFileUpload.vue.d.ts +0 -7
- package/dist/components/SingleFileUpload.vue.d.ts.map +1 -1
- package/dist/components/Skeleton.vue.d.ts +0 -5
- package/dist/components/Skeleton.vue.d.ts.map +1 -1
- package/dist/components/Stepper.vue.d.ts +0 -2
- package/dist/components/Stepper.vue.d.ts.map +1 -1
- package/dist/components/TabHorizontal.vue.d.ts +1 -5
- package/dist/components/TabHorizontal.vue.d.ts.map +1 -1
- package/dist/components/TabVertical.vue.d.ts +0 -5
- package/dist/components/TabVertical.vue.d.ts.map +1 -1
- package/dist/components/Table.vue.d.ts +0 -4
- package/dist/components/Table.vue.d.ts.map +1 -1
- package/dist/components/TableProgressBar.vue.d.ts +0 -7
- package/dist/components/TableProgressBar.vue.d.ts.map +1 -1
- package/dist/components/TextArea.vue.d.ts +1 -1
- package/dist/components/TextArea.vue.d.ts.map +1 -1
- package/dist/components/TextField.vue.d.ts +2 -2
- package/dist/components/TextField.vue.d.ts.map +1 -1
- package/dist/components/ThemeToggle.vue.d.ts +0 -4
- package/dist/components/ThemeToggle.vue.d.ts.map +1 -1
- package/dist/components/TimePicker.vue.d.ts +0 -2
- package/dist/components/TimePicker.vue.d.ts.map +1 -1
- package/dist/components/Toast.vue.d.ts +0 -4
- package/dist/components/Toast.vue.d.ts.map +1 -1
- package/dist/components/Tooltip.vue.d.ts +0 -7
- package/dist/components/Tooltip.vue.d.ts.map +1 -1
- package/dist/composables/useToast.d.ts +3 -1
- package/dist/composables/useToast.d.ts.map +1 -1
- package/dist/index.cjs.js +4 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +14 -293
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +242 -289
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +3 -3
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
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$
|
|
416
|
+
const _hoisted_5$p = { class: "ina-accordion__body" };
|
|
417
417
|
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
418
418
|
__name: "Accordion",
|
|
419
419
|
props: {
|
|
@@ -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
|
}
|
|
@@ -551,7 +547,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
551
547
|
class: normalizeClass(["ina-accordion__content", { "ina-accordion__content--open": isOpen.value }]),
|
|
552
548
|
"aria-labelledby": headerId.value
|
|
553
549
|
}, [
|
|
554
|
-
createElementVNode("div", _hoisted_5$
|
|
550
|
+
createElementVNode("div", _hoisted_5$p, [
|
|
555
551
|
renderSlot(_ctx.$slots, "default")
|
|
556
552
|
])
|
|
557
553
|
], 10, _hoisted_4$u)
|
|
@@ -566,13 +562,13 @@ const _hoisted_4$t = {
|
|
|
566
562
|
key: 0,
|
|
567
563
|
class: "ina-accordion-card__icon"
|
|
568
564
|
};
|
|
569
|
-
const _hoisted_5$
|
|
565
|
+
const _hoisted_5$o = { class: "ina-accordion-card__title-section" };
|
|
570
566
|
const _hoisted_6$k = { class: "ina-accordion-card__title" };
|
|
571
|
-
const _hoisted_7$
|
|
567
|
+
const _hoisted_7$k = {
|
|
572
568
|
key: 0,
|
|
573
569
|
class: "ina-accordion-card__subtitle"
|
|
574
570
|
};
|
|
575
|
-
const _hoisted_8$
|
|
571
|
+
const _hoisted_8$f = ["id", "aria-labelledby"];
|
|
576
572
|
const _hoisted_9$b = { class: "ina-accordion-card__body" };
|
|
577
573
|
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
578
574
|
__name: "AccordionCard",
|
|
@@ -630,13 +626,13 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
630
626
|
__props.icon ? (openBlock(), createElementBlock("div", _hoisted_4$t, [
|
|
631
627
|
(openBlock(), createBlock(resolveDynamicComponent(__props.icon), { size: 20 }))
|
|
632
628
|
])) : createCommentVNode("", true),
|
|
633
|
-
createElementVNode("div", _hoisted_5$
|
|
629
|
+
createElementVNode("div", _hoisted_5$o, [
|
|
634
630
|
createElementVNode("h3", _hoisted_6$k, [
|
|
635
631
|
renderSlot(_ctx.$slots, "title", {}, () => [
|
|
636
632
|
createTextVNode(toDisplayString(__props.title), 1)
|
|
637
633
|
], true)
|
|
638
634
|
]),
|
|
639
|
-
__props.subtitle ? (openBlock(), createElementBlock("p", _hoisted_7$
|
|
635
|
+
__props.subtitle ? (openBlock(), createElementBlock("p", _hoisted_7$k, toDisplayString(__props.subtitle), 1)) : createCommentVNode("", true)
|
|
640
636
|
])
|
|
641
637
|
]),
|
|
642
638
|
(openBlock(), createElementBlock("svg", {
|
|
@@ -667,7 +663,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
667
663
|
createElementVNode("div", _hoisted_9$b, [
|
|
668
664
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
669
665
|
])
|
|
670
|
-
], 8, _hoisted_8$
|
|
666
|
+
], 8, _hoisted_8$f)) : createCommentVNode("", true)
|
|
671
667
|
]),
|
|
672
668
|
_: 3
|
|
673
669
|
})
|
|
@@ -1198,7 +1194,7 @@ const _hoisted_4$s = {
|
|
|
1198
1194
|
key: 0,
|
|
1199
1195
|
class: "ina-alert__title"
|
|
1200
1196
|
};
|
|
1201
|
-
const _hoisted_5$
|
|
1197
|
+
const _hoisted_5$n = {
|
|
1202
1198
|
key: 1,
|
|
1203
1199
|
class: "ina-alert__description"
|
|
1204
1200
|
};
|
|
@@ -1206,7 +1202,7 @@ const _hoisted_6$j = {
|
|
|
1206
1202
|
key: 2,
|
|
1207
1203
|
class: "ina-alert__actions"
|
|
1208
1204
|
};
|
|
1209
|
-
const _hoisted_7$
|
|
1205
|
+
const _hoisted_7$j = ["aria-label"];
|
|
1210
1206
|
const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
1211
1207
|
__name: "Alert",
|
|
1212
1208
|
props: {
|
|
@@ -1264,7 +1260,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
1264
1260
|
createElementVNode("div", _hoisted_2$B, [
|
|
1265
1261
|
createElementVNode("div", _hoisted_3$x, [
|
|
1266
1262
|
__props.title ? (openBlock(), createElementBlock("div", _hoisted_4$s, toDisplayString(__props.title), 1)) : createCommentVNode("", true),
|
|
1267
|
-
_ctx.$slots.default || __props.message ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
1263
|
+
_ctx.$slots.default || __props.message ? (openBlock(), createElementBlock("div", _hoisted_5$n, [
|
|
1268
1264
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
1269
1265
|
createTextVNode(toDisplayString(__props.message), 1)
|
|
1270
1266
|
])
|
|
@@ -1296,7 +1292,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
1296
1292
|
"stroke-linejoin": "round"
|
|
1297
1293
|
})
|
|
1298
1294
|
], -1)
|
|
1299
|
-
])], 8, _hoisted_7$
|
|
1295
|
+
])], 8, _hoisted_7$j)) : createCommentVNode("", true)
|
|
1300
1296
|
], 2);
|
|
1301
1297
|
};
|
|
1302
1298
|
}
|
|
@@ -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 = [
|
|
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) => {
|
|
@@ -1717,13 +1701,13 @@ const _hoisted_3$v = {
|
|
|
1717
1701
|
class: "ina-card__media"
|
|
1718
1702
|
};
|
|
1719
1703
|
const _hoisted_4$q = ["src", "alt"];
|
|
1720
|
-
const _hoisted_5$
|
|
1704
|
+
const _hoisted_5$m = { class: "ina-card__content" };
|
|
1721
1705
|
const _hoisted_6$i = {
|
|
1722
1706
|
key: 0,
|
|
1723
1707
|
class: "ina-card__avatar"
|
|
1724
1708
|
};
|
|
1725
|
-
const _hoisted_7$
|
|
1726
|
-
const _hoisted_8$
|
|
1709
|
+
const _hoisted_7$i = ["src", "alt"];
|
|
1710
|
+
const _hoisted_8$e = {
|
|
1727
1711
|
key: 0,
|
|
1728
1712
|
class: "ina-card__title"
|
|
1729
1713
|
};
|
|
@@ -1731,11 +1715,11 @@ const _hoisted_9$a = {
|
|
|
1731
1715
|
key: 1,
|
|
1732
1716
|
class: "ina-card__description"
|
|
1733
1717
|
};
|
|
1734
|
-
const _hoisted_10$
|
|
1718
|
+
const _hoisted_10$a = {
|
|
1735
1719
|
key: 1,
|
|
1736
1720
|
class: "ina-card__button"
|
|
1737
1721
|
};
|
|
1738
|
-
const _hoisted_11$
|
|
1722
|
+
const _hoisted_11$a = {
|
|
1739
1723
|
key: 2,
|
|
1740
1724
|
class: "ina-card__media"
|
|
1741
1725
|
};
|
|
@@ -1745,11 +1729,11 @@ const _hoisted_13$6 = {
|
|
|
1745
1729
|
class: "ina-card__media"
|
|
1746
1730
|
};
|
|
1747
1731
|
const _hoisted_14$5 = ["src", "alt"];
|
|
1748
|
-
const _hoisted_15$
|
|
1732
|
+
const _hoisted_15$5 = {
|
|
1749
1733
|
key: 4,
|
|
1750
1734
|
class: "ina-card__media"
|
|
1751
1735
|
};
|
|
1752
|
-
const _hoisted_16$
|
|
1736
|
+
const _hoisted_16$4 = ["src", "alt"];
|
|
1753
1737
|
const _hoisted_17$3 = {
|
|
1754
1738
|
key: 0,
|
|
1755
1739
|
class: "ina-card__header"
|
|
@@ -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 = () => {
|
|
@@ -1861,18 +1841,18 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
1861
1841
|
}, null, 8, _hoisted_4$q)) : createCommentVNode("", true)
|
|
1862
1842
|
])
|
|
1863
1843
|
])) : createCommentVNode("", true),
|
|
1864
|
-
createElementVNode("div", _hoisted_5$
|
|
1844
|
+
createElementVNode("div", _hoisted_5$m, [
|
|
1865
1845
|
__props.avatar || _ctx.$slots.avatar ? (openBlock(), createElementBlock("div", _hoisted_6$i, [
|
|
1866
1846
|
renderSlot(_ctx.$slots, "avatar", {}, () => [
|
|
1867
1847
|
__props.avatar ? (openBlock(), createElementBlock("img", {
|
|
1868
1848
|
key: 0,
|
|
1869
1849
|
src: __props.avatar,
|
|
1870
1850
|
alt: __props.avatarAlt || "Avatar"
|
|
1871
|
-
}, null, 8, _hoisted_7$
|
|
1851
|
+
}, null, 8, _hoisted_7$i)) : createCommentVNode("", true)
|
|
1872
1852
|
])
|
|
1873
1853
|
])) : createCommentVNode("", true),
|
|
1874
1854
|
createElementVNode("div", null, [
|
|
1875
|
-
__props.title || _ctx.$slots.title ? (openBlock(), createElementBlock("h3", _hoisted_8$
|
|
1855
|
+
__props.title || _ctx.$slots.title ? (openBlock(), createElementBlock("h3", _hoisted_8$e, [
|
|
1876
1856
|
renderSlot(_ctx.$slots, "title", {}, () => [
|
|
1877
1857
|
typeof __props.title !== "string" && __props.title ? (openBlock(), createBlock(resolveDynamicComponent(__props.title), { key: 0 })) : typeof __props.title === "string" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
1878
1858
|
createTextVNode(toDisplayString(__props.title), 1)
|
|
@@ -1887,7 +1867,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
1887
1867
|
])
|
|
1888
1868
|
])) : createCommentVNode("", true)
|
|
1889
1869
|
]),
|
|
1890
|
-
__props.showButton || _ctx.$slots.button ? (openBlock(), createElementBlock("div", _hoisted_10$
|
|
1870
|
+
__props.showButton || _ctx.$slots.button ? (openBlock(), createElementBlock("div", _hoisted_10$a, [
|
|
1891
1871
|
renderSlot(_ctx.$slots, "button", {}, () => [
|
|
1892
1872
|
__props.showButton && __props.buttonText ? (openBlock(), createBlock(_sfc_main$G, {
|
|
1893
1873
|
key: 0,
|
|
@@ -1903,7 +1883,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
1903
1883
|
])
|
|
1904
1884
|
])) : createCommentVNode("", true)
|
|
1905
1885
|
]),
|
|
1906
|
-
__props.variant === "basic" && computedMediaPosition.value === "bottom" ? (openBlock(), createElementBlock("div", _hoisted_11$
|
|
1886
|
+
__props.variant === "basic" && computedMediaPosition.value === "bottom" ? (openBlock(), createElementBlock("div", _hoisted_11$a, [
|
|
1907
1887
|
renderSlot(_ctx.$slots, "media", {}, () => [
|
|
1908
1888
|
__props.mediaSrc ? (openBlock(), createElementBlock("img", {
|
|
1909
1889
|
key: 0,
|
|
@@ -1921,13 +1901,13 @@ 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$
|
|
1904
|
+
__props.variant === "horizontal" && computedMediaPosition.value === "right" ? (openBlock(), createElementBlock("div", _hoisted_15$5, [
|
|
1925
1905
|
renderSlot(_ctx.$slots, "media", {}, () => [
|
|
1926
1906
|
__props.mediaSrc ? (openBlock(), createElementBlock("img", {
|
|
1927
1907
|
key: 0,
|
|
1928
1908
|
src: __props.mediaSrc,
|
|
1929
1909
|
alt: __props.mediaAlt || "Card media"
|
|
1930
|
-
}, null, 8, _hoisted_16$
|
|
1910
|
+
}, null, 8, _hoisted_16$4)) : createCommentVNode("", true)
|
|
1931
1911
|
])
|
|
1932
1912
|
])) : createCommentVNode("", true),
|
|
1933
1913
|
__props.variant !== "basic" && __props.variant !== "horizontal" && __props.variant !== "overlay" ? (openBlock(), createElementBlock(Fragment, { key: 5 }, [
|
|
@@ -1981,12 +1961,12 @@ const _hoisted_4$p = {
|
|
|
1981
1961
|
fill: "none",
|
|
1982
1962
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1983
1963
|
};
|
|
1984
|
-
const _hoisted_5$
|
|
1964
|
+
const _hoisted_5$l = { class: "ina-checkbox__content" };
|
|
1985
1965
|
const _hoisted_6$h = {
|
|
1986
1966
|
key: 0,
|
|
1987
1967
|
class: "ina-checkbox__label"
|
|
1988
1968
|
};
|
|
1989
|
-
const _hoisted_7$
|
|
1969
|
+
const _hoisted_7$h = {
|
|
1990
1970
|
key: 1,
|
|
1991
1971
|
class: "ina-checkbox__subtext"
|
|
1992
1972
|
};
|
|
@@ -2121,13 +2101,13 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
2121
2101
|
}, null, -1)
|
|
2122
2102
|
])])) : createCommentVNode("", true)
|
|
2123
2103
|
], 2),
|
|
2124
|
-
createElementVNode("div", _hoisted_5$
|
|
2104
|
+
createElementVNode("div", _hoisted_5$l, [
|
|
2125
2105
|
_ctx.$slots.default || __props.label ? (openBlock(), createElementBlock("span", _hoisted_6$h, [
|
|
2126
2106
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
2127
2107
|
createTextVNode(toDisplayString(__props.label), 1)
|
|
2128
2108
|
])
|
|
2129
2109
|
])) : createCommentVNode("", true),
|
|
2130
|
-
__props.subtext ? (openBlock(), createElementBlock("span", _hoisted_7$
|
|
2110
|
+
__props.subtext ? (openBlock(), createElementBlock("span", _hoisted_7$h, toDisplayString(__props.subtext), 1)) : createCommentVNode("", true)
|
|
2131
2111
|
])
|
|
2132
2112
|
], 10, _hoisted_1$z),
|
|
2133
2113
|
__props.statusMessage ? (openBlock(), createElementBlock("div", {
|
|
@@ -2346,19 +2326,21 @@ function sanitizeFileName(fileName) {
|
|
|
2346
2326
|
}
|
|
2347
2327
|
const _hoisted_1$y = { class: "ina-text-field" };
|
|
2348
2328
|
const _hoisted_2$v = ["for"];
|
|
2349
|
-
const _hoisted_3$t = {
|
|
2350
|
-
|
|
2329
|
+
const _hoisted_3$t = { key: 1 };
|
|
2330
|
+
const _hoisted_4$o = {
|
|
2331
|
+
key: 2,
|
|
2351
2332
|
class: "ina-text-field__required"
|
|
2352
2333
|
};
|
|
2353
|
-
const
|
|
2334
|
+
const _hoisted_5$k = {
|
|
2354
2335
|
key: 0,
|
|
2355
2336
|
class: "ina-text-field__prefix-icon"
|
|
2356
2337
|
};
|
|
2357
|
-
const
|
|
2358
|
-
const
|
|
2338
|
+
const _hoisted_6$g = ["id", "name", "type", "placeholder", "disabled", "readonly", "maxlength", "autocomplete", "spellcheck", "autocapitalize", "autocorrect", "inputmode", "dir"];
|
|
2339
|
+
const _hoisted_7$g = {
|
|
2359
2340
|
key: 1,
|
|
2360
2341
|
class: "ina-text-field__char-count"
|
|
2361
2342
|
};
|
|
2343
|
+
const _hoisted_8$d = { key: 1 };
|
|
2362
2344
|
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
2363
2345
|
__name: "TextField",
|
|
2364
2346
|
props: {
|
|
@@ -2410,11 +2392,16 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
2410
2392
|
if (providedId) {
|
|
2411
2393
|
return String(providedId);
|
|
2412
2394
|
}
|
|
2413
|
-
if (props.label) {
|
|
2395
|
+
if (props.label && typeof props.label === "string") {
|
|
2414
2396
|
return String(props.label).toLowerCase();
|
|
2415
2397
|
}
|
|
2416
2398
|
return `text-field-${Math.random().toString(36).substr(2, 9)}`;
|
|
2417
2399
|
});
|
|
2400
|
+
const labelComponent = computed(() => {
|
|
2401
|
+
if (!props.label) return null;
|
|
2402
|
+
if (typeof props.label === "string") return null;
|
|
2403
|
+
return props.label;
|
|
2404
|
+
});
|
|
2418
2405
|
const filteredAttrs = computed(() => {
|
|
2419
2406
|
const { id, name, ...rest } = attrs;
|
|
2420
2407
|
return rest;
|
|
@@ -2578,13 +2565,13 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
2578
2565
|
for: inputId.value,
|
|
2579
2566
|
class: "ina-text-field__label"
|
|
2580
2567
|
}, [
|
|
2581
|
-
|
|
2582
|
-
__props.required ? (openBlock(), createElementBlock("span",
|
|
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)
|
|
2583
2570
|
], 8, _hoisted_2$v)) : createCommentVNode("", true),
|
|
2584
2571
|
createElementVNode("div", {
|
|
2585
2572
|
class: normalizeClass(wrapperClasses.value)
|
|
2586
2573
|
}, [
|
|
2587
|
-
__props.prefixIcon ? (openBlock(), createElementBlock("div",
|
|
2574
|
+
__props.prefixIcon ? (openBlock(), createElementBlock("div", _hoisted_5$k, [
|
|
2588
2575
|
(openBlock(), createBlock(resolveDynamicComponent(__props.prefixIcon), { size: 16 }))
|
|
2589
2576
|
])) : createCommentVNode("", true),
|
|
2590
2577
|
withDirectives(createElementVNode("input", mergeProps(filteredAttrs.value, {
|
|
@@ -2608,10 +2595,10 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
2608
2595
|
onInput: handleInput,
|
|
2609
2596
|
onBlur: handleBlur,
|
|
2610
2597
|
onFocus: handleFocus
|
|
2611
|
-
}), null, 16,
|
|
2598
|
+
}), null, 16, _hoisted_6$g), [
|
|
2612
2599
|
[vModelDynamic, inputValue.value]
|
|
2613
2600
|
]),
|
|
2614
|
-
__props.showCharCount && __props.maxLength ? (openBlock(), createElementBlock("div",
|
|
2601
|
+
__props.showCharCount && __props.maxLength ? (openBlock(), createElementBlock("div", _hoisted_7$g, toDisplayString(inputValue.value.length) + "/" + toDisplayString(__props.maxLength), 1)) : createCommentVNode("", true),
|
|
2615
2602
|
__props.showClearButton && !__props.disabled && inputValue.value ? (openBlock(), createElementBlock("button", {
|
|
2616
2603
|
key: 2,
|
|
2617
2604
|
type: "button",
|
|
@@ -2624,7 +2611,13 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
2624
2611
|
__props.statusMessage || validationError.value ? (openBlock(), createElementBlock("div", {
|
|
2625
2612
|
key: 1,
|
|
2626
2613
|
class: normalizeClass(statusClasses.value)
|
|
2627
|
-
},
|
|
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)
|
|
2628
2621
|
]);
|
|
2629
2622
|
};
|
|
2630
2623
|
}
|
|
@@ -2636,7 +2629,7 @@ const _hoisted_3$s = {
|
|
|
2636
2629
|
class: "ina-chip__custom-field"
|
|
2637
2630
|
};
|
|
2638
2631
|
const _hoisted_4$n = { key: 0 };
|
|
2639
|
-
const _hoisted_5$
|
|
2632
|
+
const _hoisted_5$j = { key: 1 };
|
|
2640
2633
|
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
2641
2634
|
__name: "Chip",
|
|
2642
2635
|
props: {
|
|
@@ -2647,8 +2640,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
2647
2640
|
onSelect: {},
|
|
2648
2641
|
showCustomization: { type: Boolean, default: false },
|
|
2649
2642
|
customizationLabel: { default: "Kustomisasi" },
|
|
2650
|
-
customizationComponent: {}
|
|
2651
|
-
className: { default: "" }
|
|
2643
|
+
customizationComponent: {}
|
|
2652
2644
|
},
|
|
2653
2645
|
emits: ["select"],
|
|
2654
2646
|
setup(__props, { emit: __emit }) {
|
|
@@ -2690,9 +2682,6 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
2690
2682
|
);
|
|
2691
2683
|
const chipContainerClasses = computed(() => {
|
|
2692
2684
|
const classes = ["ina-chip"];
|
|
2693
|
-
if (props.className) {
|
|
2694
|
-
classes.push(props.className);
|
|
2695
|
-
}
|
|
2696
2685
|
return classes;
|
|
2697
2686
|
});
|
|
2698
2687
|
const getChipItemClasses = (opt, index2) => {
|
|
@@ -2754,7 +2743,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
2754
2743
|
__props.showCustomization && showInput.value ? (openBlock(), createElementBlock("div", _hoisted_3$s, [
|
|
2755
2744
|
__props.customizationComponent ? (openBlock(), createElementBlock("div", _hoisted_4$n, [
|
|
2756
2745
|
(openBlock(), createBlock(resolveDynamicComponent(__props.customizationComponent)))
|
|
2757
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_5$
|
|
2746
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_5$j, [
|
|
2758
2747
|
createVNode(_sfc_main$C, {
|
|
2759
2748
|
"model-value": tempValue.value,
|
|
2760
2749
|
class: "ina-chip__input",
|
|
@@ -2780,8 +2769,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
2780
2769
|
diameter: { default: 20 },
|
|
2781
2770
|
strokeWidth: { default: 3 },
|
|
2782
2771
|
variant: { default: "primary" },
|
|
2783
|
-
trackColor: { default: "#EAECF0" }
|
|
2784
|
-
className: { default: "" }
|
|
2772
|
+
trackColor: { default: "#EAECF0" }
|
|
2785
2773
|
},
|
|
2786
2774
|
setup(__props) {
|
|
2787
2775
|
const props = __props;
|
|
@@ -2797,7 +2785,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
2797
2785
|
const isCustomColor = computed(() => props.variant.startsWith("#"));
|
|
2798
2786
|
const containerClasses = computed(() => {
|
|
2799
2787
|
const variantClass = !isCustomColor.value ? `ina-circle-progress-bar--${props.variant}` : "";
|
|
2800
|
-
return ["ina-circle-progress-bar", variantClass
|
|
2788
|
+
return ["ina-circle-progress-bar", variantClass].filter(Boolean).join(" ");
|
|
2801
2789
|
});
|
|
2802
2790
|
const containerStyle = computed(() => {
|
|
2803
2791
|
const style = {
|
|
@@ -2983,7 +2971,6 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
2983
2971
|
trigger: {},
|
|
2984
2972
|
triggerText: { default: "Dropdown" },
|
|
2985
2973
|
items: {},
|
|
2986
|
-
className: { default: "" },
|
|
2987
2974
|
dropdownClassName: { default: "" },
|
|
2988
2975
|
dropdownStyle: {},
|
|
2989
2976
|
disabled: { type: Boolean, default: false },
|
|
@@ -3000,9 +2987,6 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
3000
2987
|
});
|
|
3001
2988
|
const containerClasses = computed(() => {
|
|
3002
2989
|
const classes = ["ina-dropdown"];
|
|
3003
|
-
if (props.className) {
|
|
3004
|
-
classes.push(props.className);
|
|
3005
|
-
}
|
|
3006
2990
|
return classes;
|
|
3007
2991
|
});
|
|
3008
2992
|
const triggerClasses = computed(() => {
|
|
@@ -3136,7 +3120,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
3136
3120
|
};
|
|
3137
3121
|
}
|
|
3138
3122
|
});
|
|
3139
|
-
const Dropdown = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-
|
|
3123
|
+
const Dropdown = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-3db9a074"]]);
|
|
3140
3124
|
const _hoisted_1$s = { class: "ina-field-input-table__wrapper" };
|
|
3141
3125
|
const _hoisted_2$r = { class: "ina-field-input-table__label" };
|
|
3142
3126
|
const _hoisted_3$p = ["value"];
|
|
@@ -3148,19 +3132,14 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
3148
3132
|
onChange: {},
|
|
3149
3133
|
onCommit: {},
|
|
3150
3134
|
onCancel: {},
|
|
3151
|
-
placeholder: { default: "" }
|
|
3152
|
-
className: { default: "" }
|
|
3135
|
+
placeholder: { default: "" }
|
|
3153
3136
|
},
|
|
3154
3137
|
emits: ["change", "commit", "cancel"],
|
|
3155
3138
|
setup(__props, { emit: __emit }) {
|
|
3156
|
-
const props = __props;
|
|
3157
3139
|
const emit = __emit;
|
|
3158
3140
|
const inputRef = ref(null);
|
|
3159
3141
|
const containerClasses = computed(() => {
|
|
3160
3142
|
const classes = ["ina-field-input-table"];
|
|
3161
|
-
if (props.className) {
|
|
3162
|
-
classes.push(props.className);
|
|
3163
|
-
}
|
|
3164
3143
|
return classes.join(" ");
|
|
3165
3144
|
});
|
|
3166
3145
|
const handleKeyDown = (e) => {
|
|
@@ -3478,13 +3457,13 @@ const _hoisted_1$r = {
|
|
|
3478
3457
|
const _hoisted_2$q = { key: 1 };
|
|
3479
3458
|
const _hoisted_3$o = ["id", "accept", "multiple", "disabled"];
|
|
3480
3459
|
const _hoisted_4$k = { class: "ina-file-upload__content" };
|
|
3481
|
-
const _hoisted_5$
|
|
3460
|
+
const _hoisted_5$i = { class: "ina-file-upload__icon" };
|
|
3482
3461
|
const _hoisted_6$f = { class: "ina-file-upload__text" };
|
|
3483
3462
|
const _hoisted_7$f = { class: "ina-file-upload__title" };
|
|
3484
3463
|
const _hoisted_8$c = { class: "ina-file-upload__description" };
|
|
3485
3464
|
const _hoisted_9$9 = ["disabled"];
|
|
3486
|
-
const _hoisted_10$
|
|
3487
|
-
const _hoisted_11$
|
|
3465
|
+
const _hoisted_10$9 = { class: "ina-file-upload__files" };
|
|
3466
|
+
const _hoisted_11$9 = { class: "ina-file-upload__file-indicator" };
|
|
3488
3467
|
const _hoisted_12$7 = {
|
|
3489
3468
|
key: 0,
|
|
3490
3469
|
class: "ina-file-upload__file-icon-wrapper ina-file-upload__file-icon-wrapper--uploading"
|
|
@@ -3497,11 +3476,11 @@ const _hoisted_14$4 = {
|
|
|
3497
3476
|
key: 2,
|
|
3498
3477
|
class: "ina-file-upload__file-icon-wrapper ina-file-upload__file-icon-wrapper--error"
|
|
3499
3478
|
};
|
|
3500
|
-
const _hoisted_15$
|
|
3479
|
+
const _hoisted_15$4 = {
|
|
3501
3480
|
key: 3,
|
|
3502
3481
|
class: "ina-file-upload__file-icon-wrapper ina-file-upload__file-icon-wrapper--success"
|
|
3503
3482
|
};
|
|
3504
|
-
const _hoisted_16$
|
|
3483
|
+
const _hoisted_16$3 = { class: "ina-file-upload__file-info" };
|
|
3505
3484
|
const _hoisted_17$2 = { class: "ina-file-upload__file-name" };
|
|
3506
3485
|
const _hoisted_18$2 = { class: "ina-file-upload__file-size" };
|
|
3507
3486
|
const _hoisted_19$2 = {
|
|
@@ -3532,7 +3511,6 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
3532
3511
|
maxTotalSizeMB: { default: void 0 },
|
|
3533
3512
|
validateMagicNumber: { type: Boolean, default: true },
|
|
3534
3513
|
disabled: { type: Boolean, default: false },
|
|
3535
|
-
className: { default: "" },
|
|
3536
3514
|
onChange: {},
|
|
3537
3515
|
onRemove: {}
|
|
3538
3516
|
},
|
|
@@ -3579,9 +3557,6 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
3579
3557
|
};
|
|
3580
3558
|
const uploadClasses = computed(() => {
|
|
3581
3559
|
const classes = ["ina-file-upload"];
|
|
3582
|
-
if (props.className) {
|
|
3583
|
-
classes.push(props.className);
|
|
3584
|
-
}
|
|
3585
3560
|
if (props.disabled) {
|
|
3586
3561
|
classes.push("ina-file-upload--disabled");
|
|
3587
3562
|
}
|
|
@@ -3777,7 +3752,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
3777
3752
|
onChange: handleFileChange
|
|
3778
3753
|
}), null, 16, _hoisted_3$o),
|
|
3779
3754
|
createElementVNode("div", _hoisted_4$k, [
|
|
3780
|
-
createElementVNode("div", _hoisted_5$
|
|
3755
|
+
createElementVNode("div", _hoisted_5$i, [
|
|
3781
3756
|
createVNode(unref(IconUpload), { size: 24 })
|
|
3782
3757
|
]),
|
|
3783
3758
|
createElementVNode("div", _hoisted_6$f, [
|
|
@@ -3793,7 +3768,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
3793
3768
|
])
|
|
3794
3769
|
], 34),
|
|
3795
3770
|
files.value.length > 0 ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
3796
|
-
createElementVNode("div", _hoisted_10$
|
|
3771
|
+
createElementVNode("div", _hoisted_10$9, [
|
|
3797
3772
|
(openBlock(true), createElementBlock(Fragment, null, renderList(displayedFiles.value, (uploadedFile, displayIndex) => {
|
|
3798
3773
|
return openBlock(), createElementBlock("div", {
|
|
3799
3774
|
key: `${uploadedFile.file.name}-${getOriginalIndex(uploadedFile)}`,
|
|
@@ -3803,7 +3778,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
3803
3778
|
"ina-file-upload__file--uploading": uploadedFile.status === "uploading"
|
|
3804
3779
|
}])
|
|
3805
3780
|
}, [
|
|
3806
|
-
createElementVNode("div", _hoisted_11$
|
|
3781
|
+
createElementVNode("div", _hoisted_11$9, [
|
|
3807
3782
|
uploadedFile.status === "uploading" ? (openBlock(), createElementBlock("div", _hoisted_12$7, [
|
|
3808
3783
|
createVNode(unref(IconLoader2), {
|
|
3809
3784
|
size: 20,
|
|
@@ -3819,14 +3794,14 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
3819
3794
|
size: 20,
|
|
3820
3795
|
stroke: "2"
|
|
3821
3796
|
})
|
|
3822
|
-
])) : uploadedFile.status === "idle" ? (openBlock(), createElementBlock("div", _hoisted_15$
|
|
3797
|
+
])) : uploadedFile.status === "idle" ? (openBlock(), createElementBlock("div", _hoisted_15$4, [
|
|
3823
3798
|
createVNode(unref(IconCircleCheck), {
|
|
3824
3799
|
size: 20,
|
|
3825
3800
|
stroke: "2"
|
|
3826
3801
|
})
|
|
3827
3802
|
])) : createCommentVNode("", true)
|
|
3828
3803
|
]),
|
|
3829
|
-
createElementVNode("div", _hoisted_16$
|
|
3804
|
+
createElementVNode("div", _hoisted_16$3, [
|
|
3830
3805
|
createElementVNode("div", _hoisted_17$2, toDisplayString(unref(sanitizeFileName)(uploadedFile.file.name)), 1),
|
|
3831
3806
|
createElementVNode("div", _hoisted_18$2, toDisplayString(unref(formatFileSize)(uploadedFile.file.size)), 1),
|
|
3832
3807
|
uploadedFile.error ? (openBlock(), createElementBlock("div", _hoisted_19$2, toDisplayString(uploadedFile.error), 1)) : createCommentVNode("", true)
|
|
@@ -4116,7 +4091,7 @@ const _hoisted_3$m = {
|
|
|
4116
4091
|
class: "ina-modal__header"
|
|
4117
4092
|
};
|
|
4118
4093
|
const _hoisted_4$i = ["id"];
|
|
4119
|
-
const _hoisted_5$
|
|
4094
|
+
const _hoisted_5$h = ["aria-label"];
|
|
4120
4095
|
const _hoisted_6$e = { class: "ina-modal__body" };
|
|
4121
4096
|
const _hoisted_7$e = ["id"];
|
|
4122
4097
|
const _hoisted_8$b = {
|
|
@@ -4247,7 +4222,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
4247
4222
|
size: 24,
|
|
4248
4223
|
class: "ina-modal__close-icon"
|
|
4249
4224
|
})
|
|
4250
|
-
], 8, _hoisted_5$
|
|
4225
|
+
], 8, _hoisted_5$h)) : createCommentVNode("", true)
|
|
4251
4226
|
])) : createCommentVNode("", true),
|
|
4252
4227
|
createElementVNode("div", _hoisted_6$e, [
|
|
4253
4228
|
__props.description ? (openBlock(), createElementBlock("div", {
|
|
@@ -4294,7 +4269,7 @@ const _hoisted_4$h = {
|
|
|
4294
4269
|
key: 0,
|
|
4295
4270
|
class: "ina-month-picker__prefix-icon"
|
|
4296
4271
|
};
|
|
4297
|
-
const _hoisted_5$
|
|
4272
|
+
const _hoisted_5$g = { class: "ina-month-picker__trigger-text" };
|
|
4298
4273
|
const _hoisted_6$d = { class: "ina-month-picker__grid" };
|
|
4299
4274
|
const _hoisted_7$d = ["disabled", "onClick", "onMouseenter"];
|
|
4300
4275
|
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
@@ -4562,7 +4537,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
4562
4537
|
__props.showIcon ? (openBlock(), createElementBlock("div", _hoisted_4$h, [..._cache[1] || (_cache[1] = [
|
|
4563
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)
|
|
4564
4539
|
])])) : createCommentVNode("", true),
|
|
4565
|
-
createElementVNode("span", _hoisted_5$
|
|
4540
|
+
createElementVNode("span", _hoisted_5$g, toDisplayString(selectedMonthDisplay.value || __props.placeholder), 1),
|
|
4566
4541
|
__props.showClearButton && selectedMonth.value !== void 0 && !__props.disabled && !__props.readonly ? (openBlock(), createElementBlock("button", {
|
|
4567
4542
|
key: 1,
|
|
4568
4543
|
type: "button",
|
|
@@ -4651,7 +4626,7 @@ const _hoisted_2$m = {
|
|
|
4651
4626
|
};
|
|
4652
4627
|
const _hoisted_3$k = { class: "ina-multiple-choice-grid__container" };
|
|
4653
4628
|
const _hoisted_4$g = { class: "ina-multiple-choice-grid__grid" };
|
|
4654
|
-
const _hoisted_5$
|
|
4629
|
+
const _hoisted_5$f = { class: "ina-multiple-choice-grid__header-row" };
|
|
4655
4630
|
const _hoisted_6$c = { class: "ina-multiple-choice-grid__row-label" };
|
|
4656
4631
|
const _hoisted_7$c = ["id", "name", "value", "disabled"];
|
|
4657
4632
|
const _hoisted_8$a = ["for"];
|
|
@@ -4708,7 +4683,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
4708
4683
|
__props.subtitle ? (openBlock(), createElementBlock("div", _hoisted_2$m, toDisplayString(__props.subtitle), 1)) : createCommentVNode("", true),
|
|
4709
4684
|
createElementVNode("div", _hoisted_3$k, [
|
|
4710
4685
|
createElementVNode("div", _hoisted_4$g, [
|
|
4711
|
-
createElementVNode("div", _hoisted_5$
|
|
4686
|
+
createElementVNode("div", _hoisted_5$f, [
|
|
4712
4687
|
_cache[1] || (_cache[1] = createElementVNode("div", { class: "ina-multiple-choice-grid__header-cell ina-multiple-choice-grid__header-cell--empty" }, null, -1)),
|
|
4713
4688
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.columns, (column, colIndex) => {
|
|
4714
4689
|
return openBlock(), createElementBlock("div", {
|
|
@@ -4764,16 +4739,16 @@ const _hoisted_1$m = ["aria-label"];
|
|
|
4764
4739
|
const _hoisted_2$l = { class: "ina-pagination__nav-container" };
|
|
4765
4740
|
const _hoisted_3$j = { class: "ina-pagination__page-info" };
|
|
4766
4741
|
const _hoisted_4$f = { class: "ina-pagination__nav-buttons" };
|
|
4767
|
-
const _hoisted_5$
|
|
4742
|
+
const _hoisted_5$e = ["disabled"];
|
|
4768
4743
|
const _hoisted_6$b = ["disabled", "aria-label"];
|
|
4769
4744
|
const _hoisted_7$b = ["onClick", "disabled", "aria-label", "aria-current"];
|
|
4770
4745
|
const _hoisted_8$9 = ["disabled", "aria-label"];
|
|
4771
4746
|
const _hoisted_9$8 = ["disabled"];
|
|
4772
|
-
const _hoisted_10$
|
|
4747
|
+
const _hoisted_10$8 = {
|
|
4773
4748
|
key: 0,
|
|
4774
4749
|
class: "ina-pagination__page-size-container"
|
|
4775
4750
|
};
|
|
4776
|
-
const _hoisted_11$
|
|
4751
|
+
const _hoisted_11$8 = ["value", "disabled"];
|
|
4777
4752
|
const _hoisted_12$6 = ["value"];
|
|
4778
4753
|
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
4779
4754
|
__name: "Pagination",
|
|
@@ -4916,7 +4891,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
4916
4891
|
"stroke-linejoin": "round"
|
|
4917
4892
|
})
|
|
4918
4893
|
], -1)
|
|
4919
|
-
])], 10, _hoisted_5$
|
|
4894
|
+
])], 10, _hoisted_5$e),
|
|
4920
4895
|
createElementVNode("button", {
|
|
4921
4896
|
type: "button",
|
|
4922
4897
|
class: normalizeClass(["ina-pagination__nav-button", {
|
|
@@ -5011,7 +4986,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
5011
4986
|
])], 10, _hoisted_9$8)
|
|
5012
4987
|
])
|
|
5013
4988
|
]),
|
|
5014
|
-
__props.showPageSize ? (openBlock(), createElementBlock("div", _hoisted_10$
|
|
4989
|
+
__props.showPageSize ? (openBlock(), createElementBlock("div", _hoisted_10$8, [
|
|
5015
4990
|
_cache[4] || (_cache[4] = createElementVNode("span", { class: "ina-pagination__page-size-label" }, " Baris per halaman ", -1)),
|
|
5016
4991
|
createElementVNode("select", {
|
|
5017
4992
|
value: __props.pageSize,
|
|
@@ -5027,7 +5002,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
5027
5002
|
value: opt
|
|
5028
5003
|
}, toDisplayString(opt), 9, _hoisted_12$6);
|
|
5029
5004
|
}), 128))
|
|
5030
|
-
], 42, _hoisted_11$
|
|
5005
|
+
], 42, _hoisted_11$8)
|
|
5031
5006
|
])) : createCommentVNode("", true)
|
|
5032
5007
|
], 10, _hoisted_1$m)) : createCommentVNode("", true);
|
|
5033
5008
|
};
|
|
@@ -5035,13 +5010,14 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
5035
5010
|
});
|
|
5036
5011
|
const _hoisted_1$l = { class: "ina-password-input" };
|
|
5037
5012
|
const _hoisted_2$k = ["for"];
|
|
5038
|
-
const _hoisted_3$i = {
|
|
5039
|
-
|
|
5013
|
+
const _hoisted_3$i = { key: 1 };
|
|
5014
|
+
const _hoisted_4$e = {
|
|
5015
|
+
key: 2,
|
|
5040
5016
|
class: "ina-password-input__required"
|
|
5041
5017
|
};
|
|
5042
|
-
const
|
|
5043
|
-
const
|
|
5044
|
-
const
|
|
5018
|
+
const _hoisted_5$d = ["id", "type", "placeholder", "disabled", "readonly", "maxlength"];
|
|
5019
|
+
const _hoisted_6$a = ["disabled"];
|
|
5020
|
+
const _hoisted_7$a = {
|
|
5045
5021
|
key: 0,
|
|
5046
5022
|
width: "16",
|
|
5047
5023
|
height: "16",
|
|
@@ -5049,7 +5025,7 @@ const _hoisted_6$a = {
|
|
|
5049
5025
|
fill: "none",
|
|
5050
5026
|
xmlns: "http://www.w3.org/2000/svg"
|
|
5051
5027
|
};
|
|
5052
|
-
const
|
|
5028
|
+
const _hoisted_8$8 = {
|
|
5053
5029
|
key: 1,
|
|
5054
5030
|
width: "16",
|
|
5055
5031
|
height: "16",
|
|
@@ -5057,11 +5033,12 @@ const _hoisted_7$a = {
|
|
|
5057
5033
|
fill: "none",
|
|
5058
5034
|
xmlns: "http://www.w3.org/2000/svg"
|
|
5059
5035
|
};
|
|
5060
|
-
const
|
|
5036
|
+
const _hoisted_9$7 = {
|
|
5061
5037
|
key: 1,
|
|
5062
5038
|
class: "ina-password-input__status-area"
|
|
5063
5039
|
};
|
|
5064
|
-
const
|
|
5040
|
+
const _hoisted_10$7 = { key: 1 };
|
|
5041
|
+
const _hoisted_11$7 = {
|
|
5065
5042
|
key: 0,
|
|
5066
5043
|
class: "ina-password-input__character-count"
|
|
5067
5044
|
};
|
|
@@ -5087,7 +5064,17 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
5087
5064
|
const inputRef = ref();
|
|
5088
5065
|
const inputValue = ref(props.modelValue);
|
|
5089
5066
|
const showPassword = ref(false);
|
|
5090
|
-
const
|
|
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
|
+
});
|
|
5091
5078
|
const wrapperClasses = computed(() => {
|
|
5092
5079
|
const classes = ["ina-password-input__wrapper"];
|
|
5093
5080
|
classes.push(`ina-password-input__wrapper--size-${props.size}`);
|
|
@@ -5147,8 +5134,8 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
5147
5134
|
for: inputId.value,
|
|
5148
5135
|
class: "ina-password-input__label"
|
|
5149
5136
|
}, [
|
|
5150
|
-
|
|
5151
|
-
__props.required ? (openBlock(), createElementBlock("span",
|
|
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)
|
|
5152
5139
|
], 8, _hoisted_2$k)) : createCommentVNode("", true),
|
|
5153
5140
|
createElementVNode("div", {
|
|
5154
5141
|
class: normalizeClass(wrapperClasses.value)
|
|
@@ -5167,7 +5154,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
5167
5154
|
onInput: handleInput,
|
|
5168
5155
|
onBlur: handleBlur,
|
|
5169
5156
|
onFocus: handleFocus
|
|
5170
|
-
}, _ctx.$attrs), null, 16,
|
|
5157
|
+
}, _ctx.$attrs), null, 16, _hoisted_5$d), [
|
|
5171
5158
|
[vModelDynamic, inputValue.value]
|
|
5172
5159
|
]),
|
|
5173
5160
|
createElementVNode("button", {
|
|
@@ -5176,7 +5163,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
5176
5163
|
onClick: togglePasswordVisibility,
|
|
5177
5164
|
disabled: __props.disabled
|
|
5178
5165
|
}, [
|
|
5179
|
-
!showPassword.value ? (openBlock(), createElementBlock("svg",
|
|
5166
|
+
!showPassword.value ? (openBlock(), createElementBlock("svg", _hoisted_7$a, [..._cache[1] || (_cache[1] = [
|
|
5180
5167
|
createElementVNode("path", {
|
|
5181
5168
|
d: "M1 12S5 4 12 4s11 8 11 8-4 8-11 8-11-8-11-8z",
|
|
5182
5169
|
stroke: "currentColor",
|
|
@@ -5193,7 +5180,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
5193
5180
|
"stroke-linecap": "round",
|
|
5194
5181
|
"stroke-linejoin": "round"
|
|
5195
5182
|
}, null, -1)
|
|
5196
|
-
])])) : (openBlock(), createElementBlock("svg",
|
|
5183
|
+
])])) : (openBlock(), createElementBlock("svg", _hoisted_8$8, [..._cache[2] || (_cache[2] = [
|
|
5197
5184
|
createElementVNode("path", {
|
|
5198
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",
|
|
5199
5186
|
stroke: "currentColor",
|
|
@@ -5212,13 +5199,15 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
5212
5199
|
"stroke-linejoin": "round"
|
|
5213
5200
|
}, null, -1)
|
|
5214
5201
|
])]))
|
|
5215
|
-
], 8,
|
|
5202
|
+
], 8, _hoisted_6$a)
|
|
5216
5203
|
], 2),
|
|
5217
|
-
__props.statusMessage ? (openBlock(), createElementBlock("div",
|
|
5204
|
+
__props.statusMessage ? (openBlock(), createElementBlock("div", _hoisted_9$7, [
|
|
5218
5205
|
createElementVNode("div", {
|
|
5219
5206
|
class: normalizeClass(statusClasses.value)
|
|
5220
|
-
},
|
|
5221
|
-
|
|
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)
|
|
5222
5211
|
])) : createCommentVNode("", true)
|
|
5223
5212
|
]);
|
|
5224
5213
|
};
|
|
@@ -5467,24 +5456,26 @@ const COUNTRIES = [
|
|
|
5467
5456
|
];
|
|
5468
5457
|
const _hoisted_1$k = { class: "ina-phone-input" };
|
|
5469
5458
|
const _hoisted_2$j = ["for"];
|
|
5470
|
-
const _hoisted_3$h = {
|
|
5471
|
-
|
|
5459
|
+
const _hoisted_3$h = { key: 1 };
|
|
5460
|
+
const _hoisted_4$d = {
|
|
5461
|
+
key: 2,
|
|
5472
5462
|
class: "ina-phone-input__asterisk"
|
|
5473
5463
|
};
|
|
5474
|
-
const
|
|
5475
|
-
const
|
|
5476
|
-
const
|
|
5477
|
-
const
|
|
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 = {
|
|
5478
5468
|
key: 0,
|
|
5479
5469
|
class: "ina-phone-input__country-dropdown"
|
|
5480
5470
|
};
|
|
5481
|
-
const
|
|
5482
|
-
const
|
|
5483
|
-
const
|
|
5484
|
-
const
|
|
5485
|
-
const
|
|
5486
|
-
const
|
|
5487
|
-
const
|
|
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 };
|
|
5488
5479
|
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
5489
5480
|
__name: "PhoneInput",
|
|
5490
5481
|
props: {
|
|
@@ -5517,6 +5508,11 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
5517
5508
|
const inputId = computed(
|
|
5518
5509
|
() => `phone-input-${Math.random().toString(36).substr(2, 9)}`
|
|
5519
5510
|
);
|
|
5511
|
+
const labelComponent = computed(() => {
|
|
5512
|
+
if (!props.label) return null;
|
|
5513
|
+
if (typeof props.label === "string") return null;
|
|
5514
|
+
return props.label;
|
|
5515
|
+
});
|
|
5520
5516
|
const wrapperClasses = computed(() => {
|
|
5521
5517
|
const classes = ["ina-phone-input__wrapper"];
|
|
5522
5518
|
classes.push(`ina-phone-input__wrapper--size-${props.size}`);
|
|
@@ -5649,8 +5645,8 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
5649
5645
|
for: inputId.value,
|
|
5650
5646
|
class: "ina-phone-input__label"
|
|
5651
5647
|
}, [
|
|
5652
|
-
|
|
5653
|
-
__props.required ? (openBlock(), createElementBlock("span",
|
|
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)
|
|
5654
5650
|
], 8, _hoisted_2$j)) : createCommentVNode("", true),
|
|
5655
5651
|
createElementVNode("div", {
|
|
5656
5652
|
class: normalizeClass(wrapperClasses.value)
|
|
@@ -5666,8 +5662,8 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
5666
5662
|
onClick: toggleCountryDropdown,
|
|
5667
5663
|
disabled: __props.disabled || __props.readonly
|
|
5668
5664
|
}, [
|
|
5669
|
-
createElementVNode("span",
|
|
5670
|
-
createElementVNode("span",
|
|
5665
|
+
createElementVNode("span", _hoisted_6$9, toDisplayString(selectedCountry.value.flag), 1),
|
|
5666
|
+
createElementVNode("span", _hoisted_7$9, toDisplayString(selectedCountry.value.dialCode), 1),
|
|
5671
5667
|
(openBlock(), createElementBlock("svg", {
|
|
5672
5668
|
class: normalizeClass(["ina-phone-input__country-chevron", {
|
|
5673
5669
|
"ina-phone-input__country-chevron--open": isCountryDropdownOpen.value
|
|
@@ -5686,11 +5682,11 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
5686
5682
|
"stroke-linejoin": "round"
|
|
5687
5683
|
}, null, -1)
|
|
5688
5684
|
])], 2))
|
|
5689
|
-
], 8,
|
|
5685
|
+
], 8, _hoisted_5$c),
|
|
5690
5686
|
createVNode(Transition, { name: "dropdown" }, {
|
|
5691
5687
|
default: withCtx(() => [
|
|
5692
|
-
isCountryDropdownOpen.value ? (openBlock(), createElementBlock("div",
|
|
5693
|
-
createElementVNode("div",
|
|
5688
|
+
isCountryDropdownOpen.value ? (openBlock(), createElementBlock("div", _hoisted_8$7, [
|
|
5689
|
+
createElementVNode("div", _hoisted_9$6, [
|
|
5694
5690
|
withDirectives(createElementVNode("input", {
|
|
5695
5691
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => countrySearch.value = $event),
|
|
5696
5692
|
ref_key: "searchInputRef",
|
|
@@ -5702,7 +5698,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
5702
5698
|
[vModelText, countrySearch.value]
|
|
5703
5699
|
])
|
|
5704
5700
|
]),
|
|
5705
|
-
createElementVNode("div",
|
|
5701
|
+
createElementVNode("div", _hoisted_10$6, [
|
|
5706
5702
|
(openBlock(true), createElementBlock(Fragment, null, renderList(filteredCountries.value, (country) => {
|
|
5707
5703
|
return openBlock(), createElementBlock("button", {
|
|
5708
5704
|
key: country.code,
|
|
@@ -5710,10 +5706,10 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
5710
5706
|
class: normalizeClass(getCountryClasses(country)),
|
|
5711
5707
|
onClick: ($event) => selectCountry(country)
|
|
5712
5708
|
}, [
|
|
5713
|
-
createElementVNode("span",
|
|
5714
|
-
createElementVNode("span",
|
|
5715
|
-
createElementVNode("span",
|
|
5716
|
-
], 10,
|
|
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);
|
|
5717
5713
|
}), 128))
|
|
5718
5714
|
])
|
|
5719
5715
|
])) : createCommentVNode("", true)
|
|
@@ -5735,19 +5731,21 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
5735
5731
|
onInput: handleInput,
|
|
5736
5732
|
onBlur: handleBlur,
|
|
5737
5733
|
onFocus: handleFocus
|
|
5738
|
-
}), null, 16,
|
|
5734
|
+
}), null, 16, _hoisted_15$3), [
|
|
5739
5735
|
[vModelText, phoneNumber.value]
|
|
5740
5736
|
])
|
|
5741
5737
|
], 2),
|
|
5742
5738
|
bottomText.value ? (openBlock(), createElementBlock("div", {
|
|
5743
5739
|
key: 1,
|
|
5744
5740
|
class: normalizeClass(helperTextClasses.value)
|
|
5745
|
-
},
|
|
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)
|
|
5746
5744
|
]);
|
|
5747
5745
|
};
|
|
5748
5746
|
}
|
|
5749
5747
|
});
|
|
5750
|
-
const PhoneInput = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-
|
|
5748
|
+
const PhoneInput = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-89171b69"]]);
|
|
5751
5749
|
const _hoisted_1$j = {
|
|
5752
5750
|
key: 0,
|
|
5753
5751
|
class: "ina-progress-bar__shimmer"
|
|
@@ -5760,8 +5758,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
5760
5758
|
duration: { default: 1e3 },
|
|
5761
5759
|
variant: { default: "primary" },
|
|
5762
5760
|
height: { default: "sm" },
|
|
5763
|
-
shimmer: { type: Boolean, default: true }
|
|
5764
|
-
className: { default: "" }
|
|
5761
|
+
shimmer: { type: Boolean, default: true }
|
|
5765
5762
|
},
|
|
5766
5763
|
setup(__props) {
|
|
5767
5764
|
const props = __props;
|
|
@@ -5773,9 +5770,6 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
5773
5770
|
if (!props.visible) {
|
|
5774
5771
|
classes.push("ina-progress-bar--hidden");
|
|
5775
5772
|
}
|
|
5776
|
-
if (props.className) {
|
|
5777
|
-
classes.push(props.className);
|
|
5778
|
-
}
|
|
5779
5773
|
return classes.join(" ");
|
|
5780
5774
|
});
|
|
5781
5775
|
const fillClasses = computed(() => {
|
|
@@ -5819,8 +5813,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
5819
5813
|
__name: "LinearProgressIndicator",
|
|
5820
5814
|
props: {
|
|
5821
5815
|
value: { default: 0 },
|
|
5822
|
-
visible: { type: Boolean, default: true }
|
|
5823
|
-
className: { default: "" }
|
|
5816
|
+
visible: { type: Boolean, default: true }
|
|
5824
5817
|
},
|
|
5825
5818
|
setup(__props) {
|
|
5826
5819
|
const props = __props;
|
|
@@ -5829,9 +5822,6 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
5829
5822
|
});
|
|
5830
5823
|
const containerClasses = computed(() => {
|
|
5831
5824
|
const classes = ["ina-linear-progress-indicator"];
|
|
5832
|
-
if (props.className) {
|
|
5833
|
-
classes.push(props.className);
|
|
5834
|
-
}
|
|
5835
5825
|
return classes.join(" ");
|
|
5836
5826
|
});
|
|
5837
5827
|
return (_ctx, _cache) => {
|
|
@@ -5853,7 +5843,7 @@ const _hoisted_1$i = ["disabled"];
|
|
|
5853
5843
|
const _hoisted_2$i = { class: "ina-radio-input__group" };
|
|
5854
5844
|
const _hoisted_3$g = ["for"];
|
|
5855
5845
|
const _hoisted_4$c = ["id", "name", "value", "disabled"];
|
|
5856
|
-
const _hoisted_5$
|
|
5846
|
+
const _hoisted_5$b = ["for"];
|
|
5857
5847
|
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
5858
5848
|
__name: "RadioInput",
|
|
5859
5849
|
props: {
|
|
@@ -5958,7 +5948,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
5958
5948
|
createElementVNode("label", {
|
|
5959
5949
|
for: `${labelId.value}-${option.value}-${index2}`,
|
|
5960
5950
|
class: normalizeClass(["ina-radio-input__option-label", { "ina-radio-input__option-label--disabled": __props.disabled }])
|
|
5961
|
-
}, toDisplayString(option.label), 11, _hoisted_5$
|
|
5951
|
+
}, toDisplayString(option.label), 11, _hoisted_5$b)
|
|
5962
5952
|
], 2);
|
|
5963
5953
|
}), 128))
|
|
5964
5954
|
]),
|
|
@@ -5977,7 +5967,7 @@ const _hoisted_2$h = {
|
|
|
5977
5967
|
};
|
|
5978
5968
|
const _hoisted_3$f = { class: "ina-year-picker__wrapper" };
|
|
5979
5969
|
const _hoisted_4$b = ["id", "disabled", "aria-expanded", "aria-labelledby"];
|
|
5980
|
-
const _hoisted_5$
|
|
5970
|
+
const _hoisted_5$a = {
|
|
5981
5971
|
key: 0,
|
|
5982
5972
|
class: "ina-year-picker__prefix-icon"
|
|
5983
5973
|
};
|
|
@@ -6281,7 +6271,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
6281
6271
|
onClick: togglePanel,
|
|
6282
6272
|
onKeydown: handleKeydown
|
|
6283
6273
|
}, [
|
|
6284
|
-
__props.showIcon ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
6274
|
+
__props.showIcon ? (openBlock(), createElementBlock("div", _hoisted_5$a, [..._cache[1] || (_cache[1] = [
|
|
6285
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)
|
|
6286
6276
|
])])) : createCommentVNode("", true),
|
|
6287
6277
|
createElementVNode("span", _hoisted_6$8, toDisplayString(selectedYear.value || __props.placeholder), 1),
|
|
@@ -6377,7 +6367,7 @@ const _hoisted_4$a = {
|
|
|
6377
6367
|
key: 0,
|
|
6378
6368
|
class: "ina-date-picker__calendar-container"
|
|
6379
6369
|
};
|
|
6380
|
-
const _hoisted_5$
|
|
6370
|
+
const _hoisted_5$9 = { class: "ina-date-picker__calendar-header" };
|
|
6381
6371
|
const _hoisted_6$7 = { class: "ina-date-picker__header-controls" };
|
|
6382
6372
|
const _hoisted_7$7 = { class: "ina-date-picker__dropdown-container" };
|
|
6383
6373
|
const _hoisted_8$5 = { class: "ina-date-picker__dropdown-container" };
|
|
@@ -6387,7 +6377,7 @@ const _hoisted_11$4 = { class: "ina-date-picker__day-number" };
|
|
|
6387
6377
|
const _hoisted_12$3 = { class: "ina-date-picker__calendar-container" };
|
|
6388
6378
|
const _hoisted_13$3 = { class: "ina-date-picker__calendar-header" };
|
|
6389
6379
|
const _hoisted_14$2 = { class: "ina-date-picker__header-controls" };
|
|
6390
|
-
const _hoisted_15$
|
|
6380
|
+
const _hoisted_15$2 = { class: "ina-date-picker__dropdown-container" };
|
|
6391
6381
|
const _hoisted_16$1 = { class: "ina-date-picker__dropdown-container" };
|
|
6392
6382
|
const _hoisted_17$1 = { class: "ina-date-picker__calendar-grid" };
|
|
6393
6383
|
const _hoisted_18$1 = ["disabled", "onClick"];
|
|
@@ -6427,8 +6417,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
6427
6417
|
panelMaxHeight: { default: void 0 },
|
|
6428
6418
|
panelClassName: { default: "" },
|
|
6429
6419
|
triggerClassname: { default: "" },
|
|
6430
|
-
popperPlacement: { default: "bottom-start" }
|
|
6431
|
-
className: {}
|
|
6420
|
+
popperPlacement: { default: "bottom-start" }
|
|
6432
6421
|
},
|
|
6433
6422
|
emits: ["update:modelValue", "change", "clear"],
|
|
6434
6423
|
setup(__props, { emit: __emit }) {
|
|
@@ -6501,11 +6490,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
6501
6490
|
return "";
|
|
6502
6491
|
});
|
|
6503
6492
|
const containerClasses = computed(() => {
|
|
6504
|
-
return clsx(
|
|
6505
|
-
"ina-date-picker",
|
|
6506
|
-
props.className,
|
|
6507
|
-
props.disabled && "ina-date-picker--disabled"
|
|
6508
|
-
);
|
|
6493
|
+
return clsx("ina-date-picker", props.disabled && "ina-date-picker--disabled");
|
|
6509
6494
|
});
|
|
6510
6495
|
const triggerClasses = computed(() => {
|
|
6511
6496
|
return clsx(
|
|
@@ -7227,7 +7212,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
7227
7212
|
class: normalizeClass(panelContentClasses.value)
|
|
7228
7213
|
}, [
|
|
7229
7214
|
__props.mode === "single" ? (openBlock(), createElementBlock("div", _hoisted_4$a, [
|
|
7230
|
-
createElementVNode("div", _hoisted_5$
|
|
7215
|
+
createElementVNode("div", _hoisted_5$9, [
|
|
7231
7216
|
createElementVNode("button", {
|
|
7232
7217
|
type: "button",
|
|
7233
7218
|
class: "ina-date-picker__nav-button",
|
|
@@ -7305,7 +7290,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
7305
7290
|
})
|
|
7306
7291
|
]),
|
|
7307
7292
|
createElementVNode("div", _hoisted_14$2, [
|
|
7308
|
-
createElementVNode("div", _hoisted_15$
|
|
7293
|
+
createElementVNode("div", _hoisted_15$2, [
|
|
7309
7294
|
createVNode(MonthPicker, {
|
|
7310
7295
|
"model-value": currentMonth.value,
|
|
7311
7296
|
disabled: __props.disabled,
|
|
@@ -7435,7 +7420,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
7435
7420
|
};
|
|
7436
7421
|
}
|
|
7437
7422
|
});
|
|
7438
|
-
const DatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-
|
|
7423
|
+
const DatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-93b333e7"]]);
|
|
7439
7424
|
const _hoisted_1$f = ["disabled"];
|
|
7440
7425
|
const _hoisted_2$f = {
|
|
7441
7426
|
key: 0,
|
|
@@ -7446,7 +7431,7 @@ const _hoisted_3$d = {
|
|
|
7446
7431
|
class: "ina-select-dropdown__search"
|
|
7447
7432
|
};
|
|
7448
7433
|
const _hoisted_4$9 = ["aria-label", "disabled"];
|
|
7449
|
-
const _hoisted_5$
|
|
7434
|
+
const _hoisted_5$8 = {
|
|
7450
7435
|
key: 1,
|
|
7451
7436
|
class: "ina-select-dropdown__preview"
|
|
7452
7437
|
};
|
|
@@ -7465,7 +7450,7 @@ const _hoisted_11$3 = { class: "ina-select-dropdown__preview-item-text" };
|
|
|
7465
7450
|
const _hoisted_12$2 = ["aria-label"];
|
|
7466
7451
|
const _hoisted_13$2 = ["disabled", "onClick"];
|
|
7467
7452
|
const _hoisted_14$1 = { class: "ina-select-dropdown__option-content" };
|
|
7468
|
-
const _hoisted_15 = { class: "ina-select-dropdown__option-label" };
|
|
7453
|
+
const _hoisted_15$1 = { class: "ina-select-dropdown__option-label" };
|
|
7469
7454
|
const _hoisted_16 = {
|
|
7470
7455
|
key: 0,
|
|
7471
7456
|
class: "ina-select-dropdown__option-check-indicator"
|
|
@@ -7514,7 +7499,6 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
7514
7499
|
onRemoveSelected: {},
|
|
7515
7500
|
panelClassName: { default: "" },
|
|
7516
7501
|
triggerClassName: { default: "" },
|
|
7517
|
-
className: { default: "" },
|
|
7518
7502
|
showPreviewValue: { type: Boolean, default: true },
|
|
7519
7503
|
searchable: { type: Boolean, default: true }
|
|
7520
7504
|
},
|
|
@@ -7792,11 +7776,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
7792
7776
|
}
|
|
7793
7777
|
};
|
|
7794
7778
|
const containerClasses = computed(() => {
|
|
7795
|
-
return clsx(
|
|
7796
|
-
"ina-select-dropdown",
|
|
7797
|
-
`ina-select-dropdown--size-${props.size}`,
|
|
7798
|
-
props.className
|
|
7799
|
-
);
|
|
7779
|
+
return clsx("ina-select-dropdown", `ina-select-dropdown--size-${props.size}`);
|
|
7800
7780
|
});
|
|
7801
7781
|
const triggerClasses = computed(() => {
|
|
7802
7782
|
return clsx(
|
|
@@ -7888,7 +7868,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
7888
7868
|
[vModelText, internalSearchTerm.value]
|
|
7889
7869
|
])
|
|
7890
7870
|
])) : createCommentVNode("", true),
|
|
7891
|
-
__props.showPreviewValue && hasSelectedItems.value ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
7871
|
+
__props.showPreviewValue && hasSelectedItems.value ? (openBlock(), createElementBlock("div", _hoisted_5$8, [
|
|
7892
7872
|
createElementVNode("div", _hoisted_6$6, [
|
|
7893
7873
|
__props.multiple ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
7894
7874
|
(openBlock(true), createElementBlock(Fragment, null, renderList(selectedArray.value.slice(0, 3), (value, index2) => {
|
|
@@ -7943,7 +7923,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
7943
7923
|
option,
|
|
7944
7924
|
selected: isSelected(option)
|
|
7945
7925
|
}, () => [
|
|
7946
|
-
createElementVNode("span", _hoisted_15, toDisplayString(getOptionLabel(option)), 1)
|
|
7926
|
+
createElementVNode("span", _hoisted_15$1, toDisplayString(getOptionLabel(option)), 1)
|
|
7947
7927
|
], true)
|
|
7948
7928
|
]),
|
|
7949
7929
|
__props.multiple ? (openBlock(), createElementBlock("div", {
|
|
@@ -8002,7 +7982,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
8002
7982
|
};
|
|
8003
7983
|
}
|
|
8004
7984
|
});
|
|
8005
|
-
const SelectDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-
|
|
7985
|
+
const SelectDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-1efeeb5b"]]);
|
|
8006
7986
|
const _hoisted_1$e = ["aria-labelledby", "aria-describedby"];
|
|
8007
7987
|
const _hoisted_2$e = {
|
|
8008
7988
|
key: 0,
|
|
@@ -8010,7 +7990,7 @@ const _hoisted_2$e = {
|
|
|
8010
7990
|
};
|
|
8011
7991
|
const _hoisted_3$c = ["id"];
|
|
8012
7992
|
const _hoisted_4$8 = ["aria-label"];
|
|
8013
|
-
const _hoisted_5$
|
|
7993
|
+
const _hoisted_5$7 = { class: "ina-drawer__content" };
|
|
8014
7994
|
const _hoisted_6$5 = ["id"];
|
|
8015
7995
|
const _hoisted_7$5 = {
|
|
8016
7996
|
key: 1,
|
|
@@ -8172,7 +8152,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
8172
8152
|
], -1)
|
|
8173
8153
|
])], 8, _hoisted_4$8)) : createCommentVNode("", true)
|
|
8174
8154
|
])) : createCommentVNode("", true),
|
|
8175
|
-
createElementVNode("div", _hoisted_5$
|
|
8155
|
+
createElementVNode("div", _hoisted_5$7, [
|
|
8176
8156
|
__props.description ? (openBlock(), createElementBlock("div", {
|
|
8177
8157
|
key: 0,
|
|
8178
8158
|
id: descriptionId.value,
|
|
@@ -8196,7 +8176,6 @@ const Drawer = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-a
|
|
|
8196
8176
|
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
8197
8177
|
__name: "Skeleton",
|
|
8198
8178
|
props: {
|
|
8199
|
-
className: { default: "" },
|
|
8200
8179
|
color: { default: "gray" },
|
|
8201
8180
|
width: { default: void 0 },
|
|
8202
8181
|
height: { default: "32px" },
|
|
@@ -8208,9 +8187,6 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
8208
8187
|
const classes = ["ina-skeleton"];
|
|
8209
8188
|
classes.push(`ina-skeleton--rounded-${props.rounded}`);
|
|
8210
8189
|
classes.push(`ina-skeleton--color-${props.color}`);
|
|
8211
|
-
if (props.className) {
|
|
8212
|
-
classes.push(props.className);
|
|
8213
|
-
}
|
|
8214
8190
|
return classes;
|
|
8215
8191
|
});
|
|
8216
8192
|
const skeletonStyle = computed(() => {
|
|
@@ -8319,14 +8295,13 @@ const _hoisted_4$7 = {
|
|
|
8319
8295
|
key: 2,
|
|
8320
8296
|
class: "ina-stepper__step-number"
|
|
8321
8297
|
};
|
|
8322
|
-
const _hoisted_5$
|
|
8298
|
+
const _hoisted_5$6 = { class: "ina-stepper__label" };
|
|
8323
8299
|
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
8324
8300
|
__name: "Stepper",
|
|
8325
8301
|
props: {
|
|
8326
8302
|
steps: {},
|
|
8327
8303
|
currentStep: {},
|
|
8328
8304
|
orientation: { default: "horizontal" },
|
|
8329
|
-
className: {},
|
|
8330
8305
|
onStepClick: {},
|
|
8331
8306
|
errorSteps: { default: () => [] }
|
|
8332
8307
|
},
|
|
@@ -8340,8 +8315,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
8340
8315
|
`ina-stepper--${props.orientation}`,
|
|
8341
8316
|
{
|
|
8342
8317
|
"ina-stepper--horizontal-responsive": isHorizontal.value
|
|
8343
|
-
}
|
|
8344
|
-
props.className
|
|
8318
|
+
}
|
|
8345
8319
|
])
|
|
8346
8320
|
}, [
|
|
8347
8321
|
(openBlock(true), createElementBlock(Fragment, null, renderList(props.steps, (step, index2) => {
|
|
@@ -8372,7 +8346,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
8372
8346
|
createElementVNode("path", { d: "M5 12l5 5l10 -10" }, null, -1)
|
|
8373
8347
|
])])) : step.icon ? (openBlock(), createBlock(resolveDynamicComponent(step.icon), { key: 1 })) : (openBlock(), createElementBlock("span", _hoisted_4$7, toDisplayString(index2 + 1), 1))
|
|
8374
8348
|
]),
|
|
8375
|
-
createElementVNode("div", _hoisted_5$
|
|
8349
|
+
createElementVNode("div", _hoisted_5$6, [
|
|
8376
8350
|
typeof step.label === "string" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
8377
8351
|
createTextVNode(toDisplayString(step.label), 1)
|
|
8378
8352
|
], 64)) : (openBlock(), createBlock(resolveDynamicComponent(step.label), { key: 1 }))
|
|
@@ -8393,7 +8367,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
8393
8367
|
};
|
|
8394
8368
|
}
|
|
8395
8369
|
});
|
|
8396
|
-
const Stepper = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-
|
|
8370
|
+
const Stepper = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-7098cd68"]]);
|
|
8397
8371
|
const _hoisted_1$b = ["aria-selected", "aria-disabled", "disabled", "onClick", "onKeydown"];
|
|
8398
8372
|
const _hoisted_2$b = { key: 0 };
|
|
8399
8373
|
const _hoisted_3$9 = { key: 1 };
|
|
@@ -8409,7 +8383,6 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
8409
8383
|
fullWidth: { type: Boolean, default: false },
|
|
8410
8384
|
useBrandColor: { type: Boolean, default: false },
|
|
8411
8385
|
disabled: { type: Boolean, default: false },
|
|
8412
|
-
className: { default: "" },
|
|
8413
8386
|
containerClassName: { default: "" },
|
|
8414
8387
|
tabClassName: { default: "" }
|
|
8415
8388
|
},
|
|
@@ -8437,9 +8410,6 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
8437
8410
|
if (props.disabled) {
|
|
8438
8411
|
classes.push("ina-tab-horizontal--disabled");
|
|
8439
8412
|
}
|
|
8440
|
-
if (props.className) {
|
|
8441
|
-
classes.push(props.className);
|
|
8442
|
-
}
|
|
8443
8413
|
return classes;
|
|
8444
8414
|
});
|
|
8445
8415
|
const tabsContainerClasses = computed(() => {
|
|
@@ -8551,7 +8521,6 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
8551
8521
|
variant: { default: "outline" },
|
|
8552
8522
|
useBrandColor: { type: Boolean, default: false },
|
|
8553
8523
|
disabled: { type: Boolean, default: false },
|
|
8554
|
-
className: { default: "" },
|
|
8555
8524
|
containerClassName: { default: "" },
|
|
8556
8525
|
tabClassName: { default: "" },
|
|
8557
8526
|
width: { default: "200px" }
|
|
@@ -8577,9 +8546,6 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
8577
8546
|
if (props.disabled) {
|
|
8578
8547
|
classes.push("ina-tab-vertical--disabled");
|
|
8579
8548
|
}
|
|
8580
|
-
if (props.className) {
|
|
8581
|
-
classes.push(props.className);
|
|
8582
|
-
}
|
|
8583
8549
|
return classes;
|
|
8584
8550
|
});
|
|
8585
8551
|
const tabsContainerClasses = computed(() => {
|
|
@@ -8682,8 +8648,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
8682
8648
|
props: {
|
|
8683
8649
|
visible: { type: Boolean, default: true },
|
|
8684
8650
|
loading: { type: Boolean, default: false },
|
|
8685
|
-
variant: { default: "primary" }
|
|
8686
|
-
className: { default: "" }
|
|
8651
|
+
variant: { default: "primary" }
|
|
8687
8652
|
},
|
|
8688
8653
|
setup(__props) {
|
|
8689
8654
|
const props = __props;
|
|
@@ -8728,9 +8693,6 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
8728
8693
|
if (isAnimating.value) {
|
|
8729
8694
|
classes.push("ina-table-progress-bar--animating");
|
|
8730
8695
|
}
|
|
8731
|
-
if (props.className) {
|
|
8732
|
-
classes.push(props.className);
|
|
8733
|
-
}
|
|
8734
8696
|
return classes.join(" ");
|
|
8735
8697
|
});
|
|
8736
8698
|
return (_ctx, _cache) => {
|
|
@@ -8760,7 +8722,7 @@ const _hoisted_4$6 = {
|
|
|
8760
8722
|
key: 1,
|
|
8761
8723
|
class: "ina-table__sort-icon"
|
|
8762
8724
|
};
|
|
8763
|
-
const _hoisted_5$
|
|
8725
|
+
const _hoisted_5$5 = ["onClick"];
|
|
8764
8726
|
const _hoisted_6$4 = ["onClick"];
|
|
8765
8727
|
const _hoisted_7$4 = { key: 0 };
|
|
8766
8728
|
const _hoisted_8$3 = ["colspan"];
|
|
@@ -8784,7 +8746,6 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
8784
8746
|
placeholderSearch: { default: "Search..." },
|
|
8785
8747
|
searchPlaceholder: { default: "Input pencarian" },
|
|
8786
8748
|
buttonSearchLabel: { default: "Cari" },
|
|
8787
|
-
className: { default: "" },
|
|
8788
8749
|
selectable: { type: Boolean, default: false },
|
|
8789
8750
|
onSelectionChange: {},
|
|
8790
8751
|
editableColumns: { default: () => [] },
|
|
@@ -9013,7 +8974,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
9013
8974
|
page.value = 1;
|
|
9014
8975
|
};
|
|
9015
8976
|
const tableContainerClasses = computed(() => {
|
|
9016
|
-
return clsx("ina-table",
|
|
8977
|
+
return clsx("ina-table", {
|
|
9017
8978
|
"ina-table--sticky-last-column": props.lastColumnSticky
|
|
9018
8979
|
});
|
|
9019
8980
|
});
|
|
@@ -9059,7 +9020,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
9059
9020
|
visible: loading.value,
|
|
9060
9021
|
loading: loading.value,
|
|
9061
9022
|
variant: "primary",
|
|
9062
|
-
|
|
9023
|
+
class: "ina-table__progress-bar"
|
|
9063
9024
|
}, null, 8, ["visible", "loading"]),
|
|
9064
9025
|
createElementVNode("table", {
|
|
9065
9026
|
ref_key: "tableRef",
|
|
@@ -9109,7 +9070,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
9109
9070
|
size: 16,
|
|
9110
9071
|
stroke: String(isSorted(col) && sortOrder.value === "asc" ? 3 : 2)
|
|
9111
9072
|
}, null, 8, ["stroke"])
|
|
9112
|
-
], 10, _hoisted_5$
|
|
9073
|
+
], 10, _hoisted_5$5),
|
|
9113
9074
|
createElementVNode("div", {
|
|
9114
9075
|
class: normalizeClass([
|
|
9115
9076
|
"ina-table__sort-button",
|
|
@@ -9225,6 +9186,7 @@ const _hoisted_3$6 = {
|
|
|
9225
9186
|
class: "ina-text-area__required"
|
|
9226
9187
|
};
|
|
9227
9188
|
const _hoisted_4$5 = ["id", "name", "placeholder", "disabled", "readonly", "maxlength", "rows", "autocomplete", "spellcheck", "autocapitalize", "autocorrect", "dir"];
|
|
9189
|
+
const _hoisted_5$4 = { key: 1 };
|
|
9228
9190
|
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
9229
9191
|
__name: "TextArea",
|
|
9230
9192
|
props: {
|
|
@@ -9483,7 +9445,13 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
9483
9445
|
__props.statusMessage || validationError.value ? (openBlock(), createElementBlock("div", {
|
|
9484
9446
|
key: 1,
|
|
9485
9447
|
class: normalizeClass(statusMessageClasses.value)
|
|
9486
|
-
},
|
|
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),
|
|
9487
9455
|
__props.showCharCount && __props.maxLength ? (openBlock(), createElementBlock("div", {
|
|
9488
9456
|
key: 2,
|
|
9489
9457
|
class: normalizeClass(charCountClasses.value)
|
|
@@ -9513,7 +9481,6 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
9513
9481
|
error: { type: Boolean, default: false },
|
|
9514
9482
|
disabled: { type: Boolean, default: false },
|
|
9515
9483
|
readonly: { type: Boolean, default: false },
|
|
9516
|
-
className: {},
|
|
9517
9484
|
autoFocus: { type: Boolean, default: false }
|
|
9518
9485
|
},
|
|
9519
9486
|
emits: ["update:modelValue", "complete"],
|
|
@@ -9556,7 +9523,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
9556
9523
|
}
|
|
9557
9524
|
);
|
|
9558
9525
|
const containerClasses = computed(() => {
|
|
9559
|
-
return clsx("ina-one-time-password"
|
|
9526
|
+
return clsx("ina-one-time-password");
|
|
9560
9527
|
});
|
|
9561
9528
|
const inputClasses = computed(() => {
|
|
9562
9529
|
return clsx(
|
|
@@ -9743,7 +9710,6 @@ const _hoisted_2$6 = ["aria-label", "title"];
|
|
|
9743
9710
|
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
9744
9711
|
__name: "ThemeToggle",
|
|
9745
9712
|
props: {
|
|
9746
|
-
className: { default: "" },
|
|
9747
9713
|
size: { default: "md" },
|
|
9748
9714
|
showLabel: { type: Boolean, default: false }
|
|
9749
9715
|
},
|
|
@@ -9765,9 +9731,6 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
9765
9731
|
};
|
|
9766
9732
|
const containerClasses = computed(() => {
|
|
9767
9733
|
const classes = ["ina-theme-toggle", `ina-theme-toggle--size-${props.size}`];
|
|
9768
|
-
if (props.className) {
|
|
9769
|
-
classes.push(props.className);
|
|
9770
|
-
}
|
|
9771
9734
|
return classes.join(" ");
|
|
9772
9735
|
});
|
|
9773
9736
|
const buttonClasses = computed(() => {
|
|
@@ -9847,7 +9810,6 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
9847
9810
|
modelValue: {},
|
|
9848
9811
|
onChange: {},
|
|
9849
9812
|
onOpenChange: {},
|
|
9850
|
-
className: {},
|
|
9851
9813
|
use12Hours: { type: Boolean, default: false },
|
|
9852
9814
|
showSecond: { type: Boolean, default: false },
|
|
9853
9815
|
allowClear: { type: Boolean, default: true },
|
|
@@ -10062,9 +10024,6 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
10062
10024
|
if (isOpen.value) {
|
|
10063
10025
|
classes.push("ina-time-picker--open");
|
|
10064
10026
|
}
|
|
10065
|
-
if (props.className) {
|
|
10066
|
-
classes.push(props.className);
|
|
10067
|
-
}
|
|
10068
10027
|
return classes;
|
|
10069
10028
|
});
|
|
10070
10029
|
const inputClasses = computed(() => {
|
|
@@ -10310,8 +10269,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
10310
10269
|
state: { default: "default" },
|
|
10311
10270
|
style: { default: "solid" },
|
|
10312
10271
|
duration: { default: 5e3 },
|
|
10313
|
-
position: { default: "top-right" }
|
|
10314
|
-
className: { default: "" }
|
|
10272
|
+
position: { default: "top-right" }
|
|
10315
10273
|
},
|
|
10316
10274
|
setup(__props) {
|
|
10317
10275
|
const props = __props;
|
|
@@ -10400,13 +10358,14 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
10400
10358
|
}
|
|
10401
10359
|
}, 300);
|
|
10402
10360
|
}
|
|
10361
|
+
const attrs = useAttrs();
|
|
10403
10362
|
const toastClasses = computed(() => {
|
|
10404
10363
|
return clsx(
|
|
10405
10364
|
"ina-toast",
|
|
10406
10365
|
`ina-toast--state-${props.state}`,
|
|
10407
10366
|
`ina-toast--style-${props.style}`,
|
|
10408
10367
|
`ina-toast--${isVisible.value ? "visible" : "hidden"}`,
|
|
10409
|
-
|
|
10368
|
+
attrs.class
|
|
10410
10369
|
);
|
|
10411
10370
|
});
|
|
10412
10371
|
return (_ctx, _cache) => {
|
|
@@ -10490,8 +10449,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
10490
10449
|
style: normalizeStyle(toast2.style),
|
|
10491
10450
|
duration: toast2.duration,
|
|
10492
10451
|
position: toast2.position,
|
|
10493
|
-
|
|
10494
|
-
}, null, 8, ["onClose", "title", "description", "actionNode", "state", "style", "duration", "position", "
|
|
10452
|
+
class: normalizeClass(toast2.class)
|
|
10453
|
+
}, null, 8, ["onClose", "title", "description", "actionNode", "state", "style", "duration", "position", "class"]);
|
|
10495
10454
|
}), 128))
|
|
10496
10455
|
]);
|
|
10497
10456
|
};
|
|
@@ -10534,7 +10493,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
10534
10493
|
{
|
|
10535
10494
|
hierarchy: "custom",
|
|
10536
10495
|
size: "sm",
|
|
10537
|
-
|
|
10496
|
+
class: cancelClassName,
|
|
10538
10497
|
onClick: () => handleCloseFn(false)
|
|
10539
10498
|
},
|
|
10540
10499
|
{ default: () => cancelText }
|
|
@@ -10544,7 +10503,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
10544
10503
|
{
|
|
10545
10504
|
hierarchy: "custom",
|
|
10546
10505
|
size: "sm",
|
|
10547
|
-
|
|
10506
|
+
class: confirmClassName,
|
|
10548
10507
|
onClick: () => handleCloseFn(true)
|
|
10549
10508
|
},
|
|
10550
10509
|
{ default: () => confirmText }
|
|
@@ -10802,8 +10761,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
10802
10761
|
showArrow: { type: Boolean, default: true },
|
|
10803
10762
|
onClose: {},
|
|
10804
10763
|
onNext: {},
|
|
10805
|
-
customContent: { type: Boolean, default: false }
|
|
10806
|
-
className: { default: "" }
|
|
10764
|
+
customContent: { type: Boolean, default: false }
|
|
10807
10765
|
},
|
|
10808
10766
|
emits: ["close", "next"],
|
|
10809
10767
|
setup(__props, { emit: __emit }) {
|
|
@@ -10831,9 +10789,6 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
10831
10789
|
};
|
|
10832
10790
|
const tooltipClasses = computed(() => {
|
|
10833
10791
|
const classes = ["ina-tooltip", `ina-tooltip--placement-${props.placement}`];
|
|
10834
|
-
if (props.className) {
|
|
10835
|
-
classes.push(props.className);
|
|
10836
|
-
}
|
|
10837
10792
|
if (isClosed.value) {
|
|
10838
10793
|
classes.push("ina-tooltip--closed");
|
|
10839
10794
|
}
|
|
@@ -10932,7 +10887,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
10932
10887
|
};
|
|
10933
10888
|
}
|
|
10934
10889
|
});
|
|
10935
|
-
const Tooltip = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
10890
|
+
const Tooltip = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-6ec52ff3"]]);
|
|
10936
10891
|
const predefinedBrands = [
|
|
10937
10892
|
"inagov",
|
|
10938
10893
|
"inaku",
|
|
@@ -10995,20 +10950,21 @@ function initializeTheme(brandName) {
|
|
|
10995
10950
|
if (typeof window !== "undefined") {
|
|
10996
10951
|
initializeTheme();
|
|
10997
10952
|
}
|
|
10998
|
-
const _hoisted_1 =
|
|
10999
|
-
const _hoisted_2 = ["
|
|
11000
|
-
const _hoisted_3 =
|
|
11001
|
-
const _hoisted_4 = { class: "ina-single-file-
|
|
11002
|
-
const _hoisted_5 = { class: "ina-single-file-
|
|
11003
|
-
const _hoisted_6 = { class: "ina-single-file-
|
|
11004
|
-
const _hoisted_7 = { class: "ina-single-file-
|
|
11005
|
-
const _hoisted_8 = { class: "ina-single-file-
|
|
11006
|
-
const _hoisted_9 = { class: "ina-single-file-upload__progress
|
|
11007
|
-
const _hoisted_10 = { class: "ina-single-file-upload__progress-
|
|
11008
|
-
const _hoisted_11 = { class: "ina-single-file-
|
|
11009
|
-
const _hoisted_12 = { class: "ina-single-file-
|
|
11010
|
-
const _hoisted_13 = { class: "ina-single-file-
|
|
11011
|
-
const _hoisted_14 = { class: "ina-single-file-
|
|
10953
|
+
const _hoisted_1 = { class: "ina-single-file-upload" };
|
|
10954
|
+
const _hoisted_2 = ["id", "accept", "disabled"];
|
|
10955
|
+
const _hoisted_3 = ["tabindex", "aria-label"];
|
|
10956
|
+
const _hoisted_4 = { class: "ina-single-file-upload__icon-wrapper ina-single-file-upload__icon-wrapper--default" };
|
|
10957
|
+
const _hoisted_5 = { class: "ina-single-file-upload__content" };
|
|
10958
|
+
const _hoisted_6 = { class: "ina-single-file-upload__title" };
|
|
10959
|
+
const _hoisted_7 = { class: "ina-single-file-upload__description" };
|
|
10960
|
+
const _hoisted_8 = { class: "ina-single-file-upload__icon-wrapper ina-single-file-upload__icon-wrapper--default" };
|
|
10961
|
+
const _hoisted_9 = { class: "ina-single-file-upload__progress" };
|
|
10962
|
+
const _hoisted_10 = { class: "ina-single-file-upload__progress-bar" };
|
|
10963
|
+
const _hoisted_11 = { class: "ina-single-file-upload__progress-text" };
|
|
10964
|
+
const _hoisted_12 = { class: "ina-single-file-upload__icon-wrapper ina-single-file-upload__icon-wrapper--file" };
|
|
10965
|
+
const _hoisted_13 = { class: "ina-single-file-upload__content" };
|
|
10966
|
+
const _hoisted_14 = { class: "ina-single-file-upload__title" };
|
|
10967
|
+
const _hoisted_15 = { class: "ina-single-file-upload__description" };
|
|
11012
10968
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
11013
10969
|
__name: "SingleFileUpload",
|
|
11014
10970
|
props: {
|
|
@@ -11019,7 +10975,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
11019
10975
|
allowedExtensions: {},
|
|
11020
10976
|
validateMagicNumber: { type: Boolean, default: true },
|
|
11021
10977
|
disabled: { type: Boolean, default: false },
|
|
11022
|
-
className: { default: "" },
|
|
11023
10978
|
progress: {},
|
|
11024
10979
|
status: {}
|
|
11025
10980
|
},
|
|
@@ -11274,9 +11229,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
11274
11229
|
emit("change", droppedFile, null);
|
|
11275
11230
|
};
|
|
11276
11231
|
return (_ctx, _cache) => {
|
|
11277
|
-
return openBlock(), createElementBlock("div",
|
|
11278
|
-
class: normalizeClass(["ina-single-file-upload", props.className])
|
|
11279
|
-
}, [
|
|
11232
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
11280
11233
|
createElementVNode("input", mergeProps(filteredAttrs.value, {
|
|
11281
11234
|
id: inputId.value,
|
|
11282
11235
|
ref_key: "fileInputRef",
|
|
@@ -11286,7 +11239,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
11286
11239
|
disabled: props.disabled,
|
|
11287
11240
|
class: "ina-single-file-upload__input",
|
|
11288
11241
|
onChange: handleFileChange
|
|
11289
|
-
}), null, 16,
|
|
11242
|
+
}), null, 16, _hoisted_2),
|
|
11290
11243
|
createElementVNode("div", {
|
|
11291
11244
|
class: normalizeClass(containerClasses.value),
|
|
11292
11245
|
role: "button",
|
|
@@ -11300,35 +11253,35 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
11300
11253
|
onDrop: handleDrop
|
|
11301
11254
|
}, [
|
|
11302
11255
|
!file.value && status.value === "idle" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
11303
|
-
createElementVNode("div",
|
|
11256
|
+
createElementVNode("div", _hoisted_4, [
|
|
11304
11257
|
createVNode(unref(IconUpload), { size: 24 })
|
|
11305
11258
|
]),
|
|
11306
|
-
createElementVNode("div",
|
|
11307
|
-
createElementVNode("div",
|
|
11308
|
-
createElementVNode("div",
|
|
11259
|
+
createElementVNode("div", _hoisted_5, [
|
|
11260
|
+
createElementVNode("div", _hoisted_6, toDisplayString(props.title), 1),
|
|
11261
|
+
createElementVNode("div", _hoisted_7, toDisplayString(props.description), 1)
|
|
11309
11262
|
])
|
|
11310
11263
|
], 64)) : createCommentVNode("", true),
|
|
11311
11264
|
!file.value && status.value === "uploading" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
11312
|
-
createElementVNode("div",
|
|
11265
|
+
createElementVNode("div", _hoisted_8, [
|
|
11313
11266
|
createVNode(unref(IconUpload), { size: 24 })
|
|
11314
11267
|
]),
|
|
11315
|
-
createElementVNode("div",
|
|
11316
|
-
createElementVNode("div",
|
|
11268
|
+
createElementVNode("div", _hoisted_9, [
|
|
11269
|
+
createElementVNode("div", _hoisted_10, [
|
|
11317
11270
|
createElementVNode("div", {
|
|
11318
11271
|
class: "ina-single-file-upload__progress-fill",
|
|
11319
11272
|
style: normalizeStyle({ width: `${progress.value}%` })
|
|
11320
11273
|
}, null, 4)
|
|
11321
11274
|
]),
|
|
11322
|
-
createElementVNode("div",
|
|
11275
|
+
createElementVNode("div", _hoisted_11, " Uploading... " + toDisplayString(progress.value) + "% ", 1)
|
|
11323
11276
|
])
|
|
11324
11277
|
], 64)) : createCommentVNode("", true),
|
|
11325
11278
|
file.value && status.value === "success" ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
11326
|
-
createElementVNode("div",
|
|
11279
|
+
createElementVNode("div", _hoisted_12, [
|
|
11327
11280
|
(openBlock(), createBlock(resolveDynamicComponent(fileIconComponent.value), { size: 16 }))
|
|
11328
11281
|
]),
|
|
11329
|
-
createElementVNode("div",
|
|
11330
|
-
createElementVNode("div",
|
|
11331
|
-
createElementVNode("div",
|
|
11282
|
+
createElementVNode("div", _hoisted_13, [
|
|
11283
|
+
createElementVNode("div", _hoisted_14, toDisplayString(file.value.name), 1),
|
|
11284
|
+
createElementVNode("div", _hoisted_15, toDisplayString(props.description), 1)
|
|
11332
11285
|
]),
|
|
11333
11286
|
createElementVNode("button", {
|
|
11334
11287
|
type: "button",
|
|
@@ -11339,8 +11292,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
11339
11292
|
createVNode(unref(IconTrash), { size: 18 })
|
|
11340
11293
|
])
|
|
11341
11294
|
], 64)) : createCommentVNode("", true)
|
|
11342
|
-
], 42,
|
|
11343
|
-
]
|
|
11295
|
+
], 42, _hoisted_3)
|
|
11296
|
+
]);
|
|
11344
11297
|
};
|
|
11345
11298
|
}
|
|
11346
11299
|
});
|