@raystack/frontier 0.95.0 → 0.95.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/admin/dist/index.d.ts +63 -2
- package/admin/dist/index.js +2140 -1856
- package/admin/dist/index.mjs +1686 -1408
- package/package.json +2 -2
- package/react/dist/index.js +548 -504
- package/react/dist/index.mjs +576 -532
package/react/dist/index.js
CHANGED
|
@@ -411,8 +411,8 @@ var cross_default = 'data:image/svg+xml,<svg width="20" height="20" viewBox="0 0
|
|
|
411
411
|
// react/components/avatar-upload/index.tsx
|
|
412
412
|
var import_ReactCrop = require("react-image-crop/dist/ReactCrop.css");
|
|
413
413
|
|
|
414
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
415
|
-
var digest = "
|
|
414
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-ZJ03Mkh4EDZC/sdk/react/components/avatar-upload/avatar-upload.module.css.js
|
|
415
|
+
var digest = "e0f182c65c20c3bf93778c2922ab998fb17f69f6d53ed62b23df45c776cedd2f";
|
|
416
416
|
var css = `._container_1k4dc_1 {
|
|
417
417
|
display: flex;
|
|
418
418
|
flex-direction: column;
|
|
@@ -683,8 +683,8 @@ AvatarUpload.displayName = "AvatarUpload";
|
|
|
683
683
|
var import_apsara2 = require("@raystack/apsara");
|
|
684
684
|
var import_class_variance_authority = require("class-variance-authority");
|
|
685
685
|
|
|
686
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
687
|
-
var digest2 = "
|
|
686
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-TxzuE8F7oX1D/sdk/react/components/container.module.css.js
|
|
687
|
+
var digest2 = "431246a5ab93e7bea64f4947d0b701bad1a703f6fde6d35566f147f9ab3d74e6";
|
|
688
688
|
var css2 = `._container_1e0de_1 {
|
|
689
689
|
min-width: 220px;
|
|
690
690
|
max-width: 480px;
|
|
@@ -784,8 +784,8 @@ var import_apsara3 = require("@raystack/apsara");
|
|
|
784
784
|
// react/assets/logo.png
|
|
785
785
|
var logo_default = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAIAAAAiOjnJAABZvElEQVR4nNS9CZAeR3Ymlq/67xt9X2igL6DRQIMASIInyAHBIXjNDGdGszMaWdbE2pJshxW2YqW1HCGtHCs55JD2sLwrybK1G7JXVnjlWB07M9JoODMYDs8BSfAACeJGA+gD3Y1G3/f9/+n4qyoz38t8WX/9ALWxW0Gi68/KyvPl9773Misz83Nf/4GQUkohpRBCivy/Ivyp7tX/IKI4IgoF4VzhUxDSCoku4ALd38DHccMleNNg85JJiTsh+fSZQF9knC4U/y4TH7hyqmaXbra+7jCp0UAnPtNr4BYpugETEt5DFKLvAUQmEqBIqvL/KpGSOgMZyp2AnBIrkG7lTMbxy2CXL07QCVfSDLHscpUFq94yKoU06ThNzXZMPlxKOz36Ixo/KIa0ZEW6tXYSYwuARibTi5J2pJS0iVA4I0P2CEItg1IjIfQPoF7Sf6Ulkbo0IAKI65cvD+gRFd7LfBtnsFSFgoXESxjcEiqAKSVt8XhISTZceMNFTsGl6hIw/0qn/UBIKazGEJxYGKxC4Xa/kh7VHSFJv5KyodgRkgM44c6IlyyoC52fCQVrDKrBYNfXh9PR21K67anHLu27OH8X2HAfhZFCcJIyF4ZGiCWVSOWbIZQrAMjE7SiN+pNKthRuKYmStBnI2KDVk5KODdUoXEM4SCbj0kradtLtfiHZcHe0qTZ2lbBHNJkudGMKJCg+oHUvI9ysWEhSOxSYsyTPLY0kqjaHKu/kIqwSR7Iu3Q4FF0uje5AQiWnYWVEzQDjCQlUiM5pgEanKKZUoTS2lNOJtN5nEciRxC2lOYI0zsEZFDhfbriHpVPSHiKZTd9rZku1pty5x6aVkw/mMnBK4bEGLgqVRQbgo6pHjuApgS4V0FJyNxDbGuXJJw5340mi6GPhjuIL8swi4QIoAItUIMs+xIlnN/8lFshWSqTzYSWlzL9oKLicwOI+0mI8TuNWIe9qmQMJVTNyrugA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EHe2b6qa7yMwOcT3QSxoWqqihxlNd9UeSGZuEAzNUX4+dUCWqRKYsRQkrI9xvSZWlIQpbRdCHD9QQnMAG87ybtY35jInIOE4kCZoOtbOSDhpCi0iQB6h3CVWmlLrQUZjsinoSvJD3WpP87Iuj+1FdXSikao8xxKaHwcgc1I/iI4LQNPHxvhXWQZqAQTDHjzQ7acFBg7dZpe2B5ByGrAbWc+ggev4JvGdnrB2uETd6WyQJR1EICIo3ZUlYFULX3FaYC/jQXW0pNN1BrrlVzGxvrH1SiLxwlZkIHQbm7N/MGHHJwyJDOBzSAPAQyH2yEfrZdjVJQD27gX+hoj+cKe/JAxoif4aafLJpZqORXIHHuXLZQnC8drrqRK7MyTil4bTkL28SbmwXEpGCIBUk7zsQiYZgkg7gwg8KI6KauKzGpCGEzaCNDoiUPrAIkBqGOD/DwAA//8N10+QXsh1VAAAAABJRU5ErkJggg==";
|
|
786
786
|
|
|
787
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
788
|
-
var digest3 = "
|
|
787
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-s2fZ6HclI275/sdk/react/components/header.module.css.js
|
|
788
|
+
var digest3 = "3b47ab1eb2bfd65b4b180b8dd2f5e6418acf0c42424d96430bb147bebf5930c7";
|
|
789
789
|
var css3 = `._container_1op46_1 {
|
|
790
790
|
min-width: 220px;
|
|
791
791
|
max-width: 100%;
|
|
@@ -1426,8 +1426,8 @@ var MagicLink = (_a) => {
|
|
|
1426
1426
|
var import_apsara5 = require("@raystack/apsara");
|
|
1427
1427
|
var import_react5 = require("react");
|
|
1428
1428
|
|
|
1429
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
1430
|
-
var digest4 = "
|
|
1429
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-EIif427pFY15/sdk/react/components/onboarding/onboarding.module.css.js
|
|
1430
|
+
var digest4 = "077ee169f0c506c1ef2d2d0ad173049f73ed96caa68d1ce590a70b1606383183";
|
|
1431
1431
|
var css4 = `._container_149m6_1 {
|
|
1432
1432
|
width: 100%;
|
|
1433
1433
|
}
|
|
@@ -1729,8 +1729,8 @@ var shouldShowComponent = (permissions = {}, permisionsRequired) => {
|
|
|
1729
1729
|
return permissions[permisionsRequired] === true;
|
|
1730
1730
|
};
|
|
1731
1731
|
|
|
1732
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
1733
|
-
var digest5 = "
|
|
1732
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-V7n2vnxBgzhL/sdk/react/components/onboarding/onboarding.module.css.js
|
|
1733
|
+
var digest5 = "d67816de5ffa842eb15e5b8029b022943a8534308e54fa6639fb49038bf5b021";
|
|
1734
1734
|
var css5 = `._container_149m6_1 {
|
|
1735
1735
|
width: 100%;
|
|
1736
1736
|
}
|
|
@@ -1873,8 +1873,8 @@ var OIDCButton = ({ onClick, provider }) => /* @__PURE__ */ (0, import_jsx_runti
|
|
|
1873
1873
|
}
|
|
1874
1874
|
);
|
|
1875
1875
|
|
|
1876
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
1877
|
-
var digest6 = "
|
|
1876
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-63NCV6KegTzT/sdk/react/components/onboarding/onboarding.module.css.js
|
|
1877
|
+
var digest6 = "7517e6fc48c5529b99dcce203ad3e3dd09a33b275554ab35d0f2a222afc9e2c0";
|
|
1878
1878
|
var css6 = `._container_149m6_1 {
|
|
1879
1879
|
width: 100%;
|
|
1880
1880
|
}
|
|
@@ -2067,8 +2067,8 @@ var SignIn = (_a) => {
|
|
|
2067
2067
|
var import_apsara8 = require("@raystack/apsara");
|
|
2068
2068
|
var import_react7 = require("react");
|
|
2069
2069
|
|
|
2070
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
2071
|
-
var digest7 = "
|
|
2070
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-4HlP7Y3XXR1L/sdk/react/components/onboarding/onboarding.module.css.js
|
|
2071
|
+
var digest7 = "62d8c28691426885ed3c4f752559e807104a5266bd716c12d020db00f9a11c7a";
|
|
2072
2072
|
var css7 = `._container_149m6_1 {
|
|
2073
2073
|
width: 100%;
|
|
2074
2074
|
}
|
|
@@ -2348,8 +2348,8 @@ function usePreferences({
|
|
|
2348
2348
|
};
|
|
2349
2349
|
}
|
|
2350
2350
|
|
|
2351
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
2352
|
-
var digest8 = "
|
|
2351
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-41a7wHczvjGL/sdk/react/components/onboarding/onboarding.module.css.js
|
|
2352
|
+
var digest8 = "b5f39f292118e9930ff762793225dce9cff7b19aeee453262af9d634af104225";
|
|
2353
2353
|
var css8 = `._container_149m6_1 {
|
|
2354
2354
|
width: 100%;
|
|
2355
2355
|
}
|
|
@@ -2552,8 +2552,8 @@ var import_frontier6 = require("@raystack/proton/frontier");
|
|
|
2552
2552
|
// react/assets/check-circle.svg
|
|
2553
2553
|
var check_circle_default = 'data:image/svg+xml,<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">%0A <g id="Check circle">%0A <path id="Vector" fill-rule="evenodd" clip-rule="evenodd"%0A d="M1.5 8C1.5 4.41 4.41 1.5 8 1.5C11.59 1.5 14.5 4.41 14.5 8C14.5 11.59 11.59 14.5 8 14.5C4.41 14.5 1.5 11.59 1.5 8ZM10.4067 6.79067C10.4467 6.73737 10.4756 6.67661 10.4918 6.61197C10.508 6.54732 10.5111 6.48009 10.5009 6.41424C10.4907 6.34838 10.4675 6.28522 10.4326 6.22847C10.3976 6.17171 10.3517 6.12252 10.2975 6.08377C10.2433 6.04502 10.1819 6.0175 10.1169 6.00282C10.0519 5.98814 9.98459 5.98661 9.91899 5.99831C9.85338 6.01001 9.79078 6.0347 9.73485 6.07094C9.67893 6.10718 9.63081 6.15423 9.59333 6.20933L7.436 9.22933L6.35333 8.14667C6.25855 8.05835 6.13319 8.01026 6.00365 8.01255C5.87412 8.01484 5.75053 8.06731 5.65892 8.15892C5.56731 8.25053 5.51484 8.37412 5.51255 8.50365C5.51026 8.63319 5.55835 8.75855 5.64667 8.85333L7.14667 10.3533C7.19799 10.4046 7.25987 10.4441 7.32799 10.4691C7.39612 10.4941 7.46886 10.5039 7.54118 10.498C7.61349 10.492 7.68364 10.4704 7.74675 10.4346C7.80987 10.3988 7.86443 10.3497 7.90667 10.2907L10.4067 6.79067Z"%0A fill="%2330A46C" />%0A </g>%0A</svg>';
|
|
2554
2554
|
|
|
2555
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
2556
|
-
var digest9 = "
|
|
2555
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-iariENanmHYd/sdk/react/components/onboarding/onboarding.module.css.js
|
|
2556
|
+
var digest9 = "a7dc2cc43e5f3e22e132ef787eece48843a32cf1a57a1590a3ebe93e447a2e9f";
|
|
2557
2557
|
var css9 = `._container_149m6_1 {
|
|
2558
2558
|
width: 100%;
|
|
2559
2559
|
}
|
|
@@ -2831,8 +2831,8 @@ var yup4 = __toESM(require("yup"));
|
|
|
2831
2831
|
var import_protobuf6 = require("@bufbuild/protobuf");
|
|
2832
2832
|
var import_frontier7 = require("@raystack/proton/frontier");
|
|
2833
2833
|
|
|
2834
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
2835
|
-
var digest10 = "
|
|
2834
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-7hts3BmOAvDB/sdk/react/components/organization/organization.module.css.js
|
|
2835
|
+
var digest10 = "7d328c633f62efb567e71c08e453d0bf39022d54495405cf016bccf3f2409a9a";
|
|
2836
2836
|
var css10 = `._createContainer_9rhtd_1 {
|
|
2837
2837
|
margin: auto;
|
|
2838
2838
|
width: 100%;
|
|
@@ -2890,44 +2890,9 @@ var css10 = `._createContainer_9rhtd_1 {
|
|
|
2890
2890
|
})();
|
|
2891
2891
|
var organization_module_css_default = { "createContainer": "_createContainer_9rhtd_1", "overlay": "_overlay_9rhtd_8", "dropdownActionItem": "_dropdownActionItem_9rhtd_13", "noSelectItem": "_noSelectItem_9rhtd_30", "orgTabsContainer": "_orgTabsContainer_9rhtd_35", "invite-member-emails-textarea": "_invite-member-emails-textarea_9rhtd_39", "inviteMemberEmailsTextarea": "_invite-member-emails-textarea_9rhtd_39" };
|
|
2892
2892
|
|
|
2893
|
-
//
|
|
2893
|
+
// shared/terminology.tsx
|
|
2894
2894
|
var import_react10 = require("react");
|
|
2895
|
-
var import_lodash = require("lodash");
|
|
2896
2895
|
var import_jsx_runtime12 = require("react/jsx-runtime");
|
|
2897
|
-
var defaultCustomization = {
|
|
2898
|
-
terminology: {
|
|
2899
|
-
organization: { singular: "Organization", plural: "Organizations" },
|
|
2900
|
-
project: { singular: "Project", plural: "Projects" },
|
|
2901
|
-
team: { singular: "Team", plural: "Teams" },
|
|
2902
|
-
member: { singular: "Member", plural: "Members" },
|
|
2903
|
-
user: { singular: "User", plural: "Users" },
|
|
2904
|
-
appName: "Frontier"
|
|
2905
|
-
},
|
|
2906
|
-
messages: {
|
|
2907
|
-
billing: {},
|
|
2908
|
-
general: {}
|
|
2909
|
-
}
|
|
2910
|
-
};
|
|
2911
|
-
var CustomizationContext = (0, import_react10.createContext)(
|
|
2912
|
-
defaultCustomization
|
|
2913
|
-
);
|
|
2914
|
-
var CustomizationProvider = ({
|
|
2915
|
-
children,
|
|
2916
|
-
config = {}
|
|
2917
|
-
}) => {
|
|
2918
|
-
const mergedConfig = (0, import_lodash.merge)(
|
|
2919
|
-
{},
|
|
2920
|
-
defaultCustomization,
|
|
2921
|
-
config
|
|
2922
|
-
);
|
|
2923
|
-
return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(CustomizationContext.Provider, { value: mergedConfig, children });
|
|
2924
|
-
};
|
|
2925
|
-
var useCustomizationContext = () => {
|
|
2926
|
-
const context = (0, import_react10.useContext)(CustomizationContext);
|
|
2927
|
-
return context || defaultCustomization;
|
|
2928
|
-
};
|
|
2929
|
-
|
|
2930
|
-
// react/hooks/useTerminology.ts
|
|
2931
2896
|
var applyCase = (text, caseType) => {
|
|
2932
2897
|
switch (caseType) {
|
|
2933
2898
|
case "lower":
|
|
@@ -2935,7 +2900,7 @@ var applyCase = (text, caseType) => {
|
|
|
2935
2900
|
case "upper":
|
|
2936
2901
|
return text.toUpperCase();
|
|
2937
2902
|
case "capital":
|
|
2938
|
-
return text.charAt(0).toUpperCase() + text.slice(1)
|
|
2903
|
+
return text.charAt(0).toUpperCase() + text.slice(1);
|
|
2939
2904
|
default:
|
|
2940
2905
|
return text;
|
|
2941
2906
|
}
|
|
@@ -2949,16 +2914,60 @@ var createEntity = (singular, plural) => {
|
|
|
2949
2914
|
return applyCase(text, caseType);
|
|
2950
2915
|
};
|
|
2951
2916
|
};
|
|
2917
|
+
var DEFAULT_TERMINOLOGY = {
|
|
2918
|
+
organization: { singular: "Organization", plural: "Organizations" },
|
|
2919
|
+
project: { singular: "Project", plural: "Projects" },
|
|
2920
|
+
team: { singular: "Team", plural: "Teams" },
|
|
2921
|
+
member: { singular: "Member", plural: "Members" },
|
|
2922
|
+
user: { singular: "User", plural: "Users" },
|
|
2923
|
+
appName: "Frontier"
|
|
2924
|
+
};
|
|
2925
|
+
function createTerminologyMap(terminology, defaults = DEFAULT_TERMINOLOGY) {
|
|
2926
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
|
|
2927
|
+
const t = terminology || defaults;
|
|
2928
|
+
return {
|
|
2929
|
+
organization: createEntity(
|
|
2930
|
+
((_a = t.organization) == null ? void 0 : _a.singular) || defaults.organization.singular,
|
|
2931
|
+
((_b = t.organization) == null ? void 0 : _b.plural) || defaults.organization.plural
|
|
2932
|
+
),
|
|
2933
|
+
project: createEntity(
|
|
2934
|
+
((_c = t.project) == null ? void 0 : _c.singular) || defaults.project.singular,
|
|
2935
|
+
((_d = t.project) == null ? void 0 : _d.plural) || defaults.project.plural
|
|
2936
|
+
),
|
|
2937
|
+
team: createEntity(
|
|
2938
|
+
((_e = t.team) == null ? void 0 : _e.singular) || defaults.team.singular,
|
|
2939
|
+
((_f = t.team) == null ? void 0 : _f.plural) || defaults.team.plural
|
|
2940
|
+
),
|
|
2941
|
+
member: createEntity(
|
|
2942
|
+
((_g = t.member) == null ? void 0 : _g.singular) || defaults.member.singular,
|
|
2943
|
+
((_h = t.member) == null ? void 0 : _h.plural) || defaults.member.plural
|
|
2944
|
+
),
|
|
2945
|
+
user: createEntity(
|
|
2946
|
+
((_i = t.user) == null ? void 0 : _i.singular) || defaults.user.singular,
|
|
2947
|
+
((_j = t.user) == null ? void 0 : _j.plural) || defaults.user.plural
|
|
2948
|
+
),
|
|
2949
|
+
appName: createEntity(
|
|
2950
|
+
t.appName || defaults.appName,
|
|
2951
|
+
t.appName || defaults.appName
|
|
2952
|
+
)
|
|
2953
|
+
};
|
|
2954
|
+
}
|
|
2955
|
+
var TerminologyContext = (0, import_react10.createContext)(
|
|
2956
|
+
createTerminologyMap()
|
|
2957
|
+
);
|
|
2958
|
+
var TerminologyProvider = ({
|
|
2959
|
+
children,
|
|
2960
|
+
terminology,
|
|
2961
|
+
defaults
|
|
2962
|
+
}) => {
|
|
2963
|
+
const map = (0, import_react10.useMemo)(
|
|
2964
|
+
() => createTerminologyMap(terminology, defaults),
|
|
2965
|
+
[terminology, defaults]
|
|
2966
|
+
);
|
|
2967
|
+
return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(TerminologyContext.Provider, { value: map, children });
|
|
2968
|
+
};
|
|
2952
2969
|
var useTerminology = () => {
|
|
2953
|
-
|
|
2954
|
-
const { terminology } = context;
|
|
2955
|
-
return Object.entries(terminology).filter(([key]) => key !== "appName").reduce((acc, [key, value]) => {
|
|
2956
|
-
const entity = value;
|
|
2957
|
-
acc[key] = createEntity(entity.singular, entity.plural);
|
|
2958
|
-
return acc;
|
|
2959
|
-
}, {
|
|
2960
|
-
appName: createEntity(terminology.appName, terminology.appName)
|
|
2961
|
-
});
|
|
2970
|
+
return (0, import_react10.useContext)(TerminologyContext);
|
|
2962
2971
|
};
|
|
2963
2972
|
|
|
2964
2973
|
// react/components/organization/create.tsx
|
|
@@ -3067,7 +3076,7 @@ var CreateOrganization = (_a) => {
|
|
|
3067
3076
|
var import_react_router16 = require("@tanstack/react-router");
|
|
3068
3077
|
|
|
3069
3078
|
// react/components/organization/routes.tsx
|
|
3070
|
-
var
|
|
3079
|
+
var import_react69 = require("react");
|
|
3071
3080
|
var import_react_router15 = require("@tanstack/react-router");
|
|
3072
3081
|
var import_apsara79 = require("@raystack/apsara");
|
|
3073
3082
|
|
|
@@ -3246,8 +3255,8 @@ var PageHeader = ({ title, description }) => {
|
|
|
3246
3255
|
] });
|
|
3247
3256
|
};
|
|
3248
3257
|
|
|
3249
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
3250
|
-
var digest11 = "
|
|
3258
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-yTXiInS0j5cv/sdk/react/components/organization/styles.module.css.js
|
|
3259
|
+
var digest11 = "330a16e6d3b57f2de24f93490dde03df56579bdb1882201c075d99a7f559035e";
|
|
3251
3260
|
var css11 = `._header_11okm_1 {
|
|
3252
3261
|
margin-bottom: var(--rs-space-9);
|
|
3253
3262
|
}
|
|
@@ -3290,8 +3299,8 @@ var css11 = `._header_11okm_1 {
|
|
|
3290
3299
|
})();
|
|
3291
3300
|
var styles_module_css_default = { "header": "_header_11okm_1", "container": "_container_11okm_5", "containerFlex": "_containerFlex_11okm_10", "contentWrapper": "_contentWrapper_11okm_18", "pageWrapper": "_pageWrapper_11okm_24" };
|
|
3292
3301
|
|
|
3293
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
3294
|
-
var digest12 = "
|
|
3302
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-2nNa7tO9wzH9/sdk/react/components/organization/domain/domain.module.css.js
|
|
3303
|
+
var digest12 = "efdacd1316facb138d2fd29ab91469ce44261138e47ad611667e70a8a7d2e906";
|
|
3295
3304
|
var css12 = `._tableWrapper_jz6z1_1 {
|
|
3296
3305
|
display: flex;
|
|
3297
3306
|
flex-direction: column;
|
|
@@ -3491,8 +3500,8 @@ var import_react_query3 = require("@tanstack/react-query");
|
|
|
3491
3500
|
var import_frontier10 = require("@raystack/proton/frontier");
|
|
3492
3501
|
var import_protobuf9 = require("@bufbuild/protobuf");
|
|
3493
3502
|
|
|
3494
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
3495
|
-
var digest13 = "
|
|
3503
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-hqx3kejmKmyx/sdk/react/components/organization/organization.module.css.js
|
|
3504
|
+
var digest13 = "19083c4153c5d4ebd61458bde306d2bba9f837795bf4ab67dc54fd0569136c05";
|
|
3496
3505
|
var css13 = `._createContainer_9rhtd_1 {
|
|
3497
3506
|
margin: auto;
|
|
3498
3507
|
width: 100%;
|
|
@@ -3694,8 +3703,8 @@ var useOrganizationDomain = (domainId) => {
|
|
|
3694
3703
|
// react/components/organization/domain/verify-domain.tsx
|
|
3695
3704
|
var import_protobuf11 = require("@bufbuild/protobuf");
|
|
3696
3705
|
|
|
3697
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
3698
|
-
var digest14 = "
|
|
3706
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-RfjgU9b4Yv1E/sdk/react/components/organization/organization.module.css.js
|
|
3707
|
+
var digest14 = "2c648d18d24148141a2de4c097786dce6f8bbae2f534c8ed67101212131cd526";
|
|
3699
3708
|
var css14 = `._createContainer_9rhtd_1 {
|
|
3700
3709
|
margin: auto;
|
|
3701
3710
|
width: 100%;
|
|
@@ -3892,8 +3901,8 @@ var import_react_query5 = require("@tanstack/react-query");
|
|
|
3892
3901
|
var import_frontier13 = require("@raystack/proton/frontier");
|
|
3893
3902
|
var import_protobuf12 = require("@bufbuild/protobuf");
|
|
3894
3903
|
|
|
3895
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
3896
|
-
var digest15 = "
|
|
3904
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-2OICJfWoNYwJ/sdk/react/views/general/general.module.css.js
|
|
3905
|
+
var digest15 = "76d08da87a43de647353467d28b8b2fb0f935b5e962537c6816a9db5d3a7e7e0";
|
|
3897
3906
|
var css15 = `._profileDescription_6kdmg_1 {
|
|
3898
3907
|
color: var(--rs-color-foreground-base-secondary);
|
|
3899
3908
|
}
|
|
@@ -4110,8 +4119,8 @@ var import_connect_query11 = require("@connectrpc/connect-query");
|
|
|
4110
4119
|
var import_frontier14 = require("@raystack/proton/frontier");
|
|
4111
4120
|
var import_protobuf13 = require("@bufbuild/protobuf");
|
|
4112
4121
|
|
|
4113
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
4114
|
-
var digest16 = "
|
|
4122
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-jHhsK7xaaT79/sdk/react/views/general/general.module.css.js
|
|
4123
|
+
var digest16 = "e200b32f57e27aba832510b9c5dd93621995d9187fdeb6bff403a232ed49e676";
|
|
4115
4124
|
var css16 = `._profileDescription_6kdmg_1 {
|
|
4116
4125
|
color: var(--rs-color-foreground-base-secondary);
|
|
4117
4126
|
}
|
|
@@ -4305,8 +4314,8 @@ var DeleteOrganizationDialog = ({
|
|
|
4305
4314
|
] }) });
|
|
4306
4315
|
};
|
|
4307
4316
|
|
|
4308
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
4309
|
-
var digest17 = "
|
|
4317
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-mAXW0vRQsj9C/sdk/react/components/organization/styles.module.css.js
|
|
4318
|
+
var digest17 = "a1bd17419eb58eb82e66eaeae0c8faf2038513f0c09342f398d9fec93674ca99";
|
|
4310
4319
|
var css17 = `._header_11okm_1 {
|
|
4311
4320
|
margin-bottom: var(--rs-space-9);
|
|
4312
4321
|
}
|
|
@@ -4548,8 +4557,8 @@ var import_connect_query13 = require("@connectrpc/connect-query");
|
|
|
4548
4557
|
var import_frontier16 = require("@raystack/proton/frontier");
|
|
4549
4558
|
var import_protobuf15 = require("@bufbuild/protobuf");
|
|
4550
4559
|
|
|
4551
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
4552
|
-
var digest18 = "
|
|
4560
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-8ya7N0C8eCW7/sdk/react/components/organization/organization.module.css.js
|
|
4561
|
+
var digest18 = "9e8cfaa35eee84f357c3dc2207700fe4f18daf1dd0a1e91d6fe29bdf19bda1b1";
|
|
4553
4562
|
var css18 = `._createContainer_9rhtd_1 {
|
|
4554
4563
|
margin: auto;
|
|
4555
4564
|
width: 100%;
|
|
@@ -4939,8 +4948,8 @@ var RemoveMemberDialog = ({
|
|
|
4939
4948
|
] }) });
|
|
4940
4949
|
};
|
|
4941
4950
|
|
|
4942
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
4943
|
-
var digest19 = "
|
|
4951
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-g6dDhfHw86Sr/sdk/react/components/organization/styles.module.css.js
|
|
4952
|
+
var digest19 = "852d743686770d072c234d34b84c5a380dd89f4f724b9d69d23a91f6ee2af069";
|
|
4944
4953
|
var css19 = `._header_11okm_1 {
|
|
4945
4954
|
margin-bottom: var(--rs-space-9);
|
|
4946
4955
|
}
|
|
@@ -4983,8 +4992,8 @@ var css19 = `._header_11okm_1 {
|
|
|
4983
4992
|
})();
|
|
4984
4993
|
var styles_module_css_default3 = { "header": "_header_11okm_1", "container": "_container_11okm_5", "containerFlex": "_containerFlex_11okm_10", "contentWrapper": "_contentWrapper_11okm_18", "pageWrapper": "_pageWrapper_11okm_24" };
|
|
4985
4994
|
|
|
4986
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
4987
|
-
var digest20 = "
|
|
4995
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-MXINFa3QgctW/sdk/react/views/members/members.module.css.js
|
|
4996
|
+
var digest20 = "2d407cc8de982c1c6651fd3ff63521ecefa722f442b32f1433a03613ea97632c";
|
|
4988
4997
|
var css20 = `._tableWrapper_1od7v_1 {
|
|
4989
4998
|
display: flex;
|
|
4990
4999
|
flex-direction: column;
|
|
@@ -5403,8 +5412,8 @@ var bell_slash_default = 'data:image/svg+xml,<svg width="16" height="16" viewBox
|
|
|
5403
5412
|
// react/assets/bell.svg
|
|
5404
5413
|
var bell_default = 'data:image/svg+xml,<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g id="bell">%0A<path id="Vector" d="M9.90457 11.3878C11.1676 11.238 12.3855 10.941 13.5408 10.5146C12.5829 9.45134 11.9999 8.04376 11.9999 6.5V6.03279C12 6.02187 12 6.01094 12 6C12 3.79086 10.2091 2 8 2C5.79086 2 4 3.79086 4 6L3.99987 6.5C3.99987 8.04376 3.41685 9.45134 2.45898 10.5146C3.61427 10.9411 4.83229 11.238 6.09542 11.3878M9.90457 11.3878C9.27999 11.4619 8.64438 11.5 7.99987 11.5C7.35545 11.5 6.71992 11.4619 6.09542 11.3878M9.90457 11.3878C9.96654 11.5807 10 11.7865 10 12C10 13.1046 9.10457 14 8 14C6.89543 14 6 13.1046 6 12C6 11.7865 6.03346 11.5808 6.09542 11.3878" stroke="%23646464" stroke-linecap="round" stroke-linejoin="round"/>%0A</g>%0A</svg>%0A';
|
|
5405
5414
|
|
|
5406
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
5407
|
-
var digest21 = "
|
|
5415
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-VK4HWxvRMUBa/sdk/react/components/organization/styles.module.css.js
|
|
5416
|
+
var digest21 = "4b2b58ba19375eb14997ecb1048c5307a6afc4336fc3a456f1c109edc6f9b355";
|
|
5408
5417
|
var css21 = `._header_11okm_1 {
|
|
5409
5418
|
margin-bottom: var(--rs-space-9);
|
|
5410
5419
|
}
|
|
@@ -5667,8 +5676,8 @@ var useOrganizationProjects = ({
|
|
|
5667
5676
|
// react/views/projects/list/projects-columns.tsx
|
|
5668
5677
|
var import_apsara25 = require("@raystack/apsara");
|
|
5669
5678
|
|
|
5670
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
5671
|
-
var digest22 = "
|
|
5679
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-8QcPNx15ic6o/sdk/react/components/organization/organization.module.css.js
|
|
5680
|
+
var digest22 = "ab28799c8027b8a078383d7e7e08dbdde2cb9b79fa01b76e95952b9c52d44e42";
|
|
5672
5681
|
var css22 = `._createContainer_9rhtd_1 {
|
|
5673
5682
|
margin: auto;
|
|
5674
5683
|
width: 100%;
|
|
@@ -5830,8 +5839,8 @@ var import_connect_query17 = require("@connectrpc/connect-query");
|
|
|
5830
5839
|
var import_frontier20 = require("@raystack/proton/frontier");
|
|
5831
5840
|
var import_protobuf19 = require("@bufbuild/protobuf");
|
|
5832
5841
|
|
|
5833
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
5834
|
-
var digest23 = "
|
|
5842
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-XliyA9AYApyU/sdk/react/components/organization/organization.module.css.js
|
|
5843
|
+
var digest23 = "d86d8e167b280e494f2bdc95dca3e6557c8f768f887027183c71166202cdab01";
|
|
5835
5844
|
var css23 = `._createContainer_9rhtd_1 {
|
|
5836
5845
|
margin: auto;
|
|
5837
5846
|
width: 100%;
|
|
@@ -6021,8 +6030,8 @@ var import_connect_query18 = require("@connectrpc/connect-query");
|
|
|
6021
6030
|
var import_frontier21 = require("@raystack/proton/frontier");
|
|
6022
6031
|
var import_protobuf20 = require("@bufbuild/protobuf");
|
|
6023
6032
|
|
|
6024
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
6025
|
-
var digest24 = "
|
|
6033
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-RELYmUzLNmsB/sdk/react/components/organization/organization.module.css.js
|
|
6034
|
+
var digest24 = "2c6bd6f2527d3332b9e6b53b19d07db3e7d8a29fbbc40033dd1ac08c70155ee8";
|
|
6026
6035
|
var css24 = `._createContainer_9rhtd_1 {
|
|
6027
6036
|
margin: auto;
|
|
6028
6037
|
width: 100%;
|
|
@@ -6221,8 +6230,8 @@ var DeleteProjectDialog = ({
|
|
|
6221
6230
|
) });
|
|
6222
6231
|
};
|
|
6223
6232
|
|
|
6224
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
6225
|
-
var digest25 = "
|
|
6233
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-0Xuzx0M4tBJ0/sdk/react/components/organization/styles.module.css.js
|
|
6234
|
+
var digest25 = "2f199da91954613d7747392357fa0f57ca3e6850b7574fd3bd7cf45de484c8e5";
|
|
6226
6235
|
var css25 = `._header_11okm_1 {
|
|
6227
6236
|
margin-bottom: var(--rs-space-9);
|
|
6228
6237
|
}
|
|
@@ -6265,8 +6274,8 @@ var css25 = `._header_11okm_1 {
|
|
|
6265
6274
|
})();
|
|
6266
6275
|
var styles_module_css_default5 = { "header": "_header_11okm_1", "container": "_container_11okm_5", "containerFlex": "_containerFlex_11okm_10", "contentWrapper": "_contentWrapper_11okm_18", "pageWrapper": "_pageWrapper_11okm_24" };
|
|
6267
6276
|
|
|
6268
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
6269
|
-
var digest26 = "
|
|
6277
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-PF8US7xCAnRR/sdk/react/views/projects/list/projects.module.css.js
|
|
6278
|
+
var digest26 = "78f9ee365434238394d0cb658f58bd7d9c3d317c5ebe37215989368561530eee";
|
|
6270
6279
|
var css26 = `._tableWrapper_1h6in_1 {
|
|
6271
6280
|
display: flex;
|
|
6272
6281
|
flex-direction: column;
|
|
@@ -6970,8 +6979,8 @@ var import_connect_query22 = require("@connectrpc/connect-query");
|
|
|
6970
6979
|
var import_frontier25 = require("@raystack/proton/frontier");
|
|
6971
6980
|
var import_protobuf24 = require("@bufbuild/protobuf");
|
|
6972
6981
|
|
|
6973
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
6974
|
-
var digest27 = "
|
|
6982
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-VCf9ABfX7EyW/sdk/react/views/projects/details/project-members.module.css.js
|
|
6983
|
+
var digest27 = "aa032212c0a7347d29b5328784ec8f063e9c5ef95266cb007400a9179414be0e";
|
|
6975
6984
|
var css27 = `._inviteDropdownItem_1t7zh_1 {
|
|
6976
6985
|
padding: var(--rs-space-3);
|
|
6977
6986
|
user-select: none;
|
|
@@ -7355,8 +7364,8 @@ var import_react_query6 = require("@tanstack/react-query");
|
|
|
7355
7364
|
var import_frontier26 = require("@raystack/proton/frontier");
|
|
7356
7365
|
var import_protobuf25 = require("@bufbuild/protobuf");
|
|
7357
7366
|
|
|
7358
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
7359
|
-
var digest28 = "
|
|
7367
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-WdoP3H94bV7e/sdk/react/components/organization/organization.module.css.js
|
|
7368
|
+
var digest28 = "de9673117e4ced573276b8bb5a39b52f9cdeedf73b40451e224f0fc5d99e471e";
|
|
7360
7369
|
var css28 = `._createContainer_9rhtd_1 {
|
|
7361
7370
|
margin: auto;
|
|
7362
7371
|
width: 100%;
|
|
@@ -7542,8 +7551,8 @@ var RemoveProjectMemberDialog = ({
|
|
|
7542
7551
|
) });
|
|
7543
7552
|
};
|
|
7544
7553
|
|
|
7545
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
7546
|
-
var digest29 = "
|
|
7554
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-S32mMpRvi1zF/sdk/react/components/organization/styles.module.css.js
|
|
7555
|
+
var digest29 = "2395f0c04c0140fd4e0b07195e77cd64b4793646852d11d7471cdadb3d3eb626";
|
|
7547
7556
|
var css29 = `._header_11okm_1 {
|
|
7548
7557
|
margin-bottom: var(--rs-space-9);
|
|
7549
7558
|
}
|
|
@@ -7586,8 +7595,8 @@ var css29 = `._header_11okm_1 {
|
|
|
7586
7595
|
})();
|
|
7587
7596
|
var styles_module_css_default6 = { "header": "_header_11okm_1", "container": "_container_11okm_5", "containerFlex": "_containerFlex_11okm_10", "contentWrapper": "_contentWrapper_11okm_18", "pageWrapper": "_pageWrapper_11okm_24" };
|
|
7588
7597
|
|
|
7589
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
7590
|
-
var digest30 = "
|
|
7598
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-Nq2PQm2HX1v4/sdk/react/views/projects/details/project-detail.module.css.js
|
|
7599
|
+
var digest30 = "952add13027797b78dfc3926d6c798deee655d3d2a58182edf3967eb751ec100";
|
|
7591
7600
|
var css30 = `._tabContent_13419_1 {
|
|
7592
7601
|
height: 100%;
|
|
7593
7602
|
}
|
|
@@ -7874,8 +7883,8 @@ var import_react_query7 = require("@tanstack/react-query");
|
|
|
7874
7883
|
var import_frontier28 = require("@raystack/proton/frontier");
|
|
7875
7884
|
var import_protobuf27 = require("@bufbuild/protobuf");
|
|
7876
7885
|
|
|
7877
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
7878
|
-
var digest31 = "
|
|
7886
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-inIfyTR7m8CQ/sdk/react/components/organization/styles.module.css.js
|
|
7887
|
+
var digest31 = "03ac4171fcfd3e7f8241b4a42c07caf663744e2586b53a9a3723f0dfb2aea57e";
|
|
7879
7888
|
var css31 = `._header_11okm_1 {
|
|
7880
7889
|
margin-bottom: var(--rs-space-9);
|
|
7881
7890
|
}
|
|
@@ -8187,8 +8196,8 @@ var getUserNavItems = (options = {}) => {
|
|
|
8187
8196
|
);
|
|
8188
8197
|
};
|
|
8189
8198
|
|
|
8190
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
8191
|
-
var digest32 = "
|
|
8199
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-bP0bWDi7EjB2/sdk/react/components/organization/sidebar/sidebar.module.css.js
|
|
8200
|
+
var digest32 = "8749b5602d34b8e3852027685717047901acf97e9e679dd29602e95cb075bf19";
|
|
8192
8201
|
var css32 = `._sidebarWrapper_1ik5g_1 {
|
|
8193
8202
|
box-sizing: border-box;
|
|
8194
8203
|
border-top-left-radius: var(--rs-radius-6);
|
|
@@ -8416,8 +8425,8 @@ var import_apsara39 = require("@raystack/apsara");
|
|
|
8416
8425
|
// react/views/teams/list/teams-columns.tsx
|
|
8417
8426
|
var import_apsara36 = require("@raystack/apsara");
|
|
8418
8427
|
|
|
8419
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
8420
|
-
var digest33 = "
|
|
8428
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-zcH4vQOYaeAH/sdk/react/components/organization/organization.module.css.js
|
|
8429
|
+
var digest33 = "d22282cf378bbbab2b52223ff1ae06b03400a497eae4c713fe36cf9fe8a91e5a";
|
|
8421
8430
|
var css33 = `._createContainer_9rhtd_1 {
|
|
8422
8431
|
margin: auto;
|
|
8423
8432
|
width: 100%;
|
|
@@ -8485,7 +8494,7 @@ var getColumns5 = (userAccessOnTeam, onTeamClick, onDeleteTeamClick) => [
|
|
|
8485
8494
|
},
|
|
8486
8495
|
{
|
|
8487
8496
|
header: "Members",
|
|
8488
|
-
accessorKey: "
|
|
8497
|
+
accessorKey: "membersCount",
|
|
8489
8498
|
cell: ({ row, getValue }) => {
|
|
8490
8499
|
const value = getValue();
|
|
8491
8500
|
return value ? /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_apsara36.Text, { children: [
|
|
@@ -8567,8 +8576,8 @@ var import_connect_query26 = require("@connectrpc/connect-query");
|
|
|
8567
8576
|
var import_frontier29 = require("@raystack/proton/frontier");
|
|
8568
8577
|
var import_protobuf28 = require("@bufbuild/protobuf");
|
|
8569
8578
|
|
|
8570
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
8571
|
-
var digest34 = "
|
|
8579
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-fDR7XvqeWOyl/sdk/react/components/organization/organization.module.css.js
|
|
8580
|
+
var digest34 = "f79173fcbab883527e5813d3717b22dcd7c50012af241a0461b1ffe90f9738ee";
|
|
8572
8581
|
var css34 = `._createContainer_9rhtd_1 {
|
|
8573
8582
|
margin: auto;
|
|
8574
8583
|
width: 100%;
|
|
@@ -8743,8 +8752,8 @@ var import_connect_query27 = require("@connectrpc/connect-query");
|
|
|
8743
8752
|
var import_frontier30 = require("@raystack/proton/frontier");
|
|
8744
8753
|
var import_protobuf29 = require("@bufbuild/protobuf");
|
|
8745
8754
|
|
|
8746
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
8747
|
-
var digest35 = "
|
|
8755
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-p69Cxy6GkOBj/sdk/react/components/organization/organization.module.css.js
|
|
8756
|
+
var digest35 = "0ab88cad08c3faf626535b3726228fc5fe1309d9e559aefac54a22c63769fa69";
|
|
8748
8757
|
var css35 = `._createContainer_9rhtd_1 {
|
|
8749
8758
|
margin: auto;
|
|
8750
8759
|
width: 100%;
|
|
@@ -8951,8 +8960,8 @@ var DeleteTeamDialog = ({
|
|
|
8951
8960
|
) });
|
|
8952
8961
|
};
|
|
8953
8962
|
|
|
8954
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
8955
|
-
var digest36 = "
|
|
8963
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-EmrZ67BFORbw/sdk/react/components/organization/styles.module.css.js
|
|
8964
|
+
var digest36 = "274175c1be0028dd82a1d0b210f2e071d53ac9cb3cb42b26563a7ef85145872d";
|
|
8956
8965
|
var css36 = `._header_11okm_1 {
|
|
8957
8966
|
margin-bottom: var(--rs-space-9);
|
|
8958
8967
|
}
|
|
@@ -8995,8 +9004,8 @@ var css36 = `._header_11okm_1 {
|
|
|
8995
9004
|
})();
|
|
8996
9005
|
var styles_module_css_default8 = { "header": "_header_11okm_1", "container": "_container_11okm_5", "containerFlex": "_containerFlex_11okm_10", "contentWrapper": "_contentWrapper_11okm_18", "pageWrapper": "_pageWrapper_11okm_24" };
|
|
8997
9006
|
|
|
8998
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
8999
|
-
var digest37 = "
|
|
9007
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-IPyjtcbAVC45/sdk/react/views/teams/list/teams.module.css.js
|
|
9008
|
+
var digest37 = "6e348fedae24d2f069dd3889b9e5a637535703f92033245bb8c0196dc5b252d0";
|
|
9000
9009
|
var css37 = `._tableWrapper_1ja5a_1 {
|
|
9001
9010
|
display: flex;
|
|
9002
9011
|
flex-direction: column;
|
|
@@ -9631,8 +9640,8 @@ var import_connect_query30 = require("@connectrpc/connect-query");
|
|
|
9631
9640
|
var import_frontier33 = require("@raystack/proton/frontier");
|
|
9632
9641
|
var import_protobuf32 = require("@bufbuild/protobuf");
|
|
9633
9642
|
|
|
9634
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
9635
|
-
var digest38 = "
|
|
9643
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-2gU3vIGz32lg/sdk/react/views/teams/details/team-members.module.css.js
|
|
9644
|
+
var digest38 = "b5611444b25b17047b7d6e57b5bb0019c53beebd9dce41170e113078dc1efe77";
|
|
9636
9645
|
var css38 = `._inviteDropdownItem_rqd99_1 {
|
|
9637
9646
|
padding: var(--rs-space-3);
|
|
9638
9647
|
user-select: none;
|
|
@@ -9970,8 +9979,8 @@ var import_connect_query31 = require("@connectrpc/connect-query");
|
|
|
9970
9979
|
var import_frontier34 = require("@raystack/proton/frontier");
|
|
9971
9980
|
var import_protobuf33 = require("@bufbuild/protobuf");
|
|
9972
9981
|
|
|
9973
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
9974
|
-
var digest39 = "
|
|
9982
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-G65po7jhyYJw/sdk/react/components/organization/organization.module.css.js
|
|
9983
|
+
var digest39 = "1a4ccdfb0e634ff65cba36ef8ffa057fd5cd7af98537f2f1478b893f54859085";
|
|
9975
9984
|
var css39 = `._createContainer_9rhtd_1 {
|
|
9976
9985
|
margin: auto;
|
|
9977
9986
|
width: 100%;
|
|
@@ -10313,8 +10322,8 @@ var import_connect_query32 = require("@connectrpc/connect-query");
|
|
|
10313
10322
|
var import_frontier35 = require("@raystack/proton/frontier");
|
|
10314
10323
|
var import_protobuf34 = require("@bufbuild/protobuf");
|
|
10315
10324
|
|
|
10316
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
10317
|
-
var digest40 = "
|
|
10325
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-HhlpT4apeCiv/sdk/react/components/organization/styles.module.css.js
|
|
10326
|
+
var digest40 = "0fa43ca73ce6efcf387b14add7f3958f20857a805e0e3afbd4c70cfd99a786b5";
|
|
10318
10327
|
var css40 = `._header_11okm_1 {
|
|
10319
10328
|
margin-bottom: var(--rs-space-9);
|
|
10320
10329
|
}
|
|
@@ -10357,8 +10366,8 @@ var css40 = `._header_11okm_1 {
|
|
|
10357
10366
|
})();
|
|
10358
10367
|
var styles_module_css_default9 = { "header": "_header_11okm_1", "container": "_container_11okm_5", "containerFlex": "_containerFlex_11okm_10", "contentWrapper": "_contentWrapper_11okm_18", "pageWrapper": "_pageWrapper_11okm_24" };
|
|
10359
10368
|
|
|
10360
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
10361
|
-
var digest41 = "
|
|
10369
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-O6JybBIu6xwF/sdk/react/views/teams/details/team-detail.module.css.js
|
|
10370
|
+
var digest41 = "e2bccb725c65cabdf8d8b26ffc23822b4c92b822b7012908abfdfc77dfd7aed9";
|
|
10362
10371
|
var css41 = `._tabContent_1i08o_1 {
|
|
10363
10372
|
height: 100%;
|
|
10364
10373
|
}
|
|
@@ -10711,8 +10720,8 @@ var UpdateProfile = () => {
|
|
|
10711
10720
|
] }) });
|
|
10712
10721
|
};
|
|
10713
10722
|
|
|
10714
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
10715
|
-
var digest42 = "
|
|
10723
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-mygqzhGMmLHn/sdk/react/components/organization/styles.module.css.js
|
|
10724
|
+
var digest42 = "29158bcc57baf86a12e27a17905fe623e83bfacc416773a1bf06159cbee3cb02";
|
|
10716
10725
|
var css42 = `._header_11okm_1 {
|
|
10717
10726
|
margin-bottom: var(--rs-space-9);
|
|
10718
10727
|
}
|
|
@@ -10789,8 +10798,8 @@ var import_react_query9 = require("@tanstack/react-query");
|
|
|
10789
10798
|
var import_frontier36 = require("@raystack/proton/frontier");
|
|
10790
10799
|
var import_protobuf35 = require("@bufbuild/protobuf");
|
|
10791
10800
|
|
|
10792
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
10793
|
-
var digest43 = "
|
|
10801
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-ZPPNLlMkBASv/sdk/react/components/organization/organization.module.css.js
|
|
10802
|
+
var digest43 = "b40997090df74723f6b1995d77526a7752f97357bd1314134917f9a904f098c5";
|
|
10794
10803
|
var css43 = `._createContainer_9rhtd_1 {
|
|
10795
10804
|
margin: auto;
|
|
10796
10805
|
width: 100%;
|
|
@@ -10998,8 +11007,8 @@ var import_protobuf40 = require("@bufbuild/protobuf");
|
|
|
10998
11007
|
// react/views/billing/invoices/index.tsx
|
|
10999
11008
|
var import_apsara48 = require("@raystack/apsara");
|
|
11000
11009
|
|
|
11001
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
11002
|
-
var digest44 = "
|
|
11010
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-NIcKTd0x7GfM/sdk/react/views/billing/invoices/invoice.module.css.js
|
|
11011
|
+
var digest44 = "161d735ef64c272d9e2740b5848104418d8e8a59fa7cc1cfee5430ebc3962bbd";
|
|
11003
11012
|
var css44 = `._header_gzg1m_1 {
|
|
11004
11013
|
margin-top: calc(-1 * var(--rs-space-9));
|
|
11005
11014
|
padding-top: var(--rs-space-9);
|
|
@@ -11113,8 +11122,8 @@ function Invoices({ isLoading, invoices }) {
|
|
|
11113
11122
|
// react/views/billing/billing-page.tsx
|
|
11114
11123
|
var import_query_string3 = __toESM(require("query-string"));
|
|
11115
11124
|
|
|
11116
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
11117
|
-
var digest45 = "
|
|
11125
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-FGDiD2SMtZ3o/sdk/react/components/organization/styles.module.css.js
|
|
11126
|
+
var digest45 = "df92c1ab22c23b220608ec1b7043382cbc7c23ba1ee97d7cee3365005f7256bc";
|
|
11118
11127
|
var css45 = `._header_11okm_1 {
|
|
11119
11128
|
margin-bottom: var(--rs-space-9);
|
|
11120
11129
|
}
|
|
@@ -11157,8 +11166,8 @@ var css45 = `._header_11okm_1 {
|
|
|
11157
11166
|
})();
|
|
11158
11167
|
var styles_module_css_default11 = { "header": "_header_11okm_1", "container": "_container_11okm_5", "containerFlex": "_containerFlex_11okm_10", "contentWrapper": "_contentWrapper_11okm_18", "pageWrapper": "_pageWrapper_11okm_24" };
|
|
11159
11168
|
|
|
11160
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
11161
|
-
var digest46 = "
|
|
11169
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-n9t0tnUaXAlA/sdk/react/views/billing/billing.module.css.js
|
|
11170
|
+
var digest46 = "34c7e093b41b5bfbb8ee10aef6be7510907892c02ab3dcb258d8f1113ad23bf0";
|
|
11162
11171
|
var css46 = `._detailsBox_1vjbh_1 {
|
|
11163
11172
|
padding: var(--rs-space-4);
|
|
11164
11173
|
display: flex;
|
|
@@ -11270,8 +11279,8 @@ var import_apsara49 = require("@raystack/apsara");
|
|
|
11270
11279
|
// react/assets/line.svg
|
|
11271
11280
|
var line_default = 'data:image/svg+xml,<svg width="2" height="6" viewBox="0 0 2 6" fill="none" xmlns="http://www.w3.org/2000/svg">%0A <path id="Line 1" d="M1 1L1 5" stroke="%233a3f42" stroke-linecap="round" />%0A</svg>';
|
|
11272
11281
|
|
|
11273
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
11274
|
-
var digest47 = "
|
|
11282
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-3Sx7ZWN5e66J/sdk/react/views/billing/billing.module.css.js
|
|
11283
|
+
var digest47 = "687ff4faa1de602de0a93ce16932551c0fec6ebc285a21d7d16365e1bd7cf6c0";
|
|
11275
11284
|
var css47 = `._detailsBox_1vjbh_1 {
|
|
11276
11285
|
padding: var(--rs-space-4);
|
|
11277
11286
|
display: flex;
|
|
@@ -11592,8 +11601,8 @@ var UpcomingBillingCycle = ({
|
|
|
11592
11601
|
// react/views/billing/payment-issue.tsx
|
|
11593
11602
|
var import_apsara50 = require("@raystack/apsara");
|
|
11594
11603
|
|
|
11595
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
11596
|
-
var digest48 = "
|
|
11604
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-itdKDkWEhupc/sdk/react/views/billing/billing.module.css.js
|
|
11605
|
+
var digest48 = "3cb657d816b435d5141b717e7cf99200a09b406783193c159a5b01aa1019b0f4";
|
|
11597
11606
|
var css48 = `._detailsBox_1vjbh_1 {
|
|
11598
11607
|
padding: var(--rs-space-4);
|
|
11599
11608
|
display: flex;
|
|
@@ -11748,8 +11757,8 @@ function PaymentIssue({
|
|
|
11748
11757
|
var import_apsara51 = require("@raystack/apsara");
|
|
11749
11758
|
var import_frontier38 = require("@raystack/proton/frontier");
|
|
11750
11759
|
|
|
11751
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
11752
|
-
var digest49 = "
|
|
11760
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-3grkFjnWpHfM/sdk/react/components/common/upcoming-plan-change-banner/styles.module.css.js
|
|
11761
|
+
var digest49 = "07ef190fc8d52c2d9b84e8eb545d4159a6974a43063c5e7f89f5ad383b090770";
|
|
11753
11762
|
var css49 = `._changeBannerBox_1tp17_1 {
|
|
11754
11763
|
padding: var(--rs-space-3);
|
|
11755
11764
|
border-radius: var(--rs-space-2);
|
|
@@ -11912,8 +11921,8 @@ var import_query_string = __toESM(require("query-string"));
|
|
|
11912
11921
|
var _ = __toESM(require("lodash"));
|
|
11913
11922
|
var import_apsara52 = require("@raystack/apsara");
|
|
11914
11923
|
|
|
11915
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
11916
|
-
var digest50 = "
|
|
11924
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-3yJfkuFLVfka/sdk/react/views/billing/billing.module.css.js
|
|
11925
|
+
var digest50 = "1cfb6567e2770288d134696955a753046d50c080f41784e24db4e39d4c75cd03";
|
|
11917
11926
|
var css50 = `._detailsBox_1vjbh_1 {
|
|
11918
11927
|
padding: var(--rs-space-4);
|
|
11919
11928
|
display: flex;
|
|
@@ -12176,8 +12185,8 @@ var import_react49 = require("react");
|
|
|
12176
12185
|
var import_apsara55 = require("@raystack/apsara");
|
|
12177
12186
|
var _2 = __toESM(require("lodash"));
|
|
12178
12187
|
|
|
12179
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
12180
|
-
var digest51 = "
|
|
12188
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-zPJjUHnStqE3/sdk/react/components/organization/organization.module.css.js
|
|
12189
|
+
var digest51 = "45d603b6131587e82cb2a3ec23b3489ba477f457d3962f4f44190341c7bd0621";
|
|
12181
12190
|
var css51 = `._createContainer_9rhtd_1 {
|
|
12182
12191
|
margin: auto;
|
|
12183
12192
|
width: 100%;
|
|
@@ -12908,8 +12917,8 @@ var import_apsara58 = require("@raystack/apsara");
|
|
|
12908
12917
|
var import_apsara57 = require("@raystack/apsara");
|
|
12909
12918
|
var _3 = __toESM(require("lodash"));
|
|
12910
12919
|
|
|
12911
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
12912
|
-
var digest52 = "
|
|
12920
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-rlAVyzKuio0G/sdk/react/views/tokens/token.module.css.js
|
|
12921
|
+
var digest52 = "c2a93ce6c886c143d82bdaf15b3912d1bbe906c5a81f82c41735b38ebeab7d26";
|
|
12913
12922
|
var css52 = `._flex1_1rl84_1 {
|
|
12914
12923
|
flex: 1;
|
|
12915
12924
|
}
|
|
@@ -13042,8 +13051,8 @@ var getColumns8 = ({
|
|
|
13042
13051
|
}
|
|
13043
13052
|
];
|
|
13044
13053
|
|
|
13045
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
13046
|
-
var digest53 = "
|
|
13054
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-cgNXxAxzbDHS/sdk/react/views/tokens/token.module.css.js
|
|
13055
|
+
var digest53 = "9d7a3b70a4ed515a4feb11c54b133a0bfdc742dd1367ce088cdc8aed33340274";
|
|
13047
13056
|
var css53 = `._flex1_1rl84_1 {
|
|
13048
13057
|
flex: 1;
|
|
13049
13058
|
}
|
|
@@ -13189,8 +13198,8 @@ var import_protobuf43 = require("@bufbuild/protobuf");
|
|
|
13189
13198
|
// react/assets/coin.svg
|
|
13190
13199
|
var coin_default = 'data:image/svg+xml,<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g id="Credit coin">%0A<path id="credit coin" d="M48 24.0196C47.9983 37.3229 37.2746 48.0052 23.9263 48.0001C10.6771 47.9951 -0.0098551 37.2504 6.81992e-06 23.9446C0.0100138 10.6528 10.7492 -0.012751 24.1099 1.14418e-05C37.3171 0.0127739 48.0017 10.7553 48 24.0196ZM11.2887 24.0977C16.6867 27.289 20.6403 31.8534 24.1954 36.8591C27.1623 31.2874 31.9695 27.6538 36.8726 24.0699C31.3822 20.964 27.5665 16.297 24.0576 11.2374C20.5079 16.2419 16.7425 20.9331 11.2887 24.0977Z" fill="url(%23paint0_linear_8624_16209)"/>%0A</g>%0A<defs>%0A<linearGradient id="paint0_linear_8624_16209" x1="39.75" y1="7.5" x2="9.75" y2="42.75" gradientUnits="userSpaceOnUse">%0A<stop stop-color="%23E82F72" stop-opacity="0.7"/>%0A<stop offset="1" stop-color="%23ED25B5" stop-opacity="0.7"/>%0A</linearGradient>%0A</defs>%0A</svg>%0A';
|
|
13191
13200
|
|
|
13192
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
13193
|
-
var digest54 = "
|
|
13201
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-lHh2xy8tjRST/sdk/react/components/organization/styles.module.css.js
|
|
13202
|
+
var digest54 = "8f21f7ee6d7d6c0e000a919351a5cfd0ec68b543c368f3da44d4a0015b9fd31c";
|
|
13194
13203
|
var css54 = `._header_11okm_1 {
|
|
13195
13204
|
margin-bottom: var(--rs-space-9);
|
|
13196
13205
|
}
|
|
@@ -13233,8 +13242,8 @@ var css54 = `._header_11okm_1 {
|
|
|
13233
13242
|
})();
|
|
13234
13243
|
var styles_module_css_default13 = { "header": "_header_11okm_1", "container": "_container_11okm_5", "containerFlex": "_containerFlex_11okm_10", "contentWrapper": "_contentWrapper_11okm_18", "pageWrapper": "_pageWrapper_11okm_24" };
|
|
13235
13244
|
|
|
13236
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
13237
|
-
var digest55 = "
|
|
13245
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-EHoQMMLZgm0c/sdk/react/views/tokens/token.module.css.js
|
|
13246
|
+
var digest55 = "7bce6fa916edd3be4c5a5ed1b6e65089e1f15c91953de45478d0f056e27088ec";
|
|
13238
13247
|
var css55 = `._flex1_1rl84_1 {
|
|
13239
13248
|
flex: 1;
|
|
13240
13249
|
}
|
|
@@ -13302,8 +13311,8 @@ var import_connect_query39 = require("@connectrpc/connect-query");
|
|
|
13302
13311
|
var import_react_hook_form18 = require("react-hook-form");
|
|
13303
13312
|
var yup18 = __toESM(require("yup"));
|
|
13304
13313
|
|
|
13305
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
13306
|
-
var digest56 = "
|
|
13314
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-QLtO6fBIY6LT/sdk/react/components/organization/organization.module.css.js
|
|
13315
|
+
var digest56 = "4eb9a18feaaf13e90d1524a7e2dad0b6f5c2c0a4dee94db9a6e88e66c0b2ab0c";
|
|
13307
13316
|
var css56 = `._createContainer_9rhtd_1 {
|
|
13308
13317
|
margin: auto;
|
|
13309
13318
|
width: 100%;
|
|
@@ -13361,8 +13370,8 @@ var css56 = `._createContainer_9rhtd_1 {
|
|
|
13361
13370
|
})();
|
|
13362
13371
|
var organization_module_css_default15 = { "createContainer": "_createContainer_9rhtd_1", "overlay": "_overlay_9rhtd_8", "dropdownActionItem": "_dropdownActionItem_9rhtd_13", "noSelectItem": "_noSelectItem_9rhtd_30", "orgTabsContainer": "_orgTabsContainer_9rhtd_35", "invite-member-emails-textarea": "_invite-member-emails-textarea_9rhtd_39", "inviteMemberEmailsTextarea": "_invite-member-emails-textarea_9rhtd_39" };
|
|
13363
13372
|
|
|
13364
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
13365
|
-
var digest57 = "
|
|
13373
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-Ect4IFkypTuY/sdk/react/views/tokens/token.module.css.js
|
|
13374
|
+
var digest57 = "5ae53624667d0272a309bd4af99a2d3ef8d01819f7455adecb6426e41a36afec";
|
|
13366
13375
|
var css57 = `._flex1_1rl84_1 {
|
|
13367
13376
|
flex: 1;
|
|
13368
13377
|
}
|
|
@@ -13773,7 +13782,7 @@ function Tokens() {
|
|
|
13773
13782
|
}
|
|
13774
13783
|
|
|
13775
13784
|
// react/views/plans/plans-page.tsx
|
|
13776
|
-
var
|
|
13785
|
+
var import_react58 = require("react");
|
|
13777
13786
|
var import_apsara65 = require("@raystack/apsara");
|
|
13778
13787
|
|
|
13779
13788
|
// react/views/plans/helpers/index.ts
|
|
@@ -13824,8 +13833,8 @@ function groupPlansPricingByInterval(plans) {
|
|
|
13824
13833
|
// react/views/plans/plans-header.tsx
|
|
13825
13834
|
var import_apsara62 = require("@raystack/apsara");
|
|
13826
13835
|
|
|
13827
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
13828
|
-
var digest58 = "
|
|
13836
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-XpOLodtC2Cad/sdk/react/views/plans/plans.module.css.js
|
|
13837
|
+
var digest58 = "6032e94105ecd2f4c964127e1d9ced7d6dfbb0817e889f3a3c0f1d18c1bcc47d";
|
|
13829
13838
|
var css58 = `._flex1_3ghb5_1 {
|
|
13830
13839
|
flex: 1;
|
|
13831
13840
|
}
|
|
@@ -13998,8 +14007,8 @@ var _4 = __toESM(require("lodash"));
|
|
|
13998
14007
|
var import_react54 = require("react");
|
|
13999
14008
|
var import_apsara63 = require("@raystack/apsara");
|
|
14000
14009
|
|
|
14001
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
14002
|
-
var digest59 = "
|
|
14010
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-7ndwIHpZdckE/sdk/react/views/plans/plans.module.css.js
|
|
14011
|
+
var digest59 = "d6ccc201cb4958450c49dbc13472aed033ad4ee2f4e4b23e43e3260631b7970b";
|
|
14003
14012
|
var css59 = `._flex1_3ghb5_1 {
|
|
14004
14013
|
flex: 1;
|
|
14005
14014
|
}
|
|
@@ -14443,11 +14452,11 @@ var PlanPricingColumn = ({
|
|
|
14443
14452
|
};
|
|
14444
14453
|
|
|
14445
14454
|
// react/views/plans/confirm-plan-change-dialog.tsx
|
|
14446
|
-
var
|
|
14455
|
+
var import_react57 = require("react");
|
|
14447
14456
|
var import_apsara64 = require("@raystack/apsara");
|
|
14448
14457
|
|
|
14449
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
14450
|
-
var digest60 = "
|
|
14458
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-tXe5fc37MSij/sdk/react/views/plans/plans.module.css.js
|
|
14459
|
+
var digest60 = "41ee77cd96084fe5489ee449c77db66b3c9f5adb740c84b9c02304114827a3dc";
|
|
14451
14460
|
var css60 = `._flex1_3ghb5_1 {
|
|
14452
14461
|
flex: 1;
|
|
14453
14462
|
}
|
|
@@ -14581,8 +14590,8 @@ var css60 = `._flex1_3ghb5_1 {
|
|
|
14581
14590
|
})();
|
|
14582
14591
|
var plans_module_css_default3 = { "flex1": "_flex1_3ghb5_1", "leftPanel": "_leftPanel_3ghb5_5", "rightPanel": "_rightPanel_3ghb5_9", "planInfoColumn": "_planInfoColumn_3ghb5_15", "planTitle": "_planTitle_3ghb5_25", "planPrice": "_planPrice_3ghb5_33", "planPriceSub": "_planPriceSub_3ghb5_41", "planDescription": "_planDescription_3ghb5_49", "planActionBtn": "_planActionBtn_3ghb5_57", "plansIntervalList": "_plansIntervalList_3ghb5_61", "plansIntervalListItem": "_plansIntervalListItem_3ghb5_61", "plansIntervalListItemText": "_plansIntervalListItemText_3ghb5_65", "featureCell": "_featureCell_3ghb5_76", "featureTableHeading": "_featureTableHeading_3ghb5_83", "featureLabel": "_featureLabel_3ghb5_90", "trialWrapper": "_trialWrapper_3ghb5_101", "trialButton": "_trialButton_3ghb5_105", "discountText": "_discountText_3ghb5_111" };
|
|
14583
14592
|
|
|
14584
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
14585
|
-
var digest61 = "
|
|
14593
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-4G8XGH7mkPcO/sdk/react/components/organization/organization.module.css.js
|
|
14594
|
+
var digest61 = "0c22331704e91d7a0196b74694e0c8672dafd91ad2b2c81b48081cd3df401ea5";
|
|
14586
14595
|
var css61 = `._createContainer_9rhtd_1 {
|
|
14587
14596
|
margin: auto;
|
|
14588
14597
|
width: 100%;
|
|
@@ -14641,10 +14650,45 @@ var css61 = `._createContainer_9rhtd_1 {
|
|
|
14641
14650
|
var organization_module_css_default16 = { "createContainer": "_createContainer_9rhtd_1", "overlay": "_overlay_9rhtd_8", "dropdownActionItem": "_dropdownActionItem_9rhtd_13", "noSelectItem": "_noSelectItem_9rhtd_30", "orgTabsContainer": "_orgTabsContainer_9rhtd_35", "invite-member-emails-textarea": "_invite-member-emails-textarea_9rhtd_39", "inviteMemberEmailsTextarea": "_invite-member-emails-textarea_9rhtd_39" };
|
|
14642
14651
|
|
|
14643
14652
|
// react/hooks/useMessages.ts
|
|
14644
|
-
var
|
|
14653
|
+
var import_react56 = require("react");
|
|
14645
14654
|
var import_lodash2 = require("lodash");
|
|
14655
|
+
|
|
14656
|
+
// react/contexts/CustomizationContext.tsx
|
|
14657
|
+
var import_react55 = require("react");
|
|
14658
|
+
var import_lodash = require("lodash");
|
|
14659
|
+
var import_jsx_runtime74 = require("react/jsx-runtime");
|
|
14660
|
+
var defaultCustomization = {
|
|
14661
|
+
terminology: {
|
|
14662
|
+
organization: { singular: "Organization", plural: "Organizations" },
|
|
14663
|
+
project: { singular: "Project", plural: "Projects" },
|
|
14664
|
+
team: { singular: "Team", plural: "Teams" },
|
|
14665
|
+
member: { singular: "Member", plural: "Members" },
|
|
14666
|
+
user: { singular: "User", plural: "Users" },
|
|
14667
|
+
appName: "Frontier"
|
|
14668
|
+
},
|
|
14669
|
+
messages: {
|
|
14670
|
+
billing: {},
|
|
14671
|
+
general: {}
|
|
14672
|
+
}
|
|
14673
|
+
};
|
|
14674
|
+
var CustomizationContext = (0, import_react55.createContext)(
|
|
14675
|
+
defaultCustomization
|
|
14676
|
+
);
|
|
14677
|
+
var CustomizationProvider = ({
|
|
14678
|
+
children,
|
|
14679
|
+
config = {}
|
|
14680
|
+
}) => {
|
|
14681
|
+
const mergedConfig = (0, import_lodash.merge)(
|
|
14682
|
+
{},
|
|
14683
|
+
defaultCustomization,
|
|
14684
|
+
config
|
|
14685
|
+
);
|
|
14686
|
+
return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(CustomizationContext.Provider, { value: mergedConfig, children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(TerminologyProvider, { terminology: mergedConfig.terminology, children }) });
|
|
14687
|
+
};
|
|
14688
|
+
|
|
14689
|
+
// react/hooks/useMessages.ts
|
|
14646
14690
|
var useMessages = () => {
|
|
14647
|
-
const context = (0,
|
|
14691
|
+
const context = (0, import_react56.useContext)(CustomizationContext);
|
|
14648
14692
|
const config = context || defaultCustomization;
|
|
14649
14693
|
const { messages } = config;
|
|
14650
14694
|
const getMessage = (path) => {
|
|
@@ -14655,7 +14699,7 @@ var useMessages = () => {
|
|
|
14655
14699
|
};
|
|
14656
14700
|
|
|
14657
14701
|
// react/views/plans/confirm-plan-change-dialog.tsx
|
|
14658
|
-
var
|
|
14702
|
+
var import_jsx_runtime75 = require("react/jsx-runtime");
|
|
14659
14703
|
function ConfirmPlanChangeDialog({
|
|
14660
14704
|
open,
|
|
14661
14705
|
onOpenChange,
|
|
@@ -14670,8 +14714,8 @@ function ConfirmPlanChangeDialog({
|
|
|
14670
14714
|
basePlan,
|
|
14671
14715
|
allPlans
|
|
14672
14716
|
} = useFrontier();
|
|
14673
|
-
const [newPlan, setNewPlan] = (0,
|
|
14674
|
-
const [isNewPlanLoading, setIsNewPlanLoading] = (0,
|
|
14717
|
+
const [newPlan, setNewPlan] = (0, import_react57.useState)();
|
|
14718
|
+
const [isNewPlanLoading, setIsNewPlanLoading] = (0, import_react57.useState)(false);
|
|
14675
14719
|
const m = useMessages();
|
|
14676
14720
|
const {
|
|
14677
14721
|
changePlan,
|
|
@@ -14681,7 +14725,7 @@ function ConfirmPlanChangeDialog({
|
|
|
14681
14725
|
cancelSubscription,
|
|
14682
14726
|
checkBasePlan
|
|
14683
14727
|
} = usePlans();
|
|
14684
|
-
const currentPlan = (0,
|
|
14728
|
+
const currentPlan = (0, import_react57.useMemo)(
|
|
14685
14729
|
() => allPlans.find((plan) => plan.id === planId),
|
|
14686
14730
|
[allPlans, planId]
|
|
14687
14731
|
);
|
|
@@ -14692,12 +14736,12 @@ function ConfirmPlanChangeDialog({
|
|
|
14692
14736
|
Number(newPlanMetadata == null ? void 0 : newPlanMetadata.weightage),
|
|
14693
14737
|
Number(activePlanMetadata == null ? void 0 : activePlanMetadata.weightage)
|
|
14694
14738
|
);
|
|
14695
|
-
const handleClose = (0,
|
|
14739
|
+
const handleClose = (0, import_react57.useCallback)(() => onOpenChange == null ? void 0 : onOpenChange(false), [onOpenChange]);
|
|
14696
14740
|
const newPlanSlug = isNewPlanBasePlan ? "base" : newPlan == null ? void 0 : newPlan.name;
|
|
14697
14741
|
const planChangeSlug = (activePlan == null ? void 0 : activePlan.name) ? `${activePlan == null ? void 0 : activePlan.name}:${newPlanSlug}` : "";
|
|
14698
14742
|
const planChangeMessage = planChangeSlug ? m(`billing.plan_change.${planChangeSlug}`) : "";
|
|
14699
14743
|
const isUpgrade = planAction.btnLabel === "Upgrade";
|
|
14700
|
-
const verifyChange = (0,
|
|
14744
|
+
const verifyChange = (0, import_react57.useCallback)(() => __async(this, null, function* () {
|
|
14701
14745
|
var _a2;
|
|
14702
14746
|
const planPhase = isNewPlanBasePlan ? yield verifySubscriptionCancel({}) : yield verifyPlanChange({ planId });
|
|
14703
14747
|
const actionName = planAction == null ? void 0 : planAction.btnLabel.toLowerCase();
|
|
@@ -14719,7 +14763,7 @@ function ConfirmPlanChangeDialog({
|
|
|
14719
14763
|
verifySubscriptionCancel,
|
|
14720
14764
|
isNewPlanBasePlan
|
|
14721
14765
|
]);
|
|
14722
|
-
const onConfirm = (0,
|
|
14766
|
+
const onConfirm = (0, import_react57.useCallback)(() => __async(this, null, function* () {
|
|
14723
14767
|
if (isNewPlanBasePlan) {
|
|
14724
14768
|
cancelSubscription({
|
|
14725
14769
|
onSuccess: verifyChange
|
|
@@ -14739,7 +14783,7 @@ function ConfirmPlanChangeDialog({
|
|
|
14739
14783
|
planId,
|
|
14740
14784
|
planAction.immediate
|
|
14741
14785
|
]);
|
|
14742
|
-
const getPlan = (0,
|
|
14786
|
+
const getPlan = (0, import_react57.useCallback)(() => {
|
|
14743
14787
|
setIsNewPlanLoading(true);
|
|
14744
14788
|
try {
|
|
14745
14789
|
const plan = isNewPlanBasePlan ? basePlan : currentPlan;
|
|
@@ -14755,7 +14799,7 @@ function ConfirmPlanChangeDialog({
|
|
|
14755
14799
|
setIsNewPlanLoading(false);
|
|
14756
14800
|
}
|
|
14757
14801
|
}, [isNewPlanBasePlan, basePlan, currentPlan]);
|
|
14758
|
-
(0,
|
|
14802
|
+
(0, import_react57.useEffect)(() => {
|
|
14759
14803
|
if (planId && open) {
|
|
14760
14804
|
getPlan();
|
|
14761
14805
|
}
|
|
@@ -14770,18 +14814,18 @@ function ConfirmPlanChangeDialog({
|
|
|
14770
14814
|
const cycleSwitchDate = (activeSubscription == null ? void 0 : activeSubscription.currentPeriodEndAt) ? (_a = timestampToDayjs(activeSubscription == null ? void 0 : activeSubscription.currentPeriodEndAt)) == null ? void 0 : _a.format(
|
|
14771
14815
|
(config == null ? void 0 : config.dateFormat) || DEFAULT_DATE_FORMAT
|
|
14772
14816
|
) : "the next billing cycle";
|
|
14773
|
-
return /* @__PURE__ */ (0,
|
|
14817
|
+
return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_apsara64.Dialog, { open, onOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
|
|
14774
14818
|
import_apsara64.Dialog.Content,
|
|
14775
14819
|
{
|
|
14776
14820
|
style: { padding: 0, maxWidth: "600px", width: "100%" },
|
|
14777
14821
|
overlayClassName: organization_module_css_default16.overlay,
|
|
14778
14822
|
children: [
|
|
14779
|
-
/* @__PURE__ */ (0,
|
|
14780
|
-
isLoading ? /* @__PURE__ */ (0,
|
|
14823
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_apsara64.Dialog.Header, { children: /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(import_apsara64.Flex, { justify: "between", align: "center", style: { width: "100%" }, children: [
|
|
14824
|
+
isLoading ? /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_apsara64.Skeleton, { containerClassName: plans_module_css_default3.flex1 }) : /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(import_apsara64.Text, { size: "large", weight: "medium", children: [
|
|
14781
14825
|
"Verify ",
|
|
14782
14826
|
planAction == null ? void 0 : planAction.btnLabel
|
|
14783
14827
|
] }),
|
|
14784
|
-
/* @__PURE__ */ (0,
|
|
14828
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
14785
14829
|
import_apsara64.Image,
|
|
14786
14830
|
{
|
|
14787
14831
|
alt: "cross",
|
|
@@ -14792,24 +14836,24 @@ function ConfirmPlanChangeDialog({
|
|
|
14792
14836
|
}
|
|
14793
14837
|
)
|
|
14794
14838
|
] }) }),
|
|
14795
|
-
/* @__PURE__ */ (0,
|
|
14796
|
-
isLoading ? /* @__PURE__ */ (0,
|
|
14797
|
-
/* @__PURE__ */ (0,
|
|
14798
|
-
/* @__PURE__ */ (0,
|
|
14839
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_apsara64.Dialog.Body, { children: /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(import_apsara64.Flex, { direction: "column", gap: 7, children: [
|
|
14840
|
+
isLoading ? /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_apsara64.Skeleton, {}) : /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(import_apsara64.Flex, { gap: 3, children: [
|
|
14841
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_apsara64.Text, { size: "small", weight: "medium", children: "Current plan:" }),
|
|
14842
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_apsara64.Text, { size: "small", variant: "secondary", children: currentPlanName })
|
|
14799
14843
|
] }),
|
|
14800
|
-
isLoading ? /* @__PURE__ */ (0,
|
|
14801
|
-
/* @__PURE__ */ (0,
|
|
14802
|
-
/* @__PURE__ */ (0,
|
|
14844
|
+
isLoading ? /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_apsara64.Skeleton, {}) : /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(import_apsara64.Flex, { gap: 3, children: [
|
|
14845
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_apsara64.Text, { size: "small", weight: "medium", children: "New plan:" }),
|
|
14846
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(import_apsara64.Text, { size: "small", variant: "secondary", children: [
|
|
14803
14847
|
upcomingPlanName,
|
|
14804
14848
|
" (",
|
|
14805
14849
|
(planAction == null ? void 0 : planAction.immediate) ? "effective immediately" : `effective from ${cycleSwitchDate}`,
|
|
14806
14850
|
")"
|
|
14807
14851
|
] })
|
|
14808
14852
|
] }),
|
|
14809
|
-
isLoading ? /* @__PURE__ */ (0,
|
|
14853
|
+
isLoading ? /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_apsara64.Skeleton, { count: 2 }) : /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_apsara64.Text, { size: "small", variant: "secondary", children: planChangeMessage || isUpgrade && DEFAULT_PLAN_UPGRADE_MESSAGE })
|
|
14810
14854
|
] }) }),
|
|
14811
|
-
/* @__PURE__ */ (0,
|
|
14812
|
-
/* @__PURE__ */ (0,
|
|
14855
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_apsara64.Dialog.Footer, { children: /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(import_apsara64.Flex, { justify: "end", gap: 5, children: [
|
|
14856
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
14813
14857
|
import_apsara64.Button,
|
|
14814
14858
|
{
|
|
14815
14859
|
variant: "outline",
|
|
@@ -14819,7 +14863,7 @@ function ConfirmPlanChangeDialog({
|
|
|
14819
14863
|
children: "Cancel"
|
|
14820
14864
|
}
|
|
14821
14865
|
),
|
|
14822
|
-
/* @__PURE__ */ (0,
|
|
14866
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
14823
14867
|
import_apsara64.Button,
|
|
14824
14868
|
{
|
|
14825
14869
|
onClick: onConfirm,
|
|
@@ -14841,8 +14885,8 @@ var import_connect_query42 = require("@connectrpc/connect-query");
|
|
|
14841
14885
|
var import_protobuf44 = require("@bufbuild/protobuf");
|
|
14842
14886
|
var import_frontier43 = require("@raystack/proton/frontier");
|
|
14843
14887
|
|
|
14844
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
14845
|
-
var digest62 = "
|
|
14888
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-7AZr6O69JdOF/sdk/react/components/organization/styles.module.css.js
|
|
14889
|
+
var digest62 = "b4a5ecae7c05709172ccc65bfb8e83b99d510f1a04a79b51562583859180f8bb";
|
|
14846
14890
|
var css62 = `._header_11okm_1 {
|
|
14847
14891
|
margin-bottom: var(--rs-space-9);
|
|
14848
14892
|
}
|
|
@@ -14885,8 +14929,8 @@ var css62 = `._header_11okm_1 {
|
|
|
14885
14929
|
})();
|
|
14886
14930
|
var styles_module_css_default14 = { "header": "_header_11okm_1", "container": "_container_11okm_5", "containerFlex": "_containerFlex_11okm_10", "contentWrapper": "_contentWrapper_11okm_18", "pageWrapper": "_pageWrapper_11okm_24" };
|
|
14887
14931
|
|
|
14888
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
14889
|
-
var digest63 = "
|
|
14932
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-l2EIM3rwbvpC/sdk/react/views/plans/plans.module.css.js
|
|
14933
|
+
var digest63 = "a7f00d8eb6997170e435df0246e98455cf083d9ad63b9de838a77faf1e60bcf7";
|
|
14890
14934
|
var css63 = `._flex1_3ghb5_1 {
|
|
14891
14935
|
flex: 1;
|
|
14892
14936
|
}
|
|
@@ -15021,16 +15065,16 @@ var css63 = `._flex1_3ghb5_1 {
|
|
|
15021
15065
|
var plans_module_css_default4 = { "flex1": "_flex1_3ghb5_1", "leftPanel": "_leftPanel_3ghb5_5", "rightPanel": "_rightPanel_3ghb5_9", "planInfoColumn": "_planInfoColumn_3ghb5_15", "planTitle": "_planTitle_3ghb5_25", "planPrice": "_planPrice_3ghb5_33", "planPriceSub": "_planPriceSub_3ghb5_41", "planDescription": "_planDescription_3ghb5_49", "planActionBtn": "_planActionBtn_3ghb5_57", "plansIntervalList": "_plansIntervalList_3ghb5_61", "plansIntervalListItem": "_plansIntervalListItem_3ghb5_61", "plansIntervalListItemText": "_plansIntervalListItemText_3ghb5_65", "featureCell": "_featureCell_3ghb5_76", "featureTableHeading": "_featureTableHeading_3ghb5_83", "featureLabel": "_featureLabel_3ghb5_90", "trialWrapper": "_trialWrapper_3ghb5_101", "trialButton": "_trialButton_3ghb5_105", "discountText": "_discountText_3ghb5_111" };
|
|
15022
15066
|
|
|
15023
15067
|
// react/views/plans/plans-page.tsx
|
|
15024
|
-
var
|
|
15068
|
+
var import_jsx_runtime76 = require("react/jsx-runtime");
|
|
15025
15069
|
var PlansLoader = () => {
|
|
15026
|
-
return /* @__PURE__ */ (0,
|
|
15070
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(import_apsara65.Flex, { direction: "column", gap: 4, children: [...new Array(2)].map((_5, i) => /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(import_apsara65.Skeleton, { containerClassName: plans_module_css_default4.flex1 }, `loader-${i}`)) });
|
|
15027
15071
|
};
|
|
15028
15072
|
var NoPlans = () => {
|
|
15029
|
-
return /* @__PURE__ */ (0,
|
|
15073
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
15030
15074
|
import_apsara65.EmptyState,
|
|
15031
15075
|
{
|
|
15032
|
-
icon: /* @__PURE__ */ (0,
|
|
15033
|
-
heading: /* @__PURE__ */ (0,
|
|
15076
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(ExclamationTriangleIcon, {}),
|
|
15077
|
+
heading: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("span", { style: { fontWeight: "bold" }, children: "No Plans Available" }),
|
|
15034
15078
|
subHeading: "Sorry, No plans available at this moment. Please try again later"
|
|
15035
15079
|
}
|
|
15036
15080
|
);
|
|
@@ -15043,7 +15087,7 @@ var PlansList = ({
|
|
|
15043
15087
|
onConfirmPlanChange
|
|
15044
15088
|
}) => {
|
|
15045
15089
|
if (plans.length === 0)
|
|
15046
|
-
return /* @__PURE__ */ (0,
|
|
15090
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(NoPlans, {});
|
|
15047
15091
|
const groupedPlans = groupPlansPricingByInterval(plans).sort(
|
|
15048
15092
|
(a, b) => a.weightage - b.weightage
|
|
15049
15093
|
);
|
|
@@ -15063,34 +15107,34 @@ var PlansList = ({
|
|
|
15063
15107
|
return acc;
|
|
15064
15108
|
}, {});
|
|
15065
15109
|
const sortedFeatures = Object.entries(featureTitleMap).sort((f1, f2) => f1[1] - f2[1]).map((f) => f[0]).filter((f) => Boolean(f));
|
|
15066
|
-
return /* @__PURE__ */ (0,
|
|
15067
|
-
/* @__PURE__ */ (0,
|
|
15068
|
-
/* @__PURE__ */ (0,
|
|
15069
|
-
/* @__PURE__ */ (0,
|
|
15070
|
-
/* @__PURE__ */ (0,
|
|
15110
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(import_apsara65.Flex, { children: /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(import_apsara65.Flex, { style: { overflow: "hidden", flex: 1 }, children: [
|
|
15111
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { className: plans_module_css_default4.leftPanel, children: [
|
|
15112
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: plans_module_css_default4.planInfoColumn, children: "" }),
|
|
15113
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(import_apsara65.Flex, { direction: "column", children: [
|
|
15114
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
15071
15115
|
import_apsara65.Flex,
|
|
15072
15116
|
{
|
|
15073
15117
|
align: "center",
|
|
15074
15118
|
justify: "start",
|
|
15075
15119
|
className: plans_module_css_default4.featureCell,
|
|
15076
|
-
children: /* @__PURE__ */ (0,
|
|
15120
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(import_apsara65.Text, { size: "small", className: plans_module_css_default4.featureTableHeading, children: "Features" })
|
|
15077
15121
|
}
|
|
15078
15122
|
),
|
|
15079
15123
|
sortedFeatures.map((feature) => {
|
|
15080
|
-
return /* @__PURE__ */ (0,
|
|
15124
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
15081
15125
|
import_apsara65.Flex,
|
|
15082
15126
|
{
|
|
15083
15127
|
align: "center",
|
|
15084
15128
|
justify: "start",
|
|
15085
15129
|
className: plans_module_css_default4.featureCell,
|
|
15086
|
-
children: /* @__PURE__ */ (0,
|
|
15130
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(import_apsara65.Text, { size: 3, className: plans_module_css_default4.featureLabel, children: feature })
|
|
15087
15131
|
},
|
|
15088
15132
|
feature
|
|
15089
15133
|
);
|
|
15090
15134
|
})
|
|
15091
15135
|
] })
|
|
15092
15136
|
] }),
|
|
15093
|
-
/* @__PURE__ */ (0,
|
|
15137
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)(import_apsara65.Flex, { className: plans_module_css_default4.rightPanel, children: groupedPlans.map((plan) => /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
15094
15138
|
PlanPricingColumn,
|
|
15095
15139
|
{
|
|
15096
15140
|
plan,
|
|
@@ -15122,7 +15166,7 @@ function PlansPage(_props = {}) {
|
|
|
15122
15166
|
const features = (featuresData == null ? void 0 : featuresData.features) || [];
|
|
15123
15167
|
const plans = [...basePlan ? [basePlan] : [], ...allPlans];
|
|
15124
15168
|
const isLoading = isAllPlansLoading || isPermissionsFetching || isActiveSubscriptionLoading || isActiveOrganizationLoading;
|
|
15125
|
-
const [confirmPlanChangeState, setConfirmPlanChangeState] = (0,
|
|
15169
|
+
const [confirmPlanChangeState, setConfirmPlanChangeState] = (0, import_react58.useState)({
|
|
15126
15170
|
open: false,
|
|
15127
15171
|
planId: ""
|
|
15128
15172
|
});
|
|
@@ -15133,17 +15177,17 @@ function PlansPage(_props = {}) {
|
|
|
15133
15177
|
setConfirmPlanChangeState((prev) => __spreadProps(__spreadValues({}, prev), { open: value }));
|
|
15134
15178
|
}
|
|
15135
15179
|
};
|
|
15136
|
-
return /* @__PURE__ */ (0,
|
|
15137
|
-
/* @__PURE__ */ (0,
|
|
15138
|
-
/* @__PURE__ */ (0,
|
|
15180
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(import_apsara65.Flex, { direction: "column", style: { width: "100%", overflow: "hidden" }, children: [
|
|
15181
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(import_apsara65.Flex, { direction: "column", className: styles_module_css_default14.container, children: [
|
|
15182
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)(import_apsara65.Flex, { direction: "row", justify: "between", align: "center", className: styles_module_css_default14.header, children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
15139
15183
|
PlansHeader,
|
|
15140
15184
|
{
|
|
15141
15185
|
billingSupportEmail: (_a = config.billing) == null ? void 0 : _a.supportEmail,
|
|
15142
15186
|
isLoading
|
|
15143
15187
|
}
|
|
15144
15188
|
) }),
|
|
15145
|
-
/* @__PURE__ */ (0,
|
|
15146
|
-
/* @__PURE__ */ (0,
|
|
15189
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(import_apsara65.Flex, { direction: "column", gap: 7, children: [
|
|
15190
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
15147
15191
|
UpcomingPlanChangeBanner,
|
|
15148
15192
|
{
|
|
15149
15193
|
isLoading,
|
|
@@ -15151,7 +15195,7 @@ function PlansPage(_props = {}) {
|
|
|
15151
15195
|
isAllowed: canChangePlan
|
|
15152
15196
|
}
|
|
15153
15197
|
),
|
|
15154
|
-
isLoading ? /* @__PURE__ */ (0,
|
|
15198
|
+
isLoading ? /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(PlansLoader, {}) : /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
15155
15199
|
PlansList,
|
|
15156
15200
|
{
|
|
15157
15201
|
plans,
|
|
@@ -15163,7 +15207,7 @@ function PlansPage(_props = {}) {
|
|
|
15163
15207
|
)
|
|
15164
15208
|
] })
|
|
15165
15209
|
] }),
|
|
15166
|
-
/* @__PURE__ */ (0,
|
|
15210
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
15167
15211
|
ConfirmPlanChangeDialog,
|
|
15168
15212
|
{
|
|
15169
15213
|
open: confirmPlanChangeState.open,
|
|
@@ -15175,9 +15219,9 @@ function PlansPage(_props = {}) {
|
|
|
15175
15219
|
}
|
|
15176
15220
|
|
|
15177
15221
|
// react/components/organization/plans/index.tsx
|
|
15178
|
-
var
|
|
15222
|
+
var import_jsx_runtime77 = require("react/jsx-runtime");
|
|
15179
15223
|
function Plans() {
|
|
15180
|
-
return /* @__PURE__ */ (0,
|
|
15224
|
+
return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(PlansPage, {});
|
|
15181
15225
|
}
|
|
15182
15226
|
|
|
15183
15227
|
// react/components/organization/api-keys/index.tsx
|
|
@@ -15190,11 +15234,11 @@ var import_apsara69 = require("@raystack/apsara");
|
|
|
15190
15234
|
var key_default = 'data:image/svg+xml,<svg width="33" height="33" viewBox="0 0 33 33" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<g id="key">%0A<path id="Vector" d="M21.5232 7.04688C23.7323 7.04688 25.5232 8.83774 25.5232 11.0469M29.5232 11.0469C29.5232 15.4652 25.9415 19.0469 21.5232 19.0469C21.0555 19.0469 20.5972 19.0067 20.1516 18.9297C19.4009 18.8 18.6059 18.9642 18.0672 19.5029L14.5232 23.0469H11.5232V26.0469H8.52319V29.0469H3.52319V25.2895C3.52319 24.4939 3.83926 23.7308 4.40187 23.1682L13.0672 14.5029C13.6059 13.9642 13.77 13.1692 13.6403 12.4185C13.5633 11.9728 13.5232 11.5145 13.5232 11.0469C13.5232 6.6286 17.1049 3.04688 21.5232 3.04688C25.9415 3.04688 29.5232 6.6286 29.5232 11.0469Z" stroke="%23646464" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>%0A</g>%0A</svg>%0A';
|
|
15191
15235
|
|
|
15192
15236
|
// react/views/api-keys/list/api-keys-list-page.tsx
|
|
15193
|
-
var
|
|
15237
|
+
var import_react60 = require("react");
|
|
15194
15238
|
|
|
15195
15239
|
// react/views/api-keys/list/api-keys-columns.tsx
|
|
15196
15240
|
var import_apsara66 = require("@raystack/apsara");
|
|
15197
|
-
var
|
|
15241
|
+
var import_jsx_runtime78 = require("react/jsx-runtime");
|
|
15198
15242
|
var getColumns9 = ({
|
|
15199
15243
|
dateFormat,
|
|
15200
15244
|
onDeleteClick
|
|
@@ -15205,7 +15249,7 @@ var getColumns9 = ({
|
|
|
15205
15249
|
accessorKey: "title",
|
|
15206
15250
|
cell: ({ row, getValue }) => {
|
|
15207
15251
|
const value = getValue();
|
|
15208
|
-
return /* @__PURE__ */ (0,
|
|
15252
|
+
return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_apsara66.Text, { children: value });
|
|
15209
15253
|
}
|
|
15210
15254
|
},
|
|
15211
15255
|
{
|
|
@@ -15214,7 +15258,7 @@ var getColumns9 = ({
|
|
|
15214
15258
|
cell: ({ row, getValue }) => {
|
|
15215
15259
|
var _a, _b;
|
|
15216
15260
|
const value = getValue();
|
|
15217
|
-
return /* @__PURE__ */ (0,
|
|
15261
|
+
return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_apsara66.Flex, { direction: "column", children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_apsara66.Text, { children: (_b = (_a = timestampToDayjs(value)) == null ? void 0 : _a.format(dateFormat)) != null ? _b : "-" }) });
|
|
15218
15262
|
}
|
|
15219
15263
|
},
|
|
15220
15264
|
{
|
|
@@ -15223,7 +15267,7 @@ var getColumns9 = ({
|
|
|
15223
15267
|
enableSorting: false,
|
|
15224
15268
|
cell: ({ row, getValue }) => {
|
|
15225
15269
|
const value = getValue();
|
|
15226
|
-
return /* @__PURE__ */ (0,
|
|
15270
|
+
return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
15227
15271
|
import_apsara66.Button,
|
|
15228
15272
|
{
|
|
15229
15273
|
variant: "text",
|
|
@@ -15234,7 +15278,7 @@ var getColumns9 = ({
|
|
|
15234
15278
|
e.stopPropagation();
|
|
15235
15279
|
onDeleteClick == null ? void 0 : onDeleteClick(value);
|
|
15236
15280
|
},
|
|
15237
|
-
children: /* @__PURE__ */ (0,
|
|
15281
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(TrashIcon, {})
|
|
15238
15282
|
}
|
|
15239
15283
|
);
|
|
15240
15284
|
}
|
|
@@ -15247,8 +15291,8 @@ var import_connect_query45 = require("@connectrpc/connect-query");
|
|
|
15247
15291
|
var import_protobuf47 = require("@bufbuild/protobuf");
|
|
15248
15292
|
var import_frontier46 = require("@raystack/proton/frontier");
|
|
15249
15293
|
|
|
15250
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
15251
|
-
var digest64 = "
|
|
15294
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-7R8vwT92H6Uc/sdk/react/components/organization/styles.module.css.js
|
|
15295
|
+
var digest64 = "f6619d83c8b45a348fe3ed91ebd627996fe4571aa98e9abf67a026ad0fc0f4cd";
|
|
15252
15296
|
var css64 = `._header_11okm_1 {
|
|
15253
15297
|
margin-bottom: var(--rs-space-9);
|
|
15254
15298
|
}
|
|
@@ -15291,8 +15335,8 @@ var css64 = `._header_11okm_1 {
|
|
|
15291
15335
|
})();
|
|
15292
15336
|
var styles_module_css_default15 = { "header": "_header_11okm_1", "container": "_container_11okm_5", "containerFlex": "_containerFlex_11okm_10", "contentWrapper": "_contentWrapper_11okm_18", "pageWrapper": "_pageWrapper_11okm_24" };
|
|
15293
15337
|
|
|
15294
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
15295
|
-
var digest65 = "
|
|
15338
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-gDTeLldgDAAO/sdk/react/views/api-keys/list/api-keys.module.css.js
|
|
15339
|
+
var digest65 = "917eaaa9b068d5a4571b0bb5cd63605f66cadc8aca91cd0504fdef06c84cf06a";
|
|
15296
15340
|
var css65 = `._container_9t9jq_1 {
|
|
15297
15341
|
height: 100%;
|
|
15298
15342
|
width: 100%;
|
|
@@ -15376,15 +15420,15 @@ var import_apsara67 = require("@raystack/apsara");
|
|
|
15376
15420
|
var import_react_hook_form19 = require("react-hook-form");
|
|
15377
15421
|
var yup19 = __toESM(require("yup"));
|
|
15378
15422
|
var import_yup19 = require("@hookform/resolvers/yup");
|
|
15379
|
-
var
|
|
15423
|
+
var import_react59 = require("react");
|
|
15380
15424
|
var import_lodash3 = require("lodash");
|
|
15381
15425
|
var import_frontier44 = require("@raystack/proton/frontier");
|
|
15382
15426
|
var import_react_query11 = require("@tanstack/react-query");
|
|
15383
15427
|
var import_connect_query43 = require("@connectrpc/connect-query");
|
|
15384
15428
|
var import_protobuf45 = require("@bufbuild/protobuf");
|
|
15385
15429
|
|
|
15386
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
15387
|
-
var digest66 = "
|
|
15430
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-qSmC4yC62mrF/sdk/react/views/api-keys/list/api-keys.module.css.js
|
|
15431
|
+
var digest66 = "3dab1043ae25c89f1ab81a26b0609f3c997833981570114c075be071705cb8e4";
|
|
15388
15432
|
var css66 = `._container_9t9jq_1 {
|
|
15389
15433
|
height: 100%;
|
|
15390
15434
|
width: 100%;
|
|
@@ -15464,7 +15508,7 @@ var css66 = `._container_9t9jq_1 {
|
|
|
15464
15508
|
var api_keys_module_css_default2 = { "container": "_container_9t9jq_1", "content": "_content_9t9jq_7", "stateContent": "_stateContent_9t9jq_14", "flex1": "_flex1_9t9jq_18", "tableToolbarSearchWrapper": "_tableToolbarSearchWrapper_9t9jq_22", "tableToolbar": "_tableToolbar_9t9jq_22", "addDialogContent": "_addDialogContent_9t9jq_32", "overlay": "_overlay_9t9jq_38", "tableWrapper": "_tableWrapper_9t9jq_42", "tableRoot": "_tableRoot_9t9jq_50", "tableHeader": "_tableHeader_9t9jq_57", "tableSearchWrapper": "_tableSearchWrapper_9t9jq_61" };
|
|
15465
15509
|
|
|
15466
15510
|
// react/views/api-keys/list/add-service-account-dialog.tsx
|
|
15467
|
-
var
|
|
15511
|
+
var import_jsx_runtime79 = require("react/jsx-runtime");
|
|
15468
15512
|
var DEFAULT_KEY_NAME = "Initial Generated Key";
|
|
15469
15513
|
var serviceAccountSchema = yup19.object({
|
|
15470
15514
|
title: yup19.string().required("Name is a required field"),
|
|
@@ -15501,7 +15545,7 @@ var AddServiceAccountDialog = ({
|
|
|
15501
15545
|
enabled: Boolean(orgId) && open
|
|
15502
15546
|
}
|
|
15503
15547
|
);
|
|
15504
|
-
const projects = (0,
|
|
15548
|
+
const projects = (0, import_react59.useMemo)(() => {
|
|
15505
15549
|
var _a2;
|
|
15506
15550
|
const list = (_a2 = projectsData == null ? void 0 : projectsData.projects) != null ? _a2 : [];
|
|
15507
15551
|
return (0, import_lodash3.orderBy)(list, ["title"], ["asc"]);
|
|
@@ -15515,7 +15559,7 @@ var AddServiceAccountDialog = ({
|
|
|
15515
15559
|
const { mutateAsync: createServiceUserToken } = (0, import_connect_query43.useMutation)(
|
|
15516
15560
|
import_frontier44.FrontierServiceQueries.createServiceUserToken
|
|
15517
15561
|
);
|
|
15518
|
-
const onSubmit = (0,
|
|
15562
|
+
const onSubmit = (0, import_react59.useCallback)(
|
|
15519
15563
|
(data) => __async(void 0, null, function* () {
|
|
15520
15564
|
var _a2;
|
|
15521
15565
|
if (!orgId)
|
|
@@ -15592,15 +15636,15 @@ var AddServiceAccountDialog = ({
|
|
|
15592
15636
|
onCreated
|
|
15593
15637
|
]
|
|
15594
15638
|
);
|
|
15595
|
-
return /* @__PURE__ */ (0,
|
|
15639
|
+
return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_apsara67.Dialog, { open, onOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
|
|
15596
15640
|
import_apsara67.Dialog.Content,
|
|
15597
15641
|
{
|
|
15598
15642
|
overlayClassName: api_keys_module_css_default2.overlay,
|
|
15599
15643
|
className: api_keys_module_css_default2.addDialogContent,
|
|
15600
|
-
children: /* @__PURE__ */ (0,
|
|
15601
|
-
/* @__PURE__ */ (0,
|
|
15602
|
-
/* @__PURE__ */ (0,
|
|
15603
|
-
/* @__PURE__ */ (0,
|
|
15644
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("form", { onSubmit: handleSubmit(onSubmit), children: [
|
|
15645
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_apsara67.Dialog.Header, { children: /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(import_apsara67.Flex, { justify: "between", align: "center", style: { width: "100%" }, children: [
|
|
15646
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_apsara67.Text, { size: 6, weight: 500, children: "New Service Account" }),
|
|
15647
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
|
|
15604
15648
|
import_apsara67.Image,
|
|
15605
15649
|
{
|
|
15606
15650
|
alt: "cross",
|
|
@@ -15611,14 +15655,14 @@ var AddServiceAccountDialog = ({
|
|
|
15611
15655
|
}
|
|
15612
15656
|
)
|
|
15613
15657
|
] }) }),
|
|
15614
|
-
/* @__PURE__ */ (0,
|
|
15615
|
-
/* @__PURE__ */ (0,
|
|
15658
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_apsara67.Dialog.Body, { children: /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(import_apsara67.Flex, { direction: "column", gap: 5, children: [
|
|
15659
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(import_apsara67.Text, { children: [
|
|
15616
15660
|
"Create a dedicated service account to facilitate secure API interactions on behalf of the",
|
|
15617
15661
|
" ",
|
|
15618
15662
|
t.organization({ case: "lower" }),
|
|
15619
15663
|
"."
|
|
15620
15664
|
] }),
|
|
15621
|
-
isProjectsLoading ? /* @__PURE__ */ (0,
|
|
15665
|
+
isProjectsLoading ? /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_apsara67.Skeleton, { height: "25px" }) : /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
|
|
15622
15666
|
import_apsara67.InputField,
|
|
15623
15667
|
__spreadProps(__spreadValues({
|
|
15624
15668
|
label: "Name"
|
|
@@ -15628,20 +15672,20 @@ var AddServiceAccountDialog = ({
|
|
|
15628
15672
|
error: errors.title && String((_a = errors.title) == null ? void 0 : _a.message)
|
|
15629
15673
|
})
|
|
15630
15674
|
),
|
|
15631
|
-
/* @__PURE__ */ (0,
|
|
15632
|
-
/* @__PURE__ */ (0,
|
|
15633
|
-
isProjectsLoading ? /* @__PURE__ */ (0,
|
|
15675
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(import_apsara67.Flex, { direction: "column", gap: 2, children: [
|
|
15676
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_apsara67.Label, { children: "Project" }),
|
|
15677
|
+
isProjectsLoading ? /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_apsara67.Skeleton, { height: "25px" }) : /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
|
|
15634
15678
|
import_react_hook_form19.Controller,
|
|
15635
15679
|
{
|
|
15636
15680
|
render: ({ field }) => {
|
|
15637
15681
|
const _a2 = field, { ref, onChange } = _a2, rest = __objRest(_a2, ["ref", "onChange"]);
|
|
15638
|
-
return /* @__PURE__ */ (0,
|
|
15682
|
+
return /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(
|
|
15639
15683
|
import_apsara67.Select,
|
|
15640
15684
|
__spreadProps(__spreadValues({}, rest), {
|
|
15641
15685
|
onValueChange: handleSelectValueChange(onChange),
|
|
15642
15686
|
children: [
|
|
15643
|
-
/* @__PURE__ */ (0,
|
|
15644
|
-
/* @__PURE__ */ (0,
|
|
15687
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_apsara67.Select.Trigger, { ref, children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_apsara67.Select.Value, { placeholder: "Select a project" }) }),
|
|
15688
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_apsara67.Select.Content, { style: { width: "100% !important" }, children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_apsara67.Select.Viewport, { style: { maxHeight: "300px" }, children: projects.map((project) => /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
|
|
15645
15689
|
import_apsara67.Select.Item,
|
|
15646
15690
|
{
|
|
15647
15691
|
value: project.id || "",
|
|
@@ -15657,10 +15701,10 @@ var AddServiceAccountDialog = ({
|
|
|
15657
15701
|
control
|
|
15658
15702
|
}
|
|
15659
15703
|
),
|
|
15660
|
-
/* @__PURE__ */ (0,
|
|
15704
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_apsara67.Text, { size: "mini", variant: "danger", children: errors.project_id && String((_b = errors.project_id) == null ? void 0 : _b.message) })
|
|
15661
15705
|
] })
|
|
15662
15706
|
] }) }),
|
|
15663
|
-
/* @__PURE__ */ (0,
|
|
15707
|
+
/* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_apsara67.Dialog.Footer, { children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_apsara67.Flex, { justify: "end", children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
|
|
15664
15708
|
import_apsara67.Button,
|
|
15665
15709
|
{
|
|
15666
15710
|
variant: "solid",
|
|
@@ -15682,8 +15726,8 @@ var AddServiceAccountDialog = ({
|
|
|
15682
15726
|
// react/views/api-keys/list/delete-service-account-dialog.tsx
|
|
15683
15727
|
var import_apsara68 = require("@raystack/apsara");
|
|
15684
15728
|
|
|
15685
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
15686
|
-
var digest67 = "
|
|
15729
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-BDmwp0IKOjLq/sdk/react/views/api-keys/list/api-keys.module.css.js
|
|
15730
|
+
var digest67 = "facf6696e787a442e12938e21e03cead8046ce01a7ad0f360fe7ed6e0fe1c0e7";
|
|
15687
15731
|
var css67 = `._container_9t9jq_1 {
|
|
15688
15732
|
height: 100%;
|
|
15689
15733
|
width: 100%;
|
|
@@ -15767,7 +15811,7 @@ var import_react_query12 = require("@tanstack/react-query");
|
|
|
15767
15811
|
var import_connect_query44 = require("@connectrpc/connect-query");
|
|
15768
15812
|
var import_frontier45 = require("@raystack/proton/frontier");
|
|
15769
15813
|
var import_protobuf46 = require("@bufbuild/protobuf");
|
|
15770
|
-
var
|
|
15814
|
+
var import_jsx_runtime80 = require("react/jsx-runtime");
|
|
15771
15815
|
var DeleteServiceAccountDialog = ({
|
|
15772
15816
|
open,
|
|
15773
15817
|
onOpenChange,
|
|
@@ -15809,15 +15853,15 @@ var DeleteServiceAccountDialog = ({
|
|
|
15809
15853
|
}
|
|
15810
15854
|
});
|
|
15811
15855
|
}
|
|
15812
|
-
return /* @__PURE__ */ (0,
|
|
15856
|
+
return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_apsara68.Dialog, { open, onOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(
|
|
15813
15857
|
import_apsara68.Dialog.Content,
|
|
15814
15858
|
{
|
|
15815
15859
|
overlayClassName: api_keys_module_css_default3.overlay,
|
|
15816
15860
|
className: api_keys_module_css_default3.addDialogContent,
|
|
15817
15861
|
children: [
|
|
15818
|
-
/* @__PURE__ */ (0,
|
|
15819
|
-
/* @__PURE__ */ (0,
|
|
15820
|
-
/* @__PURE__ */ (0,
|
|
15862
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_apsara68.Dialog.Header, { children: /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(import_apsara68.Flex, { justify: "between", align: "center", style: { width: "100%" }, children: [
|
|
15863
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_apsara68.Text, { size: "large", weight: "medium", children: "Delete Service Account" }),
|
|
15864
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
|
|
15821
15865
|
import_apsara68.Image,
|
|
15822
15866
|
{
|
|
15823
15867
|
alt: "cross",
|
|
@@ -15828,9 +15872,9 @@ var DeleteServiceAccountDialog = ({
|
|
|
15828
15872
|
}
|
|
15829
15873
|
)
|
|
15830
15874
|
] }) }),
|
|
15831
|
-
/* @__PURE__ */ (0,
|
|
15832
|
-
/* @__PURE__ */ (0,
|
|
15833
|
-
/* @__PURE__ */ (0,
|
|
15875
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_apsara68.Dialog.Body, { children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_apsara68.Flex, { direction: "column", gap: 5, children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_apsara68.Text, { children: "This is an irreversible and permanent action doing this might result in deletion of the service account and the keys associated with it. Do you wish to proceed?" }) }) }),
|
|
15876
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_apsara68.Dialog.Footer, { children: /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(import_apsara68.Flex, { justify: "end", gap: 5, children: [
|
|
15877
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
|
|
15834
15878
|
import_apsara68.Button,
|
|
15835
15879
|
{
|
|
15836
15880
|
variant: "outline",
|
|
@@ -15841,7 +15885,7 @@ var DeleteServiceAccountDialog = ({
|
|
|
15841
15885
|
children: "Cancel"
|
|
15842
15886
|
}
|
|
15843
15887
|
),
|
|
15844
|
-
/* @__PURE__ */ (0,
|
|
15888
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
|
|
15845
15889
|
import_apsara68.Button,
|
|
15846
15890
|
{
|
|
15847
15891
|
variant: "solid",
|
|
@@ -15862,18 +15906,18 @@ var DeleteServiceAccountDialog = ({
|
|
|
15862
15906
|
};
|
|
15863
15907
|
|
|
15864
15908
|
// react/views/api-keys/list/api-keys-list-page.tsx
|
|
15865
|
-
var
|
|
15909
|
+
var import_jsx_runtime81 = require("react/jsx-runtime");
|
|
15866
15910
|
var NoServiceAccounts = ({
|
|
15867
15911
|
onCreateClick
|
|
15868
15912
|
}) => {
|
|
15869
15913
|
const t = useTerminology();
|
|
15870
|
-
return /* @__PURE__ */ (0,
|
|
15914
|
+
return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara69.Flex, { justify: "center", align: "center", className: api_keys_module_css_default.stateContent, children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
15871
15915
|
import_apsara69.EmptyState,
|
|
15872
15916
|
{
|
|
15873
|
-
icon: /* @__PURE__ */ (0,
|
|
15917
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara69.Image, { src: key_default, alt: "keyIcon" }),
|
|
15874
15918
|
heading: "No service account found",
|
|
15875
15919
|
subHeading: `Create a new account to use the APIs of ${t.appName()} platform`,
|
|
15876
|
-
primaryAction: /* @__PURE__ */ (0,
|
|
15920
|
+
primaryAction: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
15877
15921
|
import_apsara69.Button,
|
|
15878
15922
|
{
|
|
15879
15923
|
"data-test-id": "frontier-sdk-new-service-account-btn",
|
|
@@ -15887,10 +15931,10 @@ var NoServiceAccounts = ({
|
|
|
15887
15931
|
) });
|
|
15888
15932
|
};
|
|
15889
15933
|
var NoAccess = () => {
|
|
15890
|
-
return /* @__PURE__ */ (0,
|
|
15934
|
+
return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara69.Flex, { justify: "center", align: "center", className: api_keys_module_css_default.stateContent, children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
15891
15935
|
import_apsara69.EmptyState,
|
|
15892
15936
|
{
|
|
15893
|
-
icon: /* @__PURE__ */ (0,
|
|
15937
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(ExclamationTriangleIcon, {}),
|
|
15894
15938
|
heading: "Restricted Access",
|
|
15895
15939
|
subHeading: "Admin access required, please reach out to your admin incase you want to generate a key"
|
|
15896
15940
|
}
|
|
@@ -15899,12 +15943,12 @@ var NoAccess = () => {
|
|
|
15899
15943
|
var ApiKeysHeader = ({ isLoading }) => {
|
|
15900
15944
|
const t = useTerminology();
|
|
15901
15945
|
if (isLoading) {
|
|
15902
|
-
return /* @__PURE__ */ (0,
|
|
15903
|
-
/* @__PURE__ */ (0,
|
|
15904
|
-
/* @__PURE__ */ (0,
|
|
15946
|
+
return /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(import_apsara69.Flex, { direction: "column", gap: 2, className: api_keys_module_css_default.flex1, children: [
|
|
15947
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara69.Skeleton, {}),
|
|
15948
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara69.Skeleton, {})
|
|
15905
15949
|
] });
|
|
15906
15950
|
}
|
|
15907
|
-
return /* @__PURE__ */ (0,
|
|
15951
|
+
return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
15908
15952
|
PageHeader,
|
|
15909
15953
|
{
|
|
15910
15954
|
title: "API Keys",
|
|
@@ -15914,7 +15958,7 @@ var ApiKeysHeader = ({ isLoading }) => {
|
|
|
15914
15958
|
};
|
|
15915
15959
|
var useAccess = (orgId) => {
|
|
15916
15960
|
const resource = `app/organization:${orgId}`;
|
|
15917
|
-
const listOfPermissionsToCheck = (0,
|
|
15961
|
+
const listOfPermissionsToCheck = (0, import_react60.useMemo)(() => {
|
|
15918
15962
|
return [
|
|
15919
15963
|
{
|
|
15920
15964
|
permission: PERMISSIONS.UpdatePermission,
|
|
@@ -15926,7 +15970,7 @@ var useAccess = (orgId) => {
|
|
|
15926
15970
|
listOfPermissionsToCheck,
|
|
15927
15971
|
!!orgId
|
|
15928
15972
|
);
|
|
15929
|
-
const canUpdateWorkspace = (0,
|
|
15973
|
+
const canUpdateWorkspace = (0, import_react60.useMemo)(() => {
|
|
15930
15974
|
return shouldShowComponent(
|
|
15931
15975
|
permissions,
|
|
15932
15976
|
`${PERMISSIONS.UpdatePermission}::${resource}`
|
|
@@ -15949,7 +15993,7 @@ var ServiceAccountsTable = ({
|
|
|
15949
15993
|
dateFormat: dateFormat || DEFAULT_DATE_FORMAT,
|
|
15950
15994
|
onDeleteClick
|
|
15951
15995
|
});
|
|
15952
|
-
return /* @__PURE__ */ (0,
|
|
15996
|
+
return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
15953
15997
|
import_apsara69.DataTable,
|
|
15954
15998
|
{
|
|
15955
15999
|
data: serviceUsers,
|
|
@@ -15958,10 +16002,10 @@ var ServiceAccountsTable = ({
|
|
|
15958
16002
|
defaultSort: { name: "createdAt", order: "desc" },
|
|
15959
16003
|
mode: "client",
|
|
15960
16004
|
onRowClick: (row) => onServiceAccountClick == null ? void 0 : onServiceAccountClick(row.id),
|
|
15961
|
-
children: /* @__PURE__ */ (0,
|
|
15962
|
-
/* @__PURE__ */ (0,
|
|
15963
|
-
/* @__PURE__ */ (0,
|
|
15964
|
-
isLoading ? /* @__PURE__ */ (0,
|
|
16005
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(import_apsara69.Flex, { direction: "column", gap: 7, className: api_keys_module_css_default.tableWrapper, children: [
|
|
16006
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(import_apsara69.Flex, { justify: "between", gap: 3, children: [
|
|
16007
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara69.Flex, { gap: 3, justify: "start", className: api_keys_module_css_default.tableSearchWrapper, children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara69.Skeleton, { height: "32px", containerClassName: api_keys_module_css_default.flex1 }) : /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara69.DataTable.Search, { placeholder: "Search...", size: "medium" }) }),
|
|
16008
|
+
isLoading ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara69.Skeleton, { height: "32px", width: "64px" }) : /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
15965
16009
|
import_apsara69.Button,
|
|
15966
16010
|
{
|
|
15967
16011
|
variant: "solid",
|
|
@@ -15972,7 +16016,7 @@ var ServiceAccountsTable = ({
|
|
|
15972
16016
|
}
|
|
15973
16017
|
)
|
|
15974
16018
|
] }),
|
|
15975
|
-
/* @__PURE__ */ (0,
|
|
16019
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
15976
16020
|
import_apsara69.DataTable.Content,
|
|
15977
16021
|
{
|
|
15978
16022
|
classNames: {
|
|
@@ -16006,7 +16050,7 @@ function ApiKeysListPage({
|
|
|
16006
16050
|
enabled: Boolean(organization == null ? void 0 : organization.id) && canUpdateWorkspace
|
|
16007
16051
|
}
|
|
16008
16052
|
);
|
|
16009
|
-
const serviceUsers = (0,
|
|
16053
|
+
const serviceUsers = (0, import_react60.useMemo)(
|
|
16010
16054
|
() => {
|
|
16011
16055
|
var _a2;
|
|
16012
16056
|
return (_a2 = serviceUsersData == null ? void 0 : serviceUsersData.serviceusers) != null ? _a2 : [];
|
|
@@ -16015,8 +16059,8 @@ function ApiKeysListPage({
|
|
|
16015
16059
|
);
|
|
16016
16060
|
const isLoading = isActiveOrganizationLoading || isPermissionsFetching || isServiceUsersLoading;
|
|
16017
16061
|
const serviceAccountsCount = serviceUsers == null ? void 0 : serviceUsers.length;
|
|
16018
|
-
const [showAddDialog, setShowAddDialog] = (0,
|
|
16019
|
-
const [deleteState, setDeleteState] = (0,
|
|
16062
|
+
const [showAddDialog, setShowAddDialog] = (0, import_react60.useState)(false);
|
|
16063
|
+
const [deleteState, setDeleteState] = (0, import_react60.useState)({
|
|
16020
16064
|
open: false,
|
|
16021
16065
|
serviceAccountId: ""
|
|
16022
16066
|
});
|
|
@@ -16037,30 +16081,30 @@ function ApiKeysListPage({
|
|
|
16037
16081
|
setShowAddDialog(false);
|
|
16038
16082
|
onServiceAccountClick == null ? void 0 : onServiceAccountClick(serviceUserId);
|
|
16039
16083
|
};
|
|
16040
|
-
return /* @__PURE__ */ (0,
|
|
16041
|
-
/* @__PURE__ */ (0,
|
|
16084
|
+
return /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(import_apsara69.Flex, { direction: "column", className: styles_module_css_default15.pageWrapper, children: [
|
|
16085
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(
|
|
16042
16086
|
import_apsara69.Flex,
|
|
16043
16087
|
{
|
|
16044
16088
|
direction: "column",
|
|
16045
16089
|
className: `${styles_module_css_default15.container} ${styles_module_css_default15.containerFlex}`,
|
|
16046
16090
|
children: [
|
|
16047
|
-
/* @__PURE__ */ (0,
|
|
16091
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
16048
16092
|
import_apsara69.Flex,
|
|
16049
16093
|
{
|
|
16050
16094
|
direction: "row",
|
|
16051
16095
|
justify: "between",
|
|
16052
16096
|
align: "center",
|
|
16053
16097
|
className: styles_module_css_default15.header,
|
|
16054
|
-
children: /* @__PURE__ */ (0,
|
|
16098
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(ApiKeysHeader, { isLoading })
|
|
16055
16099
|
}
|
|
16056
16100
|
),
|
|
16057
|
-
canUpdateWorkspace || isLoading ? serviceAccountsCount > 0 || isLoading ? /* @__PURE__ */ (0,
|
|
16101
|
+
canUpdateWorkspace || isLoading ? serviceAccountsCount > 0 || isLoading ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
16058
16102
|
import_apsara69.Flex,
|
|
16059
16103
|
{
|
|
16060
16104
|
direction: "column",
|
|
16061
16105
|
gap: 9,
|
|
16062
16106
|
className: styles_module_css_default15.contentWrapper,
|
|
16063
|
-
children: /* @__PURE__ */ (0,
|
|
16107
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
16064
16108
|
ServiceAccountsTable,
|
|
16065
16109
|
{
|
|
16066
16110
|
isLoading,
|
|
@@ -16072,11 +16116,11 @@ function ApiKeysListPage({
|
|
|
16072
16116
|
}
|
|
16073
16117
|
)
|
|
16074
16118
|
}
|
|
16075
|
-
) : /* @__PURE__ */ (0,
|
|
16119
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(NoServiceAccounts, { onCreateClick: () => setShowAddDialog(true) }) : /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(NoAccess, {})
|
|
16076
16120
|
]
|
|
16077
16121
|
}
|
|
16078
16122
|
),
|
|
16079
|
-
/* @__PURE__ */ (0,
|
|
16123
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
16080
16124
|
AddServiceAccountDialog,
|
|
16081
16125
|
{
|
|
16082
16126
|
open: showAddDialog,
|
|
@@ -16084,7 +16128,7 @@ function ApiKeysListPage({
|
|
|
16084
16128
|
onCreated: handleCreated
|
|
16085
16129
|
}
|
|
16086
16130
|
),
|
|
16087
|
-
/* @__PURE__ */ (0,
|
|
16131
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
16088
16132
|
DeleteServiceAccountDialog,
|
|
16089
16133
|
{
|
|
16090
16134
|
open: deleteState.open,
|
|
@@ -16096,18 +16140,18 @@ function ApiKeysListPage({
|
|
|
16096
16140
|
}
|
|
16097
16141
|
|
|
16098
16142
|
// react/views/api-keys/details/service-user-detail-page.tsx
|
|
16099
|
-
var
|
|
16143
|
+
var import_react65 = require("react");
|
|
16100
16144
|
var import_apsara73 = require("@raystack/apsara");
|
|
16101
16145
|
|
|
16102
16146
|
// react/views/api-keys/details/add-service-user-token.tsx
|
|
16103
16147
|
var yup20 = __toESM(require("yup"));
|
|
16104
16148
|
var import_yup20 = require("@hookform/resolvers/yup");
|
|
16105
16149
|
var import_react_hook_form20 = require("react-hook-form");
|
|
16106
|
-
var
|
|
16150
|
+
var import_react61 = require("react");
|
|
16107
16151
|
var import_apsara70 = require("@raystack/apsara");
|
|
16108
16152
|
|
|
16109
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
16110
|
-
var digest68 = "
|
|
16153
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-oQXFmJwzBoXS/sdk/react/views/api-keys/details/service-user.module.css.js
|
|
16154
|
+
var digest68 = "c7ea433d4984ffa8e5c3de8221a55e59fc34c1d4a0148c4ec917131b015dc21d";
|
|
16111
16155
|
var css68 = `._flex1_3g15z_1 {
|
|
16112
16156
|
flex: 1;
|
|
16113
16157
|
}
|
|
@@ -16219,7 +16263,7 @@ var service_user_module_css_default = { "flex1": "_flex1_3g15z_1", "content": "_
|
|
|
16219
16263
|
var import_connect_query46 = require("@connectrpc/connect-query");
|
|
16220
16264
|
var import_protobuf48 = require("@bufbuild/protobuf");
|
|
16221
16265
|
var import_frontier47 = require("@raystack/proton/frontier");
|
|
16222
|
-
var
|
|
16266
|
+
var import_jsx_runtime82 = require("react/jsx-runtime");
|
|
16223
16267
|
var serviceAccountSchema2 = yup20.object({
|
|
16224
16268
|
title: yup20.string().required("Name is a required field")
|
|
16225
16269
|
}).required();
|
|
@@ -16241,7 +16285,7 @@ function AddServiceUserToken({
|
|
|
16241
16285
|
const { mutateAsync: createServiceUserToken } = (0, import_connect_query46.useMutation)(
|
|
16242
16286
|
import_frontier47.FrontierServiceQueries.createServiceUserToken
|
|
16243
16287
|
);
|
|
16244
|
-
const onSubmit = (0,
|
|
16288
|
+
const onSubmit = (0, import_react61.useCallback)(
|
|
16245
16289
|
(data) => __async(this, null, function* () {
|
|
16246
16290
|
try {
|
|
16247
16291
|
const response = yield createServiceUserToken(
|
|
@@ -16263,8 +16307,8 @@ function AddServiceUserToken({
|
|
|
16263
16307
|
}),
|
|
16264
16308
|
[createServiceUserToken, onAddToken, serviceUserId, orgId]
|
|
16265
16309
|
);
|
|
16266
|
-
return /* @__PURE__ */ (0,
|
|
16267
|
-
/* @__PURE__ */ (0,
|
|
16310
|
+
return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("form", { onSubmit: handleSubmit(onSubmit), children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_apsara70.Flex, { gap: 3, children: /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(import_apsara70.Flex, { className: service_user_module_css_default.addKeyInputWrapper, gap: 3, children: [
|
|
16311
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
|
|
16268
16312
|
import_apsara70.InputField,
|
|
16269
16313
|
__spreadProps(__spreadValues({}, register("title")), {
|
|
16270
16314
|
size: "large",
|
|
@@ -16272,7 +16316,7 @@ function AddServiceUserToken({
|
|
|
16272
16316
|
error: errors.title && String((_a = errors.title) == null ? void 0 : _a.message)
|
|
16273
16317
|
})
|
|
16274
16318
|
),
|
|
16275
|
-
/* @__PURE__ */ (0,
|
|
16319
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
|
|
16276
16320
|
import_apsara70.Button,
|
|
16277
16321
|
{
|
|
16278
16322
|
"data-test-id": "frontier-sdk-api-keys-new-token-btn",
|
|
@@ -16287,9 +16331,9 @@ function AddServiceUserToken({
|
|
|
16287
16331
|
}
|
|
16288
16332
|
|
|
16289
16333
|
// react/hooks/useCopyToClipboard.ts
|
|
16290
|
-
var
|
|
16334
|
+
var import_react62 = require("react");
|
|
16291
16335
|
var useCopyToClipboard = () => {
|
|
16292
|
-
const [copiedText, setCopiedText] = (0,
|
|
16336
|
+
const [copiedText, setCopiedText] = (0, import_react62.useState)("");
|
|
16293
16337
|
const copy = (text) => __async(void 0, null, function* () {
|
|
16294
16338
|
if (!(navigator == null ? void 0 : navigator.clipboard)) {
|
|
16295
16339
|
console.warn("Clipboard not supported");
|
|
@@ -16315,7 +16359,7 @@ var import_frontier51 = require("@raystack/proton/frontier");
|
|
|
16315
16359
|
|
|
16316
16360
|
// react/views/api-keys/hooks/useServiceUserTokens.ts
|
|
16317
16361
|
var import_connect_query47 = require("@connectrpc/connect-query");
|
|
16318
|
-
var
|
|
16362
|
+
var import_react63 = require("react");
|
|
16319
16363
|
var import_react_query13 = require("@tanstack/react-query");
|
|
16320
16364
|
var import_protobuf49 = require("@bufbuild/protobuf");
|
|
16321
16365
|
var import_frontier48 = require("@raystack/proton/frontier");
|
|
@@ -16336,7 +16380,7 @@ var useServiceUserTokens = ({
|
|
|
16336
16380
|
enabled: Boolean(id) && Boolean(orgId) && Boolean(enableFetch)
|
|
16337
16381
|
}
|
|
16338
16382
|
);
|
|
16339
|
-
const tokens = (0,
|
|
16383
|
+
const tokens = (0, import_react63.useMemo)(() => {
|
|
16340
16384
|
var _a;
|
|
16341
16385
|
return (_a = tokensData == null ? void 0 : tokensData.tokens) != null ? _a : [];
|
|
16342
16386
|
}, [tokensData]);
|
|
@@ -16389,10 +16433,10 @@ var useServiceUserTokens = ({
|
|
|
16389
16433
|
|
|
16390
16434
|
// react/views/api-keys/details/manage-service-user-projects-dialog.tsx
|
|
16391
16435
|
var import_apsara71 = require("@raystack/apsara");
|
|
16392
|
-
var
|
|
16436
|
+
var import_react64 = require("react");
|
|
16393
16437
|
|
|
16394
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
16395
|
-
var digest69 = "
|
|
16438
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-0ZvQMYPpzAMp/sdk/react/views/api-keys/details/service-user.module.css.js
|
|
16439
|
+
var digest69 = "25f14b7aeeaf7c9c2fb352ff2a0743ce4124cfdb57de64afdaf58b07a6f3451d";
|
|
16396
16440
|
var css69 = `._flex1_3g15z_1 {
|
|
16397
16441
|
flex: 1;
|
|
16398
16442
|
}
|
|
@@ -16505,7 +16549,7 @@ var import_connect_query48 = require("@connectrpc/connect-query");
|
|
|
16505
16549
|
var import_protobuf50 = require("@bufbuild/protobuf");
|
|
16506
16550
|
var import_frontier49 = require("@raystack/proton/frontier");
|
|
16507
16551
|
var import_lodash4 = require("lodash");
|
|
16508
|
-
var
|
|
16552
|
+
var import_jsx_runtime83 = require("react/jsx-runtime");
|
|
16509
16553
|
var getColumns10 = ({
|
|
16510
16554
|
permMap,
|
|
16511
16555
|
onChange
|
|
@@ -16524,7 +16568,7 @@ var getColumns10 = ({
|
|
|
16524
16568
|
cell: ({ getValue }) => {
|
|
16525
16569
|
const projectId = getValue();
|
|
16526
16570
|
const { value, isLoading } = permMap[projectId] || {};
|
|
16527
|
-
return /* @__PURE__ */ (0,
|
|
16571
|
+
return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_apsara71.Flex, { children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_apsara71.Spinner, {}) : /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
16528
16572
|
import_apsara71.Checkbox,
|
|
16529
16573
|
{
|
|
16530
16574
|
checked: value,
|
|
@@ -16538,14 +16582,14 @@ var getColumns10 = ({
|
|
|
16538
16582
|
accessorKey: "title",
|
|
16539
16583
|
cell: ({ getValue }) => {
|
|
16540
16584
|
const value = getValue();
|
|
16541
|
-
return /* @__PURE__ */ (0,
|
|
16585
|
+
return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_apsara71.Flex, { direction: "column", children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_apsara71.Text, { children: value }) });
|
|
16542
16586
|
}
|
|
16543
16587
|
},
|
|
16544
16588
|
{
|
|
16545
16589
|
header: "Access",
|
|
16546
16590
|
accessorKey: "id",
|
|
16547
16591
|
enableSorting: false,
|
|
16548
|
-
cell: () => /* @__PURE__ */ (0,
|
|
16592
|
+
cell: () => /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_apsara71.Flex, { children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_apsara71.Text, { children: "Member" }) })
|
|
16549
16593
|
}
|
|
16550
16594
|
];
|
|
16551
16595
|
};
|
|
@@ -16555,7 +16599,7 @@ function ManageServiceUserProjectsDialog({
|
|
|
16555
16599
|
serviceUserId
|
|
16556
16600
|
}) {
|
|
16557
16601
|
const { activeOrganization: organization } = useFrontier();
|
|
16558
|
-
const [addedProjectsMap, setAddedProjectsMap] = (0,
|
|
16602
|
+
const [addedProjectsMap, setAddedProjectsMap] = (0, import_react64.useState)(
|
|
16559
16603
|
{}
|
|
16560
16604
|
);
|
|
16561
16605
|
const handleClose = () => onOpenChange == null ? void 0 : onOpenChange(false);
|
|
@@ -16571,7 +16615,7 @@ function ManageServiceUserProjectsDialog({
|
|
|
16571
16615
|
enabled: Boolean(orgId) && open
|
|
16572
16616
|
}
|
|
16573
16617
|
);
|
|
16574
|
-
const projects = (0,
|
|
16618
|
+
const projects = (0, import_react64.useMemo)(() => {
|
|
16575
16619
|
var _a;
|
|
16576
16620
|
const list = (_a = projectsData == null ? void 0 : projectsData.projects) != null ? _a : [];
|
|
16577
16621
|
return (0, import_lodash4.orderBy)(list, ["title"], ["asc"]);
|
|
@@ -16587,14 +16631,14 @@ function ManageServiceUserProjectsDialog({
|
|
|
16587
16631
|
enabled: Boolean(serviceUserId) && Boolean(orgId) && open
|
|
16588
16632
|
}
|
|
16589
16633
|
);
|
|
16590
|
-
const addedProjects = (0,
|
|
16634
|
+
const addedProjects = (0, import_react64.useMemo)(
|
|
16591
16635
|
() => {
|
|
16592
16636
|
var _a;
|
|
16593
16637
|
return (_a = addedProjectsData == null ? void 0 : addedProjectsData.projects) != null ? _a : [];
|
|
16594
16638
|
},
|
|
16595
16639
|
[addedProjectsData]
|
|
16596
16640
|
);
|
|
16597
|
-
(0,
|
|
16641
|
+
(0, import_react64.useEffect)(() => {
|
|
16598
16642
|
const permMap = addedProjects.reduce((acc, proj) => {
|
|
16599
16643
|
acc[(proj == null ? void 0 : proj.id) || ""] = { value: true, isLoading: false };
|
|
16600
16644
|
return acc;
|
|
@@ -16610,7 +16654,7 @@ function ManageServiceUserProjectsDialog({
|
|
|
16610
16654
|
const { mutateAsync: deletePolicy } = (0, import_connect_query48.useMutation)(
|
|
16611
16655
|
import_frontier49.FrontierServiceQueries.deletePolicy
|
|
16612
16656
|
);
|
|
16613
|
-
const onAccessChange = (0,
|
|
16657
|
+
const onAccessChange = (0, import_react64.useCallback)(
|
|
16614
16658
|
(projectId, value) => __async(this, null, function* () {
|
|
16615
16659
|
try {
|
|
16616
16660
|
setAddedProjectsMap((prev) => __spreadProps(__spreadValues({}, prev), {
|
|
@@ -16669,15 +16713,15 @@ function ManageServiceUserProjectsDialog({
|
|
|
16669
16713
|
});
|
|
16670
16714
|
const data = projects || [];
|
|
16671
16715
|
const isLoading = isProjectsLoading || isAddedProjectsLoading;
|
|
16672
|
-
return /* @__PURE__ */ (0,
|
|
16716
|
+
return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_apsara71.Dialog, { open, onOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(
|
|
16673
16717
|
import_apsara71.Dialog.Content,
|
|
16674
16718
|
{
|
|
16675
16719
|
overlayClassName: service_user_module_css_default2.overlay,
|
|
16676
16720
|
className: service_user_module_css_default2.manageProjectDialogContent,
|
|
16677
16721
|
children: [
|
|
16678
|
-
/* @__PURE__ */ (0,
|
|
16679
|
-
/* @__PURE__ */ (0,
|
|
16680
|
-
/* @__PURE__ */ (0,
|
|
16722
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_apsara71.Dialog.Header, { children: /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(import_apsara71.Flex, { justify: "between", align: "center", style: { width: "100%" }, children: [
|
|
16723
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_apsara71.Text, { size: "large", weight: "medium", children: "Manage Project Access" }),
|
|
16724
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
16681
16725
|
import_apsara71.Image,
|
|
16682
16726
|
{
|
|
16683
16727
|
alt: "cross",
|
|
@@ -16688,15 +16732,15 @@ function ManageServiceUserProjectsDialog({
|
|
|
16688
16732
|
}
|
|
16689
16733
|
)
|
|
16690
16734
|
] }) }),
|
|
16691
|
-
/* @__PURE__ */ (0,
|
|
16735
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_apsara71.Dialog.Body, { children: /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(
|
|
16692
16736
|
import_apsara71.Flex,
|
|
16693
16737
|
{
|
|
16694
16738
|
className: service_user_module_css_default2.manageProjectDialogWrapper,
|
|
16695
16739
|
gap: 9,
|
|
16696
16740
|
direction: "column",
|
|
16697
16741
|
children: [
|
|
16698
|
-
/* @__PURE__ */ (0,
|
|
16699
|
-
/* @__PURE__ */ (0,
|
|
16742
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_apsara71.Text, { size: "small", variant: "secondary", children: "Note: Select projects to give access to the service user." }),
|
|
16743
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
16700
16744
|
import_apsara71.DataTable,
|
|
16701
16745
|
{
|
|
16702
16746
|
columns,
|
|
@@ -16704,7 +16748,7 @@ function ManageServiceUserProjectsDialog({
|
|
|
16704
16748
|
isLoading,
|
|
16705
16749
|
mode: "client",
|
|
16706
16750
|
defaultSort: { name: "name", order: "asc" },
|
|
16707
|
-
children: /* @__PURE__ */ (0,
|
|
16751
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_apsara71.DataTable.Content, { classNames: { root: service_user_module_css_default2.tableRoot } })
|
|
16708
16752
|
}
|
|
16709
16753
|
)
|
|
16710
16754
|
]
|
|
@@ -16718,8 +16762,8 @@ function ManageServiceUserProjectsDialog({
|
|
|
16718
16762
|
// react/views/api-keys/details/delete-service-user-key-dialog.tsx
|
|
16719
16763
|
var import_apsara72 = require("@raystack/apsara");
|
|
16720
16764
|
|
|
16721
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
16722
|
-
var digest70 = "
|
|
16765
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-10LO6aLGPqdp/sdk/react/views/api-keys/details/service-user.module.css.js
|
|
16766
|
+
var digest70 = "d07181c9a2834495b4ac790f2a1714e3e12c52566200b11ee646a830c486e51b";
|
|
16723
16767
|
var css70 = `._flex1_3g15z_1 {
|
|
16724
16768
|
flex: 1;
|
|
16725
16769
|
}
|
|
@@ -16831,7 +16875,7 @@ var service_user_module_css_default3 = { "flex1": "_flex1_3g15z_1", "content": "
|
|
|
16831
16875
|
var import_connect_query49 = require("@connectrpc/connect-query");
|
|
16832
16876
|
var import_frontier50 = require("@raystack/proton/frontier");
|
|
16833
16877
|
var import_protobuf51 = require("@bufbuild/protobuf");
|
|
16834
|
-
var
|
|
16878
|
+
var import_jsx_runtime84 = require("react/jsx-runtime");
|
|
16835
16879
|
var DeleteServiceUserKeyDialog = ({
|
|
16836
16880
|
open,
|
|
16837
16881
|
onOpenChange,
|
|
@@ -16870,15 +16914,15 @@ var DeleteServiceUserKeyDialog = ({
|
|
|
16870
16914
|
});
|
|
16871
16915
|
}
|
|
16872
16916
|
const t = useTerminology();
|
|
16873
|
-
return /* @__PURE__ */ (0,
|
|
16917
|
+
return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_apsara72.Dialog, { open, onOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
|
|
16874
16918
|
import_apsara72.Dialog.Content,
|
|
16875
16919
|
{
|
|
16876
16920
|
overlayClassName: service_user_module_css_default3.overlay,
|
|
16877
16921
|
className: service_user_module_css_default3.addDialogContent,
|
|
16878
16922
|
children: [
|
|
16879
|
-
/* @__PURE__ */ (0,
|
|
16880
|
-
/* @__PURE__ */ (0,
|
|
16881
|
-
/* @__PURE__ */ (0,
|
|
16923
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_apsara72.Dialog.Header, { children: /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(import_apsara72.Flex, { justify: "between", align: "center", style: { width: "100%" }, children: [
|
|
16924
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_apsara72.Text, { size: "large", weight: "medium", children: "Revoke API Key" }),
|
|
16925
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
|
|
16882
16926
|
import_apsara72.Image,
|
|
16883
16927
|
{
|
|
16884
16928
|
alt: "cross",
|
|
@@ -16889,13 +16933,13 @@ var DeleteServiceUserKeyDialog = ({
|
|
|
16889
16933
|
}
|
|
16890
16934
|
)
|
|
16891
16935
|
] }) }),
|
|
16892
|
-
/* @__PURE__ */ (0,
|
|
16936
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_apsara72.Dialog.Body, { children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_apsara72.Flex, { direction: "column", gap: 5, children: /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(import_apsara72.Text, { children: [
|
|
16893
16937
|
"This is an irreversible action doing this might lead to discontinuation of access to the ",
|
|
16894
16938
|
t.appName(),
|
|
16895
16939
|
" features. Do you wish to proceed?"
|
|
16896
16940
|
] }) }) }),
|
|
16897
|
-
/* @__PURE__ */ (0,
|
|
16898
|
-
/* @__PURE__ */ (0,
|
|
16941
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_apsara72.Dialog.Footer, { children: /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(import_apsara72.Flex, { justify: "end", gap: 5, children: [
|
|
16942
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
|
|
16899
16943
|
import_apsara72.Button,
|
|
16900
16944
|
{
|
|
16901
16945
|
variant: "outline",
|
|
@@ -16906,7 +16950,7 @@ var DeleteServiceUserKeyDialog = ({
|
|
|
16906
16950
|
children: "Cancel"
|
|
16907
16951
|
}
|
|
16908
16952
|
),
|
|
16909
|
-
/* @__PURE__ */ (0,
|
|
16953
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
|
|
16910
16954
|
import_apsara72.Button,
|
|
16911
16955
|
{
|
|
16912
16956
|
variant: "solid",
|
|
@@ -16926,8 +16970,8 @@ var DeleteServiceUserKeyDialog = ({
|
|
|
16926
16970
|
) });
|
|
16927
16971
|
};
|
|
16928
16972
|
|
|
16929
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
16930
|
-
var digest71 = "
|
|
16973
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-kcFXnnjbvGWk/sdk/react/components/organization/styles.module.css.js
|
|
16974
|
+
var digest71 = "d290506604dcb2448deee3215ddb0591cc7061577fd1df520ee698fd6decec36";
|
|
16931
16975
|
var css71 = `._header_11okm_1 {
|
|
16932
16976
|
margin-bottom: var(--rs-space-9);
|
|
16933
16977
|
}
|
|
@@ -16970,8 +17014,8 @@ var css71 = `._header_11okm_1 {
|
|
|
16970
17014
|
})();
|
|
16971
17015
|
var styles_module_css_default16 = { "header": "_header_11okm_1", "container": "_container_11okm_5", "containerFlex": "_containerFlex_11okm_10", "contentWrapper": "_contentWrapper_11okm_18", "pageWrapper": "_pageWrapper_11okm_24" };
|
|
16972
17016
|
|
|
16973
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
16974
|
-
var digest72 = "
|
|
17017
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-308k14OHhMHu/sdk/react/views/api-keys/details/service-user.module.css.js
|
|
17018
|
+
var digest72 = "6af5239f28bed2b9b1558596d3b2819a719f8e56a7a15277bf8c964d8433fff5";
|
|
16975
17019
|
var css72 = `._flex1_3g15z_1 {
|
|
16976
17020
|
flex: 1;
|
|
16977
17021
|
}
|
|
@@ -17080,17 +17124,17 @@ var css72 = `._flex1_3g15z_1 {
|
|
|
17080
17124
|
var service_user_module_css_default4 = { "flex1": "_flex1_3g15z_1", "content": "_content_3g15z_5", "serviceKeyList": "_serviceKeyList_3g15z_10", "serviceKeyItem": "_serviceKeyItem_3g15z_15", "serviceKeyItemTitle": "_serviceKeyItemTitle_3g15z_34", "serviceKeyItemLoaderBtn": "_serviceKeyItemLoaderBtn_3g15z_39", "addKeyInputWrapper": "_addKeyInputWrapper_3g15z_46", "addKeyInputError": "_addKeyInputError_3g15z_52", "tokenBox": "_tokenBox_3g15z_57", "tokenText": "_tokenText_3g15z_64", "addDialogContent": "_addDialogContent_3g15z_69", "overlay": "_overlay_3g15z_75", "manageProjectDialogWrapper": "_manageProjectDialogWrapper_3g15z_79", "manageProjectDialogContent": "_manageProjectDialogContent_3g15z_84", "tableRoot": "_tableRoot_3g15z_90" };
|
|
17081
17125
|
|
|
17082
17126
|
// react/views/api-keys/details/service-user-detail-page.tsx
|
|
17083
|
-
var
|
|
17127
|
+
var import_jsx_runtime85 = require("react/jsx-runtime");
|
|
17084
17128
|
var Headings = ({
|
|
17085
17129
|
isLoading,
|
|
17086
17130
|
name,
|
|
17087
17131
|
onManageAccessClick
|
|
17088
17132
|
}) => {
|
|
17089
17133
|
const t = useTerminology();
|
|
17090
|
-
return /* @__PURE__ */ (0,
|
|
17091
|
-
isLoading ? /* @__PURE__ */ (0,
|
|
17092
|
-
/* @__PURE__ */ (0,
|
|
17093
|
-
/* @__PURE__ */ (0,
|
|
17134
|
+
return /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_apsara73.Flex, { direction: "column", gap: 3, style: { width: "100%" }, children: [
|
|
17135
|
+
isLoading ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_apsara73.Skeleton, { containerClassName: service_user_module_css_default4.flex1 }) : /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_apsara73.Flex, { justify: "between", children: [
|
|
17136
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_apsara73.Text, { size: "large", children: name }),
|
|
17137
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
17094
17138
|
import_apsara73.Button,
|
|
17095
17139
|
{
|
|
17096
17140
|
variant: "outline",
|
|
@@ -17101,7 +17145,7 @@ var Headings = ({
|
|
|
17101
17145
|
}
|
|
17102
17146
|
)
|
|
17103
17147
|
] }),
|
|
17104
|
-
isLoading ? /* @__PURE__ */ (0,
|
|
17148
|
+
isLoading ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_apsara73.Skeleton, { containerClassName: service_user_module_css_default4.flex1 }) : /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_apsara73.Text, { size: "regular", variant: "secondary", children: [
|
|
17105
17149
|
"Create API key for accessing ",
|
|
17106
17150
|
t.appName(),
|
|
17107
17151
|
" and its features"
|
|
@@ -17113,7 +17157,7 @@ var ServiceUserTokenItem = ({
|
|
|
17113
17157
|
isLoading,
|
|
17114
17158
|
onRevokeClick
|
|
17115
17159
|
}) => {
|
|
17116
|
-
const [isCopied, setIsCopied] = (0,
|
|
17160
|
+
const [isCopied, setIsCopied] = (0, import_react65.useState)(false);
|
|
17117
17161
|
const { copy } = useCopyToClipboard();
|
|
17118
17162
|
const encodedToken = "Basic " + btoa(`${token == null ? void 0 : token.id}:${token == null ? void 0 : token.token}`);
|
|
17119
17163
|
function onCopy() {
|
|
@@ -17127,13 +17171,13 @@ var ServiceUserTokenItem = ({
|
|
|
17127
17171
|
}
|
|
17128
17172
|
});
|
|
17129
17173
|
}
|
|
17130
|
-
return /* @__PURE__ */ (0,
|
|
17131
|
-
/* @__PURE__ */ (0,
|
|
17132
|
-
/* @__PURE__ */ (0,
|
|
17133
|
-
/* @__PURE__ */ (0,
|
|
17134
|
-
] }) : /* @__PURE__ */ (0,
|
|
17135
|
-
/* @__PURE__ */ (0,
|
|
17136
|
-
/* @__PURE__ */ (0,
|
|
17174
|
+
return /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_apsara73.Flex, { className: service_user_module_css_default4.serviceKeyItem, direction: "column", gap: 3, children: [
|
|
17175
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_apsara73.Flex, { justify: "between", style: { width: "100%" }, align: "center", children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_jsx_runtime85.Fragment, { children: [
|
|
17176
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_apsara73.Skeleton, { containerClassName: service_user_module_css_default4.flex1, width: "300px" }),
|
|
17177
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_apsara73.Skeleton, { containerClassName: service_user_module_css_default4.serviceKeyItemLoaderBtn })
|
|
17178
|
+
] }) : /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_jsx_runtime85.Fragment, { children: [
|
|
17179
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_apsara73.Text, { size: 3, weight: "medium", className: service_user_module_css_default4.serviceKeyItemTitle, children: token == null ? void 0 : token.title }),
|
|
17180
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
17137
17181
|
import_apsara73.Button,
|
|
17138
17182
|
{
|
|
17139
17183
|
variant: "outline",
|
|
@@ -17145,11 +17189,11 @@ var ServiceUserTokenItem = ({
|
|
|
17145
17189
|
}
|
|
17146
17190
|
)
|
|
17147
17191
|
] }) }),
|
|
17148
|
-
(token == null ? void 0 : token.token) ? /* @__PURE__ */ (0,
|
|
17149
|
-
/* @__PURE__ */ (0,
|
|
17150
|
-
/* @__PURE__ */ (0,
|
|
17151
|
-
/* @__PURE__ */ (0,
|
|
17152
|
-
isCopied ? /* @__PURE__ */ (0,
|
|
17192
|
+
(token == null ? void 0 : token.token) ? /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_apsara73.Flex, { gap: 3, direction: "column", children: [
|
|
17193
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_apsara73.Text, { size: "small", variant: "secondary", weight: "regular", children: "Note: Please save your key securely, it cannot be recovered after leaving this page" }),
|
|
17194
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_apsara73.Flex, { className: service_user_module_css_default4.tokenBox, justify: "between", gap: 5, children: [
|
|
17195
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_apsara73.Text, { size: "small", weight: "medium", className: service_user_module_css_default4.tokenText, children: encodedToken }),
|
|
17196
|
+
isCopied ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(CheckCircledIcon, { color: "var(--rs-color-foreground-success-primary)" }) : /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
17153
17197
|
CopyIcon,
|
|
17154
17198
|
{
|
|
17155
17199
|
onClick: onCopy,
|
|
@@ -17171,7 +17215,7 @@ var SerivceUserTokenList = ({
|
|
|
17171
17215
|
(_5, i) => ({ id: i.toString() })
|
|
17172
17216
|
)
|
|
17173
17217
|
] : tokens;
|
|
17174
|
-
return /* @__PURE__ */ (0,
|
|
17218
|
+
return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_apsara73.Flex, { direction: "column", className: service_user_module_css_default4.serviceKeyList, children: tokenList.map((token) => /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
17175
17219
|
ServiceUserTokenItem,
|
|
17176
17220
|
{
|
|
17177
17221
|
token,
|
|
@@ -17209,8 +17253,8 @@ function ServiceUserDetailPage({
|
|
|
17209
17253
|
enableFetch: enableTokensFetch
|
|
17210
17254
|
});
|
|
17211
17255
|
const isLoading = isServiceUserLoading || isServiceUserTokensLoading;
|
|
17212
|
-
const [showProjectsDialog, setShowProjectsDialog] = (0,
|
|
17213
|
-
const [deleteKeyState, setDeleteKeyState] = (0,
|
|
17256
|
+
const [showProjectsDialog, setShowProjectsDialog] = (0, import_react65.useState)(false);
|
|
17257
|
+
const [deleteKeyState, setDeleteKeyState] = (0, import_react65.useState)({
|
|
17214
17258
|
open: false,
|
|
17215
17259
|
tokenId: ""
|
|
17216
17260
|
});
|
|
@@ -17224,10 +17268,10 @@ function ServiceUserDetailPage({
|
|
|
17224
17268
|
const handleRevokeClick = (tokenId) => {
|
|
17225
17269
|
setDeleteKeyState({ open: true, tokenId });
|
|
17226
17270
|
};
|
|
17227
|
-
return /* @__PURE__ */ (0,
|
|
17228
|
-
/* @__PURE__ */ (0,
|
|
17229
|
-
/* @__PURE__ */ (0,
|
|
17230
|
-
/* @__PURE__ */ (0,
|
|
17271
|
+
return /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_apsara73.Flex, { direction: "column", style: { width: "100%" }, children: [
|
|
17272
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_apsara73.Flex, { direction: "column", className: styles_module_css_default16.container, children: [
|
|
17273
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_apsara73.Flex, { direction: "row", justify: "between", align: "center", className: styles_module_css_default16.header, children: /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_apsara73.Flex, { gap: 3, align: "center", children: [
|
|
17274
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
17231
17275
|
import_apsara73.Image,
|
|
17232
17276
|
{
|
|
17233
17277
|
alt: "back-icon",
|
|
@@ -17237,15 +17281,15 @@ function ServiceUserDetailPage({
|
|
|
17237
17281
|
"data-test-id": "frontier-sdk-api-keys-page-back-link"
|
|
17238
17282
|
}
|
|
17239
17283
|
),
|
|
17240
|
-
/* @__PURE__ */ (0,
|
|
17284
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
17241
17285
|
PageHeader,
|
|
17242
17286
|
{
|
|
17243
17287
|
title: "API"
|
|
17244
17288
|
}
|
|
17245
17289
|
)
|
|
17246
17290
|
] }) }),
|
|
17247
|
-
/* @__PURE__ */ (0,
|
|
17248
|
-
/* @__PURE__ */ (0,
|
|
17291
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_apsara73.Flex, { direction: "column", gap: 9, children: [
|
|
17292
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
17249
17293
|
Headings,
|
|
17250
17294
|
{
|
|
17251
17295
|
isLoading,
|
|
@@ -17253,8 +17297,8 @@ function ServiceUserDetailPage({
|
|
|
17253
17297
|
onManageAccessClick: () => setShowProjectsDialog(true)
|
|
17254
17298
|
}
|
|
17255
17299
|
),
|
|
17256
|
-
/* @__PURE__ */ (0,
|
|
17257
|
-
/* @__PURE__ */ (0,
|
|
17300
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(AddServiceUserToken, { serviceUserId, onAddToken }),
|
|
17301
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
17258
17302
|
SerivceUserTokenList,
|
|
17259
17303
|
{
|
|
17260
17304
|
isLoading,
|
|
@@ -17264,7 +17308,7 @@ function ServiceUserDetailPage({
|
|
|
17264
17308
|
)
|
|
17265
17309
|
] })
|
|
17266
17310
|
] }),
|
|
17267
|
-
/* @__PURE__ */ (0,
|
|
17311
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
17268
17312
|
ManageServiceUserProjectsDialog,
|
|
17269
17313
|
{
|
|
17270
17314
|
open: showProjectsDialog,
|
|
@@ -17272,7 +17316,7 @@ function ServiceUserDetailPage({
|
|
|
17272
17316
|
serviceUserId
|
|
17273
17317
|
}
|
|
17274
17318
|
),
|
|
17275
|
-
/* @__PURE__ */ (0,
|
|
17319
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
17276
17320
|
DeleteServiceUserKeyDialog,
|
|
17277
17321
|
{
|
|
17278
17322
|
open: deleteKeyState.open,
|
|
@@ -17285,10 +17329,10 @@ function ServiceUserDetailPage({
|
|
|
17285
17329
|
}
|
|
17286
17330
|
|
|
17287
17331
|
// react/components/organization/api-keys/index.tsx
|
|
17288
|
-
var
|
|
17332
|
+
var import_jsx_runtime86 = require("react/jsx-runtime");
|
|
17289
17333
|
function APIKeys() {
|
|
17290
17334
|
const navigate = (0, import_react_router12.useNavigate)({ from: "/api-keys" });
|
|
17291
|
-
return /* @__PURE__ */ (0,
|
|
17335
|
+
return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
|
|
17292
17336
|
ApiKeysListPage,
|
|
17293
17337
|
{
|
|
17294
17338
|
onServiceAccountClick: (id) => navigate({
|
|
@@ -17301,13 +17345,13 @@ function APIKeys() {
|
|
|
17301
17345
|
|
|
17302
17346
|
// react/components/organization/api-keys/service-user/index.tsx
|
|
17303
17347
|
var import_react_router13 = require("@tanstack/react-router");
|
|
17304
|
-
var
|
|
17348
|
+
var import_jsx_runtime87 = require("react/jsx-runtime");
|
|
17305
17349
|
function ServiceUserPage() {
|
|
17306
17350
|
var _a;
|
|
17307
17351
|
const { id } = (0, import_react_router13.useParams)({ from: "/api-keys/$id" });
|
|
17308
17352
|
const navigate = (0, import_react_router13.useNavigate)({ from: "/api-keys/$id" });
|
|
17309
17353
|
const location = (0, import_react_router13.useLocation)();
|
|
17310
|
-
return /* @__PURE__ */ (0,
|
|
17354
|
+
return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
17311
17355
|
ServiceUserDetailPage,
|
|
17312
17356
|
{
|
|
17313
17357
|
serviceUserId: id,
|
|
@@ -17321,11 +17365,11 @@ function ServiceUserPage() {
|
|
|
17321
17365
|
var import_react_router14 = require("@tanstack/react-router");
|
|
17322
17366
|
|
|
17323
17367
|
// react/views/sessions/sessions-page.tsx
|
|
17324
|
-
var
|
|
17368
|
+
var import_react68 = require("react");
|
|
17325
17369
|
var import_apsara78 = require("@raystack/apsara");
|
|
17326
17370
|
|
|
17327
17371
|
// react/hooks/useSessions.ts
|
|
17328
|
-
var
|
|
17372
|
+
var import_react66 = require("react");
|
|
17329
17373
|
var import_connect_query51 = require("@connectrpc/connect-query");
|
|
17330
17374
|
var import_react_query14 = require("@tanstack/react-query");
|
|
17331
17375
|
var import_frontier52 = require("@raystack/proton/frontier");
|
|
@@ -17357,7 +17401,7 @@ var useSessions = () => {
|
|
|
17357
17401
|
const d = timestampToDayjs(updatedAt);
|
|
17358
17402
|
return d ? d.fromNow() : "Unknown";
|
|
17359
17403
|
};
|
|
17360
|
-
const sessions = (0,
|
|
17404
|
+
const sessions = (0, import_react66.useMemo)(
|
|
17361
17405
|
() => ((sessionsData == null ? void 0 : sessionsData.sessions) || []).map((session) => {
|
|
17362
17406
|
var _a, _b, _c, _d;
|
|
17363
17407
|
return {
|
|
@@ -17413,8 +17457,8 @@ var useSessions = () => {
|
|
|
17413
17457
|
};
|
|
17414
17458
|
};
|
|
17415
17459
|
|
|
17416
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
17417
|
-
var digest73 = "
|
|
17460
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-pvI51f2CA2z0/sdk/react/components/organization/styles.module.css.js
|
|
17461
|
+
var digest73 = "492663b5612123c090f3f92a093e0df75efb2863f4b35c788ef248417fd74368";
|
|
17418
17462
|
var css73 = `._header_11okm_1 {
|
|
17419
17463
|
margin-bottom: var(--rs-space-9);
|
|
17420
17464
|
}
|
|
@@ -17460,8 +17504,8 @@ var styles_module_css_default17 = { "header": "_header_11okm_1", "container": "_
|
|
|
17460
17504
|
// react/views/sessions/session-skeleton.tsx
|
|
17461
17505
|
var import_apsara75 = require("@raystack/apsara");
|
|
17462
17506
|
|
|
17463
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
17464
|
-
var digest74 = "
|
|
17507
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-XbU2UqNffGMA/sdk/react/views/sessions/sessions.module.css.js
|
|
17508
|
+
var digest74 = "2b7c9af428dabef098df13eff6e11af529d213ba7031cc8a898ce39d372c727a";
|
|
17465
17509
|
var css74 = `._container_1rauv_1 {
|
|
17466
17510
|
padding: var(--rs-space-9) var(--rs-space-11);
|
|
17467
17511
|
max-height: 80vh;
|
|
@@ -17522,19 +17566,19 @@ var css74 = `._container_1rauv_1 {
|
|
|
17522
17566
|
var sessions_module_css_default = { "container": "_container_1rauv_1", "sessionsList": "_sessionsList_1rauv_7", "sessionItem": "_sessionItem_1rauv_12", "revokeSessionConfirmHeader": "_revokeSessionConfirmHeader_1rauv_18", "revokeSessionConfirmBody": "_revokeSessionConfirmBody_1rauv_22", "revokeSessionFinalConfirmBody": "_revokeSessionFinalConfirmBody_1rauv_27", "listItem": "_listItem_1rauv_32", "listRoot": "_listRoot_1rauv_42" };
|
|
17523
17567
|
|
|
17524
17568
|
// react/views/sessions/session-skeleton.tsx
|
|
17525
|
-
var
|
|
17569
|
+
var import_jsx_runtime88 = require("react/jsx-runtime");
|
|
17526
17570
|
var SessionSkeleton = ({ count = 3 }) => {
|
|
17527
|
-
return /* @__PURE__ */ (0,
|
|
17528
|
-
/* @__PURE__ */ (0,
|
|
17529
|
-
/* @__PURE__ */ (0,
|
|
17530
|
-
/* @__PURE__ */ (0,
|
|
17571
|
+
return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_jsx_runtime88.Fragment, { children: Array.from({ length: count }).map((_5, index) => /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(import_apsara75.Flex, { justify: "between", align: "center", className: sessions_module_css_default.sessionItem, children: [
|
|
17572
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(import_apsara75.Flex, { direction: "column", gap: 3, children: [
|
|
17573
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_apsara75.Skeleton, { height: "18px", width: "200px" }),
|
|
17574
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_apsara75.Flex, { gap: 2, align: "center", children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_apsara75.Skeleton, { height: "16px", width: "120px" }) })
|
|
17531
17575
|
] }),
|
|
17532
|
-
/* @__PURE__ */ (0,
|
|
17576
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_apsara75.Skeleton, { height: "32px", width: "64px", borderRadius: "var(--rs-radius-2)" })
|
|
17533
17577
|
] }, index)) });
|
|
17534
17578
|
};
|
|
17535
17579
|
|
|
17536
17580
|
// react/views/sessions/revoke-session-dialog.tsx
|
|
17537
|
-
var
|
|
17581
|
+
var import_react67 = require("react");
|
|
17538
17582
|
var import_apsara77 = require("@raystack/apsara");
|
|
17539
17583
|
var import_connect_query52 = require("@connectrpc/connect-query");
|
|
17540
17584
|
var import_frontier53 = require("@raystack/proton/frontier");
|
|
@@ -17542,8 +17586,8 @@ var import_frontier53 = require("@raystack/proton/frontier");
|
|
|
17542
17586
|
// react/views/sessions/revoke-session-final-confirm.tsx
|
|
17543
17587
|
var import_apsara76 = require("@raystack/apsara");
|
|
17544
17588
|
|
|
17545
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
17546
|
-
var digest75 = "
|
|
17589
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-ODWbv0TsWPoK/sdk/react/views/sessions/sessions.module.css.js
|
|
17590
|
+
var digest75 = "d3aa6b4b731d06ff973bc8652e67587029d2bdeae2b61a7a909aa56658c8f3a9";
|
|
17547
17591
|
var css75 = `._container_1rauv_1 {
|
|
17548
17592
|
padding: var(--rs-space-9) var(--rs-space-11);
|
|
17549
17593
|
max-height: 80vh;
|
|
@@ -17604,7 +17648,7 @@ var css75 = `._container_1rauv_1 {
|
|
|
17604
17648
|
var sessions_module_css_default2 = { "container": "_container_1rauv_1", "sessionsList": "_sessionsList_1rauv_7", "sessionItem": "_sessionItem_1rauv_12", "revokeSessionConfirmHeader": "_revokeSessionConfirmHeader_1rauv_18", "revokeSessionConfirmBody": "_revokeSessionConfirmBody_1rauv_22", "revokeSessionFinalConfirmBody": "_revokeSessionFinalConfirmBody_1rauv_27", "listItem": "_listItem_1rauv_32", "listRoot": "_listRoot_1rauv_42" };
|
|
17605
17649
|
|
|
17606
17650
|
// react/views/sessions/revoke-session-final-confirm.tsx
|
|
17607
|
-
var
|
|
17651
|
+
var import_jsx_runtime89 = require("react/jsx-runtime");
|
|
17608
17652
|
var getErrorMessage2 = (error) => {
|
|
17609
17653
|
if (error && typeof error === "object" && "status" in error && error.status === 500) {
|
|
17610
17654
|
return "Something went wrong";
|
|
@@ -17628,18 +17672,18 @@ var RevokeSessionFinalConfirm = ({
|
|
|
17628
17672
|
});
|
|
17629
17673
|
}
|
|
17630
17674
|
});
|
|
17631
|
-
return /* @__PURE__ */ (0,
|
|
17675
|
+
return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_apsara76.Dialog, { open: isOpen, onOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(
|
|
17632
17676
|
import_apsara76.Dialog.Content,
|
|
17633
17677
|
{
|
|
17634
17678
|
style: { padding: 0, maxWidth: "400px", width: "100%" },
|
|
17635
17679
|
children: [
|
|
17636
|
-
/* @__PURE__ */ (0,
|
|
17637
|
-
/* @__PURE__ */ (0,
|
|
17638
|
-
/* @__PURE__ */ (0,
|
|
17680
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(import_apsara76.Dialog.Header, { className: sessions_module_css_default2.revokeSessionConfirmHeader, children: [
|
|
17681
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_apsara76.Dialog.Title, { children: "Revoke" }),
|
|
17682
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_apsara76.Dialog.CloseButton, { "data-test-id": "frontier-sdk-close-final-revoke-dialog" })
|
|
17639
17683
|
] }),
|
|
17640
|
-
/* @__PURE__ */ (0,
|
|
17641
|
-
/* @__PURE__ */ (0,
|
|
17642
|
-
/* @__PURE__ */ (0,
|
|
17684
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_apsara76.Dialog.Body, { className: sessions_module_css_default2.revokeSessionFinalConfirmBody, children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_apsara76.Flex, { direction: "column", gap: 4, children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_apsara76.Text, { size: "small", variant: "secondary", children: "Are you sure you want to revoke this session? This action cannot be undone." }) }) }),
|
|
17685
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_apsara76.Dialog.Footer, { children: /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(import_apsara76.Flex, { justify: "end", gap: 5, children: [
|
|
17686
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
|
|
17643
17687
|
import_apsara76.Button,
|
|
17644
17688
|
{
|
|
17645
17689
|
variant: "outline",
|
|
@@ -17650,7 +17694,7 @@ var RevokeSessionFinalConfirm = ({
|
|
|
17650
17694
|
children: "Cancel"
|
|
17651
17695
|
}
|
|
17652
17696
|
),
|
|
17653
|
-
/* @__PURE__ */ (0,
|
|
17697
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
|
|
17654
17698
|
import_apsara76.Button,
|
|
17655
17699
|
{
|
|
17656
17700
|
variant: "solid",
|
|
@@ -17669,8 +17713,8 @@ var RevokeSessionFinalConfirm = ({
|
|
|
17669
17713
|
) });
|
|
17670
17714
|
};
|
|
17671
17715
|
|
|
17672
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
17673
|
-
var digest76 = "
|
|
17716
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-QvU4jKQtJktX/sdk/react/views/sessions/sessions.module.css.js
|
|
17717
|
+
var digest76 = "d188721e520169dbde7f4fe88341d0ad263316c7888a311e1fc667af2ba92b0d";
|
|
17674
17718
|
var css76 = `._container_1rauv_1 {
|
|
17675
17719
|
padding: var(--rs-space-9) var(--rs-space-11);
|
|
17676
17720
|
max-height: 80vh;
|
|
@@ -17731,7 +17775,7 @@ var css76 = `._container_1rauv_1 {
|
|
|
17731
17775
|
var sessions_module_css_default3 = { "container": "_container_1rauv_1", "sessionsList": "_sessionsList_1rauv_7", "sessionItem": "_sessionItem_1rauv_12", "revokeSessionConfirmHeader": "_revokeSessionConfirmHeader_1rauv_18", "revokeSessionConfirmBody": "_revokeSessionConfirmBody_1rauv_22", "revokeSessionFinalConfirmBody": "_revokeSessionFinalConfirmBody_1rauv_27", "listItem": "_listItem_1rauv_32", "listRoot": "_listRoot_1rauv_42" };
|
|
17732
17776
|
|
|
17733
17777
|
// react/views/sessions/revoke-session-dialog.tsx
|
|
17734
|
-
var
|
|
17778
|
+
var import_jsx_runtime90 = require("react/jsx-runtime");
|
|
17735
17779
|
var RevokeSessionDialog = ({
|
|
17736
17780
|
open,
|
|
17737
17781
|
onOpenChange,
|
|
@@ -17739,7 +17783,7 @@ var RevokeSessionDialog = ({
|
|
|
17739
17783
|
onLogout
|
|
17740
17784
|
}) => {
|
|
17741
17785
|
const { sessions, revokeSession, isRevokingSession } = useSessions();
|
|
17742
|
-
const [isFinalConfirmOpen, setIsFinalConfirmOpen] = (0,
|
|
17786
|
+
const [isFinalConfirmOpen, setIsFinalConfirmOpen] = (0, import_react67.useState)(false);
|
|
17743
17787
|
const handleClose = () => onOpenChange == null ? void 0 : onOpenChange(false);
|
|
17744
17788
|
const { mutate: logout } = (0, import_connect_query52.useMutation)(import_frontier53.FrontierServiceQueries.authLogout, {
|
|
17745
17789
|
onSuccess: () => {
|
|
@@ -17755,7 +17799,7 @@ var RevokeSessionDialog = ({
|
|
|
17755
17799
|
}
|
|
17756
17800
|
}
|
|
17757
17801
|
});
|
|
17758
|
-
const sessionData = (0,
|
|
17802
|
+
const sessionData = (0, import_react67.useMemo)(() => {
|
|
17759
17803
|
if (!sessionId || sessions.length === 0) {
|
|
17760
17804
|
return null;
|
|
17761
17805
|
}
|
|
@@ -17779,44 +17823,44 @@ var RevokeSessionDialog = ({
|
|
|
17779
17823
|
revokeSession(sessionId);
|
|
17780
17824
|
handleClose();
|
|
17781
17825
|
};
|
|
17782
|
-
return /* @__PURE__ */ (0,
|
|
17783
|
-
sessionData ? /* @__PURE__ */ (0,
|
|
17826
|
+
return /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(import_jsx_runtime90.Fragment, { children: [
|
|
17827
|
+
sessionData ? /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_apsara77.Dialog, { open, onOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(
|
|
17784
17828
|
import_apsara77.Dialog.Content,
|
|
17785
17829
|
{
|
|
17786
17830
|
style: { padding: 0, maxWidth: "400px", width: "100%" },
|
|
17787
17831
|
children: [
|
|
17788
|
-
/* @__PURE__ */ (0,
|
|
17789
|
-
/* @__PURE__ */ (0,
|
|
17832
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_apsara77.Dialog.Header, { className: sessions_module_css_default3.revokeSessionConfirmHeader, children: /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(import_apsara77.Flex, { justify: "between", align: "center", width: "full", children: [
|
|
17833
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(import_apsara77.Text, { size: "regular", children: [
|
|
17790
17834
|
sessionData.browser,
|
|
17791
17835
|
" on ",
|
|
17792
17836
|
sessionData.operatingSystem
|
|
17793
17837
|
] }),
|
|
17794
|
-
/* @__PURE__ */ (0,
|
|
17838
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_apsara77.Dialog.CloseButton, { "data-test-id": "frontier-sdk-close-revoke-session-dialog" })
|
|
17795
17839
|
] }) }),
|
|
17796
|
-
/* @__PURE__ */ (0,
|
|
17797
|
-
/* @__PURE__ */ (0,
|
|
17798
|
-
/* @__PURE__ */ (0,
|
|
17799
|
-
/* @__PURE__ */ (0,
|
|
17840
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_apsara77.Dialog.Body, { className: sessions_module_css_default3.revokeSessionConfirmBody, children: /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(import_apsara77.List, { className: sessions_module_css_default3.listRoot, children: [
|
|
17841
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(import_apsara77.List.Item, { className: sessions_module_css_default3.listItem, children: [
|
|
17842
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_apsara77.List.Label, { minWidth: "120px", children: "Device" }),
|
|
17843
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(import_apsara77.List.Value, { children: [
|
|
17800
17844
|
sessionData.browser,
|
|
17801
17845
|
" on ",
|
|
17802
17846
|
sessionData.operatingSystem
|
|
17803
17847
|
] })
|
|
17804
17848
|
] }),
|
|
17805
|
-
/* @__PURE__ */ (0,
|
|
17806
|
-
/* @__PURE__ */ (0,
|
|
17807
|
-
/* @__PURE__ */ (0,
|
|
17849
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(import_apsara77.List.Item, { className: sessions_module_css_default3.listItem, children: [
|
|
17850
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_apsara77.List.Label, { minWidth: "120px", children: "IP Address" }),
|
|
17851
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_apsara77.List.Value, { children: sessionData.ipAddress })
|
|
17808
17852
|
] }),
|
|
17809
|
-
/* @__PURE__ */ (0,
|
|
17810
|
-
/* @__PURE__ */ (0,
|
|
17811
|
-
/* @__PURE__ */ (0,
|
|
17853
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(import_apsara77.List.Item, { className: sessions_module_css_default3.listItem, children: [
|
|
17854
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_apsara77.List.Label, { minWidth: "120px", children: "Last Location" }),
|
|
17855
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_apsara77.List.Value, { children: sessionData.location })
|
|
17812
17856
|
] }),
|
|
17813
|
-
/* @__PURE__ */ (0,
|
|
17814
|
-
/* @__PURE__ */ (0,
|
|
17815
|
-
/* @__PURE__ */ (0,
|
|
17857
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(import_apsara77.List.Item, { className: sessions_module_css_default3.listItem, children: [
|
|
17858
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_apsara77.List.Label, { minWidth: "120px", children: "Last Active" }),
|
|
17859
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_apsara77.List.Value, { children: sessionData.lastActive })
|
|
17816
17860
|
] })
|
|
17817
17861
|
] }) }),
|
|
17818
|
-
/* @__PURE__ */ (0,
|
|
17819
|
-
/* @__PURE__ */ (0,
|
|
17862
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_apsara77.Dialog.Footer, { children: /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(import_apsara77.Flex, { justify: "end", gap: 5, children: [
|
|
17863
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
|
|
17820
17864
|
import_apsara77.Button,
|
|
17821
17865
|
{
|
|
17822
17866
|
variant: "outline",
|
|
@@ -17826,7 +17870,7 @@ var RevokeSessionDialog = ({
|
|
|
17826
17870
|
children: "Cancel"
|
|
17827
17871
|
}
|
|
17828
17872
|
),
|
|
17829
|
-
/* @__PURE__ */ (0,
|
|
17873
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
|
|
17830
17874
|
import_apsara77.Button,
|
|
17831
17875
|
{
|
|
17832
17876
|
variant: "solid",
|
|
@@ -17839,7 +17883,7 @@ var RevokeSessionDialog = ({
|
|
|
17839
17883
|
] }) })
|
|
17840
17884
|
]
|
|
17841
17885
|
}
|
|
17842
|
-
) }) : open ? /* @__PURE__ */ (0,
|
|
17886
|
+
) }) : open ? /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_apsara77.Dialog, { open: true, onOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_apsara77.Dialog.Content, { style: { padding: 0, maxWidth: "400px", width: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
|
|
17843
17887
|
import_apsara77.Skeleton,
|
|
17844
17888
|
{
|
|
17845
17889
|
height: "20px",
|
|
@@ -17847,7 +17891,7 @@ var RevokeSessionDialog = ({
|
|
|
17847
17891
|
count: 4
|
|
17848
17892
|
}
|
|
17849
17893
|
) }) }) : null,
|
|
17850
|
-
/* @__PURE__ */ (0,
|
|
17894
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
|
|
17851
17895
|
RevokeSessionFinalConfirm,
|
|
17852
17896
|
{
|
|
17853
17897
|
isOpen: isFinalConfirmOpen,
|
|
@@ -17860,8 +17904,8 @@ var RevokeSessionDialog = ({
|
|
|
17860
17904
|
] });
|
|
17861
17905
|
};
|
|
17862
17906
|
|
|
17863
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
17864
|
-
var digest77 = "
|
|
17907
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-Wn6sSdaCjpjI/sdk/react/views/sessions/sessions.module.css.js
|
|
17908
|
+
var digest77 = "4ecc26450925c8c25bfe5ce4fc5920da2e84b931a0ff85ea54f2f53aa65258fc";
|
|
17865
17909
|
var css77 = `._container_1rauv_1 {
|
|
17866
17910
|
padding: var(--rs-space-9) var(--rs-space-11);
|
|
17867
17911
|
max-height: 80vh;
|
|
@@ -17922,10 +17966,10 @@ var css77 = `._container_1rauv_1 {
|
|
|
17922
17966
|
var sessions_module_css_default4 = { "container": "_container_1rauv_1", "sessionsList": "_sessionsList_1rauv_7", "sessionItem": "_sessionItem_1rauv_12", "revokeSessionConfirmHeader": "_revokeSessionConfirmHeader_1rauv_18", "revokeSessionConfirmBody": "_revokeSessionConfirmBody_1rauv_22", "revokeSessionFinalConfirmBody": "_revokeSessionFinalConfirmBody_1rauv_27", "listItem": "_listItem_1rauv_32", "listRoot": "_listRoot_1rauv_42" };
|
|
17923
17967
|
|
|
17924
17968
|
// react/views/sessions/sessions-page.tsx
|
|
17925
|
-
var
|
|
17969
|
+
var import_jsx_runtime91 = require("react/jsx-runtime");
|
|
17926
17970
|
function SessionsPage({ onLogout }) {
|
|
17927
17971
|
const { sessions, isLoading, error } = useSessions();
|
|
17928
|
-
const [revokeState, setRevokeState] = (0,
|
|
17972
|
+
const [revokeState, setRevokeState] = (0, import_react68.useState)({
|
|
17929
17973
|
open: false,
|
|
17930
17974
|
sessionId: ""
|
|
17931
17975
|
});
|
|
@@ -17940,55 +17984,55 @@ function SessionsPage({ onLogout }) {
|
|
|
17940
17984
|
setRevokeState({ open: true, sessionId });
|
|
17941
17985
|
};
|
|
17942
17986
|
if (isLoading) {
|
|
17943
|
-
return /* @__PURE__ */ (0,
|
|
17944
|
-
/* @__PURE__ */ (0,
|
|
17987
|
+
return /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_apsara78.Flex, { direction: "column", width: "full", children: /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(import_apsara78.Flex, { direction: "column", className: sessions_module_css_default4.container, children: [
|
|
17988
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_apsara78.Flex, { direction: "row", justify: "between", align: "center", className: styles_module_css_default17.header, children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
|
|
17945
17989
|
PageHeader,
|
|
17946
17990
|
{
|
|
17947
17991
|
title: "Sessions",
|
|
17948
17992
|
description: "Devices logged into this account."
|
|
17949
17993
|
}
|
|
17950
17994
|
) }),
|
|
17951
|
-
/* @__PURE__ */ (0,
|
|
17995
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_apsara78.Flex, { direction: "column", className: sessions_module_css_default4.sessionsList, children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(SessionSkeleton, { count: 3 }) })
|
|
17952
17996
|
] }) });
|
|
17953
17997
|
}
|
|
17954
17998
|
if (error) {
|
|
17955
|
-
return /* @__PURE__ */ (0,
|
|
17956
|
-
/* @__PURE__ */ (0,
|
|
17999
|
+
return /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_apsara78.Flex, { direction: "column", width: "full", children: /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(import_apsara78.Flex, { direction: "column", className: sessions_module_css_default4.container, children: [
|
|
18000
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_apsara78.Flex, { direction: "row", justify: "between", align: "center", className: styles_module_css_default17.header, children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
|
|
17957
18001
|
PageHeader,
|
|
17958
18002
|
{
|
|
17959
18003
|
title: "Sessions",
|
|
17960
18004
|
description: "Devices logged into this account."
|
|
17961
18005
|
}
|
|
17962
18006
|
) }),
|
|
17963
|
-
/* @__PURE__ */ (0,
|
|
18007
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_apsara78.Flex, { justify: "center", align: "center", style: { padding: "2rem" }, children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_apsara78.Text, { variant: "danger", size: "regular", children: error }) })
|
|
17964
18008
|
] }) });
|
|
17965
18009
|
}
|
|
17966
|
-
return /* @__PURE__ */ (0,
|
|
17967
|
-
/* @__PURE__ */ (0,
|
|
17968
|
-
/* @__PURE__ */ (0,
|
|
18010
|
+
return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(import_apsara78.Flex, { direction: "column", width: "full", children: [
|
|
18011
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(import_apsara78.Flex, { direction: "column", className: sessions_module_css_default4.container, children: [
|
|
18012
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_apsara78.Flex, { direction: "row", justify: "between", align: "center", className: styles_module_css_default17.header, children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
|
|
17969
18013
|
PageHeader,
|
|
17970
18014
|
{
|
|
17971
18015
|
title: "Sessions",
|
|
17972
18016
|
description: "Devices logged into this account."
|
|
17973
18017
|
}
|
|
17974
18018
|
) }),
|
|
17975
|
-
/* @__PURE__ */ (0,
|
|
17976
|
-
/* @__PURE__ */ (0,
|
|
17977
|
-
/* @__PURE__ */ (0,
|
|
18019
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_apsara78.Flex, { direction: "column", className: sessions_module_css_default4.sessionsList, children: sessions.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_apsara78.Flex, { justify: "center", align: "center", style: { padding: "2rem" }, children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_apsara78.Text, { variant: "tertiary", size: "regular", children: "No active sessions found." }) }) : sessions.map((session) => /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(import_apsara78.Flex, { justify: "between", align: "center", className: sessions_module_css_default4.sessionItem, children: [
|
|
18020
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(import_apsara78.Flex, { direction: "column", gap: 3, children: [
|
|
18021
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(import_apsara78.Text, { weight: "medium", size: "regular", children: [
|
|
17978
18022
|
session.browser,
|
|
17979
18023
|
" on ",
|
|
17980
18024
|
session.operatingSystem
|
|
17981
18025
|
] }),
|
|
17982
|
-
/* @__PURE__ */ (0,
|
|
17983
|
-
/* @__PURE__ */ (0,
|
|
17984
|
-
/* @__PURE__ */ (0,
|
|
17985
|
-
session.isCurrent ? /* @__PURE__ */ (0,
|
|
18026
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(import_apsara78.Flex, { gap: 2, align: "center", children: [
|
|
18027
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_apsara78.Text, { variant: "tertiary", size: "small", children: session.location }),
|
|
18028
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_apsara78.Text, { variant: "tertiary", size: "small", children: "\u2022" }),
|
|
18029
|
+
session.isCurrent ? /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_apsara78.Text, { variant: "success", size: "small", children: "Current session" }) : /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(import_apsara78.Text, { variant: "tertiary", size: "small", children: [
|
|
17986
18030
|
"Last active ",
|
|
17987
18031
|
session.lastActive
|
|
17988
18032
|
] })
|
|
17989
18033
|
] })
|
|
17990
18034
|
] }),
|
|
17991
|
-
/* @__PURE__ */ (0,
|
|
18035
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
|
|
17992
18036
|
import_apsara78.Button,
|
|
17993
18037
|
{
|
|
17994
18038
|
variant: "text",
|
|
@@ -18000,7 +18044,7 @@ function SessionsPage({ onLogout }) {
|
|
|
18000
18044
|
)
|
|
18001
18045
|
] }, session.id)) })
|
|
18002
18046
|
] }),
|
|
18003
|
-
/* @__PURE__ */ (0,
|
|
18047
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
|
|
18004
18048
|
RevokeSessionDialog,
|
|
18005
18049
|
{
|
|
18006
18050
|
open: revokeState.open,
|
|
@@ -18013,14 +18057,14 @@ function SessionsPage({ onLogout }) {
|
|
|
18013
18057
|
}
|
|
18014
18058
|
|
|
18015
18059
|
// react/components/organization/sessions/index.tsx
|
|
18016
|
-
var
|
|
18060
|
+
var import_jsx_runtime92 = require("react/jsx-runtime");
|
|
18017
18061
|
var SessionsPage2 = () => {
|
|
18018
18062
|
const { onLogout } = (0, import_react_router14.useRouteContext)({ from: "__root__" });
|
|
18019
|
-
return /* @__PURE__ */ (0,
|
|
18063
|
+
return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(SessionsPage, { onLogout });
|
|
18020
18064
|
};
|
|
18021
18065
|
|
|
18022
18066
|
// react/components/organization/routes.tsx
|
|
18023
|
-
var
|
|
18067
|
+
var import_jsx_runtime93 = require("react/jsx-runtime");
|
|
18024
18068
|
function getCustomRoutes2(customScreens = []) {
|
|
18025
18069
|
return (customScreens == null ? void 0 : customScreens.reduce(
|
|
18026
18070
|
(acc, { name, category, path }) => {
|
|
@@ -18042,27 +18086,27 @@ var RootRouter = () => {
|
|
|
18042
18086
|
{ id: organizationId },
|
|
18043
18087
|
{ enabled: !!organizationId }
|
|
18044
18088
|
);
|
|
18045
|
-
(0,
|
|
18089
|
+
(0, import_react69.useEffect)(() => {
|
|
18046
18090
|
setIsActiveOrganizationLoading(isLoading);
|
|
18047
18091
|
}, [isLoading, setIsActiveOrganizationLoading]);
|
|
18048
|
-
(0,
|
|
18092
|
+
(0, import_react69.useEffect)(() => {
|
|
18049
18093
|
if (organizationId) {
|
|
18050
18094
|
setActiveOrganization(organizationData == null ? void 0 : organizationData.organization);
|
|
18051
18095
|
} else {
|
|
18052
18096
|
setActiveOrganization(void 0);
|
|
18053
18097
|
}
|
|
18054
18098
|
}, [organizationId, organizationData == null ? void 0 : organizationData.organization, setActiveOrganization]);
|
|
18055
|
-
(0,
|
|
18099
|
+
(0, import_react69.useEffect)(() => {
|
|
18056
18100
|
if (error) {
|
|
18057
18101
|
console.error("Failed to fetch organization:", error);
|
|
18058
18102
|
}
|
|
18059
18103
|
}, [error]);
|
|
18060
18104
|
const visibleToasts = hideToast ? 0 : 1;
|
|
18061
|
-
return /* @__PURE__ */ (0,
|
|
18062
|
-
/* @__PURE__ */ (0,
|
|
18063
|
-
/* @__PURE__ */ (0,
|
|
18064
|
-
/* @__PURE__ */ (0,
|
|
18065
|
-
/* @__PURE__ */ (0,
|
|
18105
|
+
return /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(import_jsx_runtime93.Fragment, { children: [
|
|
18106
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_apsara79.ToastContainer, { richColors: true, visibleToasts }),
|
|
18107
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(import_apsara79.Flex, { style: { width: "100%", height: "100%" }, children: [
|
|
18108
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Sidebar, {}),
|
|
18109
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_react_router15.Outlet, {})
|
|
18066
18110
|
] })
|
|
18067
18111
|
] });
|
|
18068
18112
|
};
|
|
@@ -18197,7 +18241,7 @@ function getRootTree({ customScreens = [] }) {
|
|
|
18197
18241
|
}
|
|
18198
18242
|
|
|
18199
18243
|
// react/components/organization/profile.tsx
|
|
18200
|
-
var
|
|
18244
|
+
var import_jsx_runtime94 = require("react/jsx-runtime");
|
|
18201
18245
|
var router = (0, import_react_router16.createRouter)({
|
|
18202
18246
|
routeTree: getRootTree({}),
|
|
18203
18247
|
context: {
|
|
@@ -18240,12 +18284,12 @@ var OrganizationProfile = ({
|
|
|
18240
18284
|
onLogout
|
|
18241
18285
|
}
|
|
18242
18286
|
});
|
|
18243
|
-
return /* @__PURE__ */ (0,
|
|
18287
|
+
return /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_react_router16.RouterProvider, { router: memoryRouter });
|
|
18244
18288
|
};
|
|
18245
18289
|
|
|
18246
18290
|
// react/components/window/index.tsx
|
|
18247
18291
|
var import_apsara80 = require("@raystack/apsara");
|
|
18248
|
-
var
|
|
18292
|
+
var import_react70 = require("react");
|
|
18249
18293
|
|
|
18250
18294
|
// react/assets/close-close.svg
|
|
18251
18295
|
var close_close_default = 'data:image/svg+xml,<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<path d="M6 11.75C2.82436 11.75 0.25 9.17564 0.25 6C0.25 2.82436 2.82436 0.25 6 0.25C9.17564 0.25 11.75 2.82436 11.75 6C11.75 9.17564 9.17564 11.75 6 11.75Z" fill="%23E5484D"/>%0A<path fill-rule="evenodd" clip-rule="evenodd" d="M8.47325 4.33992C8.6978 4.11537 8.6978 3.7513 8.47325 3.52675C8.2487 3.3022 7.88463 3.3022 7.66008 3.52675L6 5.18683L4.33992 3.52675C4.11536 3.3022 3.75129 3.3022 3.52674 3.52675C3.30219 3.7513 3.30219 4.11537 3.52674 4.33992L5.18682 6L3.52674 7.66008C3.30219 7.88463 3.30219 8.2487 3.52674 8.47325C3.75129 8.6978 4.11536 8.6978 4.33992 8.47325L6 6.81317L7.66008 8.47325C7.88463 8.6978 8.2487 8.6978 8.47325 8.47325C8.6978 8.2487 8.6978 7.88463 8.47325 7.66008L6.81317 6L8.47325 4.33992Z" fill="%233C4347"/>%0A<path d="M6 11.75C2.82436 11.75 0.25 9.17564 0.25 6C0.25 2.82436 2.82436 0.25 6 0.25C9.17564 0.25 11.75 2.82436 11.75 6C11.75 9.17564 9.17564 11.75 6 11.75Z" stroke="%237E868C" stroke-width="0.5"/>%0A</svg>%0A';
|
|
@@ -18262,8 +18306,8 @@ var resize_default_default = 'data:image/svg+xml,<svg width="12" height="12" vie
|
|
|
18262
18306
|
// react/assets/resize-expand.svg
|
|
18263
18307
|
var resize_expand_default = 'data:image/svg+xml,<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<path d="M0.25 6.00001C0.25 2.82437 2.82436 0.25 6 0.25C9.17564 0.25 11.75 2.82437 11.75 6.00001C11.75 9.17564 9.17564 11.75 6 11.75C2.82436 11.75 0.25 9.17564 0.25 6.00001Z" fill="%2330A46C"/>%0A<path fill-rule="evenodd" clip-rule="evenodd" d="M9 4.96612C9.00007 4.52061 8.4614 4.29747 8.14641 4.61253L4.61366 8.14605C4.29876 8.46102 4.52179 8.9995 4.96718 8.99957L7.85678 9C8.48793 9 8.99957 8.48836 8.99957 7.85721L9 4.96612ZM4.14281 3.00043C3.51167 3.00043 3.00003 3.51207 3.00003 4.14322L3.00046 7.03301C3.00052 7.47837 3.53894 7.70142 3.85393 7.38656L7.38841 3.85363C7.70352 3.53865 7.4804 2.99993 7.03486 3L4.14281 3.00043Z" fill="%233C4347"/>%0A<path d="M0.25 6.00001C0.25 2.82437 2.82436 0.25 6 0.25C9.17564 0.25 11.75 2.82437 11.75 6.00001C11.75 9.17564 9.17564 11.75 6 11.75C2.82436 11.75 0.25 9.17564 0.25 6.00001Z" stroke="%237E868C" stroke-width="0.5"/>%0A</svg>%0A';
|
|
18264
18308
|
|
|
18265
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
18266
|
-
var digest78 = "
|
|
18309
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-R96BaGr2W5JB/sdk/react/components/window/window.module.css.js
|
|
18310
|
+
var digest78 = "f50175ca95c76908f183fa6f54022488386518ee376627ff53b4dca656ca8496";
|
|
18267
18311
|
var css78 = `._container_1sgpy_1 {
|
|
18268
18312
|
padding: 0;
|
|
18269
18313
|
}
|
|
@@ -18298,7 +18342,7 @@ var css78 = `._container_1sgpy_1 {
|
|
|
18298
18342
|
var window_module_css_default = { "container": "_container_1sgpy_1", "dialogContentZoomin": "_dialogContentZoomin_1sgpy_5", "dialogContentZoomout": "_dialogContentZoomout_1sgpy_13", "overlay": "_overlay_1sgpy_18" };
|
|
18299
18343
|
|
|
18300
18344
|
// react/components/window/index.tsx
|
|
18301
|
-
var
|
|
18345
|
+
var import_jsx_runtime95 = require("react/jsx-runtime");
|
|
18302
18346
|
var Window = (_a) => {
|
|
18303
18347
|
var _b = _a, {
|
|
18304
18348
|
open = false,
|
|
@@ -18309,17 +18353,17 @@ var Window = (_a) => {
|
|
|
18309
18353
|
"onOpenChange",
|
|
18310
18354
|
"children"
|
|
18311
18355
|
]);
|
|
18312
|
-
const [zoom, setZoom] = (0,
|
|
18313
|
-
const [isCloseActive, setCloseActive] = (0,
|
|
18314
|
-
const [isZoomActive, setZoomActive] = (0,
|
|
18315
|
-
return /* @__PURE__ */ (0,
|
|
18356
|
+
const [zoom, setZoom] = (0, import_react70.useState)(false);
|
|
18357
|
+
const [isCloseActive, setCloseActive] = (0, import_react70.useState)(false);
|
|
18358
|
+
const [isZoomActive, setZoomActive] = (0, import_react70.useState)(false);
|
|
18359
|
+
return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_apsara80.Dialog, __spreadProps(__spreadValues({ open, onOpenChange }, props), { children: /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(
|
|
18316
18360
|
import_apsara80.Dialog.Content,
|
|
18317
18361
|
{
|
|
18318
18362
|
className: `${window_module_css_default.container} ${zoom ? window_module_css_default.dialogContentZoomin : window_module_css_default.dialogContentZoomout}`,
|
|
18319
18363
|
overlayClassName: window_module_css_default.overlay,
|
|
18320
18364
|
children: [
|
|
18321
|
-
/* @__PURE__ */ (0,
|
|
18322
|
-
/* @__PURE__ */ (0,
|
|
18365
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { style: { position: "absolute", inset: 0 }, children }),
|
|
18366
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
|
|
18323
18367
|
"div",
|
|
18324
18368
|
{
|
|
18325
18369
|
style: {
|
|
@@ -18327,8 +18371,8 @@ var Window = (_a) => {
|
|
|
18327
18371
|
top: 0,
|
|
18328
18372
|
padding: "16px"
|
|
18329
18373
|
},
|
|
18330
|
-
children: /* @__PURE__ */ (0,
|
|
18331
|
-
/* @__PURE__ */ (0,
|
|
18374
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(import_apsara80.Flex, { gap: 3, children: [
|
|
18375
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
|
|
18332
18376
|
import_apsara80.Image,
|
|
18333
18377
|
{
|
|
18334
18378
|
onMouseOver: () => setCloseActive(true),
|
|
@@ -18340,7 +18384,7 @@ var Window = (_a) => {
|
|
|
18340
18384
|
"data-test-id": "frontier-sdk-window-close-button"
|
|
18341
18385
|
}
|
|
18342
18386
|
),
|
|
18343
|
-
/* @__PURE__ */ (0,
|
|
18387
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
|
|
18344
18388
|
import_apsara80.Image,
|
|
18345
18389
|
{
|
|
18346
18390
|
onMouseOver: () => setZoomActive(true),
|
|
@@ -18364,11 +18408,11 @@ var Window = (_a) => {
|
|
|
18364
18408
|
var import_apsara81 = require("@raystack/apsara");
|
|
18365
18409
|
|
|
18366
18410
|
// react/contexts/useMaxAllowedInstancesGuard.tsx
|
|
18367
|
-
var
|
|
18368
|
-
var
|
|
18411
|
+
var import_react71 = __toESM(require("react"));
|
|
18412
|
+
var import_jsx_runtime96 = require("react/jsx-runtime");
|
|
18369
18413
|
var counts = /* @__PURE__ */ new Map();
|
|
18370
18414
|
function useMaxAllowedInstancesGuard(name, error, maxCount = 1) {
|
|
18371
|
-
|
|
18415
|
+
import_react71.default.useEffect(() => {
|
|
18372
18416
|
const count = counts.get(name) || 0;
|
|
18373
18417
|
if (count == maxCount) {
|
|
18374
18418
|
throw new Error(error);
|
|
@@ -18383,7 +18427,7 @@ function withMaxAllowedInstancesGuard(WrappedComponent, name, error) {
|
|
|
18383
18427
|
const displayName = WrappedComponent.displayName || name || "Component";
|
|
18384
18428
|
const Hoc = (props) => {
|
|
18385
18429
|
useMaxAllowedInstancesGuard(name, error);
|
|
18386
|
-
return /* @__PURE__ */ (0,
|
|
18430
|
+
return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(WrappedComponent, __spreadValues({}, props));
|
|
18387
18431
|
};
|
|
18388
18432
|
Hoc.displayName = `withMaxAllowedInstancesGuard(${displayName})`;
|
|
18389
18433
|
return Hoc;
|
|
@@ -18393,7 +18437,7 @@ function withMaxAllowedInstancesGuard(WrappedComponent, name, error) {
|
|
|
18393
18437
|
var import_react_query15 = require("@tanstack/react-query");
|
|
18394
18438
|
var import_connect_query53 = require("@connectrpc/connect-query");
|
|
18395
18439
|
var import_connect_web = require("@connectrpc/connect-web");
|
|
18396
|
-
var
|
|
18440
|
+
var import_react72 = require("react");
|
|
18397
18441
|
|
|
18398
18442
|
// react/utils/fetch.ts
|
|
18399
18443
|
var createFetchWithCreds = (customHeaders) => {
|
|
@@ -18413,25 +18457,25 @@ var createFetchWithCreds = (customHeaders) => {
|
|
|
18413
18457
|
};
|
|
18414
18458
|
|
|
18415
18459
|
// react/contexts/FrontierProvider.tsx
|
|
18416
|
-
var
|
|
18460
|
+
var import_jsx_runtime97 = require("react/jsx-runtime");
|
|
18417
18461
|
var multipleFrontierProvidersError = "Frontier: You've added multiple <FrontierProvider> components in your React component tree. Wrap your components in a single <FrontierProvider>.";
|
|
18418
18462
|
var queryClient = new import_react_query15.QueryClient();
|
|
18419
18463
|
var FrontierProvider = (props) => {
|
|
18420
18464
|
const _a = props, { children, initialState, config, theme, customHeaders } = _a, options = __objRest(_a, ["children", "initialState", "config", "theme", "customHeaders"]);
|
|
18421
|
-
const transport = (0,
|
|
18465
|
+
const transport = (0, import_react72.useMemo)(
|
|
18422
18466
|
() => (0, import_connect_web.createConnectTransport)({
|
|
18423
18467
|
baseUrl: config.connectEndpoint || "/frontier-connect",
|
|
18424
18468
|
fetch: createFetchWithCreds(customHeaders)
|
|
18425
18469
|
}),
|
|
18426
18470
|
[config.connectEndpoint, customHeaders]
|
|
18427
18471
|
);
|
|
18428
|
-
return /* @__PURE__ */ (0,
|
|
18472
|
+
return /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_react_query15.QueryClientProvider, { client: queryClient, children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_connect_query53.TransportProvider, { transport, children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(CustomizationProvider, { config: config.customization, children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
|
|
18429
18473
|
FrontierContextProvider,
|
|
18430
18474
|
__spreadProps(__spreadValues({
|
|
18431
18475
|
initialState,
|
|
18432
18476
|
config
|
|
18433
18477
|
}, options), {
|
|
18434
|
-
children: /* @__PURE__ */ (0,
|
|
18478
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_apsara81.ThemeProvider, __spreadProps(__spreadValues({}, theme), { children }))
|
|
18435
18479
|
})
|
|
18436
18480
|
) }) }) });
|
|
18437
18481
|
};
|
|
@@ -18443,7 +18487,7 @@ var FrontierProviderGaurd = withMaxAllowedInstancesGuard(
|
|
|
18443
18487
|
);
|
|
18444
18488
|
|
|
18445
18489
|
// react/hooks/useConnectQueryPolling.tsx
|
|
18446
|
-
var
|
|
18490
|
+
var import_react73 = require("react");
|
|
18447
18491
|
var import_connect_query54 = require("@connectrpc/connect-query");
|
|
18448
18492
|
function useConnectQueryPolling(params) {
|
|
18449
18493
|
const {
|
|
@@ -18455,8 +18499,8 @@ function useConnectQueryPolling(params) {
|
|
|
18455
18499
|
maxPoll = 40,
|
|
18456
18500
|
pollingInterval = 3e3
|
|
18457
18501
|
} = params;
|
|
18458
|
-
const [isPollingFailed, setIsPollingFailed] = (0,
|
|
18459
|
-
const pollCountRef = (0,
|
|
18502
|
+
const [isPollingFailed, setIsPollingFailed] = (0, import_react73.useState)(false);
|
|
18503
|
+
const pollCountRef = (0, import_react73.useRef)(0);
|
|
18460
18504
|
const result = (0, import_connect_query54.useQuery)(method, input, {
|
|
18461
18505
|
enabled,
|
|
18462
18506
|
select,
|
|
@@ -18488,8 +18532,8 @@ function useConnectQueryPolling(params) {
|
|
|
18488
18532
|
// react/components/Layout/index.tsx
|
|
18489
18533
|
var import_apsara82 = require("@raystack/apsara");
|
|
18490
18534
|
|
|
18491
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
18492
|
-
var digest79 = "
|
|
18535
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2423-sT6RlKUPwAeI/sdk/react/components/organization/styles.module.css.js
|
|
18536
|
+
var digest79 = "96292f8c3ad23bfbc1ddcd1dbf362af717f61650b471d3d9972fc793b7d4d3e9";
|
|
18493
18537
|
var css79 = `._header_11okm_1 {
|
|
18494
18538
|
margin-bottom: var(--rs-space-9);
|
|
18495
18539
|
}
|
|
@@ -18533,11 +18577,11 @@ var css79 = `._header_11okm_1 {
|
|
|
18533
18577
|
var styles_module_css_default18 = { "header": "_header_11okm_1", "container": "_container_11okm_5", "containerFlex": "_containerFlex_11okm_10", "contentWrapper": "_contentWrapper_11okm_18", "pageWrapper": "_pageWrapper_11okm_24" };
|
|
18534
18578
|
|
|
18535
18579
|
// react/components/Layout/index.tsx
|
|
18536
|
-
var
|
|
18580
|
+
var import_jsx_runtime98 = require("react/jsx-runtime");
|
|
18537
18581
|
function Layout({ title, description, children }) {
|
|
18538
|
-
return /* @__PURE__ */ (0,
|
|
18539
|
-
/* @__PURE__ */ (0,
|
|
18540
|
-
/* @__PURE__ */ (0,
|
|
18582
|
+
return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_apsara82.Flex, { direction: "column", style: { width: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(import_apsara82.Flex, { direction: "column", className: styles_module_css_default18.container, children: [
|
|
18583
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_apsara82.Flex, { direction: "row", justify: "between", align: "center", className: styles_module_css_default18.header, children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(PageHeader, { title, description }) }),
|
|
18584
|
+
/* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_apsara82.Flex, { direction: "column", gap: 9, children })
|
|
18541
18585
|
] }) });
|
|
18542
18586
|
}
|
|
18543
18587
|
// Annotate the CommonJS export names for ESM import in node:
|