@raystack/frontier 0.106.1 → 0.107.1
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/admin/dist/index.js +568 -248
- package/admin/dist/index.mjs +647 -327
- package/client/dist/index.d.ts +64 -34
- package/client/dist/index.js +242 -173
- package/client/dist/index.mjs +242 -173
- package/package.json +1 -1
package/admin/dist/index.js
CHANGED
|
@@ -233,8 +233,8 @@ function convertBillingAddressToString(address) {
|
|
|
233
233
|
// admin/views/roles/columns.tsx
|
|
234
234
|
var import_apsara = require("@raystack/apsara");
|
|
235
235
|
|
|
236
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
237
|
-
var digest = "
|
|
236
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-q6MWdl3idWH4/sdk/admin/views/roles/roles.module.css.js
|
|
237
|
+
var digest = "dc923ca417ea8d14ecd41015bfda1c60b004ddca413ad5bd903c9121699ba677";
|
|
238
238
|
var css = `._tableRoot_1d549_1 {
|
|
239
239
|
width: 100%;
|
|
240
240
|
}
|
|
@@ -640,6 +640,24 @@ var MagnifyingGlassIcon = /* @__PURE__ */ (0, import_react.forwardRef)(function(
|
|
|
640
640
|
clipRule: "evenodd"
|
|
641
641
|
}));
|
|
642
642
|
});
|
|
643
|
+
var _excluded$3n = ["color"];
|
|
644
|
+
var Pencil1Icon = /* @__PURE__ */ (0, import_react.forwardRef)(function(_ref, forwardedRef) {
|
|
645
|
+
var _ref$color = _ref.color, color = _ref$color === void 0 ? "currentColor" : _ref$color, props = _objectWithoutPropertiesLoose(_ref, _excluded$3n);
|
|
646
|
+
return (0, import_react.createElement)("svg", Object.assign({
|
|
647
|
+
width: "15",
|
|
648
|
+
height: "15",
|
|
649
|
+
viewBox: "0 0 15 15",
|
|
650
|
+
fill: "none",
|
|
651
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
652
|
+
}, props, {
|
|
653
|
+
ref: forwardedRef
|
|
654
|
+
}), (0, import_react.createElement)("path", {
|
|
655
|
+
d: "M11.8536 1.14645C11.6583 0.951184 11.3417 0.951184 11.1465 1.14645L3.71455 8.57836C3.62459 8.66832 3.55263 8.77461 3.50251 8.89155L2.04044 12.303C1.9599 12.491 2.00189 12.709 2.14646 12.8536C2.29103 12.9981 2.50905 13.0401 2.69697 12.9596L6.10847 11.4975C6.2254 11.4474 6.3317 11.3754 6.42166 11.2855L13.8536 3.85355C14.0488 3.65829 14.0488 3.34171 13.8536 3.14645L11.8536 1.14645ZM4.42166 9.28547L11.5 2.20711L12.7929 3.5L5.71455 10.5784L4.21924 11.2192L3.78081 10.7808L4.42166 9.28547Z",
|
|
656
|
+
fill: color,
|
|
657
|
+
fillRule: "evenodd",
|
|
658
|
+
clipRule: "evenodd"
|
|
659
|
+
}));
|
|
660
|
+
});
|
|
643
661
|
var _excluded$3x = ["color"];
|
|
644
662
|
var PlusIcon = /* @__PURE__ */ (0, import_react.forwardRef)(function(_ref, forwardedRef) {
|
|
645
663
|
var _ref$color = _ref.color, color = _ref$color === void 0 ? "currentColor" : _ref$color, props = _objectWithoutPropertiesLoose(_ref, _excluded$3x);
|
|
@@ -734,8 +752,8 @@ var UploadIcon = /* @__PURE__ */ (0, import_react.forwardRef)(function(_ref, for
|
|
|
734
752
|
// admin/components/PageHeader.tsx
|
|
735
753
|
var import_apsara2 = require("@raystack/apsara");
|
|
736
754
|
|
|
737
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
738
|
-
var digest2 = "
|
|
755
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-6KGjAkxUKf3T/sdk/admin/components/page-header.module.css.js
|
|
756
|
+
var digest2 = "299310527cd58274ffd4dcc736898ec43cd595af64731386b7cae4139d633111";
|
|
739
757
|
var css2 = `._breadcrumb_1kaun_1 {
|
|
740
758
|
list-style: none;
|
|
741
759
|
padding: 0;
|
|
@@ -857,8 +875,8 @@ function PageTitle({ title, appName }) {
|
|
|
857
875
|
return null;
|
|
858
876
|
}
|
|
859
877
|
|
|
860
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
861
|
-
var digest3 = "
|
|
878
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-SXGYUNufa7EI/sdk/admin/views/roles/roles.module.css.js
|
|
879
|
+
var digest3 = "b044a18bbbb93772fe57c424c6ee7536a581d881a6f20d6271c1adda73c45ef3";
|
|
862
880
|
var css3 = `._tableRoot_1d549_1 {
|
|
863
881
|
width: 100%;
|
|
864
882
|
}
|
|
@@ -1050,8 +1068,8 @@ var import_react6 = require("react");
|
|
|
1050
1068
|
// admin/views/invoices/navbar.tsx
|
|
1051
1069
|
var import_apsara6 = require("@raystack/apsara");
|
|
1052
1070
|
|
|
1053
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
1054
|
-
var digest4 = "
|
|
1071
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-Re195by8yQrD/sdk/admin/views/invoices/invoices.module.css.js
|
|
1072
|
+
var digest4 = "026c7c0f40a9786eaa65395bc3bf7765d6b982bde9804f7bd258013cfd2ebbd7";
|
|
1055
1073
|
var css4 = `._navbar_1o5oc_1 {
|
|
1056
1074
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
1057
1075
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -1169,8 +1187,8 @@ var InvoicesNavabar = ({ searchQuery }) => {
|
|
|
1169
1187
|
] });
|
|
1170
1188
|
};
|
|
1171
1189
|
|
|
1172
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
1173
|
-
var digest5 = "
|
|
1190
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-ArzAHuAdMfO2/sdk/admin/views/invoices/invoices.module.css.js
|
|
1191
|
+
var digest5 = "fafb6250dddf54cec20eba32c88f20eeb39d471a2edb811b599af44a70f489ed";
|
|
1174
1192
|
var css5 = `._navbar_1o5oc_1 {
|
|
1175
1193
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
1176
1194
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -1244,8 +1262,8 @@ function isNullTimestamp(timestamp) {
|
|
|
1244
1262
|
return Number(timestamp.seconds) <= 0;
|
|
1245
1263
|
}
|
|
1246
1264
|
|
|
1247
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
1248
|
-
var digest6 = "
|
|
1265
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-ZCT2OZgQy5dB/sdk/admin/views/invoices/invoices.module.css.js
|
|
1266
|
+
var digest6 = "c489a825a229eeb6061300067782532f3c32d3ec6b4c0310d69c4275acbbda7e";
|
|
1249
1267
|
var css6 = `._navbar_1o5oc_1 {
|
|
1250
1268
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
1251
1269
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -1698,8 +1716,8 @@ var import_frontier4 = require("@raystack/proton/frontier");
|
|
|
1698
1716
|
// admin/views/products/columns.tsx
|
|
1699
1717
|
var import_apsara9 = require("@raystack/apsara");
|
|
1700
1718
|
|
|
1701
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
1702
|
-
var digest7 = "
|
|
1719
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-71PbhWhQ1wjA/sdk/admin/views/products/products.module.css.js
|
|
1720
|
+
var digest7 = "1299d2a304b6a5cb0b5ee204d29b3cfc52dcc7ead9c350490f6f4ca3b3b11e23";
|
|
1703
1721
|
var css7 = `._tableRoot_3ccjp_1 {
|
|
1704
1722
|
width: 100%;
|
|
1705
1723
|
}
|
|
@@ -1868,8 +1886,8 @@ var getColumns3 = (onNavigateToPrices) => {
|
|
|
1868
1886
|
];
|
|
1869
1887
|
};
|
|
1870
1888
|
|
|
1871
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
1872
|
-
var digest8 = "
|
|
1889
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-FDnRmWpx0b20/sdk/admin/views/products/products.module.css.js
|
|
1890
|
+
var digest8 = "0ff27e7bb74aa1f504a17f3448053fbe28f9ba612e0deb9e4bf126be48c5adc9";
|
|
1873
1891
|
var css8 = `._tableRoot_3ccjp_1 {
|
|
1874
1892
|
width: 100%;
|
|
1875
1893
|
}
|
|
@@ -1926,8 +1944,8 @@ var products_module_css_default2 = { "tableRoot": "_tableRoot_3ccjp_1", "tableWr
|
|
|
1926
1944
|
// admin/views/products/details.tsx
|
|
1927
1945
|
var import_apsara10 = require("@raystack/apsara");
|
|
1928
1946
|
|
|
1929
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
1930
|
-
var digest9 = "
|
|
1947
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-WeGp68k3L2FW/sdk/admin/views/products/products.module.css.js
|
|
1948
|
+
var digest9 = "77da4189c6e36a3cb3d7d8813590df636b673e9d80e52b13542827fef01261ef";
|
|
1931
1949
|
var css9 = `._tableRoot_3ccjp_1 {
|
|
1932
1950
|
width: 100%;
|
|
1933
1951
|
}
|
|
@@ -2124,8 +2142,8 @@ var import_frontier5 = require("@raystack/proton/frontier");
|
|
|
2124
2142
|
// admin/views/products/prices/columns.tsx
|
|
2125
2143
|
var import_apsara12 = require("@raystack/apsara");
|
|
2126
2144
|
|
|
2127
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
2128
|
-
var digest10 = "
|
|
2145
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-Rxxo9MVjWMbL/sdk/admin/views/products/prices/prices.module.css.js
|
|
2146
|
+
var digest10 = "a13d9872899d4e8a2bb50c564c55719406246beb053973258d8e0da604541c23";
|
|
2129
2147
|
var css10 = `._first-column_6e56r_1 {
|
|
2130
2148
|
padding-left: var(--rs-space-7);
|
|
2131
2149
|
}
|
|
@@ -2227,8 +2245,8 @@ var getColumns4 = (prices) => {
|
|
|
2227
2245
|
];
|
|
2228
2246
|
};
|
|
2229
2247
|
|
|
2230
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
2231
|
-
var digest11 = "
|
|
2248
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-AVx5TE3G8QIb/sdk/admin/views/products/products.module.css.js
|
|
2249
|
+
var digest11 = "c7c94aa77c19ded28f3e14510295f958ea5fe207fa1a0d903d9166d90ad1d32b";
|
|
2232
2250
|
var css11 = `._tableRoot_3ccjp_1 {
|
|
2233
2251
|
width: 100%;
|
|
2234
2252
|
}
|
|
@@ -2386,8 +2404,8 @@ function CpuChipIcon(props) {
|
|
|
2386
2404
|
);
|
|
2387
2405
|
}
|
|
2388
2406
|
|
|
2389
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
2390
|
-
var digest12 = "
|
|
2407
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-3syk2yc5He8i/sdk/admin/views/audit-logs/audit-logs.module.css.js
|
|
2408
|
+
var digest12 = "41e14217de4428b69f697b9ed6414800fdb9179360cbd831c34ac4a3c06b6d12";
|
|
2391
2409
|
var css12 = `._navbar_1nr4u_1 {
|
|
2392
2410
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
2393
2411
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -2604,8 +2622,8 @@ var Navbar = ({ searchQuery, onExportCsv }) => {
|
|
|
2604
2622
|
};
|
|
2605
2623
|
var navbar_default = Navbar;
|
|
2606
2624
|
|
|
2607
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
2608
|
-
var digest13 = "
|
|
2625
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-TRJ4DyXX2rZp/sdk/admin/views/audit-logs/audit-logs.module.css.js
|
|
2626
|
+
var digest13 = "3eba91fba7a90fdb93c9b30f1b713ae1b9d4aaa0bfa4456b338ee260fc4a527b";
|
|
2609
2627
|
var css13 = `._navbar_1nr4u_1 {
|
|
2610
2628
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
2611
2629
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -2716,8 +2734,8 @@ var audit_logs_module_css_default2 = { "navbar": "_navbar_1nr4u_1", "table": "_t
|
|
|
2716
2734
|
var import_apsara16 = require("@raystack/apsara");
|
|
2717
2735
|
var import_dayjs4 = __toESM(require("dayjs"));
|
|
2718
2736
|
|
|
2719
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
2720
|
-
var digest14 = "
|
|
2737
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-APl2j8PTvyP5/sdk/admin/views/audit-logs/audit-logs.module.css.js
|
|
2738
|
+
var digest14 = "be32a39719a8816db75c6edb55a1884caa1826b3d0ff51b8dc4fc1e54cc64af0";
|
|
2721
2739
|
var css14 = `._navbar_1nr4u_1 {
|
|
2722
2740
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
2723
2741
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -2981,8 +2999,8 @@ var import_frontier7 = require("@raystack/proton/frontier");
|
|
|
2981
2999
|
var import_apsara20 = require("@raystack/apsara");
|
|
2982
3000
|
var import_apsara21 = require("@raystack/apsara");
|
|
2983
3001
|
|
|
2984
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
2985
|
-
var digest15 = "
|
|
3002
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-22RuLN3ZLJaI/sdk/admin/views/audit-logs/audit-logs.module.css.js
|
|
3003
|
+
var digest15 = "5f9772beb62036f458bec4de4177fb2dae94265eb40733e1b348ad0bed52dd61";
|
|
2986
3004
|
var css15 = `._navbar_1nr4u_1 {
|
|
2987
3005
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
2988
3006
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -3120,8 +3138,8 @@ function MapIcon(props) {
|
|
|
3120
3138
|
// admin/views/audit-logs/sidepanel-log-dialog.tsx
|
|
3121
3139
|
var import_apsara17 = require("@raystack/apsara");
|
|
3122
3140
|
|
|
3123
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
3124
|
-
var digest16 = "
|
|
3141
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-bge5E3kkRCNP/sdk/admin/views/audit-logs/audit-logs.module.css.js
|
|
3142
|
+
var digest16 = "79b20c8151c5d23e8c8a2cfa5823aa160458c3c0c5f05e9e4a7c3fa0c6ba1395";
|
|
3125
3143
|
var css16 = `._navbar_1nr4u_1 {
|
|
3126
3144
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
3127
3145
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -3326,8 +3344,8 @@ function SidePanelLogDialog(props) {
|
|
|
3326
3344
|
// admin/views/audit-logs/sidepanel-list-link.tsx
|
|
3327
3345
|
var import_apsara18 = require("@raystack/apsara");
|
|
3328
3346
|
|
|
3329
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
3330
|
-
var digest17 = "
|
|
3347
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-3L7etnY1qi1s/sdk/admin/views/audit-logs/audit-logs.module.css.js
|
|
3348
|
+
var digest17 = "afba7cb4745d5b806d2e306f9fa23434df9f6a1761a74fb32977791fbf178f74";
|
|
3331
3349
|
var css17 = `._navbar_1nr4u_1 {
|
|
3332
3350
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
3333
3351
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -3469,8 +3487,8 @@ function SidepanelListItemLink({
|
|
|
3469
3487
|
// admin/views/audit-logs/sidepanel-list-id.tsx
|
|
3470
3488
|
var import_apsara19 = require("@raystack/apsara");
|
|
3471
3489
|
|
|
3472
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
3473
|
-
var digest18 = "
|
|
3490
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-rFMQEl6XKxai/sdk/admin/views/audit-logs/audit-logs.module.css.js
|
|
3491
|
+
var digest18 = "6034560305a4caaf97c28d90cdb457159e0f63d5cd3a1c8c69e0c3be8d315393";
|
|
3474
3492
|
var css18 = `._navbar_1nr4u_1 {
|
|
3475
3493
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
3476
3494
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -3998,8 +4016,8 @@ var import_apsara24 = require("@raystack/apsara");
|
|
|
3998
4016
|
// admin/views/admins/columns.tsx
|
|
3999
4017
|
var import_apsara23 = require("@raystack/apsara");
|
|
4000
4018
|
|
|
4001
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
4002
|
-
var digest19 = "
|
|
4019
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-mO5UeFlgAgnx/sdk/admin/views/admins/admins.module.css.js
|
|
4020
|
+
var digest19 = "1ca7c49e0c673a4edf9f41e21fc030a6f20c62db6ecb3d42ffca059f5be62cfd";
|
|
4003
4021
|
var css19 = `._tableRoot_1tmha_1 {
|
|
4004
4022
|
width: 100%;
|
|
4005
4023
|
}
|
|
@@ -4084,8 +4102,8 @@ var getColumns6 = ({ onNavigateToOrg, t } = {}) => {
|
|
|
4084
4102
|
];
|
|
4085
4103
|
};
|
|
4086
4104
|
|
|
4087
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
4088
|
-
var digest20 = "
|
|
4105
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-UJ4zFPP2T6uN/sdk/admin/views/admins/admins.module.css.js
|
|
4106
|
+
var digest20 = "8070a593fad5de010dac23b134862fd3bb8ed591d3a97da2a6731efc4e5be0cc";
|
|
4089
4107
|
var css20 = `._tableRoot_1tmha_1 {
|
|
4090
4108
|
width: 100%;
|
|
4091
4109
|
}
|
|
@@ -4196,8 +4214,8 @@ var import_apsara27 = require("@raystack/apsara");
|
|
|
4196
4214
|
// admin/views/plans/columns.tsx
|
|
4197
4215
|
var import_apsara25 = require("@raystack/apsara");
|
|
4198
4216
|
|
|
4199
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
4200
|
-
var digest21 = "
|
|
4217
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-dht57e2ryJGY/sdk/admin/views/plans/plans.module.css.js
|
|
4218
|
+
var digest21 = "c9f111dff4d51b7b200c800f022f90dbe8280ff02dab43bf647eb1e792d59c39";
|
|
4201
4219
|
var css21 = `._tableRoot_1akba_1 {
|
|
4202
4220
|
width: 100%;
|
|
4203
4221
|
}
|
|
@@ -4295,8 +4313,8 @@ var getColumns7 = ({ onSelectPlan } = {}) => {
|
|
|
4295
4313
|
];
|
|
4296
4314
|
};
|
|
4297
4315
|
|
|
4298
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
4299
|
-
var digest22 = "
|
|
4316
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-nFANG9fE9qE2/sdk/admin/views/plans/plans.module.css.js
|
|
4317
|
+
var digest22 = "a08e85c6ec14ed6ba36311e29713f04108dd0df419f98810cc1328aebad43318";
|
|
4300
4318
|
var css22 = `._tableRoot_1akba_1 {
|
|
4301
4319
|
width: 100%;
|
|
4302
4320
|
}
|
|
@@ -4456,8 +4474,8 @@ var import_react14 = require("react");
|
|
|
4456
4474
|
// admin/views/webhooks/webhooks/columns.tsx
|
|
4457
4475
|
var import_apsara29 = require("@raystack/apsara");
|
|
4458
4476
|
|
|
4459
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
4460
|
-
var digest23 = "
|
|
4477
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-vnU213w4MaLr/sdk/admin/views/webhooks/webhooks/webhooks.module.css.js
|
|
4478
|
+
var digest23 = "72a1f2aaeb0aa5d930edb2cf5eae10de409e2d52e00eb700d539cf28d13a8f32";
|
|
4461
4479
|
var css23 = `._tableRoot_1j1ra_1 {
|
|
4462
4480
|
width: 100%;
|
|
4463
4481
|
}
|
|
@@ -4516,6 +4534,37 @@ var import_react10 = require("react");
|
|
|
4516
4534
|
|
|
4517
4535
|
// admin/views/webhooks/webhooks/delete/index.tsx
|
|
4518
4536
|
var import_apsara28 = require("@raystack/apsara");
|
|
4537
|
+
|
|
4538
|
+
// utils/error.ts
|
|
4539
|
+
var import_connect = require("@connectrpc/connect");
|
|
4540
|
+
var DEFAULT_ERROR_MESSAGE = "Something went wrong";
|
|
4541
|
+
function handleConnectError(error, handlers) {
|
|
4542
|
+
const connectError = error instanceof import_connect.ConnectError ? error : new import_connect.ConnectError(
|
|
4543
|
+
typeof error === "string" ? error : error instanceof Error ? error.message : DEFAULT_ERROR_MESSAGE
|
|
4544
|
+
);
|
|
4545
|
+
const defaultHandler = handlers?.Default ?? ((err) => console.error(err.message));
|
|
4546
|
+
switch (connectError.code) {
|
|
4547
|
+
case import_connect.Code.AlreadyExists:
|
|
4548
|
+
handlers?.AlreadyExists ? handlers.AlreadyExists(connectError) : defaultHandler(connectError);
|
|
4549
|
+
break;
|
|
4550
|
+
case import_connect.Code.InvalidArgument:
|
|
4551
|
+
handlers?.InvalidArgument ? handlers.InvalidArgument(connectError) : defaultHandler(connectError);
|
|
4552
|
+
break;
|
|
4553
|
+
case import_connect.Code.PermissionDenied:
|
|
4554
|
+
handlers?.PermissionDenied ? handlers.PermissionDenied(connectError) : defaultHandler(connectError);
|
|
4555
|
+
break;
|
|
4556
|
+
case import_connect.Code.NotFound:
|
|
4557
|
+
handlers?.NotFound ? handlers.NotFound(connectError) : defaultHandler(connectError);
|
|
4558
|
+
break;
|
|
4559
|
+
case import_connect.Code.FailedPrecondition:
|
|
4560
|
+
handlers?.FailedPrecondition ? handlers.FailedPrecondition(connectError) : defaultHandler(connectError);
|
|
4561
|
+
break;
|
|
4562
|
+
default:
|
|
4563
|
+
defaultHandler(connectError);
|
|
4564
|
+
}
|
|
4565
|
+
}
|
|
4566
|
+
|
|
4567
|
+
// admin/views/webhooks/webhooks/delete/index.tsx
|
|
4519
4568
|
var import_jsx_runtime34 = require("react/jsx-runtime");
|
|
4520
4569
|
function DeleteWebhookDialog({
|
|
4521
4570
|
isOpen,
|
|
@@ -4531,7 +4580,17 @@ function DeleteWebhookDialog({
|
|
|
4531
4580
|
onOpenChange(false);
|
|
4532
4581
|
} catch (err) {
|
|
4533
4582
|
console.error("Failed to delete webhook:", err);
|
|
4534
|
-
|
|
4583
|
+
handleConnectError(err, {
|
|
4584
|
+
PermissionDenied: () => import_apsara28.toastManager.add({
|
|
4585
|
+
title: "You don't have permission to perform this action",
|
|
4586
|
+
type: "error"
|
|
4587
|
+
}),
|
|
4588
|
+
Default: (e) => import_apsara28.toastManager.add({
|
|
4589
|
+
title: "Failed to delete webhook",
|
|
4590
|
+
description: e.rawMessage,
|
|
4591
|
+
type: "error"
|
|
4592
|
+
})
|
|
4593
|
+
});
|
|
4535
4594
|
}
|
|
4536
4595
|
};
|
|
4537
4596
|
return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_apsara28.Dialog, { open: isOpen, onOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
@@ -4677,8 +4736,8 @@ var getColumns8 = ({ openEditPage, deleteWebhookMutation, enableDelete }) => {
|
|
|
4677
4736
|
];
|
|
4678
4737
|
};
|
|
4679
4738
|
|
|
4680
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
4681
|
-
var digest24 = "
|
|
4739
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-9LH6x3cxTF19/sdk/admin/views/webhooks/webhooks/webhooks.module.css.js
|
|
4740
|
+
var digest24 = "52dbc8c80177d8a89017f1c7caa694c72be30e516d5ff592e23a5374a0b80b35";
|
|
4682
4741
|
var css24 = `._tableRoot_1j1ra_1 {
|
|
4683
4742
|
width: 100%;
|
|
4684
4743
|
}
|
|
@@ -9840,7 +9899,17 @@ function CreateWebhooks({ open = false, onClose: onCloseProp } = {}) {
|
|
|
9840
9899
|
}
|
|
9841
9900
|
} catch (err) {
|
|
9842
9901
|
console.error("Failed to create webhook:", err);
|
|
9843
|
-
|
|
9902
|
+
handleConnectError(err, {
|
|
9903
|
+
PermissionDenied: () => import_apsara32.toastManager.add({
|
|
9904
|
+
title: "You don't have permission to perform this action",
|
|
9905
|
+
type: "error"
|
|
9906
|
+
}),
|
|
9907
|
+
Default: (e) => import_apsara32.toastManager.add({
|
|
9908
|
+
title: "Something went wrong",
|
|
9909
|
+
description: e.rawMessage,
|
|
9910
|
+
type: "error"
|
|
9911
|
+
})
|
|
9912
|
+
});
|
|
9844
9913
|
}
|
|
9845
9914
|
};
|
|
9846
9915
|
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_apsara32.Drawer, { open, onOpenChange: (open2) => !open2 && onCloseProp?.(), children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
@@ -10000,7 +10069,17 @@ function UpdateWebhooks({ open = false, webhookId: webhookIdProp, onClose: onClo
|
|
|
10000
10069
|
}
|
|
10001
10070
|
} catch (err) {
|
|
10002
10071
|
console.error("Failed to update webhook:", err);
|
|
10003
|
-
|
|
10072
|
+
handleConnectError(err, {
|
|
10073
|
+
PermissionDenied: () => import_apsara33.toastManager.add({
|
|
10074
|
+
title: "You don't have permission to perform this action",
|
|
10075
|
+
type: "error"
|
|
10076
|
+
}),
|
|
10077
|
+
Default: (e) => import_apsara33.toastManager.add({
|
|
10078
|
+
title: "Something went wrong",
|
|
10079
|
+
description: e.rawMessage,
|
|
10080
|
+
type: "error"
|
|
10081
|
+
})
|
|
10082
|
+
});
|
|
10004
10083
|
}
|
|
10005
10084
|
};
|
|
10006
10085
|
(0, import_react13.useEffect)(() => {
|
|
@@ -10240,8 +10319,8 @@ var import_apsara36 = require("@raystack/apsara");
|
|
|
10240
10319
|
// admin/views/preferences/columns.tsx
|
|
10241
10320
|
var import_apsara35 = require("@raystack/apsara");
|
|
10242
10321
|
|
|
10243
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
10244
|
-
var digest25 = "
|
|
10322
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-1oGNpVBv9l9A/sdk/admin/views/preferences/preferences.module.css.js
|
|
10323
|
+
var digest25 = "6deef0366b24844bb7ea9521799b60dcca442fa60b0ac04325f82530653c8691";
|
|
10245
10324
|
var css25 = `._tableRoot_hre5m_1 {
|
|
10246
10325
|
width: 100%;
|
|
10247
10326
|
}
|
|
@@ -10331,8 +10410,8 @@ var getColumns9 = ({
|
|
|
10331
10410
|
];
|
|
10332
10411
|
};
|
|
10333
10412
|
|
|
10334
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
10335
|
-
var digest26 = "
|
|
10413
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-4qC0uosXeCx2/sdk/admin/views/preferences/preferences.module.css.js
|
|
10414
|
+
var digest26 = "734e4ec0573c9e5cfb9d327b4b56b9b6a1a5fbb246602b89019a67a6e7ffa41b";
|
|
10336
10415
|
var css26 = `._tableRoot_hre5m_1 {
|
|
10337
10416
|
width: 100%;
|
|
10338
10417
|
}
|
|
@@ -10563,8 +10642,18 @@ function PreferenceDetails({
|
|
|
10563
10642
|
}));
|
|
10564
10643
|
import_apsara37.toastManager.add({ title: "preference updated", type: "success" });
|
|
10565
10644
|
} catch (err) {
|
|
10566
|
-
console.error(
|
|
10567
|
-
|
|
10645
|
+
console.error(err);
|
|
10646
|
+
handleConnectError(err, {
|
|
10647
|
+
PermissionDenied: () => import_apsara37.toastManager.add({
|
|
10648
|
+
title: "You don't have permission to perform this action",
|
|
10649
|
+
type: "error"
|
|
10650
|
+
}),
|
|
10651
|
+
Default: (e) => import_apsara37.toastManager.add({
|
|
10652
|
+
title: "Something went wrong",
|
|
10653
|
+
description: e.rawMessage,
|
|
10654
|
+
type: "error"
|
|
10655
|
+
})
|
|
10656
|
+
});
|
|
10568
10657
|
}
|
|
10569
10658
|
}, [name, value, createPreferences]);
|
|
10570
10659
|
return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_apsara37.Flex, { direction: "column", style: { width: "100%" }, gap: 9, children: [
|
|
@@ -10601,7 +10690,8 @@ function PreferenceDetails({
|
|
|
10601
10690
|
{
|
|
10602
10691
|
trait,
|
|
10603
10692
|
value,
|
|
10604
|
-
onChange: setValue
|
|
10693
|
+
onChange: setValue,
|
|
10694
|
+
"data-test-id": "frontier-admin-preference-value-input"
|
|
10605
10695
|
}
|
|
10606
10696
|
),
|
|
10607
10697
|
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
@@ -10687,8 +10777,8 @@ var import_apsara42 = require("@raystack/apsara");
|
|
|
10687
10777
|
// admin/views/users/list/navbar.tsx
|
|
10688
10778
|
var import_apsara40 = require("@raystack/apsara");
|
|
10689
10779
|
|
|
10690
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
10691
|
-
var digest27 = "
|
|
10780
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-5SfBAnuTz6Yu/sdk/admin/views/users/list/list.module.css.js
|
|
10781
|
+
var digest27 = "c04b157e612a6363b3089dcda8bbf894a9c8a44a149cdc98d2bbb666bac308f0";
|
|
10692
10782
|
var css27 = `._navbar_vt0az_1 {
|
|
10693
10783
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
10694
10784
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -10783,8 +10873,8 @@ var import_apsara39 = require("@raystack/apsara");
|
|
|
10783
10873
|
var import_react_hook_form4 = require("react-hook-form");
|
|
10784
10874
|
var import_zod3 = require("@hookform/resolvers/zod");
|
|
10785
10875
|
|
|
10786
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
10787
|
-
var digest28 = "
|
|
10876
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-uzHwGPjynumh/sdk/admin/views/users/list/invite-users.module.css.js
|
|
10877
|
+
var digest28 = "2a65003251391bda4861afe997b2377c8c469231d4db970b1eed305029085d71";
|
|
10788
10878
|
var css28 = `._invite-users-dialog-body_11ujx_1 {
|
|
10789
10879
|
display: flex;
|
|
10790
10880
|
flex-direction: column;
|
|
@@ -10822,37 +10912,6 @@ var invite_users_module_css_default = { "invite-users-dialog-body": "_invite-use
|
|
|
10822
10912
|
var import_connect_query13 = require("@connectrpc/connect-query");
|
|
10823
10913
|
var import_frontier16 = require("@raystack/proton/frontier");
|
|
10824
10914
|
var import_protobuf6 = require("@bufbuild/protobuf");
|
|
10825
|
-
|
|
10826
|
-
// utils/error.ts
|
|
10827
|
-
var import_connect = require("@connectrpc/connect");
|
|
10828
|
-
var DEFAULT_ERROR_MESSAGE = "Something went wrong";
|
|
10829
|
-
function handleConnectError(error, handlers) {
|
|
10830
|
-
const connectError = error instanceof import_connect.ConnectError ? error : new import_connect.ConnectError(
|
|
10831
|
-
typeof error === "string" ? error : error instanceof Error ? error.message : DEFAULT_ERROR_MESSAGE
|
|
10832
|
-
);
|
|
10833
|
-
const defaultHandler = handlers?.Default ?? ((err) => console.error(err.message));
|
|
10834
|
-
switch (connectError.code) {
|
|
10835
|
-
case import_connect.Code.AlreadyExists:
|
|
10836
|
-
handlers?.AlreadyExists ? handlers.AlreadyExists(connectError) : defaultHandler(connectError);
|
|
10837
|
-
break;
|
|
10838
|
-
case import_connect.Code.InvalidArgument:
|
|
10839
|
-
handlers?.InvalidArgument ? handlers.InvalidArgument(connectError) : defaultHandler(connectError);
|
|
10840
|
-
break;
|
|
10841
|
-
case import_connect.Code.PermissionDenied:
|
|
10842
|
-
handlers?.PermissionDenied ? handlers.PermissionDenied(connectError) : defaultHandler(connectError);
|
|
10843
|
-
break;
|
|
10844
|
-
case import_connect.Code.NotFound:
|
|
10845
|
-
handlers?.NotFound ? handlers.NotFound(connectError) : defaultHandler(connectError);
|
|
10846
|
-
break;
|
|
10847
|
-
case import_connect.Code.FailedPrecondition:
|
|
10848
|
-
handlers?.FailedPrecondition ? handlers.FailedPrecondition(connectError) : defaultHandler(connectError);
|
|
10849
|
-
break;
|
|
10850
|
-
default:
|
|
10851
|
-
defaultHandler(connectError);
|
|
10852
|
-
}
|
|
10853
|
-
}
|
|
10854
|
-
|
|
10855
|
-
// admin/views/users/list/invite-users.tsx
|
|
10856
10915
|
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
10857
10916
|
var inviteSchema = objectType({
|
|
10858
10917
|
role: stringType(),
|
|
@@ -10935,9 +10994,9 @@ var InviteUser = () => {
|
|
|
10935
10994
|
} catch (error) {
|
|
10936
10995
|
handleConnectError(error, {
|
|
10937
10996
|
AlreadyExists: () => import_apsara39.toastManager.add({ title: "Invitation already exists", type: "error" }),
|
|
10938
|
-
InvalidArgument: (err) => import_apsara39.toastManager.add({ title: "Invalid input", description: err.
|
|
10997
|
+
InvalidArgument: (err) => import_apsara39.toastManager.add({ title: "Invalid input", description: err.rawMessage, type: "error" }),
|
|
10939
10998
|
PermissionDenied: () => import_apsara39.toastManager.add({ title: "You don't have permission to perform this action", type: "error" }),
|
|
10940
|
-
Default: (err) => import_apsara39.toastManager.add({ title: "Something went wrong", description: err.
|
|
10999
|
+
Default: (err) => import_apsara39.toastManager.add({ title: "Something went wrong", description: err.rawMessage, type: "error" })
|
|
10941
11000
|
});
|
|
10942
11001
|
}
|
|
10943
11002
|
};
|
|
@@ -11044,6 +11103,7 @@ var InviteUser = () => {
|
|
|
11044
11103
|
import_apsara39.Select,
|
|
11045
11104
|
{
|
|
11046
11105
|
...rest,
|
|
11106
|
+
autocomplete: true,
|
|
11047
11107
|
onValueChange: (value) => field.onChange(value),
|
|
11048
11108
|
children: [
|
|
11049
11109
|
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_apsara39.Select.Trigger, { ref, children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
@@ -11055,11 +11115,12 @@ var InviteUser = () => {
|
|
|
11055
11115
|
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
11056
11116
|
import_apsara39.Select.Content,
|
|
11057
11117
|
{
|
|
11118
|
+
searchPlaceholder: `Search ${t.organization({ case: "lower" })}`,
|
|
11058
11119
|
style: {
|
|
11059
11120
|
maxHeight: 280,
|
|
11060
11121
|
overflowY: "auto"
|
|
11061
11122
|
},
|
|
11062
|
-
children: organizations?.map((org) => /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_apsara39.Select.Item, { value: org.id ?? "", children: org.name }, org.id))
|
|
11123
|
+
children: organizations?.map((org) => /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_apsara39.Select.Item, { value: org.id ?? "", children: org.title || org.name }, org.id))
|
|
11063
11124
|
}
|
|
11064
11125
|
)
|
|
11065
11126
|
]
|
|
@@ -11161,8 +11222,8 @@ var Navbar2 = ({ searchQuery, onExportUsers }) => {
|
|
|
11161
11222
|
};
|
|
11162
11223
|
var navbar_default2 = Navbar2;
|
|
11163
11224
|
|
|
11164
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
11165
|
-
var digest29 = "
|
|
11225
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-KW22hv9IozNw/sdk/admin/views/users/list/list.module.css.js
|
|
11226
|
+
var digest29 = "f7f0b9f69d74c74da772dbd7593125d2a5604724c42ca51ee8281381fc75e7e0";
|
|
11166
11227
|
var css29 = `._navbar_vt0az_1 {
|
|
11167
11228
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
11168
11229
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -11227,8 +11288,8 @@ var list_module_css_default2 = { "navbar": "_navbar_vt0az_1", "table": "_table_v
|
|
|
11227
11288
|
var import_apsara41 = require("@raystack/apsara");
|
|
11228
11289
|
var import_dayjs8 = __toESM(require("dayjs"));
|
|
11229
11290
|
|
|
11230
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
11231
|
-
var digest30 = "
|
|
11291
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-1A2IdHHQrKzL/sdk/admin/views/users/list/list.module.css.js
|
|
11292
|
+
var digest30 = "dc23392d0f46119c7f86e93321bcfd55baf326b1f3893d5503c760bf00323aeb";
|
|
11232
11293
|
var css30 = `._navbar_vt0az_1 {
|
|
11233
11294
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
11234
11295
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -11521,8 +11582,8 @@ var import_apsara48 = require("@raystack/apsara");
|
|
|
11521
11582
|
// admin/views/users/details/layout/side-panel-details.tsx
|
|
11522
11583
|
var import_apsara43 = require("@raystack/apsara");
|
|
11523
11584
|
|
|
11524
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
11525
|
-
var digest31 = "
|
|
11585
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-nERU1V1eO0eJ/sdk/admin/views/users/details/layout/side-panel.module.css.js
|
|
11586
|
+
var digest31 = "0e2f1a7e828b9490987246570279586781fddeece2c230d28e333efe495c4d5a";
|
|
11526
11587
|
var css31 = `._side-panel_1us3q_1 {
|
|
11527
11588
|
transform: all 0.3s ease-in-out;
|
|
11528
11589
|
padding-bottom: var(--rs-space-15);
|
|
@@ -11637,8 +11698,8 @@ var SidePanelDetails2 = () => {
|
|
|
11637
11698
|
var import_apsara47 = require("@raystack/apsara");
|
|
11638
11699
|
var import_dayjs9 = __toESM(require("dayjs"));
|
|
11639
11700
|
|
|
11640
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
11641
|
-
var digest32 = "
|
|
11701
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-ON7awGvv8DtO/sdk/admin/views/users/details/layout/side-panel.module.css.js
|
|
11702
|
+
var digest32 = "9586be075531b4d7e0b0092f63e2195c74e154759c50d370d60184183c177275";
|
|
11642
11703
|
var css32 = `._side-panel_1us3q_1 {
|
|
11643
11704
|
transform: all 0.3s ease-in-out;
|
|
11644
11705
|
padding-bottom: var(--rs-space-15);
|
|
@@ -11701,8 +11762,8 @@ var side_panel_module_css_default2 = { "side-panel": "_side-panel_1us3q_1", "sid
|
|
|
11701
11762
|
// admin/views/users/details/layout/membership-dropdown.tsx
|
|
11702
11763
|
var import_apsara46 = require("@raystack/apsara");
|
|
11703
11764
|
|
|
11704
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
11705
|
-
var digest33 = "
|
|
11765
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-0DttxGUJDQp0/sdk/admin/views/users/details/layout/side-panel.module.css.js
|
|
11766
|
+
var digest33 = "b42ccc0763200be54d483c5cb9312edfd60561f2aae9e25c1cee9c8b88c83a9b";
|
|
11706
11767
|
var css33 = `._side-panel_1us3q_1 {
|
|
11707
11768
|
transform: all 0.3s ease-in-out;
|
|
11708
11769
|
padding-bottom: var(--rs-space-15);
|
|
@@ -12108,8 +12169,8 @@ var SidePanelMembership = ({
|
|
|
12108
12169
|
] });
|
|
12109
12170
|
};
|
|
12110
12171
|
|
|
12111
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
12112
|
-
var digest34 = "
|
|
12172
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-mQW0hgxuL2H0/sdk/admin/views/users/details/layout/side-panel.module.css.js
|
|
12173
|
+
var digest34 = "dfccd6bdb92f65cdec3ec7e90ce02deccfec6126f774be9c16fdc07d1a6f8b2b";
|
|
12113
12174
|
var css34 = `._side-panel_1us3q_1 {
|
|
12114
12175
|
transform: all 0.3s ease-in-out;
|
|
12115
12176
|
padding-bottom: var(--rs-space-15);
|
|
@@ -12227,8 +12288,8 @@ var UserDetailsSidePanel = () => {
|
|
|
12227
12288
|
);
|
|
12228
12289
|
};
|
|
12229
12290
|
|
|
12230
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
12231
|
-
var digest35 = "
|
|
12291
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-RUkXRF0kHnAd/sdk/admin/views/users/details/layout/layout.module.css.js
|
|
12292
|
+
var digest35 = "0e144359e4b6f5791e35c8134d6ebdfbfc1ecfdc86488b9d4553c4c31e0c9677";
|
|
12232
12293
|
var css35 = `._page_190wz_1 {
|
|
12233
12294
|
height: 100vh;
|
|
12234
12295
|
width: 100%;
|
|
@@ -12262,8 +12323,8 @@ var layout_module_css_default = { "page": "_page_190wz_1", "main_content": "_mai
|
|
|
12262
12323
|
var import_apsara49 = require("@raystack/apsara");
|
|
12263
12324
|
var import_icons = require("@raystack/apsara/icons");
|
|
12264
12325
|
|
|
12265
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
12266
|
-
var digest36 = "
|
|
12326
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-Jc5TkXmtNiRM/sdk/admin/views/users/details/layout/navbar.module.css.js
|
|
12327
|
+
var digest36 = "86614804d94fd6a0870603f8dda70bd7b82e993083307ac8fadfbd04f9c6fa1b";
|
|
12267
12328
|
var css36 = `._navbar_1ahsl_1 {
|
|
12268
12329
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
12269
12330
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -12459,8 +12520,8 @@ var BlockUserDialog = () => {
|
|
|
12459
12520
|
} catch (error) {
|
|
12460
12521
|
handleConnectError(error, {
|
|
12461
12522
|
PermissionDenied: () => import_apsara51.toastManager.add({ title: "You don't have permission to perform this action", type: "error" }),
|
|
12462
|
-
NotFound: (err) => import_apsara51.toastManager.add({ title: "Not found", description: err.
|
|
12463
|
-
Default: (err) => import_apsara51.toastManager.add({ title: errorMessage, description: err.
|
|
12523
|
+
NotFound: (err) => import_apsara51.toastManager.add({ title: "Not found", description: err.rawMessage, type: "error" }),
|
|
12524
|
+
Default: (err) => import_apsara51.toastManager.add({ title: errorMessage, description: err.rawMessage, type: "error" })
|
|
12464
12525
|
});
|
|
12465
12526
|
}
|
|
12466
12527
|
};
|
|
@@ -12547,8 +12608,8 @@ var import_apsara53 = require("@raystack/apsara");
|
|
|
12547
12608
|
// admin/views/users/details/security/sessions/revoke-session-final-confirm.tsx
|
|
12548
12609
|
var import_apsara52 = require("@raystack/apsara");
|
|
12549
12610
|
|
|
12550
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
12551
|
-
var digest37 = "
|
|
12611
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-aapcDREWtS30/sdk/admin/views/users/details/security/sessions/sessions.module.css.js
|
|
12612
|
+
var digest37 = "9a4034c4aa9213ba83516de56f5d5341f8a4acbfac4a50e46e2a1ff303468bfd";
|
|
12552
12613
|
var css37 = `._sessionsContainer_aq82p_1 {
|
|
12553
12614
|
border: 1px solid var(--rs-color-border-base-primary);
|
|
12554
12615
|
border-radius: var(--rs-radius-2);
|
|
@@ -12623,10 +12684,16 @@ var RevokeSessionFinalConfirm = ({
|
|
|
12623
12684
|
onConfirm();
|
|
12624
12685
|
onOpenChange(false);
|
|
12625
12686
|
} catch (error) {
|
|
12626
|
-
|
|
12627
|
-
|
|
12628
|
-
|
|
12629
|
-
|
|
12687
|
+
handleConnectError(error, {
|
|
12688
|
+
PermissionDenied: () => import_apsara52.toastManager.add({
|
|
12689
|
+
title: "You don't have permission to perform this action",
|
|
12690
|
+
type: "error"
|
|
12691
|
+
}),
|
|
12692
|
+
Default: (err) => import_apsara52.toastManager.add({
|
|
12693
|
+
title: "Failed to revoke session",
|
|
12694
|
+
description: err.rawMessage || "Something went wrong",
|
|
12695
|
+
type: "error"
|
|
12696
|
+
})
|
|
12630
12697
|
});
|
|
12631
12698
|
}
|
|
12632
12699
|
};
|
|
@@ -12671,8 +12738,8 @@ var RevokeSessionFinalConfirm = ({
|
|
|
12671
12738
|
) });
|
|
12672
12739
|
};
|
|
12673
12740
|
|
|
12674
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
12675
|
-
var digest38 = "
|
|
12741
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-rfua9eGpkN4x/sdk/admin/views/users/details/security/sessions/sessions.module.css.js
|
|
12742
|
+
var digest38 = "8582f4e3dd9695c307504efd7e1396354b759972030d77a55de0fe523018e115";
|
|
12676
12743
|
var css38 = `._sessionsContainer_aq82p_1 {
|
|
12677
12744
|
border: 1px solid var(--rs-color-border-base-primary);
|
|
12678
12745
|
border-radius: var(--rs-radius-2);
|
|
@@ -12816,8 +12883,8 @@ var RevokeSessionConfirm = ({ isOpen, onOpenChange, sessionInfo, onRevokeConfirm
|
|
|
12816
12883
|
// admin/views/users/details/security/sessions/session-skeleton.tsx
|
|
12817
12884
|
var import_apsara54 = require("@raystack/apsara");
|
|
12818
12885
|
|
|
12819
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
12820
|
-
var digest39 = "
|
|
12886
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-oizOlelawHZd/sdk/admin/views/users/details/security/sessions/sessions.module.css.js
|
|
12887
|
+
var digest39 = "0a0b4d31e18a1091414533cee0e3863774db5ef2ef7f07077bc7ae96548b732d";
|
|
12821
12888
|
var css39 = `._sessionsContainer_aq82p_1 {
|
|
12822
12889
|
border: 1px solid var(--rs-color-border-base-primary);
|
|
12823
12890
|
border-radius: var(--rs-radius-2);
|
|
@@ -12898,8 +12965,8 @@ var import_frontier22 = require("@raystack/proton/frontier");
|
|
|
12898
12965
|
var import_dayjs10 = __toESM(require("dayjs"));
|
|
12899
12966
|
var import_relativeTime = __toESM(require("dayjs/plugin/relativeTime"));
|
|
12900
12967
|
|
|
12901
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
12902
|
-
var digest40 = "
|
|
12968
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-OqDJRdFYvjvs/sdk/admin/views/users/details/security/sessions/sessions.module.css.js
|
|
12969
|
+
var digest40 = "96d07f52e605da32876799df7aff12e29fa183be07f5b74db3bd339e835f448e";
|
|
12903
12970
|
var css40 = `._sessionsContainer_aq82p_1 {
|
|
12904
12971
|
border: 1px solid var(--rs-color-border-base-primary);
|
|
12905
12972
|
border-radius: var(--rs-radius-2);
|
|
@@ -13110,8 +13177,8 @@ var UserSessions = () => {
|
|
|
13110
13177
|
] });
|
|
13111
13178
|
};
|
|
13112
13179
|
|
|
13113
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
13114
|
-
var digest41 = "
|
|
13180
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-mcu0wFjiRffy/sdk/admin/views/users/details/security/security.module.css.js
|
|
13181
|
+
var digest41 = "60bf97717c193e1466118ad42eb5bde73a0b5579cb334d58f16c9b211546c824";
|
|
13115
13182
|
var css41 = `._container_4259p_1 {
|
|
13116
13183
|
width: 100%;
|
|
13117
13184
|
}
|
|
@@ -13237,8 +13304,8 @@ var import_react28 = require("react");
|
|
|
13237
13304
|
var import_apsara58 = require("@raystack/apsara");
|
|
13238
13305
|
var import_icons2 = require("@raystack/apsara/icons");
|
|
13239
13306
|
|
|
13240
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
13241
|
-
var digest42 = "
|
|
13307
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-s8s8FoChP3BW/sdk/admin/views/organizations/list/list.module.css.js
|
|
13308
|
+
var digest42 = "265e521ce25a9ec267a1aeb0dc4c1866955fe7a6ec1f130c2a5d624660790985";
|
|
13242
13309
|
var css42 = `._navbar_1laab_1 {
|
|
13243
13310
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
13244
13311
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -13425,8 +13492,8 @@ var OrganizationsNavabar = ({
|
|
|
13425
13492
|
] });
|
|
13426
13493
|
};
|
|
13427
13494
|
|
|
13428
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
13429
|
-
var digest43 = "
|
|
13495
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-RGBdhK5xw2hf/sdk/admin/views/organizations/list/list.module.css.js
|
|
13496
|
+
var digest43 = "94cddb0c316d7771d6d10a8669bbbba71422fe4d8ba0086453c2e096950347f1";
|
|
13430
13497
|
var css43 = `._navbar_1laab_1 {
|
|
13431
13498
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
13432
13499
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -13531,8 +13598,8 @@ var list_module_css_default5 = { "navbar": "_navbar_1laab_1", "table": "_table_1
|
|
|
13531
13598
|
var import_apsara59 = require("@raystack/apsara");
|
|
13532
13599
|
var import_dayjs11 = __toESM(require("dayjs"));
|
|
13533
13600
|
|
|
13534
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
13535
|
-
var digest44 = "
|
|
13601
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-z4vT11h2cS9V/sdk/admin/views/organizations/list/list.module.css.js
|
|
13602
|
+
var digest44 = "fc0fc6767d9ba39679ed56a5b85b2b5099d35157b4e130372ed7f56b0ea85cdd";
|
|
13536
13603
|
var css44 = `._navbar_1laab_1 {
|
|
13537
13604
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
13538
13605
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -13795,8 +13862,8 @@ var import_protobuf9 = require("@bufbuild/protobuf");
|
|
|
13795
13862
|
// admin/views/organizations/list/create.tsx
|
|
13796
13863
|
var import_react27 = require("react");
|
|
13797
13864
|
|
|
13798
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
13799
|
-
var digest45 = "
|
|
13865
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-yqN3exMl7AkR/sdk/admin/views/organizations/list/list.module.css.js
|
|
13866
|
+
var digest45 = "c14d6dc0b6242f52b7f914baaab831df569ae19a8a3f27abbd9af7b4c256b5e7";
|
|
13800
13867
|
var css45 = `._navbar_1laab_1 {
|
|
13801
13868
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
13802
13869
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -13906,8 +13973,8 @@ var import_react_image_crop = __toESM(require("react-image-crop"));
|
|
|
13906
13973
|
var import_apsara60 = require("@raystack/apsara");
|
|
13907
13974
|
var import_ReactCrop = require("react-image-crop/dist/ReactCrop.css");
|
|
13908
13975
|
|
|
13909
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
13910
|
-
var digest46 = "
|
|
13976
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-s0c3BXN0Y7fr/sdk/client/components/image-upload/image-upload.module.css.js
|
|
13977
|
+
var digest46 = "6187b5f67543c8be267f0d385558a339c7a4c62dfed8d3fa56e2bca5d70646a2";
|
|
13911
13978
|
var css46 = `._iconButton_cqo35_1 {
|
|
13912
13979
|
position: relative;
|
|
13913
13980
|
width: var(--rs-space-14);
|
|
@@ -14660,8 +14727,8 @@ var import_protobuf19 = require("@bufbuild/protobuf");
|
|
|
14660
14727
|
var import_icons4 = require("@raystack/apsara/icons");
|
|
14661
14728
|
var import_apsara65 = require("@raystack/apsara");
|
|
14662
14729
|
|
|
14663
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
14664
|
-
var digest47 = "
|
|
14730
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-lkpvBBo7jQ3h/sdk/admin/views/organizations/details/layout/layout.module.css.js
|
|
14731
|
+
var digest47 = "b1444148f0f0d904a0e6a1f0aa0e167ac64a8e09ad3ccfca747d49b3af7b44e8";
|
|
14665
14732
|
var css47 = `._page_1jsqa_1 {
|
|
14666
14733
|
width: 100%;
|
|
14667
14734
|
height: 100vh;
|
|
@@ -14758,8 +14825,8 @@ var layout_module_css_default2 = { "page": "_page_1jsqa_1", "main_content": "_ma
|
|
|
14758
14825
|
var import_apsara63 = require("@raystack/apsara");
|
|
14759
14826
|
var import_react30 = require("react");
|
|
14760
14827
|
|
|
14761
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
14762
|
-
var digest48 = "
|
|
14828
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-Jzicyg2WbBYz/sdk/admin/views/organizations/details/layout/layout.module.css.js
|
|
14829
|
+
var digest48 = "19d889a749072c2d7cefc3ea741bce331db96eaebd0176d7c718a1eb12ddd1b2";
|
|
14763
14830
|
var css48 = `._page_1jsqa_1 {
|
|
14764
14831
|
width: 100%;
|
|
14765
14832
|
height: 100vh;
|
|
@@ -14963,9 +15030,9 @@ var InviteUsersDialog = ({ onOpenChange }) => {
|
|
|
14963
15030
|
} catch (error) {
|
|
14964
15031
|
handleConnectError(error, {
|
|
14965
15032
|
AlreadyExists: () => import_apsara63.toastManager.add({ title: "Invitation already exists", type: "error" }),
|
|
14966
|
-
InvalidArgument: (err) => import_apsara63.toastManager.add({ title: "Invalid input", description: err.
|
|
15033
|
+
InvalidArgument: (err) => import_apsara63.toastManager.add({ title: "Invalid input", description: err.rawMessage, type: "error" }),
|
|
14967
15034
|
PermissionDenied: () => import_apsara63.toastManager.add({ title: "You don't have permission to perform this action", type: "error" }),
|
|
14968
|
-
Default: (err) => import_apsara63.toastManager.add({ title: "Something went wrong", description: err.
|
|
15035
|
+
Default: (err) => import_apsara63.toastManager.add({ title: "Something went wrong", description: err.rawMessage, type: "error" })
|
|
14969
15036
|
});
|
|
14970
15037
|
}
|
|
14971
15038
|
};
|
|
@@ -15050,8 +15117,8 @@ var import_apsara64 = require("@raystack/apsara");
|
|
|
15050
15117
|
var import_react31 = require("react");
|
|
15051
15118
|
var import_react_hook_form8 = require("react-hook-form");
|
|
15052
15119
|
|
|
15053
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
15054
|
-
var digest49 = "
|
|
15120
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-Y0dp9A8H1vB8/sdk/admin/views/organizations/details/layout/layout.module.css.js
|
|
15121
|
+
var digest49 = "09128d849a8cc4cc78d90a2dd15b3f517e5d688f56a153428e80f1506d34a8de";
|
|
15055
15122
|
var css49 = `._page_1jsqa_1 {
|
|
15056
15123
|
width: 100%;
|
|
15057
15124
|
height: 100vh;
|
|
@@ -15190,7 +15257,7 @@ var AddTokensDialog = ({ onOpenChange }) => {
|
|
|
15190
15257
|
onError: (error) => {
|
|
15191
15258
|
import_apsara64.toastManager.add({
|
|
15192
15259
|
title: "Something went wrong",
|
|
15193
|
-
description: error.
|
|
15260
|
+
description: error.rawMessage,
|
|
15194
15261
|
type: "error"
|
|
15195
15262
|
});
|
|
15196
15263
|
console.error("Unable to add tokens:", error);
|
|
@@ -15557,8 +15624,8 @@ var OrganizationsDetailsNavabar = ({
|
|
|
15557
15624
|
] });
|
|
15558
15625
|
};
|
|
15559
15626
|
|
|
15560
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
15561
|
-
var digest50 = "
|
|
15627
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-3uU9sOPAO8YW/sdk/admin/views/organizations/details/layout/layout.module.css.js
|
|
15628
|
+
var digest50 = "9fc80893d6e08018cb821dcd50eb0b2b0376f3be0f5d103c829ff2c380981433";
|
|
15562
15629
|
var css50 = `._page_1jsqa_1 {
|
|
15563
15630
|
width: 100%;
|
|
15564
15631
|
height: 100vh;
|
|
@@ -15660,24 +15727,56 @@ var import_apsara71 = require("@raystack/apsara");
|
|
|
15660
15727
|
// admin/views/organizations/details/side-panel/org-details-section.tsx
|
|
15661
15728
|
var import_apsara66 = require("@raystack/apsara");
|
|
15662
15729
|
|
|
15663
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
15664
|
-
var digest51 = "
|
|
15665
|
-
var css51 = `._side-panel-section-item-
|
|
15730
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-YbXrI1USivel/sdk/admin/views/organizations/details/side-panel/side-panel.module.css.js
|
|
15731
|
+
var digest51 = "a919b73a86bb6c2a12cf8985eab572e5030bb32b35ff3875d46474f624143163";
|
|
15732
|
+
var css51 = `._side-panel-section-item-label_slrfc_1 {
|
|
15666
15733
|
width: 120px;
|
|
15667
15734
|
}
|
|
15668
15735
|
|
|
15669
|
-
._org-details-section-org-
|
|
15670
|
-
.
|
|
15736
|
+
._org-details-section-org-id_slrfc_5,
|
|
15737
|
+
._kyc_link_slrfc_6 {
|
|
15671
15738
|
max-width: 160px;
|
|
15672
15739
|
overflow: hidden;
|
|
15673
15740
|
text-overflow: ellipsis;
|
|
15674
15741
|
white-space: nowrap;
|
|
15675
15742
|
}
|
|
15676
15743
|
|
|
15677
|
-
._kyc-status-
|
|
15744
|
+
._kyc-status-icon_slrfc_13 {
|
|
15678
15745
|
height: var(--rs-space-5);
|
|
15679
15746
|
width: var(--rs-space-5);
|
|
15680
15747
|
}
|
|
15748
|
+
|
|
15749
|
+
._billing-header_slrfc_18 > span {
|
|
15750
|
+
display: flex;
|
|
15751
|
+
flex: 1;
|
|
15752
|
+
align-items: center;
|
|
15753
|
+
justify-content: space-between;
|
|
15754
|
+
}
|
|
15755
|
+
|
|
15756
|
+
._billing-edit_slrfc_25 {
|
|
15757
|
+
opacity: 0;
|
|
15758
|
+
transition: opacity 120ms ease-in-out;
|
|
15759
|
+
}
|
|
15760
|
+
|
|
15761
|
+
._billing-section_slrfc_30:hover ._billing-edit_slrfc_25,
|
|
15762
|
+
._billing-section_slrfc_30:focus-within ._billing-edit_slrfc_25 {
|
|
15763
|
+
opacity: 1;
|
|
15764
|
+
}
|
|
15765
|
+
|
|
15766
|
+
/* These rules re-create a "disabled but still hoverable (so the tooltip shows)"
|
|
15767
|
+
icon button. This behaviour should ideally be provided by the apsara
|
|
15768
|
+
IconButton/Tooltip components rather than worked around here. */
|
|
15769
|
+
._billing-section_slrfc_30:hover ._billing-edit-disabled_slrfc_38,
|
|
15770
|
+
._billing-section_slrfc_30:focus-within ._billing-edit-disabled_slrfc_38 {
|
|
15771
|
+
opacity: 0.5;
|
|
15772
|
+
cursor: default;
|
|
15773
|
+
}
|
|
15774
|
+
|
|
15775
|
+
._billing-section_slrfc_30:hover ._billing-edit-disabled_slrfc_38:hover,
|
|
15776
|
+
._billing-section_slrfc_30:hover ._billing-edit-disabled_slrfc_38:active {
|
|
15777
|
+
background-color: transparent;
|
|
15778
|
+
color: var(--rs-color-foreground-base-secondary);
|
|
15779
|
+
}
|
|
15681
15780
|
`;
|
|
15682
15781
|
(function() {
|
|
15683
15782
|
if (typeof document === "undefined") {
|
|
@@ -15690,7 +15789,7 @@ var css51 = `._side-panel-section-item-label_yeg6h_1 {
|
|
|
15690
15789
|
document.head.appendChild(el);
|
|
15691
15790
|
}
|
|
15692
15791
|
})();
|
|
15693
|
-
var side_panel_module_css_default5 = { "side-panel-section-item-label": "_side-panel-section-item-
|
|
15792
|
+
var side_panel_module_css_default5 = { "side-panel-section-item-label": "_side-panel-section-item-label_slrfc_1", "sidePanelSectionItemLabel": "_side-panel-section-item-label_slrfc_1", "org-details-section-org-id": "_org-details-section-org-id_slrfc_5", "orgDetailsSectionOrgId": "_org-details-section-org-id_slrfc_5", "kyc_link": "_kyc_link_slrfc_6", "kycLink": "_kyc_link_slrfc_6", "kyc-status-icon": "_kyc-status-icon_slrfc_13", "kycStatusIcon": "_kyc-status-icon_slrfc_13", "billing-header": "_billing-header_slrfc_18", "billingHeader": "_billing-header_slrfc_18", "billing-edit": "_billing-edit_slrfc_25", "billingEdit": "_billing-edit_slrfc_25", "billing-section": "_billing-section_slrfc_30", "billingSection": "_billing-section_slrfc_30", "billing-edit-disabled": "_billing-edit-disabled_slrfc_38", "billingEditDisabled": "_billing-edit-disabled_slrfc_38" };
|
|
15694
15793
|
|
|
15695
15794
|
// admin/views/organizations/details/side-panel/org-details-section.tsx
|
|
15696
15795
|
var import_dayjs12 = __toESM(require("dayjs"));
|
|
@@ -15759,24 +15858,56 @@ var OrganizationDetailsSection = ({
|
|
|
15759
15858
|
var import_apsara67 = require("@raystack/apsara");
|
|
15760
15859
|
var import_react34 = require("react");
|
|
15761
15860
|
|
|
15762
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
15763
|
-
var digest52 = "
|
|
15764
|
-
var css52 = `._side-panel-section-item-
|
|
15861
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-nOsjDRgPz8dK/sdk/admin/views/organizations/details/side-panel/side-panel.module.css.js
|
|
15862
|
+
var digest52 = "9c3f13adcdca76cefabd8f58f91244b698226f8af6fd6349c86191dab7fb28e5";
|
|
15863
|
+
var css52 = `._side-panel-section-item-label_slrfc_1 {
|
|
15765
15864
|
width: 120px;
|
|
15766
15865
|
}
|
|
15767
15866
|
|
|
15768
|
-
._org-details-section-org-
|
|
15769
|
-
.
|
|
15867
|
+
._org-details-section-org-id_slrfc_5,
|
|
15868
|
+
._kyc_link_slrfc_6 {
|
|
15770
15869
|
max-width: 160px;
|
|
15771
15870
|
overflow: hidden;
|
|
15772
15871
|
text-overflow: ellipsis;
|
|
15773
15872
|
white-space: nowrap;
|
|
15774
15873
|
}
|
|
15775
15874
|
|
|
15776
|
-
._kyc-status-
|
|
15875
|
+
._kyc-status-icon_slrfc_13 {
|
|
15777
15876
|
height: var(--rs-space-5);
|
|
15778
15877
|
width: var(--rs-space-5);
|
|
15779
15878
|
}
|
|
15879
|
+
|
|
15880
|
+
._billing-header_slrfc_18 > span {
|
|
15881
|
+
display: flex;
|
|
15882
|
+
flex: 1;
|
|
15883
|
+
align-items: center;
|
|
15884
|
+
justify-content: space-between;
|
|
15885
|
+
}
|
|
15886
|
+
|
|
15887
|
+
._billing-edit_slrfc_25 {
|
|
15888
|
+
opacity: 0;
|
|
15889
|
+
transition: opacity 120ms ease-in-out;
|
|
15890
|
+
}
|
|
15891
|
+
|
|
15892
|
+
._billing-section_slrfc_30:hover ._billing-edit_slrfc_25,
|
|
15893
|
+
._billing-section_slrfc_30:focus-within ._billing-edit_slrfc_25 {
|
|
15894
|
+
opacity: 1;
|
|
15895
|
+
}
|
|
15896
|
+
|
|
15897
|
+
/* These rules re-create a "disabled but still hoverable (so the tooltip shows)"
|
|
15898
|
+
icon button. This behaviour should ideally be provided by the apsara
|
|
15899
|
+
IconButton/Tooltip components rather than worked around here. */
|
|
15900
|
+
._billing-section_slrfc_30:hover ._billing-edit-disabled_slrfc_38,
|
|
15901
|
+
._billing-section_slrfc_30:focus-within ._billing-edit-disabled_slrfc_38 {
|
|
15902
|
+
opacity: 0.5;
|
|
15903
|
+
cursor: default;
|
|
15904
|
+
}
|
|
15905
|
+
|
|
15906
|
+
._billing-section_slrfc_30:hover ._billing-edit-disabled_slrfc_38:hover,
|
|
15907
|
+
._billing-section_slrfc_30:hover ._billing-edit-disabled_slrfc_38:active {
|
|
15908
|
+
background-color: transparent;
|
|
15909
|
+
color: var(--rs-color-foreground-base-secondary);
|
|
15910
|
+
}
|
|
15780
15911
|
`;
|
|
15781
15912
|
(function() {
|
|
15782
15913
|
if (typeof document === "undefined") {
|
|
@@ -15789,7 +15920,7 @@ var css52 = `._side-panel-section-item-label_yeg6h_1 {
|
|
|
15789
15920
|
document.head.appendChild(el);
|
|
15790
15921
|
}
|
|
15791
15922
|
})();
|
|
15792
|
-
var side_panel_module_css_default6 = { "side-panel-section-item-label": "_side-panel-section-item-
|
|
15923
|
+
var side_panel_module_css_default6 = { "side-panel-section-item-label": "_side-panel-section-item-label_slrfc_1", "sidePanelSectionItemLabel": "_side-panel-section-item-label_slrfc_1", "org-details-section-org-id": "_org-details-section-org-id_slrfc_5", "orgDetailsSectionOrgId": "_org-details-section-org-id_slrfc_5", "kyc_link": "_kyc_link_slrfc_6", "kycLink": "_kyc_link_slrfc_6", "kyc-status-icon": "_kyc-status-icon_slrfc_13", "kycStatusIcon": "_kyc-status-icon_slrfc_13", "billing-header": "_billing-header_slrfc_18", "billingHeader": "_billing-header_slrfc_18", "billing-edit": "_billing-edit_slrfc_25", "billingEdit": "_billing-edit_slrfc_25", "billing-section": "_billing-section_slrfc_30", "billingSection": "_billing-section_slrfc_30", "billing-edit-disabled": "_billing-edit-disabled_slrfc_38", "billingEditDisabled": "_billing-edit-disabled_slrfc_38" };
|
|
15793
15924
|
|
|
15794
15925
|
// admin/views/organizations/details/side-panel/kyc-section.tsx
|
|
15795
15926
|
var import_icons5 = require("@raystack/apsara/icons");
|
|
@@ -15851,24 +15982,56 @@ var KYCDetailsSection = () => {
|
|
|
15851
15982
|
var import_react35 = require("react");
|
|
15852
15983
|
var import_apsara68 = require("@raystack/apsara");
|
|
15853
15984
|
|
|
15854
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
15855
|
-
var digest53 = "
|
|
15856
|
-
var css53 = `._side-panel-section-item-
|
|
15985
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-fNt2NVsD9x6N/sdk/admin/views/organizations/details/side-panel/side-panel.module.css.js
|
|
15986
|
+
var digest53 = "20b2daac8064696e0ef1c65dcced082bcc2fa7ac15d59267689c4ec36469cd06";
|
|
15987
|
+
var css53 = `._side-panel-section-item-label_slrfc_1 {
|
|
15857
15988
|
width: 120px;
|
|
15858
15989
|
}
|
|
15859
15990
|
|
|
15860
|
-
._org-details-section-org-
|
|
15861
|
-
.
|
|
15991
|
+
._org-details-section-org-id_slrfc_5,
|
|
15992
|
+
._kyc_link_slrfc_6 {
|
|
15862
15993
|
max-width: 160px;
|
|
15863
15994
|
overflow: hidden;
|
|
15864
15995
|
text-overflow: ellipsis;
|
|
15865
15996
|
white-space: nowrap;
|
|
15866
15997
|
}
|
|
15867
15998
|
|
|
15868
|
-
._kyc-status-
|
|
15999
|
+
._kyc-status-icon_slrfc_13 {
|
|
15869
16000
|
height: var(--rs-space-5);
|
|
15870
16001
|
width: var(--rs-space-5);
|
|
15871
16002
|
}
|
|
16003
|
+
|
|
16004
|
+
._billing-header_slrfc_18 > span {
|
|
16005
|
+
display: flex;
|
|
16006
|
+
flex: 1;
|
|
16007
|
+
align-items: center;
|
|
16008
|
+
justify-content: space-between;
|
|
16009
|
+
}
|
|
16010
|
+
|
|
16011
|
+
._billing-edit_slrfc_25 {
|
|
16012
|
+
opacity: 0;
|
|
16013
|
+
transition: opacity 120ms ease-in-out;
|
|
16014
|
+
}
|
|
16015
|
+
|
|
16016
|
+
._billing-section_slrfc_30:hover ._billing-edit_slrfc_25,
|
|
16017
|
+
._billing-section_slrfc_30:focus-within ._billing-edit_slrfc_25 {
|
|
16018
|
+
opacity: 1;
|
|
16019
|
+
}
|
|
16020
|
+
|
|
16021
|
+
/* These rules re-create a "disabled but still hoverable (so the tooltip shows)"
|
|
16022
|
+
icon button. This behaviour should ideally be provided by the apsara
|
|
16023
|
+
IconButton/Tooltip components rather than worked around here. */
|
|
16024
|
+
._billing-section_slrfc_30:hover ._billing-edit-disabled_slrfc_38,
|
|
16025
|
+
._billing-section_slrfc_30:focus-within ._billing-edit-disabled_slrfc_38 {
|
|
16026
|
+
opacity: 0.5;
|
|
16027
|
+
cursor: default;
|
|
16028
|
+
}
|
|
16029
|
+
|
|
16030
|
+
._billing-section_slrfc_30:hover ._billing-edit-disabled_slrfc_38:hover,
|
|
16031
|
+
._billing-section_slrfc_30:hover ._billing-edit-disabled_slrfc_38:active {
|
|
16032
|
+
background-color: transparent;
|
|
16033
|
+
color: var(--rs-color-foreground-base-secondary);
|
|
16034
|
+
}
|
|
15872
16035
|
`;
|
|
15873
16036
|
(function() {
|
|
15874
16037
|
if (typeof document === "undefined") {
|
|
@@ -15881,7 +16044,7 @@ var css53 = `._side-panel-section-item-label_yeg6h_1 {
|
|
|
15881
16044
|
document.head.appendChild(el);
|
|
15882
16045
|
}
|
|
15883
16046
|
})();
|
|
15884
|
-
var side_panel_module_css_default7 = { "side-panel-section-item-label": "_side-panel-section-item-
|
|
16047
|
+
var side_panel_module_css_default7 = { "side-panel-section-item-label": "_side-panel-section-item-label_slrfc_1", "sidePanelSectionItemLabel": "_side-panel-section-item-label_slrfc_1", "org-details-section-org-id": "_org-details-section-org-id_slrfc_5", "orgDetailsSectionOrgId": "_org-details-section-org-id_slrfc_5", "kyc_link": "_kyc_link_slrfc_6", "kycLink": "_kyc_link_slrfc_6", "kyc-status-icon": "_kyc-status-icon_slrfc_13", "kycStatusIcon": "_kyc-status-icon_slrfc_13", "billing-header": "_billing-header_slrfc_18", "billingHeader": "_billing-header_slrfc_18", "billing-edit": "_billing-edit_slrfc_25", "billingEdit": "_billing-edit_slrfc_25", "billing-section": "_billing-section_slrfc_30", "billingSection": "_billing-section_slrfc_30", "billing-edit-disabled": "_billing-edit-disabled_slrfc_38", "billingEditDisabled": "_billing-edit-disabled_slrfc_38" };
|
|
15885
16048
|
|
|
15886
16049
|
// admin/views/organizations/details/side-panel/plan-details-section.tsx
|
|
15887
16050
|
var import_connect_query25 = require("@connectrpc/connect-query");
|
|
@@ -15954,24 +16117,56 @@ var PlanDetailsSection = () => {
|
|
|
15954
16117
|
var import_apsara69 = require("@raystack/apsara");
|
|
15955
16118
|
var import_icons6 = require("@raystack/apsara/icons");
|
|
15956
16119
|
|
|
15957
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
15958
|
-
var digest54 = "
|
|
15959
|
-
var css54 = `._side-panel-section-item-
|
|
16120
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-GLYVamK7t2mN/sdk/admin/views/organizations/details/side-panel/side-panel.module.css.js
|
|
16121
|
+
var digest54 = "6df841b8306aa66882a08efb881c84d10a622a3575ed135fa201c91b15b93a88";
|
|
16122
|
+
var css54 = `._side-panel-section-item-label_slrfc_1 {
|
|
15960
16123
|
width: 120px;
|
|
15961
16124
|
}
|
|
15962
16125
|
|
|
15963
|
-
._org-details-section-org-
|
|
15964
|
-
.
|
|
16126
|
+
._org-details-section-org-id_slrfc_5,
|
|
16127
|
+
._kyc_link_slrfc_6 {
|
|
15965
16128
|
max-width: 160px;
|
|
15966
16129
|
overflow: hidden;
|
|
15967
16130
|
text-overflow: ellipsis;
|
|
15968
16131
|
white-space: nowrap;
|
|
15969
16132
|
}
|
|
15970
16133
|
|
|
15971
|
-
._kyc-status-
|
|
16134
|
+
._kyc-status-icon_slrfc_13 {
|
|
15972
16135
|
height: var(--rs-space-5);
|
|
15973
16136
|
width: var(--rs-space-5);
|
|
15974
16137
|
}
|
|
16138
|
+
|
|
16139
|
+
._billing-header_slrfc_18 > span {
|
|
16140
|
+
display: flex;
|
|
16141
|
+
flex: 1;
|
|
16142
|
+
align-items: center;
|
|
16143
|
+
justify-content: space-between;
|
|
16144
|
+
}
|
|
16145
|
+
|
|
16146
|
+
._billing-edit_slrfc_25 {
|
|
16147
|
+
opacity: 0;
|
|
16148
|
+
transition: opacity 120ms ease-in-out;
|
|
16149
|
+
}
|
|
16150
|
+
|
|
16151
|
+
._billing-section_slrfc_30:hover ._billing-edit_slrfc_25,
|
|
16152
|
+
._billing-section_slrfc_30:focus-within ._billing-edit_slrfc_25 {
|
|
16153
|
+
opacity: 1;
|
|
16154
|
+
}
|
|
16155
|
+
|
|
16156
|
+
/* These rules re-create a "disabled but still hoverable (so the tooltip shows)"
|
|
16157
|
+
icon button. This behaviour should ideally be provided by the apsara
|
|
16158
|
+
IconButton/Tooltip components rather than worked around here. */
|
|
16159
|
+
._billing-section_slrfc_30:hover ._billing-edit-disabled_slrfc_38,
|
|
16160
|
+
._billing-section_slrfc_30:focus-within ._billing-edit-disabled_slrfc_38 {
|
|
16161
|
+
opacity: 0.5;
|
|
16162
|
+
cursor: default;
|
|
16163
|
+
}
|
|
16164
|
+
|
|
16165
|
+
._billing-section_slrfc_30:hover ._billing-edit-disabled_slrfc_38:hover,
|
|
16166
|
+
._billing-section_slrfc_30:hover ._billing-edit-disabled_slrfc_38:active {
|
|
16167
|
+
background-color: transparent;
|
|
16168
|
+
color: var(--rs-color-foreground-base-secondary);
|
|
16169
|
+
}
|
|
15975
16170
|
`;
|
|
15976
16171
|
(function() {
|
|
15977
16172
|
if (typeof document === "undefined") {
|
|
@@ -15984,7 +16179,7 @@ var css54 = `._side-panel-section-item-label_yeg6h_1 {
|
|
|
15984
16179
|
document.head.appendChild(el);
|
|
15985
16180
|
}
|
|
15986
16181
|
})();
|
|
15987
|
-
var side_panel_module_css_default8 = { "side-panel-section-item-label": "_side-panel-section-item-
|
|
16182
|
+
var side_panel_module_css_default8 = { "side-panel-section-item-label": "_side-panel-section-item-label_slrfc_1", "sidePanelSectionItemLabel": "_side-panel-section-item-label_slrfc_1", "org-details-section-org-id": "_org-details-section-org-id_slrfc_5", "orgDetailsSectionOrgId": "_org-details-section-org-id_slrfc_5", "kyc_link": "_kyc_link_slrfc_6", "kycLink": "_kyc_link_slrfc_6", "kyc-status-icon": "_kyc-status-icon_slrfc_13", "kycStatusIcon": "_kyc-status-icon_slrfc_13", "billing-header": "_billing-header_slrfc_18", "billingHeader": "_billing-header_slrfc_18", "billing-edit": "_billing-edit_slrfc_25", "billingEdit": "_billing-edit_slrfc_25", "billing-section": "_billing-section_slrfc_30", "billingSection": "_billing-section_slrfc_30", "billing-edit-disabled": "_billing-edit-disabled_slrfc_38", "billingEditDisabled": "_billing-edit-disabled_slrfc_38" };
|
|
15988
16183
|
|
|
15989
16184
|
// admin/views/organizations/details/side-panel/tokens-details-section.tsx
|
|
15990
16185
|
var import_react36 = require("react");
|
|
@@ -16056,24 +16251,56 @@ var TokensDetailsSection = () => {
|
|
|
16056
16251
|
// admin/views/organizations/details/side-panel/billing-details-section.tsx
|
|
16057
16252
|
var import_apsara70 = require("@raystack/apsara");
|
|
16058
16253
|
|
|
16059
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
16060
|
-
var digest55 = "
|
|
16061
|
-
var css55 = `._side-panel-section-item-
|
|
16254
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-pXjVHieNvaqX/sdk/admin/views/organizations/details/side-panel/side-panel.module.css.js
|
|
16255
|
+
var digest55 = "294177bed4e5fa708908c8c7ee723f2e302455c1b1b996fde7ab65d3a0ebefe2";
|
|
16256
|
+
var css55 = `._side-panel-section-item-label_slrfc_1 {
|
|
16062
16257
|
width: 120px;
|
|
16063
16258
|
}
|
|
16064
16259
|
|
|
16065
|
-
._org-details-section-org-
|
|
16066
|
-
.
|
|
16260
|
+
._org-details-section-org-id_slrfc_5,
|
|
16261
|
+
._kyc_link_slrfc_6 {
|
|
16067
16262
|
max-width: 160px;
|
|
16068
16263
|
overflow: hidden;
|
|
16069
16264
|
text-overflow: ellipsis;
|
|
16070
16265
|
white-space: nowrap;
|
|
16071
16266
|
}
|
|
16072
16267
|
|
|
16073
|
-
._kyc-status-
|
|
16268
|
+
._kyc-status-icon_slrfc_13 {
|
|
16074
16269
|
height: var(--rs-space-5);
|
|
16075
16270
|
width: var(--rs-space-5);
|
|
16076
16271
|
}
|
|
16272
|
+
|
|
16273
|
+
._billing-header_slrfc_18 > span {
|
|
16274
|
+
display: flex;
|
|
16275
|
+
flex: 1;
|
|
16276
|
+
align-items: center;
|
|
16277
|
+
justify-content: space-between;
|
|
16278
|
+
}
|
|
16279
|
+
|
|
16280
|
+
._billing-edit_slrfc_25 {
|
|
16281
|
+
opacity: 0;
|
|
16282
|
+
transition: opacity 120ms ease-in-out;
|
|
16283
|
+
}
|
|
16284
|
+
|
|
16285
|
+
._billing-section_slrfc_30:hover ._billing-edit_slrfc_25,
|
|
16286
|
+
._billing-section_slrfc_30:focus-within ._billing-edit_slrfc_25 {
|
|
16287
|
+
opacity: 1;
|
|
16288
|
+
}
|
|
16289
|
+
|
|
16290
|
+
/* These rules re-create a "disabled but still hoverable (so the tooltip shows)"
|
|
16291
|
+
icon button. This behaviour should ideally be provided by the apsara
|
|
16292
|
+
IconButton/Tooltip components rather than worked around here. */
|
|
16293
|
+
._billing-section_slrfc_30:hover ._billing-edit-disabled_slrfc_38,
|
|
16294
|
+
._billing-section_slrfc_30:focus-within ._billing-edit-disabled_slrfc_38 {
|
|
16295
|
+
opacity: 0.5;
|
|
16296
|
+
cursor: default;
|
|
16297
|
+
}
|
|
16298
|
+
|
|
16299
|
+
._billing-section_slrfc_30:hover ._billing-edit-disabled_slrfc_38:hover,
|
|
16300
|
+
._billing-section_slrfc_30:hover ._billing-edit-disabled_slrfc_38:active {
|
|
16301
|
+
background-color: transparent;
|
|
16302
|
+
color: var(--rs-color-foreground-base-secondary);
|
|
16303
|
+
}
|
|
16077
16304
|
`;
|
|
16078
16305
|
(function() {
|
|
16079
16306
|
if (typeof document === "undefined") {
|
|
@@ -16086,7 +16313,7 @@ var css55 = `._side-panel-section-item-label_yeg6h_1 {
|
|
|
16086
16313
|
document.head.appendChild(el);
|
|
16087
16314
|
}
|
|
16088
16315
|
})();
|
|
16089
|
-
var side_panel_module_css_default9 = { "side-panel-section-item-label": "_side-panel-section-item-
|
|
16316
|
+
var side_panel_module_css_default9 = { "side-panel-section-item-label": "_side-panel-section-item-label_slrfc_1", "sidePanelSectionItemLabel": "_side-panel-section-item-label_slrfc_1", "org-details-section-org-id": "_org-details-section-org-id_slrfc_5", "orgDetailsSectionOrgId": "_org-details-section-org-id_slrfc_5", "kyc_link": "_kyc_link_slrfc_6", "kycLink": "_kyc_link_slrfc_6", "kyc-status-icon": "_kyc-status-icon_slrfc_13", "kycStatusIcon": "_kyc-status-icon_slrfc_13", "billing-header": "_billing-header_slrfc_18", "billingHeader": "_billing-header_slrfc_18", "billing-edit": "_billing-edit_slrfc_25", "billingEdit": "_billing-edit_slrfc_25", "billing-section": "_billing-section_slrfc_30", "billingSection": "_billing-section_slrfc_30", "billing-edit-disabled": "_billing-edit-disabled_slrfc_38", "billingEditDisabled": "_billing-edit-disabled_slrfc_38" };
|
|
16090
16317
|
|
|
16091
16318
|
// admin/views/organizations/details/side-panel/billing-details-section.tsx
|
|
16092
16319
|
var import_react37 = require("react");
|
|
@@ -16116,8 +16343,69 @@ var BillingDetailsSection = () => {
|
|
|
16116
16343
|
}, [error]);
|
|
16117
16344
|
const due_date = upcomingInvoice?.dueDate || upcomingInvoice?.periodEndAt;
|
|
16118
16345
|
const stripeLink = billingAccount?.providerId ? "https://dashboard.stripe.com/customers/" + billingAccount?.providerId : "";
|
|
16119
|
-
|
|
16120
|
-
|
|
16346
|
+
const { mutateAsync: createCheckout, isPending: isPortalLoading } = (0, import_connect_query27.useMutation)(import_frontier31.FrontierServiceQueries.createCheckout, {
|
|
16347
|
+
onError: (error2) => {
|
|
16348
|
+
import_apsara70.toastManager.add({
|
|
16349
|
+
title: "Something went wrong",
|
|
16350
|
+
description: error2.rawMessage,
|
|
16351
|
+
type: "error"
|
|
16352
|
+
});
|
|
16353
|
+
console.error("Unable to open billing portal:", error2);
|
|
16354
|
+
}
|
|
16355
|
+
});
|
|
16356
|
+
const isBillingPortalDisabled = isPortalLoading || !billingAccountId;
|
|
16357
|
+
const handleOpenBillingPortal = async () => {
|
|
16358
|
+
if (isBillingPortalDisabled)
|
|
16359
|
+
return;
|
|
16360
|
+
const returnUrl = window.location.href;
|
|
16361
|
+
const portalTab = window.open("", "_blank");
|
|
16362
|
+
if (portalTab)
|
|
16363
|
+
portalTab.opener = null;
|
|
16364
|
+
try {
|
|
16365
|
+
const resp = await createCheckout(
|
|
16366
|
+
(0, import_protobuf15.create)(import_frontier31.CreateCheckoutRequestSchema, {
|
|
16367
|
+
orgId: organizationId,
|
|
16368
|
+
cancelUrl: returnUrl,
|
|
16369
|
+
successUrl: returnUrl,
|
|
16370
|
+
setupBody: { paymentMethod: false, customerPortal: true }
|
|
16371
|
+
})
|
|
16372
|
+
);
|
|
16373
|
+
const checkoutUrl = resp?.checkoutSession?.checkoutUrl;
|
|
16374
|
+
if (checkoutUrl && portalTab) {
|
|
16375
|
+
portalTab.location.href = checkoutUrl;
|
|
16376
|
+
} else if (checkoutUrl) {
|
|
16377
|
+
window.open(checkoutUrl, "_blank", "noopener,noreferrer");
|
|
16378
|
+
} else {
|
|
16379
|
+
portalTab?.close();
|
|
16380
|
+
}
|
|
16381
|
+
} catch {
|
|
16382
|
+
portalTab?.close();
|
|
16383
|
+
}
|
|
16384
|
+
};
|
|
16385
|
+
return /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(import_apsara70.List, { className: side_panel_module_css_default9["billing-section"], children: [
|
|
16386
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(import_apsara70.List.Header, { className: side_panel_module_css_default9["billing-header"], children: [
|
|
16387
|
+
"Billing",
|
|
16388
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(import_apsara70.Tooltip, { children: [
|
|
16389
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
16390
|
+
import_apsara70.Tooltip.Trigger,
|
|
16391
|
+
{
|
|
16392
|
+
render: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
16393
|
+
import_apsara70.IconButton,
|
|
16394
|
+
{
|
|
16395
|
+
size: 2,
|
|
16396
|
+
"aria-label": "Update billing details",
|
|
16397
|
+
"data-test-id": "admin-billing-portal-button",
|
|
16398
|
+
"aria-disabled": isBillingPortalDisabled,
|
|
16399
|
+
className: isBillingPortalDisabled ? `${side_panel_module_css_default9["billing-edit"]} ${side_panel_module_css_default9["billing-edit-disabled"]}` : side_panel_module_css_default9["billing-edit"],
|
|
16400
|
+
onClick: handleOpenBillingPortal,
|
|
16401
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(Pencil1Icon, {})
|
|
16402
|
+
}
|
|
16403
|
+
)
|
|
16404
|
+
}
|
|
16405
|
+
),
|
|
16406
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_apsara70.Tooltip.Content, { children: billingAccountId ? "Update billing details" : "No billing account for this organization" })
|
|
16407
|
+
] })
|
|
16408
|
+
] }),
|
|
16121
16409
|
/* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(import_apsara70.List.Item, { children: [
|
|
16122
16410
|
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_apsara70.List.Label, { className: side_panel_module_css_default9["side-panel-section-item-label"], children: "Name" }),
|
|
16123
16411
|
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_apsara70.List.Value, { className: side_panel_module_css_default9["side-panel-section-item-value"], children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(Skeleton, {}) : /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_apsara70.Text, { children: billingAccount?.name || "N/A" }) })
|
|
@@ -16203,8 +16491,8 @@ var import_icons7 = require("@raystack/apsara/icons");
|
|
|
16203
16491
|
// admin/views/organizations/details/edit/kyc.tsx
|
|
16204
16492
|
var import_apsara72 = require("@raystack/apsara");
|
|
16205
16493
|
|
|
16206
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
16207
|
-
var digest56 = "
|
|
16494
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-N5UjTQurOJmB/sdk/admin/views/organizations/details/edit/edit.module.css.js
|
|
16495
|
+
var digest56 = "562c01eee20dbcec161fd6b522bee0344f842720ab463d109c896707f94f42af";
|
|
16208
16496
|
var css56 = `._drawer-content_18xgg_1 {
|
|
16209
16497
|
min-width: 500px;
|
|
16210
16498
|
padding: 0;
|
|
@@ -16309,7 +16597,7 @@ function EditKYCPanel({ open = false, onClose }) {
|
|
|
16309
16597
|
onClose();
|
|
16310
16598
|
},
|
|
16311
16599
|
onError: (error) => {
|
|
16312
|
-
import_apsara72.toastManager.add({ title:
|
|
16600
|
+
import_apsara72.toastManager.add({ title: "Failed to update KYC details", description: error.rawMessage, type: "error" });
|
|
16313
16601
|
console.error("Unable to update KYC details:", error);
|
|
16314
16602
|
}
|
|
16315
16603
|
});
|
|
@@ -16430,8 +16718,8 @@ function EditKYCPanel({ open = false, onClose }) {
|
|
|
16430
16718
|
// admin/views/organizations/details/edit/organization.tsx
|
|
16431
16719
|
var import_react39 = require("react");
|
|
16432
16720
|
|
|
16433
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
16434
|
-
var digest57 = "
|
|
16721
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-K0vmzqEYKTOu/sdk/admin/views/organizations/details/edit/edit.module.css.js
|
|
16722
|
+
var digest57 = "ca4656d210486f3005ec17a4ad48f9f05e7318afdd59b48e02a0c4e9a650d7e5";
|
|
16435
16723
|
var css57 = `._drawer-content_18xgg_1 {
|
|
16436
16724
|
min-width: 500px;
|
|
16437
16725
|
padding: 0;
|
|
@@ -16785,8 +17073,8 @@ function EditOrganizationPanel({ open = false, onClose }) {
|
|
|
16785
17073
|
// admin/views/organizations/details/edit/billing.tsx
|
|
16786
17074
|
var import_apsara74 = require("@raystack/apsara");
|
|
16787
17075
|
|
|
16788
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
16789
|
-
var digest58 = "
|
|
17076
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-K1YUhQG5gL63/sdk/admin/views/organizations/details/edit/edit.module.css.js
|
|
17077
|
+
var digest58 = "8e8003c37dfee7eaee63c04ff15c6e4f77fc04624837e80fc193e071829c4ff8";
|
|
16790
17078
|
var css58 = `._drawer-content_18xgg_1 {
|
|
16791
17079
|
min-width: 500px;
|
|
16792
17080
|
padding: 0;
|
|
@@ -16918,7 +17206,7 @@ function EditBillingPanel({ open = false, onClose }) {
|
|
|
16918
17206
|
onError: (error) => {
|
|
16919
17207
|
import_apsara74.toastManager.add({
|
|
16920
17208
|
title: "Something went wrong",
|
|
16921
|
-
description: error.
|
|
17209
|
+
description: error.rawMessage,
|
|
16922
17210
|
type: "error"
|
|
16923
17211
|
});
|
|
16924
17212
|
console.error("Unable to update billing details:", error);
|
|
@@ -17407,8 +17695,8 @@ var OrganizationDetailsView = ({
|
|
|
17407
17695
|
// admin/views/organizations/details/security/index.tsx
|
|
17408
17696
|
var import_apsara78 = require("@raystack/apsara");
|
|
17409
17697
|
|
|
17410
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
17411
|
-
var digest59 = "
|
|
17698
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-e3zSple62BK3/sdk/admin/views/organizations/details/security/security.module.css.js
|
|
17699
|
+
var digest59 = "912483a4bcd79d47c1ebe41fc8ca7814ab8ed88887f491161241544d51ca9c0a";
|
|
17412
17700
|
var css59 = `._container_1wkae_1 {
|
|
17413
17701
|
width: 100%;
|
|
17414
17702
|
}
|
|
@@ -17483,7 +17771,7 @@ var BlockOrganizationDialog = () => {
|
|
|
17483
17771
|
onError: (error) => {
|
|
17484
17772
|
import_apsara76.toastManager.add({
|
|
17485
17773
|
title: "Something went wrong",
|
|
17486
|
-
description: error.
|
|
17774
|
+
description: error.rawMessage,
|
|
17487
17775
|
type: "error"
|
|
17488
17776
|
});
|
|
17489
17777
|
console.error("Failed to block organization:", error);
|
|
@@ -17508,7 +17796,7 @@ var BlockOrganizationDialog = () => {
|
|
|
17508
17796
|
onError: (error) => {
|
|
17509
17797
|
import_apsara76.toastManager.add({
|
|
17510
17798
|
title: "Something went wrong",
|
|
17511
|
-
description: error.
|
|
17799
|
+
description: error.rawMessage,
|
|
17512
17800
|
type: "error"
|
|
17513
17801
|
});
|
|
17514
17802
|
console.error("Failed to unblock organization:", error);
|
|
@@ -17616,8 +17904,8 @@ var BlockOrganizationSection = () => {
|
|
|
17616
17904
|
// admin/views/organizations/details/security/domains-list.tsx
|
|
17617
17905
|
var import_apsara77 = require("@raystack/apsara");
|
|
17618
17906
|
|
|
17619
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
17620
|
-
var digest60 = "
|
|
17907
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-syuYr6oga8z4/sdk/admin/views/organizations/details/security/security.module.css.js
|
|
17908
|
+
var digest60 = "db1ecfcf437983619617ab188f329b5e82985f294d2fc7af174a96317c6adbdb";
|
|
17621
17909
|
var css60 = `._container_1wkae_1 {
|
|
17622
17910
|
width: 100%;
|
|
17623
17911
|
}
|
|
@@ -17689,7 +17977,7 @@ var DeleteDomainDialog = ({
|
|
|
17689
17977
|
onError: (error) => {
|
|
17690
17978
|
import_apsara77.toastManager.add({
|
|
17691
17979
|
title: "Something went wrong",
|
|
17692
|
-
description: error.
|
|
17980
|
+
description: error.rawMessage,
|
|
17693
17981
|
type: "error"
|
|
17694
17982
|
});
|
|
17695
17983
|
console.error("Unable to delete domain:", error);
|
|
@@ -17855,8 +18143,8 @@ var OrganizationSecurity = () => {
|
|
|
17855
18143
|
// admin/views/organizations/details/members/index.tsx
|
|
17856
18144
|
var import_apsara82 = require("@raystack/apsara");
|
|
17857
18145
|
|
|
17858
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
17859
|
-
var digest61 = "
|
|
18146
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-mtu2vmYm6niP/sdk/admin/views/organizations/details/members/members.module.css.js
|
|
18147
|
+
var digest61 = "ce2d00aba0f781b8761487b45a010d79d32fca6a07afc35c482baea201a7b4ca";
|
|
17860
18148
|
var css61 = `._container_jkaqi_1 {
|
|
17861
18149
|
width: 100%;
|
|
17862
18150
|
}
|
|
@@ -17913,8 +18201,8 @@ var import_react48 = require("react");
|
|
|
17913
18201
|
// admin/views/organizations/details/members/columns.tsx
|
|
17914
18202
|
var import_apsara79 = require("@raystack/apsara");
|
|
17915
18203
|
|
|
17916
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
17917
|
-
var digest62 = "
|
|
18204
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-rj3G2GDRPynf/sdk/admin/views/organizations/details/members/members.module.css.js
|
|
18205
|
+
var digest62 = "a31714a0f626b16090f28ac505941f2abf56805732160485ef641a159c9f6312";
|
|
17918
18206
|
var css62 = `._container_jkaqi_1 {
|
|
17919
18207
|
width: 100%;
|
|
17920
18208
|
}
|
|
@@ -18248,7 +18536,6 @@ var import_frontier40 = require("@raystack/proton/frontier");
|
|
|
18248
18536
|
var import_protobuf24 = require("@bufbuild/protobuf");
|
|
18249
18537
|
var import_connect_query36 = require("@connectrpc/connect-query");
|
|
18250
18538
|
var import_apsara81 = require("@raystack/apsara");
|
|
18251
|
-
var import_connect5 = require("@connectrpc/connect");
|
|
18252
18539
|
var import_jsx_runtime96 = require("react/jsx-runtime");
|
|
18253
18540
|
var RemoveMember = ({
|
|
18254
18541
|
organizationId,
|
|
@@ -18276,9 +18563,18 @@ var RemoveMember = ({
|
|
|
18276
18563
|
}
|
|
18277
18564
|
import_apsara81.toastManager.add({ title: `${t.member({ case: "capital" })} removed successfully`, type: "success" });
|
|
18278
18565
|
} catch (error) {
|
|
18279
|
-
const message = error instanceof import_connect5.ConnectError ? error.message : "Unknown error";
|
|
18280
|
-
import_apsara81.toastManager.add({ title: `Failed to remove ${t.member({ case: "lower" })}: ${message}`, type: "error" });
|
|
18281
18566
|
console.error(error);
|
|
18567
|
+
handleConnectError(error, {
|
|
18568
|
+
PermissionDenied: () => import_apsara81.toastManager.add({
|
|
18569
|
+
title: "You don't have permission to perform this action",
|
|
18570
|
+
type: "error"
|
|
18571
|
+
}),
|
|
18572
|
+
Default: (err) => import_apsara81.toastManager.add({
|
|
18573
|
+
title: `Failed to remove ${t.member({ case: "lower" })}`,
|
|
18574
|
+
description: err.rawMessage,
|
|
18575
|
+
type: "error"
|
|
18576
|
+
})
|
|
18577
|
+
});
|
|
18282
18578
|
}
|
|
18283
18579
|
}
|
|
18284
18580
|
return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_apsara81.Dialog, { open: true, onOpenChange: onClose, children: /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(import_apsara81.Dialog.Content, { children: [
|
|
@@ -18582,8 +18878,8 @@ function OrganizationMembersView() {
|
|
|
18582
18878
|
// admin/views/organizations/details/projects/index.tsx
|
|
18583
18879
|
var import_apsara91 = require("@raystack/apsara");
|
|
18584
18880
|
|
|
18585
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
18586
|
-
var digest63 = "
|
|
18881
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-pN0j4j82eWMS/sdk/admin/views/organizations/details/projects/projects.module.css.js
|
|
18882
|
+
var digest63 = "0bff2f1c01c309328b0c95daf65a0f62df96db48d875b62cb8b263f128b15edf";
|
|
18587
18883
|
var css63 = `._container_1xzwm_1 {
|
|
18588
18884
|
width: 100%;
|
|
18589
18885
|
}
|
|
@@ -18644,8 +18940,8 @@ var import_react53 = require("react");
|
|
|
18644
18940
|
// admin/views/organizations/details/projects/columns.tsx
|
|
18645
18941
|
var import_apsara85 = require("@raystack/apsara");
|
|
18646
18942
|
|
|
18647
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
18648
|
-
var digest64 = "
|
|
18943
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-6ZI5RopSEnHP/sdk/admin/views/organizations/details/projects/projects.module.css.js
|
|
18944
|
+
var digest64 = "99edc7543080accf06a1b290486207853ed43496a8c5ee5384ec00e4a5f136cd";
|
|
18649
18945
|
var css64 = `._container_1xzwm_1 {
|
|
18650
18946
|
width: 100%;
|
|
18651
18947
|
}
|
|
@@ -18756,8 +19052,22 @@ function RenameProjectDialog({
|
|
|
18756
19052
|
});
|
|
18757
19053
|
}
|
|
18758
19054
|
} catch (error) {
|
|
18759
|
-
import_apsara83.toastManager.add({ title: `Failed to rename ${t.project({ case: "lower" })}`, type: "error" });
|
|
18760
19055
|
console.error(error);
|
|
19056
|
+
handleConnectError(error, {
|
|
19057
|
+
AlreadyExists: () => import_apsara83.toastManager.add({
|
|
19058
|
+
title: `${t.project({ case: "capital" })} with this name already exists`,
|
|
19059
|
+
type: "error"
|
|
19060
|
+
}),
|
|
19061
|
+
PermissionDenied: () => import_apsara83.toastManager.add({
|
|
19062
|
+
title: "You don't have permission to perform this action",
|
|
19063
|
+
type: "error"
|
|
19064
|
+
}),
|
|
19065
|
+
Default: (err) => import_apsara83.toastManager.add({
|
|
19066
|
+
title: `Failed to rename ${t.project({ case: "lower" })}`,
|
|
19067
|
+
description: err.rawMessage,
|
|
19068
|
+
type: "error"
|
|
19069
|
+
})
|
|
19070
|
+
});
|
|
18761
19071
|
}
|
|
18762
19072
|
};
|
|
18763
19073
|
return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_apsara83.Dialog, { open: true, onOpenChange: onClose, children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
|
|
@@ -18890,8 +19200,8 @@ function useAddProjectMembers({ projectId }) {
|
|
|
18890
19200
|
handleConnectError(error, {
|
|
18891
19201
|
AlreadyExists: () => import_apsara84.toastManager.add({ title: `${memberLabel} already exists in this project`, type: "error" }),
|
|
18892
19202
|
PermissionDenied: () => import_apsara84.toastManager.add({ title: "You don't have permission to perform this action", type: "error" }),
|
|
18893
|
-
InvalidArgument: (err) => import_apsara84.toastManager.add({ title: "Invalid input", description: err.
|
|
18894
|
-
Default: (err) => import_apsara84.toastManager.add({ title: "Something went wrong", description: err.
|
|
19203
|
+
InvalidArgument: (err) => import_apsara84.toastManager.add({ title: "Invalid input", description: err.rawMessage, type: "error" }),
|
|
19204
|
+
Default: (err) => import_apsara84.toastManager.add({ title: "Something went wrong", description: err.rawMessage, type: "error" })
|
|
18895
19205
|
});
|
|
18896
19206
|
}
|
|
18897
19207
|
},
|
|
@@ -19147,8 +19457,8 @@ var import_protobuf29 = require("@bufbuild/protobuf");
|
|
|
19147
19457
|
var import_connect_query42 = require("@connectrpc/connect-query");
|
|
19148
19458
|
var import_hooks4 = require("@raystack/apsara/hooks");
|
|
19149
19459
|
|
|
19150
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
19151
|
-
var digest65 = "
|
|
19460
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-qr8RSyMgNdaU/sdk/admin/views/organizations/details/projects/members/members.module.css.js
|
|
19461
|
+
var digest65 = "1a5800efe8af9ff0a7be58109d9b6e6e1757c9f0c8ddf9af1a56af4a5a527490";
|
|
19152
19462
|
var css65 = `._flex1_65nkt_1 {
|
|
19153
19463
|
flex: 1;
|
|
19154
19464
|
}
|
|
@@ -19236,8 +19546,8 @@ var css65 = `._flex1_65nkt_1 {
|
|
|
19236
19546
|
})();
|
|
19237
19547
|
var members_module_css_default3 = { "flex1": "_flex1_65nkt_1", "dialog-content": "_dialog-content_65nkt_5", "dialogContent": "_dialog-content_65nkt_5", "dialog-body": "_dialog-body_65nkt_10", "dialogBody": "_dialog-body_65nkt_10", "empty-state": "_empty-state_65nkt_14", "emptyState": "_empty-state_65nkt_14", "empty-state-subheading": "_empty-state-subheading_65nkt_18", "emptyStateSubheading": "_empty-state-subheading_65nkt_18", "table": "_table_65nkt_23", "table-wrapper": "_table-wrapper_65nkt_28", "tableWrapper": "_table-wrapper_65nkt_28", "table-header": "_table-header_65nkt_34", "tableHeader": "_table-header_65nkt_34", "table-search": "_table-search_65nkt_39", "tableSearch": "_table-search_65nkt_39", "table-content-wrapper": "_table-content-wrapper_65nkt_43", "tableContentWrapper": "_table-content-wrapper_65nkt_43", "table-action-column": "_table-action-column_65nkt_47", "tableActionColumn": "_table-action-column_65nkt_47", "table-action-dropdown": "_table-action-dropdown_65nkt_51", "tableActionDropdown": "_table-action-dropdown_65nkt_51", "action-dialog-content": "_action-dialog-content_65nkt_56", "actionDialogContent": "_action-dialog-content_65nkt_56", "add-member-dropdown": "_add-member-dropdown_65nkt_60", "addMemberDropdown": "_add-member-dropdown_65nkt_60", "add-member-dropdown-member": "_add-member-dropdown-member_65nkt_65", "addMemberDropdownMember": "_add-member-dropdown-member_65nkt_65", "add-member-dropdown-member-name": "_add-member-dropdown-member-name_65nkt_69", "addMemberDropdownMemberName": "_add-member-dropdown-member-name_65nkt_69" };
|
|
19238
19548
|
|
|
19239
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
19240
|
-
var digest66 = "
|
|
19549
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-rhngsPij3MBA/sdk/admin/views/organizations/details/projects/members/members.module.css.js
|
|
19550
|
+
var digest66 = "f01cbb488952bf196c50bc403e689a444efa8a89d7e7c1b776bcbbfdf43ff926";
|
|
19241
19551
|
var css66 = `._flex1_65nkt_1 {
|
|
19242
19552
|
flex: 1;
|
|
19243
19553
|
}
|
|
@@ -19447,8 +19757,8 @@ var getColumns14 = ({
|
|
|
19447
19757
|
];
|
|
19448
19758
|
};
|
|
19449
19759
|
|
|
19450
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
19451
|
-
var digest67 = "
|
|
19760
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-JdA1dK6k1NAO/sdk/admin/views/organizations/details/projects/members/members.module.css.js
|
|
19761
|
+
var digest67 = "d68c29e271de9eeb2fabed891039c0ef26e3cd0c415d92f642ed454ba5a88acc";
|
|
19452
19762
|
var css67 = `._flex1_65nkt_1 {
|
|
19453
19763
|
flex: 1;
|
|
19454
19764
|
}
|
|
@@ -19539,7 +19849,7 @@ var members_module_css_default5 = { "flex1": "_flex1_65nkt_1", "dialog-content":
|
|
|
19539
19849
|
// admin/views/organizations/details/projects/members/update-role.tsx
|
|
19540
19850
|
var import_frontier44 = require("@raystack/proton/frontier");
|
|
19541
19851
|
var import_protobuf27 = require("@bufbuild/protobuf");
|
|
19542
|
-
var
|
|
19852
|
+
var import_connect5 = require("@connectrpc/connect");
|
|
19543
19853
|
var import_connect_query40 = require("@connectrpc/connect-query");
|
|
19544
19854
|
var import_apsara87 = require("@raystack/apsara");
|
|
19545
19855
|
var import_jsx_runtime101 = require("react/jsx-runtime");
|
|
@@ -19589,7 +19899,7 @@ function UpdateRoleContent2({
|
|
|
19589
19899
|
} catch (error) {
|
|
19590
19900
|
import_apsara87.toastManager.add({
|
|
19591
19901
|
title: "Failed to assign role",
|
|
19592
|
-
description: error instanceof
|
|
19902
|
+
description: error instanceof import_connect5.ConnectError ? error.message : void 0,
|
|
19593
19903
|
type: "error"
|
|
19594
19904
|
});
|
|
19595
19905
|
console.error(error);
|
|
@@ -19639,8 +19949,8 @@ var import_frontier45 = require("@raystack/proton/frontier");
|
|
|
19639
19949
|
var import_protobuf28 = require("@bufbuild/protobuf");
|
|
19640
19950
|
var import_connect_query41 = require("@connectrpc/connect-query");
|
|
19641
19951
|
|
|
19642
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
19643
|
-
var digest68 = "
|
|
19952
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-o6kEVpOm80rR/sdk/admin/views/organizations/details/projects/members/members.module.css.js
|
|
19953
|
+
var digest68 = "974e016e3d10d3378c44756dd88ce0fbb0f06a1d85466b84cc0a169bef7e7d11";
|
|
19644
19954
|
var css68 = `._flex1_65nkt_1 {
|
|
19645
19955
|
flex: 1;
|
|
19646
19956
|
}
|
|
@@ -19759,8 +20069,18 @@ var RemoveMember2 = ({
|
|
|
19759
20069
|
}
|
|
19760
20070
|
import_apsara88.toastManager.add({ title: `${t.member({ case: "capital" })} removed successfully`, type: "success" });
|
|
19761
20071
|
} catch (error) {
|
|
19762
|
-
import_apsara88.toastManager.add({ title: `Failed to remove ${t.member({ case: "lower" })}`, type: "error" });
|
|
19763
20072
|
console.error(error);
|
|
20073
|
+
handleConnectError(error, {
|
|
20074
|
+
PermissionDenied: () => import_apsara88.toastManager.add({
|
|
20075
|
+
title: "You don't have permission to perform this action",
|
|
20076
|
+
type: "error"
|
|
20077
|
+
}),
|
|
20078
|
+
Default: (err) => import_apsara88.toastManager.add({
|
|
20079
|
+
title: `Failed to remove ${t.member({ case: "lower" })}`,
|
|
20080
|
+
description: err.rawMessage,
|
|
20081
|
+
type: "error"
|
|
20082
|
+
})
|
|
20083
|
+
});
|
|
19764
20084
|
} finally {
|
|
19765
20085
|
setIsSubmitting(false);
|
|
19766
20086
|
}
|
|
@@ -19828,8 +20148,8 @@ var RemoveMember2 = ({
|
|
|
19828
20148
|
// admin/views/organizations/details/projects/members/add-members-dropdown.tsx
|
|
19829
20149
|
var import_apsara89 = require("@raystack/apsara");
|
|
19830
20150
|
|
|
19831
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
19832
|
-
var digest69 = "
|
|
20151
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-BnE9PAdpf1xr/sdk/admin/views/organizations/details/projects/members/members.module.css.js
|
|
20152
|
+
var digest69 = "99b76ee5fb11e11358b71896c9c820d543e6a768cd84468487b7342caecbcd15";
|
|
19833
20153
|
var css69 = `._flex1_65nkt_1 {
|
|
19834
20154
|
flex: 1;
|
|
19835
20155
|
}
|
|
@@ -20353,8 +20673,8 @@ function OrganizationProjectsView() {
|
|
|
20353
20673
|
// admin/views/organizations/details/invoices/index.tsx
|
|
20354
20674
|
var import_apsara93 = require("@raystack/apsara");
|
|
20355
20675
|
|
|
20356
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
20357
|
-
var digest70 = "
|
|
20676
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-comZEa9wWKx5/sdk/admin/views/organizations/details/invoices/invoices.module.css.js
|
|
20677
|
+
var digest70 = "a477c9dd6bf1b7db23b172ca44b8612cbc0990b4bc6fbdf3fa8ca7479feb3908";
|
|
20358
20678
|
var css70 = `._empty-state_ct7gw_1 {
|
|
20359
20679
|
height: 100%;
|
|
20360
20680
|
}
|
|
@@ -20400,8 +20720,8 @@ var invoices_module_css_default4 = { "empty-state": "_empty-state_ct7gw_1", "emp
|
|
|
20400
20720
|
// admin/views/organizations/details/invoices/index.tsx
|
|
20401
20721
|
var import_react54 = require("react");
|
|
20402
20722
|
|
|
20403
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
20404
|
-
var digest71 = "
|
|
20723
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-Mm1OuqBEFXVD/sdk/admin/views/organizations/details/invoices/invoices.module.css.js
|
|
20724
|
+
var digest71 = "f5535a5f88fe274fa728c79826ff603371e9832a1c3605f3ea54a2c943a509e8";
|
|
20405
20725
|
var css71 = `._empty-state_ct7gw_1 {
|
|
20406
20726
|
height: 100%;
|
|
20407
20727
|
}
|
|
@@ -20681,8 +21001,8 @@ function OrganizationInvoicesView() {
|
|
|
20681
21001
|
// admin/views/organizations/details/tokens/index.tsx
|
|
20682
21002
|
var import_apsara95 = require("@raystack/apsara");
|
|
20683
21003
|
|
|
20684
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
20685
|
-
var digest72 = "
|
|
21004
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-125ByDLURDtS/sdk/admin/views/organizations/details/tokens/tokens.module.css.js
|
|
21005
|
+
var digest72 = "da35b5b18e8b0973e946af890ba26c981645dbbc613a54dba3b208018e740944";
|
|
20686
21006
|
var css72 = `._empty-state_1mf09_1 {
|
|
20687
21007
|
height: 100%;
|
|
20688
21008
|
}
|
|
@@ -20742,8 +21062,8 @@ var import_react55 = require("react");
|
|
|
20742
21062
|
var import_frontier49 = require("@raystack/proton/frontier");
|
|
20743
21063
|
var import_connect_query45 = require("@connectrpc/connect-query");
|
|
20744
21064
|
|
|
20745
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
20746
|
-
var digest73 = "
|
|
21065
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-FJSQgazvNFn8/sdk/admin/views/organizations/details/tokens/tokens.module.css.js
|
|
21066
|
+
var digest73 = "89119335edbbcd9df6469a7c3fce904be0fcd6515d1d5216fc786778c4dd68b8";
|
|
20747
21067
|
var css73 = `._empty-state_1mf09_1 {
|
|
20748
21068
|
height: 100%;
|
|
20749
21069
|
}
|
|
@@ -21020,8 +21340,8 @@ function OrganizationTokensView() {
|
|
|
21020
21340
|
// admin/views/organizations/details/apis/index.tsx
|
|
21021
21341
|
var import_apsara98 = require("@raystack/apsara");
|
|
21022
21342
|
|
|
21023
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
21024
|
-
var digest74 = "
|
|
21343
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-a2z4T7I9v3wO/sdk/admin/views/organizations/details/apis/apis.module.css.js
|
|
21344
|
+
var digest74 = "a5c0304af9f77f2d22deb925c152a3cbf3427f63c84a25a717f55dca00466ebc";
|
|
21025
21345
|
var css74 = `._empty-state_r9k2f_1 {
|
|
21026
21346
|
height: 100%;
|
|
21027
21347
|
}
|
|
@@ -21106,8 +21426,8 @@ var import_react57 = require("react");
|
|
|
21106
21426
|
var import_apsara96 = require("@raystack/apsara");
|
|
21107
21427
|
var import_dayjs17 = __toESM(require("dayjs"));
|
|
21108
21428
|
|
|
21109
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
21110
|
-
var digest75 = "
|
|
21429
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-jmHvk1YBfSgq/sdk/admin/views/organizations/details/apis/apis.module.css.js
|
|
21430
|
+
var digest75 = "6947ccc70562b3b833d71e02ff58fbb052a0679bffe1f162ba5b932440047e22";
|
|
21111
21431
|
var css75 = `._empty-state_r9k2f_1 {
|
|
21112
21432
|
height: 100%;
|
|
21113
21433
|
}
|
|
@@ -21231,8 +21551,8 @@ function getColumns17(options) {
|
|
|
21231
21551
|
// admin/views/organizations/details/apis/details-dialog.tsx
|
|
21232
21552
|
var import_apsara97 = require("@raystack/apsara");
|
|
21233
21553
|
|
|
21234
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
21235
|
-
var digest76 = "
|
|
21554
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-aVapar573YIo/sdk/admin/views/organizations/details/apis/apis.module.css.js
|
|
21555
|
+
var digest76 = "b21ef196c7161b2259293a577834de37d4588a3edf6a82750edee2dd45ae83ca";
|
|
21236
21556
|
var css76 = `._empty-state_r9k2f_1 {
|
|
21237
21557
|
height: 100%;
|
|
21238
21558
|
}
|
|
@@ -21623,8 +21943,8 @@ var getInitials = function(name = "") {
|
|
|
21623
21943
|
return initials;
|
|
21624
21944
|
};
|
|
21625
21945
|
|
|
21626
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
21627
|
-
var digest77 = "
|
|
21946
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-JaLK6McUlO2A/sdk/admin/views/organizations/details/pat/pat.module.css.js
|
|
21947
|
+
var digest77 = "9ffbead2e8d3cf5ce443e8146232fd0479f34d053c0ea8fbd8bdaaf0075a1b0d";
|
|
21628
21948
|
var css77 = `._empty-state_1xap9_1 {
|
|
21629
21949
|
height: 100%;
|
|
21630
21950
|
}
|
|
@@ -21798,8 +22118,8 @@ var import_apsara100 = require("@raystack/apsara");
|
|
|
21798
22118
|
var import_connect_query48 = require("@connectrpc/connect-query");
|
|
21799
22119
|
var import_frontier52 = require("@raystack/proton/frontier");
|
|
21800
22120
|
|
|
21801
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
21802
|
-
var digest78 = "
|
|
22121
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-HIcAnlVCL2XH/sdk/admin/views/organizations/details/pat/components/pat-details-dialog.module.css.js
|
|
22122
|
+
var digest78 = "0ced773c4edc3629abe91ba0709a4ba8765e112673a7eda48ef514cbfd7fde65";
|
|
21803
22123
|
var css78 = `._details-dialog_1dwlo_1 {
|
|
21804
22124
|
width: 100%;
|
|
21805
22125
|
max-width: 400px;
|
|
@@ -21990,8 +22310,8 @@ function PatDetailsDialog({
|
|
|
21990
22310
|
] }) });
|
|
21991
22311
|
}
|
|
21992
22312
|
|
|
21993
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
21994
|
-
var digest79 = "
|
|
22313
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-ALlGFIf6gpu8/sdk/admin/views/organizations/details/pat/pat.module.css.js
|
|
22314
|
+
var digest79 = "6904c40353aad61201922b65952a14968fd639d2e9c3ed7899860b6d7624e95d";
|
|
21995
22315
|
var css79 = `._empty-state_1xap9_1 {
|
|
21996
22316
|
height: 100%;
|
|
21997
22317
|
}
|