@shenghuabi/workflow 1.0.8 → 1.0.10

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 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.class.component("grid gap-2");
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.class.component("flex gap-2")
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.class.component("flex gap-2 items-center")
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.class.component("grid auto-rows-auto gap-2")
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),