@colijnit/corecomponents_v12 257.1.26 → 257.1.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/bundles/colijnit-corecomponents_v12.umd.js +3 -1
- package/bundles/colijnit-corecomponents_v12.umd.js.map +1 -1
- package/colijnit-corecomponents_v12.metadata.json +1 -1
- package/esm2015/lib/components/input-number-picker/input-number-picker.component.js +16 -11
- package/fesm2015/colijnit-corecomponents_v12.js +15 -10
- package/fesm2015/colijnit-corecomponents_v12.js.map +1 -1
- package/lib/components/input-number-picker/input-number-picker.component.d.ts +1 -0
- package/lib/components/input-number-picker/style/_layout.scss +14 -1
- package/package.json +1 -1
|
@@ -7945,6 +7945,7 @@
|
|
|
7945
7945
|
_this.ngZoneWrapper = ngZoneWrapper;
|
|
7946
7946
|
_this.elementRef = elementRef;
|
|
7947
7947
|
_this.modelChangeOnEnter = true;
|
|
7948
|
+
_this.showPermanentLabel = false;
|
|
7948
7949
|
_this.minusIcon = exports.CoreComponentsIcon.MinusSimple;
|
|
7949
7950
|
_this.plusIcon = exports.CoreComponentsIcon.PlusSimple;
|
|
7950
7951
|
// Whether to show buttons 'always', 'onFocusOnly', or 'never'
|
|
@@ -8196,7 +8197,7 @@
|
|
|
8196
8197
|
InputNumberPickerComponent.decorators = [
|
|
8197
8198
|
{ type: i0.Component, args: [{
|
|
8198
8199
|
selector: 'co-input-number-picker',
|
|
8199
|
-
template: "\n <div class=\"icon-wrapper\" *ngIf=\"leftIconData\">\n <co-icon class=\"input-number-picker-icon\" [iconData]=\"leftIconData\" (click)=\"iconClick.emit($event)\"></co-icon>\n <div class=\"spacer\"></div>\n </div>\n <div class=\"button-wrapper\">\n <co-button *ngIf=\"showButtons\" class=\"minus-operator\" [class.select]=\"minSelected\" tabindex=\"-1\"\n [disabled]=\"readonly\"\n [iconData]=\"iconCacheService.getIcon(minusIcon)\"\n (mousedown)=\"onMinusMouseDown($event)\"\n (mouseup)=\"stopAutoCounting()\" (mouseleave)=\"stopAutoCounting()\"></co-button>\n </div>\n <input type=\"text\"\n
|
|
8200
|
+
template: "\n <div class=\"icon-wrapper\" *ngIf=\"leftIconData\">\n <co-icon class=\"input-number-picker-icon\" [iconData]=\"leftIconData\" (click)=\"iconClick.emit($event)\"></co-icon>\n <div class=\"spacer\"></div>\n </div>\n <div class=\"button-wrapper\">\n <co-button *ngIf=\"showButtons\" class=\"minus-operator\" [class.select]=\"minSelected\" tabindex=\"-1\"\n [disabled]=\"readonly\"\n [iconData]=\"iconCacheService.getIcon(minusIcon)\"\n (mousedown)=\"onMinusMouseDown($event)\"\n (mouseup)=\"stopAutoCounting()\" (mouseleave)=\"stopAutoCounting()\"></co-button>\n </div>\n <div class=\"input-wrapper\">\n <span class='permanent-label' [textContent]=\"label\" *ngIf=\"showPermanentLabel\"></span>\n <input type=\"text\"\n [tabIndex]=\"readonly ? -1 : 0\"\n [ngModel]=\"model\"\n [readonly]=\"readonly\"\n [disabled]=\"disabled\"\n [required]=\"required\"\n [placeholder]=\"label\"\n (ngModelChange)=\"handleChangeModel($event)\"\n (keydown)=\"handleInputKeyDown($event)\"\n (blur)=\"handleBlur()\"/>\n </div>\n <div class=\"button-wrapper\">\n <co-button *ngIf=\"showButtons\" class=\"plus-operator\" [class.select]=\"plusSelected\" tabindex=\"-1\"\n [disabled]=\"readonly\"\n [iconData]=\"iconCacheService.getIcon(plusIcon)\"\n (mousedown)=\"onPlusMouseDown($event)\"\n (mouseup)=\"stopAutoCounting()\" (mouseleave)=\"stopAutoCounting()\"></co-button>\n </div>\n ",
|
|
8200
8201
|
providers: [
|
|
8201
8202
|
OverlayService, {
|
|
8202
8203
|
provide: SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME, useExisting: i0.forwardRef(function () { return InputNumberPickerComponent; })
|
|
@@ -8223,6 +8224,7 @@
|
|
|
8223
8224
|
InputNumberPickerComponent.propDecorators = {
|
|
8224
8225
|
model: [{ type: i0.Input }],
|
|
8225
8226
|
modelChangeOnEnter: [{ type: i0.Input }],
|
|
8227
|
+
showPermanentLabel: [{ type: i0.Input }],
|
|
8226
8228
|
leftIconData: [{ type: i0.HostBinding, args: ['class.has-icon',] }, { type: i0.Input }],
|
|
8227
8229
|
min: [{ type: i0.Input }],
|
|
8228
8230
|
step: [{ type: i0.Input }],
|