@aplus-frontend/ui 0.1.17 → 0.1.18

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.
Files changed (37) hide show
  1. package/es/src/ap-download/ap-download.vue.mjs +26 -26
  2. package/es/src/ap-table/ap-table.vue.mjs +55 -55
  3. package/es/src/business/ap-batch-action-group/interface.d.ts +1 -1
  4. package/es/src/business/ap-image/ApImage.vue.d.ts +2 -2
  5. package/es/src/business/ap-image/ApImage.vue2.mjs +1 -1
  6. package/es/src/business/ap-label/ApLabel.d.ts +141 -0
  7. package/es/src/business/ap-label/ApLabel.mjs +49 -0
  8. package/es/src/business/ap-label/ApLabelGroup.mjs +11 -12
  9. package/es/src/business/ap-label/constans.d.ts +65 -1
  10. package/es/src/business/ap-label/constans.mjs +33 -2
  11. package/es/src/business/ap-label/index.d.ts +1 -1
  12. package/es/src/business/ap-label/interface.d.ts +2 -1
  13. package/es/src/business/index.d.ts +166 -174
  14. package/es/src/business/index.mjs +18 -19
  15. package/es/src/pro-form/hooks/use-label-width.d.ts +1 -1
  16. package/lib/src/ap-download/ap-download.vue.js +1 -1
  17. package/lib/src/ap-table/ap-table.vue.js +1 -1
  18. package/lib/src/business/ap-batch-action-group/interface.d.ts +1 -1
  19. package/lib/src/business/ap-image/ApImage.vue.d.ts +2 -2
  20. package/lib/src/business/ap-image/ApImage.vue2.js +1 -1
  21. package/lib/src/business/ap-label/ApLabel.d.ts +141 -0
  22. package/lib/src/business/ap-label/ApLabel.js +1 -0
  23. package/lib/src/business/ap-label/ApLabelGroup.js +1 -1
  24. package/lib/src/business/ap-label/constans.d.ts +65 -1
  25. package/lib/src/business/ap-label/constans.js +1 -1
  26. package/lib/src/business/ap-label/index.d.ts +1 -1
  27. package/lib/src/business/ap-label/interface.d.ts +2 -1
  28. package/lib/src/business/index.d.ts +166 -174
  29. package/lib/src/business/index.js +1 -1
  30. package/lib/src/pro-form/hooks/use-label-width.d.ts +1 -1
  31. package/package.json +3 -3
  32. package/es/src/business/ap-label/ApLabel.vue.d.ts +0 -56
  33. package/es/src/business/ap-label/ApLabel.vue.mjs +0 -4
  34. package/es/src/business/ap-label/ApLabel.vue2.mjs +0 -85
  35. package/lib/src/business/ap-label/ApLabel.vue.d.ts +0 -56
  36. package/lib/src/business/ap-label/ApLabel.vue.js +0 -1
  37. package/lib/src/business/ap-label/ApLabel.vue2.js +0 -1
@@ -1,27 +1,23 @@
1
1
  import { ApTransformDataHelper } from '../utils/ap-trans-data';
2
- import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Plugin, CSSProperties, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement, DefineComponent } from 'vue';
2
+ import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Plugin, VNode, CSSProperties, RendererNode, RendererElement, PublicProps, ShallowUnwrapRef, DefineComponent } from 'vue';
3
3
  import { TooltipPlacement } from 'ant-design-vue/es/tooltip';
4
- import { LiteralUnion } from 'ant-design-vue/es/_util/type';
4
+ import { VueTypeValidableDef } from '../../node_modules/vue-types';
5
+ import { LiteralUnion, Key } from 'ant-design-vue/es/_util/type';
5
6
  import { ApStatusProps, ApStatusGroupItemProps } from './ap-status/interface';
6
7
  import { ApSelectItem } from './ap-select-layout/interface';
7
8
  import { ValueType } from 'ant-design-vue/es/input-number/src/utils/MiniDecimal';
8
9
  import { ApInputRadioOptions } from './ap-input-radio/interface';
9
- import { KeyboardEventHandler, MouseEventHandler } from 'ant-design-vue/es/_util/EventInterface';
10
+ import { KeyboardEventHandler, MouseEventHandler, FocusEventHandler } from 'ant-design-vue/es/_util/EventInterface';
10
11
  import { ApLabelGroupItemProps } from './ap-label/interface';
