@fctc/widget-logic 1.8.7 → 1.8.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 +1 -11
- package/dist/index.mjs +1 -11
- package/dist/widget.d.mts +1 -2
- package/dist/widget.d.ts +1 -2
- package/dist/widget.js +1 -11
- package/dist/widget.mjs +1 -11
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -5678,16 +5678,7 @@ var import_hooks15 = require("@fctc/interface-logic/hooks");
|
|
|
5678
5678
|
var import_store9 = require("@fctc/interface-logic/store");
|
|
5679
5679
|
var import_utils8 = require("@fctc/interface-logic/utils");
|
|
5680
5680
|
var durationController = (props) => {
|
|
5681
|
-
const {
|
|
5682
|
-
relation,
|
|
5683
|
-
defaultValue,
|
|
5684
|
-
domain,
|
|
5685
|
-
formValues,
|
|
5686
|
-
name,
|
|
5687
|
-
id,
|
|
5688
|
-
model,
|
|
5689
|
-
onRefetch
|
|
5690
|
-
} = props;
|
|
5681
|
+
const { relation, domain, formValues, name, id, model, onRefetch } = props;
|
|
5691
5682
|
const specification = {
|
|
5692
5683
|
id: 0,
|
|
5693
5684
|
name: "",
|
|
@@ -5737,7 +5728,6 @@ var durationController = (props) => {
|
|
|
5737
5728
|
}
|
|
5738
5729
|
};
|
|
5739
5730
|
return {
|
|
5740
|
-
defaultValue,
|
|
5741
5731
|
dataResponse,
|
|
5742
5732
|
handleClick,
|
|
5743
5733
|
disabled,
|
package/dist/index.mjs
CHANGED
|
@@ -5717,16 +5717,7 @@ import { useGetListData as useGetListData2, useChangeStatus } from "@fctc/interf
|
|
|
5717
5717
|
import { useAppSelector as useAppSelector4, selectEnv as selectEnv2 } from "@fctc/interface-logic/store";
|
|
5718
5718
|
import { evalJSONDomain as evalJSONDomain5 } from "@fctc/interface-logic/utils";
|
|
5719
5719
|
var durationController = (props) => {
|
|
5720
|
-
const {
|
|
5721
|
-
relation,
|
|
5722
|
-
defaultValue,
|
|
5723
|
-
domain,
|
|
5724
|
-
formValues,
|
|
5725
|
-
name,
|
|
5726
|
-
id,
|
|
5727
|
-
model,
|
|
5728
|
-
onRefetch
|
|
5729
|
-
} = props;
|
|
5720
|
+
const { relation, domain, formValues, name, id, model, onRefetch } = props;
|
|
5730
5721
|
const specification = {
|
|
5731
5722
|
id: 0,
|
|
5732
5723
|
name: "",
|
|
@@ -5776,7 +5767,6 @@ var durationController = (props) => {
|
|
|
5776
5767
|
}
|
|
5777
5768
|
};
|
|
5778
5769
|
return {
|
|
5779
|
-
defaultValue,
|
|
5780
5770
|
dataResponse,
|
|
5781
5771
|
handleClick,
|
|
5782
5772
|
disabled,
|
package/dist/widget.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ChangeEvent } from 'react';
|
|
3
|
-
import { IInputFieldProps
|
|
3
|
+
import { IInputFieldProps } from './types.mjs';
|
|
4
4
|
import moment from 'moment';
|
|
5
5
|
import '@fctc/interface-logic/types';
|
|
6
6
|
|
|
@@ -101,7 +101,6 @@ interface IDurationFieldProps extends IInputFieldProps {
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
declare const durationController: (props: IDurationFieldProps) => {
|
|
104
|
-
defaultValue: string | number | ValuePropsType | undefined;
|
|
105
104
|
dataResponse: any;
|
|
106
105
|
handleClick: (stage_id: any) => Promise<void>;
|
|
107
106
|
disabled: boolean;
|
package/dist/widget.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ChangeEvent } from 'react';
|
|
3
|
-
import { IInputFieldProps
|
|
3
|
+
import { IInputFieldProps } from './types.js';
|
|
4
4
|
import moment from 'moment';
|
|
5
5
|
import '@fctc/interface-logic/types';
|
|
6
6
|
|
|
@@ -101,7 +101,6 @@ interface IDurationFieldProps extends IInputFieldProps {
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
declare const durationController: (props: IDurationFieldProps) => {
|
|
104
|
-
defaultValue: string | number | ValuePropsType | undefined;
|
|
105
104
|
dataResponse: any;
|
|
106
105
|
handleClick: (stage_id: any) => Promise<void>;
|
|
107
106
|
disabled: boolean;
|
package/dist/widget.js
CHANGED
|
@@ -5404,16 +5404,7 @@ var import_hooks15 = require("@fctc/interface-logic/hooks");
|
|
|
5404
5404
|
var import_store9 = require("@fctc/interface-logic/store");
|
|
5405
5405
|
var import_utils8 = require("@fctc/interface-logic/utils");
|
|
5406
5406
|
var durationController = (props) => {
|
|
5407
|
-
const {
|
|
5408
|
-
relation,
|
|
5409
|
-
defaultValue,
|
|
5410
|
-
domain,
|
|
5411
|
-
formValues,
|
|
5412
|
-
name,
|
|
5413
|
-
id,
|
|
5414
|
-
model,
|
|
5415
|
-
onRefetch
|
|
5416
|
-
} = props;
|
|
5407
|
+
const { relation, domain, formValues, name, id, model, onRefetch } = props;
|
|
5417
5408
|
const specification = {
|
|
5418
5409
|
id: 0,
|
|
5419
5410
|
name: "",
|
|
@@ -5463,7 +5454,6 @@ var durationController = (props) => {
|
|
|
5463
5454
|
}
|
|
5464
5455
|
};
|
|
5465
5456
|
return {
|
|
5466
|
-
defaultValue,
|
|
5467
5457
|
dataResponse,
|
|
5468
5458
|
handleClick,
|
|
5469
5459
|
disabled,
|
package/dist/widget.mjs
CHANGED
|
@@ -5417,16 +5417,7 @@ import { useGetListData as useGetListData2, useChangeStatus } from "@fctc/interf
|
|
|
5417
5417
|
import { useAppSelector as useAppSelector4, selectEnv as selectEnv2 } from "@fctc/interface-logic/store";
|
|
5418
5418
|
import { evalJSONDomain as evalJSONDomain5 } from "@fctc/interface-logic/utils";
|
|
5419
5419
|
var durationController = (props) => {
|
|
5420
|
-
const {
|
|
5421
|
-
relation,
|
|
5422
|
-
defaultValue,
|
|
5423
|
-
domain,
|
|
5424
|
-
formValues,
|
|
5425
|
-
name,
|
|
5426
|
-
id,
|
|
5427
|
-
model,
|
|
5428
|
-
onRefetch
|
|
5429
|
-
} = props;
|
|
5420
|
+
const { relation, domain, formValues, name, id, model, onRefetch } = props;
|
|
5430
5421
|
const specification = {
|
|
5431
5422
|
id: 0,
|
|
5432
5423
|
name: "",
|
|
@@ -5476,7 +5467,6 @@ var durationController = (props) => {
|
|
|
5476
5467
|
}
|
|
5477
5468
|
};
|
|
5478
5469
|
return {
|
|
5479
|
-
defaultValue,
|
|
5480
5470
|
dataResponse,
|
|
5481
5471
|
handleClick,
|
|
5482
5472
|
disabled,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fctc/widget-logic",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.9",
|
|
4
4
|
"types": "dist/index.d.ts",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"test": "jest"
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"@fctc/interface-logic": "^
|
|
77
|
+
"@fctc/interface-logic": "^2.0.0",
|
|
78
78
|
"@headlessui/react": "^2.2.6",
|
|
79
79
|
"@tanstack/react-query": "^5.84.0",
|
|
80
80
|
"i18next": "^25.3.2",
|