@heartlandone/vega-angular 2.16.0 → 2.17.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.
@@ -3,6 +3,7 @@ import { Components } from '@heartlandone/vega';
3
3
  import type { VegaBreadcrumbItemType as IVegaBreadcrumbVegaBreadcrumbItemType } from '@heartlandone/vega/dist/types/components/vega-breadcrumb/types';
4
4
  import type { VegaCalendarChangeEventType as IVegaCalendarVegaCalendarChangeEventType } from '@heartlandone/vega/dist/types/components/vega-calendar/types';
5
5
  import type { VegaCalendarEventClickInfo as IVegaCalendarVegaCalendarEventClickInfo } from '@heartlandone/vega/dist/types/components/vega-calendar/types';
6
+ import type { VegaCalendarDateClickInfo as IVegaCalendarVegaCalendarDateClickInfo } from '@heartlandone/vega/dist/types/components/vega-calendar/types';
6
7
  import type { VegaDropdownItemClickEvent as IVegaDropdownItemVegaDropdownItemClickEvent } from '@heartlandone/vega/dist/types/components/vega-dropdown/vega-dropdown-item/types';
7
8
  import type { VegaFileOptional as IVegaImageUploaderVegaFileOptional } from '@heartlandone/vega/dist/types/components/vega-image-uploader/types';
8
9
  import type { SelectValueType as IVegaInputSelectSelectValueType } from '@heartlandone/vega/dist/types/components/vega-input-select/types';
@@ -148,7 +149,7 @@ export declare class VegaButton {
148
149
  protected el: HTMLElement;
149
150
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
150
151
  static ɵfac: i0.ɵɵFactoryDeclaration<VegaButton, never>;
151
- static ɵcmp: i0.ɵɵComponentDeclaration<VegaButton, "vega-button", never, { "block": "block"; "danger": "danger"; "disabled": "disabled"; "icon": "icon"; "iconAlign": "iconAlign"; "label": "label"; "size": "size"; "type": "type"; "variant": "variant"; }, {}, never, ["*"]>;
152
+ static ɵcmp: i0.ɵɵComponentDeclaration<VegaButton, "vega-button", never, { "block": "block"; "danger": "danger"; "disabled": "disabled"; "icon": "icon"; "iconAlign": "iconAlign"; "label": "label"; "loading": "loading"; "size": "size"; "type": "type"; "variant": "variant"; }, {}, never, ["*"]>;
152
153
  }
153
154
  export declare interface VegaButtonCircle extends Components.VegaButtonCircle {
154
155
  /**
@@ -227,6 +228,14 @@ export declare interface VegaCalendar extends Components.VegaCalendar {
227
228
  * An event emitter notifying that a component event item is clicked.
228
229
  */
229
230
  eventClick: EventEmitter<CustomEvent<IVegaCalendarVegaCalendarEventClickInfo>>;
231
+ /**
232
+ * An event emitter notifying that a calendar date item has been double-clicked.
233
+ */
234
+ vegaDateDblClick: EventEmitter<CustomEvent<IVegaCalendarVegaCalendarDateClickInfo>>;
235
+ /**
236
+ * An event emitter notifying that a calendar date item has been double-clicked.
237
+ */
238
+ dateDblClick: EventEmitter<CustomEvent<IVegaCalendarVegaCalendarDateClickInfo>>;
230
239
  }
