@heartlandone/vega-angular 1.22.0 → 1.24.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.
@@ -34,6 +34,10 @@ export declare interface VegaAppHeaderButton extends Components.VegaAppHeaderBut
34
34
  * event emitter used for notifying consumers the button is clicked
35
35
  */
36
36
  vegaClick: EventEmitter<CustomEvent<any>>;
37
+ /**
38
+ * event emitter used for notifying consumers which the dropdown item is clicked.
39
+ */
40
+ vegaDropdownClick: EventEmitter<CustomEvent<string>>;
37
41
  }
38
42
  export declare class VegaAppHeaderButton {
39
43
  protected z: NgZone;
@@ -96,7 +100,7 @@ export declare class VegaButtonCircle {
96
100
  protected el: HTMLElement;
97
101
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
98
102
  static ɵfac: i0.ɵɵFactoryDeclaration<VegaButtonCircle, never>;
99
- static ɵcmp: i0.ɵɵComponentDeclaration<VegaButtonCircle, "vega-button-circle", never, { "danger": "danger"; "disabled": "disabled"; "icon": "icon"; "label": "label"; "size": "size"; "type": "type"; "variant": "variant"; }, {}, never, ["*"]>;
103
+ static ɵcmp: i0.ɵɵComponentDeclaration<VegaButtonCircle, "vega-button-circle", never, { "danger": "danger"; "disabled": "disabled"; "icon": "icon"; "iconColor": "iconColor"; "label": "label"; "size": "size"; "type": "type"; "variant": "variant"; }, {}, never, ["*"]>;
100
104
  }
101
105
  export declare interface VegaButtonLink extends Components.VegaButtonLink {
102
106
  /**
@@ -214,13 +218,17 @@ export declare interface VegaComboBox extends Components.VegaComboBox {
214
218
  * event emitter used for notifying consumers the item to be created
215
219
  */
216
220
  vegaCreate: EventEmitter<CustomEvent<string>>;
221
+ /**
222
+ * event emitter used for notifying consumers the search input changed
223
+ */
224
+ vegaSearch: EventEmitter<CustomEvent<string>>;
217
225
  }
218
226
  export declare class VegaComboBox {
219
227
  protected z: NgZone;
220
228
  protected el: HTMLElement;
221
229
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
222
230
  static ɵfac: i0.ɵɵFactoryDeclaration<VegaComboBox, never>;
223
- static ɵcmp: i0.ɵɵComponentDeclaration<VegaComboBox, "vega-combo-box", never, { "autoValidation": "autoValidation"; "disabled": "disabled"; "hint": "hint"; "isValid": "isValid"; "label": "label"; "placeholder": "placeholder"; "required": "required"; "size": "size"; "source": "source"; "validationRules": "validationRules"; "value": "value"; "vegaDropdownProps": "vegaDropdownProps"; }, {}, never, ["*"]>;
231
+ static ɵcmp: i0.ɵɵComponentDeclaration<VegaComboBox, "vega-combo-box", never, { "autoValidation": "autoValidation"; "disabled": "disabled"; "hint": "hint"; "isValid": "isValid"; "label": "label"; "placeholder": "placeholder"; "required": "required"; "size": "size"; "source": "source"; "useDefaultFilter": "useDefaultFilter"; "validationRules": "validationRules"; "value": "value"; "vegaDropdownProps": "vegaDropdownProps"; }, {}, never, ["*"]>;
224
232
  }
225
233
  export declare interface VegaCounterBadge extends Components.VegaCounterBadge {
226
234
  }
@@ -248,6 +256,15 @@ export declare class VegaDatePicker {
248
256
  static ɵfac: i0.ɵɵFactoryDeclaration<VegaDatePicker, never>;
249
257
  static ɵcmp: i0.ɵɵComponentDeclaration<VegaDatePicker, "vega-date-picker", never, { "allowRepick": "allowRepick"; "autoValidation": "autoValidation"; "clearButton": "clearButton"; "disabled": "disabled"; "dropdownConfig": "dropdownConfig"; "formValidation": "formValidation"; "format": "format"; "isValid": "isValid"; "label": "label"; "maxDate": "maxDate"; "minDate": "minDate"; "mode": "mode"; "placeholder": "placeholder"; "readOnly": "readOnly"; "required": "required"; "size": "size"; "validationRules": "validationRules"; "value": "value"; }, {}, never, ["*"]>;
250
258
  }
259
+ export declare interface VegaDialog extends Components.VegaDialog {
260
+ }
261
+ export declare class VegaDialog {
262
+ protected z: NgZone;
263
+ protected el: HTMLElement;
264
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
265
+ static ɵfac: i0.ɵɵFactoryDeclaration<VegaDialog, never>;
266
+ static ɵcmp: i0.ɵɵComponentDeclaration<VegaDialog, "vega-dialog", never, { "cancelButton": "cancelButton"; "content": "content"; "dialogTitle": "dialogTitle"; "handleCancel": "handleCancel"; "handleOk": "handleOk"; "modalProps": "modalProps"; "okButton": "okButton"; "showCancel": "showCancel"; "type": "type"; }, {}, never, ["*"]>;
267
+ }
251
268
  export declare interface VegaDropdown extends Components.VegaDropdown {
252
269
  /**
253
270
  * @deprecated This property will be removed soon *
@@ -269,13 +286,17 @@ export declare interface VegaDropdown extends Components.VegaDropdown {
269
286
  * event emitter used for notifying consumers the item to be created
270
287
  */
271
288
  vegaCreate: EventEmitter<CustomEvent<string>>;
289
+ /**
290
+ * event emitter used for notifying consumers the search input changed
291
+ */
292
+ vegaSearch: EventEmitter<CustomEvent<string>>;
272
293
  }
273
294
  export declare class VegaDropdown {
274
295
  protected z: NgZone;
275
296
  protected el: HTMLElement;
276
297
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
277
298
  static ɵfac: i0.ɵɵFactoryDeclaration<VegaDropdown, never>;
278
- static ɵcmp: i0.ɵɵComponentDeclaration<VegaDropdown, "vega-dropdown", never, { "caseSensitive": "caseSensitive"; "dynamicOption": "dynamicOption"; "itemDisplayRule": "itemDisplayRule"; "matchContainerHeight": "matchContainerHeight"; "matchTargetWidth": "matchTargetWidth"; "maxHeight": "maxHeight"; "maxWidth": "maxWidth"; "minWidth": "minWidth"; "positionRelativeTo": "positionRelativeTo"; "searchable": "searchable"; "selectType": "selectType"; "selectedSourceKey": "selectedSourceKey"; "size": "size"; "source": "source"; "translocation": "translocation"; "trigger": "trigger"; }, {}, never, ["*"]>;
299
+ static ɵcmp: i0.ɵɵComponentDeclaration<VegaDropdown, "vega-dropdown", never, { "caseSensitive": "caseSensitive"; "dynamicOption": "dynamicOption"; "isLoading": "isLoading"; "itemDisplayRule": "itemDisplayRule"; "matchContainerHeight": "matchContainerHeight"; "matchTargetWidth": "matchTargetWidth"; "maxHeight": "maxHeight"; "maxWidth": "maxWidth"; "minWidth": "minWidth"; "positionRelativeTo": "positionRelativeTo"; "searchable": "searchable"; "selectType": "selectType"; "selectedSourceKey": "selectedSourceKey"; "size": "size"; "source": "source"; "translocation": "translocation"; "trigger": "trigger"; "useDefaultFilter": "useDefaultFilter"; }, {}, never, ["*"]>;
279
300
  }
280
301
  export declare interface VegaFieldLabel extends Components.VegaFieldLabel {
281
302
  }
@@ -309,6 +330,14 @@ export declare interface VegaForm extends Components.VegaForm {
309
330
  * event emitter used for notifying consumers the validation result change event
310
331
  */
311
332
  vegaValidate: EventEmitter<CustomEvent<boolean>>;
333
+ /**
334
+ * event emitter used for notifying consumers the form is submit.
335
+ */
336
+ vegaFormSubmit: EventEmitter<CustomEvent<unknown>>;
337
+ /**
338
+ * event emitter used for notifying consumers the form is reset.
339
+ */
340
+ vegaFormReset: EventEmitter<CustomEvent<any>>;
312
341
  }
313
342
  export declare class VegaForm {
314
343
  protected z: NgZone;
@@ -718,5 +747,5 @@ export declare class VegaVirtualScroll {
718
747
  static ɵfac: i0.ɵɵFactoryDeclaration<VegaVirtualScroll, never>;
719
748
  static ɵcmp: i0.ɵɵComponentDeclaration<VegaVirtualScroll, "vega-virtual-scroll", never, { "approxItemHeight": "approxItemHeight"; "renderItem": "renderItem"; "source": "source"; "thresholdOfWork": "thresholdOfWork"; "viewportMaxHeight": "viewportMaxHeight"; }, {}, never, ["*"]>;
720
749
  }
721
- declare const _default: (typeof VegaAccordion | typeof VegaAppFooter | typeof VegaAppHeaderButton | typeof VegaBadge | typeof VegaBanner | typeof VegaButton | typeof VegaButtonCircle | typeof VegaButtonLink | typeof VegaCard | typeof VegaCarousel | typeof VegaCheckbox | typeof VegaCheckboxGroup | typeof VegaChip | typeof VegaColorPicker | typeof VegaComboBox | typeof VegaCounterBadge | typeof VegaDatePicker | typeof VegaDropdown | typeof VegaFieldLabel | typeof VegaFlex | typeof VegaFooter | typeof VegaForm | typeof VegaGrid | typeof VegaHeader | typeof VegaIcon | typeof VegaImageUploader | typeof VegaInput | typeof VegaInputSelect | typeof VegaItemToggle | typeof VegaLoadingIndicator | typeof VegaModal | typeof VegaOption | typeof VegaPageNotification | typeof VegaPagination | typeof VegaPopover | typeof VegaProgressTracker | typeof VegaRadio | typeof VegaRadioGroup | typeof VegaSidenav | typeof VegaSidenavGroup | typeof VegaSidenavLink | typeof VegaStepper | typeof VegaTabGroup | typeof VegaTable | typeof VegaText | typeof VegaTextarea | typeof VegaTimePicker | typeof VegaToggleSwitch | typeof VegaTooltip | typeof VegaVirtualScroll)[];
750
+ declare const _default: (typeof VegaAccordion | typeof VegaAppFooter | typeof VegaAppHeaderButton | typeof VegaBadge | typeof VegaBanner | typeof VegaButton | typeof VegaButtonCircle | typeof VegaButtonLink | typeof VegaCard | typeof VegaCarousel | typeof VegaCheckbox | typeof VegaCheckboxGroup | typeof VegaChip | typeof VegaColorPicker | typeof VegaComboBox | typeof VegaCounterBadge | typeof VegaDatePicker | typeof VegaDialog | typeof VegaDropdown | typeof VegaFieldLabel | typeof VegaFlex | typeof VegaFooter | typeof VegaForm | typeof VegaGrid | typeof VegaHeader | typeof VegaIcon | typeof VegaImageUploader | typeof VegaInput | typeof VegaInputSelect | typeof VegaItemToggle | typeof VegaLoadingIndicator | typeof VegaModal | typeof VegaOption | typeof VegaPageNotification | typeof VegaPagination | typeof VegaPopover | typeof VegaProgressTracker | typeof VegaRadio | typeof VegaRadioGroup | typeof VegaSidenav | typeof VegaSidenavGroup | typeof VegaSidenavLink | typeof VegaStepper | typeof VegaTabGroup | typeof VegaTable | typeof VegaText | typeof VegaTextarea | typeof VegaTimePicker | typeof VegaToggleSwitch | typeof VegaTooltip | typeof VegaVirtualScroll)[];
722
751
  export default _default;
package/dist/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@heartlandone/vega-angular",
3
3
  "sideEffects": false,
4
- "version": "1.21.0",
4
+ "version": "1.23.0",
5
5
  "description": "Angular specific wrapper for @heartlandone/vega",
6
6
  "peerDependencies": {
7
7
  "@angular/common": ">=12.0.0",
@@ -15,10 +15,10 @@
15
15
  "typings": "heartlandone-vega-angular.d.ts",
16
16
  "repository": {
17
17
  "type": "git",
18
- "url": "https://gitlab.com/heartland1/vega/tiger/vega-angular-workspace/projects/vega-angular"
18
+ "url": "https://github.com/heartlandpayments/Vega/tree/main/vega-angular-workspace/projects/vega-angular"
19
19
  },
20
20
  "dependencies": {
21
- "@heartlandone/vega": "1.21.0",
21
+ "@heartlandone/vega": "1.23.0",
22
22
  "tslib": "^2.3.0"
23
23
  },
24
24
  "publishConfig": {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@heartlandone/vega-angular",
3
3
  "sideEffects": false,
4
- "version": "1.22.0",
4
+ "version": "1.24.0",
5
5
  "description": "Angular specific wrapper for @heartlandone/vega",
6
6
  "peerDependencies": {
7
7
  "@angular/common": ">=12.0.0",
@@ -23,10 +23,10 @@
23
23
  },
24
24
  "repository": {
25
25
  "type": "git",
26
- "url": "https://gitlab.com/heartland1/vega/tiger/vega-angular-workspace/projects/vega-angular"
26
+ "url": "https://github.com/heartlandpayments/Vega/tree/main/vega-angular-workspace/projects/vega-angular"
27
27
  },
28
28
  "dependencies": {
29
- "@heartlandone/vega": "1.22.0",
29
+ "@heartlandone/vega": "1.24.0",
30
30
  "tslib": "^2.3.0"
31
31
  },
32
32
  "publishConfig": {
@@ -62,6 +62,10 @@ export declare interface VegaAppHeaderButton extends Components.VegaAppHeaderBut
62
62
  * event emitter used for notifying consumers the button is clicked
63
63
  */
64
64
  vegaClick: EventEmitter<CustomEvent<any>>;
65
+ /**
66
+ * event emitter used for notifying consumers which the dropdown item is clicked.
67
+ */
68
+ vegaDropdownClick: EventEmitter<CustomEvent<string>>;
65
69
 
66
70
  }
67
71
 
@@ -80,7 +84,7 @@ export class VegaAppHeaderButton {
80
84
  constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
81
85
  c.detach();
82
86
  this.el = r.nativeElement;
83
- proxyOutputs(this, this.el, ['vegaClick']);
87
+ proxyOutputs(this, this.el, ['vegaClick', 'vegaDropdownClick']);
84
88
  }
85
89
  }
86
90
 
@@ -180,13 +184,13 @@ export declare interface VegaButtonCircle extends Components.VegaButtonCircle {
180
184
 
181
185
  @ProxyCmp({
182
186
  defineCustomElementFn: undefined,
183
- inputs: ['danger', 'disabled', 'icon', 'label', 'size', 'type', 'variant']
187
+ inputs: ['danger', 'disabled', 'icon', 'iconColor', 'label', 'size', 'type', 'variant']
184
188
  })
185
189
  @Component({
186
190
  selector: 'vega-button-circle',
187
191
  changeDetection: ChangeDetectionStrategy.OnPush,
188
192
  template: '<ng-content></ng-content>',
189
- inputs: ['danger', 'disabled', 'icon', 'label', 'size', 'type', 'variant']
193
+ inputs: ['danger', 'disabled', 'icon', 'iconColor', 'label', 'size', 'type', 'variant']
190
194
  })
191
195
  export class VegaButtonCircle {
192
196
  protected el: HTMLElement;
@@ -420,26 +424,30 @@ export declare interface VegaComboBox extends Components.VegaComboBox {
420
424
  * event emitter used for notifying consumers the item to be created
421
425
  */
422
426
  vegaCreate: EventEmitter<CustomEvent<string>>;
427
+ /**
428
+ * event emitter used for notifying consumers the search input changed
429
+ */
430
+ vegaSearch: EventEmitter<CustomEvent<string>>;
423
431
 
424
432
  }
425
433
 
426
434
  @ProxyCmp({
427
435
  defineCustomElementFn: undefined,
428
- inputs: ['autoValidation', 'disabled', 'hint', 'isValid', 'label', 'placeholder', 'required', 'size', 'source', 'validationRules', 'value', 'vegaDropdownProps'],
436
+ inputs: ['autoValidation', 'disabled', 'hint', 'isValid', 'label', 'placeholder', 'required', 'size', 'source', 'useDefaultFilter', 'validationRules', 'value', 'vegaDropdownProps'],
429
437
  methods: ['close', 'open', 'valid']
430
438
  })
431
439
  @Component({
432
440
  selector: 'vega-combo-box',
433
441
  changeDetection: ChangeDetectionStrategy.OnPush,
434
442
  template: '<ng-content></ng-content>',
435
- inputs: ['autoValidation', 'disabled', 'hint', 'isValid', 'label', 'placeholder', 'required', 'size', 'source', 'validationRules', 'value', 'vegaDropdownProps']
443
+ inputs: ['autoValidation', 'disabled', 'hint', 'isValid', 'label', 'placeholder', 'required', 'size', 'source', 'useDefaultFilter', 'validationRules', 'value', 'vegaDropdownProps']
436
444
  })
437
445
  export class VegaComboBox {
438
446
  protected el: HTMLElement;
439
447
  constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
440
448
  c.detach();
441
449
  this.el = r.nativeElement;
442
- proxyOutputs(this, this.el, ['vegaChange', 'vegaValidate', 'vegaCreate']);
450
+ proxyOutputs(this, this.el, ['vegaChange', 'vegaValidate', 'vegaCreate', 'vegaSearch']);
443
451
  }
444
452
  }
445
453
 
@@ -498,6 +506,27 @@ export class VegaDatePicker {
498
506
  }
499
507
 
500
508
 
509
+ export declare interface VegaDialog extends Components.VegaDialog {}
510
+
511
+ @ProxyCmp({
512
+ defineCustomElementFn: undefined,
513
+ inputs: ['cancelButton', 'content', 'dialogTitle', 'handleCancel', 'handleOk', 'modalProps', 'okButton', 'showCancel', 'type']
514
+ })
515
+ @Component({
516
+ selector: 'vega-dialog',
517
+ changeDetection: ChangeDetectionStrategy.OnPush,
518
+ template: '<ng-content></ng-content>',
519
+ inputs: ['cancelButton', 'content', 'dialogTitle', 'handleCancel', 'handleOk', 'modalProps', 'okButton', 'showCancel', 'type']
520
+ })
521
+ export class VegaDialog {
522
+ protected el: HTMLElement;
523
+ constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
524
+ c.detach();
525
+ this.el = r.nativeElement;
526
+ }
527
+ }
528
+
529
+
501
530
  export declare interface VegaDropdown extends Components.VegaDropdown {
502
531
  /**
503
532
  * @deprecated This property will be removed soon *
@@ -519,26 +548,30 @@ export declare interface VegaDropdown extends Components.VegaDropdown {
519
548
  * event emitter used for notifying consumers the item to be created
520
549
  */
521
550
  vegaCreate: EventEmitter<CustomEvent<string>>;
551
+ /**
552
+ * event emitter used for notifying consumers the search input changed
553
+ */
554
+ vegaSearch: EventEmitter<CustomEvent<string>>;
522
555
 
523
556
  }
524
557
 
525
558
  @ProxyCmp({
526
559
  defineCustomElementFn: undefined,
527
- inputs: ['caseSensitive', 'dynamicOption', 'itemDisplayRule', 'matchContainerHeight', 'matchTargetWidth', 'maxHeight', 'maxWidth', 'minWidth', 'positionRelativeTo', 'searchable', 'selectType', 'selectedSourceKey', 'size', 'source', 'translocation', 'trigger'],
560
+ inputs: ['caseSensitive', 'dynamicOption', 'isLoading', 'itemDisplayRule', 'matchContainerHeight', 'matchTargetWidth', 'maxHeight', 'maxWidth', 'minWidth', 'positionRelativeTo', 'searchable', 'selectType', 'selectedSourceKey', 'size', 'source', 'translocation', 'trigger', 'useDefaultFilter'],
528
561
  methods: ['show', 'hide', 'search']
529
562
  })
530
563
  @Component({
531
564
  selector: 'vega-dropdown',
532
565
  changeDetection: ChangeDetectionStrategy.OnPush,
533
566
  template: '<ng-content></ng-content>',
534
- inputs: ['caseSensitive', 'dynamicOption', 'itemDisplayRule', 'matchContainerHeight', 'matchTargetWidth', 'maxHeight', 'maxWidth', 'minWidth', 'positionRelativeTo', 'searchable', 'selectType', 'selectedSourceKey', 'size', 'source', 'translocation', 'trigger']
567
+ inputs: ['caseSensitive', 'dynamicOption', 'isLoading', 'itemDisplayRule', 'matchContainerHeight', 'matchTargetWidth', 'maxHeight', 'maxWidth', 'minWidth', 'positionRelativeTo', 'searchable', 'selectType', 'selectedSourceKey', 'size', 'source', 'translocation', 'trigger', 'useDefaultFilter']
535
568
  })
536
569
  export class VegaDropdown {
537
570
  protected el: HTMLElement;
538
571
  constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
539
572
  c.detach();
540
573
  this.el = r.nativeElement;
541
- proxyOutputs(this, this.el, ['vegaClick', 'vegaDropdownClick', 'vegaShow', 'vegaHide', 'vegaCreate']);
574
+ proxyOutputs(this, this.el, ['vegaClick', 'vegaDropdownClick', 'vegaShow', 'vegaHide', 'vegaCreate', 'vegaSearch']);
542
575
  }
543
576
  }
544
577
 
@@ -611,6 +644,14 @@ export declare interface VegaForm extends Components.VegaForm {
611
644
  * event emitter used for notifying consumers the validation result change event
612
645
  */
613
646
  vegaValidate: EventEmitter<CustomEvent<boolean>>;
647
+ /**
648
+ * event emitter used for notifying consumers the form is submit.
649
+ */
650
+ vegaFormSubmit: EventEmitter<CustomEvent<unknown>>;
651
+ /**
652
+ * event emitter used for notifying consumers the form is reset.
653
+ */
654
+ vegaFormReset: EventEmitter<CustomEvent<any>>;
614
655
 
615
656
  }
616
657
 
@@ -630,7 +671,7 @@ export class VegaForm {
630
671
  constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
631
672
  c.detach();
632
673
  this.el = r.nativeElement;
633
- proxyOutputs(this, this.el, ['vegaValidate']);
674
+ proxyOutputs(this, this.el, ['vegaValidate', 'vegaFormSubmit', 'vegaFormReset']);
634
675
  }
635
676
  }
636
677
 
@@ -1458,6 +1499,7 @@ export default [
1458
1499
  VegaComboBox,
1459
1500
  VegaCounterBadge,
1460
1501
  VegaDatePicker,
1502
+ VegaDialog,
1461
1503
  VegaDropdown,
1462
1504
  VegaFieldLabel,
1463
1505
  VegaFlex,