@vef-framework-react/components 2.11.0 → 2.12.0

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 (318) hide show
  1. package/dist/cjs/code-editor/completions.cjs +1 -0
  2. package/dist/cjs/code-editor/format.cjs +3 -0
  3. package/dist/cjs/code-editor/index.cjs +1 -1
  4. package/dist/cjs/crud/components/scene-form.cjs +1 -1
  5. package/dist/cjs/crud/index.cjs +1 -1
  6. package/dist/cjs/editable-table/index.cjs +1 -1
  7. package/dist/cjs/flex-tabs/index.cjs +1 -0
  8. package/dist/cjs/flex-tabs/styles.cjs +1 -0
  9. package/dist/cjs/form-drawer/index.cjs +1 -1
  10. package/dist/cjs/form-modal/index.cjs +1 -1
  11. package/dist/cjs/index.cjs +1 -1
  12. package/dist/cjs/labeled/index.cjs +1 -0
  13. package/dist/cjs/labels/index.cjs +1 -0
  14. package/dist/es/_base/constants/breakpoints.js +1 -1
  15. package/dist/es/_base/constants/common.js +1 -1
  16. package/dist/es/_base/constants/css-vars.js +1 -1
  17. package/dist/es/_base/constants/event.js +1 -1
  18. package/dist/es/_base/constants/index.js +1 -1
  19. package/dist/es/_base/constants/symbols.js +1 -1
  20. package/dist/es/_base/constants/theme.js +1 -1
  21. package/dist/es/_base/globals.js +1 -1
  22. package/dist/es/_base/helpers/breakpoints.js +1 -1
  23. package/dist/es/_base/helpers/color.js +1 -1
  24. package/dist/es/_base/helpers/common.js +1 -1
  25. package/dist/es/_base/helpers/event.js +1 -1
  26. package/dist/es/_base/helpers/index.js +1 -1
  27. package/dist/es/_base/helpers/message.js +1 -1
  28. package/dist/es/_base/helpers/modal.js +1 -1
  29. package/dist/es/_base/helpers/notification.js +1 -1
  30. package/dist/es/_base/helpers/props.js +1 -1
  31. package/dist/es/_base/helpers/react.js +1 -1
  32. package/dist/es/_base/hooks/index.js +1 -1
  33. package/dist/es/_base/hooks/use-theme-tokens.js +1 -1
  34. package/dist/es/_base/index.js +1 -1
  35. package/dist/es/_base/styles/common.js +1 -1
  36. package/dist/es/_base/styles/index.js +1 -1
  37. package/dist/es/_base/types/breakpoints.js +1 -1
  38. package/dist/es/_base/types/common.js +1 -1
  39. package/dist/es/_base/types/index.js +1 -1
  40. package/dist/es/action-button/index.js +1 -1
  41. package/dist/es/action-button/use-action-button.js +1 -1
  42. package/dist/es/action-group/index.js +1 -1
  43. package/dist/es/action-group/use-action-group.js +1 -1
  44. package/dist/es/action-group/use-computed-action-buttons.js +1 -1
  45. package/dist/es/affix/index.js +1 -1
  46. package/dist/es/alert/index.js +1 -1
  47. package/dist/es/anchor/index.js +1 -1
  48. package/dist/es/auto-complete/index.js +1 -1
  49. package/dist/es/avatar/index.js +1 -1
  50. package/dist/es/badge/index.js +1 -1
  51. package/dist/es/bool/index.js +1 -1
  52. package/dist/es/border-beam/index.js +1 -1
  53. package/dist/es/breadcrumb/index.js +1 -1
  54. package/dist/es/button/index.js +1 -1
  55. package/dist/es/calendar/index.js +1 -1
  56. package/dist/es/card/index.js +1 -1
  57. package/dist/es/carousel/index.js +1 -1
  58. package/dist/es/cascader/index.js +1 -1
  59. package/dist/es/center/index.js +1 -1
  60. package/dist/es/charts/chart.js +1 -1
  61. package/dist/es/charts/helpers/group.js +1 -1
  62. package/dist/es/charts/helpers/index.js +1 -1
  63. package/dist/es/charts/hooks/index.js +1 -1
  64. package/dist/es/charts/hooks/use-chart.js +1 -1
  65. package/dist/es/charts/index.js +1 -1
  66. package/dist/es/charts/themes/index.js +1 -1
  67. package/dist/es/charts/themes/walden-dark.js +1 -1
  68. package/dist/es/charts/themes/walden.js +1 -1
  69. package/dist/es/charts/themes/wonderland-dark.js +1 -1
  70. package/dist/es/charts/themes/wonderland.js +1 -1
  71. package/dist/es/checkbox/index.js +1 -1
  72. package/dist/es/code-editor/completions.js +51 -0
  73. package/dist/es/code-editor/format.js +26 -0
  74. package/dist/es/code-editor/index.js +193 -117
  75. package/dist/es/code-highlighter/index.js +1 -1
  76. package/dist/es/col/index.js +1 -1
  77. package/dist/es/collapse/index.js +1 -1
  78. package/dist/es/color-picker/index.js +1 -1
  79. package/dist/es/compact/index.js +1 -1
  80. package/dist/es/config-provider/app.js +1 -1
  81. package/dist/es/config-provider/constants.js +1 -1
  82. package/dist/es/config-provider/context-holder.js +1 -1
  83. package/dist/es/config-provider/css-vars.js +1 -1
  84. package/dist/es/config-provider/dark-mode-context.js +1 -1
  85. package/dist/es/config-provider/error-fallback.js +1 -1
  86. package/dist/es/config-provider/global-style.js +1 -1
  87. package/dist/es/config-provider/index.js +1 -1
  88. package/dist/es/config-provider/theme-config.js +1 -1
  89. package/dist/es/config-provider/use-config-provider.js +1 -1
  90. package/dist/es/crud/components/action-button-group.js +1 -1
  91. package/dist/es/crud/components/index.js +1 -1
  92. package/dist/es/crud/components/main.js +1 -1
  93. package/dist/es/crud/components/mutation-holder.js +1 -1
  94. package/dist/es/crud/components/operation-button-group.js +1 -1
  95. package/dist/es/crud/components/scene-form.js +23 -22
  96. package/dist/es/crud/components/selection-indicator.js +1 -1
  97. package/dist/es/crud/components/toolbar-actions.js +1 -1
  98. package/dist/es/crud/components/toolbar.js +1 -1
  99. package/dist/es/crud/event.js +1 -1
  100. package/dist/es/crud/helpers.js +1 -1
  101. package/dist/es/crud/hooks/index.js +1 -1
  102. package/dist/es/crud/hooks/use-query-observer.js +1 -1
  103. package/dist/es/crud/hooks/use-search-values.js +1 -1
  104. package/dist/es/crud/hooks/use-selected-rows.js +1 -1
  105. package/dist/es/crud/index.js +17 -16
  106. package/dist/es/crud/store.js +1 -1
  107. package/dist/es/crud/styles.js +1 -1
  108. package/dist/es/crud-page/index.js +1 -1
  109. package/dist/es/date-picker/index.js +1 -1
  110. package/dist/es/descriptions/index.js +1 -1
  111. package/dist/es/divider/index.js +1 -1
  112. package/dist/es/drawer/index.js +1 -1
  113. package/dist/es/dropdown/index.js +1 -1
  114. package/dist/es/dynamic-icon/index.js +1 -1
  115. package/dist/es/dynamic-icon/load-icon-node.js +1 -1
  116. package/dist/es/dynamic-icon/placeholder-icon.js +1 -1
  117. package/dist/es/dynamic-icon/unknown-icon.js +1 -1
  118. package/dist/es/editable-table/components/add-row-button.js +1 -1
  119. package/dist/es/editable-table/components/editable-cell.js +1 -1
  120. package/dist/es/editable-table/components/editable-row-actions.js +1 -1
  121. package/dist/es/editable-table/components/index.js +1 -1
  122. package/dist/es/editable-table/helpers.js +1 -1
  123. package/dist/es/editable-table/hooks/index.js +1 -1
  124. package/dist/es/editable-table/hooks/use-editable-actions.js +1 -1
  125. package/dist/es/editable-table/hooks/use-editable-columns.js +1 -1
  126. package/dist/es/editable-table/index.js +28 -26
  127. package/dist/es/editable-table/store.js +1 -1
  128. package/dist/es/empty/empty.js +1 -1
  129. package/dist/es/empty/index.js +1 -1
  130. package/dist/es/file-preview/index.js +1 -1
  131. package/dist/es/file-upload/helpers.js +1 -1
  132. package/dist/es/file-upload/index.js +1 -1
  133. package/dist/es/flex/index.js +1 -1
  134. package/dist/es/flex-card/index.js +1 -1
  135. package/dist/es/flex-card/styles.js +1 -1
  136. package/dist/es/flex-tabs/index.js +13 -0
  137. package/dist/es/flex-tabs/styles.js +16 -0
  138. package/dist/es/flip-text/index.js +1 -1
  139. package/dist/es/float-button/index.js +1 -1
  140. package/dist/es/form/components/form.js +1 -1
  141. package/dist/es/form/components/index.js +1 -1
  142. package/dist/es/form/components/reset-button.js +1 -1
  143. package/dist/es/form/components/submit-button.js +1 -1
  144. package/dist/es/form/contexts/form-context.js +1 -1
  145. package/dist/es/form/contexts/form-layout.js +1 -1
  146. package/dist/es/form/contexts/index.js +1 -1
  147. package/dist/es/form/fields/auto-complete/index.js +1 -1
  148. package/dist/es/form/fields/bool/index.js +1 -1
  149. package/dist/es/form/fields/cascader/index.js +1 -1
  150. package/dist/es/form/fields/checkbox/index.js +1 -1
  151. package/dist/es/form/fields/code-editor/index.js +1 -1
  152. package/dist/es/form/fields/color-picker/index.js +1 -1
  153. package/dist/es/form/fields/date-picker/index.js +1 -1
  154. package/dist/es/form/fields/date-range-picker/index.js +1 -1
  155. package/dist/es/form/fields/icon-picker/index.js +1 -1
  156. package/dist/es/form/fields/index.js +1 -1
  157. package/dist/es/form/fields/input/index.js +1 -1
  158. package/dist/es/form/fields/input-number/index.js +1 -1
  159. package/dist/es/form/fields/mentions/index.js +1 -1
  160. package/dist/es/form/fields/password/index.js +1 -1
  161. package/dist/es/form/fields/radio/index.js +1 -1
  162. package/dist/es/form/fields/rate/index.js +1 -1
  163. package/dist/es/form/fields/select/index.js +1 -1
  164. package/dist/es/form/fields/slider/index.js +1 -1
  165. package/dist/es/form/fields/textarea/index.js +1 -1
  166. package/dist/es/form/fields/time-picker/index.js +1 -1
  167. package/dist/es/form/fields/time-range-picker/index.js +1 -1
  168. package/dist/es/form/fields/transfer/index.js +1 -1
  169. package/dist/es/form/fields/tree-select/index.js +1 -1
  170. package/dist/es/form/fields/upload/index.js +1 -1
  171. package/dist/es/form/form-actions.js +1 -1
  172. package/dist/es/form/form.js +1 -1
  173. package/dist/es/form/helpers/create-field.js +1 -1
  174. package/dist/es/form/helpers/index.js +1 -1
  175. package/dist/es/form/helpers/with-form-item.js +1 -1
  176. package/dist/es/form/hooks/use-form-item-props.js +1 -1
  177. package/dist/es/form/hooks/use-label-width.js +1 -1
  178. package/dist/es/form/index.js +1 -1
  179. package/dist/es/form/use-form.js +1 -1
  180. package/dist/es/form-drawer/index.js +38 -37
  181. package/dist/es/form-modal/index.js +29 -28
  182. package/dist/es/generic-select/index.js +1 -1
  183. package/dist/es/grid/context.js +1 -1
  184. package/dist/es/grid/grid-item.js +1 -1
  185. package/dist/es/grid/hooks/index.js +1 -1
  186. package/dist/es/grid/hooks/use-container-breakpoints.js +1 -1
  187. package/dist/es/grid/hooks/use-container-width.js +1 -1
  188. package/dist/es/grid/hooks/use-grid-collapsed.js +1 -1
  189. package/dist/es/grid/hooks/use-normalized-gap.js +1 -1
  190. package/dist/es/grid/hooks/use-responsive-breakpoint.js +1 -1
  191. package/dist/es/grid/hooks/use-responsive-value.js +1 -1
  192. package/dist/es/grid/index.js +1 -1
  193. package/dist/es/grid/styles.js +1 -1
  194. package/dist/es/group/index.js +1 -1
  195. package/dist/es/icon/index.js +1 -1
  196. package/dist/es/icon-button/index.js +1 -1
  197. package/dist/es/icon-picker/icon-grid.js +1 -1
  198. package/dist/es/icon-picker/index.js +1 -1
  199. package/dist/es/image/index.js +1 -1
  200. package/dist/es/index.js +98 -94
  201. package/dist/es/input/index.js +1 -1
  202. package/dist/es/input-number/index.js +1 -1
  203. package/dist/es/keyboard/index.js +1 -1
  204. package/dist/es/labeled/index.js +50 -0
  205. package/dist/es/labels/index.js +136 -0
  206. package/dist/es/list/index.js +1 -1
  207. package/dist/es/loader/index.js +1 -1
  208. package/dist/es/logo-icon/index.js +1 -1
  209. package/dist/es/mentions/index.js +1 -1
  210. package/dist/es/menu/index.js +1 -1
  211. package/dist/es/modal/index.js +1 -1
  212. package/dist/es/modal/modal.js +1 -1
  213. package/dist/es/operation-button/index.js +1 -1
  214. package/dist/es/page/components/aside-panel.js +1 -1
  215. package/dist/es/page/components/index.js +1 -1
  216. package/dist/es/page/components/resize-handle.js +1 -1
  217. package/dist/es/page/components/scroll-content.js +1 -1
  218. package/dist/es/page/entrance.js +1 -1
  219. package/dist/es/page/hooks/index.js +1 -1
  220. package/dist/es/page/hooks/use-page-key.js +1 -1
  221. package/dist/es/page/hooks/use-resize.js +1 -1
  222. package/dist/es/page/index.js +1 -1
  223. package/dist/es/page/styles.js +1 -1
  224. package/dist/es/page/viewport-context.js +1 -1
  225. package/dist/es/pagination/index.js +1 -1
  226. package/dist/es/permission-gate/index.js +1 -1
  227. package/dist/es/popconfirm/index.js +1 -1
  228. package/dist/es/popover/index.js +1 -1
  229. package/dist/es/pro-search/components/advanced-search-toggler.js +1 -1
  230. package/dist/es/pro-search/components/advanced-search.js +1 -1
  231. package/dist/es/pro-search/components/index.js +1 -1
  232. package/dist/es/pro-search/components/search-actions.js +1 -1
  233. package/dist/es/pro-search/index.js +1 -1
  234. package/dist/es/pro-search/styles.js +1 -1
  235. package/dist/es/pro-table/components/column-setting-item.js +8 -8
  236. package/dist/es/pro-table/components/column-settings-panel.js +1 -1
  237. package/dist/es/pro-table/components/column-settings.js +1 -1
  238. package/dist/es/pro-table/components/index.js +1 -1
  239. package/dist/es/pro-table/components/operation-button-group.js +1 -1
  240. package/dist/es/pro-table/components/ref.js +1 -1
  241. package/dist/es/pro-table/components/table-subscriber.js +1 -1
  242. package/dist/es/pro-table/components/table-summary.js +1 -1
  243. package/dist/es/pro-table/components/table-title.js +1 -1
  244. package/dist/es/pro-table/components/table.js +1 -1
  245. package/dist/es/pro-table/components/width-popover.js +1 -1
  246. package/dist/es/pro-table/context.js +1 -1
  247. package/dist/es/pro-table/event.js +1 -1
  248. package/dist/es/pro-table/hooks/index.js +1 -1
  249. package/dist/es/pro-table/hooks/use-column-settings-persistence.js +1 -1
  250. package/dist/es/pro-table/hooks/use-row-selection.js +1 -1
  251. package/dist/es/pro-table/hooks/use-table-columns.js +1 -1
  252. package/dist/es/pro-table/index.js +1 -1
  253. package/dist/es/pro-table/store.js +1 -1
  254. package/dist/es/progress/index.js +1 -1
  255. package/dist/es/qrcode/index.js +1 -1
  256. package/dist/es/radio/index.js +1 -1
  257. package/dist/es/rate/index.js +1 -1
  258. package/dist/es/result/index.js +1 -1
  259. package/dist/es/row/index.js +1 -1
  260. package/dist/es/scroll-area/index.js +1 -1
  261. package/dist/es/scroll-area/styles.js +1 -1
  262. package/dist/es/segmented/index.js +1 -1
  263. package/dist/es/select/hooks/index.js +1 -1
  264. package/dist/es/select/hooks/use-data-options-select.js +1 -1
  265. package/dist/es/select/hooks/use-dictionary-options-select.js +1 -1
  266. package/dist/es/select/index.js +1 -1
  267. package/dist/es/skeleton/index.js +1 -1
  268. package/dist/es/slider/index.js +1 -1
  269. package/dist/es/space/index.js +1 -1
  270. package/dist/es/space/space.js +1 -1
  271. package/dist/es/sparkles-text/index.js +1 -1
  272. package/dist/es/sparkles-text/sparkle.js +1 -1
  273. package/dist/es/spin/index.js +1 -1
  274. package/dist/es/split-text/index.js +1 -1
  275. package/dist/es/splitter/index.js +1 -1
  276. package/dist/es/stack/index.js +1 -1
  277. package/dist/es/statistic/index.js +1 -1
  278. package/dist/es/steps/index.js +1 -1
  279. package/dist/es/switch/index.js +1 -1
  280. package/dist/es/table/index.js +1 -1
  281. package/dist/es/table/use-pagination-props.js +1 -1
  282. package/dist/es/tabs/index.js +1 -1
  283. package/dist/es/tag/index.js +1 -1
  284. package/dist/es/time-picker/index.js +1 -1
  285. package/dist/es/timeline/index.js +1 -1
  286. package/dist/es/tooltip/index.js +1 -1
  287. package/dist/es/tour/index.js +1 -1
  288. package/dist/es/transfer/index.js +1 -1
  289. package/dist/es/tree/hooks/index.js +1 -1
  290. package/dist/es/tree/hooks/use-data-options-tree.js +1 -1
  291. package/dist/es/tree/index.js +1 -1
  292. package/dist/es/tree-select/hooks/index.js +1 -1
  293. package/dist/es/tree-select/hooks/use-data-options-tree-select.js +1 -1
  294. package/dist/es/tree-select/index.js +1 -1
  295. package/dist/es/typing-animation/index.js +1 -1
  296. package/dist/es/typography/index.js +1 -1
  297. package/dist/es/upload/helpers.js +1 -1
  298. package/dist/es/upload/index.js +1 -1
  299. package/dist/es/watermark/index.js +1 -1
  300. package/dist/types/code-editor/completions.d.ts +62 -0
  301. package/dist/types/code-editor/format.d.ts +10 -0
  302. package/dist/types/code-editor/index.d.ts +2 -1
  303. package/dist/types/code-editor/props.d.ts +20 -1
  304. package/dist/types/crud/components/scene-form.d.ts +1 -1
  305. package/dist/types/crud/index.d.ts +1 -1
  306. package/dist/types/crud/props.d.ts +6 -0
  307. package/dist/types/dynamic-icon/index.d.ts +1 -1
  308. package/dist/types/editable-table/props.d.ts +14 -0
  309. package/dist/types/flex-tabs/index.d.ts +10 -0
  310. package/dist/types/flex-tabs/props.d.ts +2 -0
  311. package/dist/types/flex-tabs/styles.d.ts +2 -0
  312. package/dist/types/form/index.d.ts +1 -0
  313. package/dist/types/form-drawer/props.d.ts +6 -1
  314. package/dist/types/form-modal/props.d.ts +6 -1
  315. package/dist/types/index.d.ts +4 -1
  316. package/dist/types/labeled/index.d.ts +29 -0
  317. package/dist/types/labels/index.d.ts +54 -0
  318. package/package.json +6 -4
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.11.0 made by Venus | 2026-07-15T09:37:59.038Z */
1
+ /*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
2
2
  import { globalCssVars as e } from "../_base/constants/css-vars.js";
3
3
  import { DynamicIcon as t } from "../dynamic-icon/index.js";
4
4
  import { GenericSelect as n } from "../generic-select/index.js";
@@ -1,3 +1,3 @@
1
- /*! @vef-framework-react/components v2.11.0 made by Venus | 2026-07-15T09:37:59.038Z */
1
+ /*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
2
2
  import { Image as e } from "antd";
3
3
  export { e as Image };
package/dist/es/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.11.0 made by Venus | 2026-07-15T09:37:59.038Z */
1
+ /*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
2
2
  import { breakpoints as e } from "./_base/constants/breakpoints.js";
3
3
  import { colors as t, fullSizes as n, presetColors as r, semanticColors as i, semanticSceneIcons as a, semanticSceneLabels as o, semanticScenes as s, sizes as c } from "./_base/constants/common.js";
4
4
  import { globalCssVars as l } from "./_base/constants/css-vars.js";
@@ -41,96 +41,100 @@ import { ConfigProvider as oe } from "./config-provider/index.js";
41
41
  import { useChart as se } from "./charts/hooks/use-chart.js";
42
42
  import { Chart as ce } from "./charts/chart.js";
43
43
  import { connectCharts as le, disconnectCharts as ue } from "./charts/helpers/group.js";
44
- import { CodeEditor as de } from "./code-editor/index.js";
45
- import { CodeHighlighter as fe } from "./code-highlighter/index.js";
46
- import { Col as pe } from "./col/index.js";
47
- import { Collapse as me } from "./collapse/index.js";
48
- import { ColorPicker as he } from "./color-picker/index.js";
49
- import { Compact as ge } from "./compact/index.js";
50
- import { FlexCard as _e } from "./flex-card/index.js";
51
- import { Stack as ve } from "./stack/index.js";
52
- import { Divider as ye } from "./divider/index.js";
53
- import { Tooltip as be } from "./tooltip/index.js";
54
- import { pageSizeOptions as xe, usePaginationProps as Se } from "./table/use-pagination-props.js";
55
- import { Table as Ce } from "./table/index.js";
56
- import { Popover as we } from "./popover/index.js";
57
- import { Slider as Te } from "./slider/index.js";
58
- import { OperationButtonGroup as Ee } from "./pro-table/components/operation-button-group.js";
59
- import { TableSubscriber as De } from "./pro-table/components/table-subscriber.js";
60
- import { ProTable as Oe } from "./pro-table/index.js";
61
- import { restoreFieldOptions as ke } from "./form/helpers/create-field.js";
62
- import { DatePicker as Ae } from "./date-picker/index.js";
63
- import { DynamicIcon as je } from "./dynamic-icon/index.js";
64
- import { GenericSelect as Me } from "./generic-select/index.js";
65
- import Ne from "./empty/empty.js";
66
- import { ScrollArea as Pe } from "./scroll-area/index.js";
67
- import { IconPicker as Fe } from "./icon-picker/index.js";
68
- import { Input as Ie } from "./input/index.js";
69
- import { InputNumber as Le } from "./input-number/index.js";
70
- import { Mentions as Re } from "./mentions/index.js";
71
- import { Rate as ze } from "./rate/index.js";
72
- import { FlipText as Be } from "./flip-text/index.js";
73
- import { Spin as Ve } from "./spin/index.js";
74
- import { Loader as He } from "./loader/index.js";
75
- import { useDataOptionsSelect as Ue } from "./select/hooks/use-data-options-select.js";
76
- import { useDictionaryOptionsSelect as We } from "./select/hooks/use-dictionary-options-select.js";
77
- import { Select as Ge } from "./select/index.js";
78
- import { TimePicker as Ke } from "./time-picker/index.js";
79
- import { Transfer as qe } from "./transfer/index.js";
80
- import { useDataOptionsTreeSelect as Je } from "./tree-select/hooks/use-data-options-tree-select.js";
81
- import { TreeSelect as Ye } from "./tree-select/index.js";
82
- import { FilePreviewProvider as Xe, useFilePreview as Ze } from "./file-preview/index.js";
83
- import { Image as Qe } from "./image/index.js";
84
- import { toFilePreviewTarget as $e } from "./upload/helpers.js";
85
- import { Upload as et } from "./upload/index.js";
86
- import { FileUpload as tt } from "./file-upload/index.js";
87
- import { createFormOptions as nt, useFormContext as rt, useFormStore as it, withFieldGroup as at, withForm as ot } from "./form/form.js";
88
- import { useForm as st } from "./form/use-form.js";
89
- import { ProSearch as ct } from "./pro-search/index.js";
90
- import { Link as lt, Paragraph as ut, Text as dt, Title as ft } from "./typography/index.js";
91
- import { Drawer as pt } from "./drawer/index.js";
92
- import { FormDrawer as mt } from "./form-drawer/index.js";
93
- import { Modal as ht } from "./modal/modal.js";
94
- import { FormModal as gt } from "./form-modal/index.js";
95
- import { createCrudKit as _t } from "./crud/helpers.js";
96
- import { Crud as vt } from "./crud/index.js";
97
- import { useViewportHeight as yt } from "./page/viewport-context.js";
98
- import { usePageEntranceEffect as bt, usePageEntranceSettled as xt } from "./page/entrance.js";
99
- import { Page as St } from "./page/index.js";
100
- import { CrudPage as Ct } from "./crud-page/index.js";
101
- import { Descriptions as wt } from "./descriptions/index.js";
102
- import { Dropdown as Tt } from "./dropdown/index.js";
103
- import { PermissionGate as Et } from "./permission-gate/index.js";
104
- import { OperationButton as Dt } from "./operation-button/index.js";
105
- import { createEditableColumn as Ot } from "./editable-table/helpers.js";
106
- import { EditableTable as kt } from "./editable-table/index.js";
107
- import { FloatButton as At } from "./float-button/index.js";
108
- import { useGridCollapsed as jt } from "./grid/hooks/use-grid-collapsed.js";
109
- import { Grid as Mt } from "./grid/index.js";
110
- import { IconButton as Nt } from "./icon-button/index.js";
111
- import { Keyboard as Pt } from "./keyboard/index.js";
112
- import { List as Ft } from "./list/index.js";
113
- import { LogoIcon as It } from "./logo-icon/index.js";
114
- import { Menu as Lt } from "./menu/index.js";
115
- import { Pagination as Rt } from "./pagination/index.js";
116
- import { Progress as zt } from "./progress/index.js";
117
- import { QRCode as Bt } from "./qrcode/index.js";
118
- import { Result as Vt } from "./result/index.js";
119
- import { Row as Ht } from "./row/index.js";
120
- import { Segmented as Ut } from "./segmented/index.js";
121
- import { Skeleton as Wt } from "./skeleton/index.js";
122
- import Gt from "./space/space.js";
123
- import { SparklesText as Kt } from "./sparkles-text/index.js";
124
- import { SplitText as qt } from "./split-text/index.js";
125
- import { Splitter as Jt } from "./splitter/index.js";
126
- import { Statistic as Yt } from "./statistic/index.js";
127
- import { Steps as Xt } from "./steps/index.js";
128
- import { Tabs as Zt } from "./tabs/index.js";
129
- import { Tag as Qt } from "./tag/index.js";
130
- import { Timeline as $t } from "./timeline/index.js";
131
- import { Tour as en } from "./tour/index.js";
132
- import { useDataOptionsTree as tn } from "./tree/hooks/use-data-options-tree.js";
133
- import { Tree as nn } from "./tree/index.js";
134
- import { TypingAnimation as rn } from "./typing-animation/index.js";
135
- import { Watermark as an } from "./watermark/index.js";
136
- export { R as ActionButton, V as ActionGroup, H as Affix, U as Alert, W as Anchor, G as AutoComplete, K as Avatar, q as Badge, Z as Bool, Q as BorderBeam, $ as Breadcrumb, F as Button, ee as Calendar, te as Card, ne as Carousel, re as Cascader, ie as Center, ce as Chart, J as Checkbox, de as CodeEditor, fe as CodeHighlighter, pe as Col, me as Collapse, he as ColorPicker, ge as Compact, oe as ConfigProvider, vt as Crud, Ct as CrudPage, Ae as DatePicker, wt as Descriptions, ye as Divider, pt as Drawer, Tt as Dropdown, je as DynamicIcon, kt as EditableTable, Ne as Empty, Xe as FilePreviewProvider, tt as FileUpload, z as Flex, _e as FlexCard, Be as FlipText, At as FloatButton, mt as FormDrawer, gt as FormModal, Me as GenericSelect, Mt as Grid, B as Group, I as Icon, Nt as IconButton, Fe as IconPicker, Qe as Image, Ie as Input, Le as InputNumber, Pt as Keyboard, lt as Link, Ft as List, He as Loader, It as LogoIcon, Re as Mentions, Lt as Menu, ht as Modal, Dt as OperationButton, Ee as OperationButtonGroup, St as Page, Rt as Pagination, ut as Paragraph, Et as PermissionGate, L as Popconfirm, we as Popover, ct as ProSearch, Oe as ProTable, De as ProTableSubscriber, zt as Progress, Bt as QRCode, Y as Radio, ze as Rate, Vt as Result, Ht as Row, u as SYMBOL_PAGINATION, d as SYMBOL_SORT, Pe as ScrollArea, Ut as Segmented, Ge as Select, Wt as Skeleton, Te as Slider, Gt as Space, Kt as SparklesText, Ve as Spin, qt as SplitText, Jt as Splitter, ve as Stack, Yt as Statistic, Xt as Steps, X as Switch, Ce as Table, Zt as Tabs, Qt as Tag, dt as Text, Ke as TimePicker, $t as Timeline, ft as Title, be as Tooltip, en as Tour, qe as Transfer, nn as Tree, Ye as TreeSelect, rn as TypingAnimation, et as Upload, an as Watermark, e as breakpoints, _ as closeAllMessages, O as closeAllNotifications, t as colors, le as connectCharts, _t as createCrudKit, Ot as createEditableColumn, nt as createFormOptions, ue as disconnectCharts, g as emitReloadPage, n as fullSizes, h as getSpacingValue, l as globalCssVars, N as isFragment, p as isPresetColor, m as isSemanticColor, xe as pageSizeOptions, r as presetColors, f as resolveBreakpointValue, ke as restoreFieldOptions, i as semanticColors, a as semanticSceneIcons, o as semanticSceneLabels, s as semanticScenes, C as showConfirm, w as showErrorAlert, v as showErrorMessage, k as showErrorNotification, T as showInfoAlert, y as showInfoMessage, A as showInfoNotification, b as showLoadingMessage, E as showSuccessAlert, x as showSuccessMessage, j as showSuccessNotification, D as showWarningAlert, S as showWarningMessage, M as showWarningNotification, c as sizes, $e as toFilePreviewTarget, se as useChart, Ue as useDataOptionsSelect, tn as useDataOptionsTree, Je as useDataOptionsTreeSelect, We as useDictionaryOptionsSelect, Ze as useFilePreview, st as useForm, rt as useFormContext, it as useFormStore, jt as useGridCollapsed, ae as useIsDarkMode, bt as usePageEntranceEffect, xt as usePageEntranceSettled, Se as usePaginationProps, P as useThemeTokens, yt as useViewportHeight, at as withFieldGroup, ot as withForm };
44
+ import { Tooltip as de } from "./tooltip/index.js";
45
+ import { completeFromEntries as fe } from "./code-editor/completions.js";
46
+ import { CodeEditor as pe } from "./code-editor/index.js";
47
+ import { CodeHighlighter as me } from "./code-highlighter/index.js";
48
+ import { Col as he } from "./col/index.js";
49
+ import { Collapse as ge } from "./collapse/index.js";
50
+ import { ColorPicker as _e } from "./color-picker/index.js";
51
+ import { Compact as ve } from "./compact/index.js";
52
+ import { FlexCard as ye } from "./flex-card/index.js";
53
+ import { Stack as be } from "./stack/index.js";
54
+ import { Divider as xe } from "./divider/index.js";
55
+ import { pageSizeOptions as Se, usePaginationProps as Ce } from "./table/use-pagination-props.js";
56
+ import { Table as we } from "./table/index.js";
57
+ import { Popover as Te } from "./popover/index.js";
58
+ import { Slider as Ee } from "./slider/index.js";
59
+ import { OperationButtonGroup as De } from "./pro-table/components/operation-button-group.js";
60
+ import { TableSubscriber as Oe } from "./pro-table/components/table-subscriber.js";
61
+ import { ProTable as ke } from "./pro-table/index.js";
62
+ import { restoreFieldOptions as Ae } from "./form/helpers/create-field.js";
63
+ import { DatePicker as je } from "./date-picker/index.js";
64
+ import { DynamicIcon as Me } from "./dynamic-icon/index.js";
65
+ import { GenericSelect as Ne } from "./generic-select/index.js";
66
+ import Pe from "./empty/empty.js";
67
+ import { ScrollArea as Fe } from "./scroll-area/index.js";
68
+ import { IconPicker as Ie } from "./icon-picker/index.js";
69
+ import { Input as Le } from "./input/index.js";
70
+ import { InputNumber as Re } from "./input-number/index.js";
71
+ import { Mentions as ze } from "./mentions/index.js";
72
+ import { Rate as Be } from "./rate/index.js";
73
+ import { FlipText as Ve } from "./flip-text/index.js";
74
+ import { Spin as He } from "./spin/index.js";
75
+ import { Loader as Ue } from "./loader/index.js";
76
+ import { useDataOptionsSelect as We } from "./select/hooks/use-data-options-select.js";
77
+ import { useDictionaryOptionsSelect as Ge } from "./select/hooks/use-dictionary-options-select.js";
78
+ import { Select as Ke } from "./select/index.js";
79
+ import { TimePicker as qe } from "./time-picker/index.js";
80
+ import { Transfer as Je } from "./transfer/index.js";
81
+ import { useDataOptionsTreeSelect as Ye } from "./tree-select/hooks/use-data-options-tree-select.js";
82
+ import { TreeSelect as Xe } from "./tree-select/index.js";
83
+ import { FilePreviewProvider as Ze, useFilePreview as Qe } from "./file-preview/index.js";
84
+ import { Image as $e } from "./image/index.js";
85
+ import { toFilePreviewTarget as et } from "./upload/helpers.js";
86
+ import { Upload as tt } from "./upload/index.js";
87
+ import { FileUpload as nt } from "./file-upload/index.js";
88
+ import { createFormOptions as rt, useFormContext as it, useFormStore as at, withFieldGroup as ot, withForm as st } from "./form/form.js";
89
+ import { useForm as ct } from "./form/use-form.js";
90
+ import { ProSearch as lt } from "./pro-search/index.js";
91
+ import { Link as ut, Paragraph as dt, Text as ft, Title as pt } from "./typography/index.js";
92
+ import { Drawer as mt } from "./drawer/index.js";
93
+ import { FormDrawer as ht } from "./form-drawer/index.js";
94
+ import { Modal as gt } from "./modal/modal.js";
95
+ import { FormModal as _t } from "./form-modal/index.js";
96
+ import { createCrudKit as vt } from "./crud/helpers.js";
97
+ import { Crud as yt } from "./crud/index.js";
98
+ import { useViewportHeight as bt } from "./page/viewport-context.js";
99
+ import { usePageEntranceEffect as xt, usePageEntranceSettled as St } from "./page/entrance.js";
100
+ import { Page as Ct } from "./page/index.js";
101
+ import { CrudPage as wt } from "./crud-page/index.js";
102
+ import { Descriptions as Tt } from "./descriptions/index.js";
103
+ import { Dropdown as Et } from "./dropdown/index.js";
104
+ import { PermissionGate as Dt } from "./permission-gate/index.js";
105
+ import { OperationButton as Ot } from "./operation-button/index.js";
106
+ import { createEditableColumn as kt } from "./editable-table/helpers.js";
107
+ import { EditableTable as At } from "./editable-table/index.js";
108
+ import { Tabs as jt } from "./tabs/index.js";
109
+ import { FlexTabs as Mt } from "./flex-tabs/index.js";
110
+ import { FloatButton as Nt } from "./float-button/index.js";
111
+ import { useGridCollapsed as Pt } from "./grid/hooks/use-grid-collapsed.js";
112
+ import { Grid as Ft } from "./grid/index.js";
113
+ import { IconButton as It } from "./icon-button/index.js";
114
+ import { Keyboard as Lt } from "./keyboard/index.js";
115
+ import { Labeled as Rt } from "./labeled/index.js";
116
+ import zt from "./space/space.js";
117
+ import { Tag as Bt } from "./tag/index.js";
118
+ import { LABEL_KEY_PATTERN as Vt, LabelFilterSelect as Ht, LabelsDisplay as Ut, LabelsEditor as Wt, formatLabelFilters as Gt, isValidLabel as Kt, parseLabelFilters as qt } from "./labels/index.js";
119
+ import { List as Jt } from "./list/index.js";
120
+ import { LogoIcon as Yt } from "./logo-icon/index.js";
121
+ import { Menu as Xt } from "./menu/index.js";
122
+ import { Pagination as Zt } from "./pagination/index.js";
123
+ import { Progress as Qt } from "./progress/index.js";
124
+ import { QRCode as $t } from "./qrcode/index.js";
125
+ import { Result as en } from "./result/index.js";
126
+ import { Row as tn } from "./row/index.js";
127
+ import { Segmented as nn } from "./segmented/index.js";
128
+ import { Skeleton as rn } from "./skeleton/index.js";
129
+ import { SparklesText as an } from "./sparkles-text/index.js";
130
+ import { SplitText as on } from "./split-text/index.js";
131
+ import { Splitter as sn } from "./splitter/index.js";
132
+ import { Statistic as cn } from "./statistic/index.js";
133
+ import { Steps as ln } from "./steps/index.js";
134
+ import { Timeline as un } from "./timeline/index.js";
135
+ import { Tour as dn } from "./tour/index.js";
136
+ import { useDataOptionsTree as fn } from "./tree/hooks/use-data-options-tree.js";
137
+ import { Tree as pn } from "./tree/index.js";
138
+ import { TypingAnimation as mn } from "./typing-animation/index.js";
139
+ import { Watermark as hn } from "./watermark/index.js";
140
+ export { R as ActionButton, V as ActionGroup, H as Affix, U as Alert, W as Anchor, G as AutoComplete, K as Avatar, q as Badge, Z as Bool, Q as BorderBeam, $ as Breadcrumb, F as Button, ee as Calendar, te as Card, ne as Carousel, re as Cascader, ie as Center, ce as Chart, J as Checkbox, pe as CodeEditor, me as CodeHighlighter, he as Col, ge as Collapse, _e as ColorPicker, ve as Compact, oe as ConfigProvider, yt as Crud, wt as CrudPage, je as DatePicker, Tt as Descriptions, xe as Divider, mt as Drawer, Et as Dropdown, Me as DynamicIcon, At as EditableTable, Pe as Empty, Ze as FilePreviewProvider, nt as FileUpload, z as Flex, ye as FlexCard, Mt as FlexTabs, Ve as FlipText, Nt as FloatButton, ht as FormDrawer, _t as FormModal, Ne as GenericSelect, Ft as Grid, B as Group, I as Icon, It as IconButton, Ie as IconPicker, $e as Image, Le as Input, Re as InputNumber, Lt as Keyboard, Vt as LABEL_KEY_PATTERN, Ht as LabelFilterSelect, Rt as Labeled, Ut as LabelsDisplay, Wt as LabelsEditor, ut as Link, Jt as List, Ue as Loader, Yt as LogoIcon, ze as Mentions, Xt as Menu, gt as Modal, Ot as OperationButton, De as OperationButtonGroup, Ct as Page, Zt as Pagination, dt as Paragraph, Dt as PermissionGate, L as Popconfirm, Te as Popover, lt as ProSearch, ke as ProTable, Oe as ProTableSubscriber, Qt as Progress, $t as QRCode, Y as Radio, Be as Rate, en as Result, tn as Row, u as SYMBOL_PAGINATION, d as SYMBOL_SORT, Fe as ScrollArea, nn as Segmented, Ke as Select, rn as Skeleton, Ee as Slider, zt as Space, an as SparklesText, He as Spin, on as SplitText, sn as Splitter, be as Stack, cn as Statistic, ln as Steps, X as Switch, we as Table, jt as Tabs, Bt as Tag, ft as Text, qe as TimePicker, un as Timeline, pt as Title, de as Tooltip, dn as Tour, Je as Transfer, pn as Tree, Xe as TreeSelect, mn as TypingAnimation, tt as Upload, hn as Watermark, e as breakpoints, _ as closeAllMessages, O as closeAllNotifications, t as colors, fe as completeFromEntries, le as connectCharts, vt as createCrudKit, kt as createEditableColumn, rt as createFormOptions, ue as disconnectCharts, g as emitReloadPage, Gt as formatLabelFilters, n as fullSizes, h as getSpacingValue, l as globalCssVars, N as isFragment, p as isPresetColor, m as isSemanticColor, Kt as isValidLabel, Se as pageSizeOptions, qt as parseLabelFilters, r as presetColors, f as resolveBreakpointValue, Ae as restoreFieldOptions, i as semanticColors, a as semanticSceneIcons, o as semanticSceneLabels, s as semanticScenes, C as showConfirm, w as showErrorAlert, v as showErrorMessage, k as showErrorNotification, T as showInfoAlert, y as showInfoMessage, A as showInfoNotification, b as showLoadingMessage, E as showSuccessAlert, x as showSuccessMessage, j as showSuccessNotification, D as showWarningAlert, S as showWarningMessage, M as showWarningNotification, c as sizes, et as toFilePreviewTarget, se as useChart, We as useDataOptionsSelect, fn as useDataOptionsTree, Ye as useDataOptionsTreeSelect, Ge as useDictionaryOptionsSelect, Qe as useFilePreview, ct as useForm, it as useFormContext, at as useFormStore, Pt as useGridCollapsed, ae as useIsDarkMode, xt as usePageEntranceEffect, St as usePageEntranceSettled, Ce as usePaginationProps, P as useThemeTokens, bt as useViewportHeight, ot as withFieldGroup, st as withForm };
@@ -1,3 +1,3 @@
1
- /*! @vef-framework-react/components v2.11.0 made by Venus | 2026-07-15T09:37:59.038Z */
1
+ /*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
2
2
  import { Input as e } from "antd";
3
3
  export { e as Input };
@@ -1,3 +1,3 @@
1
- /*! @vef-framework-react/components v2.11.0 made by Venus | 2026-07-15T09:37:59.038Z */
1
+ /*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
2
2
  import { InputNumber as e } from "antd";
3
3
  export { e as InputNumber };
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.11.0 made by Venus | 2026-07-15T09:37:59.038Z */
1
+ /*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
2
2
  import { globalCssVars as e } from "../_base/constants/css-vars.js";
3
3
  import { jsx as t } from "@emotion/react/jsx-runtime";
4
4
  import { useMemo as n } from "react";
@@ -0,0 +1,50 @@
1
+ /*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
2
+ import { globalCssVars as e } from "../_base/constants/css-vars.js";
3
+ import { Stack as t } from "../stack/index.js";
4
+ import { Text as n } from "../typography/index.js";
5
+ import { Fragment as r, jsx as i, jsxs as a } from "@emotion/react/jsx-runtime";
6
+ import { useId as o } from "react";
7
+ //#region src/labeled/index.tsx
8
+ var s = {
9
+ position: "absolute",
10
+ width: 1,
11
+ height: 1,
12
+ margin: -1,
13
+ padding: 0,
14
+ border: 0,
15
+ clipPath: "inset(50%)",
16
+ overflow: "hidden",
17
+ whiteSpace: "nowrap"
18
+ };
19
+ function c({ label: c, required: l = !1, hint: u, htmlFor: d, children: f }) {
20
+ let p = o(), m = o();
21
+ return /* @__PURE__ */ a(t, {
22
+ "aria-describedby": u ? m : void 0,
23
+ "aria-labelledby": p,
24
+ gap: 6,
25
+ role: "group",
26
+ children: [
27
+ /* @__PURE__ */ i("label", {
28
+ htmlFor: d,
29
+ id: p,
30
+ children: /* @__PURE__ */ a(n, { children: [l ? /* @__PURE__ */ a(r, { children: [/* @__PURE__ */ i(n, {
31
+ "aria-hidden": !0,
32
+ type: "danger",
33
+ children: "* "
34
+ }), /* @__PURE__ */ i("span", {
35
+ css: s,
36
+ children: "(必填)"
37
+ })] }) : null, c] })
38
+ }),
39
+ f,
40
+ u ? /* @__PURE__ */ i(n, {
41
+ id: m,
42
+ style: { fontSize: e.fontSizeSm },
43
+ type: "secondary",
44
+ children: u
45
+ }) : null
46
+ ]
47
+ });
48
+ }
49
+ //#endregion
50
+ export { c as Labeled };
@@ -0,0 +1,136 @@
1
+ /*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
2
+ import { Button as e } from "../button/index.js";
3
+ import { Icon as t } from "../icon/index.js";
4
+ import { Compact as n } from "../compact/index.js";
5
+ import { Stack as r } from "../stack/index.js";
6
+ import { Input as i } from "../input/index.js";
7
+ import { Select as a } from "../select/index.js";
8
+ import { Text as o } from "../typography/index.js";
9
+ import s from "../space/space.js";
10
+ import { Tag as c } from "../tag/index.js";
11
+ import { jsx as l, jsxs as u } from "@emotion/react/jsx-runtime";
12
+ import { useEffect as d, useMemo as f, useRef as p, useState as m } from "react";
13
+ import { PlusIcon as h, Trash2Icon as g } from "lucide-react";
14
+ //#region src/labels/index.tsx
15
+ var _ = /^[A-Z0-9](?:[\w-]*[A-Z0-9])?$/i, v = 63, y = 256;
16
+ function b(e, t) {
17
+ return e.length <= v && _.test(e) && [...t].length <= y;
18
+ }
19
+ function x(e) {
20
+ return Object.entries(e ?? {}).map(([e, t]) => ({
21
+ key: e,
22
+ value: t
23
+ }));
24
+ }
25
+ function S(e) {
26
+ let t = {};
27
+ for (let n of e) n.key !== "" && (t[n.key] = n.value);
28
+ return t;
29
+ }
30
+ function C({ value: a, onChange: s, disabled: c }) {
31
+ let [f, _] = m(() => x(a)), C = p(a);
32
+ d(() => {
33
+ a !== C.current && (C.current = a, _(x(a)));
34
+ }, [a]);
35
+ function w(e) {
36
+ _(e);
37
+ let t = S(e);
38
+ C.current = t, s?.(t);
39
+ }
40
+ function T(e, t) {
41
+ w(f.map((n, r) => r === e ? {
42
+ ...n,
43
+ ...t
44
+ } : n));
45
+ }
46
+ return /* @__PURE__ */ u(r, {
47
+ gap: 8,
48
+ style: { width: "100%" },
49
+ children: [
50
+ f.map((r, a) => /* @__PURE__ */ u(n, {
51
+ style: { width: "100%" },
52
+ children: [
53
+ /* @__PURE__ */ l(i, {
54
+ disabled: c,
55
+ maxLength: v,
56
+ placeholder: "键,如 app",
57
+ status: r.key !== "" && !b(r.key, r.value) ? "error" : void 0,
58
+ style: { width: "40%" },
59
+ value: r.key,
60
+ onChange: (e) => T(a, { key: e.target.value })
61
+ }),
62
+ /* @__PURE__ */ l(i, {
63
+ disabled: c,
64
+ maxLength: y,
65
+ placeholder: "值,如 crm",
66
+ style: { width: "60%" },
67
+ value: r.value,
68
+ onChange: (e) => T(a, { value: e.target.value })
69
+ }),
70
+ /* @__PURE__ */ l(e, {
71
+ disabled: c,
72
+ icon: /* @__PURE__ */ l(t, { component: g }),
73
+ onClick: () => w(f.filter((e, t) => t !== a))
74
+ })
75
+ ]
76
+ }, a)),
77
+ f.some((e) => e.key !== "" && !b(e.key, e.value)) && /* @__PURE__ */ l(o, {
78
+ type: "danger",
79
+ children: "标签键只能包含字母、数字、中划线和下划线,且必须以字母或数字开头和结尾。"
80
+ }),
81
+ /* @__PURE__ */ l(e, {
82
+ block: !0,
83
+ disabled: c,
84
+ icon: /* @__PURE__ */ l(t, { component: h }),
85
+ type: "dashed",
86
+ onClick: () => w([...f, {
87
+ key: "",
88
+ value: ""
89
+ }]),
90
+ children: "添加标签"
91
+ })
92
+ ]
93
+ });
94
+ }
95
+ function w(e) {
96
+ let t = {};
97
+ for (let n of e) {
98
+ let e = n.indexOf("="), r = (e === -1 ? n : n.slice(0, e)).trim(), i = e === -1 ? "" : n.slice(e + 1).trim();
99
+ r !== "" && (t[r] = i);
100
+ }
101
+ return Object.keys(t).length > 0 ? t : void 0;
102
+ }
103
+ function T(e) {
104
+ return Object.entries(e ?? {}).map(([e, t]) => t === "" ? e : `${e}=${t}`);
105
+ }
106
+ function E({ value: e, onChange: t, placeholder: n = "标签过滤,如 app=crm", style: r }) {
107
+ let i = f(() => T(e), [e]);
108
+ return /* @__PURE__ */ l(a, {
109
+ allowClear: !0,
110
+ mode: "tags",
111
+ open: !1,
112
+ placeholder: n,
113
+ style: {
114
+ minWidth: 200,
115
+ ...r
116
+ },
117
+ value: i,
118
+ onChange: (e) => t(w(e))
119
+ });
120
+ }
121
+ function D({ labels: e }) {
122
+ let t = Object.entries(e ?? {});
123
+ return t.length === 0 ? /* @__PURE__ */ l(o, {
124
+ type: "secondary",
125
+ children: "-"
126
+ }) : /* @__PURE__ */ l(s, {
127
+ wrap: !0,
128
+ size: 4,
129
+ children: t.map(([e, t]) => /* @__PURE__ */ l(c, {
130
+ style: { marginInlineEnd: 0 },
131
+ children: t === "" ? e : `${e}: ${t}`
132
+ }, e))
133
+ });
134
+ }
135
+ //#endregion
136
+ export { _ as LABEL_KEY_PATTERN, E as LabelFilterSelect, D as LabelsDisplay, C as LabelsEditor, T as formatLabelFilters, b as isValidLabel, w as parseLabelFilters };
@@ -1,3 +1,3 @@
1
- /*! @vef-framework-react/components v2.11.0 made by Venus | 2026-07-15T09:37:59.038Z */
1
+ /*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
2
2
  import { List as e } from "antd";
3
3
  export { e as List };
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.11.0 made by Venus | 2026-07-15T09:37:59.038Z */
1
+ /*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
2
2
  import { fullHeight as e } from "../_base/styles/common.js";
3
3
  import { Center as t } from "../center/index.js";
4
4
  import { FlipText as n } from "../flip-text/index.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.11.0 made by Venus | 2026-07-15T09:37:59.038Z */
