@vef-framework/components 1.0.19 → 1.0.20
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/esm/index.mjs +3 -0
- package/esm/internal/index.mjs +3 -0
- package/esm/internal/utils.mjs +3 -0
- package/esm/vef-access-denied/access-denied-icon.mjs +3 -0
- package/esm/vef-access-denied/index.mjs +29 -0
- package/esm/vef-access-denied/props.mjs +2 -0
- package/esm/vef-action-buttons/index.mjs +3 -0
- package/esm/vef-action-buttons/props.mjs +2 -0
- package/esm/vef-app/helper.mjs +3 -0
- package/esm/vef-app/index.mjs +3 -0
- package/esm/vef-app/props.mjs +2 -0
- package/esm/vef-auto-sizer/index.mjs +3 -0
- package/esm/vef-auto-sizer/props.mjs +2 -0
- package/esm/vef-avatar/index.mjs +3 -0
- package/esm/vef-avatar/props.mjs +2 -0
- package/esm/vef-avatar-group/index.mjs +3 -0
- package/esm/vef-avatar-group/props.mjs +2 -0
- package/esm/vef-badge/index.mjs +3 -0
- package/esm/vef-badge/props.mjs +2 -0
- package/esm/vef-bool/hooks/use-bool-instance.mjs +3 -0
- package/esm/vef-bool/index.mjs +3 -0
- package/esm/vef-bool/props.mjs +2 -0
- package/esm/vef-button/components/base-button.mjs +3 -0
- package/esm/vef-button/index.mjs +3 -0
- package/esm/vef-button/props.mjs +2 -0
- package/esm/vef-card/index.mjs +3 -0
- package/esm/vef-card/props.mjs +2 -0
- package/esm/vef-card-meta/index.mjs +3 -0
- package/esm/vef-card-meta/props.mjs +2 -0
- package/esm/vef-checkbox/hooks/use-checkbox-instance.mjs +3 -0
- package/esm/vef-checkbox/hooks/use-data-options.mjs +3 -0
- package/esm/vef-checkbox/index.mjs +5 -0
- package/esm/vef-checkbox/props.mjs +2 -0
- package/esm/vef-col/index.mjs +3 -0
- package/esm/vef-col/props.mjs +2 -0
- package/esm/vef-color-picker/index.mjs +3 -0
- package/esm/vef-color-picker/props.mjs +2 -0
- package/esm/vef-compact/index.mjs +3 -0
- package/esm/vef-compact/props.mjs +2 -0
- package/esm/vef-config-provider/hooks/use-ui-config.mjs +3 -0
- package/esm/vef-config-provider/index.mjs +103 -0
- package/esm/vef-config-provider/props.mjs +2 -0
- package/esm/vef-config-provider/reset-style.mjs +257 -0
- package/esm/vef-config-provider/store.mjs +3 -0
- package/esm/vef-container/index.mjs +3 -0
- package/esm/vef-container/props.mjs +2 -0
- package/esm/vef-crud-page/components/crud-actions.mjs +3 -0
- package/esm/vef-crud-page/components/crud-filter.mjs +3 -0
- package/esm/vef-crud-page/components/crud-footer.mjs +9 -0
- package/esm/vef-crud-page/components/crud-form-modal.mjs +3 -0
- package/esm/vef-crud-page/components/crud-header.mjs +3 -0
- package/esm/vef-crud-page/components/crud-table.mjs +3 -0
- package/esm/vef-crud-page/hooks/use-action-buttons.mjs +3 -0
- package/esm/vef-crud-page/hooks/use-crud-context.mjs +3 -0
- package/esm/vef-crud-page/hooks/use-crud-schema.mjs +3 -0
- package/esm/vef-crud-page/hooks/use-operation-buttons.mjs +3 -0
- package/esm/vef-crud-page/index.mjs +3 -0
- package/esm/vef-crud-page/props.mjs +2 -0
- package/esm/vef-crud-page/store.mjs +3 -0
- package/esm/vef-crud-page/types.mjs +2 -0
- package/esm/vef-divider/index.mjs +3 -0
- package/esm/vef-divider/props.mjs +2 -0
- package/esm/vef-drawer/components/action-button-wrapper.mjs +3 -0
- package/esm/vef-drawer/components/button-props.mjs +2 -0
- package/esm/vef-drawer/components/cancel-action-button.mjs +3 -0
- package/esm/vef-drawer/components/ok-action-button.mjs +3 -0
- package/esm/vef-drawer/context.mjs +3 -0
- package/esm/vef-drawer/index.mjs +10 -0
- package/esm/vef-drawer/props.mjs +2 -0
- package/esm/vef-dropdown/index.mjs +3 -0
- package/esm/vef-dropdown/props.mjs +2 -0
- package/esm/vef-dynamic-icon/index.mjs +3 -0
- package/esm/vef-dynamic-icon/props.mjs +3 -0
- package/esm/vef-empty/index.mjs +3 -0
- package/esm/vef-empty/props.mjs +2 -0
- package/esm/vef-empty-placeholder/index.mjs +7 -0
- package/esm/vef-empty-placeholder/props.mjs +2 -0
- package/esm/vef-error/error-icon.mjs +3 -0
- package/esm/vef-error/index.mjs +30 -0
- package/esm/vef-error/props.mjs +2 -0
- package/esm/vef-filter/components/action-buttons.mjs +21 -0
- package/esm/vef-filter/components/advanced-filter.mjs +11 -0
- package/esm/vef-filter/components/basic-filter.mjs +21 -0
- package/esm/vef-filter/components/fields/index.mjs +3 -0
- package/esm/vef-filter/components/fields/input-number.mjs +3 -0
- package/esm/vef-filter/components/fields/input.mjs +3 -0
- package/esm/vef-filter/components/fields/props.mjs +2 -0
- package/esm/vef-filter/components/filter-field.mjs +3 -0
- package/esm/vef-filter/components/filter-item.mjs +3 -0
- package/esm/vef-filter/event.mjs +3 -0
- package/esm/vef-filter/helper.mjs +3 -0
- package/esm/vef-filter/hooks/use-action-handlers.mjs +3 -0
- package/esm/vef-filter/hooks/use-computed-values.mjs +3 -0
- package/esm/vef-filter/hooks/use-filter-context.mjs +3 -0
- package/esm/vef-filter/hooks/use-filter-initialization.mjs +3 -0
- package/esm/vef-filter/hooks/use-filter-instance.mjs +3 -0
- package/esm/vef-filter/hooks/use-filter-items.mjs +3 -0
- package/esm/vef-filter/hooks/use-filter-values-change.mjs +3 -0
- package/esm/vef-filter/hooks/use-label-config.mjs +3 -0
- package/esm/vef-filter/index.mjs +10 -0
- package/esm/vef-filter/props.mjs +2 -0
- package/esm/vef-filter/store.mjs +3 -0
- package/esm/vef-filter/types.mjs +2 -0
- package/esm/vef-flex/index.mjs +3 -0
- package/esm/vef-flex/props.mjs +2 -0
- package/esm/vef-float-button/index.mjs +3 -0
- package/esm/vef-float-button/props.mjs +2 -0
- package/esm/vef-float-button-group/index.mjs +3 -0
- package/esm/vef-float-button-group/props.mjs +2 -0
- package/esm/vef-form/components/fields/index.mjs +3 -0
- package/esm/vef-form/components/fields/input-number.mjs +3 -0
- package/esm/vef-form/components/fields/input.mjs +3 -0
- package/esm/vef-form/components/fields/props.mjs +2 -0
- package/esm/vef-form/components/form-actions.mjs +5 -0
- package/esm/vef-form/components/form-content.mjs +6 -0
- package/esm/vef-form/components/form-field.mjs +3 -0
- package/esm/vef-form/components/form-group.mjs +13 -0
- package/esm/vef-form/components/form-hidden-item.mjs +3 -0
- package/esm/vef-form/components/form-item.mjs +3 -0
- package/esm/vef-form/components/form-row.mjs +3 -0
- package/esm/vef-form/event.mjs +3 -0
- package/esm/vef-form/helper.mjs +3 -0
- package/esm/vef-form/hooks/use-action-handlers.mjs +3 -0
- package/esm/vef-form/hooks/use-columns-layout.mjs +3 -0
- package/esm/vef-form/hooks/use-computed-values.mjs +3 -0
- package/esm/vef-form/hooks/use-form-context.mjs +3 -0
- package/esm/vef-form/hooks/use-form-initialization.mjs +3 -0
- package/esm/vef-form/hooks/use-form-instance.mjs +3 -0
- package/esm/vef-form/hooks/use-form-values-change.mjs +3 -0
- package/esm/vef-form/hooks/use-label-width.mjs +3 -0
- package/esm/vef-form/index.mjs +5 -0
- package/esm/vef-form/props.mjs +2 -0
- package/esm/vef-form/store.mjs +3 -0
- package/esm/vef-form/types.mjs +2 -0
- package/esm/vef-form/validation-rules.mjs +3 -0
- package/esm/vef-form-drawer/index.mjs +3 -0
- package/esm/vef-form-drawer/props.mjs +2 -0
- package/esm/vef-form-modal/index.mjs +3 -0
- package/esm/vef-form-modal/props.mjs +2 -0
- package/esm/vef-generic-select/index.mjs +3 -0
- package/esm/vef-generic-select/props.mjs +2 -0
- package/esm/vef-grid/index.mjs +14 -0
- package/esm/vef-grid/props.mjs +3 -0
- package/esm/vef-grid-item/index.mjs +3 -0
- package/esm/vef-grid-item/props.mjs +2 -0
- package/esm/vef-icon/index.mjs +3 -0
- package/esm/vef-icon/props.mjs +2 -0
- package/esm/vef-icon-select/index.mjs +42 -0
- package/esm/vef-icon-select/props.mjs +2 -0
- package/esm/vef-input/hooks/use-input-instance.mjs +3 -0
- package/esm/vef-input/index.mjs +3 -0
- package/esm/vef-input/props.mjs +2 -0
- package/esm/vef-input-number/hooks/use-input-number-instance.mjs +3 -0
- package/esm/vef-input-number/index.mjs +3 -0
- package/esm/vef-input-number/props.mjs +2 -0
- package/esm/vef-layout/components/content.mjs +3 -0
- package/esm/vef-layout/components/font-size.mjs +6 -0
- package/esm/vef-layout/components/fullscreen.mjs +6 -0
- package/esm/vef-layout/components/header-action-icons.mjs +17 -0
- package/esm/vef-layout/components/header-content.mjs +8 -0
- package/esm/vef-layout/components/header.mjs +14 -0
- package/esm/vef-layout/components/sider.mjs +51 -0
- package/esm/vef-layout/components/title.mjs +38 -0
- package/esm/vef-layout/components/user-avatar.mjs +20 -0
- package/esm/vef-layout/index.mjs +7 -0
- package/esm/vef-layout/logo.svg.mjs +3 -0
- package/esm/vef-layout/props.mjs +2 -0
- package/esm/vef-layout/store.mjs +3 -0
- package/esm/vef-loading-placeholder/index.mjs +7 -0
- package/esm/vef-loading-placeholder/props.mjs +2 -0
- package/esm/vef-login/index.mjs +56 -0
- package/esm/vef-login/login-icon.mjs +3 -0
- package/esm/vef-login/props.mjs +2 -0
- package/esm/vef-menu/index.mjs +3 -0
- package/esm/vef-menu/props.mjs +2 -0
- package/esm/vef-modal/components/action-button-wrapper.mjs +3 -0
- package/esm/vef-modal/components/button-props.mjs +2 -0
- package/esm/vef-modal/components/cancel-action-button.mjs +3 -0
- package/esm/vef-modal/components/ok-action-button.mjs +3 -0
- package/esm/vef-modal/context.mjs +3 -0
- package/esm/vef-modal/index.mjs +6 -0
- package/esm/vef-modal/props.mjs +2 -0
- package/esm/vef-not-found/index.mjs +30 -0
- package/esm/vef-not-found/not-found-icon.mjs +3 -0
- package/esm/vef-not-found/props.mjs +2 -0
- package/esm/vef-page/index.mjs +59 -0
- package/esm/vef-page/props.mjs +2 -0
- package/esm/vef-pagination/index.mjs +3 -0
- package/esm/vef-pagination/props.mjs +3 -0
- package/esm/vef-paragraph/index.mjs +3 -0
- package/esm/vef-paragraph/props.mjs +2 -0
- package/esm/vef-password/hooks/use-password-instance.mjs +3 -0
- package/esm/vef-password/index.mjs +3 -0
- package/esm/vef-password/props.mjs +2 -0
- package/esm/vef-popconfirm/index.mjs +3 -0
- package/esm/vef-popconfirm/props.mjs +2 -0
- package/esm/vef-popover/index.mjs +3 -0
- package/esm/vef-popover/props.mjs +2 -0
- package/esm/vef-radio/hooks/use-data-options.mjs +3 -0
- package/esm/vef-radio/hooks/use-radio-instance.mjs +3 -0
- package/esm/vef-radio/index.mjs +5 -0
- package/esm/vef-radio/props.mjs +2 -0
- package/esm/vef-rate/hooks/use-rate-instance.mjs +3 -0
- package/esm/vef-rate/index.mjs +3 -0
- package/esm/vef-rate/props.mjs +2 -0
- package/esm/vef-responsive-container/index.mjs +7 -0
- package/esm/vef-responsive-container/props.mjs +2 -0
- package/esm/vef-responsive-item/index.mjs +5 -0
- package/esm/vef-responsive-item/props.mjs +2 -0
- package/esm/vef-ribbon/index.mjs +3 -0
- package/esm/vef-ribbon/props.mjs +2 -0
- package/esm/vef-row/index.mjs +3 -0
- package/esm/vef-row/props.mjs +2 -0
- package/esm/vef-scroll-area/components/scrollbar.mjs +34 -0
- package/esm/vef-scroll-area/index.mjs +13 -0
- package/esm/vef-scroll-area/props.mjs +2 -0
- package/esm/vef-select/components/option.mjs +11 -0
- package/esm/vef-select/hooks/use-data-options.mjs +3 -0
- package/esm/vef-select/hooks/use-field-names.mjs +3 -0
- package/esm/vef-select/hooks/use-render-label.mjs +10 -0
- package/esm/vef-select/hooks/use-render-option.mjs +3 -0
- package/esm/vef-select/hooks/use-select-instance.mjs +3 -0
- package/esm/vef-select/index.mjs +3 -0
- package/esm/vef-select/props.mjs +2 -0
- package/esm/vef-slider/hooks/use-slider-instance.mjs +3 -0
- package/esm/vef-slider/index.mjs +3 -0
- package/esm/vef-slider/props.mjs +2 -0
- package/esm/vef-sortable-list/components/overlay-item.mjs +7 -0
- package/esm/vef-sortable-list/components/sortable-item.mjs +7 -0
- package/esm/vef-sortable-list/hooks/use-merged-items.mjs +3 -0
- package/esm/vef-sortable-list/index.mjs +3 -0
- package/esm/vef-sortable-list/props.mjs +2 -0
- package/esm/vef-space/index.mjs +3 -0
- package/esm/vef-space/props.mjs +2 -0
- package/esm/vef-spin/index.mjs +3 -0
- package/esm/vef-spin/props.mjs +2 -0
- package/esm/vef-splitter/index.mjs +3 -0
- package/esm/vef-splitter/props.mjs +2 -0
- package/esm/vef-splitter-panel/index.mjs +3 -0
- package/esm/vef-splitter-panel/props.mjs +2 -0
- package/esm/vef-status/index.mjs +3 -0
- package/esm/vef-status/props.mjs +2 -0
- package/esm/vef-table/components/columns/bool.mjs +3 -0
- package/esm/vef-table/components/columns/code.mjs +3 -0
- package/esm/vef-table/components/columns/data-dictionary.mjs +3 -0
- package/esm/vef-table/components/columns/enum.mjs +3 -0
- package/esm/vef-table/components/columns/file.mjs +3 -0
- package/esm/vef-table/components/columns/icon.mjs +3 -0
- package/esm/vef-table/components/columns/id.mjs +3 -0
- package/esm/vef-table/components/columns/image.mjs +3 -0
- package/esm/vef-table/components/columns/index.mjs +3 -0
- package/esm/vef-table/components/columns/markdown.mjs +3 -0
- package/esm/vef-table/components/columns/number.mjs +3 -0
- package/esm/vef-table/components/columns/props.mjs +2 -0
- package/esm/vef-table/components/columns/render.mjs +3 -0
- package/esm/vef-table/components/columns/rich-text.mjs +3 -0
- package/esm/vef-table/components/columns/text.mjs +3 -0
- package/esm/vef-table/components/columns-settings.mjs +54 -0
- package/esm/vef-table/components/operation-buttons.mjs +12 -0
- package/esm/vef-table/components/settings-icon.mjs +5 -0
- package/esm/vef-table/components/table-footer.mjs +19 -0
- package/esm/vef-table/helper.mjs +3 -0
- package/esm/vef-table/hooks/use-computed-batch-buttons.mjs +3 -0
- package/esm/vef-table/hooks/use-computed-columns.mjs +3 -0
- package/esm/vef-table/hooks/use-computed-values.mjs +3 -0
- package/esm/vef-table/hooks/use-data.mjs +3 -0
- package/esm/vef-table/hooks/use-default-column-configs.mjs +3 -0
- package/esm/vef-table/hooks/use-display-value.mjs +3 -0
- package/esm/vef-table/hooks/use-helper-columns.mjs +3 -0
- package/esm/vef-table/hooks/use-operation-column-width.mjs +3 -0
- package/esm/vef-table/hooks/use-pagination-props.mjs +3 -0
- package/esm/vef-table/hooks/use-row-props.mjs +3 -0
- package/esm/vef-table/hooks/use-row-selection-config.mjs +3 -0
- package/esm/vef-table/hooks/use-selected-rows.mjs +3 -0
- package/esm/vef-table/hooks/use-table-columns.mjs +3 -0
- package/esm/vef-table/hooks/use-table-context.mjs +3 -0
- package/esm/vef-table/hooks/use-table-instance.mjs +3 -0
- package/esm/vef-table/hooks/use-table-summary.mjs +3 -0
- package/esm/vef-table/hooks/use-table-width.mjs +3 -0
- package/esm/vef-table/index.mjs +56 -0
- package/esm/vef-table/props.mjs +2 -0
- package/esm/vef-table/store.mjs +3 -0
- package/esm/vef-table/types.mjs +2 -0
- package/esm/vef-tabs/index.mjs +3 -0
- package/esm/vef-tabs/props.mjs +2 -0
- package/esm/vef-tag/index.mjs +3 -0
- package/esm/vef-tag/props.mjs +2 -0
- package/esm/vef-temporal-picker/helper.mjs +3 -0
- package/esm/vef-temporal-picker/hooks/use-dayjs-value.mjs +3 -0
- package/esm/vef-temporal-picker/hooks/use-temporal-limit.mjs +3 -0
- package/esm/vef-temporal-picker/hooks/use-temporal-picker-instance.mjs +3 -0
- package/esm/vef-temporal-picker/index.mjs +3 -0
- package/esm/vef-temporal-picker/props.mjs +2 -0
- package/esm/vef-temporal-range-picker/helper.mjs +3 -0
- package/esm/vef-temporal-range-picker/hooks/use-dayjs-values.mjs +3 -0
- package/esm/vef-temporal-range-picker/hooks/use-temporal-limit.mjs +3 -0
- package/esm/vef-temporal-range-picker/hooks/use-temporal-range-picker-instance.mjs +3 -0
- package/esm/vef-temporal-range-picker/index.mjs +3 -0
- package/esm/vef-temporal-range-picker/props.mjs +3 -0
- package/esm/vef-text/index.mjs +3 -0
- package/esm/vef-text/props.mjs +2 -0
- package/esm/vef-textarea/hooks/use-textarea-instance.mjs +3 -0
- package/esm/vef-textarea/index.mjs +3 -0
- package/esm/vef-textarea/props.mjs +2 -0
- package/esm/vef-title/index.mjs +15 -0
- package/esm/vef-title/props.mjs +2 -0
- package/esm/vef-tooltip/index.mjs +3 -0
- package/esm/vef-tooltip/props.mjs +2 -0
- package/esm/vef-tree-select/hooks/use-change-handler.mjs +3 -0
- package/esm/vef-tree-select/hooks/use-data-options.mjs +3 -0
- package/esm/vef-tree-select/hooks/use-tree-select-instance.mjs +3 -0
- package/esm/vef-tree-select/index.mjs +3 -0
- package/esm/vef-tree-select/props.mjs +2 -0
- package/esm/vef-virtual-grid/index.mjs +14 -0
- package/esm/vef-virtual-grid/props.mjs +2 -0
- package/esm/vef-virtual-list/index.mjs +20 -0
- package/esm/vef-virtual-list/props.mjs +2 -0
- package/lib/index.cjs +3 -0
- package/lib/internal/index.cjs +3 -0
- package/lib/internal/utils.cjs +3 -0
- package/lib/vef-access-denied/access-denied-icon.cjs +3 -0
- package/lib/vef-access-denied/index.cjs +29 -0
- package/lib/vef-access-denied/props.cjs +3 -0
- package/lib/vef-action-buttons/index.cjs +3 -0
- package/lib/vef-action-buttons/props.cjs +3 -0
- package/lib/vef-app/helper.cjs +3 -0
- package/lib/vef-app/index.cjs +3 -0
- package/lib/vef-app/props.cjs +3 -0
- package/lib/vef-auto-sizer/index.cjs +3 -0
- package/lib/vef-auto-sizer/props.cjs +3 -0
- package/lib/vef-avatar/index.cjs +3 -0
- package/lib/vef-avatar/props.cjs +3 -0
- package/lib/vef-avatar-group/index.cjs +3 -0
- package/lib/vef-avatar-group/props.cjs +3 -0
- package/lib/vef-badge/index.cjs +3 -0
- package/lib/vef-badge/props.cjs +3 -0
- package/lib/vef-bool/hooks/use-bool-instance.cjs +3 -0
- package/lib/vef-bool/index.cjs +3 -0
- package/lib/vef-bool/props.cjs +3 -0
- package/lib/vef-button/components/base-button.cjs +3 -0
- package/lib/vef-button/index.cjs +3 -0
- package/lib/vef-button/props.cjs +3 -0
- package/lib/vef-card/index.cjs +3 -0
- package/lib/vef-card/props.cjs +3 -0
- package/lib/vef-card-meta/index.cjs +3 -0
- package/lib/vef-card-meta/props.cjs +3 -0
- package/lib/vef-checkbox/hooks/use-checkbox-instance.cjs +3 -0
- package/lib/vef-checkbox/hooks/use-data-options.cjs +3 -0
- package/lib/vef-checkbox/index.cjs +5 -0
- package/lib/vef-checkbox/props.cjs +3 -0
- package/lib/vef-col/index.cjs +3 -0
- package/lib/vef-col/props.cjs +3 -0
- package/lib/vef-color-picker/index.cjs +3 -0
- package/lib/vef-color-picker/props.cjs +3 -0
- package/lib/vef-compact/index.cjs +3 -0
- package/lib/vef-compact/props.cjs +3 -0
- package/lib/vef-config-provider/hooks/use-ui-config.cjs +3 -0
- package/lib/vef-config-provider/index.cjs +103 -0
- package/lib/vef-config-provider/props.cjs +3 -0
- package/lib/vef-config-provider/reset-style.cjs +257 -0
- package/lib/vef-config-provider/store.cjs +3 -0
- package/lib/vef-container/index.cjs +3 -0
- package/lib/vef-container/props.cjs +3 -0
- package/lib/vef-crud-page/components/crud-actions.cjs +3 -0
- package/lib/vef-crud-page/components/crud-filter.cjs +3 -0
- package/lib/vef-crud-page/components/crud-footer.cjs +9 -0
- package/lib/vef-crud-page/components/crud-form-modal.cjs +3 -0
- package/lib/vef-crud-page/components/crud-header.cjs +3 -0
- package/lib/vef-crud-page/components/crud-table.cjs +3 -0
- package/lib/vef-crud-page/hooks/use-action-buttons.cjs +3 -0
- package/lib/vef-crud-page/hooks/use-crud-context.cjs +3 -0
- package/lib/vef-crud-page/hooks/use-crud-schema.cjs +3 -0
- package/lib/vef-crud-page/hooks/use-operation-buttons.cjs +3 -0
- package/lib/vef-crud-page/index.cjs +3 -0
- package/lib/vef-crud-page/props.cjs +3 -0
- package/lib/vef-crud-page/store.cjs +3 -0
- package/lib/vef-crud-page/types.cjs +3 -0
- package/lib/vef-divider/index.cjs +3 -0
- package/lib/vef-divider/props.cjs +3 -0
- package/lib/vef-drawer/components/action-button-wrapper.cjs +3 -0
- package/lib/vef-drawer/components/button-props.cjs +3 -0
- package/lib/vef-drawer/components/cancel-action-button.cjs +3 -0
- package/lib/vef-drawer/components/ok-action-button.cjs +3 -0
- package/lib/vef-drawer/context.cjs +3 -0
- package/lib/vef-drawer/index.cjs +10 -0
- package/lib/vef-drawer/props.cjs +3 -0
- package/lib/vef-dropdown/index.cjs +3 -0
- package/lib/vef-dropdown/props.cjs +3 -0
- package/lib/vef-dynamic-icon/index.cjs +3 -0
- package/lib/vef-dynamic-icon/props.cjs +3 -0
- package/lib/vef-empty/index.cjs +3 -0
- package/lib/vef-empty/props.cjs +3 -0
- package/lib/vef-empty-placeholder/index.cjs +7 -0
- package/lib/vef-empty-placeholder/props.cjs +3 -0
- package/lib/vef-error/error-icon.cjs +3 -0
- package/lib/vef-error/index.cjs +30 -0
- package/lib/vef-error/props.cjs +3 -0
- package/lib/vef-filter/components/action-buttons.cjs +21 -0
- package/lib/vef-filter/components/advanced-filter.cjs +11 -0
- package/lib/vef-filter/components/basic-filter.cjs +21 -0
- package/lib/vef-filter/components/fields/index.cjs +3 -0
- package/lib/vef-filter/components/fields/input-number.cjs +3 -0
- package/lib/vef-filter/components/fields/input.cjs +3 -0
- package/lib/vef-filter/components/fields/props.cjs +3 -0
- package/lib/vef-filter/components/filter-field.cjs +3 -0
- package/lib/vef-filter/components/filter-item.cjs +3 -0
- package/lib/vef-filter/event.cjs +3 -0
- package/lib/vef-filter/helper.cjs +3 -0
- package/lib/vef-filter/hooks/use-action-handlers.cjs +3 -0
- package/lib/vef-filter/hooks/use-computed-values.cjs +3 -0
- package/lib/vef-filter/hooks/use-filter-context.cjs +3 -0
- package/lib/vef-filter/hooks/use-filter-initialization.cjs +3 -0
- package/lib/vef-filter/hooks/use-filter-instance.cjs +3 -0
- package/lib/vef-filter/hooks/use-filter-items.cjs +3 -0
- package/lib/vef-filter/hooks/use-filter-values-change.cjs +3 -0
- package/lib/vef-filter/hooks/use-label-config.cjs +3 -0
- package/lib/vef-filter/index.cjs +10 -0
- package/lib/vef-filter/props.cjs +3 -0
- package/lib/vef-filter/store.cjs +3 -0
- package/lib/vef-filter/types.cjs +3 -0
- package/lib/vef-flex/index.cjs +3 -0
- package/lib/vef-flex/props.cjs +3 -0
- package/lib/vef-float-button/index.cjs +3 -0
- package/lib/vef-float-button/props.cjs +3 -0
- package/lib/vef-float-button-group/index.cjs +3 -0
- package/lib/vef-float-button-group/props.cjs +3 -0
- package/lib/vef-form/components/fields/index.cjs +3 -0
- package/lib/vef-form/components/fields/input-number.cjs +3 -0
- package/lib/vef-form/components/fields/input.cjs +3 -0
- package/lib/vef-form/components/fields/props.cjs +3 -0
- package/lib/vef-form/components/form-actions.cjs +5 -0
- package/lib/vef-form/components/form-content.cjs +6 -0
- package/lib/vef-form/components/form-field.cjs +3 -0
- package/lib/vef-form/components/form-group.cjs +13 -0
- package/lib/vef-form/components/form-hidden-item.cjs +3 -0
- package/lib/vef-form/components/form-item.cjs +3 -0
- package/lib/vef-form/components/form-row.cjs +3 -0
- package/lib/vef-form/event.cjs +3 -0
- package/lib/vef-form/helper.cjs +3 -0
- package/lib/vef-form/hooks/use-action-handlers.cjs +3 -0
- package/lib/vef-form/hooks/use-columns-layout.cjs +3 -0
- package/lib/vef-form/hooks/use-computed-values.cjs +3 -0
- package/lib/vef-form/hooks/use-form-context.cjs +3 -0
- package/lib/vef-form/hooks/use-form-initialization.cjs +3 -0
- package/lib/vef-form/hooks/use-form-instance.cjs +3 -0
- package/lib/vef-form/hooks/use-form-values-change.cjs +3 -0
- package/lib/vef-form/hooks/use-label-width.cjs +3 -0
- package/lib/vef-form/index.cjs +5 -0
- package/lib/vef-form/props.cjs +3 -0
- package/lib/vef-form/store.cjs +3 -0
- package/lib/vef-form/types.cjs +3 -0
- package/lib/vef-form/validation-rules.cjs +3 -0
- package/lib/vef-form-drawer/index.cjs +3 -0
- package/lib/vef-form-drawer/props.cjs +3 -0
- package/lib/vef-form-modal/index.cjs +3 -0
- package/lib/vef-form-modal/props.cjs +3 -0
- package/lib/vef-generic-select/index.cjs +3 -0
- package/lib/vef-generic-select/props.cjs +3 -0
- package/lib/vef-grid/index.cjs +14 -0
- package/lib/vef-grid/props.cjs +3 -0
- package/lib/vef-grid-item/index.cjs +3 -0
- package/lib/vef-grid-item/props.cjs +3 -0
- package/lib/vef-icon/index.cjs +3 -0
- package/lib/vef-icon/props.cjs +3 -0
- package/lib/vef-icon-select/index.cjs +42 -0
- package/lib/vef-icon-select/props.cjs +3 -0
- package/lib/vef-input/hooks/use-input-instance.cjs +3 -0
- package/lib/vef-input/index.cjs +3 -0
- package/lib/vef-input/props.cjs +3 -0
- package/lib/vef-input-number/hooks/use-input-number-instance.cjs +3 -0
- package/lib/vef-input-number/index.cjs +3 -0
- package/lib/vef-input-number/props.cjs +3 -0
- package/lib/vef-layout/components/content.cjs +3 -0
- package/lib/vef-layout/components/font-size.cjs +6 -0
- package/lib/vef-layout/components/fullscreen.cjs +6 -0
- package/lib/vef-layout/components/header-action-icons.cjs +17 -0
- package/lib/vef-layout/components/header-content.cjs +8 -0
- package/lib/vef-layout/components/header.cjs +14 -0
- package/lib/vef-layout/components/sider.cjs +51 -0
- package/lib/vef-layout/components/title.cjs +38 -0
- package/lib/vef-layout/components/user-avatar.cjs +20 -0
- package/lib/vef-layout/index.cjs +7 -0
- package/lib/vef-layout/logo.svg.cjs +3 -0
- package/lib/vef-layout/props.cjs +3 -0
- package/lib/vef-layout/store.cjs +3 -0
- package/lib/vef-loading-placeholder/index.cjs +7 -0
- package/lib/vef-loading-placeholder/props.cjs +3 -0
- package/lib/vef-login/index.cjs +56 -0
- package/lib/vef-login/login-icon.cjs +3 -0
- package/lib/vef-login/props.cjs +3 -0
- package/lib/vef-menu/index.cjs +3 -0
- package/lib/vef-menu/props.cjs +3 -0
- package/lib/vef-modal/components/action-button-wrapper.cjs +3 -0
- package/lib/vef-modal/components/button-props.cjs +3 -0
- package/lib/vef-modal/components/cancel-action-button.cjs +3 -0
- package/lib/vef-modal/components/ok-action-button.cjs +3 -0
- package/lib/vef-modal/context.cjs +3 -0
- package/lib/vef-modal/index.cjs +6 -0
- package/lib/vef-modal/props.cjs +3 -0
- package/lib/vef-not-found/index.cjs +30 -0
- package/lib/vef-not-found/not-found-icon.cjs +3 -0
- package/lib/vef-not-found/props.cjs +3 -0
- package/lib/vef-page/index.cjs +59 -0
- package/lib/vef-page/props.cjs +3 -0
- package/lib/vef-pagination/index.cjs +3 -0
- package/lib/vef-pagination/props.cjs +3 -0
- package/lib/vef-paragraph/index.cjs +3 -0
- package/lib/vef-paragraph/props.cjs +3 -0
- package/lib/vef-password/hooks/use-password-instance.cjs +3 -0
- package/lib/vef-password/index.cjs +3 -0
- package/lib/vef-password/props.cjs +3 -0
- package/lib/vef-popconfirm/index.cjs +3 -0
- package/lib/vef-popconfirm/props.cjs +3 -0
- package/lib/vef-popover/index.cjs +3 -0
- package/lib/vef-popover/props.cjs +3 -0
- package/lib/vef-radio/hooks/use-data-options.cjs +3 -0
- package/lib/vef-radio/hooks/use-radio-instance.cjs +3 -0
- package/lib/vef-radio/index.cjs +5 -0
- package/lib/vef-radio/props.cjs +3 -0
- package/lib/vef-rate/hooks/use-rate-instance.cjs +3 -0
- package/lib/vef-rate/index.cjs +3 -0
- package/lib/vef-rate/props.cjs +3 -0
- package/lib/vef-responsive-container/index.cjs +7 -0
- package/lib/vef-responsive-container/props.cjs +3 -0
- package/lib/vef-responsive-item/index.cjs +5 -0
- package/lib/vef-responsive-item/props.cjs +3 -0
- package/lib/vef-ribbon/index.cjs +3 -0
- package/lib/vef-ribbon/props.cjs +3 -0
- package/lib/vef-row/index.cjs +3 -0
- package/lib/vef-row/props.cjs +3 -0
- package/lib/vef-scroll-area/components/scrollbar.cjs +34 -0
- package/lib/vef-scroll-area/index.cjs +13 -0
- package/lib/vef-scroll-area/props.cjs +3 -0
- package/lib/vef-select/components/option.cjs +11 -0
- package/lib/vef-select/hooks/use-data-options.cjs +3 -0
- package/lib/vef-select/hooks/use-field-names.cjs +3 -0
- package/lib/vef-select/hooks/use-render-label.cjs +10 -0
- package/lib/vef-select/hooks/use-render-option.cjs +3 -0
- package/lib/vef-select/hooks/use-select-instance.cjs +3 -0
- package/lib/vef-select/index.cjs +3 -0
- package/lib/vef-select/props.cjs +3 -0
- package/lib/vef-slider/hooks/use-slider-instance.cjs +3 -0
- package/lib/vef-slider/index.cjs +3 -0
- package/lib/vef-slider/props.cjs +3 -0
- package/lib/vef-sortable-list/components/overlay-item.cjs +7 -0
- package/lib/vef-sortable-list/components/sortable-item.cjs +7 -0
- package/lib/vef-sortable-list/hooks/use-merged-items.cjs +3 -0
- package/lib/vef-sortable-list/index.cjs +3 -0
- package/lib/vef-sortable-list/props.cjs +3 -0
- package/lib/vef-space/index.cjs +3 -0
- package/lib/vef-space/props.cjs +3 -0
- package/lib/vef-spin/index.cjs +3 -0
- package/lib/vef-spin/props.cjs +3 -0
- package/lib/vef-splitter/index.cjs +3 -0
- package/lib/vef-splitter/props.cjs +3 -0
- package/lib/vef-splitter-panel/index.cjs +3 -0
- package/lib/vef-splitter-panel/props.cjs +3 -0
- package/lib/vef-status/index.cjs +3 -0
- package/lib/vef-status/props.cjs +3 -0
- package/lib/vef-table/components/columns/bool.cjs +3 -0
- package/lib/vef-table/components/columns/code.cjs +3 -0
- package/lib/vef-table/components/columns/data-dictionary.cjs +3 -0
- package/lib/vef-table/components/columns/enum.cjs +3 -0
- package/lib/vef-table/components/columns/file.cjs +3 -0
- package/lib/vef-table/components/columns/icon.cjs +3 -0
- package/lib/vef-table/components/columns/id.cjs +3 -0
- package/lib/vef-table/components/columns/image.cjs +3 -0
- package/lib/vef-table/components/columns/index.cjs +3 -0
- package/lib/vef-table/components/columns/markdown.cjs +3 -0
- package/lib/vef-table/components/columns/number.cjs +3 -0
- package/lib/vef-table/components/columns/props.cjs +3 -0
- package/lib/vef-table/components/columns/render.cjs +3 -0
- package/lib/vef-table/components/columns/rich-text.cjs +3 -0
- package/lib/vef-table/components/columns/text.cjs +3 -0
- package/lib/vef-table/components/columns-settings.cjs +54 -0
- package/lib/vef-table/components/operation-buttons.cjs +12 -0
- package/lib/vef-table/components/settings-icon.cjs +5 -0
- package/lib/vef-table/components/table-footer.cjs +19 -0
- package/lib/vef-table/helper.cjs +3 -0
- package/lib/vef-table/hooks/use-computed-batch-buttons.cjs +3 -0
- package/lib/vef-table/hooks/use-computed-columns.cjs +3 -0
- package/lib/vef-table/hooks/use-computed-values.cjs +3 -0
- package/lib/vef-table/hooks/use-data.cjs +3 -0
- package/lib/vef-table/hooks/use-default-column-configs.cjs +3 -0
- package/lib/vef-table/hooks/use-display-value.cjs +3 -0
- package/lib/vef-table/hooks/use-helper-columns.cjs +3 -0
- package/lib/vef-table/hooks/use-operation-column-width.cjs +3 -0
- package/lib/vef-table/hooks/use-pagination-props.cjs +3 -0
- package/lib/vef-table/hooks/use-row-props.cjs +3 -0
- package/lib/vef-table/hooks/use-row-selection-config.cjs +3 -0
- package/lib/vef-table/hooks/use-selected-rows.cjs +3 -0
- package/lib/vef-table/hooks/use-table-columns.cjs +3 -0
- package/lib/vef-table/hooks/use-table-context.cjs +3 -0
- package/lib/vef-table/hooks/use-table-instance.cjs +3 -0
- package/lib/vef-table/hooks/use-table-summary.cjs +3 -0
- package/lib/vef-table/hooks/use-table-width.cjs +3 -0
- package/lib/vef-table/index.cjs +56 -0
- package/lib/vef-table/props.cjs +3 -0
- package/lib/vef-table/store.cjs +3 -0
- package/lib/vef-table/types.cjs +3 -0
- package/lib/vef-tabs/index.cjs +3 -0
- package/lib/vef-tabs/props.cjs +3 -0
- package/lib/vef-tag/index.cjs +3 -0
- package/lib/vef-tag/props.cjs +3 -0
- package/lib/vef-temporal-picker/helper.cjs +3 -0
- package/lib/vef-temporal-picker/hooks/use-dayjs-value.cjs +3 -0
- package/lib/vef-temporal-picker/hooks/use-temporal-limit.cjs +3 -0
- package/lib/vef-temporal-picker/hooks/use-temporal-picker-instance.cjs +3 -0
- package/lib/vef-temporal-picker/index.cjs +3 -0
- package/lib/vef-temporal-picker/props.cjs +3 -0
- package/lib/vef-temporal-range-picker/helper.cjs +3 -0
- package/lib/vef-temporal-range-picker/hooks/use-dayjs-values.cjs +3 -0
- package/lib/vef-temporal-range-picker/hooks/use-temporal-limit.cjs +3 -0
- package/lib/vef-temporal-range-picker/hooks/use-temporal-range-picker-instance.cjs +3 -0
- package/lib/vef-temporal-range-picker/index.cjs +3 -0
- package/lib/vef-temporal-range-picker/props.cjs +3 -0
- package/lib/vef-text/index.cjs +3 -0
- package/lib/vef-text/props.cjs +3 -0
- package/lib/vef-textarea/hooks/use-textarea-instance.cjs +3 -0
- package/lib/vef-textarea/index.cjs +3 -0
- package/lib/vef-textarea/props.cjs +3 -0
- package/lib/vef-title/index.cjs +15 -0
- package/lib/vef-title/props.cjs +3 -0
- package/lib/vef-tooltip/index.cjs +3 -0
- package/lib/vef-tooltip/props.cjs +3 -0
- package/lib/vef-tree-select/hooks/use-change-handler.cjs +3 -0
- package/lib/vef-tree-select/hooks/use-data-options.cjs +3 -0
- package/lib/vef-tree-select/hooks/use-tree-select-instance.cjs +3 -0
- package/lib/vef-tree-select/index.cjs +3 -0
- package/lib/vef-tree-select/props.cjs +3 -0
- package/lib/vef-virtual-grid/index.cjs +14 -0
- package/lib/vef-virtual-grid/props.cjs +3 -0
- package/lib/vef-virtual-list/index.cjs +20 -0
- package/lib/vef-virtual-list/props.cjs +3 -0
- package/package.json +6 -6
- package/es/index.js +0 -3
- package/es/internal/index.js +0 -3
- package/es/internal/utils.js +0 -3
- package/es/vef-access-denied/access-denied-icon.js +0 -3
- package/es/vef-access-denied/index.js +0 -29
- package/es/vef-action-buttons/index.js +0 -3
- package/es/vef-app/helper.js +0 -3
- package/es/vef-app/index.js +0 -3
- package/es/vef-auto-sizer/index.js +0 -3
- package/es/vef-avatar/index.js +0 -3
- package/es/vef-avatar-group/index.js +0 -3
- package/es/vef-badge/index.js +0 -3
- package/es/vef-bool/hooks/use-bool-instance.js +0 -3
- package/es/vef-bool/index.js +0 -3
- package/es/vef-button/components/base-button.js +0 -3
- package/es/vef-button/index.js +0 -3
- package/es/vef-card/index.js +0 -3
- package/es/vef-card-meta/index.js +0 -3
- package/es/vef-checkbox/hooks/use-checkbox-instance.js +0 -3
- package/es/vef-checkbox/hooks/use-data-options.js +0 -3
- package/es/vef-checkbox/index.js +0 -5
- package/es/vef-col/index.js +0 -3
- package/es/vef-color-picker/index.js +0 -3
- package/es/vef-compact/index.js +0 -3
- package/es/vef-config-provider/hooks/use-ui-config.js +0 -3
- package/es/vef-config-provider/index.js +0 -103
- package/es/vef-config-provider/reset-style.js +0 -257
- package/es/vef-config-provider/store.js +0 -3
- package/es/vef-container/index.js +0 -3
- package/es/vef-crud-page/components/crud-actions.js +0 -3
- package/es/vef-crud-page/components/crud-filter.js +0 -3
- package/es/vef-crud-page/components/crud-footer.js +0 -9
- package/es/vef-crud-page/components/crud-form-modal.js +0 -3
- package/es/vef-crud-page/components/crud-header.js +0 -3
- package/es/vef-crud-page/components/crud-table.js +0 -3
- package/es/vef-crud-page/hooks/use-action-buttons.js +0 -3
- package/es/vef-crud-page/hooks/use-crud-context.js +0 -3
- package/es/vef-crud-page/hooks/use-crud-schema.js +0 -3
- package/es/vef-crud-page/hooks/use-operation-buttons.js +0 -3
- package/es/vef-crud-page/index.js +0 -3
- package/es/vef-crud-page/store.js +0 -3
- package/es/vef-divider/index.js +0 -3
- package/es/vef-drawer/components/action-button-wrapper.js +0 -3
- package/es/vef-drawer/components/button-props.js +0 -2
- package/es/vef-drawer/components/cancel-action-button.js +0 -3
- package/es/vef-drawer/components/ok-action-button.js +0 -3
- package/es/vef-drawer/context.js +0 -3
- package/es/vef-drawer/index.js +0 -10
- package/es/vef-dropdown/index.js +0 -3
- package/es/vef-dynamic-icon/index.js +0 -3
- package/es/vef-dynamic-icon/props.js +0 -3
- package/es/vef-empty/index.js +0 -3
- package/es/vef-empty-placeholder/index.js +0 -7
- package/es/vef-error/error-icon.js +0 -3
- package/es/vef-error/index.js +0 -30
- package/es/vef-filter/components/action-buttons.js +0 -21
- package/es/vef-filter/components/advanced-filter.js +0 -11
- package/es/vef-filter/components/basic-filter.js +0 -21
- package/es/vef-filter/components/fields/index.js +0 -3
- package/es/vef-filter/components/fields/input-number.js +0 -3
- package/es/vef-filter/components/fields/input.js +0 -3
- package/es/vef-filter/components/filter-field.js +0 -3
- package/es/vef-filter/components/filter-item.js +0 -3
- package/es/vef-filter/event.js +0 -3
- package/es/vef-filter/helper.js +0 -3
- package/es/vef-filter/hooks/use-action-handlers.js +0 -3
- package/es/vef-filter/hooks/use-computed-values.js +0 -3
- package/es/vef-filter/hooks/use-filter-context.js +0 -3
- package/es/vef-filter/hooks/use-filter-initialization.js +0 -3
- package/es/vef-filter/hooks/use-filter-instance.js +0 -3
- package/es/vef-filter/hooks/use-filter-items.js +0 -3
- package/es/vef-filter/hooks/use-filter-values-change.js +0 -3
- package/es/vef-filter/hooks/use-label-config.js +0 -3
- package/es/vef-filter/index.js +0 -10
- package/es/vef-filter/store.js +0 -3
- package/es/vef-flex/index.js +0 -3
- package/es/vef-float-button/index.js +0 -3
- package/es/vef-float-button-group/index.js +0 -3
- package/es/vef-form/components/fields/index.js +0 -3
- package/es/vef-form/components/fields/input-number.js +0 -3
- package/es/vef-form/components/fields/input.js +0 -3
- package/es/vef-form/components/form-actions.js +0 -5
- package/es/vef-form/components/form-content.js +0 -6
- package/es/vef-form/components/form-field.js +0 -3
- package/es/vef-form/components/form-group.js +0 -13
- package/es/vef-form/components/form-hidden-item.js +0 -3
- package/es/vef-form/components/form-item.js +0 -3
- package/es/vef-form/components/form-row.js +0 -3
- package/es/vef-form/event.js +0 -3
- package/es/vef-form/helper.js +0 -3
- package/es/vef-form/hooks/use-action-handlers.js +0 -3
- package/es/vef-form/hooks/use-columns-layout.js +0 -3
- package/es/vef-form/hooks/use-computed-values.js +0 -3
- package/es/vef-form/hooks/use-form-context.js +0 -3
- package/es/vef-form/hooks/use-form-initialization.js +0 -3
- package/es/vef-form/hooks/use-form-instance.js +0 -3
- package/es/vef-form/hooks/use-form-values-change.js +0 -3
- package/es/vef-form/hooks/use-label-width.js +0 -3
- package/es/vef-form/index.js +0 -5
- package/es/vef-form/store.js +0 -3
- package/es/vef-form/validation-rules.js +0 -3
- package/es/vef-form-drawer/index.js +0 -3
- package/es/vef-form-modal/index.js +0 -3
- package/es/vef-generic-select/index.js +0 -3
- package/es/vef-grid/index.js +0 -14
- package/es/vef-grid/props.js +0 -3
- package/es/vef-grid-item/index.js +0 -3
- package/es/vef-icon/index.js +0 -3
- package/es/vef-icon-select/index.js +0 -42
- package/es/vef-input/hooks/use-input-instance.js +0 -3
- package/es/vef-input/index.js +0 -3
- package/es/vef-input-number/hooks/use-input-number-instance.js +0 -3
- package/es/vef-input-number/index.js +0 -3
- package/es/vef-layout/components/content.js +0 -3
- package/es/vef-layout/components/font-size.js +0 -6
- package/es/vef-layout/components/fullscreen.js +0 -6
- package/es/vef-layout/components/header-action-icons.js +0 -17
- package/es/vef-layout/components/header-content.js +0 -8
- package/es/vef-layout/components/header.js +0 -14
- package/es/vef-layout/components/sider.js +0 -51
- package/es/vef-layout/components/title.js +0 -38
- package/es/vef-layout/components/user-avatar.js +0 -20
- package/es/vef-layout/index.js +0 -7
- package/es/vef-layout/logo.svg.js +0 -3
- package/es/vef-layout/store.js +0 -3
- package/es/vef-loading-placeholder/index.js +0 -7
- package/es/vef-login/index.js +0 -56
- package/es/vef-login/login-icon.js +0 -3
- package/es/vef-menu/index.js +0 -3
- package/es/vef-modal/components/action-button-wrapper.js +0 -3
- package/es/vef-modal/components/button-props.js +0 -2
- package/es/vef-modal/components/cancel-action-button.js +0 -3
- package/es/vef-modal/components/ok-action-button.js +0 -3
- package/es/vef-modal/context.js +0 -3
- package/es/vef-modal/index.js +0 -6
- package/es/vef-not-found/index.js +0 -30
- package/es/vef-not-found/not-found-icon.js +0 -3
- package/es/vef-page/index.js +0 -59
- package/es/vef-pagination/index.js +0 -3
- package/es/vef-pagination/props.js +0 -3
- package/es/vef-paragraph/index.js +0 -3
- package/es/vef-password/hooks/use-password-instance.js +0 -3
- package/es/vef-password/index.js +0 -3
- package/es/vef-popconfirm/index.js +0 -3
- package/es/vef-popover/index.js +0 -3
- package/es/vef-radio/hooks/use-data-options.js +0 -3
- package/es/vef-radio/hooks/use-radio-instance.js +0 -3
- package/es/vef-radio/index.js +0 -5
- package/es/vef-rate/hooks/use-rate-instance.js +0 -3
- package/es/vef-rate/index.js +0 -3
- package/es/vef-responsive-container/index.js +0 -7
- package/es/vef-responsive-item/index.js +0 -5
- package/es/vef-ribbon/index.js +0 -3
- package/es/vef-row/index.js +0 -3
- package/es/vef-scroll-area/components/scrollbar.js +0 -34
- package/es/vef-scroll-area/index.js +0 -13
- package/es/vef-select/components/option.js +0 -11
- package/es/vef-select/hooks/use-data-options.js +0 -3
- package/es/vef-select/hooks/use-field-names.js +0 -3
- package/es/vef-select/hooks/use-render-label.js +0 -10
- package/es/vef-select/hooks/use-render-option.js +0 -3
- package/es/vef-select/hooks/use-select-instance.js +0 -3
- package/es/vef-select/index.js +0 -3
- package/es/vef-slider/hooks/use-slider-instance.js +0 -3
- package/es/vef-slider/index.js +0 -3
- package/es/vef-sortable-list/components/overlay-item.js +0 -7
- package/es/vef-sortable-list/components/sortable-item.js +0 -7
- package/es/vef-sortable-list/hooks/use-merged-items.js +0 -3
- package/es/vef-sortable-list/index.js +0 -3
- package/es/vef-space/index.js +0 -3
- package/es/vef-spin/index.js +0 -3
- package/es/vef-splitter/index.js +0 -3
- package/es/vef-splitter-panel/index.js +0 -3
- package/es/vef-status/index.js +0 -3
- package/es/vef-table/components/columns/bool.js +0 -3
- package/es/vef-table/components/columns/code.js +0 -3
- package/es/vef-table/components/columns/data-dictionary.js +0 -3
- package/es/vef-table/components/columns/enum.js +0 -3
- package/es/vef-table/components/columns/file.js +0 -3
- package/es/vef-table/components/columns/icon.js +0 -3
- package/es/vef-table/components/columns/id.js +0 -3
- package/es/vef-table/components/columns/image.js +0 -3
- package/es/vef-table/components/columns/index.js +0 -3
- package/es/vef-table/components/columns/markdown.js +0 -3
- package/es/vef-table/components/columns/number.js +0 -3
- package/es/vef-table/components/columns/render.js +0 -3
- package/es/vef-table/components/columns/rich-text.js +0 -3
- package/es/vef-table/components/columns/text.js +0 -3
- package/es/vef-table/components/columns-settings.js +0 -54
- package/es/vef-table/components/operation-buttons.js +0 -12
- package/es/vef-table/components/settings-icon.js +0 -5
- package/es/vef-table/components/table-footer.js +0 -19
- package/es/vef-table/helper.js +0 -3
- package/es/vef-table/hooks/use-computed-batch-buttons.js +0 -3
- package/es/vef-table/hooks/use-computed-columns.js +0 -3
- package/es/vef-table/hooks/use-computed-values.js +0 -3
- package/es/vef-table/hooks/use-data.js +0 -3
- package/es/vef-table/hooks/use-default-column-configs.js +0 -3
- package/es/vef-table/hooks/use-display-value.js +0 -3
- package/es/vef-table/hooks/use-helper-columns.js +0 -3
- package/es/vef-table/hooks/use-operation-column-width.js +0 -3
- package/es/vef-table/hooks/use-pagination-props.js +0 -3
- package/es/vef-table/hooks/use-row-props.js +0 -3
- package/es/vef-table/hooks/use-row-selection-config.js +0 -3
- package/es/vef-table/hooks/use-selected-rows.js +0 -3
- package/es/vef-table/hooks/use-table-columns.js +0 -3
- package/es/vef-table/hooks/use-table-context.js +0 -3
- package/es/vef-table/hooks/use-table-instance.js +0 -3
- package/es/vef-table/hooks/use-table-summary.js +0 -3
- package/es/vef-table/hooks/use-table-width.js +0 -3
- package/es/vef-table/index.js +0 -56
- package/es/vef-table/store.js +0 -3
- package/es/vef-tabs/index.js +0 -3
- package/es/vef-tag/index.js +0 -3
- package/es/vef-temporal-picker/helper.js +0 -3
- package/es/vef-temporal-picker/hooks/use-dayjs-value.js +0 -3
- package/es/vef-temporal-picker/hooks/use-temporal-limit.js +0 -3
- package/es/vef-temporal-picker/hooks/use-temporal-picker-instance.js +0 -3
- package/es/vef-temporal-picker/index.js +0 -3
- package/es/vef-temporal-range-picker/helper.js +0 -3
- package/es/vef-temporal-range-picker/hooks/use-dayjs-values.js +0 -3
- package/es/vef-temporal-range-picker/hooks/use-temporal-limit.js +0 -3
- package/es/vef-temporal-range-picker/hooks/use-temporal-range-picker-instance.js +0 -3
- package/es/vef-temporal-range-picker/index.js +0 -3
- package/es/vef-temporal-range-picker/props.js +0 -3
- package/es/vef-text/index.js +0 -3
- package/es/vef-textarea/hooks/use-textarea-instance.js +0 -3
- package/es/vef-textarea/index.js +0 -3
- package/es/vef-title/index.js +0 -15
- package/es/vef-tooltip/index.js +0 -3
- package/es/vef-tree-select/hooks/use-change-handler.js +0 -3
- package/es/vef-tree-select/hooks/use-data-options.js +0 -3
- package/es/vef-tree-select/hooks/use-tree-select-instance.js +0 -3
- package/es/vef-tree-select/index.js +0 -3
- package/es/vef-virtual-grid/index.js +0 -14
- package/es/vef-virtual-list/index.js +0 -20
- package/lib/index.js +0 -3
- package/lib/internal/index.js +0 -3
- package/lib/internal/utils.js +0 -3
- package/lib/vef-access-denied/access-denied-icon.js +0 -3
- package/lib/vef-access-denied/index.js +0 -29
- package/lib/vef-access-denied/props.js +0 -3
- package/lib/vef-action-buttons/index.js +0 -3
- package/lib/vef-action-buttons/props.js +0 -3
- package/lib/vef-app/helper.js +0 -3
- package/lib/vef-app/index.js +0 -3
- package/lib/vef-app/props.js +0 -3
- package/lib/vef-auto-sizer/index.js +0 -3
- package/lib/vef-auto-sizer/props.js +0 -3
- package/lib/vef-avatar/index.js +0 -3
- package/lib/vef-avatar/props.js +0 -3
- package/lib/vef-avatar-group/index.js +0 -3
- package/lib/vef-avatar-group/props.js +0 -3
- package/lib/vef-badge/index.js +0 -3
- package/lib/vef-badge/props.js +0 -3
- package/lib/vef-bool/hooks/use-bool-instance.js +0 -3
- package/lib/vef-bool/index.js +0 -3
- package/lib/vef-bool/props.js +0 -3
- package/lib/vef-button/components/base-button.js +0 -3
- package/lib/vef-button/index.js +0 -3
- package/lib/vef-button/props.js +0 -3
- package/lib/vef-card/index.js +0 -3
- package/lib/vef-card/props.js +0 -3
- package/lib/vef-card-meta/index.js +0 -3
- package/lib/vef-card-meta/props.js +0 -3
- package/lib/vef-checkbox/hooks/use-checkbox-instance.js +0 -3
- package/lib/vef-checkbox/hooks/use-data-options.js +0 -3
- package/lib/vef-checkbox/index.js +0 -5
- package/lib/vef-checkbox/props.js +0 -3
- package/lib/vef-col/index.js +0 -3
- package/lib/vef-col/props.js +0 -3
- package/lib/vef-color-picker/index.js +0 -3
- package/lib/vef-color-picker/props.js +0 -3
- package/lib/vef-compact/index.js +0 -3
- package/lib/vef-compact/props.js +0 -3
- package/lib/vef-config-provider/hooks/use-ui-config.js +0 -3
- package/lib/vef-config-provider/index.js +0 -103
- package/lib/vef-config-provider/props.js +0 -3
- package/lib/vef-config-provider/reset-style.js +0 -257
- package/lib/vef-config-provider/store.js +0 -3
- package/lib/vef-container/index.js +0 -3
- package/lib/vef-container/props.js +0 -3
- package/lib/vef-crud-page/components/crud-actions.js +0 -3
- package/lib/vef-crud-page/components/crud-filter.js +0 -3
- package/lib/vef-crud-page/components/crud-footer.js +0 -9
- package/lib/vef-crud-page/components/crud-form-modal.js +0 -3
- package/lib/vef-crud-page/components/crud-header.js +0 -3
- package/lib/vef-crud-page/components/crud-table.js +0 -3
- package/lib/vef-crud-page/hooks/use-action-buttons.js +0 -3
- package/lib/vef-crud-page/hooks/use-crud-context.js +0 -3
- package/lib/vef-crud-page/hooks/use-crud-schema.js +0 -3
- package/lib/vef-crud-page/hooks/use-operation-buttons.js +0 -3
- package/lib/vef-crud-page/index.js +0 -3
- package/lib/vef-crud-page/props.js +0 -3
- package/lib/vef-crud-page/store.js +0 -3
- package/lib/vef-crud-page/types.js +0 -3
- package/lib/vef-divider/index.js +0 -3
- package/lib/vef-divider/props.js +0 -3
- package/lib/vef-drawer/components/action-button-wrapper.js +0 -3
- package/lib/vef-drawer/components/button-props.js +0 -3
- package/lib/vef-drawer/components/cancel-action-button.js +0 -3
- package/lib/vef-drawer/components/ok-action-button.js +0 -3
- package/lib/vef-drawer/context.js +0 -3
- package/lib/vef-drawer/index.js +0 -10
- package/lib/vef-drawer/props.js +0 -3
- package/lib/vef-dropdown/index.js +0 -3
- package/lib/vef-dropdown/props.js +0 -3
- package/lib/vef-dynamic-icon/index.js +0 -3
- package/lib/vef-dynamic-icon/props.js +0 -3
- package/lib/vef-empty/index.js +0 -3
- package/lib/vef-empty/props.js +0 -3
- package/lib/vef-empty-placeholder/index.js +0 -7
- package/lib/vef-empty-placeholder/props.js +0 -3
- package/lib/vef-error/error-icon.js +0 -3
- package/lib/vef-error/index.js +0 -30
- package/lib/vef-error/props.js +0 -3
- package/lib/vef-filter/components/action-buttons.js +0 -21
- package/lib/vef-filter/components/advanced-filter.js +0 -11
- package/lib/vef-filter/components/basic-filter.js +0 -21
- package/lib/vef-filter/components/fields/index.js +0 -3
- package/lib/vef-filter/components/fields/input-number.js +0 -3
- package/lib/vef-filter/components/fields/input.js +0 -3
- package/lib/vef-filter/components/fields/props.js +0 -3
- package/lib/vef-filter/components/filter-field.js +0 -3
- package/lib/vef-filter/components/filter-item.js +0 -3
- package/lib/vef-filter/event.js +0 -3
- package/lib/vef-filter/helper.js +0 -3
- package/lib/vef-filter/hooks/use-action-handlers.js +0 -3
- package/lib/vef-filter/hooks/use-computed-values.js +0 -3
- package/lib/vef-filter/hooks/use-filter-context.js +0 -3
- package/lib/vef-filter/hooks/use-filter-initialization.js +0 -3
- package/lib/vef-filter/hooks/use-filter-instance.js +0 -3
- package/lib/vef-filter/hooks/use-filter-items.js +0 -3
- package/lib/vef-filter/hooks/use-filter-values-change.js +0 -3
- package/lib/vef-filter/hooks/use-label-config.js +0 -3
- package/lib/vef-filter/index.js +0 -10
- package/lib/vef-filter/props.js +0 -3
- package/lib/vef-filter/store.js +0 -3
- package/lib/vef-filter/types.js +0 -3
- package/lib/vef-flex/index.js +0 -3
- package/lib/vef-flex/props.js +0 -3
- package/lib/vef-float-button/index.js +0 -3
- package/lib/vef-float-button/props.js +0 -3
- package/lib/vef-float-button-group/index.js +0 -3
- package/lib/vef-float-button-group/props.js +0 -3
- package/lib/vef-form/components/fields/index.js +0 -3
- package/lib/vef-form/components/fields/input-number.js +0 -3
- package/lib/vef-form/components/fields/input.js +0 -3
- package/lib/vef-form/components/fields/props.js +0 -3
- package/lib/vef-form/components/form-actions.js +0 -5
- package/lib/vef-form/components/form-content.js +0 -6
- package/lib/vef-form/components/form-field.js +0 -3
- package/lib/vef-form/components/form-group.js +0 -13
- package/lib/vef-form/components/form-hidden-item.js +0 -3
- package/lib/vef-form/components/form-item.js +0 -3
- package/lib/vef-form/components/form-row.js +0 -3
- package/lib/vef-form/event.js +0 -3
- package/lib/vef-form/helper.js +0 -3
- package/lib/vef-form/hooks/use-action-handlers.js +0 -3
- package/lib/vef-form/hooks/use-columns-layout.js +0 -3
- package/lib/vef-form/hooks/use-computed-values.js +0 -3
- package/lib/vef-form/hooks/use-form-context.js +0 -3
- package/lib/vef-form/hooks/use-form-initialization.js +0 -3
- package/lib/vef-form/hooks/use-form-instance.js +0 -3
- package/lib/vef-form/hooks/use-form-values-change.js +0 -3
- package/lib/vef-form/hooks/use-label-width.js +0 -3
- package/lib/vef-form/index.js +0 -5
- package/lib/vef-form/props.js +0 -3
- package/lib/vef-form/store.js +0 -3
- package/lib/vef-form/types.js +0 -3
- package/lib/vef-form/validation-rules.js +0 -3
- package/lib/vef-form-drawer/index.js +0 -3
- package/lib/vef-form-drawer/props.js +0 -3
- package/lib/vef-form-modal/index.js +0 -3
- package/lib/vef-form-modal/props.js +0 -3
- package/lib/vef-generic-select/index.js +0 -3
- package/lib/vef-generic-select/props.js +0 -3
- package/lib/vef-grid/index.js +0 -14
- package/lib/vef-grid/props.js +0 -3
- package/lib/vef-grid-item/index.js +0 -3
- package/lib/vef-grid-item/props.js +0 -3
- package/lib/vef-icon/index.js +0 -3
- package/lib/vef-icon/props.js +0 -3
- package/lib/vef-icon-select/index.js +0 -42
- package/lib/vef-icon-select/props.js +0 -3
- package/lib/vef-input/hooks/use-input-instance.js +0 -3
- package/lib/vef-input/index.js +0 -3
- package/lib/vef-input/props.js +0 -3
- package/lib/vef-input-number/hooks/use-input-number-instance.js +0 -3
- package/lib/vef-input-number/index.js +0 -3
- package/lib/vef-input-number/props.js +0 -3
- package/lib/vef-layout/components/content.js +0 -3
- package/lib/vef-layout/components/font-size.js +0 -6
- package/lib/vef-layout/components/fullscreen.js +0 -6
- package/lib/vef-layout/components/header-action-icons.js +0 -17
- package/lib/vef-layout/components/header-content.js +0 -8
- package/lib/vef-layout/components/header.js +0 -14
- package/lib/vef-layout/components/sider.js +0 -51
- package/lib/vef-layout/components/title.js +0 -38
- package/lib/vef-layout/components/user-avatar.js +0 -20
- package/lib/vef-layout/index.js +0 -7
- package/lib/vef-layout/logo.svg.js +0 -3
- package/lib/vef-layout/props.js +0 -3
- package/lib/vef-layout/store.js +0 -3
- package/lib/vef-loading-placeholder/index.js +0 -7
- package/lib/vef-loading-placeholder/props.js +0 -3
- package/lib/vef-login/index.js +0 -56
- package/lib/vef-login/login-icon.js +0 -3
- package/lib/vef-login/props.js +0 -3
- package/lib/vef-menu/index.js +0 -3
- package/lib/vef-menu/props.js +0 -3
- package/lib/vef-modal/components/action-button-wrapper.js +0 -3
- package/lib/vef-modal/components/button-props.js +0 -3
- package/lib/vef-modal/components/cancel-action-button.js +0 -3
- package/lib/vef-modal/components/ok-action-button.js +0 -3
- package/lib/vef-modal/context.js +0 -3
- package/lib/vef-modal/index.js +0 -6
- package/lib/vef-modal/props.js +0 -3
- package/lib/vef-not-found/index.js +0 -30
- package/lib/vef-not-found/not-found-icon.js +0 -3
- package/lib/vef-not-found/props.js +0 -3
- package/lib/vef-page/index.js +0 -59
- package/lib/vef-page/props.js +0 -3
- package/lib/vef-pagination/index.js +0 -3
- package/lib/vef-pagination/props.js +0 -3
- package/lib/vef-paragraph/index.js +0 -3
- package/lib/vef-paragraph/props.js +0 -3
- package/lib/vef-password/hooks/use-password-instance.js +0 -3
- package/lib/vef-password/index.js +0 -3
- package/lib/vef-password/props.js +0 -3
- package/lib/vef-popconfirm/index.js +0 -3
- package/lib/vef-popconfirm/props.js +0 -3
- package/lib/vef-popover/index.js +0 -3
- package/lib/vef-popover/props.js +0 -3
- package/lib/vef-radio/hooks/use-data-options.js +0 -3
- package/lib/vef-radio/hooks/use-radio-instance.js +0 -3
- package/lib/vef-radio/index.js +0 -5
- package/lib/vef-radio/props.js +0 -3
- package/lib/vef-rate/hooks/use-rate-instance.js +0 -3
- package/lib/vef-rate/index.js +0 -3
- package/lib/vef-rate/props.js +0 -3
- package/lib/vef-responsive-container/index.js +0 -7
- package/lib/vef-responsive-container/props.js +0 -3
- package/lib/vef-responsive-item/index.js +0 -5
- package/lib/vef-responsive-item/props.js +0 -3
- package/lib/vef-ribbon/index.js +0 -3
- package/lib/vef-ribbon/props.js +0 -3
- package/lib/vef-row/index.js +0 -3
- package/lib/vef-row/props.js +0 -3
- package/lib/vef-scroll-area/components/scrollbar.js +0 -34
- package/lib/vef-scroll-area/index.js +0 -13
- package/lib/vef-scroll-area/props.js +0 -3
- package/lib/vef-select/components/option.js +0 -11
- package/lib/vef-select/hooks/use-data-options.js +0 -3
- package/lib/vef-select/hooks/use-field-names.js +0 -3
- package/lib/vef-select/hooks/use-render-label.js +0 -10
- package/lib/vef-select/hooks/use-render-option.js +0 -3
- package/lib/vef-select/hooks/use-select-instance.js +0 -3
- package/lib/vef-select/index.js +0 -3
- package/lib/vef-select/props.js +0 -3
- package/lib/vef-slider/hooks/use-slider-instance.js +0 -3
- package/lib/vef-slider/index.js +0 -3
- package/lib/vef-slider/props.js +0 -3
- package/lib/vef-sortable-list/components/overlay-item.js +0 -7
- package/lib/vef-sortable-list/components/sortable-item.js +0 -7
- package/lib/vef-sortable-list/hooks/use-merged-items.js +0 -3
- package/lib/vef-sortable-list/index.js +0 -3
- package/lib/vef-sortable-list/props.js +0 -3
- package/lib/vef-space/index.js +0 -3
- package/lib/vef-space/props.js +0 -3
- package/lib/vef-spin/index.js +0 -3
- package/lib/vef-spin/props.js +0 -3
- package/lib/vef-splitter/index.js +0 -3
- package/lib/vef-splitter/props.js +0 -3
- package/lib/vef-splitter-panel/index.js +0 -3
- package/lib/vef-splitter-panel/props.js +0 -3
- package/lib/vef-status/index.js +0 -3
- package/lib/vef-status/props.js +0 -3
- package/lib/vef-table/components/columns/bool.js +0 -3
- package/lib/vef-table/components/columns/code.js +0 -3
- package/lib/vef-table/components/columns/data-dictionary.js +0 -3
- package/lib/vef-table/components/columns/enum.js +0 -3
- package/lib/vef-table/components/columns/file.js +0 -3
- package/lib/vef-table/components/columns/icon.js +0 -3
- package/lib/vef-table/components/columns/id.js +0 -3
- package/lib/vef-table/components/columns/image.js +0 -3
- package/lib/vef-table/components/columns/index.js +0 -3
- package/lib/vef-table/components/columns/markdown.js +0 -3
- package/lib/vef-table/components/columns/number.js +0 -3
- package/lib/vef-table/components/columns/props.js +0 -3
- package/lib/vef-table/components/columns/render.js +0 -3
- package/lib/vef-table/components/columns/rich-text.js +0 -3
- package/lib/vef-table/components/columns/text.js +0 -3
- package/lib/vef-table/components/columns-settings.js +0 -54
- package/lib/vef-table/components/operation-buttons.js +0 -12
- package/lib/vef-table/components/settings-icon.js +0 -5
- package/lib/vef-table/components/table-footer.js +0 -19
- package/lib/vef-table/helper.js +0 -3
- package/lib/vef-table/hooks/use-computed-batch-buttons.js +0 -3
- package/lib/vef-table/hooks/use-computed-columns.js +0 -3
- package/lib/vef-table/hooks/use-computed-values.js +0 -3
- package/lib/vef-table/hooks/use-data.js +0 -3
- package/lib/vef-table/hooks/use-default-column-configs.js +0 -3
- package/lib/vef-table/hooks/use-display-value.js +0 -3
- package/lib/vef-table/hooks/use-helper-columns.js +0 -3
- package/lib/vef-table/hooks/use-operation-column-width.js +0 -3
- package/lib/vef-table/hooks/use-pagination-props.js +0 -3
- package/lib/vef-table/hooks/use-row-props.js +0 -3
- package/lib/vef-table/hooks/use-row-selection-config.js +0 -3
- package/lib/vef-table/hooks/use-selected-rows.js +0 -3
- package/lib/vef-table/hooks/use-table-columns.js +0 -3
- package/lib/vef-table/hooks/use-table-context.js +0 -3
- package/lib/vef-table/hooks/use-table-instance.js +0 -3
- package/lib/vef-table/hooks/use-table-summary.js +0 -3
- package/lib/vef-table/hooks/use-table-width.js +0 -3
- package/lib/vef-table/index.js +0 -56
- package/lib/vef-table/props.js +0 -3
- package/lib/vef-table/store.js +0 -3
- package/lib/vef-table/types.js +0 -3
- package/lib/vef-tabs/index.js +0 -3
- package/lib/vef-tabs/props.js +0 -3
- package/lib/vef-tag/index.js +0 -3
- package/lib/vef-tag/props.js +0 -3
- package/lib/vef-temporal-picker/helper.js +0 -3
- package/lib/vef-temporal-picker/hooks/use-dayjs-value.js +0 -3
- package/lib/vef-temporal-picker/hooks/use-temporal-limit.js +0 -3
- package/lib/vef-temporal-picker/hooks/use-temporal-picker-instance.js +0 -3
- package/lib/vef-temporal-picker/index.js +0 -3
- package/lib/vef-temporal-picker/props.js +0 -3
- package/lib/vef-temporal-range-picker/helper.js +0 -3
- package/lib/vef-temporal-range-picker/hooks/use-dayjs-values.js +0 -3
- package/lib/vef-temporal-range-picker/hooks/use-temporal-limit.js +0 -3
- package/lib/vef-temporal-range-picker/hooks/use-temporal-range-picker-instance.js +0 -3
- package/lib/vef-temporal-range-picker/index.js +0 -3
- package/lib/vef-temporal-range-picker/props.js +0 -3
- package/lib/vef-text/index.js +0 -3
- package/lib/vef-text/props.js +0 -3
- package/lib/vef-textarea/hooks/use-textarea-instance.js +0 -3
- package/lib/vef-textarea/index.js +0 -3
- package/lib/vef-textarea/props.js +0 -3
- package/lib/vef-title/index.js +0 -15
- package/lib/vef-title/props.js +0 -3
- package/lib/vef-tooltip/index.js +0 -3
- package/lib/vef-tooltip/props.js +0 -3
- package/lib/vef-tree-select/hooks/use-change-handler.js +0 -3
- package/lib/vef-tree-select/hooks/use-data-options.js +0 -3
- package/lib/vef-tree-select/hooks/use-tree-select-instance.js +0 -3
- package/lib/vef-tree-select/index.js +0 -3
- package/lib/vef-tree-select/props.js +0 -3
- package/lib/vef-virtual-grid/index.js +0 -14
- package/lib/vef-virtual-grid/props.js +0 -3
- package/lib/vef-virtual-list/index.js +0 -20
- package/lib/vef-virtual-list/props.js +0 -3
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("@emotion/react/jsx-runtime"),e=require("@emotion/react"),a=require("@radix-ui/react-scroll-area"),o=require("@vef-framework/shared"),l=require("react"),i=e.css`
|
|
3
|
+
--vef-scroll-area-scrollbar-padding: 2px;
|
|
4
|
+
|
|
5
|
+
display: flex;
|
|
6
|
+
touch-action: none;
|
|
7
|
+
user-select: none;
|
|
8
|
+
`,t=e.css`
|
|
9
|
+
height: 100%;
|
|
10
|
+
width: var(--vef-scroll-area-scrollbar-size);
|
|
11
|
+
border-left-width: 1px;
|
|
12
|
+
border-left-color: transparent;
|
|
13
|
+
padding: var(--vef-scroll-area-scrollbar-padding);
|
|
14
|
+
`,s=e.css`
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
height: var(--vef-scroll-area-scrollbar-size);
|
|
17
|
+
border-top-width: 1px;
|
|
18
|
+
border-top-color: transparent;
|
|
19
|
+
padding: var(--vef-scroll-area-scrollbar-padding);
|
|
20
|
+
`,c=e.css`
|
|
21
|
+
position: relative;
|
|
22
|
+
z-index: 2;
|
|
23
|
+
flex: 1;
|
|
24
|
+
border-radius: calc(var(--vef-scroll-area-scrollbar-size) - var(--vef-scroll-area-scrollbar-padding) * 2);
|
|
25
|
+
background-color: hsl(240 5.9% 90%);
|
|
26
|
+
transition-property: background-color;
|
|
27
|
+
transition-timing-function: ${o.themeVariables.motionEaseInOutCirc};
|
|
28
|
+
transition-duration: ${o.themeVariables.motionDurationMid};
|
|
29
|
+
|
|
30
|
+
&:hover {
|
|
31
|
+
background-color: hsl(240 5.9% 84%);
|
|
32
|
+
}
|
|
33
|
+
`,n=l.forwardRef((({orientation:e="vertical",...o},l)=>r.jsx(a.ScrollAreaScrollbar,{ref:l,orientation:e,css:[i,"vertical"===e&&t,"horizontal"===e&&s],...o,children:r.jsx(a.ScrollAreaThumb,{css:c})})));n.displayName="VefScrollbar",exports.default=n;
|
|
34
|
+
/*! 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 */
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
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("@radix-ui/react-scroll-area"),t=require("@vef-framework/shared"),l=require("react"),i=require("./components/scrollbar.cjs"),s=r.css`
|
|
3
|
+
position: relative;
|
|
4
|
+
overflow: hidden;
|
|
5
|
+
height: var(--vef-scroll-area-height, 100%);
|
|
6
|
+
width: var(--vef-scroll-area-width, auto);
|
|
7
|
+
`,a=r.css`
|
|
8
|
+
height: 100%;
|
|
9
|
+
width: 100%;
|
|
10
|
+
border-radius: inherit;
|
|
11
|
+
-webkit-overflow-scrolling: touch;
|
|
12
|
+
`,c=l.forwardRef((({style:r,height:c,width:h,scrollDirection:u="y",scrollbarSize:d="medium",autoHideScrollbar:n=!0,viewportClassName:f,viewportStyle:v,viewportRef:m,onScroll:w,children:x,...p},b)=>{const y=l.useMemo((()=>({...r,"--vef-scroll-area-height":(t.isNumber(c)?`${c}px`:c)??"100%","--vef-scroll-area-width":(t.isNumber(h)?`${h}px`:h)??"auto"})),[c,r,h]),g=l.useMemo((()=>({"--vef-scroll-area-scrollbar-size":"small"===d?"10px":"medium"===d?"12px":"14px"})),[d]),j=l.useMemo((()=>({...v,overflowX:""+("x"===u||"both"===u?"scroll":"hidden"),overflowY:""+("y"===u||"both"===u?"scroll":"hidden")})),[u,v]);return e.jsxs(o.Root,{ref:b,css:s,style:y,type:n?"hover":"auto",...p,children:[e.jsx(o.Viewport,{ref:m,className:f,css:a,style:j,onScroll:w,children:x}),("y"===u||"both"===u)&&e.jsx(i.default,{orientation:"vertical",style:g}),("x"===u||"both"===u)&&e.jsx(i.default,{orientation:"horizontal",style:g}),e.jsx(o.Corner,{})]})}));exports.default=c;
|
|
13
|
+
/*! 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 */
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("@emotion/react/jsx-runtime"),i=require("@emotion/react"),r=require("@vef-framework/shared"),s=require("react"),l=require("../../vef-text/index.cjs"),t=i.css`
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
row-gap: 4px;
|
|
6
|
+
|
|
7
|
+
> .vef-typography-secondary {
|
|
8
|
+
font-size: ${r.themeVariables.fontSizeSm};
|
|
9
|
+
}
|
|
10
|
+
`,o=s.memo((({label:i,description:r})=>r?e.jsxs("div",{css:t,children:[e.jsx(l.default,{ellipsis:!0,ellipsisTipPlacement:"right",children:i}),e.jsx(l.default,{ellipsis:!0,color:"secondary",ellipsisTipPlacement:"right",children:r})]}):e.jsx(l.default,{ellipsis:!0,ellipsisTipPlacement:"right",children:i})));o.displayName="VefOption",exports.default=o;
|
|
11
|
+
/*! 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 */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
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,grouped:a=!1,multiple:n=!1,onChange:r,...s}){const{onFilterKeywordChange:l,normalizedOptions:u,defaultOption:p,isLoading:d,fallbackOptions:c,isFallbackOptionsLoading:f}=e.useComputedOptions({...s,isGrouped:a,selectedOptionValues:o.isArray(t)?t:t?[t]:[]});return i.useLayoutEffect((()=>{p&&o.isFunction(r)&&o.isNullish(t)&&r(n?[p.value]:p.value,n?[p]:p)}),[p,n,r,t]),{onFilterKeywordChange:l,normalizedOptions:u,isLoading:d,fallbackOptions:c,isFallbackOptionsLoading:f}};
|
|
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 */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react");exports.useFieldNames=function(l){return e.useMemo((()=>l?{label:"label",value:"value",options:"children",groupLabel:"label"}:{label:"label",value:"value"}),[l])};
|
|
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 */
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@emotion/react/jsx-runtime"),r=require("@ant-design/icons"),i=require("@emotion/react"),n=require("react"),t=require("../../vef-spin/index.cjs"),s=i.css`
|
|
3
|
+
display: inline-flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
|
|
6
|
+
.vef-spin {
|
|
7
|
+
color: inherit;
|
|
8
|
+
}
|
|
9
|
+
`;exports.useRenderLabel=function(i,l){return n.useCallback((({label:n,value:a})=>{if(n)return n;if(i)return e.jsx("span",{css:s,children:e.jsx(t.default,{indicator:e.jsx(r.LoadingOutlined,{}),size:"small"})});const u=l?.find((e=>e.value===a));return u?.label??a}),[i,l])};
|
|
10
|
+
/*! 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 */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@emotion/react/jsx-runtime"),r=require("@vef-framework/shared"),t=require("react"),i=require("../components/option.cjs");exports.useRenderOption=function(n){return t.useMemo((()=>r.isFunction(n)?({data:e},{index:r})=>n({...e,index:r}):({data:{label:r,description:t}})=>e.jsx(i.default,{description:t,label:r??"Missing Label"})),[n])};
|
|
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 */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react");exports.useSelectInstance=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
|
+
/*! 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 */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
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("@vef-framework/shared"),i=require("antd"),t=require("react");require("../internal/index.cjs");const l=require("../vef-loading-placeholder/index.cjs"),n=require("./hooks/use-data-options.cjs"),s=require("./hooks/use-field-names.cjs"),a=require("./hooks/use-render-label.cjs"),u=require("./hooks/use-render-option.cjs"),d=require("./hooks/use-select-instance.cjs"),c=require("../internal/utils.cjs"),p=e.jsx("div",{css:{height:140},children:e.jsx(l.default,{})});const f=t.memo(t.forwardRef((function({defaultValue:t,value:l,size:f,clearable:m,disabled:h,placeholder:v,variant:g,onClear:j,onBlur:q,onFocus:b,onChange:x,onSelect:C,onDeselect:S,multiple:k=!1,grouped:F=!1,maxCount:O,renderOption:R,filterable:w=!0,filterFromRemote:z=!1,...y},B){const{onFilterKeywordChange:D,normalizedOptions:L,isLoading:N,fallbackOptions:T,isFallbackOptionsLoading:V}=n.useDataOptions({value:l,grouped:F,multiple:k,onChange:x,filterable:w,filterFromRemote:z,...y}),M=u.useRenderOption(R),_=o.useOptionFilter(w,z),A=s.useFieldNames(F),H=a.useRenderLabel(V,T),I=d.useSelectInstance(B,L);return e.jsx(i.Select,{ref:I,defaultActiveFirstOption:!0,allowClear:m,css:r.styles.fullWidth,defaultValue:t,disabled:h,fieldNames:A,filterOption:_,labelRender:H,listHeight:280,loading:N,maxCount:k?O:void 0,maxTagCount:k?"responsive":void 0,mode:k?"multiple":void 0,notFoundContent:N?p:void 0,optionRender:M,options:L,placeholder:v,showSearch:w,size:c.convertBasicSizeToUiSize(f),value:l,variant:g,onBlur:q,onChange:x,onClear:j,onDeselect:S,onFocus:b,onSearch:D,onSelect:C})})));f.displayName="VefSelect",exports.default=f;
|
|
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 */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react");exports.useSliderInstance=function(r){const t=e.useRef(null);return e.useImperativeHandle(r,(()=>({blur:()=>t.current?.blur(),focus:()=>t.current?.focus()}))),t};
|
|
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 */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
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"),o=require("./hooks/use-slider-instance.cjs"),s=t.forwardRef((({step:s,tipFormatter:n,onChange:i,...u},a)=>{const l=t.useMemo((()=>{if(n)return{formatter:e=>n(e)}}),[n]),c=o.useSliderInstance(a);return e.jsx(r.Slider,{ref:c,step:"mark"===s?null:s,tooltip:l,onChange:i,...u})}));exports.default=s;
|
|
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 */
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("@emotion/react/jsx-runtime"),n=require("@ant-design/icons"),s=require("@emotion/react"),t=e.jsx(n.HolderOutlined,{}),r=s.css`
|
|
3
|
+
cursor: move;
|
|
4
|
+
user-select: none;
|
|
5
|
+
touch-action: none;
|
|
6
|
+
`;exports.default=function({item:n,renderItem:s,useHandle:o,handleClassName:i,handleStyle:l,handleIcon:a}){return e.jsxs(e.Fragment,{children:[o&&e.jsx("div",{className:i,css:r,style:l,children:a??t}),s(n,!0)]})};
|
|
7
|
+
/*! 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 */
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("@emotion/react/jsx-runtime"),t=require("@ant-design/icons"),s=require("@dnd-kit/sortable"),i=require("@dnd-kit/utilities"),r=require("@emotion/react"),n=e.jsx(t.HolderOutlined,{}),a=r.css`
|
|
3
|
+
cursor: move;
|
|
4
|
+
user-select: none;
|
|
5
|
+
touch-action: none;
|
|
6
|
+
`;exports.default=function({item:t,itemKey:r,itemIndex:o,itemClassName:d,itemStyle:l,renderItem:u,useHandle:c,useOverlay:m,handleClassName:f,handleStyle:x,handleIcon:v,disabled:S}){const{isDragging:b,attributes:g,listeners:y,setNodeRef:h,setActivatorNodeRef:N,transition:j,transform:q}=s.useSortable({id:r,disabled:S,data:{index:o}}),p={...l,transition:j,transform:i.CSS.Transform.toString(q),...!m&&b?{position:"relative",zIndex:999}:{}};return e.jsxs("div",{ref:h,className:d,style:p,...g,...c?{}:y,children:[c&&e.jsx("div",{ref:N,className:f,css:a,style:x,...y,children:v??n}),u(t,!1)]})};
|
|
7
|
+
/*! 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 */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@vef-framework/shared"),t=require("react");exports.useMergedItems=function(r,s,o){if(e.isNullish(r)&&e.isNullish(s))throw new Error("At least one of `defaultItems` and `items` must be provided for VefSortableList component.");const[i,u]=t.useState(r??[]);return[s??i,t.useCallback((e=>{s?o?.(e(s)):u(e)}),[s,o])]};
|
|
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 */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("@emotion/react/jsx-runtime"),t=require("@dnd-kit/core"),r=require("@dnd-kit/modifiers"),s=require("@dnd-kit/sortable"),i=require("@vef-framework/shared"),a=require("react"),n=require("./components/overlay-item.cjs"),o=require("./components/sortable-item.cjs"),d=require("./hooks/use-merged-items.cjs");const l=a.memo((function({defaultItems:l,items:c,itemKey:m="id",className:u,style:g,orientation:y="vertical",useOverlay:v=!0,restrictStrategy:x="parent",onChange:S,...p}){const[f,j]=d.useMergedItems(l,c,S),b=t.useSensors(t.useSensor(t.PointerSensor)),q=a.useMemo((()=>i.isFunction(m)?m:e=>e[m]),[m]),[h,k]=a.useState(),C=a.useCallback((({active:e})=>{k(f[e.data.current.index])}),[f]),E=a.useCallback((({active:e,over:t})=>{t&&e.id!==t.id&&j((r=>s.arrayMove(r,e.data.current.index,t.data.current.index)))}),[j]),D=f.map((e=>q(e))),{itemClassName:M,itemStyle:N,disabled:T,...w}=p;return e.jsx(t.DndContext,{collisionDetection:t.closestCenter,sensors:b,modifiers:["parent"===x?r.restrictToParentElement:r.restrictToWindowEdges],onDragEnd:E,onDragStart:C,children:e.jsx(s.SortableContext,{items:D,strategy:"vertical"===y?s.verticalListSortingStrategy:s.horizontalListSortingStrategy,children:e.jsxs("div",{className:u,style:g,children:[f.map(((t,r)=>{const s=q(t);return e.jsx(o.default,{item:t,itemIndex:r,itemKey:s,...p},s)})),v&&e.jsx(t.DragOverlay,{className:M,style:N,wrapperElement:"div",modifiers:["parent"===x?r.restrictToParentElement:r.restrictToWindowEdges],children:h&&e.jsx(n.default,{item:h,...w})})]})})})}));l.displayName="VefSortableList",exports.default=l;
|
|
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 */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
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"),a=require("react");exports.default=({gap:s,...i})=>{const u=r.useGapSizeNormalizer(),m=a.useMemo((()=>o.isArray(s)?s.map((e=>u(e))):s?u(s):s),[s,u]);return e.jsx(t.Space,{size:m,...i})};
|
|
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 */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
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=({size:i,...r})=>e.jsx(t.Spin,{size:"medium"===i?"default":i,...r});
|
|
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 */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
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=({orientation:o,onResizeBegin:r,...i})=>e.jsx(t.Splitter,{layout:o,onResizeStart:r,...i});
|
|
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 */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("@emotion/react/jsx-runtime"),t=require("antd"),{Panel:r}=t.Splitter;exports.default=({...t})=>e.jsx(r,{...t});
|
|
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 */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
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"),t=require("antd"),o=require("react");exports.default=({processing:u=!1,color:s="default",children:a})=>{const l=r.useColorTokens(),n=o.useMemo((()=>{if("default"===s)return{status:"default",text:a};if(l.has(s))return{status:u?"processing":"default",color:l.get(s),text:a};throw new Error(`Invalid color value "${s}" of VefStatus component. Color must be either "default" or a valid color token.`)}),[s,l,u,a]);return e.jsx(t.Badge,{...n})};
|
|
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 */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
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"),t=require("react"),u=require("../../../vef-text/index.cjs"),l=require("../../hooks/use-computed-values.cjs");const a=t.memo((function({value:a,record:s,rowIndex:i,columnProps:c}){if("Boolean"!==c.type)throw new o.VefError(-1,"Column type must be Boolean");const{defaultValue:n,trueText:d="是",falseText:m="否",bold:f,italic:x,color:p,width:w}=c,[h,V,b]=l.useComputedValues([{key:"bold",rawValue:f,defaultValue:!1},{key:"italic",rawValue:x,defaultValue:!1},{key:"color",rawValue:p}],a,s,i),q=t.useMemo((()=>o.isString(b)?b:b?!o.isNullish(a)&&Object.hasOwn(b,a)?b[a]:b["*"]:void 0),[b,a]),v=t.useMemo((()=>a?a?d:m:n),[a,d,m,n]),j=t.useMemo((()=>{if(w)return r.css({maxWidth:`${w}px !important`})}),[w]);return e.jsx(u.default,{bold:h,color:q,css:j,italic:V,children:v})}),o.isEqual);exports.default=a;
|
|
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 */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("@emotion/react/jsx-runtime");exports.default=function({value:t}){return e.jsx("span",{children:t})};
|
|
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 */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
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/shared"),i=require("react"),o=require("../../../vef-text/index.cjs"),u=require("../../hooks/use-computed-values.cjs"),l="Name";exports.default=function({value:a,record:s,rowIndex:c,columnProps:n}){if("DataDictionary"!==n.type)throw new t.VefError(-1,"Column type must be DataDictionary");const{name:d,defaultValue:m,ellipsis:f,bold:p,italic:h,color:w,width:x}=n,[y,V,b]=u.useComputedValues([{key:"bold",rawValue:p,defaultValue:!1},{key:"italic",rawValue:h,defaultValue:!1},{key:"color",rawValue:w}],a,s,c),v=i.useMemo((()=>t.isString(b)?b:b?!t.isNullish(a)&&Object.hasOwn(b,a)?b[a]:b["*"]:void 0),[b,a]),j=i.useMemo((()=>t.isNullish(a)||t.isNullish(s[`${d}${l}`])?m:s[`${d}${l}`]),[a,s,d,m]),q=i.useMemo((()=>{if(x)return r.css({maxWidth:`${x}px !important`})}),[x]);return e.jsx(o.default,{bold:y,color:v,css:q,ellipsis:f,italic:V,children:j})};
|
|
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 */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("@emotion/react/jsx-runtime"),r=require("@emotion/react"),i=require("@vef-framework/shared"),l=require("react"),s=require("../../../vef-tag/index.cjs"),t=require("../../../vef-text/index.cjs"),o=require("../../hooks/use-computed-values.cjs"),u="Name",a=r.css({color:"inherit",fontSize:"inherit"});exports.default=function({value:c,record:n,rowIndex:d,columnProps:m}){if("Enum"!==m.type)throw new i.VefError(-1,"Column type must be Enum");const{name:f,defaultValue:h,showAsTag:p=!0,bold:x,italic:w,ellipsis:j,color:b,width:v}=m,[V,q,y]=o.useComputedValues([{key:"bold",rawValue:x,defaultValue:!1},{key:"italic",rawValue:w,defaultValue:!1},{key:"color",rawValue:b}],c,n,d),g=l.useMemo((()=>i.isString(y)?y:y?!i.isNullish(c)&&Object.hasOwn(y,c)?y[c]:y["*"]:void 0),[y,c]),k=l.useMemo((()=>i.isNullish(c)||i.isNullish(n[`${f}${u}`])?h:n[`${f}${u}`]),[c,n,f,h]),M=l.useMemo((()=>{if(v)return r.css({maxWidth:`${v}px !important`})}),[v]);return p?e.jsx(s.default,{color:g,children:e.jsx(t.default,{bold:V,css:a,italic:q,children:k})}):e.jsx(t.default,{bold:V,color:g,css:M,ellipsis:j,italic:q,children:k})};
|
|
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 */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("@emotion/react/jsx-runtime");exports.default=function({value:t}){return e.jsx("span",{children:t})};
|
|
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 */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("@emotion/react/jsx-runtime");exports.default=function({value:t}){return e.jsx("span",{children:t})};
|
|
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 */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
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/shared"),u=require("react"),l=require("../../../vef-text/index.cjs"),o=require("../../hooks/use-computed-values.cjs"),i=/Id$/;exports.default=function({value:s,record:a,rowIndex:c,columnProps:d}){if("Id"!==d.type)throw new t.VefError(-1,"Column type must be Id");const{name:n,defaultValue:m,ellipsis:f,bold:p,italic:x,color:h,width:w}=d,[V,b,q]=o.useComputedValues([{key:"bold",rawValue:p,defaultValue:!1},{key:"italic",rawValue:x,defaultValue:!1},{key:"color",rawValue:h}],s,a,c),v=u.useMemo((()=>{const e=n.replace(i,"Name");return t.isNullish(s)||t.isNullish(a[e])?m:a[e]}),[s,a,n,m]),y=u.useMemo((()=>{if(w)return r.css({maxWidth:`${w}px !important`})}),[w]);return e.jsx(l.default,{bold:V,color:q,css:y,ellipsis:f,italic:b,children:v})};
|
|
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 */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
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");exports.default=function({value:t}){return e.jsx("img",{alt:r.extractBaseName(t),src:t})};
|
|
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 */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./bool.cjs"),r=require("./code.cjs"),u=require("./data-dictionary.cjs"),t=require("./enum.cjs"),i=require("./file.cjs"),a=require("./icon.cjs"),c=require("./id.cjs"),d=require("./image.cjs"),o=require("./markdown.cjs"),s=require("./number.cjs"),l=require("./render.cjs"),n=require("./rich-text.cjs"),f=require("./text.cjs");require("./props.cjs");const j={Text:f.default,Number:s.default,Enum:t.default,Boolean:e.default,DataDictionary:u.default,Id:c.default,Render:l.default,Markdown:o.default,Icon:a.default,File:i.default,RichText:n.default,Image:d.default,Code:r.default};exports.columnComponents=j;
|
|
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 */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("@emotion/react/jsx-runtime");exports.default=function({value:t}){return e.jsx("span",{children:t})};
|
|
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 */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("@emotion/react/jsx-runtime"),r=require("@emotion/react"),u=require("@vef-framework/shared"),t=require("react"),l=require("../../../vef-text/index.cjs"),o=require("../../hooks/use-computed-values.cjs"),a=require("../../hooks/use-display-value.cjs");exports.default=function({value:i,record:s,rowIndex:c,columnProps:d}){if("Number"!==d.type)throw new u.VefError(-1,"Column type must be Number");const{defaultValue:f,formatter:n,prefix:m,suffix:p,bold:x,italic:V,color:b,width:h}=d,w=a.useDisplayValue(i,s,c,{defaultValue:f,formatter:n,prefix:m,suffix:p}),[y,q,v]=o.useComputedValues([{key:"bold",rawValue:x,defaultValue:!1},{key:"italic",rawValue:V,defaultValue:!1},{key:"color",rawValue:b}],i,s,c),j=t.useMemo((()=>{if(h)return r.css({maxWidth:`${h}px !important`})}),[h]);return u.isNullish(w)?null:e.jsx(l.default,{bold:y,color:v,css:j,italic:q,children:w})};
|
|
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 */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
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/shared"),o=require("react");exports.default=function({value:n,record:i,rowIndex:u,columnProps:s}){if("Render"!==s.type)throw new t.VefError(-1,"Column type must be Render");const{render:d,width:c}=s,a=d?.(n,i,u),m=o.useMemo((()=>{if(c)return r.css({maxWidth:`${c}px !important`})}),[c]);return e.jsx("div",{css:m,children:a})};
|
|
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 */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("@emotion/react/jsx-runtime");exports.default=function({value:t}){return e.jsx("span",{children:t})};
|
|
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 */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("@emotion/react/jsx-runtime"),r=require("@emotion/react"),l=require("@vef-framework/shared"),u=require("react"),t=require("../../../vef-text/index.cjs"),i=require("../../hooks/use-computed-values.cjs"),o=require("../../hooks/use-display-value.cjs");exports.default=function({value:s,record:a,rowIndex:c,columnProps:d}){if("Text"!==d.type)throw new l.VefError(-1,"Column type must be Text");const{defaultValue:f,formatter:p,prefix:n,suffix:m,ellipsis:x,bold:y,italic:V,color:b,copyable:h,width:v}=d,[w,q,j]=i.useComputedValues([{key:"bold",rawValue:y,defaultValue:!1},{key:"italic",rawValue:V,defaultValue:!1},{key:"color",rawValue:b}],s,a,c),k=o.useDisplayValue(s,a,c,{defaultValue:f,formatter:p,prefix:n,suffix:m}),T=u.useMemo((()=>{if(v)return r.css({maxWidth:`${v}px !important`})}),[v]);return l.isNullish(k)?null:e.jsx(t.default,{bold:w,color:j,copyable:h,css:T,ellipsis:x,ellipsisTip:x?k:void 0,italic:q,children:k})};
|
|
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 */
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("@emotion/react/jsx-runtime"),l=require("@ant-design/icons"),a=require("@emotion/react"),n=require("@vef-framework/shared"),t=require("antd"),i=require("react"),s=require("../../vef-bool/index.cjs"),r=require("../../vef-button/index.cjs"),o=require("../../vef-divider/index.cjs"),d=require("../../vef-sortable-list/index.cjs"),c=require("../../vef-text/index.cjs"),u=require("../hooks/use-table-context.cjs"),m=a.css`
|
|
3
|
+
width: 260px;
|
|
4
|
+
padding: ${n.themeVariables.paddingSm};
|
|
5
|
+
|
|
6
|
+
.vef-divider-horizontal {
|
|
7
|
+
margin: ${n.themeVariables.marginSm} 0;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.vef-table-columns-settings-panel-header {
|
|
11
|
+
display: flex;
|
|
12
|
+
justify-content: space-between;
|
|
13
|
+
align-items: center;
|
|
14
|
+
padding-left: ${n.themeVariables.paddingSm};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.vef-table-columns-settings-panel-body {
|
|
18
|
+
width: 100%;
|
|
19
|
+
|
|
20
|
+
.vef-table-columns-settings-panel-columns {
|
|
21
|
+
width: 100%;
|
|
22
|
+
display: flex;
|
|
23
|
+
flex-direction: column;
|
|
24
|
+
|
|
25
|
+
.vef-table-columns-settings-panel-column {
|
|
26
|
+
display: grid;
|
|
27
|
+
grid-template-columns: max-content 1fr max-content;
|
|
28
|
+
align-items: center;
|
|
29
|
+
padding: ${n.themeVariables.paddingXs};
|
|
30
|
+
border-radius: ${n.themeVariables.borderRadius};
|
|
31
|
+
|
|
32
|
+
&:hover {
|
|
33
|
+
background-color: ${n.themeVariables.colorPrimaryBg};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.vef-table-columns-settings-panel-column-drag-icon {
|
|
37
|
+
cursor: move;
|
|
38
|
+
color: ${n.themeVariables.colorTextSecondary};
|
|
39
|
+
padding-right: ${n.themeVariables.padding};
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.vef-table-columns-settings-panel-column-fixed-icon {
|
|
43
|
+
display: flex;
|
|
44
|
+
align-items: center;
|
|
45
|
+
|
|
46
|
+
.vef-divider {
|
|
47
|
+
--vef-divider-vertical-margin-inline: 0;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
`,f=i.memo((()=>{const{defaultColumnConfigMap:a,columnConfigMap:n,setColumnConfigMap:f}=u.useTableContextSelector((e=>{const{defaultColumnConfigMap:l,columnConfigMap:a,setColumnConfigMap:n}=e;return{defaultColumnConfigMap:l,columnConfigMap:a,setColumnConfigMap:n}})),g=i.useMemo((()=>[...n.entries()].sort((([e,l],[a,n])=>l.order-n.order)).map((([e,l])=>{const{title:a,configurable:n,...t}=l;return{value:e,label:a,disabled:!n,...t}}))),[n]),b=i.useCallback((e=>{const l=e.reduce(((e,l,a)=>{const{value:n,label:t,disabled:i,order:s,...r}=l,o={title:t,configurable:!i,order:a+1,...r};return e.set(n,o),e}),new Map);f(l)}),[f]),p=i.useMemo((()=>g.filter((e=>e.show)).map((e=>e.value))),[g]),h=i.useMemo((()=>{const e=p.length;return e===g.length?"checked":e>0?"indeterminate":"unchecked"}),[p.length,g.length]),v=i.useCallback((e=>{const l=new Set(e),a=g.map((e=>({...e,show:l.has(e.value)})));b(a)}),[g,b]),x=i.useCallback(((e,l)=>{const a=g.map((a=>({...a,fixed:a.value===e?l:a.fixed})));b(a)}),[g,b]),C=i.useCallback((e=>{b(e)}),[b]),j=i.useCallback((()=>{f(new Map(a))}),[a,f]);return e.jsxs("div",{css:m,children:[e.jsxs("div",{className:"vef-table-columns-settings-panel-header",children:[e.jsx(s.default,{indeterminate:"indeterminate"===h,label:e.jsx(c.default,{bold:!0,children:"列显示"}),value:"checked"===h,variant:"checkbox",onChange:e=>{v(e?g.map((e=>e.value)):[])}}),e.jsx(r.default,{color:"primary",variant:"text",onClick:j,children:"重置"})]}),e.jsx(o.default,{}),e.jsx(t.Checkbox.Group,{className:"vef-table-columns-settings-panel-body",value:p,onChange:v,children:e.jsx(d.default,{useHandle:!0,className:"vef-table-columns-settings-panel-columns",handleClassName:"vef-table-columns-settings-panel-column-drag-icon",itemClassName:"vef-table-columns-settings-panel-column",itemKey:"value",items:g,useOverlay:!1,renderItem:({value:a,label:n,disabled:i,fixed:s,show:d})=>e.jsxs(e.Fragment,{children:[e.jsx(t.Checkbox,{disabled:i,value:a,children:n}),e.jsxs("span",{className:"vef-table-columns-settings-panel-column-fixed-icon",children:[e.jsx(r.default,{color:"left"===s?"primary":"default",disabled:i||!d,icon:"left"===s?e.jsx(l.RollbackOutlined,{}):e.jsx(l.VerticalRightOutlined,{}),size:"small",tip:"left"===s?"取消左侧固定":"固定到左侧",variant:"link",onClick:()=>{"left"===s?x(a):x(a,"left")}}),e.jsx(o.default,{orientation:"vertical"}),e.jsx(r.default,{color:"right"===s?"primary":"default",disabled:i||!d,icon:"right"===s?e.jsx(l.RollbackOutlined,{}):e.jsx(l.VerticalLeftOutlined,{}),size:"small",tip:"right"===s?"取消右侧固定":"固定到右侧",variant:"link",onClick:()=>{"right"===s?x(a):x(a,"right")}})]})]}),onChange:C})})]})}),(()=>!1));f.displayName="VefColumnsSettings",exports.default=f;
|
|
54
|
+
/*! 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 */
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("@emotion/react/jsx-runtime"),n=require("@ant-design/icons"),t=require("@emotion/react"),i=require("@vef-framework/hooks"),o=require("@vef-framework/shared"),r=require("react"),l=require("../../vef-button/index.cjs"),s=require("../../vef-dropdown/index.cjs"),a=require("../../vef-flex/index.cjs"),c=require("../../vef-popconfirm/index.cjs"),d=require("../hooks/use-table-context.cjs"),u=t.css`
|
|
3
|
+
.vef-btn-sm {
|
|
4
|
+
--vef-control-height-sm: 24px;
|
|
5
|
+
--vef-button-padding-inline-sm: 4px;
|
|
6
|
+
|
|
7
|
+
&.vef-btn-icon-only {
|
|
8
|
+
padding-inline: 2px;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
`;exports.default=function({record:t,rowIndex:f,operationButtons:m,maxVisibleOperationButtons:x}){const{externalContext:p,refetch:b,isFetching:h,selectedKeys:C,selectedRecords:k}=d.useTableContextSelector((e=>{const{externalContext:n,refetch:t,isFetching:i,selectedKeys:o,selectedRecords:r}=e;return{externalContext:n,refetch:t,isFetching:i,selectedKeys:o,selectedRecords:r}})),y=r.useMemo((()=>({record:t,rowIndex:f,refetch:b,isFetching:h,selectedKeys:C,selectedRecords:k,...p??{}})),[p,h,t,b,f,C,k]),g=i.useComputedActionButtons(m,y),[v,j]=r.useState(!1),q=r.useMemo((()=>g.length>x?g.slice(x).map((e=>{const{key:n,label:t,icon:i,disabled:o}=e;return{type:"item",key:n,label:t,icon:i,disabled:o}})):[]),[g,x]),[M,w]=r.useState(!1),[F,S]=r.useState(null),O=r.useCallback((()=>{w(!1),S(null)}),[]),T=r.useMemo((()=>{if(0!==q.length)return async e=>{const{requireConfirmation:n,confirmationMode:t,confirmationTitle:i,confirmationContent:r,onClick:l}=g.find((n=>n.key===e)),s=async()=>{try{await o.invokeMaybeAsyncFn(l,{beforeInvoke:()=>{j(!0)},onFinally:()=>{j(!1)}},y)}finally{O()}};n?"simple"===t?(S({title:i,content:r,okHandler:s}),w(!0)):o.showConfirmation(i,r,s,{onCancel:()=>{S(null)}}):await s()}}),[g,y,O,q.length]);return e.jsxs(a.default,{align:"center",css:u,gap:"small",justify:"center",children:[g.slice(0,x).map((n=>{const{key:t,label:i,icon:o,color:r,disabled:s,requireConfirmation:a,confirmationMode:c,confirmationTitle:d,confirmationContent:u,onClick:f}=n;return a?e.jsx(l.default,{requireConfirmation:!0,color:r,confirmationContent:u,confirmationMode:c,confirmationTitle:d,disabled:s||v,icon:o,size:"small",variant:"filled",onConfirmationOk:()=>f(y),children:i},t):e.jsx(l.default,{color:r,disabled:s||v,icon:o,size:"small",variant:"filled",onClick:e=>(e.stopPropagation(),f(y)),children:i},t)})),g.length>x&&e.jsx(s.default,{disabled:v,items:q,onClick:T,children:e.jsx(c.default,{content:F?.content,disabled:v,opened:M,title:F?.title,onCancel:O,onOk:F?.okHandler,children:e.jsx(l.default,{color:"primary",disabled:v,icon:e.jsx(n.MoreOutlined,{}),loading:v,size:"small",variant:"filled",onClick:e=>e.stopPropagation()})})})]})};
|
|
12
|
+
/*! 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 */
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
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"),t=require("lucide-react"),s=require("react"),i=require("../../vef-icon/index.cjs"),c=require("../hooks/use-table-context.cjs"),u=r.css`
|
|
3
|
+
color: ${o.themeVariables.colorPrimary};
|
|
4
|
+
`,a=s.memo((()=>{const r=c.useTableContextSelector((e=>e.columnConfigMapHasChanged));return e.jsx(i.default,{css:r?u:void 0,children:e.jsx(t.SettingsIcon,{})})}),(()=>!1));exports.default=a;
|
|
5
|
+
/*! 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 */
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("@emotion/react/jsx-runtime"),o=require("@emotion/react"),t=require("@vef-framework/shared"),i=require("react"),n=require("../../vef-button/index.cjs"),r=require("../../vef-pagination/index.cjs"),a=require("../../vef-text/index.cjs"),l=require("../hooks/use-table-context.cjs"),s=o.css`
|
|
3
|
+
width: 100%;
|
|
4
|
+
display: flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
gap: var(--vef-table-footer-gap);
|
|
7
|
+
|
|
8
|
+
> div {
|
|
9
|
+
flex: auto;
|
|
10
|
+
display: flex;
|
|
11
|
+
align-items: center;
|
|
12
|
+
gap: ${t.themeVariables.padding};
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
> .vef-pagination {
|
|
16
|
+
flex: none;
|
|
17
|
+
}
|
|
18
|
+
`;const c=i.memo((function({selectionSummary:o,size:c,paginationProps:d,batchActionButtons:u,batchActionButtonContext:f}){const m=l.useTableContextSelector((e=>e.selectedRecords)),x=i.useMemo((()=>{if(!1!==o)return o?o(m):m.length>0?e.jsxs(a.default,{color:"secondary",children:["已选择"," ",e.jsx(a.default,{bold:!0,color:"blue",children:m.length})," ","项"]}):void 0}),[o,m]),b=i.useMemo((()=>u.map((o=>{const{key:i,label:r,icon:a,disabled:l,color:s,requireConfirmation:c,confirmationMode:d,confirmationTitle:u,confirmationContent:m,onClick:x}=o,b=async()=>{await t.invokeMaybeAsyncFn(x,{},f)};return c?e.jsx(n.default,{requireConfirmation:!0,color:s,confirmationContent:m,confirmationMode:d,confirmationTitle:u,disabled:l,icon:a,onConfirmationOk:b,children:r},i):e.jsx(n.default,{color:s,disabled:l,icon:a,onClick:b,children:r},i)}))),[u,f]),p=i.useMemo((()=>({"--vef-table-footer-gap":`var(--vef-table-cell-padding-block${"small"===c?"-sm":"medium"===c?"-md":""})`})),[c]);return e.jsxs("div",{css:s,style:p,children:[e.jsxs("div",{children:[x,b]}),e.jsx(r.default,{...d})]})}));c.displayName="VefTableFooter",exports.default=c;
|
|
19
|
+
/*! 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 */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@vef-framework/shared");exports.computeValue=function(r,n,o,t,i){if(e.isFunction(r))return r(n,o,t);if(e.isExpression(r)){return e.compileDynamicFn(r,"value","record","rowIndex",`return ${r.expression}`)(n,o,t)}return r??i};
|
|
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 */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@vef-framework/hooks"),t=require("react");exports.useComputedBatchActionButtons=function(o,c){const{externalContext:s,isFetching:n,refetch:r,selectedKeys:u,selectedRecords:i}=c,d=t.useMemo((()=>({isFetching:n,refetch:r,selectedKeys:u,selectedRecords:i,...s??{}})),[s,n,r,u,i]);return{computedBatchActionButtons:e.useComputedActionButtons(o,d),batchActionButtonContext:d}};
|
|
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 */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react");exports.useComputedColumns=function(t,r){return e.useMemo((()=>t.map((e=>{const{name:t}=e,o=r.get(t);return{...e,show:o.show,fixed:o.fixed}})).sort(((e,t)=>r.get(e.name).order-r.get(t.name).order))),[t,r])};
|
|
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 */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@vef-framework/hooks"),r=require("../helper.cjs");exports.useComputedValues=function(u,o,t,s,a=!1){const c=e.useDeepCompareMemo((()=>u.reduce(((e,u)=>{const{key:a,rawValue:c,defaultValue:l}=u,n=r.computeValue(c,o,t,s,l);return e[a]=n,e}),{})),[t,s,o,u]);return a?u.reduce(((e,{key:r})=>(e[r]=c[r],e)),{}):u.map((({key:e})=>c[e]))};
|
|
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 */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@vef-framework/hooks"),a=require("@vef-framework/shared");exports.useData=function({apiParams:t,...r},i,s){const{data:o,isLoading:n,isFetching:f,isSuccess:d,refetch:h}=e.useDataQuery({apiParams:i?{...s,...t}:t,keepPreviousData:!0,staleTime:0,...r});if(d)if(i){if(!Object.hasOwn(o,"total")||!Object.hasOwn(o,"items"))throw new Error("The paginated data of VefTable is invalid. The data must contain the `total` and `items` properties. Please check the data.");if(!a.isNumber(o.total))throw new Error("The `total` property of the paginated data of VefTable is invalid. It must be a number.");if(!a.isArray(o.items))throw new Error("The `items` property of the paginated data of VefTable is invalid. It must be an array.")}else if(!a.isArray(o))throw new Error("The data of VefTable is invalid. It must be an array.");return{data:i?o?.items:o,isFetching:f,isLoading:n,total:i?o?.total:void 0,refetch:h}};
|
|
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 */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react");exports.useDefaultColumnConfigs=function(t){return e.useMemo((()=>{const e=new Map;let o=1;for(const r of t){const{name:t,title:n,fixed:s,configurable:u}=r;e.set(t,{title:n??t,show:!0,fixed:s,order:o++,configurable:u??!0})}return e}),[t])};
|
|
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 */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@vef-framework/shared"),r=require("react");exports.useDisplayValue=function(i,s,t,u){const{defaultValue:o,formatter:n,prefix:l,suffix:a}=u,f=e.isNullish(i)?o:i;return r.useMemo((()=>{if(e.isFunction(n))return n(i,s,t);if(e.isExpression(n)){return e.compileDynamicFn(n,"value","record","rowIndex",`return ${n.expression}`)(i,s,t)}return e.isNullish(f)?void 0:`${l??""}${f}${a??""}`}),[n,f,l,a,i,s,t])};
|
|
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 */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@emotion/react/jsx-runtime"),t=require("@vef-framework/hooks"),r=require("@vef-framework/shared"),o=require("react"),n=require("../components/columns-settings.cjs"),i=require("../components/operation-buttons.cjs"),s=require("../components/settings-icon.cjs"),u=require("./use-operation-column-width.cjs");exports.useHelperColumns=function({showRowNumber:l,operationButtons:a,maxVisibleOperationButtons:d,size:m}){const c=o.useMemo((()=>{if(l)return{key:"_rowNumber",title:"#",align:"center",fixed:"left",width:48,shouldCellUpdate:()=>!1,render:(e,t,r)=>r+1}}),[l]),p=t.useAuthorizedItems(a??[]),f=u.useOperationColumnWidth(p,d??3,m);return{rowNumberColumn:c,operationColumn:o.useMemo((()=>{if(p&&p.length>0)return{key:"_operationButtons",title:"操作",align:"center",fixed:"right",filterIcon:()=>e.jsx(s.default,{}),filterDropdown:()=>e.jsx(n.default,{}),width:f,shouldCellUpdate:(e,t)=>!r.isEqual(e,t),render:(t,r,o)=>e.jsx(i.default,{maxVisibleOperationButtons:d??3,operationButtons:p,record:r,rowIndex:o})}}),[p,d,f])}};
|
|
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 */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@vef-framework/hooks"),r=require("@vef-framework/shared"),t=require("react");function n(e,r,t,n){const o=r+4;return e.map((e=>{const r=e.label.length*o+8;return e.icon?r+o+8:r})).reduce(((e,r)=>e+r),0)+(n?o+8:0)+2*t}exports.useOperationColumnWidth=function(o,u,s="medium"){const{Button:a}=e.useThemeTokens(),i="large"===s?16:8,c=a?.contentFontSizeSM??16;return t.useMemo((()=>{if(0===o.length)return 0;if(o.length>u){const e=new Set;for(let t=0;t<u;t++){const t=r.max(o,(r=>e.has(r)?0:r.label.length));t&&e.add(t)}return n(Array.from(e),c,i,!0)}return n(o,c,i,!1)}),[i,c,u,o])};
|
|
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 */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),a=require("../../vef-pagination/props.cjs");exports.usePaginationProps=function(i,s){const[t,r]=e.useState({page:1,size:a.defaultPageSizeOptions[2]}),n=e.useMemo((()=>{if(i)return(e,a)=>{r({page:e,size:a})}}),[i,r]);return{paginationProps:e.useMemo((()=>{if(i)return{pageNumber:t.page,pageSize:t.size,size:"small"===s?"small":"medium",onChange:n}}),[n,i,t.page,t.size,s]),paginationParams:t}};
|
|
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 */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react");exports.useRowProps=function({enableRowClick:o=!1,enableRowClickForSelection:t=!1,onRowClick:r,disabledSelection:n,handleRowClickSelection:l}){return e.useMemo((()=>{if(o)return(e,o)=>{const i=n?.(e)??!1;return{style:{cursor:i?"not-allowed":"pointer"},onClick:i?void 0:()=>{t||r?.(e,o??-1),l?.(e)}}}}),[n,o,t,l,r])};
|
|
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 */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@vef-framework/shared"),o=require("react"),t=require("./use-selected-rows.cjs");exports.useRowSelectionConfig=function({rowKey:c,selectedKeys:n,defaultSelectedKeys:s,selectable:l,enableRowClick:i,enableRowClickForSelection:r,multipleSelection:u=!0,showSelectAllCheckbox:d=!0,disabledSelection:a,onRowSelect:S,onRowDeselect:w,onRowSelectionChange:f}){const{selectedKeys:h,selectedRecords:R,onChange:y}=t.useSelectedRows({selectedKeys:n,defaultSelectedKeys:s,onRowSelectionChange:f}),C=o.useMemo((()=>{if(i&&r)return o=>{const t=e.isFunction(c)?c(o):o[c];if(h.includes(t)){if(!u)return;const n=h.filter((e=>e!==t)),s=R.current.filter((o=>(e.isFunction(c)?c(o):o[c])!==t));y(n,s),w?.(t,o)}else{const e=[t];u&&e.push(...h);const c=[o];u&&c.push(...R.current),y(e,c),S?.(t,o)}}}),[i,r,u,y,w,S,c,h,R]);return{rowSelectionConfig:o.useMemo((()=>{if(!l)return;return{fixed:!0,hideSelectAll:!d,preserveSelectedRowKeys:!1,selectedRowKeys:h,type:u?"checkbox":"radio",getCheckboxProps:e.isFunction(a)?e=>({disabled:a(e)}):void 0,onChange:(e,o)=>{y(e,o)},onSelect:e.isFunction(S)||e.isFunction(w)?(o,t)=>{const n=e.isFunction(c)?c(o):o[c];t?S?.(n,o):w?.(n,o)}:void 0}}),[l,d,h,u,a,S,w,y,c]),handleRowClickSelection:C,selectedKeys:h,selectedRecords:R}};
|
|
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 */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react");exports.useSelectedRows=function({selectedKeys:t,defaultSelectedKeys:s,onRowSelectionChange:c}){const[o,r]=e.useState(s??[]),n=t??o,l=e.useRef([]),u=e.useCallback(((e,s)=>{t||r(e),l.current=s,c?.(e,s)}),[c,t]);return{selectedKeys:n,selectedRecords:l,onChange:u}};
|
|
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 */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@emotion/react/jsx-runtime"),r=require("@vef-framework/shared"),t=require("react"),n=require("../components/columns/index.cjs");exports.useTableColumns=function(o,s,u){return t.useMemo((()=>{const t=[],i=o.map((t=>{const{title:o,show:s,sort:u,fixed:i,dependentColumnNames:a,...m}=t,d=r.isNumber(u)?{multiple:u}:!!u||void 0,l=n.columnComponents[t.type];return{key:m.name,dataIndex:m.name,title:o||m.name,fixed:i,hidden:!(s??1),sorter:d,align:m.align,width:m.width,shouldCellUpdate:(e,t)=>!r.isEqual(a.map((r=>e[r])),a.map((e=>t[e]))),render:(r,t,n)=>e.jsx(l,{columnProps:m,record:t,rowIndex:n,value:r})}}));return s&&t.push(s),t.push(...i),u&&t.push(u),t}),[o,s,u])};
|
|
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 */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@vef-framework/shared"),{useContextSelector:t,useContext:o,ContextProvider:r}=e.createSelectableContext({isFetching:!1,refetch:()=>Promise.resolve({}),selectedKeys:[],selectedRecords:[],defaultColumnConfigMap:new Map,columnConfigMap:new Map,setColumnConfigMap:e.noop,columnConfigMapHasChanged:!1}),n=t,s=o;exports.TableContextProvider=r,exports.useTableContext=s,exports.useTableContextSelector=n;
|
|
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 */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react");exports.useTableInstance=function(t,r,a){const n=e.useRef(null);return e.useImperativeHandle(t,(()=>({getData:()=>r,refetch:async()=>{await a()}}))),n};
|
|
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 */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@emotion/react/jsx-runtime"),r=require("@vef-framework/shared"),m=require("antd"),a=require("react"),{Summary:n}=m.Table,{Row:t,Cell:u}=n;exports.useTableSummary=function(m){const o=a.useMemo((()=>m.filter((e=>r.isFunction(e.summary))).map((e=>{const{name:r,summary:m,summaryColSpan:a}=e;return{name:r,summary:m,summaryColSpan:a??1}}))),[m]);return a.useMemo((()=>{if(0!==o.length)return r=>e.jsx(n,{fixed:"bottom",children:e.jsx(t,{children:o.map((({name:m,summary:a,summaryColSpan:n},t)=>e.jsx(u,{colSpan:n,index:t,children:a(r)},m)))})})}),[o])};
|
|
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 */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.20, build time: 2024-12-19T13:34:26.969Z, made by Venus. */
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react");exports.useTableWidth=function(t,r){return e.useMemo((()=>{const e=t.filter((e=>!0!==e.hidden)).map((e=>e.width??e.minWidth??160)).reduce(((e,t)=>e+t),0);return r?e+40:e}),[t,r])};
|
|
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 */
|