@inspark/inspark-components 19.0.18 → 19.0.20
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.
- package/full/components/autocomplete/autocomplete.component.d.ts +11 -1
- package/full/components/autocomplete/autocomplete.component.d.ts.map +1 -1
- package/full/components/dropdown/dropdown.component.d.ts.map +1 -1
- package/full/fesm2022/inspark-inspark-components.mjs +30 -10
- package/full/fesm2022/inspark-inspark-components.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -21,6 +21,16 @@ export declare class AutoCompleteComponent implements ControlValueAccessor {
|
|
|
21
21
|
emptyMessage: string;
|
|
22
22
|
style: any;
|
|
23
23
|
styleClass: string;
|
|
24
|
+
inputStyle: any;
|
|
25
|
+
inputStyleClass: string;
|
|
26
|
+
/** HTML size attribute of the input field (number of characters) */
|
|
27
|
+
size: number | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* When true, the component won't update ngModel with typed text on blur
|
|
30
|
+
* (PrimeNG 14 legacy prop — accepted but not forwarded to p-autoComplete v19)
|
|
31
|
+
*/
|
|
32
|
+
immutable: boolean;
|
|
33
|
+
dropdownIcon: string | undefined;
|
|
24
34
|
completeMethod: EventEmitter<any>;
|
|
25
35
|
onSelect: EventEmitter<any>;
|
|
26
36
|
onUnselect: EventEmitter<any>;
|
|
@@ -45,6 +55,6 @@ export declare class AutoCompleteComponent implements ControlValueAccessor {
|
|
|
45
55
|
show(): void;
|
|
46
56
|
hide(): void;
|
|
47
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<AutoCompleteComponent, never>;
|
|
48
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AutoCompleteComponent, "in-autocomplete", never, { "suggestions": { "alias": "suggestions"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "field": { "alias": "field"; "required": false; }; "dropdown": { "alias": "dropdown"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "forceSelection": { "alias": "forceSelection"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; "delay": { "alias": "delay"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "appendTo": { "alias": "appendTo"; "required": false; }; "dropdownMode": { "alias": "dropdownMode"; "required": false; }; "optionLabel": { "alias": "optionLabel"; "required": false; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; }; "virtualScrollItemSize": { "alias": "virtualScrollItemSize"; "required": false; }; "emptyMessage": { "alias": "emptyMessage"; "required": false; }; "style": { "alias": "style"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; }, { "completeMethod": "completeMethod"; "onSelect": "onSelect"; "onUnselect": "onUnselect"; "onClear": "onClear"; "onFocus": "onFocus"; "onBlur": "onBlur"; "onDropdownClick": "onDropdownClick"; }, never, ["[itemTemplate]", "[selectedItemTemplate]"], false, never>;
|
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AutoCompleteComponent, "in-autocomplete", never, { "suggestions": { "alias": "suggestions"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "field": { "alias": "field"; "required": false; }; "dropdown": { "alias": "dropdown"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "forceSelection": { "alias": "forceSelection"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; "delay": { "alias": "delay"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "appendTo": { "alias": "appendTo"; "required": false; }; "dropdownMode": { "alias": "dropdownMode"; "required": false; }; "optionLabel": { "alias": "optionLabel"; "required": false; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; }; "virtualScrollItemSize": { "alias": "virtualScrollItemSize"; "required": false; }; "emptyMessage": { "alias": "emptyMessage"; "required": false; }; "style": { "alias": "style"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; "inputStyle": { "alias": "inputStyle"; "required": false; }; "inputStyleClass": { "alias": "inputStyleClass"; "required": false; }; "size": { "alias": "size"; "required": false; }; "immutable": { "alias": "immutable"; "required": false; }; "dropdownIcon": { "alias": "dropdownIcon"; "required": false; }; }, { "completeMethod": "completeMethod"; "onSelect": "onSelect"; "onUnselect": "onUnselect"; "onClear": "onClear"; "onFocus": "onFocus"; "onBlur": "onBlur"; "onDropdownClick": "onDropdownClick"; }, never, ["[itemTemplate]", "[selectedItemTemplate]"], false, never>;
|
|
49
59
|
}
|
|
50
60
|
//# sourceMappingURL=autocomplete.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"autocomplete.component.d.ts","sourceRoot":"","sources":["../../../../../projects/inspark-components/src/components/autocomplete/autocomplete.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,YAAY,EAKb,MAAM,eAAe,CAAC;AAEvB,OAAO,EACL,oBAAoB,EAErB,MAAM,gBAAgB,CAAC;AAExB,OAAO,EACL,YAAY,EACZ,yBAAyB,EACzB,uBAAuB,EACvB,yBAAyB,EAC1B,MAAM,sBAAsB,CAAC;;AAE9B,qBAaa,qBAAsB,YAAW,oBAAoB;IAGhE,YAAY,EAAG,YAAY,CAAC;IAG5B,WAAW,EAAE,GAAG,EAAE,CAAM;IAGxB,WAAW,SAAM;IAGjB,KAAK,SAAW;IAGhB,QAAQ,UAAS;IAGjB,QAAQ,UAAS;IAGjB,cAAc,UAAS;IAGvB,SAAS,SAAK;IAGd,KAAK,SAAO;IAGZ,QAAQ,UAAS;IAGjB,QAAQ,EAAE,GAAG,CAAU;IAGvB,YAAY,EAAE,OAAO,GAAG,SAAS,CAAW;IAG5C,WAAW,SAAW;IAGtB,aAAa,UAAS;IAGtB,qBAAqB,SAAM;IAG3B,YAAY,SAAsB;IAGlC,KAAK,EAAE,GAAG,CAAQ;IAGlB,UAAU,SAAM;IAGhB,cAAc,oBAA2B;IAGzC,QAAQ,oBAA2B;IAGnC,UAAU,oBAA2B;IAGrC,OAAO,qBAA4B;IAGnC,OAAO,oBAA2B;IAGlC,MAAM,oBAA2B;IAGjC,eAAe,oBAA2B;IAE1C,KAAK,EAAE,GAAG,CAAQ;IAElB,YAAY,EAAE,GAAG,CAAQ;IAEzB,oBAAoB,EAAE,GAAG,CAAQ;IAEjC,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,cAAc,CAAC,KAAK,EAAE,yBAAyB,GAAG,IAAI;IAItD,YAAY,CAAC,KAAK,EAAE,uBAAuB,GAAG,IAAI;IAMlD,cAAc,CAAC,KAAK,EAAE,yBAAyB,GAAG,IAAI;IAMtD,UAAU,CAAC,KAAK,EAAE,GAAG,GAAG,IAAI;IAM5B,KAAK,IAAI,IAAI;IAQb,IAAI,IAAI,IAAI;IAIZ,IAAI,IAAI,IAAI;
|
|
1
|
+
{"version":3,"file":"autocomplete.component.d.ts","sourceRoot":"","sources":["../../../../../projects/inspark-components/src/components/autocomplete/autocomplete.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,YAAY,EAKb,MAAM,eAAe,CAAC;AAEvB,OAAO,EACL,oBAAoB,EAErB,MAAM,gBAAgB,CAAC;AAExB,OAAO,EACL,YAAY,EACZ,yBAAyB,EACzB,uBAAuB,EACvB,yBAAyB,EAC1B,MAAM,sBAAsB,CAAC;;AAE9B,qBAaa,qBAAsB,YAAW,oBAAoB;IAGhE,YAAY,EAAG,YAAY,CAAC;IAG5B,WAAW,EAAE,GAAG,EAAE,CAAM;IAGxB,WAAW,SAAM;IAGjB,KAAK,SAAW;IAGhB,QAAQ,UAAS;IAGjB,QAAQ,UAAS;IAGjB,cAAc,UAAS;IAGvB,SAAS,SAAK;IAGd,KAAK,SAAO;IAGZ,QAAQ,UAAS;IAGjB,QAAQ,EAAE,GAAG,CAAU;IAGvB,YAAY,EAAE,OAAO,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d.ts","sourceRoot":"","sources":["../../../../../projects/inspark-components/src/components/dropdown/dropdown.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,YAAY,EAKZ,gBAAgB,EAChB,WAAW,EAEX,SAAS,EACV,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,EAAE,gBAAgB;IAEhD,SAAS,EAAE,SAAS,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC;IAGrE,YAAY,EAAE,WAAW,CAAC,GAAG,CAAC,GAAG,IAAI,CAAQ;IAC7C,oBAAoB,EAAE,WAAW,CAAC,GAAG,CAAC,GAAG,IAAI,CAAQ;IAE9B,QAAQ,EAAG,MAAM,CAAC;IAEhC,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,GAAG,EAAE,CAAM;IACpB,WAAW,SAAM;IACjB,WAAW,SAAW;IACtB,WAAW,EAAE,MAAM,GAAG,SAAS,
|
|
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,EAKZ,gBAAgB,EAChB,WAAW,EAEX,SAAS,EACV,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,EAAE,gBAAgB;IAEhD,SAAS,EAAE,SAAS,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC;IAGrE,YAAY,EAAE,WAAW,CAAC,GAAG,CAAC,GAAG,IAAI,CAAQ;IAC7C,oBAAo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,GAAG,IAAI;IAI5C,UAAU,CAAC,KAAK,EAAE,GAAG,GAAG,IAAI;IAK5B,KAAK,IAAI,IAAI;IAIb,IAAI,IAAI,IAAI;IAIZ,IAAI,IAAI,IAAI;IAIZ,KAAK,IAAI,IAAI;yCA/HF,iBAAiB;2CAAjB,iBAAiB;CAmI7B"}
|
|
@@ -3086,7 +3086,7 @@ class PreloaderComponent {
|
|
|
3086
3086
|
// tslint:disable-next-line:max-line-length
|
|
3087
3087
|
const _c0$e = (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15) => ({ "p-button p-widget p-state-default p-corner-all": true, "p-button-icon-only": a0, "p-button-text-icon-left": a1, "p-button-text-icon-right": a2, "p-button-text-only": a3, "p-button-text-empty": a4, "p-button-svg": a5, "p-button-material": a6, "p-state-disabled": a7, "p-button-tiny": a8, "p-button-small": a9, "p-button-large": a10, "p-button-primary": a11, "p-button-secondary": a12, "p-button-danger": a13, "p-button-transparency": a14, "p-button-pressed": a15 });
|
|
3088
3088
|
const _c1$6 = a0 => ({ width: a0 });
|
|
3089
|
-
const _c2 = (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16) => ({ "p-button p-widget p-state-default p-corner-all": true, "p-button-icon-only": a0, "p-button-text-icon-left": a1, "p-button-text-icon-right": a2, "p-button-text-only": a3, "p-button-text-empty": a4, "p-button-svg": a5, "p-button-material": a6, "p-state-disabled": a7, "p-button-tiny": a8, "p-button-small": a9, "p-button-large": a10, "p-button-primary": a11, "p-button-secondary": a12, "p-button-danger": a13, "p-button-transparency": a14, "p-button-shadowed": a15, "p-button-pressed": a16 });
|
|
3089
|
+
const _c2$3 = (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16) => ({ "p-button p-widget p-state-default p-corner-all": true, "p-button-icon-only": a0, "p-button-text-icon-left": a1, "p-button-text-icon-right": a2, "p-button-text-only": a3, "p-button-text-empty": a4, "p-button-svg": a5, "p-button-material": a6, "p-state-disabled": a7, "p-button-tiny": a8, "p-button-small": a9, "p-button-large": a10, "p-button-primary": a11, "p-button-secondary": a12, "p-button-danger": a13, "p-button-transparency": a14, "p-button-shadowed": a15, "p-button-pressed": a16 });
|
|
3090
3090
|
const _c3$4 = (a0, a1) => ({ "p-clickable": true, "p-button-icon-left": a0, "p-button-icon-right": a1 });
|
|
3091
3091
|
function ButtonComponent_a_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
3092
3092
|
i0.ɵɵelementContainer(0);
|
|
@@ -3170,7 +3170,7 @@ function ButtonComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
3170
3170
|
i0.ɵɵadvance(2);
|
|
3171
3171
|
i0.ɵɵstyleMap(ctx_r1.style);
|
|
3172
3172
|
i0.ɵɵclassMap(ctx_r1.className + " " + ctx_r1.testId + " field_" + ctx_r1.name);
|
|
3173
|
-
i0.ɵɵproperty("disabled", ctx_r1.disabled)("ngClass", i0.ɵɵpureFunctionV(13, _c2, [(ctx_r1.icon || ctx_r1.svg) && !ctx_r1.label, (ctx_r1.icon || ctx_r1.svg) && ctx_r1.label && ctx_r1.iconPos === "left", (ctx_r1.icon || ctx_r1.svg) && ctx_r1.label && ctx_r1.iconPos === "right", !(ctx_r1.icon || ctx_r1.svg) && ctx_r1.label, !(ctx_r1.icon || ctx_r1.svg) && !ctx_r1.label, ctx_r1.svg, ctx_r1.isMaterialIcon, ctx_r1.disabled, ctx_r1.size === "tiny", ctx_r1.size === "small", ctx_r1.size === "large", ctx_r1.color === "primary", ctx_r1.color === "secondary", ctx_r1.color === "danger", ctx_r1.color === "transparent", ctx_r1.shadow === true, ctx_r1.pressed]));
|
|
3173
|
+
i0.ɵɵproperty("disabled", ctx_r1.disabled)("ngClass", i0.ɵɵpureFunctionV(13, _c2$3, [(ctx_r1.icon || ctx_r1.svg) && !ctx_r1.label, (ctx_r1.icon || ctx_r1.svg) && ctx_r1.label && ctx_r1.iconPos === "left", (ctx_r1.icon || ctx_r1.svg) && ctx_r1.label && ctx_r1.iconPos === "right", !(ctx_r1.icon || ctx_r1.svg) && ctx_r1.label, !(ctx_r1.icon || ctx_r1.svg) && !ctx_r1.label, ctx_r1.svg, ctx_r1.isMaterialIcon, ctx_r1.disabled, ctx_r1.size === "tiny", ctx_r1.size === "small", ctx_r1.size === "large", ctx_r1.color === "primary", ctx_r1.color === "secondary", ctx_r1.color === "danger", ctx_r1.color === "transparent", ctx_r1.shadow === true, ctx_r1.pressed]));
|
|
3174
3174
|
i0.ɵɵattribute("type", ctx_r1.type);
|
|
3175
3175
|
i0.ɵɵadvance();
|
|
3176
3176
|
i0.ɵɵproperty("ngTemplateOutlet", content_r3);
|
|
@@ -3203,7 +3203,7 @@ function ButtonComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
3203
3203
|
i0.ɵɵadvance();
|
|
3204
3204
|
i0.ɵɵstyleMap(ctx_r1.style);
|
|
3205
3205
|
i0.ɵɵclassMap(ctx_r1.className + " " + ctx_r1.testId + " field_" + ctx_r1.name);
|
|
3206
|
-
i0.ɵɵproperty("disabled", ctx_r1.disabled)("ngClass", i0.ɵɵpureFunctionV(12, _c2, [(ctx_r1.icon || ctx_r1.svg) && !ctx_r1.label || ctx_r1.isIconOnly, (ctx_r1.icon || ctx_r1.svg) && ctx_r1.label && ctx_r1.iconPos === "left", (ctx_r1.icon || ctx_r1.svg) && ctx_r1.label && ctx_r1.iconPos === "right", !(ctx_r1.icon || ctx_r1.svg) && ctx_r1.label, !(ctx_r1.icon || ctx_r1.svg) && !ctx_r1.label, ctx_r1.svg, ctx_r1.isMaterialIcon, ctx_r1.disabled, ctx_r1.size === "tiny", ctx_r1.size === "small", ctx_r1.size === "large", ctx_r1.color === "primary", ctx_r1.color === "secondary", ctx_r1.color === "danger", ctx_r1.color === "transparent", ctx_r1.shadow === true, ctx_r1.pressed]));
|
|
3206
|
+
i0.ɵɵproperty("disabled", ctx_r1.disabled)("ngClass", i0.ɵɵpureFunctionV(12, _c2$3, [(ctx_r1.icon || ctx_r1.svg) && !ctx_r1.label || ctx_r1.isIconOnly, (ctx_r1.icon || ctx_r1.svg) && ctx_r1.label && ctx_r1.iconPos === "left", (ctx_r1.icon || ctx_r1.svg) && ctx_r1.label && ctx_r1.iconPos === "right", !(ctx_r1.icon || ctx_r1.svg) && ctx_r1.label, !(ctx_r1.icon || ctx_r1.svg) && !ctx_r1.label, ctx_r1.svg, ctx_r1.isMaterialIcon, ctx_r1.disabled, ctx_r1.size === "tiny", ctx_r1.size === "small", ctx_r1.size === "large", ctx_r1.color === "primary", ctx_r1.color === "secondary", ctx_r1.color === "danger", ctx_r1.color === "transparent", ctx_r1.shadow === true, ctx_r1.pressed]));
|
|
3207
3207
|
i0.ɵɵattribute("type", ctx_r1.type);
|
|
3208
3208
|
i0.ɵɵadvance();
|
|
3209
3209
|
i0.ɵɵproperty("ngTemplateOutlet", content_r3);
|
|
@@ -4048,7 +4048,7 @@ class SharedUiModule {
|
|
|
4048
4048
|
|
|
4049
4049
|
const _c0$b = ["autocomplete"];
|
|
4050
4050
|
const _c1$4 = [[["", "itemTemplate", ""]], [["", "selectedItemTemplate", ""]]];
|
|
4051
|
-
const _c2
|
|
4051
|
+
const _c2 = ["[itemTemplate]", "[selectedItemTemplate]"];
|
|
4052
4052
|
const _c3$2 = (a0, a1) => ({ "p-autocomplete p-component": true, "p-autocomplete-dd": a0, "p-autocomplete-multiple": a1 });
|
|
4053
4053
|
function AutoCompleteComponent_ng_template_4_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
4054
4054
|
i0.ɵɵelementStart(0, "span");
|
|
@@ -4105,6 +4105,16 @@ class AutoCompleteComponent {
|
|
|
4105
4105
|
this.emptyMessage = 'No results found';
|
|
4106
4106
|
this.style = null;
|
|
4107
4107
|
this.styleClass = '';
|
|
4108
|
+
this.inputStyle = null;
|
|
4109
|
+
this.inputStyleClass = '';
|
|
4110
|
+
/** HTML size attribute of the input field (number of characters) */
|
|
4111
|
+
this.size = undefined;
|
|
4112
|
+
/**
|
|
4113
|
+
* When true, the component won't update ngModel with typed text on blur
|
|
4114
|
+
* (PrimeNG 14 legacy prop — accepted but not forwarded to p-autoComplete v19)
|
|
4115
|
+
*/
|
|
4116
|
+
this.immutable = true;
|
|
4117
|
+
this.dropdownIcon = undefined;
|
|
4108
4118
|
this.completeMethod = new EventEmitter();
|
|
4109
4119
|
this.onSelect = new EventEmitter();
|
|
4110
4120
|
this.onUnselect = new EventEmitter();
|
|
@@ -4162,13 +4172,13 @@ class AutoCompleteComponent {
|
|
|
4162
4172
|
} if (rf & 2) {
|
|
4163
4173
|
let _t;
|
|
4164
4174
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.autocomplete = _t.first);
|
|
4165
|
-
} }, inputs: { suggestions: "suggestions", placeholder: "placeholder", field: "field", dropdown: "dropdown", multiple: "multiple", forceSelection: "forceSelection", minLength: "minLength", delay: "delay", disabled: "disabled", appendTo: "appendTo", dropdownMode: "dropdownMode", optionLabel: "optionLabel", virtualScroll: "virtualScroll", virtualScrollItemSize: "virtualScrollItemSize", emptyMessage: "emptyMessage", style: "style", styleClass: "styleClass" }, outputs: { completeMethod: "completeMethod", onSelect: "onSelect", onUnselect: "onUnselect", onClear: "onClear", onFocus: "onFocus", onBlur: "onBlur", onDropdownClick: "onDropdownClick" }, standalone: false, features: [i0.ɵɵProvidersFeature([
|
|
4175
|
+
} }, inputs: { suggestions: "suggestions", placeholder: "placeholder", field: "field", dropdown: "dropdown", multiple: "multiple", forceSelection: "forceSelection", minLength: "minLength", delay: "delay", disabled: "disabled", appendTo: "appendTo", dropdownMode: "dropdownMode", optionLabel: "optionLabel", virtualScroll: "virtualScroll", virtualScrollItemSize: "virtualScrollItemSize", emptyMessage: "emptyMessage", style: "style", styleClass: "styleClass", inputStyle: "inputStyle", inputStyleClass: "inputStyleClass", size: "size", immutable: "immutable", dropdownIcon: "dropdownIcon" }, outputs: { completeMethod: "completeMethod", onSelect: "onSelect", onUnselect: "onUnselect", onClear: "onClear", onFocus: "onFocus", onBlur: "onBlur", onDropdownClick: "onDropdownClick" }, standalone: false, features: [i0.ɵɵProvidersFeature([
|
|
4166
4176
|
{
|
|
4167
4177
|
provide: NG_VALUE_ACCESSOR,
|
|
4168
4178
|
useExisting: forwardRef(() => AutoCompleteComponent),
|
|
4169
4179
|
multi: true
|
|
4170
4180
|
}
|
|
4171
|
-
])], ngContentSelectors: _c2
|
|
4181
|
+
])], ngContentSelectors: _c2, decls: 6, vars: 25, consts: [["container", ""], ["autocomplete", ""], [3, "ngClass", "ngStyle"], [3, "ngModelChange", "completeMethod", "onSelect", "onUnselect", "onFocus", "onBlur", "onDropdownClick", "ngModel", "suggestions", "placeholder", "field", "dropdown", "multiple", "forceSelection", "minLength", "delay", "disabled", "appendTo", "dropdownMode", "virtualScroll", "virtualScrollItemSize", "emptyMessage", "inputStyle", "inputStyleClass", "dropdownIcon"], ["pTemplate", "item"], ["pTemplate", "selectedItem"], [4, "ngIf"]], template: function AutoCompleteComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4172
4182
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
4173
4183
|
i0.ɵɵprojectionDef(_c1$4);
|
|
4174
4184
|
i0.ɵɵelementStart(0, "span", 2, 0)(2, "p-autoComplete", 3, 1);
|
|
@@ -4178,10 +4188,10 @@ class AutoCompleteComponent {
|
|
|
4178
4188
|
i0.ɵɵelementEnd()();
|
|
4179
4189
|
} if (rf & 2) {
|
|
4180
4190
|
i0.ɵɵclassMap(ctx.styleClass);
|
|
4181
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(
|
|
4191
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(22, _c3$2, ctx.dropdown, ctx.multiple))("ngStyle", ctx.style);
|
|
4182
4192
|
i0.ɵɵadvance(2);
|
|
4183
4193
|
i0.ɵɵtwoWayProperty("ngModel", ctx.value);
|
|
4184
|
-
i0.ɵɵproperty("suggestions", ctx.suggestions)("placeholder", ctx.placeholder)("field", ctx.field)("dropdown", ctx.dropdown)("multiple", ctx.multiple)("forceSelection", ctx.forceSelection)("minLength", ctx.minLength)("delay", ctx.delay)("disabled", ctx.disabled)("appendTo", ctx.appendTo)("dropdownMode", ctx.dropdownMode)("virtualScroll", ctx.virtualScroll)("virtualScrollItemSize", ctx.virtualScrollItemSize)("emptyMessage", ctx.emptyMessage);
|
|
4194
|
+
i0.ɵɵproperty("suggestions", ctx.suggestions)("placeholder", ctx.placeholder)("field", ctx.field)("dropdown", ctx.dropdown)("multiple", ctx.multiple)("forceSelection", ctx.forceSelection)("minLength", ctx.minLength)("delay", ctx.delay)("disabled", ctx.disabled)("appendTo", ctx.appendTo)("dropdownMode", ctx.dropdownMode)("virtualScroll", ctx.virtualScroll)("virtualScrollItemSize", ctx.virtualScrollItemSize)("emptyMessage", ctx.emptyMessage)("inputStyle", ctx.inputStyle)("inputStyleClass", ctx.inputStyleClass)("dropdownIcon", ctx.dropdownIcon);
|
|
4185
4195
|
} }, dependencies: [i1$2.NgClass, i1$2.NgIf, i1$2.NgStyle, i2$1.NgControlStatus, i2$1.NgModel, i3.AutoComplete, i2.PrimeTemplate], encapsulation: 2 }); }
|
|
4186
4196
|
}
|
|
4187
4197
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AutoCompleteComponent, [{
|
|
@@ -4192,7 +4202,7 @@ class AutoCompleteComponent {
|
|
|
4192
4202
|
useExisting: forwardRef(() => AutoCompleteComponent),
|
|
4193
4203
|
multi: true
|
|
4194
4204
|
}
|
|
4195
|
-
], template: "<span #container [ngClass]=\"{ 'p-autocomplete p-component': true, 'p-autocomplete-dd': dropdown, 'p-autocomplete-multiple': multiple }\" [ngStyle]=\"style\" [class]=\"styleClass\">\r\n <p-autoComplete\r\n #autocomplete\r\n\r\n [(ngModel)]=\"value\"\r\n\r\n [suggestions]=\"suggestions\"\r\n [placeholder]=\"placeholder\"\r\n [field]=\"field\"\r\n [dropdown]=\"dropdown\"\r\n [multiple]=\"multiple\"\r\n [forceSelection]=\"forceSelection\"\r\n [minLength]=\"minLength\"\r\n [delay]=\"delay\"\r\n [disabled]=\"disabled\"\r\n [appendTo]=\"appendTo\"\r\n [dropdownMode]=\"dropdownMode\"\r\n [virtualScroll]=\"virtualScroll\"\r\n [virtualScrollItemSize]=\"virtualScrollItemSize\"\r\n [emptyMessage]=\"emptyMessage\"\r\n\r\n (completeMethod)=\"handleComplete($event)\"\r\n (onSelect)=\"handleSelect($event)\"\r\n (onUnselect)=\"handleUnselect($event)\"\r\n (onFocus)=\"onFocus.emit($event)\"\r\n (onBlur)=\"handleBlur($event)\"\r\n (onDropdownClick)=\"onDropdownClick.emit($event)\"\r\n >\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 <ng-template\r\n pTemplate=\"selectedItem\"\r\n let-item\r\n >\r\n\r\n <ng-content\r\n select=\"[selectedItemTemplate]\"\r\n ></ng-content>\r\n\r\n <span *ngIf=\"!selectedItemTemplate\">\r\n {{ item?.[optionLabel] }}\r\n </span>\r\n\r\n </ng-template>\r\n\r\n</p-autoComplete>\r\n" }]
|
|
4205
|
+
], template: "<span #container [ngClass]=\"{ 'p-autocomplete p-component': true, 'p-autocomplete-dd': dropdown, 'p-autocomplete-multiple': multiple }\" [ngStyle]=\"style\" [class]=\"styleClass\">\r\n <p-autoComplete\r\n #autocomplete\r\n\r\n [(ngModel)]=\"value\"\r\n\r\n [suggestions]=\"suggestions\"\r\n [placeholder]=\"placeholder\"\r\n [field]=\"field\"\r\n [dropdown]=\"dropdown\"\r\n [multiple]=\"multiple\"\r\n [forceSelection]=\"forceSelection\"\r\n [minLength]=\"minLength\"\r\n [delay]=\"delay\"\r\n [disabled]=\"disabled\"\r\n [appendTo]=\"appendTo\"\r\n [dropdownMode]=\"dropdownMode\"\r\n [virtualScroll]=\"virtualScroll\"\r\n [virtualScrollItemSize]=\"virtualScrollItemSize\"\r\n [emptyMessage]=\"emptyMessage\"\r\n [inputStyle]=\"inputStyle\"\r\n [inputStyleClass]=\"inputStyleClass\"\r\n [dropdownIcon]=\"dropdownIcon\"\r\n\r\n (completeMethod)=\"handleComplete($event)\"\r\n (onSelect)=\"handleSelect($event)\"\r\n (onUnselect)=\"handleUnselect($event)\"\r\n (onFocus)=\"onFocus.emit($event)\"\r\n (onBlur)=\"handleBlur($event)\"\r\n (onDropdownClick)=\"onDropdownClick.emit($event)\"\r\n >\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 <ng-template\r\n pTemplate=\"selectedItem\"\r\n let-item\r\n >\r\n\r\n <ng-content\r\n select=\"[selectedItemTemplate]\"\r\n ></ng-content>\r\n\r\n <span *ngIf=\"!selectedItemTemplate\">\r\n {{ item?.[optionLabel] }}\r\n </span>\r\n\r\n </ng-template>\r\n\r\n</p-autoComplete>\r\n" }]
|
|
4196
4206
|
}], null, { autocomplete: [{
|
|
4197
4207
|
type: ViewChild,
|
|
4198
4208
|
args: ['autocomplete']
|
|
@@ -4230,6 +4240,16 @@ class AutoCompleteComponent {
|
|
|
4230
4240
|
type: Input
|
|
4231
4241
|
}], styleClass: [{
|
|
4232
4242
|
type: Input
|
|
4243
|
+
}], inputStyle: [{
|
|
4244
|
+
type: Input
|
|
4245
|
+
}], inputStyleClass: [{
|
|
4246
|
+
type: Input
|
|
4247
|
+
}], size: [{
|
|
4248
|
+
type: Input
|
|
4249
|
+
}], immutable: [{
|
|
4250
|
+
type: Input
|
|
4251
|
+
}], dropdownIcon: [{
|
|
4252
|
+
type: Input
|
|
4233
4253
|
}], completeMethod: [{
|
|
4234
4254
|
type: Output
|
|
4235
4255
|
}], onSelect: [{
|
|
@@ -6210,7 +6230,7 @@ class DropdownComponent {
|
|
|
6210
6230
|
this.options = [];
|
|
6211
6231
|
this.placeholder = '';
|
|
6212
6232
|
this.optionLabel = 'label';
|
|
6213
|
-
this.optionValue =
|
|
6233
|
+
this.optionValue = undefined;
|
|
6214
6234
|
this.filter = false;
|
|
6215
6235
|
this.showClear = false;
|
|
6216
6236
|
this.disabled = false;
|