yahee-components 0.0.10 → 0.0.13
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.
- package/es/api/server.js +26 -10
- package/es/api/tool.js +10 -11
- package/es/country-platform-shop-condition/country-platform-shop-condition.vue.js +218 -0
- package/es/country-platform-shop-condition/country-platform-shop-condition.vue2.js +4 -0
- package/es/country-platform-shop-condition/index.js +7 -0
- package/es/country-platform-shop-condition/style/index.css +48 -0
- package/es/drop-down-condition/drop-down-condition.vue.js +216 -0
- package/es/drop-down-condition/drop-down-condition.vue2.js +4 -0
- package/es/drop-down-condition/index.js +7 -0
- package/es/drop-down-condition/style/index.css +45 -0
- package/es/index.js +23 -15
- package/es/installs.js +18 -10
- package/es/left-condition/index.js +7 -0
- package/es/left-condition/left-condition-sub.vue.js +95 -0
- package/es/left-condition/left-condition-sub.vue2.js +4 -0
- package/es/left-condition/left-condition.vue.js +216 -0
- package/es/left-condition/left-condition.vue2.js +4 -0
- package/es/left-condition/style/index.css +10 -0
- package/es/left-condition-enum/index.js +7 -0
- package/es/left-condition-enum/left-condition-enum.vue.js +80 -0
- package/es/left-condition-enum/left-condition-enum.vue2.js +4 -0
- package/es/left-condition-enum/style/index.css +10 -0
- package/es/operation-log/operation-log-form.vue.js +179 -5
- package/es/operation-log/operation-log-form.vue2.js +2 -179
- package/es/operation-log/operation-log.vue.js +30 -30
- package/es/packages/components/api/server.js +26 -13
- package/es/packages/components/api/tool.js +9 -10
- package/es/static/CommonObject.js +4 -0
- package/es/style.css +89 -194
- package/es/utils/style.js +28 -0
- package/es/utils/translate.js +39 -22
- package/lib/country-platform-shop-condition/style/index.css +48 -0
- package/lib/drop-down-condition/style/index.css +45 -0
- package/lib/left-condition/style/index.css +10 -0
- package/lib/left-condition-enum/style/index.css +10 -0
- package/lib/style.css +89 -194
- package/package.json +1 -1
- package/types/src/components.d.ts +4 -0
- package/types/src/country-platform-shop-condition/country-platform-shop-condition.d.ts +17 -0
- package/types/src/country-platform-shop-condition/country-platform-shop-condition.vue.d.ts +14 -0
- package/types/src/country-platform-shop-condition/index.d.ts +16 -0
- package/types/src/drop-down-condition/drop-down-condition.d.ts +6 -0
- package/types/src/drop-down-condition/drop-down-condition.vue.d.ts +40 -0
- package/types/src/drop-down-condition/index.d.ts +42 -0
- package/types/src/installs.d.ts +270 -2
- package/types/src/left-condition/index.d.ts +69 -0
- package/types/src/left-condition/left-condition-sub.vue.d.ts +47 -0
- package/types/src/left-condition/left-condition.d.ts +5 -0
- package/types/src/left-condition/left-condition.vue.d.ts +68 -0
- package/types/src/left-condition-enum/index.d.ts +162 -0
- package/types/src/left-condition-enum/left-condition-enum.d.ts +5 -0
- package/types/src/left-condition-enum/left-condition-enum.vue.d.ts +160 -0
- package/es/_virtual/_plugin-vue_export-helper.js +0 -9
package/types/src/installs.d.ts
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { SFCWithInstall } from './utils/typescript';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, VNodeProps, AllowedComponentProps, ComponentCustomProps, GlobalComponents, GlobalDirectives, ComponentOptionsBase } from 'vue';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, VNodeProps, AllowedComponentProps, ComponentCustomProps, GlobalComponents, GlobalDirectives, ComponentOptionsBase, ExtractPropTypes } from 'vue';
|
|
3
3
|
import { InputProps } from './input';
|
|
4
4
|
import { SearchOptions } from './comprehensive-search';
|
|
5
5
|
import { CopyProps } from './copy';
|
|
6
6
|
import { ImageUploadProps } from './image-upload';
|
|
7
7
|
import { OperationLogProps } from './operation-log';
|
|
8
8
|
import { AnnexUploadProps } from './annex-upload';
|
|
9
|
+
import { Option } from './static/CommonObject';
|
|
10
|
+
import { DropdownEntity } from './drop-down-condition/drop-down-condition';
|
|
11
|
+
import { data } from './country-platform-shop-condition/country-platform-shop-condition';
|
|
9
12
|
declare const _default: (( SFCWithInstall<DefineComponent<InputProps, {
|
|
10
13
|
focus: () => void;
|
|
11
14
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -274,5 +277,270 @@ declare const _default: (( SFCWithInstall<DefineComponent<InputProps, {
|
|
|
274
277
|
default?(_: {}): any;
|
|
275
278
|
tip?(_: {}): any;
|
|
276
279
|
};
|
|
277
|
-
})> & Record<string, any>)
|
|
280
|
+
})> & Record<string, any>) | ( SFCWithInstall<DefineComponent<{
|
|
281
|
+
multiSelectList?: Array<any>;
|
|
282
|
+
selectList: Array< Option>;
|
|
283
|
+
countList?: Array<any>;
|
|
284
|
+
totalCount?: number;
|
|
285
|
+
hasNum?: boolean;
|
|
286
|
+
displayRangeInput?: boolean;
|
|
287
|
+
rangeLabel?: string;
|
|
288
|
+
rangeStartKey?: string;
|
|
289
|
+
rangeEndKey?: string;
|
|
290
|
+
rangeDelimiter?: string;
|
|
291
|
+
allIsCheckbox?: boolean;
|
|
292
|
+
allIsEmpty?: boolean;
|
|
293
|
+
translateUserId?: boolean;
|
|
294
|
+
staticSearch?: boolean;
|
|
295
|
+
label?: string;
|
|
296
|
+
noNeedRefreshNumFilterName?: string;
|
|
297
|
+
filterKey: string;
|
|
298
|
+
defaultValues?: Array<string | number | boolean>;
|
|
299
|
+
}, {
|
|
300
|
+
clickAllSelected: () => void;
|
|
301
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
302
|
+
filterChange: (...args: any[]) => void;
|
|
303
|
+
setNoNeedRefreshNumFilterName: (...args: any[]) => void;
|
|
304
|
+
}, string, PublicProps, Readonly<{
|
|
305
|
+
multiSelectList?: Array<any>;
|
|
306
|
+
selectList: Array< Option>;
|
|
307
|
+
countList?: Array<any>;
|
|
308
|
+
totalCount?: number;
|
|
309
|
+
hasNum?: boolean;
|
|
310
|
+
displayRangeInput?: boolean;
|
|
311
|
+
rangeLabel?: string;
|
|
312
|
+
rangeStartKey?: string;
|
|
313
|
+
rangeEndKey?: string;
|
|
314
|
+
rangeDelimiter?: string;
|
|
315
|
+
allIsCheckbox?: boolean;
|
|
316
|
+
allIsEmpty?: boolean;
|
|
317
|
+
translateUserId?: boolean;
|
|
318
|
+
staticSearch?: boolean;
|
|
319
|
+
label?: string;
|
|
320
|
+
noNeedRefreshNumFilterName?: string;
|
|
321
|
+
filterKey: string;
|
|
322
|
+
defaultValues?: Array<string | number | boolean>;
|
|
323
|
+
}> & Readonly<{
|
|
324
|
+
onFilterChange?: (...args: any[]) => any;
|
|
325
|
+
onSetNoNeedRefreshNumFilterName?: (...args: any[]) => any;
|
|
326
|
+
}>, {
|
|
327
|
+
label: string;
|
|
328
|
+
multiSelectList: Array<any>;
|
|
329
|
+
countList: Array<any>;
|
|
330
|
+
hasNum: boolean;
|
|
331
|
+
selectList: Array< Option>;
|
|
332
|
+
totalCount: number;
|
|
333
|
+
displayRangeInput: boolean;
|
|
334
|
+
rangeLabel: string;
|
|
335
|
+
rangeStartKey: string;
|
|
336
|
+
rangeEndKey: string;
|
|
337
|
+
rangeDelimiter: string;
|
|
338
|
+
allIsEmpty: boolean;
|
|
339
|
+
staticSearch: boolean;
|
|
340
|
+
noNeedRefreshNumFilterName: string;
|
|
341
|
+
filterKey: string;
|
|
342
|
+
defaultValues: Array<string | number | boolean>;
|
|
343
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>> & Record<string, any>) | ( SFCWithInstall<DefineComponent<ExtractPropTypes<{
|
|
344
|
+
selectList: {
|
|
345
|
+
type: {
|
|
346
|
+
(arrayLength: number): Option[];
|
|
347
|
+
(...items: Option[]): Option[];
|
|
348
|
+
new (arrayLength: number): Option[];
|
|
349
|
+
new (...items: Option[]): Option[];
|
|
350
|
+
isArray(arg: any): arg is any[];
|
|
351
|
+
readonly prototype: any[];
|
|
352
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
353
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
354
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
355
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
356
|
+
of<T>(...items: T[]): T[];
|
|
357
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
358
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
359
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
360
|
+
};
|
|
361
|
+
default: () => Option[];
|
|
362
|
+
};
|
|
363
|
+
baseUrl: {
|
|
364
|
+
type: StringConstructor;
|
|
365
|
+
default: string;
|
|
366
|
+
};
|
|
367
|
+
countList: {
|
|
368
|
+
type: {
|
|
369
|
+
(arrayLength: number): any[];
|
|
370
|
+
(...items: any[]): any[];
|
|
371
|
+
new (arrayLength: number): any[];
|
|
372
|
+
new (...items: any[]): any[];
|
|
373
|
+
isArray(arg: any): arg is any[];
|
|
374
|
+
readonly prototype: any[];
|
|
375
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
376
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
377
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
378
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
379
|
+
of<T>(...items: T[]): T[];
|
|
380
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
381
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
382
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
383
|
+
};
|
|
384
|
+
required: false;
|
|
385
|
+
};
|
|
386
|
+
enumEntity: {
|
|
387
|
+
type: StringConstructor;
|
|
388
|
+
default: string;
|
|
389
|
+
};
|
|
390
|
+
filterKey: {
|
|
391
|
+
type: StringConstructor;
|
|
392
|
+
default: string;
|
|
393
|
+
};
|
|
394
|
+
totalCount: {
|
|
395
|
+
type: NumberConstructor;
|
|
396
|
+
required: false;
|
|
397
|
+
};
|
|
398
|
+
noNeedRefreshNumFilterName: {
|
|
399
|
+
type: StringConstructor;
|
|
400
|
+
required: false;
|
|
401
|
+
};
|
|
402
|
+
allIsCheckbox: {
|
|
403
|
+
type: BooleanConstructor;
|
|
404
|
+
required: false;
|
|
405
|
+
};
|
|
406
|
+
allIsEmpty: {
|
|
407
|
+
type: BooleanConstructor;
|
|
408
|
+
required: false;
|
|
409
|
+
};
|
|
410
|
+
translateUserId: {
|
|
411
|
+
type: BooleanConstructor;
|
|
412
|
+
required: false;
|
|
413
|
+
};
|
|
414
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
415
|
+
filterChange: (...args: any[]) => void;
|
|
416
|
+
setNoNeedRefreshNumFilterName: (...args: any[]) => void;
|
|
417
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
418
|
+
selectList: {
|
|
419
|
+
type: {
|
|
420
|
+
(arrayLength: number): Option[];
|
|
421
|
+
(...items: Option[]): Option[];
|
|
422
|
+
new (arrayLength: number): Option[];
|
|
423
|
+
new (...items: Option[]): Option[];
|
|
424
|
+
isArray(arg: any): arg is any[];
|
|
425
|
+
readonly prototype: any[];
|
|
426
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
427
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
428
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
429
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
430
|
+
of<T>(...items: T[]): T[];
|
|
431
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
432
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
433
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
434
|
+
};
|
|
435
|
+
default: () => Option[];
|
|
436
|
+
};
|
|
437
|
+
baseUrl: {
|
|
438
|
+
type: StringConstructor;
|
|
439
|
+
default: string;
|
|
440
|
+
};
|
|
441
|
+
countList: {
|
|
442
|
+
type: {
|
|
443
|
+
(arrayLength: number): any[];
|
|
444
|
+
(...items: any[]): any[];
|
|
445
|
+
new (arrayLength: number): any[];
|
|
446
|
+
new (...items: any[]): any[];
|
|
447
|
+
isArray(arg: any): arg is any[];
|
|
448
|
+
readonly prototype: any[];
|
|
449
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
450
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
451
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
452
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
453
|
+
of<T>(...items: T[]): T[];
|
|
454
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
455
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
456
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
457
|
+
};
|
|
458
|
+
required: false;
|
|
459
|
+
};
|
|
460
|
+
enumEntity: {
|
|
461
|
+
type: StringConstructor;
|
|
462
|
+
default: string;
|
|
463
|
+
};
|
|
464
|
+
filterKey: {
|
|
465
|
+
type: StringConstructor;
|
|
466
|
+
default: string;
|
|
467
|
+
};
|
|
468
|
+
totalCount: {
|
|
469
|
+
type: NumberConstructor;
|
|
470
|
+
required: false;
|
|
471
|
+
};
|
|
472
|
+
noNeedRefreshNumFilterName: {
|
|
473
|
+
type: StringConstructor;
|
|
474
|
+
required: false;
|
|
475
|
+
};
|
|
476
|
+
allIsCheckbox: {
|
|
477
|
+
type: BooleanConstructor;
|
|
478
|
+
required: false;
|
|
479
|
+
};
|
|
480
|
+
allIsEmpty: {
|
|
481
|
+
type: BooleanConstructor;
|
|
482
|
+
required: false;
|
|
483
|
+
};
|
|
484
|
+
translateUserId: {
|
|
485
|
+
type: BooleanConstructor;
|
|
486
|
+
required: false;
|
|
487
|
+
};
|
|
488
|
+
}>> & Readonly<{
|
|
489
|
+
onFilterChange?: (...args: any[]) => any;
|
|
490
|
+
onSetNoNeedRefreshNumFilterName?: (...args: any[]) => any;
|
|
491
|
+
}>, {
|
|
492
|
+
allIsCheckbox: boolean;
|
|
493
|
+
translateUserId: boolean;
|
|
494
|
+
selectList: Option[];
|
|
495
|
+
allIsEmpty: boolean;
|
|
496
|
+
filterKey: string;
|
|
497
|
+
baseUrl: string;
|
|
498
|
+
enumEntity: string;
|
|
499
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>> & Record<string, any>) | ( SFCWithInstall<DefineComponent<{
|
|
500
|
+
filterList?: Array< DropdownEntity>;
|
|
501
|
+
totalCount?: number;
|
|
502
|
+
level1Count?: Array<{
|
|
503
|
+
value: string;
|
|
504
|
+
count: number;
|
|
505
|
+
}>;
|
|
506
|
+
level2Count?: Array<{
|
|
507
|
+
value: string;
|
|
508
|
+
count: number;
|
|
509
|
+
}>;
|
|
510
|
+
filterKey: string;
|
|
511
|
+
enumEntity: string;
|
|
512
|
+
baseUrl: string;
|
|
513
|
+
noNeedRefreshNumFilterName?: string;
|
|
514
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
515
|
+
filterChange: (...args: any[]) => void;
|
|
516
|
+
setNoNeedRefreshNumFilterName: (...args: any[]) => void;
|
|
517
|
+
}, string, PublicProps, Readonly<{
|
|
518
|
+
filterList?: Array< DropdownEntity>;
|
|
519
|
+
totalCount?: number;
|
|
520
|
+
level1Count?: Array<{
|
|
521
|
+
value: string;
|
|
522
|
+
count: number;
|
|
523
|
+
}>;
|
|
524
|
+
level2Count?: Array<{
|
|
525
|
+
value: string;
|
|
526
|
+
count: number;
|
|
527
|
+
}>;
|
|
528
|
+
filterKey: string;
|
|
529
|
+
enumEntity: string;
|
|
530
|
+
baseUrl: string;
|
|
531
|
+
noNeedRefreshNumFilterName?: string;
|
|
532
|
+
}> & Readonly<{
|
|
533
|
+
onFilterChange?: (...args: any[]) => any;
|
|
534
|
+
onSetNoNeedRefreshNumFilterName?: (...args: any[]) => any;
|
|
535
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>> & Record<string, any>) | ( SFCWithInstall<DefineComponent<{
|
|
536
|
+
xyFilters?: data;
|
|
537
|
+
filterKey: string;
|
|
538
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
539
|
+
filterChange: (...args: any[]) => void;
|
|
540
|
+
}, string, PublicProps, Readonly<{
|
|
541
|
+
xyFilters?: data;
|
|
542
|
+
filterKey: string;
|
|
543
|
+
}> & Readonly<{
|
|
544
|
+
onFilterChange?: (...args: any[]) => any;
|
|
545
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>> & Record<string, any>))[];
|
|
278
546
|
export default _default;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { SFCWithInstall } from '../utils/typescript';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
import { Option } from '../static/CommonObject';
|
|
4
|
+
export declare const YaheeLeftCondition: SFCWithInstall<DefineComponent<{
|
|
5
|
+
multiSelectList?: Array<any>;
|
|
6
|
+
selectList: Array< Option>;
|
|
7
|
+
countList?: Array<any>;
|
|
8
|
+
totalCount?: number;
|
|
9
|
+
hasNum?: boolean;
|
|
10
|
+
displayRangeInput?: boolean;
|
|
11
|
+
rangeLabel?: string;
|
|
12
|
+
rangeStartKey?: string;
|
|
13
|
+
rangeEndKey?: string;
|
|
14
|
+
rangeDelimiter?: string;
|
|
15
|
+
allIsCheckbox?: boolean;
|
|
16
|
+
allIsEmpty?: boolean;
|
|
17
|
+
translateUserId?: boolean;
|
|
18
|
+
staticSearch?: boolean;
|
|
19
|
+
label?: string;
|
|
20
|
+
noNeedRefreshNumFilterName?: string;
|
|
21
|
+
filterKey: string;
|
|
22
|
+
defaultValues?: Array<string | number | boolean>;
|
|
23
|
+
}, {
|
|
24
|
+
clickAllSelected: () => void;
|
|
25
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
26
|
+
filterChange: (...args: any[]) => void;
|
|
27
|
+
setNoNeedRefreshNumFilterName: (...args: any[]) => void;
|
|
28
|
+
}, string, PublicProps, Readonly<{
|
|
29
|
+
multiSelectList?: Array<any>;
|
|
30
|
+
selectList: Array< Option>;
|
|
31
|
+
countList?: Array<any>;
|
|
32
|
+
totalCount?: number;
|
|
33
|
+
hasNum?: boolean;
|
|
34
|
+
displayRangeInput?: boolean;
|
|
35
|
+
rangeLabel?: string;
|
|
36
|
+
rangeStartKey?: string;
|
|
37
|
+
rangeEndKey?: string;
|
|
38
|
+
rangeDelimiter?: string;
|
|
39
|
+
allIsCheckbox?: boolean;
|
|
40
|
+
allIsEmpty?: boolean;
|
|
41
|
+
translateUserId?: boolean;
|
|
42
|
+
staticSearch?: boolean;
|
|
43
|
+
label?: string;
|
|
44
|
+
noNeedRefreshNumFilterName?: string;
|
|
45
|
+
filterKey: string;
|
|
46
|
+
defaultValues?: Array<string | number | boolean>;
|
|
47
|
+
}> & Readonly<{
|
|
48
|
+
onFilterChange?: (...args: any[]) => any;
|
|
49
|
+
onSetNoNeedRefreshNumFilterName?: (...args: any[]) => any;
|
|
50
|
+
}>, {
|
|
51
|
+
label: string;
|
|
52
|
+
multiSelectList: Array<any>;
|
|
53
|
+
countList: Array<any>;
|
|
54
|
+
hasNum: boolean;
|
|
55
|
+
selectList: Array< Option>;
|
|
56
|
+
totalCount: number;
|
|
57
|
+
displayRangeInput: boolean;
|
|
58
|
+
rangeLabel: string;
|
|
59
|
+
rangeStartKey: string;
|
|
60
|
+
rangeEndKey: string;
|
|
61
|
+
rangeDelimiter: string;
|
|
62
|
+
allIsEmpty: boolean;
|
|
63
|
+
staticSearch: boolean;
|
|
64
|
+
noNeedRefreshNumFilterName: string;
|
|
65
|
+
filterKey: string;
|
|
66
|
+
defaultValues: Array<string | number | boolean>;
|
|
67
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>> & Record<string, any>;
|
|
68
|
+
export default YaheeLeftCondition;
|
|
69
|
+
export * from './left-condition.vue';
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Option } from '../static/CommonObject';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare function setCheckboxValue(val: boolean): void;
|
|
4
|
+
declare function setCurrentValue(val: boolean): void;
|
|
5
|
+
declare function resetValue(): void;
|
|
6
|
+
declare function getValue(): Option;
|
|
7
|
+
declare const _default: DefineComponent<{
|
|
8
|
+
multiSelectList: Array<any>;
|
|
9
|
+
countList?: Array<any>;
|
|
10
|
+
item: Option;
|
|
11
|
+
hasNum: boolean;
|
|
12
|
+
allIsCheckbox?: boolean;
|
|
13
|
+
translateUserId: boolean;
|
|
14
|
+
}, {
|
|
15
|
+
resetValue: typeof resetValue;
|
|
16
|
+
getValue: typeof getValue;
|
|
17
|
+
setCurrentValue: typeof setCurrentValue;
|
|
18
|
+
setCheckboxValue: typeof setCheckboxValue;
|
|
19
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
20
|
+
resetAllCheckedValue: (...args: any[]) => void;
|
|
21
|
+
setSelectedStatusMap: (...args: any[]) => void;
|
|
22
|
+
resetRange: (...args: any[]) => void;
|
|
23
|
+
resetIsSelectAll: (...args: any[]) => void;
|
|
24
|
+
notifyParent: (...args: any[]) => void;
|
|
25
|
+
setNoNeedRefreshNumFilterName: (...args: any[]) => void;
|
|
26
|
+
}, string, PublicProps, Readonly<{
|
|
27
|
+
multiSelectList: Array<any>;
|
|
28
|
+
countList?: Array<any>;
|
|
29
|
+
item: Option;
|
|
30
|
+
hasNum: boolean;
|
|
31
|
+
allIsCheckbox?: boolean;
|
|
32
|
+
translateUserId: boolean;
|
|
33
|
+
}> & Readonly<{
|
|
34
|
+
onResetAllCheckedValue?: (...args: any[]) => any;
|
|
35
|
+
onSetSelectedStatusMap?: (...args: any[]) => any;
|
|
36
|
+
onResetRange?: (...args: any[]) => any;
|
|
37
|
+
onResetIsSelectAll?: (...args: any[]) => any;
|
|
38
|
+
onNotifyParent?: (...args: any[]) => any;
|
|
39
|
+
onSetNoNeedRefreshNumFilterName?: (...args: any[]) => any;
|
|
40
|
+
}>, {
|
|
41
|
+
item: Option;
|
|
42
|
+
multiSelectList: Array<any>;
|
|
43
|
+
hasNum: boolean;
|
|
44
|
+
allIsCheckbox: boolean;
|
|
45
|
+
translateUserId: boolean;
|
|
46
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
47
|
+
export default _default;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { Option } from '../static/CommonObject';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare function clickAllSelected(): void;
|
|
4
|
+
declare const _default: DefineComponent<{
|
|
5
|
+
multiSelectList?: Array<any>;
|
|
6
|
+
selectList: Array<Option>;
|
|
7
|
+
countList?: Array<any>;
|
|
8
|
+
totalCount?: number;
|
|
9
|
+
hasNum?: boolean;
|
|
10
|
+
displayRangeInput?: boolean;
|
|
11
|
+
rangeLabel?: string;
|
|
12
|
+
rangeStartKey?: string;
|
|
13
|
+
rangeEndKey?: string;
|
|
14
|
+
rangeDelimiter?: string;
|
|
15
|
+
allIsCheckbox?: boolean;
|
|
16
|
+
allIsEmpty?: boolean;
|
|
17
|
+
translateUserId?: boolean;
|
|
18
|
+
staticSearch?: boolean;
|
|
19
|
+
label?: string;
|
|
20
|
+
noNeedRefreshNumFilterName?: string;
|
|
21
|
+
filterKey: string;
|
|
22
|
+
defaultValues?: Array<string | number | boolean>;
|
|
23
|
+
}, {
|
|
24
|
+
clickAllSelected: typeof clickAllSelected;
|
|
25
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
26
|
+
filterChange: (...args: any[]) => void;
|
|
27
|
+
setNoNeedRefreshNumFilterName: (...args: any[]) => void;
|
|
28
|
+
}, string, PublicProps, Readonly<{
|
|
29
|
+
multiSelectList?: Array<any>;
|
|
30
|
+
selectList: Array<Option>;
|
|
31
|
+
countList?: Array<any>;
|
|
32
|
+
totalCount?: number;
|
|
33
|
+
hasNum?: boolean;
|
|
34
|
+
displayRangeInput?: boolean;
|
|
35
|
+
rangeLabel?: string;
|
|
36
|
+
rangeStartKey?: string;
|
|
37
|
+
rangeEndKey?: string;
|
|
38
|
+
rangeDelimiter?: string;
|
|
39
|
+
allIsCheckbox?: boolean;
|
|
40
|
+
allIsEmpty?: boolean;
|
|
41
|
+
translateUserId?: boolean;
|
|
42
|
+
staticSearch?: boolean;
|
|
43
|
+
label?: string;
|
|
44
|
+
noNeedRefreshNumFilterName?: string;
|
|
45
|
+
filterKey: string;
|
|
46
|
+
defaultValues?: Array<string | number | boolean>;
|
|
47
|
+
}> & Readonly<{
|
|
48
|
+
onFilterChange?: (...args: any[]) => any;
|
|
49
|
+
onSetNoNeedRefreshNumFilterName?: (...args: any[]) => any;
|
|
50
|
+
}>, {
|
|
51
|
+
label: string;
|
|
52
|
+
multiSelectList: Array<any>;
|
|
53
|
+
countList: Array<any>;
|
|
54
|
+
hasNum: boolean;
|
|
55
|
+
selectList: Array<Option>;
|
|
56
|
+
totalCount: number;
|
|
57
|
+
displayRangeInput: boolean;
|
|
58
|
+
rangeLabel: string;
|
|
59
|
+
rangeStartKey: string;
|
|
60
|
+
rangeEndKey: string;
|
|
61
|
+
rangeDelimiter: string;
|
|
62
|
+
allIsEmpty: boolean;
|
|
63
|
+
staticSearch: boolean;
|
|
64
|
+
noNeedRefreshNumFilterName: string;
|
|
65
|
+
filterKey: string;
|
|
66
|
+
defaultValues: Array<string | number | boolean>;
|
|
67
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
68
|
+
export default _default;
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import { SFCWithInstall } from '../utils/typescript';
|
|
2
|
+
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
import { Option } from '../static/CommonObject';
|
|
4
|
+
export declare const YaheeLeftConditionEnum: SFCWithInstall<DefineComponent<ExtractPropTypes<{
|
|
5
|
+
selectList: {
|
|
6
|
+
type: {
|
|
7
|
+
(arrayLength: number): Option[];
|
|
8
|
+
(...items: Option[]): Option[];
|
|
9
|
+
new (arrayLength: number): Option[];
|
|
10
|
+
new (...items: Option[]): Option[];
|
|
11
|
+
isArray(arg: any): arg is any[];
|
|
12
|
+
readonly prototype: any[];
|
|
13
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
14
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
15
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
16
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
17
|
+
of<T>(...items: T[]): T[];
|
|
18
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
19
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
20
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
21
|
+
};
|
|
22
|
+
default: () => Option[];
|
|
23
|
+
};
|
|
24
|
+
baseUrl: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
countList: {
|
|
29
|
+
type: {
|
|
30
|
+
(arrayLength: number): any[];
|
|
31
|
+
(...items: any[]): any[];
|
|
32
|
+
new (arrayLength: number): any[];
|
|
33
|
+
new (...items: any[]): any[];
|
|
34
|
+
isArray(arg: any): arg is any[];
|
|
35
|
+
readonly prototype: any[];
|
|
36
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
37
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
38
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
39
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
40
|
+
of<T>(...items: T[]): T[];
|
|
41
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
42
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
43
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
44
|
+
};
|
|
45
|
+
required: false;
|
|
46
|
+
};
|
|
47
|
+
enumEntity: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
default: string;
|
|
50
|
+
};
|
|
51
|
+
filterKey: {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
default: string;
|
|
54
|
+
};
|
|
55
|
+
totalCount: {
|
|
56
|
+
type: NumberConstructor;
|
|
57
|
+
required: false;
|
|
58
|
+
};
|
|
59
|
+
noNeedRefreshNumFilterName: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
required: false;
|
|
62
|
+
};
|
|
63
|
+
allIsCheckbox: {
|
|
64
|
+
type: BooleanConstructor;
|
|
65
|
+
required: false;
|
|
66
|
+
};
|
|
67
|
+
allIsEmpty: {
|
|
68
|
+
type: BooleanConstructor;
|
|
69
|
+
required: false;
|
|
70
|
+
};
|
|
71
|
+
translateUserId: {
|
|
72
|
+
type: BooleanConstructor;
|
|
73
|
+
required: false;
|
|
74
|
+
};
|
|
75
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
76
|
+
filterChange: (...args: any[]) => void;
|
|
77
|
+
setNoNeedRefreshNumFilterName: (...args: any[]) => void;
|
|
78
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
79
|
+
selectList: {
|
|
80
|
+
type: {
|
|
81
|
+
(arrayLength: number): Option[];
|
|
82
|
+
(...items: Option[]): Option[];
|
|
83
|
+
new (arrayLength: number): Option[];
|
|
84
|
+
new (...items: Option[]): Option[];
|
|
85
|
+
isArray(arg: any): arg is any[];
|
|
86
|
+
readonly prototype: any[];
|
|
87
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
88
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
89
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
90
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
91
|
+
of<T>(...items: T[]): T[];
|
|
92
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
93
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
94
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
95
|
+
};
|
|
96
|
+
default: () => Option[];
|
|
97
|
+
};
|
|
98
|
+
baseUrl: {
|
|
99
|
+
type: StringConstructor;
|
|
100
|
+
default: string;
|
|
101
|
+
};
|
|
102
|
+
countList: {
|
|
103
|
+
type: {
|
|
104
|
+
(arrayLength: number): any[];
|
|
105
|
+
(...items: any[]): any[];
|
|
106
|
+
new (arrayLength: number): any[];
|
|
107
|
+
new (...items: any[]): any[];
|
|
108
|
+
isArray(arg: any): arg is any[];
|
|
109
|
+
readonly prototype: any[];
|
|
110
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
111
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
112
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
113
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
114
|
+
of<T>(...items: T[]): T[];
|
|
115
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
116
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
117
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
118
|
+
};
|
|
119
|
+
required: false;
|
|
120
|
+
};
|
|
121
|
+
enumEntity: {
|
|
122
|
+
type: StringConstructor;
|
|
123
|
+
default: string;
|
|
124
|
+
};
|
|
125
|
+
filterKey: {
|
|
126
|
+
type: StringConstructor;
|
|
127
|
+
default: string;
|
|
128
|
+
};
|
|
129
|
+
totalCount: {
|
|
130
|
+
type: NumberConstructor;
|
|
131
|
+
required: false;
|
|
132
|
+
};
|
|
133
|
+
noNeedRefreshNumFilterName: {
|
|
134
|
+
type: StringConstructor;
|
|
135
|
+
required: false;
|
|
136
|
+
};
|
|
137
|
+
allIsCheckbox: {
|
|
138
|
+
type: BooleanConstructor;
|
|
139
|
+
required: false;
|
|
140
|
+
};
|
|
141
|
+
allIsEmpty: {
|
|
142
|
+
type: BooleanConstructor;
|
|
143
|
+
required: false;
|
|
144
|
+
};
|
|
145
|
+
translateUserId: {
|
|
146
|
+
type: BooleanConstructor;
|
|
147
|
+
required: false;
|
|
148
|
+
};
|
|
149
|
+
}>> & Readonly<{
|
|
150
|
+
onFilterChange?: (...args: any[]) => any;
|
|
151
|
+
onSetNoNeedRefreshNumFilterName?: (...args: any[]) => any;
|
|
152
|
+
}>, {
|
|
153
|
+
allIsCheckbox: boolean;
|
|
154
|
+
translateUserId: boolean;
|
|
155
|
+
selectList: Option[];
|
|
156
|
+
allIsEmpty: boolean;
|
|
157
|
+
filterKey: string;
|
|
158
|
+
baseUrl: string;
|
|
159
|
+
enumEntity: string;
|
|
160
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>> & Record<string, any>;
|
|
161
|
+
export default YaheeLeftConditionEnum;
|
|
162
|
+
export * from './left-condition-enum.vue';
|