-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Criteria Builder): Add location radius option to the criteria co…
…ndition builder (#1573) * feat(Criteria Builder): Add location radius option to the address criteria * Explicit dirtying of form * Updated demo * Enable form updates * Updated Demo * Fix CSS for dropdown * Listen to updates to the radius * Fix an error and unit tests * Update example --------- Co-authored-by: Nathan Dickerson <[email protected]>
- Loading branch information
1 parent
3f915b5
commit f84172d
Showing
15 changed files
with
414 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 12 additions & 12 deletions
24
...lements/src/elements/query-builder/condition-templates/condition-templates.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
<novo-id-condition-def name="ID"></novo-id-condition-def> | ||
<novo-date-condition-def name="DATE"></novo-date-condition-def> | ||
<novo-date-time-condition-def name="TIMESTAMP"></novo-date-time-condition-def> | ||
<novo-string-condition-def name="STRING"></novo-string-condition-def> | ||
<novo-number-condition-def name="FLOAT"></novo-number-condition-def> | ||
<novo-number-condition-def name="INTEGER"></novo-number-condition-def> | ||
<novo-number-condition-def name="BIGDECIMAL"></novo-number-condition-def> | ||
<novo-number-condition-def name="DOUBLE"></novo-number-condition-def> | ||
<novo-address-condition-def name="ADDRESS"></novo-address-condition-def> | ||
<novo-boolean-condition-def name="BOOLEAN"></novo-boolean-condition-def> | ||
<novo-picker-condition-def name="SELECT"></novo-picker-condition-def> | ||
<novo-string-condition-def name="DEFAULT"></novo-string-condition-def> | ||
<novo-id-condition-def name="ID"/> | ||
<novo-date-condition-def name="DATE"/> | ||
<novo-date-time-condition-def name="TIMESTAMP"/> | ||
<novo-string-condition-def name="STRING"/> | ||
<novo-number-condition-def name="FLOAT"/> | ||
<novo-number-condition-def name="INTEGER"/> | ||
<novo-number-condition-def name="BIGDECIMAL"/> | ||
<novo-number-condition-def name="DOUBLE"/> | ||
<novo-address-condition-def name="ADDRESS" [config]="addressConfig"/> | ||
<novo-boolean-condition-def name="BOOLEAN"/> | ||
<novo-picker-condition-def name="SELECT"/> | ||
<novo-string-condition-def name="DEFAULT"/> |
6 changes: 4 additions & 2 deletions
6
...-elements/src/elements/query-builder/condition-templates/condition-templates.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
import { Component } from '@angular/core'; | ||
import { Component, Input } from '@angular/core'; | ||
import { AddressCriteriaConfig } from '../query-builder.types'; | ||
|
||
@Component({ | ||
selector: 'novo-condition-templates', | ||
templateUrl: './condition-templates.component.html' | ||
}) | ||
export class NovoConditionTemplatesComponent { | ||
} | ||
@Input() addressConfig: AddressCriteriaConfig; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.