@shenghuabi/workflow 1.0.8 → 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 +14 -4
- package/index.js.map +2 -2
- package/index.mjs +15 -8
- 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 +12 -3
- package/share/index.js.map +2 -2
- package/share/index.mjs +13 -7
- 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
|
|
@@ -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({
|
|
@@ -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),
|