@bigbinary/neeto-webhooks-frontend 1.5.2 → 1.5.3
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/index.cjs.js +382 -277
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +383 -278
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React, { createContext, useContext, useState, useRef, useEffect } from 'react';
|
|
1
|
+
import React, { createContext, useContext, useState, useRef, useEffect, useCallback } from 'react';
|
|
2
2
|
import { useParams, Link, useRouteMatch, Switch, Route } from 'react-router-dom';
|
|
3
3
|
import classNames from 'classnames';
|
|
4
4
|
import { dateFormat, buildUrl } from '@bigbinary/neeto-commons-frontend/utils';
|
|
5
5
|
import { Close, Check, Info, MenuHorizontal } from '@bigbinary/neeto-icons';
|
|
6
|
-
import Header from '@bigbinary/neeto-molecules/Header';
|
|
6
|
+
import Header$2 from '@bigbinary/neeto-molecules/Header';
|
|
7
7
|
import PageLoader from '@bigbinary/neeto-molecules/PageLoader';
|
|
8
8
|
import { Spinner, Tab, Button, Typography, Accordion, Tag, NoData, Pane, Dropdown, Alert } from '@bigbinary/neetoui';
|
|
9
9
|
import { isEmpty, pluck, mergeDeepLeft } from 'ramda';
|
|
@@ -3035,7 +3035,7 @@ var Deliveries = function Deliveries(_ref) {
|
|
|
3035
3035
|
cov_ljqw8jan1().s[14]++;
|
|
3036
3036
|
return /*#__PURE__*/React.createElement("div", {
|
|
3037
3037
|
className: "w-full px-6"
|
|
3038
|
-
}, /*#__PURE__*/React.createElement(Header, {
|
|
3038
|
+
}, /*#__PURE__*/React.createElement(Header$2, {
|
|
3039
3039
|
breadcrumbs: getBreadcrumbs(),
|
|
3040
3040
|
title: t("delivery.title")
|
|
3041
3041
|
}), /*#__PURE__*/React.createElement("div", {
|
|
@@ -3092,21 +3092,6 @@ var Deliveries = function Deliveries(_ref) {
|
|
|
3092
3092
|
};
|
|
3093
3093
|
var Deliveries$1 = withReactQuery(Deliveries);
|
|
3094
3094
|
|
|
3095
|
-
function _extends() {
|
|
3096
|
-
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
3097
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
3098
|
-
var source = arguments[i];
|
|
3099
|
-
for (var key in source) {
|
|
3100
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
3101
|
-
target[key] = source[key];
|
|
3102
|
-
}
|
|
3103
|
-
}
|
|
3104
|
-
}
|
|
3105
|
-
return target;
|
|
3106
|
-
};
|
|
3107
|
-
return _extends.apply(this, arguments);
|
|
3108
|
-
}
|
|
3109
|
-
|
|
3110
3095
|
function cov_cwo9u0u8() {
|
|
3111
3096
|
var path = "/home/runner/work/neeto-webhooks-frontend/neeto-webhooks-frontend/src/apis/webhooks.js";
|
|
3112
3097
|
var hash = "4c6df2421c6afd3d737f2c4fbcb067181b817141";
|
|
@@ -7611,6 +7596,225 @@ var AddWebhookPane = function AddWebhookPane(_ref) {
|
|
|
7611
7596
|
}));
|
|
7612
7597
|
};
|
|
7613
7598
|
|
|
7599
|
+
function _extends() {
|
|
7600
|
+
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
7601
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
7602
|
+
var source = arguments[i];
|
|
7603
|
+
for (var key in source) {
|
|
7604
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
7605
|
+
target[key] = source[key];
|
|
7606
|
+
}
|
|
7607
|
+
}
|
|
7608
|
+
}
|
|
7609
|
+
return target;
|
|
7610
|
+
};
|
|
7611
|
+
return _extends.apply(this, arguments);
|
|
7612
|
+
}
|
|
7613
|
+
|
|
7614
|
+
function cov_x9ae6ht1m() {
|
|
7615
|
+
var path = "/home/runner/work/neeto-webhooks-frontend/neeto-webhooks-frontend/src/components/Webhooks/Header.jsx";
|
|
7616
|
+
var hash = "ec18f7f02d5d62f288a6cc08ec1fc03d89aae51c";
|
|
7617
|
+
var global = new Function("return this")();
|
|
7618
|
+
var gcv = "__coverage__";
|
|
7619
|
+
var coverageData = {
|
|
7620
|
+
path: "/home/runner/work/neeto-webhooks-frontend/neeto-webhooks-frontend/src/components/Webhooks/Header.jsx",
|
|
7621
|
+
statementMap: {
|
|
7622
|
+
"0": {
|
|
7623
|
+
start: {
|
|
7624
|
+
line: 10,
|
|
7625
|
+
column: 15
|
|
7626
|
+
},
|
|
7627
|
+
end: {
|
|
7628
|
+
line: 52,
|
|
7629
|
+
column: 1
|
|
7630
|
+
}
|
|
7631
|
+
},
|
|
7632
|
+
"1": {
|
|
7633
|
+
start: {
|
|
7634
|
+
line: 17,
|
|
7635
|
+
column: 16
|
|
7636
|
+
},
|
|
7637
|
+
end: {
|
|
7638
|
+
line: 17,
|
|
7639
|
+
column: 32
|
|
7640
|
+
}
|
|
7641
|
+
},
|
|
7642
|
+
"2": {
|
|
7643
|
+
start: {
|
|
7644
|
+
line: 19,
|
|
7645
|
+
column: 2
|
|
7646
|
+
},
|
|
7647
|
+
end: {
|
|
7648
|
+
line: 51,
|
|
7649
|
+
column: 4
|
|
7650
|
+
}
|
|
7651
|
+
},
|
|
7652
|
+
"3": {
|
|
7653
|
+
start: {
|
|
7654
|
+
line: 38,
|
|
7655
|
+
column: 27
|
|
7656
|
+
},
|
|
7657
|
+
end: {
|
|
7658
|
+
line: 38,
|
|
7659
|
+
column: 56
|
|
7660
|
+
}
|
|
7661
|
+
}
|
|
7662
|
+
},
|
|
7663
|
+
fnMap: {
|
|
7664
|
+
"0": {
|
|
7665
|
+
name: "(anonymous_0)",
|
|
7666
|
+
decl: {
|
|
7667
|
+
start: {
|
|
7668
|
+
line: 10,
|
|
7669
|
+
column: 15
|
|
7670
|
+
},
|
|
7671
|
+
end: {
|
|
7672
|
+
line: 10,
|
|
7673
|
+
column: 16
|
|
7674
|
+
}
|
|
7675
|
+
},
|
|
7676
|
+
loc: {
|
|
7677
|
+
start: {
|
|
7678
|
+
line: 16,
|
|
7679
|
+
column: 6
|
|
7680
|
+
},
|
|
7681
|
+
end: {
|
|
7682
|
+
line: 52,
|
|
7683
|
+
column: 1
|
|
7684
|
+
}
|
|
7685
|
+
},
|
|
7686
|
+
line: 16
|
|
7687
|
+
},
|
|
7688
|
+
"1": {
|
|
7689
|
+
name: "(anonymous_1)",
|
|
7690
|
+
decl: {
|
|
7691
|
+
start: {
|
|
7692
|
+
line: 38,
|
|
7693
|
+
column: 21
|
|
7694
|
+
},
|
|
7695
|
+
end: {
|
|
7696
|
+
line: 38,
|
|
7697
|
+
column: 22
|
|
7698
|
+
}
|
|
7699
|
+
},
|
|
7700
|
+
loc: {
|
|
7701
|
+
start: {
|
|
7702
|
+
line: 38,
|
|
7703
|
+
column: 27
|
|
7704
|
+
},
|
|
7705
|
+
end: {
|
|
7706
|
+
line: 38,
|
|
7707
|
+
column: 56
|
|
7708
|
+
}
|
|
7709
|
+
},
|
|
7710
|
+
line: 38
|
|
7711
|
+
}
|
|
7712
|
+
},
|
|
7713
|
+
branchMap: {
|
|
7714
|
+
"0": {
|
|
7715
|
+
loc: {
|
|
7716
|
+
start: {
|
|
7717
|
+
line: 23,
|
|
7718
|
+
column: 13
|
|
7719
|
+
},
|
|
7720
|
+
end: {
|
|
7721
|
+
line: 33,
|
|
7722
|
+
column: 9
|
|
7723
|
+
}
|
|
7724
|
+
},
|
|
7725
|
+
type: "binary-expr",
|
|
7726
|
+
locations: [{
|
|
7727
|
+
start: {
|
|
7728
|
+
line: 23,
|
|
7729
|
+
column: 13
|
|
7730
|
+
},
|
|
7731
|
+
end: {
|
|
7732
|
+
line: 23,
|
|
7733
|
+
column: 34
|
|
7734
|
+
}
|
|
7735
|
+
}, {
|
|
7736
|
+
start: {
|
|
7737
|
+
line: 23,
|
|
7738
|
+
column: 38
|
|
7739
|
+
},
|
|
7740
|
+
end: {
|
|
7741
|
+
line: 33,
|
|
7742
|
+
column: 9
|
|
7743
|
+
}
|
|
7744
|
+
}],
|
|
7745
|
+
line: 23
|
|
7746
|
+
}
|
|
7747
|
+
},
|
|
7748
|
+
s: {
|
|
7749
|
+
"0": 0,
|
|
7750
|
+
"1": 0,
|
|
7751
|
+
"2": 0,
|
|
7752
|
+
"3": 0
|
|
7753
|
+
},
|
|
7754
|
+
f: {
|
|
7755
|
+
"0": 0,
|
|
7756
|
+
"1": 0
|
|
7757
|
+
},
|
|
7758
|
+
b: {
|
|
7759
|
+
"0": [0, 0]
|
|
7760
|
+
},
|
|
7761
|
+
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
7762
|
+
hash: "ec18f7f02d5d62f288a6cc08ec1fc03d89aae51c"
|
|
7763
|
+
};
|
|
7764
|
+
var coverage = global[gcv] || (global[gcv] = {});
|
|
7765
|
+
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
7766
|
+
coverage[path] = coverageData;
|
|
7767
|
+
}
|
|
7768
|
+
var actualCoverage = coverage[path];
|
|
7769
|
+
{
|
|
7770
|
+
// @ts-ignore
|
|
7771
|
+
cov_x9ae6ht1m = function () {
|
|
7772
|
+
return actualCoverage;
|
|
7773
|
+
};
|
|
7774
|
+
}
|
|
7775
|
+
return actualCoverage;
|
|
7776
|
+
}
|
|
7777
|
+
cov_x9ae6ht1m();
|
|
7778
|
+
cov_x9ae6ht1m().s[0]++;
|
|
7779
|
+
var Header = function Header(_ref) {
|
|
7780
|
+
var shouldShowBreadcrumbs = _ref.shouldShowBreadcrumbs,
|
|
7781
|
+
deliveriesPath = _ref.deliveriesPath,
|
|
7782
|
+
id = _ref.id,
|
|
7783
|
+
formId = _ref.formId,
|
|
7784
|
+
setIsAddWebhookPaneOpen = _ref.setIsAddWebhookPaneOpen;
|
|
7785
|
+
cov_x9ae6ht1m().f[0]++;
|
|
7786
|
+
var _ref2 = (cov_x9ae6ht1m().s[1]++, useTranslation()),
|
|
7787
|
+
t = _ref2.t;
|
|
7788
|
+
cov_x9ae6ht1m().s[2]++;
|
|
7789
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Header$2, _extends({
|
|
7790
|
+
title: t("webhook.title")
|
|
7791
|
+
}, (cov_x9ae6ht1m().b[0][0]++, shouldShowBreadcrumbs) && (cov_x9ae6ht1m().b[0][1]++, {
|
|
7792
|
+
breadcrumbs: [{
|
|
7793
|
+
link: buildUrl(getConfigurePath(deliveriesPath), {
|
|
7794
|
+
id: id,
|
|
7795
|
+
formId: formId
|
|
7796
|
+
}),
|
|
7797
|
+
text: t("entity.configure")
|
|
7798
|
+
}]
|
|
7799
|
+
}), {
|
|
7800
|
+
actionBlock: /*#__PURE__*/React.createElement(Button, {
|
|
7801
|
+
"data-cy": "add-new-webhook-button",
|
|
7802
|
+
label: t("webhook.add"),
|
|
7803
|
+
onClick: function onClick() {
|
|
7804
|
+
cov_x9ae6ht1m().f[1]++;
|
|
7805
|
+
cov_x9ae6ht1m().s[3]++;
|
|
7806
|
+
return setIsAddWebhookPaneOpen(true);
|
|
7807
|
+
}
|
|
7808
|
+
})
|
|
7809
|
+
})), /*#__PURE__*/React.createElement(Typography, {
|
|
7810
|
+
className: "neeto-ui-text-gray-700",
|
|
7811
|
+
"data-cy": "webhook-description-header",
|
|
7812
|
+
style: "h5",
|
|
7813
|
+
weight: "normal"
|
|
7814
|
+
}, t("webhook.description")));
|
|
7815
|
+
};
|
|
7816
|
+
var Header$1 = /*#__PURE__*/React.memo(Header);
|
|
7817
|
+
|
|
7614
7818
|
function cov_2bmhbwr5yc() {
|
|
7615
7819
|
var path = "/home/runner/work/neeto-webhooks-frontend/neeto-webhooks-frontend/src/components/Webhooks/WebhookItem.jsx";
|
|
7616
7820
|
var hash = "e4d2b0cc05c38418eb7544429ebb4dbe6a6c7cfe";
|
|
@@ -7896,10 +8100,11 @@ var WebhookItem = function WebhookItem(_ref2) {
|
|
|
7896
8100
|
}
|
|
7897
8101
|
}, t("operation.delete"))))));
|
|
7898
8102
|
};
|
|
8103
|
+
var WebhookItem$1 = /*#__PURE__*/React.memo(WebhookItem);
|
|
7899
8104
|
|
|
7900
8105
|
function cov_une6dfv6o() {
|
|
7901
8106
|
var path = "/home/runner/work/neeto-webhooks-frontend/neeto-webhooks-frontend/src/components/Webhooks/index.jsx";
|
|
7902
|
-
var hash = "
|
|
8107
|
+
var hash = "7d2a07f57600a4e9e086eaaf2e051ad55f6d7566";
|
|
7903
8108
|
var global = new Function("return this")();
|
|
7904
8109
|
var gcv = "__coverage__";
|
|
7905
8110
|
var coverageData = {
|
|
@@ -7907,271 +8112,261 @@ function cov_une6dfv6o() {
|
|
|
7907
8112
|
statementMap: {
|
|
7908
8113
|
"0": {
|
|
7909
8114
|
start: {
|
|
7910
|
-
line:
|
|
8115
|
+
line: 19,
|
|
7911
8116
|
column: 17
|
|
7912
8117
|
},
|
|
7913
8118
|
end: {
|
|
7914
|
-
line:
|
|
8119
|
+
line: 102,
|
|
7915
8120
|
column: 1
|
|
7916
8121
|
}
|
|
7917
8122
|
},
|
|
7918
8123
|
"1": {
|
|
7919
8124
|
start: {
|
|
7920
|
-
line:
|
|
8125
|
+
line: 20,
|
|
7921
8126
|
column: 50
|
|
7922
8127
|
},
|
|
7923
8128
|
end: {
|
|
7924
|
-
line:
|
|
8129
|
+
line: 20,
|
|
7925
8130
|
column: 60
|
|
7926
8131
|
}
|
|
7927
8132
|
},
|
|
7928
8133
|
"2": {
|
|
7929
8134
|
start: {
|
|
7930
|
-
line:
|
|
8135
|
+
line: 21,
|
|
7931
8136
|
column: 52
|
|
7932
8137
|
},
|
|
7933
8138
|
end: {
|
|
7934
|
-
line:
|
|
8139
|
+
line: 21,
|
|
7935
8140
|
column: 62
|
|
7936
8141
|
}
|
|
7937
8142
|
},
|
|
7938
8143
|
"3": {
|
|
7939
8144
|
start: {
|
|
7940
|
-
line:
|
|
8145
|
+
line: 22,
|
|
7941
8146
|
column: 58
|
|
7942
8147
|
},
|
|
7943
8148
|
end: {
|
|
7944
|
-
line:
|
|
8149
|
+
line: 22,
|
|
7945
8150
|
column: 73
|
|
7946
8151
|
}
|
|
7947
8152
|
},
|
|
7948
8153
|
"4": {
|
|
7949
8154
|
start: {
|
|
7950
|
-
line:
|
|
8155
|
+
line: 23,
|
|
7951
8156
|
column: 52
|
|
7952
8157
|
},
|
|
7953
8158
|
end: {
|
|
7954
|
-
line:
|
|
8159
|
+
line: 23,
|
|
7955
8160
|
column: 67
|
|
7956
8161
|
}
|
|
7957
8162
|
},
|
|
7958
8163
|
"5": {
|
|
7959
8164
|
start: {
|
|
7960
|
-
line:
|
|
8165
|
+
line: 25,
|
|
7961
8166
|
column: 16
|
|
7962
8167
|
},
|
|
7963
8168
|
end: {
|
|
7964
|
-
line:
|
|
8169
|
+
line: 25,
|
|
7965
8170
|
column: 32
|
|
7966
8171
|
}
|
|
7967
8172
|
},
|
|
7968
8173
|
"6": {
|
|
7969
8174
|
start: {
|
|
7970
|
-
line:
|
|
8175
|
+
line: 26,
|
|
7971
8176
|
column: 25
|
|
7972
8177
|
},
|
|
7973
8178
|
end: {
|
|
7974
|
-
line:
|
|
8179
|
+
line: 26,
|
|
7975
8180
|
column: 36
|
|
7976
8181
|
}
|
|
7977
8182
|
},
|
|
7978
8183
|
"7": {
|
|
7979
8184
|
start: {
|
|
7980
|
-
line:
|
|
8185
|
+
line: 27,
|
|
7981
8186
|
column: 19
|
|
7982
8187
|
},
|
|
7983
8188
|
end: {
|
|
7984
|
-
line:
|
|
8189
|
+
line: 27,
|
|
7985
8190
|
column: 31
|
|
7986
8191
|
}
|
|
7987
8192
|
},
|
|
7988
8193
|
"8": {
|
|
7989
8194
|
start: {
|
|
7990
|
-
line:
|
|
8195
|
+
line: 29,
|
|
7991
8196
|
column: 4
|
|
7992
8197
|
},
|
|
7993
8198
|
end: {
|
|
7994
|
-
line:
|
|
8199
|
+
line: 29,
|
|
7995
8200
|
column: 30
|
|
7996
8201
|
}
|
|
7997
8202
|
},
|
|
7998
8203
|
"9": {
|
|
7999
8204
|
start: {
|
|
8000
|
-
line:
|
|
8205
|
+
line: 31,
|
|
8001
8206
|
column: 60
|
|
8002
8207
|
},
|
|
8003
8208
|
end: {
|
|
8004
|
-
line:
|
|
8209
|
+
line: 33,
|
|
8005
8210
|
column: 4
|
|
8006
8211
|
}
|
|
8007
8212
|
},
|
|
8008
8213
|
"10": {
|
|
8009
8214
|
start: {
|
|
8010
|
-
line:
|
|
8215
|
+
line: 32,
|
|
8011
8216
|
column: 21
|
|
8012
8217
|
},
|
|
8013
8218
|
end: {
|
|
8014
|
-
line:
|
|
8219
|
+
line: 32,
|
|
8015
8220
|
column: 48
|
|
8016
8221
|
}
|
|
8017
8222
|
},
|
|
8018
8223
|
"11": {
|
|
8019
8224
|
start: {
|
|
8020
|
-
line:
|
|
8225
|
+
line: 35,
|
|
8021
8226
|
column: 26
|
|
8022
8227
|
},
|
|
8023
8228
|
end: {
|
|
8024
|
-
line:
|
|
8229
|
+
line: 38,
|
|
8025
8230
|
column: 3
|
|
8026
8231
|
}
|
|
8027
8232
|
},
|
|
8028
8233
|
"12": {
|
|
8029
8234
|
start: {
|
|
8030
|
-
line:
|
|
8235
|
+
line: 36,
|
|
8031
8236
|
column: 4
|
|
8032
8237
|
},
|
|
8033
8238
|
end: {
|
|
8034
|
-
line:
|
|
8239
|
+
line: 36,
|
|
8035
8240
|
column: 30
|
|
8036
8241
|
}
|
|
8037
8242
|
},
|
|
8038
8243
|
"13": {
|
|
8039
8244
|
start: {
|
|
8040
|
-
line:
|
|
8245
|
+
line: 37,
|
|
8041
8246
|
column: 4
|
|
8042
8247
|
},
|
|
8043
8248
|
end: {
|
|
8044
|
-
line:
|
|
8249
|
+
line: 37,
|
|
8045
8250
|
column: 35
|
|
8046
8251
|
}
|
|
8047
8252
|
},
|
|
8048
8253
|
"14": {
|
|
8049
8254
|
start: {
|
|
8050
|
-
line:
|
|
8255
|
+
line: 40,
|
|
8051
8256
|
column: 21
|
|
8052
8257
|
},
|
|
8053
8258
|
end: {
|
|
8054
|
-
line:
|
|
8055
|
-
column:
|
|
8259
|
+
line: 43,
|
|
8260
|
+
column: 8
|
|
8056
8261
|
}
|
|
8057
8262
|
},
|
|
8058
8263
|
"15": {
|
|
8059
8264
|
start: {
|
|
8060
|
-
line:
|
|
8265
|
+
line: 41,
|
|
8061
8266
|
column: 4
|
|
8062
8267
|
},
|
|
8063
8268
|
end: {
|
|
8064
|
-
line:
|
|
8269
|
+
line: 41,
|
|
8065
8270
|
column: 28
|
|
8066
8271
|
}
|
|
8067
8272
|
},
|
|
8068
8273
|
"16": {
|
|
8069
8274
|
start: {
|
|
8070
|
-
line:
|
|
8275
|
+
line: 42,
|
|
8071
8276
|
column: 4
|
|
8072
8277
|
},
|
|
8073
8278
|
end: {
|
|
8074
|
-
line:
|
|
8279
|
+
line: 42,
|
|
8075
8280
|
column: 34
|
|
8076
8281
|
}
|
|
8077
8282
|
},
|
|
8078
8283
|
"17": {
|
|
8079
8284
|
start: {
|
|
8080
|
-
line:
|
|
8285
|
+
line: 45,
|
|
8081
8286
|
column: 23
|
|
8082
8287
|
},
|
|
8083
8288
|
end: {
|
|
8084
|
-
line:
|
|
8085
|
-
column:
|
|
8289
|
+
line: 48,
|
|
8290
|
+
column: 8
|
|
8086
8291
|
}
|
|
8087
8292
|
},
|
|
8088
8293
|
"18": {
|
|
8089
8294
|
start: {
|
|
8090
|
-
line:
|
|
8295
|
+
line: 46,
|
|
8091
8296
|
column: 4
|
|
8092
8297
|
},
|
|
8093
8298
|
end: {
|
|
8094
|
-
line:
|
|
8299
|
+
line: 46,
|
|
8095
8300
|
column: 29
|
|
8096
8301
|
}
|
|
8097
8302
|
},
|
|
8098
8303
|
"19": {
|
|
8099
8304
|
start: {
|
|
8100
|
-
line:
|
|
8305
|
+
line: 47,
|
|
8101
8306
|
column: 4
|
|
8102
8307
|
},
|
|
8103
8308
|
end: {
|
|
8104
|
-
line:
|
|
8309
|
+
line: 47,
|
|
8105
8310
|
column: 31
|
|
8106
8311
|
}
|
|
8107
8312
|
},
|
|
8108
8313
|
"20": {
|
|
8109
8314
|
start: {
|
|
8110
|
-
line:
|
|
8315
|
+
line: 50,
|
|
8111
8316
|
column: 2
|
|
8112
8317
|
},
|
|
8113
8318
|
end: {
|
|
8114
|
-
line:
|
|
8319
|
+
line: 52,
|
|
8115
8320
|
column: 3
|
|
8116
8321
|
}
|
|
8117
8322
|
},
|
|
8118
8323
|
"21": {
|
|
8119
8324
|
start: {
|
|
8120
|
-
line:
|
|
8325
|
+
line: 51,
|
|
8121
8326
|
column: 4
|
|
8122
8327
|
},
|
|
8123
8328
|
end: {
|
|
8124
|
-
line:
|
|
8329
|
+
line: 51,
|
|
8125
8330
|
column: 26
|
|
8126
8331
|
}
|
|
8127
8332
|
},
|
|
8128
8333
|
"22": {
|
|
8129
8334
|
start: {
|
|
8130
|
-
line:
|
|
8335
|
+
line: 54,
|
|
8131
8336
|
column: 2
|
|
8132
8337
|
},
|
|
8133
8338
|
end: {
|
|
8134
|
-
line:
|
|
8339
|
+
line: 101,
|
|
8135
8340
|
column: 4
|
|
8136
8341
|
}
|
|
8137
8342
|
},
|
|
8138
8343
|
"23": {
|
|
8139
8344
|
start: {
|
|
8140
|
-
line:
|
|
8141
|
-
column: 29
|
|
8142
|
-
},
|
|
8143
|
-
end: {
|
|
8144
|
-
line: 76,
|
|
8145
|
-
column: 58
|
|
8146
|
-
}
|
|
8147
|
-
},
|
|
8148
|
-
"24": {
|
|
8149
|
-
start: {
|
|
8150
|
-
line: 91,
|
|
8345
|
+
line: 66,
|
|
8151
8346
|
column: 10
|
|
8152
8347
|
},
|
|
8153
8348
|
end: {
|
|
8154
|
-
line:
|
|
8349
|
+
line: 72,
|
|
8155
8350
|
column: 12
|
|
8156
8351
|
}
|
|
8157
8352
|
},
|
|
8158
|
-
"
|
|
8353
|
+
"24": {
|
|
8159
8354
|
start: {
|
|
8160
|
-
line:
|
|
8355
|
+
line: 97,
|
|
8161
8356
|
column: 23
|
|
8162
8357
|
},
|
|
8163
8358
|
end: {
|
|
8164
|
-
line:
|
|
8359
|
+
line: 97,
|
|
8165
8360
|
column: 50
|
|
8166
8361
|
}
|
|
8167
8362
|
},
|
|
8168
|
-
"
|
|
8363
|
+
"25": {
|
|
8169
8364
|
start: {
|
|
8170
|
-
line:
|
|
8365
|
+
line: 98,
|
|
8171
8366
|
column: 24
|
|
8172
8367
|
},
|
|
8173
8368
|
end: {
|
|
8174
|
-
line:
|
|
8369
|
+
line: 98,
|
|
8175
8370
|
column: 57
|
|
8176
8371
|
}
|
|
8177
8372
|
}
|
|
@@ -8181,320 +8376,296 @@ function cov_une6dfv6o() {
|
|
|
8181
8376
|
name: "(anonymous_0)",
|
|
8182
8377
|
decl: {
|
|
8183
8378
|
start: {
|
|
8184
|
-
line:
|
|
8379
|
+
line: 19,
|
|
8185
8380
|
column: 17
|
|
8186
8381
|
},
|
|
8187
8382
|
end: {
|
|
8188
|
-
line:
|
|
8383
|
+
line: 19,
|
|
8189
8384
|
column: 18
|
|
8190
8385
|
}
|
|
8191
8386
|
},
|
|
8192
8387
|
loc: {
|
|
8193
8388
|
start: {
|
|
8194
|
-
line:
|
|
8389
|
+
line: 19,
|
|
8195
8390
|
column: 76
|
|
8196
8391
|
},
|
|
8197
8392
|
end: {
|
|
8198
|
-
line:
|
|
8393
|
+
line: 102,
|
|
8199
8394
|
column: 1
|
|
8200
8395
|
}
|
|
8201
8396
|
},
|
|
8202
|
-
line:
|
|
8397
|
+
line: 19
|
|
8203
8398
|
},
|
|
8204
8399
|
"1": {
|
|
8205
8400
|
name: "(anonymous_1)",
|
|
8206
8401
|
decl: {
|
|
8207
8402
|
start: {
|
|
8208
|
-
line:
|
|
8403
|
+
line: 32,
|
|
8209
8404
|
column: 15
|
|
8210
8405
|
},
|
|
8211
8406
|
end: {
|
|
8212
|
-
line:
|
|
8407
|
+
line: 32,
|
|
8213
8408
|
column: 16
|
|
8214
8409
|
}
|
|
8215
8410
|
},
|
|
8216
8411
|
loc: {
|
|
8217
8412
|
start: {
|
|
8218
|
-
line:
|
|
8413
|
+
line: 32,
|
|
8219
8414
|
column: 21
|
|
8220
8415
|
},
|
|
8221
8416
|
end: {
|
|
8222
|
-
line:
|
|
8417
|
+
line: 32,
|
|
8223
8418
|
column: 48
|
|
8224
8419
|
}
|
|
8225
8420
|
},
|
|
8226
|
-
line:
|
|
8421
|
+
line: 32
|
|
8227
8422
|
},
|
|
8228
8423
|
"2": {
|
|
8229
8424
|
name: "(anonymous_2)",
|
|
8230
8425
|
decl: {
|
|
8231
8426
|
start: {
|
|
8232
|
-
line:
|
|
8427
|
+
line: 35,
|
|
8233
8428
|
column: 26
|
|
8234
8429
|
},
|
|
8235
8430
|
end: {
|
|
8236
|
-
line:
|
|
8431
|
+
line: 35,
|
|
8237
8432
|
column: 27
|
|
8238
8433
|
}
|
|
8239
8434
|
},
|
|
8240
8435
|
loc: {
|
|
8241
8436
|
start: {
|
|
8242
|
-
line:
|
|
8437
|
+
line: 35,
|
|
8243
8438
|
column: 32
|
|
8244
8439
|
},
|
|
8245
8440
|
end: {
|
|
8246
|
-
line:
|
|
8441
|
+
line: 38,
|
|
8247
8442
|
column: 3
|
|
8248
8443
|
}
|
|
8249
8444
|
},
|
|
8250
|
-
line:
|
|
8445
|
+
line: 35
|
|
8251
8446
|
},
|
|
8252
8447
|
"3": {
|
|
8253
8448
|
name: "(anonymous_3)",
|
|
8254
8449
|
decl: {
|
|
8255
8450
|
start: {
|
|
8256
|
-
line:
|
|
8257
|
-
column:
|
|
8451
|
+
line: 40,
|
|
8452
|
+
column: 33
|
|
8258
8453
|
},
|
|
8259
8454
|
end: {
|
|
8260
|
-
line:
|
|
8261
|
-
column:
|
|
8455
|
+
line: 40,
|
|
8456
|
+
column: 34
|
|
8262
8457
|
}
|
|
8263
8458
|
},
|
|
8264
8459
|
loc: {
|
|
8265
8460
|
start: {
|
|
8266
|
-
line:
|
|
8267
|
-
column:
|
|
8461
|
+
line: 40,
|
|
8462
|
+
column: 39
|
|
8268
8463
|
},
|
|
8269
8464
|
end: {
|
|
8270
|
-
line:
|
|
8465
|
+
line: 43,
|
|
8271
8466
|
column: 3
|
|
8272
8467
|
}
|
|
8273
8468
|
},
|
|
8274
|
-
line:
|
|
8469
|
+
line: 40
|
|
8275
8470
|
},
|
|
8276
8471
|
"4": {
|
|
8277
8472
|
name: "(anonymous_4)",
|
|
8278
8473
|
decl: {
|
|
8279
8474
|
start: {
|
|
8280
|
-
line:
|
|
8281
|
-
column:
|
|
8475
|
+
line: 45,
|
|
8476
|
+
column: 35
|
|
8282
8477
|
},
|
|
8283
8478
|
end: {
|
|
8284
|
-
line:
|
|
8285
|
-
column:
|
|
8479
|
+
line: 45,
|
|
8480
|
+
column: 36
|
|
8286
8481
|
}
|
|
8287
8482
|
},
|
|
8288
8483
|
loc: {
|
|
8289
8484
|
start: {
|
|
8290
|
-
line:
|
|
8291
|
-
column:
|
|
8485
|
+
line: 45,
|
|
8486
|
+
column: 41
|
|
8292
8487
|
},
|
|
8293
8488
|
end: {
|
|
8294
|
-
line:
|
|
8489
|
+
line: 48,
|
|
8295
8490
|
column: 3
|
|
8296
8491
|
}
|
|
8297
8492
|
},
|
|
8298
|
-
line:
|
|
8493
|
+
line: 45
|
|
8299
8494
|
},
|
|
8300
8495
|
"5": {
|
|
8301
8496
|
name: "(anonymous_5)",
|
|
8302
8497
|
decl: {
|
|
8303
8498
|
start: {
|
|
8304
|
-
line:
|
|
8305
|
-
column: 23
|
|
8306
|
-
},
|
|
8307
|
-
end: {
|
|
8308
|
-
line: 76,
|
|
8309
|
-
column: 24
|
|
8310
|
-
}
|
|
8311
|
-
},
|
|
8312
|
-
loc: {
|
|
8313
|
-
start: {
|
|
8314
|
-
line: 76,
|
|
8315
|
-
column: 29
|
|
8316
|
-
},
|
|
8317
|
-
end: {
|
|
8318
|
-
line: 76,
|
|
8319
|
-
column: 58
|
|
8320
|
-
}
|
|
8321
|
-
},
|
|
8322
|
-
line: 76
|
|
8323
|
-
},
|
|
8324
|
-
"6": {
|
|
8325
|
-
name: "(anonymous_6)",
|
|
8326
|
-
decl: {
|
|
8327
|
-
start: {
|
|
8328
|
-
line: 90,
|
|
8499
|
+
line: 65,
|
|
8329
8500
|
column: 22
|
|
8330
8501
|
},
|
|
8331
8502
|
end: {
|
|
8332
|
-
line:
|
|
8503
|
+
line: 65,
|
|
8333
8504
|
column: 23
|
|
8334
8505
|
}
|
|
8335
8506
|
},
|
|
8336
8507
|
loc: {
|
|
8337
8508
|
start: {
|
|
8338
|
-
line:
|
|
8509
|
+
line: 66,
|
|
8339
8510
|
column: 10
|
|
8340
8511
|
},
|
|
8341
8512
|
end: {
|
|
8342
|
-
line:
|
|
8513
|
+
line: 72,
|
|
8343
8514
|
column: 12
|
|
8344
8515
|
}
|
|
8345
8516
|
},
|
|
8346
|
-
line:
|
|
8517
|
+
line: 66
|
|
8347
8518
|
},
|
|
8348
|
-
"
|
|
8349
|
-
name: "(
|
|
8519
|
+
"6": {
|
|
8520
|
+
name: "(anonymous_6)",
|
|
8350
8521
|
decl: {
|
|
8351
8522
|
start: {
|
|
8352
|
-
line:
|
|
8523
|
+
line: 97,
|
|
8353
8524
|
column: 17
|
|
8354
8525
|
},
|
|
8355
8526
|
end: {
|
|
8356
|
-
line:
|
|
8527
|
+
line: 97,
|
|
8357
8528
|
column: 18
|
|
8358
8529
|
}
|
|
8359
8530
|
},
|
|
8360
8531
|
loc: {
|
|
8361
8532
|
start: {
|
|
8362
|
-
line:
|
|
8533
|
+
line: 97,
|
|
8363
8534
|
column: 23
|
|
8364
8535
|
},
|
|
8365
8536
|
end: {
|
|
8366
|
-
line:
|
|
8537
|
+
line: 97,
|
|
8367
8538
|
column: 50
|
|
8368
8539
|
}
|
|
8369
8540
|
},
|
|
8370
|
-
line:
|
|
8541
|
+
line: 97
|
|
8371
8542
|
},
|
|
8372
|
-
"
|
|
8373
|
-
name: "(
|
|
8543
|
+
"7": {
|
|
8544
|
+
name: "(anonymous_7)",
|
|
8374
8545
|
decl: {
|
|
8375
8546
|
start: {
|
|
8376
|
-
line:
|
|
8547
|
+
line: 98,
|
|
8377
8548
|
column: 18
|
|
8378
8549
|
},
|
|
8379
8550
|
end: {
|
|
8380
|
-
line:
|
|
8551
|
+
line: 98,
|
|
8381
8552
|
column: 19
|
|
8382
8553
|
}
|
|
8383
8554
|
},
|
|
8384
8555
|
loc: {
|
|
8385
8556
|
start: {
|
|
8386
|
-
line:
|
|
8557
|
+
line: 98,
|
|
8387
8558
|
column: 24
|
|
8388
8559
|
},
|
|
8389
8560
|
end: {
|
|
8390
|
-
line:
|
|
8561
|
+
line: 98,
|
|
8391
8562
|
column: 57
|
|
8392
8563
|
}
|
|
8393
8564
|
},
|
|
8394
|
-
line:
|
|
8565
|
+
line: 98
|
|
8395
8566
|
}
|
|
8396
8567
|
},
|
|
8397
8568
|
branchMap: {
|
|
8398
8569
|
"0": {
|
|
8399
8570
|
loc: {
|
|
8400
8571
|
start: {
|
|
8401
|
-
line:
|
|
8572
|
+
line: 27,
|
|
8402
8573
|
column: 19
|
|
8403
8574
|
},
|
|
8404
8575
|
end: {
|
|
8405
|
-
line:
|
|
8576
|
+
line: 27,
|
|
8406
8577
|
column: 31
|
|
8407
8578
|
}
|
|
8408
8579
|
},
|
|
8409
8580
|
type: "binary-expr",
|
|
8410
8581
|
locations: [{
|
|
8411
8582
|
start: {
|
|
8412
|
-
line:
|
|
8583
|
+
line: 27,
|
|
8413
8584
|
column: 19
|
|
8414
8585
|
},
|
|
8415
8586
|
end: {
|
|
8416
|
-
line:
|
|
8587
|
+
line: 27,
|
|
8417
8588
|
column: 21
|
|
8418
8589
|
}
|
|
8419
8590
|
}, {
|
|
8420
8591
|
start: {
|
|
8421
|
-
line:
|
|
8592
|
+
line: 27,
|
|
8422
8593
|
column: 25
|
|
8423
8594
|
},
|
|
8424
8595
|
end: {
|
|
8425
|
-
line:
|
|
8596
|
+
line: 27,
|
|
8426
8597
|
column: 31
|
|
8427
8598
|
}
|
|
8428
8599
|
}],
|
|
8429
|
-
line:
|
|
8600
|
+
line: 27
|
|
8430
8601
|
},
|
|
8431
8602
|
"1": {
|
|
8432
8603
|
loc: {
|
|
8433
8604
|
start: {
|
|
8434
|
-
line:
|
|
8605
|
+
line: 28,
|
|
8435
8606
|
column: 27
|
|
8436
8607
|
},
|
|
8437
8608
|
end: {
|
|
8438
|
-
line:
|
|
8609
|
+
line: 28,
|
|
8439
8610
|
column: 49
|
|
8440
8611
|
}
|
|
8441
8612
|
},
|
|
8442
8613
|
type: "default-arg",
|
|
8443
8614
|
locations: [{
|
|
8444
8615
|
start: {
|
|
8445
|
-
line:
|
|
8616
|
+
line: 28,
|
|
8446
8617
|
column: 47
|
|
8447
8618
|
},
|
|
8448
8619
|
end: {
|
|
8449
|
-
line:
|
|
8620
|
+
line: 28,
|
|
8450
8621
|
column: 49
|
|
8451
8622
|
}
|
|
8452
8623
|
}],
|
|
8453
|
-
line:
|
|
8624
|
+
line: 28
|
|
8454
8625
|
},
|
|
8455
8626
|
"2": {
|
|
8456
8627
|
loc: {
|
|
8457
8628
|
start: {
|
|
8458
|
-
line:
|
|
8629
|
+
line: 28,
|
|
8459
8630
|
column: 29
|
|
8460
8631
|
},
|
|
8461
8632
|
end: {
|
|
8462
|
-
line:
|
|
8633
|
+
line: 28,
|
|
8463
8634
|
column: 42
|
|
8464
8635
|
}
|
|
8465
8636
|
},
|
|
8466
8637
|
type: "default-arg",
|
|
8467
8638
|
locations: [{
|
|
8468
8639
|
start: {
|
|
8469
|
-
line:
|
|
8640
|
+
line: 28,
|
|
8470
8641
|
column: 40
|
|
8471
8642
|
},
|
|
8472
8643
|
end: {
|
|
8473
|
-
line:
|
|
8644
|
+
line: 28,
|
|
8474
8645
|
column: 42
|
|
8475
8646
|
}
|
|
8476
8647
|
}],
|
|
8477
|
-
line:
|
|
8648
|
+
line: 28
|
|
8478
8649
|
},
|
|
8479
8650
|
"3": {
|
|
8480
8651
|
loc: {
|
|
8481
8652
|
start: {
|
|
8482
|
-
line:
|
|
8653
|
+
line: 50,
|
|
8483
8654
|
column: 2
|
|
8484
8655
|
},
|
|
8485
8656
|
end: {
|
|
8486
|
-
line:
|
|
8657
|
+
line: 52,
|
|
8487
8658
|
column: 3
|
|
8488
8659
|
}
|
|
8489
8660
|
},
|
|
8490
8661
|
type: "if",
|
|
8491
8662
|
locations: [{
|
|
8492
8663
|
start: {
|
|
8493
|
-
line:
|
|
8664
|
+
line: 50,
|
|
8494
8665
|
column: 2
|
|
8495
8666
|
},
|
|
8496
8667
|
end: {
|
|
8497
|
-
line:
|
|
8668
|
+
line: 52,
|
|
8498
8669
|
column: 3
|
|
8499
8670
|
}
|
|
8500
8671
|
}, {
|
|
@@ -8507,73 +8678,40 @@ function cov_une6dfv6o() {
|
|
|
8507
8678
|
column: undefined
|
|
8508
8679
|
}
|
|
8509
8680
|
}],
|
|
8510
|
-
line:
|
|
8681
|
+
line: 50
|
|
8511
8682
|
},
|
|
8512
8683
|
"4": {
|
|
8513
8684
|
loc: {
|
|
8514
8685
|
start: {
|
|
8515
|
-
line:
|
|
8516
|
-
column: 15
|
|
8517
|
-
},
|
|
8518
|
-
end: {
|
|
8519
|
-
line: 71,
|
|
8520
|
-
column: 11
|
|
8521
|
-
}
|
|
8522
|
-
},
|
|
8523
|
-
type: "binary-expr",
|
|
8524
|
-
locations: [{
|
|
8525
|
-
start: {
|
|
8526
|
-
line: 61,
|
|
8527
|
-
column: 15
|
|
8528
|
-
},
|
|
8529
|
-
end: {
|
|
8530
|
-
line: 61,
|
|
8531
|
-
column: 36
|
|
8532
|
-
}
|
|
8533
|
-
}, {
|
|
8534
|
-
start: {
|
|
8535
|
-
line: 61,
|
|
8536
|
-
column: 40
|
|
8537
|
-
},
|
|
8538
|
-
end: {
|
|
8539
|
-
line: 71,
|
|
8540
|
-
column: 11
|
|
8541
|
-
}
|
|
8542
|
-
}],
|
|
8543
|
-
line: 61
|
|
8544
|
-
},
|
|
8545
|
-
"5": {
|
|
8546
|
-
loc: {
|
|
8547
|
-
start: {
|
|
8548
|
-
line: 99,
|
|
8686
|
+
line: 74,
|
|
8549
8687
|
column: 9
|
|
8550
8688
|
},
|
|
8551
8689
|
end: {
|
|
8552
|
-
line:
|
|
8690
|
+
line: 78,
|
|
8553
8691
|
column: 9
|
|
8554
8692
|
}
|
|
8555
8693
|
},
|
|
8556
8694
|
type: "binary-expr",
|
|
8557
8695
|
locations: [{
|
|
8558
8696
|
start: {
|
|
8559
|
-
line:
|
|
8697
|
+
line: 74,
|
|
8560
8698
|
column: 9
|
|
8561
8699
|
},
|
|
8562
8700
|
end: {
|
|
8563
|
-
line:
|
|
8701
|
+
line: 74,
|
|
8564
8702
|
column: 26
|
|
8565
8703
|
}
|
|
8566
8704
|
}, {
|
|
8567
8705
|
start: {
|
|
8568
|
-
line:
|
|
8706
|
+
line: 75,
|
|
8569
8707
|
column: 10
|
|
8570
8708
|
},
|
|
8571
8709
|
end: {
|
|
8572
|
-
line:
|
|
8710
|
+
line: 77,
|
|
8573
8711
|
column: 16
|
|
8574
8712
|
}
|
|
8575
8713
|
}],
|
|
8576
|
-
line:
|
|
8714
|
+
line: 74
|
|
8577
8715
|
}
|
|
8578
8716
|
},
|
|
8579
8717
|
s: {
|
|
@@ -8602,8 +8740,7 @@ function cov_une6dfv6o() {
|
|
|
8602
8740
|
"22": 0,
|
|
8603
8741
|
"23": 0,
|
|
8604
8742
|
"24": 0,
|
|
8605
|
-
"25": 0
|
|
8606
|
-
"26": 0
|
|
8743
|
+
"25": 0
|
|
8607
8744
|
},
|
|
8608
8745
|
f: {
|
|
8609
8746
|
"0": 0,
|
|
@@ -8613,19 +8750,17 @@ function cov_une6dfv6o() {
|
|
|
8613
8750
|
"4": 0,
|
|
8614
8751
|
"5": 0,
|
|
8615
8752
|
"6": 0,
|
|
8616
|
-
"7": 0
|
|
8617
|
-
"8": 0
|
|
8753
|
+
"7": 0
|
|
8618
8754
|
},
|
|
8619
8755
|
b: {
|
|
8620
8756
|
"0": [0, 0],
|
|
8621
8757
|
"1": [0],
|
|
8622
8758
|
"2": [0],
|
|
8623
8759
|
"3": [0, 0],
|
|
8624
|
-
"4": [0, 0]
|
|
8625
|
-
"5": [0, 0]
|
|
8760
|
+
"4": [0, 0]
|
|
8626
8761
|
},
|
|
8627
8762
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
8628
|
-
hash: "
|
|
8763
|
+
hash: "7d2a07f57600a4e9e086eaaf2e051ad55f6d7566"
|
|
8629
8764
|
};
|
|
8630
8765
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
8631
8766
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -8693,22 +8828,20 @@ var Webhooks = function Webhooks(_ref) {
|
|
|
8693
8828
|
cov_une6dfv6o().s[13]++;
|
|
8694
8829
|
setIsAddWebhookPaneOpen(false);
|
|
8695
8830
|
};
|
|
8696
|
-
cov_une6dfv6o().s[14]
|
|
8697
|
-
var handleEdit = function handleEdit(id) {
|
|
8831
|
+
var handleEdit = (cov_une6dfv6o().s[14]++, useCallback(function (id) {
|
|
8698
8832
|
cov_une6dfv6o().f[3]++;
|
|
8699
8833
|
cov_une6dfv6o().s[15]++;
|
|
8700
8834
|
setEditingWebhookId(id);
|
|
8701
8835
|
cov_une6dfv6o().s[16]++;
|
|
8702
8836
|
setIsAddWebhookPaneOpen(true);
|
|
8703
|
-
};
|
|
8704
|
-
cov_une6dfv6o().s[17]
|
|
8705
|
-
var handleDelete = function handleDelete(id) {
|
|
8837
|
+
}, []));
|
|
8838
|
+
var handleDelete = (cov_une6dfv6o().s[17]++, useCallback(function (id) {
|
|
8706
8839
|
cov_une6dfv6o().f[4]++;
|
|
8707
8840
|
cov_une6dfv6o().s[18]++;
|
|
8708
8841
|
setDeletingWebhookId(id);
|
|
8709
8842
|
cov_une6dfv6o().s[19]++;
|
|
8710
8843
|
setIsDeleteAlertOpen(true);
|
|
8711
|
-
};
|
|
8844
|
+
}, []));
|
|
8712
8845
|
cov_une6dfv6o().s[20]++;
|
|
8713
8846
|
if (isLoading) {
|
|
8714
8847
|
cov_une6dfv6o().b[3][0]++;
|
|
@@ -8722,44 +8855,25 @@ var Webhooks = function Webhooks(_ref) {
|
|
|
8722
8855
|
className: "w-full px-6"
|
|
8723
8856
|
}, /*#__PURE__*/React.createElement("div", {
|
|
8724
8857
|
className: "sticky top-0 z-50 w-full bg-white"
|
|
8725
|
-
}, /*#__PURE__*/React.createElement(Header,
|
|
8726
|
-
|
|
8727
|
-
|
|
8728
|
-
|
|
8729
|
-
|
|
8730
|
-
|
|
8731
|
-
|
|
8732
|
-
}),
|
|
8733
|
-
text: t("entity.configure")
|
|
8734
|
-
}]
|
|
8735
|
-
}), {
|
|
8736
|
-
actionBlock: /*#__PURE__*/React.createElement(Button, {
|
|
8737
|
-
"data-cy": "add-new-webhook-button",
|
|
8738
|
-
label: t("webhook.add"),
|
|
8739
|
-
onClick: function onClick() {
|
|
8740
|
-
cov_une6dfv6o().f[5]++;
|
|
8741
|
-
cov_une6dfv6o().s[23]++;
|
|
8742
|
-
return setIsAddWebhookPaneOpen(true);
|
|
8743
|
-
}
|
|
8744
|
-
})
|
|
8745
|
-
})), /*#__PURE__*/React.createElement(Typography, {
|
|
8746
|
-
className: "neeto-ui-text-gray-700",
|
|
8747
|
-
"data-cy": "webhook-description-header",
|
|
8748
|
-
style: "h5",
|
|
8749
|
-
weight: "normal"
|
|
8750
|
-
}, t("webhook.description"))), /*#__PURE__*/React.createElement("div", {
|
|
8858
|
+
}), /*#__PURE__*/React.createElement(Header$1, {
|
|
8859
|
+
deliveriesPath: deliveriesPath,
|
|
8860
|
+
formId: formId,
|
|
8861
|
+
id: id,
|
|
8862
|
+
setIsAddWebhookPaneOpen: setIsAddWebhookPaneOpen,
|
|
8863
|
+
shouldShowBreadcrumbs: shouldShowBreadcrumbs
|
|
8864
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
8751
8865
|
className: "webhooks__list space-y-2"
|
|
8752
8866
|
}, webhooks.map(function (webhook) {
|
|
8753
|
-
cov_une6dfv6o().f[
|
|
8754
|
-
cov_une6dfv6o().s[
|
|
8755
|
-
return /*#__PURE__*/React.createElement(WebhookItem, {
|
|
8867
|
+
cov_une6dfv6o().f[5]++;
|
|
8868
|
+
cov_une6dfv6o().s[23]++;
|
|
8869
|
+
return /*#__PURE__*/React.createElement(WebhookItem$1, {
|
|
8756
8870
|
deliveriesPath: deliveriesPath,
|
|
8757
8871
|
key: webhook.id,
|
|
8758
8872
|
webhook: webhook,
|
|
8759
8873
|
onDeleteClick: handleDelete,
|
|
8760
8874
|
onEditClick: handleEdit
|
|
8761
8875
|
});
|
|
8762
|
-
}), (cov_une6dfv6o().b[
|
|
8876
|
+
}), (cov_une6dfv6o().b[4][0]++, isEmpty(webhooks)) && (cov_une6dfv6o().b[4][1]++, /*#__PURE__*/React.createElement("div", {
|
|
8763
8877
|
className: "flex h-full items-center justify-center"
|
|
8764
8878
|
}, /*#__PURE__*/React.createElement(NoData, {
|
|
8765
8879
|
title: t("webhook.empty")
|
|
@@ -8780,13 +8894,13 @@ var Webhooks = function Webhooks(_ref) {
|
|
|
8780
8894
|
entity: t("entity.webhook")
|
|
8781
8895
|
}),
|
|
8782
8896
|
onClose: function onClose() {
|
|
8783
|
-
cov_une6dfv6o().f[
|
|
8784
|
-
cov_une6dfv6o().s[
|
|
8897
|
+
cov_une6dfv6o().f[6]++;
|
|
8898
|
+
cov_une6dfv6o().s[24]++;
|
|
8785
8899
|
return setIsDeleteAlertOpen(false);
|
|
8786
8900
|
},
|
|
8787
8901
|
onSubmit: function onSubmit() {
|
|
8788
|
-
cov_une6dfv6o().f[
|
|
8789
|
-
cov_une6dfv6o().s[
|
|
8902
|
+
cov_une6dfv6o().f[7]++;
|
|
8903
|
+
cov_une6dfv6o().s[25]++;
|
|
8790
8904
|
return destroyWebhook(deletingWebhookId);
|
|
8791
8905
|
}
|
|
8792
8906
|
}));
|
|
@@ -9029,7 +9143,6 @@ n(css,{});
|
|
|
9029
9143
|
|
|
9030
9144
|
var entity = {
|
|
9031
9145
|
webhook: "webhook",
|
|
9032
|
-
delivery: "delivery",
|
|
9033
9146
|
configure: "Configure"
|
|
9034
9147
|
};
|
|
9035
9148
|
var buttons = {
|
|
@@ -9061,21 +9174,13 @@ var delivery = {
|
|
|
9061
9174
|
var webhook = {
|
|
9062
9175
|
title: "Webhooks",
|
|
9063
9176
|
description: "All new action event details will be posted to the configured webhook URLs",
|
|
9064
|
-
input: "Endpoint URL",
|
|
9065
|
-
placeholder: "Enter your endpoint URL",
|
|
9066
9177
|
empty: "There are no webhooks defined currently",
|
|
9067
9178
|
add: "Add new webhook",
|
|
9068
|
-
create: "Create Webhook",
|
|
9069
9179
|
endpoint: "Endpoint",
|
|
9070
9180
|
endpointPlaceholder: "Enter endpoint URL",
|
|
9071
9181
|
secret: "Secret key",
|
|
9072
9182
|
secretPlaceholder: "Enter secret key",
|
|
9073
|
-
edit: "Edit Webhook"
|
|
9074
|
-
secretHelpPopover: {
|
|
9075
|
-
title: "What is Secret key?",
|
|
9076
|
-
description: "An optional token to ensure your server is only receiving the expected host application requests for security reasons.",
|
|
9077
|
-
linkText: "View help article"
|
|
9078
|
-
}
|
|
9183
|
+
edit: "Edit Webhook"
|
|
9079
9184
|
};
|
|
9080
9185
|
var operation = {
|
|
9081
9186
|
edit: "Edit",
|