asiaint-lowcode 3.1.56 → 3.1.58
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/README.md +31 -31
- package/dist/asiaint-lowcode.js +1 -1
- package/dist/asiaint-lowcode.umd.cjs +190 -188
- package/dist/index.d.ts +383 -7
- package/dist/lazy/{Card-BlakHGF_.js → Card-D0bbXvkE.js} +2 -2
- package/dist/lazy/{Cascader-BOwEQkqr.js → Cascader-CVF7Mugg.js} +1 -1
- package/dist/lazy/{Checkbox-1qYzxvx3.js → Checkbox-_T8IhBqC.js} +2 -2
- package/dist/lazy/{Collapse-DFhQjGTg.js → Collapse-Ds1b3YDU.js} +1 -1
- package/dist/lazy/{Component-D6OIJgBS.js → Component-B8bF5XT4.js} +1 -1
- package/dist/lazy/Component-C9plUbiY.js +143 -0
- package/dist/lazy/Component-CFM9XDEd.js +162 -0
- package/dist/lazy/{Component-DqTP-dqG.js → Component-CdoBzMc7.js} +2 -2
- package/dist/lazy/Component-D3ko2zV_.js +30 -0
- package/dist/lazy/{Component-uvnooS14.js → Component-DP42ZKK_.js} +2 -2
- package/dist/lazy/{Component-BOC_tZaw.js → Component-DomwdjSx.js} +1 -1
- package/dist/lazy/{CurdCard-7elTeYSM.js → CurdCard-BQRlQVr1.js} +21 -20
- package/dist/lazy/Custom-g38jchRO.js +26 -0
- package/dist/lazy/{DatePicker-vabWbXWk.js → DatePicker-CH9-SrZS.js} +22 -20
- package/dist/lazy/{DragList-ptXtINib.js → DragList-DrNbhRhP.js} +13 -13
- package/dist/lazy/{FilterSearch-DX7lyU5K.js → FilterSearch-FpJsKJ3o.js} +8 -8
- package/dist/lazy/FloatCurd-5xXw_Uuf.js +161 -0
- package/dist/lazy/{FormList-CQafRlf1.js → FormList-uX7IBTqh.js} +1 -1
- package/dist/lazy/{Grid-BHXnN5tG.js → Grid-ysr0Sucp.js} +1 -1
- package/dist/lazy/{InfiniteScroll-B9A8fTzl.js → InfiniteScroll-DZQrpuci.js} +4 -4
- package/dist/lazy/{Inline-CLeU2_yh.js → Inline-CbhYGfPg.js} +3 -3
- package/dist/lazy/{JsonEdit-CR8pc1r0.js → JsonEdit-CyMnmq3r.js} +3 -3
- package/dist/lazy/{LogList-C0n583jZ.js → LogList-uph8HlCd.js} +7 -7
- package/dist/lazy/{ObjGroup-CWyMW8ok.js → ObjGroup-N7KsOVel.js} +1 -1
- package/dist/lazy/{OfferDetails-Bk2fm7if.js → OfferDetails-CIul9KOu.js} +10 -8
- package/dist/lazy/{Pagination-BTgJMuH1.js → Pagination-DjW7ZS5F.js} +4 -4
- package/dist/lazy/{Progress-DbQWJ6ZF.js → Progress-CdesxNAo.js} +15 -15
- package/dist/lazy/{Radio-BFsZCzNl.js → Radio-_4avXRsG.js} +3 -3
- package/dist/lazy/{SearchSelect-CTNUhnXg.js → SearchSelect-smSaLg9O.js} +6 -6
- package/dist/lazy/{Select-CImoPfB1.js → Select-CSAee2NV.js} +2 -2
- package/dist/lazy/Table-DwCCVOES.js +568 -0
- package/dist/lazy/Tabs-CwqrqWqQ.js +127 -0
- package/dist/lazy/TextArea-Cvka_TgI.js +34 -0
- package/dist/lazy/{Wrapper-B4mdrBTT.js → Wrapper-Bu6nqkrG.js} +2 -2
- package/dist/lazy/{index-BMlHLc-c.js → index-BOGnFXnC.js} +18345 -18107
- package/dist/lazy/{useSelect-DWF-2iPr.js → useSelect-koHM4kMI.js} +1 -1
- package/dist/style.css +2 -2
- package/global.d.ts +10 -10
- package/package.json +36 -36
- package/dist/lazy/Component-BybPseK_.js +0 -153
- package/dist/lazy/Component-T0MaVDE3.js +0 -13
- package/dist/lazy/Component-TyczCMR3.js +0 -120
- package/dist/lazy/Custom-CFg-E0l1.js +0 -26
- package/dist/lazy/Table-CQKjjRQt.js +0 -527
- package/dist/lazy/Tabs-Qh5RoptW.js +0 -72
- package/dist/lazy/TextArea-CHd9bsw8.js +0 -34
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
|
-
import { Awaitable } from 'element-plus/es/utils/typescript.mjs';
|
|
3
2
|
import { Component } from 'vue';
|
|
4
3
|
import { ComponentOptionsMixin } from 'vue';
|
|
5
4
|
import { ComponentProvideOptions } from 'vue';
|
|
6
5
|
import { ComponentPublicInstance } from 'vue';
|
|
7
6
|
import { DeepReadonly } from 'vue';
|
|
8
7
|
import { DefineComponent } from 'vue';
|
|
9
|
-
import { EpPropMergeType } from 'element-plus/es/utils/index.mjs';
|
|
10
8
|
import { ExtractPropTypes } from 'vue';
|
|
11
9
|
import { FormValidationResult } from 'element-plus';
|
|
12
10
|
import { InjectionKey } from 'vue';
|
|
@@ -17,6 +15,7 @@ import { Ref } from 'vue';
|
|
|
17
15
|
import { StyleValue } from 'vue';
|
|
18
16
|
import { TabPaneName } from 'element-plus';
|
|
19
17
|
import { TabsProps } from 'element-plus';
|
|
18
|
+
import { TreeOptionProps } from 'element-plus/es/components/tree/src/tree.type';
|
|
20
19
|
import { VNode } from 'vue';
|
|
21
20
|
|
|
22
21
|
export declare const $options: InjectionKey<Options>;
|
|
@@ -57,6 +56,8 @@ updateInitialValues: (values: Record<string, any>) => void;
|
|
|
57
56
|
getInitialValues: () => Record<string, any>;
|
|
58
57
|
updateVCodePass: (value: boolean) => void;
|
|
59
58
|
validate: () => FormValidationResult | undefined;
|
|
59
|
+
validateField: (props?: string | string[]) => FormValidationResult | undefined;
|
|
60
|
+
validateByParentName: (wrapperName: string) => Promise<void> | FormValidationResult | undefined;
|
|
60
61
|
resetFields: (names?: string[]) => void;
|
|
61
62
|
submit: () => void;
|
|
62
63
|
setDisabled: (disabled: boolean) => void;
|
|
@@ -171,6 +172,10 @@ declare type __VLS_NonUndefinedable_2<T> = T extends undefined ? never : T;
|
|
|
171
172
|
|
|
172
173
|
declare type __VLS_NonUndefinedable_3<T> = T extends undefined ? never : T;
|
|
173
174
|
|
|
175
|
+
declare type __VLS_NonUndefinedable_4<T> = T extends undefined ? never : T;
|
|
176
|
+
|
|
177
|
+
declare type __VLS_NonUndefinedable_5<T> = T extends undefined ? never : T;
|
|
178
|
+
|
|
174
179
|
declare function __VLS_template(): {
|
|
175
180
|
default?(_: {}): any;
|
|
176
181
|
};
|
|
@@ -206,6 +211,24 @@ declare type __VLS_TypePropsToRuntimeProps_3<T> = {
|
|
|
206
211
|
};
|
|
207
212
|
};
|
|
208
213
|
|
|
214
|
+
declare type __VLS_TypePropsToRuntimeProps_4<T> = {
|
|
215
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
216
|
+
type: PropType<__VLS_NonUndefinedable_4<T[K]>>;
|
|
217
|
+
} : {
|
|
218
|
+
type: PropType<T[K]>;
|
|
219
|
+
required: true;
|
|
220
|
+
};
|
|
221
|
+
};
|
|
222
|
+
|
|
223
|
+
declare type __VLS_TypePropsToRuntimeProps_5<T> = {
|
|
224
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
225
|
+
type: PropType<__VLS_NonUndefinedable_5<T[K]>>;
|
|
226
|
+
} : {
|
|
227
|
+
type: PropType<T[K]>;
|
|
228
|
+
required: true;
|
|
229
|
+
};
|
|
230
|
+
};
|
|
231
|
+
|
|
209
232
|
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
210
233
|
new (): {
|
|
211
234
|
$slots: S;
|
|
@@ -226,6 +249,7 @@ declare type AlertSchema = {
|
|
|
226
249
|
text: string | number;
|
|
227
250
|
onClick?: string;
|
|
228
251
|
ext?: any;
|
|
252
|
+
getPopoverContent?: string;
|
|
229
253
|
}[];
|
|
230
254
|
type?: 'primary' | 'success' | 'warning' | 'info' | 'error';
|
|
231
255
|
key: string;
|
|
@@ -295,6 +319,31 @@ declare const _default: {
|
|
|
295
319
|
};
|
|
296
320
|
export default _default;
|
|
297
321
|
|
|
322
|
+
declare const _default_10: DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_5<{
|
|
323
|
+
onNodeClick?: string;
|
|
324
|
+
onCheckChange?: string;
|
|
325
|
+
onLoad?: string;
|
|
326
|
+
btns: BtnType[];
|
|
327
|
+
data?: any[];
|
|
328
|
+
props?: TreeOptionProps;
|
|
329
|
+
nodeKey: string;
|
|
330
|
+
styleType?: "modal" | "normal";
|
|
331
|
+
name: string;
|
|
332
|
+
}>>, {
|
|
333
|
+
getCheckedNodes: () => any;
|
|
334
|
+
type: "tree";
|
|
335
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_5<{
|
|
336
|
+
onNodeClick?: string;
|
|
337
|
+
onCheckChange?: string;
|
|
338
|
+
onLoad?: string;
|
|
339
|
+
btns: BtnType[];
|
|
340
|
+
data?: any[];
|
|
341
|
+
props?: TreeOptionProps;
|
|
342
|
+
nodeKey: string;
|
|
343
|
+
styleType?: "modal" | "normal";
|
|
344
|
+
name: string;
|
|
345
|
+
}>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
346
|
+
|
|
298
347
|
declare const _default_2: DefineComponent<ExtractPropTypes< {
|
|
299
348
|
schema: {
|
|
300
349
|
required: true;
|
|
@@ -311,6 +360,10 @@ pageRulePath: {
|
|
|
311
360
|
type: PropType<string>;
|
|
312
361
|
required: true;
|
|
313
362
|
};
|
|
363
|
+
styleType: {
|
|
364
|
+
type: PropType<"normal" | "modal" | "btn">;
|
|
365
|
+
required: true;
|
|
366
|
+
};
|
|
314
367
|
}>, {
|
|
315
368
|
setTabContent: (newContents: TabsSchema["content"]) => void;
|
|
316
369
|
addTabContent: (newContent: TabsSchema["content"] | getArrayType<TabsSchema["content"]>) => void;
|
|
@@ -321,19 +374,302 @@ readonly onMounted?: string | undefined;
|
|
|
321
374
|
readonly onActivated?: string | undefined;
|
|
322
375
|
readonly onChange?: string | undefined;
|
|
323
376
|
readonly tabProps?: {
|
|
324
|
-
readonly type:
|
|
377
|
+
readonly type: "" | "card" | "border-card";
|
|
325
378
|
readonly closable: boolean;
|
|
326
379
|
readonly stretch: boolean;
|
|
327
380
|
readonly addable: boolean;
|
|
328
381
|
readonly editable: boolean;
|
|
329
|
-
readonly tabPosition:
|
|
330
|
-
readonly beforeLeave: (newName: TabPaneName, oldName: TabPaneName) =>
|
|
331
|
-
readonly modelValue?:
|
|
382
|
+
readonly tabPosition: "right" | "top" | "left" | "bottom";
|
|
383
|
+
readonly beforeLeave: (newName: TabPaneName, oldName: TabPaneName) => boolean | void | Promise<boolean | void>;
|
|
384
|
+
readonly modelValue?: (string | number) | undefined;
|
|
332
385
|
} | undefined;
|
|
333
386
|
readonly hidden?: boolean | undefined;
|
|
334
387
|
readonly isSticky?: boolean | undefined;
|
|
335
388
|
readonly stickyTop?: number | undefined;
|
|
336
389
|
readonly expandTop?: boolean | undefined;
|
|
390
|
+
readonly styleType?: ("modal" | "btn" | "normal") | undefined;
|
|
391
|
+
readonly staticBtns: readonly ({
|
|
392
|
+
readonly component: "Popover";
|
|
393
|
+
readonly props: {
|
|
394
|
+
readonly trigger: "hover" | "click" | "focus";
|
|
395
|
+
readonly hoverStyle: any;
|
|
396
|
+
readonly ostyle: any;
|
|
397
|
+
readonly width?: number | undefined;
|
|
398
|
+
readonly size?: ("small" | "normal" | "large") | undefined;
|
|
399
|
+
readonly hoverColor?: string | undefined;
|
|
400
|
+
};
|
|
401
|
+
readonly children: readonly {
|
|
402
|
+
readonly label?: string | undefined;
|
|
403
|
+
readonly name: string;
|
|
404
|
+
readonly component: string;
|
|
405
|
+
readonly required?: boolean | undefined;
|
|
406
|
+
readonly props?: {
|
|
407
|
+
readonly [x: string]: any;
|
|
408
|
+
} | undefined;
|
|
409
|
+
readonly initialValue?: any;
|
|
410
|
+
readonly help?: string | undefined;
|
|
411
|
+
readonly labelSuffix?: {
|
|
412
|
+
readonly component: "Popover";
|
|
413
|
+
readonly props: any;
|
|
414
|
+
} | undefined;
|
|
415
|
+
readonly children?: readonly any[] | undefined;
|
|
416
|
+
readonly hidden?: (boolean | string) | undefined;
|
|
417
|
+
readonly hideLabel?: boolean | undefined;
|
|
418
|
+
readonly designKey?: string | undefined;
|
|
419
|
+
readonly rules?: readonly {
|
|
420
|
+
readonly type: "email" | "url" | "custom" | string;
|
|
421
|
+
readonly customReg?: string | undefined;
|
|
422
|
+
readonly templateExp?: any;
|
|
423
|
+
readonly message?: string | undefined;
|
|
424
|
+
readonly trigger: readonly string[];
|
|
425
|
+
}[] | undefined;
|
|
426
|
+
readonly class?: any;
|
|
427
|
+
readonly style?: any;
|
|
428
|
+
readonly change?: readonly {
|
|
429
|
+
readonly target: string;
|
|
430
|
+
readonly value?: any;
|
|
431
|
+
readonly condition?: any;
|
|
432
|
+
}[] | undefined;
|
|
433
|
+
readonly dialog?: boolean | undefined;
|
|
434
|
+
readonly width?: number | undefined;
|
|
435
|
+
}[];
|
|
436
|
+
readonly tooltip?: string | undefined;
|
|
437
|
+
readonly key: string;
|
|
438
|
+
readonly text?: string | undefined;
|
|
439
|
+
readonly isTextBtn?: boolean | undefined;
|
|
440
|
+
readonly isLinkBtn?: boolean | undefined;
|
|
441
|
+
readonly isPlainBtn?: boolean | undefined;
|
|
442
|
+
readonly onClick?: string | undefined;
|
|
443
|
+
readonly disabled?: boolean | undefined;
|
|
444
|
+
readonly hidden?: boolean | undefined;
|
|
445
|
+
readonly type?: ("primary" | "success" | "warning" | "danger" | "info") | undefined;
|
|
446
|
+
readonly color?: string | undefined;
|
|
447
|
+
readonly orange?: boolean | undefined;
|
|
448
|
+
readonly isReverse?: boolean | undefined;
|
|
449
|
+
readonly icon?: {
|
|
450
|
+
readonly name: string;
|
|
451
|
+
readonly color?: string | undefined;
|
|
452
|
+
readonly size?: ("x-small" | "small" | "normal" | "large" | "ultra-large") | undefined;
|
|
453
|
+
readonly tooltip?: string | undefined;
|
|
454
|
+
} | undefined;
|
|
455
|
+
readonly label?: string | undefined;
|
|
456
|
+
readonly size?: ("default" | "small" | "large") | undefined;
|
|
457
|
+
readonly style?: any;
|
|
458
|
+
} | {
|
|
459
|
+
readonly component: "BtnGroup";
|
|
460
|
+
readonly children: readonly {
|
|
461
|
+
readonly tooltip?: string | undefined;
|
|
462
|
+
readonly key: string;
|
|
463
|
+
readonly text?: string | undefined;
|
|
464
|
+
readonly isTextBtn?: boolean | undefined;
|
|
465
|
+
readonly isLinkBtn?: boolean | undefined;
|
|
466
|
+
readonly isPlainBtn?: boolean | undefined;
|
|
467
|
+
readonly onClick?: string | undefined;
|
|
468
|
+
readonly disabled?: boolean | undefined;
|
|
469
|
+
readonly hidden?: boolean | undefined;
|
|
470
|
+
readonly type?: ("primary" | "success" | "warning" | "danger" | "info") | undefined;
|
|
471
|
+
readonly color?: string | undefined;
|
|
472
|
+
readonly orange?: boolean | undefined;
|
|
473
|
+
readonly isReverse?: boolean | undefined;
|
|
474
|
+
readonly icon?: {
|
|
475
|
+
readonly name: string;
|
|
476
|
+
readonly color?: string | undefined;
|
|
477
|
+
readonly size?: ("x-small" | "small" | "normal" | "large" | "ultra-large") | undefined;
|
|
478
|
+
readonly tooltip?: string | undefined;
|
|
479
|
+
} | undefined;
|
|
480
|
+
readonly label?: string | undefined;
|
|
481
|
+
readonly size?: ("default" | "small" | "large") | undefined;
|
|
482
|
+
readonly style?: any;
|
|
483
|
+
}[];
|
|
484
|
+
readonly tooltip?: string | undefined;
|
|
485
|
+
readonly key: string;
|
|
486
|
+
readonly text?: string | undefined;
|
|
487
|
+
readonly isTextBtn?: boolean | undefined;
|
|
488
|
+
readonly isLinkBtn?: boolean | undefined;
|
|
489
|
+
readonly isPlainBtn?: boolean | undefined;
|
|
490
|
+
readonly onClick?: string | undefined;
|
|
491
|
+
readonly disabled?: boolean | undefined;
|
|
492
|
+
readonly hidden?: boolean | undefined;
|
|
493
|
+
readonly type?: ("primary" | "success" | "warning" | "danger" | "info") | undefined;
|
|
494
|
+
readonly color?: string | undefined;
|
|
495
|
+
readonly orange?: boolean | undefined;
|
|
496
|
+
readonly isReverse?: boolean | undefined;
|
|
497
|
+
readonly icon?: {
|
|
498
|
+
readonly name: string;
|
|
499
|
+
readonly color?: string | undefined;
|
|
500
|
+
readonly size?: ("x-small" | "small" | "normal" | "large" | "ultra-large") | undefined;
|
|
501
|
+
readonly tooltip?: string | undefined;
|
|
502
|
+
} | undefined;
|
|
503
|
+
readonly label?: string | undefined;
|
|
504
|
+
readonly size?: ("default" | "small" | "large") | undefined;
|
|
505
|
+
readonly style?: any;
|
|
506
|
+
} | {
|
|
507
|
+
readonly component?: never | undefined;
|
|
508
|
+
readonly children?: never | undefined;
|
|
509
|
+
readonly tooltip?: string | undefined;
|
|
510
|
+
readonly key: string;
|
|
511
|
+
readonly text?: string | undefined;
|
|
512
|
+
readonly isTextBtn?: boolean | undefined;
|
|
513
|
+
readonly isLinkBtn?: boolean | undefined;
|
|
514
|
+
readonly isPlainBtn?: boolean | undefined;
|
|
515
|
+
readonly onClick?: string | undefined;
|
|
516
|
+
readonly disabled?: boolean | undefined;
|
|
517
|
+
readonly hidden?: boolean | undefined;
|
|
518
|
+
readonly type?: ("primary" | "success" | "warning" | "danger" | "info") | undefined;
|
|
519
|
+
readonly color?: string | undefined;
|
|
520
|
+
readonly orange?: boolean | undefined;
|
|
521
|
+
readonly isReverse?: boolean | undefined;
|
|
522
|
+
readonly icon?: {
|
|
523
|
+
readonly name: string;
|
|
524
|
+
readonly color?: string | undefined;
|
|
525
|
+
readonly size?: ("x-small" | "small" | "normal" | "large" | "ultra-large") | undefined;
|
|
526
|
+
readonly tooltip?: string | undefined;
|
|
527
|
+
} | undefined;
|
|
528
|
+
readonly label?: string | undefined;
|
|
529
|
+
readonly size?: ("default" | "small" | "large") | undefined;
|
|
530
|
+
readonly style?: any;
|
|
531
|
+
})[];
|
|
532
|
+
readonly dynamicBtns: readonly ({
|
|
533
|
+
readonly component: "Popover";
|
|
534
|
+
readonly props: {
|
|
535
|
+
readonly trigger: "hover" | "click" | "focus";
|
|
536
|
+
readonly hoverStyle: any;
|
|
537
|
+
readonly ostyle: any;
|
|
538
|
+
readonly width?: number | undefined;
|
|
539
|
+
readonly size?: ("small" | "normal" | "large") | undefined;
|
|
540
|
+
readonly hoverColor?: string | undefined;
|
|
541
|
+
};
|
|
542
|
+
readonly children: readonly {
|
|
543
|
+
readonly label?: string | undefined;
|
|
544
|
+
readonly name: string;
|
|
545
|
+
readonly component: string;
|
|
546
|
+
readonly required?: boolean | undefined;
|
|
547
|
+
readonly props?: {
|
|
548
|
+
readonly [x: string]: any;
|
|
549
|
+
} | undefined;
|
|
550
|
+
readonly initialValue?: any;
|
|
551
|
+
readonly help?: string | undefined;
|
|
552
|
+
readonly labelSuffix?: {
|
|
553
|
+
readonly component: "Popover";
|
|
554
|
+
readonly props: any;
|
|
555
|
+
} | undefined;
|
|
556
|
+
readonly children?: readonly any[] | undefined;
|
|
557
|
+
readonly hidden?: (boolean | string) | undefined;
|
|
558
|
+
readonly hideLabel?: boolean | undefined;
|
|
559
|
+
readonly designKey?: string | undefined;
|
|
560
|
+
readonly rules?: readonly {
|
|
561
|
+
readonly type: "email" | "url" | "custom" | string;
|
|
562
|
+
readonly customReg?: string | undefined;
|
|
563
|
+
readonly templateExp?: any;
|
|
564
|
+
readonly message?: string | undefined;
|
|
565
|
+
readonly trigger: readonly string[];
|
|
566
|
+
}[] | undefined;
|
|
567
|
+
readonly class?: any;
|
|
568
|
+
readonly style?: any;
|
|
569
|
+
readonly change?: readonly {
|
|
570
|
+
readonly target: string;
|
|
571
|
+
readonly value?: any;
|
|
572
|
+
readonly condition?: any;
|
|
573
|
+
}[] | undefined;
|
|
574
|
+
readonly dialog?: boolean | undefined;
|
|
575
|
+
readonly width?: number | undefined;
|
|
576
|
+
}[];
|
|
577
|
+
readonly tooltip?: string | undefined;
|
|
578
|
+
readonly key: string;
|
|
579
|
+
readonly text?: string | undefined;
|
|
580
|
+
readonly isTextBtn?: boolean | undefined;
|
|
581
|
+
readonly isLinkBtn?: boolean | undefined;
|
|
582
|
+
readonly isPlainBtn?: boolean | undefined;
|
|
583
|
+
readonly onClick?: string | undefined;
|
|
584
|
+
readonly disabled?: boolean | undefined;
|
|
585
|
+
readonly hidden?: boolean | undefined;
|
|
586
|
+
readonly type?: ("primary" | "success" | "warning" | "danger" | "info") | undefined;
|
|
587
|
+
readonly color?: string | undefined;
|
|
588
|
+
readonly orange?: boolean | undefined;
|
|
589
|
+
readonly isReverse?: boolean | undefined;
|
|
590
|
+
readonly icon?: {
|
|
591
|
+
readonly name: string;
|
|
592
|
+
readonly color?: string | undefined;
|
|
593
|
+
readonly size?: ("x-small" | "small" | "normal" | "large" | "ultra-large") | undefined;
|
|
594
|
+
readonly tooltip?: string | undefined;
|
|
595
|
+
} | undefined;
|
|
596
|
+
readonly label?: string | undefined;
|
|
597
|
+
readonly size?: ("default" | "small" | "large") | undefined;
|
|
598
|
+
readonly style?: any;
|
|
599
|
+
} | {
|
|
600
|
+
readonly component: "BtnGroup";
|
|
601
|
+
readonly children: readonly {
|
|
602
|
+
readonly tooltip?: string | undefined;
|
|
603
|
+
readonly key: string;
|
|
604
|
+
readonly text?: string | undefined;
|
|
605
|
+
readonly isTextBtn?: boolean | undefined;
|
|
606
|
+
readonly isLinkBtn?: boolean | undefined;
|
|
607
|
+
readonly isPlainBtn?: boolean | undefined;
|
|
608
|
+
readonly onClick?: string | undefined;
|
|
609
|
+
readonly disabled?: boolean | undefined;
|
|
610
|
+
readonly hidden?: boolean | undefined;
|
|
611
|
+
readonly type?: ("primary" | "success" | "warning" | "danger" | "info") | undefined;
|
|
612
|
+
readonly color?: string | undefined;
|
|
613
|
+
readonly orange?: boolean | undefined;
|
|
614
|
+
readonly isReverse?: boolean | undefined;
|
|
615
|
+
readonly icon?: {
|
|
616
|
+
readonly name: string;
|
|
617
|
+
readonly color?: string | undefined;
|
|
618
|
+
readonly size?: ("x-small" | "small" | "normal" | "large" | "ultra-large") | undefined;
|
|
619
|
+
readonly tooltip?: string | undefined;
|
|
620
|
+
} | undefined;
|
|
621
|
+
readonly label?: string | undefined;
|
|
622
|
+
readonly size?: ("default" | "small" | "large") | undefined;
|
|
623
|
+
readonly style?: any;
|
|
624
|
+
}[];
|
|
625
|
+
readonly tooltip?: string | undefined;
|
|
626
|
+
readonly key: string;
|
|
627
|
+
readonly text?: string | undefined;
|
|
628
|
+
readonly isTextBtn?: boolean | undefined;
|
|
629
|
+
readonly isLinkBtn?: boolean | undefined;
|
|
630
|
+
readonly isPlainBtn?: boolean | undefined;
|
|
631
|
+
readonly onClick?: string | undefined;
|
|
632
|
+
readonly disabled?: boolean | undefined;
|
|
633
|
+
readonly hidden?: boolean | undefined;
|
|
634
|
+
readonly type?: ("primary" | "success" | "warning" | "danger" | "info") | undefined;
|
|
635
|
+
readonly color?: string | undefined;
|
|
636
|
+
readonly orange?: boolean | undefined;
|
|
637
|
+
readonly isReverse?: boolean | undefined;
|
|
638
|
+
readonly icon?: {
|
|
639
|
+
readonly name: string;
|
|
640
|
+
readonly color?: string | undefined;
|
|
641
|
+
readonly size?: ("x-small" | "small" | "normal" | "large" | "ultra-large") | undefined;
|
|
642
|
+
readonly tooltip?: string | undefined;
|
|
643
|
+
} | undefined;
|
|
644
|
+
readonly label?: string | undefined;
|
|
645
|
+
readonly size?: ("default" | "small" | "large") | undefined;
|
|
646
|
+
readonly style?: any;
|
|
647
|
+
} | {
|
|
648
|
+
readonly component?: never | undefined;
|
|
649
|
+
readonly children?: never | undefined;
|
|
650
|
+
readonly tooltip?: string | undefined;
|
|
651
|
+
readonly key: string;
|
|
652
|
+
readonly text?: string | undefined;
|
|
653
|
+
readonly isTextBtn?: boolean | undefined;
|
|
654
|
+
readonly isLinkBtn?: boolean | undefined;
|
|
655
|
+
readonly isPlainBtn?: boolean | undefined;
|
|
656
|
+
readonly onClick?: string | undefined;
|
|
657
|
+
readonly disabled?: boolean | undefined;
|
|
658
|
+
readonly hidden?: boolean | undefined;
|
|
659
|
+
readonly type?: ("primary" | "success" | "warning" | "danger" | "info") | undefined;
|
|
660
|
+
readonly color?: string | undefined;
|
|
661
|
+
readonly orange?: boolean | undefined;
|
|
662
|
+
readonly isReverse?: boolean | undefined;
|
|
663
|
+
readonly icon?: {
|
|
664
|
+
readonly name: string;
|
|
665
|
+
readonly color?: string | undefined;
|
|
666
|
+
readonly size?: ("x-small" | "small" | "normal" | "large" | "ultra-large") | undefined;
|
|
667
|
+
readonly tooltip?: string | undefined;
|
|
668
|
+
} | undefined;
|
|
669
|
+
readonly label?: string | undefined;
|
|
670
|
+
readonly size?: ("default" | "small" | "large") | undefined;
|
|
671
|
+
readonly style?: any;
|
|
672
|
+
})[];
|
|
337
673
|
readonly content: readonly {
|
|
338
674
|
readonly label: string;
|
|
339
675
|
readonly key?: string | undefined;
|
|
@@ -343,6 +679,7 @@ readonly closable?: boolean | undefined;
|
|
|
343
679
|
readonly pageParams?: any;
|
|
344
680
|
readonly mixMode?: boolean | undefined;
|
|
345
681
|
readonly hidden?: boolean | undefined;
|
|
682
|
+
readonly icon?: string | undefined;
|
|
346
683
|
}[];
|
|
347
684
|
readonly btns: readonly {
|
|
348
685
|
readonly key: string;
|
|
@@ -356,6 +693,7 @@ rootRef: Readonly<unknown>;
|
|
|
356
693
|
findRef: (url: string) => PageMethods;
|
|
357
694
|
changeActiveTab: (key: string, params?: any) => void;
|
|
358
695
|
setTabHidden: (key: string, hidden: boolean) => void;
|
|
696
|
+
activeTab: string;
|
|
359
697
|
type: string;
|
|
360
698
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
361
699
|
addPageParams: (...args: any[]) => void;
|
|
@@ -375,6 +713,10 @@ pageRulePath: {
|
|
|
375
713
|
type: PropType<string>;
|
|
376
714
|
required: true;
|
|
377
715
|
};
|
|
716
|
+
styleType: {
|
|
717
|
+
type: PropType<"normal" | "modal" | "btn">;
|
|
718
|
+
required: true;
|
|
719
|
+
};
|
|
378
720
|
}>> & Readonly<{
|
|
379
721
|
onAddPageParams?: ((...args: any[]) => any) | undefined;
|
|
380
722
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
@@ -631,6 +973,26 @@ onChange?: string;
|
|
|
631
973
|
onSearchTypeChange: string;
|
|
632
974
|
}>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
633
975
|
|
|
976
|
+
declare const _default_9: DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_4<{
|
|
977
|
+
name: string;
|
|
978
|
+
children: FormItemType[];
|
|
979
|
+
formTitle: string;
|
|
980
|
+
onSearch: string;
|
|
981
|
+
onAiSearch: string;
|
|
982
|
+
inputPlaceholder: string;
|
|
983
|
+
hidden: boolean;
|
|
984
|
+
}>>, {
|
|
985
|
+
type: "floatcurd";
|
|
986
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_4<{
|
|
987
|
+
name: string;
|
|
988
|
+
children: FormItemType[];
|
|
989
|
+
formTitle: string;
|
|
990
|
+
onSearch: string;
|
|
991
|
+
onAiSearch: string;
|
|
992
|
+
inputPlaceholder: string;
|
|
993
|
+
hidden: boolean;
|
|
994
|
+
}>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
995
|
+
|
|
634
996
|
declare type DropdownType = {
|
|
635
997
|
key: string;
|
|
636
998
|
text: string;
|
|
@@ -658,6 +1020,8 @@ declare type ExtraRefTypeMap = {
|
|
|
658
1020
|
draglist: InstanceType<typeof _default_6> & ComponentPublicInstance;
|
|
659
1021
|
pagination: InstanceType<typeof _default_7> & ComponentPublicInstance;
|
|
660
1022
|
filterSearch: InstanceType<typeof _default_8> & ComponentPublicInstance;
|
|
1023
|
+
floatcurd: InstanceType<typeof _default_9> & ComponentPublicInstance;
|
|
1024
|
+
tree: InstanceType<typeof _default_10> & ComponentPublicInstance;
|
|
661
1025
|
};
|
|
662
1026
|
|
|
663
1027
|
declare type FindRefType<T extends keyof FindRefTypeMap> = FindRefTypeMap[T];
|
|
@@ -829,9 +1193,9 @@ declare type InfoCardSchema = {
|
|
|
829
1193
|
icon: {
|
|
830
1194
|
name: string;
|
|
831
1195
|
color?: string;
|
|
1196
|
+
tooltip?: string;
|
|
832
1197
|
};
|
|
833
1198
|
onClick?: string;
|
|
834
|
-
tooltip?: string;
|
|
835
1199
|
}[];
|
|
836
1200
|
avatarBgColor?: string;
|
|
837
1201
|
titleIcons?: {
|
|
@@ -1034,6 +1398,7 @@ export declare interface TableColumn {
|
|
|
1034
1398
|
iconPosition?: 'left' | 'right';
|
|
1035
1399
|
iconPopover?: boolean;
|
|
1036
1400
|
getIconPopoverContent?: string;
|
|
1401
|
+
getColPopoverContent?: string;
|
|
1037
1402
|
getCustomContent?: string;
|
|
1038
1403
|
noEllipsis?: boolean;
|
|
1039
1404
|
sortable?: boolean;
|
|
@@ -1045,6 +1410,7 @@ required: true;
|
|
|
1045
1410
|
type: PropType<TableSchema & {
|
|
1046
1411
|
cardless?: boolean;
|
|
1047
1412
|
shadowless?: boolean;
|
|
1413
|
+
style?: StyleValue;
|
|
1048
1414
|
}>;
|
|
1049
1415
|
};
|
|
1050
1416
|
modelValue: PropType<Array<any>>;
|
|
@@ -1095,6 +1461,8 @@ setColumn: <K extends keyof TableColumn>(key: string, keyName: K, keyValue: Tabl
|
|
|
1095
1461
|
setRowsBtnHidden: (btnKey: string, hidden: boolean) => void;
|
|
1096
1462
|
setShadowless: (shadowless: boolean) => void;
|
|
1097
1463
|
rootRef: Readonly<unknown>;
|
|
1464
|
+
mounted: () => Promise<void>;
|
|
1465
|
+
activated: () => Promise<void>;
|
|
1098
1466
|
type: "table";
|
|
1099
1467
|
design: boolean;
|
|
1100
1468
|
read: boolean;
|
|
@@ -1106,6 +1474,7 @@ required: true;
|
|
|
1106
1474
|
type: PropType<TableSchema & {
|
|
1107
1475
|
cardless?: boolean;
|
|
1108
1476
|
shadowless?: boolean;
|
|
1477
|
+
style?: StyleValue;
|
|
1109
1478
|
}>;
|
|
1110
1479
|
};
|
|
1111
1480
|
modelValue: PropType<Array<any>>;
|
|
@@ -1140,6 +1509,7 @@ declare type TableSchema = {
|
|
|
1140
1509
|
pageChange?: string;
|
|
1141
1510
|
topBtns?: BtnType[];
|
|
1142
1511
|
rowBtns?: (Omit<BtnType, 'hidden'> & {
|
|
1512
|
+
popoverProps?: any;
|
|
1143
1513
|
condition?: string | boolean;
|
|
1144
1514
|
buttonText?: {
|
|
1145
1515
|
text: string;
|
|
@@ -1164,6 +1534,8 @@ declare type TableSchema = {
|
|
|
1164
1534
|
height?: number;
|
|
1165
1535
|
collapsible?: boolean;
|
|
1166
1536
|
sortable?: boolean;
|
|
1537
|
+
paginationPosition?: 'top' | 'bottom';
|
|
1538
|
+
totalText: string;
|
|
1167
1539
|
};
|
|
1168
1540
|
|
|
1169
1541
|
declare type TabsSchema = {
|
|
@@ -1177,6 +1549,9 @@ declare type TabsSchema = {
|
|
|
1177
1549
|
isSticky?: boolean;
|
|
1178
1550
|
stickyTop?: number;
|
|
1179
1551
|
expandTop?: boolean;
|
|
1552
|
+
styleType?: 'modal' | 'btn' | 'normal';
|
|
1553
|
+
staticBtns: BtnType[];
|
|
1554
|
+
dynamicBtns: BtnType[];
|
|
1180
1555
|
content: {
|
|
1181
1556
|
label: string;
|
|
1182
1557
|
key?: string;
|
|
@@ -1186,6 +1561,7 @@ declare type TabsSchema = {
|
|
|
1186
1561
|
pageParams?: any;
|
|
1187
1562
|
mixMode?: boolean;
|
|
1188
1563
|
hidden?: boolean;
|
|
1564
|
+
icon?: string;
|
|
1189
1565
|
}[];
|
|
1190
1566
|
btns: Array<{
|
|
1191
1567
|
key: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as F, ref as S, inject as C, resolveComponent as p, openBlock as o, createBlock as d, mergeProps as $, withCtx as c, createElementVNode as r, normalizeClass as u, createElementBlock as s, createVNode as a, unref as m, createCommentVNode as t, toDisplayString as b, Fragment as h, renderList as y, withDirectives as M, vShow as E } from "vue";
|
|
2
|
-
import { a as P, I as v, b as _, B as V, _ as D } from "./index-
|
|
2
|
+
import { a as P, I as v, b as _, B as V, _ as D } from "./index-BOGnFXnC.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const N = {
|
|
5
5
|
key: 3,
|
|
@@ -124,7 +124,7 @@ funcName: ${e}`);
|
|
|
124
124
|
}, 16, ["class"]));
|
|
125
125
|
};
|
|
126
126
|
}
|
|
127
|
-
}), G = /* @__PURE__ */ D(H, [["__scopeId", "data-v-
|
|
127
|
+
}), G = /* @__PURE__ */ D(H, [["__scopeId", "data-v-804c7a5d"]]);
|
|
128
128
|
export {
|
|
129
129
|
G as default
|
|
130
130
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as f, mergeModels as g, useModel as h, inject as r, resolveComponent as C, openBlock as v, createBlock as y, mergeProps as M, unref as d } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
|
-
import { u as b } from "./useSelect-
|
|
3
|
+
import { u as b } from "./useSelect-koHM4kMI.js";
|
|
4
4
|
const k = /* @__PURE__ */ f({
|
|
5
5
|
__name: "Cascader",
|
|
6
6
|
props: /* @__PURE__ */ g({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as F, mergeModels as D, useModel as I, watch as O, resolveComponent as u, resolveDirective as P, unref as a, openBlock as l, createElementBlock as p, toDisplayString as S, withDirectives as $, createBlock as s, mergeProps as j, withCtx as h, Fragment as f, renderList as v, createCommentVNode as g } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
|
-
import { u as E, c as L } from "./index-
|
|
4
|
-
import { u as N } from "./useSelect-
|
|
3
|
+
import { u as E, c as L } from "./index-BOGnFXnC.js";
|
|
4
|
+
import { u as N } from "./useSelect-koHM4kMI.js";
|
|
5
5
|
const R = { key: 0 }, H = /* @__PURE__ */ F({
|
|
6
6
|
__name: "Checkbox",
|
|
7
7
|
props: /* @__PURE__ */ D({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as u, ref as f, onMounted as _, watch as h, resolveComponent as c, openBlock as o, createBlock as i, mergeProps as C, withCtx as r, createElementBlock as E, Fragment as k, renderList as v, createVNode as m, unref as V } from "vue";
|
|
2
|
-
import { b as y } from "./index-
|
|
2
|
+
import { b as y } from "./index-BOGnFXnC.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
import { _ as B } from "./Title.vue_vue_type_script_setup_true_lang-Ceco_9-w.js";
|
|
5
5
|
const b = /* @__PURE__ */ u({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as d, mergeModels as m, useModel as r, resolveComponent as u, openBlock as p, createBlock as i, mergeProps as c, unref as f } from "vue";
|
|
2
|
-
import { u as V } from "./index-
|
|
2
|
+
import { u as V } from "./index-BOGnFXnC.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const B = /* @__PURE__ */ d({
|
|
5
5
|
__name: "Component",
|