pge-front-common 14.1.26 → 14.1.27

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.
@@ -0,0 +1,19 @@
1
+ import * as React from "react";
2
+ export interface ReusableDialogProps {
3
+ /** Controls whether the dialog is open */
4
+ open: boolean;
5
+ /** Callback when the open state changes */
6
+ onOpenChange: (open: boolean) => void;
7
+ /** Optional header/title */
8
+ title?: React.ReactNode;
9
+ /** Main body content */
10
+ children: React.ReactNode;
11
+ /** Custom action buttons/footer */
12
+ footer?: React.ReactNode;
13
+ /** Additional CSS class for overlay */
14
+ overlayClassName?: string;
15
+ /** Additional CSS class for content container */
16
+ contentClassName?: string;
17
+ }
18
+ export declare const ReusableDialog: React.FC<ReusableDialogProps>;
19
+ export default ReusableDialog;
@@ -0,0 +1,2 @@
1
+ import React from "react";
2
+ export default function FooterComponent(): React.JSX.Element;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { ProgressCircleProps } from "./progressCircle.types";
3
+ declare function ProgressCircle({ percentage, message, size, onClose, }: ProgressCircleProps): React.JSX.Element;
4
+ export default ProgressCircle;
@@ -0,0 +1,6 @@
1
+ import { Tooltip } from "./index";
2
+ import { Meta, StoryObj } from "@storybook/react";
3
+ declare const meta: Meta<typeof Tooltip>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof Tooltip>;
6
+ export declare const Default: Story;
@@ -0,0 +1,4 @@
1
+ <svg width="100" height="59" viewBox="0 0 100 59" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M53.4363 36.3077H98L75.7181 0L69.0766 10.8223C68.6572 9.83417 68.0859 8.88215 67.3624 7.96621C65.6415 5.7534 63.3091 4.00015 60.3654 2.70648C57.4669 1.41282 54.2967 0.765987 50.8548 0.765987H33.2603V3.56405C32.3663 3.02316 31.3888 2.55006 30.3279 2.14476C27.9276 1.22557 25.0744 0.765987 21.7684 0.765987H2V36.3077H14.3637V25.5329H21.7684C25.165 25.5329 28.0408 25.0733 30.3958 24.1541C31.4337 23.7576 32.3886 23.2962 33.2603 22.7699V36.3077H50.8548C51.7617 36.3077 52.6498 36.2628 53.5189 36.173L53.4363 36.3077ZM60.2501 34.4183H94.0599L75.7181 4.49378L69.8896 14.003C69.7812 12.9041 69.5101 11.8439 69.0766 10.8223L53.5189 36.173C55.9048 35.9265 58.1485 35.3415 60.2501 34.4183ZM60.2501 34.4183C60.2885 34.4014 60.327 34.3844 60.3654 34.3672C63.3091 33.0735 65.6415 31.3373 67.3624 29.1585C69.0834 26.9457 69.9439 24.5456 69.9439 21.9582V15.1154C69.9439 14.7403 69.9258 14.3695 69.8896 14.003L57.3763 34.4183H60.2501ZM33.2603 22.7699C34.7088 21.8954 35.9278 20.8419 36.9173 19.6092C38.5477 17.6346 39.3629 15.4729 39.3629 13.1239C39.3629 10.7748 38.5477 8.63011 36.9173 6.6896C35.9131 5.47338 34.6941 4.43153 33.2603 3.56405V22.7699Z" fill="#005A92"/>
3
+ <path d="M1.3201 47.6547V40.909H4.5051C5.09443 40.909 5.5841 40.9909 5.9741 41.1549C6.37276 41.3188 6.67176 41.5482 6.8711 41.8432C7.07043 42.1382 7.1701 42.4823 7.1701 42.8757C7.1701 43.269 7.06176 43.6164 6.8451 43.918C6.62843 44.2196 6.32076 44.4556 5.9221 44.626C5.5321 44.7899 5.05976 44.8718 4.5051 44.8718H2.4641V47.6547H1.3201ZM2.4641 44.0852H4.4661C4.92543 44.0852 5.28943 43.9738 5.5581 43.7509C5.83543 43.5279 5.9741 43.2363 5.9741 42.8757C5.9741 42.5086 5.8441 42.2201 5.5841 42.0103C5.3241 41.8006 4.95143 41.6957 4.4661 41.6957H2.4641V44.0852ZM9.53447 47.6547V40.909H13.1225C13.9978 40.909 14.6608 41.0828 15.1115 41.4302C15.5622 41.7711 15.7875 42.2201 15.7875 42.7773C15.7875 43.1969 15.6488 43.5608 15.3715 43.8688C15.0942 44.1704 14.7042 44.3868 14.2015 44.5179L15.9955 47.6547H14.7215L13.0705 44.6752H10.6785V47.6547H9.53447ZM10.6785 43.8885H13.0835C13.5428 43.8885 13.9068 43.7869 14.1755 43.5837C14.4528 43.3804 14.5915 43.1117 14.5915 42.7773C14.5915 42.443 14.4615 42.1808 14.2015 41.9907C13.9415 41.794 13.5688 41.6957 13.0835 41.6957H10.6785V43.8885ZM21.5699 47.7727C20.4779 47.7727 19.6199 47.4843 18.9959 46.9074C18.3719 46.3239 18.0599 45.4488 18.0599 44.2819C18.0599 43.1084 18.3719 42.2333 18.9959 41.6563C19.6199 41.0794 20.4779 40.791 21.5699 40.791C22.6619 40.791 23.5199 41.0794 24.1439 41.6563C24.7679 42.2333 25.0799 43.1084 25.0799 44.2819C25.0799 45.4488 24.7679 46.3239 24.1439 46.9074C23.5199 47.4843 22.6619 47.7727 21.5699 47.7727ZM21.5699 46.9762C22.2892 46.9762 22.8525 46.7729 23.2599 46.3665C23.6759 45.9601 23.8839 45.3471 23.8839 44.5277V44.036C23.8839 43.2166 23.6759 42.6036 23.2599 42.1972C22.8525 41.7908 22.2892 41.5875 21.5699 41.5875C20.8592 41.5875 20.2959 41.7908 19.8799 42.1972C19.4639 42.6036 19.2559 43.2166 19.2559 44.036V44.5277C19.2559 45.3471 19.4639 45.9601 19.8799 46.3665C20.2959 46.7729 20.8592 46.9762 21.5699 46.9762ZM30.8739 47.7727C29.7212 47.7727 28.8459 47.4843 28.2479 46.9074C27.6586 46.3239 27.3639 45.4488 27.3639 44.2819C27.3639 43.1084 27.6586 42.2333 28.2479 41.6563C28.8459 41.0794 29.7212 40.791 30.8739 40.791C31.4806 40.791 32.0179 40.8861 32.4859 41.0762C32.9539 41.2598 33.3179 41.5416 33.5779 41.9219C33.8466 42.2955 33.9809 42.7708 33.9809 43.3477H32.8109C32.8109 42.7577 32.6332 42.3184 32.2779 42.03C31.9312 41.735 31.4632 41.5875 30.8739 41.5875C30.0939 41.5875 29.5132 41.7908 29.1319 42.1972C28.7506 42.6036 28.5599 43.2166 28.5599 44.036V44.5277C28.5599 45.3471 28.7506 45.9601 29.1319 46.3665C29.5132 46.7729 30.0939 46.9762 30.8739 46.9762C31.4719 46.9762 31.9486 46.8319 32.3039 46.5435C32.6679 46.2551 32.8499 45.8191 32.8499 45.2357H33.9809C33.9809 45.8126 33.8466 46.2911 33.5779 46.6714C33.3179 47.045 32.9539 47.3236 32.4859 47.5072C32.0179 47.6842 31.4806 47.7727 30.8739 47.7727ZM39.4642 47.7727C38.5456 47.7727 37.8262 47.576 37.3062 47.1827C36.7862 46.7893 36.5262 46.2158 36.5262 45.4619V40.909H37.6702V45.511C37.6702 45.9896 37.8306 46.3534 38.1512 46.6025C38.4719 46.8516 38.9096 46.9762 39.4642 46.9762C40.0276 46.9762 40.4652 46.8516 40.7772 46.6025C41.0979 46.3534 41.2582 45.9896 41.2582 45.511V40.909H42.4022V45.4619C42.4022 46.2158 42.1422 46.7893 41.6222 47.1827C41.1022 47.576 40.3829 47.7727 39.4642 47.7727ZM45.3246 47.6547V40.909H48.9126C49.7879 40.909 50.4509 41.0828 50.9016 41.4302C51.3523 41.7711 51.5776 42.2201 51.5776 42.7773C51.5776 43.1969 51.4389 43.5608 51.1616 43.8688C50.8843 44.1704 50.4943 44.3868 49.9916 44.5179L51.7856 47.6547H50.5116L48.8606 44.6752H46.4686V47.6547H45.3246ZM46.4686 43.8885H48.8736C49.3329 43.8885 49.6969 43.7869 49.9656 43.5837C50.2429 43.3804 50.3816 43.1117 50.3816 42.7773C50.3816 42.443 50.2516 42.1808 49.9916 41.9907C49.7316 41.794 49.3589 41.6957 48.8736 41.6957H46.4686V43.8885ZM53.2 47.6547L56.034 40.909H57.503L60.337 47.6547H59.102L58.491 46.1502H54.955L54.344 47.6547H53.2ZM55.267 45.3635H58.166L56.957 42.3644C56.931 42.2857 56.9006 42.1874 56.866 42.0694C56.8313 41.9514 56.801 41.8464 56.775 41.7547C56.7576 41.6629 56.749 41.617 56.749 41.617H56.697C56.697 41.617 56.684 41.6662 56.658 41.7645C56.6406 41.8563 56.6146 41.9612 56.58 42.0792C56.554 42.1972 56.5236 42.2923 56.489 42.3644L55.267 45.3635ZM62.3373 47.6547V40.909H65.1063C66.1637 40.909 66.9913 41.1843 67.5893 41.735C68.1873 42.2791 68.4863 43.0953 68.4863 44.1835C68.4863 45.3373 68.1873 46.2059 67.5893 46.7893C66.9913 47.3663 66.1637 47.6547 65.1063 47.6547H62.3373ZM63.4813 46.868H65.0023C65.7043 46.868 66.259 46.6681 66.6663 46.2682C67.0823 45.8618 67.2903 45.2488 67.2903 44.4293V43.9377C67.2903 43.1838 67.0823 42.6233 66.6663 42.2562C66.259 41.8825 65.7043 41.6957 65.0023 41.6957H63.4813V46.868ZM74.3727 47.7727C73.2807 47.7727 72.4227 47.4843 71.7987 46.9074C71.1747 46.3239 70.8627 45.4488 70.8627 44.2819C70.8627 43.1084 71.1747 42.2333 71.7987 41.6563C72.4227 41.0794 73.2807 40.791 74.3727 40.791C75.4647 40.791 76.3227 41.0794 76.9467 41.6563C77.5707 42.2333 77.8827 43.1084 77.8827 44.2819C77.8827 45.4488 77.5707 46.3239 76.9467 46.9074C76.3227 47.4843 75.4647 47.7727 74.3727 47.7727ZM74.3727 46.9762C75.092 46.9762 75.6554 46.7729 76.0627 46.3665C76.4787 45.9601 76.6867 45.3471 76.6867 44.5277V44.036C76.6867 43.2166 76.4787 42.6036 76.0627 42.1972C75.6554 41.7908 75.092 41.5875 74.3727 41.5875C73.662 41.5875 73.0987 41.7908 72.6827 42.1972C72.2667 42.6036 72.0587 43.2166 72.0587 44.036V44.5277C72.0587 45.3471 72.2667 45.9601 72.6827 46.3665C73.0987 46.7729 73.662 46.9762 74.3727 46.9762ZM80.5307 47.6547V40.909H84.1187C84.9941 40.909 85.6571 41.0828 86.1077 41.4302C86.5584 41.7711 86.7837 42.2201 86.7837 42.7773C86.7837 43.1969 86.6451 43.5608 86.3677 43.8688C86.0904 44.1704 85.7004 44.3868 85.1977 44.5179L86.9917 47.6547H85.7177L84.0667 44.6752H81.6747V47.6547H80.5307ZM81.6747 43.8885H84.0797C84.5391 43.8885 84.9031 43.7869 85.1717 43.5837C85.4491 43.3804 85.5877 43.1117 85.5877 42.7773C85.5877 42.443 85.4577 42.1808 85.1977 41.9907C84.9377 41.794 84.5651 41.6957 84.0797 41.6957H81.6747V43.8885ZM89.3291 47.6547V40.909H90.4731V47.6547H89.3291ZM92.4691 47.6547L95.3031 40.909H96.7721L99.6061 47.6547H98.3711L97.7601 46.1502H94.2241L93.6131 47.6547H92.4691ZM94.5361 45.3635H97.4351L96.2261 42.3644C96.2001 42.2857 96.1698 42.1874 96.1351 42.0694C96.1004 41.9514 96.0701 41.8464 96.0441 41.7547C96.0268 41.6629 96.0181 41.617 96.0181 41.617H95.9661C95.9661 41.617 95.9531 41.6662 95.9271 41.7645C95.9098 41.8563 95.8838 41.9612 95.8491 42.0792C95.8231 42.1972 95.7928 42.2923 95.7581 42.3644L94.5361 45.3635ZM1.30664 57.488V50.7424H4.07564C5.13297 50.7424 5.96064 51.0177 6.55864 51.5684C7.15664 52.1124 7.45564 52.9286 7.45564 54.0169C7.45564 55.1706 7.15664 56.0393 6.55864 56.6227C5.96064 57.1996 5.13297 57.488 4.07564 57.488H1.30664ZM2.45064 56.7013H3.97164C4.67364 56.7013 5.22831 56.5014 5.63564 56.1015C6.05164 55.6951 6.25964 55.0821 6.25964 54.2627V53.771C6.25964 53.0171 6.05164 52.4566 5.63564 52.0895C5.22831 51.7158 4.67364 51.529 3.97164 51.529H2.45064V56.7013ZM9.182 57.488L12.016 50.7424H13.485L16.319 57.488H15.084L14.473 55.9835H10.937L10.326 57.488H9.182ZM11.249 55.1968H14.148L12.939 52.1977C12.913 52.119 12.8827 52.0207 12.848 51.9027C12.8134 51.7847 12.783 51.6798 12.757 51.588C12.7397 51.4963 12.731 51.4503 12.731 51.4503H12.679C12.679 51.4503 12.666 51.4995 12.64 51.5978C12.6227 51.6896 12.5967 51.7945 12.562 51.9125C12.536 52.0305 12.5057 52.1256 12.471 52.1977L11.249 55.1968ZM21.7984 57.488V50.7424H24.5674C25.6248 50.7424 26.4524 51.0177 27.0504 51.5684C27.6484 52.1124 27.9474 52.9286 27.9474 54.0169C27.9474 55.1706 27.6484 56.0393 27.0504 56.6227C26.4524 57.1996 25.6248 57.488 24.5674 57.488H21.7984ZM22.9424 56.7013H24.4634C25.1654 56.7013 25.7201 56.5014 26.1274 56.1015C26.5434 55.6951 26.7514 55.0821 26.7514 54.2627V53.771C26.7514 53.0171 26.5434 52.4566 26.1274 52.0895C25.7201 51.7158 25.1654 51.529 24.4634 51.529H22.9424V56.7013ZM30.5968 57.488V50.7424H31.7408V57.488H30.5968ZM30.2848 50.1032L31.2728 49.1002H32.5728L32.5858 49.1297L31.3118 50.1032H30.2848ZM36.5708 57.488L33.8538 50.7424H35.1148L37.3248 56.5342H37.3768L39.6518 50.7424H40.7568L38.0398 57.488H36.5708ZM42.8742 57.488V50.7424H44.0182V57.488H42.8742ZM46.9372 57.488V50.7424H49.7062C50.7635 50.7424 51.5912 51.0177 52.1892 51.5684C52.7872 52.1124 53.0862 52.9286 53.0862 54.0169C53.0862 55.1706 52.7872 56.0393 52.1892 56.6227C51.5912 57.1996 50.7635 57.488 49.7062 57.488H46.9372ZM48.0812 56.7013H49.6022C50.3042 56.7013 50.8588 56.5014 51.2662 56.1015C51.6822 55.6951 51.8902 55.0821 51.8902 54.2627V53.771C51.8902 53.0171 51.6822 52.4566 51.2662 52.0895C50.8588 51.7158 50.3042 51.529 49.6022 51.529H48.0812V56.7013ZM54.8125 57.488L57.6465 50.7424H59.1155L61.9495 57.488H60.7145L60.1035 55.9835H56.5675L55.9565 57.488H54.8125ZM56.8795 55.1968H59.7785L58.5695 52.1977C58.5435 52.119 58.5132 52.0207 58.4785 51.9027C58.4439 51.7847 58.4135 51.6798 58.3875 51.588C58.3702 51.4963 58.3615 51.4503 58.3615 51.4503H58.3095C58.3095 51.4503 58.2965 51.4995 58.2705 51.5978C58.2532 51.6896 58.2272 51.7945 58.1925 51.9125C58.1665 52.0305 58.1362 52.1256 58.1015 52.1977L56.8795 55.1968ZM65.9219 57.488L68.7559 50.7424H70.2249L73.0589 57.488H71.8239L71.2129 55.9835H67.6769L67.0659 57.488H65.9219ZM67.9889 55.1968H70.8879L69.6789 52.1977C69.6529 52.119 69.6226 52.0207 69.5879 51.9027C69.5533 51.7847 69.5229 51.6798 69.4969 51.588C69.4796 51.4963 69.4709 51.4503 69.4709 51.4503H69.4189C69.4189 51.4503 69.4059 51.4995 69.3799 51.5978C69.3626 51.6896 69.3366 51.7945 69.3019 51.9125C69.2759 52.0305 69.2456 52.1256 69.2109 52.1977L67.9889 55.1968ZM76.0529 57.488V51.529H73.6219V50.7424H79.6279V51.529H77.1969V57.488H76.0529ZM81.9026 57.488V50.7424H83.0466V57.488H81.9026ZM87.8766 57.488L85.1596 50.7424H86.4206L88.6306 56.5342H88.6826L90.9576 50.7424H92.0626L89.3456 57.488H87.8766ZM92.4826 57.488L95.3166 50.7424H96.7856L99.6196 57.488H98.3846L97.7736 55.9835H94.2376L93.6266 57.488H92.4826ZM94.5496 55.1968H97.4486L96.2396 52.1977C96.2136 52.119 96.1832 52.0207 96.1486 51.9027C96.1139 51.7847 96.0836 51.6798 96.0576 51.588C96.0402 51.4963 96.0316 51.4503 96.0316 51.4503H95.9796C95.9796 51.4503 95.9666 51.4995 95.9406 51.5978C95.9232 51.6896 95.8972 51.7945 95.8626 51.9125C95.8366 52.0305 95.8062 52.1256 95.7716 52.1977L94.5496 55.1968Z" fill="black"/>
4
+ </svg>