@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.
Files changed (77) hide show
  1. package/dist/authentication/constants/index.d.ts +5 -0
  2. package/dist/authentication/index.d.ts +3 -0
  3. package/dist/authentication/types/index.d.ts +19 -0
  4. package/dist/cjs/_virtual/index10.js +2 -2
  5. package/dist/cjs/_virtual/index8.js +2 -2
  6. package/dist/cjs/_virtual/index9.js +2 -2
  7. package/dist/cjs/integration-template/components/dashboard.js +6 -1
  8. package/dist/cjs/integration-template/components/dashboard.js.map +1 -1
  9. package/dist/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +1 -1
  10. package/dist/cjs/node_modules/html-dom-parser/node_modules/domutils/lib/index.js +1 -1
  11. package/dist/cjs/node_modules/html-dom-parser/node_modules/htmlparser2/lib/index.js +1 -1
  12. package/dist/cjs/node_modules/style-to-js/cjs/index.js +1 -1
  13. package/dist/cjs/node_modules/style-to-object/cjs/index.js +1 -1
  14. package/dist/cjs/packages/frontend-templates/index.js +18 -0
  15. package/dist/cjs/packages/frontend-templates/index.js.map +1 -0
  16. package/dist/commons/components/confirmation-modal.d.ts +9 -0
  17. package/dist/commons/components/custom-pill.d.ts +11 -0
  18. package/dist/commons/components/draftModal.d.ts +8 -0
  19. package/dist/commons/components/import-modal.d.ts +8 -0
  20. package/dist/commons/components/spinner.d.ts +6 -0
  21. package/dist/commons/components/theme-wrapper.d.ts +5 -0
  22. package/dist/commons/constants/index.d.ts +86 -0
  23. package/dist/commons/helpers/index.d.ts +2 -0
  24. package/dist/commons/icons/arrow.d.ts +3 -0
  25. package/dist/commons/icons/cursor.d.ts +6 -0
  26. package/dist/commons/icons/email-letter.d.ts +3 -0
  27. package/dist/commons/icons/mapping.d.ts +6 -0
  28. package/dist/commons/icons/nested-add.d.ts +3 -0
  29. package/dist/commons/icons/sms.d.ts +3 -0
  30. package/dist/commons/icons/sync.d.ts +3 -0
  31. package/dist/commons/icons/trash.d.ts +3 -0
  32. package/dist/commons/icons/whatsapp.d.ts +3 -0
  33. package/dist/contact-import/components/ManageImport/NoDataState.d.ts +3 -0
  34. package/dist/contact-import/components/ManageImport/completed.d.ts +6 -0
  35. package/dist/contact-import/components/ManageImport/dashboard.d.ts +3 -0
  36. package/dist/contact-import/components/ManageImport/icon.d.ts +8 -0
  37. package/dist/contact-import/components/ManageImport/scheduled.d.ts +6 -0
  38. package/dist/contact-import/components/TimePicker.d.ts +17 -0
  39. package/dist/contact-import/components/conact-import-schedule.d.ts +2 -0
  40. package/dist/contact-import/components/contact-import-configure.d.ts +4 -0
  41. package/dist/contact-import/components/contact-import-mapping.d.ts +4 -0
  42. package/dist/contact-import/components/scheduling.d.ts +4 -0
  43. package/dist/contact-import/constants.d.ts +15 -0
  44. package/dist/contact-import/index.d.ts +3 -0
  45. package/dist/contact-import/types/index.d.ts +124 -0
  46. package/dist/es/_virtual/index10.js +2 -2
  47. package/dist/es/_virtual/index8.js +2 -2
  48. package/dist/es/_virtual/index9.js +2 -2
  49. package/dist/es/integration-template/components/dashboard.js +6 -1
  50. package/dist/es/integration-template/components/dashboard.js.map +1 -1
  51. package/dist/es/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +1 -1
  52. package/dist/es/node_modules/html-dom-parser/node_modules/domutils/lib/index.js +1 -1
  53. package/dist/es/node_modules/html-dom-parser/node_modules/htmlparser2/lib/index.js +1 -1
  54. package/dist/es/node_modules/style-to-js/cjs/index.js +1 -1
  55. package/dist/es/node_modules/style-to-object/cjs/index.js +1 -1
  56. package/dist/es/packages/frontend-templates/index.js +7 -0
  57. package/dist/es/packages/frontend-templates/index.js.map +1 -0
  58. package/dist/integration-template/components/dashboard.d.ts +32 -0
  59. package/dist/integration-template/index.d.ts +34 -0
  60. package/dist/mapping/components/custom-date-menu.d.ts +7 -0
  61. package/dist/mapping/components/custom-menu.d.ts +14 -0
  62. package/dist/mapping/components/custom-option.d.ts +11 -0
  63. package/dist/mapping/components/field.d.ts +4 -0
  64. package/dist/mapping/components/mapping.d.ts +3 -0
  65. package/dist/mapping/components/placeholder-span.d.ts +7 -0
  66. package/dist/mapping/index.d.ts +57 -0
  67. package/dist/mapping/services/index.d.ts +4 -0
  68. package/dist/mapping/types/index.d.ts +120 -0
  69. package/dist/single-mapping/components/mapping.d.ts +3 -0
  70. package/dist/single-mapping/index.d.ts +70 -0
  71. package/dist/styles.d.ts +1 -0
  72. package/dist/triggers/components/subcomponents.d.ts +30 -0
  73. package/dist/triggers/components/trigger.d.ts +17 -0
  74. package/dist/triggers/constants/index.d.ts +31 -0
  75. package/dist/triggers/index.d.ts +28 -0
  76. package/dist/triggers/services/index.d.ts +1 -0
  77. package/package.json +1 -1
@@ -0,0 +1,5 @@
1
+ export declare const FieldTypes: {
2
+ SELECT: string;
3
+ PASSWORD: string;
4
+ TEXT: string;
5
+ };
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { AuthenticationProps } from "./types";
3
+ export declare const Authentication: ({ integrationName, fields, onSuccessHandler }: AuthenticationProps) => React.JSX.Element;
@@ -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
+ };
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var cjs = {};
3
+ var reactIs = {exports: {}};
4
4
 
5
- exports.__exports = cjs;
5
+ exports.__module = reactIs;
6
6
  //# sourceMappingURL=index10.js.map
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var reactIs = {exports: {}};
3
+ var lib = {};
4
4
 
5
- exports.__module = reactIs;
5
+ exports.__exports = lib;
6
6
  //# sourceMappingURL=index8.js.map
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var lib = {};
3
+ var cjs = {};
4
4
 
5
- exports.__exports = lib;
5
+ exports.__exports = cjs;
6
6
  //# sourceMappingURL=index9.js.map
@@ -55,7 +55,12 @@ const Dashboard = ({
55
55
  syncMapping,
56
56
  hasDropdownComponents
57
57
  }) => {
58
- return /* @__PURE__ */ React.createElement(flex.Flex, { justifyContent: "center" }, /* @__PURE__ */ React.createElement(box.Box, { css: { maxWidth: "1120px", width: "100%" } }, /* @__PURE__ */ React.createElement(
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" },