@parhelia/core 0.1.12928 → 0.1.12933

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.
Files changed (172) hide show
  1. package/dist/agents-view/AgentCard.js +4 -1
  2. package/dist/agents-view/AgentCard.js.map +1 -1
  3. package/dist/agents-view/AgentProfileIcon.js +8 -8
  4. package/dist/agents-view/AgentProfileIcon.js.map +1 -1
  5. package/dist/agents-view/AgentsView.js +1 -1
  6. package/dist/agents-view/ProfileAgentsGroup.js +1 -1
  7. package/dist/agents-view/ProfileAgentsGroup.js.map +1 -1
  8. package/dist/components/WorkspaceHomeView.d.ts +13 -0
  9. package/dist/components/WorkspaceHomeView.js +13 -0
  10. package/dist/components/WorkspaceHomeView.js.map +1 -0
  11. package/dist/components/ui/styled-dialog-title.d.ts +3 -1
  12. package/dist/components/ui/styled-dialog-title.js +2 -2
  13. package/dist/components/ui/styled-dialog-title.js.map +1 -1
  14. package/dist/config/config.js +7 -19
  15. package/dist/config/config.js.map +1 -1
  16. package/dist/config/notificationRoutes.js +1 -1
  17. package/dist/config/notificationRoutes.js.map +1 -1
  18. package/dist/editor/ConfirmationDialog.js +1 -1
  19. package/dist/editor/ConfirmationDialog.js.map +1 -1
  20. package/dist/editor/DeleteItemsWarning.js +1 -1
  21. package/dist/editor/DeleteItemsWarning.js.map +1 -1
  22. package/dist/editor/ImageEditButton.js +14 -2
  23. package/dist/editor/ImageEditButton.js.map +1 -1
  24. package/dist/editor/ImageEditor.js +1 -1
  25. package/dist/editor/ImageEditor.js.map +1 -1
  26. package/dist/editor/PictureEditor.js +1 -1
  27. package/dist/editor/PictureEditor.js.map +1 -1
  28. package/dist/editor/UsedBy.d.ts +11 -0
  29. package/dist/editor/UsedBy.js +64 -0
  30. package/dist/editor/UsedBy.js.map +1 -0
  31. package/dist/editor/ai/Agents.js +15 -79
  32. package/dist/editor/ai/Agents.js.map +1 -1
  33. package/dist/editor/ai/terminal/components/AgentMemoryPanel.d.ts +12 -0
  34. package/dist/editor/ai/terminal/components/AgentMemoryPanel.js +151 -0
  35. package/dist/editor/ai/terminal/components/AgentMemoryPanel.js.map +1 -0
  36. package/dist/editor/ai/terminal/components/AgentPromptTrayPopovers.js +10 -2
  37. package/dist/editor/ai/terminal/components/AgentPromptTrayPopovers.js.map +1 -1
  38. package/dist/editor/ai/terminal/components/AgentTerminalContextPanels.js +11 -0
  39. package/dist/editor/ai/terminal/components/AgentTerminalContextPanels.js.map +1 -1
  40. package/dist/editor/ai/terminal/components/AgentTerminalStatusBar.js +27 -20
  41. package/dist/editor/ai/terminal/components/AgentTerminalStatusBar.js.map +1 -1
  42. package/dist/editor/ai/terminal/useAgentSettingsData.js +4 -4
  43. package/dist/editor/ai/terminal/useAgentSettingsData.js.map +1 -1
  44. package/dist/editor/client/EditorShell.js +11 -51
  45. package/dist/editor/client/EditorShell.js.map +1 -1
  46. package/dist/editor/client/editContext.d.ts +3 -1
  47. package/dist/editor/client/operations.js +20 -1
  48. package/dist/editor/client/operations.js.map +1 -1
  49. package/dist/editor/commands/componentCommands.js +42 -7
  50. package/dist/editor/commands/componentCommands.js.map +1 -1
  51. package/dist/editor/context-menu/InsertMenu.js +1 -1
  52. package/dist/editor/context-menu/InsertMenu.js.map +1 -1
  53. package/dist/editor/field-types/TreeListEditor.js +28 -5
  54. package/dist/editor/field-types/TreeListEditor.js.map +1 -1
  55. package/dist/editor/menubar/PageSelector.js +1 -1
  56. package/dist/editor/menubar/PageSelector.js.map +1 -1
  57. package/dist/editor/menubar/toolbar-sections/EditControls.js +1 -2
  58. package/dist/editor/menubar/toolbar-sections/EditControls.js.map +1 -1
  59. package/dist/editor/menubar/toolbar-sections/ManualBrowser.js +6 -0
  60. package/dist/editor/menubar/toolbar-sections/ManualBrowser.js.map +1 -1
  61. package/dist/editor/menubar/toolbar-sections/UtilityControls.js +5 -5
  62. package/dist/editor/menubar/toolbar-sections/UtilityControls.js.map +1 -1
  63. package/dist/editor/page-editor-chrome/DragInsertionOverlay.d.ts +8 -1
  64. package/dist/editor/page-editor-chrome/DragInsertionOverlay.js +154 -34
  65. package/dist/editor/page-editor-chrome/DragInsertionOverlay.js.map +1 -1
  66. package/dist/editor/page-editor-chrome/EmptyImageFieldIndicators.d.ts +10 -0
  67. package/dist/editor/page-editor-chrome/EmptyImageFieldIndicators.js +236 -0
  68. package/dist/editor/page-editor-chrome/EmptyImageFieldIndicators.js.map +1 -0
  69. package/dist/editor/page-editor-chrome/FrameMenu.js +3 -1
  70. package/dist/editor/page-editor-chrome/FrameMenu.js.map +1 -1
  71. package/dist/editor/page-editor-chrome/PageEditorChrome.js +2 -1
  72. package/dist/editor/page-editor-chrome/PageEditorChrome.js.map +1 -1
  73. package/dist/editor/page-editor-chrome/PictureEditorOverlay.d.ts +3 -0
  74. package/dist/editor/page-editor-chrome/PictureEditorOverlay.js +1 -1
  75. package/dist/editor/page-editor-chrome/PictureEditorOverlay.js.map +1 -1
  76. package/dist/editor/page-editor-chrome/PlaceholderDropZone.js +6 -2
  77. package/dist/editor/page-editor-chrome/PlaceholderDropZone.js.map +1 -1
  78. package/dist/editor/page-editor-chrome/overlay/placeholderZones.d.ts +10 -0
  79. package/dist/editor/page-editor-chrome/overlay/placeholderZones.js +23 -1
  80. package/dist/editor/page-editor-chrome/overlay/placeholderZones.js.map +1 -1
  81. package/dist/editor/page-viewer/EditorForm.js +51 -3
  82. package/dist/editor/page-viewer/EditorForm.js.map +1 -1
  83. package/dist/editor/page-viewer/MiniMap.js +70 -5
  84. package/dist/editor/page-viewer/MiniMap.js.map +1 -1
  85. package/dist/editor/page-viewer/PageViewerFrame.js +123 -29
  86. package/dist/editor/page-viewer/PageViewerFrame.js.map +1 -1
  87. package/dist/editor/page-viewer/minimapVisibility.d.ts +33 -0
  88. package/dist/editor/page-viewer/minimapVisibility.js +72 -0
  89. package/dist/editor/page-viewer/minimapVisibility.js.map +1 -0
  90. package/dist/editor/page-viewer/parentBridgeInjection.js +5 -0
  91. package/dist/editor/page-viewer/parentBridgeInjection.js.map +1 -1
  92. package/dist/editor/page-viewer/renderUrl.js +29 -7
  93. package/dist/editor/page-viewer/renderUrl.js.map +1 -1
  94. package/dist/editor/reviews/CreateReviewConfirmStep.js +5 -4
  95. package/dist/editor/reviews/CreateReviewConfirmStep.js.map +1 -1
  96. package/dist/editor/reviews/CreateReviewDialog.js +120 -202
  97. package/dist/editor/reviews/CreateReviewDialog.js.map +1 -1
  98. package/dist/editor/reviews/CreateReviewItemsStep.d.ts +18 -0
  99. package/dist/editor/reviews/CreateReviewItemsStep.js +6 -0
  100. package/dist/editor/reviews/CreateReviewItemsStep.js.map +1 -0
  101. package/dist/editor/reviews/CreateReviewLanguagesStep.d.ts +9 -0
  102. package/dist/editor/reviews/CreateReviewLanguagesStep.js +36 -0
  103. package/dist/editor/reviews/CreateReviewLanguagesStep.js.map +1 -0
  104. package/dist/editor/reviews/CreateReviewReviewersStep.d.ts +17 -0
  105. package/dist/editor/reviews/CreateReviewReviewersStep.js +33 -0
  106. package/dist/editor/reviews/CreateReviewReviewersStep.js.map +1 -0
  107. package/dist/editor/reviews/CreateReviewSettingsStep.d.ts +21 -0
  108. package/dist/editor/reviews/CreateReviewSettingsStep.js +33 -0
  109. package/dist/editor/reviews/CreateReviewSettingsStep.js.map +1 -0
  110. package/dist/editor/reviews/MultiReviewManager.js +1 -4
  111. package/dist/editor/reviews/MultiReviewManager.js.map +1 -1
  112. package/dist/editor/reviews/openCommentsFeedback.d.ts +2 -6
  113. package/dist/editor/reviews/openCommentsFeedback.js +3 -11
  114. package/dist/editor/reviews/openCommentsFeedback.js.map +1 -1
  115. package/dist/editor/services/agentService.d.ts +36 -0
  116. package/dist/editor/services/agentService.js +42 -0
  117. package/dist/editor/services/agentService.js.map +1 -1
  118. package/dist/editor/services/aiService.d.ts +4 -2
  119. package/dist/editor/services/aiService.js.map +1 -1
  120. package/dist/editor/services/contentService.d.ts +8 -0
  121. package/dist/editor/services/contentService.js +2 -0
  122. package/dist/editor/services/contentService.js.map +1 -1
  123. package/dist/editor/services/editService.d.ts +9 -2
  124. package/dist/editor/services/editService.js +2 -2
  125. package/dist/editor/services/editService.js.map +1 -1
  126. package/dist/editor/services/reviewsService.d.ts +6 -0
  127. package/dist/editor/services/reviewsService.js +15 -0
  128. package/dist/editor/services/reviewsService.js.map +1 -1
  129. package/dist/editor/settings/panels/AgentProfileConfigPanel.js +2 -1
  130. package/dist/editor/settings/panels/AgentProfileConfigPanel.js.map +1 -1
  131. package/dist/editor/sidebar/ComponentTree.js +69 -3
  132. package/dist/editor/sidebar/ComponentTree.js.map +1 -1
  133. package/dist/editor/sidebar/Insert.js +1 -1
  134. package/dist/editor/sidebar/Insert.js.map +1 -1
  135. package/dist/editor/sidebar/Validation.js +82 -5
  136. package/dist/editor/sidebar/Validation.js.map +1 -1
  137. package/dist/editor/sidebar/useSharedComponentPublishState.d.ts +11 -0
  138. package/dist/editor/sidebar/useSharedComponentPublishState.js +77 -0
  139. package/dist/editor/sidebar/useSharedComponentPublishState.js.map +1 -0
  140. package/dist/editor/tree-indicators/GutterColumns.js +24 -6
  141. package/dist/editor/tree-indicators/GutterColumns.js.map +1 -1
  142. package/dist/editor/ui/InternalLink.js +1 -0
  143. package/dist/editor/ui/InternalLink.js.map +1 -1
  144. package/dist/editor/ui/ItemCollectionEditor.js +4 -4
  145. package/dist/editor/ui/ItemCollectionEditor.js.map +1 -1
  146. package/dist/editor/ui/PerfectTree.js +5 -5
  147. package/dist/editor/ui/PerfectTree.js.map +1 -1
  148. package/dist/editor/ui/PublishItemDialog.js +1 -1
  149. package/dist/editor/ui/PublishItemDialog.js.map +1 -1
  150. package/dist/editor/ui/PublishRestrictionsDialog.js +179 -148
  151. package/dist/editor/ui/PublishRestrictionsDialog.js.map +1 -1
  152. package/dist/editor/ui/RemoveComponentsConfirmMessage.d.ts +14 -0
  153. package/dist/editor/ui/RemoveComponentsConfirmMessage.js +12 -0
  154. package/dist/editor/ui/RemoveComponentsConfirmMessage.js.map +1 -0
  155. package/dist/editor/ui/WorkboxItemsTable.js +26 -8
  156. package/dist/editor/ui/WorkboxItemsTable.js.map +1 -1
  157. package/dist/editor/utils/keyboardNavigation.js +7 -0
  158. package/dist/editor/utils/keyboardNavigation.js.map +1 -1
  159. package/dist/editor/utils.d.ts +1 -1
  160. package/dist/editor/utils.js +5 -3
  161. package/dist/editor/utils.js.map +1 -1
  162. package/dist/editor/views/SingleEditView.js +32 -2
  163. package/dist/editor/views/SingleEditView.js.map +1 -1
  164. package/dist/index.d.ts +2 -0
  165. package/dist/index.js +1 -0
  166. package/dist/index.js.map +1 -1
  167. package/dist/revision.d.ts +2 -2
  168. package/dist/revision.js +2 -2
  169. package/dist/task-board/components/TaskBoardHomeView.js +3 -6
  170. package/dist/task-board/components/TaskBoardHomeView.js.map +1 -1
  171. package/dist/types.d.ts +5 -0
  172. package/package.json +1 -1
