@vef-framework/components 1.0.99 → 1.0.101
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 +4 -4
- 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 +2 -2
- package/es/vef-approval-flow-editor/components/nodes/approval.js +2 -2
- package/es/vef-approval-flow-editor/components/nodes/condition.js +2 -2
- package/es/vef-approval-flow-editor/components/nodes/end.js +2 -2
- package/es/vef-approval-flow-editor/components/nodes/handle.js +2 -2
- package/es/vef-approval-flow-editor/components/nodes/index.js +1 -1
- package/es/vef-approval-flow-editor/components/nodes/submit.js +2 -2
- 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 +14 -14
- 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-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 +5 -5
- 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 +3 -3
- package/es/vef-crud-page/hooks/use-crud-context.js +1 -1
- package/es/vef-crud-page/hooks/use-crud-schema.js +3 -3
- package/es/vef-crud-page/hooks/use-operation-buttons.js +4 -4
- package/es/vef-crud-page/index.js +1 -1
- package/es/vef-crud-page/store.js +2 -2
- 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 +3 -3
- 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 +4 -4
- package/es/vef-filter/components/action-buttons.js +5 -5
- 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 +2 -2
- package/es/vef-filter/components/fields/input.js +2 -2
- package/es/vef-filter/components/fields/radio.js +1 -1
- package/es/vef-filter/components/fields/select.js +2 -2
- package/es/vef-filter/components/fields/tree-select.js +2 -2
- 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 +2 -2
- package/es/vef-form/components/fields/index.js +1 -1
- package/es/vef-form/components/fields/input-number.js +2 -2
- package/es/vef-form/components/fields/input.js +2 -2
- package/es/vef-form/components/fields/password.js +2 -2
- package/es/vef-form/components/fields/radio.js +1 -1
- package/es/vef-form/components/fields/select.js +2 -2
- package/es/vef-form/components/fields/textarea.js +2 -2
- package/es/vef-form/components/fields/tree-select.js +2 -2
- package/es/vef-form/components/form-actions.js +3 -3
- package/es/vef-form/components/form-content.js +2 -2
- package/es/vef-form/components/form-field.js +1 -1
- package/es/vef-form/components/form-group.js +2 -2
- 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 +2 -2
- 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 +19 -19
- package/es/vef-form-drawer/index.js +2 -2
- package/es/vef-form-modal/index.js +3 -3
- 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 +2 -2
- 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-layout/common-styles.js +1 -1
- package/es/vef-layout/components/content.js +1 -1
- package/es/vef-layout/components/font-size.js +3 -3
- package/es/vef-layout/components/fullscreen.js +2 -2
- 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 +9 -9
- 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 +2 -2
- package/es/vef-layout/components/user-avatar.js +6 -6
- 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 +13 -13
- 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 +3 -3
- package/es/vef-not-found/index.js +4 -4
- package/es/vef-not-found/not-found-icon.js +1 -1
- package/es/vef-page/index.js +2 -2
- package/es/vef-pagination/index.js +3 -3
- 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 +3 -3
- 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 +5 -5
- 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 +3 -3
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +4 -4
- 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 +2 -2
- package/lib/vef-approval-flow-editor/components/nodes/approval.cjs +2 -2
- package/lib/vef-approval-flow-editor/components/nodes/condition.cjs +2 -2
- package/lib/vef-approval-flow-editor/components/nodes/end.cjs +2 -2
- package/lib/vef-approval-flow-editor/components/nodes/handle.cjs +2 -2
- package/lib/vef-approval-flow-editor/components/nodes/index.cjs +1 -1
- package/lib/vef-approval-flow-editor/components/nodes/submit.cjs +2 -2
- 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 +14 -14
- 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-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 +5 -5
- 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 +3 -3
- package/lib/vef-crud-page/hooks/use-crud-context.cjs +1 -1
- package/lib/vef-crud-page/hooks/use-crud-schema.cjs +3 -3
- package/lib/vef-crud-page/hooks/use-operation-buttons.cjs +4 -4
- 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 +2 -2
- 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 +3 -3
- 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 +4 -4
- package/lib/vef-error/props.cjs +1 -1
- package/lib/vef-filter/components/action-buttons.cjs +5 -5
- 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 +2 -2
- package/lib/vef-filter/components/fields/input.cjs +2 -2
- 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 +2 -2
- package/lib/vef-filter/components/fields/tree-select.cjs +2 -2
- 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 +2 -2
- package/lib/vef-form/components/fields/index.cjs +1 -1
- package/lib/vef-form/components/fields/input-number.cjs +2 -2
- package/lib/vef-form/components/fields/input.cjs +2 -2
- package/lib/vef-form/components/fields/password.cjs +2 -2
- 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 +2 -2
- package/lib/vef-form/components/fields/textarea.cjs +2 -2
- package/lib/vef-form/components/fields/tree-select.cjs +2 -2
- package/lib/vef-form/components/form-actions.cjs +3 -3
- package/lib/vef-form/components/form-content.cjs +2 -2
- package/lib/vef-form/components/form-field.cjs +1 -1
- package/lib/vef-form/components/form-group.cjs +2 -2
- 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 +2 -2
- 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 +19 -19
- package/lib/vef-form-drawer/index.cjs +2 -2
- package/lib/vef-form-drawer/props.cjs +1 -1
- package/lib/vef-form-modal/index.cjs +3 -3
- 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 +2 -2
- 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-layout/common-styles.cjs +1 -1
- package/lib/vef-layout/components/content.cjs +1 -1
- package/lib/vef-layout/components/font-size.cjs +3 -3
- package/lib/vef-layout/components/fullscreen.cjs +2 -2
- 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 +9 -9
- 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 +2 -2
- package/lib/vef-layout/components/user-avatar.cjs +6 -6
- 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 +13 -13
- 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 +3 -3
- package/lib/vef-modal/props.cjs +1 -1
- package/lib/vef-not-found/index.cjs +4 -4
- 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 +2 -2
- package/lib/vef-page/props.cjs +1 -1
- package/lib/vef-pagination/index.cjs +3 -3
- 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 +3 -3
- 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 +5 -5
- 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 +3 -3
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +4 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.971Z, made by Venus. */
|
|
2
2
|
import { isFunction } from '@vef-framework/shared';
|
|
3
3
|
import { useMemo, useEffect, useLayoutEffect } from 'react';
|
|
4
4
|
import { useFilterStore } from '../store.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.971Z, made by Venus. */
|
|
2
2
|
import { showWarningMessage } from '@vef-framework/shared';
|
|
3
3
|
import { useMemo } from 'react';
|
|
4
4
|
|
package/es/vef-filter/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.971Z, made by Venus. */
|
|
2
2
|
import { jsx, jsxs } from '@emotion/react/jsx-runtime';
|
|
3
3
|
import { css } from '@emotion/react';
|
|
4
4
|
import { useContextDisabled, DisabledContextProvider, useSingleton, useUnmount } from '@vef-framework/hooks';
|
package/es/vef-filter/store.js
CHANGED
package/es/vef-flex/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.971Z, made by Venus. */
|
|
2
2
|
import { jsx } from '@emotion/react/jsx-runtime';
|
|
3
3
|
import { useGapSizeNormalizer } from '@vef-framework/hooks';
|
|
4
4
|
import { isArray } from '@vef-framework/shared';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.971Z, made by Venus. */
|
|
2
2
|
import { jsx } from '@emotion/react/jsx-runtime';
|
|
3
3
|
import { useColorTokens } from '@vef-framework/hooks';
|
|
4
4
|
import { FloatButton } from 'antd';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.971Z, made by Venus. */
|
|
2
2
|
import { jsx } from '@emotion/react/jsx-runtime';
|
|
3
3
|
import { FloatButton } from 'antd';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.971Z, made by Venus. */
|
|
2
2
|
import { jsx } from '@emotion/react/jsx-runtime';
|
|
3
3
|
import { VefError, isString, isFunction } from '@vef-framework/shared';
|
|
4
4
|
import { useMemo } from 'react';
|
|
@@ -25,7 +25,7 @@ function IconSelect({
|
|
|
25
25
|
{
|
|
26
26
|
key: "placeholder",
|
|
27
27
|
rawValue: placeholder,
|
|
28
|
-
defaultValue: label ? isString(label) ?
|
|
28
|
+
defaultValue: label ? isString(label) ? `请输入${label}` : "请输入" : void 0
|
|
29
29
|
}
|
|
30
30
|
]);
|
|
31
31
|
const [form, scene, setValues] = useFormStore((state) => [state.form, state.scene, state.setValues]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.971Z, made by Venus. */
|
|
2
2
|
import IconSelect from './icon-select.js';
|
|
3
3
|
import Input from './input.js';
|
|
4
4
|
import InputNumber from './input-number.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.971Z, made by Venus. */
|
|
2
2
|
import { jsx } from '@emotion/react/jsx-runtime';
|
|
3
3
|
import { VefError, isString, isFunction } from '@vef-framework/shared';
|
|
4
4
|
import { useMemo } from 'react';
|
|
@@ -32,7 +32,7 @@ function InputNumber({
|
|
|
32
32
|
{
|
|
33
33
|
key: "placeholder",
|
|
34
34
|
rawValue: placeholder,
|
|
35
|
-
defaultValue: label ? isString(label) ?
|
|
35
|
+
defaultValue: label ? isString(label) ? `请输入${label}` : "请输入" : void 0
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
38
|
key: "max",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.971Z, made by Venus. */
|
|
2
2
|
import { jsx } from '@emotion/react/jsx-runtime';
|
|
3
3
|
import { VefError, isString, isFunction } from '@vef-framework/shared';
|
|
4
4
|
import { useMemo } from 'react';
|
|
@@ -33,7 +33,7 @@ function Input({
|
|
|
33
33
|
{
|
|
34
34
|
key: "placeholder",
|
|
35
35
|
rawValue: placeholder,
|
|
36
|
-
defaultValue: label ? isString(label) ?
|
|
36
|
+
defaultValue: label ? isString(label) ? `请输入${label}` : "请输入" : void 0
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
39
|
key: "maxLength",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.971Z, made by Venus. */
|
|
2
2
|
import { jsx } from '@emotion/react/jsx-runtime';
|
|
3
3
|
import { VefError, isString, isFunction } from '@vef-framework/shared';
|
|
4
4
|
import { useMemo } from 'react';
|
|
@@ -32,7 +32,7 @@ function Password({
|
|
|
32
32
|
{
|
|
33
33
|
key: "placeholder",
|
|
34
34
|
rawValue: placeholder,
|
|
35
|
-
defaultValue: label ? isString(label) ?
|
|
35
|
+
defaultValue: label ? isString(label) ? `请输入${label}` : "请输入" : void 0
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
38
|
key: "maxLength",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.971Z, made by Venus. */
|
|
2
2
|
import { jsx } from '@emotion/react/jsx-runtime';
|
|
3
3
|
import { VefError, isFunction } from '@vef-framework/shared';
|
|
4
4
|
import { useCallback } from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.971Z, made by Venus. */
|
|
2
2
|
import { jsx } from '@emotion/react/jsx-runtime';
|
|
3
3
|
import { VefError, isString, isFunction } from '@vef-framework/shared';
|
|
4
4
|
import { useMemo } from 'react';
|
|
@@ -70,7 +70,7 @@ function Select({
|
|
|
70
70
|
{
|
|
71
71
|
key: "placeholder",
|
|
72
72
|
rawValue: placeholder,
|
|
73
|
-
defaultValue: label ? isString(label) ?
|
|
73
|
+
defaultValue: label ? isString(label) ? `请选择${label}` : "请选择" : void 0
|
|
74
74
|
},
|
|
75
75
|
{
|
|
76
76
|
key: "maxCount",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.971Z, made by Venus. */
|
|
2
2
|
import { jsx } from '@emotion/react/jsx-runtime';
|
|
3
3
|
import { VefError, isString, isFunction } from '@vef-framework/shared';
|
|
4
4
|
import { useMemo } from 'react';
|
|
@@ -31,7 +31,7 @@ function Textarea({
|
|
|
31
31
|
{
|
|
32
32
|
key: "placeholder",
|
|
33
33
|
rawValue: placeholder,
|
|
34
|
-
defaultValue: label ? isString(label) ?
|
|
34
|
+
defaultValue: label ? isString(label) ? `请输入${label}` : "请输入" : void 0
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
37
|
key: "maxLength",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.971Z, made by Venus. */
|
|
2
2
|
import { jsx } from '@emotion/react/jsx-runtime';
|
|
3
3
|
import { VefError, isString, isFunction } from '@vef-framework/shared';
|
|
4
4
|
import { useMemo } from 'react';
|
|
@@ -68,7 +68,7 @@ function TreeSelect({
|
|
|
68
68
|
{
|
|
69
69
|
key: "placeholder",
|
|
70
70
|
rawValue: placeholder,
|
|
71
|
-
defaultValue: label ? isString(label) ?
|
|
71
|
+
defaultValue: label ? isString(label) ? `请选择${label}` : "请选择" : void 0
|
|
72
72
|
},
|
|
73
73
|
{
|
|
74
74
|
key: "maxCount",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.971Z, made by Venus. */
|
|
2
2
|
import { jsx, jsxs } from '@emotion/react/jsx-runtime';
|
|
3
3
|
import { CheckOutlined } from '@ant-design/icons';
|
|
4
4
|
import { css } from '@emotion/react';
|
|
@@ -11,11 +11,11 @@ import { useFormStore } from '../store.js';
|
|
|
11
11
|
|
|
12
12
|
const { Item } = Form;
|
|
13
13
|
const defaultSubmissionButtonConfig = {
|
|
14
|
-
text: "
|
|
14
|
+
text: "提交",
|
|
15
15
|
icon: /* @__PURE__ */ jsx(CheckOutlined, {})
|
|
16
16
|
};
|
|
17
17
|
const defaultResetButtonConfig = {
|
|
18
|
-
text: "
|
|
18
|
+
text: "重置"
|
|
19
19
|
};
|
|
20
20
|
const buttonContainerStyle = css`
|
|
21
21
|
padding: ${themeVariables.padding} 0;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.971Z, made by Venus. */
|
|
2
2
|
import { jsx, jsxs, Fragment } from '@emotion/react/jsx-runtime';
|
|
3
3
|
import { css } from '@emotion/react';
|
|
4
4
|
import { debounce, styles, isDeepEqual, omit } from '@vef-framework/shared';
|
|
@@ -73,7 +73,7 @@ function VefFormContentBase({
|
|
|
73
73
|
setShowActionButtons(showedGroups.length > 0);
|
|
74
74
|
}, [setShowActionButtons, showedGroups.length]);
|
|
75
75
|
if (showedGroups.length === 0) {
|
|
76
|
-
return /* @__PURE__ */ jsx(VefEmptyPlaceholder, { description: "
|
|
76
|
+
return /* @__PURE__ */ jsx(VefEmptyPlaceholder, { description: "空表单" });
|
|
77
77
|
}
|
|
78
78
|
if (showTabs === "switch") {
|
|
79
79
|
const items = schema.map(({ key, rows }) => ({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.971Z, made by Venus. */
|
|
2
2
|
import { jsx } from '@emotion/react/jsx-runtime';
|
|
3
3
|
import { VefError } from '@vef-framework/shared';
|
|
4
4
|
import { useMemo } from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.971Z, made by Venus. */
|
|
2
2
|
import { jsxs, jsx } from '@emotion/react/jsx-runtime';
|
|
3
3
|
import { css } from '@emotion/react';
|
|
4
4
|
import { themeVariables, isDeepEqual, omit } from '@vef-framework/shared';
|
|
@@ -42,7 +42,7 @@ function VefFormGroupBase({
|
|
|
42
42
|
const showedRows = useMemo(() => rows.filter(({ key }) => computedValues[`show-${key}`]), [computedValues, rows]);
|
|
43
43
|
return /* @__PURE__ */ jsxs("div", { ref: groupRef, css: groupStyle, children: [
|
|
44
44
|
title && /* @__PURE__ */ jsx(VefTitle, { showBottomLine: true, showLeftBar: true, level: 4, children: title }),
|
|
45
|
-
/* @__PURE__ */ jsx("div", { className: "vef-form-group-content", children: showedRows.length === 0 ? /* @__PURE__ */ jsx(VefEmptyPlaceholder, { description: "
|
|
45
|
+
/* @__PURE__ */ jsx("div", { className: "vef-form-group-content", children: showedRows.length === 0 ? /* @__PURE__ */ jsx(VefEmptyPlaceholder, { description: "空表单组" }) : showedRows.map(
|
|
46
46
|
({
|
|
47
47
|
key,
|
|
48
48
|
autoExpand: rowAutoExpand,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.971Z, made by Venus. */
|
|
2
2
|
import { jsx } from '@emotion/react/jsx-runtime';
|
|
3
3
|
import { Form } from 'antd';
|
|
4
4
|
import { memo } from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.971Z, made by Venus. */
|
|
2
2
|
import { jsx } from '@emotion/react/jsx-runtime';
|
|
3
3
|
import { useContextDisabled } from '@vef-framework/hooks';
|
|
4
4
|
import { isArray } from '@vef-framework/shared';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.971Z, made by Venus. */
|
|
2
2
|
import { jsxs, Fragment, jsx } from '@emotion/react/jsx-runtime';
|
|
3
3
|
import { isDeepEqual, omit } from '@vef-framework/shared';
|
|
4
4
|
import { useMemo, memo } from 'react';
|
package/es/vef-form/event.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.971Z, made by Venus. */
|
|
2
2
|
import { createEventEmitter } from '@vef-framework/shared';
|
|
3
3
|
|
|
4
4
|
var __typeError = (msg) => {
|
package/es/vef-form/helper.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.971Z, made by Venus. */
|
|
2
2
|
import { isFunction, isIternalFunction, isExpression, compileDynamicFn } from '@vef-framework/shared';
|
|
3
3
|
|
|
4
4
|
function computeValue(value, values, scene, defaultValue) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.971Z, made by Venus. */
|
|
2
2
|
import { useApiContext } from '@vef-framework/core';
|
|
3
3
|
import { isFunction, VefError, showLoadingMessage, omit, showSuccessMessage } from '@vef-framework/shared';
|
|
4
4
|
import { useCallback, useMemo } from 'react';
|
|
@@ -6,7 +6,7 @@ import { useFormStore } from '../store.js';
|
|
|
6
6
|
|
|
7
7
|
function useActionHandlers({
|
|
8
8
|
submitApi,
|
|
9
|
-
submitTip = "
|
|
9
|
+
submitTip = "提交中...",
|
|
10
10
|
onBeforeSubmit,
|
|
11
11
|
onSubmit,
|
|
12
12
|
onSubmitSuccess,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.971Z, made by Venus. */
|
|
2
2
|
import { unique, VefError } from '@vef-framework/shared';
|
|
3
3
|
import { useMemo } from 'react';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.971Z, made by Venus. */
|
|
2
2
|
import { useUpdater, useDeepMemo, useDeepLayoutEffect } from '@vef-framework/hooks';
|
|
3
3
|
import { isFunctionOrExpression, isDeepEqual } from '@vef-framework/shared';
|
|
4
4
|
import { computeValue } from '../helper.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.971Z, made by Venus. */
|
|
2
2
|
import { isNullish, isFunction } from '@vef-framework/shared';
|
|
3
3
|
import { useMemo } from 'react';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.971Z, made by Venus. */
|
|
2
2
|
import { useImperativeHandle } from 'react';
|
|
3
3
|
import { useFormStore } from '../store.js';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.971Z, made by Venus. */
|
|
2
2
|
import { isFunction } from '@vef-framework/shared';
|
|
3
3
|
import { useMemo, useEffect, useLayoutEffect } from 'react';
|
|
4
4
|
import { useFormStore } from '../store.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.971Z, made by Venus. */
|
|
2
2
|
import { showWarningMessage } from '@vef-framework/shared';
|
|
3
3
|
import { useMemo } from 'react';
|
|
4
4
|
|
package/es/vef-form/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.971Z, made by Venus. */
|
|
2
2
|
import { jsxs, jsx } from '@emotion/react/jsx-runtime';
|
|
3
3
|
import { css } from '@emotion/react';
|
|
4
4
|
import { useContextDisabled, useSingleton, useUnmount } from '@vef-framework/hooks';
|
package/es/vef-form/store.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.971Z, made by Venus. */
|
|
2
2
|
import { isDeepEqual, VefError, validator, getNowDateString } from '@vef-framework/shared';
|
|
3
3
|
|
|
4
4
|
function isRequired(message) {
|
|
@@ -17,7 +17,7 @@ function isEqualsTo(target, message) {
|
|
|
17
17
|
if (isDeepEqual(value, target)) {
|
|
18
18
|
return Promise.resolve();
|
|
19
19
|
}
|
|
20
|
-
return Promise.reject(new VefError(-2, message ?? `${label ? `${label}
|
|
20
|
+
return Promise.reject(new VefError(-2, message ?? `${label ? `${label}的值` : "值"}必须是${target}`));
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
];
|
|
@@ -30,7 +30,7 @@ function isNotEqualsTo(target, message) {
|
|
|
30
30
|
if (!isDeepEqual(value, target)) {
|
|
31
31
|
return Promise.resolve();
|
|
32
32
|
}
|
|
33
|
-
return Promise.reject(new VefError(-2, message ?? `${label ? `${label}
|
|
33
|
+
return Promise.reject(new VefError(-2, message ?? `${label ? `${label}的值` : "值"}不能是${target}`));
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
];
|
|
@@ -81,7 +81,7 @@ function isAlpha(message) {
|
|
|
81
81
|
if (validator.isAlpha(value)) {
|
|
82
82
|
return Promise.resolve();
|
|
83
83
|
}
|
|
84
|
-
return Promise.reject(new VefError(-2, message ?? `${label ?? "
|
|
84
|
+
return Promise.reject(new VefError(-2, message ?? `${label ?? "值"}必须是字母`));
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
];
|
|
@@ -94,7 +94,7 @@ function isAlphanumeric(message) {
|
|
|
94
94
|
if (validator.isAlphanumeric(value)) {
|
|
95
95
|
return Promise.resolve();
|
|
96
96
|
}
|
|
97
|
-
return Promise.reject(new VefError(-2, message ?? `${label ?? "
|
|
97
|
+
return Promise.reject(new VefError(-2, message ?? `${label ?? "值"}必须是字母或数字`));
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
];
|
|
@@ -107,7 +107,7 @@ function isAscii(message) {
|
|
|
107
107
|
if (validator.isAscii(value)) {
|
|
108
108
|
return Promise.resolve();
|
|
109
109
|
}
|
|
110
|
-
return Promise.reject(new VefError(-2, message ?? `${label ?? "
|
|
110
|
+
return Promise.reject(new VefError(-2, message ?? `${label ?? "值"}必须是ASCII字符`));
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
];
|
|
@@ -120,7 +120,7 @@ function isNumeric(message) {
|
|
|
120
120
|
if (validator.isNumeric(value)) {
|
|
121
121
|
return Promise.resolve();
|
|
122
122
|
}
|
|
123
|
-
return Promise.reject(new VefError(-2, message ?? `${label ?? "
|
|
123
|
+
return Promise.reject(new VefError(-2, message ?? `${label ?? "值"}必须是数字`));
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
];
|
|
@@ -133,7 +133,7 @@ function isEmail(message) {
|
|
|
133
133
|
if (validator.isEmail(value)) {
|
|
134
134
|
return Promise.resolve();
|
|
135
135
|
}
|
|
136
|
-
return Promise.reject(new VefError(-2, message ?? `${label ?? "
|
|
136
|
+
return Promise.reject(new VefError(-2, message ?? `${label ?? "值"}必须是合法的邮箱`));
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
139
|
];
|
|
@@ -146,7 +146,7 @@ function isHexColor(message) {
|
|
|
146
146
|
if (validator.isHexColor(value)) {
|
|
147
147
|
return Promise.resolve();
|
|
148
148
|
}
|
|
149
|
-
return Promise.reject(new VefError(-2, message ?? `${label ?? "
|
|
149
|
+
return Promise.reject(new VefError(-2, message ?? `${label ?? "值"}必须是十六进制颜色`));
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
152
|
];
|
|
@@ -159,7 +159,7 @@ function isIdentityCard(message) {
|
|
|
159
159
|
if (validator.isIdentityCard(value)) {
|
|
160
160
|
return Promise.resolve();
|
|
161
161
|
}
|
|
162
|
-
return Promise.reject(new VefError(-2, message ?? `${label ?? "
|
|
162
|
+
return Promise.reject(new VefError(-2, message ?? `${label ?? "值"}必须是合法的身份证`));
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
165
|
];
|
|
@@ -172,7 +172,7 @@ function isIp(message) {
|
|
|
172
172
|
if (validator.isIp(value)) {
|
|
173
173
|
return Promise.resolve();
|
|
174
174
|
}
|
|
175
|
-
return Promise.reject(new VefError(-2, message ?? `${label ?? "
|
|
175
|
+
return Promise.reject(new VefError(-2, message ?? `${label ?? "值"}必须是合法的IP地址`));
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
178
|
];
|
|
@@ -185,7 +185,7 @@ function isPort(message) {
|
|
|
185
185
|
if (validator.isPort(value)) {
|
|
186
186
|
return Promise.resolve();
|
|
187
187
|
}
|
|
188
|
-
return Promise.reject(new VefError(-2, message ?? `${label ?? "
|
|
188
|
+
return Promise.reject(new VefError(-2, message ?? `${label ?? "值"}必须是合法的端口`));
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
191
|
];
|
|
@@ -198,7 +198,7 @@ function isJson(message) {
|
|
|
198
198
|
if (validator.isJson(value)) {
|
|
199
199
|
return Promise.resolve();
|
|
200
200
|
}
|
|
201
|
-
return Promise.reject(new VefError(-2, message ?? `${label ?? "
|
|
201
|
+
return Promise.reject(new VefError(-2, message ?? `${label ?? "值"}必须是合法的JSON`));
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
204
|
];
|
|
@@ -211,7 +211,7 @@ function isUrl(message) {
|
|
|
211
211
|
if (validator.isUrl(value)) {
|
|
212
212
|
return Promise.resolve();
|
|
213
213
|
}
|
|
214
|
-
return Promise.reject(new VefError(-2, message ?? `${label ?? "
|
|
214
|
+
return Promise.reject(new VefError(-2, message ?? `${label ?? "值"}必须是合法的URL`));
|
|
215
215
|
}
|
|
216
216
|
}
|
|
217
217
|
];
|
|
@@ -224,7 +224,7 @@ function isUri(message) {
|
|
|
224
224
|
if (validator.isUri(value)) {
|
|
225
225
|
return Promise.resolve();
|
|
226
226
|
}
|
|
227
|
-
return Promise.reject(new VefError(-2, message ?? `${label ?? "
|
|
227
|
+
return Promise.reject(new VefError(-2, message ?? `${label ?? "值"}必须是合法的URI`));
|
|
228
228
|
}
|
|
229
229
|
}
|
|
230
230
|
];
|
|
@@ -237,7 +237,7 @@ function isPostalCode(message) {
|
|
|
237
237
|
if (validator.isPostalCode(value)) {
|
|
238
238
|
return Promise.resolve();
|
|
239
239
|
}
|
|
240
|
-
return Promise.reject(new VefError(-2, message ?? `${label ?? "
|
|
240
|
+
return Promise.reject(new VefError(-2, message ?? `${label ?? "值"}必须是合法的邮政编码`));
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
243
|
];
|
|
@@ -250,7 +250,7 @@ function isDateBefore(targetDate, message) {
|
|
|
250
250
|
if (validator.isBefore(value, targetDate ?? getNowDateString())) {
|
|
251
251
|
return Promise.resolve();
|
|
252
252
|
}
|
|
253
|
-
return Promise.reject(new VefError(-2, message ?? `${label ?? "
|
|
253
|
+
return Promise.reject(new VefError(-2, message ?? `${label ?? "值"}必须在${targetDate}之前`));
|
|
254
254
|
}
|
|
255
255
|
}
|
|
256
256
|
];
|
|
@@ -263,7 +263,7 @@ function isDateAfter(targetDate, message) {
|
|
|
263
263
|
if (validator.isAfter(value, targetDate ?? getNowDateString())) {
|
|
264
264
|
return Promise.resolve();
|
|
265
265
|
}
|
|
266
|
-
return Promise.reject(new VefError(-2, message ?? `${label ?? "
|
|
266
|
+
return Promise.reject(new VefError(-2, message ?? `${label ?? "值"}必须在${targetDate}之后`));
|
|
267
267
|
}
|
|
268
268
|
}
|
|
269
269
|
];
|
|
@@ -276,7 +276,7 @@ function isChineseName(message) {
|
|
|
276
276
|
if (validator.isChineseName(value)) {
|
|
277
277
|
return Promise.resolve();
|
|
278
278
|
}
|
|
279
|
-
return Promise.reject(new VefError(-2, message ?? `${label ?? "
|
|
279
|
+
return Promise.reject(new VefError(-2, message ?? `${label ?? "值"}必须是中文名称`));
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
282
|
];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.971Z, made by Venus. */
|
|
2
2
|
import { jsx, jsxs, Fragment } from '@emotion/react/jsx-runtime';
|
|
3
3
|
import { useContextDisabled, DisabledContextProvider } from '@vef-framework/hooks';
|
|
4
4
|
import { isFunction } from '@vef-framework/shared';
|
|
@@ -47,7 +47,7 @@ function VefFormDrawerBase({
|
|
|
47
47
|
disabled: formDisabled,
|
|
48
48
|
variant: "filled",
|
|
49
49
|
onClick: handleReset,
|
|
50
|
-
children: "
|
|
50
|
+
children: "重置"
|
|
51
51
|
}
|
|
52
52
|
) }, "resetActionButton");
|
|
53
53
|
if (isFunction(actions)) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.971Z, made by Venus. */
|
|
2
2
|
import { jsx, jsxs, Fragment } from '@emotion/react/jsx-runtime';
|
|
3
3
|
import { useContextDisabled, DisabledContextProvider } from '@vef-framework/hooks';
|
|
4
4
|
import { isFunction } from '@vef-framework/shared';
|
|
@@ -9,7 +9,7 @@ import VefModal from '../vef-modal/index.js';
|
|
|
9
9
|
import VefModalActionButtonWrapper from '../vef-modal/components/action-button-wrapper.js';
|
|
10
10
|
|
|
11
11
|
function VefFormModalBase({
|
|
12
|
-
submissionButtonText = "
|
|
12
|
+
submissionButtonText = "提交",
|
|
13
13
|
actions,
|
|
14
14
|
title,
|
|
15
15
|
open,
|
|
@@ -44,7 +44,7 @@ function VefFormModalBase({
|
|
|
44
44
|
color: "default",
|
|
45
45
|
variant: "filled",
|
|
46
46
|
onClick: handleReset,
|
|
47
|
-
children: "
|
|
47
|
+
children: "重置"
|
|
48
48
|
}
|
|
49
49
|
) }, "resetActionButton");
|
|
50
50
|
if (isFunction(actions)) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.971Z, made by Venus. */
|
|
2
2
|
import { jsx } from '@emotion/react/jsx-runtime';
|
|
3
3
|
import { SearchOutlined } from '@ant-design/icons';
|
|
4
4
|
import { isFunction, styles } from '@vef-framework/shared';
|
package/es/vef-grid/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.971Z, made by Venus. */
|
|
2
2
|
import { jsx } from '@emotion/react/jsx-runtime';
|
|
3
3
|
import { css } from '@emotion/react';
|
|
4
4
|
import { useGapSizeNormalizer, useElementSize } from '@vef-framework/hooks';
|
package/es/vef-grid/props.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.971Z, made by Venus. */
|
|
2
2
|
import { jsx } from '@emotion/react/jsx-runtime';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { useMemo } from 'react';
|
package/es/vef-icon/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.971Z, made by Venus. */
|
|
2
2
|
import { jsx } from '@emotion/react/jsx-runtime';
|
|
3
3
|
import Icon from '@ant-design/icons';
|
|
4
4
|
import { useColorTokens } from '@vef-framework/hooks';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.101, build time: 2025-03-07T14:07:14.971Z, made by Venus. */
|
|
2
2
|
import { jsx, jsxs } from '@emotion/react/jsx-runtime';
|
|
3
3
|
import { css } from '@emotion/react';
|
|
4
4
|
import { useThemeTokens } from '@vef-framework/hooks';
|
|
@@ -89,7 +89,7 @@ function VefIconsContentBase({
|
|
|
89
89
|
height
|
|
90
90
|
}), [width, height]);
|
|
91
91
|
if (filteredIcons.length === 0) {
|
|
92
|
-
return /* @__PURE__ */ jsx("div", { css: iconsStyle, children: /* @__PURE__ */ jsx("div", { className: "vef-icon-select-wrapper", style: emptyPlaceholderStyle, children: /* @__PURE__ */ jsx(VefEmptyPlaceholder, { description: "
|
|
92
|
+
return /* @__PURE__ */ jsx("div", { css: iconsStyle, children: /* @__PURE__ */ jsx("div", { className: "vef-icon-select-wrapper", style: emptyPlaceholderStyle, children: /* @__PURE__ */ jsx(VefEmptyPlaceholder, { description: "暂无图标", presetIcon: "simple" }) }) });
|
|
93
93
|
}
|
|
94
94
|
return /* @__PURE__ */ jsx("div", { css: iconsStyle, children: /* @__PURE__ */ jsx(
|
|
95
95
|
VefVirtualGrid,
|