@inspark/inspark-components 19.0.3 → 19.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,9 @@
1
1
  import { EventEmitter } from '@angular/core';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
- import { Dropdown, DropdownChangeEvent, DropdownFilterEvent } from 'primeng/dropdown';
3
+ import { Select, SelectChangeEvent, SelectFilterEvent } from 'primeng/select';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class DropdownComponent implements ControlValueAccessor {
6
- dropdown: Dropdown;
6
+ dropdown: Select;
7
7
  itemTemplate: any;
8
8
  options: any[];
9
9
  placeholder: string;
@@ -18,6 +18,9 @@ export declare class DropdownComponent implements ControlValueAccessor {
18
18
  virtualScrollItemSize: number;
19
19
  loading: boolean;
20
20
  autoDisplayFirst: boolean;
21
+ filterBy: string | undefined;
22
+ get effectiveFilterBy(): string;
23
+ filterMatchMode: 'equals' | 'endsWith' | 'startsWith' | 'contains' | 'in' | 'notEquals' | 'lt' | 'lte' | 'gt' | 'gte' | undefined;
21
24
  emptyMessage: string;
22
25
  onChange: EventEmitter<any>;
23
26
  onFilter: EventEmitter<any>;
@@ -32,14 +35,14 @@ export declare class DropdownComponent implements ControlValueAccessor {
32
35
  registerOnChange(fn: any): void;
33
36
  registerOnTouched(fn: any): void;
34
37
  setDisabledState(disabled: boolean): void;
35
- handleChange(event: DropdownChangeEvent): void;
36
- handleFilter(event: DropdownFilterEvent): void;
38
+ handleChange(event: SelectChangeEvent): void;
39
+ handleFilter(event: SelectFilterEvent): void;
37
40
  handleBlur(event: any): void;
38
41
  focus(): void;
39
42
  show(): void;
40
43
  hide(): void;
41
44
  clear(): void;
42
45
  static ɵfac: i0.ɵɵFactoryDeclaration<DropdownComponent, never>;
43
- static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "in-dropdown", never, { "options": { "alias": "options"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "optionLabel": { "alias": "optionLabel"; "required": false; }; "optionValue": { "alias": "optionValue"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "showClear": { "alias": "showClear"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "appendTo": { "alias": "appendTo"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; }; "virtualScrollItemSize": { "alias": "virtualScrollItemSize"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "autoDisplayFirst": { "alias": "autoDisplayFirst"; "required": false; }; "emptyMessage": { "alias": "emptyMessage"; "required": false; }; }, { "onChange": "onChange"; "onFilter": "onFilter"; "onShow": "onShow"; "onHide": "onHide"; "onFocus": "onFocus"; "onBlur": "onBlur"; }, never, ["[selectedItemTemplate]", "[itemTemplate]"], false, never>;
46
+ static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "in-dropdown", never, { "options": { "alias": "options"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "optionLabel": { "alias": "optionLabel"; "required": false; }; "optionValue": { "alias": "optionValue"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "showClear": { "alias": "showClear"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "appendTo": { "alias": "appendTo"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; }; "virtualScrollItemSize": { "alias": "virtualScrollItemSize"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "autoDisplayFirst": { "alias": "autoDisplayFirst"; "required": false; }; "filterBy": { "alias": "filterBy"; "required": false; }; "filterMatchMode": { "alias": "filterMatchMode"; "required": false; }; "emptyMessage": { "alias": "emptyMessage"; "required": false; }; }, { "onChange": "onChange"; "onFilter": "onFilter"; "onShow": "onShow"; "onHide": "onHide"; "onFocus": "onFocus"; "onBlur": "onBlur"; }, never, ["[selectedItemTemplate]", "[itemTemplate]"], false, never>;
44
47
  }
45
48
  //# sourceMappingURL=dropdown.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dropdown.component.d.ts","sourceRoot":"","sources":["../../../../../projects/inspark-components/src/components/dropdown/dropdown.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,YAAY,EAKb,MAAM,eAAe,CAAC;AAEvB,OAAO,EACL,oBAAoB,EAErB,MAAM,gBAAgB,CAAC;AAExB,OAAO,EACL,QAAQ,EACR,mBAAmB,EACnB,mBAAmB,EACpB,MAAM,kBAAkB,CAAC;;AAE1B,qBAaa,iBAAkB,YAAW,oBAAoB;IAG5D,QAAQ,EAAG,QAAQ,CAAC;IACpB,YAAY,EAAE,GAAG,CAAQ;IAGzB,OAAO,EAAE,GAAG,EAAE,CAAM;IAGpB,WAAW,SAAM;IAGjB,WAAW,SAAW;IAGtB,WAAW,SAAW;IAGtB,MAAM,UAAS;IAGf,SAAS,UAAS;IAGlB,QAAQ,UAAS;IAGjB,QAAQ,EAAE,GAAG,CAAU;IAGvB,QAAQ,UAAS;IAGjB,aAAa,UAAS;IAGtB,qBAAqB,SAAM;IAG3B,OAAO,UAAS;IAGhB,gBAAgB,UAAS;IAGzB,YAAY,SAAsB;IAGlC,QAAQ,oBAA2B;IAGnC,QAAQ,oBAA2B;IAGnC,MAAM,qBAA4B;IAGlC,MAAM,qBAA4B;IAGlC,OAAO,oBAA2B;IAGlC,MAAM,oBAA2B;IAEjC,KAAK,EAAE,GAAG,CAAQ;IAElB,OAAO,CAAC,aAAa,CAAuB;IAE5C,OAAO,CAAC,cAAc,CAAY;IAElC,UAAU,CAAC,KAAK,EAAE,GAAG,GAAG,IAAI;IAI5B,gBAAgB,CAAC,EAAE,EAAE,GAAG,GAAG,IAAI;IAI/B,iBAAiB,CAAC,EAAE,EAAE,GAAG,GAAG,IAAI;IAIhC,gBAAgB,CAAC,QAAQ,EAAE,OAAO,GAAG,IAAI;IAIzC,YAAY,CAAC,KAAK,EAAE,mBAAmB,GAAG,IAAI;IAQ9C,YAAY,CAAC,KAAK,EAAE,mBAAmB,GAAG,IAAI;IAI9C,UAAU,CAAC,KAAK,EAAE,GAAG,GAAG,IAAI;IAM5B,KAAK,IAAI,IAAI;IAIb,IAAI,IAAI,IAAI;IAIZ,IAAI,IAAI,IAAI;IAIZ,KAAK,IAAI,IAAI;yCAtHF,iBAAiB;2CAAjB,iBAAiB;CA2H7B"}
1
+ {"version":3,"file":"dropdown.component.d.ts","sourceRoot":"","sources":["../../../../../projects/inspark-components/src/components/dropdown/dropdown.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,YAAY,EAKb,MAAM,eAAe,CAAC;AAEvB,OAAO,EACL,oBAAoB,EAErB,MAAM,gBAAgB,CAAC;AAExB,OAAO,EACL,MAAM,EACN,iBAAiB,EACjB,iBAAiB,EAClB,MAAM,gBAAgB,CAAC;;AAExB,qBAaa,iBAAkB,YAAW,oBAAoB;IAG5D,QAAQ,EAAG,MAAM,CAAC;IAClB,YAAY,EAAE,GAAG,CAAQ;IAGzB,OAAO,EAAE,GAAG,EAAE,CAAM;IAGpB,WAAW,SAAM;IAGjB,WAAW,SAAW;IAGtB,WAAW,SAAW;IAGtB,MAAM,UAAS;IAGf,SAAS,UAAS;IAGlB,QAAQ,UAAS;IAGjB,QAAQ,EAAE,GAAG,CAAU;IAGvB,QAAQ,UAAS;IAGjB,aAAa,UAAS;IAGtB,qBAAqB,SAAM;IAG3B,OAAO,UAAS;IAGhB,gBAAgB,UAAS;IAGzB,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAa;IAEzC,IAAI,iBAAiB,IAAI,MAAM,CAE9B;IAGD,eAAe,EAAE,QAAQ,GAAG,UAAU,GAAG,YAAY,GAAG,UAAU,GAAG,IAAI,GAAG,WAAW,GAAG,IAAI,GAAG,KAAK,GAAG,IAAI,GAAG,KAAK,GAAG,SAAS,CAAC;IAGlI,YAAY,SAAsB;IAGlC,QAAQ,oBAA2B;IAGnC,QAAQ,oBAA2B;IAGnC,MAAM,qBAA4B;IAGlC,MAAM,qBAA4B;IAGlC,OAAO,oBAA2B;IAGlC,MAAM,oBAA2B;IAEjC,KAAK,EAAE,GAAG,CAAQ;IAElB,OAAO,CAAC,aAAa,CAAuB;IAE5C,OAAO,CAAC,cAAc,CAAY;IAElC,UAAU,CAAC,KAAK,EAAE,GAAG,GAAG,IAAI;IAI5B,gBAAgB,CAAC,EAAE,EAAE,GAAG,GAAG,IAAI;IAI/B,iBAAiB,CAAC,EAAE,EAAE,GAAG,GAAG,IAAI;IAIhC,gBAAgB,CAAC,QAAQ,EAAE,OAAO,GAAG,IAAI;IAIzC,YAAY,CAAC,KAAK,EAAE,iBAAiB,GAAG,IAAI;IAQ5C,YAAY,CAAC,KAAK,EAAE,iBAAiB,GAAG,IAAI;IAI5C,UAAU,CAAC,KAAK,EAAE,GAAG,GAAG,IAAI;IAM5B,KAAK,IAAI,IAAI;IAIb,IAAI,IAAI,IAAI;IAIZ,IAAI,IAAI,IAAI;IAIZ,KAAK,IAAI,IAAI;yCAhIF,iBAAiB;2CAAjB,iBAAiB;CAqI7B"}
@@ -1,10 +1,10 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./dropdown.component";
3
3
  import * as i2 from "../shared/shared-ui.module";
4
- import * as i3 from "primeng/dropdown";
4
+ import * as i3 from "primeng/select";
5
5
  export declare class DropdownComponentModule {
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<DropdownComponentModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<DropdownComponentModule, [typeof i1.DropdownComponent], [typeof i2.SharedUiModule, typeof i3.DropdownModule], [typeof i1.DropdownComponent]>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DropdownComponentModule, [typeof i1.DropdownComponent], [typeof i2.SharedUiModule, typeof i3.SelectModule], [typeof i1.DropdownComponent]>;
8
8
  static ɵinj: i0.ɵɵInjectorDeclaration<DropdownComponentModule>;
9
9
  }
10
10
  //# sourceMappingURL=dropdown.module.d.ts.map
@@ -45,6 +45,8 @@ import { BreadcrumbModule } from 'primeng/breadcrumb';
45
45
  export { BreadcrumbModule } from 'primeng/breadcrumb';
46
46
  import { TreeModule } from 'primeng/tree';
47
47
  export { TreeModule } from 'primeng/tree';
48
+ import * as i3$2 from 'primeng/select';
49
+ import { SelectModule } from 'primeng/select';
48
50
 
49
51
  class PropertyValuePipe {
50
52
  transform(value, name) {
@@ -5916,6 +5918,7 @@ class DropdownComponent {
5916
5918
  this.virtualScrollItemSize = 38;
5917
5919
  this.loading = false;
5918
5920
  this.autoDisplayFirst = false;
5921
+ this.filterBy = undefined;
5919
5922
  this.emptyMessage = 'No results found';
5920
5923
  this.onChange = new EventEmitter();
5921
5924
  this.onFilter = new EventEmitter();
@@ -5927,6 +5930,9 @@ class DropdownComponent {
5927
5930
  this.onModelChange = (_value) => { };
5928
5931
  this.onModelTouched = () => { };
5929
5932
  }
5933
+ get effectiveFilterBy() {
5934
+ return this.filterBy ?? this.optionLabel;
5935
+ }
5930
5936
  writeValue(value) {
5931
5937
  this.value = value;
5932
5938
  }
@@ -5970,24 +5976,22 @@ class DropdownComponent {
5970
5976
  } if (rf & 2) {
5971
5977
  let _t;
5972
5978
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dropdown = _t.first);
5973
- } }, inputs: { options: "options", placeholder: "placeholder", optionLabel: "optionLabel", optionValue: "optionValue", filter: "filter", showClear: "showClear", disabled: "disabled", appendTo: "appendTo", editable: "editable", virtualScroll: "virtualScroll", virtualScrollItemSize: "virtualScrollItemSize", loading: "loading", autoDisplayFirst: "autoDisplayFirst", emptyMessage: "emptyMessage" }, outputs: { onChange: "onChange", onFilter: "onFilter", onShow: "onShow", onHide: "onHide", onFocus: "onFocus", onBlur: "onBlur" }, standalone: false, features: [i0.ɵɵProvidersFeature([
5979
+ } }, inputs: { options: "options", placeholder: "placeholder", optionLabel: "optionLabel", optionValue: "optionValue", filter: "filter", showClear: "showClear", disabled: "disabled", appendTo: "appendTo", editable: "editable", virtualScroll: "virtualScroll", virtualScrollItemSize: "virtualScrollItemSize", loading: "loading", autoDisplayFirst: "autoDisplayFirst", filterBy: "filterBy", filterMatchMode: "filterMatchMode", emptyMessage: "emptyMessage" }, outputs: { onChange: "onChange", onFilter: "onFilter", onShow: "onShow", onHide: "onHide", onFocus: "onFocus", onBlur: "onBlur" }, standalone: false, features: [i0.ɵɵProvidersFeature([
5974
5980
  {
5975
5981
  provide: NG_VALUE_ACCESSOR,
5976
5982
  useExisting: forwardRef(() => DropdownComponent),
5977
5983
  multi: true
5978
5984
  }
5979
- ])], ngContentSelectors: _c2, decls: 4, vars: 15, consts: [["dropdown", ""], [3, "ngModelChange", "onChange", "onFilter", "onShow", "onHide", "onFocus", "onBlur", "options", "placeholder", "optionLabel", "optionValue", "filter", "showClear", "disabled", "appendTo", "editable", "virtualScroll", "virtualScrollItemSize", "loading", "autoDisplayFirst", "emptyMessage", "ngModel"], ["pTemplate", "selectedItem"], ["pTemplate", "item"], [4, "ngIf"]], template: function DropdownComponent_Template(rf, ctx) { if (rf & 1) {
5985
+ ])], ngContentSelectors: _c2, decls: 4, vars: 17, consts: [["dropdown", ""], [3, "onChange", "onFilter", "onShow", "onHide", "onFocus", "onBlur", "options", "placeholder", "optionLabel", "optionValue", "filter", "filterBy", "filterMatchMode", "showClear", "disabled", "appendTo", "editable", "virtualScroll", "virtualScrollItemSize", "loading", "autoDisplayFirst", "emptyMessage", "ngModel"], ["pTemplate", "selectedItem"], ["pTemplate", "item"], [4, "ngIf"]], template: function DropdownComponent_Template(rf, ctx) { if (rf & 1) {
5980
5986
  const _r1 = i0.ɵɵgetCurrentView();
5981
5987
  i0.ɵɵprojectionDef(_c1);
5982
- i0.ɵɵelementStart(0, "p-dropdown", 1, 0);
5983
- i0.ɵɵtwoWayListener("ngModelChange", function DropdownComponent_Template_p_dropdown_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.value, $event) || (ctx.value = $event); return i0.ɵɵresetView($event); });
5984
- i0.ɵɵlistener("onChange", function DropdownComponent_Template_p_dropdown_onChange_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleChange($event)); })("onFilter", function DropdownComponent_Template_p_dropdown_onFilter_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleFilter($event)); })("onShow", function DropdownComponent_Template_p_dropdown_onShow_0_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onShow.emit()); })("onHide", function DropdownComponent_Template_p_dropdown_onHide_0_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onHide.emit()); })("onFocus", function DropdownComponent_Template_p_dropdown_onFocus_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onFocus.emit($event)); })("onBlur", function DropdownComponent_Template_p_dropdown_onBlur_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleBlur($event)); });
5988
+ i0.ɵɵelementStart(0, "p-select", 1, 0);
5989
+ i0.ɵɵlistener("onChange", function DropdownComponent_Template_p_select_onChange_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleChange($event)); })("onFilter", function DropdownComponent_Template_p_select_onFilter_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleFilter($event)); })("onShow", function DropdownComponent_Template_p_select_onShow_0_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onShow.emit()); })("onHide", function DropdownComponent_Template_p_select_onHide_0_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onHide.emit()); })("onFocus", function DropdownComponent_Template_p_select_onFocus_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onFocus.emit($event)); })("onBlur", function DropdownComponent_Template_p_select_onBlur_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleBlur($event)); });
5985
5990
  i0.ɵɵtemplate(2, DropdownComponent_ng_template_2_Template, 2, 1, "ng-template", 2)(3, DropdownComponent_ng_template_3_Template, 2, 1, "ng-template", 3);
