@pumpkin-tech/pumpkin-tech-ng 0.2.52 → 0.2.53
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/index.d.ts
CHANGED
|
@@ -1483,17 +1483,12 @@ declare class ExpansionPanelComponent {
|
|
|
1483
1483
|
}
|
|
1484
1484
|
|
|
1485
1485
|
type PtechAutocompleteDataSource<T> = (term: string) => Observable<T[]> | Promise<T[]> | T[];
|
|
1486
|
-
declare class PtechAutocompleteComponent<T = any> implements ControlValueAccessor, OnChanges, OnDestroy {
|
|
1486
|
+
declare class PtechAutocompleteComponent<T = any> extends BaseField implements ControlValueAccessor, OnChanges, OnDestroy {
|
|
1487
|
+
constructor(el: ElementRef<HTMLElement>);
|
|
1487
1488
|
searchInput?: ElementRef<HTMLInputElement>;
|
|
1488
1489
|
optionTemplate?: TemplateRef<any>;
|
|
1489
|
-
label: string;
|
|
1490
|
-
placeholder: string;
|
|
1491
|
-
required: boolean;
|
|
1492
|
-
disabled: boolean;
|
|
1493
|
-
readonly: boolean;
|
|
1494
1490
|
multiple: boolean;
|
|
1495
1491
|
clearable: boolean;
|
|
1496
|
-
appearance: MatFormFieldAppearance;
|
|
1497
1492
|
property: string;
|
|
1498
1493
|
propertyEnum?: Record<string, string>;
|
|
1499
1494
|
propertyFn?: (value: T) => string;
|
|
@@ -1506,7 +1501,6 @@ declare class PtechAutocompleteComponent<T = any> implements ControlValueAccesso
|
|
|
1506
1501
|
clearLabel: string;
|
|
1507
1502
|
datasource?: PtechAutocompleteDataSource<T>;
|
|
1508
1503
|
entities: T[];
|
|
1509
|
-
loading: boolean;
|
|
1510
1504
|
search: EventEmitter<string>;
|
|
1511
1505
|
selectionChange: EventEmitter<T | T[] | null>;
|
|
1512
1506
|
loadingChange: EventEmitter<boolean>;
|
|
@@ -1541,7 +1535,7 @@ declare class PtechAutocompleteComponent<T = any> implements ControlValueAccesso
|
|
|
1541
1535
|
private escapeHtml;
|
|
1542
1536
|
private escapeRegExp;
|
|
1543
1537
|
static ɵfac: i0.ɵɵFactoryDeclaration<PtechAutocompleteComponent<any>, never>;
|
|
1544
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PtechAutocompleteComponent<any>, "ptech-autocomplete", never, { "
|
|
1538
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PtechAutocompleteComponent<any>, "ptech-autocomplete", never, { "multiple": { "alias": "multiple"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "property": { "alias": "property"; "required": false; }; "propertyEnum": { "alias": "propertyEnum"; "required": false; }; "propertyFn": { "alias": "propertyFn"; "required": false; }; "displayWith": { "alias": "displayWith"; "required": false; }; "idProperty": { "alias": "idProperty"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; "debounce": { "alias": "debounce"; "required": false; }; "emptyText": { "alias": "emptyText"; "required": false; }; "loadingText": { "alias": "loadingText"; "required": false; }; "clearLabel": { "alias": "clearLabel"; "required": false; }; "datasource": { "alias": "datasource"; "required": false; }; "entities": { "alias": "entities"; "required": false; }; }, { "search": "search"; "selectionChange": "selectionChange"; "loadingChange": "loadingChange"; }, ["optionTemplate"], never, true, never>;
|
|
1545
1539
|
}
|
|
1546
1540
|
|
|
1547
1541
|
interface PtechFileItem {
|