@fctc/widget-logic 1.1.2 → 1.1.3
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.d.mts +6 -0
- package/dist/index.d.ts +6 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -48,6 +48,7 @@ interface Many2OneProps {
|
|
|
48
48
|
showDetail: any;
|
|
49
49
|
actionData: any;
|
|
50
50
|
}
|
|
51
|
+
|
|
51
52
|
declare const many2oneFieldController: (props: Many2OneProps) => {
|
|
52
53
|
allowShowDetail: any;
|
|
53
54
|
handleClose: () => void;
|
|
@@ -98,6 +99,7 @@ interface Many2ManyControllerProps {
|
|
|
98
99
|
options: any;
|
|
99
100
|
sessionStorageUtils: any;
|
|
100
101
|
}
|
|
102
|
+
|
|
101
103
|
declare const many2manyFieldController: (props: Many2ManyControllerProps) => {
|
|
102
104
|
rows: any[];
|
|
103
105
|
columns: any;
|
|
@@ -182,6 +184,7 @@ interface PriorityFieldProps {
|
|
|
182
184
|
viewData: any;
|
|
183
185
|
context: any;
|
|
184
186
|
}
|
|
187
|
+
|
|
185
188
|
declare const priorityFieldController: (props: PriorityFieldProps) => {
|
|
186
189
|
selection: any;
|
|
187
190
|
isForm: boolean;
|
|
@@ -235,6 +238,7 @@ type TDownLoadBinaryProps = {
|
|
|
235
238
|
defaultValue: any;
|
|
236
239
|
formValues: any;
|
|
237
240
|
};
|
|
241
|
+
|
|
238
242
|
declare const downLoadBinaryController: (props: TDownLoadBinaryProps) => {
|
|
239
243
|
handleFileDownload: (e: any) => Promise<void>;
|
|
240
244
|
};
|
|
@@ -277,6 +281,7 @@ interface ColorFieldProps extends IInputFieldProps {
|
|
|
277
281
|
onChange?: (name: string, value: any) => void;
|
|
278
282
|
[key: string]: any;
|
|
279
283
|
}
|
|
284
|
+
|
|
280
285
|
declare const colorFieldController: (props: ColorFieldProps) => {
|
|
281
286
|
savePickColor: (colorObject: any) => Promise<void>;
|
|
282
287
|
};
|
|
@@ -330,6 +335,7 @@ interface UseTableProps {
|
|
|
330
335
|
typeTable?: 'list' | 'group' | 'calendar';
|
|
331
336
|
};
|
|
332
337
|
}
|
|
338
|
+
|
|
333
339
|
declare const useTableHandler: ({ data }: UseTableProps) => {
|
|
334
340
|
rows: any[];
|
|
335
341
|
columns: any;
|
package/dist/index.d.ts
CHANGED
|
@@ -48,6 +48,7 @@ interface Many2OneProps {
|
|
|
48
48
|
showDetail: any;
|
|
49
49
|
actionData: any;
|
|
50
50
|
}
|
|
51
|
+
|
|
51
52
|
declare const many2oneFieldController: (props: Many2OneProps) => {
|
|
52
53
|
allowShowDetail: any;
|
|
53
54
|
handleClose: () => void;
|
|
@@ -98,6 +99,7 @@ interface Many2ManyControllerProps {
|
|
|
98
99
|
options: any;
|
|
99
100
|
sessionStorageUtils: any;
|
|
100
101
|
}
|
|
102
|
+
|
|
101
103
|
declare const many2manyFieldController: (props: Many2ManyControllerProps) => {
|
|
102
104
|
rows: any[];
|
|
103
105
|
columns: any;
|
|
@@ -182,6 +184,7 @@ interface PriorityFieldProps {
|
|
|
182
184
|
viewData: any;
|
|
183
185
|
context: any;
|
|
184
186
|
}
|
|
187
|
+
|
|
185
188
|
declare const priorityFieldController: (props: PriorityFieldProps) => {
|
|
186
189
|
selection: any;
|
|
187
190
|
isForm: boolean;
|
|
@@ -235,6 +238,7 @@ type TDownLoadBinaryProps = {
|
|
|
235
238
|
defaultValue: any;
|
|
236
239
|
formValues: any;
|
|
237
240
|
};
|
|
241
|
+
|
|
238
242
|
declare const downLoadBinaryController: (props: TDownLoadBinaryProps) => {
|
|
239
243
|
handleFileDownload: (e: any) => Promise<void>;
|
|
240
244
|
};
|
|
@@ -277,6 +281,7 @@ interface ColorFieldProps extends IInputFieldProps {
|
|
|
277
281
|
onChange?: (name: string, value: any) => void;
|
|
278
282
|
[key: string]: any;
|
|
279
283
|
}
|
|
284
|
+
|
|
280
285
|
declare const colorFieldController: (props: ColorFieldProps) => {
|
|
281
286
|
savePickColor: (colorObject: any) => Promise<void>;
|
|
282
287
|
};
|
|
@@ -330,6 +335,7 @@ interface UseTableProps {
|
|
|
330
335
|
typeTable?: 'list' | 'group' | 'calendar';
|
|
331
336
|
};
|
|
332
337
|
}
|
|
338
|
+
|
|
333
339
|
declare const useTableHandler: ({ data }: UseTableProps) => {
|
|
334
340
|
rows: any[];
|
|
335
341
|
columns: any;
|