@vef-framework-react/components 2.1.3 → 2.1.5
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
package/dist/es/index.js
CHANGED
|
@@ -1,109 +1,124 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.1.
|
|
1
|
+
/*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
|
|
2
2
|
import { breakpoints as e } from "./_base/constants/breakpoints.js";
|
|
3
3
|
import { colors as t, fullSizes as n, presetColors as r, semanticColors as i, semanticSceneIcons as a, semanticSceneLabels as o, semanticScenes as s, sizes as c } from "./_base/constants/common.js";
|
|
4
4
|
import { globalCssVars as l } from "./_base/constants/css-vars.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
109
|
-
|
|
5
|
+
import { SYMBOL_PAGINATION as u, SYMBOL_SORT as d } from "./_base/constants/symbols.js";
|
|
6
|
+
import { resolveBreakpointValue as f } from "./_base/helpers/breakpoints.js";
|
|
7
|
+
import { isPresetColor as p, isSemanticColor as m } from "./_base/helpers/color.js";
|
|
8
|
+
import { getSpacingValue as h, mapSize as g } from "./_base/helpers/common.js";
|
|
9
|
+
import { emitReloadPage as _ } from "./_base/helpers/event.js";
|
|
10
|
+
import { closeAllMessages as v, showErrorMessage as y, showInfoMessage as b, showLoadingMessage as x, showSuccessMessage as S, showWarningMessage as C } from "./_base/helpers/message.js";
|
|
11
|
+
import { showConfirm as w, showErrorAlert as T, showInfoAlert as E, showSuccessAlert as D, showWarningAlert as O } from "./_base/helpers/modal.js";
|
|
12
|
+
import { closeAllNotifications as k, showErrorNotification as A, showInfoNotification as j, showSuccessNotification as M, showWarningNotification as N } from "./_base/helpers/notification.js";
|
|
13
|
+
import { isFragment as P } from "./_base/helpers/react.js";
|
|
14
|
+
import { useThemeTokens as F } from "./_base/hooks/use-theme-tokens.js";
|
|
15
|
+
import { Button as I } from "./button/index.js";
|
|
16
|
+
import { Icon as L } from "./icon/index.js";
|
|
17
|
+
import { Popconfirm as R } from "./popconfirm/index.js";
|
|
18
|
+
import { ActionButton as z } from "./action-button/index.js";
|
|
19
|
+
import { Flex as B } from "./flex/index.js";
|
|
20
|
+
import { Group as V } from "./group/index.js";
|
|
21
|
+
import { ActionGroup as H } from "./action-group/index.js";
|
|
22
|
+
import { Affix as U } from "./affix/index.js";
|
|
23
|
+
import { Alert as W } from "./alert/index.js";
|
|
24
|
+
import { Anchor as G } from "./anchor/index.js";
|
|
25
|
+
import { AutoComplete as K } from "./auto-complete/index.js";
|
|
26
|
+
import { Avatar as q } from "./avatar/index.js";
|
|
27
|
+
import { Badge as J } from "./badge/index.js";
|
|
28
|
+
import { Checkbox as Y } from "./checkbox/index.js";
|
|
29
|
+
import { Radio as X } from "./radio/index.js";
|
|
30
|
+
import { Switch as Z } from "./switch/index.js";
|
|
31
|
+
import { Bool as Q } from "./bool/index.js";
|
|
32
|
+
import { Breadcrumb as $ } from "./breadcrumb/index.js";
|
|
33
|
+
import { Calendar as ee } from "./calendar/index.js";
|
|
34
|
+
import { Card as te } from "./card/index.js";
|
|
35
|
+
import { Carousel as ne } from "./carousel/index.js";
|
|
36
|
+
import { Cascader as re } from "./cascader/index.js";
|
|
37
|
+
import { Center as ie } from "./center/index.js";
|
|
38
|
+
import { useIsDarkMode as ae } from "./config-provider/dark-mode-context.js";
|
|
39
|
+
import { ConfigProvider as oe } from "./config-provider/index.js";
|
|
40
|
+
import { useChart as se } from "./charts/hooks/use-chart.js";
|
|
41
|
+
import { Chart as ce } from "./charts/chart.js";
|
|
42
|
+
import { connectCharts as le, disconnectCharts as ue } from "./charts/helpers/group.js";
|
|
43
|
+
import { CodeHighlighter as de } from "./code-highlighter/index.js";
|
|
44
|
+
import { Col as fe } from "./col/index.js";
|
|
45
|
+
import { Collapse as pe } from "./collapse/index.js";
|
|
46
|
+
import { ColorPicker as me } from "./color-picker/index.js";
|
|
47
|
+
import { Compact as he } from "./compact/index.js";
|
|
48
|
+
import { FlexCard as ge } from "./flex-card/index.js";
|
|
49
|
+
import { Stack as _e } from "./stack/index.js";
|
|
50
|
+
import { Divider as ve } from "./divider/index.js";
|
|
51
|
+
import { Tooltip as ye } from "./tooltip/index.js";
|
|
52
|
+
import { pageSizeOptions as be, usePaginationProps as xe } from "./table/use-pagination-props.js";
|
|
53
|
+
import { Table as Se } from "./table/index.js";
|
|
54
|
+
import { Popover as Ce } from "./popover/index.js";
|
|
55
|
+
import { Slider as we } from "./slider/index.js";
|
|
56
|
+
import { OperationButtonGroup as Te } from "./pro-table/components/operation-button-group.js";
|
|
57
|
+
import { TableSubscriber as Ee } from "./pro-table/components/table-subscriber.js";
|
|
58
|
+
import { ProTable as De } from "./pro-table/index.js";
|
|
59
|
+
import { DatePicker as Oe } from "./date-picker/index.js";
|
|
60
|
+
import { Input as ke } from "./input/index.js";
|
|
61
|
+
import { InputNumber as Ae } from "./input-number/index.js";
|
|
62
|
+
import { Mentions as je } from "./mentions/index.js";
|
|
63
|
+
import { Rate as Me } from "./rate/index.js";
|
|
64
|
+
import { FlipText as Ne } from "./flip-text/index.js";
|
|
65
|
+
import { Spin as Pe } from "./spin/index.js";
|
|
66
|
+
import { Loader as Fe } from "./loader/index.js";
|
|
67
|
+
import { useDataOptionsSelect as Ie } from "./select/hooks/use-data-options-select.js";
|
|
68
|
+
import { Select as Le } from "./select/index.js";
|
|
69
|
+
import { TimePicker as Re } from "./time-picker/index.js";
|
|
70
|
+
import { Transfer as ze } from "./transfer/index.js";
|
|
71
|
+
import { useDataOptionsTreeSelect as Be } from "./tree-select/hooks/use-data-options-tree-select.js";
|
|
72
|
+
import { TreeSelect as Ve } from "./tree-select/index.js";
|
|
73
|
+
import { Image as He } from "./image/index.js";
|
|
74
|
+
import { Upload as Ue } from "./upload/index.js";
|
|
75
|
+
import { createFormOptions as We, useFormContext as Ge, useFormStore as Ke, withFieldGroup as qe, withForm as Je } from "./form/form.js";
|
|
76
|
+
import { useForm as Ye } from "./form/use-form.js";
|
|
77
|
+
import { ProSearch as Xe } from "./pro-search/index.js";
|
|
78
|
+
import { Link as Ze, Paragraph as Qe, Text as $e, Title as et } from "./typography/index.js";
|
|
79
|
+
import { Drawer as tt } from "./drawer/index.js";
|
|
80
|
+
import nt from "./empty/empty.js";
|
|
81
|
+
import { FormDrawer as rt } from "./form-drawer/index.js";
|
|
82
|
+
import { Modal as it } from "./modal/index.js";
|
|
83
|
+
import { FormModal as at } from "./form-modal/index.js";
|
|
84
|
+
import { createCrudKit as ot } from "./crud/helpers.js";
|
|
85
|
+
import { Crud as st } from "./crud/index.js";
|
|
86
|
+
import { ScrollArea as ct } from "./scroll-area/index.js";
|
|
87
|
+
import { useViewportHeight as lt } from "./page/viewport-context.js";
|
|
88
|
+
import { Page as ut } from "./page/index.js";
|
|
89
|
+
import { CrudPage as dt } from "./crud-page/index.js";
|
|
90
|
+
import { Descriptions as ft } from "./descriptions/index.js";
|
|
91
|
+
import { Dropdown as pt } from "./dropdown/index.js";
|
|
92
|
+
import { DynamicIcon as mt } from "./dynamic-icon/index.js";
|
|
93
|
+
import { FloatButton as ht } from "./float-button/index.js";
|
|
94
|
+
import { useGridCollapsed as gt } from "./grid/hooks/use-grid-collapsed.js";
|
|
95
|
+
import { Grid as _t } from "./grid/index.js";
|
|
96
|
+
import { IconButton as vt } from "./icon-button/index.js";
|
|
97
|
+
import { Keyboard as yt } from "./keyboard/index.js";
|
|
98
|
+
import { List as bt } from "./list/index.js";
|
|
99
|
+
import { LogoIcon as xt } from "./logo-icon/index.js";
|
|
100
|
+
import { Menu as St } from "./menu/index.js";
|
|
101
|
+
import { PermissionGate as Ct } from "./permission-gate/index.js";
|
|
102
|
+
import { OperationButton as wt } from "./operation-button/index.js";
|
|
103
|
+
import { Pagination as Tt } from "./pagination/index.js";
|
|
104
|
+
import { Progress as Et } from "./progress/index.js";
|
|
105
|
+
import { QRCode as Dt } from "./qrcode/index.js";
|
|
106
|
+
import { Result as Ot } from "./result/index.js";
|
|
107
|
+
import { Row as kt } from "./row/index.js";
|
|
108
|
+
import { Segmented as At } from "./segmented/index.js";
|
|
109
|
+
import { Skeleton as jt } from "./skeleton/index.js";
|
|
110
|
+
import Mt from "./space/space.js";
|
|
111
|
+
import { SparklesText as Nt } from "./sparkles-text/index.js";
|
|
112
|
+
import { SplitText as Pt } from "./split-text/index.js";
|
|
113
|
+
import { Splitter as Ft } from "./splitter/index.js";
|
|
114
|
+
import { Statistic as It } from "./statistic/index.js";
|
|
115
|
+
import { Steps as Lt } from "./steps/index.js";
|
|
116
|
+
import { Tabs as Rt } from "./tabs/index.js";
|
|
117
|
+
import { Tag as zt } from "./tag/index.js";
|
|
118
|
+
import { Timeline as Bt } from "./timeline/index.js";
|
|
119
|
+
import { Tour as Vt } from "./tour/index.js";
|
|
120
|
+
import { useDataOptionsTree as Ht } from "./tree/hooks/use-data-options-tree.js";
|
|
121
|
+
import { Tree as Ut } from "./tree/index.js";
|
|
122
|
+
import { TypingAnimation as Wt } from "./typing-animation/index.js";
|
|
123
|
+
import { Watermark as Gt } from "./watermark/index.js";
|
|
124
|
+
export { z as ActionButton, H as ActionGroup, U as Affix, W as Alert, G as Anchor, K as AutoComplete, q as Avatar, J as Badge, Q as Bool, $ as Breadcrumb, I as Button, ee as Calendar, te as Card, ne as Carousel, re as Cascader, ie as Center, ce as Chart, Y as Checkbox, de as CodeHighlighter, fe as Col, pe as Collapse, me as ColorPicker, he as Compact, oe as ConfigProvider, st as Crud, dt as CrudPage, Oe as DatePicker, ft as Descriptions, ve as Divider, tt as Drawer, pt as Dropdown, mt as DynamicIcon, nt as Empty, B as Flex, ge as FlexCard, Ne as FlipText, ht as FloatButton, rt as FormDrawer, at as FormModal, _t as Grid, V as Group, L as Icon, vt as IconButton, He as Image, ke as Input, Ae as InputNumber, yt as Keyboard, Ze as Link, bt as List, Fe as Loader, xt as LogoIcon, je as Mentions, St as Menu, it as Modal, wt as OperationButton, Te as OperationButtonGroup, ut as Page, Tt as Pagination, Qe as Paragraph, Ct as PermissionGate, R as Popconfirm, Ce as Popover, Xe as ProSearch, De as ProTable, Ee as ProTableSubscriber, Et as Progress, Dt as QRCode, X as Radio, Me as Rate, Ot as Result, kt as Row, u as SYMBOL_PAGINATION, d as SYMBOL_SORT, ct as ScrollArea, At as Segmented, Le as Select, jt as Skeleton, we as Slider, Mt as Space, Nt as SparklesText, Pe as Spin, Pt as SplitText, Ft as Splitter, _e as Stack, It as Statistic, Lt as Steps, Z as Switch, Se as Table, Rt as Tabs, zt as Tag, $e as Text, Re as TimePicker, Bt as Timeline, et as Title, ye as Tooltip, Vt as Tour, ze as Transfer, Ut as Tree, Ve as TreeSelect, Wt as TypingAnimation, Ue as Upload, Gt as Watermark, e as breakpoints, v as closeAllMessages, k as closeAllNotifications, t as colors, le as connectCharts, ot as createCrudKit, We as createFormOptions, ue as disconnectCharts, _ as emitReloadPage, n as fullSizes, h as getSpacingValue, l as globalCssVars, P as isFragment, p as isPresetColor, m as isSemanticColor, g as mapSize, be as pageSizeOptions, r as presetColors, f as resolveBreakpointValue, i as semanticColors, a as semanticSceneIcons, o as semanticSceneLabels, s as semanticScenes, w as showConfirm, T as showErrorAlert, y as showErrorMessage, A as showErrorNotification, E as showInfoAlert, b as showInfoMessage, j as showInfoNotification, x as showLoadingMessage, D as showSuccessAlert, S as showSuccessMessage, M as showSuccessNotification, O as showWarningAlert, C as showWarningMessage, N as showWarningNotification, c as sizes, se as useChart, Ie as useDataOptionsSelect, Ht as useDataOptionsTree, Be as useDataOptionsTreeSelect, Ye as useForm, Ge as useFormContext, Ke as useFormStore, gt as useGridCollapsed, ae as useIsDarkMode, xe as usePaginationProps, F as useThemeTokens, lt as useViewportHeight, qe as withFieldGroup, Je as withForm };
|
package/dist/es/input/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.1.
|
|
1
|
+
/*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
|
|
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
|
import { useMemo as n } from "react";
|
package/dist/es/list/index.js
CHANGED
package/dist/es/loader/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.1.
|
|
1
|
+
/*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
|
|
2
2
|
import { fullHeight as e } from "../_base/styles/common.js";
|
|
3
3
|
import { Center as t } from "../center/index.js";
|
|
4
4
|
import { FlipText as n } from "../flip-text/index.js";
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
|
|
2
|
+
import { jsx as e, jsxs as t } from "@emotion/react/jsx-runtime";
|
|
3
|
+
import { colorPaletteMap as n, getColorPalette as r } from "@vef-framework-react/shared";
|
|
4
|
+
//#region src/logo-icon/index.tsx
|
|
5
|
+
var i = n.get("blue").get(500);
|
|
6
|
+
function a({ primaryColor: n = i, ...a }) {
|
|
7
|
+
let o = r(n);
|
|
8
|
+
return /* @__PURE__ */ t("svg", {
|
|
9
|
+
height: "1em",
|
|
10
|
+
viewBox: "0 0 75.002 65.685",
|
|
11
|
+
width: "1em",
|
|
12
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
13
|
+
...a,
|
|
14
|
+
children: [/* @__PURE__ */ e("path", {
|
|
15
|
+
d: "M11 .17h8.7a3.43 3.43 0 0 1 3.42 1.93c3.51 6.1 7.11 12.15 10.7 18.21a3.14 3.14 0 0 1 .08 3.5c-3 5.22-6 10.47-9.12 15.68-.39.68-.67 1.68-1.68 1.64S22 40 21.57 39.33Q11.69 22.22 1.81 5.1C1 3.76-.48 2.22.15.9.88-.64 3 .28 4.5.2 6.65.08 8.81.17 11 .17",
|
|
16
|
+
fill: o.get(500)
|
|
17
|
+
}), /* @__PURE__ */ e("path", {
|
|
18
|
+
d: "M71.37.15h1.16c2.8 0 3 .44 1.69 2.78l-14.53 25.2Q49.4 46 39.1 63.9c-1.41 2.43-1.9 2.3-3.56.09-2-2.63-1.71-4.78 0-7.6Q51.27 29.63 66.65 2.62C67.91.43 69.53-.15 71.37.15M56.42.16h1.15c2.8 0 3 .43 1.69 2.77L52.3 15 31.7 50.76c-1.53 2.65-2.06 2.54-3.75-.09a5.9 5.9 0 0 1-.16-7q12-20.07 23.53-40.39C52.63 1 54.07-.44 56.42.16",
|
|
19
|
+
fill: o.get(400)
|
|
20
|
+
})]
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
//#endregion
|
|
24
|
+
export { a as LogoIcon };
|
package/dist/es/menu/index.js
CHANGED
package/dist/es/modal/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/components v2.1.
|
|
1
|
+
/*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
|
|
2
2
|
import { globalCssVars as e } from "../_base/constants/css-vars.js";
|
|
3
3
|
import { ActionButton as t } from "../action-button/index.js";
|
|
4
4
|
import { PermissionGate as n } from "../permission-gate/index.js";
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
|
|
2
|
+
import { getSpacingValue as e } from "../../_base/helpers/common.js";
|
|
3
|
+
import { useResize as t } from "../hooks/use-resize.js";
|
|
4
|
+
import { asideContent as n } from "../styles.js";
|
|
5
|
+
import { ResizeHandle as r } from "./resize-handle.js";
|
|
6
|
+
import { jsx as i, jsxs as a } from "@emotion/react/jsx-runtime";
|
|
7
|
+
import { isPlainObject as o } from "@vef-framework-react/shared";
|
|
8
|
+
//#region src/page/components/aside-panel.tsx
|
|
9
|
+
var s = 280;
|
|
10
|
+
function c(e) {
|
|
11
|
+
return o(e);
|
|
12
|
+
}
|
|
13
|
+
function l(e) {
|
|
14
|
+
if (!e) return s;
|
|
15
|
+
if (c(e)) {
|
|
16
|
+
let t = e.defaultWidth;
|
|
17
|
+
return typeof t == "number" ? t : s;
|
|
18
|
+
}
|
|
19
|
+
return typeof e == "number" ? e : s;
|
|
20
|
+
}
|
|
21
|
+
function u(e) {
|
|
22
|
+
return typeof e == "number" ? e : void 0;
|
|
23
|
+
}
|
|
24
|
+
function d({ children: o, className: d, containerStyle: f, position: p, width: m }) {
|
|
25
|
+
let h = c(m), g = l(m), { width: _, isDragging: v, handleMouseDown: y } = t({
|
|
26
|
+
defaultWidth: g,
|
|
27
|
+
minWidth: h ? u(m.minWidth) : void 0,
|
|
28
|
+
maxWidth: h ? u(m.maxWidth) : void 0,
|
|
29
|
+
isLeftPanel: p === "left"
|
|
30
|
+
});
|
|
31
|
+
return /* @__PURE__ */ a("div", {
|
|
32
|
+
className: d,
|
|
33
|
+
css: f,
|
|
34
|
+
style: {
|
|
35
|
+
width: h ? `${h ? _ : g}px` : e(m ?? s),
|
|
36
|
+
position: "relative"
|
|
37
|
+
},
|
|
38
|
+
children: [/* @__PURE__ */ i("div", {
|
|
39
|
+
css: n,
|
|
40
|
+
children: o
|
|
41
|
+
}), h && /* @__PURE__ */ i(r, {
|
|
42
|
+
isDragging: v,
|
|
43
|
+
position: p,
|
|
44
|
+
onMouseDown: y
|
|
45
|
+
})]
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
//#endregion
|
|
49
|
+
export { d as AsidePanel };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
|
|
2
|
+
import { resizeHandleGrip as e, resizeHandleLeft as t, resizeHandleRight as n } from "../styles.js";
|
|
3
|
+
import { jsx as r } from "@emotion/react/jsx-runtime";
|
|
4
|
+
import "react";
|
|
5
|
+
//#region src/page/components/resize-handle.tsx
|
|
6
|
+
function i({ isDragging: i, position: a, onMouseDown: o }) {
|
|
7
|
+
return /* @__PURE__ */ r("div", {
|
|
8
|
+
css: [
|
|
9
|
+
e,
|
|
10
|
+
a === "left" ? t : n,
|
|
11
|
+
process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJlc2l6ZS1oYW5kbGUudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXVCTSIsImZpbGUiOiJyZXNpemUtaGFuZGxlLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB0eXBlIHsgTW91c2VFdmVudCB9IGZyb20gXCJyZWFjdFwiO1xuXG5pbXBvcnQgUmVhY3QgZnJvbSBcInJlYWN0XCI7XG5cbmltcG9ydCAqIGFzIHN0eWxlcyBmcm9tIFwiLi4vc3R5bGVzXCI7XG5cbmV4cG9ydCBpbnRlcmZhY2UgUmVzaXplSGFuZGxlUHJvcHMge1xuICBpc0RyYWdnaW5nOiBib29sZWFuO1xuICBwb3NpdGlvbjogXCJsZWZ0XCIgfCBcInJpZ2h0XCI7XG4gIG9uTW91c2VEb3duOiAoZXZlbnQ6IE1vdXNlRXZlbnQpID0+IHZvaWQ7XG59XG5cbmV4cG9ydCBmdW5jdGlvbiBSZXNpemVIYW5kbGUoe1xuICBpc0RyYWdnaW5nLFxuICBwb3NpdGlvbixcbiAgb25Nb3VzZURvd25cbn06IFJlc2l6ZUhhbmRsZVByb3BzKTogUmVhY3QuSlNYLkVsZW1lbnQge1xuICBjb25zdCBwb3NpdGlvblN0eWxlID0gcG9zaXRpb24gPT09IFwibGVmdFwiXG4gICAgPyBzdHlsZXMucmVzaXplSGFuZGxlTGVmdFxuICAgIDogc3R5bGVzLnJlc2l6ZUhhbmRsZVJpZ2h0O1xuXG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgY3NzPXtbc3R5bGVzLnJlc2l6ZUhhbmRsZUdyaXAsIHBvc2l0aW9uU3R5bGVdfVxuICAgICAgZGF0YS1kcmFnZ2luZz17aXNEcmFnZ2luZ31cbiAgICAgIG9uTW91c2VEb3duPXtvbk1vdXNlRG93bn1cbiAgICAvPlxuICApO1xufVxuIl19 */"
|
|
12
|
+
],
|
|
13
|
+
"data-dragging": i,
|
|
14
|
+
onMouseDown: o
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
//#endregion
|
|
18
|
+
export { i as ResizeHandle };
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
|
|
2
|
+
import { actionBar as e, content as t, scrollContainer as n, scrollWrapper as r } from "../styles.js";
|
|
3
|
+
import { ScrollArea as i } from "../../scroll-area/index.js";
|
|
4
|
+
import { ViewportProvider as a } from "../viewport-context.js";
|
|
5
|
+
import { Fragment as o, jsx as s, jsxs as c } from "@emotion/react/jsx-runtime";
|
|
6
|
+
import { useElementSize as l } from "@vef-framework-react/hooks";
|
|
7
|
+
import { ClassNames as u } from "@emotion/react";
|
|
8
|
+
import { AnimatePresence as d, motion as f } from "@vef-framework-react/core";
|
|
9
|
+
//#region src/page/components/scroll-content.tsx
|
|
10
|
+
var p = {
|
|
11
|
+
initial: {
|
|
12
|
+
opacity: 0,
|
|
13
|
+
y: 60
|
|
14
|
+
},
|
|
15
|
+
animate: {
|
|
16
|
+
opacity: 1,
|
|
17
|
+
y: 0,
|
|
18
|
+
transition: { ease: "easeOut" }
|
|
19
|
+
},
|
|
20
|
+
exit: {
|
|
21
|
+
opacity: 0,
|
|
22
|
+
y: 60,
|
|
23
|
+
transition: { ease: "easeIn" }
|
|
24
|
+
}
|
|
25
|
+
}, m = { duration: .3 };
|
|
26
|
+
function h({ className: h, actionBar: g, actionBarClassName: _, children: v }) {
|
|
27
|
+
let { ref: y, height: b } = l({ box: "border-box" }), { ref: x, height: S } = l({ box: "border-box" }), C = { "--vef-page-action-bar-height": `${b}px` };
|
|
28
|
+
return /* @__PURE__ */ c(o, { children: [/* @__PURE__ */ s(u, { children: ({ css: e }) => /* @__PURE__ */ s(i, {
|
|
29
|
+
className: h,
|
|
30
|
+
css: [
|
|
31
|
+
t,
|
|
32
|
+
r,
|
|
33
|
+
process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNjcm9sbC1jb250ZW50LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFpRVkiLCJmaWxlIjoic2Nyb2xsLWNvbnRlbnQudH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gICAgPC8+XG4gICk7XG59XG4iXX0= */"
|
|
34
|
+
],
|
|
35
|
+
viewportClassName: e(n),
|
|
36
|
+
viewportRef: x,
|
|
37
|
+
viewportStyle: C,
|
|
38
|
+
children: /* @__PURE__ */ s(a, {
|
|
39
|
+
value: S,
|
|
40
|
+
children: v
|
|
41
|
+
})
|
|
42
|
+
}) }), /* @__PURE__ */ s(d, { children: g && /* @__PURE__ */ s(f.div, {
|
|
43
|
+
ref: y,
|
|
44
|
+
animate: "animate",
|
|
45
|
+
className: _,
|
|
46
|
+
css: e,
|
|
47
|
+
exit: "exit",
|
|
48
|
+
initial: "initial",
|
|
49
|
+
transition: m,
|
|
50
|
+
variants: p,
|
|
51
|
+
children: g
|
|
52
|
+
}) })] });
|
|
53
|
+
}
|
|
54
|
+
//#endregion
|
|
55
|
+
export { h as ScrollContent };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
|
|
2
|
+
import { useReloadPageEvent as e } from "../../_base/helpers/event.js";
|
|
3
|
+
import { useCallback as t, useState as n } from "react";
|
|
4
|
+
//#region src/page/hooks/use-page-key.ts
|
|
5
|
+
function r() {
|
|
6
|
+
let [r, i] = n(1);
|
|
7
|
+
return e(t(() => {
|
|
8
|
+
i((e) => e + 1);
|
|
9
|
+
}, [])), r;
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { r as usePageKey };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
|
|
2
|
+
import { useCallback as e, useState as t } from "react";
|
|
3
|
+
//#region src/page/hooks/use-resize.ts
|
|
4
|
+
function n(e, t, n) {
|
|
5
|
+
return t !== void 0 && e < t ? t : n !== void 0 && e > n ? n : e;
|
|
6
|
+
}
|
|
7
|
+
function r(r) {
|
|
8
|
+
let { defaultWidth: i, minWidth: a, maxWidth: o, isLeftPanel: s = !0 } = r, [c, l] = t(i), [u, d] = t(!1);
|
|
9
|
+
return {
|
|
10
|
+
width: c,
|
|
11
|
+
isDragging: u,
|
|
12
|
+
handleMouseDown: e((e) => {
|
|
13
|
+
e.preventDefault();
|
|
14
|
+
let t = e.clientX, r = c;
|
|
15
|
+
d(!0);
|
|
16
|
+
let i = (e) => {
|
|
17
|
+
let i = e.clientX - t;
|
|
18
|
+
l(n(s ? r + i : r - i, a, o));
|
|
19
|
+
}, u = () => {
|
|
20
|
+
d(!1), document.removeEventListener("mousemove", i), document.removeEventListener("mouseup", u);
|
|
21
|
+
};
|
|
22
|
+
document.addEventListener("mousemove", i), document.addEventListener("mouseup", u);
|
|
23
|
+
}, [
|
|
24
|
+
c,
|
|
25
|
+
a,
|
|
26
|
+
o,
|
|
27
|
+
s
|
|
28
|
+
])
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
//#endregion
|
|
32
|
+
export { r as useResize };
|