11
12
  import { ButtonType, ButtonShape, ButtonSize } from 'ant-design-vue/es/button';
12
13
  import { ButtonHTMLType } from 'ant-design-vue/es/button/buttonTypes';
13
- import { VueTypeValidableDef } from '../../node_modules/vue-types';
14
- import { ButtonType } from 'ant-design-vue/lib/button';
15
- import { ButtonHTMLType } from 'ant-design-vue/lib/button/buttonTypes';
16
- import { MouseEventHandler, FocusEventHandler } from 'ant-design-vue/lib/_util/EventInterface';
17
- import { DropdownArrowOptions, Trigger, Align } from 'ant-design-vue/lib/dropdown/props';
18
- import { ItemType, MenuTheme, MenuMode } from 'ant-design-vue/lib';
19
- import { Key } from 'ant-design-vue/lib/_util/type';
20
- import { CSSMotionProps } from 'ant-design-vue/lib/_util/transition';
21
- import { BuiltinPlacements, TriggerSubMenuAction, SelectEventHandler, MenuClickEventHandler } from 'ant-design-vue/lib/menu/src/interface';
14
+ import { DropdownArrowOptions, Trigger, Align } from 'ant-design-vue/es/dropdown/props';
15
+ import { ItemType, MenuTheme, MenuMode } from 'ant-design-vue';
16
+ import { CSSMotionProps } from 'ant-design-vue/es/_util/transition';
17
+ import { BuiltinPlacements, TriggerSubMenuAction, SelectEventHandler, MenuClickEventHandler } from 'ant-design-vue/es/menu/src/interface';
22
18
  import { ApBatchActionGroupMenuProps } from './ap-batch-action-group/interface';
23
19
  import { accessCreate } from '@aplus-frontend/oss';
24
- import { ImagePreviewType } from 'ant-design-vue/lib/vc-image';
20
+ import { ImagePreviewType } from 'ant-design-vue/es/vc-image';
25
21
  export type { ApTitleProps } from './title/interface';
26
22
  export type { ApExpandAlertProps } from './expandAlert/interface';
27
23
  export type { ApLabelProps, ApLabelGroupProps, ApLabelGroupItemProps } from './ap-label/interface';
@@ -366,142 +362,139 @@ export declare const ApExpandAlert: {
366
362
  });
