@fctc/sme-widget-ui 2.2.6 → 2.2.8
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 +4 -4
- package/dist/index.mjs +4 -4
- package/dist/widgets.js +4 -4
- package/dist/widgets.mjs +4 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -32545,7 +32545,8 @@ var Many2ManyTagField = (props) => {
|
|
|
32545
32545
|
styles: {
|
|
32546
32546
|
control: () => ({
|
|
32547
32547
|
maxWidth: isEditTable ? "max-content" : "100%",
|
|
32548
|
-
minWidth: isEditTable ? "max-content" : "100%"
|
|
32548
|
+
minWidth: isEditTable ? "max-content" : "100%",
|
|
32549
|
+
background: isEditTable ? "transparent" : "initial"
|
|
32549
32550
|
}),
|
|
32550
32551
|
multiValue: (provided, state) => {
|
|
32551
32552
|
const { color, id } = state?.data ?? {};
|
|
@@ -32992,12 +32993,12 @@ var SelectDropdownField = (props) => {
|
|
|
32992
32993
|
required: !invisible && required
|
|
32993
32994
|
};
|
|
32994
32995
|
return /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)(import_jsx_runtime102.Fragment, { children: [
|
|
32995
|
-
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)("div", { className:
|
|
32996
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)("div", { className: `group ${isEditTable ? "h-full" : ""}`, children: /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
|
|
32996
32997
|
StateManagedSelect$1,
|
|
32997
32998
|
{
|
|
32998
32999
|
...commonProps,
|
|
32999
33000
|
classNames: {
|
|
33000
|
-
control: ({ isFocused }) => `w-full flex h-full ring-0 cursor-pointer outline-0 bg-white shadow-none rounded-[10px] py-2 px-3 text-sm text-[#1A1A1B] font-normal cursor-pointer gap-2 opacity-100 leading-5 resize-none overflow-hidden field-sizing-content ${isForm && (isFocused ? "border-[1px] border-primary !ring-0 outline-none" : "border border-[rgba(66,66,66,0.12)]")} ${readonly && "!cursor-not-allowed"} ${isEditTable && "md:!min-w-max max-w-max rounded-none border border-transparent border-b border-b-primary bg-transparent min-h-auto"}`,
|
|
33001
|
+
control: ({ isFocused }) => `w-full flex h-full ring-0 cursor-pointer outline-0 bg-white shadow-none rounded-[10px] py-2 px-3 text-sm text-[#1A1A1B] font-normal cursor-pointer gap-2 opacity-100 leading-5 resize-none overflow-hidden field-sizing-content ${isForm && (isFocused && !isEditTable ? "border-[1px] border-primary !ring-0 outline-none" : "border border-[rgba(66,66,66,0.12)]")} ${readonly && "!cursor-not-allowed"} ${isEditTable && "md:!min-w-max max-w-max rounded-none border border-transparent border-b border-b-primary bg-transparent min-h-auto"}`,
|
|
33001
33002
|
valueContainer: () => "!m-0 !p-0 ",
|
|
33002
33003
|
singleValue: () => `!m-0`,
|
|
33003
33004
|
input: () => "!m-0 !p-0",
|
|
@@ -33007,7 +33008,6 @@ var SelectDropdownField = (props) => {
|
|
|
33007
33008
|
},
|
|
33008
33009
|
styles: {
|
|
33009
33010
|
control: (base) => ({
|
|
33010
|
-
...base,
|
|
33011
33011
|
background: isEditTable ? "transparent" : "initial"
|
|
33012
33012
|
}),
|
|
33013
33013
|
container: (base) => ({
|
package/dist/index.mjs
CHANGED
|
@@ -32419,7 +32419,8 @@ var Many2ManyTagField = (props) => {
|
|
|
32419
32419
|
styles: {
|
|
32420
32420
|
control: () => ({
|
|
32421
32421
|
maxWidth: isEditTable ? "max-content" : "100%",
|
|
32422
|
-
minWidth: isEditTable ? "max-content" : "100%"
|
|
32422
|
+
minWidth: isEditTable ? "max-content" : "100%",
|
|
32423
|
+
background: isEditTable ? "transparent" : "initial"
|
|
32423
32424
|
}),
|
|
32424
32425
|
multiValue: (provided, state) => {
|
|
32425
32426
|
const { color, id } = state?.data ?? {};
|
|
@@ -32866,12 +32867,12 @@ var SelectDropdownField = (props) => {
|
|
|
32866
32867
|
required: !invisible && required
|
|
32867
32868
|
};
|
|
32868
32869
|
return /* @__PURE__ */ jsxs69(Fragment30, { children: [
|
|
32869
|
-
/* @__PURE__ */ jsx104("div", { className:
|
|
32870
|
+
/* @__PURE__ */ jsx104("div", { className: `group ${isEditTable ? "h-full" : ""}`, children: /* @__PURE__ */ jsx104(
|
|
32870
32871
|
StateManagedSelect$1,
|
|
32871
32872
|
{
|
|
32872
32873
|
...commonProps,
|
|
32873
32874
|
classNames: {
|
|
32874
|
-
control: ({ isFocused }) => `w-full flex h-full ring-0 cursor-pointer outline-0 bg-white shadow-none rounded-[10px] py-2 px-3 text-sm text-[#1A1A1B] font-normal cursor-pointer gap-2 opacity-100 leading-5 resize-none overflow-hidden field-sizing-content ${isForm && (isFocused ? "border-[1px] border-primary !ring-0 outline-none" : "border border-[rgba(66,66,66,0.12)]")} ${readonly && "!cursor-not-allowed"} ${isEditTable && "md:!min-w-max max-w-max rounded-none border border-transparent border-b border-b-primary bg-transparent min-h-auto"}`,
|
|
32875
|
+
control: ({ isFocused }) => `w-full flex h-full ring-0 cursor-pointer outline-0 bg-white shadow-none rounded-[10px] py-2 px-3 text-sm text-[#1A1A1B] font-normal cursor-pointer gap-2 opacity-100 leading-5 resize-none overflow-hidden field-sizing-content ${isForm && (isFocused && !isEditTable ? "border-[1px] border-primary !ring-0 outline-none" : "border border-[rgba(66,66,66,0.12)]")} ${readonly && "!cursor-not-allowed"} ${isEditTable && "md:!min-w-max max-w-max rounded-none border border-transparent border-b border-b-primary bg-transparent min-h-auto"}`,
|
|
32875
32876
|
valueContainer: () => "!m-0 !p-0 ",
|
|
32876
32877
|
singleValue: () => `!m-0`,
|
|
32877
32878
|
input: () => "!m-0 !p-0",
|
|
@@ -32881,7 +32882,6 @@ var SelectDropdownField = (props) => {
|
|
|
32881
32882
|
},
|
|
32882
32883
|
styles: {
|
|
32883
32884
|
control: (base) => ({
|
|
32884
|
-
...base,
|
|
32885
32885
|
background: isEditTable ? "transparent" : "initial"
|
|
32886
32886
|
}),
|
|
32887
32887
|
container: (base) => ({
|
package/dist/widgets.js
CHANGED
|
@@ -31796,7 +31796,8 @@ var Many2ManyTagField = (props) => {
|
|
|
31796
31796
|
styles: {
|
|
31797
31797
|
control: () => ({
|
|
31798
31798
|
maxWidth: isEditTable ? "max-content" : "100%",
|
|
31799
|
-
minWidth: isEditTable ? "max-content" : "100%"
|
|
31799
|
+
minWidth: isEditTable ? "max-content" : "100%",
|
|
31800
|
+
background: isEditTable ? "transparent" : "initial"
|
|
31800
31801
|
}),
|
|
31801
31802
|
multiValue: (provided, state) => {
|
|
31802
31803
|
const { color, id } = state?.data ?? {};
|
|
@@ -32243,12 +32244,12 @@ var SelectDropdownField = (props) => {
|
|
|
32243
32244
|
required: !invisible && required
|
|
32244
32245
|
};
|
|
32245
32246
|
return /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)(import_jsx_runtime102.Fragment, { children: [
|
|
32246
|
-
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)("div", { className:
|
|
32247
|
+
/* @__PURE__ */ (0, import_jsx_runtime102.jsx)("div", { className: `group ${isEditTable ? "h-full" : ""}`, children: /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
|
|
32247
32248
|
StateManagedSelect$1,
|
|
32248
32249
|
{
|
|
32249
32250
|
...commonProps,
|
|
32250
32251
|
classNames: {
|
|
32251
|
-
control: ({ isFocused }) => `w-full flex h-full ring-0 cursor-pointer outline-0 bg-white shadow-none rounded-[10px] py-2 px-3 text-sm text-[#1A1A1B] font-normal cursor-pointer gap-2 opacity-100 leading-5 resize-none overflow-hidden field-sizing-content ${isForm && (isFocused ? "border-[1px] border-primary !ring-0 outline-none" : "border border-[rgba(66,66,66,0.12)]")} ${readonly && "!cursor-not-allowed"} ${isEditTable && "md:!min-w-max max-w-max rounded-none border border-transparent border-b border-b-primary bg-transparent min-h-auto"}`,
|
|
32252
|
+
control: ({ isFocused }) => `w-full flex h-full ring-0 cursor-pointer outline-0 bg-white shadow-none rounded-[10px] py-2 px-3 text-sm text-[#1A1A1B] font-normal cursor-pointer gap-2 opacity-100 leading-5 resize-none overflow-hidden field-sizing-content ${isForm && (isFocused && !isEditTable ? "border-[1px] border-primary !ring-0 outline-none" : "border border-[rgba(66,66,66,0.12)]")} ${readonly && "!cursor-not-allowed"} ${isEditTable && "md:!min-w-max max-w-max rounded-none border border-transparent border-b border-b-primary bg-transparent min-h-auto"}`,
|
|
32252
32253
|
valueContainer: () => "!m-0 !p-0 ",
|
|
32253
32254
|
singleValue: () => `!m-0`,
|
|
32254
32255
|
input: () => "!m-0 !p-0",
|
|
@@ -32258,7 +32259,6 @@ var SelectDropdownField = (props) => {
|
|
|
32258
32259
|
},
|
|
32259
32260
|
styles: {
|
|
32260
32261
|
control: (base) => ({
|
|
32261
|
-
...base,
|
|
32262
32262
|
background: isEditTable ? "transparent" : "initial"
|
|
32263
32263
|
}),
|
|
32264
32264
|
container: (base) => ({
|
package/dist/widgets.mjs
CHANGED
|
@@ -31734,7 +31734,8 @@ var Many2ManyTagField = (props) => {
|
|
|
31734
31734
|
styles: {
|
|
31735
31735
|
control: () => ({
|
|
31736
31736
|
maxWidth: isEditTable ? "max-content" : "100%",
|
|
31737
|
-
minWidth: isEditTable ? "max-content" : "100%"
|
|
31737
|
+
minWidth: isEditTable ? "max-content" : "100%",
|
|
31738
|
+
background: isEditTable ? "transparent" : "initial"
|
|
31738
31739
|
}),
|
|
31739
31740
|
multiValue: (provided, state) => {
|
|
31740
31741
|
const { color, id } = state?.data ?? {};
|
|
@@ -32181,12 +32182,12 @@ var SelectDropdownField = (props) => {
|
|
|
32181
32182
|
required: !invisible && required
|
|
32182
32183
|
};
|
|
32183
32184
|
return /* @__PURE__ */ jsxs69(Fragment30, { children: [
|
|
32184
|
-
/* @__PURE__ */ jsx104("div", { className:
|
|
32185
|
+
/* @__PURE__ */ jsx104("div", { className: `group ${isEditTable ? "h-full" : ""}`, children: /* @__PURE__ */ jsx104(
|
|
32185
32186
|
StateManagedSelect$1,
|
|
32186
32187
|
{
|
|
32187
32188
|
...commonProps,
|
|
32188
32189
|
classNames: {
|
|
32189
|
-
control: ({ isFocused }) => `w-full flex h-full ring-0 cursor-pointer outline-0 bg-white shadow-none rounded-[10px] py-2 px-3 text-sm text-[#1A1A1B] font-normal cursor-pointer gap-2 opacity-100 leading-5 resize-none overflow-hidden field-sizing-content ${isForm && (isFocused ? "border-[1px] border-primary !ring-0 outline-none" : "border border-[rgba(66,66,66,0.12)]")} ${readonly && "!cursor-not-allowed"} ${isEditTable && "md:!min-w-max max-w-max rounded-none border border-transparent border-b border-b-primary bg-transparent min-h-auto"}`,
|
|
32190
|
+
control: ({ isFocused }) => `w-full flex h-full ring-0 cursor-pointer outline-0 bg-white shadow-none rounded-[10px] py-2 px-3 text-sm text-[#1A1A1B] font-normal cursor-pointer gap-2 opacity-100 leading-5 resize-none overflow-hidden field-sizing-content ${isForm && (isFocused && !isEditTable ? "border-[1px] border-primary !ring-0 outline-none" : "border border-[rgba(66,66,66,0.12)]")} ${readonly && "!cursor-not-allowed"} ${isEditTable && "md:!min-w-max max-w-max rounded-none border border-transparent border-b border-b-primary bg-transparent min-h-auto"}`,
|
|
32190
32191
|
valueContainer: () => "!m-0 !p-0 ",
|
|
32191
32192
|
singleValue: () => `!m-0`,
|
|
32192
32193
|
input: () => "!m-0 !p-0",
|
|
@@ -32196,7 +32197,6 @@ var SelectDropdownField = (props) => {
|
|
|
32196
32197
|
},
|
|
32197
32198
|
styles: {
|
|
32198
32199
|
control: (base) => ({
|
|
32199
|
-
...base,
|
|
32200
32200
|
background: isEditTable ? "transparent" : "initial"
|
|
32201
32201
|
}),
|
|
32202
32202
|
container: (base) => ({
|