@vef-framework-react/components 2.18.0 → 2.20.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/file-upload/index.cjs +1 -1
- package/dist/cjs/file-upload/stored-file-upload.cjs +1 -0
- package/dist/cjs/form/fields/upload/index.cjs +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/select/filter.cjs +1 -0
- package/dist/cjs/select/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 +1 -1
- package/dist/es/code-editor/format.js +1 -1
- package/dist/es/code-editor/index.js +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +12 -11
- package/dist/es/file-upload/stored-file-upload.js +63 -0
- 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 +1 -1
- package/dist/es/flex-tabs/styles.js +1 -1
- 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 +10 -59
- 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 +1 -1
- package/dist/es/form-modal/index.js +1 -1
- 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 +71 -69
- 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 +1 -1
- package/dist/es/labels/index.js +1 -1
- 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 +1 -1
- 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/filter.js +10 -0
- package/dist/es/select/hooks/index.js +1 -1
- package/dist/es/select/hooks/use-code-set-options-select.js +1 -1
- package/dist/es/select/hooks/use-data-options-select.js +1 -1
- package/dist/es/select/index.js +6 -5
- 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/file-upload/index.d.ts +1 -0
- package/dist/types/file-upload/stored-file-upload.d.ts +22 -0
- package/dist/types/index.d.ts +2 -2
- package/dist/types/select/filter.d.ts +18 -0
- package/dist/types/select/index.d.ts +1 -0
- package/package.json +4 -4
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.20.0 made by Venus | 2026-09-07T11:07:00.925Z */
|
|
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";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/*! @vef-framework-react/components v2.20.0 made by Venus | 2026-09-07T11:07:00.925Z */
|
|
2
|
+
//#region src/select/filter.ts
|
|
3
|
+
function e(e, t) {
|
|
4
|
+
let n = e.trim().toLowerCase();
|
|
5
|
+
if (n === "") return !0;
|
|
6
|
+
let r = t?.label;
|
|
7
|
+
return typeof r == "string" && r.toLowerCase().includes(n);
|
|
8
|
+
}
|
|
9
|
+
//#endregion
|
|
10
|
+
export { e as filterOptionByLabel };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
1
|
+
/*! @vef-framework-react/components v2.20.0 made by Venus | 2026-09-07T11:07:00.925Z */
|
|
2
2
|
import { useCodeSetOptionsSelect as e } from "./use-code-set-options-select.js";
|
|
3
3
|
import { useDataOptionsSelect as t } from "./use-data-options-select.js";
|
|
4
4
|
export { e as useCodeSetOptionsSelect, t as useDataOptionsSelect };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
1
|
+
/*! @vef-framework-react/components v2.20.0 made by Venus | 2026-09-07T11:07:00.925Z */
|
|
2
2
|
import { Loader as e } from "../../loader/index.js";
|
|
3
3
|
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
4
4
|
import { isArray as n, withPinyin as r } from "@vef-framework-react/shared";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
1
|
+
/*! @vef-framework-react/components v2.20.0 made by Venus | 2026-09-07T11:07:00.925Z */
|
|
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";
|
package/dist/es/select/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
1
|
+
/*! @vef-framework-react/components v2.20.0 made by Venus | 2026-09-07T11:07:00.925Z */
|
|
2
|
+
import { filterOptionByLabel as e } from "./filter.js";
|
|
3
|
+
import { useCodeSetOptionsSelect as t } from "./hooks/use-code-set-options-select.js";
|
|
4
|
+
import { useDataOptionsSelect as n } from "./hooks/use-data-options-select.js";
|
|
5
|
+
import { Select as r } from "antd";
|
|
6
|
+
export { r as Select, e as filterOptionByLabel, t as useCodeSetOptionsSelect, n as useDataOptionsSelect };
|
package/dist/es/slider/index.js
CHANGED
package/dist/es/space/index.js
CHANGED
package/dist/es/space/space.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
1
|
+
/*! @vef-framework-react/components v2.20.0 made by Venus | 2026-09-07T11:07:00.925Z */
|
|
2
2
|
import { jsx as e } from "@emotion/react/jsx-runtime";
|
|
3
3
|
import { Space as t } from "antd";
|
|
4
4
|
//#region src/space/space.tsx
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
1
|
+
/*! @vef-framework-react/components v2.20.0 made by Venus | 2026-09-07T11:07:00.925Z */
|
|
2
2
|
import { Sparkle as e } from "./sparkle.js";
|
|
3
3
|
import { jsx as t, jsxs as n } from "@emotion/react/jsx-runtime";
|
|
4
4
|
import { useEffect as r, useState as i } from "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
1
|
+
/*! @vef-framework-react/components v2.20.0 made by Venus | 2026-09-07T11:07:00.925Z */
|
|
2
2
|
import { jsx as e } from "@emotion/react/jsx-runtime";
|
|
3
3
|
import "@emotion/react";
|
|
4
4
|
import { motion as t } from "@vef-framework-react/core";
|
package/dist/es/spin/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
1
|
+
/*! @vef-framework-react/components v2.20.0 made by Venus | 2026-09-07T11:07:00.925Z */
|
|
2
2
|
import { jsx as e } from "@emotion/react/jsx-runtime";
|
|
3
3
|
import { useEffect as t, useRef as n, useState as r } from "react";
|
|
4
4
|
import { clsx as i } from "@vef-framework-react/core";
|
package/dist/es/stack/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
1
|
+
/*! @vef-framework-react/components v2.20.0 made by Venus | 2026-09-07T11:07:00.925Z */
|
|
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/stack/index.tsx
|
package/dist/es/steps/index.js
CHANGED
package/dist/es/switch/index.js
CHANGED
package/dist/es/table/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
1
|
+
/*! @vef-framework-react/components v2.20.0 made by Venus | 2026-09-07T11:07:00.925Z */
|
|
2
2
|
import { globalCssVars as e } from "../_base/constants/css-vars.js";
|
|
3
3
|
import { fullHeight as t } from "../_base/styles/common.js";
|
|
4
4
|
import { pageSizeOptions as n, usePaginationProps as r } from "./use-pagination-props.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
1
|
+
/*! @vef-framework-react/components v2.20.0 made by Venus | 2026-09-07T11:07:00.925Z */
|
|
2
2
|
import { Fragment as e, jsx as t, jsxs as n } from "@emotion/react/jsx-runtime";
|
|
3
3
|
import { useMemo as r } from "react";
|
|
4
4
|
//#region src/table/use-pagination-props.tsx
|
package/dist/es/tabs/index.js
CHANGED
package/dist/es/tag/index.js
CHANGED
package/dist/es/tooltip/index.js
CHANGED
package/dist/es/tour/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
1
|
+
/*! @vef-framework-react/components v2.20.0 made by Venus | 2026-09-07T11:07:00.925Z */
|
|
2
2
|
import { useDataOptionsTree as e } from "./use-data-options-tree.js";
|
|
3
3
|
export { e as useDataOptionsTree };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
1
|
+
/*! @vef-framework-react/components v2.20.0 made by Venus | 2026-09-07T11:07:00.925Z */
|
|
2
2
|
import { filterTreeWithAncestors as e, isString as t } from "@vef-framework-react/shared";
|
|
3
3
|
import { useDataOptionsQuery as n } from "@vef-framework-react/hooks";
|
|
4
4
|
import { useEffect as r, useEffectEvent as i, useMemo as a, useState as o } from "react";
|
package/dist/es/tree/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
1
|
+
/*! @vef-framework-react/components v2.20.0 made by Venus | 2026-09-07T11:07:00.925Z */
|
|
2
2
|
import { useDataOptionsTree as e } from "./hooks/use-data-options-tree.js";
|
|
3
3
|
import { Tree as t } from "antd";
|
|
4
4
|
export { t as Tree, e as useDataOptionsTree };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
1
|
+
/*! @vef-framework-react/components v2.20.0 made by Venus | 2026-09-07T11:07:00.925Z */
|
|
2
2
|
import { useDataOptionsTreeSelect as e } from "./use-data-options-tree-select.js";
|
|
3
3
|
export { e as useDataOptionsTreeSelect };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
1
|
+
/*! @vef-framework-react/components v2.20.0 made by Venus | 2026-09-07T11:07:00.925Z */
|
|
2
2
|
import { Loader as e } from "../../loader/index.js";
|
|
3
3
|
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
4
4
|
import { isString as n } from "@vef-framework-react/shared";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
1
|
+
/*! @vef-framework-react/components v2.20.0 made by Venus | 2026-09-07T11:07:00.925Z */
|
|
2
2
|
import { useDataOptionsTreeSelect as e } from "./hooks/use-data-options-tree-select.js";
|
|
3
3
|
import { TreeSelect as t } from "antd";
|
|
4
4
|
export { t as TreeSelect, e as useDataOptionsTreeSelect };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
1
|
+
/*! @vef-framework-react/components v2.20.0 made by Venus | 2026-09-07T11:07:00.925Z */
|
|
2
2
|
import { jsx as e } from "@emotion/react/jsx-runtime";
|
|
3
3
|
import { Children as t, useEffect as n, useRef as r, useState as i } from "react";
|
|
4
4
|
import { motion as a, useInView as o } from "@vef-framework-react/core";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
1
|
+
/*! @vef-framework-react/components v2.20.0 made by Venus | 2026-09-07T11:07:00.925Z */
|
|
2
2
|
import { Typography as e } from "antd";
|
|
3
3
|
//#region src/typography/index.ts
|
|
4
4
|
var { Text: t, Link: n, Title: r, Paragraph: i } = e;
|
package/dist/es/upload/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
1
|
+
/*! @vef-framework-react/components v2.20.0 made by Venus | 2026-09-07T11:07:00.925Z */
|
|
2
2
|
import { showWarningMessage as e } from "../_base/helpers/message.js";
|
|
3
3
|
import { mergeProps as t } from "../_base/helpers/props.js";
|
|
4
4
|
import { Button as n } from "../button/index.js";
|
|
@@ -9,3 +9,4 @@ import { FileUploadProps } from './props';
|
|
|
9
9
|
*/
|
|
10
10
|
export declare function FileUpload({ public: isPublic, apiPath, resource, version, partConcurrency, maxPartRetries, resolveFileUrl, defaultFileList, fileList, onUploadProgress, onUploadSuccess, onUploadError, ...uploadProps }: FileUploadProps): ReactElement;
|
|
11
11
|
export type { FileUploadProps } from './props';
|
|
12
|
+
export { StoredFileUpload, type StoredFileUploadProps, type StoredFileValue } from './stored-file-upload';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { MaybeArray, MaybeNullish } from '@vef-framework-react/shared';
|
|
2
|
+
import { ReactElement } from 'react';
|
|
3
|
+
import { FileUploadProps } from './props';
|
|
4
|
+
/**
|
|
5
|
+
* The value a storage-backed upload holds: object keys, one for a single-file
|
|
6
|
+
* field and a list for a multi-file one. It is deliberately the shape the
|
|
7
|
+
* backend validates (`approval.FieldUpload` accepts a string or a string
|
|
8
|
+
* array), so a form value round-trips without a translation layer.
|
|
9
|
+
*/
|
|
10
|
+
export type StoredFileValue = MaybeNullish<MaybeArray<string>>;
|
|
11
|
+
export interface StoredFileUploadProps extends Omit<FileUploadProps, "fileList" | "defaultFileList" | "onChange"> {
|
|
12
|
+
value: StoredFileValue;
|
|
13
|
+
onChange: (value: StoredFileValue) => void;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* `<FileUpload>` driven by a value of storage keys instead of AntD's file
|
|
17
|
+
* list — the controlled core shared by every form flavor of the upload
|
|
18
|
+
* control: the TanStack-bound `<UploadField>` and the form designer's upload
|
|
19
|
+
* field both render this, so the key hydration, the registry name lookup, and
|
|
20
|
+
* the single-vs-multi value shape have exactly one implementation.
|
|
21
|
+
*/
|
|
22
|
+
export declare function StoredFileUpload({ disabled, maxCount, resolveFileUrl, value, onChange, ...props }: StoredFileUploadProps): ReactElement;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -37,7 +37,7 @@ export { DynamicIcon, type DynamicIconName, type DynamicIconProps } from './dyna
|
|
|
37
37
|
export { createEditableColumn, EditableTable, type EditableColumn, type EditableColumnOptions, type EditableOperationColumnConfig, type EditableRowActionsTexts, type EditableTableProps, type EditFieldContext, type RenderEditor, type RenderView } from './editable-table';
|
|
38
38
|
export { Empty, type EmptyProps } from './empty';
|
|
39
39
|
export { FilePreviewProvider, useFilePreview, type FilePreviewHandler, type FilePreviewProviderProps, type FilePreviewTarget } from './file-preview';
|
|
40
|
-
export { FileUpload, type FileUploadProps } from './file-upload';
|
|
40
|
+
export { FileUpload, StoredFileUpload, type FileUploadProps, type StoredFileUploadProps, type StoredFileValue } from './file-upload';
|
|
41
41
|
export { Flex, type FlexProps } from './flex';
|
|
42
42
|
export { FlexCard, type FlexCardProps } from './flex-card';
|
|
43
43
|
export { FlexTabs, type FlexTabsProps } from './flex-tabs';
|
|
@@ -81,7 +81,7 @@ export { Result, type ResultProps } from './result';
|
|
|
81
81
|
export { Row, type RowProps } from './row';
|
|
82
82
|
export { ScrollArea, type ScrollAreaProps, type ScrollAreaScrollbars } from './scroll-area';
|
|
83
83
|
export { Segmented, type SegmentedOption, type SegmentedProps } from './segmented';
|
|
84
|
-
export { Select, useCodeSetOptionsSelect, useDataOptionsSelect, type SelectOption, type SelectProps, type UseCodeSetOptionsSelectOptions, type UseCodeSetOptionsSelectResult, type UseDataOptionsSelectOptions } from './select';
|
|
84
|
+
export { filterOptionByLabel, Select, useCodeSetOptionsSelect, useDataOptionsSelect, type SelectOption, type SelectProps, type UseCodeSetOptionsSelectOptions, type UseCodeSetOptionsSelectResult, type UseDataOptionsSelectOptions } from './select';
|
|
85
85
|
export { Skeleton, type SkeletonButtonProps, type SkeletonImageProps, type SkeletonInputProps, type SkeletonNodeProps, type SkeletonParagraphProps, type SkeletonProps, type SkeletonTitleProps } from './skeleton';
|
|
86
86
|
export { Slider, type SliderProps, type SliderRangeProps, type SliderSingleProps } from './slider';
|
|
87
87
|
export { Space, type SpaceProps } from './space';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { SelectOption } from '.';
|
|
2
|
+
/**
|
|
3
|
+
* Type-to-filter predicate for a plain option list (antd `Select`
|
|
4
|
+
* `filterOption`). antd's default matches the typed query against the option
|
|
5
|
+
* `value` — the stored code — so a list of `{ label: "北京", value: "bj" }`
|
|
6
|
+
* filters to nothing for every word the user can actually see. Match the label
|
|
7
|
+
* instead, case-insensitively and ignoring surrounding whitespace.
|
|
8
|
+
*
|
|
9
|
+
* The value stays out of the comparison deliberately: it is storage, not copy,
|
|
10
|
+
* and matching it would let a query hit an option whose visible text does not
|
|
11
|
+
* contain the query at all — including numeric codes colliding with numbers the
|
|
12
|
+
* user typed for another reason.
|
|
13
|
+
*
|
|
14
|
+
* Pass it wherever a `Select` sets `showSearch` over options that were not built
|
|
15
|
+
* by `useDataOptionsSelect` / `useCodeSetOptionsSelect`; those hooks install
|
|
16
|
+
* their own pinyin-aware filter over the richer option shape they produce.
|
|
17
|
+
*/
|
|
18
|
+
export declare function filterOptionByLabel(input: string, option?: SelectOption): boolean;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { DefaultOptionType } from 'antd/es/select';
|
|
2
|
+
export { filterOptionByLabel } from './filter';
|
|
2
3
|
export { useCodeSetOptionsSelect, useDataOptionsSelect, type UseCodeSetOptionsSelectOptions, type UseCodeSetOptionsSelectResult, type UseDataOptionsSelectOptions } from './hooks';
|
|
3
4
|
export { Select } from 'antd';
|
|
4
5
|
export type SelectOption = DefaultOptionType;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vef-framework-react/components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.20.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Components for VEF Framework",
|
|
6
6
|
"keywords": [
|
|
@@ -75,9 +75,9 @@
|
|
|
75
75
|
"react-error-boundary": "^6.1.2",
|
|
76
76
|
"react-syntax-highlighter": "^16.1.1",
|
|
77
77
|
"tslib": "^2.8.1",
|
|
78
|
-
"@vef-framework-react/
|
|
79
|
-
"@vef-framework-react/
|
|
80
|
-
"@vef-framework-react/
|
|
78
|
+
"@vef-framework-react/core": "2.20.0",
|
|
79
|
+
"@vef-framework-react/shared": "2.20.0",
|
|
80
|
+
"@vef-framework-react/hooks": "2.20.0"
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
83
|
"@types/react-syntax-highlighter": "^15.5.13",
|