vuiii 1.0.0-beta.2 → 1.0.0-beta.20
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-dec6d60c.mjs +23 -0
- package/dist/arrow-narrow-left-0a7d340d.mjs +23 -0
- package/dist/arrow-narrow-right-45640685.mjs +23 -0
- package/dist/arrow-narrow-up-273c8202.mjs +23 -0
- package/dist/arrow-up-tray-2a72d94e.mjs +22 -0
- package/dist/check-1fd9d132.mjs +23 -0
- package/dist/chevron-down-691580cd.mjs +23 -0
- package/dist/chevron-left-f7d529ce.mjs +23 -0
- package/dist/chevron-right-3bcbe1ff.mjs +23 -0
- package/dist/chevron-up-65196b35.mjs +23 -0
- package/dist/components/Breadcrumbs.vue.d.ts +7 -7
- package/dist/components/Button.vue.d.ts +49 -52
- package/dist/components/Checkbox.vue.d.ts +57 -26
- package/dist/components/CheckboxGroup.vue.d.ts +28 -40
- package/dist/components/FormFields.vue.d.ts +21 -38
- package/dist/components/FormGroup.vue.d.ts +32 -30
- package/dist/components/Icon.vue.d.ts +11 -8
- package/dist/components/Input.vue.d.ts +46 -41
- package/dist/components/RadioGroup.vue.d.ts +56 -0
- package/dist/components/Select.vue.d.ts +69 -56
- package/dist/components/Table.vue.d.ts +74 -38
- package/dist/components/Textarea.vue.d.ts +18 -13
- package/dist/components/modal/ModalLayout.vue.d.ts +52 -22
- package/dist/components/modal/ModalStack.vue.d.ts +1 -27
- package/dist/components/snackbar/SnackbarStack.vue.d.ts +1 -19
- package/dist/composables/useLoadData.d.ts +29 -0
- package/dist/composables/useLoadPaginatedData.d.ts +16 -0
- package/dist/composables/useOnClickOutside.d.ts +2 -0
- package/dist/composables/useOnKeyPress.d.ts +1 -0
- package/dist/composables/useRouteQuery.d.ts +19 -0
- package/dist/composables/useSubmitAction.d.ts +44 -0
- package/dist/composables/useValidator.d.ts +7 -0
- package/dist/exclamation-078540fb.mjs +23 -0
- package/dist/icons/arrow-narrow-down.vue.d.ts +1 -1
- package/dist/icons/arrow-narrow-left.vue.d.ts +1 -1
- package/dist/icons/arrow-narrow-right.vue.d.ts +1 -1
- package/dist/icons/arrow-narrow-up.vue.d.ts +1 -1
- package/dist/icons/arrow-up-tray.vue.d.ts +2 -0
- package/dist/icons/check.vue.d.ts +1 -1
- package/dist/icons/chevron-down.vue.d.ts +2 -0
- package/dist/icons/chevron-left.vue.d.ts +1 -1
- package/dist/icons/chevron-right.vue.d.ts +1 -1
- package/dist/icons/chevron-up.vue.d.ts +2 -0
- package/dist/icons/exclamation.vue.d.ts +1 -1
- package/dist/icons/mail.vue.d.ts +2 -0
- package/dist/icons/minus.vue.d.ts +1 -1
- package/dist/icons/pencil.vue.d.ts +2 -0
- package/dist/icons/plus.vue.d.ts +1 -1
- package/dist/icons/search.vue.d.ts +1 -1
- package/dist/icons/spinner.vue.d.ts +1 -1
- package/dist/icons/trash.vue.d.ts +1 -1
- package/dist/icons/triangle-down.vue.d.ts +2 -0
- package/dist/icons/triangle-left.vue.d.ts +2 -0
- package/dist/icons/triangle-right.vue.d.ts +2 -0
- package/dist/icons/triangle-up.vue.d.ts +2 -0
- package/dist/icons/x.vue.d.ts +1 -1
- package/dist/index-1063c6c2.mjs +1190 -0
- package/dist/index.d.ts +29 -24
- package/dist/mail-6dac22ce.mjs +23 -0
- package/dist/minus-ac6ca395.mjs +23 -0
- package/dist/modal.d.ts +276 -23
- package/dist/pencil-c36b340c.mjs +23 -0
- package/dist/plus-3674506e.mjs +23 -0
- package/dist/search-7d284b60.mjs +23 -0
- package/dist/snackbar.d.ts +8 -8
- package/dist/spinner-710428dc.mjs +24 -0
- package/dist/stories/Button.stories.d.ts +567 -0
- package/dist/stories/Checkbox.stories.d.ts +356 -0
- package/dist/stories/CheckboxGroup.stories.d.ts +94 -0
- package/dist/stories/FormFields.stories.d.ts +71 -0
- package/dist/stories/Icon.stories.d.ts +38 -0
- package/dist/stories/Input.stories.d.ts +579 -0
- package/dist/stories/Modal.stories.d.ts +6 -0
- package/dist/stories/Radio.stories.d.ts +346 -0
- package/dist/stories/Select.stories.d.ts +288 -0
- package/dist/stories/Snackbar.stories.d.ts +6 -0
- package/dist/stories/icons.d.ts +1 -0
- package/dist/stories/options.d.ts +11 -0
- package/dist/style.css +1 -1
- package/dist/trash-6cc98195.mjs +23 -0
- package/dist/triangle-down-9f798fda.mjs +20 -0
- package/dist/triangle-left-d1c4e959.mjs +20 -0
- package/dist/triangle-right-06c9418f.mjs +20 -0
- package/dist/triangle-up-bf1cdbee.mjs +20 -0
- package/dist/utils/generateId.d.ts +1 -0
- package/dist/utils/iconsResolver.d.ts +5 -0
- package/dist/utils/normalizeOptions.d.ts +21 -8
- package/dist/utils/transformInputAttrs.d.ts +3 -3
- package/dist/utils/useAttrsWithoutClass.d.ts +3 -0
- package/dist/validations/validator.d.ts +2 -0
- package/dist/vuiii.mjs +34 -0
- package/dist/vuiii.umd.js +1 -1
- package/dist/x-808bde6f.mjs +24 -0
- package/package.json +38 -17
- package/dist/components/Form.vue.d.ts +0 -87
- package/dist/components/Radio.vue.d.ts +0 -64
- package/dist/components/modal/ModalLayoutDialog.vue.d.ts +0 -36
- package/dist/hooks/useLoadData.d.ts +0 -21
- package/dist/hooks/useSubmitAction.d.ts +0 -38
- package/dist/icons/check-circle.vue.d.ts +0 -2
- package/dist/icons/exclamation-circle.vue.d.ts +0 -2
- package/dist/types.d.ts +0 -4
- package/dist/utils/resolveGlobImport.d.ts +0 -3
- package/dist/vuiii.es.js +0 -1881
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { openBlock as o, createElementBlock as e, createElementVNode as t } from "vue";
|
|
2
|
+
import { _ as r } from "./index-1063c6c2.mjs";
|
|
3
|
+
import "vue-router";
|
|
4
|
+
const n = {}, s = {
|
|
5
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
+
fill: "none",
|
|
7
|
+
viewBox: "0 0 24 24",
|
|
8
|
+
stroke: "currentColor",
|
|
9
|
+
"stroke-width": "2"
|
|
10
|
+
}, c = /* @__PURE__ */ t("path", {
|
|
11
|
+
"stroke-linecap": "round",
|
|
12
|
+
"stroke-linejoin": "round",
|
|
13
|
+
d: "M16 17l-4 4m0 0l-4-4m4 4V3"
|
|
14
|
+
}, null, -1), l = [
|
|
15
|
+
c
|
|
16
|
+
];
|
|
17
|
+
function _(i, a) {
|
|
18
|
+
return o(), e("svg", s, l);
|
|
19
|
+
}
|
|
20
|
+
const w = /* @__PURE__ */ r(n, [["render", _]]);
|
|
21
|
+
export {
|
|
22
|
+
w as default
|
|
23
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { openBlock as o, createElementBlock as e, createElementVNode as t } from "vue";
|
|
2
|
+
import { _ as r } from "./index-1063c6c2.mjs";
|
|
3
|
+
import "vue-router";
|
|
4
|
+
const n = {}, s = {
|
|
5
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
+
fill: "none",
|
|
7
|
+
viewBox: "0 0 24 24",
|
|
8
|
+
stroke: "currentColor",
|
|
9
|
+
"stroke-width": "2"
|
|
10
|
+
}, c = /* @__PURE__ */ t("path", {
|
|
11
|
+
"stroke-linecap": "round",
|
|
12
|
+
"stroke-linejoin": "round",
|
|
13
|
+
d: "M7 16l-4-4m0 0l4-4m-4 4h18"
|
|
14
|
+
}, null, -1), l = [
|
|
15
|
+
c
|
|
16
|
+
];
|
|
17
|
+
function _(i, a) {
|
|
18
|
+
return o(), e("svg", s, l);
|
|
19
|
+
}
|
|
20
|
+
const p = /* @__PURE__ */ r(n, [["render", _]]);
|
|
21
|
+
export {
|
|
22
|
+
p as default
|
|
23
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { openBlock as o, createElementBlock as e, createElementVNode as t } from "vue";
|
|
2
|
+
import { _ as r } from "./index-1063c6c2.mjs";
|
|
3
|
+
import "vue-router";
|
|
4
|
+
const n = {}, s = {
|
|
5
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
+
fill: "none",
|
|
7
|
+
viewBox: "0 0 24 24",
|
|
8
|
+
stroke: "currentColor",
|
|
9
|
+
"stroke-width": "2"
|
|
10
|
+
}, c = /* @__PURE__ */ t("path", {
|
|
11
|
+
"stroke-linecap": "round",
|
|
12
|
+
"stroke-linejoin": "round",
|
|
13
|
+
d: "M17 8l4 4m0 0l-4 4m4-4H3"
|
|
14
|
+
}, null, -1), i = [
|
|
15
|
+
c
|
|
16
|
+
];
|
|
17
|
+
function l(_, a) {
|
|
18
|
+
return o(), e("svg", s, i);
|
|
19
|
+
}
|
|
20
|
+
const f = /* @__PURE__ */ r(n, [["render", l]]);
|
|
21
|
+
export {
|
|
22
|
+
f as default
|
|
23
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { openBlock as o, createElementBlock as e, createElementVNode as t } from "vue";
|
|
2
|
+
import { _ as r } from "./index-1063c6c2.mjs";
|
|
3
|
+
import "vue-router";
|
|
4
|
+
const n = {}, s = {
|
|
5
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
+
fill: "none",
|
|
7
|
+
viewBox: "0 0 24 24",
|
|
8
|
+
stroke: "currentColor",
|
|
9
|
+
"stroke-width": "2"
|
|
10
|
+
}, c = /* @__PURE__ */ t("path", {
|
|
11
|
+
"stroke-linecap": "round",
|
|
12
|
+
"stroke-linejoin": "round",
|
|
13
|
+
d: "M8 7l4-4m0 0l4 4m-4-4v18"
|
|
14
|
+
}, null, -1), l = [
|
|
15
|
+
c
|
|
16
|
+
];
|
|
17
|
+
function _(i, a) {
|
|
18
|
+
return o(), e("svg", s, l);
|
|
19
|
+
}
|
|
20
|
+
const f = /* @__PURE__ */ r(n, [["render", _]]);
|
|
21
|
+
export {
|
|
22
|
+
f as default
|
|
23
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { openBlock as o, createElementBlock as e, createElementVNode as t } from "vue";
|
|
2
|
+
import { _ as r } from "./index-1063c6c2.mjs";
|
|
3
|
+
import "vue-router";
|
|
4
|
+
const n = {}, s = {
|
|
5
|
+
fill: "none",
|
|
6
|
+
stroke: "currentColor",
|
|
7
|
+
viewBox: "0 0 24 24",
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
9
|
+
}, c = /* @__PURE__ */ t("path", {
|
|
10
|
+
"stroke-linecap": "round",
|
|
11
|
+
"stroke-linejoin": "round",
|
|
12
|
+
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"
|
|
13
|
+
}, null, -1), _ = [
|
|
14
|
+
c
|
|
15
|
+
];
|
|
16
|
+
function l(i, a) {
|
|
17
|
+
return o(), e("svg", s, _);
|
|
18
|
+
}
|
|
19
|
+
const f = /* @__PURE__ */ r(n, [["render", l]]);
|
|
20
|
+
export {
|
|
21
|
+
f as default
|
|
22
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { openBlock as e, createElementBlock as o, createElementVNode as t } from "vue";
|
|
2
|
+
import { _ as r } from "./index-1063c6c2.mjs";
|
|
3
|
+
import "vue-router";
|
|
4
|
+
const n = {}, c = {
|
|
5
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
+
fill: "none",
|
|
7
|
+
viewBox: "0 0 24 24",
|
|
8
|
+
stroke: "currentColor",
|
|
9
|
+
"stroke-width": "2"
|
|
10
|
+
}, s = /* @__PURE__ */ t("path", {
|
|
11
|
+
"stroke-linecap": "round",
|
|
12
|
+
"stroke-linejoin": "round",
|
|
13
|
+
d: "M5 13l4 4L19 7"
|
|
14
|
+
}, null, -1), _ = [
|
|
15
|
+
s
|
|
16
|
+
];
|
|
17
|
+
function i(l, d) {
|
|
18
|
+
return e(), o("svg", c, _);
|
|
19
|
+
}
|
|
20
|
+
const f = /* @__PURE__ */ r(n, [["render", i]]);
|
|
21
|
+
export {
|
|
22
|
+
f as default
|
|
23
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { openBlock as o, createElementBlock as e, createElementVNode as t } from "vue";
|
|
2
|
+
import { _ as n } from "./index-1063c6c2.mjs";
|
|
3
|
+
import "vue-router";
|
|
4
|
+
const r = {}, s = {
|
|
5
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
+
fill: "none",
|
|
7
|
+
viewBox: "0 0 24 24",
|
|
8
|
+
stroke: "currentColor",
|
|
9
|
+
"stroke-width": "2"
|
|
10
|
+
}, c = /* @__PURE__ */ t("path", {
|
|
11
|
+
"stroke-linecap": "round",
|
|
12
|
+
"stroke-linejoin": "round",
|
|
13
|
+
d: "M19.5 8.25l-7.5 7.5-7.5-7.5"
|
|
14
|
+
}, null, -1), _ = [
|
|
15
|
+
c
|
|
16
|
+
];
|
|
17
|
+
function i(l, d) {
|
|
18
|
+
return o(), e("svg", s, _);
|
|
19
|
+
}
|
|
20
|
+
const f = /* @__PURE__ */ n(r, [["render", i]]);
|
|
21
|
+
export {
|
|
22
|
+
f as default
|
|
23
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { openBlock as e, createElementBlock as o, createElementVNode as t } from "vue";
|
|
2
|
+
import { _ as r } from "./index-1063c6c2.mjs";
|
|
3
|
+
import "vue-router";
|
|
4
|
+
const n = {}, s = {
|
|
5
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
+
fill: "none",
|
|
7
|
+
viewBox: "0 0 24 24",
|
|
8
|
+
stroke: "currentColor",
|
|
9
|
+
"stroke-width": "2"
|
|
10
|
+
}, c = /* @__PURE__ */ t("path", {
|
|
11
|
+
"stroke-linecap": "round",
|
|
12
|
+
"stroke-linejoin": "round",
|
|
13
|
+
d: "M15 19l-7-7 7-7"
|
|
14
|
+
}, null, -1), _ = [
|
|
15
|
+
c
|
|
16
|
+
];
|
|
17
|
+
function i(l, d) {
|
|
18
|
+
return e(), o("svg", s, _);
|
|
19
|
+
}
|
|
20
|
+
const p = /* @__PURE__ */ r(n, [["render", i]]);
|
|
21
|
+
export {
|
|
22
|
+
p as default
|
|
23
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { openBlock as o, createElementBlock as e, createElementVNode as t } from "vue";
|
|
2
|
+
import { _ as r } from "./index-1063c6c2.mjs";
|
|
3
|
+
import "vue-router";
|
|
4
|
+
const n = {}, s = {
|
|
5
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
+
fill: "none",
|
|
7
|
+
viewBox: "0 0 24 24",
|
|
8
|
+
stroke: "currentColor",
|
|
9
|
+
"stroke-width": "2"
|
|
10
|
+
}, c = /* @__PURE__ */ t("path", {
|
|
11
|
+
"stroke-linecap": "round",
|
|
12
|
+
"stroke-linejoin": "round",
|
|
13
|
+
d: "M9 5l7 7-7 7"
|
|
14
|
+
}, null, -1), i = [
|
|
15
|
+
c
|
|
16
|
+
];
|
|
17
|
+
function _(l, d) {
|
|
18
|
+
return o(), e("svg", s, i);
|
|
19
|
+
}
|
|
20
|
+
const p = /* @__PURE__ */ r(n, [["render", _]]);
|
|
21
|
+
export {
|
|
22
|
+
p as default
|
|
23
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { openBlock as o, createElementBlock as e, createElementVNode as t } from "vue";
|
|
2
|
+
import { _ as r } from "./index-1063c6c2.mjs";
|
|
3
|
+
import "vue-router";
|
|
4
|
+
const n = {}, s = {
|
|
5
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
+
fill: "none",
|
|
7
|
+
viewBox: "0 0 24 24",
|
|
8
|
+
stroke: "currentColor",
|
|
9
|
+
"stroke-width": "2"
|
|
10
|
+
}, c = /* @__PURE__ */ t("path", {
|
|
11
|
+
"stroke-linecap": "round",
|
|
12
|
+
"stroke-linejoin": "round",
|
|
13
|
+
d: "M4.5 15.75l7.5-7.5 7.5 7.5"
|
|
14
|
+
}, null, -1), _ = [
|
|
15
|
+
c
|
|
16
|
+
];
|
|
17
|
+
function i(l, d) {
|
|
18
|
+
return o(), e("svg", s, _);
|
|
19
|
+
}
|
|
20
|
+
const f = /* @__PURE__ */ r(n, [["render", i]]);
|
|
21
|
+
export {
|
|
22
|
+
f as default
|
|
23
|
+
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { RouteLocationRaw } from 'vue-router';
|
|
3
|
-
export declare type BreadcrumbItems = Record<string, RouteLocationRaw>;
|
|
1
|
+
import type { BreadcrumbItems } from '@/types';
|
|
4
2
|
declare const _default: import("vue").DefineComponent<{
|
|
5
3
|
breadcrumbs: {
|
|
6
|
-
type: PropType<BreadcrumbItems>;
|
|
4
|
+
type: import("vue").PropType<BreadcrumbItems>;
|
|
5
|
+
required: true;
|
|
7
6
|
default: () => {};
|
|
8
7
|
};
|
|
9
|
-
},
|
|
8
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
10
9
|
breadcrumbs: {
|
|
11
|
-
type: PropType<BreadcrumbItems>;
|
|
10
|
+
type: import("vue").PropType<BreadcrumbItems>;
|
|
11
|
+
required: true;
|
|
12
12
|
default: () => {};
|
|
13
13
|
};
|
|
14
14
|
}>>, {
|
|
15
15
|
breadcrumbs: BreadcrumbItems;
|
|
16
|
-
}>;
|
|
16
|
+
}, {}>;
|
|
17
17
|
export default _default;
|
|
@@ -1,72 +1,69 @@
|
|
|
1
|
-
import '
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
declare const _default: import("vue").DefineComponent<{
|
|
1
|
+
import '@/assets/css/button.css';
|
|
2
|
+
import type { ButtonVariant, InputSize } from '@/types';
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
5
4
|
size: {
|
|
6
|
-
type: PropType<
|
|
7
|
-
default: string;
|
|
8
|
-
validator: (value: ButtonSize) => boolean;
|
|
5
|
+
type: import("vue").PropType<InputSize>;
|
|
9
6
|
};
|
|
10
7
|
variant: {
|
|
11
|
-
type: PropType<
|
|
12
|
-
default: string;
|
|
13
|
-
validator: (value: ButtonVariant) => boolean;
|
|
8
|
+
type: import("vue").PropType<ButtonVariant>;
|
|
14
9
|
};
|
|
15
10
|
prefixIcon: {
|
|
16
|
-
type:
|
|
17
|
-
default: string;
|
|
11
|
+
type: import("vue").PropType<string>;
|
|
18
12
|
};
|
|
19
13
|
suffixIcon: {
|
|
20
|
-
type:
|
|
21
|
-
default: string;
|
|
14
|
+
type: import("vue").PropType<string>;
|
|
22
15
|
};
|
|
23
16
|
label: {
|
|
24
|
-
type:
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}
|
|
17
|
+
type: import("vue").PropType<string>;
|
|
18
|
+
};
|
|
19
|
+
block: {
|
|
20
|
+
type: import("vue").PropType<boolean>;
|
|
21
|
+
};
|
|
22
|
+
loading: {
|
|
23
|
+
type: import("vue").PropType<boolean>;
|
|
24
|
+
};
|
|
25
|
+
active: {
|
|
26
|
+
type: import("vue").PropType<boolean>;
|
|
27
|
+
};
|
|
28
|
+
outlined: {
|
|
29
|
+
type: import("vue").PropType<boolean>;
|
|
30
|
+
};
|
|
31
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
35
32
|
size: {
|
|
36
|
-
type: PropType<
|
|
37
|
-
default: string;
|
|
38
|
-
validator: (value: ButtonSize) => boolean;
|
|
33
|
+
type: import("vue").PropType<InputSize>;
|
|
39
34
|
};
|
|
40
35
|
variant: {
|
|
41
|
-
type: PropType<
|
|
42
|
-
default: string;
|
|
43
|
-
validator: (value: ButtonVariant) => boolean;
|
|
36
|
+
type: import("vue").PropType<ButtonVariant>;
|
|
44
37
|
};
|
|
45
38
|
prefixIcon: {
|
|
46
|
-
type:
|
|
47
|
-
default: string;
|
|
39
|
+
type: import("vue").PropType<string>;
|
|
48
40
|
};
|
|
49
41
|
suffixIcon: {
|
|
50
|
-
type:
|
|
51
|
-
default: string;
|
|
42
|
+
type: import("vue").PropType<string>;
|
|
52
43
|
};
|
|
53
44
|
label: {
|
|
54
|
-
type:
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
45
|
+
type: import("vue").PropType<string>;
|
|
46
|
+
};
|
|
47
|
+
block: {
|
|
48
|
+
type: import("vue").PropType<boolean>;
|
|
49
|
+
};
|
|
50
|
+
loading: {
|
|
51
|
+
type: import("vue").PropType<boolean>;
|
|
52
|
+
};
|
|
53
|
+
active: {
|
|
54
|
+
type: import("vue").PropType<boolean>;
|
|
55
|
+
};
|
|
56
|
+
outlined: {
|
|
57
|
+
type: import("vue").PropType<boolean>;
|
|
58
|
+
};
|
|
59
|
+
}>>, {}, {}>, {
|
|
60
|
+
prefix?(_: {}): any;
|
|
61
|
+
default?(_: {}): any;
|
|
62
|
+
suffix?(_: {}): any;
|
|
71
63
|
}>;
|
|
72
64
|
export default _default;
|
|
65
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
66
|
+
new (): {
|
|
67
|
+
$slots: S;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
@@ -1,28 +1,59 @@
|
|
|
1
|
-
import '
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
1
|
+
import '@/assets/css/input.css';
|
|
2
|
+
import type { InputSize } from '@/types';
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
4
|
+
modelValue: {
|
|
5
|
+
type: import("vue").PropType<boolean>;
|
|
6
|
+
};
|
|
7
|
+
required: {
|
|
8
|
+
type: import("vue").PropType<boolean>;
|
|
9
|
+
};
|
|
10
|
+
disabled: {
|
|
11
|
+
type: import("vue").PropType<boolean>;
|
|
12
|
+
};
|
|
13
|
+
switch: {
|
|
14
|
+
type: import("vue").PropType<boolean>;
|
|
15
|
+
};
|
|
16
|
+
label: {
|
|
17
|
+
type: import("vue").PropType<string>;
|
|
18
|
+
};
|
|
19
|
+
description: {
|
|
20
|
+
type: import("vue").PropType<string>;
|
|
21
|
+
};
|
|
22
|
+
size: {
|
|
23
|
+
type: import("vue").PropType<InputSize>;
|
|
24
|
+
};
|
|
25
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
26
|
+
"update:model-value": (value: boolean) => void;
|
|
27
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
|
+
modelValue: {
|
|
29
|
+
type: import("vue").PropType<boolean>;
|
|
30
|
+
};
|
|
31
|
+
required: {
|
|
32
|
+
type: import("vue").PropType<boolean>;
|
|
33
|
+
};
|
|
34
|
+
disabled: {
|
|
35
|
+
type: import("vue").PropType<boolean>;
|
|
36
|
+
};
|
|
37
|
+
switch: {
|
|
38
|
+
type: import("vue").PropType<boolean>;
|
|
39
|
+
};
|
|
40
|
+
label: {
|
|
41
|
+
type: import("vue").PropType<string>;
|
|
42
|
+
};
|
|
43
|
+
description: {
|
|
44
|
+
type: import("vue").PropType<string>;
|
|
45
|
+
};
|
|
46
|
+
size: {
|
|
47
|
+
type: import("vue").PropType<InputSize>;
|
|
48
|
+
};
|
|
49
|
+
}>> & {
|
|
50
|
+
"onUpdate:model-value"?: ((value: boolean) => any) | undefined;
|
|
51
|
+
}, {}, {}>, {
|
|
52
|
+
default?(_: {}): any;
|
|
27
53
|
}>;
|
|
28
54
|
export default _default;
|
|
55
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
56
|
+
new (): {
|
|
57
|
+
$slots: S;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
@@ -1,59 +1,47 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Extractor, Option } from '../utils/normalizeOptions';
|
|
3
|
-
declare type CheckedValues = Record<Option['value'], boolean>;
|
|
1
|
+
import type { Extractor } from '@/types';
|
|
4
2
|
declare const _default: import("vue").DefineComponent<{
|
|
5
3
|
modelValue: {
|
|
6
|
-
type: PropType<(string | number)[]>;
|
|
7
|
-
default: () => never[];
|
|
4
|
+
type: import("vue").PropType<(string | number)[]>;
|
|
8
5
|
};
|
|
9
6
|
options: {
|
|
10
|
-
type: (
|
|
7
|
+
type: import("vue").PropType<any[] | Record<string, any>>;
|
|
11
8
|
required: true;
|
|
12
9
|
};
|
|
13
|
-
|
|
14
|
-
type: PropType<Extractor>;
|
|
15
|
-
default: undefined;
|
|
10
|
+
optionLabel: {
|
|
11
|
+
type: import("vue").PropType<Extractor>;
|
|
16
12
|
};
|
|
17
|
-
|
|
18
|
-
type: PropType<Extractor>;
|
|
19
|
-
default: undefined;
|
|
13
|
+
optionValue: {
|
|
14
|
+
type: import("vue").PropType<Extractor>;
|
|
20
15
|
};
|
|
21
|
-
|
|
22
|
-
type: PropType<Extractor>;
|
|
23
|
-
default: undefined;
|
|
16
|
+
optionDisabled: {
|
|
17
|
+
type: import("vue").PropType<Extractor>;
|
|
24
18
|
};
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}, {
|
|
29
|
-
|
|
30
|
-
},
|
|
19
|
+
optionDescription: {
|
|
20
|
+
type: import("vue").PropType<Extractor>;
|
|
21
|
+
};
|
|
22
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
|
+
"update:model-value": (value: (string | number)[]) => void;
|
|
24
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
25
|
modelValue: {
|
|
32
|
-
type: PropType<(string | number)[]>;
|
|
33
|
-
default: () => never[];
|
|
26
|
+
type: import("vue").PropType<(string | number)[]>;
|
|
34
27
|
};
|
|
35
28
|
options: {
|
|
36
|
-
type: (
|
|
29
|
+
type: import("vue").PropType<any[] | Record<string, any>>;
|
|
37
30
|
required: true;
|
|
38
31
|
};
|
|
39
|
-
|
|
40
|
-
type: PropType<Extractor>;
|
|
41
|
-
|
|
32
|
+
optionLabel: {
|
|
33
|
+
type: import("vue").PropType<Extractor>;
|
|
34
|
+
};
|
|
35
|
+
optionValue: {
|
|
36
|
+
type: import("vue").PropType<Extractor>;
|
|
42
37
|
};
|
|
43
|
-
|
|
44
|
-
type: PropType<Extractor>;
|
|
45
|
-
default: undefined;
|
|
38
|
+
optionDisabled: {
|
|
39
|
+
type: import("vue").PropType<Extractor>;
|
|
46
40
|
};
|
|
47
|
-
|
|
48
|
-
type: PropType<Extractor>;
|
|
49
|
-
default: undefined;
|
|
41
|
+
optionDescription: {
|
|
42
|
+
type: import("vue").PropType<Extractor>;
|
|
50
43
|
};
|
|
51
44
|
}>> & {
|
|
52
|
-
"onUpdate:
|
|
53
|
-
}, {
|
|
54
|
-
modelValue: (string | number)[];
|
|
55
|
-
optionLabelKey: Extractor;
|
|
56
|
-
optionValueKey: Extractor;
|
|
57
|
-
optionDisabledKey: Extractor;
|
|
58
|
-
}>;
|
|
45
|
+
"onUpdate:model-value"?: ((value: (string | number)[]) => any) | undefined;
|
|
46
|
+
}, {}, {}>;
|
|
59
47
|
export default _default;
|
|
@@ -1,52 +1,35 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare type FormFieldValue = {
|
|
3
|
-
getter: (modelValue: any) => unknown;
|
|
4
|
-
setter: (value: unknown, modelValue: any) => void;
|
|
5
|
-
};
|
|
6
|
-
export declare type FormField = {
|
|
7
|
-
label?: string;
|
|
8
|
-
description?: string;
|
|
9
|
-
hint?: string;
|
|
10
|
-
required?: boolean;
|
|
11
|
-
component: string | Component | AsyncComponentLoader;
|
|
12
|
-
props?: Record<string, unknown>;
|
|
13
|
-
value?: FormFieldValue;
|
|
14
|
-
};
|
|
15
|
-
export declare type FormFieldsStructure<T extends any = any> = Record<keyof T | string, FormField>;
|
|
1
|
+
import type { FormFieldsStructure } from '@/types';
|
|
16
2
|
declare const _default: import("vue").DefineComponent<{
|
|
17
|
-
fields: {
|
|
18
|
-
type: PropType<FormFieldsStructure<any>>;
|
|
19
|
-
default: () => {};
|
|
20
|
-
};
|
|
21
3
|
modelValue: {
|
|
22
|
-
type: PropType<any>;
|
|
23
|
-
|
|
24
|
-
};
|
|
25
|
-
errors: {
|
|
26
|
-
type: PropType<Record<string, string | boolean | string[]>>;
|
|
27
|
-
default: () => {};
|
|
4
|
+
type: import("vue").PropType<any>;
|
|
5
|
+
required: true;
|
|
28
6
|
};
|
|
29
|
-
}, unknown, unknown, {}, {
|
|
30
|
-
getFieldValue(name: string): unknown;
|
|
31
|
-
setFieldValue(name: string, value: unknown): void;
|
|
32
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
33
7
|
fields: {
|
|
34
|
-
type: PropType<FormFieldsStructure<any>>;
|
|
8
|
+
type: import("vue").PropType<FormFieldsStructure<any>>;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
errors: {
|
|
12
|
+
type: import("vue").PropType<Record<string, any>>;
|
|
35
13
|
default: () => {};
|
|
36
14
|
};
|
|
15
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
+
"update:model-value": (value: any) => void;
|
|
17
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
37
18
|
modelValue: {
|
|
38
|
-
type: PropType<any>;
|
|
39
|
-
|
|
19
|
+
type: import("vue").PropType<any>;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
fields: {
|
|
23
|
+
type: import("vue").PropType<FormFieldsStructure<any>>;
|
|
24
|
+
required: true;
|
|
40
25
|
};
|
|
41
26
|
errors: {
|
|
42
|
-
type: PropType<Record<string,
|
|
27
|
+
type: import("vue").PropType<Record<string, any>>;
|
|
43
28
|
default: () => {};
|
|
44
29
|
};
|
|
45
30
|
}>> & {
|
|
46
|
-
"onUpdate:
|
|
31
|
+
"onUpdate:model-value"?: ((value: any) => any) | undefined;
|
|
47
32
|
}, {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
errors: Record<string, string | boolean | string[]>;
|
|
51
|
-
}>;
|
|
33
|
+
errors: Record<string, any>;
|
|
34
|
+
}, {}>;
|
|
52
35
|
export default _default;
|