@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.mjs CHANGED
@@ -121,7 +121,14 @@ import * as v from "valibot";
121
121
  // packages/workflow/share/util/layout.ts
122
122
  import { actions } from "@piying/view-angular-core";
123
123
  function asColumn() {
124
- return actions.class.component("grid gap-2");
124
+ return actions.wrappers.patch([
125
+ {
126
+ type: "div",
127
+ attributes: {
128
+ class: "grid gap-2"
129
+ }
130
+ }
131
+ ]);
125
132
  }
126
133
 
127
134
  // packages/workflow/share/common/examples.define.ts
@@ -197,10 +204,7 @@ var HandleDataDefine = v2.pipe(
197
204
  );
198
205
 
199
206
  // packages/workflow/share/common/inline-template.define.ts
200
- import {
201
- actions as actions3,
202
- disableWhen
203
- } from "@piying/view-angular-core";
207
+ import { actions as actions3, disableWhen } from "@piying/view-angular-core";
204
208
  import { map } from "rxjs";
205
209
  import * as v3 from "valibot";
206
210
  var INLINE_Template = v3.pipe(
@@ -220,7 +224,8 @@ var INLINE_Template = v3.pipe(
220
224
  })
221
225
  )
222
226
  }),
223
- actions3.class.component("flex gap-2")
227
+ actions3.wrappers.patch(["div"]),
228
+ actions3.class.top("flex gap-2")
224
229
  );
225
230
  var INLINE_Template2 = v3.pipe(
226
231
  v3.object({
@@ -239,7 +244,8 @@ var INLINE_Template2 = v3.pipe(
239
244
  })
240
245
  )
241
246
  }),
242
- actions3.class.component("flex gap-2 items-center")
247
+ actions3.wrappers.patch(["div"]),
248
+ actions3.class.top("flex gap-2 items-center")
243
249
  );
244
250
 
245
251
  // packages/workflow/share/common/llm.define.ts
@@ -469,7 +475,8 @@ var CHAT_NODE_DEFINE = v7.looseObject({
469
475
  ),
470
476
  examples: EXAMPLES_DEFINE
471
477
  }),
472
- actions5.class.component("grid auto-rows-auto gap-2")
478
+ actions5.wrappers.patch(["div"]),
479
+ actions5.class.top("grid auto-rows-auto gap-2")
473
480
  ),
474
481
  value: v7.pipe(
475
482
  v7.custom(Boolean),