package/dist/revision.js CHANGED
@@ -1,3 +1,3 @@
1
- export const version = "0.1.12928";
2
- export const buildDate = "2026-07-06 09:45:57";
1
+ export const version = "0.1.12933";
2
+ export const buildDate = "2026-07-08 08:46:14";
3
3
  //# sourceMappingURL=revision.js.map
@@ -1,7 +1,5 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { useMemo } from "react";
3
- import { Plus } from "lucide-react";
4
- import { Button } from "../../components/ui/button";
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { WorkspaceHomeView } from "../../components/WorkspaceHomeView";
5
3
  const TASKBOARD_EMPTY_SLOGANS = [
6
4
  "A fresh board. Suspiciously clean.",
7
5
  "Backlog, meet destiny.",
@@ -15,7 +13,6 @@ const TASKBOARD_EMPTY_SLOGANS = [
15
13
  "Somewhere, a checklist is waiting.",
16
14
  ];
17
15
  export function TaskBoardHomeView({ nav }) {
18
- const slogan = useMemo(() => TASKBOARD_EMPTY_SLOGANS[Math.floor(Math.random() * TASKBOARD_EMPTY_SLOGANS.length)] ?? TASKBOARD_EMPTY_SLOGANS[0], []);
19
- return (_jsx("div", { className: "bg-neutral-grey-5 flex h-full min-h-[420px] w-full items-center justify-center px-6 py-10", "data-testid": "taskboard-home-view", children: _jsxs("div", { className: "flex w-full max-w-[560px] flex-col items-center text-center", children: [_jsx("h1", { className: "text-neutral-grey-100 text-5xl leading-tight font-medium tracking-normal", children: slogan }), _jsxs(Button, { type: "button", variant: "outline", className: "border-border-default hover:border-neutral-grey-15 group active:bg-neutral-grey-5 mt-12 flex h-[134px] w-full max-w-[300px] flex-col items-center justify-center gap-4 rounded-md bg-white px-6 text-base font-medium shadow-none transition-all duration-150 hover:bg-white active:translate-y-px active:scale-[0.985] active:shadow-inner", onClick: () => nav.onCreateProject?.(), disabled: !nav.onCreateProject, "data-testid": "taskboard-home-create-project-card", children: [_jsx("span", { className: "bg-neutral-grey-5 text-neutral-grey-100 group-hover:bg-neutral-grey-10 flex size-11 items-center justify-center rounded-md transition-colors duration-150", children: _jsx(Plus, { className: "size-6", strokeWidth: 1.5 }) }), _jsx("span", { children: "Start your next project" })] })] }) }));
16
+ return (_jsx(WorkspaceHomeView, { slogans: TASKBOARD_EMPTY_SLOGANS, actionLabel: "Start your next project", onAction: nav.onCreateProject, testId: "taskboard-home-view", actionTestId: "taskboard-home-create-project-card" }));
20
17
  }
21
18
  //# sourceMappingURL=TaskBoardHomeView.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TaskBoardHomeView.js","sourceRoot":"","sources":["../../../src/task-board/components/TaskBoardHomeView.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAMpD,MAAM,uBAAuB,GAAG;IAC9B,oCAAoC;IACpC,wBAAwB;IACxB,wCAAwC;IACxC,4CAA4C;IAC5C,sCAAsC;IACtC,4BAA4B;IAC5B,gCAAgC;IAChC,oCAAoC;IACpC,uCAAuC;IACvC,oCAAoC;CACrC,CAAC;AAEF,MAAM,UAAU,iBAAiB,CAAC,EAAE,GAAG,EAA6B;IAClE,MAAM,MAAM,GAAG,OAAO,CACpB,GAAG,EAAE,CACH,uBAAuB,CACrB,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,uBAAuB,CAAC,MAAM,CAAC,CAC3D,IAAI,uBAAuB,CAAC,CAAC,CAAC,EACjC,EAAE,CACH,CAAC;IAEF,OAAO,CACL,cACE,SAAS,EAAC,2FAA2F,iBACzF,qBAAqB,YAEjC,eAAK,SAAS,EAAC,6DAA6D,aAC1E,aAAI,SAAS,EAAC,0EAA0E,YACrF,MAAM,GACJ,EAEL,MAAC,MAAM,IACL,IAAI,EAAC,QAAQ,EACb,OAAO,EAAC,SAAS,EACjB,SAAS,EAAC,6UAA6U,EACvV,OAAO,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,eAAe,EAAE,EAAE,EACtC,QAAQ,EAAE,CAAC,GAAG,CAAC,eAAe,iBAClB,oCAAoC,aAEhD,eAAM,SAAS,EAAC,2JAA2J,YACzK,KAAC,IAAI,IAAC,SAAS,EAAC,QAAQ,EAAC,WAAW,EAAE,GAAG,GAAI,GACxC,EACP,qDAAoC,IAC7B,IACL,GACF,CACP,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"TaskBoardHomeView.js","sourceRoot":"","sources":["../../../src/task-board/components/TaskBoardHomeView.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAMvE,MAAM,uBAAuB,GAAG;IAC9B,oCAAoC;IACpC,wBAAwB;IACxB,wCAAwC;IACxC,4CAA4C;IAC5C,sCAAsC;IACtC,4BAA4B;IAC5B,gCAAgC;IAChC,oCAAoC;IACpC,uCAAuC;IACvC,oCAAoC;CACrC,CAAC;AAEF,MAAM,UAAU,iBAAiB,CAAC,EAAE,GAAG,EAA6B;IAClE,OAAO,CACL,KAAC,iBAAiB,IAChB,OAAO,EAAE,uBAAuB,EAChC,WAAW,EAAC,yBAAyB,EACrC,QAAQ,EAAE,GAAG,CAAC,eAAe,EAC7B,MAAM,EAAC,qBAAqB,EAC5B,YAAY,EAAC,oCAAoC,GACjD,CACH,CAAC;AACJ,CAAC"}
package/dist/types.d.ts CHANGED
@@ -150,6 +150,11 @@ export type DuplicateComponentsOperation = EditOperation & {
150
150
  export type RemoveComponentOperation = EditOperation & {
151
151
  type: "remove-component";
152
152
  componentIds: string[];
153
+ /**
154
+ * When true, shared datasource items (living outside the page) are deleted
155
+ * together with the component. Default: shared content is kept.
156
+ */
157
+ deleteSharedDatasources?: boolean;
153
158
  };
154
159
  export type SynchronizeComponentsOperation = EditOperation & {
155
160
  type: "synchronize-components";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parhelia/core",
3
- "version": "0.1.12928",
3
+ "version": "0.1.12933",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },