@cluadwong/form-designer 0.3.0 → 0.3.1

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/README.md CHANGED
@@ -237,7 +237,7 @@ JS 与 CSS 若不是同一次构建的产物,哈希对不上,scoped 样式
237
237
 
238
238
  ### 验证基线
239
239
 
240
- - `npx vitest run`:**403 passed(49 文件)**
240
+ - `npx vitest run`:**427 passed(50 文件)**
241
241
  - `npx vue-tsc --noEmit`:无错误
242
242
 
243
243
  ## 文档
@@ -249,6 +249,7 @@ JS 与 CSS 若不是同一次构建的产物,哈希对不上,scoped 样式
249
249
  | [docs/design-biz.md](./docs/design-biz.md) | 业务与交互设计 |
250
250
  | [docs/engine.md](./docs/engine.md) | 渲染引擎契约(索引/校验/渲染/尺寸/边框/打印) |
251
251
  | [docs/user-guide.md](./docs/user-guide.md) | 用户操作指南(与应用内「帮助」同源) |
252
+ | [docs/lib-build.md](./docs/lib-build.md) | 库构建与产物契约(三个入口 / `exports` 映射 / CSS 三档归属 / chunk 单向依赖与环的排查) |
252
253
 
253
254
  ## 分支
254
255
 
@@ -2,12 +2,11 @@ var bt = Object.defineProperty;
2
2
  var vt = (e, t, n) => t in e ? bt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var Je = (e, t, n) => vt(e, typeof t != "symbol" ? t + "" : t, n);
4
4
  import { defineComponent as Te, ref as J, onMounted as Fe, watch as ge, openBlock as x, createElementBlock as R, computed as U, resolveComponent as Et, mergeProps as se, Fragment as j, renderList as Y, normalizeStyle as ce, createBlock as ye, toDisplayString as G, createCommentVNode as xe, normalizeClass as Be, createTextVNode as Tt, createElementVNode as O, onUnmounted as St, nextTick as Xe, onBeforeUnmount as Mt, renderSlot as At, withCtx as xt, createVNode as Rt } from "vue";
5
- import "./designer-ui.js";
6
5
  import Nt from "dompurify";
7
6
  import Ft from "@panzoom/panzoom";
8
7
  import { VuePrintNext as kt } from "vue-print-next";
9
8
  const It = 10;
