@erpsquad/common 1.8.120 → 1.8.122
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/_virtual/index/index.esm10.js +3 -3
- package/dist/_virtual/index/index.esm2.js +3 -3
- package/dist/_virtual/index/index.esm3.js +3 -3
- package/dist/_virtual/index/index.esm4.js +3 -3
- package/dist/_virtual/index/index.esm5.js +3 -3
- package/dist/_virtual/index/index.esm6.js +3 -3
- package/dist/_virtual/index/index.esm7.js +3 -3
- package/dist/_virtual/index/index.esm8.js +3 -3
- package/dist/_virtual/index/index.esm9.js +3 -3
- package/dist/_virtual/index/index10.js +1 -1
- package/dist/_virtual/index/index2.js +1 -1
- package/dist/_virtual/index/index3.js +1 -1
- package/dist/_virtual/index/index4.js +1 -1
- package/dist/_virtual/index/index5.js +1 -1
- package/dist/_virtual/index/index6.js +1 -1
- package/dist/_virtual/index/index7.js +1 -1
- package/dist/_virtual/index/index8.js +1 -1
- package/dist/_virtual/index/index9.js +1 -1
- package/dist/components/accordion/accordion.d.ts +1 -1
- package/dist/components/action-bar/action-bar.d.ts +1 -1
- package/dist/components/checkbox/checkbox.d.ts +1 -1
- package/dist/components/date-picker/date-picker.d.ts +1 -1
- package/dist/components/footer/footer.d.ts +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/media.d.ts +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/phone.d.ts +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/select.d.ts +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/text.d.ts +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/time.d.ts +1 -1
- package/dist/components/form-control/form-parser/form-parser/index.esm.js +11 -3
- package/dist/components/form-control/form-parser/form-parser/index.esm.js.map +1 -1
- package/dist/components/form-control/form-parser/form-parser/index.js +4 -4
- package/dist/components/form-control/form-parser/form-parser/index.js.map +1 -1
- package/dist/components/form-control/form-parser/form-parser.d.ts +0 -1
- package/dist/components/form-control/form-parser/form-switcher.d.ts +1 -1
- package/dist/components/icons/action-arrow.d.ts +3 -3
- package/dist/components/icons/add-circle.d.ts +3 -3
- package/dist/components/icons/arrow-bidirectional.d.ts +3 -3
- package/dist/components/icons/arrow-circle-down.d.ts +3 -3
- package/dist/components/icons/arrow-down-three.d.ts +3 -3
- package/dist/components/icons/arrow-down-two.d.ts +3 -3
- package/dist/components/icons/arrow-down.d.ts +3 -3
- package/dist/components/icons/arrow-up-down.d.ts +3 -3
- package/dist/components/icons/arrow-up-two.d.ts +3 -3
- package/dist/components/icons/assignments.d.ts +3 -3
- package/dist/components/icons/blank-circle.d.ts +3 -3
- package/dist/components/icons/block-filled.d.ts +3 -3
- package/dist/components/icons/calendar-add.d.ts +3 -3
- package/dist/components/icons/calendar.d.ts +3 -3
- package/dist/components/icons/checkbox-square.d.ts +3 -3
- package/dist/components/icons/circular-arrow-setting.d.ts +3 -3
- package/dist/components/icons/clock.d.ts +3 -3
- package/dist/components/icons/close.d.ts +3 -3
- package/dist/components/icons/coin-outline.d.ts +3 -3
- package/dist/components/icons/copy.d.ts +3 -3
- package/dist/components/icons/coupon.d.ts +3 -3
- package/dist/components/icons/cross-hire.d.ts +3 -3
- package/dist/components/icons/custom-styled-icon.d.ts +3 -3
- package/dist/components/icons/dashboard.d.ts +3 -3
- package/dist/components/icons/document-download.d.ts +3 -3
- package/dist/components/icons/document.d.ts +3 -3
- package/dist/components/icons/dollar-circle-filled.d.ts +3 -3
- package/dist/components/icons/dollar-circle.d.ts +3 -3
- package/dist/components/icons/edit.d.ts +3 -3
- package/dist/components/icons/email.d.ts +3 -3
- package/dist/components/icons/export.d.ts +3 -3
- package/dist/components/icons/eye-off.d.ts +3 -3
- package/dist/components/icons/eye-plus-circle.d.ts +3 -3
- package/dist/components/icons/eye.d.ts +3 -3
- package/dist/components/icons/filled-circle.d.ts +3 -3
- package/dist/components/icons/filter-remove.d.ts +3 -3
- package/dist/components/icons/filter.d.ts +3 -3
- package/dist/components/icons/folder-save.d.ts +3 -3
- package/dist/components/icons/grid.d.ts +3 -3
- package/dist/components/icons/hashtag.d.ts +3 -3
- package/dist/components/icons/image.d.ts +3 -3
- package/dist/components/icons/import.d.ts +3 -3
- package/dist/components/icons/info-circle.d.ts +3 -3
- package/dist/components/icons/info.d.ts +3 -3
- package/dist/components/icons/link-horizontal.d.ts +3 -3
- package/dist/components/icons/link.d.ts +3 -3
- package/dist/components/icons/location.d.ts +3 -3
- package/dist/components/icons/lowest-lead-time.d.ts +3 -3
- package/dist/components/icons/lowest-min-qty.d.ts +3 -3
- package/dist/components/icons/lowest-price.d.ts +3 -3
- package/dist/components/icons/more.d.ts +3 -3
- package/dist/components/icons/notification.d.ts +3 -3
- package/dist/components/icons/paper-clip.d.ts +3 -3
- package/dist/components/icons/paragraph.d.ts +3 -3
- package/dist/components/icons/payment-request.d.ts +3 -3
- package/dist/components/icons/phone.d.ts +3 -3
- package/dist/components/icons/printer.d.ts +3 -3
- package/dist/components/icons/process-calendar.d.ts +3 -3
- package/dist/components/icons/promotion.d.ts +3 -3
- package/dist/components/icons/radio-button.d.ts +3 -3
- package/dist/components/icons/receipt-filled.d.ts +3 -3
- package/dist/components/icons/receipt-outline.d.ts +3 -3
- package/dist/components/icons/receipt.d.ts +3 -3
- package/dist/components/icons/refresh-icon.d.ts +3 -3
- package/dist/components/icons/replace.d.ts +3 -3
- package/dist/components/icons/save.d.ts +3 -3
- package/dist/components/icons/search-status.d.ts +3 -3
- package/dist/components/icons/search.d.ts +3 -3
- package/dist/components/icons/settings-fallback.d.ts +3 -3
- package/dist/components/icons/sort-arrow-icon.d.ts +3 -3
- package/dist/components/icons/stacked-layer.d.ts +3 -3
- package/dist/components/icons/start-filled.d.ts +3 -3
- package/dist/components/icons/three-dot-icon.d.ts +3 -3
- package/dist/components/icons/tick-circle-filled.d.ts +3 -3
- package/dist/components/icons/tick-circle.d.ts +3 -3
- package/dist/components/icons/tick-octagon.d.ts +3 -3
- package/dist/components/icons/tick.d.ts +3 -3
- package/dist/components/icons/toggle-switch.d.ts +3 -3
- package/dist/components/icons/trash.d.ts +3 -3
- package/dist/components/icons/wave.d.ts +3 -3
- package/dist/components/icons/with-out-tick-octagon.d.ts +3 -3
- package/dist/components/icons/work-centre.d.ts +3 -3
- package/dist/components/index.esm.js +2 -2
- package/dist/components/index.js +1 -1
- package/dist/components/location-select.d.ts +1 -1
- package/dist/components/material-editable-table/material-editable-table.d.ts +1 -1
- package/dist/components/material-table/material-table.d.ts +1 -1
- package/dist/components/phone-input/phone-input.d.ts +1 -1
- package/dist/components/radio/radio.d.ts +1 -1
- package/dist/components/select/select.d.ts +1 -1
- package/dist/components/switches/android-12-switch.d.ts +3 -1
- package/dist/components/text-field/text-field.d.ts +1 -1
- package/dist/components/time-picker/time-picker.d.ts +1 -1
- package/dist/components/upload-media/upload-media.d.ts +1 -1
- package/dist/hooks/useUomFieldUpdater/index.esm.js +1 -1
- package/dist/hooks/useUomFieldUpdater/index.esm.js.map +1 -1
- package/dist/hooks/useUomFieldUpdater/index.js +1 -1
- package/dist/hooks/useUomFieldUpdater/index.js.map +1 -1
- package/dist/index.esm.js +75 -75
- package/dist/index.js +1 -1
- package/dist/node_modules/@mui/icons-material/utils/createSvgIcon/index.esm.js +1 -1
- package/dist/node_modules/@mui/icons-material/utils/createSvgIcon/index.js +1 -1
- package/dist/node_modules/@mui/icons-material/utils/createSvgIcon/index.js.map +1 -1
- package/dist/node_modules/@mui/system/colorManipulator/index.esm.js +2 -2
- package/dist/node_modules/@mui/system/colorManipulator/index.js +1 -1
- package/dist/node_modules/@mui/system/colorManipulator/index.js.map +1 -1
- package/dist/node_modules/@mui/system/createStyled/index.esm.js +6 -6
- package/dist/node_modules/@mui/system/createStyled/index.js +1 -1
- package/dist/node_modules/@mui/system/useThemeWithoutDefault/index.esm.js +1 -1
- package/dist/node_modules/@mui/system/useThemeWithoutDefault/index.js +1 -1
- package/dist/src/components/accordion/accordion.d.ts +1 -1
- package/dist/src/components/action-bar/action-bar.d.ts +1 -1
- package/dist/src/components/checkbox/checkbox.d.ts +1 -1
- package/dist/src/components/date-picker/date-picker.d.ts +1 -1
- package/dist/src/components/footer/footer.d.ts +1 -1
- package/dist/src/components/form-control/form-builder/form-builder-element/media.d.ts +1 -1
- package/dist/src/components/form-control/form-builder/form-builder-element/phone.d.ts +1 -1
- package/dist/src/components/form-control/form-builder/form-builder-element/select.d.ts +1 -1
- package/dist/src/components/form-control/form-builder/form-builder-element/text.d.ts +1 -1
- package/dist/src/components/form-control/form-builder/form-builder-element/time.d.ts +1 -1
- package/dist/src/components/form-control/form-parser/form-parser.d.ts +0 -1
- package/dist/src/components/form-control/form-parser/form-switcher.d.ts +1 -1
- package/dist/src/components/icons/action-arrow.d.ts +3 -3
- package/dist/src/components/icons/add-circle.d.ts +3 -3
- package/dist/src/components/icons/arrow-bidirectional.d.ts +3 -3
- package/dist/src/components/icons/arrow-circle-down.d.ts +3 -3
- package/dist/src/components/icons/arrow-down-three.d.ts +3 -3
- package/dist/src/components/icons/arrow-down-two.d.ts +3 -3
- package/dist/src/components/icons/arrow-down.d.ts +3 -3
- package/dist/src/components/icons/arrow-up-down.d.ts +3 -3
- package/dist/src/components/icons/arrow-up-two.d.ts +3 -3
- package/dist/src/components/icons/assignments.d.ts +3 -3
- package/dist/src/components/icons/blank-circle.d.ts +3 -3
- package/dist/src/components/icons/block-filled.d.ts +3 -3
- package/dist/src/components/icons/calendar-add.d.ts +3 -3
- package/dist/src/components/icons/calendar.d.ts +3 -3
- package/dist/src/components/icons/checkbox-square.d.ts +3 -3
- package/dist/src/components/icons/circular-arrow-setting.d.ts +3 -3
- package/dist/src/components/icons/clock.d.ts +3 -3
- package/dist/src/components/icons/close.d.ts +3 -3
- package/dist/src/components/icons/coin-outline.d.ts +3 -3
- package/dist/src/components/icons/copy.d.ts +3 -3
- package/dist/src/components/icons/coupon.d.ts +3 -3
- package/dist/src/components/icons/cross-hire.d.ts +3 -3
- package/dist/src/components/icons/custom-styled-icon.d.ts +3 -3
- package/dist/src/components/icons/dashboard.d.ts +3 -3
- package/dist/src/components/icons/document-download.d.ts +3 -3
- package/dist/src/components/icons/document.d.ts +3 -3
- package/dist/src/components/icons/dollar-circle-filled.d.ts +3 -3
- package/dist/src/components/icons/dollar-circle.d.ts +3 -3
- package/dist/src/components/icons/edit.d.ts +3 -3
- package/dist/src/components/icons/email.d.ts +3 -3
- package/dist/src/components/icons/export.d.ts +3 -3
- package/dist/src/components/icons/eye-off.d.ts +3 -3
- package/dist/src/components/icons/eye-plus-circle.d.ts +3 -3
- package/dist/src/components/icons/eye.d.ts +3 -3
- package/dist/src/components/icons/filled-circle.d.ts +3 -3
- package/dist/src/components/icons/filter-remove.d.ts +3 -3
- package/dist/src/components/icons/filter.d.ts +3 -3
- package/dist/src/components/icons/folder-save.d.ts +3 -3
- package/dist/src/components/icons/grid.d.ts +3 -3
- package/dist/src/components/icons/hashtag.d.ts +3 -3
- package/dist/src/components/icons/image.d.ts +3 -3
- package/dist/src/components/icons/import.d.ts +3 -3
- package/dist/src/components/icons/info-circle.d.ts +3 -3
- package/dist/src/components/icons/info.d.ts +3 -3
- package/dist/src/components/icons/link-horizontal.d.ts +3 -3
- package/dist/src/components/icons/link.d.ts +3 -3
- package/dist/src/components/icons/location.d.ts +3 -3
- package/dist/src/components/icons/lowest-lead-time.d.ts +3 -3
- package/dist/src/components/icons/lowest-min-qty.d.ts +3 -3
- package/dist/src/components/icons/lowest-price.d.ts +3 -3
- package/dist/src/components/icons/more.d.ts +3 -3
- package/dist/src/components/icons/notification.d.ts +3 -3
- package/dist/src/components/icons/paper-clip.d.ts +3 -3
- package/dist/src/components/icons/paragraph.d.ts +3 -3
- package/dist/src/components/icons/payment-request.d.ts +3 -3
- package/dist/src/components/icons/phone.d.ts +3 -3
- package/dist/src/components/icons/printer.d.ts +3 -3
- package/dist/src/components/icons/process-calendar.d.ts +3 -3
- package/dist/src/components/icons/promotion.d.ts +3 -3
- package/dist/src/components/icons/radio-button.d.ts +3 -3
- package/dist/src/components/icons/receipt-filled.d.ts +3 -3
- package/dist/src/components/icons/receipt-outline.d.ts +3 -3
- package/dist/src/components/icons/receipt.d.ts +3 -3
- package/dist/src/components/icons/refresh-icon.d.ts +3 -3
- package/dist/src/components/icons/replace.d.ts +3 -3
- package/dist/src/components/icons/save.d.ts +3 -3
- package/dist/src/components/icons/search-status.d.ts +3 -3
- package/dist/src/components/icons/search.d.ts +3 -3
- package/dist/src/components/icons/settings-fallback.d.ts +3 -3
- package/dist/src/components/icons/sort-arrow-icon.d.ts +3 -3
- package/dist/src/components/icons/stacked-layer.d.ts +3 -3
- package/dist/src/components/icons/start-filled.d.ts +3 -3
- package/dist/src/components/icons/three-dot-icon.d.ts +3 -3
- package/dist/src/components/icons/tick-circle-filled.d.ts +3 -3
- package/dist/src/components/icons/tick-circle.d.ts +3 -3
- package/dist/src/components/icons/tick-octagon.d.ts +3 -3
- package/dist/src/components/icons/tick.d.ts +3 -3
- package/dist/src/components/icons/toggle-switch.d.ts +3 -3
- package/dist/src/components/icons/trash.d.ts +3 -3
- package/dist/src/components/icons/wave.d.ts +3 -3
- package/dist/src/components/icons/with-out-tick-octagon.d.ts +3 -3
- package/dist/src/components/icons/work-centre.d.ts +3 -3
- package/dist/src/components/location-select.d.ts +1 -1
- package/dist/src/components/material-editable-table/material-editable-table.d.ts +1 -1
- package/dist/src/components/material-table/material-table.d.ts +1 -1
- package/dist/src/components/phone-input/phone-input.d.ts +1 -1
- package/dist/src/components/radio/radio.d.ts +1 -1
- package/dist/src/components/select/select.d.ts +1 -1
- package/dist/src/components/switches/android-12-switch.d.ts +3 -1
- package/dist/src/components/text-field/text-field.d.ts +1 -1
- package/dist/src/components/time-picker/time-picker.d.ts +1 -1
- package/dist/src/components/upload-media/upload-media.d.ts +1 -1
- package/dist/src/utils/api.d.ts +3 -9
- package/dist/src/utils/common-utility.d.ts +1 -1
- package/dist/src/utils/common.d.ts +4 -22
- package/dist/src/utils/form-builder-deconversion.d.ts +0 -43
- package/dist/style.css +72 -72
- package/dist/utils/api/index.esm.js +25 -22
- package/dist/utils/api/index.esm.js.map +1 -1
- package/dist/utils/api/index.js +1 -1
- package/dist/utils/api/index.js.map +1 -1
- package/dist/utils/api.d.ts +3 -9
- package/dist/utils/common-utility.d.ts +1 -1
- package/dist/utils/common.d.ts +4 -22
- package/dist/utils/constant/index.esm.js +1 -1
- package/dist/utils/constant/index.esm.js.map +1 -1
- package/dist/utils/constant/index.js +1 -1
- package/dist/utils/constant/index.js.map +1 -1
- package/dist/utils/form-builder-deconversion/index.esm.js +5 -4
- package/dist/utils/form-builder-deconversion/index.esm.js.map +1 -1
- package/dist/utils/form-builder-deconversion/index.js +1 -1
- package/dist/utils/form-builder-deconversion/index.js.map +1 -1
- package/dist/utils/form-builder-deconversion.d.ts +0 -43
- package/dist/utils/index.esm.js +4 -4
- package/dist/utils/index.js +1 -1
- package/dist/views/form-builder/custom-form/index.esm.js +1 -1
- package/dist/views/form-builder/custom-form/index.js +17 -17
- package/dist/views/form-builder/custom-form/index.js.map +1 -1
- package/dist/views/form-builder/utils/common/index.esm.js +1 -1
- package/dist/views/form-builder/utils/common/index.js +1 -1
- package/dist/views/form-builder/utils/common/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -12,6 +12,6 @@ export interface UploadImageProps {
|
|
|
12
12
|
onChange: (e: any) => any;
|
|
13
13
|
multiple: boolean;
|
|
14
14
|
}
|
|
15
|
-
declare const UploadMedia: import('react').
|
|
15
|
+
declare const UploadMedia: import('react').NamedExoticComponent<UploadImageProps>;
|
|
16
16
|
export { UploadMedia };
|
|
17
17
|
export default UploadMedia;
|
package/dist/src/utils/api.d.ts
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import { getPartyName } from './common';
|
|
2
2
|
|
|
3
3
|
export declare function initializeApiBaseUrls(): void;
|
|
4
|
-
export declare const getOptions: (apiFunc: (params: any) => Promise<any>, filters: Record<string, any>, dataKey: string, labelKey: string, defaultColumn: string[], defaultFilter?:
|
|
5
|
-
data:
|
|
6
|
-
label: any;
|
|
7
|
-
value: any;
|
|
8
|
-
}[];
|
|
4
|
+
export declare const getOptions: (apiFunc: (params: any) => Promise<any>, filters: Record<string, any>, dataKey: string, labelKey: string, defaultColumn: string[], defaultFilter?: string, valueKey?: string) => Promise<{
|
|
5
|
+
data: any;
|
|
9
6
|
pagination: any;
|
|
10
7
|
}>;
|
|
11
8
|
export declare const apiConfigurations: {
|
|
@@ -690,10 +687,7 @@ export declare const fetchApi: ({ apiKey, filters, labelKey, valueKey }: {
|
|
|
690
687
|
labelKey?: string;
|
|
691
688
|
valueKey?: string;
|
|
692
689
|
}) => Promise<{
|
|
693
|
-
data:
|
|
694
|
-
label: any;
|
|
695
|
-
value: any;
|
|
696
|
-
}[];
|
|
690
|
+
data: any;
|
|
697
691
|
pagination: any;
|
|
698
692
|
}>;
|
|
699
693
|
export declare const getCurrency: () => void;
|
|
@@ -48,10 +48,10 @@ export declare const transformTableColumns: ({ columns, currencySymbol, translat
|
|
|
48
48
|
};
|
|
49
49
|
redirectionPathWithId?: string;
|
|
50
50
|
idField?: string;
|
|
51
|
+
footer?: string;
|
|
51
52
|
meta?: import('@tanstack/table-core').ColumnMeta<MRT_RowData, unknown>;
|
|
52
53
|
columns?: import('material-react-table').MRT_ColumnDef<MRT_RowData, unknown>[];
|
|
53
54
|
accessorKey?: string | (string & {});
|
|
54
|
-
footer?: string;
|
|
55
55
|
id?: import('material-react-table').LiteralUnion<string, string>;
|
|
56
56
|
Edit?: (props: {
|
|
57
57
|
cell: import('material-react-table').MRT_Cell<MRT_RowData, unknown>;
|
|
@@ -171,28 +171,10 @@ export declare const fetchExchageRate: (id: string, type?: string) => Promise<{
|
|
|
171
171
|
reverse_rate: any;
|
|
172
172
|
}>;
|
|
173
173
|
export declare const showSnackBar: (error: any) => void;
|
|
174
|
-
export declare const fetchCompanyLocations: (companyId: number) => Promise<
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
export declare const fetchItems: (itemId: number, attributes?: string) => Promise<{
|
|
179
|
-
label: any;
|
|
180
|
-
value: any;
|
|
181
|
-
}[]>;
|
|
182
|
-
export declare const getOptionsData: (key: string, id: number, select?: any, isArray?: boolean) => Promise<{
|
|
183
|
-
label: any;
|
|
184
|
-
value: any;
|
|
185
|
-
} | {
|
|
186
|
-
label: any;
|
|
187
|
-
value: any;
|
|
188
|
-
}[]>;
|
|
189
|
-
export declare const fetchOptions: (key: string, filters: any, select?: any, isArray?: boolean) => Promise<{
|
|
190
|
-
label: any;
|
|
191
|
-
value: any;
|
|
192
|
-
} | {
|
|
193
|
-
label: any;
|
|
194
|
-
value: any;
|
|
195
|
-
}[]>;
|
|
174
|
+
export declare const fetchCompanyLocations: (companyId: number) => Promise<any>;
|
|
175
|
+
export declare const fetchItems: (itemId: number, attributes?: string) => Promise<any>;
|
|
176
|
+
export declare const getOptionsData: (key: string, id: number, select?: any, isArray?: boolean) => Promise<any>;
|
|
177
|
+
export declare const fetchOptions: (key: string, filters: any, select?: any, isArray?: boolean) => Promise<any>;
|
|
196
178
|
export declare const createdOnAndBy: (data: any) => string;
|
|
197
179
|
/**
|
|
198
180
|
* Returns the full name of an object based on the provided keys.
|
|
@@ -1,46 +1,3 @@
|
|
|
1
|
-
export type ItemType = {
|
|
2
|
-
section_name: any;
|
|
3
|
-
is_system_field: boolean;
|
|
4
|
-
field_type: string;
|
|
5
|
-
label: string;
|
|
6
|
-
name?: string;
|
|
7
|
-
placeholder: string;
|
|
8
|
-
default_value: any;
|
|
9
|
-
validation: any[];
|
|
10
|
-
is_multiline: any;
|
|
11
|
-
section_order: any;
|
|
12
|
-
option?: any;
|
|
13
|
-
time_format?: string;
|
|
14
|
-
currency?: string;
|
|
15
|
-
field_properties: {
|
|
16
|
-
is_accordion?: boolean;
|
|
17
|
-
float_step?: any;
|
|
18
|
-
options: any;
|
|
19
|
-
is_multiselect: any;
|
|
20
|
-
title: string;
|
|
21
|
-
title_position: "start" | "end";
|
|
22
|
-
is_multiline: boolean;
|
|
23
|
-
is_checked: boolean;
|
|
24
|
-
table: string;
|
|
25
|
-
table_columns: string[];
|
|
26
|
-
table_rows?: any;
|
|
27
|
-
is_multiple: boolean;
|
|
28
|
-
enable_footer?: boolean;
|
|
29
|
-
footer_action?: 'add';
|
|
30
|
-
other_buttons?: React.ReactNode[];
|
|
31
|
-
};
|
|
32
|
-
is_section_field?: true;
|
|
33
|
-
section_type?: "default" | "Form switcher section";
|
|
34
|
-
form_switcher_label?: string;
|
|
35
|
-
form_switcher_name?: string;
|
|
36
|
-
switcher_forms?: {
|
|
37
|
-
value?: string;
|
|
38
|
-
name?: string;
|
|
39
|
-
id?: number;
|
|
40
|
-
}[];
|
|
41
|
-
is_accordion?: boolean;
|
|
42
|
-
};
|
|
43
1
|
declare const formBuilderDeConversion: (formData: any) => any;
|
|
44
2
|
export declare const convertTableColumns: (columns: string[]) => any[];
|
|
45
|
-
export { formBuilderDeConversion };
|
|
46
3
|
export default formBuilderDeConversion;
|