@vef-framework-react/components 2.1.4 → 2.1.6
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/_base/constants/event.cjs +1 -0
- package/dist/cjs/_base/constants/index.cjs +1 -1
- package/dist/cjs/_base/constants/symbols.cjs +1 -0
- package/dist/cjs/_base/helpers/event.cjs +1 -0
- package/dist/cjs/_base/helpers/index.cjs +1 -1
- package/dist/cjs/_base/index.cjs +1 -1
- package/dist/cjs/charts/chart.cjs +1 -1
- package/dist/cjs/charts/hooks/use-chart.cjs +1 -1
- package/dist/cjs/config-provider/context-holder.cjs +1 -1
- package/dist/cjs/config-provider/use-config-provider.cjs +1 -1
- package/dist/cjs/crud/components/action-button-group.cjs +1 -0
- package/dist/cjs/crud/components/index.cjs +1 -0
- package/dist/cjs/crud/components/main.cjs +1 -0
- package/dist/cjs/crud/components/mutation-holder.cjs +1 -0
- package/dist/cjs/crud/components/operation-button-group.cjs +1 -0
- package/dist/cjs/crud/components/scene-form.cjs +1 -0
- package/dist/cjs/crud/components/selection-indicator.cjs +1 -0
- package/dist/cjs/crud/components/toolbar-actions.cjs +1 -0
- package/dist/cjs/crud/components/toolbar.cjs +1 -0
- package/dist/cjs/crud/event.cjs +1 -0
- package/dist/cjs/crud/helpers.cjs +1 -0
- package/dist/cjs/crud/hooks/index.cjs +1 -0
- package/dist/cjs/crud/hooks/use-query-observer.cjs +1 -0
- package/dist/cjs/crud/hooks/use-search-values.cjs +1 -0
- package/dist/cjs/crud/hooks/use-selected-rows.cjs +1 -0
- package/dist/cjs/crud/index.cjs +1 -0
- package/dist/cjs/crud/store.cjs +1 -0
- package/dist/cjs/crud/styles.cjs +1 -0
- package/dist/cjs/crud-page/index.cjs +1 -0
- package/dist/cjs/flex-card/index.cjs +1 -0
- package/dist/cjs/flex-card/styles.cjs +1 -0
- package/dist/cjs/form-drawer/components/form-actions.cjs +1 -0
- package/dist/cjs/form-drawer/components/index.cjs +1 -0
- package/dist/cjs/form-drawer/index.cjs +1 -0
- package/dist/cjs/form-modal/components/draggable-wrapper.cjs +1 -0
- package/dist/cjs/form-modal/components/form-actions.cjs +1 -0
- package/dist/cjs/form-modal/components/index.cjs +1 -0
- package/dist/cjs/form-modal/index.cjs +1 -0
- package/dist/cjs/grid/hooks/use-container-width.cjs +1 -1
- package/dist/cjs/grid/index.cjs +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/logo-icon/index.cjs +1 -0
- package/dist/cjs/page/components/aside-panel.cjs +1 -0
- package/dist/cjs/page/components/index.cjs +1 -0
- package/dist/cjs/page/components/resize-handle.cjs +1 -0
- package/dist/cjs/page/components/scroll-content.cjs +1 -0
- package/dist/cjs/page/hooks/index.cjs +1 -0
- package/dist/cjs/page/hooks/use-page-key.cjs +1 -0
- package/dist/cjs/page/hooks/use-resize.cjs +1 -0
- package/dist/cjs/page/index.cjs +1 -0
- package/dist/cjs/page/styles.cjs +1 -0
- package/dist/cjs/page/viewport-context.cjs +1 -0
- package/dist/cjs/pro-search/components/advanced-search-toggler.cjs +1 -0
- package/dist/cjs/pro-search/components/advanced-search.cjs +1 -0
- package/dist/cjs/pro-search/components/index.cjs +1 -0
- package/dist/cjs/pro-search/components/search-actions.cjs +1 -0
- package/dist/cjs/pro-search/index.cjs +1 -0
- package/dist/cjs/pro-search/styles.cjs +1 -0
- package/dist/cjs/pro-table/components/column-setting-item.cjs +1 -0
- package/dist/cjs/pro-table/components/column-settings-panel.cjs +1 -0
- package/dist/cjs/pro-table/components/column-settings.cjs +1 -0
- package/dist/cjs/pro-table/components/index.cjs +1 -0
- package/dist/cjs/pro-table/components/operation-button-group.cjs +1 -0
- package/dist/cjs/pro-table/components/ref.cjs +1 -0
- package/dist/cjs/pro-table/components/table-subscriber.cjs +1 -0
- package/dist/cjs/pro-table/components/table-summary.cjs +1 -0
- package/dist/cjs/pro-table/components/table-title.cjs +1 -0
- package/dist/cjs/pro-table/components/table.cjs +1 -0
- package/dist/cjs/pro-table/components/width-popover.cjs +1 -0
- package/dist/cjs/pro-table/context.cjs +1 -0
- package/dist/cjs/pro-table/event.cjs +1 -0
- package/dist/cjs/pro-table/hooks/index.cjs +1 -0
- package/dist/cjs/pro-table/hooks/use-column-settings-persistence.cjs +1 -0
- package/dist/cjs/pro-table/hooks/use-row-selection.cjs +1 -0
- package/dist/cjs/pro-table/hooks/use-table-columns.cjs +1 -0
- package/dist/cjs/pro-table/index.cjs +1 -0
- package/dist/cjs/pro-table/store.cjs +1 -0
- package/dist/cjs/select/hooks/use-data-options-select.cjs +1 -1
- package/dist/cjs/table/index.cjs +1 -1
- package/dist/cjs/tree/hooks/use-data-options-tree.cjs +1 -1
- package/dist/cjs/tree-select/hooks/use-data-options-tree-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 +5 -0
- package/dist/es/_base/constants/index.js +3 -1
- package/dist/es/_base/constants/symbols.js +5 -0
- 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 +14 -0
- package/dist/es/_base/helpers/index.js +2 -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 +4 -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 +6 -6
- 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 +11 -11
- 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 +5 -5
- 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 +8 -8
- package/dist/es/crud/components/action-button-group.js +13 -0
- package/dist/es/crud/components/index.js +7 -0
- package/dist/es/crud/components/main.js +43 -0
- package/dist/es/crud/components/mutation-holder.js +32 -0
- package/dist/es/crud/components/operation-button-group.js +18 -0
- package/dist/es/crud/components/scene-form.js +48 -0
- package/dist/es/crud/components/selection-indicator.js +72 -0
- package/dist/es/crud/components/toolbar-actions.js +14 -0
- package/dist/es/crud/components/toolbar.js +29 -0
- package/dist/es/crud/event.js +8 -0
- package/dist/es/crud/helpers.js +18 -0
- package/dist/es/crud/hooks/index.js +4 -0
- package/dist/es/crud/hooks/use-query-observer.js +28 -0
- package/dist/es/crud/hooks/use-search-values.js +8 -0
- package/dist/es/crud/hooks/use-selected-rows.js +8 -0
- package/dist/es/crud/index.js +44 -0
- package/dist/es/crud/store.js +66 -0
- package/dist/es/crud/styles.js +20 -0
- package/dist/es/crud-page/index.js +23 -0
- 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 +14 -0
- package/dist/es/flex-card/styles.js +20 -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/color-picker/index.js +1 -1
- package/dist/es/form/fields/date-picker/index.js +8 -8
- package/dist/es/form/fields/date-range-picker/index.js +8 -8
- 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 +8 -8
- 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.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/components/form-actions.js +26 -0
- package/dist/es/form-drawer/components/index.js +2 -0
- package/dist/es/form-drawer/index.js +82 -0
- package/dist/es/form-modal/components/draggable-wrapper.js +52 -0
- package/dist/es/form-modal/components/form-actions.js +26 -0
- package/dist/es/form-modal/components/index.js +3 -0
- package/dist/es/form-modal/index.js +72 -0
- 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 +6 -6
- 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 +14 -14
- 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 +121 -106
- 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 +24 -0
- 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/operation-button/index.js +1 -1
- package/dist/es/page/components/aside-panel.js +49 -0
- package/dist/es/page/components/index.js +4 -0
- package/dist/es/page/components/resize-handle.js +18 -0
- package/dist/es/page/components/scroll-content.js +55 -0
- package/dist/es/page/hooks/index.js +3 -0
- package/dist/es/page/hooks/use-page-key.js +12 -0
- package/dist/es/page/hooks/use-resize.js +32 -0
- package/dist/es/page/index.js +127 -0
- package/dist/es/page/styles.js +122 -0
- package/dist/es/page/viewport-context.js +12 -0
- 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 +28 -0
- package/dist/es/pro-search/components/advanced-search.js +32 -0
- package/dist/es/pro-search/components/index.js +4 -0
- package/dist/es/pro-search/components/search-actions.js +25 -0
- package/dist/es/pro-search/index.js +57 -0
- package/dist/es/pro-search/styles.js +44 -0
- package/dist/es/pro-table/components/column-setting-item.js +170 -0
- package/dist/es/pro-table/components/column-settings-panel.js +93 -0
- package/dist/es/pro-table/components/column-settings.js +30 -0
- package/dist/es/pro-table/components/index.js +9 -0
- package/dist/es/pro-table/components/operation-button-group.js +18 -0
- package/dist/es/pro-table/components/ref.js +14 -0
- package/dist/es/pro-table/components/table-subscriber.js +17 -0
- package/dist/es/pro-table/components/table-summary.js +12 -0
- package/dist/es/pro-table/components/table-title.js +12 -0
- package/dist/es/pro-table/components/table.js +102 -0
- package/dist/es/pro-table/components/width-popover.js +76 -0
- package/dist/es/pro-table/context.js +13 -0
- package/dist/es/pro-table/event.js +8 -0
- package/dist/es/pro-table/hooks/index.js +4 -0
- package/dist/es/pro-table/hooks/use-column-settings-persistence.js +60 -0
- package/dist/es/pro-table/hooks/use-row-selection.js +29 -0
- package/dist/es/pro-table/hooks/use-table-columns.js +109 -0
- package/dist/es/pro-table/index.js +70 -0
- package/dist/es/pro-table/store.js +94 -0
- 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 +11 -11
- 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 +29 -28
- 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 +8 -8
- 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 +11 -11
- 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/_base/constants/event.d.ts +1 -0
- package/dist/types/_base/constants/index.d.ts +2 -0
- package/dist/types/_base/constants/symbols.d.ts +2 -0
- package/dist/types/_base/helpers/event.d.ts +3 -0
- package/dist/types/_base/helpers/index.d.ts +1 -0
- package/dist/types/_base/types/common.d.ts +4 -0
- package/dist/types/crud/components/action-button-group.d.ts +8 -0
- package/dist/types/crud/components/index.d.ts +6 -0
- package/dist/types/crud/components/main.d.ts +6 -0
- package/dist/types/crud/components/mutation-holder.d.ts +10 -0
- package/dist/types/crud/components/operation-button-group.d.ts +8 -0
- package/dist/types/crud/components/scene-form.d.ts +7 -0
- package/dist/types/crud/components/selection-indicator.d.ts +6 -0
- package/dist/types/crud/components/toolbar-actions.d.ts +6 -0
- package/dist/types/crud/components/toolbar.d.ts +8 -0
- package/dist/types/crud/event.d.ts +3 -0
- package/dist/types/crud/helpers.d.ts +20 -0
- package/dist/types/crud/hooks/index.d.ts +3 -0
- package/dist/types/crud/hooks/use-query-observer.d.ts +6 -0
- package/dist/types/crud/hooks/use-search-values.d.ts +2 -0
- package/dist/types/crud/hooks/use-selected-rows.d.ts +2 -0
- package/dist/types/crud/index.d.ts +8 -0
- package/dist/types/crud/props.d.ts +171 -0
- package/dist/types/crud/store.d.ts +146 -0
- package/dist/types/crud/styles.d.ts +3 -0
- package/dist/types/crud/types.d.ts +55 -0
- package/dist/types/crud-page/index.d.ts +3 -0
- package/dist/types/crud-page/props.d.ts +57 -0
- package/dist/types/dynamic-icon/index.d.ts +1 -1
- package/dist/types/flex-card/index.d.ts +3 -0
- package/dist/types/flex-card/props.d.ts +2 -0
- package/dist/types/flex-card/styles.d.ts +2 -0
- package/dist/types/form-drawer/components/form-actions.d.ts +19 -0
- package/dist/types/form-drawer/components/index.d.ts +1 -0
- package/dist/types/form-drawer/index.d.ts +5 -0
- package/dist/types/form-drawer/props.d.ts +80 -0
- package/dist/types/form-modal/components/draggable-wrapper.d.ts +9 -0
- package/dist/types/form-modal/components/form-actions.d.ts +19 -0
- package/dist/types/form-modal/components/index.d.ts +2 -0
- package/dist/types/form-modal/index.d.ts +5 -0
- package/dist/types/form-modal/props.d.ts +81 -0
- package/dist/types/index.d.ts +11 -1
- package/dist/types/logo-icon/index.d.ts +3 -0
- package/dist/types/logo-icon/props.d.ts +4 -0
- package/dist/types/page/components/aside-panel.d.ts +11 -0
- package/dist/types/page/components/index.d.ts +3 -0
- package/dist/types/page/components/resize-handle.d.ts +7 -0
- package/dist/types/page/components/scroll-content.d.ts +8 -0
- package/dist/types/page/hooks/index.d.ts +2 -0
- package/dist/types/page/hooks/use-page-key.d.ts +1 -0
- package/dist/types/page/hooks/use-resize.d.ts +15 -0
- package/dist/types/page/index.d.ts +4 -0
- package/dist/types/page/props.d.ts +140 -0
- package/dist/types/page/styles.d.ts +17 -0
- package/dist/types/page/viewport-context.d.ts +7 -0
- package/dist/types/pro-search/components/advanced-search-toggler.d.ts +7 -0
- package/dist/types/pro-search/components/advanced-search.d.ts +6 -0
- package/dist/types/pro-search/components/index.d.ts +3 -0
- package/dist/types/pro-search/components/search-actions.d.ts +10 -0
- package/dist/types/pro-search/index.d.ts +5 -0
- package/dist/types/pro-search/props.d.ts +66 -0
- package/dist/types/pro-search/styles.d.ts +6 -0
- package/dist/types/pro-table/components/column-setting-item.d.ts +12 -0
- package/dist/types/pro-table/components/column-settings-panel.d.ts +2 -0
- package/dist/types/pro-table/components/column-settings.d.ts +6 -0
- package/dist/types/pro-table/components/index.d.ts +8 -0
- package/dist/types/pro-table/components/operation-button-group.d.ts +7 -0
- package/dist/types/pro-table/components/ref.d.ts +3 -0
- package/dist/types/pro-table/components/table-subscriber.d.ts +9 -0
- package/dist/types/pro-table/components/table-summary.d.ts +7 -0
- package/dist/types/pro-table/components/table-title.d.ts +7 -0
- package/dist/types/pro-table/components/table.d.ts +12 -0
- package/dist/types/pro-table/components/width-popover.d.ts +9 -0
- package/dist/types/pro-table/context.d.ts +5 -0
- package/dist/types/pro-table/event.d.ts +16 -0
- package/dist/types/pro-table/hooks/index.d.ts +3 -0
- package/dist/types/pro-table/hooks/use-column-settings-persistence.d.ts +7 -0
- package/dist/types/pro-table/hooks/use-row-selection.d.ts +7 -0
- package/dist/types/pro-table/hooks/use-table-columns.d.ts +13 -0
- package/dist/types/pro-table/index.d.ts +11 -0
- package/dist/types/pro-table/props.d.ts +127 -0
- package/dist/types/pro-table/store.d.ts +105 -0
- package/dist/types/pro-table/types.d.ts +103 -0
- package/package.json +6 -6
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/*! @vef-framework-react/components v2.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
|
|
2
|
+
import { Stack as e } from "../stack/index.js";
|
|
3
|
+
import { ProTableStoreProvider as t } from "./store.js";
|
|
4
|
+
import { ColumnSettingsStorageKeyProvider as n } from "./context.js";
|
|
5
|
+
import { useColumnSettingsPersistence as r } from "./hooks/use-column-settings-persistence.js";
|
|
6
|
+
import "./components/operation-button-group.js";
|
|
7
|
+
import { ProTableRefHolder as i } from "./components/ref.js";
|
|
8
|
+
import { NonPaginatedTable as a, PaginatedTable as o } from "./components/table.js";
|
|
9
|
+
import "./components/table-subscriber.js";
|
|
10
|
+
import { jsx as s, jsxs as c } from "@emotion/react/jsx-runtime";
|
|
11
|
+
import { memo as l } from "react";
|
|
12
|
+
import "@emotion/react";
|
|
13
|
+
//#region src/pro-table/index.tsx
|
|
14
|
+
function u() {
|
|
15
|
+
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).";
|
|
16
|
+
}
|
|
17
|
+
var d = process.env.NODE_ENV === "production" ? {
|
|
18
|
+
name: "13udsys",
|
|
19
|
+
styles: "height:100%"
|
|
20
|
+
} : {
|
|
21
|
+
name: "13udsys",
|
|
22
|
+
styles: "height:100%/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFnQnVCIiwiZmlsZSI6ImluZGV4LnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB0eXBlIHsgUHJvcHNXaXRoUmVmIH0gZnJvbSBcIi4uL19iYXNlXCI7XG5pbXBvcnQgdHlwZSB7IEFueU9iamVjdCwgQXdhaXRhYmxlIH0gZnJvbSBcIkB2ZWYtZnJhbWV3b3JrLXJlYWN0L3NoYXJlZFwiO1xuaW1wb3J0IHR5cGUgeyBGQywgUmVhY3ROb2RlIH0gZnJvbSBcInJlYWN0XCI7XG5cbmltcG9ydCB0eXBlIHsgUHJvVGFibGVQcm9wcyB9IGZyb20gXCIuL3Byb3BzXCI7XG5pbXBvcnQgdHlwZSB7IENvbHVtblNldHRpbmdzUHJvcCwgUHJvVGFibGVSZWYgfSBmcm9tIFwiLi90eXBlc1wiO1xuXG5pbXBvcnQgeyBjc3MgfSBmcm9tIFwiQGVtb3Rpb24vcmVhY3RcIjtcbmltcG9ydCB7IFN0YWNrIH0gZnJvbSBcIi4uL3N0YWNrXCI7XG5pbXBvcnQgeyBtZW1vIH0gZnJvbSBcInJlYWN0XCI7XG5cbmltcG9ydCB7IE5vblBhZ2luYXRlZFRhYmxlLCBQYWdpbmF0ZWRUYWJsZSwgUHJvVGFibGVSZWZIb2xkZXIgfSBm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wb25lbnRzXCI7XG5leHBvcnQgdHlwZSB7IFByb1RhYmxlUHJvcHMgfSBmcm9tIFwiLi9wcm9wc1wiO1xuZXhwb3J0IHR5cGUgeyBQcm9UYWJsZVN0YXRlIH0gZnJvbSBcIi4vc3RvcmVcIjtcbmV4cG9ydCB0eXBlIHtcbiAgQ29sdW1uU2V0dGluZ3NDb25maWcsXG4gIENvbHVtblNldHRpbmdzUHJvcCxcbiAgT3BlcmF0aW9uQ29sdW1uQ29uZmlnLFxuICBQYXJhbXNXaXRoUGFnaW5hdGlvbixcbiAgUGFyYW1zV2l0aFNvcnQsXG4gIFByb1RhYmxlUmVmLFxuICBSb3dTZWxlY3Rpb25Db25maWdcbn0gZnJvbSBcIi4vdHlwZXNcIjtcbiJdfQ== */",
|
|
23
|
+
toString: u
|
|
24
|
+
}, f = {};
|
|
25
|
+
function p({ columnSettings: e, children: t }) {
|
|
26
|
+
let i = e === !1 ? void 0 : e.storageKey;
|
|
27
|
+
return r(i), /* @__PURE__ */ s(n, {
|
|
28
|
+
value: i,
|
|
29
|
+
children: t
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
var m = l(({ className: n, style: r, size: l, columns: u, columnSettings: m = f, rowKey: h, rowSelection: g, queryEnabled: _, queryParams: v, showSequenceColumn: y, operationColumn: b, selectedRowKeys: x, virtual: S, ref: C, header: w, footer: T, onSelectedRowKeysChange: E, ...D }) => {
|
|
33
|
+
let O = {
|
|
34
|
+
className: n,
|
|
35
|
+
columns: u,
|
|
36
|
+
columnSettings: m,
|
|
37
|
+
operationColumn: b,
|
|
38
|
+
queryEnabled: _,
|
|
39
|
+
queryParams: v,
|
|
40
|
+
rowKey: h,
|
|
41
|
+
rowSelection: g,
|
|
42
|
+
selectedRowKeys: x,
|
|
43
|
+
showSequenceColumn: y,
|
|
44
|
+
size: l,
|
|
45
|
+
style: r,
|
|
46
|
+
virtual: S,
|
|
47
|
+
onSelectedRowKeysChange: E
|
|
48
|
+
};
|
|
49
|
+
return /* @__PURE__ */ c(t, { children: [/* @__PURE__ */ s(i, { ref: C }), /* @__PURE__ */ s(p, {
|
|
50
|
+
columnSettings: m,
|
|
51
|
+
children: /* @__PURE__ */ c(e, {
|
|
52
|
+
css: d,
|
|
53
|
+
gap: "middle",
|
|
54
|
+
children: [
|
|
55
|
+
w,
|
|
56
|
+
D.isPaginated === !1 ? /* @__PURE__ */ s(a, {
|
|
57
|
+
...O,
|
|
58
|
+
queryFn: D.queryFn
|
|
59
|
+
}) : /* @__PURE__ */ s(o, {
|
|
60
|
+
...O,
|
|
61
|
+
queryFn: D.queryFn
|
|
62
|
+
}),
|
|
63
|
+
T
|
|
64
|
+
]
|
|
65
|
+
})
|
|
66
|
+
})] });
|
|
67
|
+
});
|
|
68
|
+
m.displayName = "ProTable";
|
|
69
|
+
//#endregion
|
|
70
|
+
export { m as ProTable };
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
/*! @vef-framework-react/components v2.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
|
|
2
|
+
import { pageSizeOptions as e } from "../table/use-pagination-props.js";
|
|
3
|
+
import { createEventEmitter as t } from "./event.js";
|
|
4
|
+
import { isFunction as n, isNumber as r } from "@vef-framework-react/shared";
|
|
5
|
+
import { createComponentStore as i, moveDragItem as a } from "@vef-framework-react/core";
|
|
6
|
+
//#region src/pro-table/store.ts
|
|
7
|
+
function o(e, t) {
|
|
8
|
+
let n = e.key ?? e.dataIndex ?? `col-${t}`;
|
|
9
|
+
return String(n);
|
|
10
|
+
}
|
|
11
|
+
function s(e) {
|
|
12
|
+
return e === !0 || e === "left" ? "start" : e === "right" ? "end" : e === !1 || e === void 0 ? !1 : e;
|
|
13
|
+
}
|
|
14
|
+
function c(e, t) {
|
|
15
|
+
return {
|
|
16
|
+
id: o(e, t),
|
|
17
|
+
title: e.title,
|
|
18
|
+
fixed: s(e.fixed),
|
|
19
|
+
width: r(e.width) ? e.width : void 0,
|
|
20
|
+
visible: !0,
|
|
21
|
+
originalIndex: t
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
var { StoreProvider: l, useStore: u, useStoreApi: d } = i("ProTable", (r, i) => ({
|
|
25
|
+
eventEmitter: t(),
|
|
26
|
+
paginationParams: {
|
|
27
|
+
page: 1,
|
|
28
|
+
size: e[1]
|
|
29
|
+
},
|
|
30
|
+
setPaginationParams: (e) => {
|
|
31
|
+
r((t) => {
|
|
32
|
+
t.paginationParams = e;
|
|
33
|
+
});
|
|
34
|
+
},
|
|
35
|
+
sort: [],
|
|
36
|
+
setSort: (e) => {
|
|
37
|
+
r((t) => {
|
|
38
|
+
t.sort = e;
|
|
39
|
+
});
|
|
40
|
+
},
|
|
41
|
+
refetch: () => {
|
|
42
|
+
i().eventEmitter.emit("refetch");
|
|
43
|
+
},
|
|
44
|
+
columnSettings: [],
|
|
45
|
+
originalColumnSettings: [],
|
|
46
|
+
initColumnSettings: (e) => {
|
|
47
|
+
let t = i().columnSettings, a = new Map(t.map((e) => [e.id, e])), o = e.filter((e) => !n(e.title)), s = o.map((e, t) => c(e, t)), l = o.map((e, t) => {
|
|
48
|
+
let n = c(e, t), r = a.get(n.id);
|
|
49
|
+
return r ? {
|
|
50
|
+
...r,
|
|
51
|
+
title: e.title,
|
|
52
|
+
originalIndex: t
|
|
53
|
+
} : n;
|
|
54
|
+
});
|
|
55
|
+
r((e) => {
|
|
56
|
+
e.columnSettings = l, e.originalColumnSettings = s;
|
|
57
|
+
});
|
|
58
|
+
},
|
|
59
|
+
setColumnSettings: (e) => {
|
|
60
|
+
r((t) => {
|
|
61
|
+
t.columnSettings = e;
|
|
62
|
+
});
|
|
63
|
+
},
|
|
64
|
+
reorderColumns: (e) => {
|
|
65
|
+
r((t) => {
|
|
66
|
+
t.columnSettings = a(t.columnSettings, e);
|
|
67
|
+
});
|
|
68
|
+
},
|
|
69
|
+
setColumnFixed: (e, t) => {
|
|
70
|
+
r((n) => {
|
|
71
|
+
let r = n.columnSettings.find((t) => t.id === e);
|
|
72
|
+
r && (r.fixed = t);
|
|
73
|
+
});
|
|
74
|
+
},
|
|
75
|
+
setColumnWidth: (e, t) => {
|
|
76
|
+
r((n) => {
|
|
77
|
+
let r = n.columnSettings.find((t) => t.id === e);
|
|
78
|
+
r && (r.width = t);
|
|
79
|
+
});
|
|
80
|
+
},
|
|
81
|
+
setColumnVisible: (e, t) => {
|
|
82
|
+
r((n) => {
|
|
83
|
+
let r = n.columnSettings.find((t) => t.id === e);
|
|
84
|
+
r && (r.visible = t);
|
|
85
|
+
});
|
|
86
|
+
},
|
|
87
|
+
resetColumnSettings: (e) => {
|
|
88
|
+
e?.(), r((e) => {
|
|
89
|
+
e.columnSettings = e.originalColumnSettings.map((e) => ({ ...e }));
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
}));
|
|
93
|
+
//#endregion
|
|
94
|
+
export { l as ProTableStoreProvider, o as getColumnId, u as useProTableStore, d as useProTableStoreApi };
|
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.6 made by Venus | 2026-04-01T03:01:33.796Z */
|
|
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,2 +1,2 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.1.
|
|
1
|
+
/*! @vef-framework-react/components v2.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
|
|
2
2
|
import "./use-data-options-select.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.1.
|
|
1
|
+
/*! @vef-framework-react/components v2.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
|
|
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 {
|
|
6
|
-
import {
|
|
4
|
+
import { useDataOptionsQuery as n } from "@vef-framework-react/hooks";
|
|
5
|
+
import { useEffect as r, useEffectEvent as i, useMemo as a } from "react";
|
|
6
|
+
import { css as o } from "@emotion/react";
|
|
7
7
|
//#region src/select/hooks/use-data-options-select.tsx
|
|
8
8
|
var s = {
|
|
9
9
|
label: "label",
|
|
@@ -11,14 +11,14 @@ var s = {
|
|
|
11
11
|
options: "children",
|
|
12
12
|
groupLabel: "label"
|
|
13
13
|
}, c = 280, l = /* @__PURE__ */ t("div", {
|
|
14
|
-
css: /* @__PURE__ */
|
|
14
|
+
css: /* @__PURE__ */ o({ height: c / 2 }, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInVzZS1kYXRhLW9wdGlvbnMtc2VsZWN0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUE0Q08iLCJmaWxlIjoidXNlLWRhdGEtb3B0aW9ucy1zZWxlY3QudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHR5cGUgeyBEYXRhT3B0aW9uV2l0aFBpbnlpbiB9IGZyb20gXCJAdmVmLWZyYW1ld29yay1yZWFjdC9jb3JlXCI7XG5pbXBvcnQgdHlwZSB7IFVzZURhdGFPcHRpb25zUXVlcnlPcHRpb25zIH0gZnJvbSBcIkB2ZWYtZnJhbWV3b3JrLXJlYWN0L2hvb2tzXCI7XG5pbXBvcnQgdHlwZSB7IEtleSB9IGZyb20gXCJAdmVmLWZyYW1ld29yay1yZWFjdC9zaGFyZWRcIjtcblxuaW1wb3J0IHR5cGUgeyBTZWxlY3RQcm9wcyB9IGZyb20gXCIuLlwiO1xuaW1wb3J0I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pb25QaW55aW4/LmluY2x1ZGVzKGlucHV0KVxuICAgIHx8IGRlc2NyaXB0aW9uUGlueWluSW5pdGlhbHM/LmluY2x1ZGVzKGlucHV0KVxuICApID8/IGZhbHNlO1xufVxuIl19 */"),
|
|
15
15
|
children: /* @__PURE__ */ t(e, {})
|
|
16
16
|
});
|
|
17
|
-
function u({ filterable: e = !1, onFetch: t, ...
|
|
18
|
-
let { options: u, isFetching: f, promise: p } =
|
|
19
|
-
...
|
|
17
|
+
function u({ filterable: e = !1, onFetch: t, ...o }) {
|
|
18
|
+
let { options: u, isFetching: f, promise: p } = n({
|
|
19
|
+
...o,
|
|
20
20
|
withPinyin: !0
|
|
21
|
-
}), m =
|
|
21
|
+
}), m = a(() => ({
|
|
22
22
|
options: u,
|
|
23
23
|
loading: f,
|
|
24
24
|
fieldNames: s,
|
|
@@ -31,10 +31,10 @@ function u({ filterable: e = !1, onFetch: t, ...a }) {
|
|
|
31
31
|
f,
|
|
32
32
|
u,
|
|
33
33
|
e
|
|
34
|
-
]), h =
|
|
34
|
+
]), h = i((e) => {
|
|
35
35
|
t?.(e);
|
|
36
36
|
});
|
|
37
|
-
return
|
|
37
|
+
return r(() => {
|
|
38
38
|
p.then(h);
|
|
39
39
|
}, [p]), m;
|
|
40
40
|
}
|
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.6 made by Venus | 2026-04-01T03:01:33.796Z */
|
|
2
2
|
import "./hooks/use-data-options-select.js";
|
|
3
3
|
import { Select as e } from "antd";
|
|
4
4
|
export { e as Select };
|
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.6 made by Venus | 2026-04-01T03:01:33.796Z */
|
|
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.6 made by Venus | 2026-04-01T03:01:33.796Z */
|
|
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.6 made by Venus | 2026-04-01T03:01:33.796Z */
|
|
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.6 made by Venus | 2026-04-01T03:01:33.796Z */
|
|
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.6 made by Venus | 2026-04-01T03:01:33.796Z */
|
|
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.6 made by Venus | 2026-04-01T03:01:33.796Z */
|
|
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,47 +1,48 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.1.
|
|
1
|
+
/*! @vef-framework-react/components v2.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
|
|
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";
|
|
5
5
|
import { isString as n, toInt as r } from "@vef-framework-react/shared";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
6
|
+
import { useElementSize as i, useMergedRef as a } from "@vef-framework-react/hooks";
|
|
7
|
+
import { useEffect as o, useMemo as s, useRef as c } from "react";
|
|
8
|
+
import { Table as l } from "antd";
|
|
9
9
|
//#region src/table/index.tsx
|
|
10
|
-
var
|
|
11
|
-
function
|
|
12
|
-
return (e || []).map((e) => n(e.width) ? r(e.width) : e.width || e.minWidth ||
|
|
10
|
+
var u = 200;
|
|
11
|
+
function d(e) {
|
|
12
|
+
return (e || []).map((e) => n(e.width) ? r(e.width) : e.width || e.minWidth || u).reduce((e, t) => e + t, 0);
|
|
13
13
|
}
|
|
14
|
-
function
|
|
15
|
-
let { ref:
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
14
|
+
function f({ className: n, style: r, flexHeight: u = !0, virtual: f = !1, columns: p, ...m }) {
|
|
15
|
+
let h = c(null), { ref: g, height: _ } = i({ box: "border-box" }), v = a(h, g), { ref: y, height: b } = i({ box: "border-box" });
|
|
16
|
+
o(() => {
|
|
17
|
+
let e = h.current?.querySelector(".vef-table-header");
|
|
18
|
+
e && y(e);
|
|
19
|
+
}, [h.current, y]);
|
|
20
|
+
let x = s(() => u ? {
|
|
21
|
+
columns: p,
|
|
21
22
|
scroll: {
|
|
22
23
|
scrollToFirstRowOnChange: !0,
|
|
23
|
-
x:
|
|
24
|
-
y:
|
|
24
|
+
x: f ? d(p) : "max-content",
|
|
25
|
+
y: f ? _ - b : "100%"
|
|
25
26
|
},
|
|
26
27
|
sticky: !1,
|
|
27
|
-
virtual:
|
|
28
|
-
} : { columns:
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
28
|
+
virtual: f
|
|
29
|
+
} : { columns: p }, [
|
|
30
|
+
_,
|
|
31
|
+
b,
|
|
32
|
+
p,
|
|
33
|
+
u,
|
|
34
|
+
f
|
|
34
35
|
]);
|
|
35
36
|
return /* @__PURE__ */ t("div", {
|
|
36
|
-
ref:
|
|
37
|
+
ref: v,
|
|
37
38
|
className: n,
|
|
38
39
|
css: e,
|
|
39
40
|
style: r,
|
|
40
|
-
children: /* @__PURE__ */ t(
|
|
41
|
-
...
|
|
42
|
-
...
|
|
41
|
+
children: /* @__PURE__ */ t(l, {
|
|
42
|
+
...m,
|
|
43
|
+
...x
|
|
43
44
|
})
|
|
44
45
|
});
|
|
45
46
|
}
|
|
46
47
|
//#endregion
|
|
47
|
-
export {
|
|
48
|
+
export { f as Table };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.1.
|
|
1
|
+
/*! @vef-framework-react/components v2.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
|
|
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.6 made by Venus | 2026-04-01T03:01:33.796Z */
|
|
2
2
|
import "./use-data-options-tree.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.1.
|
|
1
|
+
/*! @vef-framework-react/components v2.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
|
|
2
2
|
import { filterTreeWithAncestors as e, isString as t } from "@vef-framework-react/shared";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { useDataOptionsQuery as n } from "@vef-framework-react/hooks";
|
|
4
|
+
import { useEffect as r, useEffectEvent as i, useMemo as a, useState as o } from "react";
|
|
5
5
|
//#region src/tree/hooks/use-data-options-tree.ts
|
|
6
6
|
var s = {
|
|
7
7
|
title: "label",
|
|
@@ -9,25 +9,25 @@ var s = {
|
|
|
9
9
|
children: "children"
|
|
10
10
|
};
|
|
11
11
|
function c({ onFetch: c, ...l }) {
|
|
12
|
-
let { options: u, isFetching: d, promise: f } =
|
|
12
|
+
let { options: u, isFetching: d, promise: f } = n({
|
|
13
13
|
...l,
|
|
14
14
|
withPinyin: !0
|
|
15
|
-
}), [p, m] =
|
|
15
|
+
}), [p, m] = o(""), h = a(() => {
|
|
16
16
|
if (p) return (e) => {
|
|
17
17
|
let { label: n, labelPinyin: r, labelPinyinInitials: i, description: a, descriptionPinyin: o, descriptionPinyinInitials: s } = e;
|
|
18
18
|
return t(n) && n.includes(p) || t(r) && r.includes(p) || t(i) && i.includes(p) || t(a) && a.includes(p) || t(o) && o.includes(p) || t(s) && s.includes(p);
|
|
19
19
|
};
|
|
20
|
-
}, [p]), g =
|
|
20
|
+
}, [p]), g = a(() => h ? e(u, (e) => h(e)) : u, [h, u]), _ = a(() => ({
|
|
21
21
|
treeData: g,
|
|
22
22
|
fieldNames: s,
|
|
23
23
|
showLine: { showLeafIcon: !1 },
|
|
24
24
|
autoExpandParent: !0,
|
|
25
25
|
blockNode: !0,
|
|
26
26
|
filterTreeNode: h
|
|
27
|
-
}), [h, g]), v =
|
|
27
|
+
}), [h, g]), v = i((e) => {
|
|
28
28
|
c?.(e);
|
|
29
29
|
});
|
|
30
|
-
return
|
|
30
|
+
return r(() => {
|
|
31
31
|
f.then(v);
|
|
32
32
|
}, [f]), {
|
|
33
33
|
treeProps: _,
|
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.6 made by Venus | 2026-04-01T03:01:33.796Z */
|
|
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.6 made by Venus | 2026-04-01T03:01:33.796Z */
|
|
2
2
|
import "./use-data-options-tree-select.js";
|