@aplus-frontend/ui 6.17.0 → 6.17.2

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 (253) hide show
  1. package/es/src/ap-action/group/index.vue.mjs +3 -3
  2. package/es/src/ap-action/item/index.vue2.mjs +5 -5
  3. package/es/src/ap-action/item-dropdown/index.vue.mjs +7 -7
  4. package/es/src/ap-action/item-modal/index.vue.mjs +2 -2
  5. package/es/src/ap-action/item-popconfirm/index.vue.mjs +2 -2
  6. package/es/src/ap-button/ap-action-button.vue.mjs +2 -2
  7. package/es/src/ap-button/ap-button.vue.mjs +2 -2
  8. package/es/src/ap-button/ap-confirm-button.vue.mjs +2 -2
  9. package/es/src/ap-descriptions/ap-descriptions.vue.mjs +4 -4
  10. package/es/src/ap-descriptions/help-message/index.vue2.mjs +4 -4
  11. package/es/src/ap-download/ap-download.vue.mjs +1 -1
  12. package/es/src/ap-drawer/components/ApDrawerClose.vue2.mjs +2 -2
  13. package/es/src/ap-field/checkbox/index.vue.mjs +1 -1
  14. package/es/src/ap-field/date/index.vue.mjs +4 -4
  15. package/es/src/ap-field/date-range/index.vue.mjs +8 -8
  16. package/es/src/ap-field/index.mjs +36 -36
  17. package/es/src/ap-field/number/index.vue.mjs +8 -8
  18. package/es/src/ap-field/radio/index.vue.mjs +1 -1
  19. package/es/src/ap-field/rate/index.vue.mjs +2 -2
  20. package/es/src/ap-field/segmented/index.vue.mjs +1 -1
  21. package/es/src/ap-field/select/index.vue.mjs +2 -2
  22. package/es/src/ap-field/select/use-select-options.d.ts +2 -2
  23. package/es/src/ap-field/slider/index.vue.mjs +4 -4
  24. package/es/src/ap-field/switch/index.vue.mjs +3 -3
  25. package/es/src/ap-field/text/index.vue2.mjs +2 -2
  26. package/es/src/ap-field/text/password.vue.mjs +2 -2
  27. package/es/src/ap-field/text-area/index.vue.mjs +3 -3
  28. package/es/src/ap-field/tree-select/index.vue.mjs +3 -3
  29. package/es/src/ap-field/tree-select/use-request.d.ts +4 -4
  30. package/es/src/ap-form/ap-form.vue.d.ts +2 -1
  31. package/es/src/ap-form/ap-form.vue2.mjs +2 -2
  32. package/es/src/ap-form/drawer-form/index.vue.d.ts +4 -3
  33. package/es/src/ap-form/drawer-form/index.vue.mjs +9 -9
  34. package/es/src/ap-form/item/index.vue.mjs +7 -7
  35. package/es/src/ap-form/item-group/index.vue.mjs +1 -1
  36. package/es/src/ap-form/items/checkbox/index.vue.mjs +2 -2
  37. package/es/src/ap-form/items/date/index.vue.mjs +2 -2
  38. package/es/src/ap-form/items/date-range/index.vue.mjs +2 -2
  39. package/es/src/ap-form/items/number/index.vue.mjs +2 -2
  40. package/es/src/ap-form/items/radio/index.vue.mjs +2 -2
  41. package/es/src/ap-form/items/select/index.vue.d.ts +6 -6
  42. package/es/src/ap-form/items/select/index.vue.mjs +2 -2
  43. package/es/src/ap-form/items/switch/index.vue.mjs +2 -2
  44. package/es/src/ap-form/items/text/group.vue2.mjs +2 -2
  45. package/es/src/ap-form/items/text/index.vue2.mjs +2 -2
  46. package/es/src/ap-form/items/text/password.vue.mjs +2 -2
  47. package/es/src/ap-form/items/text-area/index.vue.mjs +2 -2
  48. package/es/src/ap-form/items/tree-select/index.vue.mjs +2 -2
  49. package/es/src/ap-form/modal-form/index.vue.d.ts +4 -3
  50. package/es/src/ap-form/modal-form/index.vue.mjs +7 -7
  51. package/es/src/ap-form/render/item.vue.mjs +2 -2
  52. package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +10 -10
  53. package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +23 -23
  54. package/es/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.mjs +2 -2
  55. package/es/src/ap-form/search-form/index.vue.d.ts +4 -3
  56. package/es/src/ap-form/search-form/index.vue.mjs +1 -1
  57. package/es/src/ap-form/set/index.vue.mjs +1 -1
  58. package/es/src/ap-grid/editable/form-item.vue.d.ts +4 -2
  59. package/es/src/ap-grid/editable/form-item.vue.mjs +2 -2
  60. package/es/src/ap-grid/editable/index.vue.d.ts +4 -2
  61. package/es/src/ap-grid/editable/index.vue.mjs +2 -2
  62. package/es/src/ap-grid/index.vue.d.ts +4 -2
  63. package/es/src/ap-grid/index.vue.mjs +19 -19
  64. package/es/src/ap-grid/utils/table.mjs +59 -41
  65. package/es/src/ap-list/index.vue.d.ts +4 -2
  66. package/es/src/ap-list/index.vue.mjs +1 -1
  67. package/es/src/ap-modal/utils/confirm.d.ts +1 -1
  68. package/es/src/ap-table/ap-table.vue.d.ts +4 -2
  69. package/es/src/ap-table/ap-table.vue2.mjs +13 -13
  70. package/es/src/ap-table/components/index/index.vue2.mjs +2 -2
  71. package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +3 -3
  72. package/es/src/ap-table/components/setting/modal/index.vue2.mjs +3 -3
  73. package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +1 -1
  74. package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +1 -1
  75. package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +1 -1
  76. package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +11 -11
  77. package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
  78. package/es/src/ap-table/components/status/index.vue2.mjs +2 -2
  79. package/es/src/ap-table/constants.d.ts +5 -5
  80. package/es/src/ap-table/constants.mjs +45 -45
  81. package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  82. package/es/src/ap-table/hooks/use-table-column-state.mjs +3 -3
  83. package/es/src/ap-tag/ap-tag-group.vue.mjs +8 -8
  84. package/es/src/ap-tag/ap-tag.vue.mjs +2 -2
  85. package/es/src/ap-upload/apUpload.vue.mjs +5 -5
  86. package/es/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  87. package/es/src/ap-upload/components/MultipleFile.vue2.mjs +3 -3
  88. package/es/src/ap-upload/components/Picture.vue.d.ts +7 -2
  89. package/es/src/ap-upload/components/Picture.vue2.mjs +6 -6
  90. package/es/src/ap-upload/components/SingleFile.vue2.mjs +7 -7
  91. package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +1 -1
  92. package/es/src/business/ap-appendix/icons/file-icon.vue.mjs +2 -2
  93. package/es/src/business/ap-batch-action/ApBatchAction.vue2.mjs +6 -6
  94. package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +9 -9
  95. package/es/src/business/ap-batch-action-group/MenuItemGroup.vue2.mjs +1 -1
  96. package/es/src/business/ap-batch-action-group/index.d.ts +3 -3
  97. package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +1 -1
  98. package/es/src/business/ap-card/ApCard.vue2.mjs +9 -9
  99. package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +10 -1
  100. package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue2.mjs +105 -104
  101. package/es/src/business/ap-draggable-grid/constans.d.ts +4 -0
  102. package/es/src/business/ap-draggable-grid/constans.mjs +4 -0
  103. package/es/src/business/ap-draggable-grid/index.d.ts +16 -1
  104. package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
  105. package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +11 -11
  106. package/es/src/business/ap-expand-alert/index.d.ts +6 -4
  107. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +7 -7
  108. package/es/src/business/ap-image/ApImage.vue2.mjs +1 -1
  109. package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +2 -2
  110. package/es/src/business/ap-keep-alive/keep-alive.mjs +3 -3
  111. package/es/src/business/ap-ladder/components/RenderValue.mjs +2 -2
  112. package/es/src/business/ap-radio-group/ap-radio-group.vue2.mjs +1 -1
  113. package/es/src/business/ap-select-layout/index.d.ts +4 -2
  114. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
  115. package/es/src/business/ap-select-layout/select-layout.vue2.mjs +4 -4
  116. package/es/src/business/ap-status/ApStatus.vue2.mjs +8 -8
  117. package/es/src/business/ap-status/group/ApStatusGroup.vue2.mjs +4 -4
  118. package/es/src/business/ap-summary/ap-summary.vue2.mjs +1 -1
  119. package/es/src/business/ap-table-modal/index.d.ts +5 -17
  120. package/es/src/business/ap-table-modal/modal-title.vue2.mjs +2 -2
  121. package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +14 -14
  122. package/es/src/business/ap-table-modal/table-modal.vue2.mjs +3 -3
  123. package/es/src/business/ap-title/ApTitle.vue2.mjs +7 -7
  124. package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +1 -1
  125. package/es/src/business/ap-upload-file/icon/delete-icon.vue.mjs +2 -2
  126. package/es/src/business/ap-upload-file/icon/file-icon.vue.mjs +2 -2
  127. package/es/src/business/ap-view/ap-view.vue2.mjs +2 -2
  128. package/es/src/business/ap-view/components/main-button-content.vue.d.ts +3 -2
  129. package/es/src/business/ap-view/components/main-button-content.vue2.mjs +5 -5
  130. package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +3 -2
  131. package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +6 -6
  132. package/es/src/business/ap-view/icons/line-delete.vue.mjs +2 -2
  133. package/es/src/business/ap-view/icons/line-down.vue.mjs +2 -2
  134. package/es/src/business/ap-view/icons/line-eye.vue.mjs +2 -2
  135. package/es/src/business/batch-input-group/form-item.vue.mjs +2 -2
  136. package/es/src/business/batch-input-group/index.vue.mjs +1 -1
  137. package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +2 -2
  138. package/es/src/check-card/index.vue2.mjs +3 -3
  139. package/es/src/config-provider/hooks/use-namespace.d.ts +1 -5
  140. package/es/src/editable-table/form-item.vue.d.ts +4 -2
  141. package/es/src/editable-table/form-item.vue.mjs +2 -2
  142. package/es/src/editable-table/index.vue.d.ts +4 -2
  143. package/es/src/editable-table/index.vue.mjs +2 -2
  144. package/es/src/full-screen/index.vue.mjs +3 -3
  145. package/es/src/hooks/useFullScreen.mjs +5 -5
  146. package/es/src/mask/index.vue.mjs +10 -10
  147. package/es/src/portal/index.vue.mjs +2 -2
  148. package/es/src/scroll-bar/index.vue.mjs +3 -3
  149. package/es/src/scroll-bar/internal.vue.mjs +2 -2
  150. package/es/src/scroll-view/index.vue.d.ts +5 -5
  151. package/es/src/scroll-view/index.vue.mjs +9 -9
  152. package/es/src/splitter/Panel.vue2.mjs +4 -4
  153. package/es/src/splitter/SplitBar.vue2.mjs +7 -7
  154. package/es/src/splitter/Splitter.vue2.mjs +5 -5
  155. package/es/src/tests/wrapper.d.ts +4 -4
  156. package/es/src/text/group.vue.mjs +2 -2
  157. package/es/src/text/index.vue.mjs +5 -5
  158. package/es/src/version.d.ts +1 -1
  159. package/es/src/version.mjs +1 -1
  160. package/es/src/work-order-modal/help-message.vue2.mjs +2 -2
  161. package/es/src/work-order-modal/work-order-modal.vue.d.ts +3 -2
  162. package/es/src/work-order-modal/work-order-modal.vue.mjs +2 -2
  163. package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
  164. package/lib/src/ap-field/index.js +1 -1
  165. package/lib/src/ap-field/select/use-select-options.d.ts +2 -2
  166. package/lib/src/ap-field/tree-select/use-request.d.ts +4 -4
  167. package/lib/src/ap-form/ap-form.vue.d.ts +2 -1
  168. package/lib/src/ap-form/drawer-form/index.vue.d.ts +4 -3
  169. package/lib/src/ap-form/items/select/index.vue.d.ts +6 -6
  170. package/lib/src/ap-form/modal-form/index.vue.d.ts +4 -3
  171. package/lib/src/ap-form/search-form/index.vue.d.ts +4 -3
  172. package/lib/src/ap-grid/editable/form-item.vue.d.ts +4 -2
  173. package/lib/src/ap-grid/editable/index.vue.d.ts +4 -2
  174. package/lib/src/ap-grid/index.vue.d.ts +4 -2
  175. package/lib/src/ap-grid/utils/table.js +1 -1
  176. package/lib/src/ap-list/index.vue.d.ts +4 -2
  177. package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
  178. package/lib/src/ap-table/ap-table.vue.d.ts +4 -2
  179. package/lib/src/ap-table/constants.d.ts +5 -5
  180. package/lib/src/ap-table/constants.js +1 -1
  181. package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  182. package/lib/src/ap-upload/apUpload.vue.js +1 -1
  183. package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  184. package/lib/src/ap-upload/components/Picture.vue.d.ts +7 -2
  185. package/lib/src/business/ap-batch-action-group/index.d.ts +3 -3
  186. package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +10 -1
  187. package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue2.js +1 -1
  188. package/lib/src/business/ap-draggable-grid/constans.d.ts +4 -0
  189. package/lib/src/business/ap-draggable-grid/constans.js +1 -1
  190. package/lib/src/business/ap-draggable-grid/index.d.ts +16 -1
  191. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
  192. package/lib/src/business/ap-expand-alert/index.d.ts +6 -4
  193. package/lib/src/business/ap-select-layout/index.d.ts +4 -2
  194. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
  195. package/lib/src/business/ap-table-modal/index.d.ts +5 -17
  196. package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +3 -2
  197. package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +3 -2
  198. package/lib/src/config-provider/hooks/use-namespace.d.ts +1 -5
  199. package/lib/src/editable-table/form-item.vue.d.ts +4 -2
  200. package/lib/src/editable-table/index.vue.d.ts +4 -2
  201. package/lib/src/scroll-view/index.vue.d.ts +5 -5
  202. package/lib/src/tests/wrapper.d.ts +4 -4
  203. package/lib/src/version.d.ts +1 -1
  204. package/lib/src/version.js +1 -1
  205. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +3 -2
  206. package/package.json +3 -3
  207. package/theme/antd-global-overwrite/admin/alert.css +37 -0
  208. package/theme/antd-global-overwrite/admin/alert.less +51 -0
  209. package/theme/antd-global-overwrite/admin/button.css +27 -0
  210. package/theme/antd-global-overwrite/admin/button.less +31 -0
  211. package/theme/antd-global-overwrite/admin/field.css +42 -0
  212. package/theme/antd-global-overwrite/admin/field.less +43 -0
  213. package/theme/antd-global-overwrite/admin/form.css +57 -0
  214. package/theme/antd-global-overwrite/admin/form.less +97 -0
  215. package/theme/antd-global-overwrite/admin/message.css +10 -0
  216. package/theme/antd-global-overwrite/admin/message.less +13 -0
  217. package/theme/antd-global-overwrite/admin/modal.css +94 -0
  218. package/theme/antd-global-overwrite/admin/modal.less +128 -0
  219. package/theme/antd-global-overwrite/admin/pagination.css +122 -0
  220. package/theme/antd-global-overwrite/admin/pagination.less +91 -0
  221. package/theme/antd-global-overwrite/admin/steps.css +127 -0
  222. package/theme/antd-global-overwrite/admin/steps.less +197 -0
  223. package/theme/antd-global-overwrite/admin/table.css +78 -0
  224. package/theme/antd-global-overwrite/admin/table.less +62 -0
  225. package/theme/antd-global-overwrite/admin/tooltip.css +3 -0
  226. package/theme/antd-global-overwrite/admin/tooltip.less +3 -0
  227. package/theme/antd-global-overwrite/aplus/alert.css +40 -0
  228. package/theme/antd-global-overwrite/aplus/alert.less +55 -0
  229. package/theme/antd-global-overwrite/aplus/button.css +27 -0
  230. package/theme/antd-global-overwrite/aplus/button.less +31 -0
  231. package/theme/antd-global-overwrite/aplus/field.css +42 -0
  232. package/theme/antd-global-overwrite/aplus/field.less +43 -0
  233. package/theme/antd-global-overwrite/aplus/form.css +87 -0
  234. package/theme/antd-global-overwrite/aplus/form.less +133 -0
  235. package/theme/antd-global-overwrite/aplus/message.css +10 -0
  236. package/theme/antd-global-overwrite/aplus/message.less +13 -0
  237. package/theme/antd-global-overwrite/aplus/modal.css +87 -0
  238. package/theme/antd-global-overwrite/aplus/modal.less +120 -0
  239. package/theme/antd-global-overwrite/aplus/pagination.css +147 -0
  240. package/theme/antd-global-overwrite/aplus/pagination.less +108 -0
  241. package/theme/antd-global-overwrite/aplus/steps.css +125 -0
  242. package/theme/antd-global-overwrite/aplus/steps.less +198 -0
  243. package/theme/antd-global-overwrite/aplus/table.css +78 -0
  244. package/theme/antd-global-overwrite/aplus/table.less +61 -0
  245. package/theme/antd-global-overwrite/aplus/tooltip.css +3 -0
  246. package/theme/antd-global-overwrite/aplus/tooltip.less +3 -0
  247. package/theme/ap-draggable-grid/ap-draggable-grid.css +4 -2
  248. package/theme/ap-draggable-grid/ap-draggable-grid.less +6 -2
  249. package/theme/ap-table/ap-table-pagination.css +12 -0
  250. package/theme/ap-table/ap-table-pagination.less +14 -0
  251. package/theme/index.css +4 -2
  252. package/theme/ui-mode.css +60 -0
  253. package/theme/ui-mode.less +109 -0
