@vef-framework-react/starter 2.1.4 → 2.1.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/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 +1 -10
- package/dist/types/components/login/payload.d.ts +4 -4
- 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 +4 -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
package/dist/es/helpers/app.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
/*! @vef-framework-react/starter v2.1.
|
|
1
|
+
/*! @vef-framework-react/starter v2.1.5 made by Venus | 2026-03-31T12:34:42.017Z */
|
|
2
2
|
import { RouterContextHookProvider as e } from "../components/router-provider/context.js";
|
|
3
3
|
import { App as t } from "../components/app/index.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
4
|
+
import { StrictMode as n } from "react";
|
|
5
|
+
import { createRoot as r } from "react-dom/client";
|
|
6
|
+
import { jsx as i } from "@emotion/react/jsx-runtime";
|
|
7
7
|
//#region src/helpers/app.tsx
|
|
8
8
|
function a({ strictMode: a = !1, useRouterContext: o } = {}) {
|
|
9
|
-
let s =
|
|
9
|
+
let s = r(document.querySelector("#root"), { identifierPrefix: "vef-" });
|
|
10
10
|
function c(t) {
|
|
11
|
-
let
|
|
12
|
-
return o && (
|
|
11
|
+
let r = t;
|
|
12
|
+
return o && (r = /* @__PURE__ */ i(e, {
|
|
13
13
|
value: o,
|
|
14
|
-
children:
|
|
15
|
-
})), a && (
|
|
14
|
+
children: r
|
|
15
|
+
})), a && (r = /* @__PURE__ */ i(n, { children: r })), r;
|
|
16
16
|
}
|
|
17
17
|
return {
|
|
18
18
|
render(e) {
|
|
19
|
-
s.render(c(/* @__PURE__ */
|
|
19
|
+
s.render(c(/* @__PURE__ */ i(t, { ...e })));
|
|
20
20
|
},
|
|
21
21
|
unmount() {
|
|
22
22
|
s.unmount();
|
package/dist/es/helpers/auth.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/starter v2.1.
|
|
1
|
+
/*! @vef-framework-react/starter v2.1.5 made by Venus | 2026-03-31T12:34:42.017Z */
|
|
2
2
|
import { LOGIN_ROUTE_PATH as e } from "../constants/router.js";
|
|
3
3
|
import { useAppStore as t } from "../stores/app.js";
|
|
4
4
|
//#region src/helpers/auth.ts
|
package/dist/es/helpers/event.js
CHANGED
|
@@ -1,21 +1,24 @@
|
|
|
1
|
-
/*! @vef-framework-react/starter v2.1.
|
|
2
|
-
import { ACCESS_DENIED_EVENT as e,
|
|
3
|
-
import { createEventEmitter as
|
|
1
|
+
/*! @vef-framework-react/starter v2.1.5 made by Venus | 2026-03-31T12:34:42.017Z */
|
|
2
|
+
import { ACCESS_DENIED_EVENT as e, UNAUTHENTICATED_EVENT as t } from "../constants/event.js";
|
|
3
|
+
import { createEventEmitter as n } from "@vef-framework-react/shared";
|
|
4
4
|
//#region src/helpers/event.ts
|
|
5
|
-
var
|
|
6
|
-
function
|
|
5
|
+
var r = n();
|
|
6
|
+
function i(e, t) {
|
|
7
7
|
if (typeof document > "u") return !1;
|
|
8
8
|
let n = new CustomEvent(e, t);
|
|
9
9
|
return document.dispatchEvent(n);
|
|
10
10
|
}
|
|
11
|
-
function
|
|
12
|
-
|
|
11
|
+
function a() {
|
|
12
|
+
r.emit(e);
|
|
13
|
+
}
|
|
14
|
+
function o(t) {
|
|
15
|
+
return r.on(e, t);
|
|
13
16
|
}
|
|
14
17
|
function s() {
|
|
15
|
-
|
|
18
|
+
r.emit(t);
|
|
16
19
|
}
|
|
17
|
-
function c() {
|
|
18
|
-
|
|
20
|
+
function c(e) {
|
|
21
|
+
return r.on(t, e);
|
|
19
22
|
}
|
|
20
23
|
//#endregion
|
|
21
|
-
export {
|
|
24
|
+
export { i as dispatchCustomEvent, a as emitAccessDenied, s as emitUnauthenticated, o as onAccessDenied, c as onUnauthenticated };
|
package/dist/es/helpers/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! @vef-framework-react/starter v2.1.
|
|
2
|
-
import "./app-version.js";
|
|
1
|
+
/*! @vef-framework-react/starter v2.1.5 made by Venus | 2026-03-31T12:34:42.017Z */
|
|
3
2
|
import "./event.js";
|
|
4
3
|
import "./api.js";
|
|
4
|
+
import "./app-version.js";
|
|
5
5
|
import "./app.js";
|
|
6
6
|
import "./auth.js";
|
|
7
7
|
import "./query.js";
|
package/dist/es/helpers/query.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! @vef-framework-react/starter v2.1.
|
|
2
|
-
import { SYMBOL_PAGINATION as e, SYMBOL_SORT as t } from "
|
|
1
|
+
/*! @vef-framework-react/starter v2.1.5 made by Venus | 2026-03-31T12:34:42.017Z */
|
|
2
|
+
import { SYMBOL_PAGINATION as e, SYMBOL_SORT as t } from "@vef-framework-react/components";
|
|
3
3
|
//#region src/helpers/query.ts
|
|
4
4
|
function n(...e) {
|
|
5
5
|
return Promise.resolve(void 0);
|
|
@@ -1,45 +1,44 @@
|
|
|
1
|
-
/*! @vef-framework-react/starter v2.1.
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import { getSanitizedErrorStack as g, hashKey as _ } from "@vef-framework-react/shared";
|
|
1
|
+
/*! @vef-framework-react/starter v2.1.5 made by Venus | 2026-03-31T12:34:42.017Z */
|
|
2
|
+
import { ACCESS_DENIED_ROUTE_PATH as e } from "../constants/router.js";
|
|
3
|
+
import { useAppStore as t } from "../stores/app.js";
|
|
4
|
+
import { useTabStore as n } from "../stores/tab.js";
|
|
5
|
+
import { onAccessDenied as r, onUnauthenticated as i } from "./event.js";
|
|
6
|
+
import { nProgressEventEmitter as a } from "../components/n-progress/event.js";
|
|
7
|
+
import { Error as o } from "../components/error/index.js";
|
|
8
|
+
import { NotFound as s } from "../components/not-found/index.js";
|
|
9
|
+
import { handleClientLogout as c } from "./auth.js";
|
|
10
|
+
import { Loader as l, showErrorNotification as u } from "@vef-framework-react/components";
|
|
11
|
+
import { getSanitizedErrorStack as d, hashKey as f } from "@vef-framework-react/shared";
|
|
12
|
+
import { jsx as p } from "@emotion/react/jsx-runtime";
|
|
13
|
+
import { createBrowserHistory as m, createHashHistory as h, createRouter as g } from "@tanstack/react-router";
|
|
15
14
|
//#region src/helpers/router.tsx
|
|
16
|
-
function
|
|
15
|
+
function _() {
|
|
17
16
|
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
18
17
|
}
|
|
19
|
-
var
|
|
18
|
+
var v = 600 * 1e3, y = process.env.NODE_ENV === "production" ? {
|
|
20
19
|
name: "1089mxj",
|
|
21
20
|
styles: "white-space:pre-wrap"
|
|
22
21
|
} : {
|
|
23
22
|
name: "1089mxj",
|
|
24
|
-
styles: "white-space:pre-wrap/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
25
|
-
toString:
|
|
23
|
+
styles: "white-space:pre-wrap/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJvdXRlci50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBc0RhIiwiZmlsZSI6InJvdXRlci50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgdHlwZSB7IEFueVJvdXRlV2l0aENvbnRleHQgfSBmcm9tIFwiQHRhbnN0YWNrL3JlYWN0LXJvdXRlclwiO1xuXG5pbXBvcnQgdHlwZSB7IFJvdXRlckNvbnRleHQgfSBmcm9tIFwiLi4vdHlwZXNcIjtcblxuaW1wb3J0IHsgY3JlYXRlQnJvd3Nlckhpc3RvcnksIGNyZWF0ZUhhc2hIaXN0b3J5LCBjcmVhdGVSb3V0ZXIgYXMgY3JlYXRlUm91dGVySW50ZXJuYWwgfSBmcm9tIFwiQHRhbnN0YWNrL3JlYWN0LXJvdXRlclwiO1xuaW1wb3J0IHsgTG9hZGVyLCBzaG93RXJyb3JOb3RpZmljYXRpb24gfSBmcm9tIFwiQHZlZi1mcmFtZXdvcmstcmVhY3QvY29tcG9uZW50c1wiO1xuaW1wb3J0IHsgZ2V0U2FuaXRpemVkRXJyb3JTdGFjaywgaGFzaEtleSB9IGZyb20gXCJAdmVmLWZyYW1ld29yay1yZWFjdC9zaGFyZWRcIjtcblxuaW1wb3J0IHsgRXJyb3IsIE5vdEZvdW5kLCBuUHJvZ3Jlc3NFdmVudEVtaXR0ZXIgfSBmcm9tIFwiLi4vY29tcG9uZW50c1wiO1xuaW1wb3J0IHsgQUNDRVNTX0RFTklFRF9ST1VURV9QQVRIIH0gZnJvbSBcIi4uL2NvbnN0YW50c1wiO1xuaW1wb3J0IHsgdXNlQXBwU3RvcmUsIHVzZVRhYlN0b3JlIH0gZnJvbSBcIi4uL3N0b3Jlc1wiO1xuaW1wb3J0IHsgaGFuZGxlQ2xpZW50TG9nb3V0IH0gZnJvbSBcIi4vYXV0aFwiO1xuaW1wb3J0IHsgb25BY2Nlc3NEZW5pZWQsIG9uVW5hdXRoZW50aWNhdGVkIH0gZnJvbSBcIi4vZXZlbnRcIjtcblxuZXhwb3J0IGludGVyZmFjZSBSb3V0ZXJPcHRpb25zIHtcbiAgaGlzdG9yeTogXCJoYXNoXCIgfCBcImJyb3dzZXJcIjtcbiAgcm91dGVUcmVlOiBBbnlSb3V0ZVdpdGhDb250ZXh0PFJvdXRlckNvbnRleHQ+O1xuICBjb250ZXh0OiBSb3V0ZXJDb250ZXh0O1xufVxuXG5jb25zdCBERUZBVUxUX0dDX1RJTUUgPSAxMCAqIDYwICogMTAwMDtcblxuZXhwb3J0IGZ1bmN0aW9uIGNyZWF0ZVJvdXRlcih7XG4gIGhpc3RvcnksXG4gIHJvdXRlVHJlZSxcbiAgY29udGV4dFxufTogUm91dGVyT3B0aW9ucykge1xuICBjb25zdCByb3V0ZXIgPSBjcmVhdGVSb3V0ZXJJbnRlcm5hbCh7XG4gICAgcm91dGVUcmVlLFxuICAgIGNvbnRleHQsXG4gICAgdHJhaWxpbmdTbGFzaDogXCJuZXZlclwiLFxuICAgIGNhc2VTZW5zaXRpdmU6IHRydWUsXG4gICAgaGlzdG9yeTogaGlzdG9yeSA9PT0gXCJoYXNoXCIgPyBjcmVhdGVIYXNoSGlzdG9yeSgpIDogY3JlYXRlQnJvd3Nlckhpc3RvcnkoKSxcbiAgICBzZWFyY2g6IHsgc3RyaWN0OiB0cnVlIH0sXG4gICAgbm90Rm91bmRNb2RlOiBcInJvb3RcIixcbiAgICBkZWZhdWx0UGVuZGluZ0NvbXBvbmVudDogKCkgPT4gPExvYWRlciBkZXNjcmlwdGlvbj1cIueOqeWRveWKoOi9veS4rSwg6K+356iN5a6J5Yu/6LqBLi4uXCIgZGVzY3JpcHRpb25TaXplPXsxOH0gc2l6ZT17NDh9IC8+LFxuICAgIGRlZmF1bHRFcnJvckNvbXBvbmVudDogRXJyb3IsXG4gICAgZGVmYXVsdE5vdEZvdW5kQ29tcG9uZW50OiBOb3RGb3VuZCxcbiAgICBkZWZhdWx0UGVuZGluZ01zOiA1MDAsXG4gICAgZGVmYXVsdFBlbmRpbmdNaW5NczogMzAwLFxuICAgIGRlZmF1bHRTdHJ1Y3R1cmFsU2hhcmluZzogdHJ1ZSxcbiAgICBkZWZhdWx0SGFzaFNjcm9sbEludG9WaWV3OiB7XG4gICAgICBiZWhhdmlvcjogXCJzbW9vdGhcIixcbiAgICAgIGJsb2NrOiBcInN0YXJ0XCIsXG4gICAgICBpbmxpbmU6IFwiY2VudGVyXCJcbiAgICB9LFxuICAgIGRlZmF1bHRQcmVsb2FkOiBcImludGVudFwiLFxuICAgIGRlZmF1bHRQcmVsb2FkRGVsYXk6IDUwLFxuICAgIGRlZmF1bHRQcmVsb2FkR2NUaW1lOiBERUZBVUxUX0dDX1RJTUUsXG4gICAgZGVmYXVsdEdjVGltZTogREVGQVVMVF9HQ19USU1FLFxuICAgIGRlZmF1bHRWaWV3VHJhbnNpdGlvbjogZmFsc2UsXG4gICAgYXN5bmMgZGVmYXVsdE9uQ2F0Y2goZXJyb3IpIHtcbiAgICAgIGNvbnN0IHN0YWNrID0gYXdhaXQgZ2V0U2FuaXRpemVkRXJyb3JTdGFjayhlcnJvcik7XG4gICAgICBzaG93RXJyb3JOb3RpZmljYXRpb24oXG4gICAgICAgIDxwcmUgY3NzPXt7IHdoaXRlU3BhY2U6IFwicHJlLXdyYXBcIiB9fT57c3RhY2t9PC9wcmU+LFxuICAgICAgICB7IHRpdGxlOiBlcnJvci5tZXNzYWdlIHx8IGVycm9yLm5hbWUgfVxuICAgICAgKTtcbiAgICB9XG4gIH0pO1xuXG4gIHJvdXRlci5zdWJzY3JpYmUoXCJvbkJlZm9yZUxvYWRcIiwgKHsgcGF0aENoYW5nZWQgfSkgPT4ge1xuICAgIGlmIChwYXRoQ2hhbmdlZCkge1xuICAgICAgblByb2dyZXNzRXZlbnRFbWl0dGVyLmVtaXQoXCJzdGFydFwiKTtcbiAgICB9XG4gIH0pO1xuXG4gIHJvdXRlci5zdWJzY3JpYmUoXCJvbkxvYWRcIiwgKCkgPT4gblByb2dyZXNzRXZlbnRFbWl0dGVyLmVtaXQoXCJjb21wbGV0ZVwiKSk7XG5cbiAgcm91dGVyLnN1YnNjcmliZShcIm9uTG9hZFwiLCBldmVudCA9PiB7XG4gICAgY29uc3QgbG9jYXRpb24gPSBldmVudC50b0xvY2F0aW9uO1xuICAgIGNvbnN0IG1hdGNoID0gcm91dGVyXG4gICAgICAubWF0Y2hSb3V0ZXMobG9jYXRpb24ucGF0aG5hbWUsIGxvY2F0aW9uLnNlYXJjaCwgeyBwcmVsb2FkOiBmYWxzZSwgdGhyb3dPbkVycm9yOiBmYWxzZSB9KVxuICAgICAgLmF0KC0xKSE7XG5cbiAgICBjb25zdCB7XG4gICAgICBmdWxsUGF0aCxcbiAgICAgIHBhcmFtcyxcbiAgICAgIHNlYXJjaCxcbiAgICAgIGNvbnRleHQ6IG1hdGNoQ29udGV4dFxuICAgIH0gPSBtYXRjaDtcbiAgICBjb25zdCB7IHVzZXJNZW51TWFwIH0gPSB1c2VBcHBTdG9yZS5nZXRTdGF0ZSgpO1xuICAgIGNvbnN0IHsgYWRkVGFiLCBzZXRBY3RpdmVUYWJJZCB9ID0gdXNlVGFiU3RvcmUuZ2V0U3RhdGUoKTtcblxuICAgIGNvbnN0IGlkID0gYCR7ZnVsbFBhdGh9fCR7aGFzaEtleShzZWFyY2gpfXwke2hhc2hLZXkocGFyYW1zKX1gO1xuICAgIGNvbnN0IHVzZXJNZW51ID0gdXNlck1lbnVNYXA/LmdldChmdWxsUGF0aCk7XG5cbiAgICBpZiAodXNlck1lbnUpIHtcbiAgICAgIGFkZFRhYih7XG4gICAgICAgIGlkLFxuICAgICAgICBmdWxsUGF0aCxcbiAgICAgICAgcGFyYW1zLFxuICAgICAgICBzZWFyY2gsXG4gICAgICAgIGxhYmVsOiBtYXRjaENvbnRleHQucm91dGVUaXRsZSB8fCB1c2VyTWVudS5uYW1lXG4gICAgICB9KTtcbiAgICAgIHNldEFjdGl2ZVRhYklkKGlkKTtcbiAgICB9XG4gIH0pO1xuXG4gIG9uQWNjZXNzRGVuaWVkKCgpID0+IHtcbiAgICByb3V0ZXIubmF2aWdhdGUoeyB0bzogQUNDRVNTX0RFTklFRF9ST1VURV9QQVRIIH0pO1xuICB9KTtcblxuICBvblVuYXV0aGVudGljYXRlZCgoKSA9PiB7XG4gICAgaGFuZGxlQ2xpZW50TG9nb3V0KHJvdXRlcik7XG4gIH0pO1xuXG4gIHJldHVybiByb3V0ZXI7XG59XG4iXX0= */",
|
|
24
|
+
toString: _
|
|
26
25
|
};
|
|
27
|
-
function
|
|
28
|
-
let
|
|
29
|
-
routeTree:
|
|
30
|
-
context:
|
|
26
|
+
function b({ history: _, routeTree: b, context: x }) {
|
|
27
|
+
let S = g({
|
|
28
|
+
routeTree: b,
|
|
29
|
+
context: x,
|
|
31
30
|
trailingSlash: "never",
|
|
32
31
|
caseSensitive: !0,
|
|
33
|
-
history:
|
|
32
|
+
history: _ === "hash" ? h() : m(),
|
|
34
33
|
search: { strict: !0 },
|
|
35
34
|
notFoundMode: "root",
|
|
36
|
-
defaultPendingComponent: () => /* @__PURE__ */
|
|
35
|
+
defaultPendingComponent: () => /* @__PURE__ */ p(l, {
|
|
37
36
|
description: "玩命加载中, 请稍安勿躁...",
|
|
38
37
|
descriptionSize: 18,
|
|
39
38
|
size: 48
|
|
40
39
|
}),
|
|
41
|
-
defaultErrorComponent:
|
|
42
|
-
defaultNotFoundComponent:
|
|
40
|
+
defaultErrorComponent: o,
|
|
41
|
+
defaultNotFoundComponent: s,
|
|
43
42
|
defaultPendingMs: 500,
|
|
44
43
|
defaultPendingMinMs: 300,
|
|
45
44
|
defaultStructuralSharing: !0,
|
|
@@ -50,35 +49,35 @@ function x({ history: v, routeTree: x, context: S }) {
|
|
|
50
49
|
},
|
|
51
50
|
defaultPreload: "intent",
|
|
52
51
|
defaultPreloadDelay: 50,
|
|
53
|
-
defaultPreloadGcTime:
|
|
54
|
-
defaultGcTime:
|
|
52
|
+
defaultPreloadGcTime: v,
|
|
53
|
+
defaultGcTime: v,
|
|
55
54
|
defaultViewTransition: !1,
|
|
56
55
|
async defaultOnCatch(e) {
|
|
57
|
-
|
|
58
|
-
css:
|
|
59
|
-
children: await
|
|
56
|
+
u(/* @__PURE__ */ p("pre", {
|
|
57
|
+
css: y,
|
|
58
|
+
children: await d(e)
|
|
60
59
|
}), { title: e.message || e.name });
|
|
61
60
|
}
|
|
62
61
|
});
|
|
63
|
-
return
|
|
64
|
-
e &&
|
|
65
|
-
}),
|
|
66
|
-
let
|
|
62
|
+
return S.subscribe("onBeforeLoad", ({ pathChanged: e }) => {
|
|
63
|
+
e && a.emit("start");
|
|
64
|
+
}), S.subscribe("onLoad", () => a.emit("complete")), S.subscribe("onLoad", (e) => {
|
|
65
|
+
let r = e.toLocation, { fullPath: i, params: a, search: o, context: s } = S.matchRoutes(r.pathname, r.search, {
|
|
67
66
|
preload: !1,
|
|
68
67
|
throwOnError: !1
|
|
69
|
-
}).at(-1), { userMenuMap: c } =
|
|
70
|
-
|
|
68
|
+
}).at(-1), { userMenuMap: c } = t.getState(), { addTab: l, setActiveTabId: u } = n.getState(), d = `${i}|${f(o)}|${f(a)}`, p = c?.get(i);
|
|
69
|
+
p && (l({
|
|
71
70
|
id: d,
|
|
72
|
-
fullPath:
|
|
73
|
-
params:
|
|
71
|
+
fullPath: i,
|
|
72
|
+
params: a,
|
|
74
73
|
search: o,
|
|
75
|
-
label: s.routeTitle ||
|
|
74
|
+
label: s.routeTitle || p.name
|
|
76
75
|
}), u(d));
|
|
77
|
-
}),
|
|
78
|
-
|
|
79
|
-
}),
|
|
80
|
-
|
|
81
|
-
}),
|
|
76
|
+
}), r(() => {
|
|
77
|
+
S.navigate({ to: e });
|
|
78
|
+
}), i(() => {
|
|
79
|
+
c(S);
|
|
80
|
+
}), S;
|
|
82
81
|
}
|
|
83
82
|
//#endregion
|
|
84
|
-
export {
|
|
83
|
+
export { b as createRouter };
|
package/dist/es/hooks/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! @vef-framework-react/starter v2.1.
|
|
1
|
+
/*! @vef-framework-react/starter v2.1.5 made by Venus | 2026-03-31T12:34:42.017Z */
|
|
2
2
|
import "./use-route-full-path.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/*! @vef-framework-react/starter v2.1.
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
/*! @vef-framework-react/starter v2.1.5 made by Venus | 2026-03-31T12:34:42.017Z */
|
|
2
|
+
import { useMemo as e } from "react";
|
|
3
|
+
import { useLocation as t, useRouter as n } from "@tanstack/react-router";
|
|
4
4
|
//#region src/hooks/use-route-full-path.ts
|
|
5
5
|
function r() {
|
|
6
|
-
let r =
|
|
6
|
+
let r = n(), { pathname: i, search: a } = t({ select: (e) => ({
|
|
7
7
|
pathname: e.pathname,
|
|
8
8
|
search: e.search
|
|
9
9
|
}) });
|
|
10
|
-
return
|
|
10
|
+
return e(() => r.matchRoutes(i, a, {
|
|
11
11
|
preload: !1,
|
|
12
12
|
throwOnError: !1
|
|
13
13
|
}).at(-1).fullPath, [
|
package/dist/es/index.js
CHANGED
|
@@ -1,32 +1,17 @@
|
|
|
1
|
-
/*! @vef-framework-react/starter v2.1.
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
/*! @vef-framework-react/starter v2.1.5 made by Venus | 2026-03-31T12:34:42.017Z */
|
|
2
|
+
import { ACCESS_DENIED_ROUTE_ID as e, ACCESS_DENIED_ROUTE_PATH as t, INDEX_ROUTE_ID as n, INDEX_ROUTE_PATH as r, LOGIN_ROUTE_ID as i, LOGIN_ROUTE_PATH as a } from "./constants/router.js";
|
|
3
|
+
import { useAppStore as o } from "./stores/app.js";
|
|
4
|
+
import { useTabStore as s } from "./stores/tab.js";
|
|
5
|
+
import { useThemeStore as c } from "./stores/theme.js";
|
|
6
|
+
import { dispatchCustomEvent as l, emitAccessDenied as u, emitUnauthenticated as d } from "./helpers/event.js";
|
|
7
|
+
import { createApiClient as f } from "./helpers/api.js";
|
|
6
8
|
import { setupAppVersionNotification as p } from "./helpers/app-version.js";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
|
|
16
|
-
import { FormModal as C } from "./components/form-modal/index.js";
|
|
17
|
-
import { createCrudKit as w } from "./components/crud/helpers.js";
|
|
18
|
-
import { Crud as T } from "./components/crud/index.js";
|
|
19
|
-
import { dispatchCustomEvent as E, eventEmitter as D, reloadPage as O } from "./helpers/event.js";
|
|
20
|
-
import { createApiClient as k } from "./helpers/api.js";
|
|
21
|
-
import { createApp as A } from "./helpers/app.js";
|
|
22
|
-
import { handleClientLogout as j } from "./helpers/auth.js";
|
|
23
|
-
import { extractQueryParams as M, noopMutationFn as N } from "./helpers/query.js";
|
|
24
|
-
import { createRouter as P } from "./helpers/router.js";
|
|
25
|
-
import { useViewportHeight as F } from "./components/page/viewport-context.js";
|
|
26
|
-
import { Page as I } from "./components/page/index.js";
|
|
27
|
-
import { CrudPage as L } from "./components/crud-page/index.js";
|
|
28
|
-
import { createAccessDeniedRouteOptions as R } from "./routes/access-denied.js";
|
|
29
|
-
import { createLayoutRouteOptions as z } from "./routes/layout.js";
|
|
30
|
-
import { createLoginRouteOptions as B } from "./routes/login.js";
|
|
31
|
-
import { createRootRouteOptions as V } from "./routes/root.js";
|
|
32
|
-
export { e as ACCESS_DENIED_EVENT, r as ACCESS_DENIED_ROUTE_ID, i as ACCESS_DENIED_ROUTE_PATH, T as Crud, L as CrudPage, _ as FlexCard, S as FormDrawer, C as FormModal, a as INDEX_ROUTE_ID, o as INDEX_ROUTE_PATH, s as LOGIN_ROUTE_ID, c as LOGIN_ROUTE_PATH, v as OperationButtonGroup, I as Page, x as ProSearch, b as ProTable, y as ProTableSubscriber, t as RELOAD_PAGE_EVENT, l as STORAGE_KEY_PREFIX_STORE, u as STORAGE_KEY_SUFFIX_STORE, d as SYMBOL_PAGINATION, f as SYMBOL_SORT, n as UNAUTHENTICATED_EVENT, R as createAccessDeniedRouteOptions, k as createApiClient, A as createApp, w as createCrudKit, z as createLayoutRouteOptions, B as createLoginRouteOptions, V as createRootRouteOptions, P as createRouter, E as dispatchCustomEvent, D as eventEmitter, M as extractQueryParams, j as handleClientLogout, N as noopMutationFn, O as reloadPage, p as setupAppVersionNotification, m as useAppStore, h as useTabStore, g as useThemeStore, F as useViewportHeight };
|
|
9
|
+
import { createApp as m } from "./helpers/app.js";
|
|
10
|
+
import { handleClientLogout as h } from "./helpers/auth.js";
|
|
11
|
+
import { extractQueryParams as g, noopMutationFn as _ } from "./helpers/query.js";
|
|
12
|
+
import { createRouter as v } from "./helpers/router.js";
|
|
13
|
+
import { createAccessDeniedRouteOptions as y } from "./routes/access-denied.js";
|
|
14
|
+
import { createLayoutRouteOptions as b } from "./routes/layout.js";
|
|
15
|
+
import { createLoginRouteOptions as x } from "./routes/login.js";
|
|
16
|
+
import { createRootRouteOptions as S } from "./routes/root.js";
|
|
17
|
+
export { e as ACCESS_DENIED_ROUTE_ID, t as ACCESS_DENIED_ROUTE_PATH, n as INDEX_ROUTE_ID, r as INDEX_ROUTE_PATH, i as LOGIN_ROUTE_ID, a as LOGIN_ROUTE_PATH, y as createAccessDeniedRouteOptions, f as createApiClient, m as createApp, b as createLayoutRouteOptions, x as createLoginRouteOptions, S as createRootRouteOptions, v as createRouter, l as dispatchCustomEvent, u as emitAccessDenied, d as emitUnauthenticated, g as extractQueryParams, h as handleClientLogout, _ as noopMutationFn, p as setupAppVersionNotification, o as useAppStore, s as useTabStore, c as useThemeStore };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/starter v2.1.
|
|
1
|
+
/*! @vef-framework-react/starter v2.1.5 made by Venus | 2026-03-31T12:34:42.017Z */
|
|
2
2
|
import "../constants/router.js";
|
|
3
3
|
import { AccessDenied as e } from "../components/access-denied/index.js";
|
|
4
4
|
//#region src/routes/access-denied.ts
|
package/dist/es/routes/index.js
CHANGED
package/dist/es/routes/layout.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/*! @vef-framework-react/starter v2.1.
|
|
1
|
+
/*! @vef-framework-react/starter v2.1.5 made by Venus | 2026-03-31T12:34:42.017Z */
|
|
2
2
|
import { ACCESS_DENIED_ROUTE_PATH as e, LOGIN_ROUTE_PATH as t } from "../constants/router.js";
|
|
3
3
|
import { useAppStore as n } from "../stores/app.js";
|
|
4
4
|
import { Error as r } from "../components/error/index.js";
|
|
5
5
|
import { Layout as i } from "../components/layout/index.js";
|
|
6
6
|
import { NotFound as a } from "../components/not-found/index.js";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
7
|
+
import { DynamicIcon as o, Loader as s } from "@vef-framework-react/components";
|
|
8
|
+
import { jsx as c } from "@emotion/react/jsx-runtime";
|
|
9
|
+
import { Outlet as l, redirect as u } from "@tanstack/react-router";
|
|
10
10
|
//#region src/routes/layout.tsx
|
|
11
11
|
function d(e, t = /* @__PURE__ */ new Map()) {
|
|
12
12
|
for (let n of e) n.children && d(n.children, t), t.set(n.path, n);
|
|
@@ -20,7 +20,7 @@ function f(e, t = [], n = /* @__PURE__ */ new Map()) {
|
|
|
20
20
|
return n;
|
|
21
21
|
}
|
|
22
22
|
function p(e) {
|
|
23
|
-
let { path: t, type: n, name: r, icon: i } = e, a = i ? /* @__PURE__ */ o
|
|
23
|
+
let { path: t, type: n, name: r, icon: i } = e, a = i ? /* @__PURE__ */ c(o, { name: i }) : void 0;
|
|
24
24
|
return n === "directory" ? {
|
|
25
25
|
type: "submenu",
|
|
26
26
|
key: t,
|
|
@@ -37,40 +37,40 @@ function p(e) {
|
|
|
37
37
|
function m(e) {
|
|
38
38
|
return e.filter((e) => e.type !== "view").map((e) => Object.freeze(p(e)));
|
|
39
39
|
}
|
|
40
|
-
function h({ fetchUserInfo:
|
|
40
|
+
function h({ fetchUserInfo: o, ...p }) {
|
|
41
41
|
function h() {
|
|
42
|
-
return /* @__PURE__ */
|
|
42
|
+
return /* @__PURE__ */ c(i, {
|
|
43
43
|
...p,
|
|
44
|
-
children: /* @__PURE__ */
|
|
44
|
+
children: /* @__PURE__ */ c(l, {})
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
return {
|
|
48
48
|
beforeLoad: ({ location: r }) => {
|
|
49
49
|
let { isAuthenticated: i, userMenuMap: a } = n.getState();
|
|
50
|
-
if (!i) throw
|
|
50
|
+
if (!i) throw u({
|
|
51
51
|
to: t,
|
|
52
52
|
search: { redirect: r.href }
|
|
53
53
|
});
|
|
54
|
-
if (a && !a.has(r.pathname)) throw
|
|
54
|
+
if (a && !a.has(r.pathname)) throw u({
|
|
55
55
|
to: e,
|
|
56
56
|
replace: !0
|
|
57
57
|
});
|
|
58
58
|
},
|
|
59
59
|
loader: async ({ location: t }) => {
|
|
60
|
-
let { permTokens: r, ...i } = await
|
|
60
|
+
let { permTokens: r, ...i } = await o(), { menus: a } = i, s = Object.freeze(d(a)), c = Object.freeze(f(a)), l = Object.freeze(m(a));
|
|
61
61
|
if (n.setState({
|
|
62
62
|
...n.getState(),
|
|
63
63
|
userInfo: Object.freeze(i),
|
|
64
|
-
userMenuMap:
|
|
65
|
-
menuPathMap:
|
|
66
|
-
menuItems:
|
|
64
|
+
userMenuMap: s,
|
|
65
|
+
menuPathMap: c,
|
|
66
|
+
menuItems: l,
|
|
67
67
|
permTokens: Object.freeze(new Set(r))
|
|
68
|
-
}), !
|
|
68
|
+
}), !s.has(t.pathname)) throw u({
|
|
69
69
|
to: e,
|
|
70
70
|
replace: !0
|
|
71
71
|
});
|
|
72
72
|
},
|
|
73
|
-
pendingComponent: () => /* @__PURE__ */
|
|
73
|
+
pendingComponent: () => /* @__PURE__ */ c(s, {
|
|
74
74
|
description: "页面玩命加载中, 请稍后...",
|
|
75
75
|
descriptionSize: 18,
|
|
76
76
|
size: 48
|
package/dist/es/routes/login.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
/*! @vef-framework-react/starter v2.1.
|
|
1
|
+
/*! @vef-framework-react/starter v2.1.5 made by Venus | 2026-03-31T12:34:42.017Z */
|
|
2
2
|
import "../constants/router.js";
|
|
3
3
|
import { useAppStore as e } from "../stores/app.js";
|
|
4
4
|
import { Login as t } from "../components/login/index.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
5
|
+
import { z as n } from "@vef-framework-react/shared";
|
|
6
|
+
import { jsx as r } from "@emotion/react/jsx-runtime";
|
|
7
|
+
import { redirect as i } from "@tanstack/react-router";
|
|
8
8
|
//#region src/routes/login.tsx
|
|
9
9
|
function a(a) {
|
|
10
10
|
function o() {
|
|
11
|
-
return /* @__PURE__ */
|
|
11
|
+
return /* @__PURE__ */ r(t, { ...a });
|
|
12
12
|
}
|
|
13
13
|
return {
|
|
14
|
-
validateSearch:
|
|
14
|
+
validateSearch: n.object({ redirect: n.string().optional().default("/").catch("/") }),
|
|
15
15
|
beforeLoad: ({ search: t }) => {
|
|
16
|
-
if (e.getState().isAuthenticated) throw
|
|
16
|
+
if (e.getState().isAuthenticated) throw i({
|
|
17
17
|
to: t.redirect,
|
|
18
18
|
replace: !0
|
|
19
19
|
});
|
package/dist/es/routes/root.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/starter v2.1.
|
|
1
|
+
/*! @vef-framework-react/starter v2.1.5 made by Venus | 2026-03-31T12:34:42.017Z */
|
|
2
2
|
import { useAppStore as e } from "../stores/app.js";
|
|
3
3
|
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
4
4
|
import { Outlet as n, useLocation as r, useRouteContext as i } from "@tanstack/react-router";
|
package/dist/es/stores/app.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/starter v2.1.
|
|
1
|
+
/*! @vef-framework-react/starter v2.1.5 made by Venus | 2026-03-31T12:34:42.017Z */
|
|
2
2
|
import { createPersistedStore as e } from "@vef-framework-react/core";
|
|
3
3
|
//#region src/stores/app.ts
|
|
4
4
|
var t = e(() => ({ isAuthenticated: !1 }), {
|
package/dist/es/stores/index.js
CHANGED
package/dist/es/stores/tab.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/starter v2.1.
|
|
1
|
+
/*! @vef-framework-react/starter v2.1.5 made by Venus | 2026-03-31T12:34:42.017Z */
|
|
2
2
|
import "../constants/router.js";
|
|
3
3
|
import { createPersistedStore as e, originalState as t } from "@vef-framework-react/core";
|
|
4
4
|
//#region src/stores/tab.ts
|
package/dist/es/stores/theme.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/*! @vef-framework-react/starter v2.1.
|
|
1
|
+
/*! @vef-framework-react/starter v2.1.5 made by Venus | 2026-03-31T12:34:42.017Z */
|
|
2
2
|
import { createPersistedStore as e } from "@vef-framework-react/core";
|
|
3
3
|
import { omit as t } from "@vef-framework-react/shared";
|
|
4
4
|
//#region src/stores/theme.ts
|
|
5
5
|
var n = {
|
|
6
6
|
colorScheme: "system",
|
|
7
7
|
colors: {
|
|
8
|
-
primary: "#
|
|
8
|
+
primary: "#155dfc",
|
|
9
9
|
success: "#00c951",
|
|
10
10
|
info: "#00a6f4",
|
|
11
11
|
warning: "#ff6900",
|
|
@@ -1,19 +1,10 @@
|
|
|
1
1
|
export { AccessDenied } from './access-denied';
|
|
2
2
|
export { App, type AppProps } from './app';
|
|
3
3
|
export { BaseLayout, type BaseLayoutProps } from './base-layout';
|
|
4
|
-
export { createCrudKit, Crud, type CrudActionButtonGroupProps, type CrudBasicFormScene, type CrudBasicSceneFormValues, type CrudFormMutationFns, type CrudFormScene, type CrudKit, type CrudOperationButtonGroupProps, type CrudProps, type PaginatedQueryParams, type QueryParams } from './crud';
|
|
5
|
-
export { CrudPage, type CrudPageProps } from './crud-page';
|
|
6
4
|
export { Error } from './error';
|
|
7
|
-
export { FlexCard, type FlexCardProps } from './flex-card';
|
|
8
|
-
export { FormDrawer, type FormDrawerProps } from './form-drawer';
|
|
9
|
-
export { FormModal, type FormModalProps } from './form-modal';
|
|
10
5
|
export { Layout, type LayoutProps } from './layout';
|
|
11
6
|
export { Login, type LoginParams, type LoginProps, type LoginResult } from './login';
|
|
12
|
-
export {
|
|
13
|
-
export { nProgressEventEmitter } from './n-progress';
|
|
7
|
+
export { NProgress, nProgressEventEmitter } from './n-progress';
|
|
14
8
|
export { NotFound } from './not-found';
|
|
15
|
-
export { Page, useViewportHeight, type PageProps } from './page';
|
|
16
|
-
export { ProSearch, type ProSearchProps } from './pro-search';
|
|
17
|
-
export { OperationButtonGroup, ProTable, ProTableSubscriber, type OperationButtonGroupProps, type OperationColumnConfig, type ParamsWithPagination, type ParamsWithSort, type ProTableProps, type ProTableRef, type ProTableState, type ProTableSubscriberProps, type RowSelectionConfig } from './pro-table';
|
|
18
9
|
export { RouterContextHookProvider, RouterProvider, type RouterProviderProps, type UseRouterContext } from './router-provider';
|
|
19
10
|
export { ThemeConfigProvider } from './theme-config-provider';
|
|
@@ -8,9 +8,9 @@ export type LoginParams = PasswordLoginParams;
|
|
|
8
8
|
*/
|
|
9
9
|
interface BaseLoginParams<T = unknown> {
|
|
10
10
|
/**
|
|
11
|
-
* The authentication
|
|
11
|
+
* The authentication type
|
|
12
12
|
*/
|
|
13
|
-
|
|
13
|
+
type: string;
|
|
14
14
|
/**
|
|
15
15
|
* The user identifier (username, email, phone, etc.)
|
|
16
16
|
*/
|
|
@@ -25,9 +25,9 @@ interface BaseLoginParams<T = unknown> {
|
|
|
25
25
|
*/
|
|
26
26
|
export interface PasswordLoginParams extends BaseLoginParams<string> {
|
|
27
27
|
/**
|
|
28
|
-
* The authentication
|
|
28
|
+
* The authentication type
|
|
29
29
|
*/
|
|
30
|
-
|
|
30
|
+
type: "password";
|
|
31
31
|
}
|
|
32
32
|
/**
|
|
33
33
|
* The result of a login operation
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export { ACCESS_DENIED_EVENT,
|
|
1
|
+
export { ACCESS_DENIED_EVENT, UNAUTHENTICATED_EVENT } from './event';
|
|
2
2
|
export { ACCESS_DENIED_ROUTE_ID, ACCESS_DENIED_ROUTE_PATH, INDEX_ROUTE_ID, INDEX_ROUTE_PATH, LOGIN_ROUTE_ID, LOGIN_ROUTE_PATH } from './router';
|
|
3
3
|
export { STORAGE_KEY_PREFIX_STORE, STORAGE_KEY_SUFFIX_STORE } from './storage';
|
|
4
|
-
export { SYMBOL_PAGINATION, SYMBOL_SORT } from './symbols';
|
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
import { EventEmitter } from '@vef-framework-react/shared';
|
|
2
|
-
export declare const eventEmitter: EventEmitter<{
|
|
3
|
-
__vef_reload_page_event: string;
|
|
4
|
-
__vef_access_denied_event: void;
|
|
5
|
-
__vef_unauthenticated_event: void;
|
|
6
|
-
}>;
|
|
7
1
|
export declare function dispatchCustomEvent<T = unknown>(type: string, options?: CustomEventInit<T>): boolean;
|
|
8
|
-
export declare function reloadPage(key: string): void;
|
|
9
2
|
export declare function emitAccessDenied(): void;
|
|
3
|
+
export declare function onAccessDenied(listener: () => void): () => void;
|
|
10
4
|
export declare function emitUnauthenticated(): void;
|
|
5
|
+
export declare function onUnauthenticated(listener: () => void): () => void;
|
|
@@ -2,6 +2,6 @@ export { createApiClient, type ApiClientOptions } from './api';
|
|
|
2
2
|
export { createApp } from './app';
|
|
3
3
|
export { setupAppVersionNotification, type AppChangelog, type AppVersionNotificationOptions } from './app-version';
|
|
4
4
|
export { handleClientLogout } from './auth';
|
|
5
|
-
export { dispatchCustomEvent,
|
|
5
|
+
export { dispatchCustomEvent, emitAccessDenied, emitUnauthenticated, onAccessDenied, onUnauthenticated } from './event';
|
|
6
6
|
export { extractQueryParams, noopMutationFn } from './query';
|
|
7
7
|
export { createRouter, type RouterOptions } from './router';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PaginationParams } from '@vef-framework-react/core';
|
|
2
2
|
import { AnyObject, MaybeUndefined } from '@vef-framework-react/shared';
|
|
3
3
|
import { OrderSpec } from '../types';
|
|
4
|
-
import { SYMBOL_PAGINATION, SYMBOL_SORT } from '
|
|
4
|
+
import { SYMBOL_PAGINATION, SYMBOL_SORT } from '@vef-framework-react/components';
|
|
5
5
|
export declare function noopMutationFn<TResult = unknown, TArgs extends unknown[] = unknown[]>(..._args: TArgs): Promise<TResult>;
|
|
6
6
|
export declare namespace noopMutationFn {
|
|
7
7
|
var key: string;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export * from './stores';
|
|
1
|
+
export { ACCESS_DENIED_ROUTE_ID, ACCESS_DENIED_ROUTE_PATH, INDEX_ROUTE_ID, INDEX_ROUTE_PATH, LOGIN_ROUTE_ID, LOGIN_ROUTE_PATH } from './constants';
|
|
2
|
+
export { createApiClient, createApp, createRouter, dispatchCustomEvent, emitAccessDenied, emitUnauthenticated, extractQueryParams, handleClientLogout, noopMutationFn, setupAppVersionNotification, type ApiClientOptions, type AppChangelog, type AppVersionNotificationOptions, type RouterOptions } from './helpers';
|
|
3
|
+
export { createAccessDeniedRouteOptions, createLayoutRouteOptions, createLoginRouteOptions, createRootRouteOptions } from './routes';
|
|
4
|
+
export { useAppStore, useTabStore, useThemeStore, type AppState, type ColorScheme, type Tab, type TabState, type ThemeColors, type ThemeState } from './stores';
|
|
6
5
|
export type * from './types';
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
export { useAppStore } from './app';
|
|
2
|
-
export type
|
|
3
|
-
export {
|
|
4
|
-
export type { Tab, TabState } from './tab';
|
|
5
|
-
export { useThemeStore } from './theme';
|
|
6
|
-
export type { ColorScheme, ThemeColors, ThemeState } from './theme';
|
|
1
|
+
export { useAppStore, type AppState } from './app';
|
|
2
|
+
export { useTabStore, type Tab, type TabState } from './tab';
|
|
3
|
+
export { useThemeStore, type ColorScheme, type ThemeColors, type ThemeState } from './theme';
|