1
+ /*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
2
2
  import { jsx as e, jsxs as t } from "@emotion/react/jsx-runtime";
3
3
  import { colorPaletteMap as n, getColorPalette as r } from "@vef-framework-react/shared";
4
4
  //#region src/logo-icon/index.tsx
@@ -1,3 +1,3 @@
1
- /*! @vef-framework-react/components v2.11.0 made by Venus | 2026-07-15T09:37:59.038Z */
1
+ /*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
2
2
  import { Mentions as e } from "antd";
3
3
  export { e as Mentions };
@@ -1,3 +1,3 @@
1
- /*! @vef-framework-react/components v2.11.0 made by Venus | 2026-07-15T09:37:59.038Z */
1
+ /*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
2
2
  import { Menu as e } from "antd";
3
3
  export { e as Menu };
@@ -1,3 +1,3 @@
1
- /*! @vef-framework-react/components v2.11.0 made by Venus | 2026-07-15T09:37:59.038Z */
1
+ /*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
2
2
  import { Modal as e } from "./modal.js";
3
3
  export { e as Modal };
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.11.0 made by Venus | 2026-07-15T09:37:59.038Z */
1
+ /*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
2
2
  import { Fragment as e, jsx as t, jsxs as n } from "@emotion/react/jsx-runtime";
3
3
  import { memo as r, useCallback as i, useMemo as a, useRef as o } from "react";
4
4
  import { Modal as s } from "antd";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.11.0 made by Venus | 2026-07-15T09:37:59.038Z */
