@inspark/inspark-components 1.0.25 → 1.0.27
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/bundles/inspark-inspark-components.umd.js +5 -4
- package/full/bundles/inspark-inspark-components.umd.js.map +1 -1
- package/full/bundles/inspark-inspark-components.umd.min.js +1 -1
- package/full/bundles/inspark-inspark-components.umd.min.js.map +1 -1
- package/full/esm2015/components/input-text/input-text.component.js +6 -5
- package/full/esm5/components/input-text/input-text.component.js +6 -5
- package/full/fesm2015/inspark-inspark-components.js +5 -4
- package/full/fesm2015/inspark-inspark-components.js.map +1 -1
- package/full/fesm5/inspark-inspark-components.js +5 -4
- package/full/fesm5/inspark-inspark-components.js.map +1 -1
- package/full/index.css +1 -1
- package/full/inspark-inspark-components.metadata.json +1 -1
- package/full/package.json +2 -2
- package/interface/package.json +2 -2
- package/package.json +1 -1
|
@@ -892,17 +892,18 @@
|
|
|
892
892
|
this.size = 100000;
|
|
893
893
|
this.maxlength = 100000;
|
|
894
894
|
this.width = '';
|
|
895
|
-
this.display =
|
|
895
|
+
this.display = true;
|
|
896
896
|
this.large = true;
|
|
897
897
|
this.small = false;
|
|
898
898
|
this.widget = false;
|
|
899
|
-
this.forms =
|
|
899
|
+
this.forms = false;
|
|
900
900
|
this.placeholder = '';
|
|
901
901
|
this.id = null;
|
|
902
902
|
this.testId = null;
|
|
903
903
|
this.opacity = true;
|
|
904
904
|
this.shadow = false;
|
|
905
905
|
this.right = false;
|
|
906
|
+
this.type = 'text';
|
|
906
907
|
this.focus = new core.EventEmitter();
|
|
907
908
|
this.blur = new core.EventEmitter();
|
|
908
909
|
this.onClick = new core.EventEmitter();
|
|
@@ -1032,7 +1033,7 @@
|
|
|
1032
1033
|
], InputTextComponent.prototype, "right", void 0);
|
|
1033
1034
|
__decorate([
|
|
1034
1035
|
core.Input(),
|
|
1035
|
-
__metadata("design:type",
|
|
1036
|
+
__metadata("design:type", Object)
|
|
1036
1037
|
], InputTextComponent.prototype, "type", void 0);
|
|
1037
1038
|
__decorate([
|
|
1038
1039
|
core.Input(),
|
|
@@ -1061,7 +1062,7 @@
|
|
|
1061
1062
|
InputTextComponent = InputTextComponent_1 = __decorate([
|
|
1062
1063
|
core.Component({
|
|
1063
1064
|
selector: 'in-input-text',
|
|
1064
|
-
template: "<label [ngStyle]=\"{width: width}\" class=\"label type_varchars\">\n <span *ngIf=\"label\" class=\"c-label__content\">\n {{label}}\n <span *ngIf=\"required\" class=\"c-label__req\">*</span>\n <span *ngIf=\"error\" class=\"c-label__sub_is-error\">{{error}}</span>\n <span\n *ngIf=\"maxlength && value && value.length && value.length >= maxlength\"\n class=\"constraints-message__warning u-text_uppercase\">\n {{'maxlength: ' | translate}} {{maxlength}}</span>\n </span>\n <form class=\"c-label\">\n <div class=\"input-wrapper u-margin-right-tiny\" [ngClass]=\"{'u-margin-right-tiny': right}\">\n <input (blur)=\"this.blur.emit($event)\"\n (change)=\"onChange($event)\"\n (focus)=\"this.focus.emit($event)\"\n (input)=\"onChange($event)\"\n [(ngModel)]=\"value\"\n [autocomplete]=\"autocomplete? 'on':'off'\"\n [disabled]=\"disabled\"\n [id]=\"id\"\n [maxlength]=\"maxlength\"\n [name]=\"name\"\n [ngClass]=\"{'c-input_opaque' : opacity === false,\n 'c-input_shadowed' : shadow,\n 'c-input_large' : large,\n 'c-input_small' : small,\n 'c-input_margin_padding': widget,\n 'c-input_padding_right': forms}\"\n [ngModelOptions]=\"{standalone: true}\"\n [placeholder]=\"placeholder\"\n [required]=\"required\"\n [size]=\"size\"\n [min]=\"min\"\n [max]=\"max\"\n [step]=\"step\"\n class=\"search-box c-input c-input_large c-input_small field_{{id}}\"\n type=\"
|
|
1065
|
+
template: "<label [ngStyle]=\"{width: width}\" class=\"label type_varchars\">\n <span *ngIf=\"label\" class=\"c-label__content\">\n {{label}}\n <span *ngIf=\"required\" class=\"c-label__req\">*</span>\n <span *ngIf=\"error\" class=\"c-label__sub_is-error\">{{error}}</span>\n <span\n *ngIf=\"maxlength && value && value.length && value.length >= maxlength\"\n class=\"constraints-message__warning u-text_uppercase\">\n {{'maxlength: ' | translate}} {{maxlength}}</span>\n </span>\n <form class=\"c-label\">\n <div class=\"input-wrapper u-margin-right-tiny\" [ngClass]=\"{'u-margin-right-tiny': right}\">\n <input (blur)=\"this.blur.emit($event)\"\n (change)=\"onChange($event)\"\n (focus)=\"this.focus.emit($event)\"\n (input)=\"onChange($event)\"\n [(ngModel)]=\"value\"\n [autocomplete]=\"autocomplete? 'on':'off'\"\n [disabled]=\"disabled\"\n [id]=\"id\"\n [maxlength]=\"maxlength\"\n [name]=\"name\"\n [ngClass]=\"{'c-input_opaque' : opacity === false,\n 'c-input_shadowed' : shadow,\n 'c-input_large' : large,\n 'c-input_small' : small,\n 'c-input_margin_padding': widget,\n 'c-input_padding_right': forms}\"\n [ngModelOptions]=\"{standalone: true}\"\n [placeholder]=\"placeholder\"\n [required]=\"required\"\n [size]=\"size\"\n [min]=\"min\"\n [max]=\"max\"\n [step]=\"step\"\n class=\"search-box c-input c-input_large c-input_small field_{{id}}\"\n [type]=\"type\"\n autofocus=\"\"\n tabindex=\"1\">\n <button (click)=\"clear()\"\n class=\"button-reset empty\"\n [ngClass]=\"{empty: display}\"\n type=\"reset\"\n [attr.title]=\"'Reset' | translate\">\n <i class=\"fa fa-close\"></i>\n </button>\n </div>\n </form>\n</label>\n",
|
|
1065
1066
|
providers: [
|
|
1066
1067
|
{
|
|
1067
1068
|
provide: forms.NG_VALUE_ACCESSOR,
|