@stsdti/funky-ui-kit 1.6.4 → 1.6.6
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/funky-ui-kit.css +2 -2
- package/dist/funky-ui-kit.es.js +28 -13
- package/dist/funky-ui-kit.es.js.map +1 -1
- package/package.json +1 -1
- package/web-types.json +1 -1
package/dist/funky-ui-kit.es.js
CHANGED
|
@@ -13524,6 +13524,7 @@ const _sfc_main$1J = {
|
|
|
13524
13524
|
"has-error-control": !!hasError.value
|
|
13525
13525
|
};
|
|
13526
13526
|
});
|
|
13527
|
+
const isLabelVisible = computed(() => !props2.inputOnly && computedLabel && computedLabel.length > 0);
|
|
13527
13528
|
const elementClass = computed(() => {
|
|
13528
13529
|
return {
|
|
13529
13530
|
"display-flex app-form-element gap-1 ": true,
|
|
@@ -13569,7 +13570,7 @@ const _sfc_main$1J = {
|
|
|
13569
13570
|
class: normalizeClass(elementClass.value),
|
|
13570
13571
|
name: _ctx.name
|
|
13571
13572
|
}, [
|
|
13572
|
-
|
|
13573
|
+
isLabelVisible.value ? (openBlock(), createElementBlock("label", {
|
|
13573
13574
|
key: 0,
|
|
13574
13575
|
class: "mb-0",
|
|
13575
13576
|
style: normalizeStyle(labelStyle.value)
|
|
@@ -13605,7 +13606,7 @@ const _sfc_main$1J = {
|
|
|
13605
13606
|
};
|
|
13606
13607
|
}
|
|
13607
13608
|
};
|
|
13608
|
-
const AppFormElement = /* @__PURE__ */ _export_sfc(_sfc_main$1J, [["__scopeId", "data-v-
|
|
13609
|
+
const AppFormElement = /* @__PURE__ */ _export_sfc(_sfc_main$1J, [["__scopeId", "data-v-ed030431"]]);
|
|
13609
13610
|
function _typeof$1(o) {
|
|
13610
13611
|
"@babel/helpers - typeof";
|
|
13611
13612
|
return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
@@ -18156,7 +18157,8 @@ const _sfc_main$1G = {
|
|
|
18156
18157
|
name: unref(computedName),
|
|
18157
18158
|
placeholder: unref(computedPlaceHolder),
|
|
18158
18159
|
"text-input": computedTextInput.value,
|
|
18159
|
-
"time-config": computedTimeConfig.value
|
|
18160
|
+
"time-config": computedTimeConfig.value,
|
|
18161
|
+
teleport: true
|
|
18160
18162
|
}), createSlots({
|
|
18161
18163
|
"dp-input": withCtx(({ value, onInput, onEnter, onTab, onBlur, onFocus, onKeypress, onPaste, openMenu }) => [
|
|
18162
18164
|
createElementVNode("div", {
|
|
@@ -18223,7 +18225,7 @@ const _sfc_main$1G = {
|
|
|
18223
18225
|
};
|
|
18224
18226
|
}
|
|
18225
18227
|
};
|
|
18226
|
-
const AppDate = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["__scopeId", "data-v-
|
|
18228
|
+
const AppDate = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["__scopeId", "data-v-a41eb713"]]);
|
|
18227
18229
|
const _hoisted_1$1d = {
|
|
18228
18230
|
class: "flex-center-vertical dp__input dp__pointer dp__input_readonly dp__input_reg",
|
|
18229
18231
|
style: { "gap": "3px" }
|
|
@@ -29628,31 +29630,44 @@ const _sfc_main$12 = {
|
|
|
29628
29630
|
onOnRemove: ($event) => removeOption(opt)
|
|
29629
29631
|
}, {
|
|
29630
29632
|
modelValue: withCtx(() => [
|
|
29631
|
-
renderSlot(_ctx.$slots, "option", {
|
|
29633
|
+
renderSlot(_ctx.$slots, "option-selected", {
|
|
29632
29634
|
index: idx,
|
|
29633
29635
|
label: getOptionLabel(opt),
|
|
29634
29636
|
option: opt,
|
|
29635
29637
|
remove: () => removeOption(opt)
|
|
29636
29638
|
}, () => [
|
|
29637
|
-
|
|
29639
|
+
renderSlot(_ctx.$slots, "option", {
|
|
29640
|
+
index: idx,
|
|
29641
|
+
label: getOptionLabel(opt),
|
|
29638
29642
|
option: opt,
|
|
29639
|
-
|
|
29640
|
-
},
|
|
29643
|
+
remove: () => removeOption(opt)
|
|
29644
|
+
}, () => [
|
|
29645
|
+
createVNode(_sfc_main$15, {
|
|
29646
|
+
option: opt,
|
|
29647
|
+
class: "flex-grow-1"
|
|
29648
|
+
}, null, 8, ["option"])
|
|
29649
|
+
], true)
|
|
29641
29650
|
], true)
|
|
29642
29651
|
]),
|
|
29643
29652
|
_: 2
|
|
29644
29653
|
}, 1032, ["onOnRemove"])
|
|
29645
29654
|
], 8, _hoisted_4$g);
|
|
29646
29655
|
}), 128)) : (openBlock(), createElementBlock("div", _hoisted_5$b, [
|
|
29647
|
-
renderSlot(_ctx.$slots, "option", {
|
|
29656
|
+
renderSlot(_ctx.$slots, "option-selected", {
|
|
29648
29657
|
label: getOptionLabel(unref(selectedList)[0]),
|
|
29649
29658
|
option: unref(selectedList)[0],
|
|
29650
29659
|
remove: () => removeOption(unref(selectedList)[0])
|
|
29651
29660
|
}, () => [
|
|
29652
|
-
|
|
29661
|
+
renderSlot(_ctx.$slots, "option", {
|
|
29662
|
+
label: getOptionLabel(unref(selectedList)[0]),
|
|
29653
29663
|
option: unref(selectedList)[0],
|
|
29654
|
-
|
|
29655
|
-
},
|
|
29664
|
+
remove: () => removeOption(unref(selectedList)[0])
|
|
29665
|
+
}, () => [
|
|
29666
|
+
createVNode(_sfc_main$15, {
|
|
29667
|
+
option: unref(selectedList)[0],
|
|
29668
|
+
class: "overflow-hidden text-truncate"
|
|
29669
|
+
}, null, 8, ["option"])
|
|
29670
|
+
], true)
|
|
29656
29671
|
], true)
|
|
29657
29672
|
]))
|
|
29658
29673
|
])) : !unref(isDropdownOpen) ? (openBlock(), createElementBlock("div", _hoisted_6$7, toDisplayString(__props.placeholder), 1)) : createCommentVNode("", true)
|
|
@@ -29660,7 +29675,7 @@ const _sfc_main$12 = {
|
|
|
29660
29675
|
};
|
|
29661
29676
|
}
|
|
29662
29677
|
};
|
|
29663
|
-
const AppSelectNewContent = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-
|
|
29678
|
+
const AppSelectNewContent = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-d0b57778"]]);
|
|
29664
29679
|
const _hoisted_1$J = ["id"];
|
|
29665
29680
|
const _hoisted_2$x = { class: "app-select-area flex-1 flex-center-vertical overflow-hidden" };
|
|
29666
29681
|
const _hoisted_3$m = { class: "flex-center-vertical" };
|