@arbidocs/blocks 0.4.145 → 0.4.147

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 (100) hide show
  1. package/dist/agents/index.cjs +266 -266
  2. package/dist/agents/index.js +9 -9
  3. package/dist/chat/index.cjs +1 -1
  4. package/dist/chat/index.js +1 -1
  5. package/dist/{chunk-ULPFRK3J.cjs → chunk-AINU3EJ6.cjs} +8 -8
  6. package/dist/{chunk-ULPFRK3J.cjs.map → chunk-AINU3EJ6.cjs.map} +1 -1
  7. package/dist/{chunk-KPO67GBR.cjs → chunk-AO7SK6WP.cjs} +32 -32
  8. package/dist/{chunk-KPO67GBR.cjs.map → chunk-AO7SK6WP.cjs.map} +1 -1
  9. package/dist/{chunk-NGDXDHLG.js → chunk-DAHCRVPM.js} +3 -3
  10. package/dist/{chunk-NGDXDHLG.js.map → chunk-DAHCRVPM.js.map} +1 -1
  11. package/dist/{chunk-FUTMU4FR.js → chunk-DGV7HQA7.js} +6 -179
  12. package/dist/chunk-DGV7HQA7.js.map +1 -0
  13. package/dist/chunk-EV7W64B6.js +134 -0
  14. package/dist/chunk-EV7W64B6.js.map +1 -0
  15. package/dist/{chunk-O6IEZDRC.cjs → chunk-GRGS5M6O.cjs} +181 -3
  16. package/dist/chunk-GRGS5M6O.cjs.map +1 -0
  17. package/dist/{chunk-J4M37SXY.js → chunk-H74HEPKT.js} +190 -7
  18. package/dist/chunk-H74HEPKT.js.map +1 -0
  19. package/dist/{chunk-NSNHRZBH.cjs → chunk-IL3WB3YX.cjs} +3 -3
  20. package/dist/{chunk-NSNHRZBH.cjs.map → chunk-IL3WB3YX.cjs.map} +1 -1
  21. package/dist/{chunk-34GDGE77.cjs → chunk-LTU35TQN.cjs} +192 -6
  22. package/dist/chunk-LTU35TQN.cjs.map +1 -0
  23. package/dist/{chunk-VVZ34A2P.js → chunk-LZRMXJIE.js} +3 -3
  24. package/dist/{chunk-VVZ34A2P.js.map → chunk-LZRMXJIE.js.map} +1 -1
  25. package/dist/{chunk-OPTBQSCV.cjs → chunk-MFY2ZNP6.cjs} +2 -181
  26. package/dist/{chunk-FUTMU4FR.js.map → chunk-MFY2ZNP6.cjs.map} +1 -1
  27. package/dist/{chunk-6HCJ3ZEU.js → chunk-R6VCPDPF.js} +178 -6
  28. package/dist/chunk-R6VCPDPF.js.map +1 -0
  29. package/dist/chunk-RXK3XP62.cjs +144 -0
  30. package/dist/chunk-RXK3XP62.cjs.map +1 -0
  31. package/dist/{chunk-KTSF4HFC.js → chunk-SUUPR735.js} +6 -6
  32. package/dist/{chunk-KTSF4HFC.js.map → chunk-SUUPR735.js.map} +1 -1
  33. package/dist/{chunk-WO7QAVTL.cjs → chunk-T5I4NRFP.cjs} +9 -9
  34. package/dist/{chunk-WO7QAVTL.cjs.map → chunk-T5I4NRFP.cjs.map} +1 -1
  35. package/dist/chunk-U37AYUPI.cjs +5371 -0
  36. package/dist/chunk-U37AYUPI.cjs.map +1 -0
  37. package/dist/{chunk-QOL3M4FJ.js → chunk-VUR63NMQ.js} +8 -8
  38. package/dist/{chunk-QOL3M4FJ.js.map → chunk-VUR63NMQ.js.map} +1 -1
  39. package/dist/chunk-WIZ7Z7FN.js +5179 -0
  40. package/dist/chunk-WIZ7Z7FN.js.map +1 -0
  41. package/dist/collaboration/index.cjs +81 -81
  42. package/dist/collaboration/index.js +3 -3
  43. package/dist/connect/docx.cjs +9 -9
  44. package/dist/connect/docx.js +6 -6
  45. package/dist/connect/index.cjs +1395 -132
  46. package/dist/connect/index.cjs.map +1 -1
  47. package/dist/connect/index.d.ts +2 -0
  48. package/dist/connect/index.js +1278 -24
  49. package/dist/connect/index.js.map +1 -1
  50. package/dist/connection/ConnectedNotificationRelevance.d.ts +4 -1
  51. package/dist/connection/connectors/ConnectedAppsSettings.d.ts +24 -0
  52. package/dist/connection/connectors/ConnectedDriveSyncDialog.d.ts +12 -0
  53. package/dist/connection/connectors/ConnectedMailboxSyncDialog.d.ts +12 -0
  54. package/dist/connection/connectors/index.d.ts +4 -0
  55. package/dist/connection/connectors/sync-labels.d.ts +21 -0
  56. package/dist/connection/settings-page/ConnectedSettingsPage.d.ts +4 -0
  57. package/dist/connection/settings-page/index.d.ts +1 -1
  58. package/dist/connection/workspace-settings/ConnectedWorkspaceSettings.d.ts +53 -0
  59. package/dist/connection/workspace-settings/index.d.ts +2 -0
  60. package/dist/connection/workspace-settings/useConnectedWorkspaceSettings.d.ts +85 -0
  61. package/dist/document-tools/index.cjs +1 -1
  62. package/dist/document-tools/index.js +1 -1
  63. package/dist/facts/index.cjs +1 -1
  64. package/dist/facts/index.js +1 -1
  65. package/dist/files/index.cjs +3 -3
  66. package/dist/files/index.js +3 -3
  67. package/dist/index.cjs +445 -618
  68. package/dist/index.cjs.map +1 -1
  69. package/dist/index.js +23 -205
  70. package/dist/index.js.map +1 -1
  71. package/dist/settings/PlanBadge.d.ts +1 -1
  72. package/dist/settings/index.cjs +551 -3716
  73. package/dist/settings/index.cjs.map +1 -1
  74. package/dist/settings/index.js +8 -3525
  75. package/dist/settings/index.js.map +1 -1
  76. package/dist/shell/index.cjs +1 -1
  77. package/dist/shell/index.js +1 -1
  78. package/dist/site/index.cjs +10 -10
  79. package/dist/site/index.js +2 -2
  80. package/dist/studio/index.cjs +3 -3
  81. package/dist/studio/index.js +3 -3
  82. package/dist/workflow-canvas/index.cjs +22 -22
  83. package/dist/workflow-canvas/index.js +9 -9
  84. package/dist/workspaces/CommonWorkspaceToggle.d.ts +15 -0
  85. package/dist/workspaces/index.cjs +38 -107
  86. package/dist/workspaces/index.cjs.map +1 -1
  87. package/dist/workspaces/index.d.ts +1 -0
  88. package/dist/workspaces/index.js +5 -102
  89. package/dist/workspaces/index.js.map +1 -1
  90. package/node_modules/@arbidocs/coedit/package.json +1 -1
  91. package/package.json +4 -4
  92. package/dist/chunk-34GDGE77.cjs.map +0 -1
  93. package/dist/chunk-5YHEHEJT.js +0 -1667
  94. package/dist/chunk-5YHEHEJT.js.map +0 -1
  95. package/dist/chunk-6HCJ3ZEU.js.map +0 -1
  96. package/dist/chunk-J4M37SXY.js.map +0 -1
  97. package/dist/chunk-O6IEZDRC.cjs.map +0 -1
  98. package/dist/chunk-OPTBQSCV.cjs.map +0 -1
  99. package/dist/chunk-U73KPFYH.cjs +0 -1717
  100. package/dist/chunk-U73KPFYH.cjs.map +0 -1
