@okyiww/form 0.0.3 → 0.0.4

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.
Files changed (2) hide show
  1. package/dist/index.js +5 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -4490,10 +4490,10 @@ class O_ {
4490
4490
  this.isAllConsumed() && (this.immutableModel = C.cloneDeep(this.model.value));
4491
4491
  }
4492
4492
  }
4493
- function T_(f = 16) {
4493
+ function T_(f) {
4494
4494
  var r, c;
4495
4495
  return {
4496
- gap: `${((r = ke.context.default) == null ? void 0 : r.layoutGap) ?? f}px`,
4496
+ gap: `${f ?? ((r = ke.context.default) == null ? void 0 : r.layoutGap) ?? 16}px`,
4497
4497
  width: "100%",
4498
4498
  height: "100%",
4499
4499
  display: "flex",
@@ -4502,10 +4502,10 @@ function T_(f = 16) {
4502
4502
  background: ((c = ke.context.default) == null ? void 0 : c.gapBgColor) ?? "transparent"
4503
4503
  };
4504
4504
  }
4505
- function M_(f = 16) {
4505
+ function M_(f) {
4506
4506
  var r, c;
4507
4507
  return {
4508
- gap: `${((r = ke.context.default) == null ? void 0 : r.listLayoutGap) ?? f}px`,
4508
+ gap: `${f ?? ((r = ke.context.default) == null ? void 0 : r.listLayoutGap) ?? 16}px`,
4509
4509
  width: "100%",
4510
4510
  height: "100%",
4511
4511
  display: "flex",
@@ -4644,6 +4644,7 @@ class F_ {
4644
4644
  renderListSchema(s, r = this.runtime._model.model.value, c, p, y) {
4645
4645
  const w = C.get(r, s.field) ?? [{}];
4646
4646
  return je(y.List, {
4647
+ listModel: w,
4647
4648
  style: ss(s, this.runtime._options.layoutGap)
4648
4649
  }, {
4649
4650
  default: () => w.map((v, S) => je(y.ListItem, null, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@okyiww/form",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.js",
6
6
  "type": "module",