@esri/solutions-components 0.10.42 → 0.10.43

Sign up to get free protection for your applications and to get access to all the features.
Files changed (112) hide show
  1. package/dist/cjs/calcite-action-pad_2.cjs.entry.js +1 -1
  2. package/dist/cjs/calcite-block_5.cjs.entry.js +25 -26
  3. package/dist/cjs/{constants-51cf394f.js → constants-bed33322.js} +3 -11
  4. package/dist/cjs/crowdsource-reporter.cjs.entry.js +112 -49
  5. package/dist/cjs/{helpers-afcac967.js → helpers-0493759d.js} +1 -1
  6. package/dist/cjs/instant-apps-app-guide.cjs.entry.js +2 -2
  7. package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +3 -3
  8. package/dist/cjs/instant-apps-control-panel.cjs.entry.js +1 -1
  9. package/dist/cjs/instant-apps-create.cjs.entry.js +2 -2
  10. package/dist/cjs/instant-apps-export-views.cjs.entry.js +2 -2
  11. package/dist/cjs/instant-apps-export.cjs.entry.js +2 -2
  12. package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +2 -2
  13. package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +2 -2
  14. package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +2 -2
  15. package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +21 -7
  16. package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +3 -3
  17. package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +2 -2
  18. package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +7 -7
  19. package/dist/cjs/instant-apps-language-translator.cjs.entry.js +6 -6
  20. package/dist/cjs/instant-apps-measurement.cjs.entry.js +2 -2
  21. package/dist/cjs/instant-apps-popover.cjs.entry.js +2 -2
  22. package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +2 -2
  23. package/dist/cjs/instant-apps-sign-in.cjs.entry.js +2 -2
  24. package/dist/cjs/instant-apps-splash.cjs.entry.js +6 -5
  25. package/dist/cjs/instant-apps-time-filter.cjs.entry.js +2 -2
  26. package/dist/cjs/{loadModules-8567855e.js → loadModules-df8b13ca.js} +1 -1
  27. package/dist/cjs/loader.cjs.js +1 -1
  28. package/dist/cjs/{locale-4a18a858.js → locale-4b820602.js} +1 -1
  29. package/dist/cjs/solution-contents_3.cjs.entry.js +1 -1
  30. package/dist/cjs/solutions-components.cjs.js +1 -1
  31. package/dist/cjs/{utils-fa7ad44b.js → utils-3f10ea6b.js} +2 -2
  32. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +112 -49
  33. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +2 -2
  34. package/dist/components/crowdsource-reporter.js +112 -49
  35. package/dist/components/instant-apps-filter-list2.js +25 -26
  36. package/dist/components/instant-apps-interactive-legend-relationship2.js +19 -5
  37. package/dist/components/instant-apps-language-switcher.js +3 -3
  38. package/dist/components/instant-apps-language-translator2.js +4 -12
  39. package/dist/components/instant-apps-splash.js +4 -3
  40. package/dist/components/loadModules2.js +1 -1
  41. package/dist/components/solution-spatial-ref2.js +2 -2
  42. package/dist/components/utils4.js +1 -1
  43. package/dist/esm/calcite-action-pad_2.entry.js +1 -1
  44. package/dist/esm/calcite-block_5.entry.js +25 -26
  45. package/dist/esm/{constants-886c7c2c.js → constants-637a40f5.js} +3 -11
  46. package/dist/esm/crowdsource-reporter.entry.js +112 -49
  47. package/dist/esm/{helpers-91087955.js → helpers-91ca0f44.js} +1 -1
  48. package/dist/esm/instant-apps-app-guide.entry.js +2 -2
  49. package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +3 -3
  50. package/dist/esm/instant-apps-control-panel.entry.js +1 -1
  51. package/dist/esm/instant-apps-create.entry.js +2 -2
  52. package/dist/esm/instant-apps-export-views.entry.js +2 -2
  53. package/dist/esm/instant-apps-export.entry.js +2 -2
  54. package/dist/esm/instant-apps-interactive-legend-classic.entry.js +2 -2
  55. package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +2 -2
  56. package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +2 -2
  57. package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +21 -7
  58. package/dist/esm/instant-apps-interactive-legend.entry.js +3 -3
  59. package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +2 -2
  60. package/dist/esm/instant-apps-language-switcher.entry.js +7 -7
  61. package/dist/esm/instant-apps-language-translator.entry.js +6 -6
  62. package/dist/esm/instant-apps-measurement.entry.js +2 -2
  63. package/dist/esm/instant-apps-popover.entry.js +2 -2
  64. package/dist/esm/instant-apps-scoreboard.entry.js +2 -2
  65. package/dist/esm/instant-apps-sign-in.entry.js +2 -2
  66. package/dist/esm/instant-apps-splash.entry.js +6 -5
  67. package/dist/esm/instant-apps-time-filter.entry.js +2 -2
  68. package/dist/esm/{loadModules-03ba7abe.js → loadModules-d5a25252.js} +1 -1
  69. package/dist/esm/loader.js +1 -1
  70. package/dist/esm/{locale-ce177eb8.js → locale-77038bee.js} +1 -1
  71. package/dist/esm/solution-contents_3.entry.js +1 -1
  72. package/dist/esm/solutions-components.js +1 -1
  73. package/dist/esm/{utils-3fc29543.js → utils-0a78d3c9.js} +2 -2
  74. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-splash/instant-apps-splash.css +7 -0
  75. package/dist/solutions-components/{p-b739f26d.entry.js → p-053effee.entry.js} +1 -1
  76. package/dist/solutions-components/{p-af573e0d.js → p-09543b4e.js} +1 -1
  77. package/dist/solutions-components/p-1b1ff60a.entry.js +6 -0
  78. package/dist/solutions-components/{p-e4107150.entry.js → p-2291bf3f.entry.js} +1 -1
  79. package/dist/solutions-components/p-2cf41651.entry.js +6 -0
  80. package/dist/solutions-components/{p-fe3aea1a.entry.js → p-351c7cbf.entry.js} +1 -1
  81. package/dist/solutions-components/{p-90fc786f.entry.js → p-3d999f0f.entry.js} +1 -1
  82. package/dist/solutions-components/p-3fe6c230.entry.js +6 -0
  83. package/dist/solutions-components/p-4695cfab.js +6 -0
  84. package/dist/solutions-components/{p-43699470.entry.js → p-499489c5.entry.js} +1 -1
  85. package/dist/solutions-components/{p-5ff711ee.js → p-5104cc98.js} +1 -1
  86. package/dist/solutions-components/p-5e694bcc.entry.js +29 -0
  87. package/dist/solutions-components/{p-cbb86cf2.entry.js → p-6a3f2249.entry.js} +1 -1
  88. package/dist/solutions-components/{p-a7f56b28.entry.js → p-6e5ea1cb.entry.js} +1 -1
  89. package/dist/solutions-components/{p-9c170b30.entry.js → p-76a1236d.entry.js} +1 -1
  90. package/dist/solutions-components/{p-1e14b3d0.entry.js → p-78b6d3fe.entry.js} +1 -1
  91. package/dist/solutions-components/{p-c48be45f.entry.js → p-8a1a0f9b.entry.js} +1 -1
  92. package/dist/solutions-components/{p-5cbf3eed.entry.js → p-8d4a4498.entry.js} +1 -1
  93. package/dist/solutions-components/{p-4a02fd45.entry.js → p-9d9e0e74.entry.js} +1 -1
  94. package/dist/solutions-components/{p-50fb7f47.js → p-b49e1a78.js} +1 -1
  95. package/dist/solutions-components/{p-c551ffc5.entry.js → p-c399f2b8.entry.js} +1 -1
  96. package/dist/solutions-components/p-cb27611e.entry.js +6 -0
  97. package/dist/solutions-components/{p-4cd4cb85.js → p-d001e961.js} +1 -1
  98. package/dist/solutions-components/{p-523dcf4b.entry.js → p-d37a68f7.entry.js} +1 -1
  99. package/dist/solutions-components/{p-a2cf9fdc.entry.js → p-db7d5db8.entry.js} +1 -1
  100. package/dist/solutions-components/{p-6438d1ea.entry.js → p-e29e57db.entry.js} +1 -1
  101. package/dist/solutions-components/{p-a5b751e2.entry.js → p-e625aa69.entry.js} +1 -1
  102. package/dist/solutions-components/{p-2542d5c9.entry.js → p-e9fcc194.entry.js} +1 -1
  103. package/dist/solutions-components/{p-374ddead.entry.js → p-f4880179.entry.js} +1 -1
  104. package/dist/solutions-components/solutions-components.esm.js +1 -1
  105. package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +43 -17
  106. package/package.json +7 -7
  107. package/dist/solutions-components/p-3fc18283.entry.js +0 -6
  108. package/dist/solutions-components/p-442dd59c.entry.js +0 -6
  109. package/dist/solutions-components/p-5585dcd3.entry.js +0 -6
  110. package/dist/solutions-components/p-953afbb3.entry.js +0 -29
  111. package/dist/solutions-components/p-ceb1030b.js +0 -6
  112. package/dist/solutions-components/p-f728af86.entry.js +0 -6
