fds-vue-core 2.2.0 → 2.3.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 +1033 -523
- 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 +1034 -524
- package/dist/fds-vue-core.es.js.map +1 -1
- package/package.json +1 -1
- package/src/components/FdsDevMode/FdsDevMode.vue +11 -7
- package/src/components/FdsDevMode/FdsDevModeStorage.vue +413 -0
- package/src/components/Form/FdsInput/FdsInput.vue +2 -0
- package/src/components/Form/FdsInput/types.ts +1 -0
package/dist/fds-vue-core.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useAttrs, computed, useSlots, Comment, defineComponent, createElementBlock, openBlock, mergeProps, createBlock, ref, watch, createCommentVNode, createElementVNode, normalizeClass, unref, createVNode, toDisplayString, renderSlot, withDirectives, withCtx, createTextVNode, vShow, resolveDynamicComponent, normalizeStyle, onMounted, nextTick, onBeforeUnmount, Teleport, withModifiers,
|
|
1
|
+
import { useAttrs, computed, useSlots, Comment, defineComponent, createElementBlock, openBlock, mergeProps, createBlock, ref, watch, createCommentVNode, createElementVNode, normalizeClass, unref, createVNode, toDisplayString, renderSlot, withDirectives, withCtx, createTextVNode, vShow, resolveDynamicComponent, normalizeStyle, onMounted, nextTick, onBeforeUnmount, Teleport, withModifiers, provide, getCurrentInstance, inject, Fragment, renderList, vModelText, mergeModels, useModel, withKeys, reactive, vModelCheckbox, resolveComponent, Transition, watchEffect, normalizeProps, guardReactiveProps, vModelSelect } from "vue";
|
|
2
2
|
function useAttrsWithDefaults(props) {
|
|
3
3
|
const attrs = useAttrs();
|
|
4
4
|
return {
|
|
@@ -546,8 +546,8 @@ const icons = {
|
|
|
546
546
|
</defs>
|
|
547
547
|
</svg>`
|
|
548
548
|
};
|
|
549
|
-
const _hoisted_1$
|
|
550
|
-
const _sfc_main$
|
|
549
|
+
const _hoisted_1$p = ["innerHTML"];
|
|
550
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
551
551
|
__name: "FdsIcon",
|
|
552
552
|
props: {
|
|
553
553
|
name: {},
|
|
@@ -580,11 +580,11 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
580
580
|
return openBlock(), createElementBlock("span", mergeProps({
|
|
581
581
|
class: "inline-flex items-center justify-center align-middle",
|
|
582
582
|
style: { width: pixelSize.value, height: pixelSize.value }
|
|
583
|
-
}, rootAttrs.value, { innerHTML: svgHtml.value }), null, 16, _hoisted_1$
|
|
583
|
+
}, rootAttrs.value, { innerHTML: svgHtml.value }), null, 16, _hoisted_1$p);
|
|
584
584
|
};
|
|
585
585
|
}
|
|
586
586
|
});
|
|
587
|
-
const _sfc_main$
|
|
587
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
588
588
|
__name: "FdsButtonIcon",
|
|
589
589
|
props: {
|
|
590
590
|
icon: {},
|
|
@@ -628,12 +628,12 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
628
628
|
class: buttonClasses.value,
|
|
629
629
|
onClick
|
|
630
630
|
}), [
|
|
631
|
-
!__props.loading ? (openBlock(), createBlock(_sfc_main$
|
|
631
|
+
!__props.loading ? (openBlock(), createBlock(_sfc_main$y, {
|
|
632
632
|
key: 0,
|
|
633
633
|
size: iconSize.value,
|
|
634
634
|
name: __props.icon,
|
|
635
635
|
"aria-hidden": "true"
|
|
636
|
-
}, null, 8, ["size", "name"])) : (openBlock(), createBlock(_sfc_main$
|
|
636
|
+
}, null, 8, ["size", "name"])) : (openBlock(), createBlock(_sfc_main$y, {
|
|
637
637
|
key: 1,
|
|
638
638
|
size: iconSize.value,
|
|
639
639
|
name: "spinner",
|
|
@@ -644,15 +644,15 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
644
644
|
};
|
|
645
645
|
}
|
|
646
646
|
});
|
|
647
|
-
const _hoisted_1$
|
|
648
|
-
const _hoisted_2$
|
|
649
|
-
const _hoisted_3$
|
|
650
|
-
const _hoisted_4$
|
|
651
|
-
const _hoisted_5$
|
|
647
|
+
const _hoisted_1$o = { class: "flex items-start gap-2" };
|
|
648
|
+
const _hoisted_2$j = { class: "h-7 flex items-center" };
|
|
649
|
+
const _hoisted_3$c = { class: "leading-7" };
|
|
650
|
+
const _hoisted_4$b = { class: "relative h-7" };
|
|
651
|
+
const _hoisted_5$a = {
|
|
652
652
|
key: 1,
|
|
653
653
|
class: "fds-block-alert-slot mb-0-last-child"
|
|
654
654
|
};
|
|
655
|
-
const _sfc_main$
|
|
655
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
656
656
|
__name: "FdsBlockAlert",
|
|
657
657
|
props: {
|
|
658
658
|
visible: { type: Boolean, default: true },
|
|
@@ -708,24 +708,24 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
708
708
|
key: 0,
|
|
709
709
|
class: normalizeClass(["font-bold w-full justify-between items-start flex gap-2", { "mb-4": (isExpanded.value || !__props.collapsable) && unref(hasSlot) }])
|
|
710
710
|
}, [
|
|
711
|
-
createElementVNode("div", _hoisted_1$
|
|
712
|
-
createElementVNode("div", _hoisted_2$
|
|
713
|
-
createVNode(_sfc_main$
|
|
711
|
+
createElementVNode("div", _hoisted_1$o, [
|
|
712
|
+
createElementVNode("div", _hoisted_2$j, [
|
|
713
|
+
createVNode(_sfc_main$y, {
|
|
714
714
|
name: "alert",
|
|
715
715
|
size: 24,
|
|
716
716
|
class: "fill-yellow-700"
|
|
717
717
|
})
|
|
718
718
|
]),
|
|
719
|
-
createElementVNode("span", _hoisted_3$
|
|
719
|
+
createElementVNode("span", _hoisted_3$c, toDisplayString(__props.label), 1)
|
|
720
720
|
]),
|
|
721
|
-
createElementVNode("div", _hoisted_4$
|
|
722
|
-
__props.closeable ? (openBlock(), createBlock(_sfc_main$
|
|
721
|
+
createElementVNode("div", _hoisted_4$b, [
|
|
722
|
+
__props.closeable ? (openBlock(), createBlock(_sfc_main$x, mergeProps({
|
|
723
723
|
key: 0,
|
|
724
724
|
icon: "cross",
|
|
725
725
|
size: 28,
|
|
726
726
|
onClick: handleClose
|
|
727
727
|
}, { "aria-label": closeLabel.value }, { class: ["fill-gray-900! hover:bg-gray-100 active:bg-gray-200"] }), null, 16)) : createCommentVNode("", true),
|
|
728
|
-
__props.collapsable ? (openBlock(), createBlock(_sfc_main$
|
|
728
|
+
__props.collapsable ? (openBlock(), createBlock(_sfc_main$x, mergeProps({
|
|
729
729
|
key: 1,
|
|
730
730
|
icon: "arrowDown",
|
|
731
731
|
size: 28,
|
|
@@ -739,7 +739,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
739
739
|
}), null, 16, ["class"])) : createCommentVNode("", true)
|
|
740
740
|
])
|
|
741
741
|
], 2)) : createCommentVNode("", true),
|
|
742
|
-
isExpanded.value || !__props.collapsable ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
742
|
+
isExpanded.value || !__props.collapsable ? (openBlock(), createElementBlock("div", _hoisted_5$a, [
|
|
743
743
|
renderSlot(_ctx.$slots, "default")
|
|
744
744
|
])) : createCommentVNode("", true)
|
|
745
745
|
])
|
|
@@ -748,15 +748,15 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
748
748
|
};
|
|
749
749
|
}
|
|
750
750
|
});
|
|
751
|
-
const _hoisted_1$
|
|
752
|
-
const _hoisted_2$
|
|
751
|
+
const _hoisted_1$n = ["id"];
|
|
752
|
+
const _hoisted_2$i = {
|
|
753
753
|
key: 0,
|
|
754
754
|
class: "flex items-start justify-between gap-4 mb-4"
|
|
755
755
|
};
|
|
756
|
-
const _hoisted_3$
|
|
757
|
-
const _hoisted_4$
|
|
758
|
-
const _hoisted_5$
|
|
759
|
-
const _sfc_main$
|
|
756
|
+
const _hoisted_3$b = { class: "flex items-center gap-3" };
|
|
757
|
+
const _hoisted_4$a = { class: "flex items-start gap-3 leading-8" };
|
|
758
|
+
const _hoisted_5$9 = { class: "mb-0-last-child" };
|
|
759
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
760
760
|
__name: "FdsBlockContent",
|
|
761
761
|
props: {
|
|
762
762
|
heading: { default: void 0 },
|
|
@@ -800,24 +800,24 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
800
800
|
class: contentClasses.value,
|
|
801
801
|
style: borderLeftStyle.value
|
|
802
802
|
}, rootAttrs.value), [
|
|
803
|
-
__props.heading ? (openBlock(), createElementBlock("header", _hoisted_2$
|
|
804
|
-
createElementVNode("div", _hoisted_3$
|
|
803
|
+
__props.heading ? (openBlock(), createElementBlock("header", _hoisted_2$i, [
|
|
804
|
+
createElementVNode("div", _hoisted_3$b, [
|
|
805
805
|
createElementVNode("h3", {
|
|
806
806
|
class: normalizeClass(headerClasses.value)
|
|
807
807
|
}, toDisplayString(__props.heading), 3)
|
|
808
808
|
]),
|
|
809
|
-
createElementVNode("div", _hoisted_4$
|
|
809
|
+
createElementVNode("div", _hoisted_4$a, [
|
|
810
810
|
renderSlot(_ctx.$slots, "headerInfo")
|
|
811
811
|
])
|
|
812
812
|
])) : createCommentVNode("", true),
|
|
813
|
-
createElementVNode("div", _hoisted_5$
|
|
813
|
+
createElementVNode("div", _hoisted_5$9, [
|
|
814
814
|
renderSlot(_ctx.$slots, "default")
|
|
815
815
|
])
|
|
816
|
-
], 16, _hoisted_1$
|
|
816
|
+
], 16, _hoisted_1$n);
|
|
817
817
|
};
|
|
818
818
|
}
|
|
819
819
|
});
|
|
820
|
-
const _sfc_main$
|
|
820
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
821
821
|
__name: "FdsSticker",
|
|
822
822
|
props: {
|
|
823
823
|
variant: { default: "blue" },
|
|
@@ -865,19 +865,19 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
865
865
|
};
|
|
866
866
|
}
|
|
867
867
|
});
|
|
868
|
-
const _hoisted_1$
|
|
869
|
-
const _hoisted_2$
|
|
870
|
-
const _hoisted_3$
|
|
868
|
+
const _hoisted_1$m = { class: "w-full flex justify-between items-start" };
|
|
869
|
+
const _hoisted_2$h = { class: "inline-flex items-center" };
|
|
870
|
+
const _hoisted_3$a = {
|
|
871
871
|
key: 0,
|
|
872
872
|
class: "flex items-center mr-4"
|
|
873
873
|
};
|
|
874
|
-
const _hoisted_4$
|
|
875
|
-
const _hoisted_5$
|
|
874
|
+
const _hoisted_4$9 = { class: "inline-flex items-center" };
|
|
875
|
+
const _hoisted_5$8 = {
|
|
876
876
|
key: 0,
|
|
877
877
|
class: "w-full flex mt-2"
|
|
878
878
|
};
|
|
879
|
-
const _hoisted_6$
|
|
880
|
-
const _sfc_main$
|
|
879
|
+
const _hoisted_6$5 = ["aria-hidden"];
|
|
880
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
881
881
|
...{
|
|
882
882
|
inheritAttrs: false
|
|
883
883
|
},
|
|
@@ -948,23 +948,23 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
948
948
|
createElementVNode("span", {
|
|
949
949
|
class: normalizeClass(buttonRowClasses.value)
|
|
950
950
|
}, [
|
|
951
|
-
createElementVNode("span", _hoisted_1$
|
|
952
|
-
createElementVNode("span", _hoisted_2$
|
|
953
|
-
__props.preIcon ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
954
|
-
createVNode(_sfc_main$
|
|
951
|
+
createElementVNode("span", _hoisted_1$m, [
|
|
952
|
+
createElementVNode("span", _hoisted_2$h, [
|
|
953
|
+
__props.preIcon ? (openBlock(), createElementBlock("span", _hoisted_3$a, [
|
|
954
|
+
createVNode(_sfc_main$y, {
|
|
955
955
|
name: __props.preIcon,
|
|
956
956
|
size: 24,
|
|
957
957
|
class: normalizeClass(["fill-blue-500", { "fill-gray-500": __props.disabled }])
|
|
958
958
|
}, null, 8, ["name", "class"])
|
|
959
959
|
])) : createCommentVNode("", true),
|
|
960
|
-
createElementVNode("span", _hoisted_4$
|
|
960
|
+
createElementVNode("span", _hoisted_4$9, [
|
|
961
961
|
createElementVNode("span", {
|
|
962
962
|
class: normalizeClass(["font-bold font-heading text-lg leading-md", { "text-gray-700": __props.disabled }])
|
|
963
963
|
}, toDisplayString(__props.label), 3)
|
|
964
964
|
])
|
|
965
965
|
]),
|
|
966
966
|
createElementVNode("span", null, [
|
|
967
|
-
__props.stickerText && __props.stickerColor ? (openBlock(), createBlock(_sfc_main$
|
|
967
|
+
__props.stickerText && __props.stickerColor ? (openBlock(), createBlock(_sfc_main$u, {
|
|
968
968
|
key: 0,
|
|
969
969
|
variant: __props.stickerColor
|
|
970
970
|
}, {
|
|
@@ -973,7 +973,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
973
973
|
]),
|
|
974
974
|
_: 1
|
|
975
975
|
}, 8, ["variant"])) : createCommentVNode("", true),
|
|
976
|
-
createVNode(_sfc_main$
|
|
976
|
+
createVNode(_sfc_main$y, {
|
|
977
977
|
name: "arrowDown",
|
|
978
978
|
size: 24,
|
|
979
979
|
class: normalizeClass(["ml-4 transition-transform duration-200 fill-blue-500 min-w-6 min-h-6", { "rotate-180": isOpen.value, "fill-gray-500": __props.disabled }])
|
|
@@ -981,7 +981,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
981
981
|
])
|
|
982
982
|
])
|
|
983
983
|
], 2),
|
|
984
|
-
unref(hasExtraRowSlot) && !isOpen.value ? (openBlock(), createElementBlock("span", _hoisted_5$
|
|
984
|
+
unref(hasExtraRowSlot) && !isOpen.value ? (openBlock(), createElementBlock("span", _hoisted_5$8, [
|
|
985
985
|
renderSlot(_ctx.$slots, "extra-row")
|
|
986
986
|
])) : createCommentVNode("", true)
|
|
987
987
|
], 16),
|
|
@@ -990,39 +990,39 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
990
990
|
class: "mb-0-last-child block px-4 pb-6 rounded-b-2xl bg-white"
|
|
991
991
|
}, [
|
|
992
992
|
renderSlot(_ctx.$slots, "default")
|
|
993
|
-
], 8, _hoisted_6$
|
|
993
|
+
], 8, _hoisted_6$5), [
|
|
994
994
|
[vShow, isOpen.value]
|
|
995
995
|
])
|
|
996
996
|
], 16);
|
|
997
997
|
};
|
|
998
998
|
}
|
|
999
999
|
});
|
|
1000
|
-
const _hoisted_1$
|
|
1001
|
-
const _hoisted_2$
|
|
1000
|
+
const _hoisted_1$l = ["id"];
|
|
1001
|
+
const _hoisted_2$g = {
|
|
1002
1002
|
key: 0,
|
|
1003
1003
|
class: "flex items-start gap-4"
|
|
1004
1004
|
};
|
|
1005
|
-
const _hoisted_3$
|
|
1006
|
-
const _hoisted_4$
|
|
1005
|
+
const _hoisted_3$9 = { class: "flex-1" };
|
|
1006
|
+
const _hoisted_4$8 = {
|
|
1007
1007
|
key: 0,
|
|
1008
1008
|
class: "mb-1"
|
|
1009
1009
|
};
|
|
1010
|
-
const _hoisted_5$
|
|
1011
|
-
const _hoisted_6$
|
|
1012
|
-
const _hoisted_7$
|
|
1013
|
-
const _hoisted_8$
|
|
1010
|
+
const _hoisted_5$7 = { class: "flex items-start justify-between gap-4" };
|
|
1011
|
+
const _hoisted_6$4 = { class: "m-0 text-base font-main font-bold tracking-wide" };
|
|
1012
|
+
const _hoisted_7$4 = { class: "flex items-start gap-3" };
|
|
1013
|
+
const _hoisted_8$3 = {
|
|
1014
1014
|
key: 1,
|
|
1015
1015
|
class: "mb-0-last-child"
|
|
1016
1016
|
};
|
|
1017
|
-
const _hoisted_9$
|
|
1018
|
-
const _hoisted_10$
|
|
1019
|
-
const _hoisted_11$
|
|
1020
|
-
const _hoisted_12 = { class: "m-0 text-base font-main font-bold tracking-wide" };
|
|
1021
|
-
const _hoisted_13 = { class: "flex items-start gap-3" };
|
|
1022
|
-
const _hoisted_14 = { class: "mb-0-last-child" };
|
|
1017
|
+
const _hoisted_9$3 = { key: 1 };
|
|
1018
|
+
const _hoisted_10$2 = { class: "flex items-start justify-between gap-4" };
|
|
1019
|
+
const _hoisted_11$2 = { class: "flex items-center gap-3" };
|
|
1020
|
+
const _hoisted_12$1 = { class: "m-0 text-base font-main font-bold tracking-wide" };
|
|
1021
|
+
const _hoisted_13$1 = { class: "flex items-start gap-3" };
|
|
1022
|
+
const _hoisted_14$1 = { class: "mb-0-last-child" };
|
|
1023
1023
|
const smallIconSize = 24;
|
|
1024
1024
|
const largeIconSize = 48;
|
|
1025
|
-
const _sfc_main$
|
|
1025
|
+
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
1026
1026
|
__name: "FdsBlockInfo",
|
|
1027
1027
|
props: {
|
|
1028
1028
|
heading: { default: void 0 },
|
|
@@ -1054,59 +1054,59 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
1054
1054
|
id: contentBlockId.value,
|
|
1055
1055
|
class: contentClasses.value
|
|
1056
1056
|
}, rootAttrs.value), [
|
|
1057
|
-
__props.size === "large" && __props.icon ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
1058
|
-
createVNode(_sfc_main$
|
|
1057
|
+
__props.size === "large" && __props.icon ? (openBlock(), createElementBlock("div", _hoisted_2$g, [
|
|
1058
|
+
createVNode(_sfc_main$y, {
|
|
1059
1059
|
name: __props.icon,
|
|
1060
1060
|
size: largeIconSize,
|
|
1061
1061
|
class: "fill-blue-500"
|
|
1062
1062
|
}, null, 8, ["name"]),
|
|
1063
|
-
createElementVNode("div", _hoisted_3$
|
|
1064
|
-
__props.heading ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
1065
|
-
createElementVNode("header", _hoisted_5$
|
|
1066
|
-
createElementVNode("h3", _hoisted_6$
|
|
1067
|
-
createElementVNode("div", _hoisted_7$
|
|
1063
|
+
createElementVNode("div", _hoisted_3$9, [
|
|
1064
|
+
__props.heading ? (openBlock(), createElementBlock("div", _hoisted_4$8, [
|
|
1065
|
+
createElementVNode("header", _hoisted_5$7, [
|
|
1066
|
+
createElementVNode("h3", _hoisted_6$4, toDisplayString(__props.heading), 1),
|
|
1067
|
+
createElementVNode("div", _hoisted_7$4, [
|
|
1068
1068
|
renderSlot(_ctx.$slots, "headerInfo")
|
|
1069
1069
|
])
|
|
1070
1070
|
])
|
|
1071
1071
|
])) : createCommentVNode("", true),
|
|
1072
|
-
unref(hasSlot) ? (openBlock(), createElementBlock("div", _hoisted_8$
|
|
1072
|
+
unref(hasSlot) ? (openBlock(), createElementBlock("div", _hoisted_8$3, [
|
|
1073
1073
|
renderSlot(_ctx.$slots, "default")
|
|
1074
1074
|
])) : createCommentVNode("", true)
|
|
1075
1075
|
])
|
|
1076
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_9$
|
|
1076
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_9$3, [
|
|
1077
1077
|
__props.heading ? (openBlock(), createElementBlock("div", {
|
|
1078
1078
|
key: 0,
|
|
1079
1079
|
class: normalizeClass({ "mb-4": unref(hasSlot) })
|
|
1080
1080
|
}, [
|
|
1081
|
-
createElementVNode("header", _hoisted_10$
|
|
1082
|
-
createElementVNode("div", _hoisted_11$
|
|
1083
|
-
__props.icon && __props.size === "small" ? (openBlock(), createBlock(_sfc_main$
|
|
1081
|
+
createElementVNode("header", _hoisted_10$2, [
|
|
1082
|
+
createElementVNode("div", _hoisted_11$2, [
|
|
1083
|
+
__props.icon && __props.size === "small" ? (openBlock(), createBlock(_sfc_main$y, {
|
|
1084
1084
|
key: 0,
|
|
1085
1085
|
name: __props.icon,
|
|
1086
1086
|
size: smallIconSize,
|
|
1087
1087
|
class: "fill-blue-500"
|
|
1088
1088
|
}, null, 8, ["name"])) : createCommentVNode("", true),
|
|
1089
|
-
createElementVNode("h3", _hoisted_12, toDisplayString(__props.heading), 1)
|
|
1089
|
+
createElementVNode("h3", _hoisted_12$1, toDisplayString(__props.heading), 1)
|
|
1090
1090
|
]),
|
|
1091
|
-
createElementVNode("div", _hoisted_13, [
|
|
1091
|
+
createElementVNode("div", _hoisted_13$1, [
|
|
1092
1092
|
renderSlot(_ctx.$slots, "headerInfo")
|
|
1093
1093
|
])
|
|
1094
1094
|
])
|
|
1095
1095
|
], 2)) : createCommentVNode("", true),
|
|
1096
|
-
createElementVNode("div", _hoisted_14, [
|
|
1096
|
+
createElementVNode("div", _hoisted_14$1, [
|
|
1097
1097
|
renderSlot(_ctx.$slots, "default")
|
|
1098
1098
|
])
|
|
1099
1099
|
]))
|
|
1100
|
-
], 16, _hoisted_1$
|
|
1100
|
+
], 16, _hoisted_1$l);
|
|
1101
1101
|
};
|
|
1102
1102
|
}
|
|
1103
1103
|
});
|
|
1104
|
-
const _hoisted_1$
|
|
1105
|
-
const _hoisted_2$
|
|
1104
|
+
const _hoisted_1$k = { class: "mb-0-last-child" };
|
|
1105
|
+
const _hoisted_2$f = {
|
|
1106
1106
|
key: 0,
|
|
1107
1107
|
class: "flex items-end"
|
|
1108
1108
|
};
|
|
1109
|
-
const _sfc_main$
|
|
1109
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
1110
1110
|
...{
|
|
1111
1111
|
inheritAttrs: false
|
|
1112
1112
|
},
|
|
@@ -1195,7 +1195,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
1195
1195
|
createElementVNode("div", {
|
|
1196
1196
|
class: normalizeClass(["flex w-full flex-1", contentClasses.value])
|
|
1197
1197
|
}, [
|
|
1198
|
-
__props.icon ? (openBlock(), createBlock(_sfc_main$
|
|
1198
|
+
__props.icon ? (openBlock(), createBlock(_sfc_main$y, {
|
|
1199
1199
|
key: 0,
|
|
1200
1200
|
name: __props.icon,
|
|
1201
1201
|
size: 24,
|
|
@@ -1214,16 +1214,16 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
1214
1214
|
createElementVNode("div", {
|
|
1215
1215
|
class: normalizeClass(slotWrapperClasses.value)
|
|
1216
1216
|
}, [
|
|
1217
|
-
createElementVNode("div", _hoisted_1$
|
|
1217
|
+
createElementVNode("div", _hoisted_1$k, [
|
|
1218
1218
|
renderSlot(_ctx.$slots, "default")
|
|
1219
1219
|
]),
|
|
1220
|
-
unref(hasStickerSlot) ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
1220
|
+
unref(hasStickerSlot) ? (openBlock(), createElementBlock("div", _hoisted_2$f, [
|
|
1221
1221
|
renderSlot(_ctx.$slots, "sticker")
|
|
1222
1222
|
])) : createCommentVNode("", true)
|
|
1223
1223
|
], 2)
|
|
1224
1224
|
], 2)
|
|
1225
1225
|
], 2),
|
|
1226
|
-
__props.arrow ? (openBlock(), createBlock(_sfc_main$
|
|
1226
|
+
__props.arrow ? (openBlock(), createBlock(_sfc_main$y, {
|
|
1227
1227
|
key: 0,
|
|
1228
1228
|
name: "arrowRight",
|
|
1229
1229
|
size: 20,
|
|
@@ -1235,8 +1235,8 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
1235
1235
|
};
|
|
1236
1236
|
}
|
|
1237
1237
|
});
|
|
1238
|
-
const _hoisted_1$
|
|
1239
|
-
const _sfc_main$
|
|
1238
|
+
const _hoisted_1$j = ["aria-label"];
|
|
1239
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
1240
1240
|
__name: "FdsSpinner",
|
|
1241
1241
|
props: {
|
|
1242
1242
|
size: { default: "48px" },
|
|
@@ -1316,14 +1316,14 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
1316
1316
|
key: 0,
|
|
1317
1317
|
class: normalizeClass(__props.labelPosition === "bottom" ? "font-bold" : "")
|
|
1318
1318
|
}, toDisplayString(__props.label), 3)) : createCommentVNode("", true)
|
|
1319
|
-
], 16, _hoisted_1$
|
|
1319
|
+
], 16, _hoisted_1$j);
|
|
1320
1320
|
};
|
|
1321
1321
|
}
|
|
1322
1322
|
});
|
|
1323
|
-
const _hoisted_1$
|
|
1324
|
-
const _hoisted_2$
|
|
1323
|
+
const _hoisted_1$i = ["aria-disabled"];
|
|
1324
|
+
const _hoisted_2$e = { class: "pt-0.5" };
|
|
1325
1325
|
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";
|
|
1326
|
-
const _sfc_main$
|
|
1326
|
+
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
1327
1327
|
...{
|
|
1328
1328
|
inheritAttrs: false
|
|
1329
1329
|
},
|
|
@@ -1402,7 +1402,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1402
1402
|
onClick
|
|
1403
1403
|
}), {
|
|
1404
1404
|
default: withCtx(() => [
|
|
1405
|
-
__props.loading ? (openBlock(), createBlock(_sfc_main$
|
|
1405
|
+
__props.loading ? (openBlock(), createBlock(_sfc_main$q, {
|
|
1406
1406
|
key: 0,
|
|
1407
1407
|
class: "mr-2",
|
|
1408
1408
|
size: "24px",
|
|
@@ -1412,25 +1412,25 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1412
1412
|
class: normalizeClass(iconOrderClasses.value),
|
|
1413
1413
|
"aria-hidden": "true"
|
|
1414
1414
|
}, [
|
|
1415
|
-
createVNode(_sfc_main$
|
|
1415
|
+
createVNode(_sfc_main$y, {
|
|
1416
1416
|
class: normalizeClass(iconFillClass2.value),
|
|
1417
1417
|
name: __props.icon,
|
|
1418
1418
|
size: 24
|
|
1419
1419
|
}, null, 8, ["class", "name"])
|
|
1420
1420
|
], 2)) : createCommentVNode("", true),
|
|
1421
|
-
createElementVNode("span", _hoisted_2$
|
|
1421
|
+
createElementVNode("span", _hoisted_2$e, toDisplayString(__props.text), 1)
|
|
1422
1422
|
]),
|
|
1423
1423
|
_: 1
|
|
1424
1424
|
}, 16, ["type", "disabled", "target", "rel", "data-testid", "class"]))
|
|
1425
|
-
], 10, _hoisted_1$
|
|
1425
|
+
], 10, _hoisted_1$i);
|
|
1426
1426
|
};
|
|
1427
1427
|
}
|
|
1428
1428
|
});
|
|
1429
|
-
const _hoisted_1$
|
|
1429
|
+
const _hoisted_1$h = {
|
|
1430
1430
|
key: 0,
|
|
1431
1431
|
class: "flex items-center gap-2 h-7"
|
|
1432
1432
|
};
|
|
1433
|
-
const _sfc_main$
|
|
1433
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
1434
1434
|
__name: "FdsButtonCopy",
|
|
1435
1435
|
props: {
|
|
1436
1436
|
value: { default: "" },
|
|
@@ -1492,10 +1492,10 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
1492
1492
|
}
|
|
1493
1493
|
});
|
|
1494
1494
|
return (_ctx, _cache) => {
|
|
1495
|
-
return isCopied.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
1496
|
-
createVNode(_sfc_main$
|
|
1495
|
+
return isCopied.value ? (openBlock(), createElementBlock("div", _hoisted_1$h, [
|
|
1496
|
+
createVNode(_sfc_main$y, { name: "bigSuccess" }),
|
|
1497
1497
|
createElementVNode("span", null, toDisplayString(props.copiedLabel), 1)
|
|
1498
|
-
])) : (openBlock(), createBlock(_sfc_main$
|
|
1498
|
+
])) : (openBlock(), createBlock(_sfc_main$p, {
|
|
1499
1499
|
key: 1,
|
|
1500
1500
|
type: "button",
|
|
1501
1501
|
disabled: props.disabled,
|
|
@@ -4130,8 +4130,8 @@ function useDownload() {
|
|
|
4130
4130
|
isDownloading
|
|
4131
4131
|
};
|
|
4132
4132
|
}
|
|
4133
|
-
const _hoisted_1$
|
|
4134
|
-
const _sfc_main$
|
|
4133
|
+
const _hoisted_1$g = ["disabled", "aria-disabled"];
|
|
4134
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
4135
4135
|
__name: "FdsButtonDownload",
|
|
4136
4136
|
props: {
|
|
4137
4137
|
loading: { type: Boolean, default: false },
|
|
@@ -4232,23 +4232,23 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
4232
4232
|
class: normalizeClass(iconOrderClasses.value),
|
|
4233
4233
|
"aria-hidden": "true"
|
|
4234
4234
|
}, [
|
|
4235
|
-
createVNode(_sfc_main$
|
|
4235
|
+
createVNode(_sfc_main$y, {
|
|
4236
4236
|
class: normalizeClass(iconFillClass2.value),
|
|
4237
4237
|
name: "download",
|
|
4238
4238
|
size: 24
|
|
4239
4239
|
}, null, 8, ["class"])
|
|
4240
4240
|
], 2),
|
|
4241
4241
|
createTextVNode(" " + toDisplayString(__props.text), 1)
|
|
4242
|
-
], 16, _hoisted_1$
|
|
4242
|
+
], 16, _hoisted_1$g);
|
|
4243
4243
|
};
|
|
4244
4244
|
}
|
|
4245
4245
|
});
|
|
4246
|
-
const _hoisted_1$
|
|
4247
|
-
const _hoisted_2$
|
|
4246
|
+
const _hoisted_1$f = ["aria-disabled"];
|
|
4247
|
+
const _hoisted_2$d = { key: 2 };
|
|
4248
4248
|
const elBase$1 = "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";
|
|
4249
4249
|
const variantClasses$1 = "bg-red-600 border border-red-700 text-white hover:bg-red-700 active:bg-red-800 active:border-red-800";
|
|
4250
4250
|
const iconFillClass$1 = "fill-white";
|
|
4251
|
-
const _sfc_main$
|
|
4251
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
4252
4252
|
...{
|
|
4253
4253
|
inheritAttrs: false
|
|
4254
4254
|
},
|
|
@@ -4326,7 +4326,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
4326
4326
|
onClick
|
|
4327
4327
|
}), {
|
|
4328
4328
|
default: withCtx(() => [
|
|
4329
|
-
__props.loading ? (openBlock(), createBlock(_sfc_main$
|
|
4329
|
+
__props.loading ? (openBlock(), createBlock(_sfc_main$q, {
|
|
4330
4330
|
key: 0,
|
|
4331
4331
|
size: "24px",
|
|
4332
4332
|
color: "inherit"
|
|
@@ -4335,26 +4335,26 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
4335
4335
|
class: normalizeClass(iconOrderClasses.value),
|
|
4336
4336
|
"aria-hidden": "true"
|
|
4337
4337
|
}, [
|
|
4338
|
-
createVNode(_sfc_main$
|
|
4338
|
+
createVNode(_sfc_main$y, {
|
|
4339
4339
|
class: normalizeClass(iconFillClass$1),
|
|
4340
4340
|
name: __props.icon,
|
|
4341
4341
|
size: 24
|
|
4342
4342
|
}, null, 8, ["name"])
|
|
4343
4343
|
], 2)) : createCommentVNode("", true),
|
|
4344
|
-
__props.text ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
4344
|
+
__props.text ? (openBlock(), createElementBlock("span", _hoisted_2$d, toDisplayString(__props.text), 1)) : createCommentVNode("", true)
|
|
4345
4345
|
]),
|
|
4346
4346
|
_: 1
|
|
4347
4347
|
}, 16, ["type", "disabled", "data-testid", "class"]))
|
|
4348
|
-
], 10, _hoisted_1$
|
|
4348
|
+
], 10, _hoisted_1$f);
|
|
4349
4349
|
};
|
|
4350
4350
|
}
|
|
4351
4351
|
});
|
|
4352
|
-
const _hoisted_1$
|
|
4353
|
-
const _hoisted_2$
|
|
4352
|
+
const _hoisted_1$e = ["aria-disabled"];
|
|
4353
|
+
const _hoisted_2$c = { key: 2 };
|
|
4354
4354
|
const elBase = "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";
|
|
4355
4355
|
const variantClasses = "bg-white border-2 border-blue-500 text-blue-600 hover:border-blue-600 active:bg-blue-600 active:border-blue-600 active:text-white";
|
|
4356
4356
|
const iconFillClass = "fill-blue-500";
|
|
4357
|
-
const _sfc_main$
|
|
4357
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
4358
4358
|
...{
|
|
4359
4359
|
inheritAttrs: false
|
|
4360
4360
|
},
|
|
@@ -4432,7 +4432,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
4432
4432
|
onClick
|
|
4433
4433
|
}), {
|
|
4434
4434
|
default: withCtx(() => [
|
|
4435
|
-
__props.loading ? (openBlock(), createBlock(_sfc_main$
|
|
4435
|
+
__props.loading ? (openBlock(), createBlock(_sfc_main$q, {
|
|
4436
4436
|
key: 0,
|
|
4437
4437
|
size: "24px",
|
|
4438
4438
|
color: "inherit"
|
|
@@ -4441,17 +4441,17 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
4441
4441
|
class: normalizeClass(iconOrderClasses.value),
|
|
4442
4442
|
"aria-hidden": "true"
|
|
4443
4443
|
}, [
|
|
4444
|
-
createVNode(_sfc_main$
|
|
4444
|
+
createVNode(_sfc_main$y, {
|
|
4445
4445
|
class: normalizeClass(iconFillClass),
|
|
4446
4446
|
name: __props.icon,
|
|
4447
4447
|
size: 24
|
|
4448
4448
|
}, null, 8, ["name"])
|
|
4449
4449
|
], 2)) : createCommentVNode("", true),
|
|
4450
|
-
__props.text ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
4450
|
+
__props.text ? (openBlock(), createElementBlock("span", _hoisted_2$c, toDisplayString(__props.text), 1)) : createCommentVNode("", true)
|
|
4451
4451
|
]),
|
|
4452
4452
|
_: 1
|
|
4453
4453
|
}, 16, ["type", "disabled", "data-testid", "class"]))
|
|
4454
|
-
], 10, _hoisted_1$
|
|
4454
|
+
], 10, _hoisted_1$e);
|
|
4455
4455
|
};
|
|
4456
4456
|
}
|
|
4457
4457
|
});
|
|
@@ -4480,89 +4480,9 @@ function useDevMode() {
|
|
|
4480
4480
|
}
|
|
4481
4481
|
return devModeInstance;
|
|
4482
4482
|
}
|
|
4483
|
-
const
|
|
4484
|
-
|
|
4485
|
-
|
|
4486
|
-
environment: { default: null }
|
|
4487
|
-
},
|
|
4488
|
-
setup(__props) {
|
|
4489
|
-
const props = __props;
|
|
4490
|
-
const { isDevMode, toggleDevMode } = useDevMode();
|
|
4491
|
-
const hideEnvBanner = ref(false);
|
|
4492
|
-
const environmentKey = computed(() => props.environment ?? null);
|
|
4493
|
-
const environmentText = computed(() => {
|
|
4494
|
-
switch (environmentKey.value) {
|
|
4495
|
-
case "localhost":
|
|
4496
|
-
return "Localhost";
|
|
4497
|
-
case "development":
|
|
4498
|
-
return "Development";
|
|
4499
|
-
case "development:feature-branch":
|
|
4500
|
-
return "Dev: Feature";
|
|
4501
|
-
case "preprod":
|
|
4502
|
-
return "Preprod";
|
|
4503
|
-
case "demo":
|
|
4504
|
-
return "Demo";
|
|
4505
|
-
case "production":
|
|
4506
|
-
return "Production";
|
|
4507
|
-
default:
|
|
4508
|
-
return "Environment not found";
|
|
4509
|
-
}
|
|
4510
|
-
});
|
|
4511
|
-
const renderEnvBanner = computed(() => {
|
|
4512
|
-
if (hideEnvBanner.value || environmentKey.value === null) return false;
|
|
4513
|
-
return environmentKey.value === "localhost" || environmentKey.value === "development" || environmentKey.value === "development:feature-branch" || environmentKey.value === "preprod";
|
|
4514
|
-
});
|
|
4515
|
-
const envBannerClasses = computed(() => {
|
|
4516
|
-
if (isDevMode.value) {
|
|
4517
|
-
return "bg-green-500 text-white";
|
|
4518
|
-
}
|
|
4519
|
-
if (environmentKey.value === "localhost" || environmentKey.value === "development" || environmentKey.value === "development:feature-branch") {
|
|
4520
|
-
return "bg-yellow-400 text-gray-900";
|
|
4521
|
-
}
|
|
4522
|
-
if (environmentKey.value === "preprod") {
|
|
4523
|
-
return "bg-red-500 text-white-solid";
|
|
4524
|
-
}
|
|
4525
|
-
return "";
|
|
4526
|
-
});
|
|
4527
|
-
const envBannerFillColor = computed(() => {
|
|
4528
|
-
if (isDevMode.value) {
|
|
4529
|
-
return "fill-white";
|
|
4530
|
-
}
|
|
4531
|
-
if (environmentKey.value === "localhost" || environmentKey.value === "development" || environmentKey.value === "development:feature-branch") {
|
|
4532
|
-
return "fill-gray-900";
|
|
4533
|
-
}
|
|
4534
|
-
if (environmentKey.value === "preprod") {
|
|
4535
|
-
return "fill-white";
|
|
4536
|
-
}
|
|
4537
|
-
return "";
|
|
4538
|
-
});
|
|
4539
|
-
const handleEnvBanner = () => {
|
|
4540
|
-
hideEnvBanner.value = true;
|
|
4541
|
-
};
|
|
4542
|
-
return (_ctx, _cache) => {
|
|
4543
|
-
return renderEnvBanner.value ? (openBlock(), createElementBlock("div", {
|
|
4544
|
-
key: 0,
|
|
4545
|
-
class: normalizeClass(["fixed bottom-0 right-12 font-bold m-6 px-3 py-1 rounded-xl z-50 flex items-center gap-1", envBannerClasses.value])
|
|
4546
|
-
}, [
|
|
4547
|
-
createElementVNode("span", null, toDisplayString(environmentText.value), 1),
|
|
4548
|
-
createElementVNode("button", {
|
|
4549
|
-
onClick: _cache[0] || (_cache[0] = //@ts-ignore
|
|
4550
|
-
(...args) => unref(toggleDevMode) && unref(toggleDevMode)(...args)),
|
|
4551
|
-
class: "mx-1 py-1 rounded text-xs font-bold bg-white bg-opacity-20 text-black hover:bg-opacity-30 min-w-[120px]"
|
|
4552
|
-
}, toDisplayString(unref(isDevMode) ? "Dev mode: ON" : "Dev mode: OFF"), 1),
|
|
4553
|
-
createVNode(_sfc_main$w, {
|
|
4554
|
-
onClick: handleEnvBanner,
|
|
4555
|
-
icon: "cross",
|
|
4556
|
-
size: 24,
|
|
4557
|
-
class: normalizeClass(envBannerFillColor.value)
|
|
4558
|
-
}, null, 8, ["class"])
|
|
4559
|
-
], 2)) : createCommentVNode("", true);
|
|
4560
|
-
};
|
|
4561
|
-
}
|
|
4562
|
-
});
|
|
4563
|
-
const _hoisted_1$c = { class: "flex justify-between mb-4" };
|
|
4564
|
-
const _hoisted_2$a = { class: "mb-0-last-child" };
|
|
4565
|
-
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
4483
|
+
const _hoisted_1$d = { class: "flex justify-between mb-4" };
|
|
4484
|
+
const _hoisted_2$b = { class: "mb-0-last-child" };
|
|
4485
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
4566
4486
|
__name: "FdsModal",
|
|
4567
4487
|
props: {
|
|
4568
4488
|
open: { type: Boolean, default: false },
|
|
@@ -4709,79 +4629,815 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
4709
4629
|
});
|
|
4710
4630
|
}
|
|
4711
4631
|
}
|
|
4712
|
-
);
|
|
4713
|
-
onMounted(() => {
|
|
4714
|
-
document.addEventListener("keydown", handleKeyDown, true);
|
|
4715
|
-
if (props.open) {
|
|
4716
|
-
previouslyFocusedElement.value = document.activeElement;
|
|
4717
|
-
if (props.lockScroll) {
|
|
4718
|
-
setHtmlOverflow("hidden");
|
|
4719
|
-
}
|
|
4720
|
-
trapFocus();
|
|
4632
|
+
);
|
|
4633
|
+
onMounted(() => {
|
|
4634
|
+
document.addEventListener("keydown", handleKeyDown, true);
|
|
4635
|
+
if (props.open) {
|
|
4636
|
+
previouslyFocusedElement.value = document.activeElement;
|
|
4637
|
+
if (props.lockScroll) {
|
|
4638
|
+
setHtmlOverflow("hidden");
|
|
4639
|
+
}
|
|
4640
|
+
trapFocus();
|
|
4641
|
+
}
|
|
4642
|
+
});
|
|
4643
|
+
onBeforeUnmount(() => {
|
|
4644
|
+
document.removeEventListener("keydown", handleKeyDown, true);
|
|
4645
|
+
setHtmlOverflow("auto");
|
|
4646
|
+
if (cleanupFocusTrap) {
|
|
4647
|
+
cleanupFocusTrap();
|
|
4648
|
+
}
|
|
4649
|
+
});
|
|
4650
|
+
const modalAttrs = computed(() => {
|
|
4651
|
+
const attrs = {};
|
|
4652
|
+
if (props.dataTestid) {
|
|
4653
|
+
attrs["data-testid"] = props.dataTestid;
|
|
4654
|
+
}
|
|
4655
|
+
return attrs;
|
|
4656
|
+
});
|
|
4657
|
+
return (_ctx, _cache) => {
|
|
4658
|
+
return openBlock(), createBlock(Teleport, { to: "body" }, [
|
|
4659
|
+
isOpen.value ? (openBlock(), createElementBlock("div", {
|
|
4660
|
+
key: 0,
|
|
4661
|
+
onClick: handleBackdropClick,
|
|
4662
|
+
class: normalizeClass(modalOuterClasses.value)
|
|
4663
|
+
}, [
|
|
4664
|
+
_cache[2] || (_cache[2] = createElementVNode("div", { class: "fixed top-0 left-0 w-full h-full bg-black/34 z-99" }, null, -1)),
|
|
4665
|
+
createElementVNode("div", mergeProps({
|
|
4666
|
+
class: ["fds-modal-inner", modalInnerClasses.value],
|
|
4667
|
+
role: "alertdialog",
|
|
4668
|
+
"aria-modal": "true"
|
|
4669
|
+
}, modalAttrs.value, {
|
|
4670
|
+
onClick: _cache[1] || (_cache[1] = withModifiers(() => {
|
|
4671
|
+
}, ["stop"]))
|
|
4672
|
+
}), [
|
|
4673
|
+
createElementVNode("div", _hoisted_1$d, [
|
|
4674
|
+
createElementVNode("h3", {
|
|
4675
|
+
tabindex: "-1",
|
|
4676
|
+
class: normalizeClass(headerTitleClasses.value)
|
|
4677
|
+
}, [
|
|
4678
|
+
iconName.value ? (openBlock(), createBlock(_sfc_main$y, {
|
|
4679
|
+
key: 0,
|
|
4680
|
+
name: iconName.value,
|
|
4681
|
+
size: 24,
|
|
4682
|
+
class: normalizeClass(iconClasses.value)
|
|
4683
|
+
}, null, 8, ["name", "class"])) : createCommentVNode("", true),
|
|
4684
|
+
createTextVNode(" " + toDisplayString(__props.heading), 1)
|
|
4685
|
+
], 2),
|
|
4686
|
+
!__props.strict ? (openBlock(), createBlock(_sfc_main$x, mergeProps({
|
|
4687
|
+
key: 0,
|
|
4688
|
+
icon: "cross",
|
|
4689
|
+
size: 28,
|
|
4690
|
+
onClick: _cache[0] || (_cache[0] = ($event) => handleClose("icon"))
|
|
4691
|
+
}, { "aria-label": closeLabel.value }, { class: "ml-4" }), null, 16)) : createCommentVNode("", true)
|
|
4692
|
+
]),
|
|
4693
|
+
createElementVNode("div", _hoisted_2$b, [
|
|
4694
|
+
renderSlot(_ctx.$slots, "default")
|
|
4695
|
+
]),
|
|
4696
|
+
unref(hasFooterSlot) ? (openBlock(), createElementBlock("div", {
|
|
4697
|
+
key: 0,
|
|
4698
|
+
class: normalizeClass(footerClasses.value)
|
|
4699
|
+
}, [
|
|
4700
|
+
renderSlot(_ctx.$slots, "modal-footer")
|
|
4701
|
+
], 2)) : createCommentVNode("", true)
|
|
4702
|
+
], 16)
|
|
4703
|
+
], 2)) : createCommentVNode("", true)
|
|
4704
|
+
]);
|
|
4705
|
+
};
|
|
4706
|
+
}
|
|
4707
|
+
});
|
|
4708
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
4709
|
+
__name: "FdsTabs",
|
|
4710
|
+
props: {
|
|
4711
|
+
block: { type: Boolean, default: false },
|
|
4712
|
+
variant: { default: "primary" },
|
|
4713
|
+
dataTestid: { default: void 0 }
|
|
4714
|
+
},
|
|
4715
|
+
setup(__props) {
|
|
4716
|
+
const props = __props;
|
|
4717
|
+
const tabsClasses = computed(() => [
|
|
4718
|
+
"inline-flex overflow-auto max-w-full p-0.5 gap-0.5",
|
|
4719
|
+
{
|
|
4720
|
+
"flex justify-between w-full": props.block,
|
|
4721
|
+
"bg-blue_t-100 rounded-[10px] mb-8": props.variant === "primary",
|
|
4722
|
+
"gap-2 mb-4": props.variant === "secondary"
|
|
4723
|
+
}
|
|
4724
|
+
]);
|
|
4725
|
+
const rootAttrs = computed(() => {
|
|
4726
|
+
const attrs = {};
|
|
4727
|
+
if (props.dataTestid) {
|
|
4728
|
+
attrs["data-testid"] = props.dataTestid;
|
|
4729
|
+
}
|
|
4730
|
+
return attrs;
|
|
4731
|
+
});
|
|
4732
|
+
provide("tabsVariant", props.variant);
|
|
4733
|
+
provide("tabsBlock", props.block);
|
|
4734
|
+
return (_ctx, _cache) => {
|
|
4735
|
+
return openBlock(), createElementBlock("div", mergeProps({ class: tabsClasses.value }, rootAttrs.value), [
|
|
4736
|
+
renderSlot(_ctx.$slots, "default")
|
|
4737
|
+
], 16);
|
|
4738
|
+
};
|
|
4739
|
+
}
|
|
4740
|
+
});
|
|
4741
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
4742
|
+
...{
|
|
4743
|
+
inheritAttrs: false
|
|
4744
|
+
},
|
|
4745
|
+
__name: "FdsTabsItem",
|
|
4746
|
+
props: {
|
|
4747
|
+
to: { default: void 0 },
|
|
4748
|
+
href: { default: void 0 },
|
|
4749
|
+
as: { default: void 0 },
|
|
4750
|
+
active: { type: Boolean, default: void 0 },
|
|
4751
|
+
exact: { type: Boolean, default: false },
|
|
4752
|
+
disabled: { type: Boolean, default: false },
|
|
4753
|
+
label: { default: void 0 },
|
|
4754
|
+
dataTestid: { default: void 0 }
|
|
4755
|
+
},
|
|
4756
|
+
emits: ["click"],
|
|
4757
|
+
setup(__props, { emit: __emit }) {
|
|
4758
|
+
const emit = __emit;
|
|
4759
|
+
const handleClick = (ev) => {
|
|
4760
|
+
if (props.disabled) {
|
|
4761
|
+
ev.preventDefault();
|
|
4762
|
+
return;
|
|
4763
|
+
}
|
|
4764
|
+
emit("click", ev);
|
|
4765
|
+
};
|
|
4766
|
+
const instance = getCurrentInstance();
|
|
4767
|
+
const route = computed(() => {
|
|
4768
|
+
try {
|
|
4769
|
+
const router = instance?.appContext.config.globalProperties.$router;
|
|
4770
|
+
if (router && router.currentRoute) {
|
|
4771
|
+
return router.currentRoute.value;
|
|
4772
|
+
}
|
|
4773
|
+
} catch {
|
|
4774
|
+
}
|
|
4775
|
+
return null;
|
|
4776
|
+
});
|
|
4777
|
+
const props = __props;
|
|
4778
|
+
const { attrs } = useAttrsWithDefaults(props);
|
|
4779
|
+
const variant = inject("tabsVariant", "primary");
|
|
4780
|
+
const block = inject("tabsBlock", false);
|
|
4781
|
+
const isActive = computed(() => {
|
|
4782
|
+
if (props.active !== void 0) return props.active;
|
|
4783
|
+
const currentRoute = route.value;
|
|
4784
|
+
if (!currentRoute) return false;
|
|
4785
|
+
const currentPath = currentRoute.path;
|
|
4786
|
+
if (props.exact) {
|
|
4787
|
+
if (props.to && currentPath === props.to) return true;
|
|
4788
|
+
if (props.href && currentPath === props.href) return true;
|
|
4789
|
+
} else {
|
|
4790
|
+
if (props.to && currentPath.includes(props.to)) return true;
|
|
4791
|
+
if (props.href && currentPath.includes(props.href)) return true;
|
|
4792
|
+
}
|
|
4793
|
+
return false;
|
|
4794
|
+
});
|
|
4795
|
+
const componentType = computed(() => {
|
|
4796
|
+
if (props.as) return props.as;
|
|
4797
|
+
if (props.href) return "a";
|
|
4798
|
+
if (props.to) return "router-link";
|
|
4799
|
+
return "router-link";
|
|
4800
|
+
});
|
|
4801
|
+
const linkAttrs = computed(() => {
|
|
4802
|
+
if (componentType.value === "a") return { href: props.href || props.to };
|
|
4803
|
+
if (componentType.value === "router-link") {
|
|
4804
|
+
return { to: props.to || props.href || route.value?.path || "#" };
|
|
4805
|
+
}
|
|
4806
|
+
return {};
|
|
4807
|
+
});
|
|
4808
|
+
const componentAttrs = computed(() => ({
|
|
4809
|
+
...linkAttrs.value,
|
|
4810
|
+
...attrs
|
|
4811
|
+
}));
|
|
4812
|
+
const baseClasses = computed(() => {
|
|
4813
|
+
const blockClasses = block ? "flex flex-1" : "";
|
|
4814
|
+
return [
|
|
4815
|
+
"text-center",
|
|
4816
|
+
blockClasses,
|
|
4817
|
+
"flex justify-center w-full cursor-pointer font-bold text-base leading-6 m-0 select-none no-underline whitespace-nowrap"
|
|
4818
|
+
];
|
|
4819
|
+
});
|
|
4820
|
+
const variantClasses2 = computed(() => {
|
|
4821
|
+
if (variant === "primary") {
|
|
4822
|
+
return [
|
|
4823
|
+
"bg-transparent py-2 px-4 rounded-lg border-2 border-transparent text-inherit",
|
|
4824
|
+
isActive.value ? "border-transparent bg-white shadow-md" : "hover:bg-white/59 hover:outline-none active:border-transparent active:bg-white/80",
|
|
4825
|
+
"focus-visible:outline-dashed focus-visible:outline-2 focus-visible:outline-blue-500 focus-visible:outline-offset-[-2px]"
|
|
4826
|
+
];
|
|
4827
|
+
} else {
|
|
4828
|
+
return [
|
|
4829
|
+
"text-blue-700 py-1 px-2 rounded-md border-none",
|
|
4830
|
+
isActive.value ? "bg-blue-600 text-white" : "hover:bg-blue_t-100 active:bg-blue_t-200",
|
|
4831
|
+
"focus-visible:outline-dashed focus-visible:outline-2 focus-visible:outline-blue-500",
|
|
4832
|
+
"tracking-[0.002em]"
|
|
4833
|
+
];
|
|
4834
|
+
}
|
|
4835
|
+
});
|
|
4836
|
+
const disabledClasses = computed(() => props.disabled ? "cursor-not-allowed pointer-events-none opacity-35" : "");
|
|
4837
|
+
const buttonClasses = computed(() => [...baseClasses.value, ...variantClasses2.value, disabledClasses.value]);
|
|
4838
|
+
return (_ctx, _cache) => {
|
|
4839
|
+
return openBlock(), createBlock(resolveDynamicComponent(componentType.value), mergeProps(componentAttrs.value, {
|
|
4840
|
+
class: buttonClasses.value,
|
|
4841
|
+
disabled: componentType.value === "button" ? props.disabled : void 0,
|
|
4842
|
+
"aria-disabled": props.disabled ? "true" : void 0,
|
|
4843
|
+
"aria-current": isActive.value ? "page" : void 0,
|
|
4844
|
+
"data-testid": __props.dataTestid,
|
|
4845
|
+
onClick: handleClick
|
|
4846
|
+
}), {
|
|
4847
|
+
default: withCtx(() => [
|
|
4848
|
+
createTextVNode(toDisplayString(__props.label) + " ", 1),
|
|
4849
|
+
renderSlot(_ctx.$slots, "default")
|
|
4850
|
+
]),
|
|
4851
|
+
_: 3
|
|
4852
|
+
}, 16, ["class", "disabled", "aria-disabled", "aria-current", "data-testid"]);
|
|
4853
|
+
};
|
|
4854
|
+
}
|
|
4855
|
+
});
|
|
4856
|
+
const _hoisted_1$c = { class: "space-y-6" };
|
|
4857
|
+
const _hoisted_2$a = {
|
|
4858
|
+
key: 0,
|
|
4859
|
+
class: "text-sm text-gray-600"
|
|
4860
|
+
};
|
|
4861
|
+
const _hoisted_3$8 = {
|
|
4862
|
+
key: 1,
|
|
4863
|
+
class: "max-h-72 overflow-auto border border-gray-200 rounded-md"
|
|
4864
|
+
};
|
|
4865
|
+
const _hoisted_4$7 = { class: "w-full text-left text-xs border-collapse" };
|
|
4866
|
+
const _hoisted_5$6 = ["onClick"];
|
|
4867
|
+
const _hoisted_6$3 = { class: "py-1.5 px-3 font-mono break-all" };
|
|
4868
|
+
const _hoisted_7$3 = { class: "py-1.5 px-3 font-mono whitespace-pre-wrap break-all" };
|
|
4869
|
+
const _hoisted_8$2 = { class: "mt-4 space-y-2" };
|
|
4870
|
+
const _hoisted_9$2 = { class: "flex flex-col gap-1" };
|
|
4871
|
+
const _hoisted_10$1 = { class: "flex flex-col gap-1" };
|
|
4872
|
+
const _hoisted_11$1 = {
|
|
4873
|
+
key: 0,
|
|
4874
|
+
class: "mt-2 flex flex-wrap gap-2"
|
|
4875
|
+
};
|
|
4876
|
+
const _hoisted_12 = {
|
|
4877
|
+
key: 0,
|
|
4878
|
+
class: "text-sm text-gray-600"
|
|
4879
|
+
};
|
|
4880
|
+
const _hoisted_13 = {
|
|
4881
|
+
key: 1,
|
|
4882
|
+
class: "max-h-72 overflow-auto border border-gray-200 rounded-md"
|
|
4883
|
+
};
|
|
4884
|
+
const _hoisted_14 = { class: "w-full text-left text-xs border-collapse" };
|
|
4885
|
+
const _hoisted_15 = ["onClick"];
|
|
4886
|
+
const _hoisted_16 = { class: "py-1.5 px-3 font-mono break-all" };
|
|
4887
|
+
const _hoisted_17 = { class: "py-1.5 px-3 font-mono whitespace-pre-wrap break-all" };
|
|
4888
|
+
const _hoisted_18 = { class: "mt-4 space-y-2" };
|
|
4889
|
+
const _hoisted_19 = { class: "flex flex-col gap-1" };
|
|
4890
|
+
const _hoisted_20 = { class: "flex flex-col gap-1" };
|
|
4891
|
+
const _hoisted_21 = {
|
|
4892
|
+
key: 0,
|
|
4893
|
+
class: "mt-2 flex flex-wrap gap-2"
|
|
4894
|
+
};
|
|
4895
|
+
const _hoisted_22 = {
|
|
4896
|
+
key: 0,
|
|
4897
|
+
class: "text-sm text-gray-600"
|
|
4898
|
+
};
|
|
4899
|
+
const _hoisted_23 = {
|
|
4900
|
+
key: 1,
|
|
4901
|
+
class: "max-h-72 overflow-auto border border-gray-200 rounded-md"
|
|
4902
|
+
};
|
|
4903
|
+
const _hoisted_24 = { class: "w-full text-left text-xs border-collapse" };
|
|
4904
|
+
const _hoisted_25 = ["onClick"];
|
|
4905
|
+
const _hoisted_26 = { class: "py-1.5 px-3 font-mono break-all" };
|
|
4906
|
+
const _hoisted_27 = { class: "py-1.5 px-3 font-mono whitespace-pre-wrap break-all" };
|
|
4907
|
+
const _hoisted_28 = { class: "mt-4 space-y-2" };
|
|
4908
|
+
const _hoisted_29 = { class: "flex flex-col gap-1" };
|
|
4909
|
+
const _hoisted_30 = { class: "flex flex-col gap-1" };
|
|
4910
|
+
const _hoisted_31 = {
|
|
4911
|
+
key: 0,
|
|
4912
|
+
class: "mt-2 flex flex-wrap gap-2"
|
|
4913
|
+
};
|
|
4914
|
+
const _hoisted_32 = { class: "mt-4 flex justify-end gap-3" };
|
|
4915
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
4916
|
+
__name: "FdsDevModeStorage",
|
|
4917
|
+
props: {
|
|
4918
|
+
open: { type: Boolean, default: false }
|
|
4919
|
+
},
|
|
4920
|
+
emits: ["update:open"],
|
|
4921
|
+
setup(__props, { emit: __emit }) {
|
|
4922
|
+
const props = __props;
|
|
4923
|
+
const emit = __emit;
|
|
4924
|
+
const isOpen = computed({
|
|
4925
|
+
get: () => props.open,
|
|
4926
|
+
set: (value) => emit("update:open", value)
|
|
4927
|
+
});
|
|
4928
|
+
const activeTab = ref("local");
|
|
4929
|
+
const localStorageEntries = ref([]);
|
|
4930
|
+
const sessionStorageEntries = ref([]);
|
|
4931
|
+
const cookieEntries = ref([]);
|
|
4932
|
+
const localEditKey = ref("");
|
|
4933
|
+
const localEditValue = ref("");
|
|
4934
|
+
const sessionEditKey = ref("");
|
|
4935
|
+
const sessionEditValue = ref("");
|
|
4936
|
+
const cookieEditKey = ref("");
|
|
4937
|
+
const cookieEditValue = ref("");
|
|
4938
|
+
const localTextareaRef = ref(null);
|
|
4939
|
+
const sessionTextareaRef = ref(null);
|
|
4940
|
+
const cookieTextareaRef = ref(null);
|
|
4941
|
+
const resizeTextarea = (el) => {
|
|
4942
|
+
if (!el) return;
|
|
4943
|
+
if (!el.value) {
|
|
4944
|
+
el.style.height = "";
|
|
4945
|
+
return;
|
|
4946
|
+
}
|
|
4947
|
+
el.style.height = "auto";
|
|
4948
|
+
el.style.height = `${el.scrollHeight}px`;
|
|
4949
|
+
};
|
|
4950
|
+
const loadStorageEntries = () => {
|
|
4951
|
+
if (typeof window === "undefined") {
|
|
4952
|
+
localStorageEntries.value = [];
|
|
4953
|
+
sessionStorageEntries.value = [];
|
|
4954
|
+
cookieEntries.value = [];
|
|
4955
|
+
return;
|
|
4956
|
+
}
|
|
4957
|
+
const extractEntries = (storage) => {
|
|
4958
|
+
const entries = [];
|
|
4959
|
+
for (let i = 0; i < storage.length; i += 1) {
|
|
4960
|
+
const key = storage.key(i);
|
|
4961
|
+
if (!key) continue;
|
|
4962
|
+
let value;
|
|
4963
|
+
try {
|
|
4964
|
+
value = storage.getItem(key) ?? "";
|
|
4965
|
+
} catch {
|
|
4966
|
+
value = "[unreadable value]";
|
|
4967
|
+
}
|
|
4968
|
+
entries.push({ key, value });
|
|
4969
|
+
}
|
|
4970
|
+
return entries;
|
|
4971
|
+
};
|
|
4972
|
+
localStorageEntries.value = extractEntries(window.localStorage);
|
|
4973
|
+
sessionStorageEntries.value = extractEntries(window.sessionStorage);
|
|
4974
|
+
const cookiesSource = typeof document !== "undefined" && document.cookie ? document.cookie.split("; ") : [];
|
|
4975
|
+
cookieEntries.value = cookiesSource.filter(Boolean).map((cookie) => {
|
|
4976
|
+
const [rawKey, ...rest] = cookie.split("=");
|
|
4977
|
+
const key = decodeURIComponent(rawKey || "");
|
|
4978
|
+
const value = decodeURIComponent(rest.join("="));
|
|
4979
|
+
return {
|
|
4980
|
+
key,
|
|
4981
|
+
value
|
|
4982
|
+
};
|
|
4983
|
+
});
|
|
4984
|
+
};
|
|
4985
|
+
const handleOpenChange = (value) => {
|
|
4986
|
+
if (value) {
|
|
4987
|
+
loadStorageEntries();
|
|
4988
|
+
}
|
|
4989
|
+
isOpen.value = value;
|
|
4990
|
+
};
|
|
4991
|
+
watch(
|
|
4992
|
+
() => props.open,
|
|
4993
|
+
(newVal) => {
|
|
4994
|
+
if (newVal) {
|
|
4995
|
+
loadStorageEntries();
|
|
4996
|
+
}
|
|
4997
|
+
}
|
|
4998
|
+
);
|
|
4999
|
+
const refreshStorageEntries = () => {
|
|
5000
|
+
loadStorageEntries();
|
|
5001
|
+
};
|
|
5002
|
+
const selectLocalEntry = (entry) => {
|
|
5003
|
+
localEditKey.value = entry.key;
|
|
5004
|
+
localEditValue.value = entry.value;
|
|
5005
|
+
nextTick(() => resizeTextarea(localTextareaRef.value));
|
|
5006
|
+
};
|
|
5007
|
+
const selectSessionEntry = (entry) => {
|
|
5008
|
+
sessionEditKey.value = entry.key;
|
|
5009
|
+
sessionEditValue.value = entry.value;
|
|
5010
|
+
nextTick(() => resizeTextarea(sessionTextareaRef.value));
|
|
5011
|
+
};
|
|
5012
|
+
const selectCookieEntry = (entry) => {
|
|
5013
|
+
cookieEditKey.value = entry.key;
|
|
5014
|
+
cookieEditValue.value = entry.value;
|
|
5015
|
+
nextTick(() => resizeTextarea(cookieTextareaRef.value));
|
|
5016
|
+
};
|
|
5017
|
+
const saveLocalEntry = () => {
|
|
5018
|
+
if (typeof window === "undefined") return;
|
|
5019
|
+
if (!localEditKey.value) return;
|
|
5020
|
+
window.localStorage.setItem(localEditKey.value, localEditValue.value);
|
|
5021
|
+
localEditKey.value = "";
|
|
5022
|
+
localEditValue.value = "";
|
|
5023
|
+
nextTick(() => resizeTextarea(localTextareaRef.value));
|
|
5024
|
+
loadStorageEntries();
|
|
5025
|
+
};
|
|
5026
|
+
const deleteLocalEntry = () => {
|
|
5027
|
+
if (typeof window === "undefined") return;
|
|
5028
|
+
if (!localEditKey.value) return;
|
|
5029
|
+
window.localStorage.removeItem(localEditKey.value);
|
|
5030
|
+
localEditKey.value = "";
|
|
5031
|
+
localEditValue.value = "";
|
|
5032
|
+
nextTick(() => resizeTextarea(localTextareaRef.value));
|
|
5033
|
+
loadStorageEntries();
|
|
5034
|
+
};
|
|
5035
|
+
const saveSessionEntry = () => {
|
|
5036
|
+
if (typeof window === "undefined") return;
|
|
5037
|
+
if (!sessionEditKey.value) return;
|
|
5038
|
+
window.sessionStorage.setItem(sessionEditKey.value, sessionEditValue.value);
|
|
5039
|
+
sessionEditKey.value = "";
|
|
5040
|
+
sessionEditValue.value = "";
|
|
5041
|
+
nextTick(() => resizeTextarea(sessionTextareaRef.value));
|
|
5042
|
+
loadStorageEntries();
|
|
5043
|
+
};
|
|
5044
|
+
const deleteSessionEntry = () => {
|
|
5045
|
+
if (typeof window === "undefined") return;
|
|
5046
|
+
if (!sessionEditKey.value) return;
|
|
5047
|
+
window.sessionStorage.removeItem(sessionEditKey.value);
|
|
5048
|
+
sessionEditKey.value = "";
|
|
5049
|
+
sessionEditValue.value = "";
|
|
5050
|
+
nextTick(() => resizeTextarea(sessionTextareaRef.value));
|
|
5051
|
+
loadStorageEntries();
|
|
5052
|
+
};
|
|
5053
|
+
const saveCookieEntry = () => {
|
|
5054
|
+
if (typeof document === "undefined") return;
|
|
5055
|
+
if (!cookieEditKey.value) return;
|
|
5056
|
+
document.cookie = `${encodeURIComponent(cookieEditKey.value)}=${encodeURIComponent(cookieEditValue.value)}; path=/`;
|
|
5057
|
+
cookieEditKey.value = "";
|
|
5058
|
+
cookieEditValue.value = "";
|
|
5059
|
+
nextTick(() => resizeTextarea(cookieTextareaRef.value));
|
|
5060
|
+
loadStorageEntries();
|
|
5061
|
+
};
|
|
5062
|
+
const deleteCookieEntry = () => {
|
|
5063
|
+
if (typeof document === "undefined") return;
|
|
5064
|
+
if (!cookieEditKey.value) return;
|
|
5065
|
+
document.cookie = `${encodeURIComponent(cookieEditKey.value)}=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/`;
|
|
5066
|
+
cookieEditKey.value = "";
|
|
5067
|
+
cookieEditValue.value = "";
|
|
5068
|
+
nextTick(() => resizeTextarea(cookieTextareaRef.value));
|
|
5069
|
+
loadStorageEntries();
|
|
5070
|
+
};
|
|
5071
|
+
return (_ctx, _cache) => {
|
|
5072
|
+
return openBlock(), createBlock(_sfc_main$k, {
|
|
5073
|
+
open: isOpen.value,
|
|
5074
|
+
heading: "DevTools",
|
|
5075
|
+
size: "xl",
|
|
5076
|
+
"onUpdate:open": handleOpenChange
|
|
5077
|
+
}, {
|
|
5078
|
+
default: withCtx(() => [
|
|
5079
|
+
createElementVNode("div", _hoisted_1$c, [
|
|
5080
|
+
createVNode(_sfc_main$j, { variant: "primary" }, {
|
|
5081
|
+
default: withCtx(() => [
|
|
5082
|
+
createVNode(_sfc_main$i, {
|
|
5083
|
+
label: "localStorage",
|
|
5084
|
+
active: activeTab.value === "local",
|
|
5085
|
+
as: "button",
|
|
5086
|
+
onClick: _cache[0] || (_cache[0] = ($event) => activeTab.value = "local")
|
|
5087
|
+
}, null, 8, ["active"]),
|
|
5088
|
+
createVNode(_sfc_main$i, {
|
|
5089
|
+
label: "sessionStorage",
|
|
5090
|
+
active: activeTab.value === "session",
|
|
5091
|
+
as: "button",
|
|
5092
|
+
onClick: _cache[1] || (_cache[1] = ($event) => activeTab.value = "session")
|
|
5093
|
+
}, null, 8, ["active"]),
|
|
5094
|
+
createVNode(_sfc_main$i, {
|
|
5095
|
+
label: "Cookies",
|
|
5096
|
+
active: activeTab.value === "cookies",
|
|
5097
|
+
as: "button",
|
|
5098
|
+
onClick: _cache[2] || (_cache[2] = ($event) => activeTab.value = "cookies")
|
|
5099
|
+
}, null, 8, ["active"]),
|
|
5100
|
+
createVNode(_sfc_main$i, {
|
|
5101
|
+
label: "Placeholder 1",
|
|
5102
|
+
active: activeTab.value === "placeholder1",
|
|
5103
|
+
as: "button",
|
|
5104
|
+
onClick: _cache[3] || (_cache[3] = ($event) => activeTab.value = "placeholder1")
|
|
5105
|
+
}, null, 8, ["active"]),
|
|
5106
|
+
createVNode(_sfc_main$i, {
|
|
5107
|
+
label: "Placeholder 2",
|
|
5108
|
+
active: activeTab.value === "placeholder2",
|
|
5109
|
+
as: "button",
|
|
5110
|
+
onClick: _cache[4] || (_cache[4] = ($event) => activeTab.value = "placeholder2")
|
|
5111
|
+
}, null, 8, ["active"])
|
|
5112
|
+
]),
|
|
5113
|
+
_: 1
|
|
5114
|
+
}),
|
|
5115
|
+
activeTab.value === "local" ? (openBlock(), createBlock(_sfc_main$s, {
|
|
5116
|
+
key: 0,
|
|
5117
|
+
heading: "localStorage",
|
|
5118
|
+
icon: "information",
|
|
5119
|
+
size: "small"
|
|
5120
|
+
}, {
|
|
5121
|
+
default: withCtx(() => [
|
|
5122
|
+
!localStorageEntries.value.length ? (openBlock(), createElementBlock("div", _hoisted_2$a, "Inga värden i localStorage.")) : (openBlock(), createElementBlock("div", _hoisted_3$8, [
|
|
5123
|
+
createElementVNode("table", _hoisted_4$7, [
|
|
5124
|
+
_cache[12] || (_cache[12] = createElementVNode("thead", { class: "bg-gray-50" }, [
|
|
5125
|
+
createElementVNode("tr", null, [
|
|
5126
|
+
createElementVNode("th", { class: "py-2 px-3 font-semibold" }, "Nyckel"),
|
|
5127
|
+
createElementVNode("th", { class: "py-2 px-3 font-semibold" }, "Värde")
|
|
5128
|
+
])
|
|
5129
|
+
], -1)),
|
|
5130
|
+
createElementVNode("tbody", null, [
|
|
5131
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(localStorageEntries.value, (entry) => {
|
|
5132
|
+
return openBlock(), createElementBlock("tr", {
|
|
5133
|
+
key: `local-${entry.key}`,
|
|
5134
|
+
class: "border-t border-gray-200 align-top cursor-pointer hover:bg-gray-50",
|
|
5135
|
+
onClick: ($event) => selectLocalEntry(entry)
|
|
5136
|
+
}, [
|
|
5137
|
+
createElementVNode("td", _hoisted_6$3, toDisplayString(entry.key), 1),
|
|
5138
|
+
createElementVNode("td", _hoisted_7$3, toDisplayString(entry.value), 1)
|
|
5139
|
+
], 8, _hoisted_5$6);
|
|
5140
|
+
}), 128))
|
|
5141
|
+
])
|
|
5142
|
+
])
|
|
5143
|
+
])),
|
|
5144
|
+
createElementVNode("div", _hoisted_8$2, [
|
|
5145
|
+
createElementVNode("div", _hoisted_9$2, [
|
|
5146
|
+
_cache[13] || (_cache[13] = createElementVNode("label", { class: "text-xs font-semibold" }, "Nyckel", -1)),
|
|
5147
|
+
withDirectives(createElementVNode("input", {
|
|
5148
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => localEditKey.value = $event),
|
|
5149
|
+
class: "border border-gray-300 rounded px-2 py-1 text-xs font-mono bg-white",
|
|
5150
|
+
placeholder: "localStorage-nyckel"
|
|
5151
|
+
}, null, 512), [
|
|
5152
|
+
[vModelText, localEditKey.value]
|
|
5153
|
+
])
|
|
5154
|
+
]),
|
|
5155
|
+
createElementVNode("div", _hoisted_10$1, [
|
|
5156
|
+
_cache[14] || (_cache[14] = createElementVNode("label", { class: "text-xs font-semibold" }, "Värde", -1)),
|
|
5157
|
+
withDirectives(createElementVNode("textarea", {
|
|
5158
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => localEditValue.value = $event),
|
|
5159
|
+
rows: "3",
|
|
5160
|
+
ref_key: "localTextareaRef",
|
|
5161
|
+
ref: localTextareaRef,
|
|
5162
|
+
class: "border border-gray-300 rounded px-2 py-1 text-xs font-mono bg-white overflow-hidden",
|
|
5163
|
+
placeholder: "Värde (lagras som sträng)"
|
|
5164
|
+
}, null, 512), [
|
|
5165
|
+
[vModelText, localEditValue.value]
|
|
5166
|
+
])
|
|
5167
|
+
]),
|
|
5168
|
+
localEditKey.value ? (openBlock(), createElementBlock("div", _hoisted_11$1, [
|
|
5169
|
+
createVNode(_sfc_main$l, {
|
|
5170
|
+
text: "Ta bort",
|
|
5171
|
+
size: "sm",
|
|
5172
|
+
onClick: deleteLocalEntry
|
|
5173
|
+
}),
|
|
5174
|
+
createVNode(_sfc_main$m, {
|
|
5175
|
+
text: "Spara",
|
|
5176
|
+
size: "sm",
|
|
5177
|
+
onClick: saveLocalEntry
|
|
5178
|
+
})
|
|
5179
|
+
])) : createCommentVNode("", true)
|
|
5180
|
+
])
|
|
5181
|
+
]),
|
|
5182
|
+
_: 1
|
|
5183
|
+
})) : activeTab.value === "session" ? (openBlock(), createBlock(_sfc_main$s, {
|
|
5184
|
+
key: 1,
|
|
5185
|
+
heading: "sessionStorage",
|
|
5186
|
+
icon: "information",
|
|
5187
|
+
size: "small"
|
|
5188
|
+
}, {
|
|
5189
|
+
default: withCtx(() => [
|
|
5190
|
+
!sessionStorageEntries.value.length ? (openBlock(), createElementBlock("div", _hoisted_12, "Inga värden i sessionStorage.")) : (openBlock(), createElementBlock("div", _hoisted_13, [
|
|
5191
|
+
createElementVNode("table", _hoisted_14, [
|
|
5192
|
+
_cache[15] || (_cache[15] = createElementVNode("thead", { class: "bg-gray-50" }, [
|
|
5193
|
+
createElementVNode("tr", null, [
|
|
5194
|
+
createElementVNode("th", { class: "py-2 px-3 font-semibold" }, "Nyckel"),
|
|
5195
|
+
createElementVNode("th", { class: "py-2 px-3 font-semibold" }, "Värde")
|
|
5196
|
+
])
|
|
5197
|
+
], -1)),
|
|
5198
|
+
createElementVNode("tbody", null, [
|
|
5199
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(sessionStorageEntries.value, (entry) => {
|
|
5200
|
+
return openBlock(), createElementBlock("tr", {
|
|
5201
|
+
key: `session-${entry.key}`,
|
|
5202
|
+
class: "border-t border-gray-200 align-top cursor-pointer hover:bg-gray-50",
|
|
5203
|
+
onClick: ($event) => selectSessionEntry(entry)
|
|
5204
|
+
}, [
|
|
5205
|
+
createElementVNode("td", _hoisted_16, toDisplayString(entry.key), 1),
|
|
5206
|
+
createElementVNode("td", _hoisted_17, toDisplayString(entry.value), 1)
|
|
5207
|
+
], 8, _hoisted_15);
|
|
5208
|
+
}), 128))
|
|
5209
|
+
])
|
|
5210
|
+
])
|
|
5211
|
+
])),
|
|
5212
|
+
createElementVNode("div", _hoisted_18, [
|
|
5213
|
+
createElementVNode("div", _hoisted_19, [
|
|
5214
|
+
_cache[16] || (_cache[16] = createElementVNode("label", { class: "text-xs font-semibold" }, "Nyckel", -1)),
|
|
5215
|
+
withDirectives(createElementVNode("input", {
|
|
5216
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => sessionEditKey.value = $event),
|
|
5217
|
+
class: "border border-gray-300 rounded px-2 py-1 text-xs font-mono bg-white",
|
|
5218
|
+
placeholder: "sessionStorage-nyckel"
|
|
5219
|
+
}, null, 512), [
|
|
5220
|
+
[vModelText, sessionEditKey.value]
|
|
5221
|
+
])
|
|
5222
|
+
]),
|
|
5223
|
+
createElementVNode("div", _hoisted_20, [
|
|
5224
|
+
_cache[17] || (_cache[17] = createElementVNode("label", { class: "text-xs font-semibold" }, "Värde", -1)),
|
|
5225
|
+
withDirectives(createElementVNode("textarea", {
|
|
5226
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => sessionEditValue.value = $event),
|
|
5227
|
+
rows: "3",
|
|
5228
|
+
ref_key: "sessionTextareaRef",
|
|
5229
|
+
ref: sessionTextareaRef,
|
|
5230
|
+
class: "border border-gray-300 rounded px-2 py-1 text-xs font-mono bg-white overflow-hidden",
|
|
5231
|
+
placeholder: "Värde (lagras som sträng)"
|
|
5232
|
+
}, null, 512), [
|
|
5233
|
+
[vModelText, sessionEditValue.value]
|
|
5234
|
+
])
|
|
5235
|
+
]),
|
|
5236
|
+
sessionEditKey.value ? (openBlock(), createElementBlock("div", _hoisted_21, [
|
|
5237
|
+
createVNode(_sfc_main$l, {
|
|
5238
|
+
text: "Ta bort",
|
|
5239
|
+
size: "sm",
|
|
5240
|
+
onClick: deleteSessionEntry
|
|
5241
|
+
}),
|
|
5242
|
+
createVNode(_sfc_main$m, {
|
|
5243
|
+
text: "Spara",
|
|
5244
|
+
size: "sm",
|
|
5245
|
+
onClick: saveSessionEntry
|
|
5246
|
+
})
|
|
5247
|
+
])) : createCommentVNode("", true)
|
|
5248
|
+
])
|
|
5249
|
+
]),
|
|
5250
|
+
_: 1
|
|
5251
|
+
})) : activeTab.value === "cookies" ? (openBlock(), createBlock(_sfc_main$s, {
|
|
5252
|
+
key: 2,
|
|
5253
|
+
heading: "Cookies",
|
|
5254
|
+
icon: "information",
|
|
5255
|
+
size: "small"
|
|
5256
|
+
}, {
|
|
5257
|
+
default: withCtx(() => [
|
|
5258
|
+
!cookieEntries.value.length ? (openBlock(), createElementBlock("div", _hoisted_22, "Inga cookies satta för domänen.")) : (openBlock(), createElementBlock("div", _hoisted_23, [
|
|
5259
|
+
createElementVNode("table", _hoisted_24, [
|
|
5260
|
+
_cache[18] || (_cache[18] = createElementVNode("thead", { class: "bg-gray-50" }, [
|
|
5261
|
+
createElementVNode("tr", null, [
|
|
5262
|
+
createElementVNode("th", { class: "py-2 px-3 font-semibold" }, "Namn"),
|
|
5263
|
+
createElementVNode("th", { class: "py-2 px-3 font-semibold" }, "Värde")
|
|
5264
|
+
])
|
|
5265
|
+
], -1)),
|
|
5266
|
+
createElementVNode("tbody", null, [
|
|
5267
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(cookieEntries.value, (entry) => {
|
|
5268
|
+
return openBlock(), createElementBlock("tr", {
|
|
5269
|
+
key: `cookie-${entry.key}`,
|
|
5270
|
+
class: "border-t border-gray-200 align-top cursor-pointer hover:bg-gray-50",
|
|
5271
|
+
onClick: ($event) => selectCookieEntry(entry)
|
|
5272
|
+
}, [
|
|
5273
|
+
createElementVNode("td", _hoisted_26, toDisplayString(entry.key), 1),
|
|
5274
|
+
createElementVNode("td", _hoisted_27, toDisplayString(entry.value), 1)
|
|
5275
|
+
], 8, _hoisted_25);
|
|
5276
|
+
}), 128))
|
|
5277
|
+
])
|
|
5278
|
+
])
|
|
5279
|
+
])),
|
|
5280
|
+
createElementVNode("div", _hoisted_28, [
|
|
5281
|
+
createElementVNode("div", _hoisted_29, [
|
|
5282
|
+
_cache[19] || (_cache[19] = createElementVNode("label", { class: "text-xs font-semibold" }, "Namn", -1)),
|
|
5283
|
+
withDirectives(createElementVNode("input", {
|
|
5284
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => cookieEditKey.value = $event),
|
|
5285
|
+
class: "border border-gray-300 rounded px-2 py-1 text-xs font-mono bg-white",
|
|
5286
|
+
placeholder: "cookie-namn"
|
|
5287
|
+
}, null, 512), [
|
|
5288
|
+
[vModelText, cookieEditKey.value]
|
|
5289
|
+
])
|
|
5290
|
+
]),
|
|
5291
|
+
createElementVNode("div", _hoisted_30, [
|
|
5292
|
+
_cache[20] || (_cache[20] = createElementVNode("label", { class: "text-xs font-semibold" }, "Värde", -1)),
|
|
5293
|
+
withDirectives(createElementVNode("textarea", {
|
|
5294
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => cookieEditValue.value = $event),
|
|
5295
|
+
rows: "3",
|
|
5296
|
+
ref_key: "cookieTextareaRef",
|
|
5297
|
+
ref: cookieTextareaRef,
|
|
5298
|
+
class: "border border-gray-300 rounded px-2 py-1 text-xs font-mono bg-white overflow-hidden",
|
|
5299
|
+
placeholder: "Värde (lagras som sträng)"
|
|
5300
|
+
}, null, 512), [
|
|
5301
|
+
[vModelText, cookieEditValue.value]
|
|
5302
|
+
])
|
|
5303
|
+
]),
|
|
5304
|
+
cookieEditKey.value ? (openBlock(), createElementBlock("div", _hoisted_31, [
|
|
5305
|
+
createVNode(_sfc_main$l, {
|
|
5306
|
+
text: "Ta bort",
|
|
5307
|
+
size: "sm",
|
|
5308
|
+
onClick: deleteCookieEntry
|
|
5309
|
+
}),
|
|
5310
|
+
createVNode(_sfc_main$m, {
|
|
5311
|
+
text: "Spara",
|
|
5312
|
+
size: "sm",
|
|
5313
|
+
onClick: saveCookieEntry
|
|
5314
|
+
})
|
|
5315
|
+
])) : createCommentVNode("", true)
|
|
5316
|
+
])
|
|
5317
|
+
]),
|
|
5318
|
+
_: 1
|
|
5319
|
+
})) : (openBlock(), createBlock(_sfc_main$s, {
|
|
5320
|
+
key: 3,
|
|
5321
|
+
heading: "Placeholder",
|
|
5322
|
+
icon: "information",
|
|
5323
|
+
size: "small",
|
|
5324
|
+
class: "min-h-[200px] flex items-center justify-center text-sm text-gray-500"
|
|
5325
|
+
}, {
|
|
5326
|
+
default: withCtx(() => [..._cache[21] || (_cache[21] = [
|
|
5327
|
+
createTextVNode(" (Tom flik – reserverad för framtida DevMode-verktyg) ", -1)
|
|
5328
|
+
])]),
|
|
5329
|
+
_: 1
|
|
5330
|
+
})),
|
|
5331
|
+
createElementVNode("div", _hoisted_32, [
|
|
5332
|
+
createVNode(_sfc_main$l, {
|
|
5333
|
+
text: "Uppdatera",
|
|
5334
|
+
onClick: refreshStorageEntries
|
|
5335
|
+
}),
|
|
5336
|
+
createVNode(_sfc_main$m, {
|
|
5337
|
+
text: "Stäng",
|
|
5338
|
+
onClick: _cache[11] || (_cache[11] = ($event) => handleOpenChange(false))
|
|
5339
|
+
})
|
|
5340
|
+
])
|
|
5341
|
+
])
|
|
5342
|
+
]),
|
|
5343
|
+
_: 1
|
|
5344
|
+
}, 8, ["open"]);
|
|
5345
|
+
};
|
|
5346
|
+
}
|
|
5347
|
+
});
|
|
5348
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
5349
|
+
__name: "FdsDevMode",
|
|
5350
|
+
props: {
|
|
5351
|
+
environment: { default: null }
|
|
5352
|
+
},
|
|
5353
|
+
setup(__props) {
|
|
5354
|
+
const props = __props;
|
|
5355
|
+
const { isDevMode, toggleDevMode } = useDevMode();
|
|
5356
|
+
const hideEnvBanner = ref(false);
|
|
5357
|
+
const isStorageModalOpen = ref(false);
|
|
5358
|
+
const environmentKey = computed(() => props.environment ?? null);
|
|
5359
|
+
const environmentText = computed(() => {
|
|
5360
|
+
switch (environmentKey.value) {
|
|
5361
|
+
case "localhost":
|
|
5362
|
+
return "Localhost";
|
|
5363
|
+
case "development":
|
|
5364
|
+
return "Development";
|
|
5365
|
+
case "development:feature-branch":
|
|
5366
|
+
return "Dev: Feature";
|
|
5367
|
+
case "preprod":
|
|
5368
|
+
return "Preprod";
|
|
5369
|
+
case "demo":
|
|
5370
|
+
return "Demo";
|
|
5371
|
+
case "production":
|
|
5372
|
+
return "Production";
|
|
5373
|
+
default:
|
|
5374
|
+
return "Environment not found";
|
|
5375
|
+
}
|
|
5376
|
+
});
|
|
5377
|
+
const renderEnvBanner = computed(() => {
|
|
5378
|
+
if (hideEnvBanner.value || environmentKey.value === null) return false;
|
|
5379
|
+
return environmentKey.value === "localhost" || environmentKey.value === "development" || environmentKey.value === "development:feature-branch" || environmentKey.value === "preprod";
|
|
5380
|
+
});
|
|
5381
|
+
const envBannerClasses = computed(() => {
|
|
5382
|
+
if (isDevMode.value) {
|
|
5383
|
+
return "bg-green-500 text-white";
|
|
5384
|
+
}
|
|
5385
|
+
if (environmentKey.value === "localhost" || environmentKey.value === "development" || environmentKey.value === "development:feature-branch") {
|
|
5386
|
+
return "bg-yellow-400 text-gray-900";
|
|
5387
|
+
}
|
|
5388
|
+
if (environmentKey.value === "preprod") {
|
|
5389
|
+
return "bg-red-500 text-white-solid";
|
|
4721
5390
|
}
|
|
5391
|
+
return "";
|
|
4722
5392
|
});
|
|
4723
|
-
|
|
4724
|
-
|
|
4725
|
-
|
|
4726
|
-
if (cleanupFocusTrap) {
|
|
4727
|
-
cleanupFocusTrap();
|
|
5393
|
+
const envBannerFillColor = computed(() => {
|
|
5394
|
+
if (isDevMode.value) {
|
|
5395
|
+
return "fill-white";
|
|
4728
5396
|
}
|
|
4729
|
-
|
|
4730
|
-
|
|
4731
|
-
const attrs = {};
|
|
4732
|
-
if (props.dataTestid) {
|
|
4733
|
-
attrs["data-testid"] = props.dataTestid;
|
|
5397
|
+
if (environmentKey.value === "localhost" || environmentKey.value === "development" || environmentKey.value === "development:feature-branch") {
|
|
5398
|
+
return "fill-gray-900";
|
|
4734
5399
|
}
|
|
4735
|
-
|
|
5400
|
+
if (environmentKey.value === "preprod") {
|
|
5401
|
+
return "fill-white";
|
|
5402
|
+
}
|
|
5403
|
+
return "";
|
|
4736
5404
|
});
|
|
5405
|
+
const handleEnvBanner = () => {
|
|
5406
|
+
hideEnvBanner.value = true;
|
|
5407
|
+
};
|
|
5408
|
+
const openStorageModal = () => {
|
|
5409
|
+
isStorageModalOpen.value = true;
|
|
5410
|
+
};
|
|
4737
5411
|
return (_ctx, _cache) => {
|
|
4738
|
-
return openBlock(),
|
|
4739
|
-
|
|
5412
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
5413
|
+
renderEnvBanner.value ? (openBlock(), createElementBlock("div", {
|
|
4740
5414
|
key: 0,
|
|
4741
|
-
|
|
4742
|
-
class: normalizeClass(modalOuterClasses.value)
|
|
5415
|
+
class: normalizeClass(["fixed bottom-0 right-12 font-bold m-6 px-3 py-1 rounded-xl z-50 flex items-center gap-1", envBannerClasses.value])
|
|
4743
5416
|
}, [
|
|
4744
|
-
|
|
4745
|
-
createElementVNode("
|
|
4746
|
-
|
|
4747
|
-
|
|
4748
|
-
"
|
|
4749
|
-
},
|
|
4750
|
-
|
|
4751
|
-
|
|
4752
|
-
|
|
4753
|
-
|
|
4754
|
-
|
|
4755
|
-
|
|
4756
|
-
|
|
4757
|
-
|
|
4758
|
-
|
|
4759
|
-
|
|
4760
|
-
|
|
4761
|
-
|
|
4762
|
-
|
|
4763
|
-
|
|
4764
|
-
|
|
4765
|
-
|
|
4766
|
-
|
|
4767
|
-
|
|
4768
|
-
icon: "cross",
|
|
4769
|
-
size: 28,
|
|
4770
|
-
onClick: _cache[0] || (_cache[0] = ($event) => handleClose("icon"))
|
|
4771
|
-
}, { "aria-label": closeLabel.value }, { class: "ml-4" }), null, 16)) : createCommentVNode("", true)
|
|
4772
|
-
]),
|
|
4773
|
-
createElementVNode("div", _hoisted_2$a, [
|
|
4774
|
-
renderSlot(_ctx.$slots, "default")
|
|
4775
|
-
]),
|
|
4776
|
-
unref(hasFooterSlot) ? (openBlock(), createElementBlock("div", {
|
|
4777
|
-
key: 0,
|
|
4778
|
-
class: normalizeClass(footerClasses.value)
|
|
4779
|
-
}, [
|
|
4780
|
-
renderSlot(_ctx.$slots, "modal-footer")
|
|
4781
|
-
], 2)) : createCommentVNode("", true)
|
|
4782
|
-
], 16)
|
|
4783
|
-
], 2)) : createCommentVNode("", true)
|
|
4784
|
-
]);
|
|
5417
|
+
createElementVNode("span", null, toDisplayString(environmentText.value), 1),
|
|
5418
|
+
createElementVNode("button", {
|
|
5419
|
+
onClick: _cache[0] || (_cache[0] = //@ts-ignore
|
|
5420
|
+
(...args) => unref(toggleDevMode) && unref(toggleDevMode)(...args)),
|
|
5421
|
+
class: "mx-1 py-1 rounded text-xs font-bold bg-white bg-opacity-20 text-black hover:bg-opacity-30 min-w-[120px]"
|
|
5422
|
+
}, toDisplayString(unref(isDevMode) ? "Dev mode: ON" : "Dev mode: OFF"), 1),
|
|
5423
|
+
createVNode(_sfc_main$x, {
|
|
5424
|
+
icon: "settings",
|
|
5425
|
+
size: 24,
|
|
5426
|
+
class: normalizeClass(["mx-1", envBannerFillColor.value]),
|
|
5427
|
+
onClick: openStorageModal
|
|
5428
|
+
}, null, 8, ["class"]),
|
|
5429
|
+
createVNode(_sfc_main$x, {
|
|
5430
|
+
onClick: handleEnvBanner,
|
|
5431
|
+
icon: "cross",
|
|
5432
|
+
size: 24,
|
|
5433
|
+
class: normalizeClass(envBannerFillColor.value)
|
|
5434
|
+
}, null, 8, ["class"])
|
|
5435
|
+
], 2)) : createCommentVNode("", true),
|
|
5436
|
+
createVNode(_sfc_main$h, {
|
|
5437
|
+
open: isStorageModalOpen.value,
|
|
5438
|
+
"onUpdate:open": _cache[1] || (_cache[1] = ($event) => isStorageModalOpen.value = $event)
|
|
5439
|
+
}, null, 8, ["open"])
|
|
5440
|
+
], 64);
|
|
4785
5441
|
};
|
|
4786
5442
|
}
|
|
4787
5443
|
});
|
|
@@ -7958,12 +8614,12 @@ try {
|
|
|
7958
8614
|
}
|
|
7959
8615
|
const _hoisted_1$b = ["for"];
|
|
7960
8616
|
const _hoisted_2$9 = { class: "relative" };
|
|
7961
|
-
const _hoisted_3$7 = ["type", "required", "value", "disabled", "tabindex", "aria-invalid", "aria-label", "autocomplete"];
|
|
8617
|
+
const _hoisted_3$7 = ["type", "required", "value", "disabled", "tabindex", "aria-invalid", "aria-label", "autocomplete", "pattern"];
|
|
7962
8618
|
const _hoisted_4$6 = {
|
|
7963
8619
|
key: 0,
|
|
7964
8620
|
class: "text-red-600 font-bold mt-1"
|
|
7965
8621
|
};
|
|
7966
|
-
const _sfc_main$
|
|
8622
|
+
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
7967
8623
|
...{
|
|
7968
8624
|
inheritAttrs: false
|
|
7969
8625
|
},
|
|
@@ -7991,6 +8647,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
7991
8647
|
autofocus: { type: Boolean },
|
|
7992
8648
|
readonly: { type: Boolean },
|
|
7993
8649
|
ariaLabel: { default: void 0 },
|
|
8650
|
+
pattern: { default: void 0 },
|
|
7994
8651
|
onClearInput: {},
|
|
7995
8652
|
maskOptions: { default: void 0 },
|
|
7996
8653
|
modelModifiers: { default: () => ({}) },
|
|
@@ -8219,7 +8876,8 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
8219
8876
|
class: inputClasses.value,
|
|
8220
8877
|
style: inputStyle.value,
|
|
8221
8878
|
"aria-label": props.ariaLabel,
|
|
8222
|
-
autocomplete: props.autocomplete
|
|
8879
|
+
autocomplete: props.autocomplete,
|
|
8880
|
+
pattern: props.pattern
|
|
8223
8881
|
}, inputAttrs.value, {
|
|
8224
8882
|
onInput: handleInputChange,
|
|
8225
8883
|
onChange: handleInputChange,
|
|
@@ -8232,20 +8890,20 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
8232
8890
|
createElementVNode("div", {
|
|
8233
8891
|
class: normalizeClass(rightIconsContainerClasses.value)
|
|
8234
8892
|
}, [
|
|
8235
|
-
isInvalid.value ? (openBlock(), createBlock(_sfc_main$
|
|
8893
|
+
isInvalid.value ? (openBlock(), createBlock(_sfc_main$y, {
|
|
8236
8894
|
key: 0,
|
|
8237
8895
|
name: "alert",
|
|
8238
8896
|
class: "fill-red-600"
|
|
8239
8897
|
})) : createCommentVNode("", true),
|
|
8240
|
-
isValid.value ? (openBlock(), createBlock(_sfc_main$
|
|
8898
|
+
isValid.value ? (openBlock(), createBlock(_sfc_main$y, {
|
|
8241
8899
|
key: 1,
|
|
8242
8900
|
name: "bigSuccess"
|
|
8243
8901
|
})) : createCommentVNode("", true),
|
|
8244
|
-
showClearButton.value ? (openBlock(), createBlock(_sfc_main$
|
|
8902
|
+
showClearButton.value ? (openBlock(), createBlock(_sfc_main$x, mergeProps({
|
|
8245
8903
|
key: 2,
|
|
8246
8904
|
icon: "cross"
|
|
8247
8905
|
}, { "aria-label": clearButtonLabel.value }, { onClick: onClear }), null, 16)) : createCommentVNode("", true),
|
|
8248
|
-
showPasswordToggle.value ? (openBlock(), createBlock(_sfc_main$
|
|
8906
|
+
showPasswordToggle.value ? (openBlock(), createBlock(_sfc_main$p, {
|
|
8249
8907
|
key: 3,
|
|
8250
8908
|
icon: showPassword.value ? "viewOff" : "viewOn",
|
|
8251
8909
|
text: showPassword.value ? passwordButtonHideLabel.value : passwordButtonShowLabel.value,
|
|
@@ -8265,7 +8923,7 @@ const _hoisted_2$8 = { class: "flex items-center justify-start gap-1 w-[100px]"
|
|
|
8265
8923
|
const _hoisted_3$6 = { class: "flex items-center justify-center w-auto gap-2 order-0 sm:order-0" };
|
|
8266
8924
|
const _hoisted_4$5 = { class: "whitespace-nowrap" };
|
|
8267
8925
|
const _hoisted_5$5 = { class: "flex items-center justify-end gap-1 order-2 sm:order-0 w-[100px]" };
|
|
8268
|
-
const _sfc_main$
|
|
8926
|
+
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
8269
8927
|
__name: "FdsPagination",
|
|
8270
8928
|
props: {
|
|
8271
8929
|
current: {},
|
|
@@ -8363,11 +9021,11 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
8363
9021
|
id: inputId.value
|
|
8364
9022
|
}, rootAttrs.value), [
|
|
8365
9023
|
createElementVNode("div", _hoisted_2$8, [
|
|
8366
|
-
__props.loading && loadingIndicator.value === "start" ? (openBlock(), createBlock(_sfc_main$
|
|
9024
|
+
__props.loading && loadingIndicator.value === "start" ? (openBlock(), createBlock(_sfc_main$q, {
|
|
8367
9025
|
key: 0,
|
|
8368
9026
|
size: "32px",
|
|
8369
9027
|
color: "blue"
|
|
8370
|
-
})) : (openBlock(), createBlock(_sfc_main$
|
|
9028
|
+
})) : (openBlock(), createBlock(_sfc_main$x, mergeProps({ key: 1 }, { "aria-disabled": __props.current === 1 }, {
|
|
8371
9029
|
"aria-label": firstPageLabel.value,
|
|
8372
9030
|
icon: "first",
|
|
8373
9031
|
size: 28,
|
|
@@ -8375,11 +9033,11 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
8375
9033
|
class: [{ "hidden!": __props.current === 1 }, "w-8 h-8 sm:w-12 sm:h-12"],
|
|
8376
9034
|
onClick: _cache[0] || (_cache[0] = ($event) => handlePagination("start"))
|
|
8377
9035
|
}), null, 16, ["aria-label", "disabled", "class"])),
|
|
8378
|
-
__props.loading && loadingIndicator.value === "prev" ? (openBlock(), createBlock(_sfc_main$
|
|
9036
|
+
__props.loading && loadingIndicator.value === "prev" ? (openBlock(), createBlock(_sfc_main$q, {
|
|
8379
9037
|
key: 2,
|
|
8380
9038
|
size: "24px",
|
|
8381
9039
|
color: "blue"
|
|
8382
|
-
})) : (openBlock(), createBlock(_sfc_main$
|
|
9040
|
+
})) : (openBlock(), createBlock(_sfc_main$x, mergeProps({ key: 3 }, { "aria-disabled": __props.current === 1 }, {
|
|
8383
9041
|
"aria-label": prevPageLabel.value,
|
|
8384
9042
|
icon: "arrowLeft",
|
|
8385
9043
|
size: 28,
|
|
@@ -8389,14 +9047,14 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
8389
9047
|
}), null, 16, ["aria-label", "disabled", "class"]))
|
|
8390
9048
|
]),
|
|
8391
9049
|
createElementVNode("div", _hoisted_3$6, [
|
|
8392
|
-
__props.loading && loadingIndicator.value === "input" ? (openBlock(), createBlock(_sfc_main$
|
|
9050
|
+
__props.loading && loadingIndicator.value === "input" ? (openBlock(), createBlock(_sfc_main$q, {
|
|
8393
9051
|
key: 0,
|
|
8394
9052
|
size: "24px",
|
|
8395
9053
|
color: "blue",
|
|
8396
9054
|
label: "Laddar",
|
|
8397
9055
|
"label-position": "right"
|
|
8398
9056
|
})) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
8399
|
-
createVNode(_sfc_main$
|
|
9057
|
+
createVNode(_sfc_main$f, {
|
|
8400
9058
|
style: { "text-align": "center" },
|
|
8401
9059
|
value: inputValue.value,
|
|
8402
9060
|
type: "text",
|
|
@@ -8410,11 +9068,11 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
8410
9068
|
], 64))
|
|
8411
9069
|
]),
|
|
8412
9070
|
createElementVNode("div", _hoisted_5$5, [
|
|
8413
|
-
__props.loading && loadingIndicator.value === "next" ? (openBlock(), createBlock(_sfc_main$
|
|
9071
|
+
__props.loading && loadingIndicator.value === "next" ? (openBlock(), createBlock(_sfc_main$q, {
|
|
8414
9072
|
key: 0,
|
|
8415
9073
|
size: "24px",
|
|
8416
9074
|
color: "blue"
|
|
8417
|
-
})) : (openBlock(), createBlock(_sfc_main$
|
|
9075
|
+
})) : (openBlock(), createBlock(_sfc_main$x, mergeProps({
|
|
8418
9076
|
key: 1,
|
|
8419
9077
|
"aria-label": nextPageLabel.value,
|
|
8420
9078
|
icon: "arrowRight",
|
|
@@ -8424,11 +9082,11 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
8424
9082
|
class: [{ "hidden!": __props.current === __props.max }, "w-8 h-8 sm:w-12 sm:h-12"],
|
|
8425
9083
|
onClick: _cache[2] || (_cache[2] = ($event) => handlePagination("next"))
|
|
8426
9084
|
}), null, 16, ["aria-label", "disabled", "class"])),
|
|
8427
|
-
__props.loading && loadingIndicator.value === "end" ? (openBlock(), createBlock(_sfc_main$
|
|
9085
|
+
__props.loading && loadingIndicator.value === "end" ? (openBlock(), createBlock(_sfc_main$q, {
|
|
8428
9086
|
key: 2,
|
|
8429
9087
|
size: "24px",
|
|
8430
9088
|
color: "blue"
|
|
8431
|
-
})) : (openBlock(), createBlock(_sfc_main$
|
|
9089
|
+
})) : (openBlock(), createBlock(_sfc_main$x, mergeProps({
|
|
8432
9090
|
key: 3,
|
|
8433
9091
|
"aria-label": lastPageLabel.value,
|
|
8434
9092
|
icon: "last",
|
|
@@ -8502,7 +9160,7 @@ const _hoisted_10 = {
|
|
|
8502
9160
|
class: "block m-0 list-none p-0"
|
|
8503
9161
|
};
|
|
8504
9162
|
const _hoisted_11 = { class: "p-4" };
|
|
8505
|
-
const _sfc_main$
|
|
9163
|
+
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
8506
9164
|
__name: "FdsSearchSelect",
|
|
8507
9165
|
props: {
|
|
8508
9166
|
items: { default: () => [] },
|
|
@@ -8896,7 +9554,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
8896
9554
|
createElementVNode("div", _hoisted_1$9, [
|
|
8897
9555
|
!singleItemName.value.length ? (openBlock(), createElementBlock("div", _hoisted_2$7, [
|
|
8898
9556
|
createElementVNode("div", _hoisted_3$5, [
|
|
8899
|
-
createVNode(_sfc_main$
|
|
9557
|
+
createVNode(_sfc_main$f, mergeProps({
|
|
8900
9558
|
ref_key: "inputComponentRef",
|
|
8901
9559
|
ref: inputComponentRef,
|
|
8902
9560
|
label: __props.label,
|
|
@@ -8917,7 +9575,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
8917
9575
|
onInput: handleInput,
|
|
8918
9576
|
onClearInput: handleClear
|
|
8919
9577
|
}), null, 16, ["label", "meta", "labelLeft", "valid", "invalidMessage", "disabled", "locale", "value", "clearButton", "mask"]),
|
|
8920
|
-
!__props.disabled && !hasInputValue.value ? (openBlock(), createBlock(_sfc_main$
|
|
9578
|
+
!__props.disabled && !hasInputValue.value ? (openBlock(), createBlock(_sfc_main$y, {
|
|
8921
9579
|
key: 0,
|
|
8922
9580
|
name: "search",
|
|
8923
9581
|
size: 24,
|
|
@@ -8936,7 +9594,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
8936
9594
|
style: normalizeStyle(listWrapperStyle.value)
|
|
8937
9595
|
}, [
|
|
8938
9596
|
__props.loading ? (openBlock(), createElementBlock("div", _hoisted_6$2, [
|
|
8939
|
-
createVNode(_sfc_main$
|
|
9597
|
+
createVNode(_sfc_main$q, {
|
|
8940
9598
|
color: "blue",
|
|
8941
9599
|
size: "48px"
|
|
8942
9600
|
})
|
|
@@ -8980,7 +9638,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
8980
9638
|
], 42, _hoisted_7$2);
|
|
8981
9639
|
}), 128))
|
|
8982
9640
|
], 32),
|
|
8983
|
-
__props.page !== void 0 && totalPages.value !== null && totalPages.value > 1 ? (openBlock(), createBlock(_sfc_main$
|
|
9641
|
+
__props.page !== void 0 && totalPages.value !== null && totalPages.value > 1 ? (openBlock(), createBlock(_sfc_main$e, {
|
|
8984
9642
|
key: 2,
|
|
8985
9643
|
current: __props.page,
|
|
8986
9644
|
max: totalPages.value,
|
|
@@ -9401,7 +10059,7 @@ const useTreeState = (options = {}) => {
|
|
|
9401
10059
|
};
|
|
9402
10060
|
const _hoisted_1$8 = ["for"];
|
|
9403
10061
|
const _hoisted_2$6 = ["value", "disabled", "required"];
|
|
9404
|
-
const _sfc_main$
|
|
10062
|
+
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
9405
10063
|
...{
|
|
9406
10064
|
inheritAttrs: false
|
|
9407
10065
|
},
|
|
@@ -9575,7 +10233,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
9575
10233
|
});
|
|
9576
10234
|
const _hoisted_1$7 = ["for"];
|
|
9577
10235
|
const _hoisted_2$5 = ["value", "checked", "disabled", "required"];
|
|
9578
|
-
const _sfc_main$
|
|
10236
|
+
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
9579
10237
|
...{
|
|
9580
10238
|
inheritAttrs: false
|
|
9581
10239
|
},
|
|
@@ -9721,7 +10379,7 @@ const _hoisted_8 = ["onClick"];
|
|
|
9721
10379
|
const _hoisted_9 = { key: 0 };
|
|
9722
10380
|
const popoverWidth = 327;
|
|
9723
10381
|
const popoverHeight = 80;
|
|
9724
|
-
const _sfc_main$
|
|
10382
|
+
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
9725
10383
|
...{
|
|
9726
10384
|
name: "TreeNode"
|
|
9727
10385
|
},
|
|
@@ -9924,7 +10582,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
9924
10582
|
class: normalizeClass("pt-2 pb-2")
|
|
9925
10583
|
}, [
|
|
9926
10584
|
createElementVNode("div", _hoisted_1$6, [
|
|
9927
|
-
hasChildrenNodes.value ? (openBlock(), createBlock(_sfc_main$
|
|
10585
|
+
hasChildrenNodes.value ? (openBlock(), createBlock(_sfc_main$x, mergeProps({
|
|
9928
10586
|
key: 0,
|
|
9929
10587
|
onClick: _cache[0] || (_cache[0] = ($event) => unref(treeState)?.toggleExpandNode(props.nodeId))
|
|
9930
10588
|
}, { "aria-label": props.title ? childrenToggleAriaLabel(props.title) : void 0 }, {
|
|
@@ -9937,7 +10595,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
9937
10595
|
style: normalizeStyle({ minWidth: `${__props.indentation}px` })
|
|
9938
10596
|
}, null, 4)) : createCommentVNode("", true),
|
|
9939
10597
|
createElementVNode("div", _hoisted_2$4, [
|
|
9940
|
-
createVNode(_sfc_main$
|
|
10598
|
+
createVNode(_sfc_main$c, {
|
|
9941
10599
|
id: `checkbox-${props.nodeId}`,
|
|
9942
10600
|
checked: unref(treeState)?.isNodeSelected(props.nodeId),
|
|
9943
10601
|
indeterminate: __props.showIndeterminate && (unref(treeState)?.isNodeIndeterminateById(props.nodeId) ?? false),
|
|
@@ -9956,7 +10614,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
9956
10614
|
}, 8, ["id", "checked", "indeterminate"])
|
|
9957
10615
|
]),
|
|
9958
10616
|
unref(treeState)?.isParentOrChildrenSelected(props.nodeId) && !(unref(treeState)?.isNodeIndeterminateById(props.nodeId) ?? false) ? (openBlock(), createElementBlock("div", _hoisted_6$1, [
|
|
9959
|
-
createVNode(_sfc_main$
|
|
10617
|
+
createVNode(_sfc_main$x, mergeProps({
|
|
9960
10618
|
ref_key: "triggerRef",
|
|
9961
10619
|
ref: triggerRef,
|
|
9962
10620
|
icon: "more",
|
|
@@ -10004,7 +10662,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
10004
10662
|
},
|
|
10005
10663
|
class: "cursor-pointer"
|
|
10006
10664
|
}, [
|
|
10007
|
-
createVNode(_sfc_main$
|
|
10665
|
+
createVNode(_sfc_main$b, {
|
|
10008
10666
|
modelValue: selectedOption.value,
|
|
10009
10667
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => selectedOption.value = $event),
|
|
10010
10668
|
id: `tree-popover-${props.nodeId}-${option.value}`,
|
|
@@ -10016,7 +10674,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
10016
10674
|
], 8, _hoisted_8);
|
|
10017
10675
|
}), 64))
|
|
10018
10676
|
]),
|
|
10019
|
-
createVNode(_sfc_main$
|
|
10677
|
+
createVNode(_sfc_main$x, mergeProps({
|
|
10020
10678
|
icon: "cross",
|
|
10021
10679
|
id: "tree-popover-close-button",
|
|
10022
10680
|
size: 24,
|
|
@@ -10078,7 +10736,7 @@ function useElementFinalSize(elementRef, onFinalSize, delay = 100) {
|
|
|
10078
10736
|
onCleanup(() => clearTimeout(timeoutId));
|
|
10079
10737
|
});
|
|
10080
10738
|
}
|
|
10081
|
-
const _sfc_main$
|
|
10739
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
10082
10740
|
__name: "FdsText",
|
|
10083
10741
|
props: {
|
|
10084
10742
|
type: { default: "default" },
|
|
@@ -10119,7 +10777,7 @@ const _hoisted_3$3 = {
|
|
|
10119
10777
|
key: 1,
|
|
10120
10778
|
class: "text-xl"
|
|
10121
10779
|
};
|
|
10122
|
-
const _sfc_main$
|
|
10780
|
+
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
10123
10781
|
__name: "FdsTreeView",
|
|
10124
10782
|
props: {
|
|
10125
10783
|
nodeExpandIcon: {},
|
|
@@ -10206,7 +10864,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
10206
10864
|
ref: searchContainerRef,
|
|
10207
10865
|
class: "pb-4"
|
|
10208
10866
|
}, [
|
|
10209
|
-
createVNode(_sfc_main$
|
|
10867
|
+
createVNode(_sfc_main$f, {
|
|
10210
10868
|
value: unref(treeState)?.searchTerm?.value ?? "",
|
|
10211
10869
|
onInput: _cache[0] || (_cache[0] = ($event) => unref(treeState)?.setSearchTerm($event.target.value)),
|
|
10212
10870
|
class: "w-full",
|
|
@@ -10223,7 +10881,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
10223
10881
|
props.searchCountTemplate && unref(treeState)?.searchTerm?.value && String(unref(treeState)?.searchTerm?.value || "").trim().length >= (unref(treeState)?.triggerLength ?? 1) ? (openBlock(), createElementBlock("h2", _hoisted_2$3, toDisplayString(props.searchCountTemplate.replace("[[filteredNodes]]", unref(treeState)?.filteredMatchCount.value.toString()).replace("[[totalNodes]]", totalNodeCount.value.toString())), 1)) : (openBlock(), createElementBlock("h2", _hoisted_3$3, toDisplayString(props.searchCountTemplateUnfiltered?.replace("[[totalNodes]]", totalNodeCount.value.toString()).replace("[[totalNodes]]", totalNodeCount.value.toString())), 1))
|
|
10224
10882
|
])) : createCommentVNode("", true)
|
|
10225
10883
|
], 512)) : createCommentVNode("", true),
|
|
10226
|
-
unref(treeState)?.isEmptySearchResult?.value ? (openBlock(), createBlock(_sfc_main$
|
|
10884
|
+
unref(treeState)?.isEmptySearchResult?.value ? (openBlock(), createBlock(_sfc_main$v, {
|
|
10227
10885
|
key: 1,
|
|
10228
10886
|
class: "mt-4"
|
|
10229
10887
|
}, {
|
|
@@ -10231,7 +10889,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
10231
10889
|
createTextVNode(toDisplayString(props.searchResultNoMatchesTitle), 1)
|
|
10232
10890
|
]),
|
|
10233
10891
|
default: withCtx(() => [
|
|
10234
|
-
createVNode(_sfc_main$
|
|
10892
|
+
createVNode(_sfc_main$9, null, {
|
|
10235
10893
|
default: withCtx(() => [
|
|
10236
10894
|
createTextVNode(toDisplayString(props.searchResultNoMatchesBody), 1)
|
|
10237
10895
|
]),
|
|
@@ -10243,7 +10901,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
10243
10901
|
createElementVNode("div", {
|
|
10244
10902
|
class: normalizeClass(["rounded-md", { "overflow-x-auto bg-white-solid": props.horizontalScroll }])
|
|
10245
10903
|
}, [
|
|
10246
|
-
props.data && !unref(treeState)?.isEmptySearchResult?.value ? (openBlock(), createBlock(_sfc_main$
|
|
10904
|
+
props.data && !unref(treeState)?.isEmptySearchResult?.value ? (openBlock(), createBlock(_sfc_main$a, {
|
|
10247
10905
|
key: 0,
|
|
10248
10906
|
style: { container: "bg-white-solid px-3 py-2" },
|
|
10249
10907
|
nodes: props.data.children || [],
|
|
@@ -10274,7 +10932,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
10274
10932
|
};
|
|
10275
10933
|
}
|
|
10276
10934
|
});
|
|
10277
|
-
const _sfc_main$
|
|
10935
|
+
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
10278
10936
|
__name: "FdsTruncatedText",
|
|
10279
10937
|
props: {
|
|
10280
10938
|
open: { type: Boolean, default: false },
|
|
@@ -10350,7 +11008,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
10350
11008
|
class: normalizeClass([contentClasses.value, { open: isOpen.value }]),
|
|
10351
11009
|
style: normalizeStyle({ maxWidth: `${containerWidth.value}px` })
|
|
10352
11010
|
}, toDisplayString(__props.content), 7)),
|
|
10353
|
-
shouldShowButton.value ? (openBlock(), createBlock(_sfc_main$
|
|
11011
|
+
shouldShowButton.value ? (openBlock(), createBlock(_sfc_main$p, {
|
|
10354
11012
|
key: 2,
|
|
10355
11013
|
icon: isOpen.value ? "arrowUp" : "arrowDown",
|
|
10356
11014
|
iconPos: "right",
|
|
@@ -10378,7 +11036,7 @@ const _hoisted_7 = {
|
|
|
10378
11036
|
key: 2,
|
|
10379
11037
|
class: "text-red-600 font-bold mt-1"
|
|
10380
11038
|
};
|
|
10381
|
-
const _sfc_main$
|
|
11039
|
+
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
10382
11040
|
...{
|
|
10383
11041
|
inheritAttrs: false
|
|
10384
11042
|
},
|
|
@@ -10487,7 +11145,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
10487
11145
|
[vModelSelect, internalValue.value]
|
|
10488
11146
|
]),
|
|
10489
11147
|
createElementVNode("div", _hoisted_6, [
|
|
10490
|
-
createVNode(_sfc_main$
|
|
11148
|
+
createVNode(_sfc_main$y, {
|
|
10491
11149
|
name: "arrowDown",
|
|
10492
11150
|
size: 24,
|
|
10493
11151
|
class: normalizeClass({
|
|
@@ -10514,7 +11172,7 @@ const _hoisted_5$1 = {
|
|
|
10514
11172
|
key: 2,
|
|
10515
11173
|
class: "text-red-600 font-bold mt-1"
|
|
10516
11174
|
};
|
|
10517
|
-
const _sfc_main$
|
|
11175
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
10518
11176
|
...{
|
|
10519
11177
|
inheritAttrs: false
|
|
10520
11178
|
},
|
|
@@ -10622,12 +11280,12 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
10622
11280
|
createElementVNode("div", {
|
|
10623
11281
|
class: normalizeClass(validationIconClasses.value)
|
|
10624
11282
|
}, [
|
|
10625
|
-
isInvalid.value ? (openBlock(), createBlock(_sfc_main$
|
|
11283
|
+
isInvalid.value ? (openBlock(), createBlock(_sfc_main$y, {
|
|
10626
11284
|
key: 0,
|
|
10627
11285
|
name: "alert",
|
|
10628
11286
|
class: "fill-red-600"
|
|
10629
11287
|
})) : createCommentVNode("", true),
|
|
10630
|
-
isValid.value ? (openBlock(), createBlock(_sfc_main$
|
|
11288
|
+
isValid.value ? (openBlock(), createBlock(_sfc_main$y, {
|
|
10631
11289
|
key: 1,
|
|
10632
11290
|
name: "bigSuccess"
|
|
10633
11291
|
})) : createCommentVNode("", true)
|
|
@@ -10638,7 +11296,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
10638
11296
|
};
|
|
10639
11297
|
}
|
|
10640
11298
|
});
|
|
10641
|
-
const _sfc_main$
|
|
11299
|
+
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
10642
11300
|
__name: "FdsTable",
|
|
10643
11301
|
props: {
|
|
10644
11302
|
bordered: { type: Boolean, default: false },
|
|
@@ -10671,7 +11329,7 @@ const _hoisted_2 = { key: 0 };
|
|
|
10671
11329
|
const _hoisted_3 = { key: 1 };
|
|
10672
11330
|
const _hoisted_4 = { key: 0 };
|
|
10673
11331
|
const _hoisted_5 = { key: 1 };
|
|
10674
|
-
const _sfc_main$
|
|
11332
|
+
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
10675
11333
|
__name: "FdsTableHead",
|
|
10676
11334
|
props: {
|
|
10677
11335
|
heading: { default: void 0 },
|
|
@@ -10715,7 +11373,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
10715
11373
|
unref(hasSlot) ? (openBlock(), createElementBlock("span", _hoisted_2, [
|
|
10716
11374
|
renderSlot(_ctx.$slots, "default")
|
|
10717
11375
|
])) : (openBlock(), createElementBlock("span", _hoisted_3, toDisplayString(__props.heading), 1)),
|
|
10718
|
-
createVNode(_sfc_main$
|
|
11376
|
+
createVNode(_sfc_main$y, {
|
|
10719
11377
|
name: iconName.value,
|
|
10720
11378
|
size: "24px",
|
|
10721
11379
|
class: "fill-blue-500"
|
|
@@ -10732,154 +11390,6 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
10732
11390
|
};
|
|
10733
11391
|
}
|
|
10734
11392
|
});
|
|
10735
|
-
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
10736
|
-
__name: "FdsTabs",
|
|
10737
|
-
props: {
|
|
10738
|
-
block: { type: Boolean, default: false },
|
|
10739
|
-
variant: { default: "primary" },
|
|
10740
|
-
dataTestid: { default: void 0 }
|
|
10741
|
-
},
|
|
10742
|
-
setup(__props) {
|
|
10743
|
-
const props = __props;
|
|
10744
|
-
const tabsClasses = computed(() => [
|
|
10745
|
-
"inline-flex overflow-auto max-w-full p-0.5 gap-0.5",
|
|
10746
|
-
{
|
|
10747
|
-
"flex justify-between w-full": props.block,
|
|
10748
|
-
"bg-blue_t-100 rounded-[10px] mb-8": props.variant === "primary",
|
|
10749
|
-
"gap-2 mb-4": props.variant === "secondary"
|
|
10750
|
-
}
|
|
10751
|
-
]);
|
|
10752
|
-
const rootAttrs = computed(() => {
|
|
10753
|
-
const attrs = {};
|
|
10754
|
-
if (props.dataTestid) {
|
|
10755
|
-
attrs["data-testid"] = props.dataTestid;
|
|
10756
|
-
}
|
|
10757
|
-
return attrs;
|
|
10758
|
-
});
|
|
10759
|
-
provide("tabsVariant", props.variant);
|
|
10760
|
-
provide("tabsBlock", props.block);
|
|
10761
|
-
return (_ctx, _cache) => {
|
|
10762
|
-
return openBlock(), createElementBlock("div", mergeProps({ class: tabsClasses.value }, rootAttrs.value), [
|
|
10763
|
-
renderSlot(_ctx.$slots, "default")
|
|
10764
|
-
], 16);
|
|
10765
|
-
};
|
|
10766
|
-
}
|
|
10767
|
-
});
|
|
10768
|
-
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
10769
|
-
...{
|
|
10770
|
-
inheritAttrs: false
|
|
10771
|
-
},
|
|
10772
|
-
__name: "FdsTabsItem",
|
|
10773
|
-
props: {
|
|
10774
|
-
to: { default: void 0 },
|
|
10775
|
-
href: { default: void 0 },
|
|
10776
|
-
as: { default: void 0 },
|
|
10777
|
-
active: { type: Boolean, default: void 0 },
|
|
10778
|
-
exact: { type: Boolean, default: false },
|
|
10779
|
-
disabled: { type: Boolean, default: false },
|
|
10780
|
-
label: { default: void 0 },
|
|
10781
|
-
dataTestid: { default: void 0 }
|
|
10782
|
-
},
|
|
10783
|
-
emits: ["click"],
|
|
10784
|
-
setup(__props, { emit: __emit }) {
|
|
10785
|
-
const emit = __emit;
|
|
10786
|
-
const handleClick = (ev) => {
|
|
10787
|
-
if (props.disabled) {
|
|
10788
|
-
ev.preventDefault();
|
|
10789
|
-
return;
|
|
10790
|
-
}
|
|
10791
|
-
emit("click", ev);
|
|
10792
|
-
};
|
|
10793
|
-
const instance = getCurrentInstance();
|
|
10794
|
-
const route = computed(() => {
|
|
10795
|
-
try {
|
|
10796
|
-
const router = instance?.appContext.config.globalProperties.$router;
|
|
10797
|
-
if (router && router.currentRoute) {
|
|
10798
|
-
return router.currentRoute.value;
|
|
10799
|
-
}
|
|
10800
|
-
} catch {
|
|
10801
|
-
}
|
|
10802
|
-
return null;
|
|
10803
|
-
});
|
|
10804
|
-
const props = __props;
|
|
10805
|
-
const { attrs } = useAttrsWithDefaults(props);
|
|
10806
|
-
const variant = inject("tabsVariant", "primary");
|
|
10807
|
-
const block = inject("tabsBlock", false);
|
|
10808
|
-
const isActive = computed(() => {
|
|
10809
|
-
if (props.active !== void 0) return props.active;
|
|
10810
|
-
const currentRoute = route.value;
|
|
10811
|
-
if (!currentRoute) return false;
|
|
10812
|
-
const currentPath = currentRoute.path;
|
|
10813
|
-
if (props.exact) {
|
|
10814
|
-
if (props.to && currentPath === props.to) return true;
|
|
10815
|
-
if (props.href && currentPath === props.href) return true;
|
|
10816
|
-
} else {
|
|
10817
|
-
if (props.to && currentPath.includes(props.to)) return true;
|
|
10818
|
-
if (props.href && currentPath.includes(props.href)) return true;
|
|
10819
|
-
}
|
|
10820
|
-
return false;
|
|
10821
|
-
});
|
|
10822
|
-
const componentType = computed(() => {
|
|
10823
|
-
if (props.as) return props.as;
|
|
10824
|
-
if (props.href) return "a";
|
|
10825
|
-
if (props.to) return "router-link";
|
|
10826
|
-
return "router-link";
|
|
10827
|
-
});
|
|
10828
|
-
const linkAttrs = computed(() => {
|
|
10829
|
-
if (componentType.value === "a") return { href: props.href || props.to };
|
|
10830
|
-
if (componentType.value === "router-link") {
|
|
10831
|
-
return { to: props.to || props.href || route.value?.path || "#" };
|
|
10832
|
-
}
|
|
10833
|
-
return {};
|
|
10834
|
-
});
|
|
10835
|
-
const componentAttrs = computed(() => ({
|
|
10836
|
-
...linkAttrs.value,
|
|
10837
|
-
...attrs
|
|
10838
|
-
}));
|
|
10839
|
-
const baseClasses = computed(() => {
|
|
10840
|
-
const blockClasses = block ? "flex flex-1" : "";
|
|
10841
|
-
return [
|
|
10842
|
-
"text-center",
|
|
10843
|
-
blockClasses,
|
|
10844
|
-
"flex justify-center w-full cursor-pointer font-bold text-base leading-6 m-0 select-none no-underline whitespace-nowrap"
|
|
10845
|
-
];
|
|
10846
|
-
});
|
|
10847
|
-
const variantClasses2 = computed(() => {
|
|
10848
|
-
if (variant === "primary") {
|
|
10849
|
-
return [
|
|
10850
|
-
"bg-transparent py-2 px-4 rounded-lg border-2 border-transparent text-inherit",
|
|
10851
|
-
isActive.value ? "border-transparent bg-white shadow-md" : "hover:bg-white/59 hover:outline-none active:border-transparent active:bg-white/80",
|
|
10852
|
-
"focus-visible:outline-dashed focus-visible:outline-2 focus-visible:outline-blue-500 focus-visible:outline-offset-[-2px]"
|
|
10853
|
-
];
|
|
10854
|
-
} else {
|
|
10855
|
-
return [
|
|
10856
|
-
"text-blue-700 py-1 px-2 rounded-md border-none",
|
|
10857
|
-
isActive.value ? "bg-blue-600 text-white" : "hover:bg-blue_t-100 active:bg-blue_t-200",
|
|
10858
|
-
"focus-visible:outline-dashed focus-visible:outline-2 focus-visible:outline-blue-500",
|
|
10859
|
-
"tracking-[0.002em]"
|
|
10860
|
-
];
|
|
10861
|
-
}
|
|
10862
|
-
});
|
|
10863
|
-
const disabledClasses = computed(() => props.disabled ? "cursor-not-allowed pointer-events-none opacity-35" : "");
|
|
10864
|
-
const buttonClasses = computed(() => [...baseClasses.value, ...variantClasses2.value, disabledClasses.value]);
|
|
10865
|
-
return (_ctx, _cache) => {
|
|
10866
|
-
return openBlock(), createBlock(resolveDynamicComponent(componentType.value), mergeProps(componentAttrs.value, {
|
|
10867
|
-
class: buttonClasses.value,
|
|
10868
|
-
disabled: componentType.value === "button" ? props.disabled : void 0,
|
|
10869
|
-
"aria-disabled": props.disabled ? "true" : void 0,
|
|
10870
|
-
"aria-current": isActive.value ? "page" : void 0,
|
|
10871
|
-
"data-testid": __props.dataTestid,
|
|
10872
|
-
onClick: handleClick
|
|
10873
|
-
}), {
|
|
10874
|
-
default: withCtx(() => [
|
|
10875
|
-
createTextVNode(toDisplayString(__props.label) + " ", 1),
|
|
10876
|
-
renderSlot(_ctx.$slots, "default")
|
|
10877
|
-
]),
|
|
10878
|
-
_: 3
|
|
10879
|
-
}, 16, ["class", "disabled", "aria-disabled", "aria-current", "data-testid"]);
|
|
10880
|
-
};
|
|
10881
|
-
}
|
|
10882
|
-
});
|
|
10883
11393
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
10884
11394
|
__name: "FdsHeading",
|
|
10885
11395
|
props: {
|
|
@@ -10986,7 +11496,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
10986
11496
|
});
|
|
10987
11497
|
return (_ctx, _cache) => {
|
|
10988
11498
|
return openBlock(), createElementBlock("div", mergeProps({ class: "inline-block mb-3 h-7 font-bold text-xl" }, rootAttrs.value), [
|
|
10989
|
-
__props.loading ? (openBlock(), createBlock(_sfc_main$
|
|
11499
|
+
__props.loading ? (openBlock(), createBlock(_sfc_main$q, {
|
|
10990
11500
|
key: 0,
|
|
10991
11501
|
size: "24px",
|
|
10992
11502
|
color: "blue",
|
|
@@ -11062,75 +11572,75 @@ const logoFeelgoodLight = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/
|
|
|
11062
11572
|
const bankid = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='85'%20height='80'%20fill='%23193e4f'%20xmlns:v='https://vecta.io/nano'%3e%3cpath%20d='M26.693%2041.74l3.534-22.276h-3.775c-1.767%200-4.043-.991-4.712-2.811-.214-.616-.723-2.731%202.195-4.793%201.044-.723%201.714-1.526%201.847-2.142.134-.643-.027-1.205-.482-1.633-.643-.616-1.901-.964-3.507-.964-2.704%200-4.605%201.553-4.792%202.677-.134.83.509%201.499%201.071%201.928%201.687%201.258%202.088%203.079%201.044%204.793-1.071%201.767-3.4%202.918-5.89%202.945H9.371L3.4%2057.51h20.83l2.463-15.77zM2.276%2065.221h8.541c3.641%200%204.525%201.847%204.257%203.534-.214%201.366-1.151%202.383-2.758%203.052%202.035.776%202.838%201.981%202.544%203.882-.375%202.383-2.436%204.15-5.141%204.15H0l2.276-14.618zm5.649%206.051c1.66%200%202.436-.884%202.597-1.928.161-1.124-.348-1.901-2.008-1.901H7.042l-.589%203.829h1.473zm-.91%206.292c1.714%200%202.704-.696%202.945-2.115.187-1.232-.509-1.954-2.169-1.954h-1.66l-.643%204.096h1.526v-.027zm19.812%202.383c-2.222.161-3.293-.08-3.829-1.044-1.178.723-2.49%201.098-3.882%201.098-2.517%200-3.4-1.312-3.159-2.758.107-.696.509-1.365%201.151-1.928%201.392-1.205%204.819-1.365%206.158-2.276.107-1.017-.294-1.392-1.553-1.392-1.473%200-2.704.482-4.819%201.928l.509-3.32c1.821-1.312%203.588-1.928%205.623-1.928%202.597%200%204.9%201.071%204.471%203.909l-.509%203.213c-.187%201.124-.134%201.473%201.125%201.499l-1.285%202.999zm-3.855-5.06c-1.178.75-3.373.616-3.615%202.169-.107.723.348%201.258%201.071%201.258.696%200%201.553-.294%202.249-.776-.054-.268-.027-.535.053-1.044l.241-1.606zm8.005-6.373h4.445l-.241%201.472c1.419-1.205%202.49-1.66%203.882-1.66%202.49%200%203.641%201.526%203.24%204.016l-1.151%207.47h-4.444l.964-6.185c.187-1.124-.161-1.66-1.017-1.66-.696%200-1.339.375-1.955%201.205l-1.017%206.613h-4.444l1.74-11.272zm14.806-3.293h4.445l-1.125%207.175%204.257-3.882h5.489l-5.462%204.819%204.391%206.479h-5.596l-3.373-5.248h-.054l-.803%205.221h-4.444l2.276-14.565zm15.716%200h5.114l-2.249%2014.592H59.25l2.249-14.592zm7.604%200h7.309c5.649%200%207.282%204.096%206.747%207.497-.509%203.32-3.133%207.095-8.086%207.095h-8.246l2.276-14.592zm4.739%2011.111c2.49%200%203.855-1.232%204.257-3.829.294-1.928-.295-3.829-3.052-3.829h-1.365l-1.178%207.657h1.339zM54.699%200H33.414l-2.838%2018.019h3.614c1.981%200%203.855-.91%204.659-2.222.268-.428.375-.803.375-1.151%200-.75-.509-1.312-1.017-1.687-1.392-1.044-1.687-2.142-1.687-2.918%200-.161%200-.295.027-.428.294-1.901%202.865-3.963%206.265-3.963%202.035%200%203.588.482%204.525%201.365.83.776%201.151%201.874.91%203.025-.294%201.365-1.66%202.49-2.436%203.052-2.062%201.446-1.794%202.704-1.66%203.079.428%201.124%202.062%201.847%203.32%201.847h5.515v.027c7.497.054%2011.513%203.507%2010.254%2011.54-1.178%207.47-6.908%2010.683-13.735%2010.736l-2.704%2017.242h3.989c16.841%200%2030.602-10.817%2033.307-27.898C87.443%208.461%2073.976%200%2054.699%200z'/%3e%3c/svg%3e";
|
|
11063
11573
|
const FdsVueCorePlugin = {
|
|
11064
11574
|
install(app) {
|
|
11065
|
-
app.component("FdsTreeView", _sfc_main$
|
|
11066
|
-
app.component("FdsButtonPrimary", _sfc_main$
|
|
11067
|
-
app.component("FdsButtonSecondary", _sfc_main$
|
|
11068
|
-
app.component("FdsButtonMinor", _sfc_main$
|
|
11069
|
-
app.component("FdsButtonIcon", _sfc_main$
|
|
11070
|
-
app.component("FdsButtonCopy", _sfc_main$
|
|
11071
|
-
app.component("FdsButtonDownload", _sfc_main$
|
|
11072
|
-
app.component("FdsDevMode", _sfc_main$
|
|
11073
|
-
app.component("FdsIcon", _sfc_main$
|
|
11074
|
-
app.component("FdsSpinner", _sfc_main$
|
|
11075
|
-
app.component("FdsRadio", _sfc_main$
|
|
11076
|
-
app.component("FdsCheckbox", _sfc_main$
|
|
11077
|
-
app.component("FdsTextarea", _sfc_main$
|
|
11078
|
-
app.component("FdsSelect", _sfc_main$
|
|
11079
|
-
app.component("FdsTable", _sfc_main$
|
|
11080
|
-
app.component("FdsTableHead", _sfc_main$
|
|
11081
|
-
app.component("FdsInput", _sfc_main$
|
|
11082
|
-
app.component("FdsBlockContent", _sfc_main$
|
|
11083
|
-
app.component("FdsBlockInfo", _sfc_main$
|
|
11084
|
-
app.component("FdsBlockAlert", _sfc_main$
|
|
11085
|
-
app.component("FdsBlockExpander", _sfc_main$
|
|
11086
|
-
app.component("FdsBlockLink", _sfc_main$
|
|
11087
|
-
app.component("FdsSticker", _sfc_main$
|
|
11088
|
-
app.component("FdsTabs", _sfc_main$
|
|
11089
|
-
app.component("FdsTabsItem", _sfc_main$
|
|
11090
|
-
app.component("FdsModal", _sfc_main$
|
|
11091
|
-
app.component("FdsPagination", _sfc_main$
|
|
11092
|
-
app.component("FdsSearchSelect", _sfc_main$
|
|
11093
|
-
app.component("FdsTruncatedText", _sfc_main$
|
|
11575
|
+
app.component("FdsTreeView", _sfc_main$8);
|
|
11576
|
+
app.component("FdsButtonPrimary", _sfc_main$m);
|
|
11577
|
+
app.component("FdsButtonSecondary", _sfc_main$l);
|
|
11578
|
+
app.component("FdsButtonMinor", _sfc_main$p);
|
|
11579
|
+
app.component("FdsButtonIcon", _sfc_main$x);
|
|
11580
|
+
app.component("FdsButtonCopy", _sfc_main$o);
|
|
11581
|
+
app.component("FdsButtonDownload", _sfc_main$n);
|
|
11582
|
+
app.component("FdsDevMode", _sfc_main$g);
|
|
11583
|
+
app.component("FdsIcon", _sfc_main$y);
|
|
11584
|
+
app.component("FdsSpinner", _sfc_main$q);
|
|
11585
|
+
app.component("FdsRadio", _sfc_main$b);
|
|
11586
|
+
app.component("FdsCheckbox", _sfc_main$c);
|
|
11587
|
+
app.component("FdsTextarea", _sfc_main$5);
|
|
11588
|
+
app.component("FdsSelect", _sfc_main$6);
|
|
11589
|
+
app.component("FdsTable", _sfc_main$4);
|
|
11590
|
+
app.component("FdsTableHead", _sfc_main$3);
|
|
11591
|
+
app.component("FdsInput", _sfc_main$f);
|
|
11592
|
+
app.component("FdsBlockContent", _sfc_main$v);
|
|
11593
|
+
app.component("FdsBlockInfo", _sfc_main$s);
|
|
11594
|
+
app.component("FdsBlockAlert", _sfc_main$w);
|
|
11595
|
+
app.component("FdsBlockExpander", _sfc_main$t);
|
|
11596
|
+
app.component("FdsBlockLink", _sfc_main$r);
|
|
11597
|
+
app.component("FdsSticker", _sfc_main$u);
|
|
11598
|
+
app.component("FdsTabs", _sfc_main$j);
|
|
11599
|
+
app.component("FdsTabsItem", _sfc_main$i);
|
|
11600
|
+
app.component("FdsModal", _sfc_main$k);
|
|
11601
|
+
app.component("FdsPagination", _sfc_main$e);
|
|
11602
|
+
app.component("FdsSearchSelect", _sfc_main$d);
|
|
11603
|
+
app.component("FdsTruncatedText", _sfc_main$7);
|
|
11094
11604
|
app.component("FdsHeading", _sfc_main$2);
|
|
11095
11605
|
app.component("FdsSeparator", FdsSeparator);
|
|
11096
|
-
app.component("FdsText", _sfc_main$
|
|
11606
|
+
app.component("FdsText", _sfc_main$9);
|
|
11097
11607
|
app.component("FdsListHeading", _sfc_main$1);
|
|
11098
11608
|
}
|
|
11099
11609
|
};
|
|
11100
11610
|
export {
|
|
11101
|
-
_sfc_main$
|
|
11102
|
-
_sfc_main$
|
|
11103
|
-
_sfc_main$
|
|
11104
|
-
_sfc_main$
|
|
11105
|
-
_sfc_main$
|
|
11106
|
-
_sfc_main$
|
|
11107
|
-
_sfc_main$
|
|
11108
|
-
_sfc_main$
|
|
11109
|
-
_sfc_main$
|
|
11110
|
-
_sfc_main$
|
|
11111
|
-
_sfc_main$
|
|
11112
|
-
_sfc_main$
|
|
11113
|
-
_sfc_main$
|
|
11611
|
+
_sfc_main$w as FdsBlockAlert,
|
|
11612
|
+
_sfc_main$v as FdsBlockContent,
|
|
11613
|
+
_sfc_main$t as FdsBlockExpander,
|
|
11614
|
+
_sfc_main$s as FdsBlockInfo,
|
|
11615
|
+
_sfc_main$r as FdsBlockLink,
|
|
11616
|
+
_sfc_main$o as FdsButtonCopy,
|
|
11617
|
+
_sfc_main$n as FdsButtonDownload,
|
|
11618
|
+
_sfc_main$x as FdsButtonIcon,
|
|
11619
|
+
_sfc_main$p as FdsButtonMinor,
|
|
11620
|
+
_sfc_main$m as FdsButtonPrimary,
|
|
11621
|
+
_sfc_main$l as FdsButtonSecondary,
|
|
11622
|
+
_sfc_main$c as FdsCheckbox,
|
|
11623
|
+
_sfc_main$g as FdsDevMode,
|
|
11114
11624
|
_sfc_main$2 as FdsHeading,
|
|
11115
|
-
_sfc_main$
|
|
11116
|
-
_sfc_main$
|
|
11625
|
+
_sfc_main$y as FdsIcon,
|
|
11626
|
+
_sfc_main$f as FdsInput,
|
|
11117
11627
|
_sfc_main$1 as FdsListHeading,
|
|
11118
|
-
_sfc_main$
|
|
11119
|
-
_sfc_main$
|
|
11120
|
-
_sfc_main$
|
|
11121
|
-
_sfc_main$
|
|
11122
|
-
_sfc_main$
|
|
11628
|
+
_sfc_main$k as FdsModal,
|
|
11629
|
+
_sfc_main$e as FdsPagination,
|
|
11630
|
+
_sfc_main$b as FdsRadio,
|
|
11631
|
+
_sfc_main$d as FdsSearchSelect,
|
|
11632
|
+
_sfc_main$6 as FdsSelect,
|
|
11123
11633
|
FdsSeparator,
|
|
11124
|
-
_sfc_main$
|
|
11125
|
-
_sfc_main$
|
|
11126
|
-
_sfc_main$
|
|
11127
|
-
_sfc_main$
|
|
11128
|
-
_sfc_main$
|
|
11129
|
-
_sfc_main$
|
|
11130
|
-
_sfc_main$
|
|
11131
|
-
_sfc_main$
|
|
11132
|
-
_sfc_main$
|
|
11133
|
-
_sfc_main$
|
|
11634
|
+
_sfc_main$q as FdsSpinner,
|
|
11635
|
+
_sfc_main$u as FdsSticker,
|
|
11636
|
+
_sfc_main$4 as FdsTable,
|
|
11637
|
+
_sfc_main$3 as FdsTableHead,
|
|
11638
|
+
_sfc_main$j as FdsTabs,
|
|
11639
|
+
_sfc_main$i as FdsTabsItem,
|
|
11640
|
+
_sfc_main$9 as FdsText,
|
|
11641
|
+
_sfc_main$5 as FdsTextarea,
|
|
11642
|
+
_sfc_main$8 as FdsTreeView,
|
|
11643
|
+
_sfc_main$7 as FdsTruncatedText,
|
|
11134
11644
|
bankid,
|
|
11135
11645
|
FdsVueCorePlugin as default,
|
|
11136
11646
|
isPidString,
|