mhz-ui 1.0.19 → 1.0.21
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/UiEditor/UiEditor.js +4 -2
- package/dist/UiField/UiField.js +27 -24
- package/dist/UiInput/UiInput.js +30 -26
- package/dist/UiModal/UiModal.js +38 -29
- package/dist/UiPagination/UiPagination.js +34 -29
- package/dist/UiRange/UiRange.js +2 -1
- package/dist/UiSearch/UiSearch.d.ts +16 -24
- package/dist/UiSearch/UiSearch.js +95 -84
- package/dist/UiSelect/UiSelect.js +20 -15
- package/dist/UiSlider/UiSlider.js +26 -23
- package/dist/UiSpoiler/UiSpoiler.js +30 -27
- package/dist/UiTable/UiTable.js +61 -56
- package/dist/UiUpload/UiUpload.css +1 -1
- package/dist/UiUpload/UiUpload.d.ts +0 -9
- package/dist/UiUpload/UiUpload.js +100 -87
- package/package.json +19 -19
|
@@ -14915,12 +14915,14 @@ const Xa = (n, e) => {
|
|
|
14915
14915
|
key: a._id,
|
|
14916
14916
|
onClick: (c) => a.method(),
|
|
14917
14917
|
class: lr(o.$style.action),
|
|
14918
|
-
type: "button"
|
|
14918
|
+
type: "button",
|
|
14919
|
+
"data-test": "ui-editor-button"
|
|
14919
14920
|
}, yc(a.name), 11, Gg)), 64))
|
|
14920
14921
|
], 2),
|
|
14921
14922
|
bc(Oi(Um), {
|
|
14922
14923
|
editor: Oi(i),
|
|
14923
|
-
class: lr(o.$style.editor)
|
|
14924
|
+
class: lr(o.$style.editor),
|
|
14925
|
+
"data-test": "ui-editor"
|
|
14924
14926
|
}, null, 8, ["editor", "class"])
|
|
14925
14927
|
], 2));
|
|
14926
14928
|
}
|
package/dist/UiField/UiField.js
CHANGED
|
@@ -1,39 +1,42 @@
|
|
|
1
1
|
import "./UiField.css";
|
|
2
|
-
import { defineComponent as
|
|
3
|
-
import { _ as
|
|
4
|
-
const u = /* @__PURE__ */
|
|
2
|
+
import { defineComponent as n, openBlock as t, createElementBlock as s, normalizeClass as o, createElementVNode as l, toDisplayString as i, createCommentVNode as a, renderSlot as c } from "vue";
|
|
3
|
+
import { _ as f } from "../_plugin-vue_export-helper-dad06003.js";
|
|
4
|
+
const u = { "data-test": "ui-field-label" }, _ = { "data-test": "ui-field" }, p = /* @__PURE__ */ n({
|
|
5
5
|
__name: "UiField",
|
|
6
6
|
props: {
|
|
7
7
|
label: {},
|
|
8
8
|
error: { type: [String, Boolean] },
|
|
9
9
|
isRequired: { type: Boolean }
|
|
10
10
|
},
|
|
11
|
-
setup(
|
|
12
|
-
const e =
|
|
13
|
-
return (r,
|
|
11
|
+
setup(d) {
|
|
12
|
+
const e = d;
|
|
13
|
+
return (r, k) => (t(), s("div", {
|
|
14
14
|
class: o(r.$style.field)
|
|
15
15
|
}, [
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
e.isRequired ? (
|
|
16
|
+
l("label", null, [
|
|
17
|
+
l("span", u, i(e.label), 1),
|
|
18
|
+
e.isRequired ? (t(), s("span", {
|
|
19
19
|
key: 0,
|
|
20
|
-
class: o(r.$style.error)
|
|
21
|
-
|
|
20
|
+
class: o(r.$style.error),
|
|
21
|
+
"data-test": "ui-field-required"
|
|
22
|
+
}, "*", 2)) : a("", !0)
|
|
22
23
|
]),
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
24
|
+
l("div", _, [
|
|
25
|
+
c(r.$slots, "default")
|
|
26
|
+
]),
|
|
27
|
+
e.error ? (t(), s("div", {
|
|
28
|
+
key: 0,
|
|
29
|
+
class: o(r.$style.error),
|
|
30
|
+
"data-test": "ui-field-error"
|
|
31
|
+
}, i(e.error), 3)) : a("", !0)
|
|
29
32
|
], 2));
|
|
30
33
|
}
|
|
31
|
-
}),
|
|
32
|
-
field:
|
|
33
|
-
error:
|
|
34
|
-
},
|
|
35
|
-
$style:
|
|
36
|
-
},
|
|
34
|
+
}), m = "_field_1w19f_1", y = "_error_1w19f_9", $ = {
|
|
35
|
+
field: m,
|
|
36
|
+
error: y
|
|
37
|
+
}, b = {
|
|
38
|
+
$style: $
|
|
39
|
+
}, q = /* @__PURE__ */ f(p, [["__cssModules", b]]);
|
|
37
40
|
export {
|
|
38
|
-
|
|
41
|
+
q as default
|
|
39
42
|
};
|
package/dist/UiInput/UiInput.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import "./UiInput.css";
|
|
2
|
-
import { openBlock as a, createElementBlock as u, createElementVNode as
|
|
3
|
-
import { _ as
|
|
2
|
+
import { openBlock as a, createElementBlock as u, createElementVNode as i, defineComponent as m, ref as f, onMounted as y, nextTick as _, withKeys as C, normalizeClass as c, mergeProps as v, createBlock as h, resolveDynamicComponent as g, unref as k, createCommentVNode as b } from "vue";
|
|
3
|
+
import { _ as B } from "../_plugin-vue_export-helper-dad06003.js";
|
|
4
4
|
const I = {
|
|
5
5
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6
6
|
width: "16",
|
|
7
7
|
height: "16",
|
|
8
8
|
fill: "none"
|
|
9
|
-
}, w = /* @__PURE__ */
|
|
9
|
+
}, w = /* @__PURE__ */ i("path", {
|
|
10
10
|
fill: "currentColor",
|
|
11
11
|
"fill-rule": "evenodd",
|
|
12
12
|
d: "M11.5 11.5v-1c.25.005 2.485-.016 2.734-.031.433-.057.678-.302.735-.735.02-2.666.02-5.333 0-8-.057-.432-.302-.677-.735-.734-2.666-.02-5.333-.02-8 0-.432.057-.677.302-.734.734-.016.25-.005 1.516 0 1.766h-1a69.046 69.046 0 0 1 0-2.078C4.682.656 5.156.182 5.922 0c2.875-.02 5.75-.02 8.625 0 .765.182 1.24.656 1.422 1.422.02 2.875.02 5.75 0 8.625-.182.765-.656 1.24-1.422 1.422-.354.015-2.693.036-3.047.031Z",
|
|
13
13
|
"clip-rule": "evenodd"
|
|
14
|
-
}, null, -1), $ = /* @__PURE__ */
|
|
14
|
+
}, null, -1), $ = /* @__PURE__ */ i("path", {
|
|
15
15
|
fill: "currentColor",
|
|
16
16
|
"fill-rule": "evenodd",
|
|
17
17
|
d: "M2.5 3.5h1c2.2-.005 4.8-.016 7 0 .923.197 1.285.578 1.5 1.5.016 2.217-.029 5.131-.034 7.348v1.044c.145.963-.17 1.73-.943 2.298-.24.153-.5.25-.78.294-2.84.021-5.68.021-8.52 0-.923-.197-1.492-.757-1.707-1.68A665.626 665.626 0 0 1 0 5c.215-.922.577-1.303 1.5-1.5.292-.016.707-.005 1 0Zm-.5 1c2.601-.005 5.399-.016 8 0 .623.06.94.375 1 1 .022 2.608-.07 5.805-.091 8.413-.06.625-.401.968-1.024 1.027-2.602.022-5.203.022-7.804 0-.623-.06-.965-.402-1.024-1.027C1.035 11.305.978 8.108 1 5.5c0-.697.383-.93 1-1Z",
|
|
@@ -20,7 +20,7 @@ const I = {
|
|
|
20
20
|
w,
|
|
21
21
|
$
|
|
22
22
|
];
|
|
23
|
-
function x(
|
|
23
|
+
function x(d, n) {
|
|
24
24
|
return a(), u("svg", I, V);
|
|
25
25
|
}
|
|
26
26
|
const M = { render: x }, D = ["data-mode", "tabindex"], F = ["value", "disabled", "data-mode", "data-center", "data-append-icon", "tabindex"], N = /* @__PURE__ */ m({
|
|
@@ -35,42 +35,46 @@ const M = { render: x }, D = ["data-mode", "tabindex"], F = ["value", "disabled"
|
|
|
35
35
|
isCopy: { type: Boolean }
|
|
36
36
|
},
|
|
37
37
|
emits: ["update:modelValue", "toggle"],
|
|
38
|
-
setup(
|
|
39
|
-
const e =
|
|
40
|
-
function p(
|
|
41
|
-
n("update:modelValue",
|
|
38
|
+
setup(d, { emit: n }) {
|
|
39
|
+
const e = d;
|
|
40
|
+
function p(t) {
|
|
41
|
+
n("update:modelValue", t.value);
|
|
42
42
|
}
|
|
43
|
-
const
|
|
43
|
+
const s = f();
|
|
44
44
|
function r() {
|
|
45
45
|
e.isCopy && e.modelValue && navigator.clipboard.writeText(e.modelValue.toString());
|
|
46
46
|
}
|
|
47
|
-
return
|
|
48
|
-
e.isFocus && (await
|
|
49
|
-
}), (
|
|
50
|
-
onClick:
|
|
51
|
-
onKeydown:
|
|
52
|
-
class: c(
|
|
47
|
+
return y(async () => {
|
|
48
|
+
e.isFocus && (await _(), s.value?.focus());
|
|
49
|
+
}), (t, o) => (a(), u("div", {
|
|
50
|
+
onClick: o[1] || (o[1] = (l) => n("toggle")),
|
|
51
|
+
onKeydown: o[2] || (o[2] = C((l) => n("toggle"), ["space"])),
|
|
52
|
+
class: c(t.$style.inputBlock),
|
|
53
53
|
"data-mode": e.mode,
|
|
54
|
-
tabindex: e.mode === "default" ? "-1" : "0"
|
|
54
|
+
tabindex: e.mode === "default" ? "-1" : "0",
|
|
55
|
+
"data-test": "ui-input-block"
|
|
55
56
|
}, [
|
|
56
|
-
|
|
57
|
+
i("input", v({
|
|
57
58
|
value: e.modelValue,
|
|
58
|
-
onInput:
|
|
59
|
+
onInput: o[0] || (o[0] = (l) => p(l.target)),
|
|
59
60
|
disabled: e.isDisabled,
|
|
60
|
-
class:
|
|
61
|
+
class: t.$style.input,
|
|
61
62
|
ref_key: "input",
|
|
62
|
-
ref:
|
|
63
|
-
},
|
|
63
|
+
ref: s
|
|
64
|
+
}, t.$attrs, {
|
|
64
65
|
"data-mode": e.mode,
|
|
65
66
|
"data-center": e.isCenter,
|
|
66
67
|
"data-append-icon": !!e.appendIcon || e.isCopy,
|
|
67
|
-
tabindex: e.mode === "default" ? "0" : "-1"
|
|
68
|
+
tabindex: e.mode === "default" ? "0" : "-1",
|
|
69
|
+
"data-test": "ui-input"
|
|
68
70
|
}), null, 16, F),
|
|
69
71
|
e.appendIcon || e.isCopy ? (a(), h(g(e.isCopy ? k(M) : e.appendIcon), {
|
|
70
72
|
key: 0,
|
|
71
73
|
onClick: r,
|
|
72
|
-
class: c(
|
|
73
|
-
|
|
74
|
+
class: c(t.$style.icon),
|
|
75
|
+
"data-copy": e.isCopy,
|
|
76
|
+
"data-test": "ui-input-icon"
|
|
77
|
+
}, null, 8, ["class", "data-copy"])) : b("", !0)
|
|
74
78
|
], 42, D));
|
|
75
79
|
}
|
|
76
80
|
}), Z = "_inputBlock_18lh2_1", E = "_input_18lh2_1", K = "_icon_18lh2_47", S = {
|
|
@@ -79,7 +83,7 @@ const M = { render: x }, D = ["data-mode", "tabindex"], F = ["value", "disabled"
|
|
|
79
83
|
icon: K
|
|
80
84
|
}, T = {
|
|
81
85
|
$style: S
|
|
82
|
-
}, z = /* @__PURE__ */
|
|
86
|
+
}, z = /* @__PURE__ */ B(N, [["__cssModules", T]]);
|
|
83
87
|
export {
|
|
84
88
|
z as default
|
|
85
89
|
};
|
package/dist/UiModal/UiModal.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./UiModal.css";
|
|
2
|
-
import { defineComponent as
|
|
2
|
+
import { defineComponent as v, watch as V, openBlock as r, createElementBlock as u, normalizeClass as l, createElementVNode as s, withModifiers as k, renderSlot as C, createVNode as m, withCtx as i, createTextVNode as c, createCommentVNode as f } from "vue";
|
|
3
3
|
import p from "../UiButton/UiButton.js";
|
|
4
4
|
import { _ as $ } from "../_plugin-vue_export-helper-dad06003.js";
|
|
5
|
-
const b = /* @__PURE__ */
|
|
5
|
+
const b = { "data-test": "ui-modal-slot" }, w = /* @__PURE__ */ v({
|
|
6
6
|
__name: "UiModal",
|
|
7
7
|
props: {
|
|
8
8
|
modelValue: { type: Boolean },
|
|
@@ -10,42 +10,50 @@ const b = /* @__PURE__ */ _({
|
|
|
10
10
|
},
|
|
11
11
|
emits: ["update:modelValue", "confirm"],
|
|
12
12
|
setup(y, { emit: t }) {
|
|
13
|
-
const
|
|
13
|
+
const a = y, n = document.querySelector("body");
|
|
14
14
|
V(
|
|
15
|
-
() =>
|
|
15
|
+
() => a.modelValue,
|
|
16
16
|
() => {
|
|
17
|
-
const e =
|
|
18
|
-
|
|
17
|
+
const e = a.modelValue ? "hidden" : "auto";
|
|
18
|
+
n && (n.style.overflow = e);
|
|
19
19
|
}
|
|
20
20
|
);
|
|
21
|
-
function
|
|
21
|
+
function _() {
|
|
22
22
|
t("confirm"), t("update:modelValue", !1);
|
|
23
23
|
}
|
|
24
|
-
return (e, o) =>
|
|
24
|
+
return (e, o) => a.modelValue ? (r(), u("div", {
|
|
25
25
|
key: 0,
|
|
26
26
|
onMousedown: o[3] || (o[3] = (d) => t("update:modelValue", !1)),
|
|
27
|
-
class: l(e.$style.container)
|
|
27
|
+
class: l(e.$style.container),
|
|
28
|
+
"data-test": "ui-modal-container"
|
|
28
29
|
}, [
|
|
29
|
-
|
|
30
|
+
s("div", {
|
|
30
31
|
onMousedown: o[2] || (o[2] = k(() => {
|
|
31
32
|
}, ["stop"])),
|
|
32
|
-
class: l(e.$style.modal)
|
|
33
|
+
class: l(e.$style.modal),
|
|
34
|
+
"data-test": "ui-modal"
|
|
33
35
|
}, [
|
|
34
|
-
|
|
36
|
+
s("div", {
|
|
35
37
|
class: l(e.$style.header)
|
|
36
38
|
}, [
|
|
37
|
-
|
|
39
|
+
s("button", {
|
|
38
40
|
onClick: o[0] || (o[0] = (d) => t("update:modelValue", !1)),
|
|
39
41
|
class: l(e.$style.close),
|
|
40
|
-
type: "button"
|
|
41
|
-
|
|
42
|
+
type: "button",
|
|
43
|
+
"data-test": "ui-modal-close"
|
|
44
|
+
}, " × ", 2)
|
|
42
45
|
], 2),
|
|
43
|
-
|
|
44
|
-
|
|
46
|
+
s("div", b, [
|
|
47
|
+
C(e.$slots, "default")
|
|
48
|
+
]),
|
|
49
|
+
a.isConfirm ? (r(), u("div", {
|
|
45
50
|
key: 0,
|
|
46
51
|
class: l(e.$style.buttons)
|
|
47
52
|
}, [
|
|
48
|
-
m(p, {
|
|
53
|
+
m(p, {
|
|
54
|
+
onClick: _,
|
|
55
|
+
"data-test": "ui-modal-confirm"
|
|
56
|
+
}, {
|
|
49
57
|
default: i(() => [
|
|
50
58
|
c("Confirm")
|
|
51
59
|
]),
|
|
@@ -53,10 +61,11 @@ const b = /* @__PURE__ */ _({
|
|
|
53
61
|
}),
|
|
54
62
|
m(p, {
|
|
55
63
|
layout: "secondary",
|
|
56
|
-
onClick: o[1] || (o[1] = (d) => t("update:modelValue", !1))
|
|
64
|
+
onClick: o[1] || (o[1] = (d) => t("update:modelValue", !1)),
|
|
65
|
+
"data-test": "ui-modal-cancel"
|
|
57
66
|
}, {
|
|
58
67
|
default: i(() => [
|
|
59
|
-
c("Cancel")
|
|
68
|
+
c(" Cancel ")
|
|
60
69
|
]),
|
|
61
70
|
_: 1
|
|
62
71
|
})
|
|
@@ -64,15 +73,15 @@ const b = /* @__PURE__ */ _({
|
|
|
64
73
|
], 34)
|
|
65
74
|
], 34)) : f("", !0);
|
|
66
75
|
}
|
|
67
|
-
}),
|
|
68
|
-
container:
|
|
69
|
-
modal:
|
|
70
|
-
header:
|
|
71
|
-
close:
|
|
76
|
+
}), M = "_container_vrmka_1", B = "_modal_vrmka_13", N = "_header_vrmka_28", h = "_close_vrmka_33", U = "_buttons_vrmka_50", E = {
|
|
77
|
+
container: M,
|
|
78
|
+
modal: B,
|
|
79
|
+
header: N,
|
|
80
|
+
close: h,
|
|
72
81
|
buttons: U
|
|
73
|
-
},
|
|
74
|
-
$style:
|
|
75
|
-
},
|
|
82
|
+
}, S = {
|
|
83
|
+
$style: E
|
|
84
|
+
}, g = /* @__PURE__ */ $(w, [["__cssModules", S]]);
|
|
76
85
|
export {
|
|
77
|
-
|
|
86
|
+
g as default
|
|
78
87
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./UiPagination.css";
|
|
2
|
-
import { defineComponent as u, openBlock as b, createElementBlock as r, normalizeClass as
|
|
3
|
-
import { _ as
|
|
4
|
-
const
|
|
2
|
+
import { defineComponent as u, openBlock as b, createElementBlock as r, normalizeClass as n, createElementVNode as o, toDisplayString as l } from "vue";
|
|
3
|
+
import { _ as g } from "../_plugin-vue_export-helper-dad06003.js";
|
|
4
|
+
const m = ["disabled"], y = ["disabled"], $ = ["disabled"], f = ["disabled"], c = /* @__PURE__ */ u({
|
|
5
5
|
__name: "UiPagination",
|
|
6
6
|
props: {
|
|
7
7
|
page: {},
|
|
@@ -13,45 +13,50 @@ const g = ["disabled"], y = ["disabled"], $ = ["disabled"], f = ["disabled"], c
|
|
|
13
13
|
function s(t) {
|
|
14
14
|
p("update", t), document.querySelector("main")?.scrollTo(0, 0);
|
|
15
15
|
}
|
|
16
|
-
return (t,
|
|
17
|
-
class:
|
|
16
|
+
return (t, e) => (b(), r("div", {
|
|
17
|
+
class: n(t.$style.pagination)
|
|
18
18
|
}, [
|
|
19
|
-
|
|
20
|
-
onClick:
|
|
19
|
+
o("button", {
|
|
20
|
+
onClick: e[0] || (e[0] = (i) => s(1)),
|
|
21
21
|
disabled: t.page === 1,
|
|
22
|
-
class:
|
|
23
|
-
type: "button"
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
22
|
+
class: n(t.$style.button),
|
|
23
|
+
type: "button",
|
|
24
|
+
"data-test": "ui-pagination-first"
|
|
25
|
+
}, " << ", 10, m),
|
|
26
|
+
o("button", {
|
|
27
|
+
onClick: e[1] || (e[1] = (i) => s(a.page - 1)),
|
|
27
28
|
disabled: t.page === 1,
|
|
28
|
-
class:
|
|
29
|
-
type: "button"
|
|
29
|
+
class: n(t.$style.button),
|
|
30
|
+
type: "button",
|
|
31
|
+
"data-test": "ui-pagination-prev"
|
|
30
32
|
}, " < ", 10, y),
|
|
31
|
-
|
|
32
|
-
class:
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
o("div", {
|
|
34
|
+
class: n(t.$style.text),
|
|
35
|
+
"data-test": "ui-pagination"
|
|
36
|
+
}, l(t.page) + " of " + l(t.total), 3),
|
|
37
|
+
o("button", {
|
|
38
|
+
onClick: e[2] || (e[2] = (i) => s(a.page + 1)),
|
|
36
39
|
disabled: t.page === t.total,
|
|
37
|
-
class:
|
|
38
|
-
type: "button"
|
|
40
|
+
class: n(t.$style.button),
|
|
41
|
+
type: "button",
|
|
42
|
+
"data-test": "ui-pagination-next"
|
|
39
43
|
}, " > ", 10, $),
|
|
40
|
-
|
|
41
|
-
onClick:
|
|
44
|
+
o("button", {
|
|
45
|
+
onClick: e[3] || (e[3] = (i) => s(a.total)),
|
|
42
46
|
disabled: t.page === t.total,
|
|
43
|
-
class:
|
|
44
|
-
type: "button"
|
|
47
|
+
class: n(t.$style.button),
|
|
48
|
+
type: "button",
|
|
49
|
+
"data-test": "ui-pagination-last"
|
|
45
50
|
}, " >> ", 10, f)
|
|
46
51
|
], 2));
|
|
47
52
|
}
|
|
48
|
-
}),
|
|
49
|
-
pagination:
|
|
50
|
-
button:
|
|
53
|
+
}), v = "_pagination_3h5xm_1", k = "_button_3h5xm_9", C = "_text_3h5xm_30", _ = {
|
|
54
|
+
pagination: v,
|
|
55
|
+
button: k,
|
|
51
56
|
text: C
|
|
52
57
|
}, U = {
|
|
53
58
|
$style: _
|
|
54
|
-
}, M = /* @__PURE__ */
|
|
59
|
+
}, M = /* @__PURE__ */ g(c, [["__cssModules", U]]);
|
|
55
60
|
export {
|
|
56
61
|
M as default
|
|
57
62
|
};
|
package/dist/UiRange/UiRange.js
CHANGED
|
@@ -994,7 +994,8 @@ const wr = /* @__PURE__ */ hr({
|
|
|
994
994
|
"onUpdate:modelValue": Y[0] || (Y[0] = (vt) => k("update:modelValue", vt)),
|
|
995
995
|
min: g.min,
|
|
996
996
|
max: g.max,
|
|
997
|
-
tooltipPosition: "bottom"
|
|
997
|
+
tooltipPosition: "bottom",
|
|
998
|
+
"data-test": "ui-range"
|
|
998
999
|
}, null, 8, ["modelValue", "min", "max"])
|
|
999
1000
|
], 2));
|
|
1000
1001
|
}
|
|
@@ -1,24 +1,26 @@
|
|
|
1
|
+
interface ISearchScheme {
|
|
2
|
+
type: string;
|
|
3
|
+
labels: string[];
|
|
4
|
+
url: string;
|
|
5
|
+
}
|
|
6
|
+
interface ISearchResult {
|
|
7
|
+
[key: string]: {
|
|
8
|
+
_id?: string;
|
|
9
|
+
}[] | {
|
|
10
|
+
[key: string]: string;
|
|
11
|
+
}[] | undefined;
|
|
12
|
+
}
|
|
1
13
|
declare const _default: import("vue").DefineComponent<{
|
|
2
14
|
modelValue: {
|
|
3
15
|
type: import("vue").PropType<string>;
|
|
4
16
|
required: true;
|
|
5
17
|
};
|
|
6
18
|
searchScheme: {
|
|
7
|
-
type: import("vue").PropType<
|
|
8
|
-
type: string;
|
|
9
|
-
labels: string[];
|
|
10
|
-
url: string;
|
|
11
|
-
}[]>;
|
|
19
|
+
type: import("vue").PropType<ISearchScheme[]>;
|
|
12
20
|
required: true;
|
|
13
21
|
};
|
|
14
22
|
results: {
|
|
15
|
-
type: import("vue").PropType<
|
|
16
|
-
[key: string]: {
|
|
17
|
-
_id?: string | undefined;
|
|
18
|
-
}[] | {
|
|
19
|
-
[key: string]: string;
|
|
20
|
-
}[] | undefined;
|
|
21
|
-
}>;
|
|
23
|
+
type: import("vue").PropType<ISearchResult>;
|
|
22
24
|
};
|
|
23
25
|
isSuccess: {
|
|
24
26
|
type: import("vue").PropType<boolean>;
|
|
@@ -30,21 +32,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
32
|
required: true;
|
|
31
33
|
};
|
|
32
34
|
searchScheme: {
|
|
33
|
-
type: import("vue").PropType<
|
|
34
|
-
type: string;
|
|
35
|
-
labels: string[];
|
|
36
|
-
url: string;
|
|
37
|
-
}[]>;
|
|
35
|
+
type: import("vue").PropType<ISearchScheme[]>;
|
|
38
36
|
required: true;
|
|
39
37
|
};
|
|
40
38
|
results: {
|
|
41
|
-
type: import("vue").PropType<
|
|
42
|
-
[key: string]: {
|
|
43
|
-
_id?: string | undefined;
|
|
44
|
-
}[] | {
|
|
45
|
-
[key: string]: string;
|
|
46
|
-
}[] | undefined;
|
|
47
|
-
}>;
|
|
39
|
+
type: import("vue").PropType<ISearchResult>;
|
|
48
40
|
};
|
|
49
41
|
isSuccess: {
|
|
50
42
|
type: import("vue").PropType<boolean>;
|