@sparrowengg/integrations-templates-frontend 1.9.84-beta.7 → 1.9.84-beta.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/cjs/_virtual/index10.js +2 -2
- package/dist/cjs/_virtual/index9.js +2 -2
- package/dist/cjs/commons/components/NamingModal.js +79 -0
- package/dist/cjs/commons/components/NamingModal.js.map +1 -0
- package/dist/cjs/integration-template/components/dashboard.js +5 -5
- package/dist/cjs/integration-template/components/dashboard.js.map +1 -1
- package/dist/cjs/mapping/components/mapping.js +0 -1
- package/dist/cjs/mapping/components/mapping.js.map +1 -1
- package/dist/cjs/mapping/index.js +33 -5
- package/dist/cjs/mapping/index.js.map +1 -1
- package/dist/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +1 -1
- package/dist/cjs/node_modules/html-dom-parser/node_modules/domutils/lib/index.js +1 -1
- package/dist/cjs/node_modules/html-dom-parser/node_modules/htmlparser2/lib/index.js +1 -1
- package/dist/es/_virtual/index10.js +2 -2
- package/dist/es/_virtual/index9.js +2 -2
- package/dist/es/commons/components/NamingModal.js +75 -0
- package/dist/es/commons/components/NamingModal.js.map +1 -0
- package/dist/es/integration-template/components/dashboard.js +5 -5
- package/dist/es/integration-template/components/dashboard.js.map +1 -1
- package/dist/es/mapping/components/mapping.js +0 -1
- package/dist/es/mapping/components/mapping.js.map +1 -1
- package/dist/es/mapping/index.js +33 -5
- package/dist/es/mapping/index.js.map +1 -1
- package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/dialog/dialog.js +1 -1
- package/dist/es/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +1 -1
- package/dist/es/node_modules/html-dom-parser/node_modules/domutils/lib/index.js +1 -1
- package/dist/es/node_modules/html-dom-parser/node_modules/htmlparser2/lib/index.js +1 -1
- package/dist/index.d.ts +9 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -45,6 +45,7 @@ type IntegrationFieldType = {
|
|
|
45
45
|
};
|
|
46
46
|
|
|
47
47
|
type FieldMappingPropsType = {
|
|
48
|
+
hasNamingModal: boolean;
|
|
48
49
|
havingTypeDropdown: boolean;
|
|
49
50
|
onSaveMappingLoader: boolean;
|
|
50
51
|
surveyDetails: {
|
|
@@ -58,19 +59,19 @@ type FieldMappingPropsType = {
|
|
|
58
59
|
setIntegrationFields: React$1.Dispatch<React$1.SetStateAction<Array<IntegrationFieldType>>>;
|
|
59
60
|
apiURL: string;
|
|
60
61
|
token: string;
|
|
61
|
-
accounts
|
|
62
|
+
accounts?: {
|
|
62
63
|
hasAccounts: boolean;
|
|
63
64
|
options: Array<SelectOption$2>;
|
|
64
65
|
value: SelectOption$2 | null | boolean;
|
|
65
66
|
onChangeHandler: (value: SelectOption$2 | SelectOption$2[] | boolean | null) => void;
|
|
66
67
|
};
|
|
67
|
-
events
|
|
68
|
+
events?: {
|
|
68
69
|
hasEvents: boolean;
|
|
69
70
|
options: Array<SelectOption$2>;
|
|
70
71
|
value: SelectOption$2 | null | boolean;
|
|
71
72
|
onChangeHandler: (value: SelectOption$2 | SelectOption$2[] | boolean | null) => void;
|
|
72
73
|
};
|
|
73
|
-
actions
|
|
74
|
+
actions?: {
|
|
74
75
|
hasActions: boolean;
|
|
75
76
|
options: Array<SelectOption$2>;
|
|
76
77
|
value: SelectOption$2 | null | boolean;
|
|
@@ -91,13 +92,15 @@ type FieldMappingPropsType = {
|
|
|
91
92
|
onDeleteHandler?: (id: string | number) => void;
|
|
92
93
|
draftHandler: (type: string | null, editFieldId?: string | number) => void;
|
|
93
94
|
configuration: {
|
|
95
|
+
setMappingName?: (value: string) => void;
|
|
96
|
+
currentMappingName?: string;
|
|
94
97
|
hasConfiguration: boolean;
|
|
95
98
|
configurationFields: Array<unknown>;
|
|
96
99
|
configuredFields: unknown;
|
|
97
100
|
title: string;
|
|
98
101
|
};
|
|
99
102
|
};
|
|
100
|
-
declare const Mapping: ({ havingTypeDropdown, onSaveMappingLoader, surveyDetails, integrationName, fields, setFields, integrationFields, setIntegrationFields, apiURL, token, accounts, events, actions, isMappingPage, surveyType, navigateMappingPage, customList, oldResponse, hasPreviousMapping, onSaveHandler, editField, previousMappingHandler, draftHandler, configuration, }: FieldMappingPropsType) => react_jsx_runtime.JSX.Element;
|
|
103
|
+
declare const Mapping: ({ hasNamingModal, havingTypeDropdown, onSaveMappingLoader, surveyDetails, integrationName, fields, setFields, integrationFields, setIntegrationFields, apiURL, token, accounts, events, actions, isMappingPage, surveyType, navigateMappingPage, customList, oldResponse, hasPreviousMapping, onSaveHandler, editField, previousMappingHandler, draftHandler, configuration, }: FieldMappingPropsType) => react_jsx_runtime.JSX.Element;
|
|
101
104
|
|
|
102
105
|
type AuthenticationFieldsProps = {
|
|
103
106
|
id: string | number;
|
|
@@ -178,6 +181,8 @@ type ConfigurationFields = {
|
|
|
178
181
|
};
|
|
179
182
|
};
|
|
180
183
|
type DashboardField = {
|
|
184
|
+
mappingName?: string;
|
|
185
|
+
mappingDescription?: string;
|
|
181
186
|
mappedFields?: Record<string, unknown>;
|
|
182
187
|
configurationFields?: ConfigurationFields;
|
|
183
188
|
id: string | number;
|