Skip to content

Commit

Permalink
chore: builds examples
Browse files Browse the repository at this point in the history
  • Loading branch information
HoyosJuan committed Jul 31, 2024
1 parent 4ef9848 commit d74e5e8
Show file tree
Hide file tree
Showing 51 changed files with 6,993 additions and 6,995 deletions.
2 changes: 1 addition & 1 deletion examples/Button/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<script type="module" crossorigin src="../assets/button.js"></script>
<link rel="modulepreload" crossorigin href="../assets/modulepreload-polyfill-B5Qt9EMX.js">
<link rel="modulepreload" crossorigin href="../assets/state--sg4lz7-.js">
<link rel="modulepreload" crossorigin href="../assets/index-Deg_IZaY.js">
<link rel="modulepreload" crossorigin href="../assets/index-Ce-7a4Bu.js">
</head>

<body>
Expand Down
2 changes: 1 addition & 1 deletion examples/Checkbox/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<script type="module" crossorigin src="../assets/checkbox.js"></script>
<link rel="modulepreload" crossorigin href="../assets/modulepreload-polyfill-B5Qt9EMX.js">
<link rel="modulepreload" crossorigin href="../assets/state--sg4lz7-.js">
<link rel="modulepreload" crossorigin href="../assets/index-Deg_IZaY.js">
<link rel="modulepreload" crossorigin href="../assets/index-Ce-7a4Bu.js">
</head>

<body>
Expand Down
6 changes: 3 additions & 3 deletions examples/ClassificationsTree/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
</style>
<script type="module" crossorigin src="../assets/classificationsTree.js"></script>
<link rel="modulepreload" crossorigin href="../assets/modulepreload-polyfill-B5Qt9EMX.js">
<link rel="modulepreload" crossorigin href="../assets/template-DrdcYDlt.js">
<link rel="modulepreload" crossorigin href="../assets/index-SntKMQMp.js">
<link rel="modulepreload" crossorigin href="../assets/index-C_xG4cnO.js">
<link rel="modulepreload" crossorigin href="../assets/template-D_pw7qg9.js">
<link rel="modulepreload" crossorigin href="../assets/index-Brv7ZOZv.js">
<link rel="modulepreload" crossorigin href="../assets/index-B3vPEHmF.js">
</head>

<body>
Expand Down
6 changes: 5 additions & 1 deletion examples/ColorInput/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,15 @@
body {
background-color: var(--bim-ui_bg-base);
}

bim-color-input {
width: 15rem;
}
</style>
<script type="module" crossorigin src="../assets/colorInput.js"></script>
<link rel="modulepreload" crossorigin href="../assets/modulepreload-polyfill-B5Qt9EMX.js">
<link rel="modulepreload" crossorigin href="../assets/state--sg4lz7-.js">
<link rel="modulepreload" crossorigin href="../assets/index-Deg_IZaY.js">
<link rel="modulepreload" crossorigin href="../assets/index-Ce-7a4Bu.js">
</head>

<body>
Expand Down
2 changes: 1 addition & 1 deletion examples/Component/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<script type="module" crossorigin src="../assets/component.js"></script>
<link rel="modulepreload" crossorigin href="../assets/modulepreload-polyfill-B5Qt9EMX.js">
<link rel="modulepreload" crossorigin href="../assets/state--sg4lz7-.js">
<link rel="modulepreload" crossorigin href="../assets/index-Deg_IZaY.js">
<link rel="modulepreload" crossorigin href="../assets/index-Ce-7a4Bu.js">
</head>

<body>
Expand Down
2 changes: 1 addition & 1 deletion examples/Dropdown/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<script type="module" crossorigin src="../assets/dropdown.js"></script>
<link rel="modulepreload" crossorigin href="../assets/modulepreload-polyfill-B5Qt9EMX.js">
<link rel="modulepreload" crossorigin href="../assets/state--sg4lz7-.js">
<link rel="modulepreload" crossorigin href="../assets/index-Deg_IZaY.js">
<link rel="modulepreload" crossorigin href="../assets/index-Ce-7a4Bu.js">
</head>

<body>
Expand Down
4 changes: 2 additions & 2 deletions examples/ElementProperties/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
</style>
<script type="module" crossorigin src="../assets/elementProperties.js"></script>
<link rel="modulepreload" crossorigin href="../assets/modulepreload-polyfill-B5Qt9EMX.js">
<link rel="modulepreload" crossorigin href="../assets/template-DrdcYDlt.js">
<link rel="modulepreload" crossorigin href="../assets/index-C_xG4cnO.js">
<link rel="modulepreload" crossorigin href="../assets/template-D_pw7qg9.js">
<link rel="modulepreload" crossorigin href="../assets/index-B3vPEHmF.js">
</head>

