jk-vue-comps 0.2.3 → 0.2.4

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.
@@ -3,15 +3,9 @@ import type { PropType, ExtractPropTypes } from 'vue';
3
3
  export declare function toGoogleAuth(clientId: string, redirectUri: string): void;
4
4
  type GetPopupContainerFn = () => HTMLElement | Element;
5
5
  declare const _comp_props: {
6
- clientId: {
7
- type: StringConstructor;
8
- };
9
- redirectUri: {
10
- type: StringConstructor;
11
- };
12
- defaultLoad: {
13
- type: BooleanConstructor;
14
- };
6
+ clientId: StringConstructor;
7
+ redirectUri: StringConstructor;
8
+ defaultLoad: BooleanConstructor;
15
9
  getPopupContainer: {
16
10
  type: PropType<GetPopupContainerFn>;
17
11
  };
@@ -24,21 +18,66 @@ declare const _comp_props: {
24
18
  type: PropType<(error: any) => void>;
25
19
  };
26
20
  };
27
- export type GoogleAuthProps = ExtractPropTypes<typeof _comp_props>;
21
+ export type GoogleAuthProps = Partial<ExtractPropTypes<typeof _comp_props>>;
28
22
  /** 谷歌身份检查 */
29
23
  export declare const GoogleAuth: {
30
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<GoogleAuthProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
24
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<Partial<ExtractPropTypes<{
25
+ clientId: StringConstructor;
26
+ redirectUri: StringConstructor;
27
+ defaultLoad: BooleanConstructor;
28
+ getPopupContainer: {
29
+ type: PropType<GetPopupContainerFn>;
30
+ };
31
+ onCallback: {
32
+ type: PropType<(data: {
33
+ code: string;
34
+ }) => void>;
35
+ };
36
+ onRejectCallback: {
37
+ type: PropType<(error: any) => void>;
38
+ };
39
+ }>>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
31
40
  P: {};
32
41
  B: {};
33
42
  D: {};
34
43
  C: {};
35
44
  M: {};
36
45
  Defaults: {};
37
- }, Readonly<GoogleAuthProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
46
+ }, Readonly<Partial<ExtractPropTypes<{
47
+ clientId: StringConstructor;
48
+ redirectUri: StringConstructor;
49
+ defaultLoad: BooleanConstructor;
50
+ getPopupContainer: {
51
+ type: PropType<GetPopupContainerFn>;
52
+ };
53
+ onCallback: {
54
+ type: PropType<(data: {
55
+ code: string;
56
+ }) => void>;
57
+ };
58
+ onRejectCallback: {
59
+ type: PropType<(error: any) => void>;
60
+ };
61
+ }>>> & Readonly<{}>, {}, {}, {}, {}, {}>;
38
62
  __isFragment?: never;
39
63
  __isTeleport?: never;
40
64
  __isSuspense?: never;
41
- } & import("vue").ComponentOptionsBase<Readonly<GoogleAuthProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
65
+ } & import("vue").ComponentOptionsBase<Readonly<Partial<ExtractPropTypes<{
66
+ clientId: StringConstructor;
67
+ redirectUri: StringConstructor;
68
+ defaultLoad: BooleanConstructor;
69
+ getPopupContainer: {
70
+ type: PropType<GetPopupContainerFn>;
71
+ };
72
+ onCallback: {
73
+ type: PropType<(data: {
74
+ code: string;
75
+ }) => void>;
76
+ };
77
+ onRejectCallback: {
78
+ type: PropType<(error: any) => void>;
79
+ };
80
+ }>>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
42
81
  readonly toGoogleAuth: typeof toGoogleAuth;
43
82
  } & import("vue").Plugin;
44
83
  export default GoogleAuth;
@@ -3,21 +3,15 @@ import { isInMobileBrowser as i } from "../utils/is.js";
3
3
  import "../utils/math.js";
4
4
  import "../utils/vuePropTypes.js";
5
5
  import { withInstall as h } from "../utils/withInstall.js";
