@vef-framework/components 1.0.8 → 1.0.9
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/README.md +1 -1
- package/dist/index.d.ts +15 -2
- package/dist/index.js +2 -2
- package/dist/internal/index.js +1 -1
- package/dist/internal/utils.js +1 -1
- package/dist/vef-access-denied/access-denied-icon.d.ts +1 -1
- package/dist/vef-access-denied/access-denied-icon.js +1 -1
- package/dist/vef-access-denied/index.js +1 -1
- package/dist/vef-action-buttons/index.js +1 -1
- package/dist/vef-app/helper.d.ts +10 -0
- package/dist/vef-app/helper.js +3 -0
- package/dist/vef-app/index.d.ts +5 -0
- package/dist/vef-app/index.js +3 -0
- package/dist/vef-app/props.d.ts +7 -0
- package/dist/vef-auto-sizer/index.d.ts +5 -0
- package/dist/vef-auto-sizer/index.js +3 -0
- package/dist/vef-auto-sizer/props.d.ts +5 -0
- package/dist/vef-avatar/index.d.ts +5 -0
- package/dist/vef-avatar/index.js +3 -0
- package/dist/vef-avatar/props.d.ts +11 -0
- package/dist/vef-avatar-group/index.d.ts +5 -0
- package/dist/vef-avatar-group/index.js +3 -0
- package/dist/vef-avatar-group/props.d.ts +15 -0
- package/dist/vef-badge/index.js +1 -1
- package/dist/vef-bool/hooks/use-bool-instance.js +1 -1
- package/dist/vef-bool/index.js +1 -1
- package/dist/vef-button/components/base-button.js +1 -1
- package/dist/vef-button/index.js +1 -1
- package/dist/vef-card/index.js +1 -1
- package/dist/vef-card-meta/index.js +1 -1
- package/dist/vef-checkbox/hooks/use-checkbox-instance.js +1 -1
- package/dist/vef-checkbox/hooks/use-data-options.d.ts +1 -1
- package/dist/vef-checkbox/hooks/use-data-options.js +1 -1
- package/dist/vef-checkbox/index.js +1 -1
- package/dist/vef-col/index.js +1 -1
- package/dist/vef-color-picker/index.js +1 -1
- package/dist/vef-compact/index.js +1 -1
- package/dist/vef-config-provider/hooks/use-ui-config.d.ts +3 -5
- package/dist/vef-config-provider/hooks/use-ui-config.js +2 -2
- package/dist/vef-config-provider/index.js +15 -23
- package/dist/vef-config-provider/reset-style.js +1 -1
- package/dist/vef-config-provider/store.d.ts +14 -9
- package/dist/vef-config-provider/store.js +2 -2
- package/dist/vef-container/index.js +1 -1
- package/dist/vef-crud-page/components/crud-actions.js +1 -1
- package/dist/vef-crud-page/components/crud-filter.js +1 -1
- package/dist/vef-crud-page/components/crud-footer.js +4 -4
- package/dist/vef-crud-page/components/crud-form-modal.js +1 -1
- package/dist/vef-crud-page/components/crud-header.js +1 -1
- package/dist/vef-crud-page/components/crud-table.d.ts +2 -2
- package/dist/vef-crud-page/components/crud-table.js +2 -2
- package/dist/vef-crud-page/hooks/use-action-buttons.js +2 -2
- package/dist/vef-crud-page/hooks/use-crud-context.js +1 -1
- package/dist/vef-crud-page/hooks/use-crud-schema.d.ts +2 -2
- package/dist/vef-crud-page/hooks/use-crud-schema.js +1 -1
- package/dist/vef-crud-page/hooks/use-operation-buttons.js +2 -2
- package/dist/vef-crud-page/index.d.ts +3 -3
- package/dist/vef-crud-page/index.js +1 -1
- package/dist/vef-crud-page/props.d.ts +1 -1
- package/dist/vef-crud-page/store.js +1 -1
- package/dist/vef-divider/index.js +2 -2
- package/dist/vef-divider/props.d.ts +3 -3
- package/dist/vef-drawer/components/action-button-wrapper.d.ts +1 -2
- package/dist/vef-drawer/components/action-button-wrapper.js +1 -1
- package/dist/vef-drawer/components/button-props.js +1 -1
- package/dist/vef-drawer/components/cancel-action-button.js +1 -1
- package/dist/vef-drawer/components/ok-action-button.js +2 -2
- package/dist/vef-drawer/context.js +1 -1
- package/dist/vef-drawer/index.js +1 -1
- package/dist/vef-dropdown/index.d.ts +4 -1
- package/dist/vef-dropdown/index.js +2 -2
- package/dist/vef-dropdown/props.d.ts +28 -35
- package/dist/vef-dynamic-icon/index.d.ts +5 -0
- package/dist/vef-dynamic-icon/index.js +3 -0
- package/dist/vef-dynamic-icon/props.d.ts +20 -0
- package/dist/vef-dynamic-icon/props.js +3 -0
- package/dist/vef-empty/index.d.ts +1 -1
- package/dist/vef-empty/index.js +2 -2
- package/dist/vef-empty/props.d.ts +16 -1
- package/dist/vef-empty-placeholder/index.js +5 -5
- package/dist/vef-error/error-icon.d.ts +1 -1
- package/dist/vef-error/error-icon.js +1 -1
- package/dist/vef-error/index.js +1 -1
- package/dist/vef-filter/components/action-buttons.js +7 -7
- package/dist/vef-filter/components/advanced-filter.js +4 -4
- package/dist/vef-filter/components/basic-filter.js +1 -1
- package/dist/vef-filter/components/fields/index.js +1 -1
- package/dist/vef-filter/components/fields/input-number.js +1 -1
- package/dist/vef-filter/components/fields/input.js +1 -1
- package/dist/vef-filter/components/filter-field.js +1 -1
- package/dist/vef-filter/components/filter-item.d.ts +1 -1
- package/dist/vef-filter/components/filter-item.js +1 -1
- package/dist/vef-filter/event.js +1 -1
- package/dist/vef-filter/helper.js +1 -1
- package/dist/vef-filter/hooks/use-action-handlers.js +1 -1
- package/dist/vef-filter/hooks/use-computed-values.js +1 -1
- package/dist/vef-filter/hooks/use-filter-context.js +1 -1
- package/dist/vef-filter/hooks/use-filter-initialization.d.ts +1 -1
- package/dist/vef-filter/hooks/use-filter-initialization.js +1 -1
- package/dist/vef-filter/hooks/use-filter-instance.js +1 -1
- package/dist/vef-filter/hooks/use-filter-items.js +1 -1
- package/dist/vef-filter/hooks/use-filter-values-change.d.ts +1 -1
- package/dist/vef-filter/hooks/use-filter-values-change.js +1 -1
- package/dist/vef-filter/hooks/use-label-config.js +1 -1
- package/dist/vef-filter/index.d.ts +3 -4
- package/dist/vef-filter/index.js +1 -1
- package/dist/vef-filter/props.d.ts +2 -3
- package/dist/vef-filter/store.d.ts +1 -1
- package/dist/vef-filter/store.js +1 -1
- package/dist/vef-flex/index.js +1 -1
- package/dist/vef-float-button/index.js +1 -1
- package/dist/vef-float-button-group/index.js +1 -1
- package/dist/vef-form/components/fields/index.js +1 -1
- package/dist/vef-form/components/fields/input-number.js +1 -1
- package/dist/vef-form/components/fields/input.js +1 -1
- package/dist/vef-form/components/form-actions.js +1 -1
- package/dist/vef-form/components/form-content.d.ts +6 -1
- package/dist/vef-form/components/form-content.js +4 -4
- package/dist/vef-form/components/form-field.js +1 -1
- package/dist/vef-form/components/form-group.d.ts +3 -3
- package/dist/vef-form/components/form-group.js +1 -1
- package/dist/vef-form/components/form-hidden-item.js +1 -1
- package/dist/vef-form/components/form-item.d.ts +1 -1
- package/dist/vef-form/components/form-item.js +1 -1
- package/dist/vef-form/components/form-row.d.ts +2 -2
- package/dist/vef-form/components/form-row.js +1 -1
- package/dist/vef-form/event.js +1 -1
- package/dist/vef-form/helper.js +1 -1
- package/dist/vef-form/hooks/use-action-handlers.js +1 -1
- package/dist/vef-form/hooks/use-columns-layout.d.ts +2 -2
- package/dist/vef-form/hooks/use-columns-layout.js +1 -1
- package/dist/vef-form/hooks/use-computed-values.js +1 -1
- package/dist/vef-form/hooks/use-form-context.js +1 -1
- package/dist/vef-form/hooks/use-form-initialization.d.ts +1 -1
- package/dist/vef-form/hooks/use-form-initialization.js +1 -1
- package/dist/vef-form/hooks/use-form-instance.js +1 -1
- package/dist/vef-form/hooks/use-form-values-change.d.ts +1 -1
- package/dist/vef-form/hooks/use-form-values-change.js +1 -1
- package/dist/vef-form/hooks/use-label-width.js +1 -1
- package/dist/vef-form/index.d.ts +3 -4
- package/dist/vef-form/index.js +4 -4
- package/dist/vef-form/props.d.ts +3 -4
- package/dist/vef-form/store.js +1 -1
- package/dist/vef-form/types.d.ts +10 -10
- package/dist/vef-form/validation-rules.d.ts +1 -1
- package/dist/vef-form/validation-rules.js +1 -1
- package/dist/vef-form-drawer/index.d.ts +2 -2
- package/dist/vef-form-drawer/index.js +1 -1
- package/dist/vef-form-modal/index.d.ts +2 -2
- package/dist/vef-form-modal/index.js +1 -1
- package/dist/vef-generic-select/index.d.ts +4 -0
- package/dist/vef-generic-select/index.js +3 -0
- package/dist/vef-generic-select/props.d.ts +60 -0
- package/dist/vef-grid/index.js +1 -1
- package/dist/vef-grid/props.js +1 -1
- package/dist/vef-grid-item/index.js +1 -1
- package/dist/vef-icon/index.js +2 -2
- package/dist/vef-icon/props.d.ts +6 -2
- package/dist/vef-icon-select/index.d.ts +5 -0
- package/dist/vef-icon-select/index.js +42 -0
- package/dist/vef-icon-select/props.d.ts +43 -0
- package/dist/vef-input/hooks/use-input-instance.js +2 -2
- package/dist/vef-input/index.js +1 -1
- package/dist/vef-input/props.d.ts +8 -0
- package/dist/vef-input-number/hooks/use-input-number-instance.js +1 -1
- package/dist/vef-input-number/index.js +1 -1
- package/dist/vef-layout/components/content.d.ts +3 -0
- package/dist/vef-layout/components/content.js +3 -0
- package/dist/vef-layout/components/font-size.d.ts +3 -0
- package/dist/vef-layout/components/font-size.js +6 -0
- package/dist/vef-layout/components/fullscreen.d.ts +3 -0
- package/dist/vef-layout/components/fullscreen.js +6 -0
- package/dist/vef-layout/components/header-action-icons.d.ts +3 -0
- package/dist/vef-layout/components/header-action-icons.js +17 -0
- package/dist/vef-layout/components/header-content.d.ts +3 -0
- package/dist/vef-layout/components/header-content.js +8 -0
- package/dist/vef-layout/components/header.d.ts +2 -0
- package/dist/vef-layout/components/header.js +14 -0
- package/dist/vef-layout/components/sider.d.ts +13 -0
- package/dist/vef-layout/components/sider.js +51 -0
- package/dist/vef-layout/components/title.d.ts +16 -0
- package/dist/vef-layout/components/title.js +38 -0
- package/dist/vef-layout/components/user-avatar.d.ts +3 -0
- package/dist/vef-layout/components/user-avatar.js +20 -0
- package/dist/vef-layout/index.d.ts +4 -0
- package/dist/vef-layout/index.js +7 -0
- package/dist/vef-layout/logo.svg.js +3 -0
- package/dist/vef-layout/props.d.ts +19 -0
- package/dist/vef-layout/store.d.ts +16 -0
- package/dist/vef-layout/store.js +3 -0
- package/dist/vef-loading-placeholder/index.js +1 -1
- package/dist/vef-login/index.js +11 -8
- package/dist/vef-login/login-icon.d.ts +1 -1
- package/dist/vef-login/login-icon.js +1 -1
- package/dist/vef-menu/index.d.ts +5 -0
- package/dist/vef-menu/index.js +3 -0
- package/dist/vef-menu/props.d.ts +74 -0
- package/dist/vef-modal/components/action-button-wrapper.d.ts +1 -2
- package/dist/vef-modal/components/action-button-wrapper.js +1 -1
- package/dist/vef-modal/components/button-props.js +1 -1
- package/dist/vef-modal/components/cancel-action-button.js +1 -1
- package/dist/vef-modal/components/ok-action-button.js +2 -2
- package/dist/vef-modal/context.js +1 -1
- package/dist/vef-modal/index.js +3 -3
- package/dist/vef-not-found/index.js +1 -1
- package/dist/vef-not-found/not-found-icon.d.ts +1 -1
- package/dist/vef-not-found/not-found-icon.js +1 -1
- package/dist/vef-page/index.js +3 -3
- package/dist/vef-pagination/index.js +1 -1
- package/dist/vef-pagination/props.js +1 -1
- package/dist/vef-paragraph/index.js +1 -1
- package/dist/vef-password/hooks/use-password-instance.js +1 -1
- package/dist/vef-password/index.js +1 -1
- package/dist/vef-popconfirm/index.d.ts +1 -2
- package/dist/vef-popconfirm/index.js +2 -2
- package/dist/vef-popconfirm/props.d.ts +12 -4
- package/dist/vef-popover/index.d.ts +1 -2
- package/dist/vef-popover/index.js +2 -2
- package/dist/vef-popover/props.d.ts +14 -1
- package/dist/vef-radio/hooks/use-data-options.d.ts +1 -1
- package/dist/vef-radio/hooks/use-data-options.js +1 -1
- package/dist/vef-radio/hooks/use-radio-instance.js +1 -1
- package/dist/vef-radio/index.js +1 -1
- package/dist/vef-rate/hooks/use-rate-instance.js +1 -1
- package/dist/vef-rate/index.js +1 -1
- package/dist/vef-responsive-container/index.d.ts +1 -1
- package/dist/vef-responsive-container/index.js +1 -1
- package/dist/vef-responsive-item/index.d.ts +1 -1
- package/dist/vef-responsive-item/index.js +1 -1
- package/dist/vef-ribbon/index.js +1 -1
- package/dist/vef-row/index.js +1 -1
- package/dist/vef-scroll-area/components/scrollbar.js +1 -1
- package/dist/vef-scroll-area/index.js +7 -4
- package/dist/vef-scroll-area/props.d.ts +26 -2
- package/dist/vef-select/components/option.js +1 -1
- package/dist/vef-select/hooks/use-data-options.d.ts +2 -2
- package/dist/vef-select/hooks/use-data-options.js +1 -1
- package/dist/vef-select/hooks/use-field-names.js +1 -1
- package/dist/vef-select/hooks/{use-label-render.d.ts → use-render-label.d.ts} +3 -3
- package/dist/vef-select/hooks/{use-label-render.js → use-render-label.js} +2 -2
- package/dist/vef-select/hooks/use-render-option.d.ts +11 -0
- package/dist/vef-select/hooks/{use-option-render.js → use-render-option.js} +2 -2
- package/dist/vef-select/hooks/use-select-instance.js +1 -1
- package/dist/vef-select/index.js +2 -2
- package/dist/vef-select/props.d.ts +4 -3
- package/dist/vef-slider/hooks/use-slider-instance.js +1 -1
- package/dist/vef-slider/index.js +1 -1
- package/dist/vef-sortable-list/components/overlay-item.js +1 -1
- package/dist/vef-sortable-list/components/sortable-item.js +1 -1
- package/dist/vef-sortable-list/hooks/use-merged-items.d.ts +1 -1
- package/dist/vef-sortable-list/hooks/use-merged-items.js +1 -1
- package/dist/vef-sortable-list/index.d.ts +2 -2
- package/dist/vef-sortable-list/index.js +2 -2
- package/dist/vef-sortable-list/props.d.ts +3 -3
- package/dist/vef-space/index.js +1 -1
- package/dist/vef-spin/index.js +1 -1
- package/dist/vef-splitter/index.js +2 -2
- package/dist/vef-splitter/props.d.ts +3 -3
- package/dist/vef-splitter-panel/index.js +1 -1
- package/dist/vef-status/index.js +1 -1
- package/dist/vef-table/components/columns/bool.js +2 -2
- package/dist/vef-table/components/columns/code.js +1 -1
- package/dist/vef-table/components/columns/data-dictionary.js +2 -2
- package/dist/vef-table/components/columns/enum.js +2 -2
- package/dist/vef-table/components/columns/file.js +1 -1
- package/dist/vef-table/components/columns/icon.js +1 -1
- package/dist/vef-table/components/columns/id.js +1 -1
- package/dist/vef-table/components/columns/image.js +1 -1
- package/dist/vef-table/components/columns/index.js +1 -1
- package/dist/vef-table/components/columns/markdown.js +1 -1
- package/dist/vef-table/components/columns/number.js +1 -1
- package/dist/vef-table/components/columns/render.js +1 -1
- package/dist/vef-table/components/columns/rich-text.js +1 -1
- package/dist/vef-table/components/columns/text.js +1 -1
- package/dist/vef-table/components/columns-settings.js +2 -2
- package/dist/vef-table/components/operation-buttons.js +2 -2
- package/dist/vef-table/components/settings-icon.js +4 -4
- package/dist/vef-table/components/table-footer.js +1 -1
- package/dist/vef-table/helper.js +1 -1
- package/dist/vef-table/hooks/use-computed-batch-buttons.js +1 -1
- package/dist/vef-table/hooks/use-computed-columns.js +1 -1
- package/dist/vef-table/hooks/use-computed-values.js +1 -1
- package/dist/vef-table/hooks/use-data.d.ts +1 -1
- package/dist/vef-table/hooks/use-data.js +2 -2
- package/dist/vef-table/hooks/use-default-column-configs.js +1 -1
- package/dist/vef-table/hooks/use-display-value.js +1 -1
- package/dist/vef-table/hooks/use-helper-columns.d.ts +1 -1
- package/dist/vef-table/hooks/use-helper-columns.js +1 -1
- package/dist/vef-table/hooks/use-operation-column-width.d.ts +1 -1
- package/dist/vef-table/hooks/use-operation-column-width.js +1 -1
- package/dist/vef-table/hooks/use-pagination-props.js +1 -1
- package/dist/vef-table/hooks/use-row-props.js +2 -2
- package/dist/vef-table/hooks/use-row-selection-config.d.ts +3 -3
- package/dist/vef-table/hooks/use-row-selection-config.js +2 -2
- package/dist/vef-table/hooks/use-selected-rows.d.ts +10 -0
- package/dist/vef-table/hooks/use-selected-rows.js +3 -0
- package/dist/vef-table/hooks/use-table-columns.d.ts +1 -1
- package/dist/vef-table/hooks/use-table-columns.js +1 -1
- package/dist/vef-table/hooks/use-table-context.d.ts +1 -1
- package/dist/vef-table/hooks/use-table-context.js +1 -1
- package/dist/vef-table/hooks/use-table-instance.js +1 -1
- package/dist/vef-table/hooks/use-table-summary.d.ts +1 -1
- package/dist/vef-table/hooks/use-table-summary.js +1 -1
- package/dist/vef-table/hooks/use-table-width.js +1 -1
- package/dist/vef-table/index.d.ts +2 -2
- package/dist/vef-table/index.js +3 -3
- package/dist/vef-table/props.d.ts +15 -193
- package/dist/vef-table/store.d.ts +2 -2
- package/dist/vef-table/store.js +2 -2
- package/dist/vef-tabs/index.js +1 -1
- package/dist/vef-tag/index.js +1 -1
- package/dist/vef-temporal-picker/helper.js +1 -1
- package/dist/vef-temporal-picker/hooks/use-dayjs-value.d.ts +1 -1
- package/dist/vef-temporal-picker/hooks/use-dayjs-value.js +1 -1
- package/dist/vef-temporal-picker/hooks/use-temporal-limit.js +1 -1
- package/dist/vef-temporal-picker/hooks/use-temporal-picker-instance.js +1 -1
- package/dist/vef-temporal-picker/index.js +1 -1
- package/dist/vef-temporal-range-picker/helper.js +1 -1
- package/dist/vef-temporal-range-picker/hooks/use-dayjs-values.d.ts +1 -1
- package/dist/vef-temporal-range-picker/hooks/use-dayjs-values.js +1 -1
- package/dist/vef-temporal-range-picker/hooks/use-temporal-limit.js +1 -1
- package/dist/vef-temporal-range-picker/hooks/use-temporal-range-picker-instance.js +1 -1
- package/dist/vef-temporal-range-picker/index.js +1 -1
- package/dist/vef-temporal-range-picker/props.js +1 -1
- package/dist/vef-text/index.js +1 -1
- package/dist/vef-textarea/hooks/use-textarea-instance.js +1 -1
- package/dist/vef-textarea/index.js +1 -1
- package/dist/vef-title/index.js +2 -2
- package/dist/vef-tooltip/index.d.ts +1 -2
- package/dist/vef-tooltip/index.js +2 -2
- package/dist/vef-tooltip/props.d.ts +14 -1
- package/dist/vef-tree-select/hooks/use-change-handler.d.ts +1 -1
- package/dist/vef-tree-select/hooks/use-change-handler.js +1 -1
- package/dist/vef-tree-select/hooks/use-data-options.d.ts +1 -1
- package/dist/vef-tree-select/hooks/use-data-options.js +1 -1
- package/dist/vef-tree-select/hooks/use-tree-select-instance.js +1 -1
- package/dist/vef-tree-select/index.js +1 -1
- package/dist/vef-virtual-grid/index.d.ts +6 -0
- package/dist/vef-virtual-grid/index.js +14 -0
- package/dist/vef-virtual-grid/props.d.ts +83 -0
- package/dist/vef-virtual-list/index.d.ts +6 -0
- package/dist/vef-virtual-list/index.js +20 -0
- package/dist/vef-virtual-list/props.d.ts +111 -0
- package/package.json +18 -20
- package/dist/vef-config-provider/fonts/din/bold.woff2.js +0 -3
- package/dist/vef-config-provider/fonts/din/regular.woff2.js +0 -3
- package/dist/vef-select/hooks/use-option-render.d.ts +0 -11
- package/dist/vef-table/hooks/use-merged-value.d.ts +0 -10
- package/dist/vef-table/hooks/use-merged-value.js +0 -3
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.9, build time: 2024-12-19T05:12:56.660Z, made by Venus. */
|
|
2
2
|
import{jsxs as o,jsx as r}from"@emotion/react/jsx-runtime";import{memo as t}from"react";const e=t((function(t){return o("svg",{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",...t,children:[o("defs",{children:[o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__a",spreadMethod:"pad",x1:-.136,x2:.5,y1:.5,y2:.472,children:[r("stop",{offset:0,stopColor:"#98d6fa"}),r("stop",{offset:1,stopColor:"#47b0f1"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__b",spreadMethod:"pad",x1:-.136,x2:.5,y1:.5,y2:.472,children:[r("stop",{offset:0,stopColor:"#98d6fa"}),r("stop",{offset:1,stopColor:"#47b0f1"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__c",spreadMethod:"pad",x1:0,x2:1,y1:-.031,y2:-.031,children:[r("stop",{offset:0,stopColor:"#fff5de"}),r("stop",{offset:1,stopColor:"#fbd2ac"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__d",spreadMethod:"pad",x1:-.136,x2:.5,y1:.5,y2:.476,children:[r("stop",{offset:0,stopColor:"#98d6fa"}),r("stop",{offset:1,stopColor:"#47b0f1"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__e",spreadMethod:"pad",x1:-.136,x2:.5,y1:.5,y2:.476,children:[r("stop",{offset:0,stopColor:"#98d6fa"}),r("stop",{offset:1,stopColor:"#47b0f1"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__f",spreadMethod:"pad",x1:-.136,x2:.5,y1:.5,y2:.476,children:[r("stop",{offset:0,stopColor:"#98d6fa"}),r("stop",{offset:1,stopColor:"#47b0f1"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__g",spreadMethod:"pad",x1:-.136,x2:.5,y1:.5,y2:.476,children:[r("stop",{offset:0,stopColor:"#98d6fa"}),r("stop",{offset:1,stopColor:"#47b0f1"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__h",spreadMethod:"pad",x1:-.136,x2:.5,y1:.5,y2:.434,children:[r("stop",{offset:0,stopColor:"#98d6fa"}),r("stop",{offset:1,stopColor:"#47b0f1"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__i",spreadMethod:"pad",x1:.431,x2:.603,y1:-.065,y2:0,children:[r("stop",{offset:.032,stopColor:"#afdef9"}),r("stop",{offset:1,stopColor:"#7cc9f9"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__j",spreadMethod:"pad",x1:.059,x2:.6,y1:.609,y2:.371,children:[r("stop",{offset:0,stopColor:"#98d6fa"}),r("stop",{offset:1,stopColor:"#47b0f1"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__k",spreadMethod:"pad",x1:.445,x2:.583,y1:-.065,y2:0,children:[r("stop",{offset:.032,stopColor:"#afdef9"}),r("stop",{offset:1,stopColor:"#7cc9f9"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__l",spreadMethod:"pad",x1:.284,x2:.5,y1:.87,y2:.305,children:[r("stop",{offset:0,stopColor:"#98d6fa"}),r("stop",{offset:1,stopColor:"#47b0f1"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__m",spreadMethod:"pad",x1:.431,x2:.603,y1:-.065,y2:0,children:[r("stop",{offset:.032,stopColor:"#afdef9"}),r("stop",{offset:1,stopColor:"#7cc9f9"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__n",spreadMethod:"pad",x1:.802,x2:.402,y1:.781,y2:.012,children:[r("stop",{offset:0,stopColor:"#98d6fa"}),r("stop",{offset:1,stopColor:"#47b0f1"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__o",spreadMethod:"pad",x1:.17,x2:.731,y1:.776,y2:.273,children:[r("stop",{offset:0,stopColor:"#98d6fa"}),r("stop",{offset:1,stopColor:"#47b0f1"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__p",spreadMethod:"pad",x1:0,x2:.85,y1:.669,y2:.361,children:[r("stop",{offset:0,stopColor:"#98d6fa"}),r("stop",{offset:1,stopColor:"#47b0f1"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__q",spreadMethod:"pad",x1:0,x2:.85,y1:.644,y2:.382,children:[r("stop",{offset:0,stopColor:"#98d6fa"}),r("stop",{offset:1,stopColor:"#47b0f1"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__r",spreadMethod:"pad",x1:0,x2:.85,y1:.639,y2:.385,children:[r("stop",{offset:0,stopColor:"#98d6fa"}),r("stop",{offset:1,stopColor:"#47b0f1"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__s",spreadMethod:"pad",x1:.492,x2:.5,y1:.87,y2:.305,children:[r("stop",{offset:0,stopColor:"#98d6fa"}),r("stop",{offset:1,stopColor:"#47b0f1"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__t",spreadMethod:"pad",x1:-.541,x2:.5,y1:.571,y2:.463,children:[r("stop",{offset:0,stopColor:"#98d6fa"}),r("stop",{offset:1,stopColor:"#47b0f1"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__u",spreadMethod:"pad",x1:.224,x2:.5,y1:-.089,y2:.774,children:[r("stop",{offset:0,stopColor:"#98d6fa"}),r("stop",{offset:1,stopColor:"#47b0f1"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__v",spreadMethod:"pad",x1:.454,x2:.5,y1:-.115,y2:.786,children:[r("stop",{offset:0,stopColor:"#98d6fa"}),r("stop",{offset:1,stopColor:"#47b0f1"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__w",spreadMethod:"pad",x1:.477,x2:.5,y1:-.115,y2:.786,children:[r("stop",{offset:0,stopColor:"#98d6fa"}),r("stop",{offset:1,stopColor:"#47b0f1"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__x",spreadMethod:"pad",x1:.439,x2:.5,y1:-.115,y2:.786,children:[r("stop",{offset:0,stopColor:"#98d6fa"}),r("stop",{offset:1,stopColor:"#47b0f1"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__y",spreadMethod:"pad",x1:0,x2:1.132,y1:.776,y2:.776,children:[r("stop",{offset:0,stopColor:"#98d6fa"}),r("stop",{offset:1,stopColor:"#47b0f1"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__z",spreadMethod:"pad",x1:0,x2:1,y1:-.118,y2:-.118,children:[r("stop",{offset:0,stopColor:"#f5dda7"}),r("stop",{offset:1,stopColor:"#fa9a41"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__A",spreadMethod:"pad",x1:.863,x2:0,y1:-.028,y2:-.028,children:[r("stop",{offset:0,stopColor:"#1d181c"}),r("stop",{offset:.3,stopColor:"#2c2422"}),r("stop",{offset:.5,stopColor:"#42352c"}),r("stop",{offset:.7,stopColor:"#57352c"}),r("stop",{offset:1,stopColor:"#923629"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__B",spreadMethod:"pad",x1:.863,x2:0,y1:-.028,y2:-.028,children:[r("stop",{offset:0,stopColor:"#1d181c"}),r("stop",{offset:.3,stopColor:"#2c2422"}),r("stop",{offset:.5,stopColor:"#42352c"}),r("stop",{offset:.7,stopColor:"#57352c"}),r("stop",{offset:1,stopColor:"#923629"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__C",spreadMethod:"pad",x1:1,x2:.006,y1:-.03,y2:-.03,children:[r("stop",{offset:0,stopColor:"#ffb859"}),r("stop",{offset:1,stopColor:"#f97b61"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__D",spreadMethod:"pad",x1:1,x2:.006,y1:-.03,y2:-.03,children:[r("stop",{offset:0,stopColor:"#ffb859"}),r("stop",{offset:1,stopColor:"#f97b61"})]})]}),r("path",{d:"M0 0h1024v1024H0Z",fill:"none"}),r("path",{d:"M76.8 581.8 72 559.4l-4.2-23.8-3.6-28.8-1.9-26.5-.2-22.1.3-11.2.8-11.2 1.2-11.2 1.7-11.2 2.1-10.9 2.7-10.6 2.5-7.9 2.8-7.7 3.1-7.4 3.5-7.1 3.9-7 4.3-6.6 4.7-6.3 5.2-6 5.6-5.6 6.1-5.2 6.6-4.8 7.2-4.4 5.9-3 6.4-2.8 6.7-2.5 7.3-2.2 7.7-1.9 17.7-3.4 16.8-2.8 15.8-2.2 16-1.8 29.3-2.5 21.2-1.1 56.2-2.4 22.6-1.8 10.4-1.2 10.3-1.6 9.9-2.2 9.4-2.5 6.9-2.3 6.8-2.7 6.6-3 6.5-3.5 6.1-3.8 6.2-4.3 6-4.9 22.9-21.2 14.4-11.9 12.4-8.6 6.1-3.6 5.6-2.8 5.2-2.2 5.3-1.8 5.2-1.3 10-1.4 10.5-.2 8.1.5 28.8 2.6 7.3.3 7.4-.4 7.5-.9 7.4-1.4 7.5-1.8 7.5-2.2 14.5-5.4 17.6-8.2 9.8-5.2 17.9-10.6 28.7-18.8 12.7-6.2 8.9-3.6 13.3-4.4 15.5-4 17.2-2.7 8.8-.8 9.2-.3 9.5.3 14.3 1.6 14.6 3.3 7.2 2.2 7.1 2.8 7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.1h-9.8l-3.3.3-6.7 1.4-3.2 1.3-3.2 1.8-3.3 2.3-3 2.8-3 3.6-3.2 4.6-2.7 4.9-2.7 6.1-2.8 7.5 15.2-.3z",fill:"url(#error-icon_svg__p)"}),r("path",{d:"m927.4 802 15.3-.5 5.8-1.3 2.5-1.1 2.1-1.5 1.6-1.9 1-1.6 1.1-4.5.2-3-.3-3.9-.8-3.7-1.3-3.5-1.8-3.3-2.1-3.1-2.6-2.7-3-2.4-3.2-2.1-3.5-1.7-3.8-1.2-3.9-.7-4.2-.3-4.2.3-3.9.7-3.8 1.2-3.5 1.7-3.2 2.1-3 2.4-2.6 2.7-2.1 3.1-1.8 3.3-1.3 3.5-.8 3.7-.3 3.9.2 3 1.3 4.4 1 1.7 1.9 1.9 2.2 1.5 2.8 1.1 6.2 1.3z",fill:"url(#error-icon_svg__q)"}),r("path",{d:"m960.6 802 10.5-.4 4.2-1.4 2.3-2.1.7-1.4.7-4.1-.3-3.2-.9-3-1.4-2.7-1.9-2.5-2.2-2-2.7-1.8-2.9-1.3-3.2-.8-3.5-.3-3.5.3-3.2.8-2.9 1.3-2.7 1.8-2.2 2-1.9 2.5-1.4 2.7-.9 3-.3 3.2.2 2.3.6 1.8.8 1.4 2.5 2.1 4.6 1.4z",fill:"url(#error-icon_svg__r)"}),r("path",{d:"m411 379 22.3.2 1.3.5 2 2 .7 2.8v359.8l-.7 2.8-2 2-1.3.5-1.5.2-22.3-.2-1.2-.5-2-2-.8-2.8V384.5l.2-1.5 1.4-2.4 2.4-1.4z",fill:"url(#error-icon_svg__s)"}),r("path",{d:"m241.8 408.5 349 28.7 45.2 76.4-51 69.7-349-28.7.7-69.7Z",fill:"url(#error-icon_svg__t)"}),r("path",{d:"m353.9 527.8 1.2-16.2-35.1-2.5.8-10.9 28.6 2 1.2-16.2-28.7-2 .7-9.9 33.9 2.4 1.2-16.2-57-4-4.9 69.4zm29.5 2.1 1.6-21.4.8-3.1 1.2-2.4 1.4-1.8 1.8-1.4 2-1 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2-2.6-1.9-1.3-1.5-.5-1.3V711l.5-1.1 1.3-1.2 2.4-1.3 8-.8h3.3l3.4.6 3.7 1.2 4.9 2.9 2.6 2.3 4.9 5.8 2.7 4.2 4.7 9.8 2.5 6.5.7 3.9v3.8z",fill:"url(#error-icon_svg__u)"}),r("path",{d:"m453.6 753.5-4.3-14.9-4.3-13-4.2-11.2-4.2-9.7-4.1-8.3-4.1-7-5.8-8.5-2.6-5.5-1.3-5.6.1-5.3 1.4-4.3 1.1-1.9 1.4-1.4 1.7-1 4.3-.2 2.4.3 4.4 1.9 3.9 3.5 3.7 5.1 2.1 3.9 3.8 9 2.1 6.3 2.7 9.9 2.8 13.2 1.5 11.6.6 9.3-.4 10-.6 4.8-1.1 4.5-.8 1.8z",fill:"url(#error-icon_svg__v)"}),r("path",{d:"m455.5 746.3 1.3-5.8.9-6.3.4-7.1-.1-7.8-.7-8.7-1.3-9.6-1.9-10.7-7.1-20.6-1.7-6.5-.9-4.4-.5-7.2.3-2.6.7-2.2 1-1.8 1.3-1.7 1.6-1.2 2.1-1 2.7-.7 3.5-.4 1.8.4 3.9 1.6 3.5 3.1 3.3 5.1 1.3 3.5 2.2 8.9.7 5.6.6 13.8-.3 8.2-.6 9.8-2.3 13.5-2.9 11.5-6.7 21.3-1.7.6h-2z",fill:"url(#error-icon_svg__w)"}),r("path",{d:"m460 751.8-.1-12.2.3-11.2.9-10.2 1.4-9.2 1.7-8.4 2.2-7.6 2.5-6.8 2.8-6.2 3.2-5.6 3.5-5 5.4-6.2 2.3-1.7 2.6-1.2 2.9-.8 3.8-.2 1.8.5 1.7.7 1.4 1.3 1.3 1.7.9 2 .6 2.7.3 3.7-2 7.6-1.6 4.8-2.6 6.2-3.2 6.5-4.6 7.8-7.9 11.1-5.3 6.6-4.8 7.6-2.1 4-3.1 7.4-1.6 5.7-.5 2.8-.7.9-1.3.7z",fill:"url(#error-icon_svg__x)"}),r("path",{d:"m376 757.1 11.6-2.3 7.4-1.9 4.4-1.5 2.3-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 3 4.4 5.2 9.6 5.6 14.3 5.4 18.4 4 18.4 3.7 23.1 1.6 13.9-20.7 3.4-35.5-68.4-62.3 78.6-45.4-17.5z",fill:"url(#error-icon_svg__A)"}),r("path",{d:"m579.6 751.7-2.1 8-1.7 8.7-1.2 9-.6 9 .1 11.9.6 5.7 1 5.6 1.3 5.2 1.7 4.8 1.7 3.4 4 6 2.4 2.5 2.7 2.2 3.1 1.8 3.3 1.5 3.8 1.1 11.1 1.6 13.8.5 41.3-.3 61.9.1 14.1-.2 11.8-.7 7.7-1 6.4-1.3 5.4-1.6 3.9-1.7 3.3-2 2.8-2.2 2.2-2.6 1.5-2.3 1.1-2.5 1.4-6.3.2-3.8-.4-3.2-.7-2.9-1.3-2.6-1.6-2.3-4.4-4-5.8-3.2-9.1-3-5.2-1.1-7.9-1.1-8.3-.7-16-.4-19.4.1-26.4-1.2-59.8-1z",fill:"url(#error-icon_svg__B)"}),r("path",{d:"m702.5 661.1-12-11.1-3-2.5-4-4.1-2.1-3.2-1.1-2.6-.5-2.5.2-3.8.8-2.3-6.4.2-10.7 1.4-6.8 1.5-9.7 3.1-10.6 4.7-5.4 3-5.6 3.7-5.3 4-5.4 4.7-5.4 5.5-7.5 9.1-7.2 11.1-5.7 11.8-2.4 6.5-3.1 9.9-2.6 10-2.1 10.1-2.9 18.4-2.1 23.6 3.8 3.1 3.9 2.3 4.6 2.1 11.7 3.8 13.1 2.6 15.8 1.6 10 .4h10l11.5-.5 13.2-.9 21.3-40.1 14.8-27.1 2-4.1 1.5-4.4 1-4.6.5-5v-5.4l-.6-5.7-1.2-6.3-2-6.7-2.7-7.4z",fill:"url(#error-icon_svg__C)"}),r("path",{d:"m844.2 714.6-37.8 13.7 1.4 3.8 37.7-13.8Z",fillRule:"evenodd"}),r("path",{d:"m799.9 732 8.3-4.1 3.6-2.6 2.5-.6h1.2l.6.4-.2 1.8-1.6 1.8 5.1-1.1 7.7-3.5 1.9-.2 1.3.2.9.7.6 1.2.1 1.9-1.2 3.2-1.2 1.6-3.1 2.6-4.6 1.8-6.1.5-3.9-.4-5.9 1z",fill:"#efba9e"}),r("path",{d:"m804.5 728.6-85 32.1-22.5-89-2.3-4.6-2.5-3.9-2.8-3.2-3-2.7-3.2-2.1-3.6-1.7-3.9-1.1-4.2-.7-4.7-.1-5.2.5-3.9 2.1-3.2 2.5-2.8 2.7-2.3 3.2-1.8 3.3-1.4 3.7-.9 3.8-.4 4 .1 4.1 1.8 9.2 4.1 13.9 6 16.7 7.5 17.7 4.1 8.6 7.3 13.1 5.9 8.6 12.6 13.8 6 4.7 3.1 1.8 3.4 1.4 3.6.8 3.7.3 4.3-.3 4.9-1 7.3-2.9 14.5-6.8 25.5-12.8 40.9-21.4z",fill:"url(#error-icon_svg__D)"})]})}));export{e as default};
|
|
3
3
|
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
package/dist/vef-error/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.9, build time: 2024-12-19T05:12:56.660Z, made by Venus. */
|
|
2
2
|
import{jsx as r,jsxs as e,Fragment as o}from"@emotion/react/jsx-runtime";import{RedoOutlined as i}from"@ant-design/icons";import{css as t}from"@emotion/react";import{styles as n,themeVariables as c}from"@vef-framework/shared";import s from"../vef-button/index.js";import a from"./error-icon.js";const l=t`
|
|
3
3
|
height: 100%;
|
|
4
4
|
${n.flexCenter}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
2
|
-
import{jsx as t,jsxs as
|
|
1
|
+
/*! VefFramework version: 1.0.9, build time: 2024-12-19T05:12:56.660Z, made by Venus. */
|
|
2
|
+
import{jsx as t,jsxs as e}from"@emotion/react/jsx-runtime";import{css as i}from"@emotion/react";import{useThemeTokens as o}from"@vef-framework/hooks";import{themeVariables as n,omit as r}from"@vef-framework/shared";import{SearchIcon as a,ChevronDownIcon as l}from"lucide-react";import{motion as c}from"motion/react";import s from"../../vef-button/index.js";import m from"../../vef-flex/index.js";import p from"../../vef-icon/index.js";import{useFilterContextSelector as d}from"../hooks/use-filter-context.js";import{useFilterStore as f}from"../store.js";const h={text:"搜索",icon:t(p,{children:t(a,{})})},x={text:"重置"},u=i`
|
|
3
3
|
&.vef-btn {
|
|
4
4
|
--vef-button-padding-inline: 0;
|
|
5
5
|
|
|
6
|
-
gap:
|
|
6
|
+
gap: 0;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.vef-collapse-button-text {
|
|
10
10
|
position: relative;
|
|
11
|
-
width: calc(${
|
|
12
|
-
height: calc(${
|
|
11
|
+
width: calc(${n.fontSize} * 2 + 4px);
|
|
12
|
+
height: calc(${n.controlHeight} - 4px);
|
|
13
13
|
text-align: center;
|
|
14
|
-
line-height: calc(${
|
|
14
|
+
line-height: calc(${n.controlHeight} - 4px);
|
|
15
15
|
|
|
16
16
|
> span {
|
|
17
17
|
position: absolute;
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
|
-
`;function
|
|
20
|
+
`;function g(){const[i,n,a]=f((t=>[t.isLoading,t.isAdvancedFilterVisible,t.setIsAdvancedFilterVisible])),[g,v=h,b=x,k,y,j]=d((t=>[t.externalLoading,t.confirmationButton,t.resetButton,t.showCollapseButton,t.handleReset,t.extraActionButtons])),{controlHeight:w}=o(),B=(w-4)/2;return e(m,{align:"center",gap:"medium",children:[k&&e(s,{color:"primary",css:u,variant:"link",onClick:()=>a(!n),children:[e("span",{className:"vef-collapse-button-text",children:[t(c.span,{initial:!1,animate:{opacity:n?1:0,y:n?0:-B},children:"收起"}),t(c.span,{initial:!1,animate:{opacity:n?0:1,y:n?B:0},children:"展开"})]}),t(c.span,{initial:!1,animate:{rotate:n?-180:0,transition:{bounce:0}},children:t(p,{size:"large",children:t(l,{})})})]}),b&&t(s,{color:"default",variant:"filled",onClick:y,...r(b,["text"]),children:b.text}),v&&t(s,{color:"primary",icon:v.icon,loading:g||i,type:"submit",...r(v,["text"]),children:v.text}),j]})}export{g as default};
|
|
21
21
|
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
2
|
-
import{jsx as o}from"@emotion/react/jsx-runtime";import{css as e}from"@emotion/react";import{themeVariables as i}from"@vef-framework/shared";import{motion as r}from"motion/react";import t from"../../vef-responsive-container/index.js";import
|
|
1
|
+
/*! VefFramework version: 1.0.9, build time: 2024-12-19T05:12:56.660Z, made by Venus. */
|
|
2
|
+
import{jsx as o}from"@emotion/react/jsx-runtime";import{css as e}from"@emotion/react";import{themeVariables as i}from"@vef-framework/shared";import{motion as r}from"motion/react";import t from"../../vef-responsive-container/index.js";import a from"../../vef-responsive-item/index.js";import{useFilterContextSelector as n}from"../hooks/use-filter-context.js";import{useLabelConfig as l}from"../hooks/use-label-config.js";import s from"./filter-item.js";const m=e`
|
|
3
3
|
overflow: hidden;
|
|
4
4
|
`,d=e`
|
|
5
5
|
margin-top: ${i.margin};
|
|
6
|
-
background-color: ${i.
|
|
6
|
+
background-color: ${i.colorFillAlt};
|
|
7
7
|
padding: ${i.padding};
|
|
8
8
|
border-radius: ${i.borderRadiusLg};
|
|
9
9
|
border: ${i.lineWidth} ${i.lineType} ${i.colorBorderSecondary};
|
|
10
|
-
`,p={opacity:1,height:"auto",transition:{
|
|
10
|
+
`,p={opacity:1,height:"auto",transition:{ease:"easeInOut",duration:.2}},c={opacity:0,height:0};function f({items:e}){const[i,f,h]=n((o=>[o.labelPosition,o.labelAlign,o.labelWidth])),{labelWidthToUse:u,labelCol:b}=l(i,h),g="top"===i?200:200+(u??80);return o(r.div,{animate:p,css:m,exit:c,initial:c,children:o(t,{baseItemWidth:g,css:d,gap:"large",children:e.map((e=>{const{name:r,span:t}=e;return o(a,{span:t??1,children:o(s,{item:e,labelAlign:f,labelCol:b,layout:"top"===i?"vertical":"horizontal"})},r)}))})})}export{f as default};
|
|
11
11
|
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.9, build time: 2024-12-19T05:12:56.660Z, made by Venus. */
|
|
2
2
|
import{jsxs as e,Fragment as i,jsx as t}from"@emotion/react/jsx-runtime";import{css as r}from"@emotion/react";import{themeVariables as m}from"@vef-framework/shared";import{Form as s}from"antd";import n from"clsx";import f from"./action-buttons.js";import a from"./filter-item.js";const c=r`
|
|
3
3
|
&.vef-filter-basic-items-with-prefix {
|
|
4
4
|
display: grid;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.9, build time: 2024-12-19T05:12:56.660Z, made by Venus. */
|
|
2
2
|
import p from"./input.js";import r from"./input-number.js";const t={Input:p,InputNumber:r};export{t as fieldMap};
|
|
3
3
|
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.9, build time: 2024-12-19T05:12:56.660Z, made by Venus. */
|
|
2
2
|
import{jsx as e}from"@emotion/react/jsx-runtime";import{VefError as r,isString as o,isFunction as t}from"@vef-framework/shared";import{useMemo as a}from"react";import n from"../../../vef-input-number/index.js";import{useComputedValues as s}from"../../hooks/use-computed-values.js";import{useFilterStore as u}from"../../store.js";function l({label:l,disabled:i,value:m,onChange:f,componentProps:p}){if("InputNumber"!==p.type)throw new r(-9,'Oops! Something went wrong. The type of the filter field is not "InputNumber", but rendered.');const{onChange:d,onEnterKeyPress:c,placeholder:h,prefix:x,suffix:V,max:w,min:v}=p,[y,b]=u((e=>[e.form,e.setValues])),[g,k,j,C,P]=s([{key:"placeholder",rawValue:h,defaultValue:l?o(l)?`请输入${l}`:"请输入":void 0},{key:"max",rawValue:w},{key:"min",rawValue:v},{key:"prefix",rawValue:x},{key:"suffix",rawValue:V}]),E=a((()=>{const e={onChange:e=>{if(f?.(e),t(d)){const r=y.getFieldsValue();d(e,{values:r,setValues:b})}}};return t(c)&&(e.onPressEnter=e=>{const r=y.getFieldsValue();c(e,{values:r,setValues:b})}),e}),[y,f,c,d,b]);return e(n,{disabled:i,max:k,min:j,placeholder:g,prefix:C,suffix:P,value:m,...E})}export{l as default};
|
|
3
3
|
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.9, build time: 2024-12-19T05:12:56.660Z, made by Venus. */
|
|
2
2
|
import{jsx as e}from"@emotion/react/jsx-runtime";import{VefError as o,isString as t,isFunction as r}from"@vef-framework/shared";import{useMemo as s}from"react";import n from"../../../vef-input/index.js";import{useComputedValues as a}from"../../hooks/use-computed-values.js";import{useFilterStore as l}from"../../store.js";function u({label:u,disabled:i,value:m,onChange:p,componentProps:d}){if("Input"!==d.type)throw new o(-9,'Oops! Something went wrong. The type of the filter field is not "Input", but rendered.');const{onChange:f,onEnterKeyPress:c,placeholder:h}=d,[v,g]=l((e=>[e.form,e.setValues])),[V]=a([{key:"placeholder",rawValue:h,defaultValue:u?t(u)?`请输入${u}`:"请输入":void 0}]),w=s((()=>{const e={onChange:e=>{if(p?.(e),r(f)){const o=v.getFieldsValue();f(e,{values:o,setValues:g})}}};return r(c)&&(e.onPressEnter=e=>{const o=v.getFieldsValue();c(e,{values:o,setValues:g})}),e}),[v,p,c,f,g]);return e(n,{clearable:!0,disabled:i,placeholder:V,value:m,...w})}export{u as default};
|
|
3
3
|
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.9, build time: 2024-12-19T05:12:56.660Z, made by Venus. */
|
|
2
2
|
import{jsx as e}from"@emotion/react/jsx-runtime";import{VefError as r}from"@vef-framework/shared";import{useMemo as t}from"react";import{fieldMap as o}from"./fields/index.js";function n(n){const{name:f,componentProps:{type:i}}=n,m=t((()=>{const e=o[i];if(!e)throw new r(-9,`Unknown filter field type: "${i}", please check the type of "${f}" field.`);return e}),[f,i]);return e(m,{...n})}export{n as default};
|
|
3
3
|
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.9, build time: 2024-12-19T05:12:56.660Z, made by Venus. */
|
|
2
2
|
import{jsx as e}from"@emotion/react/jsx-runtime";import{useContextDisabled as r}from"@vef-framework/hooks";import{isEqual as a,omit as t}from"@vef-framework/shared";import{Form as l}from"antd";import{useMemo as o,memo as i}from"react";import{useComputedValues as u}from"../hooks/use-computed-values.js";import m from"./filter-field.js";const{Item:d}=l;const s=i((function({item:{name:a,show:t,disabled:l,label:i,tip:s,required:f,width:n,advanced:p=!1,span:w,virtual:c,...h},...k}){const V=r(),[b,v,y,j,q,x]=u([{key:"show",rawValue:t,defaultValue:!0},{key:"disabled",rawValue:l,defaultValue:!1},{key:"label",rawValue:i},{key:"tip",rawValue:s},{key:"required",rawValue:f,defaultValue:!1},{key:"width",rawValue:n,defaultValue:i?220:180}]),I=o((()=>{if(q)return[{required:!0}]}),[q]),P=o((()=>{if(!p)return{width:x}}),[p,x]);return b?e(d,{css:P,help:!1,label:y,name:a,preserve:!1,rules:I,tooltip:j,...k,children:e(m,{componentProps:h,disabled:V||v,label:y,name:a})}):null}),((e,r)=>a(t(e,["item"]),t(r,["item"]))));export{s as default};
|
|
3
3
|
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
package/dist/vef-filter/event.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.9, build time: 2024-12-19T05:12:56.660Z, made by Venus. */
|
|
2
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 FilterEventBus};
|
|
3
3
|
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.9, build time: 2024-12-19T05:12:56.660Z, made by Venus. */
|
|
2
2
|
import{isFunction as r,isExpression as e,compileDynamicFn as n}from"@vef-framework/shared";function t(t,f,o){if(r(t))return t(f);if(e(t)){return n(t,"values",`return ${t.expression}`)(f)}return t??o}export{t as computeValue};
|
|
3
3
|
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.9, build time: 2024-12-19T05:12:56.660Z, made by Venus. */
|
|
2
2
|
import{isFunction as e,omit as t,showWarningMessage as r}from"@vef-framework/shared";import{useCallback as i,useMemo as n}from"react";import{useFilterStore as o}from"../store.js";function a({onBeforeConfirm:a,onConfirm:s,onReset:l}){const[m,f,u,d,h,c,C]=o((e=>[e.form,e.eventBus,e.getValues,e.initialValues,e.invokeValueChangeHandlers,e.virtualFieldNames,e.setIsLoading]));return{handleReset:i((()=>{const e=u();m.resetFields(),h(),f.emitChange(d),l?.(e)}),[f,m,u,d,h,l]),handleConfirm:n((()=>{if(e(s))return async r=>{C(!0);let i=r;try{e(a)&&(i=await a(i));const r=t(i,c);await s(r),f.emitSubmitResult(!0)}catch(e){throw f.emitSubmitResult(!1),e}finally{C(!1)}}}),[a,s,f,C,c]),handleConfirmFailed:i((({errorFields:e})=>{f.emitSubmitResult(!1),e.length>0&&r(e.flatMap((e=>e.errors)).join(", "))}),[f])}}export{a as useActionHandlers};
|
|
3
3
|
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.9, build time: 2024-12-19T05:12:56.660Z, made by Venus. */
|
|
2
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{useFilterStore as n}from"../store.js";function u(u,s=!1){const[l,m]=n((e=>[e.eventBus,e.getValues])),c=e(),i=m(),k=r((()=>u.reduce(((e,r)=>{const{key:o,rawValue:t,defaultValue:a}=r,n=f(t,i,a);return e[o]=n,e}),{})),[i,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=k[e],s=f(t,r,n);if(!a(s,u)){c();break}}};return l.onChange(r),()=>{l.offChange(r)}}}),[k,l,c,u]),s?u.reduce(((e,{key:r})=>(e[r]=k[r],e)),{}):u.map((({key:e})=>k[e]))}export{u as useComputedValues};
|
|
3
3
|
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.9, build time: 2024-12-19T05:12:56.660Z, made by Venus. */
|
|
2
2
|
import{createSelectableContext as e,noop as o}from"@vef-framework/shared";const{useContextSelector:t,useContext:r,ContextProvider:l}=e({labelPosition:"top",labelAlign:"right",externalLoading:!1,showCollapseButton:!1,handleReset:o}),n=t,a=r;export{l as FilterContextProvider,a as useFilterContext,n as useFilterContextSelector};
|
|
3
3
|
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type BiConsumer, type MaybeNull, type ObjectType, type StringKey } from "@vef-framework/shared";
|
|
2
2
|
import type { FilterContext, FilterItem } from "../types";
|
|
3
3
|
export declare function useFilterInitialization<Values extends ObjectType, Schema extends ReadonlyArray<FilterItem<Values>>>(schema: Schema, initialValues?: Partial<Values>): {
|
|
4
4
|
mergedInitialValues: Partial<Values>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.9, build time: 2024-12-19T05:12:56.660Z, made by Venus. */
|
|
2
2
|
import{isNullish as e,isFunction as r}from"@vef-framework/shared";import{useMemo as a}from"react";function t(t,n){return a((()=>{const a={...n},o={},u=[];for(const n of t){const{name:t,onChange:l,defaultValue:f,virtual:i}=n;!e(f)&&e(a[t])&&(a[t]=f),r(l)&&(o[t]=l),!0===i&&u.push(t)}return{mergedInitialValues:a,valueChangeHandlers:o,virtualFieldNames:u}}),[])}export{t as useFilterInitialization};
|
|
3
3
|
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.9, build time: 2024-12-19T05:12:56.660Z, made by Venus. */
|
|
2
2
|
import{useImperativeHandle as e}from"react";import{useFilterStore as t}from"../store.js";function s(s,o){const[r,u,m,i]=t((e=>[e.form,e.eventBus,e.getValues,e.setValues]));e(s,(()=>({confirm:()=>new Promise(((e,t)=>{const s=o=>{u.offSubmitResult(s),o?e():t(o)};u.onSubmitResult(s),r.submit()})),reset:o,getValues:m,setValues:i})))}export{s as useFilterInstance};
|
|
3
3
|
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.9, build time: 2024-12-19T05:12:56.660Z, made by Venus. */
|
|
2
2
|
import{useMemo as t}from"react";function n(n){return t((()=>{const t=[],o=[];for(const r of n){const{advanced:n=!1}=r;n?o.push(r):t.push(r)}return{basicItems:t,advancedItems:o}}),[])}export{n as useFilterItems};
|
|
3
3
|
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.9, build time: 2024-12-19T05:12:56.660Z, made by Venus. */
|
|
2
2
|
import{isFunction as e}from"@vef-framework/shared";import{useMemo as r,useEffect as n,useLayoutEffect as o}from"react";import{useFilterStore as t}from"../store.js";function a(a){const[f,m]=t((e=>[e.eventBus,e.invokeValueChangeHandlers])),s=r((()=>(e,r)=>{f.emitChange(r)}),[f]);return n((()=>{if(e(a)){const e=e=>{a(e)};return f.onChange(e),()=>{f.offChange(e)}}}),[f,a]),o((()=>{m()}),[]),{handleValuesChange:s}}export{a as useFilterValuesChange};
|
|
3
3
|
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.9, build time: 2024-12-19T05:12:56.660Z, made by Venus. */
|
|
2
2
|
import{showWarningMessage as e}from"@vef-framework/shared";import{useMemo as t}from"react";function r(r,o){const i=t((()=>{if("top"!==r&&o)return(o<60||o>120)&&e("The labelWidth of VefFilter component must be between 60 and 120, otherwise it will be 60 or 120."),Math.min(Math.max(o,60),120)}),[r,o]);return{labelCol:t((()=>{if(i)return{flex:`0 0 ${i}px`}}),[i]),labelWidthToUse:i}}export{r as useLabelConfig};
|
|
3
3
|
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type ObjectType, type ObjectValue } from "@vef-framework/shared";
|
|
2
2
|
import { type FC, type ReactNode, type RefAttributes } from "react";
|
|
3
3
|
import type { VefFilterInstance, VefFilterProps } from "./props";
|
|
4
|
-
import type { FilterSchema, FilterVirtualKeys } from "./types";
|
|
4
|
+
import type { FilterActionButtonConfig, FilterContext, FilterItem, FilterLabelAlign, FilterLabelPosition, FilterSchema, FilterVirtualKeys } from "./types";
|
|
5
5
|
declare const VefFilter: (<Values extends ObjectType = ObjectValue, Schema extends FilterSchema<Values> = FilterSchema<Values>, VirtualKeys extends FilterVirtualKeys<Schema> = FilterVirtualKeys<Schema>>(props: VefFilterProps<Values, Schema, VirtualKeys> & RefAttributes<VefFilterInstance<Values>>) => ReactNode) & Pick<FC, "displayName">;
|
|
6
|
-
export type { FilterActionButtonConfig, FilterContext, FilterItem, FilterLabelAlign, FilterLabelPosition, FilterSchema
|
|
7
|
-
export type { VefFilterInstance, VefFilterProps };
|
|
6
|
+
export type { FilterActionButtonConfig, FilterContext, FilterItem, FilterLabelAlign, FilterLabelPosition, FilterSchema, VefFilterInstance, VefFilterProps };
|
|
8
7
|
export default VefFilter;
|
package/dist/vef-filter/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.9, build time: 2024-12-19T05:12:56.660Z, made by Venus. */
|
|
2
2
|
import{jsx as e,jsxs as i}from"@emotion/react/jsx-runtime";import{css as o}from"@emotion/react";import{useContextDisabled as t,DisabledContextProvider as n,useSingleton as r,useUnmount as a}from"@vef-framework/hooks";import{isEqual as s,omit as l}from"@vef-framework/shared";import{Form as m}from"antd";import{AnimatePresence as f}from"motion/react";import{useMemo as c,forwardRef as d,memo as u}from"react";import"../internal/index.js";import h from"./components/advanced-filter.js";import p from"./components/basic-filter.js";import{FilterEventBus as g}from"./event.js";import{useActionHandlers as v}from"./hooks/use-action-handlers.js";import{FilterContextProvider as j}from"./hooks/use-filter-context.js";import{useFilterInitialization as b}from"./hooks/use-filter-initialization.js";import{useFilterInstance as C}from"./hooks/use-filter-instance.js";import{useFilterItems as V}from"./hooks/use-filter-items.js";import{useFilterValuesChange as B}from"./hooks/use-filter-values-change.js";import{useFilterStore as k,FilterStoreProvider as x}from"./store.js";import{convertBasicSizeToUiSize as F}from"../internal/utils.js";const{useForm:w}=m,A=o`
|
|
3
3
|
display: block;
|
|
4
4
|
flex-wrap: unset;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type { BasicSize, Consumer, Except, Handler, Mapper, MaybePromise, ObjectType, ObjectValue, Provider } from "@vef-framework/shared";
|
|
2
|
-
import type { Variant } from "antd/es/config-provider";
|
|
1
|
+
import type { BasicSize, Consumer, Except, FormItemVariant, Handler, Mapper, MaybePromise, ObjectType, ObjectValue, Provider } from "@vef-framework/shared";
|
|
3
2
|
import type { ReactNode } from "react";
|
|
4
3
|
import type { FilterActionButtonConfig, FilterLabelAlign, FilterLabelPosition, FilterSchema, FilterValues, FilterVirtualKeys } from "./types";
|
|
5
4
|
/**
|
|
@@ -58,7 +57,7 @@ export interface VefFilterProps<Values extends ObjectType = ObjectValue, Schema
|
|
|
58
57
|
/**
|
|
59
58
|
* The variant of the filter.
|
|
60
59
|
*/
|
|
61
|
-
variant?:
|
|
60
|
+
variant?: FormItemVariant;
|
|
62
61
|
/**
|
|
63
62
|
* The size of the filter.
|
|
64
63
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { BiConsumer, BiConsumerOptional, ChildrenProps, Consumer, Mapper, MaybeNull, ObjectType, Provider, StringKey } from "@vef-framework/shared";
|
|
2
1
|
import type { FormInstance } from "antd";
|
|
2
|
+
import { type BiConsumer, type BiConsumerOptional, type ChildrenProps, type Consumer, type Mapper, type MaybeNull, type ObjectType, type Provider, type StringKey } from "@vef-framework/shared";
|
|
3
3
|
import { type StoreApi } from "zustand";
|
|
4
4
|
import type { FilterEventBus } from "./event";
|
|
5
5
|
import type { FilterContext, FilterValues } from "./types";
|
package/dist/vef-filter/store.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.9, build time: 2024-12-19T05:12:56.660Z, made by Venus. */
|
|
2
2
|
import{useSingleton as e}from"@vef-framework/hooks";import{isEqual as t}from"@vef-framework/shared";import{createContext as r,createElement as i,useContext as n}from"react";import{createStore as s}from"zustand";import{useStoreWithEqualityFn as o}from"zustand/traditional";const l=r(null);function a({children:r,...n}){const o=e((()=>{return e=n,s(((r,i)=>({isAdvancedFilterVisible:!1,setIsAdvancedFilterVisible:e=>{r({isAdvancedFilterVisible:e})},isLoading:!1,setIsLoading:e=>{r({isLoading:e})},invokeValueChangeHandlers:(e,t)=>{const{valueChangeHandlers:r,initialValues:n,setValues:s}=i(),o=e??n,l=t?new Set(t):null;for(const[e,t]of Object.entries(r))l&&!l.has(e)||t(o[e]??null,{values:o,setValues:s})},getValues:()=>{const{form:e,initialValues:t}=i();return e.isFieldsTouched(!0)?t:e.getFieldsValue()},setValues:e=>{const{form:r,eventBus:n,invokeValueChangeHandlers:s}=i(),o=r.getFieldsValue(),l=Object.keys(e).filter((r=>!t(e[r],o[r])));r.setFieldsValue(e);const a=r.getFieldsValue();n.emitChange(a),s(a,l)},...e})));var e}));return i(l.Provider,{value:o},r)}function u(){const e=n(l);if(!e)throw new Error("FilterStore can be used only inside FilterStoreProvider");return e}function d(e){return o(u(),e,t)}export{a as FilterStoreProvider,d as useFilterStore,u as useFilterStoreApi};
|
|
3
3
|
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
package/dist/vef-flex/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.9, build time: 2024-12-19T05:12:56.660Z, made by Venus. */
|
|
2
2
|
import{jsx as r}from"@emotion/react/jsx-runtime";import{useGapSizeNormalizer as o}from"@vef-framework/hooks";import{isArray as t}from"@vef-framework/shared";import{Flex as m}from"antd";import{useMemo as e}from"react";const a=({gap:a,...f})=>{const i=o(),p=e((()=>t(a)?[i(a[0]),i(a[1])].join(" "):a?i(a):a),[a,i]);return r(m,{gap:p,...f})};export{a as default};
|
|
3
3
|
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.9, build time: 2024-12-19T05:12:56.660Z, made by Venus. */
|
|
2
2
|
import{jsx as o}from"@emotion/react/jsx-runtime";import{useColorTokens as t}from"@vef-framework/hooks";import{FloatButton as r}from"antd";import{useMemo as e}from"react";const n=({appearance:n,tip:a,badge:i,...c})=>{const m=t(),f=e((()=>{if(!i)return;const{variant:o,count:t,overflowCount:r,showZero:e,color:n}=i;return"dot"===o?{dot:!0,color:n?m.get(n):void 0}:{count:t,overflowCount:r,showZero:e,color:n?m.get(n):void 0}}),[i,m]);return o(r,{badge:f,tooltip:a,type:n,...c})};export{n as default};
|
|
3
3
|
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.9, build time: 2024-12-19T05:12:56.660Z, made by Venus. */
|
|
2
2
|
import{jsx as r}from"@emotion/react/jsx-runtime";import{FloatButton as o}from"antd";const{Group:t}=o,e=({collapsable:o=!1,trigger:e="click",...i})=>r(t,{trigger:o?e:void 0,...i});export{e as default};
|
|
3
3
|
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.9, build time: 2024-12-19T05:12:56.660Z, made by Venus. */
|
|
2
2
|
import p from"./input.js";import r from"./input-number.js";const t={Input:p,InputNumber:r};export{t as fieldMap};
|
|
3
3
|
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.9, build time: 2024-12-19T05:12:56.660Z, made by Venus. */
|
|
2
2
|
import{jsx as e}from"@emotion/react/jsx-runtime";import{VefError as o,isString as s,isFunction as r}from"@vef-framework/shared";import{useMemo as n}from"react";import t from"../../../vef-input-number/index.js";import{useComputedValues as a}from"../../hooks/use-computed-values.js";import{useFormStore as u}from"../../store.js";function l({label:l,disabled:i,value:m,onChange:f,componentProps:p}){if("InputNumber"!==p.type)throw new o(-9,'Oops! Something went wrong. The type of the form field is not "InputNumber", but rendered.');const{onChange:c,onEnterKeyPress:d,onFocus:V,onBlur:h,placeholder:x,prefix:v,suffix:w,max:g,min:y}=p,[b,k,F]=u((e=>[e.form,e.scene,e.setValues])),[j,C,P,B,E]=a([{key:"placeholder",rawValue:x,defaultValue:l?s(l)?`请输入${l}`:"请输入":void 0},{key:"max",rawValue:g},{key:"min",rawValue:y},{key:"prefix",rawValue:v},{key:"suffix",rawValue:w}]),I=n((()=>{const e={};return r(V)&&(e.onFocus=e=>{const o=b.getFieldsValue();V(e,{scene:k,values:o,setValues:F})}),r(h)&&(e.onBlur=e=>{const o=b.getFieldsValue();h(e,{scene:k,values:o,setValues:F})}),e.onChange=e=>{if(f?.(e),r(c)){const o=b.getFieldsValue();c(e,{scene:k,values:o,setValues:F})}},r(d)&&(e.onPressEnter=e=>{const o=b.getFieldsValue();d(e,{scene:k,values:o,setValues:F})}),e}),[b,h,f,d,V,c,k,F]);return e(t,{disabled:i,max:C,min:P,placeholder:j,prefix:B,suffix:E,value:m,...I})}export{l as default};
|
|
3
3
|
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.9, build time: 2024-12-19T05:12:56.660Z, made by Venus. */
|
|
2
2
|
import{jsx as e}from"@emotion/react/jsx-runtime";import{VefError as s,isString as o,isFunction as a}from"@vef-framework/shared";import{useMemo as t}from"react";import r from"../../../vef-input/index.js";import{useComputedValues as l}from"../../hooks/use-computed-values.js";import{useFormStore as n}from"../../store.js";function u({label:u,disabled:i,value:f,onChange:c,componentProps:m}){if("Input"!==m.type)throw new s(-9,'Oops! Something went wrong. The type of the form field is not "Input", but rendered.');const{onChange:p,onEnterKeyPress:d,onFocus:V,onBlur:h,onClear:g,maxLength:x,clearable:v=!0,placeholder:w,prefix:y,suffix:F}=m,[b,k,C]=n((e=>[e.form,e.scene,e.setValues])),[j,L,P,B]=l([{key:"placeholder",rawValue:w,defaultValue:u?o(u)?`请输入${u}`:"请输入":void 0},{key:"maxLength",rawValue:x},{key:"prefix",rawValue:y},{key:"suffix",rawValue:F}]),E=t((()=>{const e={};return a(V)&&(e.onFocus=e=>{const s=b.getFieldsValue();V(e,{scene:k,values:s,setValues:C})}),a(h)&&(e.onBlur=e=>{const s=b.getFieldsValue();h(e,{scene:k,values:s,setValues:C})}),e.onChange=e=>{if(c?.(e),a(p)){const s=b.getFieldsValue();p(e,{scene:k,values:s,setValues:C})}},a(d)&&(e.onPressEnter=e=>{const s=b.getFieldsValue();d(e,{scene:k,values:s,setValues:C})}),v&&a(g)&&(e.onClear=()=>{const e=b.getFieldsValue();g({scene:k,values:e,setValues:C})}),e}),[v,b,h,c,g,d,V,p,k,C]);return e(r,{clearable:v,disabled:i,maxLength:L,placeholder:j,prefix:P,suffix:B,value:f,...E})}export{u as default};
|
|
3
3
|
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.9, build time: 2024-12-19T05:12:56.660Z, made by Venus. */
|
|
2
2
|
import{jsx as t,jsxs as o}from"@emotion/react/jsx-runtime";import{CheckOutlined as e}from"@ant-design/icons";import{css as r}from"@emotion/react";import{themeVariables as i,omit as n}from"@vef-framework/shared";import{Form as m}from"antd";import{memo as s}from"react";import d from"../../vef-button/index.js";import a from"../../vef-flex/index.js";import{useFormStore as f}from"../store.js";const{Item:c}=m,l={text:"提交",icon:t(e,{})},p={text:"重置"},u=r`
|
|
3
3
|
padding: ${i.padding} 0;
|
|
4
4
|
`;const x=s((function({submissionButton:e=l,resetButton:r=p,handleReset:i}){const[m,s]=f((t=>[t.isLoading,t.showActionButtons]));return s&&(e||r)?t(c,{children:o(a,{css:u,gap:"medium",justify:"flex-end",children:[r&&t(d,{color:"default",variant:"filled",onClick:i,...n(r,["text"]),children:r.text}),e&&t(d,{color:"primary",loading:m,type:"submit",...n(e,["text"]),children:e.text})]})}):null}));x.displayName="VefFormActions";export{x as default};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type ObjectType } from "@vef-framework/shared";
|
|
2
|
+
import type { VefFormProps } from "../props";
|
|
2
3
|
import type { FormScene, FormSchema, FormTabsUse } from "../types";
|
|
3
4
|
/**
|
|
4
5
|
* The props of the form content component.
|
|
@@ -12,7 +13,11 @@ export interface VefFormContentProps<Values extends ObjectType, Scene extends Fo
|
|
|
12
13
|
* The use of the form tabs.
|
|
13
14
|
*/
|
|
14
15
|
showTabs: false | FormTabsUse;
|
|
16
|
+
/**
|
|
17
|
+
* The height of the form content.
|
|
18
|
+
*/
|
|
19
|
+
height: VefFormProps["height"];
|
|
15
20
|
}
|
|
16
|
-
declare function VefFormContentBase<Values extends ObjectType, Scene extends FormScene, Schema extends FormSchema<Values, Scene>>({ schema, showTabs, }: VefFormContentProps<Values, Scene, Schema>): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
21
|
+
declare function VefFormContentBase<Values extends ObjectType, Scene extends FormScene, Schema extends FormSchema<Values, Scene>>({ schema, showTabs, height, }: VefFormContentProps<Values, Scene, Schema>): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
17
22
|
declare const VefFormContent: typeof VefFormContentBase;
|
|
18
23
|
export default VefFormContent;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
2
|
-
import{jsx as e,jsxs as t}from"@emotion/react/jsx-runtime";import{css as
|
|
3
|
-
flex:
|
|
1
|
+
/*! VefFramework version: 1.0.9, build time: 2024-12-19T05:12:56.660Z, made by Venus. */
|
|
2
|
+
import{jsx as e,jsxs as t,Fragment as r}from"@emotion/react/jsx-runtime";import{css as o}from"@emotion/react";import{debounce as i,styles as l,isEqual as s,omit as a}from"@vef-framework/shared";import{useMemo as n,useRef as m,useState as c,useCallback as d,useEffect as f,memo as u}from"react";import h from"../../vef-empty-placeholder/index.js";import p from"../../vef-flex/index.js";import y from"../../vef-scroll-area/index.js";import{VefTabs as k}from"../../vef-tabs/index.js";import{useComputedValues as w}from"../hooks/use-computed-values.js";import{useFormStore as b}from"../store.js";import g from"./form-group.js";const $=o`
|
|
3
|
+
flex: auto;
|
|
4
4
|
min-height: 0;
|
|
5
|
-
`;const
|
|
5
|
+
`;const v=u((function({schema:o,showTabs:s,height:a}){const u=w([...o.map((({key:e,title:t})=>({key:`title-${e}`,rawValue:t}))),...o.map((({key:e,show:t})=>({key:`show-${e}`,rawValue:t,defaultValue:!0}))),...o.map((({key:e,disabled:t})=>({key:`disabled-${e}`,rawValue:t,defaultValue:!1})))],!0),v=n((()=>o.filter((({key:e})=>u[`show-${e}`]))),[u,o]),j=m({}),[x,V]=c(v[0]?.key??0),B=d((e=>{j.current[e]?.scrollIntoView({behavior:"smooth",block:"start",inline:"start"}),V(e)}),[]),C=n((()=>{if("navigation"!==s)return;return i({delay:60},(e=>{const{top:t}=e.target.getBoundingClientRect();for(const[e,r]of Object.entries(j.current))if(r){const{top:o}=r.getBoundingClientRect();o-t<=60&&V(e)}}))}),[s]),[S]=b((e=>[e.setShowActionButtons]));if(f((()=>{S(v.length>0)}),[S,v.length]),0===v.length)return e(h,{description:"空表单"});if("switch"===s){const t=o.map((({key:t,rows:r})=>({key:`${t}`,label:u[`title-${t}`],destroyInactiveTabPane:!1,children:e(g,{disabled:u[`disabled-${t}`],rows:r})})));return e(k,{items:t})}if("navigation"===s)return t(p,{vertical:!0,css:"full"===a?l.fullHeight:void 0,children:[e(k,{activeKey:`${x}`,items:o.map((({key:e})=>({key:`${e}`,label:u[`title-${e}`]}))),onChange:B}),e(y,{css:$,onScroll:C,children:o.map((({key:t,rows:r})=>e(g,{ref:e=>{j.current[t]=e},disabled:u[`disabled-${t}`],rows:r,title:u[`title-${t}`]},t)))})]});const I=o.map((({key:t,rows:r})=>e(g,{disabled:u[`disabled-${t}`],rows:r,title:u[`title-${t}`]},t)));return"full"===a?e(y,{onScroll:C,children:I}):e(r,{children:I})}),((e,t)=>s(a(e,["schema"]),a(t,["schema"]))));export{v as default};
|
|
6
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 */
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.9, build time: 2024-12-19T05:12:56.660Z, made by Venus. */
|
|
2
2
|
import{jsx as e}from"@emotion/react/jsx-runtime";import{VefError as r}from"@vef-framework/shared";import{useMemo as o}from"react";import{fieldMap as t}from"./fields/index.js";function n(n){const{name:f,componentProps:{type:i}}=n,m=o((()=>{if("Hidden"===i)return()=>null;const e=t[i];if(!e)throw new r(-9,`Unknown form field type: "${i}", please check the type of "${f}" field.`);return e}),[f,i]);return e(m,{...n})}export{n as default};
|
|
3
3
|
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ObjectType, type
|
|
1
|
+
import { type ObjectType, type StringKey } from "@vef-framework/shared";
|
|
2
2
|
import { type FC, type ReactNode, type RefAttributes } from "react";
|
|
3
3
|
import type { FormGroup, FormScene } from "../types";
|
|
4
4
|
/**
|
|
@@ -16,7 +16,7 @@ export interface VefFormGroupProps<Values extends ObjectType, Scene extends Form
|
|
|
16
16
|
/**
|
|
17
17
|
* The rows of the form group.
|
|
18
18
|
*/
|
|
19
|
-
rows: FormGroup<Values, Scene>["rows"];
|
|
19
|
+
rows: FormGroup<Values, StringKey<Values>, Scene>["rows"];
|
|
20
20
|
}
|
|
21
|
-
declare const VefFormGroup: (<Values extends ObjectType
|
|
21
|
+
declare const VefFormGroup: (<Values extends ObjectType, Scene extends FormScene>(props: VefFormGroupProps<Values, Scene> & RefAttributes<HTMLDivElement | null>) => ReactNode) & Pick<FC, "displayName">;
|
|
22
22
|
export default VefFormGroup;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.9, build time: 2024-12-19T05:12:56.660Z, made by Venus. */
|
|
2
2
|
import{jsxs as e,jsx as o}from"@emotion/react/jsx-runtime";import{css as r}from"@emotion/react";import{themeVariables as t,isEqual as a,omit as m}from"@vef-framework/shared";import{useMemo as i,memo as s,forwardRef as d}from"react";import l from"../../vef-empty-placeholder/index.js";import n from"../../vef-title/index.js";import{useComputedValues as f}from"../hooks/use-computed-values.js";import p from"./form-row.js";const c=r`
|
|
3
3
|
margin-bottom: ${t.margin};
|
|
4
4
|
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.9, build time: 2024-12-19T05:12:56.660Z, made by Venus. */
|
|
2
2
|
import{jsx as e}from"@emotion/react/jsx-runtime";import{Form as t}from"antd";import{memo as o}from"react";import{useComputedValues as n}from"../hooks/use-computed-values.js";const{Item:r}=t;const m=o((function({item:t}){const{name:o,show:m}=t,[a]=n([{key:"show",rawValue:m,defaultValue:!0}]);return a?e(r,{hidden:!0,name:o,children:e("input",{type:"hidden"})}):null}),(()=>!1));export{m as default};
|
|
3
3
|
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.9, build time: 2024-12-19T05:12:56.660Z, made by Venus. */
|
|
2
2
|
import{jsx as e}from"@emotion/react/jsx-runtime";import{useContextDisabled as r}from"@vef-framework/hooks";import{isArray as a}from"@vef-framework/shared";import{Form as o}from"antd";import{memo as l}from"react";import{useComputedValues as t}from"../hooks/use-computed-values.js";import m from"./form-field.js";const{Item:s}=o;const i=l((function({item:o,disabled:l}){const{name:i,show:u,disabled:d,label:f,tip:n,rules:p,virtual:b,...c}=o,k=r(),[w,V,h,v,y]=t([{key:"show",rawValue:u,defaultValue:!0},{key:"disabled",rawValue:d,defaultValue:l},{key:"label",rawValue:f},{key:"tip",rawValue:n},{key:"rules",rawValue:p}]);if(!w)return null;const j=a(y)?y.flatMap((e=>e(o))):void 0;return e(s,{label:h,name:i,preserve:!1,rules:j,tooltip:v,children:e(m,{componentProps:c,disabled:k||V,label:h,name:i})})}),((e,r)=>e.disabled===r.disabled));export{i as default};
|
|
3
3
|
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type KeyValue, type ObjectType, type StringKey } from "@vef-framework/shared";
|
|
2
2
|
import type { FormRow, FormScene } from "../types";
|
|
3
3
|
/**
|
|
4
4
|
* The props of the form row.
|
|
@@ -19,7 +19,7 @@ export interface VefFormRowProps<Values extends ObjectType, Scene extends FormSc
|
|
|
19
19
|
/**
|
|
20
20
|
* The columns of the row.
|
|
21
21
|
*/
|
|
22
|
-
columns: FormRow<Values, Scene>["columns"];
|
|
22
|
+
columns: FormRow<Values, StringKey<Values>, Scene>["columns"];
|
|
23
23
|
}
|
|
24
24
|
declare function VefFormRowBase<Values extends ObjectType, Scene extends FormScene>({ rowKey, columns, disabled, autoExpand: rowAutoExpand, }: VefFormRowProps<Values, Scene>): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
25
25
|
declare const VefFormRow: typeof VefFormRowBase;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.9, build time: 2024-12-19T05:12:56.660Z, made by Venus. */
|
|
2
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
3
|
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
package/dist/vef-form/event.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.9, build time: 2024-12-19T05:12:56.660Z, made by Venus. */
|
|
2
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
3
|
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
package/dist/vef-form/helper.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.9, build time: 2024-12-19T05:12:56.660Z, made by Venus. */
|
|
2
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
3
|
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.9, build time: 2024-12-19T05:12:56.660Z, made by Venus. */
|
|
2
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
3
|
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type KeyValue, type ObjectType } from "@vef-framework/shared";
|
|
1
|
+
import { type KeyValue, type ObjectType, type StringKey } from "@vef-framework/shared";
|
|
2
2
|
import type { FormColumn, FormLayoutMode, FormScene } from "../types";
|
|
3
3
|
/**
|
|
4
4
|
* Get the layout of the columns.
|
|
@@ -9,4 +9,4 @@ import type { FormColumn, FormLayoutMode, FormScene } from "../types";
|
|
|
9
9
|
* @param autoExpand - Whether to auto expand the columns.
|
|
10
10
|
* @returns The layout of the columns.
|
|
11
11
|
*/
|
|
12
|
-
export declare function useColumnsLayout<Values extends ObjectType, Scene extends FormScene>(rowKey: KeyValue, columns: Array<FormColumn<Values, Scene>>, layoutMode: FormLayoutMode, autoExpand: boolean): Record<string, number> | Record<string, Record<string, number>>;
|
|
12
|
+
export declare function useColumnsLayout<Values extends ObjectType, Scene extends FormScene>(rowKey: KeyValue, columns: Array<FormColumn<Values, StringKey<Values>, Scene>>, layoutMode: FormLayoutMode, autoExpand: boolean): Record<string, number> | Record<string, Record<string, number>>;
|