@@ -8,9 +8,9 @@
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
10
  const index = require('./index-4b68e4b4.js');
11
- const loadModules = require('./loadModules-8567855e.js');
12
- const locale = require('./locale-4a18a858.js');
13
- const helpers = require('./helpers-afcac967.js');
11
+ const loadModules = require('./loadModules-df8b13ca.js');
12
+ const locale = require('./locale-4b820602.js');
13
+ const helpers = require('./helpers-0493759d.js');
14
14
  require('./esri-loader-08dc41bd.js');
15
15
  require('./_commonjsHelpers-baf43783.js');
16
16
  require('./languageUtil-a3e1eafd.js');
@@ -8,8 +8,8 @@
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
10
  const index = require('./index-4b68e4b4.js');
11
- const locale = require('./locale-4a18a858.js');
12
- require('./loadModules-8567855e.js');
11
+ const locale = require('./locale-4b820602.js');
12
+ require('./loadModules-df8b13ca.js');
13
13
  require('./esri-loader-08dc41bd.js');
14
14
  require('./_commonjsHelpers-baf43783.js');
15
15
  require('./languageUtil-a3e1eafd.js');
@@ -8,10 +8,10 @@
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
10
  const index = require('./index-4b68e4b4.js');
11
- const utils = require('./utils-fa7ad44b.js');
12
- const loadModules = require('./loadModules-8567855e.js');
13
- const locale = require('./locale-4a18a858.js');
14
- const constants = require('./constants-51cf394f.js');
11
+ const utils = require('./utils-3f10ea6b.js');
12
+ const loadModules = require('./loadModules-df8b13ca.js');
13
+ const locale = require('./locale-4b820602.js');
14
+ const constants = require('./constants-bed33322.js');
15
15
  require('./index-2b13a4d5.js');
