Skip to content

Commit

Permalink
feat(QueryBuilder): New QueryBuilder component for dynamically genera…
Browse files Browse the repository at this point in the history
…ting queries (#1328)

* Select is intercepting clicks to the ng-content area

* adding circle icon shape

* not closing overlay if clicking in nested overlay

* add shape attr to color option as well

* Set GlobalSearch on setInitialSortFilter

* clear global search

* feat(lib): SearchBox now has keepOpen flag

* updating search box styling and functionality

* updating search box styling

* adding event emitter for applying search

* add options for advanced filtering to getTableResults

* advanced filtering on Interfaces an setInitialSortFilter

* refactor(): some remaining prep work for the upcoming typescript 4 upgrade

* adding value getters to some table cells

* Revert "refactor(): "REVERT: some refactor work in preparation for typescript 4.0.8 upgrade (#1266)" (#1271)"

This reverts commit 5be0308.

* upping ts version to 4.0.8

* Revert "refactor(): "REVERT: some refactor work in preparation for typescript 4.0.8 upgrade (#1266)" (#1271)"

This reverts commit 5be0308.

* adding dep

* update to angular 11

* updated typedoc to .22

* update to angular 12

* fixing typing issue caused by microsoft/TypeScript#35865

* addressing deprecation warnings

* updating angular/cdk to 12.2.13

* angular 13 update

* updating @angular/cdk to 13.3.1

* commented a lot of things out to get build to pass, will have to find fixes

* upgrading to jest 27

* modifying schematics to get build to pass, may have broken some things

* refactoring overlay components to use FlexibleConnectedPositionStrategy

* updating compilation mode, disabling some tests, and re-enabling a lot more

* removing console log

* fixing dragula import

* initial fix for cke mock

* adding autoposition to extra large tooltip example

* adding bounce

* !: Upgrading to Angular 13

* chore(release): 7.0.0-next.0

* fix(Stepper): Remove circular reference caused by unused code

* fix(DataTable): Removed circular dependencies

* fix(Breadcrumb): No more circular deps
fix(EntityPickerResults): No more circular deps

* chore(release): 7.0.1-next.0

* fixing broken unit test

* chore(release): 7.1.0-next.0

* fix for function not found error

* chore(release): 7.1.1-next.0

* fixing bug with simple table component

* formatting

* chore(release): 7.1.2-next.0

* increasing toolstip offset to eliminate cursor juddering

* enabling auto tooltip positioning by default

* fix(NovoFileInputElement): Allow for same file delete/upload, allow file list clear from patchValue(). (#1300)

* 1183 & 1184: Correct FileInput upload issues.

* Code review fixes

* Added clear file list button for testing

* Updated novo-design-tokens version

* Updgraded htmlhint to remove async security vulnerability

Co-authored-by: Kurt Mcgallion <[email protected]>

* chore(release): 7.2.0-next.0

* feat(QueryBuilder): Added a search criteria builder (#1302)

* style(Chips): remove max-width from novo-picker if a row chips picker (#1299)

* chore(release): 6.2.1

* feat(QueryBuilder): Added WIP Query Builder

* fix(QueryBuilder): Removed to much unused code

* fix(QB): minor tweeks to presentation and remove check on DataSpecialization

* linting

* reverting changes to select sizing because it made it too tall

Co-authored-by: Michael Dill <[email protected]>
Co-authored-by: Bump And Release <[email protected]>
Co-authored-by: Dan Voegelin <[email protected]>

* fix(imports): fix a few utils imports to correct issues with debugging locally (#1303)

* chore(release): 7.2.1-next.0

* fix(Schematic): Missing schematics and documentation

* chore(release): 7.2.2-next.0

* fix(import): fix a utils import to correct issues with debugging locally (#1305)

* making 'or' configurable, adding default criteria row

* adding configurable label for translating

* field padding and red trash can

* fixing input box padding

* remove entity picker in field select

* adjusting calendar icon spacing

* removing unused files

* Added fixes and styling updates for novo-accordion

* adding mockup of boolean field def

* BH-75889 - Use correct comparison for dates in time picker input (#1304)

Co-authored-by: kristian.robe <[email protected]>

* chore(release): 7.2.3-next.0

* updates to boolean def and adding dummy address def

* wip: Got custom field defs working

* refactor(QueryBuilder): Renamed all the tokens,directives and subclasses

* some minor fixes for string def

* adding Double field type

* Fixed definition field label and date-between input

* adding/removing default picker defs

* temporary workaround for scalar field needing select def not picker

* adding another def

* fixing variable name

* updating field def logic

* updating some console logs

* updating console log

* fixing custom def in demo

* chore(release): 7.2.4-next.0

* simplifying field def logic

* adding label fallback to entity picker result name

* adding display labels for BillingProfile and InvoiceTerm results

* add optional backdrop input option to search component

* Styling updates for selects and picker in query builder

* Fix build issues

* removing max-width from novo-search's input

* Delete button fix, input value width fixes, individual chip deletion fix

* BH-75391 : fix grouped multi picker list item width. (#1312)

* style(picker): Added data-automation-id to picker results (#1317)

* chore(release): 7.2.5-next.0

* Fixed text field persistence issue.

* fixing some build issues that popped up from rebase

* reverting changes to package-lock

* updates to support where clauses

* Removed comments, fixed date inoput example, clear date field on operator change.

* Added picker overlay to trigger on input field

* Fixed booleaninput import

* Small style fix

* adding ellipsis attribute and fixing text transitions

* Fixed border style

* update bullhorn icons version

* Close date picker on select

* fixing default search box input cont size

* removed some unnecessary styling

* adding ability to pre-populate and clear query builder form

* Fix field name identifier

* rebase

* feat(CKEditor): Do not encode special characters by default (#1320)

* chore(workflow): updating node version for release workflows

* chore(workflow): updating NPM_TOKEN for release workflow

* poackage-lock updates and fixing unit tests

* fix for form prepopulation bug in the demo

* temporarily reverting fieldName change and adding labels to prepopulated fields

* fixing a few things

* feat(QueryBuilder): Updated QueryBuilder styles, added ConditionGroups and service to support pre-population
fix(Field): PickerToggle should support triggerOnFocus now.
feat(Common): *New* Visible directive to control visiblity

* updating where property from string to object

* style(QueryBuilder): borders are now round

* style(QueryBuilder): Labels now ash

* linting

* reverting fieldName change

* Update field selection and clear value and operator on field change

* re-enabling form prepopulation

* updating date format for range picker to work with prepopulation

* refactoring query builder to use NovoLabelService everywhere

* ux and styling tweaks

* Added automation id for add condition and bolded clear all

* updating icon size attributes to better scale with base icon 1.2em font-size

* hiding tooltip when parent overlay closes

* removing obsolete advancedFilter properties and replacing some with where

* fixing unit test

* Fixed date overlay issue

* making tooltip directive show/hide functions public

* adding data-control-type to novo-field

* adding prop to allow event propagation

* trying out adding control id

* adding highlight pipe and refactoring templates to use it

* fixing bug with nested overlays closing on click events

* feat(Autocomplete): Autocomplete now works with ChipList (#1326)

* deprecating highlight fns

* Updated Search Data

* fix(Chips): update the ux for disabled chips (#1331)

-darken the opacity to improve readability
-update text color of disabled chips to look non-selectable
-remove the X icon to further confer that this chip is read-only

Co-authored-by: Michael Dill <[email protected]>

* feat(NonIdealState): Non Ideal Loading (#1334)

* Expanding non-ideal-state for use case with novo-loading

* Expanding non-ideal-state for use case with novo-loading

* Minor structure cleanup

* Changed message on example

* chore(ci): updating tokens

* chore(ci): Other Tokens Updated

* feat(Description): add ability for control description to handle html (#1333)

* feat(Description): add ability for control description to handle html

* feat(Description) cleaning up example for description containing HTML

* feat(Description) adding new example for new FieldInteractionAPI functionality

* regeneratinv package-lock as v1 and fixing minor type

Co-authored-by: Fayranne Lipton <[email protected]>
Co-authored-by: John Sullivan <[email protected]>
Co-authored-by: Dan Voegelin <[email protected]>

* feat(Docs): new docs, and bump release

* fixing chiplist issue and clearing queryform operator/value on field change

* feat(Bump): Needs a bump for semantic release

* code review changes

Co-authored-by: Michael Dill <[email protected]>
Co-authored-by: Dan Voegelin <[email protected]>
Co-authored-by: Haris Iqbal <[email protected]>
Co-authored-by: Bump And Release <[email protected]>
Co-authored-by: Kurt Mcgallion <[email protected]>
Co-authored-by: Kurt Mcgallion <[email protected]>
Co-authored-by: Kristian Robe <[email protected]>
Co-authored-by: kristian.robe <[email protected]>
Co-authored-by: Jordan Brownfield <[email protected]>
Co-authored-by: kiri-um-bh <[email protected]>
Co-authored-by: Kurt Mcgallion <[email protected]>
Co-authored-by: antonyw89 <[email protected]>
Co-authored-by: Michael Dill <[email protected]>
Co-authored-by: Fayranne Lipton <[email protected]>
Co-authored-by: Fayranne Lipton <[email protected]>
Co-authored-by: John Sullivan <[email protected]>
  • Loading branch information
17 people committed Aug 5, 2022
1 parent 8eb3232 commit fc1b666
Show file tree
Hide file tree
Showing 4 changed files with 218 additions and 146 deletions.
54 changes: 27 additions & 27 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 0 additions & 10 deletions projects/novo-elements/src/elements/chips/ChipList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,6 @@ export class NovoChipList
}

this._resetChips();

// Check to see if we need to update our tab index
this._updateTabIndex();

Expand Down Expand Up @@ -480,15 +479,6 @@ export class NovoChipList
}
}

addValue(value: any): void {
this.value = [...this.value, value];
this._chipInput.clearValue();
}

removeValue(value: any): void {
this.value = this.value.filter((it) => !this.compareWith(it, value));
}

// Implemented as part of ControlValueAccessor.
registerOnChange(fn: (value: any) => void): void {
this._onChange = fn;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ export class NovoAutocompleteElement

checkPanel() {
const isTriggered = this.triggerOn(this._formField._control);
console.log('checking', isTriggered);
if (isTriggered && this.element) {
this.openPanel();
}
Expand Down
Loading

0 comments on commit fc1b666

Please sign in to comment.