@vef-framework/components 1.0.121 → 1.0.123
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/cjs/index.cjs +194 -0
- package/cjs/internal/base.css.cjs +7 -0
- package/cjs/internal/chart.cjs +21 -0
- package/cjs/internal/index.cjs +10 -0
- package/cjs/internal/modern-normalize.css.cjs +7 -0
- package/cjs/internal/utils.cjs +9 -0
- package/cjs/vef-access-denied/access-denied-icon.cjs +933 -0
- package/cjs/vef-access-denied/index.cjs +68 -0
- package/cjs/vef-access-denied/props.cjs +4 -0
- package/cjs/vef-action-buttons/index.cjs +80 -0
- package/cjs/vef-action-buttons/props.cjs +4 -0
- package/cjs/vef-approval-flow-editor/components/edge.cjs +92 -0
- package/cjs/vef-approval-flow-editor/components/label-value.cjs +41 -0
- package/cjs/vef-approval-flow-editor/components/node-content.cjs +56 -0
- package/cjs/vef-approval-flow-editor/components/node-selector.cjs +46 -0
- package/cjs/vef-approval-flow-editor/components/node-toolbar.cjs +26 -0
- package/cjs/vef-approval-flow-editor/components/nodes/approval.cjs +29 -0
- package/cjs/vef-approval-flow-editor/components/nodes/condition.cjs +29 -0
- package/cjs/vef-approval-flow-editor/components/nodes/end.cjs +29 -0
- package/cjs/vef-approval-flow-editor/components/nodes/handle.cjs +29 -0
- package/cjs/vef-approval-flow-editor/components/nodes/index.cjs +20 -0
- package/cjs/vef-approval-flow-editor/components/nodes/submit.cjs +29 -0
- package/cjs/vef-approval-flow-editor/components/selector-content.cjs +68 -0
- package/cjs/vef-approval-flow-editor/components/source-handle.cjs +45 -0
- package/cjs/vef-approval-flow-editor/components/target-handle.cjs +14 -0
- package/cjs/vef-approval-flow-editor/constants.cjs +226 -0
- package/cjs/vef-approval-flow-editor/helper.cjs +89 -0
- package/cjs/vef-approval-flow-editor/hooks/use-edges-interaction.cjs +28 -0
- package/cjs/vef-approval-flow-editor/hooks/use-element-selection.cjs +27 -0
- package/cjs/vef-approval-flow-editor/hooks/use-nodes-interaction.cjs +54 -0
- package/cjs/vef-approval-flow-editor/index.cjs +80 -0
- package/cjs/vef-approval-flow-editor/models/edge-node.cjs +24 -0
- package/cjs/vef-approval-flow-editor/models/flow-node.cjs +113 -0
- package/cjs/vef-approval-flow-editor/props.cjs +4 -0
- package/cjs/vef-approval-flow-editor/store.cjs +21 -0
- package/cjs/vef-approval-flow-editor/styles.cjs +53 -0
- package/cjs/vef-approval-flow-editor/types.cjs +19 -0
- package/cjs/vef-area-chart/index.cjs +46 -0
- package/cjs/vef-area-chart/props.cjs +4 -0
- package/cjs/vef-auto-sizer/index.cjs +11 -0
- package/cjs/vef-auto-sizer/props.cjs +4 -0
- package/cjs/vef-avatar/index.cjs +25 -0
- package/cjs/vef-avatar/props.cjs +4 -0
- package/cjs/vef-avatar-group/index.cjs +30 -0
- package/cjs/vef-avatar-group/props.cjs +4 -0
- package/cjs/vef-badge/index.cjs +52 -0
- package/cjs/vef-badge/props.cjs +4 -0
- package/cjs/vef-bar-chart/index.cjs +46 -0
- package/cjs/vef-bar-chart/props.cjs +4 -0
- package/cjs/vef-bool/hooks/use-bool-instance.cjs +37 -0
- package/cjs/vef-bool/index.cjs +65 -0
- package/cjs/vef-bool/props.cjs +4 -0
- package/cjs/vef-breadcrumb/index.cjs +53 -0
- package/cjs/vef-breadcrumb/props.cjs +4 -0
- package/cjs/vef-button/components/base-button.cjs +78 -0
- package/cjs/vef-button/index.cjs +156 -0
- package/cjs/vef-button/props.cjs +4 -0
- package/cjs/vef-card/index.cjs +30 -0
- package/cjs/vef-card/props.cjs +4 -0
- package/cjs/vef-card-meta/index.cjs +17 -0
- package/cjs/vef-card-meta/props.cjs +4 -0
- package/cjs/vef-chart-container/hooks/use-chart-container-context.cjs +17 -0
- package/cjs/vef-chart-container/index.cjs +128 -0
- package/cjs/vef-chart-container/props.cjs +4 -0
- package/cjs/vef-chart-legend-content/index.cjs +55 -0
- package/cjs/vef-chart-legend-content/props.cjs +4 -0
- package/cjs/vef-chart-tooltip-content/index.cjs +110 -0
- package/cjs/vef-chart-tooltip-content/props.cjs +4 -0
- package/cjs/vef-checkbox/hooks/use-checkbox-instance.cjs +23 -0
- package/cjs/vef-checkbox/hooks/use-data-options.cjs +43 -0
- package/cjs/vef-checkbox/index.cjs +93 -0
- package/cjs/vef-checkbox/props.cjs +4 -0
- package/cjs/vef-code-editor/hooks/use-change-handler.cjs +13 -0
- package/cjs/vef-code-editor/hooks/use-config-extensions.cjs +51 -0
- package/cjs/vef-code-editor/hooks/use-height-props.cjs +23 -0
- package/cjs/vef-code-editor/hooks/use-language-extensions.cjs +120 -0
- package/cjs/vef-code-editor/hooks/use-setup-options.cjs +40 -0
- package/cjs/vef-code-editor/index.cjs +62 -0
- package/cjs/vef-code-editor/props.cjs +4 -0
- package/cjs/vef-code-editor/styles.cjs +146 -0
- package/cjs/vef-col/index.cjs +16 -0
- package/cjs/vef-col/props.cjs +4 -0
- package/cjs/vef-color-picker/index.cjs +51 -0
- package/cjs/vef-color-picker/props.cjs +4 -0
- package/cjs/vef-compact/index.cjs +20 -0
- package/cjs/vef-compact/props.cjs +4 -0
- package/cjs/vef-config-provider/global-style.cjs +185 -0
- package/cjs/vef-config-provider/hooks/use-ui-config.cjs +129 -0
- package/cjs/vef-config-provider/index.cjs +128 -0
- package/cjs/vef-config-provider/props.cjs +4 -0
- package/cjs/vef-config-provider/store.cjs +26 -0
- package/cjs/vef-container/index.cjs +23 -0
- package/cjs/vef-container/props.cjs +4 -0
- package/cjs/vef-crud-page/components/crud-actions.cjs +37 -0
- package/cjs/vef-crud-page/components/crud-filter.cjs +59 -0
- package/cjs/vef-crud-page/components/crud-footer.cjs +125 -0
- package/cjs/vef-crud-page/components/crud-form-modal.cjs +58 -0
- package/cjs/vef-crud-page/components/crud-header.cjs +34 -0
- package/cjs/vef-crud-page/components/crud-table.cjs +81 -0
- package/cjs/vef-crud-page/hooks/use-action-buttons.cjs +40 -0
- package/cjs/vef-crud-page/hooks/use-crud-context.cjs +23 -0
- package/cjs/vef-crud-page/hooks/use-crud-schema.cjs +119 -0
- package/cjs/vef-crud-page/hooks/use-operation-buttons.cjs +63 -0
- package/cjs/vef-crud-page/index.cjs +155 -0
- package/cjs/vef-crud-page/props.cjs +4 -0
- package/cjs/vef-crud-page/store.cjs +147 -0
- package/cjs/vef-crud-page/types.cjs +4 -0
- package/cjs/vef-data-grid/index.cjs +90 -0
- package/cjs/vef-data-grid/props.cjs +4 -0
- package/cjs/vef-data-table/index.cjs +14 -0
- package/cjs/vef-data-table/props.cjs +4 -0
- package/cjs/vef-divider/index.cjs +29 -0
- package/cjs/vef-divider/props.cjs +4 -0
- package/cjs/vef-drawer/components/action-button-wrapper.cjs +54 -0
- package/cjs/vef-drawer/components/button-props.cjs +4 -0
- package/cjs/vef-drawer/components/cancel-action-button.cjs +26 -0
- package/cjs/vef-drawer/components/ok-action-button.cjs +25 -0
- package/cjs/vef-drawer/context.cjs +20 -0
- package/cjs/vef-drawer/index.cjs +165 -0
- package/cjs/vef-drawer/props.cjs +4 -0
- package/cjs/vef-dropdown/index.cjs +97 -0
- package/cjs/vef-dropdown/props.cjs +4 -0
- package/cjs/vef-dynamic-icon/index.cjs +51 -0
- package/cjs/vef-dynamic-icon/props.cjs +9 -0
- package/cjs/vef-empty/index.cjs +42 -0
- package/cjs/vef-empty/props.cjs +4 -0
- package/cjs/vef-empty-placeholder/index.cjs +25 -0
- package/cjs/vef-empty-placeholder/props.cjs +4 -0
- package/cjs/vef-error/error-icon.cjs +762 -0
- package/cjs/vef-error/index.cjs +72 -0
- package/cjs/vef-error/props.cjs +4 -0
- package/cjs/vef-filter/components/action-buttons.cjs +140 -0
- package/cjs/vef-filter/components/advanced-filter.cjs +77 -0
- package/cjs/vef-filter/components/basic-filter.cjs +55 -0
- package/cjs/vef-filter/components/fields/index.cjs +22 -0
- package/cjs/vef-filter/components/fields/input-number.cjs +95 -0
- package/cjs/vef-filter/components/fields/input.cjs +72 -0
- package/cjs/vef-filter/components/fields/props.cjs +4 -0
- package/cjs/vef-filter/components/fields/radio.cjs +114 -0
- package/cjs/vef-filter/components/fields/select.cjs +145 -0
- package/cjs/vef-filter/components/fields/tree-select.cjs +141 -0
- package/cjs/vef-filter/components/filter-field.cjs +24 -0
- package/cjs/vef-filter/components/filter-item.cjs +117 -0
- package/cjs/vef-filter/event.cjs +47 -0
- package/cjs/vef-filter/helper.cjs +18 -0
- package/cjs/vef-filter/hooks/use-action-handlers.cjs +73 -0
- package/cjs/vef-filter/hooks/use-computed-values.cjs +58 -0
- package/cjs/vef-filter/hooks/use-filter-context.cjs +23 -0
- package/cjs/vef-filter/hooks/use-filter-initialization.cjs +40 -0
- package/cjs/vef-filter/hooks/use-filter-instance.cjs +29 -0
- package/cjs/vef-filter/hooks/use-filter-items.cjs +26 -0
- package/cjs/vef-filter/hooks/use-filter-values-change.cjs +33 -0
- package/cjs/vef-filter/hooks/use-label-config.cjs +30 -0
- package/cjs/vef-filter/index.cjs +152 -0
- package/cjs/vef-filter/props.cjs +4 -0
- package/cjs/vef-filter/store.cjs +76 -0
- package/cjs/vef-filter/types.cjs +4 -0
- package/cjs/vef-flex/index.cjs +36 -0
- package/cjs/vef-flex/props.cjs +4 -0
- package/cjs/vef-float-button/index.cjs +54 -0
- package/cjs/vef-float-button/props.cjs +4 -0
- package/cjs/vef-float-button-group/index.cjs +25 -0
- package/cjs/vef-float-button-group/props.cjs +4 -0
- package/cjs/vef-form/components/fields/icon-select.cjs +70 -0
- package/cjs/vef-form/components/fields/index.cjs +28 -0
- package/cjs/vef-form/components/fields/input-number.cjs +128 -0
- package/cjs/vef-form/components/fields/input.cjs +137 -0
- package/cjs/vef-form/components/fields/password.cjs +120 -0
- package/cjs/vef-form/components/fields/props.cjs +4 -0
- package/cjs/vef-form/components/fields/radio.cjs +111 -0
- package/cjs/vef-form/components/fields/select.cjs +243 -0
- package/cjs/vef-form/components/fields/textarea.cjs +114 -0
- package/cjs/vef-form/components/fields/tree-select.cjs +239 -0
- package/cjs/vef-form/components/form-actions.cjs +63 -0
- package/cjs/vef-form/components/form-content.cjs +151 -0
- package/cjs/vef-form/components/form-field.cjs +27 -0
- package/cjs/vef-form/components/form-group.cjs +77 -0
- package/cjs/vef-form/components/form-hidden-item.cjs +41 -0
- package/cjs/vef-form/components/form-item.cjs +84 -0
- package/cjs/vef-form/components/form-row.cjs +103 -0
- package/cjs/vef-form/event.cjs +47 -0
- package/cjs/vef-form/helper.cjs +18 -0
- package/cjs/vef-form/hooks/use-action-handlers.cjs +133 -0
- package/cjs/vef-form/hooks/use-columns-layout.cjs +125 -0
- package/cjs/vef-form/hooks/use-computed-values.cjs +58 -0
- package/cjs/vef-form/hooks/use-form-context.cjs +19 -0
- package/cjs/vef-form/hooks/use-form-initialization.cjs +48 -0
- package/cjs/vef-form/hooks/use-form-instance.cjs +29 -0
- package/cjs/vef-form/hooks/use-form-values-change.cjs +33 -0
- package/cjs/vef-form/hooks/use-label-width.cjs +21 -0
- package/cjs/vef-form/index.cjs +179 -0
- package/cjs/vef-form/props.cjs +4 -0
- package/cjs/vef-form/store.cjs +70 -0
- package/cjs/vef-form/types.cjs +4 -0
- package/cjs/vef-form/validation-rules.cjs +311 -0
- package/cjs/vef-form-drawer/index.cjs +103 -0
- package/cjs/vef-form-drawer/props.cjs +4 -0
- package/cjs/vef-form-modal/index.cjs +100 -0
- package/cjs/vef-form-modal/props.cjs +4 -0
- package/cjs/vef-generic-select/index.cjs +86 -0
- package/cjs/vef-generic-select/props.cjs +4 -0
- package/cjs/vef-grid/index.cjs +94 -0
- package/cjs/vef-grid/props.cjs +7 -0
- package/cjs/vef-grid-item/index.cjs +57 -0
- package/cjs/vef-grid-item/props.cjs +4 -0
- package/cjs/vef-icon/index.cjs +55 -0
- package/cjs/vef-icon/props.cjs +4 -0
- package/cjs/vef-icon-select/index.cjs +180 -0
- package/cjs/vef-icon-select/props.cjs +4 -0
- package/cjs/vef-input/hooks/use-input-instance.cjs +18 -0
- package/cjs/vef-input/index.cjs +69 -0
- package/cjs/vef-input/props.cjs +4 -0
- package/cjs/vef-input-number/hooks/use-input-number-instance.cjs +16 -0
- package/cjs/vef-input-number/index.cjs +153 -0
- package/cjs/vef-input-number/props.cjs +4 -0
- package/cjs/vef-intellisense-code-editor/hooks/use-change-handler.cjs +13 -0
- package/cjs/vef-intellisense-code-editor/hooks/use-editor-options.cjs +34 -0
- package/cjs/vef-intellisense-code-editor/hooks/use-path.cjs +33 -0
- package/cjs/vef-intellisense-code-editor/index.cjs +47 -0
- package/cjs/vef-intellisense-code-editor/loader.cjs +142 -0
- package/cjs/vef-intellisense-code-editor/props.cjs +4 -0
- package/cjs/vef-intellisense-code-editor/styles.cjs +29 -0
- package/cjs/vef-intellisense-code-editor/themes/github-light.json.cjs +7 -0
- package/cjs/vef-json-viewer/index.cjs +41 -0
- package/cjs/vef-json-viewer/props.cjs +4 -0
- package/cjs/vef-layout/common-styles.cjs +13 -0
- package/cjs/vef-layout/components/content.cjs +18 -0
- package/cjs/vef-layout/components/font-size.cjs +73 -0
- package/cjs/vef-layout/components/fullscreen.cjs +28 -0
- package/cjs/vef-layout/components/header-action-icons.cjs +43 -0
- package/cjs/vef-layout/components/header-content.cjs +24 -0
- package/cjs/vef-layout/components/header.cjs +80 -0
- package/cjs/vef-layout/components/icon-boy.cjs +74 -0
- package/cjs/vef-layout/components/icon-girl.cjs +81 -0
- package/cjs/vef-layout/components/icon-menu-fold-left.cjs +28 -0
- package/cjs/vef-layout/components/icon-menu-unfold-left.cjs +28 -0
- package/cjs/vef-layout/components/menu-groups.cjs +145 -0
- package/cjs/vef-layout/components/message.cjs +16 -0
- package/cjs/vef-layout/components/search.cjs +16 -0
- package/cjs/vef-layout/components/sider.cjs +103 -0
- package/cjs/vef-layout/components/title.cjs +86 -0
- package/cjs/vef-layout/components/user-avatar.cjs +92 -0
- package/cjs/vef-layout/hooks/use-layout-context.cjs +15 -0
- package/cjs/vef-layout/index.cjs +41 -0
- package/cjs/vef-layout/logo.svg.cjs +7 -0
- package/cjs/vef-layout/props.cjs +4 -0
- package/cjs/vef-layout/store.cjs +21 -0
- package/cjs/vef-line-chart/index.cjs +43 -0
- package/cjs/vef-line-chart/props.cjs +4 -0
- package/cjs/vef-loading-placeholder/index.cjs +49 -0
- package/cjs/vef-loading-placeholder/props.cjs +4 -0
- package/cjs/vef-login/index.cjs +190 -0
- package/cjs/vef-login/login-icon.cjs +673 -0
- package/cjs/vef-login/props.cjs +4 -0
- package/cjs/vef-menu/index.cjs +84 -0
- package/cjs/vef-menu/props.cjs +4 -0
- package/cjs/vef-modal/components/action-button-wrapper.cjs +54 -0
- package/cjs/vef-modal/components/button-props.cjs +4 -0
- package/cjs/vef-modal/components/cancel-action-button.cjs +23 -0
- package/cjs/vef-modal/components/ok-action-button.cjs +25 -0
- package/cjs/vef-modal/context.cjs +20 -0
- package/cjs/vef-modal/index.cjs +247 -0
- package/cjs/vef-modal/props.cjs +4 -0
- package/cjs/vef-not-found/index.cjs +69 -0
- package/cjs/vef-not-found/not-found-icon.cjs +849 -0
- package/cjs/vef-not-found/props.cjs +4 -0
- package/cjs/vef-page/index.cjs +140 -0
- package/cjs/vef-page/props.cjs +4 -0
- package/cjs/vef-pagination/index.cjs +62 -0
- package/cjs/vef-pagination/props.cjs +16 -0
- package/cjs/vef-paragraph/index.cjs +94 -0
- package/cjs/vef-paragraph/props.cjs +4 -0
- package/cjs/vef-password/hooks/use-password-instance.cjs +16 -0
- package/cjs/vef-password/index.cjs +72 -0
- package/cjs/vef-password/props.cjs +4 -0
- package/cjs/vef-pie-chart/index.cjs +75 -0
- package/cjs/vef-pie-chart/props.cjs +4 -0
- package/cjs/vef-popconfirm/index.cjs +61 -0
- package/cjs/vef-popconfirm/props.cjs +4 -0
- package/cjs/vef-popover/index.cjs +39 -0
- package/cjs/vef-popover/props.cjs +4 -0
- package/cjs/vef-radio/hooks/use-data-options.cjs +43 -0
- package/cjs/vef-radio/hooks/use-radio-instance.cjs +23 -0
- package/cjs/vef-radio/index.cjs +93 -0
- package/cjs/vef-radio/props.cjs +4 -0
- package/cjs/vef-rate/hooks/use-rate-instance.cjs +16 -0
- package/cjs/vef-rate/index.cjs +35 -0
- package/cjs/vef-rate/props.cjs +4 -0
- package/cjs/vef-responsive-container/index.cjs +62 -0
- package/cjs/vef-responsive-container/props.cjs +4 -0
- package/cjs/vef-responsive-item/index.cjs +29 -0
- package/cjs/vef-responsive-item/props.cjs +4 -0
- package/cjs/vef-ribbon/index.cjs +43 -0
- package/cjs/vef-ribbon/props.cjs +4 -0
- package/cjs/vef-row/index.cjs +17 -0
- package/cjs/vef-row/props.cjs +4 -0
- package/cjs/vef-scroll-area/components/scrollbar.cjs +64 -0
- package/cjs/vef-scroll-area/index.cjs +82 -0
- package/cjs/vef-scroll-area/props.cjs +4 -0
- package/cjs/vef-segment/index.cjs +41 -0
- package/cjs/vef-segment/props.cjs +4 -0
- package/cjs/vef-select/components/option.cjs +34 -0
- package/cjs/vef-select/hooks/use-data-options.cjs +50 -0
- package/cjs/vef-select/hooks/use-field-names.cjs +24 -0
- package/cjs/vef-select/hooks/use-render-label.cjs +32 -0
- package/cjs/vef-select/hooks/use-render-option.cjs +22 -0
- package/cjs/vef-select/hooks/use-select-instance.cjs +23 -0
- package/cjs/vef-select/index.cjs +105 -0
- package/cjs/vef-select/props.cjs +4 -0
- package/cjs/vef-slider/hooks/use-slider-instance.cjs +16 -0
- package/cjs/vef-slider/index.cjs +39 -0
- package/cjs/vef-slider/props.cjs +4 -0
- package/cjs/vef-sortable-list/components/overlay-item.cjs +39 -0
- package/cjs/vef-sortable-list/components/sortable-item.cjs +83 -0
- package/cjs/vef-sortable-list/hooks/use-merged-items.cjs +24 -0
- package/cjs/vef-sortable-list/index.cjs +119 -0
- package/cjs/vef-sortable-list/props.cjs +4 -0
- package/cjs/vef-space/index.cjs +30 -0
- package/cjs/vef-space/props.cjs +4 -0
- package/cjs/vef-spin/index.cjs +17 -0
- package/cjs/vef-spin/props.cjs +4 -0
- package/cjs/vef-splitter/index.cjs +25 -0
- package/cjs/vef-splitter/props.cjs +4 -0
- package/cjs/vef-splitter-panel/index.cjs +17 -0
- package/cjs/vef-splitter-panel/props.cjs +4 -0
- package/cjs/vef-status/index.cjs +42 -0
- package/cjs/vef-status/props.cjs +4 -0
- package/cjs/vef-table/components/columns/bool.cjs +96 -0
- package/cjs/vef-table/components/columns/code.cjs +15 -0
- package/cjs/vef-table/components/columns/data-dictionary.cjs +97 -0
- package/cjs/vef-table/components/columns/enum.cjs +106 -0
- package/cjs/vef-table/components/columns/file.cjs +15 -0
- package/cjs/vef-table/components/columns/icon.cjs +15 -0
- package/cjs/vef-table/components/columns/id.cjs +87 -0
- package/cjs/vef-table/components/columns/image.cjs +16 -0
- package/cjs/vef-table/components/columns/index.cjs +36 -0
- package/cjs/vef-table/components/columns/markdown.cjs +15 -0
- package/cjs/vef-table/components/columns/number.cjs +88 -0
- package/cjs/vef-table/components/columns/props.cjs +4 -0
- package/cjs/vef-table/components/columns/render.cjs +33 -0
- package/cjs/vef-table/components/columns/rich-text.cjs +15 -0
- package/cjs/vef-table/components/columns/text.cjs +93 -0
- package/cjs/vef-table/components/columns-settings.cjs +242 -0
- package/cjs/vef-table/components/operation-buttons.cjs +243 -0
- package/cjs/vef-table/components/settings-icon.cjs +24 -0
- package/cjs/vef-table/components/table-footer.cjs +121 -0
- package/cjs/vef-table/helper.cjs +18 -0
- package/cjs/vef-table/hooks/use-computed-batch-buttons.cjs +36 -0
- package/cjs/vef-table/hooks/use-computed-columns.cjs +23 -0
- package/cjs/vef-table/hooks/use-computed-values.cjs +41 -0
- package/cjs/vef-table/hooks/use-data.cjs +60 -0
- package/cjs/vef-table/hooks/use-default-column-configs.cjs +30 -0
- package/cjs/vef-table/hooks/use-display-value.cjs +39 -0
- package/cjs/vef-table/hooks/use-helper-columns.cjs +70 -0
- package/cjs/vef-table/hooks/use-operation-column-width.cjs +53 -0
- package/cjs/vef-table/hooks/use-pagination-props.cjs +47 -0
- package/cjs/vef-table/hooks/use-row-props.cjs +42 -0
- package/cjs/vef-table/hooks/use-row-selection-config.cjs +115 -0
- package/cjs/vef-table/hooks/use-selected-rows.cjs +29 -0
- package/cjs/vef-table/hooks/use-table-columns.cjs +59 -0
- package/cjs/vef-table/hooks/use-table-context.cjs +26 -0
- package/cjs/vef-table/hooks/use-table-instance.cjs +18 -0
- package/cjs/vef-table/hooks/use-table-summary.cjs +45 -0
- package/cjs/vef-table/hooks/use-table-width.cjs +16 -0
- package/cjs/vef-table/index.cjs +281 -0
- package/cjs/vef-table/props.cjs +4 -0
- package/cjs/vef-table/store.cjs +22 -0
- package/cjs/vef-table/types.cjs +4 -0
- package/cjs/vef-tabs/index.cjs +30 -0
- package/cjs/vef-tabs/props.cjs +4 -0
- package/cjs/vef-tag/index.cjs +33 -0
- package/cjs/vef-tag/props.cjs +4 -0
- package/cjs/vef-temporal-picker/helper.cjs +60 -0
- package/cjs/vef-temporal-picker/hooks/use-dayjs-value.cjs +21 -0
- package/cjs/vef-temporal-picker/hooks/use-temporal-limit.cjs +37 -0
- package/cjs/vef-temporal-picker/hooks/use-temporal-picker-instance.cjs +22 -0
- package/cjs/vef-temporal-picker/index.cjs +130 -0
- package/cjs/vef-temporal-picker/props.cjs +4 -0
- package/cjs/vef-temporal-range-picker/helper.cjs +60 -0
- package/cjs/vef-temporal-range-picker/hooks/use-dayjs-values.cjs +26 -0
- package/cjs/vef-temporal-range-picker/hooks/use-temporal-limit.cjs +37 -0
- package/cjs/vef-temporal-range-picker/hooks/use-temporal-range-picker-instance.cjs +22 -0
- package/cjs/vef-temporal-range-picker/index.cjs +133 -0
- package/cjs/vef-temporal-range-picker/props.cjs +7 -0
- package/cjs/vef-text/index.cjs +85 -0
- package/cjs/vef-text/props.cjs +4 -0
- package/cjs/vef-textarea/hooks/use-textarea-instance.cjs +16 -0
- package/cjs/vef-textarea/index.cjs +72 -0
- package/cjs/vef-textarea/props.cjs +4 -0
- package/cjs/vef-title/index.cjs +101 -0
- package/cjs/vef-title/props.cjs +4 -0
- package/cjs/vef-tooltip/index.cjs +40 -0
- package/cjs/vef-tooltip/props.cjs +4 -0
- package/cjs/vef-tree-select/hooks/use-change-handler.cjs +36 -0
- package/cjs/vef-tree-select/hooks/use-data-options.cjs +48 -0
- package/cjs/vef-tree-select/hooks/use-tree-select-instance.cjs +23 -0
- package/cjs/vef-tree-select/index.cjs +94 -0
- package/cjs/vef-tree-select/props.cjs +4 -0
- package/cjs/vef-virtual-grid/index.cjs +121 -0
- package/cjs/vef-virtual-grid/props.cjs +4 -0
- package/cjs/vef-virtual-list/index.cjs +234 -0
- package/cjs/vef-virtual-list/props.cjs +4 -0
- package/esm/index.js +97 -0
- package/esm/internal/base.css.js +3 -0
- package/esm/internal/chart.js +19 -0
- package/esm/internal/index.js +5 -0
- package/esm/internal/modern-normalize.css.js +3 -0
- package/esm/internal/utils.js +7 -0
- package/esm/vef-access-denied/access-denied-icon.js +929 -0
- package/esm/vef-access-denied/index.js +64 -0
- package/esm/vef-access-denied/props.js +2 -0
- package/esm/vef-action-buttons/index.js +76 -0
- package/esm/vef-action-buttons/props.js +2 -0
- package/esm/vef-approval-flow-editor/components/edge.js +88 -0
- package/esm/vef-approval-flow-editor/components/label-value.js +37 -0
- package/esm/vef-approval-flow-editor/components/node-content.js +52 -0
- package/esm/vef-approval-flow-editor/components/node-selector.js +42 -0
- package/esm/vef-approval-flow-editor/components/node-toolbar.js +22 -0
- package/esm/vef-approval-flow-editor/components/nodes/approval.js +25 -0
- package/esm/vef-approval-flow-editor/components/nodes/condition.js +25 -0
- package/esm/vef-approval-flow-editor/components/nodes/end.js +25 -0
- package/esm/vef-approval-flow-editor/components/nodes/handle.js +25 -0
- package/esm/vef-approval-flow-editor/components/nodes/index.js +18 -0
- package/esm/vef-approval-flow-editor/components/nodes/submit.js +25 -0
- package/esm/vef-approval-flow-editor/components/selector-content.js +64 -0
- package/esm/vef-approval-flow-editor/components/source-handle.js +41 -0
- package/esm/vef-approval-flow-editor/components/target-handle.js +10 -0
- package/esm/vef-approval-flow-editor/constants.js +219 -0
- package/esm/vef-approval-flow-editor/helper.js +84 -0
- package/esm/vef-approval-flow-editor/hooks/use-edges-interaction.js +26 -0
- package/esm/vef-approval-flow-editor/hooks/use-element-selection.js +25 -0
- package/esm/vef-approval-flow-editor/hooks/use-nodes-interaction.js +52 -0
- package/esm/vef-approval-flow-editor/index.js +76 -0
- package/esm/vef-approval-flow-editor/models/edge-node.js +21 -0
- package/esm/vef-approval-flow-editor/models/flow-node.js +106 -0
- package/esm/vef-approval-flow-editor/props.js +2 -0
- package/esm/vef-approval-flow-editor/store.js +17 -0
- package/esm/vef-approval-flow-editor/styles.js +50 -0
- package/esm/vef-approval-flow-editor/types.js +16 -0
- package/esm/vef-area-chart/index.js +42 -0
- package/esm/vef-area-chart/props.js +2 -0
- package/esm/vef-auto-sizer/index.js +7 -0
- package/esm/vef-auto-sizer/props.js +2 -0
- package/esm/vef-avatar/index.js +21 -0
- package/esm/vef-avatar/props.js +2 -0
- package/esm/vef-avatar-group/index.js +26 -0
- package/esm/vef-avatar-group/props.js +2 -0
- package/esm/vef-badge/index.js +48 -0
- package/esm/vef-badge/props.js +2 -0
- package/esm/vef-bar-chart/index.js +42 -0
- package/esm/vef-bar-chart/props.js +2 -0
- package/esm/vef-bool/hooks/use-bool-instance.js +35 -0
- package/esm/vef-bool/index.js +61 -0
- package/esm/vef-bool/props.js +2 -0
- package/esm/vef-breadcrumb/index.js +49 -0
- package/esm/vef-breadcrumb/props.js +2 -0
- package/esm/vef-button/components/base-button.js +74 -0
- package/esm/vef-button/index.js +152 -0
- package/esm/vef-button/props.js +2 -0
- package/esm/vef-card/index.js +26 -0
- package/esm/vef-card/props.js +2 -0
- package/esm/vef-card-meta/index.js +13 -0
- package/esm/vef-card-meta/props.js +2 -0
- package/esm/vef-chart-container/hooks/use-chart-container-context.js +13 -0
- package/esm/vef-chart-container/index.js +124 -0
- package/esm/vef-chart-container/props.js +2 -0
- package/esm/vef-chart-legend-content/index.js +50 -0
- package/esm/vef-chart-legend-content/props.js +2 -0
- package/esm/vef-chart-tooltip-content/index.js +106 -0
- package/esm/vef-chart-tooltip-content/props.js +2 -0
- package/esm/vef-checkbox/hooks/use-checkbox-instance.js +21 -0
- package/esm/vef-checkbox/hooks/use-data-options.js +41 -0
- package/esm/vef-checkbox/index.js +89 -0
- package/esm/vef-checkbox/props.js +2 -0
- package/esm/vef-code-editor/hooks/use-change-handler.js +11 -0
- package/esm/vef-code-editor/hooks/use-config-extensions.js +49 -0
- package/esm/vef-code-editor/hooks/use-height-props.js +21 -0
- package/esm/vef-code-editor/hooks/use-language-extensions.js +118 -0
- package/esm/vef-code-editor/hooks/use-setup-options.js +38 -0
- package/esm/vef-code-editor/index.js +58 -0
- package/esm/vef-code-editor/props.js +2 -0
- package/esm/vef-code-editor/styles.js +144 -0
- package/esm/vef-col/index.js +12 -0
- package/esm/vef-col/props.js +2 -0
- package/esm/vef-color-picker/index.js +47 -0
- package/esm/vef-color-picker/props.js +2 -0
- package/esm/vef-compact/index.js +16 -0
- package/esm/vef-compact/props.js +2 -0
- package/esm/vef-config-provider/global-style.js +182 -0
- package/esm/vef-config-provider/hooks/use-ui-config.js +127 -0
- package/esm/vef-config-provider/index.js +124 -0
- package/esm/vef-config-provider/props.js +2 -0
- package/esm/vef-config-provider/store.js +22 -0
- package/esm/vef-container/index.js +19 -0
- package/esm/vef-container/props.js +2 -0
- package/esm/vef-crud-page/components/crud-actions.js +33 -0
- package/esm/vef-crud-page/components/crud-filter.js +55 -0
- package/esm/vef-crud-page/components/crud-footer.js +121 -0
- package/esm/vef-crud-page/components/crud-form-modal.js +54 -0
- package/esm/vef-crud-page/components/crud-header.js +30 -0
- package/esm/vef-crud-page/components/crud-table.js +77 -0
- package/esm/vef-crud-page/hooks/use-action-buttons.js +38 -0
- package/esm/vef-crud-page/hooks/use-crud-context.js +21 -0
- package/esm/vef-crud-page/hooks/use-crud-schema.js +117 -0
- package/esm/vef-crud-page/hooks/use-operation-buttons.js +61 -0
- package/esm/vef-crud-page/index.js +151 -0
- package/esm/vef-crud-page/props.js +2 -0
- package/esm/vef-crud-page/store.js +143 -0
- package/esm/vef-crud-page/types.js +2 -0
- package/esm/vef-data-grid/index.js +86 -0
- package/esm/vef-data-grid/props.js +2 -0
- package/esm/vef-data-table/index.js +10 -0
- package/esm/vef-data-table/props.js +2 -0
- package/esm/vef-divider/index.js +25 -0
- package/esm/vef-divider/props.js +2 -0
- package/esm/vef-drawer/components/action-button-wrapper.js +50 -0
- package/esm/vef-drawer/components/button-props.js +2 -0
- package/esm/vef-drawer/components/cancel-action-button.js +22 -0
- package/esm/vef-drawer/components/ok-action-button.js +21 -0
- package/esm/vef-drawer/context.js +16 -0
- package/esm/vef-drawer/index.js +160 -0
- package/esm/vef-drawer/props.js +2 -0
- package/esm/vef-dropdown/index.js +93 -0
- package/esm/vef-dropdown/props.js +2 -0
- package/esm/vef-dynamic-icon/index.js +47 -0
- package/esm/vef-dynamic-icon/props.js +7 -0
- package/esm/vef-empty/index.js +38 -0
- package/esm/vef-empty/props.js +2 -0
- package/esm/vef-empty-placeholder/index.js +21 -0
- package/esm/vef-empty-placeholder/props.js +2 -0
- package/esm/vef-error/error-icon.js +758 -0
- package/esm/vef-error/index.js +68 -0
- package/esm/vef-error/props.js +2 -0
- package/esm/vef-filter/components/action-buttons.js +136 -0
- package/esm/vef-filter/components/advanced-filter.js +73 -0
- package/esm/vef-filter/components/basic-filter.js +51 -0
- package/esm/vef-filter/components/fields/index.js +20 -0
- package/esm/vef-filter/components/fields/input-number.js +91 -0
- package/esm/vef-filter/components/fields/input.js +68 -0
- package/esm/vef-filter/components/fields/props.js +2 -0
- package/esm/vef-filter/components/fields/radio.js +110 -0
- package/esm/vef-filter/components/fields/select.js +141 -0
- package/esm/vef-filter/components/fields/tree-select.js +137 -0
- package/esm/vef-filter/components/filter-field.js +20 -0
- package/esm/vef-filter/components/filter-item.js +113 -0
- package/esm/vef-filter/event.js +45 -0
- package/esm/vef-filter/helper.js +16 -0
- package/esm/vef-filter/hooks/use-action-handlers.js +71 -0
- package/esm/vef-filter/hooks/use-computed-values.js +56 -0
- package/esm/vef-filter/hooks/use-filter-context.js +19 -0
- package/esm/vef-filter/hooks/use-filter-initialization.js +38 -0
- package/esm/vef-filter/hooks/use-filter-instance.js +27 -0
- package/esm/vef-filter/hooks/use-filter-items.js +24 -0
- package/esm/vef-filter/hooks/use-filter-values-change.js +31 -0
- package/esm/vef-filter/hooks/use-label-config.js +28 -0
- package/esm/vef-filter/index.js +148 -0
- package/esm/vef-filter/props.js +2 -0
- package/esm/vef-filter/store.js +72 -0
- package/esm/vef-filter/types.js +2 -0
- package/esm/vef-flex/index.js +32 -0
- package/esm/vef-flex/props.js +2 -0
- package/esm/vef-float-button/index.js +50 -0
- package/esm/vef-float-button/props.js +2 -0
- package/esm/vef-float-button-group/index.js +21 -0
- package/esm/vef-float-button-group/props.js +2 -0
- package/esm/vef-form/components/fields/icon-select.js +66 -0
- package/esm/vef-form/components/fields/index.js +26 -0
- package/esm/vef-form/components/fields/input-number.js +124 -0
- package/esm/vef-form/components/fields/input.js +133 -0
- package/esm/vef-form/components/fields/password.js +116 -0
- package/esm/vef-form/components/fields/props.js +2 -0
- package/esm/vef-form/components/fields/radio.js +107 -0
- package/esm/vef-form/components/fields/select.js +239 -0
- package/esm/vef-form/components/fields/textarea.js +110 -0
- package/esm/vef-form/components/fields/tree-select.js +235 -0
- package/esm/vef-form/components/form-actions.js +59 -0
- package/esm/vef-form/components/form-content.js +147 -0
- package/esm/vef-form/components/form-field.js +23 -0
- package/esm/vef-form/components/form-group.js +73 -0
- package/esm/vef-form/components/form-hidden-item.js +37 -0
- package/esm/vef-form/components/form-item.js +80 -0
- package/esm/vef-form/components/form-row.js +99 -0
- package/esm/vef-form/event.js +45 -0
- package/esm/vef-form/helper.js +16 -0
- package/esm/vef-form/hooks/use-action-handlers.js +131 -0
- package/esm/vef-form/hooks/use-columns-layout.js +123 -0
- package/esm/vef-form/hooks/use-computed-values.js +56 -0
- package/esm/vef-form/hooks/use-form-context.js +15 -0
- package/esm/vef-form/hooks/use-form-initialization.js +46 -0
- package/esm/vef-form/hooks/use-form-instance.js +27 -0
- package/esm/vef-form/hooks/use-form-values-change.js +31 -0
- package/esm/vef-form/hooks/use-label-width.js +19 -0
- package/esm/vef-form/index.js +175 -0
- package/esm/vef-form/props.js +2 -0
- package/esm/vef-form/store.js +66 -0
- package/esm/vef-form/types.js +2 -0
- package/esm/vef-form/validation-rules.js +287 -0
- package/esm/vef-form-drawer/index.js +99 -0
- package/esm/vef-form-drawer/props.js +2 -0
- package/esm/vef-form-modal/index.js +96 -0
- package/esm/vef-form-modal/props.js +2 -0
- package/esm/vef-generic-select/index.js +82 -0
- package/esm/vef-generic-select/props.js +2 -0
- package/esm/vef-grid/index.js +90 -0
- package/esm/vef-grid/props.js +5 -0
- package/esm/vef-grid-item/index.js +53 -0
- package/esm/vef-grid-item/props.js +2 -0
- package/esm/vef-icon/index.js +51 -0
- package/esm/vef-icon/props.js +2 -0
- package/esm/vef-icon-select/index.js +176 -0
- package/esm/vef-icon-select/props.js +2 -0
- package/esm/vef-input/hooks/use-input-instance.js +16 -0
- package/esm/vef-input/index.js +65 -0
- package/esm/vef-input/props.js +2 -0
- package/esm/vef-input-number/hooks/use-input-number-instance.js +14 -0
- package/esm/vef-input-number/index.js +149 -0
- package/esm/vef-input-number/props.js +2 -0
- package/esm/vef-intellisense-code-editor/hooks/use-change-handler.js +11 -0
- package/esm/vef-intellisense-code-editor/hooks/use-editor-options.js +32 -0
- package/esm/vef-intellisense-code-editor/hooks/use-path.js +31 -0
- package/esm/vef-intellisense-code-editor/index.js +43 -0
- package/esm/vef-intellisense-code-editor/loader.js +121 -0
- package/esm/vef-intellisense-code-editor/props.js +2 -0
- package/esm/vef-intellisense-code-editor/styles.js +27 -0
- package/esm/vef-intellisense-code-editor/themes/github-light.json.js +3 -0
- package/esm/vef-json-viewer/index.js +37 -0
- package/esm/vef-json-viewer/props.js +2 -0
- package/esm/vef-layout/common-styles.js +11 -0
- package/esm/vef-layout/components/content.js +14 -0
- package/esm/vef-layout/components/font-size.js +69 -0
- package/esm/vef-layout/components/fullscreen.js +24 -0
- package/esm/vef-layout/components/header-action-icons.js +39 -0
- package/esm/vef-layout/components/header-content.js +20 -0
- package/esm/vef-layout/components/header.js +76 -0
- package/esm/vef-layout/components/icon-boy.js +70 -0
- package/esm/vef-layout/components/icon-girl.js +77 -0
- package/esm/vef-layout/components/icon-menu-fold-left.js +24 -0
- package/esm/vef-layout/components/icon-menu-unfold-left.js +24 -0
- package/esm/vef-layout/components/menu-groups.js +141 -0
- package/esm/vef-layout/components/message.js +12 -0
- package/esm/vef-layout/components/search.js +12 -0
- package/esm/vef-layout/components/sider.js +99 -0
- package/esm/vef-layout/components/title.js +82 -0
- package/esm/vef-layout/components/user-avatar.js +88 -0
- package/esm/vef-layout/hooks/use-layout-context.js +11 -0
- package/esm/vef-layout/index.js +37 -0
- package/esm/vef-layout/logo.svg.js +3 -0
- package/esm/vef-layout/props.js +2 -0
- package/esm/vef-layout/store.js +17 -0
- package/esm/vef-line-chart/index.js +39 -0
- package/esm/vef-line-chart/props.js +2 -0
- package/esm/vef-loading-placeholder/index.js +45 -0
- package/esm/vef-loading-placeholder/props.js +2 -0
- package/esm/vef-login/index.js +186 -0
- package/esm/vef-login/login-icon.js +669 -0
- package/esm/vef-login/props.js +2 -0
- package/esm/vef-menu/index.js +80 -0
- package/esm/vef-menu/props.js +2 -0
- package/esm/vef-modal/components/action-button-wrapper.js +50 -0
- package/esm/vef-modal/components/button-props.js +2 -0
- package/esm/vef-modal/components/cancel-action-button.js +19 -0
- package/esm/vef-modal/components/ok-action-button.js +21 -0
- package/esm/vef-modal/context.js +16 -0
- package/esm/vef-modal/index.js +242 -0
- package/esm/vef-modal/props.js +2 -0
- package/esm/vef-not-found/index.js +65 -0
- package/esm/vef-not-found/not-found-icon.js +845 -0
- package/esm/vef-not-found/props.js +2 -0
- package/esm/vef-page/index.js +136 -0
- package/esm/vef-page/props.js +2 -0
- package/esm/vef-pagination/index.js +58 -0
- package/esm/vef-pagination/props.js +14 -0
- package/esm/vef-paragraph/index.js +90 -0
- package/esm/vef-paragraph/props.js +2 -0
- package/esm/vef-password/hooks/use-password-instance.js +14 -0
- package/esm/vef-password/index.js +68 -0
- package/esm/vef-password/props.js +2 -0
- package/esm/vef-pie-chart/index.js +71 -0
- package/esm/vef-pie-chart/props.js +2 -0
- package/esm/vef-popconfirm/index.js +57 -0
- package/esm/vef-popconfirm/props.js +2 -0
- package/esm/vef-popover/index.js +35 -0
- package/esm/vef-popover/props.js +2 -0
- package/esm/vef-radio/hooks/use-data-options.js +41 -0
- package/esm/vef-radio/hooks/use-radio-instance.js +21 -0
- package/esm/vef-radio/index.js +89 -0
- package/esm/vef-radio/props.js +2 -0
- package/esm/vef-rate/hooks/use-rate-instance.js +14 -0
- package/esm/vef-rate/index.js +31 -0
- package/esm/vef-rate/props.js +2 -0
- package/esm/vef-responsive-container/index.js +58 -0
- package/esm/vef-responsive-container/props.js +2 -0
- package/esm/vef-responsive-item/index.js +25 -0
- package/esm/vef-responsive-item/props.js +2 -0
- package/esm/vef-ribbon/index.js +39 -0
- package/esm/vef-ribbon/props.js +2 -0
- package/esm/vef-row/index.js +13 -0
- package/esm/vef-row/props.js +2 -0
- package/esm/vef-scroll-area/components/scrollbar.js +60 -0
- package/esm/vef-scroll-area/index.js +78 -0
- package/esm/vef-scroll-area/props.js +2 -0
- package/esm/vef-segment/index.js +37 -0
- package/esm/vef-segment/props.js +2 -0
- package/esm/vef-select/components/option.js +30 -0
- package/esm/vef-select/hooks/use-data-options.js +48 -0
- package/esm/vef-select/hooks/use-field-names.js +22 -0
- package/esm/vef-select/hooks/use-render-label.js +30 -0
- package/esm/vef-select/hooks/use-render-option.js +20 -0
- package/esm/vef-select/hooks/use-select-instance.js +21 -0
- package/esm/vef-select/index.js +101 -0
- package/esm/vef-select/props.js +2 -0
- package/esm/vef-slider/hooks/use-slider-instance.js +14 -0
- package/esm/vef-slider/index.js +35 -0
- package/esm/vef-slider/props.js +2 -0
- package/esm/vef-sortable-list/components/overlay-item.js +35 -0
- package/esm/vef-sortable-list/components/sortable-item.js +79 -0
- package/esm/vef-sortable-list/hooks/use-merged-items.js +22 -0
- package/esm/vef-sortable-list/index.js +115 -0
- package/esm/vef-sortable-list/props.js +2 -0
- package/esm/vef-space/index.js +26 -0
- package/esm/vef-space/props.js +2 -0
- package/esm/vef-spin/index.js +13 -0
- package/esm/vef-spin/props.js +2 -0
- package/esm/vef-splitter/index.js +21 -0
- package/esm/vef-splitter/props.js +2 -0
- package/esm/vef-splitter-panel/index.js +13 -0
- package/esm/vef-splitter-panel/props.js +2 -0
- package/esm/vef-status/index.js +38 -0
- package/esm/vef-status/props.js +2 -0
- package/esm/vef-table/components/columns/bool.js +92 -0
- package/esm/vef-table/components/columns/code.js +11 -0
- package/esm/vef-table/components/columns/data-dictionary.js +93 -0
- package/esm/vef-table/components/columns/enum.js +102 -0
- package/esm/vef-table/components/columns/file.js +11 -0
- package/esm/vef-table/components/columns/icon.js +11 -0
- package/esm/vef-table/components/columns/id.js +83 -0
- package/esm/vef-table/components/columns/image.js +12 -0
- package/esm/vef-table/components/columns/index.js +34 -0
- package/esm/vef-table/components/columns/markdown.js +11 -0
- package/esm/vef-table/components/columns/number.js +84 -0
- package/esm/vef-table/components/columns/props.js +2 -0
- package/esm/vef-table/components/columns/render.js +29 -0
- package/esm/vef-table/components/columns/rich-text.js +11 -0
- package/esm/vef-table/components/columns/text.js +89 -0
- package/esm/vef-table/components/columns-settings.js +238 -0
- package/esm/vef-table/components/operation-buttons.js +239 -0
- package/esm/vef-table/components/settings-icon.js +20 -0
- package/esm/vef-table/components/table-footer.js +117 -0
- package/esm/vef-table/helper.js +16 -0
- package/esm/vef-table/hooks/use-computed-batch-buttons.js +34 -0
- package/esm/vef-table/hooks/use-computed-columns.js +21 -0
- package/esm/vef-table/hooks/use-computed-values.js +39 -0
- package/esm/vef-table/hooks/use-data.js +58 -0
- package/esm/vef-table/hooks/use-default-column-configs.js +28 -0
- package/esm/vef-table/hooks/use-display-value.js +37 -0
- package/esm/vef-table/hooks/use-helper-columns.js +68 -0
- package/esm/vef-table/hooks/use-operation-column-width.js +51 -0
- package/esm/vef-table/hooks/use-pagination-props.js +45 -0
- package/esm/vef-table/hooks/use-row-props.js +40 -0
- package/esm/vef-table/hooks/use-row-selection-config.js +113 -0
- package/esm/vef-table/hooks/use-selected-rows.js +27 -0
- package/esm/vef-table/hooks/use-table-columns.js +57 -0
- package/esm/vef-table/hooks/use-table-context.js +22 -0
- package/esm/vef-table/hooks/use-table-instance.js +16 -0
- package/esm/vef-table/hooks/use-table-summary.js +43 -0
- package/esm/vef-table/hooks/use-table-width.js +14 -0
- package/esm/vef-table/index.js +277 -0
- package/esm/vef-table/props.js +2 -0
- package/esm/vef-table/store.js +18 -0
- package/esm/vef-table/types.js +2 -0
- package/esm/vef-tabs/index.js +26 -0
- package/esm/vef-tabs/props.js +2 -0
- package/esm/vef-tag/index.js +29 -0
- package/esm/vef-tag/props.js +2 -0
- package/esm/vef-temporal-picker/helper.js +58 -0
- package/esm/vef-temporal-picker/hooks/use-dayjs-value.js +19 -0
- package/esm/vef-temporal-picker/hooks/use-temporal-limit.js +35 -0
- package/esm/vef-temporal-picker/hooks/use-temporal-picker-instance.js +20 -0
- package/esm/vef-temporal-picker/index.js +126 -0
- package/esm/vef-temporal-picker/props.js +2 -0
- package/esm/vef-temporal-range-picker/helper.js +58 -0
- package/esm/vef-temporal-range-picker/hooks/use-dayjs-values.js +24 -0
- package/esm/vef-temporal-range-picker/hooks/use-temporal-limit.js +35 -0
- package/esm/vef-temporal-range-picker/hooks/use-temporal-range-picker-instance.js +20 -0
- package/esm/vef-temporal-range-picker/index.js +129 -0
- package/esm/vef-temporal-range-picker/props.js +5 -0
- package/esm/vef-text/index.js +81 -0
- package/esm/vef-text/props.js +2 -0
- package/esm/vef-textarea/hooks/use-textarea-instance.js +14 -0
- package/esm/vef-textarea/index.js +68 -0
- package/esm/vef-textarea/props.js +2 -0
- package/esm/vef-title/index.js +97 -0
- package/esm/vef-title/props.js +2 -0
- package/esm/vef-tooltip/index.js +36 -0
- package/esm/vef-tooltip/props.js +2 -0
- package/esm/vef-tree-select/hooks/use-change-handler.js +34 -0
- package/esm/vef-tree-select/hooks/use-data-options.js +46 -0
- package/esm/vef-tree-select/hooks/use-tree-select-instance.js +21 -0
- package/esm/vef-tree-select/index.js +90 -0
- package/esm/vef-tree-select/props.js +2 -0
- package/esm/vef-virtual-grid/index.js +117 -0
- package/esm/vef-virtual-grid/props.js +2 -0
- package/esm/vef-virtual-list/index.js +230 -0
- package/esm/vef-virtual-list/props.js +2 -0
- package/package.json +14 -13
- package/types/vef-dynamic-icon/props.d.ts +1 -1
- package/es/index.js +0 -1
- package/es/internal/base.css.js +0 -491
- package/es/internal/chart.js +0 -1
- package/es/internal/index.js +0 -1
- package/es/internal/modern-normalize.css.js +0 -214
- package/es/internal/utils.js +0 -1
- package/es/vef-access-denied/access-denied-icon.js +0 -1
- package/es/vef-access-denied/index.js +0 -27
- package/es/vef-action-buttons/index.js +0 -1
- package/es/vef-approval-flow-editor/components/edge.js +0 -6
- package/es/vef-approval-flow-editor/components/label-value.js +0 -17
- package/es/vef-approval-flow-editor/components/node-content.js +0 -16
- package/es/vef-approval-flow-editor/components/node-selector.js +0 -12
- package/es/vef-approval-flow-editor/components/node-toolbar.js +0 -1
- package/es/vef-approval-flow-editor/components/nodes/approval.js +0 -1
- package/es/vef-approval-flow-editor/components/nodes/condition.js +0 -1
- package/es/vef-approval-flow-editor/components/nodes/end.js +0 -1
- package/es/vef-approval-flow-editor/components/nodes/handle.js +0 -1
- package/es/vef-approval-flow-editor/components/nodes/index.js +0 -1
- package/es/vef-approval-flow-editor/components/nodes/submit.js +0 -1
- package/es/vef-approval-flow-editor/components/selector-content.js +0 -24
- package/es/vef-approval-flow-editor/components/source-handle.js +0 -1
- package/es/vef-approval-flow-editor/components/target-handle.js +0 -1
- package/es/vef-approval-flow-editor/constants.js +0 -1
- package/es/vef-approval-flow-editor/helper.js +0 -1
- package/es/vef-approval-flow-editor/hooks/use-edges-interaction.js +0 -1
- package/es/vef-approval-flow-editor/hooks/use-element-selection.js +0 -1
- package/es/vef-approval-flow-editor/hooks/use-nodes-interaction.js +0 -1
- package/es/vef-approval-flow-editor/index.js +0 -1
- package/es/vef-approval-flow-editor/models/edge-node.js +0 -1
- package/es/vef-approval-flow-editor/models/flow-node.js +0 -1
- package/es/vef-approval-flow-editor/store.js +0 -1
- package/es/vef-approval-flow-editor/styles.js +0 -41
- package/es/vef-approval-flow-editor/types.js +0 -1
- package/es/vef-area-chart/index.js +0 -1
- package/es/vef-auto-sizer/index.js +0 -1
- package/es/vef-avatar/index.js +0 -1
- package/es/vef-avatar-group/index.js +0 -1
- package/es/vef-badge/index.js +0 -1
- package/es/vef-bar-chart/index.js +0 -1
- package/es/vef-bool/hooks/use-bool-instance.js +0 -1
- package/es/vef-bool/index.js +0 -1
- package/es/vef-breadcrumb/index.js +0 -1
- package/es/vef-button/components/base-button.js +0 -1
- package/es/vef-button/index.js +0 -1
- package/es/vef-card/index.js +0 -1
- package/es/vef-card-meta/index.js +0 -1
- package/es/vef-chart-container/hooks/use-chart-container-context.js +0 -1
- package/es/vef-chart-container/index.js +0 -57
- package/es/vef-chart-legend-content/index.js +0 -16
- package/es/vef-chart-tooltip-content/index.js +0 -42
- package/es/vef-checkbox/hooks/use-checkbox-instance.js +0 -1
- package/es/vef-checkbox/hooks/use-data-options.js +0 -1
- package/es/vef-checkbox/index.js +0 -3
- package/es/vef-code-editor/hooks/use-change-handler.js +0 -1
- package/es/vef-code-editor/hooks/use-config-extensions.js +0 -1
- package/es/vef-code-editor/hooks/use-height-props.js +0 -1
- package/es/vef-code-editor/hooks/use-language-extensions.js +0 -1
- package/es/vef-code-editor/hooks/use-setup-options.js +0 -1
- package/es/vef-code-editor/index.js +0 -1
- package/es/vef-code-editor/styles.js +0 -137
- package/es/vef-col/index.js +0 -1
- package/es/vef-color-picker/index.js +0 -1
- package/es/vef-compact/index.js +0 -1
- package/es/vef-config-provider/global-style.js +0 -173
- package/es/vef-config-provider/hooks/use-ui-config.js +0 -1
- package/es/vef-config-provider/index.js +0 -5
- package/es/vef-config-provider/store.js +0 -1
- package/es/vef-container/index.js +0 -1
- package/es/vef-crud-page/components/crud-actions.js +0 -1
- package/es/vef-crud-page/components/crud-filter.js +0 -1
- package/es/vef-crud-page/components/crud-footer.js +0 -7
- package/es/vef-crud-page/components/crud-form-modal.js +0 -1
- package/es/vef-crud-page/components/crud-header.js +0 -1
- package/es/vef-crud-page/components/crud-table.js +0 -1
- package/es/vef-crud-page/hooks/use-action-buttons.js +0 -1
- package/es/vef-crud-page/hooks/use-crud-context.js +0 -1
- package/es/vef-crud-page/hooks/use-crud-schema.js +0 -1
- package/es/vef-crud-page/hooks/use-operation-buttons.js +0 -1
- package/es/vef-crud-page/index.js +0 -1
- package/es/vef-crud-page/store.js +0 -1
- package/es/vef-data-grid/index.js +0 -1
- package/es/vef-data-table/index.js +0 -1
- package/es/vef-divider/index.js +0 -1
- package/es/vef-drawer/components/action-button-wrapper.js +0 -1
- package/es/vef-drawer/components/button-props.js +0 -1
- package/es/vef-drawer/components/cancel-action-button.js +0 -1
- package/es/vef-drawer/components/ok-action-button.js +0 -1
- package/es/vef-drawer/context.js +0 -1
- package/es/vef-drawer/index.js +0 -8
- package/es/vef-dropdown/index.js +0 -1
- package/es/vef-dynamic-icon/index.js +0 -1
- package/es/vef-dynamic-icon/props.js +0 -1
- package/es/vef-empty/index.js +0 -1
- package/es/vef-empty-placeholder/index.js +0 -5
- package/es/vef-error/error-icon.js +0 -1
- package/es/vef-error/index.js +0 -28
- package/es/vef-filter/components/action-buttons.js +0 -19
- package/es/vef-filter/components/advanced-filter.js +0 -9
- package/es/vef-filter/components/basic-filter.js +0 -19
- package/es/vef-filter/components/fields/index.js +0 -1
- package/es/vef-filter/components/fields/input-number.js +0 -1
- package/es/vef-filter/components/fields/input.js +0 -1
- package/es/vef-filter/components/fields/radio.js +0 -1
- package/es/vef-filter/components/fields/select.js +0 -1
- package/es/vef-filter/components/fields/tree-select.js +0 -1
- package/es/vef-filter/components/filter-field.js +0 -1
- package/es/vef-filter/components/filter-item.js +0 -1
- package/es/vef-filter/event.js +0 -1
- package/es/vef-filter/helper.js +0 -1
- package/es/vef-filter/hooks/use-action-handlers.js +0 -1
- package/es/vef-filter/hooks/use-computed-values.js +0 -1
- package/es/vef-filter/hooks/use-filter-context.js +0 -1
- package/es/vef-filter/hooks/use-filter-initialization.js +0 -1
- package/es/vef-filter/hooks/use-filter-instance.js +0 -1
- package/es/vef-filter/hooks/use-filter-items.js +0 -1
- package/es/vef-filter/hooks/use-filter-values-change.js +0 -1
- package/es/vef-filter/hooks/use-label-config.js +0 -1
- package/es/vef-filter/index.js +0 -8
- package/es/vef-filter/store.js +0 -1
- package/es/vef-flex/index.js +0 -1
- package/es/vef-float-button/index.js +0 -1
- package/es/vef-float-button-group/index.js +0 -1
- package/es/vef-form/components/fields/icon-select.js +0 -1
- package/es/vef-form/components/fields/index.js +0 -1
- package/es/vef-form/components/fields/input-number.js +0 -1
- package/es/vef-form/components/fields/input.js +0 -1
- package/es/vef-form/components/fields/password.js +0 -1
- package/es/vef-form/components/fields/radio.js +0 -1
- package/es/vef-form/components/fields/select.js +0 -1
- package/es/vef-form/components/fields/textarea.js +0 -1
- package/es/vef-form/components/fields/tree-select.js +0 -1
- package/es/vef-form/components/form-actions.js +0 -3
- package/es/vef-form/components/form-content.js +0 -4
- package/es/vef-form/components/form-field.js +0 -1
- package/es/vef-form/components/form-group.js +0 -11
- package/es/vef-form/components/form-hidden-item.js +0 -1
- package/es/vef-form/components/form-item.js +0 -1
- package/es/vef-form/components/form-row.js +0 -1
- package/es/vef-form/event.js +0 -1
- package/es/vef-form/helper.js +0 -1
- package/es/vef-form/hooks/use-action-handlers.js +0 -1
- package/es/vef-form/hooks/use-columns-layout.js +0 -1
- package/es/vef-form/hooks/use-computed-values.js +0 -1
- package/es/vef-form/hooks/use-form-context.js +0 -1
- package/es/vef-form/hooks/use-form-initialization.js +0 -1
- package/es/vef-form/hooks/use-form-instance.js +0 -1
- package/es/vef-form/hooks/use-form-values-change.js +0 -1
- package/es/vef-form/hooks/use-label-width.js +0 -1
- package/es/vef-form/index.js +0 -3
- package/es/vef-form/store.js +0 -1
- package/es/vef-form/validation-rules.js +0 -1
- package/es/vef-form-drawer/index.js +0 -1
- package/es/vef-form-modal/index.js +0 -1
- package/es/vef-generic-select/index.js +0 -1
- package/es/vef-grid/index.js +0 -24
- package/es/vef-grid/props.js +0 -1
- package/es/vef-grid-item/index.js +0 -1
- package/es/vef-icon/index.js +0 -1
- package/es/vef-icon-select/index.js +0 -40
- package/es/vef-input/hooks/use-input-instance.js +0 -1
- package/es/vef-input/index.js +0 -1
- package/es/vef-input-number/hooks/use-input-number-instance.js +0 -1
- package/es/vef-input-number/index.js +0 -1
- package/es/vef-intellisense-code-editor/hooks/use-change-handler.js +0 -1
- package/es/vef-intellisense-code-editor/hooks/use-editor-options.js +0 -1
- package/es/vef-intellisense-code-editor/hooks/use-path.js +0 -1
- package/es/vef-intellisense-code-editor/index.js +0 -1
- package/es/vef-intellisense-code-editor/loader.js +0 -1
- package/es/vef-intellisense-code-editor/styles.js +0 -20
- package/es/vef-intellisense-code-editor/themes/github-light.json.js +0 -349
- package/es/vef-json-viewer/index.js +0 -1
- package/es/vef-layout/common-styles.js +0 -4
- package/es/vef-layout/components/content.js +0 -1
- package/es/vef-layout/components/font-size.js +0 -1
- package/es/vef-layout/components/fullscreen.js +0 -1
- package/es/vef-layout/components/header-action-icons.js +0 -15
- package/es/vef-layout/components/header-content.js +0 -1
- package/es/vef-layout/components/header.js +0 -12
- package/es/vef-layout/components/icon-boy.js +0 -1
- package/es/vef-layout/components/icon-girl.js +0 -1
- package/es/vef-layout/components/icon-menu-fold-left.js +0 -1
- package/es/vef-layout/components/icon-menu-unfold-left.js +0 -1
- package/es/vef-layout/components/menu-groups.js +0 -32
- package/es/vef-layout/components/message.js +0 -1
- package/es/vef-layout/components/search.js +0 -1
- package/es/vef-layout/components/sider.js +0 -49
- package/es/vef-layout/components/title.js +0 -36
- package/es/vef-layout/components/user-avatar.js +0 -16
- package/es/vef-layout/hooks/use-layout-context.js +0 -1
- package/es/vef-layout/index.js +0 -5
- package/es/vef-layout/logo.svg.js +0 -1
- package/es/vef-layout/store.js +0 -1
- package/es/vef-line-chart/index.js +0 -1
- package/es/vef-loading-placeholder/index.js +0 -7
- package/es/vef-login/index.js +0 -54
- package/es/vef-login/login-icon.js +0 -1
- package/es/vef-menu/index.js +0 -6
- package/es/vef-modal/components/action-button-wrapper.js +0 -1
- package/es/vef-modal/components/button-props.js +0 -1
- package/es/vef-modal/components/cancel-action-button.js +0 -1
- package/es/vef-modal/components/ok-action-button.js +0 -1
- package/es/vef-modal/context.js +0 -1
- package/es/vef-modal/index.js +0 -4
- package/es/vef-not-found/index.js +0 -28
- package/es/vef-not-found/not-found-icon.js +0 -1
- package/es/vef-page/index.js +0 -58
- package/es/vef-pagination/index.js +0 -1
- package/es/vef-pagination/props.js +0 -1
- package/es/vef-paragraph/index.js +0 -1
- package/es/vef-password/hooks/use-password-instance.js +0 -1
- package/es/vef-password/index.js +0 -1
- package/es/vef-pie-chart/index.js +0 -8
- package/es/vef-popconfirm/index.js +0 -1
- package/es/vef-popover/index.js +0 -1
- package/es/vef-radio/hooks/use-data-options.js +0 -1
- package/es/vef-radio/hooks/use-radio-instance.js +0 -1
- package/es/vef-radio/index.js +0 -3
- package/es/vef-rate/hooks/use-rate-instance.js +0 -1
- package/es/vef-rate/index.js +0 -1
- package/es/vef-responsive-container/index.js +0 -5
- package/es/vef-responsive-item/index.js +0 -3
- package/es/vef-ribbon/index.js +0 -1
- package/es/vef-row/index.js +0 -1
- package/es/vef-scroll-area/components/scrollbar.js +0 -32
- package/es/vef-scroll-area/index.js +0 -11
- package/es/vef-segment/index.js +0 -1
- package/es/vef-select/components/option.js +0 -9
- package/es/vef-select/hooks/use-data-options.js +0 -1
- package/es/vef-select/hooks/use-field-names.js +0 -1
- package/es/vef-select/hooks/use-render-label.js +0 -8
- package/es/vef-select/hooks/use-render-option.js +0 -1
- package/es/vef-select/hooks/use-select-instance.js +0 -1
- package/es/vef-select/index.js +0 -1
- package/es/vef-slider/hooks/use-slider-instance.js +0 -1
- package/es/vef-slider/index.js +0 -1
- package/es/vef-sortable-list/components/overlay-item.js +0 -5
- package/es/vef-sortable-list/components/sortable-item.js +0 -5
- package/es/vef-sortable-list/hooks/use-merged-items.js +0 -1
- package/es/vef-sortable-list/index.js +0 -1
- package/es/vef-space/index.js +0 -1
- package/es/vef-spin/index.js +0 -1
- package/es/vef-splitter/index.js +0 -1
- package/es/vef-splitter-panel/index.js +0 -1
- package/es/vef-status/index.js +0 -1
- package/es/vef-table/components/columns/bool.js +0 -1
- package/es/vef-table/components/columns/code.js +0 -1
- package/es/vef-table/components/columns/data-dictionary.js +0 -1
- package/es/vef-table/components/columns/enum.js +0 -1
- package/es/vef-table/components/columns/file.js +0 -1
- package/es/vef-table/components/columns/icon.js +0 -1
- package/es/vef-table/components/columns/id.js +0 -1
- package/es/vef-table/components/columns/image.js +0 -1
- package/es/vef-table/components/columns/index.js +0 -1
- package/es/vef-table/components/columns/markdown.js +0 -1
- package/es/vef-table/components/columns/number.js +0 -1
- package/es/vef-table/components/columns/render.js +0 -1
- package/es/vef-table/components/columns/rich-text.js +0 -1
- package/es/vef-table/components/columns/text.js +0 -1
- package/es/vef-table/components/columns-settings.js +0 -52
- package/es/vef-table/components/operation-buttons.js +0 -10
- package/es/vef-table/components/settings-icon.js +0 -3
- package/es/vef-table/components/table-footer.js +0 -17
- package/es/vef-table/helper.js +0 -1
- package/es/vef-table/hooks/use-computed-batch-buttons.js +0 -1
- package/es/vef-table/hooks/use-computed-columns.js +0 -1
- package/es/vef-table/hooks/use-computed-values.js +0 -1
- package/es/vef-table/hooks/use-data.js +0 -1
- package/es/vef-table/hooks/use-default-column-configs.js +0 -1
- package/es/vef-table/hooks/use-display-value.js +0 -1
- package/es/vef-table/hooks/use-helper-columns.js +0 -1
- package/es/vef-table/hooks/use-operation-column-width.js +0 -1
- package/es/vef-table/hooks/use-pagination-props.js +0 -1
- package/es/vef-table/hooks/use-row-props.js +0 -1
- package/es/vef-table/hooks/use-row-selection-config.js +0 -1
- package/es/vef-table/hooks/use-selected-rows.js +0 -1
- package/es/vef-table/hooks/use-table-columns.js +0 -1
- package/es/vef-table/hooks/use-table-context.js +0 -1
- package/es/vef-table/hooks/use-table-instance.js +0 -1
- package/es/vef-table/hooks/use-table-summary.js +0 -1
- package/es/vef-table/hooks/use-table-width.js +0 -1
- package/es/vef-table/index.js +0 -54
- package/es/vef-table/store.js +0 -1
- package/es/vef-tabs/index.js +0 -1
- package/es/vef-tag/index.js +0 -1
- package/es/vef-temporal-picker/helper.js +0 -1
- package/es/vef-temporal-picker/hooks/use-dayjs-value.js +0 -1
- package/es/vef-temporal-picker/hooks/use-temporal-limit.js +0 -1
- package/es/vef-temporal-picker/hooks/use-temporal-picker-instance.js +0 -1
- package/es/vef-temporal-picker/index.js +0 -1
- package/es/vef-temporal-range-picker/helper.js +0 -1
- package/es/vef-temporal-range-picker/hooks/use-dayjs-values.js +0 -1
- package/es/vef-temporal-range-picker/hooks/use-temporal-limit.js +0 -1
- package/es/vef-temporal-range-picker/hooks/use-temporal-range-picker-instance.js +0 -1
- package/es/vef-temporal-range-picker/index.js +0 -1
- package/es/vef-temporal-range-picker/props.js +0 -1
- package/es/vef-text/index.js +0 -1
- package/es/vef-textarea/hooks/use-textarea-instance.js +0 -1
- package/es/vef-textarea/index.js +0 -1
- package/es/vef-title/index.js +0 -13
- package/es/vef-tooltip/index.js +0 -1
- package/es/vef-tree-select/hooks/use-change-handler.js +0 -1
- package/es/vef-tree-select/hooks/use-data-options.js +0 -1
- package/es/vef-tree-select/hooks/use-tree-select-instance.js +0 -1
- package/es/vef-tree-select/index.js +0 -1
- package/es/vef-virtual-grid/index.js +0 -12
- package/es/vef-virtual-list/index.js +0 -18
- package/lib/index.cjs +0 -1
- package/lib/internal/base.css.cjs +0 -491
- package/lib/internal/chart.cjs +0 -1
- package/lib/internal/index.cjs +0 -1
- package/lib/internal/modern-normalize.css.cjs +0 -214
- package/lib/internal/utils.cjs +0 -1
- package/lib/vef-access-denied/access-denied-icon.cjs +0 -1
- package/lib/vef-access-denied/index.cjs +0 -27
- package/lib/vef-access-denied/props.cjs +0 -1
- package/lib/vef-action-buttons/index.cjs +0 -1
- package/lib/vef-action-buttons/props.cjs +0 -1
- package/lib/vef-approval-flow-editor/components/edge.cjs +0 -6
- package/lib/vef-approval-flow-editor/components/label-value.cjs +0 -17
- package/lib/vef-approval-flow-editor/components/node-content.cjs +0 -16
- package/lib/vef-approval-flow-editor/components/node-selector.cjs +0 -12
- package/lib/vef-approval-flow-editor/components/node-toolbar.cjs +0 -1
- package/lib/vef-approval-flow-editor/components/nodes/approval.cjs +0 -1
- package/lib/vef-approval-flow-editor/components/nodes/condition.cjs +0 -1
- package/lib/vef-approval-flow-editor/components/nodes/end.cjs +0 -1
- package/lib/vef-approval-flow-editor/components/nodes/handle.cjs +0 -1
- package/lib/vef-approval-flow-editor/components/nodes/index.cjs +0 -1
- package/lib/vef-approval-flow-editor/components/nodes/submit.cjs +0 -1
- package/lib/vef-approval-flow-editor/components/selector-content.cjs +0 -24
- package/lib/vef-approval-flow-editor/components/source-handle.cjs +0 -1
- package/lib/vef-approval-flow-editor/components/target-handle.cjs +0 -1
- package/lib/vef-approval-flow-editor/constants.cjs +0 -1
- package/lib/vef-approval-flow-editor/helper.cjs +0 -1
- package/lib/vef-approval-flow-editor/hooks/use-edges-interaction.cjs +0 -1
- package/lib/vef-approval-flow-editor/hooks/use-element-selection.cjs +0 -1
- package/lib/vef-approval-flow-editor/hooks/use-nodes-interaction.cjs +0 -1
- package/lib/vef-approval-flow-editor/index.cjs +0 -1
- package/lib/vef-approval-flow-editor/models/edge-node.cjs +0 -1
- package/lib/vef-approval-flow-editor/models/flow-node.cjs +0 -1
- package/lib/vef-approval-flow-editor/props.cjs +0 -1
- package/lib/vef-approval-flow-editor/store.cjs +0 -1
- package/lib/vef-approval-flow-editor/styles.cjs +0 -41
- package/lib/vef-approval-flow-editor/types.cjs +0 -1
- package/lib/vef-area-chart/index.cjs +0 -1
- package/lib/vef-area-chart/props.cjs +0 -1
- package/lib/vef-auto-sizer/index.cjs +0 -1
- package/lib/vef-auto-sizer/props.cjs +0 -1
- package/lib/vef-avatar/index.cjs +0 -1
- package/lib/vef-avatar/props.cjs +0 -1
- package/lib/vef-avatar-group/index.cjs +0 -1
- package/lib/vef-avatar-group/props.cjs +0 -1
- package/lib/vef-badge/index.cjs +0 -1
- package/lib/vef-badge/props.cjs +0 -1
- package/lib/vef-bar-chart/index.cjs +0 -1
- package/lib/vef-bar-chart/props.cjs +0 -1
- package/lib/vef-bool/hooks/use-bool-instance.cjs +0 -1
- package/lib/vef-bool/index.cjs +0 -1
- package/lib/vef-bool/props.cjs +0 -1
- package/lib/vef-breadcrumb/index.cjs +0 -1
- package/lib/vef-breadcrumb/props.cjs +0 -1
- package/lib/vef-button/components/base-button.cjs +0 -1
- package/lib/vef-button/index.cjs +0 -1
- package/lib/vef-button/props.cjs +0 -1
- package/lib/vef-card/index.cjs +0 -1
- package/lib/vef-card/props.cjs +0 -1
- package/lib/vef-card-meta/index.cjs +0 -1
- package/lib/vef-card-meta/props.cjs +0 -1
- package/lib/vef-chart-container/hooks/use-chart-container-context.cjs +0 -1
- package/lib/vef-chart-container/index.cjs +0 -57
- package/lib/vef-chart-container/props.cjs +0 -1
- package/lib/vef-chart-legend-content/index.cjs +0 -16
- package/lib/vef-chart-legend-content/props.cjs +0 -1
- package/lib/vef-chart-tooltip-content/index.cjs +0 -42
- package/lib/vef-chart-tooltip-content/props.cjs +0 -1
- package/lib/vef-checkbox/hooks/use-checkbox-instance.cjs +0 -1
- package/lib/vef-checkbox/hooks/use-data-options.cjs +0 -1
- package/lib/vef-checkbox/index.cjs +0 -3
- package/lib/vef-checkbox/props.cjs +0 -1
- package/lib/vef-code-editor/hooks/use-change-handler.cjs +0 -1
- package/lib/vef-code-editor/hooks/use-config-extensions.cjs +0 -1
- package/lib/vef-code-editor/hooks/use-height-props.cjs +0 -1
- package/lib/vef-code-editor/hooks/use-language-extensions.cjs +0 -1
- package/lib/vef-code-editor/hooks/use-setup-options.cjs +0 -1
- package/lib/vef-code-editor/index.cjs +0 -1
- package/lib/vef-code-editor/props.cjs +0 -1
- package/lib/vef-code-editor/styles.cjs +0 -137
- package/lib/vef-col/index.cjs +0 -1
- package/lib/vef-col/props.cjs +0 -1
- package/lib/vef-color-picker/index.cjs +0 -1
- package/lib/vef-color-picker/props.cjs +0 -1
- package/lib/vef-compact/index.cjs +0 -1
- package/lib/vef-compact/props.cjs +0 -1
- package/lib/vef-config-provider/global-style.cjs +0 -173
- package/lib/vef-config-provider/hooks/use-ui-config.cjs +0 -1
- package/lib/vef-config-provider/index.cjs +0 -5
- package/lib/vef-config-provider/props.cjs +0 -1
- package/lib/vef-config-provider/store.cjs +0 -1
- package/lib/vef-container/index.cjs +0 -1
- package/lib/vef-container/props.cjs +0 -1
- package/lib/vef-crud-page/components/crud-actions.cjs +0 -1
- package/lib/vef-crud-page/components/crud-filter.cjs +0 -1
- package/lib/vef-crud-page/components/crud-footer.cjs +0 -7
- package/lib/vef-crud-page/components/crud-form-modal.cjs +0 -1
- package/lib/vef-crud-page/components/crud-header.cjs +0 -1
- package/lib/vef-crud-page/components/crud-table.cjs +0 -1
- package/lib/vef-crud-page/hooks/use-action-buttons.cjs +0 -1
- package/lib/vef-crud-page/hooks/use-crud-context.cjs +0 -1
- package/lib/vef-crud-page/hooks/use-crud-schema.cjs +0 -1
- package/lib/vef-crud-page/hooks/use-operation-buttons.cjs +0 -1
- package/lib/vef-crud-page/index.cjs +0 -1
- package/lib/vef-crud-page/props.cjs +0 -1
- package/lib/vef-crud-page/store.cjs +0 -1
- package/lib/vef-crud-page/types.cjs +0 -1
- package/lib/vef-data-grid/index.cjs +0 -1
- package/lib/vef-data-grid/props.cjs +0 -1
- package/lib/vef-data-table/index.cjs +0 -1
- package/lib/vef-data-table/props.cjs +0 -1
- package/lib/vef-divider/index.cjs +0 -1
- package/lib/vef-divider/props.cjs +0 -1
- package/lib/vef-drawer/components/action-button-wrapper.cjs +0 -1
- package/lib/vef-drawer/components/button-props.cjs +0 -1
- package/lib/vef-drawer/components/cancel-action-button.cjs +0 -1
- package/lib/vef-drawer/components/ok-action-button.cjs +0 -1
- package/lib/vef-drawer/context.cjs +0 -1
- package/lib/vef-drawer/index.cjs +0 -8
- package/lib/vef-drawer/props.cjs +0 -1
- package/lib/vef-dropdown/index.cjs +0 -1
- package/lib/vef-dropdown/props.cjs +0 -1
- package/lib/vef-dynamic-icon/index.cjs +0 -1
- package/lib/vef-dynamic-icon/props.cjs +0 -1
- package/lib/vef-empty/index.cjs +0 -1
- package/lib/vef-empty/props.cjs +0 -1
- package/lib/vef-empty-placeholder/index.cjs +0 -5
- package/lib/vef-empty-placeholder/props.cjs +0 -1
- package/lib/vef-error/error-icon.cjs +0 -1
- package/lib/vef-error/index.cjs +0 -28
- package/lib/vef-error/props.cjs +0 -1
- package/lib/vef-filter/components/action-buttons.cjs +0 -19
- package/lib/vef-filter/components/advanced-filter.cjs +0 -9
- package/lib/vef-filter/components/basic-filter.cjs +0 -19
- package/lib/vef-filter/components/fields/index.cjs +0 -1
- package/lib/vef-filter/components/fields/input-number.cjs +0 -1
- package/lib/vef-filter/components/fields/input.cjs +0 -1
- package/lib/vef-filter/components/fields/props.cjs +0 -1
- package/lib/vef-filter/components/fields/radio.cjs +0 -1
- package/lib/vef-filter/components/fields/select.cjs +0 -1
- package/lib/vef-filter/components/fields/tree-select.cjs +0 -1
- package/lib/vef-filter/components/filter-field.cjs +0 -1
- package/lib/vef-filter/components/filter-item.cjs +0 -1
- package/lib/vef-filter/event.cjs +0 -1
- package/lib/vef-filter/helper.cjs +0 -1
- package/lib/vef-filter/hooks/use-action-handlers.cjs +0 -1
- package/lib/vef-filter/hooks/use-computed-values.cjs +0 -1
- package/lib/vef-filter/hooks/use-filter-context.cjs +0 -1
- package/lib/vef-filter/hooks/use-filter-initialization.cjs +0 -1
- package/lib/vef-filter/hooks/use-filter-instance.cjs +0 -1
- package/lib/vef-filter/hooks/use-filter-items.cjs +0 -1
- package/lib/vef-filter/hooks/use-filter-values-change.cjs +0 -1
- package/lib/vef-filter/hooks/use-label-config.cjs +0 -1
- package/lib/vef-filter/index.cjs +0 -8
- package/lib/vef-filter/props.cjs +0 -1
- package/lib/vef-filter/store.cjs +0 -1
- package/lib/vef-filter/types.cjs +0 -1
- package/lib/vef-flex/index.cjs +0 -1
- package/lib/vef-flex/props.cjs +0 -1
- package/lib/vef-float-button/index.cjs +0 -1
- package/lib/vef-float-button/props.cjs +0 -1
- package/lib/vef-float-button-group/index.cjs +0 -1
- package/lib/vef-float-button-group/props.cjs +0 -1
- package/lib/vef-form/components/fields/icon-select.cjs +0 -1
- package/lib/vef-form/components/fields/index.cjs +0 -1
- package/lib/vef-form/components/fields/input-number.cjs +0 -1
- package/lib/vef-form/components/fields/input.cjs +0 -1
- package/lib/vef-form/components/fields/password.cjs +0 -1
- package/lib/vef-form/components/fields/props.cjs +0 -1
- package/lib/vef-form/components/fields/radio.cjs +0 -1
- package/lib/vef-form/components/fields/select.cjs +0 -1
- package/lib/vef-form/components/fields/textarea.cjs +0 -1
- package/lib/vef-form/components/fields/tree-select.cjs +0 -1
- package/lib/vef-form/components/form-actions.cjs +0 -3
- package/lib/vef-form/components/form-content.cjs +0 -4
- package/lib/vef-form/components/form-field.cjs +0 -1
- package/lib/vef-form/components/form-group.cjs +0 -11
- package/lib/vef-form/components/form-hidden-item.cjs +0 -1
- package/lib/vef-form/components/form-item.cjs +0 -1
- package/lib/vef-form/components/form-row.cjs +0 -1
- package/lib/vef-form/event.cjs +0 -1
- package/lib/vef-form/helper.cjs +0 -1
- package/lib/vef-form/hooks/use-action-handlers.cjs +0 -1
- package/lib/vef-form/hooks/use-columns-layout.cjs +0 -1
- package/lib/vef-form/hooks/use-computed-values.cjs +0 -1
- package/lib/vef-form/hooks/use-form-context.cjs +0 -1
- package/lib/vef-form/hooks/use-form-initialization.cjs +0 -1
- package/lib/vef-form/hooks/use-form-instance.cjs +0 -1
- package/lib/vef-form/hooks/use-form-values-change.cjs +0 -1
- package/lib/vef-form/hooks/use-label-width.cjs +0 -1
- package/lib/vef-form/index.cjs +0 -3
- package/lib/vef-form/props.cjs +0 -1
- package/lib/vef-form/store.cjs +0 -1
- package/lib/vef-form/types.cjs +0 -1
- package/lib/vef-form/validation-rules.cjs +0 -1
- package/lib/vef-form-drawer/index.cjs +0 -1
- package/lib/vef-form-drawer/props.cjs +0 -1
- package/lib/vef-form-modal/index.cjs +0 -1
- package/lib/vef-form-modal/props.cjs +0 -1
- package/lib/vef-generic-select/index.cjs +0 -1
- package/lib/vef-generic-select/props.cjs +0 -1
- package/lib/vef-grid/index.cjs +0 -24
- package/lib/vef-grid/props.cjs +0 -1
- package/lib/vef-grid-item/index.cjs +0 -1
- package/lib/vef-grid-item/props.cjs +0 -1
- package/lib/vef-icon/index.cjs +0 -1
- package/lib/vef-icon/props.cjs +0 -1
- package/lib/vef-icon-select/index.cjs +0 -40
- package/lib/vef-icon-select/props.cjs +0 -1
- package/lib/vef-input/hooks/use-input-instance.cjs +0 -1
- package/lib/vef-input/index.cjs +0 -1
- package/lib/vef-input/props.cjs +0 -1
- package/lib/vef-input-number/hooks/use-input-number-instance.cjs +0 -1
- package/lib/vef-input-number/index.cjs +0 -1
- package/lib/vef-input-number/props.cjs +0 -1
- package/lib/vef-intellisense-code-editor/hooks/use-change-handler.cjs +0 -1
- package/lib/vef-intellisense-code-editor/hooks/use-editor-options.cjs +0 -1
- package/lib/vef-intellisense-code-editor/hooks/use-path.cjs +0 -1
- package/lib/vef-intellisense-code-editor/index.cjs +0 -1
- package/lib/vef-intellisense-code-editor/loader.cjs +0 -1
- package/lib/vef-intellisense-code-editor/props.cjs +0 -1
- package/lib/vef-intellisense-code-editor/styles.cjs +0 -20
- package/lib/vef-intellisense-code-editor/themes/github-light.json.cjs +0 -349
- package/lib/vef-json-viewer/index.cjs +0 -1
- package/lib/vef-json-viewer/props.cjs +0 -1
- package/lib/vef-layout/common-styles.cjs +0 -4
- package/lib/vef-layout/components/content.cjs +0 -1
- package/lib/vef-layout/components/font-size.cjs +0 -1
- package/lib/vef-layout/components/fullscreen.cjs +0 -1
- package/lib/vef-layout/components/header-action-icons.cjs +0 -15
- package/lib/vef-layout/components/header-content.cjs +0 -1
- package/lib/vef-layout/components/header.cjs +0 -12
- package/lib/vef-layout/components/icon-boy.cjs +0 -1
- package/lib/vef-layout/components/icon-girl.cjs +0 -1
- package/lib/vef-layout/components/icon-menu-fold-left.cjs +0 -1
- package/lib/vef-layout/components/icon-menu-unfold-left.cjs +0 -1
- package/lib/vef-layout/components/menu-groups.cjs +0 -32
- package/lib/vef-layout/components/message.cjs +0 -1
- package/lib/vef-layout/components/search.cjs +0 -1
- package/lib/vef-layout/components/sider.cjs +0 -49
- package/lib/vef-layout/components/title.cjs +0 -36
- package/lib/vef-layout/components/user-avatar.cjs +0 -16
- package/lib/vef-layout/hooks/use-layout-context.cjs +0 -1
- package/lib/vef-layout/index.cjs +0 -5
- package/lib/vef-layout/logo.svg.cjs +0 -1
- package/lib/vef-layout/props.cjs +0 -1
- package/lib/vef-layout/store.cjs +0 -1
- package/lib/vef-line-chart/index.cjs +0 -1
- package/lib/vef-line-chart/props.cjs +0 -1
- package/lib/vef-loading-placeholder/index.cjs +0 -7
- package/lib/vef-loading-placeholder/props.cjs +0 -1
- package/lib/vef-login/index.cjs +0 -54
- package/lib/vef-login/login-icon.cjs +0 -1
- package/lib/vef-login/props.cjs +0 -1
- package/lib/vef-menu/index.cjs +0 -6
- package/lib/vef-menu/props.cjs +0 -1
- package/lib/vef-modal/components/action-button-wrapper.cjs +0 -1
- package/lib/vef-modal/components/button-props.cjs +0 -1
- package/lib/vef-modal/components/cancel-action-button.cjs +0 -1
- package/lib/vef-modal/components/ok-action-button.cjs +0 -1
- package/lib/vef-modal/context.cjs +0 -1
- package/lib/vef-modal/index.cjs +0 -4
- package/lib/vef-modal/props.cjs +0 -1
- package/lib/vef-not-found/index.cjs +0 -28
- package/lib/vef-not-found/not-found-icon.cjs +0 -1
- package/lib/vef-not-found/props.cjs +0 -1
- package/lib/vef-page/index.cjs +0 -58
- package/lib/vef-page/props.cjs +0 -1
- package/lib/vef-pagination/index.cjs +0 -1
- package/lib/vef-pagination/props.cjs +0 -1
- package/lib/vef-paragraph/index.cjs +0 -1
- package/lib/vef-paragraph/props.cjs +0 -1
- package/lib/vef-password/hooks/use-password-instance.cjs +0 -1
- package/lib/vef-password/index.cjs +0 -1
- package/lib/vef-password/props.cjs +0 -1
- package/lib/vef-pie-chart/index.cjs +0 -8
- package/lib/vef-pie-chart/props.cjs +0 -1
- package/lib/vef-popconfirm/index.cjs +0 -1
- package/lib/vef-popconfirm/props.cjs +0 -1
- package/lib/vef-popover/index.cjs +0 -1
- package/lib/vef-popover/props.cjs +0 -1
- package/lib/vef-radio/hooks/use-data-options.cjs +0 -1
- package/lib/vef-radio/hooks/use-radio-instance.cjs +0 -1
- package/lib/vef-radio/index.cjs +0 -3
- package/lib/vef-radio/props.cjs +0 -1
- package/lib/vef-rate/hooks/use-rate-instance.cjs +0 -1
- package/lib/vef-rate/index.cjs +0 -1
- package/lib/vef-rate/props.cjs +0 -1
- package/lib/vef-responsive-container/index.cjs +0 -5
- package/lib/vef-responsive-container/props.cjs +0 -1
- package/lib/vef-responsive-item/index.cjs +0 -3
- package/lib/vef-responsive-item/props.cjs +0 -1
- package/lib/vef-ribbon/index.cjs +0 -1
- package/lib/vef-ribbon/props.cjs +0 -1
- package/lib/vef-row/index.cjs +0 -1
- package/lib/vef-row/props.cjs +0 -1
- package/lib/vef-scroll-area/components/scrollbar.cjs +0 -32
- package/lib/vef-scroll-area/index.cjs +0 -11
- package/lib/vef-scroll-area/props.cjs +0 -1
- package/lib/vef-segment/index.cjs +0 -1
- package/lib/vef-segment/props.cjs +0 -1
- package/lib/vef-select/components/option.cjs +0 -9
- package/lib/vef-select/hooks/use-data-options.cjs +0 -1
- package/lib/vef-select/hooks/use-field-names.cjs +0 -1
- package/lib/vef-select/hooks/use-render-label.cjs +0 -8
- package/lib/vef-select/hooks/use-render-option.cjs +0 -1
- package/lib/vef-select/hooks/use-select-instance.cjs +0 -1
- package/lib/vef-select/index.cjs +0 -1
- package/lib/vef-select/props.cjs +0 -1
- package/lib/vef-slider/hooks/use-slider-instance.cjs +0 -1
- package/lib/vef-slider/index.cjs +0 -1
- package/lib/vef-slider/props.cjs +0 -1
- package/lib/vef-sortable-list/components/overlay-item.cjs +0 -5
- package/lib/vef-sortable-list/components/sortable-item.cjs +0 -5
- package/lib/vef-sortable-list/hooks/use-merged-items.cjs +0 -1
- package/lib/vef-sortable-list/index.cjs +0 -1
- package/lib/vef-sortable-list/props.cjs +0 -1
- package/lib/vef-space/index.cjs +0 -1
- package/lib/vef-space/props.cjs +0 -1
- package/lib/vef-spin/index.cjs +0 -1
- package/lib/vef-spin/props.cjs +0 -1
- package/lib/vef-splitter/index.cjs +0 -1
- package/lib/vef-splitter/props.cjs +0 -1
- package/lib/vef-splitter-panel/index.cjs +0 -1
- package/lib/vef-splitter-panel/props.cjs +0 -1
- package/lib/vef-status/index.cjs +0 -1
- package/lib/vef-status/props.cjs +0 -1
- package/lib/vef-table/components/columns/bool.cjs +0 -1
- package/lib/vef-table/components/columns/code.cjs +0 -1
- package/lib/vef-table/components/columns/data-dictionary.cjs +0 -1
- package/lib/vef-table/components/columns/enum.cjs +0 -1
- package/lib/vef-table/components/columns/file.cjs +0 -1
- package/lib/vef-table/components/columns/icon.cjs +0 -1
- package/lib/vef-table/components/columns/id.cjs +0 -1
- package/lib/vef-table/components/columns/image.cjs +0 -1
- package/lib/vef-table/components/columns/index.cjs +0 -1
- package/lib/vef-table/components/columns/markdown.cjs +0 -1
- package/lib/vef-table/components/columns/number.cjs +0 -1
- package/lib/vef-table/components/columns/props.cjs +0 -1
- package/lib/vef-table/components/columns/render.cjs +0 -1
- package/lib/vef-table/components/columns/rich-text.cjs +0 -1
- package/lib/vef-table/components/columns/text.cjs +0 -1
- package/lib/vef-table/components/columns-settings.cjs +0 -52
- package/lib/vef-table/components/operation-buttons.cjs +0 -10
- package/lib/vef-table/components/settings-icon.cjs +0 -3
- package/lib/vef-table/components/table-footer.cjs +0 -17
- package/lib/vef-table/helper.cjs +0 -1
- package/lib/vef-table/hooks/use-computed-batch-buttons.cjs +0 -1
- package/lib/vef-table/hooks/use-computed-columns.cjs +0 -1
- package/lib/vef-table/hooks/use-computed-values.cjs +0 -1
- package/lib/vef-table/hooks/use-data.cjs +0 -1
- package/lib/vef-table/hooks/use-default-column-configs.cjs +0 -1
- package/lib/vef-table/hooks/use-display-value.cjs +0 -1
- package/lib/vef-table/hooks/use-helper-columns.cjs +0 -1
- package/lib/vef-table/hooks/use-operation-column-width.cjs +0 -1
- package/lib/vef-table/hooks/use-pagination-props.cjs +0 -1
- package/lib/vef-table/hooks/use-row-props.cjs +0 -1
- package/lib/vef-table/hooks/use-row-selection-config.cjs +0 -1
- package/lib/vef-table/hooks/use-selected-rows.cjs +0 -1
- package/lib/vef-table/hooks/use-table-columns.cjs +0 -1
- package/lib/vef-table/hooks/use-table-context.cjs +0 -1
- package/lib/vef-table/hooks/use-table-instance.cjs +0 -1
- package/lib/vef-table/hooks/use-table-summary.cjs +0 -1
- package/lib/vef-table/hooks/use-table-width.cjs +0 -1
- package/lib/vef-table/index.cjs +0 -54
- package/lib/vef-table/props.cjs +0 -1
- package/lib/vef-table/store.cjs +0 -1
- package/lib/vef-table/types.cjs +0 -1
- package/lib/vef-tabs/index.cjs +0 -1
- package/lib/vef-tabs/props.cjs +0 -1
- package/lib/vef-tag/index.cjs +0 -1
- package/lib/vef-tag/props.cjs +0 -1
- package/lib/vef-temporal-picker/helper.cjs +0 -1
- package/lib/vef-temporal-picker/hooks/use-dayjs-value.cjs +0 -1
- package/lib/vef-temporal-picker/hooks/use-temporal-limit.cjs +0 -1
- package/lib/vef-temporal-picker/hooks/use-temporal-picker-instance.cjs +0 -1
- package/lib/vef-temporal-picker/index.cjs +0 -1
- package/lib/vef-temporal-picker/props.cjs +0 -1
- package/lib/vef-temporal-range-picker/helper.cjs +0 -1
- package/lib/vef-temporal-range-picker/hooks/use-dayjs-values.cjs +0 -1
- package/lib/vef-temporal-range-picker/hooks/use-temporal-limit.cjs +0 -1
- package/lib/vef-temporal-range-picker/hooks/use-temporal-range-picker-instance.cjs +0 -1
- package/lib/vef-temporal-range-picker/index.cjs +0 -1
- package/lib/vef-temporal-range-picker/props.cjs +0 -1
- package/lib/vef-text/index.cjs +0 -1
- package/lib/vef-text/props.cjs +0 -1
- package/lib/vef-textarea/hooks/use-textarea-instance.cjs +0 -1
- package/lib/vef-textarea/index.cjs +0 -1
- package/lib/vef-textarea/props.cjs +0 -1
- package/lib/vef-title/index.cjs +0 -13
- package/lib/vef-title/props.cjs +0 -1
- package/lib/vef-tooltip/index.cjs +0 -1
- package/lib/vef-tooltip/props.cjs +0 -1
- package/lib/vef-tree-select/hooks/use-change-handler.cjs +0 -1
- package/lib/vef-tree-select/hooks/use-data-options.cjs +0 -1
- package/lib/vef-tree-select/hooks/use-tree-select-instance.cjs +0 -1
- package/lib/vef-tree-select/index.cjs +0 -1
- package/lib/vef-tree-select/props.cjs +0 -1
- package/lib/vef-virtual-grid/index.cjs +0 -12
- package/lib/vef-virtual-grid/props.cjs +0 -1
- package/lib/vef-virtual-list/index.cjs +0 -18
- package/lib/vef-virtual-list/props.cjs +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.121, build time: 2025-03-11T09:24:54.817Z, made by Venus. */import{EditorState}from"@codemirror/state";import{useMemo}from"react";const chinesePhrases={"Control character":"控制字符","Selection deleted":"选择已删除","Folded lines":"折叠的行","Unfolded lines":"展开的行",to:"到","folded code":"折叠的代码",unfold:"展开","Fold line":"折叠行","Unfold line":"展开行","Go to line":"跳转到行",go:"确定",Find:"查找",Replace:"替换",next:"下一个",previous:"上一个",all:"全部","match case":"大小写匹配","by word":"整个单词",replace:"替换","replace all":"全部替换",regexp:"正则匹配",close:"关闭","current match":"当前匹配","replaced $ matches":"$ 个匹配已替换","replaced match on line $":"行 $ 的匹配已替换","on line":"在行",Completions:"补全",Diagnostics:"诊断","No diagnostics":"没有诊断"};function useConfigExtensions(){return useMemo(()=>[EditorState.phrases.of(chinesePhrases)],[])}/*! 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 */export{useConfigExtensions};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.121, build time: 2025-03-11T09:24:54.817Z, made by Venus. */import{getStringLength,isNullish}from"@vef-framework/shared";import{useMemo}from"react";function useHeightProps(height,maxHeight,minHeight){return useMemo(()=>{const props={height:getStringLength(height)};return isNullish(minHeight)||(props.minHeight=getStringLength(minHeight)),isNullish(maxHeight)||(props.maxHeight=getStringLength(maxHeight)),props},[height,maxHeight,minHeight])}/*! 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 */export{useHeightProps};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.121, build time: 2025-03-11T09:24:54.817Z, made by Venus. */import{json,jsonParseLinter,jsonLanguage}from"@codemirror/lang-json";import{yaml,yamlLanguage}from"@codemirror/lang-yaml";import{linter}from"@codemirror/lint";import{hoverTooltip}from"@codemirror/view";import{loadLanguage}from"@uiw/codemirror-extensions-langs";import{isString,isEmpty,isObject,isJsonSchemaValid}from"@vef-framework/shared";import{json5,json5ParseLinter,json5Language}from"codemirror-json5";import{jsonSchemaLinter,handleRefresh,jsonCompletion,jsonSchemaHover,stateExtensions}from"codemirror-json-schema";import{json5SchemaLinter,json5Completion,json5SchemaHover}from"codemirror-json-schema/json5";import{yamlSchemaLinter,yamlCompletion,yamlSchemaHover}from"codemirror-json-schema/yaml";import{useMemo}from"react";function useLanguageExtensions(language,jsonSchema){return useMemo(()=>{if(!language)return[];const extensions2=loadLanguageExtensions(language,jsonSchema);if(extensions2.length===0){const lang=loadLanguage(language);if(!lang)return console.warn(`Language ${language} is not supported by VefCodeEditor`),[];extensions2.push(lang)}return extensions2},[jsonSchema,language])}function loadLanguageExtensions(language,jsonSchema){if(language==="json"){const extensions=[json(),linter(jsonParseLinter(),{delay:300})];if(isString(jsonSchema)&&!isEmpty(jsonSchema)||isObject(jsonSchema)){if(isString(jsonSchema)&&!isJsonSchemaValid(jsonSchema))return console.warn(`JSON schema is invalid: ${jsonSchema}`),extensions;extensions.push(linter(jsonSchemaLinter(),{needsRefresh:handleRefresh}),jsonLanguage.data.of({autocomplete:jsonCompletion()}),hoverTooltip(jsonSchemaHover()),stateExtensions(isString(jsonSchema)?JSON.parse(jsonSchema):jsonSchema))}return extensions}else if(language==="yaml"){const extensions=[yaml()];if(isString(jsonSchema)&&!isEmpty(jsonSchema)||isObject(jsonSchema)){if(isString(jsonSchema)&&!isJsonSchemaValid(jsonSchema))return console.warn(`JSON schema is invalid: ${jsonSchema}`),extensions;extensions.push(linter(yamlSchemaLinter(),{needsRefresh:handleRefresh}),yamlLanguage.data.of({autocomplete:yamlCompletion()}),hoverTooltip(yamlSchemaHover()),stateExtensions(isString(jsonSchema)?JSON.parse(jsonSchema):jsonSchema))}return extensions}else if(language==="json5"){const extensions=[json5(),linter(json5ParseLinter(),{delay:300})];return(isString(jsonSchema)&&!isEmpty(jsonSchema)||isObject(jsonSchema))&&extensions.push(linter(json5SchemaLinter(),{needsRefresh:handleRefresh}),json5Language.data.of({autocomplete:json5Completion()}),hoverTooltip(json5SchemaHover()),stateExtensions(isString(jsonSchema)?JSON.parse(jsonSchema):jsonSchema)),extensions}return[]}/*! 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 */export{useLanguageExtensions};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.121, build time: 2025-03-11T09:24:54.817Z, made by Venus. */import{useMemo}from"react";function useSetupOptions(tabSize,showLineNumbers){return useMemo(()=>({tabSize,allowMultipleSelections:!0,autocompletion:!0,bracketMatching:!0,closeBrackets:!0,closeBracketsKeymap:!0,highlightActiveLine:!0,highlightActiveLineGutter:!0,highlightSelectionMatches:!0,completionKeymap:!0,drawSelection:!0,history:!0,historyKeymap:!0,highlightSpecialChars:!0,indentOnInput:!0,lintKeymap:!0,rectangularSelection:!0,searchKeymap:!0,syntaxHighlighting:!0,crosshairCursor:!0,defaultKeymap:!0,dropCursor:!0,foldGutter:!0,foldKeymap:!0,lineNumbers:showLineNumbers}),[tabSize,showLineNumbers])}/*! 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 */export{useSetupOptions};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.121, build time: 2025-03-11T09:24:54.817Z, made by Venus. */import{jsx}from"@emotion/react/jsx-runtime";import{materialLight}from"@uiw/codemirror-theme-material";import CodeMirror from"@uiw/react-codemirror";import{useMemo,memo}from"react";import{useChangeHandler}from"./hooks/use-change-handler.js";import{useConfigExtensions}from"./hooks/use-config-extensions.js";import{useHeightProps}from"./hooks/use-height-props.js";import{useLanguageExtensions}from"./hooks/use-language-extensions.js";import{useSetupOptions}from"./hooks/use-setup-options.js";import{editorStyle}from"./styles.js";function VefCodeEditorBase({value,language,disabled,height=320,minHeight,maxHeight,placeholder,tabSize=4,autoFocus,jsonSchema,onChange,showLineNumbers=!0}){const configExtensions=useConfigExtensions(),languageExtensions=useLanguageExtensions(language,jsonSchema),extensions=useMemo(()=>[...configExtensions,...languageExtensions],[configExtensions,languageExtensions]),heightProps=useHeightProps(height,maxHeight,minHeight),handleChange=useChangeHandler(onChange),setupOptions=useSetupOptions(tabSize,showLineNumbers);return jsx(CodeMirror,{indentWithTab:!0,autoFocus,basicSetup:setupOptions,css:editorStyle,editable:!disabled,extensions,placeholder,theme:materialLight,value,width:"auto",onChange:handleChange,...heightProps})}const VefCodeEditor=memo(VefCodeEditorBase);VefCodeEditor.displayName="VefCodeEditor";/*! 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 */export{VefCodeEditor as default};
|
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.121, build time: 2025-03-11T09:24:54.817Z, made by Venus. */import{css}from"@emotion/react";import{themeVariables}from"@vef-framework/shared";const editorStyle=css`
|
|
2
|
-
& > .cm-editor {
|
|
3
|
-
border-width: ${themeVariables.lineWidth};
|
|
4
|
-
border-style: ${themeVariables.lineType};
|
|
5
|
-
border-radius: ${themeVariables.borderRadius};
|
|
6
|
-
overflow: hidden;
|
|
7
|
-
|
|
8
|
-
&:not(.cm-focused) {
|
|
9
|
-
border-color: ${themeVariables.colorBorder};
|
|
10
|
-
|
|
11
|
-
&:hover {
|
|
12
|
-
border-color: ${themeVariables.colorPrimaryHover};
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
&.cm-focused {
|
|
17
|
-
outline: none;
|
|
18
|
-
border-color: ${themeVariables.colorPrimary};
|
|
19
|
-
box-shadow: 0 0 0 2px rgba(5, 145, 255, 0.1);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.cm-tooltip {
|
|
23
|
-
background-color: "#f5f5f5";
|
|
24
|
-
border: ${themeVariables.lineWidth} ${themeVariables.lineType} ${themeVariables.colorBorder};
|
|
25
|
-
border-radius: ${themeVariables.borderRadius};
|
|
26
|
-
box-shadow: ${themeVariables.boxShadowSecondary};
|
|
27
|
-
padding: ${themeVariables.paddingXxs};
|
|
28
|
-
|
|
29
|
-
&.cm-tooltip-autocomplete {
|
|
30
|
-
& > ul > li {
|
|
31
|
-
border-radius: ${themeVariables.borderRadiusSm};
|
|
32
|
-
padding: ${themeVariables.paddingXxs};
|
|
33
|
-
|
|
34
|
-
&[aria-selected="true"] {
|
|
35
|
-
background-color: ${themeVariables.colorPrimary};
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.cm-tooltip-section:not(:first-of-type) {
|
|
41
|
-
border-top: ${themeVariables.lineWidth} ${themeVariables.lineType} ${themeVariables.colorBorder};
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.cm-tooltip-arrow::before {
|
|
45
|
-
border-top-color: ${themeVariables.colorBorder};
|
|
46
|
-
border-bottom-color: ${themeVariables.colorBorder};
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.cm-panels-bottom {
|
|
51
|
-
border-top: ${themeVariables.lineWidth} ${themeVariables.lineType} ${themeVariables.colorBorder};
|
|
52
|
-
|
|
53
|
-
/* Search panel style */
|
|
54
|
-
.cm-panel.cm-search {
|
|
55
|
-
background-color: ${themeVariables.colorBgContainer};
|
|
56
|
-
padding: ${themeVariables.paddingXs} ${themeVariables.paddingSm};
|
|
57
|
-
display: flex;
|
|
58
|
-
flex-wrap: wrap;
|
|
59
|
-
gap: ${themeVariables.marginXs};
|
|
60
|
-
align-items: center;
|
|
61
|
-
|
|
62
|
-
/* Close button */
|
|
63
|
-
button[name="close"] {
|
|
64
|
-
position: absolute;
|
|
65
|
-
right: ${themeVariables.paddingXs};
|
|
66
|
-
top: ${themeVariables.paddingXs};
|
|
67
|
-
background: transparent;
|
|
68
|
-
border: none;
|
|
69
|
-
cursor: pointer;
|
|
70
|
-
color: ${themeVariables.colorTextSecondary};
|
|
71
|
-
font-size: ${themeVariables.fontSizeSm};
|
|
72
|
-
padding: 0 6px;
|
|
73
|
-
border-radius: ${themeVariables.borderRadiusSm};
|
|
74
|
-
|
|
75
|
-
&:hover {
|
|
76
|
-
color: ${themeVariables.colorPrimary};
|
|
77
|
-
background-color: ${themeVariables.colorBgTextHover};
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
/* Input style */
|
|
82
|
-
input.cm-textfield {
|
|
83
|
-
border: ${themeVariables.lineWidth} ${themeVariables.lineType} ${themeVariables.colorBorder};
|
|
84
|
-
border-radius: ${themeVariables.borderRadius};
|
|
85
|
-
padding: ${themeVariables.paddingXs} ${themeVariables.paddingSm};
|
|
86
|
-
font-size: ${themeVariables.fontSize};
|
|
87
|
-
outline: none;
|
|
88
|
-
width: 200px;
|
|
89
|
-
|
|
90
|
-
&:focus {
|
|
91
|
-
border-color: ${themeVariables.colorPrimary};
|
|
92
|
-
box-shadow: 0 0 0 2px rgba(5, 145, 255, 0.1);
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
/* Button style */
|
|
97
|
-
button.cm-button {
|
|
98
|
-
background-color: ${themeVariables.colorBgContainer};
|
|
99
|
-
border: ${themeVariables.lineWidth} ${themeVariables.lineType} ${themeVariables.colorBorder};
|
|
100
|
-
border-radius: ${themeVariables.borderRadiusSm};
|
|
101
|
-
padding: ${themeVariables.paddingXs} ${themeVariables.paddingSm};
|
|
102
|
-
font-size: ${themeVariables.fontSizeSm};
|
|
103
|
-
cursor: pointer;
|
|
104
|
-
color: ${themeVariables.colorText};
|
|
105
|
-
|
|
106
|
-
&:hover {
|
|
107
|
-
background-color: ${themeVariables.colorBgTextHover};
|
|
108
|
-
border-color: ${themeVariables.colorPrimaryHover};
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
&:active {
|
|
112
|
-
background-color: ${themeVariables.colorBgTextActive};
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
/* Checkbox style */
|
|
117
|
-
label {
|
|
118
|
-
display: flex;
|
|
119
|
-
align-items: center;
|
|
120
|
-
gap: 4px;
|
|
121
|
-
font-size: ${themeVariables.fontSizeSm};
|
|
122
|
-
color: ${themeVariables.colorTextSecondary};
|
|
123
|
-
cursor: pointer;
|
|
124
|
-
|
|
125
|
-
&:hover {
|
|
126
|
-
color: ${themeVariables.colorPrimary};
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
input[type="checkbox"] {
|
|
130
|
-
margin: 0;
|
|
131
|
-
cursor: pointer;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
`;/*! 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 */export{editorStyle};
|
package/es/vef-col/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.121, build time: 2025-03-11T09:24:54.817Z, made by Venus. */import{jsx}from"@emotion/react/jsx-runtime";import{Col}from"antd";function VefCol({...props}){return jsx(Col,{...props})}/*! 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 */export{VefCol as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.121, build time: 2025-03-11T09:24:54.817Z, made by Venus. */import{jsx}from"@emotion/react/jsx-runtime";import{isFunction}from"@vef-framework/shared";import{ColorPicker}from"antd";import{useMemo}from"react";import"../internal/index.js";import{convertBasicSizeToUiSize}from"../internal/utils.js";const mode=["single","gradient"];function VefColorPicker({clearable,disabled,format,size,showText,trigger,defaultValue,value,onChange}){const handleChange=useMemo(()=>{if(isFunction(onChange))return color=>{onChange(color.toCssString(),color)}},[onChange]);return jsx(ColorPicker,{allowClear:clearable,arrow:!1,defaultValue,disabled,format,mode,showText,size:convertBasicSizeToUiSize(size),trigger,value,onChangeComplete:handleChange})}/*! 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 */export{VefColorPicker as default};
|
package/es/vef-compact/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.121, build time: 2025-03-11T09:24:54.817Z, made by Venus. */import{jsx}from"@emotion/react/jsx-runtime";import{Space}from"antd";import"../internal/index.js";import{convertBasicSizeToUiSize}from"../internal/utils.js";const{Compact}=Space;function VefCompact({size,...restProps}){return jsx(Compact,{size:convertBasicSizeToUiSize(size),...restProps})}/*! 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 */export{VefCompact as default};
|
|
@@ -1,173 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.121, build time: 2025-03-11T09:24:54.817Z, made by Venus. */import{css}from"@emotion/react";import{themeVariables}from"@vef-framework/shared";import normalizedStyle from"../internal/modern-normalize.css.js";const globalStyle=css`
|
|
2
|
-
${normalizedStyle}
|
|
3
|
-
|
|
4
|
-
html, body, #root, .vef-app {
|
|
5
|
-
height: 100%;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
h1,
|
|
9
|
-
h2,
|
|
10
|
-
h3,
|
|
11
|
-
h4,
|
|
12
|
-
h5,
|
|
13
|
-
h6 {
|
|
14
|
-
margin: 0;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.vef-message {
|
|
18
|
-
.vef-message-notice-wrapper {
|
|
19
|
-
.vef-message-custom-content {
|
|
20
|
-
.vef-icon {
|
|
21
|
-
font-size: ${themeVariables.fontSizeXl};
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.vef-modal {
|
|
28
|
-
--vef-modal-confirm-icon-margin-inline-end: ${themeVariables.paddingSm};
|
|
29
|
-
|
|
30
|
-
.vef-modal-confirm-body-wrapper {
|
|
31
|
-
.vef-modal-confirm-btns {
|
|
32
|
-
text-align: initial;
|
|
33
|
-
display: flex;
|
|
34
|
-
justify-content: flex-end;
|
|
35
|
-
align-items: center;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.vef-tree-select-dropdown {
|
|
41
|
-
.vef-select-tree {
|
|
42
|
-
.vef-select-tree-checkbox {
|
|
43
|
-
margin-top: calc(var(--vef-tree-select-title-height) / 4);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.vef-popconfirm {
|
|
49
|
-
.vef-popconfirm-message {
|
|
50
|
-
> .vef-popconfirm-message-icon {
|
|
51
|
-
.vef-icon {
|
|
52
|
-
color: ${themeVariables.colorPrimary};
|
|
53
|
-
font-size: ${themeVariables.fontSizeLg};
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
.vef-popconfirm-buttons {
|
|
58
|
-
text-align: initial;
|
|
59
|
-
display: flex;
|
|
60
|
-
justify-content: flex-end;
|
|
61
|
-
align-items: center;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.vef-modal-root {
|
|
66
|
-
> .vef-modal-wrap {
|
|
67
|
-
overflow: hidden !important;
|
|
68
|
-
|
|
69
|
-
.vef-modal {
|
|
70
|
-
.vef-modal-content {
|
|
71
|
-
.vef-modal-footer {
|
|
72
|
-
text-align: initial;
|
|
73
|
-
display: flex;
|
|
74
|
-
justify-content: flex-end;
|
|
75
|
-
align-items: center;
|
|
76
|
-
gap: ${themeVariables.padding};
|
|
77
|
-
|
|
78
|
-
.vef-btn + .vef-btn {
|
|
79
|
-
margin-inline-start: 0;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.vef-picker-range {
|
|
88
|
-
display: flex;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.vef-dropdown {
|
|
92
|
-
.vef-dropdown-menu {
|
|
93
|
-
.vef-dropdown-menu-item-icon {
|
|
94
|
-
font-size: ${themeVariables.fontSize};
|
|
95
|
-
min-width: ${themeVariables.fontSizeLg};
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
`,nprogressStyle=css`
|
|
100
|
-
/* Make clicks pass-through */
|
|
101
|
-
#nprogress {
|
|
102
|
-
pointer-events: none;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
#nprogress .bar {
|
|
106
|
-
background: ${themeVariables.colorPrimary};
|
|
107
|
-
|
|
108
|
-
position: fixed;
|
|
109
|
-
z-index: 1031;
|
|
110
|
-
top: 0;
|
|
111
|
-
left: 0;
|
|
112
|
-
|
|
113
|
-
width: 100%;
|
|
114
|
-
height: 2px;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
/* Fancy blur effect */
|
|
118
|
-
#nprogress .peg {
|
|
119
|
-
display: block;
|
|
120
|
-
position: absolute;
|
|
121
|
-
right: 0;
|
|
122
|
-
width: 100px;
|
|
123
|
-
height: 100%;
|
|
124
|
-
box-shadow: 0 0 10px ${themeVariables.colorPrimary}, 0 0 5px ${themeVariables.colorPrimary};
|
|
125
|
-
opacity: 1.0;
|
|
126
|
-
|
|
127
|
-
-webkit-transform: rotate(3deg) translate(0, -4px);
|
|
128
|
-
-ms-transform: rotate(3deg) translate(0, -4px);
|
|
129
|
-
transform: rotate(3deg) translate(0, -4px);
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
/* Remove these to get rid of the spinner */
|
|
133
|
-
#nprogress .spinner {
|
|
134
|
-
display: block;
|
|
135
|
-
position: fixed;
|
|
136
|
-
z-index: 1031;
|
|
137
|
-
top: 15px;
|
|
138
|
-
right: 15px;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
#nprogress .spinner-icon {
|
|
142
|
-
width: 18px;
|
|
143
|
-
height: 18px;
|
|
144
|
-
box-sizing: border-box;
|
|
145
|
-
|
|
146
|
-
border: solid 2px transparent;
|
|
147
|
-
border-top-color: ${themeVariables.colorPrimary};
|
|
148
|
-
border-left-color: ${themeVariables.colorPrimary};
|
|
149
|
-
border-radius: 50%;
|
|
150
|
-
|
|
151
|
-
-webkit-animation: nprogress-spinner 400ms linear infinite;
|
|
152
|
-
animation: nprogress-spinner 400ms linear infinite;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
.nprogress-custom-parent {
|
|
156
|
-
overflow: hidden;
|
|
157
|
-
position: relative;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
.nprogress-custom-parent #nprogress .spinner,
|
|
161
|
-
.nprogress-custom-parent #nprogress .bar {
|
|
162
|
-
position: absolute;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
@-webkit-keyframes nprogress-spinner {
|
|
166
|
-
0% { -webkit-transform: rotate(0deg); }
|
|
167
|
-
100% { -webkit-transform: rotate(360deg); }
|
|
168
|
-
}
|
|
169
|
-
@keyframes nprogress-spinner {
|
|
170
|
-
0% { transform: rotate(0deg); }
|
|
171
|
-
100% { transform: rotate(360deg); }
|
|
172
|
-
}
|
|
173
|
-
`;/*! 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 */export{globalStyle,nprogressStyle};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.121, build time: 2025-03-11T09:24:54.817Z, made by Venus. */import{useDeepMemo}from"@vef-framework/hooks";import{isValidColor,assign}from"@vef-framework/shared";import{theme}from"antd";import locale from"antd/locale/zh_CN";import dayjs from"dayjs";import dayjsLocale from"dayjs/locale/zh-cn";dayjs.locale(dayjsLocale);const colorMap={blue:"#3b82f6",purple:"#8b5cf6",cyan:"#06b6d4",green:"#22c55e",pink:"#ec4899",red:"#ef4444",orange:"#f97316",yellow:"#eab308",volcano:"#f43f5e",lime:"#84cc16",gold:"#fbbf24",geekblue:"#6366f1",magenta:"#eb2f96"},fontSizeConfigMap={medium:{fontSize:14,controlHeight:32},large:{fontSize:16,controlHeight:36}},fontSizeComponentsConfigMap={medium:{Button:{contentFontSizeSM:12}},large:{Button:{contentFontSizeSM:14},Menu:{itemHeight:50}}};function generateUiConfig({primaryColor="#0064fa",fontSize="medium"}){if(!Reflect.has(colorMap,primaryColor)&&!isValidColor(primaryColor))throw new Error(`Invalid primary color: ${primaryColor}`);if(!(fontSize in fontSizeConfigMap))throw new Error(`Invalid font size: ${fontSize}`);const fontSizeConfig=fontSizeConfigMap[fontSize],componentsConfig=fontSizeComponentsConfigMap[fontSize];return{messageFoldThreshold:1,messageDuration:3,notificationFoldThreshold:3,notificationDuration:5,locale:Reflect.has(locale,"default")?Reflect.get(locale,"default"):locale,iconPrefixCls:"vef-icon",prefixCls:"vef",virtual:!0,componentSize:"middle",variant:"outlined",theme:{cssVar:{prefix:"vef"},hashed:!1,algorithm:theme.defaultAlgorithm,token:{borderRadius:6,colorBgBase:"#ffffff",colorPrimary:Reflect.has(colorMap,primaryColor)?colorMap[primaryColor]:primaryColor,colorInfo:"#0ea5e9",colorSuccess:"#22c55e",colorWarning:"#f97316",colorError:"#ef4444",colorLink:"#6366f1",colorTextBase:"#171717",colorBgLayout:"#f5f6fb",colorBgSpotlight:"rgba(23, 23, 23, 0.8)",zIndexPopupBase:10,wireframe:!0,...fontSizeConfig,...colorMap},components:assign({Table:{},Tooltip:{paddingSM:16,paddingXS:12},Button:{},TreeSelect:{titleHeight:fontSizeConfig.controlHeight},Spin:{contentHeight:"auto"}},componentsConfig)}}}function useUiConfig(config){return useDeepMemo(()=>generateUiConfig(config),[config])}/*! 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 */export{useUiConfig};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.121, build time: 2025-03-11T09:24:54.817Z, made by Venus. */import{jsx,jsxs}from"@emotion/react/jsx-runtime";import createCache from"@emotion/cache";import{CacheProvider,Global,css}from"@emotion/react";import{AuthContextProvider,ApiContextProvider}from"@vef-framework/core";import{ConfigProvider,App}from"antd";import{useLayoutEffect}from"react";import{ErrorBoundary}from"react-error-boundary";import VefError from"../vef-error/index.js";import{globalStyle,nprogressStyle}from"./global-style.js";import{useUiConfig}from"./hooks/use-ui-config.js";import{useConfigStore,ConfigStoreProvider}from"./store.js";function UiConfigProvider({children}){const config=useConfigStore(state=>state),uiConfig=useUiConfig(config);useLayoutEffect(()=>{const{messageFoldThreshold:messageFoldThreshold2,messageDuration:messageDuration2,notificationFoldThreshold,notificationDuration:notificationDuration2,...restConfig2}=uiConfig;ConfigProvider.config({holderRender:children2=>jsx(ConfigProvider,{...restConfig2,children:jsx(App,{component:"div",message:{maxCount:messageFoldThreshold2,duration:messageDuration2},notification:{maxCount:notificationFoldThreshold,duration:notificationDuration2,showProgress:!0,pauseOnHover:!0,placement:"topRight",stack:{threshold:3}},children:children2})})}),document.documentElement.style.setProperty("--vef-color-primary",uiConfig.theme?.token?.colorPrimary??null)},[uiConfig]);const{messageFoldThreshold,messageDuration,notificationDuration,...restConfig}=uiConfig;return jsx(ConfigProvider,{...restConfig,children:jsx(App,{component:"div",message:{maxCount:messageFoldThreshold,duration:messageDuration},notification:{maxCount:messageFoldThreshold,duration:notificationDuration,showProgress:!0,pauseOnHover:!0,placement:"topRight",stack:{threshold:3}},children})})}function FallbackComponent({error,resetErrorBoundary}){return jsx(VefError,{error,reset:resetErrorBoundary})}const vefCache=createCache({key:"vef"});function VefConfigProvider({apiClient,dataDictionaryApi,loginApi,logoutApi,fetchAuthenticatedUserApi,permissionChecker,children,...config}){return jsx(AuthContextProvider,{permissionChecker,children:jsx(ApiContextProvider,{client:apiClient,dataDictionaryApi,fetchAuthenticatedUserApi,loginApi,logoutApi,children:jsx(ConfigStoreProvider,{initialState:config,children:jsxs(CacheProvider,{value:vefCache,children:[jsx(Global,{styles:[globalStyle,nprogressStyle,css`
|
|
2
|
-
:root {
|
|
3
|
-
font-size: ${(config.fontSize??"medium")==="medium"?"14px":"16px"};
|
|
4
|
-
}
|
|
5
|
-
`]}),jsx(UiConfigProvider,{children:jsx(ErrorBoundary,{FallbackComponent,children})})]})})})})}/*! 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 */export{VefConfigProvider as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.121, build time: 2025-03-11T09:24:54.817Z, made by Venus. */import{createComponentStore}from"@vef-framework/shared";const{StoreProvider:ConfigStoreProvider,useStore:useConfigStore,useStoreApi:useConfigStoreApi}=createComponentStore("Config",({fontSize="large",primaryColor="#0064fa"})=>set=>({fontSize,primaryColor,setFontSize:fontSize2=>set({fontSize:fontSize2}),setPrimaryColor:primaryColor2=>set({primaryColor:primaryColor2})}));/*! 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 */export{ConfigStoreProvider,useConfigStore,useConfigStoreApi};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.121, build time: 2025-03-11T09:24:54.817Z, made by Venus. */import{jsxs,jsx}from"@emotion/react/jsx-runtime";import{FloatButton}from"antd";import VefScrollArea from"../vef-scroll-area/index.js";const{BackTop}=FloatButton;function VefContainer({className,style,children}){return jsxs(VefScrollArea,{className,style,children:[children,jsx(BackTop,{})]})}/*! 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 */export{VefContainer as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.121, build time: 2025-03-11T09:24:54.817Z, made by Venus. */import{jsx}from"@emotion/react/jsx-runtime";import{DisabledContextProvider}from"@vef-framework/hooks";import{useMemo}from"react";import VefActionButtons from"../../vef-action-buttons/index.js";import{useActionButtons}from"../hooks/use-action-buttons.js";import{useCrudContext}from"../hooks/use-crud-context.js";import{useCrudStore}from"../store.js";function VefCrudActions({tableApi,tableApiParams,actionButtons}){const confirmedFilterValues=useCrudStore(state=>state.confirmedFilterValues),isFetching=tableApi.useIsFetching(useMemo(()=>({...tableApiParams,...confirmedFilterValues}),[tableApiParams,confirmedFilterValues])),crudContext=useCrudContext(),actionButtonsToUse=useActionButtons(actionButtons);return jsx(DisabledContextProvider,{value:isFetching,children:jsx(VefActionButtons,{buttons:actionButtonsToUse,context:crudContext,useFlexContainer:!1})})}/*! 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 */export{VefCrudActions as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.121, build time: 2025-03-11T09:24:54.817Z, made by Venus. */import{jsx}from"@emotion/react/jsx-runtime";import{useMemo,useCallback}from"react";import VefActionButtons from"../../vef-action-buttons/index.js";import VefFilter from"../../vef-filter/index.js";import VefTitle from"../../vef-title/index.js";import{useActionButtons}from"../hooks/use-action-buttons.js";import{useCrudContext}from"../hooks/use-crud-context.js";import{useCrudStore}from"../store.js";function VefCrudFilter({title,tableApi,tableApiParams,filterSchema,actionButtons}){const[setFilterValues,confirmedFilterValues,setConfirmedFilterValues]=useCrudStore(state=>[state.setFilterValues,state.confirmedFilterValues,state.setConfirmedFilterValues]),isFetching=tableApi.useIsFetching(useMemo(()=>({...tableApiParams,...confirmedFilterValues}),[tableApiParams,confirmedFilterValues])),crudContext=useCrudContext(),actionButtonsToUse=useActionButtons(actionButtons),handleReset=useCallback(()=>setConfirmedFilterValues(null),[setConfirmedFilterValues]);return jsx(VefFilter,{loading:isFetching,prefix:jsx(VefTitle,{noPaddingBottom:!0,showLeftBar:!0,level:5,children:title}),schema:filterSchema,extraActionButtons:jsx(VefActionButtons,{buttons:actionButtonsToUse,context:crudContext,useFlexContainer:!1}),onChange:setFilterValues,onConfirm:setConfirmedFilterValues,onReset:handleReset})}/*! 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 */export{VefCrudFilter as default};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.121, build time: 2025-03-11T09:24:54.817Z, made by Venus. */import{jsx,jsxs,Fragment}from"@emotion/react/jsx-runtime";import{css}from"@emotion/react";import{useApiContext}from"@vef-framework/core";import{DisabledContextProvider}from"@vef-framework/hooks";import{themeVariables,isNullish,showSuccessMessage,isFunction}from"@vef-framework/shared";import{Trash2Icon}from"lucide-react";import{useMemo,useCallback,memo}from"react";import VefActionButtons from"../../vef-action-buttons/index.js";import VefButton from"../../vef-button/index.js";import VefDivider from"../../vef-divider/index.js";import VefFlex from"../../vef-flex/index.js";import VefIcon from"../../vef-icon/index.js";import VefText from"../../vef-text/index.js";import{useCrudContext}from"../hooks/use-crud-context.js";import{useCrudStore}from"../store.js";const footerStyle=css`
|
|
2
|
-
height: 100%;
|
|
3
|
-
display: flex;
|
|
4
|
-
justify-content: space-between;
|
|
5
|
-
align-items: center;
|
|
6
|
-
padding: ${themeVariables.padding};
|
|
7
|
-
`;function VefCrudFooterBase({tableApi,tableApiParams,batchDeletionApi,batchActionButtons,selectionSummary}){const{useApiMutation,stubMutationApi}=useApiContext(),batchDeletionMutation=useApiMutation(batchDeletionApi??stubMutationApi),[selectedInfo,confirmedFilterValues,setSelectedInfo]=useCrudStore(state=>[state.selectedInfo,state.confirmedFilterValues,state.setSelectedInfo]),{selectedKeys,selectedRecords}=selectedInfo,batchActionButtonsToUse=useMemo(()=>isNullish(batchDeletionApi)?batchActionButtons??[]:[...batchActionButtons??[],{key:"_batchDeletion",label:"批量删除",icon:jsx(VefIcon,{children:jsx(Trash2Icon,{})}),color:"error",permissions:[batchDeletionApi.key],requireConfirmation:!0,confirmationMode:"detailed",onClick:async({refetch})=>{const{message}=await batchDeletionMutation.mutate(selectedRecords);showSuccessMessage(message),refetch()}}],[batchActionButtons,batchDeletionApi,batchDeletionMutation,selectedRecords]),crudContext=useCrudContext(),batchActionButtonContext=useMemo(()=>({...crudContext,...selectedInfo}),[crudContext,selectedInfo]),isFetching=tableApi.useIsFetching(useMemo(()=>({...tableApiParams,...confirmedFilterValues}),[tableApiParams,confirmedFilterValues])),handleCancelSelection=useCallback(()=>{setSelectedInfo({selectedKeys:[],selectedRecords:[]})},[setSelectedInfo]),selectionSummaryNode=useMemo(()=>{if(isFunction(selectionSummary))return selectionSummary(selectedRecords)},[selectedRecords,selectionSummary]);return selectedKeys.length===0?null:jsxs("div",{css:footerStyle,children:[jsxs(VefText,{color:"secondary",children:["已选择"," ",jsx(VefText,{bold:!0,color:"primary",children:selectedKeys.length})," ","项",selectionSummaryNode&&jsxs(Fragment,{children:[jsx(VefDivider,{orientation:"vertical"}),selectionSummaryNode]})]}),jsx(DisabledContextProvider,{value:isFetching,children:jsxs(VefFlex,{align:"center",gap:"medium",children:[jsx(VefButton,{color:"primary",variant:"text",onClick:handleCancelSelection,children:"取消选择"}),jsx(VefActionButtons,{buttons:batchActionButtonsToUse,context:batchActionButtonContext,useFlexContainer:!1})]})})]})}const VefCrudFooter=memo(VefCrudFooterBase);/*! 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 */export{VefCrudFooter as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.121, build time: 2025-03-11T09:24:54.817Z, made by Venus. */import{jsx}from"@emotion/react/jsx-runtime";import VefFormModal from"../../vef-form-modal/index.js";import{useCrudStore}from"../store.js";function VefCrudFormModal({formSchema,formApis}){const[isFormOpen,{scene,title,width},{onBeforeSubmit,onSubmitSuccess},currentFormInitialValues,isFormLoading,closeForm]=useCrudStore(state=>[state.isFormOpen,state.currentFormInfo,state.currentFormEventHandlers,state.currentFormInitialValues,state.isFormLoading,state.closeForm]),formApi=formApis[scene];if(!formApi)throw new Error(`Form api for scene ${scene} not found, please check the formApis props of VefCrudPage component.`);return jsx(VefFormModal,{initialValues:currentFormInitialValues,loading:isFormLoading,open:isFormOpen,scene,schema:formSchema,submitApi:formApi,title,width,onBeforeSubmit,onClose:closeForm,onSubmitSuccess})}/*! 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 */export{VefCrudFormModal as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.121, build time: 2025-03-11T09:24:54.817Z, made by Venus. */import{jsx}from"@emotion/react/jsx-runtime";import{memo}from"react";import VefCrudFilter from"./crud-filter.js";function VefCrudHeaderBase({title,tableApi,tableApiParams,filterItems,actionButtons}){return filterItems.length>0?jsx(VefCrudFilter,{actionButtons,filterSchema:filterItems,tableApi,tableApiParams,title}):null}const VefCrudHeader=memo(VefCrudHeaderBase);/*! 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 */export{VefCrudHeader as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.121, build time: 2025-03-11T09:24:54.817Z, made by Venus. */import{jsx}from"@emotion/react/jsx-runtime";import{useMemo,useCallback,useRef,useEffect,memo}from"react";import VefTable from"../../vef-table/index.js";import{useCrudContext}from"../hooks/use-crud-context.js";import{useOperationButtons}from"../hooks/use-operation-buttons.js";import{useCrudStore,useCrudStoreApi}from"../store.js";function VefCrudTableBase({api,apiParams,deletionApi,paginated,schema,selectable,operationButtons,...tableProps}){const[confirmedFilterValues,selectedInfo,setSelectedInfo]=useCrudStore(state=>[state.confirmedFilterValues,state.selectedInfo,state.setSelectedInfo]),mergedApiParams=useMemo(()=>({...apiParams,...confirmedFilterValues}),[apiParams,confirmedFilterValues]),handleSelectionChange=useCallback((selectedKeys,selectedRecords)=>{setSelectedInfo({selectedKeys,selectedRecords})},[setSelectedInfo]),operationButtonsToUse=useOperationButtons(deletionApi,operationButtons),tableInstanceRef=useRef(null),crudStore=useCrudStoreApi();useEffect(()=>{crudStore.setState({tableInstanceRef})},[crudStore]);const crudContext=useCrudContext();return paginated?jsx(VefTable,{ref:tableInstanceRef,multipleSelection:!0,paginated:!0,api,apiParams:mergedApiParams,externalContext:crudContext,operationButtons:operationButtonsToUse,schema,selectable,selectedKeys:selectedInfo.selectedKeys,selectionSummary:!1,onRowSelectionChange:handleSelectionChange,...tableProps}):jsx(VefTable,{ref:tableInstanceRef,multipleSelection:!0,api,apiParams:mergedApiParams,externalContext:crudContext,schema,selectable,selectedKeys:selectedInfo.selectedKeys,selectionSummary:!1,onRowSelectionChange:handleSelectionChange,...tableProps})}const VefCrudTable=memo(VefCrudTableBase);/*! 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 */export{VefCrudTable as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.121, build time: 2025-03-11T09:24:54.817Z, made by Venus. */import{jsx}from"@emotion/react/jsx-runtime";import{creationFormScene}from"@vef-framework/shared";import{PlusIcon}from"lucide-react";import{useMemo}from"react";import VefIcon from"../../vef-icon/index.js";import{useCrudStore}from"../store.js";function useActionButtons(actionButtons){const formApiKeys=useCrudStore(state=>state.formApiKeys),showCreationActionButton=Reflect.has(formApiKeys,creationFormScene),creationFormApiKey=Reflect.get(formApiKeys,creationFormScene);return useMemo(()=>showCreationActionButton?[...actionButtons??[],{label:"创建",key:`_${creationFormScene}`,icon:jsx(VefIcon,{children:jsx(PlusIcon,{})}),color:"primary",permissions:[creationFormApiKey],onClick:({openForm,refetch})=>openForm({scene:creationFormScene,title:"创建",onSubmitSuccess:()=>{refetch()}})}]:actionButtons??[],[showCreationActionButton,actionButtons,creationFormApiKey])}/*! 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 */export{useActionButtons};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.121, build time: 2025-03-11T09:24:54.817Z, made by Venus. */import{useMemo}from"react";import{useCrudStore}from"../store.js";function useCrudContext(){const[openForm,filterValues,tableInstanceRef]=useCrudStore(state=>[state.openForm,state.filterValues,state.tableInstanceRef]);return useMemo(()=>({openForm,filterValues,refetch:async()=>{await tableInstanceRef.current?.refetch()}}),[openForm,filterValues,tableInstanceRef])}/*! 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 */export{useCrudContext};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.121, build time: 2025-03-11T09:24:54.817Z, made by Venus. */import{isNullish,isString}from"@vef-framework/shared";import{useMemo}from"react";function useCrudSchema(schema){return useMemo(()=>{const tableColumns=[],filterItems=[],filterValueAsDefaultSet=new Set,formGroupMap={};for(const item of schema){const{filter,form,...column}=item,{name,title}=column;if(tableColumns.push(column),filter){const{label,advanced,...rest}=filter,filterItem={name,label:advanced&&isNullish(label)?title:label,advanced,...rest};(filterItem.type==="Input"||filterItem.type==="InputNumber")&&isNullish(label)&&isNullish(filterItem.placeholder)?filterItem.placeholder=isString(title)?title:"请输入":(filterItem.type==="SingleSelect"||filterItem.type==="MultipleSelect"||filterItem.type==="TreeSingleSelect"||filterItem.type==="TreeMultipleSelect")&&isNullish(label)&&isNullish(filterItem.placeholder)&&(filterItem.placeholder=isString(title)?title:"请选择"),filterItems.push(filterItem)}if(form){const{group,row,column:column2,filterValueAsDefault,label,...rest}=form,groupKey=`${group??1}`,groupSchema=formGroupMap[groupKey]??{};formGroupMap[groupKey]||(formGroupMap[groupKey]=groupSchema);const rowKey=`${row??1}`,rowSchema=groupSchema[rowKey]??{};groupSchema[rowKey]||(groupSchema[rowKey]=rowSchema);const columnKey=`${column2??1}`,columnSchema=rowSchema[columnKey]??[];rowSchema[columnKey]||(rowSchema[columnKey]=columnSchema),rest.type==="Hidden"?columnSchema.push({name,...rest}):columnSchema.push({name,label:isNullish(label)?title:label,...rest}),(filterValueAsDefault??!1)&&filterValueAsDefaultSet.add(name)}}const formGroups=[],groupKeys=Object.keys(formGroupMap).sort();for(const groupKey of groupKeys){const groupSchemaMap=formGroupMap[groupKey],formRows=[],rowKeys=Object.keys(groupSchemaMap).sort();for(const rowKey of rowKeys){const rowSchema=groupSchemaMap[rowKey],formColumns=[],columnKeys=Object.keys(rowSchema).sort();for(const columnKey of columnKeys){const columnSchema=rowSchema[columnKey],formColumn={key:columnKey,items:columnSchema};formColumns.push(formColumn)}formRows.push({key:rowKey,columns:formColumns})}formGroups.push({key:groupKey,rows:formRows})}return{tableSchema:tableColumns,filterItems,formGroups,filterValueAsDefaultKeys:Array.from(filterValueAsDefaultSet)}},[schema])}/*! 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 */export{useCrudSchema};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.121, build time: 2025-03-11T09:24:54.817Z, made by Venus. */import{jsx}from"@emotion/react/jsx-runtime";import{useApiContext}from"@vef-framework/core";import{updateFormScene,showSuccessMessage}from"@vef-framework/shared";import{PencilIcon,TrashIcon}from"lucide-react";import{useMemo}from"react";import VefIcon from"../../vef-icon/index.js";import{useCrudStore}from"../store.js";function useOperationButtons(deletionApi,operationButtons){const{useApiMutation,stubMutationApi}=useApiContext(),deletionMutation=useApiMutation(deletionApi??stubMutationApi),formApiKeys=useCrudStore(state=>state.formApiKeys),showUpdateButton=Reflect.has(formApiKeys,updateFormScene);return useMemo(()=>{const buttons=[...operationButtons??[]];return showUpdateButton&&buttons.push({key:"_update",label:"编辑",icon:jsx(VefIcon,{children:jsx(PencilIcon,{})}),color:"primary",onClick:({record,openForm,refetch})=>{openForm({scene:updateFormScene,title:"编辑",initialValues:record,onSubmitSuccess:()=>{refetch()}})}}),deletionApi&&buttons.push({key:"_deletion",label:"删除",icon:jsx(VefIcon,{children:jsx(TrashIcon,{})}),color:"error",requireConfirmation:!0,confirmationMode:"simple",onClick:async({record,refetch})=>{const{message}=await deletionMutation.mutate(record);showSuccessMessage(message),refetch()}}),buttons},[deletionApi,deletionMutation,operationButtons,showUpdateButton])}/*! 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 */export{useOperationButtons};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.121, build time: 2025-03-11T09:24:54.817Z, made by Venus. */import{jsx,jsxs}from"@emotion/react/jsx-runtime";import{isNullish}from"@vef-framework/shared";import{useMemo}from"react";import VefCard from"../vef-card/index.js";import VefPage from"../vef-page/index.js";import VefCrudActions from"./components/crud-actions.js";import VefCrudFooter from"./components/crud-footer.js";import VefCrudFormModal from"./components/crud-form-modal.js";import VefCrudHeader from"./components/crud-header.js";import VefCrudTable from"./components/crud-table.js";import{useCrudSchema}from"./hooks/use-crud-schema.js";import{useCrudStore,CrudStoreProvider}from"./store.js";function VefCrudPageBase({title,actionButtons,batchActionButtons,tableSchema,filterItems,formGroups,tableApiParams,formApis,deletionApi,batchDeletionApi,selectionSummary,...tableProps}){const{selectedKeys}=useCrudStore(state=>state.selectedInfo),selectable=!isNullish(batchDeletionApi)||!isNullish(batchActionButtons)&&batchActionButtons.length>0;let tableNode;if(tableProps.paginated){const{tableApi:tableApi2,...restTableProps}=tableProps;tableNode=jsx(VefCrudTable,{showRowNumber:!0,api:tableApi2,apiParams:tableApiParams,deletionApi,schema:tableSchema,selectable,...restTableProps})}else{const{tableApi:tableApi2,...restTableProps}=tableProps;tableNode=jsx(VefCrudTable,{showRowNumber:!0,api:tableApi2,apiParams:tableApiParams,deletionApi,schema:tableSchema,selectable,...restTableProps})}const{tableApi}=tableProps;return jsx(VefPage,{scrollable:!0,title,actions:jsx(VefCrudActions,{actionButtons,tableApi,tableApiParams}),footer:selectedKeys.length>0&&jsx(VefCrudFooter,{batchActionButtons,batchDeletionApi,selectionSummary,tableApi,tableApiParams}),header:jsx(VefCrudHeader,{actionButtons,filterItems,tableApi,tableApiParams,title}),children:jsxs(VefCard,{children:[tableNode,formApis&&Object.keys(formApis).length>0&&formGroups.length>0&&jsx(VefCrudFormModal,{formApis,formSchema:formGroups})]})})}function VefCrudPage({schema,formApis,onFormOpen,onBeforeSubmit,onSubmitSuccess,...restProps}){const{tableSchema,filterItems,formGroups,filterValueAsDefaultKeys}=useCrudSchema(schema),formApiKeys=useMemo(()=>{const apis=formApis??{};return Object.keys(apis).reduce((acc,key)=>(apis[key]&&(acc[key]=apis[key].key),acc),{})},[formApis]),initialState=useMemo(()=>({filterValueAsDefaultKeys,formApiKeys,onBeforeSubmit,onFormOpen,onSubmitSuccess}),[filterValueAsDefaultKeys,formApiKeys,onBeforeSubmit,onFormOpen,onSubmitSuccess]);return jsx(CrudStoreProvider,{initialState,children:jsx(VefCrudPageBase,{filterItems,formApis,formGroups,tableSchema,...restProps})})}/*! 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 */export{VefCrudPage as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.121, build time: 2025-03-11T09:24:54.817Z, made by Venus. */import{createComponentStore,creationFormScene,isNullish,isFunction,mergeFns,showSuccessMessage,showSuccessAlert,invokeMaybeAsyncFn}from"@vef-framework/shared";const{StoreProvider:CrudStoreProvider,useStore:useCrudStore,useStoreApi:useCrudStoreApi}=createComponentStore("Crud",({filterValueAsDefaultKeys,formApiKeys,onFormOpen,onBeforeSubmit,onSubmitSuccess})=>(set,get)=>({onFormOpen,onBeforeSubmit,onSubmitSuccess,currentFormInfo:{scene:creationFormScene,title:"创建",width:"medium"},currentFormEventHandlers:{},currentFormInitialValues:{},isFormOpen:!1,openForm:async({initialValues,width,onBeforeSubmit:onBeforeSubmit2,onSubmitSuccess:onSubmitSuccess2,showSuccessTip=!0,successTipType="message",...formInfo})=>{const{filterValues,onFormOpen:onFormOpen2,closeForm,onBeforeSubmit:globalOnBeforeSubmit,onSubmitSuccess:globalOnSubmitSuccess,setIsFormLoading}=get(),initialFormValues={...filterValueAsDefaultKeys.reduce((acc,key)=>{const value=filterValues[key];return isNullish(value)||(acc[key]=value),acc},{}),...initialValues},mergedOnBeforeSubmit=isFunction(onBeforeSubmit2)||isFunction(globalOnBeforeSubmit)?async(values,scene)=>{const result=await onBeforeSubmit2?.(values,scene);return await globalOnBeforeSubmit?.(result??values,scene)??result}:void 0,mergedOnSubmitSuccess=isFunction(onSubmitSuccess2)||isFunction(globalOnSubmitSuccess)?mergeFns(({message})=>{showSuccessTip&&(successTipType==="message"?showSuccessMessage(message):showSuccessAlert(message)),closeForm()},onSubmitSuccess2,globalOnSubmitSuccess):void 0;set({isFormOpen:!0,currentFormInfo:{...formInfo,width:width??"medium"},currentFormEventHandlers:{onBeforeSubmit:mergedOnBeforeSubmit,onSubmitSuccess:mergedOnSubmitSuccess},isFormLoading:!!onFormOpen2}),onFormOpen2?await invokeMaybeAsyncFn(onFormOpen2,{onSuccess:initialFormValues2=>{set({currentFormInitialValues:initialFormValues2})},onFinally:()=>{setIsFormLoading(!1)}},initialFormValues,filterValues,formInfo.scene):set({currentFormInitialValues:initialFormValues})},closeForm:()=>{set({isFormOpen:!1,currentFormInitialValues:{},currentFormEventHandlers:{}})},isFormLoading:!1,setIsFormLoading:isFormLoading=>{set({isFormLoading})},filterValueAsDefaultKeys,filterValues:{},setFilterValues:filterValues=>{set({filterValues})},confirmedFilterValues:null,setConfirmedFilterValues:confirmedFilterValues=>{set({confirmedFilterValues})},selectedInfo:{selectedKeys:[],selectedRecords:[]},setSelectedInfo:selectedInfo=>{set({selectedInfo})},formApiKeys,tableInstanceRef:{current:null}}));/*! 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 */export{CrudStoreProvider,useCrudStore,useCrudStoreApi};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.121, build time: 2025-03-11T09:24:54.817Z, made by Venus. */import{jsx}from"@emotion/react/jsx-runtime";import{HotTable}from"@handsontable/react-wrapper";import{registerLanguageDictionary,zhCN}from"handsontable/i18n";import{registerAllModules}from"handsontable/registry";import{useRef}from"react";registerAllModules(),registerLanguageDictionary(zhCN);const users=Array.from({length:1e3}).map((_,index)=>({name:`Name${index+1}`,gender:index%2===0?"Male":"Female",age:Math.floor(Math.random()*100)+18,id:index+1,desc:`Description may be very long, very long, very long, very long, very long, very long, very long, very long, very long, very long${index+1}`})),columns=[{data:"id",title:"ID",fixedColumnsStart:1},{data:"name",title:"Name"},{data:"gender",title:"Gender"},{data:"age",title:"Age"},{data:"desc",title:"Description",width:200}];function VefDataGrid(props){console.log("file: index.tsx:49 ~ props:",props);const hotTableRef=useRef(null);return jsx("div",{style:{width:"100%",maxHeight:"500px"},children:jsx(HotTable,{ref:hotTableRef,autoColumnSize:!0,autoRowSize:!0,colHeaders:!0,disableVisualSelection:!0,manualColumnMove:!0,manualColumnResize:!0,multiColumnSorting:!0,readOnly:!0,rowHeaders:!0,columns,data:users,language:zhCN.languageCode,licenseKey:"non-commercial-and-evaluation",locale:zhCN.languageCode,themeName:"ht-theme-main",beforeColumnSort:(_,sortConfigs)=>{if(console.log("file: index.tsx:68 ~ sortConfigs:",sortConfigs),sortConfigs.length>0){const header=hotTableRef.current?.hotInstance?.getColHeader(sortConfigs[0].column);console.log("file: index.tsx:77 ~ header:",header);const meta=hotTableRef.current?.hotInstance?.getColumnMeta(sortConfigs[0].column);console.log("file: index.tsx:79 ~ meta:",meta)}}})})}/*! 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 */export{VefDataGrid as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.121, build time: 2025-03-11T09:24:54.817Z, made by Venus. */import{jsx}from"@emotion/react/jsx-runtime";function VefDataTable(props){return console.log("file: index.tsx:3 ~ props:",props),jsx("div",{children:"data table"})}/*! 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 */export{VefDataTable as default};
|
package/es/vef-divider/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.121, build time: 2025-03-11T09:24:54.817Z, made by Venus. */import{jsx}from"@emotion/react/jsx-runtime";import{Divider}from"antd";function VefDivider({orientation,title,titlePosition,titleEdgeMargin,...restProps}){return jsx(Divider,{children:title,orientation:titlePosition,orientationMargin:titleEdgeMargin,type:orientation,...restProps})}/*! 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 */export{VefDivider as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.121, build time: 2025-03-11T09:24:54.817Z, made by Venus. */import{jsx,Fragment}from"@emotion/react/jsx-runtime";import{invokeMaybeAsyncFn}from"@vef-framework/shared";import{useState,useMemo,cloneElement}from"react";import{useDrawerContextSelector}from"../context.js";function VefDrawerActionButtonWrapper({children}){const[isDisabled,setIsDisabled]=useDrawerContextSelector(ctx=>[ctx.isDisabled,ctx.setIsDisabled]),[isLoading,setIsLoading]=useState(!1),{disabled,loading,onClick}=children.props,wrappedOnClick=useMemo(()=>{if(onClick)return async event=>{await invokeMaybeAsyncFn(onClick,{beforeInvoke:()=>{setIsLoading(!0),setIsDisabled(!0)},onFinally:()=>{setIsLoading(!1),setIsDisabled(!1)}},event)}},[onClick,setIsDisabled]),buttonNode=cloneElement(children,{disabled:isDisabled||disabled,loading:isLoading||loading,onClick:wrappedOnClick});return jsx(Fragment,{children:buttonNode})}/*! 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 */export{VefDrawerActionButtonWrapper as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.121, build time: 2025-03-11T09:24:54.817Z, made by Venus. *//*! 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 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.121, build time: 2025-03-11T09:24:54.817Z, made by Venus. */import{jsx}from"@emotion/react/jsx-runtime";import VefButton from"../../vef-button/index.js";import VefDrawerActionButtonWrapper from"./action-button-wrapper.js";function VefCancelActionButton({text,onClick}){return jsx(VefDrawerActionButtonWrapper,{children:jsx(VefButton,{color:"default",variant:"text",onClick,children:text})})}/*! 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 */export{VefCancelActionButton as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.121, build time: 2025-03-11T09:24:54.817Z, made by Venus. */import{jsx}from"@emotion/react/jsx-runtime";import{CheckIcon}from"lucide-react";import VefButton from"../../vef-button/index.js";import VefIcon from"../../vef-icon/index.js";import VefDrawerActionButtonWrapper from"./action-button-wrapper.js";function VefOkActionButton({text,onClick}){return jsx(VefDrawerActionButtonWrapper,{children:jsx(VefButton,{color:"primary",icon:jsx(VefIcon,{children:jsx(CheckIcon,{})}),onClick,children:text})})}/*! 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 */export{VefOkActionButton as default};
|
package/es/vef-drawer/context.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.121, build time: 2025-03-11T09:24:54.817Z, made by Venus. */import{createSelectableContext,noop}from"@vef-framework/shared";const{ContextProvider:DrawerContextProvider,useContext:useDrawerContext,useContextSelector:useDrawerContextSelector}=createSelectableContext({isDisabled:!1,setIsDisabled:noop,isFullyOpened:!1,isFullyClosed:!1});/*! 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 */export{DrawerContextProvider,useDrawerContext,useDrawerContextSelector};
|
package/es/vef-drawer/index.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.121, build time: 2025-03-11T09:24:54.817Z, made by Venus. */import{jsx,jsxs,Fragment}from"@emotion/react/jsx-runtime";import{css}from"@emotion/react";import{themeVariables,isFunction}from"@vef-framework/shared";import{Drawer}from"antd";import{useMemo,useState,useLayoutEffect,useCallback,memo}from"react";import VefCancelActionButton from"./components/cancel-action-button.js";import VefOkActionButton from"./components/ok-action-button.js";import{DrawerContextProvider}from"./context.js";import{default as default2}from"./components/action-button-wrapper.js";const drawerStyle=css`
|
|
2
|
-
.vef-drawer-footer {
|
|
3
|
-
display: flex;
|
|
4
|
-
gap: ${themeVariables.padding};
|
|
5
|
-
justify-content: flex-end;
|
|
6
|
-
align-items: center;
|
|
7
|
-
}
|
|
8
|
-
`,responsiveSizeMap={narrow:"25",half:"50",wide:"75",full:"100"};function VefDrawerBase({title,open,closable=!0,closeOnEscPress=!0,closeOnMaskClick=!1,destroyOnClose=!1,placement="right",expansionSize,extra,showCancelButton=!0,cancelButtonText="取消",okButtonText="提交",actions,loading,cancelOnClose=!0,onClose,onCancel,onOk,onAfterOpen,onAfterClose,children}){const expansionSizeProps=useMemo(()=>expansionSize==="small"?{size:"default"}:expansionSize==="medium"?{size:"large"}:placement==="left"||placement==="right"?{width:responsiveSizeMap[expansionSize]?`${responsiveSizeMap[expansionSize]}vw`:expansionSize}:{height:responsiveSizeMap[expansionSize]?`${responsiveSizeMap[expansionSize]}vh`:expansionSize},[expansionSize,placement]),[drawerVisibleState,setDrawerVisibleState]=useState({isFullyOpened:!1,isFullyClosed:!1}),[isDisabled,setIsDisabled]=useState(!1),drawerContext=useMemo(()=>({isDisabled,setIsDisabled,...drawerVisibleState}),[isDisabled,drawerVisibleState]),modalDisabled=loading||isDisabled;useLayoutEffect(()=>{open&&drawerVisibleState.isFullyClosed&&setDrawerVisibleState(prevState=>({...prevState,isFullyClosed:!1}))},[open]);const actionNode=useMemo(()=>{const cancelButton=jsx(VefCancelActionButton,{text:cancelButtonText,onClick:onCancel},"cancelActionButton"),okButton=jsx(VefOkActionButton,{text:okButtonText,onClick:onOk},"okActionButton");return isFunction(actions)?actions([cancelButton,okButton]):actions||(showCancelButton?jsxs(Fragment,{children:[cancelButton,okButton]}):okButton)},[actions,cancelButtonText,okButtonText,onCancel,onOk,showCancelButton]),handleClose=useCallback(()=>{modalDisabled||(cancelOnClose&&onCancel?.(),onClose?.())},[cancelOnClose,modalDisabled,onCancel,onClose]),handleAfterOpenChange=useCallback(open2=>{const hasAfterOpen=isFunction(onAfterOpen),hasAfterClose=isFunction(onAfterClose);open2?(hasAfterOpen&&onAfterOpen(),setDrawerVisibleState(prevState=>({...prevState,isFullyOpened:!0}))):(hasAfterClose&&onAfterClose(),setDrawerVisibleState(prevState=>({...prevState,isFullyClosed:!0})))},[onAfterOpen,onAfterClose]);return jsx(DrawerContextProvider,{value:drawerContext,children:jsx(Drawer,{afterOpenChange:handleAfterOpenChange,closable,css:drawerStyle,destroyOnClose,extra,footer:!loading&&actionNode,keyboard:closeOnEscPress,loading,maskClosable:closeOnMaskClick,open,placement,title,zIndex:20,onClose:handleClose,...expansionSizeProps,children})})}const VefDrawer=memo(VefDrawerBase);VefDrawer.displayName="VefDrawer";/*! 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 */export{default2 as VefDrawerActionButtonWrapper,VefDrawer as default};
|
package/es/vef-dropdown/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.121, build time: 2025-03-11T09:24:54.817Z, made by Venus. */import{jsx}from"@emotion/react/jsx-runtime";import{useNormalizedMenuItems,useDeepMemo}from"@vef-framework/hooks";import{isFunction}from"@vef-framework/shared";import{Dropdown}from"antd";import{useMemo,memo}from"react";function VefDropdownBase({className,disabled,placement,children,items,trigger="hover",selectable=!1,deselectable=!1,multiple=!1,defaultSelectedKeys,selectedKeys,onChange,onSelect,onDeselect,onClick}){const dropdownTrigger=useMemo(()=>[trigger],[trigger]),normalizedItems=useNormalizedMenuItems(items),menuProps=useDeepMemo(()=>({items:normalizedItems,selectable,unselectable:deselectable?"on":"off",multiple,defaultSelectedKeys,selectedKeys,onSelect:isFunction(onChange)||isFunction(onSelect)?({key,keyPath,selectedKeys:selectedKeys2,domEvent})=>{domEvent.stopPropagation(),onChange?.(selectedKeys2),onSelect?.(key,keyPath)}:void 0,onDeselect:isFunction(onChange)||isFunction(onDeselect)?({key,keyPath,selectedKeys:selectedKeys2,domEvent})=>{domEvent.stopPropagation(),onChange?.(selectedKeys2),onDeselect?.(key,keyPath)}:void 0,onClick:isFunction(onClick)?({key,keyPath,domEvent})=>{domEvent.stopPropagation(),onClick(key,keyPath)}:void 0}),[defaultSelectedKeys,multiple,normalizedItems,onChange,onClick,onDeselect,onSelect,selectable,selectedKeys,deselectable]);return jsx(Dropdown,{className,disabled,menu:menuProps,placement,trigger:dropdownTrigger,children})}const VefDropdown=memo(VefDropdownBase);VefDropdown.displayName="VefDropdown";/*! 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 */export{VefDropdown as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.121, build time: 2025-03-11T09:24:54.817Z, made by Venus. */import{jsx}from"@emotion/react/jsx-runtime";import{useThemeTokens}from"@vef-framework/hooks";import dynamicIconImports from"lucide-react/dynamicIconImports";import{forwardRef,lazy,Suspense}from"react";import VefIcon from"../vef-icon/index.js";function SvgPlaceholder(){const{colorFillContent}=useThemeTokens();return jsx("svg",{"aria-label":"Loading icon",height:"1em",role:"img",viewBox:"0 0 100 100",width:"1em",xmlns:"http://www.w3.org/2000/svg",children:jsx("rect",{fill:colorFillContent,height:"100",rx:"20",width:"100"})})}const fallback=jsx(SvgPlaceholder,{}),iconCache=new Map,VefDynamicIcon=forwardRef(({name,...restProps},ref)=>{if(!iconCache.has(name)){const Icon2=lazy(dynamicIconImports[name]);iconCache.set(name,Icon2)}const Icon=iconCache.get(name);return jsx(VefIcon,{ref,...restProps,children:jsx(Suspense,{fallback,children:jsx(Icon,{})})})});VefDynamicIcon.displayName="VefDynamicIcon";/*! 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 */export{VefDynamicIcon as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.121, build time: 2025-03-11T09:24:54.817Z, made by Venus. */import dynamicIconImports from"lucide-react/dynamicIconImports";const dynamicIconNames=new Set(Object.keys(dynamicIconImports));/*! 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 */export{dynamicIconNames};
|
package/es/vef-empty/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.121, build time: 2025-03-11T09:24:54.817Z, made by Venus. */import{jsx}from"@emotion/react/jsx-runtime";import{isNullish}from"@vef-framework/shared";import{Empty}from"antd";import{useMemo}from"react";const{PRESENTED_IMAGE_DEFAULT,PRESENTED_IMAGE_SIMPLE}=Empty;function VefEmpty({icon,iconStyle,presetIcon="default",...restProps}){const iconToUse=useMemo(()=>isNullish(icon)?presetIcon==="default"?PRESENTED_IMAGE_DEFAULT:PRESENTED_IMAGE_SIMPLE:icon,[icon,presetIcon]),styles=useMemo(()=>{if(!isNullish(iconStyle))return{image:iconStyle}},[iconStyle]);return jsx(Empty,{image:iconToUse,styles,...restProps})}/*! 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 */export{VefEmpty as default};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.121, build time: 2025-03-11T09:24:54.817Z, made by Venus. */import{jsx}from"@emotion/react/jsx-runtime";import{css}from"@emotion/react";import{themeVariables,styles}from"@vef-framework/shared";import VefEmpty from"../vef-empty/index.js";const emptyPlaceholderStyle=css`
|
|
2
|
-
height: 100%;
|
|
3
|
-
padding: ${themeVariables.paddingLg};
|
|
4
|
-
${styles.flexCenter}
|
|
5
|
-
`;function VefEmptyPlaceholder({className,style,...restProps}){return jsx("div",{className,css:emptyPlaceholderStyle,style,children:jsx(VefEmpty,{...restProps})})}/*! 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 */export{VefEmptyPlaceholder as default};
|