@rws-aoa/react-library 8.2.8 → 9.1.0
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/dist/chunks/{FieldError.C1l5S0jl.js → FieldError.B4HiPjPm.js} +75 -79
- package/dist/chunks/FieldError.B4HiPjPm.js.map +1 -0
- package/dist/components-domain/ivon-project-planning/IvonProjectPlanning.d.ts.map +1 -1
- package/dist/components-domain/ivon-project-planning/IvonProjectPlanning.js +34 -8
- package/dist/components-domain/ivon-project-planning/IvonProjectPlanning.js.map +1 -1
- package/dist/components-domain/ivon-project-planning/_IvonDataGrid/IvonDataGrid.d.ts +31 -0
- package/dist/components-domain/ivon-project-planning/_IvonDataGrid/IvonDataGrid.d.ts.map +1 -0
- package/dist/components-domain/ivon-project-planning/_IvonDataGrid/IvonDataGrid.js +108 -0
- package/dist/components-domain/ivon-project-planning/_IvonDataGrid/IvonDataGrid.js.map +1 -0
- package/dist/components-domain/ivon-project-planning/_IvonProjectPlanningView/IvonProjectPlanningView.d.ts +11 -0
- package/dist/components-domain/ivon-project-planning/_IvonProjectPlanningView/IvonProjectPlanningView.d.ts.map +1 -0
- package/dist/components-domain/ivon-project-planning/_IvonProjectPlanningView/IvonProjectPlanningView.js +89 -0
- package/dist/components-domain/ivon-project-planning/_IvonProjectPlanningView/IvonProjectPlanningView.js.map +1 -0
- package/dist/components-domain/ivon-project-planning/_IvonSchematicView/IvonSchematicView.d.ts +9 -0
- package/dist/components-domain/ivon-project-planning/_IvonSchematicView/IvonSchematicView.d.ts.map +1 -0
- package/dist/components-domain/ivon-project-planning/_IvonSchematicView/IvonSchematicView.js +66 -0
- package/dist/components-domain/ivon-project-planning/_IvonSchematicView/IvonSchematicView.js.map +1 -0
- package/dist/components-domain/ivon-project-planning/_backend/backend.d.ts +3 -0
- package/dist/components-domain/ivon-project-planning/_backend/backend.d.ts.map +1 -0
- package/dist/components-domain/ivon-project-planning/_backend/backend.js +7 -0
- package/dist/components-domain/ivon-project-planning/_backend/backend.js.map +1 -0
- package/dist/components-domain/ivon-project-planning/_dummy-data/ivon3-data.json.d.ts +78 -0
- package/dist/components-domain/ivon-project-planning/_helpers/IvonDataBridge.d.ts +12 -0
- package/dist/components-domain/ivon-project-planning/_helpers/IvonDataBridge.d.ts.map +1 -0
- package/dist/components-domain/ivon-project-planning/_helpers/IvonDataBridge.js +30 -0
- package/dist/components-domain/ivon-project-planning/_helpers/IvonDataBridge.js.map +1 -0
- package/dist/components-domain/ivon-project-planning/_helpers/IvonUtility.d.ts +4 -0
- package/dist/components-domain/ivon-project-planning/_helpers/IvonUtility.d.ts.map +1 -0
- package/dist/components-domain/ivon-project-planning/_helpers/IvonUtility.js +9 -0
- package/dist/components-domain/ivon-project-planning/_helpers/IvonUtility.js.map +1 -0
- package/dist/components-domain/ivon-project-planning/_types/ivon-types.d.ts +33 -0
- package/dist/components-domain/ivon-project-planning/_types/ivon-types.d.ts.map +1 -0
- package/dist/components-domain/ivon-project-planning/_types/ivon-types.js +2 -0
- package/dist/components-domain/ivon-project-planning/_types/ivon-types.js.map +1 -0
- package/dist/components-generic/atoms/no-permission/PermissionWrapper.d.ts +31 -0
- package/dist/components-generic/atoms/no-permission/PermissionWrapper.d.ts.map +1 -0
- package/dist/components-generic/atoms/no-permission/PermissionWrapper.js +27 -0
- package/dist/components-generic/atoms/no-permission/PermissionWrapper.js.map +1 -0
- package/dist/components-generic/molecules/field-error/FieldError.js +1 -1
- package/dist/components-generic/molecules/form/Form.d.ts +25 -0
- package/dist/components-generic/molecules/form/Form.d.ts.map +1 -0
- package/dist/components-generic/molecules/form/Form.js +21 -0
- package/dist/components-generic/molecules/form/Form.js.map +1 -0
- package/dist/components-generic/molecules/form-error/FormError.js +1 -1
- package/dist/components-generic/molecules/form-modal/FormModal.d.ts.map +1 -1
- package/dist/components-generic/molecules/form-modal/FormModal.js +3 -2
- package/dist/components-generic/molecules/form-modal/FormModal.js.map +1 -1
- package/dist/components-generic/molecules/no-label-number-field/NoLabelNumberField.js +1 -1
- package/dist/contexts/TanstackFormContext.js +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +39 -37
- package/dist/index.js.map +1 -1
- package/package.json +9 -5
- package/dist/chunks/FieldError.C1l5S0jl.js.map +0 -1
- package/dist/components-generic/_pages/project-page/ProjectPage.d.ts +0 -2
- package/dist/components-generic/_pages/project-page/ProjectPage.d.ts.map +0 -1
- package/dist/components-generic/_pages/project-page/ProjectPage.js +0 -34962
- package/dist/components-generic/_pages/project-page/ProjectPage.js.map +0 -1
- package/dist/components-generic/atoms/no-permission/NoPermission.d.ts +0 -27
- package/dist/components-generic/atoms/no-permission/NoPermission.d.ts.map +0 -1
- package/dist/components-generic/atoms/no-permission/NoPermission.js +0 -23
- package/dist/components-generic/atoms/no-permission/NoPermission.js.map +0 -1
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { TypographyProps } from '@mui/material';
|
|
2
|
-
import { ReactNode } from 'react';
|
|
3
|
-
export interface AoaNoPermissionProps {
|
|
4
|
-
/**
|
|
5
|
-
* Additional props for the {@link Typography} component
|
|
6
|
-
*/
|
|
7
|
-
readonly TypographyProps?: TypographyProps & {
|
|
8
|
-
'data-qa'?: string;
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
* The 'no permission' message to display to the user
|
|
12
|
-
*/
|
|
13
|
-
readonly children: ReactNode;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Creates a 'no permission' message for unauthorized users
|
|
17
|
-
*
|
|
18
|
-
* @param props - Props to pass to the No Permission component
|
|
19
|
-
* @example
|
|
20
|
-
* ```jsx
|
|
21
|
-
* <AoaNoPermission>
|
|
22
|
-
* This is a message
|
|
23
|
-
* </AoaNoPermission>
|
|
24
|
-
* ```
|
|
25
|
-
*/
|
|
26
|
-
export declare function AoaNoPermission({ children, TypographyProps }: AoaNoPermissionProps): import("react/jsx-runtime").JSX.Element;
|
|
27
|
-
//# sourceMappingURL=NoPermission.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NoPermission.d.ts","sourceRoot":"","sources":["../../../../src/components-generic/atoms/no-permission/NoPermission.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA8B,KAAK,eAAe,EAAqB,MAAM,eAAe,CAAC;AAEpG,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,QAAQ,CAAC,eAAe,CAAC,EAAE,eAAe,GAAG;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IACpE;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAC;CAC9B;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,eAAe,CAAC,EAAE,QAAQ,EAAE,eAAe,EAAE,EAAE,oBAAoB,2CAoBlF"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { Container as e, Box as i, Typography as n, typographyClasses as m } from "@mui/material";
|
|
3
|
-
import { l as s } from "../../../chunks/lodash.CdkV4gpV.js";
|
|
4
|
-
import { FontNormalSxProps as a } from "../../../_constants.js";
|
|
5
|
-
function c({
|
|
6
|
-
children: t,
|
|
7
|
-
TypographyProps: o
|
|
8
|
-
}) {
|
|
9
|
-
return /* @__PURE__ */ r(e, { maxWidth: "md", sx: {
|
|
10
|
-
height: "100%"
|
|
11
|
-
}, children: /* @__PURE__ */ r(i, { sx: {
|
|
12
|
-
height: "100%",
|
|
13
|
-
placeContent: "center center",
|
|
14
|
-
display: "flex",
|
|
15
|
-
alignItems: "center"
|
|
16
|
-
}, children: /* @__PURE__ */ r(n, { ...o, color: "textPrimary", sx: s.merge({
|
|
17
|
-
[`.${m.root}`]: a
|
|
18
|
-
}, o?.sx), variant: "h4", children: t }) }) });
|
|
19
|
-
}
|
|
20
|
-
export {
|
|
21
|
-
c as AoaNoPermission
|
|
22
|
-
};
|
|
23
|
-
//# sourceMappingURL=NoPermission.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NoPermission.js","sources":["../../../../src/components-generic/atoms/no-permission/NoPermission.tsx"],"sourcesContent":["import { Box, Container, Typography, type TypographyProps, typographyClasses } from '@mui/material';\nimport { merge } from 'lodash';\nimport type { ReactNode } from 'react';\nimport { FontNormalSxProps } from '../../../_constants';\n\nexport interface AoaNoPermissionProps {\n /**\n * Additional props for the {@link Typography} component\n */\n readonly TypographyProps?: TypographyProps & { 'data-qa'?: string };\n /**\n * The 'no permission' message to display to the user\n */\n readonly children: ReactNode;\n}\n\n/**\n * Creates a 'no permission' message for unauthorized users\n *\n * @param props - Props to pass to the No Permission component\n * @example\n * ```jsx\n * <AoaNoPermission>\n * This is a message\n * </AoaNoPermission>\n * ```\n */\nexport function AoaNoPermission({ children, TypographyProps }: AoaNoPermissionProps) {\n return (\n <Container maxWidth='md' sx={{ height: '100%' }}>\n <Box sx={{ height: '100%', placeContent: 'center center', display: 'flex', alignItems: 'center' }}>\n <Typography\n {...TypographyProps}\n color='textPrimary'\n sx={merge(\n {\n [`.${typographyClasses.root}`]: FontNormalSxProps\n },\n TypographyProps?.sx\n )}\n variant='h4'\n >\n {children}\n </Typography>\n </Box>\n </Container>\n );\n}\n"],"names":["AoaNoPermission","children","TypographyProps","jsx","Container","height","Box","placeContent","display","alignItems","Typography","merge","typographyClasses","root","FontNormalSxProps","sx"],"mappings":";;;;AA2BO,SAASA,EAAgB;AAAA,EAAEC,UAAAA;AAAAA,EAAUC,iBAAAA;AAAsC,GAAG;AACnF,SACE,gBAAAC,EAACC,GAAA,EAAU,UAAS,MAAK,IAAI;AAAA,IAAEC,QAAQ;AAAA,EAAA,GACrC,UAAA,gBAAAF,EAACG,GAAA,EAAI,IAAI;AAAA,IAAED,QAAQ;AAAA,IAAQE,cAAc;AAAA,IAAiBC,SAAS;AAAA,IAAQC,YAAY;AAAA,EAAA,GACrF,4BAACC,GAAA,EACC,GAAIR,GACJ,OAAM,eACN,IAAIS,QACF;AAAA,IACE,CAAC,IAAIC,EAAkBC,IAAI,EAAE,GAAGC;AAAAA,EAAAA,GAElCZ,GAAiBa,EACnB,GACA,SAAQ,MAEPd,UAAAA,EAAAA,CACH,GACF,GACF;AAEJ;"}
|