@vef-framework/components 1.0.103 → 1.0.104
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/es/index.js +1 -1
- package/es/internal/base.css.js +1 -1
- package/es/internal/chart.js +1 -1
- package/es/internal/index.js +1 -1
- package/es/internal/modern-normalize.css.js +1 -1
- package/es/internal/utils.js +1 -1
- package/es/vef-access-denied/access-denied-icon.js +1 -1
- package/es/vef-access-denied/index.js +1 -1
- package/es/vef-action-buttons/index.js +1 -1
- package/es/vef-approval-flow-editor/components/edge.js +1 -1
- package/es/vef-approval-flow-editor/components/label-value.js +1 -1
- package/es/vef-approval-flow-editor/components/node-content.js +1 -1
- package/es/vef-approval-flow-editor/components/node-selector.js +1 -1
- package/es/vef-approval-flow-editor/components/node-toolbar.js +1 -1
- package/es/vef-approval-flow-editor/components/nodes/approval.js +1 -1
- package/es/vef-approval-flow-editor/components/nodes/condition.js +1 -1
- package/es/vef-approval-flow-editor/components/nodes/end.js +1 -1
- package/es/vef-approval-flow-editor/components/nodes/handle.js +1 -1
- package/es/vef-approval-flow-editor/components/nodes/index.js +1 -1
- package/es/vef-approval-flow-editor/components/nodes/submit.js +1 -1
- package/es/vef-approval-flow-editor/components/selector-content.js +1 -1
- package/es/vef-approval-flow-editor/components/source-handle.js +1 -1
- package/es/vef-approval-flow-editor/components/target-handle.js +1 -1
- package/es/vef-approval-flow-editor/constants.js +1 -1
- package/es/vef-approval-flow-editor/helper.js +1 -1
- package/es/vef-approval-flow-editor/hooks/use-edges-interaction.js +1 -1
- package/es/vef-approval-flow-editor/hooks/use-element-selection.js +1 -1
- package/es/vef-approval-flow-editor/hooks/use-nodes-interaction.js +1 -1
- package/es/vef-approval-flow-editor/index.js +1 -1
- package/es/vef-approval-flow-editor/models/edge-node.js +1 -1
- package/es/vef-approval-flow-editor/models/flow-node.js +1 -1
- package/es/vef-approval-flow-editor/store.js +1 -1
- package/es/vef-approval-flow-editor/styles.js +1 -1
- package/es/vef-approval-flow-editor/types.js +1 -1
- package/es/vef-area-chart/index.js +1 -1
- package/es/vef-auto-sizer/index.js +1 -1
- package/es/vef-avatar/index.js +1 -1
- package/es/vef-avatar-group/index.js +1 -1
- package/es/vef-badge/index.js +1 -1
- package/es/vef-bar-chart/index.js +1 -1
- package/es/vef-bool/hooks/use-bool-instance.js +1 -1
- package/es/vef-bool/index.js +1 -1
- package/es/vef-breadcrumb/index.js +1 -1
- package/es/vef-button/components/base-button.js +1 -1
- package/es/vef-button/index.js +1 -1
- package/es/vef-card/index.js +1 -1
- package/es/vef-card-meta/index.js +1 -1
- package/es/vef-chart-container/hooks/use-chart-container-context.js +1 -1
- package/es/vef-chart-container/index.js +1 -1
- package/es/vef-chart-legend-content/index.js +1 -1
- package/es/vef-chart-tooltip-content/index.js +1 -1
- package/es/vef-checkbox/hooks/use-checkbox-instance.js +1 -1
- package/es/vef-checkbox/hooks/use-data-options.js +1 -1
- package/es/vef-checkbox/index.js +1 -1
- package/es/vef-code-editor/hooks/use-change-handler.js +1 -0
- package/es/vef-code-editor/hooks/use-config-extensions.js +1 -0
- package/es/vef-code-editor/hooks/use-height-props.js +1 -0
- package/es/vef-code-editor/hooks/use-language-extensions.js +1 -0
- package/es/vef-code-editor/hooks/use-setup-options.js +1 -0
- package/es/vef-code-editor/index.js +1 -0
- package/es/vef-code-editor/styles.js +137 -0
- package/es/vef-col/index.js +1 -1
- package/es/vef-color-picker/index.js +1 -1
- package/es/vef-compact/index.js +1 -1
- package/es/vef-config-provider/global-style.js +1 -1
- package/es/vef-config-provider/hooks/use-ui-config.js +1 -1
- package/es/vef-config-provider/index.js +1 -1
- package/es/vef-config-provider/store.js +1 -1
- package/es/vef-container/index.js +1 -1
- package/es/vef-crud-page/components/crud-actions.js +1 -1
- package/es/vef-crud-page/components/crud-filter.js +1 -1
- package/es/vef-crud-page/components/crud-footer.js +1 -1
- package/es/vef-crud-page/components/crud-form-modal.js +1 -1
- package/es/vef-crud-page/components/crud-header.js +1 -1
- package/es/vef-crud-page/components/crud-table.js +1 -1
- package/es/vef-crud-page/hooks/use-action-buttons.js +1 -1
- package/es/vef-crud-page/hooks/use-crud-context.js +1 -1
- package/es/vef-crud-page/hooks/use-crud-schema.js +1 -1
- package/es/vef-crud-page/hooks/use-operation-buttons.js +1 -1
- package/es/vef-crud-page/index.js +1 -1
- package/es/vef-crud-page/store.js +1 -1
- package/es/vef-data-grid/index.js +1 -1
- package/es/vef-data-table/index.js +1 -1
- package/es/vef-divider/index.js +1 -1
- package/es/vef-drawer/components/action-button-wrapper.js +1 -1
- package/es/vef-drawer/components/button-props.js +1 -1
- package/es/vef-drawer/components/cancel-action-button.js +1 -1
- package/es/vef-drawer/components/ok-action-button.js +1 -1
- package/es/vef-drawer/context.js +1 -1
- package/es/vef-drawer/index.js +1 -1
- package/es/vef-dropdown/index.js +1 -1
- package/es/vef-dynamic-icon/index.js +1 -1
- package/es/vef-dynamic-icon/props.js +1 -1
- package/es/vef-empty/index.js +1 -1
- package/es/vef-empty-placeholder/index.js +1 -1
- package/es/vef-error/error-icon.js +1 -1
- package/es/vef-error/index.js +1 -1
- package/es/vef-filter/components/action-buttons.js +1 -1
- package/es/vef-filter/components/advanced-filter.js +1 -1
- package/es/vef-filter/components/basic-filter.js +1 -1
- package/es/vef-filter/components/fields/index.js +1 -1
- package/es/vef-filter/components/fields/input-number.js +1 -1
- package/es/vef-filter/components/fields/input.js +1 -1
- package/es/vef-filter/components/fields/radio.js +1 -1
- package/es/vef-filter/components/fields/select.js +1 -1
- package/es/vef-filter/components/fields/tree-select.js +1 -1
- package/es/vef-filter/components/filter-field.js +1 -1
- package/es/vef-filter/components/filter-item.js +1 -1
- package/es/vef-filter/event.js +1 -1
- package/es/vef-filter/helper.js +1 -1
- package/es/vef-filter/hooks/use-action-handlers.js +1 -1
- package/es/vef-filter/hooks/use-computed-values.js +1 -1
- package/es/vef-filter/hooks/use-filter-context.js +1 -1
- package/es/vef-filter/hooks/use-filter-initialization.js +1 -1
- package/es/vef-filter/hooks/use-filter-instance.js +1 -1
- package/es/vef-filter/hooks/use-filter-items.js +1 -1
- package/es/vef-filter/hooks/use-filter-values-change.js +1 -1
- package/es/vef-filter/hooks/use-label-config.js +1 -1
- package/es/vef-filter/index.js +1 -1
- package/es/vef-filter/store.js +1 -1
- package/es/vef-flex/index.js +1 -1
- package/es/vef-float-button/index.js +1 -1
- package/es/vef-float-button-group/index.js +1 -1
- package/es/vef-form/components/fields/icon-select.js +1 -1
- package/es/vef-form/components/fields/index.js +1 -1
- package/es/vef-form/components/fields/input-number.js +1 -1
- package/es/vef-form/components/fields/input.js +1 -1
- package/es/vef-form/components/fields/password.js +1 -1
- package/es/vef-form/components/fields/radio.js +1 -1
- package/es/vef-form/components/fields/select.js +1 -1
- package/es/vef-form/components/fields/textarea.js +1 -1
- package/es/vef-form/components/fields/tree-select.js +1 -1
- package/es/vef-form/components/form-actions.js +1 -1
- package/es/vef-form/components/form-content.js +1 -1
- package/es/vef-form/components/form-field.js +1 -1
- package/es/vef-form/components/form-group.js +1 -1
- package/es/vef-form/components/form-hidden-item.js +1 -1
- package/es/vef-form/components/form-item.js +1 -1
- package/es/vef-form/components/form-row.js +1 -1
- package/es/vef-form/event.js +1 -1
- package/es/vef-form/helper.js +1 -1
- package/es/vef-form/hooks/use-action-handlers.js +1 -1
- package/es/vef-form/hooks/use-columns-layout.js +1 -1
- package/es/vef-form/hooks/use-computed-values.js +1 -1
- package/es/vef-form/hooks/use-form-context.js +1 -1
- package/es/vef-form/hooks/use-form-initialization.js +1 -1
- package/es/vef-form/hooks/use-form-instance.js +1 -1
- package/es/vef-form/hooks/use-form-values-change.js +1 -1
- package/es/vef-form/hooks/use-label-width.js +1 -1
- package/es/vef-form/index.js +1 -1
- package/es/vef-form/store.js +1 -1
- package/es/vef-form/validation-rules.js +1 -1
- package/es/vef-form-drawer/index.js +1 -1
- package/es/vef-form-modal/index.js +1 -1
- package/es/vef-generic-select/index.js +1 -1
- package/es/vef-grid/index.js +1 -1
- package/es/vef-grid/props.js +1 -1
- package/es/vef-grid-item/index.js +1 -1
- package/es/vef-icon/index.js +1 -1
- package/es/vef-icon-select/index.js +1 -1
- package/es/vef-input/hooks/use-input-instance.js +1 -1
- package/es/vef-input/index.js +1 -1
- package/es/vef-input-number/hooks/use-input-number-instance.js +1 -1
- package/es/vef-input-number/index.js +1 -1
- package/es/vef-intellisense-code-editor/hooks/use-change-handler.js +1 -0
- package/es/vef-intellisense-code-editor/hooks/use-editor-options.js +1 -0
- package/es/vef-intellisense-code-editor/hooks/use-path.js +1 -0
- package/es/vef-intellisense-code-editor/index.js +1 -0
- package/es/vef-intellisense-code-editor/loader.js +1 -0
- package/es/vef-intellisense-code-editor/styles.js +20 -0
- package/es/vef-intellisense-code-editor/themes/github-light.json.js +1 -0
- package/es/vef-layout/common-styles.js +1 -1
- package/es/vef-layout/components/content.js +1 -1
- package/es/vef-layout/components/font-size.js +1 -1
- package/es/vef-layout/components/fullscreen.js +1 -1
- package/es/vef-layout/components/header-action-icons.js +1 -1
- package/es/vef-layout/components/header-content.js +1 -1
- package/es/vef-layout/components/header.js +1 -1
- package/es/vef-layout/components/icon-boy.js +1 -1
- package/es/vef-layout/components/icon-girl.js +1 -1
- package/es/vef-layout/components/icon-menu-fold-left.js +1 -1
- package/es/vef-layout/components/icon-menu-unfold-left.js +1 -1
- package/es/vef-layout/components/menu-groups.js +1 -1
- package/es/vef-layout/components/message.js +1 -1
- package/es/vef-layout/components/search.js +1 -1
- package/es/vef-layout/components/sider.js +1 -1
- package/es/vef-layout/components/title.js +1 -1
- package/es/vef-layout/components/user-avatar.js +1 -1
- package/es/vef-layout/hooks/use-layout-context.js +1 -1
- package/es/vef-layout/index.js +1 -1
- package/es/vef-layout/logo.svg.js +1 -1
- package/es/vef-layout/store.js +1 -1
- package/es/vef-line-chart/index.js +1 -1
- package/es/vef-loading-placeholder/index.js +1 -1
- package/es/vef-login/index.js +1 -1
- package/es/vef-login/login-icon.js +1 -1
- package/es/vef-menu/index.js +1 -1
- package/es/vef-modal/components/action-button-wrapper.js +1 -1
- package/es/vef-modal/components/button-props.js +1 -1
- package/es/vef-modal/components/cancel-action-button.js +1 -1
- package/es/vef-modal/components/ok-action-button.js +1 -1
- package/es/vef-modal/context.js +1 -1
- package/es/vef-modal/index.js +1 -1
- package/es/vef-not-found/index.js +1 -1
- package/es/vef-not-found/not-found-icon.js +1 -1
- package/es/vef-page/index.js +1 -1
- package/es/vef-pagination/index.js +1 -1
- package/es/vef-pagination/props.js +1 -1
- package/es/vef-paragraph/index.js +1 -1
- package/es/vef-password/hooks/use-password-instance.js +1 -1
- package/es/vef-password/index.js +1 -1
- package/es/vef-pie-chart/index.js +1 -1
- package/es/vef-popconfirm/index.js +1 -1
- package/es/vef-popover/index.js +1 -1
- package/es/vef-radio/hooks/use-data-options.js +1 -1
- package/es/vef-radio/hooks/use-radio-instance.js +1 -1
- package/es/vef-radio/index.js +1 -1
- package/es/vef-rate/hooks/use-rate-instance.js +1 -1
- package/es/vef-rate/index.js +1 -1
- package/es/vef-responsive-container/index.js +1 -1
- package/es/vef-responsive-item/index.js +1 -1
- package/es/vef-ribbon/index.js +1 -1
- package/es/vef-row/index.js +1 -1
- package/es/vef-scroll-area/components/scrollbar.js +1 -1
- package/es/vef-scroll-area/index.js +1 -1
- package/es/vef-select/components/option.js +1 -1
- package/es/vef-select/hooks/use-data-options.js +1 -1
- package/es/vef-select/hooks/use-field-names.js +1 -1
- package/es/vef-select/hooks/use-render-label.js +1 -1
- package/es/vef-select/hooks/use-render-option.js +1 -1
- package/es/vef-select/hooks/use-select-instance.js +1 -1
- package/es/vef-select/index.js +1 -1
- package/es/vef-slider/hooks/use-slider-instance.js +1 -1
- package/es/vef-slider/index.js +1 -1
- package/es/vef-sortable-list/components/overlay-item.js +1 -1
- package/es/vef-sortable-list/components/sortable-item.js +1 -1
- package/es/vef-sortable-list/hooks/use-merged-items.js +1 -1
- package/es/vef-sortable-list/index.js +1 -1
- package/es/vef-space/index.js +1 -1
- package/es/vef-spin/index.js +1 -1
- package/es/vef-splitter/index.js +1 -1
- package/es/vef-splitter-panel/index.js +1 -1
- package/es/vef-status/index.js +1 -1
- package/es/vef-table/components/columns/bool.js +1 -1
- package/es/vef-table/components/columns/code.js +1 -1
- package/es/vef-table/components/columns/data-dictionary.js +1 -1
- package/es/vef-table/components/columns/enum.js +1 -1
- package/es/vef-table/components/columns/file.js +1 -1
- package/es/vef-table/components/columns/icon.js +1 -1
- package/es/vef-table/components/columns/id.js +1 -1
- package/es/vef-table/components/columns/image.js +1 -1
- package/es/vef-table/components/columns/index.js +1 -1
- package/es/vef-table/components/columns/markdown.js +1 -1
- package/es/vef-table/components/columns/number.js +1 -1
- package/es/vef-table/components/columns/render.js +1 -1
- package/es/vef-table/components/columns/rich-text.js +1 -1
- package/es/vef-table/components/columns/text.js +1 -1
- package/es/vef-table/components/columns-settings.js +1 -1
- package/es/vef-table/components/operation-buttons.js +1 -1
- package/es/vef-table/components/settings-icon.js +1 -1
- package/es/vef-table/components/table-footer.js +1 -1
- package/es/vef-table/helper.js +1 -1
- package/es/vef-table/hooks/use-computed-batch-buttons.js +1 -1
- package/es/vef-table/hooks/use-computed-columns.js +1 -1
- package/es/vef-table/hooks/use-computed-values.js +1 -1
- package/es/vef-table/hooks/use-data.js +1 -1
- package/es/vef-table/hooks/use-default-column-configs.js +1 -1
- package/es/vef-table/hooks/use-display-value.js +1 -1
- package/es/vef-table/hooks/use-helper-columns.js +1 -1
- package/es/vef-table/hooks/use-operation-column-width.js +1 -1
- package/es/vef-table/hooks/use-pagination-props.js +1 -1
- package/es/vef-table/hooks/use-row-props.js +1 -1
- package/es/vef-table/hooks/use-row-selection-config.js +1 -1
- package/es/vef-table/hooks/use-selected-rows.js +1 -1
- package/es/vef-table/hooks/use-table-columns.js +1 -1
- package/es/vef-table/hooks/use-table-context.js +1 -1
- package/es/vef-table/hooks/use-table-instance.js +1 -1
- package/es/vef-table/hooks/use-table-summary.js +1 -1
- package/es/vef-table/hooks/use-table-width.js +1 -1
- package/es/vef-table/index.js +1 -1
- package/es/vef-table/store.js +1 -1
- package/es/vef-tabs/index.js +1 -1
- package/es/vef-tag/index.js +1 -1
- package/es/vef-temporal-picker/helper.js +1 -1
- package/es/vef-temporal-picker/hooks/use-dayjs-value.js +1 -1
- package/es/vef-temporal-picker/hooks/use-temporal-limit.js +1 -1
- package/es/vef-temporal-picker/hooks/use-temporal-picker-instance.js +1 -1
- package/es/vef-temporal-picker/index.js +1 -1
- package/es/vef-temporal-range-picker/helper.js +1 -1
- package/es/vef-temporal-range-picker/hooks/use-dayjs-values.js +1 -1
- package/es/vef-temporal-range-picker/hooks/use-temporal-limit.js +1 -1
- package/es/vef-temporal-range-picker/hooks/use-temporal-range-picker-instance.js +1 -1
- package/es/vef-temporal-range-picker/index.js +1 -1
- package/es/vef-temporal-range-picker/props.js +1 -1
- package/es/vef-text/index.js +1 -1
- package/es/vef-textarea/hooks/use-textarea-instance.js +1 -1
- package/es/vef-textarea/index.js +1 -1
- package/es/vef-title/index.js +1 -1
- package/es/vef-tooltip/index.js +1 -1
- package/es/vef-tree-select/hooks/use-change-handler.js +1 -1
- package/es/vef-tree-select/hooks/use-data-options.js +1 -1
- package/es/vef-tree-select/hooks/use-tree-select-instance.js +1 -1
- package/es/vef-tree-select/index.js +1 -1
- package/es/vef-virtual-grid/index.js +1 -1
- package/es/vef-virtual-list/index.js +1 -1
- package/lib/index.cjs +1 -1
- package/lib/internal/base.css.cjs +1 -1
- package/lib/internal/chart.cjs +1 -1
- package/lib/internal/index.cjs +1 -1
- package/lib/internal/modern-normalize.css.cjs +1 -1
- package/lib/internal/utils.cjs +1 -1
- package/lib/vef-access-denied/access-denied-icon.cjs +1 -1
- package/lib/vef-access-denied/index.cjs +1 -1
- package/lib/vef-access-denied/props.cjs +1 -1
- package/lib/vef-action-buttons/index.cjs +1 -1
- package/lib/vef-action-buttons/props.cjs +1 -1
- package/lib/vef-approval-flow-editor/components/edge.cjs +1 -1
- package/lib/vef-approval-flow-editor/components/label-value.cjs +1 -1
- package/lib/vef-approval-flow-editor/components/node-content.cjs +1 -1
- package/lib/vef-approval-flow-editor/components/node-selector.cjs +1 -1
- package/lib/vef-approval-flow-editor/components/node-toolbar.cjs +1 -1
- package/lib/vef-approval-flow-editor/components/nodes/approval.cjs +1 -1
- package/lib/vef-approval-flow-editor/components/nodes/condition.cjs +1 -1
- package/lib/vef-approval-flow-editor/components/nodes/end.cjs +1 -1
- package/lib/vef-approval-flow-editor/components/nodes/handle.cjs +1 -1
- package/lib/vef-approval-flow-editor/components/nodes/index.cjs +1 -1
- package/lib/vef-approval-flow-editor/components/nodes/submit.cjs +1 -1
- package/lib/vef-approval-flow-editor/components/selector-content.cjs +1 -1
- package/lib/vef-approval-flow-editor/components/source-handle.cjs +1 -1
- package/lib/vef-approval-flow-editor/components/target-handle.cjs +1 -1
- package/lib/vef-approval-flow-editor/constants.cjs +1 -1
- package/lib/vef-approval-flow-editor/helper.cjs +1 -1
- package/lib/vef-approval-flow-editor/hooks/use-edges-interaction.cjs +1 -1
- package/lib/vef-approval-flow-editor/hooks/use-element-selection.cjs +1 -1
- package/lib/vef-approval-flow-editor/hooks/use-nodes-interaction.cjs +1 -1
- package/lib/vef-approval-flow-editor/index.cjs +1 -1
- package/lib/vef-approval-flow-editor/models/edge-node.cjs +1 -1
- package/lib/vef-approval-flow-editor/models/flow-node.cjs +1 -1
- package/lib/vef-approval-flow-editor/props.cjs +1 -1
- package/lib/vef-approval-flow-editor/store.cjs +1 -1
- package/lib/vef-approval-flow-editor/styles.cjs +1 -1
- package/lib/vef-approval-flow-editor/types.cjs +1 -1
- package/lib/vef-area-chart/index.cjs +1 -1
- package/lib/vef-area-chart/props.cjs +1 -1
- package/lib/vef-auto-sizer/index.cjs +1 -1
- package/lib/vef-auto-sizer/props.cjs +1 -1
- package/lib/vef-avatar/index.cjs +1 -1
- package/lib/vef-avatar/props.cjs +1 -1
- package/lib/vef-avatar-group/index.cjs +1 -1
- package/lib/vef-avatar-group/props.cjs +1 -1
- package/lib/vef-badge/index.cjs +1 -1
- package/lib/vef-badge/props.cjs +1 -1
- package/lib/vef-bar-chart/index.cjs +1 -1
- package/lib/vef-bar-chart/props.cjs +1 -1
- package/lib/vef-bool/hooks/use-bool-instance.cjs +1 -1
- package/lib/vef-bool/index.cjs +1 -1
- package/lib/vef-bool/props.cjs +1 -1
- package/lib/vef-breadcrumb/index.cjs +1 -1
- package/lib/vef-breadcrumb/props.cjs +1 -1
- package/lib/vef-button/components/base-button.cjs +1 -1
- package/lib/vef-button/index.cjs +1 -1
- package/lib/vef-button/props.cjs +1 -1
- package/lib/vef-card/index.cjs +1 -1
- package/lib/vef-card/props.cjs +1 -1
- package/lib/vef-card-meta/index.cjs +1 -1
- package/lib/vef-card-meta/props.cjs +1 -1
- package/lib/vef-chart-container/hooks/use-chart-container-context.cjs +1 -1
- package/lib/vef-chart-container/index.cjs +1 -1
- package/lib/vef-chart-container/props.cjs +1 -1
- package/lib/vef-chart-legend-content/index.cjs +1 -1
- package/lib/vef-chart-legend-content/props.cjs +1 -1
- package/lib/vef-chart-tooltip-content/index.cjs +1 -1
- package/lib/vef-chart-tooltip-content/props.cjs +1 -1
- package/lib/vef-checkbox/hooks/use-checkbox-instance.cjs +1 -1
- package/lib/vef-checkbox/hooks/use-data-options.cjs +1 -1
- package/lib/vef-checkbox/index.cjs +1 -1
- package/lib/vef-checkbox/props.cjs +1 -1
- package/lib/vef-code-editor/hooks/use-change-handler.cjs +1 -0
- package/lib/vef-code-editor/hooks/use-config-extensions.cjs +1 -0
- package/lib/vef-code-editor/hooks/use-height-props.cjs +1 -0
- package/lib/vef-code-editor/hooks/use-language-extensions.cjs +1 -0
- package/lib/vef-code-editor/hooks/use-setup-options.cjs +1 -0
- package/lib/vef-code-editor/index.cjs +1 -0
- package/lib/vef-code-editor/props.cjs +1 -0
- package/lib/vef-code-editor/styles.cjs +137 -0
- package/lib/vef-col/index.cjs +1 -1
- package/lib/vef-col/props.cjs +1 -1
- package/lib/vef-color-picker/index.cjs +1 -1
- package/lib/vef-color-picker/props.cjs +1 -1
- package/lib/vef-compact/index.cjs +1 -1
- package/lib/vef-compact/props.cjs +1 -1
- package/lib/vef-config-provider/global-style.cjs +1 -1
- package/lib/vef-config-provider/hooks/use-ui-config.cjs +1 -1
- package/lib/vef-config-provider/index.cjs +1 -1
- package/lib/vef-config-provider/props.cjs +1 -1
- package/lib/vef-config-provider/store.cjs +1 -1
- package/lib/vef-container/index.cjs +1 -1
- package/lib/vef-container/props.cjs +1 -1
- package/lib/vef-crud-page/components/crud-actions.cjs +1 -1
- package/lib/vef-crud-page/components/crud-filter.cjs +1 -1
- package/lib/vef-crud-page/components/crud-footer.cjs +1 -1
- package/lib/vef-crud-page/components/crud-form-modal.cjs +1 -1
- package/lib/vef-crud-page/components/crud-header.cjs +1 -1
- package/lib/vef-crud-page/components/crud-table.cjs +1 -1
- package/lib/vef-crud-page/hooks/use-action-buttons.cjs +1 -1
- package/lib/vef-crud-page/hooks/use-crud-context.cjs +1 -1
- package/lib/vef-crud-page/hooks/use-crud-schema.cjs +1 -1
- package/lib/vef-crud-page/hooks/use-operation-buttons.cjs +1 -1
- package/lib/vef-crud-page/index.cjs +1 -1
- package/lib/vef-crud-page/props.cjs +1 -1
- package/lib/vef-crud-page/store.cjs +1 -1
- package/lib/vef-crud-page/types.cjs +1 -1
- package/lib/vef-data-grid/index.cjs +1 -1
- package/lib/vef-data-grid/props.cjs +1 -1
- package/lib/vef-data-table/index.cjs +1 -1
- package/lib/vef-data-table/props.cjs +1 -1
- package/lib/vef-divider/index.cjs +1 -1
- package/lib/vef-divider/props.cjs +1 -1
- package/lib/vef-drawer/components/action-button-wrapper.cjs +1 -1
- package/lib/vef-drawer/components/button-props.cjs +1 -1
- package/lib/vef-drawer/components/cancel-action-button.cjs +1 -1
- package/lib/vef-drawer/components/ok-action-button.cjs +1 -1
- package/lib/vef-drawer/context.cjs +1 -1
- package/lib/vef-drawer/index.cjs +1 -1
- package/lib/vef-drawer/props.cjs +1 -1
- package/lib/vef-dropdown/index.cjs +1 -1
- package/lib/vef-dropdown/props.cjs +1 -1
- package/lib/vef-dynamic-icon/index.cjs +1 -1
- package/lib/vef-dynamic-icon/props.cjs +1 -1
- package/lib/vef-empty/index.cjs +1 -1
- package/lib/vef-empty/props.cjs +1 -1
- package/lib/vef-empty-placeholder/index.cjs +1 -1
- package/lib/vef-empty-placeholder/props.cjs +1 -1
- package/lib/vef-error/error-icon.cjs +1 -1
- package/lib/vef-error/index.cjs +1 -1
- package/lib/vef-error/props.cjs +1 -1
- package/lib/vef-filter/components/action-buttons.cjs +1 -1
- package/lib/vef-filter/components/advanced-filter.cjs +1 -1
- package/lib/vef-filter/components/basic-filter.cjs +1 -1
- package/lib/vef-filter/components/fields/index.cjs +1 -1
- package/lib/vef-filter/components/fields/input-number.cjs +1 -1
- package/lib/vef-filter/components/fields/input.cjs +1 -1
- package/lib/vef-filter/components/fields/props.cjs +1 -1
- package/lib/vef-filter/components/fields/radio.cjs +1 -1
- package/lib/vef-filter/components/fields/select.cjs +1 -1
- package/lib/vef-filter/components/fields/tree-select.cjs +1 -1
- package/lib/vef-filter/components/filter-field.cjs +1 -1
- package/lib/vef-filter/components/filter-item.cjs +1 -1
- package/lib/vef-filter/event.cjs +1 -1
- package/lib/vef-filter/helper.cjs +1 -1
- package/lib/vef-filter/hooks/use-action-handlers.cjs +1 -1
- package/lib/vef-filter/hooks/use-computed-values.cjs +1 -1
- package/lib/vef-filter/hooks/use-filter-context.cjs +1 -1
- package/lib/vef-filter/hooks/use-filter-initialization.cjs +1 -1
- package/lib/vef-filter/hooks/use-filter-instance.cjs +1 -1
- package/lib/vef-filter/hooks/use-filter-items.cjs +1 -1
- package/lib/vef-filter/hooks/use-filter-values-change.cjs +1 -1
- package/lib/vef-filter/hooks/use-label-config.cjs +1 -1
- package/lib/vef-filter/index.cjs +1 -1
- package/lib/vef-filter/props.cjs +1 -1
- package/lib/vef-filter/store.cjs +1 -1
- package/lib/vef-filter/types.cjs +1 -1
- package/lib/vef-flex/index.cjs +1 -1
- package/lib/vef-flex/props.cjs +1 -1
- package/lib/vef-float-button/index.cjs +1 -1
- package/lib/vef-float-button/props.cjs +1 -1
- package/lib/vef-float-button-group/index.cjs +1 -1
- package/lib/vef-float-button-group/props.cjs +1 -1
- package/lib/vef-form/components/fields/icon-select.cjs +1 -1
- package/lib/vef-form/components/fields/index.cjs +1 -1
- package/lib/vef-form/components/fields/input-number.cjs +1 -1
- package/lib/vef-form/components/fields/input.cjs +1 -1
- package/lib/vef-form/components/fields/password.cjs +1 -1
- package/lib/vef-form/components/fields/props.cjs +1 -1
- package/lib/vef-form/components/fields/radio.cjs +1 -1
- package/lib/vef-form/components/fields/select.cjs +1 -1
- package/lib/vef-form/components/fields/textarea.cjs +1 -1
- package/lib/vef-form/components/fields/tree-select.cjs +1 -1
- package/lib/vef-form/components/form-actions.cjs +1 -1
- package/lib/vef-form/components/form-content.cjs +1 -1
- package/lib/vef-form/components/form-field.cjs +1 -1
- package/lib/vef-form/components/form-group.cjs +1 -1
- package/lib/vef-form/components/form-hidden-item.cjs +1 -1
- package/lib/vef-form/components/form-item.cjs +1 -1
- package/lib/vef-form/components/form-row.cjs +1 -1
- package/lib/vef-form/event.cjs +1 -1
- package/lib/vef-form/helper.cjs +1 -1
- package/lib/vef-form/hooks/use-action-handlers.cjs +1 -1
- package/lib/vef-form/hooks/use-columns-layout.cjs +1 -1
- package/lib/vef-form/hooks/use-computed-values.cjs +1 -1
- package/lib/vef-form/hooks/use-form-context.cjs +1 -1
- package/lib/vef-form/hooks/use-form-initialization.cjs +1 -1
- package/lib/vef-form/hooks/use-form-instance.cjs +1 -1
- package/lib/vef-form/hooks/use-form-values-change.cjs +1 -1
- package/lib/vef-form/hooks/use-label-width.cjs +1 -1
- package/lib/vef-form/index.cjs +1 -1
- package/lib/vef-form/props.cjs +1 -1
- package/lib/vef-form/store.cjs +1 -1
- package/lib/vef-form/types.cjs +1 -1
- package/lib/vef-form/validation-rules.cjs +1 -1
- package/lib/vef-form-drawer/index.cjs +1 -1
- package/lib/vef-form-drawer/props.cjs +1 -1
- package/lib/vef-form-modal/index.cjs +1 -1
- package/lib/vef-form-modal/props.cjs +1 -1
- package/lib/vef-generic-select/index.cjs +1 -1
- package/lib/vef-generic-select/props.cjs +1 -1
- package/lib/vef-grid/index.cjs +1 -1
- package/lib/vef-grid/props.cjs +1 -1
- package/lib/vef-grid-item/index.cjs +1 -1
- package/lib/vef-grid-item/props.cjs +1 -1
- package/lib/vef-icon/index.cjs +1 -1
- package/lib/vef-icon/props.cjs +1 -1
- package/lib/vef-icon-select/index.cjs +1 -1
- package/lib/vef-icon-select/props.cjs +1 -1
- package/lib/vef-input/hooks/use-input-instance.cjs +1 -1
- package/lib/vef-input/index.cjs +1 -1
- package/lib/vef-input/props.cjs +1 -1
- package/lib/vef-input-number/hooks/use-input-number-instance.cjs +1 -1
- package/lib/vef-input-number/index.cjs +1 -1
- package/lib/vef-input-number/props.cjs +1 -1
- package/lib/vef-intellisense-code-editor/hooks/use-change-handler.cjs +1 -0
- package/lib/vef-intellisense-code-editor/hooks/use-editor-options.cjs +1 -0
- package/lib/vef-intellisense-code-editor/hooks/use-path.cjs +1 -0
- package/lib/vef-intellisense-code-editor/index.cjs +1 -0
- package/lib/vef-intellisense-code-editor/loader.cjs +1 -0
- package/lib/vef-intellisense-code-editor/props.cjs +1 -0
- package/lib/vef-intellisense-code-editor/styles.cjs +20 -0
- package/lib/vef-intellisense-code-editor/themes/github-light.json.cjs +1 -0
- package/lib/vef-layout/common-styles.cjs +1 -1
- package/lib/vef-layout/components/content.cjs +1 -1
- package/lib/vef-layout/components/font-size.cjs +1 -1
- package/lib/vef-layout/components/fullscreen.cjs +1 -1
- package/lib/vef-layout/components/header-action-icons.cjs +1 -1
- package/lib/vef-layout/components/header-content.cjs +1 -1
- package/lib/vef-layout/components/header.cjs +1 -1
- package/lib/vef-layout/components/icon-boy.cjs +1 -1
- package/lib/vef-layout/components/icon-girl.cjs +1 -1
- package/lib/vef-layout/components/icon-menu-fold-left.cjs +1 -1
- package/lib/vef-layout/components/icon-menu-unfold-left.cjs +1 -1
- package/lib/vef-layout/components/menu-groups.cjs +1 -1
- package/lib/vef-layout/components/message.cjs +1 -1
- package/lib/vef-layout/components/search.cjs +1 -1
- package/lib/vef-layout/components/sider.cjs +1 -1
- package/lib/vef-layout/components/title.cjs +1 -1
- package/lib/vef-layout/components/user-avatar.cjs +1 -1
- package/lib/vef-layout/hooks/use-layout-context.cjs +1 -1
- package/lib/vef-layout/index.cjs +1 -1
- package/lib/vef-layout/logo.svg.cjs +1 -1
- package/lib/vef-layout/props.cjs +1 -1
- package/lib/vef-layout/store.cjs +1 -1
- package/lib/vef-line-chart/index.cjs +1 -1
- package/lib/vef-line-chart/props.cjs +1 -1
- package/lib/vef-loading-placeholder/index.cjs +1 -1
- package/lib/vef-loading-placeholder/props.cjs +1 -1
- package/lib/vef-login/index.cjs +1 -1
- package/lib/vef-login/login-icon.cjs +1 -1
- package/lib/vef-login/props.cjs +1 -1
- package/lib/vef-menu/index.cjs +1 -1
- package/lib/vef-menu/props.cjs +1 -1
- package/lib/vef-modal/components/action-button-wrapper.cjs +1 -1
- package/lib/vef-modal/components/button-props.cjs +1 -1
- package/lib/vef-modal/components/cancel-action-button.cjs +1 -1
- package/lib/vef-modal/components/ok-action-button.cjs +1 -1
- package/lib/vef-modal/context.cjs +1 -1
- package/lib/vef-modal/index.cjs +1 -1
- package/lib/vef-modal/props.cjs +1 -1
- package/lib/vef-not-found/index.cjs +1 -1
- package/lib/vef-not-found/not-found-icon.cjs +1 -1
- package/lib/vef-not-found/props.cjs +1 -1
- package/lib/vef-page/index.cjs +1 -1
- package/lib/vef-page/props.cjs +1 -1
- package/lib/vef-pagination/index.cjs +1 -1
- package/lib/vef-pagination/props.cjs +1 -1
- package/lib/vef-paragraph/index.cjs +1 -1
- package/lib/vef-paragraph/props.cjs +1 -1
- package/lib/vef-password/hooks/use-password-instance.cjs +1 -1
- package/lib/vef-password/index.cjs +1 -1
- package/lib/vef-password/props.cjs +1 -1
- package/lib/vef-pie-chart/index.cjs +1 -1
- package/lib/vef-pie-chart/props.cjs +1 -1
- package/lib/vef-popconfirm/index.cjs +1 -1
- package/lib/vef-popconfirm/props.cjs +1 -1
- package/lib/vef-popover/index.cjs +1 -1
- package/lib/vef-popover/props.cjs +1 -1
- package/lib/vef-radio/hooks/use-data-options.cjs +1 -1
- package/lib/vef-radio/hooks/use-radio-instance.cjs +1 -1
- package/lib/vef-radio/index.cjs +1 -1
- package/lib/vef-radio/props.cjs +1 -1
- package/lib/vef-rate/hooks/use-rate-instance.cjs +1 -1
- package/lib/vef-rate/index.cjs +1 -1
- package/lib/vef-rate/props.cjs +1 -1
- package/lib/vef-responsive-container/index.cjs +1 -1
- package/lib/vef-responsive-container/props.cjs +1 -1
- package/lib/vef-responsive-item/index.cjs +1 -1
- package/lib/vef-responsive-item/props.cjs +1 -1
- package/lib/vef-ribbon/index.cjs +1 -1
- package/lib/vef-ribbon/props.cjs +1 -1
- package/lib/vef-row/index.cjs +1 -1
- package/lib/vef-row/props.cjs +1 -1
- package/lib/vef-scroll-area/components/scrollbar.cjs +1 -1
- package/lib/vef-scroll-area/index.cjs +1 -1
- package/lib/vef-scroll-area/props.cjs +1 -1
- package/lib/vef-select/components/option.cjs +1 -1
- package/lib/vef-select/hooks/use-data-options.cjs +1 -1
- package/lib/vef-select/hooks/use-field-names.cjs +1 -1
- package/lib/vef-select/hooks/use-render-label.cjs +1 -1
- package/lib/vef-select/hooks/use-render-option.cjs +1 -1
- package/lib/vef-select/hooks/use-select-instance.cjs +1 -1
- package/lib/vef-select/index.cjs +1 -1
- package/lib/vef-select/props.cjs +1 -1
- package/lib/vef-slider/hooks/use-slider-instance.cjs +1 -1
- package/lib/vef-slider/index.cjs +1 -1
- package/lib/vef-slider/props.cjs +1 -1
- package/lib/vef-sortable-list/components/overlay-item.cjs +1 -1
- package/lib/vef-sortable-list/components/sortable-item.cjs +1 -1
- package/lib/vef-sortable-list/hooks/use-merged-items.cjs +1 -1
- package/lib/vef-sortable-list/index.cjs +1 -1
- package/lib/vef-sortable-list/props.cjs +1 -1
- package/lib/vef-space/index.cjs +1 -1
- package/lib/vef-space/props.cjs +1 -1
- package/lib/vef-spin/index.cjs +1 -1
- package/lib/vef-spin/props.cjs +1 -1
- package/lib/vef-splitter/index.cjs +1 -1
- package/lib/vef-splitter/props.cjs +1 -1
- package/lib/vef-splitter-panel/index.cjs +1 -1
- package/lib/vef-splitter-panel/props.cjs +1 -1
- package/lib/vef-status/index.cjs +1 -1
- package/lib/vef-status/props.cjs +1 -1
- package/lib/vef-table/components/columns/bool.cjs +1 -1
- package/lib/vef-table/components/columns/code.cjs +1 -1
- package/lib/vef-table/components/columns/data-dictionary.cjs +1 -1
- package/lib/vef-table/components/columns/enum.cjs +1 -1
- package/lib/vef-table/components/columns/file.cjs +1 -1
- package/lib/vef-table/components/columns/icon.cjs +1 -1
- package/lib/vef-table/components/columns/id.cjs +1 -1
- package/lib/vef-table/components/columns/image.cjs +1 -1
- package/lib/vef-table/components/columns/index.cjs +1 -1
- package/lib/vef-table/components/columns/markdown.cjs +1 -1
- package/lib/vef-table/components/columns/number.cjs +1 -1
- package/lib/vef-table/components/columns/props.cjs +1 -1
- package/lib/vef-table/components/columns/render.cjs +1 -1
- package/lib/vef-table/components/columns/rich-text.cjs +1 -1
- package/lib/vef-table/components/columns/text.cjs +1 -1
- package/lib/vef-table/components/columns-settings.cjs +1 -1
- package/lib/vef-table/components/operation-buttons.cjs +1 -1
- package/lib/vef-table/components/settings-icon.cjs +1 -1
- package/lib/vef-table/components/table-footer.cjs +1 -1
- package/lib/vef-table/helper.cjs +1 -1
- package/lib/vef-table/hooks/use-computed-batch-buttons.cjs +1 -1
- package/lib/vef-table/hooks/use-computed-columns.cjs +1 -1
- package/lib/vef-table/hooks/use-computed-values.cjs +1 -1
- package/lib/vef-table/hooks/use-data.cjs +1 -1
- package/lib/vef-table/hooks/use-default-column-configs.cjs +1 -1
- package/lib/vef-table/hooks/use-display-value.cjs +1 -1
- package/lib/vef-table/hooks/use-helper-columns.cjs +1 -1
- package/lib/vef-table/hooks/use-operation-column-width.cjs +1 -1
- package/lib/vef-table/hooks/use-pagination-props.cjs +1 -1
- package/lib/vef-table/hooks/use-row-props.cjs +1 -1
- package/lib/vef-table/hooks/use-row-selection-config.cjs +1 -1
- package/lib/vef-table/hooks/use-selected-rows.cjs +1 -1
- package/lib/vef-table/hooks/use-table-columns.cjs +1 -1
- package/lib/vef-table/hooks/use-table-context.cjs +1 -1
- package/lib/vef-table/hooks/use-table-instance.cjs +1 -1
- package/lib/vef-table/hooks/use-table-summary.cjs +1 -1
- package/lib/vef-table/hooks/use-table-width.cjs +1 -1
- package/lib/vef-table/index.cjs +1 -1
- package/lib/vef-table/props.cjs +1 -1
- package/lib/vef-table/store.cjs +1 -1
- package/lib/vef-table/types.cjs +1 -1
- package/lib/vef-tabs/index.cjs +1 -1
- package/lib/vef-tabs/props.cjs +1 -1
- package/lib/vef-tag/index.cjs +1 -1
- package/lib/vef-tag/props.cjs +1 -1
- package/lib/vef-temporal-picker/helper.cjs +1 -1
- package/lib/vef-temporal-picker/hooks/use-dayjs-value.cjs +1 -1
- package/lib/vef-temporal-picker/hooks/use-temporal-limit.cjs +1 -1
- package/lib/vef-temporal-picker/hooks/use-temporal-picker-instance.cjs +1 -1
- package/lib/vef-temporal-picker/index.cjs +1 -1
- package/lib/vef-temporal-picker/props.cjs +1 -1
- package/lib/vef-temporal-range-picker/helper.cjs +1 -1
- package/lib/vef-temporal-range-picker/hooks/use-dayjs-values.cjs +1 -1
- package/lib/vef-temporal-range-picker/hooks/use-temporal-limit.cjs +1 -1
- package/lib/vef-temporal-range-picker/hooks/use-temporal-range-picker-instance.cjs +1 -1
- package/lib/vef-temporal-range-picker/index.cjs +1 -1
- package/lib/vef-temporal-range-picker/props.cjs +1 -1
- package/lib/vef-text/index.cjs +1 -1
- package/lib/vef-text/props.cjs +1 -1
- package/lib/vef-textarea/hooks/use-textarea-instance.cjs +1 -1
- package/lib/vef-textarea/index.cjs +1 -1
- package/lib/vef-textarea/props.cjs +1 -1
- package/lib/vef-title/index.cjs +1 -1
- package/lib/vef-title/props.cjs +1 -1
- package/lib/vef-tooltip/index.cjs +1 -1
- package/lib/vef-tooltip/props.cjs +1 -1
- package/lib/vef-tree-select/hooks/use-change-handler.cjs +1 -1
- package/lib/vef-tree-select/hooks/use-data-options.cjs +1 -1
- package/lib/vef-tree-select/hooks/use-tree-select-instance.cjs +1 -1
- package/lib/vef-tree-select/index.cjs +1 -1
- package/lib/vef-tree-select/props.cjs +1 -1
- package/lib/vef-virtual-grid/index.cjs +1 -1
- package/lib/vef-virtual-grid/props.cjs +1 -1
- package/lib/vef-virtual-list/index.cjs +1 -1
- package/lib/vef-virtual-list/props.cjs +1 -1
- package/package.json +19 -5
- package/types/index.d.ts +2 -0
- package/types/vef-code-editor/hooks/use-change-handler.d.ts +8 -0
- package/types/vef-code-editor/hooks/use-config-extensions.d.ts +6 -0
- package/types/vef-code-editor/hooks/use-height-props.d.ts +14 -0
- package/types/vef-code-editor/hooks/use-language-extensions.d.ts +11 -0
- package/types/vef-code-editor/hooks/use-setup-options.d.ts +9 -0
- package/types/vef-code-editor/index.d.ts +5 -0
- package/types/vef-code-editor/props.d.ts +70 -0
- package/types/vef-code-editor/styles.d.ts +1 -0
- package/types/vef-dynamic-icon/props.d.ts +1 -1
- package/types/vef-intellisense-code-editor/hooks/use-change-handler.d.ts +6 -0
- package/types/vef-intellisense-code-editor/hooks/use-editor-options.d.ts +5 -0
- package/types/vef-intellisense-code-editor/hooks/use-path.d.ts +9 -0
- package/types/vef-intellisense-code-editor/index.d.ts +4 -0
- package/types/vef-intellisense-code-editor/loader.d.ts +4 -0
- package/types/vef-intellisense-code-editor/props.d.ts +46 -0
- package/types/vef-intellisense-code-editor/styles.d.ts +1 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.104, build time: 2025-03-09T14:24:19.576Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const react=require("react");function useRowProps({enableRowClick=!1,enableRowClickForSelection=!1,onRowClick,disabledSelection,handleRowClickSelection}){return react.useMemo(()=>{if(enableRowClick)return(record,index)=>{const disabled=disabledSelection?.(record)??!1;return{style:{cursor:disabled?"not-allowed":"pointer"},onClick:disabled?void 0:()=>{enableRowClickForSelection||onRowClick?.(record,index??-1),handleRowClickSelection?.(record)}}}},[disabledSelection,enableRowClick,enableRowClickForSelection,handleRowClickSelection,onRowClick])}exports.useRowProps=useRowProps;/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.104, build time: 2025-03-09T14:24:19.576Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const shared=require("@vef-framework/shared"),react=require("react"),useSelectedRows=require("./use-selected-rows.cjs");function useRowSelectionConfig({rowKey,selectedKeys,defaultSelectedKeys,selectable,enableRowClick,enableRowClickForSelection,multipleSelection=!0,showSelectAllCheckbox=!0,disabledSelection,onRowSelect,onRowDeselect,onRowSelectionChange}){const{selectedKeys:selectedKeysToUse,selectedRecords,onChange}=useSelectedRows.useSelectedRows({selectedKeys,defaultSelectedKeys,onRowSelectionChange}),handleRowClickSelection=react.useMemo(()=>{if(!(!enableRowClick||!enableRowClickForSelection))return record=>{const key=shared.isFunction(rowKey)?rowKey(record):record[rowKey];if(selectedKeysToUse.includes(key)){if(!multipleSelection)return;const newValue=selectedKeysToUse.filter(it=>it!==key),newSelectedRows=selectedRecords.current.filter(it=>(shared.isFunction(rowKey)?rowKey(it):it[rowKey])!==key);onChange(newValue,newSelectedRows),onRowDeselect?.(key,record)}else{const newValue=[key];multipleSelection&&newValue.push(...selectedKeysToUse);const newSelectedRows=[record];multipleSelection&&newSelectedRows.push(...selectedRecords.current),onChange(newValue,newSelectedRows),onRowSelect?.(key,record)}}},[enableRowClick,enableRowClickForSelection,multipleSelection,onChange,onRowDeselect,onRowSelect,rowKey,selectedKeysToUse,selectedRecords]);return{rowSelectionConfig:react.useMemo(()=>selectable?{fixed:!0,hideSelectAll:!showSelectAllCheckbox,preserveSelectedRowKeys:!1,selectedRowKeys:selectedKeysToUse,type:multipleSelection?"checkbox":"radio",getCheckboxProps:shared.isFunction(disabledSelection)?record=>({disabled:disabledSelection(record)}):void 0,onChange:(selectedRowKeys,selectedRows)=>{onChange(selectedRowKeys,selectedRows)},onSelect:shared.isFunction(onRowSelect)||shared.isFunction(onRowDeselect)?(record,selected)=>{const key=shared.isFunction(rowKey)?rowKey(record):record[rowKey];selected?onRowSelect?.(key,record):onRowDeselect?.(key,record)}:void 0}:void 0,[selectable,showSelectAllCheckbox,selectedKeysToUse,multipleSelection,disabledSelection,onRowSelect,onRowDeselect,onChange,rowKey]),handleRowClickSelection,selectedKeys:selectedKeysToUse,selectedRecords}}exports.useRowSelectionConfig=useRowSelectionConfig;/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.104, build time: 2025-03-09T14:24:19.576Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const react=require("react");function useSelectedRows({selectedKeys,defaultSelectedKeys,onRowSelectionChange}){const[internalSelectedKeys,setInternalSelectedKeys]=react.useState(defaultSelectedKeys??[]),selectedKeysToUse=selectedKeys??internalSelectedKeys,selectedRecords=react.useRef([]),onChange=react.useCallback((keys,records)=>{selectedKeys||setInternalSelectedKeys(keys),selectedRecords.current=records,onRowSelectionChange?.(keys,records)},[onRowSelectionChange,selectedKeys]);return{selectedKeys:selectedKeysToUse,selectedRecords,onChange}}exports.useSelectedRows=useSelectedRows;/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.104, build time: 2025-03-09T14:24:19.576Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const jsxRuntime=require("@emotion/react/jsx-runtime"),shared=require("@vef-framework/shared"),react=require("react"),index=require("../components/columns/index.cjs");function useTableColumns(columns,rowNumberColumn,operationColumn){return react.useMemo(()=>{const columnsToUse=[],dataColumns=columns.map(column=>{const{title,show,sort,fixed,dependentColumnNames,...columnProps}=column,sortToUse=shared.isNumber(sort)?{multiple:sort}:sort??!1?!0:void 0,ColumnComponent=index.columnComponents[column.type];return{key:columnProps.name,dataIndex:columnProps.name,title:title||columnProps.name,fixed,hidden:!(show??!0),sorter:sortToUse,align:columnProps.align,width:columnProps.width,shouldCellUpdate:(record,prevRecord)=>!shared.isDeepEqual(dependentColumnNames.map(name=>record[name]),dependentColumnNames.map(name=>prevRecord[name])),render:(value,record,rowIndex)=>jsxRuntime.jsx(ColumnComponent,{columnProps,record,rowIndex,value})}});return rowNumberColumn&&columnsToUse.push(rowNumberColumn),columnsToUse.push(...dataColumns),operationColumn&&columnsToUse.push(operationColumn),columnsToUse},[columns,rowNumberColumn,operationColumn])}exports.useTableColumns=useTableColumns;/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.104, build time: 2025-03-09T14:24:19.576Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const shared=require("@vef-framework/shared"),{useContextSelector,useContext,ContextProvider:TableContextProvider}=shared.createSelectableContext({isFetching:!1,refetch:()=>Promise.resolve({}),selectedKeys:[],selectedRecords:[],defaultColumnConfigMap:new Map,columnConfigMap:new Map,setColumnConfigMap:shared.noop,columnConfigMapHasChanged:!1}),useTableContextSelector=useContextSelector,useTableContext=useContext;exports.TableContextProvider=TableContextProvider,exports.useTableContext=useTableContext,exports.useTableContextSelector=useTableContextSelector;/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.104, build time: 2025-03-09T14:24:19.576Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const react=require("react");function useTableInstance(ref,data,refetch){const tableRef=react.useRef(null);return react.useImperativeHandle(ref,()=>({getData:()=>data,refetch:async()=>{await refetch()}})),tableRef}exports.useTableInstance=useTableInstance;/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.104, build time: 2025-03-09T14:24:19.576Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const jsxRuntime=require("@emotion/react/jsx-runtime"),shared=require("@vef-framework/shared"),antd=require("antd"),react=require("react"),{Summary}=antd.Table,{Row,Cell}=Summary;function useTableSummary(columns){const summaryColumns=react.useMemo(()=>columns.filter(column=>shared.isFunction(column.summary)).map(column=>{const{name,summary,summaryColSpan}=column;return{name,summary,summaryColSpan:summaryColSpan??1}}),[columns]);return react.useMemo(()=>{if(summaryColumns.length!==0)return records=>jsxRuntime.jsx(Summary,{fixed:"bottom",children:jsxRuntime.jsx(Row,{children:summaryColumns.map(({name,summary,summaryColSpan},index)=>jsxRuntime.jsx(Cell,{colSpan:summaryColSpan,index,children:summary(records)},name))})})},[summaryColumns])}exports.useTableSummary=useTableSummary;/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.104, build time: 2025-03-09T14:24:19.576Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const react=require("react"),defaultColumnWidth=160,selectionColumnWidth=40;function useTableWidth(columns,selectable){return react.useMemo(()=>{const width=columns.filter(column=>column.hidden!==!0).map(column=>column.width??column.minWidth??defaultColumnWidth).reduce((acc,w)=>acc+w,0);return selectable?width+selectionColumnWidth:width},[columns,selectable])}exports.useTableWidth=useTableWidth;/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
package/lib/vef-table/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.104, build time: 2025-03-09T14:24:19.576Z, made by Venus. */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const jsxRuntime=require("@emotion/react/jsx-runtime"),react=require("@emotion/react"),shared=require("@vef-framework/shared"),antd=require("antd"),react$1=require("react");require("../internal/index.cjs");const tableFooter=require("./components/table-footer.cjs"),useComputedBatchButtons=require("./hooks/use-computed-batch-buttons.cjs"),useComputedColumns=require("./hooks/use-computed-columns.cjs"),useData=require("./hooks/use-data.cjs"),useDefaultColumnConfigs=require("./hooks/use-default-column-configs.cjs"),useHelperColumns=require("./hooks/use-helper-columns.cjs"),usePaginationProps=require("./hooks/use-pagination-props.cjs"),useRowProps=require("./hooks/use-row-props.cjs"),useRowSelectionConfig=require("./hooks/use-row-selection-config.cjs"),useTableColumns=require("./hooks/use-table-columns.cjs"),useTableContext=require("./hooks/use-table-context.cjs"),useTableInstance=require("./hooks/use-table-instance.cjs"),useTableSummary=require("./hooks/use-table-summary.cjs"),useTableWidth=require("./hooks/use-table-width.cjs"),utils=require("../internal/utils.cjs"),DEFAULT_ROW_KEY="id",autoHeightTableStyle=react.css`
|
|
2
2
|
height: 100%;
|
|
3
3
|
|
|
4
4
|
> .vef-spin-nested-loading {
|
package/lib/vef-table/props.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.104, build time: 2025-03-09T14:24:19.576Z, made by Venus. *//*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
package/lib/vef-table/store.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.104, build time: 2025-03-09T14:24:19.576Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const shared=require("@vef-framework/shared"),{StoreProvider:TableStoreProvider,useStore:useTableStore,useStoreApi:useTableStoreApi}=shared.createComponentStore("Table",initialState=>set=>({changeSize:size=>set({size}),columnConfigMap:new Map,...initialState}));exports.TableStoreProvider=TableStoreProvider,exports.useTableStore=useTableStore,exports.useTableStoreApi=useTableStoreApi;/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
package/lib/vef-table/types.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.104, build time: 2025-03-09T14:24:19.576Z, made by Venus. *//*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
package/lib/vef-tabs/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.104, build time: 2025-03-09T14:24:19.576Z, made by Venus. */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const jsxRuntime=require("@emotion/react/jsx-runtime"),antd=require("antd");require("../internal/index.cjs");const utils=require("../internal/utils.cjs"),animatedConfig={inkBar:!0,tabPane:!0};function VefTabs({size,...props}){return jsxRuntime.jsx(antd.Tabs,{animated:animatedConfig,size:utils.convertBasicSizeToUiSize(size),...props})}exports.default=VefTabs;/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
package/lib/vef-tabs/props.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.104, build time: 2025-03-09T14:24:19.576Z, made by Venus. *//*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
package/lib/vef-tag/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.104, build time: 2025-03-09T14:24:19.576Z, made by Venus. */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const jsxRuntime=require("@emotion/react/jsx-runtime"),antd=require("antd"),react=require("react");function VefTag({closable=!1,color,inverse=!1,...restProps}){const colorToUse=react.useMemo(()=>inverse?`${color}-inverse`:color,[color,inverse]);return jsxRuntime.jsx(antd.Tag,{closeIcon:closable?null:void 0,color:colorToUse,...restProps})}exports.default=VefTag;/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
package/lib/vef-tag/props.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.104, build time: 2025-03-09T14:24:19.576Z, made by Venus. *//*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.104, build time: 2025-03-09T14:24:19.576Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const yearFormats=["YYYY"],quarterFormats=["YYYY-Q季度"],monthFormats=["YYYY-MM","YYYY/MM","YYYY.MM","YYYYMM"],weekFormats=["YYYY-wo"],dateFormats=["YYYY-MM-DD","YYYY/MM/DD","YYYY.MM.DD","YYYYMMDD","YY/MM/DD","YY.MM.DD","YYMMDD"],timeFormats=["HH:mm:ss","HH.mm.ss","HHmmss"],hourFormats=["HH"],minuteFormats=["HH:mm","HH.mm","HHmm"],datetimeFormats=["YYYY-MM-DD HH:mm:ss","YYYY/MM/DD HH:mm:ss","YYYY.MM.DD HH.mm.ss","YYYYMMDDHHmmss","YY/MM/DD HH:mm:ss","YY.MM.DD HH:mm:ss","YY.MM.DD HH.mm.ss","YYMMDDHHmmss"];function getTemporalFormats(mode){return mode==="year"?yearFormats:mode==="quarter"?quarterFormats:mode==="month"?monthFormats:mode==="week"?weekFormats:mode==="datetime"?datetimeFormats:mode==="date"?dateFormats:mode==="time"?timeFormats:mode==="hour"?hourFormats:mode==="minute"?minuteFormats:[]}exports.getTemporalFormats=getTemporalFormats;/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.104, build time: 2025-03-09T14:24:19.576Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const shared=require("@vef-framework/shared"),dayjs=require("dayjs"),react=require("react");function useDayjsValue(value,formats){return react.useMemo(()=>shared.isNullish(value)?value:shared.isArray(value)?value.map(it=>dayjs(it,formats)):dayjs(value,formats),[value,formats])}exports.useDayjsValue=useDayjsValue;/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.104, build time: 2025-03-09T14:24:19.576Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const shared=require("@vef-framework/shared"),dayjs=require("dayjs"),react=require("react");function useTemporalLimit({maxDate,minDate,disabledDate,disabledTime}){const[minDateValue,maxDateValue]=react.useMemo(()=>[minDate?dayjs(minDate):void 0,maxDate?dayjs(maxDate):void 0],[minDate,maxDate]),disabledTimeValue=react.useMemo(()=>{if(shared.isFunction(disabledTime))return now=>disabledTime(now.toDate())},[disabledTime]),disabledDateValue=react.useMemo(()=>{if(shared.isFunction(disabledDate))return(now,{from})=>disabledDate(now.toDate(),from?.toDate())},[disabledDate]);return{minDateValue,maxDateValue,disabledTimeValue,disabledDateValue}}exports.useTemporalLimit=useTemporalLimit;/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.104, build time: 2025-03-09T14:24:19.576Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const react=require("react");function useTemporalPickerInstance(ref){const temporalPickerRef=react.useRef(null);return react.useImperativeHandle(ref,()=>({blur:()=>{temporalPickerRef.current?.blur()},focus:()=>{temporalPickerRef.current?.focus({preventScroll:!0})}})),temporalPickerRef}exports.useTemporalPickerInstance=useTemporalPickerInstance;/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.104, build time: 2025-03-09T14:24:19.576Z, made by Venus. */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const jsxRuntime=require("@emotion/react/jsx-runtime"),shared=require("@vef-framework/shared"),antd=require("antd"),react=require("react");require("../internal/index.cjs");const helper=require("./helper.cjs"),useDayjsValue=require("./hooks/use-dayjs-value.cjs"),useTemporalLimit=require("./hooks/use-temporal-limit.cjs"),useTemporalPickerInstance=require("./hooks/use-temporal-picker-instance.cjs"),utils=require("../internal/utils.cjs");function VefTemporalPickerBase({defaultValue,value,clearable,size,mode="date",multiple=!1,minDate,maxDate,disabledTime,disabledDate,hourStep,minuteStep,secondStep,onChange,...restProps},ref){const formats=helper.getTemporalFormats(mode),valueToUse=useDayjsValue.useDayjsValue(value,formats),defaultValueToUse=useDayjsValue.useDayjsValue(defaultValue,formats),{minDateValue,maxDateValue,disabledTimeValue,disabledDateValue}=useTemporalLimit.useTemporalLimit({maxDate,minDate,disabledTime,disabledDate}),temporalPickerRef=useTemporalPickerInstance.useTemporalPickerInstance(ref),handleChange=react.useMemo(()=>{if(shared.isFunction(onChange))return(value2,valueFormat)=>{if(!value2){onChange(null,null);return}const dates=shared.isArray(value2)?value2.map(it=>it.toDate()):value2.toDate();onChange(valueFormat,dates)}},[onChange]);return mode==="time"||mode==="hour"||mode==="minute"?jsxRuntime.jsx(antd.TimePicker,{ref:temporalPickerRef,allowClear:clearable,defaultValue:defaultValueToUse,disabledTime:disabledTimeValue,format:formats,hourStep,minuteStep,multiple,secondStep,showNow:mode!=="hour",size:utils.convertBasicSizeToUiSize(size),value:valueToUse,onChange:handleChange,...restProps}):mode==="datetime"?jsxRuntime.jsx(antd.DatePicker,{ref:temporalPickerRef,allowClear:clearable,defaultValue:defaultValueToUse,disabledDate:disabledDateValue,disabledTime:disabledTimeValue,format:formats,hourStep,maxDate:maxDateValue,minDate:minDateValue,minuteStep,multiple,picker:"date",size:utils.convertBasicSizeToUiSize(size),value:valueToUse,onChange:handleChange,...restProps}):jsxRuntime.jsx(antd.DatePicker,{ref:temporalPickerRef,allowClear:clearable,defaultValue:defaultValueToUse,disabledDate:disabledDateValue,format:formats,maxDate:maxDateValue,minDate:minDateValue,multiple,picker:mode,size:utils.convertBasicSizeToUiSize(size),value:valueToUse,onChange:handleChange,...restProps})}const VefTemporalPicker=react.memo(react.forwardRef(VefTemporalPickerBase));VefTemporalPicker.displayName="VefTemporalPicker",exports.default=VefTemporalPicker;/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.104, build time: 2025-03-09T14:24:19.576Z, made by Venus. *//*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.104, build time: 2025-03-09T14:24:19.576Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const yearFormats=["YYYY"],quarterFormats=["YYYY-Q季度"],monthFormats=["YYYY-MM","YYYY/MM","YYYY.MM","YYYYMM"],weekFormats=["YYYY-wo"],dateFormats=["YYYY-MM-DD","YYYY/MM/DD","YYYY.MM.DD","YYYYMMDD","YY/MM/DD","YY.MM.DD","YYMMDD"],timeFormats=["HH:mm:ss","HH.mm.ss","HHmmss"],hourFormats=["HH"],minuteFormats=["HH:mm","HH.mm","HHmm"],datetimeFormats=["YYYY-MM-DD HH:mm:ss","YYYY/MM/DD HH:mm:ss","YYYY.MM.DD HH.mm.ss","YYYYMMDDHHmmss","YY/MM/DD HH:mm:ss","YY.MM.DD HH:mm:ss","YY.MM.DD HH.mm.ss","YYMMDDHHmmss"];function getTemporalFormats(mode){return mode==="year"?yearFormats:mode==="quarter"?quarterFormats:mode==="month"?monthFormats:mode==="week"?weekFormats:mode==="datetime"?datetimeFormats:mode==="date"?dateFormats:mode==="time"?timeFormats:mode==="hour"?hourFormats:mode==="minute"?minuteFormats:[]}exports.getTemporalFormats=getTemporalFormats;/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.104, build time: 2025-03-09T14:24:19.576Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const shared=require("@vef-framework/shared"),dayjs=require("dayjs"),react=require("react"),props=require("../props.cjs");function useDayjsValues(value,formats){return react.useMemo(()=>{if(shared.isNullish(value))return value;if(shared.isArray(value))return value.map(it=>dayjs(it,formats));const[begin,end]=value.split(props.stringFormatSeparator);return[dayjs(begin,formats),dayjs(end,formats)]},[value,formats])}exports.useDayjsValues=useDayjsValues;/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.104, build time: 2025-03-09T14:24:19.576Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const shared=require("@vef-framework/shared"),dayjs=require("dayjs"),react=require("react");function useTemporalLimit({maxDate,minDate,disabledDate,disabledTime}){const[minDateValue,maxDateValue]=react.useMemo(()=>[minDate?dayjs(minDate):void 0,maxDate?dayjs(maxDate):void 0],[minDate,maxDate]),disabledTimeValue=react.useMemo(()=>{if(shared.isFunction(disabledTime))return now=>disabledTime(now.toDate())},[disabledTime]),disabledDateValue=react.useMemo(()=>{if(shared.isFunction(disabledDate))return(now,{from})=>disabledDate(now.toDate(),from?.toDate())},[disabledDate]);return{minDateValue,maxDateValue,disabledTimeValue,disabledDateValue}}exports.useTemporalLimit=useTemporalLimit;/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.104, build time: 2025-03-09T14:24:19.576Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const react=require("react");function useTemporalRangePickerInstance(ref){const temporalPickerRef=react.useRef(null);return react.useImperativeHandle(ref,()=>({blur:()=>{temporalPickerRef.current?.blur()},focus:()=>{temporalPickerRef.current?.focus({preventScroll:!0})}})),temporalPickerRef}exports.useTemporalRangePickerInstance=useTemporalRangePickerInstance;/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.104, build time: 2025-03-09T14:24:19.576Z, made by Venus. */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const jsxRuntime=require("@emotion/react/jsx-runtime"),shared=require("@vef-framework/shared"),antd=require("antd"),react=require("react");require("../internal/index.cjs");const helper=require("./helper.cjs"),useDayjsValues=require("./hooks/use-dayjs-values.cjs"),useTemporalLimit=require("./hooks/use-temporal-limit.cjs"),useTemporalRangePickerInstance=require("./hooks/use-temporal-range-picker-instance.cjs"),props=require("./props.cjs"),utils=require("../internal/utils.cjs");function VefTemporalRangePickerBase({defaultValue,value,clearable,mode="date",size,useStringFormat=!1,maxDate,minDate,disabledTime,disabledDate,hourStep,minuteStep,secondStep,onChange,...restProps},ref){const formats=helper.getTemporalFormats(mode),valueToUse=useDayjsValues.useDayjsValues(value,formats),defaultValueToUse=useDayjsValues.useDayjsValues(value,formats),{minDateValue,maxDateValue,disabledTimeValue,disabledDateValue}=useTemporalLimit.useTemporalLimit({maxDate,minDate,disabledTime,disabledDate}),temporalRangePickerRef=useTemporalRangePickerInstance.useTemporalRangePickerInstance(ref),handleChange=react.useMemo(()=>{if(shared.isFunction(onChange))return(value2,valueFormats)=>{if(!value2){onChange(null,null);return}const dates=[value2[0].toDate(),value2[1].toDate()];onChange(useStringFormat?valueFormats.join(props.stringFormatSeparator):valueFormats,dates)}},[onChange,useStringFormat]);return mode==="time"||mode==="hour"||mode==="minute"?jsxRuntime.jsx(antd.TimePicker.RangePicker,{ref:temporalRangePickerRef,allowClear:clearable,defaultValue:defaultValueToUse,disabledTime:disabledTimeValue,format:formats,hourStep,minuteStep,secondStep,size:utils.convertBasicSizeToUiSize(size),value:valueToUse,onChange:handleChange,...restProps}):mode==="datetime"?jsxRuntime.jsx(antd.DatePicker.RangePicker,{ref:temporalRangePickerRef,showTime:!0,allowClear:clearable,defaultValue:defaultValueToUse,disabledDate:disabledDateValue,disabledTime:disabledTimeValue,format:formats,hourStep,maxDate:maxDateValue,minDate:minDateValue,minuteStep,picker:"date",secondStep,size:utils.convertBasicSizeToUiSize(size),value:valueToUse,onChange:handleChange,...restProps}):jsxRuntime.jsx(antd.DatePicker.RangePicker,{ref:temporalRangePickerRef,allowClear:clearable,defaultValue:defaultValueToUse,disabledDate:disabledDateValue,format:formats,maxDate:maxDateValue,minDate:minDateValue,picker:mode,size:utils.convertBasicSizeToUiSize(size),value:valueToUse,onChange:handleChange,...restProps})}const VefTemporalRangePicker=react.memo(react.forwardRef(VefTemporalRangePickerBase));VefTemporalRangePicker.displayName="VefTemporalRangePicker",exports.default=VefTemporalRangePicker;/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.104, build time: 2025-03-09T14:24:19.576Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const stringFormatSeparator="_";exports.stringFormatSeparator=stringFormatSeparator;/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
package/lib/vef-text/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.104, build time: 2025-03-09T14:24:19.576Z, made by Venus. */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const jsxRuntime=require("@emotion/react/jsx-runtime"),hooks=require("@vef-framework/hooks"),antd=require("antd"),react=require("react"),{Text}=antd.Typography;function VefText({variant,color,bold,ellipsis,ellipsisTip,ellipsisTipPlacement,copyable,copiedText,onCopy,...restProps}){const ellipsisConfig=react.useMemo(()=>{if(ellipsis)return{tooltip:ellipsisTip??restProps.children,placement:ellipsisTipPlacement}},[ellipsis,ellipsisTip,ellipsisTipPlacement,restProps.children]),colorTokens=hooks.useColorTokens(),styleProps=react.useMemo(()=>{const props={};return variant==="shortcut"?props.keyboard=!0:variant==="strikethrough"?props.delete=!0:variant&&(props[variant]=!0),color==="secondary"?props.type="secondary":color&&(props.css={color:colorTokens.get(color)}),bold&&(props.strong=!0),props},[bold,color,colorTokens,variant]),copyConfig=react.useMemo(()=>{if(copyable)return{format:"text/plain",text:copiedText,onCopy}},[copyable,copiedText,onCopy]);return jsxRuntime.jsx(Text,{copyable:copyConfig,ellipsis:ellipsisConfig,...styleProps,...restProps})}exports.default=VefText;/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
package/lib/vef-text/props.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.104, build time: 2025-03-09T14:24:19.576Z, made by Venus. *//*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.104, build time: 2025-03-09T14:24:19.576Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const react=require("react");function useTextareaInstance(ref){const textareaRef=react.useRef(null);return react.useImperativeHandle(ref,()=>({blur:()=>textareaRef.current?.blur(),focus:()=>textareaRef.current?.focus({preventScroll:!0})})),textareaRef}exports.useTextareaInstance=useTextareaInstance;/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.104, build time: 2025-03-09T14:24:19.576Z, made by Venus. */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const jsxRuntime=require("@emotion/react/jsx-runtime"),shared=require("@vef-framework/shared"),antd=require("antd"),react=require("react");require("../internal/index.cjs");const useTextareaInstance=require("./hooks/use-textarea-instance.cjs"),utils=require("../internal/utils.cjs"),{TextArea}=antd.Input;function normalizeValue(value){return value===""?null:value}const VefTextarea=react.forwardRef(({defaultValue,value,size,clearable,showCount,onChange,onEnterKeyPress,onBlur,onFocus,...restProps},ref)=>{const eventHandlers=react.useMemo(()=>({onChange:shared.isFunction(onChange)?event=>onChange(normalizeValue(event.target.value)):void 0,onPressEnter:shared.isFunction(onEnterKeyPress)?event=>onEnterKeyPress(normalizeValue(event.target.value)):void 0,onBlur:shared.isFunction(onBlur)?event=>onBlur(normalizeValue(event.target.value)):void 0,onFocus:shared.isFunction(onFocus)?event=>onFocus(normalizeValue(event.target.value)):void 0}),[onChange,onEnterKeyPress,onBlur,onFocus]),textareaRef=useTextareaInstance.useTextareaInstance(ref);return jsxRuntime.jsx(TextArea,{ref:textareaRef,allowClear:clearable,defaultValue,showCount,size:utils.convertBasicSizeToUiSize(size),value,...restProps,...eventHandlers})});VefTextarea.displayName="VefTextarea",exports.default=VefTextarea;/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.104, build time: 2025-03-09T14:24:19.576Z, made by Venus. *//*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
package/lib/vef-title/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.104, build time: 2025-03-09T14:24:19.576Z, made by Venus. */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const jsxRuntime=require("@emotion/react/jsx-runtime"),react=require("@emotion/react"),hooks=require("@vef-framework/hooks"),shared=require("@vef-framework/shared"),antd=require("antd"),react$1=require("react"),index=require("../vef-divider/index.cjs"),{Title}=antd.Typography,dividerStyle=react.css`
|
|
2
2
|
margin: ${shared.themeVariables.marginSm} 0 ${shared.themeVariables.marginLg};
|
|
3
3
|
`,leftBarStyle=react.css`
|
|
4
4
|
&::before {
|
package/lib/vef-title/props.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.104, build time: 2025-03-09T14:24:19.576Z, made by Venus. *//*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.104, build time: 2025-03-09T14:24:19.576Z, made by Venus. */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const jsxRuntime=require("@emotion/react/jsx-runtime"),antd=require("antd"),react=require("react"),VefTooltip=react.forwardRef(({content,trigger="hover",arrow=!0,delay=.1,defaultOpened,opened,onOpenedChange,...restProps},ref)=>{const tooltipRef=react.useRef(null);return react.useImperativeHandle(ref,()=>tooltipRef.current.nativeElement),jsxRuntime.jsx(antd.Tooltip,{ref:tooltipRef,arrow,defaultOpen:defaultOpened,mouseEnterDelay:delay,open:opened,title:content,trigger,onOpenChange:onOpenedChange,...restProps})});VefTooltip.displayName="VefTooltip",exports.default=VefTooltip;/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.104, build time: 2025-03-09T14:24:19.576Z, made by Venus. *//*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.104, build time: 2025-03-09T14:24:19.576Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const shared=require("@vef-framework/shared"),react=require("react");function useChangeHandler(onChange,options){const optionsMap=react.useMemo(()=>options.reduce((map,option)=>(map.set(option.value,option),map),new Map),[options]);return react.useMemo(()=>{if(shared.isFunction(onChange))return value=>{if(!value){onChange(null,null);return}shared.isArray(value)?onChange(value,value.map(it=>optionsMap.get(it))):onChange(value,optionsMap.get(value))}},[onChange,optionsMap])}exports.useChangeHandler=useChangeHandler;/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.104, build time: 2025-03-09T14:24:19.576Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const hooks=require("@vef-framework/hooks"),shared=require("@vef-framework/shared"),react=require("react");function useDataOptions({value,multiple=!1,onChange,...rest}){const{onFilterKeywordChange,normalizedOptions,defaultOption,isLoading,fallbackOptions,isFallbackOptionsLoading}=hooks.useComputedOptions({...rest,selectedOptionValues:shared.isArray(value)?value:value?[value]:[]});return react.useLayoutEffect(()=>{defaultOption&&shared.isFunction(onChange)&&shared.isNullish(value)&&onChange(multiple?[defaultOption.value]:defaultOption.value,multiple?[defaultOption]:defaultOption)},[defaultOption,multiple,onChange,value]),{onFilterKeywordChange,normalizedOptions,isLoading,fallbackOptions,isFallbackOptionsLoading}}exports.useDataOptions=useDataOptions;/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.104, build time: 2025-03-09T14:24:19.576Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const react=require("react");function useTreeSelectInstance(ref,dataOptions){const treeSelectRef=react.useRef(null);return react.useImperativeHandle(ref,()=>({blur:()=>{treeSelectRef.current?.blur()},focus:()=>{treeSelectRef.current?.focus({preventScroll:!0})},getDataOptions:()=>dataOptions})),treeSelectRef}exports.useTreeSelectInstance=useTreeSelectInstance;/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.104, build time: 2025-03-09T14:24:19.576Z, made by Venus. */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const jsxRuntime=require("@emotion/react/jsx-runtime"),hooks=require("@vef-framework/hooks"),shared=require("@vef-framework/shared"),antd=require("antd"),react=require("react");require("../internal/index.cjs");const index=require("../vef-loading-placeholder/index.cjs"),useChangeHandler=require("./hooks/use-change-handler.cjs"),useDataOptions=require("./hooks/use-data-options.cjs"),useTreeSelectInstance=require("./hooks/use-tree-select-instance.cjs"),utils=require("../internal/utils.cjs"),listHeight=280,loadingPlaceholder=jsxRuntime.jsx("div",{css:{height:listHeight/2},children:jsxRuntime.jsx(index.default,{})}),treeLineOptions={showLeafIcon:!1};function VefTreeSelectBase({defaultValue,value,size,clearable,disabled,placeholder,variant,maxCount,onClear,onBlur,onFocus,onChange,onSelect,onDeselect,multiple=!1,filterable=!0,filterFromRemote=!1,...restProps},ref){const{normalizedOptions,isLoading}=useDataOptions.useDataOptions({value,multiple,onChange,filterable,filterFromRemote,...restProps}),filterTreeNode=hooks.useOptionFilter(filterable,!1),handleChange=useChangeHandler.useChangeHandler(onChange,normalizedOptions),treeSelectRef=useTreeSelectInstance.useTreeSelectInstance(ref,normalizedOptions);return jsxRuntime.jsx(antd.TreeSelect,{ref:treeSelectRef,virtual:!0,allowClear:clearable,css:shared.styles.fullWidth,defaultValue,disabled,filterTreeNode,listHeight,loading:isLoading,maxCount,maxTagCount:multiple?"responsive":void 0,multiple,notFoundContent:isLoading?loadingPlaceholder:void 0,placeholder,showSearch:filterable,size:utils.convertBasicSizeToUiSize(size),treeCheckable:multiple,treeData:normalizedOptions,treeLine:treeLineOptions,value,variant,onBlur,onChange:handleChange,onClear,onDeselect,onFocus,onSelect})}const VefTreeSelect=react.memo(react.forwardRef(VefTreeSelectBase));VefTreeSelect.displayName="VefTreeSelect",exports.default=VefTreeSelect;/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.104, build time: 2025-03-09T14:24:19.576Z, made by Venus. *//*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.104, build time: 2025-03-09T14:24:19.576Z, made by Venus. */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const jsxRuntime=require("@emotion/react/jsx-runtime"),react=require("@emotion/react"),reactVirtual=require("@tanstack/react-virtual"),hooks=require("@vef-framework/hooks"),shared=require("@vef-framework/shared"),react$1=require("react"),index$1=require("../vef-auto-sizer/index.cjs"),index=require("../vef-scroll-area/index.cjs"),viewportStyle={willChange:"transform"},containerStyle=react.css`
|
|
2
2
|
position: relative;
|
|
3
3
|
width: var(--vef-virtual-grid-width);
|
|
4
4
|
height: var(--vef-virtual-grid-height);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.104, build time: 2025-03-09T14:24:19.576Z, made by Venus. *//*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.104, build time: 2025-03-09T14:24:19.576Z, made by Venus. */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const jsxRuntime=require("@emotion/react/jsx-runtime"),react=require("@emotion/react"),reactVirtual=require("@tanstack/react-virtual"),hooks=require("@vef-framework/hooks"),shared=require("@vef-framework/shared"),react$1=require("react"),index$1=require("../vef-auto-sizer/index.cjs"),index=require("../vef-scroll-area/index.cjs"),viewportStyle={willChange:"transform"},containerStyle=react.css`
|
|
2
2
|
position: relative;
|
|
3
3
|
width: var(--vef-virtual-list-width, auto);
|
|
4
4
|
height: var(--vef-virtual-list-height, auto);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.104, build time: 2025-03-09T14:24:19.576Z, made by Venus. *//*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vef-framework/components",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.104",
|
|
5
5
|
"private": false,
|
|
6
6
|
"packageManager": "pnpm@9.15.0",
|
|
7
7
|
"description": "Components fundamental to the VEF framework",
|
|
@@ -35,25 +35,39 @@
|
|
|
35
35
|
"tslib": "2.8.1",
|
|
36
36
|
"use-sync-external-store": "^1.4.0",
|
|
37
37
|
"@ant-design/icons": "5.6.1",
|
|
38
|
+
"@codemirror/lang-json": "^6.0.1",
|
|
39
|
+
"@codemirror/lang-yaml": "^6.1.2",
|
|
40
|
+
"@codemirror/language": "^6.10.8",
|
|
41
|
+
"@codemirror/lint": "^6.8.4",
|
|
42
|
+
"@codemirror/state": "^6.5.2",
|
|
43
|
+
"@codemirror/view": "^6.36.4",
|
|
38
44
|
"@dagrejs/dagre": "^1.1.4",
|
|
39
45
|
"@dnd-kit/core": "6.3.1",
|
|
40
46
|
"@dnd-kit/modifiers": "9.0.0",
|
|
41
47
|
"@dnd-kit/sortable": "10.0.0",
|
|
42
48
|
"@dnd-kit/utilities": "3.2.2",
|
|
43
49
|
"@handsontable/react-wrapper": "^15.1.0",
|
|
50
|
+
"@lezer/common": "^1.2.3",
|
|
51
|
+
"@monaco-editor/react": "^4.7.0",
|
|
44
52
|
"@patternfly/react-topology": "^6.1.0",
|
|
45
53
|
"@radix-ui/react-scroll-area": "1.2.3",
|
|
46
54
|
"@tanstack/react-table": "^8.21.2",
|
|
47
55
|
"@tanstack/react-virtual": "3.13.2",
|
|
48
|
-
"@
|
|
49
|
-
"@
|
|
50
|
-
"@
|
|
56
|
+
"@uiw/codemirror-extensions-langs": "^4.23.10",
|
|
57
|
+
"@uiw/codemirror-theme-material": "^4.23.10",
|
|
58
|
+
"@uiw/react-codemirror": "^4.23.10",
|
|
59
|
+
"@vef-framework/core": "1.0.104",
|
|
60
|
+
"@vef-framework/hooks": "1.0.104",
|
|
61
|
+
"@vef-framework/shared": "1.0.104",
|
|
51
62
|
"@xyflow/react": "^12.4.4",
|
|
52
63
|
"clsx": "2.1.1",
|
|
64
|
+
"codemirror-json-schema": "^0.8.0",
|
|
65
|
+
"codemirror-json5": "^1.0.3",
|
|
53
66
|
"dayjs": "1.11.13",
|
|
54
67
|
"handsontable": "^15.1.0",
|
|
55
|
-
"lucide-react": "0.
|
|
68
|
+
"lucide-react": "0.479.0",
|
|
56
69
|
"modern-normalize": "^3.0.1",
|
|
70
|
+
"monaco-editor": "^0.52.2",
|
|
57
71
|
"motion": "12.4.10",
|
|
58
72
|
"polished": "4.3.1",
|
|
59
73
|
"react-container-query": "0.13.0",
|
package/types/index.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ export { default as VefChartContainer, type VefChartContainerProps } from "./vef
|
|
|
16
16
|
export { default as VefChartLegendContent, type VefChartLegendContentProps } from "./vef-chart-legend-content";
|
|
17
17
|
export { default as VefChartTooltipContent, type VefChartTooltipContentProps } from "./vef-chart-tooltip-content";
|
|
18
18
|
export { default as VefCheckbox, type VefCheckboxInstance, type VefCheckboxProps } from "./vef-checkbox";
|
|
19
|
+
export { default as VefCodeEditor, type LanguageName as CodeEditorLanguageName, type VefCodeEditorProps } from "./vef-code-editor";
|
|
19
20
|
export { default as VefCol, type VefColProps } from "./vef-col";
|
|
20
21
|
export { default as VefColorPicker, type VefColorPickerProps } from "./vef-color-picker";
|
|
21
22
|
export { default as VefCompact, type VefCompactProps } from "./vef-compact";
|
|
@@ -43,6 +44,7 @@ export { default as VefIcon, type VefIconProps } from "./vef-icon";
|
|
|
43
44
|
export { default as VefIconSelect, type VefIconSelectProps } from "./vef-icon-select";
|
|
44
45
|
export { default as VefInput, type VefInputInstance, type VefInputProps } from "./vef-input";
|
|
45
46
|
export { default as VefInputNumber, type VefInputNumberInstance, type VefInputNumberProps } from "./vef-input-number";
|
|
47
|
+
export { default as VefIntellisenseCodeEditor, type LanguageName as IntellisenseCodeEditorLanguageName, type VefIntellisenseCodeEditorProps } from "./vef-intellisense-code-editor";
|
|
46
48
|
export { default as VefLayout, type VefLayoutProps } from "./vef-layout";
|
|
47
49
|
export { default as VefLineChart, type VefLineChartProps } from "./vef-line-chart";
|
|
48
50
|
export { default as VefLoadingPlaceholder, type VefLoadingPlaceholderProps } from "./vef-loading-placeholder";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { LengthValue } from "@vef-framework/shared";
|
|
2
|
+
/**
|
|
3
|
+
* Use height props
|
|
4
|
+
*
|
|
5
|
+
* @param height - The height
|
|
6
|
+
* @param maxHeight - The max height
|
|
7
|
+
* @param minHeight - The min height
|
|
8
|
+
* @returns The height props
|
|
9
|
+
*/
|
|
10
|
+
export declare function useHeightProps(height: LengthValue, maxHeight?: LengthValue, minHeight?: LengthValue): {
|
|
11
|
+
height: string;
|
|
12
|
+
minHeight?: string;
|
|
13
|
+
maxHeight?: string;
|
|
14
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Extension } from "@codemirror/state";
|
|
2
|
+
import type { JSONSchema7 } from "@vef-framework/shared";
|
|
3
|
+
import type { LanguageName } from "../props";
|
|
4
|
+
/**
|
|
5
|
+
* Use the language extensions.
|
|
6
|
+
*
|
|
7
|
+
* @param language - The language name.
|
|
8
|
+
* @param jsonSchema - The JSON schema.
|
|
9
|
+
* @returns The language extensions.
|
|
10
|
+
*/
|
|
11
|
+
export declare function useLanguageExtensions(language?: LanguageName, jsonSchema?: string | JSONSchema7): Extension[];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { BasicSetupOptions } from "@uiw/react-codemirror";
|
|
2
|
+
/**
|
|
3
|
+
* Use setup options
|
|
4
|
+
*
|
|
5
|
+
* @param tabSize - The tab size
|
|
6
|
+
* @param showLineNumbers - Whether to show line numbers
|
|
7
|
+
* @returns The setup options
|
|
8
|
+
*/
|
|
9
|
+
export declare function useSetupOptions(tabSize?: 2 | 4, showLineNumbers?: boolean): BasicSetupOptions;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { LanguageName, VefCodeEditorProps } from "./props";
|
|
2
|
+
declare function VefCodeEditorBase({ value, language, disabled, height, minHeight, maxHeight, placeholder, tabSize, autoFocus, jsonSchema, onChange, showLineNumbers, }: VefCodeEditorProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare const VefCodeEditor: import("react").MemoExoticComponent<typeof VefCodeEditorBase>;
|
|
4
|
+
export type { LanguageName, VefCodeEditorProps };
|
|
5
|
+
export default VefCodeEditor;
|