@buildocsdev/sdk 1.1.0 → 1.1.2
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 +14 -10
- package/dist/{chunk-OPK746DI.js → chunk-4PJTJWXS.js} +1 -1
- package/dist/chunk-L5YBNMKF.js +2 -0
- package/dist/{chunk-X2F7ACCC.js → chunk-XHMLA3QO.js} +1 -1
- package/dist/{chunk-LQXFE73I.js → chunk-XMBESJQD.js} +2 -2
- package/dist/{fileviewer-CW5UNGEV.js → fileviewer-FUXJ72OD.js} +1 -1
- package/dist/form.js +1 -1
- package/dist/formeditor-EHIP642X.js +1 -0
- package/dist/formeditor.js +1 -1
- package/dist/index.js +2 -2
- package/dist/metafile-esm.json +1 -1
- package/package.json +325 -325
- package/dist/chunk-NOHQQSA7.js +0 -2
- package/dist/formeditor-UE4HC4V2.js +0 -1
package/dist/chunk-NOHQQSA7.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import {b}from'./chunk-LBMVBVXW.js';import w from'@mui/material/Box';import y from'@mui/material/Modal';import f,{memo}from'react';import {jsx,Fragment}from'react/jsx-runtime';var M=memo(function(o){let{viewPort:l}=b(),t={};t.position="absolute",t.bgcolor="background.paper",t.border="1px solid #fff",t.boxShadow=24,l.isMobileDevice?(t.width=l.width,t.height=l.height):(t.borderRadius="4px",o.windowMode==="fullWindow"?(t.top="0.3%",t.left="0.3%",t.right="0.3%",t.bottom="0.3%"):o.windowMode==="halfWindow"?(t.top="10%",t.left="10%",t.right="10%",t.bottom="10%"):(t.top="50%",t.left="50%",t.transform="translate(-50%, -50%)"));let[E,T]=f.useState(true),c=(n,a,i,r,s)=>{T(false),o.onCloseModal&&o.onCloseModal(n,i,r,s);},h=o.component;return o.component!==void 0&&(h=f.cloneElement(o.component,{modalCloseFn:(n,a,i,r,s)=>c(n,a,i,r,s)})),jsx(Fragment,{children:jsx(y,{disableEnforceFocus:true,disableScrollLock:true,open:E,onClose:(n,a)=>{if(a!=="backdropClick")return c(null)},"aria-labelledby":"parent-modal-title","aria-describedby":"parent-modal-description",children:jsx(w,{sx:{...t},children:h})})})});var e=class e{static get hostname(){return window.location.hostname}static getTenantId(){let o=this.hostname.split(".");return o.length>2?o.slice(0,-2).join("."):"root"}static getTenantForDevId(){let o=this.hostname.split(".");return o.length>1?o.slice(0,-1).join("."):"root"}static getValidTenantId(){let o=this.hostname.split(".");return o.length===1&&o[0]==="localhost"?"root":o[o.length-1]==="lc"&&o.length>=3?o.slice(0,-2).join("."):o[o.length-1]==="lc"&&o.length===2?"root":e.getTenantId()}static get AXIOS_API_ADDR(){return process.env.REACT_APP_NODE_ENV==="development"?`https://${window.location.hostname}:5001/api/`:`https://${window.location.hostname}/api/`}};e.AXIOS_SEND_CREDENTIALS=true,e.SSO_SUBDOMAIN="app",e.ROUTE_LOGIN_PAGE="/login",e.ROUTE_REGISTRATION_PAGE="/registration",e.ROUTE_ACTIVATION_PAGE="/activate",e.SCREEN_WIDTH_TABLET=767,e.APP_VERSION="",e.API_VERSION="v1",e.TOASTER_AUTOCLOSE=5e3,e.MAX_DOWNLOAD_NOCHUNK_FILESIZE=10*1024*1024;var u=e;
|
|
2
|
-
export{M as a,u as b};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{a as Formeditor,b as widgetInitialStyle}from'./chunk-X2F7ACCC.js';import'./chunk-KMT3KKZP.js';import'./chunk-LQXFE73I.js';import'./chunk-OPK746DI.js';import'./chunk-FRAOYRZD.js';import'./chunk-NOHQQSA7.js';import'./chunk-XUX4HB5C.js';import'./chunk-U4T4ACDE.js';import'./chunk-LBMVBVXW.js';import'./chunk-UB4UI4WT.js';import'./chunk-TO4AS5KE.js';import'./chunk-SDIZEEZP.js';import'./chunk-EK7ODJWE.js';
|