{"_id":"@alexperezortuno/angular-query-builder","_rev":"3-74b731c45ddaa7ff8c78df4a7dcca677","name":"@alexperezortuno/angular-query-builder","dist-tags":{"latest":"1.0.6"},"versions":{"1.0.5":{"name":"@alexperezortuno/angular-query-builder","version":"1.0.5","main":"./dist/angular-query-builder/bundles/angular-query-builder.umd.js","module":"./dist/angular-query-builder/esm5/angular-query-builder.js","typings":"./dist/angular-query-builder/angular-query-builder.d.ts","license":"MIT","private":false,"keywords":["angular","angular8","query","builder","jquery","querybuilder","visual"],"repository":{"type":"git","url":"git+https://github.com/NazirHasan92/modified-angular-query-builder.git"},"scripts":{"ng":"ng","start":"ng serve","build":"ng build angular-query-builder","build:watch":"ng build angular-query-builder --watch=true","test":"ng test --watch=false","lint":"ng lint","e2e":"ng e2e","ngcompile":"npm run build","build:esm:watch":"npm build:watch","build:umd":"npm run build","build:umd:watch":"npm build:watch","ci":"npm run lint && npm run test && npm run build && npm run docs","clean:all":"npm run clean:tmp && rimraf node_modules","clean:tmp":"rimraf coverage dist tmp docs","codecov":"cat coverage/lcov.info | codecov","docs":"compodoc -p tsconfig.json -d docs --disableCoverage","explorer":"source-map-explorer ./dist/angular-query-builder/bundles/angular-query-builder.umd.js","copyDemo":"copyfiles -u 2 demo/dist/**/* docs","gh-pages":"rimraf docs && npm run docs && npm run copyDemo && gh-pages -d docs","postversion":"git push && git push --tags","prebuild":"rimraf dist tmp","prebuild:watch":"rimraf dist tmp","prepublishOnly":"npm run ci","preversion":"npm run ci","test:watch":"ng test --watch=true","tslint":"ng lint"},"peerDependencies":{},"devDependencies":{"@angular-devkit/build-angular":"~0.900.3","@angular-devkit/build-ng-packagr":"~0.900.3","@angular/cli":"^9.0.3","@angular/common":"^9.0.2","@angular/compiler":"^9.0.2","@angular/compiler-cli":"^9.0.2","@angular/core":"^9.0.2","@angular/forms":"^9.0.2","@angular/language-service":"^9.0.2","@angular/platform-browser":"^9.0.2","@angular/platform-browser-dynamic":"^9.0.2","@types/jasmine":"^3.3.8","@types/jasminewd2":"^2.0.3","@types/node":"^12.11.1","codelyzer":"^5.1.2","copyfiles":"^2.2.0","compodoc":"^0.0.41","core-js":"^2.6.5","gh-pages":"^2.2.0","jasmine-core":"^3.4.0","jasmine-spec-reporter":"^4.2.1","karma":"^4.1.0","karma-chrome-launcher":"^2.2.0","karma-coverage-istanbul-reporter":"^2.0.1","karma-jasmine":"^2.0.1","karma-jasmine-html-reporter":"^1.4.0","ng-packagr":"^9.0.0","node-sass":"^4.13.1","protractor":"^5.4.0","rxjs":"~6.5.4","ts-node":"^7.0.0","tslint":"^5.15.0","typescript":"3.7.5","zone.js":"~0.10.2"},"dependencies":{"tslib":"^1.10.0"},"description":"A modernized Angular 4+ query builder based on jQuery QueryBuilder. Support for heavy customization with Angular components and provides a flexible way to handle custom data types.","bugs":{"url":"https://github.com/NazirHasan92/modified-angular-query-builder/issues"},"homepage":"https://github.com/NazirHasan92/modified-angular-query-builder#readme","directories":{"doc":"docs"},"author":"","gitHead":"2397f495658ff3a2cefe5310d22000f50a823e13","_id":"@alexperezortuno/angular-query-builder@1.0.5","_nodeVersion":"14.17.4","_npmVersion":"7.20.6","dist":{"integrity":"sha512-7s7rP3qcKS6dOfUJ5rYZ+ag0tPWfovFYEQAy0fbb+Qb5BuWGteIXkpezCLLjxu7PZeuHXIXPNCpCfxrtkVzNRg==","shasum":"2970f50526c9adfebe76061af2b9f3bf9671eb58","tarball":"https://registry.npmjs.org/@alexperezortuno/angular-query-builder/-/angular-query-builder-1.0.5.tgz","fileCount":98,"unpackedSize":914695,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC5uGfIgZr5D5rPWMuN/lDQJ9sqYS5FKxIXeiswnl0SWAIgKWxzepituF2Hb+DC8oOOpO8SDg92zDLjeOfzmKrvjx0="}]},"_npmUser":{"name":"alexperezortuno","email":"alexperezortuno@gmail.com"},"maintainers":[{"name":"alexperezortuno","email":"alexperezortuno@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/angular-query-builder_1.0.5_1635359629395_0.26735875911607443"},"_hasShrinkwrap":false},"1.0.6":{"name":"@alexperezortuno/angular-query-builder","version":"1.0.6","main":"./dist/angular-query-builder/bundles/angular-query-builder.umd.js","module":"./dist/angular-query-builder/esm5/angular-query-builder.js","typings":"./dist/angular-query-builder/angular-query-builder.d.ts","license":"MIT","private":false,"keywords":["angular","angular8","query","builder","jquery","querybuilder","visual"],"repository":{"type":"git","url":"git+https://github.com/alexperezortuno/angular-query-builder.git"},"scripts":{"ng":"ng","start":"ng serve","build":"ng build angular-query-builder","build:watch":"ng build angular-query-builder --watch=true","test":"ng test --watch=false","lint":"ng lint","e2e":"ng e2e","ngcompile":"npm run build","build:esm:watch":"npm build:watch","build:umd":"npm run build","build:umd:watch":"npm build:watch","ci":"npm run lint && npm run test && npm run build && npm run docs","clean:all":"npm run clean:tmp && rimraf node_modules","clean:tmp":"rimraf coverage dist tmp docs","codecov":"cat coverage/lcov.info | codecov","docs":"compodoc -p tsconfig.json -d docs --disableCoverage","explorer":"source-map-explorer ./dist/angular-query-builder/bundles/angular-query-builder.umd.js","copyDemo":"copyfiles -u 2 demo/dist/**/* docs","gh-pages":"rimraf docs && npm run docs && npm run copyDemo && gh-pages -d docs","postversion":"git push && git push --tags","prebuild":"rimraf dist tmp","prebuild:watch":"rimraf dist tmp","prepublishOnly":"npm run ci","preversion":"npm run ci","test:watch":"ng test --watch=true","tslint":"ng lint"},"peerDependencies":{},"devDependencies":{"@angular-devkit/build-angular":"~0.900.3","@angular-devkit/build-ng-packagr":"~0.900.3","@angular/cli":"^9.0.3","@angular/common":"^9.0.2","@angular/compiler":"^9.0.2","@angular/compiler-cli":"^9.0.2","@angular/core":"^9.0.2","@angular/forms":"^9.0.2","@angular/language-service":"^9.0.2","@angular/platform-browser":"^9.0.2","@angular/platform-browser-dynamic":"^9.0.2","@types/jasmine":"^3.3.8","@types/jasminewd2":"^2.0.3","@types/node":"^12.11.1","codelyzer":"^5.1.2","copyfiles":"^2.2.0","compodoc":"^0.0.41","core-js":"^2.6.5","gh-pages":"^2.2.0","jasmine-core":"^3.4.0","jasmine-spec-reporter":"^4.2.1","karma":"^4.1.0","karma-chrome-launcher":"^2.2.0","karma-coverage-istanbul-reporter":"^2.0.1","karma-jasmine":"^2.0.1","karma-jasmine-html-reporter":"^1.4.0","ng-packagr":"^9.0.0","node-sass":"^4.13.1","protractor":"^5.4.0","rxjs":"~6.5.4","ts-node":"^7.0.0","tslint":"^5.15.0","typescript":"3.7.5","zone.js":"~0.10.2"},"dependencies":{"tslib":"^1.10.0"},"description":"A modernized Angular 4+ query builder based on jQuery QueryBuilder. Support for heavy customization with Angular components and provides a flexible way to handle custom data types.","bugs":{"url":"https://github.com/NazirHasan92/modified-angular-query-builder/issues"},"homepage":"https://github.com/NazirHasan92/modified-angular-query-builder#readme","directories":{"doc":"docs"},"author":"","gitHead":"0d46b1a8cfefa402dc9df994a86971b24694cc1a","_id":"@alexperezortuno/angular-query-builder@1.0.6","_nodeVersion":"14.17.4","_npmVersion":"7.20.6","dist":{"integrity":"sha512-NTJO+FLHeqWHZNmvvyH+mCAFAplcD6lGy6VM79k475k8/751umxSXh4ix1UAaocjekkx6TAsvYfYA4SAzDGh1w==","shasum":"6535029a8142f2180b1e5730f81b97881a7fba6b","tarball":"https://registry.npmjs.org/@alexperezortuno/angular-query-builder/-/angular-query-builder-1.0.6.tgz","fileCount":98,"unpackedSize":914723,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhxJAGCRA9TVsSAnZWagAA9hsP/2RmOyAZXlmeYJH8dKFW\nFrVH4g1gzyoCwVmH+bXopm2VyX0eUPq2b/qejSKMNUFbUgU95/42/6ScasDy\naQRsSy3HZwJzkMHavvJoK+pSK9LgmNYdzqLLE5uDu5aHW/+cQZVULz6Y+sge\nvgkOQJB1UJsE0t428DhDTCr+KT5RSlUfJSKEEnnMIOMMWE9mwIhUsX3SSNvs\n6IvKU8I+zQHuq7aecelT1e1u92ILo6ZVEyrU5EhMjeAIz8W9BomTVOZl9/xK\nEXFxaoB+nrI9mkDk1D7Q9pAUkZxQN9R74FLmk6t6ccOV81uPZYnwquZDR35H\nhs1dsnVdXZnx6COiSmbXusd2uoQJCyK/1kiGjfVPCIIEkIxDB2DR99Rgj+6b\ndUERqBHLsjidWBHaruXUjklIHTdtjGOpstYjBGzJe8VwbEeu3kCwJeX6qvqj\n8D91h5y0A8oY4zSyphAzua+0ls9K18K1vwFeGwxgb3WRjAxE+kONQi3Wtvof\nNY+Q9aRdn5H84v8+9TABUjI8yEEqgLUPhl6wMMoJhUjCsDEpk2bqewwgZpDZ\n7xQfMDRBAJ6XLUS/DfQefex35xMfhaxm6Y3QuI0N3qboQt3cmnlfzRnNPNEu\nVxH3maBTs/9D/petXYi1fKhZBtLPX3bn4coXcj7FztgD2QQwHjv3ZfOyjTv/\nViLT\r\n=t6TN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTGs+meHUA0FiXuU+p4nJkD0uB4ccs5tLZDqOzkv+qjwIgHkrmf7kzkd+7/GB00xDW58aDTq7vmliGvh/1rlqctLk="}]},"_npmUser":{"name":"alexperezortuno","email":"alexperezortuno@gmail.com"},"maintainers":[{"name":"alexperezortuno","email":"alexperezortuno@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/angular-query-builder_1.0.6_1635360613257_0.44131456615121123"},"_hasShrinkwrap":false}},"time":{"created":"2021-10-27T18:33:49.346Z","1.0.5":"2021-10-27T18:33:49.658Z","modified":"2022-04-04T12:41:28.497Z","1.0.6":"2021-10-27T18:50:13.420Z"},"maintainers":[{"name":"alexperezortuno","email":"alexperezortuno@gmail.com"}],"description":"A modernized Angular 4+ query builder based on jQuery QueryBuilder. Support for heavy customization with Angular components and provides a flexible way to handle custom data types.","homepage":"https://github.com/NazirHasan92/modified-angular-query-builder#readme","keywords":["angular","angular8","query","builder","jquery","querybuilder","visual"],"repository":{"type":"git","url":"git+https://github.com/alexperezortuno/angular-query-builder.git"},"bugs":{"url":"https://github.com/NazirHasan92/modified-angular-query-builder/issues"},"license":"MIT","readme":"# Angular-QueryBuilder\nA modernized Angular 4+ query builder based on jQuery QueryBuilder. Support for heavy customization with Angular components and provides a flexible way to handle custom data types.\n\n# Getting Started\n\n## Install\n\n- Angular 9, use 0.6.0\n- Angular 8, use 0.5.1\n- Angular 6-7, use 0.4.2\n- Angular 4-5, use 0.3.2\n\n`npm install modified-angular-query-builder`\n\n\n# Examples\n\n## Basic Usage\n\n##### `app.module.ts`\n```javascript\nimport { QueryBuilderModule } from \"angular-query-builder\";\nimport { AppComponent } from \"./app.component\"\n\n@NgModule(imports: [\n  ...,\n  QueryBuilderModule,\n  IonicModule.forRoot(AppComponent) // (Optional) for IonicFramework 2+\n])\nexport class AppModule { }\n```\n\n##### `app.component.html`\n```html\n...\n<query-builder [data]='query' [config]='config'></query-builder>\n...\n```\n##### `app.component.ts`\n```javascript\nimport { QueryBuilderConfig, RuleSet } from '@alexperezortuno/angular-query-builder';\n\nexport class AppComponent {\n  query: RuleSet = {\n    condition: 'and',\n    rules: [\n      {field: 'age', operator: '<=', value: 'Bob'},\n      {field: 'gender', operator: '>=', value: 'm'}\n    ]\n  };\n  \n  config: QueryBuilderConfig = {\n    fields: {\n      age: {name: 'Age', type: 'number'},\n      gender: {\n        name: 'Gender',\n        type: 'category',\n        options: [\n          {name: 'Male', value: 'm'},\n          {name: 'Female', value: 'f'}\n        ]\n      }\n    }\n  }\n}\n```\n\n## Custom Input Components\n\n##### `app.component.html`\n```html\n<query-builder [data]='query' [config]='config'>\n  <ng-container *queryInput=\"let rule; type: 'date'\">\n    <custom-datepicker [(ngModel)]=\"rule.value\"></custom-datepicker>\n  </ng-container>\n</query-builder>\n```\n\n##### `app.component.ts`\n```javascript\nquery: RuleSet = {\n  condition: 'and',\n  rules: [\n    {field: 'birthday', operator: '=', value: new Date()}\n  ]\n};\n\nconfig: QueryBuilderConfig = {\n  fields: {\n    birthday: {name: 'Birthday', type: 'date', operators: ['=', '<=', '>']\n      defaultValue: (() => return new Date())\n    },\n  }\n}\n```\n\n## Custom Styling (with Bootstrap 4)\n\n[Bootstrap demo](https://zebzhao.github.io/Angular-QueryBuilder/demo/).\n\n##### `app.component.html`\n```html\n<query-builder [(ngModel)]='query' [config]='config' [classNames]='classNames'></query-builder>\n```\n##### `app.component.ts`\n```javascript\nclassNames: QueryBuilderClassNames = {\n  removeIcon: 'fa fa-minus',\n  addIcon: 'fa fa-plus',\n  arrowIcon: 'fa fa-chevron-right px-2',\n  button: 'btn',\n  buttonGroup: 'btn-group',\n  rightAlign: 'order-12 ml-auto',\n  switchRow: 'd-flex px-2',\n  switchGroup: 'd-flex align-items-center',\n  switchRadio: 'custom-control-input',\n  switchLabel: 'custom-control-label',\n  switchControl: 'custom-control custom-radio custom-control-inline',\n  row: 'row p-2 m-1',\n  rule: 'border',\n  ruleSet: 'border',\n  invalidRuleSet: 'alert alert-danger',\n  emptyWarning: 'text-danger mx-auto',\n  operatorControl: 'form-control',\n  operatorControlSize: 'col-auto pr-0',\n  fieldControl: 'form-control',\n  fieldControlSize: 'col-auto pr-0',\n  entityControl: 'form-control',\n  entityControlSize: 'col-auto pr-0',\n  inputControl: 'form-control',\n  inputControlSize: 'col-auto'\n}\n```\n\n## Customizing with Angular Material\n\nExample of how you can completely customize the query component with another library like Angular Material. For the full example, please look at the [source code](https://github.com/zebzhao/Angular-QueryBuilder/blob/master/demo/src/app/app.component.ts) provided in the demo.\n\n#### `app.component.html`\n\n```html\n<query-builder [(ngModel)]='query' [config]='config'>\n  <ng-container *queryButtonGroup=\"let ruleset; let addRule=addRule; let addRuleSet=addRuleSet; let removeRuleSet=removeRuleSet\">\n    <button type=\"button\" mat-button (click)=\"addRule()\">+ Rule</button>\n    <button type=\"button\" mat-button (click)=\"addRuleSet()\">+ Ruleset</button>\n    <button type=\"button\" mat-button (click)=\"removeRuleSet()\">- Ruleset</button>\n  </ng-container>\n  <ng-container *queryRemoveButton=\"let rule; let removeRule=removeRule\">\n    <button type=\"button\" mat-icon-button color=\"accent\" (click)=\"removeRule(rule)\">\n      <mat-icon>remove</mat-icon>\n    </button>\n  </ng-container>\n  <ng-container *querySwitchGroup=\"let ruleset\">\n    <mat-radio-group *ngIf=\"ruleset\" [(ngModel)]=\"ruleset.condition\">\n      <mat-radio-button value=\"and\">And</mat-radio-button>\n      <mat-radio-button value=\"or\">Or</mat-radio-button>\n    </mat-radio-group>\n  </ng-container>\n  <ng-container *queryField=\"let rule; let fields=fields; let onChange=onChange\">\n    <mat-form-field>\n      <mat-select [(ngModel)]=\"rule.field\" (ngModelChange)=\"onChange($event, rule)\">\n        <mat-option *ngFor=\"let field of fields\" [value]=\"field.value\">{{field.name}}</mat-option>\n      </mat-select>\n    </mat-form-field>\n  </ng-container>\n  <ng-container *queryOperator=\"let rule; let operators=operators\">\n    <mat-form-field>\n      <mat-select [(ngModel)]=\"rule.operator\">\n        <mat-option *ngFor=\"let value of operators\" [value]=\"value\">{{value}}</mat-option>\n      </mat-select>\n    </mat-form-field>\n  </ng-container>\n  <!-- Override input component for 'boolean' type -->\n  <ng-container *queryInput=\"let rule; type: 'boolean'\">\n    <mat-checkbox [(ngModel)]=\"rule.value\"></mat-checkbox>\n  </ng-container>\n  <!-- Override input component for 'category' type -->\n  <ng-container *queryInput=\"let rule; let field=field; let options=options; type: 'category'\">\n    <mat-form-field>\n      <mat-select [(ngModel)]=\"rule.value\" [placeholder]=\"field.name\">\n        <mat-option *ngFor=\"let opt of options\" [value]=\"opt.value\">\n          {{ opt.name }}\n        </mat-option>\n      </mat-select>\n    </mat-form-field>\n  </ng-container>\n  ...\n</query-builder>\n```\n\n## Property Bindings Quick Reference\n\nSee [documentation](https://zebzhao.github.io/Angular-QueryBuilder/) for more details on interfaces and properties.\n\n#### `query-builder`\n|Name|Type|Required|Default|Description|\n|:--- |:--- |:--- |:--- |:--- |\n|`allowRuleset`|`boolean`|Optional|`true`| Displays the `+ Ruleset` button if `true`. |\n|`allowCollapse`|`boolean`|Optional|`false`| Enables collapsible rule sets if `true`. ([See Demo](https://zebzhao.github.io/Angular-QueryBuilder/demo/)) |\n|`classNames`|`object`|Optional|| CSS class names for different child elements in `query-builder` component. |\n|`config`|`QueryBuilderConfig`|Required|| Configuration object for the main component. |\n|`data`|`Ruleset`|Optional|| (Use `ngModel` or `value` instead.) |\n|`emptyMessage`|`string`|Optional|| Message to display for an empty Ruleset if empty rulesets are not allowed. |\n|`ngModel`| `Ruleset` |Optional|| Object that stores the state of the component. Supports 2-way binding. |\n|`operatorMap`|`{ [key: string]: string[] }`|Optional|| Used to map field types to list of operators. |\n|`persistValueOnFieldChange`|`boolean`|Optional|`false`| If `true`, when a field changes to another of the same type, and the type is one of: string, number, time, date, or boolean, persist the previous value. This option is ignored if config.calculateFieldChangeValue is provided. |\n|`config.calculateFieldChangeValue`|`(currentField: Field, nextField: Field, currentValue: any) => any`|Optional|| Used to calculate the new value when a rule's field changes. |\n|`value`| `Ruleset` |Optional|| Object that stores the state of the component. |\n\n## Structural Directives\n\nUse these directives to replace different parts of query builder with custom components. See [example](#customizing-with-angular-material), or [demo](https://zebzhao.github.io/Angular-QueryBuilder/demo/) to see how it's done.\n\n#### `queryInput`\n\nUsed to replace the input component. Specify the type/queryInputType to match specific field types to input template.\n\n|Context Name|Type|Description|\n|:--- |:--- |:--- |\n|`$implicit`|`Rule`|Current rule object which contains the field, value, and operator|\n|`field`|`Field`|Current field object which contains the field's value and name|\n|`options`|`Option[]`|List of options for the field, returned by `getOptions`|\n|`onChange`|`() => void`|Callback to handle changes to the input component|\n\n#### `queryOperator`\n\nUsed to replace the query operator selection component.\n\n|Context Name|Type|Description|\n|:--- |:--- |:--- |\n|`$implicit`|`Rule`|Current rule object which contains the field, value, and operator|\n|`operators`|`string[]`|List of operators for the field, returned by `getOperators`|\n|`onChange`|`() => void`|Callback to handle changes to the operator component|\n|`type`|`string`|Input binding specifying the field type mapped to this input template, specified using syntax in above example|\n\n#### `queryField`\n\nUsed this directive to replace the query field selection component.\n\n|Context Name|Type|Description|\n|:--- |:--- |:--- |\n|`$implicit`|`Rule`|Current rule object which contains the field, value, and operator|\n|`getFields`|`(entityName: string) => void`|Get the list of fields corresponding to an entity|\n|`fields`|`Field[]`|List of fields for the component, specified by `config`|\n|`onChange`|`(fieldValue: string, rule: Rule) => void`|Callback to handle changes to the field component|\n\n#### `queryEntity`\n\nUsed to replace entity selection component.\n\n|Context Name|Type|Description|\n|:--- |:--- |:--- |\n|`$implicit`|`Rule`|Current rule object which contains the field, value, and operator|\n|`entities`|`Entity[]`|List of entities for the component, specified by `config`|\n|`onChange`|`(entityValue: string, rule: Rule) => void`|Callback to handle changes to the entity component|\n\n#### `querySwitchGroup`\n\nUseful for replacing the switch controls, for example the AND/OR conditions. More custom conditions can be specified by using this directive to override the default component.\n\n|Context Name|Type|Description|\n|:--- |:--- |:--- |\n|`$implicit`|`RuleSet`|Current rule set object which contain a list of child rules|\n|`onChange`|`() => void`|Callback to handle changes to the switch group component|\n\n#### `queryArrowIcon`\n\nDirective to replace the expand arrow used in collapse/accordion mode of the query builder.\n\n|Context Name|Type|Description|\n|:--- |:--- |:--- |\n|`$implicit`|`RuleSet`|Current rule set object which contain a list of child rules|\n\n#### `queryEmptyWarning`\n\nCan be used to customize the default empty warning message, alternatively can specify the `emptyMessage` property binding.\n\n|Context Name|Type|Description|\n|:--- |:--- |:--- |\n|`$implicit`|`RuleSet`|Current rule set object which contain a list of child rules|\n|`message`|`string`|Value passed to `emptyMessage`|\n\n#### `queryButtonGroup`\n\nFor replacing the default button group for Add, Add Ruleset, Remove Ruleset buttons.\n\n|Context Name|Type|Description|\n|:--- |:--- |:--- |\n|`$implicit`|`RuleSet`|Current rule set object which contain a list of child rules|\n|`addRule`|`() => void`|Function to handle adding a new rule|\n|`addRuleSet`|`() => void`|Function to handle adding a new rule set|\n|`removeRuleSet`|`() => void`|Function to handle removing the current rule set|\n\n#### `queryRemoveButton`\n\nDirective to replace the default remove single rule button component.\n\n|Context Name|Type|Description|\n|:--- |:--- |:--- |\n|`$implicit`|`Rule`|Current rule object which contains the field, value, and operator|\n|`removeRule`|`(rule: Rule) => void`|Function to handle removing a rule|\n\n## Dependencies\n- Angular 8+\n\nThat's it.\n\n# Workflow\nSee the [angular-library-seed](https://github.com/trekhleb/angular-library-seed) project for details on how to build and run tests.\n","readmeFilename":"README.md"}