@esri/solutions-components 0.8.30 → 0.8.32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. package/dist/cjs/calcite-alert_4.cjs.entry.js +1 -1
  2. package/dist/cjs/calcite-flow_6.cjs.entry.js +58 -34
  3. package/dist/cjs/card-manager_3.cjs.entry.js +17 -4
  4. package/dist/cjs/crowdsource-manager.cjs.entry.js +1 -1
  5. package/dist/cjs/crowdsource-reporter.cjs.entry.js +2 -2
  6. package/dist/cjs/feature-list.cjs.entry.js +1 -1
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/cjs/{popupUtils-e3fa775b.js → popupUtils-9ca69f8c.js} +1 -1
  9. package/dist/cjs/solutions-components.cjs.js +1 -1
  10. package/dist/collection/components/create-feature/create-feature.js +13 -8
  11. package/dist/collection/components/create-related-feature/create-related-feature.css +4 -0
  12. package/dist/collection/components/create-related-feature/create-related-feature.js +52 -26
  13. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +1 -1
  14. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.css +4 -0
  15. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +1 -1
  16. package/dist/collection/components/layer-table/layer-table.js +36 -4
  17. package/dist/collection/demos/crowdsource-manager.html +1 -1
  18. package/dist/collection/utils/popupUtils.js +1 -1
  19. package/dist/collection/utils/popupUtils.ts +1 -1
  20. package/dist/components/create-feature2.js +13 -8
  21. package/dist/components/create-related-feature2.js +57 -30
  22. package/dist/components/crowdsource-manager.js +1 -1
  23. package/dist/components/crowdsource-reporter.js +2 -2
  24. package/dist/components/layer-table2.js +19 -4
  25. package/dist/components/popupUtils.js +1 -1
  26. package/dist/esm/calcite-alert_4.entry.js +1 -1
  27. package/dist/esm/calcite-flow_6.entry.js +58 -34
  28. package/dist/esm/card-manager_3.entry.js +17 -4
  29. package/dist/esm/crowdsource-manager.entry.js +1 -1
  30. package/dist/esm/crowdsource-reporter.entry.js +2 -2
  31. package/dist/esm/feature-list.entry.js +1 -1
  32. package/dist/esm/loader.js +1 -1
  33. package/dist/esm/{popupUtils-17193415.js → popupUtils-8efd3cde.js} +1 -1
  34. package/dist/esm/solutions-components.js +1 -1
  35. package/dist/solutions-components/demos/crowdsource-manager.html +1 -1
  36. package/dist/solutions-components/{p-61bf98bc.entry.js → p-1b096a8b.entry.js} +1 -1
  37. package/dist/solutions-components/p-2455bcb0.js +21 -0
  38. package/dist/solutions-components/{p-bb90a138.entry.js → p-3365a6de.entry.js} +2 -2
  39. package/dist/solutions-components/p-4ae34862.entry.js +17 -0
  40. package/dist/solutions-components/p-5862de8d.entry.js +6 -0
  41. package/dist/solutions-components/{p-16fb8296.entry.js → p-628874a6.entry.js} +1 -1
  42. package/dist/solutions-components/{p-2f7bfd8d.entry.js → p-90c3bc54.entry.js} +1 -1
  43. package/dist/solutions-components/solutions-components.esm.js +1 -1
  44. package/dist/solutions-components/utils/popupUtils.ts +1 -1
  45. package/dist/types/components/create-feature/create-feature.d.ts +1 -1
  46. package/dist/types/components/create-related-feature/create-related-feature.d.ts +19 -1
  47. package/dist/types/components/layer-table/layer-table.d.ts +8 -0
  48. package/dist/types/components.d.ts +8 -0
  49. package/package.json +1 -1
  50. package/dist/solutions-components/p-1bdf0ba0.entry.js +0 -6
  51. package/dist/solutions-components/p-2e23ac2c.js +0 -21
  52. package/dist/solutions-components/p-c21a6940.entry.js +0 -17
