@esri/solutions-components 0.10.2 → 0.10.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +2 -2
- package/dist/cjs/buffer-tools_3.cjs.entry.js +2 -2
- package/dist/cjs/calcite-action-pad_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-alert_4.cjs.entry.js +12 -10
- package/dist/cjs/calcite-block_5.cjs.entry.js +4 -4
- package/dist/cjs/calcite-dropdown-group_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-flow_6.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +5 -5
- package/dist/cjs/card-manager_3.cjs.entry.js +7 -6
- package/dist/cjs/{common-4d4cf291.js → common-61b41813.js} +1 -1
- package/dist/cjs/consent-manager.cjs.entry.js +2 -2
- package/dist/cjs/crowdsource-manager.cjs.entry.js +5 -6
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +2 -2
- package/dist/cjs/{downloadUtils-48ffc5b3.js → downloadUtils-b757205e.js} +5 -5
- package/dist/cjs/feature-list.cjs.entry.js +6 -6
- package/dist/cjs/{helpers-6f7660d4.js → helpers-1deec961.js} +1 -1
- package/dist/cjs/{index.es-9e361fa2.js → index.es-6c8b7d64.js} +5 -5
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-create.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-export-views.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-export.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-header.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-popover.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-sign-in.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-splash.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-time-filter.cjs.entry.js +4 -4
- package/dist/cjs/{languageSwitcher-f0bb94fa.js → languageSwitcher-dc2dd354.js} +1 -1
- package/dist/cjs/{languageUtil-f22ce913.js → languageUtil-a3e1eafd.js} +1 -1
- package/dist/cjs/layout-manager.cjs.entry.js +2 -2
- package/dist/cjs/{loadModules-36d49819.js → loadModules-8567855e.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{locale-2dc1252d.js → locale-4e7fe921.js} +1 -1
- package/dist/cjs/{locale-239118c6.js → locale-a1bcb6eb.js} +2 -2
- package/dist/cjs/map-select-tools_3.cjs.entry.js +33 -24
- package/dist/cjs/{popupUtils-b771f498.js → popupUtils-2b5ec788.js} +2 -2
- package/dist/cjs/public-notification.cjs.entry.js +13 -10
- package/dist/cjs/{restHelpersGet-88ba0e25.js → restHelpersGet-bf484fda.js} +24 -20
- package/dist/cjs/solution-configuration.cjs.entry.js +6 -6
- package/dist/cjs/solution-contents_3.cjs.entry.js +6 -6
- package/dist/cjs/{solution-resource-16c7510c.js → solution-resource-57cf345b.js} +1 -1
- package/dist/cjs/{solution-store-747a28ab.js → solution-store-71bb46fa.js} +65 -58
- package/dist/cjs/solutions-components.cjs.js +1 -1
- package/dist/cjs/spatial-ref.cjs.entry.js +4 -4
- package/dist/cjs/store-manager.cjs.entry.js +4 -4
- package/dist/cjs/{templates-2f44c01b.js → templates-e4b98319.js} +2 -2
- package/dist/cjs/{utils-e486aa01.js → utils-b43fe04f.js} +1 -1
- package/dist/collection/components/card-manager/card-manager.js +20 -1
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +3 -22
- package/dist/collection/components/edit-card/edit-card.js +21 -2
- package/dist/collection/components/info-card/info-card.js +21 -2
- package/dist/collection/components/map-select-tools/map-select-tools.js +81 -18
- package/dist/collection/components/public-notification/public-notification.js +62 -5
- package/dist/collection/components/refine-selection/refine-selection.js +1 -1
- package/dist/collection/utils/interfaces.ts +3 -0
- package/dist/collection/utils/pdfUtils.js +1 -1
- package/dist/collection/utils/pdfUtils.ts +1 -1
- package/dist/components/card-manager2.js +3 -1
- package/dist/components/crowdsource-manager.js +3 -5
- package/dist/components/downloadUtils.js +1 -1
- package/dist/components/edit-card2.js +4 -2
- package/dist/components/info-card2.js +4 -2
- package/dist/components/map-select-tools2.js +30 -18
- package/dist/components/public-notification.js +11 -5
- package/dist/components/refine-selection2.js +1 -1
- package/dist/components/restHelpersGet.js +23 -19
- package/dist/components/solution-resource.js +1 -1
- package/dist/components/solution-store.js +63 -56
- package/dist/esm/basemap-gallery_7.entry.js +2 -2
- package/dist/esm/buffer-tools_3.entry.js +2 -2
- package/dist/esm/calcite-action-pad_2.entry.js +2 -2
- package/dist/esm/calcite-alert_4.entry.js +12 -10
- package/dist/esm/calcite-block_5.entry.js +4 -4
- package/dist/esm/calcite-dropdown-group_2.entry.js +2 -2
- package/dist/esm/calcite-flow_6.entry.js +2 -2
- package/dist/esm/calcite-shell-panel_14.entry.js +5 -5
- package/dist/esm/card-manager_3.entry.js +7 -6
- package/dist/esm/{common-3b99e350.js → common-1618d62f.js} +1 -1
- package/dist/esm/consent-manager.entry.js +2 -2
- package/dist/esm/crowdsource-manager.entry.js +5 -6
- package/dist/esm/crowdsource-reporter.entry.js +2 -2
- package/dist/esm/{downloadUtils-abb8cda2.js → downloadUtils-16c51b10.js} +5 -5
- package/dist/esm/feature-list.entry.js +6 -6
- package/dist/esm/{helpers-62213648.js → helpers-2298687e.js} +1 -1
- package/dist/esm/{index.es-9283e62c.js → index.es-d950915a.js} +5 -5
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +5 -5
- package/dist/esm/instant-apps-control-panel.entry.js +2 -2
- package/dist/esm/instant-apps-create.entry.js +4 -4
- package/dist/esm/instant-apps-export-views.entry.js +4 -4
- package/dist/esm/instant-apps-export.entry.js +4 -4
- package/dist/esm/instant-apps-header.entry.js +2 -2
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend.entry.js +5 -5
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +4 -4
- package/dist/esm/instant-apps-language-switcher.entry.js +6 -6
- package/dist/esm/instant-apps-language-translator.entry.js +6 -6
- package/dist/esm/instant-apps-measurement.entry.js +4 -4
- package/dist/esm/instant-apps-popover.entry.js +4 -4
- package/dist/esm/instant-apps-scoreboard.entry.js +4 -4
- package/dist/esm/instant-apps-sign-in.entry.js +4 -4
- package/dist/esm/instant-apps-splash.entry.js +4 -4
- package/dist/esm/instant-apps-time-filter.entry.js +4 -4
- package/dist/esm/{languageSwitcher-b665499d.js → languageSwitcher-9db90f1e.js} +1 -1
- package/dist/esm/{languageUtil-a3e6adf6.js → languageUtil-2b6e191a.js} +1 -1
- package/dist/esm/layout-manager.entry.js +2 -2
- package/dist/esm/{loadModules-9c062d08.js → loadModules-03ba7abe.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{locale-e758c2ee.js → locale-7162b55a.js} +1 -1
- package/dist/esm/{locale-35ebf4af.js → locale-adb5ff0b.js} +2 -2
- package/dist/esm/map-select-tools_3.entry.js +33 -24
- package/dist/esm/{popupUtils-9b2b0aba.js → popupUtils-44f11275.js} +2 -2
- package/dist/esm/public-notification.entry.js +13 -10
- package/dist/esm/{restHelpersGet-788d7f7b.js → restHelpersGet-0a15c2f4.js} +24 -20
- package/dist/esm/solution-configuration.entry.js +6 -6
- package/dist/esm/solution-contents_3.entry.js +6 -6
- package/dist/esm/{solution-resource-966f8511.js → solution-resource-ab63a236.js} +1 -1
- package/dist/esm/{solution-store-0586e891.js → solution-store-e2690620.js} +65 -58
- package/dist/esm/solutions-components.js +1 -1
- package/dist/esm/spatial-ref.entry.js +4 -4
- package/dist/esm/store-manager.entry.js +4 -4
- package/dist/esm/{templates-9330d7b8.js → templates-9556eb87.js} +2 -2
- package/dist/esm/{utils-72a48b01.js → utils-178e7afe.js} +1 -1
- package/dist/solutions-components/{p-71452a4e.entry.js → p-002c97df.entry.js} +1 -1
- package/dist/solutions-components/{p-08b0e478.js → p-00b26aac.js} +2 -2
- package/dist/solutions-components/{p-f2ac5d0e.js → p-1904654e.js} +1 -1
- package/dist/solutions-components/{p-e9aba912.entry.js → p-1b9aa18e.entry.js} +1 -1
- package/dist/solutions-components/p-235bf02e.entry.js +6 -0
- package/dist/solutions-components/{p-beeccd19.entry.js → p-24b3aedc.entry.js} +1 -1
- package/dist/solutions-components/p-2727a29c.entry.js +6 -0
- package/dist/solutions-components/{p-f067a46c.js → p-2fa78dd8.js} +1 -1
- package/dist/solutions-components/{p-c742acd9.js → p-2fc63144.js} +1 -1
- package/dist/solutions-components/{p-65283b75.entry.js → p-3438cbc4.entry.js} +1 -1
- package/dist/solutions-components/{p-1176ec70.entry.js → p-38cfa3cd.entry.js} +1 -1
- package/dist/solutions-components/p-3b426576.entry.js +6 -0
- package/dist/solutions-components/{p-de30afd0.entry.js → p-425a1dab.entry.js} +1 -1
- package/dist/solutions-components/{p-29962ae5.entry.js → p-4848b48f.entry.js} +1 -1
- package/dist/solutions-components/{p-73ef6866.js → p-4b3cc01f.js} +3 -3
- package/dist/solutions-components/{p-65581d83.js → p-4cd4cb85.js} +1 -1
- package/dist/solutions-components/{p-2d03b0d7.entry.js → p-5b818d29.entry.js} +1 -1
- package/dist/solutions-components/{p-787a4789.entry.js → p-5c999087.entry.js} +1 -1
- package/dist/solutions-components/{p-32f5c6ec.entry.js → p-69cfa9e6.entry.js} +1 -1
- package/dist/solutions-components/{p-51cfb4a6.entry.js → p-6b30ca36.entry.js} +1 -1
- package/dist/solutions-components/{p-4b843bc0.entry.js → p-6de944af.entry.js} +1 -1
- package/dist/solutions-components/{p-4a0838c0.entry.js → p-78712b70.entry.js} +1 -1
- package/dist/solutions-components/{p-ee87a7b0.entry.js → p-7af4c00e.entry.js} +3 -3
- package/dist/solutions-components/{p-09d62c22.js → p-7bfecd07.js} +1 -1
- package/dist/solutions-components/{p-07053ee3.entry.js → p-80e6c7cb.entry.js} +1 -1
- package/dist/solutions-components/{p-ef493a84.entry.js → p-86e6b5b3.entry.js} +1 -1
- package/dist/solutions-components/{p-81f62cf5.entry.js → p-88d4db61.entry.js} +1 -1
- package/dist/solutions-components/{p-13f83a1a.entry.js → p-8a6fa619.entry.js} +1 -1
- package/dist/solutions-components/{p-e05894a6.entry.js → p-8b999a2b.entry.js} +1 -1
- package/dist/solutions-components/{p-614edd9f.entry.js → p-8e8b92b4.entry.js} +1 -1
- package/dist/solutions-components/{p-a759e0e5.js → p-90d6755b.js} +1 -1
- package/dist/solutions-components/{p-f4828ba4.entry.js → p-932f22b5.entry.js} +1 -1
- package/dist/solutions-components/{p-afad4f05.js → p-a091bc9a.js} +1 -1
- package/dist/solutions-components/{p-a7b05a79.entry.js → p-a22b8cc1.entry.js} +1 -1
- package/dist/solutions-components/{p-a7710355.js → p-a860f365.js} +8 -7
- package/dist/solutions-components/{p-2cff27c5.js → p-a8e6463b.js} +2 -2
- package/dist/solutions-components/{p-7efb5ef0.entry.js → p-a9818be2.entry.js} +1 -1
- package/dist/solutions-components/{p-3e84a420.entry.js → p-ab2adcaf.entry.js} +1 -1
- package/dist/solutions-components/{p-4c0b8e55.entry.js → p-abc9e858.entry.js} +1 -1
- package/dist/solutions-components/{p-af2c8aa9.js → p-ac122d9e.js} +1 -1
- package/dist/solutions-components/{p-ed9b7fa1.entry.js → p-b19ca04e.entry.js} +1 -1
- package/dist/solutions-components/{p-fb0fdc0d.entry.js → p-b7cec3bd.entry.js} +1 -1
- package/dist/solutions-components/p-b80bcd0b.entry.js +6 -0
- package/dist/solutions-components/{p-92744164.entry.js → p-b850796d.entry.js} +1 -1
- package/dist/solutions-components/{p-7c583516.js → p-badcaf04.js} +1 -1
- package/dist/solutions-components/{p-a2150807.entry.js → p-c6473b38.entry.js} +1 -1
- package/dist/solutions-components/{p-f341b87e.entry.js → p-d57736d0.entry.js} +1 -1
- package/dist/solutions-components/{p-09b47605.js → p-d7868dd4.js} +1 -1
- package/dist/solutions-components/{p-f7d822f7.entry.js → p-d8047d8f.entry.js} +1 -1
- package/dist/solutions-components/{p-386429a4.entry.js → p-dc17b638.entry.js} +1 -1
- package/dist/solutions-components/{p-02d3d3e9.entry.js → p-e3e593db.entry.js} +2 -2
- package/dist/solutions-components/{p-00786a30.entry.js → p-edd70ba3.entry.js} +1 -1
- package/dist/solutions-components/{p-6f836c0a.entry.js → p-ef6567ae.entry.js} +1 -1
- package/dist/solutions-components/{p-0bf41dfd.entry.js → p-f59b4183.entry.js} +1 -1
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/interfaces.ts +3 -0
- package/dist/solutions-components/utils/pdfUtils.ts +1 -1
- package/dist/types/components/card-manager/card-manager.d.ts +4 -0
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +0 -4
- package/dist/types/components/edit-card/edit-card.d.ts +4 -0
- package/dist/types/components/info-card/info-card.d.ts +4 -0
- package/dist/types/components/map-select-tools/map-select-tools.d.ts +12 -0
- package/dist/types/components/public-notification/public-notification.d.ts +12 -0
- package/dist/types/components.d.ts +72 -8
- package/dist/types/utils/interfaces.d.ts +3 -0
- package/package.json +1 -1
- package/dist/solutions-components/p-2977bdbf.entry.js +0 -6
- package/dist/solutions-components/p-d0432926.entry.js +0 -6
- package/dist/solutions-components/p-d1fd4a53.entry.js +0 -6
- package/dist/solutions-components/p-f26423c7.entry.js +0 -6
- package/dist/solutions-components_commit.txt +0 -8
- /package/dist/cjs/{esri-loader-a56cbcbe.js → esri-loader-08dc41bd.js} +0 -0
- /package/dist/esm/{esri-loader-781d738a.js → esri-loader-c6842c6b.js} +0 -0
- /package/dist/solutions-components/{p-6a68306c.js → p-0a24ad5f.js} +0 -0
- /package/dist/solutions-components/{p-659678f1.js → p-9fe07c30.js} +0 -0
@@ -8,8 +8,8 @@
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
9
9
|
|
10
10
|
const index = require('./index-696e53e6.js');
|
11
|
-
const locale = require('./locale-
|
12
|
-
require('./esri-loader-
|
11
|
+
const locale = require('./locale-4e7fe921.js');
|
12
|
+
require('./esri-loader-08dc41bd.js');
|
13
13
|
require('./_commonjsHelpers-baf43783.js');
|
14
14
|
|
15
15
|
const basemapGalleryCss = ":host{display:block}";
|
@@ -8,11 +8,11 @@
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
9
9
|
|
10
10
|
const index = require('./index-696e53e6.js');
|
11
|
-
const locale = require('./locale-
|
11
|
+
const locale = require('./locale-4e7fe921.js');
|
12
12
|
const dom = require('./dom-93443cc1.js');
|
13
13
|
const interfaces = require('./interfaces-09c4c40e.js');
|
14
14
|
const publicNotificationStore = require('./publicNotificationStore-8d2558c6.js');
|
15
|
-
require('./esri-loader-
|
15
|
+
require('./esri-loader-08dc41bd.js');
|
16
16
|
require('./_commonjsHelpers-baf43783.js');
|
17
17
|
require('./guid-9a92730c.js');
|
18
18
|
require('./resources-543ff11e.js');
|
@@ -15,13 +15,13 @@ const locale = require('./locale-4d226d16.js');
|
|
15
15
|
const t9n = require('./t9n-d102c87b.js');
|
16
16
|
const ExpandToggle = require('./ExpandToggle-754dc404.js');
|
17
17
|
const observers = require('./observers-304eec4e.js');
|
18
|
-
const loadModules = require('./loadModules-
|
18
|
+
const loadModules = require('./loadModules-8567855e.js');
|
19
19
|
require('./guid-9a92730c.js');
|
20
20
|
require('./resources-543ff11e.js');
|
21
21
|
require('./key-f95b815e.js');
|
22
22
|
require('./resources-93e789d7.js');
|
23
23
|
require('./resources-82ee012d.js');
|
24
|
-
require('./esri-loader-
|
24
|
+
require('./esri-loader-08dc41bd.js');
|
25
25
|
require('./_commonjsHelpers-baf43783.js');
|
26
26
|
|
27
27
|
/*!
|
@@ -15,19 +15,19 @@ const locale = require('./locale-4d226d16.js');
|
|
15
15
|
const openCloseComponent = require('./openCloseComponent-7cf2d6c4.js');
|
16
16
|
const t9n = require('./t9n-d102c87b.js');
|
17
17
|
const resources = require('./resources-f65f6a7c.js');
|
18
|
-
const locale$1 = require('./locale-
|
18
|
+
const locale$1 = require('./locale-4e7fe921.js');
|
19
19
|
const mapViewUtils = require('./mapViewUtils-8d4da732.js');
|
20
|
-
const popupUtils = require('./popupUtils-
|
20
|
+
const popupUtils = require('./popupUtils-2b5ec788.js');
|
21
21
|
require('./guid-9a92730c.js');
|
22
22
|
require('./resources-543ff11e.js');
|
23
23
|
require('./key-f95b815e.js');
|
24
24
|
require('./observers-304eec4e.js');
|
25
|
-
require('./esri-loader-
|
25
|
+
require('./esri-loader-08dc41bd.js');
|
26
26
|
require('./_commonjsHelpers-baf43783.js');
|
27
27
|
require('./interfaces-09c4c40e.js');
|
28
|
-
require('./downloadUtils-
|
29
|
-
require('./solution-resource-
|
30
|
-
require('./restHelpersGet-
|
28
|
+
require('./downloadUtils-b757205e.js');
|
29
|
+
require('./solution-resource-57cf345b.js');
|
30
|
+
require('./restHelpersGet-bf484fda.js');
|
31
31
|
|
32
32
|
/*!
|
33
33
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
@@ -506,6 +506,7 @@ const EditCard = class {
|
|
506
506
|
this.closeEdit = index.createEvent(this, "closeEdit", 7);
|
507
507
|
this.editsComplete = index.createEvent(this, "editsComplete", 7);
|
508
508
|
this.refreshGraphics = index.createEvent(this, "refreshGraphics", 7);
|
509
|
+
this.enableEditGeometry = false;
|
509
510
|
this.graphics = undefined;
|
510
511
|
this.mapView = undefined;
|
511
512
|
this.open = false;
|
@@ -670,7 +671,7 @@ const EditCard = class {
|
|
670
671
|
!this.graphics[0].layer.editingEnabled : true;
|
671
672
|
const tableNodeClass = this._editorLoading ? "display-none" : "position-absolute";
|
672
673
|
const loadingClass = this._editorLoading ? "" : "display-none";
|
673
|
-
return (index.h(index.Host, { key: '
|
674
|
+
return (index.h(index.Host, { key: '5f81ea077d226b6bccf489c0628bf425df078d3a' }, index.h("div", { key: 'b66be8fe337bdedfe55d5897d044e5d2f6741c7e', class: "position-absolute" }, editDisabled ? (index.h("calcite-notice", { kind: "warning", open: true, slot: "content-top", width: "full" }, index.h("div", { slot: "message" }, this._translations.enableEditing))) : undefined, index.h("div", { key: '58c7c0ff41141280c69d6477b3699bc6960b7a0a', class: "position-absolute" }, index.h("div", { key: '6b853f84699c0dcbeb867c13b7cd84f6316d87a9', class: tableNodeClass, id: "feature-form", ref: (el) => this._editContainer = el }), index.h("calcite-loader", { key: '2a30bcd6e2fad7f65d16b167cf9d1cdc7549ca01', class: loadingClass, label: "", scale: "s" })))));
|
674
675
|
}
|
675
676
|
//--------------------------------------------------------------------------
|
676
677
|
//
|
@@ -703,7 +704,7 @@ const EditCard = class {
|
|
703
704
|
const layerInfos = layers.map(layer => {
|
704
705
|
return {
|
705
706
|
layer,
|
706
|
-
geometryUpdatesEnabled:
|
707
|
+
geometryUpdatesEnabled: this.enableEditGeometry
|
707
708
|
};
|
708
709
|
});
|
709
710
|
this._editor = new this.Editor({
|
@@ -789,6 +790,7 @@ const InfoCard = class {
|
|
789
790
|
index.registerInstance(this, hostRef);
|
790
791
|
this.popupClosed = index.createEvent(this, "popupClosed", 7);
|
791
792
|
this.selectionChanged = index.createEvent(this, "selectionChanged", 7);
|
793
|
+
this.enableEditGeometry = false;
|
792
794
|
this.graphics = undefined;
|
793
795
|
this.isLoading = false;
|
794
796
|
this.isMobile = undefined;
|
@@ -991,8 +993,8 @@ const InfoCard = class {
|
|
991
993
|
const id = this._features?.selectedFeature?.getObjectId();
|
992
994
|
const ids = parseInt(id?.toString(), 10) > -1 ? [id] : [];
|
993
995
|
const deleteEnabled = this._layer?.editingEnabled && this._layer?.capabilities?.operations?.supportsDelete;
|
994
|
-
return (index.h(index.Host, { key: '
|
995
|
-
index.h("div", { key: '
|
996
|
+
return (index.h(index.Host, { key: '2d0ebbf98b0d7e6f391d875258effbc6d4dc72f5' }, index.h("calcite-shell", { key: '260ac176bd21e9012f34ba66e27cd7a4ec1e7ff0', style: { position: this.position } }, this._getHeader(), index.h("calcite-loader", { key: 'f72c7fe39f646655f8ee71ac7d336aaf7dd3afbd', class: loadingClass, label: this._translations.fetchingData }), index.h("div", { key: '43933c437a046a6505e121e43736aac92382effa', class: "esri-widget feature-node " + featureNodeClass, id: this._featuresNodeId }), index.h("div", { key: '4433d5975b6d25dc77932f99b2b7aa9d3ade77e8', class: `${editButtonClass} width-100`, slot: "footer" }, this.allowEditing &&
|
997
|
+
index.h("div", { key: 'da7610d89193e5594429d26b805ba44ec064904f', class: "display-flex top-border padding-1-2" }, index.h("calcite-button", { key: 'dc22d8cf61f07085e011b45636e8f4950912e5b3', appearance: "solid", id: "solutions-edit", onClick: () => this._openEditRecord(), width: "full" }, this._translations.edit), this.isMobile && deleteEnabled ? (index.h("delete-button", { class: "padding-inline-start-1 width-100", id: "solutions-delete", ids: ids, layer: this._layer, onEditsComplete: () => this._closePopup() })) : undefined, index.h("calcite-tooltip", { key: '1ee8d69384f85258ed10946206e42634798a700b', placement: "bottom", "reference-element": "solutions-edit" }, index.h("span", { key: '3b8b822a40ef6932aa3ad34c8e05bb758be7aff8' }, this._translations.edit)), this.isMobile ? (index.h("calcite-tooltip", { placement: "bottom", "reference-element": "solutions-delete" }, index.h("span", null, this._translations.delete))) : undefined), this.paginationEnabled && !nextBackDisabled && index.h("div", { key: '172bddeb6f0f1d73dbd563e3b244c311ec4904fe', class: `display-flex padding-1-2 button-container top-border ${nextBackClass}` }, index.h("div", { key: '66059747f9aad9fabd26a9d7a88e4cac762e096d' }, index.h("calcite-button", { key: '05b36ba1d5539a16eef53e35cc88eb5134c45104', appearance: 'transparent', disabled: nextBackDisabled, iconStart: "chevron-left", id: "solutions-back", onClick: () => this._back(), width: "full" }), index.h("calcite-tooltip", { key: '2736e0047665272cede16b1e3b1d94495075d310', placement: "top", "reference-element": "solutions-back" }, index.h("span", { key: '7c40eae302564f5bcd7a10471481a65c16be9ee5' }, this._translations.back))), index.h("calcite-action", { key: '873d07e0ecbf456f4010c80c23baaae3f0ce6335', class: 'pagination-action', onClick: () => this._toggleListView(), scale: "s", text: "", textEnabled: true }, index.h("span", { key: '49dabbcabc8fb64c5cd0581f826c9570270d3ce9', class: "pagination-count" }, this._count)), index.h("div", { key: '570df27fa721c4cb62c9bd77d7197c830410e387' }, index.h("calcite-button", { key: '6bd9010b943216af756558e8f062b475d138ee49', appearance: "transparent", disabled: nextBackDisabled, iconStart: "chevron-right", id: "solutions-next", onClick: () => this._next(), width: "full" }), index.h("calcite-tooltip", { key: '1ee755e1694d3d4b8d6d5417056e5f287de26912', placement: "top", "reference-element": "solutions-next" }, index.h("span", { key: 'a59e478daa0de11a3e81c22fa61069fdb77a680c' }, this._translations.next))))), index.h("edit-card", { key: '7f231459e65132658f08338ca67782d1584c761d', class: editClass, enableEditGeometry: this.enableEditGeometry, graphicIndex: this._features?.selectedFeatureIndex, graphics: this.graphics, mapView: this.mapView, open: this._editRecordOpen }), index.h("calcite-alert", { key: '76b7c28eea68cb73549e563afcdeab5f4ecc44b8', icon: "layer-broken", kind: "warning", label: "", onCalciteAlertClose: () => this._alertClosed(), open: this._alertOpen, placement: "top" }, index.h("div", { key: '5d6456ce4bc64dc074b238bdf38f05436c1d0ebc', slot: "title" }, this._translations.editDisabled), index.h("div", { key: 'cf8ebf5e8d2277fb815afdc12ae5f9e37312b2c5', slot: "message" }, this._translations.enableEditing)))));
|
996
998
|
}
|
997
999
|
//--------------------------------------------------------------------------
|
998
1000
|
//
|
@@ -26,17 +26,17 @@ const guid = require('./guid-9a92730c.js');
|
|
26
26
|
const component = require('./component-8ff3f229.js');
|
27
27
|
const Validation = require('./Validation-29123fe7.js');
|
28
28
|
const input = require('./input-816ba485.js');
|
29
|
-
const loadModules = require('./loadModules-
|
30
|
-
const locale$1 = require('./locale-
|
29
|
+
const loadModules = require('./loadModules-8567855e.js');
|
30
|
+
const locale$1 = require('./locale-a1bcb6eb.js');
|
31
31
|
const mode = require('./mode-3478ba36.js');
|
32
32
|
require('./observers-304eec4e.js');
|
33
33
|
require('./resources-543ff11e.js');
|
34
34
|
require('./browser-9f13ebb0.js');
|
35
35
|
require('./debounce-7f1e04d6.js');
|
36
36
|
require('./config-f0cc2786.js');
|
37
|
-
require('./esri-loader-
|
37
|
+
require('./esri-loader-08dc41bd.js');
|
38
38
|
require('./_commonjsHelpers-baf43783.js');
|
39
|
-
require('./languageUtil-
|
39
|
+
require('./languageUtil-a3e1eafd.js');
|
40
40
|
|
41
41
|
/*!
|
42
42
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
@@ -10,10 +10,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
10
10
|
const index = require('./index-696e53e6.js');
|
11
11
|
const observers = require('./observers-304eec4e.js');
|
12
12
|
const resources = require('./resources-9156820a.js');
|
13
|
-
const locale = require('./locale-
|
13
|
+
const locale = require('./locale-4e7fe921.js');
|
14
14
|
const mapViewUtils = require('./mapViewUtils-8d4da732.js');
|
15
15
|
const publicNotificationStore = require('./publicNotificationStore-8d2558c6.js');
|
16
|
-
require('./esri-loader-
|
16
|
+
require('./esri-loader-08dc41bd.js');
|
17
17
|
require('./_commonjsHelpers-baf43783.js');
|
18
18
|
require('./interfaces-09c4c40e.js');
|
19
19
|
require('./index-a0cca96e.js');
|
@@ -15,13 +15,13 @@ const interactive = require('./interactive-c120e7de.js');
|
|
15
15
|
const locale = require('./locale-4d226d16.js');
|
16
16
|
const t9n = require('./t9n-d102c87b.js');
|
17
17
|
const resources = require('./resources-79f932e8.js');
|
18
|
-
const locale$1 = require('./locale-
|
18
|
+
const locale$1 = require('./locale-4e7fe921.js');
|
19
19
|
const mapViewUtils = require('./mapViewUtils-8d4da732.js');
|
20
20
|
require('./guid-9a92730c.js');
|
21
21
|
require('./resources-543ff11e.js');
|
22
22
|
require('./browser-9f13ebb0.js');
|
23
23
|
require('./key-f95b815e.js');
|
24
|
-
require('./esri-loader-
|
24
|
+
require('./esri-loader-08dc41bd.js');
|
25
25
|
require('./_commonjsHelpers-baf43783.js');
|
26
26
|
require('./interfaces-09c4c40e.js');
|
27
27
|
|
@@ -24,19 +24,19 @@ const sharedListRender = require('./shared-list-render-52623507.js');
|
|
24
24
|
const sortableComponent = require('./sortableComponent-2f51e15c.js');
|
25
25
|
const resources$2 = require('./resources-bde4229a.js');
|
26
26
|
const resources$1 = require('./resources-72673508.js');
|
27
|
-
const locale$1 = require('./locale-
|
28
|
-
const solutionStore = require('./solution-store-
|
27
|
+
const locale$1 = require('./locale-4e7fe921.js');
|
28
|
+
const solutionStore = require('./solution-store-71bb46fa.js');
|
29
29
|
const interfaces = require('./interfaces-09c4c40e.js');
|
30
|
-
const solutionResource = require('./solution-resource-
|
30
|
+
const solutionResource = require('./solution-resource-57cf345b.js');
|
31
31
|
require('./key-f95b815e.js');
|
32
32
|
require('./browser-9f13ebb0.js');
|
33
33
|
require('./array-755c4355.js');
|
34
34
|
require('./resources-271906e6.js');
|
35
35
|
require('./debounce-7f1e04d6.js');
|
36
|
-
require('./esri-loader-
|
36
|
+
require('./esri-loader-08dc41bd.js');
|
37
37
|
require('./_commonjsHelpers-baf43783.js');
|
38
38
|
require('./index-a0cca96e.js');
|
39
|
-
require('./restHelpersGet-
|
39
|
+
require('./restHelpersGet-bf484fda.js');
|
40
40
|
|
41
41
|
/*!
|
42
42
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
@@ -8,14 +8,14 @@
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
9
9
|
|
10
10
|
const index = require('./index-696e53e6.js');
|
11
|
-
const locale = require('./locale-
|
11
|
+
const locale = require('./locale-4e7fe921.js');
|
12
12
|
const mapViewUtils = require('./mapViewUtils-8d4da732.js');
|
13
|
-
const downloadUtils = require('./downloadUtils-
|
14
|
-
require('./esri-loader-
|
13
|
+
const downloadUtils = require('./downloadUtils-b757205e.js');
|
14
|
+
require('./esri-loader-08dc41bd.js');
|
15
15
|
require('./_commonjsHelpers-baf43783.js');
|
16
16
|
require('./interfaces-09c4c40e.js');
|
17
|
-
require('./solution-resource-
|
18
|
-
require('./restHelpersGet-
|
17
|
+
require('./solution-resource-57cf345b.js');
|
18
|
+
require('./restHelpersGet-bf484fda.js');
|
19
19
|
|
20
20
|
const cardManagerCss = ":host{display:block !important}.display-flex{display:flex}.display-none{display:none}.w-100{width:100%}.padding-bottom-1{padding-bottom:1rem}.padding-1{padding:1rem}.position-relative{position:relative}.focus-margin{margin:1px 1px 0px 1px}.overflow-auto{overflow:auto}.height-full{height:100%}card-manager{display:block}";
|
21
21
|
const CardManagerStyle0 = cardManagerCss;
|
@@ -23,6 +23,7 @@ const CardManagerStyle0 = cardManagerCss;
|
|
23
23
|
const CardManager = class {
|
24
24
|
constructor(hostRef) {
|
25
25
|
index.registerInstance(this, hostRef);
|
26
|
+
this.enableEditGeometry = false;
|
26
27
|
this.isMobile = undefined;
|
27
28
|
this.layer = undefined;
|
28
29
|
this.mapView = undefined;
|
@@ -85,7 +86,7 @@ const CardManager = class {
|
|
85
86
|
render() {
|
86
87
|
const featuresClass = this._graphics?.length > 0 ? "" : "display-none";
|
87
88
|
const messageClass = this._graphics?.length > 0 ? "display-none" : "";
|
88
|
-
return (index.h(index.Host, { key: '
|
89
|
+
return (index.h(index.Host, { key: 'ff2b82f23cc912a79d4f2d04a3263215e54ff03d' }, index.h("div", { key: '64a96d7162508794b955dc4b557fa94d18f8ab53', class: "overflow-auto height-full" }, index.h("calcite-shell", { key: '77b8ad0b9a459d2fb9399ccfebc6d0211147bb01', class: "position-relative " + featuresClass }, index.h("div", { key: 'e0725835f5c1c32a9164e04d6321ba5853a3892c' }, index.h("info-card", { key: '6712a077c4746585e7b2474aedd14e1869b37c34', enableEditGeometry: this.enableEditGeometry, graphics: this._graphics, isLoading: this._cardLoading, isMobile: this.isMobile, mapView: this.mapView }))), index.h("calcite-shell", { key: '38c85dbb72df9b9b1225f1488c3bf384f67d7db4', class: "position-relative " + messageClass }, index.h("div", { key: '66386d1a0d19fb4a023515e5dc4b41ac73a8c257', class: "padding-1" }, index.h("calcite-notice", { key: '12a843bede7b688651b436bcb9b7ad9e7f6217e0', icon: "table", open: true }, index.h("div", { key: '28862f4aa25802ca6b2bdc0ef2af3bcb825267f9', slot: "message" }, this._translations.selectFeaturesToStart)))))));
|
89
90
|
}
|
90
91
|
//--------------------------------------------------------------------------
|
91
92
|
//
|
@@ -8,8 +8,8 @@
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
9
9
|
|
10
10
|
const index = require('./index-696e53e6.js');
|
11
|
-
const locale = require('./locale-
|
12
|
-
require('./esri-loader-
|
11
|
+
const locale = require('./locale-4e7fe921.js');
|
12
|
+
require('./esri-loader-08dc41bd.js');
|
13
13
|
require('./_commonjsHelpers-baf43783.js');
|
14
14
|
|
15
15
|
function shouldDisableTracking(options = {}) {
|
@@ -8,10 +8,10 @@
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
9
9
|
|
10
10
|
const index = require('./index-696e53e6.js');
|
11
|
-
const locale = require('./locale-
|
11
|
+
const locale = require('./locale-4e7fe921.js');
|
12
12
|
const interfaces = require('./interfaces-09c4c40e.js');
|
13
13
|
const mapViewUtils = require('./mapViewUtils-8d4da732.js');
|
14
|
-
require('./esri-loader-
|
14
|
+
require('./esri-loader-08dc41bd.js');
|
15
15
|
require('./_commonjsHelpers-baf43783.js');
|
16
16
|
|
17
17
|
const crowdsourceManagerCss = ":host{display:block;--calcite-label-margin-bottom:0px;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.padding-1-2{padding:0.5rem}.display-flex{display:flex}.width-full{width:100%}.width-1-2{position:relative;width:50%}.width-1-3{position:relative;width:33.33%}.width-2-3{position:relative;width:66.66%}.width-0{width:0}.height-full{height:100%}.height-1-2{position:relative;height:50%}.height-0{height:0}.toggle-node{width:51px;height:51px}.overflow-hidden{overflow:hidden}.flex-column{flex-direction:column}.border{border:1px solid var(--calcite-color-border-3)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-3)}.border-sides{border-left:1px solid var(--calcite-color-border-3);border-right:1px solid var(--calcite-color-border-3)}.position-relative{position:relative}.height-50{height:50%}.adjusted-height-50{height:calc(50% - 25px)}.adjusted-height-100{height:calc(100% - 50px)}.adjusted-height-100-50{height:calc(100% - 50px)}.display-none{display:none}.height-53{height:53px}.position-absolute-53{position:absolute;top:53px}.display-grid{display:grid}.height-50-px{height:50px}.padding-inline-start-75{padding-inline-start:0.75rem}.align-items-center{align-items:center}.esri-floor-filter__close-levels-button{width:40px !important;height:40px !important}.esri-floor-filter__level-button{width:40px !important;height:40px !important}.esri-floor-filter__browse-button{width:40px !important;height:40px !important}.position-absolute-50{position:absolute;top:50px;bottom:0px;left:0px;right:0px}.position-absolute-0{position:absolute;top:0px;bottom:0px;left:0px;right:0px}.visibility-hidden{visibility:hidden;height:0px}.position-fixed{position:fixed}.border-width-0{border-width:0px}.border-bottom-width-0{border-bottom-width:0px}.floating-container{position:fixed;width:100px;height:10px;bottom:0;right:0;margin:100px 0px}.floating-container .floating-button{box-shadow:0 10px 25px rgb(92 93 94 / 60%);transform:translatey(5px);transition:all 0.3s}";
|
@@ -40,7 +40,6 @@ const CrowdsourceManager = class {
|
|
40
40
|
this.enableFloorFilter = true;
|
41
41
|
this.enableFullscreen = true;
|
42
42
|
this.enableHome = true;
|
43
|
-
this.enableInlineEdit = false;
|
44
43
|
this.enableLegend = true;
|
45
44
|
this.enableSearch = true;
|
46
45
|
this.enableShare = false;
|
@@ -229,7 +228,7 @@ const CrowdsourceManager = class {
|
|
229
228
|
render() {
|
230
229
|
// only avoid border when we have a header color that is not white
|
231
230
|
const borderClass = this.popupHeaderColor && this.popupHeaderColor !== "#FFFFFF" ? "border-width-0" : "";
|
232
|
-
return (index.h(index.Host, { key: '
|
231
|
+
return (index.h(index.Host, { key: '711376ac0d4b633b63c4c94b87f98255c3562dc1' }, index.h("calcite-shell", { key: 'b78e8febbbf55e0e61817c04c4838095a5de6ebe', class: "position-relative" }, index.h("calcite-panel", { key: '8e53369a82e75cbea09e6d4edd42f1e09954277b', class: `width-full height-full ${borderClass}` }, this._getBody(this._layoutMode, this._panelOpen, this._hideTable)), this._getFooter())));
|
233
232
|
}
|
234
233
|
/**
|
235
234
|
* Called after each render
|
@@ -433,7 +432,7 @@ const CrowdsourceManager = class {
|
|
433
432
|
_getCardNode() {
|
434
433
|
const cardManagerHeight = !this._expandPopup && !this._isMobile ? "height-50" : "height-full";
|
435
434
|
const themeClass = this.theme === "dark" ? "calcite-mode-dark" : "calcite-mode-light";
|
436
|
-
return (index.h("div", { class: `width-50 height-full ${themeClass}` }, index.h("card-manager", { class: `${cardManagerHeight} width-full`, isMobile: this._isMobile, mapView: this?._mapView, zoomAndScrollToSelected: this.zoomAndScrollToSelected })));
|
435
|
+
return (index.h("div", { class: `width-50 height-full ${themeClass}` }, index.h("card-manager", { class: `${cardManagerHeight} width-full`, enableEditGeometry: this?._mapInfo?.enableEditGeometry, isMobile: this._isMobile, mapView: this?._mapView, zoomAndScrollToSelected: this.zoomAndScrollToSelected })));
|
437
436
|
}
|
438
437
|
/**
|
439
438
|
* Get the table node based for the current layout
|
@@ -457,7 +456,7 @@ const CrowdsourceManager = class {
|
|
457
456
|
this.defaultGlobalId?.indexOf(",") > -1 ? this.defaultGlobalId.split(",") : [this.defaultGlobalId];
|
458
457
|
const defaultOid = !this.defaultOid ? undefined :
|
459
458
|
this.defaultOid?.indexOf(",") > -1 ? this.defaultOid.split(",").map(o => parseInt(o, 10)) : [parseInt(this.defaultOid, 10)];
|
460
|
-
return (index.h("calcite-shell", { class: `${tableSizeClass} ${tableClass} border-bottom` }, !this._isMobile ? (index.h("calcite-action-bar", { class: "border-sides", expandDisabled: true, layout: toggleLayout, slot: toggleSlot }, index.h("calcite-action", { class: "toggle-node", icon: icon, id: id, onClick: () => this._toggleLayout(), text: "" }), index.h("calcite-tooltip", { label: tooltip, placement: "bottom", "reference-element": id }, index.h("span", null, tooltip)))) : undefined, index.h("div", { class: `width-full height-full position-relative` }, index.h("layer-table", { defaultGlobalId: hasMapAndLayer ? globalId : undefined, defaultLayerId: hasMapAndLayer ? this.defaultLayer : "", defaultOid: hasMapAndLayer && !globalId ? defaultOid : undefined, enableAutoRefresh: this.enableAutoRefresh, enableCSV: this.enableCSV, enableColumnReorder: this.enableColumnReorder, enableInlineEdit: this
|
459
|
+
return (index.h("calcite-shell", { class: `${tableSizeClass} ${tableClass} border-bottom` }, !this._isMobile ? (index.h("calcite-action-bar", { class: "border-sides", expandDisabled: true, layout: toggleLayout, slot: toggleSlot }, index.h("calcite-action", { class: "toggle-node", icon: icon, id: id, onClick: () => this._toggleLayout(), text: "" }), index.h("calcite-tooltip", { label: tooltip, placement: "bottom", "reference-element": id }, index.h("span", null, tooltip)))) : undefined, index.h("div", { class: `width-full height-full position-relative` }, index.h("layer-table", { defaultGlobalId: hasMapAndLayer ? globalId : undefined, defaultLayerId: hasMapAndLayer ? this.defaultLayer : "", defaultOid: hasMapAndLayer && !globalId ? defaultOid : undefined, enableAutoRefresh: this.enableAutoRefresh, enableCSV: this.enableCSV, enableColumnReorder: this.enableColumnReorder, enableInlineEdit: this?._mapInfo?.enableInlineEdit, enableShare: this.enableShare, isMobile: this._isMobile, mapHidden: this._expandPopup, mapInfo: this._mapInfo, mapView: this?._mapView, onlyShowUpdatableLayers: this.onlyShowUpdatableLayers, ref: (el) => this._layerTable = el, shareIncludeEmbed: this.shareIncludeEmbed, shareIncludeSocial: this.shareIncludeSocial, showNewestFirst: this.showNewestFirst, zoomAndScrollToSelected: this.zoomAndScrollToSelected, zoomToScale: this.zoomToScale }))));
|
461
460
|
}
|
462
461
|
/**
|
463
462
|
* Update the component layout when its size changes
|
@@ -8,9 +8,9 @@
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
9
9
|
|
10
10
|
const index = require('./index-696e53e6.js');
|
11
|
-
const locale = require('./locale-
|
11
|
+
const locale = require('./locale-4e7fe921.js');
|
12
12
|
const mapViewUtils = require('./mapViewUtils-8d4da732.js');
|
13
|
-
require('./esri-loader-
|
13
|
+
require('./esri-loader-08dc41bd.js');
|
14
14
|
require('./_commonjsHelpers-baf43783.js');
|
15
15
|
require('./interfaces-09c4c40e.js');
|
16
16
|
|
@@ -7,10 +7,10 @@
|
|
7
7
|
|
8
8
|
const _commonjsHelpers = require('./_commonjsHelpers-baf43783.js');
|
9
9
|
const index = require('./index-696e53e6.js');
|
10
|
-
const locale = require('./locale-
|
10
|
+
const locale = require('./locale-4e7fe921.js');
|
11
11
|
const mapViewUtils = require('./mapViewUtils-8d4da732.js');
|
12
|
-
require('./solution-resource-
|
13
|
-
const restHelpersGet = require('./restHelpersGet-
|
12
|
+
require('./solution-resource-57cf345b.js');
|
13
|
+
const restHelpersGet = require('./restHelpersGet-bf484fda.js');
|
14
14
|
|
15
15
|
/** @license
|
16
16
|
* Copyright 2022 Esri
|
@@ -1511,7 +1511,7 @@ function(t){var e=function(t){for(var e=t.length,r=new Uint8Array(e),n=0;n<e;n++
|
|
1511
1511
|
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
1512
1512
|
* ====================================================================
|
1513
1513
|
*/
|
1514
|
-
function(t){function e(){return (n.canvg?Promise.resolve(n.canvg):Promise.resolve().then(function () { return require('./index.es-
|
1514
|
+
function(t){function e(){return (n.canvg?Promise.resolve(n.canvg):Promise.resolve().then(function () { return require('./index.es-6c8b7d64.js'); })).catch((function(t){return Promise.reject(new Error("Could not load canvg: "+t))})).then((function(t){return t.default?t.default:t}))}E.API.addSvgAsImage=function(t,r,n,i,o,s,c,u){if(isNaN(r)||isNaN(n))throw a.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(i)||isNaN(o))throw a.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var h=document.createElement("canvas");h.width=i,h.height=o;var l=h.getContext("2d");l.fillStyle="#fff",l.fillRect(0,0,h.width,h.height);var f={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},d=this;return e().then((function(e){return e.fromString(l,t,f)}),(function(){return Promise.reject(new Error("Could not load canvg."))})).then((function(t){return t.render(f)})).then((function(){d.addImage(h.toDataURL("image/jpeg",1),r,n,i,o,c,u);}))};}(),E.API.putTotalPages=function(t){var e,r=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(e=new RegExp(t,"g"),r=this.internal.getNumberOfPages()):(e=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),r=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var n=1;n<=this.internal.getNumberOfPages();n++)for(var i=0;i<this.internal.pages[n].length;i++)this.internal.pages[n][i]=this.internal.pages[n][i].replace(e,r);return this},E.API.viewerPreferences=function(e,r){var n;e=e||{},r=r||!1;var i,a,o,s={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},c=Object.keys(s),u=[],h=0,l=0,f=0;function d(t,e){var r,n=!1;for(r=0;r<t.length;r+=1)t[r]===e&&(n=!0);return n}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(s)),this.internal.viewerpreferences.isSubscribed=!1),n=this.internal.viewerpreferences.configuration,"reset"===e||!0===r){var p=c.length;for(f=0;f<p;f+=1)n[c[f]].value=n[c[f]].defaultValue,n[c[f]].explicitSet=!1;}if("object"===t(e))for(a in e)if(o=e[a],d(c,a)&&void 0!==o){if("boolean"===n[a].type&&"boolean"==typeof o)n[a].value=o;else if("name"===n[a].type&&d(n[a].valueSet,o))n[a].value=o;else if("integer"===n[a].type&&Number.isInteger(o))n[a].value=o;else if("array"===n[a].type){for(h=0;h<o.length;h+=1)if(i=!0,1===o[h].length&&"number"==typeof o[h][0])u.push(String(o[h]-1));else if(o[h].length>1){for(l=0;l<o[h].length;l+=1)"number"!=typeof o[h][l]&&(i=!1);!0===i&&u.push([o[h][0]-1,o[h][1]-1].join(" "));}n[a].value="["+u.join(" ")+"]";}else n[a].value=n[a].defaultValue;n[a].explicitSet=!0;}return !1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){var t,e=[];for(t in n)!0===n[t].explicitSet&&("name"===n[t].type?e.push("/"+t+" /"+n[t].value):e.push("/"+t+" "+n[t].value));0!==e.length&&this.internal.write("/ViewerPreferences\n<<\n"+e.join("\n")+"\n>>");})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=n,this},
|
1515
1515
|
/** ====================================================================
|
1516
1516
|
* @license
|
1517
1517
|
* jsPDF XMP metadata plugin
|
@@ -2213,7 +2213,7 @@ async function downloadPDFFile(filename, labels, labelPageDescription, title = "
|
|
2213
2213
|
const pdfLib = new PDFCreator_jsPDF();
|
2214
2214
|
await pdfLib.initialize({
|
2215
2215
|
pageType: "ANSI_A"
|
2216
|
-
}, index.getAssetPath(`../assets/arcgis-pdf-creator/`), "en", filename // filename without ".pdf"
|
2216
|
+
}, index.getAssetPath(`../solutions-components/assets/arcgis-pdf-creator/`), "en", filename // filename without ".pdf"
|
2217
2217
|
);
|
2218
2218
|
const labeller = new PDFLabels();
|
2219
2219
|
await labeller.initialize(pdfLib);
|
@@ -8,14 +8,14 @@
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
9
9
|
|
10
10
|
const index = require('./index-696e53e6.js');
|
11
|
-
const locale = require('./locale-
|
12
|
-
const popupUtils = require('./popupUtils-
|
11
|
+
const locale = require('./locale-4e7fe921.js');
|
12
|
+
const popupUtils = require('./popupUtils-2b5ec788.js');
|
13
13
|
const mapViewUtils = require('./mapViewUtils-8d4da732.js');
|
14
|
-
require('./esri-loader-
|
14
|
+
require('./esri-loader-08dc41bd.js');
|
15
15
|
require('./_commonjsHelpers-baf43783.js');
|
16
|
-
require('./downloadUtils-
|
17
|
-
require('./solution-resource-
|
18
|
-
require('./restHelpersGet-
|
16
|
+
require('./downloadUtils-b757205e.js');
|
17
|
+
require('./solution-resource-57cf345b.js');
|
18
|
+
require('./restHelpersGet-bf484fda.js');
|
19
19
|
require('./interfaces-09c4c40e.js');
|
20
20
|
|
21
21
|
const featureListCss = ":host{display:block}.width-full{width:100%}.pagination{display:flex;justify-content:center}.error-msg{padding:10px;width:calc(100% - 20px)}.feature-list-popup-title{font-weight:500;padding:10px 12px;white-space:pre-line}.feature-list-popup-title-small{font-size:small;padding:10px 12px;white-space:pre-line}";
|
@@ -5,7 +5,7 @@
|
|
5
5
|
*/
|
6
6
|
'use strict';
|
7
7
|
|
8
|
-
const loadModules = require('./loadModules-
|
8
|
+
const loadModules = require('./loadModules-8567855e.js');
|
9
9
|
const index = require('./index-a0cca96e.js');
|
10
10
|
|
11
11
|
async function getMergedEffect(presetLayerEffect, featureLayerView, type) {
|
@@ -6,14 +6,14 @@
|
|
6
6
|
'use strict';
|
7
7
|
|
8
8
|
const _commonjsHelpers = require('./_commonjsHelpers-baf43783.js');
|
9
|
-
const downloadUtils = require('./downloadUtils-
|
9
|
+
const downloadUtils = require('./downloadUtils-b757205e.js');
|
10
10
|
require('./index-696e53e6.js');
|
11
|
-
require('./locale-
|
12
|
-
require('./esri-loader-
|
11
|
+
require('./locale-4e7fe921.js');
|
12
|
+
require('./esri-loader-08dc41bd.js');
|
13
13
|
require('./mapViewUtils-8d4da732.js');
|
14
14
|
require('./interfaces-09c4c40e.js');
|
15
|
-
require('./solution-resource-
|
16
|
-
require('./restHelpersGet-
|
15
|
+
require('./solution-resource-57cf345b.js');
|
16
|
+
require('./restHelpersGet-bf484fda.js');
|
17
17
|
|
18
18
|
var check = function (it) {
|
19
19
|
return it && it.Math == Math && it;
|
@@ -8,12 +8,12 @@
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
9
9
|
|
10
10
|
const index = require('./index-696e53e6.js');
|
11
|
-
const utils = require('./utils-
|
12
|
-
require('./locale-
|
13
|
-
require('./loadModules-
|
14
|
-
require('./esri-loader-
|
11
|
+
const utils = require('./utils-b43fe04f.js');
|
12
|
+
require('./locale-a1bcb6eb.js');
|
13
|
+
require('./loadModules-8567855e.js');
|
14
|
+
require('./esri-loader-08dc41bd.js');
|
15
15
|
require('./_commonjsHelpers-baf43783.js');
|
16
|
-
require('./languageUtil-
|
16
|
+
require('./languageUtil-a3e1eafd.js');
|
17
17
|
require('./index-a0cca96e.js');
|
18
18
|
|
19
19
|
const styles = `
|
@@ -8,8 +8,8 @@
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
9
9
|
|
10
10
|
const index = require('./index-696e53e6.js');
|
11
|
-
const loadModules = require('./loadModules-
|
12
|
-
require('./esri-loader-
|
11
|
+
const loadModules = require('./loadModules-8567855e.js');
|
12
|
+
require('./esri-loader-08dc41bd.js');
|
13
13
|
require('./_commonjsHelpers-baf43783.js');
|
14
14
|
|
15
15
|
const instantAppsControlPanelCss = ":host{display:block}";
|
@@ -8,11 +8,11 @@
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
9
9
|
|
10
10
|
const index = require('./index-696e53e6.js');
|
11
|
-
const locale = require('./locale-
|
12
|
-
const loadModules = require('./loadModules-
|
11
|
+
const locale = require('./locale-a1bcb6eb.js');
|
12
|
+
const loadModules = require('./loadModules-8567855e.js');
|
13
13
|
const mode = require('./mode-3478ba36.js');
|
14
|
-
require('./languageUtil-
|
15
|
-
require('./esri-loader-
|
14
|
+
require('./languageUtil-a3e1eafd.js');
|
15
|
+
require('./esri-loader-08dc41bd.js');
|
16
16
|
require('./_commonjsHelpers-baf43783.js');
|
17
17
|
|
18
18
|
/**
|
@@ -8,12 +8,12 @@
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
9
9
|
|
10
10
|
const index = require('./index-696e53e6.js');
|
11
|
-
const loadModules = require('./loadModules-
|
12
|
-
const locale = require('./locale-
|
11
|
+
const loadModules = require('./loadModules-8567855e.js');
|
12
|
+
const locale = require('./locale-a1bcb6eb.js');
|
13
13
|
const mode = require('./mode-3478ba36.js');
|
14
|
-
require('./esri-loader-
|
14
|
+
require('./esri-loader-08dc41bd.js');
|
15
15
|
require('./_commonjsHelpers-baf43783.js');
|
16
|
-
require('./languageUtil-
|
16
|
+
require('./languageUtil-a3e1eafd.js');
|
17
17
|
|
18
18
|
const printStyling = `
|
19
19
|
@media print {
|
@@ -8,12 +8,12 @@
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
9
9
|
|
10
10
|
const index = require('./index-696e53e6.js');
|
11
|
-
const loadModules = require('./loadModules-
|
12
|
-
const locale = require('./locale-
|
11
|
+
const loadModules = require('./loadModules-8567855e.js');
|
12
|
+
const locale = require('./locale-a1bcb6eb.js');
|
13
13
|
const mode = require('./mode-3478ba36.js');
|
14
|
-
require('./esri-loader-
|
14
|
+
require('./esri-loader-08dc41bd.js');
|
15
15
|
require('./_commonjsHelpers-baf43783.js');
|
16
|
-
require('./languageUtil-
|
16
|
+
require('./languageUtil-a3e1eafd.js');
|
17
17
|
|
18
18
|
const printStyling = `
|
19
19
|
@media print {
|
@@ -8,11 +8,11 @@
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
9
9
|
|
10
10
|
const index = require('./index-696e53e6.js');
|
11
|
-
const languageUtil = require('./languageUtil-
|
11
|
+
const languageUtil = require('./languageUtil-a3e1eafd.js');
|
12
12
|
const index$1 = require('./index-5f864f65.js');
|
13
13
|
const breakpoints = require('./breakpoints-7d21666f.js');
|
14
14
|
const styles = require('./styles-ef2b1e04.js');
|
15
|
-
require('./esri-loader-
|
15
|
+
require('./esri-loader-08dc41bd.js');
|
16
16
|
require('./_commonjsHelpers-baf43783.js');
|
17
17
|
|
18
18
|
const instantAppsHeaderCss = ":host{--instant-apps-header-height:auto;--instant-apps-header-min-height:50px;--instant-apps-header-title-text-link-decoration:underline;--instant-apps-header-height--logo-scale--s:55px;--instant-apps-header-logo-width--logo-scale--s:35px;--instant-apps-header-logo-height--logo-scale--s:35px;--instant-apps-header-height--logo-scale--m:70px;--instant-apps-header-logo-width--logo-scale--m:50px;--instant-apps-header-logo-height--logo-scale--m:50px;--instant-apps-header-height--logo-scale--l:80px;--instant-apps-header-logo-width--logo-scale--l:60px;--instant-apps-header-logo-height--logo-scale--l:60px;--instant-apps-header-actions-end-height:auto;width:100%}:host .image.image_resized img{width:100%}:host .instant-apps-header--standard{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;width:100%;height:var(--instant-apps-header-height);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);font-family:var(--calcite-sans-family);min-height:var(--instant-apps-header-min-height)}:host .instant-apps-header--standard .instant-apps-header__header-container{display:flex;align-items:center;width:100%;height:inherit}:host .instant-apps-header--standard .instant-apps-header__header-container slot{display:flex;height:inherit}:host .instant-apps-header--standard .instant-apps-header__header-container ::slotted(*){display:flex;min-height:var(--instant-apps-header-min-height);height:var(--instant-apps-header-height)}:host .instant-apps-header--standard .instant-apps-header__header-container ::slotted(*) calcite-button{height:100%}:host .instant-apps-header--standard .instant-apps-header__header-content{box-sizing:border-box;display:flex;align-items:center;width:100%;min-width:0;height:inherit;padding:5px 10px}:host .instant-apps-header--standard .instant-apps-header__header-content a{display:flex;align-items:center;-webkit-text-decoration:var(--instant-apps-header-title-text-link-decoration);text-decoration:var(--instant-apps-header-title-text-link-decoration)}:host .instant-apps-header--standard .instant-apps-header__header-content a img{padding-right:0}:host .instant-apps-header--standard .instant-apps-header__header-content img{margin:10px}:host .instant-apps-header--standard .instant-apps-header__header-content h1{margin:0;font-size:1.25rem;color:var(--calcite-color-text-1);font-weight:430;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .instant-apps-header--standard .instant-apps-header__header-content #infoButton{margin-inline-start:10px}:host .instant-apps-header--standard .instant-apps-header__header-content--center{justify-content:center}:host .instant-apps-header--standard .instant-apps-header__header-content--right{justify-content:end}:host .instant-apps-header__logo-height--s{height:var(--instant-apps-header-height--logo-scale--s)}:host .instant-apps-header__logo-height--s .instant-apps-header__header-content h1{font-size:1.125rem}:host .instant-apps-header__logo-scale--s{width:var(--instant-apps-header-logo-width--logo-scale--s);height:var(--instant-apps-header-logo-height--logo-scale--s)}:host .instant-apps-header__logo-height--m{height:var(--instant-apps-header-height--logo-scale--m)}:host .instant-apps-header__logo-scale--m{width:var(--instant-apps-header-logo-width--logo-scale--m);height:var(--instant-apps-header-logo-height--logo-scale--m)}:host .instant-apps-header__logo-height--l{height:var(--instant-apps-header-height--logo-scale--l)}:host .instant-apps-header__logo-height--l .instant-apps-header__header-content h1{font-size:1.375rem}:host .instant-apps-header__logo-scale--l{width:var(--instant-apps-header-logo-width--logo-scale--l);height:var(--instant-apps-header-logo-height--logo-scale--l)}:host .instant-apps-header__actions-end-container{height:var(--instant-apps-header-actions-end-height);display:flex}:host .instant-apps-header__sign-in-container{height:inherit;display:flex;align-items:center}:host .instant-apps-header__sign-in-container calcite-dropdown,:host .instant-apps-header__sign-in-container calcite-navigation-user{height:100%}:host .instant-apps-header__sign-in-container calcite-button{margin:0 10px}:host .instant-apps-header__sign-in-container calcite-dropdown-group{min-width:140px}";
|
@@ -8,11 +8,11 @@
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
9
9
|
|
10
10
|
const index = require('./index-696e53e6.js');
|
11
|
-
const helpers = require('./helpers-
|
11
|
+
const helpers = require('./helpers-1deec961.js');
|
12
12
|
const _commonjsHelpers = require('./_commonjsHelpers-baf43783.js');
|
13
|
-
const loadModules = require('./loadModules-
|
13
|
+
const loadModules = require('./loadModules-8567855e.js');
|
14
14
|
require('./index-a0cca96e.js');
|
15
|
-
require('./esri-loader-
|
15
|
+
require('./esri-loader-08dc41bd.js');
|
16
16
|
|
17
17
|
const DPI = 96;
|
18
18
|
function pt2px(pt) {
|
@@ -8,9 +8,9 @@
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
9
9
|
|
10
10
|
const index = require('./index-696e53e6.js');
|
11
|
-
const loadModules = require('./loadModules-
|
12
|
-
const helpers = require('./helpers-
|
13
|
-
require('./esri-loader-
|
11
|
+
const loadModules = require('./loadModules-8567855e.js');
|
12
|
+
const helpers = require('./helpers-1deec961.js');
|
13
|
+
require('./esri-loader-08dc41bd.js');
|
14
14
|
require('./_commonjsHelpers-baf43783.js');
|
15
15
|
require('./index-a0cca96e.js');
|
16
16
|
|