@arbidocs/blocks 0.4.110 → 0.4.112

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 (123) hide show
  1. package/dist/{NativeDocxEditor-WODZAURG.cjs → NativeDocxEditor-AQZSUGET.cjs} +8 -8
  2. package/dist/{NativeDocxEditor-WODZAURG.cjs.map → NativeDocxEditor-AQZSUGET.cjs.map} +1 -1
  3. package/dist/{NativeDocxEditor-4PY4YZYC.js → NativeDocxEditor-MBCBXYDZ.js} +4 -4
  4. package/dist/{NativeDocxEditor-4PY4YZYC.js.map → NativeDocxEditor-MBCBXYDZ.js.map} +1 -1
  5. package/dist/agents/index.cjs +208 -208
  6. package/dist/agents/index.js +3 -3
  7. package/dist/calendar/EventEditor.d.ts +1 -1
  8. package/dist/calendar/draft.d.ts +7 -1
  9. package/dist/calendar/index.cjs +58 -10
  10. package/dist/calendar/index.cjs.map +1 -1
  11. package/dist/calendar/index.d.ts +1 -1
  12. package/dist/calendar/index.js +56 -11
  13. package/dist/calendar/index.js.map +1 -1
  14. package/dist/calendar/types.d.ts +20 -0
  15. package/dist/calls/CallSidePanel.d.ts +16 -1
  16. package/dist/calls/ControlBar.d.ts +25 -3
  17. package/dist/calls/PreJoin.d.ts +6 -2
  18. package/dist/calls/cards.d.ts +6 -2
  19. package/dist/calls/index.cjs +1078 -47
  20. package/dist/calls/index.cjs.map +1 -1
  21. package/dist/calls/index.d.ts +4 -3
  22. package/dist/calls/index.js +1067 -51
  23. package/dist/calls/index.js.map +1 -1
  24. package/dist/calls/panels.d.ts +11 -0
  25. package/dist/calls/webinar/ChatPermissionSetting.d.ts +18 -0
  26. package/dist/calls/webinar/OnStageCheck.d.ts +23 -0
  27. package/dist/calls/webinar/QAPanel.d.ts +56 -0
  28. package/dist/calls/webinar/RaiseHandButton.d.ts +14 -0
  29. package/dist/calls/webinar/WebinarAudiencePanel.d.ts +23 -0
  30. package/dist/calls/webinar/WebinarViewer.d.ts +39 -0
  31. package/dist/calls/webinar/WebinarWaiting.d.ts +19 -0
  32. package/dist/calls/webinar/hooks.d.ts +13 -0
  33. package/dist/calls/webinar/index.d.ts +14 -0
  34. package/dist/calls/webinar/live.d.ts +43 -0
  35. package/dist/calls/webinar/types.d.ts +49 -0
  36. package/dist/{chunk-GKDWQLVU.js → chunk-3OT37I24.js} +165 -381
  37. package/dist/chunk-3OT37I24.js.map +1 -0
  38. package/dist/{chunk-2NIL2ASF.cjs → chunk-ETBB5KMN.cjs} +196 -400
  39. package/dist/chunk-ETBB5KMN.cjs.map +1 -0
  40. package/dist/{chunk-SQNAJPNR.js → chunk-GFYGYME3.js} +3 -3
  41. package/dist/{chunk-SQNAJPNR.js.map → chunk-GFYGYME3.js.map} +1 -1
  42. package/dist/{chunk-PEHLUB52.js → chunk-GIBRZ54P.js} +3 -3
  43. package/dist/{chunk-PEHLUB52.js.map → chunk-GIBRZ54P.js.map} +1 -1
  44. package/dist/chunk-GICUGQNN.cjs +76 -0
  45. package/dist/chunk-GICUGQNN.cjs.map +1 -0
  46. package/dist/{chunk-54WBIVHV.cjs → chunk-HF4PAYBM.cjs} +5 -5
  47. package/dist/{chunk-54WBIVHV.cjs.map → chunk-HF4PAYBM.cjs.map} +1 -1
  48. package/dist/chunk-I2QSDQQV.cjs +126 -0
  49. package/dist/chunk-I2QSDQQV.cjs.map +1 -0
  50. package/dist/chunk-JJLMCV3T.js +73 -0
  51. package/dist/chunk-JJLMCV3T.js.map +1 -0
  52. package/dist/{chunk-W7ZDBPJ3.cjs → chunk-OR4CO743.cjs} +3 -3
  53. package/dist/{chunk-W7ZDBPJ3.cjs.map → chunk-OR4CO743.cjs.map} +1 -1
  54. package/dist/chunk-QXMR5YHC.js +80 -0
  55. package/dist/chunk-QXMR5YHC.js.map +1 -0
  56. package/dist/{chunk-ELDUWTRR.cjs → chunk-RUFNJRLW.cjs} +4 -4
  57. package/dist/{chunk-ELDUWTRR.cjs.map → chunk-RUFNJRLW.cjs.map} +1 -1
  58. package/dist/{chunk-JB32KYAH.js → chunk-TKJSCHSX.js} +3 -3
  59. package/dist/{chunk-JB32KYAH.js.map → chunk-TKJSCHSX.js.map} +1 -1
  60. package/dist/{chunk-WPVIOGDG.cjs → chunk-US5ASM4G.cjs} +22 -22
  61. package/dist/{chunk-WPVIOGDG.cjs.map → chunk-US5ASM4G.cjs.map} +1 -1
  62. package/dist/{chunk-CECWAIHL.js → chunk-XFZ7HNPG.js} +3 -3
  63. package/dist/{chunk-CECWAIHL.js.map → chunk-XFZ7HNPG.js.map} +1 -1
  64. package/dist/{chunk-VZKBI2KJ.cjs → chunk-Z2NSU7D5.cjs} +4 -4
  65. package/dist/{chunk-VZKBI2KJ.cjs.map → chunk-Z2NSU7D5.cjs.map} +1 -1
  66. package/dist/{chunk-A35KT2II.js → chunk-ZP4IFW2E.js} +4 -4
  67. package/dist/{chunk-A35KT2II.js.map → chunk-ZP4IFW2E.js.map} +1 -1
  68. package/dist/collaboration/index.cjs +1 -1
  69. package/dist/collaboration/index.js +1 -1
  70. package/dist/connect/docx.cjs +7 -7
  71. package/dist/connect/docx.js +5 -5
  72. package/dist/connect/index.cjs +38 -38
  73. package/dist/connect/index.js +8 -8
  74. package/dist/docx/AgentUndo.d.ts +4 -0
  75. package/dist/docx/definitions/commands.d.ts +3 -52
  76. package/dist/docx/definitions/fragment.d.ts +5 -31
  77. package/dist/docx/definitions/port.d.ts +2 -22
  78. package/dist/docx/index.cjs +47 -47
  79. package/dist/docx/index.js +4 -4
  80. package/dist/docx/references/commands.d.ts +3 -89
  81. package/dist/docx/references/port.d.ts +2 -11
  82. package/dist/facts/index.cjs +1 -1
  83. package/dist/facts/index.js +1 -1
  84. package/dist/files/index.cjs +1 -1
  85. package/dist/files/index.js +1 -1
  86. package/dist/index.cjs +278 -278
  87. package/dist/index.js +8 -8
  88. package/dist/settings/index.cjs +47 -101
  89. package/dist/settings/index.cjs.map +1 -1
  90. package/dist/settings/index.js +9 -69
  91. package/dist/settings/index.js.map +1 -1
  92. package/dist/shell/index.cjs +9 -9
  93. package/dist/shell/index.js +1 -1
  94. package/dist/tags/definitions.d.ts +4 -25
  95. package/dist/tags/ooxml.d.ts +1 -19
  96. package/dist/workflow-canvas/index.cjs +10 -10
  97. package/dist/workflow-canvas/index.js +3 -3
  98. package/node_modules/@arbidocs/coedit/dist/commands.cjs +866 -9
  99. package/node_modules/@arbidocs/coedit/dist/commands.cjs.map +1 -1
  100. package/node_modules/@arbidocs/coedit/dist/commands.d.cts +342 -156
  101. package/node_modules/@arbidocs/coedit/dist/commands.d.ts +342 -156
  102. package/node_modules/@arbidocs/coedit/dist/commands.js +817 -11
  103. package/node_modules/@arbidocs/coedit/dist/commands.js.map +1 -1
  104. package/node_modules/@arbidocs/coedit/dist/port-ip7WByvH.d.cts +188 -0
  105. package/node_modules/@arbidocs/coedit/dist/port-ip7WByvH.d.ts +188 -0
  106. package/node_modules/@arbidocs/coedit/dist/server.cjs +731 -65
  107. package/node_modules/@arbidocs/coedit/dist/server.cjs.map +1 -1
  108. package/node_modules/@arbidocs/coedit/dist/server.d.cts +40 -1
  109. package/node_modules/@arbidocs/coedit/dist/server.d.ts +40 -1
  110. package/node_modules/@arbidocs/coedit/dist/server.js +730 -66
  111. package/node_modules/@arbidocs/coedit/dist/server.js.map +1 -1
  112. package/node_modules/@arbidocs/coedit/dist/template.d.cts +3 -17
  113. package/node_modules/@arbidocs/coedit/dist/template.d.ts +3 -17
  114. package/node_modules/@arbidocs/coedit/dist/track-eYC94jTp.d.cts +17 -0
  115. package/node_modules/@arbidocs/coedit/dist/track-eYC94jTp.d.ts +17 -0
  116. package/node_modules/@arbidocs/coedit/package.json +1 -1
  117. package/package.json +4 -4
  118. package/dist/chunk-2A4MDHJR.cjs +0 -198
  119. package/dist/chunk-2A4MDHJR.cjs.map +0 -1
  120. package/dist/chunk-2NIL2ASF.cjs.map +0 -1
  121. package/dist/chunk-EPHGD4YV.js +0 -174
  122. package/dist/chunk-EPHGD4YV.js.map +0 -1
  123. package/dist/chunk-GKDWQLVU.js.map +0 -1
