@heartlandone/vega-angular 2.74.0 → 2.75.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.
@@ -14,6 +14,7 @@ import type { VegaFileUploaderFiles as IVegaFileUploaderVegaFileUploaderFiles }
14
14
  import type { VegaFileUploaderFile as IVegaFileUploaderVegaFileUploaderFile } from '@heartlandone/vega/dist/types/components/vega-file-uploader/types';
15
15
  import type { VegaFileOptional as IVegaImageUploaderVegaFileOptional } from '@heartlandone/vega/dist/types/components/vega-image-uploader/types';
16
16
  import type { DataTransferType as IVegaInputDataTransferType } from '@heartlandone/vega/dist/types/components/vega-input/types';
17
+ import type { VegaDropdownSourceItem as IVegaInputVegaDropdownSourceItem } from '@heartlandone/vega/dist/types/components/vega-dropdown/types';
17
18
  import type { VegaCountryType as IVegaInputPhoneNumberVegaCountryType } from '@heartlandone/vega/dist/types/components/vega-input-phone-number/types';
18
19
  import type { SelectValueType as IVegaInputSelectSelectValueType } from '@heartlandone/vega/dist/types/components/vega-input-select/types';
19
20
  import type { SelectType as IVegaInputSelectSelectType } from '@heartlandone/vega/dist/types/components/vega-input-select/types';
