@bigbinary/neeto-webhooks-frontend 1.4.1 → 1.4.2
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 +52 -47
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +52 -47
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7754,7 +7754,7 @@ var WEBHOOK_SECRET_KEY_HELP_URL = (cov_cbigk78w1().s[3]++, "https://neetocalhelp
|
|
|
7754
7754
|
|
|
7755
7755
|
function cov_t5m44crof() {
|
|
7756
7756
|
var path = "/home/runner/work/neeto-webhooks-frontend/neeto-webhooks-frontend/src/components/Webhooks/AddWebhookPane.jsx";
|
|
7757
|
-
var hash = "
|
|
7757
|
+
var hash = "f17378e44869600fe33c021ade99a126cccafb8c";
|
|
7758
7758
|
var global = new Function("return this")();
|
|
7759
7759
|
var gcv = "__coverage__";
|
|
7760
7760
|
var coverageData = {
|
|
@@ -7766,7 +7766,7 @@ function cov_t5m44crof() {
|
|
|
7766
7766
|
column: 23
|
|
7767
7767
|
},
|
|
7768
7768
|
end: {
|
|
7769
|
-
line:
|
|
7769
|
+
line: 137,
|
|
7770
7770
|
column: 1
|
|
7771
7771
|
}
|
|
7772
7772
|
},
|
|
@@ -7886,7 +7886,7 @@ function cov_t5m44crof() {
|
|
|
7886
7886
|
column: 2
|
|
7887
7887
|
},
|
|
7888
7888
|
end: {
|
|
7889
|
-
line:
|
|
7889
|
+
line: 136,
|
|
7890
7890
|
column: 4
|
|
7891
7891
|
}
|
|
7892
7892
|
},
|
|
@@ -7906,7 +7906,7 @@ function cov_t5m44crof() {
|
|
|
7906
7906
|
column: 10
|
|
7907
7907
|
},
|
|
7908
7908
|
end: {
|
|
7909
|
-
line:
|
|
7909
|
+
line: 132,
|
|
7910
7910
|
column: 13
|
|
7911
7911
|
}
|
|
7912
7912
|
}
|
|
@@ -7930,7 +7930,7 @@ function cov_t5m44crof() {
|
|
|
7930
7930
|
column: 6
|
|
7931
7931
|
},
|
|
7932
7932
|
end: {
|
|
7933
|
-
line:
|
|
7933
|
+
line: 137,
|
|
7934
7934
|
column: 1
|
|
7935
7935
|
}
|
|
7936
7936
|
},
|
|
@@ -8050,7 +8050,7 @@ function cov_t5m44crof() {
|
|
|
8050
8050
|
column: 10
|
|
8051
8051
|
},
|
|
8052
8052
|
end: {
|
|
8053
|
-
line:
|
|
8053
|
+
line: 132,
|
|
8054
8054
|
column: 13
|
|
8055
8055
|
}
|
|
8056
8056
|
},
|
|
@@ -8239,7 +8239,7 @@ function cov_t5m44crof() {
|
|
|
8239
8239
|
"4": [0, 0]
|
|
8240
8240
|
},
|
|
8241
8241
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
8242
|
-
hash: "
|
|
8242
|
+
hash: "f17378e44869600fe33c021ade99a126cccafb8c"
|
|
8243
8243
|
};
|
|
8244
8244
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
8245
8245
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -8313,6 +8313,7 @@ var AddWebhookPane = function AddWebhookPane(_ref) {
|
|
|
8313
8313
|
isOpen: isOpen,
|
|
8314
8314
|
onClose: onClose
|
|
8315
8315
|
}, /*#__PURE__*/React.createElement(Pane.Header, null, /*#__PURE__*/React.createElement(Typography, {
|
|
8316
|
+
"data-cy": "add-new-webhook-pane-header",
|
|
8316
8317
|
style: "h2",
|
|
8317
8318
|
weight: "semibold"
|
|
8318
8319
|
}, editingWebhookId ? (cov_t5m44crof().b[4][0]++, t("webhook.edit")) : (cov_t5m44crof().b[4][1]++, t("webhook.add")))), /*#__PURE__*/React.createElement(Form, {
|
|
@@ -8335,12 +8336,14 @@ var AddWebhookPane = function AddWebhookPane(_ref) {
|
|
|
8335
8336
|
className: "w-full space-y-4"
|
|
8336
8337
|
}, /*#__PURE__*/React.createElement(Input$1, {
|
|
8337
8338
|
required: true,
|
|
8339
|
+
"data-cy": "endpoint-input-field",
|
|
8338
8340
|
label: t("webhook.endpoint"),
|
|
8339
8341
|
name: "endpoint",
|
|
8340
8342
|
placeholder: t("webhook.endpointPlaceholder"),
|
|
8341
8343
|
ref: endpointRef
|
|
8342
8344
|
}), /*#__PURE__*/React.createElement(Input$1, {
|
|
8343
8345
|
name: "secret",
|
|
8346
|
+
"data-cy": "secret-key-input-field",
|
|
8344
8347
|
placeholder: t("webhook.secretPlaceholder"),
|
|
8345
8348
|
label: /*#__PURE__*/React.createElement(React.Fragment, null, t("webhook.secret"), /*#__PURE__*/React.createElement("span", {
|
|
8346
8349
|
ref: popoverRef
|
|
@@ -8670,7 +8673,7 @@ var WebhookItem = function WebhookItem(_ref2) {
|
|
|
8670
8673
|
|
|
8671
8674
|
function cov_une6dfv6o() {
|
|
8672
8675
|
var path = "/home/runner/work/neeto-webhooks-frontend/neeto-webhooks-frontend/src/components/Webhooks/index.jsx";
|
|
8673
|
-
var hash = "
|
|
8676
|
+
var hash = "5b41c778caf20030622d832ae2adaa3f5f3cb845";
|
|
8674
8677
|
var global = new Function("return this")();
|
|
8675
8678
|
var gcv = "__coverage__";
|
|
8676
8679
|
var coverageData = {
|
|
@@ -8682,7 +8685,7 @@ function cov_une6dfv6o() {
|
|
|
8682
8685
|
column: 17
|
|
8683
8686
|
},
|
|
8684
8687
|
end: {
|
|
8685
|
-
line:
|
|
8688
|
+
line: 127,
|
|
8686
8689
|
column: 1
|
|
8687
8690
|
}
|
|
8688
8691
|
},
|
|
@@ -8902,47 +8905,47 @@ function cov_une6dfv6o() {
|
|
|
8902
8905
|
column: 2
|
|
8903
8906
|
},
|
|
8904
8907
|
end: {
|
|
8905
|
-
line:
|
|
8908
|
+
line: 126,
|
|
8906
8909
|
column: 4
|
|
8907
8910
|
}
|
|
8908
8911
|
},
|
|
8909
8912
|
"23": {
|
|
8910
8913
|
start: {
|
|
8911
|
-
line:
|
|
8914
|
+
line: 76,
|
|
8912
8915
|
column: 29
|
|
8913
8916
|
},
|
|
8914
8917
|
end: {
|
|
8915
|
-
line:
|
|
8918
|
+
line: 76,
|
|
8916
8919
|
column: 58
|
|
8917
8920
|
}
|
|
8918
8921
|
},
|
|
8919
8922
|
"24": {
|
|
8920
8923
|
start: {
|
|
8921
|
-
line:
|
|
8924
|
+
line: 91,
|
|
8922
8925
|
column: 10
|
|
8923
8926
|
},
|
|
8924
8927
|
end: {
|
|
8925
|
-
line:
|
|
8928
|
+
line: 97,
|
|
8926
8929
|
column: 12
|
|
8927
8930
|
}
|
|
8928
8931
|
},
|
|
8929
8932
|
"25": {
|
|
8930
8933
|
start: {
|
|
8931
|
-
line:
|
|
8934
|
+
line: 122,
|
|
8932
8935
|
column: 23
|
|
8933
8936
|
},
|
|
8934
8937
|
end: {
|
|
8935
|
-
line:
|
|
8938
|
+
line: 122,
|
|
8936
8939
|
column: 50
|
|
8937
8940
|
}
|
|
8938
8941
|
},
|
|
8939
8942
|
"26": {
|
|
8940
8943
|
start: {
|
|
8941
|
-
line:
|
|
8944
|
+
line: 123,
|
|
8942
8945
|
column: 24
|
|
8943
8946
|
},
|
|
8944
8947
|
end: {
|
|
8945
|
-
line:
|
|
8948
|
+
line: 123,
|
|
8946
8949
|
column: 57
|
|
8947
8950
|
}
|
|
8948
8951
|
}
|
|
@@ -8966,7 +8969,7 @@ function cov_une6dfv6o() {
|
|
|
8966
8969
|
column: 76
|
|
8967
8970
|
},
|
|
8968
8971
|
end: {
|
|
8969
|
-
line:
|
|
8972
|
+
line: 127,
|
|
8970
8973
|
column: 1
|
|
8971
8974
|
}
|
|
8972
8975
|
},
|
|
@@ -9072,97 +9075,97 @@ function cov_une6dfv6o() {
|
|
|
9072
9075
|
name: "(anonymous_5)",
|
|
9073
9076
|
decl: {
|
|
9074
9077
|
start: {
|
|
9075
|
-
line:
|
|
9078
|
+
line: 76,
|
|
9076
9079
|
column: 23
|
|
9077
9080
|
},
|
|
9078
9081
|
end: {
|
|
9079
|
-
line:
|
|
9082
|
+
line: 76,
|
|
9080
9083
|
column: 24
|
|
9081
9084
|
}
|
|
9082
9085
|
},
|
|
9083
9086
|
loc: {
|
|
9084
9087
|
start: {
|
|
9085
|
-
line:
|
|
9088
|
+
line: 76,
|
|
9086
9089
|
column: 29
|
|
9087
9090
|
},
|
|
9088
9091
|
end: {
|
|
9089
|
-
line:
|
|
9092
|
+
line: 76,
|
|
9090
9093
|
column: 58
|
|
9091
9094
|
}
|
|
9092
9095
|
},
|
|
9093
|
-
line:
|
|
9096
|
+
line: 76
|
|
9094
9097
|
},
|
|
9095
9098
|
"6": {
|
|
9096
9099
|
name: "(anonymous_6)",
|
|
9097
9100
|
decl: {
|
|
9098
9101
|
start: {
|
|
9099
|
-
line:
|
|
9102
|
+
line: 90,
|
|
9100
9103
|
column: 22
|
|
9101
9104
|
},
|
|
9102
9105
|
end: {
|
|
9103
|
-
line:
|
|
9106
|
+
line: 90,
|
|
9104
9107
|
column: 23
|
|
9105
9108
|
}
|
|
9106
9109
|
},
|
|
9107
9110
|
loc: {
|
|
9108
9111
|
start: {
|
|
9109
|
-
line:
|
|
9112
|
+
line: 91,
|
|
9110
9113
|
column: 10
|
|
9111
9114
|
},
|
|
9112
9115
|
end: {
|
|
9113
|
-
line:
|
|
9116
|
+
line: 97,
|
|
9114
9117
|
column: 12
|
|
9115
9118
|
}
|
|
9116
9119
|
},
|
|
9117
|
-
line:
|
|
9120
|
+
line: 91
|
|
9118
9121
|
},
|
|
9119
9122
|
"7": {
|
|
9120
9123
|
name: "(anonymous_7)",
|
|
9121
9124
|
decl: {
|
|
9122
9125
|
start: {
|
|
9123
|
-
line:
|
|
9126
|
+
line: 122,
|
|
9124
9127
|
column: 17
|
|
9125
9128
|
},
|
|
9126
9129
|
end: {
|
|
9127
|
-
line:
|
|
9130
|
+
line: 122,
|
|
9128
9131
|
column: 18
|
|
9129
9132
|
}
|
|
9130
9133
|
},
|
|
9131
9134
|
loc: {
|
|
9132
9135
|
start: {
|
|
9133
|
-
line:
|
|
9136
|
+
line: 122,
|
|
9134
9137
|
column: 23
|
|
9135
9138
|
},
|
|
9136
9139
|
end: {
|
|
9137
|
-
line:
|
|
9140
|
+
line: 122,
|
|
9138
9141
|
column: 50
|
|
9139
9142
|
}
|
|
9140
9143
|
},
|
|
9141
|
-
line:
|
|
9144
|
+
line: 122
|
|
9142
9145
|
},
|
|
9143
9146
|
"8": {
|
|
9144
9147
|
name: "(anonymous_8)",
|
|
9145
9148
|
decl: {
|
|
9146
9149
|
start: {
|
|
9147
|
-
line:
|
|
9150
|
+
line: 123,
|
|
9148
9151
|
column: 18
|
|
9149
9152
|
},
|
|
9150
9153
|
end: {
|
|
9151
|
-
line:
|
|
9154
|
+
line: 123,
|
|
9152
9155
|
column: 19
|
|
9153
9156
|
}
|
|
9154
9157
|
},
|
|
9155
9158
|
loc: {
|
|
9156
9159
|
start: {
|
|
9157
|
-
line:
|
|
9160
|
+
line: 123,
|
|
9158
9161
|
column: 24
|
|
9159
9162
|
},
|
|
9160
9163
|
end: {
|
|
9161
|
-
line:
|
|
9164
|
+
line: 123,
|
|
9162
9165
|
column: 57
|
|
9163
9166
|
}
|
|
9164
9167
|
},
|
|
9165
|
-
line:
|
|
9168
|
+
line: 123
|
|
9166
9169
|
}
|
|
9167
9170
|
},
|
|
9168
9171
|
branchMap: {
|
|
@@ -9316,35 +9319,35 @@ function cov_une6dfv6o() {
|
|
|
9316
9319
|
"5": {
|
|
9317
9320
|
loc: {
|
|
9318
9321
|
start: {
|
|
9319
|
-
line:
|
|
9322
|
+
line: 99,
|
|
9320
9323
|
column: 9
|
|
9321
9324
|
},
|
|
9322
9325
|
end: {
|
|
9323
|
-
line:
|
|
9326
|
+
line: 103,
|
|
9324
9327
|
column: 9
|
|
9325
9328
|
}
|
|
9326
9329
|
},
|
|
9327
9330
|
type: "binary-expr",
|
|
9328
9331
|
locations: [{
|
|
9329
9332
|
start: {
|
|
9330
|
-
line:
|
|
9333
|
+
line: 99,
|
|
9331
9334
|
column: 9
|
|
9332
9335
|
},
|
|
9333
9336
|
end: {
|
|
9334
|
-
line:
|
|
9337
|
+
line: 99,
|
|
9335
9338
|
column: 26
|
|
9336
9339
|
}
|
|
9337
9340
|
}, {
|
|
9338
9341
|
start: {
|
|
9339
|
-
line:
|
|
9342
|
+
line: 100,
|
|
9340
9343
|
column: 10
|
|
9341
9344
|
},
|
|
9342
9345
|
end: {
|
|
9343
|
-
line:
|
|
9346
|
+
line: 102,
|
|
9344
9347
|
column: 16
|
|
9345
9348
|
}
|
|
9346
9349
|
}],
|
|
9347
|
-
line:
|
|
9350
|
+
line: 99
|
|
9348
9351
|
}
|
|
9349
9352
|
},
|
|
9350
9353
|
s: {
|
|
@@ -9396,7 +9399,7 @@ function cov_une6dfv6o() {
|
|
|
9396
9399
|
"5": [0, 0]
|
|
9397
9400
|
},
|
|
9398
9401
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
9399
|
-
hash: "
|
|
9402
|
+
hash: "5b41c778caf20030622d832ae2adaa3f5f3cb845"
|
|
9400
9403
|
};
|
|
9401
9404
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
9402
9405
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -9505,6 +9508,7 @@ var Webhooks = function Webhooks(_ref) {
|
|
|
9505
9508
|
}]
|
|
9506
9509
|
}), {
|
|
9507
9510
|
actionBlock: /*#__PURE__*/React.createElement(Button, {
|
|
9511
|
+
"data-cy": "add-new-webhook-button",
|
|
9508
9512
|
label: t("webhook.add"),
|
|
9509
9513
|
onClick: function onClick() {
|
|
9510
9514
|
cov_une6dfv6o().f[5]++;
|
|
@@ -9513,6 +9517,7 @@ var Webhooks = function Webhooks(_ref) {
|
|
|
9513
9517
|
}
|
|
9514
9518
|
})
|
|
9515
9519
|
})), /*#__PURE__*/React.createElement(Typography, {
|
|
9520
|
+
"data-cy": "webhook-description-header",
|
|
9516
9521
|
className: "neeto-ui-text-gray-700",
|
|
9517
9522
|
style: "h5",
|
|
9518
9523
|
weight: "normal"
|