@amateescu/portal-ui-components 0.0.35-beta0 → 0.0.37-beta0
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/README.md +113 -0
- package/dist/{Button-DG4uye8X.js → Button-BM72-1G6.js} +107 -106
- package/dist/ButtonBase-D6nf3ymf.js +990 -0
- package/dist/{CircularProgress-DpvktFBW.js → CircularProgress-BlQFR6DW.js} +107 -80
- package/dist/Clear-BauR3cPE.js +8 -0
- package/dist/DefaultPropsProvider-BtPfTrMq.js +3449 -0
- package/dist/UserInfoDropdown-rBF0pwlq.js +23 -0
- package/dist/assets/PassportConfirmationModal.css +1 -0
- package/dist/assets/PassportErrorModal.css +1 -0
- package/dist/assets/PassportKpiCard.css +1 -0
- package/dist/assets/PassportTabHeader.css +1 -0
- package/dist/assets/index.css +1 -0
- package/dist/components/DebouncedPassportInput/DebouncedPassportInput.d.ts +3 -0
- package/dist/components/DebouncedPassportInput/DebouncedPassportInput.d.ts.map +1 -0
- package/dist/components/DebouncedPassportInput/DebouncedPassportInput.js +31 -0
- package/dist/components/DebouncedPassportInput/DebouncedPassportInput.stories.d.ts +23 -0
- package/dist/components/DebouncedPassportInput/DebouncedPassportInput.stories.d.ts.map +1 -0
- package/dist/components/DebouncedPassportInput/DebouncedPassportInput.types.d.ts +8 -0
- package/dist/components/DebouncedPassportInput/DebouncedPassportInput.types.d.ts.map +1 -0
- package/dist/components/InfoModal/InfoModal.d.ts +2 -1
- package/dist/components/InfoModal/InfoModal.d.ts.map +1 -0
- package/dist/components/InfoModal/InfoModal.js +26 -15
- package/dist/components/InfoModal/InfoModal.stories.d.ts +1 -0
- package/dist/components/InfoModal/InfoModal.stories.d.ts.map +1 -0
- package/dist/components/InfoModal/InfoModal.types.d.ts +1 -0
- package/dist/components/InfoModal/InfoModal.types.d.ts.map +1 -0
- package/dist/components/LoadingAnimation/LoadingAnimation.d.ts +1 -0
- package/dist/components/LoadingAnimation/LoadingAnimation.d.ts.map +1 -0
- package/dist/components/LoadingAnimation/LoadingAnimation.js +66 -6
- package/dist/components/LoadingAnimation/LoadingAnimation.stories.d.ts +1 -0
- package/dist/components/LoadingAnimation/LoadingAnimation.stories.d.ts.map +1 -0
- package/dist/components/Login/Login.d.ts +2 -1
- package/dist/components/Login/Login.d.ts.map +1 -0
- package/dist/components/Login/Login.js +43 -8885
- package/dist/components/Login/Login.stories.d.ts +3 -2
- package/dist/components/Login/Login.stories.d.ts.map +1 -0
- package/dist/components/Login/Login.types.d.ts +1 -0
- package/dist/components/Login/Login.types.d.ts.map +1 -0
- package/dist/components/PassportAutocomplete/PassportAutocomplete.d.ts +3 -0
- package/dist/components/PassportAutocomplete/PassportAutocomplete.d.ts.map +1 -0
- package/dist/components/PassportAutocomplete/PassportAutocomplete.js +41 -0
- package/dist/components/PassportAutocomplete/PassportAutocomplete.stories.d.ts +22 -0
- package/dist/components/PassportAutocomplete/PassportAutocomplete.stories.d.ts.map +1 -0
- package/dist/components/PassportAutocomplete/PassportAutocomplete.types.d.ts +14 -0
- package/dist/components/PassportAutocomplete/PassportAutocomplete.types.d.ts.map +1 -0
- package/dist/components/PassportButton/PassportButton.d.ts +4 -0
- package/dist/components/PassportButton/PassportButton.d.ts.map +1 -0
- package/dist/components/{CustomButton/CustomButton.js → PassportButton/PassportButton.js} +10 -6
- package/dist/components/{CustomButton/CustomButton.stories.d.ts → PassportButton/PassportButton.stories.d.ts} +2 -1
- package/dist/components/PassportButton/PassportButton.stories.d.ts.map +1 -0
- package/dist/components/PassportButton/PassportButton.types.d.ts +9 -0
- package/dist/components/PassportButton/PassportButton.types.d.ts.map +1 -0
- package/dist/components/PassportConfirmationModal/PassportConfirmationModal.d.ts +9 -0
- package/dist/components/PassportConfirmationModal/PassportConfirmationModal.d.ts.map +1 -0
- package/dist/components/PassportConfirmationModal/PassportConfirmationModal.js +108 -0
- package/dist/components/{ErrorModal/ErrorModal.stories.d.ts → PassportConfirmationModal/PassportConfirmationModal.stories.d.ts} +1 -0
- package/dist/components/PassportConfirmationModal/PassportConfirmationModal.stories.d.ts.map +1 -0
- package/dist/components/PassportDatePicker/PassportDatePicker.d.ts +3 -0
- package/dist/components/PassportDatePicker/PassportDatePicker.d.ts.map +1 -0
- package/dist/components/PassportDatePicker/PassportDatePicker.js +1514 -0
- package/dist/components/PassportDatePicker/PassportDatePicker.stories.d.ts +25 -0
- package/dist/components/PassportDatePicker/PassportDatePicker.stories.d.ts.map +1 -0
- package/dist/components/PassportDatePicker/PassportDatePicker.types.d.ts +15 -0
- package/dist/components/PassportDatePicker/PassportDatePicker.types.d.ts.map +1 -0
- package/dist/components/PassportDateTimePicker/PassportDateTimePicker.d.ts +3 -0
- package/dist/components/PassportDateTimePicker/PassportDateTimePicker.d.ts.map +1 -0
- package/dist/components/PassportDateTimePicker/PassportDateTimePicker.js +5419 -0
- package/dist/components/PassportDateTimePicker/PassportDateTimePicker.stories.d.ts +30 -0
- package/dist/components/PassportDateTimePicker/PassportDateTimePicker.stories.d.ts.map +1 -0
- package/dist/components/PassportDateTimePicker/PassportDateTimePicker.types.d.ts +16 -0
- package/dist/components/PassportDateTimePicker/PassportDateTimePicker.types.d.ts.map +1 -0
- package/dist/components/PassportDropdown/PassportDropdown.d.ts +3 -0
- package/dist/components/PassportDropdown/PassportDropdown.d.ts.map +1 -0
- package/dist/components/PassportDropdown/PassportDropdown.js +37 -0
- package/dist/components/PassportDropdown/PassportDropdown.stories.d.ts +25 -0
- package/dist/components/PassportDropdown/PassportDropdown.stories.d.ts.map +1 -0
- package/dist/components/PassportDropdown/PassportDropdown.types.d.ts +14 -0
- package/dist/components/PassportDropdown/PassportDropdown.types.d.ts.map +1 -0
- package/dist/components/PassportErrorModal/PassportErrorModal.d.ts +8 -0
- package/dist/components/PassportErrorModal/PassportErrorModal.d.ts.map +1 -0
- package/dist/components/PassportErrorModal/PassportErrorModal.js +68 -0
- package/dist/components/{ConfirmationModal/ConfirmationModal.stories.d.ts → PassportErrorModal/PassportErrorModal.stories.d.ts} +1 -0
- package/dist/components/PassportErrorModal/PassportErrorModal.stories.d.ts.map +1 -0
- package/dist/components/PassportFooter/PassportFooter.d.ts +3 -0
- package/dist/components/PassportFooter/PassportFooter.d.ts.map +1 -0
- package/dist/components/PassportFooter/PassportFooter.js +56 -0
- package/dist/components/{CustomFooter/CustomFooter.stories.d.ts → PassportFooter/PassportFooter.stories.d.ts} +1 -0
- package/dist/components/PassportFooter/PassportFooter.stories.d.ts.map +1 -0
- package/dist/components/{CustomFooter/CustomFooter.types.d.ts → PassportFooter/PassportFooter.types.d.ts} +3 -2
- package/dist/components/PassportFooter/PassportFooter.types.d.ts.map +1 -0
- package/dist/components/PassportInput/PassportInput.d.ts +3 -0
- package/dist/components/PassportInput/PassportInput.d.ts.map +1 -0
- package/dist/components/PassportInput/PassportInput.js +51 -0
- package/dist/components/PassportInput/PassportInput.stories.d.ts +24 -0
- package/dist/components/PassportInput/PassportInput.stories.d.ts.map +1 -0
- package/dist/components/PassportInput/PassportInput.types.d.ts +9 -0
- package/dist/components/PassportInput/PassportInput.types.d.ts.map +1 -0
- package/dist/components/PassportInput/PassportInput.types.js +1 -0
- package/dist/components/PassportKpiCard/PassportKpiCard.d.ts +3 -0
- package/dist/components/PassportKpiCard/PassportKpiCard.d.ts.map +1 -0
- package/dist/components/PassportKpiCard/PassportKpiCard.js +43 -0
- package/dist/components/{KpiCard/KpiCard.stories.d.ts → PassportKpiCard/PassportKpiCard.stories.d.ts} +3 -2
- package/dist/components/PassportKpiCard/PassportKpiCard.stories.d.ts.map +1 -0
- package/dist/components/PassportKpiCard/PassportKpiCard.types.d.ts +11 -0
- package/dist/components/PassportKpiCard/PassportKpiCard.types.d.ts.map +1 -0
- package/dist/components/PassportKpiCard/PassportKpiCard.types.js +1 -0
- package/dist/components/PassportKpiWrapper/PassportKpiWrapper.d.ts +3 -0
- package/dist/components/PassportKpiWrapper/PassportKpiWrapper.d.ts.map +1 -0
- package/dist/components/PassportKpiWrapper/PassportKpiWrapper.js +22 -0
- package/dist/components/{KpiWrapper/KpiWrapper.stories.d.ts → PassportKpiWrapper/PassportKpiWrapper.stories.d.ts} +6 -5
- package/dist/components/PassportKpiWrapper/PassportKpiWrapper.stories.d.ts.map +1 -0
- package/dist/components/{KpiWrapper/KpiWrapper.types.d.ts → PassportKpiWrapper/PassportKpiWrapper.types.d.ts} +2 -1
- package/dist/components/PassportKpiWrapper/PassportKpiWrapper.types.d.ts.map +1 -0
- package/dist/components/PassportKpiWrapper/PassportKpiWrapper.types.js +1 -0
- package/dist/components/PassportMultiSelect/PassportMultiSelect.d.ts +3 -0
- package/dist/components/PassportMultiSelect/PassportMultiSelect.d.ts.map +1 -0
- package/dist/components/PassportMultiSelect/PassportMultiSelect.js +72 -0
- package/dist/components/PassportMultiSelect/PassportMultiSelect.stories.d.ts +24 -0
- package/dist/components/PassportMultiSelect/PassportMultiSelect.stories.d.ts.map +1 -0
- package/dist/components/PassportMultiSelect/PassportMultiSelect.types.d.ts +12 -0
- package/dist/components/PassportMultiSelect/PassportMultiSelect.types.d.ts.map +1 -0
- package/dist/components/PassportMultiSelect/PassportMultiSelect.types.js +1 -0
- package/dist/components/PassportPagination/PassportPagination.d.ts +3 -0
- package/dist/components/PassportPagination/PassportPagination.d.ts.map +1 -0
- package/dist/components/{CustomPagination/CustomPagination.js → PassportPagination/PassportPagination.js} +215 -218
- package/dist/components/{CustomPagination/CustomPagination.stories.d.ts → PassportPagination/PassportPagination.stories.d.ts} +3 -2
- package/dist/components/PassportPagination/PassportPagination.stories.d.ts.map +1 -0
- package/dist/components/{CustomPagination/CustomPagination.types.d.ts → PassportPagination/PassportPagination.types.d.ts} +2 -1
- package/dist/components/PassportPagination/PassportPagination.types.d.ts.map +1 -0
- package/dist/components/PassportPagination/PassportPagination.types.js +1 -0
- package/dist/components/PassportTabHeader/PassportTabHeader.d.ts +7 -0
- package/dist/components/PassportTabHeader/PassportTabHeader.d.ts.map +1 -0
- package/dist/components/PassportTabHeader/PassportTabHeader.js +14 -0
- package/dist/components/PassportTabHeader/PassportTabHeader.stories.d.ts +21 -0
- package/dist/components/PassportTabHeader/PassportTabHeader.stories.d.ts.map +1 -0
- package/dist/components/PassportTextField/PassportTextField.d.ts +3 -0
- package/dist/components/PassportTextField/PassportTextField.d.ts.map +1 -0
- package/dist/components/PassportTextField/PassportTextField.js +23 -0
- package/dist/components/PassportTextField/PassportTextField.stories.d.ts +22 -0
- package/dist/components/PassportTextField/PassportTextField.stories.d.ts.map +1 -0
- package/dist/components/SideMenu/SideMenu.d.ts +1 -0
- package/dist/components/SideMenu/SideMenu.d.ts.map +1 -0
- package/dist/components/SideMenu/SideMenu.js +89 -41
- package/dist/components/SideMenu/SideMenu.stories.d.ts +1 -0
- package/dist/components/SideMenu/SideMenu.stories.d.ts.map +1 -0
- package/dist/components/SideMenu/SideMenu.types.d.ts +1 -0
- package/dist/components/SideMenu/SideMenu.types.d.ts.map +1 -0
- package/dist/components/TotalDataGrid/TotalDataGrid.d.ts +1 -0
- package/dist/components/TotalDataGrid/TotalDataGrid.d.ts.map +1 -0
- package/dist/components/TotalDataGrid/TotalDataGrid.js +3 -3
- package/dist/components/TotalDataGrid/TotalDataGrid.stories.d.ts +1 -0
- package/dist/components/TotalDataGrid/TotalDataGrid.stories.d.ts.map +1 -0
- package/dist/components/TotalDataGrid/TotalDataGrid.types.d.ts +1 -0
- package/dist/components/TotalDataGrid/TotalDataGrid.types.d.ts.map +1 -0
- package/dist/components/UserInfoDropdown/UserInfoDropdown.d.ts +1 -0
- package/dist/components/UserInfoDropdown/UserInfoDropdown.d.ts.map +1 -0
- package/dist/components/UserInfoDropdown/UserInfoDropdown.js +3 -2
- package/dist/components/UserInfoDropdown/UserInfoDropdown.stories.d.ts +1 -0
- package/dist/components/UserInfoDropdown/UserInfoDropdown.stories.d.ts.map +1 -0
- package/dist/components/UserInfoDropdown/UserInfoDropdown.types.d.ts +1 -0
- package/dist/components/UserInfoDropdown/UserInfoDropdown.types.d.ts.map +1 -0
- package/dist/components/index.d.ts +17 -7
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/index.js +45 -28
- package/dist/createSimplePaletteValueFilter-Bz8RuRaa.js +23 -0
- package/dist/{createSvgIcon-DNSRtm3a.js → createSvgIcon-B-eIQ7rU.js} +118 -124
- package/dist/extendSxProp-QNe1Nf_s.js +51 -0
- package/dist/main.d.ts +1 -0
- package/dist/main.d.ts.map +1 -0
- package/dist/main.js +63 -46
- package/dist/mock.d.ts +1 -0
- package/dist/mock.d.ts.map +1 -0
- package/dist/portal-utils/chunkArray.d.ts +1 -0
- package/dist/portal-utils/chunkArray.d.ts.map +1 -0
- package/dist/portal-utils/cn.d.ts +1 -0
- package/dist/portal-utils/cn.d.ts.map +1 -0
- package/dist/portal-utils/formatters.d.ts +1 -0
- package/dist/portal-utils/formatters.d.ts.map +1 -0
- package/dist/portal-utils/formatters.js +291 -334
- package/dist/portal-utils/index.d.ts +2 -1
- package/dist/portal-utils/index.d.ts.map +1 -0
- package/dist/portal-utils/loggerService.d.ts +1 -0
- package/dist/portal-utils/loggerService.d.ts.map +1 -0
- package/dist/portal-utils/pageCount.d.ts +1 -0
- package/dist/portal-utils/pageCount.d.ts.map +1 -0
- package/dist/types/BusinessDayRange.d.ts +1 -0
- package/dist/types/BusinessDayRange.d.ts.map +1 -0
- package/dist/types/Column.d.ts +1 -0
- package/dist/types/Column.d.ts.map +1 -0
- package/dist/types/CultureStore.d.ts +1 -0
- package/dist/types/CultureStore.d.ts.map +1 -0
- package/dist/types/CustomSvg.d.ts +1 -0
- package/dist/types/CustomSvg.d.ts.map +1 -0
- package/dist/types/LoginRequest.d.ts +1 -0
- package/dist/types/LoginRequest.d.ts.map +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/useMobilePicker-hk2kq6ev.js +19662 -0
- package/dist/useSlot-CXnK24LX.js +189 -0
- package/package.json +39 -38
- package/dist/Box-C-zPAMZN.js +0 -102
- package/dist/ButtonBase-DrxMtoTW.js +0 -966
- package/dist/EllipsisOutlined-DfCu6q_b.js +0 -2467
- package/dist/InvencoGVR-qnTq-d6S.js +0 -5
- package/dist/PurePanel-DvQTygSo.js +0 -2209
- package/dist/Skeleton-Bh0A9xju.js +0 -565
- package/dist/UserInfoDropdown-CWTcdnqL.js +0 -3755
- package/dist/VModalIcon-D7L4bQLO.js +0 -5
- package/dist/_commonjsHelpers-C6fGbg64.js +0 -6
- package/dist/assets/ConfirmationModal.css +0 -1
- package/dist/assets/KpiCard.css +0 -1
- package/dist/assets/globals.css +0 -1
- package/dist/components/ConfirmationModal/ConfirmationModal.d.ts +0 -2
- package/dist/components/ConfirmationModal/ConfirmationModal.js +0 -51
- package/dist/components/ConfirmationModal/ConfirmationModal.stories.js +0 -36
- package/dist/components/ConfirmationModal/ConfirmationModal.types.d.ts +0 -11
- package/dist/components/CustomButton/CustomButton.d.ts +0 -3
- package/dist/components/CustomButton/CustomButton.stories.js +0 -42
- package/dist/components/CustomButton/CustomeButton.types.d.ts +0 -8
- package/dist/components/CustomFooter/CustomFooter.d.ts +0 -2
- package/dist/components/CustomFooter/CustomFooter.js +0 -32
- package/dist/components/CustomFooter/CustomFooter.stories.js +0 -40
- package/dist/components/CustomPagination/CustomPagination.d.ts +0 -3
- package/dist/components/CustomPagination/CustomPagination.stories.js +0 -25
- package/dist/components/ErrorModal/ErrorModal.d.ts +0 -2
- package/dist/components/ErrorModal/ErrorModal.js +0 -40
- package/dist/components/ErrorModal/ErrorModal.stories.js +0 -33
- package/dist/components/ErrorModal/ErrorModal.types.d.ts +0 -8
- package/dist/components/InfoModal/InfoModal.stories.js +0 -33
- package/dist/components/KpiCard/KpiCard.d.ts +0 -2
- package/dist/components/KpiCard/KpiCard.js +0 -2439
- package/dist/components/KpiCard/KpiCard.stories.js +0 -26
- package/dist/components/KpiCard/KpiCard.types.d.ts +0 -8
- package/dist/components/KpiWrapper/KpiWrapper.d.ts +0 -2
- package/dist/components/KpiWrapper/KpiWrapper.js +0 -11
- package/dist/components/KpiWrapper/KpiWrapper.stories.js +0 -56
- package/dist/components/LoadingAnimation/LoadingAnimation.stories.js +0 -14
- package/dist/components/Login/Login.stories.js +0 -24212
- package/dist/components/SideMenu/SideMenu.stories.js +0 -81
- package/dist/components/TotalDataGrid/TotalDataGrid.stories.js +0 -23
- package/dist/components/UserInfoDropdown/UserInfoDropdown.stories.js +0 -36
- package/dist/context-dCWAMvX5.js +0 -7320
- package/dist/createSimplePaletteValueFilter-CwLqlaaZ.js +0 -3457
- package/dist/index-B00P9-H3.js +0 -1681
- package/dist/index-BBBjHj3B.js +0 -411
- package/dist/objectWithoutPropertiesLoose-BTau6TOn.js +0 -33
- package/dist/useSlot-B4sbbhYz.js +0 -188
- /package/dist/assets/{ErrorModal.css → InfoModal.css} +0 -0
- /package/dist/assets/{CustomFooter.css → PassportFooter.css} +0 -0
- /package/dist/assets/{KpiWrapper.css → PassportKpiWrapper.css} +0 -0
- /package/dist/components/{ConfirmationModal/ConfirmationModal.types.js → DebouncedPassportInput/DebouncedPassportInput.types.js} +0 -0
- /package/dist/components/{CustomButton/CustomeButton.types.js → PassportAutocomplete/PassportAutocomplete.types.js} +0 -0
- /package/dist/components/{CustomFooter/CustomFooter.types.js → PassportButton/PassportButton.types.js} +0 -0
- /package/dist/components/{CustomPagination/CustomPagination.types.js → PassportDatePicker/PassportDatePicker.types.js} +0 -0
- /package/dist/components/{ErrorModal/ErrorModal.types.js → PassportDateTimePicker/PassportDateTimePicker.types.js} +0 -0
- /package/dist/components/{KpiCard/KpiCard.types.js → PassportDropdown/PassportDropdown.types.js} +0 -0
- /package/dist/components/{KpiWrapper/KpiWrapper.types.js → PassportFooter/PassportFooter.types.js} +0 -0
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as e from "react";
|
|
2
|
-
const o = (t) => /* @__PURE__ */ e.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M5 13L9 17L19 7", stroke: "#12121A", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }));
|
|
3
|
-
export {
|
|
4
|
-
o as S
|
|
5
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._flexRowCenter_18rw0_1{display:flex!important;flex-direction:row;align-items:center}._mr10_18rw0_7,html[dir=rtl] ._mr10_18rw0_7{margin-right:10px}html[dir=ltr] ._mr10_18rw0_7{margin-left:10px}._text18_18rw0_19{font-size:var(--font-size-xlarge)}._content_18rw0_23{position:relative;top:-10px}
|
package/dist/assets/KpiCard.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._kpiCard_w4qw3_1{height:147px;background-color:var(--color-background);border-radius:8px}._width430_w4qw3_7{width:430px}@media (max-width: 1500px){._width430_w4qw3_7{width:200px}}._width384_w4qw3_16{width:384px}._flexCol_w4qw3_20{display:flex;flex-direction:column}._flexRow_w4qw3_25{display:flex;flex-direction:row}._title_w4qw3_30{font-size:var(--font-size-kpi-card);font-weight:500;color:var(--color-text)}@media (max-width: 900px){._title_w4qw3_30{font-size:var(--font-size-small)}}@media (max-width: 1100px){._title_w4qw3_30{font-size:var(--font-size-large)}}@media (max-width: 1400px){._title_w4qw3_30{font-size:var(--font-size-xxlarge)}}@media (max-width: 1600px){._title_w4qw3_30{font-size:var(--font-size-22)}}._content_w4qw3_56{font-size:var(--font-size-xxxlarge);font-weight:400;color:var(--color-secondary);margin-top:-10px}@media (max-width: 900px){._content_w4qw3_56{font-size:var(--font-size-xxsmall)}}@media (max-width: 1100px){._content_w4qw3_56{font-size:var(--font-size-small)}}@media (max-width: 1400px){._content_w4qw3_56{font-size:var(--font-size-medium)}}
|
package/dist/assets/globals.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
:root{--color-primary: #045529;--color-secondary: #626367;--color-background: #f0f0f0;--color-background-secondary: #f3f6f8;--color-text: #12121a;--color-text-secondary: #111111;--color-text-light: #777;--color-text-dark: #333;--color-border: #ddd;--color-highlight: #05a952;--color-highlight-data-grid: rgba(5,169,82,.10196);--color-mui-selected: #F5F7FB;--color-warning: #eea63c;--color-critical: #f95048;--color-neutral: #fafafa;--color-red: red;--color-gray: #e0e0e0;--color-blue: #0054EE;--color-light-gray-blue: #E6EBEF;--color-very-light-gray: #DBDBDB;--color-white: white;--color-ant-theme: #00b96b;--color-avatar: #41b06e;--font-size-xxsmall: 8px;--font-size-9: 9px;--font-size-xsmall: 10px;--font-size-small: 12px;--font-size-normal: 13px;--font-size-medium: 14px;--font-size-large: 16px;--font-size-xlarge: 18px;--font-size-xxlarge: 20px;--font-size-xxxlarge: 21px;--font-size-22: 22px;--font-size-kpi-card: 32px;--font-bolded: 600;--font-500: 500;--font-400: 400}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { jsx as e, jsxs as n } from "react/jsx-runtime";
|
|
2
|
-
import * as t from "react";
|
|
3
|
-
import { S as m } from "../../VModalIcon-D7L4bQLO.js";
|
|
4
|
-
import { M as d } from "../../index-B00P9-H3.js";
|
|
5
|
-
import '../../assets/ConfirmationModal.css';const p = (r) => /* @__PURE__ */ t.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...r }, /* @__PURE__ */ t.createElement("path", { d: "M7 10L9 12L13 8M19 10C19 14.9706 14.9706 19 10 19C5.02944 19 1 14.9706 1 10C1 5.02944 5.02944 1 10 1C14.9706 1 19 5.02944 19 10Z", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), w = (r) => /* @__PURE__ */ t.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...r }, /* @__PURE__ */ t.createElement("path", { d: "M6 18L18 6M6 6L18 18", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), x = "_flexRowCenter_18rw0_1", g = "_mr10_18rw0_7", f = "_text18_18rw0_19", C = "_content_18rw0_23", o = {
|
|
6
|
-
flexRowCenter: x,
|
|
7
|
-
mr10: g,
|
|
8
|
-
text18: f,
|
|
9
|
-
content: C
|
|
10
|
-
};
|
|
11
|
-
function _({ modalOpen: r, contentText: c, setModalOpen: l, commandOnOk: s, title: a, approve: i, cancel: h }) {
|
|
12
|
-
return /* @__PURE__ */ e(
|
|
13
|
-
d,
|
|
14
|
-
{
|
|
15
|
-
title: /* @__PURE__ */ n("span", { className: o.flexRowCenter, children: [
|
|
16
|
-
/* @__PURE__ */ e(p, { className: o.mr10, color: "var(--color-primary)" }),
|
|
17
|
-
/* @__PURE__ */ e("p", { className: o.text18, children: a })
|
|
18
|
-
] }),
|
|
19
|
-
centered: !0,
|
|
20
|
-
open: r,
|
|
21
|
-
onOk: () => {
|
|
22
|
-
s(), l(!1);
|
|
23
|
-
},
|
|
24
|
-
onCancel: () => l(!1),
|
|
25
|
-
closeIcon: !1,
|
|
26
|
-
okText: /* @__PURE__ */ n("span", { className: o.flexRowCenter, children: [
|
|
27
|
-
/* @__PURE__ */ e(m, {}),
|
|
28
|
-
/* @__PURE__ */ e("span", { children: i })
|
|
29
|
-
] }),
|
|
30
|
-
okButtonProps: {
|
|
31
|
-
style: {
|
|
32
|
-
backgroundColor: "var(--color-highlight)"
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
cancelButtonProps: {
|
|
36
|
-
style: {
|
|
37
|
-
borderColor: "var(--color-highlight)",
|
|
38
|
-
color: "var(--color-highlight)"
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
cancelText: /* @__PURE__ */ n("span", { className: o.flexRowCenter, children: [
|
|
42
|
-
/* @__PURE__ */ e(w, { color: "var(--color-primary)" }),
|
|
43
|
-
/* @__PURE__ */ e("span", { children: h })
|
|
44
|
-
] }),
|
|
45
|
-
children: /* @__PURE__ */ e("p", { className: o.content, children: c })
|
|
46
|
-
}
|
|
47
|
-
);
|
|
48
|
-
}
|
|
49
|
-
export {
|
|
50
|
-
_ as ConfirmationModal
|
|
51
|
-
};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { ConfirmationModal as r } from "./ConfirmationModal.js";
|
|
3
|
-
import { C as e } from "../../context-dCWAMvX5.js";
|
|
4
|
-
const n = ({ isRtl: t }) => /* @__PURE__ */ o(e, { direction: t ? "rtl" : "ltr", children: /* @__PURE__ */ o(
|
|
5
|
-
r,
|
|
6
|
-
{
|
|
7
|
-
modalOpen: !0,
|
|
8
|
-
contentText: "Confirmation test for storybook test",
|
|
9
|
-
setModalOpen: () => {
|
|
10
|
-
},
|
|
11
|
-
commandOnOk: () => {
|
|
12
|
-
},
|
|
13
|
-
title: "Confirmation",
|
|
14
|
-
approve: "Yes",
|
|
15
|
-
cancel: "No"
|
|
16
|
-
}
|
|
17
|
-
) }), l = {
|
|
18
|
-
title: "Confirmation Modal",
|
|
19
|
-
component: n,
|
|
20
|
-
tags: ["autodocs"],
|
|
21
|
-
parameters: {
|
|
22
|
-
layout: "fullscreen"
|
|
23
|
-
},
|
|
24
|
-
args: {
|
|
25
|
-
isRtl: !1
|
|
26
|
-
}
|
|
27
|
-
}, m = {}, f = {
|
|
28
|
-
args: {
|
|
29
|
-
isRtl: !0
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
export {
|
|
33
|
-
m as Default,
|
|
34
|
-
f as RTL,
|
|
35
|
-
l as default
|
|
36
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Dispatch, SetStateAction } from 'react';
|
|
2
|
-
interface ConfirmationModalProps {
|
|
3
|
-
modalOpen: boolean;
|
|
4
|
-
contentText: string;
|
|
5
|
-
setModalOpen: Dispatch<SetStateAction<boolean>>;
|
|
6
|
-
commandOnOk: () => void | void;
|
|
7
|
-
title: string;
|
|
8
|
-
approve: string;
|
|
9
|
-
cancel: string;
|
|
10
|
-
}
|
|
11
|
-
export default ConfirmationModalProps;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { CustomButton as o } from "./CustomButton.js";
|
|
3
|
-
import { c as n } from "../../createSvgIcon-DNSRtm3a.js";
|
|
4
|
-
const s = n(/* @__PURE__ */ t("path", {
|
|
5
|
-
d: "M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"
|
|
6
|
-
}), "Search"), c = {
|
|
7
|
-
title: "Custom Button",
|
|
8
|
-
component: o,
|
|
9
|
-
tags: ["autodocs"],
|
|
10
|
-
parameters: {
|
|
11
|
-
layout: "fullscreen"
|
|
12
|
-
},
|
|
13
|
-
args: {
|
|
14
|
-
content: "Custom Button",
|
|
15
|
-
style: {
|
|
16
|
-
margin: "20px 20px"
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}, m = {}, p = {
|
|
20
|
-
args: {
|
|
21
|
-
content: "Custom Button",
|
|
22
|
-
width: "200px",
|
|
23
|
-
style: {
|
|
24
|
-
margin: "20px 20px"
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}, u = {
|
|
28
|
-
args: {
|
|
29
|
-
content: "Custom Button",
|
|
30
|
-
width: "90px",
|
|
31
|
-
startIcon: /* @__PURE__ */ t(s, {}),
|
|
32
|
-
style: {
|
|
33
|
-
margin: "20px 20px"
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
export {
|
|
38
|
-
m as Default,
|
|
39
|
-
p as Large,
|
|
40
|
-
u as WithIcon,
|
|
41
|
-
c as default
|
|
42
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { jsxs as a, Fragment as d, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { CustomPagination as u } from "../CustomPagination/CustomPagination.js";
|
|
3
|
-
import { TotalDataGrid as g } from "../TotalDataGrid/TotalDataGrid.js";
|
|
4
|
-
import { getPageCount as f } from "../../portal-utils/pageCount.js";
|
|
5
|
-
import { useGridApiContext as l, useGridSelector as t, gridFilteredTopLevelRowCountSelector as C, useGridRootProps as h, gridPageSizeSelector as F, GridFooterContainer as G } from "@mui/x-data-grid";
|
|
6
|
-
import { cn as P } from "../../portal-utils/cn.js";
|
|
7
|
-
import '../../assets/CustomFooter.css';const S = "_container_1py0o_1", v = {
|
|
8
|
-
container: S
|
|
9
|
-
};
|
|
10
|
-
function z({ total: o, columnsDefinitions: i, isRtl: n }) {
|
|
11
|
-
const r = l(), s = t(r, C), c = h(), m = t(r, F), p = f(c.rowCount ?? s, m);
|
|
12
|
-
return /* @__PURE__ */ a(d, { children: [
|
|
13
|
-
(o == null ? void 0 : o.length) > 0 && /* @__PURE__ */ e("div", { className: P(v.container, "custom-grid-footer"), children: /* @__PURE__ */ e(
|
|
14
|
-
g,
|
|
15
|
-
{
|
|
16
|
-
rows: o,
|
|
17
|
-
isFetching: !1,
|
|
18
|
-
columnsDefinitions: i
|
|
19
|
-
}
|
|
20
|
-
) }),
|
|
21
|
-
/* @__PURE__ */ e(G, { children: /* @__PURE__ */ e(
|
|
22
|
-
u,
|
|
23
|
-
{
|
|
24
|
-
isRtl: n,
|
|
25
|
-
pageCount: p
|
|
26
|
-
}
|
|
27
|
-
) })
|
|
28
|
-
] });
|
|
29
|
-
}
|
|
30
|
-
export {
|
|
31
|
-
z as CustomFooter
|
|
32
|
-
};
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { jsxs as r, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import '../../assets/SideMenu.css';import '../../assets/globals.css';/* empty css */
|
|
3
|
-
import "react";
|
|
4
|
-
import { Pagination as a } from "../CustomPagination/CustomPagination.js";
|
|
5
|
-
import { TotalDataGrid as s } from "../TotalDataGrid/TotalDataGrid.js";
|
|
6
|
-
import "@mui/x-data-grid";
|
|
7
|
-
import "i18next";
|
|
8
|
-
/* empty css */
|
|
9
|
-
import { columnsDefinitions as e, total as i } from "../../mock.js";
|
|
10
|
-
const m = ({ isRtl: o }) => /* @__PURE__ */ r("div", { children: [
|
|
11
|
-
/* @__PURE__ */ t(
|
|
12
|
-
s,
|
|
13
|
-
{
|
|
14
|
-
rows: i,
|
|
15
|
-
isFetching: !1,
|
|
16
|
-
columnsDefinitions: e
|
|
17
|
-
}
|
|
18
|
-
),
|
|
19
|
-
/* @__PURE__ */ t(a, { isRtl: o, page: 2, pageCount: 12, onPageChange: () => {
|
|
20
|
-
} })
|
|
21
|
-
] }), h = {
|
|
22
|
-
title: "Custom Footer",
|
|
23
|
-
component: m,
|
|
24
|
-
tags: ["autodocs"],
|
|
25
|
-
parameters: {
|
|
26
|
-
layout: "fullscreen"
|
|
27
|
-
},
|
|
28
|
-
args: {
|
|
29
|
-
isRtl: !1
|
|
30
|
-
}
|
|
31
|
-
}, x = {}, D = {
|
|
32
|
-
args: {
|
|
33
|
-
isRtl: !0
|
|
34
|
-
}
|
|
35
|
-
};
|
|
36
|
-
export {
|
|
37
|
-
x as Default,
|
|
38
|
-
D as RTL,
|
|
39
|
-
h as default
|
|
40
|
-
};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { ExtendedPaginationProps, ExternalPaginationProps } from './CustomPagination.types';
|
|
2
|
-
export declare function Pagination({ isRtl, pageCount, page, onPageChange, className, }: ExtendedPaginationProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export declare function CustomPagination({ isRtl, pageCount }: ExternalPaginationProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { Pagination as t } from "./CustomPagination.js";
|
|
2
|
-
const e = {
|
|
3
|
-
title: "Custom Pagination",
|
|
4
|
-
component: t,
|
|
5
|
-
tags: ["autodocs"],
|
|
6
|
-
parameters: {
|
|
7
|
-
layout: "fullscreen"
|
|
8
|
-
},
|
|
9
|
-
args: {
|
|
10
|
-
isRtl: !1,
|
|
11
|
-
pageCount: 12,
|
|
12
|
-
page: 1,
|
|
13
|
-
onPageChange: () => {
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}, o = {}, s = {
|
|
17
|
-
args: {
|
|
18
|
-
isRtl: !0
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
export {
|
|
22
|
-
o as Default,
|
|
23
|
-
s as RTL,
|
|
24
|
-
e as default
|
|
25
|
-
};
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { useState as h } from "react";
|
|
3
|
-
import { M as p } from "../../index-B00P9-H3.js";
|
|
4
|
-
import '../../assets/ErrorModal.css';const d = "_flexRowCenter_ufgj5_1", x = "_text18_ufgj5_15", f = "_content_ufgj5_19", t = {
|
|
5
|
-
flexRowCenter: d,
|
|
6
|
-
text18: x,
|
|
7
|
-
content: f
|
|
8
|
-
}, C = ({ error: o, resetErrorBoundary: n, title: r, tryAgain: l, cancel: c }) => {
|
|
9
|
-
const [s, a] = h(!0), i = () => {
|
|
10
|
-
a(!1);
|
|
11
|
-
};
|
|
12
|
-
return /* @__PURE__ */ e(
|
|
13
|
-
p,
|
|
14
|
-
{
|
|
15
|
-
title: /* @__PURE__ */ e("span", { className: t.flexRowCenter, children: /* @__PURE__ */ e("p", { className: t.text18, children: r }) }),
|
|
16
|
-
centered: !0,
|
|
17
|
-
open: s,
|
|
18
|
-
onOk: n,
|
|
19
|
-
onCancel: i,
|
|
20
|
-
closeIcon: !0,
|
|
21
|
-
okText: /* @__PURE__ */ e("span", { className: t.flexRowCenter, children: /* @__PURE__ */ e("span", { children: l }) }),
|
|
22
|
-
okButtonProps: {
|
|
23
|
-
style: {
|
|
24
|
-
backgroundColor: "var(--color-highlight)"
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
cancelButtonProps: {
|
|
28
|
-
style: {
|
|
29
|
-
borderColor: "var(--color-highlight)",
|
|
30
|
-
color: "var(--color-highlight)"
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
cancelText: /* @__PURE__ */ e("span", { className: t.flexRowCenter, children: /* @__PURE__ */ e("span", { children: c }) }),
|
|
34
|
-
children: /* @__PURE__ */ e("p", { className: t.content, children: o.toString() })
|
|
35
|
-
}
|
|
36
|
-
);
|
|
37
|
-
};
|
|
38
|
-
export {
|
|
39
|
-
C as ErrorModal
|
|
40
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { ErrorModal as t } from "./ErrorModal.js";
|
|
3
|
-
import { C as e } from "../../context-dCWAMvX5.js";
|
|
4
|
-
const a = ({ isRtl: o }) => /* @__PURE__ */ r(e, { direction: o ? "rtl" : "ltr", children: /* @__PURE__ */ r(
|
|
5
|
-
t,
|
|
6
|
-
{
|
|
7
|
-
error: "Error Message",
|
|
8
|
-
resetErrorBoundary: () => {
|
|
9
|
-
},
|
|
10
|
-
title: "Error Title",
|
|
11
|
-
tryAgain: "Try Again",
|
|
12
|
-
cancel: "Cancel"
|
|
13
|
-
}
|
|
14
|
-
) }), i = {
|
|
15
|
-
title: "Error Modal",
|
|
16
|
-
component: a,
|
|
17
|
-
tags: ["autodocs"],
|
|
18
|
-
parameters: {
|
|
19
|
-
layout: "fullscreen"
|
|
20
|
-
},
|
|
21
|
-
args: {
|
|
22
|
-
isRtl: !1
|
|
23
|
-
}
|
|
24
|
-
}, c = {}, d = {
|
|
25
|
-
args: {
|
|
26
|
-
isRtl: !0
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
export {
|
|
30
|
-
c as Default,
|
|
31
|
-
d as RTL,
|
|
32
|
-
i as default
|
|
33
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { InfoModal as e } from "./InfoModal.js";
|
|
3
|
-
import { C as r } from "../../context-dCWAMvX5.js";
|
|
4
|
-
const n = ({ isRtl: t }) => /* @__PURE__ */ o(r, { direction: t ? "rtl" : "ltr", children: /* @__PURE__ */ o(
|
|
5
|
-
e,
|
|
6
|
-
{
|
|
7
|
-
modalOpen: !0,
|
|
8
|
-
contentText: "Storybook component test for InfoModal component",
|
|
9
|
-
setModalOpen: () => {
|
|
10
|
-
},
|
|
11
|
-
title: "Information",
|
|
12
|
-
okText: "Ok"
|
|
13
|
-
}
|
|
14
|
-
) }), f = {
|
|
15
|
-
title: "Info Modal",
|
|
16
|
-
component: n,
|
|
17
|
-
tags: ["autodocs"],
|
|
18
|
-
parameters: {
|
|
19
|
-
layout: "fullscreen"
|
|
20
|
-
},
|
|
21
|
-
args: {
|
|
22
|
-
isRtl: !1
|
|
23
|
-
}
|
|
24
|
-
}, i = {}, m = {
|
|
25
|
-
args: {
|
|
26
|
-
isRtl: !0
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
export {
|
|
30
|
-
i as Default,
|
|
31
|
-
m as RTL,
|
|
32
|
-
f as default
|
|
33
|
-
};
|