eco-vue-js 0.5.2 → 0.5.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,11 +1,7 @@
1
- import { type RouteLocationNamedRaw } from 'vue-router';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
- to: RouteLocationNamedRaw;
4
- text?: string | undefined;
5
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
6
- to: RouteLocationNamedRaw;
7
- text?: string | undefined;
8
- }>>>, {}, {}>, {
1
+ interface Props extends /* @vue-ignore */ LinkProps {
2
+ text?: string;
3
+ }
4
+ 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>>>, {}, {}>, {
9
5
  default?(_: {}): any;
10
6
  }>;
11
7
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"WLinkArrow.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Link/WLinkArrow.vue"],"names":[],"mappings":"AAcA;AAEA,OAAO,EAAa,KAAK,qBAAqB,EAAC,MAAM,YAAY,CAAA;;;;;;;;;;AAkGjE,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":"WLinkArrow.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Link/WLinkArrow.vue"],"names":[],"mappings":"AAcA;AAOA,UAAU,KAAM,SAAQ,iBAAiB,CAAC,SAAS;IACjD,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;;;;AAsFD,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 @@ import IconBack from '../../assets/icons/default/IconBack.svg.js';
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "WLinkArrow",
7
7
  props: {
8
- to: {},
9
8
  text: {}
10
9
  },
11
10
  setup(__props) {
@@ -1,22 +1,14 @@
1
- import { type RouteLocationNamedRaw } from 'vue-router';
2
1
  import { NotifyType } from '../models/NotifyType';
3
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
+ interface Props extends /* @vue-ignore */ Partial<LinkProps> {
4
3
  title: string;
5
- caption?: string | undefined;
6
- userInput?: string | undefined;
4
+ caption?: string;
5
+ userInput?: string;
7
6
  type: NotifyType;
8
7
  count: number;
9
- to?: RouteLocationNamedRaw | undefined;
10
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ }
9
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
10
  "click:close": () => void;
12
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
13
- title: string;
14
- caption?: string | undefined;
15
- userInput?: string | undefined;
16
- type: NotifyType;
17
- count: number;
18
- to?: RouteLocationNamedRaw | undefined;
19
- }>>> & {
11
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
20
12
  "onClick:close"?: (() => any) | undefined;
21
13
  }, {}, {}>;
22
14
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"NotifyCard.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Notify/components/NotifyCard.vue"],"names":[],"mappings":"AA+DA;AAGA,OAAO,EAAY,KAAK,qBAAqB,EAAC,MAAM,YAAY,CAAA;AAChE,OAAO,EAAC,UAAU,EAAC,MAAM,sBAAsB,CAAA;;WA0TtC,MAAM;;;UAGP,UAAU;WACT,MAAM;;;;;WAJN,MAAM;;;UAGP,UAAU;WACT,MAAM;;;;;AAVf,wBAcG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,C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,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
@@ -27,8 +27,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
27
27
  caption: {},
28
28
  userInput: {},
29
29
  type: {},
30
- count: {},
31
- to: {}
30
+ count: {}
32
31
  },
33
32
  emits: ["click:close"],
34
33
  setup(__props) {
@@ -1,11 +1,9 @@
1
- import type { RouteLocationNamedRaw } from 'vue-router';
2
1
  import type { NotifyType } from './NotifyType';
3
- export type NotifyConfig = {
2
+ export interface NotifyConfig extends Partial<LinkProps> {
4
3
  title: string;
5
4
  caption?: string;
6
5
  userInput?: string;
7
6
  type: NotifyType;
8
- to?: RouteLocationNamedRaw;
9
- };
7
+ }
10
8
  export type AddNotify = (config: NotifyConfig) => void;
11
9
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Notify/models/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,qBAAqB,EAAC,MAAM,YAAY,CAAA;AACrD,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,cAAc,CAAA;AAE5C,MAAM,MAAM,YAAY,GAAG;IACzB,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,EAAE,UAAU,CAAA;IAChB,EAAE,CAAC,EAAE,qBAAqB,CAAA;CAC3B,CAAA;AAED,MAAM,MAAM,SAAS,GAAG,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,CAAA"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Notify/models/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,cAAc,CAAA;AAE5C,MAAM,WAAW,YAAa,SAAQ,OAAO,CAAC,SAAS,CAAC;IACtD,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,EAAE,UAAU,CAAA;CACjB;AAED,MAAM,MAAM,SAAS,GAAG,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,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.2",
7
+ "version": "0.5.3",
8
8
  "scripts": {
9
9
  "dev": "vite",
10
10
  "build": "run-p type-check build-only",