@geosynk/vertigis-web-sdk 1.0.9 → 1.0.11
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 +22 -0
- package/package.json +1 -1
- package/scripts/create.js +231 -130
- package/template/app/favicon.ico +20 -0
- package/template/app/favicon.svg +20 -0
- package/template/package.json +6 -1
- package/template/pnpm-workspace.yaml +12 -0
- package/template-custom/app/app.json +26 -498
- package/template-custom/app/favicon.ico +20 -0
- package/template-custom/app/favicon.svg +20 -0
- package/template-custom/app/layout.xml +17 -14
- package/template-custom/webpack.config.js +15 -0
package/README.md
CHANGED
|
@@ -52,6 +52,11 @@ Every project scaffolded from this repository includes:
|
|
|
52
52
|
6. **Coding Assistant Governance (`AGENTS.md`)**:
|
|
53
53
|
- Pre-injected VertiGIS Web SDK directives ensuring AI coding assistants (such as Antigravity, Claude Code, Cursor, Copilot) strictly follow typography rules, token usage, and file size limits.
|
|
54
54
|
|
|
55
|
+
7. **Monorepo & Dual Package Manager Resilience (`npm` & `pnpm`)**:
|
|
56
|
+
- **SheetJS (`xlsx`) Registry Mirror**: Replaces upstream external HTTP CDN tarball URLs with `npm:@e965/xlsx@^0.20.3` registry overrides. 100% immune to corporate firewall/proxy blocks, checksum mismatches, and `pnpm` `ERR_PNPM_EXOTIC_SUBDEP` errors.
|
|
57
|
+
- **Monorepo `--skip-install` Support**: Scaffolds full enterprise project architecture without generating duplicate nested `node_modules`.
|
|
58
|
+
- **Native `pnpm` v11+ Compatibility**: Bundled with pre-configured `pnpm-workspace.yaml` for instant pnpm installations.
|
|
59
|
+
|
|
55
60
|
---
|
|
56
61
|
|
|
57
62
|
## Creating a New Project
|
|
@@ -76,6 +81,23 @@ Then anywhere on your machine:
|
|
|
76
81
|
vertigis-web-sdk create my-web-library
|
|
77
82
|
```
|
|
78
83
|
|
|
84
|
+
### Option D: Inside a Monorepo / Workspaces (Single Shared `node_modules`)
|
|
85
|
+
To manage all libraries under a single `node_modules` at your workspace root:
|
|
86
|
+
```bash
|
|
87
|
+
# 1. Scaffold into your packages/ or projects/ folder without installing duplicate dependencies
|
|
88
|
+
npx @geosynk/vertigis-web-sdk create my-web-library --skip-install
|
|
89
|
+
|
|
90
|
+
# 2. Run install once at your monorepo root
|
|
91
|
+
npm install
|
|
92
|
+
# or
|
|
93
|
+
pnpm install
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
### Option E: Direct with `pnpm`
|
|
97
|
+
```bash
|
|
98
|
+
npx @geosynk/vertigis-web-sdk create my-web-library --pnpm
|
|
99
|
+
```
|
|
100
|
+
|
|
79
101
|
---
|
|
80
102
|
|
|
81
103
|
## Scaffolded Project Structure
|
package/package.json
CHANGED
package/scripts/create.js
CHANGED
|
@@ -7,43 +7,99 @@ import { fileURLToPath } from "node:url";
|
|
|
7
7
|
import { execSync } from "node:child_process";
|
|
8
8
|
import readline from "node:readline";
|
|
9
9
|
|
|
10
|
-
import sdkCreate from "@vertigis/sdk-library/scripts/create.js";
|
|
11
|
-
|
|
12
10
|
// Root of the SDK installation where the template is found.
|
|
13
11
|
const dirName = path.dirname(fileURLToPath(import.meta.url));
|
|
14
12
|
const rootDir = path.join(dirName, "..");
|
|
15
13
|
|
|
16
|
-
// Target directory name.
|
|
14
|
+
// Target directory name and CLI options.
|
|
17
15
|
const cliArgs = process.argv.slice(2);
|
|
18
|
-
const
|
|
19
|
-
const directoryName =
|
|
16
|
+
const nonFlagArgs = cliArgs.filter(arg => !arg.startsWith("-") && arg !== "create");
|
|
17
|
+
const directoryName = nonFlagArgs[0];
|
|
20
18
|
|
|
21
19
|
if (!directoryName) {
|
|
22
|
-
console.error(
|
|
20
|
+
console.error(
|
|
21
|
+
"Please specify the project directory name: vertigis-web-sdk create <project-name> [--npm | --pnpm | --skip-install]"
|
|
22
|
+
);
|
|
23
23
|
process.exit(1);
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
const targetPath = path.resolve(directoryName);
|
|
27
27
|
|
|
28
|
-
//
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
28
|
+
// Validate project directory path
|
|
29
|
+
if (!/^[\w-]+$/.test(path.basename(targetPath))) {
|
|
30
|
+
console.error(
|
|
31
|
+
`Cannot create new project at ${targetPath} as the directory name is not valid. Letters, numbers, dashes and underscores are allowed.\n`
|
|
32
|
+
);
|
|
33
|
+
process.exit(1);
|
|
34
|
+
}
|
|
35
|
+
if (/[!]/.test(targetPath)) {
|
|
36
|
+
console.error(
|
|
37
|
+
`Cannot create new project at ${targetPath} as the path is not valid. Exclamation points (!) are not allowed in the file system path.\n`
|
|
38
|
+
);
|
|
39
|
+
process.exit(1);
|
|
40
|
+
}
|
|
41
|
+
if (fs.existsSync(targetPath) && fs.readdirSync(targetPath).length > 0) {
|
|
42
|
+
console.error(`Cannot create new project at ${targetPath} as it already exists.\n`);
|
|
43
|
+
process.exit(1);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
// 0. Determine package manager (interactive prompt if no flag passed)
|
|
47
|
+
let packageManager = "npm";
|
|
48
|
+
if (cliArgs.includes("--skip-install") || cliArgs.includes("--no-install") || cliArgs.includes("--pm=none")) {
|
|
49
|
+
packageManager = "none";
|
|
50
|
+
} else if (cliArgs.includes("--pnpm") || cliArgs.includes("--pm=pnpm")) {
|
|
51
|
+
packageManager = "pnpm";
|
|
52
|
+
} else if (cliArgs.includes("--npm") || cliArgs.includes("--pm=npm")) {
|
|
53
|
+
packageManager = "npm";
|
|
54
|
+
} else if (process.stdin.isTTY) {
|
|
55
|
+
const rl = readline.createInterface({
|
|
56
|
+
input: process.stdin,
|
|
57
|
+
output: process.stdout,
|
|
58
|
+
});
|
|
59
|
+
|
|
60
|
+
console.log("\n? Which package manager would you like to use?");
|
|
61
|
+
console.log(" 1) npm (default)");
|
|
62
|
+
console.log(" 2) pnpm");
|
|
63
|
+
console.log(" 3) none (skip install — for monorepos / workspaces)\n");
|
|
37
64
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
65
|
+
const answer = await new Promise(resolve => {
|
|
66
|
+
rl.question("Select [1/2/3] (default: 1): ", ans => {
|
|
67
|
+
rl.close();
|
|
68
|
+
resolve(ans.trim().toLowerCase());
|
|
69
|
+
});
|
|
70
|
+
});
|
|
71
|
+
|
|
72
|
+
if (answer === "2" || answer === "pnpm" || answer === "p") {
|
|
73
|
+
packageManager = "pnpm";
|
|
74
|
+
} else if (answer === "3" || answer === "none" || answer === "skip") {
|
|
75
|
+
packageManager = "none";
|
|
76
|
+
} else {
|
|
77
|
+
packageManager = "npm";
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
console.log(`\nCreating new project at ${targetPath}`);
|
|
82
|
+
|
|
83
|
+
// 1. Scaffolding base template
|
|
84
|
+
fs.cpSync(path.join(rootDir, "template"), targetPath, { recursive: true });
|
|
85
|
+
|
|
86
|
+
const tsconfigTpl = path.join(rootDir, "config/tsconfig.json.template");
|
|
87
|
+
if (fs.existsSync(tsconfigTpl)) {
|
|
88
|
+
fs.copyFileSync(tsconfigTpl, path.join(targetPath, "tsconfig.json"));
|
|
89
|
+
}
|
|
90
|
+
const eslintTpl = path.join(rootDir, "config/eslint.config.js.template");
|
|
91
|
+
if (fs.existsSync(eslintTpl)) {
|
|
92
|
+
fs.copyFileSync(eslintTpl, path.join(targetPath, "eslint.config.js"));
|
|
93
|
+
}
|
|
94
|
+
const gitignorePath = path.join(targetPath, "gitignore");
|
|
95
|
+
if (fs.existsSync(gitignorePath)) {
|
|
96
|
+
fs.renameSync(gitignorePath, path.join(targetPath, ".gitignore"));
|
|
41
97
|
}
|
|
42
98
|
|
|
43
99
|
// 2. Apply Enterprise Template Custom Overlay
|
|
44
100
|
const customTemplateDir = path.join(rootDir, "template-custom");
|
|
45
|
-
if (fs.existsSync(customTemplateDir)
|
|
46
|
-
console.log("
|
|
101
|
+
if (fs.existsSync(customTemplateDir)) {
|
|
102
|
+
console.log("[ENTERPRISE] Applying VertiGIS Studio Web SDK Enterprise Template Overlay...");
|
|
47
103
|
fs.cpSync(customTemplateDir, targetPath, { recursive: true, force: true });
|
|
48
104
|
|
|
49
105
|
// Ensure shell scripts are executable on POSIX systems
|
|
@@ -67,10 +123,7 @@ if (fs.existsSync(customTemplateDir) && fs.existsSync(targetPath)) {
|
|
|
67
123
|
|
|
68
124
|
// Configure build scripts with user-selected project name
|
|
69
125
|
const projectName = path.basename(targetPath);
|
|
70
|
-
const buildScripts = [
|
|
71
|
-
path.join(targetPath, "build.sh"),
|
|
72
|
-
path.join(targetPath, "build.bat"),
|
|
73
|
-
];
|
|
126
|
+
const buildScripts = [path.join(targetPath, "build.sh"), path.join(targetPath, "build.bat")];
|
|
74
127
|
for (const bs of buildScripts) {
|
|
75
128
|
if (fs.existsSync(bs)) {
|
|
76
129
|
try {
|
|
@@ -85,10 +138,7 @@ if (fs.existsSync(customTemplateDir) && fs.existsSync(targetPath)) {
|
|
|
85
138
|
// Ensure custom layout namespace matches between app/layout.xml and src/index.ts
|
|
86
139
|
const cryptoMod = await import("node:crypto");
|
|
87
140
|
const randomNamespace = `custom.${cryptoMod.randomBytes(4).toString("hex")}`;
|
|
88
|
-
const filesToUpdate = [
|
|
89
|
-
path.join(targetPath, "app/layout.xml"),
|
|
90
|
-
path.join(targetPath, "src/index.ts"),
|
|
91
|
-
];
|
|
141
|
+
const filesToUpdate = [path.join(targetPath, "app/layout.xml"), path.join(targetPath, "src/index.ts")];
|
|
92
142
|
for (const fileToUpdate of filesToUpdate) {
|
|
93
143
|
if (fs.existsSync(fileToUpdate)) {
|
|
94
144
|
try {
|
|
@@ -100,121 +150,172 @@ if (fs.existsSync(customTemplateDir) && fs.existsSync(targetPath)) {
|
|
|
100
150
|
}
|
|
101
151
|
}
|
|
102
152
|
}
|
|
153
|
+
}
|
|
103
154
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
155
|
+
// 3. Configure package.json with enterprise dependencies, scripts, and SDK packages
|
|
156
|
+
const pkgPath = path.join(targetPath, "package.json");
|
|
157
|
+
if (fs.existsSync(pkgPath)) {
|
|
158
|
+
try {
|
|
159
|
+
const pkg = JSON.parse(fs.readFileSync(pkgPath, "utf-8"));
|
|
160
|
+
pkg.name = path.basename(targetPath);
|
|
109
161
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
}
|
|
162
|
+
pkg.dependencies = pkg.dependencies || {};
|
|
163
|
+
pkg.dependencies["@mui/material"] = "^5.15.0";
|
|
164
|
+
pkg.dependencies["@emotion/react"] = "^11.11.0";
|
|
165
|
+
pkg.dependencies["@emotion/styled"] = "^11.11.0";
|
|
166
|
+
|
|
167
|
+
pkg.devDependencies = pkg.devDependencies || {};
|
|
168
|
+
pkg.devDependencies["@vertigis/web-sdk"] = "latest";
|
|
169
|
+
pkg.devDependencies["@vertigis/web"] = "^5.42.0";
|
|
170
|
+
|
|
171
|
+
pkg.scripts = pkg.scripts || {};
|
|
172
|
+
pkg.scripts["cert:gen"] = "bash ./certs/generate-cert.sh";
|
|
173
|
+
pkg.scripts["auth:portal"] = "node ./scripts/configure-portal.js";
|
|
174
|
+
pkg.scripts["skill:add"] =
|
|
175
|
+
"npx --yes skills add geosynk-lab/vertigis-sdk-skills --skill vertigis-web-sdk-skill -y";
|
|
176
|
+
pkg.scripts["skills:add"] = "npx --yes skills add geosynk-lab/vertigis-sdk-skills -y";
|
|
177
|
+
|
|
178
|
+
fs.writeFileSync(pkgPath, JSON.stringify(pkg, null, 4) + "\n", "utf-8");
|
|
179
|
+
console.log("[ENTERPRISE] Configured enterprise dependencies and scripts in package.json");
|
|
180
|
+
} catch (e) {
|
|
181
|
+
console.warn("[WARN] Failed to configure enterprise package.json dependencies:", e);
|
|
131
182
|
}
|
|
183
|
+
}
|
|
132
184
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
pkg.scripts["skill:add"] = "npx --yes skills add geosynk-lab/vertigis-sdk-skills --skill vertigis-web-sdk-skill -y";
|
|
147
|
-
pkg.scripts["skills:add"] = "npx --yes skills add geosynk-lab/vertigis-sdk-skills -y";
|
|
148
|
-
|
|
149
|
-
fs.writeFileSync(pkgPath, JSON.stringify(pkg, null, 4) + "\n", "utf-8");
|
|
150
|
-
console.log("[ENTERPRISE] Added enterprise dependencies, auth:portal, and skill:add scripts to package.json");
|
|
151
|
-
} catch (e) {
|
|
152
|
-
console.warn("[WARN] Failed to merge enterprise package.json dependencies:", e);
|
|
185
|
+
// 4. Auto-generate development SSL certificate if openssl is available
|
|
186
|
+
const certScript = path.join(
|
|
187
|
+
targetPath,
|
|
188
|
+
"certs",
|
|
189
|
+
process.platform === "win32" ? "generate-cert.bat" : "generate-cert.sh"
|
|
190
|
+
);
|
|
191
|
+
if (fs.existsSync(certScript)) {
|
|
192
|
+
try {
|
|
193
|
+
console.log("[ENTERPRISE] Checking development SSL certificate...");
|
|
194
|
+
if (process.platform === "win32") {
|
|
195
|
+
execSync(`cmd /c "${certScript}"`, { stdio: "inherit", cwd: targetPath });
|
|
196
|
+
} else {
|
|
197
|
+
execSync(`bash "${certScript}"`, { stdio: "inherit", cwd: targetPath });
|
|
153
198
|
}
|
|
199
|
+
} catch {
|
|
200
|
+
console.log("[INFO] Certificate generation skipped (OpenSSL will run automatically on first start).");
|
|
154
201
|
}
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
// 5. Initialize Git Repository
|
|
205
|
+
try {
|
|
206
|
+
execSync("git init -b main", { cwd: targetPath, stdio: "ignore" });
|
|
207
|
+
} catch {
|
|
208
|
+
// Ignore git init failures
|
|
209
|
+
}
|
|
155
210
|
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
211
|
+
// 6. Prompt to install AI Coding Assistant Skill (https://github.com/geosynk-lab/vertigis-sdk-skills)
|
|
212
|
+
let shouldInstallSkill = false;
|
|
213
|
+
if (process.argv.includes("--skills") || process.argv.includes("--with-skills")) {
|
|
214
|
+
shouldInstallSkill = true;
|
|
215
|
+
} else if (process.argv.includes("--no-skills") || process.argv.includes("--without-skills")) {
|
|
216
|
+
shouldInstallSkill = false;
|
|
217
|
+
} else if (process.stdin.isTTY) {
|
|
218
|
+
const rl = readline.createInterface({
|
|
219
|
+
input: process.stdin,
|
|
220
|
+
output: process.stdout,
|
|
221
|
+
});
|
|
222
|
+
const answer = await new Promise(resolve => {
|
|
223
|
+
rl.question(
|
|
224
|
+
"\n? Would you like to install AI coding assistant skills from https://github.com/geosynk-lab/vertigis-sdk-skills into this project? [Y/n] ",
|
|
225
|
+
ans => {
|
|
226
|
+
rl.close();
|
|
227
|
+
resolve(ans.trim());
|
|
165
228
|
}
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
229
|
+
);
|
|
230
|
+
});
|
|
231
|
+
shouldInstallSkill = !answer || answer.toLowerCase().startsWith("y");
|
|
232
|
+
} else {
|
|
233
|
+
console.log("\n[INFO] Non-interactive mode: Run 'npm run skill:add' to install AI assistant skills.");
|
|
234
|
+
}
|
|
170
235
|
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
} else if (process.stdin.isTTY) {
|
|
178
|
-
const rl = readline.createInterface({
|
|
179
|
-
input: process.stdin,
|
|
180
|
-
output: process.stdout,
|
|
181
|
-
});
|
|
182
|
-
const answer = await new Promise(resolve => {
|
|
183
|
-
rl.question(
|
|
184
|
-
"\n? Would you like to install AI coding assistant skills from https://github.com/geosynk-lab/vertigis-sdk-skills into this project? [Y/n] ",
|
|
185
|
-
ans => {
|
|
186
|
-
rl.close();
|
|
187
|
-
resolve(ans.trim());
|
|
188
|
-
}
|
|
189
|
-
);
|
|
236
|
+
if (shouldInstallSkill) {
|
|
237
|
+
console.log("\n[SKILLS] Installing VertiGIS Web SDK skill into project repository via npx skills add...");
|
|
238
|
+
try {
|
|
239
|
+
execSync("npx --yes skills add geosynk-lab/vertigis-sdk-skills --skill vertigis-web-sdk-skill -y", {
|
|
240
|
+
stdio: "inherit",
|
|
241
|
+
cwd: targetPath,
|
|
190
242
|
});
|
|
191
|
-
|
|
192
|
-
}
|
|
193
|
-
console.
|
|
243
|
+
console.log("✔ VertiGIS Web SDK skill installed successfully in .agents/skills/\n");
|
|
244
|
+
} catch (e) {
|
|
245
|
+
console.warn("[WARN] Automatic skill installation encountered an issue:", e.message);
|
|
246
|
+
console.log("[INFO] You can install it anytime by running: npm run skill:add\n");
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
// 7. Install Dependencies
|
|
251
|
+
if (packageManager === "npm") {
|
|
252
|
+
console.log("\n[NPM] Installing packages with npm. This might take a minute...\n");
|
|
253
|
+
try {
|
|
254
|
+
execSync("npm install", { cwd: targetPath, stdio: "inherit" });
|
|
255
|
+
} catch (e) {
|
|
256
|
+
console.warn("[WARN] npm install encountered an issue:", e.message);
|
|
257
|
+
}
|
|
258
|
+
} else if (packageManager === "pnpm") {
|
|
259
|
+
console.log("\n[PNPM] Installing packages with pnpm...\n");
|
|
260
|
+
let pnpmCmd = "pnpm";
|
|
261
|
+
try {
|
|
262
|
+
execSync("pnpm --version", { stdio: "ignore" });
|
|
263
|
+
} catch {
|
|
264
|
+
pnpmCmd = "npx --yes pnpm";
|
|
194
265
|
}
|
|
266
|
+
try {
|
|
267
|
+
execSync(`${pnpmCmd} install`, { cwd: targetPath, stdio: "inherit" });
|
|
268
|
+
} catch (e) {
|
|
269
|
+
console.warn("[WARN] pnpm install encountered an issue:", e.message);
|
|
270
|
+
}
|
|
271
|
+
} else {
|
|
272
|
+
console.log("\n[INFO] Package installation was skipped (--skip-install / none).");
|
|
273
|
+
console.log(" No node_modules directory was created in this project folder.");
|
|
274
|
+
console.log(" Run 'npm install' or 'pnpm install' at your workspace root to install dependencies.\n");
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
// 8. Ensure @vertigis/web-sdk resolves in node_modules even when installed as @geosynk/vertigis-web-sdk
|
|
278
|
+
const nodeModulesDir = path.join(targetPath, "node_modules");
|
|
279
|
+
const vertigisScope = path.join(nodeModulesDir, "@vertigis");
|
|
280
|
+
const vertigisSdk = path.join(vertigisScope, "web-sdk");
|
|
281
|
+
const geosynkSdk = path.join(nodeModulesDir, "@geosynk", "vertigis-web-sdk");
|
|
195
282
|
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
stdio: "inherit",
|
|
201
|
-
cwd: targetPath,
|
|
202
|
-
});
|
|
203
|
-
console.log("✔ VertiGIS Web SDK skill installed successfully in .agents/skills/\n");
|
|
204
|
-
} catch (e) {
|
|
205
|
-
console.warn("[WARN] Automatic skill installation encountered an issue:", e.message);
|
|
206
|
-
console.log("[INFO] You can install it anytime by running: npm run skill:add\n");
|
|
283
|
+
if (fs.existsSync(geosynkSdk) && !fs.existsSync(vertigisSdk)) {
|
|
284
|
+
try {
|
|
285
|
+
if (!fs.existsSync(vertigisScope)) {
|
|
286
|
+
fs.mkdirSync(vertigisScope, { recursive: true });
|
|
207
287
|
}
|
|
288
|
+
fs.symlinkSync(geosynkSdk, vertigisSdk, "junction");
|
|
289
|
+
console.log("[ENTERPRISE] Linked @vertigis/web-sdk -> @geosynk/vertigis-web-sdk");
|
|
290
|
+
} catch (e) {
|
|
291
|
+
console.warn("[WARN] Could not link @vertigis/web-sdk:", e);
|
|
208
292
|
}
|
|
293
|
+
} else if (fs.existsSync(vertigisSdk) && !fs.existsSync(geosynkSdk)) {
|
|
294
|
+
try {
|
|
295
|
+
const geosynkScope = path.join(nodeModulesDir, "@geosynk");
|
|
296
|
+
if (!fs.existsSync(geosynkScope)) {
|
|
297
|
+
fs.mkdirSync(geosynkScope, { recursive: true });
|
|
298
|
+
}
|
|
299
|
+
fs.symlinkSync(vertigisSdk, geosynkSdk, "junction");
|
|
300
|
+
console.log("[ENTERPRISE] Linked @geosynk/vertigis-web-sdk -> @vertigis/web-sdk");
|
|
301
|
+
} catch (e) {
|
|
302
|
+
console.warn("[WARN] Could not link @geosynk/vertigis-web-sdk:", e);
|
|
303
|
+
}
|
|
304
|
+
}
|
|
209
305
|
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
306
|
+
const runCmd = packageManager === "pnpm" ? "pnpm" : "npm";
|
|
307
|
+
console.log("\n================================================================================");
|
|
308
|
+
console.log(" [ENTERPRISE] VertiGIS Studio Web Extension successfully configured!");
|
|
309
|
+
console.log(" - Centralized Design Tokens: src/tokens/ (100% safe fallbacks & color-mix)");
|
|
310
|
+
console.log(" - Dynamic Dark/Light Theme: src/hooks/useIsDarkTheme.ts & src/utils/");
|
|
311
|
+
console.log(" - Anti-God Component: src/components/CustomWidget/ (ErrorBoundary)");
|
|
312
|
+
console.log(" - Portal Auth Config: npm run auth:portal (Enterprise Portal / AGOL OAuth)");
|
|
313
|
+
console.log(" - AI Assistant Skill: npm run skill:add (install/update from vertigis-sdk-skills)");
|
|
314
|
+
console.log(" - Development Scripts: start.sh / start.bat, build.sh / build.bat");
|
|
315
|
+
console.log(" - AI Directives: AGENTS.md pre-configured for coding assistants");
|
|
316
|
+
if (packageManager === "none") {
|
|
317
|
+
console.log(" - Monorepo Mode: Run 'npm install' or 'pnpm install' at workspace root");
|
|
318
|
+
} else {
|
|
319
|
+
console.log(` - Quick Start: cd ${path.basename(targetPath)} && ${runCmd} start`);
|
|
220
320
|
}
|
|
321
|
+
console.log("================================================================================\n");
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg id="a" data-name="RGB" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 778.21 778.21">
|
|
3
|
+
<defs>
|
|
4
|
+
<style>
|
|
5
|
+
.i {
|
|
6
|
+
fill: #323232;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.j {
|
|
10
|
+
fill: #f47c22;
|
|
11
|
+
}
|
|
12
|
+
</style>
|
|
13
|
+
</defs>
|
|
14
|
+
<g id="d" data-name="MINI LOGO">
|
|
15
|
+
<g id="e" data-name="LOGO">
|
|
16
|
+
<path class="j" d="M713.09,72.96h-396.78l5.81,6.85s52.5,54.19,119.01,122.51l.53.55h134.19v137.29l12.85,13.15c68.6,69.8,123.68,125.04,124.39,123.19,1.9-4.95,0-403.54,0-403.54Z"/>
|
|
17
|
+
<path class="i" d="M487.26,345.83h-175.53l200.88,206.05c-34.61,30.97-79.86,49.77-129.42,49.77-108.74,0-196.89-90.32-196.89-201.74,0-97.18,67.08-178.3,156.38-197.44l-79.58-78.91-14.01-16.26h-.05c-109.96,52.87-185.6,163.18-185.6,290.69,0,178.95,148.97,324.02,332.73,324.02,121.84,0,223.16-84.56,281.13-179.69,1.04-1.7,2.04-3.35,3.06-5.02l-193.1-191.47Z"/>
|
|
18
|
+
</g>
|
|
19
|
+
</g>
|
|
20
|
+
</svg>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg id="a" data-name="RGB" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 778.21 778.21">
|
|
3
|
+
<defs>
|
|
4
|
+
<style>
|
|
5
|
+
.i {
|
|
6
|
+
fill: #323232;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.j {
|
|
10
|
+
fill: #f47c22;
|
|
11
|
+
}
|
|
12
|
+
</style>
|
|
13
|
+
</defs>
|
|
14
|
+
<g id="d" data-name="MINI LOGO">
|
|
15
|
+
<g id="e" data-name="LOGO">
|
|
16
|
+
<path class="j" d="M713.09,72.96h-396.78l5.81,6.85s52.5,54.19,119.01,122.51l.53.55h134.19v137.29l12.85,13.15c68.6,69.8,123.68,125.04,124.39,123.19,1.9-4.95,0-403.54,0-403.54Z"/>
|
|
17
|
+
<path class="i" d="M487.26,345.83h-175.53l200.88,206.05c-34.61,30.97-79.86,49.77-129.42,49.77-108.74,0-196.89-90.32-196.89-201.74,0-97.18,67.08-178.3,156.38-197.44l-79.58-78.91-14.01-16.26h-.05c-109.96,52.87-185.6,163.18-185.6,290.69,0,178.95,148.97,324.02,332.73,324.02,121.84,0,223.16-84.56,281.13-179.69,1.04-1.7,2.04-3.35,3.06-5.02l-193.1-191.47Z"/>
|
|
18
|
+
</g>
|
|
19
|
+
</g>
|
|
20
|
+
</svg>
|
package/template/package.json
CHANGED
|
@@ -18,7 +18,12 @@
|
|
|
18
18
|
"prettier": "~3.5.3"
|
|
19
19
|
},
|
|
20
20
|
"overrides": {
|
|
21
|
-
"xlsx": "
|
|
21
|
+
"xlsx": "npm:@e965/xlsx@^0.20.3"
|
|
22
|
+
},
|
|
23
|
+
"pnpm": {
|
|
24
|
+
"overrides": {
|
|
25
|
+
"xlsx": "npm:@e965/xlsx@^0.20.3"
|
|
26
|
+
}
|
|
22
27
|
},
|
|
23
28
|
"allowScripts": {
|
|
24
29
|
"@mui/x-telemetry": false,
|
|
@@ -6,16 +6,7 @@
|
|
|
6
6
|
"id": "default",
|
|
7
7
|
"basemapOptions": [
|
|
8
8
|
"item://basemap-extension/56dde2e7-0047-4329-a079-106fe14c4683",
|
|
9
|
-
"item://basemap-extension/24bb022a-9fa2-4e07-b107-4ac2e42f7602"
|
|
10
|
-
"item://basemap-extension/04f17474-6db3-414d-9ff6-d024096a5c10",
|
|
11
|
-
"item://basemap-extension/a10518b2-8327-4f6e-80e1-d6a5df4702be",
|
|
12
|
-
"item://basemap-extension/9c117326-bed6-4c99-a4d5-47658751c16a",
|
|
13
|
-
"item://basemap-extension/1e4d2dbb-0fc7-4187-a89b-a0ab3f5ea016",
|
|
14
|
-
"item://basemap-extension/0057950b-c816-476d-9f63-f54166ffb48d",
|
|
15
|
-
"item://basemap-extension/84f3d44e-74fd-4181-9cca-3fea5080bac7",
|
|
16
|
-
"item://basemap-extension/fa130a15-e3ea-4e14-932c-3171b7fd07cd",
|
|
17
|
-
"item://basemap-extension/f7b5b0bb-f066-420f-b706-3028c3f04f28",
|
|
18
|
-
"item://basemap-extension/8962b8cc-a188-4bd0-adc2-c95ed4c34504"
|
|
9
|
+
"item://basemap-extension/24bb022a-9fa2-4e07-b107-4ac2e42f7602"
|
|
19
10
|
],
|
|
20
11
|
"groundExtension": "item://ground-extension/7dd61cce-9f0c-4abc-9bad-84587f96080f",
|
|
21
12
|
"webMap": "https://www.arcgis.com/home/item.html?id=b834a68d7a484c5fb473d4ba90d35e71",
|
|
@@ -71,6 +62,7 @@
|
|
|
71
62
|
"id": "24bb022a-9fa2-4e07-b107-4ac2e42f7602",
|
|
72
63
|
"iconUrl": "./static/arcgis-js-api/esri/images/basemap/streets-vector.jpg",
|
|
73
64
|
"basemap": {
|
|
65
|
+
"title": "Streets",
|
|
74
66
|
"baseMapLayers": [
|
|
75
67
|
{
|
|
76
68
|
"id": "streets-vector-base-layer",
|
|
@@ -78,8 +70,7 @@
|
|
|
78
70
|
"layerType": "VectorTileLayer",
|
|
79
71
|
"styleUrl": "https://cdn.arcgis.com/sharing/rest/content/items/de26a3cf4cc9451298ea173c4b324736/resources/styles/root.json"
|
|
80
72
|
}
|
|
81
|
-
]
|
|
82
|
-
"title": "Streets"
|
|
73
|
+
]
|
|
83
74
|
},
|
|
84
75
|
"baseLayerExtensions": [
|
|
85
76
|
"item://layer-extension/2839cd0d-57e0-4a75-8f85-66bc9d15548c"
|
|
@@ -102,487 +93,6 @@
|
|
|
102
93
|
},
|
|
103
94
|
"$type": "layer-extension"
|
|
104
95
|
},
|
|
105
|
-
{
|
|
106
|
-
"id": "04f17474-6db3-414d-9ff6-d024096a5c10",
|
|
107
|
-
"iconUrl": "./static/arcgis-js-api/esri/images/basemap/streets-navigation.jpg",
|
|
108
|
-
"basemap": {
|
|
109
|
-
"baseMapLayers": [
|
|
110
|
-
{
|
|
111
|
-
"id": "streets-navigation-vector-base-layer",
|
|
112
|
-
"title": "World Navigation Map",
|
|
113
|
-
"layerType": "VectorTileLayer",
|
|
114
|
-
"styleUrl": "https://cdn.arcgis.com/sharing/rest/content/items/63c47b7177f946b49902c24129b87252/resources/styles/root.json"
|
|
115
|
-
}
|
|
116
|
-
],
|
|
117
|
-
"title": "World Navigation Map"
|
|
118
|
-
},
|
|
119
|
-
"baseLayerExtensions": [
|
|
120
|
-
"item://layer-extension/83efbbfb-ab3e-4eeb-9ef3-3d42cb35e631"
|
|
121
|
-
],
|
|
122
|
-
"$type": "basemap-extension"
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
"id": "83efbbfb-ab3e-4eeb-9ef3-3d42cb35e631",
|
|
126
|
-
"layerListSettings": {
|
|
127
|
-
"childrenIncluded": false
|
|
128
|
-
},
|
|
129
|
-
"layer": {
|
|
130
|
-
"$ref": {
|
|
131
|
-
"id": "streets-navigation-vector-base-layer",
|
|
132
|
-
"title": "World Navigation Map",
|
|
133
|
-
"subtype": null,
|
|
134
|
-
"url": "https://cdn.arcgis.com/sharing/rest/content/items/63c47b7177f946b49902c24129b87252/resources/styles/root.json"
|
|
135
|
-
},
|
|
136
|
-
"layerType": "VectorTileLayer"
|
|
137
|
-
},
|
|
138
|
-
"$type": "layer-extension"
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
"id": "a10518b2-8327-4f6e-80e1-d6a5df4702be",
|
|
142
|
-
"iconUrl": "./static/arcgis-js-api/esri/images/basemap/streets-night.jpg",
|
|
143
|
-
"basemap": {
|
|
144
|
-
"baseMapLayers": [
|
|
145
|
-
{
|
|
146
|
-
"id": "streets-night-vector-base-layer",
|
|
147
|
-
"title": "World Street Map (Night)",
|
|
148
|
-
"layerType": "VectorTileLayer",
|
|
149
|
-
"styleUrl": "https://cdn.arcgis.com/sharing/rest/content/items/86f556a2d1fd468181855a35e344567f/resources/styles/root.json"
|
|
150
|
-
}
|
|
151
|
-
],
|
|
152
|
-
"title": "World Street Map (Night)"
|
|
153
|
-
},
|
|
154
|
-
"baseLayerExtensions": [
|
|
155
|
-
"item://layer-extension/38a8e6fe-d0a3-4c9d-b06d-f0d0cf73199d"
|
|
156
|
-
],
|
|
157
|
-
"$type": "basemap-extension"
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
"id": "38a8e6fe-d0a3-4c9d-b06d-f0d0cf73199d",
|
|
161
|
-
"layerListSettings": {
|
|
162
|
-
"childrenIncluded": false
|
|
163
|
-
},
|
|
164
|
-
"layer": {
|
|
165
|
-
"$ref": {
|
|
166
|
-
"id": "streets-night-vector-base-layer",
|
|
167
|
-
"title": "World Street Map (Night)",
|
|
168
|
-
"subtype": null,
|
|
169
|
-
"url": "https://cdn.arcgis.com/sharing/rest/content/items/86f556a2d1fd468181855a35e344567f/resources/styles/root.json"
|
|
170
|
-
},
|
|
171
|
-
"layerType": "VectorTileLayer"
|
|
172
|
-
},
|
|
173
|
-
"$type": "layer-extension"
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
"id": "9c117326-bed6-4c99-a4d5-47658751c16a",
|
|
177
|
-
"iconUrl": "./static/arcgis-js-api/esri/images/basemap/dark-gray-vector.jpg",
|
|
178
|
-
"basemap": {
|
|
179
|
-
"baseMapLayers": [
|
|
180
|
-
{
|
|
181
|
-
"id": "dark-gray-base-layer",
|
|
182
|
-
"title": "Dark Gray Base",
|
|
183
|
-
"layerType": "VectorTileLayer",
|
|
184
|
-
"styleUrl": "https://cdn.arcgis.com/sharing/rest/content/items/5e9b3685f4c24d8781073dd928ebda50/resources/styles/root.json"
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
"id": "dark-gray-reference-layer",
|
|
188
|
-
"title": "Dark Gray Reference",
|
|
189
|
-
"layerType": "VectorTileLayer",
|
|
190
|
-
"styleUrl": "https://cdn.arcgis.com/sharing/rest/content/items/747cb7a5329c478cbe6981076cc879c5/resources/styles/root.json",
|
|
191
|
-
"isReference": true
|
|
192
|
-
}
|
|
193
|
-
],
|
|
194
|
-
"title": "Dark Gray Canvas"
|
|
195
|
-
},
|
|
196
|
-
"baseLayerExtensions": [
|
|
197
|
-
"item://layer-extension/1543445c-2380-4ff6-8e47-8c900314d333"
|
|
198
|
-
],
|
|
199
|
-
"referenceLayerExtensions": [
|
|
200
|
-
"item://layer-extension/bbf20b04-e7f6-4609-82e1-ea9a2f6cc037"
|
|
201
|
-
],
|
|
202
|
-
"$type": "basemap-extension"
|
|
203
|
-
},
|
|
204
|
-
{
|
|
205
|
-
"id": "1543445c-2380-4ff6-8e47-8c900314d333",
|
|
206
|
-
"layerListSettings": {
|
|
207
|
-
"childrenIncluded": false
|
|
208
|
-
},
|
|
209
|
-
"layer": {
|
|
210
|
-
"$ref": {
|
|
211
|
-
"id": "dark-gray-base-layer",
|
|
212
|
-
"title": "Dark Gray Base",
|
|
213
|
-
"subtype": null,
|
|
214
|
-
"url": "https://cdn.arcgis.com/sharing/rest/content/items/5e9b3685f4c24d8781073dd928ebda50/resources/styles/root.json"
|
|
215
|
-
},
|
|
216
|
-
"layerType": "VectorTileLayer"
|
|
217
|
-
},
|
|
218
|
-
"$type": "layer-extension"
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
"id": "bbf20b04-e7f6-4609-82e1-ea9a2f6cc037",
|
|
222
|
-
"layerListSettings": {
|
|
223
|
-
"childrenIncluded": false
|
|
224
|
-
},
|
|
225
|
-
"layer": {
|
|
226
|
-
"$ref": {
|
|
227
|
-
"id": "dark-gray-reference-layer",
|
|
228
|
-
"title": "Dark Gray Reference",
|
|
229
|
-
"subtype": null,
|
|
230
|
-
"url": "https://cdn.arcgis.com/sharing/rest/content/items/747cb7a5329c478cbe6981076cc879c5/resources/styles/root.json"
|
|
231
|
-
},
|
|
232
|
-
"layerType": "VectorTileLayer"
|
|
233
|
-
},
|
|
234
|
-
"$type": "layer-extension"
|
|
235
|
-
},
|
|
236
|
-
{
|
|
237
|
-
"id": "1e4d2dbb-0fc7-4187-a89b-a0ab3f5ea016",
|
|
238
|
-
"iconUrl": "./static/arcgis-js-api/esri/images/basemap/gray-vector.jpg",
|
|
239
|
-
"basemap": {
|
|
240
|
-
"baseMapLayers": [
|
|
241
|
-
{
|
|
242
|
-
"id": "gray-base-layer",
|
|
243
|
-
"title": "Light Gray Base",
|
|
244
|
-
"layerType": "VectorTileLayer",
|
|
245
|
-
"styleUrl": "https://cdn.arcgis.com/sharing/rest/content/items/291da5eab3a0412593b66d384379f89f/resources/styles/root.json"
|
|
246
|
-
},
|
|
247
|
-
{
|
|
248
|
-
"id": "gray-reference-layer",
|
|
249
|
-
"title": "Light Gray Reference",
|
|
250
|
-
"layerType": "VectorTileLayer",
|
|
251
|
-
"styleUrl": "https://cdn.arcgis.com/sharing/rest/content/items/1768e8369a214dfab4e2167d5c5f2454/resources/styles/root.json",
|
|
252
|
-
"isReference": true
|
|
253
|
-
}
|
|
254
|
-
],
|
|
255
|
-
"title": "Light Gray Canvas"
|
|
256
|
-
},
|
|
257
|
-
"baseLayerExtensions": [
|
|
258
|
-
"item://layer-extension/cb65ea39-32ea-4db8-a3e3-b0788e8cc543"
|
|
259
|
-
],
|
|
260
|
-
"referenceLayerExtensions": [
|
|
261
|
-
"item://layer-extension/ebbe1f42-9636-459e-b9a4-878632eb4fb5"
|
|
262
|
-
],
|
|
263
|
-
"$type": "basemap-extension"
|
|
264
|
-
},
|
|
265
|
-
{
|
|
266
|
-
"id": "cb65ea39-32ea-4db8-a3e3-b0788e8cc543",
|
|
267
|
-
"layerListSettings": {
|
|
268
|
-
"childrenIncluded": false
|
|
269
|
-
},
|
|
270
|
-
"layer": {
|
|
271
|
-
"$ref": {
|
|
272
|
-
"id": "gray-base-layer",
|
|
273
|
-
"title": "Light Gray Base",
|
|
274
|
-
"subtype": null,
|
|
275
|
-
"url": "https://cdn.arcgis.com/sharing/rest/content/items/291da5eab3a0412593b66d384379f89f/resources/styles/root.json"
|
|
276
|
-
},
|
|
277
|
-
"layerType": "VectorTileLayer"
|
|
278
|
-
},
|
|
279
|
-
"$type": "layer-extension"
|
|
280
|
-
},
|
|
281
|
-
{
|
|
282
|
-
"id": "ebbe1f42-9636-459e-b9a4-878632eb4fb5",
|
|
283
|
-
"layerListSettings": {
|
|
284
|
-
"childrenIncluded": false
|
|
285
|
-
},
|
|
286
|
-
"layer": {
|
|
287
|
-
"$ref": {
|
|
288
|
-
"id": "gray-reference-layer",
|
|
289
|
-
"title": "Light Gray Reference",
|
|
290
|
-
"subtype": null,
|
|
291
|
-
"url": "https://cdn.arcgis.com/sharing/rest/content/items/1768e8369a214dfab4e2167d5c5f2454/resources/styles/root.json"
|
|
292
|
-
},
|
|
293
|
-
"layerType": "VectorTileLayer"
|
|
294
|
-
},
|
|
295
|
-
"$type": "layer-extension"
|
|
296
|
-
},
|
|
297
|
-
{
|
|
298
|
-
"id": "0057950b-c816-476d-9f63-f54166ffb48d",
|
|
299
|
-
"iconUrl": "./static/arcgis-js-api/esri/images/basemap/satellite.jpg",
|
|
300
|
-
"basemap": {
|
|
301
|
-
"baseMapLayers": [
|
|
302
|
-
{
|
|
303
|
-
"id": "satellite-base-layer",
|
|
304
|
-
"showLegend": false,
|
|
305
|
-
"title": "World Imagery",
|
|
306
|
-
"url": "https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer",
|
|
307
|
-
"layerType": "ArcGISTiledMapServiceLayer"
|
|
308
|
-
}
|
|
309
|
-
],
|
|
310
|
-
"title": "Imagery"
|
|
311
|
-
},
|
|
312
|
-
"baseLayerExtensions": [
|
|
313
|
-
"item://layer-extension/64a80828-9b7e-43d6-866b-edb37cbf5820"
|
|
314
|
-
],
|
|
315
|
-
"$type": "basemap-extension"
|
|
316
|
-
},
|
|
317
|
-
{
|
|
318
|
-
"id": "64a80828-9b7e-43d6-866b-edb37cbf5820",
|
|
319
|
-
"layer": {
|
|
320
|
-
"$ref": {
|
|
321
|
-
"id": "satellite-base-layer",
|
|
322
|
-
"title": "World Imagery",
|
|
323
|
-
"subtype": null,
|
|
324
|
-
"url": "https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer"
|
|
325
|
-
},
|
|
326
|
-
"layerType": "ArcGISTiledMapServiceLayer"
|
|
327
|
-
},
|
|
328
|
-
"$type": "layer-extension"
|
|
329
|
-
},
|
|
330
|
-
{
|
|
331
|
-
"id": "84f3d44e-74fd-4181-9cca-3fea5080bac7",
|
|
332
|
-
"iconUrl": "./static/arcgis-js-api/esri/images/basemap/hybrid.jpg",
|
|
333
|
-
"basemap": {
|
|
334
|
-
"baseMapLayers": [
|
|
335
|
-
{
|
|
336
|
-
"id": "hybrid-base-layer",
|
|
337
|
-
"showLegend": false,
|
|
338
|
-
"title": "World Imagery",
|
|
339
|
-
"url": "https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer",
|
|
340
|
-
"layerType": "ArcGISTiledMapServiceLayer"
|
|
341
|
-
},
|
|
342
|
-
{
|
|
343
|
-
"id": "hybrid-reference-layer",
|
|
344
|
-
"title": "Hybrid Reference Layer",
|
|
345
|
-
"layerType": "VectorTileLayer",
|
|
346
|
-
"styleUrl": "https://cdn.arcgis.com/sharing/rest/content/items/30d6b8271e1849cd9c3042060001f425/resources/styles/root.json",
|
|
347
|
-
"isReference": true
|
|
348
|
-
}
|
|
349
|
-
],
|
|
350
|
-
"title": "Imagery with Labels"
|
|
351
|
-
},
|
|
352
|
-
"baseLayerExtensions": [
|
|
353
|
-
"item://layer-extension/313a5e5e-9707-45aa-ba41-054131ea8ee4"
|
|
354
|
-
],
|
|
355
|
-
"referenceLayerExtensions": [
|
|
356
|
-
"item://layer-extension/9fc58902-8bc1-46b1-964d-ea0beeea9df3"
|
|
357
|
-
],
|
|
358
|
-
"$type": "basemap-extension"
|
|
359
|
-
},
|
|
360
|
-
{
|
|
361
|
-
"id": "313a5e5e-9707-45aa-ba41-054131ea8ee4",
|
|
362
|
-
"layer": {
|
|
363
|
-
"$ref": {
|
|
364
|
-
"id": "hybrid-base-layer",
|
|
365
|
-
"title": "World Imagery",
|
|
366
|
-
"subtype": null,
|
|
367
|
-
"url": "https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer"
|
|
368
|
-
},
|
|
369
|
-
"layerType": "ArcGISTiledMapServiceLayer"
|
|
370
|
-
},
|
|
371
|
-
"$type": "layer-extension"
|
|
372
|
-
},
|
|
373
|
-
{
|
|
374
|
-
"id": "9fc58902-8bc1-46b1-964d-ea0beeea9df3",
|
|
375
|
-
"layerListSettings": {
|
|
376
|
-
"childrenIncluded": false
|
|
377
|
-
},
|
|
378
|
-
"layer": {
|
|
379
|
-
"$ref": {
|
|
380
|
-
"id": "hybrid-reference-layer",
|
|
381
|
-
"title": "Hybrid Reference Layer",
|
|
382
|
-
"subtype": null,
|
|
383
|
-
"url": "https://cdn.arcgis.com/sharing/rest/content/items/30d6b8271e1849cd9c3042060001f425/resources/styles/root.json"
|
|
384
|
-
},
|
|
385
|
-
"layerType": "VectorTileLayer"
|
|
386
|
-
},
|
|
387
|
-
"$type": "layer-extension"
|
|
388
|
-
},
|
|
389
|
-
{
|
|
390
|
-
"id": "fa130a15-e3ea-4e14-932c-3171b7fd07cd",
|
|
391
|
-
"iconUrl": "./static/arcgis-js-api/esri/images/basemap/topo-vector.jpg",
|
|
392
|
-
"basemap": {
|
|
393
|
-
"baseMapLayers": [
|
|
394
|
-
{
|
|
395
|
-
"id": "world-hillshade-layer",
|
|
396
|
-
"showLegend": false,
|
|
397
|
-
"title": "World Hillshade",
|
|
398
|
-
"url": "https://services.arcgisonline.com/arcgis/rest/services/Elevation/World_Hillshade/MapServer",
|
|
399
|
-
"layerType": "ArcGISTiledMapServiceLayer"
|
|
400
|
-
},
|
|
401
|
-
{
|
|
402
|
-
"id": "topo-vector-base-layer",
|
|
403
|
-
"title": "World Topographic Map",
|
|
404
|
-
"layerType": "VectorTileLayer",
|
|
405
|
-
"styleUrl": "https://cdn.arcgis.com/sharing/rest/content/items/7dc6cea0b1764a1f9af2e679f642f0f5/resources/styles/root.json"
|
|
406
|
-
}
|
|
407
|
-
],
|
|
408
|
-
"title": "Topographic"
|
|
409
|
-
},
|
|
410
|
-
"baseLayerExtensions": [
|
|
411
|
-
"item://layer-extension/0420d0f3-ecdb-4c7e-8ed1-a0fabac8e5fe",
|
|
412
|
-
"item://layer-extension/3ce31ae1-0213-42c9-b65f-c2555f57e430"
|
|
413
|
-
],
|
|
414
|
-
"$type": "basemap-extension"
|
|
415
|
-
},
|
|
416
|
-
{
|
|
417
|
-
"id": "0420d0f3-ecdb-4c7e-8ed1-a0fabac8e5fe",
|
|
418
|
-
"layer": {
|
|
419
|
-
"$ref": {
|
|
420
|
-
"id": "world-hillshade-layer",
|
|
421
|
-
"title": "World Hillshade",
|
|
422
|
-
"subtype": null,
|
|
423
|
-
"url": "https://services.arcgisonline.com/arcgis/rest/services/Elevation/World_Hillshade/MapServer"
|
|
424
|
-
},
|
|
425
|
-
"layerType": "ArcGISTiledMapServiceLayer"
|
|
426
|
-
},
|
|
427
|
-
"$type": "layer-extension"
|
|
428
|
-
},
|
|
429
|
-
{
|
|
430
|
-
"id": "3ce31ae1-0213-42c9-b65f-c2555f57e430",
|
|
431
|
-
"layerListSettings": {
|
|
432
|
-
"childrenIncluded": false
|
|
433
|
-
},
|
|
434
|
-
"layer": {
|
|
435
|
-
"$ref": {
|
|
436
|
-
"id": "topo-vector-base-layer",
|
|
437
|
-
"title": "World Topographic Map",
|
|
438
|
-
"subtype": null,
|
|
439
|
-
"url": "https://cdn.arcgis.com/sharing/rest/content/items/7dc6cea0b1764a1f9af2e679f642f0f5/resources/styles/root.json"
|
|
440
|
-
},
|
|
441
|
-
"layerType": "VectorTileLayer"
|
|
442
|
-
},
|
|
443
|
-
"$type": "layer-extension"
|
|
444
|
-
},
|
|
445
|
-
{
|
|
446
|
-
"id": "f7b5b0bb-f066-420f-b706-3028c3f04f28",
|
|
447
|
-
"iconUrl": "./static/arcgis-js-api/esri/images/basemap/terrain.jpg",
|
|
448
|
-
"basemap": {
|
|
449
|
-
"baseMapLayers": [
|
|
450
|
-
{
|
|
451
|
-
"id": "world-hillshade",
|
|
452
|
-
"showLegend": false,
|
|
453
|
-
"title": "World Hillshade",
|
|
454
|
-
"url": "https://services.arcgisonline.com/arcgis/rest/services/Elevation/World_Hillshade/MapServer",
|
|
455
|
-
"layerType": "ArcGISTiledMapServiceLayer"
|
|
456
|
-
},
|
|
457
|
-
{
|
|
458
|
-
"id": "terrain-base-layer",
|
|
459
|
-
"title": "World Terrain Base",
|
|
460
|
-
"layerType": "VectorTileLayer",
|
|
461
|
-
"styleUrl": "https://cdn.arcgis.com/sharing/rest/content/items/33064a20de0c48d2bb61efa8faca93a8/resources/styles/root.json"
|
|
462
|
-
},
|
|
463
|
-
{
|
|
464
|
-
"id": "terrain-reference-layer",
|
|
465
|
-
"title": "World Terrain Reference",
|
|
466
|
-
"layerType": "VectorTileLayer",
|
|
467
|
-
"styleUrl": "https://cdn.arcgis.com/sharing/rest/content/items/14fbc125ccc9488888b014db09f35f67/resources/styles/root.json",
|
|
468
|
-
"isReference": true
|
|
469
|
-
}
|
|
470
|
-
],
|
|
471
|
-
"title": "Terrain with Labels"
|
|
472
|
-
},
|
|
473
|
-
"baseLayerExtensions": [
|
|
474
|
-
"item://layer-extension/955a612f-b7c7-4d28-86f0-6aa5a0d59f47",
|
|
475
|
-
"item://layer-extension/0b83a2ae-a276-4a27-a991-9a9203036c87"
|
|
476
|
-
],
|
|
477
|
-
"referenceLayerExtensions": [
|
|
478
|
-
"item://layer-extension/48479f06-e8da-4f22-acdc-bfbf426ef3e6"
|
|
479
|
-
],
|
|
480
|
-
"$type": "basemap-extension"
|
|
481
|
-
},
|
|
482
|
-
{
|
|
483
|
-
"id": "955a612f-b7c7-4d28-86f0-6aa5a0d59f47",
|
|
484
|
-
"layer": {
|
|
485
|
-
"$ref": {
|
|
486
|
-
"id": "world-hillshade",
|
|
487
|
-
"title": "World Hillshade",
|
|
488
|
-
"subtype": null,
|
|
489
|
-
"url": "https://services.arcgisonline.com/arcgis/rest/services/Elevation/World_Hillshade/MapServer"
|
|
490
|
-
},
|
|
491
|
-
"layerType": "ArcGISTiledMapServiceLayer"
|
|
492
|
-
},
|
|
493
|
-
"$type": "layer-extension"
|
|
494
|
-
},
|
|
495
|
-
{
|
|
496
|
-
"id": "0b83a2ae-a276-4a27-a991-9a9203036c87",
|
|
497
|
-
"layerListSettings": {
|
|
498
|
-
"childrenIncluded": false
|
|
499
|
-
},
|
|
500
|
-
"layer": {
|
|
501
|
-
"$ref": {
|
|
502
|
-
"id": "terrain-base-layer",
|
|
503
|
-
"title": "World Terrain Base",
|
|
504
|
-
"subtype": null,
|
|
505
|
-
"url": "https://cdn.arcgis.com/sharing/rest/content/items/33064a20de0c48d2bb61efa8faca93a8/resources/styles/root.json"
|
|
506
|
-
},
|
|
507
|
-
"layerType": "VectorTileLayer"
|
|
508
|
-
},
|
|
509
|
-
"$type": "layer-extension"
|
|
510
|
-
},
|
|
511
|
-
{
|
|
512
|
-
"id": "48479f06-e8da-4f22-acdc-bfbf426ef3e6",
|
|
513
|
-
"layerListSettings": {
|
|
514
|
-
"childrenIncluded": false
|
|
515
|
-
},
|
|
516
|
-
"layer": {
|
|
517
|
-
"$ref": {
|
|
518
|
-
"id": "terrain-reference-layer",
|
|
519
|
-
"title": "World Terrain Reference",
|
|
520
|
-
"subtype": null,
|
|
521
|
-
"url": "https://cdn.arcgis.com/sharing/rest/content/items/14fbc125ccc9488888b014db09f35f67/resources/styles/root.json"
|
|
522
|
-
},
|
|
523
|
-
"layerType": "VectorTileLayer"
|
|
524
|
-
},
|
|
525
|
-
"$type": "layer-extension"
|
|
526
|
-
},
|
|
527
|
-
{
|
|
528
|
-
"id": "8962b8cc-a188-4bd0-adc2-c95ed4c34504",
|
|
529
|
-
"iconUrl": "./static/arcgis-js-api/esri/images/basemap/oceans.jpg",
|
|
530
|
-
"basemap": {
|
|
531
|
-
"baseMapLayers": [
|
|
532
|
-
{
|
|
533
|
-
"id": "oceans-base-layer",
|
|
534
|
-
"showLegend": false,
|
|
535
|
-
"title": "World Ocean Base",
|
|
536
|
-
"url": "https://services.arcgisonline.com/arcgis/rest/services/Ocean/World_Ocean_Base/MapServer",
|
|
537
|
-
"layerType": "ArcGISTiledMapServiceLayer"
|
|
538
|
-
},
|
|
539
|
-
{
|
|
540
|
-
"id": "oceans-reference-layer",
|
|
541
|
-
"title": "World Ocean Reference",
|
|
542
|
-
"layerType": "VectorTileLayer",
|
|
543
|
-
"styleUrl": "https://cdn.arcgis.com/sharing/rest/content/items/89860a5baf424f3ea0c655115faababe/resources/styles/root.json",
|
|
544
|
-
"isReference": true
|
|
545
|
-
}
|
|
546
|
-
],
|
|
547
|
-
"title": "Oceans"
|
|
548
|
-
},
|
|
549
|
-
"baseLayerExtensions": [
|
|
550
|
-
"item://layer-extension/3e297fe4-9a7b-4318-8c50-a7eb3200d44f"
|
|
551
|
-
],
|
|
552
|
-
"referenceLayerExtensions": [
|
|
553
|
-
"item://layer-extension/26d48d71-19f2-4a7a-ad81-a7407f7c4aeb"
|
|
554
|
-
],
|
|
555
|
-
"$type": "basemap-extension"
|
|
556
|
-
},
|
|
557
|
-
{
|
|
558
|
-
"id": "3e297fe4-9a7b-4318-8c50-a7eb3200d44f",
|
|
559
|
-
"layer": {
|
|
560
|
-
"$ref": {
|
|
561
|
-
"id": "oceans-base-layer",
|
|
562
|
-
"title": "World Ocean Base",
|
|
563
|
-
"subtype": null,
|
|
564
|
-
"url": "https://services.arcgisonline.com/arcgis/rest/services/Ocean/World_Ocean_Base/MapServer"
|
|
565
|
-
},
|
|
566
|
-
"layerType": "ArcGISTiledMapServiceLayer"
|
|
567
|
-
},
|
|
568
|
-
"$type": "layer-extension"
|
|
569
|
-
},
|
|
570
|
-
{
|
|
571
|
-
"id": "26d48d71-19f2-4a7a-ad81-a7407f7c4aeb",
|
|
572
|
-
"layerListSettings": {
|
|
573
|
-
"childrenIncluded": false
|
|
574
|
-
},
|
|
575
|
-
"layer": {
|
|
576
|
-
"$ref": {
|
|
577
|
-
"id": "oceans-reference-layer",
|
|
578
|
-
"title": "World Ocean Reference",
|
|
579
|
-
"subtype": null,
|
|
580
|
-
"url": "https://cdn.arcgis.com/sharing/rest/content/items/89860a5baf424f3ea0c655115faababe/resources/styles/root.json"
|
|
581
|
-
},
|
|
582
|
-
"layerType": "VectorTileLayer"
|
|
583
|
-
},
|
|
584
|
-
"$type": "layer-extension"
|
|
585
|
-
},
|
|
586
96
|
{
|
|
587
97
|
"id": "7dd61cce-9f0c-4abc-9bad-84587f96080f",
|
|
588
98
|
"$type": "ground-extension"
|
|
@@ -654,7 +164,9 @@
|
|
|
654
164
|
"language-designer-gen-4a52c284-ccb6-4a55-a8d6-94b632d838ed-title-po3v85": "Results List",
|
|
655
165
|
"language-designer-gen-d14a8d22-a132-47cf-9d50-b9c759a97ebd-title-5b6mh4": "Results List",
|
|
656
166
|
"language-designer-gen-e1c66411-032e-412a-b41f-b9892dd5246d-title-7chj0o": "Legend",
|
|
657
|
-
"language-designer-gen-589a9171-58ec-426f-8d3c-c9360652a9ba-title-lfu0rk": "Tabs"
|
|
167
|
+
"language-designer-gen-589a9171-58ec-426f-8d3c-c9360652a9ba-title-lfu0rk": "Tabs",
|
|
168
|
+
"language-designer-gen-4a24e1d3-4476-4d68-b9cd-477d07659b38-title-ajmena": "Rows",
|
|
169
|
+
"language-designer-gen-785ddd77-43a4-4f2d-bba8-132f9cf8ca16-title-mdb366": "Results Table"
|
|
658
170
|
},
|
|
659
171
|
"$type": "language-resources"
|
|
660
172
|
},
|
|
@@ -984,13 +496,13 @@
|
|
|
984
496
|
],
|
|
985
497
|
"alternate": {
|
|
986
498
|
"title": "language-designer-gen-931927bb-e741-4ae8-ba08-e22b3daf8aa1-title-5khlzy",
|
|
499
|
+
"iconId": "theme-light",
|
|
987
500
|
"action": [
|
|
988
501
|
{
|
|
989
502
|
"name": "ui.set-theme",
|
|
990
503
|
"arguments": "light"
|
|
991
504
|
}
|
|
992
|
-
]
|
|
993
|
-
"iconId": "theme-light"
|
|
505
|
+
]
|
|
994
506
|
},
|
|
995
507
|
"$type": "menu-item"
|
|
996
508
|
},
|
|
@@ -1008,6 +520,7 @@
|
|
|
1008
520
|
],
|
|
1009
521
|
"alternate": {
|
|
1010
522
|
"title": "language-designer-gen-undefined-menuitemalttitle-g1abaj",
|
|
523
|
+
"iconId": "activate",
|
|
1011
524
|
"action": [
|
|
1012
525
|
{
|
|
1013
526
|
"name": "ui.deactivate",
|
|
@@ -1015,8 +528,7 @@
|
|
|
1015
528
|
"component": "item://split/root"
|
|
1016
529
|
}
|
|
1017
530
|
}
|
|
1018
|
-
]
|
|
1019
|
-
"iconId": "activate"
|
|
531
|
+
]
|
|
1020
532
|
},
|
|
1021
533
|
"$type": "menu-item"
|
|
1022
534
|
},
|
|
@@ -1062,6 +574,22 @@
|
|
|
1062
574
|
"id": "589a9171-58ec-426f-8d3c-c9360652a9ba",
|
|
1063
575
|
"title": "language-designer-gen-589a9171-58ec-426f-8d3c-c9360652a9ba-title-lfu0rk",
|
|
1064
576
|
"$type": "tabs"
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
"id": "4a24e1d3-4476-4d68-b9cd-477d07659b38",
|
|
580
|
+
"title": "language-designer-gen-4a24e1d3-4476-4d68-b9cd-477d07659b38-title-ajmena",
|
|
581
|
+
"$type": "stack"
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
"id": "785ddd77-43a4-4f2d-bba8-132f9cf8ca16",
|
|
585
|
+
"icon": "clipboard-table",
|
|
586
|
+
"title": "language-designer-gen-785ddd77-43a4-4f2d-bba8-132f9cf8ca16-title-mdb366",
|
|
587
|
+
"featureActions": "item://menu/96f74426-0050-4881-8d60-17e031419940",
|
|
588
|
+
"$type": "results"
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
"id": "96f74426-0050-4881-8d60-17e031419940",
|
|
592
|
+
"$type": "menu"
|
|
1065
593
|
}
|
|
1066
594
|
]
|
|
1067
595
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg id="a" data-name="RGB" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 778.21 778.21">
|
|
3
|
+
<defs>
|
|
4
|
+
<style>
|
|
5
|
+
.i {
|
|
6
|
+
fill: #323232;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.j {
|
|
10
|
+
fill: #f47c22;
|
|
11
|
+
}
|
|
12
|
+
</style>
|
|
13
|
+
</defs>
|
|
14
|
+
<g id="d" data-name="MINI LOGO">
|
|
15
|
+
<g id="e" data-name="LOGO">
|
|
16
|
+
<path class="j" d="M713.09,72.96h-396.78l5.81,6.85s52.5,54.19,119.01,122.51l.53.55h134.19v137.29l12.85,13.15c68.6,69.8,123.68,125.04,124.39,123.19,1.9-4.95,0-403.54,0-403.54Z"/>
|
|
17
|
+
<path class="i" d="M487.26,345.83h-175.53l200.88,206.05c-34.61,30.97-79.86,49.77-129.42,49.77-108.74,0-196.89-90.32-196.89-201.74,0-97.18,67.08-178.3,156.38-197.44l-79.58-78.91-14.01-16.26h-.05c-109.96,52.87-185.6,163.18-185.6,290.69,0,178.95,148.97,324.02,332.73,324.02,121.84,0,223.16-84.56,281.13-179.69,1.04-1.7,2.04-3.35,3.06-5.02l-193.1-191.47Z"/>
|
|
18
|
+
</g>
|
|
19
|
+
</g>
|
|
20
|
+
</svg>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg id="a" data-name="RGB" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 778.21 778.21">
|
|
3
|
+
<defs>
|
|
4
|
+
<style>
|
|
5
|
+
.i {
|
|
6
|
+
fill: #323232;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.j {
|
|
10
|
+
fill: #f47c22;
|
|
11
|
+
}
|
|
12
|
+
</style>
|
|
13
|
+
</defs>
|
|
14
|
+
<g id="d" data-name="MINI LOGO">
|
|
15
|
+
<g id="e" data-name="LOGO">
|
|
16
|
+
<path class="j" d="M713.09,72.96h-396.78l5.81,6.85s52.5,54.19,119.01,122.51l.53.55h134.19v137.29l12.85,13.15c68.6,69.8,123.68,125.04,124.39,123.19,1.9-4.95,0-403.54,0-403.54Z"/>
|
|
17
|
+
<path class="i" d="M487.26,345.83h-175.53l200.88,206.05c-34.61,30.97-79.86,49.77-129.42,49.77-108.74,0-196.89-90.32-196.89-201.74,0-97.18,67.08-178.3,156.38-197.44l-79.58-78.91-14.01-16.26h-.05c-109.96,52.87-185.6,163.18-185.6,290.69,0,178.95,148.97,324.02,332.73,324.02,121.84,0,223.16-84.56,281.13-179.69,1.04-1.7,2.04-3.35,3.06-5.02l-193.1-191.47Z"/>
|
|
18
|
+
</g>
|
|
19
|
+
</g>
|
|
20
|
+
</svg>
|
|
@@ -2,21 +2,24 @@
|
|
|
2
2
|
<split id="split-a5817a92" resizable="true" config="root">
|
|
3
3
|
<tabs xmlns="https://geocortex.com/layout/web/v1" id="tabs-543112c0" config="589a9171-58ec-426f-8d3c-c9360652a9ba" grow="0" width="30.714285714285715">
|
|
4
4
|
<workflow xmlns="https://geocortex.com/layout/v1" id="workflow-3581b6f4" active="false" config="workflow-config-1"/>
|
|
5
|
-
<results-list xmlns="https://geocortex.com/layout/v1" id="results-list-b080e39e" config="d14a8d22-a132-47cf-9d50-b9c759a97ebd"/>
|
|
6
|
-
<results-list xmlns="https://geocortex.com/layout/v1" id="results-list-3662ab43" config="4a52c284-ccb6-4a55-a8d6-94b632d838ed"/>
|
|
7
|
-
<feature-details xmlns="https://geocortex.com/layout/v1" id="feature-details-ec4c6c29" config="333edeb8-b651-4d17-b361-46fc5603c71d"/>
|
|
5
|
+
<results-list xmlns="https://geocortex.com/layout/v1" id="results-list-b080e39e" config="d14a8d22-a132-47cf-9d50-b9c759a97ebd" active="false"/>
|
|
6
|
+
<results-list xmlns="https://geocortex.com/layout/v1" id="results-list-3662ab43" config="4a52c284-ccb6-4a55-a8d6-94b632d838ed" active="false"/>
|
|
7
|
+
<feature-details xmlns="https://geocortex.com/layout/v1" id="feature-details-ec4c6c29" config="333edeb8-b651-4d17-b361-46fc5603c71d" active="false"/>
|
|
8
8
|
<legend xmlns="https://geocortex.com/layout/v1" id="legend-ab7f8a19" config="e1c66411-032e-412a-b41f-b9892dd5246d" models="#map-primary"/>
|
|
9
|
-
<layer-list xmlns="https://geocortex.com/layout/v1" id="layer-list-826e9f3a" config="c1aa340a-8a4c-4034-b397-f46157b14217" models="#map-primary"/>
|
|
9
|
+
<layer-list xmlns="https://geocortex.com/layout/v1" id="layer-list-826e9f3a" config="c1aa340a-8a4c-4034-b397-f46157b14217" models="#map-primary" active="true"/>
|
|
10
10
|
</tabs>
|
|
11
|
-
<
|
|
12
|
-
<
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
11
|
+
<stack id="stack-050de4f1" config="4a24e1d3-4476-4d68-b9cd-477d07659b38">
|
|
12
|
+
<map id="map-primary" config="default" grow="60">
|
|
13
|
+
<search id="search-2557a463" config="search-config-1" width="20" slot="top-end"/>
|
|
14
|
+
<button id="button-3c133eaf" config="a4f5334d-96c3-41e9-983e-75f10fc8b1c8"/>
|
|
15
|
+
<button id="button-9119cbb6" config="931927bb-e741-4ae8-ba08-e22b3daf8aa1"/>
|
|
16
|
+
<map-3d-toggle xmlns="https://geocortex.com/layout/web/v1" id="map-3d-toggle-376f6dd3" config="map-3d-toggle-config-1" slot="top-end"/>
|
|
17
|
+
<compass id="compass-b4586b9f" config="compass-config-1" slot="top-start"/>
|
|
18
|
+
<scalebar id="scalebar-39a846f2" config="scalebar-config-1" slot="bottom-start"/>
|
|
19
|
+
<button id="button-eb8881da" config="measure-button-config" show-title="false" slot="bottom-start"/>
|
|
20
|
+
<button id="button-801867d1" config="get-user-coordinates-button-config" show-title="false" slot="bottom-start"/>
|
|
21
|
+
</map>
|
|
22
|
+
<results-table xmlns="https://geocortex.com/layout/web/v1" id="results-table-c2cd355a" config="785ddd77-43a4-4f2d-bba8-132f9cf8ca16" grow="40" active="false"/>
|
|
23
|
+
</stack>
|
|
21
24
|
</split>
|
|
22
25
|
</layout>
|
|
@@ -152,6 +152,21 @@ export default merge(defaultWebpackConfig, {
|
|
|
152
152
|
return;
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
|
+
if (
|
|
156
|
+
url === "/favicon.ico" ||
|
|
157
|
+
url === "/favicon.svg" ||
|
|
158
|
+
url === "/viewer/default-favicon.ico" ||
|
|
159
|
+
url === "/viewer/favicon.ico"
|
|
160
|
+
) {
|
|
161
|
+
const faviconPath = path.resolve(process.cwd(), "app/favicon.svg");
|
|
162
|
+
if (fs.existsSync(faviconPath)) {
|
|
163
|
+
res.setHeader("Content-Type", "image/svg+xml");
|
|
164
|
+
res.setHeader("Access-Control-Allow-Origin", "*");
|
|
165
|
+
res.setHeader("Cache-Control", "public, max-age=86400");
|
|
166
|
+
res.end(fs.readFileSync(faviconPath));
|
|
167
|
+
return;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
155
170
|
next();
|
|
156
171
|
},
|
|
157
172
|
});
|