fds-vue-core 4.8.1 → 4.10.0
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/fds-vue-core.cjs.js +554 -284
- package/dist/fds-vue-core.cjs.js.map +1 -1
- package/dist/fds-vue-core.css +1 -1
- package/dist/fds-vue-core.es.js +554 -284
- package/dist/fds-vue-core.es.js.map +1 -1
- package/package.json +1 -1
- package/src/components/FdsPopover/FdsPopover.stories.ts +91 -0
- package/src/components/FdsPopover/FdsPopover.vue +179 -0
- package/src/components/FdsPopover/types.ts +25 -0
- package/src/components/FdsSearchSelectPro/FdsSearchSelectPro.stories.ts +52 -2
- package/src/components/FdsSearchSelectPro/FdsSearchSelectPro.vue +52 -7
- package/src/components/FdsSearchSelectPro/types.ts +67 -0
- package/src/components/FdsSearchSelectPro/useSearchSelectProItems.ts +65 -3
- package/src/index.ts +4 -0
package/dist/fds-vue-core.cjs.js
CHANGED
|
@@ -540,8 +540,8 @@ const icons = {
|
|
|
540
540
|
</defs>
|
|
541
541
|
</svg>`
|
|
542
542
|
};
|
|
543
|
-
const _hoisted_1$
|
|
544
|
-
const _sfc_main$
|
|
543
|
+
const _hoisted_1$u = ["innerHTML"];
|
|
544
|
+
const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
545
545
|
__name: "FdsIcon",
|
|
546
546
|
props: {
|
|
547
547
|
name: {},
|
|
@@ -574,11 +574,11 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
|
574
574
|
return vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({
|
|
575
575
|
class: "flex items-center justify-center align-middle",
|
|
576
576
|
style: { width: pixelSize.value, height: pixelSize.value }
|
|
577
|
-
}, rootAttrs.value, { innerHTML: svgHtml.value }), null, 16, _hoisted_1$
|
|
577
|
+
}, rootAttrs.value, { innerHTML: svgHtml.value }), null, 16, _hoisted_1$u);
|
|
578
578
|
};
|
|
579
579
|
}
|
|
580
580
|
});
|
|
581
|
-
const _sfc_main$
|
|
581
|
+
const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
582
582
|
__name: "FdsButtonIcon",
|
|
583
583
|
props: {
|
|
584
584
|
icon: {},
|
|
@@ -622,12 +622,12 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
|
622
622
|
class: buttonClasses.value,
|
|
623
623
|
onClick
|
|
624
624
|
}), [
|
|
625
|
-
!__props.loading ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
625
|
+
!__props.loading ? (vue.openBlock(), vue.createBlock(_sfc_main$G, {
|
|
626
626
|
key: 0,
|
|
627
627
|
size: iconSize.value,
|
|
628
628
|
name: __props.icon,
|
|
629
629
|
"aria-hidden": "true"
|
|
630
|
-
}, null, 8, ["size", "name"])) : (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
630
|
+
}, null, 8, ["size", "name"])) : (vue.openBlock(), vue.createBlock(_sfc_main$G, {
|
|
631
631
|
key: 1,
|
|
632
632
|
size: iconSize.value,
|
|
633
633
|
name: "spinner",
|
|
@@ -638,15 +638,15 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
|
638
638
|
};
|
|
639
639
|
}
|
|
640
640
|
});
|
|
641
|
-
const _hoisted_1$
|
|
642
|
-
const _hoisted_2$
|
|
643
|
-
const _hoisted_3$
|
|
644
|
-
const _hoisted_4$
|
|
645
|
-
const _hoisted_5$
|
|
641
|
+
const _hoisted_1$t = { class: "flex items-start gap-2" };
|
|
642
|
+
const _hoisted_2$n = { class: "h-7 flex items-center" };
|
|
643
|
+
const _hoisted_3$f = { class: "leading-7" };
|
|
644
|
+
const _hoisted_4$e = { class: "relative h-7" };
|
|
645
|
+
const _hoisted_5$d = {
|
|
646
646
|
key: 1,
|
|
647
647
|
class: "fds-block-alert-slot mb-0-last-child"
|
|
648
648
|
};
|
|
649
|
-
const _sfc_main$
|
|
649
|
+
const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
650
650
|
__name: "FdsBlockAlert",
|
|
651
651
|
props: {
|
|
652
652
|
visible: { type: Boolean, default: true },
|
|
@@ -702,24 +702,24 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
702
702
|
key: 0,
|
|
703
703
|
class: vue.normalizeClass(["font-bold w-full justify-between items-start flex gap-2", { "mb-2": (isExpanded.value || !__props.collapsable) && vue.unref(hasSlot) }])
|
|
704
704
|
}, [
|
|
705
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
706
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
707
|
-
vue.createVNode(_sfc_main$
|
|
705
|
+
vue.createElementVNode("div", _hoisted_1$t, [
|
|
706
|
+
vue.createElementVNode("div", _hoisted_2$n, [
|
|
707
|
+
vue.createVNode(_sfc_main$G, {
|
|
708
708
|
name: "alert",
|
|
709
709
|
size: 24,
|
|
710
710
|
class: "fill-yellow-700"
|
|
711
711
|
})
|
|
712
712
|
]),
|
|
713
|
-
vue.createElementVNode("span", _hoisted_3$
|
|
713
|
+
vue.createElementVNode("span", _hoisted_3$f, vue.toDisplayString(__props.heading), 1)
|
|
714
714
|
]),
|
|
715
|
-
vue.createElementVNode("div", _hoisted_4$
|
|
716
|
-
__props.closeable ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
715
|
+
vue.createElementVNode("div", _hoisted_4$e, [
|
|
716
|
+
__props.closeable ? (vue.openBlock(), vue.createBlock(_sfc_main$F, vue.mergeProps({
|
|
717
717
|
key: 0,
|
|
718
718
|
icon: "cross",
|
|
719
719
|
size: 28,
|
|
720
720
|
onClick: handleClose
|
|
721
721
|
}, { "aria-label": closeLabel.value }, { class: ["fill-gray-900! hover:bg-gray-100 active:bg-gray-200"] }), null, 16)) : vue.createCommentVNode("", true),
|
|
722
|
-
__props.collapsable ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
722
|
+
__props.collapsable ? (vue.openBlock(), vue.createBlock(_sfc_main$F, vue.mergeProps({
|
|
723
723
|
key: 1,
|
|
724
724
|
icon: "arrowDown",
|
|
725
725
|
size: 28,
|
|
@@ -733,7 +733,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
733
733
|
}), null, 16, ["class"])) : vue.createCommentVNode("", true)
|
|
734
734
|
])
|
|
735
735
|
], 2)) : vue.createCommentVNode("", true),
|
|
736
|
-
isExpanded.value || !__props.collapsable ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$
|
|
736
|
+
isExpanded.value || !__props.collapsable ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$d, [
|
|
737
737
|
vue.renderSlot(_ctx.$slots, "default")
|
|
738
738
|
])) : vue.createCommentVNode("", true)
|
|
739
739
|
])
|
|
@@ -742,15 +742,15 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
742
742
|
};
|
|
743
743
|
}
|
|
744
744
|
});
|
|
745
|
-
const _hoisted_1$
|
|
746
|
-
const _hoisted_2$
|
|
745
|
+
const _hoisted_1$s = ["id"];
|
|
746
|
+
const _hoisted_2$m = {
|
|
747
747
|
key: 0,
|
|
748
748
|
class: "flex items-start justify-between gap-4 mb-4"
|
|
749
749
|
};
|
|
750
|
-
const _hoisted_3$
|
|
751
|
-
const _hoisted_4$
|
|
752
|
-
const _hoisted_5$
|
|
753
|
-
const _sfc_main$
|
|
750
|
+
const _hoisted_3$e = { class: "flex items-center gap-3" };
|
|
751
|
+
const _hoisted_4$d = { class: "flex items-start gap-3 leading-8" };
|
|
752
|
+
const _hoisted_5$c = { class: "mb-0-last-child" };
|
|
753
|
+
const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
754
754
|
__name: "FdsBlockContent",
|
|
755
755
|
props: {
|
|
756
756
|
heading: { default: void 0 },
|
|
@@ -794,24 +794,24 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
|
794
794
|
class: contentClasses.value,
|
|
795
795
|
style: borderLeftStyle.value
|
|
796
796
|
}, rootAttrs.value), [
|
|
797
|
-
__props.heading ? (vue.openBlock(), vue.createElementBlock("header", _hoisted_2$
|
|
798
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
797
|
+
__props.heading ? (vue.openBlock(), vue.createElementBlock("header", _hoisted_2$m, [
|
|
798
|
+
vue.createElementVNode("div", _hoisted_3$e, [
|
|
799
799
|
vue.createElementVNode("h3", {
|
|
800
800
|
class: vue.normalizeClass(headerClasses.value)
|
|
801
801
|
}, vue.toDisplayString(__props.heading), 3)
|
|
802
802
|
]),
|
|
803
|
-
vue.createElementVNode("div", _hoisted_4$
|
|
803
|
+
vue.createElementVNode("div", _hoisted_4$d, [
|
|
804
804
|
vue.renderSlot(_ctx.$slots, "headerInfo")
|
|
805
805
|
])
|
|
806
806
|
])) : vue.createCommentVNode("", true),
|
|
807
|
-
vue.createElementVNode("div", _hoisted_5$
|
|
807
|
+
vue.createElementVNode("div", _hoisted_5$c, [
|
|
808
808
|
vue.renderSlot(_ctx.$slots, "default")
|
|
809
809
|
])
|
|
810
|
-
], 16, _hoisted_1$
|
|
810
|
+
], 16, _hoisted_1$s);
|
|
811
811
|
};
|
|
812
812
|
}
|
|
813
813
|
});
|
|
814
|
-
const _sfc_main$
|
|
814
|
+
const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
815
815
|
__name: "FdsSticker",
|
|
816
816
|
props: {
|
|
817
817
|
variant: { default: "blue" },
|
|
@@ -859,19 +859,19 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
|
859
859
|
};
|
|
860
860
|
}
|
|
861
861
|
});
|
|
862
|
-
const _hoisted_1$
|
|
863
|
-
const _hoisted_2$
|
|
862
|
+
const _hoisted_1$r = { class: "leading-6 w-full flex justify-between gap-4" };
|
|
863
|
+
const _hoisted_2$l = {
|
|
864
864
|
key: 0,
|
|
865
865
|
class: "flex items-center mr-4"
|
|
866
866
|
};
|
|
867
|
-
const _hoisted_3$
|
|
868
|
-
const _hoisted_4$
|
|
869
|
-
const _hoisted_5$
|
|
867
|
+
const _hoisted_3$d = { class: "inline-flex items-center" };
|
|
868
|
+
const _hoisted_4$c = { class: "flex items-center gap-2" };
|
|
869
|
+
const _hoisted_5$b = {
|
|
870
870
|
key: 0,
|
|
871
871
|
class: "w-full flex mt-2"
|
|
872
872
|
};
|
|
873
|
-
const _hoisted_6$
|
|
874
|
-
const _sfc_main$
|
|
873
|
+
const _hoisted_6$8 = ["aria-hidden"];
|
|
874
|
+
const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
875
875
|
...{
|
|
876
876
|
inheritAttrs: false
|
|
877
877
|
},
|
|
@@ -942,25 +942,25 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
942
942
|
vue.createElementVNode("span", {
|
|
943
943
|
class: vue.normalizeClass(buttonRowClasses.value)
|
|
944
944
|
}, [
|
|
945
|
-
vue.createElementVNode("span", _hoisted_1$
|
|
945
|
+
vue.createElementVNode("span", _hoisted_1$r, [
|
|
946
946
|
vue.createElementVNode("span", {
|
|
947
947
|
class: vue.normalizeClass({ "inline-flex items-start": __props.preIcon })
|
|
948
948
|
}, [
|
|
949
|
-
__props.preIcon ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$
|
|
950
|
-
vue.createVNode(_sfc_main$
|
|
949
|
+
__props.preIcon ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$l, [
|
|
950
|
+
vue.createVNode(_sfc_main$G, {
|
|
951
951
|
name: __props.preIcon,
|
|
952
952
|
size: 24,
|
|
953
953
|
class: vue.normalizeClass(["fill-blue-500", { "fill-gray-500": __props.disabled }])
|
|
954
954
|
}, null, 8, ["name", "class"])
|
|
955
955
|
])) : vue.createCommentVNode("", true),
|
|
956
|
-
vue.createElementVNode("span", _hoisted_3$
|
|
956
|
+
vue.createElementVNode("span", _hoisted_3$d, [
|
|
957
957
|
vue.createElementVNode("span", {
|
|
958
958
|
class: vue.normalizeClass(["font-bold font-heading text-lg leading-md", { "text-gray-700": __props.disabled }])
|
|
959
959
|
}, vue.toDisplayString(__props.heading), 3)
|
|
960
960
|
])
|
|
961
961
|
], 2),
|
|
962
|
-
vue.createElementVNode("span", _hoisted_4$
|
|
963
|
-
__props.stickerText && __props.stickerColor ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
962
|
+
vue.createElementVNode("span", _hoisted_4$c, [
|
|
963
|
+
__props.stickerText && __props.stickerColor ? (vue.openBlock(), vue.createBlock(_sfc_main$C, {
|
|
964
964
|
key: 0,
|
|
965
965
|
variant: __props.stickerColor
|
|
966
966
|
}, {
|
|
@@ -969,7 +969,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
969
969
|
]),
|
|
970
970
|
_: 1
|
|
971
971
|
}, 8, ["variant"])) : vue.createCommentVNode("", true),
|
|
972
|
-
vue.createVNode(_sfc_main$
|
|
972
|
+
vue.createVNode(_sfc_main$G, {
|
|
973
973
|
name: "arrowDown",
|
|
974
974
|
size: 24,
|
|
975
975
|
class: vue.normalizeClass(["transition-transform duration-200 fill-blue-500 min-w-6 min-h-6", { "rotate-180": isOpen.value, "fill-gray-500": __props.disabled }])
|
|
@@ -977,7 +977,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
977
977
|
])
|
|
978
978
|
])
|
|
979
979
|
], 2),
|
|
980
|
-
vue.unref(hasExtraRowSlot) && !isOpen.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_5$
|
|
980
|
+
vue.unref(hasExtraRowSlot) && !isOpen.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_5$b, [
|
|
981
981
|
vue.renderSlot(_ctx.$slots, "extra-row")
|
|
982
982
|
])) : vue.createCommentVNode("", true)
|
|
983
983
|
], 16),
|
|
@@ -986,26 +986,26 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
986
986
|
class: "mb-0-last-child block px-4 pb-6 rounded-b-2xl bg-white"
|
|
987
987
|
}, [
|
|
988
988
|
vue.renderSlot(_ctx.$slots, "default")
|
|
989
|
-
], 8, _hoisted_6$
|
|
989
|
+
], 8, _hoisted_6$8), [
|
|
990
990
|
[vue.vShow, isOpen.value]
|
|
991
991
|
])
|
|
992
992
|
], 16);
|
|
993
993
|
};
|
|
994
994
|
}
|
|
995
995
|
});
|
|
996
|
-
const _hoisted_1$
|
|
997
|
-
const _hoisted_2$
|
|
996
|
+
const _hoisted_1$q = ["id"];
|
|
997
|
+
const _hoisted_2$k = {
|
|
998
998
|
key: 0,
|
|
999
999
|
class: "flex items-start gap-4"
|
|
1000
1000
|
};
|
|
1001
|
-
const _hoisted_3$
|
|
1002
|
-
const _hoisted_4$
|
|
1001
|
+
const _hoisted_3$c = { class: "flex-1" };
|
|
1002
|
+
const _hoisted_4$b = {
|
|
1003
1003
|
key: 0,
|
|
1004
1004
|
class: "mb-1"
|
|
1005
1005
|
};
|
|
1006
|
-
const _hoisted_5$
|
|
1007
|
-
const _hoisted_6$
|
|
1008
|
-
const _hoisted_7$
|
|
1006
|
+
const _hoisted_5$a = { class: "flex items-start justify-between gap-4" };
|
|
1007
|
+
const _hoisted_6$7 = { class: "m-0 text-base font-main font-bold tracking-wide" };
|
|
1008
|
+
const _hoisted_7$7 = { class: "flex items-start gap-3" };
|
|
1009
1009
|
const _hoisted_8$5 = {
|
|
1010
1010
|
key: 1,
|
|
1011
1011
|
class: "mb-0-last-child"
|
|
@@ -1015,10 +1015,10 @@ const _hoisted_10$3 = { class: "flex items-start justify-between gap-4" };
|
|
|
1015
1015
|
const _hoisted_11$3 = { class: "flex items-center gap-3" };
|
|
1016
1016
|
const _hoisted_12$2 = { class: "m-0 text-base font-main font-bold tracking-wide" };
|
|
1017
1017
|
const _hoisted_13$2 = { class: "flex items-start gap-3" };
|
|
1018
|
-
const _hoisted_14$
|
|
1018
|
+
const _hoisted_14$2 = { class: "mb-0-last-child" };
|
|
1019
1019
|
const smallIconSize = 24;
|
|
1020
1020
|
const largeIconSize = 48;
|
|
1021
|
-
const _sfc_main$
|
|
1021
|
+
const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
1022
1022
|
__name: "FdsBlockInfo",
|
|
1023
1023
|
props: {
|
|
1024
1024
|
heading: { default: void 0 },
|
|
@@ -1050,17 +1050,17 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
|
1050
1050
|
id: contentBlockId.value,
|
|
1051
1051
|
class: contentClasses.value
|
|
1052
1052
|
}, rootAttrs.value), [
|
|
1053
|
-
__props.iconSize === "large" && __props.icon ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
1054
|
-
vue.createVNode(_sfc_main$
|
|
1053
|
+
__props.iconSize === "large" && __props.icon ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$k, [
|
|
1054
|
+
vue.createVNode(_sfc_main$G, {
|
|
1055
1055
|
name: __props.icon,
|
|
1056
1056
|
size: largeIconSize,
|
|
1057
1057
|
class: "fill-blue-500"
|
|
1058
1058
|
}, null, 8, ["name"]),
|
|
1059
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
1060
|
-
__props.heading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$
|
|
1061
|
-
vue.createElementVNode("header", _hoisted_5$
|
|
1062
|
-
vue.createElementVNode("h3", _hoisted_6$
|
|
1063
|
-
vue.createElementVNode("div", _hoisted_7$
|
|
1059
|
+
vue.createElementVNode("div", _hoisted_3$c, [
|
|
1060
|
+
__props.heading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$b, [
|
|
1061
|
+
vue.createElementVNode("header", _hoisted_5$a, [
|
|
1062
|
+
vue.createElementVNode("h3", _hoisted_6$7, vue.toDisplayString(__props.heading), 1),
|
|
1063
|
+
vue.createElementVNode("div", _hoisted_7$7, [
|
|
1064
1064
|
vue.renderSlot(_ctx.$slots, "headerInfo")
|
|
1065
1065
|
])
|
|
1066
1066
|
])
|
|
@@ -1076,7 +1076,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
|
1076
1076
|
}, [
|
|
1077
1077
|
vue.createElementVNode("header", _hoisted_10$3, [
|
|
1078
1078
|
vue.createElementVNode("div", _hoisted_11$3, [
|
|
1079
|
-
__props.icon && __props.iconSize === "small" ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
1079
|
+
__props.icon && __props.iconSize === "small" ? (vue.openBlock(), vue.createBlock(_sfc_main$G, {
|
|
1080
1080
|
key: 0,
|
|
1081
1081
|
name: __props.icon,
|
|
1082
1082
|
size: smallIconSize,
|
|
@@ -1089,20 +1089,20 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
|
1089
1089
|
])
|
|
1090
1090
|
])
|
|
1091
1091
|
], 2)) : vue.createCommentVNode("", true),
|
|
1092
|
-
vue.createElementVNode("div", _hoisted_14$
|
|
1092
|
+
vue.createElementVNode("div", _hoisted_14$2, [
|
|
1093
1093
|
vue.renderSlot(_ctx.$slots, "default")
|
|
1094
1094
|
])
|
|
1095
1095
|
]))
|
|
1096
|
-
], 16, _hoisted_1$
|
|
1096
|
+
], 16, _hoisted_1$q);
|
|
1097
1097
|
};
|
|
1098
1098
|
}
|
|
1099
1099
|
});
|
|
1100
|
-
const _hoisted_1$
|
|
1101
|
-
const _hoisted_2$
|
|
1100
|
+
const _hoisted_1$p = { class: "mb-0-last-child" };
|
|
1101
|
+
const _hoisted_2$j = {
|
|
1102
1102
|
key: 0,
|
|
1103
1103
|
class: "flex items-end"
|
|
1104
1104
|
};
|
|
1105
|
-
const _sfc_main$
|
|
1105
|
+
const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
1106
1106
|
...{
|
|
1107
1107
|
inheritAttrs: false
|
|
1108
1108
|
},
|
|
@@ -1202,7 +1202,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
|
1202
1202
|
vue.createElementVNode("div", {
|
|
1203
1203
|
class: vue.normalizeClass(["flex w-full flex-1", contentClasses.value])
|
|
1204
1204
|
}, [
|
|
1205
|
-
__props.icon ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
1205
|
+
__props.icon ? (vue.openBlock(), vue.createBlock(_sfc_main$G, {
|
|
1206
1206
|
key: 0,
|
|
1207
1207
|
name: __props.icon,
|
|
1208
1208
|
size: 24,
|
|
@@ -1221,16 +1221,16 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
|
1221
1221
|
vue.createElementVNode("div", {
|
|
1222
1222
|
class: vue.normalizeClass(slotWrapperClasses.value)
|
|
1223
1223
|
}, [
|
|
1224
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
1224
|
+
vue.createElementVNode("div", _hoisted_1$p, [
|
|
1225
1225
|
vue.renderSlot(_ctx.$slots, "default")
|
|
1226
1226
|
]),
|
|
1227
|
-
vue.unref(hasStickerSlot) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
1227
|
+
vue.unref(hasStickerSlot) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$j, [
|
|
1228
1228
|
vue.renderSlot(_ctx.$slots, "sticker")
|
|
1229
1229
|
])) : vue.createCommentVNode("", true)
|
|
1230
1230
|
], 2)
|
|
1231
1231
|
], 2)
|
|
1232
1232
|
], 2),
|
|
1233
|
-
__props.arrow ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
1233
|
+
__props.arrow ? (vue.openBlock(), vue.createBlock(_sfc_main$G, {
|
|
1234
1234
|
key: 0,
|
|
1235
1235
|
name: "arrowRight",
|
|
1236
1236
|
size: 20,
|
|
@@ -1242,8 +1242,8 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
|
1242
1242
|
};
|
|
1243
1243
|
}
|
|
1244
1244
|
});
|
|
1245
|
-
const _hoisted_1$
|
|
1246
|
-
const _sfc_main$
|
|
1245
|
+
const _hoisted_1$o = ["aria-label"];
|
|
1246
|
+
const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
1247
1247
|
__name: "FdsSpinner",
|
|
1248
1248
|
props: {
|
|
1249
1249
|
size: { default: "48px" },
|
|
@@ -1323,14 +1323,14 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
1323
1323
|
key: 0,
|
|
1324
1324
|
class: vue.normalizeClass(__props.labelPosition === "bottom" ? "font-bold" : "")
|
|
1325
1325
|
}, vue.toDisplayString(__props.label), 3)) : vue.createCommentVNode("", true)
|
|
1326
|
-
], 16, _hoisted_1$
|
|
1326
|
+
], 16, _hoisted_1$o);
|
|
1327
1327
|
};
|
|
1328
1328
|
}
|
|
1329
1329
|
});
|
|
1330
|
-
const _hoisted_1$
|
|
1331
|
-
const _hoisted_2$
|
|
1330
|
+
const _hoisted_1$n = ["aria-disabled"];
|
|
1331
|
+
const _hoisted_2$i = { class: "pt-0.5" };
|
|
1332
1332
|
const elBase$2 = "box-border appearance-none inline-flex items-start justify-center w-fit shadow-none p-0.5 text-base select-none m-0 rounded-md text-left align-start no-underline transition-[box-shadow,border-color,background-color] duration-200 font-main font-bold text-base leading-5 tracking-normal focus-visible:outline-dashed focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-blue-500";
|
|
1333
|
-
const _sfc_main$
|
|
1333
|
+
const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
1334
1334
|
...{
|
|
1335
1335
|
inheritAttrs: false
|
|
1336
1336
|
},
|
|
@@ -1412,7 +1412,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
1412
1412
|
onClick
|
|
1413
1413
|
}), {
|
|
1414
1414
|
default: vue.withCtx(() => [
|
|
1415
|
-
__props.loading ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
1415
|
+
__props.loading ? (vue.openBlock(), vue.createBlock(_sfc_main$y, {
|
|
1416
1416
|
key: 0,
|
|
1417
1417
|
class: "mr-2",
|
|
1418
1418
|
size: "24px",
|
|
@@ -1422,25 +1422,25 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
1422
1422
|
class: vue.normalizeClass(iconOrderClasses.value),
|
|
1423
1423
|
"aria-hidden": "true"
|
|
1424
1424
|
}, [
|
|
1425
|
-
vue.createVNode(_sfc_main$
|
|
1425
|
+
vue.createVNode(_sfc_main$G, {
|
|
1426
1426
|
class: vue.normalizeClass(iconFillClass2.value),
|
|
1427
1427
|
name: __props.icon,
|
|
1428
1428
|
size: __props.iconSize
|
|
1429
1429
|
}, null, 8, ["class", "name", "size"])
|
|
1430
1430
|
], 2)) : vue.createCommentVNode("", true),
|
|
1431
|
-
vue.createElementVNode("span", _hoisted_2$
|
|
1431
|
+
vue.createElementVNode("span", _hoisted_2$i, vue.toDisplayString(__props.text), 1)
|
|
1432
1432
|
]),
|
|
1433
1433
|
_: 1
|
|
1434
1434
|
}, 16, ["type", "disabled", "data-testid", "class"]))
|
|
1435
|
-
], 10, _hoisted_1$
|
|
1435
|
+
], 10, _hoisted_1$n);
|
|
1436
1436
|
};
|
|
1437
1437
|
}
|
|
1438
1438
|
});
|
|
1439
|
-
const _hoisted_1$
|
|
1439
|
+
const _hoisted_1$m = {
|
|
1440
1440
|
key: 0,
|
|
1441
1441
|
class: "flex items-center gap-2 h-7"
|
|
1442
1442
|
};
|
|
1443
|
-
const _sfc_main$
|
|
1443
|
+
const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
1444
1444
|
__name: "FdsButtonCopy",
|
|
1445
1445
|
props: {
|
|
1446
1446
|
value: { default: "" },
|
|
@@ -1502,10 +1502,10 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
|
1502
1502
|
}
|
|
1503
1503
|
});
|
|
1504
1504
|
return (_ctx, _cache) => {
|
|
1505
|
-
return isCopied.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
1506
|
-
vue.createVNode(_sfc_main$
|
|
1505
|
+
return isCopied.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$m, [
|
|
1506
|
+
vue.createVNode(_sfc_main$G, { name: "bigSuccess" }),
|
|
1507
1507
|
vue.createElementVNode("span", null, vue.toDisplayString(props.copiedText), 1)
|
|
1508
|
-
])) : (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
1508
|
+
])) : (vue.openBlock(), vue.createBlock(_sfc_main$x, {
|
|
1509
1509
|
key: 1,
|
|
1510
1510
|
type: "button",
|
|
1511
1511
|
disabled: props.disabled,
|
|
@@ -4262,8 +4262,8 @@ function useDownload() {
|
|
|
4262
4262
|
isDownloading
|
|
4263
4263
|
};
|
|
4264
4264
|
}
|
|
4265
|
-
const _hoisted_1$
|
|
4266
|
-
const _sfc_main$
|
|
4265
|
+
const _hoisted_1$l = ["disabled", "aria-disabled"];
|
|
4266
|
+
const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
4267
4267
|
__name: "FdsButtonDownload",
|
|
4268
4268
|
props: {
|
|
4269
4269
|
loading: { type: Boolean, default: false },
|
|
@@ -4364,23 +4364,23 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
4364
4364
|
class: vue.normalizeClass(iconOrderClasses.value),
|
|
4365
4365
|
"aria-hidden": "true"
|
|
4366
4366
|
}, [
|
|
4367
|
-
vue.createVNode(_sfc_main$
|
|
4367
|
+
vue.createVNode(_sfc_main$G, {
|
|
4368
4368
|
class: vue.normalizeClass(iconFillClass2.value),
|
|
4369
4369
|
name: "download",
|
|
4370
4370
|
size: 24
|
|
4371
4371
|
}, null, 8, ["class"])
|
|
4372
4372
|
], 2),
|
|
4373
4373
|
vue.createTextVNode(" " + vue.toDisplayString(__props.text), 1)
|
|
4374
|
-
], 16, _hoisted_1$
|
|
4374
|
+
], 16, _hoisted_1$l);
|
|
4375
4375
|
};
|
|
4376
4376
|
}
|
|
4377
4377
|
});
|
|
4378
|
-
const _hoisted_1$
|
|
4379
|
-
const _hoisted_2$
|
|
4378
|
+
const _hoisted_1$k = ["aria-disabled"];
|
|
4379
|
+
const _hoisted_2$h = { key: 2 };
|
|
4380
4380
|
const elBase$1 = "fds-button-primary box-border appearance-none inline-flex items-center justify-center select-none w-full min-h-0 min-w-12 m-0 rounded-lg text-center align-middle whitespace-nowrap no-underline shadow-[0_2px_4px_rgba(12,72,153,0.12)] transition-[box-shadow,border-color,background-color] duration-200 font-main font-bold text-base leading-5 tracking-normal focus-visible:outline-dashed focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-blue-500";
|
|
4381
4381
|
const variantClasses$1 = "bg-red-600 border border-red-700 text-white hover:bg-red-700 active:bg-red-800 active:border-red-800";
|
|
4382
4382
|
const iconFillClass$1 = "fill-white";
|
|
4383
|
-
const _sfc_main$
|
|
4383
|
+
const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
4384
4384
|
...{
|
|
4385
4385
|
inheritAttrs: false
|
|
4386
4386
|
},
|
|
@@ -4463,7 +4463,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
4463
4463
|
onClick
|
|
4464
4464
|
}), {
|
|
4465
4465
|
default: vue.withCtx(() => [
|
|
4466
|
-
__props.loading ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
4466
|
+
__props.loading ? (vue.openBlock(), vue.createBlock(_sfc_main$y, {
|
|
4467
4467
|
key: 0,
|
|
4468
4468
|
size: "24px",
|
|
4469
4469
|
color: "inherit"
|
|
@@ -4472,26 +4472,26 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
4472
4472
|
class: vue.normalizeClass(iconOrderClasses.value),
|
|
4473
4473
|
"aria-hidden": "true"
|
|
4474
4474
|
}, [
|
|
4475
|
-
vue.createVNode(_sfc_main$
|
|
4475
|
+
vue.createVNode(_sfc_main$G, {
|
|
4476
4476
|
class: vue.normalizeClass(iconFillClass$1),
|
|
4477
4477
|
name: __props.icon,
|
|
4478
4478
|
size: __props.iconSize
|
|
4479
4479
|
}, null, 8, ["name", "size"])
|
|
4480
4480
|
], 2)) : vue.createCommentVNode("", true),
|
|
4481
|
-
__props.text ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$
|
|
4481
|
+
__props.text ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$h, vue.toDisplayString(__props.text), 1)) : vue.createCommentVNode("", true)
|
|
4482
4482
|
]),
|
|
4483
4483
|
_: 1
|
|
4484
4484
|
}, 16, ["type", "disabled", "data-testid", "class"]))
|
|
4485
|
-
], 10, _hoisted_1$
|
|
4485
|
+
], 10, _hoisted_1$k);
|
|
4486
4486
|
};
|
|
4487
4487
|
}
|
|
4488
4488
|
});
|
|
4489
|
-
const _hoisted_1$
|
|
4490
|
-
const _hoisted_2$
|
|
4489
|
+
const _hoisted_1$j = ["aria-disabled"];
|
|
4490
|
+
const _hoisted_2$g = { key: 2 };
|
|
4491
4491
|
const elBase = "fds-button-secondary box-border appearance-none inline-flex items-center justify-center select-none w-full min-h-0 min-w-12 m-0 rounded-lg text-center align-middle whitespace-nowrap no-underline shadow-[0_2px_4px_rgba(12,72,153,0.12)] transition-[box-shadow,border-color,background-color] duration-200 font-main font-bold text-base leading-5 tracking-normal focus-visible:outline-dashed focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-blue-500";
|
|
4492
4492
|
const variantClasses = "bg-white border-2 border-blue-500 text-blue-600 hover:bg-blue_t-100 hover:border-blue-500 hover:text-blue-600 active:bg-blue_t-200 active:border-blue-500 active:text-blue-600";
|
|
4493
4493
|
const iconFillClass = "fill-blue-500";
|
|
4494
|
-
const _sfc_main$
|
|
4494
|
+
const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
4495
4495
|
...{
|
|
4496
4496
|
inheritAttrs: false
|
|
4497
4497
|
},
|
|
@@ -4575,7 +4575,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
4575
4575
|
onClick
|
|
4576
4576
|
}), {
|
|
4577
4577
|
default: vue.withCtx(() => [
|
|
4578
|
-
__props.loading ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
4578
|
+
__props.loading ? (vue.openBlock(), vue.createBlock(_sfc_main$y, {
|
|
4579
4579
|
key: 0,
|
|
4580
4580
|
size: "24px",
|
|
4581
4581
|
color: "inherit"
|
|
@@ -4584,17 +4584,17 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
4584
4584
|
class: vue.normalizeClass(iconOrderClasses.value),
|
|
4585
4585
|
"aria-hidden": "true"
|
|
4586
4586
|
}, [
|
|
4587
|
-
vue.createVNode(_sfc_main$
|
|
4587
|
+
vue.createVNode(_sfc_main$G, {
|
|
4588
4588
|
class: vue.normalizeClass(iconFillClass),
|
|
4589
4589
|
name: __props.icon,
|
|
4590
4590
|
size: __props.iconSize
|
|
4591
4591
|
}, null, 8, ["name", "size"])
|
|
4592
4592
|
], 2)) : vue.createCommentVNode("", true),
|
|
4593
|
-
__props.text ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$
|
|
4593
|
+
__props.text ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$g, vue.toDisplayString(__props.text), 1)) : vue.createCommentVNode("", true)
|
|
4594
4594
|
]),
|
|
4595
4595
|
_: 1
|
|
4596
4596
|
}, 16, ["type", "disabled", "data-testid", "class"]))
|
|
4597
|
-
], 10, _hoisted_1$
|
|
4597
|
+
], 10, _hoisted_1$j);
|
|
4598
4598
|
};
|
|
4599
4599
|
}
|
|
4600
4600
|
});
|
|
@@ -4662,8 +4662,8 @@ function useViewportBreakpoint() {
|
|
|
4662
4662
|
breakpoints
|
|
4663
4663
|
};
|
|
4664
4664
|
}
|
|
4665
|
-
const _hoisted_1$
|
|
4666
|
-
const _sfc_main$
|
|
4665
|
+
const _hoisted_1$i = ["title"];
|
|
4666
|
+
const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
4667
4667
|
__name: "FdsBreakpointIndicator",
|
|
4668
4668
|
props: {
|
|
4669
4669
|
popoverClass: {}
|
|
@@ -4700,7 +4700,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
4700
4700
|
class: "px-2 py-1 rounded text-xs bg-white bg-opacity-20 text-black hover:bg-opacity-30 cursor-pointer",
|
|
4701
4701
|
title: `${vue.unref(windowWidth)}px`,
|
|
4702
4702
|
onClick: toggleBreakpointList
|
|
4703
|
-
}, vue.toDisplayString(vue.unref(currentBreakpoint)), 9, _hoisted_1$
|
|
4703
|
+
}, vue.toDisplayString(vue.unref(currentBreakpoint)), 9, _hoisted_1$i),
|
|
4704
4704
|
showBreakpointList.value ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
4705
4705
|
key: 0,
|
|
4706
4706
|
class: vue.normalizeClass(["absolute bottom-full left-0 mb-2 rounded-lg shadow-lg p-2 text-xs font-mono whitespace-nowrap z-10", __props.popoverClass])
|
|
@@ -4908,9 +4908,9 @@ function useModalDragResize(options) {
|
|
|
4908
4908
|
shouldBlockBackdropClick
|
|
4909
4909
|
};
|
|
4910
4910
|
}
|
|
4911
|
-
const _hoisted_1$
|
|
4912
|
-
const _hoisted_2$
|
|
4913
|
-
const _sfc_main$
|
|
4911
|
+
const _hoisted_1$h = { class: "flex justify-between mb-4" };
|
|
4912
|
+
const _hoisted_2$f = { class: "mb-0-last-child" };
|
|
4913
|
+
const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
4914
4914
|
__name: "FdsModal",
|
|
4915
4915
|
props: {
|
|
4916
4916
|
open: { type: Boolean, default: false },
|
|
@@ -5140,12 +5140,12 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
5140
5140
|
vue.createElementVNode("div", {
|
|
5141
5141
|
class: vue.normalizeClass(__props.resizable ? "overflow-auto flex-1 min-h-0" : "")
|
|
5142
5142
|
}, [
|
|
5143
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
5143
|
+
vue.createElementVNode("div", _hoisted_1$h, [
|
|
5144
5144
|
vue.createElementVNode("h3", {
|
|
5145
5145
|
tabindex: "-1",
|
|
5146
5146
|
class: vue.normalizeClass(headerTitleClasses.value)
|
|
5147
5147
|
}, [
|
|
5148
|
-
iconName.value ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
5148
|
+
iconName.value ? (vue.openBlock(), vue.createBlock(_sfc_main$G, {
|
|
5149
5149
|
key: 0,
|
|
5150
5150
|
name: iconName.value,
|
|
5151
5151
|
size: 24,
|
|
@@ -5153,14 +5153,14 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
5153
5153
|
}, null, 8, ["name", "class"])) : vue.createCommentVNode("", true),
|
|
5154
5154
|
vue.createTextVNode(" " + vue.toDisplayString(__props.heading), 1)
|
|
5155
5155
|
], 2),
|
|
5156
|
-
!__props.strict ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
5156
|
+
!__props.strict ? (vue.openBlock(), vue.createBlock(_sfc_main$F, vue.mergeProps({
|
|
5157
5157
|
key: 0,
|
|
5158
5158
|
icon: "cross",
|
|
5159
5159
|
size: 28,
|
|
5160
5160
|
onClick: _cache[0] || (_cache[0] = ($event) => handleClose())
|
|
5161
5161
|
}, { "aria-label": closeLabel.value }, { class: "ml-4" }), null, 16)) : vue.createCommentVNode("", true)
|
|
5162
5162
|
]),
|
|
5163
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
5163
|
+
vue.createElementVNode("div", _hoisted_2$f, [
|
|
5164
5164
|
vue.renderSlot(_ctx.$slots, "default")
|
|
5165
5165
|
]),
|
|
5166
5166
|
vue.unref(hasFooterSlot) ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -8415,14 +8415,14 @@ try {
|
|
|
8415
8415
|
globalThis.IMask = IMask;
|
|
8416
8416
|
} catch {
|
|
8417
8417
|
}
|
|
8418
|
-
const _hoisted_1$
|
|
8419
|
-
const _hoisted_2$
|
|
8420
|
-
const _hoisted_3$
|
|
8421
|
-
const _hoisted_4$
|
|
8418
|
+
const _hoisted_1$g = ["for"];
|
|
8419
|
+
const _hoisted_2$e = { class: "relative" };
|
|
8420
|
+
const _hoisted_3$b = ["type", "required", "value", "disabled", "tabindex", "aria-invalid", "aria-label", "autocomplete", "pattern", "searchIcon"];
|
|
8421
|
+
const _hoisted_4$a = {
|
|
8422
8422
|
key: 0,
|
|
8423
8423
|
class: "text-red-600 font-bold mt-1"
|
|
8424
8424
|
};
|
|
8425
|
-
const _sfc_main$
|
|
8425
|
+
const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
8426
8426
|
...{
|
|
8427
8427
|
inheritAttrs: false
|
|
8428
8428
|
},
|
|
@@ -8670,7 +8670,7 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
|
8670
8670
|
key: 0,
|
|
8671
8671
|
for: inputId.value,
|
|
8672
8672
|
class: ["block font-bold text-gray-900 cursor-pointer", { "mb-0": props.meta, "mb-1": !props.meta }]
|
|
8673
|
-
}, labelAttrs.value), vue.toDisplayString(props.label), 17, _hoisted_1$
|
|
8673
|
+
}, labelAttrs.value), vue.toDisplayString(props.label), 17, _hoisted_1$g)) : vue.createCommentVNode("", true),
|
|
8674
8674
|
props.meta ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
8675
8675
|
key: 1,
|
|
8676
8676
|
class: vue.normalizeClass(["font-thin", { "mb-1": !props.labelLeft }])
|
|
@@ -8679,7 +8679,7 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
|
8679
8679
|
vue.createElementVNode("div", {
|
|
8680
8680
|
class: vue.normalizeClass({ "flex-1": props.labelLeft })
|
|
8681
8681
|
}, [
|
|
8682
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
8682
|
+
vue.createElementVNode("div", _hoisted_2$e, [
|
|
8683
8683
|
vue.createElementVNode("input", vue.mergeProps({
|
|
8684
8684
|
ref_key: "inputRef",
|
|
8685
8685
|
ref: inputRef,
|
|
@@ -8703,11 +8703,11 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
|
8703
8703
|
_ctx.$emit("keyup", ev);
|
|
8704
8704
|
if (ev.key === "Enter") _ctx.$emit("keyup.enter", ev);
|
|
8705
8705
|
})
|
|
8706
|
-
}), null, 16, _hoisted_3$
|
|
8706
|
+
}), null, 16, _hoisted_3$b),
|
|
8707
8707
|
vue.createElementVNode("div", {
|
|
8708
8708
|
class: vue.normalizeClass(rightIconsContainerClasses.value)
|
|
8709
8709
|
}, [
|
|
8710
|
-
showDateIcon.value ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
8710
|
+
showDateIcon.value ? (vue.openBlock(), vue.createBlock(_sfc_main$F, {
|
|
8711
8711
|
key: 0,
|
|
8712
8712
|
"aria-label": dateButtonLabel.value,
|
|
8713
8713
|
onClick: onDateIconClick,
|
|
@@ -8715,29 +8715,29 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
|
8715
8715
|
size: 28,
|
|
8716
8716
|
class: "fill-blue-500"
|
|
8717
8717
|
}, null, 8, ["aria-label"])) : vue.createCommentVNode("", true),
|
|
8718
|
-
isInvalid.value ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
8718
|
+
isInvalid.value ? (vue.openBlock(), vue.createBlock(_sfc_main$G, {
|
|
8719
8719
|
key: 1,
|
|
8720
8720
|
name: "alert",
|
|
8721
8721
|
class: "fill-red-600"
|
|
8722
8722
|
})) : vue.createCommentVNode("", true),
|
|
8723
|
-
isValid.value ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
8723
|
+
isValid.value ? (vue.openBlock(), vue.createBlock(_sfc_main$G, {
|
|
8724
8724
|
key: 2,
|
|
8725
8725
|
name: "bigSuccess"
|
|
8726
8726
|
})) : vue.createCommentVNode("", true),
|
|
8727
|
-
props.searchIcon ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
8727
|
+
props.searchIcon ? (vue.openBlock(), vue.createBlock(_sfc_main$G, {
|
|
8728
8728
|
key: 3,
|
|
8729
8729
|
name: "search",
|
|
8730
8730
|
size: 24,
|
|
8731
8731
|
class: "fill-blue-500"
|
|
8732
8732
|
})) : vue.createCommentVNode("", true),
|
|
8733
|
-
showClearButton.value ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
8733
|
+
showClearButton.value ? (vue.openBlock(), vue.createBlock(_sfc_main$F, vue.mergeProps({
|
|
8734
8734
|
key: 4,
|
|
8735
8735
|
icon: "cross"
|
|
8736
8736
|
}, { "aria-label": clearButtonLabel.value }, {
|
|
8737
8737
|
onClick: onClear,
|
|
8738
8738
|
size: 30
|
|
8739
8739
|
}), null, 16)) : vue.createCommentVNode("", true),
|
|
8740
|
-
showPasswordToggle.value ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
8740
|
+
showPasswordToggle.value ? (vue.openBlock(), vue.createBlock(_sfc_main$x, {
|
|
8741
8741
|
key: 5,
|
|
8742
8742
|
icon: showPassword.value ? "viewOff" : "viewOn",
|
|
8743
8743
|
text: showPassword.value ? passwordButtonHideLabel.value : passwordButtonShowLabel.value,
|
|
@@ -8747,12 +8747,12 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
|
8747
8747
|
])
|
|
8748
8748
|
], 2)
|
|
8749
8749
|
], 2),
|
|
8750
|
-
showInvalidMessage.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$
|
|
8750
|
+
showInvalidMessage.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$a, vue.toDisplayString(props.invalidMessage), 1)) : vue.createCommentVNode("", true)
|
|
8751
8751
|
], 2);
|
|
8752
8752
|
};
|
|
8753
8753
|
}
|
|
8754
8754
|
});
|
|
8755
|
-
const _sfc_main$
|
|
8755
|
+
const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
8756
8756
|
__name: "FdsTabs",
|
|
8757
8757
|
props: {
|
|
8758
8758
|
block: { type: Boolean, default: false },
|
|
@@ -8785,7 +8785,7 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
|
8785
8785
|
};
|
|
8786
8786
|
}
|
|
8787
8787
|
});
|
|
8788
|
-
const _sfc_main$
|
|
8788
|
+
const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
8789
8789
|
...{
|
|
8790
8790
|
inheritAttrs: false
|
|
8791
8791
|
},
|
|
@@ -8900,19 +8900,19 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
|
8900
8900
|
};
|
|
8901
8901
|
}
|
|
8902
8902
|
});
|
|
8903
|
-
const _hoisted_1$
|
|
8904
|
-
const _hoisted_2$
|
|
8903
|
+
const _hoisted_1$f = { class: "space-y-6" };
|
|
8904
|
+
const _hoisted_2$d = {
|
|
8905
8905
|
key: 0,
|
|
8906
8906
|
class: "text-sm text-gray-600"
|
|
8907
8907
|
};
|
|
8908
|
-
const _hoisted_3$
|
|
8908
|
+
const _hoisted_3$a = {
|
|
8909
8909
|
key: 1,
|
|
8910
8910
|
class: "max-h-72 overflow-auto border border-gray-200 rounded-md"
|
|
8911
8911
|
};
|
|
8912
|
-
const _hoisted_4$
|
|
8913
|
-
const _hoisted_5$
|
|
8914
|
-
const _hoisted_6$
|
|
8915
|
-
const _hoisted_7$
|
|
8912
|
+
const _hoisted_4$9 = { class: "w-full text-left text-xs border-collapse" };
|
|
8913
|
+
const _hoisted_5$9 = ["onClick"];
|
|
8914
|
+
const _hoisted_6$6 = { class: "py-1.5 px-3 font-mono break-all" };
|
|
8915
|
+
const _hoisted_7$6 = { class: "py-1.5 px-3 font-mono whitespace-pre-wrap break-all" };
|
|
8916
8916
|
const _hoisted_8$4 = { class: "mt-4 space-y-2" };
|
|
8917
8917
|
const _hoisted_9$4 = { class: "flex flex-col gap-1" };
|
|
8918
8918
|
const _hoisted_10$2 = { class: "flex flex-col gap-1" };
|
|
@@ -8928,7 +8928,7 @@ const _hoisted_13$1 = {
|
|
|
8928
8928
|
key: 1,
|
|
8929
8929
|
class: "max-h-72 overflow-auto border border-gray-200 rounded-md"
|
|
8930
8930
|
};
|
|
8931
|
-
const _hoisted_14 = { class: "w-full text-left text-xs border-collapse" };
|
|
8931
|
+
const _hoisted_14$1 = { class: "w-full text-left text-xs border-collapse" };
|
|
8932
8932
|
const _hoisted_15 = ["onClick"];
|
|
8933
8933
|
const _hoisted_16 = { class: "py-1.5 px-3 font-mono break-all" };
|
|
8934
8934
|
const _hoisted_17 = { class: "py-1.5 px-3 font-mono whitespace-pre-wrap break-all" };
|
|
@@ -8978,7 +8978,7 @@ const _hoisted_38 = {
|
|
|
8978
8978
|
class: "mt-2"
|
|
8979
8979
|
};
|
|
8980
8980
|
const _hoisted_39 = { class: "mt-4 flex justify-end gap-3" };
|
|
8981
|
-
const _sfc_main$
|
|
8981
|
+
const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
8982
8982
|
__name: "FdsDevModeStorage",
|
|
8983
8983
|
props: {
|
|
8984
8984
|
open: { type: Boolean, default: false },
|
|
@@ -9150,7 +9150,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
9150
9150
|
loadStorageEntries();
|
|
9151
9151
|
};
|
|
9152
9152
|
return (_ctx, _cache) => {
|
|
9153
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
9153
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$r, {
|
|
9154
9154
|
strict: "",
|
|
9155
9155
|
open: isOpen.value,
|
|
9156
9156
|
heading: "DevTools",
|
|
@@ -9161,31 +9161,31 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
9161
9161
|
onClose: _cache[11] || (_cache[11] = () => handleOpenChange(false))
|
|
9162
9162
|
}, {
|
|
9163
9163
|
default: vue.withCtx(() => [
|
|
9164
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
9165
|
-
vue.createVNode(_sfc_main$
|
|
9164
|
+
vue.createElementVNode("div", _hoisted_1$f, [
|
|
9165
|
+
vue.createVNode(_sfc_main$p, {
|
|
9166
9166
|
variant: "secondary",
|
|
9167
9167
|
class: "flex-wrap overflow-visible! *:w-auto!"
|
|
9168
9168
|
}, {
|
|
9169
9169
|
default: vue.withCtx(() => [
|
|
9170
|
-
vue.createVNode(_sfc_main$
|
|
9170
|
+
vue.createVNode(_sfc_main$o, {
|
|
9171
9171
|
label: "localStorage",
|
|
9172
9172
|
active: activeTab.value === "local",
|
|
9173
9173
|
as: "button",
|
|
9174
9174
|
onClick: _cache[0] || (_cache[0] = ($event) => activeTab.value = "local")
|
|
9175
9175
|
}, null, 8, ["active"]),
|
|
9176
|
-
vue.createVNode(_sfc_main$
|
|
9176
|
+
vue.createVNode(_sfc_main$o, {
|
|
9177
9177
|
label: "sessionStorage",
|
|
9178
9178
|
active: activeTab.value === "session",
|
|
9179
9179
|
as: "button",
|
|
9180
9180
|
onClick: _cache[1] || (_cache[1] = ($event) => activeTab.value = "session")
|
|
9181
9181
|
}, null, 8, ["active"]),
|
|
9182
|
-
vue.createVNode(_sfc_main$
|
|
9182
|
+
vue.createVNode(_sfc_main$o, {
|
|
9183
9183
|
label: "Cookies",
|
|
9184
9184
|
active: activeTab.value === "cookies",
|
|
9185
9185
|
as: "button",
|
|
9186
9186
|
onClick: _cache[2] || (_cache[2] = ($event) => activeTab.value = "cookies")
|
|
9187
9187
|
}, null, 8, ["active"]),
|
|
9188
|
-
vue.createVNode(_sfc_main$
|
|
9188
|
+
vue.createVNode(_sfc_main$o, {
|
|
9189
9189
|
label: "Actions",
|
|
9190
9190
|
active: activeTab.value === "actions",
|
|
9191
9191
|
as: "button",
|
|
@@ -9194,15 +9194,15 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
9194
9194
|
]),
|
|
9195
9195
|
_: 1
|
|
9196
9196
|
}),
|
|
9197
|
-
activeTab.value === "local" ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
9197
|
+
activeTab.value === "local" ? (vue.openBlock(), vue.createBlock(_sfc_main$A, {
|
|
9198
9198
|
key: 0,
|
|
9199
9199
|
heading: "localStorage",
|
|
9200
9200
|
icon: "information",
|
|
9201
9201
|
iconSize: "small"
|
|
9202
9202
|
}, {
|
|
9203
9203
|
default: vue.withCtx(() => [
|
|
9204
|
-
!localStorageEntries.value.length ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
9205
|
-
vue.createElementVNode("table", _hoisted_4$
|
|
9204
|
+
!localStorageEntries.value.length ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$d, "Inga värden i localStorage.")) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$a, [
|
|
9205
|
+
vue.createElementVNode("table", _hoisted_4$9, [
|
|
9206
9206
|
_cache[12] || (_cache[12] = vue.createElementVNode("thead", { class: "bg-gray-50" }, [
|
|
9207
9207
|
vue.createElementVNode("tr", null, [
|
|
9208
9208
|
vue.createElementVNode("th", { class: "py-2 px-3 font-semibold" }, "Nyckel"),
|
|
@@ -9216,9 +9216,9 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
9216
9216
|
class: "border-t border-gray-200 align-top cursor-pointer hover:bg-gray-50",
|
|
9217
9217
|
onClick: ($event) => selectLocalEntry(entry)
|
|
9218
9218
|
}, [
|
|
9219
|
-
vue.createElementVNode("td", _hoisted_6$
|
|
9220
|
-
vue.createElementVNode("td", _hoisted_7$
|
|
9221
|
-
], 8, _hoisted_5$
|
|
9219
|
+
vue.createElementVNode("td", _hoisted_6$6, vue.toDisplayString(entry.key), 1),
|
|
9220
|
+
vue.createElementVNode("td", _hoisted_7$6, vue.toDisplayString(entry.value), 1)
|
|
9221
|
+
], 8, _hoisted_5$9);
|
|
9222
9222
|
}), 128))
|
|
9223
9223
|
])
|
|
9224
9224
|
])
|
|
@@ -9248,12 +9248,12 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
9248
9248
|
])
|
|
9249
9249
|
]),
|
|
9250
9250
|
localEditKey.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_11$2, [
|
|
9251
|
-
vue.createVNode(_sfc_main$
|
|
9251
|
+
vue.createVNode(_sfc_main$t, {
|
|
9252
9252
|
text: "Ta bort",
|
|
9253
9253
|
size: "sm",
|
|
9254
9254
|
onClick: deleteLocalEntry
|
|
9255
9255
|
}),
|
|
9256
|
-
vue.createVNode(_sfc_main$
|
|
9256
|
+
vue.createVNode(_sfc_main$u, {
|
|
9257
9257
|
text: "Spara",
|
|
9258
9258
|
size: "sm",
|
|
9259
9259
|
onClick: saveLocalEntry
|
|
@@ -9262,7 +9262,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
9262
9262
|
])
|
|
9263
9263
|
]),
|
|
9264
9264
|
_: 1
|
|
9265
|
-
})) : activeTab.value === "session" ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
9265
|
+
})) : activeTab.value === "session" ? (vue.openBlock(), vue.createBlock(_sfc_main$A, {
|
|
9266
9266
|
key: 1,
|
|
9267
9267
|
heading: "sessionStorage",
|
|
9268
9268
|
icon: "information",
|
|
@@ -9270,7 +9270,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
9270
9270
|
}, {
|
|
9271
9271
|
default: vue.withCtx(() => [
|
|
9272
9272
|
!sessionStorageEntries.value.length ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_12$1, "Inga värden i sessionStorage.")) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_13$1, [
|
|
9273
|
-
vue.createElementVNode("table", _hoisted_14, [
|
|
9273
|
+
vue.createElementVNode("table", _hoisted_14$1, [
|
|
9274
9274
|
_cache[15] || (_cache[15] = vue.createElementVNode("thead", { class: "bg-gray-50" }, [
|
|
9275
9275
|
vue.createElementVNode("tr", null, [
|
|
9276
9276
|
vue.createElementVNode("th", { class: "py-2 px-3 font-semibold" }, "Nyckel"),
|
|
@@ -9316,12 +9316,12 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
9316
9316
|
])
|
|
9317
9317
|
]),
|
|
9318
9318
|
sessionEditKey.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_21, [
|
|
9319
|
-
vue.createVNode(_sfc_main$
|
|
9319
|
+
vue.createVNode(_sfc_main$t, {
|
|
9320
9320
|
text: "Ta bort",
|
|
9321
9321
|
size: "sm",
|
|
9322
9322
|
onClick: deleteSessionEntry
|
|
9323
9323
|
}),
|
|
9324
|
-
vue.createVNode(_sfc_main$
|
|
9324
|
+
vue.createVNode(_sfc_main$u, {
|
|
9325
9325
|
text: "Spara",
|
|
9326
9326
|
size: "sm",
|
|
9327
9327
|
onClick: saveSessionEntry
|
|
@@ -9330,7 +9330,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
9330
9330
|
])
|
|
9331
9331
|
]),
|
|
9332
9332
|
_: 1
|
|
9333
|
-
})) : activeTab.value === "cookies" ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
9333
|
+
})) : activeTab.value === "cookies" ? (vue.openBlock(), vue.createBlock(_sfc_main$A, {
|
|
9334
9334
|
key: 2,
|
|
9335
9335
|
heading: "Cookies",
|
|
9336
9336
|
icon: "information",
|
|
@@ -9384,12 +9384,12 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
9384
9384
|
])
|
|
9385
9385
|
]),
|
|
9386
9386
|
cookieEditKey.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_31, [
|
|
9387
|
-
vue.createVNode(_sfc_main$
|
|
9387
|
+
vue.createVNode(_sfc_main$t, {
|
|
9388
9388
|
text: "Ta bort",
|
|
9389
9389
|
size: "sm",
|
|
9390
9390
|
onClick: deleteCookieEntry
|
|
9391
9391
|
}),
|
|
9392
|
-
vue.createVNode(_sfc_main$
|
|
9392
|
+
vue.createVNode(_sfc_main$u, {
|
|
9393
9393
|
text: "Spara",
|
|
9394
9394
|
size: "sm",
|
|
9395
9395
|
onClick: saveCookieEntry
|
|
@@ -9398,7 +9398,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
9398
9398
|
])
|
|
9399
9399
|
]),
|
|
9400
9400
|
_: 1
|
|
9401
|
-
})) : activeTab.value === "actions" ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
9401
|
+
})) : activeTab.value === "actions" ? (vue.openBlock(), vue.createBlock(_sfc_main$A, {
|
|
9402
9402
|
key: 3,
|
|
9403
9403
|
heading: "Actions",
|
|
9404
9404
|
icon: "information",
|
|
@@ -9416,14 +9416,14 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
9416
9416
|
vue.createElementVNode("div", _hoisted_36, vue.toDisplayString(action.label), 1),
|
|
9417
9417
|
action.description ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_37, vue.toDisplayString(action.description), 1)) : vue.createCommentVNode("", true)
|
|
9418
9418
|
]),
|
|
9419
|
-
vue.createVNode(_sfc_main$
|
|
9419
|
+
vue.createVNode(_sfc_main$t, {
|
|
9420
9420
|
text: action.label,
|
|
9421
9421
|
size: "sm",
|
|
9422
9422
|
onClick: ($event) => runAction(index, action)
|
|
9423
9423
|
}, null, 8, ["text", "onClick"])
|
|
9424
9424
|
]),
|
|
9425
9425
|
action.input ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_38, [
|
|
9426
|
-
vue.createVNode(_sfc_main$
|
|
9426
|
+
vue.createVNode(_sfc_main$q, {
|
|
9427
9427
|
type: action.input.type ?? "text",
|
|
9428
9428
|
modelValue: getActionInputValue(index, action.input.defaultValue),
|
|
9429
9429
|
placeholder: action.input.placeholder,
|
|
@@ -9435,7 +9435,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
9435
9435
|
]))
|
|
9436
9436
|
]),
|
|
9437
9437
|
_: 1
|
|
9438
|
-
})) : (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
9438
|
+
})) : (vue.openBlock(), vue.createBlock(_sfc_main$A, {
|
|
9439
9439
|
key: 4,
|
|
9440
9440
|
heading: "Placeholder",
|
|
9441
9441
|
icon: "information",
|
|
@@ -9448,11 +9448,11 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
9448
9448
|
_: 1
|
|
9449
9449
|
})),
|
|
9450
9450
|
vue.createElementVNode("div", _hoisted_39, [
|
|
9451
|
-
vue.createVNode(_sfc_main$
|
|
9451
|
+
vue.createVNode(_sfc_main$t, {
|
|
9452
9452
|
text: "Uppdatera",
|
|
9453
9453
|
onClick: refreshStorageEntries
|
|
9454
9454
|
}),
|
|
9455
|
-
vue.createVNode(_sfc_main$
|
|
9455
|
+
vue.createVNode(_sfc_main$u, {
|
|
9456
9456
|
text: "Stäng",
|
|
9457
9457
|
onClick: _cache[10] || (_cache[10] = ($event) => handleOpenChange(false))
|
|
9458
9458
|
})
|
|
@@ -9464,9 +9464,9 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
9464
9464
|
};
|
|
9465
9465
|
}
|
|
9466
9466
|
});
|
|
9467
|
-
const _hoisted_1$
|
|
9468
|
-
const _hoisted_2$
|
|
9469
|
-
const _sfc_main$
|
|
9467
|
+
const _hoisted_1$e = { class: "flex items-center gap-1" };
|
|
9468
|
+
const _hoisted_2$c = { class: "flex items-center gap-1" };
|
|
9469
|
+
const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
9470
9470
|
__name: "FdsDevMode",
|
|
9471
9471
|
props: {
|
|
9472
9472
|
environment: { default: null },
|
|
@@ -9527,23 +9527,23 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
|
9527
9527
|
key: 0,
|
|
9528
9528
|
class: vue.normalizeClass(["fixed bottom-0 right-0 sm:right-12 font-bold m-3 sm:m-6 px-3 py-2 sm:py-1 rounded-xl z-50 flex flex-col sm:flex-row items-center gap-2 sm:gap-1", envBannerClasses.value])
|
|
9529
9529
|
}, [
|
|
9530
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
9531
|
-
vue.createVNode(_sfc_main$
|
|
9530
|
+
vue.createElementVNode("div", _hoisted_1$e, [
|
|
9531
|
+
vue.createVNode(_sfc_main$s, { "popover-class": envBannerClasses.value }, null, 8, ["popover-class"]),
|
|
9532
9532
|
vue.createElementVNode("span", null, vue.toDisplayString(environmentText.value), 1)
|
|
9533
9533
|
]),
|
|
9534
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
9534
|
+
vue.createElementVNode("div", _hoisted_2$c, [
|
|
9535
9535
|
vue.createElementVNode("button", {
|
|
9536
9536
|
onClick: _cache[0] || (_cache[0] = //@ts-ignore
|
|
9537
9537
|
(...args) => vue.unref(toggleDevMode) && vue.unref(toggleDevMode)(...args)),
|
|
9538
9538
|
class: "py-1 px-2 rounded text-xs font-bold bg-white bg-opacity-20 text-black hover:bg-opacity-30 min-w-[120px] cursor-pointer"
|
|
9539
9539
|
}, vue.toDisplayString(vue.unref(isDevMode) ? "Dev mode: ON" : "Dev mode: OFF"), 1),
|
|
9540
|
-
vue.createVNode(_sfc_main$
|
|
9540
|
+
vue.createVNode(_sfc_main$F, {
|
|
9541
9541
|
icon: "settings",
|
|
9542
9542
|
size: 24,
|
|
9543
9543
|
class: vue.normalizeClass(envBannerFillColor.value),
|
|
9544
9544
|
onClick: openStorageModal
|
|
9545
9545
|
}, null, 8, ["class"]),
|
|
9546
|
-
vue.createVNode(_sfc_main$
|
|
9546
|
+
vue.createVNode(_sfc_main$F, {
|
|
9547
9547
|
onClick: handleEnvBanner,
|
|
9548
9548
|
icon: "cross",
|
|
9549
9549
|
size: 24,
|
|
@@ -9551,7 +9551,7 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
|
9551
9551
|
}, null, 8, ["class"])
|
|
9552
9552
|
])
|
|
9553
9553
|
], 2)) : vue.createCommentVNode("", true),
|
|
9554
|
-
vue.createVNode(_sfc_main$
|
|
9554
|
+
vue.createVNode(_sfc_main$n, {
|
|
9555
9555
|
open: isStorageModalOpen.value,
|
|
9556
9556
|
"onUpdate:open": _cache[1] || (_cache[1] = ($event) => isStorageModalOpen.value = $event),
|
|
9557
9557
|
customActions: __props.customActions
|
|
@@ -9560,12 +9560,12 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
|
9560
9560
|
};
|
|
9561
9561
|
}
|
|
9562
9562
|
});
|
|
9563
|
-
const _hoisted_1$
|
|
9564
|
-
const _hoisted_2$
|
|
9565
|
-
const _hoisted_3$
|
|
9566
|
-
const _hoisted_4$
|
|
9567
|
-
const _hoisted_5$
|
|
9568
|
-
const _sfc_main$
|
|
9563
|
+
const _hoisted_1$d = ["id"];
|
|
9564
|
+
const _hoisted_2$b = { class: "flex items-center justify-start gap-1 w-[100px]" };
|
|
9565
|
+
const _hoisted_3$9 = { class: "flex items-center justify-center w-auto gap-2 order-0 sm:order-0" };
|
|
9566
|
+
const _hoisted_4$8 = { class: "whitespace-nowrap" };
|
|
9567
|
+
const _hoisted_5$8 = { class: "flex items-center justify-end gap-1 order-2 sm:order-0 w-[100px]" };
|
|
9568
|
+
const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
9569
9569
|
__name: "FdsPagination",
|
|
9570
9570
|
props: {
|
|
9571
9571
|
current: {},
|
|
@@ -9662,12 +9662,12 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
|
9662
9662
|
class: "my-6 flex items-between justify-between gap-2",
|
|
9663
9663
|
id: inputId.value
|
|
9664
9664
|
}, rootAttrs.value), [
|
|
9665
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
9666
|
-
__props.loading && loadingIndicator.value === "start" ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
9665
|
+
vue.createElementVNode("div", _hoisted_2$b, [
|
|
9666
|
+
__props.loading && loadingIndicator.value === "start" ? (vue.openBlock(), vue.createBlock(_sfc_main$y, {
|
|
9667
9667
|
key: 0,
|
|
9668
9668
|
size: "32px",
|
|
9669
9669
|
color: "blue"
|
|
9670
|
-
})) : (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
9670
|
+
})) : (vue.openBlock(), vue.createBlock(_sfc_main$F, vue.mergeProps({ key: 1 }, { "aria-disabled": __props.current === 1 }, {
|
|
9671
9671
|
"aria-label": firstPageLabel.value,
|
|
9672
9672
|
icon: "first",
|
|
9673
9673
|
size: 28,
|
|
@@ -9675,11 +9675,11 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
|
9675
9675
|
class: [{ "hidden!": __props.current === 1 }, "w-8 h-8 sm:w-12 sm:h-12"],
|
|
9676
9676
|
onClick: _cache[0] || (_cache[0] = ($event) => handlePagination("start"))
|
|
9677
9677
|
}), null, 16, ["aria-label", "disabled", "class"])),
|
|
9678
|
-
__props.loading && loadingIndicator.value === "prev" ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
9678
|
+
__props.loading && loadingIndicator.value === "prev" ? (vue.openBlock(), vue.createBlock(_sfc_main$y, {
|
|
9679
9679
|
key: 2,
|
|
9680
9680
|
size: "24px",
|
|
9681
9681
|
color: "blue"
|
|
9682
|
-
})) : (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
9682
|
+
})) : (vue.openBlock(), vue.createBlock(_sfc_main$F, vue.mergeProps({ key: 3 }, { "aria-disabled": __props.current === 1 }, {
|
|
9683
9683
|
"aria-label": prevPageLabel.value,
|
|
9684
9684
|
icon: "arrowLeft",
|
|
9685
9685
|
size: 28,
|
|
@@ -9688,15 +9688,15 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
|
9688
9688
|
onClick: _cache[1] || (_cache[1] = ($event) => handlePagination("prev"))
|
|
9689
9689
|
}), null, 16, ["aria-label", "disabled", "class"]))
|
|
9690
9690
|
]),
|
|
9691
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
9692
|
-
__props.loading && loadingIndicator.value === "input" ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
9691
|
+
vue.createElementVNode("div", _hoisted_3$9, [
|
|
9692
|
+
__props.loading && loadingIndicator.value === "input" ? (vue.openBlock(), vue.createBlock(_sfc_main$y, {
|
|
9693
9693
|
key: 0,
|
|
9694
9694
|
size: "24px",
|
|
9695
9695
|
color: "blue",
|
|
9696
9696
|
label: "Laddar",
|
|
9697
9697
|
"label-position": "right"
|
|
9698
9698
|
})) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
9699
|
-
vue.createVNode(_sfc_main$
|
|
9699
|
+
vue.createVNode(_sfc_main$q, {
|
|
9700
9700
|
style: { "text-align": "center" },
|
|
9701
9701
|
value: inputValue.value,
|
|
9702
9702
|
type: "text",
|
|
@@ -9706,15 +9706,15 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
|
9706
9706
|
onInput: vue.unref(handlePageChange),
|
|
9707
9707
|
class: "mb-0!"
|
|
9708
9708
|
}, null, 8, ["value", "size", "maxlength", "ariaLabel", "onInput"]),
|
|
9709
|
-
vue.createElementVNode("div", _hoisted_4$
|
|
9709
|
+
vue.createElementVNode("div", _hoisted_4$8, "/ " + vue.toDisplayString(__props.max), 1)
|
|
9710
9710
|
], 64))
|
|
9711
9711
|
]),
|
|
9712
|
-
vue.createElementVNode("div", _hoisted_5$
|
|
9713
|
-
__props.loading && loadingIndicator.value === "next" ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
9712
|
+
vue.createElementVNode("div", _hoisted_5$8, [
|
|
9713
|
+
__props.loading && loadingIndicator.value === "next" ? (vue.openBlock(), vue.createBlock(_sfc_main$y, {
|
|
9714
9714
|
key: 0,
|
|
9715
9715
|
size: "24px",
|
|
9716
9716
|
color: "blue"
|
|
9717
|
-
})) : (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
9717
|
+
})) : (vue.openBlock(), vue.createBlock(_sfc_main$F, vue.mergeProps({
|
|
9718
9718
|
key: 1,
|
|
9719
9719
|
"aria-label": nextPageLabel.value,
|
|
9720
9720
|
icon: "arrowRight",
|
|
@@ -9724,11 +9724,11 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
|
9724
9724
|
class: [{ "hidden!": __props.current === __props.max }, "w-8 h-8 sm:w-12 sm:h-12"],
|
|
9725
9725
|
onClick: _cache[2] || (_cache[2] = ($event) => handlePagination("next"))
|
|
9726
9726
|
}), null, 16, ["aria-label", "disabled", "class"])),
|
|
9727
|
-
__props.loading && loadingIndicator.value === "end" ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
9727
|
+
__props.loading && loadingIndicator.value === "end" ? (vue.openBlock(), vue.createBlock(_sfc_main$y, {
|
|
9728
9728
|
key: 2,
|
|
9729
9729
|
size: "24px",
|
|
9730
9730
|
color: "blue"
|
|
9731
|
-
})) : (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
9731
|
+
})) : (vue.openBlock(), vue.createBlock(_sfc_main$F, vue.mergeProps({
|
|
9732
9732
|
key: 3,
|
|
9733
9733
|
"aria-label": lastPageLabel.value,
|
|
9734
9734
|
icon: "last",
|
|
@@ -9739,7 +9739,189 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
|
9739
9739
|
onClick: _cache[3] || (_cache[3] = ($event) => handlePagination("end"))
|
|
9740
9740
|
}), null, 16, ["aria-label", "disabled", "class"]))
|
|
9741
9741
|
])
|
|
9742
|
-
], 16, _hoisted_1$
|
|
9742
|
+
], 16, _hoisted_1$d);
|
|
9743
|
+
};
|
|
9744
|
+
}
|
|
9745
|
+
});
|
|
9746
|
+
const _hoisted_1$c = { class: "inline-flex" };
|
|
9747
|
+
const _hoisted_2$a = ["onKeydown"];
|
|
9748
|
+
const _hoisted_3$8 = ["aria-label"];
|
|
9749
|
+
const _hoisted_4$7 = { class: "mb-1 flex items-start justify-between gap-2" };
|
|
9750
|
+
const _hoisted_5$7 = { class: "mb-0! min-w-0 whitespace-normal balance-text pr-2" };
|
|
9751
|
+
const _hoisted_6$5 = {
|
|
9752
|
+
key: 1,
|
|
9753
|
+
class: "flex items-center gap-2"
|
|
9754
|
+
};
|
|
9755
|
+
const _hoisted_7$5 = { class: "mb-0! min-w-0 grow whitespace-normal wrap-break-word" };
|
|
9756
|
+
const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
9757
|
+
__name: "FdsPopover",
|
|
9758
|
+
props: {
|
|
9759
|
+
open: { type: Boolean, default: false },
|
|
9760
|
+
label: { default: "" },
|
|
9761
|
+
body: { default: "" },
|
|
9762
|
+
position: { default: "bottom" },
|
|
9763
|
+
offset: { default: 8 },
|
|
9764
|
+
offsetX: { default: 0 },
|
|
9765
|
+
offsetY: { default: 0 },
|
|
9766
|
+
closeAriaLabel: { default: "Close popover" },
|
|
9767
|
+
dataTestid: { default: void 0 },
|
|
9768
|
+
onClose: {}
|
|
9769
|
+
},
|
|
9770
|
+
emits: ["close", "update:open"],
|
|
9771
|
+
setup(__props, { emit: __emit }) {
|
|
9772
|
+
const props = __props;
|
|
9773
|
+
const emit = __emit;
|
|
9774
|
+
const popoverRef = vue.ref(null);
|
|
9775
|
+
const isOpen = vue.ref(props.open);
|
|
9776
|
+
const popoverId = `fds-popover-${Math.random().toString(36).slice(2, 11)}`;
|
|
9777
|
+
const anchorName = `--${popoverId}-anchor`;
|
|
9778
|
+
const triggerClasses = vue.computed(() => ["inline-flex"]);
|
|
9779
|
+
const triggerStyle = vue.computed(() => ({
|
|
9780
|
+
anchorName
|
|
9781
|
+
}));
|
|
9782
|
+
const areaByPosition = {
|
|
9783
|
+
top: "[position-area:top]",
|
|
9784
|
+
right: "[position-area:right]",
|
|
9785
|
+
bottom: "[position-area:bottom]",
|
|
9786
|
+
left: "[position-area:left]"
|
|
9787
|
+
};
|
|
9788
|
+
const popoverClasses = vue.computed(() => [
|
|
9789
|
+
"m-0 border-none p-4 rounded-md shadow-[0px_4px_8px_0px_rgba(12,72,153,0.12)] bg-white",
|
|
9790
|
+
"min-w-[200px] max-w-[320px]",
|
|
9791
|
+
"[position-try-fallbacks:flip-block,flip-inline]",
|
|
9792
|
+
"[inset:auto]",
|
|
9793
|
+
areaByPosition[props.position]
|
|
9794
|
+
]);
|
|
9795
|
+
const popoverStyle = vue.computed(() => {
|
|
9796
|
+
const styles = {};
|
|
9797
|
+
styles.positionAnchor = anchorName;
|
|
9798
|
+
const mainOffset = `${props.offset}px`;
|
|
9799
|
+
if (props.position === "bottom") styles.marginTop = mainOffset;
|
|
9800
|
+
if (props.position === "top") styles.marginBottom = mainOffset;
|
|
9801
|
+
if (props.position === "right") styles.marginLeft = mainOffset;
|
|
9802
|
+
if (props.position === "left") styles.marginRight = mainOffset;
|
|
9803
|
+
styles.transform = `translate(${props.offsetX}px, ${props.offsetY}px)`;
|
|
9804
|
+
return styles;
|
|
9805
|
+
});
|
|
9806
|
+
const showPopover = () => {
|
|
9807
|
+
const el = popoverRef.value;
|
|
9808
|
+
if (!el || el.matches(":popover-open")) return;
|
|
9809
|
+
el.showPopover();
|
|
9810
|
+
};
|
|
9811
|
+
const hidePopover = () => {
|
|
9812
|
+
const el = popoverRef.value;
|
|
9813
|
+
if (!el || !el.matches(":popover-open")) return;
|
|
9814
|
+
el.hidePopover();
|
|
9815
|
+
};
|
|
9816
|
+
const togglePopover = () => {
|
|
9817
|
+
if (isOpen.value) {
|
|
9818
|
+
hidePopover();
|
|
9819
|
+
return;
|
|
9820
|
+
}
|
|
9821
|
+
showPopover();
|
|
9822
|
+
};
|
|
9823
|
+
const closePopover = () => {
|
|
9824
|
+
hidePopover();
|
|
9825
|
+
};
|
|
9826
|
+
const onNativeToggle = () => {
|
|
9827
|
+
const open = !!popoverRef.value?.matches(":popover-open");
|
|
9828
|
+
if (open === isOpen.value) return;
|
|
9829
|
+
isOpen.value = open;
|
|
9830
|
+
emit("update:open", open);
|
|
9831
|
+
if (!open) {
|
|
9832
|
+
emit("close");
|
|
9833
|
+
}
|
|
9834
|
+
};
|
|
9835
|
+
vue.watch(
|
|
9836
|
+
() => props.open,
|
|
9837
|
+
(open) => {
|
|
9838
|
+
if (open === isOpen.value) return;
|
|
9839
|
+
isOpen.value = open;
|
|
9840
|
+
if (open) {
|
|
9841
|
+
showPopover();
|
|
9842
|
+
return;
|
|
9843
|
+
}
|
|
9844
|
+
hidePopover();
|
|
9845
|
+
}
|
|
9846
|
+
);
|
|
9847
|
+
vue.onMounted(() => {
|
|
9848
|
+
popoverRef.value?.addEventListener("toggle", onNativeToggle);
|
|
9849
|
+
if (isOpen.value) {
|
|
9850
|
+
showPopover();
|
|
9851
|
+
}
|
|
9852
|
+
});
|
|
9853
|
+
vue.onBeforeUnmount(() => {
|
|
9854
|
+
popoverRef.value?.removeEventListener("toggle", onNativeToggle);
|
|
9855
|
+
});
|
|
9856
|
+
const popoverAttrs = vue.computed(() => {
|
|
9857
|
+
const attrs = {};
|
|
9858
|
+
if (props.dataTestid) {
|
|
9859
|
+
attrs["data-testid"] = props.dataTestid;
|
|
9860
|
+
}
|
|
9861
|
+
return attrs;
|
|
9862
|
+
});
|
|
9863
|
+
return (_ctx, _cache) => {
|
|
9864
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$c, [
|
|
9865
|
+
vue.createElementVNode("span", {
|
|
9866
|
+
class: vue.normalizeClass(triggerClasses.value),
|
|
9867
|
+
style: vue.normalizeStyle(triggerStyle.value)
|
|
9868
|
+
}, [
|
|
9869
|
+
vue.createElementVNode("span", {
|
|
9870
|
+
class: "inline-flex",
|
|
9871
|
+
onClick: vue.withModifiers(togglePopover, ["stop"]),
|
|
9872
|
+
onKeydown: [
|
|
9873
|
+
vue.withKeys(vue.withModifiers(togglePopover, ["prevent", "stop"]), ["enter"]),
|
|
9874
|
+
vue.withKeys(vue.withModifiers(togglePopover, ["prevent", "stop"]), ["space"])
|
|
9875
|
+
]
|
|
9876
|
+
}, [
|
|
9877
|
+
vue.renderSlot(_ctx.$slots, "trigger")
|
|
9878
|
+
], 40, _hoisted_2$a)
|
|
9879
|
+
], 6),
|
|
9880
|
+
vue.createElementVNode("div", vue.mergeProps({
|
|
9881
|
+
id: popoverId,
|
|
9882
|
+
ref_key: "popoverRef",
|
|
9883
|
+
ref: popoverRef,
|
|
9884
|
+
class: popoverClasses.value,
|
|
9885
|
+
style: popoverStyle.value,
|
|
9886
|
+
role: "dialog",
|
|
9887
|
+
"aria-modal": "false",
|
|
9888
|
+
"aria-label": __props.label || "Popover"
|
|
9889
|
+
}, { ...popoverAttrs.value, popover: "auto" }), [
|
|
9890
|
+
__props.label ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
9891
|
+
vue.createElementVNode("div", _hoisted_4$7, [
|
|
9892
|
+
vue.createVNode(vue.unref(_sfc_main$1), { class: "mb-0! min-w-0 grow balance-text whitespace-normal" }, {
|
|
9893
|
+
default: vue.withCtx(() => [
|
|
9894
|
+
vue.createTextVNode(vue.toDisplayString(__props.label), 1)
|
|
9895
|
+
]),
|
|
9896
|
+
_: 1
|
|
9897
|
+
}),
|
|
9898
|
+
vue.createVNode(_sfc_main$F, {
|
|
9899
|
+
icon: "cross",
|
|
9900
|
+
size: 28,
|
|
9901
|
+
"aria-label": __props.closeAriaLabel,
|
|
9902
|
+
onClick: closePopover
|
|
9903
|
+
}, null, 8, ["aria-label"])
|
|
9904
|
+
]),
|
|
9905
|
+
vue.createElementVNode("p", _hoisted_5$7, [
|
|
9906
|
+
vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
|
9907
|
+
vue.createTextVNode(vue.toDisplayString(__props.body), 1)
|
|
9908
|
+
])
|
|
9909
|
+
])
|
|
9910
|
+
], 64)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$5, [
|
|
9911
|
+
vue.createElementVNode("p", _hoisted_7$5, [
|
|
9912
|
+
vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
|
9913
|
+
vue.createTextVNode(vue.toDisplayString(__props.body), 1)
|
|
9914
|
+
])
|
|
9915
|
+
]),
|
|
9916
|
+
vue.createVNode(_sfc_main$F, {
|
|
9917
|
+
icon: "cross",
|
|
9918
|
+
size: 28,
|
|
9919
|
+
"aria-label": __props.closeAriaLabel,
|
|
9920
|
+
onClick: closePopover
|
|
9921
|
+
}, null, 8, ["aria-label"])
|
|
9922
|
+
]))
|
|
9923
|
+
], 16, _hoisted_3$8)
|
|
9924
|
+
]);
|
|
9743
9925
|
};
|
|
9744
9926
|
}
|
|
9745
9927
|
});
|
|
@@ -10217,7 +10399,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
10217
10399
|
vue.createElementVNode("div", _hoisted_1$b, [
|
|
10218
10400
|
!singleItemName.value.length ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$9, [
|
|
10219
10401
|
vue.createElementVNode("div", _hoisted_3$7, [
|
|
10220
|
-
vue.createVNode(_sfc_main$
|
|
10402
|
+
vue.createVNode(_sfc_main$q, vue.mergeProps({
|
|
10221
10403
|
ref_key: "inputComponentRef",
|
|
10222
10404
|
ref: inputComponentRef,
|
|
10223
10405
|
label: __props.label,
|
|
@@ -10252,7 +10434,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
10252
10434
|
style: vue.normalizeStyle(listWrapperStyle.value)
|
|
10253
10435
|
}, [
|
|
10254
10436
|
__props.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$4, [
|
|
10255
|
-
vue.createVNode(_sfc_main$
|
|
10437
|
+
vue.createVNode(_sfc_main$y, {
|
|
10256
10438
|
color: "blue",
|
|
10257
10439
|
size: "48px"
|
|
10258
10440
|
})
|
|
@@ -10296,7 +10478,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
10296
10478
|
], 42, _hoisted_7$4);
|
|
10297
10479
|
}), 128))
|
|
10298
10480
|
], 32),
|
|
10299
|
-
__props.page !== void 0 && totalPages.value !== null && totalPages.value > 1 ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
10481
|
+
__props.page !== void 0 && totalPages.value !== null && totalPages.value > 1 ? (vue.openBlock(), vue.createBlock(_sfc_main$l, {
|
|
10300
10482
|
key: 2,
|
|
10301
10483
|
current: __props.page,
|
|
10302
10484
|
max: totalPages.value,
|
|
@@ -10454,7 +10636,6 @@ const useSearchSelectProItems = ({
|
|
|
10454
10636
|
});
|
|
10455
10637
|
};
|
|
10456
10638
|
const matchesSearchTerm = (item) => {
|
|
10457
|
-
if (isDividerItem(item) && searchTerm.value) return false;
|
|
10458
10639
|
if (!searchTerm.value) return true;
|
|
10459
10640
|
const searchValue = isPid.value ? searchTerm.value.replace(/\D/g, "") : searchTerm.value;
|
|
10460
10641
|
const searchLower = searchValue.toLowerCase();
|
|
@@ -10469,6 +10650,53 @@ const useSearchSelectProItems = ({
|
|
|
10469
10650
|
return valueLower.includes(searchLower) || unmaskedValue.length > 0 && unmaskedValue.includes(searchValue);
|
|
10470
10651
|
});
|
|
10471
10652
|
};
|
|
10653
|
+
const matchesDividerSearchTerm = (item) => {
|
|
10654
|
+
if (!isDividerItem(item) || !searchTerm.value) return false;
|
|
10655
|
+
const searchValue = isPid.value ? searchTerm.value.replace(/\D/g, "") : searchTerm.value;
|
|
10656
|
+
const searchLower = searchValue.toLowerCase();
|
|
10657
|
+
const dividerSearchFields = [...searchFields.value, "label", "name"];
|
|
10658
|
+
return dividerSearchFields.some((field) => {
|
|
10659
|
+
const value = item[field];
|
|
10660
|
+
if (!value) return false;
|
|
10661
|
+
return String(value).toLowerCase().includes(searchLower);
|
|
10662
|
+
});
|
|
10663
|
+
};
|
|
10664
|
+
const filterWithDividerGroups = (sourceData) => {
|
|
10665
|
+
if (!searchTerm.value) return sourceData;
|
|
10666
|
+
const matched = [];
|
|
10667
|
+
let currentDivider = null;
|
|
10668
|
+
let currentChildren = [];
|
|
10669
|
+
const flushCurrentGroup = () => {
|
|
10670
|
+
if (!currentDivider) {
|
|
10671
|
+
matched.push(...currentChildren.filter((item) => matchesSearchTerm(item)));
|
|
10672
|
+
} else {
|
|
10673
|
+
const dividerMatched = matchesDividerSearchTerm(currentDivider);
|
|
10674
|
+
const matchedChildren = currentChildren.filter((item) => matchesSearchTerm(item));
|
|
10675
|
+
if (!dividerMatched && matchedChildren.length === 0) {
|
|
10676
|
+
return;
|
|
10677
|
+
}
|
|
10678
|
+
if (dividerMatched || props.showOutOfBoundsDivider !== false) {
|
|
10679
|
+
matched.push(currentDivider);
|
|
10680
|
+
}
|
|
10681
|
+
if (dividerMatched) {
|
|
10682
|
+
matched.push(...currentChildren);
|
|
10683
|
+
} else {
|
|
10684
|
+
matched.push(...matchedChildren);
|
|
10685
|
+
}
|
|
10686
|
+
}
|
|
10687
|
+
};
|
|
10688
|
+
sourceData.forEach((item) => {
|
|
10689
|
+
if (isDividerItem(item)) {
|
|
10690
|
+
flushCurrentGroup();
|
|
10691
|
+
currentDivider = item;
|
|
10692
|
+
currentChildren = [];
|
|
10693
|
+
return;
|
|
10694
|
+
}
|
|
10695
|
+
currentChildren.push(item);
|
|
10696
|
+
});
|
|
10697
|
+
flushCurrentGroup();
|
|
10698
|
+
return matched;
|
|
10699
|
+
};
|
|
10472
10700
|
const filterAndPaginate = (onTotal) => {
|
|
10473
10701
|
if (!sourceItems.value.length) {
|
|
10474
10702
|
matchingItems.value = [];
|
|
@@ -10480,7 +10708,7 @@ const useSearchSelectProItems = ({
|
|
|
10480
10708
|
if (props.preserveOrder && sourceData.length) {
|
|
10481
10709
|
sourceData = sortResponse(sourceData);
|
|
10482
10710
|
}
|
|
10483
|
-
const matchedArray = sourceData.filter((item) => matchesSearchTerm(item));
|
|
10711
|
+
const matchedArray = hasDividerMode.value ? filterWithDividerGroups(sourceData) : sourceData.filter((item) => matchesSearchTerm(item));
|
|
10484
10712
|
matchingItems.value = matchedArray;
|
|
10485
10713
|
const shouldLimitItems = props.maxItems !== void 0 && props.maxItems > 0;
|
|
10486
10714
|
const effectiveLimit = shouldLimitItems ? visibleItemsLimit.value ?? props.maxItems : null;
|
|
@@ -10501,7 +10729,11 @@ const useSearchSelectProItems = ({
|
|
|
10501
10729
|
selectedItems.value = selectedItems.value.filter((item) => currentIds.has(getItemIdentifier(item)));
|
|
10502
10730
|
};
|
|
10503
10731
|
const hasInternalMoreItems = vue.computed(() => matchingItems.value.length > displayedItems.value.length);
|
|
10504
|
-
const shouldShowLoadMore = vue.computed(() =>
|
|
10732
|
+
const shouldShowLoadMore = vue.computed(() => {
|
|
10733
|
+
if (hasInternalMoreItems.value) return true;
|
|
10734
|
+
if (props.maxItems && props.maxItems > 0) return false;
|
|
10735
|
+
return props.showLoadMore;
|
|
10736
|
+
});
|
|
10505
10737
|
const handleInternalLoadMore = () => {
|
|
10506
10738
|
if (props.maxItems && props.maxItems > 0 && hasInternalMoreItems.value) {
|
|
10507
10739
|
visibleItemsLimit.value = (visibleItemsLimit.value ?? props.maxItems) + props.maxItems;
|
|
@@ -10536,18 +10768,19 @@ const _hoisted_5$5 = {
|
|
|
10536
10768
|
};
|
|
10537
10769
|
const _hoisted_6$3 = ["checked"];
|
|
10538
10770
|
const _hoisted_7$3 = ["id", "role", "onMouseup"];
|
|
10539
|
-
const _hoisted_8$2 = ["
|
|
10540
|
-
const _hoisted_9$2 = ["
|
|
10541
|
-
const _hoisted_10 =
|
|
10771
|
+
const _hoisted_8$2 = ["innerHTML"];
|
|
10772
|
+
const _hoisted_9$2 = ["type", "id", "name", "checked", "onChange", "onKeydown"];
|
|
10773
|
+
const _hoisted_10 = ["innerHTML"];
|
|
10774
|
+
const _hoisted_11 = {
|
|
10542
10775
|
key: 0,
|
|
10543
10776
|
class: "border-b border-blue_t-200 p-3"
|
|
10544
10777
|
};
|
|
10545
|
-
const
|
|
10546
|
-
const
|
|
10778
|
+
const _hoisted_12 = ["aria-disabled"];
|
|
10779
|
+
const _hoisted_13 = {
|
|
10547
10780
|
key: 2,
|
|
10548
10781
|
class: "block m-0 list-none p-0"
|
|
10549
10782
|
};
|
|
10550
|
-
const
|
|
10783
|
+
const _hoisted_14 = { class: "p-3" };
|
|
10551
10784
|
const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
10552
10785
|
__name: "FdsSearchSelectPro",
|
|
10553
10786
|
props: {
|
|
@@ -10564,6 +10797,10 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
|
10564
10797
|
selectedToggleLabel: { default: "Dina val" },
|
|
10565
10798
|
showLoadMore: { type: Boolean, default: false },
|
|
10566
10799
|
loadingMore: { type: Boolean, default: false },
|
|
10800
|
+
autoLoadOnScroll: { type: Boolean, default: false },
|
|
10801
|
+
autoLoadThreshold: { default: 24 },
|
|
10802
|
+
highlightDividerMatch: { type: Boolean, default: true },
|
|
10803
|
+
showOutOfBoundsDivider: { type: Boolean, default: true },
|
|
10567
10804
|
maxItems: { default: void 0 },
|
|
10568
10805
|
page: { default: void 0 },
|
|
10569
10806
|
totalPages: { default: void 0 },
|
|
@@ -10572,6 +10809,7 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
|
10572
10809
|
searchFields: { default: () => [] },
|
|
10573
10810
|
preserveOrder: { type: Boolean, default: false },
|
|
10574
10811
|
initialValue: { default: "" },
|
|
10812
|
+
displayValue: { default: "" },
|
|
10575
10813
|
disabled: { type: Boolean, default: false },
|
|
10576
10814
|
dropdownAbsolute: { type: Boolean, default: false },
|
|
10577
10815
|
labelLeft: { type: Boolean, default: false },
|
|
@@ -10697,6 +10935,9 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
|
10697
10935
|
const resolvedLoadMoreLabel = vue.computed(() => props.locale === "en" ? "Show more" : "Visa fler");
|
|
10698
10936
|
const resolvedLoadingMoreLabel = vue.computed(() => props.locale === "en" ? "Loading more..." : "Hämtar fler...");
|
|
10699
10937
|
const displayInputValue = vue.computed(() => {
|
|
10938
|
+
if (!inputHasFocus.value && !hasSelection.value && !searchTerm.value.length && props.displayValue) {
|
|
10939
|
+
return props.displayValue;
|
|
10940
|
+
}
|
|
10700
10941
|
if (isMultiple.value && !inputHasFocus.value && selectedItems.value.length > 0) {
|
|
10701
10942
|
return `${selectedItems.value.length} val`;
|
|
10702
10943
|
}
|
|
@@ -10841,24 +11082,39 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
|
10841
11082
|
const handleMatchingString = (item) => {
|
|
10842
11083
|
if (isDividerItem(item)) {
|
|
10843
11084
|
const dividerLabel = searchFields.value.map((key) => String(item[key] ?? "").trim()).find((value) => value.length > 0) ?? String(item.label ?? item.name ?? "");
|
|
11085
|
+
if (props.highlightDividerMatch && searchTerm.value) {
|
|
11086
|
+
const formattedTerm = formatPidWithDash(searchTerm.value);
|
|
11087
|
+
const escaped = formattedTerm.replace(/[()]/g, "\\$&");
|
|
11088
|
+
if (new RegExp(escaped, "i").test(dividerLabel)) {
|
|
11089
|
+
return boldQuery(dividerLabel);
|
|
11090
|
+
}
|
|
11091
|
+
}
|
|
10844
11092
|
return dividerLabel;
|
|
10845
11093
|
}
|
|
10846
|
-
const values = searchFields.value.map((key) => String(item[key]
|
|
11094
|
+
const values = searchFields.value.map((key) => String(item[key] ?? "").trim()).filter((value) => value.length > 0);
|
|
10847
11095
|
let result = "";
|
|
11096
|
+
if (values.length === 0) {
|
|
11097
|
+
return "";
|
|
11098
|
+
}
|
|
10848
11099
|
if (values.length === 1) {
|
|
10849
|
-
result = values[0]
|
|
11100
|
+
result = values[0] ?? "";
|
|
10850
11101
|
} else {
|
|
10851
11102
|
if (values[1]?.length === 12 && parseInt(values[1])) {
|
|
10852
11103
|
values[1] = formatPidWithDash(values[1]);
|
|
10853
11104
|
}
|
|
10854
11105
|
if (props.preserveOrder) {
|
|
10855
|
-
const
|
|
11106
|
+
const primaryValue = values[0] ?? "";
|
|
11107
|
+
const secondaryValue = values[1];
|
|
11108
|
+
const combined = secondaryValue ? `${primaryValue} (${secondaryValue})` : primaryValue;
|
|
10856
11109
|
const rest = values.slice(2).join("<br>");
|
|
10857
11110
|
result = rest ? `${combined}<br>${rest}` : combined;
|
|
10858
11111
|
} else {
|
|
10859
|
-
result = values[0]
|
|
11112
|
+
result = values[0] ?? "";
|
|
10860
11113
|
for (let i = 1; i < values.length; i++) {
|
|
10861
|
-
|
|
11114
|
+
const value = values[i];
|
|
11115
|
+
if (value) {
|
|
11116
|
+
result += ` (${value})`;
|
|
11117
|
+
}
|
|
10862
11118
|
}
|
|
10863
11119
|
}
|
|
10864
11120
|
}
|
|
@@ -10962,6 +11218,16 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
|
10962
11218
|
}
|
|
10963
11219
|
emit("loadMore");
|
|
10964
11220
|
};
|
|
11221
|
+
const handleDropdownScroll = (event) => {
|
|
11222
|
+
if (!props.autoLoadOnScroll || props.loadingMore || !shouldShowLoadMore.value) return;
|
|
11223
|
+
const target = event.target;
|
|
11224
|
+
if (!target) return;
|
|
11225
|
+
const threshold = Math.max(0, props.autoLoadThreshold ?? 24);
|
|
11226
|
+
const remaining = target.scrollHeight - (target.scrollTop + target.clientHeight);
|
|
11227
|
+
if (remaining <= threshold) {
|
|
11228
|
+
handleLoadMore();
|
|
11229
|
+
}
|
|
11230
|
+
};
|
|
10965
11231
|
const handleInputFocus = () => {
|
|
10966
11232
|
inputHasFocus.value = true;
|
|
10967
11233
|
if ((isMultiple.value || !selectedItem.value) && displayedItems.value.length > 0) {
|
|
@@ -11070,7 +11336,7 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
|
11070
11336
|
vue.createElementVNode("div", _hoisted_1$a, [
|
|
11071
11337
|
vue.createElementVNode("div", _hoisted_2$8, [
|
|
11072
11338
|
vue.createElementVNode("div", _hoisted_3$6, [
|
|
11073
|
-
vue.createVNode(_sfc_main$
|
|
11339
|
+
vue.createVNode(_sfc_main$q, vue.mergeProps({
|
|
11074
11340
|
ref_key: "inputComponentRef",
|
|
11075
11341
|
ref: inputComponentRef,
|
|
11076
11342
|
label: __props.label,
|
|
@@ -11099,10 +11365,11 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
|
11099
11365
|
ref_key: "dropdownRef",
|
|
11100
11366
|
ref: dropdownRef,
|
|
11101
11367
|
class: vue.normalizeClass(listWrapperClasses.value),
|
|
11102
|
-
style: vue.normalizeStyle(listWrapperStyle.value)
|
|
11368
|
+
style: vue.normalizeStyle(listWrapperStyle.value),
|
|
11369
|
+
onScrollPassive: handleDropdownScroll
|
|
11103
11370
|
}, [
|
|
11104
11371
|
__props.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$5, [
|
|
11105
|
-
vue.createVNode(_sfc_main$
|
|
11372
|
+
vue.createVNode(_sfc_main$y, {
|
|
11106
11373
|
color: "blue",
|
|
11107
11374
|
size: "48px"
|
|
11108
11375
|
})
|
|
@@ -11141,8 +11408,9 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
|
11141
11408
|
labelClasses.value,
|
|
11142
11409
|
"font-normal text-gray-700 border-b border-gray-100 cursor-default pointer-events-none"
|
|
11143
11410
|
]),
|
|
11144
|
-
style: vue.normalizeStyle(vue.unref(optionPaddingStyle)(item))
|
|
11145
|
-
|
|
11411
|
+
style: vue.normalizeStyle(vue.unref(optionPaddingStyle)(item)),
|
|
11412
|
+
innerHTML: handleMatchingString(item)
|
|
11413
|
+
}, null, 14, _hoisted_8$2)) : (vue.openBlock(), vue.createElementBlock("label", {
|
|
11146
11414
|
key: 1,
|
|
11147
11415
|
class: vue.normalizeClass([labelClasses.value, listItemClasses.value, "flex items-start gap-2"]),
|
|
11148
11416
|
style: vue.normalizeStyle(vue.unref(optionPaddingStyle)(item))
|
|
@@ -11158,15 +11426,15 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
|
11158
11426
|
vue.withKeys((e) => !__props.multiple && handleClick(e, item), ["enter"]),
|
|
11159
11427
|
vue.withKeys(vue.withModifiers((e) => !__props.multiple && handleClick(e, item), ["prevent"]), ["space"])
|
|
11160
11428
|
]
|
|
11161
|
-
}, null, 42,
|
|
11429
|
+
}, null, 42, _hoisted_9$2),
|
|
11162
11430
|
vue.createElementVNode("span", {
|
|
11163
11431
|
class: "min-w-0 flex-1",
|
|
11164
11432
|
innerHTML: handleMatchingString(item)
|
|
11165
|
-
}, null, 8,
|
|
11433
|
+
}, null, 8, _hoisted_10)
|
|
11166
11434
|
], 6))
|
|
11167
11435
|
], 42, _hoisted_7$3);
|
|
11168
11436
|
}), 128)),
|
|
11169
|
-
vue.unref(shouldShowLoadMore) ? (vue.openBlock(), vue.createElementBlock("li",
|
|
11437
|
+
vue.unref(shouldShowLoadMore) ? (vue.openBlock(), vue.createElementBlock("li", _hoisted_11, [
|
|
11170
11438
|
vue.createElementVNode("div", {
|
|
11171
11439
|
class: vue.normalizeClass(["flex items-center gap-2 text-blue-600", { "cursor-pointer": !__props.loadingMore, "cursor-not-allowed opacity-70": __props.loadingMore }]),
|
|
11172
11440
|
role: "button",
|
|
@@ -11178,7 +11446,7 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
|
11178
11446
|
_cache[2] || (_cache[2] = vue.withKeys(vue.withModifiers(($event) => !__props.loadingMore && handleLoadMore(), ["prevent"]), ["space"]))
|
|
11179
11447
|
]
|
|
11180
11448
|
}, [
|
|
11181
|
-
vue.createVNode(_sfc_main$
|
|
11449
|
+
vue.createVNode(_sfc_main$F, {
|
|
11182
11450
|
icon: "sync",
|
|
11183
11451
|
loading: __props.loadingMore,
|
|
11184
11452
|
"aria-label": __props.loadingMore ? resolvedLoadingMoreLabel.value : resolvedLoadMoreLabel.value,
|
|
@@ -11186,20 +11454,20 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
|
11186
11454
|
class: "w-6 h-6 pointer-events-none"
|
|
11187
11455
|
}, null, 8, ["loading", "aria-label"]),
|
|
11188
11456
|
vue.createElementVNode("span", null, vue.toDisplayString(__props.loadingMore ? resolvedLoadingMoreLabel.value : resolvedLoadMoreLabel.value), 1)
|
|
11189
|
-
], 42,
|
|
11457
|
+
], 42, _hoisted_12)
|
|
11190
11458
|
])) : vue.createCommentVNode("", true)
|
|
11191
11459
|
], 32),
|
|
11192
|
-
__props.page !== void 0 && totalPages.value !== null && totalPages.value > 1 ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
11460
|
+
__props.page !== void 0 && totalPages.value !== null && totalPages.value > 1 ? (vue.openBlock(), vue.createBlock(_sfc_main$l, {
|
|
11193
11461
|
key: 0,
|
|
11194
11462
|
current: __props.page,
|
|
11195
11463
|
max: totalPages.value,
|
|
11196
11464
|
onPaginate: handlePagination,
|
|
11197
11465
|
class: "my-4! px-2"
|
|
11198
11466
|
}, null, 8, ["current", "max"])) : vue.createCommentVNode("", true)
|
|
11199
|
-
], 64)) : !__props.loading ? (vue.openBlock(), vue.createElementBlock("ul",
|
|
11200
|
-
vue.createElementVNode("li",
|
|
11467
|
+
], 64)) : !__props.loading ? (vue.openBlock(), vue.createElementBlock("ul", _hoisted_13, [
|
|
11468
|
+
vue.createElementVNode("li", _hoisted_14, vue.toDisplayString(__props.noResultPrompt), 1)
|
|
11201
11469
|
])) : vue.createCommentVNode("", true)
|
|
11202
|
-
],
|
|
11470
|
+
], 38)) : vue.createCommentVNode("", true)
|
|
11203
11471
|
])
|
|
11204
11472
|
], 16);
|
|
11205
11473
|
};
|
|
@@ -12142,7 +12410,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
12142
12410
|
class: vue.normalizeClass("pt-2 pb-2")
|
|
12143
12411
|
}, [
|
|
12144
12412
|
vue.createElementVNode("div", _hoisted_1$7, [
|
|
12145
|
-
hasChildrenNodes.value ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
12413
|
+
hasChildrenNodes.value ? (vue.openBlock(), vue.createBlock(_sfc_main$F, vue.mergeProps({
|
|
12146
12414
|
key: 0,
|
|
12147
12415
|
onClick: _cache[0] || (_cache[0] = ($event) => vue.unref(treeState)?.toggleExpandNode(props.nodeId))
|
|
12148
12416
|
}, { "aria-label": props.title ? childrenToggleAriaLabel(props.title) : void 0 }, {
|
|
@@ -12174,7 +12442,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
12174
12442
|
}, 8, ["id", "checked", "indeterminate"])
|
|
12175
12443
|
]),
|
|
12176
12444
|
vue.unref(treeState)?.isParentOrChildrenSelected(props.nodeId) && !(vue.unref(treeState)?.isNodeIndeterminateById(props.nodeId) ?? false) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$2, [
|
|
12177
|
-
vue.createVNode(_sfc_main$
|
|
12445
|
+
vue.createVNode(_sfc_main$F, vue.mergeProps({
|
|
12178
12446
|
ref_key: "triggerRef",
|
|
12179
12447
|
ref: triggerRef,
|
|
12180
12448
|
icon: "more",
|
|
@@ -12234,7 +12502,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
12234
12502
|
], 8, _hoisted_8$1);
|
|
12235
12503
|
}), 64))
|
|
12236
12504
|
]),
|
|
12237
|
-
vue.createVNode(_sfc_main$
|
|
12505
|
+
vue.createVNode(_sfc_main$F, vue.mergeProps({
|
|
12238
12506
|
icon: "cross",
|
|
12239
12507
|
id: "tree-popover-close-button",
|
|
12240
12508
|
size: 24,
|
|
@@ -12417,7 +12685,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
12417
12685
|
ref: searchContainerRef,
|
|
12418
12686
|
class: "pb-4"
|
|
12419
12687
|
}, [
|
|
12420
|
-
vue.createVNode(_sfc_main$
|
|
12688
|
+
vue.createVNode(_sfc_main$q, {
|
|
12421
12689
|
value: vue.unref(treeState)?.searchTerm?.value ?? "",
|
|
12422
12690
|
onInput: _cache[0] || (_cache[0] = ($event) => vue.unref(treeState)?.setSearchTerm($event.target.value)),
|
|
12423
12691
|
class: "w-full",
|
|
@@ -12434,7 +12702,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
12434
12702
|
props.searchCountTemplate && vue.unref(treeState)?.searchTerm?.value && String(vue.unref(treeState)?.searchTerm?.value || "").trim().length >= (vue.unref(treeState)?.triggerLength ?? 1) ? (vue.openBlock(), vue.createElementBlock("h2", _hoisted_2$4, vue.toDisplayString(props.searchCountTemplate.replace("[[filteredNodes]]", vue.unref(treeState)?.filteredMatchCount.value.toString()).replace("[[totalNodes]]", totalNodeCount.value.toString())), 1)) : (vue.openBlock(), vue.createElementBlock("h2", _hoisted_3$4, vue.toDisplayString(props.searchCountTemplateUnfiltered?.replace("[[totalNodes]]", totalNodeCount.value.toString()).replace("[[totalNodes]]", totalNodeCount.value.toString())), 1))
|
|
12435
12703
|
])) : vue.createCommentVNode("", true)
|
|
12436
12704
|
], 512)) : vue.createCommentVNode("", true),
|
|
12437
|
-
vue.unref(treeState)?.isEmptySearchResult?.value ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
12705
|
+
vue.unref(treeState)?.isEmptySearchResult?.value ? (vue.openBlock(), vue.createBlock(_sfc_main$D, {
|
|
12438
12706
|
key: 1,
|
|
12439
12707
|
class: "mt-4"
|
|
12440
12708
|
}, {
|
|
@@ -12534,7 +12802,7 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
12534
12802
|
return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({ class: "block mb-4" }, rootAttrs.value), [
|
|
12535
12803
|
hasContent.value ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
12536
12804
|
vue.createElementVNode("span", null, vue.toDisplayString(truncatedText.value), 1),
|
|
12537
|
-
isTruncated.value ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
12805
|
+
isTruncated.value ? (vue.openBlock(), vue.createBlock(_sfc_main$x, {
|
|
12538
12806
|
key: 0,
|
|
12539
12807
|
icon: isOpen.value ? "arrowUp" : "arrowDown",
|
|
12540
12808
|
iconPos: "right",
|
|
@@ -12820,7 +13088,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
|
12820
13088
|
vue.createElementVNode("span", {
|
|
12821
13089
|
class: vue.normalizeClass(["relative flex flex-col items-center text-blue-600 font-bold justify-center transition-all duration-200 ease-in-out mb-2 rounded-full w-[44px] h-[44px] bg-white-solid", setStepClasses(entry.index)])
|
|
12822
13090
|
}, [
|
|
12823
|
-
entry.index >= effectiveCompletedTo.value + 1 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_8, vue.toDisplayString(entry.index + 1), 1)) : (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
13091
|
+
entry.index >= effectiveCompletedTo.value + 1 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_8, vue.toDisplayString(entry.index + 1), 1)) : (vue.openBlock(), vue.createBlock(_sfc_main$G, {
|
|
12824
13092
|
key: 1,
|
|
12825
13093
|
name: "checkmark",
|
|
12826
13094
|
size: 24
|
|
@@ -12983,7 +13251,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
12983
13251
|
[vue.vModelSelect, internalValue.value]
|
|
12984
13252
|
]),
|
|
12985
13253
|
vue.createElementVNode("div", _hoisted_6, [
|
|
12986
|
-
vue.createVNode(_sfc_main$
|
|
13254
|
+
vue.createVNode(_sfc_main$G, {
|
|
12987
13255
|
name: "arrowDown",
|
|
12988
13256
|
size: 24,
|
|
12989
13257
|
class: vue.normalizeClass({
|
|
@@ -13120,12 +13388,12 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
|
13120
13388
|
vue.createElementVNode("div", {
|
|
13121
13389
|
class: vue.normalizeClass(validationIconClasses.value)
|
|
13122
13390
|
}, [
|
|
13123
|
-
isInvalid.value ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
13391
|
+
isInvalid.value ? (vue.openBlock(), vue.createBlock(_sfc_main$G, {
|
|
13124
13392
|
key: 0,
|
|
13125
13393
|
name: "alert",
|
|
13126
13394
|
class: "fill-red-600"
|
|
13127
13395
|
})) : vue.createCommentVNode("", true),
|
|
13128
|
-
isValid.value ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
13396
|
+
isValid.value ? (vue.openBlock(), vue.createBlock(_sfc_main$G, {
|
|
13129
13397
|
key: 1,
|
|
13130
13398
|
name: "bigSuccess"
|
|
13131
13399
|
})) : vue.createCommentVNode("", true)
|
|
@@ -13213,7 +13481,7 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
|
|
|
13213
13481
|
vue.unref(hasSlot) ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, [
|
|
13214
13482
|
vue.renderSlot(_ctx.$slots, "default")
|
|
13215
13483
|
])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_3, vue.toDisplayString(__props.heading), 1)),
|
|
13216
|
-
vue.createVNode(_sfc_main$
|
|
13484
|
+
vue.createVNode(_sfc_main$G, {
|
|
13217
13485
|
name: iconName.value,
|
|
13218
13486
|
size: "24px",
|
|
13219
13487
|
class: "fill-blue-500"
|
|
@@ -13458,7 +13726,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
13458
13726
|
};
|
|
13459
13727
|
return (_ctx, _cache) => {
|
|
13460
13728
|
return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({ class: "inline-block mb-3 h-7 font-bold text-xl" }, rootAttrs.value), [
|
|
13461
|
-
__props.loading ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
13729
|
+
__props.loading ? (vue.openBlock(), vue.createBlock(_sfc_main$y, {
|
|
13462
13730
|
key: 0,
|
|
13463
13731
|
size: "24px",
|
|
13464
13732
|
color: "blue",
|
|
@@ -13522,32 +13790,33 @@ const bankid = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%2
|
|
|
13522
13790
|
const FdsVueCorePlugin = {
|
|
13523
13791
|
install(app) {
|
|
13524
13792
|
app.component("FdsTreeView", _sfc_main$d);
|
|
13525
|
-
app.component("FdsButtonPrimary", _sfc_main$
|
|
13526
|
-
app.component("FdsButtonSecondary", _sfc_main$
|
|
13527
|
-
app.component("FdsButtonMinor", _sfc_main$
|
|
13528
|
-
app.component("FdsButtonIcon", _sfc_main$
|
|
13529
|
-
app.component("FdsButtonCopy", _sfc_main$
|
|
13530
|
-
app.component("FdsButtonDownload", _sfc_main$
|
|
13531
|
-
app.component("FdsDevMode", _sfc_main$
|
|
13532
|
-
app.component("FdsIcon", _sfc_main$
|
|
13533
|
-
app.component("FdsSpinner", _sfc_main$
|
|
13793
|
+
app.component("FdsButtonPrimary", _sfc_main$u);
|
|
13794
|
+
app.component("FdsButtonSecondary", _sfc_main$t);
|
|
13795
|
+
app.component("FdsButtonMinor", _sfc_main$x);
|
|
13796
|
+
app.component("FdsButtonIcon", _sfc_main$F);
|
|
13797
|
+
app.component("FdsButtonCopy", _sfc_main$w);
|
|
13798
|
+
app.component("FdsButtonDownload", _sfc_main$v);
|
|
13799
|
+
app.component("FdsDevMode", _sfc_main$m);
|
|
13800
|
+
app.component("FdsIcon", _sfc_main$G);
|
|
13801
|
+
app.component("FdsSpinner", _sfc_main$y);
|
|
13534
13802
|
app.component("FdsRadio", _sfc_main$g);
|
|
13535
13803
|
app.component("FdsCheckbox", _sfc_main$h);
|
|
13536
13804
|
app.component("FdsTextarea", _sfc_main$8);
|
|
13537
13805
|
app.component("FdsSelect", _sfc_main$9);
|
|
13538
13806
|
app.component("FdsTable", _sfc_main$7);
|
|
13539
13807
|
app.component("FdsTableHead", _sfc_main$6);
|
|
13540
|
-
app.component("FdsInput", _sfc_main$
|
|
13541
|
-
app.component("FdsBlockContent", _sfc_main$
|
|
13542
|
-
app.component("FdsBlockInfo", _sfc_main$
|
|
13543
|
-
app.component("FdsBlockAlert", _sfc_main$
|
|
13544
|
-
app.component("FdsBlockExpander", _sfc_main$
|
|
13545
|
-
app.component("FdsBlockLink", _sfc_main$
|
|
13546
|
-
app.component("FdsSticker", _sfc_main$
|
|
13547
|
-
app.component("FdsTabs", _sfc_main$
|
|
13548
|
-
app.component("FdsTabsItem", _sfc_main$
|
|
13549
|
-
app.component("FdsModal", _sfc_main$
|
|
13550
|
-
app.component("FdsPagination", _sfc_main$
|
|
13808
|
+
app.component("FdsInput", _sfc_main$q);
|
|
13809
|
+
app.component("FdsBlockContent", _sfc_main$D);
|
|
13810
|
+
app.component("FdsBlockInfo", _sfc_main$A);
|
|
13811
|
+
app.component("FdsBlockAlert", _sfc_main$E);
|
|
13812
|
+
app.component("FdsBlockExpander", _sfc_main$B);
|
|
13813
|
+
app.component("FdsBlockLink", _sfc_main$z);
|
|
13814
|
+
app.component("FdsSticker", _sfc_main$C);
|
|
13815
|
+
app.component("FdsTabs", _sfc_main$p);
|
|
13816
|
+
app.component("FdsTabsItem", _sfc_main$o);
|
|
13817
|
+
app.component("FdsModal", _sfc_main$r);
|
|
13818
|
+
app.component("FdsPagination", _sfc_main$l);
|
|
13819
|
+
app.component("FdsPopover", _sfc_main$k);
|
|
13551
13820
|
app.component("FdsSearchSelect", _sfc_main$j);
|
|
13552
13821
|
app.component("FdsSearchSelectPro", _sfc_main$i);
|
|
13553
13822
|
app.component("FdsTruncatedText", _sfc_main$c);
|
|
@@ -13562,41 +13831,42 @@ const FdsVueCorePlugin = {
|
|
|
13562
13831
|
app.component("FdsListHeading", _sfc_main);
|
|
13563
13832
|
}
|
|
13564
13833
|
};
|
|
13565
|
-
exports.FdsBlockAlert = _sfc_main$
|
|
13566
|
-
exports.FdsBlockContent = _sfc_main$
|
|
13567
|
-
exports.FdsBlockExpander = _sfc_main$
|
|
13568
|
-
exports.FdsBlockInfo = _sfc_main$
|
|
13569
|
-
exports.FdsBlockLink = _sfc_main$
|
|
13570
|
-
exports.FdsButtonCopy = _sfc_main$
|
|
13571
|
-
exports.FdsButtonDownload = _sfc_main$
|
|
13572
|
-
exports.FdsButtonIcon = _sfc_main$
|
|
13573
|
-
exports.FdsButtonMinor = _sfc_main$
|
|
13574
|
-
exports.FdsButtonPrimary = _sfc_main$
|
|
13575
|
-
exports.FdsButtonSecondary = _sfc_main$
|
|
13834
|
+
exports.FdsBlockAlert = _sfc_main$E;
|
|
13835
|
+
exports.FdsBlockContent = _sfc_main$D;
|
|
13836
|
+
exports.FdsBlockExpander = _sfc_main$B;
|
|
13837
|
+
exports.FdsBlockInfo = _sfc_main$A;
|
|
13838
|
+
exports.FdsBlockLink = _sfc_main$z;
|
|
13839
|
+
exports.FdsButtonCopy = _sfc_main$w;
|
|
13840
|
+
exports.FdsButtonDownload = _sfc_main$v;
|
|
13841
|
+
exports.FdsButtonIcon = _sfc_main$F;
|
|
13842
|
+
exports.FdsButtonMinor = _sfc_main$x;
|
|
13843
|
+
exports.FdsButtonPrimary = _sfc_main$u;
|
|
13844
|
+
exports.FdsButtonSecondary = _sfc_main$t;
|
|
13576
13845
|
exports.FdsCheckbox = _sfc_main$h;
|
|
13577
|
-
exports.FdsDevMode = _sfc_main$
|
|
13846
|
+
exports.FdsDevMode = _sfc_main$m;
|
|
13578
13847
|
exports.FdsH1 = _sfc_main$5;
|
|
13579
13848
|
exports.FdsH2 = _sfc_main$4;
|
|
13580
13849
|
exports.FdsH3 = _sfc_main$3;
|
|
13581
13850
|
exports.FdsHr = _sfc_main$2;
|
|
13582
|
-
exports.FdsIcon = _sfc_main$
|
|
13583
|
-
exports.FdsInput = _sfc_main$
|
|
13851
|
+
exports.FdsIcon = _sfc_main$G;
|
|
13852
|
+
exports.FdsInput = _sfc_main$q;
|
|
13584
13853
|
exports.FdsLabel = _sfc_main$1;
|
|
13585
13854
|
exports.FdsLead = _sfc_main$b;
|
|
13586
13855
|
exports.FdsListHeading = _sfc_main;
|
|
13587
13856
|
exports.FdsMeta = _sfc_main$e;
|
|
13588
|
-
exports.FdsModal = _sfc_main$
|
|
13589
|
-
exports.FdsPagination = _sfc_main$
|
|
13857
|
+
exports.FdsModal = _sfc_main$r;
|
|
13858
|
+
exports.FdsPagination = _sfc_main$l;
|
|
13859
|
+
exports.FdsPopover = _sfc_main$k;
|
|
13590
13860
|
exports.FdsRadio = _sfc_main$g;
|
|
13591
13861
|
exports.FdsSearchSelect = _sfc_main$j;
|
|
13592
13862
|
exports.FdsSearchSelectPro = _sfc_main$i;
|
|
13593
13863
|
exports.FdsSelect = _sfc_main$9;
|
|
13594
|
-
exports.FdsSpinner = _sfc_main$
|
|
13595
|
-
exports.FdsSticker = _sfc_main$
|
|
13864
|
+
exports.FdsSpinner = _sfc_main$y;
|
|
13865
|
+
exports.FdsSticker = _sfc_main$C;
|
|
13596
13866
|
exports.FdsTable = _sfc_main$7;
|
|
13597
13867
|
exports.FdsTableHead = _sfc_main$6;
|
|
13598
|
-
exports.FdsTabs = _sfc_main$
|
|
13599
|
-
exports.FdsTabsItem = _sfc_main$
|
|
13868
|
+
exports.FdsTabs = _sfc_main$p;
|
|
13869
|
+
exports.FdsTabsItem = _sfc_main$o;
|
|
13600
13870
|
exports.FdsTextarea = _sfc_main$8;
|
|
13601
13871
|
exports.FdsTreeView = _sfc_main$d;
|
|
13602
13872
|
exports.FdsTruncatedText = _sfc_main$c;
|