6
- function d(t, r) {
7
- if (!t || !r) return;
8
- const u = encodeURIComponent(r), l = encodeURIComponent("email profile"), n = encodeURIComponent(t), a = `https://accounts.google.com/o/oauth2/v2/auth?response_type=code&redirect_uri=${u}&scope=${l}&client_id=${n}`;
6
+ function d(o, r) {
7
+ if (!o || !r) return;
8
+ const u = encodeURIComponent(r), l = encodeURIComponent("email profile"), n = encodeURIComponent(o), a = `https://accounts.google.com/o/oauth2/v2/auth?response_type=code&redirect_uri=${u}&scope=${l}&client_id=${n}`;
9
9
  window.location.href = a;
10
10
  }
11
11
  const _ = {
12
- clientId: {
13
- type: String
14
- },
15
- redirectUri: {
16
- type: String
17
- },
18
- defaultLoad: {
19
- type: Boolean
20
- },
12
+ clientId: String,
13
+ redirectUri: String,
14
+ defaultLoad: Boolean,
21
15
  getPopupContainer: {
22
16
  type: Function
23
17
  },
@@ -32,67 +26,67 @@ const _ = {
32
26
  toGoogleAuth: d,
33
27
  props: _,
34
28
  slots: Object,
35
- setup(t, {
29
+ setup(o, {
36
30
  slots: r,
37
31
  expose: u
38
32
  }) {
39
33
  const l = m(() => ({
40
- id: t.clientId,
41
- uri: t.redirectUri
34
+ id: o.clientId,
35
+ uri: o.redirectUri
42
36
  }));
43
37
  function n() {
44
38
  return window?.google?.accounts?.oauth2?.initCodeClient;
45
39
  }
46
40
  function a() {
47
- return t.getPopupContainer?.() || document.body;
41
+ return o.getPopupContainer?.() || document.body;
48
42
  }
49
- function p() {
50
- return new Promise((o) => {
43
+ function s() {
44
+ return new Promise((t) => {
51
45
  if (!document) {
52
- o(!1);
46
+ t(!1);
53
47
  return;
54
48
  }
55
49
  if (i() || n()) {
56
- o(!0);
50
+ t(!0);
57
51
  return;
58
52
  }
59
53
  const e = document.createElement("script");
60
54
  e.async = !0, e.defer = !0, e.src = "https://accounts.google.com/gsi/client", a()?.appendChild?.(e), e.onload = () => {
61
- o(!!n());
55
+ t(!!n());
62
56
  }, e.onerror = () => {
63
- e.remove(), o(!1);
57
+ e.remove(), t(!1);
64
58
  };
65
59
  });
66
60
  }
67
- async function s() {
61
+ async function p() {
68
62
  const {
69
- id: o,
63
+ id: t,
70
64
  uri: e
71
65
  } = l.value;
72
- if (!i() && !await p()) {
73
- d(o || "", e || "");
66
+ if (!i() && !await s()) {
67
+ d(t || "", e || "");
74
68
  return;
75
69
  }
76
70
  if (i() || !n()) {
77
- d(o || "", e || "");
71
+ d(t || "", e || "");
78
72
  return;
79
73
  }
80
74
  n()?.({
81
- client_id: o,
75
+ client_id: t,
82
76
  scope: "email profile",
83
77
  redirect_uri: e,
84
78
  ux_mode: i() ? "redirect" : "popup",
85
79
  callback(c) {
86
- c?.error ? t.onRejectCallback?.(c.error) : t.onCallback?.(c);
80
+ c?.error ? o.onRejectCallback?.(c.error) : o.onCallback?.(c);
87
81
  }
88
82
  })?.requestCode?.();
89
83
  }
90
84
  return g(() => {
91
- t.defaultLoad && p();
85
+ o.defaultLoad && s();
92
86
  }), u({
93
- startCheck: s
87
+ startCheck: p
94
88
  }), () => C("div", null, [r.default?.({
95
- startCheck: s
89
+ startCheck: p
96
90
  })]);
97
91
  }
98
92
  }), F = h(b);
@@ -15,15 +15,9 @@ export interface TgUserData {
15
15
  }
16
16
  type GetPopupContainerFn = () => HTMLElement | Element;
17
17
  declare const _comp_props: {
18
- botId: {
19
- type: NumberConstructor;
20
- };
21
- toPath: {
22
- type: StringConstructor;
23
- };
24
- defaultLoad: {
25
- type: BooleanConstructor;
26
- };
18
+ botId: NumberConstructor;
19
+ toPath: StringConstructor;
20
+ defaultLoad: BooleanConstructor;
27
21
  getPopupContainer: {
28
22
  type: PropType<GetPopupContainerFn>;
29
23
  };
@@ -34,21 +28,60 @@ declare const _comp_props: {
34
28
  type: PropType<() => void>;
35
29
  };
36
30
  };
37
- export type TelegramAuthProps = ExtractPropTypes<typeof _comp_props>;
31
+ export type TelegramAuthProps = Partial<ExtractPropTypes<typeof _comp_props>>;
38
32
  /** Telegram身份检查 */
39
33
  export declare const TelegramAuth: {
40
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<TelegramAuthProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
34
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<Partial<ExtractPropTypes<{
35
+ botId: NumberConstructor;
36
+ toPath: StringConstructor;
37
+ defaultLoad: BooleanConstructor;
38
+ getPopupContainer: {
39
+ type: PropType<GetPopupContainerFn>;
40
+ };
41
+ onCallback: {
42
+ type: PropType<(user: TgUserData) => void>;
43
+ };
44
+ onRejectCallback: {
45
+ type: PropType<() => void>;
46
+ };
47
+ }>>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
41
48
  P: {};
42
49
  B: {};
43
50
  D: {};
44
51
  C: {};
45
52
  M: {};
46
53
  Defaults: {};
47
- }, Readonly<TelegramAuthProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
54
+ }, Readonly<Partial<ExtractPropTypes<{
55
+ botId: NumberConstructor;
56
+ toPath: StringConstructor;
57
+ defaultLoad: BooleanConstructor;
58
+ getPopupContainer: {
59
+ type: PropType<GetPopupContainerFn>;
60
+ };
61
+ onCallback: {
62
+ type: PropType<(user: TgUserData) => void>;
63
+ };
64
+ onRejectCallback: {
65
+ type: PropType<() => void>;
66
+ };
67
+ }>>> & Readonly<{}>, {}, {}, {}, {}, {}>;
48
68
  __isFragment?: never;
49
69
  __isTeleport?: never;
50
70
  __isSuspense?: never;
51
- } & import("vue").ComponentOptionsBase<Readonly<TelegramAuthProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
71
+ } & import("vue").ComponentOptionsBase<Readonly<Partial<ExtractPropTypes<{
72
+ botId: NumberConstructor;
73
+ toPath: StringConstructor;
74
+ defaultLoad: BooleanConstructor;
75
+ getPopupContainer: {
76
+ type: PropType<GetPopupContainerFn>;
77
+ };
78
+ onCallback: {
79
+ type: PropType<(user: TgUserData) => void>;
80
+ };
81
+ onRejectCallback: {
82
+ type: PropType<() => void>;
83
+ };
84
+ }>>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
52
85
  readonly toTelegramAuth: typeof toTelegramAuth;
53
86
  readonly getTelegramAuthUrlParams: typeof getTelegramAuthUrlParams;
54
87
  } & import("vue").Plugin;
@@ -1,4 +1,4 @@
1
- import { defineComponent as p, computed as f, onMounted as g, createVNode as h } from "vue";
1
+ import { defineComponent as f, computed as p, onMounted as g, createVNode as h } from "vue";
2
2
  import { a as w } from "../chunks/index-CHtnAuFs.js";
3
3
  import { withInstall as b } from "../utils/withInstall.js";
4
4
  import { isInMobileBrowser as l } from "../utils/is.js";
@@ -21,16 +21,10 @@ function C() {
21
21
  return null;
22
22
  }
23
23
  }
24
- const y = {
25
- botId: {
26
- type: Number
27
- },
28
- toPath: {
29
- type: String
30
- },
31
- defaultLoad: {
32
- type: Boolean
33
- },
24
+ const _ = {
25
+ botId: Number,
26
+ toPath: String,
27
+ defaultLoad: Boolean,
34
28
  getPopupContainer: {
35
29
  type: Function
36
30
  },
@@ -40,17 +34,17 @@ const y = {
40
34
  onRejectCallback: {
41
35
  type: Function
42
36
  }
43
- }, _ = /* @__PURE__ */ p({
37
+ }, y = /* @__PURE__ */ f({
44
38
  name: "TelegramAuth",
45
39
  toTelegramAuth: u,
46
40
  getTelegramAuthUrlParams: C,
47
- props: y,
41
+ props: _,
48
42
  slots: Object,
49
43
  setup(t, {
50
44
  slots: a,
51
45
  expose: c
52
46
  }) {
53
- const r = f(() => ({
47
+ const r = p(() => ({
54
48
  id: t.botId,
55
49
  path: t.toPath
56
50
  }));
@@ -106,7 +100,7 @@ const y = {
106
100
  startCheck: d
107
101
  })]);
108
102
  }
109
- }), U = b(_);
103
+ }), U = b(y);
110
104
  export {
111
105
  U as TelegramAuth,
112
106
  U as default,
package/dist/index.d.ts CHANGED
@@ -103,35 +103,119 @@ declare const JKVUEComps: {
103
103
  useMemo<T>(getValue: () => T, condition: (import("vue").WatchSource<unknown> | object)[], shouldUpdate?: (prev: any[], next: any[]) => boolean): import("vue").Ref<T, T>;
104
104
  toGoogleAuth(clientId: string, redirectUri: string): void;
105
105
  GoogleAuth: {
106
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<Comps.GoogleAuthProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
106
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<Partial<import("vue").ExtractPropTypes<{
107
+ clientId: StringConstructor;
108
+ redirectUri: StringConstructor;
109
+ defaultLoad: BooleanConstructor;
110
+ getPopupContainer: {
111
+ type: import("vue").PropType<() => HTMLElement | Element>;
112
+ };
113
+ onCallback: {
114
+ type: import("vue").PropType<(data: {
115
+ code: string;
116
+ }) => void>;
117
+ };
118
+ onRejectCallback: {
119
+ type: import("vue").PropType<(error: any) => void>;
120
+ };
121
+ }>>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
107
122
  P: {};
108
123
  B: {};
109
124
  D: {};
110
125
  C: {};
111
126
  M: {};
112
127
  Defaults: {};
113
- }, Readonly<Comps.GoogleAuthProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
128
+ }, Readonly<Partial<import("vue").ExtractPropTypes<{
129
+ clientId: StringConstructor;
130
+ redirectUri: StringConstructor;
131
+ defaultLoad: BooleanConstructor;
132
+ getPopupContainer: {
133
+ type: import("vue").PropType<() => HTMLElement | Element>;
134
+ };
135
+ onCallback: {
136
+ type: import("vue").PropType<(data: {
137
+ code: string;
138
+ }) => void>;
139
+ };
140
+ onRejectCallback: {
141
+ type: import("vue").PropType<(error: any) => void>;
142
+ };
143
+ }>>> & Readonly<{}>, {}, {}, {}, {}, {}>;
114
144
  __isFragment?: never;
115
145
  __isTeleport?: never;
116
146
  __isSuspense?: never;
117
- } & import("vue").ComponentOptionsBase<Readonly<Comps.GoogleAuthProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
147
+ } & import("vue").ComponentOptionsBase<Readonly<Partial<import("vue").ExtractPropTypes<{
148
+ clientId: StringConstructor;
149
+ redirectUri: StringConstructor;
150
+ defaultLoad: BooleanConstructor;
151
+ getPopupContainer: {
152
+ type: import("vue").PropType<() => HTMLElement | Element>;
153
+ };
154
+ onCallback: {
155
+ type: import("vue").PropType<(data: {
156
+ code: string;
157
+ }) => void>;
158
+ };
159
+ onRejectCallback: {
160
+ type: import("vue").PropType<(error: any) => void>;
161
+ };
162
+ }>>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
118
163
  readonly toGoogleAuth: typeof Comps.toGoogleAuth;
119
164
  } & import("vue").Plugin;
120
165
  toTelegramAuth(botId: number, toPath: string): void;
121
166
  getTelegramAuthUrlParams(): Comps.TgUserData | null;
122
167
  TelegramAuth: {
123
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<Comps.TelegramAuthProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
168
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<Partial<import("vue").ExtractPropTypes<{
169
+ botId: NumberConstructor;
170
+ toPath: StringConstructor;
171
+ defaultLoad: BooleanConstructor;
172
+ getPopupContainer: {
173
+ type: import("vue").PropType<() => HTMLElement | Element>;
174
+ };
175
+ onCallback: {
176
+ type: import("vue").PropType<(user: Comps.TgUserData) => void>;
177
+ };
178
+ onRejectCallback: {
179
+ type: import("vue").PropType<() => void>;
180
+ };
181
+ }>>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
124
182
  P: {};
125
183
  B: {};
126
184
  D: {};
127
185
  C: {};
128
186
  M: {};
129
187
  Defaults: {};
130
- }, Readonly<Comps.TelegramAuthProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
188
+ }, Readonly<Partial<import("vue").ExtractPropTypes<{
189
+ botId: NumberConstructor;
190
+ toPath: StringConstructor;
191
+ defaultLoad: BooleanConstructor;
192
+ getPopupContainer: {
193
+ type: import("vue").PropType<() => HTMLElement | Element>;
194
+ };
195
+ onCallback: {
196
+ type: import("vue").PropType<(user: Comps.TgUserData) => void>;
197
+ };
198
+ onRejectCallback: {
199
+ type: import("vue").PropType<() => void>;
200
+ };
201
+ }>>> & Readonly<{}>, {}, {}, {}, {}, {}>;
131
202
  __isFragment?: never;
132
203
  __isTeleport?: never;
133
204
  __isSuspense?: never;
134
- } & import("vue").ComponentOptionsBase<Readonly<Comps.TelegramAuthProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
205
+ } & import("vue").ComponentOptionsBase<Readonly<Partial<import("vue").ExtractPropTypes<{
206
+ botId: NumberConstructor;
207
+ toPath: StringConstructor;
208
+ defaultLoad: BooleanConstructor;
209
+ getPopupContainer: {
210
+ type: import("vue").PropType<() => HTMLElement | Element>;
211
+ };
212
+ onCallback: {
213
+ type: import("vue").PropType<(user: Comps.TgUserData) => void>;
214
+ };
215
+ onRejectCallback: {
216
+ type: import("vue").PropType<() => void>;
217
+ };
218
+ }>>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
135
219
  readonly toTelegramAuth: typeof Comps.toTelegramAuth;
136
220
  readonly getTelegramAuthUrlParams: typeof Comps.getTelegramAuthUrlParams;
137
221
  } & import("vue").Plugin;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jk-vue-comps",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "jk-vue-comps",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -33,7 +33,7 @@
33
33
  },
34
34
  "devDependencies": {
35
35
  "@rollup/plugin-typescript": "^12.3.0",
36
- "@types/node": "^22.18.0",
36
+ "@types/node": "22.18.0",
37
37
  "@vitejs/plugin-vue": "6.0.2",
38
38
  "@vitejs/plugin-vue-jsx": "5.1.2",
39
39
  "@typescript-eslint/eslint-plugin": "^8.47.0",