@schema-forms-data/builder 0.3.14 → 0.3.16
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.
Potentially problematic release.
This version of @schema-forms-data/builder might be problematic. Click here for more details.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +42 -12
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -13485,7 +13485,8 @@ const pg = ({ value: e, onChange: t }) => {
|
|
|
13485
13485
|
{
|
|
13486
13486
|
onMouseDown: k,
|
|
13487
13487
|
onClick: (O) => O.stopPropagation(),
|
|
13488
|
-
className: "
|
|
13488
|
+
className: "shrink-0 p-0.5 rounded hover:bg-primary/20 transition-colors",
|
|
13489
|
+
style: { cursor: "ew-resize" },
|
|
13489
13490
|
title: "Arrastar para mudar coluna",
|
|
13490
13491
|
children: /* @__PURE__ */ a(Xc, { className: "h-3 w-3 text-primary/60" })
|
|
13491
13492
|
}
|
|
@@ -13495,7 +13496,8 @@ const pg = ({ value: e, onChange: t }) => {
|
|
|
13495
13496
|
{
|
|
13496
13497
|
...o,
|
|
13497
13498
|
...r,
|
|
13498
|
-
className: "
|
|
13499
|
+
className: "shrink-0",
|
|
13500
|
+
style: { cursor: "grab" },
|
|
13499
13501
|
onClick: (O) => O.stopPropagation(),
|
|
13500
13502
|
children: /* @__PURE__ */ a(bt, { className: "h-3 w-3 text-muted-foreground" })
|
|
13501
13503
|
}
|
|
@@ -13518,13 +13520,21 @@ const pg = ({ value: e, onChange: t }) => {
|
|
|
13518
13520
|
children: /* @__PURE__ */ a(xt, { className: "h-3 w-3 text-destructive" })
|
|
13519
13521
|
}
|
|
13520
13522
|
),
|
|
13521
|
-
/* @__PURE__ */ a(
|
|
13523
|
+
/* @__PURE__ */ a(
|
|
13524
|
+
"div",
|
|
13525
|
+
{
|
|
13526
|
+
className: "absolute -bottom-0.5 left-2 font-mono truncate max-w-[90%] pointer-events-none text-muted-foreground",
|
|
13527
|
+
style: { fontSize: "8px", opacity: 0.3 },
|
|
13528
|
+
children: e
|
|
13529
|
+
}
|
|
13530
|
+
),
|
|
13522
13531
|
/* @__PURE__ */ a(
|
|
13523
13532
|
"div",
|
|
13524
13533
|
{
|
|
13525
13534
|
"data-resize": !0,
|
|
13526
13535
|
onMouseDown: w,
|
|
13527
|
-
className: "absolute right-0 top-0 bottom-0 w-2
|
|
13536
|
+
className: "absolute right-0 top-0 bottom-0 w-2 hover:bg-primary/20 transition-colors flex items-center justify-center",
|
|
13537
|
+
style: { cursor: "col-resize" },
|
|
13528
13538
|
children: /* @__PURE__ */ a(Da, { className: "h-3 w-3 text-primary/40 rotate-90" })
|
|
13529
13539
|
}
|
|
13530
13540
|
)
|
|
@@ -13587,7 +13597,8 @@ const pg = ({ value: e, onChange: t }) => {
|
|
|
13587
13597
|
{
|
|
13588
13598
|
...o,
|
|
13589
13599
|
...r,
|
|
13590
|
-
className: "
|
|
13600
|
+
className: "shrink-0 p-1 -ml-1 rounded hover:bg-amber-500/20 transition-colors",
|
|
13601
|
+
style: { cursor: "grab" },
|
|
13591
13602
|
onClick: (R) => R.stopPropagation(),
|
|
13592
13603
|
children: /* @__PURE__ */ a(bt, { className: "h-3.5 w-3.5 text-amber-500" })
|
|
13593
13604
|
}
|
|
@@ -13638,7 +13649,14 @@ const pg = ({ value: e, onChange: t }) => {
|
|
|
13638
13649
|
]
|
|
13639
13650
|
}
|
|
13640
13651
|
),
|
|
13641
|
-
/* @__PURE__ */ a("div", { className: "px-2 -mt-0.5 mb-0.5", children: /* @__PURE__ */ a(
|
|
13652
|
+
/* @__PURE__ */ a("div", { className: "px-2 -mt-0.5 mb-0.5", children: /* @__PURE__ */ a(
|
|
13653
|
+
"span",
|
|
13654
|
+
{
|
|
13655
|
+
className: "text-muted-foreground font-mono",
|
|
13656
|
+
style: { fontSize: "8px", opacity: 0.3 },
|
|
13657
|
+
children: e
|
|
13658
|
+
}
|
|
13659
|
+
) }),
|
|
13642
13660
|
/* @__PURE__ */ g(
|
|
13643
13661
|
"div",
|
|
13644
13662
|
{
|
|
@@ -13890,7 +13908,8 @@ const pg = ({ value: e, onChange: t }) => {
|
|
|
13890
13908
|
{
|
|
13891
13909
|
"data-grip": !0,
|
|
13892
13910
|
onMouseDown: V,
|
|
13893
|
-
className: "
|
|
13911
|
+
className: "shrink-0 p-1 -ml-1 rounded hover:bg-primary/20 transition-colors",
|
|
13912
|
+
style: { cursor: "grab" },
|
|
13894
13913
|
children: /* @__PURE__ */ a(bt, { className: "h-3.5 w-3.5 text-primary" })
|
|
13895
13914
|
}
|
|
13896
13915
|
),
|
|
@@ -13948,7 +13967,14 @@ const pg = ({ value: e, onChange: t }) => {
|
|
|
13948
13967
|
]
|
|
13949
13968
|
}
|
|
13950
13969
|
),
|
|
13951
|
-
/* @__PURE__ */ a("div", { className: "px-2 -mt-0.5 mb-0.5", children: /* @__PURE__ */ a(
|
|
13970
|
+
/* @__PURE__ */ a("div", { className: "px-2 -mt-0.5 mb-0.5", children: /* @__PURE__ */ a(
|
|
13971
|
+
"span",
|
|
13972
|
+
{
|
|
13973
|
+
className: "text-muted-foreground font-mono",
|
|
13974
|
+
style: { fontSize: "8px", opacity: 0.3 },
|
|
13975
|
+
children: e
|
|
13976
|
+
}
|
|
13977
|
+
) }),
|
|
13952
13978
|
/* @__PURE__ */ g(
|
|
13953
13979
|
"div",
|
|
13954
13980
|
{
|
|
@@ -13993,7 +14019,8 @@ const pg = ({ value: e, onChange: t }) => {
|
|
|
13993
14019
|
"div",
|
|
13994
14020
|
{
|
|
13995
14021
|
onMouseDown: F,
|
|
13996
|
-
className: "absolute right-0 top-0 bottom-0 w-2
|
|
14022
|
+
className: "absolute right-0 top-0 bottom-0 w-2 hover:bg-blue-500/20 transition-colors flex items-center justify-center",
|
|
14023
|
+
style: { cursor: "col-resize" },
|
|
13997
14024
|
children: /* @__PURE__ */ a(Da, { className: "h-3 w-3 text-blue-500/40 rotate-90" })
|
|
13998
14025
|
}
|
|
13999
14026
|
)
|
|
@@ -14069,7 +14096,8 @@ const pg = ({ value: e, onChange: t }) => {
|
|
|
14069
14096
|
{
|
|
14070
14097
|
...n,
|
|
14071
14098
|
...o,
|
|
14072
|
-
className: "
|
|
14099
|
+
className: "shrink-0",
|
|
14100
|
+
style: { cursor: "grab" },
|
|
14073
14101
|
onClick: (E) => E.stopPropagation(),
|
|
14074
14102
|
children: /* @__PURE__ */ a(bt, { className: "h-3.5 w-3.5 text-muted-foreground" })
|
|
14075
14103
|
}
|
|
@@ -14267,8 +14295,9 @@ const pg = ({ value: e, onChange: t }) => {
|
|
|
14267
14295
|
ref: i,
|
|
14268
14296
|
...s,
|
|
14269
14297
|
...n,
|
|
14270
|
-
className: `flex items-center gap-2 rounded-lg border px-3 py-2
|
|
14298
|
+
className: `flex items-center gap-2 rounded-lg border px-3 py-2 select-none hover:bg-accent transition-colors ${o} ${c ? "opacity-50" : ""}`,
|
|
14271
14299
|
style: {
|
|
14300
|
+
cursor: "grab",
|
|
14272
14301
|
transform: c ? void 0 : qt.Translate.toString(l)
|
|
14273
14302
|
},
|
|
14274
14303
|
children: [
|
|
@@ -14291,8 +14320,9 @@ const pg = ({ value: e, onChange: t }) => {
|
|
|
14291
14320
|
ref: o,
|
|
14292
14321
|
...r,
|
|
14293
14322
|
...t,
|
|
14294
|
-
className: `flex items-center gap-2 rounded-lg border border-primary/30 bg-primary/5 px-3 py-2
|
|
14323
|
+
className: `flex items-center gap-2 rounded-lg border border-primary/30 bg-primary/5 px-3 py-2 select-none hover:bg-primary/10 transition-colors ${s ? "opacity-50" : ""}`,
|
|
14295
14324
|
style: {
|
|
14325
|
+
cursor: "grab",
|
|
14296
14326
|
transform: s ? void 0 : qt.Translate.toString(n)
|
|
14297
14327
|
},
|
|
14298
14328
|
title: e.description,
|