@raystack/frontier 0.99.0 → 0.101.0

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.
@@ -178,6 +178,7 @@ __export(admin_exports, {
178
178
  OrganizationInvoicesView: () => OrganizationInvoicesView,
179
179
  OrganizationListView: () => OrganizationListView,
180
180
  OrganizationMembersView: () => OrganizationMembersView,
181
+ OrganizationPatView: () => OrganizationPatView,
181
182
  OrganizationProjectsView: () => OrganizationProjectsView,
182
183
  OrganizationSecurity: () => OrganizationSecurity,
183
184
  OrganizationTokensView: () => OrganizationTokensView,
@@ -232,8 +233,8 @@ function convertBillingAddressToString(address) {
232
233
  // admin/views/roles/columns.tsx
233
234
  var import_apsara = require("@raystack/apsara");
234
235
 
235
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-NGqOINqHqs8O/sdk/admin/views/roles/roles.module.css.js
236
- var digest = "30579c33e87046b519447edf6a699212f9621b02c99d08217b0306ace700bd36";
236
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-1RFrJ2hPG713/sdk/admin/views/roles/roles.module.css.js
237
+ var digest = "db4f6c182a68498c831d77f05516e85e7a628f2400e692d9c39904976333ab80";
237
238
  var css = `._tableRoot_4yb15_1 {
238
239
  width: 100%;
239
240
  }
@@ -318,8 +319,8 @@ var import_apsara3 = require("@raystack/apsara");
318
319
  // admin/components/PageHeader.tsx
319
320
  var import_apsara2 = require("@raystack/apsara");
320
321
 
321
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-yt9t7tP3LnnG/sdk/admin/components/page-header.module.css.js
322
- var digest2 = "87817f57fa58a8c8c9419a02fdbad5d5955eb08539ca2d70122b88e51079980d";
322
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-QfwDWOL52Lv5/sdk/admin/components/page-header.module.css.js
323
+ var digest2 = "7f4e5d00ab89b98db739abf275c0f73fd54d6fce5fb723663e74dd4de8d30258";
323
324
  var css2 = `._breadcrumb_1kaun_1 {
324
325
  list-style: none;
325
326
  padding: 0;
@@ -425,8 +426,8 @@ function PageHeader({
425
426
  );
426
427
  }
427
428
 
428
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-ySZnOvb7julr/sdk/admin/views/roles/roles.module.css.js
429
- var digest3 = "f86ea28fead314e05a06a8ef53e17cb4238f165e91810bfad69cff135285b836";
429
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-GXu18gDpsHyx/sdk/admin/views/roles/roles.module.css.js
430
+ var digest3 = "41c675ab99cfab644d796b00abffc31a29dba01988c8b93410ad3ee3712933ed";
430
431
  var css3 = `._tableRoot_4yb15_1 {
431
432
  width: 100%;
432
433
  }
@@ -771,6 +772,24 @@ var Link2Icon = /* @__PURE__ */ (0, import_react.forwardRef)(function(_ref, forw
771
772
  clipRule: "evenodd"
772
773
  }));
773
774
  });
775
+ var _excluded$2_ = ["color"];
776
+ var LockClosedIcon = /* @__PURE__ */ (0, import_react.forwardRef)(function(_ref, forwardedRef) {
777
+ var _ref$color = _ref.color, color = _ref$color === void 0 ? "currentColor" : _ref$color, props = _objectWithoutPropertiesLoose(_ref, _excluded$2_);
778
+ return (0, import_react.createElement)("svg", Object.assign({
779
+ width: "15",
780
+ height: "15",
781
+ viewBox: "0 0 15 15",
782
+ fill: "none",
783
+ xmlns: "http://www.w3.org/2000/svg"
784
+ }, props, {
785
+ ref: forwardedRef
786
+ }), (0, import_react.createElement)("path", {
787
+ d: "M5 4.63601C5 3.76031 5.24219 3.1054 5.64323 2.67357C6.03934 2.24705 6.64582 1.9783 7.5014 1.9783C8.35745 1.9783 8.96306 2.24652 9.35823 2.67208C9.75838 3.10299 10 3.75708 10 4.63325V5.99999H5V4.63601ZM4 5.99999V4.63601C4 3.58148 4.29339 2.65754 4.91049 1.99307C5.53252 1.32329 6.42675 0.978302 7.5014 0.978302C8.57583 0.978302 9.46952 1.32233 10.091 1.99162C10.7076 2.65557 11 3.57896 11 4.63325V5.99999H12C12.5523 5.99999 13 6.44771 13 6.99999V13C13 13.5523 12.5523 14 12 14H3C2.44772 14 2 13.5523 2 13V6.99999C2 6.44771 2.44772 5.99999 3 5.99999H4ZM3 6.99999H12V13H3V6.99999Z",
788
+ fill: color,
789
+ fillRule: "evenodd",
790
+ clipRule: "evenodd"
791
+ }));
792
+ });
774
793
  var _excluded$33 = ["color"];
775
794
  var MagnifyingGlassIcon = /* @__PURE__ */ (0, import_react.forwardRef)(function(_ref, forwardedRef) {
776
795
  var _ref$color = _ref.color, color = _ref$color === void 0 ? "currentColor" : _ref$color, props = _objectWithoutPropertiesLoose(_ref, _excluded$33);
@@ -912,8 +931,8 @@ function PageTitle({ title, appName }) {
912
931
  return null;
913
932
  }
914
933
 
915
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-2NOShSWISL5F/sdk/admin/views/roles/roles.module.css.js
916
- var digest4 = "3ee2604a1fc8c1d3b4a597ce8d37a77fc7141ebc4199a981a46fc511b5d13eb1";
934
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-Q5RqeWdEQPIa/sdk/admin/views/roles/roles.module.css.js
935
+ var digest4 = "34a776af7c3c667c48b3795cde3ef4ada0d8f7b0d82c6d22209033f785bd14ae";
917
936
  var css4 = `._tableRoot_4yb15_1 {
918
937
  width: 100%;
919
938
  }
@@ -1091,8 +1110,8 @@ var import_react6 = require("react");
1091
1110
  // admin/views/invoices/navbar.tsx
1092
1111
  var import_apsara7 = require("@raystack/apsara");
1093
1112
 
1094
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-XXflq8pJldc5/sdk/admin/views/invoices/invoices.module.css.js
1095
- var digest5 = "297ad38fb38662470e0ed1f7a3fe29ecac8eec2d3b14bfb00aa6fb4b51b7e749";
1113
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-49PmLTmTocWB/sdk/admin/views/invoices/invoices.module.css.js
1114
+ var digest5 = "91c93e2f2dc108d018e15ba5bf309b5020593d7c3be57633e85a62c8f2bcf212";
1096
1115
  var css5 = `._navbar_9c4wr_1 {
1097
1116
  padding: var(--rs-space-4) var(--rs-space-7);
1098
1117
  border-bottom: 0.5px solid var(--rs-color-border-base-primary);
@@ -1210,8 +1229,8 @@ var InvoicesNavabar = ({ searchQuery }) => {
1210
1229
  ] });
1211
1230
  };
1212
1231
 
1213
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-fjNO7EHNOfJc/sdk/admin/views/invoices/invoices.module.css.js
1214
- var digest6 = "6bb3f2dea8aa8eb062be4b6369b37c0484c30a783afd6a765e1495d75cef3ed0";
1232
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-yZgsb8OGP84V/sdk/admin/views/invoices/invoices.module.css.js
1233
+ var digest6 = "37ddc5c1652c4805fbacfc32e790f5bc25d8e4e99d5a740808be3fac7bcdaf1d";
1215
1234
  var css6 = `._navbar_9c4wr_1 {
1216
1235
  padding: var(--rs-space-4) var(--rs-space-7);
1217
1236
  border-bottom: 0.5px solid var(--rs-color-border-base-primary);
@@ -1757,8 +1776,8 @@ var getColumns3 = (onNavigateToPrices) => {
1757
1776
  // admin/views/products/header.tsx
1758
1777
  var import_apsara11 = require("@raystack/apsara");
1759
1778
 
1760
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-qWvKZUOyIm5O/sdk/admin/views/products/products.module.css.js
1761
- var digest7 = "e74add91d4f4ad06ffd869f3a6368ff19bff2b1a812efa0069f36198a0eb5c39";
1779
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-IixeYkSuUi9K/sdk/admin/views/products/products.module.css.js
1780
+ var digest7 = "0e3155c1238ff343a228247642406f5da751ee0c497b5564b6a7c1da5cddbcb1";
1762
1781
  var css7 = `._tableRoot_1lzjd_1 {
1763
1782
  width: 100%;
1764
1783
  }
@@ -1829,8 +1848,8 @@ var ProductsHeader = ({
1829
1848
  );
1830
1849
  };
1831
1850
 
1832
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-m8FIc0rJ5jgB/sdk/admin/views/products/products.module.css.js
1833
- var digest8 = "cf8ecb757c1b5d2d585c095351b6fd2da341ab29cdda73e028163f481ec3dd69";
1851
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-8C3a7pF2w7ni/sdk/admin/views/products/products.module.css.js
1852
+ var digest8 = "b7766c1abe2114f26a497af634cdb71eff5f041692d9ed6a1a1adb7959e20fc0";
1834
1853
  var css8 = `._tableRoot_1lzjd_1 {
1835
1854
  width: 100%;
1836
1855
  }
@@ -1882,8 +1901,8 @@ var products_module_css_default2 = { "tableRoot": "_tableRoot_1lzjd_1", "tableWr
1882
1901
  // admin/views/products/details.tsx
1883
1902
  var import_apsara12 = require("@raystack/apsara");
1884
1903
 
1885
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-IjmMre6qs5JT/sdk/admin/views/products/products.module.css.js
1886
- var digest9 = "b4960ad9574935d2360234af8afadd595d0ca6fca5423cc56112e6aa91d74905";
1904
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-Iw326gQfQgJR/sdk/admin/views/products/products.module.css.js
1905
+ var digest9 = "8ae32c688e05b3422c1213152645c9b6810932e896ae22fe976774bb8dde302c";
1887
1906
  var css9 = `._tableRoot_1lzjd_1 {
1888
1907
  width: 100%;
1889
1908
  }
@@ -2229,8 +2248,8 @@ function CpuChipIcon(props) {
2229
2248
  );
2230
2249
  }
2231
2250
 
2232
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-kMMSGYm7OW3B/sdk/admin/views/audit-logs/audit-logs.module.css.js
2233
- var digest10 = "11cb1cbc1d81a0bfb08206130494cb543533242145f34dc072808daf7270e74a";
2251
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-zB5kkS2j9w2t/sdk/admin/views/audit-logs/audit-logs.module.css.js
2252
+ var digest10 = "d90236f8aabd2867af719d5b2d8773303233adddf8c11625e4a5144d84b7153c";
2234
2253
  var css10 = `._navbar_sfza7_1 {
2235
2254
  padding: var(--rs-space-4) var(--rs-space-7);
2236
2255
  border-bottom: 0.5px solid var(--rs-color-border-base-primary);
@@ -2446,8 +2465,8 @@ var Navbar = ({ searchQuery, onExportCsv }) => {
2446
2465
  };
2447
2466
  var navbar_default = Navbar;
2448
2467
 
2449
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-4WhDyECzfUC7/sdk/admin/views/audit-logs/audit-logs.module.css.js
2450
- var digest11 = "13739a8e63a2116e32a3e39bc0a068feb6d5352530ae20431b645c7af5e66ef6";
2468
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-u6uZBMJ9wdA6/sdk/admin/views/audit-logs/audit-logs.module.css.js
2469
+ var digest11 = "e832dffc4bb834930eba2eca7236f2be9b08671a85572e3c8993c995f4db19ae";
2451
2470
  var css11 = `._navbar_sfza7_1 {
2452
2471
  padding: var(--rs-space-4) var(--rs-space-7);
2453
2472
  border-bottom: 0.5px solid var(--rs-color-border-base-primary);
@@ -2557,8 +2576,8 @@ var audit_logs_module_css_default2 = { "navbar": "_navbar_sfza7_1", "table": "_t
2557
2576
  var import_apsara18 = require("@raystack/apsara");
2558
2577
  var import_dayjs3 = __toESM(require("dayjs"));
2559
2578
 
2560
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-sW953wZLAHbU/sdk/admin/views/audit-logs/audit-logs.module.css.js
2561
- var digest12 = "8c318f80dcdc4f1a077a5d54afcef2d9abb997624f8b70b0e4173d7896e3b225";
2579
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-V8hygUtqNRWJ/sdk/admin/views/audit-logs/audit-logs.module.css.js
2580
+ var digest12 = "2f45a6a18ba9054608a609f917aee290ffe81dc05f455289839fb56a5e94292f";
2562
2581
  var css12 = `._navbar_sfza7_1 {
2563
2582
  padding: var(--rs-space-4) var(--rs-space-7);
2564
2583
  border-bottom: 0.5px solid var(--rs-color-border-base-primary);
@@ -2821,8 +2840,8 @@ var import_frontier7 = require("@raystack/proton/frontier");
2821
2840
  var import_apsara22 = require("@raystack/apsara");
2822
2841
  var import_apsara23 = require("@raystack/apsara");
2823
2842
 
2824
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-nHdWunVFoUGh/sdk/admin/views/audit-logs/audit-logs.module.css.js
2825
- var digest13 = "999d92d82b7b761fabe7a2e061bd8cb2d643fcf26c3c4455a65e0dd66d0cb390";
2843
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-ofyBbNRvAhaR/sdk/admin/views/audit-logs/audit-logs.module.css.js
2844
+ var digest13 = "0ea2f48e1ba5e08a68a0bb00e44d2f8214bce982f085ab0942e042031d5742f7";
2826
2845
  var css13 = `._navbar_sfza7_1 {
2827
2846
  padding: var(--rs-space-4) var(--rs-space-7);
2828
2847
  border-bottom: 0.5px solid var(--rs-color-border-base-primary);
@@ -2959,8 +2978,8 @@ function MapIcon(props) {
2959
2978
  // admin/views/audit-logs/sidepanel-log-dialog.tsx
2960
2979
  var import_apsara19 = require("@raystack/apsara");
2961
2980
 
2962
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-XIWhPDfd6ci7/sdk/admin/views/audit-logs/audit-logs.module.css.js
2963
- var digest14 = "e41662134d892e3129460d8fbdfed819f390e764378262fad675b439995e7cff";
2981
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-17PN0jKA3j5j/sdk/admin/views/audit-logs/audit-logs.module.css.js
2982
+ var digest14 = "4f4ba049e1ade22c50fe5529a0fac0d397f48297d8ccca0e6d9a1513444fec98";
2964
2983
  var css14 = `._navbar_sfza7_1 {
2965
2984
  padding: var(--rs-space-4) var(--rs-space-7);
2966
2985
  border-bottom: 0.5px solid var(--rs-color-border-base-primary);
@@ -3163,8 +3182,8 @@ function SidePanelLogDialog(props) {
3163
3182
  // admin/views/audit-logs/sidepanel-list-link.tsx
3164
3183
  var import_apsara20 = require("@raystack/apsara");
3165
3184
 
3166
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-yKJE5j7vPvTK/sdk/admin/views/audit-logs/audit-logs.module.css.js
3167
- var digest15 = "964a89f2d04a4011da8d4c16e59e98e45caed84f07ac2ebb8ef17ea1937f364e";
3185
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-Bz9eqIZ3rLlT/sdk/admin/views/audit-logs/audit-logs.module.css.js
3186
+ var digest15 = "1fe97370a36520aade9fb47c35fc77f120ff6650c4a094aea033dfbd66315103";
3168
3187
  var css15 = `._navbar_sfza7_1 {
3169
3188
  padding: var(--rs-space-4) var(--rs-space-7);
3170
3189
  border-bottom: 0.5px solid var(--rs-color-border-base-primary);
@@ -3305,8 +3324,8 @@ function SidepanelListItemLink({
3305
3324
  // admin/views/audit-logs/sidepanel-list-id.tsx
3306
3325
  var import_apsara21 = require("@raystack/apsara");
3307
3326
 
3308
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-B5bDMPkY6NB3/sdk/admin/views/audit-logs/audit-logs.module.css.js
3309
- var digest16 = "69995c79071f0a5521dc5c47123ecfb3ee4113431431579b9e8c104c5d6eda31";
3327
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-b0XBPPual25Q/sdk/admin/views/audit-logs/audit-logs.module.css.js
3328
+ var digest16 = "f5217e9fb827a5c60b23ad904317d73977806106b7150662613c192862ff447b";
3310
3329
  var css16 = `._navbar_sfza7_1 {
3311
3330
  padding: var(--rs-space-4) var(--rs-space-7);
3312
3331
  border-bottom: 0.5px solid var(--rs-color-border-base-primary);
@@ -3872,8 +3891,8 @@ var getColumns6 = ({ onNavigateToOrg, t } = {}) => {
3872
3891
  ];
3873
3892
  };
3874
3893
 
3875
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-ON42uYGHOBCx/sdk/admin/views/admins/admins.module.css.js
3876
- var digest17 = "08a8f89b98e347df9655a1a295114d6b23e90f754b316cc585fdb3765edf92c6";
3894
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-7bLB08ecOapa/sdk/admin/views/admins/admins.module.css.js
3895
+ var digest17 = "86be0d9c4b5d2219ddf4498cb1e407a8ce7f99d444d94b70d1a3bfef0d1507dc";
3877
3896
  var css17 = `._tableRoot_yd6a0_1 {
3878
3897
  width: 100%;
3879
3898
  }
@@ -4030,8 +4049,8 @@ var getColumns7 = ({ onSelectPlan } = {}) => {
4030
4049
  // admin/views/plans/header.tsx
4031
4050
  var import_apsara28 = require("@raystack/apsara");
4032
4051
 
4033
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-qzJUg7v4LevZ/sdk/admin/views/plans/plans.module.css.js
4034
- var digest18 = "ef54a3492810bb82003f24bed8286fd93834319332d17635696f9b556e576b9c";
4052
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-jAzz9oe8vFLd/sdk/admin/views/plans/plans.module.css.js
4053
+ var digest18 = "ad9712cc28f517d086fcfd432f398f85815b76bb66f5638a72ac122b721f71f6";
4035
4054
  var css18 = `._tableRoot_1d6xr_1 {
4036
4055
  width: 100%;
4037
4056
  }
@@ -4084,8 +4103,8 @@ var PlanHeader = ({ header }) => {
4084
4103
  );
4085
4104
  };
4086
4105
 
4087
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-boXOA4jTrnAF/sdk/admin/views/plans/plans.module.css.js
4088
- var digest19 = "b65dc7cab954bc7b768418535092403ffa202487540d4bc57bf896d7e5e25bdc";
4106
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-iVMNLZS5LBrY/sdk/admin/views/plans/plans.module.css.js
4107
+ var digest19 = "e55c99a635a6a765d9f3cbed77360aa5b3ad529f913e6f4559e2fe6c3f0ef835";
4089
4108
  var css19 = `._tableRoot_1d6xr_1 {
4090
4109
  width: 100%;
4091
4110
  }
@@ -4235,8 +4254,8 @@ var import_react18 = require("react");
4235
4254
  // admin/views/webhooks/webhooks/columns.tsx
4236
4255
  var import_apsara32 = require("@raystack/apsara");
4237
4256
 
4238
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-3m8htLeprcpC/sdk/admin/views/webhooks/webhooks/webhooks.module.css.js
4239
- var digest20 = "7811c98ed8f1288523625e444e1ddb1cc12388131419fd892b76c58c5ed7f416";
4257
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-Hj2Qd3JZSL6H/sdk/admin/views/webhooks/webhooks/webhooks.module.css.js
4258
+ var digest20 = "ee33aa36110f9f0bc17dd0ec6f5189d38e136a7c818778da7802299ceb4203d9";
4240
4259
  var css20 = `._tableRoot_h8n52_1 {
4241
4260
  width: 100%;
4242
4261
  }
@@ -4763,8 +4782,8 @@ var getColumns8 = ({ openEditPage, deleteWebhookMutation, enableDelete }) => {
4763
4782
  // admin/views/webhooks/webhooks/header.tsx
4764
4783
  var import_apsara33 = require("@raystack/apsara");
4765
4784
 
4766
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-bsxwUSdEtHOv/sdk/admin/views/webhooks/webhooks/webhooks.module.css.js
4767
- var digest21 = "ad6b9d30c7d22c26109a60e89a28e1b7af33338383b0aedf949301f5b688608d";
4785
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-8xNrHJyJX60i/sdk/admin/views/webhooks/webhooks/webhooks.module.css.js
4786
+ var digest21 = "7303ef79d573caf63aec21dc3dade9360eb07c793e53a3851cae657a31aa630a";
4768
4787
  var css21 = `._tableRoot_h8n52_1 {
4769
4788
  width: 100%;
4770
4789
  }
@@ -4846,8 +4865,8 @@ var WebhooksHeader = ({ header = pageHeader4, onOpenCreate }) => {
4846
4865
  );
4847
4866
  };
4848
4867
 
4849
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-8GcFqAm8nuLn/sdk/admin/views/webhooks/webhooks/webhooks.module.css.js
4850
- var digest22 = "7d7c77aaf50954073eb98bdb230b525020ea4c66dba3f6d531c9d1e9d609551e";
4868
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-bRSox7xS9IZT/sdk/admin/views/webhooks/webhooks/webhooks.module.css.js
4869
+ var digest22 = "2624f27a2964b35d0dfe83d15f2ae6761f96c4b04fbb04e99c70fcec5440c082";
4851
4870
  var css22 = `._tableRoot_h8n52_1 {
4852
4871
  width: 100%;
4853
4872
  }
@@ -9067,7 +9086,7 @@ function createContextScope(scopeName, createContextScopeDeps = []) {
9067
9086
  return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Context.Provider, { value, children });
9068
9087
  };
9069
9088
  Provider.displayName = rootComponentName + "Provider";
9070
- function useContext25(consumerName, scope) {
9089
+ function useContext26(consumerName, scope) {
9071
9090
  const Context = scope?.[scopeName]?.[index] || BaseContext;
9072
9091
  const context = React5.useContext(Context);
9073
9092
  if (context)
@@ -9076,7 +9095,7 @@ function createContextScope(scopeName, createContextScopeDeps = []) {
9076
9095
  return defaultContext;
9077
9096
  throw new Error(`\`${consumerName}\` must be used within \`${rootComponentName}\``);
9078
9097
  }
9079
- return [Provider, useContext25];
9098
+ return [Provider, useContext26];
9080
9099
  }
9081
9100
  const createScope = () => {
9082
9101
  const scopeContexts = defaultContexts.map((defaultContext) => {
@@ -10435,8 +10454,8 @@ var import_apsara41 = require("@raystack/apsara");
10435
10454
  // admin/views/preferences/columns.tsx
10436
10455
  var import_apsara40 = require("@raystack/apsara");
10437
10456
 
10438
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-GgelLvwRb3tf/sdk/admin/views/preferences/preferences.module.css.js
10439
- var digest23 = "5ae160bc88a586e5650c2263de5f4f804e273fd7620f6a6d3186c47876791571";
10457
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-PABQkbzYx60V/sdk/admin/views/preferences/preferences.module.css.js
10458
+ var digest23 = "5b034c853a9a4d8505a14d1a98e22268d1de0cbf98ac6fa300e034c989eb1cd2";
10440
10459
  var css23 = `._tableRoot_j5y5o_1 {
10441
10460
  width: 100%;
10442
10461
  }
@@ -10518,8 +10537,8 @@ var getColumns9 = ({
10518
10537
  ];
10519
10538
  };
10520
10539
 
10521
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-7VVsFwRyTWSu/sdk/admin/views/preferences/preferences.module.css.js
10522
- var digest24 = "0819b7b1a788b06efd053649bbaf2b00d01158a0e6f5a47918431243571b3537";
10540
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-S6mIwKgLkFpW/sdk/admin/views/preferences/preferences.module.css.js
10541
+ var digest24 = "8e32a3b92f1e4e9955cde27e976548a85300fb3054b577b1732a587f20c6b678";
10523
10542
  var css24 = `._tableRoot_j5y5o_1 {
10524
10543
  width: 100%;
10525
10544
  }
@@ -10866,8 +10885,8 @@ var import_apsara47 = require("@raystack/apsara");
10866
10885
  // admin/views/users/list/navbar.tsx
10867
10886
  var import_apsara45 = require("@raystack/apsara");
10868
10887
 
10869
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-nG629UMqXVRQ/sdk/admin/views/users/list/list.module.css.js
10870
- var digest25 = "a6873b5ab79e12510ea0f2f65c6190e7b9338b63c4686d78e406bdaa3da04499";
10888
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-2Dz72zZcslIj/sdk/admin/views/users/list/list.module.css.js
10889
+ var digest25 = "a685684ced9aecbf9e2f63ae613d5df44035a672d7df44db7acdeebd440d5845";
10871
10890
  var css25 = `._navbar_1s15g_1 {
10872
10891
  padding: var(--rs-space-4) var(--rs-space-7);
10873
10892
  border-bottom: 0.5px solid var(--rs-color-border-base-primary);
@@ -10961,8 +10980,8 @@ var import_apsara44 = require("@raystack/apsara");
10961
10980
  var import_react_hook_form4 = require("react-hook-form");
10962
10981
  var import_zod3 = require("@hookform/resolvers/zod");
10963
10982
 
10964
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-MafecVQLkLNM/sdk/admin/views/users/list/invite-users.module.css.js
10965
- var digest26 = "a74fc00ef92460f98c9d04cdf46806870d6cae551d14235cb3180409719a582a";
10983
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-PCqZ60RP2iGd/sdk/admin/views/users/list/invite-users.module.css.js
10984
+ var digest26 = "09dcf6d62f3c063e5a018011db4069b3bf1ad225ff94db7126407fe0613ca309";
10966
10985
  var css26 = `._invite-users-dialog-body_11ujx_1 {
10967
10986
  display: flex;
10968
10987
  flex-direction: column;
@@ -11332,8 +11351,8 @@ var Navbar2 = ({ searchQuery, onExportUsers }) => {
11332
11351
  };
11333
11352
  var navbar_default2 = Navbar2;
11334
11353
 
11335
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-NiKpMwWl9DGJ/sdk/admin/views/users/list/list.module.css.js
11336
- var digest27 = "a4ee09e4457d73b7df92246c6c01ae06bcf33ffe9e6fbf6d1d6831303ad94974";
11354
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-IhIq0MoPzmmw/sdk/admin/views/users/list/list.module.css.js
11355
+ var digest27 = "71a842f43805b566b1948021768e8099e0849850aa834fb5b5ca2ef3143af77f";
11337
11356
  var css27 = `._navbar_1s15g_1 {
11338
11357
  padding: var(--rs-space-4) var(--rs-space-7);
11339
11358
  border-bottom: 0.5px solid var(--rs-color-border-base-primary);
@@ -11397,8 +11416,8 @@ var list_module_css_default2 = { "navbar": "_navbar_1s15g_1", "table": "_table_1
11397
11416
  var import_apsara46 = require("@raystack/apsara");
11398
11417
  var import_dayjs7 = __toESM(require("dayjs"));
11399
11418
 
11400
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-aVSlC92El4TU/sdk/admin/views/users/list/list.module.css.js
11401
- var digest28 = "f39ee1ab420f9808b21692ea5155a8929896172d18608b5bb1c1d5ac3a7eec05";
11419
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-k418OrbfKmG9/sdk/admin/views/users/list/list.module.css.js
11420
+ var digest28 = "b981449c96a981ca2ce3213279c6f9a1a7fff4d52e0da31b0e101ed5699f5f6a";
11402
11421
  var css28 = `._navbar_1s15g_1 {
11403
11422
  padding: var(--rs-space-4) var(--rs-space-7);
11404
11423
  border-bottom: 0.5px solid var(--rs-color-border-base-primary);
@@ -11690,8 +11709,8 @@ var import_apsara53 = require("@raystack/apsara");
11690
11709
  // admin/views/users/details/layout/side-panel-details.tsx
11691
11710
  var import_apsara48 = require("@raystack/apsara");
11692
11711
 
11693
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-RnWs6djWbKU2/sdk/admin/views/users/details/layout/side-panel.module.css.js
11694
- var digest29 = "e135d7aecea214c41f2e361c24a5277d685b2f3cf3da0a3a7fa24f72453897a6";
11712
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-XY0eATJdg0Um/sdk/admin/views/users/details/layout/side-panel.module.css.js
11713
+ var digest29 = "2d7907698b223d39e885bceaf2476bd3cc8d84237dc17db024a75b6f1a67b531";
11695
11714
  var css29 = `._side-panel_1oc3f_1 {
11696
11715
  transform: all 0.3s ease-in-out;
11697
11716
  padding-bottom: 80px;
@@ -11798,8 +11817,8 @@ var SidePanelDetails2 = () => {
11798
11817
  var import_apsara52 = require("@raystack/apsara");
11799
11818
  var import_dayjs8 = __toESM(require("dayjs"));
11800
11819
 
11801
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-4ZHYBeB8JXTX/sdk/admin/views/users/details/layout/side-panel.module.css.js
11802
- var digest30 = "d6905ff79508a6d0cf0c6a32c2562cce8483026563518f3db20101caea35777a";
11820
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-PLygDBkGUAct/sdk/admin/views/users/details/layout/side-panel.module.css.js
11821
+ var digest30 = "5f1c8e71b50e774f168513fb7a2fa003136b574e173a6c554954111303e9812d";
11803
11822
  var css30 = `._side-panel_1oc3f_1 {
11804
11823
  transform: all 0.3s ease-in-out;
11805
11824
  padding-bottom: 80px;
@@ -11862,8 +11881,8 @@ var side_panel_module_css_default2 = { "side-panel": "_side-panel_1oc3f_1", "sid
11862
11881
  // admin/views/users/details/layout/membership-dropdown.tsx
11863
11882
  var import_apsara51 = require("@raystack/apsara");
11864
11883
 
11865
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-lQJDWzR5E65m/sdk/admin/views/users/details/layout/side-panel.module.css.js
11866
- var digest31 = "d901cabb9c1f80d1883eab453de314cb9f6dd47c9a5dcc8404b32960d8e161d5";
11884
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-RhB8jK0Smj17/sdk/admin/views/users/details/layout/side-panel.module.css.js
11885
+ var digest31 = "e5cf39dbdb186543d8d8dc5057f027bef0ba09feb81d7b6ff7ad57cabb74799a";
11867
11886
  var css31 = `._side-panel_1oc3f_1 {
11868
11887
  transform: all 0.3s ease-in-out;
11869
11888
  padding-bottom: 80px;
@@ -12256,8 +12275,8 @@ var SidePanelMembership = ({
12256
12275
  ] });
12257
12276
  };
12258
12277
 
12259
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-ENmRd2WOJUV8/sdk/admin/views/users/details/layout/side-panel.module.css.js
12260
- var digest32 = "9828182ea34c6259d492b30326038a760b10bff1603561983e2c40fc2c7481f2";
12278
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-d7tRB2i03NRH/sdk/admin/views/users/details/layout/side-panel.module.css.js
12279
+ var digest32 = "eff1a30d9813bcab0d631bec6336a317b587b7eb88fca27eb98afb1de6fa594d";
12261
12280
  var css32 = `._side-panel_1oc3f_1 {
12262
12281
  transform: all 0.3s ease-in-out;
12263
12282
  padding-bottom: 80px;
@@ -12375,8 +12394,8 @@ var UserDetailsSidePanel = () => {
12375
12394
  );
12376
12395
  };
12377
12396
 
12378
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-k60vw5PWXet3/sdk/admin/views/users/details/layout/layout.module.css.js
12379
- var digest33 = "9ab4886437e0d21cc5a55510058eeaf9e910555c310be81cc3476068a883a9ad";
12397
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-zZR6Sf7VeLoN/sdk/admin/views/users/details/layout/layout.module.css.js
12398
+ var digest33 = "f7a4fde4506d1ba28273c1f24f72555e59328ef96ee396bf974d2248c3c71567";
12380
12399
  var css33 = `._page_190wz_1 {
12381
12400
  height: 100vh;
12382
12401
  width: 100%;
@@ -12410,8 +12429,8 @@ var layout_module_css_default = { "page": "_page_190wz_1", "main_content": "_mai
12410
12429
  var import_apsara54 = require("@raystack/apsara");
12411
12430
  var import_icons = require("@raystack/apsara/icons");
12412
12431
 
12413
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-gTIxfuiNn1To/sdk/admin/views/users/details/layout/navbar.module.css.js
12414
- var digest34 = "cf64bc7ae938d8d999d83f13b77a74b3769e673c693e5ecedff63e85e353eac7";
12432
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-3bU7ACvAz4l9/sdk/admin/views/users/details/layout/navbar.module.css.js
12433
+ var digest34 = "683333284e8858542d8196f953a99e0524f008346cf51b0355eb068ae1b44600";
12415
12434
  var css34 = `._navbar_1ahsl_1 {
12416
12435
  padding: var(--rs-space-4) var(--rs-space-7);
12417
12436
  border-bottom: 0.5px solid var(--rs-color-border-base-primary);
@@ -12684,8 +12703,8 @@ var import_apsara58 = require("@raystack/apsara");
12684
12703
  // admin/views/users/details/security/sessions/revoke-session-final-confirm.tsx
12685
12704
  var import_apsara57 = require("@raystack/apsara");
12686
12705
 
12687
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-hYtNQbuj3Neb/sdk/admin/views/users/details/security/sessions/sessions.module.css.js
12688
- var digest35 = "d558e152926a215cc134d567dba1db48622a32a017e87d070002aee6036b0b61";
12706
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-Qf4ESv4nn4Xd/sdk/admin/views/users/details/security/sessions/sessions.module.css.js
12707
+ var digest35 = "62f4f509723bdfc083e3676fe9ad7313aaae4267eae5194a8e100305b777f5a4";
12689
12708
  var css35 = `._sessionsContainer_aq82p_1 {
12690
12709
  border: 1px solid var(--rs-color-border-base-primary);
12691
12710
  border-radius: var(--rs-radius-2);
@@ -12806,8 +12825,8 @@ var RevokeSessionFinalConfirm = ({
12806
12825
  ) });
12807
12826
  };
12808
12827
 
12809
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-zxyRZiO1w60L/sdk/admin/views/users/details/security/sessions/sessions.module.css.js
12810
- var digest36 = "dae013dba6320526a7699c34343d9c3f1fd9108d2cdccd3fd7d8438496839d17";
12828
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-1PLEzVJTqEO5/sdk/admin/views/users/details/security/sessions/sessions.module.css.js
12829
+ var digest36 = "371d04e4976d0d40c573f7983e2f889dff25475f8051d727e79822e60773b5d6";
12811
12830
  var css36 = `._sessionsContainer_aq82p_1 {
12812
12831
  border: 1px solid var(--rs-color-border-base-primary);
12813
12832
  border-radius: var(--rs-radius-2);
@@ -12951,8 +12970,8 @@ var RevokeSessionConfirm = ({ isOpen, onOpenChange, sessionInfo, onRevokeConfirm
12951
12970
  // admin/views/users/details/security/sessions/session-skeleton.tsx
12952
12971
  var import_apsara59 = require("@raystack/apsara");
12953
12972
 
12954
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-gv99xuF1k6K9/sdk/admin/views/users/details/security/sessions/sessions.module.css.js
12955
- var digest37 = "a85f9eaae6c050ac1cb99261c90060d40177d5b156d816ca98473c1e7e346bdf";
12973
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-TgTH3rA2dVi6/sdk/admin/views/users/details/security/sessions/sessions.module.css.js
12974
+ var digest37 = "61f0ae6ed3b37ed90c1ce556a85b0821227090c2d5b1648ff82ef60aeddb2d90";
12956
12975
  var css37 = `._sessionsContainer_aq82p_1 {
12957
12976
  border: 1px solid var(--rs-color-border-base-primary);
12958
12977
  border-radius: var(--rs-radius-2);
@@ -13033,8 +13052,8 @@ var import_frontier22 = require("@raystack/proton/frontier");
13033
13052
  var import_dayjs9 = __toESM(require("dayjs"));
13034
13053
  var import_relativeTime = __toESM(require("dayjs/plugin/relativeTime"));
13035
13054
 
13036
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-rTFrxUt8kVFr/sdk/admin/views/users/details/security/sessions/sessions.module.css.js
13037
- var digest38 = "1f6e8bcd3cfdb86571baf3b02b20ed8983e719ef67df0e38fb7ef2b37cfb1f7d";
13055
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-P7RDpXDQ45j5/sdk/admin/views/users/details/security/sessions/sessions.module.css.js
13056
+ var digest38 = "018bd077e9c19e0cf2bbab1fcaab70c50b75da3378b160f2fa9c7c9a18f61764";
13038
13057
  var css38 = `._sessionsContainer_aq82p_1 {
13039
13058
  border: 1px solid var(--rs-color-border-base-primary);
13040
13059
  border-radius: var(--rs-radius-2);
@@ -13243,8 +13262,8 @@ var UserSessions = () => {
13243
13262
  ] });
13244
13263
  };
13245
13264
 
13246
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-TH4GLLoCHQqu/sdk/admin/views/users/details/security/security.module.css.js
13247
- var digest39 = "b381f34ebfc6586e0c9be790930336f4d043a6284843cbfcc0b6f857a3487d00";
13265
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-KMzgf2W3ay0d/sdk/admin/views/users/details/security/security.module.css.js
13266
+ var digest39 = "f29924af0bfe36f1c965317755f85fa8f0210fb5e91e52c256135bc4e0df3fdb";
13248
13267
  var css39 = `._container_4259p_1 {
13249
13268
  width: 100%;
13250
13269
  }
@@ -13370,8 +13389,8 @@ var import_react32 = require("react");
13370
13389
  var import_apsara63 = require("@raystack/apsara");
13371
13390
  var import_icons2 = require("@raystack/apsara/icons");
13372
13391
 
13373
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-mc6uMrbLEZuk/sdk/admin/views/organizations/list/list.module.css.js
13374
- var digest40 = "b0c17d9bf4bb23626bc585ee2ed0b89da0e4bd348c1e461c6767c3a8df2c8156";
13392
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-fV765RnT7qNy/sdk/admin/views/organizations/list/list.module.css.js
13393
+ var digest40 = "71f12b35f32e94ae3680fabea85d8854325023aecb5b547774b8a82f37c61e6e";
13375
13394
  var css40 = `._navbar_1py96_1 {
13376
13395
  padding: var(--rs-space-4) var(--rs-space-7);
13377
13396
  border-bottom: 0.5px solid var(--rs-color-border-base-primary);
@@ -13560,8 +13579,8 @@ var OrganizationsNavabar = ({
13560
13579
  ] });
13561
13580
  };
13562
13581
 
13563
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-Vt4SNdYbsqXu/sdk/admin/views/organizations/list/list.module.css.js
13564
- var digest41 = "8f57c81d1a8d02b0e44f5e98a7a606cb27703d16a8363673ab34f7ce1a1c1920";
13582
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-bAInYsNo4XG5/sdk/admin/views/organizations/list/list.module.css.js
13583
+ var digest41 = "5ce5173bbc6e3fe6140dd011f3aafc5310cdfdbceb83e3c226d1d418c7416c2e";
13565
13584
  var css41 = `._navbar_1py96_1 {
13566
13585
  padding: var(--rs-space-4) var(--rs-space-7);
13567
13586
  border-bottom: 0.5px solid var(--rs-color-border-base-primary);
@@ -13669,8 +13688,8 @@ var list_module_css_default5 = { "navbar": "_navbar_1py96_1", "table": "_table_1
13669
13688
  var import_apsara64 = require("@raystack/apsara");
13670
13689
  var import_dayjs10 = __toESM(require("dayjs"));
13671
13690
 
13672
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-VwnrJCX0Lh7W/sdk/admin/views/organizations/list/list.module.css.js
13673
- var digest42 = "87cb40a0ac545e3eca08466e7fed22b0e4d673cb47eb93afa90336e4e0953590";
13691
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-7Yo5VEJlmskG/sdk/admin/views/organizations/list/list.module.css.js
13692
+ var digest42 = "0c9141abe2761158696321120214a1067f2e35d8f7b9acefce8096f1be389c77";
13674
13693
  var css42 = `._navbar_1py96_1 {
13675
13694
  padding: var(--rs-space-4) var(--rs-space-7);
13676
13695
  border-bottom: 0.5px solid var(--rs-color-border-base-primary);
@@ -13936,8 +13955,8 @@ var import_protobuf9 = require("@bufbuild/protobuf");
13936
13955
  // admin/views/organizations/list/create.tsx
13937
13956
  var import_react31 = require("react");
13938
13957
 
13939
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-5eODeJyfMZBh/sdk/admin/views/organizations/list/list.module.css.js
13940
- var digest43 = "02fc05acb793a988de64ef32ead5a46089f0dcddde8b13b5043be1eedb4d7de4";
13958
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-MSkgMec1WutQ/sdk/admin/views/organizations/list/list.module.css.js
13959
+ var digest43 = "cc31f0bfff820c901e7b87de4d6cd5a31ec9b84e5aa9f6c19a52f68fb887be4c";
13941
13960
  var css43 = `._navbar_1py96_1 {
13942
13961
  padding: var(--rs-space-4) var(--rs-space-7);
13943
13962
  border-bottom: 0.5px solid var(--rs-color-border-base-primary);
@@ -14055,8 +14074,8 @@ var cross_default = 'data:image/svg+xml,<svg width="20" height="20" viewBox="0 0
14055
14074
  // react/components/avatar-upload/index.tsx
14056
14075
  var import_ReactCrop = require("react-image-crop/dist/ReactCrop.css");
14057
14076
 
14058
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-9QvAQhxWmwLj/sdk/react/components/avatar-upload/avatar-upload.module.css.js
14059
- var digest44 = "25c2d6006a62793441a28286a81ddb06e179bec1b74e14dd4ec22f4d9ebf180d";
14077
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-H6X3fYrWpgah/sdk/react/components/avatar-upload/avatar-upload.module.css.js
14078
+ var digest44 = "642157d96e11aacea94d6d7fa65a2f6640d67bd59e74636e937e131e657e75f6";
14060
14079
  var css44 = `._container_1k4dc_1 {
14061
14080
  display: flex;
14062
14081
  flex-direction: column;
@@ -14795,8 +14814,8 @@ var import_protobuf19 = require("@bufbuild/protobuf");
14795
14814
  var import_icons4 = require("@raystack/apsara/icons");
14796
14815
  var import_apsara70 = require("@raystack/apsara");
14797
14816
 
14798
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-KIsvVAE1F3Yy/sdk/admin/views/organizations/details/layout/layout.module.css.js
14799
- var digest45 = "4c0602c107bee0cf1e38079e60baa7f5e6635678588c133e192d8e8be22ee4f6";
14817
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-4miXHYvQh6xc/sdk/admin/views/organizations/details/layout/layout.module.css.js
14818
+ var digest45 = "b3560999372e605e3313b580502f0503f34dddf7a14e748b348d1c69a704dc83";
14800
14819
  var css45 = `._page_1jsqa_1 {
14801
14820
  width: 100%;
14802
14821
  height: 100vh;
@@ -14893,8 +14912,8 @@ var layout_module_css_default2 = { "page": "_page_1jsqa_1", "main_content": "_ma
14893
14912
  var import_apsara68 = require("@raystack/apsara");
14894
14913
  var import_react34 = require("react");
14895
14914
 
14896
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-pwMLOdWaTnml/sdk/admin/views/organizations/details/layout/layout.module.css.js
14897
- var digest46 = "4fc6b8f13e744f0f48a0bc870a08878ff0866ca7f885061cbe7cba068640fa01";
14915
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-e0rsKi0UWZOS/sdk/admin/views/organizations/details/layout/layout.module.css.js
14916
+ var digest46 = "8221ac119d16a0430c4dedcbbb235dcf347ca3db33877bcf6462efc1b6181202";
14898
14917
  var css46 = `._page_1jsqa_1 {
14899
14918
  width: 100%;
14900
14919
  height: 100vh;
@@ -15183,8 +15202,8 @@ var import_apsara69 = require("@raystack/apsara");
15183
15202
  var import_react35 = require("react");
15184
15203
  var import_react_hook_form8 = require("react-hook-form");
15185
15204
 
15186
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-YyMMLXQDm90o/sdk/admin/views/organizations/details/layout/layout.module.css.js
15187
- var digest47 = "281beee7f23ebefc1b6da9690002102e2437231d884821dd594706780f568b27";
15205
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-lZJjIbNRq9bP/sdk/admin/views/organizations/details/layout/layout.module.css.js
15206
+ var digest47 = "99d3e36f49a7fb2e657a5ed38c596061b138d50d18fded8990042625a40441a7";
15188
15207
  var css47 = `._page_1jsqa_1 {
15189
15208
  width: 100%;
15190
15209
  height: 100vh;
@@ -15563,6 +15582,7 @@ var NavLinks = ({
15563
15582
  { name: "Invoices", path: `${basePath}/invoices` },
15564
15583
  { name: "Tokens", path: `${basePath}/tokens` },
15565
15584
  { name: "API", path: `${basePath}/apis` },
15585
+ { name: "PAT", path: `${basePath}/pat` },
15566
15586
  { name: "Security", path: `${basePath}/security` }
15567
15587
  ];
15568
15588
  function checkActive(path) {
@@ -15679,8 +15699,8 @@ var OrganizationsDetailsNavabar = ({
15679
15699
  ] });
15680
15700
  };
15681
15701
 
15682
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-wdwTSSJ78rGT/sdk/admin/views/organizations/details/layout/layout.module.css.js
15683
- var digest48 = "6ef35789733de3ff139039968db044a1df59328e835b87cdb09149b03e2ba38b";
15702
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-4MGTseYrT38g/sdk/admin/views/organizations/details/layout/layout.module.css.js
15703
+ var digest48 = "48083eaa6e385605047c355df63896dfdffaa566e8fe9ce7bc11fbe042f606e0";
15684
15704
  var css48 = `._page_1jsqa_1 {
15685
15705
  width: 100%;
15686
15706
  height: 100vh;
@@ -15782,8 +15802,8 @@ var import_apsara77 = require("@raystack/apsara");
15782
15802
  // admin/views/organizations/details/side-panel/org-details-section.tsx
15783
15803
  var import_apsara71 = require("@raystack/apsara");
15784
15804
 
15785
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-JeLXOPLNeNOl/sdk/admin/views/organizations/details/side-panel/side-panel.module.css.js
15786
- var digest49 = "6081e78f316bb38267ca78e42a43dc2ab6b6f6f3d8bcfdda8198bd534b18d443";
15805
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-TGGg5Zx9q1N9/sdk/admin/views/organizations/details/side-panel/side-panel.module.css.js
15806
+ var digest49 = "9ea4d7819712a085e1294376bf734602b784c0e56fe8fdad3416d71fb2d23121";
15787
15807
  var css49 = `._side-panel-section-item-label_yeg6h_1 {
15788
15808
  width: 120px;
15789
15809
  }
@@ -15873,8 +15893,8 @@ var OrganizationDetailsSection = ({
15873
15893
  var import_apsara72 = require("@raystack/apsara");
15874
15894
  var import_react38 = require("react");
15875
15895
 
15876
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-AqzAELK1KGHS/sdk/admin/views/organizations/details/side-panel/side-panel.module.css.js
15877
- var digest50 = "dcdac44adfa05a67f0d9962d3f57afe7478aa7b065684abb7e05a62a0d6f4a2b";
15896
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-mJbMZdVdEJ3g/sdk/admin/views/organizations/details/side-panel/side-panel.module.css.js
15897
+ var digest50 = "aaeb3ad247db9d77d42c682c53590981d830fedef4c336f95fb96fc4ec3ee840";
15878
15898
  var css50 = `._side-panel-section-item-label_yeg6h_1 {
15879
15899
  width: 120px;
15880
15900
  }
@@ -15957,8 +15977,8 @@ var KYCDetailsSection = () => {
15957
15977
  var import_react39 = require("react");
15958
15978
  var import_apsara73 = require("@raystack/apsara");
15959
15979
 
15960
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-Jhi5I2lKlIat/sdk/admin/views/organizations/details/side-panel/side-panel.module.css.js
15961
- var digest51 = "f2b8bf6b009451bad2bf5235c77b64325f1c00b76da371a258769e72b386dcc5";
15980
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-ayL5i5SgoDfb/sdk/admin/views/organizations/details/side-panel/side-panel.module.css.js
15981
+ var digest51 = "8afa0ccc041237994f2052ed3b1a086ce36180b39f4adf0418d06d098efdd9fc";
15962
15982
  var css51 = `._side-panel-section-item-label_yeg6h_1 {
15963
15983
  width: 120px;
15964
15984
  }
@@ -16059,8 +16079,8 @@ var PlanDetailsSection = () => {
16059
16079
  // admin/views/organizations/details/side-panel/tokens-details-section.tsx
16060
16080
  var import_apsara74 = require("@raystack/apsara");
16061
16081
 
16062
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-RwG22l41dHf9/sdk/admin/views/organizations/details/side-panel/side-panel.module.css.js
16063
- var digest52 = "48046628d2bc967459d5e9f77c39ab7d2d99d1e32657f948424e54ac6a080cc7";
16082
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-nEp6AwfeZKCq/sdk/admin/views/organizations/details/side-panel/side-panel.module.css.js
16083
+ var digest52 = "bca5b2599bcbd21267b0a1c0ba00999ea820b3b3685540b37e5bf10be2308e05";
16064
16084
  var css52 = `._side-panel-section-item-label_yeg6h_1 {
16065
16085
  width: 120px;
16066
16086
  }
@@ -16161,8 +16181,8 @@ var TokensDetailsSection = () => {
16161
16181
  // admin/views/organizations/details/side-panel/billing-details-section.tsx
16162
16182
  var import_apsara75 = require("@raystack/apsara");
16163
16183
 
16164
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-jEZhIIDZ1VQy/sdk/admin/views/organizations/details/side-panel/side-panel.module.css.js
16165
- var digest53 = "12f3660092a545a862e5fb74dad64be9d1dfaab936ea83e91ac3eacdbe08da89";
16184
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-DB2UxRgzh4Dr/sdk/admin/views/organizations/details/side-panel/side-panel.module.css.js
16185
+ var digest53 = "d4075f4c031a7f9110f7839290088ba4407ff9f6abccdb3109415fc9c01d4dfd";
16166
16186
  var css53 = `._side-panel-section-item-label_yeg6h_1 {
16167
16187
  width: 120px;
16168
16188
  }
@@ -16309,8 +16329,8 @@ var import_icons6 = require("@raystack/apsara/icons");
16309
16329
  // admin/views/organizations/details/edit/kyc.tsx
16310
16330
  var import_apsara78 = require("@raystack/apsara");
16311
16331
 
16312
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-vvW4te6PGgPz/sdk/admin/views/organizations/details/edit/edit.module.css.js
16313
- var digest54 = "e17e99ca3b5272804abcbf5b42e3c1503f109dfd3383609d75c35b0469035ab6";
16332
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-xS9qL3vjk4mh/sdk/admin/views/organizations/details/edit/edit.module.css.js
16333
+ var digest54 = "1a88cf29da203a184dcd8b61773fca790ed9a951e402a1062fda37003e98d154";
16314
16334
  var css54 = `._drawer-content_1o0os_1 {
16315
16335
  min-width: 500px;
16316
16336
  padding: 0;
@@ -16547,8 +16567,8 @@ function EditKYCPanel({ onClose }) {
16547
16567
  // admin/views/organizations/details/edit/organization.tsx
16548
16568
  var import_react43 = require("react");
16549
16569
 
16550
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-u1bfRv5wxpTo/sdk/admin/views/organizations/details/edit/edit.module.css.js
16551
- var digest55 = "92fb65dea39e062608dba2298e45ee191acfc83db1e30b0b2a01bf99018c6a6e";
16570
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-zZzTDh5SrIjh/sdk/admin/views/organizations/details/edit/edit.module.css.js
16571
+ var digest55 = "f63464eda0ebd8cb3f009ac2c51328ca960ae83db24d79f6cb8e502914f6224b";
16552
16572
  var css55 = `._drawer-content_1o0os_1 {
16553
16573
  min-width: 500px;
16554
16574
  padding: 0;
@@ -16910,8 +16930,8 @@ function EditOrganizationPanel({ onClose }) {
16910
16930
  // admin/views/organizations/details/edit/billing.tsx
16911
16931
  var import_apsara80 = require("@raystack/apsara");
16912
16932
 
16913
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-QqGS6QOGh0XR/sdk/admin/views/organizations/details/edit/edit.module.css.js
16914
- var digest56 = "e2dbcd7b2b31a81b46929677ac96463ac34c5ad29aa7b365b38cd46381aca1e0";
16933
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-e1vEDmMqKKjw/sdk/admin/views/organizations/details/edit/edit.module.css.js
16934
+ var digest56 = "8e99ef22ba23f2011deb786cf8bfa911686fc327a16b8bc39cf3bcc86509e8d7";
16915
16935
  var css56 = `._drawer-content_1o0os_1 {
16916
16936
  min-width: 500px;
16917
16937
  padding: 0;
@@ -17529,8 +17549,8 @@ var OrganizationDetailsView = ({
17529
17549
  // admin/views/organizations/details/security/index.tsx
17530
17550
  var import_apsara84 = require("@raystack/apsara");
17531
17551
 
17532
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-7I1EZQ8PwOFM/sdk/admin/views/organizations/details/security/security.module.css.js
17533
- var digest57 = "4a0a1256235bb36cf6575edd776daab19812b646b1a1f2e3a1300bb57c9839b4";
17552
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-k4Cqv047qWIt/sdk/admin/views/organizations/details/security/security.module.css.js
17553
+ var digest57 = "a0bc812f9a9abb6bb2318f89ee00c272e09327cd8324d4aead9a21f5068b8410";
17534
17554
  var css57 = `._container_1wkae_1 {
17535
17555
  width: 100%;
17536
17556
  }
@@ -17723,8 +17743,8 @@ var BlockOrganizationSection = () => {
17723
17743
  // admin/views/organizations/details/security/domains-list.tsx
17724
17744
  var import_apsara83 = require("@raystack/apsara");
17725
17745
 
17726
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-w0BtMaMWWXBt/sdk/admin/views/organizations/details/security/security.module.css.js
17727
- var digest58 = "47676d39249b5b64b1fdcc080552e7b9f679350caa1263fc206410a67ff40e72";
17746
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-PBhLK8vwiUN5/sdk/admin/views/organizations/details/security/security.module.css.js
17747
+ var digest58 = "90526ff1cdf8d0d3803e7fc8a0846ee3cbe5040782f13bea11bd2995a8a966f5";
17728
17748
  var css58 = `._container_1wkae_1 {
17729
17749
  width: 100%;
17730
17750
  }
@@ -17945,8 +17965,8 @@ var OrganizationSecurity = () => {
17945
17965
  // admin/views/organizations/details/members/index.tsx
17946
17966
  var import_apsara87 = require("@raystack/apsara");
17947
17967
 
17948
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-z8Wf3XFZLMoD/sdk/admin/views/organizations/details/members/members.module.css.js
17949
- var digest59 = "0a52347b945b2f1350b3118c27bfdcf13523893966189b05c03e8d0573bba358";
17968
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-CPQagwX8kOwc/sdk/admin/views/organizations/details/members/members.module.css.js
17969
+ var digest59 = "70620019d8af51fc91a855d8c4ba911151ec47f990ab0da613a9019db9e65035";
17950
17970
  var css59 = `._container_6bi1j_1 {
17951
17971
  width: 100%;
17952
17972
  }
@@ -18003,8 +18023,8 @@ var import_react52 = require("react");
18003
18023
  // admin/views/organizations/details/members/columns.tsx
18004
18024
  var import_apsara85 = require("@raystack/apsara");
18005
18025
 
18006
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-3cYB3Gci9cSG/sdk/admin/views/organizations/details/members/members.module.css.js
18007
- var digest60 = "53d15adfc3068500fa5f7c9addb4056c4ddc1b8aeb826ea902b5fa2917fbec1f";
18026
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-CYDIYu3mSra2/sdk/admin/views/organizations/details/members/members.module.css.js
18027
+ var digest60 = "67197d9b6c8567a6b16672350a462908d748928cc5b218a95671534994fa71a6";
18008
18028
  var css60 = `._container_6bi1j_1 {
18009
18029
  width: 100%;
18010
18030
  }
@@ -18530,8 +18550,8 @@ function OrganizationMembersView() {
18530
18550
  // admin/views/organizations/details/projects/index.tsx
18531
18551
  var import_apsara96 = require("@raystack/apsara");
18532
18552
 
18533
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-H7P7XP4HsoOc/sdk/admin/views/organizations/details/projects/projects.module.css.js
18534
- var digest61 = "de58d589b688930fdc89eed9a2ddacb2ac0f88b6b263918699f8ee034d8473a7";
18553
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-xSkRiP40pc8D/sdk/admin/views/organizations/details/projects/projects.module.css.js
18554
+ var digest61 = "14363d2f56f70014172322b0f8b97a7125c550ea7fcdf55a155ea0c11a862045";
18535
18555
  var css61 = `._container_1rf4u_1 {
18536
18556
  width: 100%;
18537
18557
  }
@@ -18593,8 +18613,8 @@ var import_react57 = require("react");
18593
18613
  // admin/views/organizations/details/projects/columns.tsx
18594
18614
  var import_apsara90 = require("@raystack/apsara");
18595
18615
 
18596
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-wSa6r8ET49Hm/sdk/admin/views/organizations/details/projects/projects.module.css.js
18597
- var digest62 = "33788df9e0888c5c920c1f074630d73a7e745c85e80b95a26a249a22bf756cdc";
18616
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-kL8LgbesuMUU/sdk/admin/views/organizations/details/projects/projects.module.css.js
18617
+ var digest62 = "4aba182cb2dd32fdc35be48903183c7cb4c333d00692a19dce3c6c1a2c1aaf87";
18598
18618
  var css62 = `._container_1rf4u_1 {
18599
18619
  width: 100%;
18600
18620
  }
@@ -19101,8 +19121,8 @@ var import_protobuf28 = require("@bufbuild/protobuf");
19101
19121
  var import_connect_query41 = require("@connectrpc/connect-query");
19102
19122
  var import_hooks4 = require("@raystack/apsara/hooks");
19103
19123
 
19104
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-TlCf35kQ70F6/sdk/admin/views/organizations/details/projects/members/members.module.css.js
19105
- var digest63 = "4737c1617e2e91fba49ec5af198187eaa02b4e0fd12473ac5916c023300b9f31";
19124
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-GiiVWFta8RpZ/sdk/admin/views/organizations/details/projects/members/members.module.css.js
19125
+ var digest63 = "52847a2e9b097757a72db43de49daf10f89f8e8bacd777d3e95dd27fee5d689c";
19106
19126
  var css63 = `._flex1_1k2kc_1 {
19107
19127
  flex: 1;
19108
19128
  }
@@ -19194,8 +19214,8 @@ var css63 = `._flex1_1k2kc_1 {
19194
19214
  })();
19195
19215
  var members_module_css_default3 = { "flex1": "_flex1_1k2kc_1", "dialog-content": "_dialog-content_1k2kc_5", "dialogContent": "_dialog-content_1k2kc_5", "dialog-body": "_dialog-body_1k2kc_10", "dialogBody": "_dialog-body_1k2kc_10", "empty-state": "_empty-state_1k2kc_14", "emptyState": "_empty-state_1k2kc_14", "empty-state-subheading": "_empty-state-subheading_1k2kc_18", "emptyStateSubheading": "_empty-state-subheading_1k2kc_18", "table": "_table_1k2kc_23", "table-wrapper": "_table-wrapper_1k2kc_28", "tableWrapper": "_table-wrapper_1k2kc_28", "table-header": "_table-header_1k2kc_34", "tableHeader": "_table-header_1k2kc_34", "table-search": "_table-search_1k2kc_39", "tableSearch": "_table-search_1k2kc_39", "table-content-wrapper": "_table-content-wrapper_1k2kc_43", "tableContentWrapper": "_table-content-wrapper_1k2kc_43", "table-action-column": "_table-action-column_1k2kc_47", "tableActionColumn": "_table-action-column_1k2kc_47", "table-action-dropdown": "_table-action-dropdown_1k2kc_51", "tableActionDropdown": "_table-action-dropdown_1k2kc_51", "action-dialog-overlay": "_action-dialog-overlay_1k2kc_56", "actionDialogOverlay": "_action-dialog-overlay_1k2kc_56", "action-dialog-content": "_action-dialog-content_1k2kc_60", "actionDialogContent": "_action-dialog-content_1k2kc_60", "add-member-dropdown": "_add-member-dropdown_1k2kc_64", "addMemberDropdown": "_add-member-dropdown_1k2kc_64", "add-member-dropdown-member": "_add-member-dropdown-member_1k2kc_69", "addMemberDropdownMember": "_add-member-dropdown-member_1k2kc_69", "add-member-dropdown-member-name": "_add-member-dropdown-member-name_1k2kc_73", "addMemberDropdownMemberName": "_add-member-dropdown-member-name_1k2kc_73" };
19196
19216
 
19197
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-TBJJujxsRB1G/sdk/admin/views/organizations/details/projects/members/members.module.css.js
19198
- var digest64 = "1b51d1ee2237153e78f441a187e607a2110e5653bb55599ef0dcdd8b2e1c1b06";
19217
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-BNZUua8OFq7p/sdk/admin/views/organizations/details/projects/members/members.module.css.js
19218
+ var digest64 = "7e00b161fc6c506ff3c7b9816072c2cb0bec7ca076389ccb0e91be3ac8eea906";
19199
19219
  var css64 = `._flex1_1k2kc_1 {
19200
19220
  flex: 1;
19201
19221
  }
@@ -19389,8 +19409,8 @@ var getColumns14 = ({
19389
19409
  // admin/views/organizations/details/projects/members/assign-role.tsx
19390
19410
  var import_apsara92 = require("@raystack/apsara");
19391
19411
 
19392
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-Zb5cUOkW8YWk/sdk/admin/views/organizations/details/projects/members/members.module.css.js
19393
- var digest65 = "72f6c1235f3a12212a8e19a49583d339a0fa281b96653889ec6ca4d256150e1d";
19412
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-CBzUp99XOF89/sdk/admin/views/organizations/details/projects/members/members.module.css.js
19413
+ var digest65 = "9037fddd5ab18d91373ec127f438795f814309d558c99c7fdca7a2aecec4dd60";
19394
19414
  var css65 = `._flex1_1k2kc_1 {
19395
19415
  flex: 1;
19396
19416
  }
@@ -19608,8 +19628,8 @@ var import_frontier44 = require("@raystack/proton/frontier");
19608
19628
  var import_protobuf27 = require("@bufbuild/protobuf");
19609
19629
  var import_connect_query40 = require("@connectrpc/connect-query");
19610
19630
 
19611
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-cNyLRBhkPUbf/sdk/admin/views/organizations/details/projects/members/members.module.css.js
19612
- var digest66 = "ff41d58f20f8dd63be3cf1a72575746d9f21048e13e078ad0211e4447ac08ba0";
19631
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-MvzIv67q6xEg/sdk/admin/views/organizations/details/projects/members/members.module.css.js
19632
+ var digest66 = "2725a9e343b93e826e3e303f5cdfdcdeb47ac5699b5f7d5085a125f47f0a1d09";
19613
19633
  var css66 = `._flex1_1k2kc_1 {
19614
19634
  flex: 1;
19615
19635
  }
@@ -19800,8 +19820,8 @@ var RemoveMember2 = ({
19800
19820
  // admin/views/organizations/details/projects/members/add-members-dropdown.tsx
19801
19821
  var import_apsara94 = require("@raystack/apsara");
19802
19822
 
19803
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-Dy1QOeOFXyyr/sdk/admin/views/organizations/details/projects/members/members.module.css.js
19804
- var digest67 = "41bbd7088c96a1662bc1095c6c6f6c0e584f4a582602e2f51caa0a55f2adde3b";
19823
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-T25r0x3fPT5k/sdk/admin/views/organizations/details/projects/members/members.module.css.js
19824
+ var digest67 = "62c31401d38005135012e435e4ed95c8a513d98b6e59e7f2c9cd3f3070aaff06";
19805
19825
  var css67 = `._flex1_1k2kc_1 {
19806
19826
  flex: 1;
19807
19827
  }
@@ -20335,8 +20355,8 @@ function OrganizationProjectsView() {
20335
20355
  // admin/views/organizations/details/invoices/index.tsx
20336
20356
  var import_apsara98 = require("@raystack/apsara");
20337
20357
 
20338
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-QZWMoMzxXSUb/sdk/admin/views/organizations/details/invoices/invoices.module.css.js
20339
- var digest68 = "9d1a888a38c77e69ccf2a814d89358280bb133efca6a4cba5305879ed2d3e27e";
20358
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-3Kyx0YV44Tiw/sdk/admin/views/organizations/details/invoices/invoices.module.css.js
20359
+ var digest68 = "a208102d57253190cfda17c8c23e4a326aa275c627980588c6433e1ca5ce9926";
20340
20360
  var css68 = `._empty-state_ct7gw_1 {
20341
20361
  height: 100%;
20342
20362
  }
@@ -20382,8 +20402,8 @@ var invoices_module_css_default3 = { "empty-state": "_empty-state_ct7gw_1", "emp
20382
20402
  // admin/views/organizations/details/invoices/index.tsx
20383
20403
  var import_react58 = require("react");
20384
20404
 
20385
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-BMd7dHrp331n/sdk/admin/views/organizations/details/invoices/invoices.module.css.js
20386
- var digest69 = "14d68e89a9847b2cc1d6ae15dbdfac31facd9309e5d4c3ce0b3e736b30f90f1d";
20405
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-Tnqbc4uZlb4Y/sdk/admin/views/organizations/details/invoices/invoices.module.css.js
20406
+ var digest69 = "c0c9d67741e5f35514457d272e9c98fdce8e8b898d968c6c901982754622cc54";
20387
20407
  var css69 = `._empty-state_ct7gw_1 {
20388
20408
  height: 100%;
20389
20409
  }
@@ -20644,8 +20664,8 @@ function OrganizationInvoicesView() {
20644
20664
  // admin/views/organizations/details/tokens/index.tsx
20645
20665
  var import_apsara100 = require("@raystack/apsara");
20646
20666
 
20647
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-T3HaYavyF1SG/sdk/admin/views/organizations/details/tokens/tokens.module.css.js
20648
- var digest70 = "0aba0e4068bad82693a2ed5cb0eb18d72ef46d7a0a6653ce147571c2f5c0f089";
20667
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-hI2Vp78Gh2iK/sdk/admin/views/organizations/details/tokens/tokens.module.css.js
20668
+ var digest70 = "b7da5c76bd5c923457001f37ea688899b99594ce14f6add36754f25bd6876bb5";
20649
20669
  var css70 = `._empty-state_1mf09_1 {
20650
20670
  height: 100%;
20651
20671
  }
@@ -20705,8 +20725,8 @@ var import_react59 = require("react");
20705
20725
  var import_frontier48 = require("@raystack/proton/frontier");
20706
20726
  var import_connect_query44 = require("@connectrpc/connect-query");
20707
20727
 
20708
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-sSHLlw1S8p23/sdk/admin/views/organizations/details/tokens/tokens.module.css.js
20709
- var digest71 = "fe0e9c7ba25281a8b06debc222594fcbb1ef54858887993c794ae8efff2afd2e";
20728
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-ApiGSoP3zb0C/sdk/admin/views/organizations/details/tokens/tokens.module.css.js
20729
+ var digest71 = "c707018cbdd23e3dd7e5396a05c8372d5e9dccc1aca7c740912a69d5f510753a";
20710
20730
  var css71 = `._empty-state_1mf09_1 {
20711
20731
  height: 100%;
20712
20732
  }
@@ -20975,8 +20995,8 @@ function OrganizationTokensView() {
20975
20995
  // admin/views/organizations/details/apis/index.tsx
20976
20996
  var import_apsara103 = require("@raystack/apsara");
20977
20997
 
20978
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-nwZOIaEQ3YCe/sdk/admin/views/organizations/details/apis/apis.module.css.js
20979
- var digest72 = "c0bd22d80a2db180ce7815d2b676c6d0237075089c629f42dcd2eb8b97b18d1a";
20998
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-j3jUCxAebfyo/sdk/admin/views/organizations/details/apis/apis.module.css.js
20999
+ var digest72 = "115063162796c1019821628c528a0502736f8bffa9fc44b4364a2d8b486139c4";
20980
21000
  var css72 = `._empty-state_r9k2f_1 {
20981
21001
  height: 100%;
20982
21002
  }
@@ -21061,8 +21081,8 @@ var import_react61 = require("react");
21061
21081
  var import_apsara101 = require("@raystack/apsara");
21062
21082
  var import_dayjs16 = __toESM(require("dayjs"));
21063
21083
 
21064
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-LlXTCIUvQ3OZ/sdk/admin/views/organizations/details/apis/apis.module.css.js
21065
- var digest73 = "33388c1bcacb14f0322b84f38d14bff74aaf893137c7ca59834122763d58398b";
21084
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-m9J6VWApQ5Ar/sdk/admin/views/organizations/details/apis/apis.module.css.js
21085
+ var digest73 = "3a53277b0c72f7a4cc58f79a3a7f3a53ef249cdaef5ff837bced881831139632";
21066
21086
  var css73 = `._empty-state_r9k2f_1 {
21067
21087
  height: 100%;
21068
21088
  }
@@ -21186,8 +21206,8 @@ function getColumns17(options) {
21186
21206
  // admin/views/organizations/details/apis/details-dialog.tsx
21187
21207
  var import_apsara102 = require("@raystack/apsara");
21188
21208
 
21189
- // esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-euYeZjSj6FqN/sdk/admin/views/organizations/details/apis/apis.module.css.js
21190
- var digest74 = "1fb26aa4ca9ca7e8347a046743ff7ce0c8c50f23c78fca5695d3a3f0247c68ef";
21209
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-OkbNZcXTax0o/sdk/admin/views/organizations/details/apis/apis.module.css.js
21210
+ var digest74 = "55f48c050610fb75f7233d769e58bc1e00c5cf440eaf1bdf0f51e725124f8b1e";
21191
21211
  var css74 = `._empty-state_r9k2f_1 {
21192
21212
  height: 100%;
21193
21213
  }
@@ -21556,6 +21576,641 @@ function OrganizationApisView() {
21556
21576
  )
21557
21577
  ] });
21558
21578
  }
21579
+
21580
+ // admin/views/organizations/details/pat/index.tsx
21581
+ var import_apsara106 = require("@raystack/apsara");
21582
+ var import_react63 = require("react");
21583
+ var import_connect_query48 = require("@connectrpc/connect-query");
21584
+ var import_frontier52 = require("@raystack/proton/frontier");
21585
+
21586
+ // admin/views/organizations/details/pat/columns.tsx
21587
+ var import_apsara104 = require("@raystack/apsara");
21588
+ var import_dayjs17 = __toESM(require("dayjs"));
21589
+ var import_relativeTime2 = __toESM(require("dayjs/plugin/relativeTime"));
21590
+
21591
+ // utils/index.ts
21592
+ var getInitials = function(name = "") {
21593
+ var names = name.split(" "), initials = names[0].substring(0, 1).toUpperCase();
21594
+ if (names.length > 1) {
21595
+ initials += names[names.length - 1].substring(0, 1).toUpperCase();
21596
+ }
21597
+ return initials;
21598
+ };
21599
+
21600
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-QSVFEH9r4SM2/sdk/admin/views/organizations/details/pat/pat.module.css.js
21601
+ var digest75 = "292ea13a5dddf7fdd2397fd9204f26fc55b506be0176d80f8c89b6a214ccc459";
21602
+ var css75 = `._empty-state_hnhtj_1 {
21603
+ height: 100%;
21604
+ }
21605
+
21606
+ ._zero-state-container_hnhtj_5 {
21607
+ padding: var(--rs-space-10);
21608
+ }
21609
+
21610
+ ._empty-state-subheading_hnhtj_9 {
21611
+ max-width: 360px;
21612
+ text-wrap: auto;
21613
+ }
21614
+
21615
+ ._table_hnhtj_14 {
21616
+ width: 100%;
21617
+ table-layout: fixed;
21618
+ }
21619
+
21620
+ ._table-wrapper_hnhtj_19 {
21621
+ /* Navbar Height + Toolbar height */
21622
+ max-height: calc(100vh - 90px);
21623
+ overflow: scroll;
21624
+ }
21625
+
21626
+ ._table-header_hnhtj_25 {
21627
+ z-index: 2;
21628
+ }
21629
+
21630
+ ._first-column_hnhtj_29 {
21631
+ padding-left: var(--rs-space-7);
21632
+ }
21633
+
21634
+ ._truncate-cell_hnhtj_33 > * {
21635
+ width: 100%;
21636
+ min-width: 0;
21637
+ }
21638
+
21639
+ ._truncate-text_hnhtj_38 {
21640
+ display: block;
21641
+ overflow: hidden;
21642
+ text-overflow: ellipsis;
21643
+ white-space: nowrap;
21644
+ }
21645
+ `;
21646
+ (function() {
21647
+ if (typeof document === "undefined") {
21648
+ return;
21649
+ }
21650
+ if (!document.getElementById(digest75)) {
21651
+ var el = document.createElement("style");
21652
+ el.id = digest75;
21653
+ el.textContent = css75;
21654
+ document.head.appendChild(el);
21655
+ }
21656
+ })();
21657
+ var pat_module_css_default = { "empty-state": "_empty-state_hnhtj_1", "emptyState": "_empty-state_hnhtj_1", "zero-state-container": "_zero-state-container_hnhtj_5", "zeroStateContainer": "_zero-state-container_hnhtj_5", "empty-state-subheading": "_empty-state-subheading_hnhtj_9", "emptyStateSubheading": "_empty-state-subheading_hnhtj_9", "table": "_table_hnhtj_14", "table-wrapper": "_table-wrapper_hnhtj_19", "tableWrapper": "_table-wrapper_hnhtj_19", "table-header": "_table-header_hnhtj_25", "tableHeader": "_table-header_hnhtj_25", "first-column": "_first-column_hnhtj_29", "firstColumn": "_first-column_hnhtj_29", "truncate-cell": "_truncate-cell_hnhtj_33", "truncateCell": "_truncate-cell_hnhtj_33", "truncate-text": "_truncate-text_hnhtj_38", "truncateText": "_truncate-text_hnhtj_38" };
21658
+
21659
+ // admin/views/organizations/details/pat/columns.tsx
21660
+ var import_jsx_runtime116 = require("react/jsx-runtime");
21661
+ import_dayjs17.default.extend(import_relativeTime2.default);
21662
+ var DATE_FORMAT = "DD MMM YYYY";
21663
+ function getColumns18({
21664
+ projectsMap
21665
+ }) {
21666
+ return [
21667
+ {
21668
+ accessorKey: "title",
21669
+ header: "Title",
21670
+ classNames: {
21671
+ cell: pat_module_css_default["first-column"],
21672
+ header: pat_module_css_default["first-column"]
21673
+ },
21674
+ cell: ({ getValue }) => {
21675
+ const value = getValue() || "";
21676
+ return /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_apsara104.Text, { className: pat_module_css_default["truncate-text"], children: value });
21677
+ },
21678
+ enableSorting: true,
21679
+ enableColumnFilter: true
21680
+ },
21681
+ {
21682
+ accessorKey: "scopes",
21683
+ header: "Project",
21684
+ classNames: { cell: pat_module_css_default["truncate-cell"] },
21685
+ enableSorting: false,
21686
+ cell: ({ row }) => {
21687
+ const projectScope = row.original.scopes?.find(
21688
+ (scope) => scope.resourceType === SCOPES.PROJECT
21689
+ );
21690
+ const resourceIds = projectScope?.resourceIds ?? [];
21691
+ if (resourceIds.length === 0) {
21692
+ return /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_apsara104.Text, { className: pat_module_css_default["truncate-text"], children: "-" });
21693
+ }
21694
+ const projectNamesText = resourceIds.map(
21695
+ (id) => projectsMap[id]?.title || projectsMap[id]?.name || id
21696
+ ).join(", ");
21697
+ return /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_apsara104.Text, { className: pat_module_css_default["truncate-text"], children: projectNamesText });
21698
+ }
21699
+ },
21700
+ {
21701
+ accessorKey: "createdBy",
21702
+ header: "Created By",
21703
+ enableSorting: false,
21704
+ enableColumnFilter: true,
21705
+ enableHiding: true,
21706
+ cell: ({ row }) => {
21707
+ const createdBy = row.original.createdBy;
21708
+ const userId = createdBy?.id || "";
21709
+ const title = createdBy?.title || createdBy?.email || userId || "-";
21710
+ const avatarColor = (0, import_apsara104.getAvatarColor)(userId);
21711
+ return /* @__PURE__ */ (0, import_jsx_runtime116.jsxs)(import_apsara104.Flex, { gap: 4, align: "center", children: [
21712
+ /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_apsara104.Avatar, { fallback: getInitials(title), color: avatarColor }),
21713
+ /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_apsara104.Text, { className: pat_module_css_default["truncate-text"], children: title })
21714
+ ] });
21715
+ }
21716
+ },
21717
+ {
21718
+ accessorKey: "createdAt",
21719
+ header: "Created On",
21720
+ styles: { header: { width: "152px" } },
21721
+ cell: ({ row }) => {
21722
+ const date = timestampToDayjs(row.original.createdAt);
21723
+ return date ? /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_apsara104.Text, { children: date.format(DATE_FORMAT) }) : /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_apsara104.Text, { children: "-" });
21724
+ },
21725
+ enableSorting: true,
21726
+ enableColumnFilter: true,
21727
+ filterType: "date",
21728
+ enableHiding: true
21729
+ },
21730
+ {
21731
+ accessorKey: "expiresAt",
21732
+ header: "Expiry Date",
21733
+ styles: { header: { width: "152px" } },
21734
+ cell: ({ row }) => {
21735
+ const expiresAt = row.original.expiresAt;
21736
+ if (!expiresAt || isNullTimestamp(expiresAt))
21737
+ return /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_apsara104.Text, { children: "-" });
21738
+ const date = timestampToDayjs(expiresAt);
21739
+ return date ? /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_apsara104.Text, { children: date.format(DATE_FORMAT) }) : /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_apsara104.Text, { children: "-" });
21740
+ },
21741
+ enableSorting: true,
21742
+ enableColumnFilter: true,
21743
+ filterType: "date",
21744
+ enableHiding: true
21745
+ },
21746
+ {
21747
+ accessorKey: "usedAt",
21748
+ header: "Last used",
21749
+ styles: { header: { width: "152px" } },
21750
+ enableSorting: false,
21751
+ enableColumnFilter: true,
21752
+ filterType: "date",
21753
+ enableHiding: true,
21754
+ cell: ({ row }) => {
21755
+ const usedAt = row.original.usedAt;
21756
+ if (!usedAt || isNullTimestamp(usedAt))
21757
+ return /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_apsara104.Text, { children: "-" });
21758
+ const date = timestampToDayjs(usedAt);
21759
+ return date ? /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_apsara104.Text, { children: date.fromNow() }) : /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_apsara104.Text, { children: "-" });
21760
+ }
21761
+ }
21762
+ ];
21763
+ }
21764
+
21765
+ // admin/views/organizations/details/pat/components/pat-details-dialog.tsx
21766
+ var import_react62 = require("react");
21767
+ var import_apsara105 = require("@raystack/apsara");
21768
+ var import_connect_query47 = require("@connectrpc/connect-query");
21769
+ var import_frontier51 = require("@raystack/proton/frontier");
21770
+
21771
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-3iJS1vgTsoZC/sdk/admin/views/organizations/details/pat/components/pat-details-dialog.module.css.js
21772
+ var digest76 = "783e1a7de303eb3963cbcf22a30cf8b0d9aa5739d9d63afe7d5c0e362daaba5c";
21773
+ var css76 = `._details-dialog_1dwlo_1 {
21774
+ width: 100%;
21775
+ max-width: 400px;
21776
+ height: 500px;
21777
+ display: flex;
21778
+ flex-direction: column;
21779
+ }
21780
+
21781
+ ._dialog-body_1dwlo_9 {
21782
+ flex: 1;
21783
+ overflow: hidden;
21784
+ }
21785
+
21786
+ ._tab-root_1dwlo_14 {
21787
+ gap: var(--rs-space-2);
21788
+ height: 100%;
21789
+ display: flex;
21790
+ flex-direction: column;
21791
+ }
21792
+
21793
+ ._tab-content_1dwlo_21 {
21794
+ flex: 1;
21795
+ min-height: 0;
21796
+ overflow: auto;
21797
+ }
21798
+
21799
+ ._list-item_1dwlo_27 {
21800
+ padding: var(--rs-space-5) 0;
21801
+ border-bottom: 0.5px solid var(--rs-color-border-base-primary);
21802
+ }
21803
+
21804
+ ._list-item_1dwlo_27:last-child {
21805
+ border-bottom: none;
21806
+ }
21807
+
21808
+ ._list-item-text_1dwlo_36 {
21809
+ display: block;
21810
+ overflow: hidden;
21811
+ text-overflow: ellipsis;
21812
+ white-space: nowrap;
21813
+ }
21814
+
21815
+ ._skeleton_1dwlo_43 {
21816
+ flex: 1;
21817
+ padding: var(--rs-space-5) 0;
21818
+ }
21819
+
21820
+ ._empty-state_1dwlo_48 {
21821
+ height: 200px;
21822
+ }
21823
+ `;
21824
+ (function() {
21825
+ if (typeof document === "undefined") {
21826
+ return;
21827
+ }
21828
+ if (!document.getElementById(digest76)) {
21829
+ var el = document.createElement("style");
21830
+ el.id = digest76;
21831
+ el.textContent = css76;
21832
+ document.head.appendChild(el);
21833
+ }
21834
+ })();
21835
+ var pat_details_dialog_module_css_default = { "details-dialog": "_details-dialog_1dwlo_1", "detailsDialog": "_details-dialog_1dwlo_1", "dialog-body": "_dialog-body_1dwlo_9", "dialogBody": "_dialog-body_1dwlo_9", "tab-root": "_tab-root_1dwlo_14", "tabRoot": "_tab-root_1dwlo_14", "tab-content": "_tab-content_1dwlo_21", "tabContent": "_tab-content_1dwlo_21", "list-item": "_list-item_1dwlo_27", "listItem": "_list-item_1dwlo_27", "list-item-text": "_list-item-text_1dwlo_36", "listItemText": "_list-item-text_1dwlo_36", "skeleton": "_skeleton_1dwlo_43", "empty-state": "_empty-state_1dwlo_48", "emptyState": "_empty-state_1dwlo_48" };
21836
+
21837
+ // admin/views/organizations/details/pat/components/pat-details-dialog.tsx
21838
+ var import_jsx_runtime117 = require("react/jsx-runtime");
21839
+ function PatDetailsDialog({
21840
+ pat,
21841
+ projectsMap,
21842
+ onClose
21843
+ }) {
21844
+ const t = useTerminology();
21845
+ const open = pat !== null;
21846
+ const projectScope = (0, import_react62.useMemo)(
21847
+ () => pat?.scopes?.find((s) => s.resourceType === SCOPES.PROJECT),
21848
+ [pat]
21849
+ );
21850
+ const orgScope = (0, import_react62.useMemo)(
21851
+ () => pat?.scopes?.find((s) => s.resourceType === SCOPES.ORG),
21852
+ [pat]
21853
+ );
21854
+ const scopeProjectIds = (0, import_react62.useMemo)(() => projectScope?.resourceIds ?? [], [projectScope]);
21855
+ const scopeProjects = (0, import_react62.useMemo)(
21856
+ () => scopeProjectIds.map((id) => projectsMap[id]).filter((p) => Boolean(p)),
21857
+ [scopeProjectIds, projectsMap]
21858
+ );
21859
+ const { data: rolesData, isLoading: isRolesLoading } = (0, import_connect_query47.useQuery)(
21860
+ import_frontier51.FrontierServiceQueries.listRolesForPAT,
21861
+ { scopes: [SCOPES.ORG, SCOPES.PROJECT] },
21862
+ { enabled: open }
21863
+ );
21864
+ const rolesMap = (0, import_react62.useMemo)(() => {
21865
+ const map = {};
21866
+ (rolesData?.roles ?? []).forEach((role) => {
21867
+ if (role.id)
21868
+ map[role.id] = role;
21869
+ });
21870
+ return map;
21871
+ }, [rolesData]);
21872
+ const orgRole = orgScope?.roleId ? rolesMap[orgScope.roleId] : void 0;
21873
+ const projectRole = projectScope?.roleId ? rolesMap[projectScope.roleId] : void 0;
21874
+ const projectCount = scopeProjects.length;
21875
+ const roleEntries = [
21876
+ ...orgScope ? [
21877
+ {
21878
+ id: `org-${orgScope.roleId}`,
21879
+ roleTitle: orgRole?.title || orgRole?.name || orgScope.roleId,
21880
+ scopeLabel: t.organization({ case: "capital" })
21881
+ }
21882
+ ] : [],
21883
+ ...projectScope ? [
21884
+ {
21885
+ id: `project-${projectScope.roleId}`,
21886
+ roleTitle: projectRole?.title || projectRole?.name || projectScope.roleId,
21887
+ scopeLabel: t.project({ plural: true, case: "capital" })
21888
+ }
21889
+ ] : []
21890
+ ];
21891
+ const onOpenChange = (val) => {
21892
+ if (!val)
21893
+ onClose();
21894
+ };
21895
+ return /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(import_apsara105.Dialog, { open, onOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime117.jsxs)(import_apsara105.Dialog.Content, { className: pat_details_dialog_module_css_default["details-dialog"], children: [
21896
+ /* @__PURE__ */ (0, import_jsx_runtime117.jsxs)(import_apsara105.Dialog.Header, { children: [
21897
+ /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(import_apsara105.Dialog.Title, { children: pat?.title || "" }),
21898
+ /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(import_apsara105.Dialog.CloseButton, { "data-test-id": "frontier-sdk-pat-details-dialog-close-btn" })
21899
+ ] }),
21900
+ /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(import_apsara105.Dialog.Body, { className: pat_details_dialog_module_css_default["dialog-body"], children: /* @__PURE__ */ (0, import_jsx_runtime117.jsxs)(import_apsara105.Tabs, { defaultValue: "projects", className: pat_details_dialog_module_css_default["tab-root"], children: [
21901
+ /* @__PURE__ */ (0, import_jsx_runtime117.jsxs)(import_apsara105.Tabs.List, { children: [
21902
+ /* @__PURE__ */ (0, import_jsx_runtime117.jsxs)(import_apsara105.Tabs.Trigger, { value: "projects", children: [
21903
+ t.project({ plural: true, case: "capital" }),
21904
+ " (",
21905
+ projectCount,
21906
+ ")"
21907
+ ] }),
21908
+ /* @__PURE__ */ (0, import_jsx_runtime117.jsxs)(import_apsara105.Tabs.Trigger, { value: "roles", children: [
21909
+ "Roles (",
21910
+ roleEntries.length,
21911
+ ")"
21912
+ ] })
21913
+ ] }),
21914
+ /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(import_apsara105.Tabs.Content, { value: "projects", className: pat_details_dialog_module_css_default["tab-content"], children: scopeProjects.length === 0 ? null : /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(import_apsara105.Flex, { direction: "column", children: scopeProjects.map((project) => /* @__PURE__ */ (0, import_jsx_runtime117.jsx)("div", { className: pat_details_dialog_module_css_default["list-item"], children: /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
21915
+ import_apsara105.Text,
21916
+ {
21917
+ size: "small",
21918
+ weight: "medium",
21919
+ className: pat_details_dialog_module_css_default["list-item-text"],
21920
+ children: project.title || project.name
21921
+ }
21922
+ ) }, project.id)) }) }),
21923
+ /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(import_apsara105.Tabs.Content, { value: "roles", className: pat_details_dialog_module_css_default["tab-content"], children: isRolesLoading ? /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
21924
+ import_apsara105.Skeleton,
21925
+ {
21926
+ containerClassName: pat_details_dialog_module_css_default["skeleton"],
21927
+ height: 20,
21928
+ count: 4
21929
+ }
21930
+ ) : roleEntries.length === 0 ? null : /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(import_apsara105.Flex, { direction: "column", children: roleEntries.map((entry) => /* @__PURE__ */ (0, import_jsx_runtime117.jsxs)(
21931
+ import_apsara105.Flex,
21932
+ {
21933
+ direction: "column",
21934
+ gap: 2,
21935
+ className: pat_details_dialog_module_css_default["list-item"],
21936
+ children: [
21937
+ /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
21938
+ import_apsara105.Text,
21939
+ {
21940
+ size: "small",
21941
+ weight: "medium",
21942
+ className: pat_details_dialog_module_css_default["list-item-text"],
21943
+ children: entry.roleTitle
21944
+ }
21945
+ ),
21946
+ /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
21947
+ import_apsara105.Text,
21948
+ {
21949
+ size: "micro",
21950
+ variant: "tertiary",
21951
+ className: pat_details_dialog_module_css_default["list-item-text"],
21952
+ children: entry.scopeLabel
21953
+ }
21954
+ )
21955
+ ]
21956
+ },
21957
+ entry.id
21958
+ )) }) })
21959
+ ] }) })
21960
+ ] }) });
21961
+ }
21962
+
21963
+ // esbuild-css-modules-plugin-namespace:/tmp/tmp-3100-jWcrsW5C7XxE/sdk/admin/views/organizations/details/pat/pat.module.css.js
21964
+ var digest77 = "4a80b28c2cf9aea22fbc81a06dd0703153af7272299d7cfb6cb679454264d920";
21965
+ var css77 = `._empty-state_hnhtj_1 {
21966
+ height: 100%;
21967
+ }
21968
+
21969
+ ._zero-state-container_hnhtj_5 {
21970
+ padding: var(--rs-space-10);
21971
+ }
21972
+
21973
+ ._empty-state-subheading_hnhtj_9 {
21974
+ max-width: 360px;
21975
+ text-wrap: auto;
21976
+ }
21977
+
21978
+ ._table_hnhtj_14 {
21979
+ width: 100%;
21980
+ table-layout: fixed;
21981
+ }
21982
+
21983
+ ._table-wrapper_hnhtj_19 {
21984
+ /* Navbar Height + Toolbar height */
21985
+ max-height: calc(100vh - 90px);
21986
+ overflow: scroll;
21987
+ }
21988
+
21989
+ ._table-header_hnhtj_25 {
21990
+ z-index: 2;
21991
+ }
21992
+
21993
+ ._first-column_hnhtj_29 {
21994
+ padding-left: var(--rs-space-7);
21995
+ }
21996
+
21997
+ ._truncate-cell_hnhtj_33 > * {
21998
+ width: 100%;
21999
+ min-width: 0;
22000
+ }
22001
+
22002
+ ._truncate-text_hnhtj_38 {
22003
+ display: block;
22004
+ overflow: hidden;
22005
+ text-overflow: ellipsis;
22006
+ white-space: nowrap;
22007
+ }
22008
+ `;
22009
+ (function() {
22010
+ if (typeof document === "undefined") {
22011
+ return;
22012
+ }
22013
+ if (!document.getElementById(digest77)) {
22014
+ var el = document.createElement("style");
22015
+ el.id = digest77;
22016
+ el.textContent = css77;
22017
+ document.head.appendChild(el);
22018
+ }
22019
+ })();
22020
+ var pat_module_css_default2 = { "empty-state": "_empty-state_hnhtj_1", "emptyState": "_empty-state_hnhtj_1", "zero-state-container": "_zero-state-container_hnhtj_5", "zeroStateContainer": "_zero-state-container_hnhtj_5", "empty-state-subheading": "_empty-state-subheading_hnhtj_9", "emptyStateSubheading": "_empty-state-subheading_hnhtj_9", "table": "_table_hnhtj_14", "table-wrapper": "_table-wrapper_hnhtj_19", "tableWrapper": "_table-wrapper_hnhtj_19", "table-header": "_table-header_hnhtj_25", "tableHeader": "_table-header_hnhtj_25", "first-column": "_first-column_hnhtj_29", "firstColumn": "_first-column_hnhtj_29", "truncate-cell": "_truncate-cell_hnhtj_33", "truncateCell": "_truncate-cell_hnhtj_33", "truncate-text": "_truncate-text_hnhtj_38", "truncateText": "_truncate-text_hnhtj_38" };
22021
+
22022
+ // admin/views/organizations/details/pat/index.tsx
22023
+ var import_jsx_runtime118 = require("react/jsx-runtime");
22024
+ var DEFAULT_SORT10 = { name: "createdAt", order: "desc" };
22025
+ var INITIAL_QUERY11 = {
22026
+ offset: 0,
22027
+ limit: DEFAULT_PAGE_SIZE
22028
+ };
22029
+ var TRANSFORM_OPTIONS7 = {
22030
+ fieldNameMapping: {
22031
+ createdAt: "created_at",
22032
+ updatedAt: "updated_at",
22033
+ expiresAt: "expires_at",
22034
+ usedAt: "used_at",
22035
+ createdBy: "created_by_title"
22036
+ }
22037
+ };
22038
+ var NoPats = () => {
22039
+ return /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
22040
+ import_apsara106.EmptyState,
22041
+ {
22042
+ classNames: {
22043
+ container: pat_module_css_default2["empty-state"],
22044
+ subHeading: pat_module_css_default2["empty-state-subheading"]
22045
+ },
22046
+ heading: "No PAT found",
22047
+ subHeading: "We couldn't find any matches for that keyword. Try alternative terms or check for typos.",
22048
+ icon: /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(LockClosedIcon, {})
22049
+ }
22050
+ );
22051
+ };
22052
+ var ZeroState = () => {
22053
+ return /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("div", { className: pat_module_css_default2["zero-state-container"], children: /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
22054
+ import_apsara106.EmptyState,
22055
+ {
22056
+ variant: "empty2",
22057
+ icon: /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(LockClosedIcon, {}),
22058
+ heading: "PAT",
22059
+ subHeading: "Personal access tokens (PATs) provide programmatic access to organization resources via the API on behalf of a user."
22060
+ }
22061
+ ) });
22062
+ };
22063
+ var ErrorState6 = () => {
22064
+ return /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
22065
+ import_apsara106.EmptyState,
22066
+ {
22067
+ classNames: {
22068
+ container: pat_module_css_default2["empty-state"],
22069
+ subHeading: pat_module_css_default2["empty-state-subheading"]
22070
+ },
22071
+ heading: "Error Loading Personal Access Tokens",
22072
+ subHeading: "Something went wrong while loading personal access tokens. Please try refreshing the page.",
22073
+ icon: /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(ExclamationTriangleIcon, {})
22074
+ }
22075
+ );
22076
+ };
22077
+ function OrganizationPatView() {
22078
+ const t = useTerminology();
22079
+ const { organization, search } = (0, import_react63.useContext)(OrganizationContext);
22080
+ const organizationId = organization?.id || "";
22081
+ const {
22082
+ onChange: onSearchChange,
22083
+ setVisibility: setSearchVisibility,
22084
+ query: searchQuery
22085
+ } = search;
22086
+ const [tableQuery, setTableQuery] = (0, import_react63.useState)(INITIAL_QUERY11);
22087
+ const [selectedPat, setSelectedPat] = (0, import_react63.useState)(null);
22088
+ const title = `PAT | ${organization?.title} | ${t.organization({ plural: true, case: "capital" })}`;
22089
+ const computedQuery = (0, import_react63.useMemo)(() => {
22090
+ const tempQuery = transformDataTableQueryToRQLRequest(
22091
+ tableQuery,
22092
+ TRANSFORM_OPTIONS7
22093
+ );
22094
+ return {
22095
+ ...tempQuery,
22096
+ search: searchQuery || ""
22097
+ };
22098
+ }, [tableQuery, searchQuery]);
22099
+ const [query] = useDebounceValue(computedQuery, 200);
22100
+ const {
22101
+ data: infiniteData,
22102
+ isLoading,
22103
+ isFetchingNextPage,
22104
+ fetchNextPage,
22105
+ hasNextPage,
22106
+ isError
22107
+ } = (0, import_connect_query48.useInfiniteQuery)(
22108
+ import_frontier52.AdminServiceQueries.searchOrganizationPATs,
22109
+ { orgId: organizationId, query },
22110
+ {
22111
+ enabled: !!organizationId,
22112
+ pageParamKey: "query",
22113
+ getNextPageParam: (lastPage) => getConnectNextPageParam(lastPage, { query }, "organizationPats"),
22114
+ staleTime: 0,
22115
+ refetchOnWindowFocus: false,
22116
+ retry: 1,
22117
+ retryDelay: 1e3
22118
+ }
22119
+ );
22120
+ const { data: projects = [] } = (0, import_connect_query48.useQuery)(
22121
+ import_frontier52.FrontierServiceQueries.listOrganizationProjects,
22122
+ { id: organizationId, state: "", withMemberCount: false },
22123
+ {
22124
+ enabled: !!organizationId,
22125
+ select: (data2) => data2?.projects || []
22126
+ }
22127
+ );
22128
+ const projectsMap = (0, import_react63.useMemo)(
22129
+ () => projects.reduce(
22130
+ (acc, project) => {
22131
+ if (project.id)
22132
+ acc[project.id] = project;
22133
+ return acc;
22134
+ },
22135
+ {}
22136
+ ),
22137
+ [projects]
22138
+ );
22139
+ const data = (0, import_react63.useMemo)(
22140
+ () => infiniteData?.pages?.flatMap((page) => page?.organizationPats ?? []) ?? [],
22141
+ [infiniteData]
22142
+ );
22143
+ const loading = (isLoading || isFetchingNextPage) && !isError;
22144
+ const hasActiveQuery = Boolean(query.search || query.filters?.length);
22145
+ const showZeroState = !isLoading && !isError && !hasActiveQuery && data.length === 0;
22146
+ const onTableQueryChange = (newQuery) => {
22147
+ setTableQuery(newQuery);
22148
+ };
22149
+ const fetchMore = async () => {
22150
+ if (hasNextPage && !isFetchingNextPage && !isError) {
22151
+ await fetchNextPage();
22152
+ }
22153
+ };
22154
+ (0, import_react63.useEffect)(() => {
22155
+ setSearchVisibility(true);
22156
+ return () => {
22157
+ onSearchChange("");
22158
+ setSearchVisibility(false);
22159
+ };
22160
+ }, [setSearchVisibility, onSearchChange]);
22161
+ const columns = (0, import_react63.useMemo)(
22162
+ () => getColumns18({ projectsMap }),
22163
+ [projectsMap]
22164
+ );
22165
+ const onRowClick = (0, import_react63.useCallback)(
22166
+ (row) => {
22167
+ setSelectedPat(row);
22168
+ },
22169
+ []
22170
+ );
22171
+ const onDialogClose = (0, import_react63.useCallback)(() => {
22172
+ setSelectedPat(null);
22173
+ }, []);
22174
+ return /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)(import_apsara106.Flex, { justify: "center", children: [
22175
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(PageTitle, { title }),
22176
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
22177
+ PatDetailsDialog,
22178
+ {
22179
+ pat: selectedPat,
22180
+ projectsMap,
22181
+ onClose: onDialogClose
22182
+ }
22183
+ ),
22184
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
22185
+ import_apsara106.DataTable,
22186
+ {
22187
+ columns,
22188
+ data,
22189
+ isLoading: loading,
22190
+ defaultSort: DEFAULT_SORT10,
22191
+ mode: "server",
22192
+ onTableQueryChange,
22193
+ onLoadMore: fetchMore,
22194
+ onRowClick,
22195
+ query: tableQuery,
22196
+ children: /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)(import_apsara106.Flex, { direction: "column", style: { width: "100%" }, children: [
22197
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(import_apsara106.DataTable.Toolbar, {}),
22198
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
22199
+ import_apsara106.DataTable.Content,
22200
+ {
22201
+ emptyState: showZeroState ? /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(ZeroState, {}) : isError ? /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(ErrorState6, {}) : /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(NoPats, {}),
22202
+ classNames: {
22203
+ table: pat_module_css_default2["table"],
22204
+ root: pat_module_css_default2["table-wrapper"],
22205
+ header: pat_module_css_default2["table-header"]
22206
+ }
22207
+ }
22208
+ )
22209
+ ] })
22210
+ }
22211
+ )
22212
+ ] });
22213
+ }
21559
22214
  // Annotate the CommonJS export names for ESM import in node:
21560
22215
  0 && (module.exports = {
21561
22216
  AdminConfigProvider,
@@ -21568,6 +22223,7 @@ function OrganizationApisView() {
21568
22223
  OrganizationInvoicesView,
21569
22224
  OrganizationListView,
21570
22225
  OrganizationMembersView,
22226
+ OrganizationPatView,
21571
22227
  OrganizationProjectsView,
21572
22228
  OrganizationSecurity,
21573
22229
  OrganizationTokensView,