@@ -39,6 +39,10 @@ declare const ApDraggableGrid: {
39
39
  type: BooleanConstructor;
40
40
  default: boolean;
41
41
  };
42
+ customWrapper: {
43
+ type: StringConstructor;
44
+ default: string;
45
+ };
42
46
  }>> & Readonly<{
43
47
  onOnGridListChange?: ((args_0: ApDraggableGridItemBase[]) => any) | undefined;
44
48
  }>, {
@@ -56,6 +60,7 @@ declare const ApDraggableGrid: {
56
60
  dragOverlayColor: string;
57
61
  dragOverlayBorderColor: string;
58
62
  disableDrag: boolean;
63
+ customWrapper: string;
59
64
  }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
60
65
  gridContainer: HTMLDivElement;
61
66
  }, any, ComponentProvideOptions, {
@@ -102,6 +107,10 @@ declare const ApDraggableGrid: {
102
107
  type: BooleanConstructor;
103
108
  default: boolean;
104
109
  };
110
+ customWrapper: {
111
+ type: StringConstructor;
112
+ default: string;
113
+ };
105
114
  }>> & Readonly<{
106
115
  onOnGridListChange?: ((args_0: ApDraggableGridItemBase[]) => any) | undefined;
107
116
  }>, {
@@ -117,6 +126,7 @@ declare const ApDraggableGrid: {
117
126
  dragOverlayColor: string;
118
127
  dragOverlayBorderColor: string;
119
128
  disableDrag: boolean;
129
+ customWrapper: string;
120
130
  }>;
121
131
  __isFragment?: never;
122
132
  __isTeleport?: never;
@@ -158,6 +168,10 @@ declare const ApDraggableGrid: {
158
168
  type: BooleanConstructor;
159
169
  default: boolean;
160
170
  };
171
+ customWrapper: {
172
+ type: StringConstructor;
173
+ default: string;
174
+ };
161
175
  }>> & Readonly<{
162
176
  onOnGridListChange?: ((args_0: ApDraggableGridItemBase[]) => any) | undefined;
163
177
  }>, {
@@ -175,6 +189,7 @@ declare const ApDraggableGrid: {
175
189
  dragOverlayColor: string;
176
190
  dragOverlayBorderColor: string;
177
191
  disableDrag: boolean;
192
+ customWrapper: string;
178
193
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
179
194
  $slots: {
180
195
  item?(_: {
@@ -184,7 +199,7 @@ declare const ApDraggableGrid: {
184
199
  span: number;
185
200
  row: number;
186
201
  col: number;
187
- height?: number | string | undefined;
202
+ height?: (number | string) | undefined;
188
203
  };
189
204
  index: number;
190
205
  }): any;
@@ -1,5 +1,5 @@
1
1
  import { ApExpandAlertProps } from './interface';
2
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
2
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
3
3
  declare const _default: <T extends Record<string, any>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
4
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
5
5
  readonly onExpand?: ((args_0: "collapse" | "expand") => any) | undefined;
@@ -23,7 +23,9 @@ declare const _default: <T extends Record<string, any>>(__VLS_props: NonNullable
23
23
  }): any;
24
24
  };
25
25
  emit: ((evt: "expand", args_0: "collapse" | "expand") => void) & ((evt: "choose", args_0: T) => void);
26
- }>) => VNode & {
26
+ }>) => VNode<RendererNode, RendererElement, {
27
+ [key: string]: any;
28
+ }> & {
27
29
  __ctx?: Awaited<typeof __VLS_setup>;
28
30
  };
