@fctc/sme-widget-ui 2.0.3 → 2.0.5
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.js +5 -4
- package/dist/index.mjs +5 -4
- package/dist/widgets.js +5 -4
- package/dist/widgets.mjs +5 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -17347,7 +17347,7 @@ var CharField = (props) => {
|
|
|
17347
17347
|
required: !invisible && required,
|
|
17348
17348
|
className: `w-full h-full ring-0 focus:ring-0 focus:!outline-none outline-0 px-3 py-[12px] text-sm font-normal gap-2 opacity-100 leading-[1.5] resize-none overflow-hidden
|
|
17349
17349
|
${readonly ? "cursor-not-allowed border border-[rgba(66,66,66,0.12)] text-[#5c5a5a]" : "cursor-pointer border border-[rgba(66,66,66,0.12)] text-[#525866]"}
|
|
17350
|
-
${!isEditTable ? isForm ? "bg-white border-input-primary rounded-[10px]" : "" : `border-transparent bg-transparent ${readonly ? "" : "border-b-primary w-fit max-w-[200px]"}`}
|
|
17350
|
+
${!isEditTable ? isForm ? "bg-white border-input-primary rounded-[10px]" : "" : `border-transparent bg-transparent ${readonly ? "" : "border-b-primary !w-fit max-w-[200px]"}`}
|
|
17351
17351
|
${error2 && isEditTable && "focus:border-b-[1px] focus:border-[#de4747] hover:border-b-[1px] hover:border-[#de4747]"}
|
|
17352
17352
|
`
|
|
17353
17353
|
}
|
|
@@ -33110,10 +33110,11 @@ var ToggleButtonField = (props) => {
|
|
|
33110
33110
|
{
|
|
33111
33111
|
style: {
|
|
33112
33112
|
position: "absolute",
|
|
33113
|
-
inset: 0
|
|
33113
|
+
inset: 0,
|
|
33114
|
+
backgroundColor: field.value ? "var(--color-primary)" : "#D1D5D8"
|
|
33114
33115
|
},
|
|
33115
33116
|
className: `rounded-full transition duration-300
|
|
33116
|
-
|
|
33117
|
+
`,
|
|
33117
33118
|
children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
|
|
33118
33119
|
"span",
|
|
33119
33120
|
{
|
|
@@ -33763,7 +33764,7 @@ var Many2OneField = (props) => {
|
|
|
33763
33764
|
menuPortalTarget: typeof window !== "undefined" ? document.body : null,
|
|
33764
33765
|
styles: {
|
|
33765
33766
|
control: () => ({
|
|
33766
|
-
maxWidth:
|
|
33767
|
+
maxWidth: "100%",
|
|
33767
33768
|
minWidth: isEditTable ? "max-content" : "100%"
|
|
33768
33769
|
}),
|
|
33769
33770
|
container: (base) => ({
|
package/dist/index.mjs
CHANGED
|
@@ -17222,7 +17222,7 @@ var CharField = (props) => {
|
|
|
17222
17222
|
required: !invisible && required,
|
|
17223
17223
|
className: `w-full h-full ring-0 focus:ring-0 focus:!outline-none outline-0 px-3 py-[12px] text-sm font-normal gap-2 opacity-100 leading-[1.5] resize-none overflow-hidden
|
|
17224
17224
|
${readonly ? "cursor-not-allowed border border-[rgba(66,66,66,0.12)] text-[#5c5a5a]" : "cursor-pointer border border-[rgba(66,66,66,0.12)] text-[#525866]"}
|
|
17225
|
-
${!isEditTable ? isForm ? "bg-white border-input-primary rounded-[10px]" : "" : `border-transparent bg-transparent ${readonly ? "" : "border-b-primary w-fit max-w-[200px]"}`}
|
|
17225
|
+
${!isEditTable ? isForm ? "bg-white border-input-primary rounded-[10px]" : "" : `border-transparent bg-transparent ${readonly ? "" : "border-b-primary !w-fit max-w-[200px]"}`}
|
|
17226
17226
|
${error2 && isEditTable && "focus:border-b-[1px] focus:border-[#de4747] hover:border-b-[1px] hover:border-[#de4747]"}
|
|
17227
17227
|
`
|
|
17228
17228
|
}
|
|
@@ -32985,10 +32985,11 @@ var ToggleButtonField = (props) => {
|
|
|
32985
32985
|
{
|
|
32986
32986
|
style: {
|
|
32987
32987
|
position: "absolute",
|
|
32988
|
-
inset: 0
|
|
32988
|
+
inset: 0,
|
|
32989
|
+
backgroundColor: field.value ? "var(--color-primary)" : "#D1D5D8"
|
|
32989
32990
|
},
|
|
32990
32991
|
className: `rounded-full transition duration-300
|
|
32991
|
-
|
|
32992
|
+
`,
|
|
32992
32993
|
children: /* @__PURE__ */ jsx105(
|
|
32993
32994
|
"span",
|
|
32994
32995
|
{
|
|
@@ -33638,7 +33639,7 @@ var Many2OneField = (props) => {
|
|
|
33638
33639
|
menuPortalTarget: typeof window !== "undefined" ? document.body : null,
|
|
33639
33640
|
styles: {
|
|
33640
33641
|
control: () => ({
|
|
33641
|
-
maxWidth:
|
|
33642
|
+
maxWidth: "100%",
|
|
33642
33643
|
minWidth: isEditTable ? "max-content" : "100%"
|
|
33643
33644
|
}),
|
|
33644
33645
|
container: (base) => ({
|
package/dist/widgets.js
CHANGED
|
@@ -16600,7 +16600,7 @@ var CharField = (props) => {
|
|
|
16600
16600
|
required: !invisible && required,
|
|
16601
16601
|
className: `w-full h-full ring-0 focus:ring-0 focus:!outline-none outline-0 px-3 py-[12px] text-sm font-normal gap-2 opacity-100 leading-[1.5] resize-none overflow-hidden
|
|
16602
16602
|
${readonly ? "cursor-not-allowed border border-[rgba(66,66,66,0.12)] text-[#5c5a5a]" : "cursor-pointer border border-[rgba(66,66,66,0.12)] text-[#525866]"}
|
|
16603
|
-
${!isEditTable ? isForm ? "bg-white border-input-primary rounded-[10px]" : "" : `border-transparent bg-transparent ${readonly ? "" : "border-b-primary w-fit max-w-[200px]"}`}
|
|
16603
|
+
${!isEditTable ? isForm ? "bg-white border-input-primary rounded-[10px]" : "" : `border-transparent bg-transparent ${readonly ? "" : "border-b-primary !w-fit max-w-[200px]"}`}
|
|
16604
16604
|
${error2 && isEditTable && "focus:border-b-[1px] focus:border-[#de4747] hover:border-b-[1px] hover:border-[#de4747]"}
|
|
16605
16605
|
`
|
|
16606
16606
|
}
|
|
@@ -32363,10 +32363,11 @@ var ToggleButtonField = (props) => {
|
|
|
32363
32363
|
{
|
|
32364
32364
|
style: {
|
|
32365
32365
|
position: "absolute",
|
|
32366
|
-
inset: 0
|
|
32366
|
+
inset: 0,
|
|
32367
|
+
backgroundColor: field.value ? "var(--color-primary)" : "#D1D5D8"
|
|
32367
32368
|
},
|
|
32368
32369
|
className: `rounded-full transition duration-300
|
|
32369
|
-
|
|
32370
|
+
`,
|
|
32370
32371
|
children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
|
|
32371
32372
|
"span",
|
|
32372
32373
|
{
|
|
@@ -33016,7 +33017,7 @@ var Many2OneField = (props) => {
|
|
|
33016
33017
|
menuPortalTarget: typeof window !== "undefined" ? document.body : null,
|
|
33017
33018
|
styles: {
|
|
33018
33019
|
control: () => ({
|
|
33019
|
-
maxWidth:
|
|
33020
|
+
maxWidth: "100%",
|
|
33020
33021
|
minWidth: isEditTable ? "max-content" : "100%"
|
|
33021
33022
|
}),
|
|
33022
33023
|
container: (base) => ({
|
package/dist/widgets.mjs
CHANGED
|
@@ -16538,7 +16538,7 @@ var CharField = (props) => {
|
|
|
16538
16538
|
required: !invisible && required,
|
|
16539
16539
|
className: `w-full h-full ring-0 focus:ring-0 focus:!outline-none outline-0 px-3 py-[12px] text-sm font-normal gap-2 opacity-100 leading-[1.5] resize-none overflow-hidden
|
|
16540
16540
|
${readonly ? "cursor-not-allowed border border-[rgba(66,66,66,0.12)] text-[#5c5a5a]" : "cursor-pointer border border-[rgba(66,66,66,0.12)] text-[#525866]"}
|
|
16541
|
-
${!isEditTable ? isForm ? "bg-white border-input-primary rounded-[10px]" : "" : `border-transparent bg-transparent ${readonly ? "" : "border-b-primary w-fit max-w-[200px]"}`}
|
|
16541
|
+
${!isEditTable ? isForm ? "bg-white border-input-primary rounded-[10px]" : "" : `border-transparent bg-transparent ${readonly ? "" : "border-b-primary !w-fit max-w-[200px]"}`}
|
|
16542
16542
|
${error2 && isEditTable && "focus:border-b-[1px] focus:border-[#de4747] hover:border-b-[1px] hover:border-[#de4747]"}
|
|
16543
16543
|
`
|
|
16544
16544
|
}
|
|
@@ -32301,10 +32301,11 @@ var ToggleButtonField = (props) => {
|
|
|
32301
32301
|
{
|
|
32302
32302
|
style: {
|
|
32303
32303
|
position: "absolute",
|
|
32304
|
-
inset: 0
|
|
32304
|
+
inset: 0,
|
|
32305
|
+
backgroundColor: field.value ? "var(--color-primary)" : "#D1D5D8"
|
|
32305
32306
|
},
|
|
32306
32307
|
className: `rounded-full transition duration-300
|
|
32307
|
-
|
|
32308
|
+
`,
|
|
32308
32309
|
children: /* @__PURE__ */ jsx105(
|
|
32309
32310
|
"span",
|
|
32310
32311
|
{
|
|
@@ -32954,7 +32955,7 @@ var Many2OneField = (props) => {
|
|
|
32954
32955
|
menuPortalTarget: typeof window !== "undefined" ? document.body : null,
|
|
32955
32956
|
styles: {
|
|
32956
32957
|
control: () => ({
|
|
32957
|
-
maxWidth:
|
|
32958
|
+
maxWidth: "100%",
|
|
32958
32959
|
minWidth: isEditTable ? "max-content" : "100%"
|
|
32959
32960
|
}),
|
|
32960
32961
|
container: (base) => ({
|