@open-rlb/ng-bootstrap 2.4.3 → 2.4.4
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.
|
@@ -8909,6 +8909,7 @@ class AutocompleteComponent extends AbstractComponent {
|
|
|
8909
8909
|
this.menuMaxWidth = 400;
|
|
8910
8910
|
this.userDefinedId = '';
|
|
8911
8911
|
this.enableValidation = false;
|
|
8912
|
+
this.inputAutocomplete = 'one-time-code';
|
|
8912
8913
|
this.selected = new EventEmitter();
|
|
8913
8914
|
}
|
|
8914
8915
|
update(ev) {
|
|
@@ -9043,7 +9044,7 @@ class AutocompleteComponent extends AbstractComponent {
|
|
|
9043
9044
|
}
|
|
9044
9045
|
}
|
|
9045
9046
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AutocompleteComponent, deps: [{ token: UniqueIdService }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i2$2.NgControl, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9046
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.16", type: AutocompleteComponent, isStandalone: false, selector: "rlb-autocomplete", inputs: { disabled: ["disabled", "disabled", booleanAttribute], readonly: ["readonly", "readonly", booleanAttribute], loading: ["loading", "loading", booleanAttribute], maxHeight: ["max-height", "maxHeight", numberAttribute], placeholder: "placeholder", autocomplete: "autocomplete", type: "type", size: "size", charsToSearch: ["chars-to-search", "charsToSearch", numberAttribute], menuMaxWidth: ["menu-max-width", "menuMaxWidth", numberAttribute], userDefinedId: ["id", "userDefinedId", (v) => v || ''], enableValidation: ["enable-validation", "enableValidation", booleanAttribute] }, outputs: { selected: "selected" }, host: { listeners: { "document:pointerdown": "onDocumentPointerDown($event)", "document:keydown.escape": "onEscape($event)" }, styleAttribute: "position: relative;" }, viewQueries: [{ propertyName: "el", first: true, predicate: ["field"], descendants: true }, { propertyName: "dropdown", first: true, predicate: ["autocomplete"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
9047
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.16", type: AutocompleteComponent, isStandalone: false, selector: "rlb-autocomplete", inputs: { disabled: ["disabled", "disabled", booleanAttribute], readonly: ["readonly", "readonly", booleanAttribute], loading: ["loading", "loading", booleanAttribute], maxHeight: ["max-height", "maxHeight", numberAttribute], placeholder: "placeholder", autocomplete: "autocomplete", type: "type", size: "size", charsToSearch: ["chars-to-search", "charsToSearch", numberAttribute], menuMaxWidth: ["menu-max-width", "menuMaxWidth", numberAttribute], userDefinedId: ["id", "userDefinedId", (v) => v || ''], enableValidation: ["enable-validation", "enableValidation", booleanAttribute], inputAutocomplete: "inputAutocomplete" }, outputs: { selected: "selected" }, host: { listeners: { "document:pointerdown": "onDocumentPointerDown($event)", "document:keydown.escape": "onEscape($event)" }, styleAttribute: "position: relative;" }, viewQueries: [{ propertyName: "el", first: true, predicate: ["field"], descendants: true }, { propertyName: "dropdown", first: true, predicate: ["autocomplete"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
9047
9048
|
<ng-content select="[before]"></ng-content>
|
|
9048
9049
|
<div class="input-group has-validation">
|
|
9049
9050
|
<input
|
|
@@ -9051,6 +9052,7 @@ class AutocompleteComponent extends AbstractComponent {
|
|
|
9051
9052
|
[id]="id"
|
|
9052
9053
|
class="form-control"
|
|
9053
9054
|
[type]="type"
|
|
9055
|
+
[attr.autocomplete]="inputAutocomplete"
|
|
9054
9056
|
[attr.disabled]="disabled ? true : undefined"
|
|
9055
9057
|
[attr.readonly]="readonly ? true : undefined"
|
|
9056
9058
|
[attr.placeholder]="placeholder"
|
|
@@ -9097,6 +9099,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
9097
9099
|
[id]="id"
|
|
9098
9100
|
class="form-control"
|
|
9099
9101
|
[type]="type"
|
|
9102
|
+
[attr.autocomplete]="inputAutocomplete"
|
|
9100
9103
|
[attr.disabled]="disabled ? true : undefined"
|
|
9101
9104
|
[attr.readonly]="readonly ? true : undefined"
|
|
9102
9105
|
[attr.placeholder]="placeholder"
|
|
@@ -9174,6 +9177,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
9174
9177
|
}], enableValidation: [{
|
|
9175
9178
|
type: Input,
|
|
9176
9179
|
args: [{ transform: booleanAttribute, alias: 'enable-validation' }]
|
|
9180
|
+
}], inputAutocomplete: [{
|
|
9181
|
+
type: Input
|
|
9177
9182
|
}], el: [{
|
|
9178
9183
|
type: ViewChild,
|
|
9179
9184
|
args: ['field']
|