@zealicsolutions/web-ui 1.0.140-beta.56 → 1.0.140-beta.57
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/cjs/helpers/utils.d.ts +17 -0
- package/dist/cjs/index.js +27 -27
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/_virtual/index3.js +1 -1
- package/dist/esm/_virtual/index4.js +1 -1
- package/dist/esm/helpers/utils.d.ts +17 -0
- package/dist/esm/helpers/utils.js +1 -1
- package/dist/esm/helpers/utils.js.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/molecules/BasicTextField/BasicTextField.js.map +1 -1
- package/dist/esm/molecules/Menu/Menu.js +1 -1
- package/dist/esm/molecules/Menu/Menu.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Accordion/Accordion.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Menu/Menu.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/MenuList/MenuList.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Select/SelectInput.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/SpeedDial/SpeedDial.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Tabs/Tabs.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/dist/esm/node_modules/@mui/material/node_modules/react-is/index.js +1 -1
- package/dist/esm/node_modules/classnames/index.js +1 -1
- package/dist/esm/node_modules/react-slick/lib/arrows.js +1 -1
- package/dist/esm/node_modules/react-slick/lib/dots.js +1 -1
- package/dist/esm/node_modules/react-slick/lib/inner-slider.js +1 -1
- package/dist/esm/node_modules/react-slick/lib/track.js +1 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var r={exports:{}};export{r};
|
|
1
|
+
var r={exports:{}};export{r as c};
|
|
2
2
|
//# sourceMappingURL=index3.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var r={exports:{}};export{r
|
|
1
|
+
var r={exports:{}};export{r};
|
|
2
2
|
//# sourceMappingURL=index4.js.map
|
|
@@ -39,4 +39,21 @@ export declare const checkIsDataDrivenLink: (link?: LinkProperties) => boolean;
|
|
|
39
39
|
export declare const addInternalParamsToCurrentLink: (internalLink?: Nullable<string>, isPreview?: boolean) => string | undefined;
|
|
40
40
|
export declare const getHref: (link?: LinkProperties, isPreview?: boolean) => Nullable<string> | undefined;
|
|
41
41
|
export declare const parseDescendantContent: (string: string) => CustomDescendant[];
|
|
42
|
+
/**
|
|
43
|
+
* Parse an internal link string into a URL object anchored to window.location.origin
|
|
44
|
+
*/
|
|
45
|
+
export declare const parseInternalLink: (internalLink?: Nullable<string>) => URL | null;
|
|
46
|
+
/**
|
|
47
|
+
* Read a query param from an internal link (supports relative links)
|
|
48
|
+
*/
|
|
49
|
+
export declare const getParamFromInternalLink: (internalLink: Nullable<string>, param: string) => string | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* Get the selected webpage id encoded into an internal link
|
|
52
|
+
* Checks multiple keys for compatibility
|
|
53
|
+
*/
|
|
54
|
+
export declare const getSelectedWebpageIdFromInternalLink: (internalLink: Nullable<string>) => string | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* Get selected webpage id from the current location's search params
|
|
57
|
+
*/
|
|
58
|
+
export declare const getSelectedWebpageIdFromLocation: () => string | undefined;
|
|
42
59
|
export { encodeObjectToBase64Url, getByPath } from './rwoContext';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../contexts/AccountButtonContext/AccountButtonContext.js";import"react/jsx-runtime";import"../node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js";import"react";import"../node_modules/stylis/dist/umd/stylis.js";import"../node_modules/@babel/runtime/helpers/extends.js";import"../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js";import"../contexts/ApiContext/ApiContext.js";import"../contexts/ContainerRuntimeContext/ContainerRuntimeContext.js";import"../contexts/FormStepContext/FormStepContext.js";import"../contexts/LayoutContext/LayoutContext.js";import"../theme/theme.js";import"../theme/provider.js";import"../theme/toastStyles.js";import"../contexts/MlrRichTextViewerContext/MlrRichTextViewerContext.js";import"../contexts/OrganismContext/OrganismContext.js";import"../contexts/PopupContext/PopupContext.js";import"../contexts/StateContext/StateContext.js";import"../molecules/Button/Button.js";import"@tanstack/react-query";import{decodeBase64UrlToObject as t}from"./rwoContext.js";export{encodeObjectToBase64Url,getByPath}from"./rwoContext.js";import{paramKeys as e}from"../constants/params.js";import{urlPattern as o}from"./validations.js";import"../node_modules/@emotion/react/dist/emotion-react.esm.js";import"../components/Buttons/TextButton.js";import"../components/Buttons/TouchableOpacity.js";import"../components/Circle/Circle.js";import"../components/CircularIndicator/CircularIndicator.js";import"../components/ContentWrapper/ContentWrapper.js";import"../components/CustomValidation/CustomValidation.js";import"../components/HorizontalButtons/HorizontalButtons.js";import"../components/Input/Input.js";import"../components/Paddings/Paddings.js";import"../components/PdfDocument/PdfDocument.js";import"../components/RadioButtons/RadioButtons.js";import"../components/RegularImage/RegularImage.js";import{richTextDefaultValue as n}from"../components/RichTextViewer/RichTextViewer.js";import"../node_modules/slate/dist/index.es.js";import"../components/TextWrapper/TextWrapper.js";import"../components/Select/styles.js";import"../components/Spacer/Spacer.js";import"../components/Spinner/Spinner.js";import{toast as r}from"../components/Toast/toast.js";import"../components/Tooltip/Tooltip.js";import"../components/ValidationTag/ValidationTag.js";import"../components/ZealUIModal/ZealUIModal.js";const i=t=>{if(o.test(t)){window.open(t,"_blank","noopener,noreferrer")&&setTimeout(()=>{window.blur()},100)}},s=(t,e)=>{if(!e||"string"!=typeof e)return"";const o=e.match(new RegExp(`[?&]${t}=([^&]*)`));return o?decodeURIComponent(o[1]):""},
|
|
1
|
+
import"../contexts/AccountButtonContext/AccountButtonContext.js";import"react/jsx-runtime";import"../node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js";import"react";import"../node_modules/stylis/dist/umd/stylis.js";import"../node_modules/@babel/runtime/helpers/extends.js";import"../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js";import"../contexts/ApiContext/ApiContext.js";import"../contexts/ContainerRuntimeContext/ContainerRuntimeContext.js";import"../contexts/FormStepContext/FormStepContext.js";import"../contexts/LayoutContext/LayoutContext.js";import"../theme/theme.js";import"../theme/provider.js";import"../theme/toastStyles.js";import"../contexts/MlrRichTextViewerContext/MlrRichTextViewerContext.js";import"../contexts/OrganismContext/OrganismContext.js";import"../contexts/PopupContext/PopupContext.js";import"../contexts/StateContext/StateContext.js";import"../molecules/Button/Button.js";import"@tanstack/react-query";import{decodeBase64UrlToObject as t}from"./rwoContext.js";export{encodeObjectToBase64Url,getByPath}from"./rwoContext.js";import{paramKeys as e}from"../constants/params.js";import{urlPattern as o}from"./validations.js";import"../node_modules/@emotion/react/dist/emotion-react.esm.js";import"../components/Buttons/TextButton.js";import"../components/Buttons/TouchableOpacity.js";import"../components/Circle/Circle.js";import"../components/CircularIndicator/CircularIndicator.js";import"../components/ContentWrapper/ContentWrapper.js";import"../components/CustomValidation/CustomValidation.js";import"../components/HorizontalButtons/HorizontalButtons.js";import"../components/Input/Input.js";import"../components/Paddings/Paddings.js";import"../components/PdfDocument/PdfDocument.js";import"../components/RadioButtons/RadioButtons.js";import"../components/RegularImage/RegularImage.js";import{richTextDefaultValue as n}from"../components/RichTextViewer/RichTextViewer.js";import"../node_modules/slate/dist/index.es.js";import"../components/TextWrapper/TextWrapper.js";import"../components/Select/styles.js";import"../components/Spacer/Spacer.js";import"../components/Spinner/Spinner.js";import{toast as r}from"../components/Toast/toast.js";import"../components/Tooltip/Tooltip.js";import"../components/ValidationTag/ValidationTag.js";import"../components/ZealUIModal/ZealUIModal.js";const i=t=>{if(o.test(t)){window.open(t,"_blank","noopener,noreferrer")&&setTimeout(()=>{window.blur()},100)}},s=(t,e)=>{if(!e||"string"!=typeof e)return"";const o=e.match(new RegExp(`[?&]${t}=([^&]*)`));return o?decodeURIComponent(o[1]):""},a=e=>{const o=e||window.location.href,n=s("rwoContext",o);if(n)try{const e=t(n);if(e){const t=[];return Object.entries(e).forEach(([e,o])=>{o&&"object"==typeof o&&"rwoRecordId"in o&&o.rwoRecordId&&t.push({organismId:e,recordId:o.rwoRecordId})}),t}}catch(i){}const r=s("rwoTargets",o);if(!r)return[];try{return r.split(",").map(t=>{const[e,o]=t.split(":");return{organismId:e,recordId:o}}).filter(t=>t.organismId&&t.recordId)}catch(i){return[]}},c=(e,o)=>{const n=o||window.location.href,r=s("rwoContext",n);if(r)try{const o=t(r),n=o?.[e];if(n&&"object"==typeof n&&"rwoRecordId"in n)return n.rwoRecordId}catch(i){}return s("rwoRecordId",n)||void 0},p=(t,o,n=!1)=>{if(!o)return t;const r=s(e.internalLinkWebpageId,o),i=s(e.internalLinkApplicationId,o);if(!r||!i)return t;const a=new URLSearchParams(t.toString());return n?(t.has(e.previewApplicationId)&&a.set(e.previewApplicationId,i),t.has(e.previewSelectedWebpageId)&&a.set(e.previewSelectedWebpageId,r)):(t.has(e.runtimeSelectedWebpageId)&&a.set(e.runtimeSelectedWebpageId,r),a.set(e.runtimeSelectedWebpageId,r)),a},m=async(t="",e="Downloaded file")=>{try{const o=await fetch(t),n=await o.blob(),r=URL.createObjectURL(n),i=document.createElement("a");i.href=r,i.download=e,i.click(),URL.revokeObjectURL(r)}catch(o){r({message:`Failed to download the file: ${o}`,type:"error"})}},d=t=>{if(!t)return;if("object"==typeof t&&"type"in t){const e=t;if(j(e))return;return u(e.externalLink)}return u(t)},l=(t,e)=>{if(t){if("object"==typeof t&&"type"in t){const o=t;if(f(o))return;return j(o)?void(e&&o.internalLink?e({link:o.internalLink}):o.internalLink&&(window.location.href=o.internalLink)):d(o.externalLink)}return d(t)}},u=t=>{if(!t||"string"!=typeof t)return;if(o.test(t))try{const e=window.open(t,"_blank","noopener,noreferrer");if(e){[20,120,300,600].forEach(t=>{setTimeout(()=>{try{e.blur()}catch(t){}try{window.focus()}catch(t){}},t)})}}catch(e){}else try{console.error("navigateToExternalLink: invalid external URL",{url:t})}catch(e){}},j=t=>{if(!t)return!1;const e=t?.type||t?.linkType;return"internal_link"===e||"internalLink"===e},f=t=>!!t&&("data_driven_link"===t.type||"dataDrivenLink"===t.type),w=(t,e)=>{if(!t)return;const o=new URL(window.location.href),n=p(o.searchParams,t,e);return o.search=n.toString(),o.toString()},x=(t,e)=>{if(t)return j(t)?w(t?.internalLink,e):t?.externalLink},h=t=>{const e=t?.replace(/\\/g,"");try{return JSON.parse(t)}catch(o){try{return JSON.parse(e)}catch(r){return n}}},g=t=>{if(!t)return null;try{const e=t.startsWith("http")?t:new URL(t,window.location.origin).toString();return new URL(e)}catch(e){return null}},y=(t,e)=>{const o=g(t);if(!o)return;return o.searchParams.get(e)??void 0},I=t=>{const o=g(t);if(!o)return;const n=o.searchParams;return n.get(e.internalLinkWebpageId)||n.get(e.runtimeSelectedWebpageId)||n.get(e.previewSelectedWebpageId)||void 0},C=()=>{try{const t=new URLSearchParams(window.location.search||"");return t.get(e.runtimeSelectedWebpageId)||t.get(e.previewSelectedWebpageId)||void 0}catch(t){return}};export{w as addInternalParamsToCurrentLink,f as checkIsDataDrivenLink,j as checkIsInternalLink,m as downloadFile,x as getHref,y as getParamFromInternalLink,s as getParameterByName,c as getRwoRecordIdForOrganism,a as getRwoTargets,I as getSelectedWebpageIdFromInternalLink,C as getSelectedWebpageIdFromLocation,d as navigateToExternalLink,l as navigateToLink,h as parseDescendantContent,g as parseInternalLink,p as updateSearchParams,i as validateAndOpenUrl};
|
|
2
2
|
//# sourceMappingURL=utils.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sources":["../../../../src/helpers/utils.ts"],"sourcesContent":[null],"names":["validateAndOpenUrl","url","urlPattern","test","window","open","setTimeout","blur","getParameterByName","name","match","RegExp","decodeURIComponent","getRwoTargets","urlToParse","location","href","rwoContextParam","rwoContext","decodeBase64UrlToObject","targets","Object","entries","forEach","organismId","context","rwoRecordId","push","recordId","_err","rwoTargetsParam","split","map","target","filter","getRwoRecordIdForOrganism","organismContext","undefined","updateSearchParams","currentParams","internalLink","isPreview","webpageId","paramKeys","internalLinkWebpageId","applicationId","internalLinkApplicationId","newSearchParams","URLSearchParams","toString","has","previewApplicationId","set","previewSelectedWebpageId","runtimeSelectedWebpageId","downloadFile","async","response","fetch","blob","blobUrl","URL","createObjectURL","a","document","createElement","download","click","revokeObjectURL","error","toast","message","type","navigateToExternalLink","link","linkProps","checkIsInternalLink","openExternalUrl","externalLink","navigateToLink","onInternalNavigation","checkIsDataDrivenLink","newWindow","delay","focus","console","linkType","addInternalParamsToCurrentLink","searchParams","search","getHref","parseDescendantContent","string","parsedValue","replace","JSON","parse","e","richTextDefaultValue"],"mappings":"ozEAQA,MAEaA,EAAsBC,IACjC,GAAKC,EAAWC,KAAKF,GAGrB,CACoBG,OAAOC,KAAKJ,EAAK,SAAU,wBAG3CK,WAAW,KACTF,OAAOG,QACN,IAEN,GAGUC,EAAqB,CAACC,EAAcR,KAC/C,IAAKA,GAAsB,iBAARA,EAAkB,MAAO,GAG5C,MAAMS,EAAQT,EAAIS,MAAM,IAAIC,OAAO,OAAOF,cAE1C,OAAOC,EAAQE,mBAAmBF,EAAM,IAAM,IAQnCG,EAAiBZ,IAC5B,MAAMa,EAAab,GAAOG,OAAOW,SAASC,KAGpCC,EAAkBT,EAAmB,aAAcM,GACzD,GAAIG,EACF,IACE,MAAMC,EAAaC,EAAwBF,GAK3C,GAAIC,EAAY,CACd,MAAME,EAA2D,GAcjE,OAXAC,OAAOC,QAAQJ,GAAYK,QAAQ,EAAEC,EAAYC,MAE7CA,GACmB,iBAAZA,GACP,gBAAiBA,GACjBA,EAAQC,aAERN,EAAQO,KAAK,CAAEH,aAAYI,SAAUH,EAAQC,gBAI1CN,CACR,CACF,CAAC,MAAOS,GAER,CAIH,MAAMC,EAAkBtB,EAAmB,aAAcM,GACzD,IAAKgB,EAAiB,MAAO,GAE7B,IAEE,OAAOA,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AAiC,CAC5C/C,EACAC,KAEA,IAAKD,EAAc,OAEnB,MAAMvC,EAAM,IAAI4D,IAAIzD,OAAOW,SAASC,MAC9B+B,EAAkBT,EAAmBrC,EAAIuF,aAAchD,EAAcC,GAI3E,OAFAxC,EAAIwF,OAAS1C,EAAgBE,WAEtBhD,EAAIgD,YAGAyC,EAAU,CAAChB,EAAuBjC,KAC7C,GAAKiC,EAEL,OAAOE,EAAoBF,GACvBa,EAA+Bb,GAAMlC,aAAcC,GACnDiC,GAAMI,cAGCa,EAA0BC,IACrC,MAAMC,EAAcD,GAAQE,QAAQ,MAAO,IAC3C,IACE,OAAOC,KAAKC,MAAMJ,EACnB,CAAC,MAAOK,GACP,IACE,OAAOF,KAAKC,MAAMH,EACnB,CAAC,MAAOxB,GACP,OAAO6B,CACR,CACF"}
|
|
1
|
+
{"version":3,"file":"utils.js","sources":["../../../../src/helpers/utils.ts"],"sourcesContent":[null],"names":["validateAndOpenUrl","url","urlPattern","test","window","open","setTimeout","blur","getParameterByName","name","match","RegExp","decodeURIComponent","getRwoTargets","urlToParse","location","href","rwoContextParam","rwoContext","decodeBase64UrlToObject","targets","Object","entries","forEach","organismId","context","rwoRecordId","push","recordId","_err","rwoTargetsParam","split","map","target","filter","getRwoRecordIdForOrganism","organismContext","undefined","updateSearchParams","currentParams","internalLink","isPreview","webpageId","paramKeys","internalLinkWebpageId","applicationId","internalLinkApplicationId","newSearchParams","URLSearchParams","toString","has","previewApplicationId","set","previewSelectedWebpageId","runtimeSelectedWebpageId","downloadFile","async","response","fetch","blob","blobUrl","URL","createObjectURL","a","document","createElement","download","click","revokeObjectURL","error","toast","message","type","navigateToExternalLink","link","linkProps","checkIsInternalLink","openExternalUrl","externalLink","navigateToLink","onInternalNavigation","checkIsDataDrivenLink","newWindow","delay","focus","console","linkType","addInternalParamsToCurrentLink","searchParams","search","getHref","parseDescendantContent","string","parsedValue","replace","JSON","parse","e","richTextDefaultValue","parseInternalLink","startsWith","origin","_e","getParamFromInternalL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