@esri/solutions-components 0.11.31 → 0.11.33

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.
Files changed (102) hide show
  1. package/dist/cjs/{asyncToGenerator-c7fc3ee4.js → asyncToGenerator-ccb3278b.js} +1 -1
  2. package/dist/cjs/basemap-gallery_7.cjs.entry.js +14 -9
  3. package/dist/cjs/buffer-tools_2.cjs.entry.js +1 -1
  4. package/dist/cjs/card-manager_3.cjs.entry.js +91 -14
  5. package/dist/cjs/consent-manager.cjs.entry.js +3 -3
  6. package/dist/cjs/create-feature_4.cjs.entry.js +11 -12
  7. package/dist/cjs/create-related-feature_3.cjs.entry.js +1 -1
  8. package/dist/cjs/crowdsource-manager.cjs.entry.js +1 -1
  9. package/dist/cjs/crowdsource-reporter.cjs.entry.js +9 -2
  10. package/dist/cjs/delete-dialog.cjs.entry.js +1 -1
  11. package/dist/cjs/{downloadUtils-c7dac47d.js → downloadUtils-fefa863b.js} +3 -3
  12. package/dist/cjs/feature-list.cjs.entry.js +4 -4
  13. package/dist/cjs/{index.es-3c2404c3.js → index.es-0441a948.js} +2 -2
  14. package/dist/cjs/json-editor_7.cjs.entry.js +1 -1
  15. package/dist/cjs/loader.cjs.js +1 -1
  16. package/dist/cjs/map-layer-picker.cjs.entry.js +1 -1
  17. package/dist/cjs/map-select-tools_3.cjs.entry.js +3 -3
  18. package/dist/cjs/{popupUtils-27f6cf2a.js → popupUtils-a68a20db.js} +2 -2
  19. package/dist/cjs/public-notification.cjs.entry.js +3 -3
  20. package/dist/cjs/solution-configuration.cjs.entry.js +1 -1
  21. package/dist/cjs/solution-contents_3.cjs.entry.js +1 -1
  22. package/dist/cjs/solution-item-accordion.cjs.entry.js +1 -1
  23. package/dist/cjs/solutions-components.cjs.js +1 -1
  24. package/dist/cjs/spatial-ref.cjs.entry.js +1 -1
  25. package/dist/collection/components/basemap-gallery/basemap-gallery.js +13 -8
  26. package/dist/collection/components/card-manager/card-manager.js +2 -2
  27. package/dist/collection/components/create-feature/create-feature.js +4 -23
  28. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +10 -1
  29. package/dist/collection/components/edit-card/edit-card.js +1 -1
  30. package/dist/collection/components/info-card/info-card.js +2 -2
  31. package/dist/collection/components/layer-table/layer-table.js +86 -9
  32. package/dist/components/basemap-gallery2.js +13 -8
  33. package/dist/components/card-manager2.js +2 -2
  34. package/dist/components/create-feature2.js +4 -6
  35. package/dist/components/crowdsource-reporter.js +9 -1
  36. package/dist/components/edit-card2.js +1 -1
  37. package/dist/components/info-card2.js +2 -2
  38. package/dist/components/layer-table2.js +87 -10
  39. package/dist/esm/{asyncToGenerator-96b2368d.js → asyncToGenerator-48cd21fe.js} +1 -1
  40. package/dist/esm/basemap-gallery_7.entry.js +14 -9
  41. package/dist/esm/buffer-tools_2.entry.js +1 -1
  42. package/dist/esm/card-manager_3.entry.js +91 -14
  43. package/dist/esm/consent-manager.entry.js +3 -3
  44. package/dist/esm/create-feature_4.entry.js +11 -12
  45. package/dist/esm/create-related-feature_3.entry.js +1 -1
  46. package/dist/esm/crowdsource-manager.entry.js +1 -1
  47. package/dist/esm/crowdsource-reporter.entry.js +9 -2
  48. package/dist/esm/delete-dialog.entry.js +1 -1
  49. package/dist/esm/{downloadUtils-a9fc6dd2.js → downloadUtils-7ef5420f.js} +3 -3
  50. package/dist/esm/feature-list.entry.js +4 -4
  51. package/dist/esm/{index.es-87662946.js → index.es-c379ea10.js} +2 -2
  52. package/dist/esm/json-editor_7.entry.js +1 -1
  53. package/dist/esm/loader.js +1 -1
  54. package/dist/esm/map-layer-picker.entry.js +1 -1
  55. package/dist/esm/map-select-tools_3.entry.js +3 -3
  56. package/dist/esm/{popupUtils-78f2029e.js → popupUtils-ef89df87.js} +2 -2
  57. package/dist/esm/public-notification.entry.js +3 -3
  58. package/dist/esm/solution-configuration.entry.js +1 -1
  59. package/dist/esm/solution-contents_3.entry.js +1 -1
  60. package/dist/esm/solution-item-accordion.entry.js +1 -1
  61. package/dist/esm/solutions-components.js +1 -1
  62. package/dist/esm/spatial-ref.entry.js +1 -1
  63. package/dist/solutions-components/p-035a1d38.entry.js +6 -0
  64. package/dist/solutions-components/p-11ad8edc.entry.js +6 -0
  65. package/dist/solutions-components/{p-f6d19f6d.entry.js → p-1325fa9e.entry.js} +1 -1
  66. package/dist/solutions-components/{p-60b1fe27.entry.js → p-2be59c38.entry.js} +1 -1
  67. package/dist/solutions-components/{p-455c19fa.js → p-4379cc5f.js} +2 -2
  68. package/dist/solutions-components/{p-0a60707c.entry.js → p-5096280f.entry.js} +1 -1
  69. package/dist/solutions-components/p-51033697.entry.js +6 -0
  70. package/dist/solutions-components/p-51e04c86.js +21 -0
  71. package/dist/solutions-components/p-605597cf.entry.js +6 -0
  72. package/dist/solutions-components/{p-d65f8b73.js → p-62a0aa8e.js} +1 -1
  73. package/dist/solutions-components/{p-a38eee28.entry.js → p-681a41f3.entry.js} +1 -1
  74. package/dist/solutions-components/{p-dc188d13.js → p-6d1ee086.js} +1 -1
  75. package/dist/solutions-components/{p-50b4945e.entry.js → p-7eec82e3.entry.js} +1 -1
  76. package/dist/solutions-components/{p-5b481f0d.entry.js → p-8b05b49c.entry.js} +1 -1
  77. package/dist/solutions-components/{p-6dc629dc.entry.js → p-93ebcb9b.entry.js} +1 -1
  78. package/dist/solutions-components/{p-b04179db.entry.js → p-b1f11c67.entry.js} +1 -1
  79. package/dist/solutions-components/{p-1aad0b63.entry.js → p-b3b5dca4.entry.js} +1 -1
  80. package/dist/solutions-components/{p-b8e4345e.entry.js → p-c45ba7dd.entry.js} +1 -1
  81. package/dist/solutions-components/{p-4a2870b0.entry.js → p-de3ba7be.entry.js} +1 -1
  82. package/dist/solutions-components/{p-7f36cfb0.entry.js → p-debeb4dc.entry.js} +1 -1
  83. package/dist/solutions-components/{p-f8854c5e.entry.js → p-e68f5f54.entry.js} +1 -1
  84. package/dist/solutions-components/{p-f3ba92d5.entry.js → p-f2cfed3a.entry.js} +1 -1
  85. package/dist/solutions-components/solutions-components.esm.js +1 -1
  86. package/dist/solutions-components_commit.txt +6 -6
  87. package/dist/types/components/create-feature/create-feature.d.ts +0 -4
  88. package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +4 -0
  89. package/dist/types/components/layer-table/layer-table.d.ts +34 -0
  90. package/dist/types/components.d.ts +0 -8
  91. package/package.json +1 -1
  92. package/dist/solutions-components/p-03f8bcc3.entry.js +0 -6
  93. package/dist/solutions-components/p-31159fc6.js +0 -21
  94. package/dist/solutions-components/p-76126e43.entry.js +0 -6
  95. package/dist/solutions-components/p-a4282d56.entry.js +0 -6
  96. package/dist/solutions-components/p-f899ecdb.entry.js +0 -6
  97. /package/dist/cjs/{locale-809dbc6e.js → locale-81070bd9.js} +0 -0
  98. /package/dist/cjs/{typeof-2a7e2dec.js → typeof-920a4426.js} +0 -0
  99. /package/dist/esm/{locale-fa8258bf.js → locale-4be8e04f.js} +0 -0
  100. /package/dist/esm/{typeof-ef2a007d.js → typeof-2511410e.js} +0 -0
  101. /package/dist/solutions-components/{p-57be3b9d.js → p-8a74a780.js} +0 -0
  102. /package/dist/solutions-components/{p-4fe489cf.js → p-af7e43e0.js} +0 -0
