@raystack/frontier 0.94.0 → 0.95.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/admin/dist/index.d.ts +63 -2
- package/admin/dist/index.js +2618 -2404
- package/admin/dist/index.mjs +2310 -2102
- package/package.json +8 -8
- package/react/dist/index.d.ts +30 -28
- package/react/dist/index.js +557 -559
- package/react/dist/index.mjs +666 -670
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-2431-Vho4dFXKl1xU/sdk/react/components/avatar-upload/avatar-upload.module.css.js
|
|
415
|
+
var digest = "ba46be959b26bbdb08db40b1cb7b97b0aab02e01b5232bb8a8f8f126624dfa46";
|
|
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-2431-tFZ20OOpkFXT/sdk/react/components/container.module.css.js
|
|
687
|
+
var digest2 = "4351fecf2ef52d3b12ca8001b697f34e9c2e9387fdee9febe47234b54855b696";
|
|
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+0mI8T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CpoIYl8bmcPR7Y4YDEHe2b6qa7yMwOcT3QSxoWqqihxlNd9UeSGZuEAzNUX4+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-2431-OOlD3KGjCyyu/sdk/react/components/header.module.css.js
|
|
788
|
+
var digest3 = "9532849aa17c89c22d85cf08619db0f975baa195c337a3793cc94e8f4e401fdd";
|
|
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-2431-I8t7Hxh6ZcNl/sdk/react/components/onboarding/onboarding.module.css.js
|
|
1430
|
+
var digest4 = "b6959c72b2800f7ea7f98a45504e858fd1089d5ced4fa893c5afc4d9a9dbcfc6";
|
|
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-2431-yJRsNtcrrHzP/sdk/react/components/onboarding/onboarding.module.css.js
|
|
1733
|
+
var digest5 = "23f19432890ba10d007448ac1079cb7b82a1325f12d5a11f96c42539214a6211";
|
|
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-2431-2xBtTJde0si5/sdk/react/components/onboarding/onboarding.module.css.js
|
|
1877
|
+
var digest6 = "fa071ca9bb15c68c8d5096d223d55a8e55023526565b3578dd29d94fecfff071";
|
|
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-2431-wuWYPi73ySch/sdk/react/components/onboarding/onboarding.module.css.js
|
|
2071
|
+
var digest7 = "f23d3cfeb385e7627405677c0833a24fe97423fefee67649836e834889bc83b1";
|
|
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-2431-CeoExn9oJ3SO/sdk/react/components/onboarding/onboarding.module.css.js
|
|
2352
|
+
var digest8 = "a1b6b25076d54b00b2073a675d354d3d4b747ac20b3ad0092df45f03df39328d";
|
|
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-2431-2ChUK81h9zDI/sdk/react/components/onboarding/onboarding.module.css.js
|
|
2556
|
+
var digest9 = "e27347fc9ae36ea90a646063f868208db99d70362983ca616662539f4dfe37d2";
|
|
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-2431-ac1cjJflYED3/sdk/react/components/organization/organization.module.css.js
|
|
2835
|
+
var digest10 = "72d72b9debaeb18ec85d7651ebdccd48f4f9c72e3a6f8cc4b76a985d1b21e668";
|
|
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-2431-cbjMyiIIhghq/sdk/react/components/organization/styles.module.css.js
|
|
3259
|
+
var digest11 = "bdf82facbaa2bfe9f514edca1f9226cf43eca24ad590d8795c9d00398d1fa1f5";
|
|
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-2431-M7Te7EttiH5Y/sdk/react/components/organization/domain/domain.module.css.js
|
|
3303
|
+
var digest12 = "dfa42d1ceb3a7f329e9292ebbae4a7e8f8d98455771aca66d0880554f814af7a";
|
|
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-2431-QYWBbQtVdjaY/sdk/react/components/organization/organization.module.css.js
|
|
3504
|
+
var digest13 = "e8f529dc5097c5a3d7f1b1b3206582958305d75a160df19696e30ff2f5a1c6b9";
|
|
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-2431-umN3O8lQAv19/sdk/react/components/organization/organization.module.css.js
|
|
3707
|
+
var digest14 = "9964568cc0106401b4648e70d643b6dbaac33526f7aa0404e96627f44089d7db";
|
|
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-2431-nKQ2Maw6gTGS/sdk/react/views/general/general.module.css.js
|
|
3905
|
+
var digest15 = "7423e7c6e74bbc029f6ebc8e7a5f62efade2a1992e0f37a8b204e712f0bb922d";
|
|
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-2431-jkAg3HzgRgXm/sdk/react/views/general/general.module.css.js
|
|
4123
|
+
var digest16 = "23544b6df6f1cc9179efd05f936695396934fb3169d5348352a8175b45b05792";
|
|
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-2431-GwyAxZEJ4sda/sdk/react/components/organization/styles.module.css.js
|
|
4318
|
+
var digest17 = "db4fcb1a7c2f26f7e6a9e36c7550eb5751a8a5844d406d3251692965dcd5ddd9";
|
|
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-2431-rWYoZHo4nigx/sdk/react/components/organization/organization.module.css.js
|
|
4561
|
+
var digest18 = "ae09bb551f31ca4a3a08800206307a711552126c6b0a64d6be40c35c4ebfe067";
|
|
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-2431-sPf5igBI2vAE/sdk/react/components/organization/styles.module.css.js
|
|
4952
|
+
var digest19 = "ecdbc3250c748dd82b9c149436d4c113343bc130f151f6f2214a7132db6bc856";
|
|
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-2431-YYduCW2mUhHm/sdk/react/views/members/members.module.css.js
|
|
4996
|
+
var digest20 = "e614d7cd43abf441bc8873c7b1cc54ae0c37d3c594bbd7a4a299a0d02bbdc2a1";
|
|
4988
4997
|
var css20 = `._tableWrapper_1od7v_1 {
|
|
4989
4998
|
display: flex;
|
|
4990
4999
|
flex-direction: column;
|
|
@@ -5118,30 +5127,8 @@ var MembersActions = ({
|
|
|
5118
5127
|
onRemoveMember
|
|
5119
5128
|
}) => {
|
|
5120
5129
|
const [isMenuOpen, setIsMenuOpen] = (0, import_react21.useState)(false);
|
|
5121
|
-
const {
|
|
5122
|
-
import_frontier18.FrontierServiceQueries.
|
|
5123
|
-
(0, import_protobuf17.create)(import_frontier18.ListPoliciesRequestSchema, {
|
|
5124
|
-
orgId: organizationId,
|
|
5125
|
-
userId: member.id
|
|
5126
|
-
}),
|
|
5127
|
-
{
|
|
5128
|
-
enabled: isMenuOpen && !!member.id,
|
|
5129
|
-
staleTime: 6e4,
|
|
5130
|
-
gcTime: 3e5
|
|
5131
|
-
}
|
|
5132
|
-
);
|
|
5133
|
-
const { mutateAsync: deletePolicy } = (0, import_connect_query15.useMutation)(
|
|
5134
|
-
import_frontier18.FrontierServiceQueries.deletePolicy,
|
|
5135
|
-
{
|
|
5136
|
-
onError: (error) => {
|
|
5137
|
-
import_apsara22.toast.error("Something went wrong", {
|
|
5138
|
-
description: (error == null ? void 0 : error.message) || "Failed to delete policy"
|
|
5139
|
-
});
|
|
5140
|
-
}
|
|
5141
|
-
}
|
|
5142
|
-
);
|
|
5143
|
-
const { mutateAsync: createPolicy } = (0, import_connect_query15.useMutation)(
|
|
5144
|
-
import_frontier18.FrontierServiceQueries.createPolicy,
|
|
5130
|
+
const { mutateAsync: setMemberRole } = (0, import_connect_query15.useMutation)(
|
|
5131
|
+
import_frontier18.FrontierServiceQueries.setOrganizationMemberRole,
|
|
5145
5132
|
{
|
|
5146
5133
|
onSuccess: () => {
|
|
5147
5134
|
refetch();
|
|
@@ -5149,7 +5136,7 @@ var MembersActions = ({
|
|
|
5149
5136
|
},
|
|
5150
5137
|
onError: (error) => {
|
|
5151
5138
|
import_apsara22.toast.error("Something went wrong", {
|
|
5152
|
-
description: (error == null ? void 0 : error.message) || "Failed to
|
|
5139
|
+
description: (error == null ? void 0 : error.message) || "Failed to update member role"
|
|
5153
5140
|
});
|
|
5154
5141
|
}
|
|
5155
5142
|
}
|
|
@@ -5157,32 +5144,12 @@ var MembersActions = ({
|
|
|
5157
5144
|
function updateRole(role) {
|
|
5158
5145
|
return __async(this, null, function* () {
|
|
5159
5146
|
try {
|
|
5160
|
-
const
|
|
5161
|
-
|
|
5162
|
-
|
|
5163
|
-
|
|
5164
|
-
policies.map((p) => {
|
|
5165
|
-
const req = (0, import_protobuf17.create)(import_frontier18.DeletePolicyRequestSchema, {
|
|
5166
|
-
id: p.id
|
|
5167
|
-
});
|
|
5168
|
-
return deletePolicy(req);
|
|
5169
|
-
})
|
|
5170
|
-
);
|
|
5171
|
-
const deleteErrors = deleteResults.filter(
|
|
5172
|
-
(result) => result.status === "rejected"
|
|
5173
|
-
).map((result) => result.reason);
|
|
5174
|
-
if (deleteErrors.length > 0) {
|
|
5175
|
-
console.warn("Some policy deletions failed:", deleteErrors);
|
|
5176
|
-
}
|
|
5177
|
-
const createReq = (0, import_protobuf17.create)(import_frontier18.CreatePolicyRequestSchema, {
|
|
5178
|
-
body: {
|
|
5179
|
-
roleId: role.id,
|
|
5180
|
-
title: role.name,
|
|
5181
|
-
resource,
|
|
5182
|
-
principal
|
|
5183
|
-
}
|
|
5147
|
+
const req = (0, import_protobuf17.create)(import_frontier18.SetOrganizationMemberRoleRequestSchema, {
|
|
5148
|
+
orgId: organizationId,
|
|
5149
|
+
userId: member == null ? void 0 : member.id,
|
|
5150
|
+
roleId: role.id
|
|
5184
5151
|
});
|
|
5185
|
-
yield
|
|
5152
|
+
yield setMemberRole(req);
|
|
5186
5153
|
} catch (error) {
|
|
5187
5154
|
import_apsara22.toast.error("Something went wrong", {
|
|
5188
5155
|
description: (error == null ? void 0 : error.message) || "Failed to update member role"
|
|
@@ -5195,11 +5162,7 @@ var MembersActions = ({
|
|
|
5195
5162
|
{
|
|
5196
5163
|
placement: "bottom-end",
|
|
5197
5164
|
open: isMenuOpen,
|
|
5198
|
-
onOpenChange:
|
|
5199
|
-
setIsMenuOpen(open);
|
|
5200
|
-
if (open)
|
|
5201
|
-
refetchPolicies();
|
|
5202
|
-
},
|
|
5165
|
+
onOpenChange: setIsMenuOpen,
|
|
5203
5166
|
children: [
|
|
5204
5167
|
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_apsara22.DropdownMenu.Trigger, { asChild: true, style: { cursor: "pointer" }, children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(DotsHorizontalIcon, {}) }),
|
|
5205
5168
|
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_apsara22.DropdownMenu.Content, { portal: false, children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_apsara22.DropdownMenu.Group, { style: { padding: 0 }, children: [
|
|
@@ -5449,8 +5412,8 @@ var bell_slash_default = 'data:image/svg+xml,<svg width="16" height="16" viewBox
|
|
|
5449
5412
|
// react/assets/bell.svg
|
|
5450
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';
|
|
5451
5414
|
|
|
5452
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
5453
|
-
var digest21 = "
|
|
5415
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-H4CnB2552Ki0/sdk/react/components/organization/styles.module.css.js
|
|
5416
|
+
var digest21 = "1bf0d75e85a40a42b1eeed532f7bbeb8ac6952e6557e25fec943a8586e5a4beb";
|
|
5454
5417
|
var css21 = `._header_11okm_1 {
|
|
5455
5418
|
margin-bottom: var(--rs-space-9);
|
|
5456
5419
|
}
|
|
@@ -5713,8 +5676,8 @@ var useOrganizationProjects = ({
|
|
|
5713
5676
|
// react/views/projects/list/projects-columns.tsx
|
|
5714
5677
|
var import_apsara25 = require("@raystack/apsara");
|
|
5715
5678
|
|
|
5716
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
5717
|
-
var digest22 = "
|
|
5679
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-D0nDNDFnYNhv/sdk/react/components/organization/organization.module.css.js
|
|
5680
|
+
var digest22 = "affa11f20adcf7ee0d3df8d1315c95b788b98a83eb84204e1e3fe4e6670b66d2";
|
|
5718
5681
|
var css22 = `._createContainer_9rhtd_1 {
|
|
5719
5682
|
margin: auto;
|
|
5720
5683
|
width: 100%;
|
|
@@ -5876,8 +5839,8 @@ var import_connect_query17 = require("@connectrpc/connect-query");
|
|
|
5876
5839
|
var import_frontier20 = require("@raystack/proton/frontier");
|
|
5877
5840
|
var import_protobuf19 = require("@bufbuild/protobuf");
|
|
5878
5841
|
|
|
5879
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
5880
|
-
var digest23 = "
|
|
5842
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-KsxD8bhCsSm4/sdk/react/components/organization/organization.module.css.js
|
|
5843
|
+
var digest23 = "4221f47cd6376be0d568decd1ecf24277c524fd69a3b4ff215f7139fae0944fb";
|
|
5881
5844
|
var css23 = `._createContainer_9rhtd_1 {
|
|
5882
5845
|
margin: auto;
|
|
5883
5846
|
width: 100%;
|
|
@@ -6067,8 +6030,8 @@ var import_connect_query18 = require("@connectrpc/connect-query");
|
|
|
6067
6030
|
var import_frontier21 = require("@raystack/proton/frontier");
|
|
6068
6031
|
var import_protobuf20 = require("@bufbuild/protobuf");
|
|
6069
6032
|
|
|
6070
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
6071
|
-
var digest24 = "
|
|
6033
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-l7R3NkjPKR1l/sdk/react/components/organization/organization.module.css.js
|
|
6034
|
+
var digest24 = "1e71499e0dc56aa45d9ebfa1266eeea62b586b1a687b02922944212aa6dd2c64";
|
|
6072
6035
|
var css24 = `._createContainer_9rhtd_1 {
|
|
6073
6036
|
margin: auto;
|
|
6074
6037
|
width: 100%;
|
|
@@ -6267,8 +6230,8 @@ var DeleteProjectDialog = ({
|
|
|
6267
6230
|
) });
|
|
6268
6231
|
};
|
|
6269
6232
|
|
|
6270
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
6271
|
-
var digest25 = "
|
|
6233
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-CaAy40NLG35x/sdk/react/components/organization/styles.module.css.js
|
|
6234
|
+
var digest25 = "0ea6ff4a10a799ea5139287c2195d54e7cba67ba0f48edbe6d9e63651a4d9a66";
|
|
6272
6235
|
var css25 = `._header_11okm_1 {
|
|
6273
6236
|
margin-bottom: var(--rs-space-9);
|
|
6274
6237
|
}
|
|
@@ -6311,8 +6274,8 @@ var css25 = `._header_11okm_1 {
|
|
|
6311
6274
|
})();
|
|
6312
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" };
|
|
6313
6276
|
|
|
6314
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
6315
|
-
var digest26 = "
|
|
6277
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-PPPIIBOM3j22/sdk/react/views/projects/list/projects.module.css.js
|
|
6278
|
+
var digest26 = "4693226ffd64ada5d8f5e74718f6b5f87fe7781512c555d2e999f3b75b7d4d2f";
|
|
6316
6279
|
var css26 = `._tableWrapper_1h6in_1 {
|
|
6317
6280
|
display: flex;
|
|
6318
6281
|
flex-direction: column;
|
|
@@ -7016,8 +6979,8 @@ var import_connect_query22 = require("@connectrpc/connect-query");
|
|
|
7016
6979
|
var import_frontier25 = require("@raystack/proton/frontier");
|
|
7017
6980
|
var import_protobuf24 = require("@bufbuild/protobuf");
|
|
7018
6981
|
|
|
7019
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
7020
|
-
var digest27 = "
|
|
6982
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-6YLQQvgOgi3p/sdk/react/views/projects/details/project-members.module.css.js
|
|
6983
|
+
var digest27 = "c46040ec941953be5111a9ec09959f96c7e8047f5ebc0d9662d0d9dd718473dc";
|
|
7021
6984
|
var css27 = `._inviteDropdownItem_1t7zh_1 {
|
|
7022
6985
|
padding: var(--rs-space-3);
|
|
7023
6986
|
user-select: none;
|
|
@@ -7401,8 +7364,8 @@ var import_react_query6 = require("@tanstack/react-query");
|
|
|
7401
7364
|
var import_frontier26 = require("@raystack/proton/frontier");
|
|
7402
7365
|
var import_protobuf25 = require("@bufbuild/protobuf");
|
|
7403
7366
|
|
|
7404
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
7405
|
-
var digest28 = "
|
|
7367
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-bz9Zdoq8lx0B/sdk/react/components/organization/organization.module.css.js
|
|
7368
|
+
var digest28 = "d129c73f68273a550d9bfca7bbee293c1cdcd5df8e39970d0c7e1d8768c722fe";
|
|
7406
7369
|
var css28 = `._createContainer_9rhtd_1 {
|
|
7407
7370
|
margin: auto;
|
|
7408
7371
|
width: 100%;
|
|
@@ -7588,8 +7551,8 @@ var RemoveProjectMemberDialog = ({
|
|
|
7588
7551
|
) });
|
|
7589
7552
|
};
|
|
7590
7553
|
|
|
7591
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
7592
|
-
var digest29 = "
|
|
7554
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-thfxTHkg7OCO/sdk/react/components/organization/styles.module.css.js
|
|
7555
|
+
var digest29 = "38daf5aaaea108ba0a69b9a300b8be115027ea05d387947b99cb7f04e749cee5";
|
|
7593
7556
|
var css29 = `._header_11okm_1 {
|
|
7594
7557
|
margin-bottom: var(--rs-space-9);
|
|
7595
7558
|
}
|
|
@@ -7632,8 +7595,8 @@ var css29 = `._header_11okm_1 {
|
|
|
7632
7595
|
})();
|
|
7633
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" };
|
|
7634
7597
|
|
|
7635
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
7636
|
-
var digest30 = "
|
|
7598
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-SU6rqEV1Mctk/sdk/react/views/projects/details/project-detail.module.css.js
|
|
7599
|
+
var digest30 = "9310241a3188a5c5b5f2a7e95f0385730a8ecffda43492b0f22c67ccd1246930";
|
|
7637
7600
|
var css30 = `._tabContent_13419_1 {
|
|
7638
7601
|
height: 100%;
|
|
7639
7602
|
}
|
|
@@ -7920,8 +7883,8 @@ var import_react_query7 = require("@tanstack/react-query");
|
|
|
7920
7883
|
var import_frontier28 = require("@raystack/proton/frontier");
|
|
7921
7884
|
var import_protobuf27 = require("@bufbuild/protobuf");
|
|
7922
7885
|
|
|
7923
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
7924
|
-
var digest31 = "
|
|
7886
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-3R6Lpw8RsbCK/sdk/react/components/organization/styles.module.css.js
|
|
7887
|
+
var digest31 = "7f06aab0464eb193386df8452971381c25bbe2dbc4390aeb92159ad27a0ceaed";
|
|
7925
7888
|
var css31 = `._header_11okm_1 {
|
|
7926
7889
|
margin-bottom: var(--rs-space-9);
|
|
7927
7890
|
}
|
|
@@ -8233,8 +8196,8 @@ var getUserNavItems = (options = {}) => {
|
|
|
8233
8196
|
);
|
|
8234
8197
|
};
|
|
8235
8198
|
|
|
8236
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
8237
|
-
var digest32 = "
|
|
8199
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-vZZ8Ask7Dnxp/sdk/react/components/organization/sidebar/sidebar.module.css.js
|
|
8200
|
+
var digest32 = "7c89b729812ddcb7ae822a7a0f50950fb7cfd181e61fd0c38797a486e35aeb35";
|
|
8238
8201
|
var css32 = `._sidebarWrapper_1ik5g_1 {
|
|
8239
8202
|
box-sizing: border-box;
|
|
8240
8203
|
border-top-left-radius: var(--rs-radius-6);
|
|
@@ -8462,8 +8425,8 @@ var import_apsara39 = require("@raystack/apsara");
|
|
|
8462
8425
|
// react/views/teams/list/teams-columns.tsx
|
|
8463
8426
|
var import_apsara36 = require("@raystack/apsara");
|
|
8464
8427
|
|
|
8465
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
8466
|
-
var digest33 = "
|
|
8428
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-FoRDSgL5fqee/sdk/react/components/organization/organization.module.css.js
|
|
8429
|
+
var digest33 = "f51327ef3f310eba05dec18a169bc685b79d648e01073acc001c5dd34e132b53";
|
|
8467
8430
|
var css33 = `._createContainer_9rhtd_1 {
|
|
8468
8431
|
margin: auto;
|
|
8469
8432
|
width: 100%;
|
|
@@ -8531,7 +8494,7 @@ var getColumns5 = (userAccessOnTeam, onTeamClick, onDeleteTeamClick) => [
|
|
|
8531
8494
|
},
|
|
8532
8495
|
{
|
|
8533
8496
|
header: "Members",
|
|
8534
|
-
accessorKey: "
|
|
8497
|
+
accessorKey: "membersCount",
|
|
8535
8498
|
cell: ({ row, getValue }) => {
|
|
8536
8499
|
const value = getValue();
|
|
8537
8500
|
return value ? /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_apsara36.Text, { children: [
|
|
@@ -8613,8 +8576,8 @@ var import_connect_query26 = require("@connectrpc/connect-query");
|
|
|
8613
8576
|
var import_frontier29 = require("@raystack/proton/frontier");
|
|
8614
8577
|
var import_protobuf28 = require("@bufbuild/protobuf");
|
|
8615
8578
|
|
|
8616
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
8617
|
-
var digest34 = "
|
|
8579
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-b3oyislBmfo5/sdk/react/components/organization/organization.module.css.js
|
|
8580
|
+
var digest34 = "53f3b949dcef636d7fd0a8fae8f993fb563d5d4b7c899024bbabfb64f6488bac";
|
|
8618
8581
|
var css34 = `._createContainer_9rhtd_1 {
|
|
8619
8582
|
margin: auto;
|
|
8620
8583
|
width: 100%;
|
|
@@ -8789,8 +8752,8 @@ var import_connect_query27 = require("@connectrpc/connect-query");
|
|
|
8789
8752
|
var import_frontier30 = require("@raystack/proton/frontier");
|
|
8790
8753
|
var import_protobuf29 = require("@bufbuild/protobuf");
|
|
8791
8754
|
|
|
8792
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
8793
|
-
var digest35 = "
|
|
8755
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-YgQ4MdlHHQS4/sdk/react/components/organization/organization.module.css.js
|
|
8756
|
+
var digest35 = "c899df3ba44ebb2d5ea95cbebf12ba499d7424012478878c62bc11b93be415d7";
|
|
8794
8757
|
var css35 = `._createContainer_9rhtd_1 {
|
|
8795
8758
|
margin: auto;
|
|
8796
8759
|
width: 100%;
|
|
@@ -8997,8 +8960,8 @@ var DeleteTeamDialog = ({
|
|
|
8997
8960
|
) });
|
|
8998
8961
|
};
|
|
8999
8962
|
|
|
9000
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
9001
|
-
var digest36 = "
|
|
8963
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-Nm6IX9eaGZLE/sdk/react/components/organization/styles.module.css.js
|
|
8964
|
+
var digest36 = "68ee4e393221a2464fb953da0afa90463d158db96f1f6d3120bc72070ba6c563";
|
|
9002
8965
|
var css36 = `._header_11okm_1 {
|
|
9003
8966
|
margin-bottom: var(--rs-space-9);
|
|
9004
8967
|
}
|
|
@@ -9041,8 +9004,8 @@ var css36 = `._header_11okm_1 {
|
|
|
9041
9004
|
})();
|
|
9042
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" };
|
|
9043
9006
|
|
|
9044
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
9045
|
-
var digest37 = "
|
|
9007
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-ZBigIkykwU03/sdk/react/views/teams/list/teams.module.css.js
|
|
9008
|
+
var digest37 = "8fbed425d0465e971632ee4852bd97b9906d1afc6d57231148ebbdeb5d92bf17";
|
|
9046
9009
|
var css37 = `._tableWrapper_1ja5a_1 {
|
|
9047
9010
|
display: flex;
|
|
9048
9011
|
flex-direction: column;
|
|
@@ -9677,8 +9640,8 @@ var import_connect_query30 = require("@connectrpc/connect-query");
|
|
|
9677
9640
|
var import_frontier33 = require("@raystack/proton/frontier");
|
|
9678
9641
|
var import_protobuf32 = require("@bufbuild/protobuf");
|
|
9679
9642
|
|
|
9680
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
9681
|
-
var digest38 = "
|
|
9643
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-K3719G687GZo/sdk/react/views/teams/details/team-members.module.css.js
|
|
9644
|
+
var digest38 = "b25ff470555cbb47e4a13b50531bcbac36742b110594365d901e18019fd9647f";
|
|
9682
9645
|
var css38 = `._inviteDropdownItem_rqd99_1 {
|
|
9683
9646
|
padding: var(--rs-space-3);
|
|
9684
9647
|
user-select: none;
|
|
@@ -10016,8 +9979,8 @@ var import_connect_query31 = require("@connectrpc/connect-query");
|
|
|
10016
9979
|
var import_frontier34 = require("@raystack/proton/frontier");
|
|
10017
9980
|
var import_protobuf33 = require("@bufbuild/protobuf");
|
|
10018
9981
|
|
|
10019
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
10020
|
-
var digest39 = "
|
|
9982
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-JHRzaQBT1V5M/sdk/react/components/organization/organization.module.css.js
|
|
9983
|
+
var digest39 = "752c202982330f55eefafd767e799a763fa69fc4c98b03fe69bf8472c61bce73";
|
|
10021
9984
|
var css39 = `._createContainer_9rhtd_1 {
|
|
10022
9985
|
margin: auto;
|
|
10023
9986
|
width: 100%;
|
|
@@ -10359,8 +10322,8 @@ var import_connect_query32 = require("@connectrpc/connect-query");
|
|
|
10359
10322
|
var import_frontier35 = require("@raystack/proton/frontier");
|
|
10360
10323
|
var import_protobuf34 = require("@bufbuild/protobuf");
|
|
10361
10324
|
|
|
10362
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
10363
|
-
var digest40 = "
|
|
10325
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-oJ8KuhP39N1N/sdk/react/components/organization/styles.module.css.js
|
|
10326
|
+
var digest40 = "ec14df0c71af4823a3f6346b19af8e5d9fc2079a37b74b8e557050a8905c9a9c";
|
|
10364
10327
|
var css40 = `._header_11okm_1 {
|
|
10365
10328
|
margin-bottom: var(--rs-space-9);
|
|
10366
10329
|
}
|
|
@@ -10403,8 +10366,8 @@ var css40 = `._header_11okm_1 {
|
|
|
10403
10366
|
})();
|
|
10404
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" };
|
|
10405
10368
|
|
|
10406
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
10407
|
-
var digest41 = "
|
|
10369
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-YT2yk0tATqkA/sdk/react/views/teams/details/team-detail.module.css.js
|
|
10370
|
+
var digest41 = "a21a70e8761be78e7b72cfe6dedc5b28c7410c1d5a11c71c5fe6ca4e3cbb9131";
|
|
10408
10371
|
var css41 = `._tabContent_1i08o_1 {
|
|
10409
10372
|
height: 100%;
|
|
10410
10373
|
}
|
|
@@ -10757,8 +10720,8 @@ var UpdateProfile = () => {
|
|
|
10757
10720
|
] }) });
|
|
10758
10721
|
};
|
|
10759
10722
|
|
|
10760
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
10761
|
-
var digest42 = "
|
|
10723
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-2cZNHqSz6fIS/sdk/react/components/organization/styles.module.css.js
|
|
10724
|
+
var digest42 = "0d54536bcb631b1c37d09e32a4cf30671cd93d879de6bda16bfc31e64445a7fc";
|
|
10762
10725
|
var css42 = `._header_11okm_1 {
|
|
10763
10726
|
margin-bottom: var(--rs-space-9);
|
|
10764
10727
|
}
|
|
@@ -10835,8 +10798,8 @@ var import_react_query9 = require("@tanstack/react-query");
|
|
|
10835
10798
|
var import_frontier36 = require("@raystack/proton/frontier");
|
|
10836
10799
|
var import_protobuf35 = require("@bufbuild/protobuf");
|
|
10837
10800
|
|
|
10838
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
10839
|
-
var digest43 = "
|
|
10801
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-gif1qH4U2dNn/sdk/react/components/organization/organization.module.css.js
|
|
10802
|
+
var digest43 = "26b602caefc272f4d82eb10caed5c37233a581825feaf9ea987c075b051442ca";
|
|
10840
10803
|
var css43 = `._createContainer_9rhtd_1 {
|
|
10841
10804
|
margin: auto;
|
|
10842
10805
|
width: 100%;
|
|
@@ -11044,8 +11007,8 @@ var import_protobuf40 = require("@bufbuild/protobuf");
|
|
|
11044
11007
|
// react/views/billing/invoices/index.tsx
|
|
11045
11008
|
var import_apsara48 = require("@raystack/apsara");
|
|
11046
11009
|
|
|
11047
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
11048
|
-
var digest44 = "
|
|
11010
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-9yPLttLAUG3U/sdk/react/views/billing/invoices/invoice.module.css.js
|
|
11011
|
+
var digest44 = "d752a849e1a97e26e5355758aac7b2728d91f6197ec9f1d6b7e54f4c7e0b6f39";
|
|
11049
11012
|
var css44 = `._header_gzg1m_1 {
|
|
11050
11013
|
margin-top: calc(-1 * var(--rs-space-9));
|
|
11051
11014
|
padding-top: var(--rs-space-9);
|
|
@@ -11159,8 +11122,8 @@ function Invoices({ isLoading, invoices }) {
|
|
|
11159
11122
|
// react/views/billing/billing-page.tsx
|
|
11160
11123
|
var import_query_string3 = __toESM(require("query-string"));
|
|
11161
11124
|
|
|
11162
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
11163
|
-
var digest45 = "
|
|
11125
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-u1DhNEPjgnQO/sdk/react/components/organization/styles.module.css.js
|
|
11126
|
+
var digest45 = "0d3036ddab267d8de50c5fa0f05d9d9da2541baedf316bda2f48b28ce2a4fb2e";
|
|
11164
11127
|
var css45 = `._header_11okm_1 {
|
|
11165
11128
|
margin-bottom: var(--rs-space-9);
|
|
11166
11129
|
}
|
|
@@ -11203,8 +11166,8 @@ var css45 = `._header_11okm_1 {
|
|
|
11203
11166
|
})();
|
|
11204
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" };
|
|
11205
11168
|
|
|
11206
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
11207
|
-
var digest46 = "
|
|
11169
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-h026SUjKNylJ/sdk/react/views/billing/billing.module.css.js
|
|
11170
|
+
var digest46 = "92ee1d87ec777af182c0bc7958520cb69ce7ae57abf7c22141f70c46d24b0e10";
|
|
11208
11171
|
var css46 = `._detailsBox_1vjbh_1 {
|
|
11209
11172
|
padding: var(--rs-space-4);
|
|
11210
11173
|
display: flex;
|
|
@@ -11316,8 +11279,8 @@ var import_apsara49 = require("@raystack/apsara");
|
|
|
11316
11279
|
// react/assets/line.svg
|
|
11317
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>';
|
|
11318
11281
|
|
|
11319
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
11320
|
-
var digest47 = "
|
|
11282
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-Xb3RdbppWC0J/sdk/react/views/billing/billing.module.css.js
|
|
11283
|
+
var digest47 = "1a1946f082fe5fce3ebaf8935224e942c7a8887fa6b71d8f10b70d28d070e573";
|
|
11321
11284
|
var css47 = `._detailsBox_1vjbh_1 {
|
|
11322
11285
|
padding: var(--rs-space-4);
|
|
11323
11286
|
display: flex;
|
|
@@ -11638,8 +11601,8 @@ var UpcomingBillingCycle = ({
|
|
|
11638
11601
|
// react/views/billing/payment-issue.tsx
|
|
11639
11602
|
var import_apsara50 = require("@raystack/apsara");
|
|
11640
11603
|
|
|
11641
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
11642
|
-
var digest48 = "
|
|
11604
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-OSMLbyzCBiha/sdk/react/views/billing/billing.module.css.js
|
|
11605
|
+
var digest48 = "ee1a7220d6981a59e84c7008a8a7b5bd4cb090c1be44cd0346a452e5f923d2ea";
|
|
11643
11606
|
var css48 = `._detailsBox_1vjbh_1 {
|
|
11644
11607
|
padding: var(--rs-space-4);
|
|
11645
11608
|
display: flex;
|
|
@@ -11794,8 +11757,8 @@ function PaymentIssue({
|
|
|
11794
11757
|
var import_apsara51 = require("@raystack/apsara");
|
|
11795
11758
|
var import_frontier38 = require("@raystack/proton/frontier");
|
|
11796
11759
|
|
|
11797
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
11798
|
-
var digest49 = "
|
|
11760
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-8AmpPrdFZxR4/sdk/react/components/common/upcoming-plan-change-banner/styles.module.css.js
|
|
11761
|
+
var digest49 = "61d9220aba0b8d21c51f5c2a46e12b7704fa47a5fea0d30277b97c543ac3a61b";
|
|
11799
11762
|
var css49 = `._changeBannerBox_1tp17_1 {
|
|
11800
11763
|
padding: var(--rs-space-3);
|
|
11801
11764
|
border-radius: var(--rs-space-2);
|
|
@@ -11958,8 +11921,8 @@ var import_query_string = __toESM(require("query-string"));
|
|
|
11958
11921
|
var _ = __toESM(require("lodash"));
|
|
11959
11922
|
var import_apsara52 = require("@raystack/apsara");
|
|
11960
11923
|
|
|
11961
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
11962
|
-
var digest50 = "
|
|
11924
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-FEy4m2H6f21f/sdk/react/views/billing/billing.module.css.js
|
|
11925
|
+
var digest50 = "0a8a6b1b5c511b4a5ebdf1f49713b7040c15462aabe8c5a8ccb443b5abcb1a9d";
|
|
11963
11926
|
var css50 = `._detailsBox_1vjbh_1 {
|
|
11964
11927
|
padding: var(--rs-space-4);
|
|
11965
11928
|
display: flex;
|
|
@@ -12222,8 +12185,8 @@ var import_react49 = require("react");
|
|
|
12222
12185
|
var import_apsara55 = require("@raystack/apsara");
|
|
12223
12186
|
var _2 = __toESM(require("lodash"));
|
|
12224
12187
|
|
|
12225
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
12226
|
-
var digest51 = "
|
|
12188
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-UuByCkZgxRXC/sdk/react/components/organization/organization.module.css.js
|
|
12189
|
+
var digest51 = "3a9f4caf47ed0f5491553beee30f12793cd3bfb19f42e9a875d9a7dc88083352";
|
|
12227
12190
|
var css51 = `._createContainer_9rhtd_1 {
|
|
12228
12191
|
margin: auto;
|
|
12229
12192
|
width: 100%;
|
|
@@ -12954,8 +12917,8 @@ var import_apsara58 = require("@raystack/apsara");
|
|
|
12954
12917
|
var import_apsara57 = require("@raystack/apsara");
|
|
12955
12918
|
var _3 = __toESM(require("lodash"));
|
|
12956
12919
|
|
|
12957
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
12958
|
-
var digest52 = "
|
|
12920
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-FmxnFsEIjDI6/sdk/react/views/tokens/token.module.css.js
|
|
12921
|
+
var digest52 = "c09a2688be720821ec3744f528dc2c643122d9dc5aa6a931ba37f174fa47d2e1";
|
|
12959
12922
|
var css52 = `._flex1_1rl84_1 {
|
|
12960
12923
|
flex: 1;
|
|
12961
12924
|
}
|
|
@@ -13088,8 +13051,8 @@ var getColumns8 = ({
|
|
|
13088
13051
|
}
|
|
13089
13052
|
];
|
|
13090
13053
|
|
|
13091
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
13092
|
-
var digest53 = "
|
|
13054
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-WrHaq8eaS5Ns/sdk/react/views/tokens/token.module.css.js
|
|
13055
|
+
var digest53 = "29b32df041da86d5b797fe0c7d4800bc90e5f438b08dae1ec814eadf35c5fc7a";
|
|
13093
13056
|
var css53 = `._flex1_1rl84_1 {
|
|
13094
13057
|
flex: 1;
|
|
13095
13058
|
}
|
|
@@ -13235,8 +13198,8 @@ var import_protobuf43 = require("@bufbuild/protobuf");
|
|
|
13235
13198
|
// react/assets/coin.svg
|
|
13236
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';
|
|
13237
13200
|
|
|
13238
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
13239
|
-
var digest54 = "
|
|
13201
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-N4iYaOUorcZ8/sdk/react/components/organization/styles.module.css.js
|
|
13202
|
+
var digest54 = "41f1d26b2a267da673e711f898c9db8230cb094dd79da451349370caa0b7d994";
|
|
13240
13203
|
var css54 = `._header_11okm_1 {
|
|
13241
13204
|
margin-bottom: var(--rs-space-9);
|
|
13242
13205
|
}
|
|
@@ -13279,8 +13242,8 @@ var css54 = `._header_11okm_1 {
|
|
|
13279
13242
|
})();
|
|
13280
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" };
|
|
13281
13244
|
|
|
13282
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
13283
|
-
var digest55 = "
|
|
13245
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-ojG1Q9HWgnQQ/sdk/react/views/tokens/token.module.css.js
|
|
13246
|
+
var digest55 = "a04fc812ee64bd69581f023fac958a20ae1de91eb1941bc4f40f36bbb545123c";
|
|
13284
13247
|
var css55 = `._flex1_1rl84_1 {
|
|
13285
13248
|
flex: 1;
|
|
13286
13249
|
}
|
|
@@ -13348,8 +13311,8 @@ var import_connect_query39 = require("@connectrpc/connect-query");
|
|
|
13348
13311
|
var import_react_hook_form18 = require("react-hook-form");
|
|
13349
13312
|
var yup18 = __toESM(require("yup"));
|
|
13350
13313
|
|
|
13351
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
13352
|
-
var digest56 = "
|
|
13314
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-yZmcNyP78MVz/sdk/react/components/organization/organization.module.css.js
|
|
13315
|
+
var digest56 = "88dd73b43ab901611b6c83a93741e9af7a59ec22229e0be3b7e0381ae2e27d74";
|
|
13353
13316
|
var css56 = `._createContainer_9rhtd_1 {
|
|
13354
13317
|
margin: auto;
|
|
13355
13318
|
width: 100%;
|
|
@@ -13407,8 +13370,8 @@ var css56 = `._createContainer_9rhtd_1 {
|
|
|
13407
13370
|
})();
|
|
13408
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" };
|
|
13409
13372
|
|
|
13410
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
13411
|
-
var digest57 = "
|
|
13373
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-N0Q3OEIhgPc4/sdk/react/views/tokens/token.module.css.js
|
|
13374
|
+
var digest57 = "a878e6cc5f598724903ee385e6d1f243bee3c6e353f1f21e4667554f38b2006f";
|
|
13412
13375
|
var css57 = `._flex1_1rl84_1 {
|
|
13413
13376
|
flex: 1;
|
|
13414
13377
|
}
|
|
@@ -13819,7 +13782,7 @@ function Tokens() {
|
|
|
13819
13782
|
}
|
|
13820
13783
|
|
|
13821
13784
|
// react/views/plans/plans-page.tsx
|
|
13822
|
-
var
|
|
13785
|
+
var import_react58 = require("react");
|
|
13823
13786
|
var import_apsara65 = require("@raystack/apsara");
|
|
13824
13787
|
|
|
13825
13788
|
// react/views/plans/helpers/index.ts
|
|
@@ -13870,8 +13833,8 @@ function groupPlansPricingByInterval(plans) {
|
|
|
13870
13833
|
// react/views/plans/plans-header.tsx
|
|
13871
13834
|
var import_apsara62 = require("@raystack/apsara");
|
|
13872
13835
|
|
|
13873
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
13874
|
-
var digest58 = "
|
|
13836
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-mELNP3IzvTf6/sdk/react/views/plans/plans.module.css.js
|
|
13837
|
+
var digest58 = "0d1d75fedc93f182031c89d1e0b273f55748e19532bedf30c882186643b8cace";
|
|
13875
13838
|
var css58 = `._flex1_3ghb5_1 {
|
|
13876
13839
|
flex: 1;
|
|
13877
13840
|
}
|
|
@@ -14044,8 +14007,8 @@ var _4 = __toESM(require("lodash"));
|
|
|
14044
14007
|
var import_react54 = require("react");
|
|
14045
14008
|
var import_apsara63 = require("@raystack/apsara");
|
|
14046
14009
|
|
|
14047
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
14048
|
-
var digest59 = "
|
|
14010
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-gDyJdslICp3V/sdk/react/views/plans/plans.module.css.js
|
|
14011
|
+
var digest59 = "7ec61bc60ff1c5045007f53d2dff6409c38cd54f7766b833d462894e06548df2";
|
|
14049
14012
|
var css59 = `._flex1_3ghb5_1 {
|
|
14050
14013
|
flex: 1;
|
|
14051
14014
|
}
|
|
@@ -14489,11 +14452,11 @@ var PlanPricingColumn = ({
|
|
|
14489
14452
|
};
|
|
14490
14453
|
|
|
14491
14454
|
// react/views/plans/confirm-plan-change-dialog.tsx
|
|
14492
|
-
var
|
|
14455
|
+
var import_react57 = require("react");
|
|
14493
14456
|
var import_apsara64 = require("@raystack/apsara");
|
|
14494
14457
|
|
|
14495
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
14496
|
-
var digest60 = "
|
|
14458
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-hcouPBSi2eyi/sdk/react/views/plans/plans.module.css.js
|
|
14459
|
+
var digest60 = "94b86b3ec1cfb7c901e0d99ffc90fb156fc7f072b4ffb765f8ea1a749f69557e";
|
|
14497
14460
|
var css60 = `._flex1_3ghb5_1 {
|
|
14498
14461
|
flex: 1;
|
|
14499
14462
|
}
|
|
@@ -14627,8 +14590,8 @@ var css60 = `._flex1_3ghb5_1 {
|
|
|
14627
14590
|
})();
|
|
14628
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" };
|
|
14629
14592
|
|
|
14630
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
14631
|
-
var digest61 = "
|
|
14593
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-nVB20iw5knQz/sdk/react/components/organization/organization.module.css.js
|
|
14594
|
+
var digest61 = "24c19cfdd2f55a7313294c75e6fa8ab30d64fc8b791cda192da4093f2815d039";
|
|
14632
14595
|
var css61 = `._createContainer_9rhtd_1 {
|
|
14633
14596
|
margin: auto;
|
|
14634
14597
|
width: 100%;
|
|
@@ -14687,10 +14650,45 @@ var css61 = `._createContainer_9rhtd_1 {
|
|
|
14687
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" };
|
|
14688
14651
|
|
|
14689
14652
|
// react/hooks/useMessages.ts
|
|
14690
|
-
var
|
|
14653
|
+
var import_react56 = require("react");
|
|
14691
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
|
|
14692
14690
|
var useMessages = () => {
|
|
14693
|
-
const context = (0,
|
|
14691
|
+
const context = (0, import_react56.useContext)(CustomizationContext);
|
|
14694
14692
|
const config = context || defaultCustomization;
|
|
14695
14693
|
const { messages } = config;
|
|
14696
14694
|
const getMessage = (path) => {
|
|
@@ -14701,7 +14699,7 @@ var useMessages = () => {
|
|
|
14701
14699
|
};
|
|
14702
14700
|
|
|
14703
14701
|
// react/views/plans/confirm-plan-change-dialog.tsx
|
|
14704
|
-
var
|
|
14702
|
+
var import_jsx_runtime75 = require("react/jsx-runtime");
|
|
14705
14703
|
function ConfirmPlanChangeDialog({
|
|
14706
14704
|
open,
|
|
14707
14705
|
onOpenChange,
|
|
@@ -14716,8 +14714,8 @@ function ConfirmPlanChangeDialog({
|
|
|
14716
14714
|
basePlan,
|
|
14717
14715
|
allPlans
|
|
14718
14716
|
} = useFrontier();
|
|
14719
|
-
const [newPlan, setNewPlan] = (0,
|
|
14720
|
-
const [isNewPlanLoading, setIsNewPlanLoading] = (0,
|
|
14717
|
+
const [newPlan, setNewPlan] = (0, import_react57.useState)();
|
|
14718
|
+
const [isNewPlanLoading, setIsNewPlanLoading] = (0, import_react57.useState)(false);
|
|
14721
14719
|
const m = useMessages();
|
|
14722
14720
|
const {
|
|
14723
14721
|
changePlan,
|
|
@@ -14727,7 +14725,7 @@ function ConfirmPlanChangeDialog({
|
|
|
14727
14725
|
cancelSubscription,
|
|
14728
14726
|
checkBasePlan
|
|
14729
14727
|
} = usePlans();
|
|
14730
|
-
const currentPlan = (0,
|
|
14728
|
+
const currentPlan = (0, import_react57.useMemo)(
|
|
14731
14729
|
() => allPlans.find((plan) => plan.id === planId),
|
|
14732
14730
|
[allPlans, planId]
|
|
14733
14731
|
);
|
|
@@ -14738,12 +14736,12 @@ function ConfirmPlanChangeDialog({
|
|
|
14738
14736
|
Number(newPlanMetadata == null ? void 0 : newPlanMetadata.weightage),
|
|
14739
14737
|
Number(activePlanMetadata == null ? void 0 : activePlanMetadata.weightage)
|
|
14740
14738
|
);
|
|
14741
|
-
const handleClose = (0,
|
|
14739
|
+
const handleClose = (0, import_react57.useCallback)(() => onOpenChange == null ? void 0 : onOpenChange(false), [onOpenChange]);
|
|
14742
14740
|
const newPlanSlug = isNewPlanBasePlan ? "base" : newPlan == null ? void 0 : newPlan.name;
|
|
14743
14741
|
const planChangeSlug = (activePlan == null ? void 0 : activePlan.name) ? `${activePlan == null ? void 0 : activePlan.name}:${newPlanSlug}` : "";
|
|
14744
14742
|
const planChangeMessage = planChangeSlug ? m(`billing.plan_change.${planChangeSlug}`) : "";
|
|
14745
14743
|
const isUpgrade = planAction.btnLabel === "Upgrade";
|
|
14746
|
-
const verifyChange = (0,
|
|
14744
|
+
const verifyChange = (0, import_react57.useCallback)(() => __async(this, null, function* () {
|
|
14747
14745
|
var _a2;
|
|
14748
14746
|
const planPhase = isNewPlanBasePlan ? yield verifySubscriptionCancel({}) : yield verifyPlanChange({ planId });
|
|
14749
14747
|
const actionName = planAction == null ? void 0 : planAction.btnLabel.toLowerCase();
|
|
@@ -14765,7 +14763,7 @@ function ConfirmPlanChangeDialog({
|
|
|
14765
14763
|
verifySubscriptionCancel,
|
|
14766
14764
|
isNewPlanBasePlan
|
|
14767
14765
|
]);
|
|
14768
|
-
const onConfirm = (0,
|
|
14766
|
+
const onConfirm = (0, import_react57.useCallback)(() => __async(this, null, function* () {
|
|
14769
14767
|
if (isNewPlanBasePlan) {
|
|
14770
14768
|
cancelSubscription({
|
|
14771
14769
|
onSuccess: verifyChange
|
|
@@ -14785,7 +14783,7 @@ function ConfirmPlanChangeDialog({
|
|
|
14785
14783
|
planId,
|
|
14786
14784
|
planAction.immediate
|
|
14787
14785
|
]);
|
|
14788
|
-
const getPlan = (0,
|
|
14786
|
+
const getPlan = (0, import_react57.useCallback)(() => {
|
|
14789
14787
|
setIsNewPlanLoading(true);
|
|
14790
14788
|
try {
|
|
14791
14789
|
const plan = isNewPlanBasePlan ? basePlan : currentPlan;
|
|
@@ -14801,7 +14799,7 @@ function ConfirmPlanChangeDialog({
|
|
|
14801
14799
|
setIsNewPlanLoading(false);
|
|
14802
14800
|
}
|
|
14803
14801
|
}, [isNewPlanBasePlan, basePlan, currentPlan]);
|
|
14804
|
-
(0,
|
|
14802
|
+
(0, import_react57.useEffect)(() => {
|
|
14805
14803
|
if (planId && open) {
|
|
14806
14804
|
getPlan();
|
|
14807
14805
|
}
|
|
@@ -14816,18 +14814,18 @@ function ConfirmPlanChangeDialog({
|
|
|
14816
14814
|
const cycleSwitchDate = (activeSubscription == null ? void 0 : activeSubscription.currentPeriodEndAt) ? (_a = timestampToDayjs(activeSubscription == null ? void 0 : activeSubscription.currentPeriodEndAt)) == null ? void 0 : _a.format(
|
|
14817
14815
|
(config == null ? void 0 : config.dateFormat) || DEFAULT_DATE_FORMAT
|
|
14818
14816
|
) : "the next billing cycle";
|
|
14819
|
-
return /* @__PURE__ */ (0,
|
|
14817
|
+
return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_apsara64.Dialog, { open, onOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
|
|
14820
14818
|
import_apsara64.Dialog.Content,
|
|
14821
14819
|
{
|
|
14822
14820
|
style: { padding: 0, maxWidth: "600px", width: "100%" },
|
|
14823
14821
|
overlayClassName: organization_module_css_default16.overlay,
|
|
14824
14822
|
children: [
|
|
14825
|
-
/* @__PURE__ */ (0,
|
|
14826
|
-
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: [
|
|
14827
14825
|
"Verify ",
|
|
14828
14826
|
planAction == null ? void 0 : planAction.btnLabel
|
|
14829
14827
|
] }),
|
|
14830
|
-
/* @__PURE__ */ (0,
|
|
14828
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
14831
14829
|
import_apsara64.Image,
|
|
14832
14830
|
{
|
|
14833
14831
|
alt: "cross",
|
|
@@ -14838,24 +14836,24 @@ function ConfirmPlanChangeDialog({
|
|
|
14838
14836
|
}
|
|
14839
14837
|
)
|
|
14840
14838
|
] }) }),
|
|
14841
|
-
/* @__PURE__ */ (0,
|
|
14842
|
-
isLoading ? /* @__PURE__ */ (0,
|
|
14843
|
-
/* @__PURE__ */ (0,
|
|
14844
|
-
/* @__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 })
|
|
14845
14843
|
] }),
|
|
14846
|
-
isLoading ? /* @__PURE__ */ (0,
|
|
14847
|
-
/* @__PURE__ */ (0,
|
|
14848
|
-
/* @__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: [
|
|
14849
14847
|
upcomingPlanName,
|
|
14850
14848
|
" (",
|
|
14851
14849
|
(planAction == null ? void 0 : planAction.immediate) ? "effective immediately" : `effective from ${cycleSwitchDate}`,
|
|
14852
14850
|
")"
|
|
14853
14851
|
] })
|
|
14854
14852
|
] }),
|
|
14855
|
-
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 })
|
|
14856
14854
|
] }) }),
|
|
14857
|
-
/* @__PURE__ */ (0,
|
|
14858
|
-
/* @__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)(
|
|
14859
14857
|
import_apsara64.Button,
|
|
14860
14858
|
{
|
|
14861
14859
|
variant: "outline",
|
|
@@ -14865,7 +14863,7 @@ function ConfirmPlanChangeDialog({
|
|
|
14865
14863
|
children: "Cancel"
|
|
14866
14864
|
}
|
|
14867
14865
|
),
|
|
14868
|
-
/* @__PURE__ */ (0,
|
|
14866
|
+
/* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
14869
14867
|
import_apsara64.Button,
|
|
14870
14868
|
{
|
|
14871
14869
|
onClick: onConfirm,
|
|
@@ -14887,8 +14885,8 @@ var import_connect_query42 = require("@connectrpc/connect-query");
|
|
|
14887
14885
|
var import_protobuf44 = require("@bufbuild/protobuf");
|
|
14888
14886
|
var import_frontier43 = require("@raystack/proton/frontier");
|
|
14889
14887
|
|
|
14890
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
14891
|
-
var digest62 = "
|
|
14888
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-pjXssdbxgLbT/sdk/react/components/organization/styles.module.css.js
|
|
14889
|
+
var digest62 = "f3828e032b5275d3496d300fdd14df8974b9eae280279711f4cf70338de100d5";
|
|
14892
14890
|
var css62 = `._header_11okm_1 {
|
|
14893
14891
|
margin-bottom: var(--rs-space-9);
|
|
14894
14892
|
}
|
|
@@ -14931,8 +14929,8 @@ var css62 = `._header_11okm_1 {
|
|
|
14931
14929
|
})();
|
|
14932
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" };
|
|
14933
14931
|
|
|
14934
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
14935
|
-
var digest63 = "
|
|
14932
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-JKlddviGbo71/sdk/react/views/plans/plans.module.css.js
|
|
14933
|
+
var digest63 = "c8612c095b80ec9e62716c48e3fbfd72d05c449fc164fff0dc03f50ed4eb7db6";
|
|
14936
14934
|
var css63 = `._flex1_3ghb5_1 {
|
|
14937
14935
|
flex: 1;
|
|
14938
14936
|
}
|
|
@@ -15067,16 +15065,16 @@ var css63 = `._flex1_3ghb5_1 {
|
|
|
15067
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" };
|
|
15068
15066
|
|
|
15069
15067
|
// react/views/plans/plans-page.tsx
|
|
15070
|
-
var
|
|
15068
|
+
var import_jsx_runtime76 = require("react/jsx-runtime");
|
|
15071
15069
|
var PlansLoader = () => {
|
|
15072
|
-
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}`)) });
|
|
15073
15071
|
};
|
|
15074
15072
|
var NoPlans = () => {
|
|
15075
|
-
return /* @__PURE__ */ (0,
|
|
15073
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
15076
15074
|
import_apsara65.EmptyState,
|
|
15077
15075
|
{
|
|
15078
|
-
icon: /* @__PURE__ */ (0,
|
|
15079
|
-
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" }),
|
|
15080
15078
|
subHeading: "Sorry, No plans available at this moment. Please try again later"
|
|
15081
15079
|
}
|
|
15082
15080
|
);
|
|
@@ -15089,7 +15087,7 @@ var PlansList = ({
|
|
|
15089
15087
|
onConfirmPlanChange
|
|
15090
15088
|
}) => {
|
|
15091
15089
|
if (plans.length === 0)
|
|
15092
|
-
return /* @__PURE__ */ (0,
|
|
15090
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(NoPlans, {});
|
|
15093
15091
|
const groupedPlans = groupPlansPricingByInterval(plans).sort(
|
|
15094
15092
|
(a, b) => a.weightage - b.weightage
|
|
15095
15093
|
);
|
|
@@ -15109,34 +15107,34 @@ var PlansList = ({
|
|
|
15109
15107
|
return acc;
|
|
15110
15108
|
}, {});
|
|
15111
15109
|
const sortedFeatures = Object.entries(featureTitleMap).sort((f1, f2) => f1[1] - f2[1]).map((f) => f[0]).filter((f) => Boolean(f));
|
|
15112
|
-
return /* @__PURE__ */ (0,
|
|
15113
|
-
/* @__PURE__ */ (0,
|
|
15114
|
-
/* @__PURE__ */ (0,
|
|
15115
|
-
/* @__PURE__ */ (0,
|
|
15116
|
-
/* @__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)(
|
|
15117
15115
|
import_apsara65.Flex,
|
|
15118
15116
|
{
|
|
15119
15117
|
align: "center",
|
|
15120
15118
|
justify: "start",
|
|
15121
15119
|
className: plans_module_css_default4.featureCell,
|
|
15122
|
-
children: /* @__PURE__ */ (0,
|
|
15120
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(import_apsara65.Text, { size: "small", className: plans_module_css_default4.featureTableHeading, children: "Features" })
|
|
15123
15121
|
}
|
|
15124
15122
|
),
|
|
15125
15123
|
sortedFeatures.map((feature) => {
|
|
15126
|
-
return /* @__PURE__ */ (0,
|
|
15124
|
+
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
15127
15125
|
import_apsara65.Flex,
|
|
15128
15126
|
{
|
|
15129
15127
|
align: "center",
|
|
15130
15128
|
justify: "start",
|
|
15131
15129
|
className: plans_module_css_default4.featureCell,
|
|
15132
|
-
children: /* @__PURE__ */ (0,
|
|
15130
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(import_apsara65.Text, { size: 3, className: plans_module_css_default4.featureLabel, children: feature })
|
|
15133
15131
|
},
|
|
15134
15132
|
feature
|
|
15135
15133
|
);
|
|
15136
15134
|
})
|
|
15137
15135
|
] })
|
|
15138
15136
|
] }),
|
|
15139
|
-
/* @__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)(
|
|
15140
15138
|
PlanPricingColumn,
|
|
15141
15139
|
{
|
|
15142
15140
|
plan,
|
|
@@ -15168,7 +15166,7 @@ function PlansPage(_props = {}) {
|
|
|
15168
15166
|
const features = (featuresData == null ? void 0 : featuresData.features) || [];
|
|
15169
15167
|
const plans = [...basePlan ? [basePlan] : [], ...allPlans];
|
|
15170
15168
|
const isLoading = isAllPlansLoading || isPermissionsFetching || isActiveSubscriptionLoading || isActiveOrganizationLoading;
|
|
15171
|
-
const [confirmPlanChangeState, setConfirmPlanChangeState] = (0,
|
|
15169
|
+
const [confirmPlanChangeState, setConfirmPlanChangeState] = (0, import_react58.useState)({
|
|
15172
15170
|
open: false,
|
|
15173
15171
|
planId: ""
|
|
15174
15172
|
});
|
|
@@ -15179,17 +15177,17 @@ function PlansPage(_props = {}) {
|
|
|
15179
15177
|
setConfirmPlanChangeState((prev) => __spreadProps(__spreadValues({}, prev), { open: value }));
|
|
15180
15178
|
}
|
|
15181
15179
|
};
|
|
15182
|
-
return /* @__PURE__ */ (0,
|
|
15183
|
-
/* @__PURE__ */ (0,
|
|
15184
|
-
/* @__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)(
|
|
15185
15183
|
PlansHeader,
|
|
15186
15184
|
{
|
|
15187
15185
|
billingSupportEmail: (_a = config.billing) == null ? void 0 : _a.supportEmail,
|
|
15188
15186
|
isLoading
|
|
15189
15187
|
}
|
|
15190
15188
|
) }),
|
|
15191
|
-
/* @__PURE__ */ (0,
|
|
15192
|
-
/* @__PURE__ */ (0,
|
|
15189
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(import_apsara65.Flex, { direction: "column", gap: 7, children: [
|
|
15190
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
15193
15191
|
UpcomingPlanChangeBanner,
|
|
15194
15192
|
{
|
|
15195
15193
|
isLoading,
|
|
@@ -15197,7 +15195,7 @@ function PlansPage(_props = {}) {
|
|
|
15197
15195
|
isAllowed: canChangePlan
|
|
15198
15196
|
}
|
|
15199
15197
|
),
|
|
15200
|
-
isLoading ? /* @__PURE__ */ (0,
|
|
15198
|
+
isLoading ? /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(PlansLoader, {}) : /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
15201
15199
|
PlansList,
|
|
15202
15200
|
{
|
|
15203
15201
|
plans,
|
|
@@ -15209,7 +15207,7 @@ function PlansPage(_props = {}) {
|
|
|
15209
15207
|
)
|
|
15210
15208
|
] })
|
|
15211
15209
|
] }),
|
|
15212
|
-
/* @__PURE__ */ (0,
|
|
15210
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
15213
15211
|
ConfirmPlanChangeDialog,
|
|
15214
15212
|
{
|
|
15215
15213
|
open: confirmPlanChangeState.open,
|
|
@@ -15221,9 +15219,9 @@ function PlansPage(_props = {}) {
|
|
|
15221
15219
|
}
|
|
15222
15220
|
|
|
15223
15221
|
// react/components/organization/plans/index.tsx
|
|
15224
|
-
var
|
|
15222
|
+
var import_jsx_runtime77 = require("react/jsx-runtime");
|
|
15225
15223
|
function Plans() {
|
|
15226
|
-
return /* @__PURE__ */ (0,
|
|
15224
|
+
return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(PlansPage, {});
|
|
15227
15225
|
}
|
|
15228
15226
|
|
|
15229
15227
|
// react/components/organization/api-keys/index.tsx
|
|
@@ -15236,11 +15234,11 @@ var import_apsara69 = require("@raystack/apsara");
|
|
|
15236
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';
|
|
15237
15235
|
|
|
15238
15236
|
// react/views/api-keys/list/api-keys-list-page.tsx
|
|
15239
|
-
var
|
|
15237
|
+
var import_react60 = require("react");
|
|
15240
15238
|
|
|
15241
15239
|
// react/views/api-keys/list/api-keys-columns.tsx
|
|
15242
15240
|
var import_apsara66 = require("@raystack/apsara");
|
|
15243
|
-
var
|
|
15241
|
+
var import_jsx_runtime78 = require("react/jsx-runtime");
|
|
15244
15242
|
var getColumns9 = ({
|
|
15245
15243
|
dateFormat,
|
|
15246
15244
|
onDeleteClick
|
|
@@ -15251,7 +15249,7 @@ var getColumns9 = ({
|
|
|
15251
15249
|
accessorKey: "title",
|
|
15252
15250
|
cell: ({ row, getValue }) => {
|
|
15253
15251
|
const value = getValue();
|
|
15254
|
-
return /* @__PURE__ */ (0,
|
|
15252
|
+
return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_apsara66.Text, { children: value });
|
|
15255
15253
|
}
|
|
15256
15254
|
},
|
|
15257
15255
|
{
|
|
@@ -15260,7 +15258,7 @@ var getColumns9 = ({
|
|
|
15260
15258
|
cell: ({ row, getValue }) => {
|
|
15261
15259
|
var _a, _b;
|
|
15262
15260
|
const value = getValue();
|
|
15263
|
-
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 : "-" }) });
|
|
15264
15262
|
}
|
|
15265
15263
|
},
|
|
15266
15264
|
{
|
|
@@ -15269,7 +15267,7 @@ var getColumns9 = ({
|
|
|
15269
15267
|
enableSorting: false,
|
|
15270
15268
|
cell: ({ row, getValue }) => {
|
|
15271
15269
|
const value = getValue();
|
|
15272
|
-
return /* @__PURE__ */ (0,
|
|
15270
|
+
return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
|
|
15273
15271
|
import_apsara66.Button,
|
|
15274
15272
|
{
|
|
15275
15273
|
variant: "text",
|
|
@@ -15280,7 +15278,7 @@ var getColumns9 = ({
|
|
|
15280
15278
|
e.stopPropagation();
|
|
15281
15279
|
onDeleteClick == null ? void 0 : onDeleteClick(value);
|
|
15282
15280
|
},
|
|
15283
|
-
children: /* @__PURE__ */ (0,
|
|
15281
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(TrashIcon, {})
|
|
15284
15282
|
}
|
|
15285
15283
|
);
|
|
15286
15284
|
}
|
|
@@ -15293,8 +15291,8 @@ var import_connect_query45 = require("@connectrpc/connect-query");
|
|
|
15293
15291
|
var import_protobuf47 = require("@bufbuild/protobuf");
|
|
15294
15292
|
var import_frontier46 = require("@raystack/proton/frontier");
|
|
15295
15293
|
|
|
15296
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
15297
|
-
var digest64 = "
|
|
15294
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-6qHNWqDSdKrn/sdk/react/components/organization/styles.module.css.js
|
|
15295
|
+
var digest64 = "6270db4dd97d2884eb7cb092f09412e90d53862d14e5f6fd816423b653e12ea2";
|
|
15298
15296
|
var css64 = `._header_11okm_1 {
|
|
15299
15297
|
margin-bottom: var(--rs-space-9);
|
|
15300
15298
|
}
|
|
@@ -15337,8 +15335,8 @@ var css64 = `._header_11okm_1 {
|
|
|
15337
15335
|
})();
|
|
15338
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" };
|
|
15339
15337
|
|
|
15340
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
15341
|
-
var digest65 = "
|
|
15338
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-VXgaqq3nSdjO/sdk/react/views/api-keys/list/api-keys.module.css.js
|
|
15339
|
+
var digest65 = "741106fa446d6307dc1fa25de8664f5c28fe7e6deb59efb17c23432f05fccf97";
|
|
15342
15340
|
var css65 = `._container_9t9jq_1 {
|
|
15343
15341
|
height: 100%;
|
|
15344
15342
|
width: 100%;
|
|
@@ -15422,15 +15420,15 @@ var import_apsara67 = require("@raystack/apsara");
|
|
|
15422
15420
|
var import_react_hook_form19 = require("react-hook-form");
|
|
15423
15421
|
var yup19 = __toESM(require("yup"));
|
|
15424
15422
|
var import_yup19 = require("@hookform/resolvers/yup");
|
|
15425
|
-
var
|
|
15423
|
+
var import_react59 = require("react");
|
|
15426
15424
|
var import_lodash3 = require("lodash");
|
|
15427
15425
|
var import_frontier44 = require("@raystack/proton/frontier");
|
|
15428
15426
|
var import_react_query11 = require("@tanstack/react-query");
|
|
15429
15427
|
var import_connect_query43 = require("@connectrpc/connect-query");
|
|
15430
15428
|
var import_protobuf45 = require("@bufbuild/protobuf");
|
|
15431
15429
|
|
|
15432
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
15433
|
-
var digest66 = "
|
|
15430
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-oZ7ERSW59QcP/sdk/react/views/api-keys/list/api-keys.module.css.js
|
|
15431
|
+
var digest66 = "27a226f97290249234e362210585800d2ce6d5ad1138bd2767d8502a4d7e96d7";
|
|
15434
15432
|
var css66 = `._container_9t9jq_1 {
|
|
15435
15433
|
height: 100%;
|
|
15436
15434
|
width: 100%;
|
|
@@ -15510,7 +15508,7 @@ var css66 = `._container_9t9jq_1 {
|
|
|
15510
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" };
|
|
15511
15509
|
|
|
15512
15510
|
// react/views/api-keys/list/add-service-account-dialog.tsx
|
|
15513
|
-
var
|
|
15511
|
+
var import_jsx_runtime79 = require("react/jsx-runtime");
|
|
15514
15512
|
var DEFAULT_KEY_NAME = "Initial Generated Key";
|
|
15515
15513
|
var serviceAccountSchema = yup19.object({
|
|
15516
15514
|
title: yup19.string().required("Name is a required field"),
|
|
@@ -15547,7 +15545,7 @@ var AddServiceAccountDialog = ({
|
|
|
15547
15545
|
enabled: Boolean(orgId) && open
|
|
15548
15546
|
}
|
|
15549
15547
|
);
|
|
15550
|
-
const projects = (0,
|
|
15548
|
+
const projects = (0, import_react59.useMemo)(() => {
|
|
15551
15549
|
var _a2;
|
|
15552
15550
|
const list = (_a2 = projectsData == null ? void 0 : projectsData.projects) != null ? _a2 : [];
|
|
15553
15551
|
return (0, import_lodash3.orderBy)(list, ["title"], ["asc"]);
|
|
@@ -15561,7 +15559,7 @@ var AddServiceAccountDialog = ({
|
|
|
15561
15559
|
const { mutateAsync: createServiceUserToken } = (0, import_connect_query43.useMutation)(
|
|
15562
15560
|
import_frontier44.FrontierServiceQueries.createServiceUserToken
|
|
15563
15561
|
);
|
|
15564
|
-
const onSubmit = (0,
|
|
15562
|
+
const onSubmit = (0, import_react59.useCallback)(
|
|
15565
15563
|
(data) => __async(void 0, null, function* () {
|
|
15566
15564
|
var _a2;
|
|
15567
15565
|
if (!orgId)
|
|
@@ -15638,15 +15636,15 @@ var AddServiceAccountDialog = ({
|
|
|
15638
15636
|
onCreated
|
|
15639
15637
|
]
|
|
15640
15638
|
);
|
|
15641
|
-
return /* @__PURE__ */ (0,
|
|
15639
|
+
return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_apsara67.Dialog, { open, onOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
|
|
15642
15640
|
import_apsara67.Dialog.Content,
|
|
15643
15641
|
{
|
|
15644
15642
|
overlayClassName: api_keys_module_css_default2.overlay,
|
|
15645
15643
|
className: api_keys_module_css_default2.addDialogContent,
|
|
15646
|
-
children: /* @__PURE__ */ (0,
|
|
15647
|
-
/* @__PURE__ */ (0,
|
|
15648
|
-
/* @__PURE__ */ (0,
|
|
15649
|
-
/* @__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)(
|
|
15650
15648
|
import_apsara67.Image,
|
|
15651
15649
|
{
|
|
15652
15650
|
alt: "cross",
|
|
@@ -15657,14 +15655,14 @@ var AddServiceAccountDialog = ({
|
|
|
15657
15655
|
}
|
|
15658
15656
|
)
|
|
15659
15657
|
] }) }),
|
|
15660
|
-
/* @__PURE__ */ (0,
|
|
15661
|
-
/* @__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: [
|
|
15662
15660
|
"Create a dedicated service account to facilitate secure API interactions on behalf of the",
|
|
15663
15661
|
" ",
|
|
15664
15662
|
t.organization({ case: "lower" }),
|
|
15665
15663
|
"."
|
|
15666
15664
|
] }),
|
|
15667
|
-
isProjectsLoading ? /* @__PURE__ */ (0,
|
|
15665
|
+
isProjectsLoading ? /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_apsara67.Skeleton, { height: "25px" }) : /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
|
|
15668
15666
|
import_apsara67.InputField,
|
|
15669
15667
|
__spreadProps(__spreadValues({
|
|
15670
15668
|
label: "Name"
|
|
@@ -15674,20 +15672,20 @@ var AddServiceAccountDialog = ({
|
|
|
15674
15672
|
error: errors.title && String((_a = errors.title) == null ? void 0 : _a.message)
|
|
15675
15673
|
})
|
|
15676
15674
|
),
|
|
15677
|
-
/* @__PURE__ */ (0,
|
|
15678
|
-
/* @__PURE__ */ (0,
|
|
15679
|
-
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)(
|
|
15680
15678
|
import_react_hook_form19.Controller,
|
|
15681
15679
|
{
|
|
15682
15680
|
render: ({ field }) => {
|
|
15683
15681
|
const _a2 = field, { ref, onChange } = _a2, rest = __objRest(_a2, ["ref", "onChange"]);
|
|
15684
|
-
return /* @__PURE__ */ (0,
|
|
15682
|
+
return /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(
|
|
15685
15683
|
import_apsara67.Select,
|
|
15686
15684
|
__spreadProps(__spreadValues({}, rest), {
|
|
15687
15685
|
onValueChange: handleSelectValueChange(onChange),
|
|
15688
15686
|
children: [
|
|
15689
|
-
/* @__PURE__ */ (0,
|
|
15690
|
-
/* @__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)(
|
|
15691
15689
|
import_apsara67.Select.Item,
|
|
15692
15690
|
{
|
|
15693
15691
|
value: project.id || "",
|
|
@@ -15703,10 +15701,10 @@ var AddServiceAccountDialog = ({
|
|
|
15703
15701
|
control
|
|
15704
15702
|
}
|
|
15705
15703
|
),
|
|
15706
|
-
/* @__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) })
|
|
15707
15705
|
] })
|
|
15708
15706
|
] }) }),
|
|
15709
|
-
/* @__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)(
|
|
15710
15708
|
import_apsara67.Button,
|
|
15711
15709
|
{
|
|
15712
15710
|
variant: "solid",
|
|
@@ -15728,8 +15726,8 @@ var AddServiceAccountDialog = ({
|
|
|
15728
15726
|
// react/views/api-keys/list/delete-service-account-dialog.tsx
|
|
15729
15727
|
var import_apsara68 = require("@raystack/apsara");
|
|
15730
15728
|
|
|
15731
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
15732
|
-
var digest67 = "
|
|
15729
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-M4ZDUUO9vD0P/sdk/react/views/api-keys/list/api-keys.module.css.js
|
|
15730
|
+
var digest67 = "5366c0330b393731b42f3aff6f32a179f34ce42fc868dc2988a338f8ef305a31";
|
|
15733
15731
|
var css67 = `._container_9t9jq_1 {
|
|
15734
15732
|
height: 100%;
|
|
15735
15733
|
width: 100%;
|
|
@@ -15813,7 +15811,7 @@ var import_react_query12 = require("@tanstack/react-query");
|
|
|
15813
15811
|
var import_connect_query44 = require("@connectrpc/connect-query");
|
|
15814
15812
|
var import_frontier45 = require("@raystack/proton/frontier");
|
|
15815
15813
|
var import_protobuf46 = require("@bufbuild/protobuf");
|
|
15816
|
-
var
|
|
15814
|
+
var import_jsx_runtime80 = require("react/jsx-runtime");
|
|
15817
15815
|
var DeleteServiceAccountDialog = ({
|
|
15818
15816
|
open,
|
|
15819
15817
|
onOpenChange,
|
|
@@ -15855,15 +15853,15 @@ var DeleteServiceAccountDialog = ({
|
|
|
15855
15853
|
}
|
|
15856
15854
|
});
|
|
15857
15855
|
}
|
|
15858
|
-
return /* @__PURE__ */ (0,
|
|
15856
|
+
return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_apsara68.Dialog, { open, onOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(
|
|
15859
15857
|
import_apsara68.Dialog.Content,
|
|
15860
15858
|
{
|
|
15861
15859
|
overlayClassName: api_keys_module_css_default3.overlay,
|
|
15862
15860
|
className: api_keys_module_css_default3.addDialogContent,
|
|
15863
15861
|
children: [
|
|
15864
|
-
/* @__PURE__ */ (0,
|
|
15865
|
-
/* @__PURE__ */ (0,
|
|
15866
|
-
/* @__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)(
|
|
15867
15865
|
import_apsara68.Image,
|
|
15868
15866
|
{
|
|
15869
15867
|
alt: "cross",
|
|
@@ -15874,9 +15872,9 @@ var DeleteServiceAccountDialog = ({
|
|
|
15874
15872
|
}
|
|
15875
15873
|
)
|
|
15876
15874
|
] }) }),
|
|
15877
|
-
/* @__PURE__ */ (0,
|
|
15878
|
-
/* @__PURE__ */ (0,
|
|
15879
|
-
/* @__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)(
|
|
15880
15878
|
import_apsara68.Button,
|
|
15881
15879
|
{
|
|
15882
15880
|
variant: "outline",
|
|
@@ -15887,7 +15885,7 @@ var DeleteServiceAccountDialog = ({
|
|
|
15887
15885
|
children: "Cancel"
|
|
15888
15886
|
}
|
|
15889
15887
|
),
|
|
15890
|
-
/* @__PURE__ */ (0,
|
|
15888
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
|
|
15891
15889
|
import_apsara68.Button,
|
|
15892
15890
|
{
|
|
15893
15891
|
variant: "solid",
|
|
@@ -15908,18 +15906,18 @@ var DeleteServiceAccountDialog = ({
|
|
|
15908
15906
|
};
|
|
15909
15907
|
|
|
15910
15908
|
// react/views/api-keys/list/api-keys-list-page.tsx
|
|
15911
|
-
var
|
|
15909
|
+
var import_jsx_runtime81 = require("react/jsx-runtime");
|
|
15912
15910
|
var NoServiceAccounts = ({
|
|
15913
15911
|
onCreateClick
|
|
15914
15912
|
}) => {
|
|
15915
15913
|
const t = useTerminology();
|
|
15916
|
-
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)(
|
|
15917
15915
|
import_apsara69.EmptyState,
|
|
15918
15916
|
{
|
|
15919
|
-
icon: /* @__PURE__ */ (0,
|
|
15917
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_apsara69.Image, { src: key_default, alt: "keyIcon" }),
|
|
15920
15918
|
heading: "No service account found",
|
|
15921
15919
|
subHeading: `Create a new account to use the APIs of ${t.appName()} platform`,
|
|
15922
|
-
primaryAction: /* @__PURE__ */ (0,
|
|
15920
|
+
primaryAction: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
15923
15921
|
import_apsara69.Button,
|
|
15924
15922
|
{
|
|
15925
15923
|
"data-test-id": "frontier-sdk-new-service-account-btn",
|
|
@@ -15933,10 +15931,10 @@ var NoServiceAccounts = ({
|
|
|
15933
15931
|
) });
|
|
15934
15932
|
};
|
|
15935
15933
|
var NoAccess = () => {
|
|
15936
|
-
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)(
|
|
15937
15935
|
import_apsara69.EmptyState,
|
|
15938
15936
|
{
|
|
15939
|
-
icon: /* @__PURE__ */ (0,
|
|
15937
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(ExclamationTriangleIcon, {}),
|
|
15940
15938
|
heading: "Restricted Access",
|
|
15941
15939
|
subHeading: "Admin access required, please reach out to your admin incase you want to generate a key"
|
|
15942
15940
|
}
|
|
@@ -15945,12 +15943,12 @@ var NoAccess = () => {
|
|
|
15945
15943
|
var ApiKeysHeader = ({ isLoading }) => {
|
|
15946
15944
|
const t = useTerminology();
|
|
15947
15945
|
if (isLoading) {
|
|
15948
|
-
return /* @__PURE__ */ (0,
|
|
15949
|
-
/* @__PURE__ */ (0,
|
|
15950
|
-
/* @__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, {})
|
|
15951
15949
|
] });
|
|
15952
15950
|
}
|
|
15953
|
-
return /* @__PURE__ */ (0,
|
|
15951
|
+
return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
15954
15952
|
PageHeader,
|
|
15955
15953
|
{
|
|
15956
15954
|
title: "API Keys",
|
|
@@ -15960,7 +15958,7 @@ var ApiKeysHeader = ({ isLoading }) => {
|
|
|
15960
15958
|
};
|
|
15961
15959
|
var useAccess = (orgId) => {
|
|
15962
15960
|
const resource = `app/organization:${orgId}`;
|
|
15963
|
-
const listOfPermissionsToCheck = (0,
|
|
15961
|
+
const listOfPermissionsToCheck = (0, import_react60.useMemo)(() => {
|
|
15964
15962
|
return [
|
|
15965
15963
|
{
|
|
15966
15964
|
permission: PERMISSIONS.UpdatePermission,
|
|
@@ -15972,7 +15970,7 @@ var useAccess = (orgId) => {
|
|
|
15972
15970
|
listOfPermissionsToCheck,
|
|
15973
15971
|
!!orgId
|
|
15974
15972
|
);
|
|
15975
|
-
const canUpdateWorkspace = (0,
|
|
15973
|
+
const canUpdateWorkspace = (0, import_react60.useMemo)(() => {
|
|
15976
15974
|
return shouldShowComponent(
|
|
15977
15975
|
permissions,
|
|
15978
15976
|
`${PERMISSIONS.UpdatePermission}::${resource}`
|
|
@@ -15995,7 +15993,7 @@ var ServiceAccountsTable = ({
|
|
|
15995
15993
|
dateFormat: dateFormat || DEFAULT_DATE_FORMAT,
|
|
15996
15994
|
onDeleteClick
|
|
15997
15995
|
});
|
|
15998
|
-
return /* @__PURE__ */ (0,
|
|
15996
|
+
return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
15999
15997
|
import_apsara69.DataTable,
|
|
16000
15998
|
{
|
|
16001
15999
|
data: serviceUsers,
|
|
@@ -16004,10 +16002,10 @@ var ServiceAccountsTable = ({
|
|
|
16004
16002
|
defaultSort: { name: "createdAt", order: "desc" },
|
|
16005
16003
|
mode: "client",
|
|
16006
16004
|
onRowClick: (row) => onServiceAccountClick == null ? void 0 : onServiceAccountClick(row.id),
|
|
16007
|
-
children: /* @__PURE__ */ (0,
|
|
16008
|
-
/* @__PURE__ */ (0,
|
|
16009
|
-
/* @__PURE__ */ (0,
|
|
16010
|
-
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)(
|
|
16011
16009
|
import_apsara69.Button,
|
|
16012
16010
|
{
|
|
16013
16011
|
variant: "solid",
|
|
@@ -16018,7 +16016,7 @@ var ServiceAccountsTable = ({
|
|
|
16018
16016
|
}
|
|
16019
16017
|
)
|
|
16020
16018
|
] }),
|
|
16021
|
-
/* @__PURE__ */ (0,
|
|
16019
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
16022
16020
|
import_apsara69.DataTable.Content,
|
|
16023
16021
|
{
|
|
16024
16022
|
classNames: {
|
|
@@ -16052,7 +16050,7 @@ function ApiKeysListPage({
|
|
|
16052
16050
|
enabled: Boolean(organization == null ? void 0 : organization.id) && canUpdateWorkspace
|
|
16053
16051
|
}
|
|
16054
16052
|
);
|
|
16055
|
-
const serviceUsers = (0,
|
|
16053
|
+
const serviceUsers = (0, import_react60.useMemo)(
|
|
16056
16054
|
() => {
|
|
16057
16055
|
var _a2;
|
|
16058
16056
|
return (_a2 = serviceUsersData == null ? void 0 : serviceUsersData.serviceusers) != null ? _a2 : [];
|
|
@@ -16061,8 +16059,8 @@ function ApiKeysListPage({
|
|
|
16061
16059
|
);
|
|
16062
16060
|
const isLoading = isActiveOrganizationLoading || isPermissionsFetching || isServiceUsersLoading;
|
|
16063
16061
|
const serviceAccountsCount = serviceUsers == null ? void 0 : serviceUsers.length;
|
|
16064
|
-
const [showAddDialog, setShowAddDialog] = (0,
|
|
16065
|
-
const [deleteState, setDeleteState] = (0,
|
|
16062
|
+
const [showAddDialog, setShowAddDialog] = (0, import_react60.useState)(false);
|
|
16063
|
+
const [deleteState, setDeleteState] = (0, import_react60.useState)({
|
|
16066
16064
|
open: false,
|
|
16067
16065
|
serviceAccountId: ""
|
|
16068
16066
|
});
|
|
@@ -16083,30 +16081,30 @@ function ApiKeysListPage({
|
|
|
16083
16081
|
setShowAddDialog(false);
|
|
16084
16082
|
onServiceAccountClick == null ? void 0 : onServiceAccountClick(serviceUserId);
|
|
16085
16083
|
};
|
|
16086
|
-
return /* @__PURE__ */ (0,
|
|
16087
|
-
/* @__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)(
|
|
16088
16086
|
import_apsara69.Flex,
|
|
16089
16087
|
{
|
|
16090
16088
|
direction: "column",
|
|
16091
16089
|
className: `${styles_module_css_default15.container} ${styles_module_css_default15.containerFlex}`,
|
|
16092
16090
|
children: [
|
|
16093
|
-
/* @__PURE__ */ (0,
|
|
16091
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
16094
16092
|
import_apsara69.Flex,
|
|
16095
16093
|
{
|
|
16096
16094
|
direction: "row",
|
|
16097
16095
|
justify: "between",
|
|
16098
16096
|
align: "center",
|
|
16099
16097
|
className: styles_module_css_default15.header,
|
|
16100
|
-
children: /* @__PURE__ */ (0,
|
|
16098
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(ApiKeysHeader, { isLoading })
|
|
16101
16099
|
}
|
|
16102
16100
|
),
|
|
16103
|
-
canUpdateWorkspace || isLoading ? serviceAccountsCount > 0 || isLoading ? /* @__PURE__ */ (0,
|
|
16101
|
+
canUpdateWorkspace || isLoading ? serviceAccountsCount > 0 || isLoading ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
16104
16102
|
import_apsara69.Flex,
|
|
16105
16103
|
{
|
|
16106
16104
|
direction: "column",
|
|
16107
16105
|
gap: 9,
|
|
16108
16106
|
className: styles_module_css_default15.contentWrapper,
|
|
16109
|
-
children: /* @__PURE__ */ (0,
|
|
16107
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
16110
16108
|
ServiceAccountsTable,
|
|
16111
16109
|
{
|
|
16112
16110
|
isLoading,
|
|
@@ -16118,11 +16116,11 @@ function ApiKeysListPage({
|
|
|
16118
16116
|
}
|
|
16119
16117
|
)
|
|
16120
16118
|
}
|
|
16121
|
-
) : /* @__PURE__ */ (0,
|
|
16119
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(NoServiceAccounts, { onCreateClick: () => setShowAddDialog(true) }) : /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(NoAccess, {})
|
|
16122
16120
|
]
|
|
16123
16121
|
}
|
|
16124
16122
|
),
|
|
16125
|
-
/* @__PURE__ */ (0,
|
|
16123
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
16126
16124
|
AddServiceAccountDialog,
|
|
16127
16125
|
{
|
|
16128
16126
|
open: showAddDialog,
|
|
@@ -16130,7 +16128,7 @@ function ApiKeysListPage({
|
|
|
16130
16128
|
onCreated: handleCreated
|
|
16131
16129
|
}
|
|
16132
16130
|
),
|
|
16133
|
-
/* @__PURE__ */ (0,
|
|
16131
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
16134
16132
|
DeleteServiceAccountDialog,
|
|
16135
16133
|
{
|
|
16136
16134
|
open: deleteState.open,
|
|
@@ -16142,18 +16140,18 @@ function ApiKeysListPage({
|
|
|
16142
16140
|
}
|
|
16143
16141
|
|
|
16144
16142
|
// react/views/api-keys/details/service-user-detail-page.tsx
|
|
16145
|
-
var
|
|
16143
|
+
var import_react65 = require("react");
|
|
16146
16144
|
var import_apsara73 = require("@raystack/apsara");
|
|
16147
16145
|
|
|
16148
16146
|
// react/views/api-keys/details/add-service-user-token.tsx
|
|
16149
16147
|
var yup20 = __toESM(require("yup"));
|
|
16150
16148
|
var import_yup20 = require("@hookform/resolvers/yup");
|
|
16151
16149
|
var import_react_hook_form20 = require("react-hook-form");
|
|
16152
|
-
var
|
|
16150
|
+
var import_react61 = require("react");
|
|
16153
16151
|
var import_apsara70 = require("@raystack/apsara");
|
|
16154
16152
|
|
|
16155
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
16156
|
-
var digest68 = "
|
|
16153
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-zQZUu75phUox/sdk/react/views/api-keys/details/service-user.module.css.js
|
|
16154
|
+
var digest68 = "d6a0587e5696e4d6e2a4e38cce43f47c8cafa0e04b2d141dc2679c07eaea4b70";
|
|
16157
16155
|
var css68 = `._flex1_3g15z_1 {
|
|
16158
16156
|
flex: 1;
|
|
16159
16157
|
}
|
|
@@ -16265,7 +16263,7 @@ var service_user_module_css_default = { "flex1": "_flex1_3g15z_1", "content": "_
|
|
|
16265
16263
|
var import_connect_query46 = require("@connectrpc/connect-query");
|
|
16266
16264
|
var import_protobuf48 = require("@bufbuild/protobuf");
|
|
16267
16265
|
var import_frontier47 = require("@raystack/proton/frontier");
|
|
16268
|
-
var
|
|
16266
|
+
var import_jsx_runtime82 = require("react/jsx-runtime");
|
|
16269
16267
|
var serviceAccountSchema2 = yup20.object({
|
|
16270
16268
|
title: yup20.string().required("Name is a required field")
|
|
16271
16269
|
}).required();
|
|
@@ -16287,7 +16285,7 @@ function AddServiceUserToken({
|
|
|
16287
16285
|
const { mutateAsync: createServiceUserToken } = (0, import_connect_query46.useMutation)(
|
|
16288
16286
|
import_frontier47.FrontierServiceQueries.createServiceUserToken
|
|
16289
16287
|
);
|
|
16290
|
-
const onSubmit = (0,
|
|
16288
|
+
const onSubmit = (0, import_react61.useCallback)(
|
|
16291
16289
|
(data) => __async(this, null, function* () {
|
|
16292
16290
|
try {
|
|
16293
16291
|
const response = yield createServiceUserToken(
|
|
@@ -16309,8 +16307,8 @@ function AddServiceUserToken({
|
|
|
16309
16307
|
}),
|
|
16310
16308
|
[createServiceUserToken, onAddToken, serviceUserId, orgId]
|
|
16311
16309
|
);
|
|
16312
|
-
return /* @__PURE__ */ (0,
|
|
16313
|
-
/* @__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)(
|
|
16314
16312
|
import_apsara70.InputField,
|
|
16315
16313
|
__spreadProps(__spreadValues({}, register("title")), {
|
|
16316
16314
|
size: "large",
|
|
@@ -16318,7 +16316,7 @@ function AddServiceUserToken({
|
|
|
16318
16316
|
error: errors.title && String((_a = errors.title) == null ? void 0 : _a.message)
|
|
16319
16317
|
})
|
|
16320
16318
|
),
|
|
16321
|
-
/* @__PURE__ */ (0,
|
|
16319
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
|
|
16322
16320
|
import_apsara70.Button,
|
|
16323
16321
|
{
|
|
16324
16322
|
"data-test-id": "frontier-sdk-api-keys-new-token-btn",
|
|
@@ -16333,9 +16331,9 @@ function AddServiceUserToken({
|
|
|
16333
16331
|
}
|
|
16334
16332
|
|
|
16335
16333
|
// react/hooks/useCopyToClipboard.ts
|
|
16336
|
-
var
|
|
16334
|
+
var import_react62 = require("react");
|
|
16337
16335
|
var useCopyToClipboard = () => {
|
|
16338
|
-
const [copiedText, setCopiedText] = (0,
|
|
16336
|
+
const [copiedText, setCopiedText] = (0, import_react62.useState)("");
|
|
16339
16337
|
const copy = (text) => __async(void 0, null, function* () {
|
|
16340
16338
|
if (!(navigator == null ? void 0 : navigator.clipboard)) {
|
|
16341
16339
|
console.warn("Clipboard not supported");
|
|
@@ -16361,7 +16359,7 @@ var import_frontier51 = require("@raystack/proton/frontier");
|
|
|
16361
16359
|
|
|
16362
16360
|
// react/views/api-keys/hooks/useServiceUserTokens.ts
|
|
16363
16361
|
var import_connect_query47 = require("@connectrpc/connect-query");
|
|
16364
|
-
var
|
|
16362
|
+
var import_react63 = require("react");
|
|
16365
16363
|
var import_react_query13 = require("@tanstack/react-query");
|
|
16366
16364
|
var import_protobuf49 = require("@bufbuild/protobuf");
|
|
16367
16365
|
var import_frontier48 = require("@raystack/proton/frontier");
|
|
@@ -16382,7 +16380,7 @@ var useServiceUserTokens = ({
|
|
|
16382
16380
|
enabled: Boolean(id) && Boolean(orgId) && Boolean(enableFetch)
|
|
16383
16381
|
}
|
|
16384
16382
|
);
|
|
16385
|
-
const tokens = (0,
|
|
16383
|
+
const tokens = (0, import_react63.useMemo)(() => {
|
|
16386
16384
|
var _a;
|
|
16387
16385
|
return (_a = tokensData == null ? void 0 : tokensData.tokens) != null ? _a : [];
|
|
16388
16386
|
}, [tokensData]);
|
|
@@ -16435,10 +16433,10 @@ var useServiceUserTokens = ({
|
|
|
16435
16433
|
|
|
16436
16434
|
// react/views/api-keys/details/manage-service-user-projects-dialog.tsx
|
|
16437
16435
|
var import_apsara71 = require("@raystack/apsara");
|
|
16438
|
-
var
|
|
16436
|
+
var import_react64 = require("react");
|
|
16439
16437
|
|
|
16440
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
16441
|
-
var digest69 = "
|
|
16438
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-79dFWAK24NVV/sdk/react/views/api-keys/details/service-user.module.css.js
|
|
16439
|
+
var digest69 = "cdab6cfb4487b65264adefce98c78bff8105806cca7315d769559693ba1c84c6";
|
|
16442
16440
|
var css69 = `._flex1_3g15z_1 {
|
|
16443
16441
|
flex: 1;
|
|
16444
16442
|
}
|
|
@@ -16551,7 +16549,7 @@ var import_connect_query48 = require("@connectrpc/connect-query");
|
|
|
16551
16549
|
var import_protobuf50 = require("@bufbuild/protobuf");
|
|
16552
16550
|
var import_frontier49 = require("@raystack/proton/frontier");
|
|
16553
16551
|
var import_lodash4 = require("lodash");
|
|
16554
|
-
var
|
|
16552
|
+
var import_jsx_runtime83 = require("react/jsx-runtime");
|
|
16555
16553
|
var getColumns10 = ({
|
|
16556
16554
|
permMap,
|
|
16557
16555
|
onChange
|
|
@@ -16570,7 +16568,7 @@ var getColumns10 = ({
|
|
|
16570
16568
|
cell: ({ getValue }) => {
|
|
16571
16569
|
const projectId = getValue();
|
|
16572
16570
|
const { value, isLoading } = permMap[projectId] || {};
|
|
16573
|
-
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)(
|
|
16574
16572
|
import_apsara71.Checkbox,
|
|
16575
16573
|
{
|
|
16576
16574
|
checked: value,
|
|
@@ -16584,14 +16582,14 @@ var getColumns10 = ({
|
|
|
16584
16582
|
accessorKey: "title",
|
|
16585
16583
|
cell: ({ getValue }) => {
|
|
16586
16584
|
const value = getValue();
|
|
16587
|
-
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 }) });
|
|
16588
16586
|
}
|
|
16589
16587
|
},
|
|
16590
16588
|
{
|
|
16591
16589
|
header: "Access",
|
|
16592
16590
|
accessorKey: "id",
|
|
16593
16591
|
enableSorting: false,
|
|
16594
|
-
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" }) })
|
|
16595
16593
|
}
|
|
16596
16594
|
];
|
|
16597
16595
|
};
|
|
@@ -16601,7 +16599,7 @@ function ManageServiceUserProjectsDialog({
|
|
|
16601
16599
|
serviceUserId
|
|
16602
16600
|
}) {
|
|
16603
16601
|
const { activeOrganization: organization } = useFrontier();
|
|
16604
|
-
const [addedProjectsMap, setAddedProjectsMap] = (0,
|
|
16602
|
+
const [addedProjectsMap, setAddedProjectsMap] = (0, import_react64.useState)(
|
|
16605
16603
|
{}
|
|
16606
16604
|
);
|
|
16607
16605
|
const handleClose = () => onOpenChange == null ? void 0 : onOpenChange(false);
|
|
@@ -16617,7 +16615,7 @@ function ManageServiceUserProjectsDialog({
|
|
|
16617
16615
|
enabled: Boolean(orgId) && open
|
|
16618
16616
|
}
|
|
16619
16617
|
);
|
|
16620
|
-
const projects = (0,
|
|
16618
|
+
const projects = (0, import_react64.useMemo)(() => {
|
|
16621
16619
|
var _a;
|
|
16622
16620
|
const list = (_a = projectsData == null ? void 0 : projectsData.projects) != null ? _a : [];
|
|
16623
16621
|
return (0, import_lodash4.orderBy)(list, ["title"], ["asc"]);
|
|
@@ -16633,14 +16631,14 @@ function ManageServiceUserProjectsDialog({
|
|
|
16633
16631
|
enabled: Boolean(serviceUserId) && Boolean(orgId) && open
|
|
16634
16632
|
}
|
|
16635
16633
|
);
|
|
16636
|
-
const addedProjects = (0,
|
|
16634
|
+
const addedProjects = (0, import_react64.useMemo)(
|
|
16637
16635
|
() => {
|
|
16638
16636
|
var _a;
|
|
16639
16637
|
return (_a = addedProjectsData == null ? void 0 : addedProjectsData.projects) != null ? _a : [];
|
|
16640
16638
|
},
|
|
16641
16639
|
[addedProjectsData]
|
|
16642
16640
|
);
|
|
16643
|
-
(0,
|
|
16641
|
+
(0, import_react64.useEffect)(() => {
|
|
16644
16642
|
const permMap = addedProjects.reduce((acc, proj) => {
|
|
16645
16643
|
acc[(proj == null ? void 0 : proj.id) || ""] = { value: true, isLoading: false };
|
|
16646
16644
|
return acc;
|
|
@@ -16656,7 +16654,7 @@ function ManageServiceUserProjectsDialog({
|
|
|
16656
16654
|
const { mutateAsync: deletePolicy } = (0, import_connect_query48.useMutation)(
|
|
16657
16655
|
import_frontier49.FrontierServiceQueries.deletePolicy
|
|
16658
16656
|
);
|
|
16659
|
-
const onAccessChange = (0,
|
|
16657
|
+
const onAccessChange = (0, import_react64.useCallback)(
|
|
16660
16658
|
(projectId, value) => __async(this, null, function* () {
|
|
16661
16659
|
try {
|
|
16662
16660
|
setAddedProjectsMap((prev) => __spreadProps(__spreadValues({}, prev), {
|
|
@@ -16715,15 +16713,15 @@ function ManageServiceUserProjectsDialog({
|
|
|
16715
16713
|
});
|
|
16716
16714
|
const data = projects || [];
|
|
16717
16715
|
const isLoading = isProjectsLoading || isAddedProjectsLoading;
|
|
16718
|
-
return /* @__PURE__ */ (0,
|
|
16716
|
+
return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_apsara71.Dialog, { open, onOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(
|
|
16719
16717
|
import_apsara71.Dialog.Content,
|
|
16720
16718
|
{
|
|
16721
16719
|
overlayClassName: service_user_module_css_default2.overlay,
|
|
16722
16720
|
className: service_user_module_css_default2.manageProjectDialogContent,
|
|
16723
16721
|
children: [
|
|
16724
|
-
/* @__PURE__ */ (0,
|
|
16725
|
-
/* @__PURE__ */ (0,
|
|
16726
|
-
/* @__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)(
|
|
16727
16725
|
import_apsara71.Image,
|
|
16728
16726
|
{
|
|
16729
16727
|
alt: "cross",
|
|
@@ -16734,15 +16732,15 @@ function ManageServiceUserProjectsDialog({
|
|
|
16734
16732
|
}
|
|
16735
16733
|
)
|
|
16736
16734
|
] }) }),
|
|
16737
|
-
/* @__PURE__ */ (0,
|
|
16735
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_apsara71.Dialog.Body, { children: /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(
|
|
16738
16736
|
import_apsara71.Flex,
|
|
16739
16737
|
{
|
|
16740
16738
|
className: service_user_module_css_default2.manageProjectDialogWrapper,
|
|
16741
16739
|
gap: 9,
|
|
16742
16740
|
direction: "column",
|
|
16743
16741
|
children: [
|
|
16744
|
-
/* @__PURE__ */ (0,
|
|
16745
|
-
/* @__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)(
|
|
16746
16744
|
import_apsara71.DataTable,
|
|
16747
16745
|
{
|
|
16748
16746
|
columns,
|
|
@@ -16750,7 +16748,7 @@ function ManageServiceUserProjectsDialog({
|
|
|
16750
16748
|
isLoading,
|
|
16751
16749
|
mode: "client",
|
|
16752
16750
|
defaultSort: { name: "name", order: "asc" },
|
|
16753
|
-
children: /* @__PURE__ */ (0,
|
|
16751
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_apsara71.DataTable.Content, { classNames: { root: service_user_module_css_default2.tableRoot } })
|
|
16754
16752
|
}
|
|
16755
16753
|
)
|
|
16756
16754
|
]
|
|
@@ -16764,8 +16762,8 @@ function ManageServiceUserProjectsDialog({
|
|
|
16764
16762
|
// react/views/api-keys/details/delete-service-user-key-dialog.tsx
|
|
16765
16763
|
var import_apsara72 = require("@raystack/apsara");
|
|
16766
16764
|
|
|
16767
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
16768
|
-
var digest70 = "
|
|
16765
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-ILYKXUCRRU5j/sdk/react/views/api-keys/details/service-user.module.css.js
|
|
16766
|
+
var digest70 = "575208213fac684a3f9d0eef8447ca4c93735b0e6d7bd014c9ec4b2b9339a1fc";
|
|
16769
16767
|
var css70 = `._flex1_3g15z_1 {
|
|
16770
16768
|
flex: 1;
|
|
16771
16769
|
}
|
|
@@ -16877,7 +16875,7 @@ var service_user_module_css_default3 = { "flex1": "_flex1_3g15z_1", "content": "
|
|
|
16877
16875
|
var import_connect_query49 = require("@connectrpc/connect-query");
|
|
16878
16876
|
var import_frontier50 = require("@raystack/proton/frontier");
|
|
16879
16877
|
var import_protobuf51 = require("@bufbuild/protobuf");
|
|
16880
|
-
var
|
|
16878
|
+
var import_jsx_runtime84 = require("react/jsx-runtime");
|
|
16881
16879
|
var DeleteServiceUserKeyDialog = ({
|
|
16882
16880
|
open,
|
|
16883
16881
|
onOpenChange,
|
|
@@ -16916,15 +16914,15 @@ var DeleteServiceUserKeyDialog = ({
|
|
|
16916
16914
|
});
|
|
16917
16915
|
}
|
|
16918
16916
|
const t = useTerminology();
|
|
16919
|
-
return /* @__PURE__ */ (0,
|
|
16917
|
+
return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_apsara72.Dialog, { open, onOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
|
|
16920
16918
|
import_apsara72.Dialog.Content,
|
|
16921
16919
|
{
|
|
16922
16920
|
overlayClassName: service_user_module_css_default3.overlay,
|
|
16923
16921
|
className: service_user_module_css_default3.addDialogContent,
|
|
16924
16922
|
children: [
|
|
16925
|
-
/* @__PURE__ */ (0,
|
|
16926
|
-
/* @__PURE__ */ (0,
|
|
16927
|
-
/* @__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)(
|
|
16928
16926
|
import_apsara72.Image,
|
|
16929
16927
|
{
|
|
16930
16928
|
alt: "cross",
|
|
@@ -16935,13 +16933,13 @@ var DeleteServiceUserKeyDialog = ({
|
|
|
16935
16933
|
}
|
|
16936
16934
|
)
|
|
16937
16935
|
] }) }),
|
|
16938
|
-
/* @__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: [
|
|
16939
16937
|
"This is an irreversible action doing this might lead to discontinuation of access to the ",
|
|
16940
16938
|
t.appName(),
|
|
16941
16939
|
" features. Do you wish to proceed?"
|
|
16942
16940
|
] }) }) }),
|
|
16943
|
-
/* @__PURE__ */ (0,
|
|
16944
|
-
/* @__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)(
|
|
16945
16943
|
import_apsara72.Button,
|
|
16946
16944
|
{
|
|
16947
16945
|
variant: "outline",
|
|
@@ -16952,7 +16950,7 @@ var DeleteServiceUserKeyDialog = ({
|
|
|
16952
16950
|
children: "Cancel"
|
|
16953
16951
|
}
|
|
16954
16952
|
),
|
|
16955
|
-
/* @__PURE__ */ (0,
|
|
16953
|
+
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
|
|
16956
16954
|
import_apsara72.Button,
|
|
16957
16955
|
{
|
|
16958
16956
|
variant: "solid",
|
|
@@ -16972,8 +16970,8 @@ var DeleteServiceUserKeyDialog = ({
|
|
|
16972
16970
|
) });
|
|
16973
16971
|
};
|
|
16974
16972
|
|
|
16975
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
16976
|
-
var digest71 = "
|
|
16973
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-NedVDlHr87xi/sdk/react/components/organization/styles.module.css.js
|
|
16974
|
+
var digest71 = "ee9069f533380a09a4fb358562f6c29e3c444274e937ab35b1b5e16e7da4ac99";
|
|
16977
16975
|
var css71 = `._header_11okm_1 {
|
|
16978
16976
|
margin-bottom: var(--rs-space-9);
|
|
16979
16977
|
}
|
|
@@ -17016,8 +17014,8 @@ var css71 = `._header_11okm_1 {
|
|
|
17016
17014
|
})();
|
|
17017
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" };
|
|
17018
17016
|
|
|
17019
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
17020
|
-
var digest72 = "
|
|
17017
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-zIMN904z6KXE/sdk/react/views/api-keys/details/service-user.module.css.js
|
|
17018
|
+
var digest72 = "f26c16027abc793d69442bc460eb5a2d9b7c12d0c4233c50e4afa321c5ad9f2e";
|
|
17021
17019
|
var css72 = `._flex1_3g15z_1 {
|
|
17022
17020
|
flex: 1;
|
|
17023
17021
|
}
|
|
@@ -17126,17 +17124,17 @@ var css72 = `._flex1_3g15z_1 {
|
|
|
17126
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" };
|
|
17127
17125
|
|
|
17128
17126
|
// react/views/api-keys/details/service-user-detail-page.tsx
|
|
17129
|
-
var
|
|
17127
|
+
var import_jsx_runtime85 = require("react/jsx-runtime");
|
|
17130
17128
|
var Headings = ({
|
|
17131
17129
|
isLoading,
|
|
17132
17130
|
name,
|
|
17133
17131
|
onManageAccessClick
|
|
17134
17132
|
}) => {
|
|
17135
17133
|
const t = useTerminology();
|
|
17136
|
-
return /* @__PURE__ */ (0,
|
|
17137
|
-
isLoading ? /* @__PURE__ */ (0,
|
|
17138
|
-
/* @__PURE__ */ (0,
|
|
17139
|
-
/* @__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)(
|
|
17140
17138
|
import_apsara73.Button,
|
|
17141
17139
|
{
|
|
17142
17140
|
variant: "outline",
|
|
@@ -17147,7 +17145,7 @@ var Headings = ({
|
|
|
17147
17145
|
}
|
|
17148
17146
|
)
|
|
17149
17147
|
] }),
|
|
17150
|
-
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: [
|
|
17151
17149
|
"Create API key for accessing ",
|
|
17152
17150
|
t.appName(),
|
|
17153
17151
|
" and its features"
|
|
@@ -17159,7 +17157,7 @@ var ServiceUserTokenItem = ({
|
|
|
17159
17157
|
isLoading,
|
|
17160
17158
|
onRevokeClick
|
|
17161
17159
|
}) => {
|
|
17162
|
-
const [isCopied, setIsCopied] = (0,
|
|
17160
|
+
const [isCopied, setIsCopied] = (0, import_react65.useState)(false);
|
|
17163
17161
|
const { copy } = useCopyToClipboard();
|
|
17164
17162
|
const encodedToken = "Basic " + btoa(`${token == null ? void 0 : token.id}:${token == null ? void 0 : token.token}`);
|
|
17165
17163
|
function onCopy() {
|
|
@@ -17173,13 +17171,13 @@ var ServiceUserTokenItem = ({
|
|
|
17173
17171
|
}
|
|
17174
17172
|
});
|
|
17175
17173
|
}
|
|
17176
|
-
return /* @__PURE__ */ (0,
|
|
17177
|
-
/* @__PURE__ */ (0,
|
|
17178
|
-
/* @__PURE__ */ (0,
|
|
17179
|
-
/* @__PURE__ */ (0,
|
|
17180
|
-
] }) : /* @__PURE__ */ (0,
|
|
17181
|
-
/* @__PURE__ */ (0,
|
|
17182
|
-
/* @__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)(
|
|
17183
17181
|
import_apsara73.Button,
|
|
17184
17182
|
{
|
|
17185
17183
|
variant: "outline",
|
|
@@ -17191,11 +17189,11 @@ var ServiceUserTokenItem = ({
|
|
|
17191
17189
|
}
|
|
17192
17190
|
)
|
|
17193
17191
|
] }) }),
|
|
17194
|
-
(token == null ? void 0 : token.token) ? /* @__PURE__ */ (0,
|
|
17195
|
-
/* @__PURE__ */ (0,
|
|
17196
|
-
/* @__PURE__ */ (0,
|
|
17197
|
-
/* @__PURE__ */ (0,
|
|
17198
|
-
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)(
|
|
17199
17197
|
CopyIcon,
|
|
17200
17198
|
{
|
|
17201
17199
|
onClick: onCopy,
|
|
@@ -17217,7 +17215,7 @@ var SerivceUserTokenList = ({
|
|
|
17217
17215
|
(_5, i) => ({ id: i.toString() })
|
|
17218
17216
|
)
|
|
17219
17217
|
] : tokens;
|
|
17220
|
-
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)(
|
|
17221
17219
|
ServiceUserTokenItem,
|
|
17222
17220
|
{
|
|
17223
17221
|
token,
|
|
@@ -17255,8 +17253,8 @@ function ServiceUserDetailPage({
|
|
|
17255
17253
|
enableFetch: enableTokensFetch
|
|
17256
17254
|
});
|
|
17257
17255
|
const isLoading = isServiceUserLoading || isServiceUserTokensLoading;
|
|
17258
|
-
const [showProjectsDialog, setShowProjectsDialog] = (0,
|
|
17259
|
-
const [deleteKeyState, setDeleteKeyState] = (0,
|
|
17256
|
+
const [showProjectsDialog, setShowProjectsDialog] = (0, import_react65.useState)(false);
|
|
17257
|
+
const [deleteKeyState, setDeleteKeyState] = (0, import_react65.useState)({
|
|
17260
17258
|
open: false,
|
|
17261
17259
|
tokenId: ""
|
|
17262
17260
|
});
|
|
@@ -17270,10 +17268,10 @@ function ServiceUserDetailPage({
|
|
|
17270
17268
|
const handleRevokeClick = (tokenId) => {
|
|
17271
17269
|
setDeleteKeyState({ open: true, tokenId });
|
|
17272
17270
|
};
|
|
17273
|
-
return /* @__PURE__ */ (0,
|
|
17274
|
-
/* @__PURE__ */ (0,
|
|
17275
|
-
/* @__PURE__ */ (0,
|
|
17276
|
-
/* @__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)(
|
|
17277
17275
|
import_apsara73.Image,
|
|
17278
17276
|
{
|
|
17279
17277
|
alt: "back-icon",
|
|
@@ -17283,15 +17281,15 @@ function ServiceUserDetailPage({
|
|
|
17283
17281
|
"data-test-id": "frontier-sdk-api-keys-page-back-link"
|
|
17284
17282
|
}
|
|
17285
17283
|
),
|
|
17286
|
-
/* @__PURE__ */ (0,
|
|
17284
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
17287
17285
|
PageHeader,
|
|
17288
17286
|
{
|
|
17289
17287
|
title: "API"
|
|
17290
17288
|
}
|
|
17291
17289
|
)
|
|
17292
17290
|
] }) }),
|
|
17293
|
-
/* @__PURE__ */ (0,
|
|
17294
|
-
/* @__PURE__ */ (0,
|
|
17291
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_apsara73.Flex, { direction: "column", gap: 9, children: [
|
|
17292
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
17295
17293
|
Headings,
|
|
17296
17294
|
{
|
|
17297
17295
|
isLoading,
|
|
@@ -17299,8 +17297,8 @@ function ServiceUserDetailPage({
|
|
|
17299
17297
|
onManageAccessClick: () => setShowProjectsDialog(true)
|
|
17300
17298
|
}
|
|
17301
17299
|
),
|
|
17302
|
-
/* @__PURE__ */ (0,
|
|
17303
|
-
/* @__PURE__ */ (0,
|
|
17300
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(AddServiceUserToken, { serviceUserId, onAddToken }),
|
|
17301
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
17304
17302
|
SerivceUserTokenList,
|
|
17305
17303
|
{
|
|
17306
17304
|
isLoading,
|
|
@@ -17310,7 +17308,7 @@ function ServiceUserDetailPage({
|
|
|
17310
17308
|
)
|
|
17311
17309
|
] })
|
|
17312
17310
|
] }),
|
|
17313
|
-
/* @__PURE__ */ (0,
|
|
17311
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
17314
17312
|
ManageServiceUserProjectsDialog,
|
|
17315
17313
|
{
|
|
17316
17314
|
open: showProjectsDialog,
|
|
@@ -17318,7 +17316,7 @@ function ServiceUserDetailPage({
|
|
|
17318
17316
|
serviceUserId
|
|
17319
17317
|
}
|
|
17320
17318
|
),
|
|
17321
|
-
/* @__PURE__ */ (0,
|
|
17319
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
17322
17320
|
DeleteServiceUserKeyDialog,
|
|
17323
17321
|
{
|
|
17324
17322
|
open: deleteKeyState.open,
|
|
@@ -17331,10 +17329,10 @@ function ServiceUserDetailPage({
|
|
|
17331
17329
|
}
|
|
17332
17330
|
|
|
17333
17331
|
// react/components/organization/api-keys/index.tsx
|
|
17334
|
-
var
|
|
17332
|
+
var import_jsx_runtime86 = require("react/jsx-runtime");
|
|
17335
17333
|
function APIKeys() {
|
|
17336
17334
|
const navigate = (0, import_react_router12.useNavigate)({ from: "/api-keys" });
|
|
17337
|
-
return /* @__PURE__ */ (0,
|
|
17335
|
+
return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
|
|
17338
17336
|
ApiKeysListPage,
|
|
17339
17337
|
{
|
|
17340
17338
|
onServiceAccountClick: (id) => navigate({
|
|
@@ -17347,13 +17345,13 @@ function APIKeys() {
|
|
|
17347
17345
|
|
|
17348
17346
|
// react/components/organization/api-keys/service-user/index.tsx
|
|
17349
17347
|
var import_react_router13 = require("@tanstack/react-router");
|
|
17350
|
-
var
|
|
17348
|
+
var import_jsx_runtime87 = require("react/jsx-runtime");
|
|
17351
17349
|
function ServiceUserPage() {
|
|
17352
17350
|
var _a;
|
|
17353
17351
|
const { id } = (0, import_react_router13.useParams)({ from: "/api-keys/$id" });
|
|
17354
17352
|
const navigate = (0, import_react_router13.useNavigate)({ from: "/api-keys/$id" });
|
|
17355
17353
|
const location = (0, import_react_router13.useLocation)();
|
|
17356
|
-
return /* @__PURE__ */ (0,
|
|
17354
|
+
return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
|
|
17357
17355
|
ServiceUserDetailPage,
|
|
17358
17356
|
{
|
|
17359
17357
|
serviceUserId: id,
|
|
@@ -17367,11 +17365,11 @@ function ServiceUserPage() {
|
|
|
17367
17365
|
var import_react_router14 = require("@tanstack/react-router");
|
|
17368
17366
|
|
|
17369
17367
|
// react/views/sessions/sessions-page.tsx
|
|
17370
|
-
var
|
|
17368
|
+
var import_react68 = require("react");
|
|
17371
17369
|
var import_apsara78 = require("@raystack/apsara");
|
|
17372
17370
|
|
|
17373
17371
|
// react/hooks/useSessions.ts
|
|
17374
|
-
var
|
|
17372
|
+
var import_react66 = require("react");
|
|
17375
17373
|
var import_connect_query51 = require("@connectrpc/connect-query");
|
|
17376
17374
|
var import_react_query14 = require("@tanstack/react-query");
|
|
17377
17375
|
var import_frontier52 = require("@raystack/proton/frontier");
|
|
@@ -17403,7 +17401,7 @@ var useSessions = () => {
|
|
|
17403
17401
|
const d = timestampToDayjs(updatedAt);
|
|
17404
17402
|
return d ? d.fromNow() : "Unknown";
|
|
17405
17403
|
};
|
|
17406
|
-
const sessions = (0,
|
|
17404
|
+
const sessions = (0, import_react66.useMemo)(
|
|
17407
17405
|
() => ((sessionsData == null ? void 0 : sessionsData.sessions) || []).map((session) => {
|
|
17408
17406
|
var _a, _b, _c, _d;
|
|
17409
17407
|
return {
|
|
@@ -17459,8 +17457,8 @@ var useSessions = () => {
|
|
|
17459
17457
|
};
|
|
17460
17458
|
};
|
|
17461
17459
|
|
|
17462
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
17463
|
-
var digest73 = "
|
|
17460
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-YZkfaouMZo0K/sdk/react/components/organization/styles.module.css.js
|
|
17461
|
+
var digest73 = "6cd2a24b510ee3b8bc04c91beed8a63e6299c2ab85f3c20ddc209af6c2ce590f";
|
|
17464
17462
|
var css73 = `._header_11okm_1 {
|
|
17465
17463
|
margin-bottom: var(--rs-space-9);
|
|
17466
17464
|
}
|
|
@@ -17506,8 +17504,8 @@ var styles_module_css_default17 = { "header": "_header_11okm_1", "container": "_
|
|
|
17506
17504
|
// react/views/sessions/session-skeleton.tsx
|
|
17507
17505
|
var import_apsara75 = require("@raystack/apsara");
|
|
17508
17506
|
|
|
17509
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
17510
|
-
var digest74 = "
|
|
17507
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-qKDRfLeThK5v/sdk/react/views/sessions/sessions.module.css.js
|
|
17508
|
+
var digest74 = "f803d49698ce40ad974748ef04409d6823f691dfa3d8a30122ddd1f38fa14c16";
|
|
17511
17509
|
var css74 = `._container_1rauv_1 {
|
|
17512
17510
|
padding: var(--rs-space-9) var(--rs-space-11);
|
|
17513
17511
|
max-height: 80vh;
|
|
@@ -17568,19 +17566,19 @@ var css74 = `._container_1rauv_1 {
|
|
|
17568
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" };
|
|
17569
17567
|
|
|
17570
17568
|
// react/views/sessions/session-skeleton.tsx
|
|
17571
|
-
var
|
|
17569
|
+
var import_jsx_runtime88 = require("react/jsx-runtime");
|
|
17572
17570
|
var SessionSkeleton = ({ count = 3 }) => {
|
|
17573
|
-
return /* @__PURE__ */ (0,
|
|
17574
|
-
/* @__PURE__ */ (0,
|
|
17575
|
-
/* @__PURE__ */ (0,
|
|
17576
|
-
/* @__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" }) })
|
|
17577
17575
|
] }),
|
|
17578
|
-
/* @__PURE__ */ (0,
|
|
17576
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_apsara75.Skeleton, { height: "32px", width: "64px", borderRadius: "var(--rs-radius-2)" })
|
|
17579
17577
|
] }, index)) });
|
|
17580
17578
|
};
|
|
17581
17579
|
|
|
17582
17580
|
// react/views/sessions/revoke-session-dialog.tsx
|
|
17583
|
-
var
|
|
17581
|
+
var import_react67 = require("react");
|
|
17584
17582
|
var import_apsara77 = require("@raystack/apsara");
|
|
17585
17583
|
var import_connect_query52 = require("@connectrpc/connect-query");
|
|
17586
17584
|
var import_frontier53 = require("@raystack/proton/frontier");
|
|
@@ -17588,8 +17586,8 @@ var import_frontier53 = require("@raystack/proton/frontier");
|
|
|
17588
17586
|
// react/views/sessions/revoke-session-final-confirm.tsx
|
|
17589
17587
|
var import_apsara76 = require("@raystack/apsara");
|
|
17590
17588
|
|
|
17591
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
17592
|
-
var digest75 = "
|
|
17589
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-tqobWjbNmxoH/sdk/react/views/sessions/sessions.module.css.js
|
|
17590
|
+
var digest75 = "6e1f063fe9177e1de8582b69c2de42b4a03b61bb18284d956f3f893987b14916";
|
|
17593
17591
|
var css75 = `._container_1rauv_1 {
|
|
17594
17592
|
padding: var(--rs-space-9) var(--rs-space-11);
|
|
17595
17593
|
max-height: 80vh;
|
|
@@ -17650,7 +17648,7 @@ var css75 = `._container_1rauv_1 {
|
|
|
17650
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" };
|
|
17651
17649
|
|
|
17652
17650
|
// react/views/sessions/revoke-session-final-confirm.tsx
|
|
17653
|
-
var
|
|
17651
|
+
var import_jsx_runtime89 = require("react/jsx-runtime");
|
|
17654
17652
|
var getErrorMessage2 = (error) => {
|
|
17655
17653
|
if (error && typeof error === "object" && "status" in error && error.status === 500) {
|
|
17656
17654
|
return "Something went wrong";
|
|
@@ -17674,18 +17672,18 @@ var RevokeSessionFinalConfirm = ({
|
|
|
17674
17672
|
});
|
|
17675
17673
|
}
|
|
17676
17674
|
});
|
|
17677
|
-
return /* @__PURE__ */ (0,
|
|
17675
|
+
return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_apsara76.Dialog, { open: isOpen, onOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(
|
|
17678
17676
|
import_apsara76.Dialog.Content,
|
|
17679
17677
|
{
|
|
17680
17678
|
style: { padding: 0, maxWidth: "400px", width: "100%" },
|
|
17681
17679
|
children: [
|
|
17682
|
-
/* @__PURE__ */ (0,
|
|
17683
|
-
/* @__PURE__ */ (0,
|
|
17684
|
-
/* @__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" })
|
|
17685
17683
|
] }),
|
|
17686
|
-
/* @__PURE__ */ (0,
|
|
17687
|
-
/* @__PURE__ */ (0,
|
|
17688
|
-
/* @__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)(
|
|
17689
17687
|
import_apsara76.Button,
|
|
17690
17688
|
{
|
|
17691
17689
|
variant: "outline",
|
|
@@ -17696,7 +17694,7 @@ var RevokeSessionFinalConfirm = ({
|
|
|
17696
17694
|
children: "Cancel"
|
|
17697
17695
|
}
|
|
17698
17696
|
),
|
|
17699
|
-
/* @__PURE__ */ (0,
|
|
17697
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
|
|
17700
17698
|
import_apsara76.Button,
|
|
17701
17699
|
{
|
|
17702
17700
|
variant: "solid",
|
|
@@ -17715,8 +17713,8 @@ var RevokeSessionFinalConfirm = ({
|
|
|
17715
17713
|
) });
|
|
17716
17714
|
};
|
|
17717
17715
|
|
|
17718
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
17719
|
-
var digest76 = "
|
|
17716
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-CEQCQR0qdRXo/sdk/react/views/sessions/sessions.module.css.js
|
|
17717
|
+
var digest76 = "3bfffd7c74b8b0d70018176d759b1323eeecdbd3612c3f87b8ff628597aaa516";
|
|
17720
17718
|
var css76 = `._container_1rauv_1 {
|
|
17721
17719
|
padding: var(--rs-space-9) var(--rs-space-11);
|
|
17722
17720
|
max-height: 80vh;
|
|
@@ -17777,7 +17775,7 @@ var css76 = `._container_1rauv_1 {
|
|
|
17777
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" };
|
|
17778
17776
|
|
|
17779
17777
|
// react/views/sessions/revoke-session-dialog.tsx
|
|
17780
|
-
var
|
|
17778
|
+
var import_jsx_runtime90 = require("react/jsx-runtime");
|
|
17781
17779
|
var RevokeSessionDialog = ({
|
|
17782
17780
|
open,
|
|
17783
17781
|
onOpenChange,
|
|
@@ -17785,7 +17783,7 @@ var RevokeSessionDialog = ({
|
|
|
17785
17783
|
onLogout
|
|
17786
17784
|
}) => {
|
|
17787
17785
|
const { sessions, revokeSession, isRevokingSession } = useSessions();
|
|
17788
|
-
const [isFinalConfirmOpen, setIsFinalConfirmOpen] = (0,
|
|
17786
|
+
const [isFinalConfirmOpen, setIsFinalConfirmOpen] = (0, import_react67.useState)(false);
|
|
17789
17787
|
const handleClose = () => onOpenChange == null ? void 0 : onOpenChange(false);
|
|
17790
17788
|
const { mutate: logout } = (0, import_connect_query52.useMutation)(import_frontier53.FrontierServiceQueries.authLogout, {
|
|
17791
17789
|
onSuccess: () => {
|
|
@@ -17801,7 +17799,7 @@ var RevokeSessionDialog = ({
|
|
|
17801
17799
|
}
|
|
17802
17800
|
}
|
|
17803
17801
|
});
|
|
17804
|
-
const sessionData = (0,
|
|
17802
|
+
const sessionData = (0, import_react67.useMemo)(() => {
|
|
17805
17803
|
if (!sessionId || sessions.length === 0) {
|
|
17806
17804
|
return null;
|
|
17807
17805
|
}
|
|
@@ -17825,44 +17823,44 @@ var RevokeSessionDialog = ({
|
|
|
17825
17823
|
revokeSession(sessionId);
|
|
17826
17824
|
handleClose();
|
|
17827
17825
|
};
|
|
17828
|
-
return /* @__PURE__ */ (0,
|
|
17829
|
-
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)(
|
|
17830
17828
|
import_apsara77.Dialog.Content,
|
|
17831
17829
|
{
|
|
17832
17830
|
style: { padding: 0, maxWidth: "400px", width: "100%" },
|
|
17833
17831
|
children: [
|
|
17834
|
-
/* @__PURE__ */ (0,
|
|
17835
|
-
/* @__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: [
|
|
17836
17834
|
sessionData.browser,
|
|
17837
17835
|
" on ",
|
|
17838
17836
|
sessionData.operatingSystem
|
|
17839
17837
|
] }),
|
|
17840
|
-
/* @__PURE__ */ (0,
|
|
17838
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_apsara77.Dialog.CloseButton, { "data-test-id": "frontier-sdk-close-revoke-session-dialog" })
|
|
17841
17839
|
] }) }),
|
|
17842
|
-
/* @__PURE__ */ (0,
|
|
17843
|
-
/* @__PURE__ */ (0,
|
|
17844
|
-
/* @__PURE__ */ (0,
|
|
17845
|
-
/* @__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: [
|
|
17846
17844
|
sessionData.browser,
|
|
17847
17845
|
" on ",
|
|
17848
17846
|
sessionData.operatingSystem
|
|
17849
17847
|
] })
|
|
17850
17848
|
] }),
|
|
17851
|
-
/* @__PURE__ */ (0,
|
|
17852
|
-
/* @__PURE__ */ (0,
|
|
17853
|
-
/* @__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 })
|
|
17854
17852
|
] }),
|
|
17855
|
-
/* @__PURE__ */ (0,
|
|
17856
|
-
/* @__PURE__ */ (0,
|
|
17857
|
-
/* @__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 })
|
|
17858
17856
|
] }),
|
|
17859
|
-
/* @__PURE__ */ (0,
|
|
17860
|
-
/* @__PURE__ */ (0,
|
|
17861
|
-
/* @__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 })
|
|
17862
17860
|
] })
|
|
17863
17861
|
] }) }),
|
|
17864
|
-
/* @__PURE__ */ (0,
|
|
17865
|
-
/* @__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)(
|
|
17866
17864
|
import_apsara77.Button,
|
|
17867
17865
|
{
|
|
17868
17866
|
variant: "outline",
|
|
@@ -17872,7 +17870,7 @@ var RevokeSessionDialog = ({
|
|
|
17872
17870
|
children: "Cancel"
|
|
17873
17871
|
}
|
|
17874
17872
|
),
|
|
17875
|
-
/* @__PURE__ */ (0,
|
|
17873
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
|
|
17876
17874
|
import_apsara77.Button,
|
|
17877
17875
|
{
|
|
17878
17876
|
variant: "solid",
|
|
@@ -17885,7 +17883,7 @@ var RevokeSessionDialog = ({
|
|
|
17885
17883
|
] }) })
|
|
17886
17884
|
]
|
|
17887
17885
|
}
|
|
17888
|
-
) }) : 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)(
|
|
17889
17887
|
import_apsara77.Skeleton,
|
|
17890
17888
|
{
|
|
17891
17889
|
height: "20px",
|
|
@@ -17893,7 +17891,7 @@ var RevokeSessionDialog = ({
|
|
|
17893
17891
|
count: 4
|
|
17894
17892
|
}
|
|
17895
17893
|
) }) }) : null,
|
|
17896
|
-
/* @__PURE__ */ (0,
|
|
17894
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
|
|
17897
17895
|
RevokeSessionFinalConfirm,
|
|
17898
17896
|
{
|
|
17899
17897
|
isOpen: isFinalConfirmOpen,
|
|
@@ -17906,8 +17904,8 @@ var RevokeSessionDialog = ({
|
|
|
17906
17904
|
] });
|
|
17907
17905
|
};
|
|
17908
17906
|
|
|
17909
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
17910
|
-
var digest77 = "
|
|
17907
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-P3zGvq7VO8jc/sdk/react/views/sessions/sessions.module.css.js
|
|
17908
|
+
var digest77 = "b5e9cd591c8d71a4431b391dbad54b6e1246cb7287aec733c96b2cb443ee137f";
|
|
17911
17909
|
var css77 = `._container_1rauv_1 {
|
|
17912
17910
|
padding: var(--rs-space-9) var(--rs-space-11);
|
|
17913
17911
|
max-height: 80vh;
|
|
@@ -17968,10 +17966,10 @@ var css77 = `._container_1rauv_1 {
|
|
|
17968
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" };
|
|
17969
17967
|
|
|
17970
17968
|
// react/views/sessions/sessions-page.tsx
|
|
17971
|
-
var
|
|
17969
|
+
var import_jsx_runtime91 = require("react/jsx-runtime");
|
|
17972
17970
|
function SessionsPage({ onLogout }) {
|
|
17973
17971
|
const { sessions, isLoading, error } = useSessions();
|
|
17974
|
-
const [revokeState, setRevokeState] = (0,
|
|
17972
|
+
const [revokeState, setRevokeState] = (0, import_react68.useState)({
|
|
17975
17973
|
open: false,
|
|
17976
17974
|
sessionId: ""
|
|
17977
17975
|
});
|
|
@@ -17986,55 +17984,55 @@ function SessionsPage({ onLogout }) {
|
|
|
17986
17984
|
setRevokeState({ open: true, sessionId });
|
|
17987
17985
|
};
|
|
17988
17986
|
if (isLoading) {
|
|
17989
|
-
return /* @__PURE__ */ (0,
|
|
17990
|
-
/* @__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)(
|
|
17991
17989
|
PageHeader,
|
|
17992
17990
|
{
|
|
17993
17991
|
title: "Sessions",
|
|
17994
17992
|
description: "Devices logged into this account."
|
|
17995
17993
|
}
|
|
17996
17994
|
) }),
|
|
17997
|
-
/* @__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 }) })
|
|
17998
17996
|
] }) });
|
|
17999
17997
|
}
|
|
18000
17998
|
if (error) {
|
|
18001
|
-
return /* @__PURE__ */ (0,
|
|
18002
|
-
/* @__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)(
|
|
18003
18001
|
PageHeader,
|
|
18004
18002
|
{
|
|
18005
18003
|
title: "Sessions",
|
|
18006
18004
|
description: "Devices logged into this account."
|
|
18007
18005
|
}
|
|
18008
18006
|
) }),
|
|
18009
|
-
/* @__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 }) })
|
|
18010
18008
|
] }) });
|
|
18011
18009
|
}
|
|
18012
|
-
return /* @__PURE__ */ (0,
|
|
18013
|
-
/* @__PURE__ */ (0,
|
|
18014
|
-
/* @__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)(
|
|
18015
18013
|
PageHeader,
|
|
18016
18014
|
{
|
|
18017
18015
|
title: "Sessions",
|
|
18018
18016
|
description: "Devices logged into this account."
|
|
18019
18017
|
}
|
|
18020
18018
|
) }),
|
|
18021
|
-
/* @__PURE__ */ (0,
|
|
18022
|
-
/* @__PURE__ */ (0,
|
|
18023
|
-
/* @__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: [
|
|
18024
18022
|
session.browser,
|
|
18025
18023
|
" on ",
|
|
18026
18024
|
session.operatingSystem
|
|
18027
18025
|
] }),
|
|
18028
|
-
/* @__PURE__ */ (0,
|
|
18029
|
-
/* @__PURE__ */ (0,
|
|
18030
|
-
/* @__PURE__ */ (0,
|
|
18031
|
-
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: [
|
|
18032
18030
|
"Last active ",
|
|
18033
18031
|
session.lastActive
|
|
18034
18032
|
] })
|
|
18035
18033
|
] })
|
|
18036
18034
|
] }),
|
|
18037
|
-
/* @__PURE__ */ (0,
|
|
18035
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
|
|
18038
18036
|
import_apsara78.Button,
|
|
18039
18037
|
{
|
|
18040
18038
|
variant: "text",
|
|
@@ -18046,7 +18044,7 @@ function SessionsPage({ onLogout }) {
|
|
|
18046
18044
|
)
|
|
18047
18045
|
] }, session.id)) })
|
|
18048
18046
|
] }),
|
|
18049
|
-
/* @__PURE__ */ (0,
|
|
18047
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
|
|
18050
18048
|
RevokeSessionDialog,
|
|
18051
18049
|
{
|
|
18052
18050
|
open: revokeState.open,
|
|
@@ -18059,14 +18057,14 @@ function SessionsPage({ onLogout }) {
|
|
|
18059
18057
|
}
|
|
18060
18058
|
|
|
18061
18059
|
// react/components/organization/sessions/index.tsx
|
|
18062
|
-
var
|
|
18060
|
+
var import_jsx_runtime92 = require("react/jsx-runtime");
|
|
18063
18061
|
var SessionsPage2 = () => {
|
|
18064
18062
|
const { onLogout } = (0, import_react_router14.useRouteContext)({ from: "__root__" });
|
|
18065
|
-
return /* @__PURE__ */ (0,
|
|
18063
|
+
return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(SessionsPage, { onLogout });
|
|
18066
18064
|
};
|
|
18067
18065
|
|
|
18068
18066
|
// react/components/organization/routes.tsx
|
|
18069
|
-
var
|
|
18067
|
+
var import_jsx_runtime93 = require("react/jsx-runtime");
|
|
18070
18068
|
function getCustomRoutes2(customScreens = []) {
|
|
18071
18069
|
return (customScreens == null ? void 0 : customScreens.reduce(
|
|
18072
18070
|
(acc, { name, category, path }) => {
|
|
@@ -18088,27 +18086,27 @@ var RootRouter = () => {
|
|
|
18088
18086
|
{ id: organizationId },
|
|
18089
18087
|
{ enabled: !!organizationId }
|
|
18090
18088
|
);
|
|
18091
|
-
(0,
|
|
18089
|
+
(0, import_react69.useEffect)(() => {
|
|
18092
18090
|
setIsActiveOrganizationLoading(isLoading);
|
|
18093
18091
|
}, [isLoading, setIsActiveOrganizationLoading]);
|
|
18094
|
-
(0,
|
|
18092
|
+
(0, import_react69.useEffect)(() => {
|
|
18095
18093
|
if (organizationId) {
|
|
18096
18094
|
setActiveOrganization(organizationData == null ? void 0 : organizationData.organization);
|
|
18097
18095
|
} else {
|
|
18098
18096
|
setActiveOrganization(void 0);
|
|
18099
18097
|
}
|
|
18100
18098
|
}, [organizationId, organizationData == null ? void 0 : organizationData.organization, setActiveOrganization]);
|
|
18101
|
-
(0,
|
|
18099
|
+
(0, import_react69.useEffect)(() => {
|
|
18102
18100
|
if (error) {
|
|
18103
18101
|
console.error("Failed to fetch organization:", error);
|
|
18104
18102
|
}
|
|
18105
18103
|
}, [error]);
|
|
18106
18104
|
const visibleToasts = hideToast ? 0 : 1;
|
|
18107
|
-
return /* @__PURE__ */ (0,
|
|
18108
|
-
/* @__PURE__ */ (0,
|
|
18109
|
-
/* @__PURE__ */ (0,
|
|
18110
|
-
/* @__PURE__ */ (0,
|
|
18111
|
-
/* @__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, {})
|
|
18112
18110
|
] })
|
|
18113
18111
|
] });
|
|
18114
18112
|
};
|
|
@@ -18243,7 +18241,7 @@ function getRootTree({ customScreens = [] }) {
|
|
|
18243
18241
|
}
|
|
18244
18242
|
|
|
18245
18243
|
// react/components/organization/profile.tsx
|
|
18246
|
-
var
|
|
18244
|
+
var import_jsx_runtime94 = require("react/jsx-runtime");
|
|
18247
18245
|
var router = (0, import_react_router16.createRouter)({
|
|
18248
18246
|
routeTree: getRootTree({}),
|
|
18249
18247
|
context: {
|
|
@@ -18286,12 +18284,12 @@ var OrganizationProfile = ({
|
|
|
18286
18284
|
onLogout
|
|
18287
18285
|
}
|
|
18288
18286
|
});
|
|
18289
|
-
return /* @__PURE__ */ (0,
|
|
18287
|
+
return /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_react_router16.RouterProvider, { router: memoryRouter });
|
|
18290
18288
|
};
|
|
18291
18289
|
|
|
18292
18290
|
// react/components/window/index.tsx
|
|
18293
18291
|
var import_apsara80 = require("@raystack/apsara");
|
|
18294
|
-
var
|
|
18292
|
+
var import_react70 = require("react");
|
|
18295
18293
|
|
|
18296
18294
|
// react/assets/close-close.svg
|
|
18297
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';
|
|
@@ -18308,8 +18306,8 @@ var resize_default_default = 'data:image/svg+xml,<svg width="12" height="12" vie
|
|
|
18308
18306
|
// react/assets/resize-expand.svg
|
|
18309
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';
|
|
18310
18308
|
|
|
18311
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
18312
|
-
var digest78 = "
|
|
18309
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-O1TR6tUAyL3U/sdk/react/components/window/window.module.css.js
|
|
18310
|
+
var digest78 = "2825bf63386c0b86129065ff9720cb822e34bb751b3a95cf69e7097c36f328ba";
|
|
18313
18311
|
var css78 = `._container_1sgpy_1 {
|
|
18314
18312
|
padding: 0;
|
|
18315
18313
|
}
|
|
@@ -18344,7 +18342,7 @@ var css78 = `._container_1sgpy_1 {
|
|
|
18344
18342
|
var window_module_css_default = { "container": "_container_1sgpy_1", "dialogContentZoomin": "_dialogContentZoomin_1sgpy_5", "dialogContentZoomout": "_dialogContentZoomout_1sgpy_13", "overlay": "_overlay_1sgpy_18" };
|
|
18345
18343
|
|
|
18346
18344
|
// react/components/window/index.tsx
|
|
18347
|
-
var
|
|
18345
|
+
var import_jsx_runtime95 = require("react/jsx-runtime");
|
|
18348
18346
|
var Window = (_a) => {
|
|
18349
18347
|
var _b = _a, {
|
|
18350
18348
|
open = false,
|
|
@@ -18355,17 +18353,17 @@ var Window = (_a) => {
|
|
|
18355
18353
|
"onOpenChange",
|
|
18356
18354
|
"children"
|
|
18357
18355
|
]);
|
|
18358
|
-
const [zoom, setZoom] = (0,
|
|
18359
|
-
const [isCloseActive, setCloseActive] = (0,
|
|
18360
|
-
const [isZoomActive, setZoomActive] = (0,
|
|
18361
|
-
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)(
|
|
18362
18360
|
import_apsara80.Dialog.Content,
|
|
18363
18361
|
{
|
|
18364
18362
|
className: `${window_module_css_default.container} ${zoom ? window_module_css_default.dialogContentZoomin : window_module_css_default.dialogContentZoomout}`,
|
|
18365
18363
|
overlayClassName: window_module_css_default.overlay,
|
|
18366
18364
|
children: [
|
|
18367
|
-
/* @__PURE__ */ (0,
|
|
18368
|
-
/* @__PURE__ */ (0,
|
|
18365
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { style: { position: "absolute", inset: 0 }, children }),
|
|
18366
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
|
|
18369
18367
|
"div",
|
|
18370
18368
|
{
|
|
18371
18369
|
style: {
|
|
@@ -18373,8 +18371,8 @@ var Window = (_a) => {
|
|
|
18373
18371
|
top: 0,
|
|
18374
18372
|
padding: "16px"
|
|
18375
18373
|
},
|
|
18376
|
-
children: /* @__PURE__ */ (0,
|
|
18377
|
-
/* @__PURE__ */ (0,
|
|
18374
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(import_apsara80.Flex, { gap: 3, children: [
|
|
18375
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
|
|
18378
18376
|
import_apsara80.Image,
|
|
18379
18377
|
{
|
|
18380
18378
|
onMouseOver: () => setCloseActive(true),
|
|
@@ -18386,7 +18384,7 @@ var Window = (_a) => {
|
|
|
18386
18384
|
"data-test-id": "frontier-sdk-window-close-button"
|
|
18387
18385
|
}
|
|
18388
18386
|
),
|
|
18389
|
-
/* @__PURE__ */ (0,
|
|
18387
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
|
|
18390
18388
|
import_apsara80.Image,
|
|
18391
18389
|
{
|
|
18392
18390
|
onMouseOver: () => setZoomActive(true),
|
|
@@ -18410,11 +18408,11 @@ var Window = (_a) => {
|
|
|
18410
18408
|
var import_apsara81 = require("@raystack/apsara");
|
|
18411
18409
|
|
|
18412
18410
|
// react/contexts/useMaxAllowedInstancesGuard.tsx
|
|
18413
|
-
var
|
|
18414
|
-
var
|
|
18411
|
+
var import_react71 = __toESM(require("react"));
|
|
18412
|
+
var import_jsx_runtime96 = require("react/jsx-runtime");
|
|
18415
18413
|
var counts = /* @__PURE__ */ new Map();
|
|
18416
18414
|
function useMaxAllowedInstancesGuard(name, error, maxCount = 1) {
|
|
18417
|
-
|
|
18415
|
+
import_react71.default.useEffect(() => {
|
|
18418
18416
|
const count = counts.get(name) || 0;
|
|
18419
18417
|
if (count == maxCount) {
|
|
18420
18418
|
throw new Error(error);
|
|
@@ -18429,7 +18427,7 @@ function withMaxAllowedInstancesGuard(WrappedComponent, name, error) {
|
|
|
18429
18427
|
const displayName = WrappedComponent.displayName || name || "Component";
|
|
18430
18428
|
const Hoc = (props) => {
|
|
18431
18429
|
useMaxAllowedInstancesGuard(name, error);
|
|
18432
|
-
return /* @__PURE__ */ (0,
|
|
18430
|
+
return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(WrappedComponent, __spreadValues({}, props));
|
|
18433
18431
|
};
|
|
18434
18432
|
Hoc.displayName = `withMaxAllowedInstancesGuard(${displayName})`;
|
|
18435
18433
|
return Hoc;
|
|
@@ -18439,7 +18437,7 @@ function withMaxAllowedInstancesGuard(WrappedComponent, name, error) {
|
|
|
18439
18437
|
var import_react_query15 = require("@tanstack/react-query");
|
|
18440
18438
|
var import_connect_query53 = require("@connectrpc/connect-query");
|
|
18441
18439
|
var import_connect_web = require("@connectrpc/connect-web");
|
|
18442
|
-
var
|
|
18440
|
+
var import_react72 = require("react");
|
|
18443
18441
|
|
|
18444
18442
|
// react/utils/fetch.ts
|
|
18445
18443
|
var createFetchWithCreds = (customHeaders) => {
|
|
@@ -18459,25 +18457,25 @@ var createFetchWithCreds = (customHeaders) => {
|
|
|
18459
18457
|
};
|
|
18460
18458
|
|
|
18461
18459
|
// react/contexts/FrontierProvider.tsx
|
|
18462
|
-
var
|
|
18460
|
+
var import_jsx_runtime97 = require("react/jsx-runtime");
|
|
18463
18461
|
var multipleFrontierProvidersError = "Frontier: You've added multiple <FrontierProvider> components in your React component tree. Wrap your components in a single <FrontierProvider>.";
|
|
18464
18462
|
var queryClient = new import_react_query15.QueryClient();
|
|
18465
18463
|
var FrontierProvider = (props) => {
|
|
18466
18464
|
const _a = props, { children, initialState, config, theme, customHeaders } = _a, options = __objRest(_a, ["children", "initialState", "config", "theme", "customHeaders"]);
|
|
18467
|
-
const transport = (0,
|
|
18465
|
+
const transport = (0, import_react72.useMemo)(
|
|
18468
18466
|
() => (0, import_connect_web.createConnectTransport)({
|
|
18469
18467
|
baseUrl: config.connectEndpoint || "/frontier-connect",
|
|
18470
18468
|
fetch: createFetchWithCreds(customHeaders)
|
|
18471
18469
|
}),
|
|
18472
18470
|
[config.connectEndpoint, customHeaders]
|
|
18473
18471
|
);
|
|
18474
|
-
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)(
|
|
18475
18473
|
FrontierContextProvider,
|
|
18476
18474
|
__spreadProps(__spreadValues({
|
|
18477
18475
|
initialState,
|
|
18478
18476
|
config
|
|
18479
18477
|
}, options), {
|
|
18480
|
-
children: /* @__PURE__ */ (0,
|
|
18478
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_apsara81.ThemeProvider, __spreadProps(__spreadValues({}, theme), { children }))
|
|
18481
18479
|
})
|
|
18482
18480
|
) }) }) });
|
|
18483
18481
|
};
|
|
@@ -18489,7 +18487,7 @@ var FrontierProviderGaurd = withMaxAllowedInstancesGuard(
|
|
|
18489
18487
|
);
|
|
18490
18488
|
|
|
18491
18489
|
// react/hooks/useConnectQueryPolling.tsx
|
|
18492
|
-
var
|
|
18490
|
+
var import_react73 = require("react");
|
|
18493
18491
|
var import_connect_query54 = require("@connectrpc/connect-query");
|
|
18494
18492
|
function useConnectQueryPolling(params) {
|
|
18495
18493
|
const {
|
|
@@ -18501,8 +18499,8 @@ function useConnectQueryPolling(params) {
|
|
|
18501
18499
|
maxPoll = 40,
|
|
18502
18500
|
pollingInterval = 3e3
|
|
18503
18501
|
} = params;
|
|
18504
|
-
const [isPollingFailed, setIsPollingFailed] = (0,
|
|
18505
|
-
const pollCountRef = (0,
|
|
18502
|
+
const [isPollingFailed, setIsPollingFailed] = (0, import_react73.useState)(false);
|
|
18503
|
+
const pollCountRef = (0, import_react73.useRef)(0);
|
|
18506
18504
|
const result = (0, import_connect_query54.useQuery)(method, input, {
|
|
18507
18505
|
enabled,
|
|
18508
18506
|
select,
|
|
@@ -18534,8 +18532,8 @@ function useConnectQueryPolling(params) {
|
|
|
18534
18532
|
// react/components/Layout/index.tsx
|
|
18535
18533
|
var import_apsara82 = require("@raystack/apsara");
|
|
18536
18534
|
|
|
18537
|
-
// esbuild-css-modules-plugin-namespace:/tmp/tmp-
|
|
18538
|
-
var digest79 = "
|
|
18535
|
+
// esbuild-css-modules-plugin-namespace:/tmp/tmp-2431-jeZEOZ7Bwo34/sdk/react/components/organization/styles.module.css.js
|
|
18536
|
+
var digest79 = "9696817fd955fe36204ce15e23e65997651e3ecbad383a56d18a3ad4a0d4df97";
|
|
18539
18537
|
var css79 = `._header_11okm_1 {
|
|
18540
18538
|
margin-bottom: var(--rs-space-9);
|
|
18541
18539
|
}
|
|
@@ -18579,11 +18577,11 @@ var css79 = `._header_11okm_1 {
|
|
|
18579
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" };
|
|
18580
18578
|
|
|
18581
18579
|
// react/components/Layout/index.tsx
|
|
18582
|
-
var
|
|
18580
|
+
var import_jsx_runtime98 = require("react/jsx-runtime");
|
|
18583
18581
|
function Layout({ title, description, children }) {
|
|
18584
|
-
return /* @__PURE__ */ (0,
|
|
18585
|
-
/* @__PURE__ */ (0,
|
|
18586
|
-
/* @__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 })
|
|
18587
18585
|
] }) });
|
|
18588
18586
|
}
|
|
18589
18587
|
// Annotate the CommonJS export names for ESM import in node:
|