16
16
  require('./esri-loader-08dc41bd.js');
17
17
  require('./_commonjsHelpers-baf43783.js');
@@ -42,7 +42,7 @@ const InstantAppsLanguageSwitcher = class {
42
42
  this.messages = await utils.getMessages(document.createElement('instant-apps-language-translator'));
43
43
  try {
44
44
  this.portalItemResource = (await constants.getPortalItemResource(this.portalItem));
45
- const t9nData = await constants.fetchResourceData(request, this.portalItemResource);
45
+ const t9nData = await constants.fetchResourceData(this.portalItemResource);
46
46
  this.t9nData = t9nData !== null && t9nData !== void 0 ? t9nData : {};
47
47
  }
48
48
  catch (err) {
@@ -83,7 +83,7 @@ const InstantAppsLanguageSwitcher = class {
83
83
  const trigger = this.renderTrigger();
84
84
  const dropdown = this.renderDropdownItems();
85
85
  const defaultLocale = this.renderDefaultLocale();
86
- return (index.h("calcite-dropdown", { key: 'ce2effa615127d96ffa5995e09e6b92256d1e549', onCalciteDropdownBeforeOpen: () => (this.trigger.iconEnd = 'chevron-up'), onCalciteDropdownBeforeClose: () => (this.trigger.iconEnd = 'chevron-down'), "overlay-positioning": this.calciteDropdownOverlayPositioning, "width-scale": "m" }, trigger, defaultLocale, dropdown));
86
+ return (index.h("calcite-dropdown", { key: '7f9b97b70ec4a84ebd17d0d41ba598ae15304f10', onCalciteDropdownBeforeOpen: () => (this.trigger.iconEnd = 'chevron-up'), onCalciteDropdownBeforeClose: () => (this.trigger.iconEnd = 'chevron-down'), "overlay-positioning": this.calciteDropdownOverlayPositioning, "width-scale": "m" }, trigger, defaultLocale, dropdown));
87
87
  }
88
88
  renderDefaultLocale() {
89
89
  const { userLocale } = this;
@@ -165,7 +165,7 @@ const InstantAppsLanguageSwitcher = class {
165
165
  async refresh() {
166
166
  try {
167
167
  const resource = (await constants.getPortalItemResource(this.portalItem));
168
- const t9nData = await constants.fetchResourceData(this.request, resource);
168
+ const t9nData = await constants.fetchResourceData(resource);
169
169
  this.t9nData = t9nData;
170
170
  const refreshedData = { locale: this.selectedLanguage, data: t9nData[this.selectedLanguage] };
171
171
  this.selectedLanguageUpdated.emit(refreshedData);
@@ -8,10 +8,10 @@
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
10
  const index = require('./index-4b68e4b4.js');
11
- const utils = require('./utils-fa7ad44b.js');
12
- const loadModules = require('./loadModules-8567855e.js');
13
- const locale = require('./locale-4a18a858.js');
14
- const constants = require('./constants-51cf394f.js');
11
+ const utils = require('./utils-3f10ea6b.js');
12
+ const loadModules = require('./loadModules-df8b13ca.js');
13
+ const locale = require('./locale-4b820602.js');
14
+ const constants = require('./constants-bed33322.js');
15
15
  require('./index-2b13a4d5.js');
16
16
  require('./esri-loader-08dc41bd.js');
17
17
  require('./_commonjsHelpers-baf43783.js');
@@ -113,14 +113,14 @@ const InstantAppsLanguageTranslator = class {
113
113
  try {
114
114
  const portalItemResource = (await constants.getPortalItemResource(this.portalItem));
115
115
  utils.store.set('portalItemResource', portalItemResource);
116
- const t9nData = await constants.fetchResourceData(this.request, portalItemResource);
116
+ const t9nData = await constants.fetchResourceData(portalItemResource);
117
117
  utils.store.set('lastSave', t9nData.lastSave);
118
118
  utils.store.set('portalItemResourceT9n', t9nData !== null && t9nData !== void 0 ? t9nData : {});
119
119
  }
120
120
  catch (_a) { }
121
121
  }
122
122
  render() {
123
- return (index.h(index.Host, { key: '1f68786d3e9bced7a2242033cf51fc4937bc910a' }, this.renderModal(), this.renderPopoverTip()));
123
+ return (index.h(index.Host, { key: 'bbd0cf37c4aa5e145ee14cc17f8a005bcc28ac9c' }, this.renderModal(), this.renderPopoverTip()));
124
124
  }
125
125
  renderModal() {
126
126
  return (index.h("calcite-modal", { open: this.open, scale: "l", fullscreen: true, onCalciteModalClose: this.close.bind(this) }, this.renderHeader(), this.renderContent(), this.renderPrimaryContent()));
@@ -8,8 +8,8 @@
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
10
  const index = require('./index-4b68e4b4.js');
11
- const locale = require('./locale-4a18a858.js');
12
- require('./loadModules-8567855e.js');
11
+ const locale = require('./locale-4b820602.js');
12
+ require('./loadModules-df8b13ca.js');
13
13
  require('./esri-loader-08dc41bd.js');
14
14
  require('./_commonjsHelpers-baf43783.js');
15
15
  require('./languageUtil-a3e1eafd.js');
@@ -8,8 +8,8 @@
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
10
  const index = require('./index-4b68e4b4.js');
11
- const locale = require('./locale-4a18a858.js');
12
- require('./loadModules-8567855e.js');
11
+ const locale = require('./locale-4b820602.js');
12
+ require('./loadModules-df8b13ca.js');
13
13
  require('./esri-loader-08dc41bd.js');
14
14
  require('./_commonjsHelpers-baf43783.js');
15
15
  require('./languageUtil-a3e1eafd.js');
@@ -8,8 +8,8 @@
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
10
  const index = require('./index-4b68e4b4.js');
11
- const loadModules = require('./loadModules-8567855e.js');
12
- const locale = require('./locale-4a18a858.js');
11
+ const loadModules = require('./loadModules-df8b13ca.js');
12
+ const locale = require('./locale-4b820602.js');
13
13
  const breakpoints = require('./breakpoints-7d21666f.js');
14
14
  require('./esri-loader-08dc41bd.js');
15
15
  require('./_commonjsHelpers-baf43783.js');
@@ -8,8 +8,8 @@
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
10
  const index = require('./index-4b68e4b4.js');
11
- const loadModules = require('./loadModules-8567855e.js');
12
- const locale = require('./locale-4a18a858.js');
11
+ const loadModules = require('./loadModules-df8b13ca.js');
12
+ const locale = require('./locale-4b820602.js');
13
13
  require('./esri-loader-08dc41bd.js');
14
14
  require('./_commonjsHelpers-baf43783.js');
15
15
  require('./languageUtil-a3e1eafd.js');
@@ -9,8 +9,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
10
  const index = require('./index-4b68e4b4.js');
11
11
  const index$1 = require('./index-f052f656.js');
12
- const locale = require('./locale-4a18a858.js');
13
- require('./loadModules-8567855e.js');
12
+ const locale = require('./locale-4b820602.js');
13
+ require('./loadModules-df8b13ca.js');
14
14
  require('./esri-loader-08dc41bd.js');
15
15
  require('./_commonjsHelpers-baf43783.js');
16
16
  require('./languageUtil-a3e1eafd.js');
@@ -54,11 +54,12 @@ function removeItemFromLocalStorage(key) {
54
54
  (_a = window === null || window === void 0 ? void 0 : window.localStorage) === null || _a === void 0 ? void 0 : _a.removeItem(key);
55
55
  }
56
56
 
57
- const instantAppsSplashCss = ":host{display:block}:host .image.image_resized img{width:100%}:host .instant-apps-splash__back-content{display:flex;align-items:center}:host .instant-apps-splash__back-content calcite-label{--calcite-label-margin-bottom:0}";
57
+ const instantAppsSplashCss = ":host{--instant-apps-splash-content-max-height:100%;display:block}:host .image.image_resized img{width:100%}:host .instant-apps-splash__back-content{display:flex;align-items:center}:host .instant-apps-splash__back-content calcite-label{--calcite-label-margin-bottom:0}:host .instant-apps-splash__content{max-height:var(--instant-apps-splash-content-max-height)}";
58
58
  const InstantAppsSplashStyle0 = instantAppsSplashCss;
59
59
 
60
60
  const CSS = {
61
61
  back: 'instant-apps-splash__back-content',
62
+ content: 'instant-apps-splash__content',
62
63
  };
63
64
  const InstantAppsSplash = class {
64
65
  constructor(hostRef) {
@@ -98,7 +99,7 @@ const InstantAppsSplash = class {
98
99
  locale.getMessages(this);
99
100
  }
100
101
  render() {
101
- return (index.h("calcite-modal", { key: '1ab8d4142fe5c3ac087c2146af6f8510183af8a8', onCalciteModalClose: this.close.bind(this), open: this.open, closeButtonDisabled: this.closeButtonDisabled, outsideCloseDisabled: this.outsideCloseDisabled }, this.renderHeader(), this.renderContent(), this.localStorageKey ? this.renderDontShowThisAgainCheckbox() : null, this.renderPrimaryButton(), this.secondaryButton ? this.renderSecondaryButton() : null));
102
+ return (index.h("calcite-modal", { key: '9496c3fd2cee50e19313f82ca1acd5532e8ba4d1', onCalciteModalClose: this.close.bind(this), open: this.open, closeButtonDisabled: this.closeButtonDisabled, outsideCloseDisabled: this.outsideCloseDisabled }, this.renderHeader(), this.renderContent(), this.localStorageKey ? this.renderDontShowThisAgainCheckbox() : null, this.renderPrimaryButton(), this.secondaryButton ? this.renderSecondaryButton() : null));
102
103
  }
103
104
  renderHeader() {
104
105
  const { titleText } = this;
@@ -106,7 +107,7 @@ const InstantAppsSplash = class {
106
107
  }
107
108
  renderContent() {
108
109
  const { content } = this;
109
- return (index.h("div", { slot: "content", innerHTML: content }, index.h("slot", { name: "custom-action" })));
110
+ return (index.h("div", { slot: "content", class: CSS.content, innerHTML: content }, index.h("slot", { name: "custom-action" })));
110
111
  }
111
112
  renderDontShowThisAgainCheckbox() {
112
113
  const { localStorageKey, messages } = this;
@@ -9,8 +9,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
10
  const index$1 = require('./index-4b68e4b4.js');
11
11
  const index = require('./index-2b13a4d5.js');
12
- const loadModules = require('./loadModules-8567855e.js');
13
- const locale = require('./locale-4a18a858.js');
12
+ const loadModules = require('./loadModules-df8b13ca.js');
13
+ const locale = require('./locale-4b820602.js');
14
14
  require('./esri-loader-08dc41bd.js');
15
15
  require('./_commonjsHelpers-baf43783.js');
16
16
  require('./languageUtil-a3e1eafd.js');
@@ -15,7 +15,7 @@ const esriLoader = require('./esri-loader-08dc41bd.js');
15
15
  * See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
16
16
  */
17
17
  const loadModules = async (moduleNames, options) => {
18
- esriLoader.esriLoader.exports.setDefaultOptions({ url: 'https://js.arcgis.com/4.30/' });
18
+ esriLoader.esriLoader.exports.setDefaultOptions({ url: 'https://js.arcgis.com/4.31/' });
19
19
  const mods = await esriLoader.esriLoader.exports.loadModules(moduleNames, options);
20
20
  return mods.map(mod => (mod.__esModule && mod.default ? mod.default : mod));
21
21
  };