5986
5991
  i0.ɵɵelementEnd();
5987
5992
  } if (rf & 2) {
5988
- i0.ɵɵproperty("options", ctx.options)("placeholder", ctx.placeholder)("optionLabel", ctx.optionLabel)("optionValue", ctx.optionValue)("filter", ctx.filter)("showClear", ctx.showClear)("disabled", ctx.disabled)("appendTo", ctx.appendTo)("editable", ctx.editable)("virtualScroll", ctx.virtualScroll)("virtualScrollItemSize", ctx.virtualScrollItemSize)("loading", ctx.loading)("autoDisplayFirst", ctx.autoDisplayFirst)("emptyMessage", ctx.emptyMessage);
5989
- i0.ɵɵtwoWayProperty("ngModel", ctx.value);
5990
- } }, dependencies: [i1$2.NgIf, i2$1.NgControlStatus, i2$1.NgModel, i5.Dropdown, i2.PrimeTemplate], styles: [".in-dropdown[_ngcontent-%COMP%]{width:100%;margin-bottom:0}"] }); }
5993
+ i0.ɵɵproperty("options", ctx.options)("placeholder", ctx.placeholder)("optionLabel", ctx.optionLabel)("optionValue", ctx.optionValue)("filter", ctx.filter)("filterBy", ctx.effectiveFilterBy)("filterMatchMode", ctx.filterMatchMode)("showClear", ctx.showClear)("disabled", ctx.disabled)("appendTo", ctx.appendTo)("editable", ctx.editable)("virtualScroll", ctx.virtualScroll)("virtualScrollItemSize", ctx.virtualScrollItemSize)("loading", ctx.loading)("autoDisplayFirst", ctx.autoDisplayFirst)("emptyMessage", ctx.emptyMessage)("ngModel", ctx.value);
5994
+ } }, dependencies: [i1$2.NgIf, i2$1.NgControlStatus, i2$1.NgModel, i3$2.Select, i2.PrimeTemplate], styles: [".in-dropdown[_ngcontent-%COMP%]{width:100%;margin-bottom:0}"] }); }
5991
5995
  }
