@haluo/util 2.0.5 → 2.0.6

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.
@@ -1,32 +1,32 @@
1
- import cookie from './modules/cookie';
2
- import date from './modules/date';
3
- import dom from './modules/dom';
4
- import filter from './modules/filter';
5
- import format from './modules/format';
6
- import match from './modules/match';
7
- import number from './modules/number';
8
- import tools from './modules/tools';
9
- interface Modules {
10
- cookie: typeof cookie;
11
- date: typeof date;
12
- dom: typeof dom;
13
- filter: typeof filter;
14
- format: typeof format;
15
- match: typeof match;
16
- number: typeof number;
17
- tools: typeof tools;
18
- }
19
- declare class Utils {
20
- constructor();
21
- /**
22
- * 挂载各组件
23
- * 示例:this.$cookie、this.$date、this.$match、this.$number、this.$tools
24
- * @param {Object} Vue 需要挂载的目标对象
25
- */
26
- install(app: any): void;
27
- }
28
- interface Utils extends Modules {
29
- }
30
- declare const _default: Utils;
31
- export default _default;
32
- export { cookie, date, dom, filter, format, match, number, tools, };
1
+ import cookie from './modules/cookie';
2
+ import date from './modules/date';
3
+ import dom from './modules/dom';
4
+ import filter from './modules/filter';
5
+ import format from './modules/format';
6
+ import match from './modules/match';
7
+ import number from './modules/number';
8
+ import tools from './modules/tools';
9
+ export interface Modules {
10
+ cookie: typeof cookie;
11
+ date: typeof date;
12
+ dom: typeof dom;
13
+ filter: typeof filter;
14
+ format: typeof format;
15
+ match: typeof match;
16
+ number: typeof number;
17
+ tools: typeof tools;
18
+ }
19
+ declare class Utils {
20
+ constructor();
21
+ /**
22
+ * 挂载各组件
23
+ * 示例:this.$cookie、this.$date、this.$match、this.$number、this.$tools
24
+ * @param {Object} Vue 需要挂载的目标对象
25
+ */
26
+ install(app: any): void;
27
+ }
28
+ interface Utils extends Modules {
29
+ }
30
+ declare const _default: Utils;
31
+ export default _default;
32
+ export { cookie, date, dom, filter, format, match, number, tools, };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haluo/util",
3
- "version": "2.0.5",
3
+ "version": "2.0.6",
4
4
  "main": "./dist/index.js",
5
5
  "author": "<wanghui@jddmoto.com>",
6
6
  "description": "哈罗摩托工具库",