<body>
Expand Down
4 changes: 2 additions & 2 deletions examples/EntityAttributes/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
</style>
<script type="module" crossorigin src="../assets/entityAttributes.js"></script>
<link rel="modulepreload" crossorigin href="../assets/modulepreload-polyfill-B5Qt9EMX.js">
<link rel="modulepreload" crossorigin href="../assets/template-DrdcYDlt.js">
<link rel="modulepreload" crossorigin href="../assets/index-C_xG4cnO.js">
<link rel="modulepreload" crossorigin href="../assets/template-D_pw7qg9.js">
<link rel="modulepreload" crossorigin href="../assets/index-B3vPEHmF.js">
</head>

<body>
Expand Down
2 changes: 1 addition & 1 deletion examples/Grid/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<script type="module" crossorigin src="../assets/grid.js"></script>
<link rel="modulepreload" crossorigin href="../assets/modulepreload-polyfill-B5Qt9EMX.js">
<link rel="modulepreload" crossorigin href="../assets/state--sg4lz7-.js">
<link rel="modulepreload" crossorigin href="../assets/index-Deg_IZaY.js">
<link rel="modulepreload" crossorigin href="../assets/index-Ce-7a4Bu.js">
</head>

<body>
Expand Down
2 changes: 1 addition & 1 deletion examples/Label/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<script type="module" crossorigin src="../assets/label.js"></script>
<link rel="modulepreload" crossorigin href="../assets/modulepreload-polyfill-B5Qt9EMX.js">
<link rel="modulepreload" crossorigin href="../assets/state--sg4lz7-.js">
<link rel="modulepreload" crossorigin href="../assets/index-Deg_IZaY.js">
<link rel="modulepreload" crossorigin href="../assets/index-Ce-7a4Bu.js">
</head>

<body>
Expand Down
6 changes: 3 additions & 3 deletions examples/ModelsList/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
</style>
<script type="module" crossorigin src="../assets/modelsList.js"></script>
<link rel="modulepreload" crossorigin href="../assets/modulepreload-polyfill-B5Qt9EMX.js">
<link rel="modulepreload" crossorigin href="../assets/template-DrdcYDlt.js">
<link rel="modulepreload" crossorigin href="../assets/index-SntKMQMp.js">
<link rel="modulepreload" crossorigin href="../assets/index-C_xG4cnO.js">
<link rel="modulepreload" crossorigin href="../assets/template-D_pw7qg9.js">
<link rel="modulepreload" crossorigin href="../assets/index-Brv7ZOZv.js">
<link rel="modulepreload" crossorigin href="../assets/index-B3vPEHmF.js">
</head>

<body>
Expand Down
6 changes: 5 additions & 1 deletion examples/NumberInput/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,15 @@
body {
background-color: var(--bim-ui_bg-base);
}

bim-number-input {
width: 15rem;
}
</style>
<script type="module" crossorigin src="../assets/numberInput.js"></script>
<link rel="modulepreload" crossorigin href="../assets/modulepreload-polyfill-B5Qt9EMX.js">
<link rel="modulepreload" crossorigin href="../assets/state--sg4lz7-.js">
<link rel="modulepreload" crossorigin href="../assets/index-Deg_IZaY.js">
<link rel="modulepreload" crossorigin href="../assets/index-Ce-7a4Bu.js">
</head>

<body>
Expand Down
6 changes: 5 additions & 1 deletion examples/Panel/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<script type="module" crossorigin src="../assets/panel.js"></script>
<link rel="modulepreload" crossorigin href="../assets/modulepreload-polyfill-B5Qt9EMX.js">
<link rel="modulepreload" crossorigin href="../assets/state--sg4lz7-.js">
<link rel="modulepreload" crossorigin href="../assets/index-Deg_IZaY.js">
<link rel="modulepreload" crossorigin href="../assets/index-Ce-7a4Bu.js">
</head>

