@sparrowengg/integrations-templates-frontend 1.9.56 → 1.9.58
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/authentication/constants/index.d.ts +5 -0
- package/dist/authentication/index.d.ts +3 -0
- package/dist/authentication/types/index.d.ts +19 -0
- package/dist/cjs/_virtual/index10.js +2 -2
- package/dist/cjs/_virtual/index8.js +2 -2
- package/dist/cjs/_virtual/index9.js +2 -2
- package/dist/cjs/integration-template/components/dashboard.js +6 -1
- package/dist/cjs/integration-template/components/dashboard.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/cjs/node_modules/style-to-js/cjs/index.js +1 -1
- package/dist/cjs/node_modules/style-to-object/cjs/index.js +1 -1
- package/dist/cjs/packages/frontend-templates/index.js +18 -0
- package/dist/cjs/packages/frontend-templates/index.js.map +1 -0
- package/dist/commons/components/confirmation-modal.d.ts +9 -0
- package/dist/commons/components/custom-pill.d.ts +11 -0
- package/dist/commons/components/draftModal.d.ts +8 -0
- package/dist/commons/components/import-modal.d.ts +8 -0
- package/dist/commons/components/spinner.d.ts +6 -0
- package/dist/commons/components/theme-wrapper.d.ts +5 -0
- package/dist/commons/constants/index.d.ts +86 -0
- package/dist/commons/helpers/index.d.ts +2 -0
- package/dist/commons/icons/arrow.d.ts +3 -0
- package/dist/commons/icons/cursor.d.ts +6 -0
- package/dist/commons/icons/email-letter.d.ts +3 -0
- package/dist/commons/icons/mapping.d.ts +6 -0
- package/dist/commons/icons/nested-add.d.ts +3 -0
- package/dist/commons/icons/sms.d.ts +3 -0
- package/dist/commons/icons/sync.d.ts +3 -0
- package/dist/commons/icons/trash.d.ts +3 -0
- package/dist/commons/icons/whatsapp.d.ts +3 -0
- package/dist/contact-import/components/ManageImport/NoDataState.d.ts +3 -0
- package/dist/contact-import/components/ManageImport/completed.d.ts +6 -0
- package/dist/contact-import/components/ManageImport/dashboard.d.ts +3 -0
- package/dist/contact-import/components/ManageImport/icon.d.ts +8 -0
- package/dist/contact-import/components/ManageImport/scheduled.d.ts +6 -0
- package/dist/contact-import/components/TimePicker.d.ts +17 -0
- package/dist/contact-import/components/conact-import-schedule.d.ts +2 -0
- package/dist/contact-import/components/contact-import-configure.d.ts +4 -0
- package/dist/contact-import/components/contact-import-mapping.d.ts +4 -0
- package/dist/contact-import/components/scheduling.d.ts +4 -0
- package/dist/contact-import/constants.d.ts +15 -0
- package/dist/contact-import/index.d.ts +3 -0
- package/dist/contact-import/types/index.d.ts +124 -0
- package/dist/es/_virtual/index10.js +2 -2
- package/dist/es/_virtual/index8.js +2 -2
- package/dist/es/_virtual/index9.js +2 -2
- package/dist/es/integration-template/components/dashboard.js +6 -1
- package/dist/es/integration-template/components/dashboard.js.map +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/es/node_modules/style-to-js/cjs/index.js +1 -1
- package/dist/es/node_modules/style-to-object/cjs/index.js +1 -1
- package/dist/es/packages/frontend-templates/index.js +7 -0
- package/dist/es/packages/frontend-templates/index.js.map +1 -0
- package/dist/integration-template/components/dashboard.d.ts +32 -0
- package/dist/integration-template/index.d.ts +34 -0
- package/dist/mapping/components/custom-date-menu.d.ts +7 -0
- package/dist/mapping/components/custom-menu.d.ts +14 -0
- package/dist/mapping/components/custom-option.d.ts +11 -0
- package/dist/mapping/components/field.d.ts +4 -0
- package/dist/mapping/components/mapping.d.ts +3 -0
- package/dist/mapping/components/placeholder-span.d.ts +7 -0
- package/dist/mapping/index.d.ts +57 -0
- package/dist/mapping/services/index.d.ts +4 -0
- package/dist/mapping/types/index.d.ts +120 -0
- package/dist/single-mapping/components/mapping.d.ts +3 -0
- package/dist/single-mapping/index.d.ts +70 -0
- package/dist/styles.d.ts +1 -0
- package/dist/triggers/components/subcomponents.d.ts +30 -0
- package/dist/triggers/components/trigger.d.ts +17 -0
- package/dist/triggers/constants/index.d.ts +31 -0
- package/dist/triggers/index.d.ts +28 -0
- package/dist/triggers/services/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export type AuthenticationFieldsProps = {
|
|
2
|
+
id: string | number;
|
|
3
|
+
type: string;
|
|
4
|
+
label: string;
|
|
5
|
+
value: any;
|
|
6
|
+
changeFieldValue: (value: any, fieldId?: number | string) => void;
|
|
7
|
+
options?: Array<{
|
|
8
|
+
label: string;
|
|
9
|
+
value: string | number;
|
|
10
|
+
}>;
|
|
11
|
+
placeholder?: string;
|
|
12
|
+
isPassword?: boolean;
|
|
13
|
+
required?: boolean;
|
|
14
|
+
};
|
|
15
|
+
export type AuthenticationProps = {
|
|
16
|
+
integrationName: string;
|
|
17
|
+
fields: Array<AuthenticationFieldsProps>;
|
|
18
|
+
onSuccessHandler: () => void;
|
|
19
|
+
};
|
|
@@ -55,7 +55,12 @@ const Dashboard = ({
|
|
|
55
55
|
syncMapping,
|
|
56
56
|
hasDropdownComponents
|
|
57
57
|
}) => {
|
|
58
|
-
return /* @__PURE__ */ React.createElement(flex.Flex, { justifyContent: "center"
|
|
58
|
+
return /* @__PURE__ */ React.createElement(flex.Flex, { justifyContent: "center", css: {
|
|
59
|
+
p: {
|
|
60
|
+
margin: "0 !important",
|
|
61
|
+
padding: "0 !important"
|
|
62
|
+
}
|
|
63
|
+
} }, /* @__PURE__ */ React.createElement(box.Box, { css: { maxWidth: "1120px", width: "100%" } }, /* @__PURE__ */ React.createElement(
|
|
59
64
|
flex.Flex,
|
|
60
65
|
{
|
|
61
66
|
css: { marginTop: "$40" },
|