@vef-framework-react/starter 2.1.4 → 2.1.6
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/dist/cjs/components/access-denied/index.cjs +1 -1
- package/dist/cjs/components/app/index.cjs +1 -1
- package/dist/cjs/components/base-layout/use-base-layout.cjs +1 -1
- package/dist/cjs/components/error/index.cjs +1 -1
- package/dist/cjs/components/index.cjs +1 -1
- package/dist/cjs/components/layout/components/footer.cjs +1 -1
- package/dist/cjs/components/layout/components/header/breadcrumb-navigation.cjs +1 -1
- package/dist/cjs/components/layout/components/header/color-scheme.cjs +1 -1
- package/dist/cjs/components/layout/components/header/fullscreen.cjs +1 -1
- package/dist/cjs/components/layout/components/header/index.cjs +1 -1
- package/dist/cjs/components/layout/components/header/menu-burger.cjs +1 -1
- package/dist/cjs/components/layout/components/header/search.cjs +1 -1
- package/dist/cjs/components/layout/components/header/theme-config.cjs +1 -1
- package/dist/cjs/components/layout/components/header/user-avatar.cjs +1 -1
- package/dist/cjs/components/layout/components/honeycomb-pattern.cjs +1 -1
- package/dist/cjs/components/layout/components/logo.cjs +1 -1
- package/dist/cjs/components/layout/components/menu.cjs +1 -1
- package/dist/cjs/components/layout/components/search/index.cjs +1 -1
- package/dist/cjs/components/layout/components/search/keyboard-help.cjs +1 -1
- package/dist/cjs/components/layout/components/search/keyboard.cjs +1 -1
- package/dist/cjs/components/layout/components/search/search-result-item.cjs +1 -1
- package/dist/cjs/components/layout/components/search/search-result.cjs +1 -1
- package/dist/cjs/components/layout/components/sidebar.cjs +1 -1
- package/dist/cjs/components/layout/components/tabs/context-menu.cjs +1 -1
- package/dist/cjs/components/layout/components/tabs/index.cjs +1 -1
- package/dist/cjs/components/layout/components/tabs/main-content-maximum.cjs +1 -1
- package/dist/cjs/components/layout/components/tabs/reload.cjs +1 -1
- package/dist/cjs/components/layout/components/tabs/tab-item.cjs +1 -1
- package/dist/cjs/components/layout/components/tabs/tab-list.cjs +1 -1
- package/dist/cjs/components/layout/components/tabs/tabs-container.cjs +1 -1
- package/dist/cjs/components/layout/components/theme-config/color-scheme-switcher.cjs +1 -1
- package/dist/cjs/components/layout/components/theme-config/color-scheme.cjs +1 -1
- package/dist/cjs/components/layout/components/theme-config/config-item.cjs +1 -1
- package/dist/cjs/components/layout/components/theme-config/index.cjs +1 -1
- package/dist/cjs/components/layout/components/theme-config/menu-layout-card.cjs +1 -1
- package/dist/cjs/components/layout/components/theme-config/menu-layout.cjs +1 -1
- package/dist/cjs/components/layout/components/theme-config/operations.cjs +1 -1
- package/dist/cjs/components/layout/components/theme-config/theme-color-picker.cjs +1 -1
- package/dist/cjs/components/layout/components/theme-config/theme-colors.cjs +1 -1
- package/dist/cjs/components/layout/hooks/use-menu-navigate.cjs +1 -1
- package/dist/cjs/components/layout/hooks/use-tab-navigate.cjs +1 -1
- package/dist/cjs/components/layout/index.cjs +1 -1
- package/dist/cjs/components/login/icon-login.cjs +1 -1
- package/dist/cjs/components/login/index.cjs +1 -1
- package/dist/cjs/components/n-progress/components/bar.cjs +8 -8
- package/dist/cjs/components/n-progress/index.cjs +1 -1
- package/dist/cjs/components/not-found/index.cjs +1 -1
- package/dist/cjs/components/router-provider/index.cjs +1 -1
- package/dist/cjs/components/theme-config-provider/index.cjs +1 -1
- package/dist/cjs/constants/event.cjs +1 -1
- package/dist/cjs/constants/index.cjs +1 -1
- package/dist/cjs/constants/storage.cjs +0 -1
- package/dist/cjs/helpers/app-version.cjs +1 -1
- package/dist/cjs/helpers/app.cjs +1 -1
- package/dist/cjs/helpers/event.cjs +1 -1
- package/dist/cjs/helpers/index.cjs +1 -1
- package/dist/cjs/helpers/query.cjs +1 -1
- package/dist/cjs/helpers/router.cjs +1 -1
- package/dist/cjs/hooks/use-route-full-path.cjs +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/routes/layout.cjs +1 -1
- package/dist/cjs/routes/login.cjs +1 -1
- package/dist/cjs/stores/theme.cjs +1 -1
- package/dist/es/components/access-denied/access-denied-icon.js +1 -1
- package/dist/es/components/access-denied/index.js +18 -18
- package/dist/es/components/app/index.js +8 -8
- package/dist/es/components/base-layout/index.js +1 -1
- package/dist/es/components/base-layout/styles.js +1 -1
- package/dist/es/components/base-layout/use-base-layout.js +8 -8
- package/dist/es/components/error/error-icon.js +1 -1
- package/dist/es/components/error/index.js +27 -27
- package/dist/es/components/index.js +2 -14
- package/dist/es/components/layout/components/footer.js +2 -2
- package/dist/es/components/layout/components/header/boy-icon.js +1 -1
- package/dist/es/components/layout/components/header/breadcrumb-navigation.js +31 -31
- package/dist/es/components/layout/components/header/color-scheme.js +7 -7
- package/dist/es/components/layout/components/header/fullscreen.js +9 -9
- package/dist/es/components/layout/components/header/girl-icon.js +1 -1
- package/dist/es/components/layout/components/header/index.js +17 -17
- package/dist/es/components/layout/components/header/menu-burger.js +5 -5
- package/dist/es/components/layout/components/header/menu-fold-left-icon.js +1 -1
- package/dist/es/components/layout/components/header/menu-unfold-left-icon.js +1 -1
- package/dist/es/components/layout/components/header/search.js +5 -5
- package/dist/es/components/layout/components/header/theme-config.js +5 -5
- package/dist/es/components/layout/components/header/user-avatar.js +30 -30
- package/dist/es/components/layout/components/honeycomb-pattern.js +11 -11
- package/dist/es/components/layout/components/index.js +1 -1
- package/dist/es/components/layout/components/logo.js +16 -17
- package/dist/es/components/layout/components/menu.js +10 -10
- package/dist/es/components/layout/components/search/index.js +22 -22
- package/dist/es/components/layout/components/search/keyboard-arrow-down-icon.js +1 -1
- package/dist/es/components/layout/components/search/keyboard-arrow-up-icon.js +1 -1
- package/dist/es/components/layout/components/search/keyboard-control-icon.js +1 -1
- package/dist/es/components/layout/components/search/keyboard-esc-icon.js +1 -1
- package/dist/es/components/layout/components/search/keyboard-help.js +19 -19
- package/dist/es/components/layout/components/search/keyboard-return-icon.js +1 -1
- package/dist/es/components/layout/components/search/keyboard-shift-icon.js +1 -1
- package/dist/es/components/layout/components/search/keyboard.js +8 -8
- package/dist/es/components/layout/components/search/letter-s-icon.js +1 -1
- package/dist/es/components/layout/components/search/search-result-item.js +24 -24
- package/dist/es/components/layout/components/search/search-result.js +22 -22
- package/dist/es/components/layout/components/sidebar.js +8 -8
- package/dist/es/components/layout/components/tabs/context-menu.js +13 -13
- package/dist/es/components/layout/components/tabs/index.js +9 -9
- package/dist/es/components/layout/components/tabs/main-content-maximum.js +5 -5
- package/dist/es/components/layout/components/tabs/reload.js +8 -9
- package/dist/es/components/layout/components/tabs/tab-item.js +26 -26
- package/dist/es/components/layout/components/tabs/tab-list.js +13 -13
- package/dist/es/components/layout/components/tabs/tabs-container.js +18 -18
- package/dist/es/components/layout/components/theme-config/color-scheme-switcher.js +21 -21
- package/dist/es/components/layout/components/theme-config/color-scheme.js +15 -15
- package/dist/es/components/layout/components/theme-config/config-item.js +8 -8
- package/dist/es/components/layout/components/theme-config/index.js +18 -18
- package/dist/es/components/layout/components/theme-config/menu-layout-card.js +17 -17
- package/dist/es/components/layout/components/theme-config/menu-layout.js +11 -11
- package/dist/es/components/layout/components/theme-config/operations.js +6 -6
- package/dist/es/components/layout/components/theme-config/theme-color-picker.js +6 -6
- package/dist/es/components/layout/components/theme-config/theme-colors.js +9 -9
- package/dist/es/components/layout/hooks/index.js +1 -1
- package/dist/es/components/layout/hooks/use-color-scheme-updater.js +1 -1
- package/dist/es/components/layout/hooks/use-menu-navigate.js +9 -9
- package/dist/es/components/layout/hooks/use-tab-navigate.js +11 -11
- package/dist/es/components/layout/index.js +13 -13
- package/dist/es/components/layout/store.js +1 -1
- package/dist/es/components/layout/styles.js +1 -1
- package/dist/es/components/login/icon-login.js +155 -155
- package/dist/es/components/login/index.js +69 -70
- package/dist/es/components/login/styles.js +1 -1
- package/dist/es/components/login/welcome-messages.js +1 -1
- package/dist/es/components/n-progress/components/bar.js +15 -15
- package/dist/es/components/n-progress/components/container.js +1 -1
- package/dist/es/components/n-progress/components/index.js +1 -1
- package/dist/es/components/n-progress/event.js +1 -1
- package/dist/es/components/n-progress/index.js +6 -6
- package/dist/es/components/not-found/index.js +18 -18
- package/dist/es/components/not-found/not-found-icon.js +1 -1
- package/dist/es/components/router-provider/context.js +1 -1
- package/dist/es/components/router-provider/index.js +9 -9
- package/dist/es/components/theme-config-provider/global-style.js +1 -1
- package/dist/es/components/theme-config-provider/index.js +4 -4
- package/dist/es/components/theme-config-provider/use-color-mode-effect.js +1 -1
- package/dist/es/components/theme-config-provider/use-theme-config.js +1 -1
- package/dist/es/constants/event.js +3 -3
- package/dist/es/constants/index.js +1 -3
- package/dist/es/constants/router.js +1 -1
- package/dist/es/constants/storage.js +0 -4
- package/dist/es/helpers/api.js +1 -1
- package/dist/es/helpers/app-version.js +59 -59
- package/dist/es/helpers/app.js +10 -10
- package/dist/es/helpers/auth.js +1 -1
- package/dist/es/helpers/event.js +14 -11
- package/dist/es/helpers/index.js +2 -2
- package/dist/es/helpers/query.js +2 -2
- package/dist/es/helpers/router.js +45 -46
- package/dist/es/hooks/index.js +1 -1
- package/dist/es/hooks/use-route-full-path.js +5 -5
- package/dist/es/index.js +16 -31
- package/dist/es/routes/access-denied.js +1 -1
- package/dist/es/routes/index.js +1 -1
- package/dist/es/routes/layout.js +16 -16
- package/dist/es/routes/login.js +7 -7
- package/dist/es/routes/root.js +1 -1
- package/dist/es/stores/app.js +1 -1
- package/dist/es/stores/index.js +1 -1
- package/dist/es/stores/tab.js +1 -1
- package/dist/es/stores/theme.js +2 -2
- package/dist/types/components/index.d.ts +2 -11
- package/dist/types/components/login/index.d.ts +1 -1
- package/dist/types/components/login/payload.d.ts +32 -5
- package/dist/types/constants/event.d.ts +0 -1
- package/dist/types/constants/index.d.ts +1 -2
- package/dist/types/helpers/event.d.ts +2 -7
- package/dist/types/helpers/index.d.ts +1 -1
- package/dist/types/helpers/query.d.ts +1 -1
- package/dist/types/index.d.ts +5 -5
- package/dist/types/stores/index.d.ts +3 -6
- package/package.json +6 -6
- package/dist/cjs/components/crud/components/action-button-group.cjs +0 -1
- package/dist/cjs/components/crud/components/index.cjs +0 -1
- package/dist/cjs/components/crud/components/main.cjs +0 -1
- package/dist/cjs/components/crud/components/mutation-holder.cjs +0 -1
- package/dist/cjs/components/crud/components/operation-button-group.cjs +0 -1
- package/dist/cjs/components/crud/components/scene-form.cjs +0 -1
- package/dist/cjs/components/crud/components/selection-indicator.cjs +0 -1
- package/dist/cjs/components/crud/components/toolbar-actions.cjs +0 -1
- package/dist/cjs/components/crud/components/toolbar.cjs +0 -1
- package/dist/cjs/components/crud/event.cjs +0 -1
- package/dist/cjs/components/crud/helpers.cjs +0 -1
- package/dist/cjs/components/crud/hooks/index.cjs +0 -1
- package/dist/cjs/components/crud/hooks/use-query-observer.cjs +0 -1
- package/dist/cjs/components/crud/hooks/use-search-values.cjs +0 -1
- package/dist/cjs/components/crud/hooks/use-selected-rows.cjs +0 -1
- package/dist/cjs/components/crud/index.cjs +0 -1
- package/dist/cjs/components/crud/store.cjs +0 -1
- package/dist/cjs/components/crud/styles.cjs +0 -1
- package/dist/cjs/components/crud-page/index.cjs +0 -1
- package/dist/cjs/components/flex-card/index.cjs +0 -1
- package/dist/cjs/components/flex-card/styles.cjs +0 -1
- package/dist/cjs/components/form-drawer/components/form-actions.cjs +0 -1
- package/dist/cjs/components/form-drawer/components/index.cjs +0 -1
- package/dist/cjs/components/form-drawer/index.cjs +0 -1
- package/dist/cjs/components/form-modal/components/draggable-wrapper.cjs +0 -1
- package/dist/cjs/components/form-modal/components/form-actions.cjs +0 -1
- package/dist/cjs/components/form-modal/components/index.cjs +0 -1
- package/dist/cjs/components/form-modal/index.cjs +0 -1
- package/dist/cjs/components/logo-icon/index.cjs +0 -1
- package/dist/cjs/components/page/components/aside-panel.cjs +0 -1
- package/dist/cjs/components/page/components/index.cjs +0 -1
- package/dist/cjs/components/page/components/resize-handle.cjs +0 -1
- package/dist/cjs/components/page/components/scroll-content.cjs +0 -1
- package/dist/cjs/components/page/hooks/index.cjs +0 -1
- package/dist/cjs/components/page/hooks/use-page-key.cjs +0 -1
- package/dist/cjs/components/page/hooks/use-resize.cjs +0 -1
- package/dist/cjs/components/page/index.cjs +0 -1
- package/dist/cjs/components/page/styles.cjs +0 -1
- package/dist/cjs/components/page/viewport-context.cjs +0 -1
- package/dist/cjs/components/pro-search/components/advanced-search-toggler.cjs +0 -1
- package/dist/cjs/components/pro-search/components/advanced-search.cjs +0 -1
- package/dist/cjs/components/pro-search/components/index.cjs +0 -1
- package/dist/cjs/components/pro-search/components/search-actions.cjs +0 -1
- package/dist/cjs/components/pro-search/index.cjs +0 -1
- package/dist/cjs/components/pro-search/styles.cjs +0 -1
- package/dist/cjs/components/pro-table/components/column-setting-item.cjs +0 -1
- package/dist/cjs/components/pro-table/components/column-settings-panel.cjs +0 -1
- package/dist/cjs/components/pro-table/components/column-settings.cjs +0 -1
- package/dist/cjs/components/pro-table/components/index.cjs +0 -1
- package/dist/cjs/components/pro-table/components/operation-button-group.cjs +0 -1
- package/dist/cjs/components/pro-table/components/ref.cjs +0 -1
- package/dist/cjs/components/pro-table/components/table-subscriber.cjs +0 -1
- package/dist/cjs/components/pro-table/components/table-summary.cjs +0 -1
- package/dist/cjs/components/pro-table/components/table-title.cjs +0 -1
- package/dist/cjs/components/pro-table/components/table.cjs +0 -1
- package/dist/cjs/components/pro-table/components/width-popover.cjs +0 -1
- package/dist/cjs/components/pro-table/context.cjs +0 -1
- package/dist/cjs/components/pro-table/event.cjs +0 -1
- package/dist/cjs/components/pro-table/hooks/index.cjs +0 -1
- package/dist/cjs/components/pro-table/hooks/use-column-settings-persistence.cjs +0 -1
- package/dist/cjs/components/pro-table/hooks/use-row-selection.cjs +0 -1
- package/dist/cjs/components/pro-table/hooks/use-table-columns.cjs +0 -1
- package/dist/cjs/components/pro-table/index.cjs +0 -1
- package/dist/cjs/components/pro-table/store.cjs +0 -1
- package/dist/cjs/constants/symbols.cjs +0 -1
- package/dist/es/components/crud/components/action-button-group.js +0 -13
- package/dist/es/components/crud/components/index.js +0 -7
- package/dist/es/components/crud/components/main.js +0 -43
- package/dist/es/components/crud/components/mutation-holder.js +0 -32
- package/dist/es/components/crud/components/operation-button-group.js +0 -18
- package/dist/es/components/crud/components/scene-form.js +0 -47
- package/dist/es/components/crud/components/selection-indicator.js +0 -70
- package/dist/es/components/crud/components/toolbar-actions.js +0 -13
- package/dist/es/components/crud/components/toolbar.js +0 -29
- package/dist/es/components/crud/event.js +0 -8
- package/dist/es/components/crud/helpers.js +0 -18
- package/dist/es/components/crud/hooks/index.js +0 -4
- package/dist/es/components/crud/hooks/use-query-observer.js +0 -28
- package/dist/es/components/crud/hooks/use-search-values.js +0 -8
- package/dist/es/components/crud/hooks/use-selected-rows.js +0 -8
- package/dist/es/components/crud/index.js +0 -44
- package/dist/es/components/crud/store.js +0 -66
- package/dist/es/components/crud/styles.js +0 -20
- package/dist/es/components/crud-page/index.js +0 -23
- package/dist/es/components/flex-card/index.js +0 -14
- package/dist/es/components/flex-card/styles.js +0 -20
- package/dist/es/components/form-drawer/components/form-actions.js +0 -25
- package/dist/es/components/form-drawer/components/index.js +0 -2
- package/dist/es/components/form-drawer/index.js +0 -79
- package/dist/es/components/form-modal/components/draggable-wrapper.js +0 -52
- package/dist/es/components/form-modal/components/form-actions.js +0 -25
- package/dist/es/components/form-modal/components/index.js +0 -3
- package/dist/es/components/form-modal/index.js +0 -69
- package/dist/es/components/logo-icon/index.js +0 -24
- package/dist/es/components/page/components/aside-panel.js +0 -49
- package/dist/es/components/page/components/index.js +0 -4
- package/dist/es/components/page/components/resize-handle.js +0 -18
- package/dist/es/components/page/components/scroll-content.js +0 -55
- package/dist/es/components/page/hooks/index.js +0 -3
- package/dist/es/components/page/hooks/use-page-key.js +0 -14
- package/dist/es/components/page/hooks/use-resize.js +0 -32
- package/dist/es/components/page/index.js +0 -126
- package/dist/es/components/page/styles.js +0 -122
- package/dist/es/components/page/viewport-context.js +0 -12
- package/dist/es/components/pro-search/components/advanced-search-toggler.js +0 -27
- package/dist/es/components/pro-search/components/advanced-search.js +0 -32
- package/dist/es/components/pro-search/components/index.js +0 -4
- package/dist/es/components/pro-search/components/search-actions.js +0 -24
- package/dist/es/components/pro-search/index.js +0 -57
- package/dist/es/components/pro-search/styles.js +0 -43
- package/dist/es/components/pro-table/components/column-setting-item.js +0 -166
- package/dist/es/components/pro-table/components/column-settings-panel.js +0 -90
- package/dist/es/components/pro-table/components/column-settings.js +0 -29
- package/dist/es/components/pro-table/components/index.js +0 -9
- package/dist/es/components/pro-table/components/operation-button-group.js +0 -18
- package/dist/es/components/pro-table/components/ref.js +0 -14
- package/dist/es/components/pro-table/components/table-subscriber.js +0 -17
- package/dist/es/components/pro-table/components/table-summary.js +0 -12
- package/dist/es/components/pro-table/components/table-title.js +0 -12
- package/dist/es/components/pro-table/components/table.js +0 -101
- package/dist/es/components/pro-table/components/width-popover.js +0 -73
- package/dist/es/components/pro-table/context.js +0 -13
- package/dist/es/components/pro-table/event.js +0 -8
- package/dist/es/components/pro-table/hooks/index.js +0 -4
- package/dist/es/components/pro-table/hooks/use-column-settings-persistence.js +0 -60
- package/dist/es/components/pro-table/hooks/use-row-selection.js +0 -29
- package/dist/es/components/pro-table/hooks/use-table-columns.js +0 -108
- package/dist/es/components/pro-table/index.js +0 -70
- package/dist/es/components/pro-table/store.js +0 -94
- package/dist/es/constants/symbols.js +0 -5
- package/dist/types/components/crud/components/action-button-group.d.ts +0 -8
- package/dist/types/components/crud/components/index.d.ts +0 -6
- package/dist/types/components/crud/components/main.d.ts +0 -6
- package/dist/types/components/crud/components/mutation-holder.d.ts +0 -10
- package/dist/types/components/crud/components/operation-button-group.d.ts +0 -8
- package/dist/types/components/crud/components/scene-form.d.ts +0 -7
- package/dist/types/components/crud/components/selection-indicator.d.ts +0 -6
- package/dist/types/components/crud/components/toolbar-actions.d.ts +0 -6
- package/dist/types/components/crud/components/toolbar.d.ts +0 -8
- package/dist/types/components/crud/event.d.ts +0 -3
- package/dist/types/components/crud/helpers.d.ts +0 -20
- package/dist/types/components/crud/hooks/index.d.ts +0 -3
- package/dist/types/components/crud/hooks/use-query-observer.d.ts +0 -6
- package/dist/types/components/crud/hooks/use-search-values.d.ts +0 -2
- package/dist/types/components/crud/hooks/use-selected-rows.d.ts +0 -2
- package/dist/types/components/crud/index.d.ts +0 -8
- package/dist/types/components/crud/props.d.ts +0 -171
- package/dist/types/components/crud/store.d.ts +0 -146
- package/dist/types/components/crud/styles.d.ts +0 -3
- package/dist/types/components/crud/types.d.ts +0 -54
- package/dist/types/components/crud-page/index.d.ts +0 -3
- package/dist/types/components/crud-page/props.d.ts +0 -57
- package/dist/types/components/flex-card/index.d.ts +0 -3
- package/dist/types/components/flex-card/props.d.ts +0 -2
- package/dist/types/components/flex-card/styles.d.ts +0 -2
- package/dist/types/components/form-drawer/components/form-actions.d.ts +0 -19
- package/dist/types/components/form-drawer/components/index.d.ts +0 -1
- package/dist/types/components/form-drawer/index.d.ts +0 -5
- package/dist/types/components/form-drawer/props.d.ts +0 -78
- package/dist/types/components/form-modal/components/draggable-wrapper.d.ts +0 -9
- package/dist/types/components/form-modal/components/form-actions.d.ts +0 -19
- package/dist/types/components/form-modal/components/index.d.ts +0 -2
- package/dist/types/components/form-modal/index.d.ts +0 -5
- package/dist/types/components/form-modal/props.d.ts +0 -80
- package/dist/types/components/logo-icon/index.d.ts +0 -3
- package/dist/types/components/logo-icon/props.d.ts +0 -4
- package/dist/types/components/page/components/aside-panel.d.ts +0 -11
- package/dist/types/components/page/components/index.d.ts +0 -3
- package/dist/types/components/page/components/resize-handle.d.ts +0 -7
- package/dist/types/components/page/components/scroll-content.d.ts +0 -8
- package/dist/types/components/page/hooks/index.d.ts +0 -2
- package/dist/types/components/page/hooks/use-page-key.d.ts +0 -1
- package/dist/types/components/page/hooks/use-resize.d.ts +0 -15
- package/dist/types/components/page/index.d.ts +0 -4
- package/dist/types/components/page/props.d.ts +0 -140
- package/dist/types/components/page/styles.d.ts +0 -17
- package/dist/types/components/page/viewport-context.d.ts +0 -7
- package/dist/types/components/pro-search/components/advanced-search-toggler.d.ts +0 -7
- package/dist/types/components/pro-search/components/advanced-search.d.ts +0 -6
- package/dist/types/components/pro-search/components/index.d.ts +0 -3
- package/dist/types/components/pro-search/components/search-actions.d.ts +0 -10
- package/dist/types/components/pro-search/index.d.ts +0 -5
- package/dist/types/components/pro-search/props.d.ts +0 -66
- package/dist/types/components/pro-search/styles.d.ts +0 -6
- package/dist/types/components/pro-table/components/column-setting-item.d.ts +0 -12
- package/dist/types/components/pro-table/components/column-settings-panel.d.ts +0 -2
- package/dist/types/components/pro-table/components/column-settings.d.ts +0 -6
- package/dist/types/components/pro-table/components/index.d.ts +0 -8
- package/dist/types/components/pro-table/components/operation-button-group.d.ts +0 -7
- package/dist/types/components/pro-table/components/ref.d.ts +0 -3
- package/dist/types/components/pro-table/components/table-subscriber.d.ts +0 -9
- package/dist/types/components/pro-table/components/table-summary.d.ts +0 -7
- package/dist/types/components/pro-table/components/table-title.d.ts +0 -7
- package/dist/types/components/pro-table/components/table.d.ts +0 -12
- package/dist/types/components/pro-table/components/width-popover.d.ts +0 -9
- package/dist/types/components/pro-table/context.d.ts +0 -5
- package/dist/types/components/pro-table/event.d.ts +0 -16
- package/dist/types/components/pro-table/hooks/index.d.ts +0 -3
- package/dist/types/components/pro-table/hooks/use-column-settings-persistence.d.ts +0 -7
- package/dist/types/components/pro-table/hooks/use-row-selection.d.ts +0 -7
- package/dist/types/components/pro-table/hooks/use-table-columns.d.ts +0 -13
- package/dist/types/components/pro-table/index.d.ts +0 -11
- package/dist/types/components/pro-table/props.d.ts +0 -127
- package/dist/types/components/pro-table/store.d.ts +0 -105
- package/dist/types/components/pro-table/types.d.ts +0 -103
- package/dist/types/constants/symbols.d.ts +0 -2
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
/*! @vef-framework-react/starter v2.1.
|
|
1
|
+
/*! @vef-framework-react/starter v2.1.6 made by Venus | 2026-04-01T03:01:38.533Z */
|
|
2
2
|
import "../../../../constants/router.js";
|
|
3
3
|
import { useTabStore as e } from "../../../../stores/tab.js";
|
|
4
4
|
import { useTabNavigate as t } from "../../hooks/use-tab-navigate.js";
|
|
5
5
|
import { ContextMenu as n } from "./context-menu.js";
|
|
6
6
|
import { TabItem as r } from "./tab-item.js";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
7
|
+
import { globalCssVars as i } from "@vef-framework-react/components";
|
|
8
|
+
import { AnimatePresence as a, DragDropProvider as o, RestrictToHorizontalAxis as s, clsx as c, moveDragItem as l, useShallow as u } from "@vef-framework-react/core";
|
|
9
|
+
import { jsx as d } from "@emotion/react/jsx-runtime";
|
|
10
10
|
import { css as f } from "@emotion/react";
|
|
11
11
|
//#region src/components/layout/components/tabs/tab-list.tsx
|
|
12
12
|
var p = /* @__PURE__ */ f({
|
|
13
13
|
display: "flex",
|
|
14
14
|
alignItems: "center",
|
|
15
15
|
height: "var(--vef-layout-tabs-height)",
|
|
16
|
-
columnGap:
|
|
16
|
+
columnGap: i.spacingXs,
|
|
17
17
|
width: "max-content",
|
|
18
18
|
marginInline: 1
|
|
19
19
|
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInRhYi1saXN0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFVcUIiLCJmaWxlIjoidGFiLWxpc3QudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSBcIkBlbW90aW9uL3JlYWN0XCI7XG5pbXBvcnQgeyBnbG9iYWxDc3NWYXJzIH0gZnJvbSBcIkB2ZWYtZnJhbWV3b3JrLXJlYWN0L2NvbXBvbmVudHNcIjtcbmltcG9ydCB7IEFuaW1hdGVQcmVzZW5jZSwgY2xzeCwgRHJhZ0Ryb3BQcm92aWRlciwgbW92ZURyYWdJdGVtLCBSZXN0cmljdFRvSG9yaXpvbnRhbEF4aXMsIHVzZVNoYWxsb3cgfSBmcm9tIFwiQHZlZi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lnYXRlID0gdXNlVGFiTmF2aWdhdGUoKTtcblxuICByZXR1cm4gKFxuICAgIDxEcmFnRHJvcFByb3ZpZGVyXG4gICAgICBtb2RpZmllcnM9e1tSZXN0cmljdFRvSG9yaXpvbnRhbEF4aXNdfVxuICAgICAgb25EcmFnRW5kPXtldmVudCA9PiB7XG4gICAgICAgIHNldFRhYnMoXG4gICAgICAgICAgbW92ZURyYWdJdGVtKHRhYnMsIGV2ZW50KVxuICAgICAgICApO1xuICAgICAgfX1cbiAgICA+XG4gICAgICA8ZGl2IGNzcz17dGFiTGlzdFN0eWxlfT5cbiAgICAgICAgPEFuaW1hdGVQcmVzZW5jZT5cbiAgICAgICAgICB7XG4gICAgICAgICAgICB0YWJzLm1hcCgodGFiLCBpbmRleCkgPT4gKFxuICAgICAgICAgICAgICA8Q29udGV4dE1lbnUga2V5PXt0YWIuaWR9IHRhYklkPXt0YWIuaWR9PlxuICAgICAgICAgICAgICAgIDxUYWJJdGVtXG4gICAgICAgICAgICAgICAgICBsYXlvdXRcbiAgICAgICAgICAgICAgICAgIGluZGV4PXtpbmRleH1cbiAgICAgICAgICAgICAgICAgIGxhYmVsPXt0YWIubGFiZWx9XG4gICAgICAgICAgICAgICAgICB0YWJJZD17dGFiLmlkfVxuICAgICAgICAgICAgICAgICAgYW5pbWF0ZT17e1xuICAgICAgICAgICAgICAgICAgICBvcGFjaXR5OiAxLFxuICAgICAgICAgICAgICAgICAgICB4OiAwLFxuICAgICAgICAgICAgICAgICAgICBzY2FsZTogMVxuICAgICAgICAgICAgICAgICAgfX1cbiAgICAgICAgICAgICAgICAgIGNsYXNzTmFtZT17Y2xzeCh7XG4gICAgICAgICAgICAgICAgICAgIGFjdGl2ZTogdGFiLmlkID09PSBhY3RpdmVUYWJJZFxuICAgICAgICAgICAgICAgICAgfSl9XG4gICAgICAgICAgICAgICAgICBleGl0PXt7XG4gICAgICAgICAgICAgICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgICAgICAgICAgICAgIHg6IC0yMCxcbiAgICAgICAgICAgICAgICAgICAgc2NhbGU6IDAuOCxcbiAgICAgICAgICAgICAgICAgICAgdHJhbnNpdGlvbjoge1xuICAgICAgICAgICAgICAgICAgICAgIGVhc2U6IFwiZWFzZUluXCJcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgfX1cbiAgICAgICAgICAgICAgICAgIGluaXRpYWw9e3tcbiAgICAgICAgICAgICAgICAgICAgb3BhY2l0eTogMCxcbiAgICAgICAgICAgICAgICAgICAgeDogMjAsXG4gICAgICAgICAgICAgICAgICAgIHNjYWxlOiAwLjhcbiAgICAgICAgICAgICAgICAgIH19XG4gICAgICAgICAgICAgICAgICB0cmFuc2l0aW9uPXt7XG4gICAgICAgICAgICAgICAgICAgIGR1cmF0aW9uOiAwLjMsXG4gICAgICAgICAgICAgICAgICAgIGRlbGF5OiBpbmRleCAqIDAuMDUsXG4gICAgICAgICAgICAgICAgICAgIGVhc2U6IFwiZWFzZU91dFwiXG4gICAgICAgICAgICAgICAgICB9fVxuICAgICAgICAgICAgICAgICAgb25DbGljaz17ZXZlbnQgPT4ge1xuICAgICAgICAgICAgICAgICAgICBjb25zdCB0YXJnZXRFbGVtZW50ID0gZXZlbnQuY3VycmVudFRhcmdldDtcbiAgICAgICAgICAgICAgICAgICAgbmF2aWdhdGUodGFiKTtcbiAgICAgICAgICAgICAgICAgICAgcmVxdWVzdEFuaW1hdGlvbkZyYW1lKCgpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgICBpZiAodGFyZ2V0RWxlbWVudC5pc0Nvbm5lY3RlZCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgdGFyZ2V0RWxlbWVudC5zY3JvbGxJbnRvVmlldyh7XG4gICAgICAgICAgICAgICAgICAgICAgICAgIGlubGluZTogXCJjZW50ZXJcIixcbiAgICAgICAgICAgICAgICAgICAgICAgICAgYmVoYXZpb3I6IFwic21vb3RoXCJcbiAgICAgICAgICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgICB9fVxuICAgICAgICAgICAgICAgICAgb25DbG9zZT17KCkgPT4ge1xuICAgICAgICAgICAgICAgICAgICBpZiAodGFicy5sZW5ndGggPT09IDEgJiYgdGFiLmZ1bGxQYXRoID09PSBJTkRFWF9ST1VURV9QQVRIKSB7XG4gICAgICAgICAgICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAgICAgcmVtb3ZlVGFiKHRhYi5pZCwgbmF2aWdhdGUpO1xuICAgICAgICAgICAgICAgICAgfX1cbiAgICAgICAgICAgICAgICAvPlxuICAgICAgICAgICAgICA8L0NvbnRleHRNZW51PlxuICAgICAgICAgICAgKSlcbiAgICAgICAgICB9XG4gICAgICAgIDwvQW5pbWF0ZVByZXNlbmNlPlxuICAgICAgPC9kaXY+XG4gICAgPC9EcmFnRHJvcFByb3ZpZGVyPlxuICApO1xufVxuIl19 */");
|
|
20
20
|
function m() {
|
|
21
|
-
let { setTabs:
|
|
21
|
+
let { setTabs: i, removeTab: f } = e(u(({ setTabs: e, removeTab: t }) => ({
|
|
22
22
|
setTabs: e,
|
|
23
23
|
removeTab: t
|
|
24
24
|
}))), m = e((e) => e.activeTabId), h = e((e) => e.tabs), g = t();
|
|
25
|
-
return /* @__PURE__ */
|
|
26
|
-
modifiers: [
|
|
25
|
+
return /* @__PURE__ */ d(o, {
|
|
26
|
+
modifiers: [s],
|
|
27
27
|
onDragEnd: (e) => {
|
|
28
|
-
|
|
28
|
+
i(l(h, e));
|
|
29
29
|
},
|
|
30
|
-
children: /* @__PURE__ */
|
|
30
|
+
children: /* @__PURE__ */ d("div", {
|
|
31
31
|
css: p,
|
|
32
|
-
children: /* @__PURE__ */
|
|
32
|
+
children: /* @__PURE__ */ d(a, { children: h.map((e, t) => /* @__PURE__ */ d(n, {
|
|
33
33
|
tabId: e.id,
|
|
34
|
-
children: /* @__PURE__ */
|
|
34
|
+
children: /* @__PURE__ */ d(r, {
|
|
35
35
|
layout: !0,
|
|
36
36
|
index: t,
|
|
37
37
|
label: e.label,
|
|
@@ -41,7 +41,7 @@ function m() {
|
|
|
41
41
|
x: 0,
|
|
42
42
|
scale: 1
|
|
43
43
|
},
|
|
44
|
-
className:
|
|
44
|
+
className: c({ active: e.id === m }),
|
|
45
45
|
exit: {
|
|
46
46
|
opacity: 0,
|
|
47
47
|
x: -20,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/*! @vef-framework-react/starter v2.1.
|
|
1
|
+
/*! @vef-framework-react/starter v2.1.6 made by Venus | 2026-04-01T03:01:38.533Z */
|
|
2
2
|
import { TabList as e } from "./tab-list.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
3
|
+
import { ScrollArea as t, globalCssVars as n } from "@vef-framework-react/components";
|
|
4
|
+
import { clsx as r } from "@vef-framework-react/core";
|
|
5
|
+
import { useCallback as i, useRef as a, useState as o } from "react";
|
|
6
|
+
import { jsx as s } from "@emotion/react/jsx-runtime";
|
|
7
7
|
import { css as c } from "@emotion/react";
|
|
8
8
|
import { useIsomorphicEffect as l } from "@vef-framework-react/hooks";
|
|
9
9
|
//#region src/components/layout/components/tabs/tabs-container.tsx
|
|
@@ -17,7 +17,7 @@ var u = /* @__PURE__ */ c({
|
|
|
17
17
|
right: 0,
|
|
18
18
|
width: "10px",
|
|
19
19
|
boxShadow: "inset -10px 0 8px -8px var(--vef-color-split)",
|
|
20
|
-
transition: `box-shadow ${
|
|
20
|
+
transition: `box-shadow ${n.motionDurationMid} ease`,
|
|
21
21
|
pointerEvents: "none"
|
|
22
22
|
},
|
|
23
23
|
"&.shadow-left::before": {
|
|
@@ -28,45 +28,45 @@ var u = /* @__PURE__ */ c({
|
|
|
28
28
|
left: 0,
|
|
29
29
|
width: "10px",
|
|
30
30
|
boxShadow: "inset 10px 0 8px -8px var(--vef-color-split)",
|
|
31
|
-
transition: `box-shadow ${
|
|
31
|
+
transition: `box-shadow ${n.motionDurationMid} ease`,
|
|
32
32
|
pointerEvents: "none"
|
|
33
33
|
}
|
|
34
34
|
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInRhYnMtY29udGFpbmVyLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFXeUIiLCJmaWxlIjoidGFicy1jb250YWluZXIudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHR5cGUgeyBQb3NpdGlvbiB9IGZyb20gXCJAdmVmLWZyYW1ld29yay1yZWFjdC9jb21wb25lbnRzXCI7XG5pbXBvcnQgdHlwZSB7IE1heWJlVW5kZWZpbmVkIH0gZnJvbSBcIkB2ZWYtZnJhbWV3b3JrLXJlYWN0L3NoYXJlZFwiO1xuXG5pbXBvcnQgeyBjc3MgfSBmcm9tIFwiQGVtb3Rpb24vcmVhY3RcIjtcbmltcG9ydCB7IGdsb2JhbENzc1ZhcnMsIFNjcm9sbEFyZWEgfSBmcm9tIFwiQHZlZi1mcmFtZXdvcmstcmVhY3QvY29tcG9uZW50c1wiO1xuaW1wb3J0IHsgY2xzeCB9IGZyb20gXCJAdmVmLWZyYW1ld29yay1yZWFjdC9jb3JlXCI7XG5pbXBvcnQgeyB1c2VJc29tb3JwaGljRWZmZWN0IH0gZnJvbSBcIkB2ZWYtZnJhbWV3b3JrLXJlYWN0L2hvb2tzXCI7XG5pbXBvcnQgeyB1c2VDYWxsYmFjaywgdXNlUmVmLCB1c2VTdGF0ZSB9IGZyb20gXCJyZWFjdFwiO1xuXG5pbXBvcnQgeyBUYWJMaXN0IH0gZnJvbSBcIi4vdGFiLWxpc3RcIjtcblxuY29uc3QgdGFic1dyYXBwZXJTdHlsZSA9IGNzcyh7XG4gIGZsZXg6IFwiYXV0b1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YnNlcnZlci5vYnNlcnZlKGNvbnRhaW5lckVsKTtcblxuICAgIHJldHVybiAoKSA9PiB7XG4gICAgICByZXNpemVPYnNlcnZlci5kaXNjb25uZWN0KCk7XG4gICAgfTtcbiAgfSwgW10pO1xuXG4gIGNvbnN0IGhhbmRsZVNjcm9sbFBvc2l0aW9uQ2hhbmdlID0gdXNlQ2FsbGJhY2soKHsgeCB9OiBQb3NpdGlvbikgPT4ge1xuICAgIGlmIChpc092ZXJmbG93UmVmLmN1cnJlbnQpIHtcbiAgICAgIHNldFJvb3RDbGFzc05hbWUoY2xzeCh7XG4gICAgICAgIFwic2hhZG93LWxlZnRcIjogeCA+IDAsXG4gICAgICAgIFwic2hhZG93LXJpZ2h0XCI6IHggPCBvdmVyZmxvd1dpZHRoUmVmLmN1cnJlbnRcbiAgICAgIH0pKTtcbiAgICB9XG4gIH0sIFtdKTtcblxuICByZXR1cm4gKFxuICAgIDxTY3JvbGxBcmVhXG4gICAgICBjbGFzc05hbWU9e3Jvb3RDbGFzc05hbWV9XG4gICAgICBjc3M9e3RhYnNXcmFwcGVyU3R5bGV9XG4gICAgICBzY3JvbGxiYXJQYWRkaW5nPXsxfVxuICAgICAgc2Nyb2xsYmFyU2l6ZT17NX1cbiAgICAgIHR5cGU9XCJzY3JvbGxcIlxuICAgICAgdmlld3BvcnRSZWY9e3RhYnNDb250YWluZXJSZWZ9XG4gICAgICBvblNjcm9sbFBvc2l0aW9uQ2hhbmdlPXtoYW5kbGVTY3JvbGxQb3NpdGlvbkNoYW5nZX1cbiAgICA+XG4gICAgICA8VGFiTGlzdCAvPlxuICAgIDwvU2Nyb2xsQXJlYT5cbiAgKTtcbn1cbiJdfQ== */");
|
|
35
35
|
function d() {
|
|
36
|
-
let
|
|
36
|
+
let n = a(null), c = a(!1), d = a(0), [f, p] = o();
|
|
37
37
|
return l(() => {
|
|
38
|
-
let e =
|
|
38
|
+
let e = n.current;
|
|
39
39
|
if (!e) return;
|
|
40
40
|
function t() {
|
|
41
41
|
if (!e) return;
|
|
42
42
|
d.current = e.scrollWidth - e.clientWidth, c.current = d.current > 0;
|
|
43
43
|
let { scrollLeft: t } = e;
|
|
44
|
-
p(
|
|
44
|
+
p(r({
|
|
45
45
|
"shadow-left": t > 0,
|
|
46
46
|
"shadow-right": t < d.current
|
|
47
47
|
}));
|
|
48
48
|
}
|
|
49
49
|
t();
|
|
50
|
-
let
|
|
50
|
+
let i = new ResizeObserver(() => {
|
|
51
51
|
t();
|
|
52
52
|
});
|
|
53
|
-
return
|
|
54
|
-
|
|
53
|
+
return i.observe(e), () => {
|
|
54
|
+
i.disconnect();
|
|
55
55
|
};
|
|
56
|
-
}, []), /* @__PURE__ */ t
|
|
56
|
+
}, []), /* @__PURE__ */ s(t, {
|
|
57
57
|
className: f,
|
|
58
58
|
css: u,
|
|
59
59
|
scrollbarPadding: 1,
|
|
60
60
|
scrollbarSize: 5,
|
|
61
61
|
type: "scroll",
|
|
62
|
-
viewportRef:
|
|
63
|
-
onScrollPositionChange:
|
|
64
|
-
c.current && p(
|
|
62
|
+
viewportRef: n,
|
|
63
|
+
onScrollPositionChange: i(({ x: e }) => {
|
|
64
|
+
c.current && p(r({
|
|
65
65
|
"shadow-left": e > 0,
|
|
66
66
|
"shadow-right": e < d.current
|
|
67
67
|
}));
|
|
68
68
|
}, []),
|
|
69
|
-
children: /* @__PURE__ */
|
|
69
|
+
children: /* @__PURE__ */ s(e, {})
|
|
70
70
|
});
|
|
71
71
|
}
|
|
72
72
|
//#endregion
|
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
/*! @vef-framework-react/starter v2.1.
|
|
1
|
+
/*! @vef-framework-react/starter v2.1.6 made by Venus | 2026-04-01T03:01:38.533Z */
|
|
2
2
|
import { useThemeStore as e } from "../../../../stores/theme.js";
|
|
3
3
|
import { useColorSchemeUpdater as t } from "../../hooks/use-color-scheme-updater.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
4
|
+
import { Center as n, Icon as r, Segmented as i, globalCssVars as a } from "@vef-framework-react/components";
|
|
5
|
+
import { useRef as o } from "react";
|
|
6
|
+
import { jsx as s } from "@emotion/react/jsx-runtime";
|
|
7
|
+
import { MoonIcon as c, SunIcon as l, SunMoon as u } from "lucide-react";
|
|
8
8
|
import { css as d } from "@emotion/react";
|
|
9
9
|
//#region src/components/layout/components/theme-config/color-scheme-switcher.tsx
|
|
10
10
|
var f = /* @__PURE__ */ d({
|
|
11
|
-
height: `calc(${
|
|
11
|
+
height: `calc(${a.controlHeight} - var(--vef-segmented-track-padding) * 2)`,
|
|
12
12
|
width: "64px"
|
|
13
13
|
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbG9yLXNjaGVtZS1zd2l0Y2hlci50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBWWtCIiwiZmlsZSI6ImNvbG9yLXNjaGVtZS1zd2l0Y2hlci50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgdHlwZSB7IFBvc2l0aW9uLCBTZWdtZW50ZWRPcHRpb24gfSBmcm9tIFwiQHZlZi1mcmFtZXdvcmstcmVhY3QvY29tcG9uZW50c1wiO1xuXG5pbXBvcnQgdHlwZSB7IENvbG9yU2NoZW1lIH0gZnJvbSBcIi4uLy4uLy4uLy4uL3N0b3Jlc1wiO1xuXG5pbXBvcnQgeyBjc3MgfSBmcm9tIFwiQGVtb3Rpb24vcmVhY3RcIjtcbmltcG9ydCB7IENlbnRlciwgZ2xvYmFsQ3NzVmFycywgSWNvbiwgU2VnbWVudGVkIH0gZnJvbSBcIkB2ZWYtZnJhbWV3b3JrLXJlYWN0L2NvbXBvbmVudHNcIjtcbmltcG9ydCB7IE1vb25JY29uLCBTdW5JY29uLCBTdW5Nb29uIH0gZnJvbSBcImx1Y2lkZS1yZWFjdFwiO1xuaW1wb3J0IHsgdX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TY2hlbWUgPSB1c2VUaGVtZVN0b3JlKHN0YXRlID0+IHN0YXRlLmNvbG9yU2NoZW1lKTtcbiAgY29uc3QgeyB1cGRhdGVDb2xvclNjaGVtZSB9ID0gdXNlQ29sb3JTY2hlbWVVcGRhdGVyKCk7XG4gIGNvbnN0IHBvc2l0aW9uUmVmID0gdXNlUmVmPFBvc2l0aW9uPih7XG4gICAgeDogd2luZG93LmlubmVyV2lkdGggLyAyLFxuICAgIHk6IHdpbmRvdy5pbm5lckhlaWdodCAvIDJcbiAgfSk7XG5cbiAgZnVuY3Rpb24gaGFuZGxlQ2hhbmdlKHZhbHVlOiBzdHJpbmcgfCBudW1iZXIpOiB2b2lkIHtcbiAgICB1cGRhdGVDb2xvclNjaGVtZSh2YWx1ZSBhcyBDb2xvclNjaGVtZSwgcG9zaXRpb25SZWYuY3VycmVudCk7XG4gIH1cblxuICBmdW5jdGlvbiBoYW5kbGVDbGljayhldmVudDogUmVhY3QuTW91c2VFdmVudCk6IHZvaWQge1xuICAgIHBvc2l0aW9uUmVmLmN1cnJlbnQgPSB7XG4gICAgICB4OiBldmVudC5jbGllbnRYLFxuICAgICAgeTogZXZlbnQuY2xpZW50WVxuICAgIH07XG4gIH1cblxuICByZXR1cm4gKFxuICAgIDxTZWdtZW50ZWRcbiAgICAgIG9wdGlvbnM9e29wdGlvbnN9XG4gICAgICB2YWx1ZT17Y29sb3JTY2hlbWV9XG4gICAgICBvbkNoYW5nZT17aGFuZGxlQ2hhbmdlfVxuICAgICAgb25DbGljaz17aGFuZGxlQ2xpY2t9XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */"), p = [
|
|
14
14
|
{
|
|
15
|
-
label: /* @__PURE__ */ n
|
|
15
|
+
label: /* @__PURE__ */ s(n, {
|
|
16
16
|
css: f,
|
|
17
|
-
children: /* @__PURE__ */
|
|
17
|
+
children: /* @__PURE__ */ s(r, { component: l })
|
|
18
18
|
}),
|
|
19
19
|
value: "light"
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
|
-
label: /* @__PURE__ */ n
|
|
22
|
+
label: /* @__PURE__ */ s(n, {
|
|
23
23
|
css: f,
|
|
24
|
-
children: /* @__PURE__ */
|
|
24
|
+
children: /* @__PURE__ */ s(r, { component: c })
|
|
25
25
|
}),
|
|
26
26
|
value: "dark"
|
|
27
27
|
},
|
|
28
28
|
{
|
|
29
|
-
label: /* @__PURE__ */ n
|
|
29
|
+
label: /* @__PURE__ */ s(n, {
|
|
30
30
|
css: f,
|
|
31
|
-
children: /* @__PURE__ */
|
|
31
|
+
children: /* @__PURE__ */ s(r, { component: u })
|
|
32
32
|
}),
|
|
33
33
|
value: "system"
|
|
34
34
|
}
|
|
35
35
|
];
|
|
36
36
|
function m() {
|
|
37
|
-
let
|
|
37
|
+
let n = e((e) => e.colorScheme), { updateColorScheme: r } = t(), a = o({
|
|
38
38
|
x: window.innerWidth / 2,
|
|
39
39
|
y: window.innerHeight / 2
|
|
40
40
|
});
|
|
41
|
-
function s(e) {
|
|
42
|
-
i(e, o.current);
|
|
43
|
-
}
|
|
44
41
|
function c(e) {
|
|
45
|
-
|
|
42
|
+
r(e, a.current);
|
|
43
|
+
}
|
|
44
|
+
function l(e) {
|
|
45
|
+
a.current = {
|
|
46
46
|
x: e.clientX,
|
|
47
47
|
y: e.clientY
|
|
48
48
|
};
|
|
49
49
|
}
|
|
50
|
-
return /* @__PURE__ */
|
|
50
|
+
return /* @__PURE__ */ s(i, {
|
|
51
51
|
options: p,
|
|
52
|
-
value:
|
|
53
|
-
onChange:
|
|
54
|
-
onClick:
|
|
52
|
+
value: n,
|
|
53
|
+
onChange: c,
|
|
54
|
+
onClick: l
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
57
|
//#endregion
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
/*! @vef-framework-react/starter v2.1.
|
|
1
|
+
/*! @vef-framework-react/starter v2.1.6 made by Venus | 2026-04-01T03:01:38.533Z */
|
|
2
2
|
import { useThemeStore as e } from "../../../../stores/theme.js";
|
|
3
3
|
import { ColorSchemeSwitcher as t } from "./color-scheme-switcher.js";
|
|
4
4
|
import { ConfigItem as n } from "./config-item.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
5
|
+
import { Center as r, Switch as i, globalCssVars as a } from "@vef-framework-react/components";
|
|
6
|
+
import { useShallow as o } from "@vef-framework-react/core";
|
|
7
|
+
import { jsx as s, jsxs as c } from "@emotion/react/jsx-runtime";
|
|
8
8
|
import { css as l } from "@emotion/react";
|
|
9
9
|
//#region src/components/layout/components/theme-config/color-scheme.tsx
|
|
10
10
|
var u = /* @__PURE__ */ l({
|
|
11
11
|
display: "flex",
|
|
12
12
|
flexDirection: "column",
|
|
13
|
-
gap:
|
|
13
|
+
gap: a.spacingMd
|
|
14
14
|
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbG9yLXNjaGVtZS50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBUXFCIiwiZmlsZSI6ImNvbG9yLXNjaGVtZS50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tIFwiQGVtb3Rpb24vcmVhY3RcIjtcbmltcG9ydCB7IENlbnRlciwgZ2xvYmFsQ3NzVmFycywgU3dpdGNoIH0gZnJvbSBcIkB2ZWYtZnJhbWV3b3JrLXJlYWN0L2NvbXBvbmVudHNcIjtcbmltcG9ydCB7IHVzZVNoYWxsb3cgfSBmcm9tIFwiQHZlZi1mcmFtZXdvcmstcmVhY3QvY29yZVwiO1xuXG5pbXBvcnQgeyB1c2VUaGVtZVN0b3JlIH0gZnJvbSBcIi4uLy4uLy4uLy4uL3N0b3Jlc1wiO1xuaW1wb3J0IHsgQ29sb3JTY2hlbWVTd2l0Y2hlciB9IGZyb20gXCIuL2NvbG9yLXNjaGVtZS1zd2l0Y2hlclwiO1xu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vZGV9XG4gICAgICAgICAgb25DaGFuZ2U9e2hhbmRsZU1lbnVBY2NvcmRpb25Nb2RlQ2hhbmdlfVxuICAgICAgICAvPlxuICAgICAgPC9Db25maWdJdGVtPlxuICAgIDwvZGl2PlxuICApO1xufVxuIl19 */");
|
|
15
15
|
function d() {
|
|
16
|
-
let { isGrayscaleMode:
|
|
16
|
+
let { isGrayscaleMode: a, isColorBlindMode: l, isMenuAccordionMode: d } = e(o((e) => ({
|
|
17
17
|
isGrayscaleMode: e.isGrayscaleMode,
|
|
18
18
|
isColorBlindMode: e.isColorBlindMode,
|
|
19
19
|
isMenuAccordionMode: e.isMenuAccordionMode
|
|
@@ -33,27 +33,27 @@ function d() {
|
|
|
33
33
|
e.isMenuAccordionMode = t;
|
|
34
34
|
});
|
|
35
35
|
}
|
|
36
|
-
return /* @__PURE__ */
|
|
36
|
+
return /* @__PURE__ */ c("div", {
|
|
37
37
|
css: u,
|
|
38
38
|
children: [
|
|
39
|
-
/* @__PURE__ */ r
|
|
40
|
-
/* @__PURE__ */
|
|
39
|
+
/* @__PURE__ */ s(r, { children: /* @__PURE__ */ s(t, {}) }),
|
|
40
|
+
/* @__PURE__ */ s(n, {
|
|
41
41
|
label: "灰度模式",
|
|
42
|
-
children: /* @__PURE__ */
|
|
43
|
-
checked:
|
|
42
|
+
children: /* @__PURE__ */ s(i, {
|
|
43
|
+
checked: a,
|
|
44
44
|
onChange: f
|
|
45
45
|
})
|
|
46
46
|
}),
|
|
47
|
-
/* @__PURE__ */
|
|
47
|
+
/* @__PURE__ */ s(n, {
|
|
48
48
|
label: "色弱模式",
|
|
49
|
-
children: /* @__PURE__ */
|
|
49
|
+
children: /* @__PURE__ */ s(i, {
|
|
50
50
|
checked: l,
|
|
51
51
|
onChange: p
|
|
52
52
|
})
|
|
53
53
|
}),
|
|
54
|
-
/* @__PURE__ */
|
|
54
|
+
/* @__PURE__ */ s(n, {
|
|
55
55
|
label: "菜单手风琴模式",
|
|
56
|
-
children: /* @__PURE__ */
|
|
56
|
+
children: /* @__PURE__ */ s(i, {
|
|
57
57
|
checked: d,
|
|
58
58
|
onChange: m
|
|
59
59
|
})
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
/*! @vef-framework-react/starter v2.1.
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
/*! @vef-framework-react/starter v2.1.6 made by Venus | 2026-04-01T03:01:38.533Z */
|
|
2
|
+
import { globalCssVars as e } from "@vef-framework-react/components";
|
|
3
|
+
import { jsx as t, jsxs as n } from "@emotion/react/jsx-runtime";
|
|
4
4
|
import { css as r } from "@emotion/react";
|
|
5
5
|
//#region src/components/layout/components/theme-config/config-item.tsx
|
|
6
6
|
var i = /* @__PURE__ */ r({
|
|
7
7
|
display: "flex",
|
|
8
8
|
alignItems: "center",
|
|
9
9
|
justifyContent: "space-between",
|
|
10
|
-
columnGap:
|
|
10
|
+
columnGap: e.spacingXs
|
|
11
11
|
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbmZpZy1pdGVtLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFVa0IiLCJmaWxlIjoiY29uZmlnLWl0ZW0udHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHR5cGUgeyBQcm9wc1dpdGhDaGlsZHJlbiwgUmVhY3ROb2RlIH0gZnJvbSBcInJlYWN0XCI7XG5cbmltcG9ydCB7IGNzcyB9IGZyb20gXCJAZW1vdGlvbi9yZWFjdFwiO1xuaW1wb3J0IHsgZ2xvYmFsQ3NzVmFycyB9IGZyb20gXCJAdmVmLWZyYW1ld29yay1yZWFjdC9jb21wb25lbnRzXCI7XG5cbmludGVyZmFjZSBDb25maWdJdGVtUHJvcHMgZXh0ZW5kcyBQcm9wc1dpdGhDaGlsZHJlbiB7XG4gIGNsYXNzTmFtZT86IHN0cmluZztcbiAgbGFiZWw6IFJlYWN0Tm9kZTtcbn1cblxuY29uc3QgaXRlbVN0eWxlID0gY3NzKHtcbiAgZGlzcGxheTogXCJmbGV4XCIsXG4gIGFsaWduSXRlbXM6IFwiY2VudGVyXCIsXG4gIGp1c3RpZnlDb250ZW50OiBcInNwYWNlLWJldHdlZW5cIixcbiAgY29sdW1uR2FwOiBnbG9iYWxDc3NWYXJzLnNwYWNpbmdYc1xufSk7XG5cbmV4cG9ydCBmdW5jdGlvbiBDb25maWdJdGVtKHtcbiAgY2xhc3NOYW1lLFxuICBsYWJlbCxcbiAgY2hpbGRyZW5cbn06IENvbmZpZ0l0ZW1Qcm9wcyk6IFJlYWN0LkpTWC5FbGVtZW50IHtcbiAgcmV0dXJuIChcbiAgICA8ZGl2IGNsYXNzTmFtZT17Y2xhc3NOYW1lfSBjc3M9e2l0ZW1TdHlsZX0+XG4gICAgICA8c3Bhbj57bGFiZWx9PC9zcGFuPlxuICAgICAge2NoaWxkcmVufVxuICAgIDwvZGl2PlxuICApO1xufVxuIl19 */");
|
|
12
|
-
function a({ className:
|
|
13
|
-
return /* @__PURE__ */
|
|
14
|
-
className:
|
|
12
|
+
function a({ className: e, label: r, children: a }) {
|
|
13
|
+
return /* @__PURE__ */ n("div", {
|
|
14
|
+
className: e,
|
|
15
15
|
css: i,
|
|
16
|
-
children: [/* @__PURE__ */
|
|
16
|
+
children: [/* @__PURE__ */ t("span", { children: r }), a]
|
|
17
17
|
});
|
|
18
18
|
}
|
|
19
19
|
//#endregion
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/*! @vef-framework-react/starter v2.1.
|
|
1
|
+
/*! @vef-framework-react/starter v2.1.6 made by Venus | 2026-04-01T03:01:38.533Z */
|
|
2
2
|
import { useThemeStore as e } from "../../../../stores/theme.js";
|
|
3
3
|
import { ColorScheme as t } from "./color-scheme.js";
|
|
4
4
|
import { MenuLayout as n } from "./menu-layout.js";
|
|
5
5
|
import { Operations as r } from "./operations.js";
|
|
6
6
|
import { ThemeColors as i } from "./theme-colors.js";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
7
|
+
import { Divider as a, Drawer as o, ScrollArea as s, globalCssVars as c } from "@vef-framework-react/components";
|
|
8
|
+
import { jsx as l, jsxs as u } from "@emotion/react/jsx-runtime";
|
|
9
9
|
import { ClassNames as d, css as f } from "@emotion/react";
|
|
10
10
|
//#region src/components/layout/components/theme-config/index.tsx
|
|
11
11
|
function p() {
|
|
@@ -20,34 +20,34 @@ var m = process.env.NODE_ENV === "production" ? {
|
|
|
20
20
|
toString: p
|
|
21
21
|
}, h = /* @__PURE__ */ f({
|
|
22
22
|
height: "100%",
|
|
23
|
-
paddingInline:
|
|
24
|
-
paddingBlockStart:
|
|
25
|
-
paddingBlockEnd:
|
|
26
|
-
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFhcUIiLCJmaWxlIjoiaW5kZXgudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ2xhc3NOYW1lcywgY3NzIH0gZnJvbSBcIkBlbW90aW9uL3JlYWN0XCI7XG5pbXBvcnQgeyBEaXZpZGVyLCBEcmF3ZXIsIGdsb2JhbENzc1ZhcnMsIFNjcm9sbEFyZWEgfSBmcm9tIFwiQHZlZi1mcmFtZXdvcmstcmVhY3QvY29tcG9uZW50c1wiO1xuXG5pbXBvcnQgeyB1c2VUaGVtZVN0b3JlIH0gZnJvbSBcIi4uLy4uLy4uLy4uL3N0b3Jlc1wiO1xuaW1wb3J0IHsgQ29sb3JTY2hlbWUgfSBmcm9tIFwiLi9jb2xvci1zY2hlbWVcIjtcbmltcG9ydCB7IE1lbnVMYXlvdXQgfSBmcm9tIFwiLi9tZW51LWxheW91dFwiO1xuaW1wb3J0IHsgT3BlcmF0aW9ucyB9IGZyb20gXCIuL29wZXJ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G4gICAgICAgICAgb3Blbj17aXNUaGVtZUNvbmZpZ1Zpc2libGV9XG4gICAgICAgICAgdGl0bGU9XCLkuLvpopjphY3nva5cIlxuICAgICAgICAgIGNsYXNzTmFtZXM9e3tcbiAgICAgICAgICAgIGJvZHk6IGNzcyhkcmF3ZXJCb2R5U3R5bGUpXG4gICAgICAgICAgfX1cbiAgICAgICAgICBvbkNsb3NlPXtoYW5kbGVDbG9zZX1cbiAgICAgICAgPlxuICAgICAgICAgIDxTY3JvbGxBcmVhXG4gICAgICAgICAgICBjbGFzc05hbWU9e2Nzcyhjb250ZW50U3R5bGUpfVxuICAgICAgICAgICAgdmlld3BvcnRDbGFzc05hbWU9e2Nzcyhjb250YWluZXJTdHlsZSl9XG4gICAgICAgICAgPlxuICAgICAgICAgICAgPERpdmlkZXI+5Li76aKY5qih5byPPC9EaXZpZGVyPlxuICAgICAgICAgICAgPENvbG9yU2NoZW1lIC8+XG4gICAgICAgICAgICA8RGl2aWRlcj7oj5zljZXluIPlsYA8L0RpdmlkZXI+XG4gICAgICAgICAgICA8TWVudUxheW91dCAvPlxuICAgICAgICAgICAgPERpdmlkZXI+5Li76aKY6aKc6ImyPC9EaXZpZGVyPlxuICAgICAgICAgICAgPFRoZW1lQ29sb3JzIC8+XG4gICAgICAgICAgPC9TY3JvbGxBcmVhPlxuICAgICAgICA8L0RyYXdlcj5cbiAgICAgICl9XG4gICAgPC9DbGFzc05hbWVzPlxuICApO1xufVxuIl19 */"), g = /* @__PURE__ */ f({ paddingInline:
|
|
23
|
+
paddingInline: c.spacingSm,
|
|
24
|
+
paddingBlockStart: c.spacingXs,
|
|
25
|
+
paddingBlockEnd: c.spacingLg
|
|
26
|
+
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFhcUIiLCJmaWxlIjoiaW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A8TWVudUxheW91dCAvPlxuICAgICAgICAgICAgPERpdmlkZXI+5Li76aKY6aKc6ImyPC9EaXZpZGVyPlxuICAgICAgICAgICAgPFRoZW1lQ29sb3JzIC8+XG4gICAgICAgICAgPC9TY3JvbGxBcmVhPlxuICAgICAgICA8L0RyYXdlcj5cbiAgICAgICl9XG4gICAgPC9DbGFzc05hbWVzPlxuICApO1xufVxuIl19 */"), g = /* @__PURE__ */ f({ paddingInline: c.spacingXs }, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFvQnVCIiwiZmlsZSI6ImluZGV4LnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENsYXNzTmFtZXMsIGNzcyB9IGZyb20gXCJAZW1vdGlvbi9yZWFjdFwiO1xuaW1wb3J0IHsgRGl2aWRlciwgRHJhd2VyLCBnbG9iYWxDc3NWYXJzLCBTY3JvbGxBcmVhIH0gZnJvbSBcIkB2ZWYtZnJhbWV3b3JrLXJlYWN0L2NvbXBvbmVudHNcIjtcblxuaW1wb3J0IHsgdXNlVGhlbWVTdG9yZSB9IGZyb20gXCIuLi8uLi8uLi8uLi9zdG9yZXNcIjtcbmltcG9ydCB7IENvbG9yU2NoZW1lIH0gZnJvbSBcIi4vY29sb3Itc2NoZW1lXCI7XG5pbXBvcnQgeyBNZW51TGF5b3V0IH0gZnJvbSBcIi4vbWVudS1sYXlvdXRcIjtcbmltcG9ydCB7IE9wZXJhdGlvbnMgfSBmcm9tIFwiLi9vcGVyYXRpb25zXCI7XG5pbXBvcnQgeyBUaGVtZUNvbG9ycyB9IGZyb20gXCIuL3RoZW1lLWNvbG9yc1wiO1xuXG5jb25zdCBkcmF3ZXJCb2R5U3R5bGUgPSBjc3Moe1xuICBwYWRkaW5nOiAwXG59KTtcblxuY29uc3QgY29udGV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ICAgIH19XG4gICAgICAgICAgb25DbG9zZT17aGFuZGxlQ2xvc2V9XG4gICAgICAgID5cbiAgICAgICAgICA8U2Nyb2xsQXJlYVxuICAgICAgICAgICAgY2xhc3NOYW1lPXtjc3MoY29udGVudFN0eWxlKX1cbiAgICAgICAgICAgIHZpZXdwb3J0Q2xhc3NOYW1lPXtjc3MoY29udGFpbmVyU3R5bGUpfVxuICAgICAgICAgID5cbiAgICAgICAgICAgIDxEaXZpZGVyPuS4u+mimOaooeW8jzwvRGl2aWRlcj5cbiAgICAgICAgICAgIDxDb2xvclNjaGVtZSAvPlxuICAgICAgICAgICAgPERpdmlkZXI+6I+c5Y2V5biD5bGAPC9EaXZpZGVyPlxuICAgICAgICAgICAgPE1lbnVMYXlvdXQgLz5cbiAgICAgICAgICAgIDxEaXZpZGVyPuS4u+mimOminOiJsjwvRGl2aWRlcj5cbiAgICAgICAgICAgIDxUaGVtZUNvbG9ycyAvPlxuICAgICAgICAgIDwvU2Nyb2xsQXJlYT5cbiAgICAgICAgPC9EcmF3ZXI+XG4gICAgICApfVxuICAgIDwvQ2xhc3NOYW1lcz5cbiAgKTtcbn1cbiJdfQ== */");
|
|
27
27
|
function _() {
|
|
28
|
-
let
|
|
28
|
+
let c = e((e) => e.isThemeConfigVisible);
|
|
29
29
|
function f() {
|
|
30
30
|
e.setState((e) => {
|
|
31
31
|
e.isThemeConfigVisible = !1;
|
|
32
32
|
});
|
|
33
33
|
}
|
|
34
|
-
return /* @__PURE__ */
|
|
35
|
-
footer: /* @__PURE__ */
|
|
34
|
+
return /* @__PURE__ */ l(d, { children: ({ css: e }) => /* @__PURE__ */ l(o, {
|
|
35
|
+
footer: /* @__PURE__ */ l(r, {}),
|
|
36
36
|
mask: { closable: !0 },
|
|
37
|
-
open:
|
|
37
|
+
open: c,
|
|
38
38
|
title: "主题配置",
|
|
39
39
|
classNames: { body: e(m) },
|
|
40
40
|
onClose: f,
|
|
41
|
-
children: /* @__PURE__ */
|
|
41
|
+
children: /* @__PURE__ */ u(s, {
|
|
42
42
|
className: e(h),
|
|
43
43
|
viewportClassName: e(g),
|
|
44
44
|
children: [
|
|
45
|
-
/* @__PURE__ */ a
|
|
46
|
-
/* @__PURE__ */
|
|
47
|
-
/* @__PURE__ */ a
|
|
48
|
-
/* @__PURE__ */
|
|
49
|
-
/* @__PURE__ */ a
|
|
50
|
-
/* @__PURE__ */
|
|
45
|
+
/* @__PURE__ */ l(a, { children: "主题模式" }),
|
|
46
|
+
/* @__PURE__ */ l(t, {}),
|
|
47
|
+
/* @__PURE__ */ l(a, { children: "菜单布局" }),
|
|
48
|
+
/* @__PURE__ */ l(n, {}),
|
|
49
|
+
/* @__PURE__ */ l(a, { children: "主题颜色" }),
|
|
50
|
+
/* @__PURE__ */ l(i, {})
|
|
51
51
|
]
|
|
52
52
|
})
|
|
53
53
|
}) });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/*! @vef-framework-react/starter v2.1.
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
/*! @vef-framework-react/starter v2.1.6 made by Venus | 2026-04-01T03:01:38.533Z */
|
|
2
|
+
import { globalCssVars as e } from "@vef-framework-react/components";
|
|
3
|
+
import { jsx as t, jsxs as n } from "@emotion/react/jsx-runtime";
|
|
4
4
|
import { css as r } from "@emotion/react";
|
|
5
5
|
//#region src/components/layout/components/theme-config/menu-layout-card.tsx
|
|
6
6
|
function i() {
|
|
@@ -14,22 +14,22 @@ var a = /* @__PURE__ */ r({
|
|
|
14
14
|
gap: "6px",
|
|
15
15
|
padding: "6px",
|
|
16
16
|
border: "2px solid transparent",
|
|
17
|
-
borderRadius:
|
|
18
|
-
boxShadow:
|
|
19
|
-
transition: `border-color ${
|
|
20
|
-
"&:hover": { borderColor:
|
|
21
|
-
"&.selected": { borderColor:
|
|
17
|
+
borderRadius: e.borderRadius,
|
|
18
|
+
boxShadow: e.shadowSm,
|
|
19
|
+
transition: `border-color ${e.motionDurationMid} ease`,
|
|
20
|
+
"&:hover": { borderColor: e.colorPrimary },
|
|
21
|
+
"&.selected": { borderColor: e.colorPrimary },
|
|
22
22
|
".dark &": { boxShadow: "0 1px 3px 0 rgb(255 255 255 / 0.3), 0 1px 2px -1px rgb(255 255 255 / 0.3)" }
|
|
23
23
|
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm1lbnUtbGF5b3V0LWNhcmQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVVrQiIsImZpbGUiOiJtZW51LWxheW91dC1jYXJkLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB0eXBlIHsgT3JpZW50YXRpb24gfSBmcm9tIFwiQHZlZi1mcmFtZXdvcmstcmVhY3QvY29tcG9uZW50c1wiO1xuaW1wb3J0IHR5cGUgeyBDb21wb25lbnRQcm9wcyB9IGZyb20gXCJyZWFjdFwiO1xuXG5pbXBvcnQgeyBjc3MgfSBmcm9tIFwiQGVtb3Rpb24vcmVhY3RcIjtcbmltcG9ydCB7IGdsb2JhbENzc1ZhcnMgfSBmcm9tIFwiQHZlZi1mcmFtZXdvcmstcmVhY3QvY29tcG9uZW50c1wiO1xuXG5pbnRlcmZhY2UgTWVudUxheW91dENhcmRQcm9wcyBleHRlbmRzIENvbXBvbmVudFByb3BzPFwiZGl2XCI+IHtcbiAgbW9kZTogT3JpZW50YXRpb247XG59XG5cbmNvbnN0IGNhcmRTdHlsZSA9IGNzcyh7XG4gIGN1cnNvcjogXCJwb2ludGVyXCIsXG4gIGRpc3BsYXk6IFwiZmxleFwiLFxuICBoZWlnaHQ6IFwiNjhweFwiLFxuICB3aWR0aDogXCI5NnB4XCIsXG4gIGdhcDogXCI2cHhcIixcbiAgcGFkZGluZzogXCI2cHhcIixcbiAgYm9yZGVyOiBgMnB4IHNvbGlkIHRyYW5zcGFyZW50YCxcbiAgYm9yZGVyUmFkaXVzOiBnbG9iYWxD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ICBzaWRlYmFyOiBjc3Moe1xuICAgIHdpZHRoOiBcIjE4cHhcIixcbiAgICBoZWlnaHQ6IFwiMTAwJVwiLFxuICAgIGJhY2tncm91bmRDb2xvcjogZ2xvYmFsQ3NzVmFycy5jb2xvclByaW1hcnkzMDAsXG4gICAgYm9yZGVyUmFkaXVzOiBcIjRweFwiXG4gIH0pXG59O1xuXG5leHBvcnQgZnVuY3Rpb24gTWVudUxheW91dENhcmQoeyBtb2RlLCAuLi5wcm9wcyB9OiBNZW51TGF5b3V0Q2FyZFByb3BzKTogUmVhY3QuSlNYLkVsZW1lbnQge1xuICBjb25zdCBib2R5ID0gKFxuICAgIDxkaXYgY3NzPXtsYXlvdXRTdHlsZS53cmFwcGVyfT5cbiAgICAgIDxkaXYgY3NzPXtsYXlvdXRTdHlsZS5oZWFkZXJ9IC8+XG4gICAgICA8ZGl2IGNzcz17bGF5b3V0U3R5bGUubWFpbn0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcblxuICBpZiAobW9kZSA9PT0gXCJob3Jpem9udGFsXCIpIHtcbiAgICByZXR1cm4gKFxuICAgICAgPGRpdiBjc3M9e2NhcmRTdHlsZX0gey4uLnByb3BzfT5cbiAgICAgICAge2JvZHl9XG4gICAgICA8L2Rpdj5cbiAgICApO1xuICB9XG5cbiAgcmV0dXJuIChcbiAgICA8ZGl2IGNzcz17Y2FyZFN0eWxlfSB7Li4ucHJvcHN9PlxuICAgICAgPGRpdiBjc3M9e2xheW91dFN0eWxlLnNpZGViYXJ9IC8+XG4gICAgICB7Ym9keX1cbiAgICA8L2Rpdj5cbiAgKTtcbn1cbiJdfQ== */"), o = {
|
|
24
24
|
header: /* @__PURE__ */ r({
|
|
25
25
|
flex: "none",
|
|
26
26
|
height: "16px",
|
|
27
|
-
backgroundColor:
|
|
27
|
+
backgroundColor: e.colorPrimary,
|
|
28
28
|
borderRadius: "4px"
|
|
29
29
|
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=ut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0pXG59O1xuXG5leHBvcnQgZnVuY3Rpb24gTWVudUxheW91dENhcmQoeyBtb2RlLCAuLi5wcm9wcyB9OiBNZW51TGF5b3V0Q2FyZFByb3BzKTogUmVhY3QuSlNYLkVsZW1lbnQge1xuICBjb25zdCBib2R5ID0gKFxuICAgIDxkaXYgY3NzPXtsYXlvdXRTdHlsZS53cmFwcGVyfT5cbiAgICAgIDxkaXYgY3NzPXtsYXlvdXRTdHlsZS5oZWFkZXJ9IC8+XG4gICAgICA8ZGl2IGNzcz17bGF5b3V0U3R5bGUubWFpbn0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcblxuICBpZiAobW9kZSA9PT0gXCJob3Jpem9udGFsXCIpIHtcbiAgICByZXR1cm4gKFxuICAgICAgPGRpdiBjc3M9e2NhcmRTdHlsZX0gey4uLnByb3BzfT5cbiAgICAgICAge2JvZHl9XG4gICAgICA8L2Rpdj5cbiAgICApO1xuICB9XG5cbiAgcmV0dXJuIChcbiAgICA8ZGl2IGNzcz17Y2FyZFN0eWxlfSB7Li4ucHJvcHN9PlxuICAgICAgPGRpdiBjc3M9e2xheW91dFN0eWxlLnNpZGViYXJ9IC8+XG4gICAgICB7Ym9keX1cbiAgICA8L2Rpdj5cbiAgKTtcbn1cbiJdfQ== */"),
|
|
30
30
|
main: /* @__PURE__ */ r({
|
|
31
31
|
flex: "auto",
|
|
32
|
-
backgroundColor:
|
|
32
|
+
backgroundColor: e.colorPrimary200,
|
|
33
33
|
borderRadius: "4px"
|
|
34
34
|
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm1lbnUtbGF5b3V0LWNhcmQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXVDUSIsImZpbGUiOiJtZW51LWxheW91dC1jYXJkLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB0eXBlIHsgT3JpZW50YXRpb24gfSB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gIDxkaXYgY3NzPXtsYXlvdXRTdHlsZS5oZWFkZXJ9IC8+XG4gICAgICA8ZGl2IGNzcz17bGF5b3V0U3R5bGUubWFpbn0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcblxuICBpZiAobW9kZSA9PT0gXCJob3Jpem9udGFsXCIpIHtcbiAgICByZXR1cm4gKFxuICAgICAgPGRpdiBjc3M9e2NhcmRTdHlsZX0gey4uLnByb3BzfT5cbiAgICAgICAge2JvZHl9XG4gICAgICA8L2Rpdj5cbiAgICApO1xuICB9XG5cbiAgcmV0dXJuIChcbiAgICA8ZGl2IGNzcz17Y2FyZFN0eWxlfSB7Li4ucHJvcHN9PlxuICAgICAgPGRpdiBjc3M9e2xheW91dFN0eWxlLnNpZGViYXJ9IC8+XG4gICAgICB7Ym9keX1cbiAgICA8L2Rpdj5cbiAgKTtcbn1cbiJdfQ== */"),
|
|
35
35
|
wrapper: process.env.NODE_ENV === "production" ? {
|
|
@@ -43,23 +43,23 @@ var a = /* @__PURE__ */ r({
|
|
|
43
43
|
sidebar: /* @__PURE__ */ r({
|
|
44
44
|
width: "18px",
|
|
45
45
|
height: "100%",
|
|
46
|
-
backgroundColor:
|
|
46
|
+
backgroundColor: e.colorPrimary300,
|
|
47
47
|
borderRadius: "4px"
|
|
48
48
|
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm1lbnUtbGF5b3V0LWNhcmQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWtEVyIsImZpbGUiOiJtZW51LWxheW91dC1jYXJkLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB0eXBlIHsgT3JpZW50YXRpb24gfSBmcm9tIFwiQHZlZi1mcmFtZXdvcmstcmVhY3QvY29tcG9uZW50c1wiO1xuaW1wb3J0IHR5cGUgeyBDb21wb25lbnRQcm9wcyB9IGZyb20gXCJyZWFjdFw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cbiAgKTtcblxuICBpZiAobW9kZSA9PT0gXCJob3Jpem9udGFsXCIpIHtcbiAgICByZXR1cm4gKFxuICAgICAgPGRpdiBjc3M9e2NhcmRTdHlsZX0gey4uLnByb3BzfT5cbiAgICAgICAge2JvZHl9XG4gICAgICA8L2Rpdj5cbiAgICApO1xuICB9XG5cbiAgcmV0dXJuIChcbiAgICA8ZGl2IGNzcz17Y2FyZFN0eWxlfSB7Li4ucHJvcHN9PlxuICAgICAgPGRpdiBjc3M9e2xheW91dFN0eWxlLnNpZGViYXJ9IC8+XG4gICAgICB7Ym9keX1cbiAgICA8L2Rpdj5cbiAgKTtcbn1cbiJdfQ== */")
|
|
49
49
|
};
|
|
50
|
-
function s({ mode:
|
|
51
|
-
let i = /* @__PURE__ */
|
|
50
|
+
function s({ mode: e, ...r }) {
|
|
51
|
+
let i = /* @__PURE__ */ n("div", {
|
|
52
52
|
css: o.wrapper,
|
|
53
|
-
children: [/* @__PURE__ */
|
|
53
|
+
children: [/* @__PURE__ */ t("div", { css: o.header }), /* @__PURE__ */ t("div", { css: o.main })]
|
|
54
54
|
});
|
|
55
|
-
return
|
|
55
|
+
return e === "horizontal" ? /* @__PURE__ */ t("div", {
|
|
56
56
|
css: a,
|
|
57
57
|
...r,
|
|
58
58
|
children: i
|
|
59
|
-
}) : /* @__PURE__ */
|
|
59
|
+
}) : /* @__PURE__ */ n("div", {
|
|
60
60
|
css: a,
|
|
61
61
|
...r,
|
|
62
|
-
children: [/* @__PURE__ */
|
|
62
|
+
children: [/* @__PURE__ */ t("div", { css: o.sidebar }), i]
|
|
63
63
|
});
|
|
64
64
|
}
|
|
65
65
|
//#endregion
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/*! @vef-framework-react/starter v2.1.
|
|
1
|
+
/*! @vef-framework-react/starter v2.1.6 made by Venus | 2026-04-01T03:01:38.533Z */
|
|
2
2
|
import { useThemeStore as e } from "../../../../stores/theme.js";
|
|
3
3
|
import { MenuLayoutCard as t } from "./menu-layout-card.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
4
|
+
import { Center as n, Tooltip as r } from "@vef-framework-react/components";
|
|
5
|
+
import { clsx as i } from "@vef-framework-react/core";
|
|
6
|
+
import { jsx as a, jsxs as o } from "@emotion/react/jsx-runtime";
|
|
7
7
|
//#region src/components/layout/components/theme-config/menu-layout.tsx
|
|
8
8
|
function s() {
|
|
9
9
|
let s = e((e) => e.menuLayout);
|
|
@@ -17,21 +17,21 @@ function s() {
|
|
|
17
17
|
e.menuLayout = "horizontal";
|
|
18
18
|
});
|
|
19
19
|
}
|
|
20
|
-
return /* @__PURE__ */
|
|
20
|
+
return /* @__PURE__ */ o(n, {
|
|
21
21
|
gap: "large",
|
|
22
|
-
children: [/* @__PURE__ */
|
|
22
|
+
children: [/* @__PURE__ */ a(r, {
|
|
23
23
|
placement: "bottom",
|
|
24
24
|
title: "垂直菜单模式",
|
|
25
|
-
children: /* @__PURE__ */
|
|
26
|
-
className:
|
|
25
|
+
children: /* @__PURE__ */ a(t, {
|
|
26
|
+
className: i({ selected: s === "vertical" }),
|
|
27
27
|
mode: "vertical",
|
|
28
28
|
onClick: c
|
|
29
29
|
})
|
|
30
|
-
}), /* @__PURE__ */
|
|
30
|
+
}), /* @__PURE__ */ a(r, {
|
|
31
31
|
placement: "bottom",
|
|
32
32
|
title: "水平菜单模式",
|
|
33
|
-
children: /* @__PURE__ */
|
|
34
|
-
className:
|
|
33
|
+
children: /* @__PURE__ */ a(t, {
|
|
34
|
+
className: i({ selected: s === "horizontal" }),
|
|
35
35
|
mode: "horizontal",
|
|
36
36
|
onClick: l
|
|
37
37
|
})
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
/*! @vef-framework-react/starter v2.1.
|
|
1
|
+
/*! @vef-framework-react/starter v2.1.6 made by Venus | 2026-04-01T03:01:38.533Z */
|
|
2
2
|
import { useThemeStore as e } from "../../../../stores/theme.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { Button as t, Icon as n, showSuccessMessage as r } from "@vef-framework-react/components";
|
|
4
|
+
import { jsx as i } from "@emotion/react/jsx-runtime";
|
|
5
5
|
import { RefreshCwIcon as a } from "lucide-react";
|
|
6
6
|
//#region src/components/layout/components/theme-config/operations.tsx
|
|
7
7
|
function o() {
|
|
8
8
|
e.setState({
|
|
9
9
|
...e.getInitialState(),
|
|
10
10
|
isThemeConfigVisible: !0
|
|
11
|
-
}, !0),
|
|
11
|
+
}, !0), r("主题配置已重置成功");
|
|
12
12
|
}
|
|
13
13
|
function s() {
|
|
14
|
-
return /* @__PURE__ */ t
|
|
14
|
+
return /* @__PURE__ */ i(t, {
|
|
15
15
|
block: !0,
|
|
16
16
|
danger: !0,
|
|
17
|
-
icon: /* @__PURE__ */
|
|
17
|
+
icon: /* @__PURE__ */ i(n, { component: a }),
|
|
18
18
|
onClick: o,
|
|
19
19
|
children: "重置配置"
|
|
20
20
|
});
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
/*! @vef-framework-react/starter v2.1.
|
|
1
|
+
/*! @vef-framework-react/starter v2.1.6 made by Venus | 2026-04-01T03:01:38.533Z */
|
|
2
2
|
import { useThemeStore as e } from "../../../../stores/theme.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import { ColorPicker as t } from "@vef-framework-react/components";
|
|
4
|
+
import { useState as n, useTransition as r } from "react";
|
|
5
|
+
import { jsx as i } from "@emotion/react/jsx-runtime";
|
|
6
6
|
import { useDidUpdate as a } from "@vef-framework-react/hooks";
|
|
7
7
|
//#region src/components/layout/components/theme-config/theme-color-picker.tsx
|
|
8
8
|
function o({ color: o }) {
|
|
9
|
-
let s = e((e) => e.colors[o]), [c, l] =
|
|
9
|
+
let s = e((e) => e.colors[o]), [c, l] = n(s), [, u] = r();
|
|
10
10
|
return a(() => {
|
|
11
11
|
l(s);
|
|
12
|
-
}, [s]), /* @__PURE__ */ t
|
|
12
|
+
}, [s]), /* @__PURE__ */ i(t, {
|
|
13
13
|
arrow: !1,
|
|
14
14
|
format: "hex",
|
|
15
15
|
value: c,
|