<body>
Expand All @@ -53,6 +53,10 @@
<div id="panels">
<bim-panel name="panelA" label="Panel A" icon="fluent:puzzle-cube-piece-20-filled">
<!-- bim-panel usually have bim-panel-section as children, but it can be any other form of section you want -->
<bim-panel-section label="asdasd">
<bim-number-input></bim-number-input>
<bim-dropdown></bim-dropdow>
</bim-panel-section>
<div class="section">
<div style="display: flex; gap: 0.375rem">
<bim-number-input vertical name="x" label="Length" pref="X" suffix="m"></bim-number-input>
Expand Down
6 changes: 3 additions & 3 deletions examples/RelationsTree/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
</style>
<script type="module" crossorigin src="../assets/relationsTree.js"></script>
<link rel="modulepreload" crossorigin href="../assets/modulepreload-polyfill-B5Qt9EMX.js">
<link rel="modulepreload" crossorigin href="../assets/template-DrdcYDlt.js">
<link rel="modulepreload" crossorigin href="../assets/index-SntKMQMp.js">
<link rel="modulepreload" crossorigin href="../assets/index-C_xG4cnO.js">
<link rel="modulepreload" crossorigin href="../assets/template-D_pw7qg9.js">
<link rel="modulepreload" crossorigin href="../assets/index-Brv7ZOZv.js">
<link rel="modulepreload" crossorigin href="../assets/index-B3vPEHmF.js">
</head>

<body>
Expand Down
2 changes: 1 addition & 1 deletion examples/Selector/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<script type="module" crossorigin src="../assets/selector.js"></script>
<link rel="modulepreload" crossorigin href="../assets/modulepreload-polyfill-B5Qt9EMX.js">
<link rel="modulepreload" crossorigin href="../assets/state--sg4lz7-.js">
<link rel="modulepreload" crossorigin href="../assets/index-Deg_IZaY.js">
<link rel="modulepreload" crossorigin href="../assets/index-Ce-7a4Bu.js">
</head>

<body>
Expand Down
2 changes: 1 addition & 1 deletion examples/Table/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<script type="module" crossorigin src="../assets/table.js"></script>
<link rel="modulepreload" crossorigin href="../assets/modulepreload-polyfill-B5Qt9EMX.js">
<link rel="modulepreload" crossorigin href="../assets/state--sg4lz7-.js">
<link rel="modulepreload" crossorigin href="../assets/index-Deg_IZaY.js">
<link rel="modulepreload" crossorigin href="../assets/index-Ce-7a4Bu.js">
</head>

<body>
Expand Down
2 changes: 1 addition & 1 deletion examples/Tabs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<script type="module" crossorigin src="../assets/tabs.js"></script>
<link rel="modulepreload" crossorigin href="../assets/modulepreload-polyfill-B5Qt9EMX.js">
<link rel="modulepreload" crossorigin href="../assets/state--sg4lz7-.js">
<link rel="modulepreload" crossorigin href="../assets/index-Deg_IZaY.js">
<link rel="modulepreload" crossorigin href="../assets/index-Ce-7a4Bu.js">
</head>

<body>
Expand Down
2 changes: 1 addition & 1 deletion examples/TextInput/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<script type="module" crossorigin src="../assets/textInput.js"></script>
<link rel="modulepreload" crossorigin href="../assets/modulepreload-polyfill-B5Qt9EMX.js">
<link rel="modulepreload" crossorigin href="../assets/state--sg4lz7-.js">
<link rel="modulepreload" crossorigin href="../assets/index-Deg_IZaY.js">
<link rel="modulepreload" crossorigin href="../assets/index-Ce-7a4Bu.js">
</head>

<body>
Expand Down
2 changes: 1 addition & 1 deletion examples/Toolbar/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<script type="module" crossorigin src="../assets/toolbar.js"></script>
<link rel="modulepreload" crossorigin href="../assets/modulepreload-polyfill-B5Qt9EMX.js">
<link rel="modulepreload" crossorigin href="../assets/state--sg4lz7-.js">
<link rel="modulepreload" crossorigin href="../assets/index-Deg_IZaY.js">
<link rel="modulepreload" crossorigin href="../assets/index-Ce-7a4Bu.js">
</head>

<body>
Expand Down
4 changes: 2 additions & 2 deletions examples/ViewCube/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
</style>
<script type="module" crossorigin src="../assets/viewCube.js"></script>
<link rel="modulepreload" crossorigin href="../assets/modulepreload-polyfill-B5Qt9EMX.js">
<link rel="modulepreload" crossorigin href="../assets/template-DrdcYDlt.js">
<link rel="modulepreload" crossorigin href="../assets/template-D_pw7qg9.js">
<link rel="modulepreload" crossorigin href="../assets/state--sg4lz7-.js">
<link rel="modulepreload" crossorigin href="../assets/index-BY2lmuYb.js">
<link rel="modulepreload" crossorigin href="../assets/index-DboE9FO4.js">
</head>

