@fctc/sme-widget-ui 1.3.9 → 1.4.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/dist/index.js +8 -8
- package/dist/index.mjs +8 -8
- package/dist/widgets.js +8 -8
- package/dist/widgets.mjs +8 -8
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -34508,7 +34508,7 @@ var CustomMenuList = (props) => {
|
|
|
34508
34508
|
{
|
|
34509
34509
|
type: "button",
|
|
34510
34510
|
onClick: () => setIsShowModalMany2Many(true),
|
|
34511
|
-
className: "text-primary text-sm text-left w-full
|
|
34511
|
+
className: "searh-more text-primary text-sm text-left w-full italic font-medium py-1 px-3",
|
|
34512
34512
|
children: [
|
|
34513
34513
|
instance.t("search_more"),
|
|
34514
34514
|
"..."
|
|
@@ -34613,12 +34613,12 @@ var Many2OneField = (props) => {
|
|
|
34613
34613
|
menuShouldScrollIntoView: false,
|
|
34614
34614
|
options: options2,
|
|
34615
34615
|
classNames: {
|
|
34616
|
-
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-[
|
|
34616
|
+
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-[200px] max-w-[300px] rounded-none border border-transparent border-b border-b-primary bg-transparent min-h-auto"}`,
|
|
34617
34617
|
valueContainer: () => "!m-0 !p-0 ",
|
|
34618
34618
|
singleValue: () => `!m-0`,
|
|
34619
34619
|
input: () => "!m-0 !p-0",
|
|
34620
|
-
dropdownIndicator: () =>
|
|
34621
|
-
clearIndicator: () =>
|
|
34620
|
+
dropdownIndicator: () => `m-0 p-0`,
|
|
34621
|
+
clearIndicator: () => `m-0 p-0'`,
|
|
34622
34622
|
menu: () => "z-[99]"
|
|
34623
34623
|
},
|
|
34624
34624
|
placeholder: readonly ? "" : instance.t("choose_place"),
|
|
@@ -34658,13 +34658,13 @@ var Many2OneField = (props) => {
|
|
|
34658
34658
|
}),
|
|
34659
34659
|
menuPortal: (base) => ({
|
|
34660
34660
|
...base,
|
|
34661
|
-
zIndex:
|
|
34661
|
+
zIndex: 999
|
|
34662
34662
|
}),
|
|
34663
34663
|
menu: (base) => ({
|
|
34664
34664
|
...base,
|
|
34665
|
-
zIndex:
|
|
34666
|
-
width: isEditTable ? "
|
|
34667
|
-
minWidth: isEditTable ? "
|
|
34665
|
+
zIndex: 999,
|
|
34666
|
+
width: isEditTable ? "auto" : "100%",
|
|
34667
|
+
minWidth: isEditTable ? "200px" : "100%"
|
|
34668
34668
|
})
|
|
34669
34669
|
},
|
|
34670
34670
|
components: {
|
package/dist/index.mjs
CHANGED
|
@@ -34389,7 +34389,7 @@ var CustomMenuList = (props) => {
|
|
|
34389
34389
|
{
|
|
34390
34390
|
type: "button",
|
|
34391
34391
|
onClick: () => setIsShowModalMany2Many(true),
|
|
34392
|
-
className: "text-primary text-sm text-left w-full
|
|
34392
|
+
className: "searh-more text-primary text-sm text-left w-full italic font-medium py-1 px-3",
|
|
34393
34393
|
children: [
|
|
34394
34394
|
instance.t("search_more"),
|
|
34395
34395
|
"..."
|
|
@@ -34494,12 +34494,12 @@ var Many2OneField = (props) => {
|
|
|
34494
34494
|
menuShouldScrollIntoView: false,
|
|
34495
34495
|
options: options2,
|
|
34496
34496
|
classNames: {
|
|
34497
|
-
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-[
|
|
34497
|
+
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-[200px] max-w-[300px] rounded-none border border-transparent border-b border-b-primary bg-transparent min-h-auto"}`,
|
|
34498
34498
|
valueContainer: () => "!m-0 !p-0 ",
|
|
34499
34499
|
singleValue: () => `!m-0`,
|
|
34500
34500
|
input: () => "!m-0 !p-0",
|
|
34501
|
-
dropdownIndicator: () =>
|
|
34502
|
-
clearIndicator: () =>
|
|
34501
|
+
dropdownIndicator: () => `m-0 p-0`,
|
|
34502
|
+
clearIndicator: () => `m-0 p-0'`,
|
|
34503
34503
|
menu: () => "z-[99]"
|
|
34504
34504
|
},
|
|
34505
34505
|
placeholder: readonly ? "" : instance.t("choose_place"),
|
|
@@ -34539,13 +34539,13 @@ var Many2OneField = (props) => {
|
|
|
34539
34539
|
}),
|
|
34540
34540
|
menuPortal: (base) => ({
|
|
34541
34541
|
...base,
|
|
34542
|
-
zIndex:
|
|
34542
|
+
zIndex: 999
|
|
34543
34543
|
}),
|
|
34544
34544
|
menu: (base) => ({
|
|
34545
34545
|
...base,
|
|
34546
|
-
zIndex:
|
|
34547
|
-
width: isEditTable ? "
|
|
34548
|
-
minWidth: isEditTable ? "
|
|
34546
|
+
zIndex: 999,
|
|
34547
|
+
width: isEditTable ? "auto" : "100%",
|
|
34548
|
+
minWidth: isEditTable ? "200px" : "100%"
|
|
34549
34549
|
})
|
|
34550
34550
|
},
|
|
34551
34551
|
components: {
|
package/dist/widgets.js
CHANGED
|
@@ -34134,7 +34134,7 @@ var CustomMenuList = (props) => {
|
|
|
34134
34134
|
{
|
|
34135
34135
|
type: "button",
|
|
34136
34136
|
onClick: () => setIsShowModalMany2Many(true),
|
|
34137
|
-
className: "text-primary text-sm text-left w-full
|
|
34137
|
+
className: "searh-more text-primary text-sm text-left w-full italic font-medium py-1 px-3",
|
|
34138
34138
|
children: [
|
|
34139
34139
|
instance.t("search_more"),
|
|
34140
34140
|
"..."
|
|
@@ -34239,12 +34239,12 @@ var Many2OneField = (props) => {
|
|
|
34239
34239
|
menuShouldScrollIntoView: false,
|
|
34240
34240
|
options: options2,
|
|
34241
34241
|
classNames: {
|
|
34242
|
-
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-[
|
|
34242
|
+
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-[200px] max-w-[300px] rounded-none border border-transparent border-b border-b-primary bg-transparent min-h-auto"}`,
|
|
34243
34243
|
valueContainer: () => "!m-0 !p-0 ",
|
|
34244
34244
|
singleValue: () => `!m-0`,
|
|
34245
34245
|
input: () => "!m-0 !p-0",
|
|
34246
|
-
dropdownIndicator: () =>
|
|
34247
|
-
clearIndicator: () =>
|
|
34246
|
+
dropdownIndicator: () => `m-0 p-0`,
|
|
34247
|
+
clearIndicator: () => `m-0 p-0'`,
|
|
34248
34248
|
menu: () => "z-[99]"
|
|
34249
34249
|
},
|
|
34250
34250
|
placeholder: readonly ? "" : instance.t("choose_place"),
|
|
@@ -34284,13 +34284,13 @@ var Many2OneField = (props) => {
|
|
|
34284
34284
|
}),
|
|
34285
34285
|
menuPortal: (base) => ({
|
|
34286
34286
|
...base,
|
|
34287
|
-
zIndex:
|
|
34287
|
+
zIndex: 999
|
|
34288
34288
|
}),
|
|
34289
34289
|
menu: (base) => ({
|
|
34290
34290
|
...base,
|
|
34291
|
-
zIndex:
|
|
34292
|
-
width: isEditTable ? "
|
|
34293
|
-
minWidth: isEditTable ? "
|
|
34291
|
+
zIndex: 999,
|
|
34292
|
+
width: isEditTable ? "auto" : "100%",
|
|
34293
|
+
minWidth: isEditTable ? "200px" : "100%"
|
|
34294
34294
|
})
|
|
34295
34295
|
},
|
|
34296
34296
|
components: {
|
package/dist/widgets.mjs
CHANGED
|
@@ -34071,7 +34071,7 @@ var CustomMenuList = (props) => {
|
|
|
34071
34071
|
{
|
|
34072
34072
|
type: "button",
|
|
34073
34073
|
onClick: () => setIsShowModalMany2Many(true),
|
|
34074
|
-
className: "text-primary text-sm text-left w-full
|
|
34074
|
+
className: "searh-more text-primary text-sm text-left w-full italic font-medium py-1 px-3",
|
|
34075
34075
|
children: [
|
|
34076
34076
|
instance.t("search_more"),
|
|
34077
34077
|
"..."
|
|
@@ -34176,12 +34176,12 @@ var Many2OneField = (props) => {
|
|
|
34176
34176
|
menuShouldScrollIntoView: false,
|
|
34177
34177
|
options: options2,
|
|
34178
34178
|
classNames: {
|
|
34179
|
-
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-[
|
|
34179
|
+
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-[200px] max-w-[300px] rounded-none border border-transparent border-b border-b-primary bg-transparent min-h-auto"}`,
|
|
34180
34180
|
valueContainer: () => "!m-0 !p-0 ",
|
|
34181
34181
|
singleValue: () => `!m-0`,
|
|
34182
34182
|
input: () => "!m-0 !p-0",
|
|
34183
|
-
dropdownIndicator: () =>
|
|
34184
|
-
clearIndicator: () =>
|
|
34183
|
+
dropdownIndicator: () => `m-0 p-0`,
|
|
34184
|
+
clearIndicator: () => `m-0 p-0'`,
|
|
34185
34185
|
menu: () => "z-[99]"
|
|
34186
34186
|
},
|
|
34187
34187
|
placeholder: readonly ? "" : instance.t("choose_place"),
|
|
@@ -34221,13 +34221,13 @@ var Many2OneField = (props) => {
|
|
|
34221
34221
|
}),
|
|
34222
34222
|
menuPortal: (base) => ({
|
|
34223
34223
|
...base,
|
|
34224
|
-
zIndex:
|
|
34224
|
+
zIndex: 999
|
|
34225
34225
|
}),
|
|
34226
34226
|
menu: (base) => ({
|
|
34227
34227
|
...base,
|
|
34228
|
-
zIndex:
|
|
34229
|
-
width: isEditTable ? "
|
|
34230
|
-
minWidth: isEditTable ? "
|
|
34228
|
+
zIndex: 999,
|
|
34229
|
+
width: isEditTable ? "auto" : "100%",
|
|
34230
|
+
minWidth: isEditTable ? "200px" : "100%"
|
|
34231
34231
|
})
|
|
34232
34232
|
},
|
|
34233
34233
|
components: {
|