29
31
  export default _default;
@@ -1,4 +1,4 @@
1
- import { Component, VNode, CSSProperties, PublicProps, ShallowUnwrapRef, Plugin } from 'vue';
1
+ import { Component, VNode, CSSProperties, PublicProps, ShallowUnwrapRef, RendererNode, RendererElement, Plugin } from 'vue';
2
2
  export * from './interface';
3
3
  declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
4
4
  attrs: any;
@@ -20,7 +20,7 @@ declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNu
20
20
  props: {
21
21
  readonly onExpand?: ((args_0: "collapse" | "expand") => any) | undefined;
22
22
  readonly onChoose?: ((args_0: T) => any) | undefined;
23
- type?: "warning" | "error" | "success" | "info" | "card" | undefined | undefined;
23
+ type?: "warning" | "error" | "success" | "info" | "card" | undefined;
24
24
  data?: string | T[] | undefined;
25
25
  prefix?: string | undefined;
26
26
  tipTitle?: string | undefined;
@@ -29,7 +29,7 @@ declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNu
29
29
  separatorStyle?: CSSProperties | undefined;
30
30
  contentStyle?: Omit< CSSProperties, "wordBreak" | "overflow" | "display" | "webkitLineClamp" | "webkitBoxOrient"> | undefined;
31
31
  prefixStyle?: CSSProperties | undefined;
32
- rows?: string | number | undefined;
32
+ rows?: (string | number) | undefined;
33
33
  defaultExpand?: boolean | undefined;
34
34
  showIcon?: boolean | undefined;
35
35
  } & PublicProps;