@@ -4,8 +4,8 @@
4
4
  var chunkCOCGRJLA_cjs = require('../chunk-COCGRJLA.cjs');
5
5
  var chunkV46W7YLI_cjs = require('../chunk-V46W7YLI.cjs');
6
6
  require('../chunk-AHDJXIUB.cjs');
7
- var chunk2EI7NCUA_cjs = require('../chunk-2EI7NCUA.cjs');
8
7
  require('../chunk-DTROMMDX.cjs');
8
+ var chunk2EI7NCUA_cjs = require('../chunk-2EI7NCUA.cjs');
9
9
  var chunk7RGLTF76_cjs = require('../chunk-7RGLTF76.cjs');
10
10
  var chunk5UHAWSEX_cjs = require('../chunk-5UHAWSEX.cjs');
11
11
  var chunkB6MVQCXW_cjs = require('../chunk-B6MVQCXW.cjs');
@@ -2,8 +2,8 @@
2
2
  export { ActionCluster, AskField, AskRow, AskTrigger, DEFAULT_ASK_FIELD_LABELS, DEFAULT_INSTALL_PROMPT_LABELS, DEFAULT_MOBILE_BARS_LABELS, DEFAULT_OFFLINE_PILL_LABELS, DEFAULT_REMOTE_CONTROL_PILL_LABELS, DEFAULT_SIDEBAR_LABELS, DEFAULT_TIP_CARD_LABELS, INSTALL_PROMPT_DISMISSED_KEY, InfoBar, InstallPrompt, MobileAppBar, MobileTabBar, NotificationBell, OfflinePill, RemoteControlPill, STATUS_ROW_BASE_CLASS, STATUS_ROW_TONES, ShellSidebar, Sidebar, SidebarBadgeRow, SidebarRowAction, SidebarRowHoverContext, SplitLayout, StatusBadge, StatusRow, TipCard, UserMenu, getInstallInstructions, initInstallPrompt, isIosDevice, promptAppInstall, resolveSidebarLayout, useCloseOnEscape, useInstallPrompt, useSidebarContext, useSidebarController, useSidebarSettle } from '../chunk-H4D7WKDY.js';
3
3
  export { DEFAULT_WORKSPACE_KIND_LABELS, DEFAULT_WORKSPACE_SWITCHER_LABELS, WorkspaceIdentity, WorkspaceSwitcher, workspaceKindColor, workspaceKindMeta } from '../chunk-A3XPS2EU.js';
4
4
  import '../chunk-RLWIUUQ5.js';
5
- export { DEFAULT_FILTER_FIELDS, DEFAULT_FILTER_INPUT_LABELS, FilterInput } from '../chunk-YU2KUMGE.js';
6
5
  import '../chunk-YKQ2DPIP.js';
6
+ export { DEFAULT_FILTER_FIELDS, DEFAULT_FILTER_INPUT_LABELS, FilterInput } from '../chunk-YU2KUMGE.js';
7
7
  export { DEFAULT_TAB_HEADER_LABELS, TabHeader } from '../chunk-4WWM3GQ5.js';
8
8
  export { DEFAULT_DOCK_WIDTH, Toaster } from '../chunk-OKERRHLH.js';
