@raystack/frontier 0.107.0 → 0.107.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/admin/dist/index.js +419 -186
- package/admin/dist/index.mjs +508 -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-2410-PTFb1CSuUcWO/sdk/admin/views/roles/roles.module.css.js
|
|
200
|
+
var digest = "4d8051fdbf82065e905ea0729fd683ea72a6f5780b22c3940e6bee80e18fb786";
|
|
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-2410-kk5GFtnW2Pwh/sdk/admin/components/page-header.module.css.js
|
|
719
|
+
var digest2 = "09dc599f34416ae7b138b137d2326f93ede1b5730293f3813e77ad75a4bb0f5d";
|
|
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-2410-dElwqHeY44xM/sdk/admin/views/roles/roles.module.css.js
|
|
842
|
+
var digest3 = "2672802ca6a5a39f72519f3f237eef2ef9048c17105814413e9bd0cabfebaddb";
|
|
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-2410-1O5OKwpghtFS/sdk/admin/views/invoices/invoices.module.css.js
|
|
1039
|
+
var digest4 = "883ed2ef151551394206dce829b2d63ca6512f39e434df07bdc8238fb6aeca2c";
|
|
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-2410-1fpCQqEsDl6g/sdk/admin/views/invoices/invoices.module.css.js
|
|
1158
|
+
var digest5 = "a5c21255352a28102e29ea4aa3eac71e34a2b7025b1c09d5b5be773b8fe1f97c";
|
|
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-2410-i5dstcSjIYGA/sdk/admin/views/invoices/invoices.module.css.js
|
|
1233
|
+
var digest6 = "140ff6b29f039499a23699f83f84300eb7eed44c241ddecad95620c1533311fa";
|
|
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-2410-sqpd6sRlsh8Z/sdk/admin/views/products/products.module.css.js
|
|
1691
|
+
var digest7 = "178575361a0f4841a62bb3a1f9492c4653db92e539a0ccd285c73844227c115b";
|
|
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-2410-BseKMX0Ky9vP/sdk/admin/views/products/products.module.css.js
|
|
1861
|
+
var digest8 = "d0557fe49f9400af1cf176348da2b59384196ac41357728c15acc006f690e848";
|
|
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-2410-gCUNtCWSL71h/sdk/admin/views/products/products.module.css.js
|
|
1919
|
+
var digest9 = "abe7c7b65013dc185e4e92771727c0d75ce5ee38351b3844cf63e93ed15f22b2";
|
|
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-2410-TUD0XveS7iwL/sdk/admin/views/products/prices/prices.module.css.js
|
|
2117
|
+
var digest10 = "7db1f5590183d16d2adeb59b64e4094e0e4178e05149177b0cd20d45515622f1";
|
|
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-2410-8X8Icb6ehl1g/sdk/admin/views/products/products.module.css.js
|
|
2220
|
+
var digest11 = "e9009cb0a0c2b83fb7454553d42523653ad2da63530829a8774df89cbe2abef0";
|
|
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-2410-Km3OZaVol0vL/sdk/admin/views/audit-logs/audit-logs.module.css.js
|
|
2383
|
+
var digest12 = "567883cfa188c15c64902729c9d2cc034b0717f26fde73784e2c2e346eb40db9";
|
|
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-2410-6ztQc8zk1fQd/sdk/admin/views/audit-logs/audit-logs.module.css.js
|
|
2603
|
+
var digest13 = "f320916d5d5188c8348d02bf496baef3e8d8197c0cd5a27c6b51cb958b078d2d";
|
|
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-2410-N3AJknWIRqhY/sdk/admin/views/audit-logs/audit-logs.module.css.js
|
|
2715
|
+
var digest14 = "a9d38b64c9fac9bdd1dd8451ef5d91dace1fd3094206726d717031ed49fb3737";
|
|
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-2410-rc8NSUh5KUP2/sdk/admin/views/audit-logs/audit-logs.module.css.js
|
|
2982
|
+
var digest15 = "f5a9b6cd073f22e246afb1d9603c4e03fa32f9e567108a66a75acdc1d19a5947";
|
|
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-2410-j9MGmX2HbdkE/sdk/admin/views/audit-logs/audit-logs.module.css.js
|
|
3121
|
+
var digest16 = "7080d0e427095295043ac3d36e0f7fd1ea62eb0028bac99e2da3ac61cd190d9d";
|
|
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-2410-DLS7sgjMpq7s/sdk/admin/views/audit-logs/audit-logs.module.css.js
|
|
3327
|
+
var digest17 = "3d3cb78fb8a3fc11826f982ee347747fd3455ea0a2e22ab27056d4428d4ca7c7";
|
|
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-2410-onAvlHlmFx6G/sdk/admin/views/audit-logs/audit-logs.module.css.js
|
|
3470
|
+
var digest18 = "59a1127e8904848886ab28d1dff3b5356fd45483d99daed511c63dddec8a68f8";
|
|
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-2410-3Cn0rEl4LDoV/sdk/admin/views/admins/admins.module.css.js
|
|
3999
|
+
var digest19 = "04f063e51fbd9568ccf97aedd1ac1055a18bf2cc441e2ab820c439ed46a7b9bb";
|
|
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-2410-jPcFbkWaoEaL/sdk/admin/views/admins/admins.module.css.js
|
|
4085
|
+
var digest20 = "37bae431d94ed51bbb1beaa774313a29bfbf6ffd757fdb8912a9cc4e31a0057f";
|
|
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-2410-w2UB8ZOw0wBM/sdk/admin/views/plans/plans.module.css.js
|
|
4197
|
+
var digest21 = "ab68f5ab9491082dd717354d1c5bde7cf9680367a81004d58a79f38caa155649";
|
|
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-2410-6D6IXTfx8SHo/sdk/admin/views/plans/plans.module.css.js
|
|
4296
|
+
var digest22 = "145b71dca0b328bcba041e8dde283155fc3f0a8dfee90354d8c4a8769c78b927";
|
|
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-2410-RvAiEN7nCV0v/sdk/admin/views/webhooks/webhooks/webhooks.module.css.js
|
|
4461
|
+
var digest23 = "1fb2f46b2fec735cc8b11886e43f2f81b8f2d80d57e006f71cd25347ab10ef44";
|
|
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-2410-Tzo2hDBciN2d/sdk/admin/views/webhooks/webhooks/webhooks.module.css.js
|
|
4723
|
+
var digest24 = "6089c38273776074f4a9b0fe604f880853174d3bc680b0e3da3ae594c26ab444";
|
|
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-2410-V5t4YuAygpyb/sdk/admin/views/preferences/preferences.module.css.js
|
|
10315
|
+
var digest25 = "3a6c3a69036543976fdec59441a48574523534f55712b0703550b0b4ceab6491";
|
|
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-2410-qGJeCOOQitSZ/sdk/admin/views/preferences/preferences.module.css.js
|
|
10406
|
+
var digest26 = "4d7e4c0d41eaa07f71ff14fb05ea620085be6042275133228e4f6878c2138ac3";
|
|
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-2410-71COXaoQo8xi/sdk/admin/views/users/list/list.module.css.js
|
|
10789
|
+
var digest27 = "4b320a76b080c05ffb7cecae98209a9fbc9c155b33d3e15df05fe612c5459370";
|
|
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-2410-xPBOh4YRErEV/sdk/admin/views/users/list/invite-users.module.css.js
|
|
10894
|
+
var digest28 = "b73a9e3c795b1e7719a93ff9814a7cf84e6b03805e250dba6f9d410cfcf6b9c1";
|
|
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-2410-x3QXUPKIHUmV/sdk/admin/views/users/list/list.module.css.js
|
|
11248
|
+
var digest29 = "b7b25b592d38ec400f6bbba7a2f6241b1d3f20710a1c997d858a4950f9748e56";
|
|
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-2410-WkOU1aEUW953/sdk/admin/views/users/list/list.module.css.js
|
|
11320
|
+
var digest30 = "fa649fc18bff93ef0c00776225c4f8118bfa834a0bd2eebb1201049c337c3b50";
|
|
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-2410-dBMoBRuVft7v/sdk/admin/views/users/details/layout/side-panel.module.css.js
|
|
11614
|
+
var digest31 = "90e21c1af96599b65063e02aa38cc72a222292feaa88e92feba5d81c6f05d2cb";
|
|
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-2410-nvdN9tH0Etxf/sdk/admin/views/users/details/layout/side-panel.module.css.js
|
|
11730
|
+
var digest32 = "bcb2a0fd16c3a6f1511c9b5fb8c76439300a83b130fa801468be232f1f76b0af";
|
|
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-2410-hY6TEpssu0Rm/sdk/admin/views/users/details/layout/side-panel.module.css.js
|
|
11794
|
+
var digest33 = "9ef9136a5250fda6910d2012f6c51bc90e979f9099e256a499eeba08c058cb25";
|
|
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-2410-uEaKFv1aTkJm/sdk/admin/views/users/details/layout/side-panel.module.css.js
|
|
12217
|
+
var digest34 = "66609090a3d607d6e66fb26dd4fdb2f7ae8031e57712a776a09efaccd1069ff4";
|
|
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-2410-K6JjbK0RWRMY/sdk/admin/views/users/details/layout/layout.module.css.js
|
|
12336
|
+
var digest35 = "cc06d4e6bb792c4b15de9ab4152efdba9d580111e3feda28e21428844c7235af";
|
|
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-2410-ddNJtZBe3sll/sdk/admin/views/users/details/layout/navbar.module.css.js
|
|
12378
|
+
var digest36 = "af435a7290720a3cbb83cbdbe04c0d43b6b88c8b17da9b915c9d604097d1600a";
|
|
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-2410-ebE6HaWObWSB/sdk/admin/views/users/details/security/sessions/sessions.module.css.js
|
|
12682
|
+
var digest37 = "1a9ba3c3e96a08a5b707f93444ad4934085a6f70a22e2769ffc9f973f843e4d2";
|
|
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-2410-hWbOM6zN03aR/sdk/admin/views/users/details/security/sessions/sessions.module.css.js
|
|
12812
|
+
var digest38 = "27f5789e44b8db6e14f8d54573b57e3e222e78210a44250028e720256ecd51f6";
|
|
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-2410-t6oIbOEhyq1E/sdk/admin/views/users/details/security/sessions/sessions.module.css.js
|
|
12957
|
+
var digest39 = "8ac377792ec4a6531b5d6f8eeebce20fbb668ae484325b099307104e53a02101";
|
|
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-2410-5lI8ugKlaTQH/sdk/admin/views/users/details/security/sessions/sessions.module.css.js
|
|
13039
|
+
var digest40 = "e2b538dd2cf179ff32a5e48439ecaf560be7ba9952032b60f273f001b12f7c08";
|
|
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-2410-DRSyCoTjbWhO/sdk/admin/views/users/details/security/security.module.css.js
|
|
13251
|
+
var digest41 = "34e18691c0acdcf61956f49ce2134b5a9bb33c409fe1461704429359bbcd9b10";
|
|
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-2410-Jg0DZssq3HvD/sdk/admin/views/organizations/list/list.module.css.js
|
|
13386
|
+
var digest42 = "ab40f2e5e5c9a4d9206dfcd0ae0c4edaea288fbd0a7f965c9fb7087fb7da860e";
|
|
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-2410-N8v77OrmZq8B/sdk/admin/views/organizations/list/list.module.css.js
|
|
13574
|
+
var digest43 = "621627d55501248605d01fa91f8bfe135815a2ced89cd243aa2b1f8196c6e862";
|
|
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-2410-gSqoBtCqaHid/sdk/admin/views/organizations/list/list.module.css.js
|
|
13686
|
+
var digest44 = "fe22098e97840d7eb4f1960643698311211e3f01cc0f464aa71d5bb97d14c845";
|
|
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-2410-wBSrqHlUwm6H/sdk/admin/views/organizations/list/list.module.css.js
|
|
13954
|
+
var digest45 = "ac904bf53f33e5ab2349881bfeadd70b28ab2cb972eef6cfabed7c73fe98da5a";
|
|
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-2410-POJbIgFB01uK/sdk/client/components/image-upload/image-upload.module.css.js
|
|
14085
|
+
var digest46 = "7e9d80fef8c0356de37f77fd202719b8ce81a91dcfb986f587e00f02e4978f43";
|
|
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-2410-DHj77I8JNvxT/sdk/admin/views/organizations/details/layout/layout.module.css.js
|
|
14855
|
+
var digest47 = "e41c4bed940bd3e9e486622897ebe3ca1641613380ac05a23b6ad9663460eadc";
|
|
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-2410-vn1IxVjz7Zvn/sdk/admin/views/organizations/details/layout/layout.module.css.js
|
|
14962
|
+
var digest48 = "7429f7440565b9942aad9d3e08ce483f28a6c9c1e170428535cb4c854afacd43";
|
|
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-2410-Nrd00rFe0N3N/sdk/admin/views/organizations/details/layout/layout.module.css.js
|
|
15271
|
+
var digest49 = "914797aae84c4dd7b69b410ecc1b1c49ef81a18376824d819d63fe160cd32c63";
|
|
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-2410-mqew6xAUlSqq/sdk/admin/views/organizations/details/layout/layout.module.css.js
|
|
15778
|
+
var digest50 = "c73f927bba134c6a0dcb30871dd83f82bf1a67f1e0f835269d79c456008cd392";
|
|
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-2410-YhPnxcq74r22/sdk/admin/views/organizations/details/side-panel/side-panel.module.css.js
|
|
15881
|
+
var digest51 = "59128ec32c4aa0a5133b46445823b201c8a8d0032429339039c841ff5e942776";
|
|
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-2410-skSS474YPxJw/sdk/admin/views/organizations/details/side-panel/side-panel.module.css.js
|
|
16012
|
+
var digest52 = "ab5cf782a0032d1f589918213e188489e3cf062c7bb979b8b02e240e8408cb43";
|
|
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-2410-P75EJga0w7rh/sdk/admin/views/organizations/details/side-panel/side-panel.module.css.js
|
|
16139
|
+
var digest53 = "8501f7b893cee9c382d05bdd4d49f4af09eb4552c88c20610e1bef8138ed9e93";
|
|
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-2410-DbkyNOBHYFVa/sdk/admin/views/organizations/details/side-panel/side-panel.module.css.js
|
|
16274
|
+
var digest54 = "0e1a9b0f9c8e670cbed3d9dcfa7d0bba385dae8c6c1f4d94ac9ff893a61b904b";
|
|
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-2410-pgr6dp9BOxWg/sdk/admin/views/organizations/details/side-panel/side-panel.module.css.js
|
|
16408
|
+
var digest55 = "c4e13f4e4140f1a0dbecd8897c112d997b033379dbd8cf0f4e2124c1add7aba8";
|
|
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,61 @@ 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
|
+
try {
|
|
16515
|
+
const resp = await createCheckout(
|
|
16516
|
+
create14(CreateCheckoutRequestSchema, {
|
|
16517
|
+
orgId: organizationId,
|
|
16518
|
+
cancelUrl: returnUrl,
|
|
16519
|
+
successUrl: returnUrl,
|
|
16520
|
+
setupBody: { paymentMethod: false, customerPortal: true }
|
|
16521
|
+
})
|
|
16522
|
+
);
|
|
16523
|
+
const checkoutUrl = resp?.checkoutSession?.checkoutUrl;
|
|
16524
|
+
if (checkoutUrl) {
|
|
16525
|
+
window.location.href = checkoutUrl;
|
|
16526
|
+
}
|
|
16527
|
+
} catch {
|
|
16528
|
+
}
|
|
16529
|
+
};
|
|
16530
|
+
return /* @__PURE__ */ jsxs62(List11, { className: side_panel_module_css_default9["billing-section"], children: [
|
|
16531
|
+
/* @__PURE__ */ jsxs62(List11.Header, { className: side_panel_module_css_default9["billing-header"], children: [
|
|
16532
|
+
"Billing",
|
|
16533
|
+
/* @__PURE__ */ jsxs62(Tooltip5, { children: [
|
|
16534
|
+
/* @__PURE__ */ jsx83(
|
|
16535
|
+
Tooltip5.Trigger,
|
|
16536
|
+
{
|
|
16537
|
+
render: /* @__PURE__ */ jsx83(
|
|
16538
|
+
IconButton11,
|
|
16539
|
+
{
|
|
16540
|
+
size: 2,
|
|
16541
|
+
"aria-label": "Update billing details",
|
|
16542
|
+
"data-test-id": "admin-billing-portal-button",
|
|
16543
|
+
"aria-disabled": isBillingPortalDisabled,
|
|
16544
|
+
className: isBillingPortalDisabled ? `${side_panel_module_css_default9["billing-edit"]} ${side_panel_module_css_default9["billing-edit-disabled"]}` : side_panel_module_css_default9["billing-edit"],
|
|
16545
|
+
onClick: handleOpenBillingPortal,
|
|
16546
|
+
children: /* @__PURE__ */ jsx83(Pencil1Icon, {})
|
|
16547
|
+
}
|
|
16548
|
+
)
|
|
16549
|
+
}
|
|
16550
|
+
),
|
|
16551
|
+
/* @__PURE__ */ jsx83(Tooltip5.Content, { children: billingAccountId ? "Update billing details" : "No billing account for this organization" })
|
|
16552
|
+
] })
|
|
16553
|
+
] }),
|
|
16321
16554
|
/* @__PURE__ */ jsxs62(List11.Item, { children: [
|
|
16322
16555
|
/* @__PURE__ */ jsx83(List11.Label, { className: side_panel_module_css_default9["side-panel-section-item-label"], children: "Name" }),
|
|
16323
16556
|
/* @__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 +16638,18 @@ import {
|
|
|
16405
16638
|
Button as Button20,
|
|
16406
16639
|
Field as Field2,
|
|
16407
16640
|
Flex as Flex60,
|
|
16408
|
-
IconButton as
|
|
16641
|
+
IconButton as IconButton12,
|
|
16409
16642
|
Input as Input5,
|
|
16410
16643
|
Label as Label6,
|
|
16411
16644
|
Drawer as Drawer7,
|
|
16412
16645
|
SidePanel as SidePanel5,
|
|
16413
16646
|
Switch as Switch3,
|
|
16414
16647
|
Text as Text43,
|
|
16415
|
-
toastManager as
|
|
16648
|
+
toastManager as toastManager15
|
|
16416
16649
|
} from "@raystack/apsara";
|
|
16417
16650
|
|
|
16418
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
16419
|
-
var digest56 = "
|
|
16651
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2410-aRcKKvKxGEfG/sdk/admin/views/organizations/details/edit/edit.module.css.js
|
|
16652
|
+
var digest56 = "694fd357a36d249aadb0cc55324d9ea00e6f215a99dc2bb95d388c30d2094b5e";
|
|
16420
16653
|
var css56 = `._drawer-content_18xgg_1 {
|
|
16421
16654
|
min-width: 500px;
|
|
16422
16655
|
padding: 0;
|
|
@@ -16468,7 +16701,7 @@ var edit_module_css_default = { "drawer-content": "_drawer-content_18xgg_1", "dr
|
|
|
16468
16701
|
import { useContext as useContext13 } from "react";
|
|
16469
16702
|
import { Controller as Controller6, useForm as useForm8 } from "react-hook-form";
|
|
16470
16703
|
import { zodResolver as zodResolver8 } from "@hookform/resolvers/zod";
|
|
16471
|
-
import { useMutation as
|
|
16704
|
+
import { useMutation as useMutation13, createConnectQueryKey as createConnectQueryKey7, useTransport as useTransport8 } from "@connectrpc/connect-query";
|
|
16472
16705
|
import { useQueryClient as useQueryClient9 } from "@tanstack/react-query";
|
|
16473
16706
|
import { AdminServiceQueries as AdminServiceQueries18, FrontierServiceQueries as FrontierServiceQueries16, SetOrganizationKycRequestSchema } from "@raystack/proton/frontier";
|
|
16474
16707
|
import { create as create15 } from "@bufbuild/protobuf";
|
|
@@ -16503,7 +16736,7 @@ function EditKYCPanel({ open = false, onClose }) {
|
|
|
16503
16736
|
});
|
|
16504
16737
|
const {
|
|
16505
16738
|
mutateAsync: setOrganizationKycMutation
|
|
16506
|
-
} =
|
|
16739
|
+
} = useMutation13(AdminServiceQueries18.setOrganizationKyc, {
|
|
16507
16740
|
onSuccess: (data) => {
|
|
16508
16741
|
const newKycDetails = data.organizationKyc;
|
|
16509
16742
|
if (newKycDetails) {
|
|
@@ -16517,11 +16750,11 @@ function EditKYCPanel({ open = false, onClose }) {
|
|
|
16517
16750
|
cardinality: "finite"
|
|
16518
16751
|
})
|
|
16519
16752
|
});
|
|
16520
|
-
|
|
16753
|
+
toastManager15.add({ title: "KYC details updated successfully", type: "success" });
|
|
16521
16754
|
onClose();
|
|
16522
16755
|
},
|
|
16523
16756
|
onError: (error) => {
|
|
16524
|
-
|
|
16757
|
+
toastManager15.add({ title: "Failed to update KYC details", description: error.rawMessage, type: "error" });
|
|
16525
16758
|
console.error("Unable to update KYC details:", error);
|
|
16526
16759
|
}
|
|
16527
16760
|
});
|
|
@@ -16549,7 +16782,7 @@ function EditKYCPanel({ open = false, onClose }) {
|
|
|
16549
16782
|
title: "Edit KYC",
|
|
16550
16783
|
actions: [
|
|
16551
16784
|
/* @__PURE__ */ jsx85(
|
|
16552
|
-
|
|
16785
|
+
IconButton12,
|
|
16553
16786
|
{
|
|
16554
16787
|
"data-test-id": "close-kyc-panel-icon",
|
|
16555
16788
|
onClick: onClose,
|
|
@@ -16642,8 +16875,8 @@ function EditKYCPanel({ open = false, onClose }) {
|
|
|
16642
16875
|
// admin/views/organizations/details/edit/organization.tsx
|
|
16643
16876
|
import { useContext as useContext14, useEffect as useEffect10, useState as useState23 } from "react";
|
|
16644
16877
|
|
|
16645
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
16646
|
-
var digest57 = "
|
|
16878
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2410-bQAb5dPaUNXu/sdk/admin/views/organizations/details/edit/edit.module.css.js
|
|
16879
|
+
var digest57 = "112e042d410683e4f3f0b00618f522ae87c1df34e12e3e9b0d4cd40e9cff8737";
|
|
16647
16880
|
var css57 = `._drawer-content_18xgg_1 {
|
|
16648
16881
|
min-width: 500px;
|
|
16649
16882
|
padding: 0;
|
|
@@ -16696,7 +16929,7 @@ import {
|
|
|
16696
16929
|
Button as Button21,
|
|
16697
16930
|
Field as Field3,
|
|
16698
16931
|
Flex as Flex61,
|
|
16699
|
-
IconButton as
|
|
16932
|
+
IconButton as IconButton13,
|
|
16700
16933
|
Input as Input6,
|
|
16701
16934
|
Select as Select5,
|
|
16702
16935
|
Drawer as Drawer8,
|
|
@@ -16706,7 +16939,7 @@ import {
|
|
|
16706
16939
|
} from "@raystack/apsara";
|
|
16707
16940
|
import { Controller as Controller7, useForm as useForm9 } from "react-hook-form";
|
|
16708
16941
|
import { zodResolver as zodResolver9 } from "@hookform/resolvers/zod";
|
|
16709
|
-
import { useMutation as
|
|
16942
|
+
import { useMutation as useMutation14, createConnectQueryKey as createConnectQueryKey8, useTransport as useTransport9 } from "@connectrpc/connect-query";
|
|
16710
16943
|
import { useQueryClient as useQueryClient10 } from "@tanstack/react-query";
|
|
16711
16944
|
import { FrontierServiceQueries as FrontierServiceQueries17, UpdateOrganizationRequestSchema } from "@raystack/proton/frontier";
|
|
16712
16945
|
import { create as create16 } from "@bufbuild/protobuf";
|
|
@@ -16772,7 +17005,7 @@ function EditOrganizationPanel({ open = false, onClose }) {
|
|
|
16772
17005
|
mutateAsync: updateOrganizationMutation,
|
|
16773
17006
|
error: mutationError,
|
|
16774
17007
|
isPending: isSubmitting
|
|
16775
|
-
} =
|
|
17008
|
+
} = useMutation14(FrontierServiceQueries17.updateOrganization, {
|
|
16776
17009
|
onSuccess: () => {
|
|
16777
17010
|
queryClient.invalidateQueries({
|
|
16778
17011
|
queryKey: createConnectQueryKey8({
|
|
@@ -16827,7 +17060,7 @@ function EditOrganizationPanel({ open = false, onClose }) {
|
|
|
16827
17060
|
title: `Edit ${t.organization({ case: "lower" })}`,
|
|
16828
17061
|
actions: [
|
|
16829
17062
|
/* @__PURE__ */ jsx86(
|
|
16830
|
-
|
|
17063
|
+
IconButton13,
|
|
16831
17064
|
{
|
|
16832
17065
|
"data-test-id": "close-edit-org-panel-icon",
|
|
16833
17066
|
onClick: onClose,
|
|
@@ -17010,17 +17243,17 @@ import {
|
|
|
17010
17243
|
Button as Button22,
|
|
17011
17244
|
Field as Field4,
|
|
17012
17245
|
Flex as Flex62,
|
|
17013
|
-
IconButton as
|
|
17246
|
+
IconButton as IconButton14,
|
|
17014
17247
|
Input as Input7,
|
|
17015
17248
|
Text as Text45,
|
|
17016
17249
|
Select as Select6,
|
|
17017
17250
|
Drawer as Drawer9,
|
|
17018
17251
|
SidePanel as SidePanel7,
|
|
17019
|
-
toastManager as
|
|
17252
|
+
toastManager as toastManager16
|
|
17020
17253
|
} from "@raystack/apsara";
|
|
17021
17254
|
|
|
17022
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
17023
|
-
var digest58 = "
|
|
17255
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2410-n9EjCxjR63AN/sdk/admin/views/organizations/details/edit/edit.module.css.js
|
|
17256
|
+
var digest58 = "3d5e359abeb28a1eab2e7343631d6c0d3f3a7e2ed578ffdbf62991668e2202c7";
|
|
17024
17257
|
var css58 = `._drawer-content_18xgg_1 {
|
|
17025
17258
|
min-width: 500px;
|
|
17026
17259
|
padding: 0;
|
|
@@ -17072,7 +17305,7 @@ var edit_module_css_default3 = { "drawer-content": "_drawer-content_18xgg_1", "d
|
|
|
17072
17305
|
import { useCallback as useCallback11, useContext as useContext15, useEffect as useEffect11, useMemo as useMemo8 } from "react";
|
|
17073
17306
|
import { useForm as useForm10 } from "react-hook-form";
|
|
17074
17307
|
import { zodResolver as zodResolver10 } from "@hookform/resolvers/zod";
|
|
17075
|
-
import { useMutation as
|
|
17308
|
+
import { useMutation as useMutation15 } from "@connectrpc/connect-query";
|
|
17076
17309
|
import {
|
|
17077
17310
|
AdminServiceQueries as AdminServiceQueries19,
|
|
17078
17311
|
UpdateBillingAccountDetailsRequestSchema
|
|
@@ -17149,11 +17382,11 @@ function EditBillingPanel({ open = false, onClose }) {
|
|
|
17149
17382
|
reset(billingDetailsData);
|
|
17150
17383
|
}
|
|
17151
17384
|
}, [billingDetailsData, reset]);
|
|
17152
|
-
const { mutateAsync: updateBillingDetails } =
|
|
17385
|
+
const { mutateAsync: updateBillingDetails } = useMutation15(
|
|
17153
17386
|
AdminServiceQueries19.updateBillingAccountDetails,
|
|
17154
17387
|
{
|
|
17155
17388
|
onError: (error) => {
|
|
17156
|
-
|
|
17389
|
+
toastManager16.add({
|
|
17157
17390
|
title: "Something went wrong",
|
|
17158
17391
|
description: error.rawMessage,
|
|
17159
17392
|
type: "error"
|
|
@@ -17176,9 +17409,9 @@ function EditBillingPanel({ open = false, onClose }) {
|
|
|
17176
17409
|
})
|
|
17177
17410
|
);
|
|
17178
17411
|
fetchBillingAccountDetails();
|
|
17179
|
-
|
|
17412
|
+
toastManager16.add({ title: "Billing details updated", type: "success" });
|
|
17180
17413
|
} catch (error) {
|
|
17181
|
-
|
|
17414
|
+
toastManager16.add({
|
|
17182
17415
|
title: "Something went wrong",
|
|
17183
17416
|
description: "Failed to update billing details",
|
|
17184
17417
|
type: "error"
|
|
@@ -17211,7 +17444,7 @@ function EditBillingPanel({ open = false, onClose }) {
|
|
|
17211
17444
|
title: "Edit billing",
|
|
17212
17445
|
actions: [
|
|
17213
17446
|
/* @__PURE__ */ jsx87(
|
|
17214
|
-
|
|
17447
|
+
IconButton14,
|
|
17215
17448
|
{
|
|
17216
17449
|
"data-test-id": "close-billing-panel-icon",
|
|
17217
17450
|
onClick: onClose,
|
|
@@ -17652,12 +17885,12 @@ import {
|
|
|
17652
17885
|
Flex as Flex66,
|
|
17653
17886
|
Separator as Separator5,
|
|
17654
17887
|
Text as Text48,
|
|
17655
|
-
Tooltip as
|
|
17656
|
-
toastManager as
|
|
17888
|
+
Tooltip as Tooltip6,
|
|
17889
|
+
toastManager as toastManager19
|
|
17657
17890
|
} from "@raystack/apsara";
|
|
17658
17891
|
|
|
17659
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
17660
|
-
var digest59 = "
|
|
17892
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2410-zJ9sYQdLXsLB/sdk/admin/views/organizations/details/security/security.module.css.js
|
|
17893
|
+
var digest59 = "6367154fb4ac4daededaabbbaa8ef65e5f2f9c6337c41143f0cd7c101f004051";
|
|
17661
17894
|
var css59 = `._container_1wkae_1 {
|
|
17662
17895
|
width: 100%;
|
|
17663
17896
|
}
|
|
@@ -17701,9 +17934,9 @@ var security_module_css_default2 = { "container": "_container_1wkae_1", "content
|
|
|
17701
17934
|
import { useContext as useContext18 } from "react";
|
|
17702
17935
|
|
|
17703
17936
|
// admin/views/organizations/details/security/block-organization.tsx
|
|
17704
|
-
import { AlertDialog as AlertDialog2, Button as Button23, Flex as Flex64, Text as Text46, toastManager as
|
|
17937
|
+
import { AlertDialog as AlertDialog2, Button as Button23, Flex as Flex64, Text as Text46, toastManager as toastManager17 } from "@raystack/apsara";
|
|
17705
17938
|
import { useContext as useContext16, useState as useState26 } from "react";
|
|
17706
|
-
import { createConnectQueryKey as createConnectQueryKey10, useMutation as
|
|
17939
|
+
import { createConnectQueryKey as createConnectQueryKey10, useMutation as useMutation16, useTransport as useTransport11 } from "@connectrpc/connect-query";
|
|
17707
17940
|
import { FrontierServiceQueries as FrontierServiceQueries19, DisableOrganizationRequestSchema, EnableOrganizationRequestSchema } from "@raystack/proton/frontier";
|
|
17708
17941
|
import { create as create19 } from "@bufbuild/protobuf";
|
|
17709
17942
|
import { useQueryClient as useQueryClient12 } from "@tanstack/react-query";
|
|
@@ -17714,7 +17947,7 @@ var BlockOrganizationDialog = () => {
|
|
|
17714
17947
|
const queryClient = useQueryClient12();
|
|
17715
17948
|
const transport = useTransport11();
|
|
17716
17949
|
const [isDialogOpen, setIsDialogOpen] = useState26(false);
|
|
17717
|
-
const { mutateAsync: disableOrganization, isPending: isDisabling } =
|
|
17950
|
+
const { mutateAsync: disableOrganization, isPending: isDisabling } = useMutation16(
|
|
17718
17951
|
FrontierServiceQueries19.disableOrganization,
|
|
17719
17952
|
{
|
|
17720
17953
|
onSuccess: async () => {
|
|
@@ -17727,10 +17960,10 @@ var BlockOrganizationDialog = () => {
|
|
|
17727
17960
|
})
|
|
17728
17961
|
});
|
|
17729
17962
|
setIsDialogOpen(false);
|
|
17730
|
-
|
|
17963
|
+
toastManager17.add({ title: `${t.organization({ case: "capital" })} blocked`, type: "success" });
|
|
17731
17964
|
},
|
|
17732
17965
|
onError: (error) => {
|
|
17733
|
-
|
|
17966
|
+
toastManager17.add({
|
|
17734
17967
|
title: "Something went wrong",
|
|
17735
17968
|
description: error.rawMessage,
|
|
17736
17969
|
type: "error"
|
|
@@ -17739,7 +17972,7 @@ var BlockOrganizationDialog = () => {
|
|
|
17739
17972
|
}
|
|
17740
17973
|
}
|
|
17741
17974
|
);
|
|
17742
|
-
const { mutateAsync: enableOrganization, isPending: isEnabling } =
|
|
17975
|
+
const { mutateAsync: enableOrganization, isPending: isEnabling } = useMutation16(
|
|
17743
17976
|
FrontierServiceQueries19.enableOrganization,
|
|
17744
17977
|
{
|
|
17745
17978
|
onSuccess: async () => {
|
|
@@ -17752,10 +17985,10 @@ var BlockOrganizationDialog = () => {
|
|
|
17752
17985
|
})
|
|
17753
17986
|
});
|
|
17754
17987
|
setIsDialogOpen(false);
|
|
17755
|
-
|
|
17988
|
+
toastManager17.add({ title: `${t.organization({ case: "capital" })} unblocked`, type: "success" });
|
|
17756
17989
|
},
|
|
17757
17990
|
onError: (error) => {
|
|
17758
|
-
|
|
17991
|
+
toastManager17.add({
|
|
17759
17992
|
title: "Something went wrong",
|
|
17760
17993
|
description: error.rawMessage,
|
|
17761
17994
|
type: "error"
|
|
@@ -17867,13 +18100,13 @@ import {
|
|
|
17867
18100
|
AlertDialog as AlertDialog3,
|
|
17868
18101
|
Button as Button24,
|
|
17869
18102
|
Flex as Flex65,
|
|
17870
|
-
IconButton as
|
|
18103
|
+
IconButton as IconButton15,
|
|
17871
18104
|
Text as Text47,
|
|
17872
|
-
toastManager as
|
|
18105
|
+
toastManager as toastManager18
|
|
17873
18106
|
} from "@raystack/apsara";
|
|
17874
18107
|
|
|
17875
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
17876
|
-
var digest60 = "
|
|
18108
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2410-Spy4RyrwkD7g/sdk/admin/views/organizations/details/security/security.module.css.js
|
|
18109
|
+
var digest60 = "5c032b5a1e6207263d0bf4361b911d161f49ee97805c267d7766891e0e9f3640";
|
|
17877
18110
|
var css60 = `._container_1wkae_1 {
|
|
17878
18111
|
width: 100%;
|
|
17879
18112
|
}
|
|
@@ -17915,7 +18148,7 @@ var security_module_css_default3 = { "container": "_container_1wkae_1", "content
|
|
|
17915
18148
|
|
|
17916
18149
|
// admin/views/organizations/details/security/domains-list.tsx
|
|
17917
18150
|
import { useContext as useContext17, useState as useState27 } from "react";
|
|
17918
|
-
import { useMutation as
|
|
18151
|
+
import { useMutation as useMutation17, createConnectQueryKey as createConnectQueryKey11, useTransport as useTransport12 } from "@connectrpc/connect-query";
|
|
17919
18152
|
import { useQueryClient as useQueryClient13 } from "@tanstack/react-query";
|
|
17920
18153
|
import { FrontierServiceQueries as FrontierServiceQueries20, DeleteOrganizationDomainRequestSchema } from "@raystack/proton/frontier";
|
|
17921
18154
|
import { create as create20 } from "@bufbuild/protobuf";
|
|
@@ -17927,7 +18160,7 @@ var DeleteDomainDialog = ({
|
|
|
17927
18160
|
const [isDialogOpen, setIsDialogOpen] = useState27(false);
|
|
17928
18161
|
const queryClient = useQueryClient13();
|
|
17929
18162
|
const transport = useTransport12();
|
|
17930
|
-
const { mutateAsync: deleteDomain, isPending } =
|
|
18163
|
+
const { mutateAsync: deleteDomain, isPending } = useMutation17(
|
|
17931
18164
|
FrontierServiceQueries20.deleteOrganizationDomain,
|
|
17932
18165
|
{
|
|
17933
18166
|
onSuccess: () => {
|
|
@@ -17940,10 +18173,10 @@ var DeleteDomainDialog = ({
|
|
|
17940
18173
|
})
|
|
17941
18174
|
});
|
|
17942
18175
|
setIsDialogOpen(false);
|
|
17943
|
-
|
|
18176
|
+
toastManager18.add({ title: "Domain deleted", type: "success" });
|
|
17944
18177
|
},
|
|
17945
18178
|
onError: (error) => {
|
|
17946
|
-
|
|
18179
|
+
toastManager18.add({
|
|
17947
18180
|
title: "Something went wrong",
|
|
17948
18181
|
description: error.rawMessage,
|
|
17949
18182
|
type: "error"
|
|
@@ -17967,7 +18200,7 @@ var DeleteDomainDialog = ({
|
|
|
17967
18200
|
/* @__PURE__ */ jsx91(
|
|
17968
18201
|
AlertDialog3.Trigger,
|
|
17969
18202
|
{
|
|
17970
|
-
render: /* @__PURE__ */ jsx91(
|
|
18203
|
+
render: /* @__PURE__ */ jsx91(IconButton15, { size: 3, "data-test-id": "delete-domain-button", children: /* @__PURE__ */ jsx91(TrashIcon, {}) })
|
|
17971
18204
|
}
|
|
17972
18205
|
),
|
|
17973
18206
|
/* @__PURE__ */ jsxs69(AlertDialog3.Content, { children: [
|
|
@@ -18054,8 +18287,8 @@ var AddDomainSection = () => {
|
|
|
18054
18287
|
/* @__PURE__ */ jsx92(Text48, { size: "large", children: "Allowed email domains" }),
|
|
18055
18288
|
/* @__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
18289
|
] }),
|
|
18057
|
-
/* @__PURE__ */ jsxs70(
|
|
18058
|
-
/* @__PURE__ */ jsx92(
|
|
18290
|
+
/* @__PURE__ */ jsxs70(Tooltip6, { children: [
|
|
18291
|
+
/* @__PURE__ */ jsx92(Tooltip6.Trigger, { render: /* @__PURE__ */ jsx92(Flex66, { style: { alignSelf: "center" } }), children: /* @__PURE__ */ jsx92(
|
|
18059
18292
|
Button25,
|
|
18060
18293
|
{
|
|
18061
18294
|
variant: "outline",
|
|
@@ -18067,7 +18300,7 @@ var AddDomainSection = () => {
|
|
|
18067
18300
|
children: "Add domain"
|
|
18068
18301
|
}
|
|
18069
18302
|
) }),
|
|
18070
|
-
/* @__PURE__ */ jsx92(
|
|
18303
|
+
/* @__PURE__ */ jsx92(Tooltip6.Content, { side: "bottom", children: "Coming soon" })
|
|
18071
18304
|
] })
|
|
18072
18305
|
] });
|
|
18073
18306
|
};
|
|
@@ -18085,7 +18318,7 @@ var OrganizationSecurity = () => {
|
|
|
18085
18318
|
);
|
|
18086
18319
|
useEffect13(() => {
|
|
18087
18320
|
if (error) {
|
|
18088
|
-
|
|
18321
|
+
toastManager19.add({
|
|
18089
18322
|
title: "Something went wrong",
|
|
18090
18323
|
description: "Unable to fetch domains",
|
|
18091
18324
|
type: "error"
|
|
@@ -18114,8 +18347,8 @@ var OrganizationSecurity = () => {
|
|
|
18114
18347
|
// admin/views/organizations/details/members/index.tsx
|
|
18115
18348
|
import { AlertDialog as AlertDialog6, DataTable as DataTable16, EmptyState as EmptyState15, Flex as Flex69 } from "@raystack/apsara";
|
|
18116
18349
|
|
|
18117
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
18118
|
-
var digest61 = "
|
|
18350
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2410-4YIKcOFUelFw/sdk/admin/views/organizations/details/members/members.module.css.js
|
|
18351
|
+
var digest61 = "c1b47bb20da30d4075586a9d9e9ac3ea74922b2fc4c63155f46e68f5f40d4a32";
|
|
18119
18352
|
var css61 = `._container_jkaqi_1 {
|
|
18120
18353
|
width: 100%;
|
|
18121
18354
|
}
|
|
@@ -18176,11 +18409,11 @@ import {
|
|
|
18176
18409
|
Flex as Flex67,
|
|
18177
18410
|
Text as Text49,
|
|
18178
18411
|
Menu as Menu4,
|
|
18179
|
-
IconButton as
|
|
18412
|
+
IconButton as IconButton16
|
|
18180
18413
|
} from "@raystack/apsara";
|
|
18181
18414
|
|
|
18182
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
18183
|
-
var digest62 = "
|
|
18415
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2410-hNzVHa74e6kr/sdk/admin/views/organizations/details/members/members.module.css.js
|
|
18416
|
+
var digest62 = "0b42c70e9a923a6018fb5ce789d924d5b6beedf65b60af8391f6b55ba2aaecdd";
|
|
18184
18417
|
var css62 = `._container_jkaqi_1 {
|
|
18185
18418
|
width: 100%;
|
|
18186
18419
|
}
|
|
@@ -18371,7 +18604,7 @@ var getColumns12 = ({
|
|
|
18371
18604
|
/* @__PURE__ */ jsx94(
|
|
18372
18605
|
Menu4.Trigger,
|
|
18373
18606
|
{
|
|
18374
|
-
render: /* @__PURE__ */ jsx94(
|
|
18607
|
+
render: /* @__PURE__ */ jsx94(IconButton16, { size: 3, "data-test-id": "admin-members-action-menu", children: /* @__PURE__ */ jsx94(DotsHorizontalIcon, {}) })
|
|
18375
18608
|
}
|
|
18376
18609
|
),
|
|
18377
18610
|
/* @__PURE__ */ jsxs71(Menu4.Content, { className: members_module_css_default2["table-action-dropdown"], children: [
|
|
@@ -18430,12 +18663,12 @@ import {
|
|
|
18430
18663
|
SetOrganizationMemberRoleRequestSchema as SetOrganizationMemberRoleRequestSchema2
|
|
18431
18664
|
} from "@raystack/proton/frontier";
|
|
18432
18665
|
import { create as create22 } from "@bufbuild/protobuf";
|
|
18433
|
-
import { useMutation as
|
|
18666
|
+
import { useMutation as useMutation18 } from "@connectrpc/connect-query";
|
|
18434
18667
|
import {
|
|
18435
18668
|
AlertDialog as AlertDialog5,
|
|
18436
18669
|
Button as Button26,
|
|
18437
18670
|
Text as Text50,
|
|
18438
|
-
toastManager as
|
|
18671
|
+
toastManager as toastManager20
|
|
18439
18672
|
} from "@raystack/apsara";
|
|
18440
18673
|
import { ConnectError as ConnectError3 } from "@connectrpc/connect";
|
|
18441
18674
|
import { jsx as jsx95, jsxs as jsxs72 } from "react/jsx-runtime";
|
|
@@ -18463,7 +18696,7 @@ function UpdateRoleContent({
|
|
|
18463
18696
|
onClose,
|
|
18464
18697
|
onRoleUpdate
|
|
18465
18698
|
}) {
|
|
18466
|
-
const { mutateAsync: setMemberRole, isPending } =
|
|
18699
|
+
const { mutateAsync: setMemberRole, isPending } = useMutation18(
|
|
18467
18700
|
FrontierServiceQueries22.setOrganizationMemberRole
|
|
18468
18701
|
);
|
|
18469
18702
|
async function onSubmit() {
|
|
@@ -18476,13 +18709,13 @@ function UpdateRoleContent({
|
|
|
18476
18709
|
})
|
|
18477
18710
|
);
|
|
18478
18711
|
onRoleUpdate();
|
|
18479
|
-
|
|
18712
|
+
toastManager20.add({
|
|
18480
18713
|
title: "Role assigned successfully",
|
|
18481
18714
|
type: "success"
|
|
18482
18715
|
});
|
|
18483
18716
|
onClose();
|
|
18484
18717
|
} catch (error) {
|
|
18485
|
-
|
|
18718
|
+
toastManager20.add({
|
|
18486
18719
|
title: "Failed to assign role",
|
|
18487
18720
|
description: error instanceof ConnectError3 ? error.message : void 0,
|
|
18488
18721
|
type: "error"
|
|
@@ -18527,8 +18760,8 @@ import {
|
|
|
18527
18760
|
RemoveOrganizationMemberRequestSchema
|
|
18528
18761
|
} from "@raystack/proton/frontier";
|
|
18529
18762
|
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
|
|
18763
|
+
import { useMutation as useMutation19 } from "@connectrpc/connect-query";
|
|
18764
|
+
import { Button as Button27, Dialog as Dialog11, Flex as Flex68, Text as Text51, toastManager as toastManager21 } from "@raystack/apsara";
|
|
18532
18765
|
import { jsx as jsx96, jsxs as jsxs73 } from "react/jsx-runtime";
|
|
18533
18766
|
var RemoveMember = ({
|
|
18534
18767
|
organizationId,
|
|
@@ -18537,7 +18770,7 @@ var RemoveMember = ({
|
|
|
18537
18770
|
onClose
|
|
18538
18771
|
}) => {
|
|
18539
18772
|
const t = useTerminology();
|
|
18540
|
-
const { mutateAsync: removeOrganizationMember, isPending } =
|
|
18773
|
+
const { mutateAsync: removeOrganizationMember, isPending } = useMutation19(
|
|
18541
18774
|
FrontierServiceQueries23.removeOrganizationMember
|
|
18542
18775
|
);
|
|
18543
18776
|
async function onSubmit() {
|
|
@@ -18554,15 +18787,15 @@ var RemoveMember = ({
|
|
|
18554
18787
|
if (onRemove) {
|
|
18555
18788
|
onRemove(user);
|
|
18556
18789
|
}
|
|
18557
|
-
|
|
18790
|
+
toastManager21.add({ title: `${t.member({ case: "capital" })} removed successfully`, type: "success" });
|
|
18558
18791
|
} catch (error) {
|
|
18559
18792
|
console.error(error);
|
|
18560
18793
|
handleConnectError(error, {
|
|
18561
|
-
PermissionDenied: () =>
|
|
18794
|
+
PermissionDenied: () => toastManager21.add({
|
|
18562
18795
|
title: "You don't have permission to perform this action",
|
|
18563
18796
|
type: "error"
|
|
18564
18797
|
}),
|
|
18565
|
-
Default: (err) =>
|
|
18798
|
+
Default: (err) => toastManager21.add({
|
|
18566
18799
|
title: `Failed to remove ${t.member({ case: "lower" })}`,
|
|
18567
18800
|
description: err.rawMessage,
|
|
18568
18801
|
type: "error"
|
|
@@ -18875,8 +19108,8 @@ import {
|
|
|
18875
19108
|
Flex as Flex76
|
|
18876
19109
|
} from "@raystack/apsara";
|
|
18877
19110
|
|
|
18878
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
18879
|
-
var digest63 = "
|
|
19111
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2410-nZMcBEcgK2Rj/sdk/admin/views/organizations/details/projects/projects.module.css.js
|
|
19112
|
+
var digest63 = "cc622bb95e4c230239cd495ac4371b5ddfedd15d38b53872f6c004fc83d069f3";
|
|
18880
19113
|
var css63 = `._container_1xzwm_1 {
|
|
18881
19114
|
width: 100%;
|
|
18882
19115
|
}
|
|
@@ -18944,8 +19177,8 @@ import {
|
|
|
18944
19177
|
Menu as Menu5
|
|
18945
19178
|
} from "@raystack/apsara";
|
|
18946
19179
|
|
|
18947
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
18948
|
-
var digest64 = "
|
|
19180
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2410-4fmoK9Sowqk5/sdk/admin/views/organizations/details/projects/projects.module.css.js
|
|
19181
|
+
var digest64 = "0085216d68b921fa411845b664de6ea4180d3c156dc8e41aee70936a7c5f24a3";
|
|
18949
19182
|
var css64 = `._container_1xzwm_1 {
|
|
18950
19183
|
width: 100%;
|
|
18951
19184
|
}
|
|
@@ -19004,7 +19237,7 @@ var projects_module_css_default2 = { "container": "_container_1xzwm_1", "title-c
|
|
|
19004
19237
|
import dayjs14 from "dayjs";
|
|
19005
19238
|
|
|
19006
19239
|
// 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
|
|
19240
|
+
import { Button as Button28, Dialog as Dialog12, Field as Field5, Flex as Flex70, Input as Input8, toastManager as toastManager22 } from "@raystack/apsara";
|
|
19008
19241
|
import {
|
|
19009
19242
|
FrontierServiceQueries as FrontierServiceQueries24,
|
|
19010
19243
|
UpdateProjectRequestSchema
|
|
@@ -19012,7 +19245,7 @@ import {
|
|
|
19012
19245
|
import { create as create24 } from "@bufbuild/protobuf";
|
|
19013
19246
|
import { zodResolver as zodResolver11 } from "@hookform/resolvers/zod";
|
|
19014
19247
|
import { useForm as useForm11, Controller as Controller8 } from "react-hook-form";
|
|
19015
|
-
import { useMutation as
|
|
19248
|
+
import { useMutation as useMutation20 } from "@connectrpc/connect-query";
|
|
19016
19249
|
import { jsx as jsx98, jsxs as jsxs75 } from "react/jsx-runtime";
|
|
19017
19250
|
var projectRenameSchema = external_exports.object({
|
|
19018
19251
|
title: external_exports.string(),
|
|
@@ -19038,7 +19271,7 @@ function RenameProjectDialog({
|
|
|
19038
19271
|
},
|
|
19039
19272
|
resolver: zodResolver11(projectRenameSchema)
|
|
19040
19273
|
});
|
|
19041
|
-
const { mutateAsync: updateProject } =
|
|
19274
|
+
const { mutateAsync: updateProject } = useMutation20(
|
|
19042
19275
|
FrontierServiceQueries24.updateProject
|
|
19043
19276
|
);
|
|
19044
19277
|
const submit = async (data) => {
|
|
@@ -19051,7 +19284,7 @@ function RenameProjectDialog({
|
|
|
19051
19284
|
);
|
|
19052
19285
|
const newProject = resp.project;
|
|
19053
19286
|
if (newProject) {
|
|
19054
|
-
|
|
19287
|
+
toastManager22.add({ title: `${t.project({ case: "capital" })} renamed successfully`, type: "success" });
|
|
19055
19288
|
onRename({
|
|
19056
19289
|
...project,
|
|
19057
19290
|
title: newProject.title,
|
|
@@ -19061,15 +19294,15 @@ function RenameProjectDialog({
|
|
|
19061
19294
|
} catch (error) {
|
|
19062
19295
|
console.error(error);
|
|
19063
19296
|
handleConnectError(error, {
|
|
19064
|
-
AlreadyExists: () =>
|
|
19297
|
+
AlreadyExists: () => toastManager22.add({
|
|
19065
19298
|
title: `${t.project({ case: "capital" })} with this name already exists`,
|
|
19066
19299
|
type: "error"
|
|
19067
19300
|
}),
|
|
19068
|
-
PermissionDenied: () =>
|
|
19301
|
+
PermissionDenied: () => toastManager22.add({
|
|
19069
19302
|
title: "You don't have permission to perform this action",
|
|
19070
19303
|
type: "error"
|
|
19071
19304
|
}),
|
|
19072
|
-
Default: (err) =>
|
|
19305
|
+
Default: (err) => toastManager22.add({
|
|
19073
19306
|
title: `Failed to rename ${t.project({ case: "lower" })}`,
|
|
19074
19307
|
description: err.rawMessage,
|
|
19075
19308
|
type: "error"
|
|
@@ -19139,8 +19372,8 @@ import { useState as useState31 } from "react";
|
|
|
19139
19372
|
|
|
19140
19373
|
// admin/views/organizations/details/projects/use-add-project-members.tsx
|
|
19141
19374
|
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
|
|
19375
|
+
import { toastManager as toastManager23 } from "@raystack/apsara";
|
|
19376
|
+
import { useQuery as useQuery18, useMutation as useMutation21 } from "@connectrpc/connect-query";
|
|
19144
19377
|
import { FrontierServiceQueries as FrontierServiceQueries25, ListProjectUsersRequestSchema, ListRolesRequestSchema as ListRolesRequestSchema3, SetProjectMemberRoleRequestSchema } from "@raystack/proton/frontier";
|
|
19145
19378
|
import { create as create25 } from "@bufbuild/protobuf";
|
|
19146
19379
|
function useAddProjectMembers({ projectId }) {
|
|
@@ -19184,7 +19417,7 @@ function useAddProjectMembers({ projectId }) {
|
|
|
19184
19417
|
() => rolesData?.roles?.find((r) => r.name === DEFAULT_ROLES.PROJECT_VIEWER)?.id ?? "",
|
|
19185
19418
|
[rolesData]
|
|
19186
19419
|
);
|
|
19187
|
-
const { mutateAsync: setProjectMemberRole } =
|
|
19420
|
+
const { mutateAsync: setProjectMemberRole } = useMutation21(
|
|
19188
19421
|
FrontierServiceQueries25.setProjectMemberRole
|
|
19189
19422
|
);
|
|
19190
19423
|
const addMember = useCallback13(
|
|
@@ -19200,15 +19433,15 @@ function useAddProjectMembers({ projectId }) {
|
|
|
19200
19433
|
roleId: viewerRoleId
|
|
19201
19434
|
})
|
|
19202
19435
|
);
|
|
19203
|
-
|
|
19436
|
+
toastManager23.add({ title: `${memberLabel} added`, type: "success" });
|
|
19204
19437
|
await refetch();
|
|
19205
19438
|
return projectMembers;
|
|
19206
19439
|
} catch (error) {
|
|
19207
19440
|
handleConnectError(error, {
|
|
19208
|
-
AlreadyExists: () =>
|
|
19209
|
-
PermissionDenied: () =>
|
|
19210
|
-
InvalidArgument: (err) =>
|
|
19211
|
-
Default: (err) =>
|
|
19441
|
+
AlreadyExists: () => toastManager23.add({ title: `${memberLabel} already exists in this project`, type: "error" }),
|
|
19442
|
+
PermissionDenied: () => toastManager23.add({ title: "You don't have permission to perform this action", type: "error" }),
|
|
19443
|
+
InvalidArgument: (err) => toastManager23.add({ title: "Invalid input", description: err.rawMessage, type: "error" }),
|
|
19444
|
+
Default: (err) => toastManager23.add({ title: "Something went wrong", description: err.rawMessage, type: "error" })
|
|
19212
19445
|
});
|
|
19213
19446
|
}
|
|
19214
19447
|
},
|
|
@@ -19469,8 +19702,8 @@ import { create as create28 } from "@bufbuild/protobuf";
|
|
|
19469
19702
|
import { useQuery as useQuery19, useInfiniteQuery as useInfiniteQuery6 } from "@connectrpc/connect-query";
|
|
19470
19703
|
import { useDebouncedState as useDebouncedState4 } from "@raystack/apsara/hooks";
|
|
19471
19704
|
|
|
19472
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
19473
|
-
var digest65 = "
|
|
19705
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2410-I20Wp8NTmy85/sdk/admin/views/organizations/details/projects/members/members.module.css.js
|
|
19706
|
+
var digest65 = "0f27208b168b6e066a29edd4db3f9d77155a3d7c1157d1dd567a83f166233d66";
|
|
19474
19707
|
var css65 = `._flex1_65nkt_1 {
|
|
19475
19708
|
flex: 1;
|
|
19476
19709
|
}
|
|
@@ -19558,8 +19791,8 @@ var css65 = `._flex1_65nkt_1 {
|
|
|
19558
19791
|
})();
|
|
19559
19792
|
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
19793
|
|
|
19561
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
19562
|
-
var digest66 = "
|
|
19794
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2410-8KIYG6onsmbZ/sdk/admin/views/organizations/details/projects/members/members.module.css.js
|
|
19795
|
+
var digest66 = "e06a2f4f5196507a0d9242edb6fa902e87663c0fe9d10514b130129c9f81e177";
|
|
19563
19796
|
var css66 = `._flex1_65nkt_1 {
|
|
19564
19797
|
flex: 1;
|
|
19565
19798
|
}
|
|
@@ -19775,8 +20008,8 @@ var getColumns14 = ({
|
|
|
19775
20008
|
];
|
|
19776
20009
|
};
|
|
19777
20010
|
|
|
19778
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
19779
|
-
var digest67 = "
|
|
20011
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2410-F8GX4uVCK83t/sdk/admin/views/organizations/details/projects/members/members.module.css.js
|
|
20012
|
+
var digest67 = "dfcf13b2a889fea78a2ceabd40531b9164153b2785b315f3fb30b72c6d8eca11";
|
|
19780
20013
|
var css67 = `._flex1_65nkt_1 {
|
|
19781
20014
|
flex: 1;
|
|
19782
20015
|
}
|
|
@@ -19871,12 +20104,12 @@ import {
|
|
|
19871
20104
|
} from "@raystack/proton/frontier";
|
|
19872
20105
|
import { create as create26 } from "@bufbuild/protobuf";
|
|
19873
20106
|
import { ConnectError as ConnectError4 } from "@connectrpc/connect";
|
|
19874
|
-
import { useMutation as
|
|
20107
|
+
import { useMutation as useMutation22 } from "@connectrpc/connect-query";
|
|
19875
20108
|
import {
|
|
19876
20109
|
AlertDialog as AlertDialog8,
|
|
19877
20110
|
Button as Button29,
|
|
19878
20111
|
Text as Text54,
|
|
19879
|
-
toastManager as
|
|
20112
|
+
toastManager as toastManager24
|
|
19880
20113
|
} from "@raystack/apsara";
|
|
19881
20114
|
import { jsx as jsx101, jsxs as jsxs78 } from "react/jsx-runtime";
|
|
19882
20115
|
var UpdateRole2 = ({
|
|
@@ -19903,7 +20136,7 @@ function UpdateRoleContent2({
|
|
|
19903
20136
|
onClose,
|
|
19904
20137
|
onRoleUpdate
|
|
19905
20138
|
}) {
|
|
19906
|
-
const { mutateAsync: setProjectMemberRole, isPending } =
|
|
20139
|
+
const { mutateAsync: setProjectMemberRole, isPending } = useMutation22(
|
|
19907
20140
|
FrontierServiceQueries26.setProjectMemberRole
|
|
19908
20141
|
);
|
|
19909
20142
|
async function onSubmit() {
|
|
@@ -19917,13 +20150,13 @@ function UpdateRoleContent2({
|
|
|
19917
20150
|
})
|
|
19918
20151
|
);
|
|
19919
20152
|
onRoleUpdate();
|
|
19920
|
-
|
|
20153
|
+
toastManager24.add({
|
|
19921
20154
|
title: "Role assigned successfully",
|
|
19922
20155
|
type: "success"
|
|
19923
20156
|
});
|
|
19924
20157
|
onClose();
|
|
19925
20158
|
} catch (error) {
|
|
19926
|
-
|
|
20159
|
+
toastManager24.add({
|
|
19927
20160
|
title: "Failed to assign role",
|
|
19928
20161
|
description: error instanceof ConnectError4 ? error.message : void 0,
|
|
19929
20162
|
type: "error"
|
|
@@ -19976,10 +20209,10 @@ import {
|
|
|
19976
20209
|
RemoveProjectMemberRequestSchema
|
|
19977
20210
|
} from "@raystack/proton/frontier";
|
|
19978
20211
|
import { create as create27 } from "@bufbuild/protobuf";
|
|
19979
|
-
import { useMutation as
|
|
20212
|
+
import { useMutation as useMutation23 } from "@connectrpc/connect-query";
|
|
19980
20213
|
|
|
19981
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
19982
|
-
var digest68 = "
|
|
20214
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2410-52pqJd6pgSGo/sdk/admin/views/organizations/details/projects/members/members.module.css.js
|
|
20215
|
+
var digest68 = "0c21947bd46cfdcb2a448538e0357d3a638323c6237d77a9235b76bc3e6fe837";
|
|
19983
20216
|
var css68 = `._flex1_65nkt_1 {
|
|
19984
20217
|
flex: 1;
|
|
19985
20218
|
}
|
|
@@ -20068,7 +20301,7 @@ var css68 = `._flex1_65nkt_1 {
|
|
|
20068
20301
|
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
20302
|
|
|
20070
20303
|
// 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
|
|
20304
|
+
import { AlertDialog as AlertDialog9, Button as Button30, Flex as Flex73, Text as Text55, toastManager as toastManager25 } from "@raystack/apsara";
|
|
20072
20305
|
import { jsx as jsx102, jsxs as jsxs79 } from "react/jsx-runtime";
|
|
20073
20306
|
var RemoveMember2 = ({
|
|
20074
20307
|
projectId,
|
|
@@ -20078,7 +20311,7 @@ var RemoveMember2 = ({
|
|
|
20078
20311
|
}) => {
|
|
20079
20312
|
const t = useTerminology();
|
|
20080
20313
|
const [isSubmitting, setIsSubmitting] = useState32(false);
|
|
20081
|
-
const { mutateAsync: removeProjectMember } =
|
|
20314
|
+
const { mutateAsync: removeProjectMember } = useMutation23(
|
|
20082
20315
|
FrontierServiceQueries27.removeProjectMember
|
|
20083
20316
|
);
|
|
20084
20317
|
async function onSubmit() {
|
|
@@ -20096,15 +20329,15 @@ var RemoveMember2 = ({
|
|
|
20096
20329
|
if (onRemove) {
|
|
20097
20330
|
onRemove(user);
|
|
20098
20331
|
}
|
|
20099
|
-
|
|
20332
|
+
toastManager25.add({ title: `${t.member({ case: "capital" })} removed successfully`, type: "success" });
|
|
20100
20333
|
} catch (error) {
|
|
20101
20334
|
console.error(error);
|
|
20102
20335
|
handleConnectError(error, {
|
|
20103
|
-
PermissionDenied: () =>
|
|
20336
|
+
PermissionDenied: () => toastManager25.add({
|
|
20104
20337
|
title: "You don't have permission to perform this action",
|
|
20105
20338
|
type: "error"
|
|
20106
20339
|
}),
|
|
20107
|
-
Default: (err) =>
|
|
20340
|
+
Default: (err) => toastManager25.add({
|
|
20108
20341
|
title: `Failed to remove ${t.member({ case: "lower" })}`,
|
|
20109
20342
|
description: err.rawMessage,
|
|
20110
20343
|
type: "error"
|
|
@@ -20183,8 +20416,8 @@ import {
|
|
|
20183
20416
|
Text as Text56
|
|
20184
20417
|
} from "@raystack/apsara";
|
|
20185
20418
|
|
|
20186
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
20187
|
-
var digest69 = "
|
|
20419
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2410-obuZ2JW4eItg/sdk/admin/views/organizations/details/projects/members/members.module.css.js
|
|
20420
|
+
var digest69 = "5bcf5db6a4971b80aa1f325780f17ebb3f5d3ace9b571e023e401bd53c9f90cc";
|
|
20188
20421
|
var css69 = `._flex1_65nkt_1 {
|
|
20189
20422
|
flex: 1;
|
|
20190
20423
|
}
|
|
@@ -20708,8 +20941,8 @@ function OrganizationProjectsView() {
|
|
|
20708
20941
|
// admin/views/organizations/details/invoices/index.tsx
|
|
20709
20942
|
import { DataTable as DataTable19, EmptyState as EmptyState18, Flex as Flex77 } from "@raystack/apsara";
|
|
20710
20943
|
|
|
20711
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
20712
|
-
var digest70 = "
|
|
20944
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2410-jNY8osZrRD3F/sdk/admin/views/organizations/details/invoices/invoices.module.css.js
|
|
20945
|
+
var digest70 = "410a06df6203c187715b104642225d89dbb091f3a3610cd81d0e790a5507e226";
|
|
20713
20946
|
var css70 = `._empty-state_ct7gw_1 {
|
|
20714
20947
|
height: 100%;
|
|
20715
20948
|
}
|
|
@@ -20755,8 +20988,8 @@ var invoices_module_css_default4 = { "empty-state": "_empty-state_ct7gw_1", "emp
|
|
|
20755
20988
|
// admin/views/organizations/details/invoices/index.tsx
|
|
20756
20989
|
import { useContext as useContext22, useEffect as useEffect17, useMemo as useMemo15, useState as useState35 } from "react";
|
|
20757
20990
|
|
|
20758
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
20759
|
-
var digest71 = "
|
|
20991
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2410-PWei9Z5Dzwzl/sdk/admin/views/organizations/details/invoices/invoices.module.css.js
|
|
20992
|
+
var digest71 = "18a14e8b97bbc9bf7eea02e96898cbadbd58f2b010e018b493d9508fbee024cc";
|
|
20760
20993
|
var css71 = `._empty-state_ct7gw_1 {
|
|
20761
20994
|
height: 100%;
|
|
20762
20995
|
}
|
|
@@ -21036,8 +21269,8 @@ function OrganizationInvoicesView() {
|
|
|
21036
21269
|
// admin/views/organizations/details/tokens/index.tsx
|
|
21037
21270
|
import { DataTable as DataTable20, EmptyState as EmptyState19, Flex as Flex79 } from "@raystack/apsara";
|
|
21038
21271
|
|
|
21039
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
21040
|
-
var digest72 = "
|
|
21272
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2410-YB9R5dl03YJq/sdk/admin/views/organizations/details/tokens/tokens.module.css.js
|
|
21273
|
+
var digest72 = "c7500911f76de95e51b2510c03a04e1eb6be1d13f5ec8fc174dc036ef4c053f1";
|
|
21041
21274
|
var css72 = `._empty-state_1mf09_1 {
|
|
21042
21275
|
height: 100%;
|
|
21043
21276
|
}
|
|
@@ -21097,8 +21330,8 @@ import { useContext as useContext23, useEffect as useEffect18, useMemo as useMem
|
|
|
21097
21330
|
import { FrontierServiceQueries as FrontierServiceQueries30 } from "@raystack/proton/frontier";
|
|
21098
21331
|
import { useInfiniteQuery as useInfiniteQuery9 } from "@connectrpc/connect-query";
|
|
21099
21332
|
|
|
21100
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
21101
|
-
var digest73 = "
|
|
21333
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2410-PTrVl27Gu6ZE/sdk/admin/views/organizations/details/tokens/tokens.module.css.js
|
|
21334
|
+
var digest73 = "bf62484534f05c7c528c9a088984cef68c86687263cc1754acbc61802935036f";
|
|
21102
21335
|
var css73 = `._empty-state_1mf09_1 {
|
|
21103
21336
|
height: 100%;
|
|
21104
21337
|
}
|
|
@@ -21159,7 +21392,7 @@ import {
|
|
|
21159
21392
|
Flex as Flex78,
|
|
21160
21393
|
getAvatarColor as getAvatarColor12,
|
|
21161
21394
|
Text as Text57,
|
|
21162
|
-
Tooltip as
|
|
21395
|
+
Tooltip as Tooltip7
|
|
21163
21396
|
} from "@raystack/apsara";
|
|
21164
21397
|
import { jsx as jsx108, jsxs as jsxs84 } from "react/jsx-runtime";
|
|
21165
21398
|
var getColumns16 = ({ t }) => {
|
|
@@ -21202,14 +21435,14 @@ var getColumns16 = ({ t }) => {
|
|
|
21202
21435
|
const text = getValue() ?? "";
|
|
21203
21436
|
if (!text)
|
|
21204
21437
|
return text;
|
|
21205
|
-
return /* @__PURE__ */ jsxs84(
|
|
21438
|
+
return /* @__PURE__ */ jsxs84(Tooltip7, { children: [
|
|
21206
21439
|
/* @__PURE__ */ jsx108(
|
|
21207
|
-
|
|
21440
|
+
Tooltip7.Trigger,
|
|
21208
21441
|
{
|
|
21209
21442
|
render: /* @__PURE__ */ jsx108("span", { className: tokens_module_css_default2["truncate-text"], children: text })
|
|
21210
21443
|
}
|
|
21211
21444
|
),
|
|
21212
|
-
/* @__PURE__ */ jsx108(
|
|
21445
|
+
/* @__PURE__ */ jsx108(Tooltip7.Content, { children: text })
|
|
21213
21446
|
] });
|
|
21214
21447
|
},
|
|
21215
21448
|
enableHiding: true
|
|
@@ -21381,8 +21614,8 @@ function OrganizationTokensView() {
|
|
|
21381
21614
|
// admin/views/organizations/details/apis/index.tsx
|
|
21382
21615
|
import { DataTable as DataTable21, EmptyState as EmptyState20, Flex as Flex81 } from "@raystack/apsara";
|
|
21383
21616
|
|
|
21384
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
21385
|
-
var digest74 = "
|
|
21617
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2410-dajztF9kDs8g/sdk/admin/views/organizations/details/apis/apis.module.css.js
|
|
21618
|
+
var digest74 = "93f4c408d03b3d2acfc53febd056903e76f62c70414c72b42d2cc581ae9e78d9";
|
|
21386
21619
|
var css74 = `._empty-state_r9k2f_1 {
|
|
21387
21620
|
height: 100%;
|
|
21388
21621
|
}
|
|
@@ -21467,8 +21700,8 @@ import { useCallback as useCallback16, useContext as useContext24, useEffect as
|
|
|
21467
21700
|
import { Text as Text58 } from "@raystack/apsara";
|
|
21468
21701
|
import dayjs17 from "dayjs";
|
|
21469
21702
|
|
|
21470
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
21471
|
-
var digest75 = "
|
|
21703
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2410-axMAGtlRnaOy/sdk/admin/views/organizations/details/apis/apis.module.css.js
|
|
21704
|
+
var digest75 = "229f46960c1ce446d839bf0a8f3f7127922744dbf16c921419e8b5a3aae43b66";
|
|
21472
21705
|
var css75 = `._empty-state_r9k2f_1 {
|
|
21473
21706
|
height: 100%;
|
|
21474
21707
|
}
|
|
@@ -21590,10 +21823,10 @@ function getColumns17(options) {
|
|
|
21590
21823
|
}
|
|
21591
21824
|
|
|
21592
21825
|
// 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
|
|
21826
|
+
import { Dialog as Dialog14, Flex as Flex80, Skeleton as Skeleton4, Tabs, Text as Text59, toastManager as toastManager26 } from "@raystack/apsara";
|
|
21594
21827
|
|
|
21595
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
21596
|
-
var digest76 = "
|
|
21828
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2410-1bfqDn5GILMp/sdk/admin/views/organizations/details/apis/apis.module.css.js
|
|
21829
|
+
var digest76 = "900995c855bb450a316e8b4c32b5909999f41389d60af9e8113dc1c5126b8ca3";
|
|
21597
21830
|
var css76 = `._empty-state_r9k2f_1 {
|
|
21598
21831
|
height: 100%;
|
|
21599
21832
|
}
|
|
@@ -21719,7 +21952,7 @@ var ServiceUserDetailsDialog = ({
|
|
|
21719
21952
|
});
|
|
21720
21953
|
useEffect19(() => {
|
|
21721
21954
|
if (projectError) {
|
|
21722
|
-
|
|
21955
|
+
toastManager26.add({
|
|
21723
21956
|
title: "Something went wrong",
|
|
21724
21957
|
description: "Unable to fetch projects",
|
|
21725
21958
|
type: "error"
|
|
@@ -21727,7 +21960,7 @@ var ServiceUserDetailsDialog = ({
|
|
|
21727
21960
|
console.error("Unable to fetch projects:", projectError);
|
|
21728
21961
|
}
|
|
21729
21962
|
if (tokenError) {
|
|
21730
|
-
|
|
21963
|
+
toastManager26.add({
|
|
21731
21964
|
title: "Something went wrong",
|
|
21732
21965
|
description: "Unable to fetch tokens",
|
|
21733
21966
|
type: "error"
|
|
@@ -21998,8 +22231,8 @@ var getInitials = function(name = "") {
|
|
|
21998
22231
|
return initials;
|
|
21999
22232
|
};
|
|
22000
22233
|
|
|
22001
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
22002
|
-
var digest77 = "
|
|
22234
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2410-Ei3kHEMOap53/sdk/admin/views/organizations/details/pat/pat.module.css.js
|
|
22235
|
+
var digest77 = "295e0c383fbc17b19742dfe6b9faacdf6d250005e9f51d14e2b1e6553bb0b512";
|
|
22003
22236
|
var css77 = `._empty-state_1xap9_1 {
|
|
22004
22237
|
height: 100%;
|
|
22005
22238
|
}
|
|
@@ -22181,8 +22414,8 @@ import {
|
|
|
22181
22414
|
FrontierServiceQueries as FrontierServiceQueries32
|
|
22182
22415
|
} from "@raystack/proton/frontier";
|
|
22183
22416
|
|
|
22184
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
22185
|
-
var digest78 = "
|
|
22417
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2410-bLntWQ2yy3ah/sdk/admin/views/organizations/details/pat/components/pat-details-dialog.module.css.js
|
|
22418
|
+
var digest78 = "e94e5f8c65993208d743badc398830c15291ace54ef913d1c0dbc63bac83dd1b";
|
|
22186
22419
|
var css78 = `._details-dialog_1dwlo_1 {
|
|
22187
22420
|
width: 100%;
|
|
22188
22421
|
max-width: 400px;
|
|
@@ -22373,8 +22606,8 @@ function PatDetailsDialog({
|
|
|
22373
22606
|
] }) });
|
|
22374
22607
|
}
|
|
22375
22608
|
|
|
22376
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
22377
|
-
var digest79 = "
|
|
22609
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2410-g5d9jQJiQzHq/sdk/admin/views/organizations/details/pat/pat.module.css.js
|
|
22610
|
+
var digest79 = "779d4b2de4e4b3af2c63a037ffcb6da856dcad8a89d07fd4e437bc4f2eaac3fd";
|
|
22378
22611
|
var css79 = `._empty-state_1xap9_1 {
|
|
22379
22612
|
height: 100%;
|
|
22380
22613
|
}
|