@arbidocs/blocks 0.4.15 → 0.4.17
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/index.cjs +369 -171
- package/dist/agents/index.js +4 -2
- package/dist/agents/tasks/DueDateMenu.d.ts +32 -0
- package/dist/agents/tasks/NewThreadDialog.d.ts +53 -0
- package/dist/agents/tasks/PersonPill.d.ts +22 -0
- package/dist/agents/tasks/PillSelect.d.ts +39 -0
- package/dist/agents/tasks/TaskActivityDialog.d.ts +14 -0
- package/dist/agents/tasks/TaskActivityTimeline.d.ts +54 -0
- package/dist/agents/tasks/TaskComposer.d.ts +6 -106
- package/dist/agents/tasks/TaskMoveDialog.d.ts +25 -0
- package/dist/agents/tasks/TaskOutputsCell.d.ts +23 -0
- package/dist/agents/tasks/TaskPlan.d.ts +4 -2
- package/dist/agents/tasks/TaskReviewActions.d.ts +44 -0
- package/dist/agents/tasks/TaskRowMenu.d.ts +28 -0
- package/dist/agents/tasks/TaskStatusPill.d.ts +24 -0
- package/dist/agents/tasks/TaskTable.d.ts +99 -0
- package/dist/agents/tasks/TaskThreadChip.d.ts +19 -0
- package/dist/agents/tasks/TaskTriggerChip.d.ts +24 -0
- package/dist/agents/tasks/TasksChrome.d.ts +17 -17
- package/dist/agents/tasks/WorkflowComposer.d.ts +10 -0
- package/dist/agents/tasks/WorkflowsTable.d.ts +72 -0
- package/dist/agents/tasks/gridWidth.d.ts +11 -0
- package/dist/agents/tasks/index.d.ts +23 -7
- package/dist/agents/tasks/taskColumns.d.ts +39 -63
- package/dist/agents/tasks/taskComposerTypes.d.ts +217 -0
- package/dist/agents/tasks/taskLabels.d.ts +27 -10
- package/dist/agents/tasks/taskRequest.d.ts +151 -25
- package/dist/agents/tasks/taskRows.d.ts +111 -0
- package/dist/agents/tasks/taskTableLabels.d.ts +64 -0
- package/dist/agents/tasks/workflowColumns.d.ts +23 -0
- package/dist/agents/tasks/workflowRows.d.ts +44 -0
- package/dist/agents/tasks/workflowTableLabels.d.ts +53 -0
- package/dist/agents/workflows/WorkflowConfigDialog.d.ts +5 -0
- package/dist/agents/workflows/index.d.ts +1 -0
- package/dist/agents/workflows/scopeRender.d.ts +10 -0
- package/dist/agents/workflows/types.d.ts +2 -0
- package/dist/chat/AssistantModeToggle.d.ts +25 -0
- package/dist/chat/MentionMenu.d.ts +52 -0
- package/dist/chat/index.cjs +119 -63
- package/dist/chat/index.d.ts +4 -0
- package/dist/chat/index.js +1 -1
- package/dist/chat/mentions.d.ts +64 -0
- package/dist/chat/useMentionAutocomplete.d.ts +33 -0
- package/dist/{chunk-IMA6I73C.js → chunk-ABSII3ND.js} +336 -4
- package/dist/chunk-ABSII3ND.js.map +1 -0
- package/dist/{chunk-22T6KHGB.cjs → chunk-C2V6HQKG.cjs} +348 -2
- package/dist/chunk-C2V6HQKG.cjs.map +1 -0
- package/dist/chunk-IC2VHFWR.js +158 -0
- package/dist/chunk-IC2VHFWR.js.map +1 -0
- package/dist/{chunk-67HGXV4I.cjs → chunk-IWOOGRNG.cjs} +4276 -855
- package/dist/chunk-IWOOGRNG.cjs.map +1 -0
- package/dist/{chunk-D6XY3C4O.cjs → chunk-JGZTRLKL.cjs} +207 -139
- package/dist/chunk-JGZTRLKL.cjs.map +1 -0
- package/dist/{chunk-H7OD4CHN.js → chunk-NUPVHEJW.js} +208 -140
- package/dist/chunk-NUPVHEJW.js.map +1 -0
- package/dist/{chunk-CVFBSUXL.js → chunk-OMF7444S.js} +4223 -851
- package/dist/chunk-OMF7444S.js.map +1 -0
- package/dist/chunk-ZPERNIMP.cjs +162 -0
- package/dist/chunk-ZPERNIMP.cjs.map +1 -0
- package/dist/connection/ai.d.ts +4 -1
- package/dist/facts/FactRowActions.d.ts +5 -1
- package/dist/facts/factColumns.d.ts +1 -1
- package/dist/facts/index.cjs +18 -9
- package/dist/facts/index.cjs.map +1 -1
- package/dist/facts/index.js +13 -4
- package/dist/facts/index.js.map +1 -1
- package/dist/files/GridView.d.ts +5 -0
- package/dist/files/index.cjs +17 -17
- package/dist/files/index.js +3 -4
- package/dist/files/index.js.map +1 -1
- package/dist/index.cjs +495 -243
- package/dist/index.js +4 -4
- package/dist/settings/ConversationSettingsParts.d.ts +5 -1
- package/dist/settings/index.cjs +8 -3
- package/dist/settings/index.cjs.map +1 -1
- package/dist/settings/index.js +8 -3
- package/dist/settings/index.js.map +1 -1
- package/dist/site/index.cjs +9 -9
- package/dist/site/index.js +1 -1
- package/dist/workspaces/index.cjs +1 -1
- package/dist/workspaces/index.cjs.map +1 -1
- package/dist/workspaces/index.js +1 -1
- package/dist/workspaces/index.js.map +1 -1
- package/package.json +3 -3
- package/dist/agents/tasks/LiveRunsBanner.d.ts +0 -26
- package/dist/agents/tasks/TaskRowActions.d.ts +0 -43
- package/dist/chunk-22T6KHGB.cjs.map +0 -1
- package/dist/chunk-67HGXV4I.cjs.map +0 -1
- package/dist/chunk-CVFBSUXL.js.map +0 -1
- package/dist/chunk-D6XY3C4O.cjs.map +0 -1
- package/dist/chunk-H7OD4CHN.js.map +0 -1
- package/dist/chunk-IMA6I73C.js.map +0 -1
- package/dist/chunk-NUNKSZKU.js +0 -203
- package/dist/chunk-NUNKSZKU.js.map +0 -1
- package/dist/chunk-V4ISCZJ7.cjs +0 -207
- package/dist/chunk-V4ISCZJ7.cjs.map +0 -1
package/dist/facts/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { ViewToggle } from '../chunk-IC2VHFWR.js';
|
|
3
3
|
import { SearchHit } from '../chunk-A2YAC22G.js';
|
|
4
4
|
import { formatSpan, TimelineCalendar, TimelineGantt } from '../chunk-4EZVCGRL.js';
|
|
5
|
-
import { SelectionBar, SelectionBarAction } from '../chunk-
|
|
5
|
+
import { GridView, SelectionBar, SelectionBarAction } from '../chunk-NUPVHEJW.js';
|
|
6
6
|
import { TabHeader } from '../chunk-UBNVIIBT.js';
|
|
7
7
|
import '../chunk-SLSBJRWW.js';
|
|
8
8
|
import '../chunk-76JDDMSP.js';
|
|
@@ -259,7 +259,7 @@ function createFactColumns(slots) {
|
|
|
259
259
|
headerClass: "header-hcenter",
|
|
260
260
|
cellDataType: "boolean",
|
|
261
261
|
valueGetter: (params) => params.data?.shared ?? false,
|
|
262
|
-
cellRenderer: (params) => params.data ? /* @__PURE__ */ jsx("div", { className: "flex h-full items-center justify-center", children: slots.renderShared(params.data) }) : null
|
|
262
|
+
cellRenderer: (params) => params.data ? /* @__PURE__ */ jsx("div", { className: "flex h-full items-center justify-center", children: slots.renderShared(params.data, params) }) : null
|
|
263
263
|
},
|
|
264
264
|
{
|
|
265
265
|
colId: "created_by",
|
|
@@ -346,9 +346,16 @@ function createFactColumns(slots) {
|
|
|
346
346
|
var DEFAULT_FACT_ROW_ACTIONS_LABELS = {
|
|
347
347
|
actions: "Fact actions",
|
|
348
348
|
edit: "Edit",
|
|
349
|
+
editRestricted: "Only the creator or a workspace owner can reword this fact",
|
|
349
350
|
delete: "Delete"
|
|
350
351
|
};
|
|
351
|
-
function FactRowActions({
|
|
352
|
+
function FactRowActions({
|
|
353
|
+
onEdit,
|
|
354
|
+
canEdit = true,
|
|
355
|
+
onDelete,
|
|
356
|
+
labels,
|
|
357
|
+
testIds
|
|
358
|
+
}) {
|
|
352
359
|
const l = { ...DEFAULT_FACT_ROW_ACTIONS_LABELS, ...labels };
|
|
353
360
|
return /* @__PURE__ */ jsxs(DropdownMenu, { children: [
|
|
354
361
|
/* @__PURE__ */ jsx(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsx(
|
|
@@ -367,6 +374,8 @@ function FactRowActions({ onEdit, onDelete, labels, testIds }) {
|
|
|
367
374
|
DropdownMenuItem,
|
|
368
375
|
{
|
|
369
376
|
onSelect: onEdit,
|
|
377
|
+
disabled: !canEdit,
|
|
378
|
+
title: canEdit ? void 0 : l.editRestricted,
|
|
370
379
|
"data-testid": testIdOr(testIds?.edit, { testId: "fact-action-edit" }),
|
|
371
380
|
children: [
|
|
372
381
|
/* @__PURE__ */ jsx(Pencil, { className: "mr-2 size-4" }),
|