@vef-framework/components 1.0.20 → 1.0.22
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 +3 -0
- package/{esm/vef-app/props.mjs → es/internal/index.js} +2 -1
- package/{esm/internal/utils.mjs → es/internal/utils.js} +1 -1
- package/{esm/vef-access-denied/access-denied-icon.mjs → es/vef-access-denied/access-denied-icon.js} +1 -1
- package/{esm/vef-access-denied/index.mjs → es/vef-access-denied/index.js} +3 -3
- package/es/vef-action-buttons/index.js +3 -0
- package/es/vef-app/helper.js +3 -0
- package/{esm/vef-app/index.mjs → es/vef-app/index.js} +2 -2
- package/{esm/vef-auto-sizer/index.mjs → es/vef-auto-sizer/index.js} +1 -1
- package/{esm/vef-avatar/index.mjs → es/vef-avatar/index.js} +1 -1
- package/{esm/vef-avatar-group/index.mjs → es/vef-avatar-group/index.js} +1 -1
- package/{esm/vef-badge/index.mjs → es/vef-badge/index.js} +1 -1
- package/{esm/vef-bool/hooks/use-bool-instance.mjs → es/vef-bool/hooks/use-bool-instance.js} +1 -1
- package/es/vef-bool/index.js +3 -0
- package/es/vef-button/components/base-button.js +3 -0
- package/es/vef-button/index.js +3 -0
- package/{esm/vef-card/index.mjs → es/vef-card/index.js} +1 -1
- package/{esm/vef-card-meta/index.mjs → es/vef-card-meta/index.js} +1 -1
- package/{esm/vef-checkbox/hooks/use-checkbox-instance.mjs → es/vef-checkbox/hooks/use-checkbox-instance.js} +1 -1
- package/{esm/vef-checkbox/hooks/use-data-options.mjs → es/vef-checkbox/hooks/use-data-options.js} +1 -1
- package/{esm/vef-checkbox/index.mjs → es/vef-checkbox/index.js} +2 -2
- package/{esm/vef-col/index.mjs → es/vef-col/index.js} +1 -1
- package/es/vef-color-picker/index.js +3 -0
- package/es/vef-compact/index.js +3 -0
- package/{esm/vef-config-provider/hooks/use-ui-config.mjs → es/vef-config-provider/hooks/use-ui-config.js} +1 -1
- package/{esm/vef-config-provider/index.mjs → es/vef-config-provider/index.js} +4 -4
- package/{esm/vef-config-provider/reset-style.mjs → es/vef-config-provider/reset-style.js} +1 -1
- package/{esm/vef-config-provider/store.mjs → es/vef-config-provider/store.js} +1 -1
- package/{esm/vef-container/index.mjs → es/vef-container/index.js} +2 -2
- package/es/vef-crud-page/components/crud-actions.js +3 -0
- package/es/vef-crud-page/components/crud-filter.js +3 -0
- package/{esm/vef-crud-page/components/crud-footer.mjs → es/vef-crud-page/components/crud-footer.js} +4 -4
- package/es/vef-crud-page/components/crud-form-modal.js +3 -0
- package/es/vef-crud-page/components/crud-header.js +3 -0
- package/es/vef-crud-page/components/crud-table.js +3 -0
- package/es/vef-crud-page/hooks/use-action-buttons.js +3 -0
- package/es/vef-crud-page/hooks/use-crud-context.js +3 -0
- package/{esm/vef-crud-page/hooks/use-crud-schema.mjs → es/vef-crud-page/hooks/use-crud-schema.js} +1 -1
- package/es/vef-crud-page/hooks/use-operation-buttons.js +3 -0
- package/es/vef-crud-page/index.js +3 -0
- package/{esm/vef-crud-page/store.mjs → es/vef-crud-page/store.js} +1 -1
- package/{esm/vef-divider/index.mjs → es/vef-divider/index.js} +1 -1
- package/{esm/vef-modal/components/action-button-wrapper.mjs → es/vef-drawer/components/action-button-wrapper.js} +2 -2
- package/{esm/vef-access-denied/props.mjs → es/vef-drawer/components/button-props.js} +1 -1
- package/es/vef-drawer/components/cancel-action-button.js +3 -0
- package/es/vef-drawer/components/ok-action-button.js +3 -0
- package/{esm/vef-drawer/context.mjs → es/vef-drawer/context.js} +1 -1
- package/{esm/vef-drawer/index.mjs → es/vef-drawer/index.js} +3 -3
- package/{esm/vef-dropdown/index.mjs → es/vef-dropdown/index.js} +1 -1
- package/es/vef-dynamic-icon/index.js +3 -0
- package/{esm/vef-dynamic-icon/props.mjs → es/vef-dynamic-icon/props.js} +1 -1
- package/{esm/vef-empty/index.mjs → es/vef-empty/index.js} +1 -1
- package/{esm/vef-empty-placeholder/index.mjs → es/vef-empty-placeholder/index.js} +2 -2
- package/{esm/vef-error/error-icon.mjs → es/vef-error/error-icon.js} +1 -1
- package/{esm/vef-error/index.mjs → es/vef-error/index.js} +4 -4
- package/{esm/vef-filter/components/action-buttons.mjs → es/vef-filter/components/action-buttons.js} +3 -3
- package/{esm/vef-filter/components/advanced-filter.mjs → es/vef-filter/components/advanced-filter.js} +3 -3
- package/{esm/vef-filter/components/basic-filter.mjs → es/vef-filter/components/basic-filter.js} +2 -2
- package/es/vef-filter/components/fields/index.js +3 -0
- package/es/vef-filter/components/fields/input-number.js +3 -0
- package/es/vef-filter/components/fields/input.js +3 -0
- package/es/vef-filter/components/filter-field.js +3 -0
- package/es/vef-filter/components/filter-item.js +3 -0
- package/{esm/vef-filter/event.mjs → es/vef-filter/event.js} +1 -1
- package/{esm/vef-filter/helper.mjs → es/vef-filter/helper.js} +1 -1
- package/es/vef-filter/hooks/use-action-handlers.js +3 -0
- package/es/vef-filter/hooks/use-computed-values.js +3 -0
- package/{esm/vef-filter/hooks/use-filter-context.mjs → es/vef-filter/hooks/use-filter-context.js} +1 -1
- package/{esm/vef-filter/hooks/use-filter-initialization.mjs → es/vef-filter/hooks/use-filter-initialization.js} +1 -1
- package/es/vef-filter/hooks/use-filter-instance.js +3 -0
- package/{esm/vef-filter/hooks/use-filter-items.mjs → es/vef-filter/hooks/use-filter-items.js} +1 -1
- package/es/vef-filter/hooks/use-filter-values-change.js +3 -0
- package/{esm/vef-filter/hooks/use-label-config.mjs → es/vef-filter/hooks/use-label-config.js} +1 -1
- package/{esm/vef-filter/index.mjs → es/vef-filter/index.js} +2 -2
- package/{esm/vef-filter/store.mjs → es/vef-filter/store.js} +1 -1
- package/{esm/vef-flex/index.mjs → es/vef-flex/index.js} +1 -1
- package/{esm/vef-float-button/index.mjs → es/vef-float-button/index.js} +1 -1
- package/{esm/vef-float-button-group/index.mjs → es/vef-float-button-group/index.js} +1 -1
- package/es/vef-form/components/fields/index.js +3 -0
- package/es/vef-form/components/fields/input-number.js +3 -0
- package/es/vef-form/components/fields/input.js +3 -0
- package/{esm/vef-form/components/form-actions.mjs → es/vef-form/components/form-actions.js} +2 -2
- package/{esm/vef-form/components/form-content.mjs → es/vef-form/components/form-content.js} +2 -2
- package/es/vef-form/components/form-field.js +3 -0
- package/{esm/vef-form/components/form-group.mjs → es/vef-form/components/form-group.js} +3 -3
- package/es/vef-form/components/form-hidden-item.js +3 -0
- package/es/vef-form/components/form-item.js +3 -0
- package/es/vef-form/components/form-row.js +3 -0
- package/{esm/vef-form/event.mjs → es/vef-form/event.js} +1 -1
- package/{esm/vef-form/helper.mjs → es/vef-form/helper.js} +1 -1
- package/es/vef-form/hooks/use-action-handlers.js +3 -0
- package/{esm/vef-form/hooks/use-columns-layout.mjs → es/vef-form/hooks/use-columns-layout.js} +1 -1
- package/es/vef-form/hooks/use-computed-values.js +3 -0
- package/{esm/vef-form/hooks/use-form-context.mjs → es/vef-form/hooks/use-form-context.js} +1 -1
- package/{esm/vef-form/hooks/use-form-initialization.mjs → es/vef-form/hooks/use-form-initialization.js} +1 -1
- package/es/vef-form/hooks/use-form-instance.js +3 -0
- package/es/vef-form/hooks/use-form-values-change.js +3 -0
- package/{esm/vef-form/hooks/use-label-width.mjs → es/vef-form/hooks/use-label-width.js} +1 -1
- package/es/vef-form/index.js +5 -0
- package/{esm/vef-form/store.mjs → es/vef-form/store.js} +1 -1
- package/{esm/vef-form/validation-rules.mjs → es/vef-form/validation-rules.js} +1 -1
- package/es/vef-form-drawer/index.js +3 -0
- package/es/vef-form-modal/index.js +3 -0
- package/es/vef-generic-select/index.js +3 -0
- package/{esm/vef-grid/index.mjs → es/vef-grid/index.js} +1 -1
- package/{esm/vef-grid/props.mjs → es/vef-grid/props.js} +1 -1
- package/{esm/vef-grid-item/index.mjs → es/vef-grid-item/index.js} +1 -1
- package/{esm/vef-icon/index.mjs → es/vef-icon/index.js} +1 -1
- package/{esm/vef-icon-select/index.mjs → es/vef-icon-select/index.js} +2 -2
- package/{esm/vef-input/hooks/use-input-instance.mjs → es/vef-input/hooks/use-input-instance.js} +1 -1
- package/es/vef-input/index.js +3 -0
- package/{esm/vef-input-number/hooks/use-input-number-instance.mjs → es/vef-input-number/hooks/use-input-number-instance.js} +1 -1
- package/es/vef-input-number/index.js +3 -0
- package/{esm/vef-layout/components/content.mjs → es/vef-layout/components/content.js} +1 -1
- package/es/vef-layout/components/font-size.js +6 -0
- package/{esm/vef-layout/components/fullscreen.mjs → es/vef-layout/components/fullscreen.js} +3 -3
- package/{esm/vef-layout/components/header-action-icons.mjs → es/vef-layout/components/header-action-icons.js} +3 -3
- package/{esm/vef-layout/components/header-content.mjs → es/vef-layout/components/header-content.js} +2 -2
- package/{esm/vef-layout/components/header.mjs → es/vef-layout/components/header.js} +3 -3
- package/{esm/vef-layout/components/sider.mjs → es/vef-layout/components/sider.js} +2 -2
- package/{esm/vef-layout/components/title.mjs → es/vef-layout/components/title.js} +2 -2
- package/{esm/vef-layout/components/user-avatar.mjs → es/vef-layout/components/user-avatar.js} +3 -3
- package/{esm/vef-layout/index.mjs → es/vef-layout/index.js} +3 -3
- package/{esm/vef-layout/logo.svg.mjs → es/vef-layout/logo.svg.js} +1 -1
- package/{esm/vef-layout/store.mjs → es/vef-layout/store.js} +1 -1
- package/{esm/vef-loading-placeholder/index.mjs → es/vef-loading-placeholder/index.js} +2 -2
- package/{esm/vef-login/index.mjs → es/vef-login/index.js} +3 -3
- package/{esm/vef-login/login-icon.mjs → es/vef-login/login-icon.js} +1 -1
- package/{esm/vef-menu/index.mjs → es/vef-menu/index.js} +1 -1
- package/es/vef-modal/components/action-button-wrapper.js +3 -0
- package/{esm/vef-auto-sizer/props.mjs → es/vef-modal/components/button-props.js} +1 -1
- package/es/vef-modal/components/cancel-action-button.js +3 -0
- package/es/vef-modal/components/ok-action-button.js +3 -0
- package/{esm/vef-modal/context.mjs → es/vef-modal/context.js} +1 -1
- package/{esm/vef-modal/index.mjs → es/vef-modal/index.js} +3 -3
- package/{esm/vef-not-found/index.mjs → es/vef-not-found/index.js} +4 -4
- package/{esm/vef-not-found/not-found-icon.mjs → es/vef-not-found/not-found-icon.js} +1 -1
- package/{esm/vef-page/index.mjs → es/vef-page/index.js} +3 -3
- package/es/vef-pagination/index.js +3 -0
- package/{esm/vef-pagination/props.mjs → es/vef-pagination/props.js} +1 -1
- package/{esm/vef-paragraph/index.mjs → es/vef-paragraph/index.js} +1 -1
- package/{esm/vef-password/hooks/use-password-instance.mjs → es/vef-password/hooks/use-password-instance.js} +1 -1
- package/es/vef-password/index.js +3 -0
- package/es/vef-popconfirm/index.js +3 -0
- package/{esm/vef-popover/index.mjs → es/vef-popover/index.js} +1 -1
- package/{esm/vef-radio/hooks/use-data-options.mjs → es/vef-radio/hooks/use-data-options.js} +1 -1
- package/{esm/vef-radio/hooks/use-radio-instance.mjs → es/vef-radio/hooks/use-radio-instance.js} +1 -1
- package/{esm/vef-radio/index.mjs → es/vef-radio/index.js} +3 -3
- package/{esm/vef-rate/hooks/use-rate-instance.mjs → es/vef-rate/hooks/use-rate-instance.js} +1 -1
- package/es/vef-rate/index.js +3 -0
- package/{esm/vef-responsive-container/index.mjs → es/vef-responsive-container/index.js} +2 -2
- package/{esm/vef-responsive-item/index.mjs → es/vef-responsive-item/index.js} +1 -1
- package/{esm/vef-ribbon/index.mjs → es/vef-ribbon/index.js} +1 -1
- package/{esm/vef-row/index.mjs → es/vef-row/index.js} +1 -1
- package/{esm/vef-scroll-area/components/scrollbar.mjs → es/vef-scroll-area/components/scrollbar.js} +1 -1
- package/{esm/vef-scroll-area/index.mjs → es/vef-scroll-area/index.js} +4 -4
- package/{esm/vef-select/components/option.mjs → es/vef-select/components/option.js} +2 -2
- package/{esm/vef-select/hooks/use-data-options.mjs → es/vef-select/hooks/use-data-options.js} +1 -1
- package/{esm/vef-select/hooks/use-field-names.mjs → es/vef-select/hooks/use-field-names.js} +1 -1
- package/{esm/vef-select/hooks/use-render-label.mjs → es/vef-select/hooks/use-render-label.js} +2 -2
- package/es/vef-select/hooks/use-render-option.js +3 -0
- package/{esm/vef-select/hooks/use-select-instance.mjs → es/vef-select/hooks/use-select-instance.js} +1 -1
- package/es/vef-select/index.js +3 -0
- package/{esm/vef-slider/hooks/use-slider-instance.mjs → es/vef-slider/hooks/use-slider-instance.js} +1 -1
- package/es/vef-slider/index.js +3 -0
- package/{esm/vef-sortable-list/components/overlay-item.mjs → es/vef-sortable-list/components/overlay-item.js} +1 -1
- package/{esm/vef-sortable-list/components/sortable-item.mjs → es/vef-sortable-list/components/sortable-item.js} +1 -1
- package/{esm/vef-sortable-list/hooks/use-merged-items.mjs → es/vef-sortable-list/hooks/use-merged-items.js} +1 -1
- package/es/vef-sortable-list/index.js +3 -0
- package/{esm/vef-space/index.mjs → es/vef-space/index.js} +1 -1
- package/{esm/vef-spin/index.mjs → es/vef-spin/index.js} +1 -1
- package/{esm/vef-splitter/index.mjs → es/vef-splitter/index.js} +1 -1
- package/{esm/vef-splitter-panel/index.mjs → es/vef-splitter-panel/index.js} +1 -1
- package/{esm/vef-status/index.mjs → es/vef-status/index.js} +1 -1
- package/es/vef-table/components/columns/bool.js +3 -0
- package/{esm/vef-table/components/columns/code.mjs → es/vef-table/components/columns/code.js} +1 -1
- package/es/vef-table/components/columns/data-dictionary.js +3 -0
- package/es/vef-table/components/columns/enum.js +3 -0
- package/{esm/vef-table/components/columns/file.mjs → es/vef-table/components/columns/file.js} +1 -1
- package/{esm/vef-table/components/columns/icon.mjs → es/vef-table/components/columns/icon.js} +1 -1
- package/es/vef-table/components/columns/id.js +3 -0
- package/{esm/vef-table/components/columns/image.mjs → es/vef-table/components/columns/image.js} +1 -1
- package/es/vef-table/components/columns/index.js +3 -0
- package/{esm/vef-table/components/columns/markdown.mjs → es/vef-table/components/columns/markdown.js} +1 -1
- package/es/vef-table/components/columns/number.js +3 -0
- package/{esm/vef-table/components/columns/render.mjs → es/vef-table/components/columns/render.js} +1 -1
- package/es/vef-table/components/columns/rich-text.js +3 -0
- package/es/vef-table/components/columns/text.js +3 -0
- package/{esm/vef-table/components/columns-settings.mjs → es/vef-table/components/columns-settings.js} +3 -3
- package/{esm/vef-table/components/operation-buttons.mjs → es/vef-table/components/operation-buttons.js} +2 -2
- package/es/vef-table/components/settings-icon.js +5 -0
- package/{esm/vef-table/components/table-footer.mjs → es/vef-table/components/table-footer.js} +2 -2
- package/{esm/vef-table/helper.mjs → es/vef-table/helper.js} +1 -1
- package/{esm/vef-table/hooks/use-computed-batch-buttons.mjs → es/vef-table/hooks/use-computed-batch-buttons.js} +1 -1
- package/{esm/vef-table/hooks/use-computed-columns.mjs → es/vef-table/hooks/use-computed-columns.js} +1 -1
- package/es/vef-table/hooks/use-computed-values.js +3 -0
- package/{esm/vef-table/hooks/use-data.mjs → es/vef-table/hooks/use-data.js} +1 -1
- package/{esm/vef-table/hooks/use-default-column-configs.mjs → es/vef-table/hooks/use-default-column-configs.js} +1 -1
- package/{esm/vef-table/hooks/use-display-value.mjs → es/vef-table/hooks/use-display-value.js} +1 -1
- package/es/vef-table/hooks/use-helper-columns.js +3 -0
- package/{esm/vef-table/hooks/use-operation-column-width.mjs → es/vef-table/hooks/use-operation-column-width.js} +1 -1
- package/es/vef-table/hooks/use-pagination-props.js +3 -0
- package/{esm/vef-table/hooks/use-row-props.mjs → es/vef-table/hooks/use-row-props.js} +1 -1
- package/es/vef-table/hooks/use-row-selection-config.js +3 -0
- package/{esm/vef-table/hooks/use-selected-rows.mjs → es/vef-table/hooks/use-selected-rows.js} +1 -1
- package/es/vef-table/hooks/use-table-columns.js +3 -0
- package/{esm/vef-table/hooks/use-table-context.mjs → es/vef-table/hooks/use-table-context.js} +1 -1
- package/{esm/vef-table/hooks/use-table-instance.mjs → es/vef-table/hooks/use-table-instance.js} +1 -1
- package/{esm/vef-table/hooks/use-table-summary.mjs → es/vef-table/hooks/use-table-summary.js} +1 -1
- package/{esm/vef-table/hooks/use-table-width.mjs → es/vef-table/hooks/use-table-width.js} +1 -1
- package/{esm/vef-table/index.mjs → es/vef-table/index.js} +3 -3
- package/{esm/vef-table/store.mjs → es/vef-table/store.js} +1 -1
- package/es/vef-tabs/index.js +3 -0
- package/{esm/vef-tag/index.mjs → es/vef-tag/index.js} +1 -1
- package/{esm/vef-temporal-picker/helper.mjs → es/vef-temporal-picker/helper.js} +1 -1
- package/{esm/vef-temporal-picker/hooks/use-dayjs-value.mjs → es/vef-temporal-picker/hooks/use-dayjs-value.js} +1 -1
- package/{esm/vef-temporal-picker/hooks/use-temporal-limit.mjs → es/vef-temporal-picker/hooks/use-temporal-limit.js} +1 -1
- package/{esm/vef-temporal-picker/hooks/use-temporal-picker-instance.mjs → es/vef-temporal-picker/hooks/use-temporal-picker-instance.js} +1 -1
- package/es/vef-temporal-picker/index.js +3 -0
- package/{esm/vef-temporal-range-picker/helper.mjs → es/vef-temporal-range-picker/helper.js} +1 -1
- package/es/vef-temporal-range-picker/hooks/use-dayjs-values.js +3 -0
- package/{esm/vef-temporal-range-picker/hooks/use-temporal-limit.mjs → es/vef-temporal-range-picker/hooks/use-temporal-limit.js} +1 -1
- package/{esm/vef-temporal-range-picker/hooks/use-temporal-range-picker-instance.mjs → es/vef-temporal-range-picker/hooks/use-temporal-range-picker-instance.js} +1 -1
- package/es/vef-temporal-range-picker/index.js +3 -0
- package/{esm/vef-temporal-range-picker/props.mjs → es/vef-temporal-range-picker/props.js} +1 -1
- package/{esm/vef-text/index.mjs → es/vef-text/index.js} +1 -1
- package/{esm/vef-textarea/hooks/use-textarea-instance.mjs → es/vef-textarea/hooks/use-textarea-instance.js} +1 -1
- package/es/vef-textarea/index.js +3 -0
- package/{esm/vef-title/index.mjs → es/vef-title/index.js} +2 -2
- package/{esm/vef-tooltip/index.mjs → es/vef-tooltip/index.js} +1 -1
- package/{esm/vef-tree-select/hooks/use-change-handler.mjs → es/vef-tree-select/hooks/use-change-handler.js} +1 -1
- package/{esm/vef-tree-select/hooks/use-data-options.mjs → es/vef-tree-select/hooks/use-data-options.js} +1 -1
- package/{esm/vef-tree-select/hooks/use-tree-select-instance.mjs → es/vef-tree-select/hooks/use-tree-select-instance.js} +1 -1
- package/es/vef-tree-select/index.js +3 -0
- package/{esm/vef-virtual-grid/index.mjs → es/vef-virtual-grid/index.js} +3 -3
- package/{esm/vef-virtual-list/index.mjs → es/vef-virtual-list/index.js} +2 -2
- package/lib/index.cjs +1 -1
- package/lib/internal/index.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-app/helper.cjs +1 -1
- package/lib/vef-app/index.cjs +1 -1
- package/lib/vef-app/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-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-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-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/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/reset-style.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-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/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/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/props.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-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/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/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-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-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 +12 -6
- package/esm/index.mjs +0 -3
- package/esm/internal/index.mjs +0 -3
- package/esm/vef-action-buttons/index.mjs +0 -3
- package/esm/vef-action-buttons/props.mjs +0 -2
- package/esm/vef-app/helper.mjs +0 -3
- package/esm/vef-avatar/props.mjs +0 -2
- package/esm/vef-avatar-group/props.mjs +0 -2
- package/esm/vef-badge/props.mjs +0 -2
- package/esm/vef-bool/index.mjs +0 -3
- package/esm/vef-bool/props.mjs +0 -2
- package/esm/vef-button/components/base-button.mjs +0 -3
- package/esm/vef-button/index.mjs +0 -3
- package/esm/vef-button/props.mjs +0 -2
- package/esm/vef-card/props.mjs +0 -2
- package/esm/vef-card-meta/props.mjs +0 -2
- package/esm/vef-checkbox/props.mjs +0 -2
- package/esm/vef-col/props.mjs +0 -2
- package/esm/vef-color-picker/index.mjs +0 -3
- package/esm/vef-color-picker/props.mjs +0 -2
- package/esm/vef-compact/index.mjs +0 -3
- package/esm/vef-compact/props.mjs +0 -2
- package/esm/vef-config-provider/props.mjs +0 -2
- package/esm/vef-container/props.mjs +0 -2
- package/esm/vef-crud-page/components/crud-actions.mjs +0 -3
- package/esm/vef-crud-page/components/crud-filter.mjs +0 -3
- package/esm/vef-crud-page/components/crud-form-modal.mjs +0 -3
- package/esm/vef-crud-page/components/crud-header.mjs +0 -3
- package/esm/vef-crud-page/components/crud-table.mjs +0 -3
- package/esm/vef-crud-page/hooks/use-action-buttons.mjs +0 -3
- package/esm/vef-crud-page/hooks/use-crud-context.mjs +0 -3
- package/esm/vef-crud-page/hooks/use-operation-buttons.mjs +0 -3
- package/esm/vef-crud-page/index.mjs +0 -3
- package/esm/vef-crud-page/props.mjs +0 -2
- package/esm/vef-crud-page/types.mjs +0 -2
- package/esm/vef-divider/props.mjs +0 -2
- package/esm/vef-drawer/components/action-button-wrapper.mjs +0 -3
- package/esm/vef-drawer/components/button-props.mjs +0 -2
- package/esm/vef-drawer/components/cancel-action-button.mjs +0 -3
- package/esm/vef-drawer/components/ok-action-button.mjs +0 -3
- package/esm/vef-drawer/props.mjs +0 -2
- package/esm/vef-dropdown/props.mjs +0 -2
- package/esm/vef-dynamic-icon/index.mjs +0 -3
- package/esm/vef-empty/props.mjs +0 -2
- package/esm/vef-empty-placeholder/props.mjs +0 -2
- package/esm/vef-error/props.mjs +0 -2
- package/esm/vef-filter/components/fields/index.mjs +0 -3
- package/esm/vef-filter/components/fields/input-number.mjs +0 -3
- package/esm/vef-filter/components/fields/input.mjs +0 -3
- package/esm/vef-filter/components/fields/props.mjs +0 -2
- package/esm/vef-filter/components/filter-field.mjs +0 -3
- package/esm/vef-filter/components/filter-item.mjs +0 -3
- package/esm/vef-filter/hooks/use-action-handlers.mjs +0 -3
- package/esm/vef-filter/hooks/use-computed-values.mjs +0 -3
- package/esm/vef-filter/hooks/use-filter-instance.mjs +0 -3
- package/esm/vef-filter/hooks/use-filter-values-change.mjs +0 -3
- package/esm/vef-filter/props.mjs +0 -2
- package/esm/vef-filter/types.mjs +0 -2
- package/esm/vef-flex/props.mjs +0 -2
- package/esm/vef-float-button/props.mjs +0 -2
- package/esm/vef-float-button-group/props.mjs +0 -2
- package/esm/vef-form/components/fields/index.mjs +0 -3
- package/esm/vef-form/components/fields/input-number.mjs +0 -3
- package/esm/vef-form/components/fields/input.mjs +0 -3
- package/esm/vef-form/components/fields/props.mjs +0 -2
- package/esm/vef-form/components/form-field.mjs +0 -3
- package/esm/vef-form/components/form-hidden-item.mjs +0 -3
- package/esm/vef-form/components/form-item.mjs +0 -3
- package/esm/vef-form/components/form-row.mjs +0 -3
- package/esm/vef-form/hooks/use-action-handlers.mjs +0 -3
- package/esm/vef-form/hooks/use-computed-values.mjs +0 -3
- package/esm/vef-form/hooks/use-form-instance.mjs +0 -3
- package/esm/vef-form/hooks/use-form-values-change.mjs +0 -3
- package/esm/vef-form/index.mjs +0 -5
- package/esm/vef-form/props.mjs +0 -2
- package/esm/vef-form/types.mjs +0 -2
- package/esm/vef-form-drawer/index.mjs +0 -3
- package/esm/vef-form-drawer/props.mjs +0 -2
- package/esm/vef-form-modal/index.mjs +0 -3
- package/esm/vef-form-modal/props.mjs +0 -2
- package/esm/vef-generic-select/index.mjs +0 -3
- package/esm/vef-generic-select/props.mjs +0 -2
- package/esm/vef-grid-item/props.mjs +0 -2
- package/esm/vef-icon/props.mjs +0 -2
- package/esm/vef-icon-select/props.mjs +0 -2
- package/esm/vef-input/index.mjs +0 -3
- package/esm/vef-input/props.mjs +0 -2
- package/esm/vef-input-number/index.mjs +0 -3
- package/esm/vef-input-number/props.mjs +0 -2
- package/esm/vef-layout/components/font-size.mjs +0 -6
- package/esm/vef-layout/props.mjs +0 -2
- package/esm/vef-loading-placeholder/props.mjs +0 -2
- package/esm/vef-login/props.mjs +0 -2
- package/esm/vef-menu/props.mjs +0 -2
- package/esm/vef-modal/components/button-props.mjs +0 -2
- package/esm/vef-modal/components/cancel-action-button.mjs +0 -3
- package/esm/vef-modal/components/ok-action-button.mjs +0 -3
- package/esm/vef-modal/props.mjs +0 -2
- package/esm/vef-not-found/props.mjs +0 -2
- package/esm/vef-page/props.mjs +0 -2
- package/esm/vef-pagination/index.mjs +0 -3
- package/esm/vef-paragraph/props.mjs +0 -2
- package/esm/vef-password/index.mjs +0 -3
- package/esm/vef-password/props.mjs +0 -2
- package/esm/vef-popconfirm/index.mjs +0 -3
- package/esm/vef-popconfirm/props.mjs +0 -2
- package/esm/vef-popover/props.mjs +0 -2
- package/esm/vef-radio/props.mjs +0 -2
- package/esm/vef-rate/index.mjs +0 -3
- package/esm/vef-rate/props.mjs +0 -2
- package/esm/vef-responsive-container/props.mjs +0 -2
- package/esm/vef-responsive-item/props.mjs +0 -2
- package/esm/vef-ribbon/props.mjs +0 -2
- package/esm/vef-row/props.mjs +0 -2
- package/esm/vef-scroll-area/props.mjs +0 -2
- package/esm/vef-select/hooks/use-render-option.mjs +0 -3
- package/esm/vef-select/index.mjs +0 -3
- package/esm/vef-select/props.mjs +0 -2
- package/esm/vef-slider/index.mjs +0 -3
- package/esm/vef-slider/props.mjs +0 -2
- package/esm/vef-sortable-list/index.mjs +0 -3
- package/esm/vef-sortable-list/props.mjs +0 -2
- package/esm/vef-space/props.mjs +0 -2
- package/esm/vef-spin/props.mjs +0 -2
- package/esm/vef-splitter/props.mjs +0 -2
- package/esm/vef-splitter-panel/props.mjs +0 -2
- package/esm/vef-status/props.mjs +0 -2
- package/esm/vef-table/components/columns/bool.mjs +0 -3
- package/esm/vef-table/components/columns/data-dictionary.mjs +0 -3
- package/esm/vef-table/components/columns/enum.mjs +0 -3
- package/esm/vef-table/components/columns/id.mjs +0 -3
- package/esm/vef-table/components/columns/index.mjs +0 -3
- package/esm/vef-table/components/columns/number.mjs +0 -3
- package/esm/vef-table/components/columns/props.mjs +0 -2
- package/esm/vef-table/components/columns/rich-text.mjs +0 -3
- package/esm/vef-table/components/columns/text.mjs +0 -3
- package/esm/vef-table/components/settings-icon.mjs +0 -5
- package/esm/vef-table/hooks/use-computed-values.mjs +0 -3
- package/esm/vef-table/hooks/use-helper-columns.mjs +0 -3
- package/esm/vef-table/hooks/use-pagination-props.mjs +0 -3
- package/esm/vef-table/hooks/use-row-selection-config.mjs +0 -3
- package/esm/vef-table/hooks/use-table-columns.mjs +0 -3
- package/esm/vef-table/props.mjs +0 -2
- package/esm/vef-table/types.mjs +0 -2
- package/esm/vef-tabs/index.mjs +0 -3
- package/esm/vef-tabs/props.mjs +0 -2
- package/esm/vef-tag/props.mjs +0 -2
- package/esm/vef-temporal-picker/index.mjs +0 -3
- package/esm/vef-temporal-picker/props.mjs +0 -2
- package/esm/vef-temporal-range-picker/hooks/use-dayjs-values.mjs +0 -3
- package/esm/vef-temporal-range-picker/index.mjs +0 -3
- package/esm/vef-text/props.mjs +0 -2
- package/esm/vef-textarea/index.mjs +0 -3
- package/esm/vef-textarea/props.mjs +0 -2
- package/esm/vef-title/props.mjs +0 -2
- package/esm/vef-tooltip/props.mjs +0 -2
- package/esm/vef-tree-select/index.mjs +0 -3
- package/esm/vef-tree-select/props.mjs +0 -2
- package/esm/vef-virtual-grid/props.mjs +0 -2
- package/esm/vef-virtual-list/props.mjs +0 -2
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.22, build time: 2024-12-19T14:21:21.215Z, made by Venus. */
|
|
2
2
|
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react");exports.useTemporalPickerInstance=function(r){const t=e.useRef(null);return e.useImperativeHandle(r,(()=>({blur:()=>{t.current?.blur()},focus:()=>{t.current?.focus({preventScroll:!0})}}))),t};
|
|
3
3
|
/*! 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,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.22, build time: 2024-12-19T14:21:21.215Z, made by Venus. */
|
|
2
2
|
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("@emotion/react/jsx-runtime"),a=require("@vef-framework/shared"),i=require("antd"),t=require("react");require("../internal/index.cjs");const r=require("./helper.cjs"),l=require("./hooks/use-dayjs-value.cjs"),u=require("./hooks/use-temporal-limit.cjs"),s=require("./hooks/use-temporal-picker-instance.cjs"),o=require("../internal/utils.cjs");const n=t.memo(t.forwardRef((function({defaultValue:n,value:m,clearable:d,size:c,mode:p="date",multiple:D=!1,minDate:f,maxDate:S,disabledTime:h,disabledDate:j,hourStep:T,minuteStep:b,secondStep:k,onChange:v,...x},V){const q=r.getTemporalFormats(p),z=l.useDayjsValue(m,q),g=l.useDayjsValue(n,q),{minDateValue:w,maxDateValue:C,disabledTimeValue:y,disabledDateValue:P}=u.useTemporalLimit({maxDate:S,minDate:f,disabledTime:h,disabledDate:j}),B=s.useTemporalPickerInstance(V),M=t.useMemo((()=>{if(a.isFunction(v))return(e,i)=>{if(!e)return void v(null,null);const t=a.isArray(e)?e.map((e=>e.toDate())):e.toDate();v(i,t)}}),[v]);return"time"===p||"hour"===p||"minute"===p?e.jsx(i.TimePicker,{ref:B,allowClear:d,defaultValue:g,disabledTime:y,format:q,hourStep:T,minuteStep:b,multiple:D,secondStep:k,showNow:"hour"!==p,size:o.convertBasicSizeToUiSize(c),value:z,onChange:M,...x}):"datetime"===p?e.jsx(i.DatePicker,{ref:B,allowClear:d,defaultValue:g,disabledDate:P,disabledTime:y,format:q,hourStep:T,maxDate:C,minDate:w,minuteStep:b,multiple:D,picker:"date",size:o.convertBasicSizeToUiSize(c),value:z,onChange:M,...x}):e.jsx(i.DatePicker,{ref:B,allowClear:d,defaultValue:g,disabledDate:P,format:q,maxDate:C,minDate:w,multiple:D,picker:p,size:o.convertBasicSizeToUiSize(c),value:z,onChange:M,...x})})));n.displayName="VefTemporalPicker",exports.default=n;
|
|
3
3
|
/*! 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,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.22, build time: 2024-12-19T14:21:21.215Z, made by Venus. */
|
|
2
2
|
"use strict";
|
|
3
3
|
/*! 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,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.22, build time: 2024-12-19T14:21:21.215Z, made by Venus. */
|
|
2
2
|
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Y=["YYYY"],M=["YYYY-Q季度"],m=["YYYY-MM","YYYY/MM","YYYY.MM","YYYYMM"],D=["YYYY-wo"],H=["YYYY-MM-DD","YYYY/MM/DD","YYYY.MM.DD","YYYYMMDD","YY/MM/DD","YY.MM.DD","YYMMDD"],s=["HH:mm:ss","HH.mm.ss","HHmmss"],e=["HH"],t=["HH:mm","HH.mm","HHmm"],r=["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"];exports.getTemporalFormats=function(o){return"year"===o?Y:"quarter"===o?M:"month"===o?m:"week"===o?D:"datetime"===o?r:"date"===o?H:"time"===o?s:"hour"===o?e:"minute"===o?t:[]};
|
|
3
3
|
/*! 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,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.22, build time: 2024-12-19T14:21:21.215Z, made by Venus. */
|
|
2
2
|
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("@vef-framework/shared"),e=require("dayjs"),t=require("react"),s=require("../props.cjs");exports.useDayjsValues=function(u,i){return t.useMemo((()=>{if(r.isNullish(u))return u;if(r.isArray(u))return u.map((r=>e(r,i)));const[t,o]=u.split(s.stringFormatSeparator);return[e(t,i),e(o,i)]}),[u,i])};
|
|
3
3
|
/*! 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,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.22, build time: 2024-12-19T14:21:21.215Z, made by Venus. */
|
|
2
2
|
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@vef-framework/shared"),t=require("dayjs"),a=require("react");exports.useTemporalLimit=function({maxDate:i,minDate:r,disabledDate:o,disabledTime:u}){const[s,n]=a.useMemo((()=>[r?t(r):void 0,i?t(i):void 0]),[r,i]);return{minDateValue:s,maxDateValue:n,disabledTimeValue:a.useMemo((()=>{if(e.isFunction(u))return e=>u(e.toDate())}),[u]),disabledDateValue:a.useMemo((()=>{if(e.isFunction(o))return(e,{from:t})=>o(e.toDate(),t?.toDate())}),[o])}};
|
|
3
3
|
/*! 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,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.22, build time: 2024-12-19T14:21:21.215Z, made by Venus. */
|
|
2
2
|
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react");exports.useTemporalRangePickerInstance=function(r){const t=e.useRef(null);return e.useImperativeHandle(r,(()=>({blur:()=>{t.current?.blur()},focus:()=>{t.current?.focus({preventScroll:!0})}}))),t};
|
|
3
3
|
/*! 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,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.22, build time: 2024-12-19T14:21:21.215Z, made by Venus. */
|
|
2
2
|
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("@emotion/react/jsx-runtime"),a=require("@vef-framework/shared"),i=require("antd"),t=require("react");require("../internal/index.cjs");const r=require("./helper.cjs"),s=require("./hooks/use-dayjs-values.cjs"),o=require("./hooks/use-temporal-limit.cjs"),l=require("./hooks/use-temporal-range-picker-instance.cjs"),u=require("./props.cjs"),n=require("../internal/utils.cjs");const m=t.memo(t.forwardRef((function({defaultValue:m,value:d,clearable:c,mode:p="date",size:D,useStringFormat:f=!1,maxDate:S,minDate:j,disabledTime:g,disabledDate:k,hourStep:T,minuteStep:h,secondStep:b,onChange:v,...x},q){const V=r.getTemporalFormats(p),z=s.useDayjsValues(d,V),P=s.useDayjsValues(d,V),{minDateValue:C,maxDateValue:w,disabledTimeValue:R,disabledDateValue:y}=o.useTemporalLimit({maxDate:S,minDate:j,disabledTime:g,disabledDate:k}),F=l.useTemporalRangePickerInstance(q),B=t.useMemo((()=>{if(a.isFunction(v))return(e,a)=>{if(!e)return void v(null,null);const i=[e[0].toDate(),e[1].toDate()];v(f?a.join(u.stringFormatSeparator):a,i)}}),[v,f]);return"time"===p||"hour"===p||"minute"===p?e.jsx(i.TimePicker.RangePicker,{ref:F,allowClear:c,defaultValue:P,disabledTime:R,format:V,hourStep:T,minuteStep:h,secondStep:b,size:n.convertBasicSizeToUiSize(D),value:z,onChange:B,...x}):"datetime"===p?e.jsx(i.DatePicker.RangePicker,{ref:F,showTime:!0,allowClear:c,defaultValue:P,disabledDate:y,disabledTime:R,format:V,hourStep:T,maxDate:w,minDate:C,minuteStep:h,picker:"date",secondStep:b,size:n.convertBasicSizeToUiSize(D),value:z,onChange:B,...x}):e.jsx(i.DatePicker.RangePicker,{ref:F,allowClear:c,defaultValue:P,disabledDate:y,format:V,maxDate:w,minDate:C,picker:p,size:n.convertBasicSizeToUiSize(D),value:z,onChange:B,...x})})));m.displayName="VefTemporalRangePicker",exports.default=m;
|
|
3
3
|
/*! 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,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.22, build time: 2024-12-19T14:21:21.215Z, made by Venus. */
|
|
2
2
|
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.stringFormatSeparator="_";
|
|
3
3
|
/*! 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,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.22, build time: 2024-12-19T14:21:21.215Z, made by Venus. */
|
|
2
2
|
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("@emotion/react/jsx-runtime"),o=require("@vef-framework/hooks"),r=require("antd"),t=require("react"),{Text:s}=r.Typography;exports.default=({variant:r,color:i,bold:l,ellipsis:n,ellipsisTip:u,ellipsisTipPlacement:a,copyable:c,copiedText:p,onCopy:d,...y})=>{const m=t.useMemo((()=>{if(n)return{tooltip:u??y.children,placement:a}}),[n,u,a,y.children]),x=o.useColorTokens(),f=t.useMemo((()=>{const e={};return"shortcut"===r?e.keyboard=!0:"strikethrough"===r?e.delete=!0:r&&(e[r]=!0),"secondary"===i?e.type="secondary":i&&(e.css={color:x.get(i)}),l&&(e.strong=!0),e}),[l,i,x,r]),h=t.useMemo((()=>{if(c)return{format:"text/plain",text:p,onCopy:d}}),[c,p,d]);return e.jsx(s,{copyable:h,ellipsis:m,...f,...y})};
|
|
3
3
|
/*! 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,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.22, build time: 2024-12-19T14:21:21.215Z, made by Venus. */
|
|
2
2
|
"use strict";
|
|
3
3
|
/*! 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,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.22, build time: 2024-12-19T14:21:21.215Z, made by Venus. */
|
|
2
2
|
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react");exports.useTextareaInstance=function(r){const t=e.useRef(null);return e.useImperativeHandle(r,(()=>({blur:()=>t.current?.blur(),focus:()=>t.current?.focus({preventScroll:!0})}))),t};
|
|
3
3
|
/*! 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,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.22, build time: 2024-12-19T14:21:21.215Z, made by Venus. */
|
|
2
2
|
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("@emotion/react/jsx-runtime"),r=require("@vef-framework/shared"),t=require("antd"),n=require("react");require("../internal/index.cjs");const o=require("./hooks/use-textarea-instance.cjs"),u=require("../internal/utils.cjs"),{TextArea:a}=t.Input;function s(e){return""===e?null:e}const i=n.forwardRef((({defaultValue:t,value:i,size:l,clearable:c,showCount:d,onChange:v,onEnterKeyPress:f,onBlur:g,onFocus:x,...q},h)=>{const j=n.useMemo((()=>({onChange:r.isFunction(v)?e=>v(s(e.target.value)):void 0,onPressEnter:r.isFunction(f)?e=>f(s(e.target.value)):void 0,onBlur:r.isFunction(g)?e=>g(s(e.target.value)):void 0,onFocus:r.isFunction(x)?e=>x(s(e.target.value)):void 0})),[v,f,g,x]),F=o.useTextareaInstance(h);return e.jsx(a,{ref:F,allowClear:c,defaultValue:t,showCount:d,size:u.convertBasicSizeToUiSize(l),value:i,...q,...j})}));exports.default=i;
|
|
3
3
|
/*! 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,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.22, build time: 2024-12-19T14:21:21.215Z, made by Venus. */
|
|
2
2
|
"use strict";
|
|
3
3
|
/*! 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
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.22, build time: 2024-12-19T14:21:21.215Z, made by Venus. */
|
|
2
2
|
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("@emotion/react/jsx-runtime"),r=require("@emotion/react"),t=require("@vef-framework/hooks"),i=require("@vef-framework/shared"),s=require("antd"),o=require("react"),a=require("../vef-divider/index.cjs"),{Title:l}=s.Typography,n=r.css`
|
|
3
3
|
margin: ${i.themeVariables.marginSm} 0 ${i.themeVariables.marginLg};
|
|
4
4
|
`,c=r.css`
|
package/lib/vef-title/props.cjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.22, build time: 2024-12-19T14:21:21.215Z, made by Venus. */
|
|
2
2
|
"use strict";
|
|
3
3
|
/*! 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,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.22, build time: 2024-12-19T14:21:21.215Z, made by Venus. */
|
|
2
2
|
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("@emotion/react/jsx-runtime"),r=require("antd"),t=require("react"),n=t.forwardRef((({content:n,trigger:o="hover",arrow:a=!0,delay:u=.1,defaultOpened:l,opened:i,onOpenedChange:d,...s},p)=>{const c=t.useRef(null);return t.useImperativeHandle(p,(()=>c.current.nativeElement)),e.jsx(r.Tooltip,{ref:c,arrow:a,defaultOpen:l,mouseEnterDelay:u,open:i,title:n,trigger:o,onOpenChange:d,...s})}));exports.default=n;
|
|
3
3
|
/*! 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,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.22, build time: 2024-12-19T14:21:21.215Z, made by Venus. */
|
|
2
2
|
"use strict";
|
|
3
3
|
/*! 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,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.22, build time: 2024-12-19T14:21:21.215Z, made by Venus. */
|
|
2
2
|
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@vef-framework/shared"),r=require("react");exports.useChangeHandler=function(t,u){const n=r.useMemo((()=>u.reduce(((e,r)=>(e.set(r.value,r),e)),new Map)),[u]);return r.useMemo((()=>{if(e.isFunction(t))return r=>{r?e.isArray(r)?t(r,r.map((e=>n.get(e)))):t(r,n.get(r)):t(null,null)}}),[t,n])};
|
|
3
3
|
/*! 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,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.22, build time: 2024-12-19T14:21:21.215Z, made by Venus. */
|
|
2
2
|
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@vef-framework/hooks"),o=require("@vef-framework/shared"),i=require("react");exports.useDataOptions=function({value:t,multiple:a=!1,onChange:n,...s}){const{onFilterKeywordChange:r,normalizedOptions:l,defaultOption:u,isLoading:p,fallbackOptions:d,isFallbackOptionsLoading:c}=e.useComputedOptions({...s,selectedOptionValues:o.isArray(t)?t:t?[t]:[]});return i.useLayoutEffect((()=>{u&&o.isFunction(n)&&o.isNullish(t)&&n(a?[u.value]:u.value,a?[u]:u)}),[u,a,n,t]),{onFilterKeywordChange:r,normalizedOptions:l,isLoading:p,fallbackOptions:d,isFallbackOptionsLoading:c}};
|
|
3
3
|
/*! 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,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.22, build time: 2024-12-19T14:21:21.215Z, made by Venus. */
|
|
2
2
|
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react");exports.useTreeSelectInstance=function(t,r){const u=e.useRef(null);return e.useImperativeHandle(t,(()=>({blur:()=>{u.current?.blur()},focus:()=>{u.current?.focus({preventScroll:!0})},getDataOptions:()=>r}))),u};
|
|
3
3
|
/*! 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,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.22, build time: 2024-12-19T14:21:21.215Z, made by Venus. */
|
|
2
2
|
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("@emotion/react/jsx-runtime"),r=require("@vef-framework/hooks"),o=require("@vef-framework/shared"),t=require("antd"),l=require("react");require("../internal/index.cjs");const a=require("../vef-loading-placeholder/index.cjs"),i=require("./hooks/use-change-handler.cjs"),n=require("./hooks/use-data-options.cjs"),s=require("./hooks/use-tree-select-instance.cjs"),u=require("../internal/utils.cjs"),c=e.jsx("div",{css:{height:140},children:e.jsx(a.default,{})}),d={showLeafIcon:!1};const h=l.memo(l.forwardRef((function({defaultValue:l,value:a,size:h,clearable:f,disabled:m,placeholder:p,variant:v,onClear:g,onBlur:j,onFocus:q,onChange:C,onSelect:S,onDeselect:x,multiple:b=!1,filterable:k=!0,filterFromRemote:T=!1,...w},F){const{normalizedOptions:z,isLoading:D}=n.useDataOptions({value:a,multiple:b,onChange:C,filterable:k,filterFromRemote:T,...w}),O=r.useOptionFilter(k,!1),y=i.useChangeHandler(C,z),B=s.useTreeSelectInstance(F,z);return e.jsx(t.TreeSelect,{ref:B,allowClear:f,css:o.styles.fullWidth,defaultValue:l,disabled:m,filterTreeNode:O,listHeight:280,loading:D,maxTagCount:b?"responsive":void 0,multiple:b,notFoundContent:D?c:void 0,placeholder:p,showSearch:k,size:u.convertBasicSizeToUiSize(h),treeCheckable:b,treeData:z,treeLine:d,value:a,variant:v,onBlur:j,onChange:y,onClear:g,onDeselect:x,onFocus:q,onSelect:S})})));h.displayName="VefTreeSelect",exports.default=h;
|
|
3
3
|
/*! 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,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.22, build time: 2024-12-19T14:21:21.215Z, made by Venus. */
|
|
2
2
|
"use strict";
|
|
3
3
|
/*! 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
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.22, build time: 2024-12-19T14:21:21.215Z, made by Venus. */
|
|
2
2
|
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("@emotion/react/jsx-runtime"),t=require("@emotion/react"),i=require("@tanstack/react-virtual"),r=require("@vef-framework/hooks"),a=require("@vef-framework/shared"),s=require("react"),l=require("../vef-auto-sizer/index.cjs"),u=require("../vef-scroll-area/index.cjs"),o={willChange:"transform"},n=t.css`
|
|
3
3
|
position: relative;
|
|
4
4
|
width: var(--vef-virtual-grid-width);
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.22, build time: 2024-12-19T14:21:21.215Z, made by Venus. */
|
|
2
2
|
"use strict";
|
|
3
3
|
/*! 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
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.22, build time: 2024-12-19T14:21:21.215Z, made by Venus. */
|
|
2
2
|
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("@emotion/react/jsx-runtime"),t=require("@emotion/react"),i=require("@tanstack/react-virtual"),l=require("@vef-framework/hooks"),a=require("@vef-framework/shared"),r=require("react"),s=require("../vef-auto-sizer/index.cjs"),v=require("../vef-scroll-area/index.cjs"),o={willChange:"transform"},u=t.css`
|
|
3
3
|
position: relative;
|
|
4
4
|
width: var(--vef-virtual-list-width, auto);
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.22, build time: 2024-12-19T14:21:21.215Z, made by Venus. */
|
|
2
2
|
"use strict";
|
|
3
3
|
/*! 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.22",
|
|
5
5
|
"private": false,
|
|
6
6
|
"packageManager": "pnpm@9.15.0",
|
|
7
7
|
"description": "Components fundamental to the VEF framework",
|
|
@@ -12,8 +12,14 @@
|
|
|
12
12
|
"vef-components"
|
|
13
13
|
],
|
|
14
14
|
"sideEffects": false,
|
|
15
|
-
"
|
|
16
|
-
|
|
15
|
+
"exports": {
|
|
16
|
+
".": {
|
|
17
|
+
"types": "./types/index.d.ts",
|
|
18
|
+
"import": "./es/index.js",
|
|
19
|
+
"require": "./lib/index.cjs"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"main": "es/index.js",
|
|
17
23
|
"types": "types/index.d.ts",
|
|
18
24
|
"files": [
|
|
19
25
|
"*"
|
|
@@ -35,9 +41,9 @@
|
|
|
35
41
|
"@dnd-kit/utilities": "3.2.2",
|
|
36
42
|
"@radix-ui/react-scroll-area": "1.2.1",
|
|
37
43
|
"@tanstack/react-virtual": "3.11.1",
|
|
38
|
-
"@vef-framework/core": "1.0.
|
|
39
|
-
"@vef-framework/hooks": "1.0.
|
|
40
|
-
"@vef-framework/shared": "1.0.
|
|
44
|
+
"@vef-framework/core": "1.0.22",
|
|
45
|
+
"@vef-framework/hooks": "1.0.22",
|
|
46
|
+
"@vef-framework/shared": "1.0.22",
|
|
41
47
|
"clsx": "2.1.1",
|
|
42
48
|
"dayjs": "1.11.13",
|
|
43
49
|
"lucide-react": "^0.468.0",
|
package/esm/index.mjs
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
-
export{default as VefAccessDenied}from"./vef-access-denied/index.mjs";export{default as VefActionButtons}from"./vef-action-buttons/index.mjs";export{default as VefApp}from"./vef-app/index.mjs";export{createVefApp}from"./vef-app/helper.mjs";export{default as VefAutoSizer}from"./vef-auto-sizer/index.mjs";export{default as VefAvatar}from"./vef-avatar/index.mjs";export{default as VefAvatarGroup}from"./vef-avatar-group/index.mjs";export{default as VefBadge}from"./vef-badge/index.mjs";export{default as VefBool}from"./vef-bool/index.mjs";export{default as VefButton}from"./vef-button/index.mjs";export{default as VefCard}from"./vef-card/index.mjs";export{default as VefCardMeta}from"./vef-card-meta/index.mjs";export{default as VefCheckbox}from"./vef-checkbox/index.mjs";export{default as VefCol}from"./vef-col/index.mjs";export{default as VefColorPicker}from"./vef-color-picker/index.mjs";export{default as VefCompact}from"./vef-compact/index.mjs";export{default as VefConfigProvider}from"./vef-config-provider/index.mjs";export{default as VefContainer}from"./vef-container/index.mjs";export{default as VefCrudPage}from"./vef-crud-page/index.mjs";export{default as VefDrawer}from"./vef-drawer/index.mjs";export{default as VefDropdown}from"./vef-dropdown/index.mjs";export{default as VefDynamicIcon}from"./vef-dynamic-icon/index.mjs";export{dynamicIconNames}from"./vef-dynamic-icon/props.mjs";export{default as VefEmpty}from"./vef-empty/index.mjs";export{default as VefEmptyPlaceholder}from"./vef-empty-placeholder/index.mjs";export{default as VefError}from"./vef-error/index.mjs";export{default as VefFilter}from"./vef-filter/index.mjs";export{default as VefFlex}from"./vef-flex/index.mjs";export{default as VefFloatButton}from"./vef-float-button/index.mjs";export{default as VefFloatButtonGroup}from"./vef-float-button-group/index.mjs";export{default as VefForm}from"./vef-form/index.mjs";import*as e from"./vef-form/validation-rules.mjs";export{e as validationRules};export{default as VefGenericSelect}from"./vef-generic-select/index.mjs";export{default as VefGrid}from"./vef-grid/index.mjs";export{default as VefGridItem}from"./vef-grid-item/index.mjs";export{default as VefIcon}from"./vef-icon/index.mjs";export{default as VefIconSelect}from"./vef-icon-select/index.mjs";export{default as VefInput}from"./vef-input/index.mjs";export{default as VefInputNumber}from"./vef-input-number/index.mjs";export{default as VefLayout}from"./vef-layout/index.mjs";export{default as VefLoadingPlaceholder}from"./vef-loading-placeholder/index.mjs";export{default as VefLogin}from"./vef-login/index.mjs";export{default as VefMenu}from"./vef-menu/index.mjs";export{default as VefModal}from"./vef-modal/index.mjs";export{ModalContextProvider,useModalContext,useModalContextSelector}from"./vef-modal/context.mjs";export{default as VefNotFound}from"./vef-not-found/index.mjs";export{default as VefPage}from"./vef-page/index.mjs";export{default as VefPagination}from"./vef-pagination/index.mjs";export{default as VefParagraph}from"./vef-paragraph/index.mjs";export{default as VefPassword}from"./vef-password/index.mjs";export{default as VefPopconfirm}from"./vef-popconfirm/index.mjs";export{default as VefRadio}from"./vef-radio/index.mjs";export{default as VefRate}from"./vef-rate/index.mjs";export{default as VefResponsiveContainer}from"./vef-responsive-container/index.mjs";export{default as VefResponsiveItem}from"./vef-responsive-item/index.mjs";export{default as VefRibbon}from"./vef-ribbon/index.mjs";export{default as VefRow}from"./vef-row/index.mjs";export{default as VefScrollArea}from"./vef-scroll-area/index.mjs";export{default as VefSelect}from"./vef-select/index.mjs";export{default as VefSlider}from"./vef-slider/index.mjs";export{default as VefSortableList}from"./vef-sortable-list/index.mjs";export{default as VefSpace}from"./vef-space/index.mjs";export{default as VefSpin}from"./vef-spin/index.mjs";export{default as VefSplitter}from"./vef-splitter/index.mjs";export{default as VefSplitterPanel}from"./vef-splitter-panel/index.mjs";export{default as VefStatus}from"./vef-status/index.mjs";export{default as VefTable}from"./vef-table/index.mjs";export{VefTabs}from"./vef-tabs/index.mjs";export{default as VefTag}from"./vef-tag/index.mjs";export{default as VefTemporalPicker}from"./vef-temporal-picker/index.mjs";export{default as VefTemporalRangePicker}from"./vef-temporal-range-picker/index.mjs";export{default as VefText}from"./vef-text/index.mjs";export{default as VefTextarea}from"./vef-textarea/index.mjs";export{default as VefTitle}from"./vef-title/index.mjs";export{default as VefTooltip}from"./vef-tooltip/index.mjs";export{default as VefTreeSelect}from"./vef-tree-select/index.mjs";export{default as VefVirtualGrid}from"./vef-virtual-grid/index.mjs";export{default as VefVirtualList}from"./vef-virtual-list/index.mjs";export{default as VefDrawerActionButtonWrapper}from"./vef-drawer/components/action-button-wrapper.mjs";export{default as VefModalActionButtonWrapper}from"./vef-modal/components/action-button-wrapper.mjs";
|
|
3
|
-
/*! 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/esm/internal/index.mjs
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
-
export{convertBasicSizeToUiSize}from"./utils.mjs";
|
|
3
|
-
/*! 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,3 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
-
import{jsx as o,Fragment as n}from"@emotion/react/jsx-runtime";import{useAuthorizedItems as i,useComputedActionButtons as e}from"@vef-framework/hooks";import{memo as t}from"react";import r from"../vef-button/index.mjs";import m from"../vef-flex/index.mjs";const c=t((function({buttons:t,context:c,useFlexContainer:a=!0,size:l="medium"}){const f=i(t),s=c??{},d=e(f,s);if(0===d.length)return null;const u=d.map((n=>{const{key:i,label:e,icon:t,color:m,disabled:c,requireConfirmation:a,confirmationMode:f,confirmationTitle:d,confirmationContent:u,onClick:p}=n,C=()=>p?.(s);return o(r,a?{requireConfirmation:!0,color:m,confirmationContent:u,confirmationMode:f,confirmationTitle:d,disabled:c,icon:t,size:l,onConfirmationOk:C,children:e}:{color:m,disabled:c,icon:t,size:l,onClick:C,children:e},i)}));return a?o(m,{align:"center",gap:"medium",children:u}):o(n,{children:u})}));c.displayName="VefActionButtons";export{c as default};
|
|
3
|
-
/*! 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/esm/vef-app/helper.mjs
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
-
import{jsx as e}from"@emotion/react/jsx-runtime";import{createRoot as r}from"react-dom/client";import t from"./index.mjs";function n(){const n=r(document.getElementById("root"),{identifierPrefix:"vef-"});return{render:r=>{n.render(e(t,{...r}))},unmount:()=>n.unmount()}}export{n as createVefApp};
|
|
3
|
-
/*! 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/esm/vef-avatar/props.mjs
DELETED
package/esm/vef-badge/props.mjs
DELETED
package/esm/vef-bool/index.mjs
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
-
import{jsx as e}from"@emotion/react/jsx-runtime";import{isFunction as t}from"@vef-framework/shared";import{Switch as a,Checkbox as i}from"antd";import{useMemo as o,memo as r,forwardRef as d}from"react";import{useBoolInstance as n}from"./hooks/use-bool-instance.mjs";const c=r(d((({defaultValue:r,value:d,disabled:c,size:m,label:s,indeterminate:f,variant:l="switch",loading:h,onChange:u},k)=>{const p=o((()=>{if(t(u))return"switch"===l?e=>u(e):({target:{checked:e}})=>u(e)}),[u,l]),{switchRef:b,checkboxRef:g}=n(l,k);return"switch"===l?e(a,{ref:b,defaultChecked:r,disabled:c,loading:h,size:"medium"===m?"default":m,onChange:p,...void 0===d?{}:{checked:d}}):e(i,{ref:g,defaultChecked:r,disabled:c,indeterminate:f,onChange:p,...void 0===d?{}:{checked:d},children:s})})));c.displayName="VefBool";export{c as default};
|
|
3
|
-
/*! 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/esm/vef-bool/props.mjs
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
-
import{jsx as r}from"@emotion/react/jsx-runtime";import{useColorTokens as o}from"@vef-framework/hooks";import{Button as t,ConfigProvider as e}from"antd";import{forwardRef as i}from"react";import"../../internal/index.mjs";import{convertBasicSizeToUiSize as a}from"../../internal/utils.mjs";const n=["default","primary","error"],s=i((({color:i,iconPosition:s,size:l,type:m,variant:d="solid",autoInsertSpace:c,disabled:p,loading:f,...u},h)=>{const y=o(),g="left"===s?"start":"right"===s?"end":void 0;if(!i||n.includes(i))return r(t,{ref:h,autoInsertSpace:c,color:"error"===i?"danger":i,disabled:!f&&p,htmlType:m,iconPosition:g,loading:f,size:a(l),variant:d,...u});if(y.has(i))return r(e,{theme:{token:{colorPrimary:y.get(i)}},children:r(t,{ref:h,autoInsertSpace:c,color:"primary",disabled:!f&&p,htmlType:m,iconPosition:g,loading:f,size:a(l),variant:d,...u})});throw new Error(`Invalid button color: ${i}`)}));s.displayName="VefBaseButton";export{s as default};
|
|
3
|
-
/*! 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/esm/vef-button/index.mjs
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
-
import{jsx as o}from"@emotion/react/jsx-runtime";import{useContextDisabled as n}from"@vef-framework/hooks";import{isNullish as i,invokeMaybeAsyncFn as t,defaultMessageTitle as r,showConfirmation as e,omit as a}from"@vef-framework/shared";import{forwardRef as m,useState as f,useMemo as c,memo as l}from"react";import s from"../vef-popconfirm/index.mjs";import C from"../vef-tooltip/index.mjs";import p from"./components/base-button.mjs";const d=l(m((({tip:m,onClick:l,disabled:d=!1,loading:u,...k},b)=>{const[q,v]=f(!1),y=c((()=>{if(k.requireConfirmation){const{onConfirmationOk:o}=k;return i(u)?async()=>{await t(o,{beforeInvoke:()=>{v(!0)},onFinally:()=>{v(!1)}})}:o}}),[k.requireConfirmation,k.onConfirmationOk]),g=c((()=>{if(!k.requireConfirmation)return l&&i(u)?async o=>{await t(l,{beforeInvoke:()=>{v(!0)},onFinally:()=>{v(!1)}},o)}:l;const{confirmationMode:o="simple",confirmationTitle:n=r,confirmationContent:a,onConfirmationCancel:m}=k;return"simple"===o?o=>{o.stopPropagation()}:o=>{o.stopPropagation(),e(n,a,y,{onCancel:m})}}),[u,l,y,k.requireConfirmation,k.confirmationMode,k.confirmationTitle,k.confirmationContent,k.onConfirmationCancel]),h=n()||d,j=o(p,{ref:b,disabled:h,loading:u??q,onClick:g,...a(k,["requireConfirmation","confirmationMode","confirmationTitle","confirmationContent","onConfirmationOk","onConfirmationCancel"])}),w=m?o(C,{content:m,children:j}):j;if(k.requireConfirmation&&"simple"===k.confirmationMode){const{confirmationTitle:n=r,confirmationContent:i,onConfirmationCancel:t}=k;return o(s,{ref:b,content:i,disabled:h,title:n,onCancel:t,onOk:y,children:w})}return w})));d.displayName="VefButton";export{d as default};
|
|
3
|
-
/*! 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/esm/vef-button/props.mjs
DELETED
package/esm/vef-card/props.mjs
DELETED
package/esm/vef-col/props.mjs
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
-
import{jsx as e}from"@emotion/react/jsx-runtime";import{isFunction as r}from"@vef-framework/shared";import{ColorPicker as t}from"antd";import{useMemo as o}from"react";import"../internal/index.mjs";import{convertBasicSizeToUiSize as a}from"../internal/utils.mjs";const i=["single","gradient"],m=({clearable:m,disabled:l,format:n,size:s,showText:f,trigger:d,defaultValue:u,value:g,onChange:p})=>{const c=o((()=>{if(r(p))return e=>{p(e.toCssString(),e)}}),[p]);return e(t,{allowClear:m,arrow:!1,defaultValue:u,disabled:l,format:n,mode:i,showText:f,size:a(s),trigger:d,value:g,onChangeComplete:c})};export{m as default};
|
|
3
|
-
/*! 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,3 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
-
import{jsx as t}from"@emotion/react/jsx-runtime";import{Space as i}from"antd";import"../internal/index.mjs";import{convertBasicSizeToUiSize as m}from"../internal/utils.mjs";const{Compact:o}=i,r=({size:i,...r})=>t(o,{size:m(i),...r});export{r as default};
|
|
3
|
-
/*! 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,3 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
-
import{jsx as o}from"@emotion/react/jsx-runtime";import{DisabledContextProvider as t}from"@vef-framework/hooks";import{useMemo as r}from"react";import e from"../../vef-action-buttons/index.mjs";import{useActionButtons as m}from"../hooks/use-action-buttons.mjs";import{useCrudContext as s}from"../hooks/use-crud-context.mjs";import{useCrudStore as i}from"../store.mjs";function n({tableApi:n,tableApiParams:a,actionButtons:u}){const c=i((o=>o.confirmedFilterValues)),f=n.useIsFetching(r((()=>({...a,...c})),[a,c])),p=s(),l=m(u);return o(t,{value:f,children:o(e,{buttons:l,context:p,useFlexContainer:!1})})}export{n as default};
|
|
3
|
-
/*! 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,3 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
-
import{jsx as t}from"@emotion/react/jsx-runtime";import{useMemo as e,useCallback as o}from"react";import r from"../../vef-action-buttons/index.mjs";import i from"../../vef-filter/index.mjs";import n from"../../vef-title/index.mjs";import{useActionButtons as m}from"../hooks/use-action-buttons.mjs";import{useCrudContext as s}from"../hooks/use-crud-context.mjs";import{useCrudStore as a}from"../store.mjs";function f({title:f,tableApi:l,tableApiParams:u,filterSchema:c,actionButtons:p}){const[d,x,h]=a((t=>[t.setFilterValues,t.confirmedFilterValues,t.setConfirmedFilterValues])),j=l.useIsFetching(e((()=>({...u,...x})),[u,x])),b=s(),F=m(p),g=o((()=>h(null)),[h]);return t(i,{loading:j,prefix:t(n,{noPaddingBottom:!0,showLeftBar:!0,level:5,children:f}),schema:c,extraActionButtons:t(r,{buttons:F,context:b,useFlexContainer:!1}),onChange:d,onConfirm:h,onReset:g})}export{f as default};
|
|
3
|
-
/*! 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,3 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
-
import{jsx as o}from"@emotion/react/jsx-runtime";import e from"../../vef-form-modal/index.mjs";import{useCrudStore as r}from"../store.mjs";function t({formSchema:t,formApis:n}){const[i,{scene:m,title:s,width:c},{onBeforeSubmit:f,onSubmitSuccess:u},a,p,l]=r((o=>[o.isFormOpen,o.currentFormInfo,o.currentFormEventHandlers,o.currentFormInitialValues,o.isFormLoading,o.closeForm])),d=n[m];if(!d)throw new Error(`Form api for scene ${m} not found, please check the formApis props of VefCrudPage component.`);return o(e,{initialValues:a,loading:p,open:i,scene:m,schema:t,submitApi:d,title:s,width:c,onBeforeSubmit:f,onClose:l,onSubmitSuccess:u})}export{t as default};
|
|
3
|
-
/*! 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,3 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
-
import{jsx as t}from"@emotion/react/jsx-runtime";import{memo as e}from"react";import r from"./crud-filter.mjs";const i=e((function({title:e,tableApi:i,tableApiParams:a,filterItems:o,actionButtons:l}){return o.length>0?t(r,{actionButtons:l,filterSchema:o,tableApi:i,tableApiParams:a,title:e}):null}));export{i as default};
|
|
3
|
-
/*! 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,3 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
-
import{jsx as e}from"@emotion/react/jsx-runtime";import{useMemo as t,useCallback as o,useRef as s,useEffect as a,memo as n}from"react";import r from"../../vef-table/index.mjs";import{useCrudContext as l}from"../hooks/use-crud-context.mjs";import{useOperationButtons as i}from"../hooks/use-operation-buttons.mjs";import{useCrudStore as c,useCrudStoreApi as m}from"../store.mjs";const p=n((function({api:n,apiParams:p,deletionApi:d,paginated:u,schema:f,selectable:x,operationButtons:S,...h}){const[y,b,j]=c((e=>[e.confirmedFilterValues,e.selectedInfo,e.setSelectedInfo])),K=t((()=>({...p,...y})),[p,y]),g=o(((e,t)=>{j({selectedKeys:e,selectedRecords:t})}),[j]),C=i(d,S),R=s(null),I=m();a((()=>{I.setState({tableInstanceRef:R})}),[I]);const P=l();return e(r,u?{ref:R,multipleSelection:!0,paginated:!0,api:n,apiParams:K,externalContext:P,operationButtons:C,schema:f,selectable:x,selectedKeys:b.selectedKeys,selectionSummary:!1,onRowSelectionChange:g,...h}:{ref:R,multipleSelection:!0,api:n,apiParams:K,externalContext:P,schema:f,selectable:x,selectedKeys:b.selectedKeys,selectionSummary:!1,onRowSelectionChange:g,...h})}));export{p as default};
|
|
3
|
-
/*! 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,3 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
-
import{jsx as e}from"@emotion/react/jsx-runtime";import{creationFormScene as r}from"@vef-framework/shared";import{PlusIcon as o}from"lucide-react";import{useMemo as t}from"react";import m from"../../vef-icon/index.mjs";import{useCrudStore as i}from"../store.mjs";function c(c){const n=i((e=>e.formApiKeys)),f=Reflect.has(n,r),s=Reflect.get(n,r);return t((()=>f?[...c??[],{label:"创建",key:`_${r}`,icon:e(m,{children:e(o,{})}),color:"primary",permissions:[s],onClick:({openForm:e,refetch:o})=>e({scene:r,title:"创建",onSubmitSuccess:()=>{o()}})}]:c??[]),[f,c,s])}export{c as useActionButtons};
|
|
3
|
-
/*! 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,3 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
-
import{useMemo as e}from"react";import{useCrudStore as r}from"../store.mjs";function t(){const[t,o,n]=r((e=>[e.openForm,e.filterValues,e.tableInstanceRef]));return e((()=>({openForm:t,filterValues:o,refetch:async()=>{await(n.current?.refetch())}})),[t,o,n])}export{t as useCrudContext};
|
|
3
|
-
/*! 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,3 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
-
import{jsx as o}from"@emotion/react/jsx-runtime";import{useApiContext as r}from"@vef-framework/core";import{modificationFormScene as e,showSuccessMessage as i}from"@vef-framework/shared";import{PencilIcon as t,TrashIcon as m}from"lucide-react";import{useMemo as n}from"react";import c from"../../vef-icon/index.mjs";import{useCrudStore as a}from"../store.mjs";function s(s,f){const{useApiMutation:l,stubMutationApi:p}=r(),u=l(s??p),d=a((o=>o.formApiKeys)),h=Reflect.has(d,e);return n((()=>{const r=[...f??[]];return h&&r.push({key:"_modification",label:"修改",icon:o(c,{children:o(t,{})}),color:"primary",onClick:({record:o,openForm:r,refetch:i})=>{r({scene:e,title:"修改",initialValues:o,onSubmitSuccess:()=>{i()}})}}),s&&r.push({key:"_deletion",label:"删除",icon:o(c,{children:o(m,{})}),color:"error",requireConfirmation:!0,confirmationMode:"simple",onClick:async({record:o,refetch:r})=>{const{message:e}=await u.mutate(o);i(e),r()}}),r}),[s,u,f,h])}export{s as useOperationButtons};
|
|
3
|
-
/*! 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,3 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
-
import{jsx as e,jsxs as t}from"@emotion/react/jsx-runtime";import{isNullish as o}from"@vef-framework/shared";import{useMemo as r}from"react";import m from"../vef-card/index.mjs";import s from"../vef-page/index.mjs";import i from"./components/crud-actions.mjs";import a from"./components/crud-footer.mjs";import n from"./components/crud-form-modal.mjs";import c from"./components/crud-header.mjs";import l from"./components/crud-table.mjs";import{useCrudSchema as p}from"./hooks/use-crud-schema.mjs";import{useCrudStore as f,CrudStoreProvider as u}from"./store.mjs";function b({title:r,actionButtons:p,batchActionButtons:u,tableSchema:b,filterItems:h,formGroups:d,tableApiParams:A,formApis:j,deletionApi:S,batchDeletionApi:y,selectionSummary:B,...g}){const{selectedKeys:P}=f((e=>e.selectedInfo)),k=!o(y)||!o(u)&&u.length>0;let w;if(g.paginated){const{tableApi:t,...o}=g;w=e(l,{showRowNumber:!0,api:t,apiParams:A,deletionApi:S,schema:b,selectable:k,...o})}else{const{tableApi:t,...o}=g;w=e(l,{showRowNumber:!0,api:t,apiParams:A,deletionApi:S,schema:b,selectable:k,...o})}const{tableApi:I}=g;return e(s,{scrollable:!0,title:r,actions:e(i,{actionButtons:p,tableApi:I,tableApiParams:A}),footer:P.length>0&&e(a,{batchActionButtons:u,batchDeletionApi:y,selectionSummary:B,tableApi:I,tableApiParams:A}),header:e(c,{actionButtons:p,filterItems:h,tableApi:I,tableApiParams:A,title:r}),children:t(m,{children:[w,j&&Object.keys(j).length>0&&d.length>0&&e(n,{formApis:j,formSchema:d})]})})}function h({schema:t,formApis:o,onFormOpen:m,onBeforeSubmit:s,onSubmitSuccess:i,...a}){const{tableSchema:n,filterItems:c,formGroups:l,filterValueAsDefaultKeys:f}=p(t),h=r((()=>{const e=o??{};return Object.keys(e).reduce(((t,o)=>(e[o]&&(t[o]=e[o].key),t)),{})}),[o]);return e(u,{filterValueAsDefaultKeys:f,formApiKeys:h,onBeforeSubmit:s,onFormOpen:m,onSubmitSuccess:i,children:e(b,{filterItems:c,formApis:o,formGroups:l,tableSchema:n,...a})})}export{h as default};
|
|
3
|
-
/*! 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,3 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
-
import{jsx as o,Fragment as r}from"@emotion/react/jsx-runtime";import{invokeMaybeAsyncFn as e}from"@vef-framework/shared";import{useState as i,useMemo as t,cloneElement as n}from"react";import{useDrawerContextSelector as a}from"../context.mjs";const s=({children:s})=>{const[l,d]=a((o=>[o.isDisabled,o.setIsDisabled])),[m,c]=i(!1),{disabled:f,loading:p,onClick:b}=s.props,k=t((()=>{if(b)return async o=>{await e(b,{beforeInvoke:()=>{c(!0),d(!0)},onFinally:()=>{c(!1),d(!1)}},o)}}),[b,d]),u=n(s,{disabled:l||f,loading:m||p,onClick:k});return o(r,{children:u})};export{s as default};
|
|
3
|
-
/*! 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,3 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
-
import{jsx as t}from"@emotion/react/jsx-runtime";import o from"../../vef-button/index.mjs";import r from"./action-button-wrapper.mjs";const e=({text:e,onClick:i})=>t(r,{children:t(o,{color:"default",variant:"text",onClick:i,children:e})});export{e as default};
|
|
3
|
-
/*! 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,3 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
-
import{jsx as o}from"@emotion/react/jsx-runtime";import{CheckIcon as r}from"lucide-react";import i from"../../vef-button/index.mjs";import t from"../../vef-icon/index.mjs";import e from"./action-button-wrapper.mjs";const m=({text:m,onClick:n})=>o(e,{children:o(i,{color:"primary",icon:o(t,{children:o(r,{})}),onClick:n,children:m})});export{m as default};
|
|
3
|
-
/*! 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/esm/vef-drawer/props.mjs
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
-
import{jsx as o}from"@emotion/react/jsx-runtime";import{useThemeTokens as r}from"@vef-framework/hooks";import e from"lucide-react/dynamicIconImports";import{forwardRef as t,lazy as i,Suspense as n}from"react";import m from"../vef-icon/index.mjs";function c(){const{colorFillContent:e}=r();return o("svg",{"aria-label":"Loading icon",height:"1em",role:"img",viewBox:"0 0 100 100",width:"1em",xmlns:"http://www.w3.org/2000/svg",children:o("rect",{fill:e,height:"100",rx:"20",width:"100"})})}const a=o(c,{}),l=new Map,f=t((({name:r,...t},c)=>{if(!l.has(r)){const o=i(e[r]);l.set(r,o)}const f=l.get(r);return o(m,{ref:c,...t,children:o(n,{fallback:a,children:o(f,{})})})}));export{f as default};
|
|
3
|
-
/*! 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/esm/vef-empty/props.mjs
DELETED
package/esm/vef-error/props.mjs
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
-
import m from"./input.mjs";import p from"./input-number.mjs";import"./props.mjs";const r={Input:m,InputNumber:p};export{r as fieldMap};
|
|
3
|
-
/*! 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,3 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
-
import{jsx as e}from"@emotion/react/jsx-runtime";import{VefError as r,isString as o,isFunction as t}from"@vef-framework/shared";import{useMemo as a}from"react";import n from"../../../vef-input-number/index.mjs";import{useComputedValues as s}from"../../hooks/use-computed-values.mjs";import{useFilterStore as u}from"../../store.mjs";function l({label:l,disabled:i,value:m,onChange:f,componentProps:p}){if("InputNumber"!==p.type)throw new r(-9,'Oops! Something went wrong. The type of the filter field is not "InputNumber", but rendered.');const{onChange:d,onEnterKeyPress:c,placeholder:h,prefix:x,suffix:V,max:w,min:v}=p,[y,b]=u((e=>[e.form,e.setValues])),[g,k,j,C,P]=s([{key:"placeholder",rawValue:h,defaultValue:l?o(l)?`请输入${l}`:"请输入":void 0},{key:"max",rawValue:w},{key:"min",rawValue:v},{key:"prefix",rawValue:x},{key:"suffix",rawValue:V}]),E=a((()=>{const e={onChange:e=>{if(f?.(e),t(d)){const r=y.getFieldsValue();d(e,{values:r,setValues:b})}}};return t(c)&&(e.onPressEnter=e=>{const r=y.getFieldsValue();c(e,{values:r,setValues:b})}),e}),[y,f,c,d,b]);return e(n,{disabled:i,max:k,min:j,placeholder:g,prefix:C,suffix:P,value:m,...E})}export{l as default};
|
|
3
|
-
/*! 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,3 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
-
import{jsx as e}from"@emotion/react/jsx-runtime";import{VefError as o,isString as t,isFunction as r}from"@vef-framework/shared";import{useMemo as s}from"react";import n from"../../../vef-input/index.mjs";import{useComputedValues as a}from"../../hooks/use-computed-values.mjs";import{useFilterStore as l}from"../../store.mjs";function u({label:u,disabled:i,value:m,onChange:p,componentProps:d}){if("Input"!==d.type)throw new o(-9,'Oops! Something went wrong. The type of the filter field is not "Input", but rendered.');const{onChange:f,onEnterKeyPress:c,placeholder:h}=d,[v,g]=l((e=>[e.form,e.setValues])),[V]=a([{key:"placeholder",rawValue:h,defaultValue:u?t(u)?`请输入${u}`:"请输入":void 0}]),w=s((()=>{const e={onChange:e=>{if(p?.(e),r(f)){const o=v.getFieldsValue();f(e,{values:o,setValues:g})}}};return r(c)&&(e.onPressEnter=e=>{const o=v.getFieldsValue();c(e,{values:o,setValues:g})}),e}),[v,p,c,f,g]);return e(n,{clearable:!0,disabled:i,placeholder:V,value:m,...w})}export{u as default};
|
|
3
|
-
/*! 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,3 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
-
import{jsx as e}from"@emotion/react/jsx-runtime";import{VefError as r}from"@vef-framework/shared";import{useMemo as t}from"react";import{fieldMap as o}from"./fields/index.mjs";function n(n){const{name:f,componentProps:{type:m}}=n,i=t((()=>{const e=o[m];if(!e)throw new r(-9,`Unknown filter field type: "${m}", please check the type of "${f}" field.`);return e}),[f,m]);return e(i,{...n})}export{n as default};
|
|
3
|
-
/*! 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,3 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
-
import{jsx as e}from"@emotion/react/jsx-runtime";import{useContextDisabled as r}from"@vef-framework/hooks";import{isEqual as a,omit as t}from"@vef-framework/shared";import{Form as l}from"antd";import{useMemo as o,memo as i}from"react";import{useComputedValues as m}from"../hooks/use-computed-values.mjs";import u from"./filter-field.mjs";const{Item:d}=l;const s=i((function({item:{name:a,show:t,disabled:l,label:i,tip:s,required:f,width:n,advanced:p=!1,span:w,virtual:c,...h},...k}){const V=r(),[b,v,y,j,q,x]=m([{key:"show",rawValue:t,defaultValue:!0},{key:"disabled",rawValue:l,defaultValue:!1},{key:"label",rawValue:i},{key:"tip",rawValue:s},{key:"required",rawValue:f,defaultValue:!1},{key:"width",rawValue:n,defaultValue:i?220:180}]),I=o((()=>{if(q)return[{required:!0}]}),[q]),P=o((()=>{if(!p)return{width:x}}),[p,x]);return b?e(d,{css:P,help:!1,label:y,name:a,preserve:!1,rules:I,tooltip:j,...k,children:e(u,{componentProps:h,disabled:V||v,label:y,name:a})}):null}),((e,r)=>a(t(e,["item"]),t(r,["item"]))));export{s as default};
|
|
3
|
-
/*! 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,3 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
-
import{isFunction as e,omit as t,showWarningMessage as r}from"@vef-framework/shared";import{useCallback as i,useMemo as n}from"react";import{useFilterStore as o}from"../store.mjs";function a({onBeforeConfirm:a,onConfirm:s,onReset:l}){const[m,f,u,d,h,c,C]=o((e=>[e.form,e.eventBus,e.getValues,e.initialValues,e.invokeValueChangeHandlers,e.virtualFieldNames,e.setIsLoading]));return{handleReset:i((()=>{const e=u();m.resetFields(),h(),f.emitChange(d),l?.(e)}),[f,m,u,d,h,l]),handleConfirm:n((()=>{if(e(s))return async r=>{C(!0);let i=r;try{e(a)&&(i=await a(i));const r=t(i,c);await s(r),f.emitSubmitResult(!0)}catch(e){throw f.emitSubmitResult(!1),e}finally{C(!1)}}}),[a,s,f,C,c]),handleConfirmFailed:i((({errorFields:e})=>{f.emitSubmitResult(!1),e.length>0&&r(e.flatMap((e=>e.errors)).join(", "))}),[f])}}export{a as useActionHandlers};
|
|
3
|
-
/*! 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 */
|