1
+ /*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
2
2
  import { globalCssVars as e } from "../_base/constants/css-vars.js";
3
3
  import { ActionButton as t } from "../action-button/index.js";
4
4
  import { PermissionGate as n } from "../permission-gate/index.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.11.0 made by Venus | 2026-07-15T09:37:59.038Z */
1
+ /*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
2
2
  import { getSpacingValue as e } from "../../_base/helpers/common.js";
3
3
  import { useResize as t } from "../hooks/use-resize.js";
4
4
  import { asideContent as n } from "../styles.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.11.0 made by Venus | 2026-07-15T09:37:59.038Z */
1
+ /*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
2
2
  import "./resize-handle.js";
3
3
  import { AsidePanel as e } from "./aside-panel.js";
4
4
  import { ScrollContent as t } from "./scroll-content.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.11.0 made by Venus | 2026-07-15T09:37:59.038Z */
1
+ /*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
2
2
  import { resizeHandleGrip as e, resizeHandleLeft as t, resizeHandleRight as n } from "../styles.js";
3
3
  import { jsx as r } from "@emotion/react/jsx-runtime";
4
4
  //#region src/page/components/resize-handle.tsx
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.11.0 made by Venus | 2026-07-15T09:37:59.038Z */
1
+ /*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
2
2
  import { ScrollArea as e } from "../../scroll-area/index.js";
3
3
  import { actionBar as t, content as n, scrollContainer as r, scrollWrapper as i } from "../styles.js";
4
4
  import { ViewportProvider as a } from "../viewport-context.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.11.0 made by Venus | 2026-07-15T09:37:59.038Z */
