@raystack/frontier 0.92.1 → 0.93.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -226,8 +226,8 @@ function converBillingAddressToString(address) {
226
226
  // admin/views/roles/columns.tsx
227
227
  var import_apsara = require("@raystack/apsara");
228
228
 
229
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-zmIr1vlj9aua/sdk/admin/views/roles/roles.module.css.js
230
- var digest = "61d9b9406a34f71190f1d7b1f7fc61dbee2a96d0cc3caebec621784859d7b263";
229
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-4OQeXNnPe27u/sdk/admin/views/roles/roles.module.css.js
230
+ var digest = "3b15186fa564500538891876fa59efc3f50229aac8914f74bbd9878ff0737c86";
231
231
  var css = `._tableRoot_4yb15_1 {
232
232
  width: 100%;
233
233
  }
@@ -312,8 +312,8 @@ var import_apsara3 = require("@raystack/apsara");
312
312
  // admin/components/PageHeader.tsx
313
313
  var import_apsara2 = require("@raystack/apsara");
314
314
 
315
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-naiXoisUcBQM/sdk/admin/components/page-header.module.css.js
316
- var digest2 = "d316ae3103c0d5c608a3d1dd894facbac4bafbd69181ae7f272fb885c586bd87";
315
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-TcIc7kqTFpZ3/sdk/admin/components/page-header.module.css.js
316
+ var digest2 = "b7a8585edd83571f276055cf07e7e3c7dfa9fd8bd811c939fc5e250f52500605";
317
317
  var css2 = `._breadcrumb_1kaun_1 {
318
318
  list-style: none;
319
319
  padding: 0;
@@ -419,8 +419,8 @@ function PageHeader({
419
419
  );
420
420
  }
421
421
 
422
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-25qpPMoWMu6O/sdk/admin/views/roles/roles.module.css.js
423
- var digest3 = "5684cc861d6843fef7a0745feedc4850b2ab077463e9187e5a3a2877b357201b";
422
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-qnoENWqtp3Gz/sdk/admin/views/roles/roles.module.css.js
423
+ var digest3 = "d8a7a5b4f4c76b7ed421271383a6582129fbe758121785e794699d82cf01c90b";
424
424
  var css3 = `._tableRoot_4yb15_1 {
425
425
  width: 100%;
426
426
  }
@@ -906,8 +906,8 @@ function PageTitle({ title, appName }) {
906
906
  return null;
907
907
  }
908
908
 
909
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-kQ3B4tYmx2OA/sdk/admin/views/roles/roles.module.css.js
910
- var digest4 = "2455744bf3944e255c9e7c7cf07479092e113b4858605b804c31d577c3e0f2fe";
909
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-7g4WMFeyL0K2/sdk/admin/views/roles/roles.module.css.js
910
+ var digest4 = "965dcefb4d6435ac0477506efafcdc1888ea6ded9ba34c42b45118c35f2f2c8b";
911
911
  var css4 = `._tableRoot_4yb15_1 {
912
912
  width: 100%;
913
913
  }
@@ -1085,8 +1085,8 @@ var import_react5 = require("react");
1085
1085
  // admin/views/invoices/navbar.tsx
1086
1086
  var import_apsara7 = require("@raystack/apsara");
1087
1087
 
1088
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-5yTEEdB6gnN8/sdk/admin/views/invoices/invoices.module.css.js
1089
- var digest5 = "ca5080e2f028f6d978d4ee482abf2feac6aba5a21aae36fbe19034afadf07dae";
1088
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-bzYnamP1O5OP/sdk/admin/views/invoices/invoices.module.css.js
1089
+ var digest5 = "f3f652867c6a7615eda8d8151d1fa6b26feed921afa624af1b55a7a41ccd46fd";
1090
1090
  var css5 = `._navbar_9c4wr_1 {
1091
1091
  padding: var(--rs-space-4) var(--rs-space-7);
1092
1092
  border-bottom: 0.5px solid var(--rs-color-border-base-primary);
@@ -1204,8 +1204,8 @@ var InvoicesNavabar = ({ searchQuery }) => {
1204
1204
  ] });
1205
1205
  };
1206
1206
 
1207
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-WmFO29SCW7eq/sdk/admin/views/invoices/invoices.module.css.js
1208
- var digest6 = "e12ba16c7a749e8527ae8210b13d79a8da42a3891adecf6a5a1c04d858b596bf";
1207
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-DuEJLgAi2kU6/sdk/admin/views/invoices/invoices.module.css.js
1208
+ var digest6 = "2587f5e08afa145dbe039bf48f203e7bb990a3f06e2265528fb291e1b6674689";
1209
1209
  var css6 = `._navbar_9c4wr_1 {
1210
1210
  padding: var(--rs-space-4) var(--rs-space-7);
1211
1211
  border-bottom: 0.5px solid var(--rs-color-border-base-primary);
@@ -1671,8 +1671,8 @@ var getColumns3 = (onNavigateToPrices) => {
1671
1671
  // admin/views/products/header.tsx
1672
1672
  var import_apsara11 = require("@raystack/apsara");
1673
1673
 
1674
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-DYbwY5DA0yKs/sdk/admin/views/products/products.module.css.js
1675
- var digest7 = "b8b5b5177d6b8e48456410ba8137a146a23935bcab620a9ec95d16b971840710";
1674
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-D977BltFUfJE/sdk/admin/views/products/products.module.css.js
1675
+ var digest7 = "50fb5984e1a8b315a31f9a96789795d4b446ec10cb1d43ad0965b165402372e7";
1676
1676
  var css7 = `._tableRoot_1lzjd_1 {
1677
1677
  width: 100%;
1678
1678
  }
@@ -1743,8 +1743,8 @@ var ProductsHeader = ({
1743
1743
  );
1744
1744
  };
1745
1745
 
1746
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-7uje143XaihO/sdk/admin/views/products/products.module.css.js
1747
- var digest8 = "e66b3ba9f927086e6402b78286f7fcb3833b815dacf25553dff8d8e23e2d1e10";
1746
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-KFuKyb55PsnT/sdk/admin/views/products/products.module.css.js
1747
+ var digest8 = "55b89c40363d9447dad02094d51377e3f2337e02964bffea83e4adaff022e78c";
1748
1748
  var css8 = `._tableRoot_1lzjd_1 {
1749
1749
  width: 100%;
1750
1750
  }
@@ -1796,8 +1796,8 @@ var products_module_css_default2 = { "tableRoot": "_tableRoot_1lzjd_1", "tableWr
1796
1796
  // admin/views/products/details.tsx
1797
1797
  var import_apsara12 = require("@raystack/apsara");
1798
1798
 
1799
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-P56srrOSX2xk/sdk/admin/views/products/products.module.css.js
1800
- var digest9 = "96a9602fd6eb2b8a6e9a2835064abf53779e18e784dc61cf9f9ce088955893e4";
1799
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-u3dqt30O31hL/sdk/admin/views/products/products.module.css.js
1800
+ var digest9 = "41283c18e8e7d0fd71d4348015983e65d0c36e4f857b48b8339db081882cddd8";
1801
1801
  var css9 = `._tableRoot_1lzjd_1 {
1802
1802
  width: 100%;
1803
1803
  }
@@ -2143,8 +2143,8 @@ function CpuChipIcon(props) {
2143
2143
  );
2144
2144
  }
2145
2145
 
2146
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-JNJwgTVElktS/sdk/admin/views/audit-logs/audit-logs.module.css.js
2147
- var digest10 = "1fa32cc6ce775fcc689b297f5f48a4c1d964c2edd7999bf21ab30c981ca6b9d7";
2146
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-cUsbal5BECxC/sdk/admin/views/audit-logs/audit-logs.module.css.js
2147
+ var digest10 = "e14c5b86f6785f6caefe2056dcc9b066d49ab5262d73854d76729679a86b22f1";
2148
2148
  var css10 = `._navbar_sfza7_1 {
2149
2149
  padding: var(--rs-space-4) var(--rs-space-7);
2150
2150
  border-bottom: 0.5px solid var(--rs-color-border-base-primary);
@@ -2360,8 +2360,8 @@ var Navbar = ({ searchQuery, onExportCsv }) => {
2360
2360
  };
2361
2361
  var navbar_default = Navbar;
2362
2362
 
2363
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-uaBKWxfgNoIv/sdk/admin/views/audit-logs/audit-logs.module.css.js
2364
- var digest11 = "89c063823816dfe4ee2c483a09e2092d012f66745067fb477972a0718616dd44";
2363
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-cb2U2JbRhZHu/sdk/admin/views/audit-logs/audit-logs.module.css.js
2364
+ var digest11 = "a2bd34d5dc66ef214bf36a731993ec1b4ef5d2c5dcbb0e89f6b593951585b14a";
2365
2365
  var css11 = `._navbar_sfza7_1 {
2366
2366
  padding: var(--rs-space-4) var(--rs-space-7);
2367
2367
  border-bottom: 0.5px solid var(--rs-color-border-base-primary);
@@ -2471,8 +2471,8 @@ var audit_logs_module_css_default2 = { "navbar": "_navbar_sfza7_1", "table": "_t
2471
2471
  var import_apsara18 = require("@raystack/apsara");
2472
2472
  var import_dayjs3 = __toESM(require("dayjs"));
2473
2473
 
2474
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-Wip011VAjuHl/sdk/admin/views/audit-logs/audit-logs.module.css.js
2475
- var digest12 = "540bf7563a3d73be8a025e490adc14fe05a0f433442af2e43b67d2cc0cb43063";
2474
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-yVQaznryjTRU/sdk/admin/views/audit-logs/audit-logs.module.css.js
2475
+ var digest12 = "e21e36f9e711a47340d169c23ed6c29dc20a1aa62ad67045e838ae5b521f1a36";
2476
2476
  var css12 = `._navbar_sfza7_1 {
2477
2477
  padding: var(--rs-space-4) var(--rs-space-7);
2478
2478
  border-bottom: 0.5px solid var(--rs-color-border-base-primary);
@@ -2734,8 +2734,8 @@ var import_frontier7 = require("@raystack/proton/frontier");
2734
2734
  var import_apsara22 = require("@raystack/apsara");
2735
2735
  var import_apsara23 = require("@raystack/apsara");
2736
2736
 
2737
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-3eQhZYYZhaAW/sdk/admin/views/audit-logs/audit-logs.module.css.js
2738
- var digest13 = "50e0b1113188e6c6c92f7ed9edf73aa740dce06a2a594dc98b937cbcfe8b79e9";
2737
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-FCnYLYvnI5xk/sdk/admin/views/audit-logs/audit-logs.module.css.js
2738
+ var digest13 = "b7779f54f91974b325a688a88034f0bc7037781ab4ae971fa35b853e11c0cff0";
2739
2739
  var css13 = `._navbar_sfza7_1 {
2740
2740
  padding: var(--rs-space-4) var(--rs-space-7);
2741
2741
  border-bottom: 0.5px solid var(--rs-color-border-base-primary);
@@ -2872,8 +2872,8 @@ function MapIcon(props) {
2872
2872
  // admin/views/audit-logs/sidepanel-log-dialog.tsx
2873
2873
  var import_apsara19 = require("@raystack/apsara");
2874
2874
 
2875
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-e53BdLOid7Aj/sdk/admin/views/audit-logs/audit-logs.module.css.js
2876
- var digest14 = "233bed3d9aec4be4c09b726ceaa2d32c6a07be8617766122809d04b4f16034cd";
2875
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-NrN7yjK1Dja8/sdk/admin/views/audit-logs/audit-logs.module.css.js
2876
+ var digest14 = "0c2d935ac999121cbe1fd6d861a3413772f8c24af22a7e0cf1f9b250645d8a72";
2877
2877
  var css14 = `._navbar_sfza7_1 {
2878
2878
  padding: var(--rs-space-4) var(--rs-space-7);
2879
2879
  border-bottom: 0.5px solid var(--rs-color-border-base-primary);
@@ -3076,8 +3076,8 @@ function SidePanelLogDialog(props) {
3076
3076
  // admin/views/audit-logs/sidepanel-list-link.tsx
3077
3077
  var import_apsara20 = require("@raystack/apsara");
3078
3078
 
3079
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-bmGV73LvBTLn/sdk/admin/views/audit-logs/audit-logs.module.css.js
3080
- var digest15 = "bdf26f4d6653e011908b82bd75ed8cf72046f02deb8635651cb926b79df0d44d";
3079
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-tnSfbuiLA22r/sdk/admin/views/audit-logs/audit-logs.module.css.js
3080
+ var digest15 = "2867089482ea896c47fd14510f45a7124e14c4501bb789990b07bf312d9a98a5";
3081
3081
  var css15 = `._navbar_sfza7_1 {
3082
3082
  padding: var(--rs-space-4) var(--rs-space-7);
3083
3083
  border-bottom: 0.5px solid var(--rs-color-border-base-primary);
@@ -3218,8 +3218,8 @@ function SidepanelListItemLink({
3218
3218
  // admin/views/audit-logs/sidepanel-list-id.tsx
3219
3219
  var import_apsara21 = require("@raystack/apsara");
3220
3220
 
3221
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-A7DzUq0AGA6n/sdk/admin/views/audit-logs/audit-logs.module.css.js
3222
- var digest16 = "1d63787376d4063c54403c492e0c8a434b4e6d4bf1f83501897818c756d7e96b";
3221
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-Jx1FHDEgPhIu/sdk/admin/views/audit-logs/audit-logs.module.css.js
3222
+ var digest16 = "ba4dc44e16a105157140d68eaf54fd0821359235351566f7ec042d3d91452ece";
3223
3223
  var css16 = `._navbar_sfza7_1 {
3224
3224
  padding: var(--rs-space-4) var(--rs-space-7);
3225
3225
  border-bottom: 0.5px solid var(--rs-color-border-base-primary);
@@ -3697,8 +3697,8 @@ var getColumns6 = ({ onNavigateToOrg } = {}) => {
3697
3697
  ];
3698
3698
  };
3699
3699
 
3700
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-1OCgSyu10ecm/sdk/admin/views/admins/admins.module.css.js
3701
- var digest17 = "5cd72e71043cbf53835fc5b3e7ee4bdaad1e4bae5b647fd8be2ea3b6fcb9c299";
3700
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-fEJtCyFQsJN3/sdk/admin/views/admins/admins.module.css.js
3701
+ var digest17 = "c3d61bd4128a0180f0a67ac01555b8d74c15f924f5aa2c2ef7f33d7e49416f3a";
3702
3702
  var css17 = `._tableRoot_yd6a0_1 {
3703
3703
  width: 100%;
3704
3704
  }
@@ -3854,8 +3854,8 @@ var getColumns7 = ({ onSelectPlan } = {}) => {
3854
3854
  // admin/views/plans/header.tsx
3855
3855
  var import_apsara28 = require("@raystack/apsara");
3856
3856
 
3857
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-0vcgYD6d2hFk/sdk/admin/views/plans/plans.module.css.js
3858
- var digest18 = "718beac39ff5b20400faa67aac8f307e66d2d039e7531e4638dfd7c38c735b71";
3857
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-j1EAoIw26Qux/sdk/admin/views/plans/plans.module.css.js
3858
+ var digest18 = "2aa0b8c0320d0501d364d52656d519bb82737e76b95ef47079fe3a40eb128894";
3859
3859
  var css18 = `._tableRoot_1d6xr_1 {
3860
3860
  width: 100%;
3861
3861
  }
@@ -3908,8 +3908,8 @@ var PlanHeader = ({ header }) => {
3908
3908
  );
3909
3909
  };
3910
3910
 
3911
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-fz0PjVJWtSg3/sdk/admin/views/plans/plans.module.css.js
3912
- var digest19 = "96611f08634ee0f3d5a5758fdaaebd3b0b5d62f98ba558263e392f17aa6ad4bb";
3911
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-VmGez8up4686/sdk/admin/views/plans/plans.module.css.js
3912
+ var digest19 = "b821b0efcbd6ba6ae181f6956615bacbe9a90dbb0f99c3176c4cec189ace493f";
3913
3913
  var css19 = `._tableRoot_1d6xr_1 {
3914
3914
  width: 100%;
3915
3915
  }
@@ -4059,8 +4059,8 @@ var import_react23 = require("react");
4059
4059
  // admin/views/webhooks/webhooks/columns.tsx
4060
4060
  var import_apsara32 = require("@raystack/apsara");
4061
4061
 
4062
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-007TMyx5XTJb/sdk/admin/views/webhooks/webhooks/webhooks.module.css.js
4063
- var digest20 = "bc124d06276581fb6e1a6294bbec45cc2dba2bd80f7161af35f0d9247b7cfa60";
4062
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-UUnpG4dCXiC1/sdk/admin/views/webhooks/webhooks/webhooks.module.css.js
4063
+ var digest20 = "1a20edcc70064cac9179c5722059ca5a5adc1ffb76a1d306b7ba7c7d8d897018";
4064
4064
  var css20 = `._tableRoot_h8n52_1 {
4065
4065
  width: 100%;
4066
4066
  }
@@ -4587,8 +4587,8 @@ var getColumns8 = ({ openEditPage, deleteWebhookMutation, enableDelete }) => {
4587
4587
  // admin/views/webhooks/webhooks/header.tsx
4588
4588
  var import_apsara33 = require("@raystack/apsara");
4589
4589
 
4590
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-wZ2kK210KVZZ/sdk/admin/views/webhooks/webhooks/webhooks.module.css.js
4591
- var digest21 = "fd89d95d6fc64eb14ca9f522c8f690da2637c34c240589ad88f79b7eebe4f2b5";
4590
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-0413jWNOLc0E/sdk/admin/views/webhooks/webhooks/webhooks.module.css.js
4591
+ var digest21 = "89b94704f759d529a47333adb2f19848ac1bd2939003e754ab033f93938e0822";
4592
4592
  var css21 = `._tableRoot_h8n52_1 {
4593
4593
  width: 100%;
4594
4594
  }
@@ -4670,8 +4670,8 @@ var WebhooksHeader = ({ header = pageHeader4, onOpenCreate }) => {
4670
4670
  );
4671
4671
  };
4672
4672
 
4673
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-iDGk3DqqvpHd/sdk/admin/views/webhooks/webhooks/webhooks.module.css.js
4674
- var digest22 = "7952f042ad60bc5b453ed3b2c8aeb0f3d5011cf66862599761d35ac08a2dc772";
4673
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-fEqhfrAe66OQ/sdk/admin/views/webhooks/webhooks/webhooks.module.css.js
4674
+ var digest22 = "f0a8857abc4ad9ed293fd182078418d706403c2099b98d8b9ac42859af5d63ae";
4675
4675
  var css22 = `._tableRoot_h8n52_1 {
4676
4676
  width: 100%;
4677
4677
  }
@@ -10328,8 +10328,8 @@ var import_apsara41 = require("@raystack/apsara");
10328
10328
  // admin/views/preferences/columns.tsx
10329
10329
  var import_apsara40 = require("@raystack/apsara");
10330
10330
 
10331
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-kA2ePGi2oXvy/sdk/admin/views/preferences/preferences.module.css.js
10332
- var digest23 = "99fb2be403748ad6920b79d1da7253d535c4bef6732de2901700fdab2f73bd2b";
10331
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-HAemtqCtADtG/sdk/admin/views/preferences/preferences.module.css.js
10332
+ var digest23 = "3609d6248a16d53ee17b747af949bd8aa8b5c695e60efe6b057503aa52f3e182";
10333
10333
  var css23 = `._tableRoot_j5y5o_1 {
10334
10334
  width: 100%;
10335
10335
  }
@@ -10411,8 +10411,8 @@ var getColumns9 = ({
10411
10411
  ];
10412
10412
  };
10413
10413
 
10414
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-FlCUQ1pWQmPt/sdk/admin/views/preferences/preferences.module.css.js
10415
- var digest24 = "37942ab29d3a2e5b8f4ca73e767cf4146873c28497e219954385ab6c6686b0f4";
10414
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-bwj05k6a7u5E/sdk/admin/views/preferences/preferences.module.css.js
10415
+ var digest24 = "dcbe2d18872d628db4f7ed8f18de045f7ddc420297b1cc5fc0fb34e70d9f87e7";
10416
10416
  var css24 = `._tableRoot_j5y5o_1 {
10417
10417
  width: 100%;
10418
10418
  }
@@ -10759,8 +10759,8 @@ var import_apsara47 = require("@raystack/apsara");
10759
10759
  // admin/views/users/list/navbar.tsx
10760
10760
  var import_apsara45 = require("@raystack/apsara");
10761
10761
 
10762
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-LMZZRw0eX9Ib/sdk/admin/views/users/list/list.module.css.js
10763
- var digest25 = "31edb96046e22f91084f18531128063a9a74e31743a7c05e6dc41a6af04bbc12";
10762
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-phF9vv8fW3mz/sdk/admin/views/users/list/list.module.css.js
10763
+ var digest25 = "41cdba42d8c7138452b389314bb11596b95faa52328a8526d21f95c6c65c5b0d";
10764
10764
  var css25 = `._navbar_1s15g_1 {
10765
10765
  padding: var(--rs-space-4) var(--rs-space-7);
10766
10766
  border-bottom: 0.5px solid var(--rs-color-border-base-primary);
@@ -10876,23 +10876,28 @@ var defaultConfig = {
10876
10876
  organization_types: []
10877
10877
  };
10878
10878
 
10879
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-3BOywlmRTGeI/sdk/admin/views/users/list/invite-users.module.css.js
10880
- var digest26 = "b369c22afea09467a5e61b3bf959185604ea52d82332856a3143d9c803ebac58";
10881
- var css26 = `._invite-users-dialog-body_1fsyy_1 {
10879
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-qgtce47imkP7/sdk/admin/views/users/list/invite-users.module.css.js
10880
+ var digest26 = "c9aabe95d450ec3bc9edea027597077a4ae1d553294661f3b6750a0c71b4b275";
10881
+ var css26 = `._invite-users-dialog-body_11ujx_1 {
10882
10882
  display: flex;
10883
10883
  flex-direction: column;
10884
10884
  padding: var(--rs-space-9) var(--rs-space-7);
10885
10885
  gap: var(--rs-space-7);
10886
10886
  }
10887
10887
 
10888
- ._invite-users-dialog-label_1fsyy_8 {
10888
+ ._invite-users-dialog-label_11ujx_8 {
10889
10889
  font-weight: var(--rs-font-weight-medium);
10890
10890
  }
10891
10891
 
10892
- ._form-error-message_1fsyy_12 {
10892
+ ._form-error-message_11ujx_12 {
10893
10893
  color: var(--rs-color-foreground-danger-primary);
10894
10894
  }
10895
- `;
10895
+
10896
+ ._invite-users-emails-textarea_11ujx_16 {
10897
+ resize: vertical;
10898
+ width: 100%;
10899
+ max-height: var(--rs-space-17);
10900
+ }`;
10896
10901
  (function() {
10897
10902
  if (typeof document === "undefined") {
10898
10903
  return;
@@ -10904,7 +10909,7 @@ var css26 = `._invite-users-dialog-body_1fsyy_1 {
10904
10909
  document.head.appendChild(el);
10905
10910
  }
10906
10911
  })();
10907
- var invite_users_module_css_default = { "invite-users-dialog-body": "_invite-users-dialog-body_1fsyy_1", "inviteUsersDialogBody": "_invite-users-dialog-body_1fsyy_1", "invite-users-dialog-label": "_invite-users-dialog-label_1fsyy_8", "inviteUsersDialogLabel": "_invite-users-dialog-label_1fsyy_8", "form-error-message": "_form-error-message_1fsyy_12", "formErrorMessage": "_form-error-message_1fsyy_12" };
10912
+ var invite_users_module_css_default = { "invite-users-dialog-body": "_invite-users-dialog-body_11ujx_1", "inviteUsersDialogBody": "_invite-users-dialog-body_11ujx_1", "invite-users-dialog-label": "_invite-users-dialog-label_11ujx_8", "inviteUsersDialogLabel": "_invite-users-dialog-label_11ujx_8", "form-error-message": "_form-error-message_11ujx_12", "formErrorMessage": "_form-error-message_11ujx_12", "invite-users-emails-textarea": "_invite-users-emails-textarea_11ujx_16", "inviteUsersEmailsTextarea": "_invite-users-emails-textarea_11ujx_16" };
10908
10913
 
10909
10914
  // admin/views/users/list/invite-users.tsx
10910
10915
  var import_connect_query13 = require("@connectrpc/connect-query");
@@ -11017,7 +11022,8 @@ var InviteUser = () => {
11017
11022
  import_apsara44.TextArea,
11018
11023
  {
11019
11024
  ...field,
11020
- placeholder: "abc@example.com, xyz@example.com"
11025
+ placeholder: "abc@example.com, xyz@example.com",
11026
+ className: invite_users_module_css_default["invite-users-emails-textarea"]
11021
11027
  }
11022
11028
  )
11023
11029
  }
@@ -11191,8 +11197,8 @@ var Navbar2 = ({ searchQuery, onExportUsers }) => {
11191
11197
  };
11192
11198
  var navbar_default2 = Navbar2;
11193
11199
 
11194
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-Ri5rjvVX7yLz/sdk/admin/views/users/list/list.module.css.js
11195
- var digest27 = "84900ffd097f6c1203f62569cf5691610e2dd0f8748ab8733e3dc38e661ddbab";
11200
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-hfRHcE8ujnZr/sdk/admin/views/users/list/list.module.css.js
11201
+ var digest27 = "4e9c0d81d424c21aa1dd503658339efc90edf71649712a94aa28d0e1920eda90";
11196
11202
  var css27 = `._navbar_1s15g_1 {
11197
11203
  padding: var(--rs-space-4) var(--rs-space-7);
11198
11204
  border-bottom: 0.5px solid var(--rs-color-border-base-primary);
@@ -11256,8 +11262,8 @@ var list_module_css_default2 = { "navbar": "_navbar_1s15g_1", "table": "_table_1
11256
11262
  var import_apsara46 = require("@raystack/apsara");
11257
11263
  var import_dayjs7 = __toESM(require("dayjs"));
11258
11264
 
11259
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-LUvwJWfNfChl/sdk/admin/views/users/list/list.module.css.js
11260
- var digest28 = "fc55b34ce2b9693a0ef350909b46e5a7181f55a6863f1346028f9e52af27bb03";
11265
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-eK2Z7uMx1GMb/sdk/admin/views/users/list/list.module.css.js
11266
+ var digest28 = "866a9f94992d6af88cd58da20cf450c42c7cd8ba4439326016d96ded8b6923f1";
11261
11267
  var css28 = `._navbar_1s15g_1 {
11262
11268
  padding: var(--rs-space-4) var(--rs-space-7);
11263
11269
  border-bottom: 0.5px solid var(--rs-color-border-base-primary);
@@ -11427,7 +11433,7 @@ var NoUsers = () => {
11427
11433
  }
11428
11434
  );
11429
11435
  };
11430
- var DEFAULT_SORT3 = { name: "created_at", order: "desc" };
11436
+ var DEFAULT_SORT3 = { name: "createdAt", order: "desc" };
11431
11437
  var INITIAL_QUERY3 = {
11432
11438
  offset: 0,
11433
11439
  limit: DEFAULT_PAGE_SIZE
@@ -11547,8 +11553,8 @@ var import_apsara53 = require("@raystack/apsara");
11547
11553
  // admin/views/users/details/layout/side-panel-details.tsx
11548
11554
  var import_apsara48 = require("@raystack/apsara");
11549
11555
 
11550
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-Cea607Fv47jh/sdk/admin/views/users/details/layout/side-panel.module.css.js
11551
- var digest29 = "ee73eb78078449d4bbfd02e5d07da3d995710fe5d2a82522bc31bd1b849db26f";
11556
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-Zp9jTVL5oTS3/sdk/admin/views/users/details/layout/side-panel.module.css.js
11557
+ var digest29 = "a0bd5bdca79e1e1ac6ee8770aaa792809a9edf1855aa2eb74855e9770fd8d307";
11552
11558
  var css29 = `._side-panel_1oc3f_1 {
11553
11559
  transform: all 0.3s ease-in-out;
11554
11560
  padding-bottom: 80px;
@@ -11655,8 +11661,8 @@ var SidePanelDetails2 = () => {
11655
11661
  var import_apsara52 = require("@raystack/apsara");
11656
11662
  var import_dayjs8 = __toESM(require("dayjs"));
11657
11663
 
11658
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-cd9CbF5sDo7X/sdk/admin/views/users/details/layout/side-panel.module.css.js
11659
- var digest30 = "04a6589a1255826c89c65f25cb6fd80c2ad3d519b7ae60f6fc67a89d27bda1b4";
11664
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-0RoZDJJMOCnT/sdk/admin/views/users/details/layout/side-panel.module.css.js
11665
+ var digest30 = "948cfce245ec72e33dd04e756102a346fb5cd0ded291e00f75947ff75a5046bc";
11660
11666
  var css30 = `._side-panel_1oc3f_1 {
11661
11667
  transform: all 0.3s ease-in-out;
11662
11668
  padding-bottom: 80px;
@@ -11719,8 +11725,8 @@ var side_panel_module_css_default2 = { "side-panel": "_side-panel_1oc3f_1", "sid
11719
11725
  // admin/views/users/details/layout/membership-dropdown.tsx
11720
11726
  var import_apsara51 = require("@raystack/apsara");
11721
11727
 
11722
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-Kc65M0XJLiqN/sdk/admin/views/users/details/layout/side-panel.module.css.js
11723
- var digest31 = "6108cc80342ee5a3cb0524e411c4d3d355be3e64405eaca0e498fb90b35a52fc";
11728
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-8U0MFYUo63DJ/sdk/admin/views/users/details/layout/side-panel.module.css.js
11729
+ var digest31 = "74c9d1425568114292fb741302683616b6a5a7451f328205f52e972a01ba821f";
11724
11730
  var css31 = `._side-panel_1oc3f_1 {
11725
11731
  transform: all 0.3s ease-in-out;
11726
11732
  padding-bottom: 80px;
@@ -12150,8 +12156,8 @@ var SidePanelMembership = ({
12150
12156
  ] });
12151
12157
  };
12152
12158
 
12153
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-Z5ItYbjAtuqY/sdk/admin/views/users/details/layout/side-panel.module.css.js
12154
- var digest32 = "df9e931bfe2bf6fbc95bbb2c8fb1f9c1070047c2b560aba0c4391a4d687679df";
12159
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-3FuvwGdbo0lF/sdk/admin/views/users/details/layout/side-panel.module.css.js
12160
+ var digest32 = "7853ce4391374902c67e5942db75b5501fab84f85eb8eeb4f7d42bce2c375350";
12155
12161
  var css32 = `._side-panel_1oc3f_1 {
12156
12162
  transform: all 0.3s ease-in-out;
12157
12163
  padding-bottom: 80px;
@@ -12269,8 +12275,8 @@ var UserDetailsSidePanel = () => {
12269
12275
  );
12270
12276
  };
12271
12277
 
12272
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-qhnK4QEMsywf/sdk/admin/views/users/details/layout/layout.module.css.js
12273
- var digest33 = "60d43dbe4d67276f877565879abce4b0db9483abdba965e2f33fd2801aabe55e";
12278
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-xgdY1Gvlt6Xn/sdk/admin/views/users/details/layout/layout.module.css.js
12279
+ var digest33 = "9096925085fdfdbab2d5f987120550dd2512497651074c28ffc0d6f2bc0892ff";
12274
12280
  var css33 = `._page_190wz_1 {
12275
12281
  height: 100vh;
12276
12282
  width: 100%;
@@ -12304,8 +12310,8 @@ var layout_module_css_default = { "page": "_page_190wz_1", "main_content": "_mai
12304
12310
  var import_apsara54 = require("@raystack/apsara");
12305
12311
  var import_icons = require("@raystack/apsara/icons");
12306
12312
 
12307
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-vOi4NINwYagd/sdk/admin/views/users/details/layout/navbar.module.css.js
12308
- var digest34 = "b8019906fe92c95950f5130a0161b3b8d76cd6bd303c70b3301baf804ab01a9a";
12313
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-DGKUqvMq1AS0/sdk/admin/views/users/details/layout/navbar.module.css.js
12314
+ var digest34 = "5b3cfed8f8c8a44270bcfd3730305c3556066606aef7c233660625041071f9dd";
12309
12315
  var css34 = `._navbar_1ahsl_1 {
12310
12316
  padding: var(--rs-space-4) var(--rs-space-7);
12311
12317
  border-bottom: 0.5px solid var(--rs-color-border-base-primary);
@@ -12570,8 +12576,8 @@ var import_apsara58 = require("@raystack/apsara");
12570
12576
  // admin/views/users/details/security/sessions/revoke-session-final-confirm.tsx
12571
12577
  var import_apsara57 = require("@raystack/apsara");
12572
12578
 
12573
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-8HsLDGSh5IBM/sdk/admin/views/users/details/security/sessions/sessions.module.css.js
12574
- var digest35 = "5ba711d8bc38c7ab9488b8317c494e77b0ed204d1014a81851694da78760fb4b";
12579
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-i1UkGjPLL6br/sdk/admin/views/users/details/security/sessions/sessions.module.css.js
12580
+ var digest35 = "65c7eb4c590c53d6923cb87b51d2ca96d6b42de026476db5c84d955aa5162bb6";
12575
12581
  var css35 = `._sessionsContainer_aq82p_1 {
12576
12582
  border: 1px solid var(--rs-color-border-base-primary);
12577
12583
  border-radius: var(--rs-radius-2);
@@ -12692,8 +12698,8 @@ var RevokeSessionFinalConfirm = ({
12692
12698
  ) });
12693
12699
  };
12694
12700
 
12695
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-WawnnA4GlpSe/sdk/admin/views/users/details/security/sessions/sessions.module.css.js
12696
- var digest36 = "c6ea2ec811876d7bcbec8f1f05e69f0a91a9d2f9d6e66040d185ba02e062c7a9";
12701
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-uY22u8ug25X2/sdk/admin/views/users/details/security/sessions/sessions.module.css.js
12702
+ var digest36 = "54cb8ed9dc6cee90eb743d9e7aed92a26e5b88982ef3284822bebc16acd90a89";
12697
12703
  var css36 = `._sessionsContainer_aq82p_1 {
12698
12704
  border: 1px solid var(--rs-color-border-base-primary);
12699
12705
  border-radius: var(--rs-radius-2);
@@ -12837,8 +12843,8 @@ var RevokeSessionConfirm = ({ isOpen, onOpenChange, sessionInfo, onRevokeConfirm
12837
12843
  // admin/views/users/details/security/sessions/session-skeleton.tsx
12838
12844
  var import_apsara59 = require("@raystack/apsara");
12839
12845
 
12840
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-fRBm0qonzt06/sdk/admin/views/users/details/security/sessions/sessions.module.css.js
12841
- var digest37 = "b72c45f8a7fef967893c618e7c5fce7c5cf9d4ae86c02c4d388aabdabef7ed7d";
12846
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-WXOcfdZNDol0/sdk/admin/views/users/details/security/sessions/sessions.module.css.js
12847
+ var digest37 = "12a325d1ca36803f119b81dccb7bb8e95633e390ad28630ecee99dc0c3c4fc41";
12842
12848
  var css37 = `._sessionsContainer_aq82p_1 {
12843
12849
  border: 1px solid var(--rs-color-border-base-primary);
12844
12850
  border-radius: var(--rs-radius-2);
@@ -12919,8 +12925,8 @@ var import_frontier22 = require("@raystack/proton/frontier");
12919
12925
  var import_dayjs9 = __toESM(require("dayjs"));
12920
12926
  var import_relativeTime = __toESM(require("dayjs/plugin/relativeTime"));
12921
12927
 
12922
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-MSHZMxKaArnM/sdk/admin/views/users/details/security/sessions/sessions.module.css.js
12923
- var digest38 = "702253fbadddfcda56f659a9b7f0dd0b0b51427baea796377d62e2b12be97fa6";
12928
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-cfziqcQyikRc/sdk/admin/views/users/details/security/sessions/sessions.module.css.js
12929
+ var digest38 = "24843a2734407e1b85b19a77a961425eb1dfd40072825c6c37c263edc6aa07f5";
12924
12930
  var css38 = `._sessionsContainer_aq82p_1 {
12925
12931
  border: 1px solid var(--rs-color-border-base-primary);
12926
12932
  border-radius: var(--rs-radius-2);
@@ -13129,8 +13135,8 @@ var UserSessions = () => {
13129
13135
  ] });
13130
13136
  };
13131
13137
 
13132
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-rIa6oSIPzClU/sdk/admin/views/users/details/security/security.module.css.js
13133
- var digest39 = "5d31699b1503df7299f0c8e7e476dc9a08352de0a90ef4b44e30b5cc382adcd6";
13138
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-jiqfk7ZNuJRN/sdk/admin/views/users/details/security/security.module.css.js
13139
+ var digest39 = "9e56003bd665b45fd359378eb694c283ced600698ce1b94e812ca24b3c2b5f8f";
13134
13140
  var css39 = `._container_4259p_1 {
13135
13141
  width: 100%;
13136
13142
  }
@@ -13255,8 +13261,8 @@ var import_react38 = require("react");
13255
13261
  var import_apsara63 = require("@raystack/apsara");
13256
13262
  var import_icons2 = require("@raystack/apsara/icons");
13257
13263
 
13258
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-dmCZtbqoSBff/sdk/admin/views/organizations/list/list.module.css.js
13259
- var digest40 = "f2e4b8a03dde25d3bfffa47a6426dfd03f75497cbf2e4475050145c145e8129b";
13264
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-MluUL1BwNMBu/sdk/admin/views/organizations/list/list.module.css.js
13265
+ var digest40 = "c8aa0860334670dec78051c76bb4eee1229a7625a997a37f13409a299cef21ae";
13260
13266
  var css40 = `._navbar_1py96_1 {
13261
13267
  padding: var(--rs-space-4) var(--rs-space-7);
13262
13268
  border-bottom: 0.5px solid var(--rs-color-border-base-primary);
@@ -13441,8 +13447,8 @@ var OrganizationsNavabar = ({
13441
13447
  ] });
13442
13448
  };
13443
13449
 
13444
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-hHJP68JHKm6f/sdk/admin/views/organizations/list/list.module.css.js
13445
- var digest41 = "e69895b3b9f6907c400b586cdd2d6d61312edbc65cb15a9e10ffb8eea1da08e7";
13450
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-7fVrjJNHj44f/sdk/admin/views/organizations/list/list.module.css.js
13451
+ var digest41 = "fba1db17a4048d394d29b5085ee32b36e88d4bddce28f109b86f89c97f93a214";
13446
13452
  var css41 = `._navbar_1py96_1 {
13447
13453
  padding: var(--rs-space-4) var(--rs-space-7);
13448
13454
  border-bottom: 0.5px solid var(--rs-color-border-base-primary);
@@ -13550,8 +13556,8 @@ var list_module_css_default5 = { "navbar": "_navbar_1py96_1", "table": "_table_1
13550
13556
  var import_apsara64 = require("@raystack/apsara");
13551
13557
  var import_dayjs10 = __toESM(require("dayjs"));
13552
13558
 
13553
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-i0aNydjd0Oyl/sdk/admin/views/organizations/list/list.module.css.js
13554
- var digest42 = "fe73305bf5b7eca781feab1abb5ca81d067127a9fc8125e6eecb749d4590a234";
13559
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-RFLtN1HzU1If/sdk/admin/views/organizations/list/list.module.css.js
13560
+ var digest42 = "a5be6696859b28e819a78af343f548a6a04b535de367124f57413b43943a5392";
13555
13561
  var css42 = `._navbar_1py96_1 {
13556
13562
  padding: var(--rs-space-4) var(--rs-space-7);
13557
13563
  border-bottom: 0.5px solid var(--rs-color-border-base-primary);
@@ -13817,8 +13823,8 @@ var import_protobuf9 = require("@bufbuild/protobuf");
13817
13823
  // admin/views/organizations/list/create.tsx
13818
13824
  var import_react37 = require("react");
13819
13825
 
13820
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-XUMe8Nn8o28W/sdk/admin/views/organizations/list/list.module.css.js
13821
- var digest43 = "a14da12c28d629f9a32cb61eb32b3d18ab624f9a149d4a244db33e227f6e0510";
13826
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-tEl1w5CyBtNk/sdk/admin/views/organizations/list/list.module.css.js
13827
+ var digest43 = "5e12acc20de039adca6718904a2dcfcfc75bede4f19259ffc445f2b73e7a6beb";
13822
13828
  var css43 = `._navbar_1py96_1 {
13823
13829
  padding: var(--rs-space-4) var(--rs-space-7);
13824
13830
  border-bottom: 0.5px solid var(--rs-color-border-base-primary);
@@ -13936,8 +13942,8 @@ var cross_default = 'data:image/svg+xml,<svg width="20" height="20" viewBox="0 0
13936
13942
  // react/components/avatar-upload/index.tsx
13937
13943
  var import_ReactCrop = require("react-image-crop/dist/ReactCrop.css");
13938
13944
 
13939
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-BjIcLut8h6js/sdk/react/components/avatar-upload/avatar-upload.module.css.js
13940
- var digest44 = "111f27cc301e3e830c8bd9c48f6306ef24469cfae58b17850165890289b198b7";
13945
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-AZhwcLomImKA/sdk/react/components/avatar-upload/avatar-upload.module.css.js
13946
+ var digest44 = "0c9ff2711b7ab33aa9fcfb90c28f212fb128ab48d537b7d40fc7fc9802d8ee76";
13941
13947
  var css44 = `._container_1k4dc_1 {
13942
13948
  display: flex;
13943
13949
  flex-direction: column;
@@ -14500,7 +14506,7 @@ var NoOrganizations = () => {
14500
14506
  }
14501
14507
  );
14502
14508
  };
14503
- var DEFAULT_SORT4 = { name: "created_at", order: "desc" };
14509
+ var DEFAULT_SORT4 = { name: "createdAt", order: "desc" };
14504
14510
  var INITIAL_QUERY4 = {
14505
14511
  offset: 0,
14506
14512
  limit: DEFAULT_PAGE_SIZE
@@ -14667,81 +14673,81 @@ var import_protobuf19 = require("@bufbuild/protobuf");
14667
14673
  var import_icons4 = require("@raystack/apsara/icons");
14668
14674
  var import_apsara70 = require("@raystack/apsara");
14669
14675
 
14670
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-mVkuAAbG7r50/sdk/admin/views/organizations/details/layout/layout.module.css.js
14671
- var digest45 = "f9c81b48b7a8917182bca7c0f9cda9dda0ebd29abfa348dc5c960de018568ffb";
14672
- var css45 = `._page_rqgdg_1 {
14676
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-Ccyo3ZEQQRGo/sdk/admin/views/organizations/details/layout/layout.module.css.js
14677
+ var digest45 = "503cf25994e9900bd2fc79a101c60cb10133e8d038128123aeb93b0dcdad9679";
14678
+ var css45 = `._page_1b2h0_1 {
14673
14679
  width: 100%;
14674
14680
  height: 100vh;
14675
14681
  overflow: hidden;
14676
14682
  }
14677
14683
 
14678
- ._main_content_rqgdg_7 {
14684
+ ._main_content_1b2h0_7 {
14679
14685
  width: 100%;
14680
14686
  transition: width 0.3s ease;
14681
14687
  }
14682
14688
 
14683
- ._main_content_with_sidepanel_rqgdg_12 {
14689
+ ._main_content_with_sidepanel_1b2h0_12 {
14684
14690
  width: calc(100% - 400px);
14685
14691
  transition: width 0.3s ease;
14686
14692
  }
14687
14693
 
14688
- ._navbar_rqgdg_17 {
14694
+ ._navbar_1b2h0_17 {
14689
14695
  padding: var(--rs-space-4) var(--rs-space-7);
14690
14696
  border-bottom: 0.5px solid var(--rs-color-border-base-primary);
14691
14697
  background: var(--rs-color-background-base-primary);
14692
14698
  display: flex;
14693
14699
  align-items: center;
14694
14700
  justify-content: space-between;
14701
+ min-height: var(--rs-space-11);
14695
14702
  }
14696
14703
 
14697
- ._navbar-action-menu-content_rqgdg_26 {
14704
+ ._navbar-action-menu-content_1b2h0_27 {
14698
14705
  min-width: 160px;
14699
14706
  }
14700
14707
 
14701
- ._navbar-action-menu-item_rqgdg_30 {
14708
+ ._navbar-action-menu-item_1b2h0_31 {
14702
14709
  display: flex;
14703
14710
  justify-content: space-between;
14704
14711
  }
14705
14712
 
14706
- ._side-panel-section-item-label_rqgdg_35 {
14713
+ ._side-panel-section-item-label_1b2h0_36 {
14707
14714
  width: 120px;
14708
14715
  }
14709
14716
 
14710
- ._invite-users-dialog-body_rqgdg_39 {
14717
+ ._invite-users-dialog-body_1b2h0_40 {
14711
14718
  display: flex;
14712
14719
  flex-direction: column;
14713
14720
  padding: var(--rs-space-9) var(--rs-space-7);
14714
14721
  gap: var(--rs-space-7);
14715
14722
  }
14716
14723
 
14717
- ._invite-users-dialog-label_rqgdg_46 {
14724
+ ._invite-users-dialog-label_1b2h0_47 {
14718
14725
  font-weight: var(--rs-font-weight-medium);
14719
14726
  }
14720
14727
 
14721
- ._invite-users-dialog-roles-content_rqgdg_50 {
14728
+ ._invite-users-dialog-roles-content_1b2h0_51 {
14722
14729
  /* 9999 is z-index of dialog */
14723
14730
  z-index: 10000;
14724
14731
  }
14725
14732
 
14726
- ._form-error-message_rqgdg_55 {
14733
+ ._form-error-message_1b2h0_56 {
14727
14734
  color: var(--rs-color-foreground-danger-primary);
14728
14735
  }
14729
14736
 
14730
- ._add-token-dialog-tokens-field_rqgdg_59::-webkit-inner-spin-button,
14731
- ._add-token-dialog-tokens-field_rqgdg_59::-webkit-outer-spin-button {
14737
+ ._add-token-dialog-tokens-field_1b2h0_60::-webkit-inner-spin-button,
14738
+ ._add-token-dialog-tokens-field_1b2h0_60::-webkit-outer-spin-button {
14732
14739
  -webkit-appearance: none;
14733
14740
  margin: 0;
14734
14741
  }
14735
14742
 
14736
14743
  /* For Firefox */
14737
- ._add-token-dialog-tokens-field_rqgdg_59 {
14744
+ ._add-token-dialog-tokens-field_1b2h0_60 {
14738
14745
  -moz-appearance: textfield;
14739
14746
  }
14740
14747
 
14741
- ._nav-chip_rqgdg_70 {
14748
+ ._nav-chip_1b2h0_71 {
14742
14749
  cursor: pointer;
14743
- }
14744
- `;
14750
+ }`;
14745
14751
  (function() {
14746
14752
  if (typeof document === "undefined") {
14747
14753
  return;
@@ -14753,87 +14759,87 @@ var css45 = `._page_rqgdg_1 {
14753
14759
  document.head.appendChild(el);
14754
14760
  }
14755
14761
  })();
14756
- var layout_module_css_default2 = { "page": "_page_rqgdg_1", "main_content": "_main_content_rqgdg_7", "mainContent": "_main_content_rqgdg_7", "main_content_with_sidepanel": "_main_content_with_sidepanel_rqgdg_12", "mainContentWithSidepanel": "_main_content_with_sidepanel_rqgdg_12", "navbar": "_navbar_rqgdg_17", "navbar-action-menu-content": "_navbar-action-menu-content_rqgdg_26", "navbarActionMenuContent": "_navbar-action-menu-content_rqgdg_26", "navbar-action-menu-item": "_navbar-action-menu-item_rqgdg_30", "navbarActionMenuItem": "_navbar-action-menu-item_rqgdg_30", "side-panel-section-item-label": "_side-panel-section-item-label_rqgdg_35", "sidePanelSectionItemLabel": "_side-panel-section-item-label_rqgdg_35", "invite-users-dialog-body": "_invite-users-dialog-body_rqgdg_39", "inviteUsersDialogBody": "_invite-users-dialog-body_rqgdg_39", "invite-users-dialog-label": "_invite-users-dialog-label_rqgdg_46", "inviteUsersDialogLabel": "_invite-users-dialog-label_rqgdg_46", "invite-users-dialog-roles-content": "_invite-users-dialog-roles-content_rqgdg_50", "inviteUsersDialogRolesContent": "_invite-users-dialog-roles-content_rqgdg_50", "form-error-message": "_form-error-message_rqgdg_55", "formErrorMessage": "_form-error-message_rqgdg_55", "add-token-dialog-tokens-field": "_add-token-dialog-tokens-field_rqgdg_59", "addTokenDialogTokensField": "_add-token-dialog-tokens-field_rqgdg_59", "nav-chip": "_nav-chip_rqgdg_70", "navChip": "_nav-chip_rqgdg_70" };
14762
+ var layout_module_css_default2 = { "page": "_page_1b2h0_1", "main_content": "_main_content_1b2h0_7", "mainContent": "_main_content_1b2h0_7", "main_content_with_sidepanel": "_main_content_with_sidepanel_1b2h0_12", "mainContentWithSidepanel": "_main_content_with_sidepanel_1b2h0_12", "navbar": "_navbar_1b2h0_17", "navbar-action-menu-content": "_navbar-action-menu-content_1b2h0_27", "navbarActionMenuContent": "_navbar-action-menu-content_1b2h0_27", "navbar-action-menu-item": "_navbar-action-menu-item_1b2h0_31", "navbarActionMenuItem": "_navbar-action-menu-item_1b2h0_31", "side-panel-section-item-label": "_side-panel-section-item-label_1b2h0_36", "sidePanelSectionItemLabel": "_side-panel-section-item-label_1b2h0_36", "invite-users-dialog-body": "_invite-users-dialog-body_1b2h0_40", "inviteUsersDialogBody": "_invite-users-dialog-body_1b2h0_40", "invite-users-dialog-label": "_invite-users-dialog-label_1b2h0_47", "inviteUsersDialogLabel": "_invite-users-dialog-label_1b2h0_47", "invite-users-dialog-roles-content": "_invite-users-dialog-roles-content_1b2h0_51", "inviteUsersDialogRolesContent": "_invite-users-dialog-roles-content_1b2h0_51", "form-error-message": "_form-error-message_1b2h0_56", "formErrorMessage": "_form-error-message_1b2h0_56", "add-token-dialog-tokens-field": "_add-token-dialog-tokens-field_1b2h0_60", "addTokenDialogTokensField": "_add-token-dialog-tokens-field_1b2h0_60", "nav-chip": "_nav-chip_1b2h0_71", "navChip": "_nav-chip_1b2h0_71" };
14757
14763
 
14758
14764
  // admin/views/organizations/details/layout/invite-users-dialog.tsx
14759
14765
  var import_apsara68 = require("@raystack/apsara");
14760
14766
  var import_react40 = require("react");
14761
14767
 
14762
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-KqD74q68vJ86/sdk/admin/views/organizations/details/layout/layout.module.css.js
14763
- var digest46 = "a6f22fd41bb0de4f67ed8fba26ff82cb61bec5c9db0b166e8e9572ee9dbda6e5";
14764
- var css46 = `._page_rqgdg_1 {
14768
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-MzzViv4VWeay/sdk/admin/views/organizations/details/layout/layout.module.css.js
14769
+ var digest46 = "70345c3bf35dbac7daaae724d28eb56da11dae1a00974e0f3fa3b0b0163dd4c0";
14770
+ var css46 = `._page_1b2h0_1 {
14765
14771
  width: 100%;
14766
14772
  height: 100vh;
14767
14773
  overflow: hidden;
14768
14774
  }
14769
14775
 
14770
- ._main_content_rqgdg_7 {
14776
+ ._main_content_1b2h0_7 {
14771
14777
  width: 100%;
14772
14778
  transition: width 0.3s ease;
14773
14779
  }
14774
14780
 
14775
- ._main_content_with_sidepanel_rqgdg_12 {
14781
+ ._main_content_with_sidepanel_1b2h0_12 {
14776
14782
  width: calc(100% - 400px);
14777
14783
  transition: width 0.3s ease;
14778
14784
  }
14779
14785
 
14780
- ._navbar_rqgdg_17 {
14786
+ ._navbar_1b2h0_17 {
14781
14787
  padding: var(--rs-space-4) var(--rs-space-7);
14782
14788
  border-bottom: 0.5px solid var(--rs-color-border-base-primary);
14783
14789
  background: var(--rs-color-background-base-primary);
14784
14790
  display: flex;
14785
14791
  align-items: center;
14786
14792
  justify-content: space-between;
14793
+ min-height: var(--rs-space-11);
14787
14794
  }
14788
14795
 
14789
- ._navbar-action-menu-content_rqgdg_26 {
14796
+ ._navbar-action-menu-content_1b2h0_27 {
14790
14797
  min-width: 160px;
14791
14798
  }
14792
14799
 
14793
- ._navbar-action-menu-item_rqgdg_30 {
14800
+ ._navbar-action-menu-item_1b2h0_31 {
14794
14801
  display: flex;
14795
14802
  justify-content: space-between;
14796
14803
  }
14797
14804
 
14798
- ._side-panel-section-item-label_rqgdg_35 {
14805
+ ._side-panel-section-item-label_1b2h0_36 {
14799
14806
  width: 120px;
14800
14807
  }
14801
14808
 
14802
- ._invite-users-dialog-body_rqgdg_39 {
14809
+ ._invite-users-dialog-body_1b2h0_40 {
14803
14810
  display: flex;
14804
14811
  flex-direction: column;
14805
14812
  padding: var(--rs-space-9) var(--rs-space-7);
14806
14813
  gap: var(--rs-space-7);
14807
14814
  }
14808
14815
 
14809
- ._invite-users-dialog-label_rqgdg_46 {
14816
+ ._invite-users-dialog-label_1b2h0_47 {
14810
14817
  font-weight: var(--rs-font-weight-medium);
14811
14818
  }
14812
14819
 
14813
- ._invite-users-dialog-roles-content_rqgdg_50 {
14820
+ ._invite-users-dialog-roles-content_1b2h0_51 {
14814
14821
  /* 9999 is z-index of dialog */
14815
14822
  z-index: 10000;
14816
14823
  }
14817
14824
 
14818
- ._form-error-message_rqgdg_55 {
14825
+ ._form-error-message_1b2h0_56 {
14819
14826
  color: var(--rs-color-foreground-danger-primary);
14820
14827
  }
14821
14828
 
14822
- ._add-token-dialog-tokens-field_rqgdg_59::-webkit-inner-spin-button,
14823
- ._add-token-dialog-tokens-field_rqgdg_59::-webkit-outer-spin-button {
14829
+ ._add-token-dialog-tokens-field_1b2h0_60::-webkit-inner-spin-button,
14830
+ ._add-token-dialog-tokens-field_1b2h0_60::-webkit-outer-spin-button {
14824
14831
  -webkit-appearance: none;
14825
14832
  margin: 0;
14826
14833
  }
14827
14834
 
14828
14835
  /* For Firefox */
14829
- ._add-token-dialog-tokens-field_rqgdg_59 {
14836
+ ._add-token-dialog-tokens-field_1b2h0_60 {
14830
14837
  -moz-appearance: textfield;
14831
14838
  }
14832
14839
 
14833
- ._nav-chip_rqgdg_70 {
14840
+ ._nav-chip_1b2h0_71 {
14834
14841
  cursor: pointer;
14835
- }
14836
- `;
14842
+ }`;
14837
14843
  (function() {
14838
14844
  if (typeof document === "undefined") {
14839
14845
  return;
@@ -14845,7 +14851,7 @@ var css46 = `._page_rqgdg_1 {
14845
14851
  document.head.appendChild(el);
14846
14852
  }
14847
14853
  })();
14848
- var layout_module_css_default3 = { "page": "_page_rqgdg_1", "main_content": "_main_content_rqgdg_7", "mainContent": "_main_content_rqgdg_7", "main_content_with_sidepanel": "_main_content_with_sidepanel_rqgdg_12", "mainContentWithSidepanel": "_main_content_with_sidepanel_rqgdg_12", "navbar": "_navbar_rqgdg_17", "navbar-action-menu-content": "_navbar-action-menu-content_rqgdg_26", "navbarActionMenuContent": "_navbar-action-menu-content_rqgdg_26", "navbar-action-menu-item": "_navbar-action-menu-item_rqgdg_30", "navbarActionMenuItem": "_navbar-action-menu-item_rqgdg_30", "side-panel-section-item-label": "_side-panel-section-item-label_rqgdg_35", "sidePanelSectionItemLabel": "_side-panel-section-item-label_rqgdg_35", "invite-users-dialog-body": "_invite-users-dialog-body_rqgdg_39", "inviteUsersDialogBody": "_invite-users-dialog-body_rqgdg_39", "invite-users-dialog-label": "_invite-users-dialog-label_rqgdg_46", "inviteUsersDialogLabel": "_invite-users-dialog-label_rqgdg_46", "invite-users-dialog-roles-content": "_invite-users-dialog-roles-content_rqgdg_50", "inviteUsersDialogRolesContent": "_invite-users-dialog-roles-content_rqgdg_50", "form-error-message": "_form-error-message_rqgdg_55", "formErrorMessage": "_form-error-message_rqgdg_55", "add-token-dialog-tokens-field": "_add-token-dialog-tokens-field_rqgdg_59", "addTokenDialogTokensField": "_add-token-dialog-tokens-field_rqgdg_59", "nav-chip": "_nav-chip_rqgdg_70", "navChip": "_nav-chip_rqgdg_70" };
14854
+ var layout_module_css_default3 = { "page": "_page_1b2h0_1", "main_content": "_main_content_1b2h0_7", "mainContent": "_main_content_1b2h0_7", "main_content_with_sidepanel": "_main_content_with_sidepanel_1b2h0_12", "mainContentWithSidepanel": "_main_content_with_sidepanel_1b2h0_12", "navbar": "_navbar_1b2h0_17", "navbar-action-menu-content": "_navbar-action-menu-content_1b2h0_27", "navbarActionMenuContent": "_navbar-action-menu-content_1b2h0_27", "navbar-action-menu-item": "_navbar-action-menu-item_1b2h0_31", "navbarActionMenuItem": "_navbar-action-menu-item_1b2h0_31", "side-panel-section-item-label": "_side-panel-section-item-label_1b2h0_36", "sidePanelSectionItemLabel": "_side-panel-section-item-label_1b2h0_36", "invite-users-dialog-body": "_invite-users-dialog-body_1b2h0_40", "inviteUsersDialogBody": "_invite-users-dialog-body_1b2h0_40", "invite-users-dialog-label": "_invite-users-dialog-label_1b2h0_47", "inviteUsersDialogLabel": "_invite-users-dialog-label_1b2h0_47", "invite-users-dialog-roles-content": "_invite-users-dialog-roles-content_1b2h0_51", "inviteUsersDialogRolesContent": "_invite-users-dialog-roles-content_1b2h0_51", "form-error-message": "_form-error-message_1b2h0_56", "formErrorMessage": "_form-error-message_1b2h0_56", "add-token-dialog-tokens-field": "_add-token-dialog-tokens-field_1b2h0_60", "addTokenDialogTokensField": "_add-token-dialog-tokens-field_1b2h0_60", "nav-chip": "_nav-chip_1b2h0_71", "navChip": "_nav-chip_1b2h0_71" };
14849
14855
 
14850
14856
  // admin/views/organizations/details/contexts/organization-context.tsx
14851
14857
  var import_frontier26 = require("@raystack/proton/frontier");
@@ -15032,81 +15038,81 @@ var import_apsara69 = require("@raystack/apsara");
15032
15038
  var import_react41 = require("react");
15033
15039
  var import_react_hook_form8 = require("react-hook-form");
15034
15040
 
15035
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-QlMhU3OSq43c/sdk/admin/views/organizations/details/layout/layout.module.css.js
15036
- var digest47 = "e6e2b201a924a4ab624b647502b094dbf3d52c801b623c87ef9f57ec8bea8c99";
15037
- var css47 = `._page_rqgdg_1 {
15041
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-5k4Y5gI87cin/sdk/admin/views/organizations/details/layout/layout.module.css.js
15042
+ var digest47 = "0841cd9e9d21418e689b1fc6633869ce8a7a5cc6cb7203a9b4b96a1c3cce3e85";
15043
+ var css47 = `._page_1b2h0_1 {
15038
15044
  width: 100%;
15039
15045
  height: 100vh;
15040
15046
  overflow: hidden;
15041
15047
  }
15042
15048
 
15043
- ._main_content_rqgdg_7 {
15049
+ ._main_content_1b2h0_7 {
15044
15050
  width: 100%;
15045
15051
  transition: width 0.3s ease;
15046
15052
  }
15047
15053
 
15048
- ._main_content_with_sidepanel_rqgdg_12 {
15054
+ ._main_content_with_sidepanel_1b2h0_12 {
15049
15055
  width: calc(100% - 400px);
15050
15056
  transition: width 0.3s ease;
15051
15057
  }
15052
15058
 
15053
- ._navbar_rqgdg_17 {
15059
+ ._navbar_1b2h0_17 {
15054
15060
  padding: var(--rs-space-4) var(--rs-space-7);
15055
15061
  border-bottom: 0.5px solid var(--rs-color-border-base-primary);
15056
15062
  background: var(--rs-color-background-base-primary);
15057
15063
  display: flex;
15058
15064
  align-items: center;
15059
15065
  justify-content: space-between;
15066
+ min-height: var(--rs-space-11);
15060
15067
  }
15061
15068
 
15062
- ._navbar-action-menu-content_rqgdg_26 {
15069
+ ._navbar-action-menu-content_1b2h0_27 {
15063
15070
  min-width: 160px;
15064
15071
  }
15065
15072
 
15066
- ._navbar-action-menu-item_rqgdg_30 {
15073
+ ._navbar-action-menu-item_1b2h0_31 {
15067
15074
  display: flex;
15068
15075
  justify-content: space-between;
15069
15076
  }
15070
15077
 
15071
- ._side-panel-section-item-label_rqgdg_35 {
15078
+ ._side-panel-section-item-label_1b2h0_36 {
15072
15079
  width: 120px;
15073
15080
  }
15074
15081
 
15075
- ._invite-users-dialog-body_rqgdg_39 {
15082
+ ._invite-users-dialog-body_1b2h0_40 {
15076
15083
  display: flex;
15077
15084
  flex-direction: column;
15078
15085
  padding: var(--rs-space-9) var(--rs-space-7);
15079
15086
  gap: var(--rs-space-7);
15080
15087
  }
15081
15088
 
15082
- ._invite-users-dialog-label_rqgdg_46 {
15089
+ ._invite-users-dialog-label_1b2h0_47 {
15083
15090
  font-weight: var(--rs-font-weight-medium);
15084
15091
  }
15085
15092
 
15086
- ._invite-users-dialog-roles-content_rqgdg_50 {
15093
+ ._invite-users-dialog-roles-content_1b2h0_51 {
15087
15094
  /* 9999 is z-index of dialog */
15088
15095
  z-index: 10000;
15089
15096
  }
15090
15097
 
15091
- ._form-error-message_rqgdg_55 {
15098
+ ._form-error-message_1b2h0_56 {
15092
15099
  color: var(--rs-color-foreground-danger-primary);
15093
15100
  }
15094
15101
 
15095
- ._add-token-dialog-tokens-field_rqgdg_59::-webkit-inner-spin-button,
15096
- ._add-token-dialog-tokens-field_rqgdg_59::-webkit-outer-spin-button {
15102
+ ._add-token-dialog-tokens-field_1b2h0_60::-webkit-inner-spin-button,
15103
+ ._add-token-dialog-tokens-field_1b2h0_60::-webkit-outer-spin-button {
15097
15104
  -webkit-appearance: none;
15098
15105
  margin: 0;
15099
15106
  }
15100
15107
 
15101
15108
  /* For Firefox */
15102
- ._add-token-dialog-tokens-field_rqgdg_59 {
15109
+ ._add-token-dialog-tokens-field_1b2h0_60 {
15103
15110
  -moz-appearance: textfield;
15104
15111
  }
15105
15112
 
15106
- ._nav-chip_rqgdg_70 {
15113
+ ._nav-chip_1b2h0_71 {
15107
15114
  cursor: pointer;
15108
- }
15109
- `;
15115
+ }`;
15110
15116
  (function() {
15111
15117
  if (typeof document === "undefined") {
15112
15118
  return;
@@ -15118,7 +15124,7 @@ var css47 = `._page_rqgdg_1 {
15118
15124
  document.head.appendChild(el);
15119
15125
  }
15120
15126
  })();
15121
- var layout_module_css_default4 = { "page": "_page_rqgdg_1", "main_content": "_main_content_rqgdg_7", "mainContent": "_main_content_rqgdg_7", "main_content_with_sidepanel": "_main_content_with_sidepanel_rqgdg_12", "mainContentWithSidepanel": "_main_content_with_sidepanel_rqgdg_12", "navbar": "_navbar_rqgdg_17", "navbar-action-menu-content": "_navbar-action-menu-content_rqgdg_26", "navbarActionMenuContent": "_navbar-action-menu-content_rqgdg_26", "navbar-action-menu-item": "_navbar-action-menu-item_rqgdg_30", "navbarActionMenuItem": "_navbar-action-menu-item_rqgdg_30", "side-panel-section-item-label": "_side-panel-section-item-label_rqgdg_35", "sidePanelSectionItemLabel": "_side-panel-section-item-label_rqgdg_35", "invite-users-dialog-body": "_invite-users-dialog-body_rqgdg_39", "inviteUsersDialogBody": "_invite-users-dialog-body_rqgdg_39", "invite-users-dialog-label": "_invite-users-dialog-label_rqgdg_46", "inviteUsersDialogLabel": "_invite-users-dialog-label_rqgdg_46", "invite-users-dialog-roles-content": "_invite-users-dialog-roles-content_rqgdg_50", "inviteUsersDialogRolesContent": "_invite-users-dialog-roles-content_rqgdg_50", "form-error-message": "_form-error-message_rqgdg_55", "formErrorMessage": "_form-error-message_rqgdg_55", "add-token-dialog-tokens-field": "_add-token-dialog-tokens-field_rqgdg_59", "addTokenDialogTokensField": "_add-token-dialog-tokens-field_rqgdg_59", "nav-chip": "_nav-chip_rqgdg_70", "navChip": "_nav-chip_rqgdg_70" };
15127
+ var layout_module_css_default4 = { "page": "_page_1b2h0_1", "main_content": "_main_content_1b2h0_7", "mainContent": "_main_content_1b2h0_7", "main_content_with_sidepanel": "_main_content_with_sidepanel_1b2h0_12", "mainContentWithSidepanel": "_main_content_with_sidepanel_1b2h0_12", "navbar": "_navbar_1b2h0_17", "navbar-action-menu-content": "_navbar-action-menu-content_1b2h0_27", "navbarActionMenuContent": "_navbar-action-menu-content_1b2h0_27", "navbar-action-menu-item": "_navbar-action-menu-item_1b2h0_31", "navbarActionMenuItem": "_navbar-action-menu-item_1b2h0_31", "side-panel-section-item-label": "_side-panel-section-item-label_1b2h0_36", "sidePanelSectionItemLabel": "_side-panel-section-item-label_1b2h0_36", "invite-users-dialog-body": "_invite-users-dialog-body_1b2h0_40", "inviteUsersDialogBody": "_invite-users-dialog-body_1b2h0_40", "invite-users-dialog-label": "_invite-users-dialog-label_1b2h0_47", "inviteUsersDialogLabel": "_invite-users-dialog-label_1b2h0_47", "invite-users-dialog-roles-content": "_invite-users-dialog-roles-content_1b2h0_51", "inviteUsersDialogRolesContent": "_invite-users-dialog-roles-content_1b2h0_51", "form-error-message": "_form-error-message_1b2h0_56", "formErrorMessage": "_form-error-message_1b2h0_56", "add-token-dialog-tokens-field": "_add-token-dialog-tokens-field_1b2h0_60", "addTokenDialogTokensField": "_add-token-dialog-tokens-field_1b2h0_60", "nav-chip": "_nav-chip_1b2h0_71", "navChip": "_nav-chip_1b2h0_71" };
15122
15128
 
15123
15129
  // admin/views/organizations/details/layout/add-tokens-dialog.tsx
15124
15130
  var import_zod9 = require("@hookform/resolvers/zod");
@@ -15243,7 +15249,6 @@ var AddTokensDialog = ({ onOpenChange }) => {
15243
15249
 
15244
15250
  // admin/views/organizations/details/layout/navbar.tsx
15245
15251
  var import_react42 = require("react");
15246
- var import_apsara71 = require("@raystack/apsara");
15247
15252
  var import_jsx_runtime76 = require("react/jsx-runtime");
15248
15253
  var DropdownItem = ({ item }) => {
15249
15254
  return /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(
@@ -15493,11 +15498,14 @@ var OrganizationsDetailsNavabar = ({
15493
15498
  ] }),
15494
15499
  /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(import_apsara70.Flex, { align: "center", gap: 4, children: [
15495
15500
  search.isVisible ? /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
15496
- import_apsara71.InputField,
15501
+ import_apsara70.Search,
15497
15502
  {
15498
15503
  value: search.query,
15499
15504
  onChange: handleSearchChange,
15505
+ onClear: () => search.onChange(""),
15500
15506
  placeholder: "Search",
15507
+ size: "small",
15508
+ showClearButton: true,
15501
15509
  "data-test-id": "admin-org-details-navbar-search"
15502
15510
  }
15503
15511
  ) : null,
@@ -15514,81 +15522,81 @@ var OrganizationsDetailsNavabar = ({
15514
15522
  ] });
15515
15523
  };
15516
15524
 
15517
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-ySk0iqVUmRhx/sdk/admin/views/organizations/details/layout/layout.module.css.js
15518
- var digest48 = "60761c089290faf5102eeb6e1154f940cecd0dadb2f1392548d11a5c645f081f";
15519
- var css48 = `._page_rqgdg_1 {
15525
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-ro6TTdGetpTJ/sdk/admin/views/organizations/details/layout/layout.module.css.js
15526
+ var digest48 = "29c2f19097e1879fe78985771a0bab5904fff2d948c61886f495357afb49afa6";
15527
+ var css48 = `._page_1b2h0_1 {
15520
15528
  width: 100%;
15521
15529
  height: 100vh;
15522
15530
  overflow: hidden;
15523
15531
  }
15524
15532
 
15525
- ._main_content_rqgdg_7 {
15533
+ ._main_content_1b2h0_7 {
15526
15534
  width: 100%;
15527
15535
  transition: width 0.3s ease;
15528
15536
  }
15529
15537
 
15530
- ._main_content_with_sidepanel_rqgdg_12 {
15538
+ ._main_content_with_sidepanel_1b2h0_12 {
15531
15539
  width: calc(100% - 400px);
15532
15540
  transition: width 0.3s ease;
15533
15541
  }
15534
15542
 
15535
- ._navbar_rqgdg_17 {
15543
+ ._navbar_1b2h0_17 {
15536
15544
  padding: var(--rs-space-4) var(--rs-space-7);
15537
15545
  border-bottom: 0.5px solid var(--rs-color-border-base-primary);
15538
15546
  background: var(--rs-color-background-base-primary);
15539
15547
  display: flex;
15540
15548
  align-items: center;
15541
15549
  justify-content: space-between;
15550
+ min-height: var(--rs-space-11);
15542
15551
  }
15543
15552
 
15544
- ._navbar-action-menu-content_rqgdg_26 {
15553
+ ._navbar-action-menu-content_1b2h0_27 {
15545
15554
  min-width: 160px;
15546
15555
  }
15547
15556
 
15548
- ._navbar-action-menu-item_rqgdg_30 {
15557
+ ._navbar-action-menu-item_1b2h0_31 {
15549
15558
  display: flex;
15550
15559
  justify-content: space-between;
15551
15560
  }
15552
15561
 
15553
- ._side-panel-section-item-label_rqgdg_35 {
15562
+ ._side-panel-section-item-label_1b2h0_36 {
15554
15563
  width: 120px;
15555
15564
  }
15556
15565
 
15557
- ._invite-users-dialog-body_rqgdg_39 {
15566
+ ._invite-users-dialog-body_1b2h0_40 {
15558
15567
  display: flex;
15559
15568
  flex-direction: column;
15560
15569
  padding: var(--rs-space-9) var(--rs-space-7);
15561
15570
  gap: var(--rs-space-7);
15562
15571
  }
15563
15572
 
15564
- ._invite-users-dialog-label_rqgdg_46 {
15573
+ ._invite-users-dialog-label_1b2h0_47 {
15565
15574
  font-weight: var(--rs-font-weight-medium);
15566
15575
  }
15567
15576
 
15568
- ._invite-users-dialog-roles-content_rqgdg_50 {
15577
+ ._invite-users-dialog-roles-content_1b2h0_51 {
15569
15578
  /* 9999 is z-index of dialog */
15570
15579
  z-index: 10000;
15571
15580
  }
15572
15581
 
15573
- ._form-error-message_rqgdg_55 {
15582
+ ._form-error-message_1b2h0_56 {
15574
15583
  color: var(--rs-color-foreground-danger-primary);
15575
15584
  }
15576
15585
 
15577
- ._add-token-dialog-tokens-field_rqgdg_59::-webkit-inner-spin-button,
15578
- ._add-token-dialog-tokens-field_rqgdg_59::-webkit-outer-spin-button {
15586
+ ._add-token-dialog-tokens-field_1b2h0_60::-webkit-inner-spin-button,
15587
+ ._add-token-dialog-tokens-field_1b2h0_60::-webkit-outer-spin-button {
15579
15588
  -webkit-appearance: none;
15580
15589
  margin: 0;
15581
15590
  }
15582
15591
 
15583
15592
  /* For Firefox */
15584
- ._add-token-dialog-tokens-field_rqgdg_59 {
15593
+ ._add-token-dialog-tokens-field_1b2h0_60 {
15585
15594
  -moz-appearance: textfield;
15586
15595
  }
15587
15596
 
15588
- ._nav-chip_rqgdg_70 {
15597
+ ._nav-chip_1b2h0_71 {
15589
15598
  cursor: pointer;
15590
- }
15591
- `;
15599
+ }`;
15592
15600
  (function() {
15593
15601
  if (typeof document === "undefined") {
15594
15602
  return;
@@ -15600,19 +15608,19 @@ var css48 = `._page_rqgdg_1 {
15600
15608
  document.head.appendChild(el);
15601
15609
  }
15602
15610
  })();
15603
- var layout_module_css_default5 = { "page": "_page_rqgdg_1", "main_content": "_main_content_rqgdg_7", "mainContent": "_main_content_rqgdg_7", "main_content_with_sidepanel": "_main_content_with_sidepanel_rqgdg_12", "mainContentWithSidepanel": "_main_content_with_sidepanel_rqgdg_12", "navbar": "_navbar_rqgdg_17", "navbar-action-menu-content": "_navbar-action-menu-content_rqgdg_26", "navbarActionMenuContent": "_navbar-action-menu-content_rqgdg_26", "navbar-action-menu-item": "_navbar-action-menu-item_rqgdg_30", "navbarActionMenuItem": "_navbar-action-menu-item_rqgdg_30", "side-panel-section-item-label": "_side-panel-section-item-label_rqgdg_35", "sidePanelSectionItemLabel": "_side-panel-section-item-label_rqgdg_35", "invite-users-dialog-body": "_invite-users-dialog-body_rqgdg_39", "inviteUsersDialogBody": "_invite-users-dialog-body_rqgdg_39", "invite-users-dialog-label": "_invite-users-dialog-label_rqgdg_46", "inviteUsersDialogLabel": "_invite-users-dialog-label_rqgdg_46", "invite-users-dialog-roles-content": "_invite-users-dialog-roles-content_rqgdg_50", "inviteUsersDialogRolesContent": "_invite-users-dialog-roles-content_rqgdg_50", "form-error-message": "_form-error-message_rqgdg_55", "formErrorMessage": "_form-error-message_rqgdg_55", "add-token-dialog-tokens-field": "_add-token-dialog-tokens-field_rqgdg_59", "addTokenDialogTokensField": "_add-token-dialog-tokens-field_rqgdg_59", "nav-chip": "_nav-chip_rqgdg_70", "navChip": "_nav-chip_rqgdg_70" };
15611
+ var layout_module_css_default5 = { "page": "_page_1b2h0_1", "main_content": "_main_content_1b2h0_7", "mainContent": "_main_content_1b2h0_7", "main_content_with_sidepanel": "_main_content_with_sidepanel_1b2h0_12", "mainContentWithSidepanel": "_main_content_with_sidepanel_1b2h0_12", "navbar": "_navbar_1b2h0_17", "navbar-action-menu-content": "_navbar-action-menu-content_1b2h0_27", "navbarActionMenuContent": "_navbar-action-menu-content_1b2h0_27", "navbar-action-menu-item": "_navbar-action-menu-item_1b2h0_31", "navbarActionMenuItem": "_navbar-action-menu-item_1b2h0_31", "side-panel-section-item-label": "_side-panel-section-item-label_1b2h0_36", "sidePanelSectionItemLabel": "_side-panel-section-item-label_1b2h0_36", "invite-users-dialog-body": "_invite-users-dialog-body_1b2h0_40", "inviteUsersDialogBody": "_invite-users-dialog-body_1b2h0_40", "invite-users-dialog-label": "_invite-users-dialog-label_1b2h0_47", "inviteUsersDialogLabel": "_invite-users-dialog-label_1b2h0_47", "invite-users-dialog-roles-content": "_invite-users-dialog-roles-content_1b2h0_51", "inviteUsersDialogRolesContent": "_invite-users-dialog-roles-content_1b2h0_51", "form-error-message": "_form-error-message_1b2h0_56", "formErrorMessage": "_form-error-message_1b2h0_56", "add-token-dialog-tokens-field": "_add-token-dialog-tokens-field_1b2h0_60", "addTokenDialogTokensField": "_add-token-dialog-tokens-field_1b2h0_60", "nav-chip": "_nav-chip_1b2h0_71", "navChip": "_nav-chip_1b2h0_71" };
15604
15612
 
15605
15613
  // admin/views/organizations/details/layout/index.tsx
15606
- var import_apsara82 = require("@raystack/apsara");
15614
+ var import_apsara81 = require("@raystack/apsara");
15607
15615
 
15608
15616
  // admin/views/organizations/details/side-panel/index.tsx
15609
- var import_apsara78 = require("@raystack/apsara");
15617
+ var import_apsara77 = require("@raystack/apsara");
15610
15618
 
15611
15619
  // admin/views/organizations/details/side-panel/org-details-section.tsx
15612
- var import_apsara72 = require("@raystack/apsara");
15620
+ var import_apsara71 = require("@raystack/apsara");
15613
15621
 
15614
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-lolyZBx45Sdf/sdk/admin/views/organizations/details/side-panel/side-panel.module.css.js
15615
- var digest49 = "42ee620a3f13beb7ea3bde1601a0b4259565a898fcf1f6ea4a934651f59d097f";
15622
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-Dl0N4H0nomPn/sdk/admin/views/organizations/details/side-panel/side-panel.module.css.js
15623
+ var digest49 = "b6ff48de746e59f87ac99ba0faf757f4dd5fbb8cf0d26b3f51fce3299db494c1";
15616
15624
  var css49 = `._side-panel-section-item-label_yeg6h_1 {
15617
15625
  width: 120px;
15618
15626
  }
@@ -15651,59 +15659,59 @@ var OrganizationDetailsSection = ({
15651
15659
  organization
15652
15660
  }) => {
15653
15661
  const { appUrl } = (0, import_react43.useContext)(OrganizationContext);
15654
- return /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(import_apsara72.List, { children: [
15655
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_apsara72.List.Header, { children: "Organization Details" }),
15656
- /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(import_apsara72.List.Item, { children: [
15657
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_apsara72.List.Label, { className: side_panel_module_css_default5["side-panel-section-item-label"], children: "URL" }),
15658
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_apsara72.List.Value, { children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_apsara72.Text, { children: appUrl ? `${appUrl}/${organization.name}` : organization.name }) })
15662
+ return /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(import_apsara71.List, { children: [
15663
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_apsara71.List.Header, { children: "Organization Details" }),
15664
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(import_apsara71.List.Item, { children: [
15665
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_apsara71.List.Label, { className: side_panel_module_css_default5["side-panel-section-item-label"], children: "URL" }),
15666
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_apsara71.List.Value, { children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_apsara71.Text, { children: appUrl ? `${appUrl}/${organization.name}` : organization.name }) })
15659
15667
  ] }),
15660
- /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(import_apsara72.List.Item, { children: [
15661
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_apsara72.List.Label, { className: side_panel_module_css_default5["side-panel-section-item-label"], children: "Organization ID" }),
15662
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_apsara72.List.Value, { children: /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(import_apsara72.Flex, { gap: 3, children: [
15668
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(import_apsara71.List.Item, { children: [
15669
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_apsara71.List.Label, { className: side_panel_module_css_default5["side-panel-section-item-label"], children: "Organization ID" }),
15670
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_apsara71.List.Value, { children: /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(import_apsara71.Flex, { gap: 3, children: [
15663
15671
  /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
15664
- import_apsara72.CopyButton,
15672
+ import_apsara71.CopyButton,
15665
15673
  {
15666
15674
  text: organization.id || "",
15667
15675
  "data-test-id": "copy-button"
15668
15676
  }
15669
15677
  ),
15670
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_apsara72.Tooltip, { message: organization.id, children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_apsara72.Text, { className: side_panel_module_css_default5["org-details-section-org-id"], children: organization.id }) })
15678
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_apsara71.Tooltip, { message: organization.id, children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_apsara71.Text, { className: side_panel_module_css_default5["org-details-section-org-id"], children: organization.id }) })
15671
15679
  ] }) })
15672
15680
  ] }),
15673
- /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(import_apsara72.List.Item, { children: [
15674
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_apsara72.List.Label, { className: side_panel_module_css_default5["side-panel-section-item-label"], children: "Created on" }),
15675
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_apsara72.List.Value, { children: /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(import_apsara72.Flex, { gap: 3, children: [
15681
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(import_apsara71.List.Item, { children: [
15682
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_apsara71.List.Label, { className: side_panel_module_css_default5["side-panel-section-item-label"], children: "Created on" }),
15683
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_apsara71.List.Value, { children: /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(import_apsara71.Flex, { gap: 3, children: [
15676
15684
  /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(CalendarIcon, {}),
15677
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_apsara72.Text, { children: (0, import_dayjs11.default)(timestampToDate(organization.createdAt)).format(
15685
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_apsara71.Text, { children: (0, import_dayjs11.default)(timestampToDate(organization.createdAt)).format(
15678
15686
  "DD MMM YYYY"
15679
15687
  ) })
15680
15688
  ] }) })
15681
15689
  ] }),
15682
- /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(import_apsara72.List.Item, { children: [
15683
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_apsara72.List.Label, { className: side_panel_module_css_default5["side-panel-section-item-label"], children: "Organization size" }),
15684
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_apsara72.List.Value, { children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_apsara72.List.Value, { children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_apsara72.Text, { children: organization?.metadata?.["size"] || "-" }) }) })
15690
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(import_apsara71.List.Item, { children: [
15691
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_apsara71.List.Label, { className: side_panel_module_css_default5["side-panel-section-item-label"], children: "Organization size" }),
15692
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_apsara71.List.Value, { children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_apsara71.List.Value, { children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_apsara71.Text, { children: organization?.metadata?.["size"] || "-" }) }) })
15685
15693
  ] }),
15686
- /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(import_apsara72.List.Item, { children: [
15687
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_apsara72.List.Label, { className: side_panel_module_css_default5["side-panel-section-item-label"], children: "Industry" }),
15688
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_apsara72.List.Value, { children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_apsara72.Text, { children: organization?.metadata?.["type"] || "-" }) })
15694
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(import_apsara71.List.Item, { children: [
15695
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_apsara71.List.Label, { className: side_panel_module_css_default5["side-panel-section-item-label"], children: "Industry" }),
15696
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_apsara71.List.Value, { children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_apsara71.Text, { children: organization?.metadata?.["type"] || "-" }) })
15689
15697
  ] }),
15690
- /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(import_apsara72.List.Item, { children: [
15691
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_apsara72.List.Label, { className: side_panel_module_css_default5["side-panel-section-item-label"], children: "Country" }),
15692
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_apsara72.List.Value, { children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_apsara72.Text, { children: organization?.metadata?.["country"] || "-" }) })
15698
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(import_apsara71.List.Item, { children: [
15699
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_apsara71.List.Label, { className: side_panel_module_css_default5["side-panel-section-item-label"], children: "Country" }),
15700
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_apsara71.List.Value, { children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_apsara71.Text, { children: organization?.metadata?.["country"] || "-" }) })
15693
15701
  ] }),
15694
- /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(import_apsara72.List.Item, { children: [
15695
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_apsara72.List.Label, { className: side_panel_module_css_default5["side-panel-section-item-label"], children: "Status" }),
15696
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_apsara72.List.Value, { children: organization?.state })
15702
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(import_apsara71.List.Item, { children: [
15703
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_apsara71.List.Label, { className: side_panel_module_css_default5["side-panel-section-item-label"], children: "Status" }),
15704
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_apsara71.List.Value, { children: organization?.state })
15697
15705
  ] })
15698
15706
  ] });
15699
15707
  };
15700
15708
 
15701
15709
  // admin/views/organizations/details/side-panel/kyc-section.tsx
15702
- var import_apsara73 = require("@raystack/apsara");
15710
+ var import_apsara72 = require("@raystack/apsara");
15703
15711
  var import_react44 = require("react");
15704
15712
 
15705
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-0MshpDS2AuCV/sdk/admin/views/organizations/details/side-panel/side-panel.module.css.js
15706
- var digest50 = "af4a0f8079f4dbc3d642ef5f93d15b72374713bae3f77dd59984f9f77ee59506";
15713
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-c3N7R85bgFeH/sdk/admin/views/organizations/details/side-panel/side-panel.module.css.js
15714
+ var digest50 = "7f4c9340436821fe4adc06e065bfa7650c7d1dbf5b5be1f199ad02ddb4896e49";
15707
15715
  var css50 = `._side-panel-section-item-label_yeg6h_1 {
15708
15716
  width: 120px;
15709
15717
  }
@@ -15739,11 +15747,11 @@ var import_icons5 = require("@raystack/apsara/icons");
15739
15747
  var import_jsx_runtime78 = require("react/jsx-runtime");
15740
15748
  var KYCDetailsSection = () => {
15741
15749
  const { isKYCLoading, kycDetails } = (0, import_react44.useContext)(OrganizationContext);
15742
- return /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(import_apsara73.List, { children: [
15743
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_apsara73.List.Header, { children: "KYC Details" }),
15744
- /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(import_apsara73.List.Item, { children: [
15745
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_apsara73.List.Label, { className: side_panel_module_css_default6["side-panel-section-item-label"], children: "Status" }),
15746
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_apsara73.List.Value, { children: isKYCLoading ? /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(Skeleton, {}) : kycDetails?.status ? /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(import_apsara73.Flex, { justify: "start", align: "center", gap: 3, children: [
15750
+ return /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(import_apsara72.List, { children: [
15751
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_apsara72.List.Header, { children: "KYC Details" }),
15752
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(import_apsara72.List.Item, { children: [
15753
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_apsara72.List.Label, { className: side_panel_module_css_default6["side-panel-section-item-label"], children: "Status" }),
15754
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_apsara72.List.Value, { children: isKYCLoading ? /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(Skeleton, {}) : kycDetails?.status ? /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(import_apsara72.Flex, { justify: "start", align: "center", gap: 3, children: [
15747
15755
  /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
15748
15756
  import_icons5.CheckCircleFilledIcon,
15749
15757
  {
@@ -15751,8 +15759,8 @@ var KYCDetailsSection = () => {
15751
15759
  className: side_panel_module_css_default6["kyc-status-icon"]
15752
15760
  }
15753
15761
  ),
15754
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_apsara73.Text, { children: "Verified" })
15755
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(import_apsara73.Flex, { justify: "start", align: "center", gap: 3, children: [
15762
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_apsara72.Text, { children: "Verified" })
15763
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(import_apsara72.Flex, { justify: "start", align: "center", gap: 3, children: [
15756
15764
  /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
15757
15765
  import_icons5.CrossCircleFilledIcon,
15758
15766
  {
@@ -15760,15 +15768,15 @@ var KYCDetailsSection = () => {
15760
15768
  className: side_panel_module_css_default6["kyc-status-icon"]
15761
15769
  }
15762
15770
  ),
15763
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_apsara73.Text, { children: "Not verified" })
15771
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_apsara72.Text, { children: "Not verified" })
15764
15772
  ] }) })
15765
15773
  ] }),
15766
- /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(import_apsara73.List.Item, { children: [
15767
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_apsara73.List.Label, { className: side_panel_module_css_default6["side-panel-section-item-label"], children: "Documents Link" }),
15768
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_apsara73.List.Value, { children: isKYCLoading ? /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(Skeleton, {}) : /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_apsara73.Flex, { justify: "start", align: "center", gap: 3, children: kycDetails?.link ? /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(import_jsx_runtime78.Fragment, { children: [
15774
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(import_apsara72.List.Item, { children: [
15775
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_apsara72.List.Label, { className: side_panel_module_css_default6["side-panel-section-item-label"], children: "Documents Link" }),
15776
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_apsara72.List.Value, { children: isKYCLoading ? /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(Skeleton, {}) : /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_apsara72.Flex, { justify: "start", align: "center", gap: 3, children: kycDetails?.link ? /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(import_jsx_runtime78.Fragment, { children: [
15769
15777
  /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(Link2Icon, {}),
15770
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_apsara73.Tooltip, { message: kycDetails?.link, children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
15771
- import_apsara73.Link,
15778
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_apsara72.Tooltip, { message: kycDetails?.link, children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
15779
+ import_apsara72.Link,
15772
15780
  {
15773
15781
  href: kycDetails?.link,
15774
15782
  target: "_blank",
@@ -15777,17 +15785,17 @@ var KYCDetailsSection = () => {
15777
15785
  children: kycDetails?.link
15778
15786
  }
15779
15787
  ) })
15780
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_apsara73.Text, { children: "N/A" }) }) })
15788
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_apsara72.Text, { children: "N/A" }) }) })
15781
15789
  ] })
15782
15790
  ] });
15783
15791
  };
15784
15792
 
15785
15793
  // admin/views/organizations/details/side-panel/plan-details-section.tsx
15786
15794
  var import_react45 = require("react");
15787
- var import_apsara74 = require("@raystack/apsara");
15795
+ var import_apsara73 = require("@raystack/apsara");
15788
15796
 
15789
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-d6lDt8pSiXc0/sdk/admin/views/organizations/details/side-panel/side-panel.module.css.js
15790
- var digest51 = "ac435862e61fcf8622a24527a4480ee54e900154ba1cfb52ceeb0a00989af794";
15797
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-focjRtYFMa3l/sdk/admin/views/organizations/details/side-panel/side-panel.module.css.js
15798
+ var digest51 = "dc0ed9c2404135be283296a3c43159937fff11960e5d5c0a67ee19ab7f8d4086";
15791
15799
  var css51 = `._side-panel-section-item-label_yeg6h_1 {
15792
15800
  width: 120px;
15793
15801
  }
@@ -15858,38 +15866,38 @@ var PlanDetailsSection = () => {
15858
15866
  console.error("Error fetching plan:", planError);
15859
15867
  }
15860
15868
  const isLoading = isSubscriptionLoading || isPlanLoading;
15861
- return /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(import_apsara74.List, { children: [
15862
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_apsara74.List.Header, { children: "Plan details" }),
15863
- /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(import_apsara74.List.Item, { children: [
15864
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_apsara74.List.Label, { className: side_panel_module_css_default7["side-panel-section-item-label"], children: "Name" }),
15865
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_apsara74.List.Value, { children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Skeleton, {}) : /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_apsara74.Text, { children: planData?.plan?.title || "Standard" }) })
15869
+ return /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(import_apsara73.List, { children: [
15870
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_apsara73.List.Header, { children: "Plan details" }),
15871
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(import_apsara73.List.Item, { children: [
15872
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_apsara73.List.Label, { className: side_panel_module_css_default7["side-panel-section-item-label"], children: "Name" }),
15873
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_apsara73.List.Value, { children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Skeleton, {}) : /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_apsara73.Text, { children: planData?.plan?.title || "Standard" }) })
15866
15874
  ] }),
15867
- /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(import_apsara74.List.Item, { children: [
15868
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_apsara74.List.Label, { className: side_panel_module_css_default7["side-panel-section-item-label"], children: "Started from" }),
15869
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_apsara74.List.Value, { children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Skeleton, {}) : timestampToDayjs(activeSubscription?.currentPeriodStartAt) ? /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(import_apsara74.Flex, { gap: 3, children: [
15875
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(import_apsara73.List.Item, { children: [
15876
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_apsara73.List.Label, { className: side_panel_module_css_default7["side-panel-section-item-label"], children: "Started from" }),
15877
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_apsara73.List.Value, { children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Skeleton, {}) : timestampToDayjs(activeSubscription?.currentPeriodStartAt) ? /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(import_apsara73.Flex, { gap: 3, children: [
15870
15878
  /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(CalendarIcon, {}),
15871
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_apsara74.Text, { children: timestampToDayjs(activeSubscription?.currentPeriodStartAt)?.format(
15879
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_apsara73.Text, { children: timestampToDayjs(activeSubscription?.currentPeriodStartAt)?.format(
15872
15880
  "DD MMM YYYY"
15873
15881
  ) })
15874
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_apsara74.Text, { children: "-" }) })
15882
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_apsara73.Text, { children: "-" }) })
15875
15883
  ] }),
15876
- /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(import_apsara74.List.Item, { children: [
15877
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_apsara74.List.Label, { className: side_panel_module_css_default7["side-panel-section-item-label"], children: "Ends on" }),
15878
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_apsara74.List.Value, { children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Skeleton, {}) : timestampToDayjs(activeSubscription?.currentPeriodEndAt) ? /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(import_apsara74.Flex, { gap: 3, children: [
15884
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(import_apsara73.List.Item, { children: [
15885
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_apsara73.List.Label, { className: side_panel_module_css_default7["side-panel-section-item-label"], children: "Ends on" }),
15886
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_apsara73.List.Value, { children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Skeleton, {}) : timestampToDayjs(activeSubscription?.currentPeriodEndAt) ? /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(import_apsara73.Flex, { gap: 3, children: [
15879
15887
  /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(CalendarIcon, {}),
15880
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_apsara74.Text, { children: timestampToDayjs(activeSubscription?.currentPeriodEndAt)?.format(
15888
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_apsara73.Text, { children: timestampToDayjs(activeSubscription?.currentPeriodEndAt)?.format(
15881
15889
  "DD MMM YYYY"
15882
15890
  ) })
15883
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_apsara74.Text, { children: "-" }) })
15891
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_apsara73.Text, { children: "-" }) })
15884
15892
  ] })
15885
15893
  ] });
15886
15894
  };
15887
15895
 
15888
15896
  // admin/views/organizations/details/side-panel/tokens-details-section.tsx
15889
- var import_apsara75 = require("@raystack/apsara");
15897
+ var import_apsara74 = require("@raystack/apsara");
15890
15898
 
15891
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-5ePYyQC31ct3/sdk/admin/views/organizations/details/side-panel/side-panel.module.css.js
15892
- var digest52 = "c13fb0a064b737e8030772a8b941c1376ebad1f8deaa83fe40ce9c6fb406ef8c";
15899
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-9VVKm5CMpDDG/sdk/admin/views/organizations/details/side-panel/side-panel.module.css.js
15900
+ var digest52 = "01ac38e2639874554f0f0a461324a627f880501b5df9ce68c570e24881bfbc1f";
15893
15901
  var css52 = `._side-panel-section-item-label_yeg6h_1 {
15894
15902
  width: 120px;
15895
15903
  }
@@ -15953,33 +15961,33 @@ var TokensDetailsSection = () => {
15953
15961
  }
15954
15962
  }, [error]);
15955
15963
  const isLoading = isTokensLoading;
15956
- return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(import_apsara75.List, { children: [
15957
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_apsara75.List.Header, { children: "Tokens" }),
15958
- /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(import_apsara75.List.Item, { children: [
15959
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_apsara75.List.Label, { className: side_panel_module_css_default8["side-panel-section-item-label"], children: "Available tokens" }),
15960
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_apsara75.List.Value, { children: isTokenBalanceLoading ? /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Skeleton, {}) : /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(import_apsara75.Flex, { gap: 3, children: [
15964
+ return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(import_apsara74.List, { children: [
15965
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_apsara74.List.Header, { children: "Tokens" }),
15966
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(import_apsara74.List.Item, { children: [
15967
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_apsara74.List.Label, { className: side_panel_module_css_default8["side-panel-section-item-label"], children: "Available tokens" }),
15968
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_apsara74.List.Value, { children: isTokenBalanceLoading ? /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Skeleton, {}) : /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(import_apsara74.Flex, { gap: 3, children: [
15961
15969
  /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(MixIcon, {}),
15962
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_apsara75.Text, { children: tokenBalance })
15970
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_apsara74.Text, { children: tokenBalance })
15963
15971
  ] }) })
15964
15972
  ] }),
15965
- /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(import_apsara75.List.Item, { children: [
15966
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_apsara75.List.Label, { className: side_panel_module_css_default8["side-panel-section-item-label"], children: "Used till date" }),
15967
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_apsara75.List.Value, { children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Skeleton, {}) : /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(import_apsara75.Flex, { gap: 3, children: [
15973
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(import_apsara74.List.Item, { children: [
15974
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_apsara74.List.Label, { className: side_panel_module_css_default8["side-panel-section-item-label"], children: "Used till date" }),
15975
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_apsara74.List.Value, { children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Skeleton, {}) : /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(import_apsara74.Flex, { gap: 3, children: [
15968
15976
  /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(MixIcon, { style: { color: "var(--rs-color-foreground-base-tertiary)" } }),
15969
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_apsara75.Text, { children: tokensUsed })
15977
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_apsara74.Text, { children: tokensUsed })
15970
15978
  ] }) })
15971
15979
  ] }),
15972
- /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(import_apsara75.List.Item, { children: [
15973
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_apsara75.List.Label, { className: side_panel_module_css_default8["side-panel-section-item-label"], children: "Payment Mode" }),
15974
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_apsara75.List.Value, { children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Skeleton, {}) : /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_apsara75.Flex, { gap: 3, children: Number(billingAccountDetails?.creditMin) < 0 ? "Postpaid" : "Prepaid" }) })
15980
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(import_apsara74.List.Item, { children: [
15981
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_apsara74.List.Label, { className: side_panel_module_css_default8["side-panel-section-item-label"], children: "Payment Mode" }),
15982
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_apsara74.List.Value, { children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Skeleton, {}) : /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_apsara74.Flex, { gap: 3, children: Number(billingAccountDetails?.creditMin) < 0 ? "Postpaid" : "Prepaid" }) })
15975
15983
  ] }),
15976
- /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(import_apsara75.List.Item, { children: [
15977
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_apsara75.List.Label, { className: side_panel_module_css_default8["side-panel-section-item-label"], children: "Credit Limit" }),
15978
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_apsara75.List.Value, { children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Skeleton, {}) : /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_apsara75.Flex, { gap: 3, children: Math.abs(Number(billingAccountDetails?.creditMin)) }) })
15984
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(import_apsara74.List.Item, { children: [
15985
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_apsara74.List.Label, { className: side_panel_module_css_default8["side-panel-section-item-label"], children: "Credit Limit" }),
15986
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_apsara74.List.Value, { children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Skeleton, {}) : /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_apsara74.Flex, { gap: 3, children: Math.abs(Number(billingAccountDetails?.creditMin)) }) })
15979
15987
  ] }),
15980
- /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(import_apsara75.List.Item, { children: [
15981
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_apsara75.List.Label, { className: side_panel_module_css_default8["side-panel-section-item-label"], children: "Invoice due date" }),
15982
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_apsara75.List.Value, { children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Skeleton, {}) : /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(import_apsara75.Flex, { gap: 3, children: [
15988
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(import_apsara74.List.Item, { children: [
15989
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_apsara74.List.Label, { className: side_panel_module_css_default8["side-panel-section-item-label"], children: "Invoice due date" }),
15990
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_apsara74.List.Value, { children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Skeleton, {}) : /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(import_apsara74.Flex, { gap: 3, children: [
15983
15991
  String(billingAccountDetails?.dueInDays || 0),
15984
15992
  " days"
15985
15993
  ] }) })
@@ -15988,10 +15996,10 @@ var TokensDetailsSection = () => {
15988
15996
  };
15989
15997
 
15990
15998
  // admin/views/organizations/details/side-panel/billing-details-section.tsx
15991
- var import_apsara76 = require("@raystack/apsara");
15999
+ var import_apsara75 = require("@raystack/apsara");
15992
16000
 
15993
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-F78pUT24TbzZ/sdk/admin/views/organizations/details/side-panel/side-panel.module.css.js
15994
- var digest53 = "9f32fb35ec8d1e2a0654f39108e936593bbf1bc6b4faa62b9225df1bc61b4e90";
16001
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-oKMuqx2vILxL/sdk/admin/views/organizations/details/side-panel/side-panel.module.css.js
16002
+ var digest53 = "264bbc3ba37885a6946ac14a7e7b1e82b86fe00f764427d6ffb3322e74815f04";
15995
16003
  var css53 = `._side-panel-section-item-label_yeg6h_1 {
15996
16004
  width: 120px;
15997
16005
  }
@@ -16024,7 +16032,7 @@ var side_panel_module_css_default9 = { "side-panel-section-item-label": "_side-p
16024
16032
 
16025
16033
  // admin/views/organizations/details/side-panel/billing-details-section.tsx
16026
16034
  var import_react47 = require("react");
16027
- var import_apsara77 = require("@raystack/apsara");
16035
+ var import_apsara76 = require("@raystack/apsara");
16028
16036
  var import_connect_query27 = require("@connectrpc/connect-query");
16029
16037
  var import_frontier31 = require("@raystack/proton/frontier");
16030
16038
  var import_protobuf15 = require("@bufbuild/protobuf");
@@ -16051,61 +16059,61 @@ var BillingDetailsSection = () => {
16051
16059
  }, [error]);
16052
16060
  const due_date = upcomingInvoice?.dueDate || upcomingInvoice?.periodEndAt;
16053
16061
  const stripeLink = billingAccount?.providerId ? "https://dashboard.stripe.com/customers/" + billingAccount?.providerId : "";
16054
- return /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(import_apsara76.List, { children: [
16055
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara76.List.Header, { children: "Billing" }),
16056
- /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(import_apsara76.List.Item, { children: [
16057
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara76.List.Label, { className: side_panel_module_css_default9["side-panel-section-item-label"], children: "Name" }),
16058
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara76.List.Value, { className: side_panel_module_css_default9["side-panel-section-item-value"], children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(Skeleton, {}) : /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara76.Text, { children: billingAccount?.name || "N/A" }) })
16062
+ return /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(import_apsara75.List, { children: [
16063
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara75.List.Header, { children: "Billing" }),
16064
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(import_apsara75.List.Item, { children: [
16065
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara75.List.Label, { className: side_panel_module_css_default9["side-panel-section-item-label"], children: "Name" }),
16066
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara75.List.Value, { className: side_panel_module_css_default9["side-panel-section-item-value"], children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(Skeleton, {}) : /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara75.Text, { children: billingAccount?.name || "N/A" }) })
16059
16067
  ] }),
16060
- /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(import_apsara76.List.Item, { children: [
16061
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara76.List.Label, { className: side_panel_module_css_default9["side-panel-section-item-label"], children: "Billing Account ID" }),
16062
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara76.List.Value, { children: /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(import_apsara76.Flex, { gap: 3, children: [
16068
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(import_apsara75.List.Item, { children: [
16069
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara75.List.Label, { className: side_panel_module_css_default9["side-panel-section-item-label"], children: "Billing Account ID" }),
16070
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara75.List.Value, { children: /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(import_apsara75.Flex, { gap: 3, children: [
16063
16071
  /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
16064
- import_apsara76.CopyButton,
16072
+ import_apsara75.CopyButton,
16065
16073
  {
16066
16074
  text: billingAccount?.id || "",
16067
16075
  "data-test-id": "copy-button"
16068
16076
  }
16069
16077
  ),
16070
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara76.Text, { className: side_panel_module_css_default9["org-details-section-org-id"], children: billingAccount?.id })
16078
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara75.Text, { className: side_panel_module_css_default9["org-details-section-org-id"], children: billingAccount?.id })
16071
16079
  ] }) })
16072
16080
  ] }),
16073
- /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(import_apsara76.List.Item, { children: [
16074
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara76.List.Label, { className: side_panel_module_css_default9["side-panel-section-item-label"], children: "Email" }),
16075
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara76.List.Value, { className: side_panel_module_css_default9["side-panel-section-item-value"], children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(Skeleton, {}) : /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara76.Text, { children: billingAccount?.email || "N/A" }) })
16081
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(import_apsara75.List.Item, { children: [
16082
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara75.List.Label, { className: side_panel_module_css_default9["side-panel-section-item-label"], children: "Email" }),
16083
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara75.List.Value, { className: side_panel_module_css_default9["side-panel-section-item-value"], children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(Skeleton, {}) : /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara75.Text, { children: billingAccount?.email || "N/A" }) })
16076
16084
  ] }),
16077
- /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(import_apsara76.List.Item, { children: [
16078
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara76.List.Label, { className: side_panel_module_css_default9["side-panel-section-item-label"], children: "Address" }),
16079
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara76.List.Value, { className: side_panel_module_css_default9["side-panel-section-item-value"], children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(Skeleton, {}) : /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara76.Text, { children: billingAccount?.address ? converBillingAddressToString(billingAccount.address) : "N/A" }) })
16085
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(import_apsara75.List.Item, { children: [
16086
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara75.List.Label, { className: side_panel_module_css_default9["side-panel-section-item-label"], children: "Address" }),
16087
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara75.List.Value, { className: side_panel_module_css_default9["side-panel-section-item-value"], children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(Skeleton, {}) : /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara75.Text, { children: billingAccount?.address ? converBillingAddressToString(billingAccount.address) : "N/A" }) })
16080
16088
  ] }),
16081
- /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(import_apsara76.List.Item, { children: [
16082
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara76.List.Label, { className: side_panel_module_css_default9["side-panel-section-item-label"], children: "Next billing date" }),
16083
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara76.List.Value, { className: side_panel_module_css_default9["side-panel-section-item-value"], children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(Skeleton, {}) : timestampToDayjs(due_date) ? /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(import_apsara76.Flex, { gap: 3, children: [
16089
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(import_apsara75.List.Item, { children: [
16090
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara75.List.Label, { className: side_panel_module_css_default9["side-panel-section-item-label"], children: "Next billing date" }),
16091
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara75.List.Value, { className: side_panel_module_css_default9["side-panel-section-item-value"], children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(Skeleton, {}) : timestampToDayjs(due_date) ? /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(import_apsara75.Flex, { gap: 3, children: [
16084
16092
  /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(CalendarIcon, {}),
16085
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara76.Text, { children: timestampToDayjs(due_date)?.format("DD MMM YYYY") })
16086
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara76.Text, { children: "-" }) })
16093
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara75.Text, { children: timestampToDayjs(due_date)?.format("DD MMM YYYY") })
16094
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara75.Text, { children: "-" }) })
16087
16095
  ] }),
16088
- /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(import_apsara76.List.Item, { children: [
16089
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara76.List.Label, { className: side_panel_module_css_default9["side-panel-section-item-label"], children: "Amount" }),
16090
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara76.List.Value, { className: side_panel_module_css_default9["side-panel-section-item-value"], children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(Skeleton, {}) : upcomingInvoice?.amount ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
16091
- import_apsara77.Amount,
16096
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(import_apsara75.List.Item, { children: [
16097
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara75.List.Label, { className: side_panel_module_css_default9["side-panel-section-item-label"], children: "Amount" }),
16098
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara75.List.Value, { className: side_panel_module_css_default9["side-panel-section-item-value"], children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(Skeleton, {}) : upcomingInvoice?.amount ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
16099
+ import_apsara76.Amount,
16092
16100
  {
16093
16101
  currency: upcomingInvoice?.currency,
16094
16102
  value: Number(upcomingInvoice?.amount)
16095
16103
  }
16096
- ) : /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara76.Text, { children: "-" }) })
16104
+ ) : /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara75.Text, { children: "-" }) })
16097
16105
  ] }),
16098
- /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(import_apsara76.List.Item, { children: [
16099
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara76.List.Label, { className: side_panel_module_css_default9["side-panel-section-item-label"], children: "Profile" }),
16100
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara76.List.Value, { className: side_panel_module_css_default9["side-panel-section-item-value"], children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(Skeleton, {}) : stripeLink ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
16101
- import_apsara76.Link,
16106
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(import_apsara75.List.Item, { children: [
16107
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara75.List.Label, { className: side_panel_module_css_default9["side-panel-section-item-label"], children: "Profile" }),
16108
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara75.List.Value, { className: side_panel_module_css_default9["side-panel-section-item-value"], children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(Skeleton, {}) : stripeLink ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
16109
+ import_apsara75.Link,
16102
16110
  {
16103
16111
  href: stripeLink,
16104
16112
  "data-test-id": "stripe-dashboard-link",
16105
16113
  target: "_blank",
16106
16114
  children: "Stripe"
16107
16115
  }
16108
- ) : /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara76.Text, { children: "N/A" }) })
16116
+ ) : /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara75.Text, { children: "N/A" }) })
16109
16117
  ] })
16110
16118
  ] });
16111
16119
  };
@@ -16113,20 +16121,20 @@ var BillingDetailsSection = () => {
16113
16121
  // admin/views/organizations/details/side-panel/index.tsx
16114
16122
  var import_jsx_runtime82 = require("react/jsx-runtime");
16115
16123
  function OrgSidePanel({ organization }) {
16116
- const avatarColor = (0, import_apsara78.getAvatarColor)(organization?.id || "");
16117
- return /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(import_apsara78.SidePanel, { "data-test-id": "admin-sidepanel", children: [
16124
+ const avatarColor = (0, import_apsara77.getAvatarColor)(organization?.id || "");
16125
+ return /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(import_apsara77.SidePanel, { "data-test-id": "admin-sidepanel", children: [
16118
16126
  /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
16119
- import_apsara78.SidePanel.Header,
16127
+ import_apsara77.SidePanel.Header,
16120
16128
  {
16121
16129
  title: organization?.title || "Organization",
16122
- icon: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_apsara78.Avatar, { fallback: organization?.title?.[0], color: avatarColor })
16130
+ icon: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_apsara77.Avatar, { fallback: organization?.title?.[0], color: avatarColor })
16123
16131
  }
16124
16132
  ),
16125
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_apsara78.SidePanel.Section, { children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(OrganizationDetailsSection, { organization }) }),
16126
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_apsara78.SidePanel.Section, { children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(KYCDetailsSection, {}) }),
16127
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_apsara78.SidePanel.Section, { children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(PlanDetailsSection, {}) }),
16128
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_apsara78.SidePanel.Section, { children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(TokensDetailsSection, {}) }),
16129
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_apsara78.SidePanel.Section, { children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(BillingDetailsSection, {}) })
16133
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_apsara77.SidePanel.Section, { children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(OrganizationDetailsSection, { organization }) }),
16134
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_apsara77.SidePanel.Section, { children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(KYCDetailsSection, {}) }),
16135
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_apsara77.SidePanel.Section, { children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(PlanDetailsSection, {}) }),
16136
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_apsara77.SidePanel.Section, { children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(TokensDetailsSection, {}) }),
16137
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_apsara77.SidePanel.Section, { children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(BillingDetailsSection, {}) })
16130
16138
  ] });
16131
16139
  }
16132
16140
 
@@ -16135,10 +16143,10 @@ var import_react51 = require("react");
16135
16143
  var import_icons6 = require("@raystack/apsara/icons");
16136
16144
 
16137
16145
  // admin/views/organizations/details/edit/kyc.tsx
16138
- var import_apsara79 = require("@raystack/apsara");
16146
+ var import_apsara78 = require("@raystack/apsara");
16139
16147
 
16140
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-9oE31UTw3wRU/sdk/admin/views/organizations/details/edit/edit.module.css.js
16141
- var digest54 = "45ffee72960e4708262110663dd8fc04d5738703b908bd8f3f86d3c9256fe207";
16148
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-ovlRw6oU0BUl/sdk/admin/views/organizations/details/edit/edit.module.css.js
16149
+ var digest54 = "c675d6da9c9de2d421faa9bfe46d7433671911288d843dcb64073ba20194fd1d";
16142
16150
  var css54 = `._drawer-content_1o0os_1 {
16143
16151
  min-width: 500px;
16144
16152
  padding: 0;
@@ -16243,11 +16251,11 @@ function EditKYCPanel({ onClose }) {
16243
16251
  cardinality: "finite"
16244
16252
  })
16245
16253
  });
16246
- import_apsara79.toast.success("KYC details updated successfully");
16254
+ import_apsara78.toast.success("KYC details updated successfully");
16247
16255
  onClose();
16248
16256
  },
16249
16257
  onError: (error) => {
16250
- import_apsara79.toast.error(`Failed to update KYC details: ${error.message}`);
16258
+ import_apsara78.toast.error(`Failed to update KYC details: ${error.message}`);
16251
16259
  console.error("Unable to update KYC details:", error);
16252
16260
  }
16253
16261
  });
@@ -16263,19 +16271,19 @@ function EditKYCPanel({ onClose }) {
16263
16271
  })
16264
16272
  );
16265
16273
  }
16266
- return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_apsara79.Sheet, { open: true, children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_apsara79.Sheet.Content, { className: edit_module_css_default["drawer-content"], children: /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(
16267
- import_apsara79.SidePanel,
16274
+ return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_apsara78.Sheet, { open: true, children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_apsara78.Sheet.Content, { className: edit_module_css_default["drawer-content"], children: /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(
16275
+ import_apsara78.SidePanel,
16268
16276
  {
16269
16277
  "data-test-id": "edit-kyc-panel",
16270
16278
  className: edit_module_css_default["side-panel"],
16271
16279
  children: [
16272
16280
  /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
16273
- import_apsara79.SidePanel.Header,
16281
+ import_apsara78.SidePanel.Header,
16274
16282
  {
16275
16283
  title: "Edit KYC",
16276
16284
  actions: [
16277
16285
  /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
16278
- import_apsara79.IconButton,
16286
+ import_apsara78.IconButton,
16279
16287
  {
16280
16288
  "data-test-id": "close-kyc-panel-icon",
16281
16289
  onClick: onClose,
@@ -16293,13 +16301,13 @@ function EditKYCPanel({ onClose }) {
16293
16301
  className: edit_module_css_default["side-panel-form"],
16294
16302
  children: [
16295
16303
  /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(
16296
- import_apsara79.Flex,
16304
+ import_apsara78.Flex,
16297
16305
  {
16298
16306
  direction: "column",
16299
16307
  gap: 5,
16300
16308
  className: edit_module_css_default["side-panel-content"],
16301
16309
  children: [
16302
- /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_apsara79.Text, { size: "small", weight: "medium", children: "KYC Details" }),
16310
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_apsara78.Text, { size: "small", weight: "medium", children: "KYC Details" }),
16303
16311
  /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
16304
16312
  import_react_hook_form9.Controller,
16305
16313
  {
@@ -16307,17 +16315,17 @@ function EditKYCPanel({ onClose }) {
16307
16315
  control,
16308
16316
  render: ({ field }) => {
16309
16317
  return /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(import_jsx_runtime83.Fragment, { children: [
16310
- /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(import_apsara79.Flex, { justify: "between", children: [
16311
- /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_apsara79.Label, { children: "Mark KYC as verified" }),
16318
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(import_apsara78.Flex, { justify: "between", children: [
16319
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_apsara78.Label, { children: "Mark KYC as verified" }),
16312
16320
  /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
16313
- import_apsara79.Switch,
16321
+ import_apsara78.Switch,
16314
16322
  {
16315
16323
  checked: field.value,
16316
16324
  onCheckedChange: field.onChange
16317
16325
  }
16318
16326
  )
16319
16327
  ] }),
16320
- errors.status && /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_apsara79.Text, { variant: "danger", children: errors.status.message })
16328
+ errors.status && /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_apsara78.Text, { variant: "danger", children: errors.status.message })
16321
16329
  ] });
16322
16330
  }
16323
16331
  }
@@ -16329,7 +16337,7 @@ function EditKYCPanel({ onClose }) {
16329
16337
  control,
16330
16338
  render: ({ field }) => {
16331
16339
  return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_jsx_runtime83.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
16332
- import_apsara79.InputField,
16340
+ import_apsara78.InputField,
16333
16341
  {
16334
16342
  label: "Document Link",
16335
16343
  ...field,
@@ -16342,9 +16350,9 @@ function EditKYCPanel({ onClose }) {
16342
16350
  ]
16343
16351
  }
16344
16352
  ),
16345
- /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(import_apsara79.Flex, { className: edit_module_css_default["side-panel-footer"], gap: 3, children: [
16353
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(import_apsara78.Flex, { className: edit_module_css_default["side-panel-footer"], gap: 3, children: [
16346
16354
  /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
16347
- import_apsara79.Button,
16355
+ import_apsara78.Button,
16348
16356
  {
16349
16357
  variant: "outline",
16350
16358
  color: "neutral",
@@ -16354,7 +16362,7 @@ function EditKYCPanel({ onClose }) {
16354
16362
  }
16355
16363
  ),
16356
16364
  /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
16357
- import_apsara79.Button,
16365
+ import_apsara78.Button,
16358
16366
  {
16359
16367
  "data-test-id": "save-kyc-button",
16360
16368
  type: "submit",
@@ -16375,8 +16383,8 @@ function EditKYCPanel({ onClose }) {
16375
16383
  // admin/views/organizations/details/edit/organization.tsx
16376
16384
  var import_react49 = require("react");
16377
16385
 
16378
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-6cBNJQYLAQnu/sdk/admin/views/organizations/details/edit/edit.module.css.js
16379
- var digest55 = "9637637a215401af273c3dcd3b09bc4fcce6e63d71a86bf5ee00a53e6cf8f183";
16386
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-djNyX6KOIH30/sdk/admin/views/organizations/details/edit/edit.module.css.js
16387
+ var digest55 = "de0db0e0173ff9839d03c1274bd7d94f7f973fe1d737060117626d1660c6fe5f";
16380
16388
  var css55 = `._drawer-content_1o0os_1 {
16381
16389
  min-width: 500px;
16382
16390
  padding: 0;
@@ -16429,7 +16437,7 @@ var css55 = `._drawer-content_1o0os_1 {
16429
16437
  var edit_module_css_default2 = { "drawer-content": "_drawer-content_1o0os_1", "drawerContent": "_drawer-content_1o0os_1", "side-panel": "_side-panel_1o0os_7", "sidePanel": "_side-panel_1o0os_7", "side-panel-form": "_side-panel-form_1o0os_15", "sidePanelForm": "_side-panel-form_1o0os_15", "side-panel-content": "_side-panel-content_1o0os_22", "sidePanelContent": "_side-panel-content_1o0os_22", "side-panel-footer": "_side-panel-footer_1o0os_26", "sidePanelFooter": "_side-panel-footer_1o0os_26", "select-value": "_select-value_1o0os_31", "selectValue": "_select-value_1o0os_31", "select-content": "_select-content_1o0os_35", "selectContent": "_select-content_1o0os_35" };
16430
16438
 
16431
16439
  // admin/views/organizations/details/edit/organization.tsx
16432
- var import_apsara80 = require("@raystack/apsara");
16440
+ var import_apsara79 = require("@raystack/apsara");
16433
16441
  var import_react_hook_form10 = require("react-hook-form");
16434
16442
  var import_zod13 = require("@hookform/resolvers/zod");
16435
16443
  var import_connect_query29 = require("@connectrpc/connect-query");
@@ -16540,19 +16548,19 @@ function EditOrganizationPanel({ onClose }) {
16540
16548
  }
16541
16549
  }
16542
16550
  const showOtherTypeField = watch("type", "other") === "other";
16543
- return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_apsara80.Sheet, { open: true, children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_apsara80.Sheet.Content, { className: edit_module_css_default2["drawer-content"], children: /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
16544
- import_apsara80.SidePanel,
16551
+ return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_apsara79.Sheet, { open: true, children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_apsara79.Sheet.Content, { className: edit_module_css_default2["drawer-content"], children: /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
16552
+ import_apsara79.SidePanel,
16545
16553
  {
16546
16554
  "data-test-id": "edit-org-panel",
16547
16555
  className: edit_module_css_default2["side-panel"],
16548
16556
  children: [
16549
16557
  /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
16550
- import_apsara80.SidePanel.Header,
16558
+ import_apsara79.SidePanel.Header,
16551
16559
  {
16552
16560
  title: "Edit organization",
16553
16561
  actions: [
16554
16562
  /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
16555
- import_apsara80.IconButton,
16563
+ import_apsara79.IconButton,
16556
16564
  {
16557
16565
  "data-test-id": "close-edit-org-panel-icon",
16558
16566
  onClick: onClose,
@@ -16570,7 +16578,7 @@ function EditOrganizationPanel({ onClose }) {
16570
16578
  onSubmit: handleSubmit(onSubmit),
16571
16579
  children: [
16572
16580
  /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
16573
- import_apsara80.Flex,
16581
+ import_apsara79.Flex,
16574
16582
  {
16575
16583
  direction: "column",
16576
16584
  gap: 9,
@@ -16583,23 +16591,23 @@ function EditOrganizationPanel({ onClose }) {
16583
16591
  control,
16584
16592
  render: ({ field }) => {
16585
16593
  return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_jsx_runtime84.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
16586
- import_apsara80.Flex,
16594
+ import_apsara79.Flex,
16587
16595
  {
16588
16596
  align: "center",
16589
16597
  gap: "medium",
16590
16598
  style: { width: "100%" },
16591
16599
  children: [
16592
16600
  /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(AvatarUpload, { ...field, "data-test-id": "avatar-upload" }),
16593
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_apsara80.Text, { children: "Pick a logo for your organization" })
16601
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_apsara79.Text, { children: "Pick a logo for your organization" })
16594
16602
  ]
16595
16603
  }
16596
16604
  ) });
16597
16605
  }
16598
16606
  }
16599
16607
  ),
16600
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_apsara80.InputField, { ...register("title"), label: "Organization title" }),
16608
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_apsara79.InputField, { ...register("title"), label: "Organization title" }),
16601
16609
  /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
16602
- import_apsara80.InputField,
16610
+ import_apsara79.InputField,
16603
16611
  {
16604
16612
  ...register("name"),
16605
16613
  prefix: appUrl,
@@ -16609,7 +16617,7 @@ function EditOrganizationPanel({ onClose }) {
16609
16617
  }
16610
16618
  ),
16611
16619
  /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
16612
- import_apsara80.InputField,
16620
+ import_apsara79.InputField,
16613
16621
  {
16614
16622
  ...register("size"),
16615
16623
  type: "number",
@@ -16623,10 +16631,10 @@ function EditOrganizationPanel({ onClose }) {
16623
16631
  name: "type",
16624
16632
  control,
16625
16633
  render: ({ field }) => {
16626
- return /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(import_apsara80.Flex, { direction: "column", gap: 2, children: [
16627
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_apsara80.Label, { htmlFor: "org-type-select", children: "Organization industry" }),
16634
+ return /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(import_apsara79.Flex, { direction: "column", gap: 2, children: [
16635
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_apsara79.Label, { htmlFor: "org-type-select", children: "Organization industry" }),
16628
16636
  /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
16629
- import_apsara80.Select,
16637
+ import_apsara79.Select,
16630
16638
  {
16631
16639
  ...field,
16632
16640
  value: field?.value?.toString(),
@@ -16634,17 +16642,17 @@ function EditOrganizationPanel({ onClose }) {
16634
16642
  field?.onChange({ target: { value } });
16635
16643
  },
16636
16644
  children: [
16637
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_apsara80.Select.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
16638
- import_apsara80.Select.Value,
16645
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_apsara79.Select.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
16646
+ import_apsara79.Select.Value,
16639
16647
  {
16640
16648
  placeholder: "Select an industry",
16641
16649
  className: edit_module_css_default2["select-value"],
16642
16650
  id: "org-type-select"
16643
16651
  }
16644
16652
  ) }),
16645
- /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(import_apsara80.Select.Content, { className: edit_module_css_default2["select-content"], children: [
16646
- industries.map((industry) => /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_apsara80.Select.Item, { value: industry, children: industry }, industry)),
16647
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_apsara80.Select.Item, { value: "other", children: "Other" })
16653
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(import_apsara79.Select.Content, { className: edit_module_css_default2["select-content"], children: [
16654
+ industries.map((industry) => /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_apsara79.Select.Item, { value: industry, children: industry }, industry)),
16655
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_apsara79.Select.Item, { value: "other", children: "Other" })
16648
16656
  ] })
16649
16657
  ]
16650
16658
  }
@@ -16654,7 +16662,7 @@ function EditOrganizationPanel({ onClose }) {
16654
16662
  }
16655
16663
  ),
16656
16664
  showOtherTypeField ? /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
16657
- import_apsara80.InputField,
16665
+ import_apsara79.InputField,
16658
16666
  {
16659
16667
  label: "Organization industry (other)",
16660
16668
  ...register("otherType"),
@@ -16667,10 +16675,10 @@ function EditOrganizationPanel({ onClose }) {
16667
16675
  name: "country",
16668
16676
  control,
16669
16677
  render: ({ field }) => {
16670
- return /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(import_apsara80.Flex, { direction: "column", gap: 2, children: [
16671
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_apsara80.Label, { htmlFor: "country-select", children: "Country" }),
16678
+ return /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(import_apsara79.Flex, { direction: "column", gap: 2, children: [
16679
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_apsara79.Label, { htmlFor: "country-select", children: "Country" }),
16672
16680
  /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
16673
- import_apsara80.Select,
16681
+ import_apsara79.Select,
16674
16682
  {
16675
16683
  ...field,
16676
16684
  value: field?.value?.toString(),
@@ -16679,15 +16687,15 @@ function EditOrganizationPanel({ onClose }) {
16679
16687
  },
16680
16688
  autocomplete: true,
16681
16689
  children: [
16682
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_apsara80.Select.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
16683
- import_apsara80.Select.Value,
16690
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_apsara79.Select.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
16691
+ import_apsara79.Select.Value,
16684
16692
  {
16685
16693
  placeholder: "Select a country",
16686
16694
  className: edit_module_css_default2["select-value"],
16687
16695
  id: "country-select"
16688
16696
  }
16689
16697
  ) }),
16690
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_apsara80.Select.Content, { className: edit_module_css_default2["select-content"], children: countries.map((country) => /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_apsara80.Select.Item, { value: country, children: country }, country)) })
16698
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_apsara79.Select.Content, { className: edit_module_css_default2["select-content"], children: countries.map((country) => /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_apsara79.Select.Item, { value: country, children: country }, country)) })
16691
16699
  ]
16692
16700
  }
16693
16701
  )
@@ -16698,9 +16706,9 @@ function EditOrganizationPanel({ onClose }) {
16698
16706
  ]
16699
16707
  }
16700
16708
  ),
16701
- /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(import_apsara80.Flex, { className: edit_module_css_default2["side-panel-footer"], gap: 3, children: [
16709
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(import_apsara79.Flex, { className: edit_module_css_default2["side-panel-footer"], gap: 3, children: [
16702
16710
  /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
16703
- import_apsara80.Button,
16711
+ import_apsara79.Button,
16704
16712
  {
16705
16713
  variant: "outline",
16706
16714
  color: "neutral",
@@ -16710,7 +16718,7 @@ function EditOrganizationPanel({ onClose }) {
16710
16718
  }
16711
16719
  ),
16712
16720
  /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
16713
- import_apsara80.Button,
16721
+ import_apsara79.Button,
16714
16722
  {
16715
16723
  loading: isSubmitting,
16716
16724
  "data-test-id": "save-edit-org-button",
@@ -16729,10 +16737,10 @@ function EditOrganizationPanel({ onClose }) {
16729
16737
  }
16730
16738
 
16731
16739
  // admin/views/organizations/details/edit/billing.tsx
16732
- var import_apsara81 = require("@raystack/apsara");
16740
+ var import_apsara80 = require("@raystack/apsara");
16733
16741
 
16734
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-kj2j59v0MQ6E/sdk/admin/views/organizations/details/edit/edit.module.css.js
16735
- var digest56 = "ee4ad3d3df74c22e1dee1f77c65f128335368b182722f5b8313aaebffd48cde5";
16742
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-yA8vLCiYrVma/sdk/admin/views/organizations/details/edit/edit.module.css.js
16743
+ var digest56 = "8400392aba527106938372270aef676af285f0669ea79ffa299e8c17da559c68";
16736
16744
  var css56 = `._drawer-content_1o0os_1 {
16737
16745
  min-width: 500px;
16738
16746
  padding: 0;
@@ -16866,7 +16874,7 @@ function EditBillingPanel({ onClose }) {
16866
16874
  import_frontier34.AdminServiceQueries.updateBillingAccountDetails,
16867
16875
  {
16868
16876
  onError: (error) => {
16869
- import_apsara81.toast.error("Something went wrong", {
16877
+ import_apsara80.toast.error("Something went wrong", {
16870
16878
  description: error.message
16871
16879
  });
16872
16880
  console.error("Unable to update billing details:", error);
@@ -16887,9 +16895,9 @@ function EditBillingPanel({ onClose }) {
16887
16895
  })
16888
16896
  );
16889
16897
  fetchBillingAccountDetails();
16890
- import_apsara81.toast.success("Billing details updated");
16898
+ import_apsara80.toast.success("Billing details updated");
16891
16899
  } catch (error) {
16892
- import_apsara81.toast.error("Something went wrong", {
16900
+ import_apsara80.toast.error("Something went wrong", {
16893
16901
  description: "Failed to update billing details"
16894
16902
  });
16895
16903
  console.error("Failed to update billing details:", error);
@@ -16908,19 +16916,19 @@ function EditBillingPanel({ onClose }) {
16908
16916
  }, [setValue]);
16909
16917
  const tokenPaymentType = watch("tokenPaymentType");
16910
16918
  const isPrepaid = tokenPaymentType === "prepaid";
16911
- return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_apsara81.Sheet, { open: true, children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_apsara81.Sheet.Content, { className: edit_module_css_default3["drawer-content"], children: /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(
16912
- import_apsara81.SidePanel,
16919
+ return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_apsara80.Sheet, { open: true, children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_apsara80.Sheet.Content, { className: edit_module_css_default3["drawer-content"], children: /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(
16920
+ import_apsara80.SidePanel,
16913
16921
  {
16914
16922
  "data-test-id": "edit-billing-panel",
16915
16923
  className: edit_module_css_default3["side-panel"],
16916
16924
  children: [
16917
16925
  /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
16918
- import_apsara81.SidePanel.Header,
16926
+ import_apsara80.SidePanel.Header,
16919
16927
  {
16920
16928
  title: "Edit billing",
16921
16929
  actions: [
16922
16930
  /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
16923
- import_apsara81.IconButton,
16931
+ import_apsara80.IconButton,
16924
16932
  {
16925
16933
  "data-test-id": "close-billing-panel-icon",
16926
16934
  onClick: onClose,
@@ -16938,31 +16946,31 @@ function EditBillingPanel({ onClose }) {
16938
16946
  className: edit_module_css_default3["side-panel-form"],
16939
16947
  children: [
16940
16948
  /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(
16941
- import_apsara81.Flex,
16949
+ import_apsara80.Flex,
16942
16950
  {
16943
16951
  direction: "column",
16944
16952
  gap: 5,
16945
16953
  className: edit_module_css_default3["side-panel-content"],
16946
16954
  children: [
16947
- isLoading ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Skeleton, { height: "32px" }) : /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_apsara81.Flex, { direction: "column", gap: 2, children: [
16948
- /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_apsara81.Text, { variant: "secondary", weight: "medium", size: "mini", children: "Token payment type" }),
16955
+ isLoading ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Skeleton, { height: "32px" }) : /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_apsara80.Flex, { direction: "column", gap: 2, children: [
16956
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_apsara80.Text, { variant: "secondary", weight: "medium", size: "mini", children: "Token payment type" }),
16949
16957
  /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(
16950
- import_apsara81.Select,
16958
+ import_apsara80.Select,
16951
16959
  {
16952
16960
  value: tokenPaymentType,
16953
16961
  onValueChange,
16954
16962
  children: [
16955
- /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_apsara81.Select.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_apsara81.Select.Value, {}) }),
16956
- /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_apsara81.Select.Content, { children: [
16957
- /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_apsara81.Select.Item, { value: "prepaid", children: "Prepaid" }),
16958
- /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_apsara81.Select.Item, { value: "postpaid", children: "Postpaid" })
16963
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_apsara80.Select.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_apsara80.Select.Value, {}) }),
16964
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_apsara80.Select.Content, { children: [
16965
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_apsara80.Select.Item, { value: "prepaid", children: "Prepaid" }),
16966
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_apsara80.Select.Item, { value: "postpaid", children: "Postpaid" })
16959
16967
  ] })
16960
16968
  ]
16961
16969
  }
16962
16970
  )
16963
16971
  ] }),
16964
16972
  isLoading ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Skeleton, { height: "32px" }) : /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
16965
- import_apsara81.InputField,
16973
+ import_apsara80.InputField,
16966
16974
  {
16967
16975
  disabled: isPrepaid,
16968
16976
  label: "Credit limit",
@@ -16972,7 +16980,7 @@ function EditBillingPanel({ onClose }) {
16972
16980
  }
16973
16981
  ),
16974
16982
  isLoading ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Skeleton, { height: "32px" }) : /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
16975
- import_apsara81.InputField,
16983
+ import_apsara80.InputField,
16976
16984
  {
16977
16985
  disabled: isPrepaid,
16978
16986
  label: "Billing due date",
@@ -16985,9 +16993,9 @@ function EditBillingPanel({ onClose }) {
16985
16993
  ]
16986
16994
  }
16987
16995
  ),
16988
- /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_apsara81.Flex, { className: edit_module_css_default3["side-panel-footer"], gap: 3, children: [
16996
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_apsara80.Flex, { className: edit_module_css_default3["side-panel-footer"], gap: 3, children: [
16989
16997
  /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
16990
- import_apsara81.Button,
16998
+ import_apsara80.Button,
16991
16999
  {
16992
17000
  variant: "outline",
16993
17001
  color: "neutral",
@@ -16997,7 +17005,7 @@ function EditBillingPanel({ onClose }) {
16997
17005
  }
16998
17006
  ),
16999
17007
  /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
17000
- import_apsara81.Button,
17008
+ import_apsara80.Button,
17001
17009
  {
17002
17010
  "data-test-id": "save-update-billing-details-button",
17003
17011
  type: "submit",
@@ -17054,7 +17062,7 @@ var OrganizationDetailsLayout = ({
17054
17062
  setShowEditBillingPanel(false);
17055
17063
  }
17056
17064
  const title = `${organization?.title} | Organizations`;
17057
- return isLoading ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_apsara82.Flex, { align: "center", justify: "center", style: { minHeight: "200px", width: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_apsara82.Spinner, { size: 6 }) }) : organization ? /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_apsara82.Flex, { direction: "column", className: layout_module_css_default5.page, children: [
17065
+ return isLoading ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_apsara81.Flex, { align: "center", justify: "center", style: { minHeight: "200px", width: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_apsara81.Spinner, { size: 6 }) }) : organization ? /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_apsara81.Flex, { direction: "column", className: layout_module_css_default5.page, children: [
17058
17066
  /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(PageTitle, { title }),
17059
17067
  /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
17060
17068
  OrganizationsDetailsNavabar,
@@ -17071,9 +17079,9 @@ var OrganizationDetailsLayout = ({
17071
17079
  onNavigate
17072
17080
  }
17073
17081
  ),
17074
- /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_apsara82.Flex, { justify: "between", style: { height: "100%" }, children: [
17082
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_apsara81.Flex, { justify: "between", style: { height: "100%" }, children: [
17075
17083
  /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
17076
- import_apsara82.Flex,
17084
+ import_apsara81.Flex,
17077
17085
  {
17078
17086
  className: showSidePanel ? layout_module_css_default5["main_content_with_sidepanel"] : layout_module_css_default5["main_content"],
17079
17087
  children
@@ -17085,7 +17093,7 @@ var OrganizationDetailsLayout = ({
17085
17093
  showEditBillingPanel ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(EditBillingPanel, { onClose: closeEditBillingPanel }) : null
17086
17094
  ] })
17087
17095
  ] }) : /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(
17088
- import_apsara82.Flex,
17096
+ import_apsara81.Flex,
17089
17097
  {
17090
17098
  style: { height: "100vh", width: "100%" },
17091
17099
  align: "center",
@@ -17093,7 +17101,7 @@ var OrganizationDetailsLayout = ({
17093
17101
  children: [
17094
17102
  /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(PageTitle, { title: "Organization not found" }),
17095
17103
  /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
17096
- import_apsara82.EmptyState,
17104
+ import_apsara81.EmptyState,
17097
17105
  {
17098
17106
  icon: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_icons6.OrganizationIcon, {}),
17099
17107
  heading: "Organization not found",
@@ -17349,10 +17357,10 @@ var OrganizationDetailsView = ({
17349
17357
  };
17350
17358
 
17351
17359
  // admin/views/organizations/details/security/index.tsx
17352
- var import_apsara85 = require("@raystack/apsara");
17360
+ var import_apsara84 = require("@raystack/apsara");
17353
17361
 
17354
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-YcH9lmVxs6D1/sdk/admin/views/organizations/details/security/security.module.css.js
17355
- var digest57 = "d8f507ffcc800660e8ebc6b3deca78954c89d57a5b57f50231044f194c23d09e";
17362
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-2ZLynUOmRZTz/sdk/admin/views/organizations/details/security/security.module.css.js
17363
+ var digest57 = "b96eecf0b10e3ec3d233baddacc9ea4660c58bf8c853c001c788f782e22d1f1d";
17356
17364
  var css57 = `._container_1wkae_1 {
17357
17365
  width: 100%;
17358
17366
  }
@@ -17396,7 +17404,7 @@ var security_module_css_default2 = { "container": "_container_1wkae_1", "content
17396
17404
  var import_react55 = require("react");
17397
17405
 
17398
17406
  // admin/views/organizations/details/security/block-organization.tsx
17399
- var import_apsara83 = require("@raystack/apsara");
17407
+ var import_apsara82 = require("@raystack/apsara");
17400
17408
  var import_react53 = require("react");
17401
17409
  var import_connect_query32 = require("@connectrpc/connect-query");
17402
17410
  var import_frontier36 = require("@raystack/proton/frontier");
@@ -17421,10 +17429,10 @@ var BlockOrganizationDialog = () => {
17421
17429
  })
17422
17430
  });
17423
17431
  setIsDialogOpen(false);
17424
- import_apsara83.toast.success("Organization blocked");
17432
+ import_apsara82.toast.success("Organization blocked");
17425
17433
  },
17426
17434
  onError: (error) => {
17427
- import_apsara83.toast.error("Something went wrong", {
17435
+ import_apsara82.toast.error("Something went wrong", {
17428
17436
  description: error.message
17429
17437
  });
17430
17438
  console.error("Failed to block organization:", error);
@@ -17444,10 +17452,10 @@ var BlockOrganizationDialog = () => {
17444
17452
  })
17445
17453
  });
17446
17454
  setIsDialogOpen(false);
17447
- import_apsara83.toast.success("Organization unblocked");
17455
+ import_apsara82.toast.success("Organization unblocked");
17448
17456
  },
17449
17457
  onError: (error) => {
17450
- import_apsara83.toast.error("Something went wrong", {
17458
+ import_apsara82.toast.error("Something went wrong", {
17451
17459
  description: error.message
17452
17460
  });
17453
17461
  console.error("Failed to unblock organization:", error);
@@ -17491,9 +17499,9 @@ var BlockOrganizationDialog = () => {
17491
17499
  dialogCancelText: "Cancel",
17492
17500
  dialogConfirmLoadingText: "Unblocking..."
17493
17501
  };
17494
- return /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(import_apsara83.Dialog, { open: isDialogOpen, onOpenChange, children: [
17495
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_apsara83.Dialog.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
17496
- import_apsara83.Button,
17502
+ return /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(import_apsara82.Dialog, { open: isDialogOpen, onOpenChange, children: [
17503
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_apsara82.Dialog.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
17504
+ import_apsara82.Button,
17497
17505
  {
17498
17506
  color: componentConfig.btnColor,
17499
17507
  size: "small",
@@ -17501,14 +17509,14 @@ var BlockOrganizationDialog = () => {
17501
17509
  children: componentConfig.btnText
17502
17510
  }
17503
17511
  ) }),
17504
- /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(import_apsara83.Dialog.Content, { width: 400, ariaLabel: "Block Organization", children: [
17505
- /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(import_apsara83.Dialog.Body, { children: [
17506
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_apsara83.Dialog.Title, { children: componentConfig.dialogTitle }),
17507
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_apsara83.Dialog.Description, { children: componentConfig.dialogDescription })
17512
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(import_apsara82.Dialog.Content, { width: 400, ariaLabel: "Block Organization", children: [
17513
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(import_apsara82.Dialog.Body, { children: [
17514
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_apsara82.Dialog.Title, { children: componentConfig.dialogTitle }),
17515
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_apsara82.Dialog.Description, { children: componentConfig.dialogDescription })
17508
17516
  ] }),
17509
- /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(import_apsara83.Dialog.Footer, { children: [
17510
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_apsara83.Dialog.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
17511
- import_apsara83.Button,
17517
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(import_apsara82.Dialog.Footer, { children: [
17518
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_apsara82.Dialog.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
17519
+ import_apsara82.Button,
17512
17520
  {
17513
17521
  color: "neutral",
17514
17522
  variant: "outline",
@@ -17517,7 +17525,7 @@ var BlockOrganizationDialog = () => {
17517
17525
  }
17518
17526
  ) }),
17519
17527
  /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
17520
- import_apsara83.Button,
17528
+ import_apsara82.Button,
17521
17529
  {
17522
17530
  color: componentConfig.btnColor,
17523
17531
  "data-test-id": "block-organization-submit-button",
@@ -17532,20 +17540,20 @@ var BlockOrganizationDialog = () => {
17532
17540
  ] });
17533
17541
  };
17534
17542
  var BlockOrganizationSection = () => {
17535
- return /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(import_apsara83.Flex, { gap: 5, justify: "between", children: [
17536
- /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(import_apsara83.Flex, { direction: "column", gap: 3, children: [
17537
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_apsara83.Text, { size: 5, children: "Block organization" }),
17538
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_apsara83.Text, { size: 3, variant: "secondary", children: "Restrict access to safeguard platform integrity and prevent unauthorized activities." })
17543
+ return /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(import_apsara82.Flex, { gap: 5, justify: "between", children: [
17544
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(import_apsara82.Flex, { direction: "column", gap: 3, children: [
17545
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_apsara82.Text, { size: 5, children: "Block organization" }),
17546
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_apsara82.Text, { size: 3, variant: "secondary", children: "Restrict access to safeguard platform integrity and prevent unauthorized activities." })
17539
17547
  ] }),
17540
17548
  /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(BlockOrganizationDialog, {})
17541
17549
  ] });
17542
17550
  };
17543
17551
 
17544
17552
  // admin/views/organizations/details/security/domains-list.tsx
17545
- var import_apsara84 = require("@raystack/apsara");
17553
+ var import_apsara83 = require("@raystack/apsara");
17546
17554
 
17547
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-uL91Z810UIWa/sdk/admin/views/organizations/details/security/security.module.css.js
17548
- var digest58 = "9ade5727a37ca7b7cc44ca49a9109c55fb54c08544b72f7cf8a0874e397179c3";
17555
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-no1C0iwTHCBh/sdk/admin/views/organizations/details/security/security.module.css.js
17556
+ var digest58 = "4bc6c40c0a719bbd434c2f9096f06b67d92f8dbaa93966aa4c4d1271575e2ec6";
17549
17557
  var css58 = `._container_1wkae_1 {
17550
17558
  width: 100%;
17551
17559
  }
@@ -17612,10 +17620,10 @@ var DeleteDomainDialog = ({
17612
17620
  })
17613
17621
  });
17614
17622
  setIsDialogOpen(false);
17615
- import_apsara84.toast.success("Domain deleted");
17623
+ import_apsara83.toast.success("Domain deleted");
17616
17624
  },
17617
17625
  onError: (error) => {
17618
- import_apsara84.toast.error("Something went wrong", {
17626
+ import_apsara83.toast.error("Something went wrong", {
17619
17627
  description: error.message
17620
17628
  });
17621
17629
  console.error("Unable to delete domain:", error);
@@ -17633,16 +17641,16 @@ var DeleteDomainDialog = ({
17633
17641
  const onOpenChange = (value) => {
17634
17642
  setIsDialogOpen(value);
17635
17643
  };
17636
- return /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(import_apsara84.Dialog, { open: isDialogOpen, onOpenChange, children: [
17637
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_apsara84.Dialog.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_apsara84.IconButton, { size: 3, "data-test-id": "delete-domain-button", children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(TrashIcon, {}) }) }),
17638
- /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(import_apsara84.Dialog.Content, { width: 400, children: [
17639
- /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(import_apsara84.Dialog.Body, { children: [
17640
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_apsara84.Dialog.Title, { children: "Delete email domain" }),
17641
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_apsara84.Dialog.Description, { children: "Are you sure you want to delete this email domain?" })
17644
+ return /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(import_apsara83.Dialog, { open: isDialogOpen, onOpenChange, children: [
17645
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_apsara83.Dialog.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_apsara83.IconButton, { size: 3, "data-test-id": "delete-domain-button", children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(TrashIcon, {}) }) }),
17646
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(import_apsara83.Dialog.Content, { width: 400, children: [
17647
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(import_apsara83.Dialog.Body, { children: [
17648
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_apsara83.Dialog.Title, { children: "Delete email domain" }),
17649
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_apsara83.Dialog.Description, { children: "Are you sure you want to delete this email domain?" })
17642
17650
  ] }),
17643
- /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(import_apsara84.Dialog.Footer, { children: [
17644
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_apsara84.Dialog.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
17645
- import_apsara84.Button,
17651
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(import_apsara83.Dialog.Footer, { children: [
17652
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_apsara83.Dialog.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
17653
+ import_apsara83.Button,
17646
17654
  {
17647
17655
  color: "neutral",
17648
17656
  variant: "outline",
@@ -17651,7 +17659,7 @@ var DeleteDomainDialog = ({
17651
17659
  }
17652
17660
  ) }),
17653
17661
  /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
17654
- import_apsara84.Button,
17662
+ import_apsara83.Button,
17655
17663
  {
17656
17664
  color: "danger",
17657
17665
  "data-test-id": "delete-domain-submit-button",
@@ -17666,9 +17674,9 @@ var DeleteDomainDialog = ({
17666
17674
  ] });
17667
17675
  };
17668
17676
  var DomainItem = ({ domain }) => {
17669
- return /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(import_apsara84.Flex, { className: security_module_css_default3["domains-list-item"], justify: "between", children: [
17670
- /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(import_apsara84.Flex, { gap: 3, children: [
17671
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_apsara84.Text, { size: 3, children: domain?.name }),
17677
+ return /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(import_apsara83.Flex, { className: security_module_css_default3["domains-list-item"], justify: "between", children: [
17678
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(import_apsara83.Flex, { gap: 3, children: [
17679
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_apsara83.Text, { size: 3, children: domain?.name }),
17672
17680
  domain.state === "verified" ? /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
17673
17681
  CheckCircledIcon,
17674
17682
  {
@@ -17683,14 +17691,14 @@ var DomainsList = ({
17683
17691
  isLoading,
17684
17692
  domains = []
17685
17693
  }) => {
17686
- return isLoading ? /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_apsara84.Flex, { direction: "column", className: security_module_css_default3["domains-list"], children: [...Array(3)].map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
17694
+ return isLoading ? /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_apsara83.Flex, { direction: "column", className: security_module_css_default3["domains-list"], children: [...Array(3)].map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
17687
17695
  Skeleton,
17688
17696
  {
17689
17697
  height: 20,
17690
17698
  style: { margin: "var(--rs-space-5) 0" }
17691
17699
  },
17692
17700
  index
17693
- )) }) : domains.length ? /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_apsara84.Flex, { direction: "column", className: security_module_css_default3["domains-list"], children: domains.map((domain) => /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
17701
+ )) }) : domains.length ? /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_apsara83.Flex, { direction: "column", className: security_module_css_default3["domains-list"], children: domains.map((domain) => /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
17694
17702
  DomainItem,
17695
17703
  {
17696
17704
  domain
@@ -17706,13 +17714,13 @@ var import_protobuf22 = require("@bufbuild/protobuf");
17706
17714
  var import_react56 = require("react");
17707
17715
  var import_jsx_runtime90 = require("react/jsx-runtime");
17708
17716
  var AddDomainSection = () => {
17709
- return /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(import_apsara85.Flex, { gap: 5, justify: "between", children: [
17710
- /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(import_apsara85.Flex, { direction: "column", gap: 3, children: [
17711
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_apsara85.Text, { size: 5, children: "Allowed email domains" }),
17712
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_apsara85.Text, { size: 3, variant: "secondary", children: "Anyone with an email address at these domains is allowed to sign up for this workspace." })
17717
+ return /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(import_apsara84.Flex, { gap: 5, justify: "between", children: [
17718
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(import_apsara84.Flex, { direction: "column", gap: 3, children: [
17719
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_apsara84.Text, { size: 5, children: "Allowed email domains" }),
17720
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_apsara84.Text, { size: 3, variant: "secondary", children: "Anyone with an email address at these domains is allowed to sign up for this workspace." })
17713
17721
  ] }),
17714
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_apsara85.Tooltip, { message: "Coming soon", children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
17715
- import_apsara85.Button,
17722
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_apsara84.Tooltip, { message: "Coming soon", children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
17723
+ import_apsara84.Button,
17716
17724
  {
17717
17725
  variant: "outline",
17718
17726
  color: "neutral",
@@ -17739,16 +17747,16 @@ var OrganizationSecurity = () => {
17739
17747
  );
17740
17748
  (0, import_react56.useEffect)(() => {
17741
17749
  if (error) {
17742
- import_apsara85.toast.error("Something went wrong", {
17750
+ import_apsara84.toast.error("Something went wrong", {
17743
17751
  description: "Unable to fetch domains"
17744
17752
  });
17745
17753
  console.error("Unable to fetch domains:", error);
17746
17754
  }
17747
17755
  }, [error]);
17748
17756
  const title = `Security | ${organization?.title} | Organizations`;
17749
- return /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(import_apsara85.Flex, { justify: "center", className: security_module_css_default2["container"], children: [
17757
+ return /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(import_apsara84.Flex, { justify: "center", className: security_module_css_default2["container"], children: [
17750
17758
  /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(PageTitle, { title }),
17751
- /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(import_apsara85.Flex, { className: security_module_css_default2["content"], direction: "column", gap: 9, children: [
17759
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(import_apsara84.Flex, { className: security_module_css_default2["content"], direction: "column", gap: 9, children: [
17752
17760
  /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(AddDomainSection, {}),
17753
17761
  /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
17754
17762
  DomainsList,
@@ -17757,17 +17765,17 @@ var OrganizationSecurity = () => {
17757
17765
  domains: domains ?? []
17758
17766
  }
17759
17767
  ),
17760
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_apsara85.Separator, {}),
17768
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_apsara84.Separator, {}),
17761
17769
  /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(BlockOrganizationSection, {})
17762
17770
  ] })
17763
17771
  ] });
17764
17772
  };
17765
17773
 
17766
17774
  // admin/views/organizations/details/members/index.tsx
17767
- var import_apsara88 = require("@raystack/apsara");
17775
+ var import_apsara87 = require("@raystack/apsara");
17768
17776
 
17769
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-F6hmR2qNytct/sdk/admin/views/organizations/details/members/members.module.css.js
17770
- var digest59 = "6df258e8d80d8cbba5b2bf73c083eec4a499ff1e6c86f1f89ba51099910c7648";
17777
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-NCpNsw9XTPea/sdk/admin/views/organizations/details/members/members.module.css.js
17778
+ var digest59 = "e2dd0842d58360eacc1b535b3964e3d2d2f75d7af7076a8abde4dfb7a46d0464";
17771
17779
  var css59 = `._container_6bi1j_1 {
17772
17780
  width: 100%;
17773
17781
  }
@@ -17822,10 +17830,10 @@ var members_module_css_default = { "container": "_container_6bi1j_1", "name-colu
17822
17830
  var import_react58 = require("react");
17823
17831
 
17824
17832
  // admin/views/organizations/details/members/columns.tsx
17825
- var import_apsara86 = require("@raystack/apsara");
17833
+ var import_apsara85 = require("@raystack/apsara");
17826
17834
 
17827
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-TeED94OJAA8R/sdk/admin/views/organizations/details/members/members.module.css.js
17828
- var digest60 = "2cce26a0f2186f1a3e802c4c04128ca712cbe6091d0e21c4ac85ed8bf5c0b799";
17835
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-p2vAkvmlAGJZ/sdk/admin/views/organizations/details/members/members.module.css.js
17836
+ var digest60 = "63446b5948f9ecfbd42f3b02076ee7bafa9c38083ee74d2954c78021712cff57";
17829
17837
  var css60 = `._container_6bi1j_1 {
17830
17838
  width: 100%;
17831
17839
  }
@@ -17906,17 +17914,17 @@ var getColumns12 = ({
17906
17914
  },
17907
17915
  cell: ({ row }) => {
17908
17916
  const nameInitial = row.original.title?.[0] || row?.original?.email?.[0];
17909
- const avatarColor = (0, import_apsara86.getAvatarColor)(row?.original?.id || "");
17910
- return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(import_apsara86.Flex, { gap: 4, align: "center", children: [
17917
+ const avatarColor = (0, import_apsara85.getAvatarColor)(row?.original?.id || "");
17918
+ return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(import_apsara85.Flex, { gap: 4, align: "center", children: [
17911
17919
  /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
17912
- import_apsara86.Avatar,
17920
+ import_apsara85.Avatar,
17913
17921
  {
17914
17922
  src: row.original.avatar,
17915
17923
  fallback: nameInitial,
17916
17924
  color: avatarColor
17917
17925
  }
17918
17926
  ),
17919
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_apsara86.Text, { children: row.original.title || "-" })
17927
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_apsara85.Text, { children: row.original.title || "-" })
17920
17928
  ] });
17921
17929
  },
17922
17930
  enableColumnFilter: true,
@@ -17964,7 +17972,7 @@ var getColumns12 = ({
17964
17972
  cell: ({ getValue }) => {
17965
17973
  const value = getValue();
17966
17974
  const date = isNullTimestamp(value) ? "-" : (0, import_dayjs12.default)(timestampToDate(value)).format("YYYY-MM-DD");
17967
- return /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_apsara86.Text, { children: date });
17975
+ return /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_apsara85.Text, { children: date });
17968
17976
  },
17969
17977
  enableSorting: true,
17970
17978
  enableHiding: true
@@ -17979,11 +17987,11 @@ var getColumns12 = ({
17979
17987
  cell: members_module_css_default2["table-action-column"]
17980
17988
  },
17981
17989
  cell: ({ row }) => {
17982
- return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(import_apsara86.DropdownMenu, { children: [
17983
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_apsara86.DropdownMenu.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(DotsHorizontalIcon, {}) }),
17984
- /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(import_apsara86.DropdownMenu.Content, { className: members_module_css_default2["table-action-dropdown"], children: [
17990
+ return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(import_apsara85.DropdownMenu, { children: [
17991
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_apsara85.DropdownMenu.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(DotsHorizontalIcon, {}) }),
17992
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(import_apsara85.DropdownMenu.Content, { className: members_module_css_default2["table-action-dropdown"], children: [
17985
17993
  /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
17986
- import_apsara86.DropdownMenu.Item,
17994
+ import_apsara85.DropdownMenu.Item,
17987
17995
  {
17988
17996
  onClick: () => handleAssignRoleAction(row.original),
17989
17997
  "data-test-id": "admin-assign-role-action",
@@ -17991,7 +17999,7 @@ var getColumns12 = ({
17991
17999
  }
17992
18000
  ),
17993
18001
  /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
17994
- import_apsara86.DropdownMenu.Item,
18002
+ import_apsara85.DropdownMenu.Item,
17995
18003
  {
17996
18004
  onClick: () => handleRemoveMemberAction(row.original),
17997
18005
  "data-test-id": "admin-remove-member-action",
@@ -18014,7 +18022,7 @@ var import_react_query15 = require("@tanstack/react-query");
18014
18022
  var import_frontier39 = require("@raystack/proton/frontier");
18015
18023
  var import_protobuf23 = require("@bufbuild/protobuf");
18016
18024
  var import_connect_query35 = require("@connectrpc/connect-query");
18017
- var import_apsara87 = require("@raystack/apsara");
18025
+ var import_apsara86 = require("@raystack/apsara");
18018
18026
  var import_connect2 = require("@connectrpc/connect");
18019
18027
  var import_jsx_runtime92 = require("react/jsx-runtime");
18020
18028
  var RemoveMember = ({
@@ -18039,25 +18047,25 @@ var RemoveMember = ({
18039
18047
  if (onRemove) {
18040
18048
  onRemove(user);
18041
18049
  }
18042
- import_apsara87.toast.success("Member removed successfully");
18050
+ import_apsara86.toast.success("Member removed successfully");
18043
18051
  } catch (error) {
18044
18052
  const message = error instanceof import_connect2.ConnectError ? error.message : "Unknown error";
18045
- import_apsara87.toast.error(`Failed to remove member: ${message}`);
18053
+ import_apsara86.toast.error(`Failed to remove member: ${message}`);
18046
18054
  console.error(error);
18047
18055
  }
18048
18056
  }
18049
- return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_apsara87.Dialog, { open: true, onOpenChange: onClose, children: /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(import_apsara87.Dialog.Content, { width: 400, children: [
18050
- /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(import_apsara87.Dialog.Header, { children: [
18051
- /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_apsara87.Dialog.Title, { children: "Remove Member" }),
18052
- /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_apsara87.Dialog.CloseButton, { "data-test-id": "remove-member-close-button" })
18057
+ return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_apsara86.Dialog, { open: true, onOpenChange: onClose, children: /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(import_apsara86.Dialog.Content, { width: 400, children: [
18058
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(import_apsara86.Dialog.Header, { children: [
18059
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_apsara86.Dialog.Title, { children: "Remove Member" }),
18060
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_apsara86.Dialog.CloseButton, { "data-test-id": "remove-member-close-button" })
18053
18061
  ] }),
18054
- /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_apsara87.Dialog.Body, { children: /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(import_apsara87.Flex, { direction: "column", gap: 7, children: [
18055
- /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_apsara87.Text, { variant: "secondary", children: "Removing this member will revoke all their access to the organization. This action cannot be undone. The member will lose all assigned roles and permissions immediately." }),
18056
- /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_apsara87.Text, { variant: "secondary", children: "Are you sure you want to remove this member?" })
18062
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_apsara86.Dialog.Body, { children: /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(import_apsara86.Flex, { direction: "column", gap: 7, children: [
18063
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_apsara86.Text, { variant: "secondary", children: "Removing this member will revoke all their access to the organization. This action cannot be undone. The member will lose all assigned roles and permissions immediately." }),
18064
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_apsara86.Text, { variant: "secondary", children: "Are you sure you want to remove this member?" })
18057
18065
  ] }) }),
18058
- /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(import_apsara87.Dialog.Footer, { children: [
18059
- /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_apsara87.Dialog.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
18060
- import_apsara87.Button,
18066
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(import_apsara86.Dialog.Footer, { children: [
18067
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_apsara86.Dialog.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
18068
+ import_apsara86.Button,
18061
18069
  {
18062
18070
  type: "button",
18063
18071
  variant: "outline",
@@ -18067,7 +18075,7 @@ var RemoveMember = ({
18067
18075
  }
18068
18076
  ) }),
18069
18077
  /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
18070
- import_apsara87.Button,
18078
+ import_apsara86.Button,
18071
18079
  {
18072
18080
  type: "submit",
18073
18081
  "data-test-id": "remove-member-submit-button",
@@ -18142,7 +18150,7 @@ function useDebounceValue(initialValue, delay, options) {
18142
18150
 
18143
18151
  // admin/views/organizations/details/members/index.tsx
18144
18152
  var import_jsx_runtime93 = require("react/jsx-runtime");
18145
- var DEFAULT_SORT5 = { name: "org_joined_at", order: "desc" };
18153
+ var DEFAULT_SORT5 = { name: "orgJoinedAt", order: "desc" };
18146
18154
  var INITIAL_QUERY5 = {
18147
18155
  offset: 0,
18148
18156
  limit: DEFAULT_PAGE_SIZE
@@ -18157,7 +18165,7 @@ var TRANSFORM_OPTIONS2 = {
18157
18165
  };
18158
18166
  var NoMembers = () => {
18159
18167
  return /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
18160
- import_apsara88.EmptyState,
18168
+ import_apsara87.EmptyState,
18161
18169
  {
18162
18170
  classNames: {
18163
18171
  container: members_module_css_default["empty-state"],
@@ -18171,7 +18179,7 @@ var NoMembers = () => {
18171
18179
  };
18172
18180
  var ErrorState = () => {
18173
18181
  return /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
18174
- import_apsara88.EmptyState,
18182
+ import_apsara87.EmptyState,
18175
18183
  {
18176
18184
  classNames: {
18177
18185
  container: members_module_css_default["empty-state"],
@@ -18297,10 +18305,10 @@ function OrganizationMembersView() {
18297
18305
  onClose: closeRemoveMemberDialog
18298
18306
  }
18299
18307
  ) : null,
18300
- /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(import_apsara88.Flex, { justify: "center", className: members_module_css_default["container"], children: [
18308
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(import_apsara87.Flex, { justify: "center", className: members_module_css_default["container"], children: [
18301
18309
  /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(PageTitle, { title }),
18302
18310
  /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
18303
- import_apsara88.DataTable,
18311
+ import_apsara87.DataTable,
18304
18312
  {
18305
18313
  columns,
18306
18314
  data,
@@ -18310,10 +18318,10 @@ function OrganizationMembersView() {
18310
18318
  onTableQueryChange,
18311
18319
  onLoadMore: fetchMore,
18312
18320
  query: tableQuery,
18313
- children: /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(import_apsara88.Flex, { direction: "column", style: { width: "100%" }, children: [
18314
- /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_apsara88.DataTable.Toolbar, {}),
18321
+ children: /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(import_apsara87.Flex, { direction: "column", style: { width: "100%" }, children: [
18322
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_apsara87.DataTable.Toolbar, {}),
18315
18323
  /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
18316
- import_apsara88.DataTable.Content,
18324
+ import_apsara87.DataTable.Content,
18317
18325
  {
18318
18326
  emptyState: isError ? /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(ErrorState, {}) : /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(NoMembers, {}),
18319
18327
  classNames: {
@@ -18331,10 +18339,10 @@ function OrganizationMembersView() {
18331
18339
  }
18332
18340
 
18333
18341
  // admin/views/organizations/details/projects/index.tsx
18334
- var import_apsara97 = require("@raystack/apsara");
18342
+ var import_apsara96 = require("@raystack/apsara");
18335
18343
 
18336
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-KwmJH3Qvu3Wj/sdk/admin/views/organizations/details/projects/projects.module.css.js
18337
- var digest61 = "631b51462bd04a463f1df1799aee5cdb6998a2b89d71d149bc8c69d6c143f936";
18344
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-QjJ0boWVG7K7/sdk/admin/views/organizations/details/projects/projects.module.css.js
18345
+ var digest61 = "b38d373bdf4a7553fe9b65814cd5c2ade123ae4dbe0d6504bb0dff592df2f237";
18338
18346
  var css61 = `._container_1rf4u_1 {
18339
18347
  width: 100%;
18340
18348
  }
@@ -18394,10 +18402,10 @@ var projects_module_css_default = { "container": "_container_1rf4u_1", "title-co
18394
18402
  var import_react64 = require("react");
18395
18403
 
18396
18404
  // admin/views/organizations/details/projects/columns.tsx
18397
- var import_apsara91 = require("@raystack/apsara");
18405
+ var import_apsara90 = require("@raystack/apsara");
18398
18406
 
18399
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-mXwxb5KoAimg/sdk/admin/views/organizations/details/projects/projects.module.css.js
18400
- var digest62 = "87752a9e26376ef705cd094e8620e34a45c5fc489a90e9e2cceec3503abc2c69";
18407
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-6RS6tp1RF0zH/sdk/admin/views/organizations/details/projects/projects.module.css.js
18408
+ var digest62 = "d6d699dbcb5ee81cdfc932bf80a36c139705d95e8e9fcb2165857333d8ecbb98";
18401
18409
  var css62 = `._container_1rf4u_1 {
18402
18410
  width: 100%;
18403
18411
  }
@@ -18457,7 +18465,7 @@ var projects_module_css_default2 = { "container": "_container_1rf4u_1", "title-c
18457
18465
  var import_dayjs13 = __toESM(require("dayjs"));
18458
18466
 
18459
18467
  // admin/views/organizations/details/projects/rename-project.tsx
18460
- var import_apsara89 = require("@raystack/apsara");
18468
+ var import_apsara88 = require("@raystack/apsara");
18461
18469
  var import_frontier41 = require("@raystack/proton/frontier");
18462
18470
  var import_protobuf24 = require("@bufbuild/protobuf");
18463
18471
  var import_zod17 = require("@hookform/resolvers/zod");
@@ -18502,7 +18510,7 @@ function RenameProjectDialog({
18502
18510
  );
18503
18511
  const newProject = resp.project;
18504
18512
  if (newProject) {
18505
- import_apsara89.toast.success("Project renamed successfully");
18513
+ import_apsara88.toast.success("Project renamed successfully");
18506
18514
  onRename({
18507
18515
  ...project,
18508
18516
  title: newProject.title,
@@ -18510,28 +18518,28 @@ function RenameProjectDialog({
18510
18518
  });
18511
18519
  }
18512
18520
  } catch (error) {
18513
- import_apsara89.toast.error("Failed to rename project");
18521
+ import_apsara88.toast.error("Failed to rename project");
18514
18522
  console.error(error);
18515
18523
  }
18516
18524
  };
18517
- return /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_apsara89.Dialog, { open: true, onOpenChange: onClose, children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
18518
- import_apsara89.Dialog.Content,
18525
+ return /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_apsara88.Dialog, { open: true, onOpenChange: onClose, children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
18526
+ import_apsara88.Dialog.Content,
18519
18527
  {
18520
18528
  width: 400,
18521
18529
  onClick: preventClickPropagation,
18522
18530
  "data-test-id": "rename-project-dialog",
18523
18531
  children: /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("form", { onSubmit: handleSubmit(submit), children: [
18524
- /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(import_apsara89.Dialog.Header, { children: [
18525
- /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_apsara89.Dialog.Title, { children: "Rename Project" }),
18526
- /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_apsara89.Dialog.CloseButton, { "data-test-id": "rename-project-close-button" })
18532
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(import_apsara88.Dialog.Header, { children: [
18533
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_apsara88.Dialog.Title, { children: "Rename Project" }),
18534
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_apsara88.Dialog.CloseButton, { "data-test-id": "rename-project-close-button" })
18527
18535
  ] }),
18528
- /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_apsara89.Dialog.Body, { children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_apsara89.Flex, { direction: "column", gap: 5, children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
18536
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_apsara88.Dialog.Body, { children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_apsara88.Flex, { direction: "column", gap: 5, children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
18529
18537
  import_react_hook_form12.Controller,
18530
18538
  {
18531
18539
  name: "title",
18532
18540
  control,
18533
18541
  render: ({ field }) => /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
18534
- import_apsara89.InputField,
18542
+ import_apsara88.InputField,
18535
18543
  {
18536
18544
  ...field,
18537
18545
  label: "Project name",
@@ -18541,9 +18549,9 @@ function RenameProjectDialog({
18541
18549
  )
18542
18550
  }
18543
18551
  ) }) }),
18544
- /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(import_apsara89.Dialog.Footer, { children: [
18545
- /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_apsara89.Dialog.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
18546
- import_apsara89.Button,
18552
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(import_apsara88.Dialog.Footer, { children: [
18553
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_apsara88.Dialog.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
18554
+ import_apsara88.Button,
18547
18555
  {
18548
18556
  type: "button",
18549
18557
  variant: "outline",
@@ -18553,7 +18561,7 @@ function RenameProjectDialog({
18553
18561
  }
18554
18562
  ) }),
18555
18563
  /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
18556
- import_apsara89.Button,
18564
+ import_apsara88.Button,
18557
18565
  {
18558
18566
  type: "submit",
18559
18567
  "data-test-id": "rename-project-update-button",
@@ -18573,7 +18581,7 @@ var import_react60 = require("react");
18573
18581
 
18574
18582
  // admin/views/organizations/details/projects/use-add-project-members.tsx
18575
18583
  var import_react59 = require("react");
18576
- var import_apsara90 = require("@raystack/apsara");
18584
+ var import_apsara89 = require("@raystack/apsara");
18577
18585
  var import_connect_query38 = require("@connectrpc/connect-query");
18578
18586
  var import_frontier42 = require("@raystack/proton/frontier");
18579
18587
  var import_protobuf25 = require("@bufbuild/protobuf");
@@ -18623,12 +18631,12 @@ function useAddProjectMembers({ projectId }) {
18623
18631
  }
18624
18632
  })
18625
18633
  );
18626
- import_apsara90.toast.success("member added");
18634
+ import_apsara89.toast.success("member added");
18627
18635
  await refetch();
18628
18636
  return projectMembers;
18629
18637
  } catch (error) {
18630
18638
  console.error(error);
18631
- import_apsara90.toast.error("Something went wrong");
18639
+ import_apsara89.toast.error("Something went wrong");
18632
18640
  }
18633
18641
  },
18634
18642
  [projectId, createPolicy, refetch, projectMembers]
@@ -18646,9 +18654,9 @@ function useAddProjectMembers({ projectId }) {
18646
18654
  var import_jsx_runtime95 = require("react/jsx-runtime");
18647
18655
  var DropdownLoader = () => {
18648
18656
  return /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(import_jsx_runtime95.Fragment, { children: [
18649
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_apsara91.DropdownMenu.Item, { children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(Skeleton, { containerClassName: projects_module_css_default2["flex1"] }) }),
18650
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_apsara91.DropdownMenu.Item, { children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(Skeleton, { containerClassName: projects_module_css_default2["flex1"] }) }),
18651
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_apsara91.DropdownMenu.Item, { children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(Skeleton, { containerClassName: projects_module_css_default2["flex1"] }) })
18657
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_apsara90.DropdownMenu.Item, { children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(Skeleton, { containerClassName: projects_module_css_default2["flex1"] }) }),
18658
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_apsara90.DropdownMenu.Item, { children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(Skeleton, { containerClassName: projects_module_css_default2["flex1"] }) }),
18659
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_apsara90.DropdownMenu.Item, { children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(Skeleton, { containerClassName: projects_module_css_default2["flex1"] }) })
18652
18660
  ] });
18653
18661
  };
18654
18662
  function AddMemberDropdown({
@@ -18658,28 +18666,28 @@ function AddMemberDropdown({
18658
18666
  setSearchQuery
18659
18667
  }) {
18660
18668
  return /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(
18661
- import_apsara91.DropdownMenu,
18669
+ import_apsara90.DropdownMenu,
18662
18670
  {
18663
18671
  autocomplete: true,
18664
18672
  autocompleteMode: "manual",
18665
18673
  onSearch: setSearchQuery,
18666
18674
  children: [
18667
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_apsara91.DropdownMenu.TriggerItem, { "data-test-id": "add-members", children: "Add member" }),
18668
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_apsara91.DropdownMenu.Content, { children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(DropdownLoader, {}) : /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_jsx_runtime95.Fragment, { children: eligibleMembers?.slice(0, 5).map((user) => /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
18669
- import_apsara91.DropdownMenu.Item,
18675
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_apsara90.DropdownMenu.TriggerItem, { "data-test-id": "add-members", children: "Add member" }),
18676
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_apsara90.DropdownMenu.Content, { children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(DropdownLoader, {}) : /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_jsx_runtime95.Fragment, { children: eligibleMembers?.slice(0, 5).map((user) => /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
18677
+ import_apsara90.DropdownMenu.Item,
18670
18678
  {
18671
18679
  onClick: onAddMember(user?.id || ""),
18672
18680
  "data-test-id": `admin-add-member-${user.id}`,
18673
18681
  leadingIcon: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
18674
- import_apsara91.Avatar,
18682
+ import_apsara90.Avatar,
18675
18683
  {
18676
18684
  src: user.avatar,
18677
18685
  fallback: user?.title?.[0] || user?.email?.[0],
18678
18686
  radius: "full",
18679
- color: (0, import_apsara91.getAvatarColor)(user.id || "")
18687
+ color: (0, import_apsara90.getAvatarColor)(user.id || "")
18680
18688
  }
18681
18689
  ),
18682
- children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_apsara91.Text, { children: user.title || user.email })
18690
+ children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_apsara90.Text, { children: user.title || user.email })
18683
18691
  },
18684
18692
  user.id
18685
18693
  )) }) })
@@ -18719,7 +18727,7 @@ function ProjectActionsContent({
18719
18727
  }
18720
18728
  ),
18721
18729
  /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
18722
- import_apsara91.DropdownMenu.Item,
18730
+ import_apsara90.DropdownMenu.Item,
18723
18731
  {
18724
18732
  onClick: handleRenameOptionClick,
18725
18733
  "data-test-id": "rename-project",
@@ -18755,8 +18763,8 @@ function ProjectActions({
18755
18763
  onRename: handleProjectUpdate
18756
18764
  }
18757
18765
  ) : null,
18758
- /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(import_apsara91.DropdownMenu, { open, onOpenChange: handleOpen, children: [
18759
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_apsara91.DropdownMenu.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
18766
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(import_apsara90.DropdownMenu, { open, onOpenChange: handleOpen, children: [
18767
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_apsara90.DropdownMenu.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
18760
18768
  DotsHorizontalIcon,
18761
18769
  {
18762
18770
  onClick: preventClickBubbling,
@@ -18764,7 +18772,7 @@ function ProjectActions({
18764
18772
  }
18765
18773
  ) }),
18766
18774
  /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
18767
- import_apsara91.DropdownMenu.Content,
18775
+ import_apsara90.DropdownMenu.Content,
18768
18776
  {
18769
18777
  className: projects_module_css_default2["table-action-dropdown"],
18770
18778
  unmountOnHide: true,
@@ -18794,7 +18802,7 @@ var getColumns13 = ({
18794
18802
  header: projects_module_css_default2["title-column"]
18795
18803
  },
18796
18804
  cell: ({ row }) => {
18797
- return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_apsara91.Flex, { gap: 4, align: "center", children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_apsara91.Text, { children: row.original.title || "-" }) });
18805
+ return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_apsara90.Flex, { gap: 4, align: "center", children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_apsara90.Text, { children: row.original.title || "-" }) });
18798
18806
  },
18799
18807
  enableColumnFilter: true,
18800
18808
  enableSorting: true
@@ -18813,12 +18821,12 @@ var getColumns13 = ({
18813
18821
  enableHiding: true,
18814
18822
  cell: ({ getValue }) => {
18815
18823
  const user_ids = getValue() || [];
18816
- return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_apsara91.AvatarGroup, { max: 4, children: user_ids.map((id) => {
18824
+ return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_apsara90.AvatarGroup, { max: 4, children: user_ids.map((id) => {
18817
18825
  const user = orgMembersMap[id];
18818
18826
  const message = user?.title || user?.email || id;
18819
- const avatarColor = (0, import_apsara91.getAvatarColor)(user?.id || "");
18827
+ const avatarColor = (0, import_apsara90.getAvatarColor)(user?.id || "");
18820
18828
  return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
18821
- import_apsara91.Avatar,
18829
+ import_apsara90.Avatar,
18822
18830
  {
18823
18831
  src: user?.avatar,
18824
18832
  fallback: message?.[0],
@@ -18868,15 +18876,15 @@ var import_frontier46 = require("@raystack/proton/frontier");
18868
18876
  var import_connect_query42 = require("@connectrpc/connect-query");
18869
18877
 
18870
18878
  // admin/views/organizations/details/projects/members/index.tsx
18871
- var import_apsara96 = require("@raystack/apsara");
18879
+ var import_apsara95 = require("@raystack/apsara");
18872
18880
  var import_react63 = require("react");
18873
18881
  var import_frontier45 = require("@raystack/proton/frontier");
18874
18882
  var import_protobuf28 = require("@bufbuild/protobuf");
18875
18883
  var import_connect_query41 = require("@connectrpc/connect-query");
18876
18884
  var import_hooks4 = require("@raystack/apsara/hooks");
18877
18885
 
18878
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-c2KK2J0LulXs/sdk/admin/views/organizations/details/projects/members/members.module.css.js
18879
- var digest63 = "b4add1f69b62b0f0f26634bc79b0b5897391dc5f971b6480213ed8c704ffd542";
18886
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-sBmg2NRbTNbD/sdk/admin/views/organizations/details/projects/members/members.module.css.js
18887
+ var digest63 = "8b6993e0b3cdbc5db5c1dbfe97a567fa757bd7b3dccecd7d71cf61d96231b567";
18880
18888
  var css63 = `._flex1_nxqqi_1 {
18881
18889
  flex: 1;
18882
18890
  }
@@ -18969,8 +18977,8 @@ var css63 = `._flex1_nxqqi_1 {
18969
18977
  })();
18970
18978
  var members_module_css_default3 = { "flex1": "_flex1_nxqqi_1", "dialog-content": "_dialog-content_nxqqi_5", "dialogContent": "_dialog-content_nxqqi_5", "dialog-body": "_dialog-body_nxqqi_10", "dialogBody": "_dialog-body_nxqqi_10", "empty-state": "_empty-state_nxqqi_14", "emptyState": "_empty-state_nxqqi_14", "empty-state-subheading": "_empty-state-subheading_nxqqi_18", "emptyStateSubheading": "_empty-state-subheading_nxqqi_18", "table": "_table_nxqqi_23", "table-wrapper": "_table-wrapper_nxqqi_29", "tableWrapper": "_table-wrapper_nxqqi_29", "table-header": "_table-header_nxqqi_35", "tableHeader": "_table-header_nxqqi_35", "table-search": "_table-search_nxqqi_40", "tableSearch": "_table-search_nxqqi_40", "table-content-wrapper": "_table-content-wrapper_nxqqi_44", "tableContentWrapper": "_table-content-wrapper_nxqqi_44", "table-action-column": "_table-action-column_nxqqi_48", "tableActionColumn": "_table-action-column_nxqqi_48", "table-action-dropdown": "_table-action-dropdown_nxqqi_52", "tableActionDropdown": "_table-action-dropdown_nxqqi_52", "action-dialog-overlay": "_action-dialog-overlay_nxqqi_57", "actionDialogOverlay": "_action-dialog-overlay_nxqqi_57", "action-dialog-content": "_action-dialog-content_nxqqi_61", "actionDialogContent": "_action-dialog-content_nxqqi_61", "add-member-dropdown": "_add-member-dropdown_nxqqi_65", "addMemberDropdown": "_add-member-dropdown_nxqqi_65", "add-member-dropdown-member": "_add-member-dropdown-member_nxqqi_70", "addMemberDropdownMember": "_add-member-dropdown-member_nxqqi_70", "add-member-dropdown-member-name": "_add-member-dropdown-member-name_nxqqi_73", "addMemberDropdownMemberName": "_add-member-dropdown-member-name_nxqqi_73" };
18971
18979
 
18972
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-jCcbFg6HFO0X/sdk/admin/views/organizations/details/projects/members/members.module.css.js
18973
- var digest64 = "e06088d8ea428e6849dc18eafbfd20069b3d697a4c25c8c72d9714216747ff01";
18980
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-SRgu1lhozgLp/sdk/admin/views/organizations/details/projects/members/members.module.css.js
18981
+ var digest64 = "c786bbc47881f879668db2fbb210be9ae7566fe0cb0953405dfd192ca3826259";
18974
18982
  var css64 = `._flex1_nxqqi_1 {
18975
18983
  flex: 1;
18976
18984
  }
@@ -19064,7 +19072,7 @@ var css64 = `._flex1_nxqqi_1 {
19064
19072
  var members_module_css_default4 = { "flex1": "_flex1_nxqqi_1", "dialog-content": "_dialog-content_nxqqi_5", "dialogContent": "_dialog-content_nxqqi_5", "dialog-body": "_dialog-body_nxqqi_10", "dialogBody": "_dialog-body_nxqqi_10", "empty-state": "_empty-state_nxqqi_14", "emptyState": "_empty-state_nxqqi_14", "empty-state-subheading": "_empty-state-subheading_nxqqi_18", "emptyStateSubheading": "_empty-state-subheading_nxqqi_18", "table": "_table_nxqqi_23", "table-wrapper": "_table-wrapper_nxqqi_29", "tableWrapper": "_table-wrapper_nxqqi_29", "table-header": "_table-header_nxqqi_35", "tableHeader": "_table-header_nxqqi_35", "table-search": "_table-search_nxqqi_40", "tableSearch": "_table-search_nxqqi_40", "table-content-wrapper": "_table-content-wrapper_nxqqi_44", "tableContentWrapper": "_table-content-wrapper_nxqqi_44", "table-action-column": "_table-action-column_nxqqi_48", "tableActionColumn": "_table-action-column_nxqqi_48", "table-action-dropdown": "_table-action-dropdown_nxqqi_52", "tableActionDropdown": "_table-action-dropdown_nxqqi_52", "action-dialog-overlay": "_action-dialog-overlay_nxqqi_57", "actionDialogOverlay": "_action-dialog-overlay_nxqqi_57", "action-dialog-content": "_action-dialog-content_nxqqi_61", "actionDialogContent": "_action-dialog-content_nxqqi_61", "add-member-dropdown": "_add-member-dropdown_nxqqi_65", "addMemberDropdown": "_add-member-dropdown_nxqqi_65", "add-member-dropdown-member": "_add-member-dropdown-member_nxqqi_70", "addMemberDropdownMember": "_add-member-dropdown-member_nxqqi_70", "add-member-dropdown-member-name": "_add-member-dropdown-member-name_nxqqi_73", "addMemberDropdownMemberName": "_add-member-dropdown-member-name_nxqqi_73" };
19065
19073
 
19066
19074
  // admin/views/organizations/details/projects/members/columns.tsx
19067
- var import_apsara92 = require("@raystack/apsara");
19075
+ var import_apsara91 = require("@raystack/apsara");
19068
19076
  var import_jsx_runtime96 = require("react/jsx-runtime");
19069
19077
  var getColumns14 = ({
19070
19078
  handleAssignRoleAction,
@@ -19089,17 +19097,17 @@ var getColumns14 = ({
19089
19097
  },
19090
19098
  cell: ({ row }) => {
19091
19099
  const nameInitial = row.original.title?.[0] || row?.original?.email?.[0];
19092
- const avatarColor = (0, import_apsara92.getAvatarColor)(row?.original?.id || "");
19093
- return /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(import_apsara92.Flex, { gap: 4, align: "center", children: [
19100
+ const avatarColor = (0, import_apsara91.getAvatarColor)(row?.original?.id || "");
19101
+ return /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(import_apsara91.Flex, { gap: 4, align: "center", children: [
19094
19102
  /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
19095
- import_apsara92.Avatar,
19103
+ import_apsara91.Avatar,
19096
19104
  {
19097
19105
  src: row.original.avatar,
19098
19106
  fallback: nameInitial,
19099
19107
  color: avatarColor
19100
19108
  }
19101
19109
  ),
19102
- /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_apsara92.Text, { children: row.original.title || "-" })
19110
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_apsara91.Text, { children: row.original.title || "-" })
19103
19111
  ] });
19104
19112
  },
19105
19113
  enableColumnFilter: true,
@@ -19118,7 +19126,7 @@ var getColumns14 = ({
19118
19126
  header: "Role",
19119
19127
  cell: ({ getValue }) => {
19120
19128
  const ids = getValue() || [];
19121
- return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_apsara92.Text, { children: ids.map((id) => roleMap[id]).join(", ") || "-" });
19129
+ return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_apsara91.Text, { children: ids.map((id) => roleMap[id]).join(", ") || "-" });
19122
19130
  }
19123
19131
  },
19124
19132
  {
@@ -19129,16 +19137,16 @@ var getColumns14 = ({
19129
19137
  cell: members_module_css_default4["table-action-column"]
19130
19138
  },
19131
19139
  cell: ({ row }) => {
19132
- return /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(import_apsara92.DropdownMenu, { placement: "bottom-end", children: [
19133
- /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_apsara92.DropdownMenu.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(DotsHorizontalIcon, {}) }),
19140
+ return /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(import_apsara91.DropdownMenu, { placement: "bottom-end", children: [
19141
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_apsara91.DropdownMenu.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(DotsHorizontalIcon, {}) }),
19134
19142
  /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(
19135
- import_apsara92.DropdownMenu.Content,
19143
+ import_apsara91.DropdownMenu.Content,
19136
19144
  {
19137
19145
  className: members_module_css_default4["table-action-dropdown"],
19138
19146
  portal: false,
19139
19147
  children: [
19140
19148
  /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
19141
- import_apsara92.DropdownMenu.Item,
19149
+ import_apsara91.DropdownMenu.Item,
19142
19150
  {
19143
19151
  onClick: () => handleAssignRoleAction(row.original),
19144
19152
  "data-test-id": "admin-assign-role-action",
@@ -19146,7 +19154,7 @@ var getColumns14 = ({
19146
19154
  }
19147
19155
  ),
19148
19156
  /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
19149
- import_apsara92.DropdownMenu.Item,
19157
+ import_apsara91.DropdownMenu.Item,
19150
19158
  {
19151
19159
  onClick: () => handleRemoveAction(row.original),
19152
19160
  "data-test-id": "admin-remove-user-action",
@@ -19163,10 +19171,10 @@ var getColumns14 = ({
19163
19171
  };
19164
19172
 
19165
19173
  // admin/views/organizations/details/projects/members/assign-role.tsx
19166
- var import_apsara93 = require("@raystack/apsara");
19174
+ var import_apsara92 = require("@raystack/apsara");
19167
19175
 
19168
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-5Te0TRD9yH1e/sdk/admin/views/organizations/details/projects/members/members.module.css.js
19169
- var digest65 = "891a4d6c9794203df1517e21898565bd1a30ebb1eb0e7fce198fd0d48dccf3fc";
19176
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-dIn3UMIZaYYr/sdk/admin/views/organizations/details/projects/members/members.module.css.js
19177
+ var digest65 = "bf5de7499c9745e09699400820e48dd78e53e59c1f1e56a5b45654f335c4a8e0";
19170
19178
  var css65 = `._flex1_nxqqi_1 {
19171
19179
  flex: 1;
19172
19180
  }
@@ -19360,33 +19368,33 @@ var AssignRole2 = ({
19360
19368
  roleIds: assignedRolesArr
19361
19369
  });
19362
19370
  }
19363
- import_apsara93.toast.success("Role assigned successfully");
19371
+ import_apsara92.toast.success("Role assigned successfully");
19364
19372
  } catch (error) {
19365
- import_apsara93.toast.error("Failed to assign role");
19373
+ import_apsara92.toast.error("Failed to assign role");
19366
19374
  console.error(error);
19367
19375
  }
19368
19376
  };
19369
- return /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_apsara93.Dialog, { open: true, onOpenChange: onClose, children: /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(
19370
- import_apsara93.Dialog.Content,
19377
+ return /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_apsara92.Dialog, { open: true, onOpenChange: onClose, children: /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(
19378
+ import_apsara92.Dialog.Content,
19371
19379
  {
19372
19380
  width: 400,
19373
19381
  overlayClassName: members_module_css_default5["action-dialog-overlay"],
19374
19382
  className: members_module_css_default5["action-dialog-content"],
19375
19383
  children: [
19376
- /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(import_apsara93.Dialog.Header, { children: [
19377
- /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_apsara93.Dialog.Title, { children: "Assign Role" }),
19378
- /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_apsara93.Dialog.CloseButton, { "data-test-id": "assign-role-close-button" })
19384
+ /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(import_apsara92.Dialog.Header, { children: [
19385
+ /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_apsara92.Dialog.Title, { children: "Assign Role" }),
19386
+ /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_apsara92.Dialog.CloseButton, { "data-test-id": "assign-role-close-button" })
19379
19387
  ] }),
19380
19388
  /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("form", { onSubmit: handleSubmit(onSubmit), noValidate: true, children: [
19381
- /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_apsara93.Dialog.Body, { children: /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(import_apsara93.Flex, { direction: "column", gap: 7, children: [
19382
- /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_apsara93.Text, { variant: "secondary", children: "Taking this action may result in changes in the role which might lead to changes in access of the user." }),
19383
- /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("div", { role: "group", "aria-labelledby": "roles-group", children: /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(import_apsara93.Flex, { direction: "column", gap: 4, children: [
19389
+ /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_apsara92.Dialog.Body, { children: /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(import_apsara92.Flex, { direction: "column", gap: 7, children: [
19390
+ /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_apsara92.Text, { variant: "secondary", children: "Taking this action may result in changes in the role which might lead to changes in access of the user." }),
19391
+ /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("div", { role: "group", "aria-labelledby": "roles-group", children: /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(import_apsara92.Flex, { direction: "column", gap: 4, children: [
19384
19392
  roles.map((role) => {
19385
19393
  const htmlId = `role-${role.id}`;
19386
19394
  const checked = checkRole(role.id);
19387
- return /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(import_apsara93.Flex, { gap: 3, children: [
19395
+ return /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(import_apsara92.Flex, { gap: 3, children: [
19388
19396
  /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
19389
- import_apsara93.Checkbox,
19397
+ import_apsara92.Checkbox,
19390
19398
  {
19391
19399
  id: htmlId,
19392
19400
  "data-test-id": `role-checkbox-${role.id}`,
@@ -19394,15 +19402,15 @@ var AssignRole2 = ({
19394
19402
  onCheckedChange: (value) => onCheckedChange(value, role.id)
19395
19403
  }
19396
19404
  ),
19397
- /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_apsara93.Label, { htmlFor: htmlId, children: role.title })
19405
+ /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_apsara92.Label, { htmlFor: htmlId, children: role.title })
19398
19406
  ] }, role.id);
19399
19407
  }),
19400
- errors.roleIds && /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_apsara93.Text, { variant: "danger", children: errors.roleIds.message })
19408
+ errors.roleIds && /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_apsara92.Text, { variant: "danger", children: errors.roleIds.message })
19401
19409
  ] }) })
19402
19410
  ] }) }),
19403
- /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(import_apsara93.Dialog.Footer, { children: [
19404
- /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_apsara93.Dialog.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
19405
- import_apsara93.Button,
19411
+ /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(import_apsara92.Dialog.Footer, { children: [
19412
+ /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_apsara92.Dialog.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
19413
+ import_apsara92.Button,
19406
19414
  {
19407
19415
  type: "button",
19408
19416
  variant: "outline",
@@ -19412,7 +19420,7 @@ var AssignRole2 = ({
19412
19420
  }
19413
19421
  ) }),
19414
19422
  /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
19415
- import_apsara93.Button,
19423
+ import_apsara92.Button,
19416
19424
  {
19417
19425
  type: "submit",
19418
19426
  "data-test-id": "assign-role-update-button",
@@ -19435,8 +19443,8 @@ var import_protobuf27 = require("@bufbuild/protobuf");
19435
19443
  var import_connect_query40 = require("@connectrpc/connect-query");
19436
19444
  var import_connect4 = require("@connectrpc/connect");
19437
19445
 
19438
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-adF7rkE2RKV6/sdk/admin/views/organizations/details/projects/members/members.module.css.js
19439
- var digest66 = "dba8284af49c9084620706642e3e38d7f4dfd59f2c99ad64982b536cf73ada4f";
19446
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-xMggKedaQckb/sdk/admin/views/organizations/details/projects/members/members.module.css.js
19447
+ var digest66 = "be1af25f7408f2edd7b192f06aa72100c6037b7687e190dc6d71bca3ab2b2a00";
19440
19448
  var css66 = `._flex1_nxqqi_1 {
19441
19449
  flex: 1;
19442
19450
  }
@@ -19530,7 +19538,7 @@ var css66 = `._flex1_nxqqi_1 {
19530
19538
  var members_module_css_default6 = { "flex1": "_flex1_nxqqi_1", "dialog-content": "_dialog-content_nxqqi_5", "dialogContent": "_dialog-content_nxqqi_5", "dialog-body": "_dialog-body_nxqqi_10", "dialogBody": "_dialog-body_nxqqi_10", "empty-state": "_empty-state_nxqqi_14", "emptyState": "_empty-state_nxqqi_14", "empty-state-subheading": "_empty-state-subheading_nxqqi_18", "emptyStateSubheading": "_empty-state-subheading_nxqqi_18", "table": "_table_nxqqi_23", "table-wrapper": "_table-wrapper_nxqqi_29", "tableWrapper": "_table-wrapper_nxqqi_29", "table-header": "_table-header_nxqqi_35", "tableHeader": "_table-header_nxqqi_35", "table-search": "_table-search_nxqqi_40", "tableSearch": "_table-search_nxqqi_40", "table-content-wrapper": "_table-content-wrapper_nxqqi_44", "tableContentWrapper": "_table-content-wrapper_nxqqi_44", "table-action-column": "_table-action-column_nxqqi_48", "tableActionColumn": "_table-action-column_nxqqi_48", "table-action-dropdown": "_table-action-dropdown_nxqqi_52", "tableActionDropdown": "_table-action-dropdown_nxqqi_52", "action-dialog-overlay": "_action-dialog-overlay_nxqqi_57", "actionDialogOverlay": "_action-dialog-overlay_nxqqi_57", "action-dialog-content": "_action-dialog-content_nxqqi_61", "actionDialogContent": "_action-dialog-content_nxqqi_61", "add-member-dropdown": "_add-member-dropdown_nxqqi_65", "addMemberDropdown": "_add-member-dropdown_nxqqi_65", "add-member-dropdown-member": "_add-member-dropdown-member_nxqqi_70", "addMemberDropdownMember": "_add-member-dropdown-member_nxqqi_70", "add-member-dropdown-member-name": "_add-member-dropdown-member-name_nxqqi_73", "addMemberDropdownMemberName": "_add-member-dropdown-member-name_nxqqi_73" };
19531
19539
 
19532
19540
  // admin/views/organizations/details/projects/members/remove-member.tsx
19533
- var import_apsara94 = require("@raystack/apsara");
19541
+ var import_apsara93 = require("@raystack/apsara");
19534
19542
  var import_jsx_runtime98 = require("react/jsx-runtime");
19535
19543
  var RemoveMember2 = ({
19536
19544
  projectId,
@@ -19566,32 +19574,32 @@ var RemoveMember2 = ({
19566
19574
  if (onRemove) {
19567
19575
  onRemove(user);
19568
19576
  }
19569
- import_apsara94.toast.success("Member removed successfully");
19577
+ import_apsara93.toast.success("Member removed successfully");
19570
19578
  } catch (error) {
19571
- import_apsara94.toast.error("Failed to remove member");
19579
+ import_apsara93.toast.error("Failed to remove member");
19572
19580
  console.error(error);
19573
19581
  } finally {
19574
19582
  setIsSubmitting(false);
19575
19583
  }
19576
19584
  }
19577
- return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_apsara94.Dialog, { open: true, onOpenChange: onClose, children: /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(
19578
- import_apsara94.Dialog.Content,
19585
+ return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_apsara93.Dialog, { open: true, onOpenChange: onClose, children: /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(
19586
+ import_apsara93.Dialog.Content,
19579
19587
  {
19580
19588
  width: 400,
19581
19589
  overlayClassName: members_module_css_default6["action-dialog-overlay"],
19582
19590
  className: members_module_css_default6["action-dialog-content"],
19583
19591
  children: [
19584
- /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(import_apsara94.Dialog.Header, { children: [
19585
- /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_apsara94.Dialog.Title, { children: "Remove Member" }),
19586
- /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_apsara94.Dialog.CloseButton, { "data-test-id": "remove-member-close-button" })
19592
+ /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(import_apsara93.Dialog.Header, { children: [
19593
+ /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_apsara93.Dialog.Title, { children: "Remove Member" }),
19594
+ /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_apsara93.Dialog.CloseButton, { "data-test-id": "remove-member-close-button" })
19587
19595
  ] }),
19588
- /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_apsara94.Dialog.Body, { children: /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(import_apsara94.Flex, { direction: "column", gap: 7, children: [
19589
- /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_apsara94.Text, { variant: "secondary", children: "Removing this member will revoke all their access to the project. This action cannot be undone. The member will lose all assigned roles and permissions immediately." }),
19590
- /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_apsara94.Text, { variant: "secondary", children: "Are you sure you want to remove this member?" })
19596
+ /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_apsara93.Dialog.Body, { children: /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(import_apsara93.Flex, { direction: "column", gap: 7, children: [
19597
+ /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_apsara93.Text, { variant: "secondary", children: "Removing this member will revoke all their access to the project. This action cannot be undone. The member will lose all assigned roles and permissions immediately." }),
19598
+ /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_apsara93.Text, { variant: "secondary", children: "Are you sure you want to remove this member?" })
19591
19599
  ] }) }),
19592
- /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(import_apsara94.Dialog.Footer, { children: [
19593
- /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_apsara94.Dialog.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
19594
- import_apsara94.Button,
19600
+ /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(import_apsara93.Dialog.Footer, { children: [
19601
+ /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_apsara93.Dialog.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
19602
+ import_apsara93.Button,
19595
19603
  {
19596
19604
  type: "button",
19597
19605
  variant: "outline",
@@ -19601,7 +19609,7 @@ var RemoveMember2 = ({
19601
19609
  }
19602
19610
  ) }),
19603
19611
  /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
19604
- import_apsara94.Button,
19612
+ import_apsara93.Button,
19605
19613
  {
19606
19614
  type: "submit",
19607
19615
  "data-test-id": "remove-member-submit-button",
@@ -19619,10 +19627,10 @@ var RemoveMember2 = ({
19619
19627
  };
19620
19628
 
19621
19629
  // admin/views/organizations/details/projects/members/add-members-dropdown.tsx
19622
- var import_apsara95 = require("@raystack/apsara");
19630
+ var import_apsara94 = require("@raystack/apsara");
19623
19631
 
19624
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-5NZD9eo893gx/sdk/admin/views/organizations/details/projects/members/members.module.css.js
19625
- var digest67 = "899642dfcacb1556c10b0f57cfbae5554afe9687a08b13f527ae004bcb4a7c8d";
19632
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-NkrO6XgcGhyu/sdk/admin/views/organizations/details/projects/members/members.module.css.js
19633
+ var digest67 = "bfb134be0eecee4ab35a7a0c4edeae754ce62cdbd521d3496f275e30fbdadd76";
19626
19634
  var css67 = `._flex1_nxqqi_1 {
19627
19635
  flex: 1;
19628
19636
  }
@@ -19718,7 +19726,7 @@ var members_module_css_default7 = { "flex1": "_flex1_nxqqi_1", "dialog-content":
19718
19726
  // admin/views/organizations/details/projects/members/add-members-dropdown.tsx
19719
19727
  var import_jsx_runtime99 = require("react/jsx-runtime");
19720
19728
  function Loader() {
19721
- return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_jsx_runtime99.Fragment, { children: [...new Array(5)].map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_apsara95.DropdownMenu.Item, { children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Skeleton, { containerClassName: members_module_css_default7.flex1 }) }, i)) });
19729
+ return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_jsx_runtime99.Fragment, { children: [...new Array(5)].map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_apsara94.DropdownMenu.Item, { children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Skeleton, { containerClassName: members_module_css_default7.flex1 }) }, i)) });
19722
19730
  }
19723
19731
  function AddMembersDropdown({
19724
19732
  projectId,
@@ -19735,35 +19743,35 @@ function AddMembersDropdown({
19735
19743
  };
19736
19744
  }
19737
19745
  return /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(
19738
- import_apsara95.DropdownMenu,
19746
+ import_apsara94.DropdownMenu,
19739
19747
  {
19740
19748
  autocomplete: true,
19741
19749
  placement: "bottom-end",
19742
19750
  onSearch: setSearchQuery,
19743
19751
  autocompleteMode: "manual",
19744
19752
  children: [
19745
- /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_apsara95.DropdownMenu.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_apsara95.Button, { "data-test-id": "add-project-member-btn", children: "Add member" }) }),
19753
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_apsara94.DropdownMenu.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_apsara94.Button, { "data-test-id": "add-project-member-btn", children: "Add member" }) }),
19746
19754
  /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
19747
- import_apsara95.DropdownMenu.Content,
19755
+ import_apsara94.DropdownMenu.Content,
19748
19756
  {
19749
19757
  className: members_module_css_default7["add-member-dropdown"],
19750
19758
  portal: false,
19751
19759
  children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Loader, {}) : /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_jsx_runtime99.Fragment, { children: eligibleMembers?.slice(0, 7).map((user) => /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
19752
- import_apsara95.DropdownMenu.Item,
19760
+ import_apsara94.DropdownMenu.Item,
19753
19761
  {
19754
19762
  onClick: onAddMember(user?.id || ""),
19755
19763
  "data-test-id": `admin-add-member-${user.id}`,
19756
19764
  leadingIcon: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
19757
- import_apsara95.Avatar,
19765
+ import_apsara94.Avatar,
19758
19766
  {
19759
19767
  src: user.avatar,
19760
19768
  fallback: user?.title?.[0] || user?.email?.[0],
19761
19769
  radius: "full",
19762
- color: (0, import_apsara95.getAvatarColor)(user.id || "")
19770
+ color: (0, import_apsara94.getAvatarColor)(user.id || "")
19763
19771
  }
19764
19772
  ),
19765
19773
  className: members_module_css_default7["add-member-dropdown-member"],
19766
- children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_apsara95.Text, { className: members_module_css_default7["add-member-dropdown-member-name"], children: user.title || user.email })
19774
+ children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_apsara94.Text, { className: members_module_css_default7["add-member-dropdown-member-name"], children: user.title || user.email })
19767
19775
  },
19768
19776
  user.id
19769
19777
  )) })
@@ -19778,7 +19786,7 @@ function AddMembersDropdown({
19778
19786
  var import_jsx_runtime100 = require("react/jsx-runtime");
19779
19787
  var NoMembers2 = () => {
19780
19788
  return /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
19781
- import_apsara96.EmptyState,
19789
+ import_apsara95.EmptyState,
19782
19790
  {
19783
19791
  classNames: {
19784
19792
  container: members_module_css_default3["empty-state"],
@@ -19937,13 +19945,13 @@ var ProjectMembersDialog = ({
19937
19945
  onClose: closeRemoveMemberDialog
19938
19946
  }
19939
19947
  ) : null,
19940
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_apsara96.Dialog, { open: true, onOpenChange: onClose, children: /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_apsara96.Dialog.Content, { className: members_module_css_default3["dialog-content"], children: [
19941
- /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_apsara96.Dialog.Header, { children: [
19942
- isProjectLoading ? /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Skeleton, { containerClassName: members_module_css_default3["flex1"], width: "200px" }) : /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_apsara96.Dialog.Title, { children: project?.title ?? "" }),
19943
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_apsara96.Dialog.CloseButton, { "data-test-id": "close-button" })
19948
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_apsara95.Dialog, { open: true, onOpenChange: onClose, children: /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_apsara95.Dialog.Content, { className: members_module_css_default3["dialog-content"], children: [
19949
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_apsara95.Dialog.Header, { children: [
19950
+ isProjectLoading ? /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Skeleton, { containerClassName: members_module_css_default3["flex1"], width: "200px" }) : /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_apsara95.Dialog.Title, { children: project?.title ?? "" }),
19951
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_apsara95.Dialog.CloseButton, { "data-test-id": "close-button" })
19944
19952
  ] }),
19945
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_apsara96.Dialog.Body, { className: members_module_css_default3["dialog-body"], children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
19946
- import_apsara96.DataTable,
19953
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_apsara95.Dialog.Body, { className: members_module_css_default3["dialog-body"], children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
19954
+ import_apsara95.DataTable,
19947
19955
  {
19948
19956
  query: tableQuery.query,
19949
19957
  columns,
@@ -19954,14 +19962,14 @@ var ProjectMembersDialog = ({
19954
19962
  onTableQueryChange,
19955
19963
  onLoadMore: handleLoadMore,
19956
19964
  children: /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(
19957
- import_apsara96.Flex,
19965
+ import_apsara95.Flex,
19958
19966
  {
19959
19967
  direction: "column",
19960
19968
  gap: 5,
19961
19969
  className: members_module_css_default3["table-content-wrapper"],
19962
19970
  children: [
19963
- /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_apsara96.Flex, { children: [
19964
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_apsara96.DataTable.Search, { className: members_module_css_default3["table-search"] }),
19971
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_apsara95.Flex, { children: [
19972
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_apsara95.DataTable.Search, { className: members_module_css_default3["table-search"] }),
19965
19973
  /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
19966
19974
  AddMembersDropdown,
19967
19975
  {
@@ -19971,7 +19979,7 @@ var ProjectMembersDialog = ({
19971
19979
  )
19972
19980
  ] }),
19973
19981
  /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
19974
- import_apsara96.DataTable.Content,
19982
+ import_apsara95.DataTable.Content,
19975
19983
  {
19976
19984
  emptyState: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(NoMembers2, {}),
19977
19985
  classNames: {
@@ -19992,7 +20000,7 @@ var ProjectMembersDialog = ({
19992
20000
 
19993
20001
  // admin/views/organizations/details/projects/index.tsx
19994
20002
  var import_jsx_runtime101 = require("react/jsx-runtime");
19995
- var DEFAULT_SORT6 = { name: "created_at", order: "desc" };
20003
+ var DEFAULT_SORT6 = { name: "createdAt", order: "desc" };
19996
20004
  var INITIAL_QUERY7 = {
19997
20005
  offset: 0,
19998
20006
  limit: DEFAULT_PAGE_SIZE
@@ -20006,7 +20014,7 @@ var TRANSFORM_OPTIONS3 = {
20006
20014
  };
20007
20015
  var NoProjects = () => {
20008
20016
  return /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
20009
- import_apsara97.EmptyState,
20017
+ import_apsara96.EmptyState,
20010
20018
  {
20011
20019
  classNames: {
20012
20020
  container: projects_module_css_default["empty-state"],
@@ -20020,7 +20028,7 @@ var NoProjects = () => {
20020
20028
  };
20021
20029
  var ErrorState2 = () => {
20022
20030
  return /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
20023
- import_apsara97.EmptyState,
20031
+ import_apsara96.EmptyState,
20024
20032
  {
20025
20033
  classNames: {
20026
20034
  container: projects_module_css_default["empty-state"],
@@ -20117,10 +20125,10 @@ function OrganizationProjectsView() {
20117
20125
  onClose: handleMemberDialogClose
20118
20126
  }
20119
20127
  ) : null,
20120
- /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)(import_apsara97.Flex, { justify: "center", className: projects_module_css_default["container"], children: [
20128
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)(import_apsara96.Flex, { justify: "center", className: projects_module_css_default["container"], children: [
20121
20129
  /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(PageTitle, { title }),
20122
20130
  /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
20123
- import_apsara97.DataTable,
20131
+ import_apsara96.DataTable,
20124
20132
  {
20125
20133
  columns,
20126
20134
  data,
@@ -20131,10 +20139,10 @@ function OrganizationProjectsView() {
20131
20139
  onLoadMore: fetchMore,
20132
20140
  query: tableQuery,
20133
20141
  onRowClick: handleMemberDialogOpen,
20134
- children: /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)(import_apsara97.Flex, { direction: "column", style: { width: "100%" }, children: [
20135
- /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_apsara97.DataTable.Toolbar, {}),
20142
+ children: /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)(import_apsara96.Flex, { direction: "column", style: { width: "100%" }, children: [
20143
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_apsara96.DataTable.Toolbar, {}),
20136
20144
  /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
20137
- import_apsara97.DataTable.Content,
20145
+ import_apsara96.DataTable.Content,
20138
20146
  {
20139
20147
  emptyState: isError ? /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(ErrorState2, {}) : /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(NoProjects, {}),
20140
20148
  classNames: {
@@ -20152,10 +20160,10 @@ function OrganizationProjectsView() {
20152
20160
  }
20153
20161
 
20154
20162
  // admin/views/organizations/details/invoices/index.tsx
20155
- var import_apsara99 = require("@raystack/apsara");
20163
+ var import_apsara98 = require("@raystack/apsara");
20156
20164
 
20157
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-k1skBHk2SnPA/sdk/admin/views/organizations/details/invoices/invoices.module.css.js
20158
- var digest68 = "6ee484b86a150f40d46390194bb881302a90c391f1c271f0d2c506f0fd22d425";
20165
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-DxzxMSLJ76jf/sdk/admin/views/organizations/details/invoices/invoices.module.css.js
20166
+ var digest68 = "1f4dc99d00ec9955832fcd2f666683c6ff0fd386a526d7a8512244eb8968d4d7";
20159
20167
  var css68 = `._empty-state_ct7gw_1 {
20160
20168
  height: 100%;
20161
20169
  }
@@ -20201,8 +20209,8 @@ var invoices_module_css_default3 = { "empty-state": "_empty-state_ct7gw_1", "emp
20201
20209
  // admin/views/organizations/details/invoices/index.tsx
20202
20210
  var import_react65 = require("react");
20203
20211
 
20204
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-xtQfef7SzvcM/sdk/admin/views/organizations/details/invoices/invoices.module.css.js
20205
- var digest69 = "f741e3bd2c3a3beaf4e6e578eec6182469ff6be2388c81006d0466b3c3dcb00f";
20212
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-ZJfRsFRKkOsu/sdk/admin/views/organizations/details/invoices/invoices.module.css.js
20213
+ var digest69 = "6c494d0622511306feab432938d15818e687fc6b7b85839484bb1487261b21f5";
20206
20214
  var css69 = `._empty-state_ct7gw_1 {
20207
20215
  height: 100%;
20208
20216
  }
@@ -20247,7 +20255,7 @@ var invoices_module_css_default4 = { "empty-state": "_empty-state_ct7gw_1", "emp
20247
20255
 
20248
20256
  // admin/views/organizations/details/invoices/columns.tsx
20249
20257
  var import_dayjs14 = __toESM(require("dayjs"));
20250
- var import_apsara98 = require("@raystack/apsara");
20258
+ var import_apsara97 = require("@raystack/apsara");
20251
20259
  var import_jsx_runtime102 = require("react/jsx-runtime");
20252
20260
  var InvoiceStatusesMap = {
20253
20261
  draft: "Draft",
@@ -20299,7 +20307,7 @@ var getColumns15 = ({
20299
20307
  header: "Amount",
20300
20308
  cell: ({ getValue, row }) => {
20301
20309
  const value = Number(getValue());
20302
- return /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(import_apsara98.Amount, { value, currency: row.original.currency });
20310
+ return /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(import_apsara97.Amount, { value, currency: row.original.currency });
20303
20311
  },
20304
20312
  enableSorting: true,
20305
20313
  enableHiding: true,
@@ -20311,7 +20319,7 @@ var getColumns15 = ({
20311
20319
  header: "",
20312
20320
  cell: ({ getValue }) => {
20313
20321
  const value = getValue();
20314
- return /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(import_apsara98.Link, { href: value, target: "_blank", "data-test-id": "invoice-link", children: "View Invoice" });
20322
+ return /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(import_apsara97.Link, { href: value, target: "_blank", "data-test-id": "invoice-link", children: "View Invoice" });
20315
20323
  }
20316
20324
  }
20317
20325
  ];
@@ -20320,7 +20328,7 @@ var getColumns15 = ({
20320
20328
  var import_frontier47 = require("@raystack/proton/frontier");
20321
20329
  var import_connect_query43 = require("@connectrpc/connect-query");
20322
20330
  var import_jsx_runtime103 = require("react/jsx-runtime");
20323
- var DEFAULT_SORT7 = { name: "created_at", order: "desc" };
20331
+ var DEFAULT_SORT7 = { name: "createdAt", order: "desc" };
20324
20332
  var INITIAL_QUERY8 = {
20325
20333
  offset: 0,
20326
20334
  limit: DEFAULT_PAGE_SIZE
@@ -20339,7 +20347,7 @@ var TRANSFORM_OPTIONS4 = {
20339
20347
  };
20340
20348
  var NoInvoices2 = () => {
20341
20349
  return /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
20342
- import_apsara99.EmptyState,
20350
+ import_apsara98.EmptyState,
20343
20351
  {
20344
20352
  classNames: {
20345
20353
  container: invoices_module_css_default3["empty-state"],
@@ -20353,7 +20361,7 @@ var NoInvoices2 = () => {
20353
20361
  };
20354
20362
  var ErrorState3 = () => {
20355
20363
  return /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
20356
- import_apsara99.EmptyState,
20364
+ import_apsara98.EmptyState,
20357
20365
  {
20358
20366
  classNames: {
20359
20367
  container: invoices_module_css_default3["empty-state"],
@@ -20426,10 +20434,10 @@ function OrganizationInvoicesView() {
20426
20434
  };
20427
20435
  }, [setSearchVisibility, onSearchChange]);
20428
20436
  const columns = getColumns15({ groupCountMap });
20429
- return /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(import_apsara99.Flex, { justify: "center", className: invoices_module_css_default3["container"], children: [
20437
+ return /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(import_apsara98.Flex, { justify: "center", className: invoices_module_css_default3["container"], children: [
20430
20438
  /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(PageTitle, { title }),
20431
20439
  /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
20432
- import_apsara99.DataTable,
20440
+ import_apsara98.DataTable,
20433
20441
  {
20434
20442
  columns,
20435
20443
  data,
@@ -20439,10 +20447,10 @@ function OrganizationInvoicesView() {
20439
20447
  onTableQueryChange,
20440
20448
  onLoadMore: fetchMore,
20441
20449
  query: tableQuery,
20442
- children: /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(import_apsara99.Flex, { direction: "column", style: { width: "100%" }, children: [
20443
- /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(import_apsara99.DataTable.Toolbar, {}),
20450
+ children: /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(import_apsara98.Flex, { direction: "column", style: { width: "100%" }, children: [
20451
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(import_apsara98.DataTable.Toolbar, {}),
20444
20452
  /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
20445
- import_apsara99.DataTable.Content,
20453
+ import_apsara98.DataTable.Content,
20446
20454
  {
20447
20455
  emptyState: isError ? /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(ErrorState3, {}) : /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(NoInvoices2, {}),
20448
20456
  classNames: {
@@ -20459,10 +20467,10 @@ function OrganizationInvoicesView() {
20459
20467
  }
20460
20468
 
20461
20469
  // admin/views/organizations/details/tokens/index.tsx
20462
- var import_apsara101 = require("@raystack/apsara");
20470
+ var import_apsara100 = require("@raystack/apsara");
20463
20471
 
20464
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-dP3WTc8K1jwa/sdk/admin/views/organizations/details/tokens/tokens.module.css.js
20465
- var digest70 = "fca9612e856f3e3049b5dbfae1a43c104f158561eb9dadb279eddb98329f0c93";
20472
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-R03XNL6OTJK1/sdk/admin/views/organizations/details/tokens/tokens.module.css.js
20473
+ var digest70 = "d0d36fc77f877cc201574e13f72fc18be9943b0ffadb240c277d4d5847dba02d";
20466
20474
  var css70 = `._empty-state_ct7gw_1 {
20467
20475
  height: 100%;
20468
20476
  }
@@ -20511,8 +20519,8 @@ var import_react66 = require("react");
20511
20519
  var import_frontier48 = require("@raystack/proton/frontier");
20512
20520
  var import_connect_query44 = require("@connectrpc/connect-query");
20513
20521
 
20514
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-gsg3uaxCbEN7/sdk/admin/views/organizations/details/tokens/tokens.module.css.js
20515
- var digest71 = "2d862b20fd11e67dab7ea1deea0123971a1cc41e4a674bd2e594f22e16ae8c1d";
20522
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-BRwy5YWxbTX8/sdk/admin/views/organizations/details/tokens/tokens.module.css.js
20523
+ var digest71 = "62d980f4441449b6920f591dd95da1b5ecb18fbd02aaa823a1aefd3523afabcd";
20516
20524
  var css71 = `._empty-state_ct7gw_1 {
20517
20525
  height: 100%;
20518
20526
  }
@@ -20557,7 +20565,7 @@ var tokens_module_css_default2 = { "empty-state": "_empty-state_ct7gw_1", "empty
20557
20565
 
20558
20566
  // admin/views/organizations/details/tokens/columns.tsx
20559
20567
  var import_dayjs15 = __toESM(require("dayjs"));
20560
- var import_apsara100 = require("@raystack/apsara");
20568
+ var import_apsara99 = require("@raystack/apsara");
20561
20569
  var import_jsx_runtime104 = require("react/jsx-runtime");
20562
20570
  var getColumns16 = () => {
20563
20571
  return [
@@ -20603,17 +20611,17 @@ var getColumns16 = () => {
20603
20611
  cell: ({ row, getValue }) => {
20604
20612
  const userId = getValue() || "";
20605
20613
  const title = row.original.userTitle || userId;
20606
- const avatarColor = (0, import_apsara100.getAvatarColor)(userId);
20607
- return /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(import_apsara100.Flex, { gap: 4, align: "center", children: [
20614
+ const avatarColor = (0, import_apsara99.getAvatarColor)(userId);
20615
+ return /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(import_apsara99.Flex, { gap: 4, align: "center", children: [
20608
20616
  /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
20609
- import_apsara100.Avatar,
20617
+ import_apsara99.Avatar,
20610
20618
  {
20611
20619
  src: row.original.userAvatar,
20612
20620
  fallback: title?.[0],
20613
20621
  color: avatarColor
20614
20622
  }
20615
20623
  ),
20616
- /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_apsara100.Text, { children: title })
20624
+ /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_apsara99.Text, { children: title })
20617
20625
  ] });
20618
20626
  },
20619
20627
  enableHiding: true
@@ -20623,7 +20631,7 @@ var getColumns16 = () => {
20623
20631
 
20624
20632
  // admin/views/organizations/details/tokens/index.tsx
20625
20633
  var import_jsx_runtime105 = require("react/jsx-runtime");
20626
- var DEFAULT_SORT8 = { name: "created_at", order: "desc" };
20634
+ var DEFAULT_SORT8 = { name: "createdAt", order: "desc" };
20627
20635
  var INITIAL_QUERY9 = {
20628
20636
  offset: 0,
20629
20637
  limit: DEFAULT_PAGE_SIZE
@@ -20641,7 +20649,7 @@ var TRANSFORM_OPTIONS5 = {
20641
20649
  };
20642
20650
  var NoTokens = () => {
20643
20651
  return /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
20644
- import_apsara101.EmptyState,
20652
+ import_apsara100.EmptyState,
20645
20653
  {
20646
20654
  classNames: {
20647
20655
  container: tokens_module_css_default["empty-state"],
@@ -20655,7 +20663,7 @@ var NoTokens = () => {
20655
20663
  };
20656
20664
  var ErrorState4 = () => {
20657
20665
  return /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
20658
- import_apsara101.EmptyState,
20666
+ import_apsara100.EmptyState,
20659
20667
  {
20660
20668
  classNames: {
20661
20669
  container: tokens_module_css_default["empty-state"],
@@ -20727,10 +20735,10 @@ function OrganizationTokensView() {
20727
20735
  };
20728
20736
  }, [setSearchVisibility, onSearchChange]);
20729
20737
  const columns = (0, import_react66.useMemo)(() => getColumns16(), []);
20730
- return /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_apsara101.Flex, { justify: "center", children: [
20738
+ return /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_apsara100.Flex, { justify: "center", children: [
20731
20739
  /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(PageTitle, { title }),
20732
20740
  /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
20733
- import_apsara101.DataTable,
20741
+ import_apsara100.DataTable,
20734
20742
  {
20735
20743
  columns,
20736
20744
  data,
@@ -20740,10 +20748,10 @@ function OrganizationTokensView() {
20740
20748
  onTableQueryChange,
20741
20749
  onLoadMore: fetchMore,
20742
20750
  query: tableQuery,
20743
- children: /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_apsara101.Flex, { direction: "column", style: { width: "100%" }, children: [
20744
- /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_apsara101.DataTable.Toolbar, {}),
20751
+ children: /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_apsara100.Flex, { direction: "column", style: { width: "100%" }, children: [
20752
+ /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_apsara100.DataTable.Toolbar, {}),
20745
20753
  /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
20746
- import_apsara101.DataTable.Content,
20754
+ import_apsara100.DataTable.Content,
20747
20755
  {
20748
20756
  emptyState: isError ? /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(ErrorState4, {}) : /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(NoTokens, {}),
20749
20757
  classNames: {
@@ -20760,10 +20768,10 @@ function OrganizationTokensView() {
20760
20768
  }
20761
20769
 
20762
20770
  // admin/views/organizations/details/apis/index.tsx
20763
- var import_apsara104 = require("@raystack/apsara");
20771
+ var import_apsara103 = require("@raystack/apsara");
20764
20772
 
20765
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-MEA8Y7Qf9qP8/sdk/admin/views/organizations/details/apis/apis.module.css.js
20766
- var digest72 = "dfe449cd218ab723129c4b0ff72805ed86e20786576772a48d81abf04d7c754d";
20773
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-bSWYwcAMw8Rg/sdk/admin/views/organizations/details/apis/apis.module.css.js
20774
+ var digest72 = "6b7ec7e479d6aa93a0ada5da58d29e53f44347b2186c6d47a032a4b9e84fc528";
20767
20775
  var css72 = `._empty-state_r9k2f_1 {
20768
20776
  height: 100%;
20769
20777
  }
@@ -20845,11 +20853,11 @@ var apis_module_css_default = { "empty-state": "_empty-state_r9k2f_1", "emptySta
20845
20853
  var import_react68 = require("react");
20846
20854
 
20847
20855
  // admin/views/organizations/details/apis/columns.tsx
20848
- var import_apsara102 = require("@raystack/apsara");
20856
+ var import_apsara101 = require("@raystack/apsara");
20849
20857
  var import_dayjs16 = __toESM(require("dayjs"));
20850
20858
 
20851
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-byd7BAdfOxRn/sdk/admin/views/organizations/details/apis/apis.module.css.js
20852
- var digest73 = "ff1d5e450310b45b3d7d3a1d34e21303d10541298b42f07e74b1d93c937f6133";
20859
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-mCXYrcidPWy0/sdk/admin/views/organizations/details/apis/apis.module.css.js
20860
+ var digest73 = "bcb1b27068156ed76d89eeee8058ef00f9b45de588de140a7fbd85de48013384";
20853
20861
  var css73 = `._empty-state_r9k2f_1 {
20854
20862
  height: 100%;
20855
20863
  }
@@ -20940,7 +20948,7 @@ function getColumns17(options) {
20940
20948
  },
20941
20949
  cell: ({ getValue }) => {
20942
20950
  const value = getValue();
20943
- return /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_apsara102.Text, { children: value });
20951
+ return /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_apsara101.Text, { children: value });
20944
20952
  },
20945
20953
  enableColumnFilter: true
20946
20954
  },
@@ -20950,7 +20958,7 @@ function getColumns17(options) {
20950
20958
  cell: ({ getValue }) => {
20951
20959
  const value = getValue();
20952
20960
  const projectNames = value.map((project) => project.title).join(", ");
20953
- return /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_apsara102.Text, { children: projectNames });
20961
+ return /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_apsara101.Text, { children: projectNames });
20954
20962
  },
20955
20963
  enableColumnFilter: true
20956
20964
  },
@@ -20970,10 +20978,10 @@ function getColumns17(options) {
20970
20978
  }
20971
20979
 
20972
20980
  // admin/views/organizations/details/apis/details-dialog.tsx
20973
- var import_apsara103 = require("@raystack/apsara");
20981
+ var import_apsara102 = require("@raystack/apsara");
20974
20982
 
20975
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2498-1L105XbHF1IG/sdk/admin/views/organizations/details/apis/apis.module.css.js
20976
- var digest74 = "878db65da923e7061cd45b15d33a8294d9e2afa2865fb017ba574f3365215745";
20983
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-2448-dXwA0sVMZksz/sdk/admin/views/organizations/details/apis/apis.module.css.js
20984
+ var digest74 = "0b6d69b2838be7736400da3945626bc2e7cc2dcf4232deeb8f84b93117160a51";
20977
20985
  var css74 = `._empty-state_r9k2f_1 {
20978
20986
  height: 100%;
20979
20987
  }
@@ -21094,13 +21102,13 @@ var ServiceUserDetailsDialog = ({
21094
21102
  });
21095
21103
  (0, import_react67.useEffect)(() => {
21096
21104
  if (projectError) {
21097
- import_apsara103.toast.error("Something went wrong", {
21105
+ import_apsara102.toast.error("Something went wrong", {
21098
21106
  description: "Unable to fetch projects"
21099
21107
  });
21100
21108
  console.error("Unable to fetch projects:", projectError);
21101
21109
  }
21102
21110
  if (tokenError) {
21103
- import_apsara103.toast.error("Something went wrong", {
21111
+ import_apsara102.toast.error("Something went wrong", {
21104
21112
  description: "Unable to fetch tokens"
21105
21113
  });
21106
21114
  console.error("Unable to fetch tokens:", tokenError);
@@ -21114,58 +21122,58 @@ var ServiceUserDetailsDialog = ({
21114
21122
  },
21115
21123
  [onClose]
21116
21124
  );
21117
- return /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_apsara103.Dialog, { open: id !== "", onOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(import_apsara103.Dialog.Content, { className: apis_module_css_default3["details-dialog"], children: [
21118
- /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(import_apsara103.Dialog.Header, { children: [
21119
- /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_apsara103.Dialog.Title, { children: title }),
21120
- /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_apsara103.Dialog.CloseButton, {})
21125
+ return /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_apsara102.Dialog, { open: id !== "", onOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(import_apsara102.Dialog.Content, { className: apis_module_css_default3["details-dialog"], children: [
21126
+ /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(import_apsara102.Dialog.Header, { children: [
21127
+ /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_apsara102.Dialog.Title, { children: title }),
21128
+ /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_apsara102.Dialog.CloseButton, {})
21121
21129
  ] }),
21122
- /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_apsara103.Dialog.Body, { className: apis_module_css_default3["dialog-body"], children: /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(import_apsara103.Tabs, { defaultValue: "keys", className: apis_module_css_default3["tab-root"], children: [
21123
- /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(import_apsara103.Tabs.List, { children: [
21124
- /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(import_apsara103.Tabs.Trigger, { value: "keys", children: [
21130
+ /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_apsara102.Dialog.Body, { className: apis_module_css_default3["dialog-body"], children: /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(import_apsara102.Tabs, { defaultValue: "keys", className: apis_module_css_default3["tab-root"], children: [
21131
+ /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(import_apsara102.Tabs.List, { children: [
21132
+ /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(import_apsara102.Tabs.Trigger, { value: "keys", children: [
21125
21133
  "API keys",
21126
21134
  " ",
21127
21135
  !isTokenLoading && tokens.length > 0 ? `(${tokens.length})` : ""
21128
21136
  ] }),
21129
- /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(import_apsara103.Tabs.Trigger, { value: "projects", children: [
21137
+ /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(import_apsara102.Tabs.Trigger, { value: "projects", children: [
21130
21138
  "Projects",
21131
21139
  " ",
21132
21140
  !isProjectLoading && projects.length > 0 ? `(${projects.length})` : ""
21133
21141
  ] })
21134
21142
  ] }),
21135
- /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_apsara103.Tabs.Content, { value: "keys", className: apis_module_css_default3["tab-content"], children: isTokenLoading ? /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
21136
- import_apsara103.Skeleton,
21143
+ /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_apsara102.Tabs.Content, { value: "keys", className: apis_module_css_default3["tab-content"], children: isTokenLoading ? /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
21144
+ import_apsara102.Skeleton,
21137
21145
  {
21138
21146
  containerClassName: apis_module_css_default3["skeleton"],
21139
21147
  height: 24,
21140
21148
  count: 10
21141
21149
  }
21142
- ) : /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_apsara103.Flex, { direction: "column", children: tokens.map((token) => /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(
21143
- import_apsara103.Flex,
21150
+ ) : /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_apsara102.Flex, { direction: "column", children: tokens.map((token) => /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(
21151
+ import_apsara102.Flex,
21144
21152
  {
21145
21153
  direction: "column",
21146
21154
  className: apis_module_css_default3["list-item"],
21147
21155
  gap: 2,
21148
21156
  children: [
21149
- /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_apsara103.Text, { weight: "medium", children: token.title }),
21150
- /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_apsara103.Text, { size: "micro", children: timestampToDayjs(token.createdAt)?.format("YYYY-MM-DD") })
21157
+ /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_apsara102.Text, { weight: "medium", children: token.title }),
21158
+ /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_apsara102.Text, { size: "micro", children: timestampToDayjs(token.createdAt)?.format("YYYY-MM-DD") })
21151
21159
  ]
21152
21160
  },
21153
21161
  token.id
21154
21162
  )) }) }),
21155
- /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_apsara103.Tabs.Content, { value: "projects", className: apis_module_css_default3["tab-content"], children: isProjectLoading ? /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
21156
- import_apsara103.Skeleton,
21163
+ /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_apsara102.Tabs.Content, { value: "projects", className: apis_module_css_default3["tab-content"], children: isProjectLoading ? /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
21164
+ import_apsara102.Skeleton,
21157
21165
  {
21158
21166
  containerClassName: apis_module_css_default3["skeleton"],
21159
21167
  height: 24,
21160
21168
  count: 10
21161
21169
  }
21162
- ) : /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_apsara103.Flex, { direction: "column", children: projects.map((project) => /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
21163
- import_apsara103.Flex,
21170
+ ) : /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_apsara102.Flex, { direction: "column", children: projects.map((project) => /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
21171
+ import_apsara102.Flex,
21164
21172
  {
21165
21173
  direction: "column",
21166
21174
  className: apis_module_css_default3["list-item"],
21167
21175
  gap: 2,
21168
- children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_apsara103.Text, { weight: "medium", children: project.title })
21176
+ children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_apsara102.Text, { weight: "medium", children: project.title })
21169
21177
  },
21170
21178
  project.id
21171
21179
  )) }) })
@@ -21179,7 +21187,7 @@ var import_frontier50 = require("@raystack/proton/frontier");
21179
21187
  var import_jsx_runtime108 = require("react/jsx-runtime");
21180
21188
  var NoCredentials = () => {
21181
21189
  return /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
21182
- import_apsara104.EmptyState,
21190
+ import_apsara103.EmptyState,
21183
21191
  {
21184
21192
  classNames: {
21185
21193
  container: apis_module_css_default["empty-state"],
@@ -21193,7 +21201,7 @@ var NoCredentials = () => {
21193
21201
  };
21194
21202
  var ErrorState5 = () => {
21195
21203
  return /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
21196
- import_apsara104.EmptyState,
21204
+ import_apsara103.EmptyState,
21197
21205
  {
21198
21206
  classNames: {
21199
21207
  container: apis_module_css_default["empty-state"],
@@ -21205,7 +21213,7 @@ var ErrorState5 = () => {
21205
21213
  }
21206
21214
  );
21207
21215
  };
21208
- var DEFAULT_SORT9 = { name: "created_at", order: "desc" };
21216
+ var DEFAULT_SORT9 = { name: "createdAt", order: "desc" };
21209
21217
  var INITIAL_QUERY10 = {
21210
21218
  offset: 0,
21211
21219
  limit: DEFAULT_PAGE_SIZE
@@ -21300,7 +21308,7 @@ function OrganizationApisView() {
21300
21308
  }),
21301
21309
  [infiniteData]
21302
21310
  );
21303
- return /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(import_apsara104.Flex, { justify: "center", className: apis_module_css_default["container"], children: [
21311
+ return /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(import_apsara103.Flex, { justify: "center", className: apis_module_css_default["container"], children: [
21304
21312
  /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
21305
21313
  ServiceUserDetailsDialog,
21306
21314
  {
@@ -21310,7 +21318,7 @@ function OrganizationApisView() {
21310
21318
  ),
21311
21319
  /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(PageTitle, { title }),
21312
21320
  /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
21313
- import_apsara104.DataTable,
21321
+ import_apsara103.DataTable,
21314
21322
  {
21315
21323
  query: tableQuery,
21316
21324
  columns,
@@ -21321,10 +21329,10 @@ function OrganizationApisView() {
21321
21329
  mode: "server",
21322
21330
  onLoadMore: handleLoadMore,
21323
21331
  onRowClick,
21324
- children: /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(import_apsara104.Flex, { direction: "column", style: { width: "100%" }, children: [
21325
- /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_apsara104.DataTable.Toolbar, {}),
21332
+ children: /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(import_apsara103.Flex, { direction: "column", style: { width: "100%" }, children: [
21333
+ /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_apsara103.DataTable.Toolbar, {}),
21326
21334
  /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
21327
- import_apsara104.DataTable.Content,
21335
+ import_apsara103.DataTable.Content,
21328
21336
  {
21329
21337
  emptyState: isError ? /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(ErrorState5, {}) : /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(NoCredentials, {}),
21330
21338
  classNames: {