@vef-framework-react/components 2.1.8 → 2.1.10
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/form/helpers/create-field.cjs +1 -1
- package/dist/cjs/form/index.cjs +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/select/hooks/use-dictionary-options-select.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/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/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-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/placeholder-icon.js +1 -1
- package/dist/es/dynamic-icon/unknown-icon.js +1 -1
- package/dist/es/empty/empty.js +1 -1
- package/dist/es/empty/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/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/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/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 +6 -3
- 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 +2 -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/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/image/index.js +1 -1
- package/dist/es/index.js +69 -68
- 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/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/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/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 +29 -29
- 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/index.js +1 -1
- package/dist/es/watermark/index.js +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/select/hooks/use-dictionary-options-select.d.ts +2 -6
- package/package.json +4 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.1.
|
|
1
|
+
/*! @vef-framework-react/components v2.1.10 made by Venus | 2026-04-27T08:58:17.180Z */
|
|
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.
|
|
1
|
+
/*! @vef-framework-react/components v2.1.10 made by Venus | 2026-04-27T08:58:17.180Z */
|
|
2
2
|
import "./use-column-settings-persistence.js";
|
|
3
3
|
import "./use-row-selection.js";
|
|
4
4
|
import "./use-table-columns.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.1.
|
|
1
|
+
/*! @vef-framework-react/components v2.1.10 made by Venus | 2026-04-27T08:58:17.180Z */
|
|
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.
|
|
1
|
+
/*! @vef-framework-react/components v2.1.10 made by Venus | 2026-04-27T08:58:17.180Z */
|
|
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.
|
|
1
|
+
/*! @vef-framework-react/components v2.1.10 made by Venus | 2026-04-27T08:58:17.180Z */
|
|
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.
|
|
1
|
+
/*! @vef-framework-react/components v2.1.10 made by Venus | 2026-04-27T08:58:17.180Z */
|
|
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.
|
|
1
|
+
/*! @vef-framework-react/components v2.1.10 made by Venus | 2026-04-27T08:58:17.180Z */
|
|
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.
|
|
1
|
+
/*! @vef-framework-react/components v2.1.10 made by Venus | 2026-04-27T08:58:17.180Z */
|
|
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.
|
|
1
|
+
/*! @vef-framework-react/components v2.1.10 made by Venus | 2026-04-27T08:58:17.180Z */
|
|
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";
|
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.1.
|
|
1
|
+
/*! @vef-framework-react/components v2.1.10 made by Venus | 2026-04-27T08:58:17.180Z */
|
|
2
2
|
import { Loader as e } from "../../loader/index.js";
|
|
3
3
|
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
4
|
-
import {
|
|
5
|
-
import { useDictionaryQuery as
|
|
6
|
-
import { useMemo as
|
|
7
|
-
import { css as
|
|
4
|
+
import { isArray as n, withPinyin as r } from "@vef-framework-react/shared";
|
|
5
|
+
import { useDictionaryQuery as i } from "@vef-framework-react/hooks";
|
|
6
|
+
import { useMemo as a } from "react";
|
|
7
|
+
import { css as o } from "@emotion/react";
|
|
8
8
|
//#region src/select/hooks/use-dictionary-options-select.tsx
|
|
9
|
-
var
|
|
9
|
+
var s = {
|
|
10
10
|
label: "label",
|
|
11
11
|
value: "value",
|
|
12
12
|
options: "children",
|
|
13
13
|
groupLabel: "label"
|
|
14
|
-
},
|
|
15
|
-
css: /* @__PURE__ */
|
|
14
|
+
}, c = 280, l = /* @__PURE__ */ t("div", {
|
|
15
|
+
css: /* @__PURE__ */ o({ height: c / 2 }, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInVzZS1kaWN0aW9uYXJ5LW9wdGlvbnMtc2VsZWN0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUF1Q08iLCJmaWxlIjoidXNlLWRpY3Rpb25hcnktb3B0aW9ucy1zZWxlY3QudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHR5cGUgeyBEYXRhT3B0aW9uLCBEYXRhT3B0aW9uV2l0aFBpbnlpbiB9IGZyb20gXCJAdmVmLWZyYW1ld29yay1yZWFjdC9jb3JlXCI7X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blBpbnlpbixcbiAgICBkZXNjcmlwdGlvblBpbnlpbkluaXRpYWxzXG4gIH0gPSBvcHRpb247XG4gIHJldHVybiAoXG4gICAgbGFiZWwuaW5jbHVkZXMoaW5wdXQpXG4gICAgfHwgbGFiZWxQaW55aW4uaW5jbHVkZXMoaW5wdXQpXG4gICAgfHwgbGFiZWxQaW55aW5Jbml0aWFscy5pbmNsdWRlcyhpbnB1dClcbiAgICB8fCBkZXNjcmlwdGlvbj8uaW5jbHVkZXMoaW5wdXQpXG4gICAgfHwgZGVzY3JpcHRpb25QaW55aW4/LmluY2x1ZGVzKGlucHV0KVxuICAgIHx8IGRlc2NyaXB0aW9uUGlueWluSW5pdGlhbHM/LmluY2x1ZGVzKGlucHV0KVxuICApID8/IGZhbHNlO1xufVxuIl19 */"),
|
|
16
16
|
children: /* @__PURE__ */ t(e, {})
|
|
17
17
|
});
|
|
18
|
-
function
|
|
19
|
-
let {
|
|
20
|
-
return
|
|
21
|
-
let i = typeof
|
|
18
|
+
function u(e, t) {
|
|
19
|
+
let { filterable: n = !1 } = t ?? {}, { data: r, isFetching: o } = i(e);
|
|
20
|
+
return a(() => Object.fromEntries(Object.entries(e).map(([e, t]) => {
|
|
21
|
+
let i = typeof t == "string" ? n : t.filterable ?? n;
|
|
22
22
|
return [e, {
|
|
23
|
-
options:
|
|
24
|
-
loading:
|
|
25
|
-
fieldNames:
|
|
23
|
+
options: d(r?.[e] ?? []),
|
|
24
|
+
loading: o,
|
|
25
|
+
fieldNames: s,
|
|
26
26
|
maxTagCount: "responsive",
|
|
27
|
-
listHeight:
|
|
28
|
-
notFoundContent:
|
|
27
|
+
listHeight: c,
|
|
28
|
+
notFoundContent: o ? l : void 0,
|
|
29
29
|
showSearch: i,
|
|
30
|
-
filterOption: i &&
|
|
30
|
+
filterOption: i && p
|
|
31
31
|
}];
|
|
32
32
|
})), [
|
|
33
|
-
|
|
33
|
+
r,
|
|
34
34
|
e,
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
o,
|
|
36
|
+
n
|
|
37
37
|
]);
|
|
38
38
|
}
|
|
39
|
-
function u(e) {
|
|
40
|
-
return e.map((e) => d(e));
|
|
41
|
-
}
|
|
42
39
|
function d(e) {
|
|
43
|
-
|
|
44
|
-
|
|
40
|
+
return e.map((e) => f(e));
|
|
41
|
+
}
|
|
42
|
+
function f(e) {
|
|
43
|
+
let { children: t, ...i } = e, a = Array.isArray(t) && t.length > 0 ? t.map((e) => f(e)) : void 0;
|
|
44
|
+
return r({
|
|
45
45
|
...i,
|
|
46
|
-
...
|
|
46
|
+
...n(a) && { children: a }
|
|
47
47
|
}, "label", "description");
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function p(e, t) {
|
|
50
50
|
if (!t) return !1;
|
|
51
51
|
let { label: n, labelPinyin: r, labelPinyinInitials: i, description: a, descriptionPinyin: o, descriptionPinyinInitials: s } = t;
|
|
52
52
|
return (n.includes(e) || r.includes(e) || i.includes(e) || a?.includes(e) || o?.includes(e) || s?.includes(e)) ?? !1;
|
|
53
53
|
}
|
|
54
54
|
//#endregion
|
|
55
|
-
export {
|
|
55
|
+
export { u as useDictionaryOptionsSelect };
|
package/dist/es/select/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.1.
|
|
1
|
+
/*! @vef-framework-react/components v2.1.10 made by Venus | 2026-04-27T08:58:17.180Z */
|
|
2
2
|
import "./hooks/use-data-options-select.js";
|
|
3
3
|
import "./hooks/use-dictionary-options-select.js";
|
|
4
4
|
import { Select as e } from "antd";
|
package/dist/es/slider/index.js
CHANGED
package/dist/es/space/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.1.
|
|
1
|
+
/*! @vef-framework-react/components v2.1.10 made by Venus | 2026-04-27T08:58:17.180Z */
|
|
2
2
|
import "./space.js";
|
package/dist/es/space/space.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.1.
|
|
1
|
+
/*! @vef-framework-react/components v2.1.10 made by Venus | 2026-04-27T08:58:17.180Z */
|
|
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.
|
|
1
|
+
/*! @vef-framework-react/components v2.1.10 made by Venus | 2026-04-27T08:58:17.180Z */
|
|
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.
|
|
1
|
+
/*! @vef-framework-react/components v2.1.10 made by Venus | 2026-04-27T08:58:17.180Z */
|
|
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.
|
|
1
|
+
/*! @vef-framework-react/components v2.1.10 made by Venus | 2026-04-27T08:58:17.180Z */
|
|
2
2
|
import { createElement as e, useEffect as t, useRef as n, useState as r } from "react";
|
|
3
3
|
import { clsx as i } from "@vef-framework-react/core";
|
|
4
4
|
import { useGSAP as a } from "@gsap/react";
|
package/dist/es/stack/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.1.
|
|
1
|
+
/*! @vef-framework-react/components v2.1.10 made by Venus | 2026-04-27T08:58:17.180Z */
|
|
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.
|
|
1
|
+
/*! @vef-framework-react/components v2.1.10 made by Venus | 2026-04-27T08:58:17.180Z */
|
|
2
2
|
import { fullHeight as e } from "../_base/styles/common.js";
|
|
3
3
|
import "./use-pagination-props.js";
|
|
4
4
|
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.1.
|
|
1
|
+
/*! @vef-framework-react/components v2.1.10 made by Venus | 2026-04-27T08:58:17.180Z */
|
|
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,2 +1,2 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.1.
|
|
1
|
+
/*! @vef-framework-react/components v2.1.10 made by Venus | 2026-04-27T08:58:17.180Z */
|
|
2
2
|
import "./use-data-options-tree.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.1.
|
|
1
|
+
/*! @vef-framework-react/components v2.1.10 made by Venus | 2026-04-27T08:58:17.180Z */
|
|
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.
|
|
1
|
+
/*! @vef-framework-react/components v2.1.10 made by Venus | 2026-04-27T08:58:17.180Z */
|
|
2
2
|
import "./hooks/use-data-options-tree.js";
|
|
3
3
|
import { Tree as e } from "antd";
|
|
4
4
|
export { e as Tree };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.1.
|
|
1
|
+
/*! @vef-framework-react/components v2.1.10 made by Venus | 2026-04-27T08:58:17.180Z */
|
|
2
2
|
import "./use-data-options-tree-select.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.1.
|
|
1
|
+
/*! @vef-framework-react/components v2.1.10 made by Venus | 2026-04-27T08:58:17.180Z */
|
|
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.
|
|
1
|
+
/*! @vef-framework-react/components v2.1.10 made by Venus | 2026-04-27T08:58:17.180Z */
|
|
2
2
|
import "./hooks/use-data-options-tree-select.js";
|
|
3
3
|
import { TreeSelect as e } from "antd";
|
|
4
4
|
export { e as TreeSelect };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.1.
|
|
1
|
+
/*! @vef-framework-react/components v2.1.10 made by Venus | 2026-04-27T08:58:17.180Z */
|
|
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.
|
|
1
|
+
/*! @vef-framework-react/components v2.1.10 made by Venus | 2026-04-27T08:58:17.180Z */
|
|
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.
|
|
1
|
+
/*! @vef-framework-react/components v2.1.10 made by Venus | 2026-04-27T08:58:17.180Z */
|
|
2
2
|
import { mergeProps as e } from "../_base/helpers/props.js";
|
|
3
3
|
import { Button as t } from "../button/index.js";
|
|
4
4
|
import { Icon as n } from "../icon/index.js";
|
package/dist/types/index.d.ts
CHANGED
|
@@ -37,7 +37,7 @@ export { Flex, type FlexProps } from './flex';
|
|
|
37
37
|
export { FlexCard, type FlexCardProps } from './flex-card';
|
|
38
38
|
export { FlipText, type FlipTextProps } from './flip-text';
|
|
39
39
|
export { FloatButton, type FloatButtonProps } from './float-button';
|
|
40
|
-
export { createFormOptions, useForm, useFormContext, useFormStore, withFieldGroup, withForm } from './form';
|
|
40
|
+
export { createFormOptions, restoreValidators, useForm, useFormContext, useFormStore, withFieldGroup, withForm } from './form';
|
|
41
41
|
export type * from './form';
|
|
42
42
|
export { FormDrawer, type FormDrawerProps } from './form-drawer';
|
|
43
43
|
export { FormModal, type FormModalProps } from './form-modal';
|
|
@@ -2,11 +2,7 @@ import { DataOption, DataOptionWithPinyin } from '@vef-framework-react/core';
|
|
|
2
2
|
import { DictionaryAliasMap } from '@vef-framework-react/hooks';
|
|
3
3
|
import { Key } from '@vef-framework-react/shared';
|
|
4
4
|
import { SelectProps } from '..';
|
|
5
|
-
export interface UseDictionaryOptionsSelectOptions
|
|
6
|
-
/**
|
|
7
|
-
* Alias-to-dictionary-key mapping for the batch query.
|
|
8
|
-
*/
|
|
9
|
-
dictionaryKeys: T;
|
|
5
|
+
export interface UseDictionaryOptionsSelectOptions {
|
|
10
6
|
/**
|
|
11
7
|
* Whether each select should enable search.
|
|
12
8
|
*
|
|
@@ -15,4 +11,4 @@ export interface UseDictionaryOptionsSelectOptions<T extends DictionaryAliasMap>
|
|
|
15
11
|
filterable?: boolean;
|
|
16
12
|
}
|
|
17
13
|
export type UseDictionaryOptionsSelectResult<T extends DictionaryAliasMap> = Record<Extract<keyof T, string>, SelectProps<Key, DataOptionWithPinyin<DataOption>>>;
|
|
18
|
-
export declare function useDictionaryOptionsSelect<const T extends DictionaryAliasMap>(
|
|
14
|
+
export declare function useDictionaryOptionsSelect<const T extends DictionaryAliasMap>(keys: T, options?: UseDictionaryOptionsSelectOptions): UseDictionaryOptionsSelectResult<T>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vef-framework-react/components",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.1.
|
|
4
|
+
"version": "2.1.10",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "Components for VEF Framework",
|
|
7
7
|
"author": {
|
|
@@ -68,9 +68,9 @@
|
|
|
68
68
|
"react-error-boundary": "^6.1.1",
|
|
69
69
|
"react-syntax-highlighter": "^16.1.1",
|
|
70
70
|
"tslib": "^2.8.1",
|
|
71
|
-
"@vef-framework-react/hooks": "2.1.
|
|
72
|
-
"@vef-framework-react/
|
|
73
|
-
"@vef-framework-react/
|
|
71
|
+
"@vef-framework-react/hooks": "2.1.10",
|
|
72
|
+
"@vef-framework-react/shared": "2.1.10",
|
|
73
|
+
"@vef-framework-react/core": "2.1.10"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@types/react-syntax-highlighter": "^15.5.13",
|