@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.
- 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/flex-tabs/index.cjs +1 -0
- package/dist/cjs/flex-tabs/styles.cjs +1 -0
- 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/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 +1 -1
- package/dist/es/file-upload/helpers.js +1 -1
- package/dist/es/file-upload/index.js +1 -1
- 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 +1 -1
- 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 -94
- 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 +1 -1
- package/dist/es/upload/index.js +1 -1
- 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/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 +4 -1
- package/dist/types/labeled/index.d.ts +29 -0
- package/dist/types/labels/index.d.ts +54 -0
- package/package.json +6 -4
|
@@ -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 { fullWidth as e } from "../../../_base/styles/common.js";
|
|
3
3
|
import { Cascader as t } from "../../../cascader/index.js";
|
|
4
4
|
import { useFieldContext as n } from "../../contexts/form-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 { Checkbox as e } from "../../../checkbox/index.js";
|
|
3
3
|
import { useFieldContext as t } from "../../contexts/form-context.js";
|
|
4
4
|
import { withFormItem as n } from "../../helpers/with-form-item.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 { CodeEditor as e } from "../../../code-editor/index.js";
|
|
3
3
|
import { useFieldContext as t } from "../../contexts/form-context.js";
|
|
4
4
|
import { withFormItem as n } from "../../helpers/with-form-item.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 { ColorPicker as e } from "../../../color-picker/index.js";
|
|
3
3
|
import { useFieldContext as t } from "../../contexts/form-context.js";
|
|
4
4
|
import { withFormItem as n } from "../../helpers/with-form-item.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 { fullWidth as e } from "../../../_base/styles/common.js";
|
|
3
3
|
import { useFieldContext as t } from "../../contexts/form-context.js";
|
|
4
4
|
import { withFormItem as n } from "../../helpers/with-form-item.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 { fullWidth as e } from "../../../_base/styles/common.js";
|
|
3
3
|
import { useFieldContext as t } from "../../contexts/form-context.js";
|
|
4
4
|
import { withFormItem as n } from "../../helpers/with-form-item.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 { useFieldContext as e } from "../../contexts/form-context.js";
|
|
3
3
|
import { withFormItem as t } from "../../helpers/with-form-item.js";
|
|
4
4
|
import { IconPicker as n } from "../../../icon-picker/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 { AutoCompleteField as e } from "./auto-complete/index.js";
|
|
3
3
|
import { BoolField as t } from "./bool/index.js";
|
|
4
4
|
import { CascaderField as n } from "./cascader/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 { useFieldContext as e } from "../../contexts/form-context.js";
|
|
3
3
|
import { withFormItem as t } from "../../helpers/with-form-item.js";
|
|
4
4
|
import { Input as n } from "../../../input/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 { fullWidth as e } from "../../../_base/styles/common.js";
|
|
3
3
|
import { useFieldContext as t } from "../../contexts/form-context.js";
|
|
4
4
|
import { withFormItem as n } from "../../helpers/with-form-item.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 { fullWidth as e } from "../../../_base/styles/common.js";
|
|
3
3
|
import { useFieldContext as t } from "../../contexts/form-context.js";
|
|
4
4
|
import { withFormItem as n } from "../../helpers/with-form-item.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 { useFieldContext as e } from "../../contexts/form-context.js";
|
|
3
3
|
import { withFormItem as t } from "../../helpers/with-form-item.js";
|
|
4
4
|
import { Input as n } from "../../../input/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 { Radio as e } from "../../../radio/index.js";
|
|
3
3
|
import { useFieldContext as t } from "../../contexts/form-context.js";
|
|
4
4
|
import { withFormItem as n } from "../../helpers/with-form-item.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 { useFieldContext as e } from "../../contexts/form-context.js";
|
|
3
3
|
import { withFormItem as t } from "../../helpers/with-form-item.js";
|
|
4
4
|
import { Rate as n } from "../../../rate/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 { useFieldContext as e } from "../../contexts/form-context.js";
|
|
3
3
|
import { withFormItem as t } from "../../helpers/with-form-item.js";
|
|
4
4
|
import { Select as n } from "../../../select/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 { Slider as e } from "../../../slider/index.js";
|
|
3
3
|
import { useFieldContext as t } from "../../contexts/form-context.js";
|
|
4
4
|
import { withFormItem as n } from "../../helpers/with-form-item.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 { useFieldContext as e } from "../../contexts/form-context.js";
|
|
3
3
|
import { withFormItem as t } from "../../helpers/with-form-item.js";
|
|
4
4
|
import { Input as n } from "../../../input/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 { fullWidth as e } from "../../../_base/styles/common.js";
|
|
3
3
|
import { useFieldContext as t } from "../../contexts/form-context.js";
|
|
4
4
|
import { withFormItem as n } from "../../helpers/with-form-item.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 { fullWidth as e } from "../../../_base/styles/common.js";
|
|
3
3
|
import { useFieldContext as t } from "../../contexts/form-context.js";
|
|
4
4
|
import { withFormItem as n } from "../../helpers/with-form-item.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 { useFieldContext as e } from "../../contexts/form-context.js";
|
|
3
3
|
import { withFormItem as t } from "../../helpers/with-form-item.js";
|
|
4
4
|
import { Transfer as n } from "../../../transfer/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 { useFieldContext as e } from "../../contexts/form-context.js";
|
|
3
3
|
import { withFormItem as t } from "../../helpers/with-form-item.js";
|
|
4
4
|
import { TreeSelect as n } from "../../../tree-select/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 { useFieldContext as e } from "../../contexts/form-context.js";
|
|
3
3
|
import { withFormItem as t } from "../../helpers/with-form-item.js";
|
|
4
4
|
import { resolveStoredFileUrl as n } from "../../../file-upload/helpers.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.js";
|
|
4
4
|
import { Fragment as n, jsx as r, jsxs as i } from "@emotion/react/jsx-runtime";
|
package/dist/es/form/form.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 { fieldContext as e, formContext as t, useFormContext as n } from "./contexts/form-context.js";
|
|
3
3
|
import { formComponents as r } from "./components/index.js";
|
|
4
4
|
import { fieldComponents as i } from "./fields/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 { createField as e, restoreFieldOptions as t } from "./create-field.js";
|
|
3
3
|
import { withFormItem as n } from "./with-form-item.js";
|
|
4
4
|
export { e as createField, t as restoreFieldOptions, n as withFormItem };
|
|
@@ -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 { useFieldContext as e } from "../contexts/form-context.js";
|
|
3
3
|
import { useFormItemProps as t } from "../hooks/use-form-item-props.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 { useFormLayout as e } from "../contexts/form-layout.js";
|
|
3
3
|
import { useLabelWidth as t } from "./use-label-width.js";
|
|
4
4
|
import { useMemo 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 { showWarningMessage as e } from "../../_base/helpers/message.js";
|
|
3
3
|
import { useMemo as t } from "react";
|
|
4
4
|
//#region src/form/hooks/use-label-width.ts
|
package/dist/es/form/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 { restoreFieldOptions as e } from "./helpers/create-field.js";
|
|
3
3
|
import { useFormContext as t, withFieldGroup as n, withForm as r } from "./form.js";
|
|
4
4
|
import { DefaultResetButton as i, DefaultSubmitButton as a, FormActions as o } from "./form-actions.js";
|
package/dist/es/form/use-form.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 { createField as e } from "./helpers/create-field.js";
|
|
3
3
|
import { useAppForm as t } from "./form.js";
|
|
4
4
|
import { useMemo 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 { Center as e } from "../center/index.js";
|
|
3
3
|
import t from "../empty/empty.js";
|
|
4
4
|
import { DefaultResetButton as n, DefaultSubmitButton as r, FormActions as i } from "../form/form-actions.js";
|
|
@@ -14,73 +14,74 @@ function p() {
|
|
|
14
14
|
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
15
15
|
}
|
|
16
16
|
var m = process.env.NODE_ENV === "production" ? {
|
|
17
|
-
name: "
|
|
18
|
-
styles: "height:100%"
|
|
17
|
+
name: "1mcunxu",
|
|
18
|
+
styles: "min-height:100%"
|
|
19
19
|
} : {
|
|
20
|
-
name: "
|
|
21
|
-
styles: "height:100%/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
20
|
+
name: "1mcunxu",
|
|
21
|
+
styles: "min-height:100%/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUF1QmtCIiwiZmlsZSI6ImluZGV4LnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB0eXBlIHsgQXdhaXRhYmxlIH0gZnJvbSBcIkB2ZWYtZnJhbWV3b3JrLXJlYWN0L3NoYXJlZFwiO1xuaW1wb3J0IHR5cGUgeyBGQywgUmVhY3ROb2RlIH0gZnJvbSBcInJlYWN0XCI7XG5cbmltcG9ydCB0eXBlIHsgR2V0UHJvcCB9IGZyb20gXCIuLi9fYmFzZVwiO1xuaW1wb3J0IHR5cGUgeyBEcmF3ZXJQcm9wcyB9IGZyb20gXCIuLi9kcmF3ZXJcIjtcbmltcG9ydCB0eXBlIHsgRm9ybUFwaSB9IGZyb20gXCIuLi9mb3JtXCI7XG5pbXBvcnQgdHlwZSB7IEZvcm1EcmF3ZXJQcm9wcyB9IGZyb20gXCIuL3Byb3BzXCI7XG5cbmltcG9ydCB7IGNzcyB9IGZyb20gXCJAZW1vdGlvbi9yZWFjdFwiO1xuaW1wb3J0IHsgdXNlTXV0YXRpb24gfSBmcm9tIFwiQHZlZi1mcmFtZXdvcmstcmVhY3QvY29yZVwiO1xuaW1wb3J0IHsgaXNGdW5jdGlvbiB9IGZyb20gXCJAdmVmLWZyYW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XR1cm4gYWN0aW9uc1xuICAgICAgICAgID8gKFxuICAgICAgICAgICAgICA8QXBwRm9ybT5cbiAgICAgICAgICAgICAgICB7YWN0aW9uc31cbiAgICAgICAgICAgICAgPC9BcHBGb3JtPlxuICAgICAgICAgICAgKVxuICAgICAgICAgIDogbnVsbDtcbiAgICAgIH0pKClcbiAgICA6IChcbiAgICAgICAgPEFwcEZvcm0+XG4gICAgICAgICAgPEZvcm1BY3Rpb25zXG4gICAgICAgICAgICByZXNldEJ1dHRvblByb3BzPXtyZXNldEJ1dHRvblByb3BzfVxuICAgICAgICAgICAgc3VibWl0QnV0dG9uUHJvcHM9e3N1Ym1pdEJ1dHRvblByb3BzfVxuICAgICAgICAgICAgb25SZXNldD17aGFuZGxlUmVzZXR9XG4gICAgICAgICAgLz5cbiAgICAgICAgPC9BcHBGb3JtPlxuICAgICAgKTtcblxuICByZXR1cm4gKFxuICAgIDxEcmF3ZXJcbiAgICAgIGRlc3Ryb3lPbkhpZGRlblxuICAgICAgZm9vdGVyPXtmb290ZXJ9XG4gICAgICBrZXlib2FyZD17ZmFsc2V9XG4gICAgICBvcGVuPXtvcGVufVxuICAgICAgcGxhY2VtZW50PXtwbGFjZW1lbnR9XG4gICAgICByZXNpemFibGU9e3Jlc2l6YWJsZX1cbiAgICAgIHN0eWxlcz17ZHJhd2VyU3R5bGVzfVxuICAgICAgdGl0bGU9e3RpdGxlfVxuICAgICAgb25DbG9zZT17aGFuZGxlQ2FuY2VsfVxuICAgID5cbiAgICAgIDxBcHBGb3JtPlxuICAgICAgICA8Rm9ybSB7Li4uZm9ybUxheW91dH0gY29tcG9uZW50PXtmb3JtQ29tcG9uZW50fSBjc3M9e2Zvcm1TdHlsZX0gZGlzYWJsZWQ9e2Rpc2FibGVkIHx8IGlzUGVuZGluZ30+XG4gICAgICAgICAge3JlbmRlckZvcm1Db250ZW50KGNoaWxkcmVuLCBmb3JtQXBpKX1cbiAgICAgICAgPC9Gb3JtPlxuICAgICAgPC9BcHBGb3JtPlxuICAgIDwvRHJhd2VyPlxuICApO1xufSkgYXMgKDxUVmFsdWVzIGV4dGVuZHMgb2JqZWN0LCBURGF0YSA9IHVua25vd24+KHByb3BzOiBGb3JtRHJhd2VyUHJvcHM8VFZhbHVlcywgVERhdGE+KSA9PiBBd2FpdGFibGU8UmVhY3ROb2RlPikgJiBQaWNrPEZDLCBcImRpc3BsYXlOYW1lXCI+O1xuRm9ybURyYXdlci5kaXNwbGF5TmFtZSA9IFwiRm9ybURyYXdlclwiO1xuXG5leHBvcnQgdHlwZSB7IEZvcm1EcmF3ZXJQcm9wcyB9IGZyb20gXCIuL3Byb3BzXCI7XG4iXX0= */",
|
|
22
22
|
toString: p
|
|
23
23
|
}, h = /* @__PURE__ */ s(e, { children: /* @__PURE__ */ s(t, { description: "请提供表单内容" }) });
|
|
24
24
|
function g(e, t) {
|
|
25
25
|
return c(e) ? e(t) : e || h;
|
|
26
26
|
}
|
|
27
|
-
var _ = l(({ open: e = !1, title: t, width: l, placement: p = "right", resizable: h, defaultValues: _, disabled: v = !1, formComponent: y,
|
|
28
|
-
let
|
|
27
|
+
var _ = l(({ open: e = !1, title: t, width: l, placement: p = "right", resizable: h, defaultValues: _, disabled: v = !1, formComponent: y, formLayout: b, renderActions: x, submitButtonProps: S, resetButtonProps: C, mutationFn: w, mutationMeta: T, children: E, beforeSubmit: D, afterSubmit: O, onClose: k, onSubmit: A, onReset: j }) => {
|
|
28
|
+
let M = a({
|
|
29
29
|
defaultValues: _,
|
|
30
30
|
onSubmit: async ({ value: e }) => {
|
|
31
31
|
let t = e;
|
|
32
|
-
c(
|
|
32
|
+
c(D) && (t = await D(t)), c(A) && await A(t), w ? await R(t) : A || I();
|
|
33
33
|
}
|
|
34
|
-
}), { Form:
|
|
35
|
-
|
|
36
|
-
}, [
|
|
37
|
-
mutationKey: [
|
|
38
|
-
mutationFn:
|
|
34
|
+
}), { Form: N, AppForm: P, reset: F } = M, I = u(() => {
|
|
35
|
+
F(), k?.();
|
|
36
|
+
}, [k, F]), { isPending: L, mutateAsync: R } = f({
|
|
37
|
+
mutationKey: [w?.key],
|
|
38
|
+
mutationFn: w,
|
|
39
39
|
onSuccess: async ({ data: e }, t) => {
|
|
40
|
-
c(
|
|
40
|
+
c(O) && await O(t, e), I();
|
|
41
41
|
},
|
|
42
|
-
meta:
|
|
43
|
-
}),
|
|
44
|
-
|
|
45
|
-
}, [_,
|
|
46
|
-
|
|
47
|
-
}, [
|
|
42
|
+
meta: T
|
|
43
|
+
}), z = u(() => {
|
|
44
|
+
j?.(_);
|
|
45
|
+
}, [_, j]), B = u(() => {
|
|
46
|
+
L || I();
|
|
47
|
+
}, [I, L]), V = d(() => ({ wrapper: { width: l } }), [l]), H = d(() => new Proxy(M, { get(e, t, n) {
|
|
48
48
|
if (t === "reset") {
|
|
49
49
|
let r = Reflect.get(e, t, n);
|
|
50
50
|
return () => {
|
|
51
|
-
r(),
|
|
51
|
+
r(), z();
|
|
52
52
|
};
|
|
53
53
|
}
|
|
54
54
|
return Reflect.get(e, t, n);
|
|
55
|
-
} }), [
|
|
55
|
+
} }), [M, z]);
|
|
56
56
|
return /* @__PURE__ */ s(o, {
|
|
57
57
|
destroyOnHidden: !0,
|
|
58
|
-
footer:
|
|
59
|
-
let e =
|
|
60
|
-
submitButton: /* @__PURE__ */ s(r, { submitButtonProps:
|
|
58
|
+
footer: x ? (() => {
|
|
59
|
+
let e = x(H, {
|
|
60
|
+
submitButton: /* @__PURE__ */ s(r, { submitButtonProps: S }),
|
|
61
61
|
resetButton: /* @__PURE__ */ s(n, {
|
|
62
|
-
resetButtonProps:
|
|
63
|
-
onReset:
|
|
62
|
+
resetButtonProps: C,
|
|
63
|
+
onReset: z
|
|
64
64
|
})
|
|
65
65
|
});
|
|
66
|
-
return e ? /* @__PURE__ */ s(
|
|
67
|
-
})() : /* @__PURE__ */ s(
|
|
68
|
-
resetButtonProps:
|
|
69
|
-
submitButtonProps:
|
|
70
|
-
onReset:
|
|
66
|
+
return e ? /* @__PURE__ */ s(P, { children: e }) : null;
|
|
67
|
+
})() : /* @__PURE__ */ s(P, { children: /* @__PURE__ */ s(i, {
|
|
68
|
+
resetButtonProps: C,
|
|
69
|
+
submitButtonProps: S,
|
|
70
|
+
onReset: z
|
|
71
71
|
}) }),
|
|
72
72
|
keyboard: !1,
|
|
73
73
|
open: e,
|
|
74
74
|
placement: p,
|
|
75
75
|
resizable: h,
|
|
76
|
-
styles:
|
|
76
|
+
styles: V,
|
|
77
77
|
title: t,
|
|
78
|
-
onClose:
|
|
79
|
-
children: /* @__PURE__ */ s(
|
|
78
|
+
onClose: B,
|
|
79
|
+
children: /* @__PURE__ */ s(P, { children: /* @__PURE__ */ s(N, {
|
|
80
|
+
...b,
|
|
80
81
|
component: y,
|
|
81
82
|
css: m,
|
|
82
|
-
disabled: v ||
|
|
83
|
-
children: g(
|
|
83
|
+
disabled: v || L,
|
|
84
|
+
children: g(E, M)
|
|
84
85
|
}) })
|
|
85
86
|
});
|
|
86
87
|
});
|
|
@@ -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 { Center as e } from "../center/index.js";
|
|
3
3
|
import t from "../empty/empty.js";
|
|
4
4
|
import { DefaultResetButton as n, DefaultSubmitButton as r, FormActions as i } from "../form/form-actions.js";
|
|
@@ -13,62 +13,63 @@ var p = /* @__PURE__ */ s(e, { children: /* @__PURE__ */ s(t, { description: "
|
|
|
13
13
|
function m(e, t) {
|
|
14
14
|
return c(e) ? e(t) : e || p;
|
|
15
15
|
}
|
|
16
|
-
var h = l(({ open: e = !1, title: t, width: l, draggable: p = !0, submitButtonProps: h, resetButtonProps: g, defaultValues: _, disabled: v = !1, formComponent: y,
|
|
17
|
-
let
|
|
16
|
+
var h = l(({ open: e = !1, title: t, width: l, draggable: p = !0, submitButtonProps: h, resetButtonProps: g, defaultValues: _, disabled: v = !1, formComponent: y, formLayout: b, renderActions: x, mutationFn: S, mutationMeta: C, children: w, beforeSubmit: T, afterSubmit: E, onClose: D, onSubmit: O, onReset: k }) => {
|
|
17
|
+
let A = a({
|
|
18
18
|
defaultValues: _,
|
|
19
19
|
onSubmit: async ({ value: e }) => {
|
|
20
20
|
let t = e;
|
|
21
|
-
c(
|
|
21
|
+
c(T) && (t = await T(t)), c(O) && await O(t), S ? await I(t) : O || P();
|
|
22
22
|
}
|
|
23
|
-
}), { Form:
|
|
24
|
-
|
|
25
|
-
}, [
|
|
26
|
-
mutationKey: [
|
|
27
|
-
mutationFn:
|
|
23
|
+
}), { Form: j, AppForm: M, reset: N } = A, P = u(() => {
|
|
24
|
+
N(), D?.();
|
|
25
|
+
}, [D, N]), { isPending: F, mutateAsync: I } = f({
|
|
26
|
+
mutationKey: [S?.key],
|
|
27
|
+
mutationFn: S,
|
|
28
28
|
onSuccess: async ({ data: e }, t) => {
|
|
29
|
-
c(
|
|
29
|
+
c(E) && await E(t, e), P();
|
|
30
30
|
},
|
|
31
|
-
meta:
|
|
32
|
-
}),
|
|
33
|
-
|
|
34
|
-
}, [_,
|
|
35
|
-
|
|
36
|
-
}, [
|
|
31
|
+
meta: C
|
|
32
|
+
}), L = u(() => {
|
|
33
|
+
k?.(_);
|
|
34
|
+
}, [_, k]), R = u(() => {
|
|
35
|
+
F || P();
|
|
36
|
+
}, [F, P]), z = d(() => new Proxy(A, { get(e, t, n) {
|
|
37
37
|
if (t === "reset") {
|
|
38
38
|
let r = Reflect.get(e, t, n);
|
|
39
39
|
return () => {
|
|
40
|
-
r(),
|
|
40
|
+
r(), L();
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
43
|
return Reflect.get(e, t, n);
|
|
44
|
-
} }), [
|
|
44
|
+
} }), [A, L]);
|
|
45
45
|
return /* @__PURE__ */ s(o, {
|
|
46
46
|
centered: !0,
|
|
47
47
|
destroyOnHidden: !0,
|
|
48
48
|
draggable: p,
|
|
49
|
-
footer:
|
|
50
|
-
let e =
|
|
49
|
+
footer: x ? (() => {
|
|
50
|
+
let e = x(z, {
|
|
51
51
|
submitButton: /* @__PURE__ */ s(r, { submitButtonProps: h }),
|
|
52
52
|
resetButton: /* @__PURE__ */ s(n, {
|
|
53
53
|
resetButtonProps: g,
|
|
54
|
-
onReset:
|
|
54
|
+
onReset: L
|
|
55
55
|
})
|
|
56
56
|
});
|
|
57
|
-
return e ? /* @__PURE__ */ s(
|
|
58
|
-
})() : /* @__PURE__ */ s(
|
|
57
|
+
return e ? /* @__PURE__ */ s(M, { children: e }) : null;
|
|
58
|
+
})() : /* @__PURE__ */ s(M, { children: /* @__PURE__ */ s(i, {
|
|
59
59
|
resetButtonProps: g,
|
|
60
60
|
submitButtonProps: h,
|
|
61
|
-
onReset:
|
|
61
|
+
onReset: L
|
|
62
62
|
}) }),
|
|
63
63
|
keyboard: !1,
|
|
64
64
|
open: e,
|
|
65
65
|
title: t,
|
|
66
66
|
width: l,
|
|
67
|
-
onCancel:
|
|
68
|
-
children: /* @__PURE__ */ s(
|
|
67
|
+
onCancel: R,
|
|
68
|
+
children: /* @__PURE__ */ s(M, { children: /* @__PURE__ */ s(j, {
|
|
69
|
+
...b,
|
|
69
70
|
component: y,
|
|
70
|
-
disabled: v ||
|
|
71
|
-
children: m(
|
|
71
|
+
disabled: v || F,
|
|
72
|
+
children: m(w, A)
|
|
72
73
|
}) })
|
|
73
74
|
});
|
|
74
75
|
});
|
|
@@ -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 { fullWidth as e } from "../_base/styles/common.js";
|
|
3
3
|
import { Icon as t } from "../icon/index.js";
|
|
4
4
|
import { Fragment as n, jsx as r } from "@emotion/react/jsx-runtime";
|
package/dist/es/grid/context.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 { createContext as e, use as t } from "react";
|
|
3
3
|
//#region src/grid/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 { useGridContext as e } from "./context.js";
|
|
3
3
|
import { gridItem as t } from "./styles.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 { useContainerBreakpoints as e } from "./use-container-breakpoints.js";
|
|
3
3
|
import { useContainerWidth as t } from "./use-container-width.js";
|
|
4
4
|
import { useGridCollapsed as n } from "./use-grid-collapsed.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 { useMemo as e } from "react";
|
|
3
3
|
//#region src/grid/hooks/use-container-breakpoints.ts
|
|
4
4
|
function t(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 { useIsomorphicEffect as e } from "@vef-framework-react/hooks";
|
|
3
3
|
import { useEffect as t, useRef as n, useState as r } from "react";
|
|
4
4
|
//#region src/grid/hooks/use-container-width.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 { useGridContext as e } from "../context.js";
|
|
3
3
|
//#region src/grid/hooks/use-grid-collapsed.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 { useThemeTokens as e } from "../../_base/hooks/use-theme-tokens.js";
|
|
3
3
|
import { isNumber as t, isString as n } from "@vef-framework-react/shared";
|
|
4
4
|
import { useMemo as r } 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 { useMemo as e } from "react";
|
|
3
3
|
//#region src/grid/hooks/use-responsive-breakpoint.ts
|
|
4
4
|
function t(t, n) {
|
|
@@ -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 { isPlainObject as t } from "@vef-framework-react/shared";
|
|
4
4
|
import "react";
|
package/dist/es/grid/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 { GridContextProvider as e } from "./context.js";
|
|
3
3
|
import { grid as t } from "./styles.js";
|
|
4
4
|
import { GridItem as n } from "./grid-item.js";
|
package/dist/es/grid/styles.js
CHANGED
package/dist/es/group/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 { Flex as e } from "../flex/index.js";
|
|
3
3
|
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
4
4
|
//#region src/group/index.tsx
|
package/dist/es/icon/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 { jsx as e } from "@emotion/react/jsx-runtime";
|
|
3
3
|
import "@emotion/react";
|
|
4
4
|
import { Icon as t } from "lucide-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 { globalCssVars as e } from "../_base/constants/css-vars.js";
|
|
3
3
|
import { Button as t } from "../button/index.js";
|
|
4
4
|
import { Tooltip as n } from "../tooltip/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 { DynamicIcon as t, dynamicIconNames as n } from "../dynamic-icon/index.js";
|
|
4
4
|
import r from "../empty/empty.js";
|