captify 0.1.19 → 1.1.1
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/agents/components/agents-list-header.d.ts.map +1 -1
- package/dist/agents/components/agents-list-header.js +3 -2
- package/dist/agents/components/agents-list-header.js.map +1 -1
- package/dist/chat/components/chat-content-approval.d.ts.map +1 -1
- package/dist/chat/components/chat-content-approval.js.map +1 -1
- package/dist/chat/components/chat-context-toggle.d.ts.map +1 -1
- package/dist/chat/components/chat-context-toggle.js +2 -4
- package/dist/chat/components/chat-context-toggle.js.map +1 -1
- package/dist/comments/comments.constants.d.ts +8 -1
- package/dist/comments/comments.constants.d.ts.map +1 -1
- package/dist/comments/comments.constants.js +18 -0
- package/dist/comments/comments.constants.js.map +1 -1
- package/dist/comments/comments.interfaces.d.ts +5 -0
- package/dist/comments/comments.interfaces.d.ts.map +1 -1
- package/dist/comments/comments.utilities.d.ts +30 -1
- package/dist/comments/comments.utilities.d.ts.map +1 -1
- package/dist/comments/comments.utilities.js +41 -1
- package/dist/comments/comments.utilities.js.map +1 -1
- package/dist/comments/hooks/use-comments.d.ts.map +1 -1
- package/dist/comments/hooks/use-comments.js +1 -0
- package/dist/comments/hooks/use-comments.js.map +1 -1
- package/dist/comments/services/comments.factory.d.ts.map +1 -1
- package/dist/comments/services/comments.factory.js +5 -2
- package/dist/comments/services/comments.factory.js.map +1 -1
- package/dist/comments/services/comments.service.d.ts +9 -2
- package/dist/comments/services/comments.service.d.ts.map +1 -1
- package/dist/comments/services/comments.service.js +96 -4
- package/dist/comments/services/comments.service.js.map +1 -1
- package/dist/db/schemas/index.d.ts +6 -4
- package/dist/db/schemas/index.d.ts.map +1 -1
- package/dist/db/schemas/index.js +2 -1
- package/dist/db/schemas/index.js.map +1 -1
- package/dist/db/schemas/notifications.schema.d.ts +107 -0
- package/dist/db/schemas/notifications.schema.d.ts.map +1 -0
- package/dist/db/schemas/notifications.schema.js +124 -0
- package/dist/db/schemas/notifications.schema.js.map +1 -0
- package/dist/feedback/api/feedback.handlers.d.ts.map +1 -1
- package/dist/feedback/api/feedback.handlers.js +1 -0
- package/dist/feedback/api/feedback.handlers.js.map +1 -1
- package/dist/feedback/components/feedback-editor.d.ts.map +1 -1
- package/dist/feedback/components/feedback-editor.js +6 -4
- package/dist/feedback/components/feedback-editor.js.map +1 -1
- package/dist/feedback/feedback.interfaces.d.ts +24 -1
- package/dist/feedback/feedback.interfaces.d.ts.map +1 -1
- package/dist/feedback/services/feedback.service.d.ts +26 -3
- package/dist/feedback/services/feedback.service.d.ts.map +1 -1
- package/dist/feedback/services/feedback.service.js +270 -11
- package/dist/feedback/services/feedback.service.js.map +1 -1
- package/dist/files/components/folder-browser/folder-breadcrumb.d.ts.map +1 -1
- package/dist/files/components/folder-browser/folder-breadcrumb.js +1 -1
- package/dist/files/components/folder-browser/folder-breadcrumb.js.map +1 -1
- package/dist/files/components/folder-browser/folder-list-item.js +1 -1
- package/dist/files/components/folder-browser/folder-list-item.js.map +1 -1
- package/dist/files/components/folder-browser/folder-tree-item.d.ts.map +1 -1
- package/dist/files/components/folder-browser/folder-tree-item.js +1 -1
- package/dist/files/components/folder-browser/folder-tree-item.js.map +1 -1
- package/dist/files/components/folder-browser/folder-tree-sidebar.js +1 -1
- package/dist/files/components/folder-browser/folder-tree-sidebar.js.map +1 -1
- package/dist/notifications/api/index.d.ts +7 -0
- package/dist/notifications/api/index.d.ts.map +1 -0
- package/dist/notifications/api/index.js +8 -0
- package/dist/notifications/api/index.js.map +1 -0
- package/dist/notifications/api/notifications.client.d.ts +86 -0
- package/dist/notifications/api/notifications.client.d.ts.map +1 -0
- package/dist/notifications/api/notifications.client.js +102 -0
- package/dist/notifications/api/notifications.client.js.map +1 -0
- package/dist/notifications/api/notifications.handlers.d.ts +166 -0
- package/dist/notifications/api/notifications.handlers.d.ts.map +1 -0
- package/dist/notifications/api/notifications.handlers.js +187 -0
- package/dist/notifications/api/notifications.handlers.js.map +1 -0
- package/dist/notifications/hooks/index.d.ts +5 -0
- package/dist/notifications/hooks/index.d.ts.map +1 -0
- package/dist/notifications/hooks/index.js +5 -0
- package/dist/notifications/hooks/index.js.map +1 -0
- package/dist/notifications/hooks/use-notifications-api.d.ts +111 -0
- package/dist/notifications/hooks/use-notifications-api.d.ts.map +1 -0
- package/dist/notifications/hooks/use-notifications-api.js +253 -0
- package/dist/notifications/hooks/use-notifications-api.js.map +1 -0
- package/dist/notifications/index.d.ts +16 -0
- package/dist/notifications/index.d.ts.map +1 -0
- package/dist/notifications/index.js +18 -0
- package/dist/notifications/index.js.map +1 -0
- package/dist/notifications/notification.utilities.d.ts +12 -0
- package/dist/notifications/notification.utilities.d.ts.map +1 -0
- package/dist/notifications/notification.utilities.js +35 -0
- package/dist/notifications/notification.utilities.js.map +1 -0
- package/dist/notifications/notifications.constants.d.ts +72 -0
- package/dist/notifications/notifications.constants.d.ts.map +1 -0
- package/dist/notifications/notifications.constants.js +104 -0
- package/dist/notifications/notifications.constants.js.map +1 -0
- package/dist/notifications/notifications.errors.d.ts +35 -0
- package/dist/notifications/notifications.errors.d.ts.map +1 -0
- package/dist/notifications/notifications.errors.js +51 -0
- package/dist/notifications/notifications.errors.js.map +1 -0
- package/dist/notifications/notifications.interfaces.d.ts +116 -0
- package/dist/notifications/notifications.interfaces.d.ts.map +1 -0
- package/dist/notifications/notifications.interfaces.js +10 -0
- package/dist/notifications/notifications.interfaces.js.map +1 -0
- package/dist/notifications/notifications.schemas.d.ts +139 -0
- package/dist/notifications/notifications.schemas.d.ts.map +1 -0
- package/dist/notifications/notifications.schemas.js +167 -0
- package/dist/notifications/notifications.schemas.js.map +1 -0
- package/dist/notifications/services/index.d.ts +6 -0
- package/dist/notifications/services/index.d.ts.map +1 -0
- package/dist/notifications/services/index.js +6 -0
- package/dist/notifications/services/index.js.map +1 -0
- package/dist/notifications/services/notifications.factory.d.ts +19 -0
- package/dist/notifications/services/notifications.factory.d.ts.map +1 -0
- package/dist/notifications/services/notifications.factory.js +58 -0
- package/dist/notifications/services/notifications.factory.js.map +1 -0
- package/dist/notifications/services/notifications.service.d.ts +88 -0
- package/dist/notifications/services/notifications.service.d.ts.map +1 -0
- package/dist/notifications/services/notifications.service.js +620 -0
- package/dist/notifications/services/notifications.service.js.map +1 -0
- package/dist/permissions/api/permissions.handlers.d.ts +20 -20
- package/dist/permissions/components/resource-panel.d.ts.map +1 -1
- package/dist/permissions/components/resource-panel.js +2 -1
- package/dist/permissions/components/resource-panel.js.map +1 -1
- package/dist/permissions/hooks/index.d.ts +1 -0
- package/dist/permissions/hooks/index.d.ts.map +1 -1
- package/dist/permissions/hooks/index.js +1 -0
- package/dist/permissions/hooks/index.js.map +1 -1
- package/dist/permissions/hooks/use-notification-permissions.d.ts +19 -0
- package/dist/permissions/hooks/use-notification-permissions.d.ts.map +1 -0
- package/dist/permissions/hooks/use-notification-permissions.js +32 -0
- package/dist/permissions/hooks/use-notification-permissions.js.map +1 -0
- package/dist/permissions/hooks/use-permissions-dashboard.d.ts +6 -6
- package/dist/permissions/hooks/use-policies.d.ts +2 -2
- package/dist/permissions/permissions.constants.d.ts +5 -0
- package/dist/permissions/permissions.constants.d.ts.map +1 -1
- package/dist/permissions/permissions.constants.js +35 -0
- package/dist/permissions/permissions.constants.js.map +1 -1
- package/dist/permissions/permissions.interfaces.d.ts +12 -0
- package/dist/permissions/permissions.interfaces.d.ts.map +1 -1
- package/dist/permissions/permissions.schemas.d.ts +56 -21
- package/dist/permissions/permissions.schemas.d.ts.map +1 -1
- package/dist/permissions/permissions.schemas.js +6 -1
- package/dist/permissions/permissions.schemas.js.map +1 -1
- package/dist/search/components/global-search-bar.d.ts.map +1 -1
- package/dist/search/components/global-search-bar.js +10 -11
- package/dist/search/components/global-search-bar.js.map +1 -1
- package/dist/shared/components/skeleton/console-layout-skeleton.d.ts +9 -21
- package/dist/shared/components/skeleton/console-layout-skeleton.d.ts.map +1 -1
- package/dist/shared/components/skeleton/console-layout-skeleton.js +13 -29
- package/dist/shared/components/skeleton/console-layout-skeleton.js.map +1 -1
- package/dist/shared/components/ui/sidebar.js +9 -9
- package/dist/shared/components/ui/sidebar.js.map +1 -1
- package/dist/shared/shared.constants.d.ts +1 -0
- package/dist/shared/shared.constants.d.ts.map +1 -1
- package/dist/shared/shared.constants.js +1 -0
- package/dist/shared/shared.constants.js.map +1 -1
- package/dist/shared/shared.interfaces.d.ts +0 -1
- package/dist/shared/shared.interfaces.d.ts.map +1 -1
- package/dist/shell/components/ConsoleLayout.d.ts +1 -1
- package/dist/shell/components/ConsoleLayout.d.ts.map +1 -1
- package/dist/shell/components/ConsoleLayout.js +6 -3
- package/dist/shell/components/ConsoleLayout.js.map +1 -1
- package/dist/shell/components/app-launcher/app-launcher-search-bar.js +1 -1
- package/dist/shell/components/app-launcher/app-launcher-search-bar.js.map +1 -1
- package/dist/shell/components/app-launcher/app-launcher.d.ts.map +1 -1
- package/dist/shell/components/app-launcher/app-launcher.js +2 -1
- package/dist/shell/components/app-launcher/app-launcher.js.map +1 -1
- package/dist/shell/components/app-launcher/category-navigation.d.ts.map +1 -1
- package/dist/shell/components/app-launcher/category-navigation.js +9 -2
- package/dist/shell/components/app-launcher/category-navigation.js.map +1 -1
- package/dist/shell/components/app-launcher/left-sidebar.d.ts +1 -1
- package/dist/shell/components/app-launcher/left-sidebar.d.ts.map +1 -1
- package/dist/shell/components/app-launcher/left-sidebar.js +3 -4
- package/dist/shell/components/app-launcher/left-sidebar.js.map +1 -1
- package/dist/shell/components/app-launcher/service-item.d.ts.map +1 -1
- package/dist/shell/components/app-launcher/service-item.js +2 -2
- package/dist/shell/components/app-launcher/service-item.js.map +1 -1
- package/dist/shell/components/index.d.ts +1 -0
- package/dist/shell/components/index.d.ts.map +1 -1
- package/dist/shell/components/index.js +2 -0
- package/dist/shell/components/index.js.map +1 -1
- package/dist/shell/components/layouts/app-sidebar.d.ts +4 -1
- package/dist/shell/components/layouts/app-sidebar.d.ts.map +1 -1
- package/dist/shell/components/layouts/app-sidebar.js +39 -6
- package/dist/shell/components/layouts/app-sidebar.js.map +1 -1
- package/dist/shell/components/layouts/content-header.d.ts.map +1 -1
- package/dist/shell/components/layouts/content-header.js +5 -24
- package/dist/shell/components/layouts/content-header.js.map +1 -1
- package/dist/shell/components/layouts/index.d.ts +1 -3
- package/dist/shell/components/layouts/index.d.ts.map +1 -1
- package/dist/shell/components/layouts/index.js +1 -3
- package/dist/shell/components/layouts/index.js.map +1 -1
- package/dist/shell/components/layouts/sidebar-nested-item.d.ts.map +1 -1
- package/dist/shell/components/layouts/sidebar-nested-item.js +12 -5
- package/dist/shell/components/layouts/sidebar-nested-item.js.map +1 -1
- package/dist/shell/components/notifications/notification-container.d.ts +16 -2
- package/dist/shell/components/notifications/notification-container.d.ts.map +1 -1
- package/dist/shell/components/notifications/notification-container.js +75 -4
- package/dist/shell/components/notifications/notification-container.js.map +1 -1
- package/dist/shell/components/notifications/notification-item.d.ts +1 -1
- package/dist/shell/components/notifications/notification-item.d.ts.map +1 -1
- package/dist/shell/components/notifications/notification-item.js +26 -7
- package/dist/shell/components/notifications/notification-item.js.map +1 -1
- package/dist/shell/components/notifications/notification-panel-header.d.ts.map +1 -1
- package/dist/shell/components/notifications/notification-panel-header.js +4 -1
- package/dist/shell/components/notifications/notification-panel-header.js.map +1 -1
- package/dist/shell/components/notifications/notifications.d.ts +1 -1
- package/dist/shell/components/notifications/notifications.d.ts.map +1 -1
- package/dist/shell/components/notifications/notifications.js +2 -2
- package/dist/shell/components/notifications/notifications.js.map +1 -1
- package/dist/shell/components/toolbars/index.d.ts +1 -4
- package/dist/shell/components/toolbars/index.d.ts.map +1 -1
- package/dist/shell/components/toolbars/index.js +2 -5
- package/dist/shell/components/toolbars/index.js.map +1 -1
- package/dist/shell/components/toolbars/top-right-toolbar.d.ts +1 -1
- package/dist/shell/components/toolbars/top-right-toolbar.d.ts.map +1 -1
- package/dist/shell/components/toolbars/top-right-toolbar.js +2 -2
- package/dist/shell/components/toolbars/top-right-toolbar.js.map +1 -1
- package/dist/shell/components/toolbars/top-toolbar-feedback.js +1 -1
- package/dist/shell/components/toolbars/top-toolbar-feedback.js.map +1 -1
- package/dist/shell/shell.constants.d.ts +1 -1
- package/dist/shell/shell.constants.js +1 -1
- package/dist/shell/shell.interfaces.d.ts +8 -4
- package/dist/shell/shell.interfaces.d.ts.map +1 -1
- package/dist/shell/shell.utilities.d.ts +7 -0
- package/dist/shell/shell.utilities.d.ts.map +1 -1
- package/dist/shell/shell.utilities.js +17 -0
- package/dist/shell/shell.utilities.js.map +1 -1
- package/package.json +130 -12
- package/dist/chat/components/chat-assistant-legacy.d.ts +0 -9
- package/dist/chat/components/chat-assistant-legacy.d.ts.map +0 -1
- package/dist/chat/components/chat-assistant-legacy.js +0 -73
- package/dist/chat/components/chat-assistant-legacy.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notifications.js","sourceRoot":"","sources":["../../../../lib/shell/components/notifications/notifications.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAC3D,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAC7F,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAC7F,OAAO,EAAE,gBAAgB,EAAE,MAAM,wDAAwD,CAAC;AAC1F,OAAO,EAAE,uBAAuB,EAAE,MAAM,gEAAgE,CAAC;AAEzG,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEjD,MAAM,aAAa,GAAG,CAAC,EACrB,aAAa,GAAG,EAAE,EAClB,eAAe,EACf,YAAY,EACZ,YAAY,EACZ,SAAS,EACT,UAAU,EACV,OAAO,EACP,WAAW,GAAG,CAAC,EACf,QAAQ,GACW,EAAE,EAAE;IACvB,OAAO,CACL,MAAC,OAAO,eACN,MAAC,OAAO,eACN,KAAC,cAAc,IAAC,OAAO,kBACrB,KAAC,cAAc,IAAC,OAAO,kBACrB,MAAC,MAAM,IACL,OAAO,EAAC,OAAO,EACf,IAAI,EAAC,QAAQ,EACb,IAAI,EAAC,MAAM,gBACA,eAAe,mBACZ,QAAQ,EACtB,SAAS,EAAC
|
|
1
|
+
{"version":3,"file":"notifications.js","sourceRoot":"","sources":["../../../../lib/shell/components/notifications/notifications.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAC3D,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAC7F,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAC7F,OAAO,EAAE,gBAAgB,EAAE,MAAM,wDAAwD,CAAC;AAC1F,OAAO,EAAE,uBAAuB,EAAE,MAAM,gEAAgE,CAAC;AAEzG,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEjD,MAAM,aAAa,GAAG,CAAC,EACrB,aAAa,GAAG,EAAE,EAClB,eAAe,EACf,YAAY,EACZ,YAAY,EACZ,SAAS,EACT,UAAU,EACV,mBAAmB,EACnB,OAAO,EACP,WAAW,GAAG,CAAC,EACf,QAAQ,GACW,EAAE,EAAE;IACvB,OAAO,CACL,MAAC,OAAO,eACN,MAAC,OAAO,eACN,KAAC,cAAc,IAAC,OAAO,kBACrB,KAAC,cAAc,IAAC,OAAO,kBACrB,MAAC,MAAM,IACL,OAAO,EAAC,OAAO,EACf,IAAI,EAAC,QAAQ,EACb,IAAI,EAAC,MAAM,gBACA,eAAe,mBACZ,QAAQ,EACtB,SAAS,EAAC,iBAAiB,aAE3B,KAAC,IAAI,mBAAa,MAAM,GAAG,EAC1B,WAAW,GAAG,CAAC,IAAI,CAClB,eACE,SAAS,EAAC,kLAAkL,EAC5L,IAAI,EAAC,QAAQ,eAC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 @@
|
|
|
1
|
-
export { default as TopRightToolbar } from "./top-right-toolbar";
|
|
2
|
-
export { default as TopToolbar } from "./top-toolbar";
|
|
3
1
|
export { TopToolbarAvatar } from "./top-toolbar-avatar";
|
|
4
2
|
export { TopToolbarAvatarWithAuth } from "./top-toolbar-avatar-with-auth";
|
|
5
|
-
export {
|
|
6
|
-
export { TopToolbarSettings } from "./top-toolbar-settings";
|
|
3
|
+
export { TopToolbarFeedback } from "./top-toolbar-feedback";
|
|
7
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/shell/components/toolbars/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/shell/components/toolbars/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oDAAoD,CAAC;AACtF,OAAO,EAAE,wBAAwB,EAAE,MAAM,8DAA8D,CAAC;AACxG,OAAO,EAAE,kBAAkB,EAAE,MAAM,sDAAsD,CAAC"}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
// Export
|
|
2
|
-
export { default as TopRightToolbar } from "./top-right-toolbar";
|
|
3
|
-
export { default as TopToolbar } from "./top-toolbar";
|
|
1
|
+
// Export toolbar components used in ContentHeader
|
|
4
2
|
export { TopToolbarAvatar } from "./top-toolbar-avatar";
|
|
5
3
|
export { TopToolbarAvatarWithAuth } from "./top-toolbar-avatar-with-auth";
|
|
6
|
-
export {
|
|
7
|
-
export { TopToolbarSettings } from "./top-toolbar-settings";
|
|
4
|
+
export { TopToolbarFeedback } from "./top-toolbar-feedback";
|
|
8
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/shell/components/toolbars/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/shell/components/toolbars/index.ts"],"names":[],"mappings":"AAAA,kDAAkD;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oDAAoD,CAAC;AACtF,OAAO,EAAE,wBAAwB,EAAE,MAAM,8DAA8D,CAAC;AACxG,OAAO,EAAE,kBAAkB,EAAE,MAAM,sDAAsD,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { TopRightToolbarProps } from "../../shell.interfaces";
|
|
2
|
-
declare const TopRightToolbar: ({ session, showSettings, showProfile, profileDropdownItems, showNotification,
|
|
2
|
+
declare const TopRightToolbar: ({ session, showSettings, showProfile, profileDropdownItems, showNotification, notificationsLimit, onProfileDropdownItemClick, }: Omit<TopRightToolbarProps, "notifications">) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default TopRightToolbar;
|
|
4
4
|
//# sourceMappingURL=top-right-toolbar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"top-right-toolbar.d.ts","sourceRoot":"","sources":["../../../../lib/shell/components/toolbars/top-right-toolbar.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAKpE,QAAA,MAAM,eAAe,GAAI,
|
|
1
|
+
{"version":3,"file":"top-right-toolbar.d.ts","sourceRoot":"","sources":["../../../../lib/shell/components/toolbars/top-right-toolbar.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAKpE,QAAA,MAAM,eAAe,GAAI,iIAQtB,IAAI,CAAC,oBAAoB,EAAE,eAAe,CAAC,4CAe7C,CAAC;AACF,eAAe,eAAe,CAAC"}
|
|
@@ -3,8 +3,8 @@ import { NotificationContainer } from "../notifications";
|
|
|
3
3
|
import { TopToolbarAvatarWithAuth } from "./top-toolbar-avatar-with-auth";
|
|
4
4
|
import { TopToolbarFeedback } from "./top-toolbar-feedback";
|
|
5
5
|
import { TopToolbarSettings } from "./top-toolbar-settings";
|
|
6
|
-
const TopRightToolbar = ({ session, showSettings = true, showProfile = true, profileDropdownItems, showNotification = true,
|
|
7
|
-
return (_jsxs("div", { className: "flex items-center gap-1 text-white empty:hidden sm:gap-2", children: [showNotification &&
|
|
6
|
+
const TopRightToolbar = ({ session, showSettings = true, showProfile = true, profileDropdownItems, showNotification = true, notificationsLimit = 20, onProfileDropdownItemClick, }) => {
|
|
7
|
+
return (_jsxs("div", { className: "flex items-center gap-1 text-white empty:hidden sm:gap-2", children: [showNotification && _jsx(NotificationContainer, { notificationsLimit: notificationsLimit }), _jsx(TopToolbarFeedback, {}), showSettings && _jsx(TopToolbarSettings, {}), showProfile && (_jsx(TopToolbarAvatarWithAuth, { session: session, profileDropdownItems: profileDropdownItems, onProfileDropdownItemClick: onProfileDropdownItemClick }))] }));
|
|
8
8
|
};
|
|
9
9
|
export default TopRightToolbar;
|
|
10
10
|
//# sourceMappingURL=top-right-toolbar.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"top-right-toolbar.js","sourceRoot":"","sources":["../../../../lib/shell/components/toolbars/top-right-toolbar.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAE7E,OAAO,EAAE,wBAAwB,EAAE,MAAM,8DAA8D,CAAC;AACxG,OAAO,EAAE,kBAAkB,EAAE,MAAM,sDAAsD,CAAC;AAC1F,OAAO,EAAE,kBAAkB,EAAE,MAAM,sDAAsD,CAAC;AAE1F,MAAM,eAAe,GAAG,CAAC,EACvB,OAAO,EACP,YAAY,GAAG,IAAI,EACnB,WAAW,GAAG,IAAI,EAClB,oBAAoB,EACpB,gBAAgB,GAAG,IAAI,EACvB,
|
|
1
|
+
{"version":3,"file":"top-right-toolbar.js","sourceRoot":"","sources":["../../../../lib/shell/components/toolbars/top-right-toolbar.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAE7E,OAAO,EAAE,wBAAwB,EAAE,MAAM,8DAA8D,CAAC;AACxG,OAAO,EAAE,kBAAkB,EAAE,MAAM,sDAAsD,CAAC;AAC1F,OAAO,EAAE,kBAAkB,EAAE,MAAM,sDAAsD,CAAC;AAE1F,MAAM,eAAe,GAAG,CAAC,EACvB,OAAO,EACP,YAAY,GAAG,IAAI,EACnB,WAAW,GAAG,IAAI,EAClB,oBAAoB,EACpB,gBAAgB,GAAG,IAAI,EACvB,kBAAkB,GAAG,EAAE,EACvB,0BAA0B,GACkB,EAAE,EAAE;IAChD,OAAO,CACL,eAAK,SAAS,EAAC,0DAA0D,aACtE,gBAAgB,IAAI,KAAC,qBAAqB,IAAC,kBAAkB,EAAE,kBAAkB,GAAI,EACtF,KAAC,kBAAkB,KAAG,EACrB,YAAY,IAAI,KAAC,kBAAkB,KAAG,EACtC,WAAW,IAAI,CACd,KAAC,wBAAwB,IACvB,OAAO,EAAE,OAAO,EAChB,oBAAoB,EAAE,oBAAoB,EAC1C,0BAA0B,EAAE,0BAA0B,GACtD,CACH,IACG,CACP,CAAC;AACJ,CAAC,CAAC;AACF,eAAe,eAAe,CAAC"}
|
|
@@ -10,6 +10,6 @@ import { FEEDBACK_ROUTES } from "../../../feedback/feedback.constants";
|
|
|
10
10
|
* Provides quick access to the feedback page.
|
|
11
11
|
*/
|
|
12
12
|
export const TopToolbarFeedback = () => {
|
|
13
|
-
return (_jsx(TooltipProvider, { children: _jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsx(Link, { href: FEEDBACK_ROUTES.LIST, children: _jsx(Button, { variant: "ghost", type: "button", size: "icon", "aria-label": "Submit feedback", className: "size-8
|
|
13
|
+
return (_jsx(TooltipProvider, { children: _jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsx(Link, { href: FEEDBACK_ROUTES.LIST, children: _jsx(Button, { variant: "ghost", type: "button", size: "icon", "aria-label": "Submit feedback", className: "size-8", "data-testid": "feedback-button", children: _jsx(MessageCircle, { "aria-hidden": "true" }) }) }) }), _jsx(TooltipContent, { children: _jsx("p", { children: "Submit Feedback" }) })] }) }));
|
|
14
14
|
};
|
|
15
15
|
//# sourceMappingURL=top-toolbar-feedback.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"top-toolbar-feedback.js","sourceRoot":"","sources":["../../../../lib/shell/components/toolbars/top-toolbar-feedback.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAC3D,OAAO,EACL,OAAO,EACP,cAAc,EACd,eAAe,EACf,cAAc,GACf,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAEpE;;;GAGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,EAAE;IACrC,OAAO,CACL,KAAC,eAAe,cACd,MAAC,OAAO,eACN,KAAC,cAAc,IAAC,OAAO,kBACrB,KAAC,IAAI,IAAC,IAAI,EAAE,eAAe,CAAC,IAAI,YAC9B,KAAC,MAAM,IACL,OAAO,EAAC,OAAO,EACf,IAAI,EAAC,QAAQ,EACb,IAAI,EAAC,MAAM,gBACA,iBAAiB,EAC5B,SAAS,EAAC,
|
|
1
|
+
{"version":3,"file":"top-toolbar-feedback.js","sourceRoot":"","sources":["../../../../lib/shell/components/toolbars/top-toolbar-feedback.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAC3D,OAAO,EACL,OAAO,EACP,cAAc,EACd,eAAe,EACf,cAAc,GACf,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAEpE;;;GAGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,EAAE;IACrC,OAAO,CACL,KAAC,eAAe,cACd,MAAC,OAAO,eACN,KAAC,cAAc,IAAC,OAAO,kBACrB,KAAC,IAAI,IAAC,IAAI,EAAE,eAAe,CAAC,IAAI,YAC9B,KAAC,MAAM,IACL,OAAO,EAAC,OAAO,EACf,IAAI,EAAC,QAAQ,EACb,IAAI,EAAC,MAAM,gBACA,iBAAiB,EAC5B,SAAS,EAAC,QAAQ,iBACN,iBAAiB,YAE7B,KAAC,aAAa,mBAAa,MAAM,GAAG,GAC7B,GACJ,GACQ,EACjB,KAAC,cAAc,cACb,0CAAsB,GACP,IACT,GACM,CACnB,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -22,7 +22,7 @@ export declare const ENVIRONMENT_HOSTS: {
|
|
|
22
22
|
readonly LOCALHOST: "localhost";
|
|
23
23
|
};
|
|
24
24
|
export declare const ENVIRONMENT_HEADER_COLORS: {
|
|
25
|
-
readonly PRODUCTION: "bg-[#
|
|
25
|
+
readonly PRODUCTION: "bg-[#1e1b4b]";
|
|
26
26
|
readonly STAGING: "bg-blue-700";
|
|
27
27
|
readonly DEVELOPMENT: "bg-green-800";
|
|
28
28
|
};
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
* - Navigation config
|
|
10
10
|
* - Service and Route definitions
|
|
11
11
|
*/
|
|
12
|
+
import { Environment as EnvironmentConst } from "./shell.constants";
|
|
12
13
|
import type { LucideIcon } from "lucide-react";
|
|
13
14
|
import type { Session } from "next-auth";
|
|
14
15
|
import React from "react";
|
|
15
|
-
import { Environment as EnvironmentConst } from "./shell.constants";
|
|
16
16
|
export interface RouteItem {
|
|
17
17
|
id: number;
|
|
18
18
|
title: string;
|
|
@@ -42,6 +42,7 @@ export interface ConsoleLayoutProps {
|
|
|
42
42
|
children: React.ReactNode;
|
|
43
43
|
appName: string;
|
|
44
44
|
menuItems?: RouteItem[];
|
|
45
|
+
adminMenuItems?: RouteItem[];
|
|
45
46
|
/** All available services for bookmark resolution */
|
|
46
47
|
allServices?: Service[];
|
|
47
48
|
/** Initial bookmarked service IDs (from server) */
|
|
@@ -100,6 +101,10 @@ export interface Notification {
|
|
|
100
101
|
read: boolean;
|
|
101
102
|
createdAt: Date;
|
|
102
103
|
url?: string;
|
|
104
|
+
/** Display name of the actor who triggered the notification */
|
|
105
|
+
actorName?: string;
|
|
106
|
+
/** Type of notification (mention, reply, feedback_created, etc.) */
|
|
107
|
+
type?: string;
|
|
103
108
|
}
|
|
104
109
|
export interface NotificationsProps {
|
|
105
110
|
notifications: Notification[];
|
|
@@ -108,6 +113,7 @@ export interface NotificationsProps {
|
|
|
108
113
|
onDismissAll: () => void;
|
|
109
114
|
onDismiss: (id: string) => void;
|
|
110
115
|
onShowMore?: () => void;
|
|
116
|
+
onNotificationClick?: (notification: Notification) => void;
|
|
111
117
|
hasMore?: boolean;
|
|
112
118
|
unreadCount?: number;
|
|
113
119
|
maxLines?: number;
|
|
@@ -116,6 +122,7 @@ export interface NotificationItemProps {
|
|
|
116
122
|
notification: Notification;
|
|
117
123
|
onMarkAsRead: (id: string) => void;
|
|
118
124
|
onDismiss: (id: string) => void;
|
|
125
|
+
onClick?: (notification: Notification) => void;
|
|
119
126
|
maxLines?: number;
|
|
120
127
|
}
|
|
121
128
|
export interface NotificationPanelHeaderProps {
|
|
@@ -175,14 +182,11 @@ export interface ServiceItemProps {
|
|
|
175
182
|
topFeatures?: string[];
|
|
176
183
|
}
|
|
177
184
|
export interface LeftSidebarProps {
|
|
178
|
-
searchQuery: string;
|
|
179
|
-
onSearchChange: (value: string) => void;
|
|
180
185
|
selectedAppLauncherMenu: AppLauncherMenu;
|
|
181
186
|
onCategorySelect: (categoryName: string) => void;
|
|
182
187
|
onLauncherMenuSelect: (categoryId: AppLauncherMenu) => void;
|
|
183
188
|
showCategoryList?: boolean;
|
|
184
189
|
categoryList?: CategoryGroup[];
|
|
185
|
-
searchPlaceholder?: string;
|
|
186
190
|
}
|
|
187
191
|
export interface SearchBarProps {
|
|
188
192
|
onSearch?: (query: string) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shell.interfaces.d.ts","sourceRoot":"","sources":["../../lib/shell/shell.interfaces.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"shell.interfaces.d.ts","sourceRoot":"","sources":["../../lib/shell/shell.interfaces.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,WAAW,IAAI,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC9E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,QAAQ,CAAC,EAAE,SAAS,EAAE,CAAC;CACxB;AAED,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,SAAS,EAAE,CAAC,CAAC;AAMpD,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,UAAU,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,QA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hostname
|
|
15
15
|
*/
|
|
16
16
|
export declare const getEnvironmentFromHost: () => EnvironmentType;
|
|
17
|
+
/**
|
|
18
|
+
* Returns the app title with environment suffix
|
|
19
|
+
* - Production: returns base title as-is (e.g., "Titan")
|
|
20
|
+
* - Staging: returns title with "-Staging" suffix (e.g., "Titan-Staging")
|
|
21
|
+
* - Development: returns title with "-Dev" suffix (e.g., "Titan-Dev")
|
|
22
|
+
*/
|
|
23
|
+
export declare const getAppTitle: (baseTitle: string, environment: EnvironmentType) => string;
|
|
17
24
|
//# sourceMappingURL=shell.utilities.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shell.utilities.d.ts","sourceRoot":"","sources":["../../lib/shell/shell.utilities.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,KAAK,EAAE,WAAW,IAAI,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAEnF;;GAEG;AACH,eAAO,MAAM,wBAAwB,GAAI,aAAa,eAAe,KAAG,MAUvE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,sBAAsB,QAAO,eAoBzC,CAAC"}
|
|
1
|
+
{"version":3,"file":"shell.utilities.d.ts","sourceRoot":"","sources":["../../lib/shell/shell.utilities.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,KAAK,EAAE,WAAW,IAAI,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAEnF;;GAEG;AACH,eAAO,MAAM,wBAAwB,GAAI,aAAa,eAAe,KAAG,MAUvE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,sBAAsB,QAAO,eAoBzC,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,WAAW,GAAI,WAAW,MAAM,EAAE,aAAa,eAAe,KAAG,MAU7E,CAAC"}
|
|
@@ -39,4 +39,21 @@ export const getEnvironmentFromHost = () => {
|
|
|
39
39
|
}
|
|
40
40
|
return Environment.Production;
|
|
41
41
|
};
|
|
42
|
+
/**
|
|
43
|
+
* Returns the app title with environment suffix
|
|
44
|
+
* - Production: returns base title as-is (e.g., "Titan")
|
|
45
|
+
* - Staging: returns title with "-Staging" suffix (e.g., "Titan-Staging")
|
|
46
|
+
* - Development: returns title with "-Dev" suffix (e.g., "Titan-Dev")
|
|
47
|
+
*/
|
|
48
|
+
export const getAppTitle = (baseTitle, environment) => {
|
|
49
|
+
switch (environment) {
|
|
50
|
+
case Environment.Development:
|
|
51
|
+
return `${baseTitle}-Dev`;
|
|
52
|
+
case Environment.Staging:
|
|
53
|
+
return `${baseTitle}-Staging`;
|
|
54
|
+
case Environment.Production:
|
|
55
|
+
default:
|
|
56
|
+
return baseTitle;
|
|
57
|
+
}
|
|
58
|
+
};
|
|
42
59
|
//# sourceMappingURL=shell.utilities.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shell.utilities.js","sourceRoot":"","sources":["../../lib/shell/shell.utilities.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,WAAW,EACX,yBAAyB,EACzB,iBAAiB,GAClB,MAAM,6BAA6B,CAAC;AAGrC;;GAEG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,WAA4B,EAAU,EAAE;IAC/E,QAAQ,WAAW,EAAE,CAAC;QACpB,KAAK,WAAW,CAAC,WAAW;YAC1B,OAAO,yBAAyB,CAAC,WAAW,CAAC;QAC/C,KAAK,WAAW,CAAC,OAAO;YACtB,OAAO,yBAAyB,CAAC,OAAO,CAAC;QAC3C,KAAK,WAAW,CAAC,UAAU,CAAC;QAC5B;YACE,OAAO,yBAAyB,CAAC,UAAU,CAAC;IAChD,CAAC;AACH,CAAC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAoB,EAAE;IAC1D,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE,CAAC;QAClC,OAAO,WAAW,CAAC,UAAU,CAAC;IAChC,CAAC;IAED,MAAM,QAAQ,GAAG,M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QAAQ,KAAK,iBAAiB,CAAC,UAAU,EAAE,CAAC;QAC9C,OAAO,WAAW,CAAC,UAAU,CAAC;IAChC,CAAC;IAED,IAAI,QAAQ,KAAK,iBAAiB,CAAC,OAAO,EAAE,CAAC;QAC3C,OAAO,WAAW,CAAC,OAAO,CAAC;IAC7B,CAAC;IAED,IAAI,QAAQ,KAAK,iBAAiB,CAAC,WAAW,IAAI,QAAQ,KAAK,iBAAiB,CAAC,SAAS,EAAE,CAAC;QAC3F,OAAO,WAAW,CAAC,WAAW,CAAC;IACjC,CAAC;IAED,OAAO,WAAW,CAAC,UAAU,CAAC;AAChC,CAAC,CAAC;AAEF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,SAAiB,EAAE,WAA4B,EAAU,EAAE;IACrF,QAAQ,WAAW,EAAE,CAAC;QACpB,KAAK,WAAW,CAAC,WAAW;YAC1B,OAAO,GAAG,SAAS,MAAM,CAAC;QAC5B,KAAK,WAAW,CAAC,OAAO;YACtB,OAAO,GAAG,SAAS,UAAU,CAAC;QAChC,KAAK,WAAW,CAAC,UAAU,CAAC;QAC5B;YACE,OAAO,SAAS,CAAC;IACrB,CAAC;AACH,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "captify",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.1.1",
|
|
4
|
+
"private": false,
|
|
4
5
|
"description": "Core shared library for Captify applications",
|
|
5
6
|
"license": "Anautics Inc. All rights reserved.",
|
|
6
7
|
"engines": {
|
|
@@ -216,6 +217,10 @@
|
|
|
216
217
|
"types": "./dist/feedback/components/index.d.ts",
|
|
217
218
|
"default": "./dist/feedback/components/index.js"
|
|
218
219
|
},
|
|
220
|
+
"./feedback/components/feedback-editor": {
|
|
221
|
+
"types": "./dist/feedback/components/feedback-editor.d.ts",
|
|
222
|
+
"default": "./dist/feedback/components/feedback-editor.js"
|
|
223
|
+
},
|
|
219
224
|
"./feedback/hooks": {
|
|
220
225
|
"types": "./dist/feedback/hooks/index.d.ts",
|
|
221
226
|
"default": "./dist/feedback/hooks/index.js"
|
|
@@ -252,6 +257,10 @@
|
|
|
252
257
|
"types": "./dist/files/components/index.d.ts",
|
|
253
258
|
"default": "./dist/files/components/index.js"
|
|
254
259
|
},
|
|
260
|
+
"./files/components/folder-browser": {
|
|
261
|
+
"types": "./dist/files/components/folder-browser/index.d.ts",
|
|
262
|
+
"default": "./dist/files/components/folder-browser/index.js"
|
|
263
|
+
},
|
|
255
264
|
"./files/hooks": {
|
|
256
265
|
"types": "./dist/files/hooks/index.d.ts",
|
|
257
266
|
"default": "./dist/files/hooks/index.js"
|
|
@@ -348,6 +357,42 @@
|
|
|
348
357
|
"types": "./dist/model-budget/components/index.d.ts",
|
|
349
358
|
"default": "./dist/model-budget/components/index.js"
|
|
350
359
|
},
|
|
360
|
+
"./notifications": {
|
|
361
|
+
"types": "./dist/notifications/index.d.ts",
|
|
362
|
+
"default": "./dist/notifications/index.js"
|
|
363
|
+
},
|
|
364
|
+
"./notifications/notifications.interfaces": {
|
|
365
|
+
"types": "./dist/notifications/notifications.interfaces.d.ts",
|
|
366
|
+
"default": "./dist/notifications/notifications.interfaces.js"
|
|
367
|
+
},
|
|
368
|
+
"./notifications/notifications.schemas": {
|
|
369
|
+
"types": "./dist/notifications/notifications.schemas.d.ts",
|
|
370
|
+
"default": "./dist/notifications/notifications.schemas.js"
|
|
371
|
+
},
|
|
372
|
+
"./notifications/notifications.constants": {
|
|
373
|
+
"types": "./dist/notifications/notifications.constants.d.ts",
|
|
374
|
+
"default": "./dist/notifications/notifications.constants.js"
|
|
375
|
+
},
|
|
376
|
+
"./notifications/notifications.errors": {
|
|
377
|
+
"types": "./dist/notifications/notifications.errors.d.ts",
|
|
378
|
+
"default": "./dist/notifications/notifications.errors.js"
|
|
379
|
+
},
|
|
380
|
+
"./notifications/notification.utilities": {
|
|
381
|
+
"types": "./dist/notifications/notification.utilities.d.ts",
|
|
382
|
+
"default": "./dist/notifications/notification.utilities.js"
|
|
383
|
+
},
|
|
384
|
+
"./notifications/api": {
|
|
385
|
+
"types": "./dist/notifications/api/index.d.ts",
|
|
386
|
+
"default": "./dist/notifications/api/index.js"
|
|
387
|
+
},
|
|
388
|
+
"./notifications/hooks": {
|
|
389
|
+
"types": "./dist/notifications/hooks/index.d.ts",
|
|
390
|
+
"default": "./dist/notifications/hooks/index.js"
|
|
391
|
+
},
|
|
392
|
+
"./notifications/services": {
|
|
393
|
+
"types": "./dist/notifications/services/index.d.ts",
|
|
394
|
+
"default": "./dist/notifications/services/index.js"
|
|
395
|
+
},
|
|
351
396
|
"./ontology/ontology.interfaces": {
|
|
352
397
|
"types": "./dist/ontology/ontology.interfaces.d.ts",
|
|
353
398
|
"default": "./dist/ontology/ontology.interfaces.js"
|
|
@@ -404,6 +449,14 @@
|
|
|
404
449
|
"types": "./dist/shared/components/index.d.ts",
|
|
405
450
|
"default": "./dist/shared/components/index.js"
|
|
406
451
|
},
|
|
452
|
+
"./shared/components/ui/sidebar": {
|
|
453
|
+
"types": "./dist/shared/components/ui/sidebar.d.ts",
|
|
454
|
+
"default": "./dist/shared/components/ui/sidebar.js"
|
|
455
|
+
},
|
|
456
|
+
"./shared/components/skeleton": {
|
|
457
|
+
"types": "./dist/shared/components/skeleton/index.d.ts",
|
|
458
|
+
"default": "./dist/shared/components/skeleton/index.js"
|
|
459
|
+
},
|
|
407
460
|
"./shared/hooks": {
|
|
408
461
|
"types": "./dist/shared/hooks/index.d.ts",
|
|
409
462
|
"default": "./dist/shared/hooks/index.js"
|
|
@@ -488,6 +541,10 @@
|
|
|
488
541
|
"types": "./dist/search/components/index.d.ts",
|
|
489
542
|
"default": "./dist/search/components/index.js"
|
|
490
543
|
},
|
|
544
|
+
"./search/components/global-search-bar": {
|
|
545
|
+
"types": "./dist/search/components/global-search-bar.d.ts",
|
|
546
|
+
"default": "./dist/search/components/global-search-bar.js"
|
|
547
|
+
},
|
|
491
548
|
"./search/hooks": {
|
|
492
549
|
"types": "./dist/search/hooks/index.d.ts",
|
|
493
550
|
"default": "./dist/search/hooks/index.js"
|
|
@@ -516,6 +573,62 @@
|
|
|
516
573
|
"types": "./dist/shell/components/index.d.ts",
|
|
517
574
|
"default": "./dist/shell/components/index.js"
|
|
518
575
|
},
|
|
576
|
+
"./shell/components/layouts": {
|
|
577
|
+
"types": "./dist/shell/components/layouts/index.d.ts",
|
|
578
|
+
"default": "./dist/shell/components/layouts/index.js"
|
|
579
|
+
},
|
|
580
|
+
"./shell/components/layouts/app-sidebar": {
|
|
581
|
+
"types": "./dist/shell/components/layouts/app-sidebar.d.ts",
|
|
582
|
+
"default": "./dist/shell/components/layouts/app-sidebar.js"
|
|
583
|
+
},
|
|
584
|
+
"./shell/components/layouts/sidebar-nested-item": {
|
|
585
|
+
"types": "./dist/shell/components/layouts/sidebar-nested-item.d.ts",
|
|
586
|
+
"default": "./dist/shell/components/layouts/sidebar-nested-item.js"
|
|
587
|
+
},
|
|
588
|
+
"./shell/components/layouts/app-header": {
|
|
589
|
+
"types": "./dist/shell/components/layouts/app-header.d.ts",
|
|
590
|
+
"default": "./dist/shell/components/layouts/app-header.js"
|
|
591
|
+
},
|
|
592
|
+
"./shell/components/layouts/app-layout": {
|
|
593
|
+
"types": "./dist/shell/components/layouts/app-layout.d.ts",
|
|
594
|
+
"default": "./dist/shell/components/layouts/app-layout.js"
|
|
595
|
+
},
|
|
596
|
+
"./shell/components/layouts/app-services-bar": {
|
|
597
|
+
"types": "./dist/shell/components/layouts/app-services-bar.d.ts",
|
|
598
|
+
"default": "./dist/shell/components/layouts/app-services-bar.js"
|
|
599
|
+
},
|
|
600
|
+
"./shell/components/layouts/content-header": {
|
|
601
|
+
"types": "./dist/shell/components/layouts/content-header.d.ts",
|
|
602
|
+
"default": "./dist/shell/components/layouts/content-header.js"
|
|
603
|
+
},
|
|
604
|
+
"./shell/components/console-layout": {
|
|
605
|
+
"types": "./dist/shell/components/ConsoleLayout.d.ts",
|
|
606
|
+
"default": "./dist/shell/components/ConsoleLayout.js"
|
|
607
|
+
},
|
|
608
|
+
"./shell/components/dynamic-title": {
|
|
609
|
+
"types": "./dist/shell/components/dynamic-title.d.ts",
|
|
610
|
+
"default": "./dist/shell/components/dynamic-title.js"
|
|
611
|
+
},
|
|
612
|
+
"./shell/components/toolbars": {
|
|
613
|
+
"types": "./dist/shell/components/toolbars/index.d.ts",
|
|
614
|
+
"default": "./dist/shell/components/toolbars/index.js"
|
|
615
|
+
},
|
|
616
|
+
"./shell/components/toolbars/top-toolbar": {
|
|
617
|
+
"types": "./dist/shell/components/toolbars/top-toolbar.d.ts",
|
|
618
|
+
"default": "./dist/shell/components/toolbars/top-toolbar.js"
|
|
619
|
+
},
|
|
620
|
+
"./shell/components/app-launcher": {
|
|
621
|
+
"types": "./dist/shell/components/app-launcher/index.d.ts",
|
|
622
|
+
"default": "./dist/shell/components/app-launcher/index.js"
|
|
623
|
+
},
|
|
624
|
+
"./shell/components/notifications": {
|
|
625
|
+
"types": "./dist/shell/components/notifications/index.d.ts",
|
|
626
|
+
"default": "./dist/shell/components/notifications/index.js"
|
|
627
|
+
},
|
|
628
|
+
"./shell/components/profile": {
|
|
629
|
+
"types": "./dist/shell/components/profile/index.d.ts",
|
|
630
|
+
"default": "./dist/shell/components/profile/index.js"
|
|
631
|
+
},
|
|
519
632
|
"./shell/hooks": {
|
|
520
633
|
"types": "./dist/shell/hooks/index.d.ts",
|
|
521
634
|
"default": "./dist/shell/hooks/index.js"
|
|
@@ -825,7 +938,7 @@
|
|
|
825
938
|
"collab-server": "npx tsx scripts/collab-server.ts"
|
|
826
939
|
},
|
|
827
940
|
"peerDependencies": {
|
|
828
|
-
"next": "^16.
|
|
941
|
+
"next": "^16.1.5",
|
|
829
942
|
"react": "^19.2.2",
|
|
830
943
|
"react-dom": "^19.2.2"
|
|
831
944
|
},
|
|
@@ -834,7 +947,18 @@
|
|
|
834
947
|
"glob": "^10.4.6",
|
|
835
948
|
"js-yaml": "^4.1.1",
|
|
836
949
|
"jws": "^3.2.3",
|
|
837
|
-
"tar": "7.5.
|
|
950
|
+
"tar": "^7.5.7",
|
|
951
|
+
"lodash": "4.17.23",
|
|
952
|
+
"lodash-es": "4.17.23",
|
|
953
|
+
"devalue": "5.6.2",
|
|
954
|
+
"undici": "6.23.0",
|
|
955
|
+
"elliptic": "^6.6.1",
|
|
956
|
+
"browserify-sign": "^4.2.3",
|
|
957
|
+
"crypto-browserify": "^3.12.1",
|
|
958
|
+
"create-ecdh": "^4.0.4",
|
|
959
|
+
"@workflow/web": {
|
|
960
|
+
"next": "^16.1.6"
|
|
961
|
+
}
|
|
838
962
|
},
|
|
839
963
|
"dependencies": {
|
|
840
964
|
"@ai-sdk/amazon-bedrock": "^4.0.18",
|
|
@@ -948,6 +1072,7 @@
|
|
|
948
1072
|
"@radix-ui/react-toggle-group": "^1.1.11",
|
|
949
1073
|
"@radix-ui/react-tooltip": "^1.2.8",
|
|
950
1074
|
"@radix-ui/react-use-controllable-state": "^1.2.2",
|
|
1075
|
+
"@swc/helpers": "^0.5.18",
|
|
951
1076
|
"@tailwindcss/postcss": "^4",
|
|
952
1077
|
"@tailwindcss/typography": "^0.5.19",
|
|
953
1078
|
"@tanstack/react-query": "^5.90.5",
|
|
@@ -988,7 +1113,7 @@
|
|
|
988
1113
|
"marked": "^17.0.0",
|
|
989
1114
|
"motion": "^12.23.24",
|
|
990
1115
|
"nanoid": "^5.1.6",
|
|
991
|
-
"next": "^16.
|
|
1116
|
+
"next": "^16.1.5",
|
|
992
1117
|
"next-auth": "5.0.0-beta.30",
|
|
993
1118
|
"next-themes": "^0.4.6",
|
|
994
1119
|
"pdf2json": "^4.0.0",
|
|
@@ -1032,7 +1157,7 @@
|
|
|
1032
1157
|
"use-debounce": "^10.0.6",
|
|
1033
1158
|
"use-stick-to-bottom": "^1.1.1",
|
|
1034
1159
|
"vaul": "^1.1.2",
|
|
1035
|
-
"workflow": "^4.0
|
|
1160
|
+
"workflow": "^4.1.0-beta.51",
|
|
1036
1161
|
"y-prosemirror": "^1.3.7",
|
|
1037
1162
|
"y-websocket": "^3.0.0",
|
|
1038
1163
|
"yjs": "^13.6.27",
|
|
@@ -1094,12 +1219,5 @@
|
|
|
1094
1219
|
"workerDirectory": [
|
|
1095
1220
|
"public"
|
|
1096
1221
|
]
|
|
1097
|
-
},
|
|
1098
|
-
"overrides": {
|
|
1099
|
-
"tar": "7.5.4",
|
|
1100
|
-
"lodash": "4.17.23",
|
|
1101
|
-
"lodash-es": "4.17.23",
|
|
1102
|
-
"devalue": "5.6.2",
|
|
1103
|
-
"undici": "6.23.0"
|
|
1104
1222
|
}
|
|
1105
1223
|
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { ChatAssistantLegacyProps } from "../chat.interfaces";
|
|
2
|
-
/**
|
|
3
|
-
* ChatAssistantLegacy component
|
|
4
|
-
*
|
|
5
|
-
* @deprecated Use the new ChatAssistant component with ChatProvider pattern instead.
|
|
6
|
-
* A generalized AI assistant that can be embedded in any page with custom context.
|
|
7
|
-
*/
|
|
8
|
-
export declare function ChatAssistantLegacy({ messages, status, error, sendMessage, stop, clearMessages, selectedProviderId, selectedModelId, selectedAgentId, onSelectionChange, selectorLocked, context, showContextToggle, onContextModeChange, quickActions, onQuickAction, renderMessage, renderEmpty, placeholder, showClearButton, hideModelSelector, allowFiles, pendingContent, pendingContentLabel, onAcceptContent, onRejectContent, className, }: ChatAssistantLegacyProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
//# sourceMappingURL=chat-assistant-legacy.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chat-assistant-legacy.d.ts","sourceRoot":"","sources":["../../../lib/chat/components/chat-assistant-legacy.tsx"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EAAE,wBAAwB,EAAqB,MAAM,4BAA4B,CAAC;AA2F9F;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,QAAQ,EACR,MAAgB,EAChB,KAAK,EACL,WAAW,EACX,IAAI,EACJ,aAAa,EACb,kBAAkB,EAClB,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,cAAc,EACd,OAAO,EACP,iBAAyB,EACzB,mBAAmB,EACnB,YAAY,EACZ,aAAa,EACb,aAAa,EACb,WAAW,EACX,WAAiD,EACjD,eAAsB,EACtB,iBAAyB,EACzB,UAAiB,EACjB,cAAc,EACd,mBAAmE,EACnE,eAAe,EACf,eAAe,EACf,SAAS,GACV,EAAE,wBAAwB,2CA6G1B"}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
/**
|
|
4
|
-
* ChatAssistantLegacy - Legacy AI assistant component
|
|
5
|
-
*
|
|
6
|
-
* @deprecated Use the new ChatAssistant component with ChatProvider pattern instead.
|
|
7
|
-
* This component is kept for backward compatibility with existing code like the collaboration panel.
|
|
8
|
-
* It supports dynamic context passing, custom message rendering, and content approval flows.
|
|
9
|
-
*/
|
|
10
|
-
import { Bot, Loader2, Trash2 } from "lucide-react";
|
|
11
|
-
import { cn } from "../../shared/utilities/cn";
|
|
12
|
-
import { TooltipButton } from "../../shared/components/tooltip-button";
|
|
13
|
-
import { Response } from "../../shared/components/ai-elements";
|
|
14
|
-
import { AgentToolCalls } from "../../agents/components/agent-tool-calls";
|
|
15
|
-
import { ChatContextAdapter } from "../context";
|
|
16
|
-
import { ChatContentApproval } from "./chat-content-approval";
|
|
17
|
-
import { ChatContextToggle } from "./chat-context-toggle";
|
|
18
|
-
import { ChatInputView } from "./chat-input-view";
|
|
19
|
-
import { ChatMessagesView } from "./chat-messages-view";
|
|
20
|
-
import { ChatQuickActions } from "./chat-quick-actions";
|
|
21
|
-
import { TooltipProvider } from "../../shared/components/ui/tooltip";
|
|
22
|
-
import { CHAT_ASSISTANT_DEFAULTS, CHAT_ASSISTANT_ARIA_LABELS } from "../chat.constants";
|
|
23
|
-
/**
|
|
24
|
-
* Default message renderer for ChatAssistantLegacy
|
|
25
|
-
*/
|
|
26
|
-
function DefaultMessageItem({ message, isStreaming, }) {
|
|
27
|
-
var _a, _b;
|
|
28
|
-
const isUser = message.role === "user";
|
|
29
|
-
const content = (_b = (_a = message.versions) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.content;
|
|
30
|
-
return (_jsxs("div", { className: cn("flex gap-3 p-3", isUser ? "bg-muted/50" : "bg-background"), role: "listitem", children: [_jsx("div", { className: cn("flex h-8 w-8 shrink-0 items-center justify-center rounded-full", isUser ? "bg-primary text-primary-foreground" : "bg-muted"), children: isUser ? (_jsx("span", { className: "text-xs font-medium", children: "You" })) : (_jsx(Bot, { className: "h-4 w-4", "aria-hidden": "true" })) }), _jsxs("div", { className: "min-w-0 flex-1", children: [message.orderedParts && message.orderedParts.length > 0 ? (_jsx("div", { className: "flex w-full min-w-0 flex-col items-stretch gap-3", children: message.orderedParts.map((part, index) => part.type === "text" ? (_jsx(Response, { className: "prose prose-sm dark:prose-invert max-w-none", children: part.text }, `text-${index}`)) : (_jsx(AgentToolCalls, { className: "w-full max-w-full [&_pre]:max-w-full [&_pre]:overflow-x-auto", toolCalls: [
|
|
31
|
-
{
|
|
32
|
-
toolCallId: part.toolCallId,
|
|
33
|
-
toolName: part.toolName,
|
|
34
|
-
state: part.state,
|
|
35
|
-
input: part.input,
|
|
36
|
-
output: part.output,
|
|
37
|
-
errorText: part.errorText,
|
|
38
|
-
},
|
|
39
|
-
] }, `tool-${part.toolCallId}`))) })) : content ? (isUser ? (_jsx("div", { className: "text-sm whitespace-pre-wrap", children: content })) : (_jsx(Response, { className: "prose prose-sm dark:prose-invert max-w-none", children: content }))) : (_jsx("span", { className: "text-muted-foreground italic", children: "Generating..." })), isStreaming && (_jsxs("div", { className: "text-muted-foreground mt-2 flex items-center gap-2 text-xs", children: [_jsx(Loader2, { className: "h-3 w-3 animate-spin", "aria-hidden": "true" }), _jsx("span", { children: "Generating content..." })] }))] })] }));
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* Default empty state for ChatAssistantLegacy
|
|
43
|
-
*/
|
|
44
|
-
function DefaultEmptyState() {
|
|
45
|
-
return (_jsxs("div", { className: "text-muted-foreground p-4 text-center text-sm", children: [_jsx(Bot, { className: "mx-auto mb-3 h-12 w-12 opacity-50", "aria-hidden": "true" }), _jsx("p", { className: "font-medium", children: CHAT_ASSISTANT_DEFAULTS.EMPTY_STATE_TITLE }), _jsx("p", { className: "mt-1 text-xs", children: CHAT_ASSISTANT_DEFAULTS.EMPTY_STATE_HINT })] }));
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* ChatAssistantLegacy component
|
|
49
|
-
*
|
|
50
|
-
* @deprecated Use the new ChatAssistant component with ChatProvider pattern instead.
|
|
51
|
-
* A generalized AI assistant that can be embedded in any page with custom context.
|
|
52
|
-
*/
|
|
53
|
-
export function ChatAssistantLegacy({ messages, status = "ready", error, sendMessage, stop, clearMessages, selectedProviderId, selectedModelId, selectedAgentId, onSelectionChange, selectorLocked, context, showContextToggle = false, onContextModeChange, quickActions, onQuickAction, renderMessage, renderEmpty, placeholder = CHAT_ASSISTANT_DEFAULTS.PLACEHOLDER, showClearButton = true, hideModelSelector = false, allowFiles = true, pendingContent, pendingContentLabel = CHAT_ASSISTANT_DEFAULTS.PENDING_CONTENT_LABEL, onAcceptContent, onRejectContent, className, }) {
|
|
54
|
-
return (_jsx(TooltipProvider, { delayDuration: 300, children: _jsx(ChatContextAdapter, { messages: messages, status: status, error: error, sendMessage: sendMessage, stop: stop, clearMessages: clearMessages, selectedProviderId: selectedProviderId, selectedModelId: selectedModelId, selectedAgentId: selectedAgentId, onSelectionChange: onSelectionChange, selectorLocked: selectorLocked, children: _jsxs("div", { className: cn("flex min-h-0 flex-1 flex-col", className), children: [showContextToggle && (_jsx(ChatContextToggle, { hasSelection: !!(context === null || context === void 0 ? void 0 : context.contextText), selectionPreview: context === null || context === void 0 ? void 0 : context.contextPreview, mode: (context === null || context === void 0 ? void 0 : context.contextType) === "selection" ? "selection" : "full", onChange: (mode) => onContextModeChange === null || onContextModeChange === void 0 ? void 0 : onContextModeChange(mode === "selection") })), showClearButton && clearMessages && messages.length > 0 && (_jsx("div", { className: "flex justify-end border-b px-4 py-2", children: _jsxs(TooltipButton, { variant: "ghost", size: "sm", className: "h-7 gap-1", onClick: clearMessages, tooltip: CHAT_ASSISTANT_ARIA_LABELS.CLEAR_BUTTON, children: [_jsx(Trash2, { className: "h-3 w-3", "aria-hidden": "true" }), _jsx("span", { className: "text-xs", children: "Clear" })] }) })), _jsx(ChatMessagesView, { className: "min-h-0 flex-1", renderMessage: renderMessage
|
|
55
|
-
? (message, messageContext) => {
|
|
56
|
-
var _a, _b;
|
|
57
|
-
// Skip system messages
|
|
58
|
-
if (message.role === "system") {
|
|
59
|
-
return null;
|
|
60
|
-
}
|
|
61
|
-
// Convert ClientChatMessage to AdapterMessage for custom renderer
|
|
62
|
-
const adapterMessage = {
|
|
63
|
-
id: message.id,
|
|
64
|
-
role: message.role,
|
|
65
|
-
content: ((_b = (_a = message.versions) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.content) || "",
|
|
66
|
-
toolCalls: message.toolCalls,
|
|
67
|
-
orderedParts: message.orderedParts,
|
|
68
|
-
};
|
|
69
|
-
return renderMessage(adapterMessage, messageContext);
|
|
70
|
-
}
|
|
71
|
-
: (message, messageContext) => (_jsx(DefaultMessageItem, { message: message, isStreaming: messageContext.isLast && messageContext.status === "streaming" }, message.id)), renderEmpty: renderEmpty || DefaultEmptyState }), pendingContent && onAcceptContent && onRejectContent && (_jsx(ChatContentApproval, { visible: !!pendingContent, label: pendingContentLabel, onAccept: onAcceptContent, onReject: onRejectContent })), error && (_jsx("div", { className: "bg-destructive/10 text-destructive border-t p-3 text-sm", children: error.message || "An error occurred" })), quickActions && quickActions.length > 0 && (_jsx(ChatQuickActions, { actions: quickActions, onAction: onQuickAction })), _jsx(ChatInputView, { className: "border-t p-3", placeholder: placeholder, hideModelSelector: hideModelSelector, allowFiles: allowFiles })] }) }) }));
|
|
72
|
-
}
|
|
73
|
-
//# sourceMappingURL=chat-assistant-legacy.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chat-assistant-legacy.js","sourceRoot":"","sources":["../../../lib/chat/components/chat-assistant-legacy.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb;;;;;;GAMG;AAEH,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,EAAE,EAAE,MAAM,2BAA2B,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AACvE,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM,0CAA0C,CAAC;AAC1E,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EAAE,mBAAmB,EAAE,MAAM,6CAA6C,CAAC;AAClF,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AACtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAC5E,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAC5E,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,uBAAuB,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AAGhG;;GAEG;AACH,SAAS,kBAAkB,CAAC,EAC1B,OAAO,EACP,WAAW,GAIZ;;IACC,MAAM,MAAM,GAAG,OAAO,CAAC,IAAI,KAAK,MAAM,CAAC;IACvC,MAAM,OAAO,GAAG,MAAA,MAAA,OAAO,CAAC,QAAQ,0C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