@fctc/widget-logic 4.4.8 → 4.4.9
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 +0 -5
- package/dist/index.mjs +0 -5
- package/dist/widget.js +0 -5
- package/dist/widget.mjs +0 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5360,7 +5360,6 @@ var many2oneFieldController = (props) => {
|
|
|
5360
5360
|
const [tempSelectedOption, setTempSelectedOption] = (0, import_react16.useState)(null);
|
|
5361
5361
|
const [domainModal, setDomainModal] = (0, import_react16.useState)(null);
|
|
5362
5362
|
const [domainObject, setDomainObject] = (0, import_react16.useState)(null);
|
|
5363
|
-
console.log("domainObject", domainObject, typeof domainObject);
|
|
5364
5363
|
const initValue = methods?.getValues(name);
|
|
5365
5364
|
const contextObject = {
|
|
5366
5365
|
...(typeof action?.context === "string" ? (0, utils_exports.evalJSONContext)(action?.context) : action?.context) || {},
|
|
@@ -5559,10 +5558,6 @@ var many2oneFieldController = (props) => {
|
|
|
5559
5558
|
const newValue = widget === MANY2ONE_EXTERNAL && optionsObject?.field_name ? selectedOption?.[optionsObject?.field_name] : selectedOption.value;
|
|
5560
5559
|
if (widget === MANY2ONE_EXTERNAL && optionsObject?.values_included) {
|
|
5561
5560
|
Object.keys(optionsObject?.values_included)?.forEach((field) => {
|
|
5562
|
-
console.log(
|
|
5563
|
-
"optionsObject?.values_included[field]?.name,",
|
|
5564
|
-
optionsObject?.values_included[field]?.name
|
|
5565
|
-
);
|
|
5566
5561
|
methods?.setValue(
|
|
5567
5562
|
optionsObject?.values_included[field]?.name,
|
|
5568
5563
|
selectedOption?.[field],
|
package/dist/index.mjs
CHANGED
|
@@ -5455,7 +5455,6 @@ var many2oneFieldController = (props) => {
|
|
|
5455
5455
|
const [tempSelectedOption, setTempSelectedOption] = useState7(null);
|
|
5456
5456
|
const [domainModal, setDomainModal] = useState7(null);
|
|
5457
5457
|
const [domainObject, setDomainObject] = useState7(null);
|
|
5458
|
-
console.log("domainObject", domainObject, typeof domainObject);
|
|
5459
5458
|
const initValue = methods?.getValues(name);
|
|
5460
5459
|
const contextObject = {
|
|
5461
5460
|
...(typeof action?.context === "string" ? (0, utils_exports.evalJSONContext)(action?.context) : action?.context) || {},
|
|
@@ -5654,10 +5653,6 @@ var many2oneFieldController = (props) => {
|
|
|
5654
5653
|
const newValue = widget === MANY2ONE_EXTERNAL && optionsObject?.field_name ? selectedOption?.[optionsObject?.field_name] : selectedOption.value;
|
|
5655
5654
|
if (widget === MANY2ONE_EXTERNAL && optionsObject?.values_included) {
|
|
5656
5655
|
Object.keys(optionsObject?.values_included)?.forEach((field) => {
|
|
5657
|
-
console.log(
|
|
5658
|
-
"optionsObject?.values_included[field]?.name,",
|
|
5659
|
-
optionsObject?.values_included[field]?.name
|
|
5660
|
-
);
|
|
5661
5656
|
methods?.setValue(
|
|
5662
5657
|
optionsObject?.values_included[field]?.name,
|
|
5663
5658
|
selectedOption?.[field],
|
package/dist/widget.js
CHANGED
|
@@ -4586,7 +4586,6 @@ var many2oneFieldController = (props) => {
|
|
|
4586
4586
|
const [tempSelectedOption, setTempSelectedOption] = (0, import_react16.useState)(null);
|
|
4587
4587
|
const [domainModal, setDomainModal] = (0, import_react16.useState)(null);
|
|
4588
4588
|
const [domainObject, setDomainObject] = (0, import_react16.useState)(null);
|
|
4589
|
-
console.log("domainObject", domainObject, typeof domainObject);
|
|
4590
4589
|
const initValue = methods?.getValues(name);
|
|
4591
4590
|
const contextObject = {
|
|
4592
4591
|
...(typeof action?.context === "string" ? (0, utils_exports.evalJSONContext)(action?.context) : action?.context) || {},
|
|
@@ -4785,10 +4784,6 @@ var many2oneFieldController = (props) => {
|
|
|
4785
4784
|
const newValue = widget === MANY2ONE_EXTERNAL && optionsObject?.field_name ? selectedOption?.[optionsObject?.field_name] : selectedOption.value;
|
|
4786
4785
|
if (widget === MANY2ONE_EXTERNAL && optionsObject?.values_included) {
|
|
4787
4786
|
Object.keys(optionsObject?.values_included)?.forEach((field) => {
|
|
4788
|
-
console.log(
|
|
4789
|
-
"optionsObject?.values_included[field]?.name,",
|
|
4790
|
-
optionsObject?.values_included[field]?.name
|
|
4791
|
-
);
|
|
4792
4787
|
methods?.setValue(
|
|
4793
4788
|
optionsObject?.values_included[field]?.name,
|
|
4794
4789
|
selectedOption?.[field],
|
package/dist/widget.mjs
CHANGED
|
@@ -4658,7 +4658,6 @@ var many2oneFieldController = (props) => {
|
|
|
4658
4658
|
const [tempSelectedOption, setTempSelectedOption] = useState7(null);
|
|
4659
4659
|
const [domainModal, setDomainModal] = useState7(null);
|
|
4660
4660
|
const [domainObject, setDomainObject] = useState7(null);
|
|
4661
|
-
console.log("domainObject", domainObject, typeof domainObject);
|
|
4662
4661
|
const initValue = methods?.getValues(name);
|
|
4663
4662
|
const contextObject = {
|
|
4664
4663
|
...(typeof action?.context === "string" ? (0, utils_exports.evalJSONContext)(action?.context) : action?.context) || {},
|
|
@@ -4857,10 +4856,6 @@ var many2oneFieldController = (props) => {
|
|
|
4857
4856
|
const newValue = widget === MANY2ONE_EXTERNAL && optionsObject?.field_name ? selectedOption?.[optionsObject?.field_name] : selectedOption.value;
|
|
4858
4857
|
if (widget === MANY2ONE_EXTERNAL && optionsObject?.values_included) {
|
|
4859
4858
|
Object.keys(optionsObject?.values_included)?.forEach((field) => {
|
|
4860
|
-
console.log(
|
|
4861
|
-
"optionsObject?.values_included[field]?.name,",
|
|
4862
|
-
optionsObject?.values_included[field]?.name
|
|
4863
|
-
);
|
|
4864
4859
|
methods?.setValue(
|
|
4865
4860
|
optionsObject?.values_included[field]?.name,
|
|
4866
4861
|
selectedOption?.[field],
|