@aplus-frontend/ui 0.5.37 → 0.6.0-beta.1

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 (329) hide show
  1. package/es/index.mjs +74 -72
  2. package/es/src/ap-field/select/index.vue.d.ts +2 -2
  3. package/es/src/ap-field/tree-select/index.vue.d.ts +3 -3
  4. package/es/src/ap-form/ap-form.vue2.mjs +57 -58
  5. package/es/src/ap-form/drawer-form/index.vue.d.ts +10 -10
  6. package/es/src/ap-form/interface.d.ts +35 -1
  7. package/es/src/ap-form/item/index.vue.d.ts +22 -22
  8. package/es/src/ap-form/item/index.vue.mjs +33 -28
  9. package/es/src/ap-form/items/checkbox/index.vue.d.ts +3 -3
  10. package/es/src/ap-form/items/checkbox/index.vue.mjs +1 -0
  11. package/es/src/ap-form/items/date/index.vue.d.ts +3 -3
  12. package/es/src/ap-form/items/date/index.vue.mjs +8 -7
  13. package/es/src/ap-form/items/date-range/index.vue.d.ts +3 -3
  14. package/es/src/ap-form/items/date-range/index.vue.mjs +1 -0
  15. package/es/src/ap-form/items/number/index.vue.d.ts +13 -13
  16. package/es/src/ap-form/items/number/index.vue.mjs +9 -8
  17. package/es/src/ap-form/items/radio/index.vue.d.ts +3 -3
  18. package/es/src/ap-form/items/radio/index.vue.mjs +1 -0
  19. package/es/src/ap-form/items/select/index.vue.d.ts +31 -31
  20. package/es/src/ap-form/items/select/index.vue.mjs +7 -6
  21. package/es/src/ap-form/items/switch/index.vue.d.ts +3 -3
  22. package/es/src/ap-form/items/switch/index.vue.mjs +1 -0
  23. package/es/src/ap-form/items/text/index.vue.d.ts +15 -15
  24. package/es/src/ap-form/items/text/index.vue2.mjs +8 -7
  25. package/es/src/ap-form/items/text/password.vue.d.ts +15 -15
  26. package/es/src/ap-form/items/text/password.vue.mjs +1 -0
  27. package/es/src/ap-form/items/text-area/index.vue.d.ts +3 -3
  28. package/es/src/ap-form/items/text-area/index.vue.mjs +1 -0
  29. package/es/src/ap-form/items/tree-select/index.vue.d.ts +35 -35
  30. package/es/src/ap-form/items/tree-select/index.vue.mjs +6 -5
  31. package/es/src/ap-form/modal-form/index.vue.d.ts +10 -10
  32. package/es/src/ap-form/render/item.vue.d.ts +2 -2
  33. package/es/src/ap-form/render/item.vue.mjs +5 -4
  34. package/es/src/ap-form/search-form/components/popover-filter.vue.d.ts +4 -0
  35. package/es/src/ap-form/search-form/components/popover-filter.vue.mjs +4 -0
  36. package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +102 -0
  37. package/es/src/ap-form/search-form/components/popover-sorter/index.vue.d.ts +4 -0
  38. package/es/src/ap-form/search-form/components/popover-sorter/index.vue.mjs +4 -0
  39. package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +128 -0
  40. package/es/src/ap-form/search-form/components/popover-sorter/sortable-item.vue.d.ts +6 -0
  41. package/es/src/ap-form/search-form/components/popover-sorter/sortable-item.vue.mjs +4 -0
  42. package/es/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.mjs +39 -0
  43. package/es/src/ap-form/search-form/hooks/use-count-per-row.d.ts +3 -0
  44. package/es/src/ap-form/search-form/hooks/use-count-per-row.mjs +17 -0
  45. package/es/src/ap-form/search-form/index.vue.d.ts +14 -16
  46. package/es/src/ap-form/search-form/index.vue.mjs +128 -127
  47. package/es/src/ap-grid/editable/form-item.vue.mjs +1 -1
  48. package/es/src/ap-grid/editable/index.vue.mjs +1 -1
  49. package/es/src/ap-grid/index.vue.mjs +113 -108
  50. package/es/src/ap-grid/interface.d.ts +1 -1
  51. package/es/src/ap-info-layout/ApInfoLayout.vue.mjs +21 -16
  52. package/es/src/ap-table/ap-table.vue2.mjs +108 -104
  53. package/es/src/ap-table/constants.d.ts +161 -161
  54. package/es/src/ap-table/context.d.ts +5 -0
  55. package/es/src/ap-table/context.mjs +13 -5
  56. package/es/src/ap-table/utils.d.ts +147 -147
  57. package/es/src/ap-upload/apUpload.vue.d.ts +8 -8
  58. package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue.d.ts +14 -1
  59. package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +65 -51
  60. package/es/src/business/ap-batch-action-group/index.d.ts +3 -1
  61. package/es/src/business/ap-size-input/ApSizeInput.d.ts +1 -1
  62. package/es/src/business/ap-size-input/index.d.ts +3 -3
  63. package/es/src/business/ap-table-modal/index.d.ts +15 -15
  64. package/es/src/business/ap-table-modal/table-modal.vue.d.ts +5 -5
  65. package/es/src/business/ap-view/ap-view.vue.d.ts +6 -0
  66. package/es/src/business/ap-view/ap-view.vue.mjs +4 -0
  67. package/es/src/business/ap-view/ap-view.vue2.mjs +174 -0
  68. package/es/src/business/ap-view/components/main-button-content.vue.d.ts +831 -0
  69. package/es/src/business/ap-view/components/main-button-content.vue.mjs +4 -0
  70. package/es/src/business/ap-view/components/main-button-content.vue2.mjs +177 -0
  71. package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +832 -0
  72. package/es/src/business/ap-view/components/menu-list-content.vue.mjs +4 -0
  73. package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +156 -0
  74. package/es/src/business/ap-view/hooks/use-view-provide.d.ts +14 -0
  75. package/es/src/business/ap-view/hooks/use-view-provide.mjs +8 -0
  76. package/es/src/business/ap-view/icons/line-delete.vue.d.ts +3 -0
  77. package/es/src/business/ap-view/icons/line-delete.vue.mjs +29 -0
  78. package/es/src/business/ap-view/icons/line-down.vue.d.ts +3 -0
  79. package/es/src/business/ap-view/icons/line-down.vue.mjs +29 -0
  80. package/es/src/business/ap-view/icons/line-eye.vue.d.ts +3 -0
  81. package/es/src/business/ap-view/icons/line-eye.vue.mjs +29 -0
  82. package/es/src/business/ap-view/index.d.ts +27 -0
  83. package/es/src/business/ap-view/index.mjs +8 -0
  84. package/es/src/business/ap-view/interface.d.ts +54 -0
  85. package/es/src/business/ap-view/interface.mjs +1 -0
  86. package/es/src/business/ap-view/style/css.d.ts +0 -0
  87. package/es/src/business/ap-view/style/css.js +1 -0
  88. package/es/src/business/ap-view/style/index.d.ts +0 -0
  89. package/es/src/business/ap-view/style/index.js +1 -0
  90. package/es/src/business/ap-view/utils/enum.d.ts +1 -0
  91. package/es/src/business/ap-view/utils/enum.mjs +4 -0
  92. package/es/src/business/ap-view/utils/uuid.d.ts +5 -0
  93. package/es/src/business/ap-view/utils/uuid.mjs +22 -0
  94. package/es/src/business/batch-input-group/form-item.vue.d.ts +3 -3
  95. package/es/src/business/batch-input-group/form-item.vue.mjs +1 -0
  96. package/es/src/business/batch-input-group/index.vue.d.ts +6 -6
  97. package/es/src/business/index.d.ts +1 -0
  98. package/es/src/business/index.mjs +25 -23
  99. package/es/src/check-card/index.vue2.mjs +1 -1
  100. package/es/src/config-provider/config-provider-props.d.ts +5 -0
  101. package/es/src/config-provider/config-provider-props.mjs +4 -0
  102. package/es/src/config-provider/config-provider.d.ts +25 -1
  103. package/es/src/config-provider/config-provider.mjs +21 -20
  104. package/es/src/config-provider/css-var.d.ts +14 -0
  105. package/es/src/config-provider/css-var.mjs +40 -12
  106. package/es/src/config-provider/hooks/use-global-config.d.ts +5 -0
  107. package/es/src/config-provider/index.d.ts +89 -3
  108. package/es/src/design-token/index.mjs +9 -3
  109. package/es/src/editable-table/form-item.vue.mjs +1 -1
  110. package/es/src/editable-table/index.vue.mjs +27 -27
  111. package/es/src/full-screen/interface.d.ts +1 -1
  112. package/es/src/index.mjs +61 -59
  113. package/es/src/locale/lang/en.mjs +22 -1
  114. package/es/src/locale/lang/zh-cn.mjs +22 -1
  115. package/es/src/path-map.mjs +2 -1
  116. package/es/src/utils/config-provider-preset.d.ts +4 -4
  117. package/es/src/work-order-modal/work-order-modal.vue.d.ts +6 -6
  118. package/lib/index.js +1 -1
  119. package/lib/src/ap-field/select/index.vue.d.ts +2 -2
  120. package/lib/src/ap-field/tree-select/index.vue.d.ts +3 -3
  121. package/lib/src/ap-form/ap-form.vue2.js +1 -1
  122. package/lib/src/ap-form/drawer-form/index.vue.d.ts +10 -10
  123. package/lib/src/ap-form/interface.d.ts +35 -1
  124. package/lib/src/ap-form/item/index.vue.d.ts +22 -22
  125. package/lib/src/ap-form/item/index.vue.js +1 -1
  126. package/lib/src/ap-form/items/checkbox/index.vue.d.ts +3 -3
  127. package/lib/src/ap-form/items/checkbox/index.vue.js +1 -1
  128. package/lib/src/ap-form/items/date/index.vue.d.ts +3 -3
  129. package/lib/src/ap-form/items/date/index.vue.js +1 -1
  130. package/lib/src/ap-form/items/date-range/index.vue.d.ts +3 -3
  131. package/lib/src/ap-form/items/date-range/index.vue.js +1 -1
  132. package/lib/src/ap-form/items/number/index.vue.d.ts +13 -13
  133. package/lib/src/ap-form/items/number/index.vue.js +1 -1
  134. package/lib/src/ap-form/items/radio/index.vue.d.ts +3 -3
  135. package/lib/src/ap-form/items/radio/index.vue.js +1 -1
  136. package/lib/src/ap-form/items/select/index.vue.d.ts +31 -31
  137. package/lib/src/ap-form/items/select/index.vue.js +1 -1
  138. package/lib/src/ap-form/items/switch/index.vue.d.ts +3 -3
  139. package/lib/src/ap-form/items/switch/index.vue.js +1 -1
  140. package/lib/src/ap-form/items/text/index.vue.d.ts +15 -15
  141. package/lib/src/ap-form/items/text/index.vue2.js +1 -1
  142. package/lib/src/ap-form/items/text/password.vue.d.ts +15 -15
  143. package/lib/src/ap-form/items/text/password.vue.js +1 -1
  144. package/lib/src/ap-form/items/text-area/index.vue.d.ts +3 -3
  145. package/lib/src/ap-form/items/text-area/index.vue.js +1 -1
  146. package/lib/src/ap-form/items/tree-select/index.vue.d.ts +35 -35
  147. package/lib/src/ap-form/items/tree-select/index.vue.js +1 -1
  148. package/lib/src/ap-form/modal-form/index.vue.d.ts +10 -10
  149. package/lib/src/ap-form/render/item.vue.d.ts +2 -2
  150. package/lib/src/ap-form/render/item.vue.js +1 -1
  151. package/lib/src/ap-form/search-form/components/popover-filter.vue.d.ts +4 -0
  152. package/lib/src/ap-form/search-form/components/popover-filter.vue.js +1 -0
  153. package/lib/src/ap-form/search-form/components/popover-filter.vue2.js +1 -0
  154. package/lib/src/ap-form/search-form/components/popover-sorter/index.vue.d.ts +4 -0
  155. package/lib/src/ap-form/search-form/components/popover-sorter/index.vue.js +1 -0
  156. package/lib/src/ap-form/search-form/components/popover-sorter/index.vue2.js +1 -0
  157. package/lib/src/ap-form/search-form/components/popover-sorter/sortable-item.vue.d.ts +6 -0
  158. package/lib/src/ap-form/search-form/components/popover-sorter/sortable-item.vue.js +1 -0
  159. package/lib/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.js +1 -0
  160. package/lib/src/ap-form/search-form/hooks/use-count-per-row.d.ts +3 -0
  161. package/lib/src/ap-form/search-form/hooks/use-count-per-row.js +1 -0
  162. package/lib/src/ap-form/search-form/index.vue.d.ts +14 -16
  163. package/lib/src/ap-form/search-form/index.vue.js +1 -1
  164. package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
  165. package/lib/src/ap-grid/editable/index.vue.js +1 -1
  166. package/lib/src/ap-grid/index.vue.js +1 -1
  167. package/lib/src/ap-grid/interface.d.ts +1 -1
  168. package/lib/src/ap-info-layout/ApInfoLayout.vue.js +1 -1
  169. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  170. package/lib/src/ap-table/constants.d.ts +161 -161
  171. package/lib/src/ap-table/context.d.ts +5 -0
  172. package/lib/src/ap-table/context.js +1 -1
  173. package/lib/src/ap-table/utils.d.ts +147 -147
  174. package/lib/src/ap-upload/apUpload.vue.d.ts +8 -8
  175. package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue.d.ts +14 -1
  176. package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.js +1 -1
  177. package/lib/src/business/ap-batch-action-group/index.d.ts +3 -1
  178. package/lib/src/business/ap-size-input/ApSizeInput.d.ts +1 -1
  179. package/lib/src/business/ap-size-input/index.d.ts +3 -3
  180. package/lib/src/business/ap-table-modal/index.d.ts +15 -15
  181. package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +5 -5
  182. package/lib/src/business/ap-view/ap-view.vue.d.ts +6 -0
  183. package/lib/src/business/ap-view/ap-view.vue.js +1 -0
  184. package/lib/src/business/ap-view/ap-view.vue2.js +1 -0
  185. package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +831 -0
  186. package/lib/src/business/ap-view/components/main-button-content.vue.js +1 -0
  187. package/lib/src/business/ap-view/components/main-button-content.vue2.js +1 -0
  188. package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +832 -0
  189. package/lib/src/business/ap-view/components/menu-list-content.vue.js +1 -0
  190. package/lib/src/business/ap-view/components/menu-list-content.vue2.js +1 -0
  191. package/lib/src/business/ap-view/hooks/use-view-provide.d.ts +14 -0
  192. package/lib/src/business/ap-view/hooks/use-view-provide.js +1 -0
  193. package/lib/src/business/ap-view/icons/line-delete.vue.d.ts +3 -0
  194. package/lib/src/business/ap-view/icons/line-delete.vue.js +1 -0
  195. package/lib/src/business/ap-view/icons/line-down.vue.d.ts +3 -0
  196. package/lib/src/business/ap-view/icons/line-down.vue.js +1 -0
  197. package/lib/src/business/ap-view/icons/line-eye.vue.d.ts +3 -0
  198. package/lib/src/business/ap-view/icons/line-eye.vue.js +1 -0
  199. package/lib/src/business/ap-view/index.d.ts +27 -0
  200. package/lib/src/business/ap-view/index.js +1 -0
  201. package/lib/src/business/ap-view/interface.d.ts +54 -0
  202. package/lib/src/business/ap-view/interface.js +1 -0
  203. package/lib/src/business/ap-view/style/css.cjs +1 -0
  204. package/lib/src/business/ap-view/style/css.d.ts +0 -0
  205. package/lib/src/business/ap-view/style/index.cjs +1 -0
  206. package/lib/src/business/ap-view/style/index.d.ts +0 -0
  207. package/lib/src/business/ap-view/utils/enum.d.ts +1 -0
  208. package/lib/src/business/ap-view/utils/enum.js +1 -0
  209. package/lib/src/business/ap-view/utils/uuid.d.ts +5 -0
  210. package/lib/src/business/ap-view/utils/uuid.js +1 -0
  211. package/lib/src/business/batch-input-group/form-item.vue.d.ts +3 -3
  212. package/lib/src/business/batch-input-group/form-item.vue.js +1 -1
  213. package/lib/src/business/batch-input-group/index.vue.d.ts +6 -6
  214. package/lib/src/business/index.d.ts +1 -0
  215. package/lib/src/business/index.js +1 -1
  216. package/lib/src/check-card/index.vue2.js +1 -1
  217. package/lib/src/config-provider/config-provider-props.d.ts +5 -0
  218. package/lib/src/config-provider/config-provider-props.js +1 -1
  219. package/lib/src/config-provider/config-provider.d.ts +25 -1
  220. package/lib/src/config-provider/config-provider.js +1 -1
  221. package/lib/src/config-provider/css-var.d.ts +14 -0
  222. package/lib/src/config-provider/css-var.js +1 -1
  223. package/lib/src/config-provider/hooks/use-global-config.d.ts +5 -0
  224. package/lib/src/config-provider/index.d.ts +89 -3
  225. package/lib/src/design-token/index.js +1 -1
  226. package/lib/src/editable-table/form-item.vue.js +1 -1
  227. package/lib/src/editable-table/index.vue.js +1 -1
  228. package/lib/src/full-screen/interface.d.ts +1 -1
  229. package/lib/src/index.js +1 -1
  230. package/lib/src/locale/lang/en.js +1 -1
  231. package/lib/src/locale/lang/zh-cn.js +1 -1
  232. package/lib/src/path-map.js +1 -1
  233. package/lib/src/utils/config-provider-preset.d.ts +4 -4
  234. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +6 -6
  235. package/package.json +7 -7
  236. package/theme/ap-action/item-dropdown.css +30 -2
  237. package/theme/ap-action/item-dropdown.less +2 -2
  238. package/theme/ap-action/item.css +36 -2
  239. package/theme/ap-action/item.less +2 -3
  240. package/theme/ap-appendix/ap-appendix.css +28 -0
  241. package/theme/ap-attachment/ap-attachment.css +28 -0
  242. package/theme/ap-batch-action/ap-batch-action.css +28 -0
  243. package/theme/ap-button/ap-button.css +28 -0
  244. package/theme/ap-card/ap-card.css +28 -0
  245. package/theme/ap-descriptions/ap-descriptions.css +28 -0
  246. package/theme/ap-download/ap-download.css +28 -0
  247. package/theme/ap-expand-alert/ap-expand-alert.css +28 -0
  248. package/theme/ap-field/checkbox.css +29 -1
  249. package/theme/ap-field/checkbox.less +2 -1
  250. package/theme/ap-field/index.css +30 -2
  251. package/theme/ap-field/number.css +28 -0
  252. package/theme/ap-field/radio.css +29 -1
  253. package/theme/ap-field/radio.less +1 -1
  254. package/theme/ap-field/text-area.css +28 -0
  255. package/theme/ap-form/ap-form-item-group.css +28 -0
  256. package/theme/ap-form/ap-form-item.css +35 -5
  257. package/theme/ap-form/ap-form-item.less +8 -6
  258. package/theme/ap-form/drawer-form.css +28 -0
  259. package/theme/ap-form/index.css +177 -6
  260. package/theme/ap-form/item-text-group.css +28 -0
  261. package/theme/ap-form/item-text.css +28 -0
  262. package/theme/ap-form/modal-form.css +28 -0
  263. package/theme/ap-form/search-form-sorter.css +120 -0
  264. package/theme/ap-form/search-form-sorter.less +71 -0
  265. package/theme/ap-form/search-form.css +177 -6
  266. package/theme/ap-form/search-form.less +57 -1
  267. package/theme/ap-grid/editable.css +30 -2
  268. package/theme/ap-grid/editable.less +2 -2
  269. package/theme/ap-grid/index.css +206 -20
  270. package/theme/ap-grid/index.less +17 -8
  271. package/theme/ap-group-search/ap-extension-select.css +28 -0
  272. package/theme/ap-group-search/ap-group-search.css +28 -0
  273. package/theme/ap-group-search/ap-popover-select.css +28 -0
  274. package/theme/ap-image/ap-image.css +28 -0
  275. package/theme/ap-input-radio/ap-input-radio.css +28 -0
  276. package/theme/ap-label/ap-label.css +28 -0
  277. package/theme/ap-ladder/ap-ladder.css +28 -0
  278. package/theme/ap-layout/ap-info-layout.css +28 -0
  279. package/theme/ap-list/index.css +29 -1
  280. package/theme/ap-list/index.less +2 -1
  281. package/theme/ap-product-info/ap-product-info.css +28 -0
  282. package/theme/ap-select-layout/ap-select-layout.css +28 -0
  283. package/theme/ap-size-input/ap-size-input.css +28 -0
  284. package/theme/ap-status/ap-status.css +28 -0
  285. package/theme/ap-summary/index.css +28 -0
  286. package/theme/ap-table/ap-table-index.css +28 -0
  287. package/theme/ap-table/ap-table-paragraph-ellipsis.css +28 -0
  288. package/theme/ap-table/ap-table.css +217 -34
  289. package/theme/ap-table/ap-table.less +12 -9
  290. package/theme/ap-table/setting/index.css +44 -2
  291. package/theme/ap-table/setting/modal.css +36 -0
  292. package/theme/ap-table/setting/modal.less +1 -0
  293. package/theme/ap-table/setting/select-group.css +28 -0
  294. package/theme/ap-table/setting/sortable-item-meta.css +28 -0
  295. package/theme/ap-table/setting/sortable-item.css +28 -0
  296. package/theme/ap-table/setting/sorter.css +36 -2
  297. package/theme/ap-table/setting/sorter.less +1 -2
  298. package/theme/ap-table-modal/index.css +217 -34
  299. package/theme/ap-tag/ap-tag-group.css +28 -0
  300. package/theme/ap-tag/ap-tag.css +28 -0
  301. package/theme/ap-title/ap-title.css +28 -0
  302. package/theme/ap-upload/index.css +28 -0
  303. package/theme/ap-upload/multiple-file.css +28 -0
  304. package/theme/ap-upload/picture.css +28 -0
  305. package/theme/ap-upload/single-file.css +28 -0
  306. package/theme/ap-upload/upload.css +28 -0
  307. package/theme/ap-upload-single/index.css +28 -0
  308. package/theme/ap-view/ap-view.css +149 -0
  309. package/theme/ap-view/ap-view.less +128 -0
  310. package/theme/batch-input-group/index.css +30 -2
  311. package/theme/batch-input-group/popover-input.css +28 -0
  312. package/theme/check-card/index.css +65 -17
  313. package/theme/check-card/index.less +20 -19
  314. package/theme/editable-table/index.css +198 -19
  315. package/theme/editable-table/index.less +9 -7
  316. package/theme/full-screen/index.css +28 -0
  317. package/theme/index.css +417 -75
  318. package/theme/index.less +1 -0
  319. package/theme/mask/index.css +28 -0
  320. package/theme/mixins/config.less +26 -3
  321. package/theme/mixins/mixins.css +28 -0
  322. package/theme/mixins/mixins.less +35 -0
  323. package/theme/scroll-bar/index.css +28 -0
  324. package/theme/scroll-view/index.css +28 -0
  325. package/theme/splitter/index.css +33 -5
  326. package/theme/text/group.css +28 -0
  327. package/theme/text/index.css +36 -1
  328. package/theme/text/index.less +1 -1
  329. package/theme/work-order-modal/index.css +28 -0
