@esri/solutions-components 0.8.16 → 0.8.18

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. package/dist/cjs/calcite-flow_6.cjs.entry.js +8 -7
  2. package/dist/cjs/crowdsource-manager.cjs.entry.js +2 -1
  3. package/dist/cjs/crowdsource-reporter.cjs.entry.js +5 -5
  4. package/dist/cjs/feature-list.cjs.entry.js +5 -3
  5. package/dist/cjs/loader.cjs.js +1 -1
  6. package/dist/cjs/solutions-components.cjs.js +1 -1
  7. package/dist/collection/components/create-related-feature/create-related-feature.js +17 -1
  8. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +19 -1
  9. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.css +4 -3
  10. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +4 -21
  11. package/dist/collection/components/feature-details/feature-details.js +22 -7
  12. package/dist/collection/components/feature-list/feature-list.js +5 -3
  13. package/dist/components/create-related-feature2.js +2 -1
  14. package/dist/components/crowdsource-manager.js +3 -1
  15. package/dist/components/crowdsource-reporter.js +5 -6
  16. package/dist/components/feature-details2.js +6 -6
  17. package/dist/components/feature-list2.js +5 -3
  18. package/dist/esm/calcite-flow_6.entry.js +8 -7
  19. package/dist/esm/crowdsource-manager.entry.js +2 -1
  20. package/dist/esm/crowdsource-reporter.entry.js +5 -5
  21. package/dist/esm/feature-list.entry.js +5 -3
  22. package/dist/esm/loader.js +1 -1
  23. package/dist/esm/solutions-components.js +1 -1
  24. package/dist/solutions-components/p-48c99a48.entry.js +6 -0
  25. package/dist/solutions-components/p-64779bb2.entry.js +6 -0
  26. package/dist/solutions-components/p-e6abef31.entry.js +6 -0
  27. package/dist/solutions-components/{p-b6d47bab.entry.js → p-f6668347.entry.js} +3 -3
  28. package/dist/solutions-components/solutions-components.esm.js +1 -1
  29. package/dist/types/components/create-related-feature/create-related-feature.d.ts +16 -0
  30. package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +6 -0
  31. package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +1 -6
  32. package/dist/types/components/feature-details/feature-details.d.ts +16 -1
  33. package/dist/types/components/feature-list/feature-list.d.ts +4 -0
  34. package/dist/types/components.d.ts +9 -9
  35. package/package.json +1 -1
  36. package/dist/solutions-components/p-22aece81.entry.js +0 -6
  37. package/dist/solutions-components/p-4830649e.entry.js +0 -6
  38. package/dist/solutions-components/p-92ed8d5d.entry.js +0 -6
@@ -94,9 +94,9 @@ const FeatureList = class {
94
94
  * Renders the component.
95
95
  */
96
96
  render() {
97
- return (h("calcite-panel", { key: '37f83a9c019e68213493f5e890324470389cd36f', "full-height": true, "full-width": true }, this._isLoading && h("calcite-loader", { key: '671559375bb5fcdc8a01f9f10a82ab71edc0d836', label: "", scale: "m" }), this._featureItems.length === 0 && !this._isLoading &&
98
- h("calcite-notice", { key: 'f6101de52464f2316bfbb83919036b4cf035f8b9', class: "error-msg", icon: "feature-details", kind: "info", open: true }, h("div", { key: 'e49017399909f1d0b93ec4e24341b9042267977f', slot: "message" }, this.noFeaturesFoundMsg ? this.noFeaturesFoundMsg : this._translations.featureErrorMsg)), h("calcite-list", { key: '2e90c0aec739fcce422ff730a39adc85b71a84cb', "selection-appearance": "border", "selection-mode": "none" }, !this._isLoading && this._featureItems.length > 0 && this._featureItems), this._featuresCount > this.pageSize &&
99
- h("div", { key: '4b59248846c5b433bb88171c322070a13002f23d', class: "width-full", slot: "footer" }, h("calcite-pagination", { key: '1ca5dbccdc59379999a94198d7ac6111e1ef547b', class: "pagination", "full-width": true, onCalcitePaginationChange: this.pageChanged.bind(this), "page-size": this.pageSize, "start-item": "1", "total-items": this._featuresCount }))));
97
+ return (h("calcite-panel", { key: '9f702c6d98cc19704e0773e36fd969817ea7262e', "full-height": true, "full-width": true }, this._isLoading && h("calcite-loader", { key: 'e9acf13f3444057b097d6b145c1a6e0118f150ea', label: "", scale: "m" }), this._featureItems.length === 0 && !this._isLoading &&
98
+ h("calcite-notice", { key: '8c7fa89e2da7490b04456e51f8534c2515a02399', class: "error-msg", icon: "feature-details", kind: "info", open: true }, h("div", { key: '799d419e9c26b7928f15cb1cf9afa9f47cab0e94', slot: "message" }, this.noFeaturesFoundMsg ? this.noFeaturesFoundMsg : this._translations.featureErrorMsg)), h("calcite-list", { key: '82c60b16ab586ad57f8f98bb08814f688102b166', "selection-appearance": "border", "selection-mode": "none" }, !this._isLoading && this._featureItems.length > 0 && this._featureItems), this._featuresCount > this.pageSize &&
99
+ h("div", { key: 'e5b789ea46c6bedfbe83f1323ffb89271c0b76ce', class: "width-full", slot: "footer" }, h("calcite-pagination", { key: '4d30b5364fc4742f278157c5f2c21e75d4ecb0b8', class: "pagination", "full-width": true, onCalcitePaginationChange: this.pageChanged.bind(this), "page-size": this.pageSize, ref: el => this._pagination = el, "start-item": "1", "total-items": this._featuresCount }))));
100
100
  }
101
101
  //--------------------------------------------------------------------------
102
102
  //
@@ -137,7 +137,9 @@ const FeatureList = class {
137
137
  * @protected
138
138
  */
139
139
  async initializeFeatureItems() {
140
+ var _a;
140
141
  if (this._selectedLayer) {
142
+ void ((_a = this._pagination) === null || _a === void 0 ? void 0 : _a.goTo("start"));
141
143
  this._isLoading = this.showInitialLoading;
142
144
  this._featureItems = await this.queryPage(0);
143
145
  const query = {