@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.
@@ -178,7 +178,7 @@ export declare class VegaBreadcrumb {
178
178
  protected el: HTMLElement;
179
179
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
180
180
  static ɵfac: i0.ɵɵFactoryDeclaration<VegaBreadcrumb, never>;
181
- static ɵcmp: i0.ɵɵComponentDeclaration<VegaBreadcrumb, "vega-breadcrumb", never, { "compactOnMobile": "compactOnMobile"; "items": "items"; "maxItems": "maxItems"; }, {}, never, ["*"]>;
181
+ static ɵcmp: i0.ɵɵComponentDeclaration<VegaBreadcrumb, "vega-breadcrumb", never, { "compactOnMobile": "compactOnMobile"; "items": "items"; "lastItemClickable": "lastItemClickable"; "maxItems": "maxItems"; }, {}, never, ["*"]>;
182
182
  }
183
183
  export declare interface VegaButton extends Components.VegaButton {
184
184
  /**
@@ -430,7 +430,7 @@ export declare class VegaChip {
430
430
  protected el: HTMLElement;
431
431
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
432
432
  static ɵfac: i0.ɵɵFactoryDeclaration<VegaChip, never>;
433
- static ɵcmp: i0.ɵɵComponentDeclaration<VegaChip, "vega-chip", never, { "bgColor": "bgColor"; "chipType": "chipType"; "clickable": "clickable"; "icon": "icon"; "iconAlign": "iconAlign"; "showCloseIcon": "showCloseIcon"; "size": "size"; "statusColor": "statusColor"; "text": "text"; "textColor": "textColor"; "variant": "variant"; }, {}, never, ["*"]>;
433
+ static ɵcmp: i0.ɵɵComponentDeclaration<VegaChip, "vega-chip", never, { "bgColor": "bgColor"; "chipType": "chipType"; "clickable": "clickable"; "icon": "icon"; "iconAlign": "iconAlign"; "iconColor": "iconColor"; "showCloseIcon": "showCloseIcon"; "size": "size"; "statusColor": "statusColor"; "text": "text"; "textColor": "textColor"; "variant": "variant"; }, {}, never, ["*"]>;
434
434
  }
435
435
  export declare interface VegaCodeBlock extends Components.VegaCodeBlock {
436
436
  /**
@@ -596,7 +596,7 @@ export declare class VegaDatePickerCalendar {
596
596
  protected el: HTMLElement;
597
597
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
598
598
  static ɵfac: i0.ɵɵFactoryDeclaration<VegaDatePickerCalendar, never>;
599
- static ɵcmp: i0.ɵɵComponentDeclaration<VegaDatePickerCalendar, "vega-date-picker-calendar", never, { "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"; }, {}, never, ["*"]>;
599
+ static ɵcmp: i0.ɵɵComponentDeclaration<VegaDatePickerCalendar, "vega-date-picker-calendar", never, { "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"; }, {}, never, ["*"]>;
600
600
  }
601
601
  export declare interface VegaDialog extends Components.VegaDialog {
602
602
  }
@@ -1074,7 +1074,7 @@ export declare class VegaInput {
1074
1074
  protected el: HTMLElement;
1075
1075
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
1076
1076
  static ɵfac: i0.ɵɵFactoryDeclaration<VegaInput, never>;
1077
- static ɵcmp: i0.ɵɵComponentDeclaration<VegaInput, "vega-input", never, { "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"; }, {}, never, ["*"]>;
1077
+ static ɵcmp: i0.ɵɵComponentDeclaration<VegaInput, "vega-input", never, { "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"; }, {}, never, ["*"]>;
1078
1078
  }
1079
1079
  export declare interface VegaInputCreditCard extends Components.VegaInputCreditCard {
1080
1080
  /**
@@ -1407,7 +1407,7 @@ export declare class VegaModal {
1407
1407
  protected el: HTMLElement;
1408
1408
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
1409
1409
  static ɵfac: i0.ɵɵFactoryDeclaration<VegaModal, never>;
1410
- static ɵcmp: i0.ɵɵComponentDeclaration<VegaModal, "vega-modal", never, { "animation": "animation"; "backdrop": "backdrop"; "backdropColor": "backdropColor"; "contentMaxHeight": "contentMaxHeight"; "handleClose": "handleClose"; "isVerticallyCenter": "isVerticallyCenter"; "isVerticallyCentered": "isVerticallyCentered"; "modalTitle": "modalTitle"; "open": "open"; "padding": "padding"; "showCloseButton": "showCloseButton"; "size": "size"; }, {}, never, ["*"]>;
1410
+ static ɵcmp: i0.ɵɵComponentDeclaration<VegaModal, "vega-modal", never, { "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"; }, {}, never, ["*"]>;
1411
1411
  }
1412
1412
  export declare interface VegaNavCard extends Components.VegaNavCard {
1413
1413
  }
@@ -1751,7 +1751,7 @@ export declare class VegaSectionTitle {
1751
1751
  protected el: HTMLElement;
1752
1752
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
1753
1753
  static ɵfac: i0.ɵɵFactoryDeclaration<VegaSectionTitle, never>;
1754
- static ɵcmp: i0.ɵɵComponentDeclaration<VegaSectionTitle, "vega-section-title", never, { "description": "description"; "icon": "icon"; "iconAlign": "iconAlign"; "titleText": "titleText"; }, {}, never, ["*"]>;
1754
+ static ɵcmp: i0.ɵɵComponentDeclaration<VegaSectionTitle, "vega-section-title", never, { "description": "description"; "icon": "icon"; "iconAlign": "iconAlign"; "iconColor": "iconColor"; "size": "size"; "titleText": "titleText"; }, {}, never, ["*"]>;
1755
1755
  }
1756
1756
  export declare interface VegaSegmentControl extends Components.VegaSegmentControl {
1757
1757
  /**
package/dist/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@heartlandone/vega-angular",
3
3
  "sideEffects": false,
4
- "version": "2.78.0",
4
+ "version": "2.80.0",
5
5
  "description": "Angular specific wrapper for @heartlandone/vega",
6
6
  "license": "UNLICENSED",
7
7
  "peerDependencies": {
@@ -19,7 +19,7 @@
19
19
  "url": "https://github.com/heartlandpayments/Vega/tree/main/vega-angular-workspace/projects/vega-angular"
20
20
  },
21
21
  "dependencies": {
22
- "@heartlandone/vega": "2.78.0",
22
+ "@heartlandone/vega": "2.80.0",
23
23
  "tslib": "^2.3.0",
24
24
  "@juggle/resize-observer": "^3.4.0"
25
25
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@heartlandone/vega-angular",
3
3
  "sideEffects": false,
4
- "version": "2.79.0",
4
+ "version": "2.81.0",
5
5
  "description": "Angular specific wrapper for @heartlandone/vega",
6
6
  "license": "UNLICENSED",
7
7
  "peerDependencies": {
@@ -27,7 +27,7 @@
27
27
  "url": "https://github.com/heartlandpayments/Vega/tree/main/vega-angular-workspace/projects/vega-angular"
28
28
  },
29
29
  "dependencies": {
30
- "@heartlandone/vega": "2.79.0",
30
+ "@heartlandone/vega": "2.81.0",
31
31
  "tslib": "^2.3.0",
32
32
  "@juggle/resize-observer": "^3.4.0"
33
33
  },
@@ -258,13 +258,13 @@ export declare interface VegaBreadcrumb extends Components.VegaBreadcrumb {
258
258
 
259
259
  @ProxyCmp({
260
260
  defineCustomElementFn: undefined,
261
- inputs: ['compactOnMobile', 'items', 'maxItems']
261
+ inputs: ['compactOnMobile', 'items', 'lastItemClickable', 'maxItems']
262
262
  })
263
263
  @Component({
264
264
  selector: 'vega-breadcrumb',
265
265
  changeDetection: ChangeDetectionStrategy.OnPush,
266
266
  template: '<ng-content></ng-content>',
267
- inputs: ['compactOnMobile', 'items', 'maxItems']
267
+ inputs: ['compactOnMobile', 'items', 'lastItemClickable', 'maxItems']
268
268
  })
269
269
  export class VegaBreadcrumb {
270
270
  protected el: HTMLElement;
@@ -707,13 +707,13 @@ This event is only dispatched when the `clickable` property is set to `true`. @v
707
707
 
708
708
  @ProxyCmp({
709
709
  defineCustomElementFn: undefined,
710
- inputs: ['bgColor', 'chipType', 'clickable', 'icon', 'iconAlign', 'showCloseIcon', 'size', 'statusColor', 'text', 'textColor', 'variant']
710
+ inputs: ['bgColor', 'chipType', 'clickable', 'icon', 'iconAlign', 'iconColor', 'showCloseIcon', 'size', 'statusColor', 'text', 'textColor', 'variant']
711
711
  })
712
712
  @Component({
713
713
  selector: 'vega-chip',
714
714
  changeDetection: ChangeDetectionStrategy.OnPush,
715
715
  template: '<ng-content></ng-content>',
716
- inputs: ['bgColor', 'chipType', 'clickable', 'icon', 'iconAlign', 'showCloseIcon', 'size', 'statusColor', 'text', 'textColor', 'variant']
716
+ inputs: ['bgColor', 'chipType', 'clickable', 'icon', 'iconAlign', 'iconColor', 'showCloseIcon', 'size', 'statusColor', 'text', 'textColor', 'variant']
717
717
  })
718
718
  export class VegaChip {
719
719
  protected el: HTMLElement;
@@ -963,14 +963,14 @@ export declare interface VegaDatePickerCalendar extends Components.VegaDatePicke
963
963
 
964
964
  @ProxyCmp({
965
965
  defineCustomElementFn: undefined,
966
- inputs: ['clearButton', 'dateIndicator', 'format', 'isDateDisabled', 'maxDate', 'minDate', 'mode', 'selection', 'showYearMonthDropdowns', 'size', 'staticHeight', 'timezone', 'yearMonthDropdownProps'],
966
+ inputs: ['clearButton', 'dateIndicator', 'dualMonths', 'format', 'isDateDisabled', 'maxDate', 'minDate', 'mode', 'selection', 'showYearMonthDropdowns', 'size', 'staticHeight', 'timezone', 'yearMonthDropdownProps'],
967
967
  methods: ['reset', 'triggerRepick']
968
968
  })
969
969
  @Component({
970
970
  selector: 'vega-date-picker-calendar',
971
971
  changeDetection: ChangeDetectionStrategy.OnPush,
972
972
  template: '<ng-content></ng-content>',
973
- inputs: ['clearButton', 'dateIndicator', 'format', 'isDateDisabled', 'maxDate', 'minDate', 'mode', 'selection', 'showYearMonthDropdowns', 'size', 'staticHeight', 'timezone', 'yearMonthDropdownProps']
973
+ inputs: ['clearButton', 'dateIndicator', 'dualMonths', 'format', 'isDateDisabled', 'maxDate', 'minDate', 'mode', 'selection', 'showYearMonthDropdowns', 'size', 'staticHeight', 'timezone', 'yearMonthDropdownProps']
974
974
  })
975
975
  export class VegaDatePickerCalendar {
976
976
  protected el: HTMLElement;
@@ -1680,14 +1680,14 @@ suggestion item, including its `label`, `value`, and any custom properties.,@eve
1680
1680
 
1681
1681
  @ProxyCmp({
1682
1682
  defineCustomElementFn: undefined,
1683
- 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'],
1683
+ 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'],
1684
1684
  methods: ['doFocus', 'doBlur', 'showSuggestionsDropdown', 'hideSuggestionsDropdown']
1685
1685
  })
1686
1686
  @Component({
1687
1687
  selector: 'vega-input',
1688
1688
  changeDetection: ChangeDetectionStrategy.OnPush,
1689
1689
  template: '<ng-content></ng-content>',
1690
- 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']
1690
+ 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']
1691
1691
  })
1692
1692
  export class VegaInput {
1693
1693
  protected el: HTMLElement;
@@ -2233,14 +2233,14 @@ export declare interface VegaModal extends Components.VegaModal {
2233
2233
 
2234
2234
  @ProxyCmp({
2235
2235
  defineCustomElementFn: undefined,
2236
- inputs: ['animation', 'backdrop', 'backdropColor', 'contentMaxHeight', 'handleClose', 'isVerticallyCenter', 'isVerticallyCentered', 'modalTitle', 'open', 'padding', 'showCloseButton', 'size'],
2236
+ inputs: ['animation', 'backdrop', 'backdropColor', 'contentMaxHeight', 'handleClose', 'height', 'isVerticallyCenter', 'isVerticallyCentered', 'margin', 'modalTitle', 'open', 'padding', 'showCloseButton', 'size'],
2237
2237
  methods: ['modal']
2238
2238
  })
2239
2239
  @Component({
2240
2240
  selector: 'vega-modal',
2241
2241
  changeDetection: ChangeDetectionStrategy.OnPush,
2242
2242
  template: '<ng-content></ng-content>',
2243
- inputs: ['animation', 'backdrop', 'backdropColor', 'contentMaxHeight', 'handleClose', 'isVerticallyCenter', 'isVerticallyCentered', 'modalTitle', 'open', 'padding', 'showCloseButton', 'size']
2243
+ inputs: ['animation', 'backdrop', 'backdropColor', 'contentMaxHeight', 'handleClose', 'height', 'isVerticallyCenter', 'isVerticallyCentered', 'margin', 'modalTitle', 'open', 'padding', 'showCloseButton', 'size']
2244
2244
  })
2245
2245
  export class VegaModal {
2246
2246
  protected el: HTMLElement;
@@ -2882,13 +2882,13 @@ export declare interface VegaSectionTitle extends Components.VegaSectionTitle {}
2882
2882
 
2883
2883
  @ProxyCmp({
2884
2884
  defineCustomElementFn: undefined,
2885
- inputs: ['description', 'icon', 'iconAlign', 'titleText']
2885
+ inputs: ['description', 'icon', 'iconAlign', 'iconColor', 'size', 'titleText']
2886
2886
  })
2887
2887
  @Component({
2888
2888
  selector: 'vega-section-title',
2889
2889
  changeDetection: ChangeDetectionStrategy.OnPush,
2890
2890
  template: '<ng-content></ng-content>',
2891
- inputs: ['description', 'icon', 'iconAlign', 'titleText']
2891
+ inputs: ['description', 'icon', 'iconAlign', 'iconColor', 'size', 'titleText']
2892
2892
  })
2893
2893
  export class VegaSectionTitle {
2894
2894
  protected el: HTMLElement;
@@ -19,8 +19,9 @@ export class ValueAccessor implements ControlValueAccessor {
19
19
  }
20
20
 
21
21
  handleChangeEvent(value: any, semantics: 'native' | 'vega') {
22
- if(VegaEventManager.getSemantics(this.el.nativeElement).namespace === semantics){
23
- if (value !== this.lastValue) {
22
+ if (VegaEventManager.getSemantics(this.el.nativeElement).namespace === semantics) {
23
+ const isNumberCompare = typeof value === 'number' || typeof this.lastValue === 'number';
24
+ if (isNumberCompare ? String(value) !== String(this.lastValue) : value !== this.lastValue) {
24
25
  this.lastValue = value;
25
26
  this.onChange(value);
26
27
  }