@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.cjs.js
CHANGED
|
@@ -7783,7 +7783,7 @@ var WEBHOOK_SECRET_KEY_HELP_URL = (cov_cbigk78w1().s[3]++, "https://neetocalhelp
|
|
|
7783
7783
|
|
|
7784
7784
|
function cov_t5m44crof() {
|
|
7785
7785
|
var path = "/home/runner/work/neeto-webhooks-frontend/neeto-webhooks-frontend/src/components/Webhooks/AddWebhookPane.jsx";
|
|
7786
|
-
var hash = "
|
|
7786
|
+
var hash = "f17378e44869600fe33c021ade99a126cccafb8c";
|
|
7787
7787
|
var global = new Function("return this")();
|
|
7788
7788
|
var gcv = "__coverage__";
|
|
7789
7789
|
var coverageData = {
|
|
@@ -7795,7 +7795,7 @@ function cov_t5m44crof() {
|
|
|
7795
7795
|
column: 23
|
|
7796
7796
|
},
|
|
7797
7797
|
end: {
|
|
7798
|
-
line:
|
|
7798
|
+
line: 137,
|
|
7799
7799
|
column: 1
|
|
7800
7800
|
}
|
|
7801
7801
|
},
|
|
@@ -7915,7 +7915,7 @@ function cov_t5m44crof() {
|
|
|
7915
7915
|
column: 2
|
|
7916
7916
|
},
|
|
7917
7917
|
end: {
|
|
7918
|
-
line:
|
|
7918
|
+
line: 136,
|
|
7919
7919
|
column: 4
|
|
7920
7920
|
}
|
|
7921
7921
|
},
|
|
@@ -7935,7 +7935,7 @@ function cov_t5m44crof() {
|
|
|
7935
7935
|
column: 10
|
|
7936
7936
|
},
|
|
7937
7937
|
end: {
|
|
7938
|
-
line:
|
|
7938
|
+
line: 132,
|
|
7939
7939
|
column: 13
|
|
7940
7940
|
}
|
|
7941
7941
|
}
|
|
@@ -7959,7 +7959,7 @@ function cov_t5m44crof() {
|
|
|
7959
7959
|
column: 6
|
|
7960
7960
|
},
|
|
7961
7961
|
end: {
|
|
7962
|
-
line:
|
|
7962
|
+
line: 137,
|
|
7963
7963
|
column: 1
|
|
7964
7964
|
}
|
|
7965
7965
|
},
|
|
@@ -8079,7 +8079,7 @@ function cov_t5m44crof() {
|
|
|
8079
8079
|
column: 10
|
|
8080
8080
|
},
|
|
8081
8081
|
end: {
|
|
8082
|
-
line:
|
|
8082
|
+
line: 132,
|
|
8083
8083
|
column: 13
|
|
8084
8084
|
}
|
|
8085
8085
|
},
|
|
@@ -8268,7 +8268,7 @@ function cov_t5m44crof() {
|
|
|
8268
8268
|
"4": [0, 0]
|
|
8269
8269
|
},
|
|
8270
8270
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
8271
|
-
hash: "
|
|
8271
|
+
hash: "f17378e44869600fe33c021ade99a126cccafb8c"
|
|
8272
8272
|
};
|
|
8273
8273
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
8274
8274
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -8342,6 +8342,7 @@ var AddWebhookPane = function AddWebhookPane(_ref) {
|
|
|
8342
8342
|
isOpen: isOpen,
|
|
8343
8343
|
onClose: onClose
|
|
8344
8344
|
}, /*#__PURE__*/React__default["default"].createElement(neetoui.Pane.Header, null, /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
|
|
8345
|
+
"data-cy": "add-new-webhook-pane-header",
|
|
8345
8346
|
style: "h2",
|
|
8346
8347
|
weight: "semibold"
|
|
8347
8348
|
}, editingWebhookId ? (cov_t5m44crof().b[4][0]++, t("webhook.edit")) : (cov_t5m44crof().b[4][1]++, t("webhook.add")))), /*#__PURE__*/React__default["default"].createElement(formik.Form, {
|
|
@@ -8364,12 +8365,14 @@ var AddWebhookPane = function AddWebhookPane(_ref) {
|
|
|
8364
8365
|
className: "w-full space-y-4"
|
|
8365
8366
|
}, /*#__PURE__*/React__default["default"].createElement(formik.Input, {
|
|
8366
8367
|
required: true,
|
|
8368
|
+
"data-cy": "endpoint-input-field",
|
|
8367
8369
|
label: t("webhook.endpoint"),
|
|
8368
8370
|
name: "endpoint",
|
|
8369
8371
|
placeholder: t("webhook.endpointPlaceholder"),
|
|
8370
8372
|
ref: endpointRef
|
|
8371
8373
|
}), /*#__PURE__*/React__default["default"].createElement(formik.Input, {
|
|
8372
8374
|
name: "secret",
|
|
8375
|
+
"data-cy": "secret-key-input-field",
|
|
8373
8376
|
placeholder: t("webhook.secretPlaceholder"),
|
|
8374
8377
|
label: /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, t("webhook.secret"), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
8375
8378
|
ref: popoverRef
|
|
@@ -8699,7 +8702,7 @@ var WebhookItem = function WebhookItem(_ref2) {
|
|
|
8699
8702
|
|
|
8700
8703
|
function cov_une6dfv6o() {
|
|
8701
8704
|
var path = "/home/runner/work/neeto-webhooks-frontend/neeto-webhooks-frontend/src/components/Webhooks/index.jsx";
|
|
8702
|
-
var hash = "
|
|
8705
|
+
var hash = "5b41c778caf20030622d832ae2adaa3f5f3cb845";
|
|
8703
8706
|
var global = new Function("return this")();
|
|
8704
8707
|
var gcv = "__coverage__";
|
|
8705
8708
|
var coverageData = {
|
|
@@ -8711,7 +8714,7 @@ function cov_une6dfv6o() {
|
|
|
8711
8714
|
column: 17
|
|
8712
8715
|
},
|
|
8713
8716
|
end: {
|
|
8714
|
-
line:
|
|
8717
|
+
line: 127,
|
|
8715
8718
|
column: 1
|
|
8716
8719
|
}
|
|
8717
8720
|
},
|
|
@@ -8931,47 +8934,47 @@ function cov_une6dfv6o() {
|
|
|
8931
8934
|
column: 2
|
|
8932
8935
|
},
|
|
8933
8936
|
end: {
|
|
8934
|
-
line:
|
|
8937
|
+
line: 126,
|
|
8935
8938
|
column: 4
|
|
8936
8939
|
}
|
|
8937
8940
|
},
|
|
8938
8941
|
"23": {
|
|
8939
8942
|
start: {
|
|
8940
|
-
line:
|
|
8943
|
+
line: 76,
|
|
8941
8944
|
column: 29
|
|
8942
8945
|
},
|
|
8943
8946
|
end: {
|
|
8944
|
-
line:
|
|
8947
|
+
line: 76,
|
|
8945
8948
|
column: 58
|
|
8946
8949
|
}
|
|
8947
8950
|
},
|
|
8948
8951
|
"24": {
|
|
8949
8952
|
start: {
|
|
8950
|
-
line:
|
|
8953
|
+
line: 91,
|
|
8951
8954
|
column: 10
|
|
8952
8955
|
},
|
|
8953
8956
|
end: {
|
|
8954
|
-
line:
|
|
8957
|
+
line: 97,
|
|
8955
8958
|
column: 12
|
|
8956
8959
|
}
|
|
8957
8960
|
},
|
|
8958
8961
|
"25": {
|
|
8959
8962
|
start: {
|
|
8960
|
-
line:
|
|
8963
|
+
line: 122,
|
|
8961
8964
|
column: 23
|
|
8962
8965
|
},
|
|
8963
8966
|
end: {
|
|
8964
|
-
line:
|
|
8967
|
+
line: 122,
|
|
8965
8968
|
column: 50
|
|
8966
8969
|
}
|
|
8967
8970
|
},
|
|
8968
8971
|
"26": {
|
|
8969
8972
|
start: {
|
|
8970
|
-
line:
|
|
8973
|
+
line: 123,
|
|
8971
8974
|
column: 24
|
|
8972
8975
|
},
|
|
8973
8976
|
end: {
|
|
8974
|
-
line:
|
|
8977
|
+
line: 123,
|
|
8975
8978
|
column: 57
|
|
8976
8979
|
}
|
|
8977
8980
|
}
|
|
@@ -8995,7 +8998,7 @@ function cov_une6dfv6o() {
|
|
|
8995
8998
|
column: 76
|
|
8996
8999
|
},
|
|
8997
9000
|
end: {
|
|
8998
|
-
line:
|
|
9001
|
+
line: 127,
|
|
8999
9002
|
column: 1
|
|
9000
9003
|
}
|
|
9001
9004
|
},
|
|
@@ -9101,97 +9104,97 @@ function cov_une6dfv6o() {
|
|
|
9101
9104
|
name: "(anonymous_5)",
|
|
9102
9105
|
decl: {
|
|
9103
9106
|
start: {
|
|
9104
|
-
line:
|
|
9107
|
+
line: 76,
|
|
9105
9108
|
column: 23
|
|
9106
9109
|
},
|
|
9107
9110
|
end: {
|
|
9108
|
-
line:
|
|
9111
|
+
line: 76,
|
|
9109
9112
|
column: 24
|
|
9110
9113
|
}
|
|
9111
9114
|
},
|
|
9112
9115
|
loc: {
|
|
9113
9116
|
start: {
|
|
9114
|
-
line:
|
|
9117
|
+
line: 76,
|
|
9115
9118
|
column: 29
|
|
9116
9119
|
},
|
|
9117
9120
|
end: {
|
|
9118
|
-
line:
|
|
9121
|
+
line: 76,
|
|
9119
9122
|
column: 58
|
|
9120
9123
|
}
|
|
9121
9124
|
},
|
|
9122
|
-
line:
|
|
9125
|
+
line: 76
|
|
9123
9126
|
},
|
|
9124
9127
|
"6": {
|
|
9125
9128
|
name: "(anonymous_6)",
|
|
9126
9129
|
decl: {
|
|
9127
9130
|
start: {
|
|
9128
|
-
line:
|
|
9131
|
+
line: 90,
|
|
9129
9132
|
column: 22
|
|
9130
9133
|
},
|
|
9131
9134
|
end: {
|
|
9132
|
-
line:
|
|
9135
|
+
line: 90,
|
|
9133
9136
|
column: 23
|
|
9134
9137
|
}
|
|
9135
9138
|
},
|
|
9136
9139
|
loc: {
|
|
9137
9140
|
start: {
|
|
9138
|
-
line:
|
|
9141
|
+
line: 91,
|
|
9139
9142
|
column: 10
|
|
9140
9143
|
},
|
|
9141
9144
|
end: {
|
|
9142
|
-
line:
|
|
9145
|
+
line: 97,
|
|
9143
9146
|
column: 12
|
|
9144
9147
|
}
|
|
9145
9148
|
},
|
|
9146
|
-
line:
|
|
9149
|
+
line: 91
|
|
9147
9150
|
},
|
|
9148
9151
|
"7": {
|
|
9149
9152
|
name: "(anonymous_7)",
|
|
9150
9153
|
decl: {
|
|
9151
9154
|
start: {
|
|
9152
|
-
line:
|
|
9155
|
+
line: 122,
|
|
9153
9156
|
column: 17
|
|
9154
9157
|
},
|
|
9155
9158
|
end: {
|
|
9156
|
-
line:
|
|
9159
|
+
line: 122,
|
|
9157
9160
|
column: 18
|
|
9158
9161
|
}
|
|
9159
9162
|
},
|
|
9160
9163
|
loc: {
|
|
9161
9164
|
start: {
|
|
9162
|
-
line:
|
|
9165
|
+
line: 122,
|
|
9163
9166
|
column: 23
|
|
9164
9167
|
},
|
|
9165
9168
|
end: {
|
|
9166
|
-
line:
|
|
9169
|
+
line: 122,
|
|
9167
9170
|
column: 50
|
|
9168
9171
|
}
|
|
9169
9172
|
},
|
|
9170
|
-
line:
|
|
9173
|
+
line: 122
|
|
9171
9174
|
},
|
|
9172
9175
|
"8": {
|
|
9173
9176
|
name: "(anonymous_8)",
|
|
9174
9177
|
decl: {
|
|
9175
9178
|
start: {
|
|
9176
|
-
line:
|
|
9179
|
+
line: 123,
|
|
9177
9180
|
column: 18
|
|
9178
9181
|
},
|
|
9179
9182
|
end: {
|
|
9180
|
-
line:
|
|
9183
|
+
line: 123,
|
|
9181
9184
|
column: 19
|
|
9182
9185
|
}
|
|
9183
9186
|
},
|
|
9184
9187
|
loc: {
|
|
9185
9188
|
start: {
|
|
9186
|
-
line:
|
|
9189
|
+
line: 123,
|
|
9187
9190
|
column: 24
|
|
9188
9191
|
},
|
|
9189
9192
|
end: {
|
|
9190
|
-
line:
|
|
9193
|
+
line: 123,
|
|
9191
9194
|
column: 57
|
|
9192
9195
|
}
|
|
9193
9196
|
},
|
|
9194
|
-
line:
|
|
9197
|
+
line: 123
|
|
9195
9198
|
}
|
|
9196
9199
|
},
|
|
9197
9200
|
branchMap: {
|
|
@@ -9345,35 +9348,35 @@ function cov_une6dfv6o() {
|
|
|
9345
9348
|
"5": {
|
|
9346
9349
|
loc: {
|
|
9347
9350
|
start: {
|
|
9348
|
-
line:
|
|
9351
|
+
line: 99,
|
|
9349
9352
|
column: 9
|
|
9350
9353
|
},
|
|
9351
9354
|
end: {
|
|
9352
|
-
line:
|
|
9355
|
+
line: 103,
|
|
9353
9356
|
column: 9
|
|
9354
9357
|
}
|
|
9355
9358
|
},
|
|
9356
9359
|
type: "binary-expr",
|
|
9357
9360
|
locations: [{
|
|
9358
9361
|
start: {
|
|
9359
|
-
line:
|
|
9362
|
+
line: 99,
|
|
9360
9363
|
column: 9
|
|
9361
9364
|
},
|
|
9362
9365
|
end: {
|
|
9363
|
-
line:
|
|
9366
|
+
line: 99,
|
|
9364
9367
|
column: 26
|
|
9365
9368
|
}
|
|
9366
9369
|
}, {
|
|
9367
9370
|
start: {
|
|
9368
|
-
line:
|
|
9371
|
+
line: 100,
|
|
9369
9372
|
column: 10
|
|
9370
9373
|
},
|
|
9371
9374
|
end: {
|
|
9372
|
-
line:
|
|
9375
|
+
line: 102,
|
|
9373
9376
|
column: 16
|
|
9374
9377
|
}
|
|
9375
9378
|
}],
|
|
9376
|
-
line:
|
|
9379
|
+
line: 99
|
|
9377
9380
|
}
|
|
9378
9381
|
},
|
|
9379
9382
|
s: {
|
|
@@ -9425,7 +9428,7 @@ function cov_une6dfv6o() {
|
|
|
9425
9428
|
"5": [0, 0]
|
|
9426
9429
|
},
|
|
9427
9430
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
9428
|
-
hash: "
|
|
9431
|
+
hash: "5b41c778caf20030622d832ae2adaa3f5f3cb845"
|
|
9429
9432
|
};
|
|
9430
9433
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
9431
9434
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -9534,6 +9537,7 @@ var Webhooks = function Webhooks(_ref) {
|
|
|
9534
9537
|
}]
|
|
9535
9538
|
}), {
|
|
9536
9539
|
actionBlock: /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
|
|
9540
|
+
"data-cy": "add-new-webhook-button",
|
|
9537
9541
|
label: t("webhook.add"),
|
|
9538
9542
|
onClick: function onClick() {
|
|
9539
9543
|
cov_une6dfv6o().f[5]++;
|
|
@@ -9542,6 +9546,7 @@ var Webhooks = function Webhooks(_ref) {
|
|
|
9542
9546
|
}
|
|
9543
9547
|
})
|
|
9544
9548
|
})), /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
|
|
9549
|
+
"data-cy": "webhook-description-header",
|
|
9545
9550
|
className: "neeto-ui-text-gray-700",
|
|
9546
9551
|
style: "h5",
|
|
9547
9552
|
weight: "normal"
|