element-less 0.0.44 → 0.0.45

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.
@@ -6,10 +6,10 @@ export declare const ElsFormQuery: import('element-plus/es/utils/index').SFCWith
6
6
  inline: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
7
7
  showMessage: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
8
8
  defaultQuery: {
9
- (arrayLength: number): import('../../interfaces').IQueryInfo[];
10
- (...items: import('../../interfaces').IQueryInfo[]): import('../../interfaces').IQueryInfo[];
11
- new (arrayLength: number): import('../../interfaces').IQueryInfo[];
12
- new (...items: import('../../interfaces').IQueryInfo[]): import('../../interfaces').IQueryInfo[];
9
+ (arrayLength: number): import('../..').IQueryInfo[];
10
+ (...items: import('../..').IQueryInfo[]): import('../..').IQueryInfo[];
11
+ new (arrayLength: number): import('../..').IQueryInfo[];
12
+ new (...items: import('../..').IQueryInfo[]): import('../..').IQueryInfo[];
13
13
  isArray(arg: any): arg is any[];
14
14
  readonly prototype: any[];
15
15
  from<T>(arrayLike: ArrayLike<T>): T[];
@@ -82,10 +82,10 @@ export declare const ElsFormQuery: import('element-plus/es/utils/index').SFCWith
82
82
  inline: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
83
83
  showMessage: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
84
84
  defaultQuery: {
85
- (arrayLength: number): import('../../interfaces').IQueryInfo[];
86
- (...items: import('../../interfaces').IQueryInfo[]): import('../../interfaces').IQueryInfo[];
87
- new (arrayLength: number): import('../../interfaces').IQueryInfo[];
88
- new (...items: import('../../interfaces').IQueryInfo[]): import('../../interfaces').IQueryInfo[];
85
+ (arrayLength: number): import('../..').IQueryInfo[];
86
+ (...items: import('../..').IQueryInfo[]): import('../..').IQueryInfo[];
87
+ new (arrayLength: number): import('../..').IQueryInfo[];
88
+ new (...items: import('../..').IQueryInfo[]): import('../..').IQueryInfo[];
89
89
  isArray(arg: any): arg is any[];
90
90
  readonly prototype: any[];
91
91
  from<T>(arrayLike: ArrayLike<T>): T[];
@@ -168,10 +168,10 @@ export declare const ElsFormQuery: import('element-plus/es/utils/index').SFCWith
168
168
  inline: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
169
169
  showMessage: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
170
170
  defaultQuery: {
171
- (arrayLength: number): import('../../interfaces').IQueryInfo[];
172
- (...items: import('../../interfaces').IQueryInfo[]): import('../../interfaces').IQueryInfo[];
173
- new (arrayLength: number): import('../../interfaces').IQueryInfo[];
174
- new (...items: import('../../interfaces').IQueryInfo[]): import('../../interfaces').IQueryInfo[];
171
+ (arrayLength: number): import('../..').IQueryInfo[];
172
+ (...items: import('../..').IQueryInfo[]): import('../..').IQueryInfo[];
173
+ new (arrayLength: number): import('../..').IQueryInfo[];
174
+ new (...items: import('../..').IQueryInfo[]): import('../..').IQueryInfo[];
175
175
  isArray(arg: any): arg is any[];
176
176
  readonly prototype: any[];
177
177
  from<T>(arrayLike: ArrayLike<T>): T[];
@@ -259,10 +259,10 @@ export declare const ElsFormQuery: import('element-plus/es/utils/index').SFCWith
259
259
  inline: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
260
260
  showMessage: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
261
261
  defaultQuery: {
262
- (arrayLength: number): import('../../interfaces').IQueryInfo[];
263
- (...items: import('../../interfaces').IQueryInfo[]): import('../../interfaces').IQueryInfo[];
264
- new (arrayLength: number): import('../../interfaces').IQueryInfo[];
265
- new (...items: import('../../interfaces').IQueryInfo[]): import('../../interfaces').IQueryInfo[];
262
+ (arrayLength: number): import('../..').IQueryInfo[];
263
+ (...items: import('../..').IQueryInfo[]): import('../..').IQueryInfo[];
264
+ new (arrayLength: number): import('../..').IQueryInfo[];
265
+ new (...items: import('../..').IQueryInfo[]): import('../..').IQueryInfo[];
266
266
  isArray(arg: any): arg is any[];
267
267
  readonly prototype: any[];
268
268
  from<T>(arrayLike: ArrayLike<T>): T[];
package/index.d.ts CHANGED
@@ -6,6 +6,7 @@ export * from './components';
6
6
  export * from './utils/axiosInstance';
7
7
  export * from './utils/loadComponent';
8
8
  export * from './utils/types';
9
+ export * from './interfaces';
9
10
  export * from './config';
10
11
  declare const ElementLess: {
11
12
  install(app: App, options?: Partial<DefaultConfig>): void;
@@ -3,7 +3,7 @@ export interface IQueryInfo {
3
3
  /**
4
4
  * @descript key
5
5
  */
6
- key: string;
6
+ key?: string;
7
7
  /**
8
8
  * @description 查询字段
9
9
  */
@@ -11,11 +11,11 @@ export interface IQueryInfo {
11
11
  /**
12
12
  * @description 查询方法
13
13
  */
14
- method: QueryMethod;
14
+ method?: QueryMethod;
15
15
  /**
16
16
  * @description 查询类型
17
17
  */
18
- dataType: QueryDataType;
18
+ dataType?: QueryDataType;
19
19
  /**
20
20
  * @description 查询值是否前后逗号
21
21
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "element-less",
3
- "version": "0.0.44",
3
+ "version": "0.0.45",
4
4
  "type": "module",
5
5
  "main": "element-less.umd.js",
6
6
  "module": "element-less.js",