@aplus-frontend/ui 0.1.16 → 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 (104) hide show
  1. package/es/index.mjs +60 -58
  2. package/es/src/ap-download/ap-download.vue.mjs +26 -26
  3. package/es/src/ap-form/ap-form-item-group/index.vue.mjs +26 -24
  4. package/es/src/ap-modal/index.d.ts +2 -2
  5. package/es/src/ap-modal/index.mjs +1 -1
  6. package/es/src/ap-modal/{type.d.ts → interface.d.ts} +3 -3
  7. package/es/src/ap-modal/utils/createModal.d.ts +1 -1
  8. package/es/src/ap-table/ap-table.vue.mjs +40 -40
  9. package/es/src/ap-table/interface.d.ts +2 -3
  10. package/es/src/ap-table/utils.d.ts +1 -1
  11. package/es/src/ap-table/utils.mjs +20 -20
  12. package/es/src/business/ap-batch-action/index.css +2 -0
  13. package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue.d.ts +13 -0
  14. package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue.mjs +4 -0
  15. package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +110 -0
  16. package/es/src/business/ap-batch-action-group/MenuItemGroup.vue.d.ts +17 -0
  17. package/es/src/business/ap-batch-action-group/MenuItemGroup.vue.mjs +4 -0
  18. package/es/src/business/ap-batch-action-group/MenuItemGroup.vue2.mjs +50 -0
  19. package/es/src/business/ap-batch-action-group/interface.d.ts +41 -0
  20. package/es/src/business/ap-batch-action-group/interface.mjs +1 -0
  21. package/es/src/business/ap-image/ApImage.vue.d.ts +65 -0
  22. package/es/src/business/ap-image/ApImage.vue.mjs +4 -0
  23. package/es/src/business/ap-image/ApImage.vue2.mjs +56 -0
  24. package/es/src/business/ap-image/hooks/useOss.d.ts +11 -0
  25. package/es/src/business/ap-image/hooks/useOss.mjs +37 -0
  26. package/es/src/business/ap-image/imgs/admin-fallback.jpg.mjs +4 -0
  27. package/es/src/business/ap-image/imgs/aplus-fallback.jpg.mjs +4 -0
  28. package/es/src/business/ap-label/ApLabel.d.ts +141 -0
  29. package/es/src/business/ap-label/ApLabel.mjs +49 -0
  30. package/es/src/business/ap-label/ApLabelGroup.mjs +11 -12
  31. package/es/src/business/ap-label/constans.d.ts +65 -1
  32. package/es/src/business/ap-label/constans.mjs +33 -2
  33. package/es/src/business/ap-label/index.d.ts +1 -1
  34. package/es/src/business/ap-label/interface.d.ts +2 -1
  35. package/es/src/business/index.d.ts +815 -164
  36. package/es/src/business/index.mjs +26 -20
  37. package/es/src/config-provider/constants.d.ts +1 -1
  38. package/es/src/editable-table/form-item.vue.mjs +47 -46
  39. package/es/src/editable-table/hooks/use-get-columns.d.ts +3 -2
  40. package/es/src/editable-table/hooks/use-get-columns.mjs +32 -32
  41. package/es/src/editable-table/index.vue.mjs +81 -80
  42. package/es/src/editable-table/interface.d.ts +7 -13
  43. package/es/src/editable-table/utils.d.ts +14 -2
  44. package/es/src/editable-table/utils.mjs +67 -58
  45. package/es/src/index.mjs +202 -200
  46. package/es/src/locale/lang/en.mjs +10 -7
  47. package/es/src/locale/lang/zh-cn.mjs +3 -0
  48. package/es/src/theme/ap-batch-action/ap-batch-action.css +2 -0
  49. package/lib/index.js +1 -1
  50. package/lib/src/ap-download/ap-download.vue.js +1 -1
  51. package/lib/src/ap-form/ap-form-item-group/index.vue.js +1 -1
  52. package/lib/src/ap-modal/index.d.ts +2 -2
  53. package/lib/src/ap-modal/index.js +1 -1
  54. package/lib/src/ap-modal/{type.d.ts → interface.d.ts} +3 -3
  55. package/lib/src/ap-modal/utils/createModal.d.ts +1 -1
  56. package/lib/src/ap-table/ap-table.vue.js +1 -1
  57. package/lib/src/ap-table/interface.d.ts +2 -3
  58. package/lib/src/ap-table/utils.d.ts +1 -1
  59. package/lib/src/ap-table/utils.js +1 -1
  60. package/lib/src/business/ap-batch-action/index.css +2 -0
  61. package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue.d.ts +13 -0
  62. package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue.js +1 -0
  63. package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.js +1 -0
  64. package/lib/src/business/ap-batch-action-group/MenuItemGroup.vue.d.ts +17 -0
  65. package/lib/src/business/ap-batch-action-group/MenuItemGroup.vue.js +1 -0
  66. package/lib/src/business/ap-batch-action-group/MenuItemGroup.vue2.js +1 -0
  67. package/lib/src/business/ap-batch-action-group/interface.d.ts +41 -0
  68. package/lib/src/business/ap-batch-action-group/interface.js +1 -0
  69. package/lib/src/business/ap-image/ApImage.vue.d.ts +65 -0
  70. package/lib/src/business/{ap-label/ApLabel.vue.js → ap-image/ApImage.vue.js} +1 -1
  71. package/lib/src/business/ap-image/ApImage.vue2.js +1 -0
  72. package/lib/src/business/ap-image/hooks/useOss.d.ts +11 -0
  73. package/lib/src/business/ap-image/hooks/useOss.js +1 -0
  74. package/lib/src/business/ap-image/imgs/admin-fallback.jpg.js +1 -0
  75. package/lib/src/business/ap-image/imgs/aplus-fallback.jpg.js +1 -0
  76. package/lib/src/business/ap-label/ApLabel.d.ts +141 -0
  77. package/lib/src/business/ap-label/ApLabel.js +1 -0
  78. package/lib/src/business/ap-label/ApLabelGroup.js +1 -1
  79. package/lib/src/business/ap-label/constans.d.ts +65 -1
  80. package/lib/src/business/ap-label/constans.js +1 -1
  81. package/lib/src/business/ap-label/index.d.ts +1 -1
  82. package/lib/src/business/ap-label/interface.d.ts +2 -1
  83. package/lib/src/business/index.d.ts +815 -164
  84. package/lib/src/business/index.js +1 -1
  85. package/lib/src/config-provider/constants.d.ts +1 -1
  86. package/lib/src/editable-table/form-item.vue.js +1 -1
  87. package/lib/src/editable-table/hooks/use-get-columns.d.ts +3 -2
  88. package/lib/src/editable-table/hooks/use-get-columns.js +1 -1
  89. package/lib/src/editable-table/index.vue.js +1 -1
  90. package/lib/src/editable-table/interface.d.ts +7 -13
  91. package/lib/src/editable-table/utils.d.ts +14 -2
  92. package/lib/src/editable-table/utils.js +1 -1
  93. package/lib/src/index.js +1 -1
  94. package/lib/src/locale/lang/en.js +1 -1
  95. package/lib/src/locale/lang/zh-cn.js +1 -1
  96. package/lib/src/theme/ap-batch-action/ap-batch-action.css +2 -0
  97. package/package.json +3 -3
  98. package/es/src/business/ap-label/ApLabel.vue.d.ts +0 -56
  99. package/es/src/business/ap-label/ApLabel.vue.mjs +0 -4
  100. package/es/src/business/ap-label/ApLabel.vue2.mjs +0 -85
  101. package/lib/src/business/ap-label/ApLabel.vue.d.ts +0 -56
  102. package/lib/src/business/ap-label/ApLabel.vue2.js +0 -1
  103. /package/es/src/ap-modal/{type.mjs → interface.mjs} +0 -0
  104. /package/lib/src/ap-modal/{type.js → interface.js} +0 -0
