@fctc/widget-logic 2.4.7 → 2.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 +19 -6
- package/dist/index.mjs +19 -6
- package/dist/widget.d.mts +4 -0
- package/dist/widget.d.ts +4 -0
- package/dist/widget.js +19 -6
- package/dist/widget.mjs +19 -6
- package/package.json +96 -96
package/dist/index.js
CHANGED
|
@@ -5292,7 +5292,9 @@ var many2oneFieldController = (props) => {
|
|
|
5292
5292
|
name,
|
|
5293
5293
|
context: fieldContext,
|
|
5294
5294
|
options: fieldOptions,
|
|
5295
|
-
showDetail
|
|
5295
|
+
showDetail,
|
|
5296
|
+
service,
|
|
5297
|
+
xNode
|
|
5296
5298
|
} = props;
|
|
5297
5299
|
const { env } = (0, provider_exports.useEnv)();
|
|
5298
5300
|
const [options, setOptions] = (0, import_react16.useState)([]);
|
|
@@ -5323,6 +5325,7 @@ var many2oneFieldController = (props) => {
|
|
|
5323
5325
|
}
|
|
5324
5326
|
};
|
|
5325
5327
|
const queryKey = [`data_${relation}`, domainObject];
|
|
5328
|
+
console.log("data", data);
|
|
5326
5329
|
const {
|
|
5327
5330
|
data: dataOfSelection,
|
|
5328
5331
|
refetch,
|
|
@@ -5330,7 +5333,9 @@ var many2oneFieldController = (props) => {
|
|
|
5330
5333
|
} = useGetSelection3({
|
|
5331
5334
|
data,
|
|
5332
5335
|
queryKey,
|
|
5333
|
-
enabled: false
|
|
5336
|
+
enabled: false,
|
|
5337
|
+
service,
|
|
5338
|
+
xNode
|
|
5334
5339
|
});
|
|
5335
5340
|
const selectOptions = (0, import_react16.useMemo)(() => {
|
|
5336
5341
|
return dataOfSelection?.records?.map((val) => ({
|
|
@@ -5457,7 +5462,7 @@ var import_environment2 = require("@fctc/interface-logic/environment");
|
|
|
5457
5462
|
var import_hooks6 = require("@fctc/interface-logic/hooks");
|
|
5458
5463
|
var import_utils7 = require("@fctc/interface-logic/utils");
|
|
5459
5464
|
var many2oneButtonController = (props) => {
|
|
5460
|
-
const { domain, methods, relation } = props;
|
|
5465
|
+
const { domain, methods, relation, service, xNode } = props;
|
|
5461
5466
|
const actionDataString = sessionStorage.getItem("actionData");
|
|
5462
5467
|
const env = (0, import_environment2.getEnv)();
|
|
5463
5468
|
const domainObject = (0, import_utils7.evalJSONDomain)(domain, methods?.getValues() || {});
|
|
@@ -5468,7 +5473,9 @@ var many2oneButtonController = (props) => {
|
|
|
5468
5473
|
domain: domainObject,
|
|
5469
5474
|
context: { ...env.context, ...(0, import_utils7.evalJSONContext)(actionData?.context) }
|
|
5470
5475
|
},
|
|
5471
|
-
queryKey: [`data_${relation}`, domainObject]
|
|
5476
|
+
queryKey: [`data_${relation}`, domainObject],
|
|
5477
|
+
service,
|
|
5478
|
+
xNode
|
|
5472
5479
|
});
|
|
5473
5480
|
const options = dataOfSelection?.records?.map((val) => ({
|
|
5474
5481
|
value: val.id,
|
|
@@ -5638,7 +5645,9 @@ var many2manyTagsController = (props) => {
|
|
|
5638
5645
|
options: optionsFields,
|
|
5639
5646
|
widget,
|
|
5640
5647
|
formValues,
|
|
5641
|
-
placeholderNoOption
|
|
5648
|
+
placeholderNoOption,
|
|
5649
|
+
service,
|
|
5650
|
+
xNode
|
|
5642
5651
|
} = props;
|
|
5643
5652
|
const isUser = relation === "res.users" || relation === "res.partner";
|
|
5644
5653
|
const { env } = (0, provider_exports.useEnv)();
|
|
@@ -5661,9 +5670,12 @@ var many2manyTagsController = (props) => {
|
|
|
5661
5670
|
enabled: true,
|
|
5662
5671
|
context: env.context
|
|
5663
5672
|
};
|
|
5673
|
+
console.log("data", data);
|
|
5664
5674
|
const { data: dataOfSelection } = useGetSelection3({
|
|
5665
5675
|
data,
|
|
5666
|
-
queryKey: [`data_${relation}`, domainObject]
|
|
5676
|
+
queryKey: [`data_${relation}`, domainObject],
|
|
5677
|
+
service,
|
|
5678
|
+
xNode
|
|
5667
5679
|
});
|
|
5668
5680
|
const customNoOptionsMessage = () => placeholderNoOption;
|
|
5669
5681
|
const tranfer = (data2) => {
|
|
@@ -7131,6 +7143,7 @@ var tableGroupController = (props) => {
|
|
|
7131
7143
|
setSelectedRowKeys2([...clonedKeys, -1]);
|
|
7132
7144
|
setTimeout(() => setSelectedRowKeys2(clonedKeys), 500);
|
|
7133
7145
|
} else if (isShowGroup && selectedRowKeys?.length > 0 && typeTableGroup === "list" && !checkedAll && !allIdsNull) {
|
|
7146
|
+
console.log("abc");
|
|
7134
7147
|
const filteredKeys = selectedRowKeys.filter((id) => id > -1);
|
|
7135
7148
|
setSelectedRowKeys2(filteredKeys);
|
|
7136
7149
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -5373,7 +5373,9 @@ var many2oneFieldController = (props) => {
|
|
|
5373
5373
|
name,
|
|
5374
5374
|
context: fieldContext,
|
|
5375
5375
|
options: fieldOptions,
|
|
5376
|
-
showDetail
|
|
5376
|
+
showDetail,
|
|
5377
|
+
service,
|
|
5378
|
+
xNode
|
|
5377
5379
|
} = props;
|
|
5378
5380
|
const { env } = (0, provider_exports.useEnv)();
|
|
5379
5381
|
const [options, setOptions] = useState7([]);
|
|
@@ -5404,6 +5406,7 @@ var many2oneFieldController = (props) => {
|
|
|
5404
5406
|
}
|
|
5405
5407
|
};
|
|
5406
5408
|
const queryKey = [`data_${relation}`, domainObject];
|
|
5409
|
+
console.log("data", data);
|
|
5407
5410
|
const {
|
|
5408
5411
|
data: dataOfSelection,
|
|
5409
5412
|
refetch,
|
|
@@ -5411,7 +5414,9 @@ var many2oneFieldController = (props) => {
|
|
|
5411
5414
|
} = useGetSelection3({
|
|
5412
5415
|
data,
|
|
5413
5416
|
queryKey,
|
|
5414
|
-
enabled: false
|
|
5417
|
+
enabled: false,
|
|
5418
|
+
service,
|
|
5419
|
+
xNode
|
|
5415
5420
|
});
|
|
5416
5421
|
const selectOptions = useMemo8(() => {
|
|
5417
5422
|
return dataOfSelection?.records?.map((val) => ({
|
|
@@ -5538,7 +5543,7 @@ import { getEnv as getEnv2 } from "@fctc/interface-logic/environment";
|
|
|
5538
5543
|
import { useGetSelection as useGetSelection2 } from "@fctc/interface-logic/hooks";
|
|
5539
5544
|
import { evalJSONDomain as evalJSONDomain3, evalJSONContext as evalJSONContext3 } from "@fctc/interface-logic/utils";
|
|
5540
5545
|
var many2oneButtonController = (props) => {
|
|
5541
|
-
const { domain, methods, relation } = props;
|
|
5546
|
+
const { domain, methods, relation, service, xNode } = props;
|
|
5542
5547
|
const actionDataString = sessionStorage.getItem("actionData");
|
|
5543
5548
|
const env = getEnv2();
|
|
5544
5549
|
const domainObject = evalJSONDomain3(domain, methods?.getValues() || {});
|
|
@@ -5549,7 +5554,9 @@ var many2oneButtonController = (props) => {
|
|
|
5549
5554
|
domain: domainObject,
|
|
5550
5555
|
context: { ...env.context, ...evalJSONContext3(actionData?.context) }
|
|
5551
5556
|
},
|
|
5552
|
-
queryKey: [`data_${relation}`, domainObject]
|
|
5557
|
+
queryKey: [`data_${relation}`, domainObject],
|
|
5558
|
+
service,
|
|
5559
|
+
xNode
|
|
5553
5560
|
});
|
|
5554
5561
|
const options = dataOfSelection?.records?.map((val) => ({
|
|
5555
5562
|
value: val.id,
|
|
@@ -5723,7 +5730,9 @@ var many2manyTagsController = (props) => {
|
|
|
5723
5730
|
options: optionsFields,
|
|
5724
5731
|
widget,
|
|
5725
5732
|
formValues,
|
|
5726
|
-
placeholderNoOption
|
|
5733
|
+
placeholderNoOption,
|
|
5734
|
+
service,
|
|
5735
|
+
xNode
|
|
5727
5736
|
} = props;
|
|
5728
5737
|
const isUser = relation === "res.users" || relation === "res.partner";
|
|
5729
5738
|
const { env } = (0, provider_exports.useEnv)();
|
|
@@ -5746,9 +5755,12 @@ var many2manyTagsController = (props) => {
|
|
|
5746
5755
|
enabled: true,
|
|
5747
5756
|
context: env.context
|
|
5748
5757
|
};
|
|
5758
|
+
console.log("data", data);
|
|
5749
5759
|
const { data: dataOfSelection } = useGetSelection3({
|
|
5750
5760
|
data,
|
|
5751
|
-
queryKey: [`data_${relation}`, domainObject]
|
|
5761
|
+
queryKey: [`data_${relation}`, domainObject],
|
|
5762
|
+
service,
|
|
5763
|
+
xNode
|
|
5752
5764
|
});
|
|
5753
5765
|
const customNoOptionsMessage = () => placeholderNoOption;
|
|
5754
5766
|
const tranfer = (data2) => {
|
|
@@ -7219,6 +7231,7 @@ var tableGroupController = (props) => {
|
|
|
7219
7231
|
setSelectedRowKeys2([...clonedKeys, -1]);
|
|
7220
7232
|
setTimeout(() => setSelectedRowKeys2(clonedKeys), 500);
|
|
7221
7233
|
} else if (isShowGroup && selectedRowKeys?.length > 0 && typeTableGroup === "list" && !checkedAll && !allIdsNull) {
|
|
7234
|
+
console.log("abc");
|
|
7222
7235
|
const filteredKeys = selectedRowKeys.filter((id) => id > -1);
|
|
7223
7236
|
setSelectedRowKeys2(filteredKeys);
|
|
7224
7237
|
}
|
package/dist/widget.d.mts
CHANGED
|
@@ -28,6 +28,8 @@ interface IMany2OneProps extends IInputFieldProps {
|
|
|
28
28
|
showDetail?: boolean;
|
|
29
29
|
actionData?: any;
|
|
30
30
|
sessionStorageUtils?: any;
|
|
31
|
+
service?: string;
|
|
32
|
+
xNode?: string;
|
|
31
33
|
}
|
|
32
34
|
|
|
33
35
|
declare const many2oneFieldController: (props: IMany2OneProps) => {
|
|
@@ -106,6 +108,8 @@ declare const many2manyFieldController: (props: IMany2ManyControllerProps) => {
|
|
|
106
108
|
interface IMany2ManyTagFieldProps extends IInputFieldProps {
|
|
107
109
|
options: any;
|
|
108
110
|
placeholderNoOption: string;
|
|
111
|
+
service?: string;
|
|
112
|
+
xNode?: string;
|
|
109
113
|
}
|
|
110
114
|
|
|
111
115
|
declare const many2manyTagsController: (props: IMany2ManyTagFieldProps) => {
|
package/dist/widget.d.ts
CHANGED
|
@@ -28,6 +28,8 @@ interface IMany2OneProps extends IInputFieldProps {
|
|
|
28
28
|
showDetail?: boolean;
|
|
29
29
|
actionData?: any;
|
|
30
30
|
sessionStorageUtils?: any;
|
|
31
|
+
service?: string;
|
|
32
|
+
xNode?: string;
|
|
31
33
|
}
|
|
32
34
|
|
|
33
35
|
declare const many2oneFieldController: (props: IMany2OneProps) => {
|
|
@@ -106,6 +108,8 @@ declare const many2manyFieldController: (props: IMany2ManyControllerProps) => {
|
|
|
106
108
|
interface IMany2ManyTagFieldProps extends IInputFieldProps {
|
|
107
109
|
options: any;
|
|
108
110
|
placeholderNoOption: string;
|
|
111
|
+
service?: string;
|
|
112
|
+
xNode?: string;
|
|
109
113
|
}
|
|
110
114
|
|
|
111
115
|
declare const many2manyTagsController: (props: IMany2ManyTagFieldProps) => {
|
package/dist/widget.js
CHANGED
|
@@ -4447,7 +4447,9 @@ var many2oneFieldController = (props) => {
|
|
|
4447
4447
|
name,
|
|
4448
4448
|
context: fieldContext,
|
|
4449
4449
|
options: fieldOptions,
|
|
4450
|
-
showDetail
|
|
4450
|
+
showDetail,
|
|
4451
|
+
service,
|
|
4452
|
+
xNode
|
|
4451
4453
|
} = props;
|
|
4452
4454
|
const { env } = (0, provider_exports.useEnv)();
|
|
4453
4455
|
const [options, setOptions] = (0, import_react16.useState)([]);
|
|
@@ -4478,6 +4480,7 @@ var many2oneFieldController = (props) => {
|
|
|
4478
4480
|
}
|
|
4479
4481
|
};
|
|
4480
4482
|
const queryKey = [`data_${relation}`, domainObject];
|
|
4483
|
+
console.log("data", data);
|
|
4481
4484
|
const {
|
|
4482
4485
|
data: dataOfSelection,
|
|
4483
4486
|
refetch,
|
|
@@ -4485,7 +4488,9 @@ var many2oneFieldController = (props) => {
|
|
|
4485
4488
|
} = useGetSelection3({
|
|
4486
4489
|
data,
|
|
4487
4490
|
queryKey,
|
|
4488
|
-
enabled: false
|
|
4491
|
+
enabled: false,
|
|
4492
|
+
service,
|
|
4493
|
+
xNode
|
|
4489
4494
|
});
|
|
4490
4495
|
const selectOptions = (0, import_react16.useMemo)(() => {
|
|
4491
4496
|
return dataOfSelection?.records?.map((val) => ({
|
|
@@ -4612,7 +4617,7 @@ var import_environment2 = require("@fctc/interface-logic/environment");
|
|
|
4612
4617
|
var import_hooks6 = require("@fctc/interface-logic/hooks");
|
|
4613
4618
|
var import_utils7 = require("@fctc/interface-logic/utils");
|
|
4614
4619
|
var many2oneButtonController = (props) => {
|
|
4615
|
-
const { domain, methods, relation } = props;
|
|
4620
|
+
const { domain, methods, relation, service, xNode } = props;
|
|
4616
4621
|
const actionDataString = sessionStorage.getItem("actionData");
|
|
4617
4622
|
const env = (0, import_environment2.getEnv)();
|
|
4618
4623
|
const domainObject = (0, import_utils7.evalJSONDomain)(domain, methods?.getValues() || {});
|
|
@@ -4623,7 +4628,9 @@ var many2oneButtonController = (props) => {
|
|
|
4623
4628
|
domain: domainObject,
|
|
4624
4629
|
context: { ...env.context, ...(0, import_utils7.evalJSONContext)(actionData?.context) }
|
|
4625
4630
|
},
|
|
4626
|
-
queryKey: [`data_${relation}`, domainObject]
|
|
4631
|
+
queryKey: [`data_${relation}`, domainObject],
|
|
4632
|
+
service,
|
|
4633
|
+
xNode
|
|
4627
4634
|
});
|
|
4628
4635
|
const options = dataOfSelection?.records?.map((val) => ({
|
|
4629
4636
|
value: val.id,
|
|
@@ -4793,7 +4800,9 @@ var many2manyTagsController = (props) => {
|
|
|
4793
4800
|
options: optionsFields,
|
|
4794
4801
|
widget,
|
|
4795
4802
|
formValues,
|
|
4796
|
-
placeholderNoOption
|
|
4803
|
+
placeholderNoOption,
|
|
4804
|
+
service,
|
|
4805
|
+
xNode
|
|
4797
4806
|
} = props;
|
|
4798
4807
|
const isUser = relation === "res.users" || relation === "res.partner";
|
|
4799
4808
|
const { env } = (0, provider_exports.useEnv)();
|
|
@@ -4816,9 +4825,12 @@ var many2manyTagsController = (props) => {
|
|
|
4816
4825
|
enabled: true,
|
|
4817
4826
|
context: env.context
|
|
4818
4827
|
};
|
|
4828
|
+
console.log("data", data);
|
|
4819
4829
|
const { data: dataOfSelection } = useGetSelection3({
|
|
4820
4830
|
data,
|
|
4821
|
-
queryKey: [`data_${relation}`, domainObject]
|
|
4831
|
+
queryKey: [`data_${relation}`, domainObject],
|
|
4832
|
+
service,
|
|
4833
|
+
xNode
|
|
4822
4834
|
});
|
|
4823
4835
|
const customNoOptionsMessage = () => placeholderNoOption;
|
|
4824
4836
|
const tranfer = (data2) => {
|
|
@@ -6286,6 +6298,7 @@ var tableGroupController = (props) => {
|
|
|
6286
6298
|
setSelectedRowKeys2([...clonedKeys, -1]);
|
|
6287
6299
|
setTimeout(() => setSelectedRowKeys2(clonedKeys), 500);
|
|
6288
6300
|
} else if (isShowGroup && selectedRowKeys?.length > 0 && typeTableGroup === "list" && !checkedAll && !allIdsNull) {
|
|
6301
|
+
console.log("abc");
|
|
6289
6302
|
const filteredKeys = selectedRowKeys.filter((id) => id > -1);
|
|
6290
6303
|
setSelectedRowKeys2(filteredKeys);
|
|
6291
6304
|
}
|
package/dist/widget.mjs
CHANGED
|
@@ -4505,7 +4505,9 @@ var many2oneFieldController = (props) => {
|
|
|
4505
4505
|
name,
|
|
4506
4506
|
context: fieldContext,
|
|
4507
4507
|
options: fieldOptions,
|
|
4508
|
-
showDetail
|
|
4508
|
+
showDetail,
|
|
4509
|
+
service,
|
|
4510
|
+
xNode
|
|
4509
4511
|
} = props;
|
|
4510
4512
|
const { env } = (0, provider_exports.useEnv)();
|
|
4511
4513
|
const [options, setOptions] = useState7([]);
|
|
@@ -4536,6 +4538,7 @@ var many2oneFieldController = (props) => {
|
|
|
4536
4538
|
}
|
|
4537
4539
|
};
|
|
4538
4540
|
const queryKey = [`data_${relation}`, domainObject];
|
|
4541
|
+
console.log("data", data);
|
|
4539
4542
|
const {
|
|
4540
4543
|
data: dataOfSelection,
|
|
4541
4544
|
refetch,
|
|
@@ -4543,7 +4546,9 @@ var many2oneFieldController = (props) => {
|
|
|
4543
4546
|
} = useGetSelection3({
|
|
4544
4547
|
data,
|
|
4545
4548
|
queryKey,
|
|
4546
|
-
enabled: false
|
|
4549
|
+
enabled: false,
|
|
4550
|
+
service,
|
|
4551
|
+
xNode
|
|
4547
4552
|
});
|
|
4548
4553
|
const selectOptions = useMemo8(() => {
|
|
4549
4554
|
return dataOfSelection?.records?.map((val) => ({
|
|
@@ -4670,7 +4675,7 @@ import { getEnv as getEnv2 } from "@fctc/interface-logic/environment";
|
|
|
4670
4675
|
import { useGetSelection as useGetSelection2 } from "@fctc/interface-logic/hooks";
|
|
4671
4676
|
import { evalJSONDomain as evalJSONDomain3, evalJSONContext as evalJSONContext3 } from "@fctc/interface-logic/utils";
|
|
4672
4677
|
var many2oneButtonController = (props) => {
|
|
4673
|
-
const { domain, methods, relation } = props;
|
|
4678
|
+
const { domain, methods, relation, service, xNode } = props;
|
|
4674
4679
|
const actionDataString = sessionStorage.getItem("actionData");
|
|
4675
4680
|
const env = getEnv2();
|
|
4676
4681
|
const domainObject = evalJSONDomain3(domain, methods?.getValues() || {});
|
|
@@ -4681,7 +4686,9 @@ var many2oneButtonController = (props) => {
|
|
|
4681
4686
|
domain: domainObject,
|
|
4682
4687
|
context: { ...env.context, ...evalJSONContext3(actionData?.context) }
|
|
4683
4688
|
},
|
|
4684
|
-
queryKey: [`data_${relation}`, domainObject]
|
|
4689
|
+
queryKey: [`data_${relation}`, domainObject],
|
|
4690
|
+
service,
|
|
4691
|
+
xNode
|
|
4685
4692
|
});
|
|
4686
4693
|
const options = dataOfSelection?.records?.map((val) => ({
|
|
4687
4694
|
value: val.id,
|
|
@@ -4855,7 +4862,9 @@ var many2manyTagsController = (props) => {
|
|
|
4855
4862
|
options: optionsFields,
|
|
4856
4863
|
widget,
|
|
4857
4864
|
formValues,
|
|
4858
|
-
placeholderNoOption
|
|
4865
|
+
placeholderNoOption,
|
|
4866
|
+
service,
|
|
4867
|
+
xNode
|
|
4859
4868
|
} = props;
|
|
4860
4869
|
const isUser = relation === "res.users" || relation === "res.partner";
|
|
4861
4870
|
const { env } = (0, provider_exports.useEnv)();
|
|
@@ -4878,9 +4887,12 @@ var many2manyTagsController = (props) => {
|
|
|
4878
4887
|
enabled: true,
|
|
4879
4888
|
context: env.context
|
|
4880
4889
|
};
|
|
4890
|
+
console.log("data", data);
|
|
4881
4891
|
const { data: dataOfSelection } = useGetSelection3({
|
|
4882
4892
|
data,
|
|
4883
|
-
queryKey: [`data_${relation}`, domainObject]
|
|
4893
|
+
queryKey: [`data_${relation}`, domainObject],
|
|
4894
|
+
service,
|
|
4895
|
+
xNode
|
|
4884
4896
|
});
|
|
4885
4897
|
const customNoOptionsMessage = () => placeholderNoOption;
|
|
4886
4898
|
const tranfer = (data2) => {
|
|
@@ -6351,6 +6363,7 @@ var tableGroupController = (props) => {
|
|
|
6351
6363
|
setSelectedRowKeys2([...clonedKeys, -1]);
|
|
6352
6364
|
setTimeout(() => setSelectedRowKeys2(clonedKeys), 500);
|
|
6353
6365
|
} else if (isShowGroup && selectedRowKeys?.length > 0 && typeTableGroup === "list" && !checkedAll && !allIdsNull) {
|
|
6366
|
+
console.log("abc");
|
|
6354
6367
|
const filteredKeys = selectedRowKeys.filter((id) => id > -1);
|
|
6355
6368
|
setSelectedRowKeys2(filteredKeys);
|
|
6356
6369
|
}
|
package/package.json
CHANGED
|
@@ -1,96 +1,96 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@fctc/widget-logic",
|
|
3
|
-
"version": "2.4.
|
|
4
|
-
"types": "dist/index.d.ts",
|
|
5
|
-
"main": "dist/index.cjs",
|
|
6
|
-
"module": "dist/index.mjs",
|
|
7
|
-
"exports": {
|
|
8
|
-
".": {
|
|
9
|
-
"types": "./dist/index.d.ts",
|
|
10
|
-
"import": "./dist/index.mjs",
|
|
11
|
-
"require": "./dist/index.cjs"
|
|
12
|
-
},
|
|
13
|
-
"./hooks": {
|
|
14
|
-
"types": "./dist/hooks.d.ts",
|
|
15
|
-
"import": "./dist/hooks.mjs",
|
|
16
|
-
"require": "./dist/hooks.cjs"
|
|
17
|
-
},
|
|
18
|
-
"./widget": {
|
|
19
|
-
"types": "./dist/widget.d.ts",
|
|
20
|
-
"import": "./dist/widget.mjs",
|
|
21
|
-
"require": "./dist/widget.cjs"
|
|
22
|
-
},
|
|
23
|
-
"./icons": {
|
|
24
|
-
"types": "./dist/icons.d.ts",
|
|
25
|
-
"import": "./dist/icons.mjs",
|
|
26
|
-
"require": "./dist/icons.cjs"
|
|
27
|
-
},
|
|
28
|
-
"./utils": {
|
|
29
|
-
"types": "./dist/utils.d.ts",
|
|
30
|
-
"import": "./dist/utils.mjs",
|
|
31
|
-
"require": "./dist/utils.cjs"
|
|
32
|
-
},
|
|
33
|
-
"./store": {
|
|
34
|
-
"types": "./dist/store.d.ts",
|
|
35
|
-
"import": "./dist/store.mjs",
|
|
36
|
-
"require": "./dist/store.cjs"
|
|
37
|
-
},
|
|
38
|
-
"./config": {
|
|
39
|
-
"types": "./dist/config.d.ts",
|
|
40
|
-
"import": "./dist/config.mjs",
|
|
41
|
-
"require": "./dist/config.cjs"
|
|
42
|
-
},
|
|
43
|
-
"./constants": {
|
|
44
|
-
"types": "./dist/constants.d.ts",
|
|
45
|
-
"import": "./dist/constants.mjs",
|
|
46
|
-
"require": "./dist/constants.cjs"
|
|
47
|
-
},
|
|
48
|
-
"./environment": {
|
|
49
|
-
"types": "./dist/environment.d.ts",
|
|
50
|
-
"import": "./dist/environment.mjs",
|
|
51
|
-
"require": "./dist/environment.cjs"
|
|
52
|
-
},
|
|
53
|
-
"./provider": {
|
|
54
|
-
"types": "./dist/provider.d.ts",
|
|
55
|
-
"import": "./dist/provider.mjs",
|
|
56
|
-
"require": "./dist/provider.cjs"
|
|
57
|
-
},
|
|
58
|
-
"./services": {
|
|
59
|
-
"types": "./dist/services.d.ts",
|
|
60
|
-
"import": "./dist/services.mjs",
|
|
61
|
-
"require": "./dist/services.cjs"
|
|
62
|
-
},
|
|
63
|
-
"./types": {
|
|
64
|
-
"types": "./dist/types.d.ts",
|
|
65
|
-
"import": "./dist/types.mjs",
|
|
66
|
-
"require": "./dist/types.cjs"
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
"files": [
|
|
70
|
-
"dist"
|
|
71
|
-
],
|
|
72
|
-
"scripts": {
|
|
73
|
-
"build": "tsup",
|
|
74
|
-
"test": "jest"
|
|
75
|
-
},
|
|
76
|
-
"dependencies": {
|
|
77
|
-
"@fctc/interface-logic": "^2.
|
|
78
|
-
"@headlessui/react": "^2.2.6",
|
|
79
|
-
"@tanstack/react-query": "^5.84.0",
|
|
80
|
-
"i18next": "^25.3.2",
|
|
81
|
-
"i18next-browser-languagedetector": "^8.2.0",
|
|
82
|
-
"react-i18next": "^15.6.1",
|
|
83
|
-
"react-tooltip": "^5.29.1"
|
|
84
|
-
},
|
|
85
|
-
"devDependencies": {
|
|
86
|
-
"@types/react": "^18.3.1",
|
|
87
|
-
"jest": "^29.7.0",
|
|
88
|
-
"react": "18.0.0",
|
|
89
|
-
"tsup": "^8.0.0",
|
|
90
|
-
"typescript": "^5.8.2"
|
|
91
|
-
},
|
|
92
|
-
"packageManager": "yarn@1.22.0",
|
|
93
|
-
"peerDependencies": {
|
|
94
|
-
"@fctc/interface-logic": "^1.6.9"
|
|
95
|
-
}
|
|
96
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@fctc/widget-logic",
|
|
3
|
+
"version": "2.4.9",
|
|
4
|
+
"types": "dist/index.d.ts",
|
|
5
|
+
"main": "dist/index.cjs",
|
|
6
|
+
"module": "dist/index.mjs",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"import": "./dist/index.mjs",
|
|
11
|
+
"require": "./dist/index.cjs"
|
|
12
|
+
},
|
|
13
|
+
"./hooks": {
|
|
14
|
+
"types": "./dist/hooks.d.ts",
|
|
15
|
+
"import": "./dist/hooks.mjs",
|
|
16
|
+
"require": "./dist/hooks.cjs"
|
|
17
|
+
},
|
|
18
|
+
"./widget": {
|
|
19
|
+
"types": "./dist/widget.d.ts",
|
|
20
|
+
"import": "./dist/widget.mjs",
|
|
21
|
+
"require": "./dist/widget.cjs"
|
|
22
|
+
},
|
|
23
|
+
"./icons": {
|
|
24
|
+
"types": "./dist/icons.d.ts",
|
|
25
|
+
"import": "./dist/icons.mjs",
|
|
26
|
+
"require": "./dist/icons.cjs"
|
|
27
|
+
},
|
|
28
|
+
"./utils": {
|
|
29
|
+
"types": "./dist/utils.d.ts",
|
|
30
|
+
"import": "./dist/utils.mjs",
|
|
31
|
+
"require": "./dist/utils.cjs"
|
|
32
|
+
},
|
|
33
|
+
"./store": {
|
|
34
|
+
"types": "./dist/store.d.ts",
|
|
35
|
+
"import": "./dist/store.mjs",
|
|
36
|
+
"require": "./dist/store.cjs"
|
|
37
|
+
},
|
|
38
|
+
"./config": {
|
|
39
|
+
"types": "./dist/config.d.ts",
|
|
40
|
+
"import": "./dist/config.mjs",
|
|
41
|
+
"require": "./dist/config.cjs"
|
|
42
|
+
},
|
|
43
|
+
"./constants": {
|
|
44
|
+
"types": "./dist/constants.d.ts",
|
|
45
|
+
"import": "./dist/constants.mjs",
|
|
46
|
+
"require": "./dist/constants.cjs"
|
|
47
|
+
},
|
|
48
|
+
"./environment": {
|
|
49
|
+
"types": "./dist/environment.d.ts",
|
|
50
|
+
"import": "./dist/environment.mjs",
|
|
51
|
+
"require": "./dist/environment.cjs"
|
|
52
|
+
},
|
|
53
|
+
"./provider": {
|
|
54
|
+
"types": "./dist/provider.d.ts",
|
|
55
|
+
"import": "./dist/provider.mjs",
|
|
56
|
+
"require": "./dist/provider.cjs"
|
|
57
|
+
},
|
|
58
|
+
"./services": {
|
|
59
|
+
"types": "./dist/services.d.ts",
|
|
60
|
+
"import": "./dist/services.mjs",
|
|
61
|
+
"require": "./dist/services.cjs"
|
|
62
|
+
},
|
|
63
|
+
"./types": {
|
|
64
|
+
"types": "./dist/types.d.ts",
|
|
65
|
+
"import": "./dist/types.mjs",
|
|
66
|
+
"require": "./dist/types.cjs"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"files": [
|
|
70
|
+
"dist"
|
|
71
|
+
],
|
|
72
|
+
"scripts": {
|
|
73
|
+
"build": "tsup",
|
|
74
|
+
"test": "jest"
|
|
75
|
+
},
|
|
76
|
+
"dependencies": {
|
|
77
|
+
"@fctc/interface-logic": "^2.3.5",
|
|
78
|
+
"@headlessui/react": "^2.2.6",
|
|
79
|
+
"@tanstack/react-query": "^5.84.0",
|
|
80
|
+
"i18next": "^25.3.2",
|
|
81
|
+
"i18next-browser-languagedetector": "^8.2.0",
|
|
82
|
+
"react-i18next": "^15.6.1",
|
|
83
|
+
"react-tooltip": "^5.29.1"
|
|
84
|
+
},
|
|
85
|
+
"devDependencies": {
|
|
86
|
+
"@types/react": "^18.3.1",
|
|
87
|
+
"jest": "^29.7.0",
|
|
88
|
+
"react": "18.0.0",
|
|
89
|
+
"tsup": "^8.0.0",
|
|
90
|
+
"typescript": "^5.8.2"
|
|
91
|
+
},
|
|
92
|
+
"packageManager": "yarn@1.22.0",
|
|
93
|
+
"peerDependencies": {
|
|
94
|
+
"@fctc/interface-logic": "^1.6.9"
|
|
95
|
+
}
|
|
96
|
+
}
|