@@ -6,7 +6,7 @@
6
6
  'use strict';
7
7
 
8
8
  const _commonjsHelpers = require('./_commonjsHelpers-baf43783.js');
9
- const _typeof = require('./typeof-2a7e2dec.js');
9
+ const _typeof = require('./typeof-920a4426.js');
10
10
 
11
11
  var defineProperty = {exports: {}};
12
12
 
@@ -8,7 +8,7 @@
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
10
  const index = require('./index-f7713138.js');
11
- const locale = require('./locale-809dbc6e.js');
11
+ const locale = require('./locale-81070bd9.js');
12
12
  require('./_commonjsHelpers-baf43783.js');
13
13
 
14
14
  const basemapGalleryCss = ":host{display:block}";
@@ -127,9 +127,6 @@ const BasemapGallery = class {
127
127
  */
128
128
  async _initBaseMapGallery(view) {
129
129
  if (this.BasemapGallery) {
130
- if (this.basemapWidget) {
131
- this.basemapWidget.destroy();
132
- }
133
130
  const source = new this.PortalBasemapsSource({
134
131
  query: this.basemapConfig?.basemapGroupId ? `id:${this.basemapConfig.basemapGroupId}` : null,
135
132
  filterFunction: this.basemapConfig ? (basemap) => {
@@ -137,11 +134,19 @@ const BasemapGallery = class {
137
134
  } : () => true
138
135
  });
139
136
  await source.refresh();
140
- this.basemapWidget = new this.BasemapGallery({
141
- container: this._basemapElement,
142
- view,
143
- source
144
- });
137
+ // Don't destroy and re-create this widget as it leads to a duplication
138
+ // of the basemaps listed
139
+ if (!this.basemapWidget) {
140
+ this.basemapWidget = new this.BasemapGallery({
141
+ container: this._basemapElement,
142
+ view,
143
+ source
144
+ });
145
+ }
146
+ else {
147
+ this.basemapWidget.view = view;
148
+ this.basemapWidget.source = source;
149
+ }
145
150
  }
146
151
  }
147
152
  static get watchers() { return {
@@ -8,7 +8,7 @@
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
10
  const index = require('./index-f7713138.js');
11
- const locale = require('./locale-809dbc6e.js');
11
+ const locale = require('./locale-81070bd9.js');
12
12
  const interfaces = require('./interfaces-09c4c40e.js');
13
13
  const publicNotificationStore = require('./publicNotificationStore-f55899b2.js');
14
14
  require('./_commonjsHelpers-baf43783.js');
@@ -8,12 +8,12 @@
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
10
  const index = require('./index-f7713138.js');
11
- const locale = require('./locale-809dbc6e.js');
11
+ const locale = require('./locale-81070bd9.js');
12
12
  const mapViewUtils = require('./mapViewUtils-8b26c9d0.js');
13
- const downloadUtils = require('./downloadUtils-c7dac47d.js');
13
+ const downloadUtils = require('./downloadUtils-fefa863b.js');
14
14
  require('./_commonjsHelpers-baf43783.js');
15
15
  require('./interfaces-09c4c40e.js');
16
- require('./typeof-2a7e2dec.js');
16
+ require('./typeof-920a4426.js');
17
17
  require('./solution-resource-d0a2f7fe.js');
18
18
  require('./restHelpersGet-e4639890.js');
19
19
  require('./update-243ea407.js');
@@ -140,7 +140,7 @@ const CardManager = class {
140
140
  const heading = isTable ? this._translations.createRecord : this._translations.createFeature;
141
141
  const guideMsg = this.customInfoText ? this.customInfoText : this.selectingFeatureFromMap ? this._translations.selectFeaturesFromMapToStart : this._translations.selectFeaturesToStart;
142
142
  const showCreateFeatureOrRecordBtn = this.enableCreateFeatures && this.layer?.capabilities?.operations?.supportsAdd;
143
- return (index.h(index.Host, { key: '803f5130e6f4fa0bf97cfdd2776e176786e736cc' }, index.h("div", { key: '7c0a756f5de5f536b52d2e9f6629593eb3c85781', class: "overflow-auto height-full" }, index.h("calcite-shell", { key: '9a6366bba429d5c29a5f1c556d6812f44d28ee2c', class: "position-relative " + featuresClass }, index.h("div", { key: '61cb9f7942eb209e5e0bd751ab4b5ca026086882', class: "position-static z-index-500" }, index.h("info-card", { key: '0c3b6f958384dab4bc1db2917a88215bafe330b1', enableEditGeometry: this.enableEditGeometry, enableSnapping: this.enableSnapping, graphics: this._graphics, isLoading: this._cardLoading, isMobile: this.isMobile, locale: this.locale, mapView: this.mapView, showCloseBtn: true }))), index.h("calcite-shell", { key: 'db9233d29cc88ddc6cb023bcf9e9190ecb721214', class: "position-relative " + messageClass }, index.h("calcite-panel", { key: '0d1c22a3ad3d2d2a56054b2e8609697987b45ca7' }, index.h("div", { key: 'cc5f7faa934f474ddca2d0ab74fd46dac240cc6f', class: "padding-1" }, index.h("calcite-notice", { key: '2c2771696892455fcb1ec24d895cd321a84a8f49', icon: this.selectingFeatureFromMap ? "map" : "table", iconFlipRtl: true, open: true }, index.h("div", { key: '0bbbd13e4e9a7b2240a85b41dbd00fc2a7e39c75', slot: "message" }, guideMsg))), !this.isMobile && showCreateFeatureOrRecordBtn && index.h("calcite-button", { key: '67bac627f68fc6bcda2b1a8965ab6d7fb12d2e4c', disabled: !this.layer, onClick: () => this._createFeatureBtnClicked(), slot: "footer", width: "full" }, isTable ? this._translations.createRecord : this._translations.createFeature))), index.h("calcite-shell", { key: 'cd44af48bb05fd6ac41c0d66bdd9e01826ece1a4', class: "position-relative " + createFeatureClass }, index.h("calcite-flow-item", { key: '648dfdc4fb559ecbf64ee43791e3d9799c346f1a', selected: true }, index.h("calcite-panel", { key: '855df56ed576e52c94dbe3cfa8f6d57427a37ba2', heading: heading }, index.h("calcite-action", { key: '156d1b20da3f02de66879531802aa2d2fb99b1ca', class: "back-button hydrated", icon: "chevron-left", onClick: this._backFromCreateFeature.bind(this), scale: "s", slot: "header-actions-start", text: "" }), this.getEditorComponent(), this._showSubmitBtn && index.h("calcite-button", { key: '9b4556876d579a4f2bd02849737cd55b55f87cbd', appearance: "solid", class: "footer-top-button footer-button", onClick: () => void this._createFeature.submit(), slot: "footer", width: "full" }, this._translations.create)))))));
143
+ return (index.h(index.Host, { key: '803f5130e6f4fa0bf97cfdd2776e176786e736cc' }, index.h("div", { key: '7c0a756f5de5f536b52d2e9f6629593eb3c85781', class: "overflow-auto height-full" }, index.h("calcite-shell", { key: '9a6366bba429d5c29a5f1c556d6812f44d28ee2c', class: "position-relative " + featuresClass }, index.h("div", { key: '61cb9f7942eb209e5e0bd751ab4b5ca026086882', class: "position-static z-index-500" }, index.h("info-card", { key: 'aa2e8443af374a37dfebd0d5e87ca052221339a7', enableEditGeometry: this.enableEditGeometry, enableSnapping: this.enableSnapping, graphics: this._graphics, highlightEnabled: false, isLoading: this._cardLoading, isMobile: this.isMobile, locale: this.locale, mapView: this.mapView, showCloseBtn: true }))), index.h("calcite-shell", { key: '4979b9d94cd68f36b5d9e6ea59ffc0baecd180c0', class: "position-relative " + messageClass }, index.h("calcite-panel", { key: '9e02f86010e2348668a995de7d3644f0ddf838a6' }, index.h("div", { key: '83a5ac2003838734308d81dc2903313cb6c07e9a', class: "padding-1" }, index.h("calcite-notice", { key: 'e380ab334a7b4d65fb64b51bc2b7feb61771f813', icon: this.selectingFeatureFromMap ? "map" : "table", iconFlipRtl: true, open: true }, index.h("div", { key: '2ac48545c9c825d8d266a96b034dba7d17c024c1', slot: "message" }, guideMsg))), !this.isMobile && showCreateFeatureOrRecordBtn && index.h("calcite-button", { key: '300e922dcf00b72657ca48382579746073a1a646', disabled: !this.layer, onClick: () => this._createFeatureBtnClicked(), slot: "footer", width: "full" }, isTable ? this._translations.createRecord : this._translations.createFeature))), index.h("calcite-shell", { key: '1c279da12e0885ed5ecae714a0958e76ac3734d5', class: "position-relative " + createFeatureClass }, index.h("calcite-flow-item", { key: '8e54e6abf83e3d8ce487a2f76e1bdd8635f4d7b5', selected: true }, index.h("calcite-panel", { key: 'd31997df187797550eeaee6df294e4f41e6653b5', heading: heading }, index.h("calcite-action", { key: '636c83f8d5f361c1eb35a5b524565d0bd072489f', class: "back-button hydrated", icon: "chevron-left", onClick: this._backFromCreateFeature.bind(this), scale: "s", slot: "header-actions-start", text: "" }), this.getEditorComponent(), this._showSubmitBtn && index.h("calcite-button", { key: 'bd1a3ee472e275c57e9c40c217a3c0ac9c8e8715', appearance: "solid", class: "footer-top-button footer-button", onClick: () => void this._createFeature.submit(), slot: "footer", width: "full" }, this._translations.create)))))));
144
144
  }
145
145
  /**
146
146
  * Returns the editor component for adding feature
@@ -151,7 +151,7 @@ const CardManager = class {
151
151
  setTimeout(() => {
152
152
  this._isFeatureCreated = false;
153
153
  }, 2000);
154
- }, onSuccess: this._featureCreated.bind(this), ref: el => this._createFeature = el, selectedLayerId: this.layer?.id, showGuidingMsg: false, showGuidingMsgWhileDrawing: false })));
154
+ }, onSuccess: this._featureCreated.bind(this), ref: el => this._createFeature = el, selectedLayerId: this.layer?.id, showGuidingMsg: false })));
155
155
  }
156
156
  //--------------------------------------------------------------------------
157
157
  //
@@ -426,6 +426,18 @@ const LayerTable = class {
426
426
  * boolean: When true we will not evaluate if the editor has any pending edits
427
427
  */
428
428
  _skipEditCheck = false;
429
+ /**
430
+ * __esri.Handle: highlight handle for the current feature
431
+ */
432
+ _currentFeatureHighlightHandle;
433
+ /**
434
+ * __esri.Handle: highlight handle for the default features
435
+ */
436
+ _defaultFeaturesHandle;
437
+ /**
438
+ * __esri.Handle: highlight handle for temporary / hovered feature
439
+ */
440
+ _temporaryFeatureHandle;
429
441
  /**
430
442
  * __esri.Handle: handle for the filter by extent
431
443
  */
@@ -442,6 +454,10 @@ const LayerTable = class {
442
454
  * boolean: When true allow table to update the records
443
455
  */
444
456
  _shouldUpdateTableOnExtentChange = true;
457
+ /**
458
+ * any: layer view of the selected layer
459
+ */
460
+ _selectedLayerView;
445
461
  //--------------------------------------------------------------------------
446
462
  //
447
463
  // Watch handlers
@@ -541,6 +557,19 @@ const LayerTable = class {
541
557
  if (this.mapView) {
542
558
  this._floorExpression = undefined;
543
559
  this._searchExpression = undefined;
560
+ // highlight group for selections
561
+ this.mapView.highlights = [
562
+ {
563
+ name: "default",
564
+ color: "#00FFFF"
565
+ }, {
566
+ name: "current-selection",
567
+ color: "#ff00ff"
568
+ }, {
569
+ name: "temporary",
570
+ color: "#FFFF00"
571
+ }
572
+ ];
544
573
  this._updateShareUrl();
545
574
  this._mapClickHandle = this.reactiveUtils.on(() => this.mapView, "click", (event) => {
546
575
  void this._mapClicked(event);
@@ -703,6 +732,7 @@ const LayerTable = class {
703
732
  table.rowHighlightIds.removeAll();
704
733
  }
705
734
  table.rowHighlightIds.add(oid);
735
+ this._highlightFeatures(oid);
706
736
  if (this.zoomAndScrollToSelected) {
707
737
  const i = this._table.viewModel.getObjectIdIndex(oid);
708
738
  this._table.scrollToIndex(i);
@@ -821,8 +851,8 @@ const LayerTable = class {
821
851
  const tableHeightClass = this.isMobile ? "height-full" : "height-full-adjusted";
822
852
  const showSearch = this._canShowFullTextSearch();
823
853
  this._validateActiveActions();
824
- return (index.h(index.Host, { key: '407c23b3b63455e5bab7e6c5fd239faae66a313a' }, index.h("div", { key: '9630101da8fef334861a236101d37f4a2b990dbc' }, index.h("calcite-scrim", { key: '8e7844a1ba4df87ab8d6fbe4ac9265688f5354dd', class: scrimClass, loading: this._queryingData }), index.h("calcite-shell", { key: 'd0a5eaa5bdbaf0338125bbdc47c6f1801662b37a' }, this._getTableControlRow("header"), index.h("div", { key: '6747f6638aa3d1f7380c61451cb522d159e7ddb2', class: `width-full ${tableHeightClass}` }, index.h("calcite-panel", { key: 'dc5b04234e48d6c466fc514a58eee4ef6c4886ba', class: "height-full width-full" }, showSearch &&
825
- index.h("div", { key: '8aebcf99b0a159e3e7ce8c737f0558f9f147ee9b', class: "search-container border-bottom" }, index.h("calcite-input", { key: '7e4c1343755a966c4460506d6b1c205a81261155', class: "search", clearable: true, icon: "search", onCalciteInputChange: (evt) => void this._searchTextChanged(evt), placeholder: this._searchPlaceHolder, title: this._searchPlaceHolder, type: "search" })), index.h("calcite-loader", { key: '2eaa2b221d9e401a0ac1c6b379718b29eb76ea9e', class: loadingClass, label: this._translations.fetchingData, scale: "l" }), index.h("div", { key: 'fa05975786b02a18c9c9866f3390c2f549d67961', class: tableNodeClass, ref: this.onTableNodeCreate }))), !this.isMobile ? (index.h("div", { class: "bottom-left text-color height-19", id: "solutions-selected-count-div" }, this._translations.recordsSelected
854
+ return (index.h(index.Host, { key: '2d4fa2f8d4cce83ef1f972444cac99ab17ccf09a' }, index.h("div", { key: 'b53e3d454a7c2c1886bfd61e960ca7aa27bf5761' }, index.h("calcite-scrim", { key: '9a0e507b26707b8010f4d0ac3acd5a1eb8820780', class: scrimClass, loading: this._queryingData }), index.h("calcite-shell", { key: '1f1815e38773a834b7c1f6bdb783717477331522' }, this._getTableControlRow("header"), index.h("div", { key: 'fd2b3ca04bbb6b5ed9c2e044722079704b1c778e', class: `width-full ${tableHeightClass}` }, index.h("calcite-panel", { key: '0355028dce084ac034fe4b5ea8f7a0b1fec18b83', class: "height-full width-full" }, showSearch &&
855
+ index.h("div", { key: '3169fdf7d876b504c6ee1d11a0b41a55815cbc87', class: "search-container border-bottom" }, index.h("calcite-input", { key: '116960c2b95658c23c2ed2ee4b5282af0fa44f27', class: "search", clearable: true, icon: "search", onCalciteInputChange: (evt) => void this._searchTextChanged(evt), placeholder: this._searchPlaceHolder, title: this._searchPlaceHolder, type: "search" })), index.h("calcite-loader", { key: '83fdb600a68786dc0dd0dbbcfee1bc59bd311763', class: loadingClass, label: this._translations.fetchingData, scale: "l" }), index.h("div", { key: '4983053113d687a459f7749bfe7723964551c3df', class: tableNodeClass, ref: this.onTableNodeCreate }))), !this.isMobile ? (index.h("div", { class: "bottom-left text-color height-19", id: "solutions-selected-count-div" }, this._translations.recordsSelected
826
856
  .replace("{{total}}", total)
827
857
  .replace("{{selected}}", selected))) : undefined), this.createFilterModal && this._filterModal())));
828
858
  }
@@ -1534,7 +1564,7 @@ const LayerTable = class {
1534
1564
  view: this.mapView,
1535
1565
  columnReorderingEnabled: this.enableColumnReorder,
1536
1566
  editingEnabled: this._editEnabled && this.enableInlineEdit,
1537
- highlightEnabled: true,
1567
+ highlightEnabled: false,
1538
1568
  multiSortEnabled: false,
1539
1569
  attachmentsEnabled: true,
1540
1570
  visibleElements: {
@@ -1554,6 +1584,9 @@ const LayerTable = class {
1554
1584
  void this._handleOnChange(evt);
1555
1585
  });
1556
1586
  this._table.viewModel.addHandles(changeHandle);
1587
+ this._table.on('cell-pointerover', this.tempHighlightOnHover.bind(this));
1588
+ this._table.on('cell-pointerout', this._removeTempHighlight.bind(this));
1589
+ this._tableNode.addEventListener("mouseleave", this._removeTempHighlight.bind(this));
1557
1590
  //Add handle to watch size of the table and update the state to reflect the total count
1558
1591
  const handle = this.reactiveUtils.watch(() => this._table.size, (size) => {
1559
1592
  this._size = size;
@@ -1572,6 +1605,7 @@ const LayerTable = class {
1572
1605
  this._tempSelectedIds = [...this.selectedIds];
1573
1606
  this._finishOnChange();
1574
1607
  this._selectionFromMap = false;
1608
+ this._highlightFeatures(this.selectedIds[0]);
1575
1609
  }
1576
1610
  /**
1577
1611
  * Validate if the editor has any pending edits
@@ -1634,6 +1668,47 @@ const LayerTable = class {
1634
1668
  }
1635
1669
  this.featureSelectionChange.emit(this.selectedIds);
1636
1670
  }
1671
+ /**
1672
+ * Highlight feature when hovered over table row
1673
+ * @param e The Feature table pointer over event
1674
+ */
1675
+ tempHighlightOnHover(e) {
1676
+ this._removeTempHighlight();
1677
+ const temporaryFeature = e.feature;
1678
+ this._temporaryFeatureHandle = this._selectedLayerView.highlight([temporaryFeature], { name: "temporary" });
1679
+ }
1680
+ /**
1681
+ * Clears the temporary highlight
1682
+ */
1683
+ _removeTempHighlight() {
1684
+ if (this._temporaryFeatureHandle) {
1685
+ this._temporaryFeatureHandle.remove();
1686
+ }
1687
+ }
1688
+ /**
1689
+ * Highlights the current and secondary features on map
1690
+ * @param currentFeatureId selected current feature id
1691
+ */
1692
+ _highlightFeatures(currentFeatureId) {
1693
+ this._clearHighlights();
1694
+ this._currentFeatureHighlightHandle = this._selectedLayerView.highlight([currentFeatureId], { name: "current-selection" });
1695
+ if (this.selectedIds.length > 1) {
1696
+ const secondaryFeatures = this.selectedIds.filter((id) => id !== currentFeatureId);
1697
+ this._defaultFeaturesHandle = this._selectedLayerView.highlight(secondaryFeatures, { name: "default" });
1698
+ }
1699
+ }
1700
+ /**
1701
+ * Clears the highlights
1702
+ */
1703
+ _clearHighlights() {
1704
+ this._removeTempHighlight();
1705
+ if (this._currentFeatureHighlightHandle) {
1706
+ this._currentFeatureHighlightHandle.remove();
1707
+ }
1708
+ if (this._defaultFeaturesHandle) {
1709
+ this._defaultFeaturesHandle.remove();
1710
+ }
1711
+ }
1637
1712
  /**
1638
1713
  * Reset the tables column templates when we get new column config
1639
1714
  */
@@ -1932,7 +2007,10 @@ const LayerTable = class {
1932
2007
  this._outOFExtentOids = [...this._outOFExtentOids, ...outOids];
1933
2008
  }
1934
2009
  if (restoreOids.length > 0) {
1935
- this._table.highlightIds.addMany(restoreOids);
2010
+ // Merge this two array and then highlight the feature to maintain the current feature selection while restoring highlighted features
2011
+ this.selectedIds = [...new Set([...this.selectedIds, ...restoreOids])];
2012
+ this._table.highlightIds.removeAll();
2013
+ this._table.highlightIds.addMany(this.selectedIds.reverse());
1936
2014
  this._outOFExtentOids = this._outOFExtentOids.filter(oid => !restoreOids.includes(oid));
1937
2015
  }
1938
2016
  }
@@ -2030,6 +2108,7 @@ const LayerTable = class {
2030
2108
  this._table.viewModel.hideAttachmentsView();
2031
2109
  }
2032
2110
  this._table?.highlightIds.removeAll();
2111
+ this._clearHighlights();
2033
2112
  this._table?.rowHighlightIds.removeAll();
2034
2113
  this._finishOnChange();
2035
2114
  }
@@ -2140,8 +2219,7 @@ const LayerTable = class {
2140
2219
  */
2141
2220
  async _zoom() {
2142
2221
  if (this._layer) {
2143
- const selectedLayerView = await mapViewUtils.getFeatureLayerView(this.mapView, this._layer.id);
2144
- await mapViewUtils.goToSelection(this.selectedIds, selectedLayerView, this.mapView, true, undefined, this.zoomToScale);
2222
+ await mapViewUtils.goToSelection(this.selectedIds, this._selectedLayerView, this.mapView, true, undefined, this.zoomToScale);
2145
2223
  }
2146
2224
  }
2147
2225
  /**
@@ -2157,7 +2235,8 @@ const LayerTable = class {
2157
2235
  if (id !== this._layer?.id || this._featuresEmpty()) {
2158
2236
  this._fetchingData = true;
2159
2237
  const layer = await mapViewUtils.getLayerOrTable(this.mapView, id);
2160
- layer && await layer.when(() => {
2238
+ layer && await layer.when(async () => {
2239
+ this._selectedLayerView = await mapViewUtils.getFeatureLayerView(this.mapView, layer.id);
2161
2240
  if (this._table && this._table?.viewModel?.attachmentsViewOptions?.objectId) {
2162
2241
  this._table.viewModel.hideAttachmentsView();
2163
2242
  }
@@ -2196,8 +2275,6 @@ const LayerTable = class {
2196
2275
  if (fieldInfos) {
2197
2276
  columnTemplates = fieldInfos.reduce((prev, cur) => {
2198
2277
  const template = {
2199
- icon: "information",
2200
- iconText: cur.description,
2201
2278
  type: "field",
2202
2279
  fieldName: cur.name,
2203
2280
  label: cur.alias,
@@ -8,10 +8,10 @@
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
10
  const index$1 = require('./index-f7713138.js');
11
- const locale$1 = require('./locale-809dbc6e.js');
11
+ const locale$1 = require('./locale-81070bd9.js');
12
12
  const _commonjsHelpers = require('./_commonjsHelpers-baf43783.js');
13
- const asyncToGenerator = require('./asyncToGenerator-c7fc3ee4.js');
14
- const _typeof$1 = require('./typeof-2a7e2dec.js');
13
+ const asyncToGenerator = require('./asyncToGenerator-ccb3278b.js');
14
+ const _typeof$1 = require('./typeof-920a4426.js');
15
15
  const update = require('./update-243ea407.js');
16
16
 
17
17
  function shouldDisableTracking(options = {}) {
@@ -8,13 +8,13 @@
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
10
  const index = require('./index-f7713138.js');
11
- const locale = require('./locale-809dbc6e.js');
11
+ const locale = require('./locale-81070bd9.js');
12
12
  const mapViewUtils = require('./mapViewUtils-8b26c9d0.js');
13
- const popupUtils = require('./popupUtils-27f6cf2a.js');
13
+ const popupUtils = require('./popupUtils-a68a20db.js');
14
14
  require('./_commonjsHelpers-baf43783.js');
15
15
  require('./interfaces-09c4c40e.js');
16
- require('./downloadUtils-c7dac47d.js');
17
- require('./typeof-2a7e2dec.js');
16
+ require('./downloadUtils-fefa863b.js');
17
+ require('./typeof-920a4426.js');
18
18
  require('./solution-resource-d0a2f7fe.js');
19
19
  require('./restHelpersGet-e4639890.js');
20
20
  require('./update-243ea407.js');
@@ -42,7 +42,6 @@ const CreateFeature = class {
42
42
  this.searchConfiguration = undefined;
43
43
  this.selectedLayerId = undefined;
44
44
  this.showGuidingMsg = true;
45
- this.showGuidingMsgWhileDrawing = true;
46
45
  this.submitNewReportsMessage = undefined;
47
46
  this._currentPage = "templatePicker";
48
47
  this._editorLoading = false;
@@ -293,8 +292,8 @@ const CreateFeature = class {
293
292
  const loaderClass = this._editorLoading ? "" : "display-none";
294
293
  const featureFormClass = this._editorLoading ? "display-none" : "";
295
294
  const mobileMapClass = this.isMobile ? "show-map" : "display-none";
296
- // hide guiding msg for drawing page when showGuidingMsgWhileDrawing is false
297
- const showGuidingMsg = this.showGuidingMsg && (this.showGuidingMsgWhileDrawing || this._currentPage !== "drawing");
295
+ // hide guiding msg for template picker page
296
+ const showGuidingMsg = this.showGuidingMsg && (this._currentPage !== "templatePicker");
298
297
  let guidingMsg = this._translations.chooseCategoryMsg;
299
298
  if (this._currentPage === 'drawing') {
300
299
  guidingMsg = this._translations.provideLocationMsg;
@@ -302,8 +301,8 @@ const CreateFeature = class {
302
301
  else if (this._currentPage === 'featureForm') {
303
302
  guidingMsg = this._translations.provideDetailsMsg;
304
303
  }
305
- return (index.h(index.Fragment, { key: '2c9644bd52600f493965881cd0be4975bc12112e' }, showGuidingMsg && index.h("calcite-notice", { key: '9059dcfd2ec9dd24b6e9005b8a3d164cd585b994', class: "notice-msg", icon: "lightbulb", kind: "success", open: true, ref: el => this._calciteNotice = el }, index.h("div", { key: '9ecdee9591e21ca0c19de55240c9c30f90c36098', slot: "message" }, guidingMsg)), index.h("calcite-loader", { key: '81f0b3cabb02887df18d73e5e4bf372169863a1d', class: loaderClass, label: "", scale: "s" }), index.h("div", { key: 'c820fbb57d7b85e2d03b827e62603fb47d4a494e', class: featureFormClass, id: "feature-form" }), this.enableSearch &&
306
- index.h("div", { key: 'c179237732e1da99329eeb489ad8778f5bb4eba4', class: `search-widget ${showSearchWidget} ${featureFormClass}`, id: "search-widget-ref", ref: el => this._searchDiv = el }), index.h("div", { key: 'f56d2e9ed6cb2b5abc088db3e2014187760b79fd', class: `${mobileMapClass}`, ref: (el) => { this._mapViewContainer = el; } })));
304
+ return (index.h(index.Fragment, { key: '3a448bdb1ffdef55993b20f99b3f1bd1643b6e2f' }, showGuidingMsg && index.h("calcite-notice", { key: '5a9f000003d75c93ff613f1a4ddba14711653173', class: "notice-msg", icon: "lightbulb", kind: "success", open: true, ref: el => this._calciteNotice = el }, index.h("div", { key: '751a2c932838a798b102e14340cba2103abdf971', slot: "message" }, guidingMsg)), index.h("calcite-loader", { key: 'e6ae257cd070bc9d7ea55c725ecf95d096effbc0', class: loaderClass, label: "", scale: "s" }), index.h("div", { key: 'c25373774f6b87f7a6db4febd62a25b870d9be79', class: featureFormClass, id: "feature-form" }), this.enableSearch &&
305
+ index.h("div", { key: '3deb4ffc1f8a633d92e3c27f64247a6f21c58e56', class: `search-widget ${showSearchWidget} ${featureFormClass}`, id: "search-widget-ref", ref: el => this._searchDiv = el }), index.h("div", { key: 'c72a6826cddbac45675a788e941a6cabd320740a', class: `${mobileMapClass}`, ref: (el) => { this._mapViewContainer = el; } })));
307
306
  }
308
307
  //--------------------------------------------------------------------------
309
308
  //
@@ -1052,7 +1051,7 @@ const EditCard = class {
1052
1051
  !this.graphics[0].layer.editingEnabled : true;
1053
1052
  const tableNodeClass = this._editorLoading ? "display-none" : "position-absolute";
1054
1053
  const loadingClass = this._editorLoading ? "" : "display-none";
1055
- return (index.h(index.Host, { key: 'd67dbfb453966623d26a1567df84bc58024305d7' }, index.h("div", { key: '9cd13eaf0125ab39e1d24398ccfda17c9534317a', 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: '6cb4122611d8d8595cd85cd07224baa374066658', class: "position-absolute" }, index.h("div", { key: 'c4498b1ecd165fa594d9d1cef43f01643b5e3efb', class: tableNodeClass, id: "feature-form", ref: (el) => this._editContainer = el }), index.h("calcite-loader", { key: 'febb4d5c9a662ec9ffa6955114c8476c498116ee', class: loadingClass, label: "", scale: "s" })))));
1054
+ return (index.h(index.Host, { key: '5d0380d4dbd7412c90e6e3b9aa28b580bf5a6ac4' }, index.h("div", { key: '29825ee6c26acce86fcb6678d3e3db957358e314', 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: '35fc876d6857fb72c8808cff311e894dd9890afe', class: "position-absolute" }, index.h("div", { key: 'c95f3453d5fc4dac7ba5f1e7db69490405861059', class: tableNodeClass, id: "feature-form", ref: (el) => this._editContainer = el }), index.h("calcite-loader", { key: '211fd81ec4b13a731a895c882fafcb438fbf235c', class: loadingClass, label: "", scale: "s" })))));
1056
1055
  }
1057
1056
  //--------------------------------------------------------------------------
1058
1057
  //
@@ -1467,8 +1466,8 @@ const InfoCard = class {
1467
1466
  });
1468
1467
  }
1469
1468
  else {
1470
- this._features.clear();
1471
- this._features.close();
1469
+ this._features?.clear();
1470
+ this._features?.close();
1472
1471
  }
1473
1472
  this._count = this._getCount();
1474
1473
  }
@@ -8,7 +8,7 @@
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
10
  const index = require('./index-f7713138.js');
11
- const locale = require('./locale-809dbc6e.js');
11
+ const locale = require('./locale-81070bd9.js');
12
12
  const mapViewUtils = require('./mapViewUtils-8b26c9d0.js');
13
13
  require('./_commonjsHelpers-baf43783.js');
14
14
  require('./interfaces-09c4c40e.js');
@@ -8,7 +8,7 @@
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
10
  const index = require('./index-f7713138.js');
11
- const locale = require('./locale-809dbc6e.js');
11
+ const locale = require('./locale-81070bd9.js');
12
12
  const interfaces = require('./interfaces-09c4c40e.js');
13
13
  const mapViewUtils = require('./mapViewUtils-8b26c9d0.js');
14
14
  require('./_commonjsHelpers-baf43783.js');
@@ -8,7 +8,7 @@
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
10
  const index = require('./index-f7713138.js');
11
- const locale = require('./locale-809dbc6e.js');
11
+ const locale = require('./locale-81070bd9.js');
12
12
  const mapViewUtils = require('./mapViewUtils-8b26c9d0.js');
13
13
  require('./_commonjsHelpers-baf43783.js');
14
14
  require('./interfaces-09c4c40e.js');
@@ -295,6 +295,12 @@ const CrowdsourceReporter = class {
295
295
  this.refreshLists();
296
296
  }
297
297
  }
298
+ /**
299
+ * Update sorting options when the sortOption prop is changed
300
+ */
301
+ async sortOptionWatchHandler() {
302
+ this.updateSortingOptions();
303
+ }
298
304
  /**
299
305
  * Called each time the filterByMapExtent prop is changed
300
306
  */
@@ -381,7 +387,7 @@ const CrowdsourceReporter = class {
381
387
  */
382
388
  render() {
383
389
  const themeClass = this.theme === "dark" ? "calcite-mode-dark" : "calcite-mode-light";
384
- return (index.h(index.Host, { key: 'b262a653d9af3a8f332f416af7f297cc15ac3355' }, this._reportSubmitted && index.h("calcite-alert", { key: 'efe33e5ec3ed708d21f8464aa70eb7ce9a258035', "auto-close": true, class: themeClass + " report-submitted-msg", icon: "check-circle", kind: "success", label: "", onCalciteAlertClose: () => { this._reportSubmitted = false; }, open: true, placement: "top" }, index.h("div", { key: '6c6a35bc84da9a13241313dd15dc4a5905f59866', slot: "message" }, this.reportSubmittedMessage ? this.reportSubmittedMessage : this._translations.submitMsg)), this._featureCreationFailedErrorMsg && index.h("calcite-alert", { key: '21d8064c4bf5c0dd118cd012d9d30d2998011a00', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._featureCreationFailedErrorMsg = ""; }, open: true, placement: "top" }, index.h("div", { key: '93e68814f1f3cf62d9ed4d6673aec8124cfa0a4f', slot: "title" }, this._translations.error), index.h("div", { key: '156cd9169dbcbeafa605620938ba9aeccd0f9401', slot: "message" }, this._featureCreationFailedErrorMsg)), this._commentSubmitted && index.h("calcite-alert", { key: '2cb152fe6734f80f6d9714c3597aaf064ffffd57', "auto-close": true, class: 'report-submitted ' + themeClass, icon: "check-circle", kind: "success", label: "", onCalciteAlertClose: () => { this._commentSubmitted = false; }, open: true, placement: "top" }, index.h("div", { key: '33369e8086740651ef26bfc765448fb6bded03fe', slot: "message" }, this.commentSubmittedMessage || this._translations.commentSubmittedMsg)), this._addingCommentFailed && index.h("calcite-alert", { key: '5b4fbac03c85e82e2bb11611772186140d0419e9', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._addingCommentFailed = false; }, open: true, placement: "top" }, index.h("div", { key: '31bd9f781304d1493dcbbee5914369742c8c0e03', slot: "title" }, this._translations.error), index.h("div", { key: '7844073654d79069fe7e54c72ec7bc85a1e77436', slot: "message" }, this._translations.addingCommentFailedMsg)), index.h("div", { key: '17eca819f0141e4945deb8013aa662d5b3c27626' }, index.h("calcite-shell", { key: 'c07f28fa3733f6be3a22d813a267e77a05038f3e', "content-behind": true }, this._getReporter())), this.isMobile && this.filterModal()));
390
+ return (index.h(index.Host, { key: '67b22ff121842ed855d42c6e95f506da7a27fc03' }, this._reportSubmitted && index.h("calcite-alert", { key: 'a4687bb0a46e215f830418c934156adc1ca22d28', "auto-close": true, class: themeClass + " report-submitted-msg", icon: "check-circle", kind: "success", label: "", onCalciteAlertClose: () => { this._reportSubmitted = false; }, open: true, placement: "top" }, index.h("div", { key: '75c7f06e0c997cff02f2d03cf165a0d96556a99e', slot: "message" }, this.reportSubmittedMessage ? this.reportSubmittedMessage : this._translations.submitMsg)), this._featureCreationFailedErrorMsg && index.h("calcite-alert", { key: 'db289e06eeff7d79511b0f2d94681931347b40ed', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._featureCreationFailedErrorMsg = ""; }, open: true, placement: "top" }, index.h("div", { key: '9f8c4ef83cafb13d17fd1051d308e59e00c277d5', slot: "title" }, this._translations.error), index.h("div", { key: 'c18221f220f9b1d28b296a9bab89b838f0884323', slot: "message" }, this._featureCreationFailedErrorMsg)), this._commentSubmitted && index.h("calcite-alert", { key: '086aff48b20dbabcddb68fca5b57d7a14101c8d0', "auto-close": true, class: 'report-submitted ' + themeClass, icon: "check-circle", kind: "success", label: "", onCalciteAlertClose: () => { this._commentSubmitted = false; }, open: true, placement: "top" }, index.h("div", { key: '02125cd052ba81cc1fce0ac65ab517ae0eb46d13', slot: "message" }, this.commentSubmittedMessage || this._translations.commentSubmittedMsg)), this._addingCommentFailed && index.h("calcite-alert", { key: 'c1e0966dde08f7f22f54cdadfc85f3024616fc77', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._addingCommentFailed = false; }, open: true, placement: "top" }, index.h("div", { key: '0dd5af761fef31a4b85bfa0f66dff82e04b1cced', slot: "title" }, this._translations.error), index.h("div", { key: 'e8b8667855147b417cfc43d19e0c0a04f8870bfd', slot: "message" }, this._translations.addingCommentFailedMsg)), index.h("div", { key: '10c4c2d1673d63a8ced357312d57acf7faa46f0a' }, index.h("calcite-shell", { key: '8262117bc32e033f25f2864f4c5aa8a1bdde85ff', "content-behind": true }, this._getReporter())), this.isMobile && this.filterModal()));
385
391
  }
386
392
  //--------------------------------------------------------------------------
387
393
  //
@@ -1433,6 +1439,7 @@ const CrowdsourceReporter = class {
1433
1439
  "mapView": ["mapViewWatchHandler"],
1434
1440
  "floorLevel": ["floorLevelWatchHandler"],
1435
1441
  "showMyReportsOnly": ["showMyReportsOnlyWatchHandler"],
1442
+ "sortOption": ["sortOptionWatchHandler"],
1436
1443
  "filterByMapExtent": ["filterByMapExtentChangeWatchHandler"],
1437
1444
  "layerExpressions": ["layerExpressionsWatchHandler"],
1438
1445
  "showFeatureSymbol": ["showFeatureSymbolWatchHandler"]
@@ -8,7 +8,7 @@
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
10
  const index = require('./index-f7713138.js');
11
- const locale = require('./locale-809dbc6e.js');
11
+ const locale = require('./locale-81070bd9.js');
12
12
  require('./_commonjsHelpers-baf43783.js');
13
13
 
14
14
  const deleteDialogCss = ":host{display:block}.delete-modal{position:fixed}";
@@ -5,9 +5,9 @@
5
5
  */
6
6
  'use strict';
7
7
 
8
- const _typeof = require('./typeof-2a7e2dec.js');
8
+ const _typeof = require('./typeof-920a4426.js');
9
9
  const index = require('./index-f7713138.js');
10
- const locale = require('./locale-809dbc6e.js');
10
+ const locale = require('./locale-81070bd9.js');
11
11
  const mapViewUtils = require('./mapViewUtils-8b26c9d0.js');
12
12
  require('./solution-resource-d0a2f7fe.js');
13
13
  const restHelpersGet = require('./restHelpersGet-e4639890.js');
@@ -1603,7 +1603,7 @@ function(t){var e=function(t){for(var e=t.length,r=new Uint8Array(e),n=0;n<e;n++
1603
1603
  * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1604
1604
  * ====================================================================
1605
1605
  */
1606
- function(t){function e(){return (n.canvg?Promise.resolve(n.canvg):Promise.resolve().then(function () { return require('./index.es-3c2404c3.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"===_typeof.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},
1606
+ function(t){function e(){return (n.canvg?Promise.resolve(n.canvg):Promise.resolve().then(function () { return require('./index.es-0441a948.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"===_typeof.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},
1607
1607
  /** ====================================================================
1608
1608
  * @license
1609
1609
  * jsPDF XMP metadata plugin
@@ -8,12 +8,12 @@
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
10
  const index = require('./index-f7713138.js');
11
- const locale = require('./locale-809dbc6e.js');
12
- const popupUtils = require('./popupUtils-27f6cf2a.js');
11
+ const locale = require('./locale-81070bd9.js');
12
+ const popupUtils = require('./popupUtils-a68a20db.js');
13
13
  const mapViewUtils = require('./mapViewUtils-8b26c9d0.js');
14
14
  require('./_commonjsHelpers-baf43783.js');
15
- require('./downloadUtils-c7dac47d.js');
16
- require('./typeof-2a7e2dec.js');
15
+ require('./downloadUtils-fefa863b.js');
16
+ require('./typeof-920a4426.js');
17
17
  require('./solution-resource-d0a2f7fe.js');
18
18
  require('./restHelpersGet-e4639890.js');
19
19
  require('./update-243ea407.js');
@@ -6,8 +6,8 @@
6
6
  'use strict';
7
7
 
8
8
  const _commonjsHelpers = require('./_commonjsHelpers-baf43783.js');
9
- const asyncToGenerator = require('./asyncToGenerator-c7fc3ee4.js');
10
- require('./typeof-2a7e2dec.js');
9
+ const asyncToGenerator = require('./asyncToGenerator-ccb3278b.js');
10
+ require('./typeof-920a4426.js');
11
11
 
12
12
  var check = function (it) {
13
13
  return it && it.Math === Math && it;
@@ -8,7 +8,7 @@
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
10
  const index = require('./index-f7713138.js');
11
- const locale = require('./locale-809dbc6e.js');
11
+ const locale = require('./locale-81070bd9.js');
12
12
  const solutionStore = require('./solution-store-ed7cc59b.js');
13
13
  const interfaces = require('./interfaces-09c4c40e.js');
14
14
  const solutionResource = require('./solution-resource-d0a2f7fe.js');