@vef-framework/components 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -0
- package/dist/index.d.ts +65 -0
- package/dist/index.js +3 -0
- package/dist/internal/index.d.ts +1 -0
- package/dist/internal/index.js +3 -0
- package/dist/internal/utils.d.ts +9 -0
- package/dist/internal/utils.js +3 -0
- package/dist/vef-access-denied/access-denied-icon.d.ts +4 -0
- package/dist/vef-access-denied/access-denied-icon.js +3 -0
- package/dist/vef-access-denied/index.d.ts +5 -0
- package/dist/vef-access-denied/index.js +29 -0
- package/dist/vef-access-denied/props.d.ts +18 -0
- package/dist/vef-action-buttons/index.d.ts +6 -0
- package/dist/vef-action-buttons/index.js +3 -0
- package/dist/vef-action-buttons/props.d.ts +23 -0
- package/dist/vef-badge/index.d.ts +5 -0
- package/dist/vef-badge/index.js +3 -0
- package/dist/vef-badge/props.d.ts +28 -0
- package/dist/vef-bool/hooks/use-bool-instance.d.ts +6 -0
- package/dist/vef-bool/hooks/use-bool-instance.js +3 -0
- package/dist/vef-bool/index.d.ts +4 -0
- package/dist/vef-bool/index.js +3 -0
- package/dist/vef-bool/props.d.ts +63 -0
- package/dist/vef-button/components/base-button.d.ts +9 -0
- package/dist/vef-button/components/base-button.js +3 -0
- package/dist/vef-button/index.d.ts +4 -0
- package/dist/vef-button/index.js +3 -0
- package/dist/vef-button/props.d.ts +79 -0
- package/dist/vef-card/index.d.ts +5 -0
- package/dist/vef-card/index.js +3 -0
- package/dist/vef-card/props.d.ts +27 -0
- package/dist/vef-card-meta/index.d.ts +5 -0
- package/dist/vef-card-meta/index.js +3 -0
- package/dist/vef-card-meta/props.d.ts +7 -0
- package/dist/vef-checkbox/hooks/use-checkbox-instance.d.ts +11 -0
- package/dist/vef-checkbox/hooks/use-checkbox-instance.js +3 -0
- package/dist/vef-checkbox/hooks/use-data-options.d.ts +34 -0
- package/dist/vef-checkbox/hooks/use-data-options.js +3 -0
- package/dist/vef-checkbox/index.d.ts +6 -0
- package/dist/vef-checkbox/index.js +5 -0
- package/dist/vef-checkbox/props.d.ts +41 -0
- package/dist/vef-col/index.d.ts +5 -0
- package/dist/vef-col/index.js +3 -0
- package/dist/vef-col/props.d.ts +5 -0
- package/dist/vef-color-picker/index.d.ts +5 -0
- package/dist/vef-color-picker/index.js +3 -0
- package/dist/vef-color-picker/props.d.ts +28 -0
- package/dist/vef-compact/index.d.ts +5 -0
- package/dist/vef-compact/index.js +3 -0
- package/dist/vef-compact/props.d.ts +11 -0
- package/dist/vef-config-provider/fonts/din/bold.woff2.js +3 -0
- package/dist/vef-config-provider/fonts/din/regular.woff2.js +3 -0
- package/dist/vef-config-provider/hooks/use-ui-config.d.ts +46 -0
- package/dist/vef-config-provider/hooks/use-ui-config.js +3 -0
- package/dist/vef-config-provider/index.d.ts +5 -0
- package/dist/vef-config-provider/index.js +111 -0
- package/dist/vef-config-provider/props.d.ts +24 -0
- package/dist/vef-config-provider/reset-style.d.ts +4 -0
- package/dist/vef-config-provider/reset-style.js +257 -0
- package/dist/vef-config-provider/store.d.ts +12 -0
- package/dist/vef-config-provider/store.js +3 -0
- package/dist/vef-container/index.d.ts +5 -0
- package/dist/vef-container/index.js +3 -0
- package/dist/vef-container/props.d.ts +6 -0
- package/dist/vef-crud-page/components/crud-actions.d.ts +21 -0
- package/dist/vef-crud-page/components/crud-actions.js +3 -0
- package/dist/vef-crud-page/components/crud-filter.d.ts +31 -0
- package/dist/vef-crud-page/components/crud-filter.js +3 -0
- package/dist/vef-crud-page/components/crud-footer.d.ts +31 -0
- package/dist/vef-crud-page/components/crud-footer.js +9 -0
- package/dist/vef-crud-page/components/crud-form-modal.d.ts +18 -0
- package/dist/vef-crud-page/components/crud-form-modal.js +3 -0
- package/dist/vef-crud-page/components/crud-header.d.ts +32 -0
- package/dist/vef-crud-page/components/crud-header.js +3 -0
- package/dist/vef-crud-page/components/crud-table.d.ts +57 -0
- package/dist/vef-crud-page/components/crud-table.js +3 -0
- package/dist/vef-crud-page/hooks/use-action-buttons.d.ts +16 -0
- package/dist/vef-crud-page/hooks/use-action-buttons.js +3 -0
- package/dist/vef-crud-page/hooks/use-crud-context.d.ts +8 -0
- package/dist/vef-crud-page/hooks/use-crud-context.js +3 -0
- package/dist/vef-crud-page/hooks/use-crud-schema.d.ts +17 -0
- package/dist/vef-crud-page/hooks/use-crud-schema.js +3 -0
- package/dist/vef-crud-page/hooks/use-operation-buttons.d.ts +11 -0
- package/dist/vef-crud-page/hooks/use-operation-buttons.js +3 -0
- package/dist/vef-crud-page/index.d.ts +6 -0
- package/dist/vef-crud-page/index.js +3 -0
- package/dist/vef-crud-page/props.d.ts +84 -0
- package/dist/vef-crud-page/store.d.ts +119 -0
- package/dist/vef-crud-page/store.js +3 -0
- package/dist/vef-crud-page/types.d.ts +173 -0
- package/dist/vef-divider/index.d.ts +5 -0
- package/dist/vef-divider/index.js +3 -0
- package/dist/vef-divider/props.d.ts +25 -0
- package/dist/vef-drawer/components/action-button-wrapper.d.ts +14 -0
- package/dist/vef-drawer/components/action-button-wrapper.js +3 -0
- package/dist/vef-drawer/components/button-props.d.ts +15 -0
- package/dist/vef-drawer/components/button-props.js +2 -0
- package/dist/vef-drawer/components/cancel-action-button.d.ts +4 -0
- package/dist/vef-drawer/components/cancel-action-button.js +3 -0
- package/dist/vef-drawer/components/ok-action-button.d.ts +4 -0
- package/dist/vef-drawer/components/ok-action-button.js +3 -0
- package/dist/vef-drawer/context.d.ts +27 -0
- package/dist/vef-drawer/context.js +3 -0
- package/dist/vef-drawer/index.d.ts +5 -0
- package/dist/vef-drawer/index.js +10 -0
- package/dist/vef-drawer/props.d.ts +97 -0
- package/dist/vef-dropdown/index.d.ts +4 -0
- package/dist/vef-dropdown/index.js +3 -0
- package/dist/vef-dropdown/props.d.ts +68 -0
- package/dist/vef-empty/index.d.ts +5 -0
- package/dist/vef-empty/index.js +3 -0
- package/dist/vef-empty/props.d.ts +7 -0
- package/dist/vef-empty-placeholder/index.d.ts +5 -0
- package/dist/vef-empty-placeholder/index.js +7 -0
- package/dist/vef-empty-placeholder/props.d.ts +6 -0
- package/dist/vef-error/error-icon.d.ts +4 -0
- package/dist/vef-error/error-icon.js +3 -0
- package/dist/vef-error/index.d.ts +5 -0
- package/dist/vef-error/index.js +30 -0
- package/dist/vef-error/props.d.ts +18 -0
- package/dist/vef-filter/components/action-buttons.d.ts +3 -0
- package/dist/vef-filter/components/action-buttons.js +21 -0
- package/dist/vef-filter/components/advanced-filter.d.ts +13 -0
- package/dist/vef-filter/components/advanced-filter.js +11 -0
- package/dist/vef-filter/components/basic-filter.d.ts +14 -0
- package/dist/vef-filter/components/basic-filter.js +21 -0
- package/dist/vef-filter/components/fields/index.d.ts +9 -0
- package/dist/vef-filter/components/fields/index.js +3 -0
- package/dist/vef-filter/components/fields/input-number.d.ts +4 -0
- package/dist/vef-filter/components/fields/input-number.js +3 -0
- package/dist/vef-filter/components/fields/input.d.ts +4 -0
- package/dist/vef-filter/components/fields/input.js +3 -0
- package/dist/vef-filter/components/fields/props.d.ts +32 -0
- package/dist/vef-filter/components/filter-field.d.ts +4 -0
- package/dist/vef-filter/components/filter-field.js +3 -0
- package/dist/vef-filter/components/filter-item.d.ts +15 -0
- package/dist/vef-filter/components/filter-item.js +3 -0
- package/dist/vef-filter/event.d.ts +12 -0
- package/dist/vef-filter/event.js +3 -0
- package/dist/vef-filter/helper.d.ts +10 -0
- package/dist/vef-filter/helper.js +3 -0
- package/dist/vef-filter/hooks/use-action-handlers.d.ts +20 -0
- package/dist/vef-filter/hooks/use-action-handlers.js +3 -0
- package/dist/vef-filter/hooks/use-computed-values.d.ts +42 -0
- package/dist/vef-filter/hooks/use-computed-values.js +3 -0
- package/dist/vef-filter/hooks/use-filter-context.d.ts +8 -0
- package/dist/vef-filter/hooks/use-filter-context.js +3 -0
- package/dist/vef-filter/hooks/use-filter-initialization.d.ts +7 -0
- package/dist/vef-filter/hooks/use-filter-initialization.js +3 -0
- package/dist/vef-filter/hooks/use-filter-instance.d.ts +10 -0
- package/dist/vef-filter/hooks/use-filter-instance.js +3 -0
- package/dist/vef-filter/hooks/use-filter-items.d.ts +13 -0
- package/dist/vef-filter/hooks/use-filter-items.js +3 -0
- package/dist/vef-filter/hooks/use-filter-values-change.d.ts +11 -0
- package/dist/vef-filter/hooks/use-filter-values-change.js +3 -0
- package/dist/vef-filter/hooks/use-label-config.d.ts +14 -0
- package/dist/vef-filter/hooks/use-label-config.js +3 -0
- package/dist/vef-filter/index.d.ts +8 -0
- package/dist/vef-filter/index.js +10 -0
- package/dist/vef-filter/props.d.ts +106 -0
- package/dist/vef-filter/store.d.ts +77 -0
- package/dist/vef-filter/store.js +3 -0
- package/dist/vef-filter/types.d.ts +224 -0
- package/dist/vef-flex/index.d.ts +5 -0
- package/dist/vef-flex/index.js +3 -0
- package/dist/vef-flex/props.d.ts +12 -0
- package/dist/vef-float-button/index.d.ts +5 -0
- package/dist/vef-float-button/index.js +3 -0
- package/dist/vef-float-button/props.d.ts +26 -0
- package/dist/vef-float-button-group/index.d.ts +5 -0
- package/dist/vef-float-button-group/index.js +3 -0
- package/dist/vef-float-button-group/props.d.ts +11 -0
- package/dist/vef-form/components/fields/index.d.ts +10 -0
- package/dist/vef-form/components/fields/index.js +3 -0
- package/dist/vef-form/components/fields/input-number.d.ts +5 -0
- package/dist/vef-form/components/fields/input-number.js +3 -0
- package/dist/vef-form/components/fields/input.d.ts +5 -0
- package/dist/vef-form/components/fields/input.js +3 -0
- package/dist/vef-form/components/fields/props.d.ts +33 -0
- package/dist/vef-form/components/form-actions.d.ts +20 -0
- package/dist/vef-form/components/form-actions.js +5 -0
- package/dist/vef-form/components/form-content.d.ts +18 -0
- package/dist/vef-form/components/form-content.js +6 -0
- package/dist/vef-form/components/form-field.d.ts +5 -0
- package/dist/vef-form/components/form-field.js +3 -0
- package/dist/vef-form/components/form-group.d.ts +22 -0
- package/dist/vef-form/components/form-group.js +13 -0
- package/dist/vef-form/components/form-hidden-item.d.ts +14 -0
- package/dist/vef-form/components/form-hidden-item.js +3 -0
- package/dist/vef-form/components/form-item.d.ts +18 -0
- package/dist/vef-form/components/form-item.js +3 -0
- package/dist/vef-form/components/form-row.d.ts +26 -0
- package/dist/vef-form/components/form-row.js +3 -0
- package/dist/vef-form/event.d.ts +15 -0
- package/dist/vef-form/event.js +3 -0
- package/dist/vef-form/helper.d.ts +11 -0
- package/dist/vef-form/helper.js +3 -0
- package/dist/vef-form/hooks/use-action-handlers.d.ts +14 -0
- package/dist/vef-form/hooks/use-action-handlers.js +3 -0
- package/dist/vef-form/hooks/use-columns-layout.d.ts +12 -0
- package/dist/vef-form/hooks/use-columns-layout.js +3 -0
- package/dist/vef-form/hooks/use-computed-values.d.ts +42 -0
- package/dist/vef-form/hooks/use-computed-values.js +3 -0
- package/dist/vef-form/hooks/use-form-context.d.ts +6 -0
- package/dist/vef-form/hooks/use-form-context.js +3 -0
- package/dist/vef-form/hooks/use-form-initialization.d.ts +14 -0
- package/dist/vef-form/hooks/use-form-initialization.js +3 -0
- package/dist/vef-form/hooks/use-form-instance.d.ts +10 -0
- package/dist/vef-form/hooks/use-form-instance.js +3 -0
- package/dist/vef-form/hooks/use-form-values-change.d.ts +11 -0
- package/dist/vef-form/hooks/use-form-values-change.js +3 -0
- package/dist/vef-form/hooks/use-label-width.d.ts +9 -0
- package/dist/vef-form/hooks/use-label-width.js +3 -0
- package/dist/vef-form/index.d.ts +8 -0
- package/dist/vef-form/index.js +5 -0
- package/dist/vef-form/props.d.ts +158 -0
- package/dist/vef-form/store.d.ts +89 -0
- package/dist/vef-form/store.js +3 -0
- package/dist/vef-form/types.d.ts +335 -0
- package/dist/vef-form/validation-rules.d.ts +175 -0
- package/dist/vef-form/validation-rules.js +3 -0
- package/dist/vef-form-drawer/index.d.ts +9 -0
- package/dist/vef-form-drawer/index.js +3 -0
- package/dist/vef-form-drawer/props.d.ts +17 -0
- package/dist/vef-form-modal/index.d.ts +9 -0
- package/dist/vef-form-modal/index.js +3 -0
- package/dist/vef-form-modal/props.d.ts +20 -0
- package/dist/vef-grid/index.d.ts +5 -0
- package/dist/vef-grid/index.js +14 -0
- package/dist/vef-grid/props.d.ts +25 -0
- package/dist/vef-grid/props.js +3 -0
- package/dist/vef-grid-item/index.d.ts +5 -0
- package/dist/vef-grid-item/index.js +3 -0
- package/dist/vef-grid-item/props.d.ts +34 -0
- package/dist/vef-icon/index.d.ts +4 -0
- package/dist/vef-icon/index.js +3 -0
- package/dist/vef-icon/props.d.ts +12 -0
- package/dist/vef-input/hooks/use-input-instance.d.ts +12 -0
- package/dist/vef-input/hooks/use-input-instance.js +3 -0
- package/dist/vef-input/index.d.ts +4 -0
- package/dist/vef-input/index.js +3 -0
- package/dist/vef-input/props.d.ts +67 -0
- package/dist/vef-input-number/hooks/use-input-number-instance.d.ts +12 -0
- package/dist/vef-input-number/hooks/use-input-number-instance.js +3 -0
- package/dist/vef-input-number/index.d.ts +4 -0
- package/dist/vef-input-number/index.js +3 -0
- package/dist/vef-input-number/props.d.ts +124 -0
- package/dist/vef-loading-placeholder/index.d.ts +5 -0
- package/dist/vef-loading-placeholder/index.js +7 -0
- package/dist/vef-loading-placeholder/props.d.ts +6 -0
- package/dist/vef-login/index.d.ts +5 -0
- package/dist/vef-login/index.js +53 -0
- package/dist/vef-login/login-icon.d.ts +4 -0
- package/dist/vef-login/login-icon.js +3 -0
- package/dist/vef-login/props.d.ts +57 -0
- package/dist/vef-modal/components/action-button-wrapper.d.ts +14 -0
- package/dist/vef-modal/components/action-button-wrapper.js +3 -0
- package/dist/vef-modal/components/button-props.d.ts +15 -0
- package/dist/vef-modal/components/button-props.js +2 -0
- package/dist/vef-modal/components/cancel-action-button.d.ts +4 -0
- package/dist/vef-modal/components/cancel-action-button.js +3 -0
- package/dist/vef-modal/components/ok-action-button.d.ts +4 -0
- package/dist/vef-modal/components/ok-action-button.js +3 -0
- package/dist/vef-modal/context.d.ts +27 -0
- package/dist/vef-modal/context.js +3 -0
- package/dist/vef-modal/index.d.ts +5 -0
- package/dist/vef-modal/index.js +6 -0
- package/dist/vef-modal/props.d.ts +88 -0
- package/dist/vef-not-found/index.d.ts +5 -0
- package/dist/vef-not-found/index.js +30 -0
- package/dist/vef-not-found/not-found-icon.d.ts +4 -0
- package/dist/vef-not-found/not-found-icon.js +3 -0
- package/dist/vef-not-found/props.d.ts +18 -0
- package/dist/vef-page/index.d.ts +5 -0
- package/dist/vef-page/index.js +59 -0
- package/dist/vef-page/props.d.ts +29 -0
- package/dist/vef-pagination/index.d.ts +4 -0
- package/dist/vef-pagination/index.js +3 -0
- package/dist/vef-pagination/props.d.ts +59 -0
- package/dist/vef-pagination/props.js +3 -0
- package/dist/vef-paragraph/index.d.ts +5 -0
- package/dist/vef-paragraph/index.js +3 -0
- package/dist/vef-paragraph/props.d.ts +55 -0
- package/dist/vef-password/hooks/use-password-instance.d.ts +13 -0
- package/dist/vef-password/hooks/use-password-instance.js +3 -0
- package/dist/vef-password/index.d.ts +4 -0
- package/dist/vef-password/index.js +3 -0
- package/dist/vef-password/props.d.ts +58 -0
- package/dist/vef-popconfirm/index.d.ts +5 -0
- package/dist/vef-popconfirm/index.js +3 -0
- package/dist/vef-popconfirm/props.d.ts +33 -0
- package/dist/vef-popover/index.d.ts +5 -0
- package/dist/vef-popover/index.js +3 -0
- package/dist/vef-popover/props.d.ts +29 -0
- package/dist/vef-radio/hooks/use-data-options.d.ts +35 -0
- package/dist/vef-radio/hooks/use-data-options.js +3 -0
- package/dist/vef-radio/hooks/use-radio-instance.d.ts +11 -0
- package/dist/vef-radio/hooks/use-radio-instance.js +3 -0
- package/dist/vef-radio/index.d.ts +7 -0
- package/dist/vef-radio/index.js +5 -0
- package/dist/vef-radio/props.d.ts +59 -0
- package/dist/vef-rate/hooks/use-rate-instance.d.ts +12 -0
- package/dist/vef-rate/hooks/use-rate-instance.js +3 -0
- package/dist/vef-rate/index.d.ts +4 -0
- package/dist/vef-rate/index.js +3 -0
- package/dist/vef-rate/props.d.ts +25 -0
- package/dist/vef-responsive-container/index.d.ts +4 -0
- package/dist/vef-responsive-container/index.js +7 -0
- package/dist/vef-responsive-container/props.d.ts +21 -0
- package/dist/vef-responsive-item/index.d.ts +4 -0
- package/dist/vef-responsive-item/index.js +5 -0
- package/dist/vef-responsive-item/props.d.ts +12 -0
- package/dist/vef-ribbon/index.d.ts +5 -0
- package/dist/vef-ribbon/index.js +3 -0
- package/dist/vef-ribbon/props.d.ts +15 -0
- package/dist/vef-row/index.d.ts +5 -0
- package/dist/vef-row/index.js +3 -0
- package/dist/vef-row/props.d.ts +7 -0
- package/dist/vef-scroll-area/components/scrollbar.d.ts +2 -0
- package/dist/vef-scroll-area/components/scrollbar.js +34 -0
- package/dist/vef-scroll-area/index.d.ts +4 -0
- package/dist/vef-scroll-area/index.js +10 -0
- package/dist/vef-scroll-area/props.d.ts +24 -0
- package/dist/vef-select/components/option.d.ts +7 -0
- package/dist/vef-select/components/option.js +11 -0
- package/dist/vef-select/hooks/use-data-options.d.ts +37 -0
- package/dist/vef-select/hooks/use-data-options.js +3 -0
- package/dist/vef-select/hooks/use-field-names.d.ts +9 -0
- package/dist/vef-select/hooks/use-field-names.js +3 -0
- package/dist/vef-select/hooks/use-label-render.d.ts +11 -0
- package/dist/vef-select/hooks/use-label-render.js +10 -0
- package/dist/vef-select/hooks/use-option-render.d.ts +11 -0
- package/dist/vef-select/hooks/use-option-render.js +3 -0
- package/dist/vef-select/hooks/use-select-instance.d.ts +11 -0
- package/dist/vef-select/hooks/use-select-instance.js +3 -0
- package/dist/vef-select/index.d.ts +7 -0
- package/dist/vef-select/index.js +3 -0
- package/dist/vef-select/props.d.ts +153 -0
- package/dist/vef-slider/hooks/use-slider-instance.d.ts +12 -0
- package/dist/vef-slider/hooks/use-slider-instance.js +3 -0
- package/dist/vef-slider/index.d.ts +4 -0
- package/dist/vef-slider/index.js +3 -0
- package/dist/vef-slider/props.d.ts +72 -0
- package/dist/vef-sortable-list/components/overlay-item.d.ts +9 -0
- package/dist/vef-sortable-list/components/overlay-item.js +7 -0
- package/dist/vef-sortable-list/components/sortable-item.d.ts +21 -0
- package/dist/vef-sortable-list/components/sortable-item.js +7 -0
- package/dist/vef-sortable-list/hooks/use-merged-items.d.ts +10 -0
- package/dist/vef-sortable-list/hooks/use-merged-items.js +3 -0
- package/dist/vef-sortable-list/index.d.ts +7 -0
- package/dist/vef-sortable-list/index.js +3 -0
- package/dist/vef-sortable-list/props.d.ts +77 -0
- package/dist/vef-space/index.d.ts +5 -0
- package/dist/vef-space/index.js +3 -0
- package/dist/vef-space/props.d.ts +12 -0
- package/dist/vef-spin/index.d.ts +5 -0
- package/dist/vef-spin/index.js +3 -0
- package/dist/vef-spin/props.d.ts +12 -0
- package/dist/vef-splitter/index.d.ts +5 -0
- package/dist/vef-splitter/index.js +3 -0
- package/dist/vef-splitter/props.d.ts +16 -0
- package/dist/vef-splitter-panel/index.d.ts +5 -0
- package/dist/vef-splitter-panel/index.js +3 -0
- package/dist/vef-splitter-panel/props.d.ts +6 -0
- package/dist/vef-status/index.d.ts +5 -0
- package/dist/vef-status/index.js +3 -0
- package/dist/vef-status/props.d.ts +17 -0
- package/dist/vef-table/components/columns/bool.d.ts +5 -0
- package/dist/vef-table/components/columns/bool.js +3 -0
- package/dist/vef-table/components/columns/code.d.ts +4 -0
- package/dist/vef-table/components/columns/code.js +3 -0
- package/dist/vef-table/components/columns/data-dictionary.d.ts +4 -0
- package/dist/vef-table/components/columns/data-dictionary.js +3 -0
- package/dist/vef-table/components/columns/enum.d.ts +4 -0
- package/dist/vef-table/components/columns/enum.js +3 -0
- package/dist/vef-table/components/columns/file.d.ts +4 -0
- package/dist/vef-table/components/columns/file.js +3 -0
- package/dist/vef-table/components/columns/icon.d.ts +4 -0
- package/dist/vef-table/components/columns/icon.js +3 -0
- package/dist/vef-table/components/columns/id.d.ts +4 -0
- package/dist/vef-table/components/columns/id.js +3 -0
- package/dist/vef-table/components/columns/image.d.ts +4 -0
- package/dist/vef-table/components/columns/image.js +3 -0
- package/dist/vef-table/components/columns/index.d.ts +31 -0
- package/dist/vef-table/components/columns/index.js +3 -0
- package/dist/vef-table/components/columns/markdown.d.ts +4 -0
- package/dist/vef-table/components/columns/markdown.js +3 -0
- package/dist/vef-table/components/columns/number.d.ts +4 -0
- package/dist/vef-table/components/columns/number.js +3 -0
- package/dist/vef-table/components/columns/props.d.ts +24 -0
- package/dist/vef-table/components/columns/render.d.ts +4 -0
- package/dist/vef-table/components/columns/render.js +3 -0
- package/dist/vef-table/components/columns/rich-text.d.ts +4 -0
- package/dist/vef-table/components/columns/rich-text.js +3 -0
- package/dist/vef-table/components/columns/text.d.ts +4 -0
- package/dist/vef-table/components/columns/text.js +3 -0
- package/dist/vef-table/components/columns-settings.d.ts +2 -0
- package/dist/vef-table/components/columns-settings.js +54 -0
- package/dist/vef-table/components/operation-buttons.d.ts +22 -0
- package/dist/vef-table/components/operation-buttons.js +12 -0
- package/dist/vef-table/components/settings-icon.d.ts +2 -0
- package/dist/vef-table/components/settings-icon.js +5 -0
- package/dist/vef-table/components/table-footer.d.ts +34 -0
- package/dist/vef-table/components/table-footer.js +19 -0
- package/dist/vef-table/helper.d.ts +12 -0
- package/dist/vef-table/helper.js +3 -0
- package/dist/vef-table/hooks/use-computed-batch-buttons.d.ts +13 -0
- package/dist/vef-table/hooks/use-computed-batch-buttons.js +3 -0
- package/dist/vef-table/hooks/use-computed-columns.d.ts +10 -0
- package/dist/vef-table/hooks/use-computed-columns.js +3 -0
- package/dist/vef-table/hooks/use-computed-values.d.ts +45 -0
- package/dist/vef-table/hooks/use-computed-values.js +3 -0
- package/dist/vef-table/hooks/use-data.d.ts +11 -0
- package/dist/vef-table/hooks/use-data.js +3 -0
- package/dist/vef-table/hooks/use-default-column-configs.d.ts +9 -0
- package/dist/vef-table/hooks/use-default-column-configs.js +3 -0
- package/dist/vef-table/hooks/use-display-value.d.ts +32 -0
- package/dist/vef-table/hooks/use-display-value.js +3 -0
- package/dist/vef-table/hooks/use-helper-columns.d.ts +6 -0
- package/dist/vef-table/hooks/use-helper-columns.js +3 -0
- package/dist/vef-table/hooks/use-merged-value.d.ts +10 -0
- package/dist/vef-table/hooks/use-merged-value.js +3 -0
- package/dist/vef-table/hooks/use-operation-column-width.d.ts +11 -0
- package/dist/vef-table/hooks/use-operation-column-width.js +3 -0
- package/dist/vef-table/hooks/use-pagination-props.d.ts +17 -0
- package/dist/vef-table/hooks/use-pagination-props.js +3 -0
- package/dist/vef-table/hooks/use-row-props.d.ts +11 -0
- package/dist/vef-table/hooks/use-row-props.js +3 -0
- package/dist/vef-table/hooks/use-row-selection-config.d.ts +11 -0
- package/dist/vef-table/hooks/use-row-selection-config.js +3 -0
- package/dist/vef-table/hooks/use-table-columns.d.ts +12 -0
- package/dist/vef-table/hooks/use-table-columns.js +3 -0
- package/dist/vef-table/hooks/use-table-context.d.ts +9 -0
- package/dist/vef-table/hooks/use-table-context.js +3 -0
- package/dist/vef-table/hooks/use-table-instance.d.ts +10 -0
- package/dist/vef-table/hooks/use-table-instance.js +3 -0
- package/dist/vef-table/hooks/use-table-summary.d.ts +10 -0
- package/dist/vef-table/hooks/use-table-summary.js +3 -0
- package/dist/vef-table/hooks/use-table-width.d.ts +9 -0
- package/dist/vef-table/hooks/use-table-width.js +3 -0
- package/dist/vef-table/index.d.ts +7 -0
- package/dist/vef-table/index.js +56 -0
- package/dist/vef-table/props.d.ts +330 -0
- package/dist/vef-table/store.d.ts +21 -0
- package/dist/vef-table/store.js +3 -0
- package/dist/vef-table/types.d.ts +481 -0
- package/dist/vef-tabs/index.d.ts +5 -0
- package/dist/vef-tabs/index.js +3 -0
- package/dist/vef-tabs/props.d.ts +12 -0
- package/dist/vef-tag/index.d.ts +5 -0
- package/dist/vef-tag/index.js +3 -0
- package/dist/vef-tag/props.d.ts +20 -0
- package/dist/vef-temporal-picker/hooks/use-dayjs-value.d.ts +10 -0
- package/dist/vef-temporal-picker/hooks/use-dayjs-value.js +3 -0
- package/dist/vef-temporal-picker/hooks/use-temporal-formats.d.ts +8 -0
- package/dist/vef-temporal-picker/hooks/use-temporal-formats.js +3 -0
- package/dist/vef-temporal-picker/hooks/use-temporal-limit.d.ts +13 -0
- package/dist/vef-temporal-picker/hooks/use-temporal-limit.js +3 -0
- package/dist/vef-temporal-picker/hooks/use-temporal-picker-instance.d.ts +12 -0
- package/dist/vef-temporal-picker/hooks/use-temporal-picker-instance.js +3 -0
- package/dist/vef-temporal-picker/index.d.ts +5 -0
- package/dist/vef-temporal-picker/index.js +3 -0
- package/dist/vef-temporal-picker/props.d.ts +101 -0
- package/dist/vef-temporal-range-picker/hooks/use-dayjs-values.d.ts +10 -0
- package/dist/vef-temporal-range-picker/hooks/use-dayjs-values.js +3 -0
- package/dist/vef-temporal-range-picker/hooks/use-temporal-formats.d.ts +8 -0
- package/dist/vef-temporal-range-picker/hooks/use-temporal-formats.js +3 -0
- package/dist/vef-temporal-range-picker/hooks/use-temporal-limit.d.ts +13 -0
- package/dist/vef-temporal-range-picker/hooks/use-temporal-limit.js +3 -0
- package/dist/vef-temporal-range-picker/hooks/use-temporal-range-picker-instance.d.ts +12 -0
- package/dist/vef-temporal-range-picker/hooks/use-temporal-range-picker-instance.js +3 -0
- package/dist/vef-temporal-range-picker/index.d.ts +5 -0
- package/dist/vef-temporal-range-picker/index.js +3 -0
- package/dist/vef-temporal-range-picker/props.d.ts +82 -0
- package/dist/vef-temporal-range-picker/props.js +3 -0
- package/dist/vef-text/index.d.ts +5 -0
- package/dist/vef-text/index.js +3 -0
- package/dist/vef-text/props.d.ts +47 -0
- package/dist/vef-textarea/hooks/use-textarea-instance.d.ts +13 -0
- package/dist/vef-textarea/hooks/use-textarea-instance.js +3 -0
- package/dist/vef-textarea/index.d.ts +4 -0
- package/dist/vef-textarea/index.js +3 -0
- package/dist/vef-textarea/props.d.ts +58 -0
- package/dist/vef-title/index.d.ts +5 -0
- package/dist/vef-title/index.js +15 -0
- package/dist/vef-title/props.d.ts +39 -0
- package/dist/vef-tooltip/index.d.ts +5 -0
- package/dist/vef-tooltip/index.js +3 -0
- package/dist/vef-tooltip/props.d.ts +30 -0
- package/dist/vef-tree-select/hooks/use-change-handler.d.ts +10 -0
- package/dist/vef-tree-select/hooks/use-change-handler.js +3 -0
- package/dist/vef-tree-select/hooks/use-data-options.d.ts +36 -0
- package/dist/vef-tree-select/hooks/use-data-options.js +3 -0
- package/dist/vef-tree-select/hooks/use-tree-select-instance.d.ts +11 -0
- package/dist/vef-tree-select/hooks/use-tree-select-instance.js +3 -0
- package/dist/vef-tree-select/index.d.ts +7 -0
- package/dist/vef-tree-select/index.js +3 -0
- package/dist/vef-tree-select/props.d.ts +142 -0
- package/package.json +56 -0
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import type { BasicSize, Consumer, Handler, MaybeNull } from "@vef-framework/shared";
|
|
2
|
+
import type { InputNumberProps } from "antd";
|
|
3
|
+
import type { ReactNode } from "react";
|
|
4
|
+
/**
|
|
5
|
+
* The instance of the VefInputNumber component.
|
|
6
|
+
*/
|
|
7
|
+
export interface VefInputNumberInstance {
|
|
8
|
+
/**
|
|
9
|
+
* The blur handler.
|
|
10
|
+
*/
|
|
11
|
+
blur: Handler;
|
|
12
|
+
/**
|
|
13
|
+
* The focus handler.
|
|
14
|
+
*/
|
|
15
|
+
focus: Handler;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* The props for the VefInputNumber component.
|
|
19
|
+
*/
|
|
20
|
+
export type VefInputNumberProps = VefDefaultInputNumberProps | VefStringInputNumberProps;
|
|
21
|
+
/**
|
|
22
|
+
* The base props for the VefInputNumber component.
|
|
23
|
+
*/
|
|
24
|
+
interface VefBaseInputNumberProps extends Pick<InputNumberProps<number>, "className" | "style" | "placeholder" | "disabled" | "precision" | "prefix" | "suffix" | "status" | "variant"> {
|
|
25
|
+
/**
|
|
26
|
+
* The size of the input number.
|
|
27
|
+
*/
|
|
28
|
+
size?: BasicSize;
|
|
29
|
+
/**
|
|
30
|
+
* Whether to show the controls.
|
|
31
|
+
*/
|
|
32
|
+
showControls?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Whether to use string format.
|
|
35
|
+
*/
|
|
36
|
+
useStringFormat?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* The step of the input number.
|
|
39
|
+
*/
|
|
40
|
+
step?: number;
|
|
41
|
+
/**
|
|
42
|
+
* The minimum value of the input number.
|
|
43
|
+
*/
|
|
44
|
+
min?: number;
|
|
45
|
+
/**
|
|
46
|
+
* The maximum value of the input number.
|
|
47
|
+
*/
|
|
48
|
+
max?: number;
|
|
49
|
+
/**
|
|
50
|
+
* The prepend element of the input number.
|
|
51
|
+
*/
|
|
52
|
+
prepend?: ReactNode;
|
|
53
|
+
/**
|
|
54
|
+
* The append element of the input number.
|
|
55
|
+
*/
|
|
56
|
+
append?: ReactNode;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* The default props for the VefInputNumber component.
|
|
60
|
+
*/
|
|
61
|
+
interface VefDefaultInputNumberProps extends VefBaseInputNumberProps {
|
|
62
|
+
/**
|
|
63
|
+
* The default value of the input number.
|
|
64
|
+
*/
|
|
65
|
+
defaultValue?: number;
|
|
66
|
+
/**
|
|
67
|
+
* The value of the input number.
|
|
68
|
+
*/
|
|
69
|
+
value?: MaybeNull<number>;
|
|
70
|
+
/**
|
|
71
|
+
* Whether to use string format.
|
|
72
|
+
*/
|
|
73
|
+
useStringFormat?: false;
|
|
74
|
+
/**
|
|
75
|
+
* The change handler.
|
|
76
|
+
*/
|
|
77
|
+
onChange?: Consumer<MaybeNull<number>>;
|
|
78
|
+
/**
|
|
79
|
+
* The enter key press handler.
|
|
80
|
+
*/
|
|
81
|
+
onEnterKeyPress?: Consumer<MaybeNull<number>>;
|
|
82
|
+
/**
|
|
83
|
+
* The blur handler.
|
|
84
|
+
*/
|
|
85
|
+
onBlur?: Consumer<MaybeNull<number>>;
|
|
86
|
+
/**
|
|
87
|
+
* The focus handler.
|
|
88
|
+
*/
|
|
89
|
+
onFocus?: Consumer<MaybeNull<number>>;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* The string props for the VefInputNumber component.
|
|
93
|
+
*/
|
|
94
|
+
interface VefStringInputNumberProps extends VefBaseInputNumberProps {
|
|
95
|
+
/**
|
|
96
|
+
* The default value of the input number.
|
|
97
|
+
*/
|
|
98
|
+
defaultValue?: string;
|
|
99
|
+
/**
|
|
100
|
+
* The value of the input number.
|
|
101
|
+
*/
|
|
102
|
+
value?: MaybeNull<string>;
|
|
103
|
+
/**
|
|
104
|
+
* Whether to use string format.
|
|
105
|
+
*/
|
|
106
|
+
useStringFormat: true;
|
|
107
|
+
/**
|
|
108
|
+
* The change handler.
|
|
109
|
+
*/
|
|
110
|
+
onChange?: Consumer<MaybeNull<string>>;
|
|
111
|
+
/**
|
|
112
|
+
* The enter key press handler.
|
|
113
|
+
*/
|
|
114
|
+
onEnterKeyPress?: Consumer<MaybeNull<string>>;
|
|
115
|
+
/**
|
|
116
|
+
* The blur handler.
|
|
117
|
+
*/
|
|
118
|
+
onBlur?: Consumer<MaybeNull<string>>;
|
|
119
|
+
/**
|
|
120
|
+
* The focus handler.
|
|
121
|
+
*/
|
|
122
|
+
onFocus?: Consumer<MaybeNull<string>>;
|
|
123
|
+
}
|
|
124
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.5, build time: 2024-12-10T10:24:47.065Z, made by Venus. */
|
|
2
|
+
import{jsx as e}from"@emotion/react/jsx-runtime";import{css as r}from"@emotion/react";import{themeVariables as o,styles as i}from"@vef-framework/shared";import t from"../vef-spin/index.js";const m=r`
|
|
3
|
+
height: 100%;
|
|
4
|
+
padding: ${o.paddingLg};
|
|
5
|
+
${i.flexCenter}
|
|
6
|
+
`,n=r=>e("div",{css:m,children:e(t,{...r})});export{n as default};
|
|
7
|
+
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.5, build time: 2024-12-10T10:24:47.065Z, made by Venus. */
|
|
2
|
+
import{jsx as e,jsxs as i}from"@emotion/react/jsx-runtime";import{UserOutlined as t,LockOutlined as r}from"@ant-design/icons";import{css as o}from"@emotion/react";import{themeVariables as n,bmq as l,encryptRsa as s,showSuccessMessage as a,getTodayString as c,styles as d}from"@vef-framework/shared";import{useCallback as p,useState as m,useEffect as g}from"react";import f from"../vef-flex/index.js";import u from"../vef-form/index.js";import{isRequired as h}from"../vef-form/validation-rules.js";import v from"../vef-text/index.js";import x from"../vef-title/index.js";import b from"./login-icon.js";const y=o`
|
|
3
|
+
position: relative;
|
|
4
|
+
height: 100%;
|
|
5
|
+
|
|
6
|
+
.vef-typography {
|
|
7
|
+
--vef-typography-title-margin-bottom: 0.2em;
|
|
8
|
+
}
|
|
9
|
+
`,$=o`
|
|
10
|
+
padding-top: calc(${n.paddingXl} * 4);
|
|
11
|
+
text-align: center;
|
|
12
|
+
`,j=o`
|
|
13
|
+
position: absolute;
|
|
14
|
+
top: 0;
|
|
15
|
+
left: 0;
|
|
16
|
+
padding: ${n.padding};
|
|
17
|
+
`,w=o`
|
|
18
|
+
flex: 1;
|
|
19
|
+
height: 100%;
|
|
20
|
+
display: none;
|
|
21
|
+
background-image: linear-gradient(154deg, ${n.blue1} 30%, ${n.geekblue3} 48%, ${n.blue1} 64%);
|
|
22
|
+
${l.md} {
|
|
23
|
+
display: flex;
|
|
24
|
+
}
|
|
25
|
+
`,k=o`
|
|
26
|
+
flex: 1;
|
|
27
|
+
width: 50%;
|
|
28
|
+
`,I=o`
|
|
29
|
+
position: relative;
|
|
30
|
+
height: 100%;
|
|
31
|
+
width: 360px;
|
|
32
|
+
padding: 0 ${n.paddingLg};
|
|
33
|
+
${l.lg} {
|
|
34
|
+
width: 480px;
|
|
35
|
+
padding: 0 calc(${n.paddingXl} * 2);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.vef-form {
|
|
39
|
+
margin-top: ${n.marginXl};
|
|
40
|
+
}
|
|
41
|
+
`,S=o`
|
|
42
|
+
position: absolute;
|
|
43
|
+
bottom: ${n.margin};
|
|
44
|
+
left: 0;
|
|
45
|
+
right: 0;
|
|
46
|
+
text-align: center;
|
|
47
|
+
`,B=o`
|
|
48
|
+
position: absolute;
|
|
49
|
+
top: ${n.margin};
|
|
50
|
+
right: ${n.margin};
|
|
51
|
+
left: ${n.margin};
|
|
52
|
+
`,F=[{key:"default",rows:[{key:"1",columns:[{key:"1",items:[{name:"account",type:"Input",placeholder:"账号",prefix:e(t,{}),rules:[h("请输入账号")]},{name:"password",type:"Input",placeholder:"密码",prefix:e(r,{}),rules:[h("请输入密码")]}]}]}]}];function X(e,i){return s(e,i)}const A=({logo:t,title:r="VEF 中后台管理系统",description:o="一款极度快速的超能系统",loginApi:n,publicKey:l,onLoginSuccess:s})=>{const h=p((e=>l?{...e,password:X(e.password,l)}:e),[l]),A=p((({message:e,data:i})=>{a(e),s(i)}),[s]),[C,E]=m(c());return g((()=>{const e=setInterval((()=>{E(c())}),1e3);return()=>{clearInterval(e)}}),[]),i(f,{css:y,justify:"center",children:[t&&e("div",{css:j,children:t}),i(f,{vertical:!0,align:"center",css:w,children:[i("div",{css:$,children:[e(x,{children:r}),e(v,{children:o})]}),e("div",{css:[k,d.flexCenter],children:e(b,{})})]}),i(f,{vertical:!0,css:I,justify:"center",children:[i("div",{css:B,children:[e(v,{color:"secondary",children:"🕰️ 今天是 "}),e(v,{bold:!0,color:"green",children:C})]}),e(x,{level:2,children:"身份认证 🔑"}),e(v,{color:"secondary",children:"请输入您的账号和密码进行登录"}),e(u,{labelPosition:"left",resetButton:!1,scene:"login",schema:F,size:"large",submitApi:n,submitTip:"登录中...",submissionButton:{text:"登录",block:!0},onBeforeSubmit:h,onSubmitSuccess:A}),e("div",{css:S,children:i(v,{color:"secondary",children:["Copyright ©"," ",(new Date).getFullYear()," ","VEF."]})})]})]})};export{A as default};
|
|
53
|
+
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.5, build time: 2024-12-10T10:24:47.065Z, made by Venus. */
|
|
2
|
+
import{jsxs as l,jsx as c}from"@emotion/react/jsx-runtime";import{memo as i}from"react";const h=i((function(i){return l("svg",{viewBox:"0 0 700 700",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...i,children:[l("defs",{children:[c("clipPath",{id:"login-icon_svg__u",children:c("use",{xlinkHref:"#login-icon_svg__c"})}),c("clipPath",{id:"login-icon_svg__v",children:c("use",{xlinkHref:"#login-icon_svg__d"})}),c("clipPath",{id:"login-icon_svg__w",children:c("use",{xlinkHref:"#login-icon_svg__e"})}),c("clipPath",{id:"login-icon_svg__x",children:c("use",{xlinkHref:"#login-icon_svg__f"})}),c("clipPath",{id:"login-icon_svg__y",children:c("use",{xlinkHref:"#login-icon_svg__g"})}),c("clipPath",{id:"login-icon_svg__z",children:c("use",{xlinkHref:"#login-icon_svg__h"})}),c("clipPath",{id:"login-icon_svg__A",children:c("use",{xlinkHref:"#login-icon_svg__i"})}),c("clipPath",{id:"login-icon_svg__B",children:c("use",{xlinkHref:"#login-icon_svg__j"})}),c("path",{d:"M311.3 464.9v29.6h9.8v-26.6c-3.5-2.6-7.1-3.1-9.8-3",id:"login-icon_svg__c"}),c("path",{d:"M333.9 319.5s11.1-4 27.7 0 26.5 20.5 27 33.8c.6 13.3-5.4 95.3-27.4 116.1-21.9 20.7-77.3 10.5-88.6 6.2S253 454.2 253 454.2l56.7-40.3 3-86.5z",id:"login-icon_svg__d"}),c("path",{d:"m296.9 315.3-1.3-.1s-13.8.4-18.2 5.8c-4.3 5.4-7.3 30.5-7.3 30.5l8.6 64.5s5.2 9.1 31.4 9.1 36.5-10.7 36.5-10.7l-2.4-30.2s4.4-6.8 5.1-14.2c.7-7.3-6.5-46.4-14.3-52.1s-25.2-3.2-25.2-3.2z",id:"login-icon_svg__e"}),c("path",{d:"m280.3 414.8-1.6 1.2s-47.1 15.2-51.5 29.5 2.6 96.3 2.6 96.3 12.8 10.1 24.1-1l.9-76.6 47.6-17.6 13.8.4s16.5-11.8 17.5-12.6 14-10.1 14-10.1l-8-13.2z",id:"login-icon_svg__f"}),c("path",{d:"M313.8 422.3s-24.9 21.2-27 36.9 0 84.8 0 84.8 16.1 10.7 27 0c0 0-4.5-63.1 5.2-73.8s26.8-20.4 28.9-36.3-1.2-19.6-1.2-19.6l-16.5-2.7z",id:"login-icon_svg__g"}),c("path",{d:"M295.2 301.4s2.3 4.7.4 13.8c0 0 1.4 4.4 6.5 4.3s7.6-4.9 7.6-4.9-2.4-3.9-1.4-12.1l.1-3.1-6.4-4.3z",id:"login-icon_svg__h"}),c("path",{d:"M280.7 276.4s-13.1-.5-5.8-26.9c0 0 6.7 5.1 18.7 5.8s25.3.4 27 21.7c.7 13.8-12.2 25.6-12.2 25.6l-11.7-7.4z",id:"login-icon_svg__i"}),c("path",{d:"M280.1 273.1s-3.6 30 7.4 31.7 18.3-10.9 18.3-10.9 5.5-.7 5-6.5c-.6-5.8-4.9-3.6-4.9-3.6s-4.9-2.1-4.8-7.3c0 0-5.9 1.4-8.6-4.1 0 0-4.5 3.1-9-1.7 0 0-1.2 2.8-3.4 2.4",id:"login-icon_svg__j"}),l("linearGradient",{id:"login-icon_svg__a",children:[c("stop",{offset:0,stopColor:"#b0d8ff"}),c("stop",{offset:.015,stopColor:"#b3d9ff"}),c("stop",{offset:.145,stopColor:"#c4e1ff"}),c("stop",{offset:.301,stopColor:"#d1e7ff"}),c("stop",{offset:.512,stopColor:"#d8eaff"}),c("stop",{offset:1,stopColor:"#daebff"})]}),c("linearGradient",{gradientUnits:"userSpaceOnUse",id:"login-icon_svg__k",x1:128.383,x2:131.427,xlinkHref:"#login-icon_svg__a",y1:74.959,y2:390.046}),l("linearGradient",{gradientTransform:"rotate(-2.292 542.315 401.673)",gradientUnits:"userSpaceOnUse",id:"login-icon_svg__l",x1:101.309,x2:101.309,y1:417.977,y2:484.522,children:[c("stop",{offset:.366,stopColor:"#86cf94"}),c("stop",{offset:.989,stopColor:"#008166"})]}),c("linearGradient",{gradientUnits:"userSpaceOnUse",id:"login-icon_svg__m",x1:391.539,x2:391.539,xlinkHref:"#login-icon_svg__a",y1:112.999,y2:364.581})]}),c("path",{d:"M557.1 189.1h36.4v46.6h-36.4z",fill:"#b0d8ff"}),c("path",{d:"M559.3 191.2h32v42.3h-32z",fill:"#fff"}),c("path",{d:"M595.9 148.7h61.2v75.8h-61.2z",fill:"#b0d8ff"}),c("path",{d:"M599.5 152.1h54.1v69h-54.1z",fill:"#fff"}),c("path",{d:"M247.3 367.5H17c-3 0-5.4-2.4-5.4-5.4V122.3c0-3 2.4-5.4 5.4-5.4h230.3c3 0 5.4 2.4 5.4 5.4v239.8c0 3-2.4 5.4-5.4 5.4",fill:"#b0d8ff"}),c("path",{d:"M243.4 367.5H16.7c-2.8 0-5-2.3-5-5V126.3c0-2.8 2.3-5 5-5h226.7c2.8 0 5 2.3 5 5v236.2c0 2.7-2.2 5-5 5",fill:"url(#login-icon_svg__k)"}),c("path",{d:"M237.9 177.9H23.6c-1 0-1.7-.8-1.7-1.7v-42.6c0-1 .8-1.7 1.7-1.7h214.3c1 0 1.7.8 1.7 1.7v42.6c.1.9-.7 1.7-1.7 1.7",fill:"#d5e1f7"}),c("path",{d:"M236.7 176.7H22.4c-1 0-1.7-.8-1.7-1.7v-42.6c0-1 .8-1.7 1.7-1.7h214.3c1 0 1.7.8 1.7 1.7V175c.1.9-.7 1.7-1.7 1.7",fill:"#fff"}),c("path",{d:"M238.1 359.7H23.7c-1 0-1.7-.8-1.7-1.7v-42.6c0-1 .8-1.7 1.7-1.7H238c1 0 1.7.8 1.7 1.7V358c.1.9-.7 1.7-1.6 1.7",fill:"#d5e1f7"}),c("path",{d:"M236.7 358H22.4c-1 0-1.7-.8-1.7-1.7v-42.6c0-1 .8-1.7 1.7-1.7h214.3c1 0 1.7.8 1.7 1.7v42.6c.1.9-.7 1.7-1.7 1.7",fill:"#fff"}),c("path",{d:"M93.5 324.7H31.4c-1.8 0-3.2-1.4-3.2-3.2s1.4-3.2 3.2-3.2h62.1c1.8 0 3.2 1.4 3.2 3.2s-1.4 3.2-3.2 3.2M230.4 339.8h-199c-1.8 0-3.2-1.4-3.2-3.2s1.4-3.2 3.2-3.2h199c1.8 0 3.2 1.4 3.2 3.2s-1.5 3.2-3.2 3.2",fill:"#d5e1f7"}),c("path",{d:"M232.2 351.6H29.5c-.7 0-1.3-.6-1.3-1.3v-3.7c0-.7.6-1.3 1.3-1.3h202.7c.7 0 1.3.6 1.3 1.3v3.7c.1.7-.5 1.3-1.3 1.3",fill:"#ebf5ff"}),c("path",{d:"M21.9 305V186.9c0-.7.6-1.3 1.3-1.3h43.5c.7 0 1.3.6 1.3 1.3V305c0 .7-.6 1.3-1.3 1.3H23.2c-.7 0-1.3-.6-1.3-1.3",fill:"#d5e1f7"}),c("path",{d:"M21 303.4V185.3c0-.7.6-1.3 1.3-1.3h43.5c.7 0 1.3.6 1.3 1.3v118.2c0 .7-.6 1.3-1.3 1.3H22.3c-.8-.1-1.3-.7-1.3-1.4",fill:"#fff"}),c("path",{d:"M78.1 303.9V188c0-1.3 1.1-2.4 2.4-2.4h157.3c1.3 0 2.4 1.1 2.4 2.4v115.9c0 1.3-1.1 2.4-2.4 2.4H80.5c-1.3 0-2.4-1.1-2.4-2.4",fill:"#d5e1f7"}),c("path",{d:"M76.3 302.3V186.4c0-1.3 1.1-2.4 2.4-2.4H236c1.3 0 2.4 1.1 2.4 2.4v115.9c0 1.3-1.1 2.4-2.4 2.4H78.7c-1.3 0-2.4-1.1-2.4-2.4",fill:"#fff"}),c("path",{d:"M130.9 195.4h-47c-.7 0-1.3-.6-1.3-1.3v-3.9c0-.7.6-1.3 1.3-1.3h47c.7 0 1.3.6 1.3 1.3v3.9c-.1.7-.6 1.3-1.3 1.3",fill:"#00d967"}),c("path",{d:"M229.8 210.5H83.9c-.7 0-1.3-.6-1.3-1.3v-3.8c0-.7.6-1.3 1.3-1.3h145.9c.7 0 1.3.6 1.3 1.3v3.8c0 .7-.6 1.3-1.3 1.3",fill:"#d5e1f7"}),c("path",{d:"M229.8 222.3H83.9c-.7 0-1.3-.6-1.3-1.3v-3.8c0-.7.6-1.3 1.3-1.3h145.9c.7 0 1.3.6 1.3 1.3v3.8c0 .7-.6 1.3-1.3 1.3",fill:"#ebf5ff"}),c("path",{d:"M130.9 234h-47c-.7 0-1.3-.6-1.3-1.3v-3.9c0-.7.6-1.3 1.3-1.3h47c.7 0 1.3.6 1.3 1.3v3.9c-.1.8-.6 1.3-1.3 1.3",fill:"#00d967"}),c("path",{d:"M229.8 249.1H83.9c-.7 0-1.3-.6-1.3-1.3V244c0-.7.6-1.3 1.3-1.3h145.9c.7 0 1.3.6 1.3 1.3v3.8c0 .8-.6 1.3-1.3 1.3",fill:"#d5e1f7"}),c("path",{d:"M229.8 260.9H83.9c-.7 0-1.3-.6-1.3-1.3v-3.8c0-.7.6-1.3 1.3-1.3h145.9c.7 0 1.3.6 1.3 1.3v3.8c0 .7-.6 1.3-1.3 1.3",fill:"#ebf5ff"}),c("path",{d:"M130.9 272.7h-47c-.7 0-1.3-.6-1.3-1.3v-3.9c0-.7.6-1.3 1.3-1.3h47c.7 0 1.3.6 1.3 1.3v3.9c-.1.7-.6 1.3-1.3 1.3",fill:"#00d967"}),c("path",{d:"M229.8 287.8H83.9c-.7 0-1.3-.6-1.3-1.3v-3.8c0-.7.6-1.3 1.3-1.3h145.9c.7 0 1.3.6 1.3 1.3v3.8c0 .7-.6 1.3-1.3 1.3",fill:"#d5e1f7"}),c("path",{d:"M229.8 299.6H83.9c-.7 0-1.3-.6-1.3-1.3v-3.8c0-.7.6-1.3 1.3-1.3h145.9c.7 0 1.3.6 1.3 1.3v3.8c0 .7-.6 1.3-1.3 1.3",fill:"#ebf5ff"}),c("path",{d:"M61.8 225.8h-36c-1 0-1.8-.8-1.8-1.8v-33.1c0-1 .8-1.8 1.8-1.8h36c1 0 1.8.8 1.8 1.8V224c.1 1-.7 1.8-1.8 1.8M61.8 269.3h-36c-1 0-1.8-.8-1.8-1.8v-33.1c0-1 .8-1.8 1.8-1.8h36c1 0 1.8.8 1.8 1.8v33.1c.1 1-.7 1.8-1.8 1.8M124.5 172.2H80.4c-1 0-1.8-.8-1.8-1.8v-9.9c0-1 .8-1.8 1.8-1.8h44.1c1 0 1.8.8 1.8 1.8v9.9c0 .9-.8 1.8-1.8 1.8M71.3 172.2h-44c-1 0-1.8-.8-1.8-1.8v-9.9c0-1 .8-1.8 1.8-1.8h44.1c1 0 1.8.8 1.8 1.8v9.9c0 .9-.8 1.8-1.9 1.8M178.1 172.2H134c-1 0-1.8-.8-1.8-1.8v-9.9c0-1 .8-1.8 1.8-1.8h44.1c1 0 1.8.8 1.8 1.8v9.9c.1.9-.8 1.8-1.8 1.8M231.8 172.2h-44.1c-1 0-1.8-.8-1.8-1.8v-9.9c0-1 .8-1.8 1.8-1.8h44.1c1 0 1.8.8 1.8 1.8v9.9c0 .9-.8 1.8-1.8 1.8M231.6 154H26.1c-1.1 0-2-.9-2-2v-14.9c0-1.1.9-2 2-2h205.5c1.1 0 2 .9 2 2V152c0 1.1-.9 2-2 2",fill:"#daebff"}),c("ellipse",{cx:256.5,cy:565.8,fill:"#e2eefa",rx:64.2,ry:17.3}),c("ellipse",{cx:98.2,cy:538.9,fill:"#e2eefa",rx:30.8,ry:9.6}),c("ellipse",{cx:315.6,cy:545.4,fill:"#e2eefa",rx:52.8,ry:13}),c("ellipse",{cx:613.8,cy:523.6,fill:"#e2eefa",rx:83.2,ry:9.1}),c("ellipse",{cx:450.3,cy:569.4,fill:"#e2eefa",rx:24,ry:7.5}),c("path",{d:"M3 495.3h657v4.4H3z",fill:"#d3e2f9"}),c("path",{d:"M692.3 523.9H537.5c-1.9 0-3.4-1.5-3.4-3.4V261.1c0-1.9 1.5-3.4 3.4-3.4h154.8c1.9 0 3.4 1.5 3.4 3.4v259.4c.1 1.9-1.5 3.4-3.4 3.4",fill:"#d1e3ff"}),c("path",{d:"M548.9 452.9H615v55.7h-66.1z",fill:"#e3eeff"}),c("path",{d:"M614.9 452.9h65.5v55.7h-65.5z",fill:"#e3eeff"}),c("path",{d:"M548.9 271.8h131.6V320H548.9zM548.9 332.2h131.6v48.2H548.9zM548.9 392.6h131.6v48.2H548.9z",fill:"#f5fcff"}),c("ellipse",{cx:600.6,cy:469.5,fill:"#d1e3ff",rx:4.7,ry:4.4}),c("ellipse",{cx:630.1,cy:469.5,fill:"#d1e3ff",rx:4.7,ry:4.4}),l("g",{stroke:"#b6d4ff",strokeMiterlimit:10,children:[c("path",{d:"M552.2 282.6h11v36.7h-11zM563.2 282.6h11v36.7h-11zM574.3 282.6h11v36.7h-11zM585.3 282.6h11v36.7h-11zM596.3 282.6h11v36.7h-11zM617.3 343.4h11v36.7h-11zM628.3 343.4h11v36.7h-11zM600.847 359.237v10.5h-38.6v-10.5zM604.526 348.701v10.5h-38.6v-10.5z",fill:"#d1e3ff",strokeWidth:.221}),c("path",{d:"M605.166 369.676v10.5h-38.6v-10.5zM639.3 343.4h11v36.7h-11zM650.3 343.4h11v36.7h-11zM661.3 343.4h11v36.7h-11zM560.1 404h11v36.7h-11zM571.1 404h11v36.7h-11zM582.1 404h11v36.7h-11zM593.1 404h11v36.7h-11zM604.1 404h11v36.7h-11zM631.3 316.4l-10.4 3.6-13.4-34.5 10.4-3.6zM643.1 316.4l-10.3 3.6-13.4-34.5 10.3-3.6z",fill:"#d1e3ff",strokeWidth:.221}),c("path",{d:"m664.9 313-8.8 6.3-23.3-29.3 8.8-6.3z",fill:"#d1e3ff",strokeWidth:.221}),c("ellipse",{cx:649,cy:414.6,fill:"#d1e3ff",rx:16.5,ry:15.7,strokeWidth:.221}),c("path",{d:"M649 433.5c-11 0-19.9-8.5-19.9-18.9s8.9-18.9 19.9-18.9",fill:"none",strokeWidth:.515}),c("path",{d:"M636.5 437.6h23.9v3.1h-23.9z",fill:"#d1e3ff",strokeWidth:.221}),c("path",{d:"M647.5 429.3h1.6v9h-1.6z",fill:"#d1e3ff",strokeWidth:.221})]}),c("path",{d:"M115.1 499.1s23.9-1.3 23.9-6.1c0-3.8-14.6-.6-14.6-.6s16-4.6 23.3-8.4c1.6-.8 3.3-1.7 4.4-3.2 1.1-1.4 1.6-3.5.7-5.1-1.2-2.1-4.2-2.3-6.7-2-9.8 1.2-16.7 6.4-25.6 10.9 6.5-3.3 12.2-7.4 17.6-12.2 5-4.4 10.7-8.6 14-14.5 2.1-3.7 2.9-9.2-.8-12.3-3.6-3-8.7-1.6-12.6-.2-10.5 3.7-19.7 11-25.7 20.3 1.6-4.4 2.8-8.8 3.6-13.4.3-1.8.5-4.1-1-5.2-2-1.4-4.6.5-6.1 2.3-3.7 4.5-6.5 9.8-8.3 15.4 1.2-12.5 2.4-25.3-.3-37.6-.6-2.8-1.5-5.6-3.2-7.9-1.8-2.3-4.6-3.9-7.4-3.6-2.7.3-4.9 2.2-6.8 4.2-5.9 6.5-9.3 15.2-9.5 24s2.8 17.6 8.3 24.4c-2.9-3.1-6.2-5.7-9.8-8-.8-.5-2-.9-2.6-.2-.3.4-.3.9-.3 1.4.5 6 4.5 10.9 8.4 15.5-7.8-9-19.9-14.1-31.8-13.2-1.4.1-3.1.4-3.8 1.7-.4.7-.4 1.6-.4 2.4.6 6 5.9 10.3 11.1 13.3 4.4 2.6 8.9 4.7 13.5 6.8-2.6-.4-5.3-.5-7.9-.3-.6 0-1.3.1-1.6.6-.7.9.3 2.1 1.2 2.8 6.6 4.8 15 7.1 23.1 6.5",fill:"#00d967"}),c("path",{d:"M142.2 454.6c.3-.2.6.3.3.5-7.6 5.7-14.6 12.2-20.8 19.4-6.3 7.3-11.3 15.2-16.2 23.4-.2.3-.6.1-.5-.3 8.2-17.1 22-32 37.2-43m-34.3 6.1c-4.4 11.2-7 25.2-6.1 37.3 0 .3.5.3.5 0 .2-12.1 2-25.6 6.3-37 0-.4-.6-.6-.7-.3m-15.2-24.6c-2.1 20.5-.4 42.4 5.1 62.2.1.3.6.2.5-.2-2.1-10.4-4-20.8-4.8-31.4-.8-10.2-.7-20.4-.4-30.6 0-.2-.3-.2-.4 0m-18.5 30.6c6.2 8.7 13 24.9 21.1 32 .3.3.7-.2.5-.5-7.3-8-14.5-23.1-21-31.8-.3-.3-.8 0-.6.3m66.4 13.5c-12.2 5.5-24.8 12-35.2 20.6-.3.3 0 .8.4.6 11.4-7.6 22.4-15 35-20.7.2-.1.1-.6-.2-.5m-76-1.5c8.9 5.3 18.4 16.7 28.1 20.4.3.1.6-.3.2-.5-9.4-4.6-19-15.2-28.1-20.4-.2-.1-.5.4-.2.5",fill:"url(#login-icon_svg__l)",opacity:.45}),c("path",{d:"M75.9 497.7h52v43.5h-52z",fill:"#b0d8ff"}),c("path",{d:"M117.7 497.7h10.2v43.5h-10.2z",fill:"#daebff"}),c("path",{d:"M511.9 340.1H275.6c-2.6 0-4.8-2.1-4.8-4.8V150.9c0-2.6 2.1-4.8 4.8-4.8h236.3c2.6 0 4.8 2.1 4.8 4.8v184.4c-.1 2.6-2.2 4.8-4.8 4.8",fill:"#b0d8ff"}),c("path",{d:"M507.6 340.1H275.5c-2.6 0-4.7-2.1-4.7-4.7V155.5c0-2.6 2.1-4.7 4.7-4.7h232.1c2.6 0 4.7 2.1 4.7 4.7v179.9c-.1 2.6-2.2 4.7-4.7 4.7",fill:"url(#login-icon_svg__m)"}),c("path",{d:"M340 170.4h-27.1c-.9 0-1.7-.9-1.7-2s.8-2 1.7-2H340c.9 0 1.7.9 1.7 2s-.7 2-1.7 2",fill:"#00d967"}),c("path",{d:"M366.5 188.2h-46c-.9 0-1.7-.9-1.7-2s.8-2 1.7-2h46c.9 0 1.7.9 1.7 2 0 1.2-.8 2-1.7 2",fill:"#006dfe"}),c("path",{d:"M385 188.2h70.1c.9 0 1.7-.9 1.7-2s-.8-2-1.7-2H385c-.9 0-1.7.9-1.7 2 0 1.2.8 2 1.7 2",fill:"#00d967"}),c("path",{d:"M366.5 206.1h-46c-.9 0-1.7-.9-1.7-2s.8-2 1.7-2h46c.9 0 1.7.9 1.7 2s-.8 2-1.7 2",fill:"#006dfe"}),c("path",{d:"M358.9 223.9h-46c-.9 0-1.7-.9-1.7-2s.8-2 1.7-2h46c.9 0 1.7.9 1.7 2s-.8 2-1.7 2",fill:"#00d967"}),c("path",{d:"M456.4 223.9h-78.9c-.9 0-1.7-.9-1.7-2s.8-2 1.7-2h78.9c.9 0 1.7.9 1.7 2s-.8 2-1.7 2M406.2 206.1H383c-.9 0-1.7-.9-1.7-2s.8-2 1.7-2h23.2c.9 0 1.7.9 1.7 2s-.7 2-1.7 2M447 206.1h-23.2c-.9 0-1.7-.9-1.7-2s.8-2 1.7-2H447c.9 0 1.7.9 1.7 2s-.8 2-1.7 2M343.7 241.8h-30.2c-.9 0-1.7-.9-1.7-2s.8-2 1.7-2h30.2c.9 0 1.7.9 1.7 2s-.8 2-1.7 2",fill:"#006dfe"}),c("path",{d:"M406.3 241.8h-46c-.9 0-1.7-.9-1.7-2s.8-2 1.7-2h46c.9 0 1.7.9 1.7 2s-.8 2-1.7 2",fill:"#00d967"}),c("path",{d:"M439.8 241.8h-17.2c-.9 0-1.7-.9-1.7-2s.8-2 1.7-2h17.2c.9 0 1.7.9 1.7 2s-.7 2-1.7 2M372.1 259.6h-26.9c-.9 0-1.7-.9-1.7-2s.8-2 1.7-2h26.9c.9 0 1.7.9 1.7 2s-.7 2-1.7 2M436.5 259.6h-46c-.9 0-1.7-.9-1.7-2s.8-2 1.7-2h46c.9 0 1.7.9 1.7 2s-.7 2-1.7 2M421.8 277.4h-86.1c-.9 0-1.7-.9-1.7-2s.8-2 1.7-2h86.1c.9 0 1.7.9 1.7 2 0 1.2-.8 2-1.7 2M486.2 277.4h-52c-.9 0-1.7-.9-1.7-2s.8-2 1.7-2h52c.9 0 1.7.9 1.7 2 0 1.2-.7 2-1.7 2M358.9 295.3h-46c-.9 0-1.7-.9-1.7-2s.8-2 1.7-2h46c.9 0 1.7.9 1.7 2s-.8 2-1.7 2",fill:"#006dfe"}),c("path",{d:"M414.5 295.3h-46c-.9 0-1.7-.9-1.7-2s.8-2 1.7-2h46c.9 0 1.7.9 1.7 2s-.7 2-1.7 2",fill:"#00d967"}),c("path",{d:"M418.9 313.1h-69.8c-.9 0-1.7-.9-1.7-2s.8-2 1.7-2h69.8c.9 0 1.7.9 1.7 2s-.7 2-1.7 2M288.8 166.4h3.4v4h-3.4zM288.8 184.3h3.4v4h-3.4zM288.8 202.1h3.4v4h-3.4zM288.8 219.9h3.4v4h-3.4zM288.8 237.8h3.4v4h-3.4zM288.8 255.6h3.4v4h-3.4zM288.8 264.5h3.4v4h-3.4zM288.8 273.5h3.4v4h-3.4zM288.8 282.4h3.4v4h-3.4zM288.8 291.3h3.4v4h-3.4zM288.8 300.2h3.4v4h-3.4zM288.8 309.1h3.4v4h-3.4zM288.8 318.1h3.4v4h-3.4zM468.4 321.2l-12.3-6.2c-.4-.2-.6-.6-.6-1.1v-1.3c0-.5.2-.9.6-1.1l12.3-6.2c.7-.3 1.4.2 1.4 1.1v.5c0 .5-.3.9-.6 1.1l-8.5 4.1c-.9.4-.9 1.8 0 2.2l8.5 4.1c.4.2.6.6.6 1.1v.5c.1 1-.7 1.6-1.4 1.2M479.6 301.9l-5.7 23.2c-.1.5-.5.9-1 .9-.7 0-1.2-.8-1-1.6l5.7-23.2c.1-.5.5-.9 1-.9.7 0 1.2.8 1 1.6M495.4 315.1l-12.3 6.2c-.7.3-1.4-.2-1.4-1.1v-.5c0-.5.3-.9.6-1.1l8.5-4.1c.9-.4.9-1.8 0-2.2l-8.5-4.1c-.4-.2-.6-.6-.6-1.1v-.5c0-.9.8-1.5 1.4-1.1l12.3 6.2c.4.2.6.6.6 1.1v1.3c.1.3-.2.8-.6 1",fill:"#006dfe"}),c("use",{fill:"#b0d8ff",xlinkHref:"#login-icon_svg__c"}),c("path",{clipPath:"url(#login-icon_svg__u)",d:"M309 470.5s8.4 1.5 13.2 10.4c4.8 9 8.8-1 7.9-5.1s-.4-8.3-2.9-11.4-7.2-7.6-13.7-5.9-7.3.8-6.9 4.6c.4 3.9 1 8 1 8",opacity:.34}),c("ellipse",{cx:280.6,cy:541,fill:"#191e56",rx:7.5,ry:8.3}),c("path",{d:"M324.2 548.5c0 4.6-3.4 8.3-7.5 8.3-4.2 0-7.5-3.7-7.5-8.3s3.4-8.3 7.5-8.3 7.5 3.7 7.5 8.3M359.8 541c0 4.6-3.4 8.3-7.5 8.3-4.2 0-7.5-3.7-7.5-8.3s3.4-8.3 7.5-8.3 7.5 3.7 7.5 8.3",fill:"#191e56"}),c("path",{d:"M309.5 494.3s6.6-2.7 13.6 0l.2 9.4 34.2 28.2v6.7h-10.1l-.1-5.2-26.3-20.3.2 25.6-1.3 6h-6.8l-1.3-6-.3-25-26.1 19.6-.1 5-9.4.1v-7.1l33.6-27.4v-5.7z",fill:"#0542bf"}),c("use",{fill:"#006dfe",xlinkHref:"#login-icon_svg__d"}),c("path",{clipPath:"url(#login-icon_svg__v)",d:"M336 315.5s10.5 1.8 16.1 14.8 4.4 32.4 2.9 57.6 5.8 25.8 6.6 43.3-3.3 34-26.4 41.9c-23.1 7.8-42.5 11.4-72.2 6.6l-22.1-25.2 10.7-49.1s20-20 22.5-35.1c2.5-15 21.9-52.5 29.7-58s32.2 3.2 32.2 3.2",fill:"#004efc"}),c("use",{fill:"#ffab00",xlinkHref:"#login-icon_svg__e"}),c("path",{clipPath:"url(#login-icon_svg__w)",d:"M327.2 327.4s-3.6 4.2-2.3 12c1.3 7.7 7 18.6 4.8 22.7s-6.3 11-5.4 12.6 2.7 2.5 2.7 2.5l11.8 7.5s3.1.9 5.3-.6l1.5.4-34.8 18.7-4-5.8s12.6-13.7 13.8-18.3c1.1-4.6.3-5 2.9-9.6s5.2-7.6 3.5-12.7-4.7-13.4-4.1-18.3 1-7.9 4.3-11.1M281.4 328s-2.2 9.1.1 20.2 8.2 39.8 8.2 39.8l1.4-.7c0 .1-9.7-48.9-9.7-59.3",fill:"#fe8e00"}),c("path",{d:"M250 538.1s-.8 6.6-.8 12c0 5.3 3.6 9.6 1.8 14.6-1.9 5-17.1 5.2-28 6.4-10.9 1.3-20.5-1-19.1-9.2s19-4.9 25.9-15.1c6.9-10.1 4.8-11.8 4.8-11.8zM308.2 543.2s-.8 6.6-.8 12c0 5.3 3.6 9.6 1.8 14.6-1.9 5-17.1 5.2-28 6.4-10.9 1.3-20.5-1-19.1-9.2s19-4.9 25.9-15.1c6.9-10.1 4.8-11.8 4.8-11.8z",fill:"#ffab00"}),c("use",{fill:"#1e2889",xlinkHref:"#login-icon_svg__f"}),c("path",{clipPath:"url(#login-icon_svg__x)",d:"M225.7 436.9s19.1 4.3 22.6 28 7.6 41.1 7.6 41.1l9.7-34.8 34-18.2 21.1-16.6 10.7-24.5-16.9-8.9-51.4 4.3-27 14z",fill:"#1a1a7c"}),c("use",{fill:"#1e2889",xlinkHref:"#login-icon_svg__g"}),c("path",{clipPath:"url(#login-icon_svg__y)",d:"M282.4 491c.6-1.9 9.3-37.1 45.2-28.9l11.3-5.4s14.8-12.2 15.8-13.8c1.1-1.5.2-14 .3-15.7.2-1.7 0-19.9 0-19.9l-71.1-1.7 1 25.4-2.5 38.8z",fill:"#1a1a7c"}),c("path",{d:"M118.4 580.7V414.4c0-.3.2-.5.5-.5h4.6c.3 0 .5.2.5.5v166.3c0 .3-.2.5-.5.5h-4.6c-.3 0-.5-.2-.5-.5M392.3 580.7V414.4c0-.3.2-.5.5-.5h4.6c.3 0 .5.2.5.5v166.3c0 .3-.2.5-.5.5h-4.6c-.2 0-.5-.2-.5-.5M186.9 559.7l-10.2-146.9c0-.6.4-1.1 1-1.2l3.3-.2c.6 0 1.1.4 1.2 1l10.2 146.9c0 .6-.4 1.1-1 1.2l-3.3.2c-.7.1-1.2-.4-1.2-1M452 559.7l-10.2-146.9c0-.6.4-1.1 1-1.2l3.3-.2c.6 0 1.1.4 1.2 1l10.2 146.9c0 .6-.4 1.1-1 1.2l-3.3.2c-.7.1-1.2-.4-1.2-1",fill:"#191e56"}),c("path",{d:"M456.5 419.4H108.3c-.6 0-1-.4-1-1v-9.1c0-.6.4-1 1-1h348.3c.6 0 1 .4 1 1v9.1c-.1.6-.5 1-1.1 1",fill:"#0542bf"}),c("path",{d:"M359.7 382H432v8.8h-72.3z",fill:"#ffab00"}),c("path",{d:"M361.6 390.8h72.3v8.8h-72.3z",fill:"#00d967"}),c("path",{d:"M358.1 399.5h72.3v8.8h-72.3z",fill:"#de4d30"}),c("path",{d:"m187.5 299.9 3.9 5.4c1.8-3.8 5.6-5.5 8-6.3l-5.4-4.1s-.9 0-2.1.3c-1.5.5-3.3 1.6-4.2 4.3-.1.2-.1.3-.2.4",fill:"#9bb4c9"}),c("path",{d:"M133.7 345.5c0 2.5 1.8 4.6 4.1 5.2.4.1.8.1 1.2.1s.7 0 1-.1c2.4-.5 4.3-2.6 4.3-5.2 0-1-.3-1.9-.7-2.6-.4-.6-.9-1.2-1.5-1.6-.9-.7-2-1-3.2-1-2.8-.2-5.2 2.2-5.2 5.2M181.4 294.3c0 1 .3 2 .8 2.8.4.6.9 1.2 1.5 1.6.8.6 1.9.9 3 .9.3 0 .7 0 1-.1.9-2.7 2.8-3.8 4.2-4.3.1-.3.1-.6.1-.9 0-2.9-2.4-5.3-5.3-5.3-3 0-5.3 2.4-5.3 5.3",fill:"#4143c5"}),c("path",{d:"M142.1 341.2c.6.4 1.1 1 1.5 1.6l22.8-25.1 4.8-5.2 7-7.7 5.5-6.1c-.6-.4-1.1-.9-1.5-1.6l-6.6 7.2-4.6 5.1-4.9 5.4z",fill:"#9bb4c9"}),c("path",{d:"M130.9 403.9v-.1c17.6-6.5 32.5-.5 33.7 0-3.5.9-16.7 3.8-33.7.1",fill:"#4143c5"}),c("path",{d:"m137.8 350.6 7.9 45.4 1.1 6 .1.6 2.1-.4v-.2l-1.1-6.2-7.9-45.2c-.3.1-.7.1-1 .1-.4.1-.8 0-1.2-.1",fill:"#9bb4c9"}),c("path",{d:"m190.7 308 5.4 12.1.9 2.1 8.1-6.9 7.3-6.8 4.4-4.1-1.5-1.3h-.1l-13.5-5.8s-.9.1-2.1.5c-2.4.7-6.2 2.4-8 6.3-.2.4-.4.9-.5 1.4-.2.7-.3 1.5-.4 2.5",fill:"#4143c5"}),c("path",{d:"M211.2 317.7c5.4-5.1 7.7-11.3 5.3-13.9-2.5-2.6-8.8-.7-14.2 4.4s-7.7 11.3-5.3 13.9c2.5 2.7 8.8.7 14.2-4.4M130.9 403.9h33.7v4.4h-33.7z",fill:"#859ad0"}),c("path",{d:"M476.3 514.8c0 .4-.1.8-.2 1.1-1.7 4.3-12.9 7.7-26.4 7.7-13.7 0-25-3.4-26.5-7.8l-.2-1c0-4.9 11.9-8.8 26.7-8.8 14.7 0 26.6 4 26.6 8.8",fill:"#191e56"}),c("path",{d:"m476.1 516-9.2 54.1c-16.8 9.5-34.5 0-34.5 0l-9.2-54.3c1.5 4.4 12.8 7.8 26.5 7.8 13.5 0 24.7-3.3 26.4-7.6",fill:"#0542bf"}),c("use",{fill:"#ffaca6",xlinkHref:"#login-icon_svg__h"}),c("path",{clipPath:"url(#login-icon_svg__z)",d:"M294.9 307.3s8.9-1.8 16.6 4.3c0 0 .5-13.1.9-13.5.3-.4-14.3-7-14.3-7s-5.2 3.1-5.3 5.5c-.2 2.5 2.1 10.7 2.1 10.7",fill:"#ea756c"}),c("use",{fill:"#1e2889",xlinkHref:"#login-icon_svg__i"}),c("path",{clipPath:"url(#login-icon_svg__A)",d:"M271.2 267.3s.2 1.5 6 0 13.1-3.9 22.7 2.3 13.2 19.1 20.8 17.6l-5.7 12.2-12.4 8s-19.8-5.7-20.6-7.9-6.4-15.5-7.2-17.5-2-7.1-2-7.1z",fill:"#172272"}),c("use",{fill:"#ffaca6",xlinkHref:"#login-icon_svg__j"}),c("path",{clipPath:"url(#login-icon_svg__B)",d:"M278.1 277s6.9.6 13.6 2 10.2 11.1 17.2 10c7.1-1.2 4-5 4-5l-6.6-8.9-15.4-5-9.3-1.5-3.8 3.1z",fill:"#ea756c"}),c("path",{d:"M327 377.2s-11.3 11.9-19.9 14.9-12.7 0-16.1 6.9l-.7 1.5s12.4 4 21.3-.4l27.2-15.4z",fill:"#ffaca6"}),c("path",{d:"M225.7 400.9h101.8v7.4H225.7z",fill:"#78c2ff"}),c("path",{d:"M300.5 408.3h-88.7L199 346.1h88.7z",fill:"#b0d8ff"}),c("path",{d:"M293.9 408.3h-88.7l-12.9-62.2H281z",fill:"#78c2ff"}),c("path",{d:"M456.5 375.6h44.2v19.5h-44.2z",fill:"#daebff"}),c("path",{d:"M474.3 395.2h44.2v19.5h-44.2z",fill:"#ebf5ff"}),c("ellipse",{cx:239.6,cy:372,fill:"#fff",rx:8.3,ry:9.2,transform:"rotate(-8.069 239.64 372.176)"})]})}));export{h as default};
|
|
3
|
+
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import type { Consumer, MutationApi } from "@vef-framework/shared";
|
|
2
|
+
import type { ReactNode } from "react";
|
|
3
|
+
/**
|
|
4
|
+
* The values of the login form.
|
|
5
|
+
*/
|
|
6
|
+
export interface LoginValues {
|
|
7
|
+
/**
|
|
8
|
+
* The account of the login.
|
|
9
|
+
*/
|
|
10
|
+
account: string;
|
|
11
|
+
/**
|
|
12
|
+
* The password of the login.
|
|
13
|
+
*/
|
|
14
|
+
password: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* The result of the login.
|
|
18
|
+
*/
|
|
19
|
+
export interface LoginResult {
|
|
20
|
+
/**
|
|
21
|
+
* The access token of the login.
|
|
22
|
+
*/
|
|
23
|
+
accessToken: string;
|
|
24
|
+
/**
|
|
25
|
+
* The refresh token of the login.
|
|
26
|
+
*/
|
|
27
|
+
refreshToken: string;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* The props of VefLogin component.
|
|
31
|
+
*/
|
|
32
|
+
export interface VefLoginProps {
|
|
33
|
+
/**
|
|
34
|
+
* The logo of the login page.
|
|
35
|
+
*/
|
|
36
|
+
logo?: ReactNode;
|
|
37
|
+
/**
|
|
38
|
+
* The title of the login page.
|
|
39
|
+
*/
|
|
40
|
+
title?: ReactNode;
|
|
41
|
+
/**
|
|
42
|
+
* The description of the login page.
|
|
43
|
+
*/
|
|
44
|
+
description?: ReactNode;
|
|
45
|
+
/**
|
|
46
|
+
* The public key for encrypting the password.
|
|
47
|
+
*/
|
|
48
|
+
publicKey?: string;
|
|
49
|
+
/**
|
|
50
|
+
* The login API of the login page.
|
|
51
|
+
*/
|
|
52
|
+
loginApi: Readonly<MutationApi<LoginValues, LoginResult>>;
|
|
53
|
+
/**
|
|
54
|
+
* The handler for processing the login success.
|
|
55
|
+
*/
|
|
56
|
+
onLoginSuccess: Consumer<LoginResult>;
|
|
57
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type FC, type ReactElement } from "react";
|
|
2
|
+
import type { VefButtonProps } from "../../vef-button";
|
|
3
|
+
import type VefButton from "../../vef-button";
|
|
4
|
+
/**
|
|
5
|
+
* The props of the vef modal action button wrapper.
|
|
6
|
+
*/
|
|
7
|
+
export interface VefModalActionButtonWrapperProps {
|
|
8
|
+
/**
|
|
9
|
+
* The children.
|
|
10
|
+
*/
|
|
11
|
+
children: ReactElement<VefButtonProps, typeof VefButton>;
|
|
12
|
+
}
|
|
13
|
+
declare const VefModalActionButtonWrapper: FC<VefModalActionButtonWrapperProps>;
|
|
14
|
+
export default VefModalActionButtonWrapper;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.5, build time: 2024-12-10T10:24:47.065Z, made by Venus. */
|
|
2
|
+
import{jsx as o,Fragment as r}from"@emotion/react/jsx-runtime";import{invokeMaybeAsyncFn as e}from"@vef-framework/shared";import{useState as i,useMemo as t,cloneElement as n}from"react";import{useModalContextSelector as a}from"../context.js";const s=({children:s})=>{const[l,d]=a((o=>[o.isDisabled,o.setIsDisabled])),[m,c]=i(!1),{disabled:f,loading:p,onClick:b}=s.props,k=t((()=>{if(b)return async o=>{await e(b,{beforeInvoke:()=>{c(!0),d(!0)},onFinally:()=>{c(!1),d(!1)}},o)}}),[b,d]),u=n(s,{disabled:l||f,loading:m||p,onClick:k});return o(r,{children:u})};export{s as default};
|
|
3
|
+
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { MaybePromise, Provider } from "@vef-framework/shared";
|
|
2
|
+
import type { ReactNode } from "react";
|
|
3
|
+
/**
|
|
4
|
+
* The props of the action button.
|
|
5
|
+
*/
|
|
6
|
+
export interface VefModalActionButtonProps {
|
|
7
|
+
/**
|
|
8
|
+
* The text of the button.
|
|
9
|
+
*/
|
|
10
|
+
text: ReactNode;
|
|
11
|
+
/**
|
|
12
|
+
* The click handler of the button.
|
|
13
|
+
*/
|
|
14
|
+
onClick?: Provider<MaybePromise<void>>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.5, build time: 2024-12-10T10:24:47.065Z, made by Venus. */
|
|
2
|
+
import{jsx as t}from"@emotion/react/jsx-runtime";import o from"../../vef-button/index.js";import r from"./action-button-wrapper.js";const e=({text:e,onClick:i})=>t(r,{children:t(o,{color:"default",variant:"text",onClick:i,children:e})});export{e as default};
|
|
3
|
+
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.5, build time: 2024-12-10T10:24:47.065Z, made by Venus. */
|
|
2
|
+
import{jsx as o}from"@emotion/react/jsx-runtime";import{CheckOutlined as r}from"@ant-design/icons";import t from"../../vef-button/index.js";import i from"./action-button-wrapper.js";const n=({text:n,onClick:e})=>o(i,{children:o(t,{color:"primary",icon:o(r,{}),onClick:e,children:n})});export{n as default};
|
|
3
|
+
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { type Consumer } from "@vef-framework/shared";
|
|
2
|
+
/**
|
|
3
|
+
* The context of the modal.
|
|
4
|
+
*/
|
|
5
|
+
export interface ModalContext {
|
|
6
|
+
/**
|
|
7
|
+
* Whether the modal is disabled.
|
|
8
|
+
*/
|
|
9
|
+
isDisabled: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Sets the disabled state of the modal.
|
|
12
|
+
*/
|
|
13
|
+
setIsDisabled: Consumer<boolean>;
|
|
14
|
+
/**
|
|
15
|
+
* Whether the modal is fully opened.
|
|
16
|
+
*/
|
|
17
|
+
isFullyOpened: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Whether the modal is fully closed.
|
|
20
|
+
*/
|
|
21
|
+
isFullyClosed: boolean;
|
|
22
|
+
}
|
|
23
|
+
declare const ModalContextProvider: import("react").ComponentType<{
|
|
24
|
+
value: ModalContext;
|
|
25
|
+
children: import("react").ReactNode;
|
|
26
|
+
}>, useModalContext: import("@vef-framework/shared").Provider<ModalContext>, useModalContextSelector: <R>(selector: import("@vef-framework/shared").Mapper<ModalContext, R>) => R;
|
|
27
|
+
export { ModalContextProvider, useModalContext, useModalContextSelector };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.5, build time: 2024-12-10T10:24:47.065Z, made by Venus. */
|
|
2
|
+
import{createSelectableContext as e,noop as s}from"@vef-framework/shared";const{ContextProvider:o,useContext:t,useContextSelector:r}=e({isDisabled:!1,setIsDisabled:s,isFullyOpened:!1,isFullyClosed:!1});export{o as ModalContextProvider,t as useModalContext,r as useModalContextSelector};
|
|
3
|
+
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { VefModalProps } from "./props";
|
|
2
|
+
declare const VefModal: import("react").NamedExoticComponent<VefModalProps>;
|
|
3
|
+
export type { VefModalProps };
|
|
4
|
+
export { default as VefModalActionButtonWrapper, type VefModalActionButtonWrapperProps } from "./components/action-button-wrapper";
|
|
5
|
+
export default VefModal;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.5, build time: 2024-12-10T10:24:47.065Z, made by Venus. */
|
|
2
|
+
import{jsx as o,jsxs as t,Fragment as e}from"@emotion/react/jsx-runtime";import{css as n}from"@emotion/react";import{useWindowSize as r}from"@vef-framework/hooks";import{Modal as l}from"antd";import{useDragControls as i,motion as s}from"motion/react";import{isFunction as a}from"@vef-framework/shared";import{useCallback as c,useState as d,useMemo as m,useLayoutEffect as f,memo as p}from"react";import u from"./components/cancel-action-button.js";import h from"./components/ok-action-button.js";import{ModalContextProvider as C}from"./context.js";export{default as VefModalActionButtonWrapper}from"./components/action-button-wrapper.js";const k=n`
|
|
3
|
+
cursor: move;
|
|
4
|
+
user-select: none;
|
|
5
|
+
`,g=p((({title:n,open:p,closable:g=!0,closeOnEscPress:w=!0,closeOnMaskClick:b=!1,destroyOnClose:v=!1,showCancelButton:O=!0,cancelButtonText:x="取消",okButtonText:y="提交",actions:B,width:F,loading:j=!1,cancelOnClose:A=!0,onClose:E,onOk:T,onCancel:D,onAfterOpen:L,onAfterClose:M,children:P})=>{const I=i(),R=c((o=>{o.stopPropagation(),I.start(o)}),[I]),{width:z,height:V}=r(),[W,q]=d(null),G=m((()=>{if(W){const{width:o,height:t}=W.getBoundingClientRect();return{left:-z/2+o/2,top:-V/2+t/2,right:z/2-o/2,bottom:V/2-t/2}}return{left:0,top:0,right:0,bottom:0}}),[W,V,z]),H=m((()=>"small"===F?378:"medium"===F?736:"narrow"===F?"25vw":"half"===F?"50vw":"wide"===F?"75vw":"full"===F?"100vw":F),[F]),J=c((t=>o(s.div,{ref:o=>q(o),drag:!0,dragConstraints:G,dragControls:I,dragElastic:.3,dragListener:!1,dragMomentum:!1,children:t})),[G,I]),K=m((()=>o("div",{css:k,onPointerDown:R,children:n})),[n,R]),[N,Q]=d(!1),[S,U]=d({isFullyOpened:!1,isFullyClosed:!1}),X=m((()=>({isDisabled:N,setIsDisabled:Q,...S})),[N,Q,S]),Y=j||N;f((()=>{p&&S.isFullyClosed&&U((o=>({...o,isFullyClosed:!1})))}),[p]);const Z=c((o=>{if(!Y){if(U((o=>({...o,isFullyOpened:!1}))),A)return E?.(),void D?.();o?D?.():E?.()}}),[Y,A,E,D]),$=m((()=>{const n=o(u,{text:x,onClick:()=>Z(!0)},"cancelActionButton"),r=o(h,{text:y,onClick:T},"okActionButton");return a(B)?B([n,r]):B||(O?t(e,{children:[n,r]}):r)}),[x,y,T,B,O,Z]),_=c((({type:o,target:t})=>{let e=!0;if("click"===o){let o=t.parentElement;for(;o;){if(o.classList.contains("vef-modal-content")){e=!0;break}if(o.classList.contains("vef-modal-footer")){e=!1;break}o=o.parentElement}}Z(!e)}),[Z]),oo=c((o=>{const t=a(L),e=a(M);o?(t&&L(),U((o=>({...o,isFullyOpened:!0})))):(e&&M(),U((o=>({...o,isFullyClosed:!0}))))}),[L,M]);return o(C,{value:X,children:o(l,{centered:!0,afterOpenChange:oo,cancelText:x,closable:g,destroyOnClose:v,footer:$,keyboard:w,loading:j,maskClosable:b,modalRender:J,okText:y,open:p,title:K,width:H,zIndex:10,onCancel:_,onOk:T,children:P})})}));export{g as default};
|
|
6
|
+
/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import type { ChildrenProps, Consumer, LengthValue, Mapper, MaybePromise, Provider } from "@vef-framework/shared";
|
|
2
|
+
import type { ReactElement, ReactNode } from "react";
|
|
3
|
+
import type { LiteralUnion } from "@vef-framework/shared";
|
|
4
|
+
/**
|
|
5
|
+
* The props of the VefModal component.
|
|
6
|
+
*/
|
|
7
|
+
export interface VefModalProps extends Required<ChildrenProps> {
|
|
8
|
+
/**
|
|
9
|
+
* The title of the modal.
|
|
10
|
+
*/
|
|
11
|
+
title: ReactNode;
|
|
12
|
+
/**
|
|
13
|
+
* Whether the modal is open.
|
|
14
|
+
*/
|
|
15
|
+
open?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Whether the modal is closable.
|
|
18
|
+
* @default true
|
|
19
|
+
*/
|
|
20
|
+
closable?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Whether the modal is closed when the mask is clicked.
|
|
23
|
+
* @default false
|
|
24
|
+
*/
|
|
25
|
+
closeOnMaskClick?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Whether the modal is closed when the escape key is pressed.
|
|
28
|
+
* @default true
|
|
29
|
+
*/
|
|
30
|
+
closeOnEscPress?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Whether the modal is destroyed when it is closed.
|
|
33
|
+
* @default true
|
|
34
|
+
*/
|
|
35
|
+
destroyOnClose?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Whether the modal is canceled when it is closed.
|
|
38
|
+
* @default true
|
|
39
|
+
*/
|
|
40
|
+
cancelOnClose?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* The width of the modal.
|
|
43
|
+
*/
|
|
44
|
+
width?: LiteralUnion<"small" | "medium" | "narrow" | "half" | "wide" | "full", LengthValue>;
|
|
45
|
+
/**
|
|
46
|
+
* Whether the modal is loading.
|
|
47
|
+
*/
|
|
48
|
+
loading?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Whether to show the cancel button.
|
|
51
|
+
* @default true
|
|
52
|
+
*/
|
|
53
|
+
showCancelButton?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* The text of the cancel button.
|
|
56
|
+
* @default "取消"
|
|
57
|
+
*/
|
|
58
|
+
cancelButtonText?: string;
|
|
59
|
+
/**
|
|
60
|
+
* The text of the ok button.
|
|
61
|
+
* @default "提交"
|
|
62
|
+
*/
|
|
63
|
+
okButtonText?: string;
|
|
64
|
+
/**
|
|
65
|
+
* The actions of the modal.
|
|
66
|
+
*/
|
|
67
|
+
actions?: ReactNode | Mapper<readonly [ReactElement, ReactElement], ReactNode>;
|
|
68
|
+
/**
|
|
69
|
+
* The callback function when the ok button is clicked.
|
|
70
|
+
*/
|
|
71
|
+
onOk?: Provider<MaybePromise<void>>;
|
|
72
|
+
/**
|
|
73
|
+
* The callback function when the modal is closed.
|
|
74
|
+
*/
|
|
75
|
+
onClose?: Consumer<void>;
|
|
76
|
+
/**
|
|
77
|
+
* The callback function when the cancel button is clicked.
|
|
78
|
+
*/
|
|
79
|
+
onCancel?: Provider<void>;
|
|
80
|
+
/**
|
|
81
|
+
* The callback function when the modal is opened.
|
|
82
|
+
*/
|
|
83
|
+
onAfterOpen?: Consumer<void>;
|
|
84
|
+
/**
|
|
85
|
+
* The callback function when the modal is closed.
|
|
86
|
+
*/
|
|
87
|
+
onAfterClose?: Consumer<void>;
|
|
88
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*! VefFramework version: 1.0.5, build time: 2024-12-10T10:24:47.065Z, made by Venus. */
|
|
2
|
+
import{jsx as o,jsxs as i}from"@emotion/react/jsx-runtime";import{ArrowLeftOutlined as e}from"@ant-design/icons";import{css as n}from"@emotion/react";import{styles as r,themeVariables as t}from"@vef-framework/shared";import a from"../vef-button/index.js";import c from"./not-found-icon.js";const s=n`
|
|
3
|
+
height: 100%;
|
|
4
|
+
${r.flexCenter}
|
|
5
|
+
`,f=n`
|
|
6
|
+
width: 40%;
|
|
7
|
+
position: relative;
|
|
8
|
+
top: -60px;
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
align-items: center;
|
|
12
|
+
justify-content: center;
|
|
13
|
+
row-gap: ${t.margin};
|
|
14
|
+
|
|
15
|
+
> svg {
|
|
16
|
+
width: 70%;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
> span {
|
|
20
|
+
font-size: ${t.fontSizeLg};
|
|
21
|
+
font-weight: 500;
|
|
22
|
+
color: ${t.colorTextTertiary};
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
> span.vef-not-found-uri {
|
|
26
|
+
padding-left: ${t.paddingSm};
|
|
27
|
+
color: ${t.colorWarningText};
|
|
28
|
+
}
|
|
29
|
+
`,l=({uri:n,title:r="抱歉,您访问的页面不存在~~~",onNavigateHome:t})=>o("div",{css:s,children:i("div",{css:f,children:[o(c,{}),o("span",{children:r}),n&&i("span",{className:"vef-not-found-uri",children:["路径:",n]}),o(a,{color:"primary",icon:o(e,{}),size:"large",onClick:t,children:"回到首页"})]})});export{l as default};
|
|
30
|
+
/*! 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 */
|