@digital-realty/ui-mfe-dcim 1.0.0-alpha.1 → 11.0.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/assets/app-DiHLHJlU.js +1027 -0
- package/dist/index.html +27 -0
- package/dist/ui-mfe-dcim.js +1 -1
- package/dist/ui-mfe-html-dcim.js +1 -1
- package/dist/ui-mfe-light-dcim.js +1 -1
- package/package.json +7 -8
- package/dist/assets/app-BC3SXvdh.js +0 -1099
package/dist/index.html
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<link rel="icon" type="image/png" href="/favicon.png" />
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
|
+
|
|
8
|
+
<meta name="theme-color" content="#1456E0" />
|
|
9
|
+
|
|
10
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="anonymous" />
|
|
11
|
+
|
|
12
|
+
<link
|
|
13
|
+
rel="stylesheet"
|
|
14
|
+
href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700;800&family=Red+Hat+Display:wght@400;500;700;900&family=Nunito:wght@400&display=swap"
|
|
15
|
+
/>
|
|
16
|
+
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons|Material+Icons+Outlined" />
|
|
17
|
+
|
|
18
|
+
<title>DCIM - Global Portal</title>
|
|
19
|
+
<script type="module" crossorigin src="/ui-mfe-html-dcim.js"></script>
|
|
20
|
+
<link rel="modulepreload" crossorigin href="/assets/app-DiHLHJlU.js">
|
|
21
|
+
<link rel="modulepreload" crossorigin href="/ui-mfe-light-dcim.js">
|
|
22
|
+
<link rel="stylesheet" crossorigin href="/assets/app-Bw0B6N5L.css">
|
|
23
|
+
</head>
|
|
24
|
+
<body>
|
|
25
|
+
<div id="root"></div>
|
|
26
|
+
</body>
|
|
27
|
+
</html>
|
package/dist/ui-mfe-dcim.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c,u as d,S as l,j as e,P as u,T as m,
|
|
1
|
+
import{c,u as d,S as l,j as e,P as u,T as m,C as h,E as f,Q as p,q as x,D as j,R as b,L as C,b as y,a as _,r as v}from"./assets/app-DiHLHJlU.js";import S,{Suspense as E}from"react";import a from"react-dom";import"lit";import"lit/directives/if-defined.js";import"@digital-realty/ix-toast/ix-message-toast.js";const s=document.createElement("div"),P=c({key:"dcim-charts",container:s}),R=({sessionToken:o,baseUrl:r,parent:t})=>{return n(),d(l.X_AUTH,{defaultValue:JSON.stringify({access_token:o})}),e.jsx(S.StrictMode,{children:e.jsx(u,{value:t||document.body,children:e.jsx(m,{customTheme:y(t),children:e.jsx(h,{value:P,children:e.jsx(f,{children:e.jsx(p,{client:x,children:e.jsx(j,{children:e.jsx(E,{fallback:e.jsx(C,{}),children:e.jsx(b,{router:i()})})})})})})})})});function n(){t?t.insertBefore(s,t.firstChild):document.body.appendChild(s)}function i(){return _(v,{basename:r})}};class T extends HTMLElement{constructor(){super(),this._root=this.attachShadow({mode:"open"})}connectedCallback(){const r=this.getAttribute("baseUrl");a.render(e.jsx(R,{baseUrl:r,parent:this._root}),this._root)}disconnectedCallback(){a.unmountComponentAtNode(this._root)}}customElements.define("ui-mfe-charts",T);
|
package/dist/ui-mfe-html-dcim.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{j as f}from"./assets/app-DiHLHJlU.js";import a from"react-dom";import d from"./ui-mfe-light-dcim.js";import"react";import"lit";import"lit/directives/if-defined.js";import"@digital-realty/ix-toast/ix-message-toast.js";(function(){const o=document.createElement("link").relList;if(o&&o.supports&&o.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))n(e);new MutationObserver(e=>{for(const t of e)if(t.type==="childList")for(const s of t.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&n(s)}).observe(document,{childList:!0,subtree:!0});function l(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?t.credentials="include":e.crossOrigin==="anonymous"?t.credentials="omit":t.credentials="same-origin",t}function n(e){if(e.ep)return;e.ep=!0;const t=l(e);fetch(e.href,t)}})();var i={},c=a;i.createRoot=c.createRoot,i.hydrateRoot=c.hydrateRoot;const r=document.getElementById("root");var u;const m=((u=r==null?void 0:r.getAttribute("sessiontoken"))==null?void 0:u.valueOf())||"",p=(r==null?void 0:r.getAttribute("baseUrl"))||"";i.createRoot(r).render(f.jsx(d,{sessionToken:m,baseUrl:p}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{u as o,S as i,j as e,T as u,
|
|
1
|
+
import{u as o,S as i,j as e,T as u,E as n,Q as l,q as d,D as c,R as m,L as p,b as x,a as j,r as h}from"./assets/app-DiHLHJlU.js";import f,{Suspense as S}from"react";import"react-dom";import"lit";import"lit/directives/if-defined.js";import"@digital-realty/ix-toast/ix-message-toast.js";const P=({sessionToken:r,baseUrl:s,parent:t})=>{return o(i.X_AUTH,{defaultValue:JSON.stringify({access_token:r})}),e.jsx(f.StrictMode,{children:e.jsx(u,{customTheme:x(t),children:e.jsx(n,{children:e.jsx(l,{client:d,children:e.jsx(c,{children:e.jsx(S,{fallback:e.jsx(p,{}),children:e.jsx(m,{router:a()})})})})})})});function a(){return j(h,{basename:s})}};export{P as default};
|
package/package.json
CHANGED
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digital-realty/ui-mfe-dcim",
|
|
3
|
-
"
|
|
4
|
-
"author": "@digital-realty",
|
|
5
|
-
"version": "1.0.0-alpha.1",
|
|
3
|
+
"version": "11.0.0",
|
|
6
4
|
"type": "module",
|
|
7
|
-
"publishConfig": {
|
|
8
|
-
"access": "public"
|
|
9
|
-
},
|
|
10
5
|
"exports": {
|
|
11
6
|
"./ui-mfe-dcim.js": "./dist/ui-mfe-dcim.js",
|
|
7
|
+
"./ui-mfe-light-dcim.js": "./dist/ui-mfe-light-dcim.js",
|
|
12
8
|
"./versions.js": "./dist/versions.js"
|
|
13
9
|
},
|
|
10
|
+
"publishConfig": {
|
|
11
|
+
"access": "public"
|
|
12
|
+
},
|
|
14
13
|
"files": [
|
|
15
|
-
"dist"
|
|
16
|
-
"!dist/index.html"
|
|
14
|
+
"dist"
|
|
17
15
|
],
|
|
18
16
|
"workspaces": [
|
|
19
17
|
"../lib-components/packages/*"
|
|
@@ -21,6 +19,7 @@
|
|
|
21
19
|
"scripts": {
|
|
22
20
|
"build": "npm run generate-config && tsc && vite build && npx ix-write-versions write-versions",
|
|
23
21
|
"build:workspace": "npm run generate-config && npm run build",
|
|
22
|
+
"prepack": "npm run build",
|
|
24
23
|
"clean": "rimraf node_modules dist",
|
|
25
24
|
"dev": "vite",
|
|
26
25
|
"format": "prettier --write .",
|