@@ -9,7 +9,7 @@ import { g as getLayerOrTable, a as getAllLayers, b as getAllTables, c as getFea
9
9
  import './esri-loader-2bf735ed.js';
10
10
  import './interfaces-586e863c.js';
11
11
 
12
- const crowdsourceReporterCss = ":host{display:block;--calcite-label-margin-bottom:0px;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.width-full{width:100% !important}.width-0{width:0}.height-full{height:100% !important}.height-0{height:0}.overflow-hidden{overflow:hidden}.border{border:1px solid var(--calcite-color-border-3)}.notice-msg{padding:10px;width:calc(100% - 20px)}.progress-bar{padding:12px}.footer-top-button{padding-bottom:7px}.footer-button{height:35px}.feature-pagination{background-color:var(--calcite-color-foreground-1) !important;border-block-end:1px solid var(--calcite-color-border-3);display:flex;justify-content:center;padding:5px 0}.pagination-count{color:var(--calcite-color-brand);border-bottom:1px solid var(--calcite-color-brand);font-weight:bold}.report-submitted-msg{position:absolute;z-index:1000}";
12
+ const crowdsourceReporterCss = ":host{display:block;--calcite-label-margin-bottom:0px;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.width-full{width:100% !important}.width-0{width:0}.height-full{height:100% !important}.height-0{height:0}.overflow-hidden{overflow:hidden}.border{border:1px solid var(--calcite-color-border-3)}.notice-msg{padding:10px;width:calc(100% - 20px)}.progress-bar{padding:12px}.footer-top-button{padding-bottom:7px}.footer-button{height:35px}.feature-pagination{background-color:var(--calcite-color-foreground-1) !important;border-block-end:1px solid var(--calcite-color-border-3);display:flex;justify-content:center;padding:5px 0}.pagination-count{color:var(--calcite-color-brand);border-bottom:1px solid var(--calcite-color-brand);font-weight:bold}.report-submitted-msg{position:absolute;z-index:1000}.share-node{display:flex}";
13
13
  const CrowdsourceReporterStyle0 = crowdsourceReporterCss;
14
14
 
15
15
  const CrowdsourceReporter = class {
@@ -571,7 +571,7 @@ const CrowdsourceReporter = class {
571
571
  getFeatureDetailsFlowItem() {
572
572
  var _a;
573
573
  const showCommentBtn = ((_a = this._getLayersConfig(this._selectedLayerId)) === null || _a === void 0 ? void 0 : _a.comment) && this._selectedLayer.relationships.length > 0;
574
- return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._selectedLayerName, loading: this._showLoadingIndicator, onCalciteFlowItemBack: this.backFromSelectedPanel.bind(this) }, this.isMobile && this.getActionToExpandCollapsePanel(), h("instant-apps-social-share", { autoUpdateShareUrl: false, embed: false, popoverButtonIconScale: "s", ref: el => this._shareNode = el, removePopoverOffset: true, scale: "s", shareButtonColor: "neutral", shareButtonType: "action", slot: "header-actions-end", socialMedia: true, view: this.mapView }), this._selectedFeature.length > 1 && this.getFeaturesPagination(), h("calcite-panel", null, h("feature-details", { class: 'full-height', graphics: this._selectedFeature, layerItemsHash: this._layerItemsHash, mapView: this.mapView, onCommentSelect: this.onCommentSelectFromList.bind(this), onFeatureSelectionChange: this.selectionChanged.bind(this), onLoadingStatus: (evt) => void this.updatingFeatureDetails(evt.detail), ref: el => this._featureDetails = el, reportingOptions: this.reportingOptions }), showCommentBtn &&
574
+ return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._selectedLayerName, loading: this._showLoadingIndicator, onCalciteFlowItemBack: this.backFromSelectedPanel.bind(this) }, this.isMobile && this.getActionToExpandCollapsePanel(), h("instant-apps-social-share", { autoUpdateShareUrl: false, class: "share-node", embed: false, popoverButtonIconScale: "s", ref: el => this._shareNode = el, removePopoverOffset: true, scale: "m", shareButtonColor: "neutral", shareButtonType: "action", slot: "header-actions-end", socialMedia: true, view: this.mapView }), this._selectedFeature.length > 1 && this.getFeaturesPagination(), h("calcite-panel", null, h("feature-details", { class: 'full-height', graphics: this._selectedFeature, layerItemsHash: this._layerItemsHash, mapView: this.mapView, onCommentSelect: this.onCommentSelectFromList.bind(this), onFeatureSelectionChange: this.selectionChanged.bind(this), onLoadingStatus: (evt) => void this.updatingFeatureDetails(evt.detail), ref: el => this._featureDetails = el, reportingOptions: this.reportingOptions }), showCommentBtn &&
575
575
  h("calcite-button", { appearance: "solid", onClick: () => this._flowItems = [...this._flowItems, "add-comment"], slot: "footer", width: "full" }, this._translations.comment))));
576
576
  }
577
577
  /**
@@ -5,7 +5,7 @@
5
5
  */
6
6
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-ba5da2b0.js';
7
7
  import { l as loadModules, g as getLocaleComponentStrings } from './locale-a490c4f6.js';
8
- import { P as PopupUtils } from './popupUtils-17193415.js';
8
+ import { P as PopupUtils } from './popupUtils-8efd3cde.js';
9
9
  import { g as getLayerOrTable, c as getFeatureLayerView, h as highlightFeatures } from './mapViewUtils-b8deb4ae.js';
10
10
  import './esri-loader-2bf735ed.js';
11
11
  import './downloadUtils-571a502d.js';