231
240
  export declare class VegaCalendar {
232
241
  protected z: NgZone;
package/dist/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@heartlandone/vega-angular",
3
3
  "sideEffects": false,
4
- "version": "2.15.0",
4
+ "version": "2.16.0",
5
5
  "description": "Angular specific wrapper for @heartlandone/vega",
6
6
  "peerDependencies": {
7
7
  "@angular/common": ">=12.0.0",
@@ -18,7 +18,7 @@
18
18
  "url": "https://github.com/heartlandpayments/Vega/tree/main/vega-angular-workspace/projects/vega-angular"
19
19
  },
20
20
  "dependencies": {
21
- "@heartlandone/vega": "2.15.0",
21
+ "@heartlandone/vega": "2.16.0",
22
22
  "tslib": "^2.3.0",
23
23
  "@juggle/resize-observer": "^3.4.0"
24
24
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@heartlandone/vega-angular",
3
3
  "sideEffects": false,
4
- "version": "2.16.0",
4
+ "version": "2.17.0",
5
5
  "description": "Angular specific wrapper for @heartlandone/vega",
6
6
  "peerDependencies": {
7
7
  "@angular/common": ">=12.0.0",
@@ -25,7 +25,7 @@
25
25
  "url": "https://github.com/heartlandpayments/Vega/tree/main/vega-angular-workspace/projects/vega-angular"
26
26
  },
27
27
  "dependencies": {
28
- "@heartlandone/vega": "2.16.0",
28
+ "@heartlandone/vega": "2.17.0",
29
29
  "tslib": "^2.3.0",
30
30
  "@juggle/resize-observer": "^3.4.0"
31
31
  },
@@ -253,13 +253,13 @@ export declare interface VegaButton extends Components.VegaButton {
253
253
 
254
254
  @ProxyCmp({
255
255
  defineCustomElementFn: undefined,
256
- inputs: ['block', 'danger', 'disabled', 'icon', 'iconAlign', 'label', 'size', 'type', 'variant']
256
+ inputs: ['block', 'danger', 'disabled', 'icon', 'iconAlign', 'label', 'loading', 'size', 'type', 'variant']
257
257
  })
258
258
  @Component({
259
259
  selector: 'vega-button',
260
260
  changeDetection: ChangeDetectionStrategy.OnPush,
261
261
  template: '<ng-content></ng-content>',
262
- inputs: ['block', 'danger', 'disabled', 'icon', 'iconAlign', 'label', 'size', 'type', 'variant']
262
+ inputs: ['block', 'danger', 'disabled', 'icon', 'iconAlign', 'label', 'loading', 'size', 'type', 'variant']
263
263
  })
264
264
  export class VegaButton {
265
265
  protected el: HTMLElement;
@@ -389,6 +389,7 @@ export class VegaButtonLink {
389
389
 
390
390
  import type { VegaCalendarChangeEventType as IVegaCalendarVegaCalendarChangeEventType } from '@heartlandone/vega/dist/types/components/vega-calendar/types';
391
391
  import type { VegaCalendarEventClickInfo as IVegaCalendarVegaCalendarEventClickInfo } from '@heartlandone/vega/dist/types/components/vega-calendar/types';
392
+ import type { VegaCalendarDateClickInfo as IVegaCalendarVegaCalendarDateClickInfo } from '@heartlandone/vega/dist/types/components/vega-calendar/types';
392
393
  export declare interface VegaCalendar extends Components.VegaCalendar {
393
394
  /**
394
395
  * An event emitter notifying the component view content change after a switch panel click.
@@ -406,6 +407,14 @@ export declare interface VegaCalendar extends Components.VegaCalendar {
406
407
  * An event emitter notifying that a component event item is clicked.
407
408
  */
408
409
  eventClick: EventEmitter<CustomEvent<IVegaCalendarVegaCalendarEventClickInfo>>;
410
+ /**
411
+ * An event emitter notifying that a calendar date item has been double-clicked.
412
+ */
413
+ vegaDateDblClick: EventEmitter<CustomEvent<IVegaCalendarVegaCalendarDateClickInfo>>;
414
+ /**
415
+ * An event emitter notifying that a calendar date item has been double-clicked.
416
+ */
417
+ dateDblClick: EventEmitter<CustomEvent<IVegaCalendarVegaCalendarDateClickInfo>>;
409
418
 
410
419
  }
411
420
 
@@ -424,7 +433,7 @@ export class VegaCalendar {
424
433
  constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
425
434
  c.detach();
426
435
  this.el = r.nativeElement;
427
- proxyOutputs(this, this.el, ['vegaChange', 'change', 'vegaEventClick', 'eventClick']);
436
+ proxyOutputs(this, this.el, ['vegaChange', 'change', 'vegaEventClick', 'eventClick', 'vegaDateDblClick', 'dateDblClick']);
428
437
  }
429
438
  }
430
439
 
@@ -42,6 +42,7 @@ function resolveEventPayloadImportPath(componentsContent) {
42
42
  ['VegaDropdownItemClickEvent', 'vega-dropdown/vega-dropdown-item/types'],
43
43
  ['VegaCalendarChangeEventType', 'vega-calendar/types'],
44
44
  ['VegaCalendarEventClickInfo', 'vega-calendar/types'],
45
+ ['VegaCalendarDateClickInfo', 'vega-calendar/types'],
45
46
  ]);
46
47
 
47
48
  return componentsContent.replace(