@@ -952,6 +953,14 @@ export declare interface VegaInput extends Components.VegaInput {
952
953
  * An event emitter notifying a value change. @eventSemantics namespace:native,@vegaVersion 2.0.0
953
954
  */
954
955
  change: EventEmitter<CustomEvent<string>>;
956
+ /**
957
+ * An event emitter notifying a value change by input action of native input dom. @vegaVersion 2.75.0
958
+ */
959
+ vegaNativeInputChange: EventEmitter<CustomEvent<string>>;
960
+ /**
961
+ * An event emitter notifying a value change by input action of native input dom. @eventSemantics namespace:native,@vegaVersion 2.75.0
962
+ */
963
+ nativeInputChange: EventEmitter<CustomEvent<string>>;
955
964
  /**
956
965
  * An event emitter notifying the blur of the inner input element. @vegaVersion 1.3.0
957
966
  */
@@ -984,13 +993,21 @@ export declare interface VegaInput extends Components.VegaInput {
984
993
  * An event emitter notifying the paste of the inner input element. @eventSemantics namespace:native,@vegaVersion 2.66.0
985
994
  */
986
995
  paste: EventEmitter<CustomEvent<IVegaInputDataTransferType>>;
996
+ /**
997
+ * An event emitter notifying the click of a suggestion item. @vegaVersion 2.75.0
998
+ */
999
+ vegaSuggestionItemClick: EventEmitter<CustomEvent<IVegaInputVegaDropdownSourceItem>>;
1000
+ /**
1001
+ * An event emitter notifying the click of a suggestion item. @eventSemantics namespace:native,@vegaVersion 2.75.0
1002
+ */
1003
+ suggestionItemClick: EventEmitter<CustomEvent<IVegaInputVegaDropdownSourceItem>>;
987
1004
  }
988
1005
  export declare class VegaInput {
989
1006
  protected z: NgZone;
990
1007
  protected el: HTMLElement;
991
1008
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
992
1009
  static ɵfac: i0.ɵɵFactoryDeclaration<VegaInput, never>;
993
- 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"; "required": "required"; "showClearIcon": "showClearIcon"; "size": "size"; "type": "type"; "validationRules": "validationRules"; "value": "value"; "valueUpdateTrigger": "valueUpdateTrigger"; }, {}, never, ["*"]>;
1010
+ 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"; "required": "required"; "showClearIcon": "showClearIcon"; "size": "size"; "suggestionsDropdownSource": "suggestionsDropdownSource"; "type": "type"; "validationRules": "validationRules"; "value": "value"; "valueUpdateTrigger": "valueUpdateTrigger"; }, {}, never, ["*"]>;
994
1011
  }
995
1012
  export declare interface VegaInputCreditCard extends Components.VegaInputCreditCard {
996
1013
  /**
package/dist/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@heartlandone/vega-angular",
3
3
  "sideEffects": false,
4
- "version": "2.73.0",
4
+ "version": "2.74.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.73.0",
22
+ "@heartlandone/vega": "2.74.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.74.0",
4
+ "version": "2.75.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.74.0",
30
+ "@heartlandone/vega": "2.75.0",
31
31
  "tslib": "^2.3.0",
32
32
  "@juggle/resize-observer": "^3.4.0"
33
33
  },
@@ -1551,6 +1551,7 @@ export class VegaImageUploader {
1551
1551
  }
1552
1552
 
1553
1553
  import type { DataTransferType as IVegaInputDataTransferType } from '@heartlandone/vega/dist/types/components/vega-input/types';
1554
+ import type { VegaDropdownSourceItem as IVegaInputVegaDropdownSourceItem } from '@heartlandone/vega/dist/types/components/vega-dropdown/types';
1554
1555
  export declare interface VegaInput extends Components.VegaInput {
1555
1556
  /**
1556
1557
  * An event emitter notifying a value change. @vegaVersion 1.0.10
@@ -1560,6 +1561,14 @@ export declare interface VegaInput extends Components.VegaInput {
1560
1561
  * An event emitter notifying a value change. @eventSemantics namespace:native,@vegaVersion 2.0.0
1561
1562
  */
1562
1563
  change: EventEmitter<CustomEvent<string>>;
1564
+ /**
1565
+ * An event emitter notifying a value change by input action of native input dom. @vegaVersion 2.75.0
1566
+ */
1567
+ vegaNativeInputChange: EventEmitter<CustomEvent<string>>;
1568
+ /**
1569
+ * An event emitter notifying a value change by input action of native input dom. @eventSemantics namespace:native,@vegaVersion 2.75.0
1570
+ */
1571
+ nativeInputChange: EventEmitter<CustomEvent<string>>;
1563
1572
  /**
1564
1573
  * An event emitter notifying the blur of the inner input element. @vegaVersion 1.3.0
1565
1574
  */
@@ -1592,26 +1601,34 @@ export declare interface VegaInput extends Components.VegaInput {
1592
1601
  * An event emitter notifying the paste of the inner input element. @eventSemantics namespace:native,@vegaVersion 2.66.0
1593
1602
  */
1594
1603
  paste: EventEmitter<CustomEvent<IVegaInputDataTransferType>>;
1604
+ /**
1605
+ * An event emitter notifying the click of a suggestion item. @vegaVersion 2.75.0
1606
+ */
1607
+ vegaSuggestionItemClick: EventEmitter<CustomEvent<IVegaInputVegaDropdownSourceItem>>;
1608
+ /**
1609
+ * An event emitter notifying the click of a suggestion item. @eventSemantics namespace:native,@vegaVersion 2.75.0
1610
+ */
1611
+ suggestionItemClick: EventEmitter<CustomEvent<IVegaInputVegaDropdownSourceItem>>;
1595
1612
 
1596
1613
  }
1597
1614
 
1598
1615
  @ProxyCmp({
1599
1616
  defineCustomElementFn: undefined,
1600
- inputs: ['autoValidation', 'autocomplete', 'disableCopyPaste', 'disabled', 'email', 'hint', 'inputmode', 'isValid', 'label', 'labelSuffixButtonConfig', 'labelSuffixButtonProps', 'maskConfig', 'max', 'maxLength', 'min', 'minLength', 'name', 'placeholder', 'prefixIcon', 'required', 'showClearIcon', 'size', 'type', 'validationRules', 'value', 'valueUpdateTrigger'],
1601
- methods: ['doFocus', 'doBlur']
1617
+ inputs: ['autoValidation', 'autocomplete', 'disableCopyPaste', 'disabled', 'email', 'hint', 'inputmode', 'isValid', 'label', 'labelSuffixButtonConfig', 'labelSuffixButtonProps', 'maskConfig', 'max', 'maxLength', 'min', 'minLength', 'name', 'placeholder', 'prefixIcon', 'required', 'showClearIcon', 'size', 'suggestionsDropdownSource', 'type', 'validationRules', 'value', 'valueUpdateTrigger'],
1618
+ methods: ['doFocus', 'doBlur', 'showSuggestionsDropdown', 'hideSuggestionsDropdown']
1602
1619
  })
1603
1620
  @Component({
1604
1621
  selector: 'vega-input',
1605
1622
  changeDetection: ChangeDetectionStrategy.OnPush,
1606
1623
  template: '<ng-content></ng-content>',
1607
- inputs: ['autoValidation', 'autocomplete', 'disableCopyPaste', 'disabled', 'email', 'hint', 'inputmode', 'isValid', 'label', 'labelSuffixButtonConfig', 'labelSuffixButtonProps', 'maskConfig', 'max', 'maxLength', 'min', 'minLength', 'name', 'placeholder', 'prefixIcon', 'required', 'showClearIcon', 'size', 'type', 'validationRules', 'value', 'valueUpdateTrigger']
1624
+ inputs: ['autoValidation', 'autocomplete', 'disableCopyPaste', 'disabled', 'email', 'hint', 'inputmode', 'isValid', 'label', 'labelSuffixButtonConfig', 'labelSuffixButtonProps', 'maskConfig', 'max', 'maxLength', 'min', 'minLength', 'name', 'placeholder', 'prefixIcon', 'required', 'showClearIcon', 'size', 'suggestionsDropdownSource', 'type', 'validationRules', 'value', 'valueUpdateTrigger']
1608
1625
  })
1609
1626
  export class VegaInput {
1610
1627
  protected el: HTMLElement;
1611
1628
  constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
1612
1629
  c.detach();
1613
1630
  this.el = r.nativeElement;
1614
- proxyOutputs(this, this.el, ['vegaChange', 'change', 'vegaBlur', 'blur', 'vegaFocus', 'focus', 'vegaLabelButtonClick', 'labelButtonClick', 'vegaPaste', 'paste']);
1631
+ proxyOutputs(this, this.el, ['vegaChange', 'change', 'vegaNativeInputChange', 'nativeInputChange', 'vegaBlur', 'blur', 'vegaFocus', 'focus', 'vegaLabelButtonClick', 'labelButtonClick', 'vegaPaste', 'paste', 'vegaSuggestionItemClick', 'suggestionItemClick']);
1615
1632
  }
1616
1633
  }
1617
1634
 
@@ -60,7 +60,8 @@ function resolveEventPayloadImportPath(componentsContent) {
60
60
  ['VegaRTEContent', 'vega-rich-text-editor/dto/content-state'],
61
61
  ['VegaCodeBlockValue', 'vega-code-block/types'],
62
62
  ['DatePickerMonthYearTypes', 'vega-date-picker/types'],
63
- ['DataTransferType', 'vega-input/types']
63
+ ['DataTransferType', 'vega-input/types'],
64
+ ['VegaDropdownSourceItem', 'vega-dropdown/types']
64
65
  ]);
65
66
 
66
67
  return componentsContent.replace(