1
+ /*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
2
2
  import { useLatest as e } from "@vef-framework-react/hooks";
3
3
  import { createContext as t, use as n, useEffect as r, useSyncExternalStore as i } from "react";
4
4
  //#region src/page/entrance.ts
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.11.0 made by Venus | 2026-07-15T09:37:59.038Z */
1
+ /*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
2
2
  import { usePageKey as e } from "./use-page-key.js";
3
3
  import { useResize as t } from "./use-resize.js";
4
4
  export { e as usePageKey, t as useResize };
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.11.0 made by Venus | 2026-07-15T09:37:59.038Z */
1
+ /*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
2
2
  import { useReloadPageEvent as e } from "../../_base/helpers/event.js";
3
3
  import { useCallback as t, useState as n } from "react";
4
4
  //#region src/page/hooks/use-page-key.ts
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.11.0 made by Venus | 2026-07-15T09:37:59.038Z */
1
+ /*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
2
2
  import { useCallback as e, useState as t } from "react";
3
3
  //#region src/page/hooks/use-resize.ts
4
4
  function n(e, t, n) {
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.11.0 made by Venus | 2026-07-15T09:37:59.038Z */
1
+ /*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
2
2
  import { globalCssVars as e } from "../_base/constants/css-vars.js";
3
3
  import { getSpacingValue as t } from "../_base/helpers/common.js";
4
4
  import { usePageKey as n } from "./hooks/use-page-key.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.11.0 made by Venus | 2026-07-15T09:37:59.038Z */