@@ -1,5 +1,8 @@
1
- import { PropType } from 'vue';
1
+ import { PropType, VNode, CSSProperties } from 'vue';
2
2
  import { ApLabelGroupItemProps } from './interface';
3
+ import { TooltipPlacement } from 'ant-design-vue/es/Tooltip';
4
+ import { VueTypeValidableDef } from '../../../node_modules/vue-types';
5
+ import { LiteralUnion } from 'ant-design-vue/es/_util/type';
3
6
  export declare const ApLabelGroupProps: () => {
4
7
  value: {
5
8
  type: PropType<string | number | undefined>;
@@ -18,3 +21,64 @@ export declare const ApLabelGroupProps: () => {
18
21
  default: null;
19
22
  };
20
23
  };
24
+ export declare const ApLabelProps: () => {
25
+ helpMessage: {
26
+ type: PropType<VNode | string | undefined>;
27
+ default: undefined;
28
+ };
29
+ placement: {
30
+ type: PropType<TooltipPlacement>;
31
+ default: string;
32
+ };
33
+ iconColor: {
34
+ type: PropType<string>;
35
+ default: string;
36
+ };
37
+ iconType: {
38
+ type: PropType<"question" | "warning" | "ellipsis" | "success">;
39
+ default: string;
40
+ };
41
+ iconSize: {
42
+ type: PropType<number>;
43
+ default: number;
44
+ };
45
+ show: {
46
+ type: BooleanConstructor;
47
+ default: boolean;
48
+ };
49
+ toolTipBgColor: {
50
+ type: PropType<string>;
51
+ };
52
+ count: VueTypeValidableDef<any> & {
53
+ default: any;
54
+ };
55
+ showZero: {
56
+ type: BooleanConstructor;
57
+ default: any;
58
+ };
59
+ overflowCount: {
60
+ type: NumberConstructor;
61
+ default: number;
62
+ };
63
+ dot: {
64
+ type: BooleanConstructor;
65
+ default: any;
66
+ };
67
+ prefixCls: StringConstructor;
68
+ scrollNumberPrefixCls: StringConstructor;
69
+ status: {
70
+ type: PropType<"error" | "default" | "success" | "processing" | "warning">;
71
+ };
72
+ size: {
73
+ type: PropType<"default" | "small">;
74
+ default: string;
75
+ };
76
+ color: PropType< LiteralUnion<"blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "volcano" | "geekblue">>;
77
+ text: VueTypeValidableDef<any>;
78
+ offset: PropType<[string | number, string | number]>;
79
+ numberStyle: {
80
+ type: PropType< CSSProperties>;
81
+ default: CSSProperties;
82
+ };
83
+ title: StringConstructor;
84
+ };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=()=>({value:{type:String,default:void 0},tagValue:{type:String,default:void 0},columns:{type:Array,default:null},record:{type:Object,default:null}});exports.ApLabelGroupProps=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("ant-design-vue/es/badge/Badge"),t=()=>({value:{type:String,default:void 0},tagValue:{type:String,default:void 0},columns:{type:Array,default:null},record:{type:Object,default:null}}),o=()=>({...e.badgeProps(),helpMessage:{type:String,default:void 0},placement:{type:String,default:"top"},iconColor:{type:String,default:"#FF4D4F"},iconType:{type:String,default:"question"},iconSize:{type:Number,default:16},show:{type:Boolean,default:!0},toolTipBgColor:{type:String}});exports.ApLabelGroupProps=t;exports.ApLabelProps=o;
@@ -1,3 +1,3 @@
1
- import { default as ApLabel } from './ApLabel.vue';
1
+ import { default as ApLabel } from './ApLabel';
2
2
  export * from './interface';
3
3
  export { ApLabel };
@@ -4,12 +4,13 @@ import { TagProps } from 'ant-design-vue/es/Tag';
4
4
  import { VNode, VNodeChild } from 'vue';
5
5
  type Recordable = Record<string, any>;
6
6
  export type ApLabelProps = BadgeProps & Partial<{
7
- helpMessage: string;
7
+ helpMessage: VNode | string | undefined;
8
8
  placement: TooltipPlacement;
9
9
  iconColor: string;
10
10
  iconType: 'question' | 'warning' | 'ellipsis' | 'success';
11
11
  iconSize: number;
12
12
  show: boolean;
13
+ toolTipBgColor: string;
13
14
  }>;
14
15
  export type tagConfigKey = TagProps & {
15
16
  value: number | string | undefined | null;