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.
@@ -1,17 +1,16 @@
1
1
  import { SemanticType } from '../../utils/SemanticType';
2
- import { type RouteLocationRaw } from 'vue-router';
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
- semanticType?: SemanticType | undefined;
5
- disabled?: boolean | undefined;
6
- loading?: boolean | undefined;
7
- tag?: "a" | "button" | undefined;
8
- type?: string | undefined;
9
- to?: RouteLocationRaw | undefined;
10
- replace?: boolean | undefined;
11
- href?: string | undefined;
12
- target?: "_self" | "_blank" | "_parent" | "_top" | undefined;
13
- minimize?: boolean | undefined;
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;AACjD,OAAO,EAAC,KAAK,gBAAgB,EAAa,MAAM,YAAY,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkM5D,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;AA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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
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
- icon?: SVGComponent | undefined;
2
+ interface Props extends /* @vue-ignore */ Partial<LinkProps> {
3
+ icon?: SVGComponent;
5
4
  title: string;
6
- active?: boolean | undefined;
7
- tag?: "a" | "button" | undefined;
8
- to?: RouteLocationRaw | undefined;
9
- count?: number | undefined;
10
- semanticType?: SemanticType | undefined;
11
- outline?: boolean | undefined;
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;AAEA,OAAO,EAAC,KAAK,gBAAgB,EAAa,MAAM,YAAY,CAAA;AAE5D,OAAO,EAAC,YAAY,EAAC,MAAM,QAAQ,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8LnC,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,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;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
- import type { RouteLocationRaw } from 'vue-router';
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 | undefined;
6
- disabled?: boolean | undefined;
7
- href?: string | undefined;
8
- download?: string | undefined;
9
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
10
- to?: RouteLocationRaw | undefined;
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;AAEA,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,YAAY,CAAA;;;;;;;;;;;;;;;;;;AAoHhD,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
+ {"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"}
@@ -5,7 +5,6 @@ const _hoisted_1 = { class: "min-w-[5rem] flex-1 text-start" };
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "WButtonMoreItem",
7
7
  props: {
8
- to: {},
9
8
  text: {},
10
9
  icon: {},
11
10
  disabled: { type: Boolean },
@@ -1,26 +1,18 @@
1
- import { type RouteLocationRaw } from 'vue-router';
2
1
  import { SemanticType } from '../../utils/SemanticType';
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
- to?: RouteLocationRaw | undefined;
5
- href?: string | undefined;
6
- target?: "_self" | "_blank" | "_parent" | "_top" | undefined;
7
- text?: string | undefined;
8
- semanticType?: SemanticType | undefined;
9
- small?: boolean | undefined;
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":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C,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
- import { type RouteLocationRaw } from 'vue-router';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
- to?: RouteLocationRaw | undefined;
4
- disabled?: boolean | undefined;
5
- href?: string | undefined;
6
- download?: string | undefined;
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;AAEA,OAAO,EAAC,KAAK,gBAAgB,EAAa,MAAM,YAAY,CAAA;;;;;;;;;;;;;;AAqF5D,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
+ {"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"}
@@ -4,7 +4,6 @@ import { RouterLink } from 'vue-router';
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "WMenuItem",
6
6
  props: {
7
- to: {},
8
7
  disabled: { type: Boolean },
9
8
  href: {},
10
9
  download: {}
@@ -1,25 +1,15 @@
1
- import { type RouteLocationRaw } from 'vue-router';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
- icon?: SVGComponent | undefined;
4
- to: RouteLocationRaw;
1
+ interface Props extends /* @vue-ignore */ LinkProps {
2
+ icon?: SVGComponent;
5
3
  title: string;
6
- count?: number | undefined;
7
- counter?: number | undefined;
8
- noQuery?: boolean | undefined;
9
- skeleton?: boolean | undefined;
10
- hasActive?: boolean | undefined;
11
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
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;AAGA,OAAO,EAAkC,KAAK,gBAAgB,EAAC,MAAM,YAAY,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;AAqQjF,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
+ {"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"}
@@ -17,7 +17,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
17
17
  __name: "WNavItem",
18
18
  props: {
19
19
  icon: {},
20
- to: {},
21
20
  title: {},
22
21
  count: {},
23
22
  counter: {},
@@ -1,19 +1,11 @@
1
- import type { RouteLocationRaw } from 'vue-router';
2
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
- icon?: SVGComponent | undefined;
4
- to: RouteLocationRaw;
1
+ interface Props extends /* @vue-ignore */ LinkProps {
2
+ icon?: SVGComponent;
5
3
  title: string;
6
- count?: number | undefined;
7
- skeleton?: boolean | undefined;
8
- newLabel?: boolean | undefined;
9
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
10
- icon?: SVGComponent | undefined;
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;AAGA,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,YAAY,CAAA;;;QAoL1C,gBAAgB;WACb,MAAM;;;;;;QADT,gBAAgB;WACb,MAAM;;;;;AARf,wBAaG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CA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*/ defineComponent({
8
8
  __name: "WNavItemExpand",
9
9
  props: {
10
10
  icon: {},
11
- to: {},
12
11
  title: {},
13
12
  count: {},
14
13
  skeleton: { type: Boolean },
@@ -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 type ApiErrorDefault = unknown
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 = ApiErrorDefault, TData = TQueryFnData, TQueryKey extends import('@tanstack/vue-query').QueryKey = import('@tanstack/vue-query').QueryKey> =
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 = ApiErrorDefault> = Partial<Parameters<typeof import('../utils/useDefaultQuery').useDefaultQuery<Data, Error>>[0]>
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 = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey>(options: import("@tanstack/vue-query").UseQueryOptions<TQueryFnData, TError, TData, TQueryFnData, TQueryKey>, queryClient?: QueryClient | undefined) => UseQueryReturnType<TData, 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;uBAEL,YAAY,YAAY,MAAM,CAAC,CAAC,CAAC,KAAK,WAAW,WAAW,CAAC,gBAAgB,CAAC,CAAC;CAUrG,CAAA"}
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.1",
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.1.6",
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",