@@ -51,7 +51,9 @@ declare const ApExpandAlert: (<T extends Record<string, any>>(__VLS_props: NonNu
51
51
  }): any;
52
52
  };
53
53
  emit: ((evt: "expand", args_0: "collapse" | "expand") => void) & ((evt: "choose", args_0: T) => void);
54
- }>) => VNode & {
54
+ }>) => VNode<RendererNode, RendererElement, {
55
+ [key: string]: any;
56
+ }> & {
55
57
  __ctx?: Awaited<typeof __VLS_setup>;
56
58
  }) & ( Plugin & (new (...args: any[]) => {
57
59
  $props: {
@@ -1,5 +1,5 @@
1
1
  import { ApSelectItem } from './interface';
2
- import { PublicProps, ShallowUnwrapRef, VNode, Plugin } from 'vue';
2
+ import { PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement, Plugin } from 'vue';
3
3
  export * from './interface';
4
4
  declare const ApSelectLayout: (<T extends ApSelectItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
5
5
  attrs: any;
@@ -38,7 +38,9 @@ declare const ApSelectLayout: (<T extends ApSelectItem>(__VLS_props: NonNullable
38
38
  (event: "afterEnter", el: Element): void;
39
39
  (event: "afterLeave", el: Element): void;
40
40
  };
41
- }>) => VNode & {
41
+ }>) => VNode<RendererNode, RendererElement, {
42
+ [key: string]: any;
43
+ }> & {
42
44
  __ctx?: Awaited<typeof __VLS_setup>;
43
45
  }) & ( Plugin & (new (...args: any[]) => {
44
46
  $props: {
@@ -1,5 +1,5 @@
1
1
  import { ApSelectItem, ApSelectLayoutProps } from './interface';
2
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
2
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
3
3
  declare const _default: <T extends ApSelectItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
4
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
5
5
  readonly onOnSelect?: ((value: T) => any) | undefined;
@@ -19,7 +19,9 @@ declare const _default: <T extends ApSelectItem>(__VLS_props: NonNullable<Awaite
19
19
  (event: "afterEnter", el: Element): void;
20
20
  (event: "afterLeave", el: Element): void;
21
21
  };
22
- }>) => VNode & {
22
+ }>) => VNode<RendererNode, RendererElement, {
23
+ [key: string]: any;
24
+ }> & {
23
25
  __ctx?: Awaited<typeof __VLS_setup>;
24
26
  };
25
27
  export default _default;
@@ -4,8 +4,8 @@ import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicP
4
4
  import { ApTableModalProps, OpenOptions, OpenReturnType } from './interface';
5
5
  import { Recordable } from '../../type';
6
6
  import { TableColumnsType } from '@aplus-frontend/antdv';
7
- import { ApFormSearchFormPopoverSorterItem } from '../..';
8
7
  import { InternalPagingType } from '../../ap-table/hooks/use-table-paging-ng';
8
+ import { ApFormSearchFormPopoverSorterItem } from '../..';
9
9
  /**
10
10
  *
11
11
  */
@@ -42,14 +42,8 @@ declare const ApTableModal: {
42
42
  };
43
43
  y: undefined;
44
44
  };
45
- getPaging: () => Partial<{
46
- current: number;
47
- pageSize: number;
48
- }>;
49
- setPaging: (nextPaging: Partial<{
50
- current: number;
51
- pageSize: number;
52
- }>, refreshImmediately?: boolean) => void;
45
+ getPaging: () => InternalPagingType;
46
+ setPaging: (nextPaging: InternalPagingType, refreshImmediately?: boolean) => void;
53
47
  getSearchFormSorterItems: () => ApFormSearchFormPopoverSorterItem[];
54
48
  setSearchFormSorterItems: (sortedItems: ApFormSearchFormPopoverSorterItem[]) => void;
55
49
  resetSearchFormSorterItems: () => void;
@@ -153,14 +147,8 @@ declare const ApTableModal: {
153
147
  };
154
148
  y: undefined;
155
149
  };
156
- getPaging: () => Partial<{
157
- current: number;
158
- pageSize: number;
159
- }>;
160
- setPaging: (nextPaging: Partial<{
161
- current: number;
162
- pageSize: number;
163
- }>, refreshImmediately?: boolean) => void;
150
+ getPaging: () => InternalPagingType;
151
+ setPaging: (nextPaging: InternalPagingType, refreshImmediately?: boolean) => void;
164
152
  getSearchFormSorterItems: () => ApFormSearchFormPopoverSorterItem[];
165
153
  setSearchFormSorterItems: (sortedItems: ApFormSearchFormPopoverSorterItem[]) => void;
166
154
  resetSearchFormSorterItems: () => void;
@@ -2,12 +2,13 @@ import { ApFormProps, UpdateModelOptimizeFn, ApFormInternalInstance, WatchFunc }
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, GlobalComponents, GlobalDirectives, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
3
3
  import { ButtonSize, SizeType } from '@aplus-frontend/antdv/es/button';
4
4
  import { ColSize } from '@aplus-frontend/antdv/es/grid';
5
- import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
5
+ import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath, RuleObject, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
6
6
  import { RuleObject } from '@aplus-frontend/antdv/es/form';
7
7
  import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
8
8
  import { Options } from '../../../../node_modules/scroll-into-view-if-needed';
9
9
  import { Recordable } from '../../../type';
10
10
  import { VueTypeDef, VueTypeValidableDef } from '../../../../node_modules/vue-types';
11
+ import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
11
12
  import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
12
13
  import { OnCleanup } from '@vue/reactivity';
13
14
  type __VLS_Props = {
@@ -108,7 +109,7 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
108
109
  readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
109
110
  readonly initialValues?: Recordable | undefined;
110
111
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
111
- readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
112
+ readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
112
113
  readonly syncToUrlPriority?: boolean | undefined;
113
114
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
114
115
  $attrs: {
@@ -2,12 +2,13 @@ import { ViewListModel } from '../interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, GlobalComponents, GlobalDirectives, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
3
3
  import { ButtonSize, SizeType } from '@aplus-frontend/antdv/es/button';
4
4
  import { ColSize } from '@aplus-frontend/antdv/es/grid';
5
- import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
5
+ import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath, RuleObject, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
6
6
  import { RuleObject } from '@aplus-frontend/antdv/es/form';
7
7
  import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
8
8
  import { Options } from '../../../../node_modules/scroll-into-view-if-needed';
9
9
  import { Recordable } from '../../../type';
10
10
  import { VueTypeDef, VueTypeValidableDef } from '../../../../node_modules/vue-types';
11
+ import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
11
12
  import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
12
13
  import { ApFormProps, UpdateModelOptimizeFn, ApFormInternalInstance, WatchFunc } from '../../../ap-form';
13
14
  import { OnCleanup } from '@vue/reactivity';
@@ -109,7 +110,7 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
109
110
  readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
110
111
  readonly initialValues?: Recordable | undefined;
111
112
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
112
- readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
113
+ readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
113
114
  readonly syncToUrlPriority?: boolean | undefined;
114
115
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
115
116
  $attrs: {
@@ -2,11 +2,7 @@ import { InjectionKey, Ref, ComputedRef } from 'vue';
2
2
  export declare const defaultNamespace = "aplus";
3
3
  export declare const namespaceContextKey: InjectionKey<Ref<string | undefined>>;
4
4
  export declare const useGetDerivedNamespace: (namespaceOverrides?: Ref<string | undefined>) => ComputedRef<string>;
5
- export declare const useNamespace: (
6
- /**
7
- * 块 一般是指组件名
8
- */
9
- block: string, namespaceOverrides?: Ref<string | undefined>) => {
5
+ export declare const useNamespace: (block: string, namespaceOverrides?: Ref<string | undefined>) => {
10
6
  namespace: ComputedRef<string>;
11
7
  b: (blockSuffix?: string) => string;
12
8
  e: (element?: string) => string;
@@ -1,5 +1,5 @@
1
1
  import { EditableColumnType, EditableTableFormItemExpose, EditableTableFormItemProps } from './interface';
2
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
2
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
3
3
  declare const _default: <RecordType = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
4
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & EditableTableFormItemProps<RecordType> & Partial<{}>> & PublicProps;
5
5
  expose(exposed: ShallowUnwrapRef<EditableTableFormItemExpose>): void;
@@ -36,7 +36,9 @@ declare const _default: <RecordType = any>(__VLS_props: NonNullable<Awaited<type
36
36
  }) => void;
37
37
  };
38
38
  emit: {};
39
- }>) => VNode & {
39
+ }>) => VNode<RendererNode, RendererElement, {
40
+ [key: string]: any;
41
+ }> & {
40
42
  __ctx?: Awaited<typeof __VLS_setup>;
41
43
  };
42
44
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import { EditableTableProps, EditableColumnType, EditableTableExpose } from './interface';
2
2
  import { Recordable } from '../type';
3
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
3
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
4
4
  declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
5
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
6
6
  readonly "onUpdate:value"?: ((...args: any[]) => any) | undefined;
@@ -39,7 +39,9 @@ declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNu
39
39
  }) => void;
