@bigbinary/neeto-webhooks-frontend 1.6.3 → 1.6.5
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/app/javascript/src/translations/en.json +1 -1
- package/dist/index.cjs.js +6 -12
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +20 -26
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"invalidUrlProtocol": "Please enter a valid URL. URL must begin with http or https",
|
|
25
25
|
"urlNotUnique": "Endpoint URL must be unique",
|
|
26
26
|
"events": {
|
|
27
|
-
"required": "Please select
|
|
27
|
+
"required": "Please select at least one webhook event"
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
},
|
package/dist/index.cjs.js
CHANGED
|
@@ -731,14 +731,13 @@ var buildColumns$1 = function buildColumns(_ref) {
|
|
|
731
731
|
return [{
|
|
732
732
|
title: i18next.t("neetoWebhooks.delivery.identifier", constants.SINGULAR),
|
|
733
733
|
key: "identifier",
|
|
734
|
-
width:
|
|
734
|
+
width: "35%",
|
|
735
735
|
render: function render(_ref2) {
|
|
736
736
|
var identifier = _ref2.identifier,
|
|
737
737
|
redelivery = _ref2.redelivery;
|
|
738
738
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
739
|
-
className: "flex
|
|
739
|
+
className: "flex items-center gap-x-3"
|
|
740
740
|
}, /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
|
|
741
|
-
className: "px-2",
|
|
742
741
|
style: "body2",
|
|
743
742
|
weight: "semibold"
|
|
744
743
|
}, identifier), redelivery && /*#__PURE__*/React__default["default"].createElement(neetoui.Tag, {
|
|
@@ -749,7 +748,7 @@ var buildColumns$1 = function buildColumns(_ref) {
|
|
|
749
748
|
title: i18next.t("neetoWebhooks.tableHeaders.createdAt"),
|
|
750
749
|
key: "createdAt",
|
|
751
750
|
dataIndex: "createdAt",
|
|
752
|
-
width:
|
|
751
|
+
width: "20%",
|
|
753
752
|
render: function render(createdAt) {
|
|
754
753
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
755
754
|
className: "flex items-center justify-between space-x-1"
|
|
@@ -769,7 +768,7 @@ var buildColumns$1 = function buildColumns(_ref) {
|
|
|
769
768
|
}, {
|
|
770
769
|
title: i18next.t("neetoWebhooks.common.responseStatus"),
|
|
771
770
|
key: "responseStatusCode",
|
|
772
|
-
width:
|
|
771
|
+
width: "10%",
|
|
773
772
|
render: function render(_ref3) {
|
|
774
773
|
var responseStatusCode = _ref3.responseStatusCode,
|
|
775
774
|
status = _ref3.status;
|
|
@@ -786,13 +785,13 @@ var buildColumns$1 = function buildColumns(_ref) {
|
|
|
786
785
|
title: i18next.t("neetoWebhooks.common.event", constants.SINGULAR),
|
|
787
786
|
key: "event",
|
|
788
787
|
dataIndex: "event",
|
|
789
|
-
width:
|
|
788
|
+
width: "20%",
|
|
790
789
|
render: ramda.prop("label")
|
|
791
790
|
}, {
|
|
792
791
|
title: i18next.t("neetoWebhooks.tableHeaders.details"),
|
|
793
792
|
key: "details",
|
|
794
793
|
dataIndex: "details",
|
|
795
|
-
width:
|
|
794
|
+
width: "15%",
|
|
796
795
|
render: function render(_, delivery) {
|
|
797
796
|
return /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
|
|
798
797
|
label: i18next.t("neetoWebhooks.buttons.viewDetails"),
|
|
@@ -1433,10 +1432,5 @@ var NeetoWebhooks = function NeetoWebhooks(_ref) {
|
|
|
1433
1432
|
}));
|
|
1434
1433
|
};
|
|
1435
1434
|
|
|
1436
|
-
var e=[],t=[];function n(n,r){if(n&&"undefined"!=typeof document){var a,s=!0===r.prepend?"prepend":"append",d=!0===r.singleTag,i="string"==typeof r.container?document.querySelector(r.container):document.getElementsByTagName("head")[0];if(d){var u=e.indexOf(i);-1===u&&(u=e.push(i)-1,t[u]={}),a=t[u]&&t[u][s]?t[u][s]:t[u][s]=c();}else a=c();65279===n.charCodeAt(0)&&(n=n.substring(1)),a.styleSheet?a.styleSheet.cssText+=n:a.appendChild(document.createTextNode(n));}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),r.attributes)for(var t=Object.keys(r.attributes),n=0;n<t.length;n++)e.setAttribute(t[n],r.attributes[t[n]]);var a="prepend"===s?"afterbegin":"beforeend";return i.insertAdjacentElement(a,e),e}}
|
|
1437
|
-
|
|
1438
|
-
var css = ".deliveries__list,.webhooks__list{height:calc(100vh - 200px);overflow-y:auto}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImFwcC9qYXZhc2NyaXB0L3NyYy9zdHlsZXNoZWV0cy9jb21wb25lbnRzL193ZWJob29rLnNjc3MiLCJhcHAvamF2YXNjcmlwdC9zcmMvc3R5bGVzaGVldHMvbWFpbi5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGtDQUNFLDBCQUFBLENBQ0EsZUNNRiIsInNvdXJjZXNDb250ZW50IjpbIi53ZWJob29rc19fbGlzdCB7XG4gIGhlaWdodDogY2FsYygxMDB2aCAtIDIwMHB4KTtcbiAgb3ZlcmZsb3cteTogYXV0bztcbn1cbiIsIi5kZWxpdmVyaWVzX19saXN0IHtcbiAgaGVpZ2h0OiBjYWxjKDEwMHZoIC0gMjAwcHgpO1xuICBvdmVyZmxvdy15OiBhdXRvO1xufVxuXG4ud2ViaG9va3NfX2xpc3Qge1xuICBoZWlnaHQ6IGNhbGMoMTAwdmggLSAyMDBweCk7XG4gIG92ZXJmbG93LXk6IGF1dG87XG59Il19 */";
|
|
1439
|
-
n(css,{});
|
|
1440
|
-
|
|
1441
1435
|
exports.NeetoWebhooks = NeetoWebhooks;
|
|
1442
1436
|
//# sourceMappingURL=index.cjs.js.map
|