@equinor/fusion-framework-cli 5.1.15 → 5.1.16

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/CHANGELOG.md CHANGED
@@ -3,6 +3,10 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [5.1.16](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-cli@5.1.15...@equinor/fusion-framework-cli@5.1.16) (2023-04-14)
7
+
8
+ **Note:** Version bump only for package @equinor/fusion-framework-cli
9
+
6
10
  ## [5.1.15](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-cli@5.1.14...@equinor/fusion-framework-cli@5.1.15) (2023-04-14)
7
11
 
8
12
  ### Bug Fixes
@@ -3138,4 +3138,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
3138
3138
  </div>
3139
3139
  </div>
3140
3140
  <div class="person-list__toolbar">${this.renderCirclePlaceholder(!1,P1.small)}</div>`,error:()=>this.renderTextPlaceholder(!0,P1.Medium)})}
3141
- </div>`}}zl.styles=[rfe,yw];g([y({type:String,reflect:!0})],zl.prototype,"azureId",void 0);g([y({type:String,reflect:!0})],zl.prototype,"size",void 0);g([y({type:Boolean,reflect:!0})],zl.prototype,"clickable",void 0);const bw="fwc-person-list-item";let Ju=class extends zl{};Ju=g([Ve(bw)],Ju);const ife=Ju,nfe=r=>{const{resolve:e}=r,t=k.useRef(null);return k.useEffect(()=>{const i=t.current;if(i)return i.setResolver(e),()=>{i.removeResolver()}},[t,e]),G("fwc-person-provider",{ref:t,children:r.children})};_6(r=>z6({baseElement:{cursor:"pointer"},content:({width:e,height:t,color:i,backgroundColor:n})=>({maxWidth:"calc(100vw - 40px)",width:e||"auto",height:t||"auto",color:i||r.colors.text.static_icons__default.getVariable("color"),backgroundColor:n||r.colors.ui.background__default.getVariable("color"),zIndex:3,boxShadow:r.elevation.raised.getVariable("shadow"),borderRadius:"4px","&[data-popper-placement^=top] > $arrow":{bottom:0},"&[data-popper-placement^=top] > $arrow::before":{bottom:"-9px",left:0,transform:"rotate(45deg)",transformOrigin:"center right",boxShadow:"2px 2px 3px rgba(0, 0, 0, 0.2)",borderColor:"transparent initial initial transparent"},"&[data-popper-placement^=right] > $arrow":{left:0},"&[data-popper-placement^=right] > $arrow::before":{left:"-9px",transform:"rotate(45deg)",transformOrigin:"center bottom",boxShadow:"-2px 2px 3px rgba(0, 0, 0, 0.2)",borderColor:"transparent transparent initial initial"},"&[data-popper-placement^=bottom] > $arrow":{top:0},"&[data-popper-placement^=bottom] > $arrow::before":{top:"-9px",left:0,transform:"rotate(-45deg)",transformOrigin:"center right",boxShadow:"1px -1px 2px rgba(0, 0, 0, 0.08)",borderColor:"transparent initial initial transparent"},"&[data-popper-placement^=left] > $arrow":{right:0},"&[data-popper-placement^=left] > $arrow::before":{right:"-9px",transform:"rotate(-45deg)",transformOrigin:"center bottom",boxShadow:"2px 2px 3px rgba(0, 0, 0, 0.12)",borderColor:"initial initial transparent transparent"}}),arrow:({backgroundColor:e})=>({width:"16px",height:"16px",zIndex:"-1",color:e||r.colors.ui.background__default.getVariable("color"),"&:before":{content:'""',position:"absolute",borderStyle:"solid",borderWidth:"8px 8px 4px 4px"}}),titleContainer:{display:"flex",gap:"10px",alignItems:"center",padding:"12px 16px 0 16px"},title:{...r.typography.ui.accordion_header.style},close:{marginLeft:"auto",cursor:"pointer",color:r.colors.interactive.primary__resting.getVariable("color"),"&:hover":{color:r.colors.interactive.primary__hover.getVariable("color")}},divider:{height:"1px",backgroundColor:r.colors.ui.background__medium.getVariable("color"),marginTop:"8px"},contentContainer:{padding:"16px"}}),{name:"fusion-popover"});U1(ife,bw);const afe=r=>{const t=new f1({expire:18e4,queueOperator:"merge",key:n=>n,client:{fn:n=>r.json(`/persons/${n}?api-version=4.0`)}}),i=new f1({expire:18e4,queueOperator:"merge",key:n=>n,client:{fn:n=>r.json(`/persons/${n}/presence?api-version=1.0`)}});return{getDetails:n=>t.queryAsync(n).then(a=>a.value),getPresence:n=>i.queryAsync(n).then(a=>a.value)}},ofe=()=>{const[r,e]=k.useState(void 0),t=La();return k.useMemo(()=>{t.modules.serviceDiscovery.createClient("people").then(i=>afe(i)).then(e)},[t]),r},sfe=()=>{const r=ofe();return BD({resolveAppPath:e=>`/apps/${e}`}),G("div",{style:{fontFamily:"Equinor",height:"100%"},children:S1(nfe,{resolve:r,children:[G(hme,{}),G(LL,{})]})})},cfe=()=>{const{appKey:r}=ML();return r?G(UL,{appKey:r}):null},lfe=[{path:"/",element:G(sfe,{}),children:[{path:"apps/:appKey/*",element:G(cfe,{})},{path:"apps/test",element:G("p",{children:"Bookmark Test Route ok"})},{path:"test",element:G("p",{children:"ok"})}]}],hfe=()=>{const{navigation:r}=La().modules,[e]=k.useState(()=>r.createRouter(lfe));return G(DL,{router:e,fallbackElement:G("p",{children:"wooot"})})};document.body.style.height="100%";const xw=document.getElementById("root");xw.style.height="100%";O5.createRoot(xw).render(G(V1.StrictMode,{children:G(Uz,{theme:b,children:G(qP,{configure:UD,fallback:G(qz,{text:"Loading framework"}),children:G(hfe,{})})})}));
3141
+ </div>`}}zl.styles=[rfe,yw];g([y({type:String,reflect:!0})],zl.prototype,"azureId",void 0);g([y({type:String,reflect:!0})],zl.prototype,"size",void 0);g([y({type:Boolean,reflect:!0})],zl.prototype,"clickable",void 0);const bw="fwc-person-list-item";let Ju=class extends zl{};Ju=g([Ve(bw)],Ju);const ife=Ju,nfe=r=>{const{resolve:e}=r,t=k.useRef(null);return k.useEffect(()=>{const i=t.current;if(i)return i.setResolver(e),()=>{i.removeResolver()}},[t,e]),G("fwc-person-provider",{ref:t,children:r.children})};_6(r=>z6({baseElement:{cursor:"pointer"},content:({width:e,height:t,color:i,backgroundColor:n})=>({maxWidth:"calc(100vw - 40px)",width:e||"auto",height:t||"auto",color:i||r.colors.text.static_icons__default.getVariable("color"),backgroundColor:n||r.colors.ui.background__default.getVariable("color"),zIndex:3,boxShadow:r.elevation.raised.getVariable("shadow"),borderRadius:"4px","&[data-popper-placement^=top] > $arrow":{bottom:0},"&[data-popper-placement^=top] > $arrow::before":{bottom:"-9px",left:0,transform:"rotate(45deg)",transformOrigin:"center right",boxShadow:"2px 2px 3px rgba(0, 0, 0, 0.2)",borderColor:"transparent initial initial transparent"},"&[data-popper-placement^=right] > $arrow":{left:0},"&[data-popper-placement^=right] > $arrow::before":{left:"-9px",transform:"rotate(45deg)",transformOrigin:"center bottom",boxShadow:"-2px 2px 3px rgba(0, 0, 0, 0.2)",borderColor:"transparent transparent initial initial"},"&[data-popper-placement^=bottom] > $arrow":{top:0},"&[data-popper-placement^=bottom] > $arrow::before":{top:"-9px",left:0,transform:"rotate(-45deg)",transformOrigin:"center right",boxShadow:"1px -1px 2px rgba(0, 0, 0, 0.08)",borderColor:"transparent initial initial transparent"},"&[data-popper-placement^=left] > $arrow":{right:0},"&[data-popper-placement^=left] > $arrow::before":{right:"-9px",transform:"rotate(-45deg)",transformOrigin:"center bottom",boxShadow:"2px 2px 3px rgba(0, 0, 0, 0.12)",borderColor:"initial initial transparent transparent"}}),arrow:({backgroundColor:e})=>({width:"16px",height:"16px",zIndex:"-1",color:e||r.colors.ui.background__default.getVariable("color"),"&:before":{content:'""',position:"absolute",borderStyle:"solid",borderWidth:"8px 8px 4px 4px"}}),titleContainer:{display:"flex",gap:"10px",alignItems:"center",padding:"12px 16px 0 16px"},title:{...r.typography.ui.accordion_header.style},close:{marginLeft:"auto",cursor:"pointer",color:r.colors.interactive.primary__resting.getVariable("color"),"&:hover":{color:r.colors.interactive.primary__hover.getVariable("color")}},divider:{height:"1px",backgroundColor:r.colors.ui.background__medium.getVariable("color"),marginTop:"8px"},contentContainer:{padding:"16px"}}),{name:"fusion-popover"});U1(ife,bw);const afe=r=>{const t=new f1({expire:18e4,queueOperator:"merge",key:n=>n,client:{fn:n=>r.json(`/persons/${n}?api-version=4.0`)}}),i=new f1({expire:18e4,queueOperator:"merge",key:n=>n,client:{fn:n=>r.json(`/persons/${n}/presence?api-version=1.0`)}});return{getDetails:n=>t.queryAsync(n).then(a=>a.value),getPresence:n=>i.queryAsync(n).then(a=>a.value)}},ofe=()=>{const[r,e]=k.useState(void 0),t=La();return k.useMemo(()=>{t.modules.serviceDiscovery.createClient("people").then(i=>afe(i)).then(e)},[t]),r},sfe=()=>{const r=ofe();return BD({resolveAppPath:e=>`/apps/${e}`}),G("div",{style:{fontFamily:"Equinor",height:"100%"},children:S1(nfe,{resolve:r,children:[G(hme,{}),G(LL,{})]})})},cfe=()=>{const{appKey:r}=ML();return r?G(UL,{appKey:r}):null},lfe=[{path:"/",element:G(sfe,{}),children:[{path:"apps/:appKey/*",element:G(cfe,{})},{path:"apps/test",element:G("p",{children:"Bookmark Test Route ok"})},{path:"test",element:G("p",{children:"ok"})}]}],hfe=()=>{const{navigation:r}=La().modules,[e]=k.useState(()=>r.createRouter(lfe));return G(DL,{router:e,fallbackElement:G("p",{children:"wooot"})})};document.body.style.height="100vh";const xw=document.getElementById("root");xw.style.height="100%";O5.createRoot(xw).render(G(V1.StrictMode,{children:G(Uz,{theme:b,children:G(qP,{configure:UD,fallback:G(qz,{text:"Loading framework"}),children:G(hfe,{})})})}));
@@ -20,7 +20,7 @@
20
20
  };
21
21
  </script>
22
22
 
23
- <script type="module" crossorigin src="/assets/index-8c4a2a2d.js"></script>
23
+ <script type="module" crossorigin src="/assets/index-9e6d439c.js"></script>
24
24
 
25
25
  <body style="height: 100vh;">
26
26
  <div id="root" style="height: 100%;"></div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/fusion-framework-cli",
3
- "version": "5.1.15",
3
+ "version": "5.1.16",
4
4
  "keywords": [
5
5
  "Fusion",
6
6
  "Fusion Framework",
@@ -60,5 +60,5 @@
60
60
  "react-router-dom": "^6.9.0",
61
61
  "typescript": "^4.9.3"
62
62
  },
63
- "gitHead": "155e61b75bc5505a20b1192064a88ee460da8521"
63
+ "gitHead": "c615ad381bdf720b4f2cce373271738bb7c63c4b"
64
64
  }