@heartlandone/vega-angular 2.79.0 → 2.81.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.
@@ -22,7 +22,8 @@ class ValueAccessor {
22
22
  }
23
23
  handleChangeEvent(value, semantics) {
24
24
  if (VegaEventManager.getSemantics(this.el.nativeElement).namespace === semantics) {
25
- if (value !== this.lastValue) {
25
+ const isNumberCompare = typeof value === 'number' || typeof this.lastValue === 'number';
26
+ if (isNumberCompare ? String(value) !== String(this.lastValue) : value !== this.lastValue) {
26
27
  this.lastValue = value;
27
28
  this.onChange(value);
28
29
  }
@@ -375,11 +376,11 @@ let VegaBreadcrumb = class VegaBreadcrumb {
375
376
  }
376
377
  };
377
378
  VegaBreadcrumb.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: VegaBreadcrumb, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
378
- VegaBreadcrumb.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: VegaBreadcrumb, selector: "vega-breadcrumb", inputs: { compactOnMobile: "compactOnMobile", items: "items", maxItems: "maxItems" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
379
+ VegaBreadcrumb.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: VegaBreadcrumb, selector: "vega-breadcrumb", inputs: { compactOnMobile: "compactOnMobile", items: "items", lastItemClickable: "lastItemClickable", maxItems: "maxItems" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
379
380
  VegaBreadcrumb = __decorate([
380
381
  ProxyCmp({
381
382
  defineCustomElementFn: undefined,
382
- inputs: ['compactOnMobile', 'items', 'maxItems']
383
+ inputs: ['compactOnMobile', 'items', 'lastItemClickable', 'maxItems']
383
384
  })
384
385
  ], VegaBreadcrumb);
385
386
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: VegaBreadcrumb, decorators: [{
@@ -388,7 +389,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImpor
388
389
  selector: 'vega-breadcrumb',
389
390
  changeDetection: ChangeDetectionStrategy.OnPush,
390
391
  template: '<ng-content></ng-content>',
391
- inputs: ['compactOnMobile', 'items', 'maxItems']
392
+ inputs: ['compactOnMobile', 'items', 'lastItemClickable', 'maxItems']
392
393
  }]
393
394
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
394
395
  let VegaButton = class VegaButton {
@@ -720,11 +721,11 @@ let VegaChip = class VegaChip {
720
721
  }
721
722
  };
722
723
  VegaChip.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: VegaChip, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
723
- VegaChip.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: VegaChip, selector: "vega-chip", inputs: { bgColor: "bgColor", chipType: "chipType", clickable: "clickable", icon: "icon", iconAlign: "iconAlign", showCloseIcon: "showCloseIcon", size: "size", statusColor: "statusColor", text: "text", textColor: "textColor", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
724
+ VegaChip.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: VegaChip, selector: "vega-chip", inputs: { bgColor: "bgColor", chipType: "chipType", clickable: "clickable", icon: "icon", iconAlign: "iconAlign", iconColor: "iconColor", showCloseIcon: "showCloseIcon", size: "size", statusColor: "statusColor", text: "text", textColor: "textColor", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
724
725
  VegaChip = __decorate([
725
726
  ProxyCmp({
726
727
  defineCustomElementFn: undefined,
727
- inputs: ['bgColor', 'chipType', 'clickable', 'icon', 'iconAlign', 'showCloseIcon', 'size', 'statusColor', 'text', 'textColor', 'variant']
728
+ inputs: ['bgColor', 'chipType', 'clickable', 'icon', 'iconAlign', 'iconColor', 'showCloseIcon', 'size', 'statusColor', 'text', 'textColor', 'variant']
728
729
  })
729
730
  ], VegaChip);
730
731
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: VegaChip, decorators: [{
@@ -733,7 +734,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImpor
733
734
  selector: 'vega-chip',
734
735
  changeDetection: ChangeDetectionStrategy.OnPush,
735
736
  template: '<ng-content></ng-content>',
736
- inputs: ['bgColor', 'chipType', 'clickable', 'icon', 'iconAlign', 'showCloseIcon', 'size', 'statusColor', 'text', 'textColor', 'variant']
737
+ inputs: ['bgColor', 'chipType', 'clickable', 'icon', 'iconAlign', 'iconColor', 'showCloseIcon', 'size', 'statusColor', 'text', 'textColor', 'variant']
737
738
  }]
738
739
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
739
740
  let VegaCodeBlock = class VegaCodeBlock {
@@ -872,11 +873,11 @@ let VegaDatePickerCalendar = class VegaDatePickerCalendar {
872
873
  }
873
874
  };
874
875
  VegaDatePickerCalendar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: VegaDatePickerCalendar, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
875
- VegaDatePickerCalendar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: VegaDatePickerCalendar, selector: "vega-date-picker-calendar", inputs: { clearButton: "clearButton", dateIndicator: "dateIndicator", format: "format", isDateDisabled: "isDateDisabled", maxDate: "maxDate", minDate: "minDate", mode: "mode", selection: "selection", showYearMonthDropdowns: "showYearMonthDropdowns", size: "size", staticHeight: "staticHeight", timezone: "timezone", yearMonthDropdownProps: "yearMonthDropdownProps" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
876
+ VegaDatePickerCalendar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: VegaDatePickerCalendar, selector: "vega-date-picker-calendar", inputs: { clearButton: "clearButton", dateIndicator: "dateIndicator", dualMonths: "dualMonths", format: "format", isDateDisabled: "isDateDisabled", maxDate: "maxDate", minDate: "minDate", mode: "mode", selection: "selection", showYearMonthDropdowns: "showYearMonthDropdowns", size: "size", staticHeight: "staticHeight", timezone: "timezone", yearMonthDropdownProps: "yearMonthDropdownProps" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
876
877
  VegaDatePickerCalendar = __decorate([
877
878
  ProxyCmp({
878
879
  defineCustomElementFn: undefined,
879
- inputs: ['clearButton', 'dateIndicator', 'format', 'isDateDisabled', 'maxDate', 'minDate', 'mode', 'selection', 'showYearMonthDropdowns', 'size', 'staticHeight', 'timezone', 'yearMonthDropdownProps'],
880
+ inputs: ['clearButton', 'dateIndicator', 'dualMonths', 'format', 'isDateDisabled', 'maxDate', 'minDate', 'mode', 'selection', 'showYearMonthDropdowns', 'size', 'staticHeight', 'timezone', 'yearMonthDropdownProps'],
880
881
  methods: ['reset', 'triggerRepick']
881
882
  })
882
883
  ], VegaDatePickerCalendar);
@@ -886,7 +887,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImpor
886
887
  selector: 'vega-date-picker-calendar',
887
888
  changeDetection: ChangeDetectionStrategy.OnPush,
888
889
  template: '<ng-content></ng-content>',
889
- inputs: ['clearButton', 'dateIndicator', 'format', 'isDateDisabled', 'maxDate', 'minDate', 'mode', 'selection', 'showYearMonthDropdowns', 'size', 'staticHeight', 'timezone', 'yearMonthDropdownProps']
890
+ inputs: ['clearButton', 'dateIndicator', 'dualMonths', 'format', 'isDateDisabled', 'maxDate', 'minDate', 'mode', 'selection', 'showYearMonthDropdowns', 'size', 'staticHeight', 'timezone', 'yearMonthDropdownProps']
890
891
  }]
891
892
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
892
893
  let VegaDialog = class VegaDialog {
@@ -1311,11 +1312,11 @@ let VegaInput = class VegaInput {
1311
1312
  }
1312
1313
  };
1313
1314
  VegaInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: VegaInput, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1314
- VegaInput.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: VegaInput, selector: "vega-input", inputs: { autoValidation: "autoValidation", autocomplete: "autocomplete", disableCopyPaste: "disableCopyPaste", disabled: "disabled", email: "email", hint: "hint", inputmode: "inputmode", isValid: "isValid", label: "label", labelSuffixButtonConfig: "labelSuffixButtonConfig", labelSuffixButtonProps: "labelSuffixButtonProps", maskConfig: "maskConfig", max: "max", maxLength: "maxLength", min: "min", minLength: "minLength", name: "name", placeholder: "placeholder", prefixIcon: "prefixIcon", readOnly: "readOnly", required: "required", showClearIcon: "showClearIcon", size: "size", suggestionsDropdownSource: "suggestionsDropdownSource", type: "type", validationRules: "validationRules", value: "value", valueUpdateTrigger: "valueUpdateTrigger" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1315
+ VegaInput.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: VegaInput, selector: "vega-input", inputs: { autoValidation: "autoValidation", autocomplete: "autocomplete", disableCopyPaste: "disableCopyPaste", disabled: "disabled", email: "email", enterkeyhint: "enterkeyhint", hint: "hint", inputmode: "inputmode", isValid: "isValid", label: "label", labelSuffixButtonConfig: "labelSuffixButtonConfig", labelSuffixButtonProps: "labelSuffixButtonProps", maskConfig: "maskConfig", max: "max", maxLength: "maxLength", min: "min", minLength: "minLength", name: "name", placeholder: "placeholder", prefixIcon: "prefixIcon", readOnly: "readOnly", required: "required", showClearIcon: "showClearIcon", size: "size", suggestionsDropdownSource: "suggestionsDropdownSource", type: "type", validationRules: "validationRules", value: "value", valueUpdateTrigger: "valueUpdateTrigger" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1315
1316
  VegaInput = __decorate([
1316
1317
  ProxyCmp({
1317
1318
  defineCustomElementFn: undefined,
1318
- inputs: ['autoValidation', 'autocomplete', 'disableCopyPaste', 'disabled', 'email', 'hint', 'inputmode', 'isValid', 'label', 'labelSuffixButtonConfig', 'labelSuffixButtonProps', 'maskConfig', 'max', 'maxLength', 'min', 'minLength', 'name', 'placeholder', 'prefixIcon', 'readOnly', 'required', 'showClearIcon', 'size', 'suggestionsDropdownSource', 'type', 'validationRules', 'value', 'valueUpdateTrigger'],
1319
+ inputs: ['autoValidation', 'autocomplete', 'disableCopyPaste', 'disabled', 'email', 'enterkeyhint', 'hint', 'inputmode', 'isValid', 'label', 'labelSuffixButtonConfig', 'labelSuffixButtonProps', 'maskConfig', 'max', 'maxLength', 'min', 'minLength', 'name', 'placeholder', 'prefixIcon', 'readOnly', 'required', 'showClearIcon', 'size', 'suggestionsDropdownSource', 'type', 'validationRules', 'value', 'valueUpdateTrigger'],
1319
1320
  methods: ['doFocus', 'doBlur', 'showSuggestionsDropdown', 'hideSuggestionsDropdown']
1320
1321
  })
1321
1322
  ], VegaInput);
@@ -1325,7 +1326,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImpor
1325
1326
  selector: 'vega-input',
1326
1327
  changeDetection: ChangeDetectionStrategy.OnPush,
1327
1328
  template: '<ng-content></ng-content>',
1328
- inputs: ['autoValidation', 'autocomplete', 'disableCopyPaste', 'disabled', 'email', 'hint', 'inputmode', 'isValid', 'label', 'labelSuffixButtonConfig', 'labelSuffixButtonProps', 'maskConfig', 'max', 'maxLength', 'min', 'minLength', 'name', 'placeholder', 'prefixIcon', 'readOnly', 'required', 'showClearIcon', 'size', 'suggestionsDropdownSource', 'type', 'validationRules', 'value', 'valueUpdateTrigger']
1329
+ inputs: ['autoValidation', 'autocomplete', 'disableCopyPaste', 'disabled', 'email', 'enterkeyhint', 'hint', 'inputmode', 'isValid', 'label', 'labelSuffixButtonConfig', 'labelSuffixButtonProps', 'maskConfig', 'max', 'maxLength', 'min', 'minLength', 'name', 'placeholder', 'prefixIcon', 'readOnly', 'required', 'showClearIcon', 'size', 'suggestionsDropdownSource', 'type', 'validationRules', 'value', 'valueUpdateTrigger']
1329
1330
  }]
1330
1331
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1331
1332
  let VegaInputCreditCard = class VegaInputCreditCard {
@@ -1685,11 +1686,11 @@ let VegaModal = class VegaModal {
1685
1686
  }
1686
1687
  };
1687
1688
  VegaModal.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: VegaModal, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1688
- VegaModal.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: VegaModal, selector: "vega-modal", inputs: { animation: "animation", backdrop: "backdrop", backdropColor: "backdropColor", contentMaxHeight: "contentMaxHeight", handleClose: "handleClose", isVerticallyCenter: "isVerticallyCenter", isVerticallyCentered: "isVerticallyCentered", modalTitle: "modalTitle", open: "open", padding: "padding", showCloseButton: "showCloseButton", size: "size" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1689
+ VegaModal.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: VegaModal, selector: "vega-modal", inputs: { animation: "animation", backdrop: "backdrop", backdropColor: "backdropColor", contentMaxHeight: "contentMaxHeight", handleClose: "handleClose", height: "height", isVerticallyCenter: "isVerticallyCenter", isVerticallyCentered: "isVerticallyCentered", margin: "margin", modalTitle: "modalTitle", open: "open", padding: "padding", showCloseButton: "showCloseButton", size: "size" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1689
1690
  VegaModal = __decorate([
1690
1691
  ProxyCmp({
1691
1692
  defineCustomElementFn: undefined,
1692
- inputs: ['animation', 'backdrop', 'backdropColor', 'contentMaxHeight', 'handleClose', 'isVerticallyCenter', 'isVerticallyCentered', 'modalTitle', 'open', 'padding', 'showCloseButton', 'size'],
1693
+ inputs: ['animation', 'backdrop', 'backdropColor', 'contentMaxHeight', 'handleClose', 'height', 'isVerticallyCenter', 'isVerticallyCentered', 'margin', 'modalTitle', 'open', 'padding', 'showCloseButton', 'size'],
1693
1694
  methods: ['modal']
1694
1695
  })
1695
1696
  ], VegaModal);
@@ -1699,7 +1700,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImpor
1699
1700
  selector: 'vega-modal',
1700
1701
  changeDetection: ChangeDetectionStrategy.OnPush,
1701
1702
  template: '<ng-content></ng-content>',
1702
- inputs: ['animation', 'backdrop', 'backdropColor', 'contentMaxHeight', 'handleClose', 'isVerticallyCenter', 'isVerticallyCentered', 'modalTitle', 'open', 'padding', 'showCloseButton', 'size']
1703
+ inputs: ['animation', 'backdrop', 'backdropColor', 'contentMaxHeight', 'handleClose', 'height', 'isVerticallyCenter', 'isVerticallyCentered', 'margin', 'modalTitle', 'open', 'padding', 'showCloseButton', 'size']
1703
1704
  }]
1704
1705
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1705
1706
  let VegaNavCard = class VegaNavCard {
@@ -2228,11 +2229,11 @@ let VegaSectionTitle = class VegaSectionTitle {
2228
2229
  }
2229
2230
  };
2230
2231
  VegaSectionTitle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: VegaSectionTitle, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
2231
- VegaSectionTitle.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: VegaSectionTitle, selector: "vega-section-title", inputs: { description: "description", icon: "icon", iconAlign: "iconAlign", titleText: "titleText" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2232
+ VegaSectionTitle.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.2", type: VegaSectionTitle, selector: "vega-section-title", inputs: { description: "description", icon: "icon", iconAlign: "iconAlign", iconColor: "iconColor", size: "size", titleText: "titleText" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2232
2233
  VegaSectionTitle = __decorate([
2233
2234
  ProxyCmp({
2234
2235
  defineCustomElementFn: undefined,
2235
- inputs: ['description', 'icon', 'iconAlign', 'titleText']
2236
+ inputs: ['description', 'icon', 'iconAlign', 'iconColor', 'size', 'titleText']
2236
2237
  })
2237
2238
  ], VegaSectionTitle);
2238
2239
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: VegaSectionTitle, decorators: [{
@@ -2241,7 +2242,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImpor
2241
2242
  selector: 'vega-section-title',
2242
2243
  changeDetection: ChangeDetectionStrategy.OnPush,
2243
2244
  template: '<ng-content></ng-content>',
2244
- inputs: ['description', 'icon', 'iconAlign', 'titleText']
2245
+ inputs: ['description', 'icon', 'iconAlign', 'iconColor', 'size', 'titleText']
2245
2246
  }]
2246
2247
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
2247
2248
  let VegaSegmentControl = class VegaSegmentControl {