@raystack/frontier 0.107.0 → 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 +427 -186
- package/admin/dist/index.mjs +516 -275
- package/client/dist/index.js +170 -145
- package/client/dist/index.mjs +170 -145
- package/package.json +1 -1
package/admin/dist/index.mjs
CHANGED
|
@@ -196,8 +196,8 @@ function convertBillingAddressToString(address) {
|
|
|
196
196
|
// admin/views/roles/columns.tsx
|
|
197
197
|
import { Flex } from "@raystack/apsara";
|
|
198
198
|
|
|
199
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
200
|
-
var digest = "
|
|
199
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-DjHT59T4L5tK/sdk/admin/views/roles/roles.module.css.js
|
|
200
|
+
var digest = "984350f989ef8b70cdcc77777714ba936170c14edaacec263ceec744c985b184";
|
|
201
201
|
var css = `._tableRoot_1d549_1 {
|
|
202
202
|
width: 100%;
|
|
203
203
|
}
|
|
@@ -603,6 +603,24 @@ var MagnifyingGlassIcon = /* @__PURE__ */ forwardRef(function(_ref, forwardedRef
|
|
|
603
603
|
clipRule: "evenodd"
|
|
604
604
|
}));
|
|
605
605
|
});
|
|
606
|
+
var _excluded$3n = ["color"];
|
|
607
|
+
var Pencil1Icon = /* @__PURE__ */ forwardRef(function(_ref, forwardedRef) {
|
|
608
|
+
var _ref$color = _ref.color, color = _ref$color === void 0 ? "currentColor" : _ref$color, props = _objectWithoutPropertiesLoose(_ref, _excluded$3n);
|
|
609
|
+
return createElement("svg", Object.assign({
|
|
610
|
+
width: "15",
|
|
611
|
+
height: "15",
|
|
612
|
+
viewBox: "0 0 15 15",
|
|
613
|
+
fill: "none",
|
|
614
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
615
|
+
}, props, {
|
|
616
|
+
ref: forwardedRef
|
|
617
|
+
}), createElement("path", {
|
|
618
|
+
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",
|
|
619
|
+
fill: color,
|
|
620
|
+
fillRule: "evenodd",
|
|
621
|
+
clipRule: "evenodd"
|
|
622
|
+
}));
|
|
623
|
+
});
|
|
606
624
|
var _excluded$3x = ["color"];
|
|
607
625
|
var PlusIcon = /* @__PURE__ */ forwardRef(function(_ref, forwardedRef) {
|
|
608
626
|
var _ref$color = _ref.color, color = _ref$color === void 0 ? "currentColor" : _ref$color, props = _objectWithoutPropertiesLoose(_ref, _excluded$3x);
|
|
@@ -697,8 +715,8 @@ var UploadIcon = /* @__PURE__ */ forwardRef(function(_ref, forwardedRef) {
|
|
|
697
715
|
// admin/components/PageHeader.tsx
|
|
698
716
|
import { Flex as Flex2, Text } from "@raystack/apsara";
|
|
699
717
|
|
|
700
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
701
|
-
var digest2 = "
|
|
718
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-JjsRuOyb4cwF/sdk/admin/components/page-header.module.css.js
|
|
719
|
+
var digest2 = "55be34dd50b12bf3725b6a98030d40b2e0aeebc07c5664d7f5df00622dde3756";
|
|
702
720
|
var css2 = `._breadcrumb_1kaun_1 {
|
|
703
721
|
list-style: none;
|
|
704
722
|
padding: 0;
|
|
@@ -820,8 +838,8 @@ function PageTitle({ title, appName }) {
|
|
|
820
838
|
return null;
|
|
821
839
|
}
|
|
822
840
|
|
|
823
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
824
|
-
var digest3 = "
|
|
841
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-4D1HHecAl5xW/sdk/admin/views/roles/roles.module.css.js
|
|
842
|
+
var digest3 = "8705bfc0a84c515eb680820e05d1a470b1f887ee7eae7db075cc44f864e4e62e";
|
|
825
843
|
var css3 = `._tableRoot_1d549_1 {
|
|
826
844
|
width: 100%;
|
|
827
845
|
}
|
|
@@ -1017,8 +1035,8 @@ import { useState as useState3 } from "react";
|
|
|
1017
1035
|
// admin/views/invoices/navbar.tsx
|
|
1018
1036
|
import { DataTable as DataTable2, Flex as Flex6, IconButton, Text as Text4 } from "@raystack/apsara";
|
|
1019
1037
|
|
|
1020
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
1021
|
-
var digest4 = "
|
|
1038
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-Z9U7zO0YjQly/sdk/admin/views/invoices/invoices.module.css.js
|
|
1039
|
+
var digest4 = "fc2f7212b5a26ea443bdb80ad7f7c934a8f325650f93592bc516e52b0b1ae8d7";
|
|
1022
1040
|
var css4 = `._navbar_1o5oc_1 {
|
|
1023
1041
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
1024
1042
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -1136,8 +1154,8 @@ var InvoicesNavabar = ({ searchQuery }) => {
|
|
|
1136
1154
|
] });
|
|
1137
1155
|
};
|
|
1138
1156
|
|
|
1139
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
1140
|
-
var digest5 = "
|
|
1157
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-n8i2tMtNSmp3/sdk/admin/views/invoices/invoices.module.css.js
|
|
1158
|
+
var digest5 = "4afb4efaf6fc23c661f28c28d435213233d6ac75f0f8c8b69ae395bf167f77f5";
|
|
1141
1159
|
var css5 = `._navbar_1o5oc_1 {
|
|
1142
1160
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
1143
1161
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -1211,8 +1229,8 @@ function isNullTimestamp(timestamp) {
|
|
|
1211
1229
|
return Number(timestamp.seconds) <= 0;
|
|
1212
1230
|
}
|
|
1213
1231
|
|
|
1214
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
1215
|
-
var digest6 = "
|
|
1232
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-ZWK0V1g26Uwu/sdk/admin/views/invoices/invoices.module.css.js
|
|
1233
|
+
var digest6 = "3e7c903de7d43caf13ecf13dac55d9c043bf0d4c783c92e43e4d677a943381e3";
|
|
1216
1234
|
var css6 = `._navbar_1o5oc_1 {
|
|
1217
1235
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
1218
1236
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -1669,8 +1687,8 @@ import { FrontierServiceQueries as FrontierServiceQueries2 } from "@raystack/pro
|
|
|
1669
1687
|
// admin/views/products/columns.tsx
|
|
1670
1688
|
import { Flex as Flex8, Image, Amount as Amount2 } from "@raystack/apsara";
|
|
1671
1689
|
|
|
1672
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
1673
|
-
var digest7 = "
|
|
1690
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-4ElmdjE4pHVr/sdk/admin/views/products/products.module.css.js
|
|
1691
|
+
var digest7 = "604876f1ec28ca777b13ae7ed220d4b98ddccac6d5a9618eaefaff13c787e617";
|
|
1674
1692
|
var css7 = `._tableRoot_3ccjp_1 {
|
|
1675
1693
|
width: 100%;
|
|
1676
1694
|
}
|
|
@@ -1839,8 +1857,8 @@ var getColumns3 = (onNavigateToPrices) => {
|
|
|
1839
1857
|
];
|
|
1840
1858
|
};
|
|
1841
1859
|
|
|
1842
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
1843
|
-
var digest8 = "
|
|
1860
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-eS8b7dOirYFC/sdk/admin/views/products/products.module.css.js
|
|
1861
|
+
var digest8 = "5520e5cda12870e529ed9b551dcebdf16d8befa2bd759a375fc473568d70baa0";
|
|
1844
1862
|
var css8 = `._tableRoot_3ccjp_1 {
|
|
1845
1863
|
width: 100%;
|
|
1846
1864
|
}
|
|
@@ -1897,8 +1915,8 @@ var products_module_css_default2 = { "tableRoot": "_tableRoot_3ccjp_1", "tableWr
|
|
|
1897
1915
|
// admin/views/products/details.tsx
|
|
1898
1916
|
import { Flex as Flex9, Text as Text6, Grid as Grid2, Drawer as Drawer2 } from "@raystack/apsara";
|
|
1899
1917
|
|
|
1900
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
1901
|
-
var digest9 = "
|
|
1918
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-VQGoRykb33gM/sdk/admin/views/products/products.module.css.js
|
|
1919
|
+
var digest9 = "17265734dcbe85fff22d5baf3c5241fab49b4ea2e2f9ae41152f37c48bbe26b3";
|
|
1902
1920
|
var css9 = `._tableRoot_3ccjp_1 {
|
|
1903
1921
|
width: 100%;
|
|
1904
1922
|
}
|
|
@@ -2095,8 +2113,8 @@ import { FrontierServiceQueries as FrontierServiceQueries3 } from "@raystack/pro
|
|
|
2095
2113
|
// admin/views/products/prices/columns.tsx
|
|
2096
2114
|
import { Amount as Amount3 } from "@raystack/apsara";
|
|
2097
2115
|
|
|
2098
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
2099
|
-
var digest10 = "
|
|
2116
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-g77fCrPJAWtQ/sdk/admin/views/products/prices/prices.module.css.js
|
|
2117
|
+
var digest10 = "9cc98b38325014e2355be0db25c0c911c768a4915dcd91290295cd03a6a618ee";
|
|
2100
2118
|
var css10 = `._first-column_6e56r_1 {
|
|
2101
2119
|
padding-left: var(--rs-space-7);
|
|
2102
2120
|
}
|
|
@@ -2198,8 +2216,8 @@ var getColumns4 = (prices) => {
|
|
|
2198
2216
|
];
|
|
2199
2217
|
};
|
|
2200
2218
|
|
|
2201
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
2202
|
-
var digest11 = "
|
|
2219
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-iWyLMEPcb87i/sdk/admin/views/products/products.module.css.js
|
|
2220
|
+
var digest11 = "cdf2ccd32b6c08b397737c469f856045533c0d42b5f8f57cb07d688f15fb1f43";
|
|
2203
2221
|
var css11 = `._tableRoot_3ccjp_1 {
|
|
2204
2222
|
width: 100%;
|
|
2205
2223
|
}
|
|
@@ -2361,8 +2379,8 @@ function CpuChipIcon(props) {
|
|
|
2361
2379
|
);
|
|
2362
2380
|
}
|
|
2363
2381
|
|
|
2364
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
2365
|
-
var digest12 = "
|
|
2382
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-Jx389qdhIxyj/sdk/admin/views/audit-logs/audit-logs.module.css.js
|
|
2383
|
+
var digest12 = "aa46f48d6482e6ecab9e57721fad168ee8e4637b4f5d864c8e67e2cc1e4cb7a4";
|
|
2366
2384
|
var css12 = `._navbar_1nr4u_1 {
|
|
2367
2385
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
2368
2386
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -2581,8 +2599,8 @@ var Navbar = ({ searchQuery, onExportCsv }) => {
|
|
|
2581
2599
|
};
|
|
2582
2600
|
var navbar_default = Navbar;
|
|
2583
2601
|
|
|
2584
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
2585
|
-
var digest13 = "
|
|
2602
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-1Cdj2fPgh68v/sdk/admin/views/audit-logs/audit-logs.module.css.js
|
|
2603
|
+
var digest13 = "52d70ba71d38e1846d96b9756e866d5060db80ece3d35d9d7cb226b3ec5d1f2d";
|
|
2586
2604
|
var css13 = `._navbar_1nr4u_1 {
|
|
2587
2605
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
2588
2606
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -2693,8 +2711,8 @@ var audit_logs_module_css_default2 = { "navbar": "_navbar_1nr4u_1", "table": "_t
|
|
|
2693
2711
|
import { Badge, Flex as Flex14, Text as Text9 } from "@raystack/apsara";
|
|
2694
2712
|
import dayjs4 from "dayjs";
|
|
2695
2713
|
|
|
2696
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
2697
|
-
var digest14 = "
|
|
2714
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-55e7X8n3qrFE/sdk/admin/views/audit-logs/audit-logs.module.css.js
|
|
2715
|
+
var digest14 = "2b1bb560f3e91acb943f6bd64ae982f18518e8aa6b5d831448e300d69781dbc8";
|
|
2698
2716
|
var css14 = `._navbar_1nr4u_1 {
|
|
2699
2717
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
2700
2718
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -2960,8 +2978,8 @@ import {
|
|
|
2960
2978
|
import { Flex as Flex16, IconButton as IconButton4, SidePanel } from "@raystack/apsara";
|
|
2961
2979
|
import { List as List3 } from "@raystack/apsara";
|
|
2962
2980
|
|
|
2963
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
2964
|
-
var digest15 = "
|
|
2981
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-MLqD4VdXsreb/sdk/admin/views/audit-logs/audit-logs.module.css.js
|
|
2982
|
+
var digest15 = "206c157c37f5f2a20124c774bb9085f6b5e681e7f7a82daf299b7a824dd3f624";
|
|
2965
2983
|
var css15 = `._navbar_1nr4u_1 {
|
|
2966
2984
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
2967
2985
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -3099,8 +3117,8 @@ function MapIcon(props) {
|
|
|
3099
3117
|
// admin/views/audit-logs/sidepanel-log-dialog.tsx
|
|
3100
3118
|
import { Dialog, IconButton as IconButton3, CodeBlock } from "@raystack/apsara";
|
|
3101
3119
|
|
|
3102
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
3103
|
-
var digest16 = "
|
|
3120
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-ggCeFoWzrg7t/sdk/admin/views/audit-logs/audit-logs.module.css.js
|
|
3121
|
+
var digest16 = "7012c431f986acfb9a6ace42e8469a7bf1d5b140df38f2005762abdd11c9c332";
|
|
3104
3122
|
var css16 = `._navbar_1nr4u_1 {
|
|
3105
3123
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
3106
3124
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -3305,8 +3323,8 @@ function SidePanelLogDialog(props) {
|
|
|
3305
3323
|
// admin/views/audit-logs/sidepanel-list-link.tsx
|
|
3306
3324
|
import { Button, List } from "@raystack/apsara";
|
|
3307
3325
|
|
|
3308
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
3309
|
-
var digest17 = "
|
|
3326
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-ctOqxotQgZS0/sdk/admin/views/audit-logs/audit-logs.module.css.js
|
|
3327
|
+
var digest17 = "ead8725a0ca3a704f6d3af9e6d1bb935fa21b71f85a802a850fceb065d0adb2b";
|
|
3310
3328
|
var css17 = `._navbar_1nr4u_1 {
|
|
3311
3329
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
3312
3330
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -3448,8 +3466,8 @@ function SidepanelListItemLink({
|
|
|
3448
3466
|
// admin/views/audit-logs/sidepanel-list-id.tsx
|
|
3449
3467
|
import { CopyButton, Flex as Flex15, List as List2, Text as Text10, Tooltip } from "@raystack/apsara";
|
|
3450
3468
|
|
|
3451
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
3452
|
-
var digest18 = "
|
|
3469
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-ASgm0M4mgUcb/sdk/admin/views/audit-logs/audit-logs.module.css.js
|
|
3470
|
+
var digest18 = "0df5086bcaa153115088985cbee63f72a187a02c2f5bc25f427dfae747bf66af";
|
|
3453
3471
|
var css18 = `._navbar_1nr4u_1 {
|
|
3454
3472
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
3455
3473
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -3977,8 +3995,8 @@ import { DataTable as DataTable8, EmptyState as EmptyState6, Flex as Flex18 } fr
|
|
|
3977
3995
|
// admin/views/admins/columns.tsx
|
|
3978
3996
|
import { Button as Button2 } from "@raystack/apsara";
|
|
3979
3997
|
|
|
3980
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
3981
|
-
var digest19 = "
|
|
3998
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-EbuuLrEITTFi/sdk/admin/views/admins/admins.module.css.js
|
|
3999
|
+
var digest19 = "fd2844aacdb21019f308bb30b1f6cf8b23603ac0a75fb0eb15b99c188d6cf4f8";
|
|
3982
4000
|
var css19 = `._tableRoot_1tmha_1 {
|
|
3983
4001
|
width: 100%;
|
|
3984
4002
|
}
|
|
@@ -4063,8 +4081,8 @@ var getColumns6 = ({ onNavigateToOrg, t } = {}) => {
|
|
|
4063
4081
|
];
|
|
4064
4082
|
};
|
|
4065
4083
|
|
|
4066
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
4067
|
-
var digest20 = "
|
|
4084
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-Lh4ElncC0Fre/sdk/admin/views/admins/admins.module.css.js
|
|
4085
|
+
var digest20 = "a842824a96e2a3d7d45ed72102c0488c02ef745e7d140ccdd459ae078f143f7c";
|
|
4068
4086
|
var css20 = `._tableRoot_1tmha_1 {
|
|
4069
4087
|
width: 100%;
|
|
4070
4088
|
}
|
|
@@ -4175,8 +4193,8 @@ import { EmptyState as EmptyState7, Flex as Flex20, DataTable as DataTable9, Dra
|
|
|
4175
4193
|
// admin/views/plans/columns.tsx
|
|
4176
4194
|
import { Text as Text11 } from "@raystack/apsara";
|
|
4177
4195
|
|
|
4178
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
4179
|
-
var digest21 = "
|
|
4196
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-o3z8KJ018J3u/sdk/admin/views/plans/plans.module.css.js
|
|
4197
|
+
var digest21 = "7812aa6ea7ddd094a130e60cfa6fcfcb5309079c172ce3fe3d5acada091a6770";
|
|
4180
4198
|
var css21 = `._tableRoot_1akba_1 {
|
|
4181
4199
|
width: 100%;
|
|
4182
4200
|
}
|
|
@@ -4274,8 +4292,8 @@ var getColumns7 = ({ onSelectPlan } = {}) => {
|
|
|
4274
4292
|
];
|
|
4275
4293
|
};
|
|
4276
4294
|
|
|
4277
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
4278
|
-
var digest22 = "
|
|
4295
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-czXywBioYHUq/sdk/admin/views/plans/plans.module.css.js
|
|
4296
|
+
var digest22 = "75787cbb43a5c832e02d719ea92552b03e1b29ffc16f3ecd82e27ab669062115";
|
|
4279
4297
|
var css22 = `._tableRoot_1akba_1 {
|
|
4280
4298
|
width: 100%;
|
|
4281
4299
|
}
|
|
@@ -4439,8 +4457,8 @@ import {
|
|
|
4439
4457
|
Text as Text14
|
|
4440
4458
|
} from "@raystack/apsara";
|
|
4441
4459
|
|
|
4442
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
4443
|
-
var digest23 = "
|
|
4460
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-AAxEj5XEBPWB/sdk/admin/views/webhooks/webhooks/webhooks.module.css.js
|
|
4461
|
+
var digest23 = "9ac0c1442840420b90442fa4dc9e3d03d991036637986499e9bfdeabfddd1a3b";
|
|
4444
4462
|
var css23 = `._tableRoot_1j1ra_1 {
|
|
4445
4463
|
width: 100%;
|
|
4446
4464
|
}
|
|
@@ -4701,8 +4719,8 @@ var getColumns8 = ({ openEditPage, deleteWebhookMutation, enableDelete }) => {
|
|
|
4701
4719
|
];
|
|
4702
4720
|
};
|
|
4703
4721
|
|
|
4704
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
4705
|
-
var digest24 = "
|
|
4722
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-ucXX88zsm0WS/sdk/admin/views/webhooks/webhooks/webhooks.module.css.js
|
|
4723
|
+
var digest24 = "91935420e36bcd8ee0284b32d333fe1e304df0741728ff44b6c424c85f2065d5";
|
|
4706
4724
|
var css24 = `._tableRoot_1j1ra_1 {
|
|
4707
4725
|
width: 100%;
|
|
4708
4726
|
}
|
|
@@ -10293,8 +10311,8 @@ import { EmptyState as EmptyState9, DataTable as DataTable11, Flex as Flex28 } f
|
|
|
10293
10311
|
// admin/views/preferences/columns.tsx
|
|
10294
10312
|
import { Text as Text16 } from "@raystack/apsara";
|
|
10295
10313
|
|
|
10296
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
10297
|
-
var digest25 = "
|
|
10314
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-THvPjhPUfLLP/sdk/admin/views/preferences/preferences.module.css.js
|
|
10315
|
+
var digest25 = "5dab346dd56169a090ab3328e1095148ba76aed8e9b9adcf7c9d4f846599e6cc";
|
|
10298
10316
|
var css25 = `._tableRoot_hre5m_1 {
|
|
10299
10317
|
width: 100%;
|
|
10300
10318
|
}
|
|
@@ -10384,8 +10402,8 @@ var getColumns9 = ({
|
|
|
10384
10402
|
];
|
|
10385
10403
|
};
|
|
10386
10404
|
|
|
10387
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
10388
|
-
var digest26 = "
|
|
10405
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-w6WimlIXEJML/sdk/admin/views/preferences/preferences.module.css.js
|
|
10406
|
+
var digest26 = "e4cd4cdf587db1c642c0b0c9cd10032756ffb89f1089ddbf87fe9fec5f7f752c";
|
|
10389
10407
|
var css26 = `._tableRoot_hre5m_1 {
|
|
10390
10408
|
width: 100%;
|
|
10391
10409
|
}
|
|
@@ -10767,8 +10785,8 @@ import {
|
|
|
10767
10785
|
Spinner as Spinner2
|
|
10768
10786
|
} from "@raystack/apsara";
|
|
10769
10787
|
|
|
10770
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
10771
|
-
var digest27 = "
|
|
10788
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-KwfUYCrasPYW/sdk/admin/views/users/list/list.module.css.js
|
|
10789
|
+
var digest27 = "9d8e23460701e99a64e6271260daa90381b2de1db38b7c43587364b19b16a4da";
|
|
10772
10790
|
var css27 = `._navbar_vt0az_1 {
|
|
10773
10791
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
10774
10792
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -10872,8 +10890,8 @@ import {
|
|
|
10872
10890
|
import { Controller as Controller2, useForm as useForm3 } from "react-hook-form";
|
|
10873
10891
|
import { zodResolver as zodResolver3 } from "@hookform/resolvers/zod";
|
|
10874
10892
|
|
|
10875
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
10876
|
-
var digest28 = "
|
|
10893
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-x10c6mqQP4Tn/sdk/admin/views/users/list/invite-users.module.css.js
|
|
10894
|
+
var digest28 = "f0e15cfe09a2f3df34fd47b22715489e3022ca9d396b957ffe2ae8c2f0b043e0";
|
|
10877
10895
|
var css28 = `._invite-users-dialog-body_11ujx_1 {
|
|
10878
10896
|
display: flex;
|
|
10879
10897
|
flex-direction: column;
|
|
@@ -11107,6 +11125,7 @@ var InviteUser = () => {
|
|
|
11107
11125
|
Select2,
|
|
11108
11126
|
{
|
|
11109
11127
|
...rest,
|
|
11128
|
+
autocomplete: true,
|
|
11110
11129
|
onValueChange: (value) => field.onChange(value),
|
|
11111
11130
|
children: [
|
|
11112
11131
|
/* @__PURE__ */ jsx51(Select2.Trigger, { ref, children: /* @__PURE__ */ jsx51(
|
|
@@ -11118,11 +11137,12 @@ var InviteUser = () => {
|
|
|
11118
11137
|
/* @__PURE__ */ jsx51(
|
|
11119
11138
|
Select2.Content,
|
|
11120
11139
|
{
|
|
11140
|
+
searchPlaceholder: `Search ${t.organization({ case: "lower" })}`,
|
|
11121
11141
|
style: {
|
|
11122
11142
|
maxHeight: 280,
|
|
11123
11143
|
overflowY: "auto"
|
|
11124
11144
|
},
|
|
11125
|
-
children: organizations?.map((org) => /* @__PURE__ */ jsx51(Select2.Item, { value: org.id ?? "", children: org.name }, org.id))
|
|
11145
|
+
children: organizations?.map((org) => /* @__PURE__ */ jsx51(Select2.Item, { value: org.id ?? "", children: org.title || org.name }, org.id))
|
|
11126
11146
|
}
|
|
11127
11147
|
)
|
|
11128
11148
|
]
|
|
@@ -11224,8 +11244,8 @@ var Navbar2 = ({ searchQuery, onExportUsers }) => {
|
|
|
11224
11244
|
};
|
|
11225
11245
|
var navbar_default2 = Navbar2;
|
|
11226
11246
|
|
|
11227
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
11228
|
-
var digest29 = "
|
|
11247
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-ubv6I06sB5yG/sdk/admin/views/users/list/list.module.css.js
|
|
11248
|
+
var digest29 = "fb554f1f001b785f4d810c755dd24e5d78d339c9f124c2a224d57e66e0f5e3be";
|
|
11229
11249
|
var css29 = `._navbar_vt0az_1 {
|
|
11230
11250
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
11231
11251
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -11296,8 +11316,8 @@ import {
|
|
|
11296
11316
|
} from "@raystack/apsara";
|
|
11297
11317
|
import dayjs8 from "dayjs";
|
|
11298
11318
|
|
|
11299
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
11300
|
-
var digest30 = "
|
|
11319
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-5VwvuZ2kPJ2a/sdk/admin/views/users/list/list.module.css.js
|
|
11320
|
+
var digest30 = "c679d7f044c94c243fa06e1afbb314afeebd4b60384d68d8165e3934f0705032";
|
|
11301
11321
|
var css30 = `._navbar_vt0az_1 {
|
|
11302
11322
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
11303
11323
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -11590,8 +11610,8 @@ import { Avatar as Avatar4, getAvatarColor as getAvatarColor3, SidePanel as Side
|
|
|
11590
11610
|
// admin/views/users/details/layout/side-panel-details.tsx
|
|
11591
11611
|
import { Flex as Flex35, List as List4, Text as Text21, CopyButton as CopyButton2, Tooltip as Tooltip2 } from "@raystack/apsara";
|
|
11592
11612
|
|
|
11593
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
11594
|
-
var digest31 = "
|
|
11613
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-Zt8RFr0T3izy/sdk/admin/views/users/details/layout/side-panel.module.css.js
|
|
11614
|
+
var digest31 = "91b804c507b5be8002e0b0c9703482e2be1ae68e24518bf1af067fab6469f941";
|
|
11595
11615
|
var css31 = `._side-panel_1us3q_1 {
|
|
11596
11616
|
transform: all 0.3s ease-in-out;
|
|
11597
11617
|
padding-bottom: var(--rs-space-15);
|
|
@@ -11706,8 +11726,8 @@ var SidePanelDetails2 = () => {
|
|
|
11706
11726
|
import { Flex as Flex38, List as List5, Text as Text25, Avatar as Avatar3 } from "@raystack/apsara";
|
|
11707
11727
|
import dayjs9 from "dayjs";
|
|
11708
11728
|
|
|
11709
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
11710
|
-
var digest32 = "
|
|
11729
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-B0gidrIWbays/sdk/admin/views/users/details/layout/side-panel.module.css.js
|
|
11730
|
+
var digest32 = "f8e2322c5dd6ca5beb3e0c7cd8ff6517653470196774a355939525adc1cb5c61";
|
|
11711
11731
|
var css32 = `._side-panel_1us3q_1 {
|
|
11712
11732
|
transform: all 0.3s ease-in-out;
|
|
11713
11733
|
padding-bottom: var(--rs-space-15);
|
|
@@ -11770,8 +11790,8 @@ var side_panel_module_css_default2 = { "side-panel": "_side-panel_1us3q_1", "sid
|
|
|
11770
11790
|
// admin/views/users/details/layout/membership-dropdown.tsx
|
|
11771
11791
|
import { Text as Text24, Menu as Menu2, Skeleton as Skeleton2 } from "@raystack/apsara";
|
|
11772
11792
|
|
|
11773
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
11774
|
-
var digest33 = "
|
|
11793
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-bW1HejHle7Fe/sdk/admin/views/users/details/layout/side-panel.module.css.js
|
|
11794
|
+
var digest33 = "4d93dd79708f8f394330a1cc52041d5cfb9374eb1cfef9d7da800ff5236eea97";
|
|
11775
11795
|
var css33 = `._side-panel_1us3q_1 {
|
|
11776
11796
|
transform: all 0.3s ease-in-out;
|
|
11777
11797
|
padding-bottom: var(--rs-space-15);
|
|
@@ -12193,8 +12213,8 @@ var SidePanelMembership = ({
|
|
|
12193
12213
|
] });
|
|
12194
12214
|
};
|
|
12195
12215
|
|
|
12196
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
12197
|
-
var digest34 = "
|
|
12216
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-aRLWtn44U2r1/sdk/admin/views/users/details/layout/side-panel.module.css.js
|
|
12217
|
+
var digest34 = "a09d646151c27631b7e5f9a0956165e207bba35b3803383cbc0748abd49bb78d";
|
|
12198
12218
|
var css34 = `._side-panel_1us3q_1 {
|
|
12199
12219
|
transform: all 0.3s ease-in-out;
|
|
12200
12220
|
padding-bottom: var(--rs-space-15);
|
|
@@ -12312,8 +12332,8 @@ var UserDetailsSidePanel = () => {
|
|
|
12312
12332
|
);
|
|
12313
12333
|
};
|
|
12314
12334
|
|
|
12315
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
12316
|
-
var digest35 = "
|
|
12335
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-QEg1ww2kjMUL/sdk/admin/views/users/details/layout/layout.module.css.js
|
|
12336
|
+
var digest35 = "418a79d2cedbcab87f4ef9a8368ad260a6a9ecae74fb8aa8d58ebc5568e52bde";
|
|
12317
12337
|
var css35 = `._page_190wz_1 {
|
|
12318
12338
|
height: 100vh;
|
|
12319
12339
|
width: 100%;
|
|
@@ -12354,8 +12374,8 @@ import {
|
|
|
12354
12374
|
} from "@raystack/apsara";
|
|
12355
12375
|
import { SidebarIcon } from "@raystack/apsara/icons";
|
|
12356
12376
|
|
|
12357
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
12358
|
-
var digest36 = "
|
|
12377
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-ETTHzgq8PbGw/sdk/admin/views/users/details/layout/navbar.module.css.js
|
|
12378
|
+
var digest36 = "55443cee246960cec327ad5bfaf60bf9e2cd950f7c8943d497271fe44853e9fa";
|
|
12359
12379
|
var css36 = `._navbar_1ahsl_1 {
|
|
12360
12380
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
12361
12381
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -12658,8 +12678,8 @@ import {
|
|
|
12658
12678
|
Text as Text27
|
|
12659
12679
|
} from "@raystack/apsara";
|
|
12660
12680
|
|
|
12661
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
12662
|
-
var digest37 = "
|
|
12681
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-p6d97FDbelFx/sdk/admin/views/users/details/security/sessions/sessions.module.css.js
|
|
12682
|
+
var digest37 = "ec08c9b1e79d72f31daddbd799ba9f982a3287897eb96f2f88a1e533d06284bd";
|
|
12663
12683
|
var css37 = `._sessionsContainer_aq82p_1 {
|
|
12664
12684
|
border: 1px solid var(--rs-color-border-base-primary);
|
|
12665
12685
|
border-radius: var(--rs-radius-2);
|
|
@@ -12788,8 +12808,8 @@ var RevokeSessionFinalConfirm = ({
|
|
|
12788
12808
|
) });
|
|
12789
12809
|
};
|
|
12790
12810
|
|
|
12791
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
12792
|
-
var digest38 = "
|
|
12811
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-myN5z09sy77g/sdk/admin/views/users/details/security/sessions/sessions.module.css.js
|
|
12812
|
+
var digest38 = "d4edbed86ec8461273091045280f998a6104e5c7bd1d58aaf64e6337597ae7e5";
|
|
12793
12813
|
var css38 = `._sessionsContainer_aq82p_1 {
|
|
12794
12814
|
border: 1px solid var(--rs-color-border-base-primary);
|
|
12795
12815
|
border-radius: var(--rs-radius-2);
|
|
@@ -12933,8 +12953,8 @@ var RevokeSessionConfirm = ({ isOpen, onOpenChange, sessionInfo, onRevokeConfirm
|
|
|
12933
12953
|
// admin/views/users/details/security/sessions/session-skeleton.tsx
|
|
12934
12954
|
import { Flex as Flex43, Skeleton as Skeleton3 } from "@raystack/apsara";
|
|
12935
12955
|
|
|
12936
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
12937
|
-
var digest39 = "
|
|
12956
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-0n2gaMyEBm8W/sdk/admin/views/users/details/security/sessions/sessions.module.css.js
|
|
12957
|
+
var digest39 = "9ea7f622c75beae607d59f32db16fac9b4aa09bb4e13a36eff94e2f53d0fce24";
|
|
12938
12958
|
var css39 = `._sessionsContainer_aq82p_1 {
|
|
12939
12959
|
border: 1px solid var(--rs-color-border-base-primary);
|
|
12940
12960
|
border-radius: var(--rs-radius-2);
|
|
@@ -13015,8 +13035,8 @@ import { AdminServiceQueries as AdminServiceQueries13 } from "@raystack/proton/f
|
|
|
13015
13035
|
import dayjs10 from "dayjs";
|
|
13016
13036
|
import relativeTime from "dayjs/plugin/relativeTime";
|
|
13017
13037
|
|
|
13018
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
13019
|
-
var digest40 = "
|
|
13038
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-vLuLOCbNXjt7/sdk/admin/views/users/details/security/sessions/sessions.module.css.js
|
|
13039
|
+
var digest40 = "d9a1ffa4704d8ea6122c842febaa6d560d3c029020882409eee55a745a057a94";
|
|
13020
13040
|
var css40 = `._sessionsContainer_aq82p_1 {
|
|
13021
13041
|
border: 1px solid var(--rs-color-border-base-primary);
|
|
13022
13042
|
border-radius: var(--rs-radius-2);
|
|
@@ -13227,8 +13247,8 @@ var UserSessions = () => {
|
|
|
13227
13247
|
] });
|
|
13228
13248
|
};
|
|
13229
13249
|
|
|
13230
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
13231
|
-
var digest41 = "
|
|
13250
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-7u6eAHleFiN6/sdk/admin/views/users/details/security/security.module.css.js
|
|
13251
|
+
var digest41 = "9740d8fd5e7828da16e1326aaeca74473ad153a17e0c444f4659eda9cdcc1472";
|
|
13232
13252
|
var css41 = `._container_4259p_1 {
|
|
13233
13253
|
width: 100%;
|
|
13234
13254
|
}
|
|
@@ -13362,8 +13382,8 @@ import {
|
|
|
13362
13382
|
} from "@raystack/apsara";
|
|
13363
13383
|
import { OrganizationIcon } from "@raystack/apsara/icons";
|
|
13364
13384
|
|
|
13365
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
13366
|
-
var digest42 = "
|
|
13385
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-4aFMJia6UtNU/sdk/admin/views/organizations/list/list.module.css.js
|
|
13386
|
+
var digest42 = "bfdc37a8a5383d7116a848d8134531448532a50f14bd0ecd38d5daccf10f2b7b";
|
|
13367
13387
|
var css42 = `._navbar_1laab_1 {
|
|
13368
13388
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
13369
13389
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -13550,8 +13570,8 @@ var OrganizationsNavabar = ({
|
|
|
13550
13570
|
] });
|
|
13551
13571
|
};
|
|
13552
13572
|
|
|
13553
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
13554
|
-
var digest43 = "
|
|
13573
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-9wx1NIGaoiyc/sdk/admin/views/organizations/list/list.module.css.js
|
|
13574
|
+
var digest43 = "bb635e19e7ce630996ab3b31bbaee1896d42c423ee6348189b24890b36e09211";
|
|
13555
13575
|
var css43 = `._navbar_1laab_1 {
|
|
13556
13576
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
13557
13577
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -13662,8 +13682,8 @@ import {
|
|
|
13662
13682
|
} from "@raystack/apsara";
|
|
13663
13683
|
import dayjs11 from "dayjs";
|
|
13664
13684
|
|
|
13665
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
13666
|
-
var digest44 = "
|
|
13685
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-RgSa6wMPLA0o/sdk/admin/views/organizations/list/list.module.css.js
|
|
13686
|
+
var digest44 = "2877c2cb5fbd568e8481f0f4ba90067ef35e7e5954031615169635755c163e26";
|
|
13667
13687
|
var css44 = `._navbar_1laab_1 {
|
|
13668
13688
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
13669
13689
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -13930,8 +13950,8 @@ import { create as create8 } from "@bufbuild/protobuf";
|
|
|
13930
13950
|
// admin/views/organizations/list/create.tsx
|
|
13931
13951
|
import { useEffect as useEffect6, useState as useState20 } from "react";
|
|
13932
13952
|
|
|
13933
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
13934
|
-
var digest45 = "
|
|
13953
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-RPla54Ohe17R/sdk/admin/views/organizations/list/list.module.css.js
|
|
13954
|
+
var digest45 = "c9ec01fd4853e0dda3fc4071318c79550c69311b769942da3c33f998b85ea31f";
|
|
13935
13955
|
var css45 = `._navbar_1laab_1 {
|
|
13936
13956
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
13937
13957
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -14061,8 +14081,8 @@ import {
|
|
|
14061
14081
|
} from "@raystack/apsara";
|
|
14062
14082
|
import "react-image-crop/dist/ReactCrop.css";
|
|
14063
14083
|
|
|
14064
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
14065
|
-
var digest46 = "
|
|
14084
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-ehoF3xDX6rHD/sdk/client/components/image-upload/image-upload.module.css.js
|
|
14085
|
+
var digest46 = "2aba14b1590daeb75ddc500c041f5f31acaa0b330a190b23c47d3f8ed8891ad7";
|
|
14066
14086
|
var css46 = `._iconButton_cqo35_1 {
|
|
14067
14087
|
position: relative;
|
|
14068
14088
|
width: var(--rs-space-14);
|
|
@@ -14831,8 +14851,8 @@ import {
|
|
|
14831
14851
|
Search
|
|
14832
14852
|
} from "@raystack/apsara";
|
|
14833
14853
|
|
|
14834
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
14835
|
-
var digest47 = "
|
|
14854
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-0LCTyVaJ30Q8/sdk/admin/views/organizations/details/layout/layout.module.css.js
|
|
14855
|
+
var digest47 = "a99e301429072d4e9934371253bf6bf16bb18403332e06ed7b94de9b4cd99eff";
|
|
14836
14856
|
var css47 = `._page_1jsqa_1 {
|
|
14837
14857
|
width: 100%;
|
|
14838
14858
|
height: 100vh;
|
|
@@ -14938,8 +14958,8 @@ import {
|
|
|
14938
14958
|
} from "@raystack/apsara";
|
|
14939
14959
|
import { useContext as useContext5, useMemo as useMemo7 } from "react";
|
|
14940
14960
|
|
|
14941
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
14942
|
-
var digest48 = "
|
|
14961
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-Hpx5KORVVdpd/sdk/admin/views/organizations/details/layout/layout.module.css.js
|
|
14962
|
+
var digest48 = "9007d166d3f09cf6e04afec7fad9aaeb6578671580fd6069acc0a558a0be0da1";
|
|
14943
14963
|
var css48 = `._page_1jsqa_1 {
|
|
14944
14964
|
width: 100%;
|
|
14945
14965
|
height: 100vh;
|
|
@@ -15247,8 +15267,8 @@ import {
|
|
|
15247
15267
|
import { useContext as useContext6 } from "react";
|
|
15248
15268
|
import { Controller as Controller5, FormProvider as FormProvider4, useForm as useForm7 } from "react-hook-form";
|
|
15249
15269
|
|
|
15250
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
15251
|
-
var digest49 = "
|
|
15270
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-ftIqENY2zmmJ/sdk/admin/views/organizations/details/layout/layout.module.css.js
|
|
15271
|
+
var digest49 = "14e005a4e8670436e6729c9bf30735f5b3ca5a08082cd0c667ba83a05086ce8b";
|
|
15252
15272
|
var css49 = `._page_1jsqa_1 {
|
|
15253
15273
|
width: 100%;
|
|
15254
15274
|
height: 100vh;
|
|
@@ -15754,8 +15774,8 @@ var OrganizationsDetailsNavabar = ({
|
|
|
15754
15774
|
] });
|
|
15755
15775
|
};
|
|
15756
15776
|
|
|
15757
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
15758
|
-
var digest50 = "
|
|
15777
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-bykx5IMmCpMO/sdk/admin/views/organizations/details/layout/layout.module.css.js
|
|
15778
|
+
var digest50 = "1276c7ad234c5cd41023fbc7748a0bfb97d7141c20071bcdf022f6baf827bf41";
|
|
15759
15779
|
var css50 = `._page_1jsqa_1 {
|
|
15760
15780
|
width: 100%;
|
|
15761
15781
|
height: 100vh;
|
|
@@ -15857,24 +15877,56 @@ import { Avatar as Avatar9, getAvatarColor as getAvatarColor7, SidePanel as Side
|
|
|
15857
15877
|
// admin/views/organizations/details/side-panel/org-details-section.tsx
|
|
15858
15878
|
import { Flex as Flex55, List as List7, Text as Text38, CopyButton as CopyButton3, Tooltip as Tooltip3 } from "@raystack/apsara";
|
|
15859
15879
|
|
|
15860
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
15861
|
-
var digest51 = "
|
|
15862
|
-
var css51 = `._side-panel-section-item-
|
|
15880
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-L9zzol2arfns/sdk/admin/views/organizations/details/side-panel/side-panel.module.css.js
|
|
15881
|
+
var digest51 = "a90a9b86dde8ad1d4ba976f9152b87de2835a708d074f28e550b6e014d1fb95e";
|
|
15882
|
+
var css51 = `._side-panel-section-item-label_slrfc_1 {
|
|
15863
15883
|
width: 120px;
|
|
15864
15884
|
}
|
|
15865
15885
|
|
|
15866
|
-
._org-details-section-org-
|
|
15867
|
-
.
|
|
15886
|
+
._org-details-section-org-id_slrfc_5,
|
|
15887
|
+
._kyc_link_slrfc_6 {
|
|
15868
15888
|
max-width: 160px;
|
|
15869
15889
|
overflow: hidden;
|
|
15870
15890
|
text-overflow: ellipsis;
|
|
15871
15891
|
white-space: nowrap;
|
|
15872
15892
|
}
|
|
15873
15893
|
|
|
15874
|
-
._kyc-status-
|
|
15894
|
+
._kyc-status-icon_slrfc_13 {
|
|
15875
15895
|
height: var(--rs-space-5);
|
|
15876
15896
|
width: var(--rs-space-5);
|
|
15877
15897
|
}
|
|
15898
|
+
|
|
15899
|
+
._billing-header_slrfc_18 > span {
|
|
15900
|
+
display: flex;
|
|
15901
|
+
flex: 1;
|
|
15902
|
+
align-items: center;
|
|
15903
|
+
justify-content: space-between;
|
|
15904
|
+
}
|
|
15905
|
+
|
|
15906
|
+
._billing-edit_slrfc_25 {
|
|
15907
|
+
opacity: 0;
|
|
15908
|
+
transition: opacity 120ms ease-in-out;
|
|
15909
|
+
}
|
|
15910
|
+
|
|
15911
|
+
._billing-section_slrfc_30:hover ._billing-edit_slrfc_25,
|
|
15912
|
+
._billing-section_slrfc_30:focus-within ._billing-edit_slrfc_25 {
|
|
15913
|
+
opacity: 1;
|
|
15914
|
+
}
|
|
15915
|
+
|
|
15916
|
+
/* These rules re-create a "disabled but still hoverable (so the tooltip shows)"
|
|
15917
|
+
icon button. This behaviour should ideally be provided by the apsara
|
|
15918
|
+
IconButton/Tooltip components rather than worked around here. */
|
|
15919
|
+
._billing-section_slrfc_30:hover ._billing-edit-disabled_slrfc_38,
|
|
15920
|
+
._billing-section_slrfc_30:focus-within ._billing-edit-disabled_slrfc_38 {
|
|
15921
|
+
opacity: 0.5;
|
|
15922
|
+
cursor: default;
|
|
15923
|
+
}
|
|
15924
|
+
|
|
15925
|
+
._billing-section_slrfc_30:hover ._billing-edit-disabled_slrfc_38:hover,
|
|
15926
|
+
._billing-section_slrfc_30:hover ._billing-edit-disabled_slrfc_38:active {
|
|
15927
|
+
background-color: transparent;
|
|
15928
|
+
color: var(--rs-color-foreground-base-secondary);
|
|
15929
|
+
}
|
|
15878
15930
|
`;
|
|
15879
15931
|
(function() {
|
|
15880
15932
|
if (typeof document === "undefined") {
|
|
@@ -15887,7 +15939,7 @@ var css51 = `._side-panel-section-item-label_yeg6h_1 {
|
|
|
15887
15939
|
document.head.appendChild(el);
|
|
15888
15940
|
}
|
|
15889
15941
|
})();
|
|
15890
|
-
var side_panel_module_css_default5 = { "side-panel-section-item-label": "_side-panel-section-item-
|
|
15942
|
+
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" };
|
|
15891
15943
|
|
|
15892
15944
|
// admin/views/organizations/details/side-panel/org-details-section.tsx
|
|
15893
15945
|
import dayjs12 from "dayjs";
|
|
@@ -15956,24 +16008,56 @@ var OrganizationDetailsSection = ({
|
|
|
15956
16008
|
import { Flex as Flex56, List as List8, Text as Text39, Link as Link2, Tooltip as Tooltip4 } from "@raystack/apsara";
|
|
15957
16009
|
import { useContext as useContext9 } from "react";
|
|
15958
16010
|
|
|
15959
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
15960
|
-
var digest52 = "
|
|
15961
|
-
var css52 = `._side-panel-section-item-
|
|
16011
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-emqp0Pkbacqt/sdk/admin/views/organizations/details/side-panel/side-panel.module.css.js
|
|
16012
|
+
var digest52 = "f19152f3298b5a8264e5b8215b557b7ee536ea3e6fb868011ae6c178dd6c9ed8";
|
|
16013
|
+
var css52 = `._side-panel-section-item-label_slrfc_1 {
|
|
15962
16014
|
width: 120px;
|
|
15963
16015
|
}
|
|
15964
16016
|
|
|
15965
|
-
._org-details-section-org-
|
|
15966
|
-
.
|
|
16017
|
+
._org-details-section-org-id_slrfc_5,
|
|
16018
|
+
._kyc_link_slrfc_6 {
|
|
15967
16019
|
max-width: 160px;
|
|
15968
16020
|
overflow: hidden;
|
|
15969
16021
|
text-overflow: ellipsis;
|
|
15970
16022
|
white-space: nowrap;
|
|
15971
16023
|
}
|
|
15972
16024
|
|
|
15973
|
-
._kyc-status-
|
|
16025
|
+
._kyc-status-icon_slrfc_13 {
|
|
15974
16026
|
height: var(--rs-space-5);
|
|
15975
16027
|
width: var(--rs-space-5);
|
|
15976
16028
|
}
|
|
16029
|
+
|
|
16030
|
+
._billing-header_slrfc_18 > span {
|
|
16031
|
+
display: flex;
|
|
16032
|
+
flex: 1;
|
|
16033
|
+
align-items: center;
|
|
16034
|
+
justify-content: space-between;
|
|
16035
|
+
}
|
|
16036
|
+
|
|
16037
|
+
._billing-edit_slrfc_25 {
|
|
16038
|
+
opacity: 0;
|
|
16039
|
+
transition: opacity 120ms ease-in-out;
|
|
16040
|
+
}
|
|
16041
|
+
|
|
16042
|
+
._billing-section_slrfc_30:hover ._billing-edit_slrfc_25,
|
|
16043
|
+
._billing-section_slrfc_30:focus-within ._billing-edit_slrfc_25 {
|
|
16044
|
+
opacity: 1;
|
|
16045
|
+
}
|
|
16046
|
+
|
|
16047
|
+
/* These rules re-create a "disabled but still hoverable (so the tooltip shows)"
|
|
16048
|
+
icon button. This behaviour should ideally be provided by the apsara
|
|
16049
|
+
IconButton/Tooltip components rather than worked around here. */
|
|
16050
|
+
._billing-section_slrfc_30:hover ._billing-edit-disabled_slrfc_38,
|
|
16051
|
+
._billing-section_slrfc_30:focus-within ._billing-edit-disabled_slrfc_38 {
|
|
16052
|
+
opacity: 0.5;
|
|
16053
|
+
cursor: default;
|
|
16054
|
+
}
|
|
16055
|
+
|
|
16056
|
+
._billing-section_slrfc_30:hover ._billing-edit-disabled_slrfc_38:hover,
|
|
16057
|
+
._billing-section_slrfc_30:hover ._billing-edit-disabled_slrfc_38:active {
|
|
16058
|
+
background-color: transparent;
|
|
16059
|
+
color: var(--rs-color-foreground-base-secondary);
|
|
16060
|
+
}
|
|
15977
16061
|
`;
|
|
15978
16062
|
(function() {
|
|
15979
16063
|
if (typeof document === "undefined") {
|
|
@@ -15986,7 +16070,7 @@ var css52 = `._side-panel-section-item-label_yeg6h_1 {
|
|
|
15986
16070
|
document.head.appendChild(el);
|
|
15987
16071
|
}
|
|
15988
16072
|
})();
|
|
15989
|
-
var side_panel_module_css_default6 = { "side-panel-section-item-label": "_side-panel-section-item-
|
|
16073
|
+
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" };
|
|
15990
16074
|
|
|
15991
16075
|
// admin/views/organizations/details/side-panel/kyc-section.tsx
|
|
15992
16076
|
import {
|
|
@@ -16051,24 +16135,56 @@ var KYCDetailsSection = () => {
|
|
|
16051
16135
|
import { useContext as useContext10 } from "react";
|
|
16052
16136
|
import { List as List9, Text as Text40, Flex as Flex57 } from "@raystack/apsara";
|
|
16053
16137
|
|
|
16054
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
16055
|
-
var digest53 = "
|
|
16056
|
-
var css53 = `._side-panel-section-item-
|
|
16138
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-A5BmK90kjZ3T/sdk/admin/views/organizations/details/side-panel/side-panel.module.css.js
|
|
16139
|
+
var digest53 = "d67cfc11b6c157aebd194718bc06b2b8e270ee63593d29923b8eb584550499c0";
|
|
16140
|
+
var css53 = `._side-panel-section-item-label_slrfc_1 {
|
|
16057
16141
|
width: 120px;
|
|
16058
16142
|
}
|
|
16059
16143
|
|
|
16060
|
-
._org-details-section-org-
|
|
16061
|
-
.
|
|
16144
|
+
._org-details-section-org-id_slrfc_5,
|
|
16145
|
+
._kyc_link_slrfc_6 {
|
|
16062
16146
|
max-width: 160px;
|
|
16063
16147
|
overflow: hidden;
|
|
16064
16148
|
text-overflow: ellipsis;
|
|
16065
16149
|
white-space: nowrap;
|
|
16066
16150
|
}
|
|
16067
16151
|
|
|
16068
|
-
._kyc-status-
|
|
16152
|
+
._kyc-status-icon_slrfc_13 {
|
|
16069
16153
|
height: var(--rs-space-5);
|
|
16070
16154
|
width: var(--rs-space-5);
|
|
16071
16155
|
}
|
|
16156
|
+
|
|
16157
|
+
._billing-header_slrfc_18 > span {
|
|
16158
|
+
display: flex;
|
|
16159
|
+
flex: 1;
|
|
16160
|
+
align-items: center;
|
|
16161
|
+
justify-content: space-between;
|
|
16162
|
+
}
|
|
16163
|
+
|
|
16164
|
+
._billing-edit_slrfc_25 {
|
|
16165
|
+
opacity: 0;
|
|
16166
|
+
transition: opacity 120ms ease-in-out;
|
|
16167
|
+
}
|
|
16168
|
+
|
|
16169
|
+
._billing-section_slrfc_30:hover ._billing-edit_slrfc_25,
|
|
16170
|
+
._billing-section_slrfc_30:focus-within ._billing-edit_slrfc_25 {
|
|
16171
|
+
opacity: 1;
|
|
16172
|
+
}
|
|
16173
|
+
|
|
16174
|
+
/* These rules re-create a "disabled but still hoverable (so the tooltip shows)"
|
|
16175
|
+
icon button. This behaviour should ideally be provided by the apsara
|
|
16176
|
+
IconButton/Tooltip components rather than worked around here. */
|
|
16177
|
+
._billing-section_slrfc_30:hover ._billing-edit-disabled_slrfc_38,
|
|
16178
|
+
._billing-section_slrfc_30:focus-within ._billing-edit-disabled_slrfc_38 {
|
|
16179
|
+
opacity: 0.5;
|
|
16180
|
+
cursor: default;
|
|
16181
|
+
}
|
|
16182
|
+
|
|
16183
|
+
._billing-section_slrfc_30:hover ._billing-edit-disabled_slrfc_38:hover,
|
|
16184
|
+
._billing-section_slrfc_30:hover ._billing-edit-disabled_slrfc_38:active {
|
|
16185
|
+
background-color: transparent;
|
|
16186
|
+
color: var(--rs-color-foreground-base-secondary);
|
|
16187
|
+
}
|
|
16072
16188
|
`;
|
|
16073
16189
|
(function() {
|
|
16074
16190
|
if (typeof document === "undefined") {
|
|
@@ -16081,7 +16197,7 @@ var css53 = `._side-panel-section-item-label_yeg6h_1 {
|
|
|
16081
16197
|
document.head.appendChild(el);
|
|
16082
16198
|
}
|
|
16083
16199
|
})();
|
|
16084
|
-
var side_panel_module_css_default7 = { "side-panel-section-item-label": "_side-panel-section-item-
|
|
16200
|
+
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" };
|
|
16085
16201
|
|
|
16086
16202
|
// admin/views/organizations/details/side-panel/plan-details-section.tsx
|
|
16087
16203
|
import { useQuery as useQuery13 } from "@connectrpc/connect-query";
|
|
@@ -16154,24 +16270,56 @@ var PlanDetailsSection = () => {
|
|
|
16154
16270
|
import { List as List10, Text as Text41, Flex as Flex58 } from "@raystack/apsara";
|
|
16155
16271
|
import { CoinIcon, CoinColoredIcon } from "@raystack/apsara/icons";
|
|
16156
16272
|
|
|
16157
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
16158
|
-
var digest54 = "
|
|
16159
|
-
var css54 = `._side-panel-section-item-
|
|
16273
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-z49EHDIAVN65/sdk/admin/views/organizations/details/side-panel/side-panel.module.css.js
|
|
16274
|
+
var digest54 = "1037b0113f4381889ca3a9c05cbbf14e1da6363166784d74f3bf255a29bc488f";
|
|
16275
|
+
var css54 = `._side-panel-section-item-label_slrfc_1 {
|
|
16160
16276
|
width: 120px;
|
|
16161
16277
|
}
|
|
16162
16278
|
|
|
16163
|
-
._org-details-section-org-
|
|
16164
|
-
.
|
|
16279
|
+
._org-details-section-org-id_slrfc_5,
|
|
16280
|
+
._kyc_link_slrfc_6 {
|
|
16165
16281
|
max-width: 160px;
|
|
16166
16282
|
overflow: hidden;
|
|
16167
16283
|
text-overflow: ellipsis;
|
|
16168
16284
|
white-space: nowrap;
|
|
16169
16285
|
}
|
|
16170
16286
|
|
|
16171
|
-
._kyc-status-
|
|
16287
|
+
._kyc-status-icon_slrfc_13 {
|
|
16172
16288
|
height: var(--rs-space-5);
|
|
16173
16289
|
width: var(--rs-space-5);
|
|
16174
16290
|
}
|
|
16291
|
+
|
|
16292
|
+
._billing-header_slrfc_18 > span {
|
|
16293
|
+
display: flex;
|
|
16294
|
+
flex: 1;
|
|
16295
|
+
align-items: center;
|
|
16296
|
+
justify-content: space-between;
|
|
16297
|
+
}
|
|
16298
|
+
|
|
16299
|
+
._billing-edit_slrfc_25 {
|
|
16300
|
+
opacity: 0;
|
|
16301
|
+
transition: opacity 120ms ease-in-out;
|
|
16302
|
+
}
|
|
16303
|
+
|
|
16304
|
+
._billing-section_slrfc_30:hover ._billing-edit_slrfc_25,
|
|
16305
|
+
._billing-section_slrfc_30:focus-within ._billing-edit_slrfc_25 {
|
|
16306
|
+
opacity: 1;
|
|
16307
|
+
}
|
|
16308
|
+
|
|
16309
|
+
/* These rules re-create a "disabled but still hoverable (so the tooltip shows)"
|
|
16310
|
+
icon button. This behaviour should ideally be provided by the apsara
|
|
16311
|
+
IconButton/Tooltip components rather than worked around here. */
|
|
16312
|
+
._billing-section_slrfc_30:hover ._billing-edit-disabled_slrfc_38,
|
|
16313
|
+
._billing-section_slrfc_30:focus-within ._billing-edit-disabled_slrfc_38 {
|
|
16314
|
+
opacity: 0.5;
|
|
16315
|
+
cursor: default;
|
|
16316
|
+
}
|
|
16317
|
+
|
|
16318
|
+
._billing-section_slrfc_30:hover ._billing-edit-disabled_slrfc_38:hover,
|
|
16319
|
+
._billing-section_slrfc_30:hover ._billing-edit-disabled_slrfc_38:active {
|
|
16320
|
+
background-color: transparent;
|
|
16321
|
+
color: var(--rs-color-foreground-base-secondary);
|
|
16322
|
+
}
|
|
16175
16323
|
`;
|
|
16176
16324
|
(function() {
|
|
16177
16325
|
if (typeof document === "undefined") {
|
|
@@ -16184,7 +16332,7 @@ var css54 = `._side-panel-section-item-label_yeg6h_1 {
|
|
|
16184
16332
|
document.head.appendChild(el);
|
|
16185
16333
|
}
|
|
16186
16334
|
})();
|
|
16187
|
-
var side_panel_module_css_default8 = { "side-panel-section-item-label": "_side-panel-section-item-
|
|
16335
|
+
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" };
|
|
16188
16336
|
|
|
16189
16337
|
// admin/views/organizations/details/side-panel/tokens-details-section.tsx
|
|
16190
16338
|
import { useContext as useContext11, useEffect as useEffect8 } from "react";
|
|
@@ -16254,26 +16402,58 @@ var TokensDetailsSection = () => {
|
|
|
16254
16402
|
};
|
|
16255
16403
|
|
|
16256
16404
|
// admin/views/organizations/details/side-panel/billing-details-section.tsx
|
|
16257
|
-
import { Amount as Amount4, CopyButton as CopyButton4, Flex as Flex59, Link as Link3, List as List11, Text as Text42 } from "@raystack/apsara";
|
|
16405
|
+
import { Amount as Amount4, CopyButton as CopyButton4, Flex as Flex59, IconButton as IconButton11, Link as Link3, List as List11, Text as Text42, Tooltip as Tooltip5, toastManager as toastManager14 } from "@raystack/apsara";
|
|
16258
16406
|
|
|
16259
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
16260
|
-
var digest55 = "
|
|
16261
|
-
var css55 = `._side-panel-section-item-
|
|
16407
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-VJxfj6F9SSp6/sdk/admin/views/organizations/details/side-panel/side-panel.module.css.js
|
|
16408
|
+
var digest55 = "e95a5d729fa040782ad2933f2033195258c0670390beec0cb19ed20e4c6cab09";
|
|
16409
|
+
var css55 = `._side-panel-section-item-label_slrfc_1 {
|
|
16262
16410
|
width: 120px;
|
|
16263
16411
|
}
|
|
16264
16412
|
|
|
16265
|
-
._org-details-section-org-
|
|
16266
|
-
.
|
|
16413
|
+
._org-details-section-org-id_slrfc_5,
|
|
16414
|
+
._kyc_link_slrfc_6 {
|
|
16267
16415
|
max-width: 160px;
|
|
16268
16416
|
overflow: hidden;
|
|
16269
16417
|
text-overflow: ellipsis;
|
|
16270
16418
|
white-space: nowrap;
|
|
16271
16419
|
}
|
|
16272
16420
|
|
|
16273
|
-
._kyc-status-
|
|
16421
|
+
._kyc-status-icon_slrfc_13 {
|
|
16274
16422
|
height: var(--rs-space-5);
|
|
16275
16423
|
width: var(--rs-space-5);
|
|
16276
16424
|
}
|
|
16425
|
+
|
|
16426
|
+
._billing-header_slrfc_18 > span {
|
|
16427
|
+
display: flex;
|
|
16428
|
+
flex: 1;
|
|
16429
|
+
align-items: center;
|
|
16430
|
+
justify-content: space-between;
|
|
16431
|
+
}
|
|
16432
|
+
|
|
16433
|
+
._billing-edit_slrfc_25 {
|
|
16434
|
+
opacity: 0;
|
|
16435
|
+
transition: opacity 120ms ease-in-out;
|
|
16436
|
+
}
|
|
16437
|
+
|
|
16438
|
+
._billing-section_slrfc_30:hover ._billing-edit_slrfc_25,
|
|
16439
|
+
._billing-section_slrfc_30:focus-within ._billing-edit_slrfc_25 {
|
|
16440
|
+
opacity: 1;
|
|
16441
|
+
}
|
|
16442
|
+
|
|
16443
|
+
/* These rules re-create a "disabled but still hoverable (so the tooltip shows)"
|
|
16444
|
+
icon button. This behaviour should ideally be provided by the apsara
|
|
16445
|
+
IconButton/Tooltip components rather than worked around here. */
|
|
16446
|
+
._billing-section_slrfc_30:hover ._billing-edit-disabled_slrfc_38,
|
|
16447
|
+
._billing-section_slrfc_30:focus-within ._billing-edit-disabled_slrfc_38 {
|
|
16448
|
+
opacity: 0.5;
|
|
16449
|
+
cursor: default;
|
|
16450
|
+
}
|
|
16451
|
+
|
|
16452
|
+
._billing-section_slrfc_30:hover ._billing-edit-disabled_slrfc_38:hover,
|
|
16453
|
+
._billing-section_slrfc_30:hover ._billing-edit-disabled_slrfc_38:active {
|
|
16454
|
+
background-color: transparent;
|
|
16455
|
+
color: var(--rs-color-foreground-base-secondary);
|
|
16456
|
+
}
|
|
16277
16457
|
`;
|
|
16278
16458
|
(function() {
|
|
16279
16459
|
if (typeof document === "undefined") {
|
|
@@ -16286,12 +16466,12 @@ var css55 = `._side-panel-section-item-label_yeg6h_1 {
|
|
|
16286
16466
|
document.head.appendChild(el);
|
|
16287
16467
|
}
|
|
16288
16468
|
})();
|
|
16289
|
-
var side_panel_module_css_default9 = { "side-panel-section-item-label": "_side-panel-section-item-
|
|
16469
|
+
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" };
|
|
16290
16470
|
|
|
16291
16471
|
// admin/views/organizations/details/side-panel/billing-details-section.tsx
|
|
16292
16472
|
import { useContext as useContext12, useEffect as useEffect9 } from "react";
|
|
16293
|
-
import { useQuery as useQuery15 } from "@connectrpc/connect-query";
|
|
16294
|
-
import { FrontierServiceQueries as FrontierServiceQueries15, GetUpcomingInvoiceRequestSchema } from "@raystack/proton/frontier";
|
|
16473
|
+
import { useMutation as useMutation12, useQuery as useQuery15 } from "@connectrpc/connect-query";
|
|
16474
|
+
import { CreateCheckoutRequestSchema, FrontierServiceQueries as FrontierServiceQueries15, GetUpcomingInvoiceRequestSchema } from "@raystack/proton/frontier";
|
|
16295
16475
|
import { create as create14 } from "@bufbuild/protobuf";
|
|
16296
16476
|
import { jsx as jsx83, jsxs as jsxs62 } from "react/jsx-runtime";
|
|
16297
16477
|
var BillingDetailsSection = () => {
|
|
@@ -16316,8 +16496,69 @@ var BillingDetailsSection = () => {
|
|
|
16316
16496
|
}, [error]);
|
|
16317
16497
|
const due_date = upcomingInvoice?.dueDate || upcomingInvoice?.periodEndAt;
|
|
16318
16498
|
const stripeLink = billingAccount?.providerId ? "https://dashboard.stripe.com/customers/" + billingAccount?.providerId : "";
|
|
16319
|
-
|
|
16320
|
-
|
|
16499
|
+
const { mutateAsync: createCheckout, isPending: isPortalLoading } = useMutation12(FrontierServiceQueries15.createCheckout, {
|
|
16500
|
+
onError: (error2) => {
|
|
16501
|
+
toastManager14.add({
|
|
16502
|
+
title: "Something went wrong",
|
|
16503
|
+
description: error2.rawMessage,
|
|
16504
|
+
type: "error"
|
|
16505
|
+
});
|
|
16506
|
+
console.error("Unable to open billing portal:", error2);
|
|
16507
|
+
}
|
|
16508
|
+
});
|
|
16509
|
+
const isBillingPortalDisabled = isPortalLoading || !billingAccountId;
|
|
16510
|
+
const handleOpenBillingPortal = async () => {
|
|
16511
|
+
if (isBillingPortalDisabled)
|
|
16512
|
+
return;
|
|
16513
|
+
const returnUrl = window.location.href;
|
|
16514
|
+
const portalTab = window.open("", "_blank");
|
|
16515
|
+
if (portalTab)
|
|
16516
|
+
portalTab.opener = null;
|
|
16517
|
+
try {
|
|
16518
|
+
const resp = await createCheckout(
|
|
16519
|
+
create14(CreateCheckoutRequestSchema, {
|
|
16520
|
+
orgId: organizationId,
|
|
16521
|
+
cancelUrl: returnUrl,
|
|
16522
|
+
successUrl: returnUrl,
|
|
16523
|
+
setupBody: { paymentMethod: false, customerPortal: true }
|
|
16524
|
+
})
|
|
16525
|
+
);
|
|
16526
|
+
const checkoutUrl = resp?.checkoutSession?.checkoutUrl;
|
|
16527
|
+
if (checkoutUrl && portalTab) {
|
|
16528
|
+
portalTab.location.href = checkoutUrl;
|
|
16529
|
+
} else if (checkoutUrl) {
|
|
16530
|
+
window.open(checkoutUrl, "_blank", "noopener,noreferrer");
|
|
16531
|
+
} else {
|
|
16532
|
+
portalTab?.close();
|
|
16533
|
+
}
|
|
16534
|
+
} catch {
|
|
16535
|
+
portalTab?.close();
|
|
16536
|
+
}
|
|
16537
|
+
};
|
|
16538
|
+
return /* @__PURE__ */ jsxs62(List11, { className: side_panel_module_css_default9["billing-section"], children: [
|
|
16539
|
+
/* @__PURE__ */ jsxs62(List11.Header, { className: side_panel_module_css_default9["billing-header"], children: [
|
|
16540
|
+
"Billing",
|
|
16541
|
+
/* @__PURE__ */ jsxs62(Tooltip5, { children: [
|
|
16542
|
+
/* @__PURE__ */ jsx83(
|
|
16543
|
+
Tooltip5.Trigger,
|
|
16544
|
+
{
|
|
16545
|
+
render: /* @__PURE__ */ jsx83(
|
|
16546
|
+
IconButton11,
|
|
16547
|
+
{
|
|
16548
|
+
size: 2,
|
|
16549
|
+
"aria-label": "Update billing details",
|
|
16550
|
+
"data-test-id": "admin-billing-portal-button",
|
|
16551
|
+
"aria-disabled": isBillingPortalDisabled,
|
|
16552
|
+
className: isBillingPortalDisabled ? `${side_panel_module_css_default9["billing-edit"]} ${side_panel_module_css_default9["billing-edit-disabled"]}` : side_panel_module_css_default9["billing-edit"],
|
|
16553
|
+
onClick: handleOpenBillingPortal,
|
|
16554
|
+
children: /* @__PURE__ */ jsx83(Pencil1Icon, {})
|
|
16555
|
+
}
|
|
16556
|
+
)
|
|
16557
|
+
}
|
|
16558
|
+
),
|
|
16559
|
+
/* @__PURE__ */ jsx83(Tooltip5.Content, { children: billingAccountId ? "Update billing details" : "No billing account for this organization" })
|
|
16560
|
+
] })
|
|
16561
|
+
] }),
|
|
16321
16562
|
/* @__PURE__ */ jsxs62(List11.Item, { children: [
|
|
16322
16563
|
/* @__PURE__ */ jsx83(List11.Label, { className: side_panel_module_css_default9["side-panel-section-item-label"], children: "Name" }),
|
|
16323
16564
|
/* @__PURE__ */ jsx83(List11.Value, { className: side_panel_module_css_default9["side-panel-section-item-value"], children: isLoading ? /* @__PURE__ */ jsx83(Skeleton, {}) : /* @__PURE__ */ jsx83(Text42, { children: billingAccount?.name || "N/A" }) })
|
|
@@ -16405,18 +16646,18 @@ import {
|
|
|
16405
16646
|
Button as Button20,
|
|
16406
16647
|
Field as Field2,
|
|
16407
16648
|
Flex as Flex60,
|
|
16408
|
-
IconButton as
|
|
16649
|
+
IconButton as IconButton12,
|
|
16409
16650
|
Input as Input5,
|
|
16410
16651
|
Label as Label6,
|
|
16411
16652
|
Drawer as Drawer7,
|
|
16412
16653
|
SidePanel as SidePanel5,
|
|
16413
16654
|
Switch as Switch3,
|
|
16414
16655
|
Text as Text43,
|
|
16415
|
-
toastManager as
|
|
16656
|
+
toastManager as toastManager15
|
|
16416
16657
|
} from "@raystack/apsara";
|
|
16417
16658
|
|
|
16418
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
16419
|
-
var digest56 = "
|
|
16659
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-3EuQr8Soydxo/sdk/admin/views/organizations/details/edit/edit.module.css.js
|
|
16660
|
+
var digest56 = "f044a56fb159bcd3d3fe4b0fd683d4050ee43ed98f9829c92d44f1c20ee0f893";
|
|
16420
16661
|
var css56 = `._drawer-content_18xgg_1 {
|
|
16421
16662
|
min-width: 500px;
|
|
16422
16663
|
padding: 0;
|
|
@@ -16468,7 +16709,7 @@ var edit_module_css_default = { "drawer-content": "_drawer-content_18xgg_1", "dr
|
|
|
16468
16709
|
import { useContext as useContext13 } from "react";
|
|
16469
16710
|
import { Controller as Controller6, useForm as useForm8 } from "react-hook-form";
|
|
16470
16711
|
import { zodResolver as zodResolver8 } from "@hookform/resolvers/zod";
|
|
16471
|
-
import { useMutation as
|
|
16712
|
+
import { useMutation as useMutation13, createConnectQueryKey as createConnectQueryKey7, useTransport as useTransport8 } from "@connectrpc/connect-query";
|
|
16472
16713
|
import { useQueryClient as useQueryClient9 } from "@tanstack/react-query";
|
|
16473
16714
|
import { AdminServiceQueries as AdminServiceQueries18, FrontierServiceQueries as FrontierServiceQueries16, SetOrganizationKycRequestSchema } from "@raystack/proton/frontier";
|
|
16474
16715
|
import { create as create15 } from "@bufbuild/protobuf";
|
|
@@ -16503,7 +16744,7 @@ function EditKYCPanel({ open = false, onClose }) {
|
|
|
16503
16744
|
});
|
|
16504
16745
|
const {
|
|
16505
16746
|
mutateAsync: setOrganizationKycMutation
|
|
16506
|
-
} =
|
|
16747
|
+
} = useMutation13(AdminServiceQueries18.setOrganizationKyc, {
|
|
16507
16748
|
onSuccess: (data) => {
|
|
16508
16749
|
const newKycDetails = data.organizationKyc;
|
|
16509
16750
|
if (newKycDetails) {
|
|
@@ -16517,11 +16758,11 @@ function EditKYCPanel({ open = false, onClose }) {
|
|
|
16517
16758
|
cardinality: "finite"
|
|
16518
16759
|
})
|
|
16519
16760
|
});
|
|
16520
|
-
|
|
16761
|
+
toastManager15.add({ title: "KYC details updated successfully", type: "success" });
|
|
16521
16762
|
onClose();
|
|
16522
16763
|
},
|
|
16523
16764
|
onError: (error) => {
|
|
16524
|
-
|
|
16765
|
+
toastManager15.add({ title: "Failed to update KYC details", description: error.rawMessage, type: "error" });
|
|
16525
16766
|
console.error("Unable to update KYC details:", error);
|
|
16526
16767
|
}
|
|
16527
16768
|
});
|
|
@@ -16549,7 +16790,7 @@ function EditKYCPanel({ open = false, onClose }) {
|
|
|
16549
16790
|
title: "Edit KYC",
|
|
16550
16791
|
actions: [
|
|
16551
16792
|
/* @__PURE__ */ jsx85(
|
|
16552
|
-
|
|
16793
|
+
IconButton12,
|
|
16553
16794
|
{
|
|
16554
16795
|
"data-test-id": "close-kyc-panel-icon",
|
|
16555
16796
|
onClick: onClose,
|
|
@@ -16642,8 +16883,8 @@ function EditKYCPanel({ open = false, onClose }) {
|
|
|
16642
16883
|
// admin/views/organizations/details/edit/organization.tsx
|
|
16643
16884
|
import { useContext as useContext14, useEffect as useEffect10, useState as useState23 } from "react";
|
|
16644
16885
|
|
|
16645
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
16646
|
-
var digest57 = "
|
|
16886
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-y34TJjhpV98k/sdk/admin/views/organizations/details/edit/edit.module.css.js
|
|
16887
|
+
var digest57 = "a647dd354e3645466bfce1ba3d2077b4f15a98b0d829b46817e27eb075af6cec";
|
|
16647
16888
|
var css57 = `._drawer-content_18xgg_1 {
|
|
16648
16889
|
min-width: 500px;
|
|
16649
16890
|
padding: 0;
|
|
@@ -16696,7 +16937,7 @@ import {
|
|
|
16696
16937
|
Button as Button21,
|
|
16697
16938
|
Field as Field3,
|
|
16698
16939
|
Flex as Flex61,
|
|
16699
|
-
IconButton as
|
|
16940
|
+
IconButton as IconButton13,
|
|
16700
16941
|
Input as Input6,
|
|
16701
16942
|
Select as Select5,
|
|
16702
16943
|
Drawer as Drawer8,
|
|
@@ -16706,7 +16947,7 @@ import {
|
|
|
16706
16947
|
} from "@raystack/apsara";
|
|
16707
16948
|
import { Controller as Controller7, useForm as useForm9 } from "react-hook-form";
|
|
16708
16949
|
import { zodResolver as zodResolver9 } from "@hookform/resolvers/zod";
|
|
16709
|
-
import { useMutation as
|
|
16950
|
+
import { useMutation as useMutation14, createConnectQueryKey as createConnectQueryKey8, useTransport as useTransport9 } from "@connectrpc/connect-query";
|
|
16710
16951
|
import { useQueryClient as useQueryClient10 } from "@tanstack/react-query";
|
|
16711
16952
|
import { FrontierServiceQueries as FrontierServiceQueries17, UpdateOrganizationRequestSchema } from "@raystack/proton/frontier";
|
|
16712
16953
|
import { create as create16 } from "@bufbuild/protobuf";
|
|
@@ -16772,7 +17013,7 @@ function EditOrganizationPanel({ open = false, onClose }) {
|
|
|
16772
17013
|
mutateAsync: updateOrganizationMutation,
|
|
16773
17014
|
error: mutationError,
|
|
16774
17015
|
isPending: isSubmitting
|
|
16775
|
-
} =
|
|
17016
|
+
} = useMutation14(FrontierServiceQueries17.updateOrganization, {
|
|
16776
17017
|
onSuccess: () => {
|
|
16777
17018
|
queryClient.invalidateQueries({
|
|
16778
17019
|
queryKey: createConnectQueryKey8({
|
|
@@ -16827,7 +17068,7 @@ function EditOrganizationPanel({ open = false, onClose }) {
|
|
|
16827
17068
|
title: `Edit ${t.organization({ case: "lower" })}`,
|
|
16828
17069
|
actions: [
|
|
16829
17070
|
/* @__PURE__ */ jsx86(
|
|
16830
|
-
|
|
17071
|
+
IconButton13,
|
|
16831
17072
|
{
|
|
16832
17073
|
"data-test-id": "close-edit-org-panel-icon",
|
|
16833
17074
|
onClick: onClose,
|
|
@@ -17010,17 +17251,17 @@ import {
|
|
|
17010
17251
|
Button as Button22,
|
|
17011
17252
|
Field as Field4,
|
|
17012
17253
|
Flex as Flex62,
|
|
17013
|
-
IconButton as
|
|
17254
|
+
IconButton as IconButton14,
|
|
17014
17255
|
Input as Input7,
|
|
17015
17256
|
Text as Text45,
|
|
17016
17257
|
Select as Select6,
|
|
17017
17258
|
Drawer as Drawer9,
|
|
17018
17259
|
SidePanel as SidePanel7,
|
|
17019
|
-
toastManager as
|
|
17260
|
+
toastManager as toastManager16
|
|
17020
17261
|
} from "@raystack/apsara";
|
|
17021
17262
|
|
|
17022
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
17023
|
-
var digest58 = "
|
|
17263
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-dhv1J6ttrqLh/sdk/admin/views/organizations/details/edit/edit.module.css.js
|
|
17264
|
+
var digest58 = "474eef11560fc902248b9e9bd5f99c6485b1fafccac7a361e55d6d26b8d2c0d8";
|
|
17024
17265
|
var css58 = `._drawer-content_18xgg_1 {
|
|
17025
17266
|
min-width: 500px;
|
|
17026
17267
|
padding: 0;
|
|
@@ -17072,7 +17313,7 @@ var edit_module_css_default3 = { "drawer-content": "_drawer-content_18xgg_1", "d
|
|
|
17072
17313
|
import { useCallback as useCallback11, useContext as useContext15, useEffect as useEffect11, useMemo as useMemo8 } from "react";
|
|
17073
17314
|
import { useForm as useForm10 } from "react-hook-form";
|
|
17074
17315
|
import { zodResolver as zodResolver10 } from "@hookform/resolvers/zod";
|
|
17075
|
-
import { useMutation as
|
|
17316
|
+
import { useMutation as useMutation15 } from "@connectrpc/connect-query";
|
|
17076
17317
|
import {
|
|
17077
17318
|
AdminServiceQueries as AdminServiceQueries19,
|
|
17078
17319
|
UpdateBillingAccountDetailsRequestSchema
|
|
@@ -17149,11 +17390,11 @@ function EditBillingPanel({ open = false, onClose }) {
|
|
|
17149
17390
|
reset(billingDetailsData);
|
|
17150
17391
|
}
|
|
17151
17392
|
}, [billingDetailsData, reset]);
|
|
17152
|
-
const { mutateAsync: updateBillingDetails } =
|
|
17393
|
+
const { mutateAsync: updateBillingDetails } = useMutation15(
|
|
17153
17394
|
AdminServiceQueries19.updateBillingAccountDetails,
|
|
17154
17395
|
{
|
|
17155
17396
|
onError: (error) => {
|
|
17156
|
-
|
|
17397
|
+
toastManager16.add({
|
|
17157
17398
|
title: "Something went wrong",
|
|
17158
17399
|
description: error.rawMessage,
|
|
17159
17400
|
type: "error"
|
|
@@ -17176,9 +17417,9 @@ function EditBillingPanel({ open = false, onClose }) {
|
|
|
17176
17417
|
})
|
|
17177
17418
|
);
|
|
17178
17419
|
fetchBillingAccountDetails();
|
|
17179
|
-
|
|
17420
|
+
toastManager16.add({ title: "Billing details updated", type: "success" });
|
|
17180
17421
|
} catch (error) {
|
|
17181
|
-
|
|
17422
|
+
toastManager16.add({
|
|
17182
17423
|
title: "Something went wrong",
|
|
17183
17424
|
description: "Failed to update billing details",
|
|
17184
17425
|
type: "error"
|
|
@@ -17211,7 +17452,7 @@ function EditBillingPanel({ open = false, onClose }) {
|
|
|
17211
17452
|
title: "Edit billing",
|
|
17212
17453
|
actions: [
|
|
17213
17454
|
/* @__PURE__ */ jsx87(
|
|
17214
|
-
|
|
17455
|
+
IconButton14,
|
|
17215
17456
|
{
|
|
17216
17457
|
"data-test-id": "close-billing-panel-icon",
|
|
17217
17458
|
onClick: onClose,
|
|
@@ -17652,12 +17893,12 @@ import {
|
|
|
17652
17893
|
Flex as Flex66,
|
|
17653
17894
|
Separator as Separator5,
|
|
17654
17895
|
Text as Text48,
|
|
17655
|
-
Tooltip as
|
|
17656
|
-
toastManager as
|
|
17896
|
+
Tooltip as Tooltip6,
|
|
17897
|
+
toastManager as toastManager19
|
|
17657
17898
|
} from "@raystack/apsara";
|
|
17658
17899
|
|
|
17659
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
17660
|
-
var digest59 = "
|
|
17900
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-puCVEvDLhheM/sdk/admin/views/organizations/details/security/security.module.css.js
|
|
17901
|
+
var digest59 = "b96eecf0b10e3ec3d233baddacc9ea4660c58bf8c853c001c788f782e22d1f1d";
|
|
17661
17902
|
var css59 = `._container_1wkae_1 {
|
|
17662
17903
|
width: 100%;
|
|
17663
17904
|
}
|
|
@@ -17701,9 +17942,9 @@ var security_module_css_default2 = { "container": "_container_1wkae_1", "content
|
|
|
17701
17942
|
import { useContext as useContext18 } from "react";
|
|
17702
17943
|
|
|
17703
17944
|
// admin/views/organizations/details/security/block-organization.tsx
|
|
17704
|
-
import { AlertDialog as AlertDialog2, Button as Button23, Flex as Flex64, Text as Text46, toastManager as
|
|
17945
|
+
import { AlertDialog as AlertDialog2, Button as Button23, Flex as Flex64, Text as Text46, toastManager as toastManager17 } from "@raystack/apsara";
|
|
17705
17946
|
import { useContext as useContext16, useState as useState26 } from "react";
|
|
17706
|
-
import { createConnectQueryKey as createConnectQueryKey10, useMutation as
|
|
17947
|
+
import { createConnectQueryKey as createConnectQueryKey10, useMutation as useMutation16, useTransport as useTransport11 } from "@connectrpc/connect-query";
|
|
17707
17948
|
import { FrontierServiceQueries as FrontierServiceQueries19, DisableOrganizationRequestSchema, EnableOrganizationRequestSchema } from "@raystack/proton/frontier";
|
|
17708
17949
|
import { create as create19 } from "@bufbuild/protobuf";
|
|
17709
17950
|
import { useQueryClient as useQueryClient12 } from "@tanstack/react-query";
|
|
@@ -17714,7 +17955,7 @@ var BlockOrganizationDialog = () => {
|
|
|
17714
17955
|
const queryClient = useQueryClient12();
|
|
17715
17956
|
const transport = useTransport11();
|
|
17716
17957
|
const [isDialogOpen, setIsDialogOpen] = useState26(false);
|
|
17717
|
-
const { mutateAsync: disableOrganization, isPending: isDisabling } =
|
|
17958
|
+
const { mutateAsync: disableOrganization, isPending: isDisabling } = useMutation16(
|
|
17718
17959
|
FrontierServiceQueries19.disableOrganization,
|
|
17719
17960
|
{
|
|
17720
17961
|
onSuccess: async () => {
|
|
@@ -17727,10 +17968,10 @@ var BlockOrganizationDialog = () => {
|
|
|
17727
17968
|
})
|
|
17728
17969
|
});
|
|
17729
17970
|
setIsDialogOpen(false);
|
|
17730
|
-
|
|
17971
|
+
toastManager17.add({ title: `${t.organization({ case: "capital" })} blocked`, type: "success" });
|
|
17731
17972
|
},
|
|
17732
17973
|
onError: (error) => {
|
|
17733
|
-
|
|
17974
|
+
toastManager17.add({
|
|
17734
17975
|
title: "Something went wrong",
|
|
17735
17976
|
description: error.rawMessage,
|
|
17736
17977
|
type: "error"
|
|
@@ -17739,7 +17980,7 @@ var BlockOrganizationDialog = () => {
|
|
|
17739
17980
|
}
|
|
17740
17981
|
}
|
|
17741
17982
|
);
|
|
17742
|
-
const { mutateAsync: enableOrganization, isPending: isEnabling } =
|
|
17983
|
+
const { mutateAsync: enableOrganization, isPending: isEnabling } = useMutation16(
|
|
17743
17984
|
FrontierServiceQueries19.enableOrganization,
|
|
17744
17985
|
{
|
|
17745
17986
|
onSuccess: async () => {
|
|
@@ -17752,10 +17993,10 @@ var BlockOrganizationDialog = () => {
|
|
|
17752
17993
|
})
|
|
17753
17994
|
});
|
|
17754
17995
|
setIsDialogOpen(false);
|
|
17755
|
-
|
|
17996
|
+
toastManager17.add({ title: `${t.organization({ case: "capital" })} unblocked`, type: "success" });
|
|
17756
17997
|
},
|
|
17757
17998
|
onError: (error) => {
|
|
17758
|
-
|
|
17999
|
+
toastManager17.add({
|
|
17759
18000
|
title: "Something went wrong",
|
|
17760
18001
|
description: error.rawMessage,
|
|
17761
18002
|
type: "error"
|
|
@@ -17867,13 +18108,13 @@ import {
|
|
|
17867
18108
|
AlertDialog as AlertDialog3,
|
|
17868
18109
|
Button as Button24,
|
|
17869
18110
|
Flex as Flex65,
|
|
17870
|
-
IconButton as
|
|
18111
|
+
IconButton as IconButton15,
|
|
17871
18112
|
Text as Text47,
|
|
17872
|
-
toastManager as
|
|
18113
|
+
toastManager as toastManager18
|
|
17873
18114
|
} from "@raystack/apsara";
|
|
17874
18115
|
|
|
17875
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
17876
|
-
var digest60 = "
|
|
18116
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-k4cBPk3ojj3g/sdk/admin/views/organizations/details/security/security.module.css.js
|
|
18117
|
+
var digest60 = "6103bc86f5b9a1e100a3d7c7eb61e69e3a75ad536689af45c548c0e662fb6158";
|
|
17877
18118
|
var css60 = `._container_1wkae_1 {
|
|
17878
18119
|
width: 100%;
|
|
17879
18120
|
}
|
|
@@ -17915,7 +18156,7 @@ var security_module_css_default3 = { "container": "_container_1wkae_1", "content
|
|
|
17915
18156
|
|
|
17916
18157
|
// admin/views/organizations/details/security/domains-list.tsx
|
|
17917
18158
|
import { useContext as useContext17, useState as useState27 } from "react";
|
|
17918
|
-
import { useMutation as
|
|
18159
|
+
import { useMutation as useMutation17, createConnectQueryKey as createConnectQueryKey11, useTransport as useTransport12 } from "@connectrpc/connect-query";
|
|
17919
18160
|
import { useQueryClient as useQueryClient13 } from "@tanstack/react-query";
|
|
17920
18161
|
import { FrontierServiceQueries as FrontierServiceQueries20, DeleteOrganizationDomainRequestSchema } from "@raystack/proton/frontier";
|
|
17921
18162
|
import { create as create20 } from "@bufbuild/protobuf";
|
|
@@ -17927,7 +18168,7 @@ var DeleteDomainDialog = ({
|
|
|
17927
18168
|
const [isDialogOpen, setIsDialogOpen] = useState27(false);
|
|
17928
18169
|
const queryClient = useQueryClient13();
|
|
17929
18170
|
const transport = useTransport12();
|
|
17930
|
-
const { mutateAsync: deleteDomain, isPending } =
|
|
18171
|
+
const { mutateAsync: deleteDomain, isPending } = useMutation17(
|
|
17931
18172
|
FrontierServiceQueries20.deleteOrganizationDomain,
|
|
17932
18173
|
{
|
|
17933
18174
|
onSuccess: () => {
|
|
@@ -17940,10 +18181,10 @@ var DeleteDomainDialog = ({
|
|
|
17940
18181
|
})
|
|
17941
18182
|
});
|
|
17942
18183
|
setIsDialogOpen(false);
|
|
17943
|
-
|
|
18184
|
+
toastManager18.add({ title: "Domain deleted", type: "success" });
|
|
17944
18185
|
},
|
|
17945
18186
|
onError: (error) => {
|
|
17946
|
-
|
|
18187
|
+
toastManager18.add({
|
|
17947
18188
|
title: "Something went wrong",
|
|
17948
18189
|
description: error.rawMessage,
|
|
17949
18190
|
type: "error"
|
|
@@ -17967,7 +18208,7 @@ var DeleteDomainDialog = ({
|
|
|
17967
18208
|
/* @__PURE__ */ jsx91(
|
|
17968
18209
|
AlertDialog3.Trigger,
|
|
17969
18210
|
{
|
|
17970
|
-
render: /* @__PURE__ */ jsx91(
|
|
18211
|
+
render: /* @__PURE__ */ jsx91(IconButton15, { size: 3, "data-test-id": "delete-domain-button", children: /* @__PURE__ */ jsx91(TrashIcon, {}) })
|
|
17971
18212
|
}
|
|
17972
18213
|
),
|
|
17973
18214
|
/* @__PURE__ */ jsxs69(AlertDialog3.Content, { children: [
|
|
@@ -18054,8 +18295,8 @@ var AddDomainSection = () => {
|
|
|
18054
18295
|
/* @__PURE__ */ jsx92(Text48, { size: "large", children: "Allowed email domains" }),
|
|
18055
18296
|
/* @__PURE__ */ jsx92(Text48, { size: "small", variant: "secondary", children: "Anyone with an email address at these domains is allowed to sign up for this workspace." })
|
|
18056
18297
|
] }),
|
|
18057
|
-
/* @__PURE__ */ jsxs70(
|
|
18058
|
-
/* @__PURE__ */ jsx92(
|
|
18298
|
+
/* @__PURE__ */ jsxs70(Tooltip6, { children: [
|
|
18299
|
+
/* @__PURE__ */ jsx92(Tooltip6.Trigger, { render: /* @__PURE__ */ jsx92(Flex66, { style: { alignSelf: "center" } }), children: /* @__PURE__ */ jsx92(
|
|
18059
18300
|
Button25,
|
|
18060
18301
|
{
|
|
18061
18302
|
variant: "outline",
|
|
@@ -18067,7 +18308,7 @@ var AddDomainSection = () => {
|
|
|
18067
18308
|
children: "Add domain"
|
|
18068
18309
|
}
|
|
18069
18310
|
) }),
|
|
18070
|
-
/* @__PURE__ */ jsx92(
|
|
18311
|
+
/* @__PURE__ */ jsx92(Tooltip6.Content, { side: "bottom", children: "Coming soon" })
|
|
18071
18312
|
] })
|
|
18072
18313
|
] });
|
|
18073
18314
|
};
|
|
@@ -18085,7 +18326,7 @@ var OrganizationSecurity = () => {
|
|
|
18085
18326
|
);
|
|
18086
18327
|
useEffect13(() => {
|
|
18087
18328
|
if (error) {
|
|
18088
|
-
|
|
18329
|
+
toastManager19.add({
|
|
18089
18330
|
title: "Something went wrong",
|
|
18090
18331
|
description: "Unable to fetch domains",
|
|
18091
18332
|
type: "error"
|
|
@@ -18114,8 +18355,8 @@ var OrganizationSecurity = () => {
|
|
|
18114
18355
|
// admin/views/organizations/details/members/index.tsx
|
|
18115
18356
|
import { AlertDialog as AlertDialog6, DataTable as DataTable16, EmptyState as EmptyState15, Flex as Flex69 } from "@raystack/apsara";
|
|
18116
18357
|
|
|
18117
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
18118
|
-
var digest61 = "
|
|
18358
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-6s0u88PsMmg9/sdk/admin/views/organizations/details/members/members.module.css.js
|
|
18359
|
+
var digest61 = "49477be2cf6aaffaa4896b2e81a6f4bcfba27b3063e26ace9a9f55813747ede1";
|
|
18119
18360
|
var css61 = `._container_jkaqi_1 {
|
|
18120
18361
|
width: 100%;
|
|
18121
18362
|
}
|
|
@@ -18176,11 +18417,11 @@ import {
|
|
|
18176
18417
|
Flex as Flex67,
|
|
18177
18418
|
Text as Text49,
|
|
18178
18419
|
Menu as Menu4,
|
|
18179
|
-
IconButton as
|
|
18420
|
+
IconButton as IconButton16
|
|
18180
18421
|
} from "@raystack/apsara";
|
|
18181
18422
|
|
|
18182
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
18183
|
-
var digest62 = "
|
|
18423
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-P7w1pyVG8wJJ/sdk/admin/views/organizations/details/members/members.module.css.js
|
|
18424
|
+
var digest62 = "70bde5f0def937292c479fdf11b8a1aa7af13167f1cfcd3a403bf0f8b5b6115d";
|
|
18184
18425
|
var css62 = `._container_jkaqi_1 {
|
|
18185
18426
|
width: 100%;
|
|
18186
18427
|
}
|
|
@@ -18371,7 +18612,7 @@ var getColumns12 = ({
|
|
|
18371
18612
|
/* @__PURE__ */ jsx94(
|
|
18372
18613
|
Menu4.Trigger,
|
|
18373
18614
|
{
|
|
18374
|
-
render: /* @__PURE__ */ jsx94(
|
|
18615
|
+
render: /* @__PURE__ */ jsx94(IconButton16, { size: 3, "data-test-id": "admin-members-action-menu", children: /* @__PURE__ */ jsx94(DotsHorizontalIcon, {}) })
|
|
18375
18616
|
}
|
|
18376
18617
|
),
|
|
18377
18618
|
/* @__PURE__ */ jsxs71(Menu4.Content, { className: members_module_css_default2["table-action-dropdown"], children: [
|
|
@@ -18430,12 +18671,12 @@ import {
|
|
|
18430
18671
|
SetOrganizationMemberRoleRequestSchema as SetOrganizationMemberRoleRequestSchema2
|
|
18431
18672
|
} from "@raystack/proton/frontier";
|
|
18432
18673
|
import { create as create22 } from "@bufbuild/protobuf";
|
|
18433
|
-
import { useMutation as
|
|
18674
|
+
import { useMutation as useMutation18 } from "@connectrpc/connect-query";
|
|
18434
18675
|
import {
|
|
18435
18676
|
AlertDialog as AlertDialog5,
|
|
18436
18677
|
Button as Button26,
|
|
18437
18678
|
Text as Text50,
|
|
18438
|
-
toastManager as
|
|
18679
|
+
toastManager as toastManager20
|
|
18439
18680
|
} from "@raystack/apsara";
|
|
18440
18681
|
import { ConnectError as ConnectError3 } from "@connectrpc/connect";
|
|
18441
18682
|
import { jsx as jsx95, jsxs as jsxs72 } from "react/jsx-runtime";
|
|
@@ -18463,7 +18704,7 @@ function UpdateRoleContent({
|
|
|
18463
18704
|
onClose,
|
|
18464
18705
|
onRoleUpdate
|
|
18465
18706
|
}) {
|
|
18466
|
-
const { mutateAsync: setMemberRole, isPending } =
|
|
18707
|
+
const { mutateAsync: setMemberRole, isPending } = useMutation18(
|
|
18467
18708
|
FrontierServiceQueries22.setOrganizationMemberRole
|
|
18468
18709
|
);
|
|
18469
18710
|
async function onSubmit() {
|
|
@@ -18476,13 +18717,13 @@ function UpdateRoleContent({
|
|
|
18476
18717
|
})
|
|
18477
18718
|
);
|
|
18478
18719
|
onRoleUpdate();
|
|
18479
|
-
|
|
18720
|
+
toastManager20.add({
|
|
18480
18721
|
title: "Role assigned successfully",
|
|
18481
18722
|
type: "success"
|
|
18482
18723
|
});
|
|
18483
18724
|
onClose();
|
|
18484
18725
|
} catch (error) {
|
|
18485
|
-
|
|
18726
|
+
toastManager20.add({
|
|
18486
18727
|
title: "Failed to assign role",
|
|
18487
18728
|
description: error instanceof ConnectError3 ? error.message : void 0,
|
|
18488
18729
|
type: "error"
|
|
@@ -18527,8 +18768,8 @@ import {
|
|
|
18527
18768
|
RemoveOrganizationMemberRequestSchema
|
|
18528
18769
|
} from "@raystack/proton/frontier";
|
|
18529
18770
|
import { create as create23 } from "@bufbuild/protobuf";
|
|
18530
|
-
import { useMutation as
|
|
18531
|
-
import { Button as Button27, Dialog as Dialog11, Flex as Flex68, Text as Text51, toastManager as
|
|
18771
|
+
import { useMutation as useMutation19 } from "@connectrpc/connect-query";
|
|
18772
|
+
import { Button as Button27, Dialog as Dialog11, Flex as Flex68, Text as Text51, toastManager as toastManager21 } from "@raystack/apsara";
|
|
18532
18773
|
import { jsx as jsx96, jsxs as jsxs73 } from "react/jsx-runtime";
|
|
18533
18774
|
var RemoveMember = ({
|
|
18534
18775
|
organizationId,
|
|
@@ -18537,7 +18778,7 @@ var RemoveMember = ({
|
|
|
18537
18778
|
onClose
|
|
18538
18779
|
}) => {
|
|
18539
18780
|
const t = useTerminology();
|
|
18540
|
-
const { mutateAsync: removeOrganizationMember, isPending } =
|
|
18781
|
+
const { mutateAsync: removeOrganizationMember, isPending } = useMutation19(
|
|
18541
18782
|
FrontierServiceQueries23.removeOrganizationMember
|
|
18542
18783
|
);
|
|
18543
18784
|
async function onSubmit() {
|
|
@@ -18554,15 +18795,15 @@ var RemoveMember = ({
|
|
|
18554
18795
|
if (onRemove) {
|
|
18555
18796
|
onRemove(user);
|
|
18556
18797
|
}
|
|
18557
|
-
|
|
18798
|
+
toastManager21.add({ title: `${t.member({ case: "capital" })} removed successfully`, type: "success" });
|
|
18558
18799
|
} catch (error) {
|
|
18559
18800
|
console.error(error);
|
|
18560
18801
|
handleConnectError(error, {
|
|
18561
|
-
PermissionDenied: () =>
|
|
18802
|
+
PermissionDenied: () => toastManager21.add({
|
|
18562
18803
|
title: "You don't have permission to perform this action",
|
|
18563
18804
|
type: "error"
|
|
18564
18805
|
}),
|
|
18565
|
-
Default: (err) =>
|
|
18806
|
+
Default: (err) => toastManager21.add({
|
|
18566
18807
|
title: `Failed to remove ${t.member({ case: "lower" })}`,
|
|
18567
18808
|
description: err.rawMessage,
|
|
18568
18809
|
type: "error"
|
|
@@ -18875,8 +19116,8 @@ import {
|
|
|
18875
19116
|
Flex as Flex76
|
|
18876
19117
|
} from "@raystack/apsara";
|
|
18877
19118
|
|
|
18878
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
18879
|
-
var digest63 = "
|
|
19119
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-lJhl52a1jtK7/sdk/admin/views/organizations/details/projects/projects.module.css.js
|
|
19120
|
+
var digest63 = "928750889c16ee0ff30edc60b10fefd6abf2bc1eb8d07123a810a704010ff4d3";
|
|
18880
19121
|
var css63 = `._container_1xzwm_1 {
|
|
18881
19122
|
width: 100%;
|
|
18882
19123
|
}
|
|
@@ -18944,8 +19185,8 @@ import {
|
|
|
18944
19185
|
Menu as Menu5
|
|
18945
19186
|
} from "@raystack/apsara";
|
|
18946
19187
|
|
|
18947
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
18948
|
-
var digest64 = "
|
|
19188
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-kp9LJZz9eeCZ/sdk/admin/views/organizations/details/projects/projects.module.css.js
|
|
19189
|
+
var digest64 = "234b1c51643b3025ca0bc52a6088344b62753c7af96dd95501f7a164dc8eca78";
|
|
18949
19190
|
var css64 = `._container_1xzwm_1 {
|
|
18950
19191
|
width: 100%;
|
|
18951
19192
|
}
|
|
@@ -19004,7 +19245,7 @@ var projects_module_css_default2 = { "container": "_container_1xzwm_1", "title-c
|
|
|
19004
19245
|
import dayjs14 from "dayjs";
|
|
19005
19246
|
|
|
19006
19247
|
// admin/views/organizations/details/projects/rename-project.tsx
|
|
19007
|
-
import { Button as Button28, Dialog as Dialog12, Field as Field5, Flex as Flex70, Input as Input8, toastManager as
|
|
19248
|
+
import { Button as Button28, Dialog as Dialog12, Field as Field5, Flex as Flex70, Input as Input8, toastManager as toastManager22 } from "@raystack/apsara";
|
|
19008
19249
|
import {
|
|
19009
19250
|
FrontierServiceQueries as FrontierServiceQueries24,
|
|
19010
19251
|
UpdateProjectRequestSchema
|
|
@@ -19012,7 +19253,7 @@ import {
|
|
|
19012
19253
|
import { create as create24 } from "@bufbuild/protobuf";
|
|
19013
19254
|
import { zodResolver as zodResolver11 } from "@hookform/resolvers/zod";
|
|
19014
19255
|
import { useForm as useForm11, Controller as Controller8 } from "react-hook-form";
|
|
19015
|
-
import { useMutation as
|
|
19256
|
+
import { useMutation as useMutation20 } from "@connectrpc/connect-query";
|
|
19016
19257
|
import { jsx as jsx98, jsxs as jsxs75 } from "react/jsx-runtime";
|
|
19017
19258
|
var projectRenameSchema = external_exports.object({
|
|
19018
19259
|
title: external_exports.string(),
|
|
@@ -19038,7 +19279,7 @@ function RenameProjectDialog({
|
|
|
19038
19279
|
},
|
|
19039
19280
|
resolver: zodResolver11(projectRenameSchema)
|
|
19040
19281
|
});
|
|
19041
|
-
const { mutateAsync: updateProject } =
|
|
19282
|
+
const { mutateAsync: updateProject } = useMutation20(
|
|
19042
19283
|
FrontierServiceQueries24.updateProject
|
|
19043
19284
|
);
|
|
19044
19285
|
const submit = async (data) => {
|
|
@@ -19051,7 +19292,7 @@ function RenameProjectDialog({
|
|
|
19051
19292
|
);
|
|
19052
19293
|
const newProject = resp.project;
|
|
19053
19294
|
if (newProject) {
|
|
19054
|
-
|
|
19295
|
+
toastManager22.add({ title: `${t.project({ case: "capital" })} renamed successfully`, type: "success" });
|
|
19055
19296
|
onRename({
|
|
19056
19297
|
...project,
|
|
19057
19298
|
title: newProject.title,
|
|
@@ -19061,15 +19302,15 @@ function RenameProjectDialog({
|
|
|
19061
19302
|
} catch (error) {
|
|
19062
19303
|
console.error(error);
|
|
19063
19304
|
handleConnectError(error, {
|
|
19064
|
-
AlreadyExists: () =>
|
|
19305
|
+
AlreadyExists: () => toastManager22.add({
|
|
19065
19306
|
title: `${t.project({ case: "capital" })} with this name already exists`,
|
|
19066
19307
|
type: "error"
|
|
19067
19308
|
}),
|
|
19068
|
-
PermissionDenied: () =>
|
|
19309
|
+
PermissionDenied: () => toastManager22.add({
|
|
19069
19310
|
title: "You don't have permission to perform this action",
|
|
19070
19311
|
type: "error"
|
|
19071
19312
|
}),
|
|
19072
|
-
Default: (err) =>
|
|
19313
|
+
Default: (err) => toastManager22.add({
|
|
19073
19314
|
title: `Failed to rename ${t.project({ case: "lower" })}`,
|
|
19074
19315
|
description: err.rawMessage,
|
|
19075
19316
|
type: "error"
|
|
@@ -19139,8 +19380,8 @@ import { useState as useState31 } from "react";
|
|
|
19139
19380
|
|
|
19140
19381
|
// admin/views/organizations/details/projects/use-add-project-members.tsx
|
|
19141
19382
|
import { useCallback as useCallback13, useContext as useContext20, useMemo as useMemo12, useState as useState30 } from "react";
|
|
19142
|
-
import { toastManager as
|
|
19143
|
-
import { useQuery as useQuery18, useMutation as
|
|
19383
|
+
import { toastManager as toastManager23 } from "@raystack/apsara";
|
|
19384
|
+
import { useQuery as useQuery18, useMutation as useMutation21 } from "@connectrpc/connect-query";
|
|
19144
19385
|
import { FrontierServiceQueries as FrontierServiceQueries25, ListProjectUsersRequestSchema, ListRolesRequestSchema as ListRolesRequestSchema3, SetProjectMemberRoleRequestSchema } from "@raystack/proton/frontier";
|
|
19145
19386
|
import { create as create25 } from "@bufbuild/protobuf";
|
|
19146
19387
|
function useAddProjectMembers({ projectId }) {
|
|
@@ -19184,7 +19425,7 @@ function useAddProjectMembers({ projectId }) {
|
|
|
19184
19425
|
() => rolesData?.roles?.find((r) => r.name === DEFAULT_ROLES.PROJECT_VIEWER)?.id ?? "",
|
|
19185
19426
|
[rolesData]
|
|
19186
19427
|
);
|
|
19187
|
-
const { mutateAsync: setProjectMemberRole } =
|
|
19428
|
+
const { mutateAsync: setProjectMemberRole } = useMutation21(
|
|
19188
19429
|
FrontierServiceQueries25.setProjectMemberRole
|
|
19189
19430
|
);
|
|
19190
19431
|
const addMember = useCallback13(
|
|
@@ -19200,15 +19441,15 @@ function useAddProjectMembers({ projectId }) {
|
|
|
19200
19441
|
roleId: viewerRoleId
|
|
19201
19442
|
})
|
|
19202
19443
|
);
|
|
19203
|
-
|
|
19444
|
+
toastManager23.add({ title: `${memberLabel} added`, type: "success" });
|
|
19204
19445
|
await refetch();
|
|
19205
19446
|
return projectMembers;
|
|
19206
19447
|
} catch (error) {
|
|
19207
19448
|
handleConnectError(error, {
|
|
19208
|
-
AlreadyExists: () =>
|
|
19209
|
-
PermissionDenied: () =>
|
|
19210
|
-
InvalidArgument: (err) =>
|
|
19211
|
-
Default: (err) =>
|
|
19449
|
+
AlreadyExists: () => toastManager23.add({ title: `${memberLabel} already exists in this project`, type: "error" }),
|
|
19450
|
+
PermissionDenied: () => toastManager23.add({ title: "You don't have permission to perform this action", type: "error" }),
|
|
19451
|
+
InvalidArgument: (err) => toastManager23.add({ title: "Invalid input", description: err.rawMessage, type: "error" }),
|
|
19452
|
+
Default: (err) => toastManager23.add({ title: "Something went wrong", description: err.rawMessage, type: "error" })
|
|
19212
19453
|
});
|
|
19213
19454
|
}
|
|
19214
19455
|
},
|
|
@@ -19469,8 +19710,8 @@ import { create as create28 } from "@bufbuild/protobuf";
|
|
|
19469
19710
|
import { useQuery as useQuery19, useInfiniteQuery as useInfiniteQuery6 } from "@connectrpc/connect-query";
|
|
19470
19711
|
import { useDebouncedState as useDebouncedState4 } from "@raystack/apsara/hooks";
|
|
19471
19712
|
|
|
19472
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
19473
|
-
var digest65 = "
|
|
19713
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-Yy8c7apU7V1t/sdk/admin/views/organizations/details/projects/members/members.module.css.js
|
|
19714
|
+
var digest65 = "7969209bb0328c1577ae6ff6f99f31ee9281a0b818fd79393df0f924400a3075";
|
|
19474
19715
|
var css65 = `._flex1_65nkt_1 {
|
|
19475
19716
|
flex: 1;
|
|
19476
19717
|
}
|
|
@@ -19558,8 +19799,8 @@ var css65 = `._flex1_65nkt_1 {
|
|
|
19558
19799
|
})();
|
|
19559
19800
|
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" };
|
|
19560
19801
|
|
|
19561
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
19562
|
-
var digest66 = "
|
|
19802
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-qAwnxu5ysKhp/sdk/admin/views/organizations/details/projects/members/members.module.css.js
|
|
19803
|
+
var digest66 = "85a365d292dae55d545c799fe76defdd04a9dd32c5f5ded42064ddf791dcaf1f";
|
|
19563
19804
|
var css66 = `._flex1_65nkt_1 {
|
|
19564
19805
|
flex: 1;
|
|
19565
19806
|
}
|
|
@@ -19775,8 +20016,8 @@ var getColumns14 = ({
|
|
|
19775
20016
|
];
|
|
19776
20017
|
};
|
|
19777
20018
|
|
|
19778
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
19779
|
-
var digest67 = "
|
|
20019
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-4rZUN0rpAm6M/sdk/admin/views/organizations/details/projects/members/members.module.css.js
|
|
20020
|
+
var digest67 = "75e1e776c6762f84735235d9d2417b59c4cf994ced463a5e485ebb8dd5564264";
|
|
19780
20021
|
var css67 = `._flex1_65nkt_1 {
|
|
19781
20022
|
flex: 1;
|
|
19782
20023
|
}
|
|
@@ -19871,12 +20112,12 @@ import {
|
|
|
19871
20112
|
} from "@raystack/proton/frontier";
|
|
19872
20113
|
import { create as create26 } from "@bufbuild/protobuf";
|
|
19873
20114
|
import { ConnectError as ConnectError4 } from "@connectrpc/connect";
|
|
19874
|
-
import { useMutation as
|
|
20115
|
+
import { useMutation as useMutation22 } from "@connectrpc/connect-query";
|
|
19875
20116
|
import {
|
|
19876
20117
|
AlertDialog as AlertDialog8,
|
|
19877
20118
|
Button as Button29,
|
|
19878
20119
|
Text as Text54,
|
|
19879
|
-
toastManager as
|
|
20120
|
+
toastManager as toastManager24
|
|
19880
20121
|
} from "@raystack/apsara";
|
|
19881
20122
|
import { jsx as jsx101, jsxs as jsxs78 } from "react/jsx-runtime";
|
|
19882
20123
|
var UpdateRole2 = ({
|
|
@@ -19903,7 +20144,7 @@ function UpdateRoleContent2({
|
|
|
19903
20144
|
onClose,
|
|
19904
20145
|
onRoleUpdate
|
|
19905
20146
|
}) {
|
|
19906
|
-
const { mutateAsync: setProjectMemberRole, isPending } =
|
|
20147
|
+
const { mutateAsync: setProjectMemberRole, isPending } = useMutation22(
|
|
19907
20148
|
FrontierServiceQueries26.setProjectMemberRole
|
|
19908
20149
|
);
|
|
19909
20150
|
async function onSubmit() {
|
|
@@ -19917,13 +20158,13 @@ function UpdateRoleContent2({
|
|
|
19917
20158
|
})
|
|
19918
20159
|
);
|
|
19919
20160
|
onRoleUpdate();
|
|
19920
|
-
|
|
20161
|
+
toastManager24.add({
|
|
19921
20162
|
title: "Role assigned successfully",
|
|
19922
20163
|
type: "success"
|
|
19923
20164
|
});
|
|
19924
20165
|
onClose();
|
|
19925
20166
|
} catch (error) {
|
|
19926
|
-
|
|
20167
|
+
toastManager24.add({
|
|
19927
20168
|
title: "Failed to assign role",
|
|
19928
20169
|
description: error instanceof ConnectError4 ? error.message : void 0,
|
|
19929
20170
|
type: "error"
|
|
@@ -19976,10 +20217,10 @@ import {
|
|
|
19976
20217
|
RemoveProjectMemberRequestSchema
|
|
19977
20218
|
} from "@raystack/proton/frontier";
|
|
19978
20219
|
import { create as create27 } from "@bufbuild/protobuf";
|
|
19979
|
-
import { useMutation as
|
|
20220
|
+
import { useMutation as useMutation23 } from "@connectrpc/connect-query";
|
|
19980
20221
|
|
|
19981
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
19982
|
-
var digest68 = "
|
|
20222
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-e0EZUWV5Rxzl/sdk/admin/views/organizations/details/projects/members/members.module.css.js
|
|
20223
|
+
var digest68 = "9897540c388f2522821540b15f96e5717d3259fd7ad69efb76716b48f1bd8146";
|
|
19983
20224
|
var css68 = `._flex1_65nkt_1 {
|
|
19984
20225
|
flex: 1;
|
|
19985
20226
|
}
|
|
@@ -20068,7 +20309,7 @@ var css68 = `._flex1_65nkt_1 {
|
|
|
20068
20309
|
var members_module_css_default6 = { "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" };
|
|
20069
20310
|
|
|
20070
20311
|
// admin/views/organizations/details/projects/members/remove-member.tsx
|
|
20071
|
-
import { AlertDialog as AlertDialog9, Button as Button30, Flex as Flex73, Text as Text55, toastManager as
|
|
20312
|
+
import { AlertDialog as AlertDialog9, Button as Button30, Flex as Flex73, Text as Text55, toastManager as toastManager25 } from "@raystack/apsara";
|
|
20072
20313
|
import { jsx as jsx102, jsxs as jsxs79 } from "react/jsx-runtime";
|
|
20073
20314
|
var RemoveMember2 = ({
|
|
20074
20315
|
projectId,
|
|
@@ -20078,7 +20319,7 @@ var RemoveMember2 = ({
|
|
|
20078
20319
|
}) => {
|
|
20079
20320
|
const t = useTerminology();
|
|
20080
20321
|
const [isSubmitting, setIsSubmitting] = useState32(false);
|
|
20081
|
-
const { mutateAsync: removeProjectMember } =
|
|
20322
|
+
const { mutateAsync: removeProjectMember } = useMutation23(
|
|
20082
20323
|
FrontierServiceQueries27.removeProjectMember
|
|
20083
20324
|
);
|
|
20084
20325
|
async function onSubmit() {
|
|
@@ -20096,15 +20337,15 @@ var RemoveMember2 = ({
|
|
|
20096
20337
|
if (onRemove) {
|
|
20097
20338
|
onRemove(user);
|
|
20098
20339
|
}
|
|
20099
|
-
|
|
20340
|
+
toastManager25.add({ title: `${t.member({ case: "capital" })} removed successfully`, type: "success" });
|
|
20100
20341
|
} catch (error) {
|
|
20101
20342
|
console.error(error);
|
|
20102
20343
|
handleConnectError(error, {
|
|
20103
|
-
PermissionDenied: () =>
|
|
20344
|
+
PermissionDenied: () => toastManager25.add({
|
|
20104
20345
|
title: "You don't have permission to perform this action",
|
|
20105
20346
|
type: "error"
|
|
20106
20347
|
}),
|
|
20107
|
-
Default: (err) =>
|
|
20348
|
+
Default: (err) => toastManager25.add({
|
|
20108
20349
|
title: `Failed to remove ${t.member({ case: "lower" })}`,
|
|
20109
20350
|
description: err.rawMessage,
|
|
20110
20351
|
type: "error"
|
|
@@ -20183,8 +20424,8 @@ import {
|
|
|
20183
20424
|
Text as Text56
|
|
20184
20425
|
} from "@raystack/apsara";
|
|
20185
20426
|
|
|
20186
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
20187
|
-
var digest69 = "
|
|
20427
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-jAo3wKH98YXE/sdk/admin/views/organizations/details/projects/members/members.module.css.js
|
|
20428
|
+
var digest69 = "048f8075ba730ee6d01b55c88a421fcb899a462b94cc36394f8b2a971f0cc009";
|
|
20188
20429
|
var css69 = `._flex1_65nkt_1 {
|
|
20189
20430
|
flex: 1;
|
|
20190
20431
|
}
|
|
@@ -20708,8 +20949,8 @@ function OrganizationProjectsView() {
|
|
|
20708
20949
|
// admin/views/organizations/details/invoices/index.tsx
|
|
20709
20950
|
import { DataTable as DataTable19, EmptyState as EmptyState18, Flex as Flex77 } from "@raystack/apsara";
|
|
20710
20951
|
|
|
20711
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
20712
|
-
var digest70 = "
|
|
20952
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-ptJJZ2HWKUqs/sdk/admin/views/organizations/details/invoices/invoices.module.css.js
|
|
20953
|
+
var digest70 = "b778680475646e3dfb22f0da7a07d60bc5fa6b3d2d7dea51800df39258eeff58";
|
|
20713
20954
|
var css70 = `._empty-state_ct7gw_1 {
|
|
20714
20955
|
height: 100%;
|
|
20715
20956
|
}
|
|
@@ -20755,8 +20996,8 @@ var invoices_module_css_default4 = { "empty-state": "_empty-state_ct7gw_1", "emp
|
|
|
20755
20996
|
// admin/views/organizations/details/invoices/index.tsx
|
|
20756
20997
|
import { useContext as useContext22, useEffect as useEffect17, useMemo as useMemo15, useState as useState35 } from "react";
|
|
20757
20998
|
|
|
20758
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
20759
|
-
var digest71 = "
|
|
20999
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-xtltSCLjaJ6K/sdk/admin/views/organizations/details/invoices/invoices.module.css.js
|
|
21000
|
+
var digest71 = "8e2af18d92f3a7e9d8f5e62ead558a0ba07f6ae3fe4e0c0527b046699fbdb940";
|
|
20760
21001
|
var css71 = `._empty-state_ct7gw_1 {
|
|
20761
21002
|
height: 100%;
|
|
20762
21003
|
}
|
|
@@ -21036,8 +21277,8 @@ function OrganizationInvoicesView() {
|
|
|
21036
21277
|
// admin/views/organizations/details/tokens/index.tsx
|
|
21037
21278
|
import { DataTable as DataTable20, EmptyState as EmptyState19, Flex as Flex79 } from "@raystack/apsara";
|
|
21038
21279
|
|
|
21039
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
21040
|
-
var digest72 = "
|
|
21280
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-ymRJjXZ1n485/sdk/admin/views/organizations/details/tokens/tokens.module.css.js
|
|
21281
|
+
var digest72 = "06cbe592339cfdd67ed94b79b593b7f7fd80aecc7f504982964d0d3dc813d158";
|
|
21041
21282
|
var css72 = `._empty-state_1mf09_1 {
|
|
21042
21283
|
height: 100%;
|
|
21043
21284
|
}
|
|
@@ -21097,8 +21338,8 @@ import { useContext as useContext23, useEffect as useEffect18, useMemo as useMem
|
|
|
21097
21338
|
import { FrontierServiceQueries as FrontierServiceQueries30 } from "@raystack/proton/frontier";
|
|
21098
21339
|
import { useInfiniteQuery as useInfiniteQuery9 } from "@connectrpc/connect-query";
|
|
21099
21340
|
|
|
21100
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
21101
|
-
var digest73 = "
|
|
21341
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-lg0x3tuYIG54/sdk/admin/views/organizations/details/tokens/tokens.module.css.js
|
|
21342
|
+
var digest73 = "d53a98a5cc1533b3ea7bcac1606529945712fd4eca282f33b414241d7c5715f9";
|
|
21102
21343
|
var css73 = `._empty-state_1mf09_1 {
|
|
21103
21344
|
height: 100%;
|
|
21104
21345
|
}
|
|
@@ -21159,7 +21400,7 @@ import {
|
|
|
21159
21400
|
Flex as Flex78,
|
|
21160
21401
|
getAvatarColor as getAvatarColor12,
|
|
21161
21402
|
Text as Text57,
|
|
21162
|
-
Tooltip as
|
|
21403
|
+
Tooltip as Tooltip7
|
|
21163
21404
|
} from "@raystack/apsara";
|
|
21164
21405
|
import { jsx as jsx108, jsxs as jsxs84 } from "react/jsx-runtime";
|
|
21165
21406
|
var getColumns16 = ({ t }) => {
|
|
@@ -21202,14 +21443,14 @@ var getColumns16 = ({ t }) => {
|
|
|
21202
21443
|
const text = getValue() ?? "";
|
|
21203
21444
|
if (!text)
|
|
21204
21445
|
return text;
|
|
21205
|
-
return /* @__PURE__ */ jsxs84(
|
|
21446
|
+
return /* @__PURE__ */ jsxs84(Tooltip7, { children: [
|
|
21206
21447
|
/* @__PURE__ */ jsx108(
|
|
21207
|
-
|
|
21448
|
+
Tooltip7.Trigger,
|
|
21208
21449
|
{
|
|
21209
21450
|
render: /* @__PURE__ */ jsx108("span", { className: tokens_module_css_default2["truncate-text"], children: text })
|
|
21210
21451
|
}
|
|
21211
21452
|
),
|
|
21212
|
-
/* @__PURE__ */ jsx108(
|
|
21453
|
+
/* @__PURE__ */ jsx108(Tooltip7.Content, { children: text })
|
|
21213
21454
|
] });
|
|
21214
21455
|
},
|
|
21215
21456
|
enableHiding: true
|
|
@@ -21381,8 +21622,8 @@ function OrganizationTokensView() {
|
|
|
21381
21622
|
// admin/views/organizations/details/apis/index.tsx
|
|
21382
21623
|
import { DataTable as DataTable21, EmptyState as EmptyState20, Flex as Flex81 } from "@raystack/apsara";
|
|
21383
21624
|
|
|
21384
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
21385
|
-
var digest74 = "
|
|
21625
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-E9Lg1c7OK3Vx/sdk/admin/views/organizations/details/apis/apis.module.css.js
|
|
21626
|
+
var digest74 = "3b28383bdbfe8e57aa462319087ee23dbdc1d268de1660b14131051b70dedbb2";
|
|
21386
21627
|
var css74 = `._empty-state_r9k2f_1 {
|
|
21387
21628
|
height: 100%;
|
|
21388
21629
|
}
|
|
@@ -21467,8 +21708,8 @@ import { useCallback as useCallback16, useContext as useContext24, useEffect as
|
|
|
21467
21708
|
import { Text as Text58 } from "@raystack/apsara";
|
|
21468
21709
|
import dayjs17 from "dayjs";
|
|
21469
21710
|
|
|
21470
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
21471
|
-
var digest75 = "
|
|
21711
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-nVySIVkJI4Rk/sdk/admin/views/organizations/details/apis/apis.module.css.js
|
|
21712
|
+
var digest75 = "b35b32c10240608bac87673295b6cd5fa01ade6f4b30ae8d784c9f3252d6dd17";
|
|
21472
21713
|
var css75 = `._empty-state_r9k2f_1 {
|
|
21473
21714
|
height: 100%;
|
|
21474
21715
|
}
|
|
@@ -21590,10 +21831,10 @@ function getColumns17(options) {
|
|
|
21590
21831
|
}
|
|
21591
21832
|
|
|
21592
21833
|
// admin/views/organizations/details/apis/details-dialog.tsx
|
|
21593
|
-
import { Dialog as Dialog14, Flex as Flex80, Skeleton as Skeleton4, Tabs, Text as Text59, toastManager as
|
|
21834
|
+
import { Dialog as Dialog14, Flex as Flex80, Skeleton as Skeleton4, Tabs, Text as Text59, toastManager as toastManager26 } from "@raystack/apsara";
|
|
21594
21835
|
|
|
21595
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
21596
|
-
var digest76 = "
|
|
21836
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-5gAhT1msIFGi/sdk/admin/views/organizations/details/apis/apis.module.css.js
|
|
21837
|
+
var digest76 = "67e6297fec5253123323822dbc9494576bbada20d25beae7beccd0139e23fb37";
|
|
21597
21838
|
var css76 = `._empty-state_r9k2f_1 {
|
|
21598
21839
|
height: 100%;
|
|
21599
21840
|
}
|
|
@@ -21719,7 +21960,7 @@ var ServiceUserDetailsDialog = ({
|
|
|
21719
21960
|
});
|
|
21720
21961
|
useEffect19(() => {
|
|
21721
21962
|
if (projectError) {
|
|
21722
|
-
|
|
21963
|
+
toastManager26.add({
|
|
21723
21964
|
title: "Something went wrong",
|
|
21724
21965
|
description: "Unable to fetch projects",
|
|
21725
21966
|
type: "error"
|
|
@@ -21727,7 +21968,7 @@ var ServiceUserDetailsDialog = ({
|
|
|
21727
21968
|
console.error("Unable to fetch projects:", projectError);
|
|
21728
21969
|
}
|
|
21729
21970
|
if (tokenError) {
|
|
21730
|
-
|
|
21971
|
+
toastManager26.add({
|
|
21731
21972
|
title: "Something went wrong",
|
|
21732
21973
|
description: "Unable to fetch tokens",
|
|
21733
21974
|
type: "error"
|
|
@@ -21998,8 +22239,8 @@ var getInitials = function(name = "") {
|
|
|
21998
22239
|
return initials;
|
|
21999
22240
|
};
|
|
22000
22241
|
|
|
22001
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
22002
|
-
var digest77 = "
|
|
22242
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-9TwK58chpmTe/sdk/admin/views/organizations/details/pat/pat.module.css.js
|
|
22243
|
+
var digest77 = "2fd7ea2bcf109fed918a1c22fd81de1e5ffcfea328e2499c77dda146fb362b9a";
|
|
22003
22244
|
var css77 = `._empty-state_1xap9_1 {
|
|
22004
22245
|
height: 100%;
|
|
22005
22246
|
}
|
|
@@ -22181,8 +22422,8 @@ import {
|
|
|
22181
22422
|
FrontierServiceQueries as FrontierServiceQueries32
|
|
22182
22423
|
} from "@raystack/proton/frontier";
|
|
22183
22424
|
|
|
22184
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
22185
|
-
var digest78 = "
|
|
22425
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-OykWpLjUSNbC/sdk/admin/views/organizations/details/pat/components/pat-details-dialog.module.css.js
|
|
22426
|
+
var digest78 = "500a3d778f92f19aacea2978fb147ec0c21a1cf75cb34faf4b595fbcbb138a30";
|
|
22186
22427
|
var css78 = `._details-dialog_1dwlo_1 {
|
|
22187
22428
|
width: 100%;
|
|
22188
22429
|
max-width: 400px;
|
|
@@ -22373,8 +22614,8 @@ function PatDetailsDialog({
|
|
|
22373
22614
|
] }) });
|
|
22374
22615
|
}
|
|
22375
22616
|
|
|
22376
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
22377
|
-
var digest79 = "
|
|
22617
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2414-GUgENfkKw5Cq/sdk/admin/views/organizations/details/pat/pat.module.css.js
|
|
22618
|
+
var digest79 = "5b743e1c50ad13944f17a275fe24f89ea971d047a894d8e72aded3aaf31140b2";
|
|
22378
22619
|
var css79 = `._empty-state_1xap9_1 {
|
|
22379
22620
|
height: 100%;
|
|
22380
22621
|
}
|