@schema-forms-data/builder 0.3.14 → 0.3.15
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/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +28 -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,7 @@ 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("span", { className: "text-
|
|
13652
|
+
/* @__PURE__ */ a("div", { className: "px-2 -mt-0.5 mb-0.5", children: /* @__PURE__ */ a("span", { className: "text-muted-foreground font-mono", style: { fontSize: "8px", opacity: 0.3 }, children: e }) }),
|
|
13642
13653
|
/* @__PURE__ */ g(
|
|
13643
13654
|
"div",
|
|
13644
13655
|
{
|
|
@@ -13890,7 +13901,8 @@ const pg = ({ value: e, onChange: t }) => {
|
|
|
13890
13901
|
{
|
|
13891
13902
|
"data-grip": !0,
|
|
13892
13903
|
onMouseDown: V,
|
|
13893
|
-
className: "
|
|
13904
|
+
className: "shrink-0 p-1 -ml-1 rounded hover:bg-primary/20 transition-colors",
|
|
13905
|
+
style: { cursor: "grab" },
|
|
13894
13906
|
children: /* @__PURE__ */ a(bt, { className: "h-3.5 w-3.5 text-primary" })
|
|
13895
13907
|
}
|
|
13896
13908
|
),
|
|
@@ -13948,7 +13960,7 @@ const pg = ({ value: e, onChange: t }) => {
|
|
|
13948
13960
|
]
|
|
13949
13961
|
}
|
|
13950
13962
|
),
|
|
13951
|
-
/* @__PURE__ */ a("div", { className: "px-2 -mt-0.5 mb-0.5", children: /* @__PURE__ */ a("span", { className: "text-
|
|
13963
|
+
/* @__PURE__ */ a("div", { className: "px-2 -mt-0.5 mb-0.5", children: /* @__PURE__ */ a("span", { className: "text-muted-foreground font-mono", style: { fontSize: "8px", opacity: 0.3 }, children: e }) }),
|
|
13952
13964
|
/* @__PURE__ */ g(
|
|
13953
13965
|
"div",
|
|
13954
13966
|
{
|
|
@@ -13993,7 +14005,8 @@ const pg = ({ value: e, onChange: t }) => {
|
|
|
13993
14005
|
"div",
|
|
13994
14006
|
{
|
|
13995
14007
|
onMouseDown: F,
|
|
13996
|
-
className: "absolute right-0 top-0 bottom-0 w-2
|
|
14008
|
+
className: "absolute right-0 top-0 bottom-0 w-2 hover:bg-blue-500/20 transition-colors flex items-center justify-center",
|
|
14009
|
+
style: { cursor: "col-resize" },
|
|
13997
14010
|
children: /* @__PURE__ */ a(Da, { className: "h-3 w-3 text-blue-500/40 rotate-90" })
|
|
13998
14011
|
}
|
|
13999
14012
|
)
|
|
@@ -14069,7 +14082,8 @@ const pg = ({ value: e, onChange: t }) => {
|
|
|
14069
14082
|
{
|
|
14070
14083
|
...n,
|
|
14071
14084
|
...o,
|
|
14072
|
-
className: "
|
|
14085
|
+
className: "shrink-0",
|
|
14086
|
+
style: { cursor: "grab" },
|
|
14073
14087
|
onClick: (E) => E.stopPropagation(),
|
|
14074
14088
|
children: /* @__PURE__ */ a(bt, { className: "h-3.5 w-3.5 text-muted-foreground" })
|
|
14075
14089
|
}
|
|
@@ -14267,8 +14281,9 @@ const pg = ({ value: e, onChange: t }) => {
|
|
|
14267
14281
|
ref: i,
|
|
14268
14282
|
...s,
|
|
14269
14283
|
...n,
|
|
14270
|
-
className: `flex items-center gap-2 rounded-lg border px-3 py-2
|
|
14284
|
+
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
14285
|
style: {
|
|
14286
|
+
cursor: "grab",
|
|
14272
14287
|
transform: c ? void 0 : qt.Translate.toString(l)
|
|
14273
14288
|
},
|
|
14274
14289
|
children: [
|
|
@@ -14291,8 +14306,9 @@ const pg = ({ value: e, onChange: t }) => {
|
|
|
14291
14306
|
ref: o,
|
|
14292
14307
|
...r,
|
|
14293
14308
|
...t,
|
|
14294
|
-
className: `flex items-center gap-2 rounded-lg border border-primary/30 bg-primary/5 px-3 py-2
|
|
14309
|
+
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
14310
|
style: {
|
|
14311
|
+
cursor: "grab",
|
|
14296
14312
|
transform: s ? void 0 : qt.Translate.toString(n)
|
|
14297
14313
|
},
|
|
14298
14314
|
title: e.description,
|