Skip to content

Commit

Permalink
Merge pull request #814 from apocist/master
Browse files Browse the repository at this point in the history
@stratusjs/idx 0.27.0
  • Loading branch information
chadwickmeyer authored Feb 26, 2025
2 parents 209f4b4 + e7598a3 commit 2954db8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
8 changes: 4 additions & 4 deletions packages/idx/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stratusjs/idx",
"version": "0.26.1",
"version": "0.27.0",
"description": "AngularJS idx/property Service and Components bundle to be used as an add on to StratusJS",
"main": "./dist/idx.bundle.js",
"scripts": {
Expand Down Expand Up @@ -30,12 +30,12 @@
"npm": ">= 8.19.3"
},
"dependencies": {
"@stratusjs/angular": "^0.12.5",
"@stratusjs/angular": "^0.12.12",
"@stratusjs/angularjs": "^0.11.0",
"@stratusjs/angularjs-extras": "^0.18.0",
"@stratusjs/angularjs-extras": "^0.18.1",
"@stratusjs/boot": "^1.2.0",
"@stratusjs/map": "^0.6.6",
"@stratusjs/runtime": "^0.14.1",
"@stratusjs/runtime": "^0.14.3",
"@stratusjs/swiper": "^1.2.3"
}
}
7 changes: 6 additions & 1 deletion packages/idx/src/property/admin/search.filter.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,12 @@ <h3>Location</h3>
></md-chips>
</div>
</div>

<div class="search-input" data-flex="50">
<md-input-container class="md-block minimal">
<label>Street Address</label>
<input data-ng-model="options.query.where.UnparsedAddress" type="text" maxlength="50" size="20" autocomplete="off">
</md-input-container>
</div>
</div>

<!-- FIXME alignment problems due to sitetheory css: https://app.asana.com/0/1154407311832843/1155341970037633 -->
Expand Down
2 changes: 2 additions & 0 deletions packages/idx/src/property/search.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,7 @@ Stratus.Components.IdxPropertySearch = {
$scope.resetLocationQuery = (): void => {
$scope.options.query.where.Location = ''
$scope.options.query.where.eLocation = ''
$scope.options.query.where.UnparsedAddress = ''
$scope.options.query.where.City = []
$scope.options.query.where.eCity = []
$scope.options.query.where.CountyOrParish = []
Expand All @@ -507,6 +508,7 @@ Stratus.Components.IdxPropertySearch = {
$scope.getPresetLocations = (): string[] => {
const currentWhere = $scope.options.query.where
return compact(union(
[currentWhere.UnparsedAddress],
currentWhere.City,
currentWhere.eCity,
currentWhere.CountyOrParish,
Expand Down

0 comments on commit 2954db8

Please sign in to comment.