@@ -4,10 +4,10 @@
4
4
  var chunkHBF4BDRU_cjs = require('../chunk-HBF4BDRU.cjs');
5
5
  require('../chunk-OB5F4577.cjs');
6
6
  var chunk2EI7NCUA_cjs = require('../chunk-2EI7NCUA.cjs');
7
- var chunk7RGLTF76_cjs = require('../chunk-7RGLTF76.cjs');
8
7
  var chunkXKSFJYOD_cjs = require('../chunk-XKSFJYOD.cjs');
9
8
  var chunkVGOFFCMT_cjs = require('../chunk-VGOFFCMT.cjs');
10
9
  var chunkFX3K6LNZ_cjs = require('../chunk-FX3K6LNZ.cjs');
10
+ var chunk7RGLTF76_cjs = require('../chunk-7RGLTF76.cjs');
11
11
  require('../chunk-PPCATBOY.cjs');
12
12
  require('../chunk-MHVNT4J3.cjs');
13
13
  require('../chunk-C54XEN5T.cjs');
@@ -203,14 +203,6 @@ Object.defineProperty(exports, "FilterInput", {
203
203
  enumerable: true,
204
204
  get: function () { return chunk2EI7NCUA_cjs.FilterInput; }
205
205
  });
206
- Object.defineProperty(exports, "DEFAULT_TAB_HEADER_LABELS", {
207
- enumerable: true,
208
- get: function () { return chunk7RGLTF76_cjs.DEFAULT_TAB_HEADER_LABELS; }
209
- });
210
- Object.defineProperty(exports, "TabHeader", {
211
- enumerable: true,
212
- get: function () { return chunk7RGLTF76_cjs.TabHeader; }
213
- });
214
206
  Object.defineProperty(exports, "DEFAULT_DOCK_WIDTH", {
215
207
  enumerable: true,
216
208
  get: function () { return chunkXKSFJYOD_cjs.DEFAULT_DOCK_WIDTH; }
@@ -283,5 +275,13 @@ Object.defineProperty(exports, "useMediaQuery", {
283
275
  enumerable: true,
284
276
  get: function () { return chunkFX3K6LNZ_cjs.useMediaQuery; }
285
277
  });
278
+ Object.defineProperty(exports, "DEFAULT_TAB_HEADER_LABELS", {
279
+ enumerable: true,
280
+ get: function () { return chunk7RGLTF76_cjs.DEFAULT_TAB_HEADER_LABELS; }
281
+ });
282
+ Object.defineProperty(exports, "TabHeader", {
283
+ enumerable: true,
284
+ get: function () { return chunk7RGLTF76_cjs.TabHeader; }
285
+ });
286
286
  //# sourceMappingURL=index.cjs.map
287
287
  //# sourceMappingURL=index.cjs.map
@@ -2,10 +2,10 @@
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, DEFAULT_WORKSPACE_KIND_LABELS, DEFAULT_WORKSPACE_SWITCHER_LABELS, INSTALL_PROMPT_DISMISSED_KEY, InfoBar, InstallPrompt, MobileAppBar, MobileTabBar, NotificationBell, OfflinePill, RemoteControlPill, STATUS_ROW_BASE_CLASS, STATUS_ROW_TONES, Sidebar, SidebarBadgeRow, SidebarRowAction, SidebarRowHoverContext, SplitLayout, StatusBadge, StatusRow, TipCard, UserMenu, WorkspaceIdentity, WorkspaceSwitcher, getInstallInstructions, initInstallPrompt, isIosDevice, promptAppInstall, resolveSidebarLayout, useInstallPrompt, useSidebarContext, useSidebarSettle, workspaceKindColor, workspaceKindMeta } from '../chunk-VLOPZHFH.js';
3
3
  import '../chunk-S7PSMMRG.js';
4
4
  export { DEFAULT_FILTER_FIELDS, DEFAULT_FILTER_INPUT_LABELS, FilterInput } from '../chunk-YU2KUMGE.js';
5
- export { DEFAULT_TAB_HEADER_LABELS, TabHeader } from '../chunk-4WWM3GQ5.js';
6
5
  export { DEFAULT_DOCK_WIDTH, Toaster } from '../chunk-BV7FEMSI.js';
7
6
  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-KZJAG7T3.js';
8
7
  export { BREAKPOINT_QUERIES, useIsNarrow, useIsPhone, useIsTouchScreen, useMediaQuery } from '../chunk-SLSBJRWW.js';
8
+ export { DEFAULT_TAB_HEADER_LABELS, TabHeader } from '../chunk-4WWM3GQ5.js';
9
9
  import '../chunk-NPLYHR2E.js';
10
10
  import '../chunk-7F6CBP3Z.js';
11
11
  import '../chunk-76JDDMSP.js';
@@ -5,6 +5,8 @@
5
5
  * a confirmed one preferred over the rest, then the most recent. Pure helpers, no React: the Word
6
6
  * editor inserts terms with them and the Tags page prints the glossary with them.
7
7
  */
8
+ import { type ParsedDefinition } from '@arbidocs/coedit/commands';
9
+ export { DEFINITION_BOOKMARK_PREFIX, compareTerms, definitionBookmark, definitionIdOfBookmark, type ParsedDefinition, } from '@arbidocs/coedit/commands';
8
10
  /** The label that marks a fact as a definition. */
9
11
  export declare const DEFINITIONS_LABEL = "Definitions";
10
12
  /** A label on a definition other than {@link DEFINITIONS_LABEL} (e.g. the agreement it is from). */
@@ -27,15 +29,6 @@ export interface DefinitionSource {
27
29
  /** Its other labels, e.g. the agreement ("SPA") it defines a term of. */
28
30
  labels?: DefinitionLabel[];
29
31
  }
30
- /** A definition's text split into its term and the rest. */
31
- export interface ParsedDefinition {
32
- /** The term as written, without quotes or emphasis (`Business Day`). */
33
- term: string;
34
- /** What follows the term, its connecting word included (`means a day …`, `: the date …`). */
35
- rest: string;
36
- /** Just the meaning, the connecting word dropped (`a day …`). */
37
- meaning: string;
38
- }
39
32
  /** A parsed definition fact. */
40
33
  export interface Definition extends DefinitionSource, ParsedDefinition {
41
34
  /** The term's matching key (case and whitespace folded). */
@@ -53,19 +46,14 @@ export interface DefinedTermGroup {
53
46
  /** The matching key of a term: case and whitespace folded, quotes and emphasis dropped. */
54
47
  export declare function termKey(term: string): string;
55
48
  /**
56
- * Read a definition's term from the start of its text, or `null` when it does not start with one.
57
- *
58
- * Optional straight or curly quotes and bold markers around the term are dropped; the term is what
59
- * comes before "means", "shall mean", "includes", "has the meaning", a colon, or a dash. A quoted
60
- * term is taken whole, so `"Long-Stop Date" means …` keeps its hyphen.
49
+ * Read a definition's term from the start of its text, or `null` when it does not start with one
50
+ * (see `parseDefinition` in `@arbidocs/coedit/commands`); entity-encoded whitespace is decoded first.
61
51
  */
62
52
  export declare function parseDefinition(text: string): ParsedDefinition | null;
63
53
  /** A definition parsed, or `null` when its text names no term. */
64
54
  export declare function toDefinition(source: DefinitionSource): Definition | null;
65
55
  /** Preferred first: confirmed, then most recently written, then by id (stable). */
66
56
  export declare function compareDefinitions(a: DefinitionSource, b: DefinitionSource): number;
67
- /** Alphabetical order of terms, as a reader sorts a glossary (case and accents folded). */
68
- export declare const compareTerms: (a: string, b: string) => number;
69
57
  /**
70
58
  * Definitions grouped by term, alphabetically, each group's preferred definition first. Facts whose
71
59
  * text names no term are returned apart (`unparsed`), so a host can say how many it could not read.
@@ -81,12 +69,3 @@ export declare function groupDefinitions(sources: readonly DefinitionSource[], o
81
69
  export declare function definitionLabels(sources: readonly DefinitionSource[]): DefinitionLabel[];
82
70
  /** Groups whose term matches a typed query: prefix matches first, then any word, then anywhere. */
83
71
  export declare function filterTermGroups(groups: readonly DefinedTermGroup[], query: string): DefinedTermGroup[];
84
- /** Prefix of every bookmark a defined term links to: hidden in Word (leading underscore). */
85
- export declare const DEFINITION_BOOKMARK_PREFIX = "_dt_";
86
- /**
87
- * The Word bookmark of a definition: `_dt_` and the fact id in valid bookmark characters
88
- * (`fct-AbC12345` → `_dt_fct_AbC12345`), at most 40 characters as Word requires.
89
- */
90
- export declare function definitionBookmark(factId: string): string;
91
- /** The fact id a definition bookmark names, or `null` for any other bookmark. */
92
- export declare function definitionIdOfBookmark(name: string): string | null;
@@ -3,10 +3,8 @@
3
3
  * cells, an A4 page, and the minimal package around a `word/document.xml`. Zipped with `fflate`, so
4
4
  * the result opens in the native Word editor and in Word without pulling the editor engine in.
5
5
  */
6
+ export { W_NAMESPACES, docxPackage, documentXml, esc, hyperlinkRelationship, stylesXml, } from '@arbidocs/coedit/commands';
6
7
  export declare const DOCX_MIME_TYPE = "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
7
- export declare const W_NAMESPACES = "xmlns:w=\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\" xmlns:r=\"http://schemas.openxmlformats.org/officeDocument/2006/relationships\"";
8
- /** Text as XML character data or an attribute value. */
9
- export declare const esc: (text: string) => string;
10
8
  export interface Run {
11
9
  text: string;
12
10
  bold?: boolean;
@@ -25,10 +23,6 @@ export declare function page(landscape: boolean): {
25
23
  };
26
24
  /** `YYYY-MM-DD HH:MM` (UTC) of an ISO time, for a "taken at" line. */
27
25
  export declare const minuteUtc: (at: string) => string;
28
- /** A `word/document.xml` around body content (paragraphs, tables, then the section). */
29
- export declare const documentXml: (body: string) => string;
30
- /** `word/styles.xml` holding the given style definitions. */
31
- export declare const stylesXml: (defaults: string, styles: string) => string;
32
26
  /** Calibri 11pt (en-GB), 8pt after each paragraph: the document defaults the exports share. */
33
27
  export declare const DOC_DEFAULTS = "<w:docDefaults><w:rPrDefault><w:rPr><w:rFonts w:ascii=\"Calibri\" w:hAnsi=\"Calibri\" w:eastAsia=\"Calibri\" w:cs=\"Calibri\"/><w:sz w:val=\"22\"/><w:szCs w:val=\"22\"/><w:lang w:val=\"en-GB\"/></w:rPr></w:rPrDefault><w:pPrDefault><w:pPr><w:spacing w:after=\"160\" w:line=\"259\" w:lineRule=\"auto\"/></w:pPr></w:pPrDefault></w:docDefaults>";
34
28
  /**
@@ -36,15 +30,3 @@ export declare const DOC_DEFAULTS = "<w:docDefaults><w:rPrDefault><w:rPr><w:rFon
36
30
  * and the bordered `TagTableGrid` table.
37
31
  */
38
32
  export declare const TABLE_DOCUMENT_STYLES: string;
39
- /** A relationship to an external hyperlink target, for `w:hyperlink r:id`. */
40
- export declare const hyperlinkRelationship: (id: string, url: string) => string;
41
- /** The minimal `.docx` package: a document, its styles, and its title and time. */
42
- export declare function docxPackage(parts: {
43
- document: string;
44
- styles: string;
45
- title: string;
46
- /** ISO time; default now. */
47
- at?: string;
48
- /** Further `word/document.xml` relationships (e.g. {@link hyperlinkRelationship}). */
49
- relationships?: string;
50
- }): Uint8Array;
@@ -2,7 +2,7 @@
2
2
  'use strict';
3
3
 
4
4
  var chunkMUMH3Z6K_cjs = require('../chunk-MUMH3Z6K.cjs');
5
- var chunkVZKBI2KJ_cjs = require('../chunk-VZKBI2KJ.cjs');
5
+ var chunkZ2NSU7D5_cjs = require('../chunk-Z2NSU7D5.cjs');
6
6
  require('../chunk-ZV3BKLFY.cjs');
7
7
  require('../chunk-S5HZBXZA.cjs');
8
8
  require('../chunk-ZW6FPIFC.cjs');
@@ -14,14 +14,14 @@ require('../chunk-DVUZTGVL.cjs');
14
14
  require('../chunk-OB5F4577.cjs');
15
15
  require('../chunk-DETZZBG2.cjs');
16
16
  var chunk32HW2Q33_cjs = require('../chunk-32HW2Q33.cjs');
17
- require('../chunk-ULWRNGGE.cjs');
18
17
  require('../chunk-V4ISCZJ7.cjs');
19
18
  require('../chunk-2EI7NCUA.cjs');
20
19
  require('../chunk-C2CWWEHO.cjs');
21
- require('../chunk-7RGLTF76.cjs');
22
20
  require('../chunk-B4SRYJLM.cjs');
23
21
  require('../chunk-7UTB4PHM.cjs');
24
22
  require('../chunk-FX3K6LNZ.cjs');
23
+ require('../chunk-7RGLTF76.cjs');
24
+ require('../chunk-ULWRNGGE.cjs');
25
25
  require('../chunk-PPCATBOY.cjs');
26
26
  require('../chunk-MHVNT4J3.cjs');
27
27
  require('../chunk-C54XEN5T.cjs');
@@ -1615,7 +1615,7 @@ function triggerFields(trigger, clearOthers) {
1615
1615
  return {
1616
1616
  timezone: trigger.timezone,
1617
1617
  rrule: trigger.start === "repeat" ? trigger.rrule.trim() : none,
1618
- run_at: trigger.start === "once" ? chunkVZKBI2KJ_cjs.localInputToIso(trigger.runAt) : none,
1618
+ run_at: trigger.start === "once" ? chunkZ2NSU7D5_cjs.localInputToIso(trigger.runAt) : none,
1619
1619
  event_kind: trigger.start === "event" ? trigger.eventKind.trim() : none,
1620
1620
  // A step signal is `workflow_signal` narrowed to one signal name.
1621
1621
  event_filter: filter ?? none,
@@ -1674,7 +1674,7 @@ function workflowRecordToBuilder(record) {
1674
1674
  ...record.skill_ref ? { workflow: record.skill_ref } : { run: { kind: "prompt", promptTemplate: record.prompt } }
1675
1675
  }
1676
1676
  ] : [];
1677
- const when = chunkVZKBI2KJ_cjs.workflowWhen(record);
1677
+ const when = chunkZ2NSU7D5_cjs.workflowWhen(record);
1678
1678
  return {
1679
1679
  workflow: {
1680
1680
  id: record.external_id,
@@ -1688,7 +1688,7 @@ function workflowRecordToBuilder(record) {
1688
1688
  trigger: {
1689
1689
  ...DEFAULT_WORKFLOW_TRIGGER,
1690
1690
  start: when === "now" ? "manual" : when,
1691
- runAt: chunkVZKBI2KJ_cjs.isoToLocalInput(record.run_at),
1691
+ runAt: chunkZ2NSU7D5_cjs.isoToLocalInput(record.run_at),
1692
1692
  rrule: record.rrule ?? "",
1693
1693
  timezone: record.timezone || DEFAULT_WORKFLOW_TRIGGER.timezone,
1694
1694
  eventKind: record.event_kind ?? "",
@@ -1744,7 +1744,7 @@ function triggerSummary(trigger, options = {}) {
1744
1744
  case "once":
1745
1745
  return trigger.runAt ? new Date(trigger.runAt).toLocaleString() : l.starts.once;
1746
1746
  case "repeat":
1747
- return trigger.rrule ? chunkVZKBI2KJ_cjs.describeRRule(trigger.rrule) : l.starts.repeat;
1747
+ return trigger.rrule ? chunkZ2NSU7D5_cjs.describeRRule(trigger.rrule) : l.starts.repeat;
1748
1748
  case "event":
1749
1749
  if (isSignalTrigger(trigger))
1750
1750
  return trigger.signal ? l.signalSummary.replace("{signal}", trigger.signal) : l.stepSignals;
@@ -1803,7 +1803,7 @@ function TriggerInspector({
1803
1803
  }
1804
1804
  )
1805
1805
  ] }),
1806
- trigger.start === "repeat" && /* @__PURE__ */ jsxRuntime.jsx(chunkVZKBI2KJ_cjs.RecurrenceBuilder, { rrule: trigger.rrule, onChange: (rrule) => set({ rrule }) }),
1806
+ trigger.start === "repeat" && /* @__PURE__ */ jsxRuntime.jsx(chunkZ2NSU7D5_cjs.RecurrenceBuilder, { rrule: trigger.rrule, onChange: (rrule) => set({ rrule }) }),
1807
1807
  trigger.start === "event" && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
1808
1808
  /* @__PURE__ */ jsxRuntime.jsx(ui.Label, { className: "text-xs", children: l.event }),
1809
1809
  /* @__PURE__ */ jsxRuntime.jsxs(
@@ -1855,7 +1855,7 @@ function TriggerInspector({
1855
1855
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
1856
1856
  /* @__PURE__ */ jsxRuntime.jsx(ui.Label, { className: "text-xs", children: l.agent }),
1857
1857
  /* @__PURE__ */ jsxRuntime.jsx(
1858
- chunkVZKBI2KJ_cjs.AgentSelect,
1858
+ chunkZ2NSU7D5_cjs.AgentSelect,
1859
1859
  {
1860
1860
  agents,
1861
1861
  value: trigger.agentId,
@@ -2706,7 +2706,7 @@ function WorkflowPreview({
2706
2706
  renderIcon,
2707
2707
  testId
2708
2708
  }) {
2709
- const run = chunkVZKBI2KJ_cjs.useWorkflowPreview(workflow, {
2709
+ const run = chunkZ2NSU7D5_cjs.useWorkflowPreview(workflow, {
2710
2710
  resolveWorkflow: (id) => workflows.find((w) => w.id === id),
2711
2711
  compose,
2712
2712
  answer
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { useConnection } from '../chunk-OYMWV45N.js';
3
- import { workflowWhen, isoToLocalInput, describeRRule, RecurrenceBuilder, AgentSelect, useWorkflowPreview, localInputToIso } from '../chunk-A35KT2II.js';
3
+ import { workflowWhen, isoToLocalInput, describeRRule, RecurrenceBuilder, AgentSelect, useWorkflowPreview, localInputToIso } from '../chunk-ZP4IFW2E.js';
4
4
  import '../chunk-P5ST47VY.js';
5
5
  import '../chunk-4XJZ6AAY.js';
6
6
  import '../chunk-P6GHJSLR.js';
@@ -12,14 +12,14 @@ import '../chunk-5LXQPP2K.js';
12
12
  import '../chunk-S7PSMMRG.js';
13
13
  import '../chunk-EVUEIBNU.js';
14
14
  import { TONE_DOT, TONES, isTone } from '../chunk-AUS3KBHJ.js';
15
- import '../chunk-TX2ZICS7.js';
16
15
  import '../chunk-NUNKSZKU.js';
17
16
  import '../chunk-YU2KUMGE.js';
18
17
  import '../chunk-N5YEF3LC.js';
19
- import '../chunk-4WWM3GQ5.js';
20
18
  import '../chunk-HOXKR26S.js';
21
19
  import '../chunk-AA3PT6KR.js';
22
20
  import '../chunk-SLSBJRWW.js';
21
+ import '../chunk-4WWM3GQ5.js';
22
+ import '../chunk-TX2ZICS7.js';
23
23
  import '../chunk-NPLYHR2E.js';
24
24
  import '../chunk-7F6CBP3Z.js';
25
25
  import '../chunk-76JDDMSP.js';