@arbidocs/blocks 0.4.74 → 0.4.75
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/README.md +2 -1
- package/dist/agents/index.cjs +208 -207
- package/dist/agents/index.js +3 -2
- package/dist/{chunk-5LP54CWR.cjs → chunk-F4LUD3YC.cjs} +19 -18
- package/dist/chunk-F4LUD3YC.cjs.map +1 -0
- package/dist/{chunk-IA7RTPT3.cjs → chunk-IXALYQT7.cjs} +2 -200
- package/dist/chunk-IXALYQT7.cjs.map +1 -0
- package/dist/{chunk-KOSGX3UK.js → chunk-LT2UORRG.js} +4 -3
- package/dist/chunk-LT2UORRG.js.map +1 -0
- package/dist/chunk-NUNKSZKU.js +203 -0
- package/dist/chunk-NUNKSZKU.js.map +1 -0
- package/dist/{chunk-6OL5S7MJ.cjs → chunk-NYBIKDWI.cjs} +5 -2
- package/dist/chunk-NYBIKDWI.cjs.map +1 -0
- package/dist/{chunk-D46ZAPEE.js → chunk-R3PDNQYT.js} +5 -2
- package/dist/chunk-R3PDNQYT.js.map +1 -0
- package/dist/chunk-V4ISCZJ7.cjs +207 -0
- package/dist/chunk-V4ISCZJ7.cjs.map +1 -0
- package/dist/{chunk-BUHKUKKB.js → chunk-ZPLG7QYF.js} +4 -199
- package/dist/chunk-ZPLG7QYF.js.map +1 -0
- package/dist/connect/index.cjs +2 -2
- package/dist/connect/index.js +2 -2
- package/dist/databases/DatabaseColumnDialog.d.ts +43 -0
- package/dist/databases/DatabaseList.d.ts +28 -0
- package/dist/databases/DatabaseTable.d.ts +38 -0
- package/dist/databases/DatabaseToolbar.d.ts +38 -0
- package/dist/databases/NewDatabaseDialog.d.ts +25 -0
- package/dist/databases/SelectCellEditor.d.ts +6 -0
- package/dist/databases/SelectChip.d.ts +4 -0
- package/dist/databases/column-types.d.ts +58 -0
- package/dist/databases/databaseColumns.d.ts +28 -0
- package/dist/databases/index.cjs +1081 -0
- package/dist/databases/index.cjs.map +1 -0
- package/dist/databases/index.d.ts +13 -0
- package/dist/databases/index.js +1055 -0
- package/dist/databases/index.js.map +1 -0
- package/dist/facts/index.cjs +7 -6
- package/dist/facts/index.cjs.map +1 -1
- package/dist/facts/index.js +3 -2
- package/dist/facts/index.js.map +1 -1
- package/dist/files/index.cjs +14 -13
- package/dist/files/index.cjs.map +1 -1
- package/dist/files/index.js +4 -2
- package/dist/files/index.js.map +1 -1
- package/dist/index.cjs +466 -465
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +8 -7
- package/dist/index.js.map +1 -1
- package/dist/settings/index.cjs +1 -1
- package/dist/settings/index.js +1 -1
- package/dist/shell/ActionCluster.d.ts +3 -1
- package/dist/shell/index.cjs +45 -45
- package/dist/shell/index.js +1 -1
- package/dist/workflow-canvas/index.cjs +10 -9
- package/dist/workflow-canvas/index.cjs.map +1 -1
- package/dist/workflow-canvas/index.js +3 -2
- package/dist/workflow-canvas/index.js.map +1 -1
- package/package.json +9 -4
- package/dist/chunk-5LP54CWR.cjs.map +0 -1
- package/dist/chunk-6OL5S7MJ.cjs.map +0 -1
- package/dist/chunk-BUHKUKKB.js.map +0 -1
- package/dist/chunk-D46ZAPEE.js.map +0 -1
- package/dist/chunk-IA7RTPT3.cjs.map +0 -1
- package/dist/chunk-KOSGX3UK.js.map +0 -1
package/dist/shell/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkNYBIKDWI_cjs = require('../chunk-NYBIKDWI.cjs');
|
|
5
5
|
var chunk7RGLTF76_cjs = require('../chunk-7RGLTF76.cjs');
|
|
6
6
|
var chunk2EI7NCUA_cjs = require('../chunk-2EI7NCUA.cjs');
|
|
7
7
|
require('../chunk-OB5F4577.cjs');
|
|
@@ -17,179 +17,179 @@ require('../chunk-DES3K4SD.cjs');
|
|
|
17
17
|
|
|
18
18
|
Object.defineProperty(exports, "ActionCluster", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkNYBIKDWI_cjs.ActionCluster; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "AskField", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkNYBIKDWI_cjs.AskField; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "AskRow", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkNYBIKDWI_cjs.AskRow; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "AskTrigger", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkNYBIKDWI_cjs.AskTrigger; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "DEFAULT_ASK_FIELD_LABELS", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkNYBIKDWI_cjs.DEFAULT_ASK_FIELD_LABELS; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "DEFAULT_INSTALL_PROMPT_LABELS", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkNYBIKDWI_cjs.DEFAULT_INSTALL_PROMPT_LABELS; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "DEFAULT_MOBILE_BARS_LABELS", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkNYBIKDWI_cjs.DEFAULT_MOBILE_BARS_LABELS; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "DEFAULT_OFFLINE_PILL_LABELS", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkNYBIKDWI_cjs.DEFAULT_OFFLINE_PILL_LABELS; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "DEFAULT_REMOTE_CONTROL_PILL_LABELS", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkNYBIKDWI_cjs.DEFAULT_REMOTE_CONTROL_PILL_LABELS; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "DEFAULT_SIDEBAR_LABELS", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkNYBIKDWI_cjs.DEFAULT_SIDEBAR_LABELS; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "DEFAULT_TIP_CARD_LABELS", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkNYBIKDWI_cjs.DEFAULT_TIP_CARD_LABELS; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "DEFAULT_WORKSPACE_KIND_LABELS", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkNYBIKDWI_cjs.DEFAULT_WORKSPACE_KIND_LABELS; }
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "DEFAULT_WORKSPACE_SWITCHER_LABELS", {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkNYBIKDWI_cjs.DEFAULT_WORKSPACE_SWITCHER_LABELS; }
|
|
69
69
|
});
|
|
70
70
|
Object.defineProperty(exports, "INSTALL_PROMPT_DISMISSED_KEY", {
|
|
71
71
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkNYBIKDWI_cjs.INSTALL_PROMPT_DISMISSED_KEY; }
|
|
73
73
|
});
|
|
74
74
|
Object.defineProperty(exports, "InfoBar", {
|
|
75
75
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkNYBIKDWI_cjs.InfoBar; }
|
|
77
77
|
});
|
|
78
78
|
Object.defineProperty(exports, "InstallPrompt", {
|
|
79
79
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunkNYBIKDWI_cjs.InstallPrompt; }
|
|
81
81
|
});
|
|
82
82
|
Object.defineProperty(exports, "MobileAppBar", {
|
|
83
83
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunkNYBIKDWI_cjs.MobileAppBar; }
|
|
85
85
|
});
|
|
86
86
|
Object.defineProperty(exports, "MobileTabBar", {
|
|
87
87
|
enumerable: true,
|
|
88
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunkNYBIKDWI_cjs.MobileTabBar; }
|
|
89
89
|
});
|
|
90
90
|
Object.defineProperty(exports, "NotificationBell", {
|
|
91
91
|
enumerable: true,
|
|
92
|
-
get: function () { return
|
|
92
|
+
get: function () { return chunkNYBIKDWI_cjs.NotificationBell; }
|
|
93
93
|
});
|
|
94
94
|
Object.defineProperty(exports, "OfflinePill", {
|
|
95
95
|
enumerable: true,
|
|
96
|
-
get: function () { return
|
|
96
|
+
get: function () { return chunkNYBIKDWI_cjs.OfflinePill; }
|
|
97
97
|
});
|
|
98
98
|
Object.defineProperty(exports, "RemoteControlPill", {
|
|
99
99
|
enumerable: true,
|
|
100
|
-
get: function () { return
|
|
100
|
+
get: function () { return chunkNYBIKDWI_cjs.RemoteControlPill; }
|
|
101
101
|
});
|
|
102
102
|
Object.defineProperty(exports, "STATUS_ROW_BASE_CLASS", {
|
|
103
103
|
enumerable: true,
|
|
104
|
-
get: function () { return
|
|
104
|
+
get: function () { return chunkNYBIKDWI_cjs.STATUS_ROW_BASE_CLASS; }
|
|
105
105
|
});
|
|
106
106
|
Object.defineProperty(exports, "STATUS_ROW_TONES", {
|
|
107
107
|
enumerable: true,
|
|
108
|
-
get: function () { return
|
|
108
|
+
get: function () { return chunkNYBIKDWI_cjs.STATUS_ROW_TONES; }
|
|
109
109
|
});
|
|
110
110
|
Object.defineProperty(exports, "Sidebar", {
|
|
111
111
|
enumerable: true,
|
|
112
|
-
get: function () { return
|
|
112
|
+
get: function () { return chunkNYBIKDWI_cjs.Sidebar; }
|
|
113
113
|
});
|
|
114
114
|
Object.defineProperty(exports, "SidebarBadgeRow", {
|
|
115
115
|
enumerable: true,
|
|
116
|
-
get: function () { return
|
|
116
|
+
get: function () { return chunkNYBIKDWI_cjs.SidebarBadgeRow; }
|
|
117
117
|
});
|
|
118
118
|
Object.defineProperty(exports, "SidebarRowAction", {
|
|
119
119
|
enumerable: true,
|
|
120
|
-
get: function () { return
|
|
120
|
+
get: function () { return chunkNYBIKDWI_cjs.SidebarRowAction; }
|
|
121
121
|
});
|
|
122
122
|
Object.defineProperty(exports, "SidebarRowHoverContext", {
|
|
123
123
|
enumerable: true,
|
|
124
|
-
get: function () { return
|
|
124
|
+
get: function () { return chunkNYBIKDWI_cjs.SidebarRowHoverContext; }
|
|
125
125
|
});
|
|
126
126
|
Object.defineProperty(exports, "SplitLayout", {
|
|
127
127
|
enumerable: true,
|
|
128
|
-
get: function () { return
|
|
128
|
+
get: function () { return chunkNYBIKDWI_cjs.SplitLayout; }
|
|
129
129
|
});
|
|
130
130
|
Object.defineProperty(exports, "StatusBadge", {
|
|
131
131
|
enumerable: true,
|
|
132
|
-
get: function () { return
|
|
132
|
+
get: function () { return chunkNYBIKDWI_cjs.StatusBadge; }
|
|
133
133
|
});
|
|
134
134
|
Object.defineProperty(exports, "StatusRow", {
|
|
135
135
|
enumerable: true,
|
|
136
|
-
get: function () { return
|
|
136
|
+
get: function () { return chunkNYBIKDWI_cjs.StatusRow; }
|
|
137
137
|
});
|
|
138
138
|
Object.defineProperty(exports, "TipCard", {
|
|
139
139
|
enumerable: true,
|
|
140
|
-
get: function () { return
|
|
140
|
+
get: function () { return chunkNYBIKDWI_cjs.TipCard; }
|
|
141
141
|
});
|
|
142
142
|
Object.defineProperty(exports, "UserMenu", {
|
|
143
143
|
enumerable: true,
|
|
144
|
-
get: function () { return
|
|
144
|
+
get: function () { return chunkNYBIKDWI_cjs.UserMenu; }
|
|
145
145
|
});
|
|
146
146
|
Object.defineProperty(exports, "WorkspaceIdentity", {
|
|
147
147
|
enumerable: true,
|
|
148
|
-
get: function () { return
|
|
148
|
+
get: function () { return chunkNYBIKDWI_cjs.WorkspaceIdentity; }
|
|
149
149
|
});
|
|
150
150
|
Object.defineProperty(exports, "WorkspaceSwitcher", {
|
|
151
151
|
enumerable: true,
|
|
152
|
-
get: function () { return
|
|
152
|
+
get: function () { return chunkNYBIKDWI_cjs.WorkspaceSwitcher; }
|
|
153
153
|
});
|
|
154
154
|
Object.defineProperty(exports, "getInstallInstructions", {
|
|
155
155
|
enumerable: true,
|
|
156
|
-
get: function () { return
|
|
156
|
+
get: function () { return chunkNYBIKDWI_cjs.getInstallInstructions; }
|
|
157
157
|
});
|
|
158
158
|
Object.defineProperty(exports, "initInstallPrompt", {
|
|
159
159
|
enumerable: true,
|
|
160
|
-
get: function () { return
|
|
160
|
+
get: function () { return chunkNYBIKDWI_cjs.initInstallPrompt; }
|
|
161
161
|
});
|
|
162
162
|
Object.defineProperty(exports, "isIosDevice", {
|
|
163
163
|
enumerable: true,
|
|
164
|
-
get: function () { return
|
|
164
|
+
get: function () { return chunkNYBIKDWI_cjs.isIosDevice; }
|
|
165
165
|
});
|
|
166
166
|
Object.defineProperty(exports, "promptAppInstall", {
|
|
167
167
|
enumerable: true,
|
|
168
|
-
get: function () { return
|
|
168
|
+
get: function () { return chunkNYBIKDWI_cjs.promptAppInstall; }
|
|
169
169
|
});
|
|
170
170
|
Object.defineProperty(exports, "resolveSidebarLayout", {
|
|
171
171
|
enumerable: true,
|
|
172
|
-
get: function () { return
|
|
172
|
+
get: function () { return chunkNYBIKDWI_cjs.resolveSidebarLayout; }
|
|
173
173
|
});
|
|
174
174
|
Object.defineProperty(exports, "useInstallPrompt", {
|
|
175
175
|
enumerable: true,
|
|
176
|
-
get: function () { return
|
|
176
|
+
get: function () { return chunkNYBIKDWI_cjs.useInstallPrompt; }
|
|
177
177
|
});
|
|
178
178
|
Object.defineProperty(exports, "useSidebarContext", {
|
|
179
179
|
enumerable: true,
|
|
180
|
-
get: function () { return
|
|
180
|
+
get: function () { return chunkNYBIKDWI_cjs.useSidebarContext; }
|
|
181
181
|
});
|
|
182
182
|
Object.defineProperty(exports, "useSidebarSettle", {
|
|
183
183
|
enumerable: true,
|
|
184
|
-
get: function () { return
|
|
184
|
+
get: function () { return chunkNYBIKDWI_cjs.useSidebarSettle; }
|
|
185
185
|
});
|
|
186
186
|
Object.defineProperty(exports, "workspaceKindColor", {
|
|
187
187
|
enumerable: true,
|
|
188
|
-
get: function () { return
|
|
188
|
+
get: function () { return chunkNYBIKDWI_cjs.workspaceKindColor; }
|
|
189
189
|
});
|
|
190
190
|
Object.defineProperty(exports, "workspaceKindMeta", {
|
|
191
191
|
enumerable: true,
|
|
192
|
-
get: function () { return
|
|
192
|
+
get: function () { return chunkNYBIKDWI_cjs.workspaceKindMeta; }
|
|
193
193
|
});
|
|
194
194
|
Object.defineProperty(exports, "DEFAULT_TAB_HEADER_LABELS", {
|
|
195
195
|
enumerable: true,
|
package/dist/shell/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
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-
|
|
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-R3PDNQYT.js';
|
|
3
3
|
export { DEFAULT_TAB_HEADER_LABELS, TabHeader } from '../chunk-4WWM3GQ5.js';
|
|
4
4
|
export { DEFAULT_FILTER_FIELDS, DEFAULT_FILTER_INPUT_LABELS, FilterInput } from '../chunk-YU2KUMGE.js';
|
|
5
5
|
import '../chunk-S7PSMMRG.js';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var chunkMUMH3Z6K_cjs = require('../chunk-MUMH3Z6K.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkF4LUD3YC_cjs = require('../chunk-F4LUD3YC.cjs');
|
|
6
6
|
require('../chunk-YJQVLVBJ.cjs');
|
|
7
7
|
require('../chunk-ZW6FPIFC.cjs');
|
|
8
8
|
var chunkP2RBE3FD_cjs = require('../chunk-P2RBE3FD.cjs');
|
|
@@ -10,8 +10,9 @@ require('../chunk-7RGLTF76.cjs');
|
|
|
10
10
|
require('../chunk-3AFWGEDJ.cjs');
|
|
11
11
|
require('../chunk-VFUWWH52.cjs');
|
|
12
12
|
require('../chunk-DETZZBG2.cjs');
|
|
13
|
-
require('../chunk-
|
|
13
|
+
require('../chunk-V4ISCZJ7.cjs');
|
|
14
14
|
require('../chunk-2EI7NCUA.cjs');
|
|
15
|
+
require('../chunk-IXALYQT7.cjs');
|
|
15
16
|
require('../chunk-Z5VUZ6YD.cjs');
|
|
16
17
|
require('../chunk-7D737FLE.cjs');
|
|
17
18
|
require('../chunk-OB5F4577.cjs');
|
|
@@ -587,7 +588,7 @@ function triggerSummary(trigger, options = {}) {
|
|
|
587
588
|
case "once":
|
|
588
589
|
return trigger.runAt ? new Date(trigger.runAt).toLocaleString() : l.starts.once;
|
|
589
590
|
case "repeat":
|
|
590
|
-
return trigger.rrule ?
|
|
591
|
+
return trigger.rrule ? chunkF4LUD3YC_cjs.describeRRule(trigger.rrule) : l.starts.repeat;
|
|
591
592
|
case "event":
|
|
592
593
|
return trigger.eventKind && options.eventLabel?.(trigger.eventKind) || trigger.eventKind || l.starts.event;
|
|
593
594
|
case "task":
|
|
@@ -642,7 +643,7 @@ function TriggerInspector({
|
|
|
642
643
|
}
|
|
643
644
|
)
|
|
644
645
|
] }),
|
|
645
|
-
trigger.start === "repeat" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
646
|
+
trigger.start === "repeat" && /* @__PURE__ */ jsxRuntime.jsx(chunkF4LUD3YC_cjs.RecurrenceBuilder, { rrule: trigger.rrule, onChange: (rrule) => set({ rrule }) }),
|
|
646
647
|
trigger.start === "event" && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
647
648
|
/* @__PURE__ */ jsxRuntime.jsx(ui.Label, { className: "text-xs", children: l.event }),
|
|
648
649
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -678,7 +679,7 @@ function TriggerInspector({
|
|
|
678
679
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
679
680
|
/* @__PURE__ */ jsxRuntime.jsx(ui.Label, { className: "text-xs", children: l.agent }),
|
|
680
681
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
681
|
-
|
|
682
|
+
chunkF4LUD3YC_cjs.AgentSelect,
|
|
682
683
|
{
|
|
683
684
|
agents,
|
|
684
685
|
value: trigger.agentId,
|
|
@@ -1425,7 +1426,7 @@ function WorkflowPreview({
|
|
|
1425
1426
|
renderIcon,
|
|
1426
1427
|
testId
|
|
1427
1428
|
}) {
|
|
1428
|
-
const run =
|
|
1429
|
+
const run = chunkF4LUD3YC_cjs.useWorkflowPreview(workflow, {
|
|
1429
1430
|
resolveWorkflow: (id) => workflows.find((w) => w.id === id),
|
|
1430
1431
|
compose,
|
|
1431
1432
|
answer
|
|
@@ -1472,7 +1473,7 @@ function triggerFields(trigger, clearOthers) {
|
|
|
1472
1473
|
return {
|
|
1473
1474
|
timezone: trigger.timezone,
|
|
1474
1475
|
rrule: trigger.start === "repeat" ? trigger.rrule.trim() : none,
|
|
1475
|
-
run_at: trigger.start === "once" ?
|
|
1476
|
+
run_at: trigger.start === "once" ? chunkF4LUD3YC_cjs.localInputToIso(trigger.runAt) : none,
|
|
1476
1477
|
event_kind: trigger.start === "event" ? trigger.eventKind.trim() : none,
|
|
1477
1478
|
after_conversation_ext_id: trigger.start === "task" ? trigger.afterTaskId : none,
|
|
1478
1479
|
on_demand: trigger.start === "manual"
|
|
@@ -1529,7 +1530,7 @@ function workflowRecordToBuilder(record) {
|
|
|
1529
1530
|
...record.skill_ref ? { workflow: record.skill_ref } : { run: { kind: "prompt", promptTemplate: record.prompt } }
|
|
1530
1531
|
}
|
|
1531
1532
|
] : [];
|
|
1532
|
-
const when =
|
|
1533
|
+
const when = chunkF4LUD3YC_cjs.workflowWhen(record);
|
|
1533
1534
|
return {
|
|
1534
1535
|
workflow: {
|
|
1535
1536
|
id: record.external_id,
|
|
@@ -1543,7 +1544,7 @@ function workflowRecordToBuilder(record) {
|
|
|
1543
1544
|
trigger: {
|
|
1544
1545
|
...DEFAULT_WORKFLOW_TRIGGER,
|
|
1545
1546
|
start: when === "now" ? "manual" : when,
|
|
1546
|
-
runAt:
|
|
1547
|
+
runAt: chunkF4LUD3YC_cjs.isoToLocalInput(record.run_at),
|
|
1547
1548
|
rrule: record.rrule ?? "",
|
|
1548
1549
|
timezone: record.timezone || DEFAULT_WORKFLOW_TRIGGER.timezone,
|
|
1549
1550
|
eventKind: record.event_kind ?? "",
|