@vef-framework/components 1.0.16 → 1.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/index.js +3 -0
- package/es/internal/index.js +3 -0
- package/es/internal/utils.js +3 -0
- package/es/vef-access-denied/access-denied-icon.js +3 -0
- package/es/vef-access-denied/index.js +29 -0
- package/es/vef-action-buttons/index.js +3 -0
- package/es/vef-app/helper.js +3 -0
- package/es/vef-app/index.js +3 -0
- package/es/vef-auto-sizer/index.js +3 -0
- package/es/vef-avatar/index.js +3 -0
- package/es/vef-avatar-group/index.js +3 -0
- package/es/vef-badge/index.js +3 -0
- package/es/vef-bool/hooks/use-bool-instance.js +3 -0
- package/es/vef-bool/index.js +3 -0
- package/es/vef-button/components/base-button.js +3 -0
- package/es/vef-button/index.js +3 -0
- package/es/vef-card/index.js +3 -0
- package/es/vef-card-meta/index.js +3 -0
- package/es/vef-checkbox/hooks/use-checkbox-instance.js +3 -0
- package/es/vef-checkbox/hooks/use-data-options.js +3 -0
- package/es/vef-checkbox/index.js +5 -0
- package/es/vef-col/index.js +3 -0
- package/es/vef-color-picker/index.js +3 -0
- package/es/vef-compact/index.js +3 -0
- package/es/vef-config-provider/hooks/use-ui-config.js +3 -0
- package/es/vef-config-provider/index.js +103 -0
- package/es/vef-config-provider/reset-style.js +257 -0
- package/es/vef-config-provider/store.js +3 -0
- package/es/vef-container/index.js +3 -0
- package/es/vef-crud-page/components/crud-actions.js +3 -0
- package/es/vef-crud-page/components/crud-filter.js +3 -0
- package/es/vef-crud-page/components/crud-footer.js +9 -0
- package/es/vef-crud-page/components/crud-form-modal.js +3 -0
- package/es/vef-crud-page/components/crud-header.js +3 -0
- package/es/vef-crud-page/components/crud-table.js +3 -0
- package/es/vef-crud-page/hooks/use-action-buttons.js +3 -0
- package/es/vef-crud-page/hooks/use-crud-context.js +3 -0
- package/es/vef-crud-page/hooks/use-crud-schema.js +3 -0
- package/es/vef-crud-page/hooks/use-operation-buttons.js +3 -0
- package/es/vef-crud-page/index.js +3 -0
- package/es/vef-crud-page/store.js +3 -0
- package/es/vef-divider/index.js +3 -0
- package/es/vef-drawer/components/action-button-wrapper.js +3 -0
- package/es/vef-drawer/components/button-props.js +2 -0
- package/es/vef-drawer/components/cancel-action-button.js +3 -0
- package/es/vef-drawer/components/ok-action-button.js +3 -0
- package/es/vef-drawer/context.js +3 -0
- package/es/vef-drawer/index.js +10 -0
- package/es/vef-dropdown/index.js +3 -0
- package/es/vef-dynamic-icon/index.js +3 -0
- package/es/vef-dynamic-icon/props.js +3 -0
- package/es/vef-empty/index.js +3 -0
- package/es/vef-empty-placeholder/index.js +7 -0
- package/es/vef-error/error-icon.js +3 -0
- package/es/vef-error/index.js +30 -0
- package/es/vef-filter/components/action-buttons.js +21 -0
- package/es/vef-filter/components/advanced-filter.js +11 -0
- package/es/vef-filter/components/basic-filter.js +21 -0
- package/es/vef-filter/components/fields/index.js +3 -0
- package/es/vef-filter/components/fields/input-number.js +3 -0
- package/es/vef-filter/components/fields/input.js +3 -0
- package/es/vef-filter/components/filter-field.js +3 -0
- package/es/vef-filter/components/filter-item.js +3 -0
- package/es/vef-filter/event.js +3 -0
- package/es/vef-filter/helper.js +3 -0
- package/es/vef-filter/hooks/use-action-handlers.js +3 -0
- package/es/vef-filter/hooks/use-computed-values.js +3 -0
- package/es/vef-filter/hooks/use-filter-context.js +3 -0
- package/es/vef-filter/hooks/use-filter-initialization.js +3 -0
- package/es/vef-filter/hooks/use-filter-instance.js +3 -0
- package/es/vef-filter/hooks/use-filter-items.js +3 -0
- package/es/vef-filter/hooks/use-filter-values-change.js +3 -0
- package/es/vef-filter/hooks/use-label-config.js +3 -0
- package/es/vef-filter/index.js +10 -0
- package/es/vef-filter/store.js +3 -0
- package/es/vef-flex/index.js +3 -0
- package/es/vef-float-button/index.js +3 -0
- package/es/vef-float-button-group/index.js +3 -0
- package/es/vef-form/components/fields/index.js +3 -0
- package/es/vef-form/components/fields/input-number.js +3 -0
- package/es/vef-form/components/fields/input.js +3 -0
- package/es/vef-form/components/form-actions.js +5 -0
- package/es/vef-form/components/form-content.js +6 -0
- package/es/vef-form/components/form-field.js +3 -0
- package/es/vef-form/components/form-group.js +13 -0
- package/es/vef-form/components/form-hidden-item.js +3 -0
- package/es/vef-form/components/form-item.js +3 -0
- package/es/vef-form/components/form-row.js +3 -0
- package/es/vef-form/event.js +3 -0
- package/es/vef-form/helper.js +3 -0
- package/es/vef-form/hooks/use-action-handlers.js +3 -0
- package/es/vef-form/hooks/use-columns-layout.js +3 -0
- package/es/vef-form/hooks/use-computed-values.js +3 -0
- package/es/vef-form/hooks/use-form-context.js +3 -0
- package/es/vef-form/hooks/use-form-initialization.js +3 -0
- package/es/vef-form/hooks/use-form-instance.js +3 -0
- package/es/vef-form/hooks/use-form-values-change.js +3 -0
- package/es/vef-form/hooks/use-label-width.js +3 -0
- package/es/vef-form/index.js +5 -0
- package/es/vef-form/store.js +3 -0
- package/es/vef-form/validation-rules.js +3 -0
- package/es/vef-form-drawer/index.js +3 -0
- package/es/vef-form-modal/index.js +3 -0
- package/es/vef-generic-select/index.js +3 -0
- package/es/vef-grid/index.js +14 -0
- package/es/vef-grid/props.js +3 -0
- package/es/vef-grid-item/index.js +3 -0
- package/es/vef-icon/index.js +3 -0
- package/es/vef-icon-select/index.js +42 -0
- package/es/vef-input/hooks/use-input-instance.js +3 -0
- package/es/vef-input/index.js +3 -0
- package/es/vef-input-number/hooks/use-input-number-instance.js +3 -0
- package/es/vef-input-number/index.js +3 -0
- package/es/vef-layout/components/content.js +3 -0
- package/es/vef-layout/components/font-size.js +6 -0
- package/es/vef-layout/components/fullscreen.js +6 -0
- package/es/vef-layout/components/header-action-icons.js +17 -0
- package/es/vef-layout/components/header-content.js +8 -0
- package/es/vef-layout/components/header.js +14 -0
- package/es/vef-layout/components/sider.js +51 -0
- package/es/vef-layout/components/title.js +38 -0
- package/es/vef-layout/components/user-avatar.js +20 -0
- package/es/vef-layout/index.js +7 -0
- package/es/vef-layout/logo.svg.js +3 -0
- package/es/vef-layout/store.js +3 -0
- package/es/vef-loading-placeholder/index.js +7 -0
- package/es/vef-login/index.js +56 -0
- package/es/vef-login/login-icon.js +3 -0
- package/es/vef-menu/index.js +3 -0
- package/es/vef-modal/components/action-button-wrapper.js +3 -0
- package/es/vef-modal/components/button-props.js +2 -0
- package/es/vef-modal/components/cancel-action-button.js +3 -0
- package/es/vef-modal/components/ok-action-button.js +3 -0
- package/es/vef-modal/context.js +3 -0
- package/es/vef-modal/index.js +6 -0
- package/es/vef-not-found/index.js +30 -0
- package/es/vef-not-found/not-found-icon.js +3 -0
- package/es/vef-page/index.js +59 -0
- package/es/vef-pagination/index.js +3 -0
- package/es/vef-pagination/props.js +3 -0
- package/es/vef-paragraph/index.js +3 -0
- package/es/vef-password/hooks/use-password-instance.js +3 -0
- package/es/vef-password/index.js +3 -0
- package/es/vef-popconfirm/index.js +3 -0
- package/es/vef-popover/index.js +3 -0
- package/es/vef-radio/hooks/use-data-options.js +3 -0
- package/es/vef-radio/hooks/use-radio-instance.js +3 -0
- package/es/vef-radio/index.js +5 -0
- package/es/vef-rate/hooks/use-rate-instance.js +3 -0
- package/es/vef-rate/index.js +3 -0
- package/es/vef-responsive-container/index.js +7 -0
- package/es/vef-responsive-item/index.js +5 -0
- package/es/vef-ribbon/index.js +3 -0
- package/es/vef-row/index.js +3 -0
- package/es/vef-scroll-area/components/scrollbar.js +34 -0
- package/es/vef-scroll-area/index.js +13 -0
- package/es/vef-select/components/option.js +11 -0
- package/es/vef-select/hooks/use-data-options.js +3 -0
- package/es/vef-select/hooks/use-field-names.js +3 -0
- package/es/vef-select/hooks/use-render-label.js +10 -0
- package/es/vef-select/hooks/use-render-option.js +3 -0
- package/es/vef-select/hooks/use-select-instance.js +3 -0
- package/es/vef-select/index.js +3 -0
- package/es/vef-slider/hooks/use-slider-instance.js +3 -0
- package/es/vef-slider/index.js +3 -0
- package/es/vef-sortable-list/components/overlay-item.js +7 -0
- package/es/vef-sortable-list/components/sortable-item.js +7 -0
- package/es/vef-sortable-list/hooks/use-merged-items.js +3 -0
- package/es/vef-sortable-list/index.js +3 -0
- package/es/vef-space/index.js +3 -0
- package/es/vef-spin/index.js +3 -0
- package/es/vef-splitter/index.js +3 -0
- package/es/vef-splitter-panel/index.js +3 -0
- package/es/vef-status/index.js +3 -0
- package/es/vef-table/components/columns/bool.js +3 -0
- package/es/vef-table/components/columns/code.js +3 -0
- package/es/vef-table/components/columns/data-dictionary.js +3 -0
- package/es/vef-table/components/columns/enum.js +3 -0
- package/es/vef-table/components/columns/file.js +3 -0
- package/es/vef-table/components/columns/icon.js +3 -0
- package/es/vef-table/components/columns/id.js +3 -0
- package/es/vef-table/components/columns/image.js +3 -0
- package/es/vef-table/components/columns/index.js +3 -0
- package/es/vef-table/components/columns/markdown.js +3 -0
- package/es/vef-table/components/columns/number.js +3 -0
- package/es/vef-table/components/columns/render.js +3 -0
- package/es/vef-table/components/columns/rich-text.js +3 -0
- package/es/vef-table/components/columns/text.js +3 -0
- package/es/vef-table/components/columns-settings.js +54 -0
- package/es/vef-table/components/operation-buttons.js +12 -0
- package/es/vef-table/components/settings-icon.js +5 -0
- package/es/vef-table/components/table-footer.js +19 -0
- package/es/vef-table/helper.js +3 -0
- package/es/vef-table/hooks/use-computed-batch-buttons.js +3 -0
- package/es/vef-table/hooks/use-computed-columns.js +3 -0
- package/es/vef-table/hooks/use-computed-values.js +3 -0
- package/es/vef-table/hooks/use-data.js +3 -0
- package/es/vef-table/hooks/use-default-column-configs.js +3 -0
- package/es/vef-table/hooks/use-display-value.js +3 -0
- package/es/vef-table/hooks/use-helper-columns.js +3 -0
- package/es/vef-table/hooks/use-operation-column-width.js +3 -0
- package/es/vef-table/hooks/use-pagination-props.js +3 -0
- package/es/vef-table/hooks/use-row-props.js +3 -0
- package/es/vef-table/hooks/use-row-selection-config.js +3 -0
- package/es/vef-table/hooks/use-selected-rows.js +3 -0
- package/es/vef-table/hooks/use-table-columns.js +3 -0
- package/es/vef-table/hooks/use-table-context.js +3 -0
- package/es/vef-table/hooks/use-table-instance.js +3 -0
- package/es/vef-table/hooks/use-table-summary.js +3 -0
- package/es/vef-table/hooks/use-table-width.js +3 -0
- package/es/vef-table/index.js +56 -0
- package/es/vef-table/store.js +3 -0
- package/es/vef-tabs/index.js +3 -0
- package/es/vef-tag/index.js +3 -0
- package/es/vef-temporal-picker/helper.js +3 -0
- package/es/vef-temporal-picker/hooks/use-dayjs-value.js +3 -0
- package/es/vef-temporal-picker/hooks/use-temporal-limit.js +3 -0
- package/es/vef-temporal-picker/hooks/use-temporal-picker-instance.js +3 -0
- package/es/vef-temporal-picker/index.js +3 -0
- package/es/vef-temporal-range-picker/helper.js +3 -0
- package/es/vef-temporal-range-picker/hooks/use-dayjs-values.js +3 -0
- package/es/vef-temporal-range-picker/hooks/use-temporal-limit.js +3 -0
- package/es/vef-temporal-range-picker/hooks/use-temporal-range-picker-instance.js +3 -0
- package/es/vef-temporal-range-picker/index.js +3 -0
- package/es/vef-temporal-range-picker/props.js +3 -0
- package/es/vef-text/index.js +3 -0
- package/es/vef-textarea/hooks/use-textarea-instance.js +3 -0
- package/es/vef-textarea/index.js +3 -0
- package/es/vef-title/index.js +15 -0
- package/es/vef-tooltip/index.js +3 -0
- package/es/vef-tree-select/hooks/use-change-handler.js +3 -0
- package/es/vef-tree-select/hooks/use-data-options.js +3 -0
- package/es/vef-tree-select/hooks/use-tree-select-instance.js +3 -0
- package/es/vef-tree-select/index.js +3 -0
- package/es/vef-virtual-grid/index.js +14 -0
- package/es/vef-virtual-list/index.js +20 -0
- package/lib/index.js +3 -0
- package/lib/internal/index.js +3 -0
- package/lib/internal/utils.js +3 -0
- package/lib/vef-access-denied/access-denied-icon.js +3 -0
- package/lib/vef-access-denied/index.js +29 -0
- package/lib/vef-access-denied/props.js +3 -0
- package/lib/vef-action-buttons/index.js +3 -0
- package/lib/vef-action-buttons/props.js +3 -0
- package/lib/vef-app/helper.js +3 -0
- package/lib/vef-app/index.js +3 -0
- package/lib/vef-app/props.js +3 -0
- package/lib/vef-auto-sizer/index.js +3 -0
- package/lib/vef-auto-sizer/props.js +3 -0
- package/lib/vef-avatar/index.js +3 -0
- package/lib/vef-avatar/props.js +3 -0
- package/lib/vef-avatar-group/index.js +3 -0
- package/lib/vef-avatar-group/props.js +3 -0
- package/lib/vef-badge/index.js +3 -0
- package/lib/vef-badge/props.js +3 -0
- package/lib/vef-bool/hooks/use-bool-instance.js +3 -0
- package/lib/vef-bool/index.js +3 -0
- package/lib/vef-bool/props.js +3 -0
- package/lib/vef-button/components/base-button.js +3 -0
- package/lib/vef-button/index.js +3 -0
- package/lib/vef-button/props.js +3 -0
- package/lib/vef-card/index.js +3 -0
- package/lib/vef-card/props.js +3 -0
- package/lib/vef-card-meta/index.js +3 -0
- package/lib/vef-card-meta/props.js +3 -0
- package/lib/vef-checkbox/hooks/use-checkbox-instance.js +3 -0
- package/lib/vef-checkbox/hooks/use-data-options.js +3 -0
- package/lib/vef-checkbox/index.js +5 -0
- package/lib/vef-checkbox/props.js +3 -0
- package/lib/vef-col/index.js +3 -0
- package/lib/vef-col/props.js +3 -0
- package/lib/vef-color-picker/index.js +3 -0
- package/lib/vef-color-picker/props.js +3 -0
- package/lib/vef-compact/index.js +3 -0
- package/lib/vef-compact/props.js +3 -0
- package/lib/vef-config-provider/hooks/use-ui-config.js +3 -0
- package/lib/vef-config-provider/index.js +103 -0
- package/lib/vef-config-provider/props.js +3 -0
- package/lib/vef-config-provider/reset-style.js +257 -0
- package/lib/vef-config-provider/store.js +3 -0
- package/lib/vef-container/index.js +3 -0
- package/lib/vef-container/props.js +3 -0
- package/lib/vef-crud-page/components/crud-actions.js +3 -0
- package/lib/vef-crud-page/components/crud-filter.js +3 -0
- package/lib/vef-crud-page/components/crud-footer.js +9 -0
- package/lib/vef-crud-page/components/crud-form-modal.js +3 -0
- package/lib/vef-crud-page/components/crud-header.js +3 -0
- package/lib/vef-crud-page/components/crud-table.js +3 -0
- package/lib/vef-crud-page/hooks/use-action-buttons.js +3 -0
- package/lib/vef-crud-page/hooks/use-crud-context.js +3 -0
- package/lib/vef-crud-page/hooks/use-crud-schema.js +3 -0
- package/lib/vef-crud-page/hooks/use-operation-buttons.js +3 -0
- package/lib/vef-crud-page/index.js +3 -0
- package/lib/vef-crud-page/props.js +3 -0
- package/lib/vef-crud-page/store.js +3 -0
- package/lib/vef-crud-page/types.js +3 -0
- package/lib/vef-divider/index.js +3 -0
- package/lib/vef-divider/props.js +3 -0
- package/lib/vef-drawer/components/action-button-wrapper.js +3 -0
- package/lib/vef-drawer/components/button-props.js +3 -0
- package/lib/vef-drawer/components/cancel-action-button.js +3 -0
- package/lib/vef-drawer/components/ok-action-button.js +3 -0
- package/lib/vef-drawer/context.js +3 -0
- package/lib/vef-drawer/index.js +10 -0
- package/lib/vef-drawer/props.js +3 -0
- package/lib/vef-dropdown/index.js +3 -0
- package/lib/vef-dropdown/props.js +3 -0
- package/lib/vef-dynamic-icon/index.js +3 -0
- package/lib/vef-dynamic-icon/props.js +3 -0
- package/lib/vef-empty/index.js +3 -0
- package/lib/vef-empty/props.js +3 -0
- package/lib/vef-empty-placeholder/index.js +7 -0
- package/lib/vef-empty-placeholder/props.js +3 -0
- package/lib/vef-error/error-icon.js +3 -0
- package/lib/vef-error/index.js +30 -0
- package/lib/vef-error/props.js +3 -0
- package/lib/vef-filter/components/action-buttons.js +21 -0
- package/lib/vef-filter/components/advanced-filter.js +11 -0
- package/lib/vef-filter/components/basic-filter.js +21 -0
- package/lib/vef-filter/components/fields/index.js +3 -0
- package/lib/vef-filter/components/fields/input-number.js +3 -0
- package/lib/vef-filter/components/fields/input.js +3 -0
- package/lib/vef-filter/components/fields/props.js +3 -0
- package/lib/vef-filter/components/filter-field.js +3 -0
- package/lib/vef-filter/components/filter-item.js +3 -0
- package/lib/vef-filter/event.js +3 -0
- package/lib/vef-filter/helper.js +3 -0
- package/lib/vef-filter/hooks/use-action-handlers.js +3 -0
- package/lib/vef-filter/hooks/use-computed-values.js +3 -0
- package/lib/vef-filter/hooks/use-filter-context.js +3 -0
- package/lib/vef-filter/hooks/use-filter-initialization.js +3 -0
- package/lib/vef-filter/hooks/use-filter-instance.js +3 -0
- package/lib/vef-filter/hooks/use-filter-items.js +3 -0
- package/lib/vef-filter/hooks/use-filter-values-change.js +3 -0
- package/lib/vef-filter/hooks/use-label-config.js +3 -0
- package/lib/vef-filter/index.js +10 -0
- package/lib/vef-filter/props.js +3 -0
- package/lib/vef-filter/store.js +3 -0
- package/lib/vef-filter/types.js +3 -0
- package/lib/vef-flex/index.js +3 -0
- package/lib/vef-flex/props.js +3 -0
- package/lib/vef-float-button/index.js +3 -0
- package/lib/vef-float-button/props.js +3 -0
- package/lib/vef-float-button-group/index.js +3 -0
- package/lib/vef-float-button-group/props.js +3 -0
- package/lib/vef-form/components/fields/index.js +3 -0
- package/lib/vef-form/components/fields/input-number.js +3 -0
- package/lib/vef-form/components/fields/input.js +3 -0
- package/lib/vef-form/components/fields/props.js +3 -0
- package/lib/vef-form/components/form-actions.js +5 -0
- package/lib/vef-form/components/form-content.js +6 -0
- package/lib/vef-form/components/form-field.js +3 -0
- package/lib/vef-form/components/form-group.js +13 -0
- package/lib/vef-form/components/form-hidden-item.js +3 -0
- package/lib/vef-form/components/form-item.js +3 -0
- package/lib/vef-form/components/form-row.js +3 -0
- package/lib/vef-form/event.js +3 -0
- package/lib/vef-form/helper.js +3 -0
- package/lib/vef-form/hooks/use-action-handlers.js +3 -0
- package/lib/vef-form/hooks/use-columns-layout.js +3 -0
- package/lib/vef-form/hooks/use-computed-values.js +3 -0
- package/lib/vef-form/hooks/use-form-context.js +3 -0
- package/lib/vef-form/hooks/use-form-initialization.js +3 -0
- package/lib/vef-form/hooks/use-form-instance.js +3 -0
- package/lib/vef-form/hooks/use-form-values-change.js +3 -0
- package/lib/vef-form/hooks/use-label-width.js +3 -0
- package/lib/vef-form/index.js +5 -0
- package/lib/vef-form/props.js +3 -0
- package/lib/vef-form/store.js +3 -0
- package/lib/vef-form/types.js +3 -0
- package/lib/vef-form/validation-rules.js +3 -0
- package/lib/vef-form-drawer/index.js +3 -0
- package/lib/vef-form-drawer/props.js +3 -0
- package/lib/vef-form-modal/index.js +3 -0
- package/lib/vef-form-modal/props.js +3 -0
- package/lib/vef-generic-select/index.js +3 -0
- package/lib/vef-generic-select/props.js +3 -0
- package/lib/vef-grid/index.js +14 -0
- package/lib/vef-grid/props.js +3 -0
- package/lib/vef-grid-item/index.js +3 -0
- package/lib/vef-grid-item/props.js +3 -0
- package/lib/vef-icon/index.js +3 -0
- package/lib/vef-icon/props.js +3 -0
- package/lib/vef-icon-select/index.js +42 -0
- package/lib/vef-icon-select/props.js +3 -0
- package/lib/vef-input/hooks/use-input-instance.js +3 -0
- package/lib/vef-input/index.js +3 -0
- package/lib/vef-input/props.js +3 -0
- package/lib/vef-input-number/hooks/use-input-number-instance.js +3 -0
- package/lib/vef-input-number/index.js +3 -0
- package/lib/vef-input-number/props.js +3 -0
- package/lib/vef-layout/components/content.js +3 -0
- package/lib/vef-layout/components/font-size.js +6 -0
- package/lib/vef-layout/components/fullscreen.js +6 -0
- package/lib/vef-layout/components/header-action-icons.js +17 -0
- package/lib/vef-layout/components/header-content.js +8 -0
- package/lib/vef-layout/components/header.js +14 -0
- package/lib/vef-layout/components/sider.js +51 -0
- package/lib/vef-layout/components/title.js +38 -0
- package/lib/vef-layout/components/user-avatar.js +20 -0
- package/lib/vef-layout/index.js +7 -0
- package/lib/vef-layout/logo.svg.js +3 -0
- package/lib/vef-layout/props.js +3 -0
- package/lib/vef-layout/store.js +3 -0
- package/lib/vef-loading-placeholder/index.js +7 -0
- package/lib/vef-loading-placeholder/props.js +3 -0
- package/lib/vef-login/index.js +56 -0
- package/lib/vef-login/login-icon.js +3 -0
- package/lib/vef-login/props.js +3 -0
- package/lib/vef-menu/index.js +3 -0
- package/lib/vef-menu/props.js +3 -0
- package/lib/vef-modal/components/action-button-wrapper.js +3 -0
- package/lib/vef-modal/components/button-props.js +3 -0
- package/lib/vef-modal/components/cancel-action-button.js +3 -0
- package/lib/vef-modal/components/ok-action-button.js +3 -0
- package/lib/vef-modal/context.js +3 -0
- package/lib/vef-modal/index.js +6 -0
- package/lib/vef-modal/props.js +3 -0
- package/lib/vef-not-found/index.js +30 -0
- package/lib/vef-not-found/not-found-icon.js +3 -0
- package/lib/vef-not-found/props.js +3 -0
- package/lib/vef-page/index.js +59 -0
- package/lib/vef-page/props.js +3 -0
- package/lib/vef-pagination/index.js +3 -0
- package/lib/vef-pagination/props.js +3 -0
- package/lib/vef-paragraph/index.js +3 -0
- package/lib/vef-paragraph/props.js +3 -0
- package/lib/vef-password/hooks/use-password-instance.js +3 -0
- package/lib/vef-password/index.js +3 -0
- package/lib/vef-password/props.js +3 -0
- package/lib/vef-popconfirm/index.js +3 -0
- package/lib/vef-popconfirm/props.js +3 -0
- package/lib/vef-popover/index.js +3 -0
- package/lib/vef-popover/props.js +3 -0
- package/lib/vef-radio/hooks/use-data-options.js +3 -0
- package/lib/vef-radio/hooks/use-radio-instance.js +3 -0
- package/lib/vef-radio/index.js +5 -0
- package/lib/vef-radio/props.js +3 -0
- package/lib/vef-rate/hooks/use-rate-instance.js +3 -0
- package/lib/vef-rate/index.js +3 -0
- package/lib/vef-rate/props.js +3 -0
- package/lib/vef-responsive-container/index.js +7 -0
- package/lib/vef-responsive-container/props.js +3 -0
- package/lib/vef-responsive-item/index.js +5 -0
- package/lib/vef-responsive-item/props.js +3 -0
- package/lib/vef-ribbon/index.js +3 -0
- package/lib/vef-ribbon/props.js +3 -0
- package/lib/vef-row/index.js +3 -0
- package/lib/vef-row/props.js +3 -0
- package/lib/vef-scroll-area/components/scrollbar.js +34 -0
- package/lib/vef-scroll-area/index.js +13 -0
- package/lib/vef-scroll-area/props.js +3 -0
- package/lib/vef-select/components/option.js +11 -0
- package/lib/vef-select/hooks/use-data-options.js +3 -0
- package/lib/vef-select/hooks/use-field-names.js +3 -0
- package/lib/vef-select/hooks/use-render-label.js +10 -0
- package/lib/vef-select/hooks/use-render-option.js +3 -0
- package/lib/vef-select/hooks/use-select-instance.js +3 -0
- package/lib/vef-select/index.js +3 -0
- package/lib/vef-select/props.js +3 -0
- package/lib/vef-slider/hooks/use-slider-instance.js +3 -0
- package/lib/vef-slider/index.js +3 -0
- package/lib/vef-slider/props.js +3 -0
- package/lib/vef-sortable-list/components/overlay-item.js +7 -0
- package/lib/vef-sortable-list/components/sortable-item.js +7 -0
- package/lib/vef-sortable-list/hooks/use-merged-items.js +3 -0
- package/lib/vef-sortable-list/index.js +3 -0
- package/lib/vef-sortable-list/props.js +3 -0
- package/lib/vef-space/index.js +3 -0
- package/lib/vef-space/props.js +3 -0
- package/lib/vef-spin/index.js +3 -0
- package/lib/vef-spin/props.js +3 -0
- package/lib/vef-splitter/index.js +3 -0
- package/lib/vef-splitter/props.js +3 -0
- package/lib/vef-splitter-panel/index.js +3 -0
- package/lib/vef-splitter-panel/props.js +3 -0
- package/lib/vef-status/index.js +3 -0
- package/lib/vef-status/props.js +3 -0
- package/lib/vef-table/components/columns/bool.js +3 -0
- package/lib/vef-table/components/columns/code.js +3 -0
- package/lib/vef-table/components/columns/data-dictionary.js +3 -0
- package/lib/vef-table/components/columns/enum.js +3 -0
- package/lib/vef-table/components/columns/file.js +3 -0
- package/lib/vef-table/components/columns/icon.js +3 -0
- package/lib/vef-table/components/columns/id.js +3 -0
- package/lib/vef-table/components/columns/image.js +3 -0
- package/lib/vef-table/components/columns/index.js +3 -0
- package/lib/vef-table/components/columns/markdown.js +3 -0
- package/lib/vef-table/components/columns/number.js +3 -0
- package/lib/vef-table/components/columns/props.js +3 -0
- package/lib/vef-table/components/columns/render.js +3 -0
- package/lib/vef-table/components/columns/rich-text.js +3 -0
- package/lib/vef-table/components/columns/text.js +3 -0
- package/lib/vef-table/components/columns-settings.js +54 -0
- package/lib/vef-table/components/operation-buttons.js +12 -0
- package/lib/vef-table/components/settings-icon.js +5 -0
- package/lib/vef-table/components/table-footer.js +19 -0
- package/lib/vef-table/helper.js +3 -0
- package/lib/vef-table/hooks/use-computed-batch-buttons.js +3 -0
- package/lib/vef-table/hooks/use-computed-columns.js +3 -0
- package/lib/vef-table/hooks/use-computed-values.js +3 -0
- package/lib/vef-table/hooks/use-data.js +3 -0
- package/lib/vef-table/hooks/use-default-column-configs.js +3 -0
- package/lib/vef-table/hooks/use-display-value.js +3 -0
- package/lib/vef-table/hooks/use-helper-columns.js +3 -0
- package/lib/vef-table/hooks/use-operation-column-width.js +3 -0
- package/lib/vef-table/hooks/use-pagination-props.js +3 -0
- package/lib/vef-table/hooks/use-row-props.js +3 -0
- package/lib/vef-table/hooks/use-row-selection-config.js +3 -0
- package/lib/vef-table/hooks/use-selected-rows.js +3 -0
- package/lib/vef-table/hooks/use-table-columns.js +3 -0
- package/lib/vef-table/hooks/use-table-context.js +3 -0
- package/lib/vef-table/hooks/use-table-instance.js +3 -0
- package/lib/vef-table/hooks/use-table-summary.js +3 -0
- package/lib/vef-table/hooks/use-table-width.js +3 -0
- package/lib/vef-table/index.js +56 -0
- package/lib/vef-table/props.js +3 -0
- package/lib/vef-table/store.js +3 -0
- package/lib/vef-table/types.js +3 -0
- package/lib/vef-tabs/index.js +3 -0
- package/lib/vef-tabs/props.js +3 -0
- package/lib/vef-tag/index.js +3 -0
- package/lib/vef-tag/props.js +3 -0
- package/lib/vef-temporal-picker/helper.js +3 -0
- package/lib/vef-temporal-picker/hooks/use-dayjs-value.js +3 -0
- package/lib/vef-temporal-picker/hooks/use-temporal-limit.js +3 -0
- package/lib/vef-temporal-picker/hooks/use-temporal-picker-instance.js +3 -0
- package/lib/vef-temporal-picker/index.js +3 -0
- package/lib/vef-temporal-picker/props.js +3 -0
- package/lib/vef-temporal-range-picker/helper.js +3 -0
- package/lib/vef-temporal-range-picker/hooks/use-dayjs-values.js +3 -0
- package/lib/vef-temporal-range-picker/hooks/use-temporal-limit.js +3 -0
- package/lib/vef-temporal-range-picker/hooks/use-temporal-range-picker-instance.js +3 -0
- package/lib/vef-temporal-range-picker/index.js +3 -0
- package/lib/vef-temporal-range-picker/props.js +3 -0
- package/lib/vef-text/index.js +3 -0
- package/lib/vef-text/props.js +3 -0
- package/lib/vef-textarea/hooks/use-textarea-instance.js +3 -0
- package/lib/vef-textarea/index.js +3 -0
- package/lib/vef-textarea/props.js +3 -0
- package/lib/vef-title/index.js +15 -0
- package/lib/vef-title/props.js +3 -0
- package/lib/vef-tooltip/index.js +3 -0
- package/lib/vef-tooltip/props.js +3 -0
- package/lib/vef-tree-select/hooks/use-change-handler.js +3 -0
- package/lib/vef-tree-select/hooks/use-data-options.js +3 -0
- package/lib/vef-tree-select/hooks/use-tree-select-instance.js +3 -0
- package/lib/vef-tree-select/index.js +3 -0
- package/lib/vef-tree-select/props.js +3 -0
- package/lib/vef-virtual-grid/index.js +14 -0
- package/lib/vef-virtual-grid/props.js +3 -0
- package/lib/vef-virtual-list/index.js +20 -0
- package/lib/vef-virtual-list/props.js +3 -0
- package/package.json +8 -6
- package/dist/index.js +0 -3
- package/dist/internal/index.js +0 -3
- package/dist/internal/utils.js +0 -3
- package/dist/vef-access-denied/access-denied-icon.js +0 -3
- package/dist/vef-access-denied/index.js +0 -29
- package/dist/vef-action-buttons/index.js +0 -3
- package/dist/vef-app/helper.js +0 -3
- package/dist/vef-app/index.js +0 -3
- package/dist/vef-auto-sizer/index.js +0 -3
- package/dist/vef-avatar/index.js +0 -3
- package/dist/vef-avatar-group/index.js +0 -3
- package/dist/vef-badge/index.js +0 -3
- package/dist/vef-bool/hooks/use-bool-instance.js +0 -3
- package/dist/vef-bool/index.js +0 -3
- package/dist/vef-button/components/base-button.js +0 -3
- package/dist/vef-button/index.js +0 -3
- package/dist/vef-card/index.js +0 -3
- package/dist/vef-card-meta/index.js +0 -3
- package/dist/vef-checkbox/hooks/use-checkbox-instance.js +0 -3
- package/dist/vef-checkbox/hooks/use-data-options.js +0 -3
- package/dist/vef-checkbox/index.js +0 -5
- package/dist/vef-col/index.js +0 -3
- package/dist/vef-color-picker/index.js +0 -3
- package/dist/vef-compact/index.js +0 -3
- package/dist/vef-config-provider/hooks/use-ui-config.js +0 -3
- package/dist/vef-config-provider/index.js +0 -103
- package/dist/vef-config-provider/reset-style.js +0 -257
- package/dist/vef-config-provider/store.js +0 -3
- package/dist/vef-container/index.js +0 -3
- package/dist/vef-crud-page/components/crud-actions.js +0 -3
- package/dist/vef-crud-page/components/crud-filter.js +0 -3
- package/dist/vef-crud-page/components/crud-footer.js +0 -9
- package/dist/vef-crud-page/components/crud-form-modal.js +0 -3
- package/dist/vef-crud-page/components/crud-header.js +0 -3
- package/dist/vef-crud-page/components/crud-table.js +0 -3
- package/dist/vef-crud-page/hooks/use-action-buttons.js +0 -3
- package/dist/vef-crud-page/hooks/use-crud-context.js +0 -3
- package/dist/vef-crud-page/hooks/use-crud-schema.js +0 -3
- package/dist/vef-crud-page/hooks/use-operation-buttons.js +0 -3
- package/dist/vef-crud-page/index.js +0 -3
- package/dist/vef-crud-page/store.js +0 -3
- package/dist/vef-divider/index.js +0 -3
- package/dist/vef-drawer/components/action-button-wrapper.js +0 -3
- package/dist/vef-drawer/components/button-props.js +0 -2
- package/dist/vef-drawer/components/cancel-action-button.js +0 -3
- package/dist/vef-drawer/components/ok-action-button.js +0 -3
- package/dist/vef-drawer/context.js +0 -3
- package/dist/vef-drawer/index.js +0 -10
- package/dist/vef-dropdown/index.js +0 -3
- package/dist/vef-dynamic-icon/index.js +0 -3
- package/dist/vef-dynamic-icon/props.js +0 -3
- package/dist/vef-empty/index.js +0 -3
- package/dist/vef-empty-placeholder/index.js +0 -7
- package/dist/vef-error/error-icon.js +0 -3
- package/dist/vef-error/index.js +0 -30
- package/dist/vef-filter/components/action-buttons.js +0 -21
- package/dist/vef-filter/components/advanced-filter.js +0 -11
- package/dist/vef-filter/components/basic-filter.js +0 -21
- package/dist/vef-filter/components/fields/index.js +0 -3
- package/dist/vef-filter/components/fields/input-number.js +0 -3
- package/dist/vef-filter/components/fields/input.js +0 -3
- package/dist/vef-filter/components/filter-field.js +0 -3
- package/dist/vef-filter/components/filter-item.js +0 -3
- package/dist/vef-filter/event.js +0 -3
- package/dist/vef-filter/helper.js +0 -3
- package/dist/vef-filter/hooks/use-action-handlers.js +0 -3
- package/dist/vef-filter/hooks/use-computed-values.js +0 -3
- package/dist/vef-filter/hooks/use-filter-context.js +0 -3
- package/dist/vef-filter/hooks/use-filter-initialization.js +0 -3
- package/dist/vef-filter/hooks/use-filter-instance.js +0 -3
- package/dist/vef-filter/hooks/use-filter-items.js +0 -3
- package/dist/vef-filter/hooks/use-filter-values-change.js +0 -3
- package/dist/vef-filter/hooks/use-label-config.js +0 -3
- package/dist/vef-filter/index.js +0 -10
- package/dist/vef-filter/store.js +0 -3
- package/dist/vef-flex/index.js +0 -3
- package/dist/vef-float-button/index.js +0 -3
- package/dist/vef-float-button-group/index.js +0 -3
- package/dist/vef-form/components/fields/index.js +0 -3
- package/dist/vef-form/components/fields/input-number.js +0 -3
- package/dist/vef-form/components/fields/input.js +0 -3
- package/dist/vef-form/components/form-actions.js +0 -5
- package/dist/vef-form/components/form-content.js +0 -6
- package/dist/vef-form/components/form-field.js +0 -3
- package/dist/vef-form/components/form-group.js +0 -13
- package/dist/vef-form/components/form-hidden-item.js +0 -3
- package/dist/vef-form/components/form-item.js +0 -3
- package/dist/vef-form/components/form-row.js +0 -3
- package/dist/vef-form/event.js +0 -3
- package/dist/vef-form/helper.js +0 -3
- package/dist/vef-form/hooks/use-action-handlers.js +0 -3
- package/dist/vef-form/hooks/use-columns-layout.js +0 -3
- package/dist/vef-form/hooks/use-computed-values.js +0 -3
- package/dist/vef-form/hooks/use-form-context.js +0 -3
- package/dist/vef-form/hooks/use-form-initialization.js +0 -3
- package/dist/vef-form/hooks/use-form-instance.js +0 -3
- package/dist/vef-form/hooks/use-form-values-change.js +0 -3
- package/dist/vef-form/hooks/use-label-width.js +0 -3
- package/dist/vef-form/index.js +0 -5
- package/dist/vef-form/store.js +0 -3
- package/dist/vef-form/validation-rules.js +0 -3
- package/dist/vef-form-drawer/index.js +0 -3
- package/dist/vef-form-modal/index.js +0 -3
- package/dist/vef-generic-select/index.js +0 -3
- package/dist/vef-grid/index.js +0 -14
- package/dist/vef-grid/props.js +0 -3
- package/dist/vef-grid-item/index.js +0 -3
- package/dist/vef-icon/index.js +0 -3
- package/dist/vef-icon-select/index.js +0 -42
- package/dist/vef-input/hooks/use-input-instance.js +0 -3
- package/dist/vef-input/index.js +0 -3
- package/dist/vef-input-number/hooks/use-input-number-instance.js +0 -3
- package/dist/vef-input-number/index.js +0 -3
- package/dist/vef-layout/components/content.js +0 -3
- package/dist/vef-layout/components/font-size.js +0 -6
- package/dist/vef-layout/components/fullscreen.js +0 -6
- package/dist/vef-layout/components/header-action-icons.js +0 -17
- package/dist/vef-layout/components/header-content.js +0 -8
- package/dist/vef-layout/components/header.js +0 -14
- package/dist/vef-layout/components/sider.js +0 -51
- package/dist/vef-layout/components/title.js +0 -38
- package/dist/vef-layout/components/user-avatar.js +0 -20
- package/dist/vef-layout/index.js +0 -7
- package/dist/vef-layout/logo.svg.js +0 -3
- package/dist/vef-layout/store.js +0 -3
- package/dist/vef-loading-placeholder/index.js +0 -7
- package/dist/vef-login/index.js +0 -56
- package/dist/vef-login/login-icon.js +0 -3
- package/dist/vef-menu/index.js +0 -3
- package/dist/vef-modal/components/action-button-wrapper.js +0 -3
- package/dist/vef-modal/components/button-props.js +0 -2
- package/dist/vef-modal/components/cancel-action-button.js +0 -3
- package/dist/vef-modal/components/ok-action-button.js +0 -3
- package/dist/vef-modal/context.js +0 -3
- package/dist/vef-modal/index.js +0 -6
- package/dist/vef-not-found/index.js +0 -30
- package/dist/vef-not-found/not-found-icon.js +0 -3
- package/dist/vef-page/index.js +0 -59
- package/dist/vef-pagination/index.js +0 -3
- package/dist/vef-pagination/props.js +0 -3
- package/dist/vef-paragraph/index.js +0 -3
- package/dist/vef-password/hooks/use-password-instance.js +0 -3
- package/dist/vef-password/index.js +0 -3
- package/dist/vef-popconfirm/index.js +0 -3
- package/dist/vef-popover/index.js +0 -3
- package/dist/vef-radio/hooks/use-data-options.js +0 -3
- package/dist/vef-radio/hooks/use-radio-instance.js +0 -3
- package/dist/vef-radio/index.js +0 -5
- package/dist/vef-rate/hooks/use-rate-instance.js +0 -3
- package/dist/vef-rate/index.js +0 -3
- package/dist/vef-responsive-container/index.js +0 -7
- package/dist/vef-responsive-item/index.js +0 -5
- package/dist/vef-ribbon/index.js +0 -3
- package/dist/vef-row/index.js +0 -3
- package/dist/vef-scroll-area/components/scrollbar.js +0 -34
- package/dist/vef-scroll-area/index.js +0 -13
- package/dist/vef-select/components/option.js +0 -11
- package/dist/vef-select/hooks/use-data-options.js +0 -3
- package/dist/vef-select/hooks/use-field-names.js +0 -3
- package/dist/vef-select/hooks/use-render-label.js +0 -10
- package/dist/vef-select/hooks/use-render-option.js +0 -3
- package/dist/vef-select/hooks/use-select-instance.js +0 -3
- package/dist/vef-select/index.js +0 -3
- package/dist/vef-slider/hooks/use-slider-instance.js +0 -3
- package/dist/vef-slider/index.js +0 -3
- package/dist/vef-sortable-list/components/overlay-item.js +0 -7
- package/dist/vef-sortable-list/components/sortable-item.js +0 -7
- package/dist/vef-sortable-list/hooks/use-merged-items.js +0 -3
- package/dist/vef-sortable-list/index.js +0 -3
- package/dist/vef-space/index.js +0 -3
- package/dist/vef-spin/index.js +0 -3
- package/dist/vef-splitter/index.js +0 -3
- package/dist/vef-splitter-panel/index.js +0 -3
- package/dist/vef-status/index.js +0 -3
- package/dist/vef-table/components/columns/bool.js +0 -3
- package/dist/vef-table/components/columns/code.js +0 -3
- package/dist/vef-table/components/columns/data-dictionary.js +0 -3
- package/dist/vef-table/components/columns/enum.js +0 -3
- package/dist/vef-table/components/columns/file.js +0 -3
- package/dist/vef-table/components/columns/icon.js +0 -3
- package/dist/vef-table/components/columns/id.js +0 -3
- package/dist/vef-table/components/columns/image.js +0 -3
- package/dist/vef-table/components/columns/index.js +0 -3
- package/dist/vef-table/components/columns/markdown.js +0 -3
- package/dist/vef-table/components/columns/number.js +0 -3
- package/dist/vef-table/components/columns/render.js +0 -3
- package/dist/vef-table/components/columns/rich-text.js +0 -3
- package/dist/vef-table/components/columns/text.js +0 -3
- package/dist/vef-table/components/columns-settings.js +0 -54
- package/dist/vef-table/components/operation-buttons.js +0 -12
- package/dist/vef-table/components/settings-icon.js +0 -5
- package/dist/vef-table/components/table-footer.js +0 -19
- package/dist/vef-table/helper.js +0 -3
- package/dist/vef-table/hooks/use-computed-batch-buttons.js +0 -3
- package/dist/vef-table/hooks/use-computed-columns.js +0 -3
- package/dist/vef-table/hooks/use-computed-values.js +0 -3
- package/dist/vef-table/hooks/use-data.js +0 -3
- package/dist/vef-table/hooks/use-default-column-configs.js +0 -3
- package/dist/vef-table/hooks/use-display-value.js +0 -3
- package/dist/vef-table/hooks/use-helper-columns.js +0 -3
- package/dist/vef-table/hooks/use-operation-column-width.js +0 -3
- package/dist/vef-table/hooks/use-pagination-props.js +0 -3
- package/dist/vef-table/hooks/use-row-props.js +0 -3
- package/dist/vef-table/hooks/use-row-selection-config.js +0 -3
- package/dist/vef-table/hooks/use-selected-rows.js +0 -3
- package/dist/vef-table/hooks/use-table-columns.js +0 -3
- package/dist/vef-table/hooks/use-table-context.js +0 -3
- package/dist/vef-table/hooks/use-table-instance.js +0 -3
- package/dist/vef-table/hooks/use-table-summary.js +0 -3
- package/dist/vef-table/hooks/use-table-width.js +0 -3
- package/dist/vef-table/index.js +0 -56
- package/dist/vef-table/store.js +0 -3
- package/dist/vef-tabs/index.js +0 -3
- package/dist/vef-tag/index.js +0 -3
- package/dist/vef-temporal-picker/helper.js +0 -3
- package/dist/vef-temporal-picker/hooks/use-dayjs-value.js +0 -3
- package/dist/vef-temporal-picker/hooks/use-temporal-limit.js +0 -3
- package/dist/vef-temporal-picker/hooks/use-temporal-picker-instance.js +0 -3
- package/dist/vef-temporal-picker/index.js +0 -3
- package/dist/vef-temporal-range-picker/helper.js +0 -3
- package/dist/vef-temporal-range-picker/hooks/use-dayjs-values.js +0 -3
- package/dist/vef-temporal-range-picker/hooks/use-temporal-limit.js +0 -3
- package/dist/vef-temporal-range-picker/hooks/use-temporal-range-picker-instance.js +0 -3
- package/dist/vef-temporal-range-picker/index.js +0 -3
- package/dist/vef-temporal-range-picker/props.js +0 -3
- package/dist/vef-text/index.js +0 -3
- package/dist/vef-textarea/hooks/use-textarea-instance.js +0 -3
- package/dist/vef-textarea/index.js +0 -3
- package/dist/vef-title/index.js +0 -15
- package/dist/vef-tooltip/index.js +0 -3
- package/dist/vef-tree-select/hooks/use-change-handler.js +0 -3
- package/dist/vef-tree-select/hooks/use-data-options.js +0 -3
- package/dist/vef-tree-select/hooks/use-tree-select-instance.js +0 -3
- package/dist/vef-tree-select/index.js +0 -3
- package/dist/vef-virtual-grid/index.js +0 -14
- package/dist/vef-virtual-list/index.js +0 -20
- /package/{dist → types}/index.d.ts +0 -0
- /package/{dist → types}/internal/index.d.ts +0 -0
- /package/{dist → types}/internal/utils.d.ts +0 -0
- /package/{dist → types}/vef-access-denied/access-denied-icon.d.ts +0 -0
- /package/{dist → types}/vef-access-denied/index.d.ts +0 -0
- /package/{dist → types}/vef-access-denied/props.d.ts +0 -0
- /package/{dist → types}/vef-action-buttons/index.d.ts +0 -0
- /package/{dist → types}/vef-action-buttons/props.d.ts +0 -0
- /package/{dist → types}/vef-app/helper.d.ts +0 -0
- /package/{dist → types}/vef-app/index.d.ts +0 -0
- /package/{dist → types}/vef-app/props.d.ts +0 -0
- /package/{dist → types}/vef-auto-sizer/index.d.ts +0 -0
- /package/{dist → types}/vef-auto-sizer/props.d.ts +0 -0
- /package/{dist → types}/vef-avatar/index.d.ts +0 -0
- /package/{dist → types}/vef-avatar/props.d.ts +0 -0
- /package/{dist → types}/vef-avatar-group/index.d.ts +0 -0
- /package/{dist → types}/vef-avatar-group/props.d.ts +0 -0
- /package/{dist → types}/vef-badge/index.d.ts +0 -0
- /package/{dist → types}/vef-badge/props.d.ts +0 -0
- /package/{dist → types}/vef-bool/hooks/use-bool-instance.d.ts +0 -0
- /package/{dist → types}/vef-bool/index.d.ts +0 -0
- /package/{dist → types}/vef-bool/props.d.ts +0 -0
- /package/{dist → types}/vef-button/components/base-button.d.ts +0 -0
- /package/{dist → types}/vef-button/index.d.ts +0 -0
- /package/{dist → types}/vef-button/props.d.ts +0 -0
- /package/{dist → types}/vef-card/index.d.ts +0 -0
- /package/{dist → types}/vef-card/props.d.ts +0 -0
- /package/{dist → types}/vef-card-meta/index.d.ts +0 -0
- /package/{dist → types}/vef-card-meta/props.d.ts +0 -0
- /package/{dist → types}/vef-checkbox/hooks/use-checkbox-instance.d.ts +0 -0
- /package/{dist → types}/vef-checkbox/hooks/use-data-options.d.ts +0 -0
- /package/{dist → types}/vef-checkbox/index.d.ts +0 -0
- /package/{dist → types}/vef-checkbox/props.d.ts +0 -0
- /package/{dist → types}/vef-col/index.d.ts +0 -0
- /package/{dist → types}/vef-col/props.d.ts +0 -0
- /package/{dist → types}/vef-color-picker/index.d.ts +0 -0
- /package/{dist → types}/vef-color-picker/props.d.ts +0 -0
- /package/{dist → types}/vef-compact/index.d.ts +0 -0
- /package/{dist → types}/vef-compact/props.d.ts +0 -0
- /package/{dist → types}/vef-config-provider/hooks/use-ui-config.d.ts +0 -0
- /package/{dist → types}/vef-config-provider/index.d.ts +0 -0
- /package/{dist → types}/vef-config-provider/props.d.ts +0 -0
- /package/{dist → types}/vef-config-provider/reset-style.d.ts +0 -0
- /package/{dist → types}/vef-config-provider/store.d.ts +0 -0
- /package/{dist → types}/vef-container/index.d.ts +0 -0
- /package/{dist → types}/vef-container/props.d.ts +0 -0
- /package/{dist → types}/vef-crud-page/components/crud-actions.d.ts +0 -0
- /package/{dist → types}/vef-crud-page/components/crud-filter.d.ts +0 -0
- /package/{dist → types}/vef-crud-page/components/crud-footer.d.ts +0 -0
- /package/{dist → types}/vef-crud-page/components/crud-form-modal.d.ts +0 -0
- /package/{dist → types}/vef-crud-page/components/crud-header.d.ts +0 -0
- /package/{dist → types}/vef-crud-page/components/crud-table.d.ts +0 -0
- /package/{dist → types}/vef-crud-page/hooks/use-action-buttons.d.ts +0 -0
- /package/{dist → types}/vef-crud-page/hooks/use-crud-context.d.ts +0 -0
- /package/{dist → types}/vef-crud-page/hooks/use-crud-schema.d.ts +0 -0
- /package/{dist → types}/vef-crud-page/hooks/use-operation-buttons.d.ts +0 -0
- /package/{dist → types}/vef-crud-page/index.d.ts +0 -0
- /package/{dist → types}/vef-crud-page/props.d.ts +0 -0
- /package/{dist → types}/vef-crud-page/store.d.ts +0 -0
- /package/{dist → types}/vef-crud-page/types.d.ts +0 -0
- /package/{dist → types}/vef-divider/index.d.ts +0 -0
- /package/{dist → types}/vef-divider/props.d.ts +0 -0
- /package/{dist → types}/vef-drawer/components/action-button-wrapper.d.ts +0 -0
- /package/{dist → types}/vef-drawer/components/button-props.d.ts +0 -0
- /package/{dist → types}/vef-drawer/components/cancel-action-button.d.ts +0 -0
- /package/{dist → types}/vef-drawer/components/ok-action-button.d.ts +0 -0
- /package/{dist → types}/vef-drawer/context.d.ts +0 -0
- /package/{dist → types}/vef-drawer/index.d.ts +0 -0
- /package/{dist → types}/vef-drawer/props.d.ts +0 -0
- /package/{dist → types}/vef-dropdown/index.d.ts +0 -0
- /package/{dist → types}/vef-dropdown/props.d.ts +0 -0
- /package/{dist → types}/vef-dynamic-icon/index.d.ts +0 -0
- /package/{dist → types}/vef-dynamic-icon/props.d.ts +0 -0
- /package/{dist → types}/vef-empty/index.d.ts +0 -0
- /package/{dist → types}/vef-empty/props.d.ts +0 -0
- /package/{dist → types}/vef-empty-placeholder/index.d.ts +0 -0
- /package/{dist → types}/vef-empty-placeholder/props.d.ts +0 -0
- /package/{dist → types}/vef-error/error-icon.d.ts +0 -0
- /package/{dist → types}/vef-error/index.d.ts +0 -0
- /package/{dist → types}/vef-error/props.d.ts +0 -0
- /package/{dist → types}/vef-filter/components/action-buttons.d.ts +0 -0
- /package/{dist → types}/vef-filter/components/advanced-filter.d.ts +0 -0
- /package/{dist → types}/vef-filter/components/basic-filter.d.ts +0 -0
- /package/{dist → types}/vef-filter/components/fields/index.d.ts +0 -0
- /package/{dist → types}/vef-filter/components/fields/input-number.d.ts +0 -0
- /package/{dist → types}/vef-filter/components/fields/input.d.ts +0 -0
- /package/{dist → types}/vef-filter/components/fields/props.d.ts +0 -0
- /package/{dist → types}/vef-filter/components/filter-field.d.ts +0 -0
- /package/{dist → types}/vef-filter/components/filter-item.d.ts +0 -0
- /package/{dist → types}/vef-filter/event.d.ts +0 -0
- /package/{dist → types}/vef-filter/helper.d.ts +0 -0
- /package/{dist → types}/vef-filter/hooks/use-action-handlers.d.ts +0 -0
- /package/{dist → types}/vef-filter/hooks/use-computed-values.d.ts +0 -0
- /package/{dist → types}/vef-filter/hooks/use-filter-context.d.ts +0 -0
- /package/{dist → types}/vef-filter/hooks/use-filter-initialization.d.ts +0 -0
- /package/{dist → types}/vef-filter/hooks/use-filter-instance.d.ts +0 -0
- /package/{dist → types}/vef-filter/hooks/use-filter-items.d.ts +0 -0
- /package/{dist → types}/vef-filter/hooks/use-filter-values-change.d.ts +0 -0
- /package/{dist → types}/vef-filter/hooks/use-label-config.d.ts +0 -0
- /package/{dist → types}/vef-filter/index.d.ts +0 -0
- /package/{dist → types}/vef-filter/props.d.ts +0 -0
- /package/{dist → types}/vef-filter/store.d.ts +0 -0
- /package/{dist → types}/vef-filter/types.d.ts +0 -0
- /package/{dist → types}/vef-flex/index.d.ts +0 -0
- /package/{dist → types}/vef-flex/props.d.ts +0 -0
- /package/{dist → types}/vef-float-button/index.d.ts +0 -0
- /package/{dist → types}/vef-float-button/props.d.ts +0 -0
- /package/{dist → types}/vef-float-button-group/index.d.ts +0 -0
- /package/{dist → types}/vef-float-button-group/props.d.ts +0 -0
- /package/{dist → types}/vef-form/components/fields/index.d.ts +0 -0
- /package/{dist → types}/vef-form/components/fields/input-number.d.ts +0 -0
- /package/{dist → types}/vef-form/components/fields/input.d.ts +0 -0
- /package/{dist → types}/vef-form/components/fields/props.d.ts +0 -0
- /package/{dist → types}/vef-form/components/form-actions.d.ts +0 -0
- /package/{dist → types}/vef-form/components/form-content.d.ts +0 -0
- /package/{dist → types}/vef-form/components/form-field.d.ts +0 -0
- /package/{dist → types}/vef-form/components/form-group.d.ts +0 -0
- /package/{dist → types}/vef-form/components/form-hidden-item.d.ts +0 -0
- /package/{dist → types}/vef-form/components/form-item.d.ts +0 -0
- /package/{dist → types}/vef-form/components/form-row.d.ts +0 -0
- /package/{dist → types}/vef-form/event.d.ts +0 -0
- /package/{dist → types}/vef-form/helper.d.ts +0 -0
- /package/{dist → types}/vef-form/hooks/use-action-handlers.d.ts +0 -0
- /package/{dist → types}/vef-form/hooks/use-columns-layout.d.ts +0 -0
- /package/{dist → types}/vef-form/hooks/use-computed-values.d.ts +0 -0
- /package/{dist → types}/vef-form/hooks/use-form-context.d.ts +0 -0
- /package/{dist → types}/vef-form/hooks/use-form-initialization.d.ts +0 -0
- /package/{dist → types}/vef-form/hooks/use-form-instance.d.ts +0 -0
- /package/{dist → types}/vef-form/hooks/use-form-values-change.d.ts +0 -0
- /package/{dist → types}/vef-form/hooks/use-label-width.d.ts +0 -0
- /package/{dist → types}/vef-form/index.d.ts +0 -0
- /package/{dist → types}/vef-form/props.d.ts +0 -0
- /package/{dist → types}/vef-form/store.d.ts +0 -0
- /package/{dist → types}/vef-form/types.d.ts +0 -0
- /package/{dist → types}/vef-form/validation-rules.d.ts +0 -0
- /package/{dist → types}/vef-form-drawer/index.d.ts +0 -0
- /package/{dist → types}/vef-form-drawer/props.d.ts +0 -0
- /package/{dist → types}/vef-form-modal/index.d.ts +0 -0
- /package/{dist → types}/vef-form-modal/props.d.ts +0 -0
- /package/{dist → types}/vef-generic-select/index.d.ts +0 -0
- /package/{dist → types}/vef-generic-select/props.d.ts +0 -0
- /package/{dist → types}/vef-grid/index.d.ts +0 -0
- /package/{dist → types}/vef-grid/props.d.ts +0 -0
- /package/{dist → types}/vef-grid-item/index.d.ts +0 -0
- /package/{dist → types}/vef-grid-item/props.d.ts +0 -0
- /package/{dist → types}/vef-icon/index.d.ts +0 -0
- /package/{dist → types}/vef-icon/props.d.ts +0 -0
- /package/{dist → types}/vef-icon-select/index.d.ts +0 -0
- /package/{dist → types}/vef-icon-select/props.d.ts +0 -0
- /package/{dist → types}/vef-input/hooks/use-input-instance.d.ts +0 -0
- /package/{dist → types}/vef-input/index.d.ts +0 -0
- /package/{dist → types}/vef-input/props.d.ts +0 -0
- /package/{dist → types}/vef-input-number/hooks/use-input-number-instance.d.ts +0 -0
- /package/{dist → types}/vef-input-number/index.d.ts +0 -0
- /package/{dist → types}/vef-input-number/props.d.ts +0 -0
- /package/{dist → types}/vef-layout/components/content.d.ts +0 -0
- /package/{dist → types}/vef-layout/components/font-size.d.ts +0 -0
- /package/{dist → types}/vef-layout/components/fullscreen.d.ts +0 -0
- /package/{dist → types}/vef-layout/components/header-action-icons.d.ts +0 -0
- /package/{dist → types}/vef-layout/components/header-content.d.ts +0 -0
- /package/{dist → types}/vef-layout/components/header.d.ts +0 -0
- /package/{dist → types}/vef-layout/components/sider.d.ts +0 -0
- /package/{dist → types}/vef-layout/components/title.d.ts +0 -0
- /package/{dist → types}/vef-layout/components/user-avatar.d.ts +0 -0
- /package/{dist → types}/vef-layout/index.d.ts +0 -0
- /package/{dist → types}/vef-layout/props.d.ts +0 -0
- /package/{dist → types}/vef-layout/store.d.ts +0 -0
- /package/{dist → types}/vef-loading-placeholder/index.d.ts +0 -0
- /package/{dist → types}/vef-loading-placeholder/props.d.ts +0 -0
- /package/{dist → types}/vef-login/index.d.ts +0 -0
- /package/{dist → types}/vef-login/login-icon.d.ts +0 -0
- /package/{dist → types}/vef-login/props.d.ts +0 -0
- /package/{dist → types}/vef-menu/index.d.ts +0 -0
- /package/{dist → types}/vef-menu/props.d.ts +0 -0
- /package/{dist → types}/vef-modal/components/action-button-wrapper.d.ts +0 -0
- /package/{dist → types}/vef-modal/components/button-props.d.ts +0 -0
- /package/{dist → types}/vef-modal/components/cancel-action-button.d.ts +0 -0
- /package/{dist → types}/vef-modal/components/ok-action-button.d.ts +0 -0
- /package/{dist → types}/vef-modal/context.d.ts +0 -0
- /package/{dist → types}/vef-modal/index.d.ts +0 -0
- /package/{dist → types}/vef-modal/props.d.ts +0 -0
- /package/{dist → types}/vef-not-found/index.d.ts +0 -0
- /package/{dist → types}/vef-not-found/not-found-icon.d.ts +0 -0
- /package/{dist → types}/vef-not-found/props.d.ts +0 -0
- /package/{dist → types}/vef-page/index.d.ts +0 -0
- /package/{dist → types}/vef-page/props.d.ts +0 -0
- /package/{dist → types}/vef-pagination/index.d.ts +0 -0
- /package/{dist → types}/vef-pagination/props.d.ts +0 -0
- /package/{dist → types}/vef-paragraph/index.d.ts +0 -0
- /package/{dist → types}/vef-paragraph/props.d.ts +0 -0
- /package/{dist → types}/vef-password/hooks/use-password-instance.d.ts +0 -0
- /package/{dist → types}/vef-password/index.d.ts +0 -0
- /package/{dist → types}/vef-password/props.d.ts +0 -0
- /package/{dist → types}/vef-popconfirm/index.d.ts +0 -0
- /package/{dist → types}/vef-popconfirm/props.d.ts +0 -0
- /package/{dist → types}/vef-popover/index.d.ts +0 -0
- /package/{dist → types}/vef-popover/props.d.ts +0 -0
- /package/{dist → types}/vef-radio/hooks/use-data-options.d.ts +0 -0
- /package/{dist → types}/vef-radio/hooks/use-radio-instance.d.ts +0 -0
- /package/{dist → types}/vef-radio/index.d.ts +0 -0
- /package/{dist → types}/vef-radio/props.d.ts +0 -0
- /package/{dist → types}/vef-rate/hooks/use-rate-instance.d.ts +0 -0
- /package/{dist → types}/vef-rate/index.d.ts +0 -0
- /package/{dist → types}/vef-rate/props.d.ts +0 -0
- /package/{dist → types}/vef-responsive-container/index.d.ts +0 -0
- /package/{dist → types}/vef-responsive-container/props.d.ts +0 -0
- /package/{dist → types}/vef-responsive-item/index.d.ts +0 -0
- /package/{dist → types}/vef-responsive-item/props.d.ts +0 -0
- /package/{dist → types}/vef-ribbon/index.d.ts +0 -0
- /package/{dist → types}/vef-ribbon/props.d.ts +0 -0
- /package/{dist → types}/vef-row/index.d.ts +0 -0
- /package/{dist → types}/vef-row/props.d.ts +0 -0
- /package/{dist → types}/vef-scroll-area/components/scrollbar.d.ts +0 -0
- /package/{dist → types}/vef-scroll-area/index.d.ts +0 -0
- /package/{dist → types}/vef-scroll-area/props.d.ts +0 -0
- /package/{dist → types}/vef-select/components/option.d.ts +0 -0
- /package/{dist → types}/vef-select/hooks/use-data-options.d.ts +0 -0
- /package/{dist → types}/vef-select/hooks/use-field-names.d.ts +0 -0
- /package/{dist → types}/vef-select/hooks/use-render-label.d.ts +0 -0
- /package/{dist → types}/vef-select/hooks/use-render-option.d.ts +0 -0
- /package/{dist → types}/vef-select/hooks/use-select-instance.d.ts +0 -0
- /package/{dist → types}/vef-select/index.d.ts +0 -0
- /package/{dist → types}/vef-select/props.d.ts +0 -0
- /package/{dist → types}/vef-slider/hooks/use-slider-instance.d.ts +0 -0
- /package/{dist → types}/vef-slider/index.d.ts +0 -0
- /package/{dist → types}/vef-slider/props.d.ts +0 -0
- /package/{dist → types}/vef-sortable-list/components/overlay-item.d.ts +0 -0
- /package/{dist → types}/vef-sortable-list/components/sortable-item.d.ts +0 -0
- /package/{dist → types}/vef-sortable-list/hooks/use-merged-items.d.ts +0 -0
- /package/{dist → types}/vef-sortable-list/index.d.ts +0 -0
- /package/{dist → types}/vef-sortable-list/props.d.ts +0 -0
- /package/{dist → types}/vef-space/index.d.ts +0 -0
- /package/{dist → types}/vef-space/props.d.ts +0 -0
- /package/{dist → types}/vef-spin/index.d.ts +0 -0
- /package/{dist → types}/vef-spin/props.d.ts +0 -0
- /package/{dist → types}/vef-splitter/index.d.ts +0 -0
- /package/{dist → types}/vef-splitter/props.d.ts +0 -0
- /package/{dist → types}/vef-splitter-panel/index.d.ts +0 -0
- /package/{dist → types}/vef-splitter-panel/props.d.ts +0 -0
- /package/{dist → types}/vef-status/index.d.ts +0 -0
- /package/{dist → types}/vef-status/props.d.ts +0 -0
- /package/{dist → types}/vef-table/components/columns/bool.d.ts +0 -0
- /package/{dist → types}/vef-table/components/columns/code.d.ts +0 -0
- /package/{dist → types}/vef-table/components/columns/data-dictionary.d.ts +0 -0
- /package/{dist → types}/vef-table/components/columns/enum.d.ts +0 -0
- /package/{dist → types}/vef-table/components/columns/file.d.ts +0 -0
- /package/{dist → types}/vef-table/components/columns/icon.d.ts +0 -0
- /package/{dist → types}/vef-table/components/columns/id.d.ts +0 -0
- /package/{dist → types}/vef-table/components/columns/image.d.ts +0 -0
- /package/{dist → types}/vef-table/components/columns/index.d.ts +0 -0
- /package/{dist → types}/vef-table/components/columns/markdown.d.ts +0 -0
- /package/{dist → types}/vef-table/components/columns/number.d.ts +0 -0
- /package/{dist → types}/vef-table/components/columns/props.d.ts +0 -0
- /package/{dist → types}/vef-table/components/columns/render.d.ts +0 -0
- /package/{dist → types}/vef-table/components/columns/rich-text.d.ts +0 -0
- /package/{dist → types}/vef-table/components/columns/text.d.ts +0 -0
- /package/{dist → types}/vef-table/components/columns-settings.d.ts +0 -0
- /package/{dist → types}/vef-table/components/operation-buttons.d.ts +0 -0
- /package/{dist → types}/vef-table/components/settings-icon.d.ts +0 -0
- /package/{dist → types}/vef-table/components/table-footer.d.ts +0 -0
- /package/{dist → types}/vef-table/helper.d.ts +0 -0
- /package/{dist → types}/vef-table/hooks/use-computed-batch-buttons.d.ts +0 -0
- /package/{dist → types}/vef-table/hooks/use-computed-columns.d.ts +0 -0
- /package/{dist → types}/vef-table/hooks/use-computed-values.d.ts +0 -0
- /package/{dist → types}/vef-table/hooks/use-data.d.ts +0 -0
- /package/{dist → types}/vef-table/hooks/use-default-column-configs.d.ts +0 -0
- /package/{dist → types}/vef-table/hooks/use-display-value.d.ts +0 -0
- /package/{dist → types}/vef-table/hooks/use-helper-columns.d.ts +0 -0
- /package/{dist → types}/vef-table/hooks/use-operation-column-width.d.ts +0 -0
- /package/{dist → types}/vef-table/hooks/use-pagination-props.d.ts +0 -0
- /package/{dist → types}/vef-table/hooks/use-row-props.d.ts +0 -0
- /package/{dist → types}/vef-table/hooks/use-row-selection-config.d.ts +0 -0
- /package/{dist → types}/vef-table/hooks/use-selected-rows.d.ts +0 -0
- /package/{dist → types}/vef-table/hooks/use-table-columns.d.ts +0 -0
- /package/{dist → types}/vef-table/hooks/use-table-context.d.ts +0 -0
- /package/{dist → types}/vef-table/hooks/use-table-instance.d.ts +0 -0
- /package/{dist → types}/vef-table/hooks/use-table-summary.d.ts +0 -0
- /package/{dist → types}/vef-table/hooks/use-table-width.d.ts +0 -0
- /package/{dist → types}/vef-table/index.d.ts +0 -0
- /package/{dist → types}/vef-table/props.d.ts +0 -0
- /package/{dist → types}/vef-table/store.d.ts +0 -0
- /package/{dist → types}/vef-table/types.d.ts +0 -0
- /package/{dist → types}/vef-tabs/index.d.ts +0 -0
- /package/{dist → types}/vef-tabs/props.d.ts +0 -0
- /package/{dist → types}/vef-tag/index.d.ts +0 -0
- /package/{dist → types}/vef-tag/props.d.ts +0 -0
- /package/{dist → types}/vef-temporal-picker/helper.d.ts +0 -0
- /package/{dist → types}/vef-temporal-picker/hooks/use-dayjs-value.d.ts +0 -0
- /package/{dist → types}/vef-temporal-picker/hooks/use-temporal-limit.d.ts +0 -0
- /package/{dist → types}/vef-temporal-picker/hooks/use-temporal-picker-instance.d.ts +0 -0
- /package/{dist → types}/vef-temporal-picker/index.d.ts +0 -0
- /package/{dist → types}/vef-temporal-picker/props.d.ts +0 -0
- /package/{dist → types}/vef-temporal-range-picker/helper.d.ts +0 -0
- /package/{dist → types}/vef-temporal-range-picker/hooks/use-dayjs-values.d.ts +0 -0
- /package/{dist → types}/vef-temporal-range-picker/hooks/use-temporal-limit.d.ts +0 -0
- /package/{dist → types}/vef-temporal-range-picker/hooks/use-temporal-range-picker-instance.d.ts +0 -0
- /package/{dist → types}/vef-temporal-range-picker/index.d.ts +0 -0
- /package/{dist → types}/vef-temporal-range-picker/props.d.ts +0 -0
- /package/{dist → types}/vef-text/index.d.ts +0 -0
- /package/{dist → types}/vef-text/props.d.ts +0 -0
- /package/{dist → types}/vef-textarea/hooks/use-textarea-instance.d.ts +0 -0
- /package/{dist → types}/vef-textarea/index.d.ts +0 -0
- /package/{dist → types}/vef-textarea/props.d.ts +0 -0
- /package/{dist → types}/vef-title/index.d.ts +0 -0
- /package/{dist → types}/vef-title/props.d.ts +0 -0
- /package/{dist → types}/vef-tooltip/index.d.ts +0 -0
- /package/{dist → types}/vef-tooltip/props.d.ts +0 -0
- /package/{dist → types}/vef-tree-select/hooks/use-change-handler.d.ts +0 -0
- /package/{dist → types}/vef-tree-select/hooks/use-data-options.d.ts +0 -0
- /package/{dist → types}/vef-tree-select/hooks/use-tree-select-instance.d.ts +0 -0
- /package/{dist → types}/vef-tree-select/index.d.ts +0 -0
- /package/{dist → types}/vef-tree-select/props.d.ts +0 -0
- /package/{dist → types}/vef-virtual-grid/index.d.ts +0 -0
- /package/{dist → types}/vef-virtual-grid/props.d.ts +0 -0
- /package/{dist → types}/vef-virtual-list/index.d.ts +0 -0
- /package/{dist → types}/vef-virtual-list/props.d.ts +0 -0
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.18, build time: 2024-12-19T13:17:25.344Z, made by Venus. */
|
|
2
|
+
import{jsxs as e,Fragment as o,jsx as t}from"@emotion/react/jsx-runtime";import{isEqual as s,omit as r}from"@vef-framework/shared";import{useMemo as m,memo as i}from"react";import n from"../../vef-grid/index.js";import a from"../../vef-grid-item/index.js";import{useColumnsLayout as l}from"../hooks/use-columns-layout.js";import{useComputedValues as d}from"../hooks/use-computed-values.js";import{useFormContext as u}from"../hooks/use-form-context.js";import f from"./form-hidden-item.js";import p from"./form-item.js";const c=i((function({rowKey:s,columns:r,disabled:i,autoExpand:c}){const{layoutMode:h,autoExpand:k,labelPosition:y,labelWidth:x}=u(),b="top"===y?240:240+(x??80),[g,j]=m((()=>{const e=[],o=[];for(const t of r){const{items:s,...r}=t,m=[];for(const o of s){const{type:t}=o;"Hidden"===t?e.push(o):m.push(o)}m.length>0&&o.push({...r,items:m})}return[e,o]}),[r]),w=d([...j.map((({key:e,show:o})=>({key:`show-${e}`,rawValue:o,defaultValue:!0}))),...j.map((({key:e,disabled:o})=>({key:`disabled-${e}`,rawValue:o,defaultValue:i})))],!0),v=m((()=>r.filter((({key:e})=>w[`show-${e}`]))),[w,r]),V=l(s,v,h,c??k);return e(o,{children:[g.map((e=>{const{name:o}=e;return t(f,{item:e},o)})),v.length>0&&t(n,{baseWidth:b,gap:[0,"large"],children:v.map((e=>{const o={};if("responsive"===h){const t=V;o.xs=t.xs[e.key],o.sm=t.sm[e.key],o.md=t.md[e.key],o.lg=t.lg[e.key],o.xl=t.xl[e.key],o.xxl=t.xxl[e.key]}else{const t=V;o.span=t[e.key]}return t(a,{...o,children:e.items.map((o=>t(p,{disabled:i||w[`disabled-${e.key}`],item:o},o.name)))},e.key)}))})]})}),((e,o)=>s(r(e,["columns"]),r(o,["columns"]))));export{c as default};
|
|
3
|
+
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.18, build time: 2024-12-19T13:17:25.344Z, made by Venus. */
|
|
2
|
+
import{createEventEmitter as e}from"@vef-framework/shared";var t,a=e=>{throw TypeError(e)},o=(e,t,o)=>(((e,t,o)=>{t.has(e)||a("Cannot "+o)})(e,t,"read from private field"),o?o.call(e):t.get(e));const s=Symbol("change"),r=Symbol("submitResult");class i{constructor(){var o,s,r;o=this,s=t,r=e(),s.has(o)?a("Cannot add the same private member more than once"):s instanceof WeakSet?s.add(o):s.set(o,r)}clear(){o(this,t).all.clear()}onChange(e){o(this,t).on(s,e)}offChange(e){o(this,t).off(s,e)}emitChange(e){o(this,t).emit(s,e)}onSubmitResult(e){o(this,t).on(r,e)}offSubmitResult(e){o(this,t).off(r,e)}emitSubmitResult(e){o(this,t).emit(r,e)}}t=new WeakMap;export{i as FormEventBus};
|
|
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.18, build time: 2024-12-19T13:17:25.344Z, made by Venus. */
|
|
2
|
+
import{isFunction as r,isExpression as e,compileDynamicFn as n}from"@vef-framework/shared";function t(t,f,o,u){if(r(t))return t(f,o);if(e(t)){return n(t,"values","scene",`return ${t.expression}`)(f,o)}return t??u}export{t as computeValue};
|
|
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.18, build time: 2024-12-19T13:17:25.344Z, made by Venus. */
|
|
2
|
+
import{useApiContext as e}from"@vef-framework/core";import{isFunction as t,VefError as i,showLoadingMessage as o,omit as n,showSuccessMessage as r}from"@vef-framework/shared";import{useCallback as s,useMemo as a}from"react";import{useFormStore as m}from"../store.js";function u({submitApi:u,submitTip:l="提交中...",onBeforeSubmit:c,onSubmit:p,onSubmitSuccess:b,onSubmitFailure:f,onReset:d}){const[S,w,h,v,F,R,g,y]=m((e=>[e.form,e.scene,e.eventBus,e.setIsLoading,e.virtualFieldNames,e.getValues,e.initialValues,e.invokeValueChangeHandlers])),{useApiMutation:A,stubMutationApi:V}=e(),{mutate:k}=A(u??V);if(!t(p)&&!u)throw new i(-1,"'onSubmit' or 'submitApi' prop is required for VefForm component");return{handleReset:s((()=>{const e=R();S.resetFields(),y(),h.emitChange(g),d?.(e,w)}),[S,R,d,w,y,g,h]),handleSubmit:a((()=>t(p)?(u&&console.warn("'submitApi' prop is ignored when 'onSubmit' prop is provided in VefForm component"),async e=>{v(!0);let i=e,r=null;try{const s=t(l)?l(e,w):l;r=o(s),t(c)&&(i=await c(i,w));const a=n(i,F);await p(a,w),h.emitSubmitResult(!0)}catch(e){throw h.emitSubmitResult(!1),e}finally{v(!1),r?.()}}):async e=>{v(!0);let i=e,s=null;try{const a=t(l)?l(e,w):l;s=o(a),t(c)&&(i=await c(e,w));const m=n(i,F),u=await k(m);(b??(({message:e})=>{r(e)}))(u,i,w),h.emitSubmitResult(!0)}catch(e){h.emitSubmitResult(!1),f?.(e,i,w)}finally{v(!1),s?.()}}),[p,u,v,l,w,c,F,h,k,b,f]),handleSubmitFailed:s((({values:e,errorFields:t})=>{h.emitSubmitResult(!1),f?.(new i(-1,t.flatMap((e=>e.errors)).join(", ")),e,w)}),[h,f,w])}}export{u as useActionHandlers};
|
|
3
|
+
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.18, build time: 2024-12-19T13:17:25.344Z, made by Venus. */
|
|
2
|
+
import{unique as e,VefError as n}from"@vef-framework/shared";import{useMemo as s}from"react";const o=24,t=[{breakpoint:"xs",base:o,spans:1},{breakpoint:"sm",base:12,spans:2},{breakpoint:"md",base:8,spans:3},{breakpoint:"lg",base:6,spans:4},{breakpoint:"xl",base:6,spans:4},{breakpoint:"xxl",base:4,spans:6}],a=e(t.map((e=>e.spans)));function r(e,r,p,l){return s((()=>0===r.length?{}:"responsive"===p?function(e,s,o){const r=s.reduce(((e,n)=>e+(n.span??1)),0);if(!a.includes(r))throw new n(-3,`The total spans of the columns of the row [${e}] must be one of the following: ${a.join(", ")}.`);const p=24/r,l={};for(const{breakpoint:e,base:n,spans:a}of t)if(p>=n)l[e]=s.reduce(((e,n)=>(e[n.key]=(n.span??1)*p,e)),{});else{const t={};let r=a,p=null;for(const e of s){const s=e.span??1;r>=s?(t[e.key]=s*n,r-=s,p=e.key):(p&&(o&&(t[p]+=r*n),r=a,p=null),s>a?t[e.key]=24:(t[e.key]=s*n,r-=s,p=e.key)),0===r&&(r=a,p=null)}r>0&&(o&&(t[p]+=r*n),p=null),l[e]=t}return l}(e,r,l):function(e,s){const t=s.reduce(((e,n)=>e+(n.span??1)),0);if(t>o||o%t!=0)throw new n(-3,`The total spans of the columns of the row [${e}] must be less than or equal to 24 and a divisor of 24.`);const a=o/t;return s.reduce(((e,n)=>(e[n.key]=(n.span??1)*a,e)),{})}(e,r)),[])}export{r as useColumnsLayout};
|
|
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.18, build time: 2024-12-19T13:17:25.344Z, made by Venus. */
|
|
2
|
+
import{useUpdate as e,useDeepCompareMemo as r,useDeepCompareLayoutEffect as o}from"@vef-framework/hooks";import{isFunctionOrExpression as t,isEqual as a}from"@vef-framework/shared";import{computeValue as f}from"../helper.js";import{useFormStore as n}from"../store.js";function u(u,s=!1){const[l,m,c]=n((e=>[e.scene,e.eventBus,e.getValues])),i=e(),k=c(),p=r((()=>u.reduce(((e,r)=>{const{key:o,rawValue:t,defaultValue:a}=r,n=f(t,k,l,a);return e[o]=n,e}),{})),[k,l,u]);return o((()=>{const e=u.filter((({rawValue:e})=>t(e)));if(e.length>0){const r=r=>{for(const o of e){const{key:e,rawValue:t,defaultValue:n}=o,u=p[e],s=f(t,r,l,n);if(!a(s,u)){i();break}}};return m.onChange(r),()=>{m.offChange(r)}}}),[p,m,i,l,u]),s?u.reduce(((e,{key:r})=>(e[r]=p[r],e)),{}):u.map((({key:e})=>p[e]))}export{u as useComputedValues};
|
|
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.18, build time: 2024-12-19T13:17:25.344Z, made by Venus. */
|
|
2
|
+
import{createSelectableContext as o}from"@vef-framework/shared";const{useContextSelector:e,useContext:t,ContextProvider:r}=o({autoExpand:!0,labelPosition:"top",layoutMode:"responsive"});export{r as FormContextProvider,t as useFormContext,e as useFormContextSelector};
|
|
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.18, build time: 2024-12-19T13:17:25.344Z, made by Venus. */
|
|
2
|
+
import{isNullish as o,isFunction as e}from"@vef-framework/shared";import{useMemo as n}from"react";function r(r,t){return n((()=>{const n={...t},s={},a=[];for(const t of r){const{rows:r}=t;for(const t of r){const{columns:r}=t;for(const t of r){const{items:r}=t;for(const t of r){const{name:r,defaultValue:f,virtual:c}=t;!o(f)&&o(n[r])&&(n[r]=f),"Hidden"!==t.type&&e(t.onChange)&&(s[r]=t.onChange),!0===c&&a.push(r)}}}}return{mergedInitialValues:n,valueChangeHandlers:s,virtualFieldNames:a}}),[])}export{r as useFormInitialization};
|
|
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.18, build time: 2024-12-19T13:17:25.344Z, made by Venus. */
|
|
2
|
+
import{useImperativeHandle as t}from"react";import{useFormStore as e}from"../store.js";function s(s,o){const[u,m,r,i]=e((t=>[t.form,t.eventBus,t.getValues,t.setValues]));t(s,(()=>({submit:()=>new Promise(((t,e)=>{const s=o=>{m.offSubmitResult(s),o?t():e(o)};m.onSubmitResult(s),u.submit()})),reset:o,getValues:r,setValues:i})))}export{s as useFormInstance};
|
|
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.18, build time: 2024-12-19T13:17:25.344Z, made by Venus. */
|
|
2
|
+
import{isFunction as e}from"@vef-framework/shared";import{useMemo as n,useEffect as r,useLayoutEffect as o}from"react";import{useFormStore as t}from"../store.js";function a(a){const[f,s,m]=t((e=>[e.scene,e.eventBus,e.invokeValueChangeHandlers])),h=n((()=>(e,n)=>{s.emitChange(n)}),[s]);return r((()=>{if(e(a)){const e=e=>{a(e,f)};return s.onChange(e),()=>{s.offChange(e)}}}),[s,a,f]),o((()=>{m()}),[]),{handleValuesChange:h}}export{a as useFormValuesChange};
|
|
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.18, build time: 2024-12-19T13:17:25.344Z, made by Venus. */
|
|
2
|
+
import{showWarningMessage as e}from"@vef-framework/shared";import{useMemo as r}from"react";function t(t,o){return r((()=>{if("top"!==t&&o)return(o<60||o>120)&&e("The labelWidth of VefForm component must be between 60 and 120, otherwise it will be 60 or 120."),Math.min(Math.max(o,60),120)}),[t,o])}export{t as useLabelWidth};
|
|
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,5 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.18, build time: 2024-12-19T13:17:25.344Z, made by Venus. */
|
|
2
|
+
import{jsxs as e,jsx as o}from"@emotion/react/jsx-runtime";import{css as i}from"@emotion/react";import{useContextDisabled as t,useSingleton as s,useUnmount as n}from"@vef-framework/hooks";import{isNumber as a,isEqual as r,omit as l}from"@vef-framework/shared";import{Form as m}from"antd";import{useMemo as u,forwardRef as h,memo as f}from"react";import"../internal/index.js";import c from"./components/form-actions.js";import d from"./components/form-content.js";import{FormEventBus as p}from"./event.js";import{useActionHandlers as b}from"./hooks/use-action-handlers.js";import{useFormContextSelector as v,FormContextProvider as g}from"./hooks/use-form-context.js";import{useFormInitialization as j}from"./hooks/use-form-initialization.js";import{useFormInstance as F}from"./hooks/use-form-instance.js";import{useFormValuesChange as S}from"./hooks/use-form-values-change.js";import{useLabelWidth as V}from"./hooks/use-label-width.js";import{useFormStore as k,FormStoreProvider as x}from"./store.js";import{convertBasicSizeToUiSize as B}from"../internal/utils.js";const{useForm:w}=m,C={scrollMode:"if-needed",behavior:"smooth"};const y=h((function({schema:s,labelAlign:n="right",variant:r,showTabs:l=!1,height:h="auto",size:f,disabled:p=!1,onChange:g,submissionButton:j,resetButton:V,submitApi:x,submitTip:w,onBeforeSubmit:y,onSubmit:T,onSubmitSuccess:z,onSubmitFailure:A,onReset:N},R){const[W,E]=v((e=>[e.labelPosition,e.labelWidth])),[M,P,$]=k((e=>[e.form,e.initialValues,e.isLoading])),{handleValuesChange:H}=S(g),{handleReset:I,handleSubmit:L,handleSubmitFailed:q}=b({submitApi:x,submitTip:w,onBeforeSubmit:y,onSubmit:T,onSubmitSuccess:z,onSubmitFailure:A,onReset:N});F(R,I);const D=u((()=>{if(E)return{flex:`0 0 ${E}px`}}),[E]),G=u((()=>{let e=h;return"full"===h?e="100%":a(h)&&(e=`${h}px`),i`
|
|
3
|
+
height: ${e};
|
|
4
|
+
`}),[h]),J=t();return e(m,{labelWrap:!0,colon:!1,css:G,disabled:J||p||$,form:M,initialValues:P,labelAlign:n,labelCol:D,layout:"top"===W?"vertical":"horizontal",scrollToFirstError:C,size:B(f),variant:r,onFinish:L,onFinishFailed:q,onValuesChange:H,children:[o(d,{height:h,schema:s,showTabs:!0===l?"switch":l}),o(c,{handleReset:I,resetButton:V,submissionButton:j})]})}));y.displayName="VefFormBase";const T=f(h((function({initialValues:e,scene:i,layoutMode:t="responsive",autoExpand:a=!1,labelPosition:r="top",labelWidth:l,...m},h){const{schema:f}=m,[c]=w(),d=s((()=>new p));n((()=>{d.clear()}));const b=V(r,l),v=u((()=>({labelPosition:r,labelWidth:b,autoExpand:a,layoutMode:t})),[t,a,r,b]),{mergedInitialValues:F,valueChangeHandlers:S,virtualFieldNames:k}=j(f,e);return o(x,{eventBus:d,form:c,initialValues:F,scene:i,valueChangeHandlers:S,virtualFieldNames:k,children:o(g,{value:v,children:o(y,{ref:h,...m})})})})),((e,o)=>r(l(e,["initialValues","schema"]),l(o,["initialValues","schema"]))));T.displayName="VefForm";export{T as default};
|
|
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,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.18, build time: 2024-12-19T13:17:25.344Z, made by Venus. */
|
|
2
|
+
import{useSingleton as e,useUpdateEffect as t}from"@vef-framework/hooks";import{isEqual as n,VefError as o}from"@vef-framework/shared";import{createContext as s,createElement as r,useContext as i}from"react";import{createStore as a}from"zustand";import{useStoreWithEqualityFn as l}from"zustand/traditional";const u=s(null);function c({children:o,...s}){const i=e((()=>{return e=s,a(((t,o)=>({...e,invokeValueChangeHandlers(e,t){const{scene:n,valueChangeHandlers:s,initialValues:r,setValues:i}=o(),a=e??r,l=t?new Set(t):null;for(const[e,t]of Object.entries(s))l&&!l.has(e)||t(a[e]??null,{values:a,scene:n,setValues:i})},getValues(){const{form:e,initialValues:t}=o();return e.isFieldsTouched(!0)?t:e.getFieldsValue()},setValues(e){const{form:t,eventBus:s,invokeValueChangeHandlers:r}=o(),i=t.getFieldsValue(),a=Object.keys(e).filter((t=>!n(e[t],i[t])));t.setFieldsValue(e);const l=t.getFieldsValue();s.emitChange(l),r(l,a)},isLoading:!1,setIsLoading(e){t({isLoading:e})},showActionButtons:!0,setShowActionButtons(e){t({showActionButtons:e})}})));var e})),{scene:l}=s;return t((()=>{i.setState({scene:l})}),[l]),r(u.Provider,{value:i},o)}function d(){const e=i(u);if(!e)throw new o(-2,"FormStore can be used only inside FormStoreProvider");return e}function f(e){return l(d(),e,n)}export{c as FormStoreProvider,f as useFormStore,d as useFormStoreApi};
|
|
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.18, build time: 2024-12-19T13:17:25.344Z, made by Venus. */
|
|
2
|
+
import{isEqual as e,VefError as r,validator as o,getNowDateString as i}from"@vef-framework/shared";function n(e){return()=>[{required:!0,message:e}]}function t(o,i){return({label:n})=>[{validator:(t,s)=>e(s,o)?Promise.resolve():Promise.reject(new r(-2,i??`${n?`${n}的值`:"值"}必须是${o}`))}]}function s(o,i){return({label:n})=>[{validator:(t,s)=>e(s,o)?Promise.reject(new r(-2,i??`${n?`${n}的值`:"值"}不能是${o}`)):Promise.resolve()}]}function l(e,r){return()=>[{type:"enum",enum:e,message:r}]}function a(e,r){return()=>[{min:e,message:r}]}function m(e,r){return()=>[{max:e,message:r}]}function u(e,r,o){return()=>[{min:e,max:r,message:o}]}function c(e){return({label:i})=>[{validator:(n,t)=>o.isAlpha(t)?Promise.resolve():Promise.reject(new r(-2,e??`${i??"值"}必须是字母`))}]}function P(e){return({label:i})=>[{validator:(n,t)=>o.isAlphanumeric(t)?Promise.resolve():Promise.reject(new r(-2,e??`${i??"值"}必须是字母或数字`))}]}function v(e){return({label:i})=>[{validator:(n,t)=>o.isAscii(t)?Promise.resolve():Promise.reject(new r(-2,e??`${i??"值"}必须是ASCII字符`))}]}function f(e){return({label:i})=>[{validator:(n,t)=>o.isNumeric(t)?Promise.resolve():Promise.reject(new r(-2,e??`${i??"值"}必须是数字`))}]}function $(e){return({label:i})=>[{validator:(n,t)=>o.isEmail(t)?Promise.resolve():Promise.reject(new r(-2,e??`${i??"值"}必须是合法的邮箱`))}]}function d(e){return({label:i})=>[{validator:(n,t)=>o.isHexColor(t)?Promise.resolve():Promise.reject(new r(-2,e??`${i??"值"}必须是十六进制颜色`))}]}function w(e){return({label:i})=>[{validator:(n,t)=>o.isIdentityCard(t)?Promise.resolve():Promise.reject(new r(-2,e??`${i??"值"}必须是合法的身份证`))}]}function b(e){return({label:i})=>[{validator:(n,t)=>o.isIp(t)?Promise.resolve():Promise.reject(new r(-2,e??`${i??"值"}必须是合法的IP地址`))}]}function j(e){return({label:i})=>[{validator:(n,t)=>o.isPort(t)?Promise.resolve():Promise.reject(new r(-2,e??`${i??"值"}必须是合法的端口`))}]}function p(e){return({label:i})=>[{validator:(n,t)=>o.isJson(t)?Promise.resolve():Promise.reject(new r(-2,e??`${i??"值"}必须是合法的JSON`))}]}function I(e){return({label:i})=>[{validator:(n,t)=>o.isUrl(t)?Promise.resolve():Promise.reject(new r(-2,e??`${i??"值"}必须是合法的URL`))}]}function g(e){return({label:i})=>[{validator:(n,t)=>o.isUri(t)?Promise.resolve():Promise.reject(new r(-2,e??`${i??"值"}必须是合法的URI`))}]}function A(e){return({label:i})=>[{validator:(n,t)=>o.isPostalCode(t)?Promise.resolve():Promise.reject(new r(-2,e??`${i??"值"}必须是合法的邮政编码`))}]}function C(e,n){return({label:t})=>[{validator:(s,l)=>o.isBefore(l,e??i())?Promise.resolve():Promise.reject(new r(-2,n??`${t??"值"}必须在${e}之前`))}]}function h(e,n){return({label:t})=>[{validator:(s,l)=>o.isAfter(l,e??i())?Promise.resolve():Promise.reject(new r(-2,n??`${t??"值"}必须在${e}之后`))}]}function x(e){return({label:i})=>[{validator:(n,t)=>o.isChineseName(t)?Promise.resolve():Promise.reject(new r(-2,e??`${i??"值"}必须是中文名称`))}]}export{c as isAlpha,P as isAlphanumeric,v as isAscii,x as isChineseName,h as isDateAfter,C as isDateBefore,$ as isEmail,t as isEqualsTo,d as isHexColor,w as isIdentityCard,l as isIn,b as isIp,p as isJson,m as isMeetsMaxSize,a as isMeetsMinSize,u as isMeetsRangeSize,s as isNotEqualsTo,f as isNumeric,j as isPort,A as isPostalCode,n as isRequired,g as isUri,I as isUrl};
|
|
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.18, build time: 2024-12-19T13:17:25.344Z, made by Venus. */
|
|
2
|
+
import{jsx as e,jsxs as o,Fragment as n}from"@emotion/react/jsx-runtime";import{useContextDisabled as t,DisabledContextProvider as r}from"@vef-framework/hooks";import{isFunction as s}from"@vef-framework/shared";import{useRef as i,useCallback as l,memo as a}from"react";import c from"../vef-button/index.js";import m from"../vef-drawer/index.js";import f from"../vef-form/index.js";import d from"../vef-drawer/components/action-button-wrapper.js";const u=a((function({title:a,open:u,closable:p,closeOnMaskClick:C,closeOnEscPress:x,destroyOnClose:O=!0,cancelOnClose:k,placement:b,expansionSize:v="medium",loading:h,extra:w,cancelButtonText:B,actions:j,onClose:A,onCancel:y,onAfterClose:T,onAfterOpen:g,submissionButtonText:z,disabled:E=!1,...M}){const P=i(null),S=l((async()=>{await(P.current?.submit())}),[]),D=t()||E,F=l((()=>{P.current?.reset()}),[]),N=l((([t,r])=>{const i=e(d,{children:e(c,{color:"default",disabled:D,variant:"filled",onClick:F,children:"重置"})},"resetActionButton");return s(j)?j([t,i,r]):o(n,{children:[t,i,r]})}),[j,D,F]);return e(r,{value:D,children:e(m,{actions:N,cancelOnClose:k,closable:p,closeOnEscPress:x,closeOnMaskClick:C,destroyOnClose:O,expansionSize:v,extra:w,loading:h,okButtonText:z,open:u,placement:b,title:a,onAfterClose:T,onAfterOpen:g,onCancel:y,onClose:A,onOk:S,children:e(f,{ref:P,resetButton:!1,submissionButton:!1,...M})})})}));u.displayName="VefFormDrawer";export{u as default};
|
|
3
|
+
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.18, build time: 2024-12-19T13:17:25.344Z, made by Venus. */
|
|
2
|
+
import{jsx as e,jsxs as o,Fragment as n}from"@emotion/react/jsx-runtime";import{useContextDisabled as t,DisabledContextProvider as r}from"@vef-framework/hooks";import{isFunction as s}from"@vef-framework/shared";import{useRef as l,useCallback as i,memo as c}from"react";import a from"../vef-button/index.js";import m from"../vef-form/index.js";import d from"../vef-modal/index.js";import f from"../vef-modal/components/action-button-wrapper.js";const u=c((function({submissionButtonText:c="提交",actions:u,title:p,open:C,closable:O,closeOnMaskClick:k,closeOnEscPress:b,destroyOnClose:h=!0,cancelOnClose:x,width:v="medium",loading:B,cancelButtonText:w,onClose:j,onCancel:A,onAfterOpen:y,onAfterClose:T,disabled:M=!1,...g}){const E=l(null),P=i((async()=>{await(E.current?.submit())}),[]),F=t()||M,N=i((()=>{E.current?.reset()}),[]),V=i((([t,r])=>{const l=e(f,{children:e(a,{color:"default",variant:"filled",onClick:N,children:"重置"})},"resetActionButton");return s(u)?u([t,l,r]):o(n,{children:[t,l,r]})}),[u,N]);return e(r,{value:F,children:e(d,{actions:V,cancelButtonText:w,cancelOnClose:x,closable:O,closeOnEscPress:b,closeOnMaskClick:k,destroyOnClose:h,loading:B,okButtonText:c,open:C,title:p,width:v,onAfterClose:T,onAfterOpen:y,onCancel:A,onClose:j,onOk:P,children:e(m,{ref:E,disabled:F,resetButton:!1,submissionButton:!1,...g})})})}));u.displayName="VefFormModal";export{u as default};
|
|
3
|
+
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.18, build time: 2024-12-19T13:17:25.344Z, made by Venus. */
|
|
2
|
+
import{jsx as e}from"@emotion/react/jsx-runtime";import{SearchOutlined as o}from"@ant-design/icons";import{isFunction as r,styles as n}from"@vef-framework/shared";import{Select as i}from"antd";import{LeafIcon as a}from"lucide-react";import{useState as t,useDeferredValue as l,useCallback as d,useMemo as c,cloneElement as s}from"react";import"../internal/index.js";import m from"../vef-icon/index.js";import{convertBasicSizeToUiSize as p}from"../internal/utils.js";const f={"--vef-select-option-padding":0};function u({value:u,size:h,renderLabel:v,placeholder:b,disabled:w,clearable:C,loading:g,variant:x,children:j,onClear:S}){const[k,y]=t(!1),[z,F]=t(!1),[V,W]=t(),B=l(V),D=d((()=>{F(!1)}),[]),I=d((()=>{F(!0)}),[]),L=d((()=>{y(!1)}),[]),M=c((()=>{if(r(v))return({value:e})=>v?.(e)}),[v]),R=z&&k?e(o,{}):e(m,{children:e(a,{})}),q=s(j,{keyword:B,onConfirm:L});return e(i,{showSearch:!0,allowClear:C,css:n.fullWidth,disabled:w,dropdownStyle:f,labelRender:M,loading:g,notFoundContent:q,open:k,placeholder:b,popupMatchSelectWidth:!1,searchValue:V,size:p(h),suffixIcon:R,value:u,variant:x,onBlur:D,onClear:S,onDropdownVisibleChange:y,onFocus:I,onSearch:W})}export{u as default};
|
|
3
|
+
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.18, build time: 2024-12-19T13:17:25.344Z, made by Venus. */
|
|
2
|
+
import{jsx as r}from"@emotion/react/jsx-runtime";import{css as n}from"@emotion/react";import{useGapSizeNormalizer as t,useSize as i}from"@vef-framework/hooks";import{breakpoints as e,isArray as o}from"@vef-framework/shared";import m from"clsx";import{useMemo as a,useRef as f,useEffect as c}from"react";import{useContainerQuery as d}from"react-container-query";const p=24,s=n`
|
|
3
|
+
display: grid;
|
|
4
|
+
grid: auto-flow / repeat(${p}, minmax(0, 1fr));
|
|
5
|
+
|
|
6
|
+
> * {
|
|
7
|
+
grid-column: span ${p};
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
${Array.from({length:p}).map(((r,n)=>`\n > .vef-grid-item-${n+1} {\n grid-column: span ${n+1};\n }\n `))}
|
|
11
|
+
|
|
12
|
+
${e.map((r=>`\n &.vef-container-${r} {\n ${Array.from({length:p}).map(((n,t)=>`\n > .vef-grid-item-${r}-${t+1} {\n grid-column: span ${t+1};\n }\n `))}\n }\n `))}
|
|
13
|
+
`,l=({baseWidth:n=240,gap:e,children:l})=>{const h=a((()=>({"vef-container-xs":{minWidth:0},"vef-container-sm":{minWidth:2*n},"vef-container-md":{minWidth:3*n},"vef-container-lg":{minWidth:4*n},"vef-container-xl":{minWidth:5*n},"vef-container-xxl":{minWidth:6*n}})),[n]),$=f(null),[g,u]=d(h,{width:2*n}),v=t(),[x,w]=a((()=>{if(o(e))return[v(e[0]),v(e[1])];if(e){const r=v(e);return[r,r]}return[0,0]}),[e,v]);c((()=>{u($.current)}),[$,u]);const W=i($),y=a((()=>(W?.width??2*n)>p*w?{gap:`${x}px ${w}px`}:{gap:`${x}px ${Math.floor((W?.width??2*n)/p)}px`}),[W?.width,n,w,x]);return r("div",{ref:$,className:m(g),css:s,style:y,children:l})};export{l as default};
|
|
14
|
+
/*! 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.18, build time: 2024-12-19T13:17:25.344Z, made by Venus. */
|
|
2
|
+
const x=["xs","sm","md","lg","xl","xxl"];export{x as BREAKPOINTS};
|
|
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.18, build time: 2024-12-19T13:17:25.344Z, made by Venus. */
|
|
2
|
+
import{jsx as e}from"@emotion/react/jsx-runtime";import r from"clsx";import{useMemo as i}from"react";const t=({span:t,xs:m,sm:s,md:d,lg:o,xl:p,xxl:f,children:l})=>{const u=i((()=>{const e=[];return t&&e.push(`vef-grid-item-${t}`),m&&e.push(`vef-grid-item-xs-${m}`),s&&e.push(`vef-grid-item-sm-${s}`),d&&e.push(`vef-grid-item-md-${d}`),o&&e.push(`vef-grid-item-lg-${o}`),p&&e.push(`vef-grid-item-xl-${p}`),f&&e.push(`vef-grid-item-xxl-${f}`),e}),[t,m,s,d,o,p,f]);return e("div",{className:r(u),children:l})};export{t as default};
|
|
3
|
+
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.18, build time: 2024-12-19T13:17:25.344Z, made by Venus. */
|
|
2
|
+
import{jsx as e}from"@emotion/react/jsx-runtime";import r from"@ant-design/icons";import{themeVariables as o,omit as t}from"@vef-framework/shared";import{forwardRef as i,useMemo as n,Suspense as f,cloneElement as m,memo as l}from"react";const s=l(i((({size:i,children:l,...s},c)=>{const a=n((()=>{const e="small"===i?o.fontSizeSm:"medium"===i?o.fontSize:"large"===i?o.fontSizeLg:"huge"===i?o.fontSizeXl:void 0;if(e)return{fontSize:e}}),[i]);return e(r,{ref:c,style:a,component:e=>{if(l.type===f){const{children:r}=l.props;return m(l,{children:m(r,t(e,["fill"]))})}return m(l,t(e,["fill"]))},...s})})));s.displayName="VefIcon";export{s as default};
|
|
3
|
+
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.18, build time: 2024-12-19T13:17:25.344Z, made by Venus. */
|
|
2
|
+
import{jsx as e,jsxs as r}from"@emotion/react/jsx-runtime";import{css as i}from"@emotion/react";import{useThemeTokens as o}from"@vef-framework/hooks";import{themeVariables as n,trim as t,cluster as l,isUndefined as c}from"@vef-framework/shared";import{useMemo as a,useCallback as s,memo as d,useState as m}from"react";import f from"../vef-dynamic-icon/index.js";import{dynamicIconNames as p}from"../vef-dynamic-icon/props.js";import h from"../vef-empty-placeholder/index.js";import v from"../vef-generic-select/index.js";import u from"../vef-space/index.js";import g from"../vef-text/index.js";import x from"../vef-virtual-grid/index.js";const y=i`
|
|
3
|
+
color: ${n.colorTextSlate};
|
|
4
|
+
|
|
5
|
+
.vef-icon-select-wrapper {
|
|
6
|
+
padding: calc(${n.paddingXxs} + 2px) ${n.paddingXs};
|
|
7
|
+
}
|
|
8
|
+
`,b=i`
|
|
9
|
+
height: 100%;
|
|
10
|
+
display: flex;
|
|
11
|
+
justify-content: center;
|
|
12
|
+
align-items: center;
|
|
13
|
+
background-color: ${n.colorFillContent};
|
|
14
|
+
border-radius: ${n.borderRadius};
|
|
15
|
+
transition: background-color ${n.motionDurationMid} ${n.motionEaseInOut};
|
|
16
|
+
&:hover {
|
|
17
|
+
cursor: pointer;
|
|
18
|
+
background-color: ${n.colorFillContentHover};
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&.vef-icon-select-item-selected {
|
|
22
|
+
background-color: ${n.colorPrimaryBg};
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.vef-icon {
|
|
26
|
+
font-size: 28px;
|
|
27
|
+
}
|
|
28
|
+
`;const w=d((function({value:r,onChange:i,keyword:n,onConfirm:c}){const{paddingXS:d,paddingXXS:m}=o(),v=a((()=>{const e=t(n);return l(e?p.filter((r=>r.includes(e))):p,6)}),[n]),[u,g]=a((()=>[420+2*d,348+2*(m+2)]),[m,d]),w=s((({item:o})=>{const n=o===r;return e("div",{className:n?"vef-icon-select-item-selected":void 0,css:b,title:o,onClick:()=>{n||i(o),c?.()},children:e(f,{name:o})})}),[i,c,r]),j=a((()=>({width:u,height:g})),[u,g]);return 0===v.length?e("div",{css:y,children:e("div",{className:"vef-icon-select-wrapper",style:j,children:e(h,{description:"暂无图标",presetIcon:"simple"})})}):e("div",{css:y,children:e(x,{className:"vef-icon-select-wrapper",columnWidth:60,gap:"small",height:g,items:v,renderItem:w,rowHeight:60,width:u})})})),j=i`
|
|
29
|
+
width: 100%;
|
|
30
|
+
|
|
31
|
+
.vef-space-item:last-of-type {
|
|
32
|
+
min-width: 0;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.vef-typography {
|
|
36
|
+
line-height: inherit;
|
|
37
|
+
font-size: inherit;
|
|
38
|
+
font-family: inherit;
|
|
39
|
+
color: inherit;
|
|
40
|
+
}
|
|
41
|
+
`;function k(i){return r(u,{css:j,children:[e(f,{name:i}),e(g,{ellipsis:!0,children:i})]})}const C=({defaultValue:r,value:i,size:o,placeholder:n,disabled:t,clearable:l,variant:a,onChange:d,onClear:f})=>{const[p,h]=m(r??null),u=s((e=>{c(i)?h(e):d?.(e)}),[d,i]),g=s((()=>{u(null),f?.()}),[u,f]);return e(v,{clearable:l,disabled:t,placeholder:n,renderLabel:k,size:o,value:i??p,variant:a,onClear:g,children:e(w,{value:c(i)?p:i,onChange:u})})};export{C as default};
|
|
42
|
+
/*! 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.18, build time: 2024-12-19T13:17:25.344Z, made by Venus. */
|
|
2
|
+
import{useRef as n,useImperativeHandle as r}from"react";function t(t){const e=n(null);return r(t,(()=>({blur:()=>e.current?.blur(),focus:()=>e.current?.focus({preventScroll:!0}),input:e.current?.input??null,nativeElement:e.current?.nativeElement??null}))),e}export{t as useInputInstance};
|
|
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.18, build time: 2024-12-19T13:17:25.344Z, made by Venus. */
|
|
2
|
+
import{jsx as e}from"@emotion/react/jsx-runtime";import{isFunction as o}from"@vef-framework/shared";import{Input as r}from"antd";import{forwardRef as t,useMemo as n}from"react";import"../internal/index.js";import{useInputInstance as a}from"./hooks/use-input-instance.js";import{convertBasicSizeToUiSize as u}from"../internal/utils.js";function l(e){return""===e?null:e}const i=t((({defaultValue:t,value:i,clearable:s,size:d,showCount:m,prepend:f,append:p,onChange:v,onEnterKeyPress:c,onBlur:g,onFocus:h,...C},j)=>{const w=n((()=>({onChange:o(v)?e=>v(l(e.target.value)):void 0,onPressEnter:o(c)?e=>c(l(e.target.value)):void 0,onBlur:o(g)?e=>g(l(e.target.value)):void 0,onFocus:o(h)?e=>h(l(e.target.value)):void 0})),[v,c,g,h]),x=a(j);return e(r,{ref:x,addonAfter:p,addonBefore:f,allowClear:s,defaultValue:t,showCount:m,size:u(d),type:"text",value:i,...C,...w})}));export{i as default};
|
|
3
|
+
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.18, build time: 2024-12-19T13:17:25.344Z, made by Venus. */
|
|
2
|
+
import{useRef as r,useImperativeHandle as t}from"react";function u(u){const c=r(null);return t(u,(()=>({blur:()=>c.current?.blur(),focus:()=>c.current?.focus({preventScroll:!0})}))),c}export{u as useInputNumberInstance};
|
|
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.18, build time: 2024-12-19T13:17:25.344Z, made by Venus. */
|
|
2
|
+
import{jsx as o}from"@emotion/react/jsx-runtime";import{isFunction as r,styles as e}from"@vef-framework/shared";import{InputNumber as n}from"antd";import{forwardRef as t,useMemo as s}from"react";import"../internal/index.js";import{useInputNumberInstance as a}from"./hooks/use-input-number-instance.js";import{convertBasicSizeToUiSize as u}from"../internal/utils.js";function i(o,r){const e=Number.parseFloat(o);return Number.isNaN(e)?null:r?`${e}`:e}const l=t((({size:t,showControls:l,step:m,min:d,max:f,prepend:c,append:g,...v},p)=>{const F=s((()=>{const{useStringFormat:o}=v;if(o){const{onChange:o,onEnterKeyPress:e,onBlur:n,onFocus:t}=v;return{stringFormat:!0,onChange:r(o)?r=>o(r):void 0,onPressEnter:r(e)?o=>e(i(o.target.value,!0)):void 0,onBlur:r(n)?o=>n(i(o.target.value,!0)):void 0,onFocus:r(t)?o=>t(i(o.target.value,!0)):void 0}}const{onChange:e,onEnterKeyPress:n,onBlur:t,onFocus:s}=v;return{stringFormat:!1,onChange:r(e)?o=>e(o):void 0,onPressEnter:r(n)?o=>n(i(o.target.value,!1)):void 0,onBlur:r(t)?o=>t(i(o.target.value,!1)):void 0,onFocus:r(s)?o=>s(i(o.target.value,!1)):void 0}}),[v]),h=a(p),{useStringFormat:B}=v;if(B){const{useStringFormat:r,defaultValue:s,value:a,onChange:i,onEnterKeyPress:p,onBlur:B,onFocus:C,...x}=v,{stringFormat:E}=F;if(E){const{stringFormat:r,...i}=F;return o(n,{ref:h,stringMode:!0,addonAfter:g,addonBefore:c,controls:l,css:e.fullWidth,defaultValue:s,max:`${f}`,min:`${d}`,size:u(t),step:`${m}`,value:a,...x,...i})}return}const{useStringFormat:C,defaultValue:x,value:E,onChange:P,onEnterKeyPress:j,onBlur:y,onFocus:K,...N}=v,{stringFormat:S}=F;if(!S){const{stringFormat:r,...t}=F;return o(n,{ref:h,addonAfter:g,addonBefore:c,controls:l,css:e.fullWidth,defaultValue:x,max:f,min:d,step:m,value:E,...N,...t})}}));export{l as default};
|
|
3
|
+
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.18, build time: 2024-12-19T13:17:25.344Z, made by Venus. */
|
|
2
|
+
import{jsx as t}from"@emotion/react/jsx-runtime";import{Layout as e}from"antd";import{memo as o}from"react";const{Content:r}=e,n=o((({children:e})=>t(r,{children:e})));n.displayName="VefContent";export{n as default};
|
|
3
|
+
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.18, build time: 2024-12-19T13:17:25.344Z, made by Venus. */
|
|
2
|
+
import{jsx as e,jsxs as l}from"@emotion/react/jsx-runtime";import{css as r}from"@emotion/react";import{themeVariables as o,styles as t}from"@vef-framework/shared";import{useConfigStore as n}from"../../vef-config-provider/store.js";import i from"../../vef-dropdown/index.js";import d from"../../vef-icon/index.js";function s(r){return e("svg",{height:24,viewBox:"0 0 24 24",width:24,xmlns:"http://www.w3.org/2000/svg",...r,children:l("g",{fill:"none",fillRule:"evenodd",children:[e("path",{d:"m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z"}),e("path",{d:"M21 12a1 1 0 0 1 1 1v6a1 1 0 0 1-1.911.412a4 4 0 1 1 0-6.824A1 1 0 0 1 21 12M8 4c.732 0 1.381.473 1.605 1.17l4.347 13.524a1 1 0 0 1-1.904.612L10.664 15H5.336l-1.384 4.306a1 1 0 0 1-1.904-.612L6.395 5.17A1.69 1.69 0 0 1 8 4m10 10a2 2 0 1 0 0 4a2 2 0 0 0 0-4M8 6.712L5.979 13h4.042z",fill:"currentColor"})]})})}function h(l){return e("svg",{height:24,viewBox:"0 0 24 24",width:24,xmlns:"http://www.w3.org/2000/svg",...l,children:e("path",{d:"M4 19V8.5a3.5 3.5 0 1 1 7 0V19m-7-6h7m10-1h-6",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2})})}function m(l){return e("svg",{height:24,viewBox:"0 0 24 24",width:24,xmlns:"http://www.w3.org/2000/svg",...l,children:e("path",{d:"M4 19V8.5a3.5 3.5 0 1 1 7 0V19m-7-6h7m7-4v6m3-3h-6",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2})})}const a=r`
|
|
3
|
+
padding: ${o.paddingXs};
|
|
4
|
+
${t.flexCenter}
|
|
5
|
+
`,c=[{key:"medium",type:"item",label:"默认字号",icon:e(d,{children:e(h,{})})},{key:"large",type:"item",label:"大字号",icon:e(d,{children:e(m,{})})}],f=()=>{const[l,r]=n((e=>[e.fontSize,e.setFontSize]));return e(i,{selectable:!0,items:c,selectedKeys:[l],onChange:([e])=>r(e),children:e("div",{css:a,children:e(d,{size:"large",children:e(s,{})})})})};export{f as default};
|
|
6
|
+
/*! 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,6 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.18, build time: 2024-12-19T13:17:25.344Z, made by Venus. */
|
|
2
|
+
import{jsx as e}from"@emotion/react/jsx-runtime";import{css as r}from"@emotion/react";import{themeVariables as o,styles as t}from"@vef-framework/shared";import{MinimizeIcon as i,MaximizeIcon as n}from"lucide-react";import{useState as m,useCallback as c}from"react";import d from"../../vef-icon/index.js";import l from"../../vef-tooltip/index.js";const s=r`
|
|
3
|
+
padding: ${o.paddingXs};
|
|
4
|
+
${t.flexCenter}
|
|
5
|
+
`,f=()=>{const[r,o]=m(!1),t=c((()=>{r?(document.exitFullscreen(),o(!1)):(document.body.requestFullscreen(),o(!0))}),[r]);return e(l,{content:r?"退出全屏":"全屏",delay:.5,children:e("div",{css:s,onClick:t,children:e(d,{size:"large",children:e(r?i:n,{})})})})};export{f as default};
|
|
6
|
+
/*! 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,17 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.18, build time: 2024-12-19T13:17:25.344Z, made by Venus. */
|
|
2
|
+
import{jsxs as r,jsx as o}from"@emotion/react/jsx-runtime";import{css as i}from"@emotion/react";import{themeVariables as e}from"@vef-framework/shared";import t from"../../vef-divider/index.js";import n from"./font-size.js";import a from"./fullscreen.js";import m from"./user-avatar.js";const s=i`
|
|
3
|
+
display: flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
column-gap: ${e.marginXxs};
|
|
6
|
+
|
|
7
|
+
> div:not(.vef-divider) {
|
|
8
|
+
border-radius: ${e.borderRadius};
|
|
9
|
+
transition: background-color ${e.motionDurationMid} ${e.motionEaseInOut};
|
|
10
|
+
|
|
11
|
+
&:hover {
|
|
12
|
+
cursor: pointer;
|
|
13
|
+
background-color: ${e.colorFillTertiary};
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
`,d=()=>r("div",{css:s,children:[o(t,{orientation:"vertical"}),o(n,{}),o(a,{}),o(m,{})]});export{d as default};
|
|
17
|
+
/*! 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,8 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.18, build time: 2024-12-19T13:17:25.344Z, made by Venus. */
|
|
2
|
+
import{jsx as e}from"@emotion/react/jsx-runtime";import{css as t}from"@emotion/react";import i from"../../vef-icon-select/index.js";const o=()=>e("div",{css:t`
|
|
3
|
+
display: flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
justify-content: space-between;
|
|
6
|
+
height: 100%;
|
|
7
|
+
`,children:e("div",{style:{width:300},children:e(i,{})})});export{o as default};
|
|
8
|
+
/*! 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,14 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.18, build time: 2024-12-19T13:17:25.344Z, made by Venus. */
|
|
2
|
+
import{jsxs as e,jsx as o}from"@emotion/react/jsx-runtime";import{css as r}from"@emotion/react";import{themeVariables as t,VefIconMenuUnfoldLeft as i,VefIconMenuFoldLeft as n}from"@vef-framework/shared";import{Layout as m}from"antd";import{memo as a}from"react";import d from"../../vef-button/index.js";import c from"../../vef-icon/index.js";import{useLayoutStore as l}from"../store.js";import s from"./header-action-icons.js";import p from"./header-content.js";const{Header:f}=m,h=r`
|
|
3
|
+
--vef-layout-header-height: 60px;
|
|
4
|
+
--vef-layout-header-padding: 0 ${t.paddingSm};
|
|
5
|
+
|
|
6
|
+
line-height: unset;
|
|
7
|
+
background-color: ${t.colorBgContainer};
|
|
8
|
+
border-bottom: ${t.lineWidth} ${t.lineType} ${t.colorBorderSecondary};
|
|
9
|
+
display: grid;
|
|
10
|
+
grid-template-columns: max-content minmax(min-content, 1fr) max-content;
|
|
11
|
+
align-items: center;
|
|
12
|
+
column-gap: ${t.marginSm};
|
|
13
|
+
`,g=a((()=>{const[r,t]=l((e=>[e.siderCollapsed,e.setSiderCollapsed]));return e(f,{css:h,children:[o(d,{color:"default",variant:"text",icon:o(c,{size:"huge",children:o(r?i:n,{})}),onClick:()=>t(!r)}),o(p,{}),o(s,{})]})}));g.displayName="VefHeader";export{g as default};
|
|
14
|
+
/*! 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,51 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.18, build time: 2024-12-19T13:17:25.344Z, made by Venus. */
|
|
2
|
+
import{jsxs as e,jsx as i}from"@emotion/react/jsx-runtime";import{css as r}from"@emotion/react";import{themeVariables as o}from"@vef-framework/shared";import{Layout as t}from"antd";import{memo as n}from"react";import l from"../../vef-menu/index.js";import m from"../../vef-scroll-area/index.js";import{useLayoutStore as d}from"../store.js";import s from"./title.js";const{Sider:a}=t,f=r`
|
|
3
|
+
border-right: ${o.lineWidth} ${o.lineType} ${o.colorBorderSecondary};
|
|
4
|
+
|
|
5
|
+
> .vef-layout-sider-children {
|
|
6
|
+
--vef-layout-header-height: 60px;
|
|
7
|
+
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
|
|
11
|
+
.vef-layout-sider-menu {
|
|
12
|
+
flex: auto;
|
|
13
|
+
min-height: 0;
|
|
14
|
+
padding: 6px 0;
|
|
15
|
+
|
|
16
|
+
> div {
|
|
17
|
+
padding: 0 6px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.vef-menu-submenu-title, .vef-menu-item {
|
|
21
|
+
user-select: none;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.vef-menu.vef-menu-root.vef-menu-light {
|
|
25
|
+
border-inline-end: none;
|
|
26
|
+
|
|
27
|
+
&.vef-menu-inline-collapsed {
|
|
28
|
+
width: 67px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&.vef-menu-inline {
|
|
32
|
+
.vef-menu-item {
|
|
33
|
+
&.vef-menu-item-selected {
|
|
34
|
+
&::before {
|
|
35
|
+
content: "";
|
|
36
|
+
position: absolute;
|
|
37
|
+
inset-inline-start: 0;
|
|
38
|
+
pointer-events: none;
|
|
39
|
+
width: 0;
|
|
40
|
+
height: calc(${o.fontSize} * 0.8);
|
|
41
|
+
border-inline-start: 4px ${o.lineType} var(--vef-menu-item-selected-color);
|
|
42
|
+
border-radius: var(--vef-menu-item-border-radius);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
`,p=n((({title:r,logo:o,items:t})=>{const[n,p]=d((e=>[e.siderCollapsed,e.setSiderCollapsed]));return e(a,{collapsible:!0,breakpoint:"lg",collapsed:n,collapsedWidth:80,css:f,theme:"light",trigger:null,width:232,onCollapse:p,children:[i(s,{logo:o,title:r}),i("div",{className:"vef-layout-sider-menu",children:i(m,{scrollbarSize:"small",children:i(l,{inlineExpansion:!0,inlineCollapsed:n,items:t})})})]})}));p.displayName="VefSider";export{p as default};
|
|
51
|
+
/*! 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,38 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.18, build time: 2024-12-19T13:17:25.344Z, made by Venus. */
|
|
2
|
+
import{jsxs as e,jsx as o}from"@emotion/react/jsx-runtime";import{css as t}from"@emotion/react";import{themeVariables as i,styles as r}from"@vef-framework/shared";import{AnimatePresence as a,motion as n}from"motion/react";import{memo as l}from"react";import d from"../logo.svg.js";import{useLayoutStore as m}from"../store.js";const s=t`
|
|
3
|
+
flex: none;
|
|
4
|
+
height: var(--vef-layout-header-height);
|
|
5
|
+
border-bottom: ${i.lineWidth} ${i.lineType} ${i.colorBorderSecondary};
|
|
6
|
+
display: flex;
|
|
7
|
+
align-items: center;
|
|
8
|
+
gap: ${i.paddingXs};
|
|
9
|
+
padding: 0 ${i.paddingSm};
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
user-select: none;
|
|
12
|
+
|
|
13
|
+
> div {
|
|
14
|
+
flex: none;
|
|
15
|
+
width: 55px;
|
|
16
|
+
height: calc(${i.controlHeight} * 1.2);
|
|
17
|
+
font-size: 0;
|
|
18
|
+
${r.flexCenter}
|
|
19
|
+
|
|
20
|
+
> img {
|
|
21
|
+
height: 100%;
|
|
22
|
+
width: auto;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
> h3 {
|
|
27
|
+
flex: auto;
|
|
28
|
+
margin-bottom: 0;
|
|
29
|
+
font-weight: bold;
|
|
30
|
+
font-size: ${i.fontSizeLg};
|
|
31
|
+
color: ${i.colorTextSlate};
|
|
32
|
+
max-width: 156px;
|
|
33
|
+
white-space: nowrap;
|
|
34
|
+
overflow: hidden;
|
|
35
|
+
text-overflow: ellipsis;
|
|
36
|
+
}
|
|
37
|
+
`,c=l((({logo:t,title:i})=>{const r=m((e=>e.siderCollapsed));return e("div",{css:s,children:[o("div",{children:t||o("img",{alt:"VEF",src:d})}),o(a,{initial:!1,children:!r&&o(n.h3,{layout:!0,animate:{opacity:1,x:0},exit:{opacity:0,x:32},initial:{opacity:0,x:-32},transition:{duration:.2,ease:"easeIn"},children:i||"VEF快速开发系统"})})]})}));c.displayName="VefTitle";export{c as default};
|
|
38
|
+
/*! 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,20 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.18, build time: 2024-12-19T13:17:25.344Z, made by Venus. */
|
|
2
|
+
import{jsx as e,jsxs as i}from"@emotion/react/jsx-runtime";import{css as o}from"@emotion/react";import{themeVariables as r}from"@vef-framework/shared";import{UserRoundIcon as n,LockKeyholeIcon as t,LogOutIcon as c,UserIcon as l}from"lucide-react";import m from"../../vef-avatar/index.js";import s from"../../vef-dropdown/index.js";import a from"../../vef-icon/index.js";const d=o`
|
|
3
|
+
display: flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
column-gap: ${r.marginSm};
|
|
6
|
+
padding: ${r.paddingXs};
|
|
7
|
+
`,p=o`
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
align-items: center;
|
|
11
|
+
row-gap: calc(${r.marginXxs} + 2px);
|
|
12
|
+
user-select: none;
|
|
13
|
+
line-height: 1;
|
|
14
|
+
|
|
15
|
+
> span:last-of-type {
|
|
16
|
+
font-size: ${r.fontSizeSm};
|
|
17
|
+
color: ${r.colorTextDescription};
|
|
18
|
+
}
|
|
19
|
+
`,f=[{type:"item",key:"userInfo",label:"个人信息",icon:e(a,{children:e(n,{})})},{type:"item",key:"passwordModification",label:"修改密码",icon:e(a,{children:e(t,{})})},{type:"item",key:"logout",label:"退出登录",icon:e(a,{children:e(c,{})})}],h=()=>e(s,{items:f,children:i("div",{css:d,children:[e(m,{size:"medium",icon:e(a,{size:"huge",children:e(l,{})})}),i("div",{css:p,children:[e("span",{children:"超管"}),e("span",{children:"[信息科]"})]})]})});export{h as default};
|
|
20
|
+
/*! 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.18, build time: 2024-12-19T13:17:25.344Z, made by Venus. */
|
|
2
|
+
import{jsx as e,jsxs as t}from"@emotion/react/jsx-runtime";import{MailOutlined as i,CalendarOutlined as o,AppstoreOutlined as n,SettingOutlined as l}from"@ant-design/icons";import{css as m}from"@emotion/react";import{Layout as r}from"antd";import{memo as a}from"react";import p from"./components/content.js";import s from"./components/header.js";import y from"./components/sider.js";import{LayoutStoreProvider as c}from"./store.js";const b=m`
|
|
3
|
+
height: 100%;
|
|
4
|
+
min-height: initial;
|
|
5
|
+
overflow: hidden;
|
|
6
|
+
`,d=[{type:"item",key:"1",icon:e(i,{}),label:"Navigation One"},{type:"item",key:"2",icon:e(o,{}),label:"Navigation Two"},{type:"submenu",key:"sub1",label:"Navigation Two",icon:e(n,{}),children:[{type:"item",key:"3",label:"Option 3"},{type:"item",key:"4",label:"Option 4"},{type:"submenu",key:"sub1-2",label:"submenu",children:[{type:"item",key:"5",label:"Option 5"},{type:"item",key:"6",label:"Option 6"}]}]},{key:"sub2",type:"submenu",label:"Navigation Three",icon:e(l,{}),children:[{type:"item",key:"7",label:"Option 7"},{type:"item",key:"8",label:"Option 8"},{type:"item",key:"9",label:"Option 9"},{type:"item",key:"10",label:"Option 10"}]}],h=({logo:i,title:o,menuItems:n=d,children:l})=>t(r,{hasSider:!0,css:b,children:[e(y,{items:n,logo:i,title:o}),t(r,{hasSider:!1,children:[e(s,{}),e(p,{children:l})]})]}),u=a((t=>e(c,{initialState:null,children:e(h,{...t})})));u.displayName="VefLayout";export{u as default};
|
|
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.18, build time: 2024-12-19T13:17:25.344Z, made by Venus. */
|
|
2
|
+
const a="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20aria-hidden%3D%22true%22%20role%3D%22img%22%20preserveAspectRatio%3D%22xMidYMid%20meet%22%20viewBox%3D%2296%2053%20150%20145.63955181855252%22%3E%3Cg%20transform%3D%22translate%2895%2C52.18022155761719%29%22%3E%3Cg%20fill%3D%22%2334435C%22%20hollow-target%3D%22text%22%3E%3Cg%20mask%3D%22url%28%23ab0ea033-fda4-47dc-88f0-22900a4a23a9%29%22%3E%3Cg%3E%3Csvg%20x%3D%220%22%20y%3D%220%22%20width%3D%22150%22%20height%3D%22145.63955181855252%22%20filtersec%3D%22colorsb9343370191%22%20class%3D%22image-svg-svg%20primary%22%20style%3D%22overflow%3A%20visible%3B%22%3E%3Csvg%20viewBox%3D%220%200%20334.1409912109375%20324.4289855957031%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22none%22%20pointer-events%3D%22none%22%20d%3D%22M0%200h334.141v324.429H0z%22%3E%3C%2Fpath%3E%3Cpath%20class%3D%22st4%22%20d%3D%22M168.019%2013.483c-83.2%200-150.7%2067.5-150.7%20150.7%200%2083.2%2067.5%20150.7%20150.7%20150.7%2083.2%200%20150.7-67.5%20150.7-150.7%200-83.3-67.5-150.7-150.7-150.7zm0%20241c-49.9%200-90.4-40.5-90.4-90.4%200-49.9%2040.5-90.4%2090.4-90.4%2049.9%200%2090.4%2040.5%2090.4%2090.4%200%2050-40.5%2090.4-90.4%2090.4z%22%20fill%3D%22%23fcc29a%22%3E%3C%2Fpath%3E%3Cpath%20class%3D%22st5%22%20d%3D%22M258.419%20164.083c0%2049.9-40.5%2090.4-90.4%2090.4-49.9%200-90.4-40.5-90.4-90.4%200%2066.6%2054%20120.5%20120.5%20120.5s120.5-54%20120.5-120.5c0-83.2-67.5-150.7-150.7-150.7-83.2%200-150.7%2067.5-150.7%20150.7%200-66.6%2054-120.5%20120.5-120.5%2066.7%200%20120.7%2054%20120.7%20120.5%22%20fill%3D%22%233498db%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E%3C%2Fsvg%3E%3C%2Fg%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%2843.244998931884766%2C52.94477844238281%29%22%3E%3Cg%20data-gra%3D%22path-name%22%3E%3Cg%20transform%3D%22scale%281%29%22%3E%3Cg%3E%3Cpath%20d%3D%22M31.8-21.32L31.8-21.32Q31.8-17.56%2030.83-14.54%2029.86-11.52%2028.13-9.17%2026.4-6.82%2024.01-5.13%2021.62-3.44%2018.77-2.35%2015.93-1.26%2012.72-0.74%209.51-0.21%206.12-0.21L6.12-0.21Q4.86-0.21%203.65-0.28%202.44-0.35%201.18-0.48L1.18-0.48%201.93-36.52Q4.89-37.46%208.02-37.85%2011.15-38.24%2014.23-38.24L14.23-38.24Q18.07-38.24%2021.3-37.09%2024.52-35.93%2026.86-33.76%2029.19-31.58%2030.49-28.44%2031.8-25.3%2031.8-21.32ZM20.79-19.23L20.79-19.6Q20.81-21.05%2020.48-22.4%2020.14-23.74%2019.38-24.77%2018.61-25.81%2017.43-26.44%2016.25-27.07%2014.61-27.12L14.61-27.12%2013.54-10.47Q15.15-10.72%2016.46-11.53%2017.78-12.35%2018.73-13.55%2019.69-14.74%2020.21-16.21%2020.73-17.67%2020.79-19.23L20.79-19.23ZM64.69-25.83L64.69-25.83Q64.69-23.23%2063.92-21.22%2063.14-19.2%2061.78-17.7%2060.42-16.19%2058.6-15.15%2056.77-14.1%2054.69-13.44%2052.61-12.78%2050.38-12.47%2048.15-12.17%2046-12.14L46-12.14%2046%200.38%2033.49%200.38Q33.49-5.77%2033.52-11.87%2033.54-17.97%2033.6-24.17L33.6-24.17Q33.65-27.45%2033.62-30.72%2033.6-34%2033.76-37.33L33.76-37.33Q37.19-38.35%2040.63-38.86%2044.07-39.37%2047.72-39.37L47.72-39.37Q49.79-39.37%2051.86-39.03%2053.93-38.7%2055.82-37.97%2057.71-37.25%2059.34-36.16%2060.96-35.07%2062.14-33.57%2063.33-32.07%2064.01-30.15%2064.69-28.23%2064.69-25.83ZM52.77-24.92L52.77-24.92Q52.77-26.67%2051.71-27.65%2050.65-28.63%2048.96-28.63L48.96-28.63Q48.39-28.63%2047.79-28.53%2047.19-28.44%2046.65-28.31L46.65-28.31%2046.33-20.46Q46.7-20.41%2047.05-20.41%2047.4-20.41%2047.78-20.41L47.78-20.41Q48.74-20.41%2049.64-20.73%2050.54-21.05%2051.24-21.66%2051.94-22.26%2052.35-23.08%2052.77-23.9%2052.77-24.92Z%22%20transform%3D%22translate%28-1.1800000667572021%2C%2039.369998931884766%29%22%3E%3C%2Fpath%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E";export{a as default};
|
|
3
|
+
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.18, build time: 2024-12-19T13:17:25.344Z, made by Venus. */
|
|
2
|
+
import{createComponentStore as e}from"@vef-framework/shared";import{createStore as r}from"zustand";const{StoreProvider:o,useStore:t,useStoreApi:s}=e("vef-layout",(function(){return r((e=>({siderCollapsed:!1,setSiderCollapsed:r=>e({siderCollapsed:r})})))}));export{o as LayoutStoreProvider,t as useLayoutStore,s as useLayoutStoreApi};
|
|
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.18, build time: 2024-12-19T13:17:25.344Z, made by Venus. */
|
|
2
|
+
import{jsx as e}from"@emotion/react/jsx-runtime";import{css as r}from"@emotion/react";import{themeVariables as o,styles as i}from"@vef-framework/shared";import t from"../vef-spin/index.js";const m=r`
|
|
3
|
+
height: 100%;
|
|
4
|
+
padding: ${o.paddingLg};
|
|
5
|
+
${i.flexCenter}
|
|
6
|
+
`,n=r=>e("div",{css:m,children:e(t,{...r})});export{n as default};
|
|
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,56 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.18, build time: 2024-12-19T13:17:25.344Z, made by Venus. */
|
|
2
|
+
import{jsx as e,jsxs as i}from"@emotion/react/jsx-runtime";import{UserOutlined as t,LockOutlined as r}from"@ant-design/icons";import{css as o}from"@emotion/react";import{themeVariables as n,bmq as l,encryptRsa as s,showSuccessMessage as a,getTodayString as c,styles as d}from"@vef-framework/shared";import{useCallback as p,useState as m,useEffect as g}from"react";import f from"../vef-flex/index.js";import h from"../vef-form/index.js";import{isRequired as u}from"../vef-form/validation-rules.js";import v from"../vef-text/index.js";import x from"../vef-title/index.js";import b from"./login-icon.js";const y=o`
|
|
3
|
+
position: relative;
|
|
4
|
+
height: 100%;
|
|
5
|
+
overflow: hidden;
|
|
6
|
+
|
|
7
|
+
.vef-typography {
|
|
8
|
+
--vef-typography-title-margin-bottom: 0.2em;
|
|
9
|
+
}
|
|
10
|
+
`,$=o`
|
|
11
|
+
flex: none;
|
|
12
|
+
padding-top: calc(${n.paddingXl} * 3);
|
|
13
|
+
text-align: center;
|
|
14
|
+
`,w=o`
|
|
15
|
+
position: absolute;
|
|
16
|
+
top: 0;
|
|
17
|
+
left: 0;
|
|
18
|
+
padding: ${n.padding};
|
|
19
|
+
`,j=o`
|
|
20
|
+
flex: 1;
|
|
21
|
+
height: 100%;
|
|
22
|
+
display: none;
|
|
23
|
+
background-image: linear-gradient(154deg, ${n.blue1} 30%, ${n.geekblue3} 48%, ${n.blue1} 64%);
|
|
24
|
+
${l.md} {
|
|
25
|
+
display: flex;
|
|
26
|
+
}
|
|
27
|
+
`,k=o`
|
|
28
|
+
flex: auto;
|
|
29
|
+
min-height: 0;
|
|
30
|
+
width: 40%;
|
|
31
|
+
`,I=o`
|
|
32
|
+
position: relative;
|
|
33
|
+
height: 100%;
|
|
34
|
+
width: 360px;
|
|
35
|
+
padding: 0 ${n.paddingLg};
|
|
36
|
+
${l.lg} {
|
|
37
|
+
width: 480px;
|
|
38
|
+
padding: 0 calc(${n.paddingXl} * 2);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.vef-form {
|
|
42
|
+
margin-top: ${n.marginXl};
|
|
43
|
+
}
|
|
44
|
+
`,S=o`
|
|
45
|
+
position: absolute;
|
|
46
|
+
bottom: ${n.margin};
|
|
47
|
+
left: 0;
|
|
48
|
+
right: 0;
|
|
49
|
+
text-align: center;
|
|
50
|
+
`,B=o`
|
|
51
|
+
position: absolute;
|
|
52
|
+
top: ${n.margin};
|
|
53
|
+
right: ${n.margin};
|
|
54
|
+
left: ${n.margin};
|
|
55
|
+
`,F=[{key:"default",rows:[{key:"1",columns:[{key:"1",items:[{name:"account",type:"Input",placeholder:"账号",prefix:e(t,{}),rules:[u("请输入账号")]},{name:"password",type:"Input",placeholder:"密码",prefix:e(r,{}),rules:[u("请输入密码")]}]}]}]}];function X(e,i){return s(e,i)}const A=({logo:t,title:r="VEF 中后台管理系统",description:o="一款极度快速的超能系统",loginApi:n,publicKey:l,onLoginSuccess:s})=>{const u=p((e=>l?{...e,password:X(e.password,l)}:e),[l]),A=p((({message:e,data:i})=>{a(e),s(i)}),[s]),[C,E]=m(c());return g((()=>{const e=setInterval((()=>{E(c())}),1e3);return()=>{clearInterval(e)}}),[]),i(f,{css:y,justify:"center",children:[t&&e("div",{css:w,children:t}),i(f,{vertical:!0,align:"center",css:j,children:[i("div",{css:$,children:[e(x,{children:r}),e(v,{children:o})]}),e("div",{css:[k,d.flexCenter],children:e(b,{})})]}),i(f,{vertical:!0,css:I,justify:"center",children:[i("div",{css:B,children:[e(v,{color:"secondary",children:"🕰️ 今天是 "}),e(v,{bold:!0,color:"green",children:C})]}),e(x,{level:2,children:"身份认证 🔑"}),e(v,{color:"secondary",children:"请输入您的账号和密码进行登录"}),e(h,{labelPosition:"left",resetButton:!1,scene:"login",schema:F,size:"large",submitApi:n,submitTip:"登录中...",submissionButton:{text:"登录",block:!0},onBeforeSubmit:u,onSubmitSuccess:A}),e("div",{css:S,children:i(v,{color:"secondary",children:["Copyright ©"," ",(new Date).getFullYear()," ","VEF."]})})]})]})};export{A as default};
|
|
56
|
+
/*! 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.18, build time: 2024-12-19T13:17:25.344Z, made by Venus. */
|
|
2
|
+
import{jsxs as l,jsx as c}from"@emotion/react/jsx-runtime";import{memo as i}from"react";const h=i((function(i){return l("svg",{viewBox:"0 0 700 700",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...i,children:[l("defs",{children:[c("clipPath",{id:"login-icon_svg__u",children:c("use",{xlinkHref:"#login-icon_svg__c"})}),c("clipPath",{id:"login-icon_svg__v",children:c("use",{xlinkHref:"#login-icon_svg__d"})}),c("clipPath",{id:"login-icon_svg__w",children:c("use",{xlinkHref:"#login-icon_svg__e"})}),c("clipPath",{id:"login-icon_svg__x",children:c("use",{xlinkHref:"#login-icon_svg__f"})}),c("clipPath",{id:"login-icon_svg__y",children:c("use",{xlinkHref:"#login-icon_svg__g"})}),c("clipPath",{id:"login-icon_svg__z",children:c("use",{xlinkHref:"#login-icon_svg__h"})}),c("clipPath",{id:"login-icon_svg__A",children:c("use",{xlinkHref:"#login-icon_svg__i"})}),c("clipPath",{id:"login-icon_svg__B",children:c("use",{xlinkHref:"#login-icon_svg__j"})}),c("path",{d:"M311.3 464.9v29.6h9.8v-26.6c-3.5-2.6-7.1-3.1-9.8-3",id:"login-icon_svg__c"}),c("path",{d:"M333.9 319.5s11.1-4 27.7 0 26.5 20.5 27 33.8c.6 13.3-5.4 95.3-27.4 116.1-21.9 20.7-77.3 10.5-88.6 6.2S253 454.2 253 454.2l56.7-40.3 3-86.5z",id:"login-icon_svg__d"}),c("path",{d:"m296.9 315.3-1.3-.1s-13.8.4-18.2 5.8c-4.3 5.4-7.3 30.5-7.3 30.5l8.6 64.5s5.2 9.1 31.4 9.1 36.5-10.7 36.5-10.7l-2.4-30.2s4.4-6.8 5.1-14.2c.7-7.3-6.5-46.4-14.3-52.1s-25.2-3.2-25.2-3.2z",id:"login-icon_svg__e"}),c("path",{d:"m280.3 414.8-1.6 1.2s-47.1 15.2-51.5 29.5 2.6 96.3 2.6 96.3 12.8 10.1 24.1-1l.9-76.6 47.6-17.6 13.8.4s16.5-11.8 17.5-12.6 14-10.1 14-10.1l-8-13.2z",id:"login-icon_svg__f"}),c("path",{d:"M313.8 422.3s-24.9 21.2-27 36.9 0 84.8 0 84.8 16.1 10.7 27 0c0 0-4.5-63.1 5.2-73.8s26.8-20.4 28.9-36.3-1.2-19.6-1.2-19.6l-16.5-2.7z",id:"login-icon_svg__g"}),c("path",{d:"M295.2 301.4s2.3 4.7.4 13.8c0 0 1.4 4.4 6.5 4.3s7.6-4.9 7.6-4.9-2.4-3.9-1.4-12.1l.1-3.1-6.4-4.3z",id:"login-icon_svg__h"}),c("path",{d:"M280.7 276.4s-13.1-.5-5.8-26.9c0 0 6.7 5.1 18.7 5.8s25.3.4 27 21.7c.7 13.8-12.2 25.6-12.2 25.6l-11.7-7.4z",id:"login-icon_svg__i"}),c("path",{d:"M280.1 273.1s-3.6 30 7.4 31.7 18.3-10.9 18.3-10.9 5.5-.7 5-6.5c-.6-5.8-4.9-3.6-4.9-3.6s-4.9-2.1-4.8-7.3c0 0-5.9 1.4-8.6-4.1 0 0-4.5 3.1-9-1.7 0 0-1.2 2.8-3.4 2.4",id:"login-icon_svg__j"}),l("linearGradient",{id:"login-icon_svg__a",children:[c("stop",{offset:0,stopColor:"#b0d8ff"}),c("stop",{offset:.015,stopColor:"#b3d9ff"}),c("stop",{offset:.145,stopColor:"#c4e1ff"}),c("stop",{offset:.301,stopColor:"#d1e7ff"}),c("stop",{offset:.512,stopColor:"#d8eaff"}),c("stop",{offset:1,stopColor:"#daebff"})]}),c("linearGradient",{gradientUnits:"userSpaceOnUse",id:"login-icon_svg__k",x1:128.383,x2:131.427,xlinkHref:"#login-icon_svg__a",y1:74.959,y2:390.046}),l("linearGradient",{gradientTransform:"rotate(-2.292 542.315 401.673)",gradientUnits:"userSpaceOnUse",id:"login-icon_svg__l",x1:101.309,x2:101.309,y1:417.977,y2:484.522,children:[c("stop",{offset:.366,stopColor:"#86cf94"}),c("stop",{offset:.989,stopColor:"#008166"})]}),c("linearGradient",{gradientUnits:"userSpaceOnUse",id:"login-icon_svg__m",x1:391.539,x2:391.539,xlinkHref:"#login-icon_svg__a",y1:112.999,y2:364.581})]}),c("path",{d:"M557.1 189.1h36.4v46.6h-36.4z",fill:"#b0d8ff"}),c("path",{d:"M559.3 191.2h32v42.3h-32z",fill:"#fff"}),c("path",{d:"M595.9 148.7h61.2v75.8h-61.2z",fill:"#b0d8ff"}),c("path",{d:"M599.5 152.1h54.1v69h-54.1z",fill:"#fff"}),c("path",{d:"M247.3 367.5H17c-3 0-5.4-2.4-5.4-5.4V122.3c0-3 2.4-5.4 5.4-5.4h230.3c3 0 5.4 2.4 5.4 5.4v239.8c0 3-2.4 5.4-5.4 5.4",fill:"#b0d8ff"}),c("path",{d:"M243.4 367.5H16.7c-2.8 0-5-2.3-5-5V126.3c0-2.8 2.3-5 5-5h226.7c2.8 0 5 2.3 5 5v236.2c0 2.7-2.2 5-5 5",fill:"url(#login-icon_svg__k)"}),c("path",{d:"M237.9 177.9H23.6c-1 0-1.7-.8-1.7-1.7v-42.6c0-1 .8-1.7 1.7-1.7h214.3c1 0 1.7.8 1.7 1.7v42.6c.1.9-.7 1.7-1.7 1.7",fill:"#d5e1f7"}),c("path",{d:"M236.7 176.7H22.4c-1 0-1.7-.8-1.7-1.7v-42.6c0-1 .8-1.7 1.7-1.7h214.3c1 0 1.7.8 1.7 1.7V175c.1.9-.7 1.7-1.7 1.7",fill:"#fff"}),c("path",{d:"M238.1 359.7H23.7c-1 0-1.7-.8-1.7-1.7v-42.6c0-1 .8-1.7 1.7-1.7H238c1 0 1.7.8 1.7 1.7V358c.1.9-.7 1.7-1.6 1.7",fill:"#d5e1f7"}),c("path",{d:"M236.7 358H22.4c-1 0-1.7-.8-1.7-1.7v-42.6c0-1 .8-1.7 1.7-1.7h214.3c1 0 1.7.8 1.7 1.7v42.6c.1.9-.7 1.7-1.7 1.7",fill:"#fff"}),c("path",{d:"M93.5 324.7H31.4c-1.8 0-3.2-1.4-3.2-3.2s1.4-3.2 3.2-3.2h62.1c1.8 0 3.2 1.4 3.2 3.2s-1.4 3.2-3.2 3.2M230.4 339.8h-199c-1.8 0-3.2-1.4-3.2-3.2s1.4-3.2 3.2-3.2h199c1.8 0 3.2 1.4 3.2 3.2s-1.5 3.2-3.2 3.2",fill:"#d5e1f7"}),c("path",{d:"M232.2 351.6H29.5c-.7 0-1.3-.6-1.3-1.3v-3.7c0-.7.6-1.3 1.3-1.3h202.7c.7 0 1.3.6 1.3 1.3v3.7c.1.7-.5 1.3-1.3 1.3",fill:"#ebf5ff"}),c("path",{d:"M21.9 305V186.9c0-.7.6-1.3 1.3-1.3h43.5c.7 0 1.3.6 1.3 1.3V305c0 .7-.6 1.3-1.3 1.3H23.2c-.7 0-1.3-.6-1.3-1.3",fill:"#d5e1f7"}),c("path",{d:"M21 303.4V185.3c0-.7.6-1.3 1.3-1.3h43.5c.7 0 1.3.6 1.3 1.3v118.2c0 .7-.6 1.3-1.3 1.3H22.3c-.8-.1-1.3-.7-1.3-1.4",fill:"#fff"}),c("path",{d:"M78.1 303.9V188c0-1.3 1.1-2.4 2.4-2.4h157.3c1.3 0 2.4 1.1 2.4 2.4v115.9c0 1.3-1.1 2.4-2.4 2.4H80.5c-1.3 0-2.4-1.1-2.4-2.4",fill:"#d5e1f7"}),c("path",{d:"M76.3 302.3V186.4c0-1.3 1.1-2.4 2.4-2.4H236c1.3 0 2.4 1.1 2.4 2.4v115.9c0 1.3-1.1 2.4-2.4 2.4H78.7c-1.3 0-2.4-1.1-2.4-2.4",fill:"#fff"}),c("path",{d:"M130.9 195.4h-47c-.7 0-1.3-.6-1.3-1.3v-3.9c0-.7.6-1.3 1.3-1.3h47c.7 0 1.3.6 1.3 1.3v3.9c-.1.7-.6 1.3-1.3 1.3",fill:"#00d967"}),c("path",{d:"M229.8 210.5H83.9c-.7 0-1.3-.6-1.3-1.3v-3.8c0-.7.6-1.3 1.3-1.3h145.9c.7 0 1.3.6 1.3 1.3v3.8c0 .7-.6 1.3-1.3 1.3",fill:"#d5e1f7"}),c("path",{d:"M229.8 222.3H83.9c-.7 0-1.3-.6-1.3-1.3v-3.8c0-.7.6-1.3 1.3-1.3h145.9c.7 0 1.3.6 1.3 1.3v3.8c0 .7-.6 1.3-1.3 1.3",fill:"#ebf5ff"}),c("path",{d:"M130.9 234h-47c-.7 0-1.3-.6-1.3-1.3v-3.9c0-.7.6-1.3 1.3-1.3h47c.7 0 1.3.6 1.3 1.3v3.9c-.1.8-.6 1.3-1.3 1.3",fill:"#00d967"}),c("path",{d:"M229.8 249.1H83.9c-.7 0-1.3-.6-1.3-1.3V244c0-.7.6-1.3 1.3-1.3h145.9c.7 0 1.3.6 1.3 1.3v3.8c0 .8-.6 1.3-1.3 1.3",fill:"#d5e1f7"}),c("path",{d:"M229.8 260.9H83.9c-.7 0-1.3-.6-1.3-1.3v-3.8c0-.7.6-1.3 1.3-1.3h145.9c.7 0 1.3.6 1.3 1.3v3.8c0 .7-.6 1.3-1.3 1.3",fill:"#ebf5ff"}),c("path",{d:"M130.9 272.7h-47c-.7 0-1.3-.6-1.3-1.3v-3.9c0-.7.6-1.3 1.3-1.3h47c.7 0 1.3.6 1.3 1.3v3.9c-.1.7-.6 1.3-1.3 1.3",fill:"#00d967"}),c("path",{d:"M229.8 287.8H83.9c-.7 0-1.3-.6-1.3-1.3v-3.8c0-.7.6-1.3 1.3-1.3h145.9c.7 0 1.3.6 1.3 1.3v3.8c0 .7-.6 1.3-1.3 1.3",fill:"#d5e1f7"}),c("path",{d:"M229.8 299.6H83.9c-.7 0-1.3-.6-1.3-1.3v-3.8c0-.7.6-1.3 1.3-1.3h145.9c.7 0 1.3.6 1.3 1.3v3.8c0 .7-.6 1.3-1.3 1.3",fill:"#ebf5ff"}),c("path",{d:"M61.8 225.8h-36c-1 0-1.8-.8-1.8-1.8v-33.1c0-1 .8-1.8 1.8-1.8h36c1 0 1.8.8 1.8 1.8V224c.1 1-.7 1.8-1.8 1.8M61.8 269.3h-36c-1 0-1.8-.8-1.8-1.8v-33.1c0-1 .8-1.8 1.8-1.8h36c1 0 1.8.8 1.8 1.8v33.1c.1 1-.7 1.8-1.8 1.8M124.5 172.2H80.4c-1 0-1.8-.8-1.8-1.8v-9.9c0-1 .8-1.8 1.8-1.8h44.1c1 0 1.8.8 1.8 1.8v9.9c0 .9-.8 1.8-1.8 1.8M71.3 172.2h-44c-1 0-1.8-.8-1.8-1.8v-9.9c0-1 .8-1.8 1.8-1.8h44.1c1 0 1.8.8 1.8 1.8v9.9c0 .9-.8 1.8-1.9 1.8M178.1 172.2H134c-1 0-1.8-.8-1.8-1.8v-9.9c0-1 .8-1.8 1.8-1.8h44.1c1 0 1.8.8 1.8 1.8v9.9c.1.9-.8 1.8-1.8 1.8M231.8 172.2h-44.1c-1 0-1.8-.8-1.8-1.8v-9.9c0-1 .8-1.8 1.8-1.8h44.1c1 0 1.8.8 1.8 1.8v9.9c0 .9-.8 1.8-1.8 1.8M231.6 154H26.1c-1.1 0-2-.9-2-2v-14.9c0-1.1.9-2 2-2h205.5c1.1 0 2 .9 2 2V152c0 1.1-.9 2-2 2",fill:"#daebff"}),c("ellipse",{cx:256.5,cy:565.8,fill:"#e2eefa",rx:64.2,ry:17.3}),c("ellipse",{cx:98.2,cy:538.9,fill:"#e2eefa",rx:30.8,ry:9.6}),c("ellipse",{cx:315.6,cy:545.4,fill:"#e2eefa",rx:52.8,ry:13}),c("ellipse",{cx:613.8,cy:523.6,fill:"#e2eefa",rx:83.2,ry:9.1}),c("ellipse",{cx:450.3,cy:569.4,fill:"#e2eefa",rx:24,ry:7.5}),c("path",{d:"M3 495.3h657v4.4H3z",fill:"#d3e2f9"}),c("path",{d:"M692.3 523.9H537.5c-1.9 0-3.4-1.5-3.4-3.4V261.1c0-1.9 1.5-3.4 3.4-3.4h154.8c1.9 0 3.4 1.5 3.4 3.4v259.4c.1 1.9-1.5 3.4-3.4 3.4",fill:"#d1e3ff"}),c("path",{d:"M548.9 452.9H615v55.7h-66.1z",fill:"#e3eeff"}),c("path",{d:"M614.9 452.9h65.5v55.7h-65.5z",fill:"#e3eeff"}),c("path",{d:"M548.9 271.8h131.6V320H548.9zM548.9 332.2h131.6v48.2H548.9zM548.9 392.6h131.6v48.2H548.9z",fill:"#f5fcff"}),c("ellipse",{cx:600.6,cy:469.5,fill:"#d1e3ff",rx:4.7,ry:4.4}),c("ellipse",{cx:630.1,cy:469.5,fill:"#d1e3ff",rx:4.7,ry:4.4}),l("g",{stroke:"#b6d4ff",strokeMiterlimit:10,children:[c("path",{d:"M552.2 282.6h11v36.7h-11zM563.2 282.6h11v36.7h-11zM574.3 282.6h11v36.7h-11zM585.3 282.6h11v36.7h-11zM596.3 282.6h11v36.7h-11zM617.3 343.4h11v36.7h-11zM628.3 343.4h11v36.7h-11zM600.847 359.237v10.5h-38.6v-10.5zM604.526 348.701v10.5h-38.6v-10.5z",fill:"#d1e3ff",strokeWidth:.221}),c("path",{d:"M605.166 369.676v10.5h-38.6v-10.5zM639.3 343.4h11v36.7h-11zM650.3 343.4h11v36.7h-11zM661.3 343.4h11v36.7h-11zM560.1 404h11v36.7h-11zM571.1 404h11v36.7h-11zM582.1 404h11v36.7h-11zM593.1 404h11v36.7h-11zM604.1 404h11v36.7h-11zM631.3 316.4l-10.4 3.6-13.4-34.5 10.4-3.6zM643.1 316.4l-10.3 3.6-13.4-34.5 10.3-3.6z",fill:"#d1e3ff",strokeWidth:.221}),c("path",{d:"m664.9 313-8.8 6.3-23.3-29.3 8.8-6.3z",fill:"#d1e3ff",strokeWidth:.221}),c("ellipse",{cx:649,cy:414.6,fill:"#d1e3ff",rx:16.5,ry:15.7,strokeWidth:.221}),c("path",{d:"M649 433.5c-11 0-19.9-8.5-19.9-18.9s8.9-18.9 19.9-18.9",fill:"none",strokeWidth:.515}),c("path",{d:"M636.5 437.6h23.9v3.1h-23.9z",fill:"#d1e3ff",strokeWidth:.221}),c("path",{d:"M647.5 429.3h1.6v9h-1.6z",fill:"#d1e3ff",strokeWidth:.221})]}),c("path",{d:"M115.1 499.1s23.9-1.3 23.9-6.1c0-3.8-14.6-.6-14.6-.6s16-4.6 23.3-8.4c1.6-.8 3.3-1.7 4.4-3.2 1.1-1.4 1.6-3.5.7-5.1-1.2-2.1-4.2-2.3-6.7-2-9.8 1.2-16.7 6.4-25.6 10.9 6.5-3.3 12.2-7.4 17.6-12.2 5-4.4 10.7-8.6 14-14.5 2.1-3.7 2.9-9.2-.8-12.3-3.6-3-8.7-1.6-12.6-.2-10.5 3.7-19.7 11-25.7 20.3 1.6-4.4 2.8-8.8 3.6-13.4.3-1.8.5-4.1-1-5.2-2-1.4-4.6.5-6.1 2.3-3.7 4.5-6.5 9.8-8.3 15.4 1.2-12.5 2.4-25.3-.3-37.6-.6-2.8-1.5-5.6-3.2-7.9-1.8-2.3-4.6-3.9-7.4-3.6-2.7.3-4.9 2.2-6.8 4.2-5.9 6.5-9.3 15.2-9.5 24s2.8 17.6 8.3 24.4c-2.9-3.1-6.2-5.7-9.8-8-.8-.5-2-.9-2.6-.2-.3.4-.3.9-.3 1.4.5 6 4.5 10.9 8.4 15.5-7.8-9-19.9-14.1-31.8-13.2-1.4.1-3.1.4-3.8 1.7-.4.7-.4 1.6-.4 2.4.6 6 5.9 10.3 11.1 13.3 4.4 2.6 8.9 4.7 13.5 6.8-2.6-.4-5.3-.5-7.9-.3-.6 0-1.3.1-1.6.6-.7.9.3 2.1 1.2 2.8 6.6 4.8 15 7.1 23.1 6.5",fill:"#00d967"}),c("path",{d:"M142.2 454.6c.3-.2.6.3.3.5-7.6 5.7-14.6 12.2-20.8 19.4-6.3 7.3-11.3 15.2-16.2 23.4-.2.3-.6.1-.5-.3 8.2-17.1 22-32 37.2-43m-34.3 6.1c-4.4 11.2-7 25.2-6.1 37.3 0 .3.5.3.5 0 .2-12.1 2-25.6 6.3-37 0-.4-.6-.6-.7-.3m-15.2-24.6c-2.1 20.5-.4 42.4 5.1 62.2.1.3.6.2.5-.2-2.1-10.4-4-20.8-4.8-31.4-.8-10.2-.7-20.4-.4-30.6 0-.2-.3-.2-.4 0m-18.5 30.6c6.2 8.7 13 24.9 21.1 32 .3.3.7-.2.5-.5-7.3-8-14.5-23.1-21-31.8-.3-.3-.8 0-.6.3m66.4 13.5c-12.2 5.5-24.8 12-35.2 20.6-.3.3 0 .8.4.6 11.4-7.6 22.4-15 35-20.7.2-.1.1-.6-.2-.5m-76-1.5c8.9 5.3 18.4 16.7 28.1 20.4.3.1.6-.3.2-.5-9.4-4.6-19-15.2-28.1-20.4-.2-.1-.5.4-.2.5",fill:"url(#login-icon_svg__l)",opacity:.45}),c("path",{d:"M75.9 497.7h52v43.5h-52z",fill:"#b0d8ff"}),c("path",{d:"M117.7 497.7h10.2v43.5h-10.2z",fill:"#daebff"}),c("path",{d:"M511.9 340.1H275.6c-2.6 0-4.8-2.1-4.8-4.8V150.9c0-2.6 2.1-4.8 4.8-4.8h236.3c2.6 0 4.8 2.1 4.8 4.8v184.4c-.1 2.6-2.2 4.8-4.8 4.8",fill:"#b0d8ff"}),c("path",{d:"M507.6 340.1H275.5c-2.6 0-4.7-2.1-4.7-4.7V155.5c0-2.6 2.1-4.7 4.7-4.7h232.1c2.6 0 4.7 2.1 4.7 4.7v179.9c-.1 2.6-2.2 4.7-4.7 4.7",fill:"url(#login-icon_svg__m)"}),c("path",{d:"M340 170.4h-27.1c-.9 0-1.7-.9-1.7-2s.8-2 1.7-2H340c.9 0 1.7.9 1.7 2s-.7 2-1.7 2",fill:"#00d967"}),c("path",{d:"M366.5 188.2h-46c-.9 0-1.7-.9-1.7-2s.8-2 1.7-2h46c.9 0 1.7.9 1.7 2 0 1.2-.8 2-1.7 2",fill:"#006dfe"}),c("path",{d:"M385 188.2h70.1c.9 0 1.7-.9 1.7-2s-.8-2-1.7-2H385c-.9 0-1.7.9-1.7 2 0 1.2.8 2 1.7 2",fill:"#00d967"}),c("path",{d:"M366.5 206.1h-46c-.9 0-1.7-.9-1.7-2s.8-2 1.7-2h46c.9 0 1.7.9 1.7 2s-.8 2-1.7 2",fill:"#006dfe"}),c("path",{d:"M358.9 223.9h-46c-.9 0-1.7-.9-1.7-2s.8-2 1.7-2h46c.9 0 1.7.9 1.7 2s-.8 2-1.7 2",fill:"#00d967"}),c("path",{d:"M456.4 223.9h-78.9c-.9 0-1.7-.9-1.7-2s.8-2 1.7-2h78.9c.9 0 1.7.9 1.7 2s-.8 2-1.7 2M406.2 206.1H383c-.9 0-1.7-.9-1.7-2s.8-2 1.7-2h23.2c.9 0 1.7.9 1.7 2s-.7 2-1.7 2M447 206.1h-23.2c-.9 0-1.7-.9-1.7-2s.8-2 1.7-2H447c.9 0 1.7.9 1.7 2s-.8 2-1.7 2M343.7 241.8h-30.2c-.9 0-1.7-.9-1.7-2s.8-2 1.7-2h30.2c.9 0 1.7.9 1.7 2s-.8 2-1.7 2",fill:"#006dfe"}),c("path",{d:"M406.3 241.8h-46c-.9 0-1.7-.9-1.7-2s.8-2 1.7-2h46c.9 0 1.7.9 1.7 2s-.8 2-1.7 2",fill:"#00d967"}),c("path",{d:"M439.8 241.8h-17.2c-.9 0-1.7-.9-1.7-2s.8-2 1.7-2h17.2c.9 0 1.7.9 1.7 2s-.7 2-1.7 2M372.1 259.6h-26.9c-.9 0-1.7-.9-1.7-2s.8-2 1.7-2h26.9c.9 0 1.7.9 1.7 2s-.7 2-1.7 2M436.5 259.6h-46c-.9 0-1.7-.9-1.7-2s.8-2 1.7-2h46c.9 0 1.7.9 1.7 2s-.7 2-1.7 2M421.8 277.4h-86.1c-.9 0-1.7-.9-1.7-2s.8-2 1.7-2h86.1c.9 0 1.7.9 1.7 2 0 1.2-.8 2-1.7 2M486.2 277.4h-52c-.9 0-1.7-.9-1.7-2s.8-2 1.7-2h52c.9 0 1.7.9 1.7 2 0 1.2-.7 2-1.7 2M358.9 295.3h-46c-.9 0-1.7-.9-1.7-2s.8-2 1.7-2h46c.9 0 1.7.9 1.7 2s-.8 2-1.7 2",fill:"#006dfe"}),c("path",{d:"M414.5 295.3h-46c-.9 0-1.7-.9-1.7-2s.8-2 1.7-2h46c.9 0 1.7.9 1.7 2s-.7 2-1.7 2",fill:"#00d967"}),c("path",{d:"M418.9 313.1h-69.8c-.9 0-1.7-.9-1.7-2s.8-2 1.7-2h69.8c.9 0 1.7.9 1.7 2s-.7 2-1.7 2M288.8 166.4h3.4v4h-3.4zM288.8 184.3h3.4v4h-3.4zM288.8 202.1h3.4v4h-3.4zM288.8 219.9h3.4v4h-3.4zM288.8 237.8h3.4v4h-3.4zM288.8 255.6h3.4v4h-3.4zM288.8 264.5h3.4v4h-3.4zM288.8 273.5h3.4v4h-3.4zM288.8 282.4h3.4v4h-3.4zM288.8 291.3h3.4v4h-3.4zM288.8 300.2h3.4v4h-3.4zM288.8 309.1h3.4v4h-3.4zM288.8 318.1h3.4v4h-3.4zM468.4 321.2l-12.3-6.2c-.4-.2-.6-.6-.6-1.1v-1.3c0-.5.2-.9.6-1.1l12.3-6.2c.7-.3 1.4.2 1.4 1.1v.5c0 .5-.3.9-.6 1.1l-8.5 4.1c-.9.4-.9 1.8 0 2.2l8.5 4.1c.4.2.6.6.6 1.1v.5c.1 1-.7 1.6-1.4 1.2M479.6 301.9l-5.7 23.2c-.1.5-.5.9-1 .9-.7 0-1.2-.8-1-1.6l5.7-23.2c.1-.5.5-.9 1-.9.7 0 1.2.8 1 1.6M495.4 315.1l-12.3 6.2c-.7.3-1.4-.2-1.4-1.1v-.5c0-.5.3-.9.6-1.1l8.5-4.1c.9-.4.9-1.8 0-2.2l-8.5-4.1c-.4-.2-.6-.6-.6-1.1v-.5c0-.9.8-1.5 1.4-1.1l12.3 6.2c.4.2.6.6.6 1.1v1.3c.1.3-.2.8-.6 1",fill:"#006dfe"}),c("use",{fill:"#b0d8ff",xlinkHref:"#login-icon_svg__c"}),c("path",{clipPath:"url(#login-icon_svg__u)",d:"M309 470.5s8.4 1.5 13.2 10.4c4.8 9 8.8-1 7.9-5.1s-.4-8.3-2.9-11.4-7.2-7.6-13.7-5.9-7.3.8-6.9 4.6c.4 3.9 1 8 1 8",opacity:.34}),c("ellipse",{cx:280.6,cy:541,fill:"#191e56",rx:7.5,ry:8.3}),c("path",{d:"M324.2 548.5c0 4.6-3.4 8.3-7.5 8.3-4.2 0-7.5-3.7-7.5-8.3s3.4-8.3 7.5-8.3 7.5 3.7 7.5 8.3M359.8 541c0 4.6-3.4 8.3-7.5 8.3-4.2 0-7.5-3.7-7.5-8.3s3.4-8.3 7.5-8.3 7.5 3.7 7.5 8.3",fill:"#191e56"}),c("path",{d:"M309.5 494.3s6.6-2.7 13.6 0l.2 9.4 34.2 28.2v6.7h-10.1l-.1-5.2-26.3-20.3.2 25.6-1.3 6h-6.8l-1.3-6-.3-25-26.1 19.6-.1 5-9.4.1v-7.1l33.6-27.4v-5.7z",fill:"#0542bf"}),c("use",{fill:"#006dfe",xlinkHref:"#login-icon_svg__d"}),c("path",{clipPath:"url(#login-icon_svg__v)",d:"M336 315.5s10.5 1.8 16.1 14.8 4.4 32.4 2.9 57.6 5.8 25.8 6.6 43.3-3.3 34-26.4 41.9c-23.1 7.8-42.5 11.4-72.2 6.6l-22.1-25.2 10.7-49.1s20-20 22.5-35.1c2.5-15 21.9-52.5 29.7-58s32.2 3.2 32.2 3.2",fill:"#004efc"}),c("use",{fill:"#ffab00",xlinkHref:"#login-icon_svg__e"}),c("path",{clipPath:"url(#login-icon_svg__w)",d:"M327.2 327.4s-3.6 4.2-2.3 12c1.3 7.7 7 18.6 4.8 22.7s-6.3 11-5.4 12.6 2.7 2.5 2.7 2.5l11.8 7.5s3.1.9 5.3-.6l1.5.4-34.8 18.7-4-5.8s12.6-13.7 13.8-18.3c1.1-4.6.3-5 2.9-9.6s5.2-7.6 3.5-12.7-4.7-13.4-4.1-18.3 1-7.9 4.3-11.1M281.4 328s-2.2 9.1.1 20.2 8.2 39.8 8.2 39.8l1.4-.7c0 .1-9.7-48.9-9.7-59.3",fill:"#fe8e00"}),c("path",{d:"M250 538.1s-.8 6.6-.8 12c0 5.3 3.6 9.6 1.8 14.6-1.9 5-17.1 5.2-28 6.4-10.9 1.3-20.5-1-19.1-9.2s19-4.9 25.9-15.1c6.9-10.1 4.8-11.8 4.8-11.8zM308.2 543.2s-.8 6.6-.8 12c0 5.3 3.6 9.6 1.8 14.6-1.9 5-17.1 5.2-28 6.4-10.9 1.3-20.5-1-19.1-9.2s19-4.9 25.9-15.1c6.9-10.1 4.8-11.8 4.8-11.8z",fill:"#ffab00"}),c("use",{fill:"#1e2889",xlinkHref:"#login-icon_svg__f"}),c("path",{clipPath:"url(#login-icon_svg__x)",d:"M225.7 436.9s19.1 4.3 22.6 28 7.6 41.1 7.6 41.1l9.7-34.8 34-18.2 21.1-16.6 10.7-24.5-16.9-8.9-51.4 4.3-27 14z",fill:"#1a1a7c"}),c("use",{fill:"#1e2889",xlinkHref:"#login-icon_svg__g"}),c("path",{clipPath:"url(#login-icon_svg__y)",d:"M282.4 491c.6-1.9 9.3-37.1 45.2-28.9l11.3-5.4s14.8-12.2 15.8-13.8c1.1-1.5.2-14 .3-15.7.2-1.7 0-19.9 0-19.9l-71.1-1.7 1 25.4-2.5 38.8z",fill:"#1a1a7c"}),c("path",{d:"M118.4 580.7V414.4c0-.3.2-.5.5-.5h4.6c.3 0 .5.2.5.5v166.3c0 .3-.2.5-.5.5h-4.6c-.3 0-.5-.2-.5-.5M392.3 580.7V414.4c0-.3.2-.5.5-.5h4.6c.3 0 .5.2.5.5v166.3c0 .3-.2.5-.5.5h-4.6c-.2 0-.5-.2-.5-.5M186.9 559.7l-10.2-146.9c0-.6.4-1.1 1-1.2l3.3-.2c.6 0 1.1.4 1.2 1l10.2 146.9c0 .6-.4 1.1-1 1.2l-3.3.2c-.7.1-1.2-.4-1.2-1M452 559.7l-10.2-146.9c0-.6.4-1.1 1-1.2l3.3-.2c.6 0 1.1.4 1.2 1l10.2 146.9c0 .6-.4 1.1-1 1.2l-3.3.2c-.7.1-1.2-.4-1.2-1",fill:"#191e56"}),c("path",{d:"M456.5 419.4H108.3c-.6 0-1-.4-1-1v-9.1c0-.6.4-1 1-1h348.3c.6 0 1 .4 1 1v9.1c-.1.6-.5 1-1.1 1",fill:"#0542bf"}),c("path",{d:"M359.7 382H432v8.8h-72.3z",fill:"#ffab00"}),c("path",{d:"M361.6 390.8h72.3v8.8h-72.3z",fill:"#00d967"}),c("path",{d:"M358.1 399.5h72.3v8.8h-72.3z",fill:"#de4d30"}),c("path",{d:"m187.5 299.9 3.9 5.4c1.8-3.8 5.6-5.5 8-6.3l-5.4-4.1s-.9 0-2.1.3c-1.5.5-3.3 1.6-4.2 4.3-.1.2-.1.3-.2.4",fill:"#9bb4c9"}),c("path",{d:"M133.7 345.5c0 2.5 1.8 4.6 4.1 5.2.4.1.8.1 1.2.1s.7 0 1-.1c2.4-.5 4.3-2.6 4.3-5.2 0-1-.3-1.9-.7-2.6-.4-.6-.9-1.2-1.5-1.6-.9-.7-2-1-3.2-1-2.8-.2-5.2 2.2-5.2 5.2M181.4 294.3c0 1 .3 2 .8 2.8.4.6.9 1.2 1.5 1.6.8.6 1.9.9 3 .9.3 0 .7 0 1-.1.9-2.7 2.8-3.8 4.2-4.3.1-.3.1-.6.1-.9 0-2.9-2.4-5.3-5.3-5.3-3 0-5.3 2.4-5.3 5.3",fill:"#4143c5"}),c("path",{d:"M142.1 341.2c.6.4 1.1 1 1.5 1.6l22.8-25.1 4.8-5.2 7-7.7 5.5-6.1c-.6-.4-1.1-.9-1.5-1.6l-6.6 7.2-4.6 5.1-4.9 5.4z",fill:"#9bb4c9"}),c("path",{d:"M130.9 403.9v-.1c17.6-6.5 32.5-.5 33.7 0-3.5.9-16.7 3.8-33.7.1",fill:"#4143c5"}),c("path",{d:"m137.8 350.6 7.9 45.4 1.1 6 .1.6 2.1-.4v-.2l-1.1-6.2-7.9-45.2c-.3.1-.7.1-1 .1-.4.1-.8 0-1.2-.1",fill:"#9bb4c9"}),c("path",{d:"m190.7 308 5.4 12.1.9 2.1 8.1-6.9 7.3-6.8 4.4-4.1-1.5-1.3h-.1l-13.5-5.8s-.9.1-2.1.5c-2.4.7-6.2 2.4-8 6.3-.2.4-.4.9-.5 1.4-.2.7-.3 1.5-.4 2.5",fill:"#4143c5"}),c("path",{d:"M211.2 317.7c5.4-5.1 7.7-11.3 5.3-13.9-2.5-2.6-8.8-.7-14.2 4.4s-7.7 11.3-5.3 13.9c2.5 2.7 8.8.7 14.2-4.4M130.9 403.9h33.7v4.4h-33.7z",fill:"#859ad0"}),c("path",{d:"M476.3 514.8c0 .4-.1.8-.2 1.1-1.7 4.3-12.9 7.7-26.4 7.7-13.7 0-25-3.4-26.5-7.8l-.2-1c0-4.9 11.9-8.8 26.7-8.8 14.7 0 26.6 4 26.6 8.8",fill:"#191e56"}),c("path",{d:"m476.1 516-9.2 54.1c-16.8 9.5-34.5 0-34.5 0l-9.2-54.3c1.5 4.4 12.8 7.8 26.5 7.8 13.5 0 24.7-3.3 26.4-7.6",fill:"#0542bf"}),c("use",{fill:"#ffaca6",xlinkHref:"#login-icon_svg__h"}),c("path",{clipPath:"url(#login-icon_svg__z)",d:"M294.9 307.3s8.9-1.8 16.6 4.3c0 0 .5-13.1.9-13.5.3-.4-14.3-7-14.3-7s-5.2 3.1-5.3 5.5c-.2 2.5 2.1 10.7 2.1 10.7",fill:"#ea756c"}),c("use",{fill:"#1e2889",xlinkHref:"#login-icon_svg__i"}),c("path",{clipPath:"url(#login-icon_svg__A)",d:"M271.2 267.3s.2 1.5 6 0 13.1-3.9 22.7 2.3 13.2 19.1 20.8 17.6l-5.7 12.2-12.4 8s-19.8-5.7-20.6-7.9-6.4-15.5-7.2-17.5-2-7.1-2-7.1z",fill:"#172272"}),c("use",{fill:"#ffaca6",xlinkHref:"#login-icon_svg__j"}),c("path",{clipPath:"url(#login-icon_svg__B)",d:"M278.1 277s6.9.6 13.6 2 10.2 11.1 17.2 10c7.1-1.2 4-5 4-5l-6.6-8.9-15.4-5-9.3-1.5-3.8 3.1z",fill:"#ea756c"}),c("path",{d:"M327 377.2s-11.3 11.9-19.9 14.9-12.7 0-16.1 6.9l-.7 1.5s12.4 4 21.3-.4l27.2-15.4z",fill:"#ffaca6"}),c("path",{d:"M225.7 400.9h101.8v7.4H225.7z",fill:"#78c2ff"}),c("path",{d:"M300.5 408.3h-88.7L199 346.1h88.7z",fill:"#b0d8ff"}),c("path",{d:"M293.9 408.3h-88.7l-12.9-62.2H281z",fill:"#78c2ff"}),c("path",{d:"M456.5 375.6h44.2v19.5h-44.2z",fill:"#daebff"}),c("path",{d:"M474.3 395.2h44.2v19.5h-44.2z",fill:"#ebf5ff"}),c("ellipse",{cx:239.6,cy:372,fill:"#fff",rx:8.3,ry:9.2,transform:"rotate(-8.069 239.64 372.176)"})]})}));export{h as default};
|
|
3
|
+
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.18, build time: 2024-12-19T13:17:25.344Z, made by Venus. */
|
|
2
|
+
import{jsx as e}from"@emotion/react/jsx-runtime";import{useNormalizedMenuItems as t}from"@vef-framework/hooks";import{isFunction as n}from"@vef-framework/shared";import{Menu as l}from"antd";import{useMemo as o}from"react";function i({defaultOpenedKeys:i,openedKeys:a,orientation:s="vertical",inlineCollapsed:r=!1,inlineIndent:c=16,inlineExpansion:d=!1,items:m,selectable:f=!0,deselectable:p=!1,multiple:y=!1,defaultSelectedKeys:u,selectedKeys:k,appearance:K,onClick:h,onChange:v,onSelect:C,onDeselect:b}){const S=t(m),[x,P,w]=o((()=>{const e=n(h)?({key:e,keyPath:t})=>h(e,t):void 0,t=n(v);return[e,n(C)||t?({key:e,keyPath:t,selectedKeys:n})=>{v?.(n),C?.(e,t)}:void 0,n(b)||t?({key:e,keyPath:t,selectedKeys:n})=>{v?.(n),b?.(e,t)}:void 0]}),[h,v,C,b]);return e(l,{defaultOpenKeys:i,defaultSelectedKeys:u,inlineCollapsed:r,inlineIndent:c,items:S,mode:"vertical"===s?d?"inline":"vertical":"horizontal",multiple:y,openKeys:a,selectable:f,selectedKeys:k,theme:K,unselectable:p?"on":"off",onClick:x,onDeselect:w,onSelect:P})}export{i as default};
|
|
3
|
+
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|