9
9
  export { DEFAULT_OVERLAY_ZONE_ID, DEFAULT_PAGE_CONTAINER_PADDING, DEFAULT_SIDEBAR_TOGGLE_BUTTON_LABELS, PageContainer, SHELL_BOTTOM_INSET_VAR, Shell, SidebarToggleButton, ToolButton, useDrawerBehavior, useOverlayZoneId, useShellBottomInset } from '../chunk-7XF5SFJ2.js';
@@ -3,10 +3,10 @@
3
3
 
4
4
  var chunkECW2R2KF_cjs = require('../chunk-ECW2R2KF.cjs');
5
5
  var chunkTC3RQNEX_cjs = require('../chunk-TC3RQNEX.cjs');
6
- var chunkNWNVWO6L_cjs = require('../chunk-NWNVWO6L.cjs');
6
+ var chunkPCB2BPN3_cjs = require('../chunk-PCB2BPN3.cjs');
7
7
  var chunkELR74ME6_cjs = require('../chunk-ELR74ME6.cjs');
8
+ var chunkNWNVWO6L_cjs = require('../chunk-NWNVWO6L.cjs');
8
9
  var chunkVPPX5XUF_cjs = require('../chunk-VPPX5XUF.cjs');
9
- var chunkPCB2BPN3_cjs = require('../chunk-PCB2BPN3.cjs');
10
10
  var chunkDVUZTGVL_cjs = require('../chunk-DVUZTGVL.cjs');
11
11
  require('../chunk-32HW2Q33.cjs');
12
12
  var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
@@ -238,6 +238,14 @@ Object.defineProperty(exports, "toHslTriplet", {
238
238
  enumerable: true,
239
239
  get: function () { return chunkTC3RQNEX_cjs.toHslTriplet; }
240
240
  });