367
363
  export declare const ApLabel: {
368
364
  new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
369
- size: {
370
- type: PropType<"small" | "default">;
371
- };
372
- title: {
373
- type: PropType<string>;
365
+ helpMessage: {
366
+ type: PropType< VNode | string | undefined>;
367
+ default: undefined;
374
368
  };
375
369
  placement: {
376
370
  type: PropType<TooltipPlacement>;
377
371
  default: string;
378
372
  };
379
- prefixCls: {
373
+ iconColor: {
380
374
  type: PropType<string>;
381
- };
382
- iconType: {
383
- type: PropType<"ellipsis" | "success" | "warning" | "question">;
384
375
  default: string;
385
376
  };
386
- text: {
387
- type: PropType<any>;
377
+ iconType: {
378
+ type: PropType<"question" | "warning" | "ellipsis" | "success">;
388
379
  default: string;
389
380
  };
390
- color: {
391
- type: PropType<LiteralUnion<"blue" | "purple" | "cyan" | "green" | "magenta" | "pink" | "red" | "orange" | "yellow" | "volcano" | "geekblue" | "lime" | "gold">>;
392
- };
393
381
  iconSize: {
394
382
  type: PropType<number>;
395
383
  default: number;
396
384
  };
397
- status: {
398
- type: PropType<"error" | "default" | "success" | "warning" | "processing">;
399
- default: string;
400
- };
401
- offset: {
402
- type: PropType<[string | number, string | number]>;
403
- };
404
385
  show: {
405
- type: PropType<boolean>;
386
+ type: BooleanConstructor;
406
387
  default: boolean;
407
388
  };
408
- dot: {
409
- type: PropType<boolean>;
410
- };
411
- helpMessage: {
389
+ toolTipBgColor: {
412
390
  type: PropType<string>;
413
391
  };
414
- count: {
415
- type: PropType<any>;
392
+ count: VueTypeValidableDef<any> & {
393
+ default: any;
416
394
  };
417
395
  showZero: {
418
- type: PropType<boolean>;
396
+ type: BooleanConstructor;
397
+ default: any;
419
398
  };
420
399
  overflowCount: {
421
- type: PropType<number>;
400
+ type: NumberConstructor;
401
+ default: number;
422
402
  };
423
- scrollNumberPrefixCls: {
424
- type: PropType<string>;
403
+ dot: {
404
+ type: BooleanConstructor;
405
+ default: any;
425
406
  };
426
- numberStyle: {
427
- type: PropType<CSSProperties>;
407
+ prefixCls: StringConstructor;
408
+ scrollNumberPrefixCls: StringConstructor;
409
+ status: {
410
+ type: PropType<"error" | "default" | "success" | "processing" | "warning">;
428
411
  };
429
- iconColor: {
430
- type: PropType<string>;
412
+ size: {
413
+ type: PropType<"default" | "small">;
431
414
  default: string;
432
415
  };
433
- }>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
434
- size: {
435
- type: PropType<"small" | "default">;
416
+ color: PropType<LiteralUnion<"blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "volcano" | "geekblue">>;
417
+ text: VueTypeValidableDef<any>;
418
+ offset: PropType<[string | number, string | number]>;
419
+ numberStyle: {
420
+ type: PropType<CSSProperties>;
421
+ default: CSSProperties;
436
422
  };
437
- title: {
438
- type: PropType<string>;
423
+ title: StringConstructor;
424
+ }>>, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
425
+ helpMessage: {
426
+ type: PropType< VNode | string | undefined>;
427
+ default: undefined;
439
428
  };
440
429
  placement: {
441
430
  type: PropType<TooltipPlacement>;
442
431
  default: string;
443
432
  };
444
- prefixCls: {
433
+ iconColor: {
445
434
  type: PropType<string>;
446
- };
447
- iconType: {
448
- type: PropType<"ellipsis" | "success" | "warning" | "question">;
449
435
  default: string;
450
436
  };
451
- text: {
452
- type: PropType<any>;
437
+ iconType: {
438
+ type: PropType<"question" | "warning" | "ellipsis" | "success">;
453
439
  default: string;
454
440
  };
455
- color: {
456
- type: PropType<LiteralUnion<"blue" | "purple" | "cyan" | "green" | "magenta" | "pink" | "red" | "orange" | "yellow" | "volcano" | "geekblue" | "lime" | "gold">>;
457
- };
458
441
  iconSize: {
459
442
  type: PropType<number>;
460
443
  default: number;
461
444
  };
462
- status: {
463
- type: PropType<"error" | "default" | "success" | "warning" | "processing">;
464
- default: string;
465
- };
466
- offset: {
467
- type: PropType<[string | number, string | number]>;
468
- };
469
445
  show: {
470
- type: PropType<boolean>;
446
+ type: BooleanConstructor;
471
447
  default: boolean;
472
448
  };
473
- dot: {
474
- type: PropType<boolean>;
475
- };
476
- helpMessage: {
449
+ toolTipBgColor: {
477
450
  type: PropType<string>;
478
451
  };
479
- count: {
480
- type: PropType<any>;
452
+ count: VueTypeValidableDef<any> & {
453
+ default: any;
481
454
  };
482
455
  showZero: {
483
- type: PropType<boolean>;
456
+ type: BooleanConstructor;
457
+ default: any;
484
458
  };
485
459
  overflowCount: {
486
- type: PropType<number>;
460
+ type: NumberConstructor;
461
+ default: number;
487
462
  };
488
- scrollNumberPrefixCls: {
489
- type: PropType<string>;
463
+ dot: {
464
+ type: BooleanConstructor;
465
+ default: any;
490
466
  };
491
- numberStyle: {
492
- type: PropType<CSSProperties>;
467
+ prefixCls: StringConstructor;
468
+ scrollNumberPrefixCls: StringConstructor;
469
+ status: {
470
+ type: PropType<"error" | "default" | "success" | "processing" | "warning">;
493
471
  };
494
- iconColor: {
495
- type: PropType<string>;
472
+ size: {
473
+ type: PropType<"default" | "small">;
496
474
  default: string;
497
475
  };
476
+ color: PropType<LiteralUnion<"blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "volcano" | "geekblue">>;
477
+ text: VueTypeValidableDef<any>;
478
+ offset: PropType<[string | number, string | number]>;
479
+ numberStyle: {
480
+ type: PropType<CSSProperties>;
481
+ default: CSSProperties;
482
+ };
483
+ title: StringConstructor;
498
484
  }>>, {
485
+ size: "small" | "default";
499
486
  placement: TooltipPlacement;
500
- iconType: "question" | "warning" | "ellipsis" | "success";
501
- text: any;
487
+ iconType: "ellipsis" | "success" | "warning" | "question";
502
488
  iconSize: number;
503
- status: "error" | "default" | "success" | "warning" | "processing";
504
489
  show: boolean;
490
+ dot: boolean;
491
+ helpMessage: string | VNode<RendererNode, RendererElement, {
492
+ [key: string]: any;
493
+ }> | undefined;
494
+ count: any;
495
+ showZero: boolean;
496
+ overflowCount: number;
497
+ numberStyle: CSSProperties;
505
498
  iconColor: string;
506
499
  }, true, {}, {}, {
507
500
  P: {};
@@ -511,161 +504,160 @@ export declare const ApLabel: {
511
504
  M: {};
512
505
  Defaults: {};
513
506
  }, Readonly< ExtractPropTypes<{
514
- size: {
515
- type: PropType<"small" | "default">;
516
- };
517
- title: {
518
- type: PropType<string>;
507
+ helpMessage: {
508
+ type: PropType< VNode | string | undefined>;
509
+ default: undefined;
519
510
  };
520
511
  placement: {
521
512
  type: PropType<TooltipPlacement>;
522
513
  default: string;
523
514
  };
524
- prefixCls: {
515
+ iconColor: {
525
516
  type: PropType<string>;
526
- };
527
- iconType: {
528
- type: PropType<"ellipsis" | "success" | "warning" | "question">;
529
517
  default: string;
530
518
  };
531
- text: {
532
- type: PropType<any>;
519
+ iconType: {
520
+ type: PropType<"question" | "warning" | "ellipsis" | "success">;
533
521
  default: string;
534
522
  };
535
- color: {
536
- type: PropType<LiteralUnion<"blue" | "purple" | "cyan" | "green" | "magenta" | "pink" | "red" | "orange" | "yellow" | "volcano" | "geekblue" | "lime" | "gold">>;
537
- };
538
523
  iconSize: {
539
524
  type: PropType<number>;
540
525
  default: number;
541
526
  };
542
- status: {
543
- type: PropType<"error" | "default" | "success" | "warning" | "processing">;
544
- default: string;
545
- };
546
- offset: {
547
- type: PropType<[string | number, string | number]>;
548
- };
549
527
  show: {
550
- type: PropType<boolean>;
528
+ type: BooleanConstructor;
551
529
  default: boolean;
552
530
  };
553
- dot: {
554
- type: PropType<boolean>;
555
- };
556
- helpMessage: {
531
+ toolTipBgColor: {
557
532
  type: PropType<string>;
558
533
  };
559
- count: {
560
- type: PropType<any>;
534
+ count: VueTypeValidableDef<any> & {
535
+ default: any;
561
536
  };
562
537
  showZero: {
563
- type: PropType<boolean>;
538
+ type: BooleanConstructor;
539
+ default: any;
564
540
  };
565
541
  overflowCount: {
566
- type: PropType<number>;
542
+ type: NumberConstructor;
543
+ default: number;
567
544
  };
568
- scrollNumberPrefixCls: {
569
- type: PropType<string>;
545
+ dot: {
546
+ type: BooleanConstructor;
547
+ default: any;
570
548
  };
571
- numberStyle: {
572
- type: PropType<CSSProperties>;
549
+ prefixCls: StringConstructor;
550
+ scrollNumberPrefixCls: StringConstructor;
551
+ status: {
552
+ type: PropType<"error" | "default" | "success" | "processing" | "warning">;
573
553
  };
574
- iconColor: {
575
- type: PropType<string>;
554
+ size: {
555
+ type: PropType<"default" | "small">;
576
556
  default: string;
577
557
  };
578
- }>>, {}, {}, {}, {}, {
558
+ color: PropType<LiteralUnion<"blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "volcano" | "geekblue">>;
559
+ text: VueTypeValidableDef<any>;
560
+ offset: PropType<[string | number, string | number]>;
561
+ numberStyle: {
562
+ type: PropType<CSSProperties>;
563
+ default: CSSProperties;
564
+ };
565
+ title: StringConstructor;
566
+ }>>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
567
+ size: "small" | "default";
579
568
  placement: TooltipPlacement;
580
- iconType: "question" | "warning" | "ellipsis" | "success";
581
- text: any;
569
+ iconType: "ellipsis" | "success" | "warning" | "question";
582
570
  iconSize: number;
583
- status: "error" | "default" | "success" | "warning" | "processing";
584
571
  show: boolean;
572
+ dot: boolean;
573
+ helpMessage: string | VNode<RendererNode, RendererElement, {
574
+ [key: string]: any;
575
+ }> | undefined;
576
+ count: any;
577
+ showZero: boolean;
578
+ overflowCount: number;
579
+ numberStyle: CSSProperties;
585
580
  iconColor: string;
586
581
  }>;
587
582
  __isFragment?: never;
588
583
  __isTeleport?: never;
589
584
  __isSuspense?: never;
590
585
  } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
591
- size: {
592
- type: PropType<"small" | "default">;
593
- };
594
- title: {
595
- type: PropType<string>;
586
+ helpMessage: {
587
+ type: PropType< VNode | string | undefined>;
588
+ default: undefined;
596
589
  };
597
590
  placement: {
598
591
  type: PropType<TooltipPlacement>;
599
592
  default: string;
600
593
  };
601
- prefixCls: {
594
+ iconColor: {
602
595
  type: PropType<string>;
603
- };
604
- iconType: {
605
- type: PropType<"ellipsis" | "success" | "warning" | "question">;
606
596
  default: string;
607
597
  };
608
- text: {
609
- type: PropType<any>;
598
+ iconType: {
599
+ type: PropType<"question" | "warning" | "ellipsis" | "success">;
610
600
  default: string;
611
601
  };
612
- color: {
613
- type: PropType<LiteralUnion<"blue" | "purple" | "cyan" | "green" | "magenta" | "pink" | "red" | "orange" | "yellow" | "volcano" | "geekblue" | "lime" | "gold">>;
614
- };
615
602
  iconSize: {
616
603
  type: PropType<number>;
617
604
  default: number;
618
605
  };
619
- status: {
620
- type: PropType<"error" | "default" | "success" | "warning" | "processing">;
621
- default: string;
622
- };
623
- offset: {
624
- type: PropType<[string | number, string | number]>;
625
- };
626
606
  show: {
627
- type: PropType<boolean>;
607
+ type: BooleanConstructor;
628
608
  default: boolean;
629
609
  };
630
- dot: {
631
- type: PropType<boolean>;
632
- };
633
- helpMessage: {
610
+ toolTipBgColor: {
634
611
  type: PropType<string>;
635
612
  };
636
- count: {
637
- type: PropType<any>;
613
+ count: VueTypeValidableDef<any> & {
614
+ default: any;
638
615
  };
639
616
  showZero: {
640
- type: PropType<boolean>;
617
+ type: BooleanConstructor;
618
+ default: any;
641
619
  };
642
620
  overflowCount: {
643
- type: PropType<number>;
621
+ type: NumberConstructor;
622
+ default: number;
644
623
  };
645
- scrollNumberPrefixCls: {
646
- type: PropType<string>;
624
+ dot: {
625
+ type: BooleanConstructor;
626
+ default: any;
647
627
  };
648
- numberStyle: {
649
- type: PropType<CSSProperties>;
628
+ prefixCls: StringConstructor;
629
+ scrollNumberPrefixCls: StringConstructor;
630
+ status: {
631
+ type: PropType<"error" | "default" | "success" | "processing" | "warning">;
650
632
  };
651
- iconColor: {
652
- type: PropType<string>;
633
+ size: {
634
+ type: PropType<"default" | "small">;
653
635
  default: string;
654
636
  };
655
- }>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
637
+ color: PropType<LiteralUnion<"blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "volcano" | "geekblue">>;
638
+ text: VueTypeValidableDef<any>;
639
+ offset: PropType<[string | number, string | number]>;
640
+ numberStyle: {
641
+ type: PropType<CSSProperties>;
642
+ default: CSSProperties;
643
+ };
644
+ title: StringConstructor;
645
+ }>>, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
646
+ size: "small" | "default";
656
647
  placement: TooltipPlacement;
657
- iconType: "question" | "warning" | "ellipsis" | "success";
658
- text: any;
648
+ iconType: "ellipsis" | "success" | "warning" | "question";
659
649
  iconSize: number;
660
- status: "error" | "default" | "success" | "warning" | "processing";
661
650
  show: boolean;
651
+ dot: boolean;
652
+ helpMessage: string | VNode<RendererNode, RendererElement, {
653
+ [key: string]: any;
654
+ }> | undefined;
655
+ count: any;
656
+ showZero: boolean;
657
+ overflowCount: number;
658
+ numberStyle: CSSProperties;
662
659
  iconColor: string;
663
- }, {}, string, {}> & ( VNodeProps & AllowedComponentProps & ( ComponentCustomProps & (new () => {
664
- $slots: {
665
- default?(_: {}): any;
666
- custom?(_: {}): any;
667
- };
668
- }) & ( Plugin & (new (...args: any[]) => {
660
+ }, {}, string, {}> & ( VNodeProps & ( AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
669
661
  $props: {
670
662
  onClick?: () => void;
671
663
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@aplus-frontend/utils");require("./title/ApTitle.vue.js");require("./expandAlert/ApExpandAlert.vue.js");require("./ap-label/ApLabel.vue.js");const t=require("./ap-label/ApLabelGroup.js");require("./ap-status/ApStatus.vue.js");require("./ap-status/ApStatusGroup.vue.js");require("./ap-select-layout/select-layout.vue.js");require("./ap-export-group/ApExportGroup.vue.js");require("./ap-input-radio/ApInputRadio.vue.js");require("./ap-batch-action/ApBatchAction.vue.js");require("./ap-batch-action-group/ApBatchActionGroup.vue.js");require("./ap-image/ApImage.vue.js");const u=require("../utils/ap-trans-data/index.js");require("./ap-batch-action-group/interface.js");const r=require("./title/ApTitle.vue2.js"),p=require("./expandAlert/ApExpandAlert.vue2.js"),_=require("./ap-label/ApLabel.vue2.js"),a=require("./ap-status/ApStatus.vue2.js"),s=require("./ap-status/ApStatusGroup.vue2.js"),i=require("./ap-select-layout/select-layout.vue2.js"),n=require("./ap-export-group/ApExportGroup.vue2.js"),o=require("./ap-input-radio/ApInputRadio.vue2.js"),l=require("./ap-batch-action/ApBatchAction.vue2.js"),c=require("./ap-batch-action-group/ApBatchActionGroup.vue2.js"),A=require("./ap-image/ApImage.vue2.js"),q=e.withInstall(r.default),v=p.default,d=e.withInstall(_.default),g=e.withInstall(a.default),y=e.withInstall(s.default),f=e.withInstall(i.default),h=e.withInstall(n.default),G=o.default,I=l.default,S=t.default,L=c.default,b=A.default;exports.ApTransformDataHelper=u.ApTransformDataHelper;exports.ApBatchAction=I;exports.ApBatchActionGroup=L;exports.ApExpandAlert=v;exports.ApExportGroup=h;exports.ApImage=b;exports.ApInputRadio=G;exports.ApLabel=d;exports.ApLabelGroup=S;exports.ApSelectLayout=f;exports.ApStatus=g;exports.ApStatusGroup=y;exports.ApTitle=q;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@aplus-frontend/utils");require("./title/ApTitle.vue.js");require("./expandAlert/ApExpandAlert.vue.js");const t=require("./ap-label/ApLabel.js"),u=require("./ap-label/ApLabelGroup.js");require("./ap-status/ApStatus.vue.js");require("./ap-status/ApStatusGroup.vue.js");require("./ap-select-layout/select-layout.vue.js");require("./ap-export-group/ApExportGroup.vue.js");require("./ap-input-radio/ApInputRadio.vue.js");require("./ap-batch-action/ApBatchAction.vue.js");require("./ap-batch-action-group/ApBatchActionGroup.vue.js");require("./ap-image/ApImage.vue.js");const r=require("../utils/ap-trans-data/index.js");require("./ap-batch-action-group/interface.js");const p=require("./title/ApTitle.vue2.js"),_=require("./expandAlert/ApExpandAlert.vue2.js"),a=require("./ap-status/ApStatus.vue2.js"),s=require("./ap-status/ApStatusGroup.vue2.js"),n=require("./ap-select-layout/select-layout.vue2.js"),o=require("./ap-export-group/ApExportGroup.vue2.js"),i=require("./ap-input-radio/ApInputRadio.vue2.js"),l=require("./ap-batch-action/ApBatchAction.vue2.js"),c=require("./ap-batch-action-group/ApBatchActionGroup.vue2.js"),A=require("./ap-image/ApImage.vue2.js"),q=e.withInstall(p.default),d=_.default,v=e.withInstall(t.default),f=e.withInstall(a.default),g=e.withInstall(s.default),y=e.withInstall(n.default),h=e.withInstall(o.default),G=i.default,I=l.default,S=u.default,L=c.default,b=A.default;exports.ApTransformDataHelper=r.ApTransformDataHelper;exports.ApBatchAction=I;exports.ApBatchActionGroup=L;exports.ApExpandAlert=d;exports.ApExportGroup=h;exports.ApImage=b;exports.ApInputRadio=G;exports.ApLabel=v;exports.ApLabelGroup=S;exports.ApSelectLayout=y;exports.ApStatus=f;exports.ApStatusGroup=g;exports.ApTitle=q;
@@ -1,6 +1,6 @@
1
1
  import { Ref, ComputedRef, ExtractPropTypes, PropType, HTMLAttributes } from 'vue';
2
2
  import { ProFormProps, FormSchemaInner as FormSchema } from '../types/form';
3
- import { ColSize } from 'ant-design-vue/lib/grid';
3
+ import { ColSize } from 'ant-design-vue/lib/grid/Col';
4
4
  export declare function useItemLabelWidth(schemaItemRef: Ref<FormSchema>, propsRef: Ref<ProFormProps>): ComputedRef<{
5
5
  labelCol: Partial< ExtractPropTypes<{
6
6
  span: (StringConstructor | NumberConstructor)[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aplus-frontend/ui",
3
- "version": "0.1.17",
3
+ "version": "0.1.18",
4
4
  "main": "lib/index.js",
5
5
  "module": "es/index.mjs",
6
6
  "files": [
@@ -60,8 +60,8 @@
60
60
  "mime": "^4.0.3",
61
61
  "scroll-into-view-if-needed": "^3.1.0",
62
62
  "sortablejs": "^1.15.2",
63
- "@aplus-frontend/hooks": "1.0.7",
64
- "@aplus-frontend/utils": "1.0.32"
63
+ "@aplus-frontend/utils": "1.0.32",
64
+ "@aplus-frontend/hooks": "1.0.7"
65
65
  },
66
66
  "peerDependencies": {
67
67
  "@aplus-frontend/icon": "^1.0.21",
@@ -1,56 +0,0 @@
1
- import { ApLabelProps } from './interface';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
- import { TooltipPlacement } from 'ant-design-vue/es/tooltip';
4
- declare function __VLS_template(): {
5
- default?(_: {}): any;
6
- custom?(_: {}): any;
7
- };
8
- declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApLabelProps>, {
9
- status: string;
10
- placement: string;
11
- iconColor: string;
12
- iconType: string;
13
- iconSize: number;
14
- text: string;
15
- show: boolean;
16
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApLabelProps>, {
17
- status: string;
18
- placement: string;
19
- iconColor: string;
20
- iconType: string;
21
- iconSize: number;
22
- text: string;
23
- show: boolean;
24
- }>>>, {
25
- placement: TooltipPlacement;
26
- iconType: "question" | "warning" | "ellipsis" | "success";
27
- text: any;
28
- iconSize: number;
29
- status: "error" | "default" | "success" | "warning" | "processing";
30
- show: boolean;
31
- iconColor: string;
32
- }, {}>;
33
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
34
- export default _default;
35
- type __VLS_WithDefaults<P, D> = {
36
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
37
- default: D[K];
38
- }> : P[K];
39
- };
40
- type __VLS_Prettify<T> = {
41
- [K in keyof T]: T[K];
42
- } & {};
43
- type __VLS_WithTemplateSlots<T, S> = T & {
44
- new (): {
45
- $slots: S;
46
- };
47
- };
48
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
49
- type __VLS_TypePropsToOption<T> = {
50
- [K in keyof T]-?: {} extends Pick<T, K> ? {
51
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
52
- } : {
53
- type: PropType<T[K]>;
54
- required: true;
55
- };
56
- };
@@ -1,4 +0,0 @@
1
- import f from "./ApLabel.vue2.mjs";
2
- export {
3
- f as default
4
- };