mirror of
https://github.com/nocobase/nocobase.git
synced 2026-08-28 17:43:07 +08:00
d6672a3903
* refactor(admin-layout): modelize layout slots * refactor(admin-layout): decouple layout runtime * fix(admin-layout): restore layout content export * fix(admin-layout): address review feedback * fix(admin-layout): avoid stale menu render * refactor(admin-layout): remove unused imports * refactor(admin-layout): move layout render * refactor(admin-layout): extract layout shell * fix(admin-layout): restore menu route sync * fix(admin-layout): fix designer buttons * fix(admin-layout): fix build type error * refactor(admin-layout): update menu model rendering * refactor(admin-layout): export AdminProvider from admin-shell * fix(admin-layout): address review comments * refactor(admin-layout): add CurrentRouteProvider export * refactor(admin-layout): migrate menu toolbar to v2 (#8905) * refactor(route-repository): centralize desktop route ops * feat(menu): add useAPIClient import * feat(flow-engine): support nested settings actions * refactor(admin-layout): move menu toolbar to flow settings * fix(admin-layout): align header menu theme * docs(plan): update task 3 progress * refactor(admin-layout): migrate menu drag * docs(plan): update task status * fix(admin-layout): use default drag icon * docs(plan): finalize task 4 * fix(types): resolve branch type errors * fix(admin-layout): hide menu flow entry * fix(flow-engine): hide menu flow entry * docs(plan): remove tracking file * fix(client): address review feedback * fix(client): address more review feedback * fix(client): address latest review feedback * fix(client): stabilize mocked flow model * fix(client): update move position options type * fix(client): address new review feedback * fix(flow): declare missing type for BaseFlowEngineContext * refactor(flow-context): change type of 'key' in t method * refactor(collection-utils): specify return type for translation function * refactor(admin-layout): drop header actions model (#8910) * refactor(admin-layout): drop header actions model * refactor(admin-layout): type actions render * fix(import-action): correct namespace usage in import message * refactor(admin-layout): drop content model (#8912) * refactor(admin-layout): unify menu items (#8915) * refactor(admin-layout): simplify menu item flow (#8924) * refactor(admin-layout): enhance menu item creation flow * refactor(admin-layout): hide settings option in menu creation * refactor(admin-layout): update step title for menu item flow * feat(locale): add menu creation and type translations * feat(admin-layout): add AdminLayoutMenuUtils for menu management * refactor(admin-layout): simplify menu schema creation * refactor(admin-layout): rename menu item method for clarity * refactor(admin-layout): rename menuCreationSessions to menuItems * fix(admin-layout): address review feedback * refactor(admin-layout): use NavigateFunction type for navigation * refactor(useAdminLayoutRoutePage): change import to type * refactor(flow): remove unused designable logic * refactor(flow): remove unused mobile layout logic * refactor(flow): remove currentRoute references * refactor(flow): update refreshDesktopRoutes to return a Promise * refactor(flow): remove unused active references and logic * refactor(flow): migrate to use FlowContext for API and theme * refactor(test): simplify addFieldInterfaces call * refactor(test): enhance PageModel closeGuard flow tests * build(package.json): add exports field for module compatibility * fix(client): resolve flow model cycles * fix(flow-engine): init dark theme before render * fix(build): reorder client declaration build * fix(admin-layout): parse link vars * fix(admin-layout): adjust component props for link settings * fix(client-v2): fix dayjs range types * docs: remove outdated admin-layout link flow context plan * refactor(client): migrate header actions source * feat(admin-layout): implement AdminLayoutComponent * refactor(admin-layout): restructure menu and model imports - Moved AdminLayoutMenuModels and related exports to a new flow directory. - Updated AdminLayoutModel to use new imports and added mobile layout handling. - Refactored tests to align with new route paths. - Simplified SystemSettingsProvider and introduced SystemSettingsSource. * feat(route): add unsubscribe method and update route handling * refactor(routes): simplify resource access in useNocoBaseRoutes * refactor(admin-layout): clean up imports in AdminLayout files * feat(admin-layout): add AdminLayoutModel tests and refactor * feat(ai): migrate AI management to flow structure * refactor(plugin): enhance Plugin class with generics * refactor(WebSocketClient): update pingInterval default value * refactor(RouterManager): remove unused import from react-router * refactor(RouterManager): remove unused import from react-router * refactor(RouterManager): enhance RouterManager with generics * refactor(PluginManager): enhance type safety with generics * refactor(PluginSettingsManager): enhance type safety with generics * refactor(ApplicationModel): export ApplicationModel class * refactor(client): share app runtime in base * refactor(BaseApplication): simplify scope merging logic * refactor(client): lift shared app helpers * refactor(BaseApplication): change ws type to WebSocketClient * refactor(client): move ai to client-v2 * refactor(PluginSettingsManager): add type annotations to renderIcon * refactor(BaseApplication): integrate AI and header actions managers * refactor(client): move route repo to v2 * refactor(admin-shell): update mobile layout context and provider * refactor(mobile-layout): remove deprecated context and provider * refactor(admin-shell): reorganize mobile layout exports * refactor(route): migrate to new route structure and components - Updated RouteRepository to use APIClient from @nocobase/sdk. - Removed KeepAlive component and related files from admin-shell. - Introduced new AdminDynamicPage and AdminShellProvider components. - Refactored route-runtime and route-utils for better organization. - Added tests for RoutesRequestProvider. * refactor(ai): update exports for AIManager and tools * refactor(plugin): move aiManager access to core Plugin * feat(icon): add Icon component and registration functions * refactor(page): remove redundant imports for KeepAlive * refactor(client): migrate flow exports * feat(components): add application error handling components * refactor(components): reorganize default components structure * refactor(application): simplify component rendering logic * refactor(client): hoist shared app context * refactor(components): remove AppComponent export * refactor(components): remove unused default components * refactor(pm): remove unused imports from index.tsx * feat(client): add built-in plugins and locale support * feat(plugin-auth): add client-v2 auth * refactor(header): rename HeaderActionRendererLite to HeaderActionRenderer * feat(acl): implement ACL context and role checks * feat(rsbuild): add local and static storage paths * feat(route): add accessible route loading mechanism * refactor(acl): use pathnameRef for location handling * feat(admin-layout): add AdminLayout component * feat(flow): add FlowRoute component and update imports * feat(globalDeps): add nocobase utils to global dependencies * fix(packageUrls): improve caching logic in get method * style(basic.tsx): remove unnecessary blank lines in imports * feat(css-variable): update token usage to use theme from antd * feat(css-variable): add CSSVariableProvider for theme variables * fix(flow): use useParams for pageUid retrieval * fix(auth): align v2 signin page * feat(client-v2): init data source runtime * docs(execution-plan): add client-v2 data source init plan * fix(build): restore client v2 build order * refactor(flow-compat): update DataSourceManager import * refactor(pm): remove unused imports in PluginManager * feat(client-v2): add settings center * refactor(settings): improve layout responsiveness and styles * style(settings): improve layout overflow handling * refactor(settings): simplify rendering in AdminSettingsLayoutModel * refactor(plugin): use dynamic imports for components * feat(settings): integrate language codes into SystemSettingsPage * feat: topbar * fix: improve topbar * refactor(preset-nocobase): split client-v2 entry * refactor(client-v2): migrate field interfaces * refactor(build): remove client-v2 references and simplify build logic * refactor(flow-engine): remove async subclass retrieval method * fix: client-v1 build error * fix(test): update import path for injectRecordPickerPopupContext * refactor(admin-layout): separate AdminLayoutComponentV1 import * fix: build error * fix: build error * fix(client): stabilize frontend tests * fix: runtime error * fix(client): repair frontend test contexts * chore(execution): remove outdated execution plans for client-v2 * test: fix test errors * style(index): add import for antd reset CSS * fix(block-provider): export useTableBlockContextBasicValue * feat(topbar): add TopbarActionsBar and related tests * fix(client-v2): persist topbar ui editor state * test(schema-initializer): enhance component imports and tests * fix(topbar): enhance dropdown behavior and styling * fix(topbar): add route path handling in settings items * fix(admin-layout): remove dynamic flows editor option * fix: make tests pass * feat(admin-layout): add state hydration for menu items * fix(client): split admin menu flows * fix(client): align useVariables test providers with router * fix(client): avoid barrel imports for useMobileLayout * refactor(plugin): remove unused security settings * refactor(client-v2): simplify settings manager * fix(client-v2): keep settings routes and navigation consistent * fix(client-v2): relax app manager typings * feat(client-v2): add user center action models and UI * fix(client-v2): align user center menu * refactor(client-v2): rename page tab api * refactor(client-v2): remove unused pluginSettingsRouter * refactor(client-v2): replace lodash-es with lodash * fix(client-v2): ensure non-null assertions for managers * refactor(client-v2): enhance Plugin options type * refactor(client-v2): improve component type handling * test(ColorPicker): improve hover interaction handling * refactor(plugin): enhance plugin options and settings management - Updated PluginOptions interface to support generic configuration types. - Improved type safety in Plugin class and related methods. - Refactored PluginSettingsManager to include additional methods. - Enhanced RouterManager with new route management functions. - Updated AppComponents to handle error payloads more effectively. - Refined test cases for better type handling and clarity. - General code cleanup and type assertions for better maintainability. * refactor(client-v2): unify plugin settings manager types * feat(auth): v2 跳转到 v1 登录页及登录后回跳修复 * fix(admin-layout): ensure header button placement works correctly * refactor(plugin): update PluginOptions to include options field * refactor(models): update import statements for DefaultStructure * refactor(Application): enhance plugin manager integration * refactor(Application): enhance type definitions and structure * feat(admin-layout): enhance routing for legacy pages - Implemented runtime target resolution for admin routes. - Added tests for route resolution logic. - Updated AdminLayout to handle legacy page navigation. - Improved FlowRoute component to manage page UID and navigation. - Added localization for classic page access prompts. * test: fix tests * refactor(Application): update type definitions and add new method * style(admin-layout): adjust flow settings toolbar style * fix(CurrentUserProvider): use locationRef for redirects Co-authored-by: Copilot <copilot@github.com> * refactor(ApplicationModel): use logical assignment for providers and router * fix(AdminLayoutMenuItemModel): conditionally hydrate persisted state * fix(CalendarPopupModels): update import path for models * fix(AdminLayoutMenuModelRenderer): use theme token for padding Co-authored-by: Copilot <copilot@github.com> * feat(AdminLayoutMenuItemModel): add support for persisted menu instance flow * feat(flowSettings): add flow settings preference management * feat(AdminLayout): implement legacy menu state hydration * fix(data-source): update getDataSource method signature * fix(api-client): update APIClientContext initialization Co-authored-by: Copilot <copilot@github.com> * test(api): add fallback tests for API client and role variable * fix(admin-layout): stabilize overflow menu dragging Keep overflow popup toolbars visible while dragging. Align drag overlays to popup hosts and use host-aware collision detection in v1 and v2. * refactor(plugin-manager): drop header actions * fix(custom-variables): support badge entry * fix(build): raise ncc target * fix(build): correct package check for client-v2 build * fix(admin-layout): reuse legacy user center * fix(admin-layout): adjust group drag * fix(flow-engine): align drag overlay * fix(flow-engine): update transform type in overlay logic Co-authored-by: Copilot <copilot@github.com> * fix(calendar-popup): move handleDateChange import * fix(kanban): update imports to use client-v2 * fix(client-v2): scope legacy route redirect * fix(custom-variables): cache badge parsing --------- Co-authored-by: chenos <chenlinxh@gmail.com> Co-authored-by: PiEgg <marksz@teamsz.xyz> Co-authored-by: Copilot <copilot@github.com>
2 lines
55 B
JavaScript
2 lines
55 B
JavaScript
module.exports = require('./dist/client-v2/index.js');
|