From 18060e3a8e00496fe6f044071fb472285d8d7e44 Mon Sep 17 00:00:00 2001 From: Marc Rempel Date: Wed, 6 Jul 2022 11:48:30 -0700 Subject: [PATCH] Added OE_WildfireRiskLegend module --- AMD_Modules/AMD_Modules.csproj | 46 ++++++++++++-- AMD_Modules/package-lock.json | 63 ++++++++++--------- AMD_Modules/packages.config | 4 ++ .../CSS/OE_WildfireRiskLegendModule.css | 27 ++++++++ .../src/OE_WildfireRiskLegend/Language.json | 4 ++ .../OE_WildfireRiskLegendModule.js | 31 +++++++++ .../OE_WildfireRiskLegendModule.js.map | 1 + .../OE_WildfireRiskLegendModule.ts | 20 ++++++ .../OE_WildfireRiskLegendView.html | 7 +++ .../OE_WildfireRiskLegendView.js | 32 ++++++++++ .../OE_WildfireRiskLegendView.js.map | 1 + .../OE_WildfireRiskLegendView.ts | 23 +++++++ .../OE_WildfireRiskLegendViewModel.js | 40 ++++++++++++ .../OE_WildfireRiskLegendViewModel.js.map | 1 + .../OE_WildfireRiskLegendViewModel.ts | 20 ++++++ .../src/OE_WildfireRiskLegend/readme.txt | 23 +++++++ AMD_Modules/web.Debug.config | 30 +++++++++ AMD_Modules/web.Release.config | 31 +++++++++ AMD_Modules/web.config | 15 +++++ Custom/Custom.csproj | 13 +++- Custom/web.config | 18 ++++-- .../Default/dev_configs/oitt/Desktop.json.js | 23 +++++++ Web/Web.csproj | 16 ++--- Web/web.config | 10 +-- 24 files changed, 446 insertions(+), 53 deletions(-) create mode 100644 AMD_Modules/packages.config create mode 100644 AMD_Modules/src/OE_WildfireRiskLegend/CSS/OE_WildfireRiskLegendModule.css create mode 100644 AMD_Modules/src/OE_WildfireRiskLegend/Language.json create mode 100644 AMD_Modules/src/OE_WildfireRiskLegend/OE_WildfireRiskLegendModule.js create mode 100644 AMD_Modules/src/OE_WildfireRiskLegend/OE_WildfireRiskLegendModule.js.map create mode 100644 AMD_Modules/src/OE_WildfireRiskLegend/OE_WildfireRiskLegendModule.ts create mode 100644 AMD_Modules/src/OE_WildfireRiskLegend/OE_WildfireRiskLegendView.html create mode 100644 AMD_Modules/src/OE_WildfireRiskLegend/OE_WildfireRiskLegendView.js create mode 100644 AMD_Modules/src/OE_WildfireRiskLegend/OE_WildfireRiskLegendView.js.map create mode 100644 AMD_Modules/src/OE_WildfireRiskLegend/OE_WildfireRiskLegendView.ts create mode 100644 AMD_Modules/src/OE_WildfireRiskLegend/OE_WildfireRiskLegendViewModel.js create mode 100644 AMD_Modules/src/OE_WildfireRiskLegend/OE_WildfireRiskLegendViewModel.js.map create mode 100644 AMD_Modules/src/OE_WildfireRiskLegend/OE_WildfireRiskLegendViewModel.ts create mode 100644 AMD_Modules/src/OE_WildfireRiskLegend/readme.txt create mode 100644 AMD_Modules/web.Debug.config create mode 100644 AMD_Modules/web.Release.config create mode 100644 AMD_Modules/web.config diff --git a/AMD_Modules/AMD_Modules.csproj b/AMD_Modules/AMD_Modules.csproj index 9f770efc..e2015be8 100644 --- a/AMD_Modules/AMD_Modules.csproj +++ b/AMD_Modules/AMD_Modules.csproj @@ -1,13 +1,13 @@  - + Debug {F1A10E10-48FF-47E3-8E58-E66700C01CC0} {349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} Library bin - v4.5.2 + v4.8 full true true @@ -18,7 +18,9 @@ - 3.7 + + + @@ -103,6 +105,12 @@ + + + + + + @@ -135,11 +143,23 @@ + + + + + + + + web.config + + + web.config + @@ -186,6 +206,9 @@ + + + @@ -213,6 +236,14 @@ + + + + + + + + 12.0 @@ -260,7 +291,6 @@ true false - call cd "$(SolutionDir)AMD_Modules" call "$(SolutionDir)AMD_Modules\post_build_modules.bat" @@ -269,4 +299,12 @@ call "$(SolutionDir)AMD_Modules\post_build_modules.bat" + + + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + + + + \ No newline at end of file diff --git a/AMD_Modules/package-lock.json b/AMD_Modules/package-lock.json index 58f0703d..80bbe1f2 100644 --- a/AMD_Modules/package-lock.json +++ b/AMD_Modules/package-lock.json @@ -689,15 +689,6 @@ "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz", "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=" }, - "copy-props": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/copy-props/-/copy-props-2.0.4.tgz", - "integrity": "sha512-7cjuUME+p+S3HZlbllgsn2CDwS+5eCCX16qBgNC4jgSTf49qR1VKy/Zhl400m0IQXl/bPGEVqncgUUMjrr4s8A==", - "requires": { - "each-props": "^1.3.0", - "is-plain-object": "^2.0.1" - } - }, "core-util-is": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", @@ -995,9 +986,9 @@ } }, "glob-parent": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.1.tgz", - "integrity": "sha512-FnI+VGOpnlGHWZxthPGR+QhR78fuiK0sNLkHQv+bL9fQi57lNNdquIbna/WrfROrolq8GK5Ek6BiMwqL/voRYQ==", + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", "dev": true, "requires": { "is-glob": "^4.0.1" @@ -1591,8 +1582,24 @@ "semver-greatest-satisfied-range": "^1.1.0", "v8flags": "^3.0.1", "yargs": "^7.1.0" + }, + "dependencies": { + "copy-props": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/copy-props/-/copy-props-2.0.5.tgz", + "integrity": "sha512-XBlx8HSqrT0ObQwmSzM7WE5k8FxTV75h1DX1Z3n6NhQ/UYYAvInWYmG06vFt7hQZArE2fuO62aihiWIVQwh1sw==", + "requires": { + "each-props": "^1.3.2", + "is-plain-object": "^5.0.0" + } + } } }, + "is-plain-object": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz", + "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==" + }, "yargs": { "version": "7.1.0", "resolved": "https://registry.npmjs.org/yargs/-/yargs-7.1.0.tgz", @@ -1617,16 +1624,17 @@ "version": "3.2.2", "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.2.tgz", "integrity": "sha512-uGZHXkHnhF0XeeAPgnKfPv1bgKAYyVvmNL1xlKsPYZPaIHxGti2hHqvOCQv71XMsLxu1QjergkqogUnms5D3YQ==" - }, - "yargs-parser": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-5.0.0.tgz", - "integrity": "sha1-J17PDX/+Bcd+ZOfIbkzZS/DhIoo=", - "requires": { - "camelcase": "^3.0.0" - } } } + }, + "yargs-parser": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-5.0.1.tgz", + "integrity": "sha512-wpav5XYiddjXxirPoCTUPbqM0PXvJ9hiBMvuJgInvo4/lAOTZzUprArw17q2O1P2+GHhbBr18/iQwjL5Z9BqfA==", + "requires": { + "camelcase": "^3.0.0", + "object.assign": "^4.1.0" + } } } }, @@ -1806,9 +1814,9 @@ }, "dependencies": { "ansi-regex": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", - "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", "dev": true }, "ansi-styles": { @@ -2619,9 +2627,9 @@ "dev": true }, "path-parse": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", - "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==" + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" }, "path-root": { "version": "0.1.1", @@ -3759,8 +3767,7 @@ "dependencies": { "ansi-regex": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", - "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==" + "resolved": "" }, "ansi-styles": { "version": "4.2.1", diff --git a/AMD_Modules/packages.config b/AMD_Modules/packages.config new file mode 100644 index 00000000..46365708 --- /dev/null +++ b/AMD_Modules/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/AMD_Modules/src/OE_WildfireRiskLegend/CSS/OE_WildfireRiskLegendModule.css b/AMD_Modules/src/OE_WildfireRiskLegend/CSS/OE_WildfireRiskLegendModule.css new file mode 100644 index 00000000..c918d8a5 --- /dev/null +++ b/AMD_Modules/src/OE_WildfireRiskLegend/CSS/OE_WildfireRiskLegendModule.css @@ -0,0 +1,27 @@ +/* +.region .view.TemplateModuleView.active { + margin: 0; +}*/ + +.wildfire-legend-view { + position: absolute; + z-index: 100; + width: 80px; + right: 3px; + background: white; + color: black; + padding: 6px; + border: 1px solid #333; + margin-top: 75px; + margin-right: 2px; +} + + .wildfire-legend-view:hover { + cursor: pointer; + } + +@media only screen and (max-width: 600px) { + .wildfire-legend-view { + margin-top: 3px; + } +} diff --git a/AMD_Modules/src/OE_WildfireRiskLegend/Language.json b/AMD_Modules/src/OE_WildfireRiskLegend/Language.json new file mode 100644 index 00000000..722bddcf --- /dev/null +++ b/AMD_Modules/src/OE_WildfireRiskLegend/Language.json @@ -0,0 +1,4 @@ +{ + "language-hello-world-greeting": "Hello, world.", + "language-hello-world-initialized": "Hello world! Template module initialized." +} \ No newline at end of file diff --git a/AMD_Modules/src/OE_WildfireRiskLegend/OE_WildfireRiskLegendModule.js b/AMD_Modules/src/OE_WildfireRiskLegend/OE_WildfireRiskLegendModule.js new file mode 100644 index 00000000..bfb54ed8 --- /dev/null +++ b/AMD_Modules/src/OE_WildfireRiskLegend/OE_WildfireRiskLegendModule.js @@ -0,0 +1,31 @@ +"use strict"; +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + } + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +exports.__esModule = true; +/// +/// +/// +/// +var ModuleBase_1 = require("geocortex/framework/application/ModuleBase"); +var OE_WildfireRiskLegendModule = /** @class */ (function (_super) { + __extends(OE_WildfireRiskLegendModule, _super); + function OE_WildfireRiskLegendModule(app, lib) { + return _super.call(this, app, lib) || this; + } + OE_WildfireRiskLegendModule.prototype.initialize = function (config) { + alert(this.app.getResource(this.libraryId, "language-hello-world-initialized")); + }; + return OE_WildfireRiskLegendModule; +}(ModuleBase_1.ModuleBase)); +exports.OE_WildfireRiskLegendModule = OE_WildfireRiskLegendModule; diff --git a/AMD_Modules/src/OE_WildfireRiskLegend/OE_WildfireRiskLegendModule.js.map b/AMD_Modules/src/OE_WildfireRiskLegend/OE_WildfireRiskLegendModule.js.map new file mode 100644 index 00000000..d377450f --- /dev/null +++ b/AMD_Modules/src/OE_WildfireRiskLegend/OE_WildfireRiskLegendModule.js.map @@ -0,0 +1 @@ +{"version":3,"file":"OE_WildfireRiskLegendModule.js","sourceRoot":"","sources":["OE_WildfireRiskLegendModule.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,iEAAiE;AACjE,gEAAgE;AAChE,mEAAmE;AACnE,6EAA6E;AAC7E,yEAAwE;AAGxE;IAAiD,+CAAU;IAIvD,qCAAY,GAAsB,EAAE,GAAW;eAC3C,kBAAM,GAAG,EAAE,GAAG,CAAC;IACnB,CAAC;IAED,gDAAU,GAAV,UAAW,MAAW;QAClB,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,WAAW,CAAC,IAAI,CAAC,SAAS,EAAE,kCAAkC,CAAC,CAAC,CAAC;IACpF,CAAC;IAEL,kCAAC;AAAD,CAAC,AAZD,CAAiD,uBAAU,GAY1D;AAZY,kEAA2B"} \ No newline at end of file diff --git a/AMD_Modules/src/OE_WildfireRiskLegend/OE_WildfireRiskLegendModule.ts b/AMD_Modules/src/OE_WildfireRiskLegend/OE_WildfireRiskLegendModule.ts new file mode 100644 index 00000000..a9413cbe --- /dev/null +++ b/AMD_Modules/src/OE_WildfireRiskLegend/OE_WildfireRiskLegendModule.ts @@ -0,0 +1,20 @@ +/// +/// +/// +/// +import { ModuleBase } from "geocortex/framework/application/ModuleBase"; +import { ViewerApplication } from "geocortex/infrastructure/Viewer"; + +export class OE_WildfireRiskLegendModule extends ModuleBase { + + app: ViewerApplication; + + constructor(app: ViewerApplication, lib: string) { + super(app, lib); + } + + initialize(config: any): void { + //alert(this.app.getResource(this.libraryId, "language-hello-world-initialized")); + } + +} \ No newline at end of file diff --git a/AMD_Modules/src/OE_WildfireRiskLegend/OE_WildfireRiskLegendView.html b/AMD_Modules/src/OE_WildfireRiskLegend/OE_WildfireRiskLegendView.html new file mode 100644 index 00000000..5c74dd90 --- /dev/null +++ b/AMD_Modules/src/OE_WildfireRiskLegend/OE_WildfireRiskLegendView.html @@ -0,0 +1,7 @@ +
+

Wildfire Risk

+
+
+ Wildfire Risk Legend +
+
\ No newline at end of file diff --git a/AMD_Modules/src/OE_WildfireRiskLegend/OE_WildfireRiskLegendView.js b/AMD_Modules/src/OE_WildfireRiskLegend/OE_WildfireRiskLegendView.js new file mode 100644 index 00000000..9e3a172c --- /dev/null +++ b/AMD_Modules/src/OE_WildfireRiskLegend/OE_WildfireRiskLegendView.js @@ -0,0 +1,32 @@ +"use strict"; +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OE_WildfireRiskLegendView = void 0; +/// +/// +/// +/// +var ViewBase_1 = require("geocortex/framework/ui/ViewBase"); +var OE_WildfireRiskLegendView = /** @class */ (function (_super) { + __extends(OE_WildfireRiskLegendView, _super); + function OE_WildfireRiskLegendView(app, lib) { + return _super.call(this, app, lib) || this; + } + return OE_WildfireRiskLegendView; +}(ViewBase_1.ViewBase)); +exports.OE_WildfireRiskLegendView = OE_WildfireRiskLegendView; +//# sourceMappingURL=OE_WildfireRiskLegendView.js.map \ No newline at end of file diff --git a/AMD_Modules/src/OE_WildfireRiskLegend/OE_WildfireRiskLegendView.js.map b/AMD_Modules/src/OE_WildfireRiskLegend/OE_WildfireRiskLegendView.js.map new file mode 100644 index 00000000..4e968bda --- /dev/null +++ b/AMD_Modules/src/OE_WildfireRiskLegend/OE_WildfireRiskLegendView.js.map @@ -0,0 +1 @@ +{"version":3,"file":"OE_WildfireRiskLegendView.js","sourceRoot":"","sources":["OE_WildfireRiskLegendView.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,iEAAiE;AACjE,gEAAgE;AAChE,mEAAmE;AACnE,6EAA6E;AAC7E,4DAA2D;AAG3D;IAA+C,6CAAQ;IAInD,mCAAY,GAAsB,EAAE,GAAW;eAC3C,kBAAM,GAAG,EAAE,GAAG,CAAC;IACnB,CAAC;IACL,gCAAC;AAAD,CAAC,AAPD,CAA+C,mBAAQ,GAOtD;AAPY,8DAAyB"} \ No newline at end of file diff --git a/AMD_Modules/src/OE_WildfireRiskLegend/OE_WildfireRiskLegendView.ts b/AMD_Modules/src/OE_WildfireRiskLegend/OE_WildfireRiskLegendView.ts new file mode 100644 index 00000000..c221d04f --- /dev/null +++ b/AMD_Modules/src/OE_WildfireRiskLegend/OE_WildfireRiskLegendView.ts @@ -0,0 +1,23 @@ +/// +/// +/// +/// +import { ViewBase } from "geocortex/framework/ui/ViewBase"; +import { ViewerApplication } from "geocortex/infrastructure/Viewer"; +import { OE_WildfireRiskLegendViewModel } from './OE_WildfireRiskLegendViewModel'; + +export class OE_WildfireRiskLegendView extends ViewBase { + + app: ViewerApplication; + viewModel: OE_WildfireRiskLegendViewModel; + + constructor(app: ViewerApplication, lib: string) { + super(app, lib); + } + + toggleWildfireLegend = function (_event: any, _element: any, _context: any) { + console.log('toggling!', this.viewModel); + this.viewModel.showLegend.set(!this.viewModel.showLegend.get()); + return true; + }; +} \ No newline at end of file diff --git a/AMD_Modules/src/OE_WildfireRiskLegend/OE_WildfireRiskLegendViewModel.js b/AMD_Modules/src/OE_WildfireRiskLegend/OE_WildfireRiskLegendViewModel.js new file mode 100644 index 00000000..bd80d5b4 --- /dev/null +++ b/AMD_Modules/src/OE_WildfireRiskLegend/OE_WildfireRiskLegendViewModel.js @@ -0,0 +1,40 @@ +"use strict"; +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OE_WildfireRiskLegendViewModel = void 0; +/// +/// +/// +/// +var ViewModelBase_1 = require("geocortex/framework/ui/ViewModelBase"); +var observables_1 = require("geocortex/framework/observables"); +var OE_WildfireRiskLegendViewModel = /** @class */ (function (_super) { + __extends(OE_WildfireRiskLegendViewModel, _super); + function OE_WildfireRiskLegendViewModel(app, lib) { + var _this = _super.call(this, app, lib) || this; + _this.greeting = new observables_1.Observable(); + return _this; + } + OE_WildfireRiskLegendViewModel.prototype.initialize = function (config) { + if (config) { + this.greeting.set(config["greeting"] || this.app.getResource(this.libraryId, "language-hello-world-greeting")); + } + }; + return OE_WildfireRiskLegendViewModel; +}(ViewModelBase_1.ViewModelBase)); +exports.OE_WildfireRiskLegendViewModel = OE_WildfireRiskLegendViewModel; +//# sourceMappingURL=OE_WildfireRiskLegendViewModel.js.map \ No newline at end of file diff --git a/AMD_Modules/src/OE_WildfireRiskLegend/OE_WildfireRiskLegendViewModel.js.map b/AMD_Modules/src/OE_WildfireRiskLegend/OE_WildfireRiskLegendViewModel.js.map new file mode 100644 index 00000000..d338fd29 --- /dev/null +++ b/AMD_Modules/src/OE_WildfireRiskLegend/OE_WildfireRiskLegendViewModel.js.map @@ -0,0 +1 @@ +{"version":3,"file":"OE_WildfireRiskLegendViewModel.js","sourceRoot":"","sources":["OE_WildfireRiskLegendViewModel.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,iEAAiE;AACjE,gEAAgE;AAChE,mEAAmE;AACnE,6EAA6E;AAC7E,sEAAqE;AAErE,+DAA6D;AAE7D;IAAoD,kDAAa;IAK7D,wCAAY,GAAsB,EAAE,GAAW;QAA/C,YACI,kBAAM,GAAG,EAAE,GAAG,CAAC,SAClB;QAJD,cAAQ,GAAuB,IAAI,wBAAU,EAAU,CAAC;;IAIxD,CAAC;IAED,mDAAU,GAAV,UAAW,MAAW;QAElB,IAAI,MAAM,EAAE;YACR,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,UAAU,CAAC,IAAI,IAAI,CAAC,GAAG,CAAC,WAAW,CAAC,IAAI,CAAC,SAAS,EAAE,+BAA+B,CAAC,CAAC,CAAC;SAClH;IACL,CAAC;IACL,qCAAC;AAAD,CAAC,AAfD,CAAoD,6BAAa,GAehE;AAfY,wEAA8B"} \ No newline at end of file diff --git a/AMD_Modules/src/OE_WildfireRiskLegend/OE_WildfireRiskLegendViewModel.ts b/AMD_Modules/src/OE_WildfireRiskLegend/OE_WildfireRiskLegendViewModel.ts new file mode 100644 index 00000000..dbf6260b --- /dev/null +++ b/AMD_Modules/src/OE_WildfireRiskLegend/OE_WildfireRiskLegendViewModel.ts @@ -0,0 +1,20 @@ +/// +/// +/// +/// +import { ViewModelBase } from "geocortex/framework/ui/ViewModelBase"; +import { ViewerApplication } from "geocortex/infrastructure/Viewer"; +import { Observable } from "geocortex/framework/observables"; + +export class OE_WildfireRiskLegendViewModel extends ViewModelBase { + + app: ViewerApplication; + showLegend: Observable = new Observable(true); + + constructor(app: ViewerApplication, lib: string) { + super(app, lib); + } + + initialize(config: any): void { + } +} \ No newline at end of file diff --git a/AMD_Modules/src/OE_WildfireRiskLegend/readme.txt b/AMD_Modules/src/OE_WildfireRiskLegend/readme.txt new file mode 100644 index 00000000..29c24734 --- /dev/null +++ b/AMD_Modules/src/OE_WildfireRiskLegend/readme.txt @@ -0,0 +1,23 @@ +{ + "moduleName": "OE_WildfireRiskLegend", + "libraryId": "OE_AMD", + "require": "geocortex/oe_amd/OE_WildfireRiskLegend/OE_WildfireRiskLegendModule", + "views": [{ + "id": "OE_WildfireRiskLegend", + "require": "geocortex/oe_amd/OE_WildfireRiskLegend/OE_WildfireRiskLegendView", + "markup": "geocortex/oe_amd/OE_WildfireRiskLegend/OE_WildfireRiskLegendView.html", + "viewModelId": "OE_WildfireRiskLegendViewModel", + "title": "Wildfire Risk Legend", + "visible": true, + "region": "MiddleRightMapRegion", + "configuration": { + } + }], + "viewModels": [ + { + "id": "OE_WildfireRiskLegendViewModel", + "require": "geocortex/oe_amd/OE_WildfireRiskLegend/OE_WildfireRiskLegendViewModel", + "configuration": {} + }], + "configuration": {} + }, \ No newline at end of file diff --git a/AMD_Modules/web.Debug.config b/AMD_Modules/web.Debug.config new file mode 100644 index 00000000..fae9cfef --- /dev/null +++ b/AMD_Modules/web.Debug.config @@ -0,0 +1,30 @@ + + + + + + + + + + \ No newline at end of file diff --git a/AMD_Modules/web.Release.config b/AMD_Modules/web.Release.config new file mode 100644 index 00000000..da6e960b --- /dev/null +++ b/AMD_Modules/web.Release.config @@ -0,0 +1,31 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/AMD_Modules/web.config b/AMD_Modules/web.config new file mode 100644 index 00000000..67ba1d1d --- /dev/null +++ b/AMD_Modules/web.config @@ -0,0 +1,15 @@ + + + + + + + + \ No newline at end of file diff --git a/Custom/Custom.csproj b/Custom/Custom.csproj index 7376506c..967a5faa 100644 --- a/Custom/Custom.csproj +++ b/Custom/Custom.csproj @@ -1,5 +1,5 @@  - + @@ -8,7 +8,7 @@ {349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} Library bin - v4.5 + v4.8 full true true @@ -19,6 +19,7 @@ + 10.0 @@ -99,6 +100,14 @@ web.config + + + + + + + + ES3 False diff --git a/Custom/web.config b/Custom/web.config index 787aa09c..a3731a0b 100644 --- a/Custom/web.config +++ b/Custom/web.config @@ -1,9 +1,15 @@  + + + + + + \ No newline at end of file diff --git a/Web/Resources/Config/Default/dev_configs/oitt/Desktop.json.js b/Web/Resources/Config/Default/dev_configs/oitt/Desktop.json.js index a4c9c776..26b12c3e 100644 --- a/Web/Resources/Config/Default/dev_configs/oitt/Desktop.json.js +++ b/Web/Resources/Config/Default/dev_configs/oitt/Desktop.json.js @@ -117,6 +117,29 @@ "require": "geocortex/oe_amd/OE_Utility/OE_UtilityModule", "configuration": {} }, + { + "moduleName": "OE_WildfireRiskLegend", + "libraryId": "OE_AMD", + "require": "geocortex/oe_amd/OE_WildfireRiskLegend/OE_WildfireRiskLegendModule", + "views": [{ + "id": "OE_WildfireRiskLegend", + "require": "geocortex/oe_amd/OE_WildfireRiskLegend/OE_WildfireRiskLegendView", + "markup": "geocortex/oe_amd/OE_WildfireRiskLegend/OE_WildfireRiskLegendView.html", + "viewModelId": "OE_WildfireRiskLegendViewModel", + "title": "Wildfire Risk Legend", + "visible": true, + "region": "MiddleRightMapRegion", + "configuration": { + } + }], + "viewModels": [ + { + "id": "OE_WildfireRiskLegendViewModel", + "require": "geocortex/oe_amd/OE_WildfireRiskLegend/OE_WildfireRiskLegendViewModel", + "configuration": {} + }], + "configuration": {} + }, { "moduleName": "OE_Graphics", "libraryId": "OE_AMD", diff --git a/Web/Web.csproj b/Web/Web.csproj index f2c9847b..ec833833 100644 --- a/Web/Web.csproj +++ b/Web/Web.csproj @@ -1,5 +1,5 @@  - + @@ -15,10 +15,9 @@ Properties Web Web - v4.5 + v4.8 true - - + 44314 @@ -27,6 +26,7 @@ + true @@ -60,22 +60,21 @@ + - - - + @@ -99,6 +98,7 @@ + @@ -652,7 +652,7 @@ True 54104 / - http://localhost:44320 + https://localhost:44314 False False diff --git a/Web/web.config b/Web/web.config index 7d8f78ef..b509ece3 100644 --- a/Web/web.config +++ b/Web/web.config @@ -13,9 +13,9 @@ - + - + - + @@ -38,8 +38,8 @@ - - + +