@shenghuabi/workflow 1.0.7 → 1.0.9
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/index.js +16 -6
- package/index.js.map +2 -2
- package/index.mjs +17 -10
- package/index.mjs.map +2 -2
- package/inline/node/chat/chat.node.define.d.ts +18 -0
- package/inline/node/chat/main/index.d.ts +18 -0
- package/package.json +2 -2
- package/share/common/inline-template.define.d.ts +6 -0
- package/share/index.js +14 -5
- package/share/index.js.map +2 -2
- package/share/index.mjs +15 -9
- package/share/index.mjs.map +2 -2
- package/webview/index.js +10 -2
- package/webview/index.js.map +2 -2
- package/webview/index.mjs +10 -2
- package/webview/index.mjs.map +2 -2
package/index.js
CHANGED
|
@@ -179,7 +179,14 @@ var v = __toESM(require("valibot"), 1);
|
|
|
179
179
|
// packages/workflow/share/util/layout.ts
|
|
180
180
|
var import_view_angular_core = require("@piying/view-angular-core");
|
|
181
181
|
function asColumn() {
|
|
182
|
-
return import_view_angular_core.actions.
|
|
182
|
+
return import_view_angular_core.actions.wrappers.patch([
|
|
183
|
+
{
|
|
184
|
+
type: "div",
|
|
185
|
+
attributes: {
|
|
186
|
+
class: "grid gap-2"
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
]);
|
|
183
190
|
}
|
|
184
191
|
|
|
185
192
|
// packages/workflow/share/common/examples.define.ts
|
|
@@ -266,7 +273,7 @@ var INLINE_Template = v3.pipe(
|
|
|
266
273
|
v3.optional(v3.string(), "{{NODE.description}}"),
|
|
267
274
|
v3.title("模板"),
|
|
268
275
|
v3.description("允许使用变量:{{NODE.xxx}}(参考节点帮助)"),
|
|
269
|
-
import_view_angular_core4.actions.wrappers.set(["tooltip", "
|
|
276
|
+
import_view_angular_core4.actions.wrappers.set(["tooltip", "label"]),
|
|
270
277
|
import_view_angular_core4.actions.class.top("flex-1"),
|
|
271
278
|
(0, import_view_angular_core4.disableWhen)({
|
|
272
279
|
listen: (fn) => fn({
|
|
@@ -275,7 +282,8 @@ var INLINE_Template = v3.pipe(
|
|
|
275
282
|
})
|
|
276
283
|
)
|
|
277
284
|
}),
|
|
278
|
-
import_view_angular_core4.actions.
|
|
285
|
+
import_view_angular_core4.actions.wrappers.patch(["div"]),
|
|
286
|
+
import_view_angular_core4.actions.class.top("flex gap-2")
|
|
279
287
|
);
|
|
280
288
|
var INLINE_Template2 = v3.pipe(
|
|
281
289
|
v3.object({
|
|
@@ -285,7 +293,7 @@ var INLINE_Template2 = v3.pipe(
|
|
|
285
293
|
v3.optional(v3.string()),
|
|
286
294
|
v3.title("模板"),
|
|
287
295
|
v3.description("允许使用变量:{{ENTRY.xxx}}(参考节点帮助)"),
|
|
288
|
-
import_view_angular_core4.actions.wrappers.set(["tooltip", "
|
|
296
|
+
import_view_angular_core4.actions.wrappers.set(["tooltip", "label"]),
|
|
289
297
|
import_view_angular_core4.actions.class.top("flex-1"),
|
|
290
298
|
(0, import_view_angular_core4.disableWhen)({
|
|
291
299
|
listen: (fn) => fn({
|
|
@@ -294,7 +302,8 @@ var INLINE_Template2 = v3.pipe(
|
|
|
294
302
|
})
|
|
295
303
|
)
|
|
296
304
|
}),
|
|
297
|
-
import_view_angular_core4.actions.
|
|
305
|
+
import_view_angular_core4.actions.wrappers.patch(["div"]),
|
|
306
|
+
import_view_angular_core4.actions.class.top("flex gap-2 items-center")
|
|
298
307
|
);
|
|
299
308
|
|
|
300
309
|
// packages/workflow/share/common/llm.define.ts
|
|
@@ -515,7 +524,8 @@ var CHAT_NODE_DEFINE = v7.looseObject({
|
|
|
515
524
|
),
|
|
516
525
|
examples: EXAMPLES_DEFINE
|
|
517
526
|
}),
|
|
518
|
-
import_view_angular_core6.actions.
|
|
527
|
+
import_view_angular_core6.actions.wrappers.patch(["div"]),
|
|
528
|
+
import_view_angular_core6.actions.class.top("grid auto-rows-auto gap-2")
|
|
519
529
|
),
|
|
520
530
|
value: v7.pipe(
|
|
521
531
|
v7.custom(Boolean),
|