@vef-framework/components 1.0.45 → 1.0.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/index.js +1 -1
- package/es/internal/index.js +1 -1
- package/es/internal/reset.css.js +3 -0
- package/es/internal/utils.js +1 -1
- package/es/vef-access-denied/access-denied-icon.js +1 -1
- package/es/vef-access-denied/index.js +1 -1
- package/es/vef-action-buttons/index.js +1 -1
- package/es/vef-auto-sizer/index.js +1 -1
- package/es/vef-avatar/index.js +1 -1
- package/es/vef-avatar-group/index.js +1 -1
- package/es/vef-badge/index.js +1 -1
- package/es/vef-bool/hooks/use-bool-instance.js +1 -1
- package/es/vef-bool/index.js +1 -1
- package/es/vef-breadcrumb/index.js +1 -1
- package/es/vef-button/components/base-button.js +1 -1
- package/es/vef-button/index.js +1 -1
- package/es/vef-card/index.js +1 -1
- package/es/vef-card-meta/index.js +1 -1
- package/es/vef-checkbox/hooks/use-checkbox-instance.js +1 -1
- package/es/vef-checkbox/hooks/use-data-options.js +1 -1
- package/es/vef-checkbox/index.js +1 -1
- package/es/vef-col/index.js +1 -1
- package/es/vef-color-picker/index.js +1 -1
- package/es/vef-compact/index.js +1 -1
- package/es/vef-config-provider/global-style.js +15 -267
- package/es/vef-config-provider/hooks/use-ui-config.js +1 -1
- package/es/vef-config-provider/index.js +1 -1
- package/es/vef-config-provider/store.js +1 -1
- package/es/vef-container/index.js +1 -1
- package/es/vef-crud-page/components/crud-actions.js +1 -1
- package/es/vef-crud-page/components/crud-filter.js +1 -1
- package/es/vef-crud-page/components/crud-footer.js +1 -1
- package/es/vef-crud-page/components/crud-form-modal.js +1 -1
- package/es/vef-crud-page/components/crud-header.js +1 -1
- package/es/vef-crud-page/components/crud-table.js +1 -1
- package/es/vef-crud-page/hooks/use-action-buttons.js +1 -1
- package/es/vef-crud-page/hooks/use-crud-context.js +1 -1
- package/es/vef-crud-page/hooks/use-crud-schema.js +1 -1
- package/es/vef-crud-page/hooks/use-operation-buttons.js +1 -1
- package/es/vef-crud-page/index.js +1 -1
- package/es/vef-crud-page/store.js +1 -1
- package/es/vef-divider/index.js +1 -1
- package/es/vef-drawer/components/action-button-wrapper.js +1 -1
- package/es/vef-drawer/components/button-props.js +1 -1
- package/es/vef-drawer/components/cancel-action-button.js +1 -1
- package/es/vef-drawer/components/ok-action-button.js +1 -1
- package/es/vef-drawer/context.js +1 -1
- package/es/vef-drawer/index.js +1 -1
- package/es/vef-dropdown/index.js +1 -1
- package/es/vef-dynamic-icon/index.js +1 -1
- package/es/vef-dynamic-icon/props.js +1 -1
- package/es/vef-empty/index.js +1 -1
- package/es/vef-empty-placeholder/index.js +1 -1
- package/es/vef-error/error-icon.js +1 -1
- package/es/vef-error/index.js +1 -1
- package/es/vef-filter/components/action-buttons.js +1 -1
- package/es/vef-filter/components/advanced-filter.js +1 -1
- package/es/vef-filter/components/basic-filter.js +1 -1
- package/es/vef-filter/components/fields/index.js +1 -1
- package/es/vef-filter/components/fields/input-number.js +1 -1
- package/es/vef-filter/components/fields/input.js +1 -1
- package/es/vef-filter/components/filter-field.js +1 -1
- package/es/vef-filter/components/filter-item.js +1 -1
- package/es/vef-filter/event.js +1 -1
- package/es/vef-filter/helper.js +1 -1
- package/es/vef-filter/hooks/use-action-handlers.js +1 -1
- package/es/vef-filter/hooks/use-computed-values.js +1 -1
- package/es/vef-filter/hooks/use-filter-context.js +1 -1
- package/es/vef-filter/hooks/use-filter-initialization.js +1 -1
- package/es/vef-filter/hooks/use-filter-instance.js +1 -1
- package/es/vef-filter/hooks/use-filter-items.js +1 -1
- package/es/vef-filter/hooks/use-filter-values-change.js +1 -1
- package/es/vef-filter/hooks/use-label-config.js +1 -1
- package/es/vef-filter/index.js +1 -1
- package/es/vef-filter/store.js +1 -1
- package/es/vef-flex/index.js +1 -1
- package/es/vef-float-button/index.js +1 -1
- package/es/vef-float-button-group/index.js +1 -1
- package/es/vef-form/components/fields/index.js +1 -1
- package/es/vef-form/components/fields/input-number.js +1 -1
- package/es/vef-form/components/fields/input.js +1 -1
- package/es/vef-form/components/form-actions.js +1 -1
- package/es/vef-form/components/form-content.js +1 -1
- package/es/vef-form/components/form-field.js +1 -1
- package/es/vef-form/components/form-group.js +1 -1
- package/es/vef-form/components/form-hidden-item.js +1 -1
- package/es/vef-form/components/form-item.js +1 -1
- package/es/vef-form/components/form-row.js +1 -1
- package/es/vef-form/event.js +1 -1
- package/es/vef-form/helper.js +1 -1
- package/es/vef-form/hooks/use-action-handlers.js +1 -1
- package/es/vef-form/hooks/use-columns-layout.js +1 -1
- package/es/vef-form/hooks/use-computed-values.js +1 -1
- package/es/vef-form/hooks/use-form-context.js +1 -1
- package/es/vef-form/hooks/use-form-initialization.js +1 -1
- package/es/vef-form/hooks/use-form-instance.js +1 -1
- package/es/vef-form/hooks/use-form-values-change.js +1 -1
- package/es/vef-form/hooks/use-label-width.js +1 -1
- package/es/vef-form/index.js +1 -1
- package/es/vef-form/store.js +1 -1
- package/es/vef-form/validation-rules.js +1 -1
- package/es/vef-form-drawer/index.js +1 -1
- package/es/vef-form-modal/index.js +1 -1
- package/es/vef-generic-select/index.js +1 -1
- package/es/vef-grid/index.js +1 -1
- package/es/vef-grid/props.js +1 -1
- package/es/vef-grid-item/index.js +1 -1
- package/es/vef-icon/index.js +1 -1
- package/es/vef-icon-select/index.js +1 -1
- package/es/vef-input/hooks/use-input-instance.js +1 -1
- package/es/vef-input/index.js +1 -1
- package/es/vef-input-number/hooks/use-input-number-instance.js +1 -1
- package/es/vef-input-number/index.js +1 -1
- package/es/vef-layout/common-styles.js +1 -1
- package/es/vef-layout/components/content.js +1 -1
- package/es/vef-layout/components/font-size.js +1 -1
- package/es/vef-layout/components/fullscreen.js +1 -1
- package/es/vef-layout/components/header-action-icons.js +1 -1
- package/es/vef-layout/components/header-content.js +1 -1
- package/es/vef-layout/components/header.js +2 -2
- package/es/vef-layout/components/icon-boy.js +1 -1
- package/es/vef-layout/components/icon-girl.js +1 -1
- package/es/vef-layout/components/icon-menu-fold-left.js +1 -1
- package/es/vef-layout/components/icon-menu-unfold-left.js +1 -1
- package/es/vef-layout/components/menu-groups.js +1 -1
- package/es/vef-layout/components/message.js +1 -1
- package/es/vef-layout/components/search.js +1 -1
- package/es/vef-layout/components/sider.js +1 -1
- package/es/vef-layout/components/title.js +1 -1
- package/es/vef-layout/components/user-avatar.js +1 -1
- package/es/vef-layout/hooks/use-layout-context.js +1 -1
- package/es/vef-layout/index.js +1 -1
- package/es/vef-layout/logo.svg.js +1 -1
- package/es/vef-layout/store.js +1 -1
- package/es/vef-loading-placeholder/index.js +1 -1
- package/es/vef-login/index.js +1 -1
- package/es/vef-login/login-icon.js +1 -1
- package/es/vef-menu/index.js +1 -1
- package/es/vef-modal/components/action-button-wrapper.js +1 -1
- package/es/vef-modal/components/button-props.js +1 -1
- package/es/vef-modal/components/cancel-action-button.js +1 -1
- package/es/vef-modal/components/ok-action-button.js +1 -1
- package/es/vef-modal/context.js +1 -1
- package/es/vef-modal/index.js +1 -1
- package/es/vef-not-found/index.js +1 -1
- package/es/vef-not-found/not-found-icon.js +1 -1
- package/es/vef-page/index.js +1 -1
- package/es/vef-pagination/index.js +1 -1
- package/es/vef-pagination/props.js +1 -1
- package/es/vef-paragraph/index.js +1 -1
- package/es/vef-password/hooks/use-password-instance.js +1 -1
- package/es/vef-password/index.js +1 -1
- package/es/vef-popconfirm/index.js +1 -1
- package/es/vef-popover/index.js +1 -1
- package/es/vef-radio/hooks/use-data-options.js +1 -1
- package/es/vef-radio/hooks/use-radio-instance.js +1 -1
- package/es/vef-radio/index.js +1 -1
- package/es/vef-rate/hooks/use-rate-instance.js +1 -1
- package/es/vef-rate/index.js +1 -1
- package/es/vef-responsive-container/index.js +1 -1
- package/es/vef-responsive-item/index.js +1 -1
- package/es/vef-ribbon/index.js +1 -1
- package/es/vef-row/index.js +1 -1
- package/es/vef-scroll-area/components/scrollbar.js +1 -1
- package/es/vef-scroll-area/index.js +1 -1
- package/es/vef-select/components/option.js +1 -1
- package/es/vef-select/hooks/use-data-options.js +1 -1
- package/es/vef-select/hooks/use-field-names.js +1 -1
- package/es/vef-select/hooks/use-render-label.js +1 -1
- package/es/vef-select/hooks/use-render-option.js +1 -1
- package/es/vef-select/hooks/use-select-instance.js +1 -1
- package/es/vef-select/index.js +1 -1
- package/es/vef-slider/hooks/use-slider-instance.js +1 -1
- package/es/vef-slider/index.js +1 -1
- package/es/vef-sortable-list/components/overlay-item.js +1 -1
- package/es/vef-sortable-list/components/sortable-item.js +1 -1
- package/es/vef-sortable-list/hooks/use-merged-items.js +1 -1
- package/es/vef-sortable-list/index.js +1 -1
- package/es/vef-space/index.js +1 -1
- package/es/vef-spin/index.js +1 -1
- package/es/vef-splitter/index.js +1 -1
- package/es/vef-splitter-panel/index.js +1 -1
- package/es/vef-status/index.js +1 -1
- package/es/vef-table/components/columns/bool.js +1 -1
- package/es/vef-table/components/columns/code.js +1 -1
- package/es/vef-table/components/columns/data-dictionary.js +1 -1
- package/es/vef-table/components/columns/enum.js +1 -1
- package/es/vef-table/components/columns/file.js +1 -1
- package/es/vef-table/components/columns/icon.js +1 -1
- package/es/vef-table/components/columns/id.js +1 -1
- package/es/vef-table/components/columns/image.js +1 -1
- package/es/vef-table/components/columns/index.js +1 -1
- package/es/vef-table/components/columns/markdown.js +1 -1
- package/es/vef-table/components/columns/number.js +1 -1
- package/es/vef-table/components/columns/render.js +1 -1
- package/es/vef-table/components/columns/rich-text.js +1 -1
- package/es/vef-table/components/columns/text.js +1 -1
- package/es/vef-table/components/columns-settings.js +1 -1
- package/es/vef-table/components/operation-buttons.js +1 -1
- package/es/vef-table/components/settings-icon.js +1 -1
- package/es/vef-table/components/table-footer.js +1 -1
- package/es/vef-table/helper.js +1 -1
- package/es/vef-table/hooks/use-computed-batch-buttons.js +1 -1
- package/es/vef-table/hooks/use-computed-columns.js +1 -1
- package/es/vef-table/hooks/use-computed-values.js +1 -1
- package/es/vef-table/hooks/use-data.js +1 -1
- package/es/vef-table/hooks/use-default-column-configs.js +1 -1
- package/es/vef-table/hooks/use-display-value.js +1 -1
- package/es/vef-table/hooks/use-helper-columns.js +1 -1
- package/es/vef-table/hooks/use-operation-column-width.js +1 -1
- package/es/vef-table/hooks/use-pagination-props.js +1 -1
- package/es/vef-table/hooks/use-row-props.js +1 -1
- package/es/vef-table/hooks/use-row-selection-config.js +1 -1
- package/es/vef-table/hooks/use-selected-rows.js +1 -1
- package/es/vef-table/hooks/use-table-columns.js +1 -1
- package/es/vef-table/hooks/use-table-context.js +1 -1
- package/es/vef-table/hooks/use-table-instance.js +1 -1
- package/es/vef-table/hooks/use-table-summary.js +1 -1
- package/es/vef-table/hooks/use-table-width.js +1 -1
- package/es/vef-table/index.js +1 -1
- package/es/vef-table/store.js +1 -1
- package/es/vef-tabs/index.js +1 -1
- package/es/vef-tag/index.js +1 -1
- package/es/vef-temporal-picker/helper.js +1 -1
- package/es/vef-temporal-picker/hooks/use-dayjs-value.js +1 -1
- package/es/vef-temporal-picker/hooks/use-temporal-limit.js +1 -1
- package/es/vef-temporal-picker/hooks/use-temporal-picker-instance.js +1 -1
- package/es/vef-temporal-picker/index.js +1 -1
- package/es/vef-temporal-range-picker/helper.js +1 -1
- package/es/vef-temporal-range-picker/hooks/use-dayjs-values.js +1 -1
- package/es/vef-temporal-range-picker/hooks/use-temporal-limit.js +1 -1
- package/es/vef-temporal-range-picker/hooks/use-temporal-range-picker-instance.js +1 -1
- package/es/vef-temporal-range-picker/index.js +1 -1
- package/es/vef-temporal-range-picker/props.js +1 -1
- package/es/vef-text/index.js +1 -1
- package/es/vef-textarea/hooks/use-textarea-instance.js +1 -1
- package/es/vef-textarea/index.js +1 -1
- package/es/vef-title/index.js +1 -1
- package/es/vef-tooltip/index.js +1 -1
- package/es/vef-tree-select/hooks/use-change-handler.js +1 -1
- package/es/vef-tree-select/hooks/use-data-options.js +1 -1
- package/es/vef-tree-select/hooks/use-tree-select-instance.js +1 -1
- package/es/vef-tree-select/index.js +1 -1
- package/es/vef-virtual-grid/index.js +1 -1
- package/es/vef-virtual-list/index.js +1 -1
- package/lib/index.cjs +1 -1
- package/lib/internal/index.cjs +1 -1
- package/lib/internal/reset.css.cjs +3 -0
- 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-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-breadcrumb/index.cjs +1 -1
- package/lib/vef-breadcrumb/props.cjs +1 -1
- package/lib/vef-button/components/base-button.cjs +1 -1
- package/lib/vef-button/index.cjs +1 -1
- package/lib/vef-button/props.cjs +1 -1
- package/lib/vef-card/index.cjs +1 -1
- package/lib/vef-card/props.cjs +1 -1
- package/lib/vef-card-meta/index.cjs +1 -1
- package/lib/vef-card-meta/props.cjs +1 -1
- package/lib/vef-checkbox/hooks/use-checkbox-instance.cjs +1 -1
- package/lib/vef-checkbox/hooks/use-data-options.cjs +1 -1
- package/lib/vef-checkbox/index.cjs +1 -1
- package/lib/vef-checkbox/props.cjs +1 -1
- package/lib/vef-col/index.cjs +1 -1
- package/lib/vef-col/props.cjs +1 -1
- package/lib/vef-color-picker/index.cjs +1 -1
- package/lib/vef-color-picker/props.cjs +1 -1
- package/lib/vef-compact/index.cjs +1 -1
- package/lib/vef-compact/props.cjs +1 -1
- package/lib/vef-config-provider/global-style.cjs +17 -269
- package/lib/vef-config-provider/hooks/use-ui-config.cjs +1 -1
- package/lib/vef-config-provider/index.cjs +1 -1
- package/lib/vef-config-provider/props.cjs +1 -1
- package/lib/vef-config-provider/store.cjs +1 -1
- package/lib/vef-container/index.cjs +1 -1
- package/lib/vef-container/props.cjs +1 -1
- package/lib/vef-crud-page/components/crud-actions.cjs +1 -1
- package/lib/vef-crud-page/components/crud-filter.cjs +1 -1
- package/lib/vef-crud-page/components/crud-footer.cjs +1 -1
- package/lib/vef-crud-page/components/crud-form-modal.cjs +1 -1
- package/lib/vef-crud-page/components/crud-header.cjs +1 -1
- package/lib/vef-crud-page/components/crud-table.cjs +1 -1
- package/lib/vef-crud-page/hooks/use-action-buttons.cjs +1 -1
- package/lib/vef-crud-page/hooks/use-crud-context.cjs +1 -1
- package/lib/vef-crud-page/hooks/use-crud-schema.cjs +1 -1
- package/lib/vef-crud-page/hooks/use-operation-buttons.cjs +1 -1
- package/lib/vef-crud-page/index.cjs +1 -1
- package/lib/vef-crud-page/props.cjs +1 -1
- package/lib/vef-crud-page/store.cjs +1 -1
- package/lib/vef-crud-page/types.cjs +1 -1
- package/lib/vef-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/common-styles.cjs +1 -1
- package/lib/vef-layout/components/content.cjs +1 -1
- package/lib/vef-layout/components/font-size.cjs +1 -1
- package/lib/vef-layout/components/fullscreen.cjs +1 -1
- package/lib/vef-layout/components/header-action-icons.cjs +1 -1
- package/lib/vef-layout/components/header-content.cjs +1 -1
- package/lib/vef-layout/components/header.cjs +2 -2
- package/lib/vef-layout/components/icon-boy.cjs +1 -1
- package/lib/vef-layout/components/icon-girl.cjs +1 -1
- package/lib/vef-layout/components/icon-menu-fold-left.cjs +1 -1
- package/lib/vef-layout/components/icon-menu-unfold-left.cjs +1 -1
- package/lib/vef-layout/components/menu-groups.cjs +1 -1
- package/lib/vef-layout/components/message.cjs +1 -1
- package/lib/vef-layout/components/search.cjs +1 -1
- package/lib/vef-layout/components/sider.cjs +1 -1
- package/lib/vef-layout/components/title.cjs +1 -1
- package/lib/vef-layout/components/user-avatar.cjs +1 -1
- package/lib/vef-layout/hooks/use-layout-context.cjs +1 -1
- package/lib/vef-layout/index.cjs +1 -1
- package/lib/vef-layout/logo.svg.cjs +1 -1
- package/lib/vef-layout/props.cjs +1 -1
- package/lib/vef-layout/store.cjs +1 -1
- package/lib/vef-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 +4 -4
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.47, build time: 2024-12-26T07:13:23.995Z, 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.47, build time: 2024-12-26T07:13:23.995Z, 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("antd"),i=require("react");require("../../internal/index.cjs");const t=require("../../internal/utils.cjs"),n=["default","primary","error"],a=i.forwardRef((({color:i,iconPosition:a,size:s,type:l,variant:c="solid",autoInsertSpace:d,disabled:u,loading:f,...p},m)=>{const v=r.useColorTokens(),g="left"===a?"start":"right"===a?"end":void 0;if(!i||n.includes(i))return e.jsx(o.Button,{ref:m,autoInsertSpace:d,color:"error"===i?"danger":i,disabled:!f&&u,htmlType:l,iconPosition:g,loading:f,size:t.convertBasicSizeToUiSize(s),variant:c,...p});if(v.has(i))return e.jsx(o.ConfigProvider,{theme:{token:{colorPrimary:v.get(i)}},children:e.jsx(o.Button,{ref:m,autoInsertSpace:d,color:"primary",disabled:!f&&u,htmlType:l,iconPosition:g,loading:f,size:t.convertBasicSizeToUiSize(s),variant:c,...p})});throw new Error(`Invalid button color: ${i}`)}));a.displayName="VefBaseButton",exports.default=a;
|
|
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-button/index.cjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.47, build time: 2024-12-26T07:13:23.995Z, made by Venus. */
|
|
2
2
|
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("@emotion/react/jsx-runtime"),n=require("@vef-framework/hooks"),o=require("@vef-framework/shared"),i=require("react"),t=require("../vef-popconfirm/index.cjs"),r=require("../vef-tooltip/index.cjs"),a=require("./components/base-button.cjs"),f=i.forwardRef((({tip:f,onClick:s,disabled:l=!1,loading:c,...m},u)=>{const[d,C]=i.useState(!1),p=i.useMemo((()=>{if(m.requireConfirmation){const{onConfirmationOk:e}=m;return o.isNullish(c)?async()=>{await o.invokeMaybeAsyncFn(e,{beforeInvoke:()=>{C(!0)},onFinally:()=>{C(!1)}})}:e}}),[m.requireConfirmation,m.onConfirmationOk]),k=i.useMemo((()=>{if(!m.requireConfirmation)return s&&o.isNullish(c)?async e=>{await o.invokeMaybeAsyncFn(s,{beforeInvoke:()=>{C(!0)},onFinally:()=>{C(!1)}},e)}:s;const{confirmationMode:e="simple",confirmationTitle:n=o.defaultMessageTitle,confirmationContent:i,onConfirmationCancel:t}=m;return"simple"===e?e=>{e.stopPropagation()}:e=>{e.stopPropagation(),o.showConfirmation(n,i,p,{onCancel:t})}}),[c,s,p,m.requireConfirmation,m.confirmationMode,m.confirmationTitle,m.confirmationContent,m.onConfirmationCancel]),q=n.useContextDisabled()||l,b=e.jsx(a.default,{ref:u,disabled:q,loading:c??d,onClick:k,...o.omit(m,["requireConfirmation","confirmationMode","confirmationTitle","confirmationContent","onConfirmationOk","onConfirmationCancel"])}),M=f?e.jsx(r.default,{content:f,children:b}):b;if(m.requireConfirmation&&"simple"===m.confirmationMode){const{confirmationTitle:n=o.defaultMessageTitle,confirmationContent:i,onConfirmationCancel:r}=m;return e.jsx(t.default,{ref:u,content:i,disabled:q,title:n,onCancel:r,onOk:p,children:M})}return M})),s=i.memo(f);s.displayName="VefButton",exports.default=s;
|
|
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-button/props.cjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.47, build time: 2024-12-26T07:13:23.995Z, 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-card/index.cjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.47, build time: 2024-12-26T07:13:23.995Z, 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");exports.default=({size:i="medium",showHoverEffect:o=!1,actions:s,nested:a=!1,...d})=>e.jsx(t.Card,{actions:r.isArray(s)?s:s?[s]:void 0,hoverable:o,size:"medium"===i?"default":i,type:a?"inner":void 0,...d});
|
|
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-card/props.cjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.47, build time: 2024-12-26T07:13:23.995Z, 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.47, build time: 2024-12-26T07:13:23.995Z, 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("antd"),{Meta:r}=t.Card;exports.default=({...t})=>e.jsx(r,{...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.47, build time: 2024-12-26T07:13:23.995Z, 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.47, build time: 2024-12-26T07:13:23.995Z, made by Venus. */
|
|
2
2
|
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react");exports.useCheckboxInstance=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.47, build time: 2024-12-26T07:13:23.995Z, 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"),t=require("react");exports.useDataOptions=function({value:i,onChange:s,...r}){const{normalizedOptions:n,defaultOption:u,isLoading:a}=e.useComputedOptions({...r,isGrouped:!1,filterable:!1,selectedOptionValues:i}),l=t.useMemo((()=>n.reduce(((e,o)=>(e.set(o.value,o),e)),new Map)),[n]);return t.useLayoutEffect((()=>{u&&o.isFunction(s)&&o.isNullish(i)&&s([u.value],[u])}),[u,s,i]),{optionsMap:l,normalizedOptions:n,isLoading:a}};
|
|
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.47, build time: 2024-12-26T07:13:23.995Z, 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"),o=require("@vef-framework/shared"),i=require("antd"),s=require("react"),n=require("../vef-loading-placeholder/index.cjs"),t=require("../vef-tooltip/index.cjs"),a=require("./hooks/use-checkbox-instance.cjs"),u=require("./hooks/use-data-options.cjs"),{Group:c}=i.Checkbox,d=e.jsx("div",{css:r.css`
|
|
3
3
|
height: ${o.themeVariables.controlHeight}
|
|
4
4
|
`,children:e.jsx(n.default,{})});const l=s.memo(s.forwardRef((function({defaultValue:r,value:n,disabled:l,renderCheckboxes:h,onChange:x,...f},b){const{optionsMap:p,normalizedOptions:m,isLoading:v}=u.useDataOptions({value:n,onChange:x,...f}),j=a.useCheckboxInstance(b,m),g=s.useMemo((()=>{if(o.isFunction(x))return e=>{x(e,e.map((e=>p.get(e))))}}),[x,p]),k=s.useMemo((()=>{if(v)return;const r=m.map((r=>{const{value:o,label:s,disabled:n,description:a}=r;return a?e.jsx(t.default,{content:a,children:e.jsx(i.Checkbox,{disabled:n,value:o,children:s})},o):e.jsx(i.Checkbox,{disabled:n,value:o,children:s},o)}));return o.isFunction(h)?h(r):r}),[v,m,h]);return v?d:e.jsx(c,{ref:j,defaultValue:r,disabled:l,onChange:g,...void 0===n?{}:{value:n},children:k})})));l.displayName="VefCheckbox",exports.default=l;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.47, build time: 2024-12-26T07:13:23.995Z, 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-col/index.cjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.47, build time: 2024-12-26T07:13:23.995Z, 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("antd");exports.default=r=>e.jsx(t.Col,{...r});
|
|
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-col/props.cjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.47, build time: 2024-12-26T07:13:23.995Z, 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.47, build time: 2024-12-26T07:13:23.995Z, 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"),i=require("react");require("../internal/index.cjs");const a=require("../internal/utils.cjs"),o=["single","gradient"];exports.default=({clearable:s,disabled:l,format:n,size:u,showText:d,trigger:c,defaultValue:g,value:f,onChange:m})=>{const x=i.useMemo((()=>{if(r.isFunction(m))return e=>{m(e.toCssString(),e)}}),[m]);return e.jsx(t.ColorPicker,{allowClear:s,arrow:!1,defaultValue:g,disabled:l,format:n,mode:o,showText:d,size:a.convertBasicSizeToUiSize(u),trigger:c,value:f,onChangeComplete:x})};
|
|
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.47, build time: 2024-12-26T07:13:23.995Z, 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.47, build time: 2024-12-26T07:13:23.995Z, made by Venus. */
|
|
2
2
|
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("@emotion/react/jsx-runtime"),i=require("antd");require("../internal/index.cjs");const t=require("../internal/utils.cjs"),{Compact:r}=i.Space;exports.default=({size:i,...s})=>e.jsx(r,{size:t.convertBasicSizeToUiSize(i),...s});
|
|
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.47, build time: 2024-12-26T07:13:23.995Z, 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,259 +1,7 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
2
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@emotion/react"),
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
display: none;
|
|
6
|
-
}
|
|
7
|
-
*,
|
|
8
|
-
*::before,
|
|
9
|
-
*::after {
|
|
10
|
-
box-sizing: border-box;
|
|
11
|
-
}
|
|
12
|
-
html {
|
|
13
|
-
font-family: sans-serif;
|
|
14
|
-
line-height: 1.15;
|
|
15
|
-
-webkit-text-size-adjust: 100%;
|
|
16
|
-
-ms-text-size-adjust: 100%;
|
|
17
|
-
-ms-overflow-style: scrollbar;
|
|
18
|
-
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
19
|
-
}
|
|
20
|
-
@-ms-viewport {
|
|
21
|
-
width: device-width;
|
|
22
|
-
}
|
|
23
|
-
body {
|
|
24
|
-
margin: 0;
|
|
25
|
-
}
|
|
26
|
-
[tabindex='-1']:focus {
|
|
27
|
-
outline: none;
|
|
28
|
-
}
|
|
29
|
-
hr {
|
|
30
|
-
box-sizing: content-box;
|
|
31
|
-
height: 0;
|
|
32
|
-
overflow: visible;
|
|
33
|
-
}
|
|
34
|
-
h1,
|
|
35
|
-
h2,
|
|
36
|
-
h3,
|
|
37
|
-
h4,
|
|
38
|
-
h5,
|
|
39
|
-
h6 {
|
|
40
|
-
margin-top: 0;
|
|
41
|
-
margin-bottom: 0.5em;
|
|
42
|
-
font-weight: 500;
|
|
43
|
-
}
|
|
44
|
-
p {
|
|
45
|
-
margin-top: 0;
|
|
46
|
-
margin-bottom: 1em;
|
|
47
|
-
}
|
|
48
|
-
abbr[title],
|
|
49
|
-
abbr[data-original-title] {
|
|
50
|
-
-webkit-text-decoration: underline dotted;
|
|
51
|
-
text-decoration: underline;
|
|
52
|
-
text-decoration: underline dotted;
|
|
53
|
-
border-bottom: 0;
|
|
54
|
-
cursor: help;
|
|
55
|
-
}
|
|
56
|
-
address {
|
|
57
|
-
margin-bottom: 1em;
|
|
58
|
-
font-style: normal;
|
|
59
|
-
line-height: inherit;
|
|
60
|
-
}
|
|
61
|
-
input[type='text'],
|
|
62
|
-
input[type='password'],
|
|
63
|
-
input[type='number'],
|
|
64
|
-
textarea {
|
|
65
|
-
-webkit-appearance: none;
|
|
66
|
-
appearance: none;
|
|
67
|
-
}
|
|
68
|
-
ol,
|
|
69
|
-
ul,
|
|
70
|
-
dl {
|
|
71
|
-
margin-top: 0;
|
|
72
|
-
margin-bottom: 1em;
|
|
73
|
-
}
|
|
74
|
-
ol ol,
|
|
75
|
-
ul ul,
|
|
76
|
-
ol ul,
|
|
77
|
-
ul ol {
|
|
78
|
-
margin-bottom: 0;
|
|
79
|
-
}
|
|
80
|
-
dt {
|
|
81
|
-
font-weight: 500;
|
|
82
|
-
}
|
|
83
|
-
dd {
|
|
84
|
-
margin-bottom: 0.5em;
|
|
85
|
-
margin-left: 0;
|
|
86
|
-
}
|
|
87
|
-
blockquote {
|
|
88
|
-
margin: 0 0 1em;
|
|
89
|
-
}
|
|
90
|
-
dfn {
|
|
91
|
-
font-style: italic;
|
|
92
|
-
}
|
|
93
|
-
b,
|
|
94
|
-
strong {
|
|
95
|
-
font-weight: bolder;
|
|
96
|
-
}
|
|
97
|
-
small {
|
|
98
|
-
font-size: 80%;
|
|
99
|
-
}
|
|
100
|
-
sub,
|
|
101
|
-
sup {
|
|
102
|
-
position: relative;
|
|
103
|
-
font-size: 75%;
|
|
104
|
-
line-height: 0;
|
|
105
|
-
vertical-align: baseline;
|
|
106
|
-
}
|
|
107
|
-
sub {
|
|
108
|
-
bottom: -0.25em;
|
|
109
|
-
}
|
|
110
|
-
sup {
|
|
111
|
-
top: -0.5em;
|
|
112
|
-
}
|
|
113
|
-
pre,
|
|
114
|
-
code,
|
|
115
|
-
kbd,
|
|
116
|
-
samp {
|
|
117
|
-
font-size: 1em;
|
|
118
|
-
font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
|
|
119
|
-
}
|
|
120
|
-
pre {
|
|
121
|
-
margin-top: 0;
|
|
122
|
-
margin-bottom: 1em;
|
|
123
|
-
overflow: auto;
|
|
124
|
-
}
|
|
125
|
-
figure {
|
|
126
|
-
margin: 0 0 1em;
|
|
127
|
-
}
|
|
128
|
-
img {
|
|
129
|
-
vertical-align: middle;
|
|
130
|
-
border-style: none;
|
|
131
|
-
}
|
|
132
|
-
a,
|
|
133
|
-
area,
|
|
134
|
-
button,
|
|
135
|
-
[role='button'],
|
|
136
|
-
input:not([type='range']),
|
|
137
|
-
label,
|
|
138
|
-
select,
|
|
139
|
-
summary,
|
|
140
|
-
textarea {
|
|
141
|
-
touch-action: manipulation;
|
|
142
|
-
}
|
|
143
|
-
table {
|
|
144
|
-
border-collapse: collapse;
|
|
145
|
-
}
|
|
146
|
-
caption {
|
|
147
|
-
padding-top: 0.75em;
|
|
148
|
-
padding-bottom: 0.3em;
|
|
149
|
-
text-align: left;
|
|
150
|
-
caption-side: bottom;
|
|
151
|
-
}
|
|
152
|
-
input,
|
|
153
|
-
button,
|
|
154
|
-
select,
|
|
155
|
-
optgroup,
|
|
156
|
-
textarea {
|
|
157
|
-
margin: 0;
|
|
158
|
-
color: inherit;
|
|
159
|
-
font-size: inherit;
|
|
160
|
-
font-family: inherit;
|
|
161
|
-
line-height: inherit;
|
|
162
|
-
}
|
|
163
|
-
button,
|
|
164
|
-
input {
|
|
165
|
-
overflow: visible;
|
|
166
|
-
}
|
|
167
|
-
button,
|
|
168
|
-
select {
|
|
169
|
-
text-transform: none;
|
|
170
|
-
}
|
|
171
|
-
button,
|
|
172
|
-
html [type='button'],
|
|
173
|
-
[type='reset'],
|
|
174
|
-
[type='submit'] {
|
|
175
|
-
-webkit-appearance: button;
|
|
176
|
-
appearance: button;
|
|
177
|
-
}
|
|
178
|
-
button::-moz-focus-inner,
|
|
179
|
-
[type='button']::-moz-focus-inner,
|
|
180
|
-
[type='reset']::-moz-focus-inner,
|
|
181
|
-
[type='submit']::-moz-focus-inner {
|
|
182
|
-
padding: 0;
|
|
183
|
-
border-style: none;
|
|
184
|
-
}
|
|
185
|
-
input[type='radio'],
|
|
186
|
-
input[type='checkbox'] {
|
|
187
|
-
box-sizing: border-box;
|
|
188
|
-
padding: 0;
|
|
189
|
-
}
|
|
190
|
-
input[type='date'],
|
|
191
|
-
input[type='time'],
|
|
192
|
-
input[type='datetime-local'],
|
|
193
|
-
input[type='month'] {
|
|
194
|
-
-webkit-appearance: listbox;
|
|
195
|
-
appearance: listbox;
|
|
196
|
-
}
|
|
197
|
-
textarea {
|
|
198
|
-
overflow: auto;
|
|
199
|
-
resize: vertical;
|
|
200
|
-
}
|
|
201
|
-
fieldset {
|
|
202
|
-
min-width: 0;
|
|
203
|
-
margin: 0;
|
|
204
|
-
padding: 0;
|
|
205
|
-
border: 0;
|
|
206
|
-
}
|
|
207
|
-
legend {
|
|
208
|
-
display: block;
|
|
209
|
-
width: 100%;
|
|
210
|
-
max-width: 100%;
|
|
211
|
-
margin-bottom: 0.5em;
|
|
212
|
-
padding: 0;
|
|
213
|
-
color: inherit;
|
|
214
|
-
font-size: 1.5em;
|
|
215
|
-
line-height: inherit;
|
|
216
|
-
white-space: normal;
|
|
217
|
-
}
|
|
218
|
-
progress {
|
|
219
|
-
vertical-align: baseline;
|
|
220
|
-
}
|
|
221
|
-
[type='number']::-webkit-inner-spin-button,
|
|
222
|
-
[type='number']::-webkit-outer-spin-button {
|
|
223
|
-
height: auto;
|
|
224
|
-
}
|
|
225
|
-
[type='search'] {
|
|
226
|
-
outline-offset: -2px;
|
|
227
|
-
-webkit-appearance: none;
|
|
228
|
-
appearance: none;
|
|
229
|
-
}
|
|
230
|
-
[type='search']::-webkit-search-cancel-button,
|
|
231
|
-
[type='search']::-webkit-search-decoration {
|
|
232
|
-
-webkit-appearance: none;
|
|
233
|
-
appearance: none;
|
|
234
|
-
}
|
|
235
|
-
::-webkit-file-upload-button {
|
|
236
|
-
font: inherit;
|
|
237
|
-
-webkit-appearance: button;
|
|
238
|
-
appearance: button;
|
|
239
|
-
}
|
|
240
|
-
output {
|
|
241
|
-
display: inline-block;
|
|
242
|
-
}
|
|
243
|
-
summary {
|
|
244
|
-
display: list-item;
|
|
245
|
-
}
|
|
246
|
-
template {
|
|
247
|
-
display: none;
|
|
248
|
-
}
|
|
249
|
-
[hidden] {
|
|
250
|
-
display: none !important;
|
|
251
|
-
}
|
|
252
|
-
mark {
|
|
253
|
-
padding: 0.2em;
|
|
254
|
-
background-color: #feffe6;
|
|
255
|
-
}
|
|
256
|
-
`,n=e.css`
|
|
1
|
+
/*! VefFramework version: 1.0.47, build time: 2024-12-26T07:13:23.995Z, made by Venus. */
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@emotion/react"),r=require("@vef-framework/shared"),t=require("../internal/reset.css.cjs"),o=e.css`
|
|
3
|
+
${t.default}
|
|
4
|
+
`,i=e.css`
|
|
257
5
|
html, body, #root, .vef-app {
|
|
258
6
|
height: 100%;
|
|
259
7
|
}
|
|
@@ -262,14 +10,14 @@ html, body, #root, .vef-app {
|
|
|
262
10
|
.vef-message-notice-wrapper {
|
|
263
11
|
.vef-message-custom-content {
|
|
264
12
|
.vef-icon {
|
|
265
|
-
font-size: ${
|
|
13
|
+
font-size: ${r.themeVariables.fontSizeXl};
|
|
266
14
|
}
|
|
267
15
|
}
|
|
268
16
|
}
|
|
269
17
|
}
|
|
270
18
|
|
|
271
19
|
.vef-modal {
|
|
272
|
-
--vef-modal-confirm-icon-margin-inline-end: ${
|
|
20
|
+
--vef-modal-confirm-icon-margin-inline-end: ${r.themeVariables.paddingSm};
|
|
273
21
|
|
|
274
22
|
.vef-modal-confirm-body-wrapper {
|
|
275
23
|
.vef-modal-confirm-btns {
|
|
@@ -293,8 +41,8 @@ html, body, #root, .vef-app {
|
|
|
293
41
|
.vef-popconfirm-message {
|
|
294
42
|
> .vef-popconfirm-message-icon {
|
|
295
43
|
.vef-icon {
|
|
296
|
-
color: ${
|
|
297
|
-
font-size: ${
|
|
44
|
+
color: ${r.themeVariables.colorPrimary};
|
|
45
|
+
font-size: ${r.themeVariables.fontSizeLg};
|
|
298
46
|
}
|
|
299
47
|
}
|
|
300
48
|
}
|
|
@@ -317,7 +65,7 @@ html, body, #root, .vef-app {
|
|
|
317
65
|
display: flex;
|
|
318
66
|
justify-content: flex-end;
|
|
319
67
|
align-items: center;
|
|
320
|
-
gap: ${
|
|
68
|
+
gap: ${r.themeVariables.padding};
|
|
321
69
|
|
|
322
70
|
.vef-btn + .vef-btn {
|
|
323
71
|
margin-inline-start: 0;
|
|
@@ -335,19 +83,19 @@ html, body, #root, .vef-app {
|
|
|
335
83
|
.vef-dropdown {
|
|
336
84
|
.vef-dropdown-menu {
|
|
337
85
|
.vef-dropdown-menu-item-icon {
|
|
338
|
-
font-size: ${
|
|
339
|
-
min-width: ${
|
|
86
|
+
font-size: ${r.themeVariables.fontSize};
|
|
87
|
+
min-width: ${r.themeVariables.fontSizeLg};
|
|
340
88
|
}
|
|
341
89
|
}
|
|
342
90
|
}
|
|
343
|
-
`,
|
|
91
|
+
`,n=e.css`
|
|
344
92
|
/* Make clicks pass-through */
|
|
345
93
|
#nprogress {
|
|
346
94
|
pointer-events: none;
|
|
347
95
|
}
|
|
348
96
|
|
|
349
97
|
#nprogress .bar {
|
|
350
|
-
background: ${
|
|
98
|
+
background: ${r.themeVariables.colorPrimary};
|
|
351
99
|
|
|
352
100
|
position: fixed;
|
|
353
101
|
z-index: 1031;
|
|
@@ -365,7 +113,7 @@ html, body, #root, .vef-app {
|
|
|
365
113
|
right: 0;
|
|
366
114
|
width: 100px;
|
|
367
115
|
height: 100%;
|
|
368
|
-
box-shadow: 0 0 10px ${
|
|
116
|
+
box-shadow: 0 0 10px ${r.themeVariables.colorPrimary}, 0 0 5px ${r.themeVariables.colorPrimary};
|
|
369
117
|
opacity: 1.0;
|
|
370
118
|
|
|
371
119
|
-webkit-transform: rotate(3deg) translate(0, -4px);
|
|
@@ -388,8 +136,8 @@ html, body, #root, .vef-app {
|
|
|
388
136
|
box-sizing: border-box;
|
|
389
137
|
|
|
390
138
|
border: solid 2px transparent;
|
|
391
|
-
border-top-color: ${
|
|
392
|
-
border-left-color: ${
|
|
139
|
+
border-top-color: ${r.themeVariables.colorPrimary};
|
|
140
|
+
border-left-color: ${r.themeVariables.colorPrimary};
|
|
393
141
|
border-radius: 50%;
|
|
394
142
|
|
|
395
143
|
-webkit-animation: nprogress-spinner 400ms linear infinite;
|
|
@@ -414,5 +162,5 @@ html, body, #root, .vef-app {
|
|
|
414
162
|
0% { transform: rotate(0deg); }
|
|
415
163
|
100% { transform: rotate(360deg); }
|
|
416
164
|
}
|
|
417
|
-
`;exports.globalStyle=
|
|
165
|
+
`;exports.globalStyle=i,exports.nprogressStyle=n,exports.resetStyle=o;
|
|
418
166
|
/*! 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.47, build time: 2024-12-26T07:13:23.995Z, 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"),r=require("antd"),t=require("antd/locale/zh_CN");require("dayjs/locale/zh-cn");require("dayjs").locale("zh-cn");const i={blue:"#3b82f6",purple:"#8b5cf6",cyan:"#06b6d4",green:"#22c55e",pink:"#ec4899",red:"#ef4444",orange:"#f97316",yellow:"#eab308",volcano:"#f43f5e",lime:"#84cc16",gold:"#fbbf24",geekblue:"#6366f1",magenta:"#eb2f96"},n={medium:{fontSize:14,controlHeight:32},large:{fontSize:16,controlHeight:36}},l={medium:{Button:{contentFontSizeSM:12}},large:{Button:{contentFontSizeSM:14}}};exports.useUiConfig=function(a){return e.useDeepMemo((()=>function({primaryColor:e="#0064fa",fontSize:a="medium"}){if(!Reflect.has(i,e)&&!o.isValidColor(e))throw new Error(`Invalid primary color: ${e}`);if(!(a in n))throw new Error(`Invalid font size: ${a}`);const c=n[a],f=l[a];return{messageFoldThreshold:1,messageDuration:3,notificationFoldThreshold:3,notificationDuration:5,locale:t,iconPrefixCls:"vef-icon",prefixCls:"vef",virtual:!0,componentSize:"middle",variant:"outlined",theme:{cssVar:{prefix:"vef"},hashed:!1,algorithm:r.theme.defaultAlgorithm,token:{borderRadius:6,colorBgBase:"#ffffff",colorPrimary:Reflect.has(i,e)?i[e]:e,colorInfo:"#0ea5e9",colorSuccess:"#22c55e",colorWarning:"#f97316",colorError:"#ef4444",colorLink:"#6366f1",colorTextBase:"#171717",colorBgLayout:"#f5f6fb",colorBgSpotlight:"rgba(23, 23, 23, 0.8)",zIndexPopupBase:10,wireframe:!0,...c,...i},components:o.assign({Table:{},Tooltip:{paddingSM:16,paddingXS:12},Button:{},TreeSelect:{titleHeight:c.controlHeight},Spin:{contentHeight:"auto"}},f)}}}(a)),[a])};
|
|
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.47, build time: 2024-12-26T07:13:23.995Z, 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/cache"),o=require("@emotion/react"),i=require("@vef-framework/core"),t=require("antd"),n=require("react"),s=require("react-error-boundary"),a=require("../vef-error/index.cjs"),c=require("./global-style.cjs"),l=require("./hooks/use-ui-config.cjs"),u=require("./store.cjs"),d=({children:r})=>{const o=u.useConfigStore((e=>e)),i=l.useUiConfig(o);n.useLayoutEffect((()=>{const{messageFoldThreshold:r,messageDuration:o,notificationFoldThreshold:n,notificationDuration:s,...a}=i;t.ConfigProvider.config({holderRender:i=>e.jsx(t.ConfigProvider,{...a,children:e.jsx(t.App,{component:"div",message:{maxCount:r,duration:o},notification:{maxCount:n,duration:s,showProgress:!0,pauseOnHover:!0,placement:"topRight",stack:{threshold:3}},children:i})})}),document.documentElement.style.setProperty("--vef-color-primary",i.theme?.token?.colorPrimary??null)}),[i]);const{messageFoldThreshold:s,messageDuration:a,notificationDuration:c,...d}=i;return e.jsx(t.ConfigProvider,{...d,children:e.jsx(t.App,{component:"div",message:{maxCount:s,duration:a},notification:{maxCount:s,duration:c,showProgress:!0,pauseOnHover:!0,placement:"topRight",stack:{threshold:3}},children:r})})};function h({error:r,resetErrorBoundary:o}){return e.jsx(a.default,{error:r,reset:o})}const m=r({key:"vef"});exports.default=({apiClient:r,dataDictionaryApi:t,loginApi:n,logoutApi:a,fetchAuthenticatedUserApi:l,permissionChecker:p,children:f,...g})=>e.jsx(i.AuthContextProvider,{permissionChecker:p,children:e.jsx(i.ApiContextProvider,{client:r,dataDictionaryApi:t,fetchAuthenticatedUserApi:l,loginApi:n,logoutApi:a,children:e.jsx(u.ConfigStoreProvider,{initialState:g,children:e.jsxs(o.CacheProvider,{value:m,children:[e.jsx(o.Global,{styles:[c.resetStyle,c.globalStyle,c.nprogressStyle,o.css`
|
|
3
3
|
:root {
|
|
4
4
|
font-size: ${"medium"===(g.fontSize??"medium")?"14px":"16px"};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.47, build time: 2024-12-26T07:13:23.995Z, 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.47, build time: 2024-12-26T07:13:23.995Z, made by Venus. */
|
|
2
2
|
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@vef-framework/shared"),{StoreProvider:r,useStore:o,useStoreApi:t}=e.createComponentStore("Config",(({fontSize:e="large",primaryColor:r="#0064fa"})=>o=>({fontSize:e,primaryColor:r,setFontSize:e=>o({fontSize:e}),setPrimaryColor:e=>o({primaryColor:e})})));exports.ConfigStoreProvider=r,exports.useConfigStore=o,exports.useConfigStoreApi=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.47, build time: 2024-12-26T07:13:23.995Z, 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("antd"),s=require("../vef-scroll-area/index.cjs"),{BackTop:r}=t.FloatButton;exports.default=({className:t,style:l,children:a})=>e.jsxs(s.default,{className:t,style:l,children:[a,e.jsx(r,{})]});
|
|
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.47, build time: 2024-12-26T07:13:23.995Z, 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.47, build time: 2024-12-26T07:13:23.995Z, 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("@vef-framework/hooks"),r=require("react"),o=require("../../vef-action-buttons/index.cjs"),s=require("../hooks/use-action-buttons.cjs"),u=require("../hooks/use-crud-context.cjs"),i=require("../store.cjs");exports.default=function({tableApi:n,tableApiParams:c,actionButtons:a}){const l=i.useCrudStore((e=>e.confirmedFilterValues)),d=n.useIsFetching(r.useMemo((()=>({...c,...l})),[c,l])),x=u.useCrudContext(),b=s.useActionButtons(a);return e.jsx(t.DisabledContextProvider,{value:d,children:e.jsx(o.default,{buttons:b,context:x,useFlexContainer:!1})})};
|
|
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.47, build time: 2024-12-26T07:13:23.995Z, 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("react"),r=require("../../vef-action-buttons/index.cjs"),s=require("../../vef-filter/index.cjs"),o=require("../../vef-title/index.cjs"),u=require("../hooks/use-action-buttons.cjs"),i=require("../hooks/use-crud-context.cjs"),n=require("../store.cjs");exports.default=function({title:l,tableApi:a,tableApiParams:c,filterSchema:d,actionButtons:f}){const[x,j,m]=n.useCrudStore((e=>[e.setFilterValues,e.confirmedFilterValues,e.setConfirmedFilterValues])),b=a.useIsFetching(t.useMemo((()=>({...c,...j})),[c,j])),h=i.useCrudContext(),q=u.useActionButtons(f),C=t.useCallback((()=>m(null)),[m]);return e.jsx(s.default,{loading:b,prefix:e.jsx(o.default,{noPaddingBottom:!0,showLeftBar:!0,level:5,children:l}),schema:d,extraActionButtons:e.jsx(r.default,{buttons:q,context:h,useFlexContainer:!1}),onChange:x,onConfirm:m,onReset: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,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.47, build time: 2024-12-26T07:13:23.995Z, 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"),r=require("@vef-framework/core"),i=require("@vef-framework/hooks"),s=require("@vef-framework/shared"),o=require("lucide-react"),n=require("react"),c=require("../../vef-action-buttons/index.cjs"),u=require("../../vef-button/index.cjs"),a=require("../../vef-divider/index.cjs"),l=require("../../vef-flex/index.cjs"),d=require("../../vef-icon/index.cjs"),f=require("../../vef-text/index.cjs"),x=require("../hooks/use-crud-context.cjs"),m=require("../store.cjs"),h=t.css`
|
|
3
3
|
height: 100%;
|
|
4
4
|
display: flex;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.47, build time: 2024-12-26T07:13:23.995Z, 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-form-modal/index.cjs"),r=require("../store.cjs");exports.default=function({formSchema:t,formApis:n}){const[i,{scene:s,title:u,width:c},{onBeforeSubmit:m,onSubmitSuccess:a},l,f,d]=r.useCrudStore((e=>[e.isFormOpen,e.currentFormInfo,e.currentFormEventHandlers,e.currentFormInitialValues,e.isFormLoading,e.closeForm])),p=n[s];if(!p)throw new Error(`Form api for scene ${s} not found, please check the formApis props of VefCrudPage component.`);return e.jsx(o.default,{initialValues:l,loading:f,open:i,scene:s,schema:t,submitApi:p,title:u,width:c,onBeforeSubmit:m,onClose:d,onSubmitSuccess:a})};
|
|
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.47, build time: 2024-12-26T07:13:23.995Z, 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("react"),r=require("./crud-filter.cjs");const i=t.memo((function({title:t,tableApi:i,tableApiParams:l,filterItems:a,actionButtons:o}){return a.length>0?e.jsx(r.default,{actionButtons:o,filterSchema:a,tableApi:i,tableApiParams:l,title:t}):null}));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.47, build time: 2024-12-26T07:13:23.995Z, 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("react"),s=require("../../vef-table/index.cjs"),o=require("../hooks/use-crud-context.cjs"),a=require("../hooks/use-operation-buttons.cjs"),r=require("../store.cjs");const n=t.memo((function({api:n,apiParams:l,deletionApi:u,paginated:c,schema:i,selectable:d,operationButtons:m,...p}){const[f,x,S]=r.useCrudStore((e=>[e.confirmedFilterValues,e.selectedInfo,e.setSelectedInfo])),b=t.useMemo((()=>({...l,...f})),[l,f]),C=t.useCallback(((e,t)=>{S({selectedKeys:e,selectedRecords:t})}),[S]),j=a.useOperationButtons(u,m),y=t.useRef(null),h=r.useCrudStoreApi();t.useEffect((()=>{h.setState({tableInstanceRef:y})}),[h]);const g=o.useCrudContext();return c?e.jsx(s.default,{ref:y,multipleSelection:!0,paginated:!0,api:n,apiParams:b,externalContext:g,operationButtons:j,schema:i,selectable:d,selectedKeys:x.selectedKeys,selectionSummary:!1,onRowSelectionChange:C,...p}):e.jsx(s.default,{ref:y,multipleSelection:!0,api:n,apiParams:b,externalContext:g,schema:i,selectable:d,selectedKeys:x.selectedKeys,selectionSummary:!1,onRowSelectionChange:C,...p})}));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.47, build time: 2024-12-26T07:13:23.995Z, made by Venus. */
|
|
2
2
|
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@emotion/react/jsx-runtime"),r=require("@vef-framework/shared"),o=require("lucide-react"),t=require("react"),c=require("../../vef-icon/index.cjs"),i=require("../store.cjs");exports.useActionButtons=function(n){const s=i.useCrudStore((e=>e.formApiKeys)),u=Reflect.has(s,r.creationFormScene),a=Reflect.get(s,r.creationFormScene);return t.useMemo((()=>u?[...n??[],{label:"创建",key:`_${r.creationFormScene}`,icon:e.jsx(c.default,{children:e.jsx(o.PlusIcon,{})}),color:"primary",permissions:[a],onClick:({openForm:e,refetch:o})=>e({scene:r.creationFormScene,title:"创建",onSubmitSuccess:()=>{o()}})}]:n??[]),[u,n,a])};
|
|
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.47, build time: 2024-12-26T07:13:23.995Z, made by Venus. */
|
|
2
2
|
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),r=require("../store.cjs");exports.useCrudContext=function(){const[t,o,s]=r.useCrudStore((e=>[e.openForm,e.filterValues,e.tableInstanceRef]));return e.useMemo((()=>({openForm:t,filterValues:o,refetch:async()=>{await(s.current?.refetch())}})),[t,o,s])};
|
|
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.47, build time: 2024-12-26T07:13:23.995Z, made by Venus. */
|
|
2
2
|
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@vef-framework/shared"),s=require("react");exports.useCrudSchema=function(t){return s.useMemo((()=>{const s=[],o=[],r=new Set,l={};for(const n of t){const{filter:t,form:u,...c}=n,{name:a,title:i}=c;if(s.push(c),t){const{label:s,advanced:r,...l}=t,n={name:a,label:r&&e.isNullish(s)?i:s,advanced:r,...l};("Input"===n.type||"InputNumber"===n.type)&&e.isNullish(s)&&e.isNullish(n.placeholder)&&(n.placeholder=e.isString(i)?`请输入${i}`:"请输入"),o.push(n)}if(u){const{group:s,row:t,column:o,filterValueAsDefault:n,label:c,...f}=u,p=`${s??1}`,m=l[p]??{};l[p]||(l[p]=m);const h=`${t??1}`,d=m[h]??{};m[h]||(m[h]=d);const y=`${o??1}`,b=d[y]??[];d[y]||(d[y]=b),"Hidden"===f.type?b.push({name:a,...f}):b.push({name:a,label:e.isNullish(c)?i:c,...f}),n&&r.add(a)}}const n=[],u=Object.keys(l).sort();for(const e of u){const s=l[e],t=[],o=Object.keys(s).sort();for(const e of o){const o=s[e],r=[],l=Object.keys(o).sort();for(const e of l){const s={key:e,items:o[e]};r.push(s)}t.push({key:e,columns:r})}n.push({key:e,rows:t})}return{tableSchema:s,filterItems:o,formGroups:n,filterValueAsDefaultKeys:Array.from(r)}}),[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.47, build time: 2024-12-26T07:13:23.995Z, made by Venus. */
|
|
2
2
|
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@emotion/react/jsx-runtime"),r=require("@vef-framework/core"),o=require("@vef-framework/shared"),i=require("lucide-react"),t=require("react"),c=require("../../vef-icon/index.cjs"),n=require("../store.cjs");exports.useOperationButtons=function(s,u){const{useApiMutation:a,stubMutationApi:l}=r.useApiContext(),m=a(s??l),f=n.useCrudStore((e=>e.formApiKeys)),d=Reflect.has(f,o.modificationFormScene);return t.useMemo((()=>{const r=[...u??[]];return d&&r.push({key:"_modification",label:"修改",icon:e.jsx(c.default,{children:e.jsx(i.PencilIcon,{})}),color:"primary",onClick:({record:e,openForm:r,refetch:i})=>{r({scene:o.modificationFormScene,title:"修改",initialValues:e,onSubmitSuccess:()=>{i()}})}}),s&&r.push({key:"_deletion",label:"删除",icon:e.jsx(c.default,{children:e.jsx(i.TrashIcon,{})}),color:"error",requireConfirmation:!0,confirmationMode:"simple",onClick:async({record:e,refetch:r})=>{const{message:i}=await m.mutate(e);o.showSuccessMessage(i),r()}}),r}),[s,m,u,d])};
|
|
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.47, build time: 2024-12-26T07:13:23.995Z, 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("@vef-framework/shared"),s=require("react"),r=require("../vef-card/index.cjs"),o=require("../vef-page/index.cjs"),i=require("./components/crud-actions.cjs"),a=require("./components/crud-footer.cjs"),l=require("./components/crud-form-modal.cjs"),c=require("./components/crud-header.cjs"),u=require("./components/crud-table.cjs"),n=require("./hooks/use-crud-schema.cjs"),m=require("./store.cjs");function f({title:s,actionButtons:n,batchActionButtons:f,tableSchema:d,filterItems:p,formGroups:b,tableApiParams:h,formApis:A,deletionApi:j,batchDeletionApi:S,selectionSummary:x,...q}){const{selectedKeys:y}=m.useCrudStore((e=>e.selectedInfo)),g=!t.isNullish(S)||!t.isNullish(f)&&f.length>0;let P;if(q.paginated){const{tableApi:t,...s}=q;P=e.jsx(u.default,{showRowNumber:!0,api:t,apiParams:h,deletionApi:j,schema:d,selectable:g,...s})}else{const{tableApi:t,...s}=q;P=e.jsx(u.default,{showRowNumber:!0,api:t,apiParams:h,deletionApi:j,schema:d,selectable:g,...s})}const{tableApi:B}=q;return e.jsx(o.default,{scrollable:!0,title:s,actions:e.jsx(i.default,{actionButtons:n,tableApi:B,tableApiParams:h}),footer:y.length>0&&e.jsx(a.default,{batchActionButtons:f,batchDeletionApi:S,selectionSummary:x,tableApi:B,tableApiParams:h}),header:e.jsx(c.default,{actionButtons:n,filterItems:p,tableApi:B,tableApiParams:h,title:s}),children:e.jsxs(r.default,{children:[P,A&&Object.keys(A).length>0&&b.length>0&&e.jsx(l.default,{formApis:A,formSchema:b})]})})}exports.default=function({schema:t,formApis:r,onFormOpen:o,onBeforeSubmit:i,onSubmitSuccess:a,...l}){const{tableSchema:c,filterItems:u,formGroups:d,filterValueAsDefaultKeys:p}=n.useCrudSchema(t),b=s.useMemo((()=>{const e=r??{};return Object.keys(e).reduce(((t,s)=>(e[s]&&(t[s]=e[s].key),t)),{})}),[r]),h=s.useMemo((()=>({filterValueAsDefaultKeys:p,formApiKeys:b,onBeforeSubmit:i,onFormOpen:o,onSubmitSuccess:a})),[p,b,i,o,a]);return e.jsx(m.CrudStoreProvider,{initialState:h,children:e.jsx(f,{filterItems:u,formApis:r,formGroups:d,tableSchema:c,...l})})};
|
|
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.47, build time: 2024-12-26T07:13:23.995Z, 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 */
|