1
+ /*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
2
2
  import { globalCssVars as e } from "../_base/constants/css-vars.js";
3
3
  import { css as t } from "@emotion/react";
4
4
  //#region src/page/styles.ts
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.11.0 made by Venus | 2026-07-15T09:37:59.038Z */
1
+ /*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
2
2
  import { createContext as e, use as t } from "react";
3
3
  //#region src/page/viewport-context.ts
4
4
  var n = e(null);
@@ -1,3 +1,3 @@
1
- /*! @vef-framework-react/components v2.11.0 made by Venus | 2026-07-15T09:37:59.038Z */
1
+ /*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
2
2
  import { Pagination as e } from "antd";
3
3
  export { e as Pagination };
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.11.0 made by Venus | 2026-07-15T09:37:59.038Z */
1
+ /*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
2
2
  import { isFunction as e } from "@vef-framework-react/shared";
3
3
  import { useIsAuthorized as t } from "@vef-framework-react/hooks";
4
4
  //#region src/permission-gate/index.ts
@@ -1,3 +1,3 @@
1
- /*! @vef-framework-react/components v2.11.0 made by Venus | 2026-07-15T09:37:59.038Z */
1
+ /*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
2
2
  import { Popconfirm as e } from "antd";
3
3
  export { e as Popconfirm };
@@ -1,3 +1,3 @@
1
- /*! @vef-framework-react/components v2.11.0 made by Venus | 2026-07-15T09:37:59.038Z */
1
+ /*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
2
2
  import { Popover as e } from "antd";
3
3
  export { e as Popover };
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.11.0 made by Venus | 2026-07-15T09:37:59.038Z */
1
+ /*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
2
2
  import { Button as e } from "../../button/index.js";
3
3
  import { Icon as t } from "../../icon/index.js";
4
4
  import { advancedSearchToggler as n } from "../styles.js";