fds-vue-core 2.0.37 → 2.0.38
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FdsSelect.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/FdsSelect/FdsSelect.vue"],"names":[],"mappings":"AAoHA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAK7C,KAAK,WAAW,GAAG,cAAc,CAAC;AA2ElC,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"FdsSelect.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/FdsSelect/FdsSelect.vue"],"names":[],"mappings":"AAoHA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAK7C,KAAK,WAAW,GAAG,cAAc,CAAC;AA2ElC,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;AA2JF,wBAIG"}
|
package/dist/fds-vue-core.cjs.js
CHANGED
|
@@ -1221,7 +1221,7 @@ const _hoisted_6$3 = {
|
|
|
1221
1221
|
};
|
|
1222
1222
|
const _hoisted_7$3 = { class: "flex flex-col gap-2" };
|
|
1223
1223
|
const _hoisted_8$2 = ["onClick"];
|
|
1224
|
-
const _hoisted_9$
|
|
1224
|
+
const _hoisted_9$1 = { key: 0 };
|
|
1225
1225
|
const popoverWidth = 327;
|
|
1226
1226
|
const popoverHeight = 80;
|
|
1227
1227
|
const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -1535,7 +1535,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
1535
1535
|
])) : vue.createCommentVNode("", true)
|
|
1536
1536
|
])
|
|
1537
1537
|
], 4),
|
|
1538
|
-
vue.unref(expandedNodes).has(props.nodeId) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9$
|
|
1538
|
+
vue.unref(expandedNodes).has(props.nodeId) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9$1, [
|
|
1539
1539
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(filteredNodes.value, (child) => {
|
|
1540
1540
|
return vue.openBlock(), vue.createBlock(_component_TreeNode, {
|
|
1541
1541
|
key: child.nodeId,
|
|
@@ -2662,22 +2662,21 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
|
2662
2662
|
};
|
|
2663
2663
|
}
|
|
2664
2664
|
});
|
|
2665
|
-
const _hoisted_1$b =
|
|
2666
|
-
const _hoisted_2$8 =
|
|
2667
|
-
const _hoisted_3$5 = {
|
|
2665
|
+
const _hoisted_1$b = ["for"];
|
|
2666
|
+
const _hoisted_2$8 = {
|
|
2668
2667
|
key: 1,
|
|
2669
2668
|
class: "font-thin mb-1"
|
|
2670
2669
|
};
|
|
2671
|
-
const
|
|
2672
|
-
const
|
|
2673
|
-
const
|
|
2670
|
+
const _hoisted_3$5 = { class: "relative" };
|
|
2671
|
+
const _hoisted_4$5 = ["id", "name", "disabled", "aria-invalid"];
|
|
2672
|
+
const _hoisted_5$3 = {
|
|
2674
2673
|
key: 0,
|
|
2675
2674
|
value: "",
|
|
2676
2675
|
disabled: ""
|
|
2677
2676
|
};
|
|
2678
|
-
const
|
|
2679
|
-
const
|
|
2680
|
-
const
|
|
2677
|
+
const _hoisted_6$1 = ["value", "disabled"];
|
|
2678
|
+
const _hoisted_7$1 = { class: "absolute right-3 top-1/2 -translate-y-1/2 pointer-events-none" };
|
|
2679
|
+
const _hoisted_8$1 = {
|
|
2681
2680
|
key: 2,
|
|
2682
2681
|
class: "text-red-600 font-bold mt-1"
|
|
2683
2682
|
};
|
|
@@ -2711,7 +2710,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
2711
2710
|
);
|
|
2712
2711
|
const isInvalid = vue.computed(() => props.valid === "false" && !props.optional && !props.disabled);
|
|
2713
2712
|
const selectClasses = vue.computed(() => [
|
|
2714
|
-
"block w-full rounded-md border border-gray-300 px-3 py-2 pr-8",
|
|
2713
|
+
"block w-full rounded-md border border-gray-300 px-3 py-2 pr-8 h-12 mb-4",
|
|
2715
2714
|
"focus:outline-2 focus:outline-blue-500 focus:border-transparent",
|
|
2716
2715
|
"appearance-none",
|
|
2717
2716
|
props.disabled ? "outline-dashed text-gray-600 outline-2 -outline-offset-2 outline-gray-400 cursor-not-allowed border-transparent" : "bg-white cursor-pointer",
|
|
@@ -2731,14 +2730,14 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
2731
2730
|
emit("input", ev);
|
|
2732
2731
|
}
|
|
2733
2732
|
return (_ctx, _cache) => {
|
|
2734
|
-
return vue.openBlock(), vue.createElementBlock("div",
|
|
2733
|
+
return vue.openBlock(), vue.createElementBlock("div", null, [
|
|
2735
2734
|
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", {
|
|
2736
2735
|
key: 0,
|
|
2737
2736
|
for: selectId.value,
|
|
2738
2737
|
class: vue.normalizeClass(["block font-bold text-gray-900 cursor-pointer", { "mb-0": _ctx.meta, "mb-1": !_ctx.meta }])
|
|
2739
|
-
}, vue.toDisplayString(_ctx.label), 11,
|
|
2740
|
-
_ctx.meta ? (vue.openBlock(), vue.createElementBlock("div",
|
|
2741
|
-
vue.createElementVNode("div",
|
|
2738
|
+
}, vue.toDisplayString(_ctx.label), 11, _hoisted_1$b)) : vue.createCommentVNode("", true),
|
|
2739
|
+
_ctx.meta ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$8, vue.toDisplayString(_ctx.meta), 1)) : vue.createCommentVNode("", true),
|
|
2740
|
+
vue.createElementVNode("div", _hoisted_3$5, [
|
|
2742
2741
|
vue.withDirectives(vue.createElementVNode("select", vue.mergeProps({
|
|
2743
2742
|
id: selectId.value,
|
|
2744
2743
|
name: _ctx.name || void 0,
|
|
@@ -2750,18 +2749,18 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
2750
2749
|
onChange: handleChange,
|
|
2751
2750
|
onInput: _cache[1] || (_cache[1] = (e) => emit("input", e))
|
|
2752
2751
|
}), [
|
|
2753
|
-
_ctx.placeholder ? (vue.openBlock(), vue.createElementBlock("option",
|
|
2752
|
+
_ctx.placeholder ? (vue.openBlock(), vue.createElementBlock("option", _hoisted_5$3, vue.toDisplayString(_ctx.placeholder), 1)) : vue.createCommentVNode("", true),
|
|
2754
2753
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.options, (option) => {
|
|
2755
2754
|
return vue.openBlock(), vue.createElementBlock("option", {
|
|
2756
2755
|
key: option.value,
|
|
2757
2756
|
value: option.value,
|
|
2758
2757
|
disabled: option.disabled
|
|
2759
|
-
}, vue.toDisplayString(option.label), 9,
|
|
2758
|
+
}, vue.toDisplayString(option.label), 9, _hoisted_6$1);
|
|
2760
2759
|
}), 128))
|
|
2761
|
-
], 16,
|
|
2760
|
+
], 16, _hoisted_4$5), [
|
|
2762
2761
|
[vue.vModelSelect, internalValue.value]
|
|
2763
2762
|
]),
|
|
2764
|
-
vue.createElementVNode("div",
|
|
2763
|
+
vue.createElementVNode("div", _hoisted_7$1, [
|
|
2765
2764
|
vue.createVNode(_sfc_main$u, {
|
|
2766
2765
|
name: "arrowDown",
|
|
2767
2766
|
size: 24,
|
|
@@ -2773,7 +2772,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
2773
2772
|
}, null, 8, ["class"])
|
|
2774
2773
|
])
|
|
2775
2774
|
]),
|
|
2776
|
-
showInvalidMessage.value ? (vue.openBlock(), vue.createElementBlock("div",
|
|
2775
|
+
showInvalidMessage.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$1, vue.toDisplayString(_ctx.invalidMessage), 1)) : vue.createCommentVNode("", true)
|
|
2777
2776
|
]);
|
|
2778
2777
|
};
|
|
2779
2778
|
}
|
|
@@ -3278,7 +3277,7 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3278
3277
|
setup(__props) {
|
|
3279
3278
|
const props = __props;
|
|
3280
3279
|
const tabsClasses = vue.computed(() => [
|
|
3281
|
-
"inline-flex overflow-auto max-w-full p-0.5 gap-0.5",
|
|
3280
|
+
"inline-flex overflow-auto max-w-full p-0.5 gap-0.5 mb-8",
|
|
3282
3281
|
{
|
|
3283
3282
|
"flex justify-between w-full": props.block,
|
|
3284
3283
|
"bg-blue_t-100 rounded-[10px]": props.variant === "primary",
|