@stack-spot/portal-layout 0.0.65 → 1.0.0-dev.1768482785050
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/CHANGELOG.md +779 -0
- package/dist/Layout.d.ts +60 -8
- package/dist/Layout.d.ts.map +1 -1
- package/dist/Layout.js +59 -24
- package/dist/Layout.js.map +1 -1
- package/dist/LayoutOverlayManager.d.ts +274 -19
- package/dist/LayoutOverlayManager.d.ts.map +1 -1
- package/dist/LayoutOverlayManager.js +373 -82
- package/dist/LayoutOverlayManager.js.map +1 -1
- package/dist/WelcomeTour.d.ts +2 -0
- package/dist/WelcomeTour.d.ts.map +1 -0
- package/dist/WelcomeTour.js +8 -0
- package/dist/WelcomeTour.js.map +1 -0
- package/dist/components/Backdrop.d.ts +75 -0
- package/dist/components/Backdrop.d.ts.map +1 -0
- package/dist/components/Backdrop.js +69 -0
- package/dist/components/Backdrop.js.map +1 -0
- package/dist/components/Contact/show-contact-modal.d.ts +5 -0
- package/dist/components/Contact/show-contact-modal.d.ts.map +1 -0
- package/dist/components/Contact/show-contact-modal.js +37 -0
- package/dist/components/Contact/show-contact-modal.js.map +1 -0
- package/dist/components/ContactModal.d.ts +1 -0
- package/dist/components/ContactModal.d.ts.map +1 -0
- package/dist/components/ContactModal.js +2 -0
- package/dist/components/ContactModal.js.map +1 -0
- package/dist/components/Dialog.d.ts +54 -7
- package/dist/components/Dialog.d.ts.map +1 -1
- package/dist/components/Dialog.js +8 -2
- package/dist/components/Dialog.js.map +1 -1
- package/dist/components/Header.d.ts +38 -2
- package/dist/components/Header.d.ts.map +1 -1
- package/dist/components/Header.js +9 -4
- package/dist/components/Header.js.map +1 -1
- package/dist/components/NotificationCenter/NotificationPanel.d.ts +3 -0
- package/dist/components/NotificationCenter/NotificationPanel.d.ts.map +1 -0
- package/dist/components/NotificationCenter/NotificationPanel.js +19 -0
- package/dist/components/NotificationCenter/NotificationPanel.js.map +1 -0
- package/dist/components/NotificationCenter/NotificationPanelHeader.d.ts +3 -0
- package/dist/components/NotificationCenter/NotificationPanelHeader.d.ts.map +1 -0
- package/dist/components/NotificationCenter/NotificationPanelHeader.js +16 -0
- package/dist/components/NotificationCenter/NotificationPanelHeader.js.map +1 -0
- package/dist/components/NotificationCenter/NotificationsPanelFooter.d.ts +4 -0
- package/dist/components/NotificationCenter/NotificationsPanelFooter.d.ts.map +1 -0
- package/dist/components/NotificationCenter/NotificationsPanelFooter.js +12 -0
- package/dist/components/NotificationCenter/NotificationsPanelFooter.js.map +1 -0
- package/dist/components/NotificationCenter/dictionary.d.ts +2 -0
- package/dist/components/NotificationCenter/dictionary.d.ts.map +1 -0
- package/dist/components/NotificationCenter/dictionary.js +43 -0
- package/dist/components/NotificationCenter/dictionary.js.map +1 -0
- package/dist/components/NotificationCenter/index.d.ts +2 -0
- package/dist/components/NotificationCenter/index.d.ts.map +1 -0
- package/dist/components/NotificationCenter/index.js +34 -0
- package/dist/components/NotificationCenter/index.js.map +1 -0
- package/dist/components/NotificationCenter/styled.d.ts +3 -0
- package/dist/components/NotificationCenter/styled.d.ts.map +1 -0
- package/dist/components/NotificationCenter/styled.js +74 -0
- package/dist/components/NotificationCenter/styled.js.map +1 -0
- package/dist/components/NotificationCenter/types.d.ts +21 -0
- package/dist/components/NotificationCenter/types.d.ts.map +1 -0
- package/dist/components/NotificationCenter/types.js.map +1 -0
- package/dist/components/NotificationCenter/utils.d.ts +5 -0
- package/dist/components/NotificationCenter/utils.d.ts.map +1 -0
- package/dist/components/NotificationCenter/utils.js +18 -0
- package/dist/components/NotificationCenter/utils.js.map +1 -0
- package/dist/components/OverlayContent.d.ts +27 -1
- package/dist/components/OverlayContent.d.ts.map +1 -1
- package/dist/components/OverlayContent.js +8 -4
- package/dist/components/OverlayContent.js.map +1 -1
- package/dist/components/PortalSwitcher.d.ts +19 -1
- package/dist/components/PortalSwitcher.d.ts.map +1 -1
- package/dist/components/PortalSwitcher.js +16 -31
- package/dist/components/PortalSwitcher.js.map +1 -1
- package/dist/components/PrivacyPolicyMessage/hooks.d.ts +10 -0
- package/dist/components/PrivacyPolicyMessage/hooks.d.ts.map +1 -0
- package/dist/components/PrivacyPolicyMessage/hooks.js +33 -0
- package/dist/components/PrivacyPolicyMessage/hooks.js.map +1 -0
- package/dist/components/PrivacyPolicyMessage/index.d.ts +7 -0
- package/dist/components/PrivacyPolicyMessage/index.d.ts.map +1 -0
- package/dist/components/PrivacyPolicyMessage/index.js +5 -0
- package/dist/components/PrivacyPolicyMessage/index.js.map +1 -0
- package/dist/components/Rate/FeedbackModal.d.ts +8 -0
- package/dist/components/Rate/FeedbackModal.d.ts.map +1 -0
- package/dist/components/Rate/FeedbackModal.js +52 -0
- package/dist/components/Rate/FeedbackModal.js.map +1 -0
- package/dist/components/Rate/hook.d.ts +3 -0
- package/dist/components/Rate/hook.d.ts.map +1 -0
- package/dist/components/Rate/hook.js +48 -0
- package/dist/components/Rate/hook.js.map +1 -0
- package/dist/components/Rate/index.d.ts +10 -0
- package/dist/components/Rate/index.d.ts.map +1 -0
- package/dist/components/Rate/index.js +16 -0
- package/dist/components/Rate/index.js.map +1 -0
- package/dist/components/Rate/on-nps-submit.d.ts +7 -0
- package/dist/components/Rate/on-nps-submit.d.ts.map +1 -0
- package/dist/components/Rate/on-nps-submit.js +8 -0
- package/dist/components/Rate/on-nps-submit.js.map +1 -0
- package/dist/components/Rate/show-rate-us-modals.d.ts +17 -0
- package/dist/components/Rate/show-rate-us-modals.d.ts.map +1 -0
- package/dist/components/Rate/show-rate-us-modals.js +14 -0
- package/dist/components/Rate/show-rate-us-modals.js.map +1 -0
- package/dist/components/Rate/utils.d.ts +2 -0
- package/dist/components/Rate/utils.d.ts.map +1 -0
- package/dist/components/Rate/utils.js +10 -0
- package/dist/components/Rate/utils.js.map +1 -0
- package/dist/components/Toaster.d.ts +35 -0
- package/dist/components/Toaster.d.ts.map +1 -1
- package/dist/components/Toaster.js +32 -4
- package/dist/components/Toaster.js.map +1 -1
- package/dist/components/TypeForm/hook.d.ts +2 -0
- package/dist/components/TypeForm/hook.d.ts.map +1 -0
- package/dist/components/TypeForm/hook.js +11 -0
- package/dist/components/TypeForm/hook.js.map +1 -0
- package/dist/components/TypeForm/index.d.ts +6 -0
- package/dist/components/TypeForm/index.d.ts.map +1 -0
- package/dist/components/TypeForm/index.js +23 -0
- package/dist/components/TypeForm/index.js.map +1 -0
- package/dist/components/TypeForm/show-typeform-modal.d.ts +5 -0
- package/dist/components/TypeForm/show-typeform-modal.d.ts.map +1 -0
- package/dist/components/TypeForm/show-typeform-modal.js +11 -0
- package/dist/components/TypeForm/show-typeform-modal.js.map +1 -0
- package/dist/components/TypeForm/utils.d.ts +2 -0
- package/dist/components/TypeForm/utils.d.ts.map +1 -0
- package/dist/components/TypeForm/utils.js +9 -0
- package/dist/components/TypeForm/utils.js.map +1 -0
- package/dist/components/UserMenu.d.ts +19 -2
- package/dist/components/UserMenu.d.ts.map +1 -1
- package/dist/components/UserMenu.js +12 -6
- package/dist/components/UserMenu.js.map +1 -1
- package/dist/components/error/ErrorBoundary.d.ts +25 -4
- package/dist/components/error/ErrorBoundary.d.ts.map +1 -1
- package/dist/components/error/ErrorBoundary.js +10 -1
- package/dist/components/error/ErrorBoundary.js.map +1 -1
- package/dist/components/error/ErrorManager.d.ts +22 -6
- package/dist/components/error/ErrorManager.d.ts.map +1 -1
- package/dist/components/error/ErrorManager.js +21 -1
- package/dist/components/error/ErrorManager.js.map +1 -1
- package/dist/components/error/SilentErrorBoundary.d.ts +26 -5
- package/dist/components/error/SilentErrorBoundary.d.ts.map +1 -1
- package/dist/components/error/SilentErrorBoundary.js +10 -0
- package/dist/components/error/SilentErrorBoundary.js.map +1 -1
- package/dist/components/menu/MenuContent.d.ts +20 -4
- package/dist/components/menu/MenuContent.d.ts.map +1 -1
- package/dist/components/menu/MenuContent.js +89 -88
- package/dist/components/menu/MenuContent.js.map +1 -1
- package/dist/components/menu/MenuSectionGroup.d.ts +2 -0
- package/dist/components/menu/MenuSectionGroup.d.ts.map +1 -0
- package/dist/components/menu/MenuSectionGroup.js +121 -0
- package/dist/components/menu/MenuSectionGroup.js.map +1 -0
- package/dist/components/menu/MenuSections.d.ts +17 -0
- package/dist/components/menu/MenuSections.d.ts.map +1 -1
- package/dist/components/menu/MenuSections.js +159 -39
- package/dist/components/menu/MenuSections.js.map +1 -1
- package/dist/components/menu/PageSelector.d.ts +5 -0
- package/dist/components/menu/PageSelector.d.ts.map +1 -1
- package/dist/components/menu/PageSelector.js +9 -4
- package/dist/components/menu/PageSelector.js.map +1 -1
- package/dist/components/menu/types.d.ts +219 -8
- package/dist/components/menu/types.d.ts.map +1 -1
- package/dist/components/tour/StepContainer.d.ts +37 -0
- package/dist/components/tour/StepContainer.d.ts.map +1 -0
- package/dist/components/tour/StepContainer.js +51 -0
- package/dist/components/tour/StepContainer.js.map +1 -0
- package/dist/components/tour/StepNavigation.d.ts +29 -0
- package/dist/components/tour/StepNavigation.d.ts.map +1 -0
- package/dist/components/tour/StepNavigation.js +37 -0
- package/dist/components/tour/StepNavigation.js.map +1 -0
- package/dist/components/tour/StepTitle.d.ts +17 -0
- package/dist/components/tour/StepTitle.d.ts.map +1 -0
- package/dist/components/tour/StepTitle.js +10 -0
- package/dist/components/tour/StepTitle.js.map +1 -0
- package/dist/components/tour/hook.d.ts +3 -0
- package/dist/components/tour/hook.d.ts.map +1 -0
- package/dist/components/tour/hook.js +10 -0
- package/dist/components/tour/hook.js.map +1 -0
- package/dist/components/tour/index.d.ts +5 -0
- package/dist/components/tour/index.d.ts.map +1 -0
- package/dist/components/tour/index.js +5 -0
- package/dist/components/tour/index.js.map +1 -0
- package/dist/components/tour/manager.d.ts +34 -0
- package/dist/components/tour/manager.d.ts.map +1 -0
- package/dist/components/tour/manager.js +104 -0
- package/dist/components/tour/manager.js.map +1 -0
- package/dist/components/tour/utils.d.ts +67 -0
- package/dist/components/tour/utils.d.ts.map +1 -0
- package/dist/components/tour/utils.js +60 -0
- package/dist/components/tour/utils.js.map +1 -0
- package/dist/components/user-menu-manager.d.ts +13 -0
- package/dist/components/user-menu-manager.d.ts.map +1 -0
- package/dist/components/user-menu-manager.js +36 -0
- package/dist/components/user-menu-manager.js.map +1 -0
- package/dist/dictionary.d.ts +6 -1
- package/dist/dictionary.d.ts.map +1 -1
- package/dist/dictionary.js +7 -2
- package/dist/dictionary.js.map +1 -1
- package/dist/elements.d.ts +7 -0
- package/dist/elements.d.ts.map +1 -1
- package/dist/elements.js +7 -0
- package/dist/elements.js.map +1 -1
- package/dist/index.d.ts +15 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +15 -8
- package/dist/index.js.map +1 -1
- package/dist/layout.css +190 -35
- package/dist/svg/StarFillWithGradient.d.ts +6 -0
- package/dist/svg/StarFillWithGradient.d.ts.map +1 -0
- package/dist/svg/StarFillWithGradient.js +4 -0
- package/dist/svg/StarFillWithGradient.js.map +1 -0
- package/dist/toaster.d.ts +55 -9
- package/dist/toaster.d.ts.map +1 -1
- package/dist/toaster.js +34 -6
- package/dist/toaster.js.map +1 -1
- package/dist/types.d.ts +5 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/dist/utils.d.ts +6 -69
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +9 -130
- package/dist/utils.js.map +1 -1
- package/package.dev.json +3 -0
- package/package.json +24 -13
- package/package.stg.json +3 -0
- package/readme.md +147 -0
- package/src/Layout.tsx +166 -58
- package/src/LayoutOverlayManager.tsx +499 -85
- package/src/WelcomeTour.tsx +8 -0
- package/src/components/Backdrop.tsx +116 -0
- package/src/components/Contact/show-contact-modal.tsx +71 -0
- package/src/components/Dialog.tsx +58 -9
- package/src/components/Header.tsx +53 -5
- package/src/components/NotificationCenter/NotificationPanel.tsx +40 -0
- package/src/components/NotificationCenter/NotificationPanelHeader.tsx +53 -0
- package/src/components/NotificationCenter/NotificationsPanelFooter.tsx +25 -0
- package/src/components/NotificationCenter/dictionary.ts +44 -0
- package/src/components/NotificationCenter/index.tsx +58 -0
- package/src/components/NotificationCenter/styled.ts +75 -0
- package/src/components/NotificationCenter/types.ts +24 -0
- package/src/components/NotificationCenter/utils.ts +20 -0
- package/src/components/OverlayContent.tsx +40 -5
- package/src/components/PortalSwitcher.tsx +33 -39
- package/src/components/PrivacyPolicyMessage/hooks.tsx +49 -0
- package/src/components/PrivacyPolicyMessage/index.tsx +21 -0
- package/src/components/Rate/FeedbackModal.tsx +86 -0
- package/src/components/Rate/hook.tsx +61 -0
- package/src/components/Rate/index.tsx +36 -0
- package/src/components/Rate/on-nps-submit.ts +18 -0
- package/src/components/Rate/show-rate-us-modals.tsx +29 -0
- package/src/components/Rate/utils.ts +11 -0
- package/src/components/Toaster.tsx +82 -3
- package/src/components/TypeForm/hook.tsx +13 -0
- package/src/components/TypeForm/index.tsx +50 -0
- package/src/components/TypeForm/show-typeform-modal.tsx +10 -0
- package/src/components/TypeForm/utils.ts +8 -0
- package/src/components/UserMenu.tsx +32 -8
- package/src/components/error/ErrorBoundary.tsx +11 -2
- package/src/components/error/ErrorManager.ts +22 -6
- package/src/components/error/SilentErrorBoundary.tsx +12 -2
- package/src/components/menu/MenuContent.tsx +102 -110
- package/src/components/menu/MenuSectionGroup.tsx +121 -0
- package/src/components/menu/MenuSections.tsx +342 -93
- package/src/components/menu/PageSelector.tsx +16 -4
- package/src/components/menu/types.ts +221 -9
- package/src/components/tour/StepContainer.tsx +92 -0
- package/src/components/tour/StepNavigation.tsx +72 -0
- package/src/components/tour/StepTitle.tsx +28 -0
- package/src/components/tour/hook.ts +12 -0
- package/src/components/tour/index.ts +6 -0
- package/src/components/tour/manager.tsx +119 -0
- package/src/components/tour/utils.tsx +119 -0
- package/src/components/user-menu-manager.ts +31 -0
- package/src/dictionary.ts +7 -2
- package/src/elements.ts +7 -0
- package/src/index.ts +15 -8
- package/src/layout.css +190 -35
- package/src/svg/StarFillWithGradient.tsx +14 -0
- package/src/toaster.tsx +90 -13
- package/src/types.ts +4 -0
- package/src/utils.ts +9 -142
- package/dist/components/BottomNotification.d.ts +0 -1
- package/dist/components/BottomNotification.d.ts.map +0 -1
- package/dist/components/BottomNotification.js +0 -2
- package/dist/components/BottomNotification.js.map +0 -1
- package/dist/components/BottomPanel.d.ts +0 -1
- package/dist/components/BottomPanel.d.ts.map +0 -1
- package/dist/components/BottomPanel.js +0 -2
- package/dist/components/BottomPanel.js.map +0 -1
- package/dist/components/SelectionList.d.ts +0 -36
- package/dist/components/SelectionList.d.ts.map +0 -1
- package/dist/components/SelectionList.js +0 -140
- package/dist/components/SelectionList.js.map +0 -1
- package/dist/components/error/ErrorFeedback.d.ts +0 -3
- package/dist/components/error/ErrorFeedback.d.ts.map +0 -1
- package/dist/components/error/ErrorFeedback.js +0 -66
- package/dist/components/error/ErrorFeedback.js.map +0 -1
- package/dist/components/menu/use-check-text-overflow.d.ts +0 -6
- package/dist/components/menu/use-check-text-overflow.d.ts.map +0 -1
- package/dist/components/menu/use-check-text-overflow.js +0 -20
- package/dist/components/menu/use-check-text-overflow.js.map +0 -1
- package/dist/components/menu/use-keyboard-controls.d.ts +0 -23
- package/dist/components/menu/use-keyboard-controls.d.ts.map +0 -1
- package/dist/components/menu/use-keyboard-controls.js +0 -49
- package/dist/components/menu/use-keyboard-controls.js.map +0 -1
- package/dist/components/tour/PortalSwitcherStep.d.ts +0 -3
- package/dist/components/tour/PortalSwitcherStep.d.ts.map +0 -1
- package/dist/components/tour/PortalSwitcherStep.js +0 -29
- package/dist/components/tour/PortalSwitcherStep.js.map +0 -1
- package/dist/components/types.d.ts +0 -15
- package/dist/components/types.d.ts.map +0 -1
- package/dist/components/types.js.map +0 -1
- package/dist/layout-context.d.ts +0 -10
- package/dist/layout-context.d.ts.map +0 -1
- package/dist/layout-context.js +0 -11
- package/dist/layout-context.js.map +0 -1
- package/dist/svg/AI.d.ts +0 -6
- package/dist/svg/AI.d.ts.map +0 -1
- package/dist/svg/AI.js +0 -9
- package/dist/svg/AI.js.map +0 -1
- package/dist/svg/EDP.d.ts +0 -6
- package/dist/svg/EDP.d.ts.map +0 -1
- package/dist/svg/EDP.js +0 -5
- package/dist/svg/EDP.js.map +0 -1
- package/dist/svg/Forbidden.d.ts +0 -6
- package/dist/svg/Forbidden.d.ts.map +0 -1
- package/dist/svg/Forbidden.js +0 -4
- package/dist/svg/Forbidden.js.map +0 -1
- package/dist/svg/HUB.d.ts +0 -6
- package/dist/svg/HUB.d.ts.map +0 -1
- package/dist/svg/HUB.js +0 -5
- package/dist/svg/HUB.js.map +0 -1
- package/dist/svg/Logo.d.ts +0 -2
- package/dist/svg/Logo.d.ts.map +0 -1
- package/dist/svg/Logo.js +0 -4
- package/dist/svg/Logo.js.map +0 -1
- package/dist/svg/NotFound.d.ts +0 -6
- package/dist/svg/NotFound.d.ts.map +0 -1
- package/dist/svg/NotFound.js +0 -4
- package/dist/svg/NotFound.js.map +0 -1
- package/dist/svg/ServerError.d.ts +0 -6
- package/dist/svg/ServerError.d.ts.map +0 -1
- package/dist/svg/ServerError.js +0 -4
- package/dist/svg/ServerError.js.map +0 -1
- package/dist/svg/Unauthenticated.d.ts +0 -6
- package/dist/svg/Unauthenticated.d.ts.map +0 -1
- package/dist/svg/Unauthenticated.js +0 -4
- package/dist/svg/Unauthenticated.js.map +0 -1
- package/src/components/BottomPanel.tsx +0 -0
- package/src/components/SelectionList.tsx +0 -272
- package/src/components/error/ErrorFeedback.tsx +0 -114
- package/src/components/menu/use-check-text-overflow.tsx +0 -26
- package/src/components/menu/use-keyboard-controls.tsx +0 -70
- package/src/components/tour/PortalSwitcherStep.tsx +0 -36
- package/src/components/types.ts +0 -15
- package/src/layout-context.tsx +0 -22
- package/src/svg/AI.tsx +0 -37
- package/src/svg/EDP.tsx +0 -35
- package/src/svg/Forbidden.tsx +0 -22
- package/src/svg/HUB.tsx +0 -35
- package/src/svg/Logo.tsx +0 -35
- package/src/svg/NotFound.tsx +0 -16
- package/src/svg/ServerError.tsx +0 -33
- package/src/svg/Unauthenticated.tsx +0 -16
- /package/dist/components/{types.js → NotificationCenter/types.js} +0 -0
- /package/src/components/{BottomNotification.tsx → ContactModal.tsx} +0 -0
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const Unauthenticated: ({ className, style }: {
|
|
3
|
-
className?: string | undefined;
|
|
4
|
-
style?: import("react").CSSProperties | undefined;
|
|
5
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
//# sourceMappingURL=Unauthenticated.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Unauthenticated.d.ts","sourceRoot":"","sources":["../../src/svg/Unauthenticated.tsx"],"names":[],"mappings":";AAEA,eAAO,MAAM,eAAe;;;6CAa3B,CAAA"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
/* eslint-disable max-len */
|
|
3
|
-
export const Unauthenticated = ({ className, style }) => (_jsxs("svg", { width: "178", height: "160", viewBox: "0 0 178 160", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className, style: style, children: [_jsx("circle", { opacity: "0.16", cx: "89.6761", cy: "80.2113", r: "31.5629", fill: "#FAFAFB" }), _jsx("ellipse", { opacity: "0.16", cx: "89.6721", cy: "80.6057", rx: "22.094", ry: "21.6995", fill: "#FAFAFB" }), _jsx("ellipse", { opacity: "0.16", cx: "89.6759", cy: "80.6056", rx: "13.4142", ry: "13.0197", fill: "#FAFAFB" }), _jsx("path", { opacity: "0.5", fillRule: "evenodd", clipRule: "evenodd", d: "M44.7029 19.055C69.3231 -5.56521 109.24 -5.56521 133.861 19.055L177.651 62.8454C178.086 63.2808 178.086 63.9868 177.651 64.4222C177.215 64.8577 176.509 64.8577 176.074 64.4222L132.284 20.6319C108.534 -3.11747 70.0291 -3.11747 46.2798 20.6319C45.8443 21.0673 45.1383 21.0673 44.7029 20.6319C44.2675 20.1964 44.2675 19.4904 44.7029 19.055ZM161.243 79.8912L126.447 45.0949C105.747 24.3952 72.1863 24.3952 51.4866 45.0949L16.6903 79.8912L51.4866 114.687C72.1863 135.387 105.747 135.387 126.447 114.687L161.243 79.8912ZM128.024 43.518C106.453 21.9474 71.4803 21.9474 49.9097 43.5181L15.1135 78.3143L13.5366 79.8912L15.1135 81.468L49.9097 116.264C71.4803 137.835 106.453 137.835 128.024 116.264L162.82 81.468L164.397 79.8912L162.82 78.3143L128.024 43.518ZM44.7029 141.115C69.3231 165.736 109.24 165.736 133.861 141.115C134.296 140.68 134.296 139.974 133.861 139.538C133.425 139.103 132.719 139.103 132.284 139.538C108.534 163.288 70.0291 163.288 46.2798 139.538L2.48938 95.7481C2.05394 95.3126 1.34795 95.3126 0.912516 95.7481C0.477078 96.1835 0.477077 96.8895 0.912518 97.3249L44.7029 141.115Z", fill: "url(#paint0_linear_3383_243082)" }), _jsx("defs", { children: _jsxs("linearGradient", { id: "paint0_linear_3383_243082", x1: "-3.35603", y1: "94.0049", x2: "89.5555", y2: "212.99", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { stopColor: "#BCBCCF" }), _jsx("stop", { offset: "0.766098", stopColor: "#353546", stopOpacity: "0.09" })] }) })] }));
|
|
4
|
-
//# sourceMappingURL=Unauthenticated.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Unauthenticated.js","sourceRoot":"","sources":["../../src/svg/Unauthenticated.tsx"],"names":[],"mappings":";AAAA,4BAA4B;AAE5B,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,EAAE,SAAS,EAAE,KAAK,EAAuD,EAAE,EAAE,CAAC,CAC5G,eAAK,KAAK,EAAC,KAAK,EAAC,MAAM,EAAC,KAAK,EAAC,OAAO,EAAC,aAAa,EAAC,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,4BAA4B,EAAC,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,aACnI,iBAAQ,OAAO,EAAC,MAAM,EAAC,EAAE,EAAC,SAAS,EAAC,EAAE,EAAC,SAAS,EAAC,CAAC,EAAC,SAAS,EAAC,IAAI,EAAC,SAAS,GAAE,EAC7E,kBAAS,OAAO,EAAC,MAAM,EAAC,EAAE,EAAC,SAAS,EAAC,EAAE,EAAC,SAAS,EAAC,EAAE,EAAC,QAAQ,EAAC,EAAE,EAAC,SAAS,EAAC,IAAI,EAAC,SAAS,GAAE,EAC3F,kBAAS,OAAO,EAAC,MAAM,EAAC,EAAE,EAAC,SAAS,EAAC,EAAE,EAAC,SAAS,EAAC,EAAE,EAAC,SAAS,EAAC,EAAE,EAAC,SAAS,EAAC,IAAI,EAAC,SAAS,GAAE,EAC5F,eAAM,OAAO,EAAC,KAAK,EAAC,QAAQ,EAAC,SAAS,EAAC,QAAQ,EAAC,SAAS,EAAC,CAAC,EAAC,kkCAAkkC,EAAC,IAAI,EAAC,iCAAiC,GAAE,EACvqC,yBACE,0BAAgB,EAAE,EAAC,2BAA2B,EAAC,EAAE,EAAC,UAAU,EAAC,EAAE,EAAC,SAAS,EAAC,EAAE,EAAC,SAAS,EAAC,EAAE,EAAC,QAAQ,EAAC,aAAa,EAAC,gBAAgB,aAC/H,eAAM,SAAS,EAAC,SAAS,GAAE,EAC3B,eAAM,MAAM,EAAC,UAAU,EAAC,SAAS,EAAC,SAAS,EAAC,WAAW,EAAC,MAAM,GAAE,IACjD,GACZ,IACH,CACP,CAAA"}
|
|
File without changes
|
|
@@ -1,272 +0,0 @@
|
|
|
1
|
-
import { Flex, IconBox, Text } from '@citric/core'
|
|
2
|
-
import { ArrowLeft, Check, ChevronRight } from '@citric/icons'
|
|
3
|
-
import { IconButton } from '@citric/ui'
|
|
4
|
-
import { WithStyle, listToClass, theme } from '@stack-spot/portal-theme'
|
|
5
|
-
import { Dictionary, useTranslate } from '@stack-spot/portal-translate'
|
|
6
|
-
import { ReactElement, useCallback, useEffect, useMemo, useState } from 'react'
|
|
7
|
-
import { styled } from 'styled-components'
|
|
8
|
-
import { AnchorComponent, useAnchorTag } from '../layout-context'
|
|
9
|
-
import { useKeyboardControls } from './menu/use-keyboard-controls'
|
|
10
|
-
import { Action } from './types'
|
|
11
|
-
|
|
12
|
-
interface ItemWithIcon {
|
|
13
|
-
icon?: React.ReactElement,
|
|
14
|
-
iconRight?: React.ReactElement,
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export interface ListAction extends ItemWithIcon, Action {
|
|
18
|
-
active?: boolean,
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
interface ListGroup {
|
|
22
|
-
type?: 'section' | 'collapsible',
|
|
23
|
-
children: ListItem[],
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
interface ListSection extends ListGroup {
|
|
27
|
-
type: 'section',
|
|
28
|
-
label?: string,
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
interface ListCollapsible extends ListGroup, ItemWithIcon {
|
|
32
|
-
type?: 'collapsible',
|
|
33
|
-
label: string,
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
type ListItem = ListSection | ListCollapsible | ListAction
|
|
37
|
-
|
|
38
|
-
interface CurrentItemList {
|
|
39
|
-
items: ListItem[],
|
|
40
|
-
label?: string,
|
|
41
|
-
parent?: CurrentItemList,
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
const ANIMATION_DURATION_MS = 300
|
|
45
|
-
const MAX_HEIGHT_TRANSITION = `max-height ease-in ${ANIMATION_DURATION_MS / 1000}s`
|
|
46
|
-
|
|
47
|
-
export interface SelectionListProps extends WithStyle {
|
|
48
|
-
id: string,
|
|
49
|
-
visible?: boolean,
|
|
50
|
-
items: ListItem[],
|
|
51
|
-
onHide?: () => void,
|
|
52
|
-
maxHeight?: string,
|
|
53
|
-
before?: ReactElement,
|
|
54
|
-
after?: ReactElement,
|
|
55
|
-
scroll?: boolean,
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
interface RenderOptions {
|
|
59
|
-
setCurrent: (current: CurrentItemList) => void,
|
|
60
|
-
controllerId?: string,
|
|
61
|
-
onClose?: () => void,
|
|
62
|
-
Link: AnchorComponent,
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
const SelectionBox = styled.div<{ $maxHeight: string, $scroll?: boolean }>`
|
|
66
|
-
max-height: 0;
|
|
67
|
-
overflow-y: ${({ $scroll }) => $scroll ? 'auto' : 'hidden'};
|
|
68
|
-
overflow-x: hidden;
|
|
69
|
-
transition: ${MAX_HEIGHT_TRANSITION}, visibility 0s ${ANIMATION_DURATION_MS / 1000}s;
|
|
70
|
-
z-index: 1;
|
|
71
|
-
box-shadow: 4px 4px 48px #000;
|
|
72
|
-
border-radius: 0.5rem;
|
|
73
|
-
visibility: hidden;
|
|
74
|
-
|
|
75
|
-
.selection-list-content {
|
|
76
|
-
display: flex;
|
|
77
|
-
flex-direction: column;
|
|
78
|
-
background: ${theme.color.light['500']};
|
|
79
|
-
border-radius: 0.5rem;
|
|
80
|
-
border: 1px solid ${theme.color.light['600']};
|
|
81
|
-
background-color: ${theme.color.light['300']};
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.section-title, li > a {
|
|
85
|
-
height: 40px;
|
|
86
|
-
padding: 0 8px;
|
|
87
|
-
display: flex;
|
|
88
|
-
flex-direction: row;
|
|
89
|
-
align-items: center;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
li > a {
|
|
93
|
-
gap: 4px;
|
|
94
|
-
transition: background-color 0.2s;
|
|
95
|
-
&:hover, &:focus {
|
|
96
|
-
background: ${theme.color.light['400']};
|
|
97
|
-
}
|
|
98
|
-
.label {
|
|
99
|
-
flex: 1;
|
|
100
|
-
white-space: nowrap;
|
|
101
|
-
overflow: hidden;
|
|
102
|
-
text-overflow: ellipsis;
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
li.section {
|
|
107
|
-
border-bottom: 2px solid ${theme.color.light['600']};
|
|
108
|
-
&:last-child {
|
|
109
|
-
border-bottom: none;
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
&.visible {
|
|
114
|
-
max-height: ${({ $maxHeight }) => $maxHeight};
|
|
115
|
-
visibility: visible;
|
|
116
|
-
transition: ${MAX_HEIGHT_TRANSITION};
|
|
117
|
-
}
|
|
118
|
-
`
|
|
119
|
-
|
|
120
|
-
function renderAction({
|
|
121
|
-
label, href, onClick, icon, iconRight, active, target, iconActive = <Check />,
|
|
122
|
-
}: ListAction, { onClose, Link }: RenderOptions) {
|
|
123
|
-
function handleClick() {
|
|
124
|
-
onClick?.()
|
|
125
|
-
onClose?.()
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
const isTextLabel = typeof label === 'string'
|
|
129
|
-
|
|
130
|
-
return (
|
|
131
|
-
<li key={isTextLabel ? label : label.id} className="action">
|
|
132
|
-
<Link href={href} onClick={handleClick} target={target} tabIndex={0} aria-selected={active}>
|
|
133
|
-
{icon && <IconBox>{icon}</IconBox>}
|
|
134
|
-
{isTextLabel ? <Text appearance="body2" className="label">{label}</Text> : label.element}
|
|
135
|
-
{iconRight && <IconBox>{iconRight}</IconBox>}
|
|
136
|
-
{active && <IconBox>{iconActive}</IconBox>}
|
|
137
|
-
</Link>
|
|
138
|
-
</li>
|
|
139
|
-
)
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
function renderCollapsible({ label, icon, iconRight, children }: ListCollapsible, { setCurrent, controllerId, Link }: RenderOptions) {
|
|
143
|
-
function handleClick(ev: React.MouseEvent) {
|
|
144
|
-
// accessibility: this will tell the screen reader the section was expanded before this link is removed from the DOM.
|
|
145
|
-
(ev.target as HTMLElement)?.setAttribute?.('aria-expanded', 'true')
|
|
146
|
-
setCurrent({ items: children, label })
|
|
147
|
-
}
|
|
148
|
-
return (
|
|
149
|
-
<li key={label} className="collapsible">
|
|
150
|
-
<Link onClick={handleClick} tabIndex={0} aria-expanded={false} aria-controls={controllerId}>
|
|
151
|
-
{icon && <IconBox>{icon}</IconBox>}
|
|
152
|
-
<Text appearance="body2" className="label">{label}</Text>
|
|
153
|
-
{iconRight && <IconBox>{iconRight}</IconBox>}
|
|
154
|
-
<IconBox><ChevronRight /></IconBox>
|
|
155
|
-
</Link>
|
|
156
|
-
</li>
|
|
157
|
-
)
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
function renderSection({ label, children }: ListSection, options: RenderOptions) {
|
|
161
|
-
return (
|
|
162
|
-
<li key={label ?? children.map(c => c.label).join('-')} className="section">
|
|
163
|
-
{label && <Text appearance="overheader2" colorScheme="primary" className="section-title">{label}</Text>}
|
|
164
|
-
<ul>{children.map(i => renderItem(i, options))}</ul>
|
|
165
|
-
</li>
|
|
166
|
-
)
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
function renderItem(item: ListItem, options: RenderOptions) {
|
|
170
|
-
if ('children' in item) {
|
|
171
|
-
return item.type === 'section' ? renderSection(item, options) : renderCollapsible(item, options)
|
|
172
|
-
}
|
|
173
|
-
return renderAction(item, options)
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
export const SelectionList = ({
|
|
177
|
-
id, items, className, style, visible = true, maxHeight = '300px', onHide, before, after, scroll,
|
|
178
|
-
}: SelectionListProps) => {
|
|
179
|
-
const Link = useAnchorTag()
|
|
180
|
-
const t = useTranslate(dictionary)
|
|
181
|
-
const [current, setCurrent] = useState<CurrentItemList>({ items })
|
|
182
|
-
const { keyboardControlledElement: wrapper, attachKeyboardListeners, detachKeyboardListeners } = useKeyboardControls(
|
|
183
|
-
{ onPressEscape: onHide, querySelectors: 'li.action a, li.collapsible a, button' },
|
|
184
|
-
)
|
|
185
|
-
|
|
186
|
-
const listItems = useMemo(
|
|
187
|
-
() => current.items.map(i => renderItem(
|
|
188
|
-
i,
|
|
189
|
-
{
|
|
190
|
-
setCurrent: (next: CurrentItemList) => setCurrent({ ...next, parent: current }),
|
|
191
|
-
onClose: onHide,
|
|
192
|
-
controllerId: id,
|
|
193
|
-
Link,
|
|
194
|
-
},
|
|
195
|
-
)),
|
|
196
|
-
[current],
|
|
197
|
-
)
|
|
198
|
-
|
|
199
|
-
const hide = useCallback((event: Event) => {
|
|
200
|
-
const target = (event.target as HTMLElement | null)
|
|
201
|
-
// if the element is not in the DOM anymore, we'll consider the click was inside the selection list
|
|
202
|
-
const isClickInsideSelectionList = !target?.isConnected || wrapper.current?.contains(target)
|
|
203
|
-
const isAction = target?.classList?.contains('action') || !!target?.closest('.action')
|
|
204
|
-
if (!isClickInsideSelectionList || isAction) onHide?.()
|
|
205
|
-
}, [])
|
|
206
|
-
|
|
207
|
-
useEffect(() => {
|
|
208
|
-
if (visible) {
|
|
209
|
-
setCurrent({ items })
|
|
210
|
-
attachKeyboardListeners()
|
|
211
|
-
if (onHide) setTimeout(() => document.addEventListener('click', hide), 50)
|
|
212
|
-
}
|
|
213
|
-
else {
|
|
214
|
-
detachKeyboardListeners()
|
|
215
|
-
document.removeEventListener('click', hide)
|
|
216
|
-
}
|
|
217
|
-
}, [visible])
|
|
218
|
-
|
|
219
|
-
return (
|
|
220
|
-
<SelectionBox
|
|
221
|
-
id={id}
|
|
222
|
-
ref={wrapper}
|
|
223
|
-
$maxHeight={maxHeight}
|
|
224
|
-
style={style}
|
|
225
|
-
className={listToClass(['selection-list', visible ? 'visible' : undefined, className])}
|
|
226
|
-
$scroll={scroll}
|
|
227
|
-
aria-hidden={!visible}
|
|
228
|
-
>
|
|
229
|
-
<div className="selection-list-content">
|
|
230
|
-
{before}
|
|
231
|
-
{current.parent
|
|
232
|
-
? (
|
|
233
|
-
<Flex mt={5} mb={1} alignItems="center">
|
|
234
|
-
<IconButton
|
|
235
|
-
onClick={(ev) => {
|
|
236
|
-
// accessibility: this will tell the screen reader the section was collapsed before this button is removed from the DOM.
|
|
237
|
-
(ev.target as HTMLElement)?.setAttribute?.('aria-expanded', 'false')
|
|
238
|
-
setCurrent(current.parent ?? { items })
|
|
239
|
-
}}
|
|
240
|
-
sx={{ mr: 3 }}
|
|
241
|
-
title={t.back}
|
|
242
|
-
aria-controls={id}
|
|
243
|
-
aria-expanded={true}
|
|
244
|
-
>
|
|
245
|
-
<ArrowLeft />
|
|
246
|
-
</IconButton>
|
|
247
|
-
<Text appearance="microtext1">{current.label}</Text>
|
|
248
|
-
</Flex>
|
|
249
|
-
)
|
|
250
|
-
: undefined
|
|
251
|
-
}
|
|
252
|
-
<ul>
|
|
253
|
-
{listItems}
|
|
254
|
-
{after &&
|
|
255
|
-
<li className="action">
|
|
256
|
-
{after}
|
|
257
|
-
</li>
|
|
258
|
-
}
|
|
259
|
-
</ul>
|
|
260
|
-
</div>
|
|
261
|
-
</SelectionBox>
|
|
262
|
-
)
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
const dictionary = {
|
|
266
|
-
en: {
|
|
267
|
-
back: 'Go back',
|
|
268
|
-
},
|
|
269
|
-
pt: {
|
|
270
|
-
back: 'Voltar',
|
|
271
|
-
},
|
|
272
|
-
} satisfies Dictionary
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
import { Box, Button, Container, Flex, LinkBox, Text } from '@citric/core'
|
|
2
|
-
import { Dictionary, useTranslate } from '@stack-spot/portal-translate'
|
|
3
|
-
import { useState } from 'react'
|
|
4
|
-
import { Forbidden } from '../../svg/Forbidden'
|
|
5
|
-
import { Logo } from '../../svg/Logo'
|
|
6
|
-
import { NotFound } from '../../svg/NotFound'
|
|
7
|
-
import { ServerError } from '../../svg/ServerError'
|
|
8
|
-
import { Unauthenticated } from '../../svg/Unauthenticated'
|
|
9
|
-
import { ErrorDescription } from './ErrorManager'
|
|
10
|
-
|
|
11
|
-
const imageStyle: React.CSSProperties = {
|
|
12
|
-
width: '200px',
|
|
13
|
-
height: '200px',
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
const imageMap: Record<number, React.ReactElement> = {
|
|
17
|
-
401: <Unauthenticated style={imageStyle} />,
|
|
18
|
-
403: <Forbidden style={imageStyle} />,
|
|
19
|
-
404: <NotFound style={imageStyle} />,
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export const ErrorFeedback = ({ code = 0, message, debug }: ErrorDescription) => {
|
|
23
|
-
const t = useTranslate(dictionary) as Record<string, string>
|
|
24
|
-
const [showDetails, setShowDetails] = useState(false)
|
|
25
|
-
|
|
26
|
-
return (
|
|
27
|
-
<Box bg="light.400">
|
|
28
|
-
<Container>
|
|
29
|
-
<Flex alignItems="center" sx={{ padding: 12 }}>
|
|
30
|
-
<Box width={5} sx={{ display: ['block', 'none'] }}>
|
|
31
|
-
<Flex justifyContent="flex-end" pr={20}>
|
|
32
|
-
{imageMap[code] ?? <ServerError style={imageStyle} />}
|
|
33
|
-
</Flex>
|
|
34
|
-
</Box>
|
|
35
|
-
<Box width={[7, 12]}>
|
|
36
|
-
<LinkBox href="/">
|
|
37
|
-
<Logo style={{ width: '130px', height: '30px' }} />
|
|
38
|
-
</LinkBox>
|
|
39
|
-
<Box w={[7, 12]}>
|
|
40
|
-
<Text appearance="h4" mt={5} colorScheme="inverse">
|
|
41
|
-
{code ? `${code}. ` : ''}
|
|
42
|
-
<Text appearance="h4" as="span" colorScheme="light.700">
|
|
43
|
-
{t[`${code}.title`]}
|
|
44
|
-
</Text>
|
|
45
|
-
</Text>
|
|
46
|
-
|
|
47
|
-
<Text appearance="body1" mt={5} colorScheme="inverse">
|
|
48
|
-
{t[`${code}.description`]}
|
|
49
|
-
</Text>
|
|
50
|
-
|
|
51
|
-
<Text appearance="body1" colorScheme="light.700" mt={1}>
|
|
52
|
-
{t[`${code}.help`]}
|
|
53
|
-
</Text>
|
|
54
|
-
{debug && message && (
|
|
55
|
-
<Button appearance="outlined" colorScheme="inverse" onClick={() => setShowDetails(v => !v)}>
|
|
56
|
-
{showDetails ? t.hideDetails : t.showDetails}
|
|
57
|
-
</Button>
|
|
58
|
-
)}
|
|
59
|
-
{showDetails && (
|
|
60
|
-
<Box bg="danger" mt={8} p={4} sx={{ borderRadius: '5px' }}>
|
|
61
|
-
<Text appearance="microtext1" colorScheme="danger.contrastText">{message}</Text>
|
|
62
|
-
</Box>
|
|
63
|
-
)}
|
|
64
|
-
</Box>
|
|
65
|
-
</Box>
|
|
66
|
-
</Flex>
|
|
67
|
-
</Container>
|
|
68
|
-
</Box>
|
|
69
|
-
)
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
const dictionary = {
|
|
73
|
-
en: {
|
|
74
|
-
altLogo: 'Logo Stackspot',
|
|
75
|
-
'0.title': 'Unknown client error',
|
|
76
|
-
'0.description': 'An unknown error happened while trying to load the resource.',
|
|
77
|
-
'0.help': 'Reload the page and, if it still doesn\'t work, report the error the Stackspot team.',
|
|
78
|
-
'401.title': 'Not authorized',
|
|
79
|
-
'401.description': 'There was a failure loading credentials for this page.',
|
|
80
|
-
'401.help': 'Check if the URL is correct or clear your cache and cookies from your browser and try again.',
|
|
81
|
-
'403.title': 'Private access',
|
|
82
|
-
'403.description': 'The page you have tried to visit is private.',
|
|
83
|
-
'403.help': 'Log in with another account or request access from the person who manages your organization.',
|
|
84
|
-
'404.title': 'Resource not found',
|
|
85
|
-
'404.description': 'This resource no longer exists.',
|
|
86
|
-
'404.help': 'Please try again or request a new URL from the person who manages your organization.',
|
|
87
|
-
'500.title': 'Server error',
|
|
88
|
-
'500.description':
|
|
89
|
-
"We have identified a problem with the server, but don't worry. We are already investigating what happened.",
|
|
90
|
-
'500.help': 'Please try again after a few minutes.',
|
|
91
|
-
showDetails: 'Show Details',
|
|
92
|
-
hideDetails: 'Hide Details',
|
|
93
|
-
},
|
|
94
|
-
pt: {
|
|
95
|
-
altLogo: 'Logo Stackspot',
|
|
96
|
-
'0.title': 'Erro desconhecido (cliente)',
|
|
97
|
-
'0.description': 'Um erro desconhecido aconteceu ao carregar o recurso',
|
|
98
|
-
'0.help': 'Recarregue a página e, se ainda não funcionar, reporte o problema para o time da Stackspot.',
|
|
99
|
-
'401.title': 'Não autorizado',
|
|
100
|
-
'401.description': 'Houve uma falha no carregamento de credenciais dessa página.',
|
|
101
|
-
'401.help': 'Verifique se a URL está correta ou limpe o cache e os cookies de seu navegador e tente novamente.',
|
|
102
|
-
'403.title': 'Acesso privado',
|
|
103
|
-
'403.description': '"A página que você tentou visualizar é particular."',
|
|
104
|
-
'403.help': 'Solicite acesso com o administrador da sua organização.',
|
|
105
|
-
'404.title': 'Recurso não encontrado',
|
|
106
|
-
'404.description': 'Este recurso não existe mais.',
|
|
107
|
-
'404.help': 'Tente novamente ou fale com o administrador da sua organização.',
|
|
108
|
-
'500.title': 'Erro ao exibir o recurso',
|
|
109
|
-
'500.description': 'Mas não se preocupe, já estamos investigando o que aconteceu.',
|
|
110
|
-
'500.help': 'Tente novamente após alguns minutos.',
|
|
111
|
-
showDetails: 'Ver Detalhes',
|
|
112
|
-
hideDetails: 'Esconder Detalhes',
|
|
113
|
-
},
|
|
114
|
-
} satisfies Dictionary
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { useState, useRef, useEffect } from 'react'
|
|
2
|
-
|
|
3
|
-
export function useCheckTextOverflow() {
|
|
4
|
-
const [overflow, setOverflow] = useState<boolean>(false)
|
|
5
|
-
const ref = useRef<HTMLParagraphElement>(null)
|
|
6
|
-
|
|
7
|
-
const checkOverflow = () => {
|
|
8
|
-
if (!ref.current) {
|
|
9
|
-
return
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
const hasOverflow = ref.current.offsetWidth < ref.current.scrollWidth
|
|
13
|
-
|
|
14
|
-
if (hasOverflow === overflow) {
|
|
15
|
-
return
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
setOverflow(hasOverflow)
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
useEffect(() => {
|
|
22
|
-
checkOverflow()
|
|
23
|
-
}, [ref.current])
|
|
24
|
-
|
|
25
|
-
return { overflow, ref }
|
|
26
|
-
}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { useCallback, useRef } from 'react'
|
|
2
|
-
|
|
3
|
-
interface Props {
|
|
4
|
-
/**
|
|
5
|
-
* A query selector that returns every html element that must be navigable through the keyboard.
|
|
6
|
-
*/
|
|
7
|
-
querySelectors: string,
|
|
8
|
-
/**
|
|
9
|
-
* Function to call when ESC is pressed. or when TAB is pressed at the last item in the list of items returned by the query selector.
|
|
10
|
-
*/
|
|
11
|
-
onPressEscape?: () => void,
|
|
12
|
-
/**
|
|
13
|
-
* Function to call when TAB is pressed at the last item in the list of items returned by the query selector. Will be the same as
|
|
14
|
-
* onPressEscape if not specified.
|
|
15
|
-
*/
|
|
16
|
-
onPressLastTab?: () => void,
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export function useKeyboardControls({ querySelectors, onPressEscape, onPressLastTab = onPressEscape }: Props) {
|
|
20
|
-
const keyboardControlledElement = useRef<HTMLDivElement>(null)
|
|
21
|
-
const listeners = useRef<Pick<Props, 'onPressEscape' | 'onPressLastTab'>>({})
|
|
22
|
-
listeners.current = { onPressEscape, onPressLastTab }
|
|
23
|
-
|
|
24
|
-
const keyboardControls = useCallback((event: KeyboardEvent) => {
|
|
25
|
-
const target = event?.target as HTMLElement | null
|
|
26
|
-
|
|
27
|
-
function getSelectableAnchors() {
|
|
28
|
-
return keyboardControlledElement.current?.querySelectorAll(querySelectors) ?? []
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
function handleArrows(key = event.key) {
|
|
32
|
-
const anchors = getSelectableAnchors()
|
|
33
|
-
let i = 0
|
|
34
|
-
while (i < anchors.length && document.activeElement !== anchors[i]) i++
|
|
35
|
-
const next: any = key === 'ArrowDown' ? (anchors[i + 1] ?? anchors[0]) : (anchors[i - 1] ?? anchors[anchors.length - 1])
|
|
36
|
-
next?.focus?.()
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
const handlers: Record<string, (() => void) | undefined> = {
|
|
40
|
-
Escape: () => {
|
|
41
|
-
listeners.current.onPressEscape?.()
|
|
42
|
-
event.stopPropagation()
|
|
43
|
-
event.preventDefault()
|
|
44
|
-
},
|
|
45
|
-
Enter: () => {
|
|
46
|
-
target?.click()
|
|
47
|
-
},
|
|
48
|
-
Tab: () => {
|
|
49
|
-
const anchors = getSelectableAnchors()
|
|
50
|
-
if (document.activeElement === anchors[anchors.length - 1]) listeners.current.onPressLastTab?.()
|
|
51
|
-
else handleArrows('ArrowDown')
|
|
52
|
-
event.preventDefault()
|
|
53
|
-
},
|
|
54
|
-
ArrowUp: handleArrows,
|
|
55
|
-
ArrowDown: handleArrows,
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
handlers[event.key]?.()
|
|
59
|
-
}, [])
|
|
60
|
-
|
|
61
|
-
const attachKeyboardListeners = useCallback(() => {
|
|
62
|
-
document.addEventListener('keydown', keyboardControls)
|
|
63
|
-
}, [])
|
|
64
|
-
|
|
65
|
-
const detachKeyboardListeners = useCallback(() => {
|
|
66
|
-
document.removeEventListener('keydown', keyboardControls)
|
|
67
|
-
}, [])
|
|
68
|
-
|
|
69
|
-
return { keyboardControlledElement, attachKeyboardListeners, detachKeyboardListeners }
|
|
70
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { Box, Image, Text } from '@citric/core'
|
|
2
|
-
import { TourStep, tourStepBuilder } from '@stack-spot/portal-components'
|
|
3
|
-
import { useTranslate } from '@stack-spot/portal-translate'
|
|
4
|
-
export const usePortalSwitcherStep = (): TourStep => {
|
|
5
|
-
const t = useTranslate(translations)
|
|
6
|
-
return tourStepBuilder({
|
|
7
|
-
selector: '.portal-switcher',
|
|
8
|
-
title: t.title,
|
|
9
|
-
content: <>
|
|
10
|
-
<Image src="https://marketing.stackspot.com/switch-v2.gif" alt={t.imageAlt} />
|
|
11
|
-
<Box px={5} py={3}>
|
|
12
|
-
<Text appearance="microtext1" colorScheme="inverse.contrastText">{t.description}</Text>
|
|
13
|
-
</Box>
|
|
14
|
-
</>,
|
|
15
|
-
position: 'right',
|
|
16
|
-
style: {
|
|
17
|
-
width: '300px',
|
|
18
|
-
},
|
|
19
|
-
})
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const translations = {
|
|
26
|
-
en: {
|
|
27
|
-
title: 'Expand Your Horizons with Stackspot',
|
|
28
|
-
description: 'Easily switch between EDP and AI to enhance your projects. Access a wide range of resources with just one click and take your projects to a new level of efficiency. Start your journey now!',
|
|
29
|
-
imageAlt: 'GIF describing how to use product switcher and navigate between AI and EDP portals',
|
|
30
|
-
},
|
|
31
|
-
pt: {
|
|
32
|
-
title: 'Expanda Seus Horizontes com Stackspot',
|
|
33
|
-
description: 'Troque facilmente entre EDP e AI para aprimorar seus projetos. Acesse uma ampla gama de recursos com apenas um clique e leve seus projetos para um novo nível de eficiência. Comece sua jornada agora!',
|
|
34
|
-
imageAlt: 'GIF mostrando como usar o alternador de produtos e navegar entre os portais AI e EDP',
|
|
35
|
-
},
|
|
36
|
-
}
|
package/src/components/types.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from 'react'
|
|
2
|
-
|
|
3
|
-
interface CustomLabel {
|
|
4
|
-
id: string,
|
|
5
|
-
element: ReactNode,
|
|
6
|
-
}
|
|
7
|
-
export interface Action {
|
|
8
|
-
label: string | CustomLabel,
|
|
9
|
-
onClick?: () => void,
|
|
10
|
-
href?: string,
|
|
11
|
-
target?: React.AnchorHTMLAttributes<HTMLAnchorElement>['target'],
|
|
12
|
-
iconActive?: React.ReactElement,
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export type PortalAcronym = 'EDP' | 'AI' | 'HUB'
|
package/src/layout-context.tsx
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/* eslint-disable react-refresh/only-export-components */
|
|
2
|
-
|
|
3
|
-
import { createContext, useContext } from 'react'
|
|
4
|
-
|
|
5
|
-
export type AnchorComponent = (props: React.AnchorHTMLAttributes<HTMLAnchorElement>) => React.ReactElement
|
|
6
|
-
|
|
7
|
-
export interface LayoutContext {
|
|
8
|
-
anchorTag?: AnchorComponent,
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
const context = createContext<LayoutContext>({})
|
|
12
|
-
|
|
13
|
-
const Anchor: AnchorComponent = props => <a {...props} />
|
|
14
|
-
|
|
15
|
-
export const LayoutProvider = ({ children, ...props }: LayoutContext & { children: React.ReactNode }) => (
|
|
16
|
-
<context.Provider value={props}>{children}</context.Provider>
|
|
17
|
-
)
|
|
18
|
-
|
|
19
|
-
export function useAnchorTag(): AnchorComponent {
|
|
20
|
-
const { anchorTag } = useContext(context)
|
|
21
|
-
return anchorTag ?? Anchor
|
|
22
|
-
}
|
package/src/svg/AI.tsx
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { theme } from '@stack-spot/portal-theme'
|
|
2
|
-
import { useTranslate } from '@stack-spot/portal-translate'
|
|
3
|
-
|
|
4
|
-
/* eslint-disable max-len */
|
|
5
|
-
export const AI = ({ className, style }: { className?: string, style?: React.CSSProperties }) => {
|
|
6
|
-
const t = useTranslate({ en: { AI: 'AI' }, pt: { AI: 'IA' } })
|
|
7
|
-
return <svg aria-label={t.AI} className={className} style={style} width="139" height="24" viewBox="0 0 139 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
8
|
-
<g clipPath="url(#clip0_7624_1886)">
|
|
9
|
-
<path d="M13.5108 20.4623C13.396 20.4623 13.2862 20.4848 13.1864 20.5222C13.1015 20.5547 13.0117 20.5746 12.9193 20.5821C12.9019 20.5821 12.8844 20.5821 12.8694 20.5821C12.2131 20.5821 11.6416 20.2128 11.3522 19.6713L11.3472 19.6638C11.3072 19.5889 11.2823 19.509 11.2673 19.4267C11.1874 18.97 10.7932 18.6256 10.314 18.6256C10.2017 18.6256 10.0944 18.6456 9.99459 18.683C9.90475 18.7155 9.81242 18.7379 9.72008 18.7454C9.70261 18.7454 9.68514 18.7454 9.67017 18.7454C8.99638 18.7454 8.42241 18.3711 8.14042 17.8096C8.10798 17.7422 8.08552 17.6698 8.07304 17.5975C7.99568 17.1383 7.59889 16.7864 7.11726 16.7864C7.00746 16.7864 6.90015 16.8064 6.80282 16.8413C6.72297 16.8688 6.64311 16.8888 6.55826 16.8937C6.53081 16.8937 6.50336 16.8962 6.4809 16.8962C5.76469 16.8962 5.14829 16.3797 4.88876 15.7583L4.85382 15.661C4.8139 15.5212 4.74652 15.3939 4.65418 15.2891C4.58181 15.2068 4.51443 15.1194 4.45454 15.0271C4.39964 14.9422 4.33975 14.8449 4.3098 14.78C4.20748 14.5554 4.12513 14.3109 4.12513 14.0838C4.12513 13.8093 4.19002 13.5497 4.30481 13.3202C4.3123 13.3052 4.32228 13.2877 4.33226 13.2703C4.39714 13.153 4.48199 13.0506 4.57932 12.9583C4.78145 12.7711 4.90373 12.4991 4.89126 12.1997C4.8688 11.6981 4.45953 11.2913 3.95793 11.2713C3.40143 11.2489 2.94475 11.6931 2.94475 12.2446C2.94475 12.5266 3.06454 12.7811 3.25669 12.9583C3.364 13.0581 3.46133 13.1729 3.5312 13.3027C3.54368 13.3276 3.55615 13.3501 3.56614 13.3676C3.66596 13.5847 3.72335 13.8268 3.72335 14.0838C3.72335 14.3408 3.70589 14.7975 3.34653 15.1344C3.10696 15.359 2.91481 15.6485 2.94725 16.0103C2.98468 16.4271 3.29163 16.7715 3.6984 16.8688C3.89804 16.9162 4.08271 16.8962 4.24991 16.8338C4.33725 16.8014 4.42709 16.7814 4.51942 16.7765C4.53689 16.7765 4.55187 16.7765 4.56434 16.7765C5.21567 16.7765 5.78964 17.1233 6.08162 17.6549C6.11905 17.7223 6.14151 17.7946 6.149 17.8695C6.2039 18.3561 6.61566 18.7329 7.11476 18.7329C7.23205 18.7329 7.34185 18.7105 7.44417 18.673C7.52652 18.6431 7.61137 18.6206 7.69871 18.6156C7.72367 18.6156 7.74363 18.6132 7.7611 18.6132C8.38498 18.6132 8.93399 18.95 9.23595 19.4516C9.23595 19.4541 9.24094 19.4591 9.24344 19.4641C9.29834 19.559 9.33827 19.6638 9.35823 19.7711C9.43809 20.2278 9.83488 20.5721 10.3115 20.5721C10.4313 20.5721 10.5436 20.5497 10.6484 20.5097C10.7457 20.4723 10.8481 20.4548 10.9529 20.4523C10.9579 20.4523 10.9628 20.4523 10.9678 20.4523C11.5867 20.4523 12.1183 20.7718 12.4177 21.2584C12.4202 21.2634 12.4227 21.2659 12.4252 21.2709C12.4901 21.3807 12.535 21.5005 12.56 21.6252C12.6498 22.0869 13.0616 22.4313 13.5532 22.4088C14.0548 22.3864 14.4616 21.9771 14.484 21.4755C14.5065 20.919 14.0623 20.4623 13.5108 20.4623ZM3.9205 9.53945C4.45704 9.53945 4.89375 9.10274 4.89375 8.5662C4.89375 8.02966 4.45704 7.59295 3.9205 7.59295C3.38396 7.59295 2.94725 8.02966 2.94725 8.5662C2.94725 9.10274 3.38396 9.53945 3.9205 9.53945ZM3.9205 5.86356C4.45704 5.86356 4.89375 5.42684 4.89375 4.8903C4.89375 4.35377 4.45704 3.91705 3.9205 3.91705C3.38396 3.91705 2.94725 4.35377 2.94725 4.8903C2.94725 5.42684 3.38396 5.86356 3.9205 5.86356Z" fill="#FF9800" />
|
|
10
|
-
<path d="M16.8376 18.3909C16.6479 18.3709 16.4658 18.3959 16.301 18.4558C16.2212 18.4857 16.1388 18.5107 16.0565 18.5306C15.9741 18.5506 15.8793 18.5681 15.8094 18.5681C15.3802 18.5681 15.0084 18.3235 14.8262 17.9642C14.7987 17.9118 14.7713 17.8194 14.7488 17.7421C14.7314 17.6822 14.7164 17.6198 14.7064 17.5574C14.6091 16.9834 14.1125 16.5467 13.5111 16.5467C13.3464 16.5467 13.1891 16.5816 13.0469 16.639C13.0219 16.649 12.9995 16.659 12.9745 16.669C12.8597 16.7089 12.7399 16.7314 12.6102 16.7314C12.1585 16.7314 11.7717 16.4594 11.5995 16.0726C11.5521 15.9653 11.5097 15.7257 11.5097 15.7257C11.4173 15.1492 10.9182 14.7075 10.3143 14.7075C10.1671 14.7075 10.0273 14.735 9.89755 14.7824C9.89755 14.7824 9.58811 14.8872 9.41841 14.8872C8.95175 14.8872 8.55247 14.5952 8.39275 14.186C8.35283 14.0836 8.3104 13.854 8.3104 13.854C8.258 13.577 8.11076 13.335 7.90363 13.1603C7.84624 13.1104 7.78884 13.058 7.73893 13.0006C7.68153 12.9357 7.61415 12.8558 7.57922 12.7959C7.48439 12.6337 7.43198 12.4466 7.43198 12.2469C7.43198 12.0124 7.50435 11.7952 7.62913 11.6156C7.65658 11.5781 7.7015 11.5257 7.74392 11.4808C7.79383 11.4284 7.84624 11.381 7.90114 11.3361C8.16566 11.114 8.33536 10.7821 8.33536 10.4077C8.33536 10.0334 8.16566 9.70151 7.90114 9.47941C7.84125 9.4295 7.78634 9.37959 7.73144 9.32219C7.71148 9.29973 7.69151 9.27977 7.67654 9.2623C7.52431 9.07264 7.43198 8.83057 7.43198 8.56854C7.43198 8.3714 7.48439 8.18423 7.57672 8.02452C7.61415 7.95714 7.69151 7.8673 7.7539 7.79992C7.79882 7.75001 7.84873 7.7026 7.90114 7.66018C8.18563 7.4231 8.35782 7.05626 8.33286 6.65199C8.29293 6.03559 7.78634 5.54398 7.16995 5.51902C6.47869 5.49157 5.90722 6.04558 5.90722 6.73184C5.90722 7.10368 6.07691 7.43807 6.34144 7.66018C6.39385 7.70509 6.44625 7.75251 6.49367 7.80242C6.54607 7.85732 6.60596 7.9272 6.63841 7.9796C6.74571 8.1493 6.8106 8.35393 6.8106 8.57104C6.8106 8.83307 6.71826 9.07513 6.56354 9.26479C6.54857 9.28226 6.5311 9.30223 6.51113 9.32469C6.45873 9.37959 6.40133 9.43199 6.34144 9.4819C6.07691 9.704 5.90722 10.0359 5.90722 10.4102C5.90722 10.7846 6.07691 11.119 6.34394 11.3411C6.39884 11.386 6.44875 11.4334 6.49866 11.4833C6.53359 11.5207 6.56853 11.5607 6.59099 11.5906C6.72824 11.7753 6.8106 12.0024 6.8106 12.2494C6.8106 12.479 6.74072 12.6911 6.62094 12.8683C6.59349 12.9107 6.54108 12.9681 6.49866 13.0156C6.45124 13.068 6.39884 13.1154 6.34394 13.1603C6.05945 13.3974 5.88726 13.7617 5.91221 14.1685C5.95214 14.7799 6.45124 15.2715 7.06264 15.3014C7.24482 15.3114 7.4195 15.279 7.57922 15.2141C7.68403 15.1717 7.79133 15.1392 7.90363 15.1268C7.94855 15.1218 7.99347 15.1168 8.02591 15.1168C8.40773 15.1168 8.74462 15.3114 8.94426 15.6084C8.96173 15.6358 8.9817 15.6733 9.00166 15.7157C9.06155 15.843 9.10148 15.9802 9.12394 16.12C9.21378 16.6989 9.71538 17.1431 10.3218 17.1431C10.4765 17.1431 10.6213 17.1132 10.756 17.0608C10.8508 17.0234 10.9482 16.9959 11.048 16.9809C11.1104 16.9709 11.1753 16.966 11.2202 16.966C11.617 16.966 11.9663 17.1756 12.161 17.4925C12.1884 17.5349 12.2159 17.6023 12.2408 17.6647C12.2808 17.7645 12.3057 17.8693 12.3232 17.9766C12.4205 18.5481 12.9171 18.9823 13.5185 18.9823C13.6708 18.9823 13.818 18.9524 13.9528 18.9025C14.0651 18.8601 14.1824 18.8301 14.3021 18.8126C14.3446 18.8052 14.387 18.8027 14.4194 18.8027C14.8611 18.8027 15.2405 19.0622 15.4176 19.4365C15.4376 19.4789 15.4576 19.5438 15.475 19.6037C15.495 19.6711 15.5075 19.741 15.52 19.8108C15.6148 20.3848 16.1139 20.824 16.7178 20.824C17.4165 20.824 17.978 20.2326 17.9281 19.5239C17.8882 18.9399 17.4265 18.4658 16.8476 18.4034M7.11755 4.26378C7.78634 4.26378 8.33037 3.71975 8.33037 3.05096C8.33037 2.38216 7.78634 1.83813 7.11755 1.83813C6.44875 1.83813 5.90472 2.38216 5.90472 3.05096C5.90472 3.71975 6.44875 4.26378 7.11755 4.26378Z" fill="#FF9800" />
|
|
11
|
-
<path d="M0.7237 14.815C1.12298 14.815 1.4474 14.4856 1.4474 14.0813C1.4474 13.6771 1.12298 13.3476 0.7237 13.3476C0.324417 13.3476 0 13.6771 0 14.0813C0 14.4856 0.324417 14.815 0.7237 14.815ZM0.7237 11.1391C1.12298 11.1391 1.4474 10.8097 1.4474 10.4054C1.4474 10.0012 1.12298 9.67175 0.7237 9.67175C0.324417 9.67175 0 10.0012 0 10.4054C0 10.8097 0.324417 11.1391 0.7237 11.1391ZM0.7237 7.46321C1.12298 7.46321 1.4474 7.13381 1.4474 6.72953C1.4474 6.32526 1.12298 5.99585 0.7237 5.99585C0.324417 5.99585 0 6.32526 0 6.72953C0 7.13381 0.324417 7.46321 0.7237 7.46321ZM10.314 22.5411C10.2865 22.5411 10.0619 22.5561 9.97957 22.5561C9.06122 22.5561 8.26765 22.0495 7.86837 21.3058C7.83842 21.2509 7.77104 21.1262 7.77104 21.1262C7.65625 20.8766 7.40669 20.7019 7.11722 20.7019C7.09226 20.7019 6.87016 20.7244 6.78032 20.7244C5.89441 20.7244 5.1233 20.2502 4.71154 19.549C4.66163 19.4642 4.56929 19.277 4.56929 19.277C4.452 19.0324 4.20744 18.8627 3.92046 18.8627C3.90049 18.8627 3.66841 18.8827 3.57109 18.8827C2.64275 18.8827 1.84169 18.3636 1.4474 17.6075C1.42744 17.5701 1.40997 17.5326 1.39499 17.4927C1.29018 17.2182 1.03065 17.0235 0.7237 17.0235C0.324417 17.0235 0 17.3529 0 17.7572C0 18.1615 0.324417 18.4909 0.7237 18.4909C0.756142 18.4909 0.985729 18.4734 1.06559 18.4734C1.90907 18.4734 2.65024 18.9027 3.07198 19.549C3.14186 19.6563 3.25915 19.8909 3.25915 19.8909C3.37144 20.1479 3.62349 20.3276 3.92046 20.3276C3.94791 20.3276 4.175 20.3151 4.25735 20.3151C5.15574 20.3151 5.93434 20.7993 6.34111 21.5155C6.38104 21.5853 6.46339 21.7401 6.46339 21.7401C6.57818 21.9921 6.82773 22.1668 7.11971 22.1668C7.14467 22.1668 7.36926 22.1518 7.45411 22.1518C8.33004 22.1518 9.09616 22.6135 9.51042 23.3023C9.56532 23.3921 9.66514 23.5917 9.66514 23.5917C9.78243 23.8363 10.027 24.0085 10.314 24.0085C10.7133 24.0085 11.0377 23.6791 11.0377 23.2748C11.0377 22.8705 10.7133 22.5411 10.314 22.5411Z" fill="#FF9800" />
|
|
12
|
-
<path d="M10.3141 2.41734C10.9829 2.41734 11.527 1.87332 11.527 1.20452C11.527 0.535722 10.9829 -0.00830078 10.3141 -0.00830078C9.64534 -0.00830078 9.10132 0.535722 9.10132 1.20452C9.10132 1.87332 9.64534 2.41734 10.3141 2.41734Z" fill="#FF6633" />
|
|
13
|
-
<path d="M10.3141 6.09556C10.9829 6.09556 11.527 5.55154 11.527 4.88274C11.527 4.21394 10.9829 3.66992 10.3141 3.66992C9.64534 3.66992 9.10132 4.21394 9.10132 4.88274C9.10132 5.55154 9.64534 6.09556 10.3141 6.09556Z" fill="#FF6633" />
|
|
14
|
-
<path d="M10.3141 9.77159C10.9829 9.77159 11.527 9.22757 11.527 8.55877C11.527 7.88997 10.9829 7.34595 10.3141 7.34595C9.64534 7.34595 9.10132 7.88997 9.10132 8.55877C9.10132 9.22757 9.64534 9.77159 10.3141 9.77159Z" fill="#FF6633" />
|
|
15
|
-
<path d="M10.3141 13.4474C10.9829 13.4474 11.527 12.9034 11.527 12.2346C11.527 11.5658 10.9829 11.0218 10.3141 11.0218C9.64534 11.0218 9.10132 11.5658 9.10132 12.2346C9.10132 12.9034 9.64534 13.4474 10.3141 13.4474Z" fill="#FF6633" />
|
|
16
|
-
<path d="M13.5107 4.25639C14.1795 4.25639 14.7236 3.71237 14.7236 3.04357C14.7236 2.37477 14.1795 1.83075 13.5107 1.83075C12.8419 1.83075 12.2979 2.37477 12.2979 3.04357C12.2979 3.71237 12.8419 4.25639 13.5107 4.25639Z" fill="#FF6633" />
|
|
17
|
-
<path d="M13.5107 7.93223C14.1795 7.93223 14.7236 7.38821 14.7236 6.71941C14.7236 6.05061 14.1795 5.50659 13.5107 5.50659C12.8419 5.50659 12.2979 6.05061 12.2979 6.71941C12.2979 7.38821 12.8419 7.93223 13.5107 7.93223Z" fill="#FF6633" />
|
|
18
|
-
<path d="M13.5107 11.6107C14.1795 11.6107 14.7236 11.0667 14.7236 10.3979C14.7236 9.72908 14.1795 9.18506 13.5107 9.18506C12.8419 9.18506 12.2979 9.72908 12.2979 10.3979C12.2979 11.0667 12.8419 11.6107 13.5107 11.6107Z" fill="#FF6633" />
|
|
19
|
-
<path d="M13.5107 15.2865C14.1795 15.2865 14.7236 14.7425 14.7236 14.0737C14.7236 13.4049 14.1795 12.8609 13.5107 12.8609C12.8419 12.8609 12.2979 13.4049 12.2979 14.0737C12.2979 14.7425 12.8419 15.2865 13.5107 15.2865Z" fill="#FF6633" />
|
|
20
|
-
<path d="M16.7103 6.09556C17.3791 6.09556 17.9231 5.55154 17.9231 4.88274C17.9231 4.21394 17.3791 3.66992 16.7103 3.66992C16.0415 3.66992 15.4974 4.21394 15.4974 4.88274C15.4974 5.55154 16.0415 6.09556 16.7103 6.09556Z" fill="#FF6633" />
|
|
21
|
-
<path d="M16.7103 9.77159C17.3791 9.77159 17.9231 9.22757 17.9231 8.55877C17.9231 7.88997 17.3791 7.34595 16.7103 7.34595C16.0415 7.34595 15.4974 7.88997 15.4974 8.55877C15.4974 9.22757 16.0415 9.77159 16.7103 9.77159Z" fill="#FF6633" />
|
|
22
|
-
<path d="M16.7103 13.4474C17.3791 13.4474 17.9231 12.9034 17.9231 12.2346C17.9231 11.5658 17.3791 11.0218 16.7103 11.0218C16.0415 11.0218 15.4974 11.5658 15.4974 12.2346C15.4974 12.9034 16.0415 13.4474 16.7103 13.4474Z" fill="#FF6633" />
|
|
23
|
-
<path d="M16.7103 17.1258C17.3791 17.1258 17.9231 16.5818 17.9231 15.913C17.9231 15.2442 17.3791 14.7001 16.7103 14.7001C16.0415 14.7001 15.4974 15.2442 15.4974 15.913C15.4974 16.5818 16.0415 17.1258 16.7103 17.1258Z" fill="#FF6633" />
|
|
24
|
-
<path d="M19.9065 7.93223C20.5753 7.93223 21.1194 7.38821 21.1194 6.71941C21.1194 6.05061 20.5753 5.50659 19.9065 5.50659C19.2377 5.50659 18.6937 6.05061 18.6937 6.71941C18.6937 7.38821 19.2377 7.93223 19.9065 7.93223Z" fill="#FF6633" />
|
|
25
|
-
<path d="M19.9065 11.6107C20.5753 11.6107 21.1194 11.0667 21.1194 10.3979C21.1194 9.72908 20.5753 9.18506 19.9065 9.18506C19.2377 9.18506 18.6937 9.72908 18.6937 10.3979C18.6937 11.0667 19.2377 11.6107 19.9065 11.6107Z" fill="#FF6633" />
|
|
26
|
-
<path d="M19.9065 15.2865C20.5753 15.2865 21.1194 14.7425 21.1194 14.0737C21.1194 13.4049 20.5753 12.8609 19.9065 12.8609C19.2377 12.8609 18.6937 13.4049 18.6937 14.0737C18.6937 14.7425 19.2377 15.2865 19.9065 15.2865Z" fill="#FF6633" />
|
|
27
|
-
<path d="M19.9065 18.9624C20.5753 18.9624 21.1194 18.4184 21.1194 17.7496C21.1194 17.0808 20.5753 16.5367 19.9065 16.5367C19.2377 16.5367 18.6937 17.0808 18.6937 17.7496C18.6937 18.4184 19.2377 18.9624 19.9065 18.9624Z" fill="#FF6633" />
|
|
28
|
-
<path d="M81.6431 10.8508H78.6061C77.805 10.8508 77.1512 10.1995 77.1512 9.39594C77.1512 8.59238 77.8025 7.94105 78.6061 7.94105H81.98C82.4317 7.94105 82.801 7.57172 82.801 7.12003C82.801 6.66834 82.4317 6.299 81.98 6.299H78.6061C76.8991 6.299 75.5091 7.689 75.5091 9.39594C75.5091 11.1029 76.8991 12.4929 78.6061 12.4929H81.6431C82.6388 12.4929 83.4499 13.3039 83.4499 14.2996C83.4499 15.2953 82.6388 16.1064 81.6431 16.1064H76.3301C75.8785 16.1064 75.5091 16.4732 75.5091 16.9274C75.5091 17.3816 75.876 17.7484 76.3301 17.7484H81.6431C83.5447 17.7484 85.0919 16.2012 85.0919 14.3021C85.0919 12.403 83.5447 10.8533 81.6431 10.8533V10.8508ZM60.3339 8.12822H63.1863C63.6379 8.12822 64.0073 7.75888 64.0073 7.30719C64.0073 6.8555 63.6404 6.48617 63.1863 6.48617H60.3339C57.2295 6.48617 54.704 9.01163 54.704 12.1161C54.704 15.2205 57.2295 17.7459 60.3339 17.7459H63.1863C63.6379 17.7459 64.0073 17.3766 64.0073 16.9249C64.0073 16.4732 63.6404 16.1039 63.1863 16.1039H60.3339C58.1353 16.1039 56.346 14.3146 56.346 12.1161C56.346 9.9175 58.1353 8.12822 60.3339 8.12822ZM70.1188 11.9738L74.441 7.65157C74.7605 7.33215 74.7605 6.81058 74.441 6.49116C74.2813 6.33144 74.0717 6.25159 73.8596 6.25159C73.6475 6.25159 73.4403 6.33144 73.2781 6.49116L68.3769 11.3924C68.0575 11.7118 68.0575 12.2333 68.3769 12.5528L73.3255 17.5014C73.635 17.8108 74.1765 17.8108 74.486 17.5014C74.8054 17.182 74.8054 16.6604 74.486 16.341L70.1163 11.9713L70.1188 11.9738ZM108.073 7.9136H110.783V16.9224C110.783 17.3741 111.153 17.7434 111.604 17.7434C112.056 17.7434 112.425 17.3741 112.425 16.9224V7.9136H115.135C115.587 7.9136 115.956 7.54426 115.956 7.09258C115.956 6.64089 115.587 6.27155 115.135 6.27155H108.073C107.621 6.27155 107.252 6.64089 107.252 7.09258C107.252 7.54426 107.619 7.9136 108.073 7.9136ZM33.2575 10.8483H30.2205C29.4194 10.8483 28.7656 10.197 28.7656 9.39344C28.7656 8.58989 29.4169 7.93856 30.2205 7.93856H33.5969C34.0486 7.93856 34.4179 7.56922 34.4179 7.11753C34.4179 6.66584 34.0486 6.29651 33.5969 6.29651H30.2205C28.5135 6.29651 27.1235 7.68651 27.1235 9.39344C27.1235 11.1004 28.5135 12.4904 30.2205 12.4904H33.2575C34.2532 12.4904 35.0643 13.3014 35.0643 14.2971C35.0643 15.2928 34.2532 16.1039 33.2575 16.1039H27.9446C27.4929 16.1039 27.1235 16.4707 27.1235 16.9249C27.1235 17.3791 27.4929 17.7459 27.9446 17.7459H33.2575C35.1591 17.7459 36.7063 16.1987 36.7063 14.2996C36.7063 12.4005 35.1591 10.8508 33.2575 10.8508V10.8483ZM45.9298 7.09258C45.9298 6.64089 45.5604 6.27155 45.1087 6.27155H36.4293C35.9776 6.27155 35.6083 6.64089 35.6083 7.09258C35.6083 7.54426 35.9751 7.9136 36.4293 7.9136H38.6952V16.9224C38.6952 17.3741 39.0646 17.7434 39.5163 17.7434C39.968 17.7434 40.3373 17.3741 40.3373 16.9224V7.9136H45.1087C45.5604 7.9136 45.9298 7.54426 45.9298 7.09258ZM52.1735 6.39633L52.1411 6.4088L52.1087 6.42627C52.0088 6.47369 51.934 6.5236 51.8716 6.58599L42.1141 16.3435C41.7947 16.6629 41.7947 17.1844 42.1141 17.5039C42.4236 17.8133 42.9651 17.8133 43.2745 17.5039L51.642 9.1364L51.6495 16.7852C51.6495 17.2369 52.0188 17.6037 52.4705 17.6037C52.9247 17.6037 53.2915 17.2344 53.2915 16.7827L53.2815 7.15995C53.2815 6.61344 52.745 6.17922 52.1735 6.39633ZM66.2133 6.33893C65.7616 6.33893 65.3923 6.70577 65.3923 7.15995L65.3823 16.7827C65.3823 17.2344 65.7491 17.6037 66.2008 17.6037C66.655 17.6037 67.0219 17.2369 67.0219 16.7852L67.0318 7.16245C67.0318 6.94284 66.947 6.73821 66.7923 6.581C66.6376 6.42627 66.4304 6.34143 66.2133 6.33893ZM101.962 6.26656C98.7973 6.26656 96.2219 8.84193 96.2219 12.0038C96.2219 15.1656 98.7973 17.7409 101.962 17.7409C105.126 17.7409 107.699 15.1681 107.699 12.0038C107.699 8.83944 105.126 6.26656 101.962 6.26656ZM101.962 16.1014C99.7032 16.1014 97.864 14.2647 97.864 12.0038C97.864 9.74281 99.7032 7.90611 101.962 7.90611C104.22 7.90611 106.059 9.74281 106.059 12.0038C106.059 14.2647 104.223 16.1014 101.962 16.1014ZM90.7193 6.29401H86.9885C86.5368 6.29401 86.1675 6.66335 86.1675 7.11504V16.9199C86.1675 17.3716 86.5368 17.7409 86.9885 17.7409C87.4402 17.7409 87.8095 17.3716 87.8095 16.9199V15.1331H90.7443C93.1549 15.1331 95.1389 13.1517 95.1389 10.7161C95.1389 8.28044 93.1574 6.29651 90.7193 6.29651V6.29401ZM90.7368 13.4911H87.8095V7.93606H90.7193C92.2515 7.93606 93.4968 9.18132 93.4968 10.7136C93.4968 12.2458 92.259 13.4811 90.7368 13.4911Z" fill={theme.color.light.contrastText} />
|
|
29
|
-
</g>
|
|
30
|
-
<path d="M132.351 6.30888L132.318 6.32147L132.285 6.33909C132.185 6.38693 132.109 6.43728 132.046 6.50022L122.202 16.3442C121.88 16.6665 121.88 17.1926 122.202 17.5149C122.515 17.8271 123.061 17.8271 123.373 17.5149L131.815 9.07325L131.822 16.7898C131.822 17.2455 132.195 17.6156 132.651 17.6156C133.109 17.6156 133.479 17.243 133.479 16.7873L133.469 7.07928C133.469 6.52792 132.927 6.08985 132.351 6.30888ZM137.254 6.25098C136.798 6.25098 136.425 6.62107 136.425 7.07928L136.415 16.7873C136.415 17.243 136.785 17.6156 137.241 17.6156C137.699 17.6156 138.069 17.2455 138.069 16.7898L138.079 7.0818C138.079 6.86025 137.994 6.6538 137.838 6.49519C137.682 6.33909 137.473 6.25349 137.254 6.25098Z" fill="#FF6600" />
|
|
31
|
-
<defs>
|
|
32
|
-
<clipPath id="clip0_7624_1886">
|
|
33
|
-
<rect width="115.956" height="24.0168" fill="white" transform="translate(0 -0.00836182)" />
|
|
34
|
-
</clipPath>
|
|
35
|
-
</defs>
|
|
36
|
-
</svg>
|
|
37
|
-
}
|