241
+ Object.defineProperty(exports, "Callout", {
242
+ enumerable: true,
243
+ get: function () { return chunkPCB2BPN3_cjs.Callout; }
244
+ });
245
+ Object.defineProperty(exports, "Timeline", {
246
+ enumerable: true,
247
+ get: function () { return chunkELR74ME6_cjs.Timeline; }
248
+ });
241
249
  Object.defineProperty(exports, "FONT_PAIRINGS", {
242
250
  enumerable: true,
243
251
  get: function () { return chunkNWNVWO6L_cjs.FONT_PAIRINGS; }
@@ -254,10 +262,6 @@ Object.defineProperty(exports, "matchFontPairing", {
254
262
  enumerable: true,
255
263
  get: function () { return chunkNWNVWO6L_cjs.matchFontPairing; }
256
264
  });
257
- Object.defineProperty(exports, "Timeline", {
258
- enumerable: true,
259
- get: function () { return chunkELR74ME6_cjs.Timeline; }
260
- });
261
265
  Object.defineProperty(exports, "TimelineCalendar", {
262
266
  enumerable: true,
263
267
  get: function () { return chunkVPPX5XUF_cjs.TimelineCalendar; }
@@ -286,10 +290,6 @@ Object.defineProperty(exports, "utcDay", {
286
290
  enumerable: true,
287
291
  get: function () { return chunkVPPX5XUF_cjs.utcDay; }
288
292
  });
289
- Object.defineProperty(exports, "Callout", {
290
- enumerable: true,
291
- get: function () { return chunkPCB2BPN3_cjs.Callout; }
292
- });
293
293
  Object.defineProperty(exports, "Dot", {
294
294
  enumerable: true,
295
295
  get: function () { return chunkDVUZTGVL_cjs.Dot; }
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  export { ArticleList, Chart, CheckList, CollectionDetail, CtaBand, DefinitionList, EditorialHeading, EditorialHero, EditorialProse, EditorialSection, Eyebrow, PanelGrid, ProofStrip, PullQuote, Reveal, TagList } from '../chunk-SZOFGU7W.js';
3
3
  export { Accordion, AvatarBlock, Banner, BlockImage, BlockLink, CTABanner, Columns, ContactForm, Container, FAQ, FeatureGrid, Footer, Gallery, Hero, ListBlock, LogoCloud, MediaText, Navbar, PricingTable, ProfileCard, RichTextBlock, SectionHeading, Spacer, Steps, THEME_STYLE_ID, Tabs, TeamGrid, Testimonial, TestimonialGrid, ThemeEditor, VideoEmbed, applyFontVars, applyStoredTheme, applyThemeVars, clearFontVars, clearThemeVars, createThemeStore, tid, toEmbedUrl, toHslTriplet } from '../chunk-VTTZZ4FN.js';
4
- export { FONT_PAIRINGS, fontPackages, getFontPairing, matchFontPairing } from '../chunk-NHZK64TQ.js';
4
+ export { Callout } from '../chunk-UJE32SST.js';
5
5
  export { Timeline } from '../chunk-OVEQERPO.js';
6
+ export { FONT_PAIRINGS, fontPackages, getFontPairing, matchFontPairing } from '../chunk-NHZK64TQ.js';
6
7
  export { TimelineCalendar, TimelineGantt, dayKey, formatSpan, monthLabel, parseIso, utcDay } from '../chunk-4EZVCGRL.js';
7
- export { Callout } from '../chunk-UJE32SST.js';
8
8
  export { Dot, ToneBadge } from '../chunk-5LXQPP2K.js';
9
9
  import '../chunk-AUS3KBHJ.js';
10
10
  export { daysUntil, fmtDate, fmtDateTime, formatCurrency, fromNow, hrs, initials, pct } from '../chunk-OXF2IFXG.js';
@@ -5,10 +5,10 @@ var chunkODRHHWHY_cjs = require('../chunk-ODRHHWHY.cjs');
5
5
  var chunkGFNELPDP_cjs = require('../chunk-GFNELPDP.cjs');
6
6
  var chunkKMZWKSKO_cjs = require('../chunk-KMZWKSKO.cjs');
7
7
  var chunkTC3RQNEX_cjs = require('../chunk-TC3RQNEX.cjs');
8
- require('../chunk-NWNVWO6L.cjs');
8
+ var chunkPCB2BPN3_cjs = require('../chunk-PCB2BPN3.cjs');
9
9
  var chunkELR74ME6_cjs = require('../chunk-ELR74ME6.cjs');
10
+ require('../chunk-NWNVWO6L.cjs');
10
11
  require('../chunk-VPPX5XUF.cjs');
11
- var chunkPCB2BPN3_cjs = require('../chunk-PCB2BPN3.cjs');
12
12
  var chunkZW6FPIFC_cjs = require('../chunk-ZW6FPIFC.cjs');
13
13
  require('../chunk-DTROMMDX.cjs');
14
14
  require('../chunk-5A2QQAF5.cjs');
@@ -16,8 +16,8 @@ require('../chunk-B6MVQCXW.cjs');
16
16
  require('../chunk-JKB7WT7L.cjs');
17
17
  require('../chunk-JSTKEZBS.cjs');
18
18
  require('../chunk-76L6LOP3.cjs');
19
- require('../chunk-32HW2Q33.cjs');
20
19
  require('../chunk-7UTB4PHM.cjs');
20
+ require('../chunk-32HW2Q33.cjs');
21
21
  require('../chunk-PPCATBOY.cjs');
22
22
  require('../chunk-MHVNT4J3.cjs');
23
23
  var chunkKPZZ5FHE_cjs = require('../chunk-KPZZ5FHE.cjs');
@@ -4,10 +4,10 @@ import { useConnection } from '../chunk-US3S4DCB.js';
4
4
  import { PageHeader, MetricCard, DataTableBlock, StatGroup } from '../chunk-OVR3XMYL.js';
5
5
  import { assetRefId, applyStoredTheme, AssetResolverProvider, ThemeEditor, applyThemeVars, tid, SectionHeading, PricingTable, Tabs as Tabs$1, Accordion, Gallery, VideoEmbed, ContactForm, Banner, MediaText, TeamGrid, Steps, TestimonialGrid, Columns, Spacer, Container, Hero, FeatureGrid, Testimonial, CTABanner, LogoCloud, FAQ, RichTextBlock, BlockImage, AvatarBlock, Navbar, Footer, ListBlock, isAssetRef, asAssetRef } from '../chunk-VTTZZ4FN.js';
6
6
  export { ASSET_REF_PREFIX, AssetResolverProvider, asAssetRef, assetRefId, isAssetRef, useAssetRenderer, useAssetResolverActive } from '../chunk-VTTZZ4FN.js';
7
- import '../chunk-NHZK64TQ.js';
7
+ import { Callout } from '../chunk-UJE32SST.js';
8
8
  import { Timeline } from '../chunk-OVEQERPO.js';
9
+ import '../chunk-NHZK64TQ.js';
9
10
  import '../chunk-4EZVCGRL.js';
10
- import { Callout } from '../chunk-UJE32SST.js';
11
11
  import { EmptyState } from '../chunk-P6GHJSLR.js';
12
12
  import '../chunk-YKQ2DPIP.js';
13
13
  import '../chunk-GWSGIZQ5.js';
@@ -15,8 +15,8 @@ import '../chunk-7XF5SFJ2.js';
15
15
  import '../chunk-YBLIKTJK.js';
16
16
  import '../chunk-PDKM27DF.js';
17
17
  import '../chunk-TZGBRLPK.js';
18
- import '../chunk-AUS3KBHJ.js';
19
18
  import '../chunk-AA3PT6KR.js';
19
+ import '../chunk-AUS3KBHJ.js';
20
20
  import '../chunk-NPLYHR2E.js';
21
21
  import '../chunk-7F6CBP3Z.js';
22
22
  import { useBlocksEnvironment } from '../chunk-TBEVGWY3.js';
@@ -3,26 +3,26 @@
3
3
 
4
4
  var chunkGAYMJWTC_cjs = require('../chunk-GAYMJWTC.cjs');
5
5
  var chunkGFNELPDP_cjs = require('../chunk-GFNELPDP.cjs');
6
- var chunkKPO67GBR_cjs = require('../chunk-KPO67GBR.cjs');
7
- require('../chunk-3AFWGEDJ.cjs');
8
- require('../chunk-DVUZTGVL.cjs');
9
- var chunkWO7QAVTL_cjs = require('../chunk-WO7QAVTL.cjs');
10
- require('../chunk-DETZZBG2.cjs');
6
+ var chunkAO7SK6WP_cjs = require('../chunk-AO7SK6WP.cjs');
7
+ var chunkT5I4NRFP_cjs = require('../chunk-T5I4NRFP.cjs');
11
8
  require('../chunk-RFIBUWLF.cjs');
12
- var chunkNSNHRZBH_cjs = require('../chunk-NSNHRZBH.cjs');
9
+ var chunkIL3WB3YX_cjs = require('../chunk-IL3WB3YX.cjs');
10
+ require('../chunk-EYKISBDO.cjs');
13
11
  require('../chunk-RQ2Y7USX.cjs');
14
12
  require('../chunk-AHDJXIUB.cjs');
15
13
  require('../chunk-ZW6FPIFC.cjs');
14
+ require('../chunk-3AFWGEDJ.cjs');
15
+ require('../chunk-DETZZBG2.cjs');
16
+ require('../chunk-DVUZTGVL.cjs');
17
+ require('../chunk-DTROMMDX.cjs');
16
18
  require('../chunk-V4ISCZJ7.cjs');
17
19
  require('../chunk-2EI7NCUA.cjs');
18
20
  require('../chunk-C2CWWEHO.cjs');
19
- require('../chunk-EYKISBDO.cjs');
20
- require('../chunk-DTROMMDX.cjs');
21
21
  require('../chunk-7RGLTF76.cjs');
22
22
  var chunkJSTKEZBS_cjs = require('../chunk-JSTKEZBS.cjs');
23
23
  var chunk76L6LOP3_cjs = require('../chunk-76L6LOP3.cjs');
24
- var chunk32HW2Q33_cjs = require('../chunk-32HW2Q33.cjs');
25
24
  require('../chunk-7UTB4PHM.cjs');
25
+ var chunk32HW2Q33_cjs = require('../chunk-32HW2Q33.cjs');
26
26
  require('../chunk-FX3K6LNZ.cjs');
27
27
  require('../chunk-PPCATBOY.cjs');
28
28
  require('../chunk-MHVNT4J3.cjs');
@@ -320,9 +320,9 @@ function SignalsEditor({
320
320
  {
321
321
  className: ui.cn(
322
322
  "space-y-1.5 rounded-md border p-2",
323
- chunkWO7QAVTL_cjs.isIncompleteSignal(signal) ? "border-destructive/50" : "border-border"
323
+ chunkT5I4NRFP_cjs.isIncompleteSignal(signal) ? "border-destructive/50" : "border-border"
324
324
  ),
325
- "data-incomplete": chunkWO7QAVTL_cjs.isIncompleteSignal(signal) || void 0,
325
+ "data-incomplete": chunkT5I4NRFP_cjs.isIncompleteSignal(signal) || void 0,
326
326
  "data-testid": `${testId}-${i}`,
327
327
  children: [
328
328
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
@@ -1608,7 +1608,7 @@ function triggerFields(trigger, clearOthers) {
1608
1608
  return {
1609
1609
  timezone: trigger.timezone,
1610
1610
  rrule: trigger.start === "repeat" ? trigger.rrule.trim() : none,
1611
- run_at: trigger.start === "once" ? chunkKPO67GBR_cjs.localInputToIso(trigger.runAt) : none,
1611
+ run_at: trigger.start === "once" ? chunkAO7SK6WP_cjs.localInputToIso(trigger.runAt) : none,
1612
1612
  event_kind: trigger.start === "event" ? trigger.eventKind.trim() : none,
1613
1613
  // A step signal is `workflow_signal` narrowed to one signal name.
1614
1614
  event_filter: filter ?? none,
@@ -1624,7 +1624,7 @@ function plan(value, options) {
1624
1624
  criteria: [],
1625
1625
  max_passes: 3,
1626
1626
  documents: [],
1627
- steps: chunkWO7QAVTL_cjs.toPlanSteps(value.workflow, options)
1627
+ steps: chunkT5I4NRFP_cjs.toPlanSteps(value.workflow, options)
1628
1628
  };
1629
1629
  }
1630
1630
  function builderToWorkflowRequest(value, workspaceId, options = {}) {
@@ -1659,7 +1659,7 @@ function builderToWorkflowUpdate(value, options = {}) {
1659
1659
  }
1660
1660
  function workflowRecordToBuilder(record) {
1661
1661
  const planned = record.plan?.steps ?? [];
1662
- const steps = planned.length ? chunkWO7QAVTL_cjs.fromPlanSteps(planned) : record.prompt || record.skill_ref ? [
1662
+ const steps = planned.length ? chunkT5I4NRFP_cjs.fromPlanSteps(planned) : record.prompt || record.skill_ref ? [
1663
1663
  {
1664
1664
  id: "work",
1665
1665
  kind: "agent",
@@ -1667,7 +1667,7 @@ function workflowRecordToBuilder(record) {
1667
1667
  ...record.skill_ref ? { workflow: record.skill_ref } : { run: { kind: "prompt", promptTemplate: record.prompt } }
1668
1668
  }
1669
1669
  ] : [];
1670
- const when = chunkKPO67GBR_cjs.workflowWhen(record);
1670
+ const when = chunkAO7SK6WP_cjs.workflowWhen(record);
1671
1671
  return {
1672
1672
  workflow: {
1673
1673
  id: record.external_id,
@@ -1676,12 +1676,12 @@ function workflowRecordToBuilder(record) {
1676
1676
  inputs: [],
1677
1677
  landing: "chat",
1678
1678
  schedulable: false,
1679
- run: { kind: "steps", steps, layout: chunkWO7QAVTL_cjs.layoutFromPlanSteps(planned ?? []) }
1679
+ run: { kind: "steps", steps, layout: chunkT5I4NRFP_cjs.layoutFromPlanSteps(planned ?? []) }
1680
1680
  },
1681
1681
  trigger: {
1682
1682
  ...DEFAULT_WORKFLOW_TRIGGER,
1683
1683
  start: when === "now" ? "manual" : when,
1684
- runAt: chunkKPO67GBR_cjs.isoToLocalInput(record.run_at),
1684
+ runAt: chunkAO7SK6WP_cjs.isoToLocalInput(record.run_at),
1685
1685
  rrule: record.rrule ?? "",
1686
1686
  timezone: record.timezone || DEFAULT_WORKFLOW_TRIGGER.timezone,
1687
1687
  eventKind: record.event_kind ?? "",
@@ -1737,7 +1737,7 @@ function triggerSummary(trigger, options = {}) {
1737
1737
  case "once":
1738
1738
  return trigger.runAt ? new Date(trigger.runAt).toLocaleString() : l.starts.once;
1739
1739
  case "repeat":
1740
- return trigger.rrule ? chunkKPO67GBR_cjs.describeRRule(trigger.rrule) : l.starts.repeat;
1740
+ return trigger.rrule ? chunkAO7SK6WP_cjs.describeRRule(trigger.rrule) : l.starts.repeat;
1741
1741
  case "event":
1742
1742
  if (isSignalTrigger(trigger))
1743
1743
  return trigger.signal ? l.signalSummary.replace("{signal}", trigger.signal) : l.stepSignals;
@@ -1796,7 +1796,7 @@ function TriggerInspector({
1796
1796
  }
1797
1797
  )
1798
1798
  ] }),
1799
- trigger.start === "repeat" && /* @__PURE__ */ jsxRuntime.jsx(chunkKPO67GBR_cjs.RecurrenceBuilder, { rrule: trigger.rrule, onChange: (rrule) => set({ rrule }) }),
1799
+ trigger.start === "repeat" && /* @__PURE__ */ jsxRuntime.jsx(chunkAO7SK6WP_cjs.RecurrenceBuilder, { rrule: trigger.rrule, onChange: (rrule) => set({ rrule }) }),
1800
1800
  trigger.start === "event" && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
1801
1801
  /* @__PURE__ */ jsxRuntime.jsx(ui.Label, { className: "text-xs", children: l.event }),
1802
1802
  /* @__PURE__ */ jsxRuntime.jsxs(
@@ -1848,7 +1848,7 @@ function TriggerInspector({
1848
1848
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
1849
1849
  /* @__PURE__ */ jsxRuntime.jsx(ui.Label, { className: "text-xs", children: l.agent }),
1850
1850
  /* @__PURE__ */ jsxRuntime.jsx(
1851
- chunkNSNHRZBH_cjs.AgentSelect,
1851
+ chunkIL3WB3YX_cjs.AgentSelect,
1852
1852
  {
1853
1853
  agents,
1854
1854
  value: trigger.agentId,
@@ -2685,13 +2685,13 @@ function WorkflowPreview({
2685
2685
  renderIcon,
2686
2686
  testId
2687
2687
  }) {
2688
- const run = chunkKPO67GBR_cjs.useWorkflowPreview(workflow, {
2688
+ const run = chunkAO7SK6WP_cjs.useWorkflowPreview(workflow, {
2689
2689
  resolveWorkflow: (id) => workflows.find((w) => w.id === id),
2690
2690
  compose,
2691
2691
  answer
2692
2692
  });
2693
2693
  return /* @__PURE__ */ jsxRuntime.jsx(
2694
- chunkWO7QAVTL_cjs.WorkflowRunner,
2694
+ chunkT5I4NRFP_cjs.WorkflowRunner,
2695
2695
  {
2696
2696
  workflow,
2697
2697
  run,
@@ -1,26 +1,26 @@
1
1
  "use client";
2
2
  import { useConnectedTags, useConnectedDocuments, useConnectedConversations } from '../chunk-DN2KI4BU.js';
3
3
  import { useConnectedWorkspace } from '../chunk-US3S4DCB.js';
4
- import { workflowWhen, isoToLocalInput, describeRRule, RecurrenceBuilder, useWorkflowPreview, localInputToIso } from '../chunk-QOL3M4FJ.js';
5
- import '../chunk-RFXJYIDV.js';
6
- import '../chunk-5LXQPP2K.js';
7
- import { isIncompleteSignal, fromPlanSteps, layoutFromPlanSteps, WorkflowRunner, toPlanSteps } from '../chunk-KTSF4HFC.js';
8
- import '../chunk-EVUEIBNU.js';
4
+ import { workflowWhen, isoToLocalInput, describeRRule, RecurrenceBuilder, useWorkflowPreview, localInputToIso } from '../chunk-VUR63NMQ.js';
5
+ import { isIncompleteSignal, fromPlanSteps, layoutFromPlanSteps, WorkflowRunner, toPlanSteps } from '../chunk-SUUPR735.js';
9
6
  import '../chunk-CQCC7LE7.js';
10
- import { AgentSelect } from '../chunk-VVZ34A2P.js';
7
+ import { AgentSelect } from '../chunk-LZRMXJIE.js';
8
+ import '../chunk-IXWJGOM2.js';
11
9
  import '../chunk-KSHKTOY2.js';
12
10
  import '../chunk-RLWIUUQ5.js';
13
11
  import '../chunk-P6GHJSLR.js';
12
+ import '../chunk-RFXJYIDV.js';
13
+ import '../chunk-EVUEIBNU.js';
14
+ import '../chunk-5LXQPP2K.js';
15
+ import '../chunk-YKQ2DPIP.js';
14
16
  import '../chunk-NUNKSZKU.js';
15
17
  import '../chunk-YU2KUMGE.js';
16
18
  import '../chunk-N5YEF3LC.js';
17
- import '../chunk-IXWJGOM2.js';
18
- import '../chunk-YKQ2DPIP.js';
19
19
  import '../chunk-4WWM3GQ5.js';
20
20
  import { DEFAULT_STEP_KIND_LABELS, workflowSteps, dependsOn, stepLevels, runFields, upstreamSteps, stepDependencies, canAssign, WORKFLOW_STEP_KINDS, STEP_KIND_ICONS, validateWorkflowGraph, stepConfigProblems, assigneeName, orderSteps, stepKindOf } from '../chunk-PDKM27DF.js';
21
21
  import { mergeSkillWorkflows } from '../chunk-TZGBRLPK.js';
22
- import { TONE_DOT, TONES, isTone } from '../chunk-AUS3KBHJ.js';
23
22
  import '../chunk-AA3PT6KR.js';
23
+ import { TONE_DOT, TONES, isTone } from '../chunk-AUS3KBHJ.js';
24
24
  import '../chunk-SLSBJRWW.js';
25
25
  import '../chunk-NPLYHR2E.js';
26
26
  import '../chunk-7F6CBP3Z.js';
@@ -0,0 +1,15 @@
1
+ /**
2
+ * CommonWorkspaceToggle Component
3
+ *
4
+ * Toggle for workspace common/members-only visibility.
5
+ * Takes isCommon and onToggle as props for form integration.
6
+ */
7
+ export interface CommonWorkspaceToggleProps {
8
+ isCommon: boolean;
9
+ onToggle: (isCommon: boolean) => void;
10
+ disabled?: boolean;
11
+ /** Tooltip to show when disabled */
12
+ disabledTooltip?: string;
13
+ 'data-testid'?: string;
14
+ }
15
+ export declare function CommonWorkspaceToggle({ isCommon, onToggle, disabled, disabledTooltip, 'data-testid': dataTestId, }: CommonWorkspaceToggleProps): import("react").JSX.Element;
@@ -2,8 +2,9 @@
2
2
  'use strict';
3
3
 
4
4
  var chunkXZIYRKLW_cjs = require('../chunk-XZIYRKLW.cjs');
5
- var chunkXAJIKT6Y_cjs = require('../chunk-XAJIKT6Y.cjs');
5
+ var chunkRXK3XP62_cjs = require('../chunk-RXK3XP62.cjs');
6
6
  var chunk7G2LJMUG_cjs = require('../chunk-7G2LJMUG.cjs');
7
+ var chunkXAJIKT6Y_cjs = require('../chunk-XAJIKT6Y.cjs');
7
8
  var chunkDTROMMDX_cjs = require('../chunk-DTROMMDX.cjs');
8
9
  require('../chunk-KPZZ5FHE.cjs');
9
10
  var chunkULWRNGGE_cjs = require('../chunk-ULWRNGGE.cjs');
@@ -385,104 +386,6 @@ function WorkspaceGroup({
385
386
  }
386
387
  );
387
388
  }
388
- function WorkspacePageFrame({ testId, children }) {
389
- return /* @__PURE__ */ jsxRuntime.jsx(
390
- "div",
391
- {
392
- className: "flex h-full flex-col @container",
393
- "data-slot": "workspace-page",
394
- "data-testid": testId,
395
- children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "scrollbar-subtle min-h-0 flex-1 overflow-y-auto [scrollbar-gutter:stable]", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-6 px-4 pb-6 sm:px-6 pt-4", children }) })
396
- }
397
- );
398
- }
399
- function WorkspaceIdentityPanel({ children }) {
400
- return /* @__PURE__ */ jsxRuntime.jsx(
401
- "div",
402
- {
403
- "data-slot": "workspace-identity-panel",
404
- className: "group rounded-lg border border-border bg-card px-4 py-3 shadow-xs",
405
- children
406
- }
407
- );
408
- }
409
- function WorkspaceProjectSlot({ testId, caption, children }) {
410
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex min-w-0 items-center gap-3", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-w-0 flex-1 items-center gap-2", "data-testid": testId, children: [
411
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: caption }),
412
- children
413
- ] }) });
414
- }
415
- function ItalicNone({ children }) {
416
- return /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm italic text-muted-foreground", children });
417
- }
418
- function WorkspaceAudienceLine({ visibility, members, share }) {
419
- return /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex flex-wrap items-center gap-x-4 gap-y-2", "data-slot": "workspace-audience", children: [
420
- /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex items-center gap-2", "data-testid": visibility.testId, children: [
421
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: visibility.caption }),
422
- visibility.toggle,
423
- /* @__PURE__ */ jsxRuntime.jsxs(ui.Popover, { children: [
424
- /* @__PURE__ */ jsxRuntime.jsx(ui.PopoverTrigger, { className: "touch-hit cursor-pointer rounded-sm text-sm text-muted-foreground underline decoration-dotted underline-offset-4 hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring", children: visibility.stateText }),
425
- /* @__PURE__ */ jsxRuntime.jsx(ui.PopoverContent, { align: "start", className: "w-64 text-sm", children: visibility.stateHelp })
426
- ] })
427
- ] }),
428
- /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex items-center gap-1", children: [
429
- members,
430
- share && /* @__PURE__ */ jsxRuntime.jsxs(
431
- ui.Button,
432
- {
433
- variant: "outline",
434
- size: "sm",
435
- className: "h-8 gap-1.5 px-3 text-sm pointer-coarse:h-11",
436
- onClick: share.onClick,
437
- "data-testid": share.testId,
438
- children: [
439
- /* @__PURE__ */ jsxRuntime.jsx(lucideReact.UserPlus, { className: "size-4" }),
440
- share.label
441
- ]
442
- }
443
- )
444
- ] })
445
- ] });
446
- }
447
- function ExpandableSection({
448
- expanded,
449
- testId,
450
- children
451
- }) {
452
- return /* @__PURE__ */ jsxRuntime.jsx(
453
- "div",
454
- {
455
- className: ui.cn(
456
- "grid transition-[grid-template-rows] duration-300 ease-in-out",
457
- expanded ? "grid-rows-[1fr]" : "grid-rows-[0fr]"
458
- ),
459
- "data-slot": "expandable-section",
460
- "data-expanded": expanded,
461
- "data-testid": testId,
462
- children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "overflow-hidden", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-4 border-t border-border pt-4", children }) })
463
- }
464
- );
465
- }
466
- function PageLoading({ children }) {
467
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-64 items-center justify-center", children });
468
- }
469
- function LeaveFooter({ testId, leave }) {
470
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex justify-end", "data-slot": "leave-footer", "data-testid": testId, children: /* @__PURE__ */ jsxRuntime.jsxs(
471
- ui.Button,
472
- {
473
- variant: "ghost",
474
- size: "sm",
475
- onClick: leave.onClick,
476
- disabled: leave.disabled,
477
- className: "h-7 px-2 text-sm text-destructive hover:bg-destructive/10 hover:text-destructive pointer-coarse:h-11",
478
- "data-testid": leave.testId,
479
- children: [
480
- /* @__PURE__ */ jsxRuntime.jsx(lucideReact.LogOut, { className: "mr-1 size-3.5" }),
481
- leave.label
482
- ]
483
- }
484
- ) });
485
- }
486
389
  function FormErrorBanner({
487
390
  message,
488
391
  testId,
@@ -777,6 +680,42 @@ function getVariantBorderClass(variant) {
777
680
  }
778
681
  }
779
682
 
683
+ Object.defineProperty(exports, "CommonWorkspaceToggle", {
684
+ enumerable: true,
685
+ get: function () { return chunkRXK3XP62_cjs.CommonWorkspaceToggle; }
686
+ });
687
+ Object.defineProperty(exports, "ExpandableSection", {
688
+ enumerable: true,
689
+ get: function () { return chunkRXK3XP62_cjs.ExpandableSection; }
690
+ });
691
+ Object.defineProperty(exports, "ItalicNone", {
692
+ enumerable: true,
693
+ get: function () { return chunkRXK3XP62_cjs.ItalicNone; }
694
+ });
695
+ Object.defineProperty(exports, "LeaveFooter", {
696
+ enumerable: true,
697
+ get: function () { return chunkRXK3XP62_cjs.LeaveFooter; }
698
+ });
699
+ Object.defineProperty(exports, "PageLoading", {
700
+ enumerable: true,
701
+ get: function () { return chunkRXK3XP62_cjs.PageLoading; }
702
+ });
703
+ Object.defineProperty(exports, "WorkspaceAudienceLine", {
704
+ enumerable: true,
705
+ get: function () { return chunkRXK3XP62_cjs.WorkspaceAudienceLine; }
706
+ });
707
+ Object.defineProperty(exports, "WorkspaceIdentityPanel", {
708
+ enumerable: true,
709
+ get: function () { return chunkRXK3XP62_cjs.WorkspaceIdentityPanel; }
710
+ });
711
+ Object.defineProperty(exports, "WorkspacePageFrame", {
712
+ enumerable: true,
713
+ get: function () { return chunkRXK3XP62_cjs.WorkspacePageFrame; }
714
+ });
715
+ Object.defineProperty(exports, "WorkspaceProjectSlot", {
716
+ enumerable: true,
717
+ get: function () { return chunkRXK3XP62_cjs.WorkspaceProjectSlot; }
718
+ });
780
719
  Object.defineProperty(exports, "RoleBadge", {
781
720
  enumerable: true,
782
721
  get: function () { return chunk7G2LJMUG_cjs.RoleBadge; }
@@ -786,26 +725,18 @@ Object.defineProperty(exports, "WorkspaceTypeBadgeView", {
786
725
  get: function () { return chunk7G2LJMUG_cjs.WorkspaceTypeBadgeView; }
787
726
  });
788
727
  exports.DEFAULT_WORKSPACE_CARD_LABELS = DEFAULT_WORKSPACE_CARD_LABELS;
789
- exports.ExpandableSection = ExpandableSection;
790
728
  exports.FormActions = FormActions;
791
729
  exports.FormErrorBanner = FormErrorBanner;
792
- exports.ItalicNone = ItalicNone;
793
- exports.LeaveFooter = LeaveFooter;
794
730
  exports.ModalActionRow = ModalActionRow;
795
- exports.PageLoading = PageLoading;
796
731
  exports.ProjectActionButton = ProjectActionButton;
797
732
  exports.ProjectOptionRow = ProjectOptionRow;
798
733
  exports.ProjectPicker = ProjectPicker;
799
- exports.WorkspaceAudienceLine = WorkspaceAudienceLine;
800
734
  exports.WorkspaceCard = WorkspaceCard;
801
735
  exports.WorkspaceFieldsView = WorkspaceFieldsView;
802
736
  exports.WorkspaceFormModal = WorkspaceFormModal;
803
737
  exports.WorkspaceGallery = WorkspaceGallery;
804
738
  exports.WorkspaceGroup = WorkspaceGroup;
805
- exports.WorkspaceIdentityPanel = WorkspaceIdentityPanel;
806
739
  exports.WorkspaceList = WorkspaceList;
807
- exports.WorkspacePageFrame = WorkspacePageFrame;
808
- exports.WorkspaceProjectSlot = WorkspaceProjectSlot;
809
740
  exports.getHumanUserCount = getHumanUserCount;
810
741
  exports.getVariantBgClass = getVariantBgClass;
811
742
  exports.getVariantBorderClass = getVariantBorderClass;