@haiilo/catalyst-angular 10.9.0 → 10.11.0

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.
@@ -222,6 +222,7 @@ let CatCard = class CatCard {
222
222
  this.z = z;
223
223
  c.detach();
224
224
  this.el = r.nativeElement;
225
+ proxyOutputs(this, this.el, ['catLoad']);
225
226
  }
226
227
  };
227
228
  CatCard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatCard, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
@@ -300,11 +301,11 @@ let CatDateInline = class CatDateInline {
300
301
  }
301
302
  };
302
303
  CatDateInline.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDateInline, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
303
- CatDateInline.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatDateInline, selector: "cat-date-inline", inputs: { hint: "hint", max: "max", min: "min", noClear: "noClear", noToday: "noToday", range: "range", value: "value", weeks: "weeks" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
304
+ CatDateInline.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CatDateInline, selector: "cat-date-inline", inputs: { hint: "hint", identifier: "identifier", label: "label", labelHidden: "labelHidden", max: "max", min: "min", noClear: "noClear", noToday: "noToday", range: "range", required: "required", requiredMarker: "requiredMarker", value: "value", weeks: "weeks" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
304
305
  CatDateInline = __decorate([
305
306
  ProxyCmp({
306
- inputs: ['hint', 'max', 'min', 'noClear', 'noToday', 'range', 'value', 'weeks'],
307
- methods: ['select', 'clear', 'resetView']
307
+ inputs: ['hint', 'identifier', 'label', 'labelHidden', 'max', 'min', 'noClear', 'noToday', 'range', 'required', 'requiredMarker', 'value', 'weeks'],
308
+ methods: ['select', 'clear', 'resetView', 'doFocus']
308
309
  })
309
310
  ], CatDateInline);
310
311
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatDateInline, decorators: [{
@@ -314,7 +315,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
314
315
  changeDetection: ChangeDetectionStrategy.OnPush,
315
316
  template: '<ng-content></ng-content>',
316
317
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
317
- inputs: ['hint', 'max', 'min', 'noClear', 'noToday', 'range', 'value', 'weeks'],
318
+ inputs: ['hint', 'identifier', 'label', 'labelHidden', 'max', 'min', 'noClear', 'noToday', 'range', 'required', 'requiredMarker', 'value', 'weeks'],
318
319
  }]
319
320
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
320
321
  let CatDatepicker = class CatDatepicker {
@@ -997,7 +998,9 @@ class DateValueAccessor extends ValueAccessor {
997
998
  return super.handleChangeEvent(this.toDate(value));
998
999
  }
999
1000
  else if (typeof value === 'string') {
1000
- return super.handleChangeEvent(JSON.parse(value).map(this.toDate));
1001
+ const data = JSON.parse(value).map(this.toDate);
1002
+ data[1]?.setHours(23, 59, 59, 999);
1003
+ return super.handleChangeEvent(data);
1001
1004
  }
1002
1005
  super.handleChangeEvent(null);
1003
1006
  }
@@ -1391,6 +1394,8 @@ const CatComponents = [
1391
1394
  CatButtonGroup,
1392
1395
  CatCard,
1393
1396
  CatCheckbox,
1397
+ CatDate,
1398
+ CatDateInline,
1394
1399
  CatDatepicker,
1395
1400
  CatDropdown,
1396
1401
  CatFormGroup,
@@ -1445,7 +1450,7 @@ class CatalystModule {
1445
1450
  }
1446
1451
  }
1447
1452
  CatalystModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatalystModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1448
- CatalystModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: CatalystModule, declarations: [CatAlert, CatAvatar, CatBadge, CatButton, CatButtonGroup, CatCard, CatCheckbox, CatDatepicker, CatDropdown, CatFormGroup, CatIcon, CatInput, CatPagination, CatRadio, CatRadioGroup, CatScrollable, CatSelect, CatSkeleton, CatSpinner, CatTab, CatTabs, CatTextarea, CatToggle, CatTooltip, BooleanValueAccessor,
1453
+ CatalystModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: CatalystModule, declarations: [CatAlert, CatAvatar, CatBadge, CatButton, CatButtonGroup, CatCard, CatCheckbox, CatDate, CatDateInline, CatDatepicker, CatDropdown, CatFormGroup, CatIcon, CatInput, CatPagination, CatRadio, CatRadioGroup, CatScrollable, CatSelect, CatSkeleton, CatSpinner, CatTab, CatTabs, CatTextarea, CatToggle, CatTooltip, BooleanValueAccessor,
1449
1454
  DateValueAccessor,
1450
1455
  RadioValueAccessor,
1451
1456
  SelectValueAccessor,
@@ -1455,7 +1460,7 @@ CatalystModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version:
1455
1460
  ValueAccessorDecorator,
1456
1461
  DatetimeComponent, CatDialogComponent,
1457
1462
  CatDialogHeaderComponent,
1458
- CatDialogActionsComponent], imports: [CommonModule, DialogModule], exports: [CatAlert, CatAvatar, CatBadge, CatButton, CatButtonGroup, CatCard, CatCheckbox, CatDatepicker, CatDropdown, CatFormGroup, CatIcon, CatInput, CatPagination, CatRadio, CatRadioGroup, CatScrollable, CatSelect, CatSkeleton, CatSpinner, CatTab, CatTabs, CatTextarea, CatToggle, CatTooltip, BooleanValueAccessor,
1463
+ CatDialogActionsComponent], imports: [CommonModule, DialogModule], exports: [CatAlert, CatAvatar, CatBadge, CatButton, CatButtonGroup, CatCard, CatCheckbox, CatDate, CatDateInline, CatDatepicker, CatDropdown, CatFormGroup, CatIcon, CatInput, CatPagination, CatRadio, CatRadioGroup, CatScrollable, CatSelect, CatSkeleton, CatSpinner, CatTab, CatTabs, CatTextarea, CatToggle, CatTooltip, BooleanValueAccessor,
1459
1464
  DateValueAccessor,
1460
1465
  RadioValueAccessor,
1461
1466
  SelectValueAccessor,