40
40
  };
41
41
  emit: (event: "update:value", ...args: any[]) => void;
42
- }>) => VNode & {
42
+ }>) => VNode<RendererNode, RendererElement, {
43
+ [key: string]: any;
44
+ }> & {
43
45
  __ctx?: Awaited<typeof __VLS_setup>;
44
46
  };
45
47
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { ScrollOptions, ScrollViewProps } from './interface';
2
- import { ScrollBarDirection, InternalScrollBarProps } from '../scroll-bar';
2
+ import { ScrollBarDirection, InternalScrollBarProps, ColorType } from '../scroll-bar';
3
3
  import { CreateComponentPublicInstanceWithMixins, Ref, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DefineComponent, ComputedRef } from 'vue';
4
4
  declare function scroll(x?: number, y?: number): void;
5
5
  declare function scrollTo({ smooth, left, top }: ScrollOptions): void;
@@ -106,8 +106,8 @@ declare const __VLS_component: DefineComponent<ScrollViewProps, {
106
106
  onScroll?: ((percent: number) => void) | undefined;
107
107
  disabled?: boolean | undefined;
108
108
  trackSpeed?: number | undefined;
109
- barColor?: import("csstype").Property.BackgroundColor | undefined;
110
- trackColor?: import("csstype").Property.BackgroundColor | undefined;
109
+ barColor?: ColorType;
110
+ trackColor?: ColorType;
111
111
  trackWidth?: number | undefined;
112
112
  showTrack?: boolean | undefined;
113
113
  onScrollStart?: ((percent: number) => void) | undefined;
@@ -118,8 +118,8 @@ declare const __VLS_component: DefineComponent<ScrollViewProps, {
118
118
  onScroll?: ((percent: number) => void) | undefined;
119
119
  disabled?: boolean | undefined;
120
120
  trackSpeed?: number | undefined;
121
- barColor?: import("csstype").Property.BackgroundColor | undefined;
122
- trackColor?: import("csstype").Property.BackgroundColor | undefined;
121
+ barColor?: ColorType;
122
+ trackColor?: ColorType;
123
123
  trackWidth?: number | undefined;
124
124
  showTrack?: boolean | undefined;
125
125
  onScrollStart?: ((percent: number) => void) | undefined;
@@ -1,8 +1,8 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
2
  export declare const Wrapper: DefineComponent<{
3
- uiMode?: "admin" | "aplus" | undefined;
4
- lang?: "en" | "zh-cn" | undefined;
3
+ uiMode?: ("admin" | "aplus") | undefined;
4
+ lang?: ("en" | "zh-cn") | undefined;
5
5
  }, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
6
- uiMode?: "admin" | "aplus" | undefined;
7
- lang?: "en" | "zh-cn" | undefined;
6
+ uiMode?: ("admin" | "aplus") | undefined;
7
+ lang?: ("en" | "zh-cn") | undefined;
8
8
  }> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,2 @@
1
- declare const _default: "6.17.0";
1
+ declare const _default: "6.17.2";
2
2
  export default _default;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="6.17.0";exports.default=e;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="6.17.2";exports.default=e;
@@ -2,12 +2,13 @@ import { WorkOrderModalProps } from './interfaces';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, GlobalComponents, GlobalDirectives, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
3
3
  import { ButtonSize, SizeType } from '@aplus-frontend/antdv/es/button';
4
4
  import { ColSize } from '@aplus-frontend/antdv/es/grid';
5
- import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
5
+ import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath, RuleObject, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
6
6
  import { RuleObject } from '@aplus-frontend/antdv/es/form';
7
7
  import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
8
8
  import { Options } from '../../node_modules/scroll-into-view-if-needed';
9
9
  import { Recordable } from '../type';
10
10
  import { VueTypeDef, VueTypeValidableDef } from '../../node_modules/vue-types';
11
+ import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
11
12
  import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
12
13
  import { ApFormProps, UpdateModelOptimizeFn, ApFormInternalInstance, WatchFunc } from '..';
13
14
  import { OnCleanup } from '@vue/reactivity';
@@ -112,7 +113,7 @@ declare const _default: DefineComponent<WorkOrderModalProps, {}, {}, {}, {}, Com
112
113
  readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
113
114
  readonly initialValues?: Recordable | undefined;
114
115
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
115
- readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
116
+ readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
116
117
  readonly syncToUrlPriority?: boolean | undefined;
117
118
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
118
119
  $attrs: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aplus-frontend/ui",
3
- "version": "6.17.0",
3
+ "version": "6.17.2",
4
4
  "main": "./lib/index.js",
5
5
  "type": "module",
6
6
  "files": [
@@ -35,8 +35,8 @@
35
35
  "scroll-into-view-if-needed": "^3.1.0",
36
36
  "vue-virtual-scroller": "2.0.0-beta.8",
37
37
  "vuedraggable": "^4.1.0",
38
- "@aplus-frontend/utils": "1.0.61",
39
- "@aplus-frontend/hooks": "1.0.7"
38
+ "@aplus-frontend/hooks": "1.0.7",
39
+ "@aplus-frontend/utils": "1.0.61"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "@aplus-frontend/antdv": "^1.1.12",
@@ -0,0 +1,37 @@
1
+ .ant-alert .ant-alert-close-icon {
2
+ line-height: 18px;
3
+ }
4
+ .ant-alert .ant-alert-icon {
5
+ font-size: 16px;
6
+ margin-inline-end: 8px;
7
+ }
8
+ .ant-alert .ant-alert-message {
9
+ color: #333333;
10
+ font-weight: normal !important;
11
+ font-size: 12px;
12
+ line-height: 18px;
13
+ }
14
+ .ant-alert .ant-alert-message .href {
15
+ color: #1890ff;
16
+ cursor: pointer;
17
+ }
18
+ .ant-alert.ant-alert-with-description .ant-alert-message {
19
+ margin-bottom: 4px;
20
+ font-weight: bold !important;
21
+ }
22
+ .ant-alert.ant-alert-warning {
23
+ background: rgba(250, 173, 20, 0.1);
24
+ border: 1px solid rgba(250, 173, 20, 0.4);
25
+ }
26
+ .ant-alert.ant-alert-info {
27
+ background: rgba(24, 144, 255, 0.1);
28
+ border: 1px solid rgba(24, 144, 255, 0.4);
29
+ }
30
+ .ant-alert.ant-alert-success {
31
+ background: rgba(52, 183, 124, 0.1);
32
+ border: 1px solid rgba(52, 183, 124, 0.4);
33
+ }
34
+ .ant-alert.ant-alert-error {
35
+ background: rgba(255, 77, 79, 0.1);
36
+ border: 1px solid rgba(255, 77, 79, 0.4);
37
+ }
@@ -0,0 +1,51 @@
1
+ @import '../../mixins/config.less';
2
+
3
+ .ant-alert {
4
+ .ant-alert-close-icon {
5
+ line-height: 18px;
6
+ }
7
+
8
+ .ant-alert-icon {
9
+ font-size: 16px;
10
+ margin-inline-end: @spacing;
11
+ }
12
+
13
+ .ant-alert-message {
14
+ color: #333333;
15
+ font-weight: normal !important;
16
+ font-size: @font-size-base;
17
+ line-height: @line-height-base;
18
+
19
+ .href {
20
+ color: #1890ff;
21
+ cursor: pointer;
22
+ }
23
+ }
24
+
25
+ &.ant-alert-with-description {
26
+ .ant-alert-message {
27
+ margin-bottom: @spacing-xs;
28
+ font-weight: bold !important;
29
+ }
30
+ }
31
+
32
+ &.ant-alert-warning {
33
+ background: rgba(250, 173, 20, 0.1);
34
+ border: 1px solid rgba(250, 173, 20, 0.4);
35
+ }
36
+
37
+ &.ant-alert-info {
38
+ background: rgba(24, 144, 255, 0.1);
39
+ border: 1px solid rgba(24, 144, 255, 0.4);
40
+ }
41
+
42
+ &.ant-alert-success {
43
+ background: rgba(52, 183, 124, 0.1);
44
+ border: 1px solid rgba(52, 183, 124, 0.4);
45
+ }
46
+
47
+ &.ant-alert-error {
48
+ background: rgba(255, 77, 79, 0.1);
49
+ border: 1px solid rgba(255, 77, 79, 0.4);
50
+ }
51
+ }
@@ -0,0 +1,27 @@
1
+ .ant-btn {
2
+ box-shadow: none;
3
+ }
4
+ .ant-btn.ant-btn-primary[disabled],
5
+ .ant-btn.ant-btn-primary[disabled]:hover {
6
+ color: #ffffff;
7
+ background: #d6f1e5;
8
+ border-color: #d6f1e5;
9
+ }
10
+ .ant-btn.ant-btn-dangerous.ant-btn-dangerous[disabled],
11
+ .ant-btn.ant-btn-dangerous.ant-btn-dangerous[disabled]:hover {
12
+ color: #ffffff !important;
13
+ background: #ffdbdc !important;
14
+ border-color: #ffdbdc !important;
15
+ }
16
+ .ant-btn.ant-btn-default[disabled],
17
+ .ant-btn.ant-btn-default[disabled]:hover {
18
+ color: #bfbfbf !important;
19
+ background: #fafafa !important;
20
+ border-color: #d9d9d9 !important;
21
+ }
22
+ .ant-btn.ant-btn-link[disabled],
23
+ .ant-btn.ant-btn-link[disabled]:hover,
24
+ .ant-btn.ant-btn-text[disabled],
25
+ .ant-btn.ant-btn-text[disabled]:hover {
26
+ color: rgba(24, 144, 255, 0.2) !important;
27
+ }
@@ -0,0 +1,31 @@
1
+ .ant-btn {
2
+ box-shadow: none;
3
+
4
+ &.ant-btn-primary[disabled],
5
+ &.ant-btn-primary[disabled]:hover {
6
+ color: #ffffff;
7
+ background: #d6f1e5;
8
+ border-color: #d6f1e5;
9
+ }
10
+
11
+ &.ant-btn-dangerous.ant-btn-dangerous[disabled],
12
+ &.ant-btn-dangerous.ant-btn-dangerous[disabled]:hover {
13
+ color: #ffffff !important;
14
+ background: #ffdbdc !important;
15
+ border-color: #ffdbdc !important;
16
+ }
17
+
18
+ &.ant-btn-default[disabled],
19
+ &.ant-btn-default[disabled]:hover {
20
+ color: #bfbfbf !important;
21
+ background: #fafafa !important;
22
+ border-color: #d9d9d9 !important;
23
+ }
24
+
25
+ &.ant-btn-link[disabled],
26
+ &.ant-btn-link[disabled]:hover,
27
+ &.ant-btn-text[disabled],
28
+ &.ant-btn-text[disabled]:hover {
29
+ color: rgba(24, 144, 255, 0.2) !important;
30
+ }
31
+ }
@@ -0,0 +1,42 @@
1
+ .ant-checkbox:not(.ant-checkbox-checked) .ant-checkbox-inner {
2
+ border-color: #d9d9d9;
3
+ }
4
+ .ant-radio:not(.ant-radio-checked) .ant-radio-inner {
5
+ border-color: #d9d9d9;
6
+ }
7
+ .ant-input::-moz-placeholder {
8
+ color: #bfbfbf;
9
+ }
10
+ .ant-input::placeholder {
11
+ color: #bfbfbf;
12
+ }
13
+ .ant-select .ant-select-selection-placeholder {
14
+ color: #bfbfbf;
15
+ }
16
+ .ant-picker .ant-picker-input > input::-moz-placeholder {
17
+ color: #bfbfbf;
18
+ }
19
+ .ant-picker .ant-picker-input > input::placeholder {
20
+ color: #bfbfbf;
21
+ }
22
+ .ant-input-number .ant-input-number-input-wrap > input::-moz-placeholder {
23
+ color: #bfbfbf;
24
+ }
25
+ .ant-input-number .ant-input-number-input-wrap > input::placeholder {
26
+ color: #bfbfbf;
27
+ }
28
+ input[disabled].ant-input {
29
+ color: var(--ap-text-color-1);
30
+ }
31
+ textarea[disabled].ant-input {
32
+ color: var(--ap-text-color-1);
33
+ }
34
+ .ant-picker.ant-picker-disabled .ant-picker-input > input[disabled] {
35
+ color: var(--ap-text-color-1);
36
+ }
37
+ .ant-select-disabled .ant-select-selection-item {
38
+ color: var(--ap-text-color-1) !important;
39
+ }
40
+ .ant-input-clear-icon {
41
+ line-height: 18px;
42
+ }
@@ -0,0 +1,43 @@
1
+ .ant-checkbox:not(.ant-checkbox-checked) .ant-checkbox-inner {
2
+ border-color: #d9d9d9;
3
+ }
4
+
5
+ .ant-radio:not(.ant-radio-checked) .ant-radio-inner {
6
+ border-color: #d9d9d9;
7
+ }
8
+
9
+ .ant-input::placeholder {
10
+ color: #bfbfbf;
11
+ }
12
+
13
+ .ant-select .ant-select-selection-placeholder {
14
+ color: #bfbfbf;
15
+ }
16
+
17
+ .ant-picker .ant-picker-input > input::placeholder {
18
+ color: #bfbfbf;
19
+ }
20
+
21
+ .ant-input-number .ant-input-number-input-wrap > input::placeholder {
22
+ color: #bfbfbf;
23
+ }
24
+
25
+ input[disabled].ant-input {
26
+ color: var(--ap-text-color-1);
27
+ }
28
+
29
+ textarea[disabled].ant-input {
30
+ color: var(--ap-text-color-1);
31
+ }
32
+
33
+ .ant-picker.ant-picker-disabled .ant-picker-input > input[disabled] {
34
+ color: var(--ap-text-color-1);
35
+ }
36
+
37
+ .ant-select-disabled .ant-select-selection-item {
38
+ color: var(--ap-text-color-1) !important;
39
+ }
40
+
41
+ .ant-input-clear-icon {
42
+ line-height: 18px;
43
+ }