Skip to content

Commit

Permalink
Merge pull request #1087 from Esri/build-issue
Browse files Browse the repository at this point in the history
build and demo updates
  • Loading branch information
jmhauck authored Jan 8, 2025
2 parents 99fbb31 + 55039b8 commit 48c611c
Show file tree
Hide file tree
Showing 41 changed files with 86 additions and 141 deletions.
6 changes: 2 additions & 4 deletions src/demos/browse-solutions.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
<script type="module" src="../vendor/calcite-components/calcite.esm.js"></script>
<link rel="stylesheet" type="text/css" href="../vendor/calcite-components/calcite.css" />

<script type="module" src="../build/solutions-components.esm.js"></script>
<link rel="stylesheet" href="../build/solutions-components.css" type="text/css"/>
<script type="module" src="../solutions-components.esm.js"></script>
<link rel="stylesheet" href="../solutions-components.css" type="text/css"/>
<style>
.full-height {
height: 100%;
Expand Down Expand Up @@ -86,8 +86,6 @@
<script src="https://unpkg.com/@esri/[email protected]/dist/umd/request.umd.js"></script>
<script src="https://unpkg.com/@esri/[email protected]/dist/umd/auth.umd.min.js"></script>
<script src="https://unpkg.com/@esri/[email protected]/dist/umd/portal.umd.min.js"></script>
<script type="module" src="https://js.arcgis.com/calcite-components/2.0.0/calcite.esm.js"></script>
<script type="module" src="../solutions-components.esm.js"></script>
</head>

<body>
Expand Down
4 changes: 2 additions & 2 deletions src/demos/buffer-tools.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@
<script type="module" src="../vendor/calcite-components/calcite.esm.js"></script>
<link rel="stylesheet" type="text/css" href="../vendor/calcite-components/calcite.css" />

<script type="module" src="../build/solutions-components.esm.js"></script>
<link rel="stylesheet" href="../build/solutions-components.css" type="text/css"/>
<script type="module" src="../solutions-components.esm.js"></script>
<link rel="stylesheet" href="../solutions-components.css" type="text/css"/>

<script>
require(["esri/Map", "esri/views/MapView"], (
Expand Down
4 changes: 2 additions & 2 deletions src/demos/card-manager.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
<script type="module" src="../vendor/calcite-components/calcite.esm.js"></script>
<link rel="stylesheet" type="text/css" href="../vendor/calcite-components/calcite.css" />

<script type="module" src="../build/solutions-components.esm.js"></script>
<link rel="stylesheet" href="../build/solutions-components.css" type="text/css"/>
<script type="module" src="../solutions-components.esm.js"></script>
<link rel="stylesheet" href="../solutions-components.css" type="text/css"/>

<script>
function addValues() {
Expand Down
4 changes: 2 additions & 2 deletions src/demos/consent-manager.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
<script type="module" src="../vendor/calcite-components/calcite.esm.js"></script>
<link rel="stylesheet" type="text/css" href="../vendor/calcite-components/calcite.css" />

<script type="module" src="../build/solutions-components.esm.js"></script>
<link rel="stylesheet" href="../build/solutions-components.css" type="text/css"/>
<script type="module" src="../solutions-components.esm.js"></script>
<link rel="stylesheet" href="../solutions-components.css" type="text/css"/>

</head>

Expand Down
4 changes: 2 additions & 2 deletions src/demos/create-feature.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@
<script type="module" src="../vendor/calcite-components/calcite.esm.js"></script>
<link rel="stylesheet" type="text/css" href="../vendor/calcite-components/calcite.css" />

<script type="module" src="../build/solutions-components.esm.js"></script>
<link rel="stylesheet" href="../build/solutions-components.css" type="text/css"/>
<script type="module" src="../solutions-components.esm.js"></script>
<link rel="stylesheet" href="../solutions-components.css" type="text/css"/>

<script>
require(["esri/WebMap", "esri/views/MapView"], (
Expand Down
4 changes: 2 additions & 2 deletions src/demos/crowdsource-manager.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
<script type="module" src="../vendor/calcite-components/calcite.esm.js"></script>
<link rel="stylesheet" type="text/css" href="../vendor/calcite-components/calcite.css" />

<script type="module" src="../build/solutions-components.esm.js"></script>
<link rel="stylesheet" href="../build/solutions-components.css" type="text/css"/>
<script type="module" src="../solutions-components.esm.js"></script>
<link rel="stylesheet" href="../solutions-components.css" type="text/css"/>

<script>
// require(["esri/config"], (
Expand Down
4 changes: 2 additions & 2 deletions src/demos/crowdsource-reporter.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@
<script type="module" src="../vendor/calcite-components/calcite.esm.js"></script>
<link rel="stylesheet" type="text/css" href="../vendor/calcite-components/calcite.css" />

<script type="module" src="../build/solutions-components.esm.js"></script>
<link rel="stylesheet" href="../build/solutions-components.css" type="text/css"/>
<script type="module" src="../solutions-components.esm.js"></script>
<link rel="stylesheet" href="../solutions-components.css" type="text/css"/>

<script>
require(['esri/WebMap', 'esri/views/MapView', 'esri/widgets/Legend', 'esri/config', 'esri/portal/Portal', 'esri/widgets/Home'], (WebMap, MapView, Legend, esriConfig, Portal, Home) => {
Expand Down
4 changes: 2 additions & 2 deletions src/demos/deduct-calculator.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
<script type="module" src="../vendor/calcite-components/calcite.esm.js"></script>
<link rel="stylesheet" type="text/css" href="../vendor/calcite-components/calcite.css" />

<script type="module" src="../build/solutions-components.esm.js"></script>
<link rel="stylesheet" href="../build/solutions-components.css" type="text/css"/>
<script type="module" src="../solutions-components.esm.js"></script>
<link rel="stylesheet" href="../solutions-components.css" type="text/css"/>

</head>

Expand Down
4 changes: 2 additions & 2 deletions src/demos/demo-map.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
<script type="module" src="../vendor/calcite-components/calcite.esm.js"></script>
<link rel="stylesheet" type="text/css" href="../vendor/calcite-components/calcite.css" />

<script type="module" src="../build/solutions-components.esm.js"></script>
<link rel="stylesheet" href="../build/solutions-components.css" type="text/css"/>
<script type="module" src="../solutions-components.esm.js"></script>
<link rel="stylesheet" href="../solutions-components.css" type="text/css"/>

</head>

Expand Down
4 changes: 2 additions & 2 deletions src/demos/edit-card.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
<script type="module" src="../vendor/calcite-components/calcite.esm.js"></script>
<link rel="stylesheet" type="text/css" href="../vendor/calcite-components/calcite.css" />

<script type="module" src="../build/solutions-components.esm.js"></script>
<link rel="stylesheet" href="../build/solutions-components.css" type="text/css"/>
<script type="module" src="../solutions-components.esm.js"></script>
<link rel="stylesheet" href="../solutions-components.css" type="text/css"/>
</head>

<body>
Expand Down
4 changes: 2 additions & 2 deletions src/demos/feature-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@
<script type="module" src="../vendor/calcite-components/calcite.esm.js"></script>
<link rel="stylesheet" type="text/css" href="../vendor/calcite-components/calcite.css" />

<script type="module" src="../build/solutions-components.esm.js"></script>
<link rel="stylesheet" href="../build/solutions-components.css" type="text/css"/>
<script type="module" src="../solutions-components.esm.js"></script>
<link rel="stylesheet" href="../solutions-components.css" type="text/css"/>

<script>
require(["esri/WebMap", "esri/views/MapView"], (
Expand Down
7 changes: 2 additions & 5 deletions src/demos/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
<script type="module" src="../vendor/calcite-components/calcite.esm.js"></script>
<link rel="stylesheet" type="text/css" href="../vendor/calcite-components/calcite.css" />

<script type="module" src="../build/solutions-components.esm.js"></script>
<link rel="stylesheet" href="../build/solutions-components.css" type="text/css"/>
<script type="module" src="../solutions-components.esm.js"></script>
<link rel="stylesheet" href="../solutions-components.css" type="text/css"/>

<style>
body {
Expand Down Expand Up @@ -56,9 +56,6 @@
padding: 0;
}
</style>

<script type="module" src="https://js.arcgis.com/calcite-components/2.0.0/calcite.esm.js"></script>

</head>

<body>
Expand Down
4 changes: 2 additions & 2 deletions src/demos/info-card.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
<script type="module" src="../vendor/calcite-components/calcite.esm.js"></script>
<link rel="stylesheet" type="text/css" href="../vendor/calcite-components/calcite.css" />

<script type="module" src="../build/solutions-components.esm.js"></script>
<link rel="stylesheet" href="../build/solutions-components.css" type="text/css"/>
<script type="module" src="../solutions-components.esm.js"></script>
<link rel="stylesheet" href="../solutions-components.css" type="text/css"/>

<script>
function addValues() {
Expand Down
6 changes: 2 additions & 4 deletions src/demos/json-editor-2.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,14 @@
<script type="module" src="../vendor/calcite-components/calcite.esm.js"></script>
<link rel="stylesheet" type="text/css" href="../vendor/calcite-components/calcite.css" />

<script type="module" src="../build/solutions-components.esm.js"></script>
<link rel="stylesheet" href="../build/solutions-components.css" type="text/css"/>
<script type="module" src="../solutions-components.esm.js"></script>
<link rel="stylesheet" href="../solutions-components.css" type="text/css"/>

<style>
.full-height {
height: 100%;
}
</style>

<script type="module" src="../solutions-components.esm.js"></script>
</head>

<body>
Expand Down
6 changes: 2 additions & 4 deletions src/demos/json-editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,13 @@
<script type="module" src="../vendor/calcite-components/calcite.esm.js"></script>
<link rel="stylesheet" type="text/css" href="../vendor/calcite-components/calcite.css" />

<script type="module" src="../build/solutions-components.esm.js"></script>
<link rel="stylesheet" href="../build/solutions-components.css" type="text/css"/>
<script type="module" src="../solutions-components.esm.js"></script>
<link rel="stylesheet" href="../solutions-components.css" type="text/css"/>
<style>
.full-height {
height: 100%;
}
</style>

<script type="module" src="../solutions-components.esm.js"></script>
</head>

<body>
Expand Down
4 changes: 2 additions & 2 deletions src/demos/layer-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@
<script type="module" src="../vendor/calcite-components/calcite.esm.js"></script>
<link rel="stylesheet" type="text/css" href="../vendor/calcite-components/calcite.css" />

<script type="module" src="../build/solutions-components.esm.js"></script>
<link rel="stylesheet" href="../build/solutions-components.css" type="text/css"/>
<script type="module" src="../solutions-components.esm.js"></script>
<link rel="stylesheet" href="../solutions-components.css" type="text/css"/>

<script>
require(["esri/WebMap", "esri/views/MapView"], (
Expand Down
4 changes: 2 additions & 2 deletions src/demos/layer-table.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@
<script type="module" src="../vendor/calcite-components/calcite.esm.js"></script>
<link rel="stylesheet" type="text/css" href="../vendor/calcite-components/calcite.css" />

<script type="module" src="../build/solutions-components.esm.js"></script>
<link rel="stylesheet" href="../build/solutions-components.css" type="text/css"/>
<script type="module" src="../solutions-components.esm.js"></script>
<link rel="stylesheet" href="../solutions-components.css" type="text/css"/>

<script>
require(["esri/WebMap", "esri/views/MapView"], (
Expand Down
4 changes: 2 additions & 2 deletions src/demos/list-item.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
<script type="module" src="../vendor/calcite-components/calcite.esm.js"></script>
<link rel="stylesheet" type="text/css" href="../vendor/calcite-components/calcite.css" />

<script type="module" src="../build/solutions-components.esm.js"></script>
<link rel="stylesheet" href="../build/solutions-components.css" type="text/css"/>
<script type="module" src="../solutions-components.esm.js"></script>
<link rel="stylesheet" href="../solutions-components.css" type="text/css"/>

<script>
require(["esri/WebMap", "esri/views/MapView"], (
Expand Down
4 changes: 2 additions & 2 deletions src/demos/map-card.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
<script type="module" src="../vendor/calcite-components/calcite.esm.js"></script>
<link rel="stylesheet" type="text/css" href="../vendor/calcite-components/calcite.css" />

<script type="module" src="../build/solutions-components.esm.js"></script>
<link rel="stylesheet" href="../build/solutions-components.css" type="text/css"/>
<script type="module" src="../solutions-components.esm.js"></script>
<link rel="stylesheet" href="../solutions-components.css" type="text/css"/>

<script>
function addValues() {
Expand Down
4 changes: 2 additions & 2 deletions src/demos/map-draw-tools.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
<script type="module" src="../vendor/calcite-components/calcite.esm.js"></script>
<link rel="stylesheet" type="text/css" href="../vendor/calcite-components/calcite.css" />

<script type="module" src="../build/solutions-components.esm.js"></script>
<link rel="stylesheet" href="../build/solutions-components.css" type="text/css"/>
<script type="module" src="../solutions-components.esm.js"></script>
<link rel="stylesheet" href="../solutions-components.css" type="text/css"/>

<script>
require(["esri/WebMap", "esri/views/MapView", "esri/widgets/Legend"], (
Expand Down
4 changes: 2 additions & 2 deletions src/demos/map-layer-picker.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
<script type="module" src="../vendor/calcite-components/calcite.esm.js"></script>
<link rel="stylesheet" type="text/css" href="../vendor/calcite-components/calcite.css" />

<script type="module" src="../build/solutions-components.esm.js"></script>
<link rel="stylesheet" href="../build/solutions-components.css" type="text/css"/>
<script type="module" src="../solutions-components.esm.js"></script>
<link rel="stylesheet" href="../solutions-components.css" type="text/css"/>

<script>
require(["esri/WebMap", "esri/views/MapView"], (
Expand Down
4 changes: 2 additions & 2 deletions src/demos/map-select-tools.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@
<script type="module" src="../vendor/calcite-components/calcite.esm.js"></script>
<link rel="stylesheet" type="text/css" href="../vendor/calcite-components/calcite.css" />

<script type="module" src="../build/solutions-components.esm.js"></script>
<link rel="stylesheet" href="../build/solutions-components.css" type="text/css"/>
<script type="module" src="../solutions-components.esm.js"></script>
<link rel="stylesheet" href="../solutions-components.css" type="text/css"/>

<script>
require(["esri/Map", "esri/views/MapView"], (
Expand Down
4 changes: 2 additions & 2 deletions src/demos/new-public-notification.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@
<script type="module" src="../vendor/calcite-components/calcite.esm.js"></script>
<link rel="stylesheet" type="text/css" href="../vendor/calcite-components/calcite.css" />

<script type="module" src="../build/solutions-components.esm.js"></script>
<link rel="stylesheet" href="../build/solutions-components.css" type="text/css"/>
<script type="module" src="../solutions-components.esm.js"></script>
<link rel="stylesheet" href="../solutions-components.css" type="text/css"/>

<script>
require(["esri/WebMap", "esri/views/MapView", "esri/widgets/Legend", "esri/config"], (
Expand Down
6 changes: 2 additions & 4 deletions src/demos/new-solution-configuration.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
<script type="module" src="../vendor/calcite-components/calcite.esm.js"></script>
<link rel="stylesheet" type="text/css" href="../vendor/calcite-components/calcite.css" />

<script type="module" src="../build/solutions-components.esm.js"></script>
<link rel="stylesheet" href="../build/solutions-components.css" type="text/css"/>
<script type="module" src="../solutions-components.esm.js"></script>
<link rel="stylesheet" href="../solutions-components.css" type="text/css"/>

<style>
.full-height {
Expand Down Expand Up @@ -95,8 +95,6 @@
<script src="https://unpkg.com/@esri/[email protected]/dist/umd/auth.umd.min.js"></script>
<script src="https://unpkg.com/@esri/[email protected]/dist/umd/portal.umd.min.js"></script>
<script src="https://unpkg.com/@esri/[email protected]/dist/umd/common.umd.min.js"></script>
<script type="module" src="https://js.arcgis.com/calcite-components/2.0.0/calcite.esm.js"></script>
<script type="module" src="../solutions-components.esm.js"></script>
</head>

<body>
Expand Down
4 changes: 2 additions & 2 deletions src/demos/pci-calculator.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
<script type="module" src="../vendor/calcite-components/calcite.esm.js"></script>
<link rel="stylesheet" type="text/css" href="../vendor/calcite-components/calcite.css" />

<script type="module" src="../build/solutions-components.esm.js"></script>
<link rel="stylesheet" href="../build/solutions-components.css" type="text/css"/>
<script type="module" src="../solutions-components.esm.js"></script>
<link rel="stylesheet" href="../solutions-components.css" type="text/css"/>

</head>

Expand Down
4 changes: 2 additions & 2 deletions src/demos/pdf-download.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
<script type="module" src="../vendor/calcite-components/calcite.esm.js"></script>
<link rel="stylesheet" type="text/css" href="../vendor/calcite-components/calcite.css" />

<script type="module" src="../build/solutions-components.esm.js"></script>
<link rel="stylesheet" href="../build/solutions-components.css" type="text/css"/>
<script type="module" src="../solutions-components.esm.js"></script>
<link rel="stylesheet" href="../solutions-components.css" type="text/css"/>

</head>

Expand Down
6 changes: 2 additions & 4 deletions src/demos/solution-configuration.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
<script type="module" src="../vendor/calcite-components/calcite.esm.js"></script>
<link rel="stylesheet" type="text/css" href="../vendor/calcite-components/calcite.css" />

<script type="module" src="../build/solutions-components.esm.js"></script>
<link rel="stylesheet" href="../build/solutions-components.css" type="text/css"/>
<script type="module" src="../solutions-components.esm.js"></script>
<link rel="stylesheet" href="../solutions-components.css" type="text/css"/>

<style>
.full-height {
Expand Down Expand Up @@ -94,8 +94,6 @@
<script src="https://unpkg.com/@esri/[email protected]/dist/umd/request.umd.js"></script>
<script src="https://unpkg.com/@esri/[email protected]/dist/umd/auth.umd.min.js"></script>
<script src="https://unpkg.com/@esri/[email protected]/dist/umd/portal.umd.min.js"></script>
<script type="module" src="https://js.arcgis.com/calcite-components/2.0.0/calcite.esm.js"></script>
<script type="module" src="../solutions-components.esm.js"></script>
</head>

<body>
Expand Down
7 changes: 2 additions & 5 deletions src/demos/solution-contents.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
<script type="module" src="../vendor/calcite-components/calcite.esm.js"></script>
<link rel="stylesheet" type="text/css" href="../vendor/calcite-components/calcite.css" />

<script type="module" src="../build/solutions-components.esm.js"></script>
<link rel="stylesheet" href="../build/solutions-components.css" type="text/css"/>
<script type="module" src="../solutions-components.esm.js"></script>
<link rel="stylesheet" href="../solutions-components.css" type="text/css"/>

<style>
.full-height {
Expand All @@ -52,9 +52,6 @@
background-color: white;
}
</style>

<script type="module" src="https://js.arcgis.com/calcite-components/2.0.0/calcite.esm.js"></script>
<script type="module" src="../solutions-components.esm.js"></script>
</head>

<body>
Expand Down
7 changes: 2 additions & 5 deletions src/demos/solution-group-details.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
<script type="module" src="../vendor/calcite-components/calcite.esm.js"></script>
<link rel="stylesheet" type="text/css" href="../vendor/calcite-components/calcite.css" />

<script type="module" src="../build/solutions-components.esm.js"></script>
<link rel="stylesheet" href="../build/solutions-components.css" type="text/css"/>
<script type="module" src="../solutions-components.esm.js"></script>
<link rel="stylesheet" href="../solutions-components.css" type="text/css"/>

<style>
.full-height {
Expand All @@ -38,9 +38,6 @@
overflow-y: auto;
}
</style>

<script type="module" src="https://js.arcgis.com/calcite-components/2.0.0/calcite.esm.js"></script>
<script type="module" src="../solutions-components.esm.js"></script>
</head>

<body>
Expand Down
Loading

0 comments on commit 48c611c

Please sign in to comment.