@sparrowengg/integrations-templates-frontend 1.9.69 → 1.9.70
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/confirmation-modal.js +51 -37
- package/dist/cjs/commons/components/confirmation-modal.js.map +1 -1
- package/dist/cjs/commons/icons/sync.js +1 -90
- package/dist/cjs/commons/icons/sync.js.map +1 -1
- package/dist/cjs/integration-template/components/dashboard.js +24 -20
- 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/single-mapping/components/mapping.js +4 -1
- package/dist/cjs/single-mapping/components/mapping.js.map +1 -1
- package/dist/cjs/single-mapping/index.js +3 -3
- package/dist/cjs/single-mapping/index.js.map +1 -1
- package/dist/es/_virtual/index10.js +2 -2
- package/dist/es/_virtual/index9.js +2 -2
- package/dist/es/commons/components/confirmation-modal.js +51 -37
- package/dist/es/commons/components/confirmation-modal.js.map +1 -1
- package/dist/es/commons/icons/sync.js +1 -90
- package/dist/es/commons/icons/sync.js.map +1 -1
- package/dist/es/integration-template/components/dashboard.js +24 -20
- package/dist/es/integration-template/components/dashboard.js.map +1 -1
- package/dist/es/node_modules/@sparrowengg/twigs-react/dist/es/alert-dialog/alert-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/es/single-mapping/components/mapping.js +4 -1
- package/dist/es/single-mapping/components/mapping.js.map +1 -1
- package/dist/es/single-mapping/index.js +3 -3
- package/dist/es/single-mapping/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var React = require('react');
|
|
6
|
-
var
|
|
6
|
+
var alertDialog = require('../../node_modules/@sparrowengg/twigs-react/dist/es/alert-dialog/alert-dialog.js');
|
|
7
|
+
var button = require('../../node_modules/@sparrowengg/twigs-react/dist/es/button/button.js');
|
|
7
8
|
|
|
8
9
|
const ConfirmationModal = ({
|
|
9
10
|
name,
|
|
@@ -11,45 +12,58 @@ const ConfirmationModal = ({
|
|
|
11
12
|
onConfirm,
|
|
12
13
|
onCancel
|
|
13
14
|
}) => {
|
|
14
|
-
const [
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
15
|
+
const [isDeleteIconHover, setIsDeleteIconHover] = React.useState(false);
|
|
16
|
+
return /* @__PURE__ */ React.createElement(alertDialog.AlertDialog, { open: true }, /* @__PURE__ */ React.createElement(
|
|
17
|
+
alertDialog.AlertDialogContent,
|
|
18
|
+
{
|
|
19
|
+
onOpenAutoFocus: (e) => e.preventDefault(),
|
|
20
|
+
className: "dm-sans",
|
|
21
|
+
css: {
|
|
22
|
+
button: {
|
|
23
|
+
borderRadius: "8px"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
21
26
|
},
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
27
|
+
/* @__PURE__ */ React.createElement(
|
|
28
|
+
alertDialog.AlertDialogTitle,
|
|
29
|
+
{
|
|
30
|
+
css: {
|
|
31
|
+
display: "flex",
|
|
32
|
+
justifyContent: "space-between",
|
|
33
|
+
border: "none !important",
|
|
34
|
+
padding: "24px $12 8px $12 !important"
|
|
35
|
+
}
|
|
25
36
|
},
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
37
|
+
name
|
|
38
|
+
),
|
|
39
|
+
/* @__PURE__ */ React.createElement(
|
|
40
|
+
alertDialog.AlertDialogDescription,
|
|
41
|
+
{
|
|
42
|
+
css: {
|
|
43
|
+
overflowWrap: "break-word",
|
|
44
|
+
padding: "0px $12 0px $12 !important",
|
|
45
|
+
fontSize: "$sm",
|
|
46
|
+
fontWeight: "400",
|
|
47
|
+
lineHeight: "20px",
|
|
48
|
+
letterSpacing: "0px",
|
|
49
|
+
color: "$neutral800",
|
|
50
|
+
margin: "0 !important"
|
|
51
|
+
}
|
|
30
52
|
},
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
await Promise.resolve(onConfirm());
|
|
46
|
-
setIsLoading(false);
|
|
47
|
-
},
|
|
48
|
-
onClose() {
|
|
49
|
-
onCancel();
|
|
50
|
-
}
|
|
51
|
-
});
|
|
52
|
-
return /* @__PURE__ */ React.createElement(index.DialogsManager, null);
|
|
53
|
+
description
|
|
54
|
+
),
|
|
55
|
+
/* @__PURE__ */ React.createElement(alertDialog.AlertDialogActions, { css: { gap: "$6" } }, /* @__PURE__ */ React.createElement(alertDialog.AlertDialogCancel, { asChild: true, onClick: onCancel }, /* @__PURE__ */ React.createElement(button.Button, { color: "default", variant: "solid", size: "lg" }, "Cancel")), /* @__PURE__ */ React.createElement(alertDialog.AlertDialogAction, { asChild: true }, /* @__PURE__ */ React.createElement(
|
|
56
|
+
button.Button,
|
|
57
|
+
{
|
|
58
|
+
onMouseEnter: () => setIsDeleteIconHover(true),
|
|
59
|
+
onMouseLeave: () => setIsDeleteIconHover(false),
|
|
60
|
+
color: isDeleteIconHover ? "error" : "default",
|
|
61
|
+
size: "lg",
|
|
62
|
+
onClick: onConfirm
|
|
63
|
+
},
|
|
64
|
+
"Confirm"
|
|
65
|
+
)))
|
|
66
|
+
));
|
|
53
67
|
};
|
|
54
68
|
|
|
55
69
|
exports.default = ConfirmationModal;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"confirmation-modal.js","sources":["../../../../src/commons/components/confirmation-modal.tsx"],"sourcesContent":["import React, { useState } from \"react\";\nimport {
|
|
1
|
+
{"version":3,"file":"confirmation-modal.js","sources":["../../../../src/commons/components/confirmation-modal.tsx"],"sourcesContent":["import React, { useState } from \"react\";\nimport { AlertDialog,\n AlertDialogContent,\n AlertDialogTitle,\n AlertDialogDescription,\n AlertDialogActions,\n AlertDialogCancel,\n AlertDialogAction,\n Button, } from \"@sparrowengg/twigs-react\";\ntype ConfirmationModalProps = {\n name: string;\n description: string;\n onConfirm: () => void | Promise<void>;\n onCancel: () => void;\n};\nconst ConfirmationModal: React.FC<ConfirmationModalProps> = ({\n name,\n description,\n onConfirm,\n onCancel\n}) => {\n const [isDeleteIconHover, setIsDeleteIconHover] = useState(false);\n return <AlertDialog open={true}>\n <AlertDialogContent\n onOpenAutoFocus={(e) => e.preventDefault()}\n className=\"dm-sans\"\n css={{\n button: {\n borderRadius: '8px',\n },\n }}\n >\n <AlertDialogTitle\n css={{\n display: 'flex',\n justifyContent: 'space-between',\n border: 'none !important',\n padding: '24px $12 8px $12 !important',\n }}\n >\n {name}\n </AlertDialogTitle>\n\n <AlertDialogDescription\n css={{\n overflowWrap: 'break-word',\n padding: '0px $12 0px $12 !important',\n fontSize: '$sm',\n fontWeight: '400',\n lineHeight: '20px',\n letterSpacing: '0px',\n color: '$neutral800',\n margin: '0 !important',\n }}\n >\n {description}\n </AlertDialogDescription>\n\n <AlertDialogActions css={{ gap: '$6' }}>\n <AlertDialogCancel asChild onClick={onCancel}>\n <Button color=\"default\" variant=\"solid\" size=\"lg\">\n Cancel\n </Button>\n </AlertDialogCancel>\n\n <AlertDialogAction asChild>\n <Button\n onMouseEnter={() => setIsDeleteIconHover(true)}\n onMouseLeave={() => setIsDeleteIconHover(false)}\n color={isDeleteIconHover ? 'error' : 'default'}\n size=\"lg\"\n onClick={onConfirm}\n >\n Confirm\n </Button>\n </AlertDialogAction>\n </AlertDialogActions>\n </AlertDialogContent>\n </AlertDialog>\n};\nexport default ConfirmationModal;\n"],"names":["useState","AlertDialog","AlertDialogContent","AlertDialogTitle","AlertDialogDescription","AlertDialogActions","AlertDialogCancel","Button","AlertDialogAction"],"mappings":";;;;;;;;AAeA,MAAM,oBAAsD,CAAC;AAAA,EACzD,IAAA;AAAA,EACA,WAAA;AAAA,EACA,SAAA;AAAA,EACA,QAAA;AACJ,CAAM,KAAA;AACF,EAAA,MAAM,CAAC,iBAAA,EAAmB,oBAAoB,CAAA,GAAIA,eAAS,KAAK,CAAA,CAAA;AAChE,EAAQ,uBAAA,KAAA,CAAA,aAAA,CAACC,uBAAY,EAAA,EAAA,IAAA,EAAM,IAC3B,EAAA,kBAAA,KAAA,CAAA,aAAA;AAAA,IAACC,8BAAA;AAAA,IAAA;AAAA,MACC,eAAiB,EAAA,CAAC,CAAM,KAAA,CAAA,CAAE,cAAe,EAAA;AAAA,MACzC,SAAU,EAAA,SAAA;AAAA,MACV,GAAK,EAAA;AAAA,QACH,MAAQ,EAAA;AAAA,UACN,YAAc,EAAA,KAAA;AAAA,SAChB;AAAA,OACF;AAAA,KAAA;AAAA,oBAEA,KAAA,CAAA,aAAA;AAAA,MAACC,4BAAA;AAAA,MAAA;AAAA,QACC,GAAK,EAAA;AAAA,UACH,OAAS,EAAA,MAAA;AAAA,UACT,cAAgB,EAAA,eAAA;AAAA,UAChB,MAAQ,EAAA,iBAAA;AAAA,UACR,OAAS,EAAA,6BAAA;AAAA,SACX;AAAA,OAAA;AAAA,MAEC,IAAA;AAAA,KACH;AAAA,oBAEA,KAAA,CAAA,aAAA;AAAA,MAACC,kCAAA;AAAA,MAAA;AAAA,QACC,GAAK,EAAA;AAAA,UACH,YAAc,EAAA,YAAA;AAAA,UACd,OAAS,EAAA,4BAAA;AAAA,UACT,QAAU,EAAA,KAAA;AAAA,UACV,UAAY,EAAA,KAAA;AAAA,UACZ,UAAY,EAAA,MAAA;AAAA,UACZ,aAAe,EAAA,KAAA;AAAA,UACf,KAAO,EAAA,aAAA;AAAA,UACP,MAAQ,EAAA,cAAA;AAAA,SACV;AAAA,OAAA;AAAA,MAEC,WAAA;AAAA,KACH;AAAA,oBAEA,KAAA,CAAA,aAAA,CAACC,8BAAmB,EAAA,EAAA,GAAA,EAAK,EAAE,GAAA,EAAK,IAAK,EAAA,EAAA,kBAClC,KAAA,CAAA,aAAA,CAAAC,6BAAA,EAAA,EAAkB,OAAO,EAAA,IAAA,EAAC,OAAS,EAAA,QAAA,EAAA,kBACjC,KAAA,CAAA,aAAA,CAAAC,aAAA,EAAA,EAAO,KAAM,EAAA,SAAA,EAAU,OAAQ,EAAA,OAAA,EAAQ,IAAK,EAAA,IAAA,EAAA,EAAK,QAElD,CACF,CAEA,kBAAA,KAAA,CAAA,aAAA,CAACC,6BAAkB,EAAA,EAAA,OAAA,EAAO,IACxB,EAAA,kBAAA,KAAA,CAAA,aAAA;AAAA,MAACD,aAAA;AAAA,MAAA;AAAA,QACC,YAAA,EAAc,MAAM,oBAAA,CAAqB,IAAI,CAAA;AAAA,QAC7C,YAAA,EAAc,MAAM,oBAAA,CAAqB,KAAK,CAAA;AAAA,QAC9C,KAAA,EAAO,oBAAoB,OAAU,GAAA,SAAA;AAAA,QACrC,IAAK,EAAA,IAAA;AAAA,QACL,OAAS,EAAA,SAAA;AAAA,OAAA;AAAA,MACV,SAAA;AAAA,KAGH,CACF,CAAA;AAAA,GAEJ,CAAA,CAAA;AACF;;;;"}
|
|
@@ -5,96 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var React = require('react');
|
|
6
6
|
|
|
7
7
|
const Sync = () => {
|
|
8
|
-
return /* @__PURE__ */ React.createElement(
|
|
9
|
-
"svg",
|
|
10
|
-
{
|
|
11
|
-
width: "18",
|
|
12
|
-
height: "18",
|
|
13
|
-
viewBox: "0 0 18 18",
|
|
14
|
-
fill: "none",
|
|
15
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
16
|
-
},
|
|
17
|
-
/* @__PURE__ */ React.createElement(
|
|
18
|
-
"path",
|
|
19
|
-
{
|
|
20
|
-
d: "M9 0.996874C11.9302 0.99663 14.626 2.59833 16.027 5.17188",
|
|
21
|
-
stroke: "#6A6A6A",
|
|
22
|
-
strokeWidth: "1.5",
|
|
23
|
-
strokeLinecap: "round",
|
|
24
|
-
strokeLinejoin: "round"
|
|
25
|
-
}
|
|
26
|
-
),
|
|
27
|
-
/* @__PURE__ */ React.createElement(
|
|
28
|
-
"path",
|
|
29
|
-
{
|
|
30
|
-
d: "M17 8.99609C17 13.4144 13.4183 16.9961 9 16.9961",
|
|
31
|
-
stroke: "#6A6A6A",
|
|
32
|
-
strokeWidth: "1.5",
|
|
33
|
-
strokeLinecap: "round",
|
|
34
|
-
strokeLinejoin: "round"
|
|
35
|
-
}
|
|
36
|
-
),
|
|
37
|
-
/* @__PURE__ */ React.createElement(
|
|
38
|
-
"path",
|
|
39
|
-
{
|
|
40
|
-
d: "M8.99966 16.9961C6.06949 16.9963 3.37365 15.3946 1.97266 12.8211",
|
|
41
|
-
stroke: "#6A6A6A",
|
|
42
|
-
strokeWidth: "1.5",
|
|
43
|
-
strokeLinecap: "round",
|
|
44
|
-
strokeLinejoin: "round"
|
|
45
|
-
}
|
|
46
|
-
),
|
|
47
|
-
/* @__PURE__ */ React.createElement(
|
|
48
|
-
"path",
|
|
49
|
-
{
|
|
50
|
-
d: "M1 8.99609C1 4.57781 4.58172 0.996092 9 0.996092",
|
|
51
|
-
stroke: "#6A6A6A",
|
|
52
|
-
strokeWidth: "1.5",
|
|
53
|
-
strokeLinecap: "round",
|
|
54
|
-
strokeLinejoin: "round"
|
|
55
|
-
}
|
|
56
|
-
),
|
|
57
|
-
/* @__PURE__ */ React.createElement(
|
|
58
|
-
"path",
|
|
59
|
-
{
|
|
60
|
-
d: "M1.97266 12.8223C4.08447 16.7032 8.94253 18.1373 12.8235 16.0255C15.3979 14.6246 17.0001 11.9281 16.9997 8.99726",
|
|
61
|
-
stroke: "#6A6A6A",
|
|
62
|
-
strokeWidth: "1.5",
|
|
63
|
-
strokeLinecap: "round",
|
|
64
|
-
strokeLinejoin: "round"
|
|
65
|
-
}
|
|
66
|
-
),
|
|
67
|
-
/* @__PURE__ */ React.createElement(
|
|
68
|
-
"path",
|
|
69
|
-
{
|
|
70
|
-
d: "M1 8.99609V8.99487C0.999999 4.57659 4.58172 0.994871 9 0.994871C11.9309 0.994871 14.6271 2.59755 16.0276 5.17217",
|
|
71
|
-
stroke: "#6A6A6A",
|
|
72
|
-
strokeWidth: "1.5",
|
|
73
|
-
strokeLinecap: "round",
|
|
74
|
-
strokeLinejoin: "round"
|
|
75
|
-
}
|
|
76
|
-
),
|
|
77
|
-
/* @__PURE__ */ React.createElement(
|
|
78
|
-
"path",
|
|
79
|
-
{
|
|
80
|
-
d: "M5.04672 12.8234H1.51172V16.3594",
|
|
81
|
-
stroke: "#6A6A6A",
|
|
82
|
-
strokeWidth: "1.5",
|
|
83
|
-
strokeLinecap: "round",
|
|
84
|
-
strokeLinejoin: "round"
|
|
85
|
-
}
|
|
86
|
-
),
|
|
87
|
-
/* @__PURE__ */ React.createElement(
|
|
88
|
-
"path",
|
|
89
|
-
{
|
|
90
|
-
d: "M12.9531 5.17188H16.4881V1.63587",
|
|
91
|
-
stroke: "#6A6A6A",
|
|
92
|
-
strokeWidth: "1.5",
|
|
93
|
-
strokeLinecap: "round",
|
|
94
|
-
strokeLinejoin: "round"
|
|
95
|
-
}
|
|
96
|
-
)
|
|
97
|
-
);
|
|
8
|
+
return /* @__PURE__ */ React.createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, /* @__PURE__ */ React.createElement("path", { d: "M12 3.99687C14.9302 3.99663 17.626 5.59833 19.027 8.17188", stroke: "#6A6A6A", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ React.createElement("path", { d: "M20 11.9961C20 16.4144 16.4183 19.9961 12 19.9961", stroke: "#6A6A6A", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ React.createElement("path", { d: "M11.9997 19.9961C9.06949 19.9963 6.37365 18.3946 4.97266 15.8211", stroke: "#6A6A6A", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ React.createElement("path", { d: "M4 11.9961C4 7.57781 7.58172 3.99609 12 3.99609", stroke: "#6A6A6A", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ React.createElement("path", { d: "M4.97266 15.8223C7.08447 19.7032 11.9425 21.1373 15.8235 19.0255C18.3979 17.6246 20.0001 14.9281 19.9997 11.9973", stroke: "#6A6A6A", strokeWidth: "1.5", "stroke-linecap": "round", strokeLinejoin: "round" }), /* @__PURE__ */ React.createElement("path", { d: "M4 11.9961V11.9949C4 7.57659 7.58172 3.99487 12 3.99487C14.9309 3.99487 17.6271 5.59755 19.0276 8.17217", stroke: "#6A6A6A", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ React.createElement("path", { d: "M8.04672 15.8234H4.51172V19.3594", stroke: "#6A6A6A", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ React.createElement("path", { d: "M15.9531 8.17188H19.4881V4.63587", stroke: "#6A6A6A", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }));
|
|
98
9
|
};
|
|
99
10
|
|
|
100
11
|
exports.default = Sync;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sync.js","sources":["../../../../src/commons/icons/sync.tsx"],"sourcesContent":["import React from \"react\";\n\nconst Sync = () => {\n return (\n <svg
|
|
1
|
+
{"version":3,"file":"sync.js","sources":["../../../../src/commons/icons/sync.tsx"],"sourcesContent":["import React from \"react\";\n\nconst Sync = () => {\n return (\n <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M12 3.99687C14.9302 3.99663 17.626 5.59833 19.027 8.17188\" stroke=\"#6A6A6A\" strokeWidth=\"1.5\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n <path d=\"M20 11.9961C20 16.4144 16.4183 19.9961 12 19.9961\" stroke=\"#6A6A6A\" strokeWidth=\"1.5\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n <path d=\"M11.9997 19.9961C9.06949 19.9963 6.37365 18.3946 4.97266 15.8211\" stroke=\"#6A6A6A\" strokeWidth=\"1.5\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n <path d=\"M4 11.9961C4 7.57781 7.58172 3.99609 12 3.99609\" stroke=\"#6A6A6A\" strokeWidth=\"1.5\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n <path d=\"M4.97266 15.8223C7.08447 19.7032 11.9425 21.1373 15.8235 19.0255C18.3979 17.6246 20.0001 14.9281 19.9997 11.9973\" stroke=\"#6A6A6A\" strokeWidth=\"1.5\" stroke-linecap=\"round\" strokeLinejoin=\"round\"/>\n <path d=\"M4 11.9961V11.9949C4 7.57659 7.58172 3.99487 12 3.99487C14.9309 3.99487 17.6271 5.59755 19.0276 8.17217\" stroke=\"#6A6A6A\" strokeWidth=\"1.5\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n <path d=\"M8.04672 15.8234H4.51172V19.3594\" stroke=\"#6A6A6A\" strokeWidth=\"1.5\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n <path d=\"M15.9531 8.17188H19.4881V4.63587\" stroke=\"#6A6A6A\" strokeWidth=\"1.5\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n </svg>\n \n );\n};\n\nexport default Sync;\n"],"names":[],"mappings":";;;;;;AAEA,MAAM,OAAO,MAAM;AACjB,EACE,uBAAA,KAAA,CAAA,aAAA,CAAC,KAAI,EAAA,EAAA,KAAA,EAAM,IAAK,EAAA,MAAA,EAAO,MAAK,OAAQ,EAAA,WAAA,EAAY,IAAK,EAAA,MAAA,EAAO,KAAM,EAAA,4BAAA,EAAA,sCACjE,MAAK,EAAA,EAAA,CAAA,EAAE,2DAA4D,EAAA,MAAA,EAAO,SAAU,EAAA,WAAA,EAAY,KAAM,EAAA,aAAA,EAAc,OAAQ,EAAA,cAAA,EAAe,OAAO,EAAA,CAAA,kBAClJ,KAAA,CAAA,aAAA,CAAA,MAAA,EAAA,EAAK,GAAE,mDAAoD,EAAA,MAAA,EAAO,SAAU,EAAA,WAAA,EAAY,KAAM,EAAA,aAAA,EAAc,OAAQ,EAAA,cAAA,EAAe,OAAO,EAAA,CAAA,kBAC1I,KAAA,CAAA,aAAA,CAAA,MAAA,EAAA,EAAK,CAAE,EAAA,kEAAA,EAAmE,QAAO,SAAU,EAAA,WAAA,EAAY,KAAM,EAAA,aAAA,EAAc,OAAQ,EAAA,cAAA,EAAe,OAAO,EAAA,CAAA,kBACzJ,KAAA,CAAA,aAAA,CAAA,MAAA,EAAA,EAAK,CAAE,EAAA,iDAAA,EAAkD,MAAO,EAAA,SAAA,EAAU,aAAY,KAAM,EAAA,aAAA,EAAc,OAAQ,EAAA,cAAA,EAAe,OAAO,EAAA,CAAA,kBACxI,KAAA,CAAA,aAAA,CAAA,MAAA,EAAA,EAAK,CAAE,EAAA,kHAAA,EAAmH,MAAO,EAAA,SAAA,EAAU,WAAY,EAAA,KAAA,EAAM,kBAAe,OAAQ,EAAA,cAAA,EAAe,OAAO,EAAA,CAAA,kBAC1M,KAAA,CAAA,aAAA,CAAA,MAAA,EAAA,EAAK,CAAE,EAAA,yGAAA,EAA0G,MAAO,EAAA,SAAA,EAAU,WAAY,EAAA,KAAA,EAAM,aAAc,EAAA,OAAA,EAAQ,gBAAe,OAAO,EAAA,CAAA,kBAChM,KAAA,CAAA,aAAA,CAAA,MAAA,EAAA,EAAK,CAAE,EAAA,kCAAA,EAAmC,MAAO,EAAA,SAAA,EAAU,WAAY,EAAA,KAAA,EAAM,aAAc,EAAA,OAAA,EAAQ,cAAe,EAAA,OAAA,EAAO,mBACzH,KAAA,CAAA,aAAA,CAAA,MAAA,EAAA,EAAK,CAAE,EAAA,kCAAA,EAAmC,MAAO,EAAA,SAAA,EAAU,WAAY,EAAA,KAAA,EAAM,aAAc,EAAA,OAAA,EAAQ,cAAe,EAAA,OAAA,EAAO,CAC1H,CAAA,CAAA;AAGJ;;;;"}
|
|
@@ -720,8 +720,8 @@ const TriggerDasboardItem = ({
|
|
|
720
720
|
), isDeleteModalOpen && /* @__PURE__ */ React.createElement(
|
|
721
721
|
confirmationModal.default,
|
|
722
722
|
{
|
|
723
|
-
name: "
|
|
724
|
-
description: `Are you sure you want to delete
|
|
723
|
+
name: "Delete Trigger?",
|
|
724
|
+
description: `Are you sure you want to delete the trigger? This action cannot be undone.`,
|
|
725
725
|
onConfirm: () => deleteFieldHandler == null ? void 0 : deleteFieldHandler(field.id),
|
|
726
726
|
onCancel: () => setIsDeleteModalOpen(false)
|
|
727
727
|
}
|
|
@@ -794,16 +794,16 @@ const SingleMappingDashboardItem = ({
|
|
|
794
794
|
typeof ((_f = field == null ? void 0 : field.configurationFields) == null ? void 0 : _f.spreadsheet) === "object" ? (_i = (_h = (_g = field == null ? void 0 : field.configurationFields) == null ? void 0 : _g.spreadsheet) == null ? void 0 : _h.value) == null ? void 0 : _i.label : (_k = (_j = field == null ? void 0 : field.configurationFields) == null ? void 0 : _j.spreadsheet) == null ? void 0 : _k.value
|
|
795
795
|
)) : null))
|
|
796
796
|
),
|
|
797
|
-
/* @__PURE__ */ React.createElement(flex.Flex, { alignItems: "center", gap: "$12" }, /* @__PURE__ */ React.createElement(tooltip.Tooltip, { content: "Sync", className: "dm-sans" }, /* @__PURE__ */ React.createElement(
|
|
797
|
+
/* @__PURE__ */ React.createElement(flex.Flex, { alignItems: "center", gap: "$12" }, /* @__PURE__ */ React.createElement(tooltip.Tooltip, { content: "Sync", className: "dm-sans" }, /* @__PURE__ */ React.createElement(button.Button, { variant: "ghost", size: "lg", color: "default", css: {
|
|
798
|
+
width: "40px !important",
|
|
799
|
+
height: "40px !important",
|
|
800
|
+
marginInlineEnd: "$3"
|
|
801
|
+
} }, /* @__PURE__ */ React.createElement(
|
|
798
802
|
flex.Flex,
|
|
799
803
|
{
|
|
800
804
|
className: `rotating-div ${isSyncing === field.id ? "rotate" : ""}`,
|
|
801
805
|
justifyContent: "center",
|
|
802
806
|
alignItems: "center",
|
|
803
|
-
css: {
|
|
804
|
-
cursor: "pointer",
|
|
805
|
-
marginInlineEnd: "$3"
|
|
806
|
-
},
|
|
807
807
|
onClick: async () => {
|
|
808
808
|
setIsSyncing(field.id);
|
|
809
809
|
setTimeout(async () => {
|
|
@@ -813,7 +813,7 @@ const SingleMappingDashboardItem = ({
|
|
|
813
813
|
}
|
|
814
814
|
},
|
|
815
815
|
/* @__PURE__ */ React.createElement(sync.default, null)
|
|
816
|
-
)), (() => (field == null ? void 0 : field.isEnabled) !== null && (field == null ? void 0 : field.isEnabled) !== void 0)() ? /* @__PURE__ */ React.createElement(
|
|
816
|
+
))), (() => (field == null ? void 0 : field.isEnabled) !== null && (field == null ? void 0 : field.isEnabled) !== void 0)() ? /* @__PURE__ */ React.createElement(
|
|
817
817
|
box.Box,
|
|
818
818
|
{
|
|
819
819
|
css: {
|
|
@@ -990,8 +990,8 @@ const SingleMappingDashboardItem = ({
|
|
|
990
990
|
), isDeleteModalOpen && /* @__PURE__ */ React.createElement(
|
|
991
991
|
confirmationModal.default,
|
|
992
992
|
{
|
|
993
|
-
name: "
|
|
994
|
-
description: `Are you sure you want to delete
|
|
993
|
+
name: "Delete Mapping?",
|
|
994
|
+
description: `Are you sure you want to delete the mapping? This action cannot be undone.`,
|
|
995
995
|
onConfirm: () => deleteFieldHandler == null ? void 0 : deleteFieldHandler(field.id),
|
|
996
996
|
onCancel: () => setIsDeleteModalOpen(false)
|
|
997
997
|
}
|
|
@@ -1102,12 +1102,12 @@ const SingleMappingChipWrapper = ({
|
|
|
1102
1102
|
var _a, _b;
|
|
1103
1103
|
const chipRef = React.useRef(null);
|
|
1104
1104
|
const name = `${!!placeholder ? placeholder : ""}${(_a = field == null ? void 0 : field.name) != null ? _a : field == null ? void 0 : field.label}`;
|
|
1105
|
-
|
|
1105
|
+
(_b = chipRef.current) == null ? void 0 : _b.offsetWidth;
|
|
1106
1106
|
return /* @__PURE__ */ React.createElement(
|
|
1107
1107
|
tooltip.Tooltip,
|
|
1108
1108
|
{
|
|
1109
1109
|
delayDuration: 300,
|
|
1110
|
-
content:
|
|
1110
|
+
content: (name == null ? void 0 : name.length) > 52 ? name : "",
|
|
1111
1111
|
size: "md",
|
|
1112
1112
|
sideOffset: 4,
|
|
1113
1113
|
className: "dm-sans"
|
|
@@ -1120,12 +1120,16 @@ const SingleMappingChipWrapper = ({
|
|
|
1120
1120
|
css: {
|
|
1121
1121
|
background: backgroundColor,
|
|
1122
1122
|
borderRadius: "4px !important",
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1123
|
+
span: {
|
|
1124
|
+
textAlign: "center !important",
|
|
1125
|
+
alignContent: "center !important",
|
|
1126
|
+
display: "block",
|
|
1127
|
+
maxWidth: "230px",
|
|
1128
|
+
overflow: "hidden",
|
|
1129
|
+
fontFamily: "'Roboto Mono', monospace !important",
|
|
1130
|
+
textOverflow: "ellipsis",
|
|
1131
|
+
whiteSpace: "nowrap"
|
|
1132
|
+
}
|
|
1129
1133
|
}
|
|
1130
1134
|
},
|
|
1131
1135
|
"$" + name
|
|
@@ -1416,8 +1420,8 @@ const DashboardItem = ({
|
|
|
1416
1420
|
), isDeleteModalOpen && /* @__PURE__ */ React.createElement(
|
|
1417
1421
|
confirmationModal.default,
|
|
1418
1422
|
{
|
|
1419
|
-
name: "
|
|
1420
|
-
description: `Are you sure you want to delete
|
|
1423
|
+
name: "Delete Mapping?",
|
|
1424
|
+
description: `Are you sure you want to delete the mapping? This action cannot be undone.`,
|
|
1421
1425
|
onConfirm: () => {
|
|
1422
1426
|
deleteFieldHandler(id);
|
|
1423
1427
|
setIsDeleteModalOpen(false);
|