<body>
Expand Down
4 changes: 2 additions & 2 deletions examples/World2D/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
</style>
<script type="module" crossorigin src="../assets/world2D.js"></script>
<link rel="modulepreload" crossorigin href="../assets/modulepreload-polyfill-B5Qt9EMX.js">
<link rel="modulepreload" crossorigin href="../assets/template-DrdcYDlt.js">
<link rel="modulepreload" crossorigin href="../assets/template-D_pw7qg9.js">
<link rel="modulepreload" crossorigin href="../assets/state--sg4lz7-.js">
<link rel="modulepreload" crossorigin href="../assets/index-BY2lmuYb.js">
<link rel="modulepreload" crossorigin href="../assets/index-DboE9FO4.js">
</head>

<body>
Expand Down
4 changes: 2 additions & 2 deletions examples/WorldsConfiguration/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
</style>
<script type="module" crossorigin src="../assets/worldsConfiguration.js"></script>
<link rel="modulepreload" crossorigin href="../assets/modulepreload-polyfill-B5Qt9EMX.js">
<link rel="modulepreload" crossorigin href="../assets/template-DrdcYDlt.js">
<link rel="modulepreload" crossorigin href="../assets/index-C_xG4cnO.js">
<link rel="modulepreload" crossorigin href="../assets/template-D_pw7qg9.js">
<link rel="modulepreload" crossorigin href="../assets/index-B3vPEHmF.js">
</head>

<body>
Expand Down
2 changes: 1 addition & 1 deletion examples/assets/button.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/assets/checkbox.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/assets/classificationsTree.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import"./modulepreload-polyfill-B5Qt9EMX.js";import{m as p,p as d,C as l,s as f,i as b,H as w,d as g,R as u,h as y,A as C,t as T,g as v}from"./template-DrdcYDlt.js";import{b as E}from"./index-SntKMQMp.js";import{t as L}from"./index-C_xG4cnO.js";p.init();const e=new d,s=document.createElement("bim-viewport");s.name="viewer";const h=e.get(l),n=h.create(),o=new f(e);o.setup();n.scene=o;const c=new b(e,s);n.renderer=c;const r=new w(e);n.camera=r;s.addEventListener("resize",()=>{c.resize(),r.updateAspect()});const A=e.get(g);A.create(n);e.init();const I=e.get(u);await I.setup();const m=e.get(y);m.onFragmentsLoaded.add(t=>{n.scene&&n.scene.three.add(t)});const[z,F]=L.classificationTree({components:e,classifications:{}}),i=e.get(C);m.onFragmentsLoaded.add(async t=>{i.byEntity(t),await i.byPredefinedType(t),F({classifications:{Entities:["entities"],"Predefined Types":["predefinedTypes"]}})});const H=T.create(()=>{const[t]=E.loadIfc({components:e});return v`
import"./modulepreload-polyfill-B5Qt9EMX.js";import{m as p,p as d,C as l,s as f,i as b,H as w,d as g,R as u,h as y,A as C,t as T,g as v}from"./template-D_pw7qg9.js";import{b as E}from"./index-Brv7ZOZv.js";import{t as L}from"./index-B3vPEHmF.js";p.init();const e=new d,s=document.createElement("bim-viewport");s.name="viewer";const h=e.get(l),n=h.create(),o=new f(e);o.setup();n.scene=o;const c=new b(e,s);n.renderer=c;const r=new w(e);n.camera=r;s.addEventListener("resize",()=>{c.resize(),r.updateAspect()});const A=e.get(g);A.create(n);e.init();const I=e.get(u);await I.setup();const m=e.get(y);m.onFragmentsLoaded.add(t=>{n.scene&&n.scene.three.add(t)});const[z,F]=L.classificationTree({components:e,classifications:{}}),i=e.get(C);m.onFragmentsLoaded.add(async t=>{i.byEntity(t),await i.byPredefinedType(t),F({classifications:{Entities:["entities"],"Predefined Types":["predefinedTypes"]}})});const H=T.create(()=>{const[t]=E.loadIfc({components:e});return v`
<bim-panel label="Classifications Tree">
<bim-panel-section label="Importing">
${t}
Expand Down
2 changes: 1 addition & 1 deletion examples/assets/colorInput.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/assets/component.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import"./modulepreload-polyfill-B5Qt9EMX.js";import{M as c,C as t}from"./index-Deg_IZaY.js";import{x as n}from"./state--sg4lz7-.js";c.init();const b=t.create(()=>n`
import"./modulepreload-polyfill-B5Qt9EMX.js";import{M as c,C as t}from"./index-Ce-7a4Bu.js";import{x as n}from"./state--sg4lz7-.js";c.init();const b=t.create(()=>n`
<bim-panel-section label="Stateless Panel Section">
<bim-color-input label="Color"></bim-color-input>
</bim-panel-section>
Expand Down
2 changes: 1 addition & 1 deletion examples/assets/dropdown.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/assets/elementProperties.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d74e5e8

Please sign in to comment.