@@ -0,0 +1,149 @@
1
+ .reset-component {
2
+ box-sizing: border-box;
3
+ margin: 0;
4
+ padding: 0;
5
+ color: rgba(0 0 0 / 85%);
6
+ font-size: 12px;
7
+ font-family: inherit;
8
+ line-height: 1.5;
9
+ list-style: none;
10
+ }
11
+ .clear-fix::before {
12
+ display: table;
13
+ content: '';
14
+ }
15
+ .clear-fix::after {
16
+ display: table;
17
+ clear: both;
18
+ content: '';
19
+ }
20
+ .common-style {
21
+ box-sizing: border-box;
22
+ font-size: 12px;
23
+ font-family: inherit;
24
+ }
25
+ .common-style::before,
26
+ .common-style::after {
27
+ box-sizing: border-box;
28
+ }
29
+ .aplus-ap-view > .ant-btn {
30
+ padding: 0;
31
+ }
32
+ .aplus-ap-view > .ant-dropdown-trigger {
33
+ color: var(--ap-view-icon-color, #8896b0);
34
+ }
35
+ .aplus-ap-view-main-content {
36
+ padding: 4px 8px;
37
+ display: flex;
38
+ align-items: center;
39
+ justify-content: center;
40
+ }
41
+ .aplus-ap-view-main-content-disabled {
42
+ color: var(--ap-view-message-color, #abb7cc);
43
+ cursor: not-allowed;
44
+ }
45
+ .ant-btn-default:has(.aplus-ap-view-main-content-disabled) {
46
+ border-color: var(--ap-view-border-color, #DEE4ED) !important;
47
+ }
48
+ .aplus-ap-view-icon {
49
+ width: 100%;
50
+ height: 100%;
51
+ font-size: 14px;
52
+ display: flex;
53
+ justify-content: center;
54
+ align-items: center;
55
+ }
56
+ .aplus-ap-view-main-content-popover {
57
+ width: 340px;
58
+ }
59
+ .aplus-ap-view-main-content-popover-title-content {
60
+ display: flex;
61
+ align-items: center;
62
+ justify-content: space-between;
63
+ margin-bottom: 8px;
64
+ }
65
+ .aplus-ap-view-main-content-popover-title-content-title {
66
+ font-size: 14px;
67
+ font-weight: 500;
68
+ line-height: 22px;
69
+ }
70
+ .aplus-ap-view-main-content-popover-title-content .ant-form-item {
71
+ margin-bottom: 0;
72
+ }
73
+ .aplus-ap-view-main-content-popover-btn {
74
+ margin-bottom: 0;
75
+ }
76
+ .aplus-ap-view-main-content-popover-btn .ant-form-item-control-input-content {
77
+ display: flex;
78
+ justify-content: flex-end;
79
+ }
80
+ .aplus-ap-view-menu-list-content {
81
+ width: 250px;
82
+ display: flex;
83
+ padding: 6px 8px;
84
+ align-items: center;
85
+ height: 32px;
86
+ }
87
+ .aplus-ap-view-menu-list-content .menu-list-content-name {
88
+ overflow: hidden;
89
+ display: block;
90
+ text-overflow: ellipsis;
91
+ white-space: nowrap;
92
+ font-size: 12px;
93
+ margin-right: 8px;
94
+ }
95
+ .aplus-ap-view-menu-list-content .menu-list-content-default {
96
+ margin-right: 8px;
97
+ flex-shrink: 0;
98
+ }
99
+ .aplus-ap-view-menu-list-content .menu-list-content-action {
100
+ cursor: default;
101
+ display: none;
102
+ flex-shrink: 0;
103
+ margin-left: auto;
104
+ -webkit-user-select: none;
105
+ -moz-user-select: none;
106
+ user-select: none;
107
+ }
108
+ .aplus-ap-view-menu-list-content .menu-list-content-action-text {
109
+ cursor: pointer;
110
+ font-size: 12px;
111
+ color: var(--basic-color-primary, #0070ff);
112
+ }
113
+ .aplus-ap-view-menu-list-content .menu-list-content-action-delete {
114
+ cursor: pointer;
115
+ color: var(--ap-view-icon-color, #8896b0);
116
+ }
117
+ .aplus-ap-view-menu-list-content .menu-list-content-edit {
118
+ display: flex;
119
+ align-items: center;
120
+ }
121
+ .aplus-ap-view-menu-list-content .menu-list-content-edit .ant-form-item {
122
+ margin-bottom: 0;
123
+ }
124
+ .aplus-ap-view-menu-list-content .menu-list-content-edit .ant-space-item:has(.menu-list-content-action-text) {
125
+ flex-shrink: 0;
126
+ }
127
+ .aplus-ap-view-menu-list-content:hover {
128
+ background: var(--ap-view-bg-color, #F6F9FA);
129
+ }
130
+ .aplus-ap-view-menu-list-content:hover .menu-list-content-action {
131
+ display: block;
132
+ }
133
+ .aplus-ap-view-menu-list-content-edit {
134
+ background: transparent !important;
135
+ padding: 0 8px;
136
+ cursor: default;
137
+ }
138
+ .aplus-ap-view-menu-list-content-active .menu-list-content-name {
139
+ color: var(--basic-color-primary, #0070ff);
140
+ }
141
+ .aplus-ap-view-overlay .ant-dropdown-menu {
142
+ padding: 8px;
143
+ }
144
+ .aplus-ap-view-overlay .ant-dropdown-menu .ant-dropdown-menu-item {
145
+ padding: 0;
146
+ }
147
+ .aplus-ap-view-overlay .ant-dropdown-menu .ant-dropdown-menu-item:hover {
148
+ background: transparent;
149
+ }
@@ -0,0 +1,128 @@
1
+ @import '../mixins/config.less';
2
+ @import '../mixins/mixins.less';
3
+ .b(ap-view,{
4
+ & > .ant-btn {
5
+ padding: 0;
6
+ }
7
+ & > .ant-dropdown-trigger {
8
+ color: var(--ap-view-icon-color,#8896b0);
9
+ }
10
+ &-main-content {
11
+ padding: 4px 8px;
12
+ display: flex;
13
+ align-items: center;
14
+ justify-content: center;
15
+ &-disabled {
16
+ color: var(--ap-view-message-color,#abb7cc);
17
+ cursor: not-allowed;
18
+ }
19
+ }
20
+ .ant-btn-default:has(&-main-content-disabled) {
21
+ border-color: var(--ap-view-border-color,#DEE4ED) !important;
22
+ }
23
+ &-icon {
24
+ width: 100%;
25
+ height: 100%;
26
+ font-size: 14px;
27
+ display: flex;
28
+ justify-content: center;
29
+ align-items: center;
30
+ }
31
+ &-main-content-popover {
32
+ width: 340px;
33
+ &-title-content {
34
+ display: flex;
35
+ align-items: center;
36
+ justify-content: space-between;
37
+ margin-bottom: 8px;
38
+ &-title{
39
+ font-size: 14px;
40
+ font-weight: 500;
41
+ line-height: 22px;
42
+ }
43
+ .ant-form-item{
44
+ margin-bottom: 0;
45
+ }
46
+ }
47
+ &-btn {
48
+ margin-bottom: 0;
49
+ .ant-form-item-control-input-content {
50
+ display: flex;
51
+ justify-content: flex-end;
52
+ }
53
+ }
54
+ }
55
+ &-menu-list-content {
56
+ width: 250px;
57
+ display: flex;
58
+ padding: 6px 8px;
59
+ align-items: center;
60
+ height: 32px;
61
+ .menu-list-content-name{
62
+ overflow: hidden;
63
+ display: block;
64
+ text-overflow: ellipsis;
65
+ white-space: nowrap;
66
+ font-size: 12px;
67
+ margin-right: 8px;
68
+ }
69
+ .menu-list-content-default{
70
+ margin-right: 8px;
71
+ flex-shrink: 0;
72
+ }
73
+ .menu-list-content-action{
74
+ cursor: default;
75
+ display: none;
76
+ flex-shrink: 0;
77
+ margin-left: auto;
78
+ user-select: none;
79
+ &-text {
80
+ cursor: pointer;
81
+ font-size: 12px;
82
+ color: var(--basic-color-primary,#0070ff);
83
+ }
84
+ &-delete {
85
+ cursor: pointer;
86
+ color: var(--ap-view-icon-color,#8896b0);
87
+ }
88
+ }
89
+
90
+ .menu-list-content-edit {
91
+ display: flex;
92
+ align-items: center;
93
+ .ant-form-item {
94
+ margin-bottom: 0;
95
+ }
96
+ .ant-space-item:has(.menu-list-content-action-text) {
97
+ flex-shrink: 0;
98
+ }
99
+ }
100
+ &:hover{
101
+ background: var(--ap-view-bg-color,#F6F9FA);
102
+ .menu-list-content-action {
103
+ display: block;
104
+ }
105
+ }
106
+ &-edit {
107
+ background: transparent !important;
108
+ padding: 0 8px;
109
+ cursor: default;
110
+ }
111
+ }
112
+ &-menu-list-content-active {
113
+ .menu-list-content-name{
114
+ color: var(--basic-color-primary,#0070ff);
115
+ }
116
+ }
117
+ &-overlay {
118
+ .ant-dropdown-menu{
119
+ padding: 8px;
120
+ .ant-dropdown-menu-item {
121
+ padding: 0;
122
+ &:hover {
123
+ background: transparent;
124
+ }
125
+ }
126
+ }
127
+ }
128
+ });
@@ -1,9 +1,37 @@
1
+ .reset-component {
2
+ box-sizing: border-box;
3
+ margin: 0;
4
+ padding: 0;
5
+ color: rgba(0 0 0 / 85%);
6
+ font-size: 12px;
7
+ font-family: inherit;
8
+ line-height: 1.5;
9
+ list-style: none;
10
+ }
11
+ .clear-fix::before {
12
+ display: table;
13
+ content: '';
14
+ }
15
+ .clear-fix::after {
16
+ display: table;
17
+ clear: both;
18
+ content: '';
19
+ }
20
+ .common-style {
21
+ box-sizing: border-box;
22
+ font-size: 12px;
23
+ font-family: inherit;
24
+ }
25
+ .common-style::before,
26
+ .common-style::after {
27
+ box-sizing: border-box;
28
+ }
1
29
  .aplus-field-checkbox--vertical {
2
30
  display: inline-block;
3
31
  }
4
32
  .aplus-field-checkbox--vertical label.ant-checkbox-wrapper:not(:last-child) {
5
33
  display: flex;
6
- margin-block-end: 16px;
34
+ margin-block-end: 12px;
7
35
  }
8
36
  .aplus-field-number-label-left {
9
37
  padding-right: 4px;
@@ -13,7 +41,7 @@
13
41
  }
14
42
  .aplus-field-radio--vertical label.ant-radio-wrapper:not(:last-child) {
15
43
  display: flex;
16
- margin-block-end: 16px;
44
+ margin-block-end: 12px;
17
45
  }
18
46
  .aplus-field-text-area {
19
47
  white-space: pre-wrap;
@@ -1,3 +1,31 @@
1
+ .reset-component {
2
+ box-sizing: border-box;
3
+ margin: 0;
4
+ padding: 0;
5
+ color: rgba(0 0 0 / 85%);
6
+ font-size: 12px;
7
+ font-family: inherit;
8
+ line-height: 1.5;
9
+ list-style: none;
10
+ }
11
+ .clear-fix::before {
12
+ display: table;
13
+ content: '';
14
+ }
15
+ .clear-fix::after {
16
+ display: table;
17
+ clear: both;
18
+ content: '';
19
+ }
20
+ .common-style {
21
+ box-sizing: border-box;
22
+ font-size: 12px;
23
+ font-family: inherit;
24
+ }
25
+ .common-style::before,
26
+ .common-style::after {
27
+ box-sizing: border-box;
28
+ }
1
29
  .aplus-batch-input-group-popover-input {
2
30
  display: inline-flex;
3
31
  align-items: center;
@@ -1,4 +1,40 @@
1
+ .reset-component {
2
+ box-sizing: border-box;
3
+ margin: 0;
4
+ padding: 0;
5
+ color: rgba(0 0 0 / 85%);
6
+ font-size: 12px;
7
+ font-family: inherit;
8
+ line-height: 1.5;
9
+ list-style: none;
10
+ }
11
+ .clear-fix::before {
12
+ display: table;
13
+ content: '';
14
+ }
15
+ .clear-fix::after {
16
+ display: table;
17
+ clear: both;
18
+ content: '';
19
+ }
20
+ .common-style {
21
+ box-sizing: border-box;
22
+ font-size: 12px;
23
+ font-family: inherit;
24
+ }
25
+ .common-style::before,
26
+ .common-style::after {
27
+ box-sizing: border-box;
28
+ }
1
29
  .aplus-check-card {
30
+ box-sizing: border-box;
31
+ margin: 0;
32
+ padding: 0;
33
+ color: rgba(0 0 0 / 85%);
34
+ font-size: 12px;
35
+ font-family: inherit;
36
+ line-height: 1.5;
37
+ list-style: none;
2
38
  border-radius: 4px;
3
39
  position: relative;
4
40
  }
@@ -21,8 +57,8 @@
21
57
  opacity: 0;
22
58
  inset-block-start: -2px;
23
59
  inset-inline-end: -2px;
24
- border-inline-start: var(--check-card-indicator-size, 16px) solid transparent;
25
- border-block-end: var(--check-card-indicator-size, 16px) solid transparent;
60
+ border-inline-start: var(--check-card-indicator-size, 14px) solid transparent;
61
+ border-block-end: var(--check-card-indicator-size, 14px) solid transparent;
26
62
  border-radius: 4px;
27
63
  }
28
64
  .aplus-check-card--checked {
@@ -33,9 +69,9 @@
33
69
  }
34
70
  .aplus-check-card--checked::after {
35
71
  opacity: 1;
36
- border: var(--check-card-indicator-size, 16px) solid var(--check-card-checked-bg, #0070ff);
37
- border-inline-start: var(--check-card-indicator-size, 16px) solid transparent;
38
- border-block-end: var(--check-card-indicator-size, 16px) solid transparent;
72
+ border: var(--check-card-indicator-size, 14px) solid var(--check-card-checked-bg, #0070ff);
73
+ border-inline-start: var(--check-card-indicator-size, 14px) solid transparent;
74
+ border-block-end: var(--check-card-indicator-size, 14px) solid transparent;
39
75
  inset-block-start: -2px;
40
76
  inset-inline-end: -2px;
41
77
  transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
@@ -44,29 +80,41 @@
44
80
  outline-color: #E9EDF3;
45
81
  }
46
82
  .aplus-check-card--checked.aplus-check-card--disabled::after {
47
- border: var(--check-card-indicator-size, 16px) solid #E9EDF3;
48
- border-inline-start: var(--check-card-indicator-size, 16px) solid transparent;
49
- border-block-end: var(--check-card-indicator-size, 16px) solid transparent;
83
+ border: var(--check-card-indicator-size, 14px) solid #E9EDF3;
84
+ border-inline-start: var(--check-card-indicator-size, 14px) solid transparent;
85
+ border-block-end: var(--check-card-indicator-size, 14px) solid transparent;
50
86
  }
51
87
  .aplus-check-card--middle {
52
- padding: 16px 24px;
88
+ padding: 12px;
53
89
  }
54
90
  .aplus-check-card--small {
55
- padding: 12px 24px;
91
+ padding: 6px 12px;
56
92
  }
57
93
  .aplus-check-card__title {
58
- margin-bottom: 8px;
59
- font-size: 14px;
60
- line-height: 22px;
94
+ box-sizing: border-box;
95
+ margin: 0;
96
+ padding: 0;
97
+ color: rgba(0 0 0 / 85%);
98
+ font-size: 12px;
99
+ font-family: inherit;
100
+ line-height: 1.5;
101
+ list-style: none;
102
+ margin-bottom: 4px;
61
103
  color: #333;
62
- font-weight: 500;
104
+ font-weight: bold;
63
105
  }
64
106
  .aplus-check-card__title--disabled {
65
107
  color: #ABB7CC;
66
108
  }
67
109
  .aplus-check-card__content {
68
- font-size: 14px;
69
- line-height: 22px;
110
+ box-sizing: border-box;
111
+ margin: 0;
112
+ padding: 0;
113
+ color: rgba(0 0 0 / 85%);
114
+ font-size: 12px;
115
+ font-family: inherit;
116
+ line-height: 1.5;
117
+ list-style: none;
70
118
  color: #333;
71
119
  }
72
120
  .aplus-check-card__content--disabled {
@@ -83,6 +131,6 @@
83
131
  user-select: none;
84
132
  }
85
133
  .aplus-check-card__checked-icon > img {
86
- width: calc(var(--check-card-indicator-size, 16px) - 2px);
134
+ width: calc(var(--check-card-indicator-size, 14px) - 2px);
87
135
  vertical-align: top;
88
136
  }
@@ -3,8 +3,11 @@
3
3
 
4
4
  @disabledCls: ~'@{ns}-check-card--disabled';
5
5
 
6
+ @defaultIndicatorSize: 14px;
7
+
6
8
  .b(check-card, {
7
- border-radius: 4px;
9
+ .reset-component();
10
+ border-radius: @border-radius;
8
11
  position: relative;
9
12
  &--disabled {
10
13
  background-color: #F9F9FA;
@@ -25,9 +28,9 @@
25
28
  opacity: 0;
26
29
  inset-block-start: -2px;
27
30
  inset-inline-end: -2px;
28
- border-inline-start: var(--check-card-indicator-size, 16px) solid transparent;
29
- border-block-end: var(--check-card-indicator-size, 16px) solid transparent;
30
- border-radius: 4px;
31
+ border-inline-start: var(--check-card-indicator-size, @defaultIndicatorSize) solid transparent;
32
+ border-block-end: var(--check-card-indicator-size, @defaultIndicatorSize) solid transparent;
33
+ border-radius: @border-radius;
31
34
  }
32
35
  &--checked {
33
36
  &:hover:not(.@{disabledCls}) {
@@ -36,9 +39,9 @@
36
39
  outline: 2px solid var(--check-card-checked-outline-color, #0070ff);
37
40
  &::after {
38
41
  opacity: 1;
39
- border: var(--check-card-indicator-size, 16px) solid var(--check-card-checked-bg, #0070ff);
40
- border-inline-start: var(--check-card-indicator-size, 16px) solid transparent;
41
- border-block-end: var(--check-card-indicator-size, 16px) solid transparent;
42
+ border: var(--check-card-indicator-size, @defaultIndicatorSize) solid var(--check-card-checked-bg, #0070ff);
43
+ border-inline-start: var(--check-card-indicator-size, @defaultIndicatorSize) solid transparent;
44
+ border-block-end: var(--check-card-indicator-size, @defaultIndicatorSize) solid transparent;
42
45
  inset-block-start: -2px;
43
46
  inset-inline-end: -2px;
44
47
  transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
@@ -47,30 +50,28 @@
47
50
  &--checked&--disabled {
48
51
  outline-color: #E9EDF3;
49
52
  &::after {
50
- border: var(--check-card-indicator-size, 16px) solid #E9EDF3;
51
- border-inline-start: var(--check-card-indicator-size, 16px) solid transparent;
52
- border-block-end: var(--check-card-indicator-size, 16px) solid transparent;
53
+ border: var(--check-card-indicator-size, @defaultIndicatorSize) solid #E9EDF3;
54
+ border-inline-start: var(--check-card-indicator-size, @defaultIndicatorSize) solid transparent;
55
+ border-block-end: var(--check-card-indicator-size, @defaultIndicatorSize) solid transparent;
53
56
  }
54
57
  }
55
58
  &--middle {
56
- padding: 16px 24px;
59
+ padding: @spacing-lg;
57
60
  }
58
61
  &--small {
59
- padding: 12px 24px;
62
+ padding: @spacing-sm @spacing-lg;
60
63
  }
61
64
  &__title {
62
- margin-bottom: 8px;
63
- font-size: 14px;
64
- line-height: 22px;
65
+ .reset-component();
66
+ margin-bottom: @spacing-xs;
65
67
  color: #333;
66
- font-weight: 500;
68
+ font-weight: bold;
67
69
  &--disabled {
68
70
  color: #ABB7CC;
69
71
  }
70
72
  }
71
73
  &__content {
72
- font-size: 14px;
73
- line-height: 22px;
74
+ .reset-component();
74
75
  color: #333;
75
76
  &--disabled {
76
77
  color: #ABB7CC;
@@ -84,7 +85,7 @@
84
85
  line-height: 1;
85
86
  user-select: none;
86
87
  & > img {
87
- width: calc(var(--check-card-indicator-size, 16px) - 2px);
88
+ width: calc(var(--check-card-indicator-size, @defaultIndicatorSize) - 2px);
88
89
  vertical-align: top;
89
90
  }
90
91
  }