eco-vue-js 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/Button/WButton.vue.d.ts +14 -26
- package/dist/components/Button/WButton.vue.d.ts.map +1 -1
- package/dist/components/Button/WButton.vue.js +0 -1
- package/dist/components/Button/WButtonAction.vue.d.ts +11 -21
- package/dist/components/Button/WButtonAction.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonAction.vue.js +0 -1
- package/dist/components/Button/WButtonMoreItem.vue.d.ts +7 -15
- package/dist/components/Button/WButtonMoreItem.vue.d.ts.map +1 -1
- package/dist/components/Button/WButtonMoreItem.vue.js +0 -1
- package/dist/components/Link/WLink.vue.d.ts +10 -18
- package/dist/components/Link/WLink.vue.d.ts.map +1 -1
- package/dist/components/Link/WLink.vue.js +0 -1
- package/dist/components/MenuItem/WMenuItem.vue.d.ts +6 -12
- package/dist/components/MenuItem/WMenuItem.vue.d.ts.map +1 -1
- package/dist/components/MenuItem/WMenuItem.vue.js +0 -1
- package/dist/components/Nav/WNavItem.vue.d.ts +10 -20
- package/dist/components/Nav/WNavItem.vue.d.ts.map +1 -1
- package/dist/components/Nav/WNavItem.vue.js +0 -1
- package/dist/components/Nav/WNavItemExpand.vue.d.ts +7 -15
- package/dist/components/Nav/WNavItemExpand.vue.d.ts.map +1 -1
- package/dist/components/Nav/WNavItemExpand.vue.js +0 -1
- package/dist/types/global.d.ts +11 -3
- package/dist/utils/useDefaultQuery.d.ts +1 -1
- package/dist/utils/useDefaultQuery.d.ts.map +1 -1
- package/package.json +2 -2
@@ -1,17 +1,16 @@
|
|
1
1
|
import { SemanticType } from '../../utils/SemanticType';
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
}>, {
|
2
|
+
interface Props extends /* @vue-ignore */ Partial<LinkProps> {
|
3
|
+
semanticType?: SemanticType;
|
4
|
+
disabled?: boolean;
|
5
|
+
loading?: boolean;
|
6
|
+
tag?: 'a' | 'button';
|
7
|
+
type?: string;
|
8
|
+
replace?: boolean;
|
9
|
+
href?: string;
|
10
|
+
target?: '_self' | '_blank' | '_parent' | '_top';
|
11
|
+
minimize?: boolean;
|
12
|
+
}
|
13
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
15
14
|
semanticType: SemanticType;
|
16
15
|
tag: string;
|
17
16
|
to: undefined;
|
@@ -20,18 +19,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
20
19
|
target: undefined;
|
21
20
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
22
21
|
click: (event: MouseEvent | KeyboardEvent) => void;
|
23
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
24
|
-
semanticType?: SemanticType | undefined;
|
25
|
-
disabled?: boolean | undefined;
|
26
|
-
loading?: boolean | undefined;
|
27
|
-
tag?: "a" | "button" | undefined;
|
28
|
-
type?: string | undefined;
|
29
|
-
to?: RouteLocationRaw | undefined;
|
30
|
-
replace?: boolean | undefined;
|
31
|
-
href?: string | undefined;
|
32
|
-
target?: "_self" | "_blank" | "_parent" | "_top" | undefined;
|
33
|
-
minimize?: boolean | undefined;
|
34
|
-
}>, {
|
22
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
35
23
|
semanticType: SemanticType;
|
36
24
|
tag: string;
|
37
25
|
to: undefined;
|
@@ -42,7 +30,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
42
30
|
onClick?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
|
43
31
|
}, {
|
44
32
|
type: string;
|
45
|
-
to: RouteLocationRaw;
|
33
|
+
to: import("vue-router").RouteLocationRaw;
|
46
34
|
target: "_self" | "_blank" | "_parent" | "_top";
|
47
35
|
semanticType: SemanticType;
|
48
36
|
tag: "a" | "button";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button/WButton.vue"],"names":[],"mappings":"AA8CA;AAGA,OAAO,EAAC,YAAY,EAAC,MAAM,sBAAsB,CAAA;
|
1
|
+
{"version":3,"file":"WButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button/WButton.vue"],"names":[],"mappings":"AA8CA;AAGA,OAAO,EAAC,YAAY,EAAC,MAAM,sBAAsB,CAAA;AAMjD,UAAU,KAAM,SAAQ,iBAAiB,CAAC,OAAO,CAAC,SAAS,CAAC;IAC1D,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,GAAG,CAAC,EAAE,GAAG,GAAG,QAAQ,CAAA;IACpB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,CAAA;IAChD,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8JD,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
@@ -12,7 +12,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
12
12
|
loading: { type: Boolean },
|
13
13
|
tag: { default: "button" },
|
14
14
|
type: { default: void 0 },
|
15
|
-
to: { default: void 0 },
|
16
15
|
replace: { type: Boolean },
|
17
16
|
href: { default: void 0 },
|
18
17
|
target: { default: void 0 },
|
@@ -1,15 +1,14 @@
|
|
1
|
-
import { type RouteLocationRaw } from 'vue-router';
|
2
1
|
import { SemanticType } from '../../main';
|
3
|
-
|
4
|
-
icon?: SVGComponent
|
2
|
+
interface Props extends /* @vue-ignore */ Partial<LinkProps> {
|
3
|
+
icon?: SVGComponent;
|
5
4
|
title: string;
|
6
|
-
active?: boolean
|
7
|
-
tag?:
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
5
|
+
active?: boolean;
|
6
|
+
tag?: 'button' | 'a';
|
7
|
+
count?: number;
|
8
|
+
semanticType?: SemanticType;
|
9
|
+
outline?: boolean;
|
10
|
+
}
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
13
12
|
icon: undefined;
|
14
13
|
tag: string;
|
15
14
|
to: undefined;
|
@@ -17,16 +16,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
17
16
|
semanticType: SemanticType;
|
18
17
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
19
18
|
click: (event: MouseEvent) => void;
|
20
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
21
|
-
icon?: SVGComponent | undefined;
|
22
|
-
title: string;
|
23
|
-
active?: boolean | undefined;
|
24
|
-
tag?: "a" | "button" | undefined;
|
25
|
-
to?: RouteLocationRaw | undefined;
|
26
|
-
count?: number | undefined;
|
27
|
-
semanticType?: SemanticType | undefined;
|
28
|
-
outline?: boolean | undefined;
|
29
|
-
}>, {
|
19
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
30
20
|
icon: undefined;
|
31
21
|
tag: string;
|
32
22
|
to: undefined;
|
@@ -36,7 +26,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
36
26
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
37
27
|
}, {
|
38
28
|
count: number;
|
39
|
-
to: RouteLocationRaw;
|
29
|
+
to: import("vue-router").RouteLocationRaw;
|
40
30
|
semanticType: SemanticType;
|
41
31
|
tag: "a" | "button";
|
42
32
|
icon: SVGComponent;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WButtonAction.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button/WButtonAction.vue"],"names":[],"mappings":"AAmCA;
|
1
|
+
{"version":3,"file":"WButtonAction.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button/WButtonAction.vue"],"names":[],"mappings":"AAmCA;AAIA,OAAO,EAAC,YAAY,EAAC,MAAM,QAAQ,CAAA;AAsBnC,UAAU,KAAM,SAAQ,iBAAiB,CAAC,OAAO,CAAC,SAAS,CAAC;IAC1D,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,GAAG,CAAC,EAAE,QAAQ,GAAG,GAAG,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;;;;;;;;;;;;;;;;;;;;;;;;;;AA+ID,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
@@ -17,7 +17,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
17
17
|
title: {},
|
18
18
|
active: { type: Boolean },
|
19
19
|
tag: { default: "button" },
|
20
|
-
to: { default: void 0 },
|
21
20
|
count: { default: void 0 },
|
22
21
|
semanticType: { default: SemanticType.SECONDARY },
|
23
22
|
outline: { type: Boolean }
|
@@ -1,19 +1,11 @@
|
|
1
|
-
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
3
|
-
to?: RouteLocationRaw | undefined;
|
1
|
+
interface Props extends /* @vue-ignore */ Partial<LinkProps> {
|
4
2
|
text: string;
|
5
|
-
icon?: SVGComponent
|
6
|
-
disabled?: boolean
|
7
|
-
href?: string
|
8
|
-
download?: string
|
9
|
-
}
|
10
|
-
|
11
|
-
text: string;
|
12
|
-
icon?: SVGComponent | undefined;
|
13
|
-
disabled?: boolean | undefined;
|
14
|
-
href?: string | undefined;
|
15
|
-
download?: string | undefined;
|
16
|
-
}>>>, {}, {}>, {
|
3
|
+
icon?: SVGComponent;
|
4
|
+
disabled?: boolean;
|
5
|
+
href?: string;
|
6
|
+
download?: string;
|
7
|
+
}
|
8
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>, {
|
17
9
|
icon?(_: {}): any;
|
18
10
|
}>;
|
19
11
|
export default _default;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WButtonMoreItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button/WButtonMoreItem.vue"],"names":[],"mappings":"AAkBA;
|
1
|
+
{"version":3,"file":"WButtonMoreItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button/WButtonMoreItem.vue"],"names":[],"mappings":"AAkBA;AAMA,UAAU,KAAM,SAAQ,iBAAiB,CAAC,OAAO,CAAC,SAAS,CAAC;IAC1D,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;;;;AA4FD,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
@@ -1,26 +1,18 @@
|
|
1
|
-
import { type RouteLocationRaw } from 'vue-router';
|
2
1
|
import { SemanticType } from '../../utils/SemanticType';
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
2
|
+
interface Props extends /* @vue-ignore */ Partial<LinkProps> {
|
3
|
+
href?: string;
|
4
|
+
target?: '_self' | '_blank' | '_parent' | '_top';
|
5
|
+
text?: string;
|
6
|
+
semanticType?: SemanticType;
|
7
|
+
small?: boolean;
|
8
|
+
}
|
9
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
11
10
|
semanticType: SemanticType;
|
12
11
|
to: undefined;
|
13
12
|
href: undefined;
|
14
13
|
target: undefined;
|
15
14
|
text: undefined;
|
16
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
17
|
-
to?: RouteLocationRaw | undefined;
|
18
|
-
href?: string | undefined;
|
19
|
-
target?: "_self" | "_blank" | "_parent" | "_top" | undefined;
|
20
|
-
text?: string | undefined;
|
21
|
-
semanticType?: SemanticType | undefined;
|
22
|
-
small?: boolean | undefined;
|
23
|
-
}>, {
|
15
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
24
16
|
semanticType: SemanticType;
|
25
17
|
to: undefined;
|
26
18
|
href: undefined;
|
@@ -28,7 +20,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
28
20
|
text: undefined;
|
29
21
|
}>>>, {
|
30
22
|
text: string;
|
31
|
-
to: RouteLocationRaw;
|
23
|
+
to: import("vue-router").RouteLocationRaw;
|
32
24
|
target: "_self" | "_blank" | "_parent" | "_top";
|
33
25
|
semanticType: SemanticType;
|
34
26
|
href: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WLink.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Link/WLink.vue"],"names":[],"mappings":"AAqBA;
|
1
|
+
{"version":3,"file":"WLink.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Link/WLink.vue"],"names":[],"mappings":"AAqBA;AAIA,OAAO,EAAC,YAAY,EAAC,MAAM,sBAAsB,CAAA;AAKjD,UAAU,KAAM,SAAQ,iBAAiB,CAAC,OAAO,CAAC,SAAS,CAAC;IAC1D,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,CAAA;IAChD,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB;;;;;;;;;;;;;;;;;;;;;;AA4GD,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
@@ -7,7 +7,6 @@ import { semanticTypeTextStylesMap, semanticTypeIconStylesMap } from '../Button/
|
|
7
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
8
8
|
__name: "WLink",
|
9
9
|
props: {
|
10
|
-
to: { default: void 0 },
|
11
10
|
href: { default: void 0 },
|
12
11
|
target: { default: void 0 },
|
13
12
|
text: { default: void 0 },
|
@@ -1,15 +1,9 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
8
|
-
to?: RouteLocationRaw | undefined;
|
9
|
-
disabled?: boolean | undefined;
|
10
|
-
href?: string | undefined;
|
11
|
-
download?: string | undefined;
|
12
|
-
}>>>, {}, {}>, {
|
1
|
+
interface Props extends /* @vue-ignore */ Partial<LinkProps> {
|
2
|
+
disabled?: boolean;
|
3
|
+
href?: string;
|
4
|
+
download?: string;
|
5
|
+
}
|
6
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>, {
|
13
7
|
default?(_: {}): any;
|
14
8
|
}>;
|
15
9
|
export default _default;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WMenuItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/MenuItem/WMenuItem.vue"],"names":[],"mappings":"AAcA;
|
1
|
+
{"version":3,"file":"WMenuItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/MenuItem/WMenuItem.vue"],"names":[],"mappings":"AAcA;AAMA,UAAU,KAAM,SAAQ,iBAAiB,CAAC,OAAO,CAAC,SAAS,CAAC;IAC1D,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;;;;AAoED,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
@@ -1,25 +1,15 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
icon?: SVGComponent | undefined;
|
4
|
-
to: RouteLocationRaw;
|
1
|
+
interface Props extends /* @vue-ignore */ LinkProps {
|
2
|
+
icon?: SVGComponent;
|
5
3
|
title: string;
|
6
|
-
count?: number
|
7
|
-
counter?: number
|
8
|
-
noQuery?: boolean
|
9
|
-
skeleton?: boolean
|
10
|
-
hasActive?: boolean
|
11
|
-
}
|
4
|
+
count?: number;
|
5
|
+
counter?: number;
|
6
|
+
noQuery?: boolean;
|
7
|
+
skeleton?: boolean;
|
8
|
+
hasActive?: boolean;
|
9
|
+
}
|
10
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
12
11
|
"update:isActive": (value: Record<string, boolean>) => void;
|
13
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
14
|
-
icon?: SVGComponent | undefined;
|
15
|
-
to: RouteLocationRaw;
|
16
|
-
title: string;
|
17
|
-
count?: number | undefined;
|
18
|
-
counter?: number | undefined;
|
19
|
-
noQuery?: boolean | undefined;
|
20
|
-
skeleton?: boolean | undefined;
|
21
|
-
hasActive?: boolean | undefined;
|
22
|
-
}>>> & {
|
12
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
|
23
13
|
"onUpdate:isActive"?: ((value: Record<string, boolean>) => any) | undefined;
|
24
14
|
}, {}, {}>, {
|
25
15
|
icon?(_: {}): any;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WNavItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Nav/WNavItem.vue"],"names":[],"mappings":"AAmEA;
|
1
|
+
{"version":3,"file":"WNavItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Nav/WNavItem.vue"],"names":[],"mappings":"AAmEA;AAUA,UAAU,KAAM,SAAQ,iBAAiB,CAAC,SAAS;IACjD,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;;;;;;;;AAqOD,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
@@ -1,19 +1,11 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
icon?: SVGComponent | undefined;
|
4
|
-
to: RouteLocationRaw;
|
1
|
+
interface Props extends /* @vue-ignore */ LinkProps {
|
2
|
+
icon?: SVGComponent;
|
5
3
|
title: string;
|
6
|
-
count?: number
|
7
|
-
skeleton?: boolean
|
8
|
-
newLabel?: boolean
|
9
|
-
}
|
10
|
-
|
11
|
-
to: RouteLocationRaw;
|
12
|
-
title: string;
|
13
|
-
count?: number | undefined;
|
14
|
-
skeleton?: boolean | undefined;
|
15
|
-
newLabel?: boolean | undefined;
|
16
|
-
}>>>, {}, {}>;
|
4
|
+
count?: number;
|
5
|
+
skeleton?: boolean;
|
6
|
+
newLabel?: boolean;
|
7
|
+
}
|
8
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>;
|
17
9
|
export default _default;
|
18
10
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
19
11
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WNavItemExpand.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Nav/WNavItemExpand.vue"],"names":[],"mappings":"AAmCA;
|
1
|
+
{"version":3,"file":"WNavItemExpand.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Nav/WNavItemExpand.vue"],"names":[],"mappings":"AAmCA;AAUA,UAAU,KAAM,SAAQ,iBAAiB,CAAC,SAAS;IACjD,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;;AAyJD,wBAMG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
package/dist/types/global.d.ts
CHANGED
@@ -40,12 +40,20 @@ declare type DefaultData = {id: number, [key: string]: unknown}
|
|
40
40
|
|
41
41
|
type Params = Parameters<import('@tanstack/vue-query').QueryClient['setQueriesData']>
|
42
42
|
|
43
|
-
declare
|
43
|
+
declare interface LinkProps {
|
44
|
+
to: import('vue-router').RouterLinkProps['to']
|
45
|
+
}
|
46
|
+
|
47
|
+
declare interface DefaultQueryError {}
|
48
|
+
|
49
|
+
declare interface DefaultQueryConfig {
|
50
|
+
ApiError: DefaultQueryError
|
51
|
+
}
|
44
52
|
|
45
|
-
declare type UseQueryDefault<TQueryFnData = unknown, TError =
|
53
|
+
declare type UseQueryDefault<TQueryFnData = unknown, TError = DefaultQueryConfig['ApiError'], TData = TQueryFnData, TQueryKey extends import('@tanstack/vue-query').QueryKey = import('@tanstack/vue-query').QueryKey> =
|
46
54
|
typeof import('../utils/useDefaultQuery').useDefaultQuery<TQueryFnData, TError, TData, TQueryKey>
|
47
55
|
|
48
|
-
declare type QueryOptions<Data, Error =
|
56
|
+
declare type QueryOptions<Data, Error = DefaultQueryConfig['ApiError']> = Partial<Parameters<typeof import('../utils/useDefaultQuery').useDefaultQuery<Data, Error>>[0]>
|
49
57
|
|
50
58
|
declare type UseQueryEmpty<Model, ApiError> = (options?: QueryOptions<Model, ApiError>) => ReturnType<typeof import('../utils/useDefaultQuery').useDefaultQuery<Model, ApiError>>
|
51
59
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { type QueryClient, type UseQueryReturnType, type QueryKey } from '@tanstack/vue-query';
|
2
2
|
type Params = Parameters<QueryClient['setQueriesData']>;
|
3
|
-
export declare const useDefaultQuery: <TQueryFnData = unknown, TError =
|
3
|
+
export declare const useDefaultQuery: <TQueryFnData = unknown, TError = DefaultQueryError, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey>(options: import("@tanstack/vue-query").UseQueryOptions<TQueryFnData, TError, TData, TQueryFnData, TQueryKey>, queryClient?: QueryClient | undefined) => UseQueryReturnType<TData, TError> & {
|
4
4
|
setData: (updater: TQueryFnData, options?: Params[2]) => ReturnType<QueryClient['setQueriesData']>;
|
5
5
|
};
|
6
6
|
export {};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useDefaultQuery.d.ts","sourceRoot":"","sources":["../../src/utils/useDefaultQuery.ts"],"names":[],"mappings":"AAAA,OAAO,EAA2B,KAAK,WAAW,EAAE,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAC,MAAM,qBAAqB,CAAA;AAEtH,KAAK,MAAM,GAAG,UAAU,CAAC,WAAW,CAAC,gBAAgB,CAAC,CAAC,CAAA;AAEvD,eAAO,MAAM,eAAe;
|
1
|
+
{"version":3,"file":"useDefaultQuery.d.ts","sourceRoot":"","sources":["../../src/utils/useDefaultQuery.ts"],"names":[],"mappings":"AAAA,OAAO,EAA2B,KAAK,WAAW,EAAE,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAC,MAAM,qBAAqB,CAAA;AAEtH,KAAK,MAAM,GAAG,UAAU,CAAC,WAAW,CAAC,gBAAgB,CAAC,CAAC,CAAA;AAEvD,eAAO,MAAM,eAAe;uBAOL,YAAY,YAAY,MAAM,CAAC,CAAC,CAAC,KAAK,WAAW,WAAW,CAAC,gBAAgB,CAAC,CAAC;CAUrG,CAAA"}
|
package/package.json
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
"type": "git",
|
5
5
|
"url": "https://github.com/rsmple/eco-vue-js.git"
|
6
6
|
},
|
7
|
-
"version": "0.5.
|
7
|
+
"version": "0.5.2",
|
8
8
|
"scripts": {
|
9
9
|
"dev": "vite",
|
10
10
|
"build": "run-p type-check build-only",
|
@@ -41,7 +41,7 @@
|
|
41
41
|
"postcss-import": "15.1.0",
|
42
42
|
"tailwindcss": "3.4.1",
|
43
43
|
"typescript": "5.4.2",
|
44
|
-
"vite": "5.
|
44
|
+
"vite": "5.2.13",
|
45
45
|
"vite-plugin-dts": "3.7.3",
|
46
46
|
"vite-svg-loader": "4.0.0",
|
47
47
|
"vitest": "0.32.0",
|