vuiii 1.0.0-beta.70 → 1.0.0-beta.72
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/arrow-narrow-down-DjY9LioV.js +22 -0
- package/dist/arrow-narrow-left-D7eMhX7e.js +22 -0
- package/dist/arrow-narrow-right-CSfW2plS.js +22 -0
- package/dist/arrow-narrow-up-B8BXRnWa.js +22 -0
- package/dist/arrow-up-tray-B4vcRgwx.js +21 -0
- package/dist/caret-sort-CQGMgNuY.js +21 -0
- package/dist/check-C4zdKExM.js +22 -0
- package/dist/chevron-down-CKjpyxTM.js +22 -0
- package/dist/chevron-left-BzidL1Dd.js +22 -0
- package/dist/chevron-right-NrqwEvOt.js +22 -0
- package/dist/chevron-up-Cte5OhZ7.js +22 -0
- package/dist/components/Autocomplete.vue.d.ts +62 -0
- package/dist/components/Breadcrumbs.vue.d.ts +5 -27
- package/dist/components/Button.vue.d.ts +25 -39
- package/dist/components/ButtonGroup.vue.d.ts +11 -3
- package/dist/components/Checkbox.vue.d.ts +31 -56
- package/dist/components/CheckboxGroup.vue.d.ts +39 -68
- package/dist/components/Dropdown.vue.d.ts +26 -97
- package/dist/components/DropdownMenu.vue.d.ts +26 -134
- package/dist/components/FormFields.vue.d.ts +18 -62
- package/dist/components/FormGroup.vue.d.ts +26 -33
- package/dist/components/Icon.vue.d.ts +5 -15
- package/dist/components/IconButton.vue.d.ts +7 -16
- package/dist/components/Input.vue.d.ts +19 -54
- package/dist/components/InputWrapper.vue.d.ts +40 -0
- package/dist/components/RadioButtonGroup.vue.d.ts +20 -62
- package/dist/components/RadioGroup.vue.d.ts +34 -72
- package/dist/components/Select.vue.d.ts +44 -104
- package/dist/components/Table.vue.d.ts +35 -168
- package/dist/components/Textarea.vue.d.ts +25 -30
- package/dist/components/dialogStack/DialogLayout.vue.d.ts +33 -55
- package/dist/components/dialogStack/DialogStack.vue.d.ts +1 -1
- package/dist/components/snackbar/SnackbarStack.vue.d.ts +1 -1
- package/dist/components/transitions/FadeTransition.vue.d.ts +14 -28
- package/dist/composables/useAttrsWithoutClass.d.ts +1 -1
- package/dist/composables/useCursor.d.ts +3 -3
- package/dist/composables/useFilteredProps.d.ts +1 -1
- package/dist/composables/useLoadData.d.ts +17 -17
- package/dist/composables/useLoadPaginatedData.d.ts +3 -3
- package/dist/composables/useOnClickOutside.d.ts +2 -2
- package/dist/composables/useOnFocusOutside.d.ts +1 -1
- package/dist/composables/useOnKeyPress.d.ts +1 -1
- package/dist/composables/usePopper.d.ts +4 -4
- package/dist/composables/useRouteQuery.d.ts +1 -1
- package/dist/composables/useSubmitAction.d.ts +5 -5
- package/dist/composables/useValidation.d.ts +4 -4
- package/dist/dialogStack.d.ts +219 -90
- package/dist/exclamation-iETaN6ps.js +22 -0
- package/dist/index-DfjABSiV.js +2687 -0
- package/dist/index.d.ts +6 -5
- package/dist/mail-bOL2LGlu.js +22 -0
- package/dist/minus-4Vhq_q6k.js +22 -0
- package/dist/pencil-CezqoD59.js +22 -0
- package/dist/plus-1eOX1D_D.js +22 -0
- package/dist/search-D2Ae1rjX.js +22 -0
- package/dist/snackbar.d.ts +12 -8
- package/dist/spinner-n6aKvWCE.js +23 -0
- package/dist/stories/assets/iconSizes.d.ts +1 -1
- package/dist/stories/assets/inputSizes.d.ts +1 -1
- package/dist/trash-CpUw_JOD.js +22 -0
- package/dist/triangle-down-txokMSPH.js +19 -0
- package/dist/triangle-left-C8yQI6CT.js +19 -0
- package/dist/triangle-right-Y2Zz-X68.js +19 -0
- package/dist/triangle-up-Bf0ef138.js +19 -0
- package/dist/types.d.ts +9 -8
- package/dist/utils/createTypeParser.d.ts +2 -2
- package/dist/utils/iconsResolver.d.ts +1 -1
- package/dist/utils/normalizeOptions.d.ts +1 -1
- package/dist/utils/transformInputAttrs.d.ts +3 -3
- package/dist/vuiii.css +1 -0
- package/dist/vuiii.js +38 -39
- package/dist/x-UNFKueVO.js +23 -0
- package/package.json +42 -53
- package/dist/arrow-narrow-down-ki8P0y5z.js +0 -23
- package/dist/arrow-narrow-left-Wgy0qoPB.js +0 -23
- package/dist/arrow-narrow-right-5V1guLFO.js +0 -23
- package/dist/arrow-narrow-up-Q1iPBhGB.js +0 -23
- package/dist/arrow-up-tray-mirG-3ug.js +0 -22
- package/dist/caret-sort-BY6i3v7u.js +0 -22
- package/dist/check-wmkB-ThF.js +0 -23
- package/dist/chevron-down-nuhEYGeY.js +0 -23
- package/dist/chevron-left-5gfMekdI.js +0 -23
- package/dist/chevron-right-biTtM4FJ.js +0 -23
- package/dist/chevron-up-iqhIysA-.js +0 -23
- package/dist/components/Typography.vue.d.ts +0 -24
- package/dist/exclamation-6Nez0eHx.js +0 -23
- package/dist/icons/arrow-narrow-down.vue.d.ts +0 -2
- package/dist/icons/arrow-narrow-left.vue.d.ts +0 -2
- package/dist/icons/arrow-narrow-right.vue.d.ts +0 -2
- package/dist/icons/arrow-narrow-up.vue.d.ts +0 -2
- package/dist/icons/arrow-up-tray.vue.d.ts +0 -2
- package/dist/icons/caret-sort.vue.d.ts +0 -2
- package/dist/icons/check.vue.d.ts +0 -2
- package/dist/icons/chevron-down.vue.d.ts +0 -2
- package/dist/icons/chevron-left.vue.d.ts +0 -2
- package/dist/icons/chevron-right.vue.d.ts +0 -2
- package/dist/icons/chevron-up.vue.d.ts +0 -2
- package/dist/icons/exclamation.vue.d.ts +0 -2
- package/dist/icons/mail.vue.d.ts +0 -2
- package/dist/icons/minus.vue.d.ts +0 -2
- package/dist/icons/pencil.vue.d.ts +0 -2
- package/dist/icons/plus.vue.d.ts +0 -2
- package/dist/icons/search.vue.d.ts +0 -2
- package/dist/icons/spinner.vue.d.ts +0 -2
- package/dist/icons/trash.vue.d.ts +0 -2
- package/dist/icons/triangle-down.vue.d.ts +0 -2
- package/dist/icons/triangle-left.vue.d.ts +0 -2
- package/dist/icons/triangle-right.vue.d.ts +0 -2
- package/dist/icons/triangle-up.vue.d.ts +0 -2
- package/dist/icons/x.vue.d.ts +0 -2
- package/dist/index-zdldEVCf.js +0 -2501
- package/dist/mail-esQOWGuL.js +0 -23
- package/dist/minus-19kTle-x.js +0 -23
- package/dist/pencil-zKuX6DzM.js +0 -23
- package/dist/plus-M5zC0dfm.js +0 -23
- package/dist/search-Xz0TK11F.js +0 -23
- package/dist/spinner-daPsAniJ.js +0 -24
- package/dist/stories/helpers/components/DumpValue.vue.d.ts +0 -17
- package/dist/style.css +0 -1
- package/dist/trash-h7ogIefW.js +0 -23
- package/dist/triangle-down--lYIaNoq.js +0 -20
- package/dist/triangle-left-7zGTY-CH.js +0 -20
- package/dist/triangle-right-Scyivk0x.js +0 -20
- package/dist/triangle-up-fiVBa8Yl.js +0 -20
- package/dist/x-fnwtwzH6.js +0 -24
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { createElementBlock as r, openBlock as e, createElementVNode as t } from "vue";
|
|
2
|
+
import { _ as n } from "./index-DfjABSiV.js";
|
|
3
|
+
const s = {}, l = {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
fill: "none",
|
|
6
|
+
viewBox: "0 0 24 24",
|
|
7
|
+
stroke: "currentColor",
|
|
8
|
+
"stroke-width": "2"
|
|
9
|
+
};
|
|
10
|
+
function c(i, o) {
|
|
11
|
+
return e(), r("svg", l, [...o[0] || (o[0] = [
|
|
12
|
+
t("path", {
|
|
13
|
+
"stroke-linecap": "round",
|
|
14
|
+
"stroke-linejoin": "round",
|
|
15
|
+
d: "M16 17l-4 4m0 0l-4-4m4 4V3"
|
|
16
|
+
}, null, -1)
|
|
17
|
+
])]);
|
|
18
|
+
}
|
|
19
|
+
const d = /* @__PURE__ */ n(s, [["render", c]]);
|
|
20
|
+
export {
|
|
21
|
+
d as default
|
|
22
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { createElementBlock as e, openBlock as r, createElementVNode as t } from "vue";
|
|
2
|
+
import { _ as n } from "./index-DfjABSiV.js";
|
|
3
|
+
const s = {}, l = {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
fill: "none",
|
|
6
|
+
viewBox: "0 0 24 24",
|
|
7
|
+
stroke: "currentColor",
|
|
8
|
+
"stroke-width": "2"
|
|
9
|
+
};
|
|
10
|
+
function c(i, o) {
|
|
11
|
+
return r(), e("svg", l, [...o[0] || (o[0] = [
|
|
12
|
+
t("path", {
|
|
13
|
+
"stroke-linecap": "round",
|
|
14
|
+
"stroke-linejoin": "round",
|
|
15
|
+
d: "M7 16l-4-4m0 0l4-4m-4 4h18"
|
|
16
|
+
}, null, -1)
|
|
17
|
+
])]);
|
|
18
|
+
}
|
|
19
|
+
const d = /* @__PURE__ */ n(s, [["render", c]]);
|
|
20
|
+
export {
|
|
21
|
+
d as default
|
|
22
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { createElementBlock as r, openBlock as e, createElementVNode as t } from "vue";
|
|
2
|
+
import { _ as n } from "./index-DfjABSiV.js";
|
|
3
|
+
const s = {}, l = {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
fill: "none",
|
|
6
|
+
viewBox: "0 0 24 24",
|
|
7
|
+
stroke: "currentColor",
|
|
8
|
+
"stroke-width": "2"
|
|
9
|
+
};
|
|
10
|
+
function c(i, o) {
|
|
11
|
+
return e(), r("svg", l, [...o[0] || (o[0] = [
|
|
12
|
+
t("path", {
|
|
13
|
+
"stroke-linecap": "round",
|
|
14
|
+
"stroke-linejoin": "round",
|
|
15
|
+
d: "M17 8l4 4m0 0l-4 4m4-4H3"
|
|
16
|
+
}, null, -1)
|
|
17
|
+
])]);
|
|
18
|
+
}
|
|
19
|
+
const d = /* @__PURE__ */ n(s, [["render", c]]);
|
|
20
|
+
export {
|
|
21
|
+
d as default
|
|
22
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { createElementBlock as r, openBlock as e, createElementVNode as t } from "vue";
|
|
2
|
+
import { _ as n } from "./index-DfjABSiV.js";
|
|
3
|
+
const s = {}, l = {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
fill: "none",
|
|
6
|
+
viewBox: "0 0 24 24",
|
|
7
|
+
stroke: "currentColor",
|
|
8
|
+
"stroke-width": "2"
|
|
9
|
+
};
|
|
10
|
+
function c(i, o) {
|
|
11
|
+
return e(), r("svg", l, [...o[0] || (o[0] = [
|
|
12
|
+
t("path", {
|
|
13
|
+
"stroke-linecap": "round",
|
|
14
|
+
"stroke-linejoin": "round",
|
|
15
|
+
d: "M8 7l4-4m0 0l4 4m-4-4v18"
|
|
16
|
+
}, null, -1)
|
|
17
|
+
])]);
|
|
18
|
+
}
|
|
19
|
+
const d = /* @__PURE__ */ n(s, [["render", c]]);
|
|
20
|
+
export {
|
|
21
|
+
d as default
|
|
22
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { createElementBlock as e, openBlock as r, createElementVNode as t } from "vue";
|
|
2
|
+
import { _ as n } from "./index-DfjABSiV.js";
|
|
3
|
+
const s = {}, l = {
|
|
4
|
+
fill: "none",
|
|
5
|
+
stroke: "currentColor",
|
|
6
|
+
viewBox: "0 0 24 24",
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
8
|
+
};
|
|
9
|
+
function c(i, o) {
|
|
10
|
+
return r(), e("svg", l, [...o[0] || (o[0] = [
|
|
11
|
+
t("path", {
|
|
12
|
+
"stroke-linecap": "round",
|
|
13
|
+
"stroke-linejoin": "round",
|
|
14
|
+
d: "M3 16.5v2.25A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75V16.5m-13.5-9L12 3m0 0l4.5 4.5M12 3v13.5"
|
|
15
|
+
}, null, -1)
|
|
16
|
+
])]);
|
|
17
|
+
}
|
|
18
|
+
const p = /* @__PURE__ */ n(s, [["render", c]]);
|
|
19
|
+
export {
|
|
20
|
+
p as default
|
|
21
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { createElementBlock as o, openBlock as r, createElementVNode as t } from "vue";
|
|
2
|
+
import { _ as n } from "./index-DfjABSiV.js";
|
|
3
|
+
const l = {}, c = {
|
|
4
|
+
viewBox: "0 0 15 15",
|
|
5
|
+
fill: "none",
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
7
|
+
};
|
|
8
|
+
function s(C, e) {
|
|
9
|
+
return r(), o("svg", c, [...e[0] || (e[0] = [
|
|
10
|
+
t("path", {
|
|
11
|
+
d: "M4.93179 5.43179C4.75605 5.60753 4.75605 5.89245 4.93179 6.06819C5.10753 6.24392 5.39245 6.24392 5.56819 6.06819L7.49999 4.13638L9.43179 6.06819C9.60753 6.24392 9.89245 6.24392 10.0682 6.06819C10.2439 5.89245 10.2439 5.60753 10.0682 5.43179L7.81819 3.18179C7.73379 3.0974 7.61933 3.04999 7.49999 3.04999C7.38064 3.04999 7.26618 3.0974 7.18179 3.18179L4.93179 5.43179ZM10.0682 9.56819C10.2439 9.39245 10.2439 9.10753 10.0682 8.93179C9.89245 8.75606 9.60753 8.75606 9.43179 8.93179L7.49999 10.8636L5.56819 8.93179C5.39245 8.75606 5.10753 8.75606 4.93179 8.93179C4.75605 9.10753 4.75605 9.39245 4.93179 9.56819L7.18179 11.8182C7.35753 11.9939 7.64245 11.9939 7.81819 11.8182L10.0682 9.56819Z",
|
|
12
|
+
fill: "currentColor",
|
|
13
|
+
"fill-rule": "evenodd",
|
|
14
|
+
"clip-rule": "evenodd"
|
|
15
|
+
}, null, -1)
|
|
16
|
+
])]);
|
|
17
|
+
}
|
|
18
|
+
const i = /* @__PURE__ */ n(l, [["render", s]]);
|
|
19
|
+
export {
|
|
20
|
+
i as default
|
|
21
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
|
|
2
|
+
import { _ as n } from "./index-DfjABSiV.js";
|
|
3
|
+
const s = {}, c = {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
fill: "none",
|
|
6
|
+
viewBox: "0 0 24 24",
|
|
7
|
+
stroke: "currentColor",
|
|
8
|
+
"stroke-width": "2"
|
|
9
|
+
};
|
|
10
|
+
function l(i, e) {
|
|
11
|
+
return t(), o("svg", c, [...e[0] || (e[0] = [
|
|
12
|
+
r("path", {
|
|
13
|
+
"stroke-linecap": "round",
|
|
14
|
+
"stroke-linejoin": "round",
|
|
15
|
+
d: "M5 13l4 4L19 7"
|
|
16
|
+
}, null, -1)
|
|
17
|
+
])]);
|
|
18
|
+
}
|
|
19
|
+
const f = /* @__PURE__ */ n(s, [["render", l]]);
|
|
20
|
+
export {
|
|
21
|
+
f as default
|
|
22
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { createElementBlock as e, openBlock as r, createElementVNode as t } from "vue";
|
|
2
|
+
import { _ as n } from "./index-DfjABSiV.js";
|
|
3
|
+
const s = {}, l = {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
fill: "none",
|
|
6
|
+
viewBox: "0 0 24 24",
|
|
7
|
+
stroke: "currentColor",
|
|
8
|
+
"stroke-width": "2"
|
|
9
|
+
};
|
|
10
|
+
function c(i, o) {
|
|
11
|
+
return r(), e("svg", l, [...o[0] || (o[0] = [
|
|
12
|
+
t("path", {
|
|
13
|
+
"stroke-linecap": "round",
|
|
14
|
+
"stroke-linejoin": "round",
|
|
15
|
+
d: "M19.5 8.25l-7.5 7.5-7.5-7.5"
|
|
16
|
+
}, null, -1)
|
|
17
|
+
])]);
|
|
18
|
+
}
|
|
19
|
+
const f = /* @__PURE__ */ n(s, [["render", c]]);
|
|
20
|
+
export {
|
|
21
|
+
f as default
|
|
22
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
|
|
2
|
+
import { _ as n } from "./index-DfjABSiV.js";
|
|
3
|
+
const s = {}, l = {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
fill: "none",
|
|
6
|
+
viewBox: "0 0 24 24",
|
|
7
|
+
stroke: "currentColor",
|
|
8
|
+
"stroke-width": "2"
|
|
9
|
+
};
|
|
10
|
+
function c(i, e) {
|
|
11
|
+
return t(), o("svg", l, [...e[0] || (e[0] = [
|
|
12
|
+
r("path", {
|
|
13
|
+
"stroke-linecap": "round",
|
|
14
|
+
"stroke-linejoin": "round",
|
|
15
|
+
d: "M15 19l-7-7 7-7"
|
|
16
|
+
}, null, -1)
|
|
17
|
+
])]);
|
|
18
|
+
}
|
|
19
|
+
const _ = /* @__PURE__ */ n(s, [["render", c]]);
|
|
20
|
+
export {
|
|
21
|
+
_ as default
|
|
22
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
|
|
2
|
+
import { _ as n } from "./index-DfjABSiV.js";
|
|
3
|
+
const s = {}, l = {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
fill: "none",
|
|
6
|
+
viewBox: "0 0 24 24",
|
|
7
|
+
stroke: "currentColor",
|
|
8
|
+
"stroke-width": "2"
|
|
9
|
+
};
|
|
10
|
+
function c(i, e) {
|
|
11
|
+
return t(), o("svg", l, [...e[0] || (e[0] = [
|
|
12
|
+
r("path", {
|
|
13
|
+
"stroke-linecap": "round",
|
|
14
|
+
"stroke-linejoin": "round",
|
|
15
|
+
d: "M9 5l7 7-7 7"
|
|
16
|
+
}, null, -1)
|
|
17
|
+
])]);
|
|
18
|
+
}
|
|
19
|
+
const f = /* @__PURE__ */ n(s, [["render", c]]);
|
|
20
|
+
export {
|
|
21
|
+
f as default
|
|
22
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { createElementBlock as o, openBlock as r, createElementVNode as t } from "vue";
|
|
2
|
+
import { _ as n } from "./index-DfjABSiV.js";
|
|
3
|
+
const s = {}, l = {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
fill: "none",
|
|
6
|
+
viewBox: "0 0 24 24",
|
|
7
|
+
stroke: "currentColor",
|
|
8
|
+
"stroke-width": "2"
|
|
9
|
+
};
|
|
10
|
+
function c(i, e) {
|
|
11
|
+
return r(), o("svg", l, [...e[0] || (e[0] = [
|
|
12
|
+
t("path", {
|
|
13
|
+
"stroke-linecap": "round",
|
|
14
|
+
"stroke-linejoin": "round",
|
|
15
|
+
d: "M4.5 15.75l7.5-7.5 7.5 7.5"
|
|
16
|
+
}, null, -1)
|
|
17
|
+
])]);
|
|
18
|
+
}
|
|
19
|
+
const _ = /* @__PURE__ */ n(s, [["render", c]]);
|
|
20
|
+
export {
|
|
21
|
+
_ as default
|
|
22
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { InputWrapperProps, InputWrapperSlots } from './InputWrapper.vue';
|
|
2
|
+
import { Extractor, Option } from '../types';
|
|
3
|
+
export type AutocompleteFilterFn<T = any> = (option: Option<T>, query: string) => boolean;
|
|
4
|
+
export type AutocompleteRef = {
|
|
5
|
+
inputElement: HTMLInputElement;
|
|
6
|
+
focus: () => void;
|
|
7
|
+
blur: () => void;
|
|
8
|
+
open: () => void;
|
|
9
|
+
close: () => void;
|
|
10
|
+
};
|
|
11
|
+
declare const _default: <T = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
12
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
13
|
+
readonly onSelect?: ((option: Option<T>) => any) | undefined;
|
|
14
|
+
readonly "onPrefix-icon-click"?: (() => any) | undefined;
|
|
15
|
+
readonly "onSuffix-icon-click"?: (() => any) | undefined;
|
|
16
|
+
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
17
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onSelect" | "onPrefix-icon-click" | "onSuffix-icon-click" | "onUpdate:modelValue"> & ({
|
|
18
|
+
modelValue?: string;
|
|
19
|
+
} & InputWrapperProps & {
|
|
20
|
+
options: T[] | Record<string, any>;
|
|
21
|
+
optionLabel?: Extractor;
|
|
22
|
+
optionValue?: Extractor;
|
|
23
|
+
optionDisabled?: Extractor;
|
|
24
|
+
optionDescription?: Extractor;
|
|
25
|
+
optionIcon?: Extractor;
|
|
26
|
+
groupLabel?: Extractor;
|
|
27
|
+
groupOptions?: Extractor;
|
|
28
|
+
placeholder?: string;
|
|
29
|
+
disabled?: boolean;
|
|
30
|
+
inputClass?: any;
|
|
31
|
+
filter?: AutocompleteFilterFn<T>;
|
|
32
|
+
}) & Partial<{}>> & import('vue').PublicProps;
|
|
33
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{
|
|
34
|
+
inputElement: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
35
|
+
focus: () => void | undefined;
|
|
36
|
+
blur: () => void | undefined;
|
|
37
|
+
open: () => void;
|
|
38
|
+
close: () => void;
|
|
39
|
+
filter: (option: Option<T>, searchQuery: string) => boolean;
|
|
40
|
+
}>): void;
|
|
41
|
+
attrs: any;
|
|
42
|
+
slots: Readonly<InputWrapperSlots & {
|
|
43
|
+
option?: (props: {
|
|
44
|
+
option: Option<T>;
|
|
45
|
+
index: number;
|
|
46
|
+
isHighlighted: boolean;
|
|
47
|
+
}) => any;
|
|
48
|
+
}> & InputWrapperSlots & {
|
|
49
|
+
option?: (props: {
|
|
50
|
+
option: Option<T>;
|
|
51
|
+
index: number;
|
|
52
|
+
isHighlighted: boolean;
|
|
53
|
+
}) => any;
|
|
54
|
+
};
|
|
55
|
+
emit: (((evt: "select", option: Option<T>) => void) & ((evt: "prefix-icon-click") => void) & ((evt: "suffix-icon-click") => void)) & ((evt: "update:modelValue", value: string) => void);
|
|
56
|
+
}>) => import('vue').VNode & {
|
|
57
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
58
|
+
};
|
|
59
|
+
export default _default;
|
|
60
|
+
type __VLS_PrettifyLocal<T> = {
|
|
61
|
+
[K in keyof T]: T[K];
|
|
62
|
+
} & {};
|
|
@@ -1,30 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { BreadcrumbItems } from '../types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
3
|
breadcrumbs: BreadcrumbItems;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
-
breadcrumbs: BreadcrumbItems;
|
|
8
|
-
}>, {
|
|
9
|
-
breadcrumbs: () => never[];
|
|
10
|
-
}>>>, {
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
11
6
|
breadcrumbs: BreadcrumbItems;
|
|
12
|
-
}, {}>;
|
|
7
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
13
8
|
export default _default;
|
|
14
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
16
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
17
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
18
|
-
} : {
|
|
19
|
-
type: import('vue').PropType<T[K]>;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
type __VLS_WithDefaults<P, D> = {
|
|
24
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
25
|
-
default: D[K];
|
|
26
|
-
}> : P[K];
|
|
27
|
-
};
|
|
28
|
-
type __VLS_Prettify<T> = {
|
|
29
|
-
[K in keyof T]: T[K];
|
|
30
|
-
} & {};
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import '
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
export interface NativeButtonProps {
|
|
1
|
+
import { RouteLocationRaw } from 'vue-router';
|
|
2
|
+
import { ButtonVariant, InputSize } from '../types';
|
|
3
|
+
export type NativeButtonProps = {
|
|
5
4
|
disabled?: boolean;
|
|
6
|
-
type?:
|
|
7
|
-
}
|
|
8
|
-
export
|
|
5
|
+
type?: "button" | "submit" | "reset";
|
|
6
|
+
};
|
|
7
|
+
export type ButtonProps = NativeButtonProps & {
|
|
9
8
|
size?: InputSize;
|
|
10
9
|
variant?: ButtonVariant;
|
|
11
10
|
prefixIcon?: string;
|
|
@@ -17,40 +16,27 @@ export interface ButtonProps extends NativeButtonProps {
|
|
|
17
16
|
pill?: boolean;
|
|
18
17
|
to?: RouteLocationRaw;
|
|
19
18
|
href?: string;
|
|
20
|
-
}
|
|
21
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ButtonProps>, {
|
|
22
|
-
type: string;
|
|
23
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ButtonProps>, {
|
|
24
|
-
type: string;
|
|
25
|
-
}>>>, {
|
|
26
|
-
type: "button" | "submit" | "reset";
|
|
27
|
-
}, {}>, Readonly<{
|
|
28
|
-
prefix?: void | undefined;
|
|
29
|
-
default?: void | undefined;
|
|
30
|
-
suffix?: void | undefined;
|
|
31
|
-
}> & {
|
|
32
|
-
prefix?: void | undefined;
|
|
33
|
-
default?: void | undefined;
|
|
34
|
-
suffix?: void | undefined;
|
|
35
|
-
}>;
|
|
36
|
-
export default _default;
|
|
37
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
38
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
39
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
40
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
41
|
-
} : {
|
|
42
|
-
type: import('vue').PropType<T[K]>;
|
|
43
|
-
required: true;
|
|
44
|
-
};
|
|
45
19
|
};
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
20
|
+
declare function __VLS_template(): {
|
|
21
|
+
attrs: Partial<{}>;
|
|
22
|
+
slots: Readonly<{
|
|
23
|
+
prefix?: void | undefined;
|
|
24
|
+
default?: void | undefined;
|
|
25
|
+
suffix?: void | undefined;
|
|
26
|
+
}> & {
|
|
27
|
+
prefix?: void | undefined;
|
|
28
|
+
default?: void | undefined;
|
|
29
|
+
suffix?: void | undefined;
|
|
30
|
+
};
|
|
31
|
+
refs: {};
|
|
32
|
+
rootEl: any;
|
|
50
33
|
};
|
|
51
|
-
type
|
|
52
|
-
|
|
53
|
-
|
|
34
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
35
|
+
declare const __VLS_component: import('vue').DefineComponent<ButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ButtonProps> & Readonly<{}>, {
|
|
36
|
+
type: "button" | "submit" | "reset";
|
|
37
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
38
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
39
|
+
export default _default;
|
|
54
40
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
55
41
|
new (): {
|
|
56
42
|
$slots: S;
|
|
@@ -1,6 +1,14 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: HTMLDivElement;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
4
12
|
export default _default;
|
|
5
13
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
6
14
|
new (): {
|
|
@@ -1,69 +1,44 @@
|
|
|
1
|
-
import '
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
disabled
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
description
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
|
-
modelValue: import('vue').PropType<any>;
|
|
29
|
-
size: {
|
|
30
|
-
type: import("vue").PropType<InputSize>;
|
|
31
|
-
default: string;
|
|
32
|
-
};
|
|
33
|
-
required: {
|
|
34
|
-
type: import("vue").PropType<boolean>;
|
|
35
|
-
};
|
|
36
|
-
label: {
|
|
37
|
-
type: import("vue").PropType<string>;
|
|
38
|
-
};
|
|
39
|
-
switch: {
|
|
40
|
-
type: import("vue").PropType<boolean>;
|
|
41
|
-
};
|
|
42
|
-
disabled: {
|
|
43
|
-
type: import("vue").PropType<boolean>;
|
|
44
|
-
};
|
|
45
|
-
description: {
|
|
46
|
-
type: import("vue").PropType<string>;
|
|
47
|
-
};
|
|
48
|
-
valueParser: {
|
|
49
|
-
type: import("vue").PropType<ValueParser<boolean>>;
|
|
50
|
-
};
|
|
51
|
-
}>>, {
|
|
1
|
+
import { InputSize, ValueParser } from '../types';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
3
|
+
modelValue?: any;
|
|
4
|
+
} & {
|
|
5
|
+
required?: boolean;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
switch?: boolean;
|
|
8
|
+
label?: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
size?: InputSize;
|
|
11
|
+
valueParser?: ValueParser<boolean>;
|
|
12
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
+
"update:modelValue": (value: any) => any;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
15
|
+
modelValue?: any;
|
|
16
|
+
} & {
|
|
17
|
+
required?: boolean;
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
switch?: boolean;
|
|
20
|
+
label?: string;
|
|
21
|
+
description?: string;
|
|
22
|
+
size?: InputSize;
|
|
23
|
+
valueParser?: ValueParser<boolean>;
|
|
24
|
+
}> & Readonly<{
|
|
25
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
26
|
+
}>, {
|
|
52
27
|
size: InputSize;
|
|
53
|
-
}, {}>, Readonly<{
|
|
28
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, Readonly<{
|
|
54
29
|
default?: void | undefined;
|
|
55
|
-
symbol?: (
|
|
30
|
+
symbol?: (props: {
|
|
56
31
|
checked: boolean;
|
|
57
32
|
disabled: boolean;
|
|
58
33
|
size: InputSize;
|
|
59
|
-
}) => any
|
|
34
|
+
}) => any;
|
|
60
35
|
}> & {
|
|
61
36
|
default?: void | undefined;
|
|
62
|
-
symbol?: (
|
|
37
|
+
symbol?: (props: {
|
|
63
38
|
checked: boolean;
|
|
64
39
|
disabled: boolean;
|
|
65
40
|
size: InputSize;
|
|
66
|
-
}) => any
|
|
41
|
+
}) => any;
|
|
67
42
|
}>;
|
|
68
43
|
export default _default;
|
|
69
44
|
type __VLS_WithTemplateSlots<T, S> = T & {
|