@soroka282/migrant.ui-kit 0.0.75 → 0.0.76
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/{List-BERYwTWE.js → List-BV6VQmok.js} +1 -1
- package/dist/{index-BuzzIhhb.js → index-B8RpLJx4.js} +14 -9
- package/dist/migrant.ui-kit.es.js +2 -2
- package/dist/migrant.ui-kit.umd.js +2 -2
- package/dist/src/types/UI/ui-input.type.d.ts +2 -0
- package/package.json +1 -1
- package/src/components/UI-kit/inputs/UIInput.vue +4 -1
- package/src/types/UI/ui-input.type.ts +2 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as b, ref as p, computed as w, createElementBlock as s, openBlock as o, createCommentVNode as a, createElementVNode as d, createVNode as I, renderSlot as V, createBlock as B, resolveDynamicComponent as L, Fragment as g, renderList as _, normalizeStyle as m, normalizeClass as N, createTextVNode as F, toDisplayString as f } from "vue";
|
|
2
|
-
import { u as T, U, _ as $ } from "./index-
|
|
2
|
+
import { u as T, U, _ as $ } from "./index-B8RpLJx4.js";
|
|
3
3
|
const z = { class: "select-list" }, A = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "search-wrapper"
|
|
@@ -8690,15 +8690,18 @@ const hh = {
|
|
|
8690
8690
|
isBoxShadow: { type: Boolean, default: !1 },
|
|
8691
8691
|
isDate: { type: Boolean, default: !1 },
|
|
8692
8692
|
showSearchIcon: { type: Boolean, default: !1 },
|
|
8693
|
-
colorScheme: { default: "SIR" }
|
|
8693
|
+
colorScheme: { default: "SIR" },
|
|
8694
|
+
min: {},
|
|
8695
|
+
max: {}
|
|
8694
8696
|
},
|
|
8695
8697
|
emits: ["update:modelValue", "input", "blur", "focus"],
|
|
8696
8698
|
setup(e, { emit: t }) {
|
|
8697
8699
|
Cr((h) => ({
|
|
8698
|
-
"
|
|
8699
|
-
"
|
|
8700
|
-
|
|
8701
|
-
|
|
8700
|
+
"0fe3f72f": o.value,
|
|
8701
|
+
"3dc10f07": a.value,
|
|
8702
|
+
"137311b0": i.value,
|
|
8703
|
+
"28b8c73b": A.value,
|
|
8704
|
+
"29d46812": l.value
|
|
8702
8705
|
}));
|
|
8703
8706
|
const n = e, r = t, s = z(), i = z(ie[Y.PurpleLightBorder]), o = z(ie[Y.White]), a = z(ie[Y.GrayText]), l = z(ie[Y.Danger_5]), A = H(() => EA[n.colorScheme || "SIR"]), u = H(() => n.isDate ? String(n.modelValue).split("-").reverse().join(".") : n.modelValue), c = H(() => n.component === Pt.mask ? Ch : n.component === Pt.textarea ? "textarea" : "input"), d = H(() => ({
|
|
8704
8707
|
"--capitalize": n.isCapitalize,
|
|
@@ -8739,11 +8742,13 @@ const hh = {
|
|
|
8739
8742
|
readonly: h.readonly,
|
|
8740
8743
|
placeholder: h.placeholder,
|
|
8741
8744
|
masked: h.masked,
|
|
8742
|
-
inputmode: h.inputmode
|
|
8745
|
+
inputmode: h.inputmode,
|
|
8746
|
+
min: h.min,
|
|
8747
|
+
max: h.max
|
|
8743
8748
|
}, Gr(g.value), {
|
|
8744
8749
|
onFocus: m[0] || (m[0] = (C) => Q(C)),
|
|
8745
8750
|
onBlur: m[1] || (m[1] = (C) => r("blur", C))
|
|
8746
|
-
}), null, 16, ["id", "class", "value", "maska", "type", "disabled", "readonly", "placeholder", "masked", "inputmode"])),
|
|
8751
|
+
}), null, 16, ["id", "class", "value", "maska", "type", "disabled", "readonly", "placeholder", "masked", "inputmode", "min", "max"])),
|
|
8747
8752
|
n.showSearchIcon ? (k(), M("svg", Bh, [
|
|
8748
8753
|
j("circle", {
|
|
8749
8754
|
cx: "8.74992",
|
|
@@ -8761,7 +8766,7 @@ const hh = {
|
|
|
8761
8766
|
])
|
|
8762
8767
|
], 2));
|
|
8763
8768
|
}
|
|
8764
|
-
}), wl = /* @__PURE__ */ xe(wh, [["__scopeId", "data-v-
|
|
8769
|
+
}), wl = /* @__PURE__ */ xe(wh, [["__scopeId", "data-v-4e8609cd"]]), Oh = { class: "ui-modal__header" }, Vh = { class: "ui-modal__title-wrap" }, yh = { class: "ui-modal__title-inner" }, Dh = { class: "ui-modal__title" }, Fh = /* @__PURE__ */ ce({
|
|
8765
8770
|
__name: "UIModal",
|
|
8766
8771
|
props: {
|
|
8767
8772
|
modal: {}
|
|
@@ -9101,7 +9106,7 @@ const hh = {
|
|
|
9101
9106
|
const { openModal: n } = sa(), r = gA(), s = e, i = t, o = z(ie[Y.GrayBorder]), a = z(ie[Y.White]), l = z(ie[Y.GrayText]), A = z(ie[Y.Danger_5]), u = () => {
|
|
9102
9107
|
n({
|
|
9103
9108
|
component: hA(
|
|
9104
|
-
() => import("./List-
|
|
9109
|
+
() => import("./List-BV6VQmok.js")
|
|
9105
9110
|
),
|
|
9106
9111
|
modalProps: {
|
|
9107
9112
|
isHaveCloseModal: !0,
|