jk-vue-comps 0.2.12 → 0.2.14

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.
@@ -192,7 +192,7 @@ function d(e) {
192
192
  return a;
193
193
  }
194
194
  function n(e, t, n, r) {
195
- for (var i = 0; n--;) e[n] -= i, i = e[n] < t[n] ? 1 : 0, e[n] = i * r + e[n] - t[n];
195
+ for (var i = 0; n--;) e[n] -= i, i = +(e[n] < t[n]), e[n] = i * r + e[n] - t[n];
196
196
  for (; !e[0] && e.length > 1; e.splice(0, 1));
197
197
  }
198
198
  return function(i, s, c, l, u) {
@@ -1,5 +1,4 @@
1
1
  import { isInMobileBrowser as e } from "../utils/is.js";
2
- import "../chunks/math-BbxxKXFw.js";
3
2
  import { withInstall as t } from "../utils/withInstall.js";
4
3
  import "../utils/index.js";
5
4
  import { computed as n, createVNode as r, defineComponent as i, onMounted as a } from "vue";
@@ -1,5 +1,4 @@
1
1
  import { isInMobileBrowser as e } from "../utils/is.js";
2
- import "../chunks/math-BbxxKXFw.js";
3
2
  import { withInstall as t } from "../utils/withInstall.js";
4
3
  import { getWebsiteUrl as n } from "../utils/index.js";
5
4
  import { computed as r, createVNode as i, defineComponent as a, onMounted as o } from "vue";
@@ -1,5 +1,4 @@
1
1
  import { t as e } from "../chunks/chunk-cBPL4W67.js";
2
- import "../chunks/math-BbxxKXFw.js";
3
2
  import { GoogleAuth as t, toGoogleAuth as n } from "./GoogleAuth.js";
4
3
  import { TelegramAuth as r, getTelegramAuthUrlParams as i, toTelegramAuth as a } from "./TelegramAuth.js";
5
4
  //#region src/components/index.ts
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { is as ee, isArray as e, isBoolean as te, isClient as ne, isDate as re, isDef as t, isEdgeBrowser as n, isElement as r, isEmail as i, isEmpty as a, isFunction as o, isHtmlStr as s, isInMobileBrowser as c, isIp as l, isMap as u, isNull as d, isNullAndUnDef as f, isNullOrUnDef as p, isNumber as m, isObject as h, isPromise as g, isPromiseLink as _, isRegExp as v, isServer as y, isString as b, isUnDef as x, isUrl as S, isValidPhoneNumber as C, isWindow as w, isZhLang as T } from "./utils/is.js";
2
- import { A as E, C as D, D as O, E as k, M as A, N as j, O as M, S as N, T as P, _ as F, a as I, b as L, c as R, d as z, f as B, g as V, h as H, i as U, j as W, k as G, l as K, m as q, n as J, o as Y, p as X, r as ie, s as ae, t as oe, u as se, v as ce, w as le, x as ue, y as de } from "./chunks/math-BbxxKXFw.js";
2
+ import { A as E, C as D, D as O, E as k, M as A, N as j, O as M, S as N, T as P, _ as F, a as I, b as L, c as R, d as z, f as B, g as V, h as H, i as U, j as W, k as G, l as K, m as q, n as J, o as Y, p as X, r as ie, s as ae, t as oe, u as se, v as ce, w as le, x as ue, y as de } from "./chunks/math-Dcn-34Qj.js";
3
3
  import { propTypes as fe } from "./utils/vuePropTypes.js";
4
4
  import { timeZoneOptions as pe } from "./utils/timeZone.js";
5
5
  import { withInstall as me } from "./utils/withInstall.js";
@@ -1,4 +1,4 @@
1
- import { PropType, ExtractPropTypes, CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps, Plugin } from 'vue';
1
+ import { PropType, ExtractPropTypes } from 'vue';
2
2
  /** 跳转谷歌身份检查 */
3
3
  export declare function toGoogleAuth(clientId: string, redirectUri: string): void;
4
4
  type GetPopupContainerFn = () => HTMLElement | Element;
@@ -21,7 +21,7 @@ declare const _comp_props: {
21
21
  export type GoogleAuthProps = Partial<ExtractPropTypes<typeof _comp_props>>;
22
22
  /** 谷歌身份检查 */
23
23
  export declare const GoogleAuth: {
24
- new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<Partial<ExtractPropTypes<{
24
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<Partial<ExtractPropTypes<{
25
25
  clientId: StringConstructor;
26
26
  redirectUri: StringConstructor;
27
27
  defaultLoad: BooleanConstructor;
@@ -36,7 +36,7 @@ export declare const GoogleAuth: {
36
36
  onRejectCallback: {
37
37
  type: PropType<(error: any) => void>;
38
38
  };
39
- }>>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
39
+ }>>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
40
40
  P: {};
41
41
  B: {};
42
42
  D: {};
@@ -62,7 +62,7 @@ export declare const GoogleAuth: {
62
62
  __isFragment?: never;
63
63
  __isTeleport?: never;
64
64
  __isSuspense?: never;
65
- } & ComponentOptionsBase<Readonly<Partial<ExtractPropTypes<{
65
+ } & import('vue').ComponentOptionsBase<Readonly<Partial<ExtractPropTypes<{
66
66
  clientId: StringConstructor;
67
67
  redirectUri: StringConstructor;
68
68
  defaultLoad: BooleanConstructor;
@@ -77,7 +77,7 @@ export declare const GoogleAuth: {
77
77
  onRejectCallback: {
78
78
  type: PropType<(error: any) => void>;
79
79
  };
80
- }>>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & {
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 & {
81
81
  readonly toGoogleAuth: typeof toGoogleAuth;
82
- } & Plugin;
82
+ } & import('vue').Plugin;
83
83
  export default GoogleAuth;
@@ -1,4 +1,4 @@
1
- import { PropType, ExtractPropTypes, CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps, Plugin } from 'vue';
1
+ import { PropType, ExtractPropTypes } from 'vue';
2
2
  /** 跳转Telegram身份检查 */
3
3
  export declare function toTelegramAuth(botId: number, toPath: string): void;
4
4
  /** 获取路由中的Telegram身份检查回调参数 */
@@ -31,7 +31,7 @@ declare const _comp_props: {
31
31
  export type TelegramAuthProps = Partial<ExtractPropTypes<typeof _comp_props>>;
32
32
  /** Telegram身份检查 */
33
33
  export declare const TelegramAuth: {
34
- new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<Partial<ExtractPropTypes<{
34
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<Partial<ExtractPropTypes<{
35
35
  botId: NumberConstructor;
36
36
  toPath: StringConstructor;
37
37
  defaultLoad: BooleanConstructor;
@@ -44,7 +44,7 @@ export declare const TelegramAuth: {
44
44
  onRejectCallback: {
45
45
  type: PropType<() => void>;
46
46
  };
47
- }>>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
47
+ }>>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
48
48
  P: {};
49
49
  B: {};
50
50
  D: {};
@@ -68,7 +68,7 @@ export declare const TelegramAuth: {
68
68
  __isFragment?: never;
69
69
  __isTeleport?: never;
70
70
  __isSuspense?: never;
71
- } & ComponentOptionsBase<Readonly<Partial<ExtractPropTypes<{
71
+ } & import('vue').ComponentOptionsBase<Readonly<Partial<ExtractPropTypes<{
72
72
  botId: NumberConstructor;
73
73
  toPath: StringConstructor;
74
74
  defaultLoad: BooleanConstructor;
@@ -81,8 +81,8 @@ export declare const TelegramAuth: {
81
81
  onRejectCallback: {
82
82
  type: PropType<() => void>;
83
83
  };
84
- }>>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & {
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 & {
85
85
  readonly toTelegramAuth: typeof toTelegramAuth;
86
86
  readonly getTelegramAuthUrlParams: typeof getTelegramAuthUrlParams;
87
- } & Plugin;
87
+ } & import('vue').Plugin;
88
88
  export default TelegramAuth;
@@ -1,8 +1,7 @@
1
- import { Ref } from 'vue';
2
1
  export declare function useCopyToClipboard(initial?: string): {
3
- clipboardRef: Ref<string, string>;
4
- isSuccessRef: Ref<boolean, boolean>;
5
- copiedRef: Ref<boolean, boolean>;
2
+ clipboardRef: import('vue').Ref<string, string>;
3
+ isSuccessRef: import('vue').Ref<boolean, boolean>;
4
+ copiedRef: import('vue').Ref<boolean, boolean>;
6
5
  };
7
6
  export declare function copyTextToClipboard(input: string, { target }?: {
8
7
  target?: HTMLElement;
@@ -1,6 +1,3 @@
1
- import { VNode, RendererNode, RendererElement, Plugin, Ref, WatchSource, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
2
- import { BigNumber } from 'bignumber.js';
3
- import { default as __DTS_DEFAULT_0__ } from './utils/vuePropTypes';
4
1
  import * as Comps from './components';
5
2
  import * as Hooks from './hooks';
6
3
  import * as Utils from './utils';
@@ -14,11 +11,11 @@ declare const JKVUEComps: {
14
11
  evalPro(str: string): any;
15
12
  filterInputNum(eventVal: string | number, type?: "int" | "float", maxDecimal?: number): string;
16
13
  generateFilterInputNumFn<T extends Recordable, K extends keyof T>(obj: T, key: K, fn?: () => void, type?: "float" | "int", maxDecimal?: number): (e: ChangeEvent) => void;
17
- renderHtmlStr(html: string): string | VNode<RendererNode, RendererElement, {
14
+ renderHtmlStr(html: string): string | import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
18
15
  [key: string]: any;
19
16
  }>;
20
17
  getWebsiteUrl(): string;
21
- getRouterParams(): Recordable<any> | undefined;
18
+ getRouterParams(): any;
22
19
  removeWhitespace(str: any): string;
23
20
  deepMerge<T = any>(src?: any, target?: any): T;
24
21
  desensitization(str?: string | number, number?: number, { showPrefix, showSuffix, middleStr }?: {
@@ -27,7 +24,7 @@ declare const JKVUEComps: {
27
24
  middleStr?: string;
28
25
  }): string | undefined;
29
26
  toStyleUnit(str?: string | number | null, unit?: string): string | undefined;
30
- toStyleObject(style?: string | Recordable | null): Recordable<any>;
27
+ toStyleObject(style?: string | Recordable | null): any;
31
28
  is(val: unknown, type: string): boolean;
32
29
  isDef<T = unknown>(val?: T): val is T;
33
30
  isUnDef<T = unknown>(val?: T): val is T;
@@ -69,7 +66,7 @@ declare const JKVUEComps: {
69
66
  isEqualTo(num1: Utils.BigNumVal, num2: Utils.BigNumVal): boolean;
70
67
  isGreaterThanOrEqualTo(num1: Utils.BigNumVal, num2: Utils.BigNumVal): boolean;
71
68
  isLessThanOrEqualTo(num1: Utils.BigNumVal, num2: Utils.BigNumVal): boolean;
72
- toBigNum(val: Utils.BigNumValType): BigNumber;
69
+ toBigNum(val: Utils.BigNumValType): import('bignumber.js').BigNumber;
73
70
  toNum(val: Utils.BigNumValType): number;
74
71
  toInt(val: Utils.BigNumValType, isUp?: boolean): number;
75
72
  toString(val: Utils.BigNumValType): string;
@@ -84,143 +81,143 @@ declare const JKVUEComps: {
84
81
  unFormatRate(val: Utils.BigNumValType): number;
85
82
  DOWN: 1;
86
83
  UP: 0;
87
- BigNumber: BigNumber;
84
+ BigNumber: typeof import('bignumber.js').BigNumber;
88
85
  gt: typeof Utils.isGreaterThan;
89
86
  gte: typeof Utils.isGreaterThanOrEqualTo;
90
87
  lt: typeof Utils.isLessThan;
91
88
  lte: typeof Utils.isLessThanOrEqualTo;
92
89
  eq: typeof Utils.isEqualTo;
93
90
  isNan: typeof Utils.isNanValue;
94
- propTypes: __DTS_DEFAULT_0__;
91
+ propTypes: typeof import('./utils/vuePropTypes').default;
95
92
  timeZoneOptions: Utils.TimeZoneItem[];
96
- withInstall<T>(component: T, alias?: string): T & Plugin;
93
+ withInstall<T>(component: T, alias?: string): T & import('vue').Plugin;
97
94
  useCopyToClipboard(initial?: string): {
98
- clipboardRef: Ref<string, string>;
99
- isSuccessRef: Ref<boolean, boolean>;
100
- copiedRef: Ref<boolean, boolean>;
95
+ clipboardRef: import('vue').Ref<string, string>;
96
+ isSuccessRef: import('vue').Ref<boolean, boolean>;
97
+ copiedRef: import('vue').Ref<boolean, boolean>;
101
98
  };
102
99
  copyTextToClipboard(input: string, { target }?: {
103
100
  target?: HTMLElement;
104
101
  }): boolean;
105
- useFormKeypressEnter<T extends (...args: any[]) => any, L extends WatchSource<boolean>>(fn: T, loading: L): (...args: any[]) => any;
106
- useMemo<T>(getValue: () => T, condition: ( WatchSource<unknown> | object)[], shouldUpdate?: (prev: any[], next: any[]) => boolean): Ref<T, T>;
102
+ useFormKeypressEnter<T extends (...args: any[]) => any, L extends import('vue').WatchSource<boolean>>(fn: T, loading: L): (...args: any[]) => any;
103
+ useMemo<T>(getValue: () => T, condition: (import('vue').WatchSource<unknown> | object)[], shouldUpdate?: (prev: any[], next: any[]) => boolean): import('vue').Ref<T, T>;
107
104
  toGoogleAuth(clientId: string, redirectUri: string): void;
108
105
  GoogleAuth: {
109
- new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<Partial< ExtractPropTypes<{
106
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<Partial<import('vue').ExtractPropTypes<{
110
107
  clientId: StringConstructor;
111
108
  redirectUri: StringConstructor;
112
109
  defaultLoad: BooleanConstructor;
113
110
  getPopupContainer: {
114
- type: PropType<() => HTMLElement | Element>;
111
+ type: import('vue').PropType<() => HTMLElement | Element>;
115
112
  };
116
113
  onCallback: {
117
- type: PropType<(data: {
114
+ type: import('vue').PropType<(data: {
118
115
  code: string;
119
116
  }) => void>;
120
117
  };
121
118
  onRejectCallback: {
122
- type: PropType<(error: any) => void>;
119
+ type: import('vue').PropType<(error: any) => void>;
123
120
  };
124
- }>>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
121
+ }>>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
125
122
  P: {};
126
123
  B: {};
127
124
  D: {};
128
125
  C: {};
129
126
  M: {};
130
127
  Defaults: {};
131
- }, Readonly<Partial< ExtractPropTypes<{
128
+ }, Readonly<Partial<import('vue').ExtractPropTypes<{
132
129
  clientId: StringConstructor;
133
130
  redirectUri: StringConstructor;
134
131
  defaultLoad: BooleanConstructor;
135
132
  getPopupContainer: {
136
- type: PropType<() => HTMLElement | Element>;
133
+ type: import('vue').PropType<() => HTMLElement | Element>;
137
134
  };
138
135
  onCallback: {
139
- type: PropType<(data: {
136
+ type: import('vue').PropType<(data: {
140
137
  code: string;
141
138
  }) => void>;
142
139
  };
143
140
  onRejectCallback: {
144
- type: PropType<(error: any) => void>;
141
+ type: import('vue').PropType<(error: any) => void>;
145
142
  };
146
143
  }>>> & Readonly<{}>, {}, {}, {}, {}, {}>;
147
144
  __isFragment?: never;
148
145
  __isTeleport?: never;
149
146
  __isSuspense?: never;
150
- } & ComponentOptionsBase<Readonly<Partial< ExtractPropTypes<{
147
+ } & import('vue').ComponentOptionsBase<Readonly<Partial<import('vue').ExtractPropTypes<{
151
148
  clientId: StringConstructor;
152
149
  redirectUri: StringConstructor;
153
150
  defaultLoad: BooleanConstructor;
154
151
  getPopupContainer: {
155
- type: PropType<() => HTMLElement | Element>;
152
+ type: import('vue').PropType<() => HTMLElement | Element>;
156
153
  };
157
154
  onCallback: {
158
- type: PropType<(data: {
155
+ type: import('vue').PropType<(data: {
159
156
  code: string;
160
157
  }) => void>;
161
158
  };
162
159
  onRejectCallback: {
163
- type: PropType<(error: any) => void>;
160
+ type: import('vue').PropType<(error: any) => void>;
164
161
  };
165
- }>>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & {
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 & {
166
163
  readonly toGoogleAuth: typeof Comps.toGoogleAuth;
167
- } & Plugin;
164
+ } & import('vue').Plugin;
168
165
  toTelegramAuth(botId: number, toPath: string): void;
169
166
  getTelegramAuthUrlParams(): Comps.TgUserData | null;
170
167
  TelegramAuth: {
171
- new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<Partial< ExtractPropTypes<{
168
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<Partial<import('vue').ExtractPropTypes<{
172
169
  botId: NumberConstructor;
173
170
  toPath: StringConstructor;
174
171
  defaultLoad: BooleanConstructor;
175
172
  getPopupContainer: {
176
- type: PropType<() => HTMLElement | Element>;
173
+ type: import('vue').PropType<() => HTMLElement | Element>;
177
174
  };
178
175
  onCallback: {
179
- type: PropType<(user: Comps.TgUserData) => void>;
176
+ type: import('vue').PropType<(user: Comps.TgUserData) => void>;
180
177
  };
181
178
  onRejectCallback: {
182
- type: PropType<() => void>;
179
+ type: import('vue').PropType<() => void>;
183
180
  };
184
- }>>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
181
+ }>>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
185
182
  P: {};
186
183
  B: {};
187
184
  D: {};
188
185
  C: {};
189
186
  M: {};
190
187
  Defaults: {};
191
- }, Readonly<Partial< ExtractPropTypes<{
188
+ }, Readonly<Partial<import('vue').ExtractPropTypes<{
192
189
  botId: NumberConstructor;
193
190
  toPath: StringConstructor;
194
191
  defaultLoad: BooleanConstructor;
195
192
  getPopupContainer: {
196
- type: PropType<() => HTMLElement | Element>;
193
+ type: import('vue').PropType<() => HTMLElement | Element>;
197
194
  };
198
195
  onCallback: {
199
- type: PropType<(user: Comps.TgUserData) => void>;
196
+ type: import('vue').PropType<(user: Comps.TgUserData) => void>;
200
197
  };
201
198
  onRejectCallback: {
202
- type: PropType<() => void>;
199
+ type: import('vue').PropType<() => void>;
203
200
  };
204
201
  }>>> & Readonly<{}>, {}, {}, {}, {}, {}>;
205
202
  __isFragment?: never;
206
203
  __isTeleport?: never;
207
204
  __isSuspense?: never;
208
- } & ComponentOptionsBase<Readonly<Partial< ExtractPropTypes<{
205
+ } & import('vue').ComponentOptionsBase<Readonly<Partial<import('vue').ExtractPropTypes<{
209
206
  botId: NumberConstructor;
210
207
  toPath: StringConstructor;
211
208
  defaultLoad: BooleanConstructor;
212
209
  getPopupContainer: {
213
- type: PropType<() => HTMLElement | Element>;
210
+ type: import('vue').PropType<() => HTMLElement | Element>;
214
211
  };
215
212
  onCallback: {
216
- type: PropType<(user: Comps.TgUserData) => void>;
213
+ type: import('vue').PropType<(user: Comps.TgUserData) => void>;
217
214
  };
218
215
  onRejectCallback: {
219
- type: PropType<() => void>;
216
+ type: import('vue').PropType<() => void>;
220
217
  };
221
- }>>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & {
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 & {
222
219
  readonly toTelegramAuth: typeof Comps.toTelegramAuth;
223
220
  readonly getTelegramAuthUrlParams: typeof Comps.getTelegramAuthUrlParams;
224
- } & Plugin;
221
+ } & import('vue').Plugin;
225
222
  };
226
223
  export default JKVUEComps;
@@ -1,4 +1,3 @@
1
- import { VNode, RendererNode, RendererElement } from 'vue';
2
1
  export * from './is';
3
2
  export * from './math';
4
3
  export * from './vuePropTypes';
@@ -21,13 +20,13 @@ export declare function filterInputNum(eventVal: string | number, type?: 'int' |
21
20
  */
22
21
  export declare function generateFilterInputNumFn<T extends Recordable, K extends keyof T>(obj: T, key: K, fn?: () => void, type?: 'float' | 'int', maxDecimal?: number): (e: ChangeEvent) => void;
23
22
  /** 渲染Html字符串片段 */
24
- export declare function renderHtmlStr(html: string): string | VNode<RendererNode, RendererElement, {
23
+ export declare function renderHtmlStr(html: string): string | import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
25
24
  [key: string]: any;
26
25
  }>;
27
26
  /** 获取当前网站协议+域名 */
28
27
  export declare function getWebsiteUrl(): string;
29
28
  /** 获取路由参数 */
30
- export declare function getRouterParams(): Recordable<any> | undefined;
29
+ export declare function getRouterParams(): any;
31
30
  /** 去除字符串里的所有空字符 */
32
31
  export declare function removeWhitespace(str: any): string;
33
32
  /** 深度合并 */
@@ -52,4 +51,4 @@ export declare function desensitization(str?: string | number, number?: number,
52
51
  */
53
52
  export declare function toStyleUnit(str?: string | number | null, unit?: string): string | undefined;
54
53
  /** 数字转为样式对象 */
55
- export declare function toStyleObject(style?: string | Recordable | null): Recordable<any>;
54
+ export declare function toStyleObject(style?: string | Recordable | null): any;
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "../chunks/chunk-cBPL4W67.js";
2
2
  import { is as t, isArray as n, isBoolean as r, isClient as i, isDate as a, isDef as o, isEdgeBrowser as s, isElement as c, isEmail as l, isEmpty as u, isFunction as d, isHtmlStr as f, isInMobileBrowser as p, isIp as ee, isMap as te, isNull as ne, isNullAndUnDef as m, isNullOrUnDef as h, isNumber as g, isObject as _, isPromise as v, isPromiseLink as y, isRegExp as b, isServer as x, isString as S, isUnDef as C, isUrl as w, isValidPhoneNumber as T, isWindow as E, isZhLang as D } from "./is.js";
3
- import { A as O, C as k, D as A, E as j, M, N, O as P, S as F, T as I, _ as L, a as R, b as z, c as B, d as V, f as H, g as U, h as W, i as G, j as K, k as q, l as J, m as Y, n as re, o as X, p as ie, r as ae, s as oe, t as se, u as ce, v as le, w as ue, x as de, y as fe } from "../chunks/math-BbxxKXFw.js";
3
+ import { A as O, C as k, D as A, E as j, M, N, O as P, S as F, T as I, _ as L, a as R, b as z, c as B, d as V, f as H, g as U, h as W, i as G, j as K, k as q, l as J, m as Y, n as re, o as X, p as ie, r as ae, s as oe, t as se, u as ce, v as le, w as ue, x as de, y as fe } from "../chunks/math-Dcn-34Qj.js";
4
4
  import { propTypes as pe } from "./vuePropTypes.js";
5
5
  import { timeZoneOptions as me } from "./timeZone.js";
6
6
  import { withInstall as he } from "./withInstall.js";
@@ -1,2 +1,2 @@
1
- import { A as e, C as t, D as n, E as r, M as i, N as a, O as o, S as s, T as c, _ as l, a as u, b as d, c as f, d as p, f as m, g as h, h as g, i as _, j as v, k as y, l as b, m as x, n as S, o as C, p as w, r as T, s as E, t as D, u as O, v as k, w as A, x as j, y as M } from "../chunks/math-BbxxKXFw.js";
1
+ import { A as e, C as t, D as n, E as r, M as i, N as a, O as o, S as s, T as c, _ as l, a as u, b as d, c as f, d as p, f as m, g as h, h as g, i as _, j as v, k as y, l as b, m as x, n as S, o as C, p as w, r as T, s as E, t as D, u as O, v as k, w as A, x as j, y as M } from "../chunks/math-Dcn-34Qj.js";
2
2
  export { D as BigNumber, S as DOWN, T as UP, _ as add, u as divide, C as eq, E as formatRate, f as gt, b as gte, O as helper, p as isBigNum, m as isBool, w as isEqualTo, x as isGreaterThan, g as isGreaterThanOrEqualTo, h as isInt, l as isLessThan, k as isLessThanOrEqualTo, M as isNan, d as isNanValue, j as isNum, s as lt, t as lte, A as multiply, c as power, r as subtract, n as toBigNum, o as toDecimalPlaces, y as toInt, e as toLocaleString, v as toNum, i as toString, a as unFormatRate };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jk-vue-comps",
3
- "version": "0.2.12",
3
+ "version": "0.2.14",
4
4
  "description": "jk-vue-comps",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -31,17 +31,17 @@
31
31
  },
32
32
  "dependencies": {
33
33
  "bignumber.js": "10.0.2",
34
- "vue": "3.5.30",
34
+ "vue": "3.5.32",
35
35
  "vue-types": "6.0.0"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@types/node": "22.18.0",
39
39
  "@vitejs/plugin-vue": "6.0.5",
40
40
  "@vitejs/plugin-vue-jsx": "5.1.5",
41
- "oxfmt": "^0.41.0",
42
- "oxlint": "^1.56.0",
43
- "typescript": "5.9.3",
44
- "vite": "8.0.1",
41
+ "oxfmt": "^0.44.0",
42
+ "oxlint": "^1.59.0",
43
+ "typescript": "6.0.2",
44
+ "vite": "8.0.7",
45
45
  "vite-plugin-dts": "^4.5.4",
46
46
  "rimraf": "^6.1.3",
47
47
  "vue-tsc": "^3.2.6"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes