@stsdti/funky-ui-kit 1.7.5 → 1.7.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 +112 -72
- package/dist/funky-ui-kit.es.js.map +1 -1
- package/package.json +1 -1
- package/web-types.json +85 -21
package/dist/funky-ui-kit.es.js
CHANGED
|
@@ -9483,7 +9483,7 @@ const _hoisted_2$Y = {
|
|
|
9483
9483
|
class: "breadcrumb-elements-item"
|
|
9484
9484
|
};
|
|
9485
9485
|
const _hoisted_3$H = { class: "flex-center-vertical" };
|
|
9486
|
-
const _hoisted_4$
|
|
9486
|
+
const _hoisted_4$x = {
|
|
9487
9487
|
key: 0,
|
|
9488
9488
|
class: "pl-5 pr-5"
|
|
9489
9489
|
};
|
|
@@ -9517,7 +9517,7 @@ const _sfc_main$1M = {
|
|
|
9517
9517
|
index,
|
|
9518
9518
|
item: breadcrumb
|
|
9519
9519
|
}, () => [
|
|
9520
|
-
index !== 0 ? (openBlock(), createElementBlock("span", _hoisted_4$
|
|
9520
|
+
index !== 0 ? (openBlock(), createElementBlock("span", _hoisted_4$x, "/")) : createCommentVNode("", true),
|
|
9521
9521
|
(openBlock(), createBlock(_component_router_link, {
|
|
9522
9522
|
key: index,
|
|
9523
9523
|
class: normalizeClass(getBreadcrumbClass(breadcrumb)),
|
|
@@ -13473,9 +13473,6 @@ const appFormElementProps = {
|
|
|
13473
13473
|
showError: {
|
|
13474
13474
|
type: Boolean,
|
|
13475
13475
|
default: true
|
|
13476
|
-
},
|
|
13477
|
-
leftIcon: {
|
|
13478
|
-
type: String
|
|
13479
13476
|
}
|
|
13480
13477
|
};
|
|
13481
13478
|
const _export_sfc = (sfc, props2) => {
|
|
@@ -13491,14 +13488,10 @@ const _hoisted_2$X = {
|
|
|
13491
13488
|
class: "text-danger"
|
|
13492
13489
|
};
|
|
13493
13490
|
const _hoisted_3$G = {
|
|
13494
|
-
key: 0,
|
|
13495
|
-
class: "form-control-feedback-icon"
|
|
13496
|
-
};
|
|
13497
|
-
const _hoisted_4$v = {
|
|
13498
13491
|
key: 0,
|
|
13499
13492
|
class: "help-block text-danger"
|
|
13500
13493
|
};
|
|
13501
|
-
const
|
|
13494
|
+
const _hoisted_4$w = {
|
|
13502
13495
|
key: 1,
|
|
13503
13496
|
class: "help-block"
|
|
13504
13497
|
};
|
|
@@ -13545,7 +13538,7 @@ const _sfc_main$1J = {
|
|
|
13545
13538
|
const contentSlotClass = computed(() => {
|
|
13546
13539
|
return {
|
|
13547
13540
|
"display-flex flex-1 form-control-feedback": true,
|
|
13548
|
-
"form-control-feedback-start": !!slots.beforeContent
|
|
13541
|
+
"form-control-feedback-start": !!slots.beforeContent
|
|
13549
13542
|
};
|
|
13550
13543
|
});
|
|
13551
13544
|
const contentStyle = computed(() => {
|
|
@@ -13563,7 +13556,6 @@ const _sfc_main$1J = {
|
|
|
13563
13556
|
};
|
|
13564
13557
|
});
|
|
13565
13558
|
return (_ctx, _cache2) => {
|
|
13566
|
-
const _component_app_icon = resolveComponent("app-icon");
|
|
13567
13559
|
const _directive_tippy = resolveDirective("tippy");
|
|
13568
13560
|
return !_ctx.hidden ? (openBlock(), createElementBlock("div", {
|
|
13569
13561
|
key: 0,
|
|
@@ -13588,9 +13580,7 @@ const _sfc_main$1J = {
|
|
|
13588
13580
|
createElementVNode("div", {
|
|
13589
13581
|
class: normalizeClass(contentContainerClass.value)
|
|
13590
13582
|
}, [
|
|
13591
|
-
_ctx
|
|
13592
|
-
createVNode(_component_app_icon, { value: _ctx.leftIcon }, null, 8, ["value"])
|
|
13593
|
-
])) : renderSlot(_ctx.$slots, "beforeContent", { key: 1 }, void 0, true),
|
|
13583
|
+
renderSlot(_ctx.$slots, "beforeContent", {}, void 0, true),
|
|
13594
13584
|
createElementVNode("div", {
|
|
13595
13585
|
class: normalizeClass(contentSlotClass.value)
|
|
13596
13586
|
}, [
|
|
@@ -13598,15 +13588,15 @@ const _sfc_main$1J = {
|
|
|
13598
13588
|
], 2),
|
|
13599
13589
|
renderSlot(_ctx.$slots, "afterContent", {}, void 0, true)
|
|
13600
13590
|
], 2),
|
|
13601
|
-
currentError.value ? (openBlock(), createElementBlock("span",
|
|
13602
|
-
_ctx.infoText ? (openBlock(), createElementBlock("span",
|
|
13591
|
+
currentError.value ? (openBlock(), createElementBlock("span", _hoisted_3$G, toDisplayString(currentError.value), 1)) : createCommentVNode("", true),
|
|
13592
|
+
_ctx.infoText ? (openBlock(), createElementBlock("span", _hoisted_4$w, toDisplayString(_ctx.infoText), 1)) : createCommentVNode("", true),
|
|
13603
13593
|
renderSlot(_ctx.$slots, "help-block", {}, void 0, true)
|
|
13604
13594
|
], 4)
|
|
13605
13595
|
], 10, _hoisted_1$1h)) : createCommentVNode("", true);
|
|
13606
13596
|
};
|
|
13607
13597
|
}
|
|
13608
13598
|
};
|
|
13609
|
-
const AppFormElement = /* @__PURE__ */ _export_sfc(_sfc_main$1J, [["__scopeId", "data-v-
|
|
13599
|
+
const AppFormElement = /* @__PURE__ */ _export_sfc(_sfc_main$1J, [["__scopeId", "data-v-f4028dc4"]]);
|
|
13610
13600
|
function _typeof$1(o) {
|
|
13611
13601
|
"@babel/helpers - typeof";
|
|
13612
13602
|
return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
@@ -18582,7 +18572,7 @@ function useClickOutside(options = {}) {
|
|
|
18582
18572
|
const _hoisted_1$1e = ["onClick"];
|
|
18583
18573
|
const _hoisted_2$W = ["value", "disabled", "placeholder", "onBlur", "onFocus", "onInput", "onKeydown", "onKeypress", "onPaste"];
|
|
18584
18574
|
const _hoisted_3$F = { key: 0 };
|
|
18585
|
-
const _hoisted_4$
|
|
18575
|
+
const _hoisted_4$v = {
|
|
18586
18576
|
key: 1,
|
|
18587
18577
|
class: "app-form-element-placeholder"
|
|
18588
18578
|
};
|
|
@@ -18714,7 +18704,7 @@ const _sfc_main$1G = {
|
|
|
18714
18704
|
onKeypress,
|
|
18715
18705
|
onPaste
|
|
18716
18706
|
}, null, 40, _hoisted_2$W)) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
18717
|
-
modelValue.value ? (openBlock(), createElementBlock("span", _hoisted_3$F, toDisplayString(value), 1)) : (openBlock(), createElementBlock("span", _hoisted_4$
|
|
18707
|
+
modelValue.value ? (openBlock(), createElementBlock("span", _hoisted_3$F, toDisplayString(value), 1)) : (openBlock(), createElementBlock("span", _hoisted_4$v, toDisplayString(unref(computedPlaceHolder)), 1))
|
|
18718
18708
|
], 64))
|
|
18719
18709
|
], 8, _hoisted_1$1e)
|
|
18720
18710
|
]),
|
|
@@ -18758,7 +18748,7 @@ const _hoisted_1$1d = {
|
|
|
18758
18748
|
};
|
|
18759
18749
|
const _hoisted_2$V = ["disabled", "placeholder", "onBlur", "onKeydown", "onKeypress", "onPaste"];
|
|
18760
18750
|
const _hoisted_3$E = { key: 0 };
|
|
18761
|
-
const _hoisted_4$
|
|
18751
|
+
const _hoisted_4$u = {
|
|
18762
18752
|
key: 1,
|
|
18763
18753
|
class: "app-form-element-placeholder"
|
|
18764
18754
|
};
|
|
@@ -18871,7 +18861,7 @@ const _sfc_main$1F = {
|
|
|
18871
18861
|
}, null, 40, _hoisted_2$V)), [
|
|
18872
18862
|
[vModelText, inputValue.value]
|
|
18873
18863
|
]) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
18874
|
-
modelValue.value ? (openBlock(), createElementBlock("span", _hoisted_3$E, toDisplayString(value), 1)) : (openBlock(), createElementBlock("span", _hoisted_4$
|
|
18864
|
+
modelValue.value ? (openBlock(), createElementBlock("span", _hoisted_3$E, toDisplayString(value), 1)) : (openBlock(), createElementBlock("span", _hoisted_4$u, toDisplayString(_ctx.placeholder), 1))
|
|
18875
18865
|
], 64))
|
|
18876
18866
|
])
|
|
18877
18867
|
]),
|
|
@@ -20942,7 +20932,7 @@ const _hoisted_3$B = {
|
|
|
20942
20932
|
key: 1,
|
|
20943
20933
|
class: "flex-1 input-placeholder"
|
|
20944
20934
|
};
|
|
20945
|
-
const _hoisted_4$
|
|
20935
|
+
const _hoisted_4$t = {
|
|
20946
20936
|
key: 2,
|
|
20947
20937
|
class: "form-control-feedback-icon clear-button"
|
|
20948
20938
|
};
|
|
@@ -21136,7 +21126,7 @@ const _sfc_main$1z = {
|
|
|
21136
21126
|
], 64)) : (openBlock(), createElementBlock("span", _hoisted_3$B, toDisplayString(props2.placeholder), 1))
|
|
21137
21127
|
], true)
|
|
21138
21128
|
], 2)),
|
|
21139
|
-
modelValue.value && __props.showRemoveButtons ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
21129
|
+
modelValue.value && __props.showRemoveButtons ? (openBlock(), createElementBlock("div", _hoisted_4$t, [
|
|
21140
21130
|
withDirectives(createElementVNode("i", {
|
|
21141
21131
|
class: "ph-x-circle app-cross-icon",
|
|
21142
21132
|
onClick: withModifiers(onDeleteInput, ["stop"])
|
|
@@ -21677,7 +21667,7 @@ let DateUtils = _DateUtils;
|
|
|
21677
21667
|
const _hoisted_1$17 = { class: "flex-center-vertical w-100" };
|
|
21678
21668
|
const _hoisted_2$Q = { class: "app-form-group-element flex-grow-1 mr-5" };
|
|
21679
21669
|
const _hoisted_3$z = { class: "app-form-group-element flex-grow-1" };
|
|
21680
|
-
const _hoisted_4$
|
|
21670
|
+
const _hoisted_4$s = {
|
|
21681
21671
|
key: 0,
|
|
21682
21672
|
class: "easy-buttons"
|
|
21683
21673
|
};
|
|
@@ -21850,7 +21840,7 @@ const _sfc_main$1w = {
|
|
|
21850
21840
|
"input-only": true
|
|
21851
21841
|
}, null, 8, ["modelValue", "disabled", "minute-options"])
|
|
21852
21842
|
]),
|
|
21853
|
-
_ctx.showEasyButtons ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
21843
|
+
_ctx.showEasyButtons ? (openBlock(), createElementBlock("div", _hoisted_4$s, [
|
|
21854
21844
|
createVNode(_sfc_main$1H, {
|
|
21855
21845
|
modelValue: localValue.value,
|
|
21856
21846
|
"onUpdate:modelValue": _cache2[2] || (_cache2[2] = ($event) => localValue.value = $event)
|
|
@@ -22006,7 +21996,7 @@ var IconSquareCheckFilled = createVueComponent("filled", "square-check-filled",
|
|
|
22006
21996
|
const _hoisted_1$16 = { class: "display-flex-column h-100" };
|
|
22007
21997
|
const _hoisted_2$P = { class: "flex-center-vertical w-100 p-3" };
|
|
22008
21998
|
const _hoisted_3$y = { class: "flex-1" };
|
|
22009
|
-
const _hoisted_4$
|
|
21999
|
+
const _hoisted_4$r = { class: "font-600 text-size-14" };
|
|
22010
22000
|
const _hoisted_5$k = { class: "p-20 flex-1 w-100" };
|
|
22011
22001
|
const _sfc_main$1v = {
|
|
22012
22002
|
__name: "AppDrawer",
|
|
@@ -22063,7 +22053,7 @@ const _sfc_main$1v = {
|
|
|
22063
22053
|
createElementVNode("div", _hoisted_2$P, [
|
|
22064
22054
|
createElementVNode("div", _hoisted_3$y, [
|
|
22065
22055
|
renderSlot(_ctx.$slots, "title", {}, () => [
|
|
22066
|
-
createElementVNode("div", _hoisted_4$
|
|
22056
|
+
createElementVNode("div", _hoisted_4$r, toDisplayString(__props.title), 1)
|
|
22067
22057
|
], true)
|
|
22068
22058
|
]),
|
|
22069
22059
|
createVNode(unref(IconX), {
|
|
@@ -22087,7 +22077,7 @@ const AppDrawer = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["__scopeId", "data
|
|
|
22087
22077
|
const _hoisted_1$15 = { class: "display-flex-column h-100" };
|
|
22088
22078
|
const _hoisted_2$O = { class: "flex-center-vertical pr-20 pl-20 w-100 mt-15" };
|
|
22089
22079
|
const _hoisted_3$x = { class: "flex-1 mb-10" };
|
|
22090
|
-
const _hoisted_4$
|
|
22080
|
+
const _hoisted_4$q = { class: "mb-0" };
|
|
22091
22081
|
const _hoisted_5$j = { class: "p-20 flex-1 w-100" };
|
|
22092
22082
|
const _hoisted_6$c = { class: "flex-center p-10 w-100 gap-1" };
|
|
22093
22083
|
const _sfc_main$1u = {
|
|
@@ -22151,7 +22141,7 @@ const _sfc_main$1u = {
|
|
|
22151
22141
|
createElementVNode("div", _hoisted_1$15, [
|
|
22152
22142
|
createElementVNode("div", _hoisted_2$O, [
|
|
22153
22143
|
createElementVNode("div", _hoisted_3$x, [
|
|
22154
|
-
createElementVNode("h4", _hoisted_4$
|
|
22144
|
+
createElementVNode("h4", _hoisted_4$q, toDisplayString(__props.title), 1)
|
|
22155
22145
|
]),
|
|
22156
22146
|
createElementVNode("i", {
|
|
22157
22147
|
class: "icon-x cursor-pointer",
|
|
@@ -22790,7 +22780,7 @@ const AppModal = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["__scopeId", "data-
|
|
|
22790
22780
|
const _hoisted_1$13 = { class: "app-alert-modal rounded-3 shadow p-3" };
|
|
22791
22781
|
const _hoisted_2$M = { class: "mb-2 fw-semibold" };
|
|
22792
22782
|
const _hoisted_3$w = ["innerHTML"];
|
|
22793
|
-
const _hoisted_4$
|
|
22783
|
+
const _hoisted_4$p = {
|
|
22794
22784
|
key: 1,
|
|
22795
22785
|
class: "mb-0 app-alert-modal-text"
|
|
22796
22786
|
};
|
|
@@ -22874,7 +22864,7 @@ const _sfc_main$1r = {
|
|
|
22874
22864
|
key: 0,
|
|
22875
22865
|
class: "app-alert-modal-text",
|
|
22876
22866
|
innerHTML: __props.text
|
|
22877
|
-
}, null, 8, _hoisted_3$w)) : (openBlock(), createElementBlock("p", _hoisted_4$
|
|
22867
|
+
}, null, 8, _hoisted_3$w)) : (openBlock(), createElementBlock("p", _hoisted_4$p, toDisplayString(__props.text), 1))
|
|
22878
22868
|
]),
|
|
22879
22869
|
createElementVNode("div", _hoisted_5$i, [
|
|
22880
22870
|
__props.showCancelButton ? (openBlock(), createBlock(_sfc_main$1L, {
|
|
@@ -26109,7 +26099,7 @@ const _hoisted_3$v = {
|
|
|
26109
26099
|
key: 1,
|
|
26110
26100
|
class: "file-action-button flex-1 mr-10"
|
|
26111
26101
|
};
|
|
26112
|
-
const _hoisted_4$
|
|
26102
|
+
const _hoisted_4$o = { class: "ph-eye" };
|
|
26113
26103
|
const _hoisted_5$h = { class: "ph-download" };
|
|
26114
26104
|
const _hoisted_6$b = { class: "ph-x-circle" };
|
|
26115
26105
|
const _sfc_main$1o = {
|
|
@@ -26164,7 +26154,7 @@ const _sfc_main$1o = {
|
|
|
26164
26154
|
class: "ml-5 mr-5 action-icon",
|
|
26165
26155
|
onClick: _cache2[0] || (_cache2[0] = () => emits("preview", __props.file))
|
|
26166
26156
|
}, [
|
|
26167
|
-
withDirectives(createElementVNode("i", _hoisted_4$
|
|
26157
|
+
withDirectives(createElementVNode("i", _hoisted_4$o, null, 512), [
|
|
26168
26158
|
[_directive_tippy, "Vizualizați fișierul"]
|
|
26169
26159
|
])
|
|
26170
26160
|
])) : createCommentVNode("", true),
|
|
@@ -26201,7 +26191,7 @@ const _hoisted_3$u = {
|
|
|
26201
26191
|
key: 1,
|
|
26202
26192
|
class: "flex-1"
|
|
26203
26193
|
};
|
|
26204
|
-
const _hoisted_4$
|
|
26194
|
+
const _hoisted_4$n = { class: "btn-group" };
|
|
26205
26195
|
const _hoisted_5$g = ["accept", "disabled"];
|
|
26206
26196
|
const _sfc_main$1n = {
|
|
26207
26197
|
__name: "AppFileInput",
|
|
@@ -26284,7 +26274,7 @@ const _sfc_main$1n = {
|
|
|
26284
26274
|
}, null, 8, ["file", "disabled", "show-preview", "show-download", "onRemove", "onDownload", "onPreview"]);
|
|
26285
26275
|
}), 128))
|
|
26286
26276
|
])) : (openBlock(), createElementBlock("div", _hoisted_3$u, toDisplayString(__props.disabled ? "Nu a fost ales niciun fișier." : "Alegeți un fișier."), 1)),
|
|
26287
|
-
createElementVNode("div", _hoisted_4$
|
|
26277
|
+
createElementVNode("div", _hoisted_4$n, [
|
|
26288
26278
|
!__props.disabled ? (openBlock(), createElementBlock("div", {
|
|
26289
26279
|
key: 0,
|
|
26290
26280
|
class: "btn-container",
|
|
@@ -26488,7 +26478,7 @@ const _hoisted_3$t = {
|
|
|
26488
26478
|
key: 1,
|
|
26489
26479
|
class: "card list app-form-repeater-list'"
|
|
26490
26480
|
};
|
|
26491
|
-
const _hoisted_4$
|
|
26481
|
+
const _hoisted_4$m = { class: "d-flex py-2 px-1" };
|
|
26492
26482
|
const _hoisted_5$f = { class: "flex-center mx-2" };
|
|
26493
26483
|
const _hoisted_6$a = { class: "px-1" };
|
|
26494
26484
|
const _hoisted_7$5 = { class: "flex-grow-1" };
|
|
@@ -26630,7 +26620,7 @@ const _sfc_main$1j = {
|
|
|
26630
26620
|
]),
|
|
26631
26621
|
_: 2
|
|
26632
26622
|
}, 1032, ["can-collapse", "is-collapsed", "onIsCollapsedChanged"])) : (openBlock(), createElementBlock("div", _hoisted_3$t, [
|
|
26633
|
-
createElementVNode("div", _hoisted_4$
|
|
26623
|
+
createElementVNode("div", _hoisted_4$m, [
|
|
26634
26624
|
createElementVNode("div", _hoisted_5$f, [
|
|
26635
26625
|
!__props.disabled && __props.isDraggable ? (openBlock(), createBlock(unref(IconMenu2), {
|
|
26636
26626
|
key: 0,
|
|
@@ -27957,10 +27947,13 @@ function _sfc_render$1(_ctx, _cache2, $props, $setup, $data, $options) {
|
|
|
27957
27947
|
]);
|
|
27958
27948
|
}
|
|
27959
27949
|
const AppColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["render", _sfc_render$1]]);
|
|
27960
|
-
const _hoisted_1$W = {
|
|
27950
|
+
const _hoisted_1$W = {
|
|
27951
|
+
key: 0,
|
|
27952
|
+
class: "app-control-left-icon"
|
|
27953
|
+
};
|
|
27961
27954
|
const _hoisted_2$G = ["disabled", "name", "placeholder", "type"];
|
|
27962
27955
|
const _hoisted_3$r = {
|
|
27963
|
-
key:
|
|
27956
|
+
key: 2,
|
|
27964
27957
|
class: "app-number-spinners"
|
|
27965
27958
|
};
|
|
27966
27959
|
const _sfc_main$1h = {
|
|
@@ -27974,6 +27967,10 @@ const _sfc_main$1h = {
|
|
|
27974
27967
|
type: Boolean,
|
|
27975
27968
|
default: true
|
|
27976
27969
|
},
|
|
27970
|
+
leftIcon: {
|
|
27971
|
+
type: String,
|
|
27972
|
+
default: null
|
|
27973
|
+
},
|
|
27977
27974
|
...appFormElementProps
|
|
27978
27975
|
}, {
|
|
27979
27976
|
"modelValue": {},
|
|
@@ -27988,6 +27985,18 @@ const _sfc_main$1h = {
|
|
|
27988
27985
|
const clearStyle = computed(() => ({
|
|
27989
27986
|
"margin-right": isTypeNumber.value ? "2px" : "8px"
|
|
27990
27987
|
}));
|
|
27988
|
+
const inputClass = computed(() => ({
|
|
27989
|
+
"input-empty no-spinner flex-1": true,
|
|
27990
|
+
"pl-15": !props2.leftIcon
|
|
27991
|
+
}));
|
|
27992
|
+
const inputContainerClass = computed(() => {
|
|
27993
|
+
return {
|
|
27994
|
+
"flex-center-vertical form-control": true,
|
|
27995
|
+
"p-0": !props2.leftIcon,
|
|
27996
|
+
"no-padding-right": !!props2.leftIcon,
|
|
27997
|
+
"gap-1": !!props2.leftIcon
|
|
27998
|
+
};
|
|
27999
|
+
});
|
|
27991
28000
|
const isTypeNumber = computed(() => props2.type === "number");
|
|
27992
28001
|
const { formElementProps, computedName, computedPlaceHolder } = useAppFormElement(props2);
|
|
27993
28002
|
const attrs = useAttrs();
|
|
@@ -28028,25 +28037,23 @@ const _sfc_main$1h = {
|
|
|
28028
28037
|
}
|
|
28029
28038
|
modelValue.value = val;
|
|
28030
28039
|
};
|
|
28031
|
-
computed(() => {
|
|
28032
|
-
return {
|
|
28033
|
-
// 'form-control': true,
|
|
28034
|
-
// 'disabled-element': props.disabled,
|
|
28035
|
-
// 'app-input--no-padding': !props.isClearable || props.disabled,
|
|
28036
|
-
// 'app-input--has-spinners': props.type === 'number'
|
|
28037
|
-
};
|
|
28038
|
-
});
|
|
28039
28040
|
__expose({
|
|
28040
28041
|
focus
|
|
28041
28042
|
});
|
|
28042
28043
|
return (_ctx, _cache2) => {
|
|
28044
|
+
const _component_app_icon = resolveComponent("app-icon");
|
|
28043
28045
|
const _directive_tippy = resolveDirective("tippy");
|
|
28044
28046
|
return openBlock(), createBlock(AppFormElement, normalizeProps(guardReactiveProps(unref(formElementProps))), createSlots({
|
|
28045
28047
|
"help-block": withCtx(() => [
|
|
28046
28048
|
renderSlot(_ctx.$slots, "help-block", {}, void 0, true)
|
|
28047
28049
|
]),
|
|
28048
28050
|
default: withCtx(() => [
|
|
28049
|
-
createElementVNode("div",
|
|
28051
|
+
createElementVNode("div", {
|
|
28052
|
+
class: normalizeClass(inputContainerClass.value)
|
|
28053
|
+
}, [
|
|
28054
|
+
__props.leftIcon ? (openBlock(), createElementBlock("div", _hoisted_1$W, [
|
|
28055
|
+
createVNode(_component_app_icon, { value: __props.leftIcon }, null, 8, ["value"])
|
|
28056
|
+
])) : createCommentVNode("", true),
|
|
28050
28057
|
withDirectives(createElementVNode("input", mergeProps({
|
|
28051
28058
|
ref_key: "inputElement",
|
|
28052
28059
|
ref: inputElement,
|
|
@@ -28055,7 +28062,7 @@ const _sfc_main$1h = {
|
|
|
28055
28062
|
name: unref(computedName),
|
|
28056
28063
|
placeholder: unref(computedPlaceHolder),
|
|
28057
28064
|
type: __props.type,
|
|
28058
|
-
class:
|
|
28065
|
+
class: inputClass.value
|
|
28059
28066
|
}, inputAttrs.value, {
|
|
28060
28067
|
onBlur,
|
|
28061
28068
|
onKeyup: withKeys(onSubmit, ["enter"])
|
|
@@ -28063,7 +28070,7 @@ const _sfc_main$1h = {
|
|
|
28063
28070
|
[vModelDynamic, unref(modelValue)]
|
|
28064
28071
|
]),
|
|
28065
28072
|
__props.isClearable && unref(modelValue) && !props2.disabled ? (openBlock(), createElementBlock("div", {
|
|
28066
|
-
key:
|
|
28073
|
+
key: 1,
|
|
28067
28074
|
style: normalizeStyle(clearStyle.value)
|
|
28068
28075
|
}, [
|
|
28069
28076
|
withDirectives(createElementVNode("i", {
|
|
@@ -28087,7 +28094,7 @@ const _sfc_main$1h = {
|
|
|
28087
28094
|
createVNode(unref(IconCaretDownFilled), { size: 14 })
|
|
28088
28095
|
])
|
|
28089
28096
|
])) : createCommentVNode("", true)
|
|
28090
|
-
])
|
|
28097
|
+
], 2)
|
|
28091
28098
|
]),
|
|
28092
28099
|
_: 2
|
|
28093
28100
|
}, [
|
|
@@ -28103,7 +28110,7 @@ const _sfc_main$1h = {
|
|
|
28103
28110
|
};
|
|
28104
28111
|
}
|
|
28105
28112
|
};
|
|
28106
|
-
const AppInput = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-
|
|
28113
|
+
const AppInput = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-7ca0aee1"]]);
|
|
28107
28114
|
const _hoisted_1$V = {
|
|
28108
28115
|
key: 0,
|
|
28109
28116
|
class: "app-link__label"
|
|
@@ -28632,7 +28639,7 @@ const _sfc_main$1a = {
|
|
|
28632
28639
|
const _hoisted_1$Q = { class: "row" };
|
|
28633
28640
|
const _hoisted_2$E = { class: "col-lg-12" };
|
|
28634
28641
|
const _hoisted_3$q = { class: "card card-white animated fadeIn" };
|
|
28635
|
-
const _hoisted_4$
|
|
28642
|
+
const _hoisted_4$l = { class: "card-header" };
|
|
28636
28643
|
const _hoisted_5$e = { class: "card-body" };
|
|
28637
28644
|
const _sfc_main$19 = {
|
|
28638
28645
|
__name: "AppPlaceholderCard",
|
|
@@ -28641,7 +28648,7 @@ const _sfc_main$19 = {
|
|
|
28641
28648
|
return openBlock(), createElementBlock("div", _hoisted_1$Q, [
|
|
28642
28649
|
createElementVNode("div", _hoisted_2$E, [
|
|
28643
28650
|
createElementVNode("div", _hoisted_3$q, [
|
|
28644
|
-
createElementVNode("div", _hoisted_4$
|
|
28651
|
+
createElementVNode("div", _hoisted_4$l, [
|
|
28645
28652
|
createVNode(_sfc_main$1b, {
|
|
28646
28653
|
img: true,
|
|
28647
28654
|
"img-size": "23px",
|
|
@@ -28841,7 +28848,7 @@ function useModelWatch({ props: props2, emits, propName = "modelValue", onDataCh
|
|
|
28841
28848
|
const _hoisted_1$P = ["tabindex"];
|
|
28842
28849
|
const _hoisted_2$D = ["tabindex"];
|
|
28843
28850
|
const _hoisted_3$p = ["tabindex"];
|
|
28844
|
-
const _hoisted_4$
|
|
28851
|
+
const _hoisted_4$k = ["onClick", "onKeyup"];
|
|
28845
28852
|
const _hoisted_5$d = ["tabindex"];
|
|
28846
28853
|
const _hoisted_6$9 = ["tabindex"];
|
|
28847
28854
|
const _hoisted_7$4 = ["tabindex"];
|
|
@@ -29037,7 +29044,7 @@ const _sfc_main$17 = {
|
|
|
29037
29044
|
tabindex: "0",
|
|
29038
29045
|
onClick: ($event) => handlePageSelected(page.index),
|
|
29039
29046
|
onKeyup: withKeys(($event) => handlePageSelected(page.index), ["enter"])
|
|
29040
|
-
}, toDisplayString(page.content), 43, _hoisted_4$
|
|
29047
|
+
}, toDisplayString(page.content), 43, _hoisted_4$k))
|
|
29041
29048
|
], 2);
|
|
29042
29049
|
}), 128)),
|
|
29043
29050
|
!(lastPageSelected() && _ctx.hidePrevNext) ? (openBlock(), createElementBlock("li", {
|
|
@@ -29079,7 +29086,7 @@ const _sfc_main$17 = {
|
|
|
29079
29086
|
const _hoisted_1$O = { class: "pagination-info-label" };
|
|
29080
29087
|
const _hoisted_2$C = { class: "text-muted d-none d-lg-block d-xl-block" };
|
|
29081
29088
|
const _hoisted_3$o = { key: 0 };
|
|
29082
|
-
const _hoisted_4$
|
|
29089
|
+
const _hoisted_4$j = { key: 1 };
|
|
29083
29090
|
const _sfc_main$16 = {
|
|
29084
29091
|
__name: "AppPaginationInfo",
|
|
29085
29092
|
props: {
|
|
@@ -29103,7 +29110,7 @@ const _sfc_main$16 = {
|
|
|
29103
29110
|
createElementVNode("div", _hoisted_1$O, [
|
|
29104
29111
|
createElementVNode("span", _hoisted_2$C, [
|
|
29105
29112
|
createTextVNode(toDisplayString(`Inregistrari vizibile: ${props2.modelValue.from || 0} - ${props2.modelValue.to || 0}`) + " ", 1),
|
|
29106
|
-
props2.modelValue.total ? (openBlock(), createElementBlock("span", _hoisted_3$o, toDisplayString(` din ${props2.modelValue.total}`), 1)) : (openBlock(), createElementBlock("span", _hoisted_4$
|
|
29113
|
+
props2.modelValue.total ? (openBlock(), createElementBlock("span", _hoisted_3$o, toDisplayString(` din ${props2.modelValue.total}`), 1)) : (openBlock(), createElementBlock("span", _hoisted_4$j, toDisplayString(` (total negenerat)`)))
|
|
29107
29114
|
])
|
|
29108
29115
|
]),
|
|
29109
29116
|
__props.canTogglePagination ? (openBlock(), createBlock(_sfc_main$1L, {
|
|
@@ -29298,7 +29305,7 @@ const _hoisted_2$A = {
|
|
|
29298
29305
|
class: "px-3 py-2 text-muted"
|
|
29299
29306
|
};
|
|
29300
29307
|
const _hoisted_3$n = { key: 1 };
|
|
29301
|
-
const _hoisted_4$
|
|
29308
|
+
const _hoisted_4$i = ["aria-disabled", "aria-selected", "onMouseenter", "onClick"];
|
|
29302
29309
|
const _hoisted_5$c = { class: "overflow-hidden text-truncate mx-2" };
|
|
29303
29310
|
const _hoisted_6$8 = {
|
|
29304
29311
|
key: 0,
|
|
@@ -29366,7 +29373,7 @@ const _sfc_main$14 = {
|
|
|
29366
29373
|
createVNode(_sfc_main$15, { option: item }, null, 8, ["option"])
|
|
29367
29374
|
], true)
|
|
29368
29375
|
])
|
|
29369
|
-
], 46, _hoisted_4$
|
|
29376
|
+
], 46, _hoisted_4$i);
|
|
29370
29377
|
}), 128)),
|
|
29371
29378
|
!unref(visibleOptions) || unref(visibleOptions).length === 0 ? (openBlock(), createElementBlock("div", _hoisted_6$8, "No results")) : createCommentVNode("", true)
|
|
29372
29379
|
]))
|
|
@@ -29415,7 +29422,7 @@ const _hoisted_3$m = {
|
|
|
29415
29422
|
key: 0,
|
|
29416
29423
|
class: "display-flex flex-row gap-1 flex-wrap overflow-hidden"
|
|
29417
29424
|
};
|
|
29418
|
-
const _hoisted_4$
|
|
29425
|
+
const _hoisted_4$h = ["title"];
|
|
29419
29426
|
const _hoisted_5$b = {
|
|
29420
29427
|
key: 1,
|
|
29421
29428
|
class: "overflow-hidden text-truncate"
|
|
@@ -29497,7 +29504,7 @@ const _sfc_main$12 = {
|
|
|
29497
29504
|
]),
|
|
29498
29505
|
_: 2
|
|
29499
29506
|
}, 1032, ["onOnRemove"])
|
|
29500
|
-
], 8, _hoisted_4$
|
|
29507
|
+
], 8, _hoisted_4$h);
|
|
29501
29508
|
}), 128)) : (openBlock(), createElementBlock("div", _hoisted_5$b, [
|
|
29502
29509
|
renderSlot(_ctx.$slots, "option-selected", {
|
|
29503
29510
|
label: getOptionLabel(unref(selectedList)[0]),
|
|
@@ -29523,8 +29530,12 @@ const _sfc_main$12 = {
|
|
|
29523
29530
|
};
|
|
29524
29531
|
const AppSelectNewContent = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-d0b57778"]]);
|
|
29525
29532
|
const _hoisted_1$J = ["id"];
|
|
29526
|
-
const _hoisted_2$x = {
|
|
29527
|
-
|
|
29533
|
+
const _hoisted_2$x = {
|
|
29534
|
+
key: 0,
|
|
29535
|
+
class: "app-control-left-icon"
|
|
29536
|
+
};
|
|
29537
|
+
const _hoisted_3$l = { class: "app-select-area flex-1 flex-center-vertical overflow-hidden" };
|
|
29538
|
+
const _hoisted_4$g = { class: "flex-center-vertical" };
|
|
29528
29539
|
const _sfc_main$11 = {
|
|
29529
29540
|
__name: "AppSelectNew",
|
|
29530
29541
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -29536,7 +29547,8 @@ const _sfc_main$11 = {
|
|
|
29536
29547
|
placeholder: { default: "Tastează pentru a căuta..." },
|
|
29537
29548
|
shouldClearSearchOnSelect: { type: Boolean, default: false },
|
|
29538
29549
|
debounce: { type: Number, default: 500 },
|
|
29539
|
-
shouldFetchOnOpen: { type: Boolean, default: false }
|
|
29550
|
+
shouldFetchOnOpen: { type: Boolean, default: false },
|
|
29551
|
+
leftIcon: { type: String, default: null }
|
|
29540
29552
|
}, {
|
|
29541
29553
|
"modelValue": {},
|
|
29542
29554
|
"modelModifiers": {}
|
|
@@ -29551,7 +29563,8 @@ const _sfc_main$11 = {
|
|
|
29551
29563
|
const mainClass = computed(() => {
|
|
29552
29564
|
return {
|
|
29553
29565
|
"disabled-element": props2.disabled,
|
|
29554
|
-
"app-select form-control d-flex": true
|
|
29566
|
+
"app-select form-control d-flex": true,
|
|
29567
|
+
"gap-1": !!props2.leftIcon
|
|
29555
29568
|
};
|
|
29556
29569
|
});
|
|
29557
29570
|
const { formElementProps } = useAppFormElement(props2);
|
|
@@ -29559,6 +29572,7 @@ const _sfc_main$11 = {
|
|
|
29559
29572
|
emits("mounted", context);
|
|
29560
29573
|
});
|
|
29561
29574
|
return (_ctx, _cache2) => {
|
|
29575
|
+
const _component_app_icon = resolveComponent("app-icon");
|
|
29562
29576
|
const _directive_tippy = resolveDirective("tippy");
|
|
29563
29577
|
return openBlock(), createBlock(AppFormElement, normalizeProps(guardReactiveProps(unref(formElementProps))), createSlots({
|
|
29564
29578
|
default: withCtx(() => [
|
|
@@ -29569,7 +29583,10 @@ const _sfc_main$11 = {
|
|
|
29569
29583
|
onClick: _cache2[1] || (_cache2[1] = withModifiers((...args) => unref(toggleDropdown) && unref(toggleDropdown)(...args), ["stop"])),
|
|
29570
29584
|
onKeydown: _cache2[2] || (_cache2[2] = withModifiers((...args) => unref(context).onKeydown && unref(context).onKeydown(...args), ["stop"]))
|
|
29571
29585
|
}, [
|
|
29572
|
-
|
|
29586
|
+
__props.leftIcon ? (openBlock(), createElementBlock("div", _hoisted_2$x, [
|
|
29587
|
+
createVNode(_component_app_icon, { value: __props.leftIcon }, null, 8, ["value"])
|
|
29588
|
+
])) : createCommentVNode("", true),
|
|
29589
|
+
createElementVNode("div", _hoisted_3$l, [
|
|
29573
29590
|
createVNode(AppSelectNewContent, {
|
|
29574
29591
|
placeholder: __props.placeholder,
|
|
29575
29592
|
onFilter: unref(fetchDebounced)
|
|
@@ -29605,7 +29622,7 @@ const _sfc_main$11 = {
|
|
|
29605
29622
|
]),
|
|
29606
29623
|
_: 3
|
|
29607
29624
|
}, 8, ["anchor", "is-open"]),
|
|
29608
|
-
createElementVNode("div",
|
|
29625
|
+
createElementVNode("div", _hoisted_4$g, [
|
|
29609
29626
|
__props.isClearable && !unref(isModelValueEmpty) ? withDirectives((openBlock(), createElementBlock("i", {
|
|
29610
29627
|
key: 0,
|
|
29611
29628
|
class: "ph-x-circle",
|
|
@@ -30435,7 +30452,10 @@ const _sfc_main$T = {
|
|
|
30435
30452
|
}
|
|
30436
30453
|
};
|
|
30437
30454
|
const _hoisted_1$C = ["onKeyup"];
|
|
30438
|
-
const _hoisted_2$r = {
|
|
30455
|
+
const _hoisted_2$r = {
|
|
30456
|
+
key: 0,
|
|
30457
|
+
class: "app-control-left-icon"
|
|
30458
|
+
};
|
|
30439
30459
|
const _hoisted_3$h = {
|
|
30440
30460
|
class: "flex-center-vertical",
|
|
30441
30461
|
style: {}
|
|
@@ -30450,6 +30470,10 @@ const _sfc_main$S = {
|
|
|
30450
30470
|
* This gets called after every search change
|
|
30451
30471
|
*/
|
|
30452
30472
|
getOptions: {},
|
|
30473
|
+
leftIcon: {
|
|
30474
|
+
type: String,
|
|
30475
|
+
default: null
|
|
30476
|
+
},
|
|
30453
30477
|
...sharedProps,
|
|
30454
30478
|
...appFormElementProps
|
|
30455
30479
|
}, {
|
|
@@ -30510,6 +30534,12 @@ const _sfc_main$S = {
|
|
|
30510
30534
|
rotated: isDropdownOpen.value
|
|
30511
30535
|
};
|
|
30512
30536
|
});
|
|
30537
|
+
const selectAreaClass = computed(() => {
|
|
30538
|
+
return {
|
|
30539
|
+
"app-select-area flex-center-vertical": true,
|
|
30540
|
+
"gap-1": !!props2.leftIcon
|
|
30541
|
+
};
|
|
30542
|
+
});
|
|
30513
30543
|
const mainClass = computed(() => {
|
|
30514
30544
|
return {
|
|
30515
30545
|
"disabled-element": props2.disabled,
|
|
@@ -30552,6 +30582,7 @@ const _sfc_main$S = {
|
|
|
30552
30582
|
});
|
|
30553
30583
|
const { formElementProps } = useAppFormElement(props2);
|
|
30554
30584
|
return (_ctx, _cache2) => {
|
|
30585
|
+
const _component_app_icon = resolveComponent("app-icon");
|
|
30555
30586
|
const _directive_tippy = resolveDirective("tippy");
|
|
30556
30587
|
return openBlock(), createBlock(AppFormElement, normalizeProps(guardReactiveProps(unref(formElementProps))), createSlots({
|
|
30557
30588
|
default: withCtx(() => [
|
|
@@ -30568,7 +30599,12 @@ const _sfc_main$S = {
|
|
|
30568
30599
|
withKeys(withModifiers(onKeyEscape, ["prevent"]), ["esc"])
|
|
30569
30600
|
]
|
|
30570
30601
|
}, [
|
|
30571
|
-
createElementVNode("div",
|
|
30602
|
+
createElementVNode("div", {
|
|
30603
|
+
class: normalizeClass(selectAreaClass.value)
|
|
30604
|
+
}, [
|
|
30605
|
+
__props.leftIcon ? (openBlock(), createElementBlock("div", _hoisted_2$r, [
|
|
30606
|
+
createVNode(_component_app_icon, { value: __props.leftIcon }, null, 8, ["value"])
|
|
30607
|
+
])) : createCommentVNode("", true),
|
|
30572
30608
|
createVNode(_sfc_main$T, mergeProps({
|
|
30573
30609
|
modelValue: modelValue.value,
|
|
30574
30610
|
"onUpdate:modelValue": _cache2[0] || (_cache2[0] = ($event) => modelValue.value = $event),
|
|
@@ -30599,7 +30635,7 @@ const _sfc_main$S = {
|
|
|
30599
30635
|
class: normalizeClass(computedIconClass.value)
|
|
30600
30636
|
}, null, 8, ["class"])
|
|
30601
30637
|
])
|
|
30602
|
-
]),
|
|
30638
|
+
], 2),
|
|
30603
30639
|
appSelect.value ? (openBlock(), createBlock(_sfc_main$1A, {
|
|
30604
30640
|
key: 0,
|
|
30605
30641
|
anchor: appSelect.value,
|
|
@@ -42827,6 +42863,10 @@ const selectOldProps = {
|
|
|
42827
42863
|
const _sfc_main$q = {
|
|
42828
42864
|
__name: "AppSelectBoolean",
|
|
42829
42865
|
props: /* @__PURE__ */ mergeModels({
|
|
42866
|
+
leftIcon: {
|
|
42867
|
+
type: String,
|
|
42868
|
+
default: null
|
|
42869
|
+
},
|
|
42830
42870
|
...selectOldProps,
|
|
42831
42871
|
...sharedProps,
|
|
42832
42872
|
...appFormElementProps
|