10
- function bn(e) {
9
+ function wn(e) {
11
10
  return !!(e && e.type !== "grid-row" && e.type !== "grid-cell" && e.type !== "table-cell-template");
12
11
  }
13
12
  const Ct = {
@@ -21,15 +20,15 @@ function ze(e) {
21
20
  function it(e, t) {
22
21
  return ie(e).get(t);
23
22
  }
24
- function vn(e, t) {
23
+ function bn(e, t) {
25
24
  var n;
26
25
  return (n = it(e, t)) == null ? void 0 : n.node;
27
26
  }
28
- function En(e, t) {
27
+ function vn(e, t) {
29
28
  var n;
30
29
  return (n = it(e, t)) == null ? void 0 : n.ownerCell;
31
30
  }
32
- function Tn(e, t) {
31
+ function En(e, t) {
33
32
  const n = ie(e), r = n.get(t);
34
33
  if (!r) return [];
35
34
  const i = [];
@@ -334,38 +333,38 @@ function Xt(e, t, n, r) {
334
333
  return a.splice(o, 0, n), { ...i, rows: a };
335
334
  });
336
335
  }
337
- function Sn(e, t, n = 1) {
336
+ function Tn(e, t, n = 1) {
338
337
  return L(e, t, (r) => r.type !== "table" ? r : { ...r, minRows: Math.max(0, r.minRows + n) });
339
338
  }
340
- function Mn(e, t, n) {
339
+ function Sn(e, t, n) {
341
340
  return L(
342
341
  e,
343
342
  t,
344
343
  (r) => r.type === "grid" ? { ...r, border: n } : r
345
344
  );
346
345
  }
347
- function An(e, t, n) {
346
+ function Mn(e, t, n) {
348
347
  return L(
349
348
  e,
350
349
  t,
351
350
  (r) => r.type === "table" ? { ...r, border: n } : r
352
351
  );
353
352
  }
354
- function xn(e, t, n) {
353
+ function An(e, t, n) {
355
354
  return L(
356
355
  e,
357
356
  t,
358
357
  (r) => r.type === "grid-row" ? { ...r, height: n } : r
359
358
  );
360
359
  }
361
- function Rn(e, t, n) {
360
+ function xn(e, t, n) {
362
361
  return L(
363
362
  e,
364
363
  t,
365
364
  (r) => r.type === "grid-cell" ? { ...r, width: n } : r
366
365
  );
367
366
  }
368
- function Nn(e, t, n) {
367
+ function Rn(e, t, n) {
369
368
  const r = Number.isFinite(n) && n > 0 ? n : 0;
370
369
  return L(
371
370
  e,
@@ -373,28 +372,28 @@ function Nn(e, t, n) {
373
372
  (i) => i.type === "grid-cell" ? { ...i, padding: r } : i
374
373
  );
375
374
  }
376
- function Fn(e, t, n) {
375
+ function Nn(e, t, n) {
377
376
  return L(
378
377
  e,
379
378
  t,
380
379
  (r) => r.type === "grid-cell" ? { ...r, align: n } : r
381
380
  );
382
381
  }
383
- function kn(e, t, n) {
382
+ function Fn(e, t, n) {
384
383
  return L(
385
384
  e,
386
385
  t,
387
386
  (r) => r.type === "grid-cell" ? { ...r, verticalAlign: n } : r
388
387
  );
389
388
  }
390
- function In(e, t, n) {
389
+ function kn(e, t, n) {
391
390
  return L(
392
391
  e,
393
392
  t,
394
393
  (r) => r.type === "grid" ? { ...r, ...n } : r
395
394
  );
396
395
  }
397
- function Cn(e, t, n) {
396
+ function In(e, t, n) {
398
397
  const r = typeof n == "number" && Number.isFinite(n) && n > 0 ? n : void 0;
399
398
  return L(
400
399
  e,
@@ -406,14 +405,14 @@ function Re(e) {
406
405
  const t = e.gap;
407
406
  return typeof t == "number" && Number.isFinite(t) && t > 0 ? t : 0;
408
407
  }
409
- function Ln(e, t, n) {
408
+ function Cn(e, t, n) {
410
409
  return L(
411
410
  e,
412
411
  t,
413
412
  (r) => r.type === "table" ? { ...r, minRows: Math.max(0, Math.floor(n)) } : r
414
413
  );
415
414
  }
416
- function $n(e, t, n) {
415
+ function Ln(e, t, n) {
417
416
  return L(e, t, (r) => {
418
417
  if (r.type !== "table") return r;
419
418
  const i = new Set(r.columns.map((u) => u.key));
@@ -448,14 +447,14 @@ function $n(e, t, n) {
448
447
  };
449
448
  });
450
449
  }
451
- function Dn(e, t, n) {
450
+ function $n(e, t, n) {
452
451
  return L(e, t, (r) => r.type !== "table" || r.columns.length <= 1 ? r : {
453
452
  ...r,
454
453
  columns: r.columns.filter((i) => i.key !== n),
455
454
  rowTemplate: r.rowTemplate.filter((i) => i.columnKey !== n)
456
455
  });
457
456
  }
458
- function Hn(e, t, n, r) {
457
+ function Dn(e, t, n, r) {
459
458
  const i = r.trim();
460
459
  return !i || i === n ? e : L(e, t, (o) => o.type !== "table" || o.columns.some((a) => a.key === i) ? o : {
461
460
  ...o,
@@ -467,7 +466,7 @@ function Hn(e, t, n, r) {
467
466
  )
468
467
  });
469
468
  }
470
- function Pn(e, t, n, r) {
469
+ function Hn(e, t, n, r) {
471
470
  return L(e, t, (i) => i.type !== "table" ? i : {
472
471
  ...i,
473
472
  columns: i.columns.map(
@@ -475,13 +474,13 @@ function Pn(e, t, n, r) {
475
474
  )
476
475
  });
477
476
  }
478
- function Vn(e, t) {
477
+ function Pn(e, t) {
479
478
  return { ...e, baseRowHeight: Math.max(1, Math.min(99, Math.floor(t))) };
480
479
  }
481
- function _n(e, t) {
480
+ function Vn(e, t) {
482
481
  return { ...e, paper: t };
483
482
  }
484
- function On() {
483
+ function _n() {
485
484
  return {
486
485
  version: 2,
487
486
  paper: { size: "A4" },
@@ -518,7 +517,7 @@ function Zt(e, t, n) {
518
517
  (r) => r.type === "grid-cell" || r.type === "table-cell-template" ? { ...r, children: [...r.children, n] } : r
519
518
  );
520
519
  }
521
- function Gn(e, t, n) {
520
+ function On(e, t, n) {
522
521
  var l, c;
523
522
  const r = ie(e), i = r.get(t), o = r.get(n);
524
523
  if ((i == null ? void 0 : i.node.type) !== "grid-cell" || (o == null ? void 0 : o.node.type) !== "grid-cell" || ((l = i.parent) == null ? void 0 : l.type) !== "grid-row" || i.parent.id !== ((c = o.parent) == null ? void 0 : c.id)) return e;
@@ -540,7 +539,7 @@ function Gn(e, t, n) {
540
539
  };
541
540
  });
542
541
  }
543
- function Bn(e, t) {
542
+ function Gn(e, t) {
544
543
  const r = ie(e).get(t);
545
544
  if ((r == null ? void 0 : r.node.type) !== "grid-cell") return e;
546
545
  const i = r.node.colspan ?? 1;
@@ -566,7 +565,7 @@ function Bn(e, t) {
566
565
  };
567
566
  });
568
567
  }
569
- function zn(e, t) {
568
+ function Bn(e, t) {
570
569
  return L(e, t, (n) => {
571
570
  if (n.type !== "grid-cell" || n.children.length === 0) return n;
572
571
  const r = Ke({ rows: 1, columns: 1, border: "none" });
@@ -599,7 +598,7 @@ function st(e, t) {
599
598
  }))
600
599
  }, node: n };
601
600
  }
602
- function Wn(e, t, n) {
601
+ function zn(e, t, n) {
603
602
  var u, m;
604
603
  const r = ie(e), i = r.get(t), o = r.get(n);
605
604
  if (!i || !o || o.node.type !== "grid-cell" && o.node.type !== "table-cell-template" || i.node.type === "page" || i.node.type === "grid-row" || i.node.type === "grid-cell" || i.node.type === "table-cell-template" || ((u = i.parent) == null ? void 0 : u.id) === n) return e;
@@ -611,8 +610,8 @@ function Wn(e, t, n) {
611
610
  const { schema: l, node: c } = st(e, t);
612
611
  return c ? Zt(l, n, c) : e;
613
612
  }
614
- const Un = "application/x-ticket-node-move";
615
- function jn(e, t, n, r) {
613
+ const Wn = "application/x-ticket-node-move";
614
+ function Un(e, t, n, r) {
616
615
  var b;
617
616
  const i = ie(e), o = i.get(t), a = i.get(n);
618
617
  if (!o || !a || a.node.type !== "grid-cell" && a.node.type !== "table-cell-template" || o.node.type === "page" || o.node.type === "grid-row" || o.node.type === "grid-cell" || o.node.type === "table-cell-template") return e;
@@ -632,7 +631,7 @@ function jn(e, t, n, r) {
632
631
  return { ...f, children: [...f.children.slice(0, h), w, ...f.children.slice(h)] };
633
632
  });
634
633
  }
635
- function Kn(e, t, n) {
634
+ function jn(e, t, n) {
636
635
  var c;
637
636
  const i = (c = ie(e).get(t)) == null ? void 0 : c.parent;
638
637
  if (!i) return e;
@@ -655,7 +654,7 @@ function Kn(e, t, n) {
655
654
  });
656
655
  return a ? l : e;
657
656
  }
658
- function qn(e, t) {
657
+ function Kn(e, t) {
659
658
  var c, u;
660
659
  const n = ie(e), r = t ? (u = (c = n.get(t)) == null ? void 0 : c.parent) == null ? void 0 : u.id : void 0, i = (m) => {
661
660
  var v, w;
@@ -687,7 +686,7 @@ function qn(e, t) {
687
686
  };
688
687
  return e.pages.forEach((m) => l(m.children, "")), a;
689
688
  }
690
- function Yn(e, t) {
689
+ function qn(e, t) {
691
690
  return e.pages[0] ? {
692
691
  ...e,
693
692
  pages: e.pages.map(
@@ -695,10 +694,10 @@ function Yn(e, t) {
695
694
  )
696
695
  } : e;
697
696
  }
698
- function Jn(e, t, n) {
697
+ function Yn(e, t, n) {
699
698
  return Xt(e, t, n);
700
699
  }
701
- function Xn(e, t, n) {
700
+ function Jn(e, t, n) {
702
701
  const r = (i) => {
703
702
  if (i.type === "grid") {
704
703
  const o = i.rows.findIndex((a) => a.id === t);
@@ -727,7 +726,7 @@ function Xn(e, t, n) {
727
726
  pages: e.pages.map((i) => ({ ...i, children: i.children.map(r) }))
728
727
  };
729
728
  }
730
- function Zn(e, t) {
729
+ function Xn(e, t) {
731
730
  const n = (r) => r.type === "grid" ? {
732
731
  ...r,
733
732
  rows: r.rows.filter((i) => i.id !== t).map((i) => ({
@@ -772,7 +771,7 @@ function Ve(e, t) {
772
771
  }))
773
772
  } : e;
774
773
  }
775
- function Qn(e, t) {
774
+ function Zn(e, t) {
776
775
  return {
777
776
  ...e,
778
777
  pages: e.pages.filter((n) => n.id !== t).map((n) => ({
@@ -781,7 +780,7 @@ function Qn(e, t) {
781
780
  }))
782
781
  };
783
782
  }
784
- function ei(e, t, n) {
783
+ function Qn(e, t, n) {
785
784
  return {
786
785
  ...e,
787
786
  pages: e.pages.map((r) => ({
@@ -798,7 +797,7 @@ function ei(e, t, n) {
798
797
  }))
799
798
  };
800
799
  }
801
- function ti(e, t, n) {
800
+ function ei(e, t, n) {
802
801
  const r = Math.max(1, Math.floor(n));
803
802
  return L(e, t, (i) => {
804
803
  if (i.type !== "grid-row") return i;
@@ -831,7 +830,7 @@ function ct(e, t) {
831
830
  }
832
831
  return { ...e, cells: n };
833
832
  }
834
- function ri(e, t, n, r) {
833
+ function ti(e, t, n, r) {
835
834
  const i = Math.max(1, Math.floor(n)), o = Math.max(1, Math.floor(r));
836
835
  return L(e, t, (a) => {
837
836
  var m, g;
@@ -859,7 +858,7 @@ function er(e) {
859
858
  }
860
859
  return n;
861
860
  }
862
- function ni(e, t, n, r) {
861
+ function ri(e, t, n, r) {
863
862
  return L(e, t, (i) => {
864
863
  if (i.type !== "grid") return i;
865
864
  const a = (i.columns ?? er(i)).slice();
@@ -897,10 +896,10 @@ function tr(e, t, n, r) {
897
896
  return c.rows[0].cells[0].children = a.children, { ...a, children: [c] };
898
897
  });
899
898
  }
900
- function ii(e, t, n) {
899
+ function ni(e, t, n) {
901
900
  return tr(e, t, n, 1);
902
901
  }
903
- function oi(e = ke(), t = "all") {
902
+ function ii(e = ke(), t = "all") {
904
903
  return "type" in e ? {
905
904
  id: V("grid"),
906
905
  type: "grid",
@@ -924,13 +923,13 @@ function Ke(e = {}) {
924
923
  })
925
924
  };
926
925
  }
927
- function ai(e = "固定文本") {
926
+ function oi(e = "固定文本") {
928
927
  return { id: V("text"), type: "text", text: e };
929
928
  }
930
- function li(e = "字段") {
929
+ function ai(e = "字段") {
931
930
  return { id: V("p-field"), type: "p", mode: "field", field: e, underline: !0 };
932
931
  }
933
- function si() {
932
+ function li() {
934
933
  const e = V("table"), t = [
935
934
  { key: "col1", title: "列 1", width: "1fr" },
936
935
  { key: "col2", title: "列 2", width: "1fr" }
@@ -957,14 +956,14 @@ function si() {
957
956
  border: "all"
958
957
  };
959
958
  }
960
- function ci(e = "") {
959
+ function si(e = "") {
961
960
  return {
962
961
  id: V("html"),
963
962
  type: "html",
964
963
  html: e
965
964
  };
966
965
  }
967
- function ui() {
966
+ function ci() {
968
967
  return {
969
968
  id: V("image"),
970
969
  type: "image",
@@ -1092,12 +1091,12 @@ function ut(e) {
1092
1091
  })
1093
1092
  };
1094
1093
  }
1095
- function di(e, t = !1) {
1094
+ function ui(e, t = !1) {
1096
1095
  const r = Ue(e).filter((i) => i.level === "error");
1097
1096
  if (r.length) throw new ee("Cannot serialize invalid Schema V2", r);
1098
1097
  return JSON.stringify(e, null, t ? 2 : 0);
1099
1098
  }
1100
- function fi(e) {
1099
+ function di(e) {
1101
1100
  let t = e;
1102
1101
  if (typeof e == "string")
1103
1102
  try {
@@ -1109,7 +1108,7 @@ function fi(e) {
1109
1108
  if (i.length) throw new ee("Schema V2 validation failed", i);
1110
1109
  return n;
1111
1110
  }
1112
- function mi(e) {
1111
+ function fi(e) {
1113
1112
  let t = e;
1114
1113
  if (typeof e == "string")
1115
1114
  try {
@@ -1340,7 +1339,7 @@ function we(e, t) {
1340
1339
  }
1341
1340
  return Math.max(n, r);
1342
1341
  }
1343
- function hi(e, t) {
1342
+ function mi(e, t) {
1344
1343
  const n = [], r = (i, o) => {
1345
1344
  if (i.type === "p" && i.mode === "field") {
1346
1345
  o ? n.push({
@@ -1760,7 +1759,7 @@ function Pr() {
1760
1759
  $e.delete(e), $e.size === 0 && K && (K.remove(), K = null);
1761
1760
  };
1762
1761
  }
1763
- function gi() {
1762
+ function hi() {
1764
1763
  return (K == null ? void 0 : K.textContent) ?? "";
1765
1764
  }
1766
1765
  const Vr = 96 / 25.4;
@@ -2174,7 +2173,7 @@ const zr = ["data-node-id"], Wr = { class: "grid-form-band__zone" }, Ur = { clas
2174
2173
  }), 128))
2175
2174
  ], 2));
2176
2175
  }
2177
- }), rt = /* @__PURE__ */ Ie(Jr, [["__scopeId", "data-v-f826627e"]]), pi = "data-node-id", yi = "data-layout-id", wi = "application/x-ticket-node-kind", Xr = {
2176
+ }), rt = /* @__PURE__ */ Ie(Jr, [["__scopeId", "data-v-f826627e"]]), gi = "data-node-id", pi = "data-layout-id", yi = "application/x-ticket-node-kind", Xr = {
2178
2177
  class: "paper-viewport__bar",
2179
2178
  role: "toolbar",
2180
2179
  "aria-label": "缩放控制"
@@ -2372,14 +2371,14 @@ const zr = ["data-node-id"], Wr = { class: "grid-form-band__zone" }, Ur = { clas
2372
2371
  "zh-CN": rn,
2373
2372
  en: nn
2374
2373
  }, yt = J(Ge);
2375
- function bi(e) {
2374
+ function wi(e) {
2376
2375
  on.includes(e) && (yt.value = e);
2377
2376
  }
2378
2377
  function an(e, t, n) {
2379
2378
  let i = (De[e] ?? De[Ge])[t];
2380
2379
  return i == null && (i = De[Ge][t] ?? t), i;
2381
2380
  }
2382
- function vi(e, t, n) {
2381
+ function bi(e, t, n) {
2383
2382
  return an(n ?? yt.value, e);
2384
2383
  }
2385
2384
  const ln = ".grid-form-paper", sn = ".grid-form-canvas", wt = ".layout-html", He = "data-v2-print-scope";
@@ -2446,7 +2445,7 @@ function fn(e = {}) {
2446
2445
  }
2447
2446
  return !0;
2448
2447
  }
2449
- function Ei(e, t = {}) {
2448
+ function vi(e, t = {}) {
2450
2449
  const { baseData: n, maskHidden: r } = t, i = {}, a = [
2451
2450
  ...e instanceof Element && e.matches("[data-field]") ? [e] : [],
2452
2451
  ...e.querySelectorAll("[data-field]")
@@ -2511,7 +2510,7 @@ function Ei(e, t = {}) {
2511
2510
  }
2512
2511
  return i;
2513
2512
  }
2514
- const nt = "preview", Ti = /* @__PURE__ */ Te({
2513
+ const nt = "preview", Ei = /* @__PURE__ */ Te({
2515
2514
  __name: "FormRenderer",
2516
2515
  props: {
2517
2516
  schema: {},
@@ -2593,71 +2592,71 @@ const nt = "preview", Ti = /* @__PURE__ */ Te({
2593
2592
  export {
2594
2593
  sn as $,
2595
2594
  Zt as A,
2596
- jn as B,
2597
- Bn as C,
2595
+ Un as B,
2596
+ Gn as C,
2598
2597
  It as D,
2599
- Gn as E,
2598
+ On as E,
2600
2599
  jt as F,
2601
2600
  rt as G,
2602
- Qn as H,
2603
- ai as I,
2604
- li as J,
2605
- si as K,
2606
- yi as L,
2607
- ci as M,
2608
- pi as N,
2609
- ui as O,
2610
- wi as P,
2611
- bi as Q,
2601
+ Zn as H,
2602
+ oi as I,
2603
+ ai as J,
2604
+ li as K,
2605
+ pi as L,
2606
+ si as M,
2607
+ gi as N,
2608
+ ci as O,
2609
+ yi as P,
2610
+ wi as Q,
2612
2611
  Ue as R,
2613
2612
  Br as S,
2614
2613
  tn as T,
2615
2614
  fn as U,
2616
2615
  Ge as V,
2617
- Ti as W,
2616
+ Ei as W,
2618
2617
  Lr as X,
2619
2618
  Ct as Y,
2620
2619
  ln as Z,
2621
2620
  Ie as _,
2622
- Un as a,
2621
+ Wn as a,
2623
2622
  ee as a0,
2624
- Jn as a1,
2625
- Sn as a2,
2623
+ Yn as a1,
2624
+ Tn as a2,
2626
2625
  ht as a3,
2627
2626
  mt as a4,
2628
2627
  Ze as a5,
2629
- hi as a6,
2630
- Xn as a7,
2628
+ mi as a6,
2629
+ Jn as a7,
2631
2630
  Ke as a8,
2632
2631
  ke as a9,
2633
- ii as aA,
2634
- ti as aB,
2632
+ ni as aA,
2633
+ ei as aB,
2635
2634
  Oe as aC,
2636
- Fn as aD,
2637
- Nn as aE,
2638
- kn as aF,
2639
- Rn as aG,
2640
- xn as aH,
2641
- zn as aI,
2635
+ Nn as aD,
2636
+ Rn as aE,
2637
+ Fn as aF,
2638
+ xn as aG,
2639
+ An as aH,
2640
+ Bn as aI,
2642
2641
  V as aa,
2643
- gi as ab,
2642
+ hi as ab,
2644
2643
  br as ac,
2645
- Tn as ad,
2646
- vn as ae,
2644
+ En as ad,
2645
+ bn as ae,
2647
2646
  it as af,
2648
- En as ag,
2647
+ vn as ag,
2649
2648
  _e as ah,
2650
2649
  Ne as ai,
2651
2650
  Xt as aj,
2652
- qn as ak,
2653
- ei as al,
2654
- Wn as am,
2655
- Kn as an,
2651
+ Kn as ak,
2652
+ Qn as al,
2653
+ zn as am,
2654
+ jn as an,
2656
2655
  ut as ao,
2657
2656
  pt as ap,
2658
- mi as aq,
2657
+ fi as aq,
2659
2658
  Pr as ar,
2660
- Zn as as,
2659
+ Xn as as,
2661
2660
  tr as at,
2662
2661
  ct as au,
2663
2662
  Re as av,
@@ -2666,28 +2665,28 @@ export {
2666
2665
  we as ay,
2667
2666
  Hr as az,
2668
2667
  ie as b,
2669
- Ei as c,
2668
+ vi as c,
2670
2669
  mr as d,
2671
- On as e,
2672
- oi as f,
2673
- Yn as g,
2674
- Vn as h,
2675
- bn as i,
2676
- Cn as j,
2677
- In as k,
2678
- ni as l,
2679
- Pn as m,
2680
- Hn as n,
2681
- Dn as o,
2682
- fi as p,
2683
- $n as q,
2670
+ _n as e,
2671
+ ii as f,
2672
+ qn as g,
2673
+ Pn as h,
2674
+ wn as i,
2675
+ In as j,
2676
+ kn as k,
2677
+ ri as l,
2678
+ Hn as m,
2679
+ Dn as n,
2680
+ $n as o,
2681
+ di as p,
2682
+ Ln as q,
2684
2683
  yr as r,
2685
- di as s,
2686
- vi as t,
2687
- _n as u,
2688
- Ln as v,
2689
- ri as w,
2690
- An as x,
2691
- Mn as y,
2684
+ ui as s,
2685
+ bi as t,
2686
+ Vn as u,
2687
+ Cn as v,
2688
+ ti as w,
2689
+ Mn as x,
2690
+ Sn as y,
2692
2691
  L as z
2693
2692
  };
package/dist/designer.js CHANGED
@@ -1,16 +1,17 @@
1
- import { F as s, a as o, J as i, S as n, b as r, c as l, d as m, e as F, f as c, n as g, r as D, s as I, g as t } from "./chunks/designer-ui.js";
1
+ import { F as o, a as i, J as r, S as n, b as l, c as m, d as F, e as c, f as g, n as t, r as D, s as I, g as E } from "./chunks/designer-ui.js";
2
+ import "./chunks/renderer-core.js";
2
3
  export {
3
- s as FILL_DATA_EXPORT_PREFIX,
4
- o as FormDesigner,
5
- i as JSON_INDENT,
4
+ o as FILL_DATA_EXPORT_PREFIX,
5
+ i as FormDesigner,
6
+ r as JSON_INDENT,
6
7
  n as SCHEMA_EXPORT_PREFIX,
7
- r as buildBlankSchema,
8
- l as collectFormData,
9
- m as defaultDesignerUIConfig,
10
- F as downloadJsonFile,
11
- c as exportFileName,
12
- g as normalizeIncomingSchema,
8
+ l as buildBlankSchema,
9
+ m as collectFormData,
10
+ F as defaultDesignerUIConfig,
11
+ c as downloadJsonFile,
12
+ g as exportFileName,
13
+ t as normalizeIncomingSchema,
13
14
  D as resolveDesignerUIConfig,
14
15
  I as serializeFormDataJson,
15
- t as serializeSchemaJson
16
+ E as serializeSchemaJson
16
17
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cluadwong/form-designer",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },