udp-react-enterprise-component-library 25.1.0-beta.2 → 25.1.0-beta.6
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/{AmbientGridTemplate-BLwgiqwK.js → AmbientGridTemplate-BqlMt5Su.js} +152 -137
- package/dist/AmbientGridTemplate-BqlMt5Su.js.map +1 -0
- package/dist/{EnvironmentRibbon-BMvQEZPZ.js → EnvironmentRibbon-DaDmKAPO.js} +2 -2
- package/dist/{EnvironmentRibbon-BMvQEZPZ.js.map → EnvironmentRibbon-DaDmKAPO.js.map} +1 -1
- package/dist/{MenuPage-DLsNc-P8.js → MenuPage-CO6_GWwB.js} +97 -27
- package/dist/MenuPage-CO6_GWwB.js.map +1 -0
- package/dist/{MyExportsPage-BYH2Wl9k.js → MyExportsPage-CX9tzqHk.js} +5 -5
- package/dist/{MyExportsPage-BYH2Wl9k.js.map → MyExportsPage-CX9tzqHk.js.map} +1 -1
- package/dist/MyExportsPage-CkzQ0MRq.js +8 -0
- package/dist/{PageContainer-B65gsUfF.js → PageContainer-k8KCfGsM.js} +2 -2
- package/dist/{PageContainer-B65gsUfF.js.map → PageContainer-k8KCfGsM.js.map} +1 -1
- package/dist/{SearchUtilities-dbXvMYoa.js → SearchUtilities-Bor3HbfB.js} +2 -2
- package/dist/{SearchUtilities-dbXvMYoa.js.map → SearchUtilities-Bor3HbfB.js.map} +1 -1
- package/dist/{SideSheet-CPHhyWLB.js → SideSheet-DUsxG1FN.js} +3 -3
- package/dist/{SideSheet-CPHhyWLB.js.map → SideSheet-DUsxG1FN.js.map} +1 -1
- package/dist/{UdpPublicForm-DFCL1GzD.js → UdpPublicForm-Caa1tH6z.js} +2 -2
- package/dist/{UdpPublicForm-DFCL1GzD.js.map → UdpPublicForm-Caa1tH6z.js.map} +1 -1
- package/dist/UdpPublicForm-Cvw5tOHe.js +4 -0
- package/dist/{UtilitySideBar-B4r2IAv5.js → UtilitySideBar-D4CXGtW2.js} +12 -9
- package/dist/UtilitySideBar-D4CXGtW2.js.map +1 -0
- package/dist/{VirtualBrowser-C_IJ0I6f.js → VirtualBrowser-BXL0hdy0.js} +7 -7
- package/dist/{VirtualBrowser-C_IJ0I6f.js.map → VirtualBrowser-BXL0hdy0.js.map} +1 -1
- package/dist/{WorkflowContainer-DKwRWi1i.js → WorkflowContainer-DrqzuQtU.js} +35 -7
- package/dist/WorkflowContainer-DrqzuQtU.js.map +1 -0
- package/dist/WorkflowContainer-Q8gtuaB7.js +9 -0
- package/dist/{apiHelpers-t3rfkjFZ.js → apiHelpers-DZots3og.js} +2 -2
- package/dist/apiHelpers-DZots3og.js.map +1 -0
- package/dist/index.js +2624 -2468
- package/dist/index.js.map +1 -1
- package/dist/{propertyTypeEnums-DTGsK5-s.js → propertyTypeEnums-Civy7RJv.js} +2 -2
- package/dist/{propertyTypeEnums-DTGsK5-s.js.map → propertyTypeEnums-Civy7RJv.js.map} +1 -1
- package/dist/types/AGLicense.d.ts +1 -1
- package/dist/types/UI/maps/UdpMap.d.ts +2 -0
- package/dist/types/UI/maps/UdpMapComponent.d.ts +2 -0
- package/dist/types/UI/utilityDisplay/ChipSection.d.ts +2 -1
- package/dist/types/UI/utilityDisplay/GridPrimaryBar.d.ts +2 -1
- package/dist/types/hooks/usePromotedMethodEntities.d.ts +6 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/stores/catalogStore.d.ts +2 -0
- package/dist/types/stores/inquiryStore.d.ts +3 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/dist/types/utilities/catalog/CatalogUtilities.d.ts +1 -0
- package/dist/types/utilities/tree/TreeUtilities.d.ts +1 -1
- package/package.json +2 -2
- package/dist/AmbientGridTemplate-BLwgiqwK.js.map +0 -1
- package/dist/MenuPage-DLsNc-P8.js.map +0 -1
- package/dist/MyExportsPage-CVUIXWTf.js +0 -8
- package/dist/UdpPublicForm-BrVSSMCN.js +0 -4
- package/dist/UtilitySideBar-B4r2IAv5.js.map +0 -1
- package/dist/WorkflowContainer-8-mmebY0.js +0 -9
- package/dist/WorkflowContainer-DKwRWi1i.js.map +0 -1
- package/dist/apiHelpers-t3rfkjFZ.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FluentButton } from "./EnvironmentRibbon-
|
|
1
|
+
import { FluentButton } from "./EnvironmentRibbon-DaDmKAPO.js";
|
|
2
2
|
import React, { forwardRef, useCallback, useMemo } from "react";
|
|
3
3
|
import { Switch, makeStyles, withStyles } from "@material-ui/core";
|
|
4
4
|
import { FormSpy } from "react-final-form";
|
|
@@ -133,4 +133,4 @@ let PropertyTypeEnum = /* @__PURE__ */ function(PropertyTypeEnum$1) {
|
|
|
133
133
|
|
|
134
134
|
//#endregion
|
|
135
135
|
export { DateTimeField, FluentToggle, FormButtons, PropertyTypeEnum, SubmitButton };
|
|
136
|
-
//# sourceMappingURL=propertyTypeEnums-
|
|
136
|
+
//# sourceMappingURL=propertyTypeEnums-Civy7RJv.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"propertyTypeEnums-
|
|
1
|
+
{"version":3,"file":"propertyTypeEnums-Civy7RJv.js","names":["FormButtonsCore: any","FormButtons: React.FC<FormButtonsProps>","value"],"sources":["../src/utilities/form/SubmitButton.tsx","../src/utilities/form/FormButtons.tsx","../src/UI/inputs/datetimes/DateTimeField.jsx","../src/UI/inputs/toggle/FluentToggle.jsx","../src/enums/propertyTypeEnums.ts"],"sourcesContent":["import { Button, ButtonProps } from '@material-ui/core';\nimport React, { forwardRef, ComponentType } from 'react';\nimport { FormSpy } from 'react-final-form';\nimport { FluentButton } from '../../UI/inputs/buttons/FluentButton';\n\nexport type SubmitButtonProps<\n P = {},\n D extends React.ElementType = 'button'\n > = ButtonProps<D, P> & {\n // @fixme Probably want to swap this with something that'll allow ...otherProps to inherit the specified component's props to pass through\n ButtonComponent?: typeof FluentButton;\n disablePristine: boolean;\n };\n\ntype SubmitButtonComponent<\n P = {},\n D extends React.ElementType = 'button'\n > = ComponentType<SubmitButtonProps<P, D>>;\n\n/**\n * A MUI Button varaint intended for use as the submit button for a form\n */\nexport let SubmitButton = forwardRef<HTMLButtonElement, SubmitButtonProps>((props, ref) => {\n const {\n ButtonComponent = FluentButton,\n disabled,\n disablePristine = true,\n ...otherProps\n } = props;\n\n return (\n <FormSpy subscription={{ submitting: true, pristine: true }}>\n {({ submitting, pristine }) => (\n <ButtonComponent\n ref={ref}\n type=\"submit\"\n disabled={submitting || (disablePristine && pristine) || disabled}\n {...otherProps}\n />\n )}\n </FormSpy>\n );\n});\nSubmitButton.displayName = 'SubmitButton';\n","import { makeStyles } from '@material-ui/core';\nimport React, { forwardRef, } from 'react';\n\nconst useStyles = makeStyles((theme:any) => ({\n root: {\n display: 'flex',\n flexDirection: 'row',\n alignItems: 'center',\n justifyContent: 'flex-start',\n marginBottom: theme.spacing(2),\n marginTop: theme.spacing(1),\n '& > *': {\n margin: `0 ${theme.spacing(2)}px 0 0`,\n },\n },\n}));\n\nexport type FormButtonsProps = {};\n\n/**\n * A MUI Button varaint intended for use as the submit button for a form\n */\nconst FormButtonsCore: any = (\n props: any,\n ref: any\n) => {\n const classes = useStyles(props);\n const { children, ...otherProps } = props;\n\n return (\n <div {...otherProps} ref={ref as any} className={classes.root}>\n {children}\n </div>\n );\n};\nexport const FormButtons: React.FC<FormButtonsProps> = forwardRef(FormButtonsCore);\n","import { DateTime } from 'luxon';\nimport React, { useCallback, useMemo } from 'react';\nimport {\n KeyboardDateTimePicker,\n MuiPickersUtilsProvider\n} from '@material-ui/pickers';\n// import { useIntl } from '../../../intl';\n// import { useDateFormat } from '../../utils/CompanyPreferencesProvider';\nimport DateFnsUtils from '@date-io/date-fns';\n\n/**\n * TextField for date input\n */\nexport const DateTimeField = (props) => {\n const { onChange: onChangeProp, value: valueProp, ...other } = props;\n // TODO: implement intl, use CPS as reference\n // const { shortDateFormatString } = useIntl();\n const dateFormat = 'yyyy-MM-dd HH:mm';\n\n const isValidDate = (date) => {\n return date instanceof Date && !isNaN(date);\n };\n\n const onChange = useCallback(\n (value) =>\n onChangeProp && onChangeProp(isValidDate(value) ? value : undefined),\n [onChangeProp]\n );\n\n const value = useMemo(() => {\n console.log(valueProp);\n return isValidDate(valueProp)\n ? DateTime.fromISO(valueProp.toISOString())\n : null;\n }, [valueProp]);\n\n return (\n <MuiPickersUtilsProvider utils={DateFnsUtils}>\n <KeyboardDateTimePicker\n format={dateFormat}\n variant='inline'\n onChange={onChange}\n value={value}\n {...other}\n />\n </MuiPickersUtilsProvider>\n );\n};\n","import React from 'react'\nimport { Switch, withStyles } from '@material-ui/core'\n\nconst FluentSwitch = withStyles((theme) => ({\n root: {\n width: 40,\n height: 20,\n padding: 0,\n display: 'flex',\n },\n switchBase: {\n padding: 4,\n color: theme.palette.grey[500],\n '&$checked': {\n transform: 'translateX(20px)',\n color: theme.palette.common.white,\n '& + $track': {\n opacity: 1,\n borderColor: theme.palette.primary.main\n }\n }\n },\n thumb: {\n width: 12,\n height: 12,\n boxShadow: 'none'\n },\n track: {\n border: `1px solid ${theme.palette.grey[500]}`,\n borderRadius: 20 / 2,\n opacity: 1,\n backgroundColor: theme.palette.common.white\n },\n checked: {}\n}))(Switch)\n\nexport const FluentToggle = (props) => {\n const { name, onChange, checked, ...otherProps } = props\n\n return (\n <FluentSwitch\n {...otherProps}\n checked={checked}\n onChange={onChange}\n name={name}\n />\n )\n}\n","export enum PropertyTypeEnum {\n Int = 'int',\n Long = 'long',\n Double = 'double',\n DateTime = 'DateTime',\n String = 'string',\n String_Uuid = 'string uuid',\n Boolean = 'bool'\n}\n"],"mappings":";;;;;;;;;;;;AAsBA,IAAW,eAAe,YAAkD,OAAO,QAAQ;CACzF,MAAM,EACJ,kBAAkB,cAClB,UACA,kBAAkB,KAClB,GAAG,eACD;AAEJ,QACE,oCAAC,WAAQ,cAAc;EAAE,YAAY;EAAM,UAAU;OACjD,EAAE,YAAY,eACd,oCAAC;EACM;EACL,MAAK;EACL,UAAU,cAAe,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MAAM,QAAQ,KAAK;EACxC,cAAc,KAAK;EACnB,SAAS;EACT,iBAAiB,MAAM,QAAQ,OAAO;;CAExC,SAAS;IACP;AAEJ,MAAa,gBAAgB,UAAU;CACrC,MAAM,EAAE,MAAM,UAAU,QAAS,GAAG,eAAe;AAEnD,QACE,oCAAC;EACC,GAAI;EACK;EACC;EACJ;;;;;;AC5CZ,IAAY,gEAAL;AACL;AACA;AACA;AACA;AACA;AACA;AACA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const LicenseKey = "Using_this_{AG_Grid}_Enterprise_key_{AG-
|
|
1
|
+
export declare const LicenseKey = "Using_this_{AG_Grid}_Enterprise_key_{AG-080613}_in_excess_of_the_licence_granted_is_not_permitted___Please_report_misuse_to_legal@ag-grid.com___For_help_with_changing_this_key_please_contact_info@ag-grid.com___{Univerus_Software_Inc}_is_granted_a_{Single_Application}_Developer_License_for_the_application_{MAIS_eRec}_only_for_{1}_Front-End_JavaScript_developer___All_Front-End_JavaScript_developers_working_on_{MAIS_eRec}_need_to_be_licensed___{MAIS_eRec}_has_not_been_granted_a_Deployment_License_Add-on___This_key_works_with_{AG_Grid}_Enterprise_versions_released_before_{28_June_2026}____[v3]_[01]_MTc4MjYwMTIwMDAwMA==5c7d1487ecb13b28e75415d34b7cf694";
|
|
@@ -124,5 +124,7 @@ export interface UdpMapComponentProps {
|
|
|
124
124
|
handleSetSelectedLayers: (value: any) => void;
|
|
125
125
|
/* Function or object to retrieve vector layer sources for the map */
|
|
126
126
|
getVectorLayerSources: any;
|
|
127
|
+
minZoom?: number;
|
|
128
|
+
maxZoom?: number;
|
|
127
129
|
}
|
|
128
130
|
export declare const UdpMapComponent: React.FC<UdpMapComponentProps>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -247,6 +247,7 @@ export * from './UI/surfaces/cards/AmbientCard';
|
|
|
247
247
|
export * from './UI/surfaces/cards/AmbientCardTitle';
|
|
248
248
|
export * from './UI/surfaces/cards/AmbientVisualizationCard';
|
|
249
249
|
export * from './UI/surfaces/cards/BioCard';
|
|
250
|
+
export * from './UI/surfaces/cards/FluentCardHeader';
|
|
250
251
|
export * from './UI/surfaces/cards/FluentCard';
|
|
251
252
|
export * from './UI/surfaces/cards/FluentCardText';
|
|
252
253
|
export * from './UI/surfaces/cards/FluentCardActions';
|
|
@@ -5,6 +5,8 @@ interface CatalogState {
|
|
|
5
5
|
setCatalogsMap: (catalog: Object) => void;
|
|
6
6
|
promotedEntityMap: Object | null | undefined;
|
|
7
7
|
setPromotedEntityMap: (catalog: Object) => void;
|
|
8
|
+
promotedMethodEntitiesMap: Object | null | undefined;
|
|
9
|
+
setPromotedMethodEntitiesMap: (catalog: Object) => void;
|
|
8
10
|
}
|
|
9
11
|
export declare const useCatalogStore: () => CatalogState;
|
|
10
12
|
export {};
|
|
@@ -12,10 +12,13 @@ interface InquiryState {
|
|
|
12
12
|
setWorkflowMap: (workflowMap: WorkflowMap) => void;
|
|
13
13
|
workflowStarting: boolean;
|
|
14
14
|
setWorkflowStarting: (workflowStarting: boolean) => void;
|
|
15
|
+
inquiryMenuHidden: boolean | null | undefined;
|
|
16
|
+
setInquiryMenuHidden: (inquiryMenuHidden: boolean) => void;
|
|
15
17
|
}
|
|
16
18
|
export declare const useInquiryStore: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<InquiryState>, "setState"> & {
|
|
17
19
|
setState<A extends string | {
|
|
18
20
|
type: string;
|
|
19
21
|
}>(partial: InquiryState | Partial<InquiryState> | ((state: InquiryState) => InquiryState | Partial<InquiryState>), replace?: boolean, action?: A): void;
|
|
20
22
|
}>;
|
|
23
|
+
export declare const useSetInitialInquiryMenuVisibility: () => void;
|
|
21
24
|
export {};
|