@colijnit/corecomponents_v12 12.1.3 → 12.1.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.
@@ -6180,7 +6180,7 @@
6180
6180
  InputTextComponent.decorators = [
6181
6181
  { type: i0.Component, args: [{
6182
6182
  selector: 'co-input-text',
6183
- template: "\n <div class=\"input-text-wrapper\" overlayParent #parentForOverlay=\"overlayParent\">\n <co-icon *ngIf=\"leftIcon || leftIconData\" class=\"input-text-left-icon\" [icon]=\"leftIcon\" [iconData]=\"leftIconData\"\n (click)=\"handleLeftIconClick($event)\" (mousedown)=\"handleLeftIconMouseDown($event)\"\n (mouseup)=\"handleLeftIconMouseUp($event)\"></co-icon>\n <div *ngIf=\"leftIcon || leftIconData\" class=\"spacer\"></div>\n <div class=\"input-wrapper\">\n <label *ngIf=\"showPlaceholderOnFocus || (!showPlaceholderOnFocus && !hasValue && !focused)\"\n [textContent]=\"placeholder\"></label>\n <input #input\n [ngClass]=\"align\"\n [hidden]=\"useContent\"\n [type]=\"digitsOnly ? 'number' : type\"\n [pattern]=\"type === 'date' ? pattern : undefined\"\n [ngModel]=\"model\"\n [min]=\"(type === 'number' || type === 'date') && this.min ? this.min : undefined\"\n [max]=\"(type === 'number' || type === 'date') && this.max ? this.max : undefined\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n (ngModelChange)=\"modelChange.emit($event)\"\n (keydown)=\"digitsOnly ? excludeNonDigitChars($event) : true\"\n >\n <co-icon [class.show]=\"showClearButton && hasValue && focused && !readonly\" class=\"input-text-clear-button\" [icon]=\"icons.CrossSkinny\" (click)=\"clearInput($event)\"></co-icon>\n <div class=\"required-indicator\"></div>\n </div>\n <div *ngIf=\"rightIcon || rightIconData\" class=\"spacer\"></div>\n <co-icon *ngIf=\"rightIcon || rightIconData\" class=\"input-text-right-icon\" [icon]=\"rightIcon\" [iconData]=\"rightIconData\"\n (click)=\"handleRightIconClick($event)\" (mousedown)=\"handleRightIconMouseDown($event)\" (mouseup)=\"handleRightIconMouseUp($event)\"></co-icon>\n </div>\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 -->\n ",
6183
+ template: "\n <div class=\"input-text-wrapper\" overlayParent #parentForOverlay=\"overlayParent\">\n <co-icon *ngIf=\"leftIcon || leftIconData\" class=\"input-text-left-icon\" [icon]=\"leftIcon\" [iconData]=\"leftIconData\"\n (click)=\"handleLeftIconClick($event)\" (mousedown)=\"handleLeftIconMouseDown($event)\"\n (mouseup)=\"handleLeftIconMouseUp($event)\"></co-icon>\n <div *ngIf=\"leftIcon || leftIconData\" class=\"spacer left-icon\"></div>\n <div class=\"input-wrapper\">\n <label *ngIf=\"showPlaceholderOnFocus || (!showPlaceholderOnFocus && !hasValue && !focused)\"\n [textContent]=\"placeholder\"></label>\n <input #input\n [ngClass]=\"align\"\n [hidden]=\"useContent\"\n [type]=\"digitsOnly ? 'number' : type\"\n [pattern]=\"type === 'date' ? pattern : undefined\"\n [ngModel]=\"model\"\n [min]=\"(type === 'number' || type === 'date') && this.min ? this.min : undefined\"\n [max]=\"(type === 'number' || type === 'date') && this.max ? this.max : undefined\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n (ngModelChange)=\"modelChange.emit($event)\"\n (keydown)=\"digitsOnly ? excludeNonDigitChars($event) : true\"\n >\n <co-icon [class.show]=\"showClearButton && hasValue && focused && !readonly\" class=\"input-text-clear-button\" [icon]=\"icons.CrossSkinny\" (click)=\"clearInput($event)\"></co-icon>\n <div class=\"required-indicator\"></div>\n </div>\n <div *ngIf=\"rightIcon || rightIconData\" class=\"spacer right-icon\"></div>\n <co-icon *ngIf=\"rightIcon || rightIconData\" class=\"input-text-right-icon\" [icon]=\"rightIcon\" [iconData]=\"rightIconData\"\n (click)=\"handleRightIconClick($event)\" (mousedown)=\"handleRightIconMouseDown($event)\" (mouseup)=\"handleRightIconMouseUp($event)\"></co-icon>\n </div>\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 -->\n ",
6184
6184
  providers: [
6185
6185
  OverlayService, {
6186
6186
  provide: SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME,
@@ -11350,6 +11350,45 @@
11350
11350
  },] }
11351
11351
  ];
11352
11352
 
11353
+ var ResponsiveTextComponent = /** @class */ (function () {
11354
+ function ResponsiveTextComponent() {
11355
+ }
11356
+ ResponsiveTextComponent.prototype.showClass = function () {
11357
+ return true;
11358
+ };
11359
+ return ResponsiveTextComponent;
11360
+ }());
11361
+ ResponsiveTextComponent.decorators = [
11362
+ { type: i0.Component, args: [{
11363
+ selector: 'co-responsive-text',
11364
+ template: "\n <svg viewBox=\"0 0 100 100\">\n <foreignObject height=\"100%\" width=\"100%\">\n <div class=\"text\" [textContent]=\"text\"></div>\n </foreignObject> \n </svg>\n ",
11365
+ encapsulation: i0.ViewEncapsulation.None
11366
+ },] }
11367
+ ];
11368
+ ResponsiveTextComponent.propDecorators = {
11369
+ text: [{ type: i0.Input }],
11370
+ showClass: [{ type: i0.HostBinding, args: ['class.co-responsive-text',] }]
11371
+ };
11372
+
11373
+ var ResponsiveTextModule = /** @class */ (function () {
11374
+ function ResponsiveTextModule() {
11375
+ }
11376
+ return ResponsiveTextModule;
11377
+ }());
11378
+ ResponsiveTextModule.decorators = [
11379
+ { type: i0.NgModule, args: [{
11380
+ imports: [
11381
+ common.CommonModule
11382
+ ],
11383
+ declarations: [
11384
+ ResponsiveTextComponent
11385
+ ],
11386
+ exports: [
11387
+ ResponsiveTextComponent
11388
+ ]
11389
+ },] }
11390
+ ];
11391
+
11353
11392
  var FilterPipe = /** @class */ (function () {
11354
11393
  function FilterPipe() {
11355
11394
  }
@@ -12216,6 +12255,8 @@
12216
12255
  exports.PriceDisplayPipe = PriceDisplayPipe;
12217
12256
  exports.PriceDisplayPipeModule = PriceDisplayPipeModule;
12218
12257
  exports.PromptService = PromptService;
12258
+ exports.ResponsiveTextComponent = ResponsiveTextComponent;
12259
+ exports.ResponsiveTextModule = ResponsiveTextModule;
12219
12260
  exports.SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME = SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME;
12220
12261
  exports.ScreenConfigurationModule = ScreenConfigurationModule;
12221
12262
  exports.SimpleGridColumnDirective = SimpleGridColumnDirective;