5992
5996
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DropdownComponent, [{
5993
5997
  type: Component,
@@ -5997,7 +6001,7 @@ class DropdownComponent {
5997
6001
  useExisting: forwardRef(() => DropdownComponent),
5998
6002
  multi: true
5999
6003
  }
6000
- ], template: "<p-dropdown\r\n #dropdown\r\n\r\n [options]=\"options\"\r\n [placeholder]=\"placeholder\"\r\n [optionLabel]=\"optionLabel\"\r\n [optionValue]=\"optionValue\"\r\n [filter]=\"filter\"\r\n [showClear]=\"showClear\"\r\n [disabled]=\"disabled\"\r\n [appendTo]=\"appendTo\"\r\n [editable]=\"editable\"\r\n [virtualScroll]=\"virtualScroll\"\r\n [virtualScrollItemSize]=\"virtualScrollItemSize\"\r\n [loading]=\"loading\"\r\n [autoDisplayFirst]=\"autoDisplayFirst\"\r\n [emptyMessage]=\"emptyMessage\"\r\n\r\n [(ngModel)]=\"value\"\r\n\r\n (onChange)=\"handleChange($event)\"\r\n (onFilter)=\"handleFilter($event)\"\r\n (onShow)=\"onShow.emit()\"\r\n (onHide)=\"onHide.emit()\"\r\n (onFocus)=\"onFocus.emit($event)\"\r\n (onBlur)=\"handleBlur($event)\"\r\n>\r\n\r\n <ng-template\r\n pTemplate=\"selectedItem\"\r\n let-selected\r\n >\r\n\r\n <ng-content\r\n select=\"[selectedItemTemplate]\"\r\n ></ng-content>\r\n\r\n <span *ngIf=\"!selected\">\r\n {{ placeholder }}\r\n </span>\r\n\r\n </ng-template>\r\n\r\n <ng-template\r\n pTemplate=\"item\"\r\n let-item\r\n >\r\n\r\n <ng-content\r\n select=\"[itemTemplate]\"\r\n ></ng-content>\r\n\r\n <span *ngIf=\"!itemTemplate\">\r\n {{ item?.[optionLabel] }}\r\n </span>\r\n\r\n </ng-template>\r\n\r\n</p-dropdown>\r\n", styles: [".in-dropdown{width:100%;margin-bottom:0}\n"] }]
6004
+ ], template: "<p-select\n #dropdown\n\n [options]=\"options\"\n [placeholder]=\"placeholder\"\n [optionLabel]=\"optionLabel\"\n [optionValue]=\"optionValue\"\n [filter]=\"filter\"\n [filterBy]=\"effectiveFilterBy\"\n [filterMatchMode]=\"filterMatchMode\"\n [showClear]=\"showClear\"\n [disabled]=\"disabled\"\n [appendTo]=\"appendTo\"\n [editable]=\"editable\"\n [virtualScroll]=\"virtualScroll\"\n [virtualScrollItemSize]=\"virtualScrollItemSize\"\n [loading]=\"loading\"\n [autoDisplayFirst]=\"autoDisplayFirst\"\n [emptyMessage]=\"emptyMessage\"\n\n [ngModel]=\"value\"\n\n (onChange)=\"handleChange($event)\"\n (onFilter)=\"handleFilter($event)\"\n (onShow)=\"onShow.emit()\"\n (onHide)=\"onHide.emit()\"\n (onFocus)=\"onFocus.emit($event)\"\n (onBlur)=\"handleBlur($event)\"\n>\n\n <ng-template\n pTemplate=\"selectedItem\"\n let-selected\n >\n\n <ng-content\n select=\"[selectedItemTemplate]\"\n ></ng-content>\n\n <span *ngIf=\"!selected\">\n {{ placeholder }}\n </span>\n\n </ng-template>\n\n <ng-template\n pTemplate=\"item\"\n let-item\n >\n\n <ng-content\n select=\"[itemTemplate]\"\n ></ng-content>\n\n <span *ngIf=\"!itemTemplate\">\n {{ item?.[optionLabel] }}\n </span>\n\n </ng-template>\n\n</p-select>\n", styles: [".in-dropdown{width:100%;margin-bottom:0}\n"] }]
6001
6005
  }], null, { dropdown: [{
6002
6006
  type: ViewChild,
6003
6007
  args: ['dropdown']
@@ -6027,6 +6031,10 @@ class DropdownComponent {
6027
6031
  type: Input
6028
6032
  }], autoDisplayFirst: [{
6029
6033
  type: Input
6034
+ }], filterBy: [{
6035
+ type: Input
6036
+ }], filterMatchMode: [{
6037
+ type: Input
6030
6038
  }], emptyMessage: [{
6031
6039
  type: Input
6032
6040
  }], onChange: [{
@@ -6048,7 +6056,7 @@ class DropdownComponentModule {
6048
6056
  static { this.ɵfac = function DropdownComponentModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DropdownComponentModule)(); }; }
6049
6057
  static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: DropdownComponentModule }); }
6050
6058
  static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [SharedUiModule,
6051
- DropdownModule] }); }
6059
+ SelectModule] }); }
6052
6060
  }
6053
6061
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DropdownComponentModule, [{
6054
6062
  type: NgModule,
@@ -6058,7 +6066,7 @@ class DropdownComponentModule {
6058
6066
  ],
6059
6067
  imports: [
6060
6068
  SharedUiModule,
6061
- DropdownModule
6069
+ SelectModule
6062
6070
  ],
6063
6071
  exports: [
6064
6072
  DropdownComponent
@@ -6066,7 +6074,7 @@ class DropdownComponentModule {
6066
6074
  }]
6067
6075
  }], null, null); })();
6068
6076
  (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(DropdownComponentModule, { declarations: [DropdownComponent], imports: [SharedUiModule,
6069
- DropdownModule], exports: [DropdownComponent] }); })();
6077
+ SelectModule], exports: [DropdownComponent] }); })();
6070
6078
 
6071
6079
  class InsparkComponentsModule {
6072
6080
  static { this.ɵfac = function InsparkComponentsModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || InsparkComponentsModule)(); }; }