@vef-framework-react/components 2.10.0 → 2.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/code-editor/completions.cjs +1 -0
- package/dist/cjs/code-editor/format.cjs +3 -0
- package/dist/cjs/code-editor/index.cjs +1 -1
- package/dist/cjs/crud/components/scene-form.cjs +1 -1
- package/dist/cjs/crud/index.cjs +1 -1
- package/dist/cjs/editable-table/index.cjs +1 -1
- package/dist/cjs/file-preview/index.cjs +1 -0
- package/dist/cjs/file-upload/helpers.cjs +1 -0
- package/dist/cjs/file-upload/index.cjs +1 -1
- package/dist/cjs/flex-tabs/index.cjs +1 -0
- package/dist/cjs/flex-tabs/styles.cjs +1 -0
- package/dist/cjs/form/fields/upload/index.cjs +1 -1
- package/dist/cjs/form-drawer/index.cjs +1 -1
- package/dist/cjs/form-modal/index.cjs +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/labeled/index.cjs +1 -0
- package/dist/cjs/labels/index.cjs +1 -0
- package/dist/cjs/upload/helpers.cjs +1 -0
- package/dist/cjs/upload/index.cjs +1 -1
- package/dist/es/_base/constants/breakpoints.js +1 -1
- package/dist/es/_base/constants/common.js +1 -1
- package/dist/es/_base/constants/css-vars.js +1 -1
- package/dist/es/_base/constants/event.js +1 -1
- package/dist/es/_base/constants/index.js +1 -1
- package/dist/es/_base/constants/symbols.js +1 -1
- package/dist/es/_base/constants/theme.js +1 -1
- package/dist/es/_base/globals.js +1 -1
- package/dist/es/_base/helpers/breakpoints.js +1 -1
- package/dist/es/_base/helpers/color.js +1 -1
- package/dist/es/_base/helpers/common.js +1 -1
- package/dist/es/_base/helpers/event.js +1 -1
- package/dist/es/_base/helpers/index.js +1 -1
- package/dist/es/_base/helpers/message.js +1 -1
- package/dist/es/_base/helpers/modal.js +1 -1
- package/dist/es/_base/helpers/notification.js +1 -1
- package/dist/es/_base/helpers/props.js +1 -1
- package/dist/es/_base/helpers/react.js +1 -1
- package/dist/es/_base/hooks/index.js +1 -1
- package/dist/es/_base/hooks/use-theme-tokens.js +1 -1
- package/dist/es/_base/index.js +1 -1
- package/dist/es/_base/styles/common.js +1 -1
- package/dist/es/_base/styles/index.js +1 -1
- package/dist/es/_base/types/breakpoints.js +1 -1
- package/dist/es/_base/types/common.js +1 -1
- package/dist/es/_base/types/index.js +1 -1
- package/dist/es/action-button/index.js +1 -1
- package/dist/es/action-button/use-action-button.js +1 -1
- package/dist/es/action-group/index.js +1 -1
- package/dist/es/action-group/use-action-group.js +1 -1
- package/dist/es/action-group/use-computed-action-buttons.js +1 -1
- package/dist/es/affix/index.js +1 -1
- package/dist/es/alert/index.js +1 -1
- package/dist/es/anchor/index.js +1 -1
- package/dist/es/auto-complete/index.js +1 -1
- package/dist/es/avatar/index.js +1 -1
- package/dist/es/badge/index.js +1 -1
- package/dist/es/bool/index.js +1 -1
- package/dist/es/border-beam/index.js +1 -1
- package/dist/es/breadcrumb/index.js +1 -1
- package/dist/es/button/index.js +1 -1
- package/dist/es/calendar/index.js +1 -1
- package/dist/es/card/index.js +1 -1
- package/dist/es/carousel/index.js +1 -1
- package/dist/es/cascader/index.js +1 -1
- package/dist/es/center/index.js +1 -1
- package/dist/es/charts/chart.js +1 -1
- package/dist/es/charts/helpers/group.js +1 -1
- package/dist/es/charts/helpers/index.js +1 -1
- package/dist/es/charts/hooks/index.js +1 -1
- package/dist/es/charts/hooks/use-chart.js +1 -1
- package/dist/es/charts/index.js +1 -1
- package/dist/es/charts/themes/index.js +1 -1
- package/dist/es/charts/themes/walden-dark.js +1 -1
- package/dist/es/charts/themes/walden.js +1 -1
- package/dist/es/charts/themes/wonderland-dark.js +1 -1
- package/dist/es/charts/themes/wonderland.js +1 -1
- package/dist/es/checkbox/index.js +1 -1
- package/dist/es/code-editor/completions.js +51 -0
- package/dist/es/code-editor/format.js +26 -0
- package/dist/es/code-editor/index.js +193 -117
- package/dist/es/code-highlighter/index.js +1 -1
- package/dist/es/col/index.js +1 -1
- package/dist/es/collapse/index.js +1 -1
- package/dist/es/color-picker/index.js +1 -1
- package/dist/es/compact/index.js +1 -1
- package/dist/es/config-provider/app.js +1 -1
- package/dist/es/config-provider/constants.js +1 -1
- package/dist/es/config-provider/context-holder.js +1 -1
- package/dist/es/config-provider/css-vars.js +1 -1
- package/dist/es/config-provider/dark-mode-context.js +1 -1
- package/dist/es/config-provider/error-fallback.js +1 -1
- package/dist/es/config-provider/global-style.js +1 -1
- package/dist/es/config-provider/index.js +1 -1
- package/dist/es/config-provider/theme-config.js +1 -1
- package/dist/es/config-provider/use-config-provider.js +1 -1
- package/dist/es/crud/components/action-button-group.js +1 -1
- package/dist/es/crud/components/index.js +1 -1
- package/dist/es/crud/components/main.js +1 -1
- package/dist/es/crud/components/mutation-holder.js +1 -1
- package/dist/es/crud/components/operation-button-group.js +1 -1
- package/dist/es/crud/components/scene-form.js +23 -22
- package/dist/es/crud/components/selection-indicator.js +1 -1
- package/dist/es/crud/components/toolbar-actions.js +1 -1
- package/dist/es/crud/components/toolbar.js +1 -1
- package/dist/es/crud/event.js +1 -1
- package/dist/es/crud/helpers.js +1 -1
- package/dist/es/crud/hooks/index.js +1 -1
- package/dist/es/crud/hooks/use-query-observer.js +1 -1
- package/dist/es/crud/hooks/use-search-values.js +1 -1
- package/dist/es/crud/hooks/use-selected-rows.js +1 -1
- package/dist/es/crud/index.js +17 -16
- package/dist/es/crud/store.js +1 -1
- package/dist/es/crud/styles.js +1 -1
- package/dist/es/crud-page/index.js +1 -1
- package/dist/es/date-picker/index.js +1 -1
- package/dist/es/descriptions/index.js +1 -1
- package/dist/es/divider/index.js +1 -1
- package/dist/es/drawer/index.js +1 -1
- package/dist/es/dropdown/index.js +1 -1
- package/dist/es/dynamic-icon/index.js +1 -1
- package/dist/es/dynamic-icon/load-icon-node.js +1 -1
- package/dist/es/dynamic-icon/placeholder-icon.js +1 -1
- package/dist/es/dynamic-icon/unknown-icon.js +1 -1
- package/dist/es/editable-table/components/add-row-button.js +1 -1
- package/dist/es/editable-table/components/editable-cell.js +1 -1
- package/dist/es/editable-table/components/editable-row-actions.js +1 -1
- package/dist/es/editable-table/components/index.js +1 -1
- package/dist/es/editable-table/helpers.js +1 -1
- package/dist/es/editable-table/hooks/index.js +1 -1
- package/dist/es/editable-table/hooks/use-editable-actions.js +1 -1
- package/dist/es/editable-table/hooks/use-editable-columns.js +1 -1
- package/dist/es/editable-table/index.js +28 -26
- package/dist/es/editable-table/store.js +1 -1
- package/dist/es/empty/empty.js +1 -1
- package/dist/es/empty/index.js +1 -1
- package/dist/es/file-preview/index.js +17 -0
- package/dist/es/file-upload/helpers.js +8 -0
- package/dist/es/file-upload/index.js +13 -16
- package/dist/es/flex/index.js +1 -1
- package/dist/es/flex-card/index.js +1 -1
- package/dist/es/flex-card/styles.js +1 -1
- package/dist/es/flex-tabs/index.js +13 -0
- package/dist/es/flex-tabs/styles.js +16 -0
- package/dist/es/flip-text/index.js +1 -1
- package/dist/es/float-button/index.js +1 -1
- package/dist/es/form/components/form.js +1 -1
- package/dist/es/form/components/index.js +1 -1
- package/dist/es/form/components/reset-button.js +1 -1
- package/dist/es/form/components/submit-button.js +1 -1
- package/dist/es/form/contexts/form-context.js +1 -1
- package/dist/es/form/contexts/form-layout.js +1 -1
- package/dist/es/form/contexts/index.js +1 -1
- package/dist/es/form/fields/auto-complete/index.js +1 -1
- package/dist/es/form/fields/bool/index.js +1 -1
- package/dist/es/form/fields/cascader/index.js +1 -1
- package/dist/es/form/fields/checkbox/index.js +1 -1
- package/dist/es/form/fields/code-editor/index.js +1 -1
- package/dist/es/form/fields/color-picker/index.js +1 -1
- package/dist/es/form/fields/date-picker/index.js +1 -1
- package/dist/es/form/fields/date-range-picker/index.js +1 -1
- package/dist/es/form/fields/icon-picker/index.js +1 -1
- package/dist/es/form/fields/index.js +1 -1
- package/dist/es/form/fields/input/index.js +1 -1
- package/dist/es/form/fields/input-number/index.js +1 -1
- package/dist/es/form/fields/mentions/index.js +1 -1
- package/dist/es/form/fields/password/index.js +1 -1
- package/dist/es/form/fields/radio/index.js +1 -1
- package/dist/es/form/fields/rate/index.js +1 -1
- package/dist/es/form/fields/select/index.js +1 -1
- package/dist/es/form/fields/slider/index.js +1 -1
- package/dist/es/form/fields/textarea/index.js +1 -1
- package/dist/es/form/fields/time-picker/index.js +1 -1
- package/dist/es/form/fields/time-range-picker/index.js +1 -1
- package/dist/es/form/fields/transfer/index.js +1 -1
- package/dist/es/form/fields/tree-select/index.js +1 -1
- package/dist/es/form/fields/upload/index.js +52 -31
- package/dist/es/form/form-actions.js +1 -1
- package/dist/es/form/form.js +1 -1
- package/dist/es/form/helpers/create-field.js +1 -1
- package/dist/es/form/helpers/index.js +1 -1
- package/dist/es/form/helpers/with-form-item.js +1 -1
- package/dist/es/form/hooks/use-form-item-props.js +1 -1
- package/dist/es/form/hooks/use-label-width.js +1 -1
- package/dist/es/form/index.js +1 -1
- package/dist/es/form/use-form.js +1 -1
- package/dist/es/form-drawer/index.js +38 -37
- package/dist/es/form-modal/index.js +29 -28
- package/dist/es/generic-select/index.js +1 -1
- package/dist/es/grid/context.js +1 -1
- package/dist/es/grid/grid-item.js +1 -1
- package/dist/es/grid/hooks/index.js +1 -1
- package/dist/es/grid/hooks/use-container-breakpoints.js +1 -1
- package/dist/es/grid/hooks/use-container-width.js +1 -1
- package/dist/es/grid/hooks/use-grid-collapsed.js +1 -1
- package/dist/es/grid/hooks/use-normalized-gap.js +1 -1
- package/dist/es/grid/hooks/use-responsive-breakpoint.js +1 -1
- package/dist/es/grid/hooks/use-responsive-value.js +1 -1
- package/dist/es/grid/index.js +1 -1
- package/dist/es/grid/styles.js +1 -1
- package/dist/es/group/index.js +1 -1
- package/dist/es/icon/index.js +1 -1
- package/dist/es/icon-button/index.js +1 -1
- package/dist/es/icon-picker/icon-grid.js +1 -1
- package/dist/es/icon-picker/index.js +1 -1
- package/dist/es/image/index.js +1 -1
- package/dist/es/index.js +98 -92
- package/dist/es/input/index.js +1 -1
- package/dist/es/input-number/index.js +1 -1
- package/dist/es/keyboard/index.js +1 -1
- package/dist/es/labeled/index.js +50 -0
- package/dist/es/labels/index.js +136 -0
- package/dist/es/list/index.js +1 -1
- package/dist/es/loader/index.js +1 -1
- package/dist/es/logo-icon/index.js +1 -1
- package/dist/es/mentions/index.js +1 -1
- package/dist/es/menu/index.js +1 -1
- package/dist/es/modal/index.js +1 -1
- package/dist/es/modal/modal.js +1 -1
- package/dist/es/operation-button/index.js +1 -1
- package/dist/es/page/components/aside-panel.js +1 -1
- package/dist/es/page/components/index.js +1 -1
- package/dist/es/page/components/resize-handle.js +1 -1
- package/dist/es/page/components/scroll-content.js +1 -1
- package/dist/es/page/entrance.js +1 -1
- package/dist/es/page/hooks/index.js +1 -1
- package/dist/es/page/hooks/use-page-key.js +1 -1
- package/dist/es/page/hooks/use-resize.js +1 -1
- package/dist/es/page/index.js +1 -1
- package/dist/es/page/styles.js +1 -1
- package/dist/es/page/viewport-context.js +1 -1
- package/dist/es/pagination/index.js +1 -1
- package/dist/es/permission-gate/index.js +1 -1
- package/dist/es/popconfirm/index.js +1 -1
- package/dist/es/popover/index.js +1 -1
- package/dist/es/pro-search/components/advanced-search-toggler.js +1 -1
- package/dist/es/pro-search/components/advanced-search.js +1 -1
- package/dist/es/pro-search/components/index.js +1 -1
- package/dist/es/pro-search/components/search-actions.js +1 -1
- package/dist/es/pro-search/index.js +1 -1
- package/dist/es/pro-search/styles.js +1 -1
- package/dist/es/pro-table/components/column-setting-item.js +8 -8
- package/dist/es/pro-table/components/column-settings-panel.js +1 -1
- package/dist/es/pro-table/components/column-settings.js +1 -1
- package/dist/es/pro-table/components/index.js +1 -1
- package/dist/es/pro-table/components/operation-button-group.js +1 -1
- package/dist/es/pro-table/components/ref.js +1 -1
- package/dist/es/pro-table/components/table-subscriber.js +1 -1
- package/dist/es/pro-table/components/table-summary.js +1 -1
- package/dist/es/pro-table/components/table-title.js +1 -1
- package/dist/es/pro-table/components/table.js +1 -1
- package/dist/es/pro-table/components/width-popover.js +1 -1
- package/dist/es/pro-table/context.js +1 -1
- package/dist/es/pro-table/event.js +1 -1
- package/dist/es/pro-table/hooks/index.js +1 -1
- package/dist/es/pro-table/hooks/use-column-settings-persistence.js +1 -1
- package/dist/es/pro-table/hooks/use-row-selection.js +1 -1
- package/dist/es/pro-table/hooks/use-table-columns.js +1 -1
- package/dist/es/pro-table/index.js +1 -1
- package/dist/es/pro-table/store.js +1 -1
- package/dist/es/progress/index.js +1 -1
- package/dist/es/qrcode/index.js +1 -1
- package/dist/es/radio/index.js +1 -1
- package/dist/es/rate/index.js +1 -1
- package/dist/es/result/index.js +1 -1
- package/dist/es/row/index.js +1 -1
- package/dist/es/scroll-area/index.js +1 -1
- package/dist/es/scroll-area/styles.js +1 -1
- package/dist/es/segmented/index.js +1 -1
- package/dist/es/select/hooks/index.js +1 -1
- package/dist/es/select/hooks/use-data-options-select.js +1 -1
- package/dist/es/select/hooks/use-dictionary-options-select.js +1 -1
- package/dist/es/select/index.js +1 -1
- package/dist/es/skeleton/index.js +1 -1
- package/dist/es/slider/index.js +1 -1
- package/dist/es/space/index.js +1 -1
- package/dist/es/space/space.js +1 -1
- package/dist/es/sparkles-text/index.js +1 -1
- package/dist/es/sparkles-text/sparkle.js +1 -1
- package/dist/es/spin/index.js +1 -1
- package/dist/es/split-text/index.js +1 -1
- package/dist/es/splitter/index.js +1 -1
- package/dist/es/stack/index.js +1 -1
- package/dist/es/statistic/index.js +1 -1
- package/dist/es/steps/index.js +1 -1
- package/dist/es/switch/index.js +1 -1
- package/dist/es/table/index.js +1 -1
- package/dist/es/table/use-pagination-props.js +1 -1
- package/dist/es/tabs/index.js +1 -1
- package/dist/es/tag/index.js +1 -1
- package/dist/es/time-picker/index.js +1 -1
- package/dist/es/timeline/index.js +1 -1
- package/dist/es/tooltip/index.js +1 -1
- package/dist/es/tour/index.js +1 -1
- package/dist/es/transfer/index.js +1 -1
- package/dist/es/tree/hooks/index.js +1 -1
- package/dist/es/tree/hooks/use-data-options-tree.js +1 -1
- package/dist/es/tree/index.js +1 -1
- package/dist/es/tree-select/hooks/index.js +1 -1
- package/dist/es/tree-select/hooks/use-data-options-tree-select.js +1 -1
- package/dist/es/tree-select/index.js +1 -1
- package/dist/es/typing-animation/index.js +1 -1
- package/dist/es/typography/index.js +1 -1
- package/dist/es/upload/helpers.js +80 -0
- package/dist/es/upload/index.js +105 -41
- package/dist/es/watermark/index.js +1 -1
- package/dist/types/code-editor/completions.d.ts +62 -0
- package/dist/types/code-editor/format.d.ts +10 -0
- package/dist/types/code-editor/index.d.ts +2 -1
- package/dist/types/code-editor/props.d.ts +20 -1
- package/dist/types/crud/components/scene-form.d.ts +1 -1
- package/dist/types/crud/index.d.ts +1 -1
- package/dist/types/crud/props.d.ts +6 -0
- package/dist/types/dynamic-icon/index.d.ts +1 -1
- package/dist/types/editable-table/props.d.ts +14 -0
- package/dist/types/file-preview/index.d.ts +21 -0
- package/dist/types/file-preview/types.d.ts +55 -0
- package/dist/types/file-upload/helpers.d.ts +1 -0
- package/dist/types/file-upload/index.d.ts +3 -3
- package/dist/types/file-upload/props.d.ts +3 -21
- package/dist/types/flex-tabs/index.d.ts +10 -0
- package/dist/types/flex-tabs/props.d.ts +2 -0
- package/dist/types/flex-tabs/styles.d.ts +2 -0
- package/dist/types/form/index.d.ts +1 -0
- package/dist/types/form-drawer/props.d.ts +6 -1
- package/dist/types/form-modal/props.d.ts +6 -1
- package/dist/types/index.d.ts +7 -3
- package/dist/types/labeled/index.d.ts +29 -0
- package/dist/types/labels/index.d.ts +54 -0
- package/dist/types/upload/helpers.d.ts +37 -0
- package/dist/types/upload/index.d.ts +3 -2
- package/dist/types/upload/props.d.ts +24 -0
- package/package.json +6 -4
- package/dist/types/action-button/index.test.d.ts +0 -1
- package/dist/types/action-group/index.test.d.ts +0 -1
- package/dist/types/bool/index.test.d.ts +0 -1
- package/dist/types/code-editor/index.test.d.ts +0 -1
- package/dist/types/crud/helpers.test.d.ts +0 -1
- package/dist/types/crud/store.test.d.ts +0 -1
- package/dist/types/crud-page/index.test.d.ts +0 -1
- package/dist/types/dynamic-icon/index.test.d.ts +0 -1
- package/dist/types/editable-table/index.test.d.ts +0 -1
- package/dist/types/file-upload/index.test.d.ts +0 -1
- package/dist/types/form/components/form.test.d.ts +0 -1
- package/dist/types/form/fields/code-editor/index.test.d.ts +0 -1
- package/dist/types/form/fields/icon-picker/index.test.d.ts +0 -1
- package/dist/types/form/form-actions.test.d.ts +0 -1
- package/dist/types/form-drawer/index.test.d.ts +0 -1
- package/dist/types/form-modal/index.test.d.ts +0 -1
- package/dist/types/generic-select/index.test.d.ts +0 -1
- package/dist/types/grid/index.test.d.ts +0 -1
- package/dist/types/icon-button/index.test.d.ts +0 -1
- package/dist/types/icon-picker/index.test.d.ts +0 -1
- package/dist/types/keyboard/index.test.d.ts +0 -1
- package/dist/types/modal/index.test.d.ts +0 -1
- package/dist/types/operation-button/index.test.d.ts +0 -1
- package/dist/types/page/entrance.test.d.ts +0 -1
- package/dist/types/page/index.test.d.ts +0 -1
- package/dist/types/permission-gate/index.test.d.ts +0 -1
- package/dist/types/pro-table/index.test.d.ts +0 -1
- package/dist/types/scroll-area/index.test.d.ts +0 -1
- package/dist/types/table/index.test.d.ts +0 -1
|
@@ -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 { resolveBreakpointValue as t } from "../../_base/helpers/breakpoints.js";
|
|
4
4
|
import { useCrudStore as n } from "../store.js";
|
|
@@ -10,8 +10,8 @@ import { useBreakpoints as c } from "@vef-framework-react/hooks";
|
|
|
10
10
|
import { memo as l } from "react";
|
|
11
11
|
import { useShallow as u } from "@vef-framework-react/core";
|
|
12
12
|
//#region src/crud/components/scene-form.tsx
|
|
13
|
-
var d = l(({ renderForm: l, formComponent: d = "div",
|
|
14
|
-
let { formVisible:
|
|
13
|
+
var d = l(({ renderForm: l, formComponent: d = "div", formLayout: f, formMutationFns: p, formActionsRenderers: m, beforeFormSubmit: h, afterFormSubmit: g, mutationMeta: _ }) => {
|
|
14
|
+
let { formVisible: v, closeForm: y, formScene: b, defaultFormValues: x, formTitle: S, formWidth: C, formMode: w, drawerConfig: T, refetchQuery: E } = n(u((e) => ({
|
|
15
15
|
formVisible: e.formVisible,
|
|
16
16
|
closeForm: e.closeForm,
|
|
17
17
|
formScene: e.formScene,
|
|
@@ -21,30 +21,31 @@ var d = l(({ renderForm: l, formComponent: d = "div", formMutationFns: f, formAc
|
|
|
21
21
|
formMode: e.formMode,
|
|
22
22
|
drawerConfig: e.drawerConfig,
|
|
23
23
|
refetchQuery: e.refetchQuery
|
|
24
|
-
}))), { current:
|
|
25
|
-
open:
|
|
26
|
-
title:
|
|
27
|
-
defaultValues:
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
24
|
+
}))), { current: D } = c(e, { initialBreakpoint: "xxs" }), O = p?.[b], k = s(C) ? t(C, D) : C, A = {
|
|
25
|
+
open: v,
|
|
26
|
+
title: S,
|
|
27
|
+
defaultValues: x,
|
|
28
|
+
formLayout: f,
|
|
29
|
+
mutationFn: O,
|
|
30
|
+
mutationMeta: o(_) && O ? _(O.key) : void 0,
|
|
31
|
+
renderActions: m?.[b],
|
|
32
|
+
beforeSubmit: o(h) ? (e) => h(b, e) : void 0,
|
|
32
33
|
afterSubmit: async (e, t) => {
|
|
33
|
-
await
|
|
34
|
+
await g?.(b, e, t), E();
|
|
34
35
|
},
|
|
35
|
-
onClose:
|
|
36
|
-
},
|
|
37
|
-
return
|
|
38
|
-
...
|
|
36
|
+
onClose: y
|
|
37
|
+
}, j = o(l) ? l(b) : void 0;
|
|
38
|
+
return w === "drawer" ? /* @__PURE__ */ a(r, {
|
|
39
|
+
...A,
|
|
39
40
|
formComponent: d,
|
|
40
|
-
placement:
|
|
41
|
-
width:
|
|
42
|
-
children:
|
|
41
|
+
placement: T?.placement,
|
|
42
|
+
width: k,
|
|
43
|
+
children: j
|
|
43
44
|
}) : /* @__PURE__ */ a(i, {
|
|
44
|
-
...
|
|
45
|
+
...A,
|
|
45
46
|
formComponent: d,
|
|
46
|
-
width:
|
|
47
|
-
children:
|
|
47
|
+
width: k,
|
|
48
|
+
children: j
|
|
48
49
|
});
|
|
49
50
|
});
|
|
50
51
|
//#endregion
|
|
@@ -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 { useCrudStore as n } from "../store.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
1
|
+
/*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
|
|
2
2
|
import { globalCssVars as e } from "../../_base/constants/css-vars.js";
|
|
3
3
|
import { Group as t } from "../../group/index.js";
|
|
4
4
|
import { SelectionIndicator as n } from "./selection-indicator.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 { useCrudStore as e } from "../store.js";
|
|
3
3
|
import { toolbar as t } from "../styles.js";
|
|
4
4
|
import { ProSearch as n } from "../../pro-search/index.js";
|
package/dist/es/crud/event.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 { EventEmitter as e } from "@vef-framework-react/shared";
|
|
3
3
|
//#region src/crud/event.ts
|
|
4
4
|
function t() {
|
package/dist/es/crud/helpers.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 { useCrudStore as e } from "./store.js";
|
|
3
3
|
import { ActionButtonGroup as t } from "./components/action-button-group.js";
|
|
4
4
|
import { useSearchValues as n } from "./hooks/use-search-values.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 { useQueryObserver as e } from "./use-query-observer.js";
|
|
3
3
|
import { useSearchValues as t } from "./use-search-values.js";
|
|
4
4
|
import { useSelectedRows as n } from "./use-selected-rows.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 { useCrudStoreApi as e } from "../store.js";
|
|
3
3
|
import { useEffect as t, useRef as n } from "react";
|
|
4
4
|
//#region src/crud/hooks/use-query-observer.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 { useCrudStore as e } from "../store.js";
|
|
3
3
|
//#region src/crud/hooks/use-search-values.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 { useCrudStore as e } from "../store.js";
|
|
3
3
|
//#region src/crud/hooks/use-selected-rows.ts
|
|
4
4
|
function t() {
|
package/dist/es/crud/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 { CrudStoreProvider as e } from "./store.js";
|
|
3
3
|
import { Main as t } from "./components/main.js";
|
|
4
4
|
import { MutationHolder as n } from "./components/mutation-holder.js";
|
|
@@ -7,39 +7,40 @@ import { createCrudKit as i } from "./helpers.js";
|
|
|
7
7
|
import { jsx as a, jsxs as o } from "@emotion/react/jsx-runtime";
|
|
8
8
|
import { useMemo as s } from "react";
|
|
9
9
|
//#region src/crud/index.tsx
|
|
10
|
-
function c({ storageKey: i, defaultSearchValues: c, advancedSearch: l, sceneDefaultFormValues: u, renderForm: d, formComponent: f,
|
|
10
|
+
function c({ storageKey: i, defaultSearchValues: c, advancedSearch: l, sceneDefaultFormValues: u, renderForm: d, formComponent: f, formLayout: p, formMutationFns: m, formActionsRenderers: h, beforeFormSubmit: g, afterFormSubmit: _, deleteMutationFn: v, deleteManyMutationFn: y, mutationMeta: b, rowSelection: x, rowKey: S, ...C }) {
|
|
11
11
|
return /* @__PURE__ */ o(e, {
|
|
12
12
|
initialState: s(() => ({
|
|
13
13
|
defaultSearchValues: c,
|
|
14
14
|
sceneDefaultFormValues: u,
|
|
15
|
-
selectedRowKeys:
|
|
15
|
+
selectedRowKeys: x === !0 ? [] : x?.defaultSelectedRowKeys ?? []
|
|
16
16
|
}), [
|
|
17
17
|
c,
|
|
18
18
|
u,
|
|
19
|
-
|
|
19
|
+
x
|
|
20
20
|
]),
|
|
21
21
|
storageKey: i,
|
|
22
22
|
children: [
|
|
23
23
|
/* @__PURE__ */ a(t, {
|
|
24
|
-
...
|
|
24
|
+
...C,
|
|
25
25
|
advancedSearch: l,
|
|
26
|
-
rowKey:
|
|
27
|
-
rowSelection:
|
|
26
|
+
rowKey: S,
|
|
27
|
+
rowSelection: x
|
|
28
28
|
}),
|
|
29
29
|
/* @__PURE__ */ a(r, {
|
|
30
|
-
afterFormSubmit:
|
|
31
|
-
beforeFormSubmit:
|
|
32
|
-
formActionsRenderers:
|
|
30
|
+
afterFormSubmit: _,
|
|
31
|
+
beforeFormSubmit: g,
|
|
32
|
+
formActionsRenderers: h,
|
|
33
33
|
formComponent: f,
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
formLayout: p,
|
|
35
|
+
formMutationFns: m,
|
|
36
|
+
mutationMeta: b,
|
|
36
37
|
renderForm: d
|
|
37
38
|
}),
|
|
38
39
|
/* @__PURE__ */ a(n, {
|
|
39
|
-
deleteManyMutationFn:
|
|
40
|
-
deleteMutationFn:
|
|
41
|
-
mutationMeta:
|
|
42
|
-
rowKey:
|
|
40
|
+
deleteManyMutationFn: y,
|
|
41
|
+
deleteMutationFn: v,
|
|
42
|
+
mutationMeta: b,
|
|
43
|
+
rowKey: S
|
|
43
44
|
})
|
|
44
45
|
]
|
|
45
46
|
});
|
package/dist/es/crud/store.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 { createEventEmitter as e } from "./event.js";
|
|
3
3
|
import { createThrowNotImplementedFn as t, mergeWith as n } from "@vef-framework-react/shared";
|
|
4
4
|
import { createComponentStore as r } from "@vef-framework-react/core";
|
package/dist/es/crud/styles.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
1
|
+
/*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
|
|
2
2
|
import { globalCssVars as e } from "../_base/constants/css-vars.js";
|
|
3
3
|
import { css as t } from "@emotion/react";
|
|
4
4
|
//#region src/crud/styles.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
1
|
+
/*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
|
|
2
2
|
import { Crud as e } from "../crud/index.js";
|
|
3
3
|
import { Page as t } from "../page/index.js";
|
|
4
4
|
import { jsx as n } from "@emotion/react/jsx-runtime";
|
package/dist/es/divider/index.js
CHANGED
package/dist/es/drawer/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 { Icon as e } from "../icon/index.js";
|
|
3
3
|
import { getCachedIconNode as t, loadIconNode as n } from "./load-icon-node.js";
|
|
4
4
|
import { PlaceholderIcon as r } from "./placeholder-icon.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 { lucideDynamicIconImports as e } from "@lucide/icons/dynamic";
|
|
3
3
|
//#region src/dynamic-icon/load-icon-node.ts
|
|
4
4
|
var t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), r = 6, i = 0, a = [];
|
|
@@ -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 { jsx as t } from "@emotion/react/jsx-runtime";
|
|
4
4
|
//#region src/dynamic-icon/placeholder-icon.tsx
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
1
|
+
/*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
|
|
2
2
|
import { jsx as e, jsxs as t } from "@emotion/react/jsx-runtime";
|
|
3
3
|
//#region src/dynamic-icon/unknown-icon.tsx
|
|
4
4
|
function n({ size: n = "1.2em", ...r }) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
1
|
+
/*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
|
|
2
2
|
import { Button as e } from "../../button/index.js";
|
|
3
3
|
import { Icon as t } from "../../icon/index.js";
|
|
4
4
|
import { useEditableTableStore as n } from "../store.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
1
|
+
/*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
|
|
2
2
|
import { restoreFieldOptions as e } from "../../form/helpers/create-field.js";
|
|
3
3
|
import { useFormContext as t } from "../../form/form.js";
|
|
4
4
|
import { useEditableTableStore as n } from "../store.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
1
|
+
/*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
|
|
2
2
|
import { Icon as e } from "../../icon/index.js";
|
|
3
3
|
import { Group as t } from "../../group/index.js";
|
|
4
4
|
import { useEditableTableStore as n } from "../store.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
1
|
+
/*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
|
|
2
2
|
import { AddRowButton as e } from "./add-row-button.js";
|
|
3
3
|
import { EditableCell as t } from "./editable-cell.js";
|
|
4
4
|
import { EditableRowActions as n } from "./editable-row-actions.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
1
|
+
/*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
|
|
2
2
|
//#region src/editable-table/helpers.ts
|
|
3
3
|
function e(e, t = {}) {
|
|
4
4
|
let { align: n, className: r, editable: i, ellipsis: a, fixed: o, key: s, minWidth: c, renderEditor: l, renderView: u, title: d, width: f, ...p } = 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 { useEditableActions as e } from "./use-editable-actions.js";
|
|
3
3
|
import { useEditableColumns as t } from "./use-editable-columns.js";
|
|
4
4
|
export { e as useEditableActions, t as useEditableColumns };
|
|
@@ -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 { showErrorMessage as e } from "../../_base/helpers/message.js";
|
|
3
3
|
import { useEditableTableStoreApi as t } from "../store.js";
|
|
4
4
|
import { get as n, isNullish as r } from "@vef-framework-react/shared";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.
|
|
1
|
+
/*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
|
|
2
2
|
import { EditableCell as e } from "../components/editable-cell.js";
|
|
3
3
|
import { EditableRowActions as t } from "../components/editable-row-actions.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 { Stack as e } from "../stack/index.js";
|
|
3
3
|
import { Table as t } from "../table/index.js";
|
|
4
4
|
import { useForm as n } from "../form/use-form.js";
|
|
@@ -21,41 +21,43 @@ function h(e, t) {
|
|
|
21
21
|
let n = e ?? t;
|
|
22
22
|
return () => n;
|
|
23
23
|
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
var g = 160;
|
|
25
|
+
function _({ value: r, onChange: s, columns: u, rowKey: f, canEdit: _, canDelete: v, creatable: y, createRecord: b, renderRowActions: x, operationColumn: S, size: C, pagination: w, locale: T }) {
|
|
26
|
+
let E = n({ defaultValues: {} }), D = p(() => m(f), [f]), O = d(f) ? null : f ?? "key", k = p(() => h(_, !0), [_]), A = p(() => h(v, !1), [v]), j = o(u, D, p(() => ({
|
|
27
|
+
deletable: A,
|
|
28
|
+
editable: k,
|
|
28
29
|
enabled: !0,
|
|
29
|
-
extra:
|
|
30
|
-
texts:
|
|
31
|
-
title:
|
|
32
|
-
width:
|
|
30
|
+
extra: x,
|
|
31
|
+
texts: S?.texts,
|
|
32
|
+
title: S?.title,
|
|
33
|
+
width: S?.width ?? g
|
|
33
34
|
}), [
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
A,
|
|
36
|
+
k,
|
|
37
|
+
S,
|
|
38
|
+
x
|
|
38
39
|
]));
|
|
39
40
|
return a({
|
|
40
|
-
createRecord:
|
|
41
|
-
form:
|
|
42
|
-
getKey:
|
|
41
|
+
createRecord: b,
|
|
42
|
+
form: E,
|
|
43
|
+
getKey: D,
|
|
43
44
|
onChange: s,
|
|
44
|
-
rowKeyField:
|
|
45
|
+
rowKeyField: O,
|
|
45
46
|
value: r
|
|
46
|
-
}), /* @__PURE__ */ c(
|
|
47
|
+
}), /* @__PURE__ */ c(E.AppForm, { children: /* @__PURE__ */ l(e, {
|
|
47
48
|
gap: "small",
|
|
48
49
|
children: [/* @__PURE__ */ c(t, {
|
|
49
|
-
columns:
|
|
50
|
+
columns: j,
|
|
50
51
|
dataSource: r,
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
52
|
+
locale: T,
|
|
53
|
+
pagination: w ?? !1,
|
|
54
|
+
rowKey: D,
|
|
55
|
+
size: C
|
|
56
|
+
}), y ? /* @__PURE__ */ c(i, {}) : null]
|
|
55
57
|
}) });
|
|
56
58
|
}
|
|
57
|
-
function
|
|
58
|
-
return /* @__PURE__ */ c(r, { children: /* @__PURE__ */ c(
|
|
59
|
+
function v(e) {
|
|
60
|
+
return /* @__PURE__ */ c(r, { children: /* @__PURE__ */ c(_, { ...e }) });
|
|
59
61
|
}
|
|
60
62
|
//#endregion
|
|
61
|
-
export {
|
|
63
|
+
export { v as EditableTable, s as createEditableColumn };
|
|
@@ -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 { createThrowNotImplementedFn as e } from "@vef-framework-react/shared";
|
|
3
3
|
import { createComponentStore as t } from "@vef-framework-react/core";
|
|
4
4
|
//#region src/editable-table/store.ts
|
package/dist/es/empty/empty.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 { Empty as t } from "antd";
|
|
4
4
|
//#region src/empty/empty.tsx
|
package/dist/es/empty/index.js
CHANGED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
|
|
2
|
+
import { jsx as e } from "@emotion/react/jsx-runtime";
|
|
3
|
+
import { createContext as t, use as n } from "react";
|
|
4
|
+
//#region src/file-preview/index.tsx
|
|
5
|
+
var r = t(null);
|
|
6
|
+
r.displayName = "FilePreviewContext";
|
|
7
|
+
function i({ handler: t, children: n }) {
|
|
8
|
+
return /* @__PURE__ */ e(r, {
|
|
9
|
+
value: t,
|
|
10
|
+
children: n
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
function a() {
|
|
14
|
+
return n(r);
|
|
15
|
+
}
|
|
16
|
+
//#endregion
|
|
17
|
+
export { i as FilePreviewProvider, a as useFilePreview };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
|
|
2
|
+
//#region src/file-upload/helpers.ts
|
|
3
|
+
var e = /(?<!https?:)\/\//g;
|
|
4
|
+
function t(t, n, r) {
|
|
5
|
+
return r ? r(t) : n ? `${n}/${t}`.replaceAll(e, "/") : t;
|
|
6
|
+
}
|
|
7
|
+
//#endregion
|
|
8
|
+
export { t as resolveStoredFileUrl };
|
|
@@ -1,23 +1,20 @@
|
|
|
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 { Upload as e } from "../upload/index.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import { resolveStoredFileUrl as t } from "./helpers.js";
|
|
4
|
+
import { jsx as n } from "@emotion/react/jsx-runtime";
|
|
5
|
+
import { useCallback as r, useMemo as i } from "react";
|
|
6
|
+
import { HTTP_CLIENT as a, Uploader as o, useApiClient as s, useAppContext as c } from "@vef-framework-react/core";
|
|
6
7
|
//#region src/file-upload/index.tsx
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
function u({ public: c, apiPath: u, resource: d, version: f, partConcurrency: p, maxPartRetries: m, resolveFileUrl: h, onUploadProgress: g, onUploadSuccess: _, onUploadError: v, ...y }) {
|
|
12
|
-
let b = o(), { fileBaseUrl: x } = s(), S = b[i], C = n((e) => h ? h(e) : l(x, e), [h, x]), w = r(() => (e) => {
|
|
13
|
-
let t = e.file, n = new a(S, t, {
|
|
8
|
+
function l({ public: l, apiPath: u, resource: d, version: f, partConcurrency: p, maxPartRetries: m, resolveFileUrl: h, onUploadProgress: g, onUploadSuccess: _, onUploadError: v, ...y }) {
|
|
9
|
+
let b = s(), { fileBaseUrl: x } = c(), S = b[a], C = r((e) => t(e, x, h), [h, x]), w = i(() => (e) => {
|
|
10
|
+
let t = e.file, n = new o(S, t, {
|
|
14
11
|
apiPath: u,
|
|
15
12
|
resource: d,
|
|
16
13
|
version: f,
|
|
17
14
|
init: {
|
|
18
15
|
filename: t.name,
|
|
19
16
|
contentType: t.type || void 0,
|
|
20
|
-
public:
|
|
17
|
+
public: l
|
|
21
18
|
},
|
|
22
19
|
partConcurrency: p,
|
|
23
20
|
maxPartRetries: m,
|
|
@@ -28,7 +25,7 @@ function u({ public: c, apiPath: u, resource: d, version: f, partConcurrency: p,
|
|
|
28
25
|
return n.start().then((n) => {
|
|
29
26
|
let r = {
|
|
30
27
|
key: n.key,
|
|
31
|
-
|
|
28
|
+
sourceUrl: C(n.key),
|
|
32
29
|
fileName: n.originalFilename
|
|
33
30
|
};
|
|
34
31
|
Object.assign(t, r), e.onSuccess?.(n, t), _?.(t, n);
|
|
@@ -42,7 +39,7 @@ function u({ public: c, apiPath: u, resource: d, version: f, partConcurrency: p,
|
|
|
42
39
|
u,
|
|
43
40
|
d,
|
|
44
41
|
f,
|
|
45
|
-
|
|
42
|
+
l,
|
|
46
43
|
p,
|
|
47
44
|
m,
|
|
48
45
|
C,
|
|
@@ -50,10 +47,10 @@ function u({ public: c, apiPath: u, resource: d, version: f, partConcurrency: p,
|
|
|
50
47
|
_,
|
|
51
48
|
v
|
|
52
49
|
]);
|
|
53
|
-
return /* @__PURE__ */
|
|
50
|
+
return /* @__PURE__ */ n(e, {
|
|
54
51
|
...y,
|
|
55
52
|
customRequest: w
|
|
56
53
|
});
|
|
57
54
|
}
|
|
58
55
|
//#endregion
|
|
59
|
-
export {
|
|
56
|
+
export { l as FileUpload };
|
package/dist/es/flex/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 { Card as e } from "../card/index.js";
|
|
3
3
|
import { container 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 { globalCssVars as e } from "../_base/constants/css-vars.js";
|
|
3
3
|
import { css as t } from "@emotion/react";
|
|
4
4
|
//#region src/flex-card/styles.ts
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
|
|
2
|
+
import { Tabs as e } from "../tabs/index.js";
|
|
3
|
+
import { container as t } from "./styles.js";
|
|
4
|
+
import { jsx as n } from "@emotion/react/jsx-runtime";
|
|
5
|
+
//#region src/flex-tabs/index.tsx
|
|
6
|
+
function r(r) {
|
|
7
|
+
return /* @__PURE__ */ n(e, {
|
|
8
|
+
css: t,
|
|
9
|
+
...r
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
//#endregion
|
|
13
|
+
export { r as FlexTabs };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/*! @vef-framework-react/components v2.12.0 made by Venus | 2026-07-17T09:22:46.001Z */
|
|
2
|
+
import "@emotion/react";
|
|
3
|
+
//#region src/flex-tabs/styles.ts
|
|
4
|
+
function e() {
|
|
5
|
+
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).";
|
|
6
|
+
}
|
|
7
|
+
var t = process.env.NODE_ENV === "production" ? {
|
|
8
|
+
name: "wuhmrn",
|
|
9
|
+
styles: "flex:1;min-height:0;& > .vef-tabs-body-holder, & > div > .vef-tabs-body-holder{min-height:0;& > .vef-tabs-body{height:100%;& > .vef-tabs-content{height:100%;}}}"
|
|
10
|
+
} : {
|
|
11
|
+
name: "wuhmrn",
|
|
12
|
+
styles: "flex:1;min-height:0;& > .vef-tabs-body-holder, & > div > .vef-tabs-body-holder{min-height:0;& > .vef-tabs-body{height:100%;& > .vef-tabs-content{height:100%;}}}/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFTeUIiLCJmaWxlIjoic3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSBcIkBlbW90aW9uL3JlYWN0XCI7XG5cbi8vIGFudGQgdjYgcmVuZGVycyBwYW5lcyBhcyBgLnZlZi10YWJzLWJvZHktaG9sZGVyID4gLnZlZi10YWJzLWJvZHkgPlxuLy8gLnZlZi10YWJzLWNvbnRlbnRgOiB0aGUgaG9sZGVyIGlzIGFscmVhZHkgZmxleC1ib3VuZGVkLCBidXQgdGhlIGlubmVyIHR3b1xuLy8gZ3JvdyB3aXRoIHRoZWlyIGNvbnRlbnQgdW5sZXNzIHBpbm5lZCB0byB0aGUgaG9sZGVyJ3MgaGVpZ2h0LiBTb21lIHRhYlxuLy8gY29uZmlndXJhdGlvbnMgd3JhcCB0aGUgaG9sZGVyIGluIGFuIGludGVybWVkaWF0ZSBkaXYgKGFudGQncyBvd24gc3R5bGVzXG4vLyB0YXJnZXQgYD4gZGl2ID4gLnZlZi10YWJzLWJvZHktaG9sZGVyYCB0b28pLCBhbmQgZXZlcnkgaG9wIHN0YXlzIGEgZGlyZWN0XG4vLyBjaGlsZCBzbyBhIFRhYnMgbmVzdGVkIGluc2lkZSBhIHBhbmUgaXMgbmV2ZXIgcmVzdHlsZWQgZnJvbSBvdXRzaWRlLlxuLy8gVGhlIGFudGQgY2xhc3MgcHJlZml4IGlzIFwidmVmLVwiLCBzZXQgYnkgdGhlIGZyYW1ld29yaydzIENvbmZpZ1Byb3ZpZGVyLlxuZXhwb3J0IGNvbnN0IGNvbnRhaW5lciA9IGNzcyh7XG4gIGZsZXg6IDEsXG4gIG1pbkhlaWdodDogMCxcbiAgXCImID4gLnZlZi10YWJzLWJvZHktaG9sZGVyLCAmID4gZGl2ID4gLnZlZi10YWJzLWJvZHktaG9sZGVyXCI6IHtcbiAgICBtaW5IZWlnaHQ6IDAsXG4gICAgXCImID4gLnZlZi10YWJzLWJvZHlcIjoge1xuICAgICAgaGVpZ2h0OiBcIjEwMCVcIixcbiAgICAgIFwiJiA+IC52ZWYtdGFicy1jb250ZW50XCI6IHtcbiAgICAgICAgaGVpZ2h0OiBcIjEwMCVcIlxuICAgICAgfVxuICAgIH1cbiAgfVxufSk7XG4iXX0= */",
|
|
13
|
+
toString: e
|
|
14
|
+
};
|
|
15
|
+
//#endregion
|
|
16
|
+
export { t as container };
|
|
@@ -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 { jsx as t } from "@emotion/react/jsx-runtime";
|
|
4
4
|
import { Children 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 { useFormContext as e } from "../contexts/form-context.js";
|
|
3
3
|
import { FormLayoutProvider as t, defaultFormLayout as n } from "../contexts/form-layout.js";
|
|
4
4
|
import { jsx as r } from "@emotion/react/jsx-runtime";
|