@vef-framework-react/components 2.10.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.
- package/dist/cjs/code-editor/completions.cjs +1 -0
- package/dist/cjs/code-editor/format.cjs +3 -0
- package/dist/cjs/code-editor/index.cjs +1 -1
- package/dist/cjs/crud/components/scene-form.cjs +1 -1
- package/dist/cjs/crud/index.cjs +1 -1
- package/dist/cjs/editable-table/index.cjs +1 -1
- package/dist/cjs/file-preview/index.cjs +1 -0
- package/dist/cjs/file-upload/helpers.cjs +1 -0
- package/dist/cjs/file-upload/index.cjs +1 -1
- package/dist/cjs/flex-tabs/index.cjs +1 -0
- package/dist/cjs/flex-tabs/styles.cjs +1 -0
- package/dist/cjs/form/fields/upload/index.cjs +1 -1
- package/dist/cjs/form-drawer/index.cjs +1 -1
- package/dist/cjs/form-modal/index.cjs +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/labeled/index.cjs +1 -0
- package/dist/cjs/labels/index.cjs +1 -0
- package/dist/cjs/upload/helpers.cjs +1 -0
- package/dist/cjs/upload/index.cjs +1 -1
- package/dist/es/_base/constants/breakpoints.js +1 -1
- package/dist/es/_base/constants/common.js +1 -1
- package/dist/es/_base/constants/css-vars.js +1 -1
- package/dist/es/_base/constants/event.js +1 -1
- package/dist/es/_base/constants/index.js +1 -1
- package/dist/es/_base/constants/symbols.js +1 -1
- package/dist/es/_base/constants/theme.js +1 -1
- package/dist/es/_base/globals.js +1 -1
- package/dist/es/_base/helpers/breakpoints.js +1 -1
- package/dist/es/_base/helpers/color.js +1 -1
- package/dist/es/_base/helpers/common.js +1 -1
- package/dist/es/_base/helpers/event.js +1 -1
- package/dist/es/_base/helpers/index.js +1 -1
- package/dist/es/_base/helpers/message.js +1 -1
- package/dist/es/_base/helpers/modal.js +1 -1
- package/dist/es/_base/helpers/notification.js +1 -1
- package/dist/es/_base/helpers/props.js +1 -1
- package/dist/es/_base/helpers/react.js +1 -1
- package/dist/es/_base/hooks/index.js +1 -1
- package/dist/es/_base/hooks/use-theme-tokens.js +1 -1
- package/dist/es/_base/index.js +1 -1
- package/dist/es/_base/styles/common.js +1 -1
- package/dist/es/_base/styles/index.js +1 -1
- package/dist/es/_base/types/breakpoints.js +1 -1
- package/dist/es/_base/types/common.js +1 -1
- package/dist/es/_base/types/index.js +1 -1
- package/dist/es/action-button/index.js +1 -1
- package/dist/es/action-button/use-action-button.js +1 -1
- package/dist/es/action-group/index.js +1 -1
- package/dist/es/action-group/use-action-group.js +1 -1
- package/dist/es/action-group/use-computed-action-buttons.js +1 -1
- package/dist/es/affix/index.js +1 -1
- package/dist/es/alert/index.js +1 -1
- package/dist/es/anchor/index.js +1 -1
- package/dist/es/auto-complete/index.js +1 -1
- package/dist/es/avatar/index.js +1 -1
- package/dist/es/badge/index.js +1 -1
- package/dist/es/bool/index.js +1 -1
- package/dist/es/border-beam/index.js +1 -1
- package/dist/es/breadcrumb/index.js +1 -1
- package/dist/es/button/index.js +1 -1
- package/dist/es/calendar/index.js +1 -1
- package/dist/es/card/index.js +1 -1
- package/dist/es/carousel/index.js +1 -1
- package/dist/es/cascader/index.js +1 -1
- package/dist/es/center/index.js +1 -1
- package/dist/es/charts/chart.js +1 -1
- package/dist/es/charts/helpers/group.js +1 -1
- package/dist/es/charts/helpers/index.js +1 -1
- package/dist/es/charts/hooks/index.js +1 -1
- package/dist/es/charts/hooks/use-chart.js +1 -1
- package/dist/es/charts/index.js +1 -1
- package/dist/es/charts/themes/index.js +1 -1
- package/dist/es/charts/themes/walden-dark.js +1 -1
- package/dist/es/charts/themes/walden.js +1 -1
- package/dist/es/charts/themes/wonderland-dark.js +1 -1
- package/dist/es/charts/themes/wonderland.js +1 -1
- package/dist/es/checkbox/index.js +1 -1
- package/dist/es/code-editor/completions.js +51 -0
- package/dist/es/code-editor/format.js +26 -0
- package/dist/es/code-editor/index.js +193 -117
- package/dist/es/code-highlighter/index.js +1 -1
- package/dist/es/col/index.js +1 -1
- package/dist/es/collapse/index.js +1 -1
- package/dist/es/color-picker/index.js +1 -1
- package/dist/es/compact/index.js +1 -1
- package/dist/es/config-provider/app.js +1 -1
- package/dist/es/config-provider/constants.js +1 -1
- package/dist/es/config-provider/context-holder.js +1 -1
- package/dist/es/config-provider/css-vars.js +1 -1
- package/dist/es/config-provider/dark-mode-context.js +1 -1
- package/dist/es/config-provider/error-fallback.js +1 -1
- package/dist/es/config-provider/global-style.js +1 -1
- package/dist/es/config-provider/index.js +1 -1
- package/dist/es/config-provider/theme-config.js +1 -1
- package/dist/es/config-provider/use-config-provider.js +1 -1
- package/dist/es/crud/components/action-button-group.js +1 -1
- package/dist/es/crud/components/index.js +1 -1
- package/dist/es/crud/components/main.js +1 -1
- package/dist/es/crud/components/mutation-holder.js +1 -1
- package/dist/es/crud/components/operation-button-group.js +1 -1
- package/dist/es/crud/components/scene-form.js +23 -22
- package/dist/es/crud/components/selection-indicator.js +1 -1
- package/dist/es/crud/components/toolbar-actions.js +1 -1
- package/dist/es/crud/components/toolbar.js +1 -1
- package/dist/es/crud/event.js +1 -1
- package/dist/es/crud/helpers.js +1 -1
- package/dist/es/crud/hooks/index.js +1 -1
- package/dist/es/crud/hooks/use-query-observer.js +1 -1
- package/dist/es/crud/hooks/use-search-values.js +1 -1
- package/dist/es/crud/hooks/use-selected-rows.js +1 -1
- package/dist/es/crud/index.js +17 -16
- package/dist/es/crud/store.js +1 -1
- package/dist/es/crud/styles.js +1 -1
- package/dist/es/crud-page/index.js +1 -1
- package/dist/es/date-picker/index.js +1 -1
- package/dist/es/descriptions/index.js +1 -1
- package/dist/es/divider/index.js +1 -1
- package/dist/es/drawer/index.js +1 -1
- package/dist/es/dropdown/index.js +1 -1
- package/dist/es/dynamic-icon/index.js +1 -1
- package/dist/es/dynamic-icon/load-icon-node.js +1 -1
- package/dist/es/dynamic-icon/placeholder-icon.js +1 -1
- package/dist/es/dynamic-icon/unknown-icon.js +1 -1
- package/dist/es/editable-table/components/add-row-button.js +1 -1
- package/dist/es/editable-table/components/editable-cell.js +1 -1
- package/dist/es/editable-table/components/editable-row-actions.js +1 -1
- package/dist/es/editable-table/components/index.js +1 -1
- package/dist/es/editable-table/helpers.js +1 -1
- package/dist/es/editable-table/hooks/index.js +1 -1
- package/dist/es/editable-table/hooks/use-editable-actions.js +1 -1
- package/dist/es/editable-table/hooks/use-editable-columns.js +1 -1
- package/dist/es/editable-table/index.js +28 -26
- package/dist/es/editable-table/store.js +1 -1
- package/dist/es/empty/empty.js +1 -1
- package/dist/es/empty/index.js +1 -1
- package/dist/es/file-preview/index.js +17 -0
- package/dist/es/file-upload/helpers.js +8 -0
- package/dist/es/file-upload/index.js +13 -16
- package/dist/es/flex/index.js +1 -1
- package/dist/es/flex-card/index.js +1 -1
- package/dist/es/flex-card/styles.js +1 -1
- package/dist/es/flex-tabs/index.js +13 -0
- package/dist/es/flex-tabs/styles.js +16 -0
- package/dist/es/flip-text/index.js +1 -1
- package/dist/es/float-button/index.js +1 -1
- package/dist/es/form/components/form.js +1 -1
- package/dist/es/form/components/index.js +1 -1
- package/dist/es/form/components/reset-button.js +1 -1
- package/dist/es/form/components/submit-button.js +1 -1
- package/dist/es/form/contexts/form-context.js +1 -1
- package/dist/es/form/contexts/form-layout.js +1 -1
- package/dist/es/form/contexts/index.js +1 -1
- package/dist/es/form/fields/auto-complete/index.js +1 -1
- package/dist/es/form/fields/bool/index.js +1 -1
- package/dist/es/form/fields/cascader/index.js +1 -1
- package/dist/es/form/fields/checkbox/index.js +1 -1
- package/dist/es/form/fields/code-editor/index.js +1 -1
- package/dist/es/form/fields/color-picker/index.js +1 -1
- package/dist/es/form/fields/date-picker/index.js +1 -1
- package/dist/es/form/fields/date-range-picker/index.js +1 -1
- package/dist/es/form/fields/icon-picker/index.js +1 -1
- package/dist/es/form/fields/index.js +1 -1
- package/dist/es/form/fields/input/index.js +1 -1
- package/dist/es/form/fields/input-number/index.js +1 -1
- package/dist/es/form/fields/mentions/index.js +1 -1
- package/dist/es/form/fields/password/index.js +1 -1
- package/dist/es/form/fields/radio/index.js +1 -1
- package/dist/es/form/fields/rate/index.js +1 -1
- package/dist/es/form/fields/select/index.js +1 -1
- package/dist/es/form/fields/slider/index.js +1 -1
- package/dist/es/form/fields/textarea/index.js +1 -1
- package/dist/es/form/fields/time-picker/index.js +1 -1
- package/dist/es/form/fields/time-range-picker/index.js +1 -1
- package/dist/es/form/fields/transfer/index.js +1 -1
- package/dist/es/form/fields/tree-select/index.js +1 -1
- package/dist/es/form/fields/upload/index.js +52 -31
- package/dist/es/form/form-actions.js +1 -1
- package/dist/es/form/form.js +1 -1
- package/dist/es/form/helpers/create-field.js +1 -1
- package/dist/es/form/helpers/index.js +1 -1
- package/dist/es/form/helpers/with-form-item.js +1 -1
- package/dist/es/form/hooks/use-form-item-props.js +1 -1
- package/dist/es/form/hooks/use-label-width.js +1 -1
- package/dist/es/form/index.js +1 -1
- package/dist/es/form/use-form.js +1 -1
- package/dist/es/form-drawer/index.js +38 -37
- package/dist/es/form-modal/index.js +29 -28
- package/dist/es/generic-select/index.js +1 -1
- package/dist/es/grid/context.js +1 -1
- package/dist/es/grid/grid-item.js +1 -1
- package/dist/es/grid/hooks/index.js +1 -1
- package/dist/es/grid/hooks/use-container-breakpoints.js +1 -1
- package/dist/es/grid/hooks/use-container-width.js +1 -1
- package/dist/es/grid/hooks/use-grid-collapsed.js +1 -1
- package/dist/es/grid/hooks/use-normalized-gap.js +1 -1
- package/dist/es/grid/hooks/use-responsive-breakpoint.js +1 -1
- package/dist/es/grid/hooks/use-responsive-value.js +1 -1
- package/dist/es/grid/index.js +1 -1
- package/dist/es/grid/styles.js +1 -1
- package/dist/es/group/index.js +1 -1
- package/dist/es/icon/index.js +1 -1
- package/dist/es/icon-button/index.js +1 -1
- package/dist/es/icon-picker/icon-grid.js +1 -1
- package/dist/es/icon-picker/index.js +1 -1
- package/dist/es/image/index.js +1 -1
- package/dist/es/index.js +98 -92
- package/dist/es/input/index.js +1 -1
- package/dist/es/input-number/index.js +1 -1
- package/dist/es/keyboard/index.js +1 -1
- package/dist/es/labeled/index.js +50 -0
- package/dist/es/labels/index.js +136 -0
- package/dist/es/list/index.js +1 -1
- package/dist/es/loader/index.js +1 -1
- package/dist/es/logo-icon/index.js +1 -1
- package/dist/es/mentions/index.js +1 -1
- package/dist/es/menu/index.js +1 -1
- package/dist/es/modal/index.js +1 -1
- package/dist/es/modal/modal.js +1 -1
- package/dist/es/operation-button/index.js +1 -1
- package/dist/es/page/components/aside-panel.js +1 -1
- package/dist/es/page/components/index.js +1 -1
- package/dist/es/page/components/resize-handle.js +1 -1
- package/dist/es/page/components/scroll-content.js +1 -1
- package/dist/es/page/entrance.js +1 -1
- package/dist/es/page/hooks/index.js +1 -1
- package/dist/es/page/hooks/use-page-key.js +1 -1
- package/dist/es/page/hooks/use-resize.js +1 -1
- package/dist/es/page/index.js +1 -1
- package/dist/es/page/styles.js +1 -1
- package/dist/es/page/viewport-context.js +1 -1
- package/dist/es/pagination/index.js +1 -1
- package/dist/es/permission-gate/index.js +1 -1
- package/dist/es/popconfirm/index.js +1 -1
- package/dist/es/popover/index.js +1 -1
- package/dist/es/pro-search/components/advanced-search-toggler.js +1 -1
- package/dist/es/pro-search/components/advanced-search.js +1 -1
- package/dist/es/pro-search/components/index.js +1 -1
- package/dist/es/pro-search/components/search-actions.js +1 -1
- package/dist/es/pro-search/index.js +1 -1
- package/dist/es/pro-search/styles.js +1 -1
- package/dist/es/pro-table/components/column-setting-item.js +8 -8
- package/dist/es/pro-table/components/column-settings-panel.js +1 -1
- package/dist/es/pro-table/components/column-settings.js +1 -1
- package/dist/es/pro-table/components/index.js +1 -1
- package/dist/es/pro-table/components/operation-button-group.js +1 -1
- package/dist/es/pro-table/components/ref.js +1 -1
- package/dist/es/pro-table/components/table-subscriber.js +1 -1
- package/dist/es/pro-table/components/table-summary.js +1 -1
- package/dist/es/pro-table/components/table-title.js +1 -1
- package/dist/es/pro-table/components/table.js +1 -1
- package/dist/es/pro-table/components/width-popover.js +1 -1
- package/dist/es/pro-table/context.js +1 -1
- package/dist/es/pro-table/event.js +1 -1
- package/dist/es/pro-table/hooks/index.js +1 -1
- package/dist/es/pro-table/hooks/use-column-settings-persistence.js +1 -1
- package/dist/es/pro-table/hooks/use-row-selection.js +1 -1
- package/dist/es/pro-table/hooks/use-table-columns.js +1 -1
- package/dist/es/pro-table/index.js +1 -1
- package/dist/es/pro-table/store.js +1 -1
- package/dist/es/progress/index.js +1 -1
- package/dist/es/qrcode/index.js +1 -1
- package/dist/es/radio/index.js +1 -1
- package/dist/es/rate/index.js +1 -1
- package/dist/es/result/index.js +1 -1
- package/dist/es/row/index.js +1 -1
- package/dist/es/scroll-area/index.js +1 -1
- package/dist/es/scroll-area/styles.js +1 -1
- package/dist/es/segmented/index.js +1 -1
- package/dist/es/select/hooks/index.js +1 -1
- package/dist/es/select/hooks/use-data-options-select.js +1 -1
- package/dist/es/select/hooks/use-dictionary-options-select.js +1 -1
- package/dist/es/select/index.js +1 -1
- package/dist/es/skeleton/index.js +1 -1
- package/dist/es/slider/index.js +1 -1
- package/dist/es/space/index.js +1 -1
- package/dist/es/space/space.js +1 -1
- package/dist/es/sparkles-text/index.js +1 -1
- package/dist/es/sparkles-text/sparkle.js +1 -1
- package/dist/es/spin/index.js +1 -1
- package/dist/es/split-text/index.js +1 -1
- package/dist/es/splitter/index.js +1 -1
- package/dist/es/stack/index.js +1 -1
- package/dist/es/statistic/index.js +1 -1
- package/dist/es/steps/index.js +1 -1
- package/dist/es/switch/index.js +1 -1
- package/dist/es/table/index.js +1 -1
- package/dist/es/table/use-pagination-props.js +1 -1
- package/dist/es/tabs/index.js +1 -1
- package/dist/es/tag/index.js +1 -1
- package/dist/es/time-picker/index.js +1 -1
- package/dist/es/timeline/index.js +1 -1
- package/dist/es/tooltip/index.js +1 -1
- package/dist/es/tour/index.js +1 -1
- package/dist/es/transfer/index.js +1 -1
- package/dist/es/tree/hooks/index.js +1 -1
- package/dist/es/tree/hooks/use-data-options-tree.js +1 -1
- package/dist/es/tree/index.js +1 -1
- package/dist/es/tree-select/hooks/index.js +1 -1
- package/dist/es/tree-select/hooks/use-data-options-tree-select.js +1 -1
- package/dist/es/tree-select/index.js +1 -1
- package/dist/es/typing-animation/index.js +1 -1
- package/dist/es/typography/index.js +1 -1
- package/dist/es/upload/helpers.js +80 -0
- package/dist/es/upload/index.js +105 -41
- package/dist/es/watermark/index.js +1 -1
- package/dist/types/code-editor/completions.d.ts +62 -0
- package/dist/types/code-editor/format.d.ts +10 -0
- package/dist/types/code-editor/index.d.ts +2 -1
- package/dist/types/code-editor/props.d.ts +20 -1
- package/dist/types/crud/components/scene-form.d.ts +1 -1
- package/dist/types/crud/index.d.ts +1 -1
- package/dist/types/crud/props.d.ts +6 -0
- package/dist/types/dynamic-icon/index.d.ts +1 -1
- package/dist/types/editable-table/props.d.ts +14 -0
- package/dist/types/file-preview/index.d.ts +21 -0
- package/dist/types/file-preview/types.d.ts +55 -0
- package/dist/types/file-upload/helpers.d.ts +1 -0
- package/dist/types/file-upload/index.d.ts +3 -3
- package/dist/types/file-upload/props.d.ts +3 -21
- package/dist/types/flex-tabs/index.d.ts +10 -0
- package/dist/types/flex-tabs/props.d.ts +2 -0
- package/dist/types/flex-tabs/styles.d.ts +2 -0
- package/dist/types/form/index.d.ts +1 -0
- package/dist/types/form-drawer/props.d.ts +6 -1
- package/dist/types/form-modal/props.d.ts +6 -1
- package/dist/types/index.d.ts +7 -3
- package/dist/types/labeled/index.d.ts +29 -0
- package/dist/types/labels/index.d.ts +54 -0
- package/dist/types/upload/helpers.d.ts +37 -0
- package/dist/types/upload/index.d.ts +3 -2
- package/dist/types/upload/props.d.ts +24 -0
- package/package.json +6 -4
- package/dist/types/action-button/index.test.d.ts +0 -1
- package/dist/types/action-group/index.test.d.ts +0 -1
- package/dist/types/bool/index.test.d.ts +0 -1
- package/dist/types/code-editor/index.test.d.ts +0 -1
- package/dist/types/crud/helpers.test.d.ts +0 -1
- package/dist/types/crud/store.test.d.ts +0 -1
- package/dist/types/crud-page/index.test.d.ts +0 -1
- package/dist/types/dynamic-icon/index.test.d.ts +0 -1
- package/dist/types/editable-table/index.test.d.ts +0 -1
- package/dist/types/file-upload/index.test.d.ts +0 -1
- package/dist/types/form/components/form.test.d.ts +0 -1
- package/dist/types/form/fields/code-editor/index.test.d.ts +0 -1
- package/dist/types/form/fields/icon-picker/index.test.d.ts +0 -1
- package/dist/types/form/form-actions.test.d.ts +0 -1
- package/dist/types/form-drawer/index.test.d.ts +0 -1
- package/dist/types/form-modal/index.test.d.ts +0 -1
- package/dist/types/generic-select/index.test.d.ts +0 -1
- package/dist/types/grid/index.test.d.ts +0 -1
- package/dist/types/icon-button/index.test.d.ts +0 -1
- package/dist/types/icon-picker/index.test.d.ts +0 -1
- package/dist/types/keyboard/index.test.d.ts +0 -1
- package/dist/types/modal/index.test.d.ts +0 -1
- package/dist/types/operation-button/index.test.d.ts +0 -1
- package/dist/types/page/entrance.test.d.ts +0 -1
- package/dist/types/page/index.test.d.ts +0 -1
- package/dist/types/permission-gate/index.test.d.ts +0 -1
- package/dist/types/pro-table/index.test.d.ts +0 -1
- package/dist/types/scroll-area/index.test.d.ts +0 -1
- package/dist/types/table/index.test.d.ts +0 -1
|
@@ -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 };
|
package/dist/es/list/index.js
CHANGED
package/dist/es/loader/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
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.
|
|
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
|
package/dist/es/menu/index.js
CHANGED
package/dist/es/modal/index.js
CHANGED
package/dist/es/modal/modal.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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";
|
package/dist/es/page/entrance.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
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.
|
|
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.
|
|
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.
|
|
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) {
|
package/dist/es/page/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
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";
|
package/dist/es/page/styles.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
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.
|
|
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,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
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
|
package/dist/es/popover/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
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";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
1
|
+
/*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
|
|
2
2
|
import { advancedSearch as e } from "../styles.js";
|
|
3
3
|
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
4
4
|
import { memo as n } from "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
1
|
+
/*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
|
|
2
2
|
import { AdvancedSearch as e } from "./advanced-search.js";
|
|
3
3
|
import { AdvancedSearchToggler as t } from "./advanced-search-toggler.js";
|
|
4
4
|
import { SearchActions as n } from "./search-actions.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
1
|
+
/*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
|
|
2
2
|
import { Icon as e } from "../../icon/index.js";
|
|
3
3
|
import { useFormContext as t } from "../../form/form.js";
|
|
4
4
|
import { Fragment as n, jsx as r, jsxs as i } from "@emotion/react/jsx-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
1
|
+
/*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
|
|
2
2
|
import { useForm as e } from "../form/use-form.js";
|
|
3
3
|
import { content as t, contentLeft as n, contentRight as r } from "./styles.js";
|
|
4
4
|
import { AdvancedSearch as i } from "./components/advanced-search.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
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 { globalCssVars as t } from "../_base/constants/css-vars.js";
|
|
4
4
|
import { css as n } from "@emotion/react";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
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 { Group as t } from "../../group/index.js";
|
|
4
4
|
import { Checkbox as n } from "../../checkbox/index.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { Tooltip as r } from "../../tooltip/index.js";
|
|
6
|
+
import { Divider as i } from "../../divider/index.js";
|
|
7
7
|
import { useProTableStore as a } from "../store.js";
|
|
8
8
|
import { WidthPopover as o } from "./width-popover.js";
|
|
9
9
|
import { ColumnWidthOutlined as s, HolderOutlined as c, VerticalAlignBottomOutlined as l, VerticalAlignTopOutlined as u } from "@ant-design/icons";
|
|
@@ -112,7 +112,7 @@ var y = /*#__PURE__*/ g({
|
|
|
112
112
|
/* @__PURE__ */ f(t, {
|
|
113
113
|
gap: 0,
|
|
114
114
|
children: [
|
|
115
|
-
/* @__PURE__ */ d(
|
|
115
|
+
/* @__PURE__ */ d(r, {
|
|
116
116
|
title: g === "start" ? "取消固定在左侧" : "固定在左侧",
|
|
117
117
|
children: /* @__PURE__ */ d("span", {
|
|
118
118
|
css: [
|
|
@@ -124,11 +124,11 @@ var y = /*#__PURE__*/ g({
|
|
|
124
124
|
children: /* @__PURE__ */ d(u, { rotate: -90 })
|
|
125
125
|
})
|
|
126
126
|
}),
|
|
127
|
-
/* @__PURE__ */ d(
|
|
127
|
+
/* @__PURE__ */ d(i, {
|
|
128
128
|
css: T,
|
|
129
129
|
orientation: "vertical"
|
|
130
130
|
}),
|
|
131
|
-
/* @__PURE__ */ d(
|
|
131
|
+
/* @__PURE__ */ d(r, {
|
|
132
132
|
title: g === "end" ? "取消固定在右侧" : "固定在右侧",
|
|
133
133
|
children: /* @__PURE__ */ d("span", {
|
|
134
134
|
css: [
|
|
@@ -140,7 +140,7 @@ var y = /*#__PURE__*/ g({
|
|
|
140
140
|
children: /* @__PURE__ */ d(l, { rotate: -90 })
|
|
141
141
|
})
|
|
142
142
|
}),
|
|
143
|
-
/* @__PURE__ */ d(
|
|
143
|
+
/* @__PURE__ */ d(i, {
|
|
144
144
|
css: T,
|
|
145
145
|
orientation: "vertical"
|
|
146
146
|
}),
|
|
@@ -148,7 +148,7 @@ var y = /*#__PURE__*/ g({
|
|
|
148
148
|
currentWidth: v,
|
|
149
149
|
disabled: z,
|
|
150
150
|
onWidthChange: L,
|
|
151
|
-
children: /* @__PURE__ */ d(
|
|
151
|
+
children: /* @__PURE__ */ d(r, {
|
|
152
152
|
title: z ? "该列不支持设置列宽" : "设置列宽",
|
|
153
153
|
children: /* @__PURE__ */ d("span", {
|
|
154
154
|
css: [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
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 { Button as t } from "../../button/index.js";
|
|
4
4
|
import { Group as n } from "../../group/index.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
1
|
+
/*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
|
|
2
2
|
import { Badge as e } from "../../badge/index.js";
|
|
3
3
|
import { useProTableStore as t } from "../store.js";
|
|
4
4
|
import { Popover as n } from "../../popover/index.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
1
|
+
/*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
|
|
2
2
|
import "./width-popover.js";
|
|
3
3
|
import "./column-setting-item.js";
|
|
4
4
|
import "./column-settings-panel.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
1
|
+
/*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
|
|
2
2
|
import { Group as e } from "../../group/index.js";
|
|
3
3
|
import { useProTableStore as t } from "../store.js";
|
|
4
4
|
import { jsx as n } from "@emotion/react/jsx-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
1
|
+
/*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
|
|
2
2
|
import { useProTableStore as e } from "../store.js";
|
|
3
3
|
import { useImperativeHandle as t } from "react";
|
|
4
4
|
//#region src/pro-table/components/ref.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
1
|
+
/*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
|
|
2
2
|
import { useProTableStore as e } from "../store.js";
|
|
3
3
|
import { useData as t } from "../context.js";
|
|
4
4
|
import { isFunction as n } from "@vef-framework-react/shared";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
1
|
+
/*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
|
|
2
2
|
import { DataProvider as e } from "../context.js";
|
|
3
3
|
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
4
4
|
import { memo as n } from "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
1
|
+
/*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
|
|
2
2
|
import { DataProvider as e } from "../context.js";
|
|
3
3
|
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
4
4
|
import { memo as n } from "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
1
|
+
/*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
|
|
2
2
|
import { SYMBOL_PAGINATION as e, SYMBOL_SORT as t } from "../../_base/constants/symbols.js";
|
|
3
3
|
import { usePaginationProps as n } from "../../table/use-pagination-props.js";
|
|
4
4
|
import { Table as r } from "../../table/index.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
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 { Stack as t } from "../../stack/index.js";
|
|
4
4
|
import { Popover as n } from "../../popover/index.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
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/pro-table/context.ts
|
|
4
4
|
var n = e([]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
1
|
+
/*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
|
|
2
2
|
import { createEventEmitter as e } from "@vef-framework-react/shared";
|
|
3
3
|
//#region src/pro-table/event.ts
|
|
4
4
|
function t() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
1
|
+
/*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
|
|
2
2
|
import { clearColumnSettingsStorage as e, useColumnSettingsPersistence as t } from "./use-column-settings-persistence.js";
|
|
3
3
|
import { useRowSelection as n } from "./use-row-selection.js";
|
|
4
4
|
import { OPERATION_CELL_CLASS as r, useTableColumns as i } from "./use-table-columns.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
1
|
+
/*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
|
|
2
2
|
import { useProTableStore as e, useProTableStoreApi as t } from "../store.js";
|
|
3
3
|
import { useEffect as n, useRef as r } from "react";
|
|
4
4
|
//#region src/pro-table/hooks/use-column-settings-persistence.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
1
|
+
/*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
|
|
2
2
|
import { useMemo as e } from "react";
|
|
3
3
|
//#region src/pro-table/hooks/use-row-selection.ts
|
|
4
4
|
function t(t, n, r) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
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 { Group as t } from "../../group/index.js";
|
|
4
4
|
import { getColumnId as n, useProTableStore as r } from "../store.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
1
|
+
/*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
|
|
2
2
|
import { Stack as e } from "../stack/index.js";
|
|
3
3
|
import { ProTableStoreProvider as t } from "./store.js";
|
|
4
4
|
import { ColumnSettingsStorageKeyProvider as n } from "./context.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
1
|
+
/*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
|
|
2
2
|
import { pageSizeOptions as e } from "../table/use-pagination-props.js";
|
|
3
3
|
import { createEventEmitter as t } from "./event.js";
|
|
4
4
|
import { isFunction as n, isNumber as r } from "@vef-framework-react/shared";
|
package/dist/es/qrcode/index.js
CHANGED
package/dist/es/radio/index.js
CHANGED
package/dist/es/rate/index.js
CHANGED
package/dist/es/result/index.js
CHANGED
package/dist/es/row/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
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 { root as t, scrollbar as n, thumb as r, viewport as i } from "./styles.js";
|
|
4
4
|
import { jsx as a, jsxs as o } from "@emotion/react/jsx-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
1
|
+
/*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
|
|
2
2
|
import { useDataOptionsSelect as e } from "./use-data-options-select.js";
|
|
3
3
|
import { useDictionaryOptionsSelect as t } from "./use-dictionary-options-select.js";
|
|
4
4
|
export { e as useDataOptionsSelect, t as useDictionaryOptionsSelect };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
1
|
+
/*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
|
|
2
2
|
import { Loader as e } from "../../loader/index.js";
|
|
3
3
|
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
4
4
|
import { useDataOptionsQuery as n } from "@vef-framework-react/hooks";
|