@raystack/frontier 0.98.0 → 0.99.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.
- package/admin/dist/index.js +152 -152
- package/admin/dist/index.mjs +209 -209
- package/package.json +2 -2
- package/react/dist/index.d.ts +13 -1
- package/react/dist/index.js +1974 -228
- package/react/dist/index.mjs +2037 -228
package/admin/dist/index.mjs
CHANGED
|
@@ -196,8 +196,8 @@ function convertBillingAddressToString(address) {
|
|
|
196
196
|
// admin/views/roles/columns.tsx
|
|
197
197
|
import { Flex } from "@raystack/apsara";
|
|
198
198
|
|
|
199
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
200
|
-
var digest = "
|
|
199
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-3B3yHesHAyGl/sdk/admin/views/roles/roles.module.css.js
|
|
200
|
+
var digest = "7b8c0e17711c1c7c4971710ee98aa97db47956f4e3080b88bc64edf9e97c275d";
|
|
201
201
|
var css = `._tableRoot_4yb15_1 {
|
|
202
202
|
width: 100%;
|
|
203
203
|
}
|
|
@@ -282,8 +282,8 @@ import { DataTable } from "@raystack/apsara";
|
|
|
282
282
|
// admin/components/PageHeader.tsx
|
|
283
283
|
import { Flex as Flex2, Text } from "@raystack/apsara";
|
|
284
284
|
|
|
285
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
286
|
-
var digest2 = "
|
|
285
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-o8Cc9S3hxOp8/sdk/admin/components/page-header.module.css.js
|
|
286
|
+
var digest2 = "73d377549210e9b2254e67f1d95a390a8c1773e5045a3466e7ba85207fd27cff";
|
|
287
287
|
var css2 = `._breadcrumb_1kaun_1 {
|
|
288
288
|
list-style: none;
|
|
289
289
|
padding: 0;
|
|
@@ -389,8 +389,8 @@ function PageHeader({
|
|
|
389
389
|
);
|
|
390
390
|
}
|
|
391
391
|
|
|
392
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
393
|
-
var digest3 = "
|
|
392
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-uUMf65P938dj/sdk/admin/views/roles/roles.module.css.js
|
|
393
|
+
var digest3 = "291a2e93ddb7c14c82a444834b2685c849839c50c11cafe659c6ef079b43071c";
|
|
394
394
|
var css3 = `._tableRoot_4yb15_1 {
|
|
395
395
|
width: 100%;
|
|
396
396
|
}
|
|
@@ -876,8 +876,8 @@ function PageTitle({ title, appName }) {
|
|
|
876
876
|
return null;
|
|
877
877
|
}
|
|
878
878
|
|
|
879
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
880
|
-
var digest4 = "
|
|
879
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-qhw5IT0cEhmw/sdk/admin/views/roles/roles.module.css.js
|
|
880
|
+
var digest4 = "06fe1d249c645ec9625148da6d3f45629b2ddca3d793b7a43114c166c1058793";
|
|
881
881
|
var css4 = `._tableRoot_4yb15_1 {
|
|
882
882
|
width: 100%;
|
|
883
883
|
}
|
|
@@ -1059,8 +1059,8 @@ import { useState as useState3 } from "react";
|
|
|
1059
1059
|
// admin/views/invoices/navbar.tsx
|
|
1060
1060
|
import { DataTable as DataTable3, Flex as Flex6, IconButton, Text as Text4 } from "@raystack/apsara";
|
|
1061
1061
|
|
|
1062
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
1063
|
-
var digest5 = "
|
|
1062
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-aZFkXm55dx4a/sdk/admin/views/invoices/invoices.module.css.js
|
|
1063
|
+
var digest5 = "2335d9d76da129e73f213cfe3c501b4ddac9a0c39ac2ed3825c8250938249265";
|
|
1064
1064
|
var css5 = `._navbar_9c4wr_1 {
|
|
1065
1065
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
1066
1066
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -1178,8 +1178,8 @@ var InvoicesNavabar = ({ searchQuery }) => {
|
|
|
1178
1178
|
] });
|
|
1179
1179
|
};
|
|
1180
1180
|
|
|
1181
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
1182
|
-
var digest6 = "
|
|
1181
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-DurkjiSOio8S/sdk/admin/views/invoices/invoices.module.css.js
|
|
1182
|
+
var digest6 = "8d06ae1afa0064d2741ceb2f8a7321eed98a4f34fe08633de4a02196be496b5f";
|
|
1183
1183
|
var css6 = `._navbar_9c4wr_1 {
|
|
1184
1184
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
1185
1185
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -1313,7 +1313,7 @@ var getColumns2 = ({ t }) => {
|
|
|
1313
1313
|
import { useInfiniteQuery } from "@connectrpc/connect-query";
|
|
1314
1314
|
import { AdminServiceQueries } from "@raystack/proton/frontier";
|
|
1315
1315
|
|
|
1316
|
-
//
|
|
1316
|
+
// utils/connect-pagination.ts
|
|
1317
1317
|
var DEFAULT_PAGE_SIZE = 50;
|
|
1318
1318
|
function getConnectNextPageParam(lastPage, queryParams, itemsKey = "organizations") {
|
|
1319
1319
|
const pagination = lastPage.pagination;
|
|
@@ -1351,7 +1351,7 @@ function getGroupCountMapFromFirstPage(infiniteData) {
|
|
|
1351
1351
|
return { [groupKey]: groupCount };
|
|
1352
1352
|
}
|
|
1353
1353
|
|
|
1354
|
-
//
|
|
1354
|
+
// utils/transform-query.ts
|
|
1355
1355
|
import { RQLRequestSchema, RQLFilterSchema, RQLSortSchema } from "@raystack/proton/frontier";
|
|
1356
1356
|
import { create } from "@bufbuild/protobuf";
|
|
1357
1357
|
function convertFilterValue(value) {
|
|
@@ -1725,8 +1725,8 @@ var getColumns3 = (onNavigateToPrices) => {
|
|
|
1725
1725
|
// admin/views/products/header.tsx
|
|
1726
1726
|
import { DataTable as DataTable5 } from "@raystack/apsara";
|
|
1727
1727
|
|
|
1728
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
1729
|
-
var digest7 = "
|
|
1728
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-O3N9NjV7wGfT/sdk/admin/views/products/products.module.css.js
|
|
1729
|
+
var digest7 = "596990114a52b4dfada3e03d8994052a1b2ece1890a65f62ec398fb750087388";
|
|
1730
1730
|
var css7 = `._tableRoot_1lzjd_1 {
|
|
1731
1731
|
width: 100%;
|
|
1732
1732
|
}
|
|
@@ -1797,8 +1797,8 @@ var ProductsHeader = ({
|
|
|
1797
1797
|
);
|
|
1798
1798
|
};
|
|
1799
1799
|
|
|
1800
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
1801
|
-
var digest8 = "
|
|
1800
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-M0ynyVwREz5R/sdk/admin/views/products/products.module.css.js
|
|
1801
|
+
var digest8 = "97dbf49d623d3be02646530ac27ba287e19497dc6370451dfc6c5cbf32bc6087";
|
|
1802
1802
|
var css8 = `._tableRoot_1lzjd_1 {
|
|
1803
1803
|
width: 100%;
|
|
1804
1804
|
}
|
|
@@ -1850,8 +1850,8 @@ var products_module_css_default2 = { "tableRoot": "_tableRoot_1lzjd_1", "tableWr
|
|
|
1850
1850
|
// admin/views/products/details.tsx
|
|
1851
1851
|
import { Flex as Flex9, Text as Text6, Grid as Grid2, Sheet as Sheet2 } from "@raystack/apsara";
|
|
1852
1852
|
|
|
1853
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
1854
|
-
var digest9 = "
|
|
1853
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-eaVePBLFLrHR/sdk/admin/views/products/products.module.css.js
|
|
1854
|
+
var digest9 = "8faa852e42519b6b7004de2d04605a7dd64edd422a143004bcac1eef6e7d7131";
|
|
1855
1855
|
var css9 = `._tableRoot_1lzjd_1 {
|
|
1856
1856
|
width: 100%;
|
|
1857
1857
|
}
|
|
@@ -2201,8 +2201,8 @@ function CpuChipIcon(props) {
|
|
|
2201
2201
|
);
|
|
2202
2202
|
}
|
|
2203
2203
|
|
|
2204
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
2205
|
-
var digest10 = "
|
|
2204
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-YU3TsFsE5g8L/sdk/admin/views/audit-logs/audit-logs.module.css.js
|
|
2205
|
+
var digest10 = "a66acd900c39ecf0711580891ce1506f1db2465732836e362a3de9834726ad2f";
|
|
2206
2206
|
var css10 = `._navbar_sfza7_1 {
|
|
2207
2207
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
2208
2208
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -2420,8 +2420,8 @@ var Navbar = ({ searchQuery, onExportCsv }) => {
|
|
|
2420
2420
|
};
|
|
2421
2421
|
var navbar_default = Navbar;
|
|
2422
2422
|
|
|
2423
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
2424
|
-
var digest11 = "
|
|
2423
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-QGWAWMbfeIbb/sdk/admin/views/audit-logs/audit-logs.module.css.js
|
|
2424
|
+
var digest11 = "93dd4d6e2c147cd4aaec151ccde8701f0f09c210491ac928ba8b2d29ab273518";
|
|
2425
2425
|
var css11 = `._navbar_sfza7_1 {
|
|
2426
2426
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
2427
2427
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -2531,8 +2531,8 @@ var audit_logs_module_css_default2 = { "navbar": "_navbar_sfza7_1", "table": "_t
|
|
|
2531
2531
|
import { Badge, Flex as Flex14, Text as Text9 } from "@raystack/apsara";
|
|
2532
2532
|
import dayjs3 from "dayjs";
|
|
2533
2533
|
|
|
2534
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
2535
|
-
var digest12 = "
|
|
2534
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-FzEgl2WAVOwt/sdk/admin/views/audit-logs/audit-logs.module.css.js
|
|
2535
|
+
var digest12 = "758c2bebd0270f8e3e69c2dac3bf259a40379eb48416b1f8d44489c89c7a5e9c";
|
|
2536
2536
|
var css12 = `._navbar_sfza7_1 {
|
|
2537
2537
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
2538
2538
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -2797,8 +2797,8 @@ import {
|
|
|
2797
2797
|
import { Flex as Flex16, IconButton as IconButton4, SidePanel } from "@raystack/apsara";
|
|
2798
2798
|
import { List as List3 } from "@raystack/apsara";
|
|
2799
2799
|
|
|
2800
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
2801
|
-
var digest13 = "
|
|
2800
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-WDjVWOoGB9AS/sdk/admin/views/audit-logs/audit-logs.module.css.js
|
|
2801
|
+
var digest13 = "e83b5fb2fd3960da4791ef841e9a63d78dbc0911c5bd636dd6cbcf1234be8627";
|
|
2802
2802
|
var css13 = `._navbar_sfza7_1 {
|
|
2803
2803
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
2804
2804
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -2935,8 +2935,8 @@ function MapIcon(props) {
|
|
|
2935
2935
|
// admin/views/audit-logs/sidepanel-log-dialog.tsx
|
|
2936
2936
|
import { Dialog, IconButton as IconButton3, CodeBlock } from "@raystack/apsara";
|
|
2937
2937
|
|
|
2938
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
2939
|
-
var digest14 = "
|
|
2938
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-Ll8aCITuxWyy/sdk/admin/views/audit-logs/audit-logs.module.css.js
|
|
2939
|
+
var digest14 = "de95e53d8dca36197b38e7a78cc83ed3fd5ce04206d8418a7800c871cb8cc54a";
|
|
2940
2940
|
var css14 = `._navbar_sfza7_1 {
|
|
2941
2941
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
2942
2942
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -3139,8 +3139,8 @@ function SidePanelLogDialog(props) {
|
|
|
3139
3139
|
// admin/views/audit-logs/sidepanel-list-link.tsx
|
|
3140
3140
|
import { Button, List } from "@raystack/apsara";
|
|
3141
3141
|
|
|
3142
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
3143
|
-
var digest15 = "
|
|
3142
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-QydftUSBFjVR/sdk/admin/views/audit-logs/audit-logs.module.css.js
|
|
3143
|
+
var digest15 = "1fc87553653588fd901dd83866ff1e0f5e78f09ab1f4b956358b4d6e14ad49cb";
|
|
3144
3144
|
var css15 = `._navbar_sfza7_1 {
|
|
3145
3145
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
3146
3146
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -3281,8 +3281,8 @@ function SidepanelListItemLink({
|
|
|
3281
3281
|
// admin/views/audit-logs/sidepanel-list-id.tsx
|
|
3282
3282
|
import { CopyButton, Flex as Flex15, List as List2, Text as Text10, Tooltip } from "@raystack/apsara";
|
|
3283
3283
|
|
|
3284
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
3285
|
-
var digest16 = "
|
|
3284
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-ADXVA1V2GVt1/sdk/admin/views/audit-logs/audit-logs.module.css.js
|
|
3285
|
+
var digest16 = "8bf748fdbb5b87a2fd40073c639d1074a96a4241569bc8428f8b874a485f74e9";
|
|
3286
3286
|
var css16 = `._navbar_sfza7_1 {
|
|
3287
3287
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
3288
3288
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -3848,8 +3848,8 @@ var getColumns6 = ({ onNavigateToOrg, t } = {}) => {
|
|
|
3848
3848
|
];
|
|
3849
3849
|
};
|
|
3850
3850
|
|
|
3851
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
3852
|
-
var digest17 = "
|
|
3851
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-E5Zd0G05rDVL/sdk/admin/views/admins/admins.module.css.js
|
|
3852
|
+
var digest17 = "5cd72e71043cbf53835fc5b3e7ee4bdaad1e4bae5b647fd8be2ea3b6fcb9c299";
|
|
3853
3853
|
var css17 = `._tableRoot_yd6a0_1 {
|
|
3854
3854
|
width: 100%;
|
|
3855
3855
|
}
|
|
@@ -4006,8 +4006,8 @@ var getColumns7 = ({ onSelectPlan } = {}) => {
|
|
|
4006
4006
|
// admin/views/plans/header.tsx
|
|
4007
4007
|
import { DataTable as DataTable11 } from "@raystack/apsara";
|
|
4008
4008
|
|
|
4009
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
4010
|
-
var digest18 = "
|
|
4009
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-4LLp9JnFi1kP/sdk/admin/views/plans/plans.module.css.js
|
|
4010
|
+
var digest18 = "a20281155df52403ec3532ba7857c15333179c68da5033ea78b7aaa4840a70aa";
|
|
4011
4011
|
var css18 = `._tableRoot_1d6xr_1 {
|
|
4012
4012
|
width: 100%;
|
|
4013
4013
|
}
|
|
@@ -4060,8 +4060,8 @@ var PlanHeader = ({ header }) => {
|
|
|
4060
4060
|
);
|
|
4061
4061
|
};
|
|
4062
4062
|
|
|
4063
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
4064
|
-
var digest19 = "
|
|
4063
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-CIfjJ3v4fO7h/sdk/admin/views/plans/plans.module.css.js
|
|
4064
|
+
var digest19 = "d01f4c65e8295fafb6d09868f771d5a363121abb12e73b1b57be6f4ee5613a96";
|
|
4065
4065
|
var css19 = `._tableRoot_1d6xr_1 {
|
|
4066
4066
|
width: 100%;
|
|
4067
4067
|
}
|
|
@@ -4215,8 +4215,8 @@ import {
|
|
|
4215
4215
|
Text as Text15
|
|
4216
4216
|
} from "@raystack/apsara";
|
|
4217
4217
|
|
|
4218
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
4219
|
-
var digest20 = "
|
|
4218
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-5FPJNhr3gFlD/sdk/admin/views/webhooks/webhooks/webhooks.module.css.js
|
|
4219
|
+
var digest20 = "a02abcf622e0e2beeaddb9e44f82c215d49547cdb0b989491d992578fd0acf9f";
|
|
4220
4220
|
var css20 = `._tableRoot_h8n52_1 {
|
|
4221
4221
|
width: 100%;
|
|
4222
4222
|
}
|
|
@@ -4743,8 +4743,8 @@ var getColumns8 = ({ openEditPage, deleteWebhookMutation, enableDelete }) => {
|
|
|
4743
4743
|
// admin/views/webhooks/webhooks/header.tsx
|
|
4744
4744
|
import { Button as Button3, DataTable as DataTable13 } from "@raystack/apsara";
|
|
4745
4745
|
|
|
4746
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
4747
|
-
var digest21 = "
|
|
4746
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-BffOEu6bWjuo/sdk/admin/views/webhooks/webhooks/webhooks.module.css.js
|
|
4747
|
+
var digest21 = "a0d1e05d2666764de2a0c17e9f6c13f3b0f6d0108ecbe9328e29854db9aeedc2";
|
|
4748
4748
|
var css21 = `._tableRoot_h8n52_1 {
|
|
4749
4749
|
width: 100%;
|
|
4750
4750
|
}
|
|
@@ -4826,8 +4826,8 @@ var WebhooksHeader = ({ header = pageHeader4, onOpenCreate }) => {
|
|
|
4826
4826
|
);
|
|
4827
4827
|
};
|
|
4828
4828
|
|
|
4829
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
4830
|
-
var digest22 = "
|
|
4829
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-xznwHYDwu63I/sdk/admin/views/webhooks/webhooks/webhooks.module.css.js
|
|
4830
|
+
var digest22 = "47acb33f7615ddf53337c6516fdc802c4786a07a41294380346205c5ee442243";
|
|
4831
4831
|
var css22 = `._tableRoot_h8n52_1 {
|
|
4832
4832
|
width: 100%;
|
|
4833
4833
|
}
|
|
@@ -10424,8 +10424,8 @@ import { EmptyState as EmptyState9, DataTable as DataTable15, Flex as Flex30 } f
|
|
|
10424
10424
|
// admin/views/preferences/columns.tsx
|
|
10425
10425
|
import { Text as Text17 } from "@raystack/apsara";
|
|
10426
10426
|
|
|
10427
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
10428
|
-
var digest23 = "
|
|
10427
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-GG4WECGR95MW/sdk/admin/views/preferences/preferences.module.css.js
|
|
10428
|
+
var digest23 = "16ce6e35eafe6ef1461e9a61eb585ffbd368cebc4308ac2448537d2bbf8ead3e";
|
|
10429
10429
|
var css23 = `._tableRoot_j5y5o_1 {
|
|
10430
10430
|
width: 100%;
|
|
10431
10431
|
}
|
|
@@ -10507,8 +10507,8 @@ var getColumns9 = ({
|
|
|
10507
10507
|
];
|
|
10508
10508
|
};
|
|
10509
10509
|
|
|
10510
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
10511
|
-
var digest24 = "
|
|
10510
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-jhP7VEf6V8wW/sdk/admin/views/preferences/preferences.module.css.js
|
|
10511
|
+
var digest24 = "5ccd3ee75aa91b58de4251507c0c2e129ec8b2f9b8a2480121462b812529d065";
|
|
10512
10512
|
var css24 = `._tableRoot_j5y5o_1 {
|
|
10513
10513
|
width: 100%;
|
|
10514
10514
|
}
|
|
@@ -10870,8 +10870,8 @@ import {
|
|
|
10870
10870
|
Spinner as Spinner2
|
|
10871
10871
|
} from "@raystack/apsara";
|
|
10872
10872
|
|
|
10873
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
10874
|
-
var digest25 = "
|
|
10873
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-lDMqARC1pNdW/sdk/admin/views/users/list/list.module.css.js
|
|
10874
|
+
var digest25 = "f007a1ea0800c0f9438440366a1fecabff6b0fc9cfb264ad061472033423f8b7";
|
|
10875
10875
|
var css25 = `._navbar_1s15g_1 {
|
|
10876
10876
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
10877
10877
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -10974,8 +10974,8 @@ import {
|
|
|
10974
10974
|
import { Controller as Controller2, useForm as useForm3 } from "react-hook-form";
|
|
10975
10975
|
import { zodResolver as zodResolver3 } from "@hookform/resolvers/zod";
|
|
10976
10976
|
|
|
10977
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
10978
|
-
var digest26 = "
|
|
10977
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-0JROqMkBU4DJ/sdk/admin/views/users/list/invite-users.module.css.js
|
|
10978
|
+
var digest26 = "8227cfccdaf660af495d7736955dc5246a285a5dfb1938a7ea999518e2502350";
|
|
10979
10979
|
var css26 = `._invite-users-dialog-body_11ujx_1 {
|
|
10980
10980
|
display: flex;
|
|
10981
10981
|
flex-direction: column;
|
|
@@ -11350,8 +11350,8 @@ var Navbar2 = ({ searchQuery, onExportUsers }) => {
|
|
|
11350
11350
|
};
|
|
11351
11351
|
var navbar_default2 = Navbar2;
|
|
11352
11352
|
|
|
11353
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
11354
|
-
var digest27 = "
|
|
11353
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-VEL5fRsiE369/sdk/admin/views/users/list/list.module.css.js
|
|
11354
|
+
var digest27 = "4b5a8045a25304bcbdeaa07bd1a0fe39144cd7e1e4036d66a4507e7f489376f1";
|
|
11355
11355
|
var css27 = `._navbar_1s15g_1 {
|
|
11356
11356
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
11357
11357
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -11421,8 +11421,8 @@ import {
|
|
|
11421
11421
|
} from "@raystack/apsara";
|
|
11422
11422
|
import dayjs7 from "dayjs";
|
|
11423
11423
|
|
|
11424
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
11425
|
-
var digest28 = "
|
|
11424
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-NalyLwZNOEsI/sdk/admin/views/users/list/list.module.css.js
|
|
11425
|
+
var digest28 = "6d229b7b1d63ea501ea7e16cd951deb5f1cf5ab2be56d66f20502a5c9062c914";
|
|
11426
11426
|
var css28 = `._navbar_1s15g_1 {
|
|
11427
11427
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
11428
11428
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -11714,8 +11714,8 @@ import { Avatar as Avatar4, getAvatarColor as getAvatarColor3, SidePanel as Side
|
|
|
11714
11714
|
// admin/views/users/details/layout/side-panel-details.tsx
|
|
11715
11715
|
import { Flex as Flex37, List as List4, Text as Text22, CopyButton as CopyButton2, Tooltip as Tooltip2 } from "@raystack/apsara";
|
|
11716
11716
|
|
|
11717
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
11718
|
-
var digest29 = "
|
|
11717
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-n3NL97DMsgq3/sdk/admin/views/users/details/layout/side-panel.module.css.js
|
|
11718
|
+
var digest29 = "718186f5fe15daab12cb5bae390c12cfaaff650ad544d6a8be3715c70cc388d6";
|
|
11719
11719
|
var css29 = `._side-panel_1oc3f_1 {
|
|
11720
11720
|
transform: all 0.3s ease-in-out;
|
|
11721
11721
|
padding-bottom: 80px;
|
|
@@ -11822,8 +11822,8 @@ var SidePanelDetails2 = () => {
|
|
|
11822
11822
|
import { Flex as Flex40, List as List5, Text as Text26, Avatar as Avatar3 } from "@raystack/apsara";
|
|
11823
11823
|
import dayjs8 from "dayjs";
|
|
11824
11824
|
|
|
11825
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
11826
|
-
var digest30 = "
|
|
11825
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-9lMHzULXB72F/sdk/admin/views/users/details/layout/side-panel.module.css.js
|
|
11826
|
+
var digest30 = "51c89995ca92f8a3ca33aa4bed552cd0f3663a49d34739ba82653bf899692243";
|
|
11827
11827
|
var css30 = `._side-panel_1oc3f_1 {
|
|
11828
11828
|
transform: all 0.3s ease-in-out;
|
|
11829
11829
|
padding-bottom: 80px;
|
|
@@ -11886,8 +11886,8 @@ var side_panel_module_css_default2 = { "side-panel": "_side-panel_1oc3f_1", "sid
|
|
|
11886
11886
|
// admin/views/users/details/layout/membership-dropdown.tsx
|
|
11887
11887
|
import { Text as Text25, DropdownMenu as DropdownMenu2, Skeleton as Skeleton2 } from "@raystack/apsara";
|
|
11888
11888
|
|
|
11889
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
11890
|
-
var digest31 = "
|
|
11889
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-06Ujz4r05lRh/sdk/admin/views/users/details/layout/side-panel.module.css.js
|
|
11890
|
+
var digest31 = "a833e0fcffa1e3cec3b96d41ffada8d1e201595be481f8094714e3527202229f";
|
|
11891
11891
|
var css31 = `._side-panel_1oc3f_1 {
|
|
11892
11892
|
transform: all 0.3s ease-in-out;
|
|
11893
11893
|
padding-bottom: 80px;
|
|
@@ -12296,8 +12296,8 @@ var SidePanelMembership = ({
|
|
|
12296
12296
|
] });
|
|
12297
12297
|
};
|
|
12298
12298
|
|
|
12299
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
12300
|
-
var digest32 = "
|
|
12299
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-Cx7K4O2cR0AV/sdk/admin/views/users/details/layout/side-panel.module.css.js
|
|
12300
|
+
var digest32 = "d52af57aa1b8578eb81de6ee70ab6dff4352572624edbf0196fff74f7966b5a4";
|
|
12301
12301
|
var css32 = `._side-panel_1oc3f_1 {
|
|
12302
12302
|
transform: all 0.3s ease-in-out;
|
|
12303
12303
|
padding-bottom: 80px;
|
|
@@ -12415,8 +12415,8 @@ var UserDetailsSidePanel = () => {
|
|
|
12415
12415
|
);
|
|
12416
12416
|
};
|
|
12417
12417
|
|
|
12418
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
12419
|
-
var digest33 = "
|
|
12418
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-10glqa8mlEwQ/sdk/admin/views/users/details/layout/layout.module.css.js
|
|
12419
|
+
var digest33 = "11fec1064fe0f38642475996b01f900137b0848bb56a2b3328e5e279f2f3d3f0";
|
|
12420
12420
|
var css33 = `._page_190wz_1 {
|
|
12421
12421
|
height: 100vh;
|
|
12422
12422
|
width: 100%;
|
|
@@ -12457,8 +12457,8 @@ import {
|
|
|
12457
12457
|
} from "@raystack/apsara";
|
|
12458
12458
|
import { SidebarIcon } from "@raystack/apsara/icons";
|
|
12459
12459
|
|
|
12460
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
12461
|
-
var digest34 = "
|
|
12460
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-IycxLJqKJG3q/sdk/admin/views/users/details/layout/navbar.module.css.js
|
|
12461
|
+
var digest34 = "ec5456dadb553639eb9ebffe96f3f279a888ccefc59ead6157f6ffbc0b68e9ff";
|
|
12462
12462
|
var css34 = `._navbar_1ahsl_1 {
|
|
12463
12463
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
12464
12464
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -12750,8 +12750,8 @@ import {
|
|
|
12750
12750
|
Text as Text28
|
|
12751
12751
|
} from "@raystack/apsara";
|
|
12752
12752
|
|
|
12753
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
12754
|
-
var digest35 = "
|
|
12753
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-JRMhIzs8N30X/sdk/admin/views/users/details/security/sessions/sessions.module.css.js
|
|
12754
|
+
var digest35 = "7e1cd417df2a53fe4aa005e3a4c036af48f3a64d180c8a324ef65aceed3c1154";
|
|
12755
12755
|
var css35 = `._sessionsContainer_aq82p_1 {
|
|
12756
12756
|
border: 1px solid var(--rs-color-border-base-primary);
|
|
12757
12757
|
border-radius: var(--rs-radius-2);
|
|
@@ -12872,8 +12872,8 @@ var RevokeSessionFinalConfirm = ({
|
|
|
12872
12872
|
) });
|
|
12873
12873
|
};
|
|
12874
12874
|
|
|
12875
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
12876
|
-
var digest36 = "
|
|
12875
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-ulFPmkZcdGeX/sdk/admin/views/users/details/security/sessions/sessions.module.css.js
|
|
12876
|
+
var digest36 = "80f398e36445037330107ee088916aeb22f3de0dc8fbcc5fc592dc1b0a727570";
|
|
12877
12877
|
var css36 = `._sessionsContainer_aq82p_1 {
|
|
12878
12878
|
border: 1px solid var(--rs-color-border-base-primary);
|
|
12879
12879
|
border-radius: var(--rs-radius-2);
|
|
@@ -13017,8 +13017,8 @@ var RevokeSessionConfirm = ({ isOpen, onOpenChange, sessionInfo, onRevokeConfirm
|
|
|
13017
13017
|
// admin/views/users/details/security/sessions/session-skeleton.tsx
|
|
13018
13018
|
import { Flex as Flex45, Skeleton as Skeleton3 } from "@raystack/apsara";
|
|
13019
13019
|
|
|
13020
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
13021
|
-
var digest37 = "
|
|
13020
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-PYFaoM9SgYgg/sdk/admin/views/users/details/security/sessions/sessions.module.css.js
|
|
13021
|
+
var digest37 = "42214c4ebe4e3b3ff31310131926a0746608491019982437d1bc73f81b18cbf1";
|
|
13022
13022
|
var css37 = `._sessionsContainer_aq82p_1 {
|
|
13023
13023
|
border: 1px solid var(--rs-color-border-base-primary);
|
|
13024
13024
|
border-radius: var(--rs-radius-2);
|
|
@@ -13099,8 +13099,8 @@ import { AdminServiceQueries as AdminServiceQueries13 } from "@raystack/proton/f
|
|
|
13099
13099
|
import dayjs9 from "dayjs";
|
|
13100
13100
|
import relativeTime from "dayjs/plugin/relativeTime";
|
|
13101
13101
|
|
|
13102
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
13103
|
-
var digest38 = "
|
|
13102
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-Uxn0GRuV330e/sdk/admin/views/users/details/security/sessions/sessions.module.css.js
|
|
13103
|
+
var digest38 = "22507c74191ed0d2080fb6600154454bfe86ae38c6edbd9885d2518b55a028c0";
|
|
13104
13104
|
var css38 = `._sessionsContainer_aq82p_1 {
|
|
13105
13105
|
border: 1px solid var(--rs-color-border-base-primary);
|
|
13106
13106
|
border-radius: var(--rs-radius-2);
|
|
@@ -13309,8 +13309,8 @@ var UserSessions = () => {
|
|
|
13309
13309
|
] });
|
|
13310
13310
|
};
|
|
13311
13311
|
|
|
13312
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
13313
|
-
var digest39 = "
|
|
13312
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-o95d05yYSBSB/sdk/admin/views/users/details/security/security.module.css.js
|
|
13313
|
+
var digest39 = "93815838c11682aea89931f192e09585bfaf55d496e7990e123ecec1e2ad1cb9";
|
|
13314
13314
|
var css39 = `._container_4259p_1 {
|
|
13315
13315
|
width: 100%;
|
|
13316
13316
|
}
|
|
@@ -13444,8 +13444,8 @@ import {
|
|
|
13444
13444
|
} from "@raystack/apsara";
|
|
13445
13445
|
import { OrganizationIcon } from "@raystack/apsara/icons";
|
|
13446
13446
|
|
|
13447
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
13448
|
-
var digest40 = "
|
|
13447
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-KiFxm4WFLoWU/sdk/admin/views/organizations/list/list.module.css.js
|
|
13448
|
+
var digest40 = "faaca934ade761ff558322b9d22f8ef663f1dc712d08856626fa3e6acd643c12";
|
|
13449
13449
|
var css40 = `._navbar_1py96_1 {
|
|
13450
13450
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
13451
13451
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -13634,8 +13634,8 @@ var OrganizationsNavabar = ({
|
|
|
13634
13634
|
] });
|
|
13635
13635
|
};
|
|
13636
13636
|
|
|
13637
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
13638
|
-
var digest41 = "
|
|
13637
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-FBZLhupRRrM2/sdk/admin/views/organizations/list/list.module.css.js
|
|
13638
|
+
var digest41 = "c030e3692f97c0f83b56377ab32991eb7519c6adfc96920ec14ceb5f05449197";
|
|
13639
13639
|
var css41 = `._navbar_1py96_1 {
|
|
13640
13640
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
13641
13641
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -13749,8 +13749,8 @@ import {
|
|
|
13749
13749
|
} from "@raystack/apsara";
|
|
13750
13750
|
import dayjs10 from "dayjs";
|
|
13751
13751
|
|
|
13752
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
13753
|
-
var digest42 = "
|
|
13752
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-QUsGmlHFy4d2/sdk/admin/views/organizations/list/list.module.css.js
|
|
13753
|
+
var digest42 = "415632e13677dbc654779b1c3e08d527e6b01d19e911f04224bcacf0ef272d7c";
|
|
13754
13754
|
var css42 = `._navbar_1py96_1 {
|
|
13755
13755
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
13756
13756
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -14020,8 +14020,8 @@ import { create as create8 } from "@bufbuild/protobuf";
|
|
|
14020
14020
|
// admin/views/organizations/list/create.tsx
|
|
14021
14021
|
import { useEffect as useEffect6, useState as useState20 } from "react";
|
|
14022
14022
|
|
|
14023
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
14024
|
-
var digest43 = "
|
|
14023
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-TqitS2rpKo7l/sdk/admin/views/organizations/list/list.module.css.js
|
|
14024
|
+
var digest43 = "2598bcd826c73ce52bbacb0ed326777f8643d3643c11d109c760d3c97325e7c5";
|
|
14025
14025
|
var css43 = `._navbar_1py96_1 {
|
|
14026
14026
|
padding: var(--rs-space-4) var(--rs-space-7);
|
|
14027
14027
|
border-bottom: 0.5px solid var(--rs-color-border-base-primary);
|
|
@@ -14152,8 +14152,8 @@ var cross_default = 'data:image/svg+xml,<svg width="20" height="20" viewBox="0 0
|
|
|
14152
14152
|
// react/components/avatar-upload/index.tsx
|
|
14153
14153
|
import "react-image-crop/dist/ReactCrop.css";
|
|
14154
14154
|
|
|
14155
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
14156
|
-
var digest44 = "
|
|
14155
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-UeLZdsKaMdrm/sdk/react/components/avatar-upload/avatar-upload.module.css.js
|
|
14156
|
+
var digest44 = "3ea1f84392d1f3a4f08018128b2a1d3b6e73c728794c11dbf600f793ae4eea3a";
|
|
14157
14157
|
var css44 = `._container_1k4dc_1 {
|
|
14158
14158
|
display: flex;
|
|
14159
14159
|
flex-direction: column;
|
|
@@ -14908,8 +14908,8 @@ import {
|
|
|
14908
14908
|
Search
|
|
14909
14909
|
} from "@raystack/apsara";
|
|
14910
14910
|
|
|
14911
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
14912
|
-
var digest45 = "
|
|
14911
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-7BA07sLI8ffd/sdk/admin/views/organizations/details/layout/layout.module.css.js
|
|
14912
|
+
var digest45 = "a22e38baeee4876107e50a0c8e1c1291b158ff3fc576ffdf8817001bb3a4d14a";
|
|
14913
14913
|
var css45 = `._page_1jsqa_1 {
|
|
14914
14914
|
width: 100%;
|
|
14915
14915
|
height: 100vh;
|
|
@@ -15015,8 +15015,8 @@ import {
|
|
|
15015
15015
|
} from "@raystack/apsara";
|
|
15016
15016
|
import { useContext as useContext5, useMemo as useMemo7 } from "react";
|
|
15017
15017
|
|
|
15018
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
15019
|
-
var digest46 = "
|
|
15018
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-ABoM4edKYezC/sdk/admin/views/organizations/details/layout/layout.module.css.js
|
|
15019
|
+
var digest46 = "6293368196824921c8c0365f2f531f856c4a7aae4b660ef8cd96d9a4bc04dc94";
|
|
15020
15020
|
var css46 = `._page_1jsqa_1 {
|
|
15021
15021
|
width: 100%;
|
|
15022
15022
|
height: 100vh;
|
|
@@ -15322,8 +15322,8 @@ import {
|
|
|
15322
15322
|
import { useContext as useContext6 } from "react";
|
|
15323
15323
|
import { Controller as Controller5, FormProvider as FormProvider4, useForm as useForm7 } from "react-hook-form";
|
|
15324
15324
|
|
|
15325
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
15326
|
-
var digest47 = "
|
|
15325
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-pqKuIeRo1PlF/sdk/admin/views/organizations/details/layout/layout.module.css.js
|
|
15326
|
+
var digest47 = "6a65ef9753e374ae7299d477e73727e908169f8adf977e016b72d5a9721f81f8";
|
|
15327
15327
|
var css47 = `._page_1jsqa_1 {
|
|
15328
15328
|
width: 100%;
|
|
15329
15329
|
height: 100vh;
|
|
@@ -15420,7 +15420,7 @@ var layout_module_css_default4 = { "page": "_page_1jsqa_1", "main_content": "_ma
|
|
|
15420
15420
|
import { zodResolver as zodResolver7 } from "@hookform/resolvers/zod";
|
|
15421
15421
|
import { useMutation as useMutation11, createConnectQueryKey as createConnectQueryKey6, useTransport as useTransport7 } from "@connectrpc/connect-query";
|
|
15422
15422
|
import { useQueryClient as useQueryClient8 } from "@tanstack/react-query";
|
|
15423
|
-
import { AdminServiceQueries as AdminServiceQueries17, CheckoutProductBodySchema, DelegatedCheckoutRequestSchema } from "@raystack/proton/frontier";
|
|
15423
|
+
import { AdminServiceQueries as AdminServiceQueries17, CheckoutProductBodySchema, DelegatedCheckoutRequestSchema, FrontierServiceQueries as FrontierServiceQueries12 } from "@raystack/proton/frontier";
|
|
15424
15424
|
import { create as create11 } from "@bufbuild/protobuf";
|
|
15425
15425
|
import { jsx as jsx82, jsxs as jsxs58 } from "react/jsx-runtime";
|
|
15426
15426
|
var addTokensSchema = objectType({
|
|
@@ -15449,7 +15449,7 @@ var AddTokensDialog = ({ onOpenChange }) => {
|
|
|
15449
15449
|
onSuccess: () => {
|
|
15450
15450
|
queryClient.invalidateQueries({
|
|
15451
15451
|
queryKey: createConnectQueryKey6({
|
|
15452
|
-
schema:
|
|
15452
|
+
schema: FrontierServiceQueries12.searchOrganizationTokens,
|
|
15453
15453
|
transport,
|
|
15454
15454
|
input: { id: organisationId },
|
|
15455
15455
|
cardinality: "infinite"
|
|
@@ -15818,8 +15818,8 @@ var OrganizationsDetailsNavabar = ({
|
|
|
15818
15818
|
] });
|
|
15819
15819
|
};
|
|
15820
15820
|
|
|
15821
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
15822
|
-
var digest48 = "
|
|
15821
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-Xq4uDesdQhkG/sdk/admin/views/organizations/details/layout/layout.module.css.js
|
|
15822
|
+
var digest48 = "8077fd9927e19da360ba650fe75893c5303f3e96357ef913860b06411ff28955";
|
|
15823
15823
|
var css48 = `._page_1jsqa_1 {
|
|
15824
15824
|
width: 100%;
|
|
15825
15825
|
height: 100vh;
|
|
@@ -15921,8 +15921,8 @@ import { Avatar as Avatar9, getAvatarColor as getAvatarColor7, SidePanel as Side
|
|
|
15921
15921
|
// admin/views/organizations/details/side-panel/org-details-section.tsx
|
|
15922
15922
|
import { Flex as Flex57, List as List7, Text as Text39, CopyButton as CopyButton3, Tooltip as Tooltip3 } from "@raystack/apsara";
|
|
15923
15923
|
|
|
15924
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
15925
|
-
var digest49 = "
|
|
15924
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-H2oHygb1fMMu/sdk/admin/views/organizations/details/side-panel/side-panel.module.css.js
|
|
15925
|
+
var digest49 = "fb05aafe6d4b1a1a74c0f3781aa8bc4f8882da29096a7e35abb6ad71ce58c1b0";
|
|
15926
15926
|
var css49 = `._side-panel-section-item-label_yeg6h_1 {
|
|
15927
15927
|
width: 120px;
|
|
15928
15928
|
}
|
|
@@ -16012,8 +16012,8 @@ var OrganizationDetailsSection = ({
|
|
|
16012
16012
|
import { Flex as Flex58, List as List8, Text as Text40, Link as Link2, Tooltip as Tooltip4 } from "@raystack/apsara";
|
|
16013
16013
|
import { useContext as useContext9 } from "react";
|
|
16014
16014
|
|
|
16015
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
16016
|
-
var digest50 = "
|
|
16015
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-3i7wJ46r4MNz/sdk/admin/views/organizations/details/side-panel/side-panel.module.css.js
|
|
16016
|
+
var digest50 = "5d614af526e9dd41923cf50461814b89da5eb9b3e6e8d5a063288968a1e68e55";
|
|
16017
16017
|
var css50 = `._side-panel-section-item-label_yeg6h_1 {
|
|
16018
16018
|
width: 120px;
|
|
16019
16019
|
}
|
|
@@ -16099,8 +16099,8 @@ var KYCDetailsSection = () => {
|
|
|
16099
16099
|
import { useContext as useContext10 } from "react";
|
|
16100
16100
|
import { List as List9, Text as Text41, Flex as Flex59 } from "@raystack/apsara";
|
|
16101
16101
|
|
|
16102
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
16103
|
-
var digest51 = "
|
|
16102
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-QRvF2VMS7U5i/sdk/admin/views/organizations/details/side-panel/side-panel.module.css.js
|
|
16103
|
+
var digest51 = "489cb798b8f4921b4a20c3ee3e63743e2c531220e87b7fb20f8c57d8de8afbd6";
|
|
16104
16104
|
var css51 = `._side-panel-section-item-label_yeg6h_1 {
|
|
16105
16105
|
width: 120px;
|
|
16106
16106
|
}
|
|
@@ -16133,7 +16133,7 @@ var side_panel_module_css_default7 = { "side-panel-section-item-label": "_side-p
|
|
|
16133
16133
|
|
|
16134
16134
|
// admin/views/organizations/details/side-panel/plan-details-section.tsx
|
|
16135
16135
|
import { useQuery as useQuery13 } from "@connectrpc/connect-query";
|
|
16136
|
-
import { FrontierServiceQueries as
|
|
16136
|
+
import { FrontierServiceQueries as FrontierServiceQueries13, ListSubscriptionsRequestSchema, GetPlanRequestSchema } from "@raystack/proton/frontier";
|
|
16137
16137
|
import { create as create12 } from "@bufbuild/protobuf";
|
|
16138
16138
|
import { jsx as jsx86, jsxs as jsxs62 } from "react/jsx-runtime";
|
|
16139
16139
|
var PlanDetailsSection = () => {
|
|
@@ -16141,7 +16141,7 @@ var PlanDetailsSection = () => {
|
|
|
16141
16141
|
const billingAccountId = billingAccount?.id || "";
|
|
16142
16142
|
const organizationId = organization?.id || "";
|
|
16143
16143
|
const { data: activeSubscription, isLoading: isSubscriptionLoading, error: subscriptionsError } = useQuery13(
|
|
16144
|
-
|
|
16144
|
+
FrontierServiceQueries13.listSubscriptions,
|
|
16145
16145
|
create12(ListSubscriptionsRequestSchema, {
|
|
16146
16146
|
orgId: organizationId
|
|
16147
16147
|
}),
|
|
@@ -16159,7 +16159,7 @@ var PlanDetailsSection = () => {
|
|
|
16159
16159
|
console.error("Error fetching subscriptions:", subscriptionsError);
|
|
16160
16160
|
}
|
|
16161
16161
|
const { data: planData, isLoading: isPlanLoading, error: planError } = useQuery13(
|
|
16162
|
-
|
|
16162
|
+
FrontierServiceQueries13.getPlan,
|
|
16163
16163
|
create12(GetPlanRequestSchema, {
|
|
16164
16164
|
id: activeSubscription?.planId ?? ""
|
|
16165
16165
|
}),
|
|
@@ -16201,8 +16201,8 @@ var PlanDetailsSection = () => {
|
|
|
16201
16201
|
// admin/views/organizations/details/side-panel/tokens-details-section.tsx
|
|
16202
16202
|
import { List as List10, Text as Text42, Flex as Flex60 } from "@raystack/apsara";
|
|
16203
16203
|
|
|
16204
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
16205
|
-
var digest52 = "
|
|
16204
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-zaVwJQJUw7Lb/sdk/admin/views/organizations/details/side-panel/side-panel.module.css.js
|
|
16205
|
+
var digest52 = "767f7236a24df7b38949e94cc91525b6dc8ddc56770825ed07c9ee684dc66b90";
|
|
16206
16206
|
var css52 = `._side-panel-section-item-label_yeg6h_1 {
|
|
16207
16207
|
width: 120px;
|
|
16208
16208
|
}
|
|
@@ -16236,7 +16236,7 @@ var side_panel_module_css_default8 = { "side-panel-section-item-label": "_side-p
|
|
|
16236
16236
|
// admin/views/organizations/details/side-panel/tokens-details-section.tsx
|
|
16237
16237
|
import { useContext as useContext11, useEffect as useEffect8 } from "react";
|
|
16238
16238
|
import { useQuery as useQuery14 } from "@connectrpc/connect-query";
|
|
16239
|
-
import { FrontierServiceQueries as
|
|
16239
|
+
import { FrontierServiceQueries as FrontierServiceQueries14, TotalDebitedTransactionsRequestSchema } from "@raystack/proton/frontier";
|
|
16240
16240
|
import { create as create13 } from "@bufbuild/protobuf";
|
|
16241
16241
|
import { jsx as jsx87, jsxs as jsxs63 } from "react/jsx-runtime";
|
|
16242
16242
|
var TokensDetailsSection = () => {
|
|
@@ -16250,7 +16250,7 @@ var TokensDetailsSection = () => {
|
|
|
16250
16250
|
const organizationId = organization?.id || "";
|
|
16251
16251
|
const billingAccountId = billingAccount?.id || "";
|
|
16252
16252
|
const { data: tokensUsed = "0", isLoading: isTokensLoading, error } = useQuery14(
|
|
16253
|
-
|
|
16253
|
+
FrontierServiceQueries14.totalDebitedTransactions,
|
|
16254
16254
|
create13(TotalDebitedTransactionsRequestSchema, {
|
|
16255
16255
|
orgId: organizationId,
|
|
16256
16256
|
billingId: billingAccountId
|
|
@@ -16303,8 +16303,8 @@ var TokensDetailsSection = () => {
|
|
|
16303
16303
|
// admin/views/organizations/details/side-panel/billing-details-section.tsx
|
|
16304
16304
|
import { CopyButton as CopyButton4, Flex as Flex61, Link as Link3, List as List11, Text as Text43 } from "@raystack/apsara";
|
|
16305
16305
|
|
|
16306
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
16307
|
-
var digest53 = "
|
|
16306
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-rduTbNP7X8Mu/sdk/admin/views/organizations/details/side-panel/side-panel.module.css.js
|
|
16307
|
+
var digest53 = "1913f3d1d84e4bc70ac91f1a2351da951374957ab6a4819d120f90c491cac767";
|
|
16308
16308
|
var css53 = `._side-panel-section-item-label_yeg6h_1 {
|
|
16309
16309
|
width: 120px;
|
|
16310
16310
|
}
|
|
@@ -16339,7 +16339,7 @@ var side_panel_module_css_default9 = { "side-panel-section-item-label": "_side-p
|
|
|
16339
16339
|
import { useContext as useContext12, useEffect as useEffect9 } from "react";
|
|
16340
16340
|
import { Amount as Amount4 } from "@raystack/apsara";
|
|
16341
16341
|
import { useQuery as useQuery15 } from "@connectrpc/connect-query";
|
|
16342
|
-
import { FrontierServiceQueries as
|
|
16342
|
+
import { FrontierServiceQueries as FrontierServiceQueries15, GetUpcomingInvoiceRequestSchema } from "@raystack/proton/frontier";
|
|
16343
16343
|
import { create as create14 } from "@bufbuild/protobuf";
|
|
16344
16344
|
import { jsx as jsx88, jsxs as jsxs64 } from "react/jsx-runtime";
|
|
16345
16345
|
var BillingDetailsSection = () => {
|
|
@@ -16347,7 +16347,7 @@ var BillingDetailsSection = () => {
|
|
|
16347
16347
|
const organizationId = organization?.id || "";
|
|
16348
16348
|
const billingAccountId = billingAccount?.id || "";
|
|
16349
16349
|
const { data: upcomingInvoice, isLoading, error } = useQuery15(
|
|
16350
|
-
|
|
16350
|
+
FrontierServiceQueries15.getUpcomingInvoice,
|
|
16351
16351
|
create14(GetUpcomingInvoiceRequestSchema, {
|
|
16352
16352
|
orgId: organizationId,
|
|
16353
16353
|
billingId: billingAccountId
|
|
@@ -16462,8 +16462,8 @@ import {
|
|
|
16462
16462
|
toast as toast10
|
|
16463
16463
|
} from "@raystack/apsara";
|
|
16464
16464
|
|
|
16465
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
16466
|
-
var digest54 = "
|
|
16465
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-5qidNSkg8ab4/sdk/admin/views/organizations/details/edit/edit.module.css.js
|
|
16466
|
+
var digest54 = "df1c14e11cf91e563e48fb725c7f882262dd0f72899cec8747073ede91402dfe";
|
|
16467
16467
|
var css54 = `._drawer-content_1o0os_1 {
|
|
16468
16468
|
min-width: 500px;
|
|
16469
16469
|
padding: 0;
|
|
@@ -16521,7 +16521,7 @@ import { Controller as Controller6, useForm as useForm8 } from "react-hook-form"
|
|
|
16521
16521
|
import { zodResolver as zodResolver8 } from "@hookform/resolvers/zod";
|
|
16522
16522
|
import { useMutation as useMutation12, createConnectQueryKey as createConnectQueryKey7, useTransport as useTransport8 } from "@connectrpc/connect-query";
|
|
16523
16523
|
import { useQueryClient as useQueryClient9 } from "@tanstack/react-query";
|
|
16524
|
-
import { AdminServiceQueries as AdminServiceQueries18, FrontierServiceQueries as
|
|
16524
|
+
import { AdminServiceQueries as AdminServiceQueries18, FrontierServiceQueries as FrontierServiceQueries16, SetOrganizationKycRequestSchema } from "@raystack/proton/frontier";
|
|
16525
16525
|
import { create as create15 } from "@bufbuild/protobuf";
|
|
16526
16526
|
import { Fragment as Fragment20, jsx as jsx90, jsxs as jsxs66 } from "react/jsx-runtime";
|
|
16527
16527
|
var kycUpdateSchema = external_exports.object({
|
|
@@ -16562,7 +16562,7 @@ function EditKYCPanel({ onClose }) {
|
|
|
16562
16562
|
}
|
|
16563
16563
|
queryClient.invalidateQueries({
|
|
16564
16564
|
queryKey: createConnectQueryKey7({
|
|
16565
|
-
schema:
|
|
16565
|
+
schema: FrontierServiceQueries16.getOrganizationKyc,
|
|
16566
16566
|
transport,
|
|
16567
16567
|
input: { orgId },
|
|
16568
16568
|
cardinality: "finite"
|
|
@@ -16700,8 +16700,8 @@ function EditKYCPanel({ onClose }) {
|
|
|
16700
16700
|
// admin/views/organizations/details/edit/organization.tsx
|
|
16701
16701
|
import { useContext as useContext14, useEffect as useEffect10, useState as useState23 } from "react";
|
|
16702
16702
|
|
|
16703
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
16704
|
-
var digest55 = "
|
|
16703
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-CSU6MSdn837Q/sdk/admin/views/organizations/details/edit/edit.module.css.js
|
|
16704
|
+
var digest55 = "c74e3e25ad5c273bccb696e082bc8e2264565e4d562ee2b929fbcbb8e88d0fa7";
|
|
16705
16705
|
var css55 = `._drawer-content_1o0os_1 {
|
|
16706
16706
|
min-width: 500px;
|
|
16707
16707
|
padding: 0;
|
|
@@ -16769,7 +16769,7 @@ import { Controller as Controller7, useForm as useForm9 } from "react-hook-form"
|
|
|
16769
16769
|
import { zodResolver as zodResolver9 } from "@hookform/resolvers/zod";
|
|
16770
16770
|
import { useMutation as useMutation13, createConnectQueryKey as createConnectQueryKey8, useTransport as useTransport9 } from "@connectrpc/connect-query";
|
|
16771
16771
|
import { useQueryClient as useQueryClient10 } from "@tanstack/react-query";
|
|
16772
|
-
import { FrontierServiceQueries as
|
|
16772
|
+
import { FrontierServiceQueries as FrontierServiceQueries17, UpdateOrganizationRequestSchema } from "@raystack/proton/frontier";
|
|
16773
16773
|
import { create as create16 } from "@bufbuild/protobuf";
|
|
16774
16774
|
import { Fragment as Fragment21, jsx as jsx91, jsxs as jsxs67 } from "react/jsx-runtime";
|
|
16775
16775
|
var orgUpdateSchema = external_exports.object({
|
|
@@ -16833,11 +16833,11 @@ function EditOrganizationPanel({ onClose }) {
|
|
|
16833
16833
|
mutateAsync: updateOrganizationMutation,
|
|
16834
16834
|
error: mutationError,
|
|
16835
16835
|
isPending: isSubmitting
|
|
16836
|
-
} = useMutation13(
|
|
16836
|
+
} = useMutation13(FrontierServiceQueries17.updateOrganization, {
|
|
16837
16837
|
onSuccess: () => {
|
|
16838
16838
|
queryClient.invalidateQueries({
|
|
16839
16839
|
queryKey: createConnectQueryKey8({
|
|
16840
|
-
schema:
|
|
16840
|
+
schema: FrontierServiceQueries17.getOrganization,
|
|
16841
16841
|
transport,
|
|
16842
16842
|
input: { id: orgId },
|
|
16843
16843
|
cardinality: "finite"
|
|
@@ -17083,8 +17083,8 @@ import {
|
|
|
17083
17083
|
toast as toast11
|
|
17084
17084
|
} from "@raystack/apsara";
|
|
17085
17085
|
|
|
17086
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
17087
|
-
var digest56 = "
|
|
17086
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-ravz6HxjT4Ka/sdk/admin/views/organizations/details/edit/edit.module.css.js
|
|
17087
|
+
var digest56 = "eb69b51d520589bc88b77e416e20f3175f0b3a53eff11aa5ee99528725fdfcdc";
|
|
17088
17088
|
var css56 = `._drawer-content_1o0os_1 {
|
|
17089
17089
|
min-width: 500px;
|
|
17090
17090
|
padding: 0;
|
|
@@ -17463,7 +17463,7 @@ var OrganizationDetailsLayout = ({
|
|
|
17463
17463
|
|
|
17464
17464
|
// admin/views/organizations/details/index.tsx
|
|
17465
17465
|
import {
|
|
17466
|
-
FrontierServiceQueries as
|
|
17466
|
+
FrontierServiceQueries as FrontierServiceQueries18,
|
|
17467
17467
|
GetBillingAccountRequestSchema,
|
|
17468
17468
|
GetBillingBalanceRequestSchema,
|
|
17469
17469
|
GetOrganizationKycResponseSchema
|
|
@@ -17491,7 +17491,7 @@ var OrganizationDetailsView = ({
|
|
|
17491
17491
|
isLoading: isOrganizationLoading,
|
|
17492
17492
|
error: organizationError
|
|
17493
17493
|
} = useQuery16(
|
|
17494
|
-
|
|
17494
|
+
FrontierServiceQueries18.getOrganization,
|
|
17495
17495
|
{ id: organizationId },
|
|
17496
17496
|
{
|
|
17497
17497
|
enabled: !!organizationId,
|
|
@@ -17499,7 +17499,7 @@ var OrganizationDetailsView = ({
|
|
|
17499
17499
|
}
|
|
17500
17500
|
);
|
|
17501
17501
|
const getOrganizationQueryKey = [
|
|
17502
|
-
|
|
17502
|
+
FrontierServiceQueries18.getOrganization,
|
|
17503
17503
|
{ id: organizationId }
|
|
17504
17504
|
];
|
|
17505
17505
|
async function updateOrganization(org) {
|
|
@@ -17510,7 +17510,7 @@ var OrganizationDetailsView = ({
|
|
|
17510
17510
|
isLoading: isKYCLoading,
|
|
17511
17511
|
error: kycError
|
|
17512
17512
|
} = useQuery16(
|
|
17513
|
-
|
|
17513
|
+
FrontierServiceQueries18.getOrganizationKyc,
|
|
17514
17514
|
{ orgId: organizationId || "" },
|
|
17515
17515
|
{
|
|
17516
17516
|
enabled: !!organizationId
|
|
@@ -17522,7 +17522,7 @@ var OrganizationDetailsView = ({
|
|
|
17522
17522
|
return;
|
|
17523
17523
|
queryClient.setQueryData(
|
|
17524
17524
|
createConnectQueryKey9({
|
|
17525
|
-
schema:
|
|
17525
|
+
schema: FrontierServiceQueries18.getOrganizationKyc,
|
|
17526
17526
|
transport,
|
|
17527
17527
|
input: { orgId: organizationId },
|
|
17528
17528
|
cardinality: "finite"
|
|
@@ -17535,7 +17535,7 @@ var OrganizationDetailsView = ({
|
|
|
17535
17535
|
isLoading: isDefaultRolesLoading,
|
|
17536
17536
|
error: defaultRolesError
|
|
17537
17537
|
} = useQuery16(
|
|
17538
|
-
|
|
17538
|
+
FrontierServiceQueries18.listRoles,
|
|
17539
17539
|
{ scopes: [ORG_NAMESPACE] },
|
|
17540
17540
|
{
|
|
17541
17541
|
enabled: !!organizationId,
|
|
@@ -17547,7 +17547,7 @@ var OrganizationDetailsView = ({
|
|
|
17547
17547
|
isLoading: isOrgRolesLoading,
|
|
17548
17548
|
error: orgRolesError
|
|
17549
17549
|
} = useQuery16(
|
|
17550
|
-
|
|
17550
|
+
FrontierServiceQueries18.listOrganizationRoles,
|
|
17551
17551
|
{ orgId: organizationId || "", scopes: [ORG_NAMESPACE] },
|
|
17552
17552
|
{
|
|
17553
17553
|
enabled: !!organizationId,
|
|
@@ -17560,7 +17560,7 @@ var OrganizationDetailsView = ({
|
|
|
17560
17560
|
isLoading: isOrgMembersMapLoading,
|
|
17561
17561
|
error: orgMembersError
|
|
17562
17562
|
} = useQuery16(
|
|
17563
|
-
|
|
17563
|
+
FrontierServiceQueries18.listOrganizationUsers,
|
|
17564
17564
|
{ id: organizationId || "" },
|
|
17565
17565
|
{
|
|
17566
17566
|
enabled: !!organizationId,
|
|
@@ -17578,7 +17578,7 @@ var OrganizationDetailsView = ({
|
|
|
17578
17578
|
}
|
|
17579
17579
|
);
|
|
17580
17580
|
const { data: firstBillingAccountId = "", error: billingAccountsError } = useQuery16(
|
|
17581
|
-
|
|
17581
|
+
FrontierServiceQueries18.listBillingAccounts,
|
|
17582
17582
|
{ orgId: organizationId || "" },
|
|
17583
17583
|
{
|
|
17584
17584
|
enabled: !!organizationId,
|
|
@@ -17591,7 +17591,7 @@ var OrganizationDetailsView = ({
|
|
|
17591
17591
|
error: billingAccountError,
|
|
17592
17592
|
refetch: fetchBillingAccountDetails
|
|
17593
17593
|
} = useQuery16(
|
|
17594
|
-
|
|
17594
|
+
FrontierServiceQueries18.getBillingAccount,
|
|
17595
17595
|
create18(GetBillingAccountRequestSchema, {
|
|
17596
17596
|
id: firstBillingAccountId,
|
|
17597
17597
|
withBillingDetails: true
|
|
@@ -17612,7 +17612,7 @@ var OrganizationDetailsView = ({
|
|
|
17612
17612
|
error: tokenBalanceError,
|
|
17613
17613
|
refetch: fetchTokenBalance
|
|
17614
17614
|
} = useQuery16(
|
|
17615
|
-
|
|
17615
|
+
FrontierServiceQueries18.getBillingBalance,
|
|
17616
17616
|
create18(GetBillingBalanceRequestSchema, {
|
|
17617
17617
|
id: firstBillingAccountId
|
|
17618
17618
|
}),
|
|
@@ -17717,8 +17717,8 @@ import {
|
|
|
17717
17717
|
toast as toast14
|
|
17718
17718
|
} from "@raystack/apsara";
|
|
17719
17719
|
|
|
17720
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
17721
|
-
var digest57 = "
|
|
17720
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-PGs6UrUv48yD/sdk/admin/views/organizations/details/security/security.module.css.js
|
|
17721
|
+
var digest57 = "0ff330d81d488f0532dabb82597129c567f0277f36e6304fb5ba9f56d7c58f63";
|
|
17722
17722
|
var css57 = `._container_1wkae_1 {
|
|
17723
17723
|
width: 100%;
|
|
17724
17724
|
}
|
|
@@ -17765,7 +17765,7 @@ import { useContext as useContext18 } from "react";
|
|
|
17765
17765
|
import { Button as Button23, Dialog as Dialog12, Flex as Flex66, Text as Text47, toast as toast12 } from "@raystack/apsara";
|
|
17766
17766
|
import { useContext as useContext16, useState as useState26 } from "react";
|
|
17767
17767
|
import { createConnectQueryKey as createConnectQueryKey10, useMutation as useMutation15, useTransport as useTransport11 } from "@connectrpc/connect-query";
|
|
17768
|
-
import { FrontierServiceQueries as
|
|
17768
|
+
import { FrontierServiceQueries as FrontierServiceQueries19, DisableOrganizationRequestSchema, EnableOrganizationRequestSchema } from "@raystack/proton/frontier";
|
|
17769
17769
|
import { create as create19 } from "@bufbuild/protobuf";
|
|
17770
17770
|
import { useQueryClient as useQueryClient12 } from "@tanstack/react-query";
|
|
17771
17771
|
import { jsx as jsx95, jsxs as jsxs70 } from "react/jsx-runtime";
|
|
@@ -17776,12 +17776,12 @@ var BlockOrganizationDialog = () => {
|
|
|
17776
17776
|
const transport = useTransport11();
|
|
17777
17777
|
const [isDialogOpen, setIsDialogOpen] = useState26(false);
|
|
17778
17778
|
const { mutateAsync: disableOrganization, isPending: isDisabling } = useMutation15(
|
|
17779
|
-
|
|
17779
|
+
FrontierServiceQueries19.disableOrganization,
|
|
17780
17780
|
{
|
|
17781
17781
|
onSuccess: async () => {
|
|
17782
17782
|
await queryClient.invalidateQueries({
|
|
17783
17783
|
queryKey: createConnectQueryKey10({
|
|
17784
|
-
schema:
|
|
17784
|
+
schema: FrontierServiceQueries19.getOrganization,
|
|
17785
17785
|
transport,
|
|
17786
17786
|
input: { id: organization?.id },
|
|
17787
17787
|
cardinality: "finite"
|
|
@@ -17799,12 +17799,12 @@ var BlockOrganizationDialog = () => {
|
|
|
17799
17799
|
}
|
|
17800
17800
|
);
|
|
17801
17801
|
const { mutateAsync: enableOrganization, isPending: isEnabling } = useMutation15(
|
|
17802
|
-
|
|
17802
|
+
FrontierServiceQueries19.enableOrganization,
|
|
17803
17803
|
{
|
|
17804
17804
|
onSuccess: async () => {
|
|
17805
17805
|
await queryClient.invalidateQueries({
|
|
17806
17806
|
queryKey: createConnectQueryKey10({
|
|
17807
|
-
schema:
|
|
17807
|
+
schema: FrontierServiceQueries19.getOrganization,
|
|
17808
17808
|
transport,
|
|
17809
17809
|
input: { id: organization?.id },
|
|
17810
17810
|
cardinality: "finite"
|
|
@@ -17918,8 +17918,8 @@ import {
|
|
|
17918
17918
|
toast as toast13
|
|
17919
17919
|
} from "@raystack/apsara";
|
|
17920
17920
|
|
|
17921
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
17922
|
-
var digest58 = "
|
|
17921
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-zqjwHEEunTBU/sdk/admin/views/organizations/details/security/security.module.css.js
|
|
17922
|
+
var digest58 = "70b53438eab75342043fc27aed3e90e138eb1104fe27f6ea9d3bd57564b9dd34";
|
|
17923
17923
|
var css58 = `._container_1wkae_1 {
|
|
17924
17924
|
width: 100%;
|
|
17925
17925
|
}
|
|
@@ -17963,7 +17963,7 @@ var security_module_css_default3 = { "container": "_container_1wkae_1", "content
|
|
|
17963
17963
|
import { useContext as useContext17, useState as useState27 } from "react";
|
|
17964
17964
|
import { useMutation as useMutation16, createConnectQueryKey as createConnectQueryKey11, useTransport as useTransport12 } from "@connectrpc/connect-query";
|
|
17965
17965
|
import { useQueryClient as useQueryClient13 } from "@tanstack/react-query";
|
|
17966
|
-
import { FrontierServiceQueries as
|
|
17966
|
+
import { FrontierServiceQueries as FrontierServiceQueries20, DeleteOrganizationDomainRequestSchema } from "@raystack/proton/frontier";
|
|
17967
17967
|
import { create as create20 } from "@bufbuild/protobuf";
|
|
17968
17968
|
import { jsx as jsx96, jsxs as jsxs71 } from "react/jsx-runtime";
|
|
17969
17969
|
var DeleteDomainDialog = ({
|
|
@@ -17974,12 +17974,12 @@ var DeleteDomainDialog = ({
|
|
|
17974
17974
|
const queryClient = useQueryClient13();
|
|
17975
17975
|
const transport = useTransport12();
|
|
17976
17976
|
const { mutateAsync: deleteDomain, isPending } = useMutation16(
|
|
17977
|
-
|
|
17977
|
+
FrontierServiceQueries20.deleteOrganizationDomain,
|
|
17978
17978
|
{
|
|
17979
17979
|
onSuccess: () => {
|
|
17980
17980
|
queryClient.invalidateQueries({
|
|
17981
17981
|
queryKey: createConnectQueryKey11({
|
|
17982
|
-
schema:
|
|
17982
|
+
schema: FrontierServiceQueries20.listOrganizationDomains,
|
|
17983
17983
|
transport,
|
|
17984
17984
|
input: { orgId: organization?.id || "" },
|
|
17985
17985
|
cardinality: "finite"
|
|
@@ -18076,7 +18076,7 @@ var DomainsList = ({
|
|
|
18076
18076
|
// admin/views/organizations/details/security/index.tsx
|
|
18077
18077
|
import { useQuery as useQuery17 } from "@connectrpc/connect-query";
|
|
18078
18078
|
import {
|
|
18079
|
-
FrontierServiceQueries as
|
|
18079
|
+
FrontierServiceQueries as FrontierServiceQueries21,
|
|
18080
18080
|
ListOrganizationDomainsRequestSchema
|
|
18081
18081
|
} from "@raystack/proton/frontier";
|
|
18082
18082
|
import { create as create21 } from "@bufbuild/protobuf";
|
|
@@ -18105,7 +18105,7 @@ var AddDomainSection = () => {
|
|
|
18105
18105
|
var OrganizationSecurity = () => {
|
|
18106
18106
|
const { organization } = useContext18(OrganizationContext);
|
|
18107
18107
|
const { data: domains, isLoading, error } = useQuery17(
|
|
18108
|
-
|
|
18108
|
+
FrontierServiceQueries21.listOrganizationDomains,
|
|
18109
18109
|
create21(ListOrganizationDomainsRequestSchema, {
|
|
18110
18110
|
orgId: organization?.id
|
|
18111
18111
|
}),
|
|
@@ -18143,8 +18143,8 @@ var OrganizationSecurity = () => {
|
|
|
18143
18143
|
// admin/views/organizations/details/members/index.tsx
|
|
18144
18144
|
import { DataTable as DataTable20, EmptyState as EmptyState15, Flex as Flex71 } from "@raystack/apsara";
|
|
18145
18145
|
|
|
18146
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
18147
|
-
var digest59 = "
|
|
18146
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-5mgqLQ80HRpi/sdk/admin/views/organizations/details/members/members.module.css.js
|
|
18147
|
+
var digest59 = "44874bc9000c5709d30f9f58295ea18f8afd60e561c2d0ad0aa428911b5636de";
|
|
18148
18148
|
var css59 = `._container_6bi1j_1 {
|
|
18149
18149
|
width: 100%;
|
|
18150
18150
|
}
|
|
@@ -18207,8 +18207,8 @@ import {
|
|
|
18207
18207
|
DropdownMenu as DropdownMenu4
|
|
18208
18208
|
} from "@raystack/apsara";
|
|
18209
18209
|
|
|
18210
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
18211
|
-
var digest60 = "
|
|
18210
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-C9fIaOSHTsZp/sdk/admin/views/organizations/details/members/members.module.css.js
|
|
18211
|
+
var digest60 = "017f3c8a7318f89d90cb8eca63629fa72c84a7f906945626a530b0cddde8104b";
|
|
18212
18212
|
var css60 = `._container_6bi1j_1 {
|
|
18213
18213
|
width: 100%;
|
|
18214
18214
|
}
|
|
@@ -18399,7 +18399,7 @@ import { useQueryClient as useQueryClient14 } from "@tanstack/react-query";
|
|
|
18399
18399
|
|
|
18400
18400
|
// admin/views/organizations/details/members/remove-member.tsx
|
|
18401
18401
|
import {
|
|
18402
|
-
FrontierServiceQueries as
|
|
18402
|
+
FrontierServiceQueries as FrontierServiceQueries22,
|
|
18403
18403
|
RemoveOrganizationMemberRequestSchema
|
|
18404
18404
|
} from "@raystack/proton/frontier";
|
|
18405
18405
|
import { create as create22 } from "@bufbuild/protobuf";
|
|
@@ -18415,7 +18415,7 @@ var RemoveMember = ({
|
|
|
18415
18415
|
}) => {
|
|
18416
18416
|
const t = useTerminology();
|
|
18417
18417
|
const { mutateAsync: removeOrganizationMember, isPending } = useMutation17(
|
|
18418
|
-
|
|
18418
|
+
FrontierServiceQueries22.removeOrganizationMember
|
|
18419
18419
|
);
|
|
18420
18420
|
async function onSubmit() {
|
|
18421
18421
|
try {
|
|
@@ -18745,8 +18745,8 @@ import {
|
|
|
18745
18745
|
Flex as Flex79
|
|
18746
18746
|
} from "@raystack/apsara";
|
|
18747
18747
|
|
|
18748
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
18749
|
-
var digest61 = "
|
|
18748
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-uW4xTzJGwYtk/sdk/admin/views/organizations/details/projects/projects.module.css.js
|
|
18749
|
+
var digest61 = "9462db25f48218cc2c300530313f451c90c7c23f40bfb75a24f208b2c2a29e22";
|
|
18750
18750
|
var css61 = `._container_1rf4u_1 {
|
|
18751
18751
|
width: 100%;
|
|
18752
18752
|
}
|
|
@@ -18815,8 +18815,8 @@ import {
|
|
|
18815
18815
|
DropdownMenu as DropdownMenu5
|
|
18816
18816
|
} from "@raystack/apsara";
|
|
18817
18817
|
|
|
18818
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
18819
|
-
var digest62 = "
|
|
18818
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-O1iOpfdZLi5B/sdk/admin/views/organizations/details/projects/projects.module.css.js
|
|
18819
|
+
var digest62 = "cf61f521bf9fc8ebbf27f83a8fb6ebc261a600df1936742066d9499334ea89b9";
|
|
18820
18820
|
var css62 = `._container_1rf4u_1 {
|
|
18821
18821
|
width: 100%;
|
|
18822
18822
|
}
|
|
@@ -18878,7 +18878,7 @@ import dayjs13 from "dayjs";
|
|
|
18878
18878
|
// admin/views/organizations/details/projects/rename-project.tsx
|
|
18879
18879
|
import { Button as Button27, Dialog as Dialog15, Flex as Flex72, InputField as InputField8, toast as toast16 } from "@raystack/apsara";
|
|
18880
18880
|
import {
|
|
18881
|
-
FrontierServiceQueries as
|
|
18881
|
+
FrontierServiceQueries as FrontierServiceQueries23,
|
|
18882
18882
|
UpdateProjectRequestSchema
|
|
18883
18883
|
} from "@raystack/proton/frontier";
|
|
18884
18884
|
import { create as create23 } from "@bufbuild/protobuf";
|
|
@@ -18913,7 +18913,7 @@ function RenameProjectDialog({
|
|
|
18913
18913
|
resolver: zodResolver11(projectRenameSchema)
|
|
18914
18914
|
});
|
|
18915
18915
|
const { mutateAsync: updateProject } = useMutation18(
|
|
18916
|
-
|
|
18916
|
+
FrontierServiceQueries23.updateProject
|
|
18917
18917
|
);
|
|
18918
18918
|
const submit = async (data) => {
|
|
18919
18919
|
try {
|
|
@@ -19001,7 +19001,7 @@ import { useState as useState31 } from "react";
|
|
|
19001
19001
|
import { useCallback as useCallback13, useContext as useContext20, useMemo as useMemo12, useState as useState30 } from "react";
|
|
19002
19002
|
import { toast as toast17 } from "@raystack/apsara";
|
|
19003
19003
|
import { useQuery as useQuery18, useMutation as useMutation19 } from "@connectrpc/connect-query";
|
|
19004
|
-
import { FrontierServiceQueries as
|
|
19004
|
+
import { FrontierServiceQueries as FrontierServiceQueries24, ListProjectUsersRequestSchema, ListRolesRequestSchema as ListRolesRequestSchema3, SetProjectMemberRoleRequestSchema } from "@raystack/proton/frontier";
|
|
19005
19005
|
import { create as create24 } from "@bufbuild/protobuf";
|
|
19006
19006
|
function useAddProjectMembers({ projectId }) {
|
|
19007
19007
|
const t = useTerminology();
|
|
@@ -19009,7 +19009,7 @@ function useAddProjectMembers({ projectId }) {
|
|
|
19009
19009
|
const { orgMembersMap } = useContext20(OrganizationContext);
|
|
19010
19010
|
const [searchQuery, setSearchQuery] = useState30("");
|
|
19011
19011
|
const { data: projectMembers, isLoading, refetch } = useQuery18(
|
|
19012
|
-
|
|
19012
|
+
FrontierServiceQueries24.listProjectUsers,
|
|
19013
19013
|
create24(ListProjectUsersRequestSchema, { id: projectId }),
|
|
19014
19014
|
{
|
|
19015
19015
|
enabled: !!projectId,
|
|
@@ -19033,7 +19033,7 @@ function useAddProjectMembers({ projectId }) {
|
|
|
19033
19033
|
}) : nonMembers;
|
|
19034
19034
|
}, [nonMembers, searchQuery]);
|
|
19035
19035
|
const { data: rolesData } = useQuery18(
|
|
19036
|
-
|
|
19036
|
+
FrontierServiceQueries24.listRoles,
|
|
19037
19037
|
create24(ListRolesRequestSchema3, {
|
|
19038
19038
|
state: "enabled",
|
|
19039
19039
|
scopes: [SCOPES.PROJECT]
|
|
@@ -19045,7 +19045,7 @@ function useAddProjectMembers({ projectId }) {
|
|
|
19045
19045
|
[rolesData]
|
|
19046
19046
|
);
|
|
19047
19047
|
const { mutateAsync: setProjectMemberRole } = useMutation19(
|
|
19048
|
-
|
|
19048
|
+
FrontierServiceQueries24.setProjectMemberRole
|
|
19049
19049
|
);
|
|
19050
19050
|
const addMember = useCallback13(
|
|
19051
19051
|
async (userId) => {
|
|
@@ -19323,7 +19323,7 @@ import { DataTable as DataTable21, Dialog as Dialog18, EmptyState as EmptyState1
|
|
|
19323
19323
|
import { useCallback as useCallback14, useMemo as useMemo13, useState as useState33 } from "react";
|
|
19324
19324
|
import {
|
|
19325
19325
|
AdminServiceQueries as AdminServiceQueries21,
|
|
19326
|
-
FrontierServiceQueries as
|
|
19326
|
+
FrontierServiceQueries as FrontierServiceQueries27,
|
|
19327
19327
|
GetProjectRequestSchema,
|
|
19328
19328
|
ListRolesRequestSchema as ListRolesRequestSchema4
|
|
19329
19329
|
} from "@raystack/proton/frontier";
|
|
@@ -19331,8 +19331,8 @@ import { create as create27 } from "@bufbuild/protobuf";
|
|
|
19331
19331
|
import { useQuery as useQuery19, useInfiniteQuery as useInfiniteQuery6 } from "@connectrpc/connect-query";
|
|
19332
19332
|
import { useDebouncedState as useDebouncedState4 } from "@raystack/apsara/hooks";
|
|
19333
19333
|
|
|
19334
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
19335
|
-
var digest63 = "
|
|
19334
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-Y66kuy0TazZu/sdk/admin/views/organizations/details/projects/members/members.module.css.js
|
|
19335
|
+
var digest63 = "02c9ac6f0c2bbf678190b4658a8473d7665a8930b95b64156503942cfe6d979c";
|
|
19336
19336
|
var css63 = `._flex1_1k2kc_1 {
|
|
19337
19337
|
flex: 1;
|
|
19338
19338
|
}
|
|
@@ -19424,8 +19424,8 @@ var css63 = `._flex1_1k2kc_1 {
|
|
|
19424
19424
|
})();
|
|
19425
19425
|
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" };
|
|
19426
19426
|
|
|
19427
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
19428
|
-
var digest64 = "
|
|
19427
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-mRHYzhU7fbxo/sdk/admin/views/organizations/details/projects/members/members.module.css.js
|
|
19428
|
+
var digest64 = "089a07fddbce333d62f0964184f2b032a72bae1ca04653abb209f53baa6b2c90";
|
|
19429
19429
|
var css64 = `._flex1_1k2kc_1 {
|
|
19430
19430
|
flex: 1;
|
|
19431
19431
|
}
|
|
@@ -19633,8 +19633,8 @@ import {
|
|
|
19633
19633
|
toast as toast18
|
|
19634
19634
|
} from "@raystack/apsara";
|
|
19635
19635
|
|
|
19636
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
19637
|
-
var digest65 = "
|
|
19636
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-Ggies5cHhlhJ/sdk/admin/views/organizations/details/projects/members/members.module.css.js
|
|
19637
|
+
var digest65 = "4314fa522a950102c11a8f83e85b5b1d36404a2e6e1df54a8bf2ded7cceff993";
|
|
19638
19638
|
var css65 = `._flex1_1k2kc_1 {
|
|
19639
19639
|
flex: 1;
|
|
19640
19640
|
}
|
|
@@ -19728,7 +19728,7 @@ var members_module_css_default5 = { "flex1": "_flex1_1k2kc_1", "dialog-content":
|
|
|
19728
19728
|
|
|
19729
19729
|
// admin/views/organizations/details/projects/members/assign-role.tsx
|
|
19730
19730
|
import {
|
|
19731
|
-
FrontierServiceQueries as
|
|
19731
|
+
FrontierServiceQueries as FrontierServiceQueries25,
|
|
19732
19732
|
SetProjectMemberRoleRequestSchema as SetProjectMemberRoleRequestSchema2
|
|
19733
19733
|
} from "@raystack/proton/frontier";
|
|
19734
19734
|
import { create as create25 } from "@bufbuild/protobuf";
|
|
@@ -19759,7 +19759,7 @@ var AssignRole2 = ({
|
|
|
19759
19759
|
resolver: zodResolver12(formSchema2)
|
|
19760
19760
|
});
|
|
19761
19761
|
const { mutateAsync: setProjectMemberRole } = useMutation20(
|
|
19762
|
-
|
|
19762
|
+
FrontierServiceQueries25.setProjectMemberRole
|
|
19763
19763
|
);
|
|
19764
19764
|
const selectedRoleId = watch("roleId");
|
|
19765
19765
|
const onSubmit = async (data) => {
|
|
@@ -19852,14 +19852,14 @@ var AssignRole2 = ({
|
|
|
19852
19852
|
// admin/views/organizations/details/projects/members/remove-member.tsx
|
|
19853
19853
|
import { useState as useState32 } from "react";
|
|
19854
19854
|
import {
|
|
19855
|
-
FrontierServiceQueries as
|
|
19855
|
+
FrontierServiceQueries as FrontierServiceQueries26,
|
|
19856
19856
|
RemoveProjectMemberRequestSchema
|
|
19857
19857
|
} from "@raystack/proton/frontier";
|
|
19858
19858
|
import { create as create26 } from "@bufbuild/protobuf";
|
|
19859
19859
|
import { useMutation as useMutation21 } from "@connectrpc/connect-query";
|
|
19860
19860
|
|
|
19861
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
19862
|
-
var digest66 = "
|
|
19861
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-wZx8dvNll50c/sdk/admin/views/organizations/details/projects/members/members.module.css.js
|
|
19862
|
+
var digest66 = "4ad7cf30fb5226bbd9d14b9cfcca774b8b8ea98c0fdea00b05a2a96aab5ef3ab";
|
|
19863
19863
|
var css66 = `._flex1_1k2kc_1 {
|
|
19864
19864
|
flex: 1;
|
|
19865
19865
|
}
|
|
@@ -19963,7 +19963,7 @@ var RemoveMember2 = ({
|
|
|
19963
19963
|
const t = useTerminology();
|
|
19964
19964
|
const [isSubmitting, setIsSubmitting] = useState32(false);
|
|
19965
19965
|
const { mutateAsync: removeProjectMember } = useMutation21(
|
|
19966
|
-
|
|
19966
|
+
FrontierServiceQueries26.removeProjectMember
|
|
19967
19967
|
);
|
|
19968
19968
|
async function onSubmit() {
|
|
19969
19969
|
try {
|
|
@@ -20056,8 +20056,8 @@ import {
|
|
|
20056
20056
|
Text as Text56
|
|
20057
20057
|
} from "@raystack/apsara";
|
|
20058
20058
|
|
|
20059
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
20060
|
-
var digest67 = "
|
|
20059
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-XZgHoRgI9Vtp/sdk/admin/views/organizations/details/projects/members/members.module.css.js
|
|
20060
|
+
var digest67 = "ed9e9874e0f9f5ac067fd9e9c992ccf2fdbd2dfcf95770c8ef46e537c9edc59d";
|
|
20061
20061
|
var css67 = `._flex1_1k2kc_1 {
|
|
20062
20062
|
flex: 1;
|
|
20063
20063
|
}
|
|
@@ -20242,7 +20242,7 @@ var ProjectMembersDialog = ({
|
|
|
20242
20242
|
const [assignRoleConfig, setAssignRoleConfig] = useState33({ isOpen: false, user: null });
|
|
20243
20243
|
const [removeMemberConfig, setRemoveMemberConfig] = useState33({ isOpen: false, user: null });
|
|
20244
20244
|
const { data: project, isLoading: isProjectLoading, error: projectError } = useQuery19(
|
|
20245
|
-
|
|
20245
|
+
FrontierServiceQueries27.getProject,
|
|
20246
20246
|
create27(GetProjectRequestSchema, { id: projectId }),
|
|
20247
20247
|
{
|
|
20248
20248
|
enabled: !!projectId,
|
|
@@ -20250,7 +20250,7 @@ var ProjectMembersDialog = ({
|
|
|
20250
20250
|
}
|
|
20251
20251
|
);
|
|
20252
20252
|
const { data: projectRoles = [], isLoading: isProjectRolesLoading, error: rolesError } = useQuery19(
|
|
20253
|
-
|
|
20253
|
+
FrontierServiceQueries27.listRoles,
|
|
20254
20254
|
create27(ListRolesRequestSchema4, { scopes: [PROJECT_NAMESPACE] }),
|
|
20255
20255
|
{
|
|
20256
20256
|
select: (data2) => data2?.roles || []
|
|
@@ -20591,8 +20591,8 @@ function OrganizationProjectsView() {
|
|
|
20591
20591
|
// admin/views/organizations/details/invoices/index.tsx
|
|
20592
20592
|
import { DataTable as DataTable23, EmptyState as EmptyState18, Flex as Flex80 } from "@raystack/apsara";
|
|
20593
20593
|
|
|
20594
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
20595
|
-
var digest68 = "
|
|
20594
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-TUC3xLvljBNE/sdk/admin/views/organizations/details/invoices/invoices.module.css.js
|
|
20595
|
+
var digest68 = "6a5f9936efc488ecf5ecf100bb57e55bfb0e6672052ca0d437effa679cdd08a6";
|
|
20596
20596
|
var css68 = `._empty-state_ct7gw_1 {
|
|
20597
20597
|
height: 100%;
|
|
20598
20598
|
}
|
|
@@ -20638,8 +20638,8 @@ var invoices_module_css_default3 = { "empty-state": "_empty-state_ct7gw_1", "emp
|
|
|
20638
20638
|
// admin/views/organizations/details/invoices/index.tsx
|
|
20639
20639
|
import { useContext as useContext22, useEffect as useEffect17, useMemo as useMemo15, useState as useState35 } from "react";
|
|
20640
20640
|
|
|
20641
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
20642
|
-
var digest69 = "
|
|
20641
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-heEhU0ATTQZH/sdk/admin/views/organizations/details/invoices/invoices.module.css.js
|
|
20642
|
+
var digest69 = "95d83e4515d409acdb1b3cdfa6201f997e152ec485e65f437ada418bfb9dd3a7";
|
|
20643
20643
|
var css69 = `._empty-state_ct7gw_1 {
|
|
20644
20644
|
height: 100%;
|
|
20645
20645
|
}
|
|
@@ -20754,7 +20754,7 @@ var getColumns15 = ({
|
|
|
20754
20754
|
];
|
|
20755
20755
|
|
|
20756
20756
|
// admin/views/organizations/details/invoices/index.tsx
|
|
20757
|
-
import { FrontierServiceQueries as
|
|
20757
|
+
import { FrontierServiceQueries as FrontierServiceQueries28 } from "@raystack/proton/frontier";
|
|
20758
20758
|
import { useInfiniteQuery as useInfiniteQuery8 } from "@connectrpc/connect-query";
|
|
20759
20759
|
import { jsx as jsx110, jsxs as jsxs84 } from "react/jsx-runtime";
|
|
20760
20760
|
var DEFAULT_SORT7 = { name: "createdAt", order: "desc" };
|
|
@@ -20830,7 +20830,7 @@ function OrganizationInvoicesView() {
|
|
|
20830
20830
|
hasNextPage,
|
|
20831
20831
|
isError
|
|
20832
20832
|
} = useInfiniteQuery8(
|
|
20833
|
-
|
|
20833
|
+
FrontierServiceQueries28.searchOrganizationInvoices,
|
|
20834
20834
|
{ id: organizationId, query },
|
|
20835
20835
|
{
|
|
20836
20836
|
enabled: !!organizationId,
|
|
@@ -20900,8 +20900,8 @@ function OrganizationInvoicesView() {
|
|
|
20900
20900
|
// admin/views/organizations/details/tokens/index.tsx
|
|
20901
20901
|
import { DataTable as DataTable24, EmptyState as EmptyState19, Flex as Flex82 } from "@raystack/apsara";
|
|
20902
20902
|
|
|
20903
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
20904
|
-
var digest70 = "
|
|
20903
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-LIC8019Tc5FJ/sdk/admin/views/organizations/details/tokens/tokens.module.css.js
|
|
20904
|
+
var digest70 = "c95d70a60917da1bf072effb2ea3bb603f5e1afea68f6866e36f5ae2863db8a6";
|
|
20905
20905
|
var css70 = `._empty-state_1mf09_1 {
|
|
20906
20906
|
height: 100%;
|
|
20907
20907
|
}
|
|
@@ -20958,11 +20958,11 @@ var tokens_module_css_default = { "empty-state": "_empty-state_1mf09_1", "emptyS
|
|
|
20958
20958
|
// admin/views/organizations/details/tokens/index.tsx
|
|
20959
20959
|
import { CoinIcon } from "@raystack/apsara/icons";
|
|
20960
20960
|
import { useContext as useContext23, useEffect as useEffect18, useMemo as useMemo16, useState as useState36 } from "react";
|
|
20961
|
-
import {
|
|
20961
|
+
import { FrontierServiceQueries as FrontierServiceQueries29 } from "@raystack/proton/frontier";
|
|
20962
20962
|
import { useInfiniteQuery as useInfiniteQuery9 } from "@connectrpc/connect-query";
|
|
20963
20963
|
|
|
20964
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
20965
|
-
var digest71 = "
|
|
20964
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-8QWLCLL42crX/sdk/admin/views/organizations/details/tokens/tokens.module.css.js
|
|
20965
|
+
var digest71 = "ac76f9c59097f9ce515d209205bfa256192bf0d83696bfc2636eb3e90c82ede0";
|
|
20966
20966
|
var css71 = `._empty-state_1mf09_1 {
|
|
20967
20967
|
height: 100%;
|
|
20968
20968
|
}
|
|
@@ -21168,7 +21168,7 @@ function OrganizationTokensView() {
|
|
|
21168
21168
|
hasNextPage,
|
|
21169
21169
|
isError
|
|
21170
21170
|
} = useInfiniteQuery9(
|
|
21171
|
-
|
|
21171
|
+
FrontierServiceQueries29.searchOrganizationTokens,
|
|
21172
21172
|
{ id: organizationId, query },
|
|
21173
21173
|
{
|
|
21174
21174
|
enabled: !!organizationId,
|
|
@@ -21237,8 +21237,8 @@ function OrganizationTokensView() {
|
|
|
21237
21237
|
// admin/views/organizations/details/apis/index.tsx
|
|
21238
21238
|
import { DataTable as DataTable25, EmptyState as EmptyState20, Flex as Flex84 } from "@raystack/apsara";
|
|
21239
21239
|
|
|
21240
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
21241
|
-
var digest72 = "
|
|
21240
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-YMUlJLCjxYde/sdk/admin/views/organizations/details/apis/apis.module.css.js
|
|
21241
|
+
var digest72 = "74b1f53369553a2503f03d0bd55b19fd11d7b4387e7c003459994c1ddd614556";
|
|
21242
21242
|
var css72 = `._empty-state_r9k2f_1 {
|
|
21243
21243
|
height: 100%;
|
|
21244
21244
|
}
|
|
@@ -21323,8 +21323,8 @@ import { useCallback as useCallback16, useContext as useContext24, useEffect as
|
|
|
21323
21323
|
import { Text as Text58 } from "@raystack/apsara";
|
|
21324
21324
|
import dayjs16 from "dayjs";
|
|
21325
21325
|
|
|
21326
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
21327
|
-
var digest73 = "
|
|
21326
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-GLOMKmjmYK79/sdk/admin/views/organizations/details/apis/apis.module.css.js
|
|
21327
|
+
var digest73 = "a998862cf8ab2acbd97847b820aa0e15b3ef30ae9917772fa5d4f8bbec041634";
|
|
21328
21328
|
var css73 = `._empty-state_r9k2f_1 {
|
|
21329
21329
|
height: 100%;
|
|
21330
21330
|
}
|
|
@@ -21448,8 +21448,8 @@ function getColumns17(options) {
|
|
|
21448
21448
|
// admin/views/organizations/details/apis/details-dialog.tsx
|
|
21449
21449
|
import { Dialog as Dialog19, Flex as Flex83, Skeleton as Skeleton4, Tabs, Text as Text59, toast as toast20 } from "@raystack/apsara";
|
|
21450
21450
|
|
|
21451
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
21452
|
-
var digest74 = "
|
|
21451
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2217-gYcLLIbq2gxr/sdk/admin/views/organizations/details/apis/apis.module.css.js
|
|
21452
|
+
var digest74 = "6c673473e62734fff36d7fbd2121143f3f0ec76828ec2b22f1273b145d991175";
|
|
21453
21453
|
var css74 = `._empty-state_r9k2f_1 {
|
|
21454
21454
|
height: 100%;
|
|
21455
21455
|
}
|
|
@@ -21531,7 +21531,7 @@ var apis_module_css_default3 = { "empty-state": "_empty-state_r9k2f_1", "emptySt
|
|
|
21531
21531
|
import { useCallback as useCallback15, useEffect as useEffect19, useMemo as useMemo17 } from "react";
|
|
21532
21532
|
import { useQuery as useQuery20 } from "@connectrpc/connect-query";
|
|
21533
21533
|
import {
|
|
21534
|
-
FrontierServiceQueries as
|
|
21534
|
+
FrontierServiceQueries as FrontierServiceQueries30,
|
|
21535
21535
|
ListServiceUserProjectsRequestSchema,
|
|
21536
21536
|
ListServiceUserTokensRequestSchema
|
|
21537
21537
|
} from "@raystack/proton/frontier";
|
|
@@ -21561,7 +21561,7 @@ var ServiceUserDetailsDialog = ({
|
|
|
21561
21561
|
data: projects = [],
|
|
21562
21562
|
isLoading: isProjectLoading,
|
|
21563
21563
|
error: projectError
|
|
21564
|
-
} = useQuery20(
|
|
21564
|
+
} = useQuery20(FrontierServiceQueries30.listServiceUserProjects, projectsRequest, {
|
|
21565
21565
|
enabled: !!orgId && !!id,
|
|
21566
21566
|
select: (data) => data?.projects || []
|
|
21567
21567
|
});
|
|
@@ -21569,7 +21569,7 @@ var ServiceUserDetailsDialog = ({
|
|
|
21569
21569
|
data: tokens = [],
|
|
21570
21570
|
isLoading: isTokenLoading,
|
|
21571
21571
|
error: tokenError
|
|
21572
|
-
} = useQuery20(
|
|
21572
|
+
} = useQuery20(FrontierServiceQueries30.listServiceUserTokens, tokensRequest, {
|
|
21573
21573
|
enabled: !!orgId && !!id,
|
|
21574
21574
|
select: (data) => data?.tokens || []
|
|
21575
21575
|
});
|
|
@@ -21657,7 +21657,7 @@ var ServiceUserDetailsDialog = ({
|
|
|
21657
21657
|
// admin/views/organizations/details/apis/index.tsx
|
|
21658
21658
|
import { useInfiniteQuery as useInfiniteQuery10 } from "@connectrpc/connect-query";
|
|
21659
21659
|
import {
|
|
21660
|
-
AdminServiceQueries as
|
|
21660
|
+
AdminServiceQueries as AdminServiceQueries23
|
|
21661
21661
|
} from "@raystack/proton/frontier";
|
|
21662
21662
|
import { jsx as jsx115, jsxs as jsxs88 } from "react/jsx-runtime";
|
|
21663
21663
|
var NoCredentials = () => {
|
|
@@ -21736,7 +21736,7 @@ function OrganizationApisView() {
|
|
|
21736
21736
|
isError,
|
|
21737
21737
|
hasNextPage
|
|
21738
21738
|
} = useInfiniteQuery10(
|
|
21739
|
-
|
|
21739
|
+
AdminServiceQueries23.searchOrganizationServiceUsers,
|
|
21740
21740
|
{ id: organizationId, query },
|
|
21741
21741
|
{
|
|
21742
21742
|
pageParamKey: "query",
|