@colijnit/corecomponents_v12 12.0.48 → 12.0.49
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/bundles/colijnit-corecomponents_v12.umd.js +15 -9
- package/bundles/colijnit-corecomponents_v12.umd.js.map +1 -1
- package/colijnit-corecomponents_v12.metadata.json +1 -1
- package/esm2015/lib/components/base/base-input.component.js +2 -2
- package/esm2015/lib/components/input-date-range-picker/input-date-range-picker.component.js +2 -1
- package/esm2015/lib/components/input-search/input-search.component.js +15 -7
- package/esm2015/lib/components/input-text/input-text.component.js +2 -2
- package/fesm2015/colijnit-corecomponents_v12.js +16 -9
- package/fesm2015/colijnit-corecomponents_v12.js.map +1 -1
- package/lib/components/input-search/input-search.component.d.ts +2 -2
- package/lib/components/input-text/style/_layout.scss +5 -2
- package/package.json +1 -1
|
@@ -4900,7 +4900,7 @@
|
|
|
4900
4900
|
break;
|
|
4901
4901
|
}
|
|
4902
4902
|
else if (node.children.length > 0) {
|
|
4903
|
-
this._findInputNode(node.children);
|
|
4903
|
+
return this._findInputNode(node.children);
|
|
4904
4904
|
}
|
|
4905
4905
|
}
|
|
4906
4906
|
};
|
|
@@ -6434,7 +6434,7 @@
|
|
|
6434
6434
|
InputDateRangePickerComponent.decorators = [
|
|
6435
6435
|
{ type: core.Component, args: [{
|
|
6436
6436
|
selector: "co-input-date-range",
|
|
6437
|
-
template: "\n <ejs-daterangepicker\n [format]=\"dateFormat\"\n [placeholder]=\"placeholder\"\n [ngModel]=\"model\"\n (ngModelChange)=\"rangeChange()\"\n (close)=\"close.next($event)\"\n (select)=\"select.next($event)\"\n (cleared)=\"cleared.next($event)\"\n [(startDate)]=\"startDate\"\n [(endDate)]=\"endDate\"\n ></ejs-daterangepicker>\n <div class=\"required-indicator\"></div>\n <ng-template #validationError></ng-template>\n ",
|
|
6437
|
+
template: "\n <ejs-daterangepicker\n floatLabelType=\"Auto\"\n [format]=\"dateFormat\"\n [placeholder]=\"placeholder\"\n [ngModel]=\"model\"\n (ngModelChange)=\"rangeChange()\"\n (close)=\"close.next($event)\"\n (select)=\"select.next($event)\"\n (cleared)=\"cleared.next($event)\"\n [(startDate)]=\"startDate\"\n [(endDate)]=\"endDate\"\n ></ejs-daterangepicker>\n <div class=\"required-indicator\"></div>\n <ng-template #validationError></ng-template>\n ",
|
|
6438
6438
|
encapsulation: core.ViewEncapsulation.None
|
|
6439
6439
|
},] }
|
|
6440
6440
|
];
|
|
@@ -7265,7 +7265,7 @@
|
|
|
7265
7265
|
InputTextComponent.decorators = [
|
|
7266
7266
|
{ type: core.Component, args: [{
|
|
7267
7267
|
selector: "co-input-text",
|
|
7268
|
-
template: "\n <label *ngIf=\"showPlaceholderOnFocus || (!showPlaceholderOnFocus && !hasValue && !focused)\" [textContent]=\"placeholder\"></label>\n <co-icon *ngIf=\"leftIcon\" class=\"input-text-left-icon\" [icon]=\"leftIcon\"></co-icon>\n <input #input\n [type]=\"type\"\n [ngModel]=\"model\"\n [min]=\"type === 'number' && this.min ? this.min : undefined\"\n [max]=\"type === 'number' && this.max ? this.max : undefined\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n (ngModelChange)=\"modelChange.emit($event)\"\n >\n <co-
|
|
7268
|
+
template: "\n <label *ngIf=\"showPlaceholderOnFocus || (!showPlaceholderOnFocus && !hasValue && !focused)\" [textContent]=\"placeholder\"></label>\n <co-icon *ngIf=\"leftIcon\" class=\"input-text-left-icon\" [icon]=\"leftIcon\"></co-icon>\n <co-icon *ngIf=\"rightIcon\" class=\"input-text-right-icon\" [icon]=\"rightIcon\"></co-icon>\n <input #input\n [type]=\"type\"\n [ngModel]=\"model\"\n [min]=\"type === 'number' && this.min ? this.min : undefined\"\n [max]=\"type === 'number' && this.max ? this.max : undefined\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n (ngModelChange)=\"modelChange.emit($event)\"\n >\n <co-commit-buttons *ngIf=\"showSaveCancel && focused && canSaveOrCancel\"\n [committing]=\"committing\"\n [commitFinished]=\"commitFinished\"\n (commitClick)=\"commitClick($event)\"\n (cancelClick)=\"cancelClick($event)\"\n >\n </co-commit-buttons>\n <div class=\"required-indicator\"></div>\n <ng-template #validationError></ng-template>\n ",
|
|
7269
7269
|
providers: [{
|
|
7270
7270
|
provide: COMPONENT_INTERFACE_NAME,
|
|
7271
7271
|
useExisting: core.forwardRef(function () { return InputTextComponent; })
|
|
@@ -7551,9 +7551,9 @@
|
|
|
7551
7551
|
function InputSearchComponent() {
|
|
7552
7552
|
var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
|
|
7553
7553
|
_this.searchIcon = exports.CoreComponentsIcon.Magnifier;
|
|
7554
|
-
_this.iconRight = false;
|
|
7555
|
-
_this.noIcon = false;
|
|
7556
7554
|
_this.search = new core.EventEmitter();
|
|
7555
|
+
_this.useLeftIcon = false;
|
|
7556
|
+
_this.useRightIcon = false;
|
|
7557
7557
|
return _this;
|
|
7558
7558
|
}
|
|
7559
7559
|
InputSearchComponent.prototype.showClass = function () {
|
|
@@ -7572,18 +7572,24 @@
|
|
|
7572
7572
|
InputSearchComponent.decorators = [
|
|
7573
7573
|
{ type: core.Component, args: [{
|
|
7574
7574
|
selector: 'co-input-search',
|
|
7575
|
-
template: "\n <co-input-text\n [model]=\"model\"\n [leftIcon]=\"
|
|
7575
|
+
template: "\n <co-input-text\n [model]=\"model\"\n [leftIcon]=\"useLeftIcon ? searchIcon : null\"\n [rightIcon]=\"useRightIcon ? searchIcon : null\"\n [placeholder]=\"placeholder\"\n [showPlaceholderOnFocus]=\"false\"\n (modelChange)=\"modelChange.emit($event)\"\n ></co-input-text>\n ",
|
|
7576
7576
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
7577
7577
|
encapsulation: core.ViewEncapsulation.None
|
|
7578
7578
|
},] }
|
|
7579
7579
|
];
|
|
7580
7580
|
InputSearchComponent.propDecorators = {
|
|
7581
7581
|
placeholder: [{ type: core.Input }],
|
|
7582
|
-
iconRight: [{ type: core.Input }],
|
|
7583
|
-
noIcon: [{ type: core.HostBinding, args: ['class.no-icon',] }, { type: core.Input }],
|
|
7584
7582
|
search: [{ type: core.Output }],
|
|
7583
|
+
useLeftIcon: [{ type: core.Input }],
|
|
7584
|
+
useRightIcon: [{ type: core.Input }],
|
|
7585
7585
|
showClass: [{ type: core.HostBinding, args: ['class.co-input-search',] }]
|
|
7586
|
-
};
|
|
7586
|
+
};
|
|
7587
|
+
__decorate([
|
|
7588
|
+
InputBoolean()
|
|
7589
|
+
], InputSearchComponent.prototype, "useLeftIcon", void 0);
|
|
7590
|
+
__decorate([
|
|
7591
|
+
InputBoolean()
|
|
7592
|
+
], InputSearchComponent.prototype, "useRightIcon", void 0);
|
|
7587
7593
|
|
|
7588
7594
|
var InputSearchModule = /** @class */ (function () {
|
|
7589
7595
|
function InputSearchModule() {
|