From b793f501112689c0f8ee9711404552c0cfb87a7b Mon Sep 17 00:00:00 2001 From: John Hauck Date: Thu, 30 Jan 2025 16:05:10 -0700 Subject: [PATCH] update version --- CHANGELOG.md | 8 +++++++- package-lock.json | 4 ++-- package.json | 2 +- src/components.d.ts | 20 +++++++++---------- src/components/crowdsource-reporter/readme.md | 6 ++++-- src/components/feature-list/readme.md | 1 + src/components/layer-list/readme.md | 1 + 7 files changed, 26 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dd371a0f8..f5b3d3196 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,11 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ## [Unreleased] +## [0.11.22] - Jan 30th 2025 +* Delivery for Reporter AGOL-2025.R01 (Sprint 2) +* updates for popovers +* misc updates + ## [0.11.21] - Jan 30th 2025 * Update arcgis core package * String updates @@ -1009,4 +1014,5 @@ Recover from test releases [0.11.19]: https://github.com/Esri/solution.js/compare/v0.11.18...v0.11.19 "v0.11.19" [0.11.20]: https://github.com/Esri/solution.js/compare/v0.11.19...v0.11.20 "v0.11.20" [0.11.21]: https://github.com/Esri/solution.js/compare/v0.11.20...v0.11.21 "v0.11.21" -[Unreleased]: https://github.com/Esri/solution.js/compare/v0.11.21...HEAD "Unreleased Changes" +[0.11.22]: https://github.com/Esri/solution.js/compare/v0.11.21...v0.11.22 "v0.11.22" +[Unreleased]: https://github.com/Esri/solution.js/compare/v0.11.22...HEAD "Unreleased Changes" diff --git a/package-lock.json b/package-lock.json index 3c0706f39..9064ecb72 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@esri/solutions-components", - "version": "0.11.21", + "version": "0.11.22", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@esri/solutions-components", - "version": "0.11.21", + "version": "0.11.22", "license": "Apache-2.0", "dependencies": { "@arcgis/core": ">=4.32.0-next.20250108 <4.33", diff --git a/package.json b/package.json index 45a0dd366..78bb8ce5f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@esri/solutions-components", - "version": "0.11.21", + "version": "0.11.22", "description": "Web Components for Esri's Solutions Applications", "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/src/components.d.ts b/src/components.d.ts index d3c343124..dde493aa8 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -454,7 +454,7 @@ export namespace Components { */ "enableZoom": boolean; /** - * boolean: When true the features from extent will be shown + * boolean: When true only the features from current extent will be shown */ "filterByMapExtent": boolean; /** @@ -537,14 +537,14 @@ export namespace Components { * boolean: When true the profile image of the comment creator will be shown in the comments list */ "showUserImageInCommentsList": boolean; - /** - * string: Text to be displayed that will allow user to know they can submit new reports - */ - "submitNewReportsMessage": string; /** * string: sorting option to show the feature list */ "sortOption": string; + /** + * string: Text to be displayed that will allow user to know they can submit new reports + */ + "submitNewReportsMessage": string; /** * theme: "light" | "dark" theme to be used */ @@ -3357,7 +3357,7 @@ declare namespace LocalJSX { */ "enableZoom"?: boolean; /** - * boolean: When true the features from extent will be shown + * boolean: When true only the features from current extent will be shown */ "filterByMapExtent"?: boolean; /** @@ -3444,14 +3444,14 @@ declare namespace LocalJSX { * boolean: When true the profile image of the comment creator will be shown in the comments list */ "showUserImageInCommentsList"?: boolean; - /** - * string: Text to be displayed that will allow user to know they can submit new reports - */ - "submitNewReportsMessage"?: string; /** * string: sorting option to show the feature list */ "sortOption"?: string; + /** + * string: Text to be displayed that will allow user to know they can submit new reports + */ + "submitNewReportsMessage"?: string; /** * theme: "light" | "dark" theme to be used */ diff --git a/src/components/crowdsource-reporter/readme.md b/src/components/crowdsource-reporter/readme.md index 4801e1570..b2a91b198 100644 --- a/src/components/crowdsource-reporter/readme.md +++ b/src/components/crowdsource-reporter/readme.md @@ -22,6 +22,7 @@ | `enableNewReports` | `enable-new-reports` | boolean: When true the user will be allowed to submit new reports | `boolean` | `undefined` | | `enableSearch` | `enable-search` | boolean: when true the search widget will be available | `boolean` | `true` | | `enableZoom` | `enable-zoom` | boolean: when true the zoom widget will be available | `boolean` | `true` | +| `filterByMapExtent` | `filter-by-map-extent` | boolean: When true only the features from current extent will be shown | `boolean` | `false` | | `floorLevel` | `floor-level` | string: selected floor level | `string` | `undefined` | | `isMobile` | `is-mobile` | boolean: When true the application will be in mobile mode, controls the mobile or desktop view | `boolean` | `undefined` | | `layerExpressions` | -- | ILayerExpression[]: Array of layer expressions for layers (filter configuration) | `ILayerExpression[]` | `[]` | @@ -42,6 +43,7 @@ | `showFullCommentTitle` | `show-full-comment-title` | boolean: When false comment will shown in single line in the comments list | `boolean` | `true` | | `showMyReportsOnly` | `show-my-reports-only` | boolean: To show only those features which are created by the logged in user | `boolean` | `false` | | `showUserImageInCommentsList` | `show-user-image-in-comments-list` | boolean: When true the profile image of the comment creator will be shown in the comments list | `boolean` | `false` | +| `sortOption` | `sort-option` | string: sorting option to show the feature list | `string` | `"newest"` | | `submitNewReportsMessage` | `submit-new-reports-message` | string: Text to be displayed that will allow user to know they can submit new reports | `string` | `undefined` | | `theme` | `theme` | theme: "light" \| "dark" theme to be used | `"dark" \| "light"` | `"light"` | | `zoomToScale` | `zoom-to-scale` | number: default scale to zoom to when zooming to a single point feature | `number` | `undefined` | @@ -77,10 +79,10 @@ Type: `Promise` ### Depends on +- instant-apps-filter-list - [layer-list](../layer-list) - [create-feature](../create-feature) - [feature-list](../feature-list) -- instant-apps-filter-list - instant-apps-social-share - [feature-details](../feature-details) - [info-card](../info-card) @@ -89,10 +91,10 @@ Type: `Promise` ### Graph ```mermaid graph TD; + crowdsource-reporter --> instant-apps-filter-list crowdsource-reporter --> layer-list crowdsource-reporter --> create-feature crowdsource-reporter --> feature-list - crowdsource-reporter --> instant-apps-filter-list crowdsource-reporter --> instant-apps-social-share crowdsource-reporter --> feature-details crowdsource-reporter --> info-card diff --git a/src/components/feature-list/readme.md b/src/components/feature-list/readme.md index 2a3e70fe7..4d8878856 100644 --- a/src/components/feature-list/readme.md +++ b/src/components/feature-list/readme.md @@ -10,6 +10,7 @@ | Property | Attribute | Description | Type | Default | | ------------------------- | ----------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- | ----------- | | `applyLayerViewFilter` | `apply-layer-view-filter` | boolean: If true will consider the FeatureFilter applied on the layerview | `boolean` | `false` | +| `filterByMapExtent` | `filter-by-map-extent` | boolean: when true the feature from map view extent will shown | `boolean` | `false` | | `highlightOnHover` | `highlight-on-hover` | boolean: Highlight feature on map optional (default false) boolean to indicate if we should highlight when hover on Feature in list | `boolean` | `false` | | `highlightOnMap` | `highlight-on-map` | boolean: Highlight feature on map optional (default false) boolean to indicate if we should highlight and zoom to the extent of the feature geometry | `boolean` | `false` | | `locale` | `locale` | string: Locale to use for translation of stings in the UI | `string` | `undefined` | diff --git a/src/components/layer-list/readme.md b/src/components/layer-list/readme.md index 3f128b6f7..29b68b149 100644 --- a/src/components/layer-list/readme.md +++ b/src/components/layer-list/readme.md @@ -10,6 +10,7 @@ | Property | Attribute | Description | Type | Default | | ---------------------- | ------------------------- | ------------------------------------------------------------------------------------------------------- | ---------- | ----------- | | `applyLayerViewFilter` | `apply-layer-view-filter` | boolean: If true will consider the FeatureFilter applied on the layerview | `boolean` | `false` | +| `filterByMapExtent` | `filter-by-map-extent` | boolean: when true the features count from map view extent will shown | `boolean` | `false` | | `layers` | -- | string[]: If passed will show only these layers in the list if they are present in map and are editable | `string[]` | `undefined` | | `locale` | `locale` | string: Locale to use for translation of stings in the UI | `string` | `undefined` | | `mapView